
/* Layout: Apple-style product story. Full-bleed dark "stage" heroes carry each platform shot; calm light reading sections between them, label column + short paragraphs. */
:root {
  --bg: #fbfbfd;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --body: #3b3b40;
  --muted: #6e6e76;
  --hair: #e3e3e8;
  --stage: #050507;          /* hero stage, same in both themes */
  --stage-ink: #f5f5f7;
  --stage-muted: #a1a1a8;
  --bullish: #18c39a;
  --sc: #3b82f6;
  --bitmex: #ff7a3d;
  --display: 'Inter Display', 'Inter Tight', 'Helvetica Neue', Arial, sans-serif;
  --text: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #0b0b0d; --surface: #141417; --ink: #f5f5f7; --body: #c9c9cf; --muted: #8e8e96; --hair: #26262b; color-scheme: dark; } }
:root[data-theme="dark"] { --bg: #0b0b0d; --surface: #141417; --ink: #f5f5f7; --body: #c9c9cf; --muted: #8e8e96; --hair: #26262b; color-scheme: dark; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--body); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; font-feature-settings: 'cv11', 'ss01'; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -0.025em; }
p { margin: 0; text-wrap: pretty; }
.wrap { width: 100%; max-width: 1080px; margin-inline: auto; padding-inline: max(20px, 4vw); }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid var(--hair); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 52px; }
.nav strong { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 15px; letter-spacing: -0.01em; }
.nav nav { display: flex; gap: 22px; font-size: 13px; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover, .nav nav a:focus-visible { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--sc); outline-offset: 3px; border-radius: 4px; }

/* intro */
.intro { padding-block: 96px 72px; text-align: center; }
.eyebrow { font-family: var(--text); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.intro h1 { font-size: clamp(44px, 8vw, 96px); font-weight: 700; line-height: 1.02; margin-top: 14px; letter-spacing: -0.04em; }
.intro .lede { max-width: 640px; margin: 22px auto 0; font-size: clamp(19px, 2.2vw, 23px); line-height: 1.45; color: var(--muted); }
.intro .who { margin-top: 18px; font-size: 15px; color: var(--muted); }
.index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 56px; text-align: left; }
.index a { display: flex; flex-direction: column; gap: 14px; padding: 22px; background: var(--surface); border-radius: 22px; text-decoration: none; border: 1px solid var(--hair); transition: transform .3s ease; }
.index a:hover { transform: translateY(-3px); }
.index img { width: 40px; height: 40px; border-radius: 22.5%; }
.index b { font-family: var(--display); font-size: 21px; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; font-weight: 600; }
.index span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.index em { font-style: normal; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }

/* stage hero */
.case { --accent: var(--sc); }
.case.bullish { --accent: var(--bullish); }
.case.bitmex { --accent: var(--bitmex); }
.index a.bullish { --accent: var(--bullish); } .index a.sc { --accent: var(--sc); } .index a.bitmex { --accent: var(--bitmex); }
.stage { background: var(--stage); color: var(--stage-ink); padding-block: 88px 72px; text-align: center; overflow: hidden; position: relative; }
.stage::before { content: ''; position: absolute; inset: auto 0 0 0; height: 60%; background: radial-gradient(60% 70% at 50% 100%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 70%); pointer-events: none; }
.stage .wrap { position: relative; }
.stage .brand { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--stage-muted); }
.stage .brand img { width: 28px; height: 28px; border-radius: 22.5%; }
.stage .kind { color: var(--accent); font-weight: 600; }
.stage h2 { color: var(--stage-ink); font-size: clamp(40px, 7vw, 80px); font-weight: 700; line-height: 1.03; letter-spacing: -0.04em; margin-top: 16px; }
.stage .sub { max-width: 680px; margin: 20px auto 0; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--stage-muted); }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; max-width: 860px; margin: 40px auto 0; background: #232328; border-radius: 16px; overflow: hidden; text-align: left; }
.meta div { background: #0f0f12; padding: 14px 16px; min-width: 0; }
.meta dt { font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--stage-muted); }
.meta dd { margin: 4px 0 0; font-size: 14px; color: var(--stage-ink); line-height: 1.35; }
.shot { margin: 56px auto 0; max-width: 1040px; container-type: inline-size; }
.shot figcaption { margin-top: 14px; font-size: 12px; color: var(--stage-muted); }

