/* ============================================================
   bhvizuals · portfolio
   palette pulled from the moodboard: bone paper, espresso,
   olive, rust + a little sun. soft chunky display type,
   editorial serif, tiny mono labels.
   ============================================================ */

:root {
  --bone: #eee7da;
  --paper: #f5f1e8;
  --ink: #1e1511;
  --cocoa: #3a2519;
  --olive: #6f6a52;
  --rust: #c2562e;
  --sun: #ebb54a;
  --on-sun: var(--ink);
  --rose: #d98a83;

  --saddle: #3a2519;
  --kraft: #5a3b27;

  --bg: var(--ink);
  --fg: var(--bone);
  --muted: color-mix(in srgb, var(--fg) 55%, transparent);
  --line: color-mix(in srgb, var(--fg) 16%, transparent);

  --f-display: "League Spartan", "Futura", system-ui, sans-serif; /* stand-in for ramo by stable */
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  --f-sans: "Inter Tight", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 2.2vw, 36px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --glyph-hole: var(--bg);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.5 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .9s var(--ease), color .9s var(--ease);
}
body.is-loading { overflow: hidden; }

img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--sun); color: var(--on-sun); }
:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; border-radius: 4px; }

.mono { font-family: var(--f-mono); font-size: 11px; letter-spacing: .02em; text-transform: lowercase; }
.serif { font-family: var(--f-serif); font-weight: 400; }
.it { font-style: italic; }
.display { font-family: var(--f-display); font-weight: 800; letter-spacing: -.005em; line-height: .9; text-transform: uppercase; }
.display .serif, .display.serif { text-transform: none; font-weight: 400; }
/* stamped ink: rough edges + tiny worn specks, like block printed type */
.display, .hero__title, .nav__logo, .loader__count, .footer__word { filter: url(#ink); }
.label { color: color-mix(in srgb, var(--sun) 88%, transparent); margin: 0; }
.hide-sm { }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bone); padding: 10px 14px; border-radius: 99px; }
.skip:focus { top: 12px; }

