/* Equant Technologies
   Layout concept: a poster studio. Dark navy "gallery walls" carry framed, numbered plates;
   an ivory "paper" band carries the reading. One frame system (corner labels + a three-part
   footer line) repeats on every poster, so the work can change while the frame stays still. */
:root {
  --ink: #06121F;
  --navy: #0B1D36;
  --navy-2: #102849;
  --navy-3: #173563;
  --paper: #F3EFE6;
  --paper-2: #E9E3D6;
  --paper-ink: #13213A;
  --paper-mute: #5B6577;
  --slate: #8E96A3;
  --slate-2: #5E6B7E;
  --tan: #CDA77B;
  --tan-2: #E2C49E;
  --line: rgba(243, 239, 230, .13);
  --line-2: rgba(243, 239, 230, .24);
  --line-paper: rgba(19, 33, 58, .16);
  --mute: #A9B1BE;
  --sans: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gut: max(clamp(20px, 4.2vw, 64px), env(safe-area-inset-left, 0px));
  --gut-r: max(clamp(20px, 4.2vw, 64px), env(safe-area-inset-right, 0px));
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--navy); color: var(--paper);
  font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--navy); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 450; letter-spacing: -0.028em; line-height: 1.06; text-wrap: balance; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--tan); outline-offset: 3px; border-radius: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--paper-ink); padding: 10px 14px; border-radius: 6px; text-decoration: none; font-weight: 500; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.wrap { max-width: 1360px; margin-inline: auto; padding-left: var(--gut); padding-right: var(--gut-r); }
.mono { font-family: var(--sans); font-size: .78rem; letter-spacing: .01em; line-height: 1.45; }
.mute { color: var(--mute); }
.tan { color: var(--tan); }

/* ---------- Grain: on imagery only, never on reading surfaces ---------- */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .16; mix-blend-mode: overlay;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; height: var(--header-h);
  background: rgba(11, 29, 54, .82); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line); transition: background .4s var(--ease), border-color .4s var(--ease);
}
.site-header.over { background: transparent; border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 30px; height: 30px; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font-weight: 500; font-size: 1.02rem; letter-spacing: .2em; }
.brand-word span { font-family: var(--sans); font-size: .52rem; letter-spacing: .48em; color: var(--tan); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 34px); }
.nav a { text-decoration: none; font-size: .9rem; color: var(--mute); transition: color .2s; padding-block: 6px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--paper); }
.nav a[aria-current="page"] { box-shadow: inset 0 -1px 0 var(--tan); }
.nav .talk { color: var(--paper); border: 1px solid var(--line-2); padding: 8px 14px; border-radius: 6px; }
.nav .talk:hover { border-color: var(--tan); }
.menu-btn { display: none; background: none; border: 1px solid var(--line-2); border-radius: 6px; padding: 7px 14px; font-size: .85rem; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--line); padding: 8px var(--gut-r) 20px var(--gut); display: none; }
  .nav.open { display: flex; }
  .nav a { font-size: 1.15rem; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--paper); }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--tan); }
  .nav .talk { border: 0; border-radius: 0; padding: 14px 0; }
}

/* ---------- Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; cursor: pointer; border: 0;
  background: var(--paper); color: var(--paper-ink); padding: 12px 19px; min-height: 48px; border-radius: 6px; font-weight: 500; font-size: .95rem;
  transition: transform .25s var(--ease), background .2s; }
.btn:hover { background: var(--tan-2); }
.btn:active { transform: translateY(1px); }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn.ghost:hover { box-shadow: inset 0 0 0 1px var(--tan); background: transparent; }
.btn.small { padding: 9px 14px; font-size: .86rem; }
.arrow::after { content: "→"; margin-left: .45em; transition: transform .25s var(--ease); display: inline-block; }
.ext::after { content: "↗"; display: inline-block; margin-left: .3em; }
.btn:hover .arrow::after, .text-link:hover.arrow::after { transform: translateX(3px); }
.text-link { text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; display: inline-flex; gap: 8px; transition: border-color .2s; }
.text-link:hover { border-color: var(--tan); }

/* ---------- The hero poster ---------- */
.hero-poster { position: relative; margin-top: calc(-1 * var(--header-h)); min-height: clamp(640px, 82svh, 960px); overflow: hidden;
  background: radial-gradient(120% 90% at 68% 42%, #183A6A 0%, #0E2547 38%, #081830 70%, var(--ink) 100%); }
.hero-poster canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-poster .frame { position: relative; z-index: 3; min-height: inherit; display: grid; grid-template-rows: 1fr auto;
  padding-top: calc(var(--header-h) + 24px); padding-bottom: clamp(28px, 4vw, 52px); }
.hero-copy { align-self: center; max-width: 44rem; padding-block: 40px; }
.hero-copy h1 { font-size: clamp(2.7rem, 6.4vw, 5.6rem); letter-spacing: -0.04em; line-height: 1.04; font-weight: 400; }
.hero-copy h1 .q { color: var(--tan); }
.hero-copy p { margin-top: 26px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: #D6DAE2; max-width: 32rem; }
.hero-copy .actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.meta-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.meta-row div { font-size: .95rem; line-height: 1.3; }
.meta-row div span { display: block; color: var(--mute); }
.meta-row a { text-decoration: none; }
.meta-row a:hover { color: var(--tan); }
.meta-row div:nth-child(2) { justify-self: center; }
.meta-row div:nth-child(3) { justify-self: end; text-align: left; }
@media (max-width: 760px) {
  .hero-poster { min-height: 700px; }
  .hero-copy { align-self: center; padding-bottom: 32px; }
  .meta-row { grid-template-columns: 1fr 1fr; }
  .meta-row div:nth-child(2) { justify-self: start; }
  .meta-row div:nth-child(3) { display: none; }
}

/* ---------- Paper (reading) band ---------- */
.paper { background: var(--paper); color: var(--paper-ink); }
.paper .mute { color: var(--paper-mute); }
.paper .text-link { border-color: var(--line-paper); }
.paper .text-link:hover { border-color: var(--tan-2); }
.paper .btn { background: var(--paper-ink); color: var(--paper); }
.paper .btn:hover { background: var(--navy-3); }
.section { padding-block: clamp(72px, 8vw, 112px); }
.section.tight { padding-block: clamp(56px, 6vw, 88px); }

.definition { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 104px); align-items: start; }
.dict { font-family: var(--mono); font-size: .86rem; color: var(--paper-mute); display: flex; gap: 14px; flex-wrap: wrap; align-items: baseline; margin-bottom: 22px; }
.dict b { font-family: var(--sans); font-weight: 500; font-size: 1.5rem; letter-spacing: -0.02em; color: var(--paper-ink); }
.definition h2 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.12; max-width: 18ch; }
.definition .body { display: grid; gap: 24px; font-size: 1.0625rem; line-height: 1.65; max-width: 35rem; padding-top: 50px; }
.definition .body p:first-child { font-size: 1.25rem; line-height: 1.5; letter-spacing: -.012em; }
.diagram { margin-top: 32px; max-width: 440px; }
.diagram svg { width: 100%; height: auto; }
@media (max-width: 860px) { .definition { grid-template-columns: 1fr; } .definition .body { padding-top: 0; } }

/* ---------- Section heads ---------- */
.head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .82fr); align-items: start; gap: 32px; margin-bottom: clamp(32px, 4vw, 48px); }
.head h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; }
.head p { max-width: 30rem; color: var(--mute); }
.paper .head p { color: var(--paper-mute); }

