/* Self-hosted fonts (latin subset), so visitors' IP addresses aren't sent to Google. Families: Fraunces, Source Serif 4, Special Elite, Covered By Your Grace. All SIL Open Font Licence. */
@font-face {
  font-family: 'Covered By Your Grace';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/covered-by-your-grace.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: 'Fraunces';
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
  src: url(/assets/fonts/fraunces-italic.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: 'Fraunces';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(/assets/fonts/fraunces.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: 'Source Serif 4';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4-italic.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: 'Source Serif 4';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/source-serif-4.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: 'Special Elite';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/special-elite.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;
}

/* ==========================================================================
   On Paper Festival — site stylesheet
   1. Tokens   2. Base   3. Textures & shapes   4. Components   5. Sections
   6. Responsive   7. Motion & print
   Each page picks a theme class on .opf: .theme-festive or .theme-summer.
   ========================================================================== */

/* Metric-matched fallbacks so text doesn't jump when the web fonts swap in (limits layout shift). */
@font-face { font-family: 'Fraunces Fallback'; src: local('Georgia'); size-adjust: 97%; }
@font-face { font-family: 'Source Serif 4 Fallback'; src: local('Georgia'); size-adjust: 103%; }
@font-face { font-family: 'Special Elite Fallback'; src: local('Courier New'); size-adjust: 91%; }
@font-face { font-family: 'Covered Fallback'; src: local('Comic Sans MS'); size-adjust: 78%; }

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  /* Festive palette */
  --red: #AE2B2B;
  --navy: #2A4173;
  --gold: #B39231;      /* tape and accents only, never text */
  --sage: #E4EBD0;
  --teal: #34617A;
  --paper: #F5EEDF;     /* page stock */
  --card: #FFFDF6;      /* index cards, prints, notebook pages */

  /* Summer palette (teal and navy are shared) */
  --coral: #FF7376;
  --yellow: #FFCE2D;
  --blue: #ACCDF2;
  --gold-s: #B39232;

  /* Type */
  --font-display: 'Fraunces', 'Fraunces Fallback', Georgia, serif;
  --font-body: 'Source Serif 4', 'Source Serif 4 Fallback', Georgia, serif;
  --font-type: 'Special Elite', 'Special Elite Fallback', 'Courier New', monospace;
  --font-hand: 'Covered By Your Grace', 'Covered Fallback', 'Comic Sans MS', cursive;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .25s;

  /* Shadows */
  --shadow-print: 0 1px 2px rgba(40,25,10,.2), 0 22px 34px -16px rgba(40,25,10,.55);
  --shadow-card: 0 1px 1px rgba(40,25,10,.14), 0 8px 14px -10px rgba(40,25,10,.45);

  /* Layout */
  --gutter: clamp(16px, 4vw, 48px);
  --wrap: 1240px;
  --bp: 860px;
}

/* Theme: festive */
.theme-festive {
  --accent: var(--red);
  --accent-rule: rgba(174,43,43,.55);      /* index card header line */
  --margin-line: rgba(174,43,43,.45);      /* notebook margin line */
  --hero-bg: var(--red);
  --hero-fg: var(--paper);
  --hero-eyebrow: var(--sage);
  --strip-bg: var(--navy);
  --strip-fg: var(--sage);
  --nav-fg: var(--paper);
  --nav-hover: var(--sage);
  --tape-base: rgba(228,235,208,.86);
  --tag-bg: var(--paper);
  --hole-bg: var(--navy);
  --hole-ring: var(--gold);
  --link: var(--red);
  --card-hover: var(--red);
  --ital: var(--sage);
  --count: var(--red);
  --kicker: var(--red);
  --squig: var(--red);
  --accent-no: var(--red);
  --band-bg: var(--navy); --band-fg: var(--sage); --band-dot: var(--gold);
  --stamp-bg: var(--red); --stamp-fg: var(--paper);
  --air-a: var(--red); --air-b: var(--navy);
  --foot-bg: var(--navy); --foot-rule: rgba(228,235,208,.35);
  --big-rule: rgba(174,43,43,.5); --big-eyebrow: var(--red); --big-bg: var(--red);
}

/* Theme: summer */
.theme-summer {
  --accent: var(--teal);
  --accent-rule: rgba(255,115,118,.75);
  --margin-line: rgba(255,115,118,.7);
  --hero-bg: var(--coral);
  --hero-fg: var(--navy);
  --hero-eyebrow: var(--navy);
  --strip-bg: var(--red);
  --strip-fg: var(--paper);
  --nav-fg: var(--navy);
  --nav-hover: var(--navy);
  --tape-base: rgba(172,205,242,.85);
  --tag-bg: var(--card);
  --hole-bg: var(--yellow);
  --hole-ring: var(--gold-s);
  --link: var(--teal);
  --card-hover: var(--teal);
  --ital: var(--navy);
  --count: var(--teal);
  --kicker: var(--navy);
  --squig: var(--coral);
  --accent-no: var(--teal);
  --band-bg: var(--teal); --band-fg: var(--paper); --band-dot: var(--yellow);
  --stamp-bg: var(--coral); --stamp-fg: var(--navy);
  --air-a: var(--coral); --air-b: var(--teal);
  --foot-bg: var(--teal); --foot-rule: rgba(245,238,223,.35);
  --big-rule: rgba(52,97,122,.5); --big-eyebrow: var(--teal); --big-bg: var(--coral);
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: var(--link, var(--red)); }
a:hover { color: var(--navy); }
img, picture { display: block; max-width: 100%; }
img { height: auto; }

.opf {
  --focus: var(--navy);
  font-family: var(--font-body);
  color: var(--navy);
  font-size: 18px;
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
.opf h1, .opf h2, .opf h3 { text-wrap: balance; }
.opf .on-dark { --focus: var(--paper); }

.disp { font-family: var(--font-display); font-variation-settings: 'SOFT' 100, 'WONK' 1; font-optical-sizing: auto; }
.type { font-family: var(--font-type); letter-spacing: .04em; }
.hand { font-family: var(--font-hand); font-weight: 400; }
.ital { font-style: italic; font-weight: 400; color: var(--ital, var(--sage)); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--card); color: var(--navy); font-size: 15px; }
.skip-link:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--focus, var(--navy)); outline-offset: 3px; }

/* Browser surfaces, themed */
.opf { accent-color: var(--accent); caret-color: var(--accent); }
::selection { background: var(--gold); color: var(--navy); }
.opf .lnk, .prose a, .consent__text a { text-underline-offset: 3px; }

/* 3. TEXTURES & SHAPES ------------------------------------------------------ */
/* Paper grain: layer over any background-color. */
.grain { background-image: url(/assets/grain.webp); background-size: 480px 480px; }

