/* ==========================================================================
   BINGLANGSURF — 70s surf zine
   Paper, ink, sun and sea. Hand-shaped poster type over typewriter text.
   ========================================================================== */

@font-face { font-family: "Londrina Solid"; src: url("../fonts/LondrinaSolid-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Londrina Solid"; src: url("../fonts/LondrinaSolid-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../fonts/CourierPrime-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../fonts/CourierPrime-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Courier Prime"; src: url("../fonts/CourierPrime-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  /* Palette */
  --paper: #ede4cf;
  --paper-deep: #e2d5b7;
  --print: #f6f0e1;       /* photo print borders */
  --ink: #1b1a17;
  --ink-soft: #3a372f;
  --sun: #f3c93a;
  --sea: #17393b;
  --foam: #d6dcc3;        /* light end of the sea duotone */
  --lime: #e6ecb2;        /* poster lettering on photos */
  --error: #b03e3e;

  /* Surfaces — the page is ink; cream is kept for "printed" objects (photos, tickets, cards) */
  --bg: var(--ink);
  --bg-raised: #252320;   /* panels sitting on the page: forms, photo band */
  --bg-deep: #0f0e0c;     /* testimonials, footer, film */
  --fg: var(--paper);
  --line: rgba(237, 228, 207, .22);
  --line-strong: rgba(237, 228, 207, .55);
  --shadow: 0 1px 1px rgba(0, 0, 0, .35), 0 14px 32px -14px rgba(0, 0, 0, .7);

  /* Type */
  --display: "Londrina Solid", "Arial Narrow", sans-serif;
  --mono: "Courier Prime", "Courier New", monospace;

  --t-mega: clamp(64px, 13vw, 210px);
  --t-h1: clamp(56px, 9.5vw, 150px);
  --t-h2: clamp(44px, 6.4vw, 96px);
  --t-h3: clamp(30px, 3.2vw, 44px);
  --t-title: 28px;
  --t-body-lg: 19px;
  --t-body: 16px;
  --t-small: 14px;
  --t-label: 12px;

  /* Space */
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(72px, 10vw, 140px);
  --radius: 6px;

  --header-h: 72px;
  --z-header: 100;
  --z-menu: 150;
  --z-lightbox: 200;
  --z-grain: 300;

  --hover: 150ms ease-out;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--mono);
  font-size: var(--t-body);
  line-height: 1.6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Film grain over everything. Static, and never catches clicks. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, figure, blockquote, ul, dl, dd { margin: 0; }
button, input, textarea { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--sun); color: var(--ink); }
[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

.container { width: 100%; max-width: 1360px; margin-inline: auto; padding-inline: var(--gutter); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Type ---------- */

.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: .88;
  letter-spacing: .005em;
  text-wrap: balance;
}
.mega { font-size: var(--t-mega); }
.h1 { font-size: var(--t-h1); }
.h2 { font-size: var(--t-h2); }
.h3 { font-size: var(--t-h3); line-height: .95; }
.title { font-family: var(--display); font-weight: 900; font-size: var(--t-title); line-height: 1; text-transform: uppercase; }

.headline-row { display: block; }

/* Accent words: sun-coloured on dark/photo grounds, a marker swipe on paper */
.accent { color: var(--sun); }
.on-paper .accent {
  color: var(--ink);
  background: linear-gradient(transparent 18%, var(--sun) 18%, var(--sun) 88%, transparent 88%);
  padding-inline: .06em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.label {
  font-family: var(--mono);
  font-size: var(--t-label);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bracket::before { content: "[\00a0"; }
.bracket::after { content: "\00a0]"; }

.prose { max-width: 62ch; }
.prose p + p { margin-top: 1.1em; }
.prose-lg { font-size: var(--t-body-lg); line-height: 1.55; }
.text-pretty { text-wrap: pretty; }

.link {
  text-decoration: underline;
  text-decoration-thickness: from-font;
  text-underline-offset: 3px;
}
.link:hover { text-decoration-thickness: 2px; }

/* ---------- Surfaces ---------- */

.on-ink { background: var(--bg-deep); color: var(--fg); }
.on-sea { background: var(--sea); color: var(--paper); }
.on-sun { background: var(--sun); color: var(--ink); }
.on-deep { background: var(--bg-raised); }

/* Torn paper edges — the section's own background rips into its neighbour */
.torn-top, .torn-bottom { position: relative; }
.torn-top::before,
.torn-bottom::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 28px;
  background: inherit;
  pointer-events: none;
  -webkit-mask: url("../img/torn.svg") repeat-x 0 0 / 1200px 28px;
  mask: url("../img/torn.svg") repeat-x 0 0 / 1200px 28px;
}
.torn-top::before { top: -27px; }
.torn-bottom::after { bottom: -27px; transform: scaleY(-1); -webkit-mask-position: 340px 0; mask-position: 340px 0; }
.torn-bottom { z-index: 1; }

/* Photo treatments */
.film img { filter: sepia(.2) saturate(.82) contrast(1.05) brightness(1.02); }

.duo { position: relative; isolation: isolate; background: var(--foam); overflow: hidden; }
.duo > img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) contrast(1.2) brightness(1.05);
  mix-blend-mode: multiply;
}
.duo::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: var(--sea); mix-blend-mode: lighten;
}
.duo::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(10, 28, 29, .45), rgba(10, 28, 29, .15) 40%, rgba(10, 28, 29, .55));
}
.duo > :not(img) { position: relative; z-index: 2; }

.bw img { filter: grayscale(1) contrast(1.08); }

/* A photo print: paper border, soft lift */
.print {
  display: block;
  padding: 8px;
  background: var(--print);
  box-shadow: var(--shadow);
}
.print img { width: 100%; height: auto; }

