:root[data-theme="dark"] {
  color-scheme: dark;
  --page: #161513;
  --surface: #201E1C;
  --surface-2: #2A2624;
  --ink: #ffffff;
  --ink-2: #C6BDB7;
  --muted: #8C827C;
  --grid: #302B28;
  --baseline: #4A423E;
  --border: rgba(255,255,255,0.09);

  /* brand gradient stops */
  --g1: #B16CEA;
  --g2: #FF5E69;
  --g3: #FF8A56;
  --g4: #FFA84B;
  --grad: linear-gradient(100deg, var(--g1) 0%, var(--g2) 42%, var(--g3) 72%, var(--g4) 100%);
  --accent: #FF8A56;
  --on-grad: #1a1512;

  /* chart channels, drawn from the brand palette */
  --meta: #B16CEA;
  --tiktok: #FF5E69;
  --amazon: #FFA84B;
  --pinterest: #56D3C9;
  --good: #FF8A56;

  --head-bg: rgba(22,21,19,.92);
  --shadow-card: 0 16px 40px rgba(0,0,0,.42);
  --shadow-tip: 0 10px 34px rgba(0,0,0,.5);
  --glow-1: rgba(177,108,234,.15);
  --glow-2: rgba(255,94,105,.11);
  --glow-3: rgba(255,168,75,.09);
}

/* ---------- default (light) theme ---------- */
:root {
  color-scheme: light;
  --page: #FAF7F5;
  --surface: #FFFFFF;
  --surface-2: #F4EEEA;
  --ink: #17120F;
  --ink-2: #574E49;
  --muted: #8A7F79;
  --grid: #EBE3DE;
  --baseline: #C4B8B1;
  --border: rgba(23,18,15,0.11);

  /* deepened stops so gradient text stays legible on white */
  --g1: #8A3FD4;
  --g2: #DE2F4C;
  --g3: #D9601F;
  --g4: #BE7A0C;
  --grad: linear-gradient(100deg, var(--g1) 0%, var(--g2) 42%, var(--g3) 72%, var(--g4) 100%);
  --accent: #D9601F;
  --on-grad: #ffffff;

  --meta: #8A3FD4;
  --tiktok: #DE2F4C;
  --amazon: #C87A12;
  --pinterest: #12897F;
  --good: #D9601F;

  --head-bg: rgba(250,247,245,.92);
  --shadow-card: 0 16px 38px rgba(90,60,45,.14);
  --shadow-tip: 0 10px 30px rgba(90,60,45,.18);
  --glow-1: rgba(177,108,234,.13);
  --glow-2: rgba(255,94,105,.10);
  --glow-3: rgba(255,168,75,.12);
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--page);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
/* ambient warm glows */
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(880px 620px at 88% -6%, var(--glow-1), transparent 62%),
    radial-gradient(760px 520px at 2% 10%, var(--glow-2), transparent 62%),
    radial-gradient(1000px 760px at 50% 104%, var(--glow-3), transparent 62%);
}
.site-head, main, .site-foot { position: relative; z-index: 1; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
a { color: var(--accent); }

/* gradient helpers */
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.gbar { position: relative; padding-left: 22px; }
.gbar::before {
  content: ''; position: absolute; left: 0; top: .14em; bottom: .14em;
  width: 6px; border-radius: 99px; background: var(--grad);
}

/* ---------- header ---------- */
.site-head {
  padding: 22px 0;
  border-bottom: 1px solid var(--grid);
}
.site-head .wrap { display:flex; align-items:center; justify-content:space-between; gap: 14px; flex-wrap: wrap; }
svg.logo { height: 36px; width: auto; display: block; flex: none; }
@media (max-width: 640px) { svg.logo { height: 30px; } }
.head-tag { font-size: 13px; color: var(--muted); }

/* ---------- hero ---------- */
.hero { padding: 64px 0 40px; }
.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 14px;
}
h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.14; font-weight: 800; letter-spacing: -0.02em; max-width: 21ch; }
.hero p.lede { margin-top: 18px; font-size: 17px; color: var(--ink-2); max-width: 62ch; }
.hero-meta { display:flex; flex-wrap:wrap; gap: 8px; margin-top: 22px; }
.chip {
  font-size: 12.5px; padding: 5px 13px; border: 1px solid var(--border);
  border-radius: 999px; color: var(--ink-2); background: var(--surface);
}

