/* Paper Harbor: a light, paper-stock page. Cream card, navy ink, dawn coral, harbour teal. */
:root {
  --paper: #f6efe3;
  --paper-2: #efe5d3;
  --card: #fffaf2;
  --ink: #1d2640;
  --ink-2: #4c5269;
  --ink-3: #6b6f80;
  --coral: #d8644b;
  --coral-ink: #b04a33;
  --teal: #1f6470;
  --sea: #2f7f8c;
  --sea-2: #5ea3aa;
  --sun: #e8b447;
  --blush: #f3d3c3;
  --rule: #ddd0bb;
  --shadow: 0 1px 0 rgba(29, 38, 64, 0.06), 0 10px 24px -14px rgba(29, 38, 64, 0.35);
  --radius: 14px;
  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --exploration-footer-bg: #1d2640;
  --exploration-footer-ink: #f6efe3;
  --exploration-footer-border: rgba(246, 239, 227, 0.18);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    radial-gradient(rgba(120, 96, 60, 0.05) 1px, transparent 1.2px),
    radial-gradient(rgba(120, 96, 60, 0.035) 1px, transparent 1.2px);
  background-size: 7px 7px, 11px 11px;
  background-position: 0 0, 3px 5px;
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: var(--coral-ink); text-underline-offset: 3px; }
b, strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.micro { font-size: 14px; line-height: 1.5; color: var(--ink-3); margin: 12px 0 0; }
.eyebrow, .tag { font: 500 12px/1.3 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--coral-ink); margin: 0 0 12px; }
svg { stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
svg path[fill="none"], svg circle[fill="none"] { fill: none; }

/* top bar: a strip of card with a scalloped bottom edge */
.topbar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 16px;
  min-height: 64px; padding: 8px var(--gutter);
  background: var(--card);
  box-shadow: 0 1px 0 var(--rule);
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -7px; height: 8px;
  background: radial-gradient(circle at 8px -2px, var(--card) 7px, transparent 7.5px) 0 0 / 16px 8px repeat-x;
  filter: drop-shadow(0 1px 0 var(--rule));
  pointer-events: none;
}
.wordmark { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; min-height: 44px; }
.wm-name { font: 700 17px/1 var(--body); letter-spacing: -0.01em; }
.wm-sub { font: 500 13px/1 var(--body); color: var(--ink-3); padding-left: 10px; border-left: 1px solid var(--rule); }
.topbar-name { display: flex; flex-direction: column; margin-left: 8px; padding-left: 16px; border-left: 1px solid var(--rule); line-height: 1.15; }
.topbar-name b { font: 650 19px/1.1 var(--display); font-variation-settings: "SOFT" 100; }
.topbar-name i { font: 400 12px/1.3 var(--mono); font-style: normal; color: var(--ink-3); }
.topnav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.tb {
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 13px;
  border-radius: 999px; color: var(--ink); text-decoration: none; font: 600 15px/1 var(--body);
  transition: background-color 0.15s;
}
.tb svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.tb svg path[fill="none"], .tb svg circle[fill="none"] { stroke: currentColor; fill: none; stroke-width: 1.8; }
.tb:hover { background: var(--paper-2); }
.tb .short { display: none; }
.tb-cta { background: var(--coral); color: #fff; padding: 0 16px; margin-left: 6px; box-shadow: 0 2px 0 var(--coral-ink); }
.tb-cta:hover { background: var(--coral-ink); }
.tb-cta svg path[fill="none"] { stroke: #fff; }

/* hero: copy beside a paper theatre */
.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center;
  padding: clamp(36px, 6vw, 80px) var(--gutter) clamp(28px, 4vw, 48px);
  max-width: 1440px; margin: 0 auto;
}
.hero h1 {
  font: 700 clamp(52px, 7.4vw, 104px)/0.92 var(--display); font-variation-settings: "SOFT" 100, "opsz" 144;
  letter-spacing: -0.035em; margin: 0 0 20px; color: var(--ink);
}
.lede { font: 450 clamp(19px, 1.7vw, 23px)/1.45 var(--body); margin: 0 0 14px; max-width: 34ch; }
.sub { color: var(--ink-2); margin: 0 0 26px; max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 8px;
  border-radius: 999px; font: 650 16px/1 var(--body); text-decoration: none; transition: transform 0.15s, background-color 0.15s;
}
.button small { font: 500 13px/1 var(--mono); opacity: 0.75; }
.button .b-icon { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; }
.button .b-icon svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.button.primary { background: var(--ink); color: var(--paper); box-shadow: 0 3px 0 #0e1428; }
.button.primary .b-icon { background: var(--coral); color: #fff; }
.button.primary:hover { transform: translateY(-1px); }
.button.ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.button.ghost .b-icon { background: var(--paper-2); }
.button.ghost:hover { background: #fff; }
.make .button.primary { padding: 0 24px; }
.hero-downloads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-width: 460px; }
.dl {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 60px;
  background: var(--card); border: 1.5px solid var(--rule); border-radius: 12px; color: var(--ink); text-decoration: none;
  transition: border-color 0.15s;
}
.dl:hover { border-color: var(--ink); }
.dl-icon { flex: none; width: 34px; height: 34px; border-radius: 8px; background: var(--blush); color: var(--coral-ink); display: grid; place-items: center; }
.dl-icon svg { width: 18px; height: 18px; }
.dl b { display: block; font-size: 15px; line-height: 1.2; }
.dl > span:last-child > span { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.3; }

.theatre { margin: 0; }
.proscenium {
  position: relative; padding: 14px 14px 0; border-radius: 22px 22px 8px 8px;
  background: linear-gradient(#f4dccd, #efcdb9);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(29, 38, 64, 0.08);
}
.proscenium::before {
  content: ""; position: absolute; left: 14px; right: 14px; top: 14px; height: 26px; z-index: 3; pointer-events: none;
  background: radial-gradient(circle at 20px -6px, #e9b9a3 16px, transparent 16.5px) 0 0 / 40px 26px repeat-x;
}
.stage { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px 10px 0 0; background: #e8d8c4; }
.stage > img, .stage > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video { opacity: 0; transition: opacity 0.6s; }
.hero-video.is-playing { opacity: 1; }
.hero-toggle {
  position: absolute; right: 12px; top: 36px; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255, 250, 242, 0.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
}
.hero-toggle svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.hero-toggle .i-play, .hero-toggle[aria-pressed="true"] .i-pause { display: none; }
.hero-toggle[aria-pressed="true"] .i-play { display: block; }
.strips { position: relative; display: block; width: calc(100% + 28px); height: clamp(46px, 6vw, 76px); margin: -30px -14px 0; z-index: 2; }
.strips path { stroke: none; }
.strips .s1 { fill: var(--sea-2); animation: drift 7s ease-in-out infinite alternate; }
.strips .s2 { fill: var(--sea); animation: drift 5.5s ease-in-out infinite alternate-reverse; }
.strips .s3 { fill: var(--teal); animation: drift 6.5s ease-in-out infinite alternate; }
@keyframes drift { from { transform: translateX(-14px); } to { transform: translateX(14px); } }
@media (prefers-reduced-motion: reduce) { .strips path { animation: none; } }
.theatre-caption { font: 400 12px/1.4 var(--mono); color: var(--ink-3); margin: 10px 4px 0; text-align: right; }

/* route: a folded ticket strip */
.route { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.route-title { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 10px; }
.route ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.route li + li { border-left: 2px dashed var(--rule); }
.route a { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 16px 18px; min-height: 76px; background: var(--card); color: var(--ink); text-decoration: none; height: 100%; }
.route a:hover { background: #fff; }
.route a b { grid-row: span 2; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--paper); font: 600 15px/1 var(--mono); }
.route li:first-child a b { background: var(--coral); }
.route li:last-child a b { background: var(--teal); }
.route a span { font-weight: 650; line-height: 1.25; }
.route a small { color: var(--ink-3); font-size: 13px; line-height: 1.3; }

/* sections */
.section { max-width: 1440px; margin: 0 auto; padding: clamp(56px, 8vw, 104px) var(--gutter) 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(20px, 4vw, 64px); align-items: end; margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-heading h2 { font: 650 clamp(34px, 4.2vw, 58px)/1.02 var(--display); font-variation-settings: "SOFT" 100, "opsz" 120; letter-spacing: -0.025em; margin: 0; }
.section-heading h2 em { font-style: italic; font-weight: 450; color: var(--teal); }
.section-heading > p { margin: 0; color: var(--ink-2); max-width: 52ch; }
h3 { font: 650 21px/1.2 var(--display); font-variation-settings: "SOFT" 100; margin: 0 0 6px; letter-spacing: -0.01em; }
.model { font: 500 13px/1.4 var(--mono); color: var(--teal); margin: 0 0 8px; }
.model b { font-weight: 500; color: var(--ink); }

/* film + cue tape */
.player { background: var(--ink); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.player video { width: 100%; aspect-ratio: 16 / 9; border-radius: 8px; background: #0e1428; }
.tape { position: relative; margin: 12px 4px 4px; color: var(--paper); }
.tape-track { position: relative; height: 10px; margin: 0 0 8px; border-radius: 5px; background: repeating-linear-gradient(90deg, rgba(246, 239, 227, 0.28) 0 1px, transparent 1px calc(100% / 15)), rgba(246, 239, 227, 0.1); }
.tape-head { position: absolute; left: 0; top: -3px; bottom: -3px; width: 3px; border-radius: 2px; background: var(--sun); transform: translateX(calc(var(--p, 0) * 1px)); }
.cues { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.cues button {
  width: 100%; height: 100%; text-align: left; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; row-gap: 2px; align-items: center;
  padding: 10px; min-height: 64px; border: 1px solid rgba(246, 239, 227, 0.18); border-radius: 10px; background: rgba(246, 239, 227, 0.05); color: var(--paper); font: inherit; cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}
.cues button:hover { background: rgba(246, 239, 227, 0.12); }
.cues button[aria-current="true"] { border-color: var(--sun); background: rgba(232, 180, 71, 0.16); }
.cues i, .tape-bed i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; grid-row: span 3; align-self: start; margin-top: 5px; }
.k-sfx { background: var(--sun); }
.k-act { background: var(--sea-2); }
.k-mus { background: var(--blush); margin-right: 8px; vertical-align: 1px; }
.cues b { font: 500 13px/1.2 var(--mono); color: var(--sun); }
.cues span { font-size: 14px; font-weight: 600; line-height: 1.25; }
.cues small { font-size: 12px; color: rgba(246, 239, 227, 0.72); line-height: 1.25; }
.tape-bed { margin: 12px 2px 4px; font-size: 14px; color: rgba(246, 239, 227, 0.82); }
.tape-bed b { color: var(--paper); }

/* the prompt as a letter with ticket stubs */
.letter { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 20px; }
.letter blockquote {
  margin: 0; padding: clamp(24px, 3vw, 40px); background: var(--card); border-radius: 4px; box-shadow: var(--shadow);
  background-image: repeating-linear-gradient(transparent 0 33px, rgba(47, 127, 140, 0.13) 33px 34px);
  transform: rotate(-0.4deg);
}
.letter blockquote p { font: 450 clamp(18px, 1.6vw, 21px)/1.62 var(--display); font-variation-settings: "SOFT" 100; margin: 0 0 18px; }
.letter cite { font: 500 12px/1.3 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; font-style: normal; color: var(--ink-3); }
.stubs { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-content: start; }
.stubs div { position: relative; padding: 18px 18px 16px; background: var(--card); border-radius: 10px; box-shadow: var(--shadow); border-top: 4px solid var(--coral); }
.stubs div:nth-child(2) { border-top-color: var(--teal); }
.stubs div:nth-child(3) { border-top-color: var(--sun); }
.stubs div:nth-child(4) { border-top-color: var(--ink); }
.stubs dt { font: 700 clamp(28px, 3vw, 38px)/1 var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -0.02em; margin-bottom: 6px; }
.stubs dd { margin: 0; color: var(--ink-2); font-size: 14px; line-height: 1.35; }

/* high street */
.street { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: start; }
.shop { background: var(--card); border-radius: 10px 10px var(--radius) var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.shop img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.shop h3, .shop .model { padding: 0 14px; }
.shop h3 { padding-top: 14px; font-size: 18px; }
.shop details { border-top: 1px dashed var(--rule); margin: 4px 0 0; }
.shop summary { cursor: pointer; padding: 12px 14px; min-height: 44px; font-weight: 600; font-size: 14px; color: var(--coral-ink); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.shop summary::-webkit-details-marker { display: none; }
.shop summary::after { content: "+"; font: 500 18px/1 var(--mono); }
.shop details[open] summary::after { content: "–"; }
.shop details p { margin: 0; padding: 0 14px 14px; font-size: 14px; line-height: 1.5; color: var(--ink-2); font-style: italic; }
.street-hint { max-width: 90ch; }
.sheets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 28px; }
.sheet { margin: 0; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.sheet-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); align-items: center; }
.sheet-art { aspect-ratio: 3 / 2; display: grid; place-items: center; background: var(--paper-2); }
.sheet-wide .sheet-art { aspect-ratio: 2 / 1; }
.sheet-art img { width: 100%; height: 100%; object-fit: contain; }
.sheet-wide .sheet-art img { object-fit: cover; }
.checker { background-color: #f1e8d8; background-image: linear-gradient(45deg, #e8dcc7 25%, transparent 25%, transparent 75%, #e8dcc7 75%), linear-gradient(45deg, #e8dcc7 25%, transparent 25%, transparent 75%, #e8dcc7 75%); background-size: 22px 22px; background-position: 0 0, 11px 11px; }
.sheet figcaption { padding: 14px 16px 16px; }
.sheet figcaption b { display: block; font: 650 18px/1.2 var(--display); font-variation-settings: "SOFT" 100; margin-bottom: 4px; }
.sheet figcaption span { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.sheet figcaption span b { display: inline; font: 650 14px/1 var(--body); margin: 0; }
.sheet-wide figcaption { padding: 24px; }

/* props: a dark workshop drawer on the paper */
.workshop .props { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.prop { grid-column: span 2; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px 12px 16px; }
.prop-hero { grid-column: span 3; }
.prop > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #1f2129; margin-bottom: 12px; }
.prop-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-bottom: 12px; }
.prop-pair > img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; background: #ece6dc; }
.turn { position: relative; border-radius: 8px; overflow: hidden; background: #1f2129; aspect-ratio: 1; }
.turn video { width: 100%; height: 100%; object-fit: cover; }
.turn-toggle { position: absolute; right: 8px; bottom: 8px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--card); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow); }
.turn-toggle svg { width: 16px; height: 16px; fill: currentColor; stroke: none; }
.turn-toggle .i-pause, .turn-toggle[aria-pressed="true"] .i-play { display: none; }
.turn-toggle[aria-pressed="true"] .i-pause { display: block; }
.prop h3, .prop p { padding: 0 4px; }
.prop p:last-child { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.5; }

/* paper stocks */
.stocks { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "view info" "view list"; gap: 14px 28px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: clamp(14px, 2vw, 24px); }
.stock-view { grid-area: view; }
.stock-img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--rule); }
.map-tabs, .seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-top: 12px; border-radius: 999px; background: var(--paper-2); }
.map-tabs button, .seg button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font: 600 14px/1 var(--body); cursor: pointer; }
.map-tabs button[aria-pressed="true"], .seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.map-tabs button:disabled { opacity: 0.4; cursor: not-allowed; }
.stock-info { grid-area: info; align-self: end; }
.stock-info h3 { font-size: clamp(26px, 2.6vw, 34px); }
.stock-prompt { font: italic 450 18px/1.5 var(--display); font-variation-settings: "SOFT" 100; color: var(--ink-2); margin: 8px 0 12px; }
.stock-use { margin: 0; color: var(--ink); }
.stock-use b { font: 500 12px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-right: 6px; }
.stock-list { grid-area: list; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-content: start; }
.stock-list button { padding: 6px 6px 10px; border: 1.5px solid var(--rule); border-radius: 10px; background: var(--paper); color: var(--ink); font: 600 13px/1.2 var(--body); cursor: pointer; display: grid; gap: 7px; text-align: left; }
.stock-list button img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.stock-list button[aria-pressed="true"] { border-color: var(--ink); background: #fff; box-shadow: 0 0 0 2px var(--ink); }
.stock-list button span { padding: 0 2px; }

/* panorama */
.pano {
  position: relative; height: clamp(220px, 32vw, 400px); border-radius: var(--radius); box-shadow: var(--shadow); cursor: grab; touch-action: pan-y;
  background: var(--pano) 0 50% / auto 100% repeat-x; background-position-x: var(--x, 0px);
}
.pano:active { cursor: grabbing; }
.pano-hint { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); padding: 8px 14px; border-radius: 999px; background: rgba(255, 250, 242, 0.92); font: 500 13px/1 var(--mono); color: var(--ink); white-space: nowrap; transition: opacity 0.4s; }
.pano.moved .pano-hint { opacity: 0; }
.compare-block { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: 40px; }
.compare { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); touch-action: pan-y; user-select: none; background: #ddd; }
.compare img { width: 100%; height: auto; pointer-events: none; }
.compare .before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--reveal)) 0 0); }
.compare .before img { width: 100%; height: 100%; object-fit: cover; }
.compare-label { position: absolute; top: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(255, 250, 242, 0.92); font: 500 12px/1 var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); pointer-events: none; }
.compare-label.left { left: 12px; }
.compare-label.right { right: 12px; }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--reveal); width: 44px; margin-left: -22px; border: 0; padding: 0; background: transparent; cursor: ew-resize; }
.compare-line::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 3px; margin-left: -1.5px; background: var(--card); box-shadow: 0 0 0 1px rgba(29, 38, 64, 0.2); }
.compare-line span { position: absolute; left: 50%; top: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; background: var(--card); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); }
.compare-line svg { width: 26px; height: 14px; fill: none; }
.compare-copy p { color: var(--ink-2); }