/* ---------- global layers ---------- */
.gl { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
main, .nav { position: relative; z-index: 2; }

.grain {
  position: fixed; inset: -100%; width: 300%; height: 300%;
  pointer-events: none; z-index: 0; opacity: .1; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1.1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
body[data-dark] .grain { mix-blend-mode: screen; opacity: .085; filter: invert(1); }

/* crinkled paper, like the photocopied posters on the moodboard */
.paper {
  position: fixed; inset: 0; pointer-events: none; z-index: 0; opacity: .55; mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.012 .02' numOctaves='5' seed='4'/%3E%3CfeDiffuseLighting lighting-color='%23fff' surfaceScale='3.2'%3E%3CfeDistantLight azimuth='45' elevation='52'/%3E%3C/feDiffuseLighting%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)'/%3E%3C/svg%3E");
  background-size: 700px 700px;
}
/* the map's terrain, under every page: contour lines that drift with scroll and glow near the cursor */
.terrain { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.terrain svg { position: absolute; left: 0; top: 0; width: 100%; will-change: transform; }
.terrain path { fill: none; stroke: rgba(238, 231, 218, .055); stroke-width: 1; vector-effect: non-scaling-stroke; }
.terrain__hot { position: absolute; inset: 0;
  -webkit-mask-image: radial-gradient(circle 24vmax at var(--tx, -999px) var(--ty, -999px), #000 0%, rgba(0, 0, 0, .4) 40%, transparent 72%);
  mask-image: radial-gradient(circle 24vmax at var(--tx, -999px) var(--ty, -999px), #000 0%, rgba(0, 0, 0, .4) 40%, transparent 72%); }
.terrain__hot path { stroke: color-mix(in srgb, var(--sun) 34%, transparent); }

/* trail marker on the right edge (home) */
.route { position: fixed; right: 8px; top: 50%; height: 44vh; transform: translateY(-50%); width: 14px; z-index: 55; }
.route__line { position: absolute; left: 6px; top: 0; bottom: 0; border-left: 1px dashed rgba(238, 231, 218, .28); }
.route__wp { position: absolute; left: 0; width: 13px; height: 13px; margin-top: -6px; padding: 0; border: 1px solid rgba(238, 231, 218, .45); border-radius: 50%; background: var(--bg); cursor: pointer; transition: border-color .4s, background-color .4s, transform .5s var(--ease); }
.route__wp.is-passed { border-color: var(--sun); }
.route__wp:hover { transform: scale(1.25); background: var(--sun); border-color: var(--sun); }
.route__label { position: absolute; right: 22px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; font-size: 10px; color: var(--bone); padding: 5px 9px; border-radius: 99px; background: rgba(20, 14, 11, .7); opacity: 0; transition: opacity .3s, transform .4s var(--ease); pointer-events: none; }
.route__wp:hover .route__label { opacity: 1; transform: translate(0, -50%); }
.route__marker { position: absolute; left: 2px; width: 9px; height: 9px; margin-top: -4.5px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sun) 20%, transparent); z-index: 1; pointer-events: none; }
.route__now { position: absolute; right: 20px; top: 50%; transform: translate(6px, -50%); white-space: nowrap; font-size: 10px; color: var(--sun); padding: 5px 9px; border-radius: 99px; background: rgba(20, 14, 11, .75); opacity: 0; transition: opacity .3s, transform .4s var(--ease); }
.route:hover .route__now { opacity: 1; transform: translate(0, -50%); }

/* film dust + scratches, drawn in js */
.dust { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; mix-blend-mode: screen; opacity: .6; }

/* sunset light leaks, like the blurred horse + sunset refs */
.leak {
  position: absolute; pointer-events: none; z-index: 3; mix-blend-mode: screen; filter: blur(60px); opacity: .55;
  background: radial-gradient(closest-side, rgba(235, 150, 60, .9), rgba(194, 86, 46, .5) 45%, transparent 75%);
  animation: leak 14s ease-in-out infinite alternate;
}
.leak--about { width: 50vw; height: 40vw; right: -18vw; top: 4%; opacity: .26; }
.leak--contact { width: 60vw; height: 40vw; right: -20vw; bottom: 10%; opacity: .3; }
@keyframes leak { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(-6vw, 5vw) scale(1.25); } }
@keyframes grain {
  0% { transform: translate(0, 0); } 20% { transform: translate(-8%, 4%); } 40% { transform: translate(5%, -9%); }
  60% { transform: translate(-3%, 7%); } 80% { transform: translate(9%, 2%); } 100% { transform: translate(-4%, -5%); }
}

/* media: real <video>/<img> for fallback + as GL texture sources */
.media { position: relative; overflow: hidden; background: color-mix(in srgb, var(--fg) 8%, transparent); }
.media > video, .media > img { width: 100%; height: 100%; object-fit: cover; transition: opacity .6s; }
.gl-on [data-gl] { background: transparent; }
.gl-on [data-gl] > video, .gl-on [data-gl] > img { opacity: 0; }

/* hover: a slow push-in (in webgl) + a thin gold frame drawing in. image stays untouched */
.plate__media::after, .pg__media::after, .pnext__media::after, .about__fig-media::after {
  content: ""; position: absolute; inset: 14px; z-index: 2; pointer-events: none;
  border: 1px solid var(--sun); border-radius: 4px; opacity: 0; transform: scale(1.025);
  transition: opacity .9s var(--ease), transform 1.2s var(--ease);
}
.plate:hover .plate__media::after, .pg__media:hover::after, .pnext:hover .pnext__media::after, .about__fig-media:hover::after { opacity: .95; transform: scale(1); }

/* glyphs, the moodboard "emojis" */
.glyph { width: 1em; height: 1em; color: var(--fg); overflow: visible; }
.glyph--boil { filter: url(#boil); }
.glyph--inline { display: inline-block; width: .8em; height: .8em; vertical-align: -.06em; color: var(--sun); margin: 0 .08em; }

/* ---------- cursor ---------- */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none;
  width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: var(--sun); display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), margin .45s var(--ease), background-color .3s;
}
.cursor__label { font: 500 11px var(--f-mono); color: var(--on-sun); opacity: 0; transition: opacity .25s; white-space: nowrap; }
.cursor.is-big { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.cursor.is-big .cursor__label { opacity: 1; }
.cursor.is-link { width: 40px; height: 40px; margin: -20px 0 0 -20px; background: transparent; box-shadow: inset 0 0 0 1px var(--sun); }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- loader ---------- */
.loader {
  position: fixed; inset: 0; z-index: 150; background: var(--ink); color: var(--bone);
  display: grid; place-items: center; --glyph-hole: var(--ink);
}
.loader__inner { display: grid; justify-items: center; gap: 18px; }
.loader__glyph { width: 64px; height: 64px; color: var(--sun); }
.loader__count { text-transform: uppercase; color: var(--sun); font: 800 clamp(90px, 18vw, 220px)/.85 var(--f-display); overflow: hidden; font-variant-numeric: tabular-nums; }
.loader__count span { display: block; }
.loader__line { opacity: .6; margin: 0; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: calc(var(--gutter) + 8px) calc(var(--gutter) + 18px);
  color: var(--bone); transition: color .5s, padding .5s var(--ease);
}
.nav:not(.is-solid), .hero__meta, .hero__sub, .hero__title { text-shadow: 0 1px 14px rgba(30, 21, 17, .45), 0 0 2px rgba(30, 21, 17, .25); }
.nav:not(.is-solid) .nav__logo, .nav:not(.is-solid) .nav__links, .nav:not(.is-solid) .nav__time {
  background: rgba(30, 21, 17, .5); backdrop-filter: blur(14px) saturate(1.1); -webkit-backdrop-filter: blur(12px) saturate(1.1);
  border-radius: 99px; padding: 9px 16px;
}
.nav__logo, .nav__links, .nav__time { transition: background-color .5s, padding .5s var(--ease); }
.nav.is-solid { color: var(--fg); padding-top: 14px; padding-bottom: 14px; }
.nav.is-solid::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line);
}
.nav__logo { font: 800 20px/1 var(--f-display); letter-spacing: .01em; text-transform: uppercase; justify-self: start; }
.nav__logo sup { font-size: .42em; vertical-align: top; margin: 0 1px; }
.nav__links { display: flex; gap: clamp(14px, 2.4vw, 36px); font-size: 12px; }
.nav__right { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; height: 34px; padding: 0 16px;
  border-radius: 99px; background: var(--sun); color: var(--on-sun); font-size: 12px;
  transition: transform .4s var(--ease), background-color .5s, color .5s;
}
.nav.is-solid .pill { background: var(--sun); color: var(--on-sun); }
.pill:hover { transform: scale(1.05); }

[data-hover] { position: relative; display: inline-block; }
[data-hover]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--sun);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
[data-hover]:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100vh; height: 100svh; min-height: 560px;
  padding: var(--gutter); color: var(--bone); overflow: clip;
}
.hero__media { position: absolute; inset: var(--gutter); border-radius: 22px; }
.hero__meta {
  position: absolute; left: calc(var(--gutter) + 22px); right: calc(var(--gutter) + 22px);
  bottom: calc(var(--gutter) + 30px + clamp(64px, 12.6vw, 230px) * 1.78);
  display: flex; justify-content: space-between; opacity: .92;
}
.hero__title {
  position: absolute; left: calc(var(--gutter) + 14px); bottom: calc(var(--gutter) + 8px); margin: 0;
  font: 900 clamp(60px, 11vw, 210px)/.84 var(--f-display); letter-spacing: -.01em; text-transform: uppercase;
  text-shadow: 0 2px 40px rgba(20, 10, 5, .15);
}
.hero__title .line { display: block; overflow: hidden; padding: .04em .02em .06em; }
.hero__title .line > span { display: block; }
.hero__title sup { color: var(--sun); font-size: .2em; vertical-align: top; position: relative; top: .5em; margin-left: .04em; }
/* ---------- landing map ---------- */
.hero--map .hero__media {
  /* full bleed, framed by a clip that dissolves as the globe zooms in (set in map.js) */
  inset: 0; border-radius: 0; border: 0; background: transparent; overflow: hidden;
  clip-path: inset(var(--g, 20px) round var(--r, 22px));
}
.hero--map .hero__media { cursor: grab; touch-action: pan-y; }
.hero--map .hero__media.is-dragging { cursor: grabbing; }
.hero--map .hero__media.is-dragging * { user-select: none; }
.map__art { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(#000 84%, transparent); mask-image: linear-gradient(#000 84%, transparent); }
.map__frame {
  position: absolute; inset: var(--g, 20px); border-radius: var(--r, 22px); pointer-events: none; z-index: 1;
  border: 1px solid rgba(238, 231, 218, .1); opacity: var(--frame, 1);
}
/* scroll-driven globe: the section is tall, the stage stays pinned while it zooms */
.hero--map { height: 360vh; height: 360svh; padding: 0; overflow: visible; }
.hero__stage { position: sticky; top: 0; height: 100vh; height: 100svh; padding: var(--gutter); }
.map__topo, .map__base, .map__hotc { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__topo path { fill: none; stroke: rgba(238, 231, 218, .06); stroke-width: 1; vector-effect: non-scaling-stroke; }
.map__topo--hot path { stroke: rgba(235, 181, 74, .3); }
.map__hot {
  position: absolute; inset: 0; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle 26vmax at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, .45) 38%, transparent 70%);
  mask-image: radial-gradient(circle 26vmax at var(--mx, -999px) var(--my, -999px), #000 0%, rgba(0, 0, 0, .45) 38%, transparent 70%);
}
.hero--map .hero__title { left: calc(var(--gutter) + 14px); bottom: calc(var(--gutter) + 8px); z-index: 2; pointer-events: none; }
.hero--map .hero__sub { right: calc(var(--gutter) + 26px); bottom: calc(var(--gutter) + 34px); z-index: 2; pointer-events: none; }
.map__pins { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.pin { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; opacity: 0; }
.pin > * { pointer-events: none; }
.pin__dot, .pin__label { translate: 22px 22px; }
.pin__dot { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(235, 181, 74, .18); transition: transform .5s var(--ease); }
.pin__dot::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid var(--sun); animation: ping 2.6s var(--ease) infinite; }
.pin.is-near .pin__dot { transform: scale(1.35); }
.pin.is-globe .pin__label { opacity: .6; }
@keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(2.4); opacity: 0; } }
.pin__label { position: absolute; left: 14px; top: -7px; white-space: nowrap; font-size: 10px; color: var(--bone); opacity: .8; text-shadow: 0 1px 8px rgba(20, 14, 11, .9); }
.mcard {
  position: absolute; left: 0; top: 0; width: 280px; opacity: 0; visibility: hidden; transform: translateY(10px) scale(.96); transform-origin: 0 50%;
  transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s .45s; pointer-events: none;
  background: #0f0a08; border: 1px solid color-mix(in srgb, var(--sun) 30%, transparent); padding: 8px; color: var(--bone);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.mcard--photo { width: 200px; }
.mcard.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; transition: opacity .45s var(--ease), transform .6s var(--ease), visibility 0s; }
.mcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.mcard--photo .mcard__media { aspect-ratio: 4 / 5; }
.mcard__media video, .mcard__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mcard__body { display: grid; gap: 6px; padding: 12px 4px 4px; }
.mcard__kind { color: var(--sun); font-size: 10px; }
.mcard__title { font-size: 20px; line-height: .95; }
.mcard__go { font-size: 10px; opacity: .75; transition: color .4s, opacity .4s; }
.mcard:hover .mcard__go { color: var(--sun); opacity: 1; }
.map__tag {
  position: absolute; top: calc(var(--gutter) + 72px); z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px;
  font-size: 11px; color: var(--bone); background: rgba(30, 21, 17, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.map__tag--tl { left: calc(var(--gutter) + 22px); } .map__tag--tr { right: calc(var(--gutter) + 22px); }
.map__hint {
  position: absolute; left: 50%; top: calc(var(--gutter) + 72px); transform: translateX(-50%); z-index: 4; display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; color: var(--bone); padding: 8px 14px; border-radius: 99px; background: rgba(30, 21, 17, .55); pointer-events: none; white-space: nowrap;
}
.map__hint-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sun); animation: rec 1.4s infinite; }
.vf { position: absolute; inset: var(--gutter); pointer-events: none; z-index: 2; }
.vf__tag {
  position: absolute; top: 92px; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 99px;
  font-size: 11px; color: var(--bone); background: rgba(30, 21, 17, .38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-variant-numeric: tabular-nums;
}
.vf__tag--tl { left: 22px; }
.vf__tag--tr { right: 22px; }
.vf__k { color: var(--sun); }
.vf__side {
  position: absolute; right: 22px; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font-size: 10.5px; letter-spacing: .08em; color: var(--bone); padding: 12px 7px; border-radius: 99px;
  background: rgba(30, 21, 17, .38); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.hero__sub {
  position: absolute; right: calc(var(--gutter) + 26px); bottom: calc(var(--gutter) + 34px);
  max-width: 330px; margin: 0; font-size: clamp(20px, 1.7vw, 27px); line-height: 1.12; text-align: right; font-style: italic;
}
.hero__card {
  position: absolute; right: calc(var(--gutter) + 22px); bottom: calc(var(--gutter) + 22px);
  display: flex; align-items: center; gap: 12px; padding: 7px 16px 7px 7px;
  background: color-mix(in srgb, var(--paper) 92%, transparent); color: var(--ink);
  border-radius: 16px; text-align: left; box-shadow: 0 20px 50px -20px rgba(30, 21, 17, .5);
  backdrop-filter: blur(10px); transition: transform .5s var(--ease);
}
.hero__card:hover { transform: translateY(-4px) rotate(-1deg); }
.hero__card-thumb { width: 54px; height: 54px; border-radius: 10px; overflow: hidden; flex: none; }
.hero__card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero__card-body { display: grid; gap: 2px; }
.hero__card-kicker { display: flex; align-items: center; gap: 6px; color: var(--saddle); font-size: 10px; opacity: .8; }
.hero__card-title { font: 500 15px/1.1 var(--f-sans); }
.hero__card-play { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--sun); display: grid; place-items: center; font-size: 10px; margin-left: 8px; }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--rust); animation: rec 1.4s infinite; }
@keyframes rec { 50% { opacity: .2; } }
.hero__scroll { position: absolute; left: 50%; bottom: calc(var(--gutter) + 22px); transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; }
.hero__scroll i { width: 1px; height: 40px; background: var(--sun); transform-origin: top; animation: drip 2s var(--ease) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---------- about ---------- */
.about { position: relative; overflow: clip; padding: clamp(110px, 16vw, 240px) var(--gutter) clamp(90px, 12vw, 180px); }
.about__grid {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); row-gap: clamp(60px, 8vw, 120px);
}
.about__grid > .label { grid-column: 1 / 3; padding-top: 1.2em; }
.about__text {
  grid-column: 3 / 12; margin: 0;
  font-size: clamp(34px, 4.9vw, 84px); line-height: 1.02; letter-spacing: -.02em;
}
.about__text em { font-style: italic; color: var(--sun); }
.about__text .word { display: inline-block; }
.inline-media {
  display: inline-block; width: 1.9em; height: .82em; border-radius: 999px; vertical-align: -.08em; margin: 0 .06em;
}
.about__fig { grid-column: 1 / 5; margin: 0; }
.about__right { grid-column: 6 / 13; display: flex; flex-direction: column; justify-content: space-between; gap: clamp(60px, 7vw, 110px); }
.about__aside { display: flex; justify-content: space-between; align-items: flex-start; gap: clamp(30px, 4vw, 70px); padding-top: clamp(10px, 2vw, 30px); }
.about__note { max-width: 34ch; }
.about__quote { margin: 18px 0 0; font-size: clamp(26px, 2.4vw, 42px); line-height: 1.12; letter-spacing: -.015em; font-style: italic; }
.about__sign { margin: 22px 0 0; font: 400 clamp(54px, 5vw, 84px)/.8 "Mrs Saint Delafield", cursive; color: var(--sun); transform: rotate(-5deg); transform-origin: left center; }
.badge { position: relative; flex: none; width: clamp(150px, 13vw, 210px); aspect-ratio: 1; display: grid; place-items: center; color: var(--sun); --glyph-hole: var(--bg); }
.badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 22s linear infinite; overflow: visible; }
.badge__ring text { font: 500 12.5px var(--f-mono); letter-spacing: .24em; text-transform: uppercase; fill: currentColor; }
.badge__glyph { width: 34%; height: 34%; transition: transform .9s var(--ease); }
.badge::after { content: ""; position: absolute; inset: 22%; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--sun) 40%, transparent); transition: transform .9s var(--ease), background-color .6s; }
.badge:hover .badge__ring { animation-duration: 7s; }
.badge:hover .badge__glyph { transform: rotate(-18deg) scale(1.1); }
.badge:hover::after { transform: scale(1.08); background: color-mix(in srgb, var(--sun) 10%, transparent); }
@keyframes spin { to { transform: rotate(360deg); } }
.about__fig-media { aspect-ratio: 4 / 5; border-radius: 6px; }
.about__fig figcaption { margin-top: 12px; color: var(--muted); }
.about__cols {
  align-self: stretch;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gutter);
  border-top: 1px solid var(--line); padding-top: 22px;
}
.about__cols p:not(.label) { margin: 12px 0 0; font-size: 15px; line-height: 1.5; max-width: 30ch; }

