/*
design.jgonzalez.dev — the Ember language from the jgonzalez.dev round-2 proposal, adapted for long reading.
Palette: black #0B0908 behind all reading; ember #8A1E0A only in the hero field and the contact band.
Type: Inter only; display 500 at -0.055em; running text 18px at 1.65 in a 68ch column.
Devices: hairline rails, crop marks, frosted panels, boxed labels, glass cubes, a WebGL strand field in heroes.
Reading rules: grain sits under the content, never over text; the strand field appears only in heroes.
*/
:root {
  color-scheme: dark;
  --black: #0B0908; --char: #150A07; --deep: #220C06; --rust: #3A1208;
  --ember-3: #4A1409; --ember-2: #62170A; --ember: #8A1E0A;
  --flare: #FF3A1A; --hot: #FF6B2C; --amber: #FFB08A; --white-hot: #FFE4D6;
  --ink: #F2E3E0; --ink-2: #DCC3BC; --rose: #C98F80; --muted: #CFB3AA;
  --hair: rgba(242, 227, 224, .085); --hair-2: rgba(242, 227, 224, .18); --hair-3: rgba(242, 227, 224, .34);
  --edge: rgba(255, 236, 230, .72); --edge-dim: rgba(255, 236, 230, .3);
  --glass: rgba(255, 224, 214, .035); --glass-2: rgba(255, 224, 214, .075); --glass-3: rgba(255, 224, 214, .15);
  --frost: rgba(22, 8, 5, .58); --frost-hi: rgba(255, 214, 200, .05);
  --scrim: rgba(11, 9, 8, .8); --scrim-2: rgba(11, 9, 8, .52); --scrim-0: rgba(11, 9, 8, 0); --scrim-3: rgba(11, 9, 8, .68);
  --shadow: rgba(0, 0, 0, .55);
  --glow-a: rgba(255, 84, 34, .55); --glow-b: rgba(255, 84, 34, .2); --glow-0: rgba(255, 84, 34, 0);
  --blob-1: rgba(214, 78, 24, .26); --blob-2: rgba(170, 40, 14, .3); --blob-3: rgba(240, 104, 40, .2);
  --focus: #FFB49A; --sel: #FF6B2C; --on-sel: #0B0908;
  --col: 1120px; --read: 68ch;
  --gl: max(16px, env(safe-area-inset-left, 0px)); --gr: max(16px, env(safe-area-inset-right, 0px));
  --ease: cubic-bezier(.2, .7, .1, 1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .86 0 0 0 1.7 -.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
  --grain-soft: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='170' height='170'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .9 0 0 0 0 .86 0 0 0 .34 -.13'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; background: var(--black); scrollbar-color: var(--ember-2) var(--black); scrollbar-width: thin; }
body { margin: 0; background: var(--black); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-optical-sizing: auto; font-size: 17px; line-height: 1.55; letter-spacing: -.011em; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: var(--sel); color: var(--on-sel); }
:focus-visible { outline: 1.5px solid var(--focus); outline-offset: 4px; }
h1, h2, h3 { margin: 0; font-weight: 500; letter-spacing: -.05em; line-height: 1; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
.sr-only { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gl); top: -80px; z-index: 90; background: var(--ink); color: var(--black); padding: 10px 16px; font-weight: 500; text-decoration: none; }
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }
.page { position: relative; overflow-x: clip; }

/* atmosphere: drifting glow behind the content, grain under the content */
.atmo { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; opacity: calc(var(--atmo, 0) * var(--atmo-max, .7)); }
.atmo i { position: absolute; width: 58vmax; height: 58vmax; border-radius: 50%; background: radial-gradient(closest-side, var(--blob), transparent); will-change: transform; animation: drift1 40s ease-in-out infinite alternate; }
.atmo .b1 { --blob: var(--blob-1); left: -28vmax; top: -6vmax; }
.atmo .b2 { --blob: var(--blob-2); right: -30vmax; top: 18vh; animation-name: drift2; animation-duration: 47s; }
.atmo .b3 { --blob: var(--blob-3); left: 18vw; bottom: -44vmax; animation-name: drift3; animation-duration: 55s; }
@keyframes drift1 { to { transform: translate3d(22vw, 18vh, 0) scale(1.15); } }
@keyframes drift2 { to { transform: translate3d(-26vw, 12vh, 0) scale(.9); } }
@keyframes drift3 { to { transform: translate3d(-14vw, -22vh, 0) scale(1.2); } }
.grain { position: fixed; inset: -60px; z-index: 1; pointer-events: none; background-image: var(--grain); opacity: .06; animation: grain 1.1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-22px, 14px); } 40% { transform: translate(18px, -26px); } 60% { transform: translate(-12px, -8px); } 80% { transform: translate(26px, 20px); } 100% { transform: translate(0, 0); } }
.rails { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.rails::before, .rails::after { content: ""; position: absolute; top: 0; bottom: 0; width: 1px; background: var(--hair); left: calc(50% - var(--col) / 2); }
.rails::after { left: calc(50% + var(--col) / 2); }
@media (max-width: 1180px) { .rails { display: none; } }
.case-page { --atmo-max: .45; }

/* shared devices */
.col { position: relative; z-index: 2; max-width: calc(var(--col) + 64px); margin-inline: auto; padding-left: max(32px, var(--gl)); padding-right: max(32px, var(--gr)); }
.band { position: relative; z-index: 2; padding-block: 120px; border-top: 1px solid var(--hair); }
.band.tight { padding-block: 72px; }
.duo { font-size: clamp(34px, 4.4vw, 62px); line-height: 1.02; letter-spacing: -.055em; }
.duo > span { display: block; }
.duo > span + span { color: var(--rose); }
.intro { margin-top: 26px; max-width: 58ch; color: var(--ink-2); font-size: 18px; }
.box { display: inline-flex; align-items: center; border: 1px solid var(--hair-3); padding: 2px 8px; font-size: 13px; line-height: 1.4; font-weight: 500; letter-spacing: -.005em; color: var(--ink); white-space: nowrap; }
.frost { background-color: var(--frost); background-image: linear-gradient(180deg, var(--frost-hi), transparent 60%), var(--grain-soft); -webkit-backdrop-filter: blur(22px) saturate(1.25); backdrop-filter: blur(22px) saturate(1.25); border: 1px solid var(--hair); }
.crop { position: relative; }
.crop::before { content: ""; position: absolute; inset: -7px; pointer-events: none; z-index: 3; --c: var(--hair-3);
  background:
    linear-gradient(var(--c), var(--c)) left top / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) left top / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) right top / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) right top / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) left bottom / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) left bottom / 1px 12px no-repeat,
    linear-gradient(var(--c), var(--c)) right bottom / 12px 1px no-repeat, linear-gradient(var(--c), var(--c)) right bottom / 1px 12px no-repeat; }
