/* ════════════════════════════════════════════════════════════════════
 *  axxtremelabs — landing
 *  editorial-brutalist agency identity · cream paper · fire orange
 *  per-project accents: magenta (ez) · teal (cn) · green (vt)
 * ════════════════════════════════════════════════════════════════════ */


/* ── 00 · tokens ───────────────────────────────────────────────── */
:root {
  /* paper family */
  --paper:        #EFE9DD;
  --paper-2:      #E8E1D1;
  --paper-soft:   #F5EFE3;
  --paper-deep:   #DDD3BD;

  /* ink family */
  --ink:          #0E0E11;
  --ink-soft:     #21212A;
  --ink-mute:     #5C5C66;
  --ink-faint:    #8A8A93;

  /* lines */
  --line:         rgba(14, 14, 17, 0.12);
  --line-strong:  rgba(14, 14, 17, 0.30);
  --line-faint:   rgba(14, 14, 17, 0.05);

  /* fire */
  --fire:         #FF5A1F;
  --fire-2:       #FF7A47;
  --fire-deep:    #C8412B;
  --fire-faint:   rgba(255, 90, 31, 0.12);

  /* dark surfaces */
  --ash:          #131318;
  --ash-2:        #1B1B22;
  --ash-3:        #25252C;

  /* per-project */
  --mag:          #E9417A;
  --mag-2:        #FF7A3D;
  --mag-deep:     #C82F65;
  --teal:         #5FD9C0;
  --teal-deep:    #2EA38D;
  --green:        #22C55E;
  --green-2:      #00D26A;
  --green-deep:   #15803D;

  /* type */
  --f-disp:       'Archivo', 'Helvetica Neue', sans-serif;
  --f-edit:       'Newsreader', 'Georgia', serif;
  --f-body:       'Manrope', system-ui, sans-serif;
  --f-mono:       'JetBrains Mono', 'Menlo', monospace;

  /* scale */
  --container:    1440px;
  --gutter:       max(28px, 2.3vw);

  /* motion */
  --ease:         cubic-bezier(.22, .9, .28, 1);
  --ease-out:     cubic-bezier(.16, 1, .3, 1);
  --t-quick:      0.32s;
  --t-med:        0.55s;
  --t-slow:       0.85s;
}


/* ── 01 · reset + base ─────────────────────────────────────────── */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scrollbar-color: var(--ink) var(--paper);
}

html::-webkit-scrollbar       { width: 11px; }
html::-webkit-scrollbar-track { background: var(--paper); }
html::-webkit-scrollbar-thumb {
  background: var(--ink);
  border: 3px solid var(--paper);
  border-radius: 0;
}

body {
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: 'ss01', 'cv11';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

::selection { background: var(--fire); color: #fff; }

img, svg, video { display: block; max-width: 100%; }

button, input, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button { cursor: pointer; }

a { color: inherit; text-decoration: none; }

ul, ol { list-style: none; }

dl, dd { margin: 0; }

em, i { font-style: italic; }


/* ── 02 · atmospheric layers ───────────────────────────────────── */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.18;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(rgba(0,0,0,0.5) 1px, transparent 1px),
    radial-gradient(rgba(0,0,0,0.4) 0.5px, transparent 0.5px);
  background-size: 3px 3px, 2px 2px;
  background-position: 0 0, 1px 1px;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 998;
  opacity: 0.04;
  background-image: repeating-linear-gradient(
    0deg,
    transparent 0,
    transparent 2px,
    rgba(0,0,0,1) 2px,
    rgba(0,0,0,1) 3px
  );
}


/* ── 03 · container + section heads ────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
}

.section-head {
  margin-bottom: 80px;
  max-width: 940px;
}

.section-num {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--ink);
  text-transform: uppercase;
  padding: 6px 12px 6px 0;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  margin-bottom: 28px;
}

.section-num.light {
  border-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.85);
}

.section-title {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section-title em {
  font-family: var(--f-edit);
  font-weight: 500;
  font-style: italic;
  color: var(--fire);
  letter-spacing: -0.005em;
}

.section-lede {
  margin-top: 22px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 60ch;
}


/* ── 04 · nav ──────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  padding: 18px var(--gutter);
  gap: 32px;
  transition: background var(--t-quick) var(--ease),
              border-color var(--t-quick) var(--ease),
              padding var(--t-quick) var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(239, 233, 221, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom-color: var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nav-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: var(--ink);
  color: var(--fire);
  border-radius: 3px;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform var(--t-quick) var(--ease);
}
.nav-mark .logo-mark {
  display: block;
  width: 100%;
  height: 100%;
}
.nav-brand:hover .nav-mark { transform: rotate(-8deg); }

.nav-word {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.nav-list {
  display: flex;
  justify-content: center;
  gap: 36px;
}
.nav-list a {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 8px 4px;
  position: relative;
  transition: color var(--t-quick) var(--ease);
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 4px; right: 4px; bottom: 4px;
  height: 1px;
  background: var(--fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-quick) var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--paper);
  padding: 11px 18px 11px 20px;
  border-radius: 2px;
  transition: background var(--t-quick) var(--ease),
              transform var(--t-quick) var(--ease);
}
.nav-cta svg { width: 14px; height: 14px; transition: transform var(--t-quick) var(--ease); }
.nav-cta:hover { background: var(--fire); }
.nav-cta:hover svg { transform: translateX(3px); }


/* ── 05 · hero ─────────────────────────────────────────────────── */
.hero {
  padding: 168px var(--gutter) 80px;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 95% 20%, rgba(255, 90, 31, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 80%, rgba(14, 14, 17, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, var(--line-faint) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  pointer-events: none;
  opacity: 0.6;
}

.hero-grid {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px 32px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  grid-column: 1 / -1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 32px;
}
.hero-eyebrow .sep { opacity: 0.5; }
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--fire);
  border-radius: 50%;
  position: relative;
}
.hero-eyebrow .dot.live::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: var(--fire);
  opacity: 0.25;
  animation: livePulse 1.8s infinite var(--ease-out);
}

@keyframes livePulse {
  0%   { transform: scale(1);   opacity: 0.35; }
  60%  { transform: scale(2.5); opacity: 0; }
  100% { transform: scale(2.5); opacity: 0; }
}

.hero-headline {
  grid-column: 1 / 10;
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: clamp(3.2rem, 9vw, 9.4rem);
  line-height: 0.86;
  letter-spacing: -0.045em;
  color: var(--ink);
}
.hero-headline em {
  font-family: var(--f-edit);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--fire);
  padding: 0 0.05em;
}
.hero-headline .line {
  display: block;
  overflow: hidden;
}

.hero-sub {
  grid-column: 1 / 7;
  margin-top: 40px;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 56ch;
}

/* hero panel (right) */
.hero-panel {
  grid-column: 10 / -1;
  grid-row: 2 / 5;
  align-self: end;
  border: 1.5px solid var(--ink);
  background: var(--paper-soft);
  padding: 22px 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.hero-panel::before {
  content: '';
  position: absolute;
  top: -8px; left: -8px;
  width: 14px; height: 14px;
  border-top: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
  background: var(--paper);
}
.hero-panel::after {
  content: '';
  position: absolute;
  bottom: -8px; right: -8px;
  width: 14px; height: 14px;
  border-bottom: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
  background: var(--paper);
}

.hp-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
}
.hp-dot {
  width: 8px; height: 8px;
  background: var(--fire);
  border-radius: 50%;
  flex-shrink: 0;
}
.hp-q { margin-left: auto; color: var(--ink-mute); }

.hp-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--ink-soft);
}
.hp-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 12px;
  align-items: baseline;
}
.hp-list li span {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 18px;
  color: var(--ink);
  font-feature-settings: 'tnum';
  letter-spacing: -0.02em;
}

.hp-foot {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.hp-bar {
  height: 4px;
  background: var(--line);
  position: relative;
  overflow: hidden;
  border-radius: 1px;
}
.hp-bar span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--fire);
  animation: barIn 1.4s var(--ease-out) 0.3s both;
}
@keyframes barIn { from { width: 0; } }

.hp-bar-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* hero footer (actions) */
.hero-foot {
  grid-column: 1 / -1;
  margin-top: 56px;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.hero-action {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 16px;
  border: 1.5px solid var(--ink);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  transition: background var(--t-quick) var(--ease),
              color var(--t-quick) var(--ease);
  position: relative;
}
.hero-action .ha-num {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 11px;
  padding: 3px 6px;
  background: var(--ink);
  color: var(--paper);
  letter-spacing: 0.04em;
  transition: background var(--t-quick) var(--ease);
}
.hero-action svg { width: 14px; height: 14px; transition: transform var(--t-quick) var(--ease); }
.hero-action:hover { background: var(--ink); color: var(--paper); }
.hero-action:hover svg { transform: translateX(4px); }
.hero-action:hover .ha-num { background: var(--paper); color: var(--ink); }

.hero-action.ha-fire {
  background: var(--fire);
  border-color: var(--fire);
  color: var(--paper);
}
.hero-action.ha-fire .ha-num {
  background: var(--ink);
  color: var(--fire);
}
.hero-action.ha-fire:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.hero-action.ha-fire:hover .ha-num {
  background: var(--fire);
  color: var(--ink);
}

.hero-rule { border-top: 1px dashed var(--line-strong); }

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.hs-line {
  width: 60px;
  height: 1px;
  background: var(--line-strong);
  position: relative;
  overflow: hidden;
}
.hs-line i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 30%;
  background: var(--ink);
  animation: hsSlide 2.4s var(--ease) infinite;
}
@keyframes hsSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(330%); }
}


/* ── 06 · marquee ──────────────────────────────────────────────── */
.marquee {
  background: var(--ink);
  color: var(--paper);
  padding: 26px 0;
  position: relative;
  overflow: hidden;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.marquee-edge {
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-edge-l { left: 0; background: linear-gradient(to right, var(--ink), transparent); }
.marquee-edge-r { right: 0; background: linear-gradient(to left, var(--ink), transparent); }

.marquee-track {
  display: flex;
  white-space: nowrap;
  width: max-content;
  animation: marqueeRoll 60s linear infinite;
}

.marquee-set {
  display: inline-flex;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.012em;
}

.marquee-set span {
  transition: color 0.3s var(--ease);
}
.marquee-set .mq-fire { color: var(--fire); }
.marquee-set .mq-d {
  font-family: var(--f-mono);
  color: var(--ink-faint);
  font-weight: 400;
  font-size: 18px;
}

@keyframes marqueeRoll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ── 07 · manifesto + stats ────────────────────────────────────── */
.manifesto {
  padding: 140px 0 120px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1.5px solid var(--ink);
  border-left: 1.5px solid var(--ink);
}

.stat {
  position: relative;
  padding: 28px 26px 26px;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  background: var(--paper-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 220px;
  overflow: hidden;
  isolation: isolate;
}

.stat::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fire);
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.stat:hover::before { transform: translateY(0); }
.stat:hover { color: var(--paper); }
.stat:hover .stat-num,
.stat:hover .stat-tick,
.stat:hover .stat-label { color: var(--paper); }

.stat-tick {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color var(--t-quick) var(--ease);
}

.stat-num {
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
  color: var(--ink);
  font-feature-settings: 'tnum';
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin-top: auto;
  transition: color var(--t-quick) var(--ease);
}
.stat-num sup {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 0.35em;
  letter-spacing: 0;
  color: var(--fire);
  transform: translateY(-0.6em);
  transition: color var(--t-quick) var(--ease);
}
.stat:hover .stat-num sup { color: var(--paper); }

.stat-label {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color var(--t-quick) var(--ease);
}

.manifesto-strip {
  margin-top: 96px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: end;
  border-top: 1.5px solid var(--ink);
  padding-top: 48px;
}

.manifesto-quote {
  font-family: var(--f-edit);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.7rem, 3.2vw, 2.9rem);
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--ink);
  max-width: 38ch;
  position: relative;
}
.manifesto-quote em {
  color: var(--fire);
  font-style: italic;
}
.mq-mark {
  font-family: var(--f-edit);
  color: var(--fire);
  font-size: 1.6em;
  line-height: 0;
  vertical-align: middle;
}