/* reading sections */
.story { padding-block: 72px 24px; }
.block { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding-block: 28px; }
.block h3 { font-size: 15px; font-family: var(--text); font-weight: 600; letter-spacing: 0; color: var(--accent); padding-top: 4px; }
.block .copy { display: flex; flex-direction: column; gap: 14px; max-width: 640px; min-width: 0; }
.block .copy p:first-child { font-family: var(--display); font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; color: var(--ink); font-weight: 600; letter-spacing: -0.02em; }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 10px; }
.feature { background: var(--surface); border: 1px solid var(--hair); border-radius: 18px; padding: 18px; min-width: 0; }
.feature b { display: block; font-family: var(--display); font-size: 17px; color: var(--ink); letter-spacing: -0.01em; font-weight: 600; }
.feature span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.pull { padding-block: 56px 64px; text-align: center; }
.pull p { max-width: 820px; margin-inline: auto; font-family: var(--display); font-size: clamp(28px, 4.4vw, 48px); line-height: 1.12; font-weight: 700; color: var(--ink); letter-spacing: -0.035em; text-wrap: balance; }
.pull p span { color: var(--accent); }
.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.outcome { background: var(--surface); border: 1px solid var(--hair); border-radius: 18px; padding: 20px 22px; min-width: 0; }
.outcome b { display: block; font-family: var(--display); font-size: 19px; line-height: 1.25; color: var(--ink); letter-spacing: -0.015em; font-weight: 600; }
.outcome span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.5; }
.lead-badge { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; background: color-mix(in srgb, var(--accent) 18%, transparent); color: var(--accent); vertical-align: middle; }

footer { padding-block: 72px 96px; text-align: center; border-top: 1px solid var(--hair); margin-top: 48px; }
footer h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 700; letter-spacing: -0.035em; }
footer p { margin-top: 12px; color: var(--muted); }
footer .contact { margin-top: 22px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
footer .contact span { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); color: var(--ink); font-size: 15px; user-select: all; }


/* responsive */
@media (max-width: 860px) {
  .index { grid-template-columns: 1fr; }
  .meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .block { grid-template-columns: 1fr; gap: 10px; padding-block: 20px; }
  .features, .outcomes { grid-template-columns: 1fr; }
  .nav nav { display: none; }
}

/* print / PDF */
@media print {
  @page { margin: 0; }
  .nav { display: none; }
  .intro { min-height: 100vh; padding-block: 12vh 6vh; }
  .case, footer { break-before: page; }
  .stage { min-height: 200vh; padding-block: 24vh 0; }
  .stage .shot { break-before: page; margin-top: 0; padding-top: 9vh; }
  .stage + .story { break-before: page; }
  .pull { break-before: page; padding-block: 12vh 4vh; }
  .block, .features, .outcomes, .shot { break-inside: avoid; }
  .index a:hover { transform: none; }
  .story { padding-block: 48px 8px; }
  footer { min-height: 100vh; padding-top: 38vh; border: 0; margin-top: 0; }
}