/* ---------- section heads ---------- */
.section-head {
  position: relative; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
  align-items: end; padding: 0 var(--gutter); margin-bottom: clamp(70px, 10vw, 160px);
}
.section-head .label { grid-column: 1 / 3; padding-bottom: 1.4em; }
.section-head__title { grid-column: 3 / 12; margin: 0; font-size: clamp(56px, 10.4vw, 200px); line-height: .82; letter-spacing: -.04em; white-space: nowrap; }
.section-head__title .serif { font-size: .86em; letter-spacing: -.03em; font-weight: 400; color: var(--sun); }
.section-head__glyph { grid-column: 12 / 13; justify-self: end; align-self: end; width: clamp(44px, 5.2vw, 96px); height: auto; aspect-ratio: 1; margin-bottom: .6vw; color: var(--sun); }
.split { display: inline-block; }

/* ---------- brands ---------- */
.brands { position: relative; overflow-x: clip; padding: clamp(80px, 10vw, 150px) 0 clamp(60px, 8vw, 120px); }
.brands__head { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 0 var(--gutter); margin-bottom: 34px; }
.brands__note { margin: 0; font-style: italic; font-size: clamp(18px, 1.6vw, 24px); opacity: .75; }
.brands__strip {
  position: relative; margin: 0 -2vw; padding: 26px 0; transform: rotate(-1.6deg);
  background-color: var(--kraft); color: var(--bone); --glyph-hole: var(--kraft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9 .06' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E"); background-blend-mode: soft-light; /* paper fibers */
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
}
.brands__strip::before, .brands__strip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 18px; background-size: 640px 18px; background-repeat: repeat-x;
}
.brands__strip::before { top: -17px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='18' viewBox='0 0 640 18' preserveAspectRatio='none'%3E%3Cpath d='M0 18 L0.0 6.5 L4.2 11.1 L7.8 9.5 L13.7 2.8 L20.8 2.5 L27.2 3.0 L31.0 7.9 L40.6 3.7 L45.4 10.8 L55.9 10.1 L62.1 15.7 L65.5 14.0 L70.8 4.0 L74.8 6.3 L84.3 4.5 L91.9 10.9 L97.9 9.7 L101.4 2.8 L106.1 11.5 L112.5 6.4 L120.2 8.3 L125.6 13.1 L134.2 5.4 L141.8 9.4 L151.8 12.2 L157.1 15.7 L161.0 7.9 L170.1 4.1 L177.0 2.5 L185.3 12.7 L192.9 14.3 L198.4 11.7 L206.2 10.1 L212.8 13.8 L223.4 8.6 L231.7 2.8 L240.3 11.1 L251.2 13.5 L256.5 7.4 L264.9 2.3 L271.6 4.4 L275.5 2.8 L284.6 3.8 L289.6 7.5 L299.6 3.1 L306.2 9.7 L316.3 13.5 L326.2 5.9 L332.5 7.0 L342.6 15.4 L346.8 4.5 L351.6 5.3 L358.5 10.2 L363.6 2.1 L370.0 7.2 L377.5 15.3 L386.0 9.2 L394.0 11.5 L397.4 14.6 L406.6 14.2 L416.0 7.5 L422.2 3.4 L430.3 2.9 L433.8 4.9 L438.1 6.8 L441.5 2.0 L445.7 3.4 L451.7 2.4 L461.7 10.6 L465.8 5.5 L471.6 7.1 L475.6 13.9 L486.5 8.5 L493.4 3.2 L497.2 6.8 L502.4 13.6 L506.6 2.3 L517.3 9.4 L521.4 9.6 L524.6 9.4 L535.5 14.1 L544.0 5.7 L550.0 4.3 L559.1 9.5 L568.4 6.6 L573.2 13.4 L584.0 13.9 L593.5 13.5 L602.4 5.2 L609.6 7.0 L612.8 2.4 L618.0 5.6 L626.6 15.4 L633.1 15.1 L640.0 6.5 L640 18 Z' fill='%235a3b27'/%3E%3C/svg%3E"); }
.brands__strip::after { bottom: -17px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='18' viewBox='0 0 640 18' preserveAspectRatio='none'%3E%3Cpath d='M0 0 L0.0 15.4 L5.9 5.1 L10.7 4.8 L15.4 10.7 L25.6 13.8 L32.4 11.1 L41.8 3.2 L50.1 14.7 L59.3 12.5 L66.2 4.5 L75.5 6.7 L84.9 15.6 L91.1 7.6 L101.6 12.1 L106.0 3.8 L110.2 14.7 L119.7 4.0 L129.3 15.7 L137.5 6.9 L144.9 3.8 L148.0 15.6 L156.2 9.4 L166.7 8.1 L176.7 13.6 L181.4 5.5 L186.7 5.4 L194.4 5.6 L200.7 3.8 L211.0 7.0 L217.7 10.2 L227.9 7.9 L238.3 9.0 L245.5 9.3 L248.7 8.2 L253.1 2.1 L262.5 4.4 L269.3 12.2 L276.8 6.6 L283.9 9.8 L293.2 3.5 L300.7 5.5 L305.9 12.8 L312.9 9.9 L322.0 14.8 L328.6 10.6 L335.6 9.2 L344.2 8.3 L351.4 8.7 L362.0 11.8 L372.0 15.2 L377.0 9.8 L387.6 13.8 L391.7 3.7 L398.2 3.0 L403.2 3.0 L411.5 13.0 L421.7 4.2 L430.4 11.2 L434.6 14.4 L445.3 5.1 L455.9 7.6 L462.8 15.9 L472.5 4.3 L478.9 9.2 L484.6 4.7 L490.2 12.1 L493.3 9.8 L499.9 2.3 L505.5 10.7 L512.6 2.9 L523.5 13.0 L534.3 3.5 L539.4 2.6 L548.6 5.8 L552.7 7.9 L563.0 13.5 L568.0 4.1 L578.4 10.0 L587.0 3.3 L590.4 11.6 L596.8 3.0 L607.3 10.9 L616.8 3.2 L626.6 2.9 L636.5 8.4 L640.0 15.4 L640 0 Z' fill='%235a3b27'/%3E%3C/svg%3E"); }
.brands__row { overflow: hidden; padding: 14px 0; }
.brands__row + .brands__row { border-top: 1px dashed color-mix(in srgb, var(--bone) 22%, transparent); }
.brands__track { display: flex; align-items: center; width: max-content; will-change: transform; }
.logo {
  flex: none; width: clamp(96px, 10vw, 150px); height: clamp(38px, 4vw, 56px); margin: 0 clamp(22px, 2.6vw, 44px);
  background: var(--bone); opacity: .82;
  -webkit-mask-position: center; mask-position: center; -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  transition: background-color .35s, opacity .35s, transform .6s var(--ease);
}
.logo:hover { background: var(--sun); opacity: 1; transform: scale(1.12) rotate(-3deg); }
.logo--beaver-creek { width: clamp(110px, 11vw, 160px); height: clamp(52px, 5vw, 76px); }
.logo--nascar, .logo--formula-drift, .logo--youngla { width: clamp(120px, 12vw, 180px); }
.logo-sep { flex: none; width: 12px; height: 12px; color: var(--sun); opacity: .7; }

/* ---------- featured work (home): inset panels ---------- */
.featured { padding: clamp(80px, 10vw, 160px) 0 clamp(120px, 14vw, 220px); }
.featured__list { padding: 0 var(--gutter); display: grid; gap: clamp(90px, 11vw, 180px); }
.plate {
  --pad: clamp(18px, 2vw, 32px);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--pad);
  padding: var(--pad); background: #17100c; border: 1px solid color-mix(in srgb, var(--bone) 9%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--bone) 5%, transparent), 0 40px 80px -50px rgba(0, 0, 0, .8);
  transition: border-color .8s var(--ease);
}
.plate:hover { border-color: color-mix(in srgb, var(--sun) 35%, transparent); }
.plate--film { grid-column: 1 / -1; }
.plate--film .plate__side { grid-column: 1 / 5; }
.plate--film .plate__frame { grid-column: 5 / 13; }
.plate--film .plate__media { aspect-ratio: 16 / 9; }
.plate--photo { width: min(100%, 1180px); margin-left: auto; }
.plate--photo .plate__frame { grid-column: 1 / 6; grid-row: 1; }
.plate--photo .plate__side { grid-column: 7 / 13; grid-row: 1; }
.plate--photo .plate__media { aspect-ratio: 4 / 5; }

.plate__side { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 4px 0; }
.plate__index { display: flex; justify-content: space-between; color: var(--sun); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.plate__title { margin: 0; font-size: clamp(34px, 3.4vw, 64px); line-height: .92; letter-spacing: -.03em; transition: color .6s var(--ease); }
.plate__line { margin: 16px 0 0; font-size: clamp(18px, 1.4vw, 22px); line-height: 1.2; font-style: italic; opacity: .8; max-width: 28ch; }
.plate__meta { margin: 0; border-top: 1px solid var(--line); }
.plate__meta div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.plate__meta dt { color: var(--muted); }
.plate__meta dd { margin: 0; text-align: right; }
.plate__frame { display: flex; flex-direction: column; gap: 12px; }
.plate__media { display: block; border-radius: 2px; background: #0d0907; }
.plate__media > video, .plate__media > img { transition: transform 1.6s var(--ease); }
.plate:hover .plate__media > video, .plate:hover .plate__media > img { transform: scale(1.045); }
.plate__cap { display: flex; justify-content: space-between; color: var(--muted); }
.plate__coords { font-weight: 400; color: var(--sun); opacity: .8; }
.plate__go { color: var(--bone); transition: color .5s; }
.plate__go i { font-style: normal; display: inline-block; transition: transform .8s var(--ease); }
.plate:hover .plate__title, .plate:hover .plate__go { color: var(--sun); }
.plate:hover .plate__go i { transform: translateX(6px); }

.allwork {
  display: grid; grid-template-columns: 1fr auto; align-items: end; row-gap: 14px;
  padding: clamp(40px, 5vw, 70px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.allwork__label { grid-column: 1 / -1; color: var(--sun); }
.allwork__text { font-size: clamp(46px, 8vw, 150px); line-height: .9; letter-spacing: -.04em; transition: transform 1s var(--ease), color .6s; }
.allwork__count { font: 400 .22em var(--f-mono); vertical-align: top; color: var(--sun); letter-spacing: 0; }
.allwork__arrow { font: 400 clamp(40px, 6vw, 110px)/1 var(--f-serif); color: var(--sun); transition: transform 1s var(--ease); }
.allwork:hover .allwork__text { transform: translateX(1.5vw); color: var(--sun); }
.allwork:hover .allwork__arrow { transform: translateX(1vw); }

/* ---------- curtain (page transitions) ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 145; background: var(--ink); color: var(--bone);
  display: grid; place-content: center; justify-items: center; gap: 18px; pointer-events: none;
  clip-path: inset(100% 0 0 0); --glyph-hole: var(--ink);
}
.is-page .curtain { clip-path: inset(0 0 0 0); }
.curtain__glyph { width: 54px; height: 54px; color: var(--sun); }
.curtain__title { margin: 0; font-size: clamp(34px, 5vw, 80px); letter-spacing: -.03em; text-align: center; padding: 0 var(--gutter); }

/* ---------- work index ---------- */
.windex { padding: clamp(150px, 20vw, 260px) var(--gutter) clamp(120px, 14vw, 220px); }
.windex__title { margin: 22px 0 0; font-size: clamp(90px, 17vw, 320px); line-height: .8; letter-spacing: -.05em; }
.windex__title .serif { color: var(--sun); font-size: .88em; }
.windex__count { font-size: 14px; letter-spacing: 0; vertical-align: top; color: var(--sun); }
.windex__bar { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin: clamp(40px, 5vw, 80px) 0 clamp(50px, 6vw, 90px); }
.windex__line { margin: 0; max-width: 36ch; font-size: clamp(20px, 1.7vw, 27px); line-height: 1.2; font-style: italic; opacity: .85; }
.windex__filters { display: flex; gap: 6px; }
.windex__filters button { height: 36px; padding: 0 16px; border-radius: 99px; border: 1px solid var(--line); font: inherit; transition: background-color .4s, color .4s, border-color .4s; }
.windex__filters button:hover { border-color: var(--sun); }
.windex__filters button.is-on { background: var(--sun); color: var(--on-sun); border-color: var(--sun); }
.windex__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); }
.row a {
  display: grid; grid-template-columns: 60px 1fr 200px 90px 60px; align-items: center; gap: 20px;
  padding: clamp(22px, 2.4vw, 38px) 0; position: relative;
}
.row__num, .row__type, .row__kind, .row__year { color: var(--muted); transition: color .5s; }
.row__year { text-align: right; }
.row__title { font-size: clamp(34px, 4.6vw, 86px); line-height: .95; letter-spacing: -.03em; transition: transform .9s var(--ease), color .5s; }
.row__thumb { display: none; }
.row a:hover .row__title { transform: translateX(28px); color: var(--sun); }
.row a:hover .row__num, .row a:hover .row__type, .row a:hover .row__year { color: var(--bone); }

/* ---------- project page ---------- */
.ph { padding: clamp(140px, 17vw, 230px) var(--gutter) clamp(60px, 8vw, 110px); position: relative; }
.ph__top { display: flex; justify-content: space-between; align-items: center; }
.ph__back { color: var(--bone); opacity: .8; }
.ph__title { margin: clamp(24px, 3vw, 44px) 0 0; font-size: clamp(64px, 11.5vw, 220px); line-height: .84; letter-spacing: -.045em; max-width: 14ch; }
.ph__title .line { padding-bottom: .06em; }
.ph__line { margin: 26px 0 0; font-size: clamp(22px, 2vw, 32px); font-style: italic; line-height: 1.15; max-width: 32ch; color: var(--sun); }
.ph__meta { display: grid; grid-template-columns: repeat(4, 1fr) 1.3fr; gap: var(--gutter); margin: clamp(50px, 6vw, 90px) 0 clamp(30px, 3vw, 46px); }
.ph__meta div { border-top: 1px solid var(--line); padding-top: 14px; }
.ph__meta dt { color: var(--muted); margin-bottom: 6px; }
.ph__meta dd { margin: 0; font-size: 12px; }
.ph__map dd { display: grid; gap: 8px; }
.locator { width: 100%; max-width: 220px; height: auto; overflow: visible; }
.locator path { fill: none; vector-effect: non-scaling-stroke; }
.lc-inner { stroke: rgba(238, 231, 218, .18); stroke-width: .6; stroke-dasharray: 1.5 2.5; }
.lc-outer { stroke: rgba(238, 231, 218, .6); stroke-width: 1; }
.lc-pin { fill: var(--sun); }
.lc-ring { fill: none; stroke: var(--sun); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: ping 2.6s var(--ease) infinite; }
.locator__c { color: var(--sun); font-size: 10px; }
.ph__cover { aspect-ratio: 16 / 9; border-radius: 10px; }
.ph--photo .ph__cover { aspect-ratio: 4 / 5; width: min(100%, 680px); margin-left: auto; }
.ph__bar { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); margin-top: clamp(22px, 2.4vw, 36px); }
.ph__bar-label { color: var(--muted); white-space: nowrap; }
.ph__bar-line { flex: 1; height: 1px; background: var(--line); transform-origin: left; }
.ph__watch { flex: none; }

.pstory {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter);
  padding: clamp(100px, 13vw, 220px) var(--gutter);
}
.pstory .label { grid-column: 1 / 4; padding-top: 1em; }
.pstory__text { grid-column: 4 / 12; margin: 0; font-size: clamp(30px, 3.6vw, 64px); line-height: 1.06; letter-spacing: -.02em; }

.pgallery { padding: 0 var(--gutter) clamp(120px, 14vw, 220px); }
.pg { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); margin-bottom: clamp(90px, 12vw, 200px); }
.pg__fig { margin: 0; }
.pg__media { border-radius: 4px; }
.pg__fig figcaption { margin-top: 14px; color: var(--muted); }
.pg--full .pg__fig { grid-column: 1 / -1; } .pg--full .pg__media { aspect-ratio: 16 / 9; }
.pg--wide .pg__fig { grid-column: 2 / 12; } .pg--wide .pg__media { aspect-ratio: 21 / 9; }
.pg--left .pg__fig { grid-column: 2 / 7; } .pg--left .pg__media { aspect-ratio: 4 / 5; }
.pg--right .pg__fig { grid-column: 7 / 12; } .pg--right .pg__media { aspect-ratio: 4 / 5; }
.pg--pair { align-items: start; }
.pg--pair .pg__fig:first-child { grid-column: 1 / 6; } .pg--pair .pg__fig:first-child .pg__media { aspect-ratio: 4 / 5; }
.pg--pair .pg__fig:last-child { grid-column: 7 / 13; margin-top: 18vh; } .pg--pair .pg__fig:last-child .pg__media { aspect-ratio: 4 / 5; }
.pg--quote {
  display: block; margin-left: auto; margin-right: auto; max-width: 22ch; text-align: center;
  font-size: clamp(32px, 4.4vw, 76px); line-height: 1.05; letter-spacing: -.02em; font-style: italic;
}
.pg--quote .glyph { width: 30px; height: 30px; margin: 0 auto 28px; color: var(--sun); }