.tape { position: relative; }
.tape::before {
  content: "";
  position: absolute;
  top: -12px; left: 50%;
  width: 96px; height: 26px;
  translate: -50% 0;
  rotate: -3deg;
  background: rgba(243, 201, 58, .78);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
  pointer-events: none;
  z-index: 1;
}

/* Tinted icons: PNG shapes used as masks so they take any palette colour */
.icon {
  display: inline-block;
  width: 56px; height: 56px;
  background: currentColor;
  /* Longhands, not the `mask` shorthand: if --src is unset (icons that set
     mask-image inline), a shorthand would be dropped entirely and the
     image would render unscaled from the top-left corner. */
  -webkit-mask-image: var(--src);
  mask-image: var(--src);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  flex: none;
}
.sun { --src: url("../img/sun.svg"); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px 10px 22px;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-family: var(--mono);
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--hover), color var(--hover), border-color var(--hover), transform 100ms ease-out;
}
.btn:active { transform: scale(.96); }
.btn svg { transition: transform var(--hover); }
.btn-sun { background: var(--sun); border-color: var(--sun); color: var(--ink); }
.btn-ink { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (hover: hover) {
  .btn:hover svg { transform: translateX(3px); }
  .btn-outline:hover { background: currentColor; }
  .btn-outline:hover > * { color: var(--ink); }
  .ticket .btn-outline:hover > *, .founder .btn-outline:hover > *, .cta-form .btn-outline:hover > *, .poster-card .btn-outline:hover > * { color: var(--paper); }
  .btn-sun:hover { background: var(--lime); border-color: var(--lime); }
  .btn-ink:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
}
.btn[disabled] { opacity: .6; cursor: default; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--bg);
  border-bottom: 1.5px solid var(--line);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}
.brand { display: inline-flex; width: 132px; height: 53px; color: var(--fg); }
.brand .icon { width: 100%; height: 100%; --src: url("../img/logo.png"); }

.nav { display: flex; gap: 8px; }
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 12px;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav a::before, .nav a::after { color: transparent; transition: color var(--hover); }
.nav a::before { content: "[\00a0"; }
.nav a::after { content: "\00a0]"; }
.nav a[aria-current="page"]::before, .nav a[aria-current="page"]::after { color: var(--sun); }
@media (hover: hover) { .nav a:hover::before, .nav a:hover::after { color: var(--fg); } }

.header-cta { justify-self: end; min-height: 44px; }

.menu-toggle {
  display: none;
  justify-self: end;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}

/* Full-screen menu on small screens */
.menu {
  position: fixed;
  inset: 0;
  z-index: var(--z-menu);
  display: flex;
  flex-direction: column;
  padding: 20px var(--gutter) 32px;
  background: var(--bg-deep);
  color: var(--paper);
  opacity: 0;
  visibility: hidden;
  transition: opacity 200ms ease-out, visibility 0s linear 200ms;
}
.menu-open .menu { opacity: 1; visibility: visible; transition: opacity 200ms ease-out; }
.menu-top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.menu-top .brand { color: var(--paper); width: 110px; height: 44px; }
.menu-close {
  min-height: 44px; padding: 0 4px; border: 0; background: none; color: inherit; cursor: pointer;
  font-size: var(--t-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
}
.menu-links { display: flex; flex-direction: column; margin-top: auto; }
.menu-links a {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(52px, 15vw, 96px);
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  padding-block: 4px;
}
.menu-links a[aria-current="page"] { color: var(--sun); }
.menu-foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 32px; }
.menu-open { overflow: hidden; }

/* ---------- Hero ---------- */

.hero {
  min-height: min(calc(100svh - var(--header-h)), 960px);
  display: flex;
  color: var(--lime);
}
.hero-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding-block: 28px 36px;
}
.hero-top, .hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.hero-top { align-items: flex-start; }
.hero-title { font-size: clamp(54px, 9.4vw, 164px); color: var(--lime); }
.hero-text { font-size: var(--t-body-lg); max-width: 34ch; }
.hero-actions { display: flex; align-items: center; gap: 24px; }

/* Sticker badge */
.badge { width: 148px; height: 148px; flex: none; rotate: -10deg; color: var(--sun); user-select: none; pointer-events: none; }
.badge text { font-family: var(--display); font-weight: 900; font-size: 13.5px; letter-spacing: .14em; fill: currentColor; }

/* ---------- Word band ---------- */

.band {
  overflow: clip; /* not hidden: that would make it a scroll container and freeze the scroll-linked drift */
  white-space: nowrap;
  padding-block: 14px 10px;
  border-block: 1.5px solid var(--ink);
}
.band-track { display: flex; align-items: center; gap: 28px; width: max-content; }
.band-word { font-family: var(--display); font-weight: 900; font-size: clamp(40px, 6vw, 84px); line-height: 1; text-transform: uppercase; }
.band .icon { width: clamp(34px, 4.4vw, 60px); height: clamp(34px, 4.4vw, 60px); }

/* ---------- Section heads ---------- */

.section { padding-block: var(--section); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: clamp(40px, 5vw, 72px);
  flex-wrap: wrap;
}
.section-head-aside { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 36ch; }

/* ---------- Camp cards (home) ---------- */