.btn { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 10px 18px; border: 1px solid var(--hair-3); background: var(--glass-2); color: var(--ink); font-size: 16px; font-weight: 500; letter-spacing: -.01em; cursor: pointer; text-decoration: none; transition: border-color .25s, box-shadow .25s, background-color .25s; }
.btn:hover { border-color: var(--edge); box-shadow: 0 0 28px var(--glow-b); background: var(--glass-3); }
.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--hot); box-shadow: 0 0 10px var(--glow-a); flex: none; }
.btn.done .dot { background: var(--white-hot); box-shadow: 0 0 0 4px var(--glow-b), 0 0 16px var(--hot); }
.ul { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 3px; font-weight: 500; transition: color .2s; }
.ul:hover { color: var(--amber); }
.ul svg { width: 10px; height: 10px; flex: none; }
.ul svg path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.addr { user-select: all; -webkit-user-select: all; font-weight: 500; overflow-wrap: anywhere; }
.num { display: inline-flex; align-items: center; font-size: 13px; color: var(--ink-2); }
.num i { position: relative; width: 14px; height: 1px; background: currentColor; }
.num i::before { content: ""; position: absolute; left: -1px; top: -3px; border-right: 5px solid currentColor; border-top: 3.5px solid transparent; border-bottom: 3.5px solid transparent; }
.num b { font-weight: 500; border: 1px solid var(--hair-3); padding: 0 5px; line-height: 1.45; font-variant-numeric: tabular-nums; }

