/* ===========================================================================
   Z CREATIVE STUDIO — Digital Brutalism
   "Structural Honesty" design system
   Charcoal #07100d / #0c1512 · Neon Cyan #00FFD1 · Clash Display + Inter
   =========================================================================== */

:root {
  --bg:        #07100d;
  --bg-2:      #0c1512;
  --surface:   #0e1a15;
  --surface-2: #112019;
  --line:      #1f2d28;   /* hairline divider */
  --text:      #f3f6f5;
  --muted:     #7e918a;
  --silver:    #c6d2cd;
  --accent:    #00ffd1;   /* neon cyan */
  --accent-dim:#0bbfa0;
  --ink-on-accent: #07100d;
  --bw: 4px;              /* brutalist border weight */
  --shadow: 8px 8px 0 #00ffd1;
  --shadow-bw: 8px 8px 0 #000;
  --maxw: 1280px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Public Sans", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  background-position: -1px -1px;
}

h1, h2, h3, h4, .display {
  font-family: "Clash Display", "Arial Black", system-ui, sans-serif;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.mono {
  font-family: ui-monospace, "JetBrains Mono", "Cascadia Code", "Courier New", monospace;
  letter-spacing: 0.02em;
}
.cyan { color: var(--accent); }

/* ---- Layout ---- */
.wrap { width: min(var(--maxw), 92vw); margin-inline: auto; }
.row { display: flex; flex-wrap: wrap; gap: 32px; }
section { padding: clamp(56px, 9vw, 130px) 0; border-bottom: var(--bw) solid var(--bg-2); position: relative; }

/* technical eyebrow / coordinate labels */
.tag {
  font-family: ui-monospace, monospace; font-size: 0.74rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 8px;
}
.tag::before { content: ""; width: 10px; height: 10px; background: var(--accent); display: inline-block; }

/* ---- Brand / logo ---- */
.zmark {
  width: 38px; height: 38px; flex: none; display: grid; place-items: center;
  border: 3px solid var(--accent); position: relative;
  background:
    linear-gradient(135deg, #1a2a24 0%, #0a1410 40%, #21372f 100%);
  box-shadow: inset 0 0 0 1px #00ffd133;
}
.zmark span {
  font-family: "Clash Display", sans-serif; font-weight: 700; font-size: 1.35rem;
  color: var(--accent); line-height: 1; transform: skewX(-6deg);
  text-shadow: 0 0 10px #00ffd166;
}

/* ---- Top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 60;
  background: rgba(7,16,13,0.86); backdrop-filter: blur(8px);
  border-bottom: var(--bw) solid var(--accent);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 30px; width: auto; display: block; }
.brand .wm { font-family: "Clash Display", sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: -0.02em; font-size: 1.05rem; line-height: 1; }
.brand .wm small { display: block; font-family: ui-monospace, monospace; font-size: 0.6rem; letter-spacing: 0.25em; color: var(--muted); font-weight: 400; }
.nav { display: flex; gap: 2px; flex-wrap: wrap; }
.nav a {
  font-family: ui-monospace, monospace; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  padding: 9px 14px; border: 2px solid transparent; color: var(--silver);
}
.nav a:hover { color: var(--accent); border-color: var(--line); }
.nav a[aria-current="page"] { color: var(--ink-on-accent); background: var(--accent); border-color: var(--accent); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: ui-monospace, monospace; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.06em; font-size: 0.9rem;
  background: var(--accent); color: var(--ink-on-accent);
  padding: 16px 28px; border: var(--bw) solid var(--accent);
  box-shadow: var(--shadow-bw); transition: transform .08s ease, box-shadow .08s ease, background .15s ease;
}
.btn:hover { transform: translate(-3px,-3px); box-shadow: 11px 11px 0 #000; }
.btn:active { transform: translate(2px,2px); box-shadow: 3px 3px 0 #000; }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: var(--accent); color: var(--ink-on-accent); }

/* ---- Hero ---- */
.hero { position: relative; padding: clamp(64px, 11vw, 170px) 0; border-bottom: var(--bw) solid var(--accent); overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.glyphs { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.glyphs span { position: absolute; font-family: ui-monospace, monospace; font-weight: 700; color: var(--accent); line-height: 1; user-select: none; will-change: transform, opacity; }
.hero h1 { font-size: clamp(2.6rem, 9.5vw, 8.5rem); }
.hero h1 .out { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.hero h1 .fill { color: var(--accent); }
.hero p.lead { max-width: 56ch; margin-top: 32px; color: var(--silver); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.hero .cta-row { margin-top: 44px; display: flex; gap: 18px; flex-wrap: wrap; }
.hero .specs { margin-top: 56px; display: flex; gap: 40px; flex-wrap: wrap; font-family: ui-monospace, monospace; font-size: 0.78rem; color: var(--muted); }
.hero .specs b { color: var(--accent); }

/* ---- Marquee (seamless, endless loop) ---- */
.marquee {
  background: var(--accent); color: var(--ink-on-accent);
  border-block: var(--bw) solid var(--bg-2); overflow: hidden; padding: 14px 0;
}
.marquee__track { display: flex; width: max-content; white-space: nowrap; animation: scroll 32s linear infinite; will-change: transform; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { display: inline-block; flex-shrink: 0; font-family: "Clash Display", sans-serif; font-weight: 700; text-transform: uppercase; font-size: 1.5rem; letter-spacing: 0.01em; }
.marquee__track span b { margin: 0 24px; font-weight: 700; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---- Section heads ---- */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 28px; flex-wrap: wrap; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(2rem, 6vw, 4.2rem); }
.section-head .idx { font-family: ui-monospace, monospace; font-size: 0.82rem; color: var(--muted); letter-spacing: 0.1em; }

/* ---- Cards / grid ---- */
.grid { display: grid; gap: var(--bw); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); background: var(--bg-2); border: var(--bw) solid var(--bg-2); }
.card { background: var(--surface); padding: 30px; transition: background .15s ease, color .15s ease; }
.card:hover { background: var(--surface-2); }
.card .k { font-family: ui-monospace, monospace; font-size: 0.74rem; letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; }
.card h3 { font-size: 1.7rem; margin: 12px 0 12px; }
.card p { color: var(--silver); }
.card.accent { background: var(--accent); color: var(--ink-on-accent); }
.card.accent .k, .card.accent p { color: var(--ink-on-accent); }

/* ---- Work reel (homepage) ---- */
.reel { display: grid; gap: var(--bw); grid-template-columns: repeat(6, 1fr); background: var(--bg-2); border: var(--bw) solid var(--bg-2); }
.reel .item { position: relative; background: var(--surface); min-height: 240px; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; }
.reel .item .canvas { position: absolute; inset: 0; opacity: 0.5; }
.reel .item .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.82; transition: opacity .25s ease, transform .4s ease; }
.reel .item:hover .shot { opacity: 1; transform: scale(1.04); }
.reel .item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.82)); opacity: 0; transition: opacity .25s ease; pointer-events: none; }
.reel .item:hover::after { opacity: 1; }
.reel .item .meta { position: relative; z-index: 2; transform: translateY(14px); opacity: 0; transition: .25s ease; }
.reel .item:hover .meta { transform: translateY(0); opacity: 1; }
.reel .item:hover { background: var(--surface-2); }
.reel .item h3 { font-size: 1.5rem; }
.reel .item .meta .k { font-family: ui-monospace, monospace; font-size: 0.72rem; color: var(--accent); letter-spacing: 0.12em; }
.reel .span-3 { grid-column: span 3; }
.reel .span-2 { grid-column: span 2; }
.reel .span-4 { grid-column: span 4; }
.reel .tall { min-height: 360px; }

/* CSS "hardware" canvases — no image assets */
.gfx { position: absolute; inset: 0; }
.gfx-grid { background-image: linear-gradient(#00ffd11a 1px, transparent 1px), linear-gradient(90deg, #00ffd11a 1px, transparent 1px); background-size: 22px 22px; }
.gfx-rings { background: radial-gradient(circle at 70% 30%, #00ffd133 0 2px, transparent 3px) 0 0/40px 40px; }
.gfx-diag { background: repeating-linear-gradient(45deg, #00ffd114 0 10px, transparent 10px 22px); }
.gfx-pcb { background:
  radial-gradient(circle at 20% 80%, #00ffd140 0 4px, transparent 5px),
  radial-gradient(circle at 80% 20%, #00ffd140 0 4px, transparent 5px),
  linear-gradient(90deg, transparent 49%, #00ffd133 49% 51%, transparent 51%),
  linear-gradient(0deg, transparent 70%, #00ffd133 70% 72%, transparent 72%);
  background-size: 100% 100%; }

/* ---- Stats / metrics ---- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px,1fr)); gap: 0; border: var(--bw) solid var(--accent); }
.stats .stat { padding: 30px 24px; border-right: var(--bw) solid var(--accent); min-width: 0; }
.stats .stat:last-child { border-right: 0; }
.stats .stat .big {
  font-family: "Clash Display", sans-serif; font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem); line-height: 1.02; letter-spacing: -0.03em;
  color: var(--accent); overflow-wrap: break-word; hyphens: none;
}
.stats .stat .big .arrow { font-size: 0.7em; vertical-align: 0.06em; margin: 0 0.06em; }
.stats .stat .lbl { font-family: ui-monospace, monospace; text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.1em; margin-top: 14px; color: var(--muted); }

/* On narrow screens drop to two columns so wide values never collide */
@media (max-width: 560px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---- Page header (sub pages) ---- */
.pagehead { padding: clamp(56px, 9vw, 130px) 0; border-bottom: var(--bw) solid var(--accent); }
.pagehead h1 { font-size: clamp(2.6rem, 8vw, 6.5rem); }
.pagehead h1 .out { color: transparent; -webkit-text-stroke: 2px var(--accent); }
.pagehead p { max-width: 62ch; margin-top: 22px; color: var(--silver); }
.breadcrumb { font-family: ui-monospace, monospace; font-size: 0.76rem; letter-spacing: 0.12em; margin-bottom: 22px; color: var(--muted); text-transform: uppercase; }
.breadcrumb .cyan { color: var(--accent); }

/* ---- List rows ---- */
.rows { border-top: var(--bw) solid var(--line); }
.list-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 28px; align-items: center; padding: 30px 0; border-bottom: var(--bw) solid var(--line); transition: background .15s ease; }
.list-row .idx { font-family: "Clash Display", sans-serif; font-weight: 700; font-size: 2.1rem; color: var(--accent); }
.list-row h3 { font-size: clamp(1.4rem, 3vw, 2.3rem); }
.list-row p { color: var(--muted); max-width: 64ch; margin-top: 6px; }
.list-row:hover { background: var(--surface); }

/* ---- Filters ---- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filters button {
  font-family: ui-monospace, monospace; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
  background: transparent; color: var(--silver); border: 2px solid var(--line); padding: 10px 18px; cursor: pointer; transition: .12s ease;
}
.filters button:hover { border-color: var(--accent); color: var(--accent); }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--ink-on-accent); border-color: var(--accent); }

/* ---- Portfolio asymmetric grid ---- */
.work { display: grid; gap: var(--bw); grid-template-columns: repeat(6, 1fr); background: var(--bg-2); border: var(--bw) solid var(--bg-2); }
.work .tile { position: relative; background: var(--surface); overflow: hidden; min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; padding: 26px; transition: background .15s ease; }
.work .tile:hover { background: var(--surface-2); }
.work .tile .shot { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.9; transition: transform .4s ease, opacity .25s ease; }
.work .tile:hover .shot { opacity: 1; transform: scale(1.04); }
.work .tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, transparent 32%, rgba(0,0,0,0.82) 100%); pointer-events: none; }
.work .tile .meta { position: relative; z-index: 2; }
.work .tile h3 { font-size: 1.6rem; }
.work .tile .meta .k { font-family: ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--accent); }
.work .tile .badge { position: absolute; z-index: 2; top: 20px; right: 20px; font-family: ui-monospace, monospace; font-size: 0.66rem; letter-spacing: 0.1em; border: 2px solid var(--accent); color: var(--accent); padding: 4px 8px; text-transform: uppercase; }
.work .a { grid-column: span 4; min-height: 380px; }
.work .b { grid-column: span 2; }
.work .c { grid-column: span 2; }
.work .d { grid-column: span 2; }
.work .e { grid-column: span 3; }
.work .f { grid-column: span 3; }
.work .tile[hidden] { display: none; }

/* ---- Velocity reel (scroll-velocity-linked horizontal cards) ---- */
.vreel { overflow: hidden; background: var(--bg-2); border-block: var(--bw) solid var(--bg-2); cursor: default; }
.vreel__track { display: flex; gap: var(--bw); width: max-content; will-change: transform; }
.vcard { position: relative; flex: 0 0 auto; width: clamp(260px, 30vw, 440px); aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); display: block; }
.vcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform .5s ease, opacity .3s ease; }
.vcard:hover img { transform: scale(1.06); opacity: 0.4; }
.vcard__label { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; background: linear-gradient(180deg, transparent 35%, rgba(0,0,0,0.85)); opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease; }
.vcard:hover .vcard__label { opacity: 1; transform: none; }
.vcard__label .k { font-family: ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--accent); }
.vcard__label h3 { font-size: 1.7rem; margin-top: 6px; }
.vreel.is-scrollable { overflow-x: auto; }

/* ---- Forms ---- */
.form { display: grid; gap: 24px; }
.field { display: grid; gap: 8px; }
.field label { font-family: ui-monospace, monospace; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); }
.field input, .field textarea, .field select {
  font-family: inherit; font-size: 1rem; padding: 16px; color: var(--text);
  background: var(--bg-2); border: var(--bw) solid var(--line);
}
.field input::placeholder, .field textarea::placeholder { color: #56655f; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.field textarea { resize: vertical; min-height: 150px; }

/* ---- Info / transmission links ---- */
.info { display: grid; gap: 0; border: var(--bw) solid var(--line); }
.info .item { padding: 26px; border-bottom: var(--bw) solid var(--line); }
.info .item:last-child { border-bottom: 0; }
.info .item .k { font-family: ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.info .item .v { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 1.3rem; margin-top: 8px; }
.transmit { display: grid; gap: var(--bw); grid-template-columns: 1fr 1fr; }
.transmit a { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: var(--surface); border: var(--bw) solid var(--line); font-family: ui-monospace, monospace; text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; transition: .12s ease; }
.transmit a:hover { border-color: var(--accent); color: var(--accent); }
.transmit a span:last-child { color: var(--accent); }

/* ---- Case study ---- */
.cs-hero { padding: clamp(56px, 9vw, 130px) 0; border-bottom: var(--bw) solid var(--accent); }
.cs-hero h1 { font-size: clamp(2.6rem, 10vw, 8rem); color: var(--accent); }
.cs-hero .meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px,1fr)); gap: 0; margin-top: 52px; border: var(--bw) solid var(--line); }
.cs-hero .meta div { padding: 22px; border-right: var(--bw) solid var(--line); }
.cs-hero .meta div:last-child { border-right: 0; }
.cs-hero .meta .k { font-family: ui-monospace, monospace; font-size: 0.7rem; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.cs-hero .meta .v { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: 1.2rem; margin-top: 8px; }
.cs-block { max-width: 72ch; }
.cs-block h2 { font-size: clamp(1.8rem, 5vw, 3.2rem); margin-bottom: 22px; }
.cs-block h2 .num { color: var(--accent); font-family: ui-monospace, monospace; font-size: 0.9rem; display: block; margin-bottom: 10px; letter-spacing: 0.1em; }
.cs-block p { color: var(--silver); }
.cs-block p + p { margin-top: 16px; }
.bigquote { font-family: "Clash Display", sans-serif; font-weight: 600; font-size: clamp(1.6rem, 4vw, 3rem); line-height: 1.12; text-transform: uppercase; }
.bigquote .cyan { color: var(--accent); }

/* ---- Snapshot (baseline vs current) ---- */
.snapshot { display: grid; gap: var(--bw); grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); background: var(--bg-2); border: var(--bw) solid var(--bg-2); }
.snap { background: var(--surface); padding: 30px; }
.snap.now { background: var(--accent); color: var(--ink-on-accent); }
.snap .when { font-family: ui-monospace, monospace; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.snap.now .when { color: var(--ink-on-accent); }
.snap h3 { font-size: 1.5rem; margin: 8px 0 18px; }
.snap dl { display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; font-family: ui-monospace, monospace; font-size: 0.9rem; margin: 0; }
.snap dt { color: var(--muted); }
.snap.now dt { color: #06231d; }
.snap dd { text-align: right; font-weight: 700; margin: 0; }

/* ---- KV table (next chapter / specs) ---- */
.ktable { border: var(--bw) solid var(--line); }
.ktable .r { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 24px; border-bottom: var(--bw) solid var(--line); }
.ktable .r:last-child { border-bottom: 0; }
.ktable .r .k { color: var(--silver); }
.ktable .r .v { font-family: ui-monospace, monospace; color: var(--accent); letter-spacing: 0.04em; text-align: right; }

/* ---- Key-wins checklist ---- */
.checklist { border: var(--bw) solid var(--line); list-style: none; margin: 0; padding: 0; }
.checklist li { display: flex; gap: 14px; padding: 20px 24px; border-bottom: var(--bw) solid var(--line); color: var(--silver); }
.checklist li:last-child { border-bottom: 0; }
.checklist li::before { content: "✓"; color: var(--accent); font-family: ui-monospace, monospace; font-weight: 700; flex: none; }
.checklist li b { color: var(--text); }

/* ---- Tiers (services pricing) ---- */
.tiers { display: grid; gap: var(--bw); grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); background: var(--bg-2); border: var(--bw) solid var(--bg-2); }
.tier { background: var(--surface); padding: 34px; display: flex; flex-direction: column; }
.tier.featured { background: var(--accent); color: var(--ink-on-accent); }
.tier .k { font-family: ui-monospace, monospace; font-size: 0.74rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.tier.featured .k { color: var(--ink-on-accent); }
.tier h3 { font-size: 1.9rem; margin: 10px 0 6px; }
.tier .price { font-family: "Clash Display", sans-serif; font-weight: 700; font-size: 2.6rem; line-height: 1; margin: 10px 0 20px; }
.tier ul { list-style: none; display: grid; gap: 12px; margin: 0 0 28px; }
.tier li { font-size: 0.95rem; padding-left: 22px; position: relative; color: var(--silver); }
.tier.featured li { color: #06231d; }
.tier li::before { content: "+"; position: absolute; left: 0; font-family: ui-monospace, monospace; color: var(--accent); font-weight: 700; }
.tier.featured li::before { color: var(--ink-on-accent); }
.tier .btn { margin-top: auto; justify-content: center; }
.tier.featured .btn { background: var(--ink-on-accent); color: var(--accent); border-color: var(--ink-on-accent); }

/* ---- Team ---- */
.team { display: grid; gap: var(--bw); grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); background: var(--bg-2); border: var(--bw) solid var(--bg-2); }
.member { background: var(--surface); position: relative; }
.member .portrait { aspect-ratio: 1/1; position: relative; filter: grayscale(1); border-bottom: var(--bw) solid var(--bg-2); overflow: hidden; }
.member .portrait .coord { position: absolute; top: 12px; left: 12px; font-family: ui-monospace, monospace; font-size: 0.64rem; color: var(--accent); letter-spacing: 0.08em; }
.member .portrait .glyph { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Clash Display", sans-serif; font-weight: 700; font-size: 4rem; color: #1f2d28; }
.member .body { padding: 20px; }
.member h3 { font-size: 1.3rem; }
.member .role { font-family: ui-monospace, monospace; font-size: 0.72rem; color: var(--accent); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 6px; }

/* ---- CTA band ---- */
.cta-band { background: var(--accent); color: var(--ink-on-accent); text-align: center; border-bottom: var(--bw) solid var(--bg-2); }
.cta-band h2 { font-size: clamp(2.4rem, 8vw, 6rem); }
.cta-band p { max-width: 52ch; margin: 22px auto 40px; font-weight: 500; }
.cta-band .btn { background: var(--ink-on-accent); color: var(--accent); border-color: var(--ink-on-accent); }
.cta-band .btn:hover { box-shadow: 11px 11px 0 #04302788; }

/* ---- Footer ---- */
.footer { background: var(--bg-2); padding: 72px 0 36px; }
.footer .top { display: flex; justify-content: space-between; gap: 48px; flex-wrap: wrap; }
.footer .big { font-family: "Clash Display", sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(2.2rem, 7vw, 5.5rem); line-height: 0.9; }
.footer .big .cyan { color: var(--accent); }
.footer .brandlogo { width: min(340px, 72vw); height: auto; display: block; }
.footer .links { display: flex; gap: 52px; flex-wrap: wrap; }
.footer .col h4 { font-family: ui-monospace, monospace; color: var(--accent); font-size: 0.74rem; letter-spacing: 0.12em; margin-bottom: 16px; }
.footer .col a { display: block; padding: 5px 0; color: var(--silver); font-size: 0.92rem; }
.footer .col a:hover { color: var(--accent); }
.footer .legal { margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: ui-monospace, monospace; font-size: 0.74rem; color: var(--muted); }

/* ---- Scroll reveal ---- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .reel, .work { grid-template-columns: repeat(2, 1fr); }
  .reel .span-3, .reel .span-2, .reel .span-4,
  .work .a, .work .b, .work .c, .work .d, .work .e, .work .f { grid-column: span 2; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .topbar .wrap { justify-content: center; }
  .list-row { grid-template-columns: 56px 1fr; }
  .list-row .meta-right { display: none; }
  .transmit { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee__track { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===========================================================================
   Case-study rich sections — revenue chart · brand footprint · dual pillars ·
   KPI strip. Additive; all in the "Structural Honesty" idiom (bordered blocks,
   neon-cyan accent, Clash + mono). No JS — the chart is inline static SVG.
   =========================================================================== */

/* ---- Revenue growth chart (inline SVG, no build step) ---- */
.chart { border: var(--bw) solid var(--accent); background: var(--surface); padding: clamp(20px, 3vw, 34px); }
.chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.chart .gridline { stroke: var(--line); stroke-width: 1; }
.chart .baseline { stroke: var(--line); stroke-width: 2; }
.chart text { font-family: ui-monospace, "JetBrains Mono", monospace; fill: var(--muted); font-size: 12px; }
.chart .ylabel { fill: var(--muted); }
.chart .xlabel { fill: var(--silver); }
.chart .rev-area { fill: url(#revFill); }
.chart .rev-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.chart .spend-line { fill: none; stroke: var(--silver); stroke-width: 2; stroke-dasharray: 6 5; opacity: 0.55; stroke-linecap: round; }
.chart .dot { fill: var(--bg); stroke: var(--accent); stroke-width: 3; }
.chart .val { fill: var(--text); font-weight: 700; font-size: 12.5px; }
.chart__legend { display: flex; gap: 26px; margin-top: 22px; flex-wrap: wrap;
  font-family: ui-monospace, monospace; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.chart__legend .lg { display: inline-flex; align-items: center; gap: 9px; }
.chart__legend .sw { width: 22px; height: 3px; background: var(--accent); flex: none; }
.chart__legend .sw.dash { height: 0; border-top: 2px dashed var(--silver); opacity: 0.7; }

/* ---- Brand footprint (brand card + product image grid) ---- */
.footprint { display: grid; gap: var(--bw); grid-template-columns: 5fr 7fr; background: var(--bg-2); border: var(--bw) solid var(--bg-2); }
.footprint__brand { background: var(--surface); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.footprint__brand .logo { font-family: "Clash Display", sans-serif; font-weight: 700; text-transform: uppercase; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 0.95; letter-spacing: -0.02em; }
.footprint__brand .logo .cyan { color: var(--accent); }
.footprint__brand .tagp { color: var(--silver); font-size: 0.98rem; }
.footprint__brand .site { font-family: ui-monospace, monospace; font-size: 0.82rem; letter-spacing: 0.06em; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.footprint__grid { display: grid; gap: var(--bw); grid-template-columns: repeat(3, 1fr); background: var(--bg-2); }
.gtile { position: relative; aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; }
.gtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.92; transition: transform .5s ease, opacity .3s ease; }
.gtile:hover img { transform: scale(1.05); opacity: 1; }
.gtile .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.82)); font-family: ui-monospace, monospace;
  font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--silver); }
/* Branded placeholder tile — shown until a real product photo is dropped in */
.gtile.pending { display: grid; place-items: center; background:
  linear-gradient(#00ffd114 1px, transparent 1px), linear-gradient(90deg, #00ffd114 1px, transparent 1px), var(--surface);
  background-size: 20px 20px, 20px 20px, auto; }
.gtile.pending .glyph { font-family: "Clash Display", sans-serif; font-weight: 700; font-size: 3.4rem; color: #24352f; }
.gtile.pending .tagp { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center;
  font-family: ui-monospace, monospace; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* ---- Dual-pillar framework ---- */
.pillars { display: grid; gap: var(--bw); grid-template-columns: 1fr 1fr; background: var(--bg-2); border: var(--bw) solid var(--bg-2); }
.pillar { background: var(--surface); padding: clamp(24px, 3vw, 36px); }
.pillar > .k { font-family: ui-monospace, monospace; font-size: 0.74rem; letter-spacing: 0.14em; color: var(--accent); text-transform: uppercase; }
.pillar > h3 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 10px 0 6px; }
.pillar > .sub { color: var(--muted); font-size: 0.92rem; margin-bottom: 8px; }
.pillar__item { padding: 22px 0; border-top: var(--bw) solid var(--line); }
.pillar__item h4 { font-family: "Clash Display", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.15rem; }
.pillar__item p { color: var(--silver); font-size: 0.95rem; margin-top: 6px; }
.pillar__item .impact { display: inline-block; margin-top: 10px; font-family: ui-monospace, monospace; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.paybadges { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.paybadge { font-family: ui-monospace, monospace; font-size: 0.64rem; letter-spacing: 0.1em; text-transform: uppercase;
  border: 2px solid var(--accent); color: var(--accent); padding: 5px 9px; white-space: nowrap; }

/* ---- KPI strip (summary metrics with icons) ---- */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(184px, 1fr)); border: var(--bw) solid var(--line); }
.kpi { padding: 26px 22px; border-right: var(--bw) solid var(--line); display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kpi:last-child { border-right: 0; }
.kpi .ic { width: 26px; height: 26px; color: var(--accent); flex: none; }
.kpi .ic svg { width: 100%; height: 100%; display: block; stroke: currentColor; fill: none; stroke-width: 2; }
.kpi .big { font-family: "Clash Display", sans-serif; font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1; letter-spacing: -0.02em; color: var(--accent); overflow-wrap: break-word; }
.kpi .lbl { font-family: ui-monospace, monospace; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }

/* ---- Responsive: rich sections ---- */
@media (max-width: 860px) {
  .footprint { grid-template-columns: 1fr; }
  .pillars { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footprint__grid { grid-template-columns: repeat(2, 1fr); }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .kpi:nth-child(2n) { border-right: 0; }
}

/* ---- Social growth (story + handles, no fabricated numbers) ---- */
.social { display: grid; gap: var(--bw); grid-template-columns: 5fr 7fr; background: var(--bg-2); border: var(--bw) solid var(--bg-2); }
.social__intro { background: var(--surface); padding: clamp(24px, 3vw, 34px); display: flex; flex-direction: column; gap: 22px; justify-content: space-between; }
.social__intro p { color: var(--silver); }
.social__intro p b { color: var(--text); }
.social__links { display: flex; flex-wrap: wrap; gap: 10px; }
.social__chip { display: inline-flex; align-items: center; gap: 8px; font-family: ui-monospace, monospace;
  font-size: 0.8rem; letter-spacing: 0.03em; border: 2px solid var(--accent); color: var(--accent);
  padding: 8px 12px; transition: background .15s ease, color .15s ease; }
.social__chip:hover { background: var(--accent); color: var(--ink-on-accent); }
.social__chip .ic { width: 15px; height: 15px; flex: none; }
.social__chip .ic svg { width: 100%; height: 100%; display: block; fill: currentColor; }
.social__how { background: var(--surface); list-style: none; margin: 0; padding: 8px clamp(24px, 3vw, 34px); display: flex; flex-direction: column; }
.social__how li { display: flex; gap: 18px; padding: 20px 0; border-bottom: var(--bw) solid var(--line); }
.social__how li:last-child { border-bottom: 0; }
.social__how .k { font-family: "Clash Display", sans-serif; font-weight: 700; font-size: 1.4rem; line-height: 1; color: var(--accent); flex: none; }
.social__how h4 { font-family: "Clash Display", sans-serif; font-weight: 600; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.1rem; }
.social__how p { color: var(--silver); font-size: 0.94rem; margin-top: 5px; }
@media (max-width: 860px) { .social { grid-template-columns: 1fr; } }