.camp-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 3vw, 48px); }
.camp-card { display: flex; flex-direction: column; gap: 18px; text-decoration: none; }
.camp-card .print { rotate: -1deg; }
.camp-card:nth-child(2) .print { rotate: 1.2deg; }
.camp-card .print img { aspect-ratio: 4 / 3.4; object-fit: cover; }
@media (hover: hover) { .camp-card:hover .print { rotate: 0deg; } }
.camp-card-body {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 8px 24px;
  padding-top: 18px;
  border-top: 1.5px solid var(--line-strong);
}
.camp-card-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; grid-column: 1 / -1; }
.camp-card .h3 { font-size: clamp(36px, 4vw, 56px); }
/* Equal-height cards; price buttons share one baseline even when a title wraps */
.camp-card-body { flex: 1; grid-template-rows: auto 1fr; }
.camp-card-body .h3 { align-self: start; }
.camp-card-body .btn { align-self: end; }

/* ---------- Features ---------- */

.features-top { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: end; }
.features-top .h1 { color: var(--lime); }
.stanza p { font-size: var(--t-body-lg); line-height: 1.45; }
.stanza p + p { margin-top: .8em; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 104px);
  border-top: 1.5px solid rgba(237, 228, 207, .35);
}
.feature { display: flex; flex-direction: column; gap: 14px; padding: 32px 28px 8px 0; }
.feature + .feature { padding-left: 28px; border-left: 1.5px solid rgba(237, 228, 207, .35); }
.feature .icon { width: 64px; height: 64px; color: var(--lime); }
.feature.is-highlight .icon { color: var(--sun); }
.feature p { font-size: var(--t-small); line-height: 1.55; max-width: 30ch; }

/* ---------- Poster card over a photo (Explore Hainan) ---------- */

.poster { position: relative; isolation: isolate; padding-block: var(--section); }
/* Ripped top and bottom edges: the photo section itself is masked, so the page shows through the tears */
.poster {
  -webkit-mask:
    url("../img/torn.svg") top / 1200px 28px repeat-x,
    linear-gradient(#000, #000) center / 100% calc(100% - 52px) no-repeat,
    url("../img/torn-bottom.svg") bottom / 1200px 28px repeat-x;
  mask:
    url("../img/torn.svg") top / 1200px 28px repeat-x,
    linear-gradient(#000, #000) center / 100% calc(100% - 52px) no-repeat,
    url("../img/torn-bottom.svg") bottom / 1200px 28px repeat-x;
}
.poster-bg { position: absolute; inset: 0; z-index: -1; }
.poster-bg img { width: 100%; height: 100%; object-fit: cover; }
.poster-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px clamp(32px, 5vw, 72px);
  max-width: 1120px;
  margin-inline: auto;
  padding: clamp(28px, 4.5vw, 64px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.poster-card .h1 { font-size: clamp(52px, 8vw, 128px); }
.poster-contacts { display: flex; flex-direction: column; gap: 4px; margin-top: auto; padding-top: 28px; }
.poster-side { display: flex; flex-direction: column; gap: 28px; }

/* ---------- Video with statement ---------- */

.reel { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(40px, 7vw, 112px); }
.reel-statement .h1 { font-size: clamp(56px, 8.4vw, 136px); }
.reel-statement .label { display: block; margin-bottom: 24px; }

/* Portrait film frame with sprocket holes down both sides */
.filmframe {
  position: relative;
  width: min(380px, 78vw);
  padding: 14px 30px;
  background: var(--bg-deep);
  box-shadow: 0 0 0 1px var(--line);
  border-radius: 4px;
}
.filmframe::before, .filmframe::after {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px;
  width: 12px;
  background: radial-gradient(circle, transparent 0) ;
  background: repeating-linear-gradient(180deg, var(--paper) 0 10px, transparent 10px 22px);
  border-radius: 2px;
  opacity: .9;
}
.filmframe::before { left: 9px; }
.filmframe::after { right: 9px; }
.filmframe-inner { position: relative; aspect-ratio: 9 / 16; overflow: hidden; background: #000; }
.filmframe video { width: 100%; height: 100%; object-fit: cover; filter: sepia(.15) saturate(.85) contrast(1.05); }
.filmframe-caption { display: flex; justify-content: space-between; margin-top: 10px; color: var(--sun); }

.video-toggle {
  position: absolute;
  right: 12px; bottom: 12px;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1.5px solid var(--paper);
  border-radius: 50%;
  background: rgba(27, 26, 23, .55);
  color: var(--paper);
  cursor: pointer;
  transition: background-color var(--hover);
}
.video-toggle:active { transform: scale(.96); }
@media (hover: hover) { .video-toggle:hover { background: var(--ink); } }
.video-toggle .icon-play { display: none; margin-left: 2px; }
.video-toggle.is-paused .icon-play { display: block; }
.video-toggle.is-paused .icon-pause { display: none; }

/* ---------- Testimonials: film strip + quotes ---------- */

.stories-head { text-align: center; margin-bottom: 48px; }
.stories-head .h1 { color: var(--paper); }

.filmstrip {
  position: relative;
  padding: 30px 0;
  background: #0f0e0c;
  overflow: clip; /* not hidden — see .band */
  user-select: none;
  pointer-events: none;
}
.filmstrip::before, .filmstrip::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, transparent 0 10px, rgba(237, 228, 207, .85) 10px 22px, transparent 22px 30px);
}
.filmstrip::before { top: 10px; }
.filmstrip::after { bottom: 10px; }
.filmstrip-frames { display: flex; gap: 10px; width: max-content; padding-right: 10px; }
.filmstrip-frames img { width: 250px; height: 170px; object-fit: cover; filter: grayscale(1) contrast(1.1) brightness(.9); }
.filmstrip-frames img:nth-child(3n + 2) { filter: sepia(.25) saturate(.9); }
.filmstrip-codes {
  position: absolute;
  left: 0; right: 0;
  display: flex;
  gap: 120px;
  padding-left: 40px;
  color: var(--sun);
  font-size: 10px;
  letter-spacing: .2em;
  white-space: nowrap;
  opacity: .85;
}
.filmstrip-codes.is-top { top: 0; }
.filmstrip-codes.is-bottom { bottom: -1px; }

.quotes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; }
.quote {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 8px 28px 8px 0;
}
.quote + .quote { padding-left: 28px; border-left: 1.5px solid rgba(237, 228, 207, .25); }
.quote blockquote { font-size: var(--t-small); line-height: 1.6; }
.quote blockquote::before { content: "“"; display: block; font-family: var(--display); font-size: 64px; line-height: .6; color: var(--sun); margin-bottom: 8px; }
.quote figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }

