/* The PC Project — the one stylesheet for every page. */
:root {
  --paper: #EFEEEA; --paper-2: #E2E1DC; --card: #F1F0EC;
  --ink: #111112; --coal: #1B1B1E; --steel: #232327; --line: #3C3C43;
  --accent: #FF6B1A;
  --display: 'Anton', Impact, sans-serif;
  --sans: 'Outfit', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 72px);
  --max: max(1280px, 82vw);
  --space: clamp(56px, 7.5vw, 140px);
  --stripes: repeating-linear-gradient(-45deg, currentColor 0 7px, transparent 7px 14px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 clamp(16px, .55vw + 9px, 19px)/1.55 var(--sans); }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; padding: 12px 16px; background: #fff; }

h1 { font-size: clamp(40px, 5.6vw, 120px); font-weight: 800; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.4vw, 88px); font-weight: 800; line-height: 1; letter-spacing: -.02em; }
h3 { font-size: clamp(20px, 1.1vw + 10px, 30px); font-weight: 700; line-height: 1.15; }
.eyebrow, dt, .tag, .file__card::before, .file__card::after { font: 500 12px/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.eyebrow, dt { color: var(--mute); }
.lede { max-width: 54ch; font-size: clamp(16px, .8vw + 8px, 22px); color: var(--soft); }
.soft { color: var(--soft); }
.small { max-width: 90ch; font-size: 14px; color: var(--soft); }
.num { font: 400 clamp(48px, 5vw, 104px)/1 var(--display); }
.mark { margin-left: 4px; padding: 0 6px; background: var(--accent); }

/* ---------- page bands ---------- */
.band { --fg: var(--ink); --mute: #4A4A50; --soft: #2E2E33; padding: var(--space) var(--gutter); background: var(--paper); color: var(--fg); }
.band--alt { background: var(--paper-2); }
.band--ink, .band--coal { --fg: #fff; --mute: #B4B4BC; --soft: #B4B4BC; background: var(--ink); }
.band--coal { background: var(--coal); }
.band--accent { --fg: var(--ink); --mute: var(--ink); --soft: var(--ink); background: var(--accent); padding-top: 0; }
.band--accent .btn:hover { border-color: var(--ink); background: var(--ink); color: var(--accent) !important; }
/* scrolling strip across the top of the events band */
.ticker { margin: 0 calc(var(--gutter) * -1) var(--space); overflow: hidden; background: var(--ink); color: var(--accent); }
.ticker div { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.ticker span { padding: 14px 28px; font: 400 clamp(24px, 2.6vw, 48px)/1 var(--display); text-transform: uppercase; white-space: nowrap; }
.ticker span::after { content: "//"; margin-left: 56px; color: #fff; }
@keyframes ticker { to { translate: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .ticker div { animation: none; } }
.band--hero { padding-top: 64px; }
.band--hero:has(+ .band--slant) { padding-bottom: 170px; }
.band:not(.band--hero, .band--stage):has(+ .band--slant) { padding-bottom: calc(var(--space) + 90px); } /* room for the slant above the next band */
.band--slant { margin-top: -90px; padding-top: 170px; clip-path: polygon(0 90px, 100% 0, 100% 100%, 0 100%); }
.wrap { max-width: var(--max); margin: 0 auto; }
.stack { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(32px, 3.5vw, 72px); }
.stack > * { align-self: stretch; }
.stack > .btn, .stack > .btns { align-self: flex-start; }

/* ---------- header and footer ---------- */
.top { position: sticky; top: 0; z-index: 20; padding: 0 var(--gutter); pointer-events: none; }
.top .nav { pointer-events: auto; box-shadow: 0 8px 24px rgb(0 0 0 / .18); }
[id] { scroll-margin-top: 96px; }
.nav { max-width: var(--max); margin: 0 auto; padding: 10px 22px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; background: var(--ink); color: #fff; border-radius: 0 0 28px 28px; }
.nav ul { display: flex; gap: 4px; }
.nav a { display: inline-flex; align-items: center; min-height: clamp(44px, 1.6vw + 20px, 60px); padding: 0 clamp(14px, 1.1vw, 26px); border-radius: 999px; font-size: clamp(14px, .45vw + 9px, 20px); font-weight: 600; text-decoration: none; white-space: nowrap; }
.nav a:hover { background: var(--line); }
.nav a[aria-current] { background: #fff; color: var(--ink); font-weight: 700; }
.nav .brand { padding: 0; font-size: clamp(16px, .7vw + 9px, 26px); font-weight: 800; background: none; }
.nav .cta { background: var(--accent); color: var(--ink); font-weight: 700; }
.brand b, .foot b { color: var(--accent); }
@media (max-width: 1100px) { .nav ul { order: 3; width: 100%; overflow-x: auto; } }
@media (max-width: 600px) {
  .nav { padding: 6px 12px; gap: 2px 8px; border-radius: 0 0 20px 20px; }
  .nav .brand { font-size: 16px; }
  .nav .cta { padding: 0 14px; font-size: 14px; }
  .nav a { padding: 0 14px; }
}
.foot { padding: 28px var(--gutter); background: var(--ink); color: #fff; }
.foot .wrap, .foot ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; }
.foot a { display: inline-flex; align-items: center; min-height: 44px; }
.foot span { color: #B4B4BC; }

/* ---------- buttons and links ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: clamp(48px, 2.4vw + 22px, 64px); padding: 0 clamp(22px, 2vw, 40px); border: 2px solid var(--fg); border-radius: 999px; background: var(--fg); color: var(--paper); font: 700 clamp(16px, .6vw + 9px, 20px) var(--sans); text-decoration: none; cursor: pointer; }
.band--ink .btn, .band--coal .btn { color: var(--ink); }
.btn--line { background: none; color: var(--fg) !important; }
.btn:hover { border-color: var(--accent); background: var(--accent); color: var(--ink) !important; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }

/* ---------- hero ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px 72px; }
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.hero .eyebrow { letter-spacing: .42em; }
.title { display: flex; align-items: stretch; gap: 8px; }
.title::before { content: attr(data-no); writing-mode: vertical-rl; transform: rotate(180deg); padding: 6px 2px; border: 1.5px solid; border-left: 0; font: 400 11px var(--mono); letter-spacing: .3em; text-align: center; }
.title h1 { padding-left: 42px; background: var(--stripes) no-repeat left / 26px 100%; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 28px; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.facts li::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; background: currentColor; }
.frame { flex: 0 1 440px; min-width: 260px; position: relative; margin: 0 18px 18px 0; }
.frame::before { content: ""; position: absolute; inset: 28px -18px -18px 28px; background: var(--accent); }
.frame::after { content: ""; position: absolute; top: -14px; right: -18px; width: 140px; height: 22px; background: var(--stripes); }
.frame img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ink); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 44px), calc(100% - 44px) 100%, 0 100%); }
/* home: one big rounded stage, the build tilted in the middle, the name split around it */
.band--stage { padding: 20px var(--gutter) 170px; }
.stage { --pad: clamp(24px, 3.5vw, 48px); position: relative; max-width: max(1440px, 90vw); min-height: max(660px, calc(100svh - 100px)); margin: 0 auto; padding: var(--pad) var(--pad) 88px; display: grid; grid-template-columns: 1fr 1.15fr 1fr; grid-template-rows: auto 1fr auto auto; gap: 16px 32px; border-radius: 32px; overflow: hidden; color: var(--ink);
  background: linear-gradient(rgb(255 255 255 / .22) 1px, transparent 1px) 0 0 / 120px 120px, linear-gradient(90deg, rgb(255 255 255 / .22) 1px, transparent 1px) 0 0 / 120px 120px, radial-gradient(circle at 55% 40%, #E4E3DE, #A9A8A2 75%); }
.stage > * { position: relative; z-index: 2; }
.stage__head { grid-column: 1 / 3; font-size: clamp(28px, 3.4vw, 90px); font-weight: 500; line-height: 1.05; letter-spacing: 0; text-wrap: nowrap; }
.stage__head span { display: block; }
.stage__head span:nth-child(2) { padding-left: 1.6em; }
.stage__head span:nth-child(3) { padding-left: .4em; }
.stage__head small { margin-right: 10px; font: 500 12px var(--mono); vertical-align: middle; }
.stage__pic { position: absolute; z-index: 1; left: 50%; top: 46%; width: clamp(300px, 36vw, 900px); height: auto; transform: translate(-50%, -50%) rotate(-14deg); filter: drop-shadow(0 40px 36px rgb(0 0 0 / .35)) drop-shadow(0 0 40px rgb(80 160 255 / .35)); }
.stage__thumb { grid-column: 3; justify-self: end; width: clamp(160px, 17vw, 360px); aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; color: #fff; text-decoration: none; }
.stage__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.stage__thumb:hover img { transform: scale(1.06); }
.stage__tag { position: absolute; left: 12px; bottom: 10px; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.stage__go { position: absolute; top: 8px; right: 8px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--ink); font-weight: 700; }
.stage__social { grid-column: 3; grid-row: 2; justify-self: end; align-self: center; display: flex; flex-direction: column; gap: 4px; padding: 6px; border-radius: 999px; background: rgb(255 255 255 / .35); }
.stage__social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); }
.stage__social li:first-child a { background: var(--ink); color: var(--accent); }
.stage__social a:hover { background: #fff; color: var(--ink); }
.stage svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stage__word { font: 400 clamp(72px, 12.5vw, 360px)/.8 var(--display); color: #fff; text-transform: uppercase; white-space: nowrap; pointer-events: none; }
.stage__word--a { grid-column: 1 / 3; grid-row: 3; align-self: end; }
.stage__note { grid-column: 3; grid-row: 3; align-self: end; justify-self: end; max-width: 30ch; text-align: right; font-size: clamp(13px, .4vw + 8px, 17px); }
.stage__foot { grid-column: 1; grid-row: 4; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.stage__foot p { max-width: 42ch; font-size: clamp(15px, .55vw + 9px, 22px); color: var(--soft); }
.stage__word--b { grid-column: 2 / 4; grid-row: 4; justify-self: end; align-self: end; }
.btn--accent { border-color: var(--accent); background: var(--accent); color: var(--ink); }
.btn--white { border-color: #fff; background: #fff; color: var(--ink); }
.btn--accent:hover, .btn--white:hover { border-color: var(--ink); background: var(--ink); color: #fff !important; }
.stage__scroll { position: absolute; left: 50%; bottom: 0; translate: -50% 0; display: flex; flex-direction: column; align-items: center; padding: 12px 36px 10px; border-radius: 28px 28px 0 0; background: var(--paper); font-size: 12px; line-height: 1.3; text-align: center; text-decoration: none; color: var(--mute); }
.stage__scroll::before, .stage__scroll::after { content: ""; position: absolute; bottom: 0; width: 28px; height: 28px; }
.stage__scroll::before { right: 100%; background: radial-gradient(circle at 0 0, transparent 27.5px, var(--paper) 28px); }
.stage__scroll::after { left: 100%; background: radial-gradient(circle at 100% 0, transparent 27.5px, var(--paper) 28px); }
@media (max-width: 900px) {
  .stage { display: flex; flex-direction: column; min-height: 0; padding-bottom: var(--pad); gap: 20px; }
  .stage__pic { position: relative; left: auto; top: auto; align-self: center; width: min(92%, 420px); margin: 12px 0; transform: rotate(-8deg); }
  .stage__thumb, .stage__scroll, .stage__note { display: none; }
  .stage__social { flex-direction: row; align-self: flex-start; order: 9; }
  .stage__word { font-size: 21vw; }
  .stage__word--b { order: 1; align-self: flex-end; margin-top: -12px; }
  .stage__foot { order: 2; }
  .stage__word--a { align-self: flex-start; }
  .band--stage { padding-top: 12px; padding-bottom: 130px; }
}
.tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 6px 12px; background: var(--ink); color: #fff; font-size: 11px; }

/* ---------- section heads and columns ---------- */
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 48px; }
.head > div { display: flex; flex-direction: column; gap: 12px; }
.head > p { max-width: 44ch; color: var(--soft); }
.head--center { flex-direction: column; align-items: center; text-align: center; }
.head--center h2::before { content: ""; display: inline-block; width: 34px; height: .75em; margin-right: 16px; background: var(--stripes); transform: skewX(-12deg); }
.cols { display: flex; flex-wrap: wrap; gap: clamp(24px, 2.5vw, 48px); }
.cols > * { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.cols--3 > * { flex-basis: 320px; }
.cols--2 > * { flex-basis: 380px; }
.cols p, .cols li { color: var(--soft); }
.rule { padding-top: 16px; border-top: 3px solid var(--fg); }
.rule--accent { border-color: var(--accent); }
.step { align-self: stretch; display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; }
.icon { width: clamp(48px, 3.6vw, 68px); height: clamp(48px, 3.6vw, 68px); margin-bottom: 4px; display: grid; place-items: center; border: 2px solid; border-radius: 50%; }
.icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ticks { display: flex; flex-direction: column; gap: 8px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { content: "//"; position: absolute; left: 0; font: 500 14px/1.7 var(--mono); color: var(--mute); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 4px 10px; border: 1px solid; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }

/* ---------- build files ---------- */
.files { display: flex; gap: 24px; }
.files__list { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.files__ghost { flex: 0 0 clamp(72px, 7vw, 140px); contain: size; overflow: hidden; /* contain: never let the long word set the row height */ writing-mode: vertical-rl; font: 400 clamp(72px, 7vw, 140px)/1 var(--display); white-space: nowrap; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px #55555E; }
.file { display: flex; flex-wrap: wrap; gap: 16px; }
.file__meta { flex: 0 0 clamp(140px, 12vw, 220px); display: flex; flex-direction: column; gap: 14px 22px; padding: 16px; background: var(--steel); border: 1px solid var(--line); color: #fff; }
.file__meta b { min-width: 100px; padding-bottom: 10px; border-bottom: 2px solid; font: 400 clamp(28px, 2.4vw, 48px)/1 var(--display); }
.file__meta dl { display: contents; }
.file__meta dt { font-size: 10px; }
.file__meta dd { font-size: clamp(16px, 1.2vw, 22px); font-weight: 700; line-height: 1.3; }
.file__card { --c: var(--ink); flex: 1 1 520px; min-width: 0; position: relative; aspect-ratio: 5 / 2; min-height: 220px; overflow: hidden; background: var(--card); color: var(--ink); container-type: inline-size; }
.file__card--dark { background: #17171A; }
.file__word { position: absolute; left: 3%; top: 50%; transform: translateY(-50%); font: 400 max(38cqw, 230px)/1 var(--display); white-space: nowrap; text-transform: uppercase; color: var(--c); }
.file__card img { position: absolute; top: 0; right: 0; width: 56%; height: 100%; object-fit: cover; background: var(--c); clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%); }
.file__card::before, .file__card::after { position: absolute; left: 0; right: 0; z-index: 1; height: 24px; padding: 4px 12px; background: var(--ink); color: #fff; font-size: 10px; white-space: nowrap; }
.file__card::before { content: "#" attr(data-no) " // Build entry"; top: 0; }
.file__card::after { content: "Themed build"; bottom: 0; background: repeating-linear-gradient(-45deg, #fff 0 3px, transparent 3px 6px) right 12px center / 90px 8px no-repeat var(--ink); }
.file__card h3 { position: absolute; top: 40px; right: 16px; z-index: 1; padding: 8px 14px; background: var(--ink); color: #fff; font-size: clamp(16px, 1.4vw, 26px); font-weight: 800; }
.tiles { display: flex; flex-wrap: wrap; gap: 16px; }
.tile { flex: 1 1 280px; position: relative; height: clamp(220px, 22vw, 440px); overflow: hidden; background: var(--steel); color: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile span { position: absolute; inset: auto 0 0; padding: 12px 16px; display: flex; align-items: baseline; gap: 12px; background: var(--ink); font-size: clamp(16px, 1.2vw, 22px); font-weight: 700; }
.tile b { font: 400 clamp(20px, 1.6vw, 30px)/1 var(--display); }
/* home page: the same build cards, held to a narrower column so they don't stretch across wide screens */
.builds--compact :is(.files, .tiles) { width: 100%; max-width: 1180px; margin-inline: auto; }
@media (max-width: 820px) {
  .files__ghost { display: none; }
  .file__meta { flex: 1 1 100%; flex-direction: row; flex-wrap: wrap; align-items: flex-end; }
}

/* ---------- custom PCs: scroll story (a pinned photo that changes with each step) and gallery ---------- */
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 120px); margin-top: var(--space); view-timeline: --story; }
.story__stage { position: sticky; top: 110px; align-self: start; height: calc(100svh - 150px); }
.story__pic { position: absolute; inset: 0; margin: 0; overflow: hidden; border-radius: 24px; background: var(--steel); opacity: 0; scale: 1.08; transition: opacity .7s, scale 1.2s cubic-bezier(.2, .75, .25, 1); }
.story__pic.on { opacity: 1; scale: 1; }
.story__pic img { width: 100%; height: 100%; object-fit: cover; }
.story__pic::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgb(0 0 0 / .7)); }
.story__pic figcaption { position: absolute; z-index: 1; left: clamp(16px, 2vw, 32px); bottom: clamp(12px, 1.5vw, 28px); display: flex; align-items: baseline; gap: 14px; color: #fff; font: 500 12px var(--mono); letter-spacing: .2em; text-transform: uppercase; }
.story__pic figcaption b { font: 400 clamp(72px, 9vw, 180px)/.8 var(--display); letter-spacing: 0; color: var(--accent); }
.story__bar { position: absolute; top: 0; bottom: 0; right: calc(clamp(32px, 6vw, 120px) / -2); width: 3px; background: var(--line); }
.story__bar::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: top; scale: 1 0; }
.story__steps { display: flex; flex-direction: column; }
.story__step { min-height: 78svh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; transition: opacity .5s; }
.story__step:last-child { min-height: 60svh; }
.story__step h3 { font-size: clamp(28px, 2.6vw, 52px); font-weight: 800; letter-spacing: -.01em; }
.story__step p:not(.eyebrow) { max-width: 46ch; font-size: clamp(16px, .8vw + 8px, 22px); color: var(--soft); }
.story__step .num { color: var(--accent); }
html.reveal .story__step:not(.on) { opacity: .25; }
@supports (animation-timeline: view()) {
  .story__bar::after { animation: fill linear both; animation-timeline: --story; animation-range: contain 0% contain 100%; }
}
@keyframes fill { to { scale: 1 1; } }
@media (max-width: 820px) {
  /* phones: photo pinned under the nav, steps scroll up beneath it */
  .story { grid-template-columns: 1fr; }
  .story__stage, .story__steps { grid-area: 1 / 1; }
  .story__stage { z-index: 2; top: 112px; height: 38svh; }
  .story__stage::before { content: ""; position: absolute; inset: -24px calc(var(--gutter) * -1) -20px; z-index: -1; background: var(--ink); } /* hides the step text scrolling up behind the photo */
  .story__steps { padding-top: calc(38svh + 24px); }
  .story__step { min-height: 55svh; justify-content: flex-start; padding-top: 24px; }
  .story__bar { display: none; }
}
.gallery { margin-top: var(--space); display: flex; flex-direction: column; gap: clamp(24px, 3vw, 48px); }
.gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(140px, 13vw, 260px); gap: clamp(8px, 1vw, 16px); }
.gallery__grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: var(--steel); }
.gallery__grid figure:nth-child(1) { grid-column: span 2; grid-row: span 2; } /* 1 big + 6 small + 1 wide fills 4 or 2 columns exactly */
.gallery__grid figure:nth-child(6) { grid-column: span 2; }
.gallery__grid img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s cubic-bezier(.2, .75, .25, 1); }
.gallery__grid figure:hover img { scale: 1.07; }
.gallery__grid figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; background: var(--ink); color: #fff; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 700px) { .gallery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- panels: split, stats, prices, quotes, promos ---------- */
.split { display: flex; flex-wrap: wrap; align-items: stretch; gap: 40px 56px; }
.split > * { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.photo { position: relative; min-height: clamp(260px, 30vw, 600px); align-self: stretch; background: var(--ink); }
.split > .photo { flex-grow: 1.3; }
.photo--strip { flex: 1 1 auto; min-height: 150px; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.stats { align-self: stretch; display: flex; flex-wrap: wrap; gap: 12px; }
.stat { flex: 1 1 150px; padding: 16px; background: var(--ink); color: #fff; }
.stat small { display: block; font: 500 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: #B4B4BC; }
.stat b { font: 400 clamp(34px, 3.2vw, 60px)/1.1 var(--display); }
.stat i, .price i { font: 500 16px var(--sans); }
.prices { display: flex; flex-wrap: wrap; gap: 16px; }
.price { flex: 1 1 250px; padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--coal); border: 1px solid var(--line); }
.price b { font: 400 clamp(56px, 6vw, 112px)/1 var(--display); }
.price h3 { font-size: clamp(22px, 1.8vw, 32px); }
.price ul { padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.price--top { --mute: var(--ink); background: var(--accent); border-color: var(--accent); color: var(--ink); }
.price--top ul { border-color: var(--ink); }
.quotes { display: flex; flex-wrap: wrap; gap: 16px; }
.quote { flex: 1 1 280px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; background: var(--paper); color: var(--ink); }
.quote blockquote { font-size: clamp(16px, 1.2vw, 22px); font-weight: 500; line-height: 1.4; }
.stars { color: #E8A317; font-size: 20px; letter-spacing: .12em; line-height: 1; }
.quote figcaption { font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.promo { --fg: #fff; --mute: #B4B4BC; --soft: #B4B4BC; padding: 32px; gap: 16px; background: var(--ink); color: #fff; }
.promo--accent { --fg: var(--ink); --mute: var(--ink); --soft: var(--ink); background: var(--accent); color: var(--ink); }
.promo h3 { font-size: clamp(26px, 2.4vw, 44px); font-weight: 800; }
.promo .stat { padding: 0; background: none; color: inherit; }
.promo .stat small { color: inherit; }
.rates div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid; }
.rates div:first-child { border-top-width: 3px; }
.rates dt { font: 700 clamp(17px, 1.3vw, 24px) var(--sans); letter-spacing: 0; text-transform: none; color: inherit; }
.rates dd { font: 400 clamp(28px, 2.5vw, 48px)/1 var(--display); }
.panel { padding: 24px; display: flex; flex-direction: column; gap: 12px; background: #fff; border: 2px solid var(--ink); color: var(--ink); }
.panel .rates dd { font-size: 20px; }

/* ---------- visit ---------- */
.visit { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 40px 72px; }
.visit > * { flex: 1 1 380px; min-width: 0; }
.visit > div { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.visit h2 { font: 400 clamp(80px, 15vw, 320px)/.9 var(--display); letter-spacing: 0; text-transform: uppercase; }
.info > div { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 18px 0; border-top: 1px solid; }
.info > div:first-child { border-top-width: 3px; }
.info > div:last-child { border-bottom: 3px solid; }
.info dt { flex: 0 0 110px; padding-top: 4px; }
.info dd { flex: 1 1 220px; font-size: clamp(17px, 1.3vw, 24px); font-weight: 600; }
.info dd span { display: flex; justify-content: space-between; gap: 16px; }
.map { width: 100%; height: clamp(260px, 28vw, 520px); margin-top: 48px; border: 0; filter: grayscale(1); }

/* ---------- long-form pages ---------- */
.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { margin-top: 24px; font-size: clamp(24px, 2vw, 36px); letter-spacing: -.01em; }
.prose a { font-weight: 600; }

/* ---------- forms ---------- */
.form { max-width: clamp(560px, 50vw, 900px); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.form > * { align-self: stretch; }
.form > .btn { align-self: flex-start; }
label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; }
label small { font-weight: 400; color: var(--soft); }
input, select, textarea { width: 100%; min-height: 48px; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 12px; background: #fff; color: var(--ink); font: 400 16px var(--sans); }
textarea { resize: vertical; }
.check { flex-direction: row; align-items: flex-start; gap: 12px; font-weight: 400; }
.check input { flex: none; width: 22px; min-height: 22px; height: 22px; margin: 2px 0 0; padding: 0; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; }
.row input { flex: 1 1 220px; min-height: 56px; border-radius: 999px; padding: 0 20px; }
summary { min-height: 44px; display: flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
details > div { padding-top: 12px; display: flex; flex-direction: column; gap: 20px; }
.error { color: #A3001B; font-weight: 600; }
[role="status"] { font-weight: 600; }

/* ---------- scroll animations ----------
   Reveals play once: site.js adds .reveal to <html> and .in to each block as it first comes on screen,
   so a block animates fully and stays put when you scroll back up. Without JS (or with reduced motion)
   everything is simply shown. */
main > .band { overflow-x: clip; } /* things sliding in from the side never widen the page */
html.reveal :where(main > .band:not(.band--stage)) :where(.head, .cols > *, .file, .tile, .quote, .photo, .stat, .price, .info > div, .prose > *, .panel, .promo, .visit > div:first-child, .split > div > .btn, .gallery__grid > *):not(.in) { opacity: 0; }
html.reveal .in { animation: rise .9s cubic-bezier(.2, .75, .25, 1) both; }
/* each kind of block comes in its own way */
html.reveal .head.in { animation-name: wipe-in; }
html.reveal .file.in { animation-name: from-right; }
html.reveal :is(.tile, .gallery__grid > *).in { animation-name: pop; }
html.reveal .gallery__grid > .in:nth-child(even) { animation-delay: .1s; }
html.reveal .quote.in:nth-child(odd) { animation-name: from-left; }
html.reveal .quote.in:nth-child(even) { animation-name: from-right; }
html.reveal .photo.in { animation: curtain 1.1s cubic-bezier(.7, 0, .2, 1) both; }
html.reveal .photo.in img { animation: zoom-out 1.6s cubic-bezier(.2, .75, .25, 1) both; }
/* side-by-side items arrive one after another */
html.reveal :is(.cols, .tiles, .stats, .info, .quotes) > .in:nth-child(2) { animation-delay: .12s; }
html.reveal :is(.cols, .tiles, .info, .quotes) > .in:nth-child(3) { animation-delay: .24s; }
html.reveal :is(.cols, .info) > .in:nth-child(4) { animation-delay: .36s; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    /* still tied to the scroll on purpose: the big words drift while their section passes, and the
       home hero splits apart as you leave it and comes back together when you return to the top */
    .file__word { animation: drift linear both; animation-timeline: view(); }
    .files__ghost { animation: climb linear both; animation-timeline: view(); }
    .stage__pic { animation: tip linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    .stage__word--a { animation: out-left linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
    .stage__word--b { animation: out-right linear both; animation-timeline: scroll(root); animation-range: 0 90vh; }
  }
}
@keyframes rise { from { opacity: 0; translate: 0 140px; scale: .85; } to { opacity: 1; translate: 0 0; scale: 1; } }
@keyframes wipe-in { from { opacity: 0; translate: -160px 0; clip-path: inset(0 100% 0 0); } to { opacity: 1; translate: 0 0; clip-path: inset(0 -10% 0 0); } }
@keyframes from-right { from { opacity: 0; translate: 40% 0; rotate: 4deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes from-left { from { opacity: 0; translate: -40% 0; rotate: -4deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes pop { from { opacity: 0; translate: 0 120px; scale: .6; rotate: -6deg; } to { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; } }
@keyframes curtain { from { clip-path: inset(0 0 100% 0); translate: 0 80px; } to { clip-path: inset(0); translate: 0 0; } }
@keyframes zoom-out { from { scale: 1.4; } to { scale: 1; } }
@keyframes drift { from { translate: 20% 0; } to { translate: -20% 0; } }
@keyframes climb { from { translate: 0 25%; } to { translate: 0 -25%; } }
@keyframes tip { to { translate: 0 -80px; rotate: 10deg; scale: .9; } }
@keyframes out-left { to { translate: -25vw 0; opacity: 0; } }
@keyframes out-right { to { translate: 25vw 0; opacity: 0; } }
