/* ============================================================
   MIRAGE — Heat Horizon
   ============================================================ */
@font-face { font-family: "Instrument Serif"; src: url(assets/fonts/InstrumentSerif-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; font-style: italic; src: url(assets/fonts/InstrumentSerif-Italic.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(assets/fonts/InstrumentSans-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url(assets/fonts/InstrumentSans-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url(assets/fonts/JetBrainsMono-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Hand"; src: url(assets/fonts/NothingYouCouldDo-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Gloock"; src: url(assets/fonts/Gloock-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Big Shoulders"; src: url(assets/fonts/BigShoulders-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url(assets/fonts/BricolageGrotesque-Bold.ttf) format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Italiana"; src: url(assets/fonts/Italiana-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Work Sans"; src: url(assets/fonts/WorkSans-Regular.ttf) format("truetype"); font-display: swap; }

:root {
  --bone: #ebe5d9;
  --bone-2: #e3dccd;
  --sand: #d9d0bd;
  --ink: #161311;
  --ink-2: #4a433c;
  --ink-3: #8a8175;
  --heat: #ff3d17;
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --pad: clamp(18px, 3.2vw, 48px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bone); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.45;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* paper grain over everything */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90;
  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 .09 0 0 0 0 .07 0 0 0 0 .06 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: multiply;
}
::selection { background: var(--heat); color: var(--bone); }
a { color: inherit; }
em { font-style: italic; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; }
.label { color: var(--ink-3); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bone); padding: 10px 14px; font-family: var(--mono); font-size: 12px; }
.skip:focus { top: 12px; }
:focus-visible { outline: 1.5px solid var(--heat); outline-offset: 3px; }

/* ---------------- cursor ---------------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 150; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor i { position: absolute; width: 22px; height: 22px; left: -11px; top: -11px; }
.cursor i::before, .cursor i::after { content: ""; position: absolute; background: var(--ink); }
.cursor i::before { left: 10.5px; top: 0; width: 1px; height: 22px; }
.cursor i::after { top: 10.5px; left: 0; height: 1px; width: 22px; }
.cursor__t { position: absolute; left: 14px; top: 8px; font: 10px/1 var(--mono); color: var(--heat); white-space: nowrap; letter-spacing: .04em; }
.cursor.is-on { opacity: 1; }
.cursor.is-link i { transform: rotate(45deg) scale(1.3); transition: transform .3s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor .chip { cursor: none; }
  body.has-cursor textarea, body.has-cursor input { cursor: text; }
}

/* ---------------- nav ---------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 18px var(--pad); pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav__mark { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 12px/1 var(--mono); letter-spacing: .32em; }
.nav__mark svg { width: 26px; height: 26px; }
.nav__mark circle { fill: var(--heat); }
.nav__mark rect { fill: var(--bone); }
.nav__mark path { stroke: var(--ink); stroke-width: 1.4; fill: none; }
.nav__mark .r1, .nav__mark .r2 { stroke: var(--heat); opacity: .55; animation: shim 2.4s ease-in-out infinite; }
.nav__mark .r2 { animation-delay: -1.2s; opacity: .3; }
@keyframes shim { 50% { transform: translateX(1.5px); } }
.nav__links { display: flex; gap: 28px; font: 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.nav__links a { text-decoration: none; position: relative; padding: 6px 0; }
.nav__links em { font-style: normal; color: var(--heat); margin-right: 8px; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  display: inline-flex; align-items: center; gap: 12px; text-decoration: none;
  font: 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: var(--bone); padding: 12px 16px; border-radius: 99px;
  transition: background .3s;
}
.nav__cta b { font-weight: 400; transition: transform .4s var(--ease); }
.nav__cta:hover { background: var(--heat); }
.nav__cta:hover b { transform: translateX(4px); }
.nav::before { content: ""; position: absolute; inset: 0; background: var(--bone); border-bottom: 1px solid rgba(22,19,17,.1); transform: translateY(-101%); transition: transform .5s var(--ease), background .3s; z-index: -1; }
.nav.is-scrolled::before { transform: none; }
.nav.is-dark::before { background: var(--ink); border-bottom-color: rgba(235,229,217,.08); }
.nav.is-dark { color: var(--bone); }
.nav.is-dark .nav__mark rect { fill: var(--ink); }
.nav.is-dark .nav__mark path { stroke: var(--bone); }
.nav.is-dark .nav__links a::after { background: var(--bone); }
.nav.is-dark .nav__cta { background: var(--bone); color: var(--ink); }
.nav.is-dark .nav__cta:hover { background: var(--heat); color: var(--bone); }

/* ---------------- altimeter ---------------- */
.alt { position: fixed; right: calc(var(--pad) - 6px); top: 50%; transform: translateY(-50%); z-index: 60; display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: none; mix-blend-mode: multiply; }
.alt__track { position: relative; width: 11px; height: 180px;
  background: repeating-linear-gradient(to bottom, var(--ink-3) 0 1px, transparent 1px 12px) center / 5px 100% no-repeat,
              repeating-linear-gradient(to bottom, var(--ink) 0 1px, transparent 1px 60px) center / 11px 100% no-repeat; }
.alt__mark { position: absolute; left: -7px; right: -7px; top: 0; height: 1.5px; background: var(--heat); }
.alt__mark::after { content: ""; position: absolute; right: -5px; top: -3px; border: 4px solid transparent; border-right-color: var(--heat); }
.alt__read { font: 9px/1 var(--mono); writing-mode: vertical-rl; letter-spacing: .12em; color: var(--ink-2); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--bone); }
.hero__gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero__meta { position: absolute; top: 84px; display: flex; flex-direction: column; gap: 6px; color: var(--ink-2); z-index: 2; }
.hero__meta--tl { left: var(--pad); }
.hero__meta--tr { right: calc(var(--pad) + 28px); text-align: right; }
.hero__meta b { font-weight: 400; color: var(--heat); }
.hero__copy {
  position: absolute; z-index: 2; left: var(--pad); right: calc(var(--pad) + 34px);
  bottom: 64px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end;
  opacity: 0; transform: translateY(10px); transition: opacity 1.4s var(--ease) 1.6s, transform 1.4s var(--ease) 1.6s;
}
.is-ready .hero__copy { opacity: 1; transform: none; }
.hero__lede { margin: 0; font: 400 clamp(26px, 2.6vw, 40px)/1.02 var(--serif); letter-spacing: -.01em; }
.hero__lede em { color: var(--heat); }
.hero__sub { margin: 0 0 4px; justify-self: end; max-width: 330px; text-transform: none; font-size: 12px; line-height: 1.6; color: var(--ink-2); letter-spacing: 0; }
.hero__hint { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink-3); }
.hero__hint i { width: 1px; height: 34px; background: linear-gradient(var(--ink-3), transparent); animation: drip 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
.hint--touch { display: none; }
@media (hover: none) { .hint--desk { display: none; } .hint--touch { display: inline; } }

/* ============================================================
   REFRACTION
   ============================================================ */
.refr { position: relative; height: 420vh; background: var(--bone); }
.refr__sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  display: grid; grid-template-columns: minmax(280px, 1fr) 2.1fr; grid-template-rows: auto 1fr auto;
  column-gap: clamp(24px, 4vw, 72px); padding: 96px calc(var(--pad) + 30px) 36px var(--pad);
}
.refr__head { grid-column: 1; grid-row: 1; }
.refr__title { margin: 18px 0 0; font: 400 clamp(38px, 4.2vw, 68px)/.95 var(--serif); letter-spacing: -.02em; }
.refr__title em { color: var(--heat); }
.refr__legend { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 10px; color: var(--ink-2); }
.refr__legend li { display: flex; align-items: center; gap: 12px; }
.refr__legend svg { width: 38px; height: 10px; overflow: visible; flex: none; }
.refr__stages { grid-column: 1; grid-row: 2; align-self: end; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.refr__stages li { border-top: 1px solid rgba(22,19,17,.18); padding-top: 12px; opacity: .28; transition: opacity .6s var(--ease); max-width: 360px; }
.refr__stages li.is-on { opacity: 1; }
.refr__stages li.is-on span { color: var(--heat); }
.refr__stages p { margin: 8px 0 0; font-size: 15px; line-height: 1.4; }
.refr__board { grid-column: 2; grid-row: 1 / 3; align-self: center; position: relative; }
.refr__svg { width: 100%; height: auto; display: block; overflow: visible; max-height: calc(100svh - 170px); }
.refr__readout { grid-column: 2; grid-row: 3; display: flex; gap: 32px; justify-content: flex-end; color: var(--ink-3); padding-top: 14px; }
.refr__readout b { font-weight: 400; color: var(--ink); }
.refr__scan line { stroke: var(--heat); stroke-width: 1.6; }
.refr__scanlabel { font: 13px var(--mono); fill: var(--heat); letter-spacing: .06em; }
.refr__notes text { font-family: "Hand", cursive; fill: #2c4a9a; }
.refr__notes path { stroke: #2c4a9a; fill: none; stroke-width: 2; stroke-linecap: round; }

/* ============================================================
   MANIFESTO
   ============================================================ */
.mani { padding: clamp(120px, 22vh, 240px) var(--pad); background: var(--bone); }
.mani__text { margin: 0 auto; max-width: 1180px; font: 400 clamp(34px, 5.1vw, 82px)/1.02 var(--serif); letter-spacing: -.02em; text-indent: 18%; }
.mani__text .w { opacity: .12; transition: opacity .5s linear, color .5s linear; }
.mani__text .w.on { opacity: 1; }
.mani__text em .w.on { color: var(--heat); }

/* ============================================================
   CONDENSER
   ============================================================ */
.cond {
  position: relative; background: var(--ink); color: var(--bone);
  display: grid; grid-template-columns: minmax(300px, 0.8fr) 2fr; gap: clamp(28px, 4vw, 64px);
  padding: 130px calc(var(--pad) + 30px) 110px var(--pad); min-height: 100vh;
}
.cond .label { color: #8d8378; }
.cond__title { margin: 18px 0 34px; font: 400 clamp(52px, 6vw, 104px)/.9 var(--serif); letter-spacing: -.03em; }
.cond__title em { color: var(--heat); }
.cond__form textarea {
  width: 100%; resize: none; background: transparent; color: var(--bone); border: 0;
  border-bottom: 1px solid rgba(235,229,217,.35); padding: 6px 0 12px; border-radius: 0;
  font: 400 clamp(24px, 2vw, 30px)/1.15 var(--serif); letter-spacing: -.005em;
}
.cond__form textarea::placeholder { color: rgba(235,229,217,.3); font-style: italic; }
.cond__form textarea:focus { outline: none; border-bottom-color: var(--heat); }
.cond__row { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; }
.cond__go {
  display: inline-flex; gap: 14px; align-items: center; border: 0; background: var(--heat); color: var(--ink);
  font: 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 14px 18px; border-radius: 99px; cursor: pointer;
  transition: background .3s, color .3s;
}
.cond__go:hover { background: var(--bone); }
.cond__go kbd { font: inherit; opacity: .6; }
.cond__go[disabled] { opacity: .5; }
.cond__count { color: #8d8378; }
.cond__count b { font-weight: 400; color: var(--bone); }
.cond__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.chip {
  border: 1px solid rgba(235,229,217,.22); background: transparent; color: rgba(235,229,217,.8);
  font: 14px/1 var(--serif); font-style: italic; padding: 9px 13px 10px; border-radius: 99px; cursor: pointer; text-align: left;
  transition: border-color .3s, color .3s, background .3s;
}
.chip:hover, .chip.is-on { border-color: var(--heat); color: var(--bone); }
.chip.is-on { background: rgba(255,61,23,.12); }
.cond__log { list-style: none; margin: 34px 0 0; padding: 18px 0 0; border-top: 1px solid rgba(235,229,217,.14); min-height: 170px; color: #8d8378; font-size: 10.5px; line-height: 1.9; text-transform: none; letter-spacing: .02em; }
.cond__log li { display: flex; justify-content: space-between; gap: 12px; animation: logIn .4s var(--ease) both; }
.cond__log li b { font-weight: 400; color: var(--bone); }
.cond__log li i { font-style: normal; color: var(--heat); white-space: nowrap; }
@keyframes logIn { from { opacity: 0; transform: translateX(-6px); } }

.cond__out { position: relative; align-self: start; }
.cond__sweep { position: absolute; inset: -12px -8px; pointer-events: none; z-index: 5; }
.cond__sweep i { position: absolute; left: 0; right: 0; top: 0; height: 1.5px; background: var(--heat); box-shadow: 0 0 18px 2px rgba(255,61,23,.55); opacity: 0; }
.cond__sweep.run i { animation: sweep 2.3s cubic-bezier(.5,0,.2,1) forwards; }
@keyframes sweep { 0% { top: 0; opacity: 1; } 92% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* artifact grid */
.art {
  --b-bg: #f1e8d8; --b-ink: #1d1a17; --b-acc: #e2562b; --b-soft: #e4d7c0;
  --b-display: "Instrument Serif"; --b-body: "Instrument Sans";
  display: grid; grid-template-columns: 1fr 1fr 1fr 1.05fr; grid-template-rows: auto auto; gap: 14px;
}
.art figure { margin: 0; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.art figcaption { display: flex; justify-content: space-between; gap: 10px; color: #8d8378; font-size: 9.5px; }
.art figcaption span:last-child { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.art [data-reveal] { clip-path: inset(0 0 100% 0); }
.art.is-shown [data-reveal] { clip-path: inset(0 0 0 0); transition: clip-path 1s cubic-bezier(.5,0,.2,1); }

.art__brand { grid-column: 1; grid-row: 1; }
.art__logo { aspect-ratio: 1; background: var(--b-acc); color: var(--b-bg); display: grid; place-items: center; border-radius: 3px; overflow: hidden; position: relative; }
.art__logo svg { width: 62%; height: 62%; overflow: visible; }
.art__logo .lw { position: absolute; left: 10px; bottom: 9px; font: 13px/1 var(--b-display); letter-spacing: .02em; }

.art__site { grid-column: 2 / 5; grid-row: 1; }
.site {
  background: var(--b-bg); color: var(--b-ink); border-radius: 3px; overflow: hidden; aspect-ratio: 16 / 8.2;
  display: flex; flex-direction: column; font-family: var(--b-body);
}
.site__nav { display: flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 11px; border-bottom: 1px solid color-mix(in srgb, var(--b-ink) 12%, transparent); }
.site__nav b { font: 15px/1 var(--b-display); letter-spacing: .01em; }
.site__mini { width: 14px; height: 14px; border-radius: 50%; background: var(--b-acc); }
.site__links { display: flex; gap: 10px; margin-left: auto; }
.site__links i { width: 30px; height: 4px; border-radius: 3px; background: color-mix(in srgb, var(--b-ink) 22%, transparent); }
.site__btn { background: var(--b-ink); color: var(--b-bg); padding: 6px 10px; border-radius: 99px; font-size: 9.5px; white-space: nowrap; }
.site__hero { position: relative; flex: 1; display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto 1fr; padding: 18px 16px 0; gap: 0 16px; min-height: 0; }
.site__kicker { grid-column: 1; margin: 0 0 10px; font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--b-acc); }
.site__h { grid-column: 1; margin: 0; font: 400 clamp(22px, 3.1vw, 50px)/.92 var(--b-display); letter-spacing: -.02em; align-self: start; text-wrap: balance; }
.site__art { grid-column: 2; grid-row: 1 / 3; position: relative; border-radius: 3px 3px 0 0; overflow: hidden; background: var(--b-soft); }
.site__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.site__foot { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid color-mix(in srgb, var(--b-ink) 12%, transparent); }
.site__foot span { padding: 10px 16px; font-size: 9.5px; line-height: 1.3; border-right: 1px solid color-mix(in srgb, var(--b-ink) 12%, transparent); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site__foot span:last-child { border: 0; }

.art__app { grid-column: 1; grid-row: 2; align-items: stretch; }
.art__app .phone { align-self: flex-start; }
.phone {
  width: 100%; max-width: 250px; aspect-ratio: 9 / 17.5; background: var(--b-ink); color: var(--b-bg);
  border-radius: 30px; padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; font-family: var(--b-body);
  box-shadow: inset 0 0 0 5px #0d0b0a, inset 0 0 0 6px rgba(255,255,255,.08);
}
.phone__bar { display: flex; justify-content: space-between; align-items: center; font-size: 9px; padding: 4px 8px 0; opacity: .8; }
.phone__isl { width: 56px; height: 16px; border-radius: 99px; background: #000; }
.phone__t { margin: 8px 6px 0; font: 26px/.95 var(--b-display); letter-spacing: -.01em; }
.phone__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.phone__list li { display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 12px; background: color-mix(in srgb, var(--b-bg) 8%, transparent); font-size: 10.5px; }
.phone__list li:first-child { background: var(--b-acc); color: var(--b-ink); }
.phone__list li i { width: 26px; height: 26px; border-radius: 8px; background: color-mix(in srgb, var(--b-bg) 22%, transparent); flex: none; display: grid; place-items: center; font-style: normal; font-size: 12px; }
.phone__list li:first-child i { background: color-mix(in srgb, var(--b-ink) 18%, transparent); }
.phone__list li span { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.phone__list li small { opacity: .6; font-size: 9px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.phone__list li em { margin-left: auto; font-style: normal; font-size: 10px; opacity: .8; }
.phone__tab { display: flex; justify-content: space-around; padding: 8px 0 4px; }
.phone__tab i { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid color-mix(in srgb, var(--b-bg) 50%, transparent); }
.phone__tab i:first-child { background: var(--b-acc); border-color: var(--b-acc); }

.art__spec { grid-column: 2 / 5; grid-row: 2; display: grid !important; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto 1fr auto; }
.art__spec .spec__sw { grid-column: 1 / 3; }
.art__spec .spec__type { grid-column: 1; grid-row: 2; }
.art__spec .spec__grid { grid-column: 2; grid-row: 2; grid-template-columns: 1fr; align-content: end; }
.art__spec .spec__grid span + span { border-left: 0; border-top: 1px solid rgba(235,229,217,.1); }
.art__spec figcaption { grid-column: 1 / 3; }
.art__spec > div { border-radius: 3px; }
.spec__sw { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; height: 150px; overflow: hidden; }
.spec__sw span { position: relative; display: flex; align-items: flex-end; padding: 8px; font: 9px/1.2 var(--mono); letter-spacing: .03em; }
.spec__type { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 10px; background: #221d19; padding: 14px; min-height: 150px; }
.spec__aa { font: 120px/.8 var(--b-display); letter-spacing: -.03em; color: var(--bone); }
.spec__type .mono { color: #b0a597; text-align: left; font-size: 9.5px; line-height: 1.6; }
.spec__grid { display: grid; grid-template-columns: 1fr 1fr; background: #221d19; color: #b0a597; font-size: 9.5px; }
.spec__grid span { padding: 10px 14px; line-height: 1.5; }
.spec__grid span + span { border-left: 1px solid rgba(235,229,217,.1); }
.art__spec { gap: 4px; }
.art__spec figcaption { margin-top: 4px; }

.art[data-empty="true"] > figure { opacity: .15; }

/* ============================================================
   RETURNS
   ============================================================ */
.ret { padding: clamp(110px, 18vh, 200px) calc(var(--pad) + 30px) clamp(100px, 16vh, 180px) var(--pad); background: var(--bone); }
.ret__head { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 48px; }
.ret__note { margin: 0; justify-self: end; max-width: 380px; font: 400 20px/1.25 var(--serif); }
.ret__note b { font-size: 13px; color: var(--heat); font-weight: 400; }
.ret__list { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.ret__row {
  position: relative; display: grid; grid-template-columns: 70px 1fr minmax(200px, 300px); align-items: end; gap: 20px;
  border-top: 1px solid var(--ink); padding: 10px 0 0; height: clamp(120px, 13.5vw, 200px);
  overflow: hidden; cursor: default;
}
.ret__row:last-child { border-bottom: 1px solid var(--ink); }
.ret__n { align-self: start; color: var(--ink-3); padding-top: 4px; }
.ret__d { align-self: start; padding-top: 4px; text-transform: none; font-size: 12px; line-height: 1.5; color: var(--ink-2); letter-spacing: 0; }
.ret__w {
  position: relative; align-self: end; font: 400 clamp(56px, 11vw, 190px)/.74 var(--serif); letter-spacing: -.035em; white-space: nowrap;
  transform: translateY(0); transition: transform .8s var(--ease), color .5s;
}
/* reflection, cut at the row's baseline — shimmering via SVG turbulence */
.ret__w::after {
  content: attr(data-w); position: absolute; left: 0; top: 100%; margin-top: .02em;
  transform: scaleY(-.5) translateY(-100%); transform-origin: top; color: var(--heat); opacity: 0;
  filter: url(#heat); transition: opacity .6s var(--ease);
  -webkit-mask-image: linear-gradient(to top, transparent 20%, #000); mask-image: linear-gradient(to top, transparent 20%, #000);
}
.ret__row:hover .ret__w, .ret__row.is-hot .ret__w { transform: translateY(-46%); }
.ret__row:hover .ret__w::after, .ret__row.is-hot .ret__w::after { opacity: .75; }
.ret__row:hover .ret__n, .ret__row.is-hot .ret__n { color: var(--heat); }
.ret__filters { position: absolute; }

/* ============================================================
   APPROACH
   ============================================================ */
.appr { position: relative; background: var(--bone); overflow: hidden; }
.appr__sky { position: relative; overflow: hidden; padding: 120px var(--pad) 50px; min-height: 64vh; display: flex; flex-direction: column; justify-content: flex-end; }
.appr { --sun-w: min(30vw, 420px); --sun-r: 12vw; }
.appr__sun { position: absolute; right: var(--sun-r); bottom: 0; width: var(--sun-w); aspect-ratio: 1; border-radius: 50%; background: var(--heat); transform: translateY(calc(var(--set, 0) * 100%)); z-index: 0; }
.appr__sky > *:not(.appr__sun) { position: relative; z-index: 1; }
.appr__title { margin: 18px 0 0; font: 400 clamp(48px, 9vw, 150px)/.86 var(--serif); letter-spacing: -.035em; }
.appr__title em { color: var(--heat); }
.appr__line { position: relative; height: 1px; background: var(--ink); }
.appr__line i { position: absolute; top: -1px; height: 3px; width: 18vw; left: 0; background: var(--heat); animation: travel 9s linear infinite; }
@keyframes travel { from { transform: translateX(-20vw); } to { transform: translateX(100vw); } }
.appr__ground {
  padding: 56px var(--pad) 90px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end;
  background: repeating-linear-gradient(to bottom, transparent 0 7px, rgba(22,19,17,.06) 7px 8px);
  position: relative; overflow: hidden;
}
.appr__ground > * { position: relative; z-index: 1; }
/* the sun's inferior mirage, sliced by heat */
.appr__ground::before {
  content: ""; position: absolute; top: 0; right: var(--sun-r); width: var(--sun-w); aspect-ratio: 1; border-radius: 50%;
  background: var(--heat); opacity: .55; transform: translateY(calc(var(--set, 0) * -100%)) scaleY(.9); transform-origin: top;
  -webkit-mask-image: repeating-linear-gradient(to bottom, #000 0 5px, transparent 5px 9px), linear-gradient(to bottom, #000 55%, transparent 100%);
  -webkit-mask-composite: source-in; mask-image: repeating-linear-gradient(to bottom, #000 0 5px, transparent 5px 9px), linear-gradient(to bottom, #000 55%, transparent 100%);
  mask-composite: intersect; animation: slivers 3s steps(6) infinite;
}
@keyframes slivers { 50% { -webkit-mask-position: 0 3px, 0 0; mask-position: 0 3px, 0 0; } }
.appr__form label { color: var(--ink-3); display: block; margin-bottom: 14px; }
.appr__field { display: flex; border-bottom: 1.5px solid var(--ink); }
.appr__field input { flex: 1; min-width: 0; border: 0; background: transparent; font: 400 clamp(26px, 2.8vw, 42px)/1.2 var(--serif); padding: 8px 0 12px; color: var(--ink); border-radius: 0; }
.appr__field input::placeholder { color: var(--ink-3); font-style: italic; opacity: .6; }
.appr__field input:focus { outline: none; }
.appr__field button { border: 0; background: none; font: 11px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; padding: 0 0 0 14px; color: var(--ink); white-space: nowrap; }
.appr__field button b { display: inline-block; color: var(--heat); font-weight: 400; transition: transform .4s var(--ease); }
.appr__field button:hover b { transform: translateX(5px); }
.appr__ok { margin: 16px 0 0; color: var(--heat); }
.appr__small { justify-self: end; color: var(--ink-3); margin: 0; }

.foot { display: flex; justify-content: space-between; gap: 20px; padding: 22px var(--pad); background: var(--ink); color: #8d8378; font-size: 10px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .art { grid-template-columns: 1fr 1fr; }
  .art__brand { grid-column: 1; grid-row: 2; }
  .art__site { grid-column: 1 / 3; grid-row: 1; }
  .art__app { grid-column: 2; grid-row: 2 / 4; }
  .art__spec { grid-column: 1; grid-row: 3; }
  .cond { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 15px; }
  .nav { padding: 14px 16px; }
  .nav__links { display: none; }
  .nav__cta { padding: 10px 13px; font-size: 10px; }
  .alt { display: none; }

  .hero__meta { top: 68px; }
  .hero__meta--tr { right: var(--pad); }
  .hero__copy { grid-template-columns: 1fr; top: auto; bottom: 86px; gap: 14px; }
  .hero__lede { font-size: 30px; }
  .hero__sub { justify-self: start; max-width: 300px; font-size: 11px; }
  .hero__hint { bottom: 20px; }

  /* refraction becomes a vertical instrument: board on top, one stage at a time */
  .refr { height: 380vh; }
  .refr__sticky { display: flex; flex-direction: column; padding: 76px 16px 22px; gap: 14px; }
  .refr__title { font-size: 34px; margin-top: 8px; }
  .refr__title br { display: none; }
  .refr__legend { display: none; }
  .appr { --sun-w: 50vw; --sun-r: -6vw; }
  .refr__board { order: 2; margin: 4px -4px 0; flex: none; }
  .refr__svg { max-height: none; }
  .refr__readout { order: 3; justify-content: space-between; gap: 10px; font-size: 9.5px; padding: 0; }
  .refr__stages { order: 4; position: relative; flex: 1; display: block; margin-top: 6px; align-self: stretch; }
  .refr__stages li { position: absolute; top: 0; left: 0; right: 0; opacity: 0; max-width: none; transform: translateY(8px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
  .refr__stages li.is-on { opacity: 1; transform: none; }
  .refr__stages p { font-size: 17px; font-family: var(--serif); line-height: 1.2; }

  .mani { padding: 110px 20px; }
  .mani__text { font-size: 38px; text-indent: 0; line-height: 1.04; }

  .cond { padding: 96px 16px 80px; gap: 36px; min-height: 0; }
  .cond__title { font-size: 64px; margin-bottom: 22px; }
  .cond__chips { flex-wrap: nowrap; overflow-x: auto; margin: 22px -16px 0; padding: 0 16px 4px; scrollbar-width: none; }
  .cond__chips::-webkit-scrollbar { display: none; }
  .chip { flex: none; }
  .cond__log { min-height: 0; margin-top: 24px; }
  .art { grid-template-columns: 1fr 1fr; gap: 12px; }
  .art__site { grid-column: 1 / 3; grid-row: 1; }
  .site { aspect-ratio: 4 / 5; }
  .site__hero { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; padding: 16px 14px 0; }
  .site__h { font-size: 36px; margin-bottom: 14px; }
  .site__art { grid-column: 1; grid-row: 3; }
  .site__links { display: none; }
  .site__nav b { margin-right: auto; }
  .site__foot { grid-template-columns: 1fr 1fr; }
  .site__foot span:nth-child(3) { display: none; }
  .site__foot span:nth-child(2) { border: 0; }
  .art__brand { grid-column: 1; grid-row: 2; }
  .art__spec { grid-column: 1 / 3; grid-row: 3; }
  .art__app { grid-column: 2; grid-row: 2; }
  .phone { border-radius: 22px; padding: 9px 9px; gap: 6px; aspect-ratio: auto; height: 100%; min-height: 0; }
  .art__app .phone { align-self: stretch; }
  .phone__t { font-size: 18px; margin: 4px 4px 0; }
  .phone__isl { width: 38px; height: 12px; }
  .phone__list li { padding: 6px; font-size: 9.5px; gap: 7px; border-radius: 9px; }
  .phone__list li:nth-child(n+4) { display: none; }
  .phone__list li i { width: 20px; height: 20px; border-radius: 6px; font-size: 10px; }
  .phone__list li em { display: none; }
  .phone__tab { display: none; }
  .spec__aa { font-size: 72px; }

  .ret { padding: 100px 16px 90px; }
  .ret__head { grid-template-columns: 1fr; margin-bottom: 30px; }
  .ret__note { justify-self: start; font-size: 19px; }
  .ret__row { grid-template-columns: 34px 1fr; grid-template-rows: auto 1fr; height: auto; min-height: 150px; padding: 10px 0 0; gap: 4px 10px; }
  .ret__n { grid-row: 1; }
  .ret__d { grid-column: 2; grid-row: 1; font-size: 11.5px; padding-top: 3px; }
  .ret__w { grid-column: 1 / 3; grid-row: 2; font-size: clamp(52px, 17vw, 80px); padding-top: 18px; }
  .ret__row.is-hot .ret__w { transform: translateY(-30%); }

  .appr__sky { padding: 100px 16px 150px; min-height: 0; }
  .appr__title { font-size: 54px; }
  .appr__line i { width: 40vw; }
  .appr__ground { grid-template-columns: 1fr; padding: 40px 16px 70px; gap: 26px; }
  .appr__field { flex-direction: column; border: 0; }
  .appr__field input { border-bottom: 1.5px solid var(--ink); font-size: 26px; }
  .appr__field button { align-self: flex-start; margin-top: 16px; padding: 15px 18px; background: var(--ink); color: var(--bone); border-radius: 99px; }
  .appr__small { justify-self: start; }
  .foot { flex-direction: column; gap: 8px; padding: 22px 16px 30px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition-duration: .001s !important; }
  html { scroll-behavior: auto; }
}