/* ---------- Contact CTA ---------- */

.cta { position: relative; isolation: isolate; color: var(--sun); padding-block: var(--section) calc(var(--section) + 20px); }
.cta-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.25) saturate(.8) contrast(1.05) brightness(.8); }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 18, 14, .55), rgba(20, 18, 14, .35) 45%, rgba(20, 18, 14, .6)); }
.cta-head { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.cta-head .h1 { color: var(--sun); text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.cta-head .accent { color: var(--lime); }
.boxed {
  max-width: 46ch;
  padding: 12px 20px;
  border: 1.5px solid currentColor;
  border-radius: 14px;
  text-align: center;
  text-transform: uppercase;
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.45;
}
.cta-form { max-width: 760px; margin: 48px auto 0; padding: clamp(24px, 4vw, 48px); background: var(--paper); color: var(--ink); }

/* ---------- Forms ---------- */

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form-item { display: flex; flex-direction: column; gap: 8px; grid-column: 1 / -1; }
.form-item.is-half { grid-column: span 1; }
/* Side-by-side fields line up even when one label wraps (e.g. "(optional)") */
.form-item > .field { margin-top: auto; }
.form label { font-size: var(--t-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.form label .optional { font-weight: 400; letter-spacing: .04em; text-transform: none; opacity: .7; }
.field {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--print);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 1.4;
  transition: box-shadow var(--hover);
}
.field::placeholder { color: #6f6a5c; }
.field:focus { outline: none; box-shadow: 0 0 0 3px var(--sun); }
textarea.field { min-height: 140px; resize: vertical; }
.form .btn { grid-column: 1 / -1; width: 100%; margin-top: 6px; }

.form-status { display: none; margin-top: 16px; padding: 16px 18px; border-radius: var(--radius); font-size: var(--t-small); }
.form-status.is-visible { display: block; }
.form-status.is-success { background: var(--sun); color: var(--ink); }
.form-status.is-error { background: var(--error); color: var(--print); }
.form-status.is-note { background: var(--bg-deep); color: var(--paper); border: 1px solid var(--line); }
.form-status.is-note a { color: var(--sun); }
.form-status strong { display: block; margin-bottom: 4px; }

/* ---------- Page header (inner pages) ---------- */

.page-head { min-height: clamp(360px, 58svh, 620px); display: flex; color: var(--lime); }
.page-head-inner { display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-block: 28px 40px; }
.page-head .mega { color: var(--lime); }

/* ---------- Camp tickets (camps page) ---------- */

.tickets { display: flex; flex-direction: column; gap: 40px; }
.ticket {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  background: var(--print);
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 200ms ease-out;
}
@media (hover: hover) { .ticket:hover { transform: translateY(-3px); } }
.ticket-photo { position: relative; min-height: 360px; overflow: hidden; }
.ticket-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ticket-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(24px, 3.5vw, 48px);
  border-left: 2px dashed rgba(27, 26, 23, .35);
}
/* notches where the perforation meets the edges */
.ticket-body::before, .ticket-body::after {
  content: "";
  position: absolute;
  left: -13px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--bg);
}
.ticket-body::before { top: -12px; }
.ticket-body::after { bottom: -12px; }
.ticket-top { display: flex; justify-content: space-between; gap: 16px; }
.ticket .h2 { font-size: clamp(44px, 5.4vw, 80px); }
.ticket-dates { margin-top: -8px; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; }
.ticket-dates .accent {
  color: var(--ink);
  background: linear-gradient(transparent 14%, var(--sun) 14%, var(--sun) 90%, transparent 90%);
  padding-inline: .08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.ticket .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 24px; margin-top: auto; padding-top: 20px; border-top: 1.5px solid currentColor; }
.facts dt { opacity: .7; }
.facts dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.ticket-cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.ticket-price { display: flex; flex-direction: column; gap: 4px; }
.ticket-price .label { opacity: .7; }
.ticket-price .display { font-size: clamp(40px, 4vw, 56px); line-height: .9; font-variant-numeric: tabular-nums; }

/* ---------- Camp detail ---------- */

.detail-head { padding-block: clamp(40px, 6vw, 88px) 40px; }
.detail-head-top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.detail-head .mega { font-size: clamp(60px, 11vw, 180px); }
.detail-head-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 32px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { padding: 6px 14px; border: 1.5px solid currentColor; border-radius: 999px; }
.tagline { font-family: var(--display); font-size: clamp(26px, 3vw, 40px); font-weight: 400; line-height: 1.05; text-transform: uppercase; }

.detail-hero { height: clamp(320px, 70svh, 760px); overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }

.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(40px, 6vw, 96px); align-items: start; }
.detail-main { display: flex; flex-direction: column; gap: 56px; }
.lists { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.list h3 { margin-bottom: 16px; }
.list ul { list-style: none; padding: 0; }
.list li { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: var(--t-small); }
.list li::before {
  content: "";
  flex: none;
  width: 18px; height: 18px;
  margin-top: 2px;
  border: 1.5px solid var(--sun);
  border-radius: 50%;
  background: var(--sun) center / 10px no-repeat;
}
.list.is-includes li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5.2l2.2 2.2L8.5 2.6' fill='none' stroke='%231b1a17' stroke-width='1.6'/%3E%3C/svg%3E"); }
.list.is-excludes li::before { background-color: var(--paper); border-color: var(--paper); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2.5 2.5l5 5M7.5 2.5l-5 5' fill='none' stroke='%231b1a17' stroke-width='1.6'/%3E%3C/svg%3E"); }
.list.is-activities li::before { background-image: none; background-color: var(--foam); border-color: var(--foam); }

.booking { position: sticky; top: calc(var(--header-h) + 24px); }
.stub {
  position: relative;
  padding: 24px 24px 20px;
  background: var(--bg-deep);
  color: var(--paper);
  border-radius: var(--radius) var(--radius) 0 0;
}
.stub-price { font-family: var(--display); font-weight: 900; font-size: 64px; line-height: 1; color: var(--sun); font-variant-numeric: tabular-nums; }
.stub .facts { border-top-color: rgba(237, 228, 207, .35); margin-top: 16px; }
.stub::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 12px;
  background: radial-gradient(circle at 6px 6px, var(--bg-raised) 5px, transparent 5.5px) repeat-x 0 0 / 16px 12px;
}
.booking-form { padding: 28px 24px 24px; background: var(--bg-raised); border-radius: 0 0 var(--radius) var(--radius); }
.booking-form .form { grid-template-columns: 1fr; }
.booking-form p { margin: 8px 0 20px; font-size: var(--t-small); }

.reserve { display: flex; justify-content: center; padding-bottom: var(--section); }

/* ---------- Galleries ---------- */

.gallery + .gallery { margin-top: clamp(80px, 10vw, 140px); }
.gallery-head { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
.gallery-desc { max-width: 52ch; }
.masonry { column-count: 3; column-gap: 20px; }
.masonry .lb-trigger { margin-bottom: 20px; break-inside: avoid; }
.masonry .lb-trigger:nth-child(4n + 1) { rotate: -.6deg; }
.masonry .lb-trigger:nth-child(4n + 3) { rotate: .7deg; }

.lb-trigger {
  display: block;
  width: 100%;
  padding: 8px;
  border: 0;
  background: var(--print);
  box-shadow: var(--shadow);
  cursor: zoom-in;
  transition: rotate 200ms ease-out, transform 200ms ease-out;
}
.lb-trigger img { width: 100%; height: auto; }
@media (hover: hover) { .lb-trigger:hover { rotate: 0deg; transform: translateY(-2px); } }

.divider-sun { display: flex; justify-content: center; margin-block: clamp(64px, 8vw, 112px); color: var(--sun); }
.divider-sun .icon { width: 44px; height: 44px; }

/* ---------- About: scrapbook stories ---------- */

.story { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 112px); align-items: center; }
.story + .story { margin-top: clamp(96px, 12vw, 180px); }
.story.is-flipped .story-photos { order: 2; }
.story-photos { position: relative; display: grid; gap: 28px; }
.story-photos.is-pair { grid-template-columns: 1fr 1fr; align-items: start; }
.story-photos.is-pair .lb-trigger:nth-child(2) { margin-top: 64px; }
.story-photos .lb-trigger { rotate: -2deg; }
.story-photos .lb-trigger:nth-child(2) { rotate: 2.4deg; }
.story.is-flipped .story-photos .lb-trigger { rotate: 1.8deg; }
.story-copy .h2 { margin-bottom: 28px; }
.story-copy .label { display: block; margin-bottom: 18px; }
.story-badge { position: absolute; right: -40px; bottom: -48px; color: var(--sun); }

/* Founders: two "crew cards" under the first chapter */
.founders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
  margin-top: clamp(56px, 7vw, 96px);
}
.founder {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: clamp(24px, 3vw, 40px);
  background: var(--print);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.founder:nth-child(1) { rotate: -.6deg; }
.founder:nth-child(2) { rotate: .6deg; }
.founder-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px dashed rgba(27, 26, 23, .35); }
.founder .h2 { font-size: clamp(56px, 6.4vw, 104px); }
.founder-aka { align-self: flex-start; padding: 4px 12px; background: var(--sun); border-radius: 999px; }
.founder-facts { list-style: none; padding: 0; }
.founder-facts li { padding: 8px 0; border-top: 1px solid rgba(27, 26, 23, .2); }
.founder-facts li:last-child { border-bottom: 1px solid rgba(27, 26, 23, .2); }
.founder-photo {
  display: block;
  margin: calc(-1 * clamp(24px, 3vw, 40px) + 10px) calc(-1 * clamp(24px, 3vw, 40px) + 10px) 8px; /* bleeds to a thin paper border */
  overflow: hidden;
}
.founder-photo img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 58%; }
.founders-outro {
  position: relative;
  margin-top: clamp(56px, 7vw, 96px);
  text-align: center;
}
.founders-outro + .story { margin-top: clamp(96px, 12vw, 180px); }

