/* Jay Jethva — version 3
   Warm charcoal page matched to the studio portrait, ivory type, one sage accent.
   Cormorant Garamond (display, light) + Inter Tight (text and small caps labels). */

:root {
  color-scheme: dark;
  --bg: #131211;
  --bg-2: #1a1917;
  --ivory: #ece7dc;
  --text: #c9c3b7;
  --dim: #8f897e;
  --line: rgba(236, 231, 220, 0.14);
  --sage: #b9c7a0;

  --serif: "Cormorant Garamond", "Cormorant", Garamond, Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 4.2vw, 64px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.5s; }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--sans); font-size: clamp(16px, 0.2vw + 15px, 17.5px); line-height: 1.7; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
/* film grain */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--sage); color: var(--bg); }
:focus-visible { outline: 1px solid var(--sage); outline-offset: 5px; border-radius: 2px; }

.wrap { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 300; color: var(--ivory); letter-spacing: -0.025em; line-height: 0.98; }
h1 { font-size: clamp(3.2rem, 9vw, 9.5rem); }
h2 { font-size: clamp(2.4rem, 5.4vw, 5.4rem); }
h3 { font-size: clamp(1.5rem, 2.3vw, 2.3rem); line-height: 1.1; letter-spacing: -0.015em; font-weight: 400; }
em { font-style: italic; }
h1 em, h2 em, .statement em { color: var(--sage); }
p { margin: 0 0 1.1em; }
.cap { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); font-weight: 500; margin: 0; }
.cap.ivory { color: var(--ivory); }
.lede { font-size: clamp(1.05rem, 1.25vw, 1.3rem); line-height: 1.6; max-width: 34em; color: var(--text); }

