/* self-hosted fonts (restored after polish strip) */
@font-face {
  font-family: 'Cormorant Infant';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/CormorantInfant-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Infant';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/CormorantInfant-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Infant';
  font-style: italic;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/CormorantInfant-600-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Infant';
  font-style: italic;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/CormorantInfant-600-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/CormorantInfant-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/CormorantInfant-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/CormorantInfant-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/CormorantInfant-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/CormorantInfant-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/CormorantInfant-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/CormorantInfant-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Infant';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/CormorantInfant-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/Karla-400-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/Karla-400-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/Karla-600-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: italic;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/Karla-600-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/Karla-400-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url(../fonts/Karla-400-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/Karla-500-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url(../fonts/Karla-500-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/Karla-600-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url(../fonts/Karla-600-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/Karla-700-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Karla';
  font-style: normal;
  font-weight: 700;
  font-display: optional;
  src: url(../fonts/Karla-700-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   The Meeple Guild — Alsancak, Izmir
   Collage-forward mixed-media stylesheet
   ============================================================ */

/* ---------- Fonts (self-hosted, variable, font-display: optional) ---------- */
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("../fonts/karla-400-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("../fonts/karla-400-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Infant";
  font-style: normal;
  font-weight: 600 700;
  font-display: optional;
  src: url("../fonts/cormorant-700-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Infant";
  font-style: normal;
  font-weight: 600 700;
  font-display: optional;
  src: url("../fonts/cormorant-700-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Infant";
  font-style: italic;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/cormorant-700-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Infant";
  font-style: italic;
  font-weight: 700;
  font-display: optional;
  src: url("../fonts/cormorant-700-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Shantell Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url("../fonts/shantell-400-normal-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Shantell Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: optional;
  src: url("../fonts/shantell-400-normal-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --bg: #2E2440;
  --surface: #3E3355;
  --surface-2: #4a3d63;
  --ink: #F5EBDD;          /* cream text on dark */
  --ink-soft: #d7c9b8;     /* muted cream on dark (passes 4.5 on bg) */
  --paper: #F5EBDD;        /* light paper card */
  --paper-2: #efe2cf;
  --kraft: #d8bd93;
  --paper-ink: #2b2138;    /* dark text on light paper */
  --paper-ink-soft: #5a4d46;
  --accent: #E08A3C;       /* orange fill */
  --accent-2: #59B39A;     /* teal fill */
  --accent-text: #f0a459;  /* orange as text on dark bg */
  --accent-deep: #a85e1f;  /* orange as text on light paper */
  --teal-deep: #2f6b58;    /* teal as text on light paper */
  --line: rgba(245, 235, 221, 0.18);
  --line-strong: rgba(245, 235, 221, 0.34);
  --shadow-1: 0 10px 26px -14px rgba(0, 0, 0, 0.55);
  --shadow-2: 0 22px 50px -20px rgba(0, 0, 0, 0.62);
  --serif: "Cormorant Infant", Palatino, "Palatino Linotype", Georgia, serif;
  --body: "Karla", "Segoe UI", system-ui, -apple-system, sans-serif;
  --hand: "Shantell Sans", "Comic Sans MS", "Segoe Print", cursive;
  --header-h: 74px;
  --maxw: 1240px;
  interpolate-size: allow-keywords;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html, body {
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
}
/* Smooth scrolling for anchor jumps. main.js still applies a fixed-header
   offset for in-page "#" links; native cross-doc "index.html#…" jumps rely
   on scroll-margin-top below. Disabled under reduced-motion. */
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* keep anchored sections clear of the fixed header on native fragment jumps */
:target { scroll-margin-top: calc(var(--header-h) + 14px); }
main section[id], [id] { scroll-margin-top: calc(var(--header-h) + 14px); }
body {
  font-family: var(--body);
  font-weight: 400;
  letter-spacing: -0.008em;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(1100px 700px at 15% -10%, rgba(224, 138, 60, 0.10), transparent 60%),
    radial-gradient(900px 600px at 92% 4%, rgba(89, 179, 154, 0.10), transparent 62%);
  background-attachment: scroll;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
figure, figcaption, blockquote { margin: 0; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: 1.14;
  margin: 0 0 0.4em;
}
p { margin: 0 0 1em; }
a { color: var(--accent-text); text-decoration: none; }
a:hover { color: var(--ink); }
strong { font-weight: 700; }
:where(h1, h2, h3, h4, p, li, dd) { overflow-wrap: anywhere; word-break: break-word; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: clamp(16px, 6vw, 64px);
  padding-right: clamp(16px, 6vw, 64px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #23142a;
  padding: 10px 16px;
  z-index: 10000;
  font-weight: 700;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
  border-radius: 3px;
}

/* ---------- Collage primitives ---------- */
.eyebrow {
  font-family: var(--body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.72rem;
  color: var(--accent-text);
}
.hand {
  font-family: var(--hand);
  font-weight: 600;
  letter-spacing: 0;
  color: var(--accent-2);
}
.script-ink { color: var(--accent-text); }

/* washi tape strip */
.tape {
  position: absolute;
  width: 92px;
  height: 26px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.14) 0 6px, transparent 6px 12px),
    linear-gradient(180deg, rgba(224,138,60,0.62), rgba(224,138,60,0.46));
  box-shadow: 0 2px 6px rgba(0,0,0,0.22);
  z-index: 5;
  pointer-events: none;
  opacity: 0.9;
}
.tape::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.25), transparent 55%);
  mix-blend-mode: screen;
}
.tape--teal { background:
    repeating-linear-gradient(90deg, rgba(255,255,255,0.16) 0 6px, transparent 6px 12px),
    linear-gradient(180deg, rgba(89,179,154,0.62), rgba(89,179,154,0.46)); }
.tape--cream { background:
    repeating-linear-gradient(90deg, rgba(43,33,56,0.06) 0 7px, transparent 7px 14px),
    linear-gradient(180deg, rgba(245,235,221,0.82), rgba(230,216,195,0.7)); }
.tape.tl { top: -13px; left: 18px; transform: rotate(-8deg); }
.tape.tr { top: -13px; right: 18px; transform: rotate(7deg); }
.tape.bl { bottom: -13px; left: 24px; transform: rotate(6deg); }
.tape.br { bottom: -13px; right: 22px; transform: rotate(-7deg); }

/* pushpin */
.pin {
  position: absolute;
  width: 20px; height: 20px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, #ffffff 0 12%, rgba(255,255,255,0.35) 18%, transparent 40%),
    radial-gradient(circle at 50% 50%, var(--accent) 0 60%, #8a4d18 62% 100%);
  box-shadow: 0 4px 7px rgba(0,0,0,0.4);
  z-index: 6;
  pointer-events: none;
}
.pin--teal { background:
    radial-gradient(circle at 34% 30%, #ffffff 0 12%, rgba(255,255,255,0.35) 18%, transparent 40%),
    radial-gradient(circle at 50% 50%, var(--accent-2) 0 60%, #2f6b58 62% 100%); }
.pin--cream { background:
    radial-gradient(circle at 34% 30%, #ffffff 0 12%, rgba(255,255,255,0.4) 18%, transparent 40%),
    radial-gradient(circle at 50% 50%, #efe2cf 0 60%, #b9a583 62% 100%); }

/* paperclip */
.clip {
  position: absolute;
  width: 16px; height: 40px;
  border: 3px solid rgba(210,210,214,0.85);
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  z-index: 6;
  pointer-events: none;
}
.clip::before {
  content: "";
  position: absolute;
  left: 3px; top: 5px; right: 3px; bottom: -3px;
  border: 3px solid rgba(180,180,186,0.8);
  border-radius: 8px;
}

/* registration / crop marks */
.marks { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.mark {
  position: absolute;
  width: 16px; height: 16px;
  opacity: 0.5;
}
.mark::before, .mark::after {
  content: ""; position: absolute; background: var(--line-strong);
}
.mark::before { left: 50%; top: 0; width: 1px; height: 100%; transform: translateX(-50%); }
.mark::after { top: 50%; left: 0; height: 1px; width: 100%; transform: translateY(-50%); }

/* small stamp */
.stamp {
  display: inline-block;
  font-family: var(--body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.66rem;
  color: var(--accent-deep);
  border: 2px solid var(--accent-deep);
  padding: 5px 10px;
  border-radius: 3px;
  transform: rotate(-4deg);
  opacity: 0.82;
  mix-blend-mode: multiply;
}
.stamp--teal { color: var(--teal-deep); border-color: var(--teal-deep); }

/* paper board & scraps */
.paper {
  position: relative;
  background-color: var(--paper);
  color: var(--paper-ink);
  border-radius: 4px;
  box-shadow: var(--shadow-1);
}
.paper::after { /* soft deckle inner shade */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(43,33,56,0.08), inset 0 -20px 34px -22px rgba(43,33,56,0.28);
  pointer-events: none;
}
.paper--kraft { background-color: var(--kraft); }
.paper--dark {
  background-color: var(--surface);
  color: var(--ink);
}
.torn-top { clip-path: polygon(0 8px, 4% 0, 9% 7px, 15% 1px, 22% 8px, 30% 2px, 38% 9px, 47% 2px, 55% 8px, 64% 1px, 72% 9px, 81% 2px, 90% 8px, 96% 1px, 100% 7px, 100% 100%, 0 100%); }
.torn-all { clip-path: polygon(0 6px, 6% 1px, 13% 7px, 22% 2px, 31% 8px, 42% 2px, 52% 7px, 63% 1px, 74% 8px, 85% 2px, 94% 7px, 100% 2px, 99% 12%, 100% 30%, 99% 52%, 100% 71%, 99% 90%, 100% 98%, 92% 99%, 78% 98%, 64% 100%, 50% 98%, 36% 100%, 22% 98%, 9% 99%, 0 98%, 1px 78%, 0 58%, 1px 38%, 0 20%); }

/* polaroid frame */
.polaroid {
  position: relative;
  background: #fbf5ec;
  padding: 12px 12px 42px;
  box-shadow: var(--shadow-2);
  border-radius: 2px;
}
.polaroid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--surface-2);
  border-radius: 1px;
}
.polaroid .cap {
  font-family: var(--hand);
  font-weight: 600;
  color: #4a3d2f;
  font-size: 1.02rem;
  text-align: center;
  margin-top: 10px;
  line-height: 1.15;
}

/* wet-paint sheen on hover (signature interaction) */
.sheen { position: relative; overflow: hidden; }
.sheen::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(240px 240px at var(--mx, 50%) var(--my, 30%),
    rgba(255, 255, 255, 0.4), rgba(255,255,255,0.06) 45%, transparent 70%);
  opacity: 0;
  transition: opacity 260ms ease;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 3;
}
.sheen:hover::before, .sheen:focus-within::before { opacity: 1; }

/* frayed thread seam divider */
.seam {
  height: 22px;
  border: 0;
  margin: 0;
  background:
    repeating-linear-gradient(90deg,
      var(--accent-2) 0 12px, transparent 12px 22px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  opacity: 0.5;
  transform-origin: left center;
  animation: sway 9s ease-in-out infinite;
}
@keyframes sway {
  0%, 100% { transform: skewX(-2deg) translateY(0); }
  50% { transform: skewX(2deg) translateY(2px); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.96rem;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  border-radius: 3px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(.2,.7,.2,1), background 200ms ease, color 200ms ease, box-shadow 200ms ease;
  text-align: center;
}
.btn-primary {
  background: var(--accent);
  color: #2a1607;
  box-shadow: 0 8px 20px -10px rgba(224,138,60,0.75);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: #f0a459;
  color: #2a1607;
  transform: translateY(-2px);
  /* warm candle-glow — a nod to the fireside library */
  box-shadow: 0 10px 26px -10px rgba(224,138,60,0.85), 0 0 22px -2px rgba(240,164,89,0.5);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--accent-2);
  transform: translateY(-2px);
}
.btn-ink {
  background: var(--paper-ink);
  color: var(--paper);
}
.btn-ink:hover, .btn-ink:focus-visible { background: var(--accent-deep); color: #fff; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1080;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(46, 36, 64, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
  transition: background 240ms ease, box-shadow 240ms ease, height 240ms ease;
}
.site-header.is-scrolled {
  background: rgba(41, 32, 58, 0.98);
  box-shadow: 0 8px 24px -16px rgba(0,0,0,0.6);
  height: 62px;
}
.header-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(16px, 6vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.brand:hover { color: var(--ink); }
.brand b { font-style: italic; color: var(--accent-text); font-weight: 700; }
.brand .tag-mini {
  font-family: var(--hand);
  font-size: 0.78rem;
  color: var(--accent-2);
}
.nav-desktop { display: none; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav-desktop a, .nav-desktop .nav-cta { white-space: nowrap; }
.nav-desktop a {
  position: relative;
  font-family: var(--body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  letter-spacing: 0.01em;
  padding: 6px 2px;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1);
}
.nav-desktop a:hover { color: var(--accent-text); }
.nav-desktop a:hover::after, .nav-desktop a.is-active::after { transform: scaleX(1); }
.nav-desktop a.is-active { color: var(--accent-text); }
.nav-desktop .nav-cta {
  background: var(--accent);
  color: #2a1607;
  padding: 9px 16px;
  border-radius: 3px;
  font-weight: 700;
}
.nav-desktop .nav-cta::after { display: none; }
.nav-desktop .nav-cta:hover { background: #f0a459; color: #2a1607; }

/* hamburger */
.nav-toggle {
  position: relative;
  z-index: 1100;
  width: 44px; height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 260ms cubic-bezier(.2,.7,.2,1), opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* drawer */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms ease, visibility 240ms ease;
  z-index: 1040;
}
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(360px, 92vw);
  background: #241b34;
  border-left: 1px solid var(--line-strong);
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 320ms cubic-bezier(.2,.7,.2,1), visibility 0s linear 320ms;
  z-index: 1050;
  padding: calc(var(--header-h) + 18px) 26px 26px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.drawer.is-open { transform: translateX(0); visibility: visible; transition: transform 320ms cubic-bezier(.2,.7,.2,1); }
.drawer a {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--ink);
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.drawer a:hover, .drawer a.is-active { color: var(--accent-text); }
.drawer .btn { margin-top: 16px; font-size: 1rem; }
.drawer a.btn-primary { color: #2a1607; border-bottom: 0; }
.drawer a.btn-primary:hover { color: #2a1607; }
.drawer .drawer-note {
  margin-top: auto;
  font-family: var(--hand);
  color: var(--accent-2);
  font-size: 1rem;
}

/* ---------- Main / sections ---------- */
main { padding-top: var(--header-h); }
.section { position: relative; padding: clamp(56px, 8vw, 104px) 0; }
.section-head { max-width: 640px; margin-bottom: 36px; position: relative; }
.section-head h2 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-style: italic;
}
.section-head .eyebrow { display: inline-block; margin-bottom: 12px; }
.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 60ch; }

/* board wrapper — every section reads as a pinned collage board */
.board {
  position: relative;
  border-radius: 8px;
  padding: clamp(22px, 4vw, 46px);
  overflow: hidden;
}
.board--cork {
  background-color: #6b4a2c;
  background-image:
    radial-gradient(rgba(0,0,0,0.16) 1px, transparent 1.4px);
  background-size: 9px 9px;
  background-blend-mode: multiply;
  box-shadow: inset 0 0 0 10px rgba(43,26,12,0.5), var(--shadow-2);
}
.board--kraft {
  background-color: var(--kraft);
  color: var(--paper-ink);
  box-shadow: var(--shadow-2);
}
.board--grid {
  background-color: var(--surface);
  background-image:
    linear-gradient(rgba(89,179,154,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(89,179,154,0.10) 1px, transparent 1px);
  background-size: 26px 26px, 26px 26px;
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(28px, 4vw, 46px) 0 clamp(48px, 6vw, 72px);
}
.hero-panel {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  min-height: min(76vh, 640px);
  display: flex;
  align-items: flex-end;
  padding: clamp(22px, 4vw, 52px);
  background-color: #241b34;
  box-shadow: var(--shadow-2), inset 0 0 0 1px var(--line);
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-panel::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(46,36,64,0.28) 0%, rgba(46,36,64,0.15) 40%, rgba(36,27,52,0.9) 100%),
    linear-gradient(90deg, rgba(36,27,52,0.72) 0%, transparent 58%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 3; max-width: 720px; }
.hero .eyebrow { color: #ffcf9c; }
.hero h1 {
  font-style: italic;
  font-size: clamp(2.7rem, 8vw, 4.5rem);
  letter-spacing: -0.012em;
  margin: 10px 0 14px;
  color: #fff;
  text-shadow: 0 4px 26px rgba(0,0,0,0.5);
}
.hero h1 .brushed {
  display: inline-block;
  background: linear-gradient(100deg, var(--accent-2), #8fd3bf);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  color: #f3e9db;
  max-width: 54ch;
  margin-bottom: 22px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.45);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.trust-strip {
  display: flex; flex-wrap: wrap; gap: 8px 10px;
  margin-top: 22px;
}
.trust-strip .chip {
  font-family: var(--body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(43, 33, 56, 0.66);
  border: 1px solid var(--line-strong);
  padding: 6px 11px;
  border-radius: 40px;
}
.trust-strip .chip b { color: var(--accent-2); }

/* theme signature: painted borrow-due stamp brushing on scroll */
.due-stamp {
  position: absolute;
  top: clamp(18px, 4vw, 40px);
  right: clamp(16px, 5vw, 60px);
  z-index: 4;
  width: clamp(120px, 20vw, 190px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  color: #ffd7a1;
  border: 4px double #ffb066;
  border-radius: 50%;
  transform: rotate(-16deg) scale(1.18);
  opacity: 0;
  transition: opacity 120ms linear;
  mix-blend-mode: screen;
  padding: 10px;
  --stamp-o: 0;
  opacity: var(--stamp-o);
  -webkit-mask-image: radial-gradient(circle, #000 62%, transparent 63%),
    repeating-conic-gradient(#000 0 6deg, transparent 6deg 9deg);
  -webkit-mask-composite: source-over;
}
.due-stamp .ds-top {
  font-family: var(--body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.62rem;
}
.due-stamp .ds-big {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 2rem);
  line-height: 1;
}
.due-stamp .ds-sub { font-family: var(--body); font-size: 0.58rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Manifesto / Guild ---------- */
.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
}
.manifesto-quote {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  line-height: 1.24;
  color: var(--paper-ink);
}
.manifesto-quote em { color: var(--accent-deep); font-style: italic; }
.scrap-note {
  position: relative;
  padding: 22px 24px;
  margin-top: 22px;
  max-width: 46ch;
}
.scrap-note p { margin: 0; }
.manifesto-side { display: grid; gap: 22px; }
.journal-scrap {
  position: relative;
  padding: 18px 20px 22px;
}
.journal-scrap h4 { font-style: italic; font-size: 1.4rem; margin-bottom: 4px; color: var(--paper-ink); }
.journal-scrap p { margin: 0; color: var(--paper-ink-soft); font-size: 0.96rem; }
.journal-scrap .hand { color: var(--teal-deep); }

/* ---------- Lending library ---------- */
.library-collage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.spine {
  position: relative;
  grid-column: span 3;
  min-height: 150px;
  border-radius: 3px;
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff5e8;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 220ms ease;
}
.spine:nth-child(odd) { transform: rotate(-1.4deg); }
.spine:nth-child(even) { transform: rotate(1.6deg); }
.spine:hover { transform: rotate(0) translateY(-5px); box-shadow: var(--shadow-2); z-index: 4; }
.spine .spine-cat { font-family: var(--body); font-weight: 700; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.12em; opacity: 0.9; padding-right: 26px; }
.spine .spine-name { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.5rem; line-height: 1.08; }
.spine .fabric-tag {
  align-self: flex-start;
  font-family: var(--hand);
  font-size: 0.82rem;
  background: var(--paper);
  color: var(--paper-ink);
  padding: 2px 10px;
  border-radius: 2px;
  transform: rotate(-3deg);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.spine.s1 { background: linear-gradient(160deg, #7a3f6b, #52284a); }
.spine.s2 { background: linear-gradient(160deg, #2f6b58, #234f42); }
.spine.s3 { background: linear-gradient(160deg, #b56a24, #8a4d18); }
.spine.s4 { background: linear-gradient(160deg, #3a5a86, #294064); }
.spine.wide { grid-column: span 4; }
.spine.tall { min-height: 190px; }
.borrow-mark {
  position: absolute;
  bottom: 8px; right: 8px;
  font-family: var(--body);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.55);
  padding: 2px 5px;
  border-radius: 2px;
  transform: rotate(-6deg);
  opacity: 0.85;
}
.library-photo {
  grid-column: span 5;
  min-height: 260px;
}
.library-photo img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; }

/* ---------- Weekly sessions (taped cutouts) ---------- */
.sessions-wall {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 3vw, 34px);
}
.cutout { position: relative; }
.cutout:nth-child(1) { transform: rotate(-3deg); }
.cutout:nth-child(2) { transform: rotate(1.5deg); margin-top: 26px; }
.cutout:nth-child(3) { transform: rotate(-1.5deg); }
.cutout:nth-child(4) { transform: rotate(2.5deg); }
.cutout:nth-child(5) { transform: rotate(-2deg); margin-top: 20px; }
.cutout .polaroid img { aspect-ratio: 4 / 5; }
.session-when {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  z-index: 7;
  font-family: var(--body);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent-2);
  color: #10261f;
  padding: 4px 12px;
  border-radius: 2px;
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  white-space: nowrap;
}

/* ---------- Member tiers (painted paper slips) ---------- */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: start;
}
.slip {
  position: relative;
  padding: 26px 24px 28px;
  color: var(--paper-ink);
}
.slip:nth-child(1) { transform: rotate(-1.6deg); }
.slip:nth-child(2) { transform: rotate(0.8deg); margin-top: -6px; }
.slip:nth-child(3) { transform: rotate(-0.9deg); }
.slip.featured { background-color: #f7ede0; box-shadow: 0 26px 54px -22px rgba(224,138,60,0.6), var(--shadow-2); }
.slip .slip-name { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 1.75rem; }
.slip .slip-for { font-family: var(--hand); color: var(--teal-deep); font-size: 0.98rem; margin-bottom: 12px; }
.slip .price {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.6rem;
  color: var(--paper-ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.slip .price small { font-family: var(--body); font-size: 0.9rem; font-weight: 700; color: var(--paper-ink-soft); }
.slip .slip-list { list-style: none; margin: 16px 0 20px; padding: 0; }
.slip .slip-list li { position: relative; padding-left: 22px; margin-bottom: 8px; font-size: 0.95rem; color: #423a34; }
.slip .slip-list li::before {
  content: "";
  position: absolute; left: 4px; top: 9px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
}
.slip .slip-list li.no::before { background: transparent; box-shadow: inset 0 0 0 2px #b7897d; }
.slip .slip-list li.no { color: #8a6a63; }
.slip .ribbon {
  position: absolute; top: 14px; right: -6px;
  background: var(--accent);
  color: #2a1607;
  font-family: var(--body); font-weight: 700; font-size: 0.66rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 12px;
  transform: rotate(3deg);
  box-shadow: 0 4px 8px rgba(0,0,0,0.28);
}
.slip .btn { width: 100%; }

/* ---------- Planner (business tool) ---------- */
.planner-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: stretch;
}
.planner-controls, .planner-result { position: relative; padding: clamp(22px, 3vw, 34px); }
.planner-controls { color: var(--paper-ink); }
.ctrl { margin-bottom: 22px; }
.ctrl > .ctrl-label {
  display: flex; justify-content: space-between; align-items: baseline;
  font-family: var(--body); font-weight: 700; font-size: 0.92rem;
  color: var(--paper-ink); margin-bottom: 8px;
}
.ctrl .ctrl-val { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--accent-deep); font-variant-numeric: tabular-nums; }
.seg { display: flex; gap: 8px; flex-wrap: wrap; }
.seg .seg-btn {
  flex: 1 1 auto;
  min-width: 88px;
  font-family: var(--body); font-weight: 700; font-size: 0.9rem;
  padding: 11px 12px;
  border: 2px solid rgba(43,33,56,0.22);
  border-radius: 4px;
  background: rgba(255,255,255,0.5);
  color: var(--paper-ink);
  cursor: pointer;
  transition: all 180ms ease;
  text-align: center;
}
.seg .seg-btn small { display: block; font-weight: 400; font-size: 0.72rem; color: var(--paper-ink-soft); }
.seg .seg-btn:hover { border-color: var(--accent); }
.seg .seg-btn.is-on {
  background: var(--paper-ink);
  color: var(--paper);
  border-color: var(--paper-ink);
}
.seg .seg-btn.is-on small { color: #d8c9bb; }
input[type="range"] {
  width: 100%;
  -webkit-appearance: none; appearance: none;
  height: 8px;
  border-radius: 20px;
  background: linear-gradient(90deg, var(--accent) var(--fill, 40%), rgba(43,33,56,0.18) var(--fill, 40%));
  outline-offset: 4px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 24px; height: 24px; border-radius: 50%;
  background:
    radial-gradient(circle at 35% 30%, #fff 0 14%, transparent 40%),
    var(--accent-2);
  border: 3px solid #24503f;
  box-shadow: 0 3px 6px rgba(0,0,0,0.35);
  cursor: pointer;
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent-2); border: 3px solid #24503f; cursor: pointer;
}
.toggle-row {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  border: 2px dashed rgba(43,33,56,0.24);
  border-radius: 6px;
  margin-bottom: 22px;
}
.toggle-row .toggle-txt { font-size: 0.92rem; }
.toggle-row .toggle-txt b { display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; }
.switch { position: relative; width: 52px; height: 28px; flex: 0 0 auto; }
.switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.switch .track {
  position: absolute; inset: 0; border-radius: 20px;
  background: rgba(43,33,56,0.3);
  transition: background 200ms ease;
}
.switch .track::before {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fbf5ec; box-shadow: 0 2px 4px rgba(0,0,0,0.35);
  transition: transform 200ms cubic-bezier(.2,.7,.2,1);
}
.switch input:checked + .track { background: var(--accent-2); }
.switch input:checked + .track::before { transform: translateX(24px); }
.switch input:focus-visible + .track { outline: 2px solid var(--accent-2); outline-offset: 2px; }

.planner-result {
  color: var(--ink);
  display: flex; flex-direction: column;
}
.result-lead { font-family: var(--body); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.72rem; color: var(--accent-2); }
.result-big {
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  line-height: 1.05;
  color: #fff;
  font-variant-numeric: tabular-nums;
  margin: 4px 0 2px;
}
.result-sub { color: var(--ink-soft); font-size: 0.98rem; }
.result-rows { margin: 20px 0; display: grid; gap: 2px; }
.result-rows .rr {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 0.96rem;
}
.result-rows .rr span:last-child { font-variant-numeric: tabular-nums; font-weight: 700; }
.result-rows .rr.total { border-bottom: 0; color: var(--accent-2); font-size: 1.05rem; }
.nudge {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 6px;
  background: rgba(89,179,154,0.14);
  border: 1px solid rgba(89,179,154,0.4);
  font-size: 0.92rem;
  color: #cdeee3;
}
.nudge.warn { background: rgba(224,138,60,0.16); border-color: rgba(224,138,60,0.5); color: #ffdcb6; }
.nudge b { color: #fff; }
.planner-note { font-size: 0.78rem; color: var(--ink-soft); margin-top: 14px; }

/* ---------- Join form ---------- */
.join-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
}
.stitched {
  position: relative;
  padding: clamp(24px, 3vw, 38px);
  color: var(--paper-ink);
}
.stitched::before {
  content: "";
  position: absolute; inset: 12px;
  border: 2px dashed rgba(43,33,56,0.32);
  border-radius: 6px;
  pointer-events: none;
}
.cta-card {
  display: flex; flex-direction: column; justify-content: center;
  gap: 14px; text-align: center; min-height: 260px;
}
.cta-card h3 { font-style: italic; font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--paper-ink); margin: 0; position: relative; z-index: 1; }
.cta-card p { color: var(--paper-ink-soft); max-width: 46ch; margin: 0 auto; position: relative; z-index: 1; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; justify-content: center; margin-top: 6px; position: relative; z-index: 1; }
.cta-link { font-family: var(--body); font-weight: 700; font-size: 0.92rem; color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.cta-link:hover { color: var(--teal-deep); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; position: relative; z-index: 1; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label, .field > span.lbl {
  font-family: var(--body); font-weight: 700; font-size: 0.86rem; color: var(--paper-ink);
}
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem;
  padding: 12px 14px;
  border: 2px solid rgba(43,33,56,0.2);
  border-bottom-width: 2px;
  border-radius: 4px;
  background: rgba(255,255,255,0.7);
  color: var(--paper-ink);
  width: 100%;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
}
.field.consent { flex-direction: row; align-items: flex-start; gap: 10px; grid-column: 1 / -1; }
.field.consent label { font-weight: 400; font-size: 0.86rem; color: var(--paper-ink-soft); }
.field.consent a { color: var(--accent-deep); text-decoration: underline; }
.field input[type="checkbox"] {
  appearance: auto; -webkit-appearance: auto;
  width: 18px; height: 18px; min-width: 18px; min-height: 18px;
  padding: 0; border: 0; margin: 2px 0 0;
  accent-color: var(--accent);
}
.join-aside { position: relative; padding: 4px; }
.join-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.join-facts li {
  position: relative;
  padding: 16px 18px;
  color: var(--ink);
}
.join-facts .jf-k { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--accent-2); display: block; }
.join-facts .jf-v { font-size: 0.92rem; color: var(--ink-soft); }

/* ---------- Notes / activity ---------- */
.notes-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.note-card { position: relative; padding: 18px 20px 22px; color: var(--paper-ink); }
.note-card:nth-child(1) { transform: rotate(-1.4deg); }
.note-card:nth-child(2) { transform: rotate(1deg); }
.note-card:nth-child(3) { transform: rotate(-0.6deg); }
.note-card time { font-family: var(--hand); color: var(--accent-deep); font-size: 0.94rem; }
.note-card h4 { font-style: italic; font-size: 1.28rem; margin: 4px 0 6px; color: var(--paper-ink); }
.note-card p { margin: 0; font-size: 0.92rem; color: var(--paper-ink-soft); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3vw, 30px); align-items: start; }
.testi { position: relative; padding: 22px 24px 24px; color: var(--paper-ink); }
.testi:nth-child(1) { transform: rotate(-1.2deg); }
.testi:nth-child(2) { transform: rotate(0.9deg); margin-top: 18px; }
.testi:nth-child(3) { transform: rotate(-0.7deg); }
.testi .stars { color: var(--accent); letter-spacing: 2px; font-size: 1rem; }
.testi blockquote { font-family: var(--serif); font-style: italic; font-size: 1.18rem; line-height: 1.32; margin: 8px 0 14px; color: var(--paper-ink); }
.testi .who { font-family: var(--body); font-weight: 700; font-size: 0.92rem; }
.testi .who small { display: block; font-weight: 400; color: var(--paper-ink-soft); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; }
.faq-item {
  position: relative;
  margin-bottom: 14px;
  padding: 0;
  color: var(--paper-ink);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 1.2rem;
  padding: 18px clamp(18px, 3vw, 26px);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
  color: var(--paper-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .q-mark {
  flex: 0 0 auto;
  font-family: var(--body);
  font-size: 1.5rem;
  color: var(--accent-deep);
  transition: transform 300ms ease;
}
.faq-item[open] summary .q-mark { transform: rotate(45deg); }
.faq-item > .answer {
  height: 0;
  padding: 0 clamp(18px, 3vw, 26px);
  overflow: hidden;
  transition: height 360ms cubic-bezier(.4,0,.2,1), padding-block-end 360ms cubic-bezier(.4,0,.2,1);
}
.faq-item > .answer p { margin: 0 0 10px; color: var(--paper-ink-soft); }
.faq-item[open] > .answer { height: auto; padding-block-end: 22px; }
@media (prefers-reduced-motion: reduce) {
  .faq-item > .answer { transition: none; }
}

/* ---------- Tables ---------- */
.table-scroll {
  display: block; width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; -webkit-overflow-scrolling: touch;
  margin: 18px 0;
  border: 1px solid rgba(43,33,56,0.18);
  border-radius: 6px;
}
.table-scroll > table { margin: 0 !important; min-width: 480px; width: 100%; border-collapse: collapse; }
:where(*:has(> .table-scroll), *:has(> * > .table-scroll), *:has(> * > * > .table-scroll)) { min-width: 0; }
table th, table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid rgba(43,33,56,0.14); font-size: 0.94rem; }
.paper table th { color: var(--paper-ink); font-family: var(--body); font-weight: 700; }
.paper table td { color: var(--paper-ink-soft); }
.paper table tbody tr:last-child td { border-bottom: 0; }

/* ---------- Contact cards ---------- */
.channels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}
.channel {
  position: relative;
  padding: 22px 22px 24px;
  color: var(--paper-ink);
  transition: transform 220ms cubic-bezier(.2,.7,.2,1), box-shadow 220ms ease;
}
.channel:nth-child(odd) { transform: rotate(-1deg); }
.channel:nth-child(even) { transform: rotate(0.9deg); }
.channel:hover { transform: rotate(0) translateY(-4px); box-shadow: var(--shadow-2); z-index: 3; }
.channel .ch-k { font-family: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.72rem; color: var(--accent-deep); }
.channel .ch-v { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--paper-ink); margin: 4px 0 2px; word-break: break-word; }
.channel .ch-v a { color: var(--paper-ink); }
.channel .ch-v a:hover { color: var(--accent-deep); }
.channel .ch-note { font-size: 0.86rem; color: var(--paper-ink-soft); }

.hours-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; }
.hours-grid .day {
  padding: 12px 14px;
  color: var(--paper-ink);
  font-variant-numeric: tabular-nums;
}
.hours-grid .day b { display: block; font-family: var(--body); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--accent-deep); }
.hours-grid .day span { font-size: 0.94rem; color: var(--paper-ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 40px;
  padding: clamp(48px, 6vw, 80px) 0 30px;
  background-color: #241b34;
  background-image:
    radial-gradient(900px 400px at 12% 0%, rgba(224,138,60,0.16), transparent 60%),
    radial-gradient(700px 360px at 88% 10%, rgba(89,179,154,0.16), transparent 62%);
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: clamp(22px, 4vw, 46px);
}
.footer-col h4 { font-style: italic; font-size: 1.3rem; color: var(--ink); }
.footer-col p, .footer-col li { color: var(--ink-soft); font-size: 0.92rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-col a { color: var(--ink-soft); }
.footer-col a:hover { color: var(--accent-text); }
.footer-brand .brand { font-size: 1.5rem; margin-bottom: 10px; }
.footer-smear {
  font-family: var(--hand);
  color: var(--accent-2);
  font-size: 1.05rem;
  margin-top: 8px;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px dashed var(--line);
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center;
}
.footer-bottom p { margin: 0; font-size: 0.82rem; color: var(--ink-soft); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal a { display: inline; font-size: 0.82rem; color: var(--ink-soft); }
.footer-legal a:hover { color: var(--accent-text); }
.footer-reg { font-size: 0.76rem; color: rgba(215,201,184,0.72); }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: clamp(30px, 5vw, 56px) 0 clamp(24px, 3vw, 36px);
}
.page-hero .board { min-height: 220px; display: flex; flex-direction: column; justify-content: center; }
.page-hero h1 { font-style: italic; font-size: clamp(2.2rem, 6vw, 4rem); color: var(--ink); }
.page-hero .lead { color: var(--ink-soft); }

/* prose for legal / long pages */
.prose { max-width: 760px; color: var(--paper-ink); }
.prose h2 { font-style: italic; font-size: clamp(1.5rem, 3vw, 2.1rem); margin-top: 1.6em; color: var(--paper-ink); }
.prose h3 { font-size: 1.2rem; margin-top: 1.3em; color: var(--paper-ink); }
.prose p, .prose li { color: var(--paper-ink-soft); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--accent-deep); text-decoration: underline; }
.updated { font-family: var(--hand); color: var(--teal-deep); font-size: 1rem; }
/* on the dark cork page-hero board the deep teal is illegible — lift it */
.page-hero .updated { color: var(--accent-2); }

/* thank-you */
.ty-wrap { text-align: center; max-width: 620px; margin: 0 auto; padding: clamp(30px,5vw,60px) 0; }
.ty-wrap .big-stamp {
  display: inline-block;
  font-family: var(--body); font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--accent-2); border: 3px solid var(--accent-2);
  padding: 10px 20px; border-radius: 4px; transform: rotate(-4deg);
  margin-bottom: 24px; font-size: 0.9rem;
}
.ty-wrap h1 { font-style: italic; font-size: clamp(2.2rem, 6vw, 3.4rem); color: var(--ink); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(20px, 3vw, 34px); }
.team-card { position: relative; }
.team-card:nth-child(odd) { transform: rotate(-1.3deg); }
.team-card:nth-child(even) { transform: rotate(1.1deg); }
.team-card .polaroid img { aspect-ratio: 4 / 5; }
.team-card .role { font-family: var(--hand); color: var(--accent-2); font-size: 0.98rem; }
.team-card .bio { color: var(--ink-soft); font-size: 0.92rem; margin-top: 8px; }
.team-card h3 { font-style: italic; color: var(--ink); font-size: 1.5rem; margin: 10px 0 2px; }

/* steps / process */
.steps { position: relative; display: grid; gap: 18px; }
.step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 20px 22px;
  color: var(--paper-ink);
}
.step:nth-child(odd) { transform: rotate(-0.5deg); }
.step:nth-child(even) { transform: rotate(0.6deg); }
.step .step-n {
  font-family: var(--serif); font-style: italic; font-weight: 700;
  font-size: 2.2rem; color: var(--accent-deep); line-height: 1;
  grid-row: 1 / 3;
}
.step h4 { font-style: italic; font-size: 1.3rem; margin: 0 0 4px; color: var(--paper-ink); }
.step .when { font-family: var(--hand); color: var(--teal-deep); font-size: 0.9rem; }
.step p { margin: 6px 0 0; color: var(--paper-ink-soft); font-size: 0.94rem; }

/* generic gallery for about */
.about-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.about-gallery .polaroid:nth-child(1) { transform: rotate(-2deg); }
.about-gallery .polaroid:nth-child(2) { transform: rotate(1.5deg); margin-top: 20px; }
.about-gallery .polaroid:nth-child(3) { transform: rotate(-1deg); }
.about-gallery .polaroid:nth-child(4) { transform: rotate(2deg); margin-top: 14px; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 520px;
  margin: 0 auto;
  background: #241b34;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  box-shadow: var(--shadow-2);
  padding: 18px 20px;
  transform: translateY(140%);
  opacity: 0;
  transition: transform 280ms cubic-bezier(.2,.7,.2,1), opacity 240ms ease;
  z-index: 9999;
}
.cookie-banner.is-visible { transform: translateY(0); opacity: 1; }
.cookie-banner h4 { font-style: italic; font-size: 1.2rem; color: var(--ink); margin-bottom: 6px; }
.cookie-banner p { font-size: 0.88rem; color: var(--ink-soft); margin-bottom: 14px; }
.cookie-banner p a { color: var(--accent-text); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  font-family: var(--body); font-weight: 700; font-size: 0.9rem;
  border-radius: 4px; cursor: pointer;
  border: 2px solid var(--line-strong);
  padding: 10px 14px;
  transition: all 180ms ease;
}
.cookie-actions [data-consent="accept"] { background: var(--accent); color: #2a1607; border-color: var(--accent); }
.cookie-actions [data-consent="accept"]:hover { background: #f0a459; }
.cookie-actions [data-consent="reject"] { background: transparent; color: var(--ink); }
.cookie-actions [data-consent="reject"]:hover { background: var(--surface); }
.cookie-actions [data-consent="settings"] { background: transparent; color: var(--ink-soft); border-color: transparent; text-decoration: underline; flex: 1 1 100%; min-height: 36px; }
@media (min-width: 720px) {
  .cookie-banner { left: 24px; right: auto; max-width: 420px; }
}

/* cookie settings panel (built by JS) */
.cookie-settings-overlay {
  position: fixed; inset: 0;
  z-index: 10000;
  display: none;
  align-items: center; justify-content: center;
  padding: 20px;
}
.cookie-settings-overlay.is-open { display: flex; }
.cookie-settings-overlay .cs-scrim { position: absolute; inset: 0; background: rgba(0,0,0,0.6); }
.cs-panel {
  position: relative;
  width: min(520px, 100%);
  max-height: 88vh; overflow-y: auto;
  background: #241b34;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  padding: clamp(20px, 4vw, 30px);
}
.cs-panel h3 { font-style: italic; font-size: 1.6rem; color: var(--ink); }
.cs-panel .cs-intro { color: var(--ink-soft); font-size: 0.92rem; }
.cs-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.cs-row b { display: block; font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--ink); }
.cs-row span { font-size: 0.84rem; color: var(--ink-soft); }
.cs-panel .cs-actions { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.cs-panel .cs-actions .btn { flex: 1 1 auto; }
.cs-panel .switch input:disabled + .track { opacity: 0.55; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 640ms cubic-bezier(.2,.7,.2,1), transform 640ms cubic-bezier(.2,.7,.2,1), box-shadow 280ms ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.is-in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .seam { animation: none; }
  .spine, .channel, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
}
@media (max-width: 1023px) {
  .manifesto-grid, .planner-wrap, .join-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .library-photo { grid-column: 1 / -1; }
  .spine { grid-column: span 6; }
  .spine.wide { grid-column: span 6; }
}
@media (max-width: 760px) {
  :root { --header-h: 66px; }
  .sessions-wall, .tiers-grid, .testi-grid, .notes-list, .about-gallery, .notes-list { grid-template-columns: 1fr; }
  .about-gallery { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .slip:nth-child(2), .cutout:nth-child(2), .cutout:nth-child(5), .testi:nth-child(2) { margin-top: 0; }
  .cutout, .slip, .testi, .note-card, .channel, .step, .spine, .team-card { transform: none !important; }
  .hero-panel { min-height: min(72vh, 560px); }
  .due-stamp { width: clamp(96px, 30vw, 130px); }
  .footer-grid { grid-template-columns: 1fr; }
  .library-collage { grid-template-columns: repeat(2, 1fr); }
  .spine, .spine.wide { grid-column: span 1; min-height: 128px; }
  .spine.tall { min-height: 150px; }
  .spine .spine-name { font-size: 1.15rem; }
  .library-photo { grid-column: 1 / -1; min-height: 200px; }
  .library-photo img { min-height: 200px; }
  .step { grid-template-columns: auto 1fr; }
  .section { padding: clamp(44px, 10vw, 72px) 0; }
}
@media (max-width: 420px) {
  .library-collage { grid-template-columns: 1fr 1fr; }
  .spine, .spine.wide { grid-column: span 1; }
  .about-gallery { grid-template-columns: 1fr; }
  .cutout .polaroid img, .team-card .polaroid img { aspect-ratio: 4 / 4; }
}

/* ============================================================
   Reveal choreography & tactile hover — pinned-collage feel
   ============================================================ */

/* Stagger cards within a grid so they settle in like dealt cards,
   reusing the existing calc(var(--i) * 70ms) reveal delay. */
.testi-grid > .reveal:nth-child(2),
.notes-list > .reveal:nth-child(2),
.team-grid > .reveal:nth-child(2),
.tiers-grid > .reveal:nth-child(2),
.channels > .reveal:nth-child(2) { --i: 1; }
.testi-grid > .reveal:nth-child(3),
.notes-list > .reveal:nth-child(3),
.team-grid > .reveal:nth-child(3),
.tiers-grid > .reveal:nth-child(3),
.channels > .reveal:nth-child(3) { --i: 2; }
.team-grid > .reveal:nth-child(4),
.channels > .reveal:nth-child(4) { --i: 3; }

/* Paper scraps lift a touch off the board on hover/focus. Shadow only,
   so the hand-pinned rotation of each card is preserved.
   Reveal cards (.slip/.testi/.note-card) already carry a box-shadow
   transition via .reveal — only the non-reveal scraps need it here. */
/* Keep the reveal's slow opacity fade + stagger delay, but give transform &
   shadow a snappy timing so the hover lift settles in ~240ms, not 640ms. */
.slip, .testi, .note-card {
  transition-property: opacity, transform, box-shadow;
  transition-duration: 640ms, 240ms, 240ms;
  transition-timing-function: cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--i, 0) * 70ms), 0s, 0s;
}
.journal-scrap, .step, .faq-item {
  transition: box-shadow 280ms cubic-bezier(.2,.7,.2,1);
}
/* Cards lift straight up on hover with a warm tinted shadow. The lift
   straightens the hand-pinned rotation, matching .spine/.channel. */
.slip:hover, .slip:focus-within,
.testi:hover, .testi:focus-within,
.note-card:hover, .note-card:focus-within {
  transform: translateY(-6px) rotate(0deg);
  box-shadow: 0 26px 52px -20px rgba(224, 138, 60, 0.42), var(--shadow-2);
  z-index: 3;
}
.journal-scrap:hover,
.step:hover,
.faq-item:hover {
  box-shadow: var(--shadow-2);
}
/* faq rows also warm their summary so the whole strip reads as clickable */
.faq-item summary { transition: color 180ms ease, background 220ms ease; }
.faq-item summary:hover { color: var(--accent-deep); background: rgba(43,33,56,0.05); }
.faq-item summary:hover .q-mark { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  .slip, .testi, .note-card, .journal-scrap, .step,
  .faq-item, .faq-item summary { transition: none; }
}

.scroll-progress{position:fixed;top:0;left:0;height:3px;width:0;background:var(--accent);z-index:9998;transition:width 80ms linear;pointer-events:none}

/* autofix@1440: 283px void between sections — section paddings trimmed */
#the-guild{padding-bottom:96px !important}
#library{padding-top:96px !important}

/* autofix@1440: 261px void between sections — section paddings trimmed */
#sessions{padding-bottom:96px !important}
#how{padding-top:96px !important}

/* autofix@1440: 261px void between sections — section paddings trimmed */
#how{padding-bottom:96px !important}
#tiers{padding-top:96px !important}

/* autofix@1440: 261px void between sections — section paddings trimmed */
#voices{padding-bottom:96px !important}
#faq{padding-top:96px !important}

/* autofix@390: 243px void between sections — section paddings trimmed */
@media (max-width:760px){#the-guild{padding-bottom:64px !important}#library{padding-top:64px !important}}

/* autofix@390: 243px void between sections — section paddings trimmed */
@media (max-width:760px){#sessions{padding-bottom:64px !important}#how{padding-top:64px !important}}

/* autofix@390: 221px void between sections — section paddings trimmed */
@media (max-width:760px){#how{padding-bottom:64px !important}#tiers{padding-top:64px !important}}

/* autofix@390: 249px void between sections — section paddings trimmed */
@media (max-width:760px){#voices{padding-bottom:64px !important}#faq{padding-top:64px !important}}

/* autofix@1440: 267px void between sections — section paddings trimmed */
#the-guild{padding-bottom:72px !important}
#library{padding-top:72px !important}