/* Closing statement on sun yellow */
.closing { z-index: 1; }
.closing-inner { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.closing .icon { width: 56px; height: 56px; }
.closing .h1 { max-width: 14ch; }
.closing .accent {
  color: var(--ink);
  /* same band as the other marker highlights, so it can't cover the line above */
  background: linear-gradient(transparent 18%, var(--print) 18%, var(--print) 88%, transparent 88%);
  padding-inline: .08em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.closing-text { max-width: 52ch; }
.closing-text p + p { margin-top: .9em; }
.closing-signoff { margin-top: 8px; }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-lines { display: flex; flex-direction: column; }
.contact-line {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 0;
  border-top: 1.5px solid var(--line-strong);
  text-decoration: none;
}
.contact-line:last-child { border-bottom: 1.5px solid var(--line-strong); }
.contact-line .value { font-family: var(--display); font-weight: 900; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
@media (hover: hover) { a.contact-line:hover .value { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; } }
.contact-card { padding: clamp(24px, 4vw, 48px); background: var(--bg-raised); }

/* ---------- Footer ---------- */

.site-footer { padding-top: clamp(72px, 8vw, 112px); }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer-brand { display: flex; gap: 18px; align-items: flex-start; }
.footer-brand .icon { width: 64px; height: 88px; --src: url("../img/mark.png"); color: var(--sun); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col .label { color: var(--sun); margin-bottom: 6px; }
.footer-col a { text-decoration: none; font-size: var(--t-small); padding-block: 2px; }
@media (hover: hover) { .footer-col a:hover { text-decoration: underline; text-underline-offset: 3px; } }
.signoff {
  margin-top: clamp(64px, 8vw, 120px);
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(44px, 14.6vw, 230px);
  line-height: .8;
  text-transform: uppercase;
  letter-spacing: -.005em;
  color: var(--paper);
  white-space: nowrap;
  user-select: none;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 24px calc(24px + env(safe-area-inset-bottom));
  margin-top: 24px;
  border-top: 1px solid rgba(237, 228, 207, .25);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed; inset: 0; z-index: var(--z-lightbox);
  display: none; align-items: center; justify-content: center;
  background: rgba(15, 14, 12, .94);
  opacity: 0; transition: opacity 200ms ease-out;
}
.lightbox.is-open { display: flex; }
.lightbox.is-visible { opacity: 1; }
.lightbox img { max-width: calc(100vw - 160px); max-height: calc(100vh - 100px); object-fit: contain; border: 8px solid var(--print); }
.lightbox button {
  position: absolute; display: grid; place-items: center;
  width: 48px; height: 48px; border: 1.5px solid var(--paper); border-radius: 50%;
  background: transparent; color: var(--paper); cursor: pointer;
  transition: background-color var(--hover), color var(--hover);
}
@media (hover: hover) { .lightbox button:hover { background: var(--paper); color: var(--ink); } }
.lightbox-close { top: 20px; right: 20px; }
.lightbox-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox-next { right: 20px; top: 50%; translate: 0 -50%; }
.lightbox-count { position: absolute; bottom: 24px; left: 50%; translate: -50% 0; color: var(--paper); }

/* ---------- Motion preferences ---------- */

/* ---------- Collage pieces (all decorative: aria-hidden, no pointer events) ---------- */

.collage-host { position: relative; }
.deco { pointer-events: none; user-select: none; }

/* Loose tape strips: <span class="tape-piece tp-tl"> */
.tape-piece {
  position: absolute;
  z-index: 3;
  width: 92px; height: 24px;
  background: rgba(243, 201, 58, .72);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
  pointer-events: none;
  /* ragged tape ends */
  clip-path: polygon(2% 8%, 6% 0, 94% 4%, 98% 0, 100% 50%, 97% 100%, 92% 92%, 6% 100%, 0 88%, 3% 50%);
}
.tape-piece.is-clear { background: rgba(246, 240, 225, .55); }
.tp-tl { top: -10px; left: -26px; rotate: -38deg; }
.tp-tr { top: -10px; right: -26px; rotate: 38deg; }
.tp-top { top: -12px; left: 50%; translate: -50% 0; rotate: -3deg; }
.tp-br { bottom: -8px; right: -24px; rotate: -32deg; }

/* Torn paper scrap label */
.scrap {
  display: inline-block;
  padding: 10px 22px 9px;
  background: var(--print);
  color: var(--ink);
  clip-path: polygon(0.0% 1.4%, 20.0% 1.7%, 45.0% 2.8%, 70.0% 1.4%, 100.0% 1.5%, 97.6% 7.1%, 98.5% 14.3%, 98.9% 21.4%, 99.4% 28.6%, 97.3% 35.7%, 97.9% 42.9%, 97.3% 50.0%, 99.4% 57.1%, 99.1% 64.3%, 97.1% 71.4%, 99.9% 78.6%, 99.9% 85.7%, 99.0% 92.9%, 98.8% 100.0%, 100.0% 99.5%, 75.0% 100.0%, 50.0% 98.4%, 25.0% 99.8%, 0.0% 99.4%, 2.5% 92.9%, 3.0% 85.7%, 3.0% 78.6%, 0.8% 71.4%, 1.4% 64.3%, 2.0% 57.1%, 1.5% 50.0%, 1.9% 42.9%, 1.6% 35.7%, 2.5% 28.6%, 1.3% 21.4%, 1.4% 14.3%, 0.1% 7.1%);
  box-shadow: none;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35));
  rotate: -2deg;
}
.scrap.is-sun { background: var(--sun); }
.scrap.is-foam { background: var(--foam); }
.scrap.bracket::before, .scrap.bracket::after { content: none; }

/* Postage stamp: dotted border in the ground colour reads as perforation */
.postage {
  --hole: var(--bg-deep);
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  width: 128px;
  padding: 8px 8px 6px;
  background: var(--print);
  color: var(--ink);
  border: 5px dotted var(--hole);
  outline: 5px solid var(--print);
  outline-offset: -9px;
  box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .7);
}
.postage img { width: 100%; height: auto; /* let aspect-ratio win over the height attribute */ aspect-ratio: 4 / 5; object-fit: cover; filter: sepia(.3) saturate(.8) contrast(1.05); }
.postage-foot { display: flex; justify-content: space-between; align-items: center; font-size: 9px; }
.postage-foot .icon { width: 14px; height: 14px; }

.stamp-cluster { position: absolute; z-index: 3; display: flex; }
.stamp-cluster .postage:nth-child(1) { rotate: -8deg; }
.stamp-cluster .postage:nth-child(2) { rotate: 5deg; margin-left: -34px; margin-top: 26px; }
.stamp-cluster .postage:nth-child(3) { rotate: -3deg; margin-left: -30px; margin-top: -6px; }

/* Rubber ink stamp (reuses the badge SVG) */
.ink-stamp {
  position: absolute;
  z-index: 3;
  width: 124px; height: 124px;
  color: var(--error);
  opacity: .85;
  rotate: 14deg;
  mix-blend-mode: multiply;
}
.on-photo .ink-stamp, .ink-stamp.is-light { color: var(--sun); mix-blend-mode: normal; opacity: 1; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .55)) drop-shadow(0 0 10px rgba(0, 0, 0, .35)); }