/* Torn paper edge: a 40px strip sitting on the join with the section above, filled with
   the section's own colour. Alternate .tear--a / .tear--b from section to section. */
.tear {
  position: absolute; left: 0; right: 0; top: -39px; height: 40px; z-index: 2; pointer-events: none;
  background-color: var(--tear, currentColor);
  -webkit-mask: url(/assets/tear-a.webp) repeat-x 0 100% / 1600px 40px;
          mask: url(/assets/tear-a.webp) repeat-x 0 100% / 1600px 40px;
}
.tear--b { -webkit-mask-image: url(/assets/tear-b.webp); mask-image: url(/assets/tear-b.webp); }

/* Washi tape: zigzag ends via clip-path. */
.tape {
  position: absolute; top: -13px; left: 50%; margin-left: -59px; z-index: 1;
  height: 30px; width: 118px;
  background-color: var(--tape-base);
  box-shadow: 0 1px 2px rgba(40,25,10,.12);
  transform: rotate(var(--r, 0deg));
  clip-path: polygon(0 10%,3% 0,6% 12%,9% 0,12% 8%,88% 0,91% 10%,94% 0,97% 12%,100% 2%,100% 92%,97% 100%,94% 88%,91% 100%,88% 90%,12% 100%,9% 88%,6% 100%,3% 90%,0 100%);
}
.tape--gold { background-color: rgba(179,146,49,.72); }
.tape--red  { background-color: rgba(174,43,43,.78); }
.tape--yel  { background-color: rgba(255,206,45,.82); }
.tape--cor  { background-color: rgba(255,115,118,.8); }
.tape--blue { background-color: rgba(172,205,242,.85); }

/* Postage stamp: perforated edge via mask. */
.stamp {
  padding: 6px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle 4.6px at 6px 6px, #0000 96%, #000) -6px -6px / 12px 12px;
          mask: linear-gradient(#000 0 0) content-box, radial-gradient(circle 4.6px at 6px 6px, #0000 96%, #000) -6px -6px / 12px 12px;
}

/* Notebook ruling: red/coral margin line plus teal rules. */
.ruled {
  background-image:
    linear-gradient(90deg, transparent 58px, var(--margin-line) 58px 60px, transparent 60px),
    repeating-linear-gradient(transparent 0 37px, rgba(52,97,122,.2) 37px 38px);
}

/* 4. COMPONENTS ------------------------------------------------------------- */

/* Ticket button ------------------------------------------------------------ */
.ticket {
  display: inline-flex; align-items: stretch; text-decoration: none;
  filter: drop-shadow(0 2px 0 rgba(40,25,10,.18)) drop-shadow(0 10px 14px rgba(40,25,10,.22));
  transition: transform var(--dur) var(--ease);
}
.ticket:hover { transform: translateY(-3px) rotate(-1.2deg); }
.ticket .tk-main, .ticket .tk-stub {
  display: flex;
  -webkit-mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) 100% 0 / 51% 100% no-repeat;
          mask: radial-gradient(circle 9px at 0 50%, #0000 97%, #000) 0 0 / 51% 100% no-repeat, radial-gradient(circle 9px at 100% 50%, #0000 97%, #000) 100% 0 / 51% 100% no-repeat;
}
/* nav */
.ticket--nav .tk-main { align-items: center; background: var(--paper); color: var(--red); padding: 12px 18px 12px 22px; font-size: 15px; font-weight: 700; border-right: 2px dashed rgba(174,43,43,.45); }
.ticket--nav .tk-stub { align-items: center; background: var(--sage); color: var(--red); padding: 12px 16px; font-size: 18px; }
/* hero */
.ticket--hero .tk-main { flex-direction: column; justify-content: center; background-color: var(--paper); color: var(--red); padding: 16px 30px 14px 34px; border-right: 2px dashed rgba(174,43,43,.5); }
.ticket--hero .tk-eyebrow { font-size: 12px; letter-spacing: .18em; color: var(--navy); }
.ticket--hero .tk-label { font-size: 27px; font-weight: 800; line-height: 1.1; }
.ticket--hero .tk-stub { align-items: center; justify-content: center; background: var(--sage); color: var(--red); padding: 0 22px; font-size: 28px; }
/* standard: light = on paper (red + navy), dark = on a coloured section (paper + sage) */
.ticket--std .tk-main { align-items: center; padding: 15px 26px 15px 30px; }
.ticket--std .tk-label { font-size: 22px; font-weight: 700; }
.ticket--std .tk-stub { align-items: center; padding: 0 18px; font-size: 22px; }
.ticket--light .tk-main { background: var(--red); color: var(--paper); border-right: 2px dashed rgba(245,238,223,.55); }
.ticket--light .tk-stub { background: var(--navy); color: var(--paper); }
.ticket--dark .tk-main { background-color: var(--paper); color: var(--red); border-right: 2px dashed rgba(174,43,43,.5); }
.ticket--dark .tk-stub { background: var(--sage); color: var(--red); }
/* big "Admit one" */
.ticket--big { display: flex; width: 100%; max-width: 1000px; margin: 0 auto; transform: rotate(-1deg); }
.ticket--big:hover { transform: translateY(-3px) rotate(-1.8deg); }
.ticket--big .tk-main { flex: 1 1 auto; flex-direction: column; justify-content: center; gap: 8px; background-color: var(--paper); color: var(--navy); padding: clamp(24px, 4vw, 44px) clamp(24px, 4vw, 52px); border-right: 3px dashed var(--big-rule); min-width: 0; }
.ticket--big .tk-stub { flex: 0 0 auto; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--sage); color: var(--red); padding: 20px clamp(18px, 3vw, 40px); text-align: center; }
.ticket--big .tk-label { font-size: clamp(20px, 2.2vw, 28px); font-weight: 800; line-height: 1.05; }
.ticket--big .tk-arrow { font-size: 34px; line-height: 1; }

/* Print (polaroid) --------------------------------------------------------- */
.print {
  position: relative; margin: 0;
  background: var(--card); padding: 12px 12px 54px;
  box-shadow: var(--shadow-print);
  transform: rotate(var(--r, 0deg));
}
.print img { display: block; width: 100%; height: auto; }
.print--r45 img { aspect-ratio: 4 / 5; object-fit: cover; }
.print--r54 img { aspect-ratio: 5 / 4; object-fit: cover; }
.print figcaption, .print > .print__cap {
  position: absolute; left: 0; right: 0; bottom: 12px; margin: 0;
  text-align: center; color: var(--navy); font-size: var(--cap, 22px); line-height: 1;
}