.manifesto-sig {
  display: inline-flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  text-align: right;
}
.mq-line { display: block; height: 1px; background: var(--ink); width: 100px; align-self: flex-end; }


/* ── 08 · capabilities ─────────────────────────────────────────── */
.capabilities {
  padding: 130px 0 130px;
  background: var(--paper);
  position: relative;
  border-bottom: 1px solid var(--line);
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.cap-card {
  grid-column: span 4;
  border: 1.5px solid var(--ink);
  background: var(--paper-soft);
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  min-height: 380px;
  transition: background 0.45s var(--ease), transform 0.45s var(--ease);
  overflow: hidden;
  isolation: isolate;
}

.cap-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 18px 18px 0;
  border-color: transparent var(--ink) transparent transparent;
  transition: border-color var(--t-quick) var(--ease);
}
.cap-card:hover {
  background: var(--ink);
  color: var(--paper);
}
.cap-card:hover::before { border-right-color: var(--fire); }
.cap-card:hover .cc-num { background: var(--fire); color: var(--ink); }
.cap-card:hover .cc-title { color: var(--paper); }
.cap-card:hover .cc-title em { color: var(--fire); }
.cap-card:hover .cc-body { color: rgba(239, 233, 221, 0.78); }
.cap-card:hover .cc-tags li { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.85); }
.cap-card:hover .cc-mark { color: var(--fire); }
.cap-card:hover .cc-rule { background: rgba(255,255,255,0.2); }
.cap-card:hover .cc-meta { color: rgba(255,255,255,0.55); }

.cap-card-feature {
  grid-column: span 8;
  min-height: 380px;
}

.cc-top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.cc-num {
  display: inline-block;
  padding: 4px 7px;
  background: var(--ink);
  color: var(--fire);
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: 0.04em;
  transition: background var(--t-quick) var(--ease), color var(--t-quick) var(--ease);
}
.cc-meta { letter-spacing: 0.2em; transition: color var(--t-quick) var(--ease); }

.cc-flag {
  margin-left: auto;
  background: var(--fire);
  color: var(--ink);
  padding: 4px 8px;
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em;
}

.cc-title {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--ink);
  max-width: 22ch;
  transition: color var(--t-quick) var(--ease);
}
.cc-title em {
  font-family: var(--f-edit);
  font-weight: 500;
  font-style: italic;
  color: var(--fire);
  letter-spacing: -0.005em;
  transition: color var(--t-quick) var(--ease);
}

.cc-body {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38ch;
  transition: color var(--t-quick) var(--ease);
}
.cc-body em { color: var(--fire); font-style: italic; font-family: var(--f-edit); }

.cc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.cc-tags li {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  border-radius: 0;
  transition: border-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease);
}

.cc-rule {
  height: 1px;
  background: var(--line);
  margin: 2px 0;
  transition: background var(--t-quick) var(--ease);
}
.cc-mark {
  font-family: var(--f-edit);
  font-style: italic;
  font-size: 0.92rem;
  color: var(--ink-mute);
  transition: color var(--t-quick) var(--ease);
}

/* rag pipeline diagram */
.cc-diagram {
  margin-top: auto;
  padding: 18px 16px;
  background: var(--paper-deep);
  border: 1px dashed var(--line-strong);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease);
}
.cap-card-feature:hover .cc-diagram { background: var(--ash-2); border-color: rgba(255,255,255,0.15); }
.cd-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cd-node {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  padding: 5px 10px;
  border: 1px solid var(--ink);
  background: var(--paper-soft);
  text-transform: uppercase;
  transition: background var(--t-quick) var(--ease), border-color var(--t-quick) var(--ease), color var(--t-quick) var(--ease);
}
.cap-card-feature:hover .cd-node { background: var(--ash-3); border-color: rgba(255,255,255,0.18); color: var(--paper); }
.cd-node-fire {
  background: var(--fire);
  color: var(--ink);
  border-color: var(--fire);
}
.cap-card-feature:hover .cd-node-fire { background: var(--fire); color: var(--ink); border-color: var(--fire); }
.cd-arr {
  font-family: var(--f-mono);
  color: var(--ink-mute);
  font-size: 14px;
  transition: color var(--t-quick) var(--ease);
}
.cap-card-feature:hover .cd-arr { color: var(--fire); }


/* ── 09 · work intro ───────────────────────────────────────────── */
.work-intro {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 0 120px;
  position: relative;
  overflow: hidden;
}
.work-intro::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(255,90,31,0.07) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent 0, transparent 3px, rgba(255,255,255,0.015) 3px, rgba(255,255,255,0.015) 4px);
  pointer-events: none;
}

.work-intro .container { position: relative; z-index: 1; }

.work-title {
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: clamp(2.6rem, 6.5vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  margin: 20px 0 60px;
  color: var(--paper);
}
.work-title em {
  font-family: var(--f-edit);
  font-weight: 500;
  font-style: italic;
  color: var(--fire);
}

.work-index {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.wi-row {
  display: grid;
  grid-template-columns: 60px 2.6fr 2.4fr 110px 32px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  transition: padding-left var(--t-quick) var(--ease), color var(--t-quick) var(--ease);
  position: relative;
  isolation: isolate;
}
.wi-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fire);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  z-index: -1;
}
.wi-row:hover::before { transform: scaleX(1); }
.wi-row:hover { padding-left: 24px; color: var(--ink); }
.wi-row:hover .wi-meta { color: rgba(14,14,17,0.7); }
.wi-row:hover .wi-num { color: var(--ink); }

.wi-num {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--fire);
  transition: color var(--t-quick) var(--ease);
}

.wi-name {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: -0.018em;
  line-height: 1;
}

.wi-meta {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  transition: color var(--t-quick) var(--ease);
}

.wi-yr {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-align: right;
}

.wi-row svg { width: 18px; height: 18px; transition: transform var(--t-quick) var(--ease); }
.wi-row:hover svg { transform: translateX(6px); }


/* ── 10 · case studies (common) ────────────────────────────────── */
.case {
  padding: 160px 0 140px;
  position: relative;
  border-bottom: 1px solid var(--line);
}

.case-head {
  margin-bottom: 100px;
  max-width: 1100px;
}

.ch-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.ch-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid var(--ink);
  color: var(--ink);
}
.ch-tag.ch-fire { background: var(--fire); color: var(--ink); border-color: var(--fire); }
.ch-tag.ch-mag { background: var(--mag); color: #fff; border-color: var(--mag); }
.ch-tag.ch-teal { background: var(--teal); color: var(--ink); border-color: var(--teal); }
.ch-tag.ch-green { background: var(--green); color: var(--ink); border-color: var(--green); }

.ch-title {
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: clamp(3rem, 8vw, 7.5rem);
  line-height: 0.87;
  letter-spacing: -0.04em;
  color: var(--ink);
}
.ch-title .line { display: block; overflow: hidden; }
.ch-title em {
  font-family: var(--f-edit);
  font-style: italic;
  font-weight: 500;
  color: var(--fire);
  letter-spacing: -0.012em;
}

.ch-tagline {
  margin-top: 32px;
  font-size: 1.12rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 64ch;
}

.ch-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 56px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.chs {
  padding: 24px 26px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chs:last-child { border-right: none; }
.chs-num {
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}
.chs-num sup {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 0.45em;
  color: var(--fire);
  transform: translateY(-0.5em);
}
.chs-lbl {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* case mockups grid */
.case-mockups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  align-items: end;
  justify-items: center;
  margin: 60px 0 80px;
  padding: 60px 0;
  position: relative;
}

.case-mockups::before {
  content: '';
  position: absolute;
  inset: 0;
  border-top: 1px dashed var(--line-strong);
  border-bottom: 1px dashed var(--line-strong);
  pointer-events: none;
}

/* case detail blocks */
.case-detail {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1.5px solid var(--ink);
}

.cd-eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 24px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid var(--fire);
}
.cd-eyebrow-mag { color: var(--mag); border-bottom-color: var(--mag); }
.cd-eyebrow-cn  { color: var(--teal); border-bottom-color: var(--teal); }
.cd-eyebrow-vt  { color: var(--green); border-bottom-color: var(--green); }

.cd-bullets {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cd-bullets li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  font-size: 1.02rem;
  line-height: 1.55;
  color: var(--ink-soft);
  padding-left: 4px;
}
.fire-square,
.mag-square,
.teal-square,
.green-square {
  display: inline-block;
  width: 10px; height: 10px;
  background: var(--fire);
  transform: translateY(8px);
}
.mag-square   { background: var(--mag);   }
.teal-square  { background: var(--teal);  }
.green-square { background: var(--green); }

.cd-tech {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px 18px;
  align-items: baseline;
}
.cd-tech dt {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fire);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.cd-tech-mag dt { color: var(--mag); }
.cd-tech-cn dt  { color: var(--teal); }
.cd-tech-vt dt  { color: var(--green); }

.cd-tech dd {
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}


/* ── 11 · phone frame (shared) ─────────────────────────────────── */
.phone {
  width: 100%;
  max-width: 300px;
  position: relative;
  transform: rotate(var(--phone-rot, 0deg)) translateY(var(--phone-y, 0px));
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}
.phone:hover {
  transform: rotate(0deg) translateY(calc(var(--phone-y, 0px) - 12px));
}

.phone-frame {
  width: 100%;
  aspect-ratio: 300 / 620;
  background: #050507;
  border-radius: 38px;
  padding: 9px;
  box-shadow:
    0 30px 50px -16px rgba(0, 0, 0, 0.32),
    0 8px 20px -10px rgba(0, 0, 0, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 0 2px rgba(0, 0, 0, 0.6);
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  font-family: var(--f-body);
}

.phone-notch {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  border-radius: 14px;
  background: #000;
  z-index: 5;
}

.phone-cap {
  margin-top: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.phone-cap span {
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: -0.015em;
}
.phone-cap em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}


/* ════════════════════════════════════════════════════════════════
 *  CASE 01 · 75 HARD TOGETHER · CONCRETE THEME
 * ════════════════════════════════════════════════════════════════ */

.case-hard { background: var(--paper); }

.scrn-hard {
  background: #0A0A0C;
  color: #F2E9D2;
  font-size: 9.5px;
  display: flex;
  flex-direction: column;
  padding: 38px 14px 8px;
  gap: 0;
}

/* status bar */
.hd-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-disp);
  font-size: 9.5px;
  font-weight: 600;
  padding: 4px 6px;
}
.hd-status-r { display: inline-flex; align-items: center; gap: 3px; }
.hd-sig, .hd-wifi, .hd-batt {
  display: inline-block;
  height: 8px;
  background: #F2E9D2;
}
.hd-sig  { width: 12px; clip-path: polygon(0 70%, 25% 50%, 50% 30%, 75% 15%, 100% 0, 100% 100%, 0 100%); }
.hd-wifi { width: 11px; clip-path: polygon(50% 0, 100% 50%, 75% 50%, 50% 100%, 25% 50%, 0 50%); }
.hd-batt { width: 18px; border-radius: 2px; border: 1px solid #F2E9D2; height: 9px; background: transparent; position: relative; }
.hd-batt::after { content: ''; position: absolute; inset: 1px 4px 1px 1px; background: #F2E9D2; }

/* top tag row */
.hd-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
  padding: 0 4px;
}
.hd-tag {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.14em;
  color: var(--fire);
}
.hd-avatars { display: inline-flex; gap: -4px; }
.hd-avatars .ha {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  font-family: var(--f-mono);
  font-size: 7px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0;
  margin-left: -4px;
  border: 1.5px solid #0A0A0C;
}
.ha-1 { background: var(--fire); }
.ha-2 { background: #F2C94C; }
.ha-3 { background: #88E083; }

.hd-day {
  margin-top: 6px;
  padding: 0 4px;
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.hd-big {
  padding: 0 4px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  margin-top: 0;
}
.hd-big-num {
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: 70px;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: #F2E9D2;
}
.hd-big-meta {
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  padding-bottom: 8px;
  color: rgba(242,233,210,0.6);
}
.hd-big-pct { color: var(--fire); }

.hd-progress {
  height: 2px;
  background: rgba(242,233,210,0.12);
  position: relative;
  overflow: hidden;
  margin: 6px 4px 0;
}
.hd-progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--fire);
}
.hd-progress-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: rgba(242,233,210,0.5);
  margin: 4px 4px 0;
}

.hd-sub {
  margin: 10px 4px 6px;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(242,233,210,0.55);
}

.hd-tasks {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px;
}
.hd-tasks li {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 8px;
  align-items: center;
  background: rgba(242,233,210,0.04);
  padding: 6px 8px;
  border-radius: 2px;
  position: relative;
}
.hd-tasks li.done { background: rgba(255, 90, 31, 0.07); }
.cbx {
  width: 12px; height: 12px;
  border: 1px solid rgba(242,233,210,0.4);
  display: inline-block;
  border-radius: 2px;
}
.cbx-on {
  background: var(--fire);
  border-color: var(--fire);
  color: var(--ink);
  font-size: 9px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.hd-tasks li strong {
  display: block;
  font-family: var(--f-body);
  font-size: 9.5px;
  font-weight: 700;
  color: #F2E9D2;
  letter-spacing: -0.01em;
}
.hd-tasks li small {
  display: block;
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  color: rgba(242,233,210,0.55);
  margin-top: 1px;
}
.hd-flag {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--fire);
  border-radius: 50%;
}

.hd-tabs {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(242,233,210,0.12);
  padding: 8px 4px 0;
}
.hd-tab {
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.16em;
  text-align: center;
  color: rgba(242,233,210,0.4);
}
.hd-tab.on {
  color: var(--fire);
  border-bottom: 1.5px solid var(--fire);
  padding-bottom: 6px;
}

/* Group feed */
.hd-gh {
  margin-top: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 4px;
}
.hd-gh-l { display: inline-flex; align-items: center; gap: 6px; flex: 1; }
.hd-gh-icn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--fire);
  color: var(--ink);
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 9px;
  border-radius: 3px;
}
.hd-gh-l strong { display: block; font-size: 10px; font-weight: 700; }
.hd-gh-l small { display: block; font-family: var(--f-mono); font-size: 7px; letter-spacing: 0.1em; color: rgba(242,233,210,0.55); }
.hd-gh-plus {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border: 1px solid rgba(242,233,210,0.3);
  font-size: 13px; line-height: 1; color: #F2E9D2;
  border-radius: 2px;
}