/* Paper clip */
.clip {
  position: absolute;
  z-index: 3;
  top: -34px;
  width: 22px; height: 62px;
  background: rgba(237, 228, 207, .9);
  -webkit-mask: url("../img/paperclip.svg") center / contain no-repeat;
  mask: url("../img/paperclip.svg") center / contain no-repeat;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .4));
  pointer-events: none;
}
.clip.is-dark { background: var(--ink-soft); }
.clip.is-sun { background: var(--sun); }

/* Hand-drawn doodles, tinted with currentColor */
.doodle {
  position: absolute;
  z-index: 2;
  background: currentColor;
  pointer-events: none;
}
.doodle-arrow { width: 132px; height: 100px; -webkit-mask: url("../img/doodle-arrow.svg") center / contain no-repeat; mask: url("../img/doodle-arrow.svg") center / contain no-repeat; }
.doodle-underline { height: 22px; -webkit-mask: url("../img/doodle-underline.svg") center / 100% 100% no-repeat; mask: url("../img/doodle-underline.svg") center / 100% 100% no-repeat; }

/* Halftone dot patch that fades out at the edges */
.halftone {
  position: absolute;
  z-index: 0;
  width: 320px; height: 320px;
  background: radial-gradient(currentColor 28%, transparent 31%) 0 0 / 11px 11px;
  -webkit-mask: radial-gradient(closest-side, #000 20%, transparent);
  mask: radial-gradient(closest-side, #000 20%, transparent);
  opacity: .55;
  pointer-events: none;
}

/* Placements */
.features-stamps { top: -86px; right: var(--gutter); }
.section-head { position: relative; }
.camps-arrow { right: 30%; top: 60%; color: var(--sun); rotate: 8deg; }
.poster-card { position: relative; }
.poster .halftone { right: 4%; bottom: -60px; color: var(--sun); }
.poster-scrap { position: absolute; z-index: 3; top: -20px; left: -18px; }
.reel .filmframe { overflow: visible; }
.reel-statement .scrap { display: inline-block; margin-bottom: 24px; }
.cta-form { position: relative; }
.cta-form .clip { left: 44px; }
.ticket-body .ink-stamp { left: -78px; top: 34%; } /* straddles the perforation */
.ink-stamp circle { stroke-width: 3.5; }
.ink-stamp text { font-size: 15px; }
.ticket .tape-piece { z-index: 4; }
.detail-hero { position: relative; }
.detail-hero .ink-stamp { right: var(--gutter); bottom: 28px; width: 150px; height: 150px; }
.founder { position: relative; }
.founder .clip { right: 36px; }
.founders { position: relative; }
.founders .halftone { left: -120px; top: 40%; color: var(--sun); }
.founders-outro .doodle-underline { left: 22%; right: 22%; bottom: -26px; color: var(--sun); }
.gallery-head .postage { width: 96px; rotate: 6deg; }
.gallery-head .postage-foot { font-size: 8px; }
.masonry .lb-trigger { position: relative; }

@media (max-width: 900px) {
  .features-stamps { top: -60px; scale: .75; transform-origin: top right; }
  .camps-arrow { display: none; }
}
@media (max-width: 640px) {
  .features-stamps { display: none; }
  .gallery-head .postage { display: none; }
  .ink-stamp { width: 96px; height: 96px; }
  .ticket-body .ink-stamp { left: auto; right: 12px; top: -48px; }
  .detail-hero .ink-stamp { width: 110px; height: 110px; bottom: 16px; }
  .founders .halftone { display: none; }
}

/* Host sticker on camp tickets: a die-cut sun-yellow label stuck on the top-left corner */
.host-sticker {
  position: absolute;
  z-index: 5;
  top: -22px; left: -22px;
  rotate: -5deg;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, .5));  /* follows the torn edge */
  pointer-events: none;
}
/* Torn-paper label: ragged top/bottom, slightly rough sides */
.host-paper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--sun);
  color: var(--ink);
  clip-path: polygon(0.0% 5.5%, 6.2% 5.7%, 12.5% 5.4%, 18.8% 0.5%, 25.0% 3.6%, 31.2% 2.5%, 37.5% 3.2%, 43.8% 0.8%, 50.0% 1.2%, 56.2% 2.7%, 62.5% 1.3%, 68.8% 2.7%, 75.0% 0.1%, 81.2% 0.5%, 87.5% 4.3%, 93.8% 2.5%, 99.0% 0.0%, 99.6% 16.7%, 98.7% 33.3%, 97.9% 50.0%, 99.7% 66.7%, 99.2% 83.3%, 100.0% 97.9%, 93.8% 97.7%, 87.5% 99.8%, 81.2% 96.2%, 75.0% 98.6%, 68.8% 96.2%, 62.5% 97.4%, 56.2% 98.0%, 50.0% 95.9%, 43.8% 94.5%, 37.5% 96.8%, 31.2% 98.3%, 25.0% 97.5%, 18.8% 96.7%, 12.5% 97.9%, 6.2% 95.1%, 0.2% 100.0%, 0.6% 83.3%, 1.8% 66.7%, 0.3% 50.0%, 0.1% 33.3%, 0.0% 16.7%);
}
.host-logo {
  display: block;
  width: 118px; height: 47px;
  background: currentColor;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
}
.host-word {
  font-family: var(--display);
  font-weight: 900;
  font-size: 22px;
  line-height: .9;
  text-transform: uppercase;
  max-width: 7.5em;
}
.host-x { font-family: var(--display); font-weight: 900; font-size: 24px; line-height: 1; text-transform: lowercase; }
.is-collab .host-logo { width: 96px; height: 38px; }
@media (max-width: 640px) {
  .host-sticker { top: -16px; left: -8px; }
  .host-paper { padding: 11px 14px; gap: 8px; }
  .host-logo { width: 90px; height: 36px; }
  .is-collab .host-logo { width: 74px; height: 30px; }
  .host-word { font-size: 17px; }
}