/* Index card (exhibitor) --------------------------------------------------- */
.xgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 22px 18px; margin-top: 48px; }
.xcard {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  min-height: 136px; padding: 9px 16px 13px;
  background-color: var(--card);
  background-image:
    linear-gradient(transparent 36px, var(--accent-rule) 36px 37.5px, transparent 37.5px),
    repeating-linear-gradient(transparent 0 23px, rgba(52,97,122,.15) 23px 24px);
  background-position: 0 0, 0 38px;
  box-shadow: var(--shadow-card);
  color: var(--navy); text-decoration: none;
  transition: transform .28s var(--ease), box-shadow .28s;
}
.xgrid > *:nth-child(5n+1) { transform: rotate(-.8deg); }
.xgrid > *:nth-child(5n+2) { transform: rotate(.6deg); }
.xgrid > *:nth-child(5n+3) { transform: rotate(-.3deg); }
.xgrid > *:nth-child(5n+4) { transform: rotate(1deg); }
.xgrid > a.xcard:hover { transform: translateY(-6px) rotate(0deg); box-shadow: 0 2px 2px rgba(40,25,10,.12), 0 22px 26px -14px rgba(40,25,10,.5); color: var(--card-hover); }
.xcard__top { display: flex; justify-content: space-between; align-items: center; height: 26px; }
.xcard__no { font-size: 12px; letter-spacing: .12em; color: var(--accent-no, var(--red)); }
.xcard .go { opacity: .55; transition: opacity .2s, transform .2s; }
.xcard:hover .go { opacity: 1; transform: translate(2px, -2px); }
.xcard { container-type: inline-size; }
/* Names with a very long unbreakable word (--fit = its length) shrink just enough to fit the card. */
.xcard__name { --nm: 21px; font-size: min(var(--nm), calc(100cqw / (var(--fit, 1) * .66))); line-height: 1.12; font-weight: 700; overflow-wrap: anywhere; }
.xcard__url { font-size: 12px; opacity: .7; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.xcard--pending .xcard__url { opacity: .45; white-space: normal; }

/* Divider card + A–Z bar --------------------------------------------------- */
.xdiv {
  position: relative; display: flex; align-items: flex-end; justify-content: space-between;
  min-height: 136px; padding: 10px 16px 12px;
  background-color: var(--accent); color: var(--paper);
  box-shadow: 0 8px 14px -10px rgba(40,25,10,.45);
  scroll-margin-top: 24px;
}
.xdiv::before { content: ''; position: absolute; top: -15px; left: 14px; width: 70px; height: 17px; background: var(--accent); border-radius: 7px 7px 0 0; }
.xdiv .disp { font-size: 76px; font-weight: 900; line-height: .8; }
.xdiv .type { font-size: 12px; letter-spacing: .14em; opacity: .85; }
.drawer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: 44px; padding-top: 22px; border-top: 2px dashed rgba(42,65,115,.3); }
.drawer-count { margin: 0; font-size: 15px; letter-spacing: .08em; }
.drawer-count .disp { font-size: 34px; font-weight: 900; color: var(--count); letter-spacing: 0; vertical-align: -4px; }
.az { display: flex; flex-wrap: wrap; gap: 6px; }
.az a {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 6px;
  text-decoration: none; color: var(--navy); background: var(--card);
  border: 1.5px solid rgba(42,65,115,.35); border-radius: 4px 4px 0 0;
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  transition: background .2s, color .2s, transform .2s;
}
.az a:hover { background: var(--accent); color: var(--paper); transform: translateY(-3px); }

/* Notebook list ------------------------------------------------------------ */
.disc { list-style: none; margin: 0; padding: 0; }
.disc li { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 7px 0; min-height: 76px; }
.disc .icon { flex: 0 0 40px; margin-top: 2px; color: var(--accent); }

/* Luggage tag -------------------------------------------------------------- */
.tag {
  position: relative; background: var(--tag-bg); color: var(--navy); padding: 56px 30px 34px;
  clip-path: polygon(16% 0, 84% 0, 100% 9%, 100% 100%, 0 100%, 0 9%);
  box-shadow: 0 10px 20px -12px rgba(0,0,0,.5);
}
.tag h3 { margin: 0 0 14px; font-size: 34px; line-height: 1; font-weight: 800; color: var(--accent); }
.tag p { margin: 0 0 12px; font-size: 17px; }
.tag p:last-child { margin-bottom: 0; }
.tag .tag__more { font-size: 16px; }
.hole { position: absolute; top: 18px; left: 50%; width: 20px; height: 20px; margin-left: -10px; border-radius: 50%; background: var(--hole-bg); box-shadow: inset 0 0 0 3px var(--hole-ring); }

/* Links -------------------------------------------------------------------- */
.lnk { color: var(--link, var(--red)); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1.5px; background-position: 0 100%; background-repeat: no-repeat; padding-bottom: 1px; }
.lnk:hover { color: var(--navy); }
.link-hand { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font-size: 30px; text-decoration: none; line-height: 1; color: inherit; }
.link-hand:hover { color: inherit; }
.link-hand svg { transition: transform var(--dur) var(--ease); }
.link-hand:hover svg { transform: translate(2px, 3px) rotate(4deg); }

/* Nav ---------------------------------------------------------------------- */
.nav { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 10px; }
.nav__logo { display: block; width: 168px; }
.nav__logo img { display: block; width: 100%; height: auto; }
.navlinks { display: flex; align-items: center; gap: 26px; }
.navlink { color: var(--nav-fg); text-decoration: none; font-family: var(--font-type); font-size: 15px; letter-spacing: .06em; padding: 10px 4px; border-bottom: 2px solid transparent; }
.navlink:hover { color: var(--nav-fg); border-bottom-color: var(--nav-hover); }
.nav__toggle { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: transparent; color: var(--nav-fg); border: 2px solid currentColor; border-radius: 4px; cursor: pointer; }

/* 5. SECTIONS --------------------------------------------------------------- */
.sec { position: relative; }

/* Ticket strip */
.strip { background-color: var(--strip-bg); color: var(--strip-fg); }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 22px; padding-top: 9px; padding-bottom: 9px; text-align: center; }
.strip .type { font-size: 14px; }
.strip__star { color: var(--gold); }
.strip__link { color: var(--paper); text-decoration: underline; text-underline-offset: 4px; padding: 12px 0; margin: -12px 0; }
.strip__link:hover { color: var(--paper); text-decoration-thickness: 2px; }