.u { position: relative; display: inline-block; cursor: pointer; }
.u::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.u:hover::after, .u[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.u.on::after { transform: scaleX(1); }
.u.on:hover::after { transform: scaleX(0); transform-origin: right; }

/* ---------- top bar ---------- */
.top { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; justify-content: space-between; align-items: center; padding: 22px var(--gutter); transition: transform 0.6s var(--ease), background 0.4s, padding 0.6s var(--ease); }
.top.solid { background: rgba(19, 18, 17, 0.78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); padding-block: 10px; }
.top.away { transform: translateY(-110%); }
.top .name { font-family: var(--serif); font-size: 1.45rem; color: var(--ivory); letter-spacing: -0.01em; min-height: 44px; display: inline-flex; align-items: center; }
.top nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 40px); }
.top nav a { font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ivory); font-weight: 500; min-height: 44px; display: inline-flex; align-items: center; }
.top nav a .u { pointer-events: none; }
.top nav a:hover .u::after, .top nav a[aria-current="page"] .u::after { transform: scaleX(1); transform-origin: left; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 30px; border: 1px solid rgba(236, 231, 220, 0.4); border-radius: 999px; color: var(--ivory); background: transparent; font: 500 0.72rem var(--sans); letter-spacing: 0.2em; text-transform: uppercase; cursor: pointer; position: relative; overflow: hidden; isolation: isolate; transition: color 0.5s var(--ease), border-color 0.5s; }
.btn::before { content: ""; position: absolute; inset: 0; background: var(--ivory); border-radius: inherit; transform: translateY(101%); transition: transform 0.5s var(--ease); z-index: -1; }
.btn:hover { color: var(--bg); border-color: var(--ivory); }
.btn:hover::before { transform: none; }
.btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.5; transition: transform 0.5s var(--ease); }
.btn:hover svg { transform: translate(3px, -3px); }
.btn.solid { background: var(--ivory); color: var(--bg); border-color: var(--ivory); }
.btn.solid::before { background: var(--sage); }
.btn.solid:hover { border-color: var(--sage); }
.btns { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 120px var(--gutter) clamp(28px, 4vw, 48px); overflow: hidden; }
/* two fades on two elements (side on the box, bottom on the image), so no mask-composite is needed */
.hero-img { position: absolute; top: 0; right: 0; height: 100%; width: min(58vw, 900px); z-index: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%); mask-image: linear-gradient(to right, transparent 0%, #000 45%); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%;
  -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 36%); mask-image: linear-gradient(to top, transparent 0%, #000 36%); }
.hero > *:not(.hero-img) { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(5rem, 19.5vw, 21rem); line-height: 0.78; letter-spacing: -0.045em; margin: 0 0 clamp(28px, 4vw, 56px) -0.04em; }
.hero h1 .ln { display: block; overflow: hidden; padding: 0.08em 0.06em 0.14em; margin: -0.08em -0.06em -0.14em; }
.hero h1 .ln > span { display: block; }
.hero h1 .ln:nth-child(2) { font-style: italic; padding-left: 0.5em; }
.hero-foot { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: var(--gutter); align-items: end; border-top: 1px solid var(--line); padding-top: 22px; }
.hero-foot p { margin: 0; }
.hero-foot .lede { font-size: 1rem; max-width: 30em; }
.scroll-cue { display: inline-flex; align-items: center; gap: 14px; }
.scroll-cue i { width: 1px; height: 44px; background: var(--line); position: relative; overflow: hidden; display: block; }
.scroll-cue i::after { content: ""; position: absolute; inset: 0; background: var(--ivory); transform: translateY(-100%); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 50% { transform: none; } 100% { transform: translateY(100%); } }

/* load sequence */
.js .hero h1 .ln > span { transform: translateY(112%); animation: up 1.5s var(--ease) 0.15s forwards; }
.js .hero h1 .ln:nth-child(2) > span { animation-delay: 0.3s; }
.js .hero-img { opacity: 0; transform: scale(1.08); animation: photo 2.4s var(--ease) 0.1s forwards; }
.js .hero-foot, .js .top { opacity: 0; animation: fadein 1.4s var(--ease) 0.9s forwards; }
.js .head h1 .ln { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.js .head h1 .ln > span { display: block; transform: translateY(112%); animation: up 1.4s var(--ease) 0.1s forwards; }
.js .head h1 .ln:nth-child(2) > span { animation-delay: 0.2s; }
.js .head h1 .ln:nth-child(3) > span { animation-delay: 0.3s; }
@keyframes up { to { transform: none; } }
@keyframes photo { to { opacity: 1; transform: none; } }
@keyframes fadein { to { opacity: 1; } }

/* scroll reveal */
.js .rv { opacity: 0; transform: translateY(36px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }
.js .rule { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.js .rule.in { transform: none; }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- sections ---------- */
.sec { padding-block: clamp(88px, 12vw, 200px); }
.sec.tight { padding-top: 0; }
.cols { display: grid; grid-template-columns: minmax(140px, 1fr) 3.4fr; gap: var(--gutter); }
.cols > .cap { padding-top: 0.9em; }
.statement { font-family: var(--serif); font-weight: 300; color: var(--ivory); font-size: clamp(1.9rem, 4.3vw, 4.4rem); line-height: 1.12; letter-spacing: -0.02em; margin: 0; max-width: 21em; }
.js .statement .wd { opacity: 0.16; transition: opacity 0.5s linear; }
.js .statement .wd.lit { opacity: 1; }
.about-text { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); margin-top: clamp(48px, 6vw, 96px); max-width: 1100px; }
.about-text p { margin: 0; }

.head { padding: clamp(150px, 22vh, 260px) var(--gutter) clamp(56px, 7vw, 110px); max-width: 1680px; margin-inline: auto; }
.head h1 { margin: 26px 0 0; max-width: 11em; }
.head .lede { margin-top: clamp(32px, 4vw, 56px); margin-left: auto; margin-right: clamp(0px, 14vw, 240px); }
.head-row { display: flex; justify-content: flex-end; }

/* ---------- index rows ---------- */
.idx { list-style: none; margin: 0; padding: 0; }
.idx > li { border-top: 1px solid var(--line); }
.idx > li:last-child { border-bottom: 1px solid var(--line); }
.row { display: grid; grid-template-columns: 1fr 2.2fr 1.4fr auto; gap: var(--gutter); align-items: baseline; padding: clamp(22px, 2.6vw, 38px) 0; transition: opacity 0.5s, padding 0.6s var(--ease); }
.row h3 { transition: color 0.4s, transform 0.6s var(--ease); }
.row .cap { transition: color 0.4s; }
.row .side { color: var(--dim); font-size: 0.95rem; line-height: 1.55; }
.row .arrow { width: 22px; height: 22px; stroke: var(--ivory); fill: none; stroke-width: 1; align-self: center; opacity: 0; transform: translate(-10px, 10px); transition: opacity 0.5s, transform 0.6s var(--ease); }
a.row { cursor: pointer; }
@media (hover: hover) {
  .idx.dimming:hover > li .row { opacity: 0.32; }
  .idx.dimming > li .row:hover { opacity: 1; }
  a.row:hover h3 { transform: translateX(14px); color: var(--sage); }
  a.row:hover .arrow { opacity: 1; transform: none; }
}
.row.static { grid-template-columns: 1fr 2.2fr 1.4fr; }
.row.svc { grid-template-columns: 1fr 1fr 1fr; }
.tagline { font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--dim); }
.soon { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; white-space: nowrap; align-self: center; }

.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(36px, 5vw, 72px); }

/* ---------- closing / footer ---------- */
.close { padding: clamp(88px, 12vw, 190px) var(--gutter) 0; max-width: 1680px; margin-inline: auto; }
.close .big { display: block; font-family: var(--serif); font-weight: 300; color: var(--ivory); font-size: clamp(3.6rem, 15vw, 16.5rem); line-height: 0.86; letter-spacing: -0.045em; margin: 22px 0 0 -0.04em; cursor: pointer; }
.close .big em { transition: color 0.5s; }
.close .big:hover em { color: var(--sage); }
.close .big svg { display: inline-block; width: 0.52em; height: 0.52em; stroke: currentColor; fill: none; stroke-width: 0.7; margin-left: 0.08em; transition: transform 0.8s var(--ease); }
.close .big:hover svg { transform: translate(0.08em, -0.08em); }
.foot { margin-top: clamp(56px, 8vw, 120px); border-top: 1px solid var(--line); padding: 26px var(--gutter) 34px; display: grid; grid-template-columns: 1fr auto auto; gap: var(--gutter); align-items: center; }
.foot a, .foot span { min-height: 44px; display: inline-flex; align-items: center; }
.foot nav { display: flex; gap: clamp(18px, 2.4vw, 36px); }
.foot nav a { color: var(--ivory); }

/* ---------- CV ---------- */
.role { display: grid; grid-template-columns: 1fr 3fr; gap: var(--gutter); padding: clamp(32px, 4vw, 56px) 0; border-top: 1px solid var(--line); }
.role .yr { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 1.8vw, 1.7rem); color: var(--ivory); line-height: 1.2; }
.role .org { margin: 12px 0 22px; color: var(--sage); }
.role ul { margin: 0; padding: 0; list-style: none; max-width: 46em; }
.role li { padding-left: 26px; position: relative; margin-bottom: 0.7em; }
.role li::before { content: ""; position: absolute; left: 0; top: 0.85em; width: 12px; height: 1px; background: var(--dim); }
.pairs { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gutter); }
.pair { border-top: 1px solid var(--line); padding: 28px 0 36px; }
.pair p { margin: 12px 0 0; color: var(--dim); max-width: 30em; }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { border-top: 1px solid var(--line); padding: 26px 0; display: grid; grid-template-columns: 1fr 3fr; gap: 20px; align-items: baseline; }
.plain .t { font-family: var(--serif); font-size: clamp(1.25rem, 1.7vw, 1.6rem); color: var(--ivory); line-height: 1.25; margin: 0 0 6px; max-width: 34em; }
.plain .sub { color: var(--dim); font-size: 0.95rem; }