/* ---------- Motion ---------- */

/* 1. Hero intro — once per session (see INTRO_SCRIPT in build.py). Transform + opacity only. */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes settle { from { transform: scale(1.08); } }
@keyframes stamp { from { opacity: 0; transform: scale(.9) rotate(-24deg); } }

.intro .hero > img { animation: settle 1400ms cubic-bezier(.22, 1, .36, 1) both; }
.intro .hero-top { animation: fade 500ms ease-out 100ms both; }
.intro .hero-title .headline-row { animation: rise 700ms cubic-bezier(.32, .72, 0, 1) both; }
.intro .hero-title .headline-row:nth-child(1) { animation-delay: 150ms; }
.intro .hero-title .headline-row:nth-child(2) { animation-delay: 240ms; }
.intro .hero-title .headline-row:nth-child(3) { animation-delay: 330ms; }
.intro .hero-text,
.intro .hero-actions .btn { animation: rise 600ms cubic-bezier(.32, .72, 0, 1) 520ms both; }
.intro .hero .badge { animation: stamp 500ms cubic-bezier(.34, 1.3, .64, 1) 700ms both; }

/* 2. Scroll-linked, 1:1 with the scrollbar — moves only while the visitor scrolls.
      Browsers without scroll timelines simply show them still. */
@supports (animation-timeline: view()) {
  @keyframes drift { to { transform: translateX(var(--drift)); } }
  .band-track {
    animation: drift linear both;
    animation-timeline: view();
    animation-range: cover;
  }
  .band-track { --drift: -22%; }
}