/* glass cubes */
.cube { display: block; overflow: visible; }
.cube .hid { fill: none; stroke: var(--edge); stroke-opacity: .42; stroke-width: 1; stroke-dasharray: 2.5 3; vector-effect: non-scaling-stroke; }
.cube .ft { fill: url(#gT); } .cube .fl { fill: url(#gL); } .cube .fr { fill: url(#gR); }
.cube .ft, .cube .fl, .cube .fr { stroke: var(--edge); stroke-width: 1; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.s1 { stop-color: var(--ink); stop-opacity: .34; } .s2 { stop-color: var(--rose); stop-opacity: .07; }
.s3 { stop-color: var(--ink); stop-opacity: .17; } .s4 { stop-color: var(--ink); stop-opacity: .03; }
.s5 { stop-color: var(--rose); stop-opacity: .24; } .s6 { stop-color: var(--ink); stop-opacity: .05; }
.h1 { stop-color: var(--ink); stop-opacity: .55; } .h2 { stop-color: var(--rose); stop-opacity: .18; }
.h3 { stop-color: var(--ink); stop-opacity: .3; } .h4 { stop-color: var(--ink); stop-opacity: .08; }
.h5 { stop-color: var(--rose); stop-opacity: .4; } .h6 { stop-color: var(--ink); stop-opacity: .1; }

/* header */
.hdr { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); border-bottom: 1px solid var(--hair); transition: background-color .4s, backdrop-filter .4s; }
.hdr.solid { background: var(--scrim-2); -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); }
.hdr-in { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: 64px; padding-left: var(--gl); padding-right: var(--gr); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 500; font-size: 16px; letter-spacing: -.02em; justify-self: start; }
.brand .cube { width: 24px; height: 24px; }
.nav ul { list-style: none; display: flex; gap: 0 .55em; margin: 0; padding: 0; font-size: 15px; }
.nav li::after { content: "," / ""; color: var(--muted); }
.nav li:last-child::after { content: none; }
.nav a { text-decoration: none; color: var(--ink-2); transition: color .2s; }
.nav a:hover, .nav a[aria-current="true"] { color: var(--ink); }
.hdr-end { justify-self: end; display: flex; align-items: center; gap: 18px; font-size: 15px; }
.lang { display: flex; align-items: center; gap: 6px; color: var(--muted); }
.lang a { text-decoration: none; color: var(--ink-2); padding: 2px 4px; }
.lang a:hover { color: var(--ink); }
.lang [aria-current="true"] { color: var(--ink); border: 1px solid var(--hair-3); padding: 1px 5px; }
.menu { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.menu span:not(.sr-only) { position: absolute; left: 10px; right: 10px; height: 1px; background: var(--ink); transition: transform .3s var(--ease); }
.menu span:nth-child(1) { top: 18px; } .menu span:nth-child(2) { top: 25px; }
.menu[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(12deg); }
.menu[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-12deg); }

/* landing hero */
.hero { position: relative; z-index: 2; height: clamp(720px, 100svh, 940px); overflow: hidden; isolation: isolate; --cx: 70%; --cy: 46%; --k: 1; }
.strands { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: 0; background: var(--black); }
.shade { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim-2) 34%, var(--scrim-0) 58%), linear-gradient(0deg, var(--black) 0%, var(--scrim-2) 18%, var(--scrim-0) 36%), linear-gradient(180deg, var(--scrim-2) 0%, var(--scrim-0) 18%); }
.hero-in { position: absolute; inset: 0; z-index: 2; }
.core-box { position: absolute; inset: 0; pointer-events: none; }
.cross i { position: absolute; background: var(--hair-2); }
.cross .cx { left: 0; right: 0; top: var(--cy); height: 1px; }
.cross .cy { left: var(--cx); width: 1px; top: 64px; bottom: 0; }
.rays { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.rays path { fill: none; stroke: var(--ink); stroke-opacity: .42; stroke-width: 1; }
.rays .tip { fill: var(--ink); fill-opacity: .7; stroke: none; }
.rays .st { fill: var(--hot); stroke: none; }
.core { position: absolute; left: var(--cx); top: var(--cy); width: calc(124px * var(--k)); height: calc(124px * var(--k)); transform: translate(-50%, -50%); }
.core::before { content: ""; position: absolute; inset: -90%; background: radial-gradient(closest-side, var(--glow-b), var(--glow-0)); }
.core .cube { position: relative; width: 100%; height: 100%; transform: perspective(700px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .8s var(--ease); filter: drop-shadow(0 0 18px var(--glow-b)); }
.core .cube .ft { fill: url(#gTh); } .core .cube .fl { fill: url(#gLh); } .core .cube .fr { fill: url(#gRh); }
.core .cube .ft, .core .cube .fl, .core .cube .fr { stroke: var(--ink); }
.seats { list-style: none; margin: 0; padding: 0; }
.seats li { position: absolute; left: calc(var(--cx) + var(--dx) * var(--k) * 1px); top: calc(var(--cy) + var(--dy) * var(--k) * 1px); transform: translate(-50%, -50%); }
.seats a { display: grid; justify-items: start; gap: 1px; padding: 7px 12px 8px; border: 1px solid var(--hair-3); background: var(--scrim-3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-decoration: none; pointer-events: auto; transition: border-color .25s, box-shadow .25s; }
.seats .tag { font-size: 15px; font-weight: 500; letter-spacing: -.012em; color: var(--ink); white-space: nowrap; }
.seats .at { font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.seats a:hover, .seats a:focus-visible { border-color: var(--amber); box-shadow: 0 0 22px var(--glow-a); outline: none; }
.hero-copy { position: absolute; left: var(--gl); top: calc(var(--cy) - 120px); width: min(52vw, 760px); padding-left: max(0px, calc(50vw - var(--col) / 2 - var(--gl))); }
.kicker { font-size: 17px; color: var(--ink-2); margin-bottom: 26px; letter-spacing: -.015em; }
.hero h1 { font-size: clamp(38px, 4.1vw, 62px); line-height: 1; letter-spacing: -.055em; }
.hero h1 span, .case-hero h1 span { display: block; }
.hero h1 .t2, .case-hero h1 .t2 { color: var(--rose); margin-top: .1em; }
.hero-foot { position: absolute; left: var(--gl); right: var(--gr); bottom: 36px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-left: max(0px, calc(50vw - var(--col) / 2 - var(--gl))); padding-right: max(0px, calc(50vw - var(--col) / 2 - var(--gr))); }
.lede { max-width: 50ch; color: var(--ink-2); font-size: 18px; line-height: 1.6; }
.reach { position: relative; display: grid; justify-items: end; gap: 12px; text-align: right; }
.reach::before { content: ""; position: absolute; inset: -40px -30px -30px -60px; z-index: -1; background: radial-gradient(closest-side, var(--scrim-3), var(--scrim-0)); pointer-events: none; }
.avail { color: var(--ink-2); font-size: 16px; max-width: 46ch; }
.mailrow { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px 16px; }
.mailrow .addr { font-size: 17px; }
@media (max-width: 1359px) { .hero { --k: .9; } }
@media (max-width: 1159px) { .hero { --k: .8; --cx: 72%; } }

/* case hero */
.case-hero { position: relative; z-index: 2; min-height: clamp(600px, 82svh, 800px); overflow: hidden; isolation: isolate; display: grid; align-items: end; }
.case-hero .shade { background: linear-gradient(90deg, var(--scrim) 0%, var(--scrim-2) 46%, var(--scrim-0) 75%), linear-gradient(0deg, var(--black) 0%, var(--scrim-2) 30%, var(--scrim-0) 60%), linear-gradient(180deg, var(--scrim-2) 0%, var(--scrim-0) 20%); }
.case-hero .col { width: 100%; padding-top: 140px; padding-bottom: 64px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 30px; font-size: 15px; color: var(--ink-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--hair-3); }
.crumbs a:hover { color: var(--ink); }
.case-hero h1 { font-size: clamp(38px, 4.9vw, 70px); line-height: 1; letter-spacing: -.055em; max-width: 17em; }
.case-hero .lede { margin-top: 30px; max-width: 62ch; font-size: 19px; }
.case-hero .links { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px 26px; }

/* meta panel */
.meta { margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.meta div { padding: 22px 22px 24px; border-left: 1px solid var(--hair); }
.meta div:first-child { border-left: 0; }
.meta dt { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.meta dd { margin: 0; font-size: 16px; color: var(--ink); line-height: 1.4; }

/* reading */
.prose { max-width: var(--read); margin-top: 34px; display: grid; gap: 22px; }
.prose p { font-size: 18px; line-height: 1.68; color: var(--ink-2); }
.prose p:first-child { color: var(--ink); }

/* figures */
.shot { position: relative; margin: 0 auto; display: grid; justify-items: center; gap: 16px; }
.shot .frame { position: relative; padding: 34px; width: 100%; display: grid; place-items: center; }
.shot .frame::before, .shot .frame::after { content: ""; position: absolute; background: var(--hair); pointer-events: none; }
.shot .frame::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.shot .frame::after { top: 50%; left: 0; right: 0; height: 1px; }
.shot img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border: 1px solid var(--hair-3); box-shadow: 0 40px 70px -30px var(--shadow), 0 0 60px var(--glow-b); background: var(--char); }
.shot figcaption { max-width: 66ch; text-align: center; font-size: 15px; line-height: 1.5; color: var(--muted); }
.shot.wide { max-width: var(--col); }
.shot.narrow { max-width: 680px; }
.shot.tall { max-width: 760px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; width: 100%; }
.pair .cell { display: grid; gap: 12px; justify-items: start; }
.pair img { width: 100%; height: auto; display: block; border: 1px solid var(--hair-3); box-shadow: 0 30px 60px -30px var(--shadow); }
.mixed { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 28px; align-items: center; width: 100%; }
.mixed img { width: 100%; height: auto; display: block; border: 1px solid var(--hair-3); box-shadow: 0 40px 70px -30px var(--shadow), 0 0 60px var(--glow-b); }
.mixed .ph img { border-radius: 18px; }

/* flow */
.flow-wrap { margin-top: 0; }
.flow-wrap h3 { font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--muted); margin-bottom: 18px; }
.flow { list-style: none; margin: 0; padding: 22px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 0; }
.flow li { display: flex; align-items: center; }
.flow .box { background: var(--scrim-2); font-size: 15px; padding: 5px 10px; white-space: normal; }
.flow li + li::before { content: ""; width: 34px; height: 1px; background: repeating-linear-gradient(90deg, var(--hair-3) 0 3px, transparent 3px 6px); margin-inline: 0; }
.flow li:last-child .box { border-color: var(--amber); box-shadow: 0 0 22px var(--glow-b); }

/* decisions */
.decs { list-style: none; margin: 56px 0 0; padding: 0; border-top: 1px solid var(--hair); counter-reset: d; }
.dec { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 8px 28px; padding: 34px 0 36px; border-bottom: 1px solid var(--hair); }
.dec .num { align-self: start; margin-top: 6px; }
.dec h3 { font-size: clamp(24px, 2.3vw, 32px); letter-spacing: -.045em; line-height: 1.08; max-width: 24em; }
.dec .body { grid-column: 2; max-width: var(--read); display: grid; gap: 16px; margin-top: 10px; }
.dec .body p { font-size: 18px; line-height: 1.68; color: var(--ink-2); }
.dec .out { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; font-size: 16px; color: var(--muted); }
.dec .out .box { color: var(--ink-2); }

/* stats */
.figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; }
.figs div { padding: 28px 24px 26px; border-left: 1px solid var(--hair); }
.figs div:first-child { border-left: 0; }
.figs dt { font-size: clamp(36px, 3.6vw, 52px); line-height: 1; letter-spacing: -.06em; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--ink); }
.figs dd { margin: 10px 0 0; font-size: 15px; color: var(--muted); line-height: 1.4; }
.src { margin-top: 16px; font-size: 14px; color: var(--muted); }

/* quotes */
.quotes { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quotes li { padding: 28px 26px; display: grid; align-content: space-between; gap: 22px; min-height: 220px; }
.quotes blockquote { margin: 0; font-size: clamp(20px, 1.7vw, 24px); font-weight: 500; letter-spacing: -.03em; line-height: 1.25; color: var(--ink); }
.quotes blockquote::before { content: "“"; color: var(--hot); margin-right: .05em; }
.quotes blockquote::after { content: "”"; color: var(--hot); }
.quotes cite { font-style: normal; font-size: 14px; color: var(--muted); }

/* matrix chart */
.chart { margin-top: 48px; }
.chart-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding: 20px 24px; border-bottom: 1px solid var(--hair); }
.legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-size: 13px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.chart-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; }
.mx-wrap { padding: 8px 18px 18px; border-right: 1px solid var(--hair); }
table.mx { width: 100%; border-collapse: collapse; font-size: 14px; }
.mx thead th { position: sticky; top: 64px; z-index: 2; background: rgba(21, 10, 7, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-weight: 500; font-size: 13px; color: var(--ink-2); padding: 12px 4px 10px; text-align: center; border-bottom: 1px solid var(--hair-2); }
.mx thead th:first-child { text-align: left; padding-left: 8px; }
.mx th.grp { text-align: left; padding: 22px 8px 8px; font-size: 13px; font-weight: 500; color: var(--amber); letter-spacing: -.005em; border-bottom: 1px solid var(--hair); }
.mx th.grp .n { color: var(--muted); margin-left: 6px; font-variant-numeric: tabular-nums; }
.mx tbody tr.row { cursor: pointer; transition: background-color .2s; }
.mx tbody tr.row:hover, .mx tbody tr.row[data-on="true"] { background: var(--glass-2); }
.mx tbody tr.row[data-on="true"] th { box-shadow: inset 2px 0 0 var(--hot); }
.rowbtn { display: block; width: 100%; min-height: 32px; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; line-height: 1.3; }
.rowbtn:focus-visible { outline: 1.5px solid var(--focus); outline-offset: 3px; }
.mx tr.dx td { padding: 0; text-align: left; width: auto; background: var(--glass); }
.mx tr.dx .sticky { padding: 18px 10px 20px; }
.mx td, .mx tbody th { padding: 7px 4px; border-bottom: 1px solid var(--hair); }
.mx tbody th { text-align: left; font-weight: 400; color: var(--ink); line-height: 1.3; padding-left: 8px; }
.mx tbody th .id { display: inline-block; min-width: 34px; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.mx td { text-align: center; width: 64px; }
.sc { display: inline-block; vertical-align: middle; border-radius: 50%; }
.sc.sc0 { width: 4px; height: 4px; background: var(--hair-3); }
.sc.sc1 { width: 8px; height: 8px; background: var(--ember); box-shadow: 0 0 0 1px rgba(255, 107, 44, .35); }
.sc.sc2 { width: 12px; height: 12px; background: var(--hot); box-shadow: 0 0 8px var(--glow-b); }
.sc.sc3 { width: 16px; height: 16px; background: var(--white-hot); box-shadow: 0 0 0 2px var(--glow-b), 0 0 14px var(--glow-a); }
.sc.nm { width: 12px; height: 12px; border: 1px dashed var(--muted); background: transparent; }
.legend .scale { gap: 6px; }
.detail { position: relative; padding: 26px 24px; display: grid; align-content: start; gap: 16px; }
.detail .sticky { position: sticky; top: 120px; display: grid; gap: 16px; }
.chart-top .prompt { font-size: 15px; color: var(--ink-2); }
.sticky h3 { font-size: 26px; letter-spacing: -.045em; line-height: 1.1; }
.sticky .route { justify-self: start; border-color: var(--amber); }
.sticky dl { margin: 0; display: grid; gap: 14px; }
.sticky dt { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.sticky dd { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.sticky dd.why { color: var(--ink); }
.swap > * { animation: blurin .5s var(--ease) both; }
@keyframes blurin { from { filter: blur(8px); opacity: .25; } to { filter: blur(0); opacity: 1; } }

/* language bar */
.lb { margin-top: 0; padding: 28px 28px 26px; display: grid; gap: 18px; }
.lb h3 { font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--muted); }
.lb .sentence { font-size: clamp(22px, 2vw, 28px); letter-spacing: -.04em; line-height: 1.2; color: var(--ink); max-width: 30em; }
.lb .bar { position: relative; height: 34px; display: flex; border: 1px solid var(--hair-2); }
.lb .part { width: var(--p); background: linear-gradient(180deg, var(--hot), var(--ember)); box-shadow: 0 0 24px var(--glow-a); }
.lb .rest { flex: 1; background: repeating-linear-gradient(135deg, var(--hair) 0 1px, transparent 1px 6px); }
.lb .keys { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--ink-2); }
.lb .keys span { display: inline-flex; align-items: center; gap: 8px; }
.lb .k1 { width: 14px; height: 10px; background: var(--hot); }
.lb .k2 { width: 14px; height: 10px; border: 1px solid var(--hair-3); background: repeating-linear-gradient(135deg, var(--hair-2) 0 1px, transparent 1px 4px); }

/* landing: cases */
.prods { display: grid; gap: 34px; margin-top: 64px; }
.prod { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.prod-text { padding: 32px 32px 34px; border-right: 1px solid var(--hair); display: flex; flex-direction: column; gap: 18px; }
.prod-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.prod-name .status { font-size: 14px; color: var(--muted); }
.prod h3 { font-size: clamp(27px, 2.4vw, 35px); letter-spacing: -.05em; line-height: 1.04; }
.prod h3 span { display: block; } .prod h3 span + span { color: var(--rose); }
.prod .what { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.pfacts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin: 0; padding-top: 18px; border-top: 1px solid var(--hair); }
.pfacts dt { font-size: 32px; font-weight: 500; letter-spacing: -.05em; line-height: 1; font-variant-numeric: tabular-nums; }
.pfacts dd { margin: 6px 0 0; font-size: 15px; color: var(--muted); line-height: 1.4; }
.prod .links { margin-top: auto; padding-top: 6px; }
.prod-shot { position: relative; margin: 0; display: grid; place-items: center; padding: 40px 34px; overflow: hidden; max-height: 560px; }
.prod-shot::before, .prod-shot::after { content: ""; position: absolute; background: var(--hair); }
.prod-shot::before { left: 50%; top: 0; bottom: 0; width: 1px; } .prod-shot::after { top: 50%; left: 0; right: 0; height: 1px; }
.prod-shot img { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: 480px; object-fit: cover; object-position: top; border: 1px solid var(--hair-3); box-shadow: 0 40px 70px -30px var(--shadow), 0 0 60px var(--glow-b); }

/* landing: method */
.method { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.method li { padding: 28px; display: grid; gap: 16px; align-content: start; }
.method h3 { font-size: clamp(23px, 2vw, 28px); letter-spacing: -.045em; line-height: 1.1; }
.method p { color: var(--ink-2); font-size: 17px; line-height: 1.6; }

/* landing: current project */
.now-head { margin-top: 30px; display: grid; gap: 18px; }
.now-head .intro { margin-top: 0; }
.now-fig { margin-top: 56px; }
.now-fig.phone { max-width: 920px; }
.now-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.now-card { padding: 28px; display: grid; gap: 16px; align-content: start; }
.now-card h3 { font-size: clamp(23px, 2vw, 28px); letter-spacing: -.045em; line-height: 1.1; }
.now-card p { color: var(--ink-2); font-size: 17px; line-height: 1.6; }
.now-q { margin: 0; padding-left: 18px; border-left: 2px solid var(--hot); display: grid; gap: 8px; }
.now-q blockquote { margin: 0; font-size: 19px; font-weight: 500; letter-spacing: -.025em; line-height: 1.35; color: var(--ink); }
.now-q blockquote::before { content: "“"; color: var(--hot); }
.now-q blockquote::after { content: "”"; color: var(--hot); }
.now-q figcaption { font-size: 14px; color: var(--muted); }

/* next case */
.next { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; padding: 34px 32px; text-decoration: none; transition: background-color .3s, border-color .3s; }
.next:hover { background: var(--glass-2); border-color: var(--hair-3); }
.next .lbl { font-size: 15px; color: var(--muted); }
.next .nm { display: block; margin-top: 8px; font-size: clamp(30px, 3.4vw, 48px); letter-spacing: -.055em; line-height: 1; }
.next svg { width: 28px; height: 28px; } .next svg path { fill: none; stroke: var(--ink); stroke-width: 1.3; }

/* contact */
.contact { position: relative; z-index: 2; border-top: 1px solid var(--hair); padding-block: 136px 0; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--black) 0%, var(--deep) 30%, var(--rust) 58%, var(--ember-2) 84%, var(--ember) 100%); }
.strands-end { position: absolute; left: 0; right: 0; bottom: 0; top: 30%; width: 100%; height: 70%; z-index: -1; background: transparent; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 42%); mask-image: linear-gradient(180deg, transparent 0%, #000 42%); }
.contact h2 { text-align: center; }
.reach-panel { margin: 46px auto 0; max-width: 760px; padding: 40px 28px 34px; }
.reach-big { display: grid; justify-items: center; gap: 20px; }
.reach-big .addr { font-size: clamp(24px, 3vw, 40px); letter-spacing: -.04em; line-height: 1.1; text-align: center; }
.reach-big .btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.contact .avail { margin: 26px auto 0; text-align: center; color: var(--ink); font-size: 17px; }
.social { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; margin: 30px 0 0; padding: 0; }
.foot-row { position: relative; z-index: 2; margin-top: 140px; border-top: 1px solid var(--hair-2); background: var(--scrim-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 22px var(--gr) calc(28px + env(safe-area-inset-bottom, 0px)) var(--gl); font-size: 15px; color: var(--ink); }
.foot-row .note { color: var(--ink-2); }

/* reveal */
.reveal { transition: filter 1s var(--ease), opacity 1s var(--ease); }
.reveal.pre { filter: blur(9px); opacity: .45; }

/* tablet and phone */
@media (max-width: 959px) {
  .hdr-in { grid-template-columns: minmax(0, 1fr) auto auto; gap: 6px; }
  .menu { display: block; order: 3; }
  .hdr-end { order: 2; margin-right: 4px; gap: 12px; }
  .hdr-end .ul { display: none; }
  .nav { position: absolute; top: 64px; left: 0; right: 0; background: var(--scrim); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-bottom: 1px solid var(--hair); padding: 8px var(--gr) 18px var(--gl); display: none; }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; font-size: 20px; gap: 4px; }
  .nav li::after { content: none; }
  .nav a { display: block; padding: 8px 0; }
  .hero { height: auto; --k: 1; }
  .hero-in { position: relative; inset: auto; padding: 108px var(--gr) 44px var(--gl); display: grid; gap: 30px; }
  .shade, .case-hero .shade { background: linear-gradient(180deg, var(--scrim-2) 0%, var(--scrim-2) 40%, var(--scrim) 70%, var(--black) 100%); }
  .hero-copy { position: static; width: auto; padding: 0; }
  .kicker { margin-bottom: 18px; }
  .hero h1 { font-size: clamp(34px, 8.6vw, 52px); }
  .hero-vis { display: grid; gap: 20px; }
  .core-box { position: relative; inset: auto; height: 190px; }
  .cross .cx { top: 50%; } .cross .cy { top: 0; left: 50%; }
  .core { top: 50%; left: 50%; width: 112px; height: 112px; }
  .rays { display: none; }
  .seats { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .seats li { position: static; transform: none; }
  .seats a { justify-items: start; }
  .seats .tag, .seats .at { white-space: normal; }
  .hero-foot { position: static; display: grid; gap: 24px; padding: 0; }
  .reach { justify-items: start; text-align: left; }
  .mailrow { justify-content: flex-start; }
  .band { padding-block: 84px; }
  .band.tight { padding-block: 48px; }
  .col { padding-left: var(--gl); padding-right: var(--gr); }
  .case-hero .col { padding-top: 112px; padding-bottom: 44px; }
  .case-hero .lede { font-size: 18px; }
  .meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .meta div { border-left: 0; border-top: 1px solid var(--hair); padding: 16px; }
  .meta div:nth-child(-n+2) { border-top: 0; }
  .meta div:nth-child(even) { border-left: 1px solid var(--hair); }
  .prose p, .dec .body p { font-size: 17px; }
  .dec { grid-template-columns: minmax(0, 1fr); padding: 26px 0 28px; }
  .dec .body { grid-column: 1; }
  .figs { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .figs div { border-left: 0; border-top: 1px solid var(--hair); padding: 20px 16px; }
  .figs div:nth-child(-n+2) { border-top: 0; }
  .figs div:nth-child(even) { border-left: 1px solid var(--hair); }
  .shot .frame { padding: 14px 0; }
  .pair { grid-template-columns: minmax(0, 1fr); }
  .mixed { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .mixed .ph { max-width: 300px; }
  .flow { flex-direction: column; align-items: flex-start; padding: 18px 16px; }
  .flow li { flex-direction: column; align-items: flex-start; }
  .flow li + li::before { width: 1px; height: 16px; margin-left: 18px; background: repeating-linear-gradient(180deg, var(--hair-3) 0 3px, transparent 3px 6px); }
  .quotes { grid-template-columns: minmax(0, 1fr); }
  .quotes li { min-height: 0; padding: 22px 18px; }
  .chart-top { padding: 16px; }
  .chart-body { grid-template-columns: minmax(0, 1fr); }
  .mx-wrap { padding: 4px 6px 12px; border-right: 0; border-bottom: 1px solid var(--hair); }
  .mx thead th { font-size: 11.5px; padding: 10px 1px 8px; }
  .mx td { width: 40px; padding: 7px 1px; }
  .mx tbody th { font-size: 13.5px; padding-left: 4px; }
  .mx tbody th .id { display: none; }
  .detail { padding: 20px 16px; }
  .detail .sticky { position: static; }
  .prod { grid-template-columns: minmax(0, 1fr); }
  .prod-text { border-right: 0; border-top: 1px solid var(--hair); padding: 24px 16px 28px; order: 2; }
  .prod-shot { padding: 20px 16px; order: 1; max-height: 380px; }
  .prod-shot img { max-height: 340px; }
  .method { grid-template-columns: minmax(0, 1fr); }
  .method li { min-height: 0; padding: 22px 18px; }
  .now-fig { margin-top: 40px; }
  .now-pair { grid-template-columns: minmax(0, 1fr); margin-top: 28px; }
  .now-card { padding: 22px 18px; }
  .next { padding: 24px 18px; }
  .contact { padding-top: 96px; }
  .foot-row { margin-top: 80px; }
}
@media (max-width: 540px) {
  .meta { grid-template-columns: minmax(0, 1fr); }
  .meta div, .meta div:nth-child(even) { border-left: 0; }
  .meta div:nth-child(2) { border-top: 1px solid var(--hair); }
  .lang { font-size: 14px; }
  .brand span { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal.pre { filter: none; opacity: 1; }
}