/* review scores */
.scores { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 4fr) minmax(0, 3fr); gap: 14px; align-items: start; }
.score-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.bars { list-style: none; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px dashed var(--rule); display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 104px 1fr 36px; align-items: center; gap: 10px; font-size: 14px; }
.bars i { height: 10px; border-radius: 5px; background: var(--paper-2); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; width: calc(var(--v) * 10%); border-radius: 5px; background: var(--coral); }
.score-card:nth-child(2) .bars i::after { background: var(--teal); }
.bars b { font: 500 14px/1 var(--mono); text-align: right; }
.changes { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.5; }
.changes b { color: var(--ink); display: block; }
.gate { background: var(--ink); color: var(--paper); }
.gate .tag { color: var(--sun); }
.gate-num { margin: 0 0 8px; font: 700 76px/1 var(--display); font-variation-settings: "SOFT" 100; letter-spacing: -0.03em; }
.gate-num span { font-size: 26px; opacity: 0.7; }
.gate p { color: rgba(246, 239, 227, 0.86); }
.gate .micro { color: rgba(246, 239, 227, 0.72); }
.gate .micro b { color: var(--paper); }

/* the fix */
.fix-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.fix-copy .seg { margin-top: 0; margin-bottom: 18px; }
.fix-steps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 14px; }
.fix-steps li { counter-increment: s; position: relative; padding-left: 44px; color: var(--ink-2); font-size: 16px; }
.fix-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--coral); color: #fff; display: grid; place-items: center; font: 600 14px/1 var(--mono); }
.fix-steps b { color: var(--ink); display: block; }