/* ---------- stat band ---------- */
.stat-band { display:grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 34px 0 8px; }
.tile {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 18px 20px 16px; position: relative; overflow: hidden;
}
.tile::after {
  content: ''; position: absolute; left: 20px; right: 20px; top: 0; height: 2px;
  background: var(--grad); opacity: .55; border-radius: 0 0 3px 3px;
}
.tile .lab { font-size: 12.5px; color: var(--muted); }
.tile .val { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-top: 3px; }
.tile .sub { font-size: 12.5px; color: var(--ink-2); margin-top: 3px; }
.tile .up, .up {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent; font-weight: 800;
}

/* ---------- section scaffolding ---------- */
section { padding: 34px 0; scroll-margin-top: 64px; }
h2 { font-size: 25px; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 6px; }
h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.section-sub { color: var(--ink-2); font-size: 14.5px; max-width: 68ch; margin-bottom: 20px; }

/* ---------- filter row ---------- */
.filter-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  position: sticky; top: 0; z-index: 30;
  background: var(--head-bg); backdrop-filter: blur(10px);
  padding: 12px 0; border-bottom: 1px solid var(--grid);
}
.seg { display: inline-flex; border: 1px solid var(--border); border-radius: 999px; overflow: hidden; background: var(--surface); padding: 3px; gap: 3px; }
.seg button {
  appearance: none; border: 0; background: transparent; color: var(--ink-2); border-radius: 999px;
  font: 700 13.5px "Plus Jakarta Sans", system-ui, sans-serif; padding: 7px 18px; cursor: pointer;
}
.seg button[aria-pressed="true"] { background: var(--grad); color: var(--on-grad); }
.seg button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.filter-note { font-size: 12.5px; color: var(--muted); }

/* ---------- chart cards ---------- */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 20px 22px 14px; margin-bottom: 18px; position: relative;
}
.card h3 { font-size: 15.5px; }
.card .card-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.legend { display: flex; gap: 16px; flex-wrap: wrap; margin: 6px 0 4px; }
.legend .key { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; color: var(--ink-2); }
.key .sw { width: 12px; height: 12px; border-radius: 3px; }
.key .ln { width: 16px; height: 2.5px; border-radius: 2px; }
.chart-holder { position: relative; }
.chart-holder svg { width: 100%; height: auto; display: block; }
.tooltip {
  position: absolute; pointer-events: none; z-index: 40; min-width: 190px; max-width: 300px;
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow-tip); padding: 10px 12px; font-size: 12.5px;
  display: none;
}
.tooltip .tt-month { font-weight: 650; margin-bottom: 5px; }
.tooltip .tt-row { display: flex; align-items: baseline; gap: 8px; margin: 2px 0; }
.tooltip .tt-key { width: 14px; height: 2.5px; border-radius: 2px; flex: none; transform: translateY(-3px); }
.tooltip .tt-val { font-weight: 650; }
.tooltip .tt-name { color: var(--ink-2); }
.tooltip .tt-events { border-top: 1px solid var(--grid); margin-top: 7px; padding-top: 6px; }
.tooltip .tt-events .ev { color: var(--ink-2); margin: 2px 0; }
.tooltip .tt-events .ev::before { content: "◆ "; color: var(--accent); font-size: 9px; }