/* Hero */
.hero { position: relative; background-color: var(--hero-bg); color: var(--hero-fg); padding-bottom: 96px; }
.hero__row { display: flex; align-items: center; gap: clamp(28px, 5vw, 72px); padding-top: clamp(28px, 5vw, 56px); }
.hero__text { flex: 1 1 520px; min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 16px; color: var(--hero-eyebrow); }
.eyebrow::before { content: ''; flex: none; width: 36px; height: 2px; background: currentColor; }
.hero__title { margin: 0; font-weight: 800; font-size: clamp(64px, 9.4vw, 138px); line-height: .86; letter-spacing: -.02em; color: var(--hero-fg); }
.hero__title .ital { display: block; font-size: .74em; margin-top: .12em; color: var(--hero-sub, var(--sage)); }
.datelabel { position: relative; display: inline-block; margin-top: 34px; transform: rotate(-1.5deg); }
.datelabel .tape { top: -14px; }
.datelabel p { margin: 0; background-color: var(--paper); color: var(--navy); padding: 14px 22px 12px; font-size: clamp(16px, 1.6vw, 20px); box-shadow: 0 10px 18px -10px rgba(0,0,0,.5); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 22px 34px; margin-top: 40px; }

/* Hero collage */
.collage { flex: 1 1 460px; min-width: 0; width: 100%; }
.collage__stage { position: relative; width: 100%; aspect-ratio: 560 / 640; }
.collage .print { position: absolute; }
.collage__a { left: -2%; top: 40%; width: 42%; }
.collage__a .tape { top: -14px; left: 26%; margin-left: 0; }
.collage__b { left: 33%; top: 3%; width: 62%; }
.collage__stamp {
  position: absolute; left: 2%; top: 2%; width: 144px; height: 168px; background: var(--paper);
  transform: rotate(-8deg); filter: drop-shadow(0 8px 10px rgba(0,0,0,.35));
}
.collage__stamp-in { height: 100%; border: 2px solid var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; background: var(--sage); }
.collage__stamp-in .type:first-child { font-size: 11px; letter-spacing: .14em; color: var(--navy); }
.collage__stamp-in .disp { font-size: 62px; font-weight: 900; line-height: .9; color: var(--red); }
.collage__stamp-in .type:last-child { font-size: 12px; letter-spacing: .1em; color: var(--navy); }
.rubber {
  position: absolute; right: -4%; top: -5%; width: 150px; height: 150px; z-index: 3; border-radius: 50%;
  border: 3px solid var(--paper); background: rgba(174,43,43,.88); color: var(--paper);
  display: flex; align-items: center; justify-content: center; transform: rotate(12deg);
}
.rubber__in { width: 128px; height: 128px; border-radius: 50%; border: 1.5px dashed var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.rubber__in .type:first-child { font-size: 12px; letter-spacing: .14em; }
.rubber__in .disp { font-size: 30px; font-weight: 800; line-height: 1; }
.rubber__in .type:last-child { font-size: 11px; letter-spacing: .1em; }
.collage__spark { position: absolute; }
.collage__spark--a { left: 49%; top: 76%; color: var(--sage); }
.collage__spark--b { left: 3%; top: 93%; color: var(--gold); }

/* Tagline band */
.band { position: relative; background-color: var(--band-bg); color: var(--band-fg); --tear: var(--band-bg); }
.band__in { list-style: none; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 22px; --lift: 19px; /* the torn edges eat ~19px of blue, so lift the text to centre it in what's visible */ padding-top: calc(22px - var(--lift)); padding-bottom: calc(22px + var(--lift)); }
.band .type { position: relative; font-size: clamp(14px, 1.5vw, 18px); letter-spacing: .16em; text-transform: uppercase; padding-left: .16em; /* balances the trailing letter-spacing so each word sits truly centred */ }
.band__in li + li::before { content: '•'; position: absolute; left: -11px; top: 50%; transform: translate(-50%, -50%); color: var(--band-dot); letter-spacing: 0; }

/* Intro */
.intro { position: relative; background-color: var(--paper); padding-top: clamp(64px, 8vw, 112px); padding-bottom: clamp(64px, 8vw, 104px); --tear: var(--paper); }
.intro__in { display: flex; flex-wrap: wrap; gap: clamp(36px, 6vw, 88px); align-items: flex-start; }
.intro__main { flex: 999 1 560px; min-width: 0; }
.intro__lede { margin: 0; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.42; font-weight: 400; color: var(--navy); }
.dropcap { float: left; font-size: 3.3em; line-height: .78; font-weight: 900; color: var(--accent); margin: .06em .1em 0 0; }
.intro__cta { margin-top: 38px; }
.note { flex: 1 1 340px; min-width: 0; position: relative; transform: rotate(1.6deg); margin-top: 10px; }
.note__page { background-color: var(--card); padding: 30px 26px 26px 76px; box-shadow: 0 1px 2px rgba(40,25,10,.18), 0 20px 30px -18px rgba(40,25,10,.5); }
.note__kicker { margin: 0 0 6px; font-size: 13px; letter-spacing: .14em; color: var(--red); text-transform: uppercase; }
.note__title { margin: 0 0 12px; font-size: 24px; line-height: 1.2; font-weight: 700; }
.note__list { list-style: none; margin: 0; padding: 0; }
.note__list li { font-size: 21px; line-height: 38px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note__more { position: relative; display: inline-block; margin-top: 10px; font-size: 15px; }
.note__more::before { content: ''; position: absolute; inset: -8px 0; }

/* Exhibitors */
.exhibitors { position: relative; background-color: var(--sage); padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 120px); --tear: var(--sage); }
.xhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.xhead__title { flex: 999 1 520px; min-width: 0; }
.xhead__kicker { margin: 0 0 -6px 6px; font-size: clamp(30px, 3.4vw, 44px); color: var(--kicker); transform: rotate(-3deg); transform-origin: left bottom; line-height: 1; }
.xhead h2 { margin: 0; font-size: clamp(64px, 10vw, 150px); line-height: .9; font-weight: 900; letter-spacing: -.025em; color: var(--navy); }
.xhead__squiggle { display: block; margin-top: 6px; color: var(--squig); width: min(560px, 90%); height: 18px; }
.xhead__intro { flex: 1 1 380px; min-width: 0; }
.xhead__intro p { margin: 0; font-size: 19px; line-height: 1.6; }
.print-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 34px 26px; margin-top: 56px; align-items: start; }
.print-row > :nth-child(1) { --r: -2.5deg; }
.print-row > :nth-child(2) { --r: 2deg; margin-top: 18px; }
.print-row > :nth-child(3) { --r: -1deg; }
.print-row > :nth-child(4) { --r: 3deg; margin-top: 22px; }
.exhibitors__end { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 30px; margin-top: 64px; text-align: center; }
.exhibitors__end p { margin: 0; font-size: 32px; color: var(--navy); line-height: 1.1; }