.hd-gh-tabs {
  display: flex;
  gap: 14px;
  padding: 8px 4px;
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.16em;
  color: rgba(242,233,210,0.45);
}
.hd-gh-tabs .on { color: var(--fire); }

.hd-feed-item {
  background: rgba(242,233,210,0.04);
  padding: 7px 9px;
  margin: 4px 4px 6px;
  border-radius: 2px;
}
.hd-fi-head {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 7px;
  align-items: center;
}
.hd-avtr {
  width: 18px; height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-mono);
  font-size: 6.5px;
  font-weight: 700;
  color: var(--ink);
}
.av-1 { background: #88E083; }
.av-2 { background: var(--fire); }
.av-3 { background: #F2C94C; }
.hd-fi-head span { font-size: 9px; }
.hd-fi-head strong { font-weight: 700; }
.hd-fi-head em { font-style: italic; color: var(--fire); }
.hd-fi-head small {
  display: block;
  font-family: var(--f-mono);
  font-size: 6.5px;
  letter-spacing: 0.1em;
  color: rgba(242,233,210,0.5);
  margin-top: 1px;
}
.hd-fi-time { font-family: var(--f-mono); font-size: 7px; color: rgba(242,233,210,0.5); }
.hd-checks {
  display: flex; gap: 3px;
  margin: 6px 0;
}
.hd-checks span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 100%; height: 16px;
  background: var(--fire);
  color: var(--ink);
  font-weight: 800;
  font-size: 10px;
}
.hd-fi-text {
  font-size: 8.5px;
  line-height: 1.4;
  color: rgba(242,233,210,0.82);
  margin: 4px 0;
}
.hd-fi-reax {
  display: flex; gap: 8px;
  font-family: var(--f-mono);
  font-size: 8px;
  color: rgba(242,233,210,0.6);
}
.hd-fi-vote { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 4px; }
.vote {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  text-align: center;
  padding: 5px;
  border: 1px solid rgba(242,233,210,0.2);
  color: rgba(242,233,210,0.7);
}
.vote-on { background: var(--fire); color: var(--ink); border-color: var(--fire); }

.hd-milestone {
  margin: 6px 4px;
  padding: 7px 9px;
  border-left: 2px solid var(--fire);
}
.hd-ms-tag {
  display: block;
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.18em;
  color: var(--fire);
}
.hd-milestone p {
  font-size: 9.5px;
  font-weight: 600;
  margin-top: 3px;
}
.hd-milestone em { color: var(--fire); font-style: normal; }
.hd-milestone small {
  display: block;
  font-family: var(--f-mono);
  font-size: 6.5px;
  letter-spacing: 0.12em;
  color: rgba(242,233,210,0.5);
  margin-top: 2px;
}

/* Profile */
.hd-pf-top {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: rgba(242,233,210,0.55);
  margin-top: 8px;
  padding: 0 4px;
}
.hd-pf-id {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 10px;
  align-items: center;
  margin: 12px 4px 0;
}
.hd-pf-av {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--fire);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-disp);
  font-size: 11px;
  font-weight: 800;
  color: var(--ink);
}
.hd-pf-id strong { display: block; font-size: 12px; font-weight: 700; }
.hd-pf-id small {
  display: block;
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: rgba(242,233,210,0.55);
}
.hd-pf-arr { color: rgba(242,233,210,0.55); font-size: 11px; }

.hd-pf-bignum {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 10px 4px 0;
  padding-top: 8px;
  border-top: 1px solid rgba(242,233,210,0.12);
}
.hd-pf-bignum span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hd-pf-bignum strong {
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.04em;
  line-height: 1;
}
.hd-pf-bignum span:first-child strong { color: var(--fire); }
.hd-pf-bignum em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 7px;
  letter-spacing: 0.14em;
  color: rgba(242,233,210,0.55);
  margin-top: 2px;
}

.hd-pf-cur {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(242,233,210,0.6);
  margin: 8px 4px 0;
}
.hd-pf-cur .fire { color: var(--fire); }

.hd-heatmap {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 2px;
  margin: 6px 4px;
}
.hm {
  aspect-ratio: 1;
  background: rgba(242,233,210,0.08);
}
.hm.done { background: var(--fire); }
.hm.miss { background: #C8412B; opacity: 0.55; }
.hm.grace { background: #F2C94C; }
.hm.cur { background: rgba(255,90,31,0.4); border: 1px solid var(--fire); }

.hd-pf-legend {
  display: flex; gap: 8px;
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  color: rgba(242,233,210,0.55);
  margin: 4px 4px 0;
}

.hd-pf-rules { margin: 8px 4px 0; }
.hd-pf-rules-h {
  display: block;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: rgba(242,233,210,0.55);
  margin-bottom: 4px;
}
.hd-rr {
  display: grid;
  grid-template-columns: 70px 1fr 26px 28px;
  gap: 6px;
  align-items: center;
  font-size: 7.5px;
  margin-bottom: 3px;
}
.hd-rr > span { color: rgba(242,233,210,0.82); }
.hd-bar {
  height: 3px;
  background: rgba(242,233,210,0.12);
  position: relative;
  overflow: hidden;
}
.hd-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--fire);
}
.hd-pct {
  font-family: var(--f-mono);
  font-size: 7px;
  text-align: right;
  color: var(--fire);
}


/* ════════════════════════════════════════════════════════════════
 *  CASE 02 · VESTATE · DARK GREEN THEME (mobile + web)
 * ════════════════════════════════════════════════════════════════ */

.case-vestate {
  background: var(--paper);
}

.ch-stats-vt .chs-num sup { color: var(--green); }

.cm-vestate {
  grid-template-columns: 0.9fr 0.9fr 1.4fr;
  align-items: end;
  gap: 32px 28px;
}

.scrn-vt {
  background: #07120D;
  color: #E9F4EE;
  font-size: 9.5px;
  display: flex;
  flex-direction: column;
  padding: 38px 0 0;
}