.pnext {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end;
  padding: clamp(100px, 12vw, 200px) var(--gutter); border-top: 1px solid var(--line);
}
.pnext .label { grid-column: 1 / -1; margin-bottom: 26px; }
.pnext__title { grid-column: 1 / 8; font-size: clamp(56px, 9vw, 170px); line-height: .86; letter-spacing: -.045em; transition: color .6s, transform 1s var(--ease); }
.pnext__media { grid-column: 9 / 13; aspect-ratio: 4 / 5; display: block; border-radius: 6px; }
.pnext__meta { grid-column: 1 / 8; margin-top: 22px; color: var(--muted); }
.pnext:hover .pnext__title { color: var(--sun); transform: translateX(1vw); }

.btn-sun {
  display: inline-flex; align-items: center; gap: 12px; height: 54px; padding: 0 26px; border-radius: 99px;
  background: var(--sun); color: var(--on-sun); font: 500 15px var(--f-sans);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.btn-sun span { transition: transform .6s var(--ease); }
.btn-sun:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px color-mix(in srgb, var(--sun) 60%, transparent); }
.btn-sun:hover span { transform: translate(3px, -3px) rotate(45deg); }

/* ---------- booking: send a postcard ---------- */
.mail { position: relative; padding: clamp(120px, 14vw, 220px) var(--gutter); }
.mail__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: center; }
.mail__intro { grid-column: 1 / 5; }
.mail__title { margin: 22px 0 0; font-size: clamp(64px, 8vw, 150px); line-height: .84; letter-spacing: -.02em; }
.mail__title .serif { color: var(--sun); font-size: .92em; }
.mail__line { margin: 26px 0 40px; max-width: 32ch; font-size: clamp(19px, 1.5vw, 24px); line-height: 1.22; font-style: italic; opacity: .85; }
.svcs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc { border-bottom: 1px solid var(--line); }
.svc__btn {
  width: 100%; display: grid; grid-template-columns: 34px 1fr auto; column-gap: 14px; row-gap: 4px; align-items: center; text-align: left;
  padding: 16px 0; color: var(--bone); --glyph-hole: var(--bg);
}
.svc__glyph { grid-row: 1 / 3; width: 28px; height: 28px; color: var(--bone); transition: color .4s, transform .6s var(--ease); }
.svc__name { font-size: clamp(16px, 1.3vw, 20px); line-height: 1; transition: color .4s; }
.svc__desc { grid-column: 2 / 4; font-size: 10.5px; color: var(--muted); }
.svc__price { grid-row: 1; grid-column: 3; font-size: 10px; color: var(--muted); }
.svc__btn:hover .svc__name, .svc__btn.is-on .svc__name { color: var(--sun); }
.svc__btn:hover .svc__glyph, .svc__btn.is-on .svc__glyph { color: var(--sun); transform: rotate(-10deg) scale(1.08); }
.svc__btn.is-on .svc__price::before { content: "✓ on the card · "; color: var(--sun); }