/* What you'll discover */
.discover { position: relative; background-color: var(--red); color: var(--paper); padding-top: clamp(80px, 9vw, 128px); padding-bottom: clamp(80px, 9vw, 128px); --tear: var(--red); }
.discover h2 { margin: 0 0 clamp(36px, 5vw, 60px); max-width: 15ch; font-size: clamp(44px, 6vw, 84px); line-height: .95; font-weight: 800; letter-spacing: -.02em; }
.discover__in { display: flex; flex-wrap: wrap; gap: clamp(40px, 6vw, 80px); align-items: flex-start; }
.discover__book { flex: 999 1 560px; min-width: 0; position: relative; }
.notebook { position: relative; background-color: var(--card); color: var(--navy); padding: 26px clamp(18px, 3vw, 34px) 30px 84px; box-shadow: 0 2px 2px rgba(0,0,0,.15), 0 30px 40px -24px rgba(0,0,0,.6); transform: rotate(-.6deg); }
.discover__side { flex: 1 1 340px; min-width: 0; position: relative; padding-top: 10px; }
.discover__side .print { width: 86%; margin-left: 8%; }
.scrawl { position: relative; margin-top: 36px; display: flex; align-items: center; gap: 14px; transform: rotate(-2deg); color: var(--paper); }
.scrawl svg { flex: none; color: var(--sage); }
.scrawl p { margin: 0; font-size: 30px; line-height: 1.05; }
.discover__cta { margin-top: 34px; }

/* Visiting */
.visit { position: relative; background-color: var(--navy); color: var(--paper); padding-top: clamp(80px, 9vw, 120px); padding-bottom: clamp(80px, 9vw, 120px); --tear: var(--navy); }
.visit__head { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }
.visit__when { margin: 0 0 14px; font-size: clamp(14px, 1.5vw, 17px); letter-spacing: .1em; color: var(--sage); }
.visit__when span { color: var(--gold); }
.visit h2 { margin: 0; font-size: clamp(40px, 5.4vw, 76px); line-height: 1; font-weight: 800; letter-spacing: -.02em; }
.tags { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 34px; align-items: start; }
.tags > :nth-child(1) { transform: rotate(-1.2deg); }
.tags > :nth-child(2) { transform: rotate(.9deg); margin-top: 26px; }
.tags > .tag--wide { grid-column: 1 / -1; transform: rotate(-.4deg); }
.tag--wide { padding: 56px clamp(30px, 4vw, 52px) 40px; clip-path: polygon(120px 0, calc(100% - 120px) 0, 100% 44px, 100% 100%, 0 100%, 0 44px); }
.tag__cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 12px clamp(28px, 4vw, 52px); align-items: start; }
.tag--wide .tag__photo { margin: 6px 0 0; }
.sponsor-mark { display: flex; align-items: center; height: 100px; margin-bottom: 14px; }
.sponsor-logo { display: block; height: auto; }
.sponsor-logo--mi { width: 190px; }
.sponsor-logo--cb { width: 240px; }
.tag .tag__dogs { margin: 0; font-size: 25px; line-height: 1.15; display: flex; gap: 10px; align-items: center; }
.tag__dogs svg { flex: 0 0 30px; color: var(--red); }
.tag__photo { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin: 0 0 16px; border: 6px solid var(--card); box-shadow: 0 6px 12px -8px rgba(0,0,0,.45); transform: rotate(-1deg); }
.tag__pr { list-style: none; margin: 0 0 14px; padding: 12px 0 0; border-top: 1.5px dashed rgba(42,65,115,.35); font-size: 14px; line-height: 1.9; }

/* FAQs */
.faq { position: relative; background-color: var(--sage); padding-top: clamp(80px, 9vw, 120px); padding-bottom: clamp(72px, 8vw, 112px); --tear: var(--sage); }
.faq__kicker { margin: 0 0 -6px 6px; font-size: clamp(30px, 3.4vw, 44px); color: var(--red); transform: rotate(-3deg); transform-origin: left bottom; line-height: 1; }
.faq h2 { margin: 0 0 clamp(36px, 5vw, 56px); font-size: clamp(44px, 6vw, 84px); line-height: .95; font-weight: 900; letter-spacing: -.02em; max-width: 16ch; }
.faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 30px; align-items: start; }
.faq__card {
  position: relative; padding: 24px clamp(20px, 2.4vw, 30px) 26px; background-color: var(--card);
  background-image: repeating-linear-gradient(transparent 0 31px, rgba(52,97,122,.14) 31px 32px);
  box-shadow: var(--shadow-card);
}
.faq__card:nth-child(odd) { transform: rotate(-.6deg); }
.faq__card:nth-child(even) { transform: rotate(.7deg); margin-top: 18px; }
.faq__card h3 { margin: 0 0 16px; padding-bottom: 12px; border-bottom: 2px solid var(--accent-rule); font-size: clamp(21px, 2vw, 26px); line-height: 1.15; font-weight: 800; color: var(--navy); }
.faq__card p { margin: 0; font-size: 17px; line-height: 32px; }