/* case accents */
:root { --bullish: #18c39a; --graphene: #e2559c; --genesis: #f28c28; --platts: #ff5a5f; --coinflex: #8b7bff; --craft: #a1a1a8; }
.case.bullish, .index a.bullish { --accent: var(--bullish); }
.case.graphene, .index a.graphene { --accent: var(--graphene); }
.case.genesis, .index a.genesis { --accent: var(--genesis); }
.case.platts, .index a.platts { --accent: var(--platts); }
.case.coinflex, .index a.coinflex { --accent: var(--coinflex); }
.index { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.index .mono { width: 40px; height: 40px; border-radius: 22.5%; display: grid; place-items: center; background: #15121a; color: var(--accent); font-family: var(--display); font-weight: 700; font-size: 18px; }
.stage .brand .mono { width: 28px; height: 28px; border-radius: 22.5%; display: inline-grid; place-items: center; background: #1a1620; color: var(--accent); font-weight: 700; font-size: 13px; }

/* real product shots */
.shot img, .wide img, .craft img { display: block; width: 100%; height: auto; border-radius: 18px; }
.shot img { box-shadow: 0 40px 120px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.06); }
.wide { padding-block: 8px 40px; }
.wide figure { margin: 0; }
.wide img { box-shadow: 0 24px 80px rgba(10,10,20,.28), 0 0 0 1px var(--hair); }
.wide figcaption, .craft figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }
.quote { padding-block: 40px 56px; text-align: center; }
.quote blockquote { margin: 0 auto; max-width: 820px; font-family: var(--display); font-size: clamp(26px, 3.8vw, 42px); line-height: 1.15; font-weight: 600; letter-spacing: -0.03em; color: var(--ink); text-wrap: balance; }
.quote blockquote::before { content: '“'; color: var(--accent); }
.quote blockquote::after { content: '”'; color: var(--accent); }
.quote cite { display: block; margin-top: 16px; font-style: normal; font-size: 14px; color: var(--muted); }

/* craft gallery */
.craftstage { background: var(--stage); color: var(--stage-ink); padding-block: 96px 96px; }
.craftstage .head { text-align: center; }
.craftstage .head .eyebrow { color: var(--stage-muted); }
.craftstage h2 { color: var(--stage-ink); font-size: clamp(40px, 7vw, 80px); font-weight: 700; letter-spacing: -0.04em; line-height: 1.03; margin-top: 12px; }
.craftstage .head p { max-width: 640px; margin: 18px auto 0; color: var(--stage-muted); font-size: clamp(18px, 2vw, 21px); line-height: 1.45; }
.craft { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.craft figure { margin: 0; min-width: 0; }
.craft figure.full { grid-column: 1 / -1; }
.craft img { box-shadow: 0 0 0 1px rgba(255,255,255,.07); }
.craft figcaption { color: var(--stage-muted); }
.craft figcaption b { color: var(--stage-ink); font-weight: 600; }

@media (max-width: 860px) {
  .index { grid-template-columns: 1fr; }
  .craft { grid-template-columns: 1fr; }
}

@media print {
  @page { margin: 0; }
  .nav { display: none; }
  .intro { min-height: 100vh; padding-block: 10vh 4vh; }
  .case, footer, .craftstage { break-before: page; }
  .stage { min-height: 200vh; padding-block: 24vh 0; }
  .stage .shot { break-before: page; margin-top: 0; padding-top: 6vh; max-width: 1120px; }
  .stage + .story { break-before: page; }
  .wide, .quote { break-before: page; break-inside: avoid; }
  .wide { padding-top: 6vh; }
  .wide img { max-height: 84vh; width: auto; margin-inline: auto; }
  .quote { padding-block: 26vh 4vh; }
  .pull { break-before: page; padding-block: 12vh 4vh; }
  .block, .features, .outcomes, .shot { break-inside: avoid; }
  .index a:hover { transform: none; }
  .story { padding-block: 48px 8px; }
  .craftstage { padding-block: 30vh 0; min-height: 100vh; }
  .craft { display: block; margin-top: 0; }
  .craft figure { break-before: page; padding-top: 5vh; text-align: center; }
  .craft img { max-height: 84vh; width: auto; margin-inline: auto; }
  footer { min-height: 100vh; padding-top: 38vh; border: 0; margin-top: 0; }
}

/* BitMEX culture story */
:root { --bitmex2: #3ea6ff; }
.case.bitmex, .index a.bitmex { --accent: var(--bitmex2); }
.culture { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 20px; align-items: stretch; text-align: left; }
.era { border-radius: 24px; padding: 32px; background: #101014; box-shadow: 0 0 0 1px rgba(255,255,255,.07); min-width: 0; }
.era.after { background: linear-gradient(160deg, color-mix(in srgb, var(--accent) 22%, #101014), #101014 70%); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent); }
.era .when { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--stage-muted); }
.era.after .when { color: var(--accent); }
.era b { display: block; margin-top: 10px; font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.15; letter-spacing: -0.025em; color: var(--stage-ink); }
.era ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.era li { color: var(--stage-muted); font-size: 16px; line-height: 1.4; padding-left: 18px; position: relative; }
.era li::before { content: ''; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: #4a4a52; }
.era.after li { color: var(--stage-ink); } .era.after li::before { background: var(--accent); }
.culture .arrow { align-self: center; font-size: 34px; color: var(--accent); }
.flow { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 8px; margin-top: 8px; counter-reset: step; }
.flow div { background: var(--surface); border: 1px solid var(--hair); border-radius: 16px; padding: 14px; min-width: 0; counter-increment: step; }
.flow b { display: block; font-family: var(--display); font-size: 15px; color: var(--ink); }
.flow b::before { content: counter(step) ' '; color: var(--accent); }
.flow span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: var(--muted); }
.stat { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; padding-block: 48px 64px; text-align: center; }
.stat strong { display: block; font-family: var(--display); font-size: clamp(72px, 12vw, 140px); line-height: 1; letter-spacing: -0.05em; font-weight: 700; background: linear-gradient(180deg, var(--accent), color-mix(in srgb, var(--accent) 55%, var(--ink))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; max-width: 300px; margin: 12px auto 0; color: var(--muted); font-size: 16px; line-height: 1.4; }
@media (max-width: 860px) {
  .culture { grid-template-columns: 1fr; } .culture .arrow { transform: rotate(90deg); justify-self: center; }
  .flow { grid-template-columns: 1fr; } .stat { grid-template-columns: 1fr; }
}
@media print { .stat { break-before: page; padding-top: 30vh; } .culture { margin-top: 18vh; } }

/* faint logo borders */
:root { --logo-ring: rgba(29,29,31,.12); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --logo-ring: rgba(255,255,255,.16); } }
:root[data-theme="dark"] { --logo-ring: rgba(255,255,255,.16); }
.index img, .index .mono { box-shadow: 0 0 0 1px var(--logo-ring); }
.stage .brand img, .stage .brand .mono { box-shadow: 0 0 0 1px rgba(255,255,255,.18); }

/* fail / win verdict quotes */
:root { --fail: #e5484d; --win: #18b47b; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --fail: #ff6369; --win: #3dd68c; } }
:root[data-theme="dark"] { --fail: #ff6369; --win: #3dd68c; }
.verdict { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.verdict .badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px 8px 12px; border-radius: 999px; font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.verdict .badge svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.verdict.fail .badge { color: var(--fail); background: color-mix(in srgb, var(--fail) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fail) 40%, transparent); }
.verdict.win .badge { color: var(--win); background: color-mix(in srgb, var(--win) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--win) 40%, transparent); }
.verdict.fail blockquote { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--fail) 70%, transparent); text-decoration-thickness: 3px; }
.verdict.fail blockquote::before, .verdict.fail blockquote::after { color: var(--fail); }
.verdict.win blockquote::before, .verdict.win blockquote::after { color: var(--win); }
.verdict cite { margin-top: 0; }
footer h2 { line-height: 1.08; max-width: 900px; margin-inline: auto; }
/* craft gallery: one full-width image per row */
.craft { grid-template-columns: 1fr; gap: 56px; }

/* dark-only look */
:root, :root[data-theme="light"], :root[data-theme="dark"] {
  --bg: #0b0b0d; --surface: #141417; --ink: #f5f5f7; --body: #c9c9cf; --muted: #8e8e96; --hair: #26262b;
  --logo-ring: rgba(255,255,255,.16); --fail: #ff6369; --win: #3dd68c; color-scheme: dark;
}
.stage { background: #050507; }
.story, .pull, .quote, .wide, .stat, .intro { background: var(--bg); }

/* stacked brand lockup */
.stage .brand { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 18px; }
.stage .brand img, .stage .brand .mono { width: 52px; height: 52px; border-radius: 22.5%; margin-bottom: 6px; }
.stage .brand .co { color: var(--stage-muted); font-weight: 500; }
.stage .brand .kind { font-size: 18px; }
/* faint borders on all images */
.shot img, .wide img, .craft img { box-shadow: 0 0 0 1px rgba(255,255,255,.14), 0 30px 90px rgba(0,0,0,.5); }
.zoom { color: var(--muted); opacity: .8; }

/* floating navigator */
.fab { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 20; display: flex; align-items: center; gap: 2px; padding: 6px; border-radius: 999px;
  background: rgba(28,28,32,.72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 12px 40px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s ease, transform .25s ease; }
.fab.show { opacity: 1; transform: none; pointer-events: auto; }
.fab button { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.fab button:hover { background: rgba(255,255,255,.1); }
.fab button:focus-visible { outline: 2px solid #3ea6ff; outline-offset: 1px; }
.fab button:disabled { opacity: .3; cursor: default; background: transparent; }
.fab svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.fab-label { min-width: 84px; text-align: center; font-size: 13px; font-weight: 500; color: var(--muted); padding-inline: 4px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.fab-sep { width: 1px; height: 22px; background: rgba(255,255,255,.14); margin-inline: 4px; }
@media (max-width: 520px) { .fab { right: 12px; left: 12px; justify-content: space-between; } }
@media print { .fab { display: none !important; } }

/* ---- multi-page site additions ---- */
.nav .brandlink { font-family: var(--display); font-weight: 600; color: var(--ink); font-size: 15px; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; }
.stage h1, .craftstage h1 { color: var(--stage-ink); font-size: clamp(40px, 7vw, 80px); font-weight: 700; line-height: 1.03; letter-spacing: -0.04em; margin-top: 16px; }
.craftstage h1 { margin-top: 12px; }
.crumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 13px; color: var(--stage-muted); margin: 0 0 28px; }
.crumbs a { color: var(--stage-muted); text-decoration: none; } .crumbs a:hover { color: var(--stage-ink); }
.crumbs span:last-child { color: color-mix(in srgb, var(--stage-muted) 80%, transparent); }
div.crumbs { background: var(--stage); margin: 0; padding-top: 40px; max-width: none; }
div.crumbs + .craftstage { padding-top: 24px; }
.index a.craftcard { --accent: var(--craft); grid-column: 1 / -1; background: linear-gradient(120deg, #141417, #1b1b20); }
.about { padding-block: 24px 40px; text-align: left; }
.about h2 { font-size: 15px; font-family: var(--text); font-weight: 600; letter-spacing: 0; color: #3ea6ff; padding-top: 4px; }
.spec { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spec li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); color: var(--body); }
.nextcase { padding-block: 32px 8px; }
.nextcase a { display: block; text-align: center; text-decoration: none; padding: 48px 24px; border-radius: 28px; background: var(--surface); border: 1px solid var(--hair); transition: transform .3s ease; }
.nextcase a:hover { transform: translateY(-3px); }
.nextcase span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.nextcase b { display: block; margin-top: 10px; font-family: var(--display); font-size: clamp(30px, 4.4vw, 48px); line-height: 1.08; letter-spacing: -0.035em; color: var(--ink); }
.nextcase em { display: block; margin-top: 10px; font-style: normal; color: #3ea6ff; font-weight: 500; }
footer .contact a, .intro .contact a { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--hair); color: var(--ink); font-size: 15px; text-decoration: none; }
footer .contact a:hover, .intro .contact a:hover { border-color: #3ea6ff; }
.fab a { width: 40px; height: 40px; border-radius: 50%; color: var(--ink); display: grid; place-items: center; cursor: pointer; }
.fab a:hover { background: rgba(255,255,255,.1); }
.fab a:focus-visible { outline: 2px solid #3ea6ff; outline-offset: 1px; }
.fab a[aria-disabled="true"] { opacity: .3; cursor: default; pointer-events: none; }
.fab-label { min-width: 104px; }
/* clickable cards: accent border highlight on hover / keyboard focus */
.index a, .nextcase a { transition: transform .3s ease, border-color .2s ease, box-shadow .2s ease; }
.index a:hover, .index a:focus-visible { border-color: color-mix(in srgb, var(--accent) 70%, transparent); box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 45%, transparent), 0 12px 40px color-mix(in srgb, var(--accent) 14%, transparent); }
.index a.craftcard:hover, .index a.craftcard:focus-visible { --accent: #c9c9cf; }
.nextcase a:hover, .nextcase a:focus-visible { border-color: rgba(62,166,255,.7); box-shadow: 0 0 0 1px rgba(62,166,255,.45), 0 12px 40px rgba(62,166,255,.14); }
.index a:focus-visible, .nextcase a:focus-visible { outline: none; }
/* continuous scroll: each newly chained story rises in */
.chunk.enter { opacity: 0; transform: translateY(56px); transition: opacity .9s ease, transform 1.1s cubic-bezier(.16,.84,.24,1); }
.chunk.enter.in { opacity: 1; transform: none; }
.nav nav a.on { color: var(--ink); }
/* subtle parallax and reveal, driven by scroll position (no JS); off for reduced motion and older browsers */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .stage .shot { animation: plx linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes plx { from { transform: translateY(48px); } to { transform: translateY(-48px); } }
    .stage .brand, .stage h1, .stage .sub { animation: lift linear both; animation-timeline: view(); animation-range: exit 0% exit 60%; }
    @keyframes lift { to { transform: translateY(-36px); opacity: .25; } }
    .wide figure, .craft figure { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 30%; }
    @keyframes settle { from { transform: scale(.94); opacity: .35; } to { transform: none; opacity: 1; } }
    .nextcase a { animation: curtain linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
    @keyframes curtain { from { transform: scale(.92); opacity: .3; } to { transform: none; opacity: 1; } }
  }
}
@media (max-width: 860px) { .nav .wrap { justify-content: center; } }
.intro .contact { margin-top: 20px; display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
footer .contact a, .intro .contact a { white-space: nowrap; }
@media (max-width: 520px) { .crumbs { font-size: 12px; gap: 6px; margin-bottom: 20px; } .stage { padding-top: 48px; } }