/* ---------- Poster plates ---------- */
.wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); }
@media (max-width: 900px) { .wall { grid-template-columns: repeat(3, minmax(240px, 78vw)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px;
  margin-right: calc(-1 * var(--gut-r)); padding-right: var(--gut-r); scrollbar-width: thin; } .wall > * { scroll-snap-align: start; } }
.plate-link { text-decoration: none; display: grid; gap: 16px; }
.plate { position: relative; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; border-radius: 3px; background: var(--ink);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 12px 30px -24px rgba(0,0,0,.6); }
.plate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .32s var(--ease); }
.plate-link:hover .plate > img { transform: scale(1.012); }
.plate .pf { position: absolute; inset: 0; z-index: 3; padding: clamp(14px, 1.6vw, 22px); display: grid; grid-template-rows: auto 1fr auto; pointer-events: none;
  color: #F6F2EA; font-size: clamp(.7rem, .9vw, .82rem); line-height: 1.25; text-shadow: 0 1px 12px rgba(0,0,0,.35); }
.pf .top { display: flex; justify-content: space-between; gap: 12px; }
.pf .top b { font-weight: 500; }
.pf .bot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pf .bot span:nth-child(2) { text-align: center; }
.pf .bot span:nth-child(3) { text-align: right; }
.plate-cap { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.plate-cap h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
.plate-cap p { color: var(--mute); font-size: .95rem; margin-top: 4px; }
.plate-cap .mono { color: var(--tan); white-space: nowrap; }

/* ---------- Services list ---------- */
.rows { border-top: 1px solid var(--line); }
.row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) auto; gap: 32px; padding-block: 32px; border-bottom: 1px solid var(--line); text-decoration: none; align-items: start; }
.row h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.row .for { display: block; margin-top: 10px; color: var(--mute); font-size: .875rem; }
.row p { color: #C9CFD9; max-width: 36rem; }
.row .go { color: var(--mute); transition: transform .3s var(--ease), color .2s; }
.row:hover .go { color: var(--tan); transform: translateX(4px); }
@media (max-width: 760px) { .row { grid-template-columns: 1fr; gap: 12px; } .row .go { display: none; } }

/* ---------- Ownership band ---------- */
.terms { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); }
.terms h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.terms ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.terms li { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1.0625rem; }

