/* Studio Nyx Media. Mobile layouts below 760px (see the max-width: 759.98px blocks). */

:root {
  --bg: #121211;
  --raised: #1c1c1a;
  --ink: #ecebe6;
  --ink-2: #c9c7c0;
  --ink-3: #9a988f;
  --muted: #6b6963;
  --unlit: #55534e;
  --rule: rgba(255, 255, 255, .14);
  --warn: #d7a08a;
  --side: clamp(16px, 3vw, 40px);
  --draw: cubic-bezier(.65, 0, .35, 1);
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
::selection { background: var(--ink); color: var(--bg); }
html[data-nyx-cur], html[data-nyx-cur] * { cursor: none !important; }
input, textarea, button { font: inherit; color: inherit; }
button { cursor: pointer; }
::placeholder { color: var(--muted); opacity: 1; }
h1, h2, h3, p { margin: 0; }
img { display: block; }

/* Type */
.mono { font: 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.mono-link { font: 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
.display { font-stretch: 68%; font-weight: 500; line-height: .88; }

/* Placeholder image: striped tone block with a caption at the bottom left. */
.ph {
  --stripe: rgba(255, 255, 255, .04);
  position: relative;
  overflow: hidden;
  background: repeating-linear-gradient(135deg, var(--stripe) 0 1px, transparent 1px 10px), var(--tone, #3d3b37);
  display: flex;
  align-items: flex-end;
  padding: 14px;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-cap { font: 11px/1.3 var(--mono); color: rgba(255, 255, 255, .66); }

/* Cursor + hover preview */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100; pointer-events: none;
  width: 84px; height: 84px; margin: -42px 0 0 -42px;
  display: none; align-items: center; justify-content: center;
  mix-blend-mode: difference;
}
html[data-nyx-cur] .cursor { display: flex; }
.cursor-dot {
  flex: none; width: 10px; height: 10px; border-radius: 50%; background: #fff;
  transition: width .45s var(--draw), height .45s var(--draw);
}
.cursor-dot.big { width: 60px; height: 60px; }
.preview {
  position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none;
  width: 280px; aspect-ratio: 4/5; margin: -140px 0 0 32px; overflow: hidden;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 10px), var(--tone, transparent);
  opacity: 0; transition: opacity .3s ease;
  display: flex; align-items: flex-end; padding: 12px;
}
.preview.on { opacity: 1; }
.preview .ph-cap { color: rgba(255, 255, 255, .7); }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Header */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  padding: 18px var(--side);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  mix-blend-mode: difference; color: var(--ink); pointer-events: none;
}
/* Logo (from snm-logo-web/snm-logo.css). The SVGs use currentColor, so it takes the header's ivory. */
:root { --snm-wordmark-height: 15px; --snm-monogram-height: 20px; }
.snm-logo { display: inline-flex; align-items: center; flex: none; color: inherit; line-height: 0; text-decoration: none; pointer-events: auto; }
.snm-logo:hover { color: inherit; }
.snm-logo svg { display: block; width: auto; flex: none; }
.snm-logo .snm-logo__wordmark { height: var(--snm-wordmark-height); aspect-ratio: 9968.6 / 714.4; }
.snm-logo .snm-logo__monogram { height: var(--snm-monogram-height); aspect-ratio: 1495.7 / 710.8; display: none; }
.snm-logo:focus-visible { outline: 1px solid currentColor; outline-offset: 6px; }
.tagline { font: 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; text-align: right; text-underline-offset: 3px; }
.tagline:hover, .tagline:focus-visible { text-decoration: underline; }

/* Bottom pill nav */
.pill-nav {
  position: fixed; z-index: 50; left: 50%; bottom: 20px; transform: translateX(-50%);
  display: flex; gap: 2px; padding: 4px;
  background: rgba(30, 30, 28, .86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .1); border-radius: 999px;
  font: 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.pill-nav a { padding: 11px 16px; border-radius: 999px; color: var(--ink-2); transition: background .3s, color .3s; }
.pill-nav a[aria-current="page"] { background: var(--ink); color: var(--bg); }

/* Footer */
.site-footer {
  padding: 18px var(--side) 96px;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  font: 13px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
  border-top: 1px solid var(--rule);
}
.site-footer div { display: flex; gap: 24px; }

/* ───────── Home ───────── */
.hero { position: relative; overflow: clip; }
.hero-photo {
  position: absolute; top: 72px; right: 4vw; width: 62vw; height: 86vh;
  transform-origin: 0 0; will-change: transform;
}
.hero-layer {
  position: absolute; inset: 0; opacity: 0;
  background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 1px, transparent 1px 10px), var(--tone);
}
.hero-layer:first-child { opacity: 1; }
.hero-layer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-text {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-start; gap: clamp(32px, 6vh, 64px);
  padding: clamp(130px, 17vh, 170px) var(--side) clamp(80px, 10vh, 108px);
  pointer-events: none;
}
.hero h1 {
  position: relative; font-stretch: 68%; font-weight: 500;
  font-size: clamp(56px, 10.4vw, 200px); line-height: .88; letter-spacing: -.01em; max-width: 13ch;
}
.hero h1 > span { display: block; }
.hero h1 .l3 { color: #b8b6ae; }
.period { display: inline-block; width: .12em; height: .12em; margin-left: .025em; background: #b8b6ae; }
.hero-intro { position: relative; max-width: 44ch; color: #d6d4cd; text-wrap: pretty; }

.reel { position: relative; }
.reel-stage {
  position: sticky; top: 0; height: 100vh; overflow-x: hidden; overflow-y: hidden;
  scroll-snap-type: x proximity;
  display: flex; flex-direction: column; justify-content: center;
}
.reel-hint { position: absolute; top: clamp(64px, 9vh, 88px); right: var(--side); }
.reel-hint .m { display: none; }
.reel-track {
  display: flex; align-items: flex-end; gap: clamp(24px, 4vw, 64px);
  padding: 0 var(--side); width: max-content; will-change: transform;
}
.reel-intro { width: 30vw; flex: none; display: flex; flex-direction: column; gap: 20px; align-self: center; }
.reel-intro h2, .reel-end { font-stretch: 68%; font-weight: 500; font-size: clamp(48px, 7vw, 128px); line-height: .88; }
.reel-end { flex: none; width: 30vw; align-self: center; }
.reel-card { flex: none; display: flex; flex-direction: column; gap: 14px; scroll-snap-align: center; }
.reel-card .ph { height: 62vh; }
.reel-meta { display: flex; gap: 16px; align-items: baseline; font: 12px/1.4 var(--mono); letter-spacing: .04em; }
.reel-meta span:first-child { text-transform: uppercase; }
.reel-meta span:last-child { color: var(--ink-3); }
.reel-bar { position: absolute; left: var(--side); right: var(--side); bottom: clamp(88px, 12vh, 120px); height: 1px; background: var(--rule); }
.reel-bar div { height: 1px; background: var(--ink); transform-origin: 0 0; transform: scaleX(0); }
/* Native sideways scroll on mobile and with reduced motion */
.reel.native .reel-stage { position: relative; height: auto; overflow-x: auto; }
.reel.native .reel-hint .d { display: none; }
.reel.native .reel-hint .m { display: inline; }
.reel.native .reel-bar { display: none; }

.services { padding: clamp(96px, 16vh, 200px) var(--side) clamp(64px, 10vh, 120px); }
.services > .mono { margin-bottom: 24px; }
.svc {
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 8px 24px; align-items: center;
  border-top: 1px solid var(--rule); padding: 22px 0 26px;
  transition: padding .45s cubic-bezier(.2, .7, .2, 1), background .3s;
}
.svc:hover { padding-left: 16px; background: rgba(255, 255, 255, .03); }
.svc h3 { font-stretch: 68%; font-weight: 500; font-size: clamp(40px, 5.4vw, 96px); line-height: .92; }
.svc p { grid-column: -2 / -1; color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }

.about {
  padding: clamp(96px, 14vh, 180px) var(--side);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 20px; row-gap: clamp(48px, 8vh, 96px);
}
.about-img-a { grid-column: 1 / 6; grid-row: 1 / 3; align-self: start; aspect-ratio: 3/4; }
.about-text { grid-column: 7 / 13; grid-row: 1; display: flex; flex-direction: column; gap: 24px; }
.home-lead {
  display: flex; flex-wrap: wrap; column-gap: .24em;
  font-stretch: 75%; font-weight: 500; font-size: clamp(30px, 3.6vw, 64px); line-height: 1.02; letter-spacing: -.01em;
}
.home-lead [data-w] { color: var(--unlit); transition: color .35s ease; }
.about-link {
  grid-column: 7 / 10; grid-row: 2; align-self: end;
  display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--rule); padding-top: 14px;
}
.about-link span:first-child { color: var(--ink-2); max-width: 30ch; text-wrap: pretty; }
.about-link span:last-child { font: 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.about-img-b { grid-column: 10 / 13; grid-row: 2; align-self: end; aspect-ratio: 3/2; }

.invite { padding: clamp(80px, 12vh, 160px) var(--side) clamp(120px, 18vh, 200px); border-top: 1px solid var(--rule); }
.invite p { margin-bottom: 28px; max-width: 40ch; color: var(--ink-2); }
.invite-mail {
  display: block; font-stretch: 62%; font-weight: 500; font-size: clamp(34px, 7vw, 132px);
  line-height: .85; letter-spacing: -.01em; overflow-wrap: anywhere;
}
.invite .mono-link { display: inline-block; margin-top: 32px; }

/* ───────── Projects ───────── */
.projects { padding: 110px var(--side) 160px; }
.projects h1 { font-stretch: 68%; font-weight: 500; font-size: clamp(64px, 11vw, 200px); line-height: .85; margin-bottom: 32px; }
.projects h1 sup {
  font: 500 clamp(13px, 1.3vw, 20px)/1 var(--mono); letter-spacing: .04em; color: var(--ink-3);
  vertical-align: top; margin-left: .4em; position: relative; top: .5em;
}
.filters {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 0 40px; border-top: 1px solid var(--rule);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 360px; }
.tag {
  display: flex; gap: 8px; align-items: center; padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; color: var(--ink-2);
  font: 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; transition: border-color .2s;
}
.tag:hover { border-color: var(--ink); color: var(--ink-2); }
.tag span { opacity: .6; }
.tag.on, .tag.on:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.view-toggle {
  display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(255, 255, 255, .09);
  font: 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.view-toggle button {
  display: flex; align-items: center; gap: 10px; border: 0; border-radius: 999px; padding: 12px 18px;
  background: transparent; color: var(--ink-2);
  transition: background .3s, color .3s;
}
.view-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.ico-list { display: grid; gap: 3px; width: 14px; }
.ico-list i { height: 1.5px; background: currentColor; }
.ico-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; width: 13px; }
.ico-grid i { aspect-ratio: 1/1; background: currentColor; }

.plist { border-bottom: 1px solid var(--rule); }
.prow {
  display: grid; grid-template-columns: 56px minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr) 56px; gap: 16px; align-items: center;
  border-top: 1px solid var(--rule); padding: 20px 8px;
  transition: background .25s, padding .4s cubic-bezier(.2, .7, .2, 1);
}
.prow:hover { background: rgba(255, 255, 255, .04); }
.prow .k, .prow .y { font: 12px/1 var(--mono); color: var(--ink-3); }
.prow .y { text-align: right; }
.prow .c { font-stretch: 75%; font-weight: 500; font-size: clamp(24px, 2.4vw, 36px); line-height: 1; }
.prow .t { color: var(--ink-2); }
.prow .tg { font: 11px/1.4 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.prow .mob { display: none; }
.prow .thumb { width: 64px; aspect-ratio: 1/1; padding: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 8px), var(--tone); }
.prow .mc { font-stretch: 75%; font-weight: 500; font-size: 22px; line-height: 1.05; }
.prow .mt { font: 11px/1.5 var(--mono); color: var(--ink-3); margin-top: 4px; }

.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 40px 16px; }
.pcard { display: flex; flex-direction: column; gap: 12px; }
.pcard .ph { aspect-ratio: 4/5; padding: 12px; }
.pcard-a { display: flex; justify-content: space-between; gap: 12px; font: 11px/1.5 var(--mono); letter-spacing: .04em; }
.pcard-a span:first-child { text-transform: uppercase; }
.pcard-a span:last-child, .pcard-b { color: var(--ink-3); }
.pcard-b { font: 11px/1.5 var(--mono); margin-top: -8px; }

/* ───────── Project detail ───────── */
.detail { padding: clamp(88px, 13vh, 120px) 0 clamp(120px, 16vh, 180px); }
.detail-in { padding: 0 var(--side); }
.detail-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px;
  font: 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3);
}
.detail-top a { color: var(--ink-2); }
.detail h1 { font-stretch: 62%; font-weight: 500; font-size: clamp(56px, 10vw, 190px); line-height: .85; letter-spacing: -.01em; }
.detail-sub { margin: 10px 0 clamp(28px, 5vh, 48px); font-stretch: 75%; font-size: clamp(24px, 2.6vw, 40px); line-height: 1.1; color: var(--ink-3); }
/* Portrait cover: capped height on the left, description and facts beside it, aligned to its foot. */
.detail-main.portrait { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.detail-main.portrait .detail-hero { height: min(80vh, 860px); width: auto; max-width: 50vw; }
.detail-main.portrait .detail-body { flex-direction: column; flex-wrap: nowrap; margin: 0; }
.detail-main.portrait .detail-desc, .detail-main.portrait .detail-facts { flex: none; }
.detail-main.portrait + .gal-head { margin-top: clamp(48px, 8vh, 96px); }
.detail-body { display: flex; flex-wrap: wrap; gap: 40px clamp(40px, 6vw, 96px); margin: clamp(48px, 8vh, 96px) 0; }
.detail-desc { flex: 2 1 340px; font-size: clamp(22px, 2.2vw, 34px); line-height: 1.22; letter-spacing: -.01em; max-width: 30ch; text-wrap: pretty; }
.detail-facts {
  flex: 1 1 260px; margin: 0; display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 14px 12px; align-content: start;
  border-top: 1px solid var(--rule); padding-top: 16px;
}
.detail-facts dt { font: 11px/1.6 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.detail-facts dd { margin: 0; }
.detail-facts .scope { display: flex; flex-direction: column; }
.detail-facts .dtags { display: flex; flex-wrap: wrap; gap: 6px; }
.detail-facts .dtags a {
  padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px;
  font: 11px/1 var(--mono); letter-spacing: .04em; text-transform: uppercase;
}
.detail-facts .dtags a:hover { border-color: var(--ink); }
.gal-head { display: flex; justify-content: space-between; margin-bottom: 16px; }
.gallery {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity;
  scroll-padding: 0 var(--side); padding: 0 var(--side);
  scrollbar-width: none; user-select: none; -webkit-user-select: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery.drag { scroll-snap-type: none; }
.gallery .ph { flex: none; height: 70vh; scroll-snap-align: start; padding: 12px; }
.gallery .ph img { pointer-events: none; }
.gallery-end { flex: none; width: 1px; }
.next { display: block; margin: clamp(80px, 14vh, 160px) var(--side) 0; border-top: 1px solid var(--rule); padding-top: 16px; }
.next-top { display: flex; justify-content: space-between; }
.next-c { display: block; margin-top: 20px; font-stretch: 62%; font-weight: 500; font-size: clamp(48px, 9vw, 170px); line-height: .85; }
.next-t { display: block; margin-top: 8px; color: var(--ink-3); }

/* ───────── Studio ───────── */
.studio {
  padding: 120px var(--side) clamp(80px, 14vh, 160px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(24px, 4vw, 64px); row-gap: clamp(40px, 7vh, 96px);
}
.studio h1 { grid-column: 1; grid-row: 1; font-stretch: 68%; font-weight: 500; font-size: clamp(52px, 8vw, 152px); line-height: .88; max-width: 12ch; }
.studio-photo { grid-column: 2; grid-row: 1 / 3; align-self: start; aspect-ratio: 3/4; overflow: hidden; will-change: transform; }
.studio-photo .ph { width: 100%; height: 100%; }
.studio-text { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: 20px; color: var(--ink-2); font-size: 17px; max-width: 640px; }
.studio-text p { text-wrap: pretty; }
.studio-lead {
  margin-bottom: 12px; display: flex; flex-wrap: wrap; column-gap: .26em;
  font-stretch: 80%; font-weight: 500; font-size: clamp(26px, 2.6vw, 40px); line-height: 1.18; color: var(--ink);
}
.studio-lead [data-w] { transition: color .35s ease; }

.process { position: relative; height: 360vh; background: var(--raised); }
.process-stage {
  position: sticky; top: 0; height: 100svh; padding: 90px var(--side) 96px;
  display: flex; flex-direction: column; justify-content: center; gap: clamp(24px, 5vh, 48px);
}
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 48px); }
.step { display: grid; grid-template-rows: auto 88px auto; }
.step h3 { align-self: end; font-stretch: 68%; font-weight: 500; font-size: clamp(28px, 2.6vw, 46px); line-height: .95; opacity: 0; }
.step p { color: var(--ink-2); max-width: 28ch; text-wrap: pretty; opacity: 0; }
.steps svg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.steps .base { stroke: rgba(255, 255, 255, .18); stroke-width: 1; }
.steps .trace { stroke: var(--ink); stroke-width: 1.5; }
.steps .node { fill: var(--raised); stroke: rgba(255, 255, 255, .4); stroke-width: 1; transition: fill .5s ease, stroke .5s ease; }
.steps .seal { fill: none; stroke: var(--ink); stroke-width: 1; opacity: 0; }
.disc {
  position: absolute; left: var(--side); right: var(--side); bottom: clamp(36px, 7vh, 72px);
  max-width: 56ch; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.35; text-wrap: pretty; opacity: 0;
}
.disc span { color: var(--ink-3); }
/* The cue and the Discretion line share one slot (they never show together), so the faded cue leaves no gap. */
.proc-foot { display: grid; place-items: start; margin-top: clamp(8px, 3vh, 32px); }
.proc-foot > * { grid-area: 1 / 1; }
.proc-hint {
  display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ink); white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .6s ease;
}
.proc-hint.on { opacity: 1; }
.proc-hint .arr { font-size: 16px; }
/* Reveal elements start hidden from the first paint; core.js (Nyx.scan) fades them in. */
.reveal [data-reveal] { opacity: 0; transform: translateY(28px); }

.still .process { height: auto; }
.still .process-stage { position: relative; height: auto; padding: clamp(64px, 10vh, 120px) var(--side); }
.still .step h3, .still .step p, .still .disc { opacity: 1; }
.still .disc { position: relative; left: auto; right: auto; bottom: auto; }
.still .proc-hint { display: none; }

.clients { padding: 0 var(--side) 180px; }
.clients .mono { margin: clamp(80px, 14vh, 160px) 0 24px; }
.clients-list { margin-bottom: 12px; font-stretch: 75%; font-size: clamp(26px, 3vw, 48px); line-height: 1.1; max-width: 30ch; }
.clients p:last-child { color: var(--ink-3); }

/* ───────── Contact ───────── */
.contact {
  padding: 120px var(--side) 160px;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start;
}
.contact-side { display: flex; flex-direction: column; gap: 24px; }
.contact h1 { font-stretch: 68%; font-weight: 500; font-size: clamp(64px, 10vw, 180px); line-height: .85; }
.contact-side p { max-width: 34ch; font-size: 17px; color: var(--ink-2); text-wrap: pretty; }
.contact-mail { margin-top: 12px; font-size: clamp(20px, 1.8vw, 24px); color: var(--ink); align-self: flex-start; }
.contact-main { max-width: 720px; width: 100%; }
.thanks { display: flex; flex-direction: column; gap: 20px; }
.thanks p:first-child { font-stretch: 68%; font-weight: 500; font-size: clamp(40px, 5vw, 80px); line-height: .95; }
.thanks p:last-child { color: var(--ink-2); font-size: 17px; }

.form { display: flex; flex-direction: column; }
.field { display: grid; grid-template-columns: 32px minmax(0, 1fr); }
.tl { position: relative; }
.tl-track, .tl-fill { position: absolute; left: 4px; top: 10px; bottom: -10px; width: 1px; transform-origin: top; transform: scaleY(0); }
.tl-track { background: rgba(255, 255, 255, .16); transition: transform 1s var(--draw) var(--d, 150ms); }
.tl-fill { background: var(--ink); transition: transform .8s var(--draw); }
.tl-node {
  position: absolute; left: 0; top: 6px; width: 9px; height: 9px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .4); background: transparent; transition: background .4s ease, border-color .4s ease;
}
.form.in .tl-track { transform: scaleY(1); }
.field.on .tl-node, .form.ready .send-row .tl-node { background: var(--ink); border-color: var(--ink); }
.form.in .field.on .tl-fill { transform: scaleY(1); }
.field.warn .tl-node { border-color: var(--warn); }
.field label { display: flex; flex-direction: column; gap: 10px; padding-bottom: 36px; }
.field-label { display: flex; justify-content: space-between; gap: 12px; }
.field-label .req { color: var(--warn); display: none; }
.field.miss .field-label .req { display: inline; }
.field-label .opt { color: var(--muted); }
.field input, .field textarea {
  width: 100%; font-size: clamp(19px, 1.7vw, 23px); color: var(--ink);
  background: linear-gradient(var(--ink), var(--ink)) left bottom / 0% 1px no-repeat;
  border: 0; border-bottom: 1px solid rgba(255, 255, 255, .22); border-radius: 0; outline: none;
  padding: 4px 0 12px; cursor: text; transition: background-size .7s var(--draw);
}
.field textarea { resize: vertical; line-height: 1.45; }
.field input:focus, .field textarea:focus { background-size: 100% 1px; }
.field-err { font-size: 13px; color: var(--warn); display: none; }
.field.bad .field-err { display: block; }
.send-row { align-items: start; }
.send-row .tl { height: 24px; }
.ring { position: absolute; left: -11.5px; top: -5.5px; width: 32px; height: 32px; overflow: visible; transform: rotate(-90deg); pointer-events: none; }
.ring circle { fill: none; stroke: var(--ink); stroke-width: 1; stroke-dasharray: 94.25; stroke-dashoffset: 94.25; transition: stroke-dashoffset 1s var(--draw) 0s; }
.form.ready .ring circle { stroke-dashoffset: 0; transition-delay: .7s; }
.send-group {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: -14px;
  transition: transform .8s var(--draw) 0s;
}
.form.ready .send-group { transform: translateX(14px); transition-delay: .7s; }
.send {
  display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
  background: transparent; color: var(--ink); padding: 16px 26px;
  font: 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  transition: background .5s ease, color .5s ease, border-color .5s ease;
}
.form.ready .send { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.send-note { font-size: 14px; color: var(--ink-3); }
.send-err { grid-column: 2; margin-top: 20px; font-size: 14px; color: var(--warn); max-width: 48ch; }
.send-err a { text-decoration: underline; text-underline-offset: 3px; }
.send[aria-busy="true"] { opacity: .6; }

/* ───────── Mobile ───────── */
@media (max-width: 759.98px) {
  .tagline { display: none; }
  .pill-nav { bottom: 12px; }
  .site-footer { padding-bottom: 88px; }

  .hero-photo { top: 64px; width: 92vw; height: 60svh; }
  .hero-text { padding-top: 132px; padding-bottom: 84px; }
  .hero-intro { max-width: calc(100% - 31vw - 16px); }
  .reel-hint { top: 0; }
  .reel-intro, .reel-end { width: 72vw; }
  .reel-card .ph { height: 56vh; }
  .svc { grid-template-columns: minmax(0, 1fr); }
  .about { row-gap: 28px; }
  .about-img-a { grid-column: 1 / 11; grid-row: 1; }
  .about-text { grid-column: 1 / -1; grid-row: 2; }
  .about-img-b { grid-column: 4 / -1; grid-row: 3; }
  .about-link { grid-column: 1 / -1; grid-row: 4; }

  .prow { grid-template-columns: 64px minmax(0, 1fr) auto; padding: 12px 0; }
  .prow .desk { display: none; }
  .prow .mob { display: block; }
  .prow .y { text-align: left; font-size: 11px; }

  .detail-main.portrait { display: block; }
  .detail-main.portrait .detail-hero { height: auto; width: min(100%, 52svh); max-width: none; }
  .detail-main.portrait .detail-body { margin: clamp(48px, 8vh, 96px) 0; }
  .gallery .ph { height: 56svh; }

  .studio { grid-template-columns: minmax(0, 1fr); }
  .studio-photo { grid-column: 1; grid-row: 2; }
  .studio-text { grid-row: 3; }
  .process-stage { padding: 70px 16px 84px; }
  .steps { display: flex; flex-direction: column; gap: 30px; padding-left: 40px; }
  .step { display: flex; flex-direction: column; gap: 8px; }
  .step [data-sline] { display: none; }
  .step h3 { font-size: 28px; line-height: 1; align-self: auto; }
  .step p { font-size: 15px; max-width: none; }
  .disc { position: relative; left: auto; right: auto; bottom: auto; font-size: 16px; }

  .contact { grid-template-columns: minmax(0, 1fr); }
}

/* The wordmark never renders narrower than 160px; below this width the monogram takes over. */
@media (max-width: 359.98px) {
  .snm-logo .snm-logo__wordmark { display: none; }
  .snm-logo .snm-logo__monogram { display: block; }
}