.vt-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-disp);
  font-size: 9.5px;
  font-weight: 600;
  padding: 4px 14px;
}
.vt-status-r { display: inline-flex; align-items: center; gap: 3px; }
.vt-sig, .vt-wifi, .vt-batt {
  display: inline-block;
  height: 8px;
  background: #E9F4EE;
}
.vt-sig  { width: 12px; clip-path: polygon(0 70%, 25% 50%, 50% 30%, 75% 15%, 100% 0, 100% 100%, 0 100%); }
.vt-wifi { width: 11px; clip-path: polygon(50% 0, 100% 50%, 75% 50%, 50% 100%, 25% 50%, 0 50%); }
.vt-batt { width: 18px; border: 1px solid #E9F4EE; height: 9px; background: transparent; position: relative; border-radius: 2px; }
.vt-batt::after { content: ''; position: absolute; inset: 1px 4px 1px 1px; background: #E9F4EE; }

/* Welcome screen */
.vt-hero {
  position: relative;
  height: 360px;
  overflow: hidden;
}
.vt-hero-top {
  display: flex;
  padding: 10px 16px;
  position: relative;
  z-index: 2;
}
.vt-logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.vt-logo i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  background: var(--green);
  color: #07120D;
  font-size: 10px;
  font-weight: 800;
  border-radius: 4px;
}
.vt-logo em { font-style: normal; font-family: var(--f-disp); font-weight: 700; font-size: 12px; letter-spacing: -0.02em; }

.vt-skyline {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.vt-sky-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #1B3D2C 0%, #0E2620 50%, #07120D 100%);
}
.vt-sun {
  position: absolute;
  top: 50px; right: 30px;
  width: 28px; height: 28px;
  background: rgba(255, 165, 80, 0.85);
  border-radius: 50%;
  filter: blur(1px);
  box-shadow: 0 0 30px rgba(255, 165, 80, 0.4);
  z-index: 1;
}
.vt-sky-buildings {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  align-items: flex-end;
  height: 100%;
  z-index: 1;
}
.vts-b {
  display: block;
  background: linear-gradient(180deg, #0a1e16, #050a07);
  border-top: 1px solid rgba(34, 197, 94, 0.18);
  position: relative;
  flex: 1;
}
.vts-b::before {
  content: '';
  position: absolute;
  top: 8px; left: 25%; right: 25%; bottom: 25%;
  background-image:
    radial-gradient(circle, rgba(255, 220, 120, 0.6) 0.5px, transparent 0.5px);
  background-size: 4px 6px;
  opacity: 0.4;
}
.vts-b-1 { height: 32%; }
.vts-b-2 { height: 50%; }
.vts-b-3 { height: 42%; }
.vts-b-4 { height: 72%; }
.vts-b-5 { height: 46%; }
.vts-b-6 { height: 55%; }
.vts-b-7 { height: 38%; }
.vts-burj::after {
  content: '';
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  width: 2px; height: 12px;
  background: #0a1e16;
  border-top: 1px solid var(--green);
}

.vt-hero-text {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 2;
}
.vt-eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.2em;
  color: var(--green-2);
  margin-bottom: 4px;
}
.vt-h {
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: 22px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #fff;
}
.vt-p {
  margin-top: 6px;
  font-size: 8.5px;
  line-height: 1.45;
  color: rgba(233, 244, 238, 0.75);
  max-width: 38ch;
}

.vt-cta {
  background: #07120D;
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.vt-btn {
  display: block;
  width: 100%;
  padding: 10px;
  background: var(--green);
  color: #07120D;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 11px;
  border-radius: 6px;
  letter-spacing: -0.005em;
}
.vt-btn-out {
  display: block;
  width: 100%;
  padding: 10px;
  background: transparent;
  color: #E9F4EE;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 10.5px;
  border: 1px solid rgba(233, 244, 238, 0.3);
  border-radius: 6px;
}
.vt-tos {
  display: block;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.14em;
  color: rgba(233, 244, 238, 0.45);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Property hero screen */
.vt-prop-img {
  position: relative;
  height: 230px;
  overflow: hidden;
}
.vp-back, .vp-icns {
  position: absolute;
  z-index: 5;
  top: 12px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: #fff;
  width: 24px; height: 24px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.vp-back { left: 12px; }
.vp-icns {
  right: 12px;
  display: flex; gap: 6px;
  width: auto;
  background: none;
  backdrop-filter: none;
}
.vp-icns i {
  width: 24px; height: 24px;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
}
.vp-sky {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #1E4E36 0%, #0E2620 60%, transparent 100%),
    linear-gradient(135deg, #38614A 0%, #112B1F 100%);
}
.vp-sky .vt-sun-2 {
  position: absolute;
  top: 30px; right: 24px;
  width: 36px; height: 36px;
  background: rgba(255, 200, 100, 0.7);
  border-radius: 50%;
  filter: blur(3px);
  box-shadow: 0 0 40px rgba(255, 200, 100, 0.4);
}
.vp-b {
  position: absolute;
  bottom: 0;
  background: linear-gradient(180deg, #0d2018, #051008);
  border-top: 1px solid rgba(34, 197, 94, 0.22);
}
.vp-b::before {
  content: '';
  position: absolute;
  top: 4px; left: 20%; right: 20%; bottom: 20%;
  background-image: radial-gradient(circle, rgba(255, 230, 130, 0.7) 0.5px, transparent 0.5px);
  background-size: 5px 7px;
  opacity: 0.5;
}
.vp-b-1 { left: 0;     width: 30%; height: 65%; }
.vp-b-2 { left: 25%;   width: 24%; height: 90%; }
.vp-b-3 { left: 47%;   width: 22%; height: 75%; }
.vp-b-4 { left: 68%;   width: 32%; height: 60%; }

.vt-prop-card {
  background: #0c1a13;
  padding: 14px 14px 12px;
  border-radius: 12px 12px 0 0;
  margin-top: -12px;
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.vt-prop-tags {
  display: flex;
  gap: 5px;
}
.vpt {
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 6px;
  border-radius: 2px;
}
.vpt-grn { background: var(--green); color: #07120D; }
.vpt-out {
  background: transparent;
  color: rgba(233,244,238,0.85);
  border: 1px solid rgba(233,244,238,0.25);
}
.vt-prop-h {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: #fff;
}
.vt-prop-sub {
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: rgba(233,244,238,0.6);
}

.vt-prop-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin: 6px 0;
}
.vt-prop-metrics div { display: flex; flex-direction: column; gap: 2px; }
.vt-prop-metrics strong {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--green);
}
.vt-prop-metrics strong small {
  font-size: 0.55em;
  color: var(--green);
}
.vt-prop-metrics em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 6.5px;
  letter-spacing: 0.1em;
  color: rgba(233,244,238,0.55);
  text-transform: uppercase;
}

.vt-prop-fund { display: flex; flex-direction: column; gap: 4px; }
.vpf-head {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 8px;
  color: rgba(233,244,238,0.7);
}
.vpf-pct { color: var(--green); font-weight: 600; }
.vpf-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}
.vpf-bar i {
  display: block;
  height: 100%;
  width: var(--w);
  background: var(--green);
}
.vpf-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 7.5px;
  color: rgba(233,244,238,0.55);
  letter-spacing: 0.06em;
}

.vt-prop-close {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.08em;
  color: rgba(233,244,238,0.65);
  padding: 6px 8px;
  background: rgba(34,197,94,0.08);
  border-radius: 3px;
  align-self: flex-start;
}
.vpc-dot {
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
}

.vt-prop-cta {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;
  padding-top: 8px;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.vpc-l { display: flex; flex-direction: column; }
.vpc-l small {
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.1em;
  color: rgba(233,244,238,0.55);
  text-transform: uppercase;
}
.vpc-l strong {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: #fff;
}

/* Vestate desktop mockup */
.desktop {
  width: 100%;
  position: relative;
  transition: transform 0.5s var(--ease-out);
  align-self: end;
}
.desktop:hover { transform: translateY(-8px); }

.desktop-frame {
  width: 100%;
  background: #1B1B22;
  border-radius: 10px 10px 4px 4px;
  padding: 0;
  box-shadow:
    0 30px 60px -20px rgba(0,0,0,0.4),
    0 8px 20px -10px rgba(0,0,0,0.25),
    inset 0 0 0 1px rgba(255,255,255,0.06);
  overflow: hidden;
}

.dt-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #1B1B22;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dt-lights { display: inline-flex; gap: 6px; }
.dt-lights i {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: inline-block;
}
.dl-r { background: #FF5F57; }
.dl-y { background: #FEBC2E; }
.dl-g { background: #28C840; }
.dt-url {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2A2A33;
  padding: 5px 12px;
  border-radius: 6px;
  font-family: var(--f-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  min-width: 280px;
  justify-content: center;
}
.dt-lock { color: var(--green); font-style: normal; }
.dt-url em { font-style: normal; }
.dt-bar-r { width: 50px; }

.scrn-vt-dt {
  background: #0A1410;
  color: #E9F4EE;
  display: grid;
  grid-template-columns: 200px 1fr;
  min-height: 460px;
}

.dt-side {
  background: #07120D;
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-right: 1px solid rgba(255,255,255,0.04);
}
.dt-side-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.dt-side-logo i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: var(--green);
  color: #07120D;
  font-size: 12px;
  border-radius: 5px;
  font-style: normal;
}
.dt-side-logo strong {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.018em;
}
.dt-nav { display: flex; flex-direction: column; gap: 3px; }
.dt-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 12.5px;
  color: rgba(233,244,238,0.65);
  cursor: pointer;
  transition: background var(--t-quick), color var(--t-quick);
}
.dt-nav a i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-style: normal;
  font-size: 11px;
  color: rgba(233,244,238,0.55);
}
.dt-nav a:hover, .dt-nav a.on {
  background: rgba(34,197,94,0.08);
  color: #fff;
}
.dt-nav a.on i { color: var(--green); }

.dt-side-foot {
  margin-top: auto;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
}
.dt-av {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  background: var(--green);
  color: #07120D;
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 11px;
  border-radius: 50%;
  font-style: normal;
}
.dt-side-foot strong { display: block; font-size: 12px; }
.dt-side-foot small {
  display: block;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: var(--green);
}

.dt-main {
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.dt-main-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.dt-main-head h4 {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.022em;
  color: #fff;
  margin-bottom: 4px;
}
.dt-main-head small {
  font-size: 12px;
  color: rgba(233,244,238,0.6);
}
.vt-btn-sm {
  padding: 8px 14px;
  font-size: 12px;
  border-radius: 6px;
  width: auto;
}

.dt-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.dts {
  background: #0E1C15;
  border: 1px solid rgba(255,255,255,0.04);
  padding: 14px 16px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dts small {
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.12em;
  color: rgba(233,244,238,0.55);
}
.dts strong {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.025em;
  color: #fff;
}
.dts strong sup {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 0.45em;
  color: var(--green);
  vertical-align: super;
}
.dts em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(233,244,238,0.55);
  margin-top: 2px;
}
.vt-up { color: var(--green) !important; }

.dt-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 12px;
  flex: 1;
}
.dt-card {
  background: #0E1C15;
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 8px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dtc-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dtc-head strong {
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}
.dtc-pill {
  font-family: var(--f-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(233,244,238,0.55);
  padding: 4px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 3px;
}
.dtc-chart {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  align-items: end;
  gap: 8px;
  height: 110px;
  padding-top: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dtc-chart i {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: var(--h);
  background: linear-gradient(180deg, rgba(34,197,94,0.85) 0%, rgba(34,197,94,0.4) 100%);
  border-radius: 3px 3px 0 0;
  transition: background var(--t-quick) var(--ease);
  font-style: normal;
}
.dtc-chart i.on {
  background: linear-gradient(180deg, var(--green) 0%, var(--green-deep) 100%);
}
.dtc-chart i em {
  position: absolute;
  bottom: -16px;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 8.5px;
  color: rgba(233,244,238,0.55);
  text-transform: uppercase;
}
.dtc-footnote {
  font-family: var(--f-mono);
  font-size: 10px;
  color: rgba(233,244,238,0.55);
  margin-top: 8px;
}

.dt-holdings {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dt-holdings li {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
}
.dth-thumb {
  display: inline-block;
  width: 32px; height: 32px;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
.dth-1 { background: linear-gradient(135deg, #4F7B5F, #1B3D2C); }
.dth-2 { background: linear-gradient(135deg, #7B6A4F, #3D2E1B); }
.dth-3 { background: linear-gradient(135deg, #5F7B7B, #1B3D3D); }
.dth-thumb::after {
  content: '';
  position: absolute;
  inset: 6px 5px 4px 5px;
  background: rgba(255,255,255,0.08);
}
.dt-holdings li strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.dt-holdings li small {
  display: block;
  font-family: var(--f-mono);
  font-size: 9.5px;
  color: rgba(233,244,238,0.55);
  margin-top: 1px;
}
.dth-amt {
  text-align: right;
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: -0.012em;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.dth-amt em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 10px;
  font-weight: 500;
}

.phone-cap-dt { margin-top: 22px; }


/* ════════════════════════════════════════════════════════════════
 *  CASE 03 · EZFLOW · GRADIENT THEME
 * ════════════════════════════════════════════════════════════════ */

.case-ezflow { background: var(--paper); }

.case-head-ezflow .ch-title em { color: var(--mag); }
.ch-mag-em em { color: var(--mag) !important; }

.ch-stats-mag .chs-num sup { color: var(--mag); }

.scrn-ez,
.scrn-ez-light {
  font-size: 9.5px;
  display: flex;
  flex-direction: column;
  padding: 0;
}

.scrn-ez {
  background: #fff;
}
.scrn-ez-light {
  background: #FAF7F2;
  color: #1A1419;
  padding: 36px 0 0;
}

/* Onboarding screen */
.ez-status {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 14px;
  font-family: var(--f-disp);
  font-size: 9.5px;
  font-weight: 600;
  color: #fff;
  padding-top: 14px;
  z-index: 4;
}
.ez-status-d { color: #1A1419; }
.ez-status-r { display: inline-flex; align-items: center; gap: 3px; }
.ez-sig, .ez-wifi, .ez-batt {
  display: inline-block;
  height: 8px;
}
.ez-status-d .ez-sig,
.ez-status-d .ez-wifi { background: #1A1419; }
.ez-sig, .ez-wifi { background: #fff; }
.ez-sig  { width: 12px; clip-path: polygon(0 70%, 25% 50%, 50% 30%, 75% 15%, 100% 0, 100% 100%, 0 100%); }
.ez-wifi { width: 11px; clip-path: polygon(50% 0, 100% 50%, 75% 50%, 50% 100%, 25% 50%, 0 50%); }
.ez-batt {
  width: 18px;
  border: 1px solid #fff;
  height: 9px;
  border-radius: 2px;
  position: relative;
}
.ez-status-d .ez-batt { border-color: #1A1419; }
.ez-batt::after { content: ''; position: absolute; inset: 1px 4px 1px 1px; background: #fff; }
.ez-status-d .ez-batt::after { background: #1A1419; }

.ez-grad {
  background: linear-gradient(180deg, #FF7A3D 0%, #E9417A 100%);
  padding: 56px 18px 22px;
  position: relative;
  color: #fff;
  flex: 1;
}
.ez-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  background: rgba(255,255,255,0.96);
  color: #1A1419;
  padding: 6px 12px;
  border-radius: 18px;
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: -0.01em;
}
.ez-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF7A3D, #E9417A);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}
.ez-h {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 26px;
  line-height: 0.95;
  letter-spacing: -0.025em;
  color: #fff;
}
.ez-p {
  margin-top: 8px;
  font-size: 9.5px;
  line-height: 1.45;
  color: rgba(255,255,255,0.88);
  max-width: 30ch;
}
.ez-thumbs {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.ez-t {
  display: block;
  aspect-ratio: 1;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}
.ez-t-1 { background: linear-gradient(135deg, #ffd2b4, #ff8e5e); }
.ez-t-2 { background: linear-gradient(135deg, #ffe1c7, #ffa477); }
.ez-t-3 { background: linear-gradient(135deg, #f7b88a, #d96c4a); }
.ez-t::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(255,255,255,0.5) 0, transparent 30%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,0.15) 0, transparent 40%);
}

.ez-form {
  background: #fff;
  padding: 14px 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ez-form-l {
  font-family: var(--f-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
  color: #6E6770;
  text-transform: uppercase;
}
.ez-input {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #E8E1D1;
  border-radius: 8px;
}
.ez-cc {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 11px;
  color: #1A1419;
}
.ez-num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: #1A1419;
  letter-spacing: 0.04em;
}

.ez-btn {
  padding: 10px;
  background: linear-gradient(90deg, #FF7A3D 0%, #E9417A 100%);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  border-radius: 8px;
}
.ez-btn-out {
  padding: 9px;
  background: #fff;
  color: #1A1419;
  border: 1px solid #E8E1D1;
  border-radius: 8px;
  font-weight: 600;
  font-size: 10.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.ez-g {
  display: inline-block;
  width: 11px; height: 11px;
  background:
    conic-gradient(from 0deg, #4285F4 0deg 90deg, #34A853 90deg 180deg, #FBBC05 180deg 270deg, #EA4335 270deg 360deg);
  border-radius: 50%;
}
.ez-or {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0;
}
.ez-or span {
  font-family: var(--f-mono);
  font-size: 8.5px;
  color: #6E6770;
}
.ez-or::before,
.ez-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #E8E1D1;
}
.ez-tos {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 7.5px;
  letter-spacing: 0.05em;
  color: #6E6770;
  margin-top: 2px;
}

/* For-You feed (light scrn) */
.ez-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px 6px 12px;
  font-size: 8.5px;
  color: #1A1419;
  margin-top: 4px;
}
.ez-bell { font-size: 11px; }

.ez-search {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: #fff;
  border: 1px solid #E8E1D1;
  border-radius: 18px;
  margin: 0 12px;
  font-family: var(--f-body);
  font-size: 8.5px;
  color: #6E6770;
}
.ez-srch-i { font-size: 9.5px; }

.ez-chips {
  display: flex;
  gap: 5px;
  padding: 8px 12px;
  overflow: hidden;
}
.ez-chip {
  padding: 5px 10px;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.05em;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #E8E1D1;
  color: #1A1419;
  white-space: nowrap;
}
.ez-chip-on {
  background: linear-gradient(90deg, #FF7A3D 0%, #E9417A 100%);
  color: #fff;
  border-color: transparent;
}

.ez-promo {
  margin: 4px 12px;
  padding: 13px 14px;
  background: linear-gradient(110deg, #FF7A3D 0%, #E9417A 100%);
  border-radius: 10px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ez-promo::after {
  content: '';
  position: absolute;
  top: 5px; right: 5px; bottom: 5px;
  width: 30%;
  background:
    radial-gradient(circle at 70% 50%, rgba(255,255,255,0.35) 0, transparent 50%);
}
.ez-promo small {
  display: block;
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.85);
  margin-bottom: 4px;
}
.ez-promo strong {
  display: block;
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ez-promo-btn {
  margin-top: 8px;
  background: #fff;
  color: #1A1419;
  font-weight: 700;
  font-size: 9.5px;
  padding: 6px 12px;
  border-radius: 14px;
}
.ez-pg {
  position: absolute;
  bottom: 7px; right: 8px;
  display: flex;
  gap: 3px;
}
.ez-pg i {
  display: inline-block;
  width: 5px; height: 5px;
  background: rgba(255,255,255,0.4);
  border-radius: 50%;
}
.ez-pg i.on { background: #fff; width: 14px; border-radius: 3px; }

.ez-cats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 10px 12px 6px;
}
.ez-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.ec {
  display: inline-block;
  width: 34px; height: 34px;
  border-radius: 50%;
  position: relative;
}
.ec-1 { background: linear-gradient(135deg, #ffd2b4, #ff8e5e); }
.ec-2 { background: linear-gradient(135deg, #ffe1c7, #ffa477); }
.ec-3 { background: linear-gradient(135deg, #ffb88a, #d96c4a); }
.ec-4 { background: linear-gradient(135deg, #ffcca0, #ff8053); }
.ec-5 { background: linear-gradient(135deg, #ffe6c4, #ffa260); }
.ez-cat em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 7.5px;
  color: #1A1419;
  letter-spacing: 0.02em;
}

.ez-trending-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 12px;
  margin-top: 6px;
}
.ez-trending-head strong {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 11px;
  color: #1A1419;
}
.ez-see {
  font-family: var(--f-mono);
  font-size: 8px;
  color: var(--mag);
  letter-spacing: 0.06em;
}

.ez-prod-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 4px 12px;
}
.ez-prod {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.ez-prod-img {
  aspect-ratio: 1;
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.ez-prod-img-1 { background: linear-gradient(135deg, #ffd2b4, #f08c5d); }
.ez-prod-img-2 { background: linear-gradient(135deg, #f8b88f, #e07b5a); }
.ez-prod-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 35% 40%, rgba(255,255,255,0.6) 0, transparent 35%),
    radial-gradient(circle at 70% 65%, rgba(0,0,0,0.2) 0, transparent 45%);
}
.ez-moq {
  position: absolute;
  top: 5px; left: 5px;
  background: rgba(255,255,255,0.92);
  color: #1A1419;
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.06em;
  padding: 2px 5px;
  border-radius: 3px;
  z-index: 2;
}
.ez-prod p {
  font-size: 8.5px;
  font-weight: 500;
  color: #1A1419;
  line-height: 1.25;
}
.ez-prod strong {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 11px;
  color: #1A1419;
  letter-spacing: -0.01em;
}
.ez-prod strong small {
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 0.65em;
  color: #6E6770;
}
.ez-prod em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 7.5px;
  color: #6E6770;
}

.ez-tabs {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #EFE9DD;
  background: #fff;
  padding: 6px 0;
}
.ez-tabs span {
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-align: center;
  color: #6E6770;
}
.ez-tabs span.on { color: var(--mag); font-weight: 600; }

/* Product detail */
.ez-pd-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 12px;
  font-size: 8.5px;
  margin-top: 4px;
}
.ez-pd-cart {
  position: relative;
}
.ez-pd-badge {
  position: absolute;
  top: -4px; right: -6px;
  width: 12px; height: 12px;
  background: var(--mag);
  color: #fff;
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 8px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ez-pd-hero {
  position: relative;
  margin: 4px 12px;
  aspect-ratio: 1.3;
  background:
    radial-gradient(circle at 30% 40%, #fff 0, #ffd2b4 35%, #f5a47a 80%);
  border-radius: 12px;
  overflow: hidden;
}
.ez-pd-hero::before {
  content: '';
  position: absolute;
  inset: 25%;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,255,255,0.7) 0, rgba(255,210,180,0.2) 50%, transparent 70%);
  border-radius: 50%;
}
.ez-pd-fav,
.ez-pd-share {
  position: absolute;
  top: 8px;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  z-index: 2;
}
.ez-pd-fav { right: 8px; color: var(--mag); }
.ez-pd-share { right: 38px; color: #1A1419; }

.ez-pd-thumbs {
  display: flex;
  gap: 4px;
  padding: 6px 12px 0;
}
.ez-pd-thumbs span {
  display: inline-block;
  width: 26px; height: 26px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ffd2b4, #f5a47a);
  border: 1.5px solid transparent;
}
.ez-pd-thumbs span.on { border-color: var(--mag); }

.ez-pd-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px 0;
  font-family: var(--f-mono);
  font-size: 8px;
  color: #6E6770;
}
.ez-pd-rating > span:first-child {
  background: #1A1419;
  color: #fff;
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 8px;
}
.ez-pd-stars { color: var(--mag); letter-spacing: -1px; }

.ez-pd-title {
  padding: 4px 12px 0;
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: #1A1419;
}

.ez-pd-sup {
  padding: 4px 12px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  color: #1A1419;
}
.ez-pd-supicon {
  width: 16px; height: 16px;
  background: linear-gradient(135deg, #FF7A3D, #E9417A);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 8px;
}
.ez-pd-verif {
  color: #16a34a;
  font-size: 10px;
}

.ez-pd-price {
  padding: 6px 12px 0;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
}
.ez-pd-price strong {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 18px;
  color: #1A1419;
  letter-spacing: -0.025em;
}
.ez-pd-price strong small { font-family: var(--f-body); font-size: 0.55em; color: #6E6770; font-weight: 400; }
.ez-pd-old {
  font-size: 10px;
  color: #9A939F;
  text-decoration: line-through;
}
.ez-pd-off {
  font-family: var(--f-mono);
  font-size: 9px;
  color: #16a34a;
  font-weight: 600;
}

.ez-pd-meta-row {
  padding: 6px 12px 0;
  display: flex;
  gap: 5px;
}
.ez-pd-pill {
  background: #1A1419;
  color: #fff;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.06em;
  padding: 3px 7px;
  border-radius: 12px;
}
.ez-pd-pill-sm { background: #FAF7F2; color: #1A1419; border: 1px solid #E8E1D1; }

.ez-pd-asst { padding: 6px 12px 0; }
.ez-pd-asst small { display: block; font-family: var(--f-mono); font-size: 8px; color: #6E6770; margin-bottom: 4px; }
.ez-pd-colors { display: flex; gap: 4px; }
.ez-pd-colors span {
  display: inline-block;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--c);
  border: 1.5px solid #fff;
  box-shadow: 0 0 0 1px #E8E1D1;
}

.ez-pd-cta {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 6px;
  padding: 10px 12px;
  background: #fff;
  border-top: 1px solid #EFE9DD;
}
.ez-btn-grad {
  padding: 9px;
  background: linear-gradient(90deg, #FF7A3D 0%, #E9417A 100%);
  color: #fff;
  font-weight: 700;
  font-size: 11px;
  border-radius: 22px;
}


/* ════════════════════════════════════════════════════════════════
 *  CASE 04 · CONNECT · DARK TEAL THEME
 * ════════════════════════════════════════════════════════════════ */

.case-connect {
  background: var(--ink);
  color: var(--paper);
}
.case-connect::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 10%, rgba(95,217,192,0.05) 0%, transparent 50%);
  pointer-events: none;
}
.case-connect .container { position: relative; z-index: 1; }
.ch-meta-cn .ch-tag { color: var(--paper); border-color: rgba(255,255,255,0.25); }
.ch-title-cn { color: var(--paper); }
.ch-title-cn em { color: var(--teal); }
.ch-tagline-cn { color: rgba(239, 233, 221, 0.78); }
.ch-stats-cn { border-color: rgba(255,255,255,0.25); }
.ch-stats-cn .chs { border-color: rgba(255,255,255,0.1); }
.ch-stats-cn .chs-num { color: var(--paper); }
.ch-stats-cn .chs-num sup { color: var(--teal); }
.ch-stats-cn .chs-lbl { color: rgba(239, 233, 221, 0.55); }

/* Connect dark surface — readability overrides for case-detail block */
.case-connect .case-detail { border-top-color: rgba(255, 255, 255, 0.28); }
.case-connect .cd-bullets li { color: rgba(239, 233, 221, 0.85); }
.case-connect .cd-tech dt {
  color: var(--teal);
  border-top-color: rgba(255, 255, 255, 0.18);
}
.case-connect .cd-tech dd {
  color: rgba(239, 233, 221, 0.85);
  border-top-color: rgba(255, 255, 255, 0.18);
}
.case-connect .case-mockups::before {
  border-top-color: rgba(255, 255, 255, 0.18);
  border-bottom-color: rgba(255, 255, 255, 0.18);
}
.case-connect .phone-cap span { color: var(--paper); }
.case-connect .phone-cap em { color: rgba(239, 233, 221, 0.6); }

.phone-frame-cn {
  box-shadow:
    0 30px 60px -16px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(95, 217, 192, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.scrn-cn {
  background: #050A09;
  color: #E2F0EC;
  font-size: 9.5px;
  display: flex;
  flex-direction: column;
  padding: 38px 14px 12px;
  gap: 8px;
}

.cn-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--f-disp);
  font-size: 9.5px;
  font-weight: 600;
  padding: 4px 4px;
}
.cn-status-r { display: inline-flex; align-items: center; gap: 3px; }
.cn-sig, .cn-wifi, .cn-batt {
  display: inline-block;
  height: 8px;
  background: #E2F0EC;
}
.cn-sig  { width: 12px; clip-path: polygon(0 70%, 25% 50%, 50% 30%, 75% 15%, 100% 0, 100% 100%, 0 100%); }
.cn-wifi { width: 11px; clip-path: polygon(50% 0, 100% 50%, 75% 50%, 50% 100%, 25% 50%, 0 50%); }
.cn-batt { width: 18px; border: 1px solid #E2F0EC; height: 9px; background: transparent; border-radius: 2px; position: relative; }
.cn-batt::after { content: ''; position: absolute; inset: 1px 4px 1px 1px; background: #E2F0EC; }

.cn-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 6px;
}
.cn-top-l { display: inline-flex; align-items: center; gap: 8px; }
.cn-c {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px; height: 20px;
  background: var(--teal);
  color: #050A09;
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: 12px;
  border-radius: 5px;
}
.cn-top strong {
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: -0.018em;
}
.cn-top-r {
  font-family: var(--f-disp);
  font-size: 11px;
  color: rgba(226, 240, 236, 0.55);
}
.cn-back {
  font-size: 16px;
  color: var(--teal);
}

.cn-visible {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 6px;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.08em;
  color: rgba(226, 240, 236, 0.7);
}
.cn-dot {
  width: 6px; height: 6px;
  background: var(--teal);
  border-radius: 50%;
}

/* radar */
.cn-radar {
  position: relative;
  aspect-ratio: 1;
  margin: 8px auto;
  max-width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cn-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(95, 217, 192, 0.2);
  border-radius: 50%;
}
.cn-r-2 { inset: 20%; }
.cn-r-3 { inset: 40%; }
.cn-you {
  width: 44px; height: 44px;
  background: var(--teal);
  color: #050A09;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 11px;
  z-index: 2;
  box-shadow: 0 0 20px rgba(95, 217, 192, 0.6);
}
.cn-peer {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.cn-peer i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--paper);
  font-family: var(--f-disp);
  font-weight: 600;
  font-size: 9px;
  border-radius: 50%;
  font-style: normal;
}
.cn-peer em {
  font-style: normal;
  font-family: var(--f-mono);
  font-size: 7px;
  letter-spacing: 0.05em;
  color: rgba(226, 240, 236, 0.6);
  white-space: nowrap;
}
.cn-peer-1 { top: 6%; right: 14%; }
.cn-peer-2 { bottom: 30%; left: 0%; }
.cn-peer-3 { bottom: 4%; right: 22%; }

.cn-pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(95, 217, 192, 0.4);
  width: 70%; height: 70%;
  animation: cnPulse 3s ease-out infinite;
}
.cn-pulse-2 { animation-delay: 1.5s; }
@keyframes cnPulse {
  from { transform: scale(0.2); opacity: 0.8; }
  to   { transform: scale(1.4); opacity: 0; }
}

.cn-count {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.18em;
  color: rgba(226, 240, 236, 0.6);
  margin-top: 4px;
}

.cn-cta {
  display: grid;
  grid-template-columns: 1fr 32px;
  gap: 6px;
  margin-top: auto;
  padding: 8px 4px 4px;
}
.cn-btn {
  padding: 10px;
  background: var(--teal);
  color: #050A09;
  font-weight: 700;
  font-size: 11px;
  border-radius: 8px;
}
.cn-btn-sq {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--paper);
  font-size: 12px;
  border-radius: 8px;
}

/* Sending screen */
.cn-prog-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 4px;
  max-width: 140px;
  aspect-ratio: 1;
}
.cn-prog { width: 100%; height: 100%; }
.cn-prog-txt {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.cn-prog-txt strong {
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: 30px;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
}
.cn-prog-txt strong small {
  font-family: var(--f-mono);
  font-weight: 600;
  font-size: 0.5em;
  color: var(--teal);
}
.cn-prog-txt em {
  font-family: var(--f-mono);
  font-style: normal;
  font-size: 9px;
  color: rgba(226,240,236,0.6);
  letter-spacing: 0.08em;
}

.cn-prog-meta {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 9px;
  color: rgba(226,240,236,0.6);
  letter-spacing: 0.08em;
}
.cn-teal { color: var(--teal); }
.cn-mute { color: rgba(226,240,236,0.4); }

.cn-files {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px 0 0;
}
.cn-files li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  position: relative;
}
.cn-file-name {
  font-size: 9px;
  color: var(--paper);
}
.cn-file-state {
  font-family: var(--f-mono);
  font-size: 8px;
}
.cn-bar {
  grid-column: 1 / -1;
  height: 2px;
  background: rgba(255,255,255,0.08);
  margin-top: 4px;
  position: relative;
  overflow: hidden;
}
.cn-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--teal);
}
.cn-cancel {
  margin-top: auto;
  padding: 10px;
  background: rgba(232, 73, 73, 0.12);
  color: #ff8e8e;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 11px;
  border-radius: 8px;
  border: 1px solid rgba(232, 73, 73, 0.2);
}

/* Audio screen */
.cn-album {
  margin: 4px auto;
  width: 100%;
  display: flex;
  justify-content: center;
}
.cn-album-art {
  width: 130px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #1F5446 0%, #2EA38D 60%, #5FD9C0 100%);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.cn-aa-stripe {
  position: absolute;
  background: rgba(255,255,255,0.18);
  width: 100%;
  height: 18px;
  transform: rotate(-25deg);
  top: 30%;
  left: -10%;
}
.cn-aa-stripe-2 { top: 50%; height: 12px; background: rgba(255,255,255,0.12); }
.cn-aa-stripe-3 { top: 68%; height: 10px; background: rgba(0,0,0,0.12); }

.cn-track {
  text-align: left;
  padding: 0 6px;
}
.cn-track strong {
  display: block;
  font-family: var(--f-disp);
  font-weight: 700;
  font-size: 13px;
  color: #fff;
  letter-spacing: -0.018em;
}
.cn-track small {
  display: block;
  font-family: var(--f-mono);
  font-size: 8.5px;
  color: rgba(226,240,236,0.6);
  margin-top: 1px;
}

.cn-eq {
  display: grid;
  grid-template-columns: repeat(18, 1fr);
  align-items: end;
  gap: 2px;
  height: 32px;
  padding: 2px 6px 0;
}
.cn-eq i {
  display: block;
  background: var(--teal);
  height: var(--h);
  width: 100%;
  border-radius: 1px 1px 0 0;
}

.cn-time {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 6px;
  align-items: center;
  padding: 2px 6px;
  font-family: var(--f-mono);
  font-size: 8px;
  color: rgba(226,240,236,0.7);
}
.cn-time-bar {
  height: 2px;
  background: rgba(255,255,255,0.12);
  position: relative;
  border-radius: 1px;
  overflow: hidden;
}
.cn-time-bar i {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--w);
  background: var(--teal);
}

.cn-stream-l {
  display: block;
  font-family: var(--f-mono);
  font-size: 8px;
  letter-spacing: 0.16em;
  color: rgba(226,240,236,0.55);
  padding: 4px 6px 0;
}

.cn-stream-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 4px 4px;
}
.cn-stream {
  display: grid;
  grid-template-columns: 22px 1fr auto;
  gap: 6px;
  align-items: center;
  padding: 6px 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 6px;
}
.cn-stream.on {
  background: rgba(95, 217, 192, 0.12);
  border: 1px solid rgba(95, 217, 192, 0.3);
}
.cn-spk {
  width: 22px; height: 22px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  color: var(--teal);
}
.cn-stream.on .cn-spk { background: var(--teal); color: #050A09; }
.cn-stream strong {
  display: block;
  font-size: 10px;
  color: var(--paper);
}
.cn-stream small {
  display: block;
  font-family: var(--f-mono);
  font-size: 8px;
  color: rgba(226,240,236,0.55);
}
.cn-stream.on small { color: var(--teal); }
.cn-check {
  color: var(--teal);
  font-size: 11px;
}


/* ── 12 · process ──────────────────────────────────────────────── */
.process {
  padding: 140px 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
}
.process::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 90%, rgba(255,90,31,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.process .container { position: relative; z-index: 1; }
.process .section-num { color: var(--paper); border-color: rgba(255,255,255,0.4); }
.process .section-title { color: var(--paper); }
.process .section-title em { color: var(--fire); }
.process .section-lede { color: rgba(239, 233, 221, 0.7); }

.process-rail {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid rgba(255,255,255,0.18);
  border-left: 1px solid rgba(255,255,255,0.18);
}

.pr-step {
  border-right: 1px solid rgba(255,255,255,0.18);
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 28px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  isolation: isolate;
  transition: background 0.4s var(--ease);
}
.pr-step::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--fire);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.pr-step:hover::before { transform: scaleY(1); }
.pr-step:hover { color: var(--ink); }
.pr-step:hover .pr-num { background: var(--ink); color: var(--fire); }
.pr-step:hover .pr-when { color: var(--ink); }
.pr-step:hover p { color: rgba(14,14,17,0.78); }
.pr-step:hover .pr-out li { border-color: rgba(14,14,17,0.3); color: var(--ink); }

.pr-step header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.pr-num {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 11px;
  padding: 4px 7px;
  background: var(--fire);
  color: var(--ink);
  letter-spacing: 0.04em;
  transition: background var(--t-quick), color var(--t-quick);
}
.pr-when {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: rgba(239, 233, 221, 0.6);
  transition: color var(--t-quick);
}
.pr-flag {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  padding: 3px 6px;
  background: var(--fire);
  color: var(--ink);
}
.pr-step-feature .pr-num { background: var(--paper); color: var(--ink); }

.pr-step h3 {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 1.65rem;
  line-height: 1;
  letter-spacing: -0.024em;
}

.pr-step p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(239, 233, 221, 0.7);
  transition: color var(--t-quick);
}

.pr-out {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: auto;
}
.pr-out li {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: rgba(239, 233, 221, 0.7);
  padding-left: 12px;
  border-left: 2px solid rgba(255,255,255,0.18);
  transition: border-color var(--t-quick), color var(--t-quick);
}


/* ── 13 · why ──────────────────────────────────────────────────── */
.why {
  padding: 140px 0;
  background: var(--paper);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.why-card {
  position: relative;
  background: var(--paper-soft);
  border: 1.5px solid var(--ink);
  padding: 28px 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 240px;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.4s var(--ease);
}
.why-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(100%);
  transition: transform 0.45s var(--ease);
  z-index: -1;
}
.why-card:hover { transform: translateY(-4px); }
.why-card:hover::before { transform: translateY(0); }
.why-card:hover { color: var(--paper); }
.why-card:hover .wc-tick { background: var(--fire); color: var(--ink); border-color: var(--fire); }
.why-card:hover h3 { color: var(--paper); }
.why-card:hover p { color: rgba(239, 233, 221, 0.8); }

.wc-tick {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  font-family: var(--f-edit);
  font-style: italic;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  transition: background var(--t-quick), color var(--t-quick), border-color var(--t-quick);
}

.why-card h3 {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 1.55rem;
  letter-spacing: -0.022em;
  line-height: 1;
  color: var(--ink);
  transition: color var(--t-quick);
}

.why-card p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: var(--ink-soft);
  transition: color var(--t-quick);
}


/* ── 14 · cta ──────────────────────────────────────────────────── */
.cta {
  background: var(--ink);
  color: var(--paper);
  padding: 140px 0 130px;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(255,90,31,0.10) 0%, transparent 50%);
}
.cta .container { position: relative; z-index: 1; }

.cta-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: start;
}

.cta-l { padding-right: 32px; }

.cta-title {
  margin-top: 30px;
  font-family: var(--f-disp);
  font-weight: 900;
  font-size: clamp(2.4rem, 5.2vw, 4.6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
  color: var(--paper);
}
.cta-title em {
  font-family: var(--f-edit);
  font-weight: 500;
  font-style: italic;
  color: var(--fire);
}

.cta-lede {
  margin-top: 28px;
  font-size: 1.08rem;
  color: rgba(239, 233, 221, 0.78);
  line-height: 1.6;
  max-width: 50ch;
}

.cta-points {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cta-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(239, 233, 221, 0.85);
  text-transform: uppercase;
}
.cta-points .fire-square { transform: translateY(0); }

/* form */
.cta-form {
  background: var(--paper-soft);
  color: var(--ink);
  padding: 32px;
  border: 1.5px solid var(--paper);
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}
.cta-form::before {
  content: '';
  position: absolute;
  top: -8px; left: -8px;
  width: 14px; height: 14px;
  border-top: 1.5px solid var(--fire);
  border-left: 1.5px solid var(--fire);
}
.cta-form::after {
  content: '';
  position: absolute;
  bottom: -8px; right: -8px;
  width: 14px; height: 14px;
  border-bottom: 1.5px solid var(--fire);
  border-right: 1.5px solid var(--fire);
}

.cf-row { display: flex; flex-direction: column; gap: 8px; }
.cf-row label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cf-lab {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 10px;
  padding: 3px 6px;
  background: var(--ink);
  color: var(--fire);
}

.cf-row input,
.cf-row textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--paper);
  border: 1.5px solid var(--line-strong);
  font-size: 0.98rem;
  color: var(--ink);
  border-radius: 0;
  transition: border-color var(--t-quick) var(--ease), background var(--t-quick) var(--ease);
  font-family: var(--f-body);
}
.cf-row input::placeholder,
.cf-row textarea::placeholder { color: var(--ink-faint); }
.cf-row input:focus,
.cf-row textarea:focus { border-color: var(--fire); background: #fff; }
.cf-row textarea { resize: vertical; min-height: 100px; }

.cf-row-split { flex-direction: row; gap: 14px; }
.cf-row-split > div { flex: 1; display: flex; flex-direction: column; gap: 8px; }

.cf-submit {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 16px;
  background: var(--ink);
  color: var(--fire);
  font-family: var(--f-mono);
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background var(--t-quick) var(--ease), color var(--t-quick) var(--ease);
}
.cf-submit svg { width: 16px; height: 16px; transition: transform var(--t-quick) var(--ease); }
.cf-submit:hover { background: var(--fire); color: var(--ink); }
.cf-submit:hover svg { transform: translateX(5px); }

.cf-foot {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-mute);
}
.cf-foot a { color: var(--fire); }


/* ── 15 · footer ───────────────────────────────────────────────── */
.foot {
  background: var(--ink);
  color: rgba(239, 233, 221, 0.6);
  padding: 80px 0 40px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.ft-brand { display: flex; flex-direction: column; gap: 14px; max-width: 360px; }
.ft-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: var(--fire);
  color: var(--ink);
  border-radius: 3px;
  flex-shrink: 0;
  overflow: hidden;
}
.ft-mark .logo-mark {
  display: block;
  width: 100%;
  height: 100%;
}
.ft-word {
  font-family: var(--f-disp);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -0.022em;
  color: var(--paper);
  line-height: 1;
}
.ft-brand small {
  font-size: 0.92rem;
  color: rgba(239, 233, 221, 0.55);
  line-height: 1.5;
  margin-top: 4px;
}

.ft-col { display: flex; flex-direction: column; gap: 8px; }
.ft-h {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding-bottom: 8px;
}
.ft-col a {
  font-size: 0.95rem;
  color: rgba(239, 233, 221, 0.7);
  transition: color var(--t-quick) var(--ease);
}
.ft-col a:hover { color: var(--fire); }

.ft-rule {
  grid-column: 1 / -1;
  height: 1px;
  background: rgba(255,255,255,0.12);
  margin: 40px 0 16px;
}

.ft-meta {
  grid-column: 1 / 3;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(239, 233, 221, 0.45);
}
.ft-meta-r {
  grid-column: 3 / 5;
  text-align: right;
}


/* ── 16 · scroll reveal motion ─────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* staggered headlines */
.hero-headline .line.reveal,
.ch-title .line.reveal {
  display: block;
  overflow: hidden;
  opacity: 1;
  transform: none;
  transition: none;
}
.hero-headline .line.reveal em,
.hero-headline .line.reveal,
.ch-title .line.reveal em,
.ch-title .line.reveal {
  display: block;
}
.hero-headline .line {
  transform: translateY(110%);
  transition: transform 1.1s var(--ease-out);
  opacity: 1;
}
.hero-headline .line.in-view { transform: translateY(0); }
.hero-headline .line:nth-child(1) { transition-delay: 0.1s; }
.hero-headline .line:nth-child(2) { transition-delay: 0.22s; }
.hero-headline .line:nth-child(3) { transition-delay: 0.34s; }

.ch-title .line {
  transform: translateY(110%);
  transition: transform 1.0s var(--ease-out);
  opacity: 1;
}
.ch-title .line.in-view { transform: translateY(0); }
.ch-title .line:nth-child(1) { transition-delay: 0.05s; }
.ch-title .line:nth-child(2) { transition-delay: 0.17s; }
.ch-title .line:nth-child(3) { transition-delay: 0.29s; }

.stat.reveal:nth-child(1) { transition-delay: 0.05s; }
.stat.reveal:nth-child(2) { transition-delay: 0.15s; }
.stat.reveal:nth-child(3) { transition-delay: 0.25s; }
.stat.reveal:nth-child(4) { transition-delay: 0.35s; }

.cap-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.cap-card.reveal:nth-child(2) { transition-delay: 0.12s; }
.cap-card.reveal:nth-child(3) { transition-delay: 0.19s; }
.cap-card.reveal:nth-child(4) { transition-delay: 0.26s; }
.cap-card.reveal:nth-child(5) { transition-delay: 0.33s; }
.cap-card.reveal:nth-child(6) { transition-delay: 0.40s; }

.case-mockups .phone.reveal:nth-child(1),
.case-mockups .desktop.reveal:nth-child(1) { transition-delay: 0.05s; }
.case-mockups .phone.reveal:nth-child(2),
.case-mockups .desktop.reveal:nth-child(2) { transition-delay: 0.18s; }
.case-mockups .phone.reveal:nth-child(3),
.case-mockups .desktop.reveal:nth-child(3) { transition-delay: 0.31s; }

.chs.reveal:nth-child(1) { transition-delay: 0.05s; }
.chs.reveal:nth-child(2) { transition-delay: 0.13s; }
.chs.reveal:nth-child(3) { transition-delay: 0.21s; }
.chs.reveal:nth-child(4) { transition-delay: 0.29s; }

.pr-step.reveal:nth-child(1) { transition-delay: 0.05s; }
.pr-step.reveal:nth-child(2) { transition-delay: 0.13s; }
.pr-step.reveal:nth-child(3) { transition-delay: 0.21s; }
.pr-step.reveal:nth-child(4) { transition-delay: 0.29s; }
.pr-step.reveal:nth-child(5) { transition-delay: 0.37s; }

.why-card.reveal:nth-child(1) { transition-delay: 0.05s; }
.why-card.reveal:nth-child(2) { transition-delay: 0.14s; }
.why-card.reveal:nth-child(3) { transition-delay: 0.23s; }
.why-card.reveal:nth-child(4) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-headline .line, .ch-title .line { transform: none; }
}


/* ── 17 · responsive ───────────────────────────────────────────── */

/* ── ≤ 1280 · compact desktop ──────────────────────────────────── */
@media (max-width: 1280px) {
  :root { --gutter: max(24px, 2vw); }
  .section-head { margin-bottom: 64px; }
  .hero-headline { font-size: clamp(3rem, 8.4vw, 8.4rem); }
  .stat { min-height: 200px; padding: 24px 22px 22px; }
  .cap-card { min-height: 360px; padding: 24px 22px 22px; }
  .case-head { margin-bottom: 80px; }
  .case-mockups { gap: 28px 20px; padding: 48px 0; }
  .cta-grid { gap: 64px; }
  .cta-form { padding: 28px; }
}

/* ── ≤ 1100 · tablet / small laptop ────────────────────────────── */
@media (max-width: 1100px) {
  .hero-headline { grid-column: 1 / -1; }
  .hero-sub      { grid-column: 1 / -1; }
  .hero-panel    { grid-column: 1 / -1; grid-row: auto; align-self: stretch; }

  .cap-grid { grid-template-columns: repeat(6, 1fr); }
  .cap-card { grid-column: span 3; }
  .cap-card-feature { grid-column: span 6; }

  .case-mockups { grid-template-columns: repeat(2, 1fr); }
  .cm-vestate { grid-template-columns: 1fr 1fr; }
  .cm-vestate .desktop { grid-column: 1 / -1; }

  .case-detail { grid-template-columns: 1fr; gap: 40px; }

  .process-rail { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }

  .cta-grid { grid-template-columns: 1fr; gap: 56px; }
  .cta-l { padding-right: 0; }

  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .ft-brand { grid-column: 1 / -1; }
  .ft-meta { grid-column: 1 / -1; }

  .hero-foot { grid-template-columns: auto auto 1fr; }
  .hero-rule { display: none; }
  .hero-scroll { justify-self: end; }

  .manifesto-strip {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 64px;
  }
  .manifesto-sig { text-align: left; }
  .mq-line { align-self: flex-start; }
}

/* ── ≤ 900 · large mobile / portrait tablet ────────────────────── */
@media (max-width: 900px) {
  :root { --gutter: 22px; }
  body { font-size: 15.5px; }

  .nav-list { display: none; }
  .nav { grid-template-columns: auto auto; padding: 14px var(--gutter); }
  .nav.is-scrolled { padding-top: 10px; padding-bottom: 10px; }

  .hero {
    padding: 120px var(--gutter) 56px;
    min-height: auto;
  }
  .hero-headline {
    font-size: clamp(2.8rem, 11vw, 5.4rem);
  }
  .hero-eyebrow { flex-wrap: wrap; gap: 8px; font-size: 10.5px; }
  .hero-sub { font-size: 1rem; }
  .hero-foot { grid-template-columns: 1fr; gap: 14px; }
  .hero-action { width: 100%; justify-content: space-between; }
  .hero-scroll { display: none; }

  .marquee { padding: 20px 0; }
  .marquee-set { font-size: 18px; gap: 22px; padding-right: 22px; }

  .manifesto,
  .capabilities,
  .work-intro,
  .case,
  .process,
  .why,
  .cta { padding-top: 88px; padding-bottom: 88px; }

  .section-title { font-size: clamp(2rem, 6.6vw, 3rem); }
  .section-lede { font-size: 1rem; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat { min-height: 180px; }
  .stat-num { font-size: clamp(2.4rem, 8vw, 3.6rem); }

  .cap-card { grid-column: span 6; }
  .cap-card-feature { grid-column: span 6; }
  .cc-diagram { padding: 14px 12px; }
  .cd-row { gap: 6px; }
  .cd-node { font-size: 10px; padding: 4px 7px; }

  .work-title { font-size: clamp(2.2rem, 8vw, 3.4rem); margin-bottom: 40px; }
  .wi-row {
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto auto;
    gap: 6px 14px;
    padding: 18px 0;
  }
  .wi-num { grid-row: 1 / 2; grid-column: 1; }
  .wi-name { grid-row: 2 / 3; grid-column: 1 / -1; }
  .wi-meta { grid-row: 3 / 4; grid-column: 1 / -1; font-size: 10.5px; }
  .wi-yr,
  .wi-row svg { display: none; }
  .wi-row:hover { padding-left: 14px; }

  .case-head { margin-bottom: 60px; }
  .ch-title { font-size: clamp(2.6rem, 11vw, 5rem); }
  .ch-tagline { font-size: 1rem; }
  .ch-stats { grid-template-columns: repeat(2, 1fr); }
  .chs { padding: 20px 22px; border-bottom: 1px solid var(--line); }
  .chs:nth-child(2n) { border-right: none; }
  .chs:nth-last-child(-n+2) { border-bottom: none; }
  .ch-stats-cn .chs { border-bottom: 1px solid rgba(255,255,255,0.1); }
  .ch-stats-cn .chs:nth-last-child(-n+2) { border-bottom: none; }

  .case-mockups,
  .cm-vestate {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 0;
    margin: 40px 0 56px;
  }
  .phone {
    transform: rotate(0deg) translateY(0) !important;
    margin: 0 auto;
  }
  .phone:hover {
    transform: rotate(0deg) translateY(-8px) !important;
  }

  /* desktop mockup on mobile: stack the sidebar above main */
  .scrn-vt-dt { grid-template-columns: 1fr; min-height: auto; }
  .dt-side {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .dt-side-logo { margin-bottom: 0; }
  .dt-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .dt-nav a { padding: 6px 10px; font-size: 11.5px; }
  .dt-nav a i { display: none; }
  .dt-side-foot {
    margin-top: 0;
    margin-left: auto;
    grid-template-columns: 24px 1fr;
    padding: 6px 10px;
    gap: 8px;
  }
  .dt-av { width: 24px; height: 24px; font-size: 10px; }
  .dt-side-foot strong { font-size: 11px; }
  .dt-side-foot small { font-size: 9px; }
  .dt-main { padding: 20px; gap: 16px; }
  .dt-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .dts { padding: 12px 14px; }
  .dts strong { font-size: 18px; }
  .dt-row { grid-template-columns: 1fr; }
  .dtc-chart { height: 80px; }

  .case-detail { gap: 36px; margin-top: 56px; padding-top: 48px; }
  .cd-tech { grid-template-columns: 92px 1fr; gap: 8px 14px; }
  .cd-tech dt { font-size: 10px; padding-top: 10px; }
  .cd-tech dd { font-size: 0.92rem; padding-top: 10px; }
  .cd-bullets li { font-size: 0.96rem; }

  .process-rail { grid-template-columns: 1fr; }
  .pr-step { padding: 22px 18px; }
  .pr-step h3 { font-size: 1.4rem; }

  .why-card { padding: 22px; min-height: auto; }
  .why-card h3 { font-size: 1.35rem; }

  .cta-title { font-size: clamp(2rem, 8vw, 3rem); }
  .cta-form { padding: 22px; }
  .cf-row-split { flex-direction: column; }

  .foot { padding-top: 60px; padding-bottom: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .ft-word { font-size: 1.5rem; }
  .ft-rule { margin: 28px 0 14px; }
}

/* ── ≤ 600 · phones ────────────────────────────────────────────── */
@media (max-width: 600px) {
  :root { --gutter: 18px; }

  .scanlines { opacity: 0.02; }
  .nav-cta { padding: 9px 14px 9px 14px; font-size: 11px; }
  .nav-word { font-size: 15px; }
  .nav-mark { width: 28px; height: 28px; }

  .hero { padding: 110px var(--gutter) 48px; }
  .hero-headline { font-size: clamp(2.4rem, 13vw, 4rem); letter-spacing: -0.04em; }
  .hero-eyebrow { font-size: 10px; }
  .hero-eyebrow .sep { display: none; }
  .hero-panel { padding: 18px 16px 14px; }
  .hp-list li { grid-template-columns: 40px 1fr; gap: 10px; }
  .hp-list li span { font-size: 16px; }

  .stat-grid { grid-template-columns: 1fr; }

  .cap-card { grid-column: span 6; min-height: 320px; }
  .cap-card h3 { font-size: 1.3rem; }

  .manifesto-quote { font-size: 1.45rem; }

  .work-intro { padding-top: 72px; padding-bottom: 72px; }

  .case { padding-top: 72px; padding-bottom: 72px; }
  .ch-meta { gap: 6px; }
  .ch-tag { font-size: 10px; padding: 5px 10px; }
  .ch-title { font-size: clamp(2.2rem, 13vw, 4rem); }
  .ch-tagline { font-size: 0.96rem; }

  .ch-stats { grid-template-columns: 1fr; }
  .chs { border-right: none; border-bottom: 1px solid var(--line); padding: 18px 20px; }
  .chs:last-child { border-bottom: none; }
  .ch-stats-cn .chs { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .ch-stats-cn .chs:last-child { border-bottom: none; }

  .case-mockups,
  .cm-vestate { padding: 32px 0; margin: 32px 0 48px; gap: 28px; }
  .phone { max-width: 280px; }

  .dt-stats { grid-template-columns: 1fr; }
  .dt-main { padding: 16px; }
  .dt-main-head h4 { font-size: 18px; }
  .dt-side { padding: 10px 12px; }

  .process { padding-top: 72px; padding-bottom: 72px; }
  .pr-step { padding: 20px 16px; }

  .why { padding-top: 72px; padding-bottom: 72px; }

  .cta { padding-top: 72px; padding-bottom: 72px; }
  .cta-title { font-size: clamp(1.8rem, 10vw, 2.4rem); }
  .cta-form { padding: 18px; }
  .cf-row-split { flex-direction: column; }

  .foot-grid { grid-template-columns: 1fr; }
}

/* ── ≤ 380 · very narrow ───────────────────────────────────────── */
@media (max-width: 380px) {
  .hero-headline { font-size: 2rem; }
  .nav-list { display: none; }
  .ch-title { font-size: 2rem; }
  .section-title { font-size: 1.7rem; }
  .phone { max-width: 100%; }
}