/* ---------- article ---------- */
.article { max-width: 740px; margin: 0 auto; padding: clamp(150px, 22vh, 240px) var(--gutter) 0; }
.article h1 { font-size: clamp(2.6rem, 5.6vw, 4.8rem); line-height: 1.02; margin: 28px 0 32px; }
.article .standfirst { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.35; color: var(--ivory); margin-bottom: 56px; }
.article h2 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); line-height: 1.1; margin: 2.4em 0 0.7em; font-weight: 400; }
.article p, .article li { font-size: 1.08rem; line-height: 1.8; }
.article ul { padding-left: 1.1em; }
.article li { margin-bottom: 0.7em; }
.article li::marker { color: var(--dim); }
.article strong { color: var(--ivory); font-weight: 500; }
.article .take { margin-top: 72px; padding: 40px 0 8px 36px; border-left: 1px solid var(--sage); }
.article .take h2 { margin-top: 0; font-style: italic; color: var(--sage); }
.article .take p { font-family: var(--serif); font-size: clamp(1.35rem, 1.9vw, 1.7rem); line-height: 1.4; color: var(--ivory); }
.article .take > p:last-child { margin-bottom: 1.2em; }
.article figure { margin: 0 0 20px; }
.article figure.lead { margin-inline: clamp(-140px, -8vw, 0px); }
.article figure img { width: 100%; height: auto; border-radius: 4px; background: var(--bg-2); }
.article figure.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-inline: clamp(-140px, -8vw, 0px); margin-bottom: 56px; }
.article figure.gallery img { aspect-ratio: 1; object-fit: cover; transition: opacity 0.4s; }
.article figure.lead:last-of-type { margin-bottom: 56px; }
.article .refs { list-style: none; padding: 0; }
.article .refs li { font-size: 0.95rem; color: var(--dim); border-top: 1px solid var(--line); padding: 12px 0; margin: 0; }
.article .origin { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.95rem; color: var(--dim); }
.article .origin a { color: var(--ivory); }
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; background: var(--sage); transform: scaleX(0); transform-origin: left; z-index: 60; }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(40px, 8vw, 140px); align-items: start; }
.mail { font-family: var(--serif); font-weight: 300; color: var(--ivory); font-size: clamp(1.7rem, 3.2vw, 3rem); letter-spacing: -0.02em; overflow-wrap: anywhere; line-height: 1.1; }
.bounds { list-style: none; margin: 0; padding: 0; color: var(--dim); font-size: 0.95rem; }
.bounds li { border-top: 1px solid var(--line); padding: 14px 0; }
.form { display: grid; gap: 34px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--dim); font-weight: 500; transition: color 0.3s; }
.field:focus-within label { color: var(--sage); }
.field input, .field select, .field textarea { font: 300 clamp(1.3rem, 1.8vw, 1.7rem) var(--serif); color: var(--ivory); background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0 14px; min-height: 52px; width: 100%; transition: border-color 0.4s; }
.field select { cursor: pointer; -webkit-appearance: none; appearance: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23ece7dc' stroke-width='1'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E") right 4px center / 12px no-repeat; }
.field select option { color: #111; background: #fff; font-family: var(--sans); }
.field textarea { min-height: 140px; resize: vertical; line-height: 1.35; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sage); }
.note { font-size: 0.88rem; color: var(--dim); margin: 0; }

/* ---------- motifs: DNA helix (canvas) and leaf venation (SVG) ---------- */
.helix-band { height: clamp(110px, 12vw, 170px); -webkit-mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(to right, transparent, #000 18%, #000 82%, transparent); }
.helix-band canvas { width: 100%; height: 100%; display: block; }
.head, .close { position: relative; }
.head > *:not(.motif), .close > *:not(.leaf) { position: relative; z-index: 1; }
.head .motif { position: absolute; right: calc(var(--gutter) + 2vw); top: clamp(120px, 17vh, 190px); z-index: 0; pointer-events: none; }
canvas.helix.motif { width: 130px; height: min(62vh, 520px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 16%, #000 80%, transparent); }
.leaf { height: min(70vh, 600px); width: auto; overflow: visible; pointer-events: none; opacity: 0.6; }
.leaf.motif { transform: rotate(16deg); transform-origin: 50% 80%; }
.close { overflow: hidden; }
.close .leaf { position: absolute; right: clamp(20px, 9vw, 180px); bottom: -8%; height: min(120%, 720px); transform: rotate(-18deg); transform-origin: 50% 100%; opacity: 0.42; z-index: 0; }
.leaf path { fill: none; stroke: var(--sage); stroke-width: 1; vector-effect: non-scaling-stroke; stroke-dasharray: 1; }
.js .leaf path { stroke-dashoffset: 1; transition: stroke-dashoffset 2.6s var(--ease); transition-delay: calc(var(--i) * 80ms); }
.js .leaf.in path { stroke-dashoffset: 0; }

/* ---------- film: generated video clips, each with a poster underneath ---------- */
.film { position: relative; overflow: hidden; pointer-events: none; }
.film img, .film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.film video { opacity: 0; transition: opacity 1.4s var(--ease); }
.film video.on { opacity: 1; }
.film img { transition: opacity 1.4s var(--ease) 1.4s; }
.film.playing img { opacity: 0; }
/* clips that do not loop on their own: fade back to the poster (the first frame), restart, fade in */
.film.dissolving img { opacity: 1; transition: opacity 1.1s linear; }
.film.dissolving video.on { opacity: 0; transition: opacity 1.1s linear; }
/* band: full width, edges dissolve into the page (side fade on the box, top/bottom fade on the media) */
.film.band { height: clamp(200px, 33vw, 500px); -webkit-mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(to right, transparent, #000 16%, #000 84%, transparent); }
.film.band img, .film.band video { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 22%, #000 78%, transparent); }
/* panel: upright, beside a page headline */
.head .film.panel { position: absolute; right: var(--gutter); top: clamp(120px, 17vh, 190px); width: min(29vw, 420px); aspect-ratio: 3 / 4; z-index: 0; -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent); }
.film.panel img, .film.panel video { -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent); }
.head.with-panel h1, .head.with-panel .lede { max-width: calc(100% - 34vw); }
.head.with-panel .lede { margin-left: 0; margin-right: 0; }
/* bg: behind the closing "Let's talk", darkened on the left where the words sit */
.close.filmed { min-height: clamp(420px, 44vw, 660px); padding-bottom: clamp(48px, 6vw, 96px); display: flex; flex-direction: column; justify-content: flex-end; }
.close .film.bg { position: absolute; inset: 0; z-index: 0; }
.close .film.bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, var(--bg) 0%, rgba(19, 18, 17, 0.82) 34%, rgba(19, 18, 17, 0) 72%), linear-gradient(to bottom, var(--bg) 0%, rgba(19, 18, 17, 0) 26%, rgba(19, 18, 17, 0) 74%, var(--bg) 100%); }

/* ---------- top bar: book a call ---------- */
.top nav a.book { border: 1px solid rgba(236, 231, 220, 0.4); border-radius: 999px; padding: 0 18px; min-height: 40px; transition: background 0.4s, color 0.4s, border-color 0.4s; cursor: pointer; }
.top nav a.book:hover { background: var(--ivory); color: var(--bg); border-color: var(--ivory); }

/* ---------- booking ---------- */
.booking { display: grid; gap: 36px; margin-top: clamp(40px, 5vw, 64px); max-width: 880px; }
.booking fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.booking legend { padding: 0; margin-bottom: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { min-height: 52px; padding: 8px 20px; border: 1px solid var(--line); border-radius: 14px; background: transparent; color: var(--ivory); font: 400 1.25rem var(--serif); cursor: pointer; display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; line-height: 1.15; transition: background 0.35s, color 0.35s, border-color 0.35s; }
.chip small { font: 500 0.62rem var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); transition: color 0.35s; }
.chip:hover { border-color: var(--ivory); }
.chip[aria-pressed="true"] { background: var(--ivory); color: var(--bg); border-color: var(--ivory); }
.chip[aria-pressed="true"] small { color: #55524b; }
.booking .two { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gutter); }

/* ---------- cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ivory); mix-blend-mode: difference; pointer-events: none; z-index: 100; opacity: 0; transition: width 0.4s var(--ease), height 0.4s var(--ease), margin 0.4s var(--ease), opacity 0.3s; }
.cursor.live { opacity: 1; }
.cursor.over { width: 64px; height: 64px; margin: -32px 0 0 -32px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .cols, .contact, .about-text { grid-template-columns: 1fr; gap: 28px; }
  .cols > .cap { padding-top: 0; }
  .hero-img { width: 100%; height: 70%; -webkit-mask-image: none; mask-image: none; }
  .hero-img img { object-position: 50% 0; -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 50%); mask-image: linear-gradient(to top, transparent 0%, #000 50%); }
  .hero-foot { grid-template-columns: 1fr; gap: 14px; }
  .scroll-cue { display: none; }
  .row, .row.static, .row.svc { grid-template-columns: 1fr auto; gap: 10px 20px; }
  .row.svc > * { grid-column: 1 / -1; }
  .row > .cap, .row > .side { grid-column: 1 / -1; }
  .row .arrow { display: none; }
  .role, .plain li { grid-template-columns: 1fr; gap: 12px; }
  .pairs { grid-template-columns: 1fr; }
  .head .lede { margin-right: 0; margin-left: 0; }
  .article figure.lead, .article figure.gallery { margin-inline: 0; }
  .foot { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 1100px) { .head .motif { opacity: 0.35; } }
@media (max-width: 900px) {
  .head .film.panel { position: relative; right: auto; top: auto; width: 100%; aspect-ratio: 1; margin-top: 44px; }
  .head.with-panel h1, .head.with-panel .lede { max-width: none; }
  .film.band { height: clamp(180px, 52vw, 360px); }
  .close .film.bg img, .close .film.bg video { object-position: 85% 50%; opacity: 0.6; }
}
@media (max-width: 760px) {
  .top nav a.book { display: none; }
  .head .motif { display: none; }
  .close .leaf { opacity: 0.25; right: -40px; }
  .booking .two { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 520px) {
  .top nav { gap: 16px; }
  .top nav a { letter-spacing: 0.14em; font-size: 0.68rem; }
  .top .name { font-size: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .hero h1 .ln > span, .js .head h1 .ln > span { transform: none; }
  .js .hero-img, .js .hero-foot, .js .top, .js .rv { opacity: 1; transform: none; }
  .js .rule { transform: none; }
  .js .statement .wd { opacity: 1; }
  .js .leaf path { stroke-dashoffset: 0; }
  @view-transition { navigation: none; }
}

@media print {
  :root { color-scheme: light; --bg: #fff; --ivory: #000; --text: #222; --dim: #555; --line: #ccc; --sage: #2f4a1f; }
  body { font-size: 10.5pt; }
  body::after, .top, .foot, .close, .btns, .cursor, .progress, .motif, .helix-band, .film { display: none !important; }
  .js .rv, .js .rule, .js .head h1 .ln > span { opacity: 1 !important; transform: none !important; animation: none !important; }
  .head { padding: 0 0 14pt; }
  .head h1 { font-size: 30pt; }
  .head .lede { margin: 12pt 0 0; }
  .sec { padding-block: 12pt; }
  .cols { grid-template-columns: 1fr; gap: 6pt; }
  .role { break-inside: avoid; padding: 12pt 0; }
  .pair { padding: 8pt 0 10pt; break-inside: avoid; }
  .plain li { padding: 8pt 0; }
}