/* 3. Film strip rolls on its own: two identical halves, so sliding one half's width loops seamlessly */
@keyframes film-roll { to { transform: translateX(-50%); } }
.filmstrip-frames { animation: film-roll 70s linear infinite; }
.filmstrip-codes { width: max-content; padding-left: 0; padding-right: 120px; animation: film-roll 70s linear infinite; } /* even spacing so the halves match */

/* 4. Feedback: camp cards give a little when pressed */
.camp-card:active .print { scale: .98; }
.camp-card .print { transition: rotate 200ms ease-out, scale 150ms ease-out; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
  .intro *, .band-track, .filmstrip-frames, .filmstrip-codes { animation: none !important; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .feature:nth-child(n + 3) { border-top: 1.5px solid rgba(237, 228, 207, .35); }
  .quotes { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .quote:nth-child(3) { padding-left: 0; border-left: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .detail-grid { grid-template-columns: minmax(0, 1fr) 340px; }
}

@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .nav, .header-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand { width: 110px; height: 44px; }

  .features-top, .poster-card, .reel, .story, .contact-grid, .detail-grid, .founders { grid-template-columns: 1fr; }
  .founder:nth-child(n) { rotate: 0deg; }
  .reel { justify-items: center; text-align: center; }
  .reel-statement { order: -1; }
  .story.is-flipped .story-photos { order: 0; }
  .story-badge { right: 0; }
  .booking { position: static; }
  .ticket { grid-template-columns: 1fr; }
  .ticket-photo { min-height: 260px; }
  .ticket-body { border-left: 0; border-top: 2px dashed rgba(27, 26, 23, .35); }
  .ticket-body::before { left: -12px; top: -13px; }
  .ticket-body::after { left: auto; right: -12px; top: -13px; bottom: auto; }
  .lightbox img { max-width: calc(100vw - 32px); }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 20px; translate: none; }
  .lightbox-count { bottom: 34px; }
}

@media (max-width: 640px) {
  .camp-cards, .lists { grid-template-columns: 1fr; }
  .camp-cards { row-gap: 72px; }
  .feature-grid, .quotes { grid-template-columns: 1fr; }
  .feature, .feature + .feature, .quote, .quote + .quote { padding-left: 0; padding-right: 0; border-left: 0; }
  .feature + .feature { border-top: 1.5px solid rgba(237, 228, 207, .35); }
  .quote + .quote { padding-top: 32px; border-top: 1.5px solid rgba(237, 228, 207, .25); }
  .masonry { column-count: 2; column-gap: 12px; }
  .masonry .lb-trigger { margin-bottom: 12px; padding: 5px; }
  .form { grid-template-columns: 1fr; }
  .form-item.is-half { grid-column: 1 / -1; }
  .facts { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; justify-content: space-between; }
  .badge { width: 112px; height: 112px; }
  .story-photos.is-pair .lb-trigger:nth-child(2) { margin-top: 32px; }
  .filmstrip-frames img { width: 180px; height: 124px; }
}