.terms .lede { margin-top: 24px; color: #C9CFD9; max-width: 28rem; }
@media (max-width: 860px) { .terms { grid-template-columns: 1fr; } }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; max-width: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.portrait .pf { position: absolute; inset: auto 0 0 0; padding: 16px 18px; display: flex; justify-content: space-between; font-size: .78rem; z-index: 3; background: linear-gradient(transparent, rgba(6,18,31,.6)); }
.founder h2 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.founder .body { margin-top: 28px; display: grid; gap: 18px; color: #C9CFD9; max-width: 34rem; font-size: 1.08rem; }
.founder .body p:first-child { color: var(--paper); font-size: 1.2rem; }
.founder .actions { margin-top: 32px; }
@media (max-width: 860px) { .founder { grid-template-columns: 1fr; } .portrait { max-width: 420px; } }

/* ---------- Email copy control ---------- */
.copy-mail { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 0; cursor: pointer; }
.copy-mail .addr { font-family: var(--sans); font-size: .95rem; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; user-select: all; }
.copy-mail .state { font-family: var(--sans); font-size: .75rem; color: var(--mute); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--mute); font-size: .9rem; }
.site-footer .wrap { padding-block: 56px max(40px, env(safe-area-inset-bottom, 0px)); display: grid; gap: 40px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.foot-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-top a { text-decoration: none; }
.foot-top a:hover { color: var(--paper); }
.foot-top .tag { margin-top: 18px; max-width: 22rem; }
.foot-bot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
@media (max-width: 760px) { .foot-top { grid-template-columns: 1fr 1fr; } .foot-top > :first-child { grid-column: 1 / -1; } }

/* ---------- Page intro (inner pages) ---------- */
.intro { padding-top: clamp(56px, 6vw, 88px); padding-bottom: clamp(48px, 6vw, 80px); }
.intro h1 { font-size: clamp(2.5rem, 5.3vw, 4.5rem); letter-spacing: -0.04em; line-height: 1.08; font-weight: 400; max-width: 21ch; }
.intro h1 .soft { color: #D0D6DF; }
.intro .lede { margin-top: 28px; font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: #C9CFD9; max-width: 38rem; }
.intro .row-meta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px 28px; color: var(--mute); }

/* ---------- Exhibits ---------- */
.exhibit { padding-block: clamp(64px, 7vw, 104px); border-top: 1px solid var(--line); scroll-margin-top: var(--header-h); }
.ex-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: baseline; margin-bottom: 28px; }
.ex-head .mono { color: var(--tan); }
.ex-head h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.ex-head .where { color: var(--mute); text-align: right; }
@media (max-width: 760px) { .ex-head { grid-template-columns: 1fr; gap: 10px; } .ex-head .where { grid-column: 1 / -1; text-align: left; } }
.ex-grid { display: grid; grid-template-columns: minmax(0, 7.2fr) minmax(0, 3.4fr); gap: clamp(28px, 3.4vw, 56px); align-items: start; }
@media (max-width: 980px) { .ex-grid { grid-template-columns: 1fr; } }

.viewer { border-radius: 6px; overflow: hidden; background: var(--ink); box-shadow: 0 0 0 1px var(--line), 0 18px 48px -32px rgba(0,0,0,.7); }
.chrome { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-bottom: 1px solid var(--line); background: #0A182C; min-height: 48px; flex-wrap: wrap; }
.chrome .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--slate-2); flex: none; }
.viewer.active .chrome .dot { background: var(--tan); box-shadow: 0 0 0 4px rgba(205,167,123,.15); }
.chrome .addr { font-family: var(--sans); font-size: .76rem; color: var(--mute); flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chrome .ctrls { display: flex; gap: 6px; }
.chip { background: transparent; border: 1px solid var(--line-2); border-radius: 5px; min-height: 36px; padding: 5px 11px; font-size: .78rem; cursor: pointer; color: var(--paper); font-family: var(--sans); }
.chip:hover { border-color: var(--tan); }
.chip[hidden] { display: none !important; }
.screen { position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: #E9E5DC; }
.screen > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: filter .5s var(--ease), transform .32s var(--ease); }
.screen .enter { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; background: linear-gradient(180deg, rgba(6,18,31,0) 40%, rgba(6,18,31,.55)); border: 0; cursor: pointer; width: 100%; }
.screen .enter span { background: var(--navy); color: var(--paper); border-radius: 6px; padding: 13px 20px; font-size: .95rem; font-weight: 500; display: inline-flex; gap: 10px; align-items: center;
  box-shadow: 0 0 0 1px var(--line-2), 0 16px 40px rgba(0,0,0,.4); transition: transform .3s var(--ease), background .2s; }
.screen .enter:hover span, .screen .enter:focus-visible span { background: var(--navy-3); transform: translateY(-2px); }
.screen .enter:hover ~ img { transform: scale(1.01); }
.screen iframe { position: absolute; top: 0; left: 0; border: 0; transform-origin: 0 0; background: #fff; z-index: 3; }
.screen .status { position: absolute; z-index: 5; left: 50%; top: 50%; transform: translate(-50%, -50%); background: var(--navy); color: var(--paper); padding: 10px 14px; border-radius: 8px; font-size: .85rem; box-shadow: 0 0 0 1px var(--line-2); }
.viewer-note { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; color: var(--mute); flex-wrap: wrap; }
.viewer-note a { text-decoration: none; color: var(--paper); }
.viewer-note a:hover { color: var(--tan); }
.toast { position: absolute; z-index: 8; left: 50%; bottom: 16px; transform: translate(-50%, 12px); opacity: 0; transition: .3s var(--ease); pointer-events: none;
  background: var(--paper); color: var(--paper-ink); font-size: .85rem; padding: 10px 14px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.35); max-width: calc(100% - 32px); }
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.label { display: grid; gap: 26px; }
.label .statement { font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.025em; line-height: 1.12; }
.label h3 { font-family: var(--sans); font-weight: 500; font-size: 1rem; letter-spacing: -.01em; color: var(--paper); margin-bottom: 10px; }
.label p, .label li { color: #CDD3DC; font-size: 1rem; line-height: 1.55; }
.label ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.label li { padding-left: 18px; position: relative; }
.label li::before { content: ""; position: absolute; left: 0; top: .68em; width: 6px; height: 1px; background: var(--tan); }
.label .try { border-top: 1px solid var(--line); padding-top: 24px; display: grid; gap: 14px; }
.label .try .acts { display: flex; flex-wrap: wrap; gap: 8px; }
.label .pending { font-family: var(--mono); font-size: .74rem; color: var(--mute); border-left: 2px solid var(--slate-2); padding-left: 10px; }

/* ---------- Expanded viewer overlay ---------- */
.theater { position: fixed; inset: 0; z-index: 90; background: var(--ink); display: grid; grid-template-rows: auto 1fr; }
.theater[hidden] { display: none; }
.theater-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: max(10px, env(safe-area-inset-top, 0px)) var(--gut-r) 10px var(--gut); border-bottom: 1px solid var(--line); background: #08162A; }
.theater-bar .who { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.theater-bar .who img { width: 26px; height: 26px; flex: none; }
.theater-bar .who b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theater-bar .who .mono { color: var(--tan); }
.theater-bar select { background: var(--navy-2); color: var(--paper); border: 1px solid var(--line-2); border-radius: 999px; padding: 7px 12px; font: inherit; font-size: .85rem; max-width: 46vw; }
.seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.seg button { background: none; border: 0; border-radius: 999px; padding: 5px 12px; font-size: .8rem; cursor: pointer; color: var(--mute); }
.seg button[aria-pressed="true"] { background: var(--paper); color: var(--paper-ink); }
.theater-stage { position: relative; overflow: hidden; display: grid; place-items: center; padding-bottom: env(safe-area-inset-bottom, 0px);
  background: radial-gradient(80% 80% at 50% 30%, #102849, var(--ink)); }
.theater-stage iframe { border: 0; background: #fff; width: 100%; height: 100%; }
.theater-stage.phone iframe { width: 390px; height: min(844px, calc(100% - 48px)); border-radius: 28px; box-shadow: 0 0 0 10px #0E1B2E, 0 0 0 11px var(--line-2), 0 40px 80px rgba(0,0,0,.6); }
@media (max-width: 760px) { .theater .seg { display: none; } .theater-bar select { max-width: 40vw; } }

/* ---------- Generic content (services, about) ---------- */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 860px) { .split h2 { position: static; } }
.prose { display: grid; gap: 20px; max-width: 40rem; font-size: 1.08rem; color: #CDD3DC; }
.paper .prose { color: #2E3B52; }
.prose .big { font-size: 1.3rem; line-height: 1.5; color: var(--paper); }
.paper .prose .big { color: var(--paper-ink); }
.checks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; border-top: 1px solid var(--line); }
.paper .checks { border-color: var(--line-paper); }
.checks li { padding: 16px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; }
.paper .checks li { border-color: var(--line-paper); }
.checks li b { font-weight: 500; color: var(--paper); }
.paper .checks li b { color: var(--paper-ink); }
@media (max-width: 600px) { .checks li { grid-template-columns: 1fr; gap: 4px; } }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-paper); }
.steps li { list-style: none; padding: 26px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.steps li + li { padding-left: 24px; border-left: 1px solid var(--line-paper); }
.steps .mono { color: var(--paper-mute); }
.steps h3 { font-size: 1.3rem; letter-spacing: -0.015em; }
.steps p { color: #3E4A60; font-size: 1rem; }
.steps-wrap { padding: 0; margin: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(3) { padding-left: 0; border-left: 0; } .steps li { border-bottom: 1px solid var(--line-paper); padding-bottom: 22px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li + li { padding-left: 0; border-left: 0; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; font-size: 1.12rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--tan); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 24px; color: #C9CFD9; max-width: 44rem; }

.photo-poster { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; max-width: 100%; }
.photo-poster img { width: 100%; height: 100%; object-fit: cover; }
.photo-poster .pf { position: absolute; inset: 0; z-index: 3; padding: 20px; display: grid; grid-template-rows: auto 1fr auto; font-size: .8rem; line-height: 1.25; color: #F6F2EA; text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.about-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } }
.chapters { display: grid; gap: clamp(56px, 7vw, 96px); }
.chapter { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); }
.chapter .mono { color: var(--mute); font-size: .875rem; padding-top: 7px; }
.chapter h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 20px; }
@media (max-width: 760px) { .chapter { grid-template-columns: 1fr; gap: 8px; } }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.2vw, 32px); }
@media (max-width: 700px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-size: .9rem; color: var(--paper-mute); }
.field input, .field textarea, .field select { font: inherit; font-size: 1rem; color: var(--paper-ink); background: #FBF9F4; border: 1px solid var(--line-paper); border-radius: 5px; padding: 12px 14px; width: 100%; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--tan); outline-offset: 1px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .pair { grid-template-columns: 1fr; } }
fieldset.field { border: 0; padding: 0; margin: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opts label { cursor: pointer; }
.opts input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opts span { display: inline-block; border: 1px solid var(--line-paper); border-radius: 5px; padding: 10px 14px; font-size: .9rem; color: var(--paper-ink); background: #FBF9F4; }
.opts input:checked + span { background: var(--paper-ink); color: var(--paper); border-color: var(--paper-ink); }
.opts input:focus-visible + span { outline: 2px solid var(--tan); outline-offset: 2px; }
.form .fine { font-size: .85rem; color: var(--paper-mute); }
.draft { border: 1px solid var(--line-paper); border-radius: 10px; padding: 20px; background: #FBF9F4; display: grid; gap: 14px; }
.draft pre { margin: 0; white-space: pre-wrap; font-family: var(--mono); font-size: .82rem; color: var(--paper-ink); max-height: 300px; overflow: auto; }
.draft .acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.err { color: #A33A2B; font-size: .88rem; }

/* ---------- Motion ---------- */
.rise { animation: none; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
@keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } .plate > img, .screen > img { transition: none; } }
@media (max-width: 760px) { .theater-bar .who .mono { display: none; } .theater-bar { gap: 10px; } }

/* ---------- Closing invitation, then the engraved desert footer ---------- */
.closing { padding-block: clamp(64px, 7vw, 104px); border-top: 1px solid var(--line); background: var(--navy); }
.fin-arg { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px clamp(40px, 6vw, 96px); }
.fin-arg h2 { grid-row: span 2; font-size: clamp(2.5rem, 4.8vw, 4.4rem); letter-spacing: -.045em; font-weight: 400; max-width: 16ch; line-height: 1.06; }
.fin-arg > p { max-width: 32rem; color: #CBD3DF; font-size: 1.12rem; }
.fin-arg .actions { margin: 0; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.finale { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column;
  min-height: clamp(440px, 42vw, 740px); color: var(--paper); background: #081D3A; }
.fin-art { position: absolute; z-index: -1; inset: 0; display: block; pointer-events: none; }
.fin-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.fin-top { position: relative; width: 100%; padding-block: clamp(28px, 3vw, 48px); }
.fin-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; }
.fin-nav .brand { flex: none; }
.fin-nav ul { display: flex; align-items: center; flex-wrap: wrap; gap: 8px clamp(20px, 2.4vw, 40px); list-style: none; margin: 0; padding: 0; }
.fin-nav a { text-decoration: none; color: #F3F0EA; }
.fin-nav ul a:hover { color: var(--tan-2); }
.fin-bar { position: relative; margin-top: auto; color: #13213A;
  background: linear-gradient(transparent, rgba(243,240,234,.9)); }
.fin-bar .wrap { display: flex; justify-content: space-between; align-items: end; gap: 10px 24px;
  flex-wrap: wrap; padding-top: 36px; padding-bottom: max(24px, env(safe-area-inset-bottom, 0px)); }
@media (max-width: 760px) {
  .fin-arg { grid-template-columns: 1fr; gap: 24px; }
  .fin-arg h2 { grid-row: auto; }
  .finale { min-height: max(560px, 100vw); }
  .fin-nav { align-items: flex-start; flex-direction: column; gap: 20px; }
  .fin-nav ul { gap: 0 22px; }
  .fin-bar .wrap { align-items: start; gap: 10px 20px; }
  .fin-bar .wrap span:last-child { flex-basis: 100%; }
}
.hero-poster::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(6,18,31,.78) 0%, rgba(6,18,31,0) 24%); }

/* ---------- Hero: founder-selected navy and gold halftone ---------- */
.hero-poster {
  background: #081D3A url("img/hero-navy-halftone.png") center center / cover no-repeat;
  color: var(--paper);
}
.hero-poster #equant-sky { display: none; }
.hero-poster.grain::after { display: none; }
.hero-poster::before {
  background:
    linear-gradient(90deg, rgba(8,29,58,.18), transparent 70%),
    linear-gradient(to top, rgba(8,29,58,.92), rgba(8,29,58,.12) 24%, transparent 42%);
}
.hero-copy h1 { color: #F3F0EA; }
.hero-copy p { color: #D6DAE2; }
.hero-poster .btn { background: #F3F0EA; color: var(--paper-ink); }
.hero-poster .btn:hover { background: var(--tan-2); }
.hero-poster .btn.ghost {
  background: rgba(8,29,58,.28); color: #F3F0EA;
  box-shadow: inset 0 0 0 1px rgba(243,240,234,.4);
}
.hero-poster .btn.ghost:hover { background: rgba(8,29,58,.55); box-shadow: inset 0 0 0 1px var(--tan); }
.hero-poster .meta-row { color: #F3F0EA; border-color: rgba(243,240,234,.3); }
.hero-poster .meta-row div span { color: #D4D9E1; }
.brand .m-ink { display: none; }
.site-header.over .m-light { display: block; }
.site-header.over .brand-word b { color: #F3F0EA; }
.site-header.over .brand-word span { color: var(--tan); }
.site-header.over .nav a { color: #D4D9E1; }
.site-header.over .nav a:hover { color: #F3F0EA; }
.site-header.over .nav .talk { color: #F3F0EA; border-color: rgba(243,240,234,.4); }
.site-header.over .menu-btn { color: #F3F0EA; border-color: rgba(243,240,234,.4); }
@media (max-width: 760px) {
  .hero-poster { background-position: 51% center; }
  .hero-poster::before {
    background: linear-gradient(to top, rgba(8,29,58,.94), rgba(8,29,58,.48) 32%, rgba(8,29,58,.08) 65%);
  }
}

/* Refinements: a consistent reading grid and functional annotations. */
main section, main article { scroll-margin-top: calc(var(--header-h) + 24px); }
.ownership-section { padding-top: 24px; }
.ownership-section .terms { border-top: 1px solid var(--line); padding-top: clamp(48px, 5vw, 72px); }
.about-hero { align-items: center; }
.about-hero .photo-poster { width: 100%; max-width: 420px; justify-self: end; }
.about-hero h1 { font-size: clamp(2.5rem, 4.2vw, 3.8rem); }
.label .statement { color: var(--paper); line-height: 1.22; }
.design-notes { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.design-notes summary { display: flex; justify-content: space-between; align-items: center; gap: 20px;
  min-height: 48px; padding-block: 14px; cursor: pointer; list-style: none; font-weight: 500; }
.design-notes summary::-webkit-details-marker { display: none; }
.design-notes summary::after { content: "+"; color: var(--tan); }
.design-notes[open] summary::after { content: "−"; }
.design-notes ul { padding-bottom: 22px; }
.fin-arg .copy-mail { min-height: 48px; padding: 10px 0; border-radius: 0; box-shadow: none; }
.fin-arg .copy-mail:hover { background: none; box-shadow: none; }
.fin-bar .mono { font-size: .8rem; line-height: 1.5; }
.nav a, .fin-nav li a { min-height: 44px; display: inline-flex; align-items: center; }
.opts label { display: inline-flex; }
.field legend { padding: 0; margin-bottom: 8px; }
@media (max-width: 760px) {
  .head { grid-template-columns: 1fr; gap: 16px; }
  .about-hero .photo-poster { justify-self: start; max-width: 360px; }
  .fin-nav ul { row-gap: 0; }
  .ex-head .where { max-width: 38ch; line-height: 1.5; }
  .meta-row { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

/* Homepage: a distinct service composition and a compact ownership statement. */
.home-services { background: var(--paper); color: var(--paper-ink); padding-block: clamp(64px, 7vw, 104px); }
.home-services-intro { margin-bottom: clamp(40px, 5vw, 64px); }
.home-services-intro h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: 1.12; }
.home-services-intro p { margin-top: 18px; max-width: 36rem; font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; color: #435066; }
.home-services-offerings { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); }
.home-services h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.18; }
.home-services h3 a { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; min-height: 44px; text-decoration: none; }
.home-services h3 a span { font-size: 1.1rem; font-weight: 400; transition: transform .2s var(--ease); }
.home-services h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.home-services h3 a:hover span { transform: translate(2px, -2px); }
.home-acquisition h3 { font-size: clamp(2rem, 3.3vw, 2.9rem); letter-spacing: -.035em; }
.home-acquisition > p { color: #354358; max-width: 35rem; margin-top: 24px; }
.home-acquisition > .service-audience { font-size: .95rem; margin-top: 10px; color: #435066; }
.acquisition-path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; list-style: none; padding: 20px 0 0; margin: 36px 0 0; border-top: 1px solid rgba(19,33,58,.25); }
.acquisition-path li { position: relative; padding-right: 18px; font-size: .92rem; line-height: 1.4; font-weight: 500; }
.acquisition-path li:not(:last-child)::after { content: '→'; position: absolute; right: 0; color: #5B6577; }
.home-other-services { display: grid; gap: 32px; padding-left: clamp(32px, 4vw, 56px); border-left: 1px solid rgba(19,33,58,.2); }
.home-other-services p { margin-top: 14px; color: #354358; font-size: 1rem; line-height: 1.55; max-width: 31rem; }
.home-ownership { padding-block: clamp(64px, 7vw, 96px); text-align: center; }
.home-ownership h2 { max-width: 22ch; margin-inline: auto; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; }
.ownership-lead { margin: 24px auto 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--paper); }
.ownership-detail { margin: 16px auto 0; max-width: 62ch; color: #C9CFD9; font-size: 1rem; line-height: 1.65; }
@media (max-width: 760px) {
  .home-services-offerings { grid-template-columns: 1fr; gap: 40px; }
  .home-other-services { padding: 32px 0 0; border-left: 0; border-top: 1px solid rgba(19,33,58,.2); }
  .home-ownership { text-align: left; }
  .home-ownership h2, .ownership-lead, .ownership-detail { margin-inline: 0; }
  .acquisition-path { gap: 12px; }
}
/* V2: depth from the founder's glass-motion reference; reading stays crisp. */
:root { --reveal: 0; }
body { isolation: isolate; }
main { position: relative; z-index: 1; background: var(--navy); }
.home-page main { background: transparent; }
.home-page main > section:not(.hero-poster) { position: relative; z-index: 2; background-color: var(--navy); }
.home-page main > .paper, .home-page main > .home-services { background-color: var(--paper); }
.site-header, .site-header.over { background: rgba(11,29,54,.62); backdrop-filter: blur(22px) saturate(1.25); -webkit-backdrop-filter: blur(22px) saturate(1.25); border-bottom: 1px solid rgba(243,239,230,.15); box-shadow: 0 1px 0 rgba(255,255,255,.025) inset; }
.home-page .hero-poster { position: sticky; top: 0; min-height: min(900px, 94svh); background: #081d3a; }
.home-page .hero-poster::before { inset: -3%; background: linear-gradient(90deg,rgba(8,29,58,.12),transparent 80%), linear-gradient(to top,rgba(8,29,58,.75),transparent 50%), url('img/hero-navy-halftone.png') center/cover; transform: translateY(calc(var(--reveal) * 42px)) scale(1.04); filter: blur(calc(var(--reveal) * 5px)); }
.home-page .hero-poster .frame { padding-top: calc(var(--header-h) + 60px); padding-bottom: 46px; }
.home-page .hero-copy { max-width: none; width: 100%; padding-block: 50px 70px; transform: translateY(calc(var(--reveal) * 20px)); opacity: calc(1 - var(--reveal) * .65); }
.home-page .hero-copy h1 { max-width: 17ch; font-size: clamp(3rem,6.8vw,6.5rem); line-height: 1.06; letter-spacing: -.045em; text-wrap: balance; }
.home-page .hero-copy p { margin-top: 30px; max-width: 31rem; font-size: clamp(1.05rem,1.5vw,1.2rem); }
.home-page .hero-copy .actions { margin-top: 30px; }
.hero-signature { font-size: .86rem; color: #d4d9e1; }
.notebook { background-image: linear-gradient(rgba(19,33,58,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(19,33,58,.035) 1px,transparent 1px); background-size: 28px 28px; border-top: 1px solid rgba(243,239,230,.6); box-shadow: 0 -14px 50px rgba(0,0,0,.12); }
.notebook .definition .body { max-width: 32rem; gap: 26px; }
#col-h, #svc-h { font-size: clamp(2.7rem,5.3vw,4.8rem); font-weight: 450; line-height: 1.05; letter-spacing: -.045em; }
.head:has(#col-h) { align-items: end; margin-bottom: 42px; }
.head:has(#col-h) p { justify-self: end; padding-bottom: 6px; }
.collection-rail.wall { display: flex; gap: 24px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scroll-padding-inline: 0; padding: 4px 0 14px; margin-right: 0; scrollbar-width: none; }
.collection-rail::-webkit-scrollbar { display: none; }
.collection-rail > .plate-link { flex: 0 0 calc((100% - 56px) / 3.15); min-width: 0; scroll-snap-align: start; }
.collection-rail .plate-cap { gap: 10px; }
.collection-rail .plate-cap h3 { font-size: 1.12rem; }
.collection-rail .plate-cap p { font-size: .9rem; line-height: 1.45; margin-top: 7px; }
.collection-controls { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; gap: 20px; }
.collection-status { color: var(--mute); font-size: .82rem; }
.collection-controls > div { display: flex; gap: 10px; }
.rail-button { display: grid; place-items: center; width: 48px; height: 48px; background: rgba(243,239,230,.04); border: 1px solid var(--line-2); border-radius: 50%; cursor: pointer; transition: background 120ms, border-color 120ms; }
.rail-button:not(:disabled):hover { background: rgba(243,239,230,.12); border-color: var(--tan); }
.rail-button:disabled { opacity: .3; cursor: default; }
.home-services-intro { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 70px; }
.home-services-intro p { max-width: 23rem; margin: 0; font-size: 1.05rem; }
.home-acquisition > p { max-width: 32rem; }
.home-other-services h3 { font-size: clamp(1.45rem,2.2vw,2rem); max-width: 25ch; }
.home-other-services { gap: 40px; }
.home-ownership { padding-block: 100px; }
.ownership-detail { max-width: 48ch; }
.finale { position: sticky; bottom: 0; z-index: 0; min-height: clamp(520px,45vw,740px); }
.fin-top { padding-top: clamp(44px,5vw,76px); }
.fin-nav { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.fin-nav .brand { gap: 18px; }
.fin-nav .brand img { width: 50px; height: 50px; }
.fin-nav .brand-word b { font-size: 1.65rem; }
.fin-nav .brand-word span { font-size: .73rem; margin-top: 8px; }
.fin-nav ul { margin-left: 68px; gap: 4px 26px; max-width: 400px; }
.fin-nav ul a { font-size: .94rem; }
.fin-bar .wrap { padding-bottom: max(24px,env(safe-area-inset-bottom)); }
@media (min-width: 1500px) { .home-page .hero-copy h1 { max-width: none; white-space: nowrap; font-size: min(6.5vw,114px); } }
@media (max-width: 900px) { .collection-rail > .plate-link { flex-basis: calc((100% - 36px) / 2.15); } .home-services-intro { display: block; } .home-services-intro p { margin-top: 24px; } }
@media (max-width: 760px) {
 .home-page .hero-poster { min-height: 82svh; }
 .home-page .hero-poster .frame { padding-top: 130px; padding-bottom: 30px; }
 .home-page .hero-copy { padding-block: 35px 50px; }
 .home-page .hero-copy h1 { font-size: clamp(2.65rem,11.7vw,5rem); max-width: 13ch; }
 .home-page .hero-copy p { font-size: 1.05rem; max-width: 27ch; }
 .hero-signature { max-width: 27ch; }
 .head:has(#col-h) { display: block; }
 .head:has(#col-h) p { margin-top: 20px; }
 .collection-rail > .plate-link { flex-basis: 83%; }
 .collection-rail.wall { gap: 18px; }
 .home-services-intro { margin-bottom: 44px; }
 .home-other-services h3 { max-width: none; font-size: 1.55rem; }
 .home-ownership { padding-block: 64px; }
 .finale { min-height: 600px; position: relative; }
 .fin-nav .brand img { width: 42px; height: 42px; }
 .fin-nav .brand-word b { font-size: 1.35rem; }
 .fin-nav .brand-word span { font-size: .6rem; }
 .fin-nav ul { margin-left: 60px; max-width: 260px; gap: 0 22px; }
}
@media (prefers-reduced-motion: reduce) {
 .home-page .hero-poster, .finale { position: relative; }
 .home-page .hero-poster::before, .home-page .hero-copy { transform: none; filter: none; opacity: 1; }
 .collection-rail { scroll-behavior: auto; }
}
.home-page main > section.paper, .home-page main > section.home-services { background-color: var(--paper); }
#col-h, #svc-h { scroll-margin-top: calc(var(--header-h) + 32px); }
@media (max-width:760px) { .head:has(#col-h) p { text-align: left; } }
/* Center the selected project; adjacent prints remain available to browse. */
.collection-rail.wall { padding: 18px var(--poster-inset,33%) 20px; scroll-padding-inline: 0; }
.collection-rail > .plate-link { flex: 0 0 var(--poster-width,34%); scroll-snap-align: center; opacity: .58; transition: opacity 220ms var(--ease); }
.collection-rail > .plate-link .plate { transform: scale(.93); transform-origin: center; transition: transform 260ms var(--ease),box-shadow 260ms var(--ease); }
.collection-rail > .plate-link.is-selected { opacity: 1; }
.collection-rail > .plate-link.is-selected .plate { transform: scale(1); box-shadow: 0 0 0 1px rgba(243,239,230,.2),0 20px 36px -24px rgba(0,0,0,.65); }
.collection-rail > .plate-link:not(.is-selected):hover { opacity: .85; }
.collection-rail > .plate-link .plate-cap { transition: opacity 180ms; }
@media (prefers-reduced-motion: reduce) { .collection-rail > .plate-link, .collection-rail > .plate-link .plate { transition: none; } }
/* Keep the founder's halftone artwork at its original clarity. */
.home-page .hero-poster::before { inset: 0; transform: none; filter: none; background: url('img/hero-navy-halftone.png') center center / cover no-repeat; }

/* Instrument Sans: one family, distinct roles; technical annotations retain mono. */
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Variable.ttf") format("truetype"); font-weight: 400 700; font-stretch: 75% 100%; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/InstrumentSans-Italic-Variable.ttf") format("truetype"); font-weight: 400 700; font-stretch: 75% 100%; font-style: italic; font-display: swap; }
body { font-weight: 400; }
h1,h2,h3,h4,.hero-copy h1,.intro h1,.fin-arg h2,#col-h,#svc-h { font-weight: 500; }
.nav a,.fin-nav ul a,.btn,.menu-btn,.chip,.rail-button { font-weight: 500; }
.plate-cap h3,.faq summary { font-weight: 600; }

/* Approved pairing: Instrument Sans identity, Source Sans 3 reading. */
@font-face { font-family: "Source Sans 3"; src: url("fonts/SourceSans3-Variable.ttf") format("truetype"); font-weight: 200 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/SourceSans3-Italic-Variable.ttf") format("truetype"); font-weight: 200 900; font-style: italic; font-display: swap; }
:root { --body: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif; }
body { font-family: var(--body); font-weight: 400; }
h1,h2,h3,h4,.nav a,.fin-nav ul a,.brand-word,button,input,select,textarea,.plate .pf,.collection-status,.hero-signature { font-family: var(--sans); }
.btn { font-family: var(--sans); }

/* Align longer reading copy while preserving labels and display typography. */
.justified-copy :is(.intro .lede, .body > p:not(:has(a)), .prose > p, .checks li > span, .label p:not(.statement), .design-notes li, .steps p, .faq details p, .home-services-intro > p, .home-services-offerings article > p:not(.service-audience)) {
  text-align: justify;
  text-align-last: start;
  hyphens: auto;
  -webkit-hyphens: auto;
  overflow-wrap: break-word;
}

/* Center the hero as one composition; retain the original information strip. */
.home-page .hero-copy { text-align: center; padding-block: 42px 62px; }
.home-page .hero-copy h1 { margin-inline: auto; }
.home-page .hero-copy > p { max-width: 48rem; margin: 30px auto 0; font-size: clamp(1.15rem, 1.65vw, 1.4rem); line-height: 1.55; text-align: center; text-align-last: auto; hyphens: none; text-wrap: pretty; }
.home-page .hero-copy .actions { justify-content: center; }
.home-page .hero-poster .meta-row { width: 100%; font-size: .95rem; text-align: left; }
@media (max-width:760px) {
 .home-page .hero-copy { padding-block: 30px 44px; }
 .home-page .hero-copy > p { max-width: 34rem; font-size: 1.13rem; margin-top: 24px; }
 .home-page .hero-poster .meta-row { grid-template-columns: 1fr 1fr; gap: 22px 16px; font-size: .85rem; }
 .home-page .meta-row div:nth-child(3) { grid-column: 1 / -1; justify-self: start; }
}

@media (max-width:760px) { .home-page .meta-row div:nth-child(3) { display:block; } }
/* Improve hero contrast without softening the original artwork. */
.home-page .hero-poster::before {
 background: radial-gradient(ellipse 58% 29% at 50% 53%, rgba(8,29,58,.78) 0%, rgba(8,29,58,.36) 65%, transparent 100%), linear-gradient(to top, rgba(8,29,58,.94) 0%, rgba(8,29,58,.65) 13%, transparent 32%), url('img/hero-navy-halftone.png') center center / cover no-repeat;
}
.home-page .hero-copy > p { color: #fffaf2; text-shadow: 0 1px 8px rgba(0,0,0,.55); }
.home-page .hero-poster .meta-row { border-color: rgba(243,240,234,.45); }
.home-page .hero-poster .meta-row div { font-size: 1rem; color: #fffaf2; text-shadow: 0 1px 6px rgba(0,0,0,.55); }
.home-page .hero-poster .meta-row div span { color: #f3f0ea; }
.home-page .hero-copy .btn.ghost { background: rgba(8,29,58,.8); box-shadow: inset 0 0 0 1px rgba(243,240,234,.5); }
@media (max-width:760px) {
 .home-page .hero-poster::before { background: linear-gradient(to bottom, rgba(8,29,58,.12) 15%, rgba(8,29,58,.6) 42%, rgba(8,29,58,.35) 65%, rgba(8,29,58,.96) 100%), url('img/hero-navy-halftone.png') center center / cover no-repeat; }
 .home-page .hero-poster .meta-row div { font-size: .9rem; }
}

/* Keep short/narrow reading measures from opening up between words. */
.justified-copy :is(.checks li > span, .steps p, .contact-grid .prose > p, .contact-grid .checks li > span) { text-align: start; hyphens: none; }
.justified-copy :is(.intro .lede, .body > p, .prose > p, .label p, .home-services-intro > p, .home-services-offerings article > p) { hyphenate-limit-chars: 8 4 4; }
.service-scope { color: var(--tan); font-size: 1rem; line-height: 1.65; text-align: start !important; }
.home-services .service-audience { max-width: 42rem; line-height: 1.6; }
.head:has(#col-h) { align-items: start; }
.head:has(#col-h) > p { max-width: 36rem; }
.form-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-staging { padding: 16px; border: 1px solid var(--line-paper); border-radius: 6px; line-height: 1.6; }
.form-staging a,.contact-alternative a { text-underline-offset: 3px; }
.form-result { padding: 20px; border: 1px solid var(--line-paper); border-radius: 6px; }
.form [aria-invalid="true"] { border-color: #a32c31; }
.form [type="submit"]:disabled { opacity: .6; cursor: wait; }
.contact-alternative { padding-block: 32px; }
.contact-alternative p { font-size: 1.1rem; }
@media (max-width:760px) {
 .justified-copy :is(.intro .lede, .prose > p, .label p, .design-notes li, .home-services-offerings article > p) { text-align: start; hyphens: none; }
}

/* Work-page principles need ink-colored copy on the paper background. */
.paper[aria-labelledby='pat-h'] .lede { color: var(--paper-ink); }

/* Balance the sky and foreground in wide desktop crops. */
@media (min-width: 761px) { .fin-art img { object-position: center center; } }
