/* AVBR Lab — design preview v2 · "instrument" system (blueprint / spec-first). Not production. */
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #101010; --black: #000; --ink: #fff; --body: #b1b1b1; --dim: #6f6f6f;
  --line: rgba(255,255,255,.08); --line-2: rgba(255,255,255,.13); --line-3: rgba(255,255,255,.22);
  --accent: #ff6a3d; --accent-ink: #33140a; --accent-dim: rgba(255,106,61,.35); --accent-soft: rgba(255,106,61,.12);
  --h: "IBM Plex Sans", "Geist", -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --sans: "Geist", -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1200px; --gutter: 24px;
  --ease: cubic-bezier(.2,.7,.2,1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
img, svg { max-width: 100%; }
::selection { background: var(--accent); color: #000; }

/* ---------- blueprint frame ---------- */
.rails { position: fixed; inset: 0; pointer-events: none; z-index: 40; }
.rails::before, .rails::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.rails::before { left: max(var(--gutter), calc(50% - var(--wrap) / 2)); }
.rails::after { right: max(var(--gutter), calc(50% - var(--wrap) / 2)); }
.wrap { position: relative; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.hr { position: relative; height: 1px; background: var(--line); }
.hr::before, .hr::after { content: ""; position: absolute; top: -5px; width: 11px; height: 11px; background:
  linear-gradient(var(--line-3), var(--line-3)) center/1px 11px no-repeat,
  linear-gradient(var(--line-3), var(--line-3)) center/11px 1px no-repeat; }
.hr::before { left: calc(max(var(--gutter), calc(50% - var(--wrap) / 2)) - 5px); }
.hr::after { right: calc(max(var(--gutter), calc(50% - var(--wrap) / 2)) - 5px); }
main { position: relative; z-index: 1; }

/* ---------- type ---------- */
h1, h2, h3, h4 { margin: 0; font-family: var(--h); font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
h1 { font-size: clamp(44px, 6vw, 84px); line-height: 1.04; }
h2 { font-size: clamp(34px, 4vw, 56px); }
h3 { font-size: clamp(24px, 2.6vw, 34px); letter-spacing: -0.02em; }
h4 { font-size: 20px; letter-spacing: -0.01em; }
.acc { color: var(--accent); }
.body { color: var(--body); }
.lead { color: var(--body); font-size: 17px; max-width: 560px; }
.label { font-family: var(--sans); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--body); }
.label.acc { color: var(--accent); }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.tag { position: relative; display: inline-flex; align-items: center; gap: 10px; height: 30px; padding: 0 14px; border: 1px solid var(--line-2); font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--body); width: fit-content; }
.tag i { width: 5px; height: 5px; background: var(--accent); display: inline-block; }
.tag::before, .tag::after { content: ""; position: absolute; width: 7px; height: 7px; border-color: var(--accent); border-style: solid; }
.tag::before { left: -1px; top: -1px; border-width: 1px 0 0 1px; }
.tag::after { right: -1px; bottom: -1px; border-width: 0 1px 1px 0; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 40px; padding: 0 18px; border: 1px solid var(--line-3); font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: transparent; white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease); }
.btn:hover { background: #fff; color: #000; border-color: #fff; }
.btn:active { transform: scale(.98); }
.btn.solid { background: #fff; color: #000; border-color: #fff; }
.btn.solid:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.btn.acc { background: var(--accent); border-color: var(--accent); color: #000; }
.btn.acc:hover { background: #fff; border-color: #fff; }
.btn-group { display: inline-flex; }
.btn-group .sq { width: 40px; padding: 0; border-right: 0; }
.btn svg { width: 14px; height: 14px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 64px; background: rgba(16,16,16,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--h); font-weight: 600; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; }
.brand .logo { width: auto; height: 48px; display: block; flex: none; margin: 0 -2px 0 -8px; filter: drop-shadow(0 0 10px rgba(255,106,61,.18)); }
.brand .wm { display: inline-flex; gap: .32em; color: #fff; }
.brand .wm b { font-weight: inherit; color: var(--accent); }
.brand-t { display: flex; flex-direction: column; line-height: 1.05; }
.brand-t small { font-family: var(--sans); font-weight: 500; font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--body); margin-top: 3px; }
.links { display: flex; gap: 26px; }
.links a { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); transition: color .2s var(--ease); }
.links a:hover, .links a.on { color: var(--accent); }
.burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line-3); background: transparent; color: #fff; align-items: center; justify-content: center; }
.mobile { display: none; position: fixed; inset: 64px 0 0 0; z-index: 49; background: rgba(16,16,16,.98); padding: 24px; flex-direction: column; }
.mobile a { padding: 16px 4px; border-bottom: 1px solid var(--line); font-family: var(--sans); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
body.menu-open .mobile { display: flex; }

/* ---------- sections ---------- */
.section { padding: 96px 0; }
.section.tight { padding: 64px 0; }
.head { display: flex; flex-direction: column; gap: 18px; margin-bottom: 48px; max-width: 760px; }
.head.center { align-items: center; text-align: center; margin-inline: auto; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.blk { position: relative; background: var(--black); border: 1px solid var(--line); }
.blk.pad { padding: 28px; }
.diamond { position: absolute; top: -13px; right: 22px; width: 26px; height: 26px; background: var(--bg); border: 1px solid var(--line-3); transform: rotate(45deg); display: flex; align-items: center; justify-content: center; }
.diamond span { transform: rotate(-45deg); font-family: var(--mono); font-size: 10px; color: var(--body); }
.rows { display: flex; flex-direction: column; }
.row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 13px; }
.row:first-child { border-top: 0; }
.row .k { color: var(--body); }
.row .v { font-family: var(--mono); color: #fff; text-align: right; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 150px 0 0; overflow: hidden; background: var(--black); }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1px, transparent 1.2px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent 20%, #000 60%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 60%, #000 100%); pointer-events: none; }
.hero .glow { position: absolute; right: -10%; top: 0; width: 60%; height: 100%; background: radial-gradient(50% 50% at 70% 45%, rgba(255,106,61,.22), transparent 70%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; min-height: 560px; }
.hero-grid.single { grid-template-columns: minmax(0, 720px); min-height: 600px; }
.hero-copy { display: flex; flex-direction: column; gap: 26px; padding-bottom: 72px; }
.hero-copy .lead { font-size: 18px; }
.hero .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.drawing { position: relative; }
.drawing svg { width: 100%; height: auto; display: block; }
.drawing.small { margin-top: 24px; max-width: 300px; opacity: .9; }
.strip { position: relative; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1.2fr 1fr 1fr; }
.strip > div { padding: 28px 28px 28px 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.strip > div + div { padding-left: 28px; }
.strip > div:last-child { border-right: 0; }
.strip h4 { font-size: 22px; }
.strip .body { font-size: 14px; }

/* ---------- spec strip ---------- */
.specs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--black); }
.specs > div { padding: 18px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.specs > div:last-child { border-right: 0; background: var(--accent); color: #000; }
.specs .label { font-size: 10px; }
.specs > div:last-child .label { color: rgba(0,0,0,.65); }
.specs .v { font-family: var(--mono); font-size: 20px; letter-spacing: -0.02em; }

/* ---------- benchmark table ---------- */
.bench { border: 1px solid var(--line); background: var(--black); }
.bench .th, .bench .tr { display: grid; grid-template-columns: 1.1fr 1fr 1fr .7fr; }
.bench .th > div { padding: 14px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--body); }
.bench .th > div:last-child, .bench .tr > div:last-child { border-right: 0; }
.bench .tr > div { padding: 18px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bench .tr:last-child > div { border-bottom: 0; }
.bench .name { font-family: var(--sans); font-size: 14px; color: #fff; }
.bench .name small { display: block; color: var(--dim); font-size: 12px; margin-top: 4px; }
.bench .val small.cnt { display: inline; font-family: var(--sans); font-size: 12px; color: var(--dim); }
.bench .val { font-family: var(--mono); font-size: 15px; color: #fff; }
.meter { position: relative; height: 2px; background: var(--line-2); margin-top: 12px; overflow: hidden; }
.meter i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 1%); background: var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.meter.grey i { background: rgba(255,255,255,.55); }
.in .meter i { transform: scaleX(1); }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: var(--dim); }
.foot .label { font-size: 10px; }

/* ---------- anatomy (exploded) ---------- */
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.callouts { display: flex; flex-direction: column; gap: 12px; }
.callout { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 16px 18px; background: var(--black); border: 1px solid var(--line); margin-left: calc(var(--i) * 28px); transition: border-color .3s var(--ease); }
.callout:hover { border-color: var(--accent-dim); }
.callout .n { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 3px; }
.callout h4 { font-size: 16px; }
.callout p { color: var(--body); font-size: 14px; margin-top: 4px; }

/* ---------- lineup (program) ---------- */
.lineup { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 48px; align-items: start; }
.lineup .sticky { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.wave { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; padding: 22px; margin-bottom: 16px; }
.wave .vis { min-height: 220px; border: 1px solid var(--line); background: var(--bg); display: flex; align-items: center; justify-content: center; padding: 22px; }
.wave .c { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.wave .c .rows { align-self: stretch; }
.wave h3 { font-size: 24px; }
.wave .body { font-size: 14px; }
.mini { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; height: 160px; width: 100%; border-bottom: 1px solid var(--line-2); }
.mini .m { display: flex; flex-direction: column; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--body); }
.mini .m i { width: 34px; height: calc(var(--v) * 2.6px); background: var(--accent-soft); border: 1px solid var(--accent); border-bottom: 0; }
.mini.grey .m i { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.5); }
.mini .m u { text-decoration: none; color: var(--dim); font-size: 10px; }
.cal { display: grid; grid-template-columns: repeat(7, 22px); gap: 5px; }
.cal i { width: 22px; height: 22px; border: 1px solid var(--line-2); }
.cal i.on { background: var(--accent); border-color: var(--accent); }

/* ---------- process ---------- */
.process { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.step { padding: 26px 20px 0; display: flex; flex-direction: column; min-height: 320px; }
.step h4 { font-size: 18px; margin-top: 10px; }
.step p { color: var(--body); font-size: 14px; margin-top: 10px; flex: 1; }
.step .stat { margin-top: 20px; padding: 14px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.step .stat .label { font-size: 10px; }
.step .stat .v { font-family: var(--mono); font-size: 13px; color: var(--accent); }

/* ---------- spec sheet ---------- */
.sheet { border: 1px solid var(--line); background: var(--black); padding: 8px 28px 28px; }
.sheet .group { padding: 22px 0 6px; border-top: 1px solid var(--line-2); }
.sheet .group:first-child { border-top: 0; }
.sheet .group .label { display: block; margin-bottom: 8px; }
.sheet .row { padding: 11px 0; }
.sheet .row .k { font-size: 13px; }
.sheet .row .v { font-size: 13px; }
.sheet .row .v b { color: var(--accent); font-weight: 500; }
.sheet-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 20px; flex-wrap: wrap; }
.sheet-head .meta { text-align: right; display: flex; flex-direction: column; gap: 6px; }

/* ---------- full-bleed bands ---------- */
.band { position: relative; overflow: hidden; background: var(--black); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band > .wrap { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.band .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.6) 42%, rgba(0,0,0,0) 68%); }
/* ---------- statement ---------- */
.statement { padding: 112px 0; }

.statement .q { font-family: var(--h); font-weight: 600; font-size: clamp(28px, 3.4vw, 46px); letter-spacing: -0.03em; line-height: 1.12; max-width: 720px; }
.statement .body { max-width: 640px; margin-top: 4px; }

/* ---------- rules ---------- */
.rule-card { padding: 26px 24px 24px; min-height: 200px; display: flex; flex-direction: column; gap: 10px; }
.rule-card h4 { font-size: 18px; margin-top: 8px; }
.rule-card p { color: var(--body); font-size: 14px; }

/* ---------- publications ---------- */
.pub { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 22px 24px; margin-bottom: 12px; }
.pub .t { font-family: var(--h); font-weight: 500; font-size: 18px; letter-spacing: -0.01em; }
.pub .s { color: var(--dim); font-size: 12px; margin-top: 6px; font-family: var(--mono); }
.status { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border: 1px solid var(--line-2); font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--body); white-space: nowrap; }
.status i { width: 5px; height: 5px; background: var(--dim); }
.status.on { border-color: var(--accent-dim); color: #fff; }
.status.on i { background: var(--accent); }

/* ---------- people ---------- */
.person { display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 40px; padding: 24px; align-items: center; }
.portrait { aspect-ratio: 4 / 5; border: 1px solid var(--line-2); background: radial-gradient(70% 55% at 50% 100%, rgba(255,106,61,.28), transparent 70%), #0a0a0a; position: relative; display: flex; align-items: flex-end; padding: 14px; }
.portrait svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.portrait .label { position: relative; font-size: 10px; }
.portrait.has-img picture, .portrait.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.portrait.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,.65)); }
.portrait.has-img .label { z-index: 1; color: rgba(255,255,255,.7); }
.person .c { display: flex; flex-direction: column; gap: 14px; }
.person .bio { color: var(--body); font-size: 15px; }
.tiles { display: flex; flex-wrap: wrap; gap: 8px; }
.tile { display: inline-flex; align-items: center; height: 32px; padding: 0 12px; border: 1px solid var(--line-2); font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--body); transition: color .2s var(--ease), border-color .2s var(--ease); }
.tile:hover { color: #fff; border-color: var(--line-3); }
.more { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }

/* ---------- faq ---------- */
.faq { max-width: 860px; }
.faq details { border: 1px solid var(--line); background: var(--black); margin-bottom: 10px; padding: 0 22px; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-family: var(--h); font-weight: 500; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 24px; height: 24px; border: 1px solid var(--line-3); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); font-family: var(--mono); font-size: 14px; transition: transform .3s var(--ease); flex: 0 0 auto; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .a { padding: 0 0 20px; color: var(--body); font-size: 15px; max-width: 680px; }

/* ---------- cta banner ---------- */
.cta { padding: 120px 0; min-height: 560px; display: flex; align-items: center; }

.cta .mark { position: absolute; left: max(var(--gutter), calc(50% - var(--wrap) / 2)); bottom: -70px; transform: none; z-index: 0; font-family: var(--h); font-weight: 600; font-size: clamp(120px, 22vw, 300px); letter-spacing: -0.05em; color: rgba(255,255,255,.035); white-space: nowrap; pointer-events: none; line-height: 1; }

.cta .lead { max-width: 560px; }
.cta .btns { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { display: flex; gap: 32px; flex-wrap: wrap; margin-top: 12px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 500; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--body); }
.trust svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- footer ---------- */
footer { position: relative; z-index: 1; padding: 64px 0 40px; }
.fgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); background: var(--black); }
.fgrid > div { padding: 22px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.fgrid > div:last-child { border-right: 0; }
.fgrid ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: 13px; color: var(--body); }
.fgrid a:hover { color: #fff; }
.fbottom { margin-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--dim); font-family: var(--mono); }
.flag { display: inline-flex; align-items: center; gap: 8px; }
.note { display: inline-flex; align-items: center; gap: 8px; }
.note i { width: 6px; height: 6px; background: #ffb347; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; padding: 150px 0 56px; background: var(--black); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.2px); background-size: 24px 24px; mask-image: linear-gradient(90deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); pointer-events: none; }
.page-hero .inner { position: relative; display: flex; flex-direction: column; gap: 20px; max-width: 800px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.contact-grid .blk { padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: border-color .3s var(--ease); }
.contact-grid .blk:hover { border-color: var(--accent-dim); }
.contact-grid .v { font-family: var(--mono); font-size: 18px; color: #fff; }
.story { max-width: 800px; font-family: var(--h); font-weight: 500; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; letter-spacing: -0.015em; }


/* ---------- photographic backgrounds (Gemini renders, masked) ---------- */
.photo { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .9; }
.hero .photo { mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 35%, #000 60%), linear-gradient(180deg, #000 70%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 35%, #000 60%), linear-gradient(180deg, #000 70%, transparent 100%); mask-composite: intersect; -webkit-mask-composite: source-in; }
.hero .photo img { object-position: 62% 55%; transform: scaleX(-1); }
.hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.6) 40%, rgba(0,0,0,.05) 70%); }
.statement .photo { mask-image: linear-gradient(90deg, transparent 38%, #000 72%); -webkit-mask-image: linear-gradient(90deg, transparent 38%, #000 72%); }
.statement .photo img { object-position: 50% 50%; opacity: .95; transform: translateX(12%) scale(1.06); }
.cta .photo { mask-image: linear-gradient(90deg, transparent 36%, #000 70%); -webkit-mask-image: linear-gradient(90deg, transparent 36%, #000 70%); }
.cta .photo img { object-position: 50% 45%; opacity: .95; transform: translateX(14%) scale(1.06); }
.hero.has-photo .drawing { position: relative; z-index: 1; }
@media (max-width: 760px) { .photo img { opacity: .45; } .statement .photo, .cta .photo { mask-image: linear-gradient(180deg, transparent 30%, #000 100%); -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 100%); } .cta { min-height: 0; } .hero .photo { mask-image: linear-gradient(180deg, transparent 10%, #000 45%, transparent 100%); -webkit-mask-image: linear-gradient(180deg, transparent 10%, #000 45%, transparent 100%); } }

/* ---------- funnel (wave cards) ---------- */
.funnel { width: 100%; display: flex; flex-direction: column; gap: 14px; }
.fr { display: grid; grid-template-columns: 86px 1fr 64px; gap: 12px; align-items: center; }
.fl { font-family: var(--sans); font-weight: 500; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--body); }
.fb { position: relative; height: 22px; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); }
.fb i { position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--p) * 1%); background: var(--accent-soft); border-right: 2px solid var(--accent); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease); }
.in .fb i { transform: scaleX(1); }
.fv { font-family: var(--mono); font-size: 14px; color: #fff; text-align: right; }
.fp { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .04em; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 14px; background: #fff; color: #000; font-size: 13px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.person.teaser { grid-template-columns: 280px minmax(0, 1fr); }
.person.teaser .portrait { max-width: 280px; }
.person.teaser h2 { font-size: clamp(28px, 3vw, 40px); }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .meter i { transform: none; transition: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; }
  .drawing { max-width: 640px; }
  .anatomy { grid-template-columns: 1fr; }
  .lineup { grid-template-columns: 1fr; }
  .lineup .sticky { position: static; }
  .process { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .step { min-height: 0; }
  .specs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .specs > div { border-bottom: 1px solid var(--line); }
  .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fgrid > div { border-bottom: 1px solid var(--line); }
  .person { grid-template-columns: 280px 1fr; }
}
@media (max-width: 760px) {
  .rails { display: none; }
  .hr::before, .hr::after { display: none; }
  .links, .nav .btn-group { display: none; }
  .burger { display: inline-flex; }
  .hero { padding-top: 104px; }
  .hero-copy { padding-bottom: 40px; }
  .strip { grid-template-columns: 1fr; }
  .strip > div { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .strip > div + div { padding-left: 0; }
  .section { padding: 64px 0; }
  .grid2, .grid3, .contact-grid { grid-template-columns: 1fr; }
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs > div:last-child { grid-column: 1 / -1; }
  .bench .th { display: none; }
  .bench .tr { grid-template-columns: 1fr 1fr; }
  .bench .tr > div:first-child { grid-column: 1 / -1; border-right: 0; }
  .bench .tr > div:last-child { grid-column: 1 / -1; }
  .callout { margin-left: 0; }
  .wave { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .person, .person.teaser { grid-template-columns: 1fr; }
  .portrait { max-width: 320px; }
  .pub { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: 1fr; }
  .statement { padding: 72px 0; }
  .cta { padding: 80px 0; min-height: 0; }
  .sheet { padding: 8px 18px 20px; }
  .row { flex-direction: column; gap: 4px; align-items: flex-start; }
  .row .v { text-align: left; }
}