/* sound */
.sounds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sound { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; text-align: left; padding: 16px; min-height: 84px; border: 1.5px solid var(--rule); border-radius: var(--radius); background: var(--card); color: var(--ink); font: inherit; cursor: pointer; box-shadow: var(--shadow); transition: border-color 0.15s; }
.sound:hover { border-color: var(--ink); }
.sound.wide { grid-column: span 2; grid-row: span 2; background: var(--ink); color: var(--paper); border-color: var(--ink); align-content: start; }
.sound i { width: 44px; height: 44px; border-radius: 50%; background: var(--coral); position: relative; }
.sound i::before { content: ""; position: absolute; left: 17px; top: 14px; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.sound[aria-pressed="true"] i::before { left: 15px; top: 15px; width: 14px; height: 14px; border: 0; background: linear-gradient(90deg, #fff 0 5px, transparent 5px 9px, #fff 9px 14px); }
.sound[aria-pressed="true"] { border-color: var(--coral); }
.sound span b { display: block; font: 650 18px/1.25 var(--display); font-variation-settings: "SOFT" 100; }
.sound span small { display: block; font-size: 13px; color: var(--ink-3); margin-top: 4px; line-height: 1.35; }
.sound.wide span small { color: rgba(246, 239, 227, 0.72); }
.sound span em { display: block; margin-top: 14px; font: italic 450 17px/1.55 var(--display); color: rgba(246, 239, 227, 0.9); }

/* timelapse */
.tl { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); box-shadow: var(--shadow); background: #222; }
.stills { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.stills img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }

/* make your own */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; padding: 22px; background: var(--card); border: 1.5px solid var(--rule); border-radius: var(--radius); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: border-color 0.15s, transform 0.15s; }
.card:hover { border-color: var(--ink); transform: translateY(-2px); }
.card h3 { font-size: 20px; word-break: break-word; }
.card p { color: var(--ink-2); font-size: 15px; margin: 0 0 16px; }
.card b { margin-top: auto; color: var(--coral-ink); }
.cta { margin: 28px 0 0; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--blush); display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.cta p { margin: 0; font: 600 clamp(22px, 2.4vw, 30px)/1.2 var(--display); font-variation-settings: "SOFT" 100; }

.site-foot { margin-top: clamp(64px, 8vw, 104px); padding: 20px var(--gutter); background: var(--exploration-footer-bg); color: var(--exploration-footer-ink); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font: 500 13px/1.4 var(--mono); }
.site-foot a { color: var(--exploration-footer-ink); }
.foot-pdf { min-height: 44px; display: inline-flex; align-items: center; }
.site-foot [data-exploration-controls] { margin-left: auto; }
[data-exploration-tools] { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
[data-exploration-tools] a { min-height: 44px; display: inline-flex; align-items: center; }

/* modals */
.modal { width: min(1200px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: 0 30px 80px -20px rgba(14, 20, 40, 0.6); }
.modal::backdrop { background: rgba(29, 38, 64, 0.72); }
.modal-inner { padding: 16px; }
.modal video { width: 100%; aspect-ratio: 16 / 9; border-radius: 10px; background: #0e1428; }
.modal-close { display: flex; align-items: center; gap: 8px; margin: 0 0 12px auto; min-height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--paper-2); color: var(--ink); font: 600 15px/1 var(--body); cursor: pointer; }
.modal-close:hover { background: var(--rule); }
.modal-foot { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: start; padding: 14px 4px 4px; }
.modal-lede { margin: 0; font-weight: 500; }
.modal-links { display: flex; flex-direction: column; gap: 8px; }
.modal-links a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border-radius: 999px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600; white-space: nowrap; }
.modal-guide { width: min(720px, calc(100vw - 32px)); }
.modal-guide .modal-inner { padding: 20px clamp(20px, 4vw, 36px) 28px; }
.modal-guide h2 { font: 650 clamp(28px, 3.4vw, 38px)/1.1 var(--display); font-variation-settings: "SOFT" 100; margin: 0 0 12px; }
.modal-guide p { color: var(--ink-2); }
.guide-steps { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: g; }
.guide-steps li { counter-increment: g; }
.guide-steps a { display: grid; grid-template-columns: 36px 1fr; gap: 2px 14px; padding: 14px; border: 1.5px solid var(--rule); border-radius: 12px; color: var(--ink); text-decoration: none; }
.guide-steps a:hover { border-color: var(--ink); }
.guide-steps a::before { content: counter(g); grid-row: span 2; width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font: 600 14px/1 var(--mono); }
.guide-steps span { color: var(--ink-2); font-size: 15px; }
/* short landscape screens: keep the close button and the whole video in view (letterboxed) */
@media (max-height: 560px) {
  .modal video { max-height: calc(100vh - 32px - 32px - 56px); max-height: calc(100dvh - 32px - 32px - 56px); }
}

/* responsive */
@media (max-width: 1120px) {
  .tb .long { display: none; }
  .tb .short { display: inline; }
  .street { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cues { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .scores { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gate { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero, .section-heading, .letter, .compare-block, .fix-grid { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-top: 28px; }
  .theatre { order: -1; }
  .route ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route li:nth-child(3) { border-left: 0; }
  .route li:nth-child(n + 3) { border-top: 2px dashed var(--rule); }
  .stocks { grid-template-columns: minmax(0, 1fr); grid-template-areas: "view" "info" "list"; }
  .stock-view { max-width: 460px; }
  .workshop .props { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prop, .prop-hero { grid-column: span 1; }
  .prop-hero { grid-column: 1 / -1; }
  .sheets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet-wide { grid-template-columns: minmax(0, 1fr); }
  .sounds { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .topbar-name { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar { gap: 8px; padding-left: 12px; padding-right: 8px; }
  .wm-sub { display: none; }
  .tb { padding: 0 9px; font-size: 14px; }
  .tb svg { display: none; }
  .tb-cta { margin-left: 2px; padding: 0 12px; }
  .street { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .scores, .sheets, .workshop .props, .sounds { grid-template-columns: minmax(0, 1fr); }
  .sound.wide { grid-column: auto; grid-row: auto; }
  .stock-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .stock-list button { font-size: 11px; padding: 4px 4px 8px; }
  .stills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-downloads { grid-template-columns: minmax(0, 1fr); }
  .modal-foot { grid-template-columns: minmax(0, 1fr); }
  .modal-links { flex-direction: row; flex-wrap: wrap; }
  .bars li { grid-template-columns: 92px 1fr 32px; }
}
@media (max-width: 400px) {
  .tb { padding: 0 7px; font-size: 13px; white-space: nowrap; }
  .tb-cta { padding: 0 10px; }
  .topbar { gap: 4px; }
  .wm-name { display: none; }
  .route ol { grid-template-columns: minmax(0, 1fr); }
  .route li + li { border-left: 0; border-top: 2px dashed var(--rule); }
}