/* Charity */
.charity { position: relative; background-color: var(--paper); padding-top: clamp(84px, 9vw, 128px); padding-bottom: clamp(72px, 8vw, 112px); --tear: var(--paper); }
.charity__in { display: flex; flex-wrap: wrap; gap: clamp(36px, 6vw, 80px); align-items: center; }
.charity__head { flex: 1 1 360px; min-width: 0; }
.charity__kicker { margin: 0 0 12px; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.charity h2 { margin: 0; font-size: clamp(48px, 6.4vw, 92px); line-height: .92; font-weight: 900; letter-spacing: -.02em; }
.charity h2 .ital { display: block; color: var(--accent); }
.charity__note { margin: 22px 0 0; font-size: 28px; line-height: 1.15; max-width: 18ch; transform: rotate(-2deg); }
.charity__head .print { margin-top: 34px; width: min(340px, 90%); }
.letter { flex: 999 1 560px; min-width: 0; position: relative; }
.letter__page {
  position: relative; background: var(--card); padding: clamp(28px, 4vw, 48px);
  box-shadow: 0 2px 2px rgba(40,25,10,.14), 0 30px 40px -26px rgba(40,25,10,.55); transform: rotate(.8deg);
  border-top: 10px solid; border-image: repeating-linear-gradient(90deg, var(--air-a) 0 18px, var(--card) 18px 30px, var(--air-b) 30px 48px, var(--card) 48px 60px) 10;
}
.letter__stamp { position: absolute; top: 22px; right: 22px; width: 84px; height: 96px; background: var(--card); transform: rotate(6deg); filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.letter__stamp > div { height: 100%; background: var(--stamp-bg); display: flex; align-items: center; justify-content: center; color: var(--stamp-fg); }
.letter p { margin: 0 0 16px; font-size: 18px; }
.letter p:first-of-type { padding-right: 96px; }
.letter p:nth-of-type(2) { margin-bottom: 20px; }
.letter .hand { margin: 0; font-size: 26px; }

/* Colophon (sponsors) */
.colophon { position: relative; background-color: var(--paper); padding-bottom: clamp(72px, 8vw, 112px); }
.colophon__rule { border-top: 2px solid var(--navy); border-bottom: 2px solid var(--navy); padding: 6px 0; }
.colophon__rule > div { border-top: 1px solid var(--navy); border-bottom: 1px solid var(--navy); padding: clamp(28px, 4vw, 44px) 0; }
.colophon .print { margin: 0 auto 40px; width: min(420px, 88%); }
.colophon h2 { margin: 0 0 28px; text-align: center; font-size: 15px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; }
.sponsors { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(28px, 5vw, 64px); }
.sponsors h3 { margin: 0 0 10px; font-size: 28px; font-weight: 700; }
.sponsors h3 a { color: var(--navy); text-decoration: none; }
.sponsors h3 a:hover { color: var(--accent); }
.sponsors p { margin: 0; font-size: 17px; }

/* Big ticket CTA */
.bigcta { position: relative; background-color: var(--big-bg); padding-top: clamp(84px, 9vw, 120px); padding-bottom: clamp(72px, 8vw, 104px); --tear: var(--big-bg); }
.bigcta .tk-eyebrow { font-size: 13px; letter-spacing: .24em; color: var(--big-eyebrow); }
.bigcta .tk-title { font-size: clamp(36px, 5.4vw, 72px); line-height: .95; font-weight: 900; letter-spacing: -.02em; }
.bigcta .tk-title .ital { color: var(--accent); }
.bigcta .tk-when { font-size: clamp(14px, 1.5vw, 17px); }

/* Footer */
.footer { position: relative; background-color: var(--foot-bg); color: var(--paper); padding-top: clamp(72px, 8vw, 100px); padding-bottom: 40px; --tear: var(--foot-bg); }
.footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 36px; }
.footer__logo { flex: 1 1 300px; }
.footer__logo img { display: block; width: 220px; height: auto; }
.footer__contact { flex: 1 1 360px; }
.footer__contact h2 { margin: 0 0 14px; font-size: 40px; line-height: 1; font-weight: 800; }
.footer__contact p { margin: 0; font-size: 17px; line-height: 2; }
.footer a { color: var(--paper); }
.footer__contact a { display: inline-block; padding: 5px 0; margin: -5px 0; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 20px; border-top: 1.5px dashed var(--foot-rule); }
.footer__base p { margin: 0; font-size: 13px; color: var(--sage); }
.footer__base a { color: var(--sage); }
.footer__legal a, .linkbtn { display: inline-block; padding: 12px 0; margin: -12px 0; }
.linkbtn { background: none; border: 0; font: inherit; letter-spacing: inherit; color: var(--sage); text-decoration: underline; cursor: pointer; }
.linkbtn:hover { color: var(--paper); }


/* Summer theme overrides ---------------------------------------------------- */
.theme-summer .navlinks { gap: 24px; }
.theme-summer .strip__star { color: var(--sage); }
.theme-summer .strip__in { gap: 6px 20px; }
.theme-summer .ticket--nav .tk-main { background: var(--yellow); color: var(--navy); border-right-color: rgba(42,65,115,.4); }
.theme-summer .ticket--nav .tk-stub { background: var(--paper); color: var(--navy); }
.theme-summer .ticket--hero .tk-main { background-color: var(--yellow); color: var(--navy); border-right-color: rgba(42,65,115,.45); }
.theme-summer .ticket--hero .tk-eyebrow { color: inherit; }
.theme-summer .ticket--hero .tk-stub { background: var(--paper); color: var(--navy); }
.theme-summer .ticket--light .tk-main { background: var(--teal); color: var(--paper); border-right-color: rgba(245,238,223,.55); }
.theme-summer .ticket--light .tk-stub { background: var(--yellow); color: var(--navy); }
.theme-summer .ticket--dark .tk-main { background-color: var(--yellow); color: var(--navy); border-right-color: rgba(42,65,115,.45); }
.theme-summer .ticket--dark .tk-stub { background: var(--paper); color: var(--navy); }
.theme-summer .ticket--navy .tk-main { background: var(--navy); color: var(--paper); border-right-color: rgba(245,238,223,.5); }
.theme-summer .ticket--navy .tk-main .tk-label { font-size: 21px; }
.theme-summer .ticket--navy .tk-stub { background: var(--coral); color: var(--navy); }
.theme-summer .ticket--big .tk-stub { background: var(--yellow); color: var(--navy); }

.theme-summer .hero__text { flex-basis: 540px; }
.hero__date { position: relative; display: inline-block; transform: rotate(-2deg); margin-bottom: 26px; }
.hero__date p { margin: 0; background-color: var(--paper); color: var(--navy); padding: 12px 20px 10px; font-size: clamp(15px, 1.5vw, 19px); box-shadow: 0 10px 18px -10px rgba(0,0,0,.45); }
.hero__title--s { font-weight: 900; font-size: clamp(60px, 8.6vw, 128px); line-height: .86; letter-spacing: -.025em; }
.hero__title--s .l2 { display: block; }
.hero__title--s .ital { display: inline; margin-top: 0; font-size: 1em; color: inherit; }
.hero__strap { margin: 26px 0 0; max-width: 22ch; font-size: clamp(24px, 2.6vw, 36px); line-height: 1.15; font-weight: 500; font-style: italic; color: var(--navy); }
.theme-summer .collage__a { top: 40%; }
.theme-summer .collage__a .tape { left: 24%; }
.theme-summer .collage__b { left: 32%; top: 2%; }
.theme-summer .collage__stamp { left: 3%; top: 3%; transform: rotate(-9deg); filter: drop-shadow(0 8px 10px rgba(0,0,0,.3)); }
.theme-summer .collage__stamp-in { border-color: var(--teal); background: var(--blue); }
.theme-summer .collage__stamp-in .disp { font-size: 50px; line-height: .95; color: var(--navy); }
.theme-summer .rubber { border-color: var(--navy); background: rgba(255,206,45,.92); color: var(--navy); transform: rotate(-12deg); }
.theme-summer .rubber__in { border-color: var(--navy); }
.theme-summer .rubber__in .type:first-child { font-size: 11px; }
.theme-summer .rubber__in .disp { font-size: 34px; }
.theme-summer .collage__spark--a { left: 50%; top: 78%; color: var(--yellow); }
.theme-summer .collage__spark--b { color: var(--navy); }

.theme-summer .xcard, .theme-summer .xdiv { min-height: 128px; }

/* Summer intro + take-part notepad */
.intro--s .intro__lede { margin: 0 0 24px; font-size: clamp(24px, 2.5vw, 33px); }
.intro--s .dropcap { color: var(--teal); }
.intro__body { margin: 0; font-size: 19px; max-width: 60ch; }
.intro--s .intro__cta { margin-top: 36px; }
.intro--s .note { flex-basis: 360px; margin-top: 6px; }
.note h2 { margin: 0 0 6px; font-size: 27px; line-height: 1.15; font-weight: 800; }
.note__p { margin: 0 0 8px; font-size: 17px; line-height: 38px; }
.note__p--end { margin: 8px 0 0; }
.todo { list-style: none; margin: 0; padding: 0; }
.todo li { display: flex; gap: 10px; font-size: 23px; line-height: 38px; }
.todo span { color: var(--teal); }

/* Why On Paper? */
.why { position: relative; background-color: var(--blue); padding-top: clamp(84px, 10vw, 140px); padding-bottom: clamp(84px, 10vw, 140px); --tear: var(--blue); }
.why .wrap { max-width: 1100px; text-align: center; }
.why h2 { margin: 0 0 18px; font-size: clamp(34px, 4vw, 50px); font-weight: 400; line-height: 1; color: var(--navy); transform: rotate(-2deg); }
.why p { margin: 0; font-size: clamp(30px, 3.9vw, 54px); line-height: 1.22; font-weight: 500; letter-spacing: -.01em; color: var(--navy); }
.why em { font-weight: 400; }
.why svg { display: block; margin: 30px auto 0; color: var(--teal); }

/* Week at a glance */
.week { position: relative; background-color: var(--paper); padding-top: clamp(84px, 9vw, 124px); padding-bottom: clamp(72px, 8vw, 112px); --tear: var(--paper); }
.week h2 { margin: 0 0 clamp(36px, 5vw, 60px); font-size: clamp(44px, 6vw, 84px); line-height: .95; font-weight: 900; letter-spacing: -.02em; }
.week h2 .ital { color: var(--teal); }
.week__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(28px, 4vw, 48px); }
.week__card { position: relative; background: var(--card); padding: clamp(28px, 3.5vw, 44px); box-shadow: 0 2px 2px rgba(40,25,10,.12), 0 26px 34px -22px rgba(40,25,10,.5); }
.week__card:nth-child(1) { transform: rotate(-.8deg); }
.week__card:nth-child(2) { transform: rotate(.8deg); }
.week__card:nth-child(1) .tape { left: 40px; margin-left: 0; --r: -4deg; }
.week__card:nth-child(2) .tape { left: auto; right: 40px; margin-left: 0; --r: 4deg; }
.week__card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0 0 22px; }
.chip { margin: 0 0 14px; display: inline-block; background: var(--teal); color: var(--paper); padding: 6px 12px; font-size: 13px; letter-spacing: .1em; }
.chip--yel { background: var(--yellow); color: var(--navy); }
.week__card h3 { margin: 0 0 14px; font-size: clamp(32px, 3.4vw, 46px); line-height: 1; font-weight: 800; }
.week__card p { margin: 0 0 20px; font-size: 18px; }
.week__card .week__when { margin: 0; padding-top: 14px; border-top: 1.5px dashed rgba(42,65,115,.35); font-size: 14px; line-height: 1.6; }
.week__card .chip { margin: 0 0 14px; font-size: 13px; }
.week__cta { margin-top: 48px; text-align: center; }