/* the card */
.pc { grid-column: 6 / 13; perspective: 2200px; }
.pc__inner { display: grid; transform-style: preserve-3d; transition: transform 1.2s cubic-bezier(.65, 0, .35, 1); }
.pc.is-flipped .pc__inner { transform: rotateY(180deg); }
.pc__face {
  grid-area: 1 / 1; position: relative; aspect-ratio: 3 / 2; border-radius: 6px; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 60px 100px -50px rgba(0, 0, 0, .85), 0 20px 30px -20px rgba(0, 0, 0, .5);
}
.pc__front { background: #140e0b; display: grid; grid-template-columns: 44.5% 1fr; }
.pc__photo { position: relative; overflow: hidden; }
.pc__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }
.pc__panel {
  position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(18px, 2vw, 30px) clamp(20px, 2.4vw, 36px);
  border-left: 1px solid rgba(238, 231, 218, .08);
}
.pc__front-top { color: color-mix(in srgb, var(--bone) 70%, transparent); }
.pc__greet { margin: 0; font-size: clamp(58px, 6.4vw, 118px); line-height: .8; color: var(--bone); }
.pc__greet small { display: block; font: italic 400 clamp(20px, 1.8vw, 30px)/1 var(--f-serif); text-transform: none; color: var(--sun); margin-bottom: 10px; filter: none; }
.pc__front-meta { color: var(--sun); font-size: 10px; padding-bottom: 36px; }
.pc__turn { position: absolute; right: 18px; bottom: 18px; z-index: 2; padding: 9px 14px; border-radius: 99px; color: var(--bone); background: rgba(20, 14, 11, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background-color .4s, color .4s; }
.pc__turn:hover { background: var(--sun); color: var(--on-sun); }

.pc__back {
  transform: rotateY(180deg); --ink-c: #2b1a10; --pen: #22335c; color: var(--ink-c);
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; padding: clamp(18px, 2vw, 28px);
  background-color: #e9dcc0;
  background-image:
    radial-gradient(ellipse at 12% 8%, rgba(140, 90, 35, .18), transparent 40%),
    radial-gradient(ellipse at 90% 95%, rgba(140, 90, 35, .16), transparent 35%),
    radial-gradient(ellipse at center, transparent 55%, rgba(110, 68, 28, .3) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .22 0 0 0 0 .1 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.pc__back::before { content: ""; position: absolute; top: 8%; bottom: 8%; left: 53.5%; border-left: 1px solid rgba(43, 26, 16, .3); }
.pc__write { display: flex; flex-direction: column; gap: 10px; padding-right: clamp(18px, 2vw, 30px); min-width: 0; }
.pc__dear { margin: 0; font: 600 clamp(24px, 2vw, 32px)/1 "Caveat", cursive; color: var(--pen); }
.pc__hand {
  font: 500 clamp(19px, 1.5vw, 24px)/1.25 "Caveat", cursive; color: var(--pen); background: transparent; border: 0; outline: none; width: 100%; padding: 2px 0;
  border-bottom: 1px dashed rgba(43, 26, 16, .35); border-radius: 0; -webkit-appearance: none; appearance: none;
}
.pc__hand::placeholder { color: rgba(34, 51, 92, .38); }
.pc__hand:focus { border-bottom-color: var(--pen); }
.pc__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.pc__msg { resize: none; border: 0; line-height: 30px; min-height: 120px; background: repeating-linear-gradient(transparent 0 29px, rgba(43, 26, 16, .22) 29px 30px); }
/* "pick one" shows in red until a season is chosen */
select.pc__hand:invalid { color: #b3321a; border-bottom: 1.5px dashed #b3321a; }
select.pc__hand option { color: #22335c; }
select.pc__hand:invalid option[value=""] { color: #b3321a; }
select.pc__hand { cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%2322335c'/%3E%3C/svg%3E") no-repeat right 2px center; padding-right: 16px; }
.pc__k { display: block; font-size: 9.5px; color: rgba(43, 26, 16, .6); margin-bottom: 2px; }
.pc__re { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.pc__re .pc__k { display: inline; margin: 0 2px 0 0; }
.pc__box { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font: 500 17px/1 "Caveat", cursive; color: var(--ink-c); }
.pc__box input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pc__box i { width: 13px; height: 13px; border: 1.5px solid var(--ink-c); position: relative; flex: none; }
.pc__box input:checked + i::after { content: "✓"; position: absolute; left: 0; top: -9px; font: 600 20px/1 "Caveat", cursive; color: var(--pen); }
.pc__box input:focus-visible + i { outline: 2px solid var(--pen); outline-offset: 2px; }
.pc__row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 16px; }
.pc__line { display: block; }

.pc__addr { position: relative; padding-left: clamp(18px, 2vw, 30px); display: flex; flex-direction: column; min-width: 0; }
.pc__stamp {
  align-self: flex-end; position: relative; width: clamp(70px, 6vw, 92px); aspect-ratio: 4 / 5; padding: 5px; background: #f4ecdb;
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 70%, transparent 71%) -3px -3px / 7px 7px, linear-gradient(#000, #000) 3px 3px / calc(100% - 6px) calc(100% - 6px) no-repeat;
  mask: radial-gradient(circle at 50% 50%, #000 70%, transparent 71%) -3px -3px / 7px 7px, linear-gradient(#000, #000) 3px 3px / calc(100% - 6px) calc(100% - 6px) no-repeat;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transform: rotate(3deg);
}
.pc__stamp img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.pc__stamp-v { position: absolute; left: 9px; top: 7px; font-size: 11px; font-weight: 500; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.pc__stamp-c { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font-size: 7px; color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.pc__postmark { position: absolute; right: clamp(40px, 4vw, 60px); top: clamp(26px, 3vw, 44px); width: clamp(84px, 7.5vw, 112px); overflow: visible; opacity: .35; transform: rotate(-14deg); transition: opacity .3s; pointer-events: none; }
.pc__postmark circle { fill: none; stroke: #8f2f17; stroke-width: 2.2; }
.pc__postmark text { fill: #8f2f17; font-family: var(--f-mono); text-transform: uppercase; }
.pm-ring-t { font-size: 8px; letter-spacing: .1em; }
.pm-place { font-size: 12px; font-weight: 500; }
.pm-date { font-size: 7.5px; letter-spacing: .08em; }
.pc__postmark.is-cancelled { opacity: .88; filter: url(#ink); }
.pc__waves { position: absolute; right: -6px; top: clamp(36px, 3.6vw, 56px); width: clamp(110px, 10vw, 150px); opacity: 0; pointer-events: none; }
.pc__waves path { fill: none; stroke: #8f2f17; stroke-width: 2; opacity: .85; }
.pc__postmark.is-cancelled + .pc__waves { opacity: 1; }
.pc__to { margin-top: auto; display: grid; gap: 0; }
.pc__to span { font: 500 clamp(17px, 1.4vw, 22px)/1.6 "Caveat", cursive; color: var(--ink-c); border-bottom: 1px solid rgba(43, 26, 16, .3); padding: 0 2px; }
.pc__actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 16px; }
.pc__send { height: 44px; padding: 0 20px; font-size: 14px; }
.pc__turn--back { position: static; background: transparent; color: rgba(43, 26, 16, .7); padding: 6px 0; backdrop-filter: none; }
.pc__turn--back:hover { background: transparent; color: var(--ink-c); }
.pc__status { margin: 18px 0 0; min-height: 1.4em; color: var(--muted); text-align: right; }
.pc__status.is-warn { color: var(--sun); }
.pc__again { font: inherit; color: var(--sun); text-decoration: underline; margin-left: 8px; }

/* ---------- contact ---------- */
.contact { position: relative; color: var(--bone); padding-top: clamp(40px, 6vw, 90px); overflow: hidden; }
.marquee { font-size: clamp(56px, 9vw, 160px); white-space: nowrap; overflow: hidden; padding: .1em 0; border-block: 1px solid color-mix(in srgb, var(--bone) 16%, transparent); }
.marquee__track { display: inline-flex; align-items: center; will-change: transform; }
.marquee__track > * { margin-right: .35em; }
.marquee .glyph { width: .62em; height: .62em; color: var(--sun); flex: none; }
.marquee span:nth-of-type(3n+2) { font-family: var(--f-serif); font-style: italic; letter-spacing: -.02em; }

.contact__body { padding: clamp(100px, 14vw, 220px) var(--gutter) clamp(80px, 10vw, 150px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); }
.contact__body > .label { grid-column: 1 / 3; padding-top: 1.6em; }
.contact__title { grid-column: 3 / 13; margin: 0; font-size: clamp(60px, 10vw, 190px); line-height: .86; letter-spacing: -.04em; }
.contact__title .serif { color: var(--sun); font-size: .92em; }
.contact__mail {
  grid-column: 3 / 13; margin-top: clamp(50px, 6vw, 90px); display: inline-flex; align-items: center; justify-self: start; gap: .3em;
  font: 400 clamp(26px, 3.6vw, 64px)/1 var(--f-serif); letter-spacing: -.02em;
  border-bottom: 1px solid color-mix(in srgb, var(--bone) 35%, transparent); padding-bottom: 10px; position: relative;
}
.contact__mail-arrow { display: inline-block; transition: transform .6s var(--ease); color: var(--sun); }
.contact__mail:hover .contact__mail-arrow { transform: translate(6px, -6px) rotate(45deg); }
.contact__mail.is-copied .contact__mail-text::after { content: " copied"; font-family: var(--f-mono); font-size: 12px; color: var(--sun); vertical-align: middle; }
.contact__links { grid-column: 3 / 13; display: flex; gap: 28px; margin-top: 40px; font-size: 13px; }

.footer { padding: 0 var(--gutter) var(--gutter); }
.footer__row { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid color-mix(in srgb, var(--bone) 16%, transparent); padding: 18px 0; opacity: .75; }
.footer__row b { font-weight: 500; }
.to-top { font: inherit; }
.footer__word {
  margin: 0; font-size: 15.2vw; font-weight: 900; line-height: .82; letter-spacing: -.01em; text-align: center; white-space: nowrap;
  color: var(--sun); padding-top: .04em; user-select: none;
}
.footer__word .char { display: inline-block; }

/* ---------- player ---------- */
.player {
  position: fixed; inset: 0; z-index: 140; background: rgba(20, 13, 10, .94); color: var(--bone);
  display: grid; place-items: center; padding: 70px var(--gutter) var(--gutter);
  backdrop-filter: blur(8px);
}
.player[hidden] { display: none; }
.player__video { width: min(100%, 1400px); max-height: 78vh; border-radius: 10px; background: #000; }
.player__title { position: absolute; left: var(--gutter); top: 22px; margin: 0; font-size: 26px; }
.player__close { position: absolute; right: var(--gutter); top: 26px; font-size: 12px; padding: 8px 14px; border-radius: 99px; border: 1px solid color-mix(in srgb, var(--bone) 30%, transparent); }
.player__close:hover { background: var(--bone); color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 900px) { .route { display: none; } }

@media (max-width: 1100px) {
  .mail__intro, .pc { grid-column: 1 / -1; }
  .pc { margin-top: 70px; }
  .about__right { grid-column: 1 / 13; }
  .about__fig { grid-column: 1 / 7; }
}

@media (max-width: 760px) {
  .pc__face { aspect-ratio: auto; }
  .pc__front { min-height: 360px; grid-template-columns: 1fr 1fr; }
  .pc__greet { font-size: 13vw; }
  .pc__back { grid-template-columns: 1fr; gap: 22px; }
  .pc__back::before { display: none; }
  .pc__addr { padding-left: 0; min-height: 150px; }
  .pc__write { padding-right: 0; }
  .pc__to { margin-top: 12px; }
  .ph__meta { grid-template-columns: 1fr 1fr; row-gap: 22px; }
  .ph__map { grid-column: 1 / -1; }
  .hide-sm { display: none; }
  .brands__head { flex-direction: column; align-items: start; }
  .dust { opacity: .4; }
  .nav { grid-template-columns: auto 1fr; padding: 22px calc(var(--gutter) + 12px); }
  .nav__links { display: none; }
  .nav__time { display: none; }
  .hero { padding: 10px; }
  .hero__media { inset: 10px; border-radius: 18px; }
  .hero__meta { top: 84px; bottom: auto; left: 26px; right: 26px; }
  .hero__title { left: 22px; bottom: 40px; font-size: clamp(64px, 21vw, 120px); }
  .hero__sub { left: 26px; right: auto; top: 118px; bottom: auto; text-align: left; font-size: 20px; max-width: 250px; }
  .hero__card { left: 22px; right: 22px; bottom: 26px; }
  .hero__card-title { font-size: 14px; }
  .hero__card-play { margin-left: auto; }
  .hero__scroll { display: none; }
  .hero--map .hero__title { left: 22px; bottom: 80px; font-size: 16.5vw; }
  .map__tag--tl { display: none; }
  .hero--map .hero__sub { left: 26px; right: auto; top: 122px; bottom: auto; }
  .map__tag { top: 80px; font-size: 10px; padding: 6px 10px; } .map__tag--tl { left: 22px; } .map__tag--tr { right: 22px; }
  .map__hint { top: auto; bottom: 30px; font-size: 10px; }
  .mcard { width: 200px; } .mcard--photo { width: 170px; }
  .vf__tag { top: 78px; font-size: 10px; padding: 6px 10px; }
  .vf__tag--tl { left: 16px; } .vf__tag--tr { right: 16px; }
  .vf__side { display: none; }

  .about__grid > .label, .about__text, .about__fig, .about__right { grid-column: 1 / -1; }
  .about__aside { flex-direction: column; }
  .badge { align-self: flex-end; margin-top: -40px; }
  .about__text { font-size: clamp(32px, 9vw, 48px); }
  .about__fig { max-width: 78%; }
  .about__cols { grid-template-columns: 1fr; gap: 28px; }

  .section-head .label, .section-head__title { grid-column: 1 / -1; }
  .section-head .label { padding-bottom: 16px; }
  .section-head__title { grid-column: 1 / 11; font-size: clamp(48px, 14vw, 90px); }
  .section-head__glyph { grid-column: 11 / 13; grid-row: 2; }

  .plate { grid-template-columns: 1fr; row-gap: 22px; }
  .plate .plate__side, .plate .plate__frame { grid-column: 1 / -1 !important; grid-row: auto !important; }
  .plate__side { gap: 24px; }
  .allwork { grid-template-columns: 1fr; }
  .allwork__arrow { display: none; }

  .windex__bar { flex-direction: column; align-items: start; }
  .row a { grid-template-columns: 1fr auto; gap: 14px 16px; }
  .row__num, .row__kind { display: none; }
  .row__thumb { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: 4px; }
  .row__title { grid-column: 1 / -1; }
  .row__year { text-align: right; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .grain { animation: none; }
}

/* ---------- per-project accent (e.g. way revival's red) ---------- */
[data-accent] { --on-sun: var(--bone); }

/* ---------- about: small, set like a map legend ---------- */
.about2 { padding: clamp(110px, 12vw, 190px) var(--gutter); }
.about2__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: var(--gutter); align-items: end; }
.about2__intro { grid-column: 1 / 7; }
.about2__title { margin: 22px 0 0; font-size: clamp(46px, 6vw, 104px); line-height: .9; letter-spacing: -.03em; }
.about2__title .serif { color: var(--sun); text-transform: none; }
.about2__line { margin: 28px 0 0; max-width: 34ch; font-size: clamp(19px, 1.6vw, 25px); line-height: 1.25; opacity: .85; }
.legend {
  grid-column: 8 / 13; position: relative; padding: 22px 24px 18px; font-size: 12px;
  border: 1px solid color-mix(in srgb, var(--bone) 22%, transparent); background: color-mix(in srgb, #0d0907 45%, transparent);
}
/* registration ticks on the corners, like a printed survey sheet */
.legend::before, .legend::after { content: ""; position: absolute; width: 12px; height: 12px; border: 0 solid var(--sun); }
.legend::before { top: -6px; left: -6px; border-top-width: 1px; border-left-width: 1px; }
.legend::after { bottom: -6px; right: -6px; border-bottom-width: 1px; border-right-width: 1px; }
.legend__head { display: flex; justify-content: space-between; margin: 0 0 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--sun); text-transform: uppercase; letter-spacing: .14em; font-size: 11px; }
.legend__rows { margin: 0; }
.legend__rows div { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed color-mix(in srgb, var(--bone) 12%, transparent); }
.legend__rows dt { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.legend__rows dd { margin: 0; text-align: right; }
.legend__rows a { border-bottom: 1px solid color-mix(in srgb, var(--sun) 50%, transparent); }
.legend__rows a:hover { color: var(--sun); }
.lg { width: 12px; height: 12px; flex: none; display: inline-block; position: relative; }
.lg--dot { border-radius: 50%; background: var(--sun); transform: scale(.75); }
.lg--tri { width: 0; height: 0; border: 6px solid transparent; border-bottom: 11px solid var(--bone); border-top: 0; }
.lg--dash { height: 0; border-top: 2px dashed var(--bone); }
.lg--plus::before, .lg--plus::after { content: ""; position: absolute; background: var(--sun); left: 5px; top: 0; width: 2px; height: 12px; }
.lg--plus::after { left: 0; top: 5px; width: 12px; height: 2px; }
.lg--ring { border-radius: 50%; border: 1.5px solid var(--bone); }
.legend__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; color: var(--muted); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }
.legend__scale { display: flex; height: 6px; border: 1px solid var(--muted); }
.legend__scale b { width: 16px; }
.legend__scale b:nth-child(odd) { background: var(--muted); }
@media (max-width: 900px) {
  .about2__intro, .legend { grid-column: 1 / -1; }
  .legend { margin-top: 48px; }
}