/* ---------- story timeline ---------- */
.stories { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.story {
  background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px 20px;
  transition: border-color .15s ease;
}
.story:hover { border-color: rgba(255,138,86,.4); }
.story .when { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.story h3 { margin-top: 5px; }
.story p { font-size: 13.5px; color: var(--ink-2); margin-top: 5px; }
.story .fig {
  font-size: 20px; font-weight: 800; margin-top: 9px; letter-spacing: -0.01em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.story .fig small {
  font-size: 12.5px; font-weight: 500; color: var(--muted);
  -webkit-text-fill-color: var(--muted); background: none;
}

/* ---------- tables ---------- */
details.tablewrap { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; margin-bottom: 14px; overflow: hidden; }
details.tablewrap summary {
  cursor: pointer; padding: 14px 20px; font-weight: 700; font-size: 14px; list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
details.tablewrap summary::-webkit-details-marker { display: none; }
details.tablewrap summary::after { content: "+"; color: var(--muted); font-size: 18px; }
details.tablewrap[open] summary::after { content: "–"; }
.tscroll { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 12.8px; min-width: 780px; }
th, td { text-align: right; padding: 7px 12px; border-top: 1px solid var(--grid); font-variant-numeric: tabular-nums; white-space: nowrap; }
th { color: var(--muted); font-weight: 700; font-size: 11.5px; letter-spacing: .03em; }
th:first-child, td:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); }
tbody tr:hover td { background: var(--surface-2); }
tbody tr:hover td:first-child { background: var(--surface-2); }
tr.total td { font-weight: 800; border-top: 2px solid var(--accent); }

/* ---------- creative gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.slot {
  border: 1.5px dashed var(--baseline); border-radius: 18px; aspect-ratio: 4 / 5;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  color: var(--muted); font-size: 12.5px; text-align: center; padding: 14px;
}
.slot b { color: var(--ink-2); font-size: 13px; }

/* ---------- selected work cards ---------- */
.work { padding: 44px 0 8px; }
.work-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 20px; }
a.wcard {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 22px 22px 18px; position: relative; overflow: hidden;
  transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
a.wcard::before {
  content: ''; position: absolute; inset: 0; border-radius: 20px; padding: 1px;
  background: var(--grad); opacity: 0;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  transition: opacity .18s ease; pointer-events: none;
}
a.wcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
a.wcard:hover::before { opacity: 1; }
.wcard .wtag { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wcard h3 { font-size: 18px; font-weight: 700; margin-top: 6px; letter-spacing: -0.015em; }
.wcard .wbig {
  font-size: 30px; font-weight: 800; letter-spacing: -0.025em; margin-top: 12px; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
}
.wcard .wsub { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; }
.wcard .wchan { font-size: 12px; color: var(--muted); margin-top: 12px; }
.wcard .wgo { color: var(--accent); font-weight: 700; font-size: 13px; margin-top: auto; padding-top: 14px; }
a.wcard:hover .wgo { color: var(--g2); }

/* ---------- market bars (case study 04) ---------- */
.mkt { display: grid; gap: 10px; margin-top: 4px; }
.mkt-row { display: grid; grid-template-columns: 118px 1fr 52px; align-items: center; gap: 12px; }
.mkt-row .nm { font-size: 13px; color: var(--ink-2); }
.mkt-row .track { display: block; background: var(--surface-2); border-radius: 999px; height: 12px; overflow: hidden; }
.mkt-row .fill { display: block; height: 100%; min-width: 9px; border-radius: 999px; background: var(--grad); }
.mkt-row .n { font-size: 13px; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- two-column capability panels ---------- */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 14px; }
.panel { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 24px; }
.panel > h3 { font-size: 16px; margin-bottom: 3px; }
.panel .psub { font-size: 12.5px; color: var(--muted); margin-bottom: 14px; }
.panel ul { list-style: none; }
.panel li { font-size: 13.5px; color: var(--ink-2); padding: 8px 0 8px 20px; position: relative; border-top: 1px solid var(--grid); }
.panel li:first-child { border-top: 0; padding-top: 2px; }
.panel li::before { content: ""; position: absolute; left: 0; top: 15px; width: 7px; height: 7px;
  border-radius: 2px; background: var(--grad); }
.panel li:first-child::before { top: 9px; }
.panel li b { color: var(--ink); font-weight: 700; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 16px; }
.tag { font-size: 11.5px; font-weight: 600; padding: 5px 11px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--ink-2); background: var(--surface-2); }

/* ---------- ticketing dashboard ---------- */
.tourline { display: grid; gap: 12px; }
.tour { display: grid; grid-template-columns: 92px 1fr 120px; gap: 12px; align-items: center; }
.tour .td { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.tour .tb { display: block; background: var(--surface-2); border-radius: 999px; height: 14px; overflow: hidden; }
.tour .tf { display: block; height: 100%; min-width: 10px; border-radius: 999px; background: var(--grad); }
.tour .tn { font-size: 12.5px; color: var(--ink-2); }
.tour .tn b { color: var(--ink); font-variant-numeric: tabular-nums; }
.mixgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.mixbar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; margin: 10px 0 8px; }
.mixbar span { display: block; height: 100%; }
.mixkey { display: flex; flex-direction: column; gap: 5px; }
.mixkey .k { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--ink-2); }
.mixkey .k i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
.mixkey .k b { margin-left: auto; color: var(--ink); font-variant-numeric: tabular-nums; }

/* ---------- northbeam benchmark sample ---------- */
.nb { background: var(--surface); border: 1px solid var(--border); border-radius: 18px;
  padding: 22px 24px; margin-top: 14px; }
.nb-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.nb-head h3 { font-size: 16px; }
.nb-head .src { font-size: 12px; color: var(--muted); }
.nb-sub { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.windows { display: grid; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); gap: 12px; margin-bottom: 18px; }
.win { border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; background: var(--surface-2); }
.win .wt { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.win .wu { font-size: 11.5px; color: var(--accent); font-weight: 700; margin-top: 1px; }
.win .wth { font-size: 12px; color: var(--ink-2); margin-top: 8px; line-height: 1.7; }
.win .wth b { color: var(--ink); font-variant-numeric: tabular-nums; }
.nbt { width: 100%; border-collapse: collapse; font-size: 12.3px; min-width: 660px; }
.nbt th, .nbt td { padding: 7px 10px; text-align: right; border-top: 1px solid var(--grid);
  white-space: nowrap; font-variant-numeric: tabular-nums; }
.nbt th { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.nbt th:first-child, .nbt td:first-child { text-align: left; }
.nbt td:first-child { color: var(--ink-2); }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.pill.g { background: rgba(23,155,88,.14); color: #1B9158; }
.pill.m { background: rgba(216,150,20,.16); color: #A87206; }
.pill.b { background: rgba(222,47,76,.13); color: #C22743; }
:root[data-theme="dark"] .pill.g { background: rgba(46,196,120,.16); color: #4ECe8E; }
:root[data-theme="dark"] .pill.m { background: rgba(240,180,41,.15); color: #E8B54A; }
:root[data-theme="dark"] .pill.b { background: rgba(255,94,105,.15); color: #FF7B84; }
.nbt .dim { opacity: .45; }
.nb-note { display: flex; gap: 10px; border: 1px solid var(--border); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 12px 14px; font-size: 12.8px; color: var(--ink-2); margin-top: 14px; }
.nb-note b { color: var(--ink); }
.bench-regions { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 14px; }
.breg { border: 1px solid var(--border); border-radius: 14px; padding: 13px 16px; }
.breg .rn { font-size: 12.5px; font-weight: 800; margin-bottom: 6px; }
.breg .rr { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-2); padding: 3px 0; }
.breg .rr b { font-variant-numeric: tabular-nums; color: var(--ink); }

/* ---------- methodology + footer ---------- */
.method { font-size: 13px; color: var(--ink-2); background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px 22px; }
.method b { color: var(--ink); }
.method ul { margin: 8px 0 0 18px; }
.method li { margin: 3px 0; }
.site-foot { border-top: 1px solid var(--grid); margin-top: 40px; padding: 40px 0 52px; }
.site-foot .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; align-items: baseline; }
.site-foot .cta { font-size: 16px; font-weight: 700; }
.site-foot .fine { font-size: 12px; color: var(--muted); }
.btn-grad {
  display: inline-block; margin-top: 14px; padding: 11px 24px; border-radius: 999px;
  background: var(--grad); color: var(--on-grad); font-weight: 800; font-size: 14px;
  text-decoration: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(222,47,76,.30); }

/* ---------- theme toggle ---------- */
.theme-btn {
  appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  color: var(--ink-2); font: 700 12px "Plus Jakarta Sans", system-ui, sans-serif;
  padding: 7px 14px; transition: border-color .15s ease, color .15s ease;
}
.theme-btn:hover { border-color: var(--accent); color: var(--ink); }
.theme-btn .ico { font-size: 13px; line-height: 1; }
:root:not([data-theme="dark"]) .theme-btn .dark-only { display: none; }
:root[data-theme="dark"] .theme-btn .light-only { display: none; }

@media (max-width: 640px) {
  .hero { padding: 40px 0 24px; }
  .tile .val { font-size: 25px; }
}

/* =================== v2: nav, hero, tiles, motion =================== */
.site-head .nav { display: flex; gap: 22px; align-items: center; }
.site-head .nav a { font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.site-head .nav a:hover { color: var(--accent); }
@media (max-width: 720px) { .site-head .nav a.nl { display: none; } }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* hero */
.hero3d { position: relative; padding: 90px 0 70px; overflow: hidden; }
.hero3d .orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none;
  will-change: transform; transition: transform .25s ease-out; }
.orb.o1 { width: 480px; height: 480px; right: -120px; top: -160px; background: radial-gradient(circle, var(--g1), transparent 65%); }
.orb.o2 { width: 420px; height: 420px; left: -140px; top: 30%; background: radial-gradient(circle, var(--g2), transparent 65%); opacity: .38; }
.orb.o3 { width: 520px; height: 520px; right: 14%; bottom: -240px; background: radial-gradient(circle, var(--g4), transparent 65%); opacity: .34; }
.hero3d .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .hero3d .wrap { grid-template-columns: 1fr; } .hero-mark { display: none; } }
.hero3d h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 800; max-width: 15ch; }
.hero3d .lede { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 54ch; }
.hero-ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.btn-ghost { display: inline-block; padding: 11px 24px; border-radius: 999px; border: 1.5px solid var(--border);
  color: var(--ink); font-weight: 700; font-size: 14px; text-decoration: none; transition: border-color .15s ease; }
.btn-ghost:hover { border-color: var(--accent); }
.hero-proof { display: flex; gap: 26px; margin-top: 36px; flex-wrap: wrap; }
.hero-proof .hp .n { font-size: 22px; font-weight: 800; font-variant-numeric: tabular-nums;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero-proof .hp .l { font-size: 11.5px; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; margin-top: 2px; }

/* animated aperture mark */
.hero-mark { position: relative; justify-self: center; will-change: transform; transition: transform .25s ease-out; }
.hero-mark svg { width: min(300px, 30vw); height: auto; display: block; }
.hero-mark .ring { transform-origin: 60px 60px; animation: spin 26s linear infinite; }
.hero-mark .b1 { animation: pulse 3.2s ease-in-out infinite; transform-origin: 48.5px 82px; }
.hero-mark .b2 { animation: pulse 3.2s ease-in-out .5s infinite; transform-origin: 65.5px 82px; }
.hero-mark .b3 { animation: pulse 3.2s ease-in-out 1s infinite; transform-origin: 82.5px 82px; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(.72); } }
@media (prefers-reduced-motion: reduce) { .hero-mark .ring, .hero-mark .b1, .hero-mark .b2, .hero-mark .b3 { animation: none; } }

/* work tiles */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 26px; }
@media (max-width: 700px) { .tiles { grid-template-columns: 1fr; } }
a.tile3d { position: relative; display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 24px;
  transform-style: preserve-3d; will-change: transform; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden; }
a.tile3d:hover { box-shadow: var(--shadow-card); border-color: rgba(255,138,86,.45); }
.tile3d .glare { position: absolute; inset: 0; opacity: 0; transition: opacity .3s ease; pointer-events: none; border-radius: 22px; }
.tile3d .illo { height: 128px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px;
  transform: translateZ(46px); }
.tile3d .illo svg { height: 116px; width: auto; }
.tile3d .wtag { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tile3d h3 { font-size: 19px; font-weight: 800; letter-spacing: -0.015em; margin-top: 5px; }
.tile3d .big { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; margin-top: 10px; line-height: 1.05;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums; }
.tile3d .sub { font-size: 12.5px; color: var(--ink-2); margin-top: 5px; }
.tile3d .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tile3d .chips span { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--border); color: var(--ink-2); }
.tile3d .go { color: var(--accent); font-weight: 700; font-size: 13px; margin-top: auto; padding-top: 16px; }

/* case-page navigation */
.crumb { font-size: 13px; font-weight: 600; margin: 26px 0 0; }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }
.prevnext { display: flex; justify-content: space-between; gap: 14px; border-top: 1px solid var(--grid);
  margin-top: 30px; padding: 26px 0 10px; flex-wrap: wrap; }
.prevnext a { text-decoration: none; color: var(--ink); font-weight: 700; font-size: 14px; }
.prevnext a span { display: block; font-size: 11.5px; color: var(--muted); font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: 3px; }
.prevnext a:hover { color: var(--accent); }
.prevnext .nx { text-align: right; margin-left: auto; }