/* Creative workshops programme */
.workshops { position: relative; background-color: var(--teal); color: var(--paper); padding-top: clamp(84px, 9vw, 124px); padding-bottom: clamp(80px, 9vw, 120px); --tear: var(--teal); }
.workshops__in { display: flex; flex-wrap: wrap; gap: clamp(36px, 6vw, 80px); align-items: flex-start; }
.workshops__head { flex: 1 1 320px; min-width: 0; }
.workshops__when { margin: 0 0 12px; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.workshops h2 { margin: 0 0 22px; font-size: clamp(48px, 6vw, 86px); line-height: .92; font-weight: 900; letter-spacing: -.02em; }
.workshops h2 .ital { display: block; color: inherit; }
.workshops__lede { margin: 0; font-size: 19px; max-width: 36ch; }
.workshops__note { margin: 28px 0 0; font-size: 30px; line-height: 1.1; color: var(--yellow); transform: rotate(-2deg); }
.workshops__prints { position: relative; margin-top: 40px; height: 430px; max-width: 420px; }
.workshops__prints .print { position: absolute; }
.workshops__prints .print:nth-child(1) { left: 0; top: 0; width: 64%; }
.workshops__prints .print:nth-child(2) { right: 0; top: 90px; width: 60%; }
.workshops__list { flex: 999 1 560px; min-width: 0; }
.workshops__label { margin: 0 0 6px; font-size: 12px; letter-spacing: .3em; color: var(--blue); text-align: right; }
.prog { list-style: none; margin: 0; padding: 0; }
.prog li { display: flex; align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1.5px dashed rgba(245,238,223,.28); }
.prog__no { flex: 0 0 34px; font-size: 14px; color: var(--yellow); }
.prog__title { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.2; font-weight: 600; }
.prog .dots { flex: 1 1 30px; border-bottom: 2px dotted rgba(255,206,45,.6); transform: translateY(-6px); min-width: 24px; }
.prog__tutor { font-size: 16px; font-style: italic; color: var(--sage); white-space: nowrap; }
.workshops__cta { margin-top: 36px; }

/* The Grand Fair (summer) */
.gfair { position: relative; background-color: var(--coral); color: var(--navy); padding-top: clamp(84px, 9vw, 124px); padding-bottom: clamp(80px, 9vw, 120px); --tear: var(--coral); }
.gfair h2 { margin: 0 0 clamp(32px, 4vw, 52px); font-size: clamp(52px, 7vw, 104px); line-height: .9; font-weight: 900; letter-spacing: -.025em; }
.gfair .notebook { padding: 30px clamp(18px, 3vw, 34px) 30px 84px; box-shadow: 0 2px 2px rgba(0,0,0,.12), 0 30px 40px -24px rgba(0,0,0,.5); transform: rotate(-.5deg); }
.gfair .notebook > p { margin: 0 0 16px; font-size: 18px; line-height: 1.6; }
.gfair .discover__side .print { width: 88%; margin-left: 6%; }
.gfair__cta { margin-top: 40px; }

/* Calling all makers */
.makers { position: relative; background-color: var(--yellow); color: var(--navy); padding-top: clamp(84px, 9vw, 124px); padding-bottom: clamp(80px, 9vw, 120px); --tear: var(--yellow); }
.makers__in { display: flex; flex-wrap: wrap; gap: clamp(36px, 6vw, 80px); align-items: flex-start; }
.makers__main { flex: 999 1 560px; min-width: 0; }
.makers h2 { margin: 0 0 24px; font-size: clamp(46px, 6.2vw, 90px); line-height: .92; font-weight: 900; letter-spacing: -.02em; }
.makers h2 .ital { color: inherit; }
.makers__lede { margin: 0 0 30px; font-size: 20px; max-width: 54ch; }
.makers h3.makers__why { margin: 0 0 12px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; font-weight: 800; }
.makers__body { margin: 0 0 34px; font-size: 18px; max-width: 58ch; }
.makers .tag { flex: 1 1 320px; min-width: 0; transform: rotate(1.6deg); margin-top: 12px; }

/* Sponsors: supporters row (summer) */
.supporters { margin-top: 34px; padding-top: 26px; border-top: 1.5px dashed rgba(42,65,115,.35); text-align: center; }
.supporters h2 { margin: 0 0 10px; }
.supporters p { margin: 0; font-size: 18px; }
.supporters a { font-weight: 600; }

/* Sticky ticket bar */
.sticky-cta {
  position: fixed; z-index: 80; left: 0; right: 0; bottom: 0; --tear: var(--paper);
  background-color: var(--paper); color: var(--navy);
  padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  box-shadow: 0 -12px 30px -14px rgba(40,25,10,.4);
  transform: translateY(100%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s .35s;
}
.sticky-cta.is-visible { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
.sticky-cta__in { display: flex; align-items: center; justify-content: center; gap: 12px 28px; }
.sticky-cta__text { margin: 0; font-size: 15px; }
.sticky-cta .ticket--std .tk-main { padding-top: 11px; padding-bottom: 11px; }

/* Cookie consent banner */
.consent {
  position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto;
  background-color: var(--paper); background-image: url(/assets/grain.webp); background-size: 480px 480px;
  color: var(--navy); padding: 22px 24px 20px; transform: rotate(-.4deg);
  box-shadow: 0 2px 2px rgba(40,25,10,.2), 0 24px 40px -12px rgba(40,25,10,.6);
  border-top: 6px solid var(--red);
}
.consent[hidden] { display: none; }
.consent__title { margin: 0 0 8px; font-size: 22px; line-height: 1.15; font-weight: 800; }
.consent__text { margin: 0 0 16px; font-size: 16px; line-height: 1.5; }
.consent__text a { color: var(--red); }
.consent__btns { display: flex; gap: 12px; }
.consent__btn { flex: 1 1 0; min-height: 48px; padding: 0 18px; font-size: 16px; font-weight: 700; color: var(--paper); background: var(--navy); border: 2px solid var(--navy); border-radius: 4px; cursor: pointer; transition: transform var(--dur) var(--ease); }
.consent__btn:hover { transform: translateY(-2px); }
.consent a:focus-visible, .consent button:focus-visible { outline-color: var(--navy); }

/* Plain text pages (privacy policy) */
.prose { position: relative; background-color: var(--paper); padding-top: clamp(64px, 8vw, 104px); padding-bottom: clamp(72px, 8vw, 112px); --tear: var(--paper); }
.prose__in { max-width: 760px; }
.prose h1 { margin: 0 0 8px; font-size: clamp(40px, 5.4vw, 72px); line-height: .95; font-weight: 900; letter-spacing: -.02em; }
.prose__updated { margin: 0 0 40px; font-size: 14px; color: var(--red); }
.prose h2 { margin: 44px 0 10px; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.1; font-weight: 800; }
.prose p, .prose li { font-size: 18px; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--red); }
.prose table { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: 16px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1.5px dashed rgba(42,65,115,.35); }
.prose th { font-family: var(--font-type); font-weight: 400; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.prose .table-wrap { overflow-x: auto; }

/* 6. RESPONSIVE ------------------------------------------------------------- */
@media (max-width: 860px) {
  .hero__row { flex-direction: column; }
  .collage { max-width: 440px; margin: 0 auto; }
  .tag { padding: 52px 22px 28px; }
  .tags { grid-template-columns: minmax(0, 1fr); }
  .faq__grid { grid-template-columns: minmax(0, 1fr); }
  .faq__card:nth-child(even) { margin-top: 0; }
  .tags > :nth-child(2) { margin-top: 0; }
  .tag--wide { padding: 52px 22px 28px; clip-path: polygon(16% 0, 84% 0, 100% 9%, 100% 100%, 0 100%, 0 9%); }
  .tag__cols { grid-template-columns: minmax(0, 1fr); }

  /* Nav collapses to a paper menu card */
  .nav { gap: 12px; }
  .nav .ticket { margin-left: auto; }
  .nav__toggle { display: inline-flex; }
  .navlinks {
    display: none; position: absolute; top: 100%; left: var(--gutter); right: var(--gutter); z-index: 20;
    flex-direction: column; align-items: stretch; gap: 0;
    background-color: var(--paper); color: var(--navy); padding: 8px 22px; transform: rotate(-.4deg);
    box-shadow: 0 2px 2px rgba(40,25,10,.18), 0 24px 34px -14px rgba(40,25,10,.55);
  }
  .navlinks.is-open { display: flex; }
  .navlinks .navlink { color: var(--navy); font-size: 17px; padding: 0; min-height: 52px; display: flex; align-items: center; border-bottom: 1.5px dashed rgba(42,65,115,.3); }
  .navlinks .navlink:last-child { border-bottom: 0; }
  .navlinks .navlink:hover { color: var(--red); border-bottom-color: rgba(42,65,115,.3); }
}

@media (max-width: 860px) {
  .prog li { flex-wrap: wrap; }
  .prog .dots { display: none; }
}

@media (max-width: 640px) {
  .band__in { display: grid; grid-template-columns: repeat(2, auto); justify-content: center; justify-items: center; gap: 10px 36px; }
  .band__in li:last-child { grid-column: 1 / -1; }
  .band__in { --lift: 17px; }
  .band__in li + li::before { display: none; }
}

@media (max-width: 640px) {
  .sticky-cta__text { display: none; }
  .sticky-cta .ticket { width: 100%; max-width: 420px; }
  .sticky-cta .ticket .tk-main { flex: 1 1 auto; justify-content: center; }
}

@media (max-width: 480px) {
  .nav__logo { width: 148px; }
  .ticket--nav .tk-main { padding: 12px 12px 12px 16px; }
  .ticket--nav .tk-stub { padding: 12px 12px; }
  .xgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .xcard { padding-left: 12px; padding-right: 12px; }
  .xcard__name { --nm: 19px; }
  .az a { min-width: 44px; }
  .letter p:first-of-type { padding-right: 0; }
  .letter__stamp { position: relative; top: auto; right: auto; float: right; margin: 0 0 8px 16px; }
}

/* 7. MOTION & PRINT --------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .sticky-cta { transition: none !important; }
  .ticket:hover, .xgrid > a.xcard:hover, .az a:hover { transform: none; }
}
