/* ===== Tokens ===== */
:root{
  --ink: #111B24;
  --ink-2: #1c2a36;
  --ink-3: #2c3a48;
  --paper: #FFFFFF;
  --paper-2: #F2F4F7;
  --paper-3: #E4E8EE;
  --yolk: #F9A800;
  --yolk-2: #FFBE2E;
  --yolk-soft: #FFE7B0;
  --line: rgba(17,27,36,.10);
  --line-strong: rgba(17,27,36,.20);
  --muted: #6B7785;
  --sans: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --body: "Geist", ui-sans-serif, system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", monospace;
  --radius: 18px;
  --radius-lg: 28px;
}
*{ box-sizing:border-box }
html,body{ margin:0; background: var(--paper); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; }
body{ overflow-x:hidden; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
::selection{ background: var(--yolk); color: var(--ink); }

.wrap{ max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.mono{ font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.eyebrow{ display:inline-flex; align-items:center; gap:10px; }
.eyebrow .dot{ width:6px; height:6px; border-radius:50%; background: var(--yolk); box-shadow: 0 0 0 4px rgba(245,166,35,.15); }
.display{ font-family: var(--sans); font-weight: 500; letter-spacing:-0.03em; line-height: 0.96; }
.h1{ font-size: clamp(36px, 5.2vw, 76px); }
.h2{ font-size: clamp(28px, 3.4vw, 48px); font-weight: 500; letter-spacing: -.025em; line-height: 1.05; }
.h3{ font-size: clamp(22px, 1.8vw, 28px); font-weight: 500; letter-spacing:-.01em; }
.yolk-text{ color: var(--yolk); }
.stroke{ -webkit-text-stroke: 1.5px var(--ink); color: transparent; }

/* ===== Nav ===== */
.nav{ position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); background: rgba(255,255,255,.82); border-bottom: 1px solid var(--line); }
.nav-inner{ display:flex; align-items:center; justify-content:space-between; height: 80px; }
.brand{ display:flex; align-items:center; gap:10px; font-family: var(--sans); font-weight:600; font-size: 20px; letter-spacing:-.01em; }
.brand-word{ width: 150px; height: auto; object-fit: contain; display:block; }
.nav ul{ display:flex; gap: 36px; margin:0; padding:0; list-style:none; font-size: 14px; color: var(--ink-2); }
.nav ul a:hover{ color: var(--yolk); }
.nav-cta{ display:flex; align-items:center; gap: 12px; }

.btn{ display:inline-flex; align-items:center; gap:10px; height: 44px; padding: 0 18px; border-radius: 999px; font-family: var(--body); font-weight:500; font-size: 14px; cursor:pointer; border:1px solid transparent; transition: transform .15s ease, background .15s ease, color .15s ease; white-space: nowrap; }
.btn-primary{ background: var(--ink); color: var(--paper); }
.btn-primary:hover{ background: var(--yolk); color: var(--ink); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-yolk{ background: var(--yolk); color: var(--ink); }
.btn-yolk:hover{ background: var(--ink); color: var(--paper); }
.btn .arr{ width: 16px; height: 16px; }
.btn:disabled, .btn[disabled]{ opacity: .45; cursor: not-allowed; pointer-events: none; }
.btn:disabled:hover{ background: var(--ink); color: var(--paper); }

/* ===== Hero ===== */
.hero{ position: relative; padding: 36px 0 56px; overflow: hidden; }
.hero-grid{ display:grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.hero h1{ margin: 16px 0 0; }
.hero h1 .row{ display:block; }
.hero h1 .scribble{ position: relative; display:inline-block; }
.hero h1 .scribble::after{
  content:""; position:absolute; left:-4px; right:-4px; bottom: 6%; height: 28%;
  background: var(--yolk); z-index:-1; transform: skewY(-1.5deg);
  border-radius: 4px;
}
.hero-sub{ margin-top: 20px; max-width: 540px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
.hero-ctas{ margin-top: 24px; display:flex; gap: 12px; flex-wrap:wrap; }

/* Catchy chips row */
.hero-chips{ display:flex; flex-wrap:wrap; gap: 8px; list-style:none; padding:0; margin: 22px 0 0; }
.hero-chips li{ display:inline-flex; align-items:center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--line); font-size: 12px; font-family: var(--mono); letter-spacing:.06em; color: var(--ink-2); }
.hero-chips .chip-pip{ width: 6px; height: 6px; border-radius: 50%; background: var(--yolk); box-shadow: 0 0 0 3px rgba(249,168,0,.18); }

/* Rotating headline word */
.rotator{ display: inline-block; position: relative; min-width: 6ch; }
.rotator::after{ content:""; display:inline-block; width: 0; }
.rotator.is-out{ opacity: 0; transform: translateY(-10px); }
.rotator{ transition: opacity .25s ease, transform .25s ease; will-change: opacity, transform; }

.hero-meta{ margin-top: 32px; display:flex; gap: 32px; flex-wrap:wrap; }
.hero-meta .item .num{ font-family: var(--sans); font-size: 28px; font-weight: 500; letter-spacing:-.02em; }
.hero-meta .item .lbl{ font-family: var(--mono); font-size: 10px; letter-spacing:.14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* yolk visual */
.yolk-stage{ position: relative; aspect-ratio: 1/1; width: 100%; max-width: 460px; margin-left: auto; align-self:center; }
.yolk-stage .ring{ position:absolute; inset: 0; border: 1px dashed var(--line-strong); border-radius: 50%; }
.yolk-stage .ring.r2{ inset: 8%; border-style: solid; border-color: var(--line); }
.yolk-stage .ring.r3{ inset: 18%; border-style: dashed; }
.yolk-stage .yolk-core{
  position:absolute; inset: 24%;
  border-radius:50%;
  background: radial-gradient(circle at 35% 30%, #ffd069 0%, var(--yolk) 55%, #d97f00 100%);
  box-shadow: 0 30px 80px rgba(245,166,35,.35), inset -10px -16px 30px rgba(0,0,0,.08);
  animation: bob 6s ease-in-out infinite;
}
.yolk-stage .yolk-core::before{
  content:""; position:absolute; left: 18%; top: 14%; width: 24%; height: 18%;
  background: rgba(255,255,255,.55); border-radius: 50%; filter: blur(2px);
}
@keyframes bob{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }

.yolk-stage .node{ position:absolute; width: 10px; height: 10px; border-radius:50%; background: var(--paper); border: 1.5px solid var(--ink); }
.yolk-stage .node.lg{ width: 14px; height: 14px; background: var(--ink); border-color: var(--ink); }
.yolk-stage svg.lines{ position: absolute; inset: 0; width: 100%; height: 100%; pointer-events:none; }
.yolk-stage .tag{ position:absolute; font-family: var(--mono); font-size: 11px; letter-spacing:.1em; text-transform: uppercase; color: var(--ink-2); background: var(--paper); border:1px solid var(--line); padding: 6px 10px; border-radius: 999px; }
.yolk-stage .tag .pip{ display:inline-block; width:6px; height:6px; border-radius:50%; background: var(--yolk); margin-right:8px; vertical-align: middle; }

/* ===== Strip / marquee ===== */
.strip{ border-top:1px solid var(--line); border-bottom:1px solid var(--line); background: var(--paper-2); overflow:hidden; }
.strip-inner{ display:flex; gap: 56px; padding: 18px 0; animation: marq 40s linear infinite; font-family: var(--mono); font-size: 12px; letter-spacing:.18em; text-transform: uppercase; color: var(--ink-2); white-space:nowrap; }
.strip-inner span{ display:inline-flex; align-items:center; gap: 18px; }
.strip-inner i{ font-style: normal; color: var(--yolk); }
@keyframes marq{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ===== Section header ===== */
.section{ padding: 56px 0; }
.sec-head{ display:grid; grid-template-columns: 1.6fr 1fr; gap: 32px; align-items: end; margin-bottom: 32px; }
.sec-head .h2{ max-width: 16ch; }
.sec-head p{ font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 42ch; }
.sec-tag{ display:flex; gap: 8px; align-items:center; margin-bottom: 18px; }
.sec-tag .bar{ width: 28px; height: 1px; background: var(--ink); }

/* ===== Services bento ===== */
.services{ display:grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.svc{ position:relative; border:1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); padding: 28px; min-height: 320px; display:flex; flex-direction:column; overflow:hidden; transition: transform .2s ease, border-color .2s ease; }
.svc:hover{ border-color: var(--ink); }
.svc .num{ font-family: var(--mono); font-size: 11px; letter-spacing:.16em; color: var(--muted); }
.svc .title{ font-family: var(--sans); font-size: 30px; font-weight: 500; letter-spacing:-.02em; margin: auto 0 8px; }
.svc .desc{ font-size: 15px; line-height:1.5; color: var(--ink-2); max-width: 38ch; }
.svc .footer{ margin-top: 22px; display:flex; align-items:center; justify-content: space-between; }
.svc .chips{ display:flex; gap:6px; flex-wrap:wrap; }
.svc .chip{ font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); padding: 5px 9px; border:1px solid var(--line); border-radius: 999px; background: var(--paper-2); }
.svc .go{ width: 44px; height: 44px; border-radius: 50%; border:1px solid var(--line-strong); display:grid; place-items:center; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.svc:hover .go{ background: var(--yolk); border-color: var(--yolk); }
.svc.big{ grid-column: span 7; }
.svc.small{ grid-column: span 5; }
.svc.third{ grid-column: span 4; }
.svc.dark{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
.svc.dark .num{ color: rgba(250,247,242,.55); }
.svc.dark .desc{ color: rgba(250,247,242,.7); }
.svc.dark .chip{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); color: rgba(250,247,242,.85); }
.svc.dark .go{ border-color: rgba(255,255,255,.25); }
.svc.yolk-bg{ background: var(--yolk); border-color: var(--yolk); }
.svc.yolk-bg .num{ color: rgba(20,24,33,.65); }
.svc.yolk-bg .desc{ color: rgba(20,24,33,.78); }
.svc.yolk-bg .chip{ background: rgba(20,24,33,.06); border-color: rgba(20,24,33,.18); }
.svc .visual{ position:absolute; right:-10px; top:-10px; opacity:.12; }
.svc.dark .visual, .svc.yolk-bg .visual{ opacity:.16; }

/* Service card head row */
.svc-head{ display:flex; align-items:center; justify-content:space-between; gap: 12px; }
.svc-badge{ display:inline-flex; align-items:center; gap: 6px; font-family: var(--mono); font-size: 10px; letter-spacing:.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
.svc-badge .dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--yolk); box-shadow: 0 0 0 3px rgba(249,168,0,.18); animation: pulseDot 1.8s ease-out infinite; }
.svc-badge.light{ background: var(--paper-2); border-color: var(--line); color: var(--ink-2); }
@keyframes pulseDot{ 0%,100%{ box-shadow: 0 0 0 3px rgba(249,168,0,.18); } 50%{ box-shadow: 0 0 0 7px rgba(249,168,0,.04); } }

/* === AI card === */
.ai-stack{ position: relative; margin-top: 22px; flex: 1; min-height: 200px; border-radius: 16px; padding: 18px; background: linear-gradient(180deg, rgba(255,255,255,.03), transparent); border: 1px solid rgba(255,255,255,.08); overflow:hidden; display:flex; flex-direction:column; gap: 18px; }
.ai-grid{ position:absolute; inset:0; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(circle at 80% 60%, #000 30%, transparent 80%); pointer-events: none; }
.ai-orb{ position:absolute; right: -30px; bottom: -30px; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFD069 0%, var(--yolk) 55%, #C97700 100%); box-shadow: 0 16px 60px rgba(249,168,0,.4); filter: blur(.5px); animation: orbBob 6s ease-in-out infinite; }
@keyframes orbBob{ 0%,100%{ transform: translate(0, 0) scale(1); } 50%{ transform: translate(-6px, -10px) scale(1.04); } }

.ai-flow{ position: relative; display:flex; align-items:center; gap: 0; z-index:1; }
.ai-step{ display:flex; flex-direction:column; align-items:center; gap: 6px; min-width: 60px; }
.ai-step-dot{ width: 12px; height: 12px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.3); transition: background .3s, border-color .3s, box-shadow .3s; }
.ai-step.active .ai-step-dot{ background: var(--yolk); border-color: var(--yolk); box-shadow: 0 0 0 5px rgba(249,168,0,.18); }
.ai-step-label{ font-family: var(--mono); font-size: 10px; letter-spacing:.12em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ai-step.active .ai-step-label{ color: var(--yolk); }
.ai-line{ flex:1; height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(255,255,255,.06)); margin-top: -16px; }

.ai-readout{ position: relative; z-index:1; display:flex; flex-direction:column; gap: 6px; font-family: var(--mono); font-size: 11px; }
.ai-readout-row{ display:flex; justify-content: space-between; align-items: center; padding: 6px 10px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; }
.ai-key{ color: rgba(255,255,255,.5); letter-spacing:.08em; text-transform: uppercase; font-size: 9.5px; }
.ai-val{ color: rgba(255,255,255,.92); }
.ai-val-yolk{ color: var(--yolk); }
.ai-spark{ color: var(--yolk); margin-left: 6px; font-size: 10px; }

/* === SaaS card === */
.saas-card{ background: var(--paper); }
.saas-panel{ margin-top: 22px; flex:1; border-radius: 14px; border:1px solid var(--line); background: var(--paper); padding: 16px; display:flex; flex-direction:column; gap: 14px; }
.saas-panel-head{ display:flex; align-items:center; justify-content: space-between; }
.saas-tabs{ display:inline-flex; gap: 2px; padding: 3px; background: var(--paper-2); border-radius: 999px; }
.saas-tab{ font-family: var(--mono); font-size: 10px; letter-spacing:.10em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; color: var(--muted); cursor: default; }
.saas-tab.active{ background: var(--ink); color: var(--paper); }
.saas-range{ font-family: var(--mono); font-size: 10px; letter-spacing:.14em; text-transform: uppercase; color: var(--muted); }

.saas-kpis{ display:grid; grid-template-columns: 1.2fr 1fr; gap: 14px; }
.saas-kpi-lbl{ font-family: var(--mono); font-size: 10px; letter-spacing:.14em; text-transform: uppercase; color: var(--muted); }
.saas-kpi-val{ font-family: var(--sans); font-size: 22px; font-weight: 500; letter-spacing:-.01em; margin-top: 4px; color: var(--ink); display:flex; align-items: baseline; gap: 8px; }
.saas-kpi-val .saas-delta{ font-family: var(--mono); font-size: 10px; letter-spacing:.10em; padding: 3px 7px; border-radius: 999px; background: rgba(34,139,80,.10); color: #1e7c4a; font-weight: 400; }
.saas-kpi-val .saas-pct{ color: var(--muted); font-size: 16px; margin-left: -2px; }

.saas-chart{ height: 70px; }
.saas-chart svg{ width:100%; height: 100%; display:block; }

.saas-footnote{ display:flex; align-items:center; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing:.10em; text-transform: uppercase; color: var(--muted); padding-top: 6px; border-top: 1px dashed var(--line-strong); }
.saas-bullet{ width:6px; height:6px; border-radius: 50%; background: var(--yolk); display:inline-block; }

/* keep old class names as no-ops in case any leftover refs exist */
.ai-viz, .chart{ display:none; }

/* mobile viz */
.phone{ position: relative; margin: 18px auto 0; width: 130px; height: 240px; border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line-strong); padding: 10px; box-shadow: inset 0 0 0 4px var(--paper); }
.phone .screen{ width: 100%; height: 100%; border-radius: 14px; background: linear-gradient(180deg, var(--paper-2), var(--paper)); position:relative; overflow:hidden; }
.phone .bar{ height: 8px; background: var(--paper-3); border-radius: 4px; margin: 14px 12px 8px; }
.phone .bar.s{ width: 60%; }
.phone .card{ margin: 10px 12px; height: 56px; background: var(--paper); border-radius: 10px; border:1px solid var(--line); position: relative; }
.phone .card::before{ content:""; position:absolute; left: 10px; top: 14px; width: 28px; height: 28px; border-radius: 50%; background: var(--yolk); }
.phone .card::after{ content:""; position:absolute; left: 48px; top: 18px; right:14px; height: 8px; background: var(--paper-3); border-radius: 4px; }
.phone .dot{ position:absolute; bottom: 12px; left: 50%; transform: translateX(-50%); width: 32px; height: 4px; background: var(--ink); border-radius: 999px; opacity:.4; }

/* web viz */
.browser{ margin-top: 18px; border-radius: 12px; border:1px solid var(--line); background: var(--paper); overflow:hidden; flex:1; min-height: 170px; display:flex; flex-direction: column; }
.browser .tb{ display:flex; align-items:center; gap: 6px; padding: 10px 12px; background: var(--paper-2); border-bottom:1px solid var(--line); }
.browser .tb i{ width: 9px; height: 9px; border-radius: 50%; background: var(--paper-3); display: inline-block; }
.browser .url{ margin-left: 10px; font-family: var(--mono); font-size: 10px; color: var(--muted); }
.browser .body{ flex:1; display:grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px; }
.browser .panel{ background: var(--paper-2); border-radius: 8px; }
.browser .panel.tall{ grid-row: span 2; background: linear-gradient(180deg, var(--yolk-soft), var(--paper-2)); position:relative; }
.browser .panel.tall::after{ content:""; position:absolute; right:10px; bottom: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--yolk); }

/* SaaS viz (legacy — kept hidden by .chart{ display:none } above) */
.chart-legacy{ flex:1; margin-top: 18px; position:relative; min-height: 170px; }

/* ===== Process ===== */
.process{ background: var(--ink); color: var(--paper); }
.process .sec-head p{ color: rgba(250,247,242,.7); }
.process .sec-tag .bar{ background: var(--paper); }
.process .mono{ color: rgba(250,247,242,.6); }
.stages{ position: relative; display:grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 14px; padding-top: 8px; }
.stages-line{ position:absolute; top: 32px; left: 0; width: 0; height: 2px; background: rgba(255,255,255,.08); border-radius: 999px; z-index: 0; transition: left .25s ease, width .25s ease; }
.stages-line-fill{ height: 100%; width: 0%; background: linear-gradient(90deg, var(--yolk-2), var(--yolk)); border-radius: 999px; transition: width 1.1s cubic-bezier(.7,0,.2,1); box-shadow: 0 0 18px rgba(249,168,0,.45); }

.stage{ position: relative; padding: 0; border: none; opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; display:flex; flex-direction:column; }
.stages.in-view .stage{ opacity: 1; transform: translateY(0); }
.stages.in-view .stage:nth-child(2){ transition-delay: .10s; }
.stages.in-view .stage:nth-child(3){ transition-delay: .20s; }
.stages.in-view .stage:nth-child(4){ transition-delay: .30s; }
.stages.in-view .stage:nth-child(5){ transition-delay: .40s; }

.stage-head{ position: relative; z-index: 1; display:flex; flex-direction:column; align-items:flex-start; text-align: left; }
.stage-node{ position: relative; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); border: 1px solid rgba(255,255,255,.18); display: grid; place-items:center; font-family: var(--mono); font-size: 12px; color: rgba(255,255,255,.7); letter-spacing: .12em; transition: background .4s ease, color .4s ease, border-color .4s ease, transform .4s ease, box-shadow .4s ease; }
.stage-node::before{ content:""; position:absolute; inset:-8px; border-radius: 50%; border: 2px solid var(--yolk); opacity: 0; transform: scale(.85); transition: opacity .35s ease, transform .35s ease; }
.stage.is-active .stage-node{ background: var(--yolk); color: var(--ink); border-color: var(--yolk); transform: scale(1.05); box-shadow: 0 0 0 6px rgba(249,168,0,.16), 0 14px 32px rgba(249,168,0,.28); }
.stage.is-active .stage-node::before{ opacity: 1; animation: pulseRing 1.8s ease-out infinite; }
@keyframes pulseRing{ 0%{ transform: scale(1); opacity:.7; } 100%{ transform: scale(1.55); opacity: 0; } }

.stage-label{ margin-top: 14px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); transition: color .3s ease; }
.stage.is-active .stage-label{ color: var(--yolk); }

.stage-body{ flex:1; margin-top: 16px; padding: 22px; border-radius: 16px; background: rgba(255,255,255,.025); border: 1px solid rgba(255,255,255,.08); transition: background .35s ease, border-color .35s ease, transform .35s ease; }
.stage.is-active .stage-body{ background: rgba(255,255,255,.055); border-color: rgba(249,168,0,.32); transform: translateY(-2px); }
.stage-body h3{ font-family: var(--sans); font-weight: 500; letter-spacing:-.015em; font-size: 22px; margin: 0 0 10px; line-height: 1.15; color: var(--paper); }
.stage-body p{ color: rgba(250,247,242,.65); font-size: 14px; line-height: 1.55; margin: 0; }
.stage-deliverables{ list-style: none; padding: 0; margin: 16px 0 0; display:flex; flex-direction:column; gap: 8px; font-size: 12px; color: rgba(255,255,255,.6); font-family: var(--mono); letter-spacing:.04em; }
.stage-deliverables li{ display:flex; align-items:center; gap: 10px; }
.stage-deliverables li::before{ content:""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.3); flex:none; transition: background .3s ease, box-shadow .3s ease; }
.stage.is-active .stage-deliverables li::before{ background: var(--yolk); box-shadow: 0 0 0 3px rgba(249,168,0,.18); }
.stage-week{ margin-top: 16px; padding-top: 12px; border-top: 1px dashed rgba(255,255,255,.12); font-family: var(--mono); font-size: 10px; letter-spacing:.16em; text-transform: uppercase; color: rgba(255,255,255,.45); display:flex; justify-content:space-between; align-items:center; }
.stage.is-active .stage-week{ color: rgba(255,255,255,.75); }
.stage-week .tick{ width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.15); transition: background .3s ease, transform .3s ease; }
.stage.is-active .stage-week .tick{ background: var(--yolk); transform: scale(1.2); }

/* ===== Work (new pro layout) ===== */
.work-section{ background: var(--paper); }
.work-tabs{ display:flex; flex-wrap:wrap; gap: 6px; margin-bottom: 24px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.work-tab{ font-family: var(--mono); font-size: 11px; letter-spacing:.12em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; background: transparent; border: 1px solid var(--line); color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.work-tab:hover{ border-color: var(--ink); }
.work-tab.is-active{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
.work-tab-count{ display:inline-block; margin-left: 6px; font-size: 10px; padding: 2px 6px; border-radius: 999px; background: var(--yolk); color: var(--ink); }
.work-tab.is-active .work-tab-count{ background: rgba(255,255,255,.18); color: var(--paper); }

.work-list{ display:flex; flex-direction:column; gap: 22px; }

/* Featured case */
.case-pro{ display:grid; grid-template-columns: 1.05fr 1fr; border:1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); overflow:hidden; transition: border-color .2s ease, transform .2s ease; }
.case-pro:hover{ border-color: var(--ink); }
.case-pro-media{ position: relative; min-height: 420px; }
.case-pro-media .thumb{ position:absolute; inset:0; }
.case-pro-overlay{ position:absolute; inset:0; display:flex; flex-direction:column; justify-content: space-between; padding: 28px; pointer-events:none; }
.case-pro-logo{ font-family: var(--sans); font-weight: 600; letter-spacing: .18em; color: var(--paper); opacity: .9; font-size: 12px; padding: 6px 12px; background: rgba(255,255,255,.08); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.18); border-radius: 999px; align-self: flex-start; }
.case-pro-screens{ position: relative; height: 70%; }
.cps{ position:absolute; border-radius: 12px; border:1px solid rgba(255,255,255,.16); background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)); backdrop-filter: blur(6px); box-shadow: 0 24px 60px rgba(0,0,0,.35); }
.cps-1{ left: 8%; bottom: 8%; width: 56%; height: 60%; }
.cps-2{ right: 6%; bottom: 18%; width: 44%; height: 50%; }
.cps-3{ left: 28%; top: 6%; width: 32%; height: 32%; background: var(--yolk); border-color: rgba(0,0,0,.06); box-shadow: 0 14px 30px rgba(249,168,0,.35); }
.cps::after{ content:""; position:absolute; left: 10%; top: 18%; right: 10%; height: 6px; background: rgba(17,27,36,.12); border-radius: 4px; box-shadow: 0 14px 0 rgba(17,27,36,.08), 0 28px 0 rgba(17,27,36,.06); }
.cps-3::after{ background: rgba(17,27,36,.18); box-shadow: 0 14px 0 rgba(17,27,36,.12); }

.case-pro-meta{ padding: 32px; display:flex; flex-direction:column; gap: 14px; }
.case-pro-tags{ display:flex; flex-wrap:wrap; gap: 6px; }
.case-pro-pill{ font-family: var(--mono); font-size: 10px; letter-spacing:.14em; text-transform: uppercase; background: var(--yolk); color: var(--ink); padding: 5px 10px; border-radius: 999px; }
.case-pro-tag{ font-family: var(--mono); font-size: 10px; letter-spacing:.14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: var(--paper-2); border:1px solid var(--line); color: var(--ink-2); }
.case-pro-title{ font-family: var(--sans); font-size: clamp(24px, 2.4vw, 32px); font-weight: 500; letter-spacing:-.015em; margin: 6px 0 4px; line-height: 1.1; }
.case-pro-blurb{ font-size: 15px; line-height: 1.6; color: var(--ink-2); margin: 0; }
.case-pro-bullets{ list-style:none; margin: 4px 0; padding: 0; display:flex; flex-direction:column; gap: 8px; }
.case-pro-bullets li{ display:flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--ink-2); }
.case-pro-bullet{ flex:none; width: 6px; height: 6px; border-radius: 50%; background: var(--yolk); margin-top: 8px; box-shadow: 0 0 0 3px rgba(249,168,0,.15); }
.case-pro-stats{ display:flex; gap: 28px; margin-top: 6px; padding: 18px 0; border-top: 1px dashed var(--line-strong); border-bottom: 1px dashed var(--line-strong); }
.cps-stat .cps-num{ font-family: var(--sans); font-size: 26px; font-weight: 500; letter-spacing:-.02em; }
.cps-stat .cps-lbl{ font-family: var(--mono); font-size: 10px; letter-spacing:.14em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.case-pro-cta{ display:inline-flex; align-items:center; gap: 10px; font-family: var(--sans); font-weight: 500; font-size: 15px; color: var(--ink); width: fit-content; padding: 4px 0; border-bottom: 1.5px solid var(--ink); transition: color .2s, border-color .2s; }
.case-pro-cta:hover{ color: var(--yolk); border-color: var(--yolk); }

/* Mini cases (trio) */
.case-trio{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.case-mini{ display:flex; flex-direction:column; border:1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); overflow:hidden; transition: transform .2s ease, border-color .2s ease; }
.case-mini:hover{ transform: translateY(-2px); border-color: var(--ink); }
.case-mini-thumb{ aspect-ratio: 4/3; position: relative; overflow:hidden; }
.case-mini-body{ padding: 22px; display:flex; flex-direction:column; gap: 10px; flex:1; }
.case-mini-title{ font-family: var(--sans); font-size: 19px; font-weight: 500; letter-spacing:-.01em; line-height: 1.2; margin: 4px 0 2px; }
.case-mini-blurb{ font-size: 14px; color: var(--ink-2); line-height: 1.5; margin: 0; flex:1; }
.case-mini-stats{ display:flex; flex-wrap:wrap; gap: 14px; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: 12px; color: var(--muted); }
.case-mini-stats strong{ font-family: var(--sans); font-weight: 500; color: var(--ink); font-size: 14px; }

.work-cta{ margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); display:flex; align-items:center; justify-content: space-between; gap: 16px; flex-wrap:wrap; }
.work-cta .mono{ font-family: var(--mono); font-size: 11px; letter-spacing:.14em; text-transform: uppercase; color: var(--muted); }

/* hide legacy .work-grid styles (was used by old layout) */
.work-grid-legacy{ display: none; }

/* hide cards filtered out */
.case-pro.is-hidden, .case-mini.is-hidden{ display:none; }
.work-grid{ display:grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.case{ grid-column: span 6; border:1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); overflow:hidden; display:flex; flex-direction:column; transition: transform .2s ease; }
.case:hover{ transform: translateY(-2px); }
.case .thumb{ aspect-ratio: 16/10; position: relative; overflow:hidden; }
.case .meta{ padding: 22px 24px 26px; }
.case .meta .row{ display:flex; align-items:center; justify-content:space-between; }
.case .tags{ display:flex; gap: 6px; }
.case .tag{ font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.case h3{ font-family: var(--sans); font-size: 24px; font-weight: 500; letter-spacing: -.015em; margin: 10px 0 8px; }
.case .blurb{ font-size: 14px; color: var(--ink-2); line-height: 1.55; }
.case .stats{ display:flex; gap: 28px; margin-top: 18px; padding-top: 18px; border-top:1px dashed var(--line-strong); }
.case .stats .num{ font-family: var(--sans); font-size: 24px; font-weight: 500; }
.case .stats .lbl{ font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* thumbs */
.thumb-a{ background:
  radial-gradient(circle at 70% 40%, var(--yolk) 0%, var(--yolk) 14%, transparent 14.5%),
  linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); }
.thumb-a::after{ content:""; position:absolute; inset:0; background-image:
  repeating-linear-gradient(90deg, transparent 0 38px, rgba(255,255,255,.05) 38px 39px),
  repeating-linear-gradient(0deg, transparent 0 38px, rgba(255,255,255,.05) 38px 39px);
  mask-image: linear-gradient(180deg, #000 0%, transparent 90%); }
.thumb-b{ background: var(--paper-2); position:relative; }
.thumb-b::before{ content:""; position:absolute; inset: 12% 18%; border-radius: 18px; background: var(--paper); border:1px solid var(--line); box-shadow: 0 20px 50px rgba(20,24,33,.08); }
.thumb-b::after{ content:""; position:absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 70px; height: 70px; border-radius:50%; background: radial-gradient(circle at 35% 30%, #ffd069 0%, var(--yolk) 60%, #c97700 100%); box-shadow: 0 14px 36px rgba(245,166,35,.4); }
.thumb-c{ background: linear-gradient(135deg, var(--yolk) 0%, #ffd069 100%); position: relative; overflow:hidden; }
.thumb-c::before{ content:""; position:absolute; inset: -20% -10% auto auto; width: 70%; height: 130%; background: var(--ink); border-radius: 50%; }
.thumb-c::after{ content:""; position:absolute; left: 22%; bottom: 18%; width: 40%; height: 40%; background:
  radial-gradient(circle, var(--paper) 2px, transparent 2.5px) 0 0 / 14px 14px; }
.thumb-d{ background: var(--ink); position: relative; overflow:hidden; }
.thumb-d::before{ content:""; position:absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, var(--yolk) 100%);
  clip-path: polygon(0 70%, 12% 60%, 22% 64%, 34% 50%, 46% 58%, 58% 40%, 70% 48%, 82% 30%, 92% 38%, 100% 20%, 100% 100%, 0 100%); opacity:.7;
}
.thumb-d::after{ content:""; position:absolute; inset:0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(245,166,35,.3) 100%);
  clip-path: polygon(0 85%, 14% 80%, 26% 84%, 38% 72%, 50% 78%, 62% 64%, 74% 70%, 86% 56%, 100% 60%, 100% 100%, 0 100%);
}

/* ===== Capabilities ===== */
.cap-grid{ display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cap{ border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 22px; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.cap:hover{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cap:hover .cap-num, .cap:hover .cap-list li{ color: rgba(250,247,242,.7); }
.cap-num{ font-family: var(--mono); font-size: 11px; letter-spacing: .16em; color: var(--muted); }
.cap-title{ font-family: var(--sans); font-size: 22px; font-weight: 500; margin: 14px 0 10px; letter-spacing:-.01em; }
.cap-list{ list-style:none; margin: 0; padding: 0; font-size: 14px; color: var(--ink-2); }
.cap-list li{ padding: 8px 0; border-top: 1px dashed var(--line-strong); display:flex; justify-content: space-between; align-items: center; }
.cap-list li:first-child{ border-top: none; }
.cap:hover .cap-list li{ border-color: rgba(255,255,255,.12); }

/* ===== Testimonial ===== */
.quote-wrap{ display:grid; grid-template-columns: minmax(520px, .92fr) 1.3fr; gap: 50px; align-items: start; }
.quote-card{ position: relative; padding: 56px 0 0; }
.quote-card::before{ content: "\201C"; position:absolute; left:-6px; top: -40px; font-family: var(--sans); font-size: 220px; line-height: 1; color: var(--yolk); }
.quote-card q{ font-family: var(--sans); font-weight: 400; font-size: clamp(28px, 3vw, 42px); letter-spacing:-.015em; line-height: 1.15; quotes: none; }
.quote-card q::before, .quote-card q::after{ content:""; }
.quote-author{ margin-top: 32px; display:flex; align-items: center; gap: 16px; }
.quote-author .avatar{ width: 56px; height: 56px; border-radius: 50%; background: var(--paper-3); border:1px solid var(--line); position:relative; overflow:hidden; }
.quote-author .avatar::before{ content:""; position:absolute; left: 50%; top: 42%; transform: translate(-50%,-50%); width: 22px; height: 22px; border-radius: 50%; background: var(--ink-3); }
.quote-author .avatar::after{ content:""; position:absolute; left: 50%; bottom: -22px; transform: translateX(-50%); width: 50px; height: 32px; background: var(--ink-3); border-radius: 50%; }
.quote-author .name{ font-family: var(--sans); font-weight: 500; }
.quote-author .role{ font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.client-browser{ display:flex; flex-direction:column; }
.logos{ display:grid; grid-template-columns: repeat(3, minmax(150px, 1fr)); gap: 12px; }
.logos .l{
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 13px;
  display:grid;
  place-items:center;
  padding: 0 14px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-2);
  letter-spacing: -.01em;
  background: var(--paper);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.logos .l span{ display:inline-flex; align-items:center; justify-content:center; gap: 8px; white-space: nowrap; max-width: 100%; }
.logos .l span::before{ content:""; width: 10px; height: 10px; flex: 0 0 10px; border-radius: 50%; background: var(--ink); display:inline-block; }
.logos .l.alt span::before{ background: var(--yolk); border-radius: 2px; }
.logos .l.tri span::before{ background: transparent; border-left: 6px solid transparent; border-right: 6px solid transparent; border-bottom: 10px solid var(--ink); border-radius: 0; }
.logos .l.is-active{
  color: var(--ink);
  border-color: var(--ink);
  background: var(--paper);
}
.logos .l:focus-visible{ outline: 2px solid var(--ink); outline-offset: 3px; }

.client-preview{
  position: relative;
  height: 350px;
  padding: 0;
  color: var(--ink);
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  overflow: visible;
}
.client-preview::before{
  content: "\201C";
  color: var(--yolk);
  font-family: var(--sans);
  font-size: 86px;
  font-weight: 700;
  line-height: 1;
  height: 72px;
  margin-bottom: 0;
  display:block;
}
.client-preview-tag{
  order: 4;
  width: auto;
  margin: 4px 0 0 3px;
  color: var(--muted);
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  width: auto;
}
.client-preview-title{
  order: 3;
  margin: 22px 0 0 3px;
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: 0;
  max-width: none;
}
.client-preview-summary{
  order: 2;
  margin: 0;
  max-width: 24ch;
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.17;
  letter-spacing: 0;
  min-height: 6.2em;
}
.client-preview-points{
  order: 5;
  list-style: none;
  display:flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  margin: 14px 0 0 3px;
  padding: 0;
  max-width: 520px;
  min-height: 3.2em;
}
.client-preview-points li{
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.client-preview-points li::before{
  content:"";
  position:absolute;
  left: 0;
  top: .5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yolk);
}

/* ===== Industries ===== */
.industries{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ind{ background: var(--paper); border:1px solid var(--line); border-radius: var(--radius); padding: 28px; display:flex; flex-direction:column; transition: border-color .2s ease, transform .2s ease; position: relative; }
.ind:hover{ border-color: var(--ink); }
.ind-num{ font-family: var(--mono); font-size: 11px; letter-spacing:.16em; color: var(--muted); }
.ind-icon{ width: 48px; height: 48px; margin: 28px 0 16px; color: var(--ink); }
.ind-icon svg{ width: 100%; height: 100%; }
.ind h3{ font-family: var(--sans); font-size: 22px; font-weight: 500; letter-spacing: -.015em; margin: 0 0 10px; }
.ind p{ font-size: 14px; line-height: 1.55; color: var(--ink-2); margin: 0 0 22px; }
.ind-count{ margin-top:auto; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 14px; border-top: 1px dashed var(--line-strong); }
.ind:hover .ind-num{ color: var(--yolk); }

/* ===== Pricing ===== */
.plans{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan{ border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); padding: 32px; display:flex; flex-direction: column; }
.plan.featured{ background: var(--ink); color: var(--paper); border-color: var(--ink); position: relative; }
.plan.featured::after{ content: "MOST PICKED"; position: absolute; top: -10px; right: 24px; background: var(--yolk); color: var(--ink); font-family: var(--mono); font-size: 10px; letter-spacing: .14em; padding: 5px 10px; border-radius: 999px; }
.plan .name{ font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.plan.featured .name{ color: rgba(250,247,242,.6); }
.plan .price{ font-family: var(--sans); font-size: 56px; font-weight: 500; letter-spacing:-.03em; margin: 14px 0 4px; line-height: 1; }
.plan .per{ font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.plan.featured .per{ color: rgba(250,247,242,.6); }
.plan .desc{ font-size: 14px; color: var(--ink-2); margin: 16px 0 22px; line-height: 1.5; }
.plan.featured .desc{ color: rgba(250,247,242,.7); }
.plan ul{ list-style: none; margin: 0 0 28px; padding: 0; display:flex; flex-direction:column; gap: 12px; font-size: 14px; flex:1; }
.plan li{ display:flex; gap: 10px; align-items:flex-start; }
.plan li::before{ content:""; flex: none; width: 14px; height: 14px; margin-top: 4px; border-radius: 4px; background: var(--yolk); display:inline-block; position:relative; }
.plan li::after{ content:"✓"; position: absolute; }
.plan .cta-btn{ width: 100%; justify-content: center; }
.plan.featured .btn-ghost{ color: var(--paper); border-color: rgba(255,255,255,.25); }
.plan.featured .btn-ghost:hover{ background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ===== FAQ ===== */
.faq{ display:grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items:start; }
.acc{ display:flex; flex-direction: column; }
.acc details{ border-top: 1px solid var(--line); padding: 22px 4px; }
.acc details:last-of-type{ border-bottom: 1px solid var(--line); }
.acc summary{ list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; font-family: var(--sans); font-size: 20px; font-weight: 500; letter-spacing: -.01em; }
.acc summary::-webkit-details-marker{ display: none; }
.acc summary .ic{ width: 32px; height: 32px; flex: none; border-radius: 50%; border:1px solid var(--line-strong); display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
.acc details[open] summary .ic{ background: var(--yolk); border-color: var(--yolk); transform: rotate(45deg); }
.acc .ans{
  margin: 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.6;
  max-width: 56ch;
}
.acc details .ans{
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .32s ease, opacity .22s ease, margin-top .32s ease;
}
.acc details[open] .ans{
  max-height: 220px;
  opacity: 1;
  margin-top: 14px;
}
.acc details.is-closing .ans{
  max-height: 0;
  opacity: 0;
  margin-top: 0;
}

/* ===== CTA ===== */
.cta{ position: relative; padding: 56px 0; overflow:hidden; background: var(--yolk); }
.cta .bg{ position:absolute; inset:0; opacity:.5;
  background-image:
    radial-gradient(circle at 20% 110%, var(--yolk-2) 0%, transparent 60%),
    radial-gradient(circle at 90% -10%, #fff 0%, transparent 50%);
}
.cta-inner{ position:relative; display:grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items:center; }
.cta h2{ font-family: var(--sans); font-weight: 500; font-size: clamp(40px, 5vw, 84px); letter-spacing:-.025em; line-height: .98; }
.cta p{ margin-top: 22px; font-size: 17px; color: rgba(20,24,33,.78); max-width: 44ch; line-height: 1.55; }
.cta-mail{ display:inline-flex; margin-top: 24px; font-family: var(--sans); font-size: 18px; font-weight: 500; border-bottom: 1.5px solid var(--ink); }
.cta-mail:hover{ color: var(--paper); border-color: var(--paper); }
.cta-actions{ margin-top: 34px; display:flex; gap: 12px; flex-wrap:wrap; }
.cta .btn-primary{ background: var(--ink); color: var(--paper); }
.cta .btn-ghost{ border-color: var(--ink); color: var(--ink); }
.cta .btn-ghost:hover{ background: var(--ink); color: var(--paper); }

.contact-form{ width:100%; max-width: 520px; margin-left:auto; padding: 24px; border: 1px solid rgba(17,27,36,.22); border-radius: 18px; background: rgba(255,255,255,.28); display:flex; flex-direction:column; gap: 14px; box-shadow: 0 24px 70px rgba(17,27,36,.10); }
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.contact-form label{ display:flex; flex-direction:column; gap: 7px; font-family: var(--mono); font-size: 10px; letter-spacing:.14em; text-transform: uppercase; color: rgba(17,27,36,.68); }
.contact-form input, .contact-form textarea{ width:100%; border: 1px solid rgba(17,27,36,.24); border-radius: 12px; background: rgba(255,255,255,.78); color: var(--ink); font: 15px/1.4 var(--body); padding: 12px 13px; outline:none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.contact-form textarea{ resize: vertical; min-height: 124px; }
.contact-form input:focus, .contact-form textarea:focus{ border-color: var(--ink); background: var(--paper); box-shadow: 0 0 0 4px rgba(17,27,36,.10); }
.contact-form .btn{ width: fit-content; margin-top: 2px; border: 0; }
.form-status{ display:none; border-radius: 12px; padding: 11px 13px; font-size: 14px; line-height: 1.4; background: rgba(17,27,36,.10); color: var(--ink); }
.form-status.is-visible{ display:block; }
.form-status.is-error{ background: rgba(123,32,24,.12); color: #5d1812; }
.hp-field{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; pointer-events:none; }
.form-subtitle{ font-family: var(--sans); font-size: 18px; font-weight: 500; letter-spacing:-.01em; color: var(--ink); }
.contact-form select{ width:100%; border: 1px solid rgba(17,27,36,.24); border-radius: 12px; background: rgba(255,255,255,.78); color: var(--ink); font: 15px/1.4 var(--body); padding: 12px 13px; outline:none; transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7785' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; cursor: pointer; }
.contact-form select:focus{ border-color: var(--ink); background-color: var(--paper); box-shadow: 0 0 0 4px rgba(17,27,36,.10); }
.contact-form select:invalid{ color: var(--muted); }

.contact-form .checkbox-label { flex-direction: row; align-items: flex-start; gap: 12px; font-family: var(--body); font-size: 13px; letter-spacing: normal; text-transform: none; color: var(--ink); cursor: pointer; }
.contact-form .checkbox-label input[type="checkbox"] { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; cursor: pointer; accent-color: var(--ink); }
.contact-form .checkbox-text a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }

.cta-mark{ width:100%; max-width: 380px; aspect-ratio: 1; margin-left:auto; position:relative; }
.cta-mark .ring{ position:absolute; inset:0; border: 2px solid var(--ink); border-radius: 50%; }
.cta-mark .ring.r2{ inset: 12%; border-style: dashed; }
.cta-mark .ring.r3{ inset: 28%; }
.cta-mark .core{ position:absolute; inset: 36%; border-radius: 50%; background: var(--ink); animation: bob 6s ease-in-out infinite; }
.cta-mark .label{ position:absolute; font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); }

/* ===== Footer ===== */
footer{ background: var(--ink); color: var(--paper); padding: 56px 0 28px; }
.foot-grid{ display:grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 48px; }
.foot-grid h4{ font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(250,247,242,.55); font-weight: 400; margin: 0 0 18px; }
.foot-grid ul{ list-style: none; padding:0; margin:0; display:flex; flex-direction:column; gap: 12px; font-size: 14px; color: rgba(250,247,242,.85); }
.foot-grid li a:hover{ color: var(--yolk); }
.foot-brand .tag{ margin-top: 16px; font-size: 14px; color: rgba(250,247,242,.7); max-width: 32ch; line-height: 1.55; }
.foot-bot{ margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); display:flex; justify-content: space-between; align-items:center; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: rgba(250,247,242,.55); text-transform: uppercase; }

/* Big sign-off */
.signoff{ font-family: var(--sans); font-size: clamp(56px, 14vw, 220px); font-weight: 500; letter-spacing:-.045em; line-height: .85; padding: 32px 0 0; }
.signoff .yolk-text{ color: var(--yolk); }

/* ===== Extracted utility classes ===== */
.section-soft{ background: var(--paper-2); }
.section-flush-top{ padding-top: 0; }
.section-testimonial{ padding-top: 40px; }
.mobile-menu-cta .btn-ghost{ border-color: rgba(255,255,255,.25); color: var(--paper); }

.node-query{ left:6%; top:30%; }
.node-edge{ left:92%; top:26%; transform:translate(-50%,-50%); }
.node-vector{ left:8%; top:68%; }
.node-ios{ left:94%; top:76%; transform:translate(-50%,-50%); }
.node-model{ left:50%; top:4%; transform:translate(-50%,-50%); }
.node-cloud{ left:50%; top:96%; transform:translate(-50%,-50%); }
.tag-llm{ left:0; top:14%; }
.tag-edge{ right:0; top:8%; }
.tag-vector{ left:-2%; bottom:14%; }
.tag-ios{ right:-1%; bottom:18%; }

.design-grid{ flex:1; margin-top:18px; display:grid; grid-template-columns: repeat(4,1fr); gap:6px; }
.design-tile{ border-radius:6px; }
.design-tile-ink{ background:var(--ink); }
.design-tile-yolk{ background:var(--yolk); }
.design-tile-paper{ background:var(--paper-3); }
.design-tile-ink-soft{ background:var(--ink-3); }
.design-tile-yolk-soft{ background:var(--yolk-soft); }
.design-tile-paper-soft{ background:var(--paper-2); }
.design-tile-wide{ grid-column: span 2; }

.process-label{ color:rgba(250,247,242,.6); }
.logos-spaced{ margin-top: 28px; }
.faq-offset{ padding: 56px 0 0; }
.faq-note{ color:var(--ink-2); margin-top: 18px; max-width: 36ch; }
.cta-label{ color:rgba(20,24,33,.65); }
.label-idea{ left:0; top:0; }
.label-prototype{ right:0; top:0; text-align:right; }
.label-launch{ left:0; bottom:0; }
.label-scale{ right:0; bottom:0; text-align:right; }
.foot-brand-compact{ line-height: normal; height: auto; }
.foot-brand-mark{ width: 150px; height: auto; object-fit: contain; }
.foot-brand-copy{ margin: 16px 0 0; padding: 0; height: auto; }

/* ===== Responsive ===== */

/* Tablet (≤ 1100px) */
@media (max-width: 1100px){
  .wrap{ padding: 0 24px; }
  .industries{ grid-template-columns: repeat(2, 1fr); }
  .cap-grid{ grid-template-columns: repeat(2, 1fr); }
  .case-pro-media{ min-height: 360px; }
}

/* Tablet portrait + small laptop (≤ 980px) */
@media (max-width: 980px){
  .nav-inner{ height: 64px; }
  .brand-word{ width: 120px; }
  .nav-inner .brand-word{ margin-left: 0; }
  .nav ul{ display:none; }
  .nav-cta{ gap: 8px; }
  .nav-cta .btn-primary{ height: 40px; padding: 0 14px; font-size: 13px; }
  .nav-menu-btn{ display:inline-flex; }

  .section{ padding: 44px 0; }
  .sec-head{ grid-template-columns: 1fr; gap: 14px; align-items:start; margin-bottom: 24px; }

  .hero{ padding: 24px 0 40px; }
  .hero-grid{ grid-template-columns: 1fr; gap: 28px; }
  .hero-meta{ gap: 22px; margin-top: 24px; }
  .hero-meta .item .num{ font-size: 24px; }
  .yolk-stage{ max-width: 360px; margin: 0 auto; }

  .services{ grid-template-columns: 1fr; }
  .svc.big, .svc.small, .svc.third{ grid-column: span 12; }

  .stages{ grid-template-columns: 1fr 1fr; gap: 18px; }
  .stages-line{ display:none; }
  .stage{ border-bottom: none; }
  .stage-body{ padding: 18px; }

  .case-pro{ grid-template-columns: 1fr; }
  .case-pro-media{ min-height: 240px; }
  .case-pro-meta{ padding: 24px; }
  .case-pro-stats{ gap: 18px; }
  .cps-stat .cps-num{ font-size: 22px; }
  .case-trio{ grid-template-columns: 1fr 1fr; }

  .work-tabs{ overflow-x: auto; flex-wrap: nowrap; padding-bottom: 12px; margin: 0 -24px 18px; padding: 0 24px 12px; scrollbar-width: none; }
  .work-tabs::-webkit-scrollbar{ display:none; }
  .work-tab{ flex: none; }

  .industries{ grid-template-columns: 1fr 1fr; }
  .cap-grid{ grid-template-columns: 1fr 1fr; }
  .plans{ grid-template-columns: 1fr; }
    .quote-wrap, .faq, .cta-inner{ grid-template-columns: 1fr; gap: 24px; }
    .contact-form{ max-width: none; margin-left: 0; }
  .quote-card{ padding-top: 40px; }
  .quote-card::before{ font-size: 140px; top: -28px; }
  .logos{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .client-preview{ height: auto; min-height: 0; overflow: visible; }
  .client-preview-summary{ max-width: 24ch; }

  .foot-grid{ grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-bot{ flex-direction: column; align-items: flex-start; gap: 8px; }
  .signoff{ font-size: clamp(48px, 18vw, 140px); }
}

/* Phone (≤ 640px) */
@media (max-width: 640px){
  .wrap{ padding: 0 16px; }

  /* Nav: collapse Contact us to icon-only chip */
  .nav-inner{ height: 60px; }
  .brand-word{ width: 110px; }
  .nav-cta .btn-primary{ width: 42px; height: 42px; padding: 0; justify-content: center; }
  .nav-cta .btn-primary span,
  .nav-cta .btn-primary .label{ display:none; }
  .nav-cta .btn-primary .btn-text{ display:none; }
  .nav-menu-btn{ width: 42px; height: 42px; }

  .h1{ font-size: 38px !important; }
  .h2{ font-size: 26px !important; }
  .hero{ padding: 18px 0 32px; }
  .hero-sub{ font-size: 15px; }
  .eyebrow{ font-size: 10.5px; }
  .hero-chips{ gap: 6px; margin-top: 18px; }
  .hero-chips li{ font-size: 11px; padding: 6px 10px 6px 8px; }
  .hero-ctas{ gap: 10px; }
  .btn{ height: 42px; padding: 0 14px; font-size: 13px; }
  .hero-meta{ gap: 18px 22px; margin-top: 22px; }

  /* keep nav contact button icon-only without breaking arrow */
  .nav .btn-primary{ font-size: 0; }
  .nav .btn-primary .arr{ width: 18px; height: 18px; }

  .services{ gap: 12px; }
  .svc{ padding: 22px; min-height: 280px; border-radius: 22px; }
  .svc .title{ font-size: 24px; }
  .ai-stack{ padding: 14px; min-height: 180px; }
  .ai-orb{ width: 110px; height: 110px; right: -20px; bottom: -20px; }
  .ai-flow{ gap: 0; }
  .ai-step{ min-width: 50px; }
  .ai-step-label{ font-size: 9px; }
  .saas-panel{ padding: 14px; }
  .saas-kpis{ grid-template-columns: 1fr; gap: 10px; }
  .saas-kpi-val{ font-size: 20px; }

  .stages{ grid-template-columns: 1fr; gap: 12px; }
  .stage-body h3{ font-size: 20px; }

  .case-pro-meta{ padding: 22px; gap: 12px; }
  .case-pro-title{ font-size: 22px; }
  .case-pro-blurb{ font-size: 14px; }
  .case-pro-stats{ gap: 14px; flex-wrap: wrap; padding: 14px 0; }
  .cps-stat{ flex: 1 1 30%; min-width: 80px; }
  .cps-stat .cps-num{ font-size: 20px; }
  .case-trio{ grid-template-columns: 1fr; gap: 14px; }
  .case-mini-body{ padding: 18px; }
  .case-mini-title{ font-size: 17px; }
  .case-mini-stats{ gap: 10px 14px; }
  .work-cta{ flex-direction: column; align-items: flex-start; gap: 12px; }
  .work-tabs{ margin: 0 -16px 16px; padding: 0 16px 12px; }

  .industries{ grid-template-columns: 1fr; gap: 12px; }
  .ind{ padding: 22px; }
  .ind h3{ font-size: 20px; }

  .cap-grid{ grid-template-columns: 1fr; gap: 12px; }
  .cap{ padding: 20px; }

  .logos{ grid-template-columns: 1fr; }
  .logos .l{ min-height: 48px; font-size: 15px; border-radius: 11px; }
  .client-preview::before{ font-size: 62px; margin-bottom: 8px; }
  .client-preview-title{ margin: 16px 0 0; font-size: 17px; }
  .client-preview-tag{ margin-left: 0; }
  .client-preview-summary{ max-width: 100%; font-size: 25px; line-height: 1.22; min-height: 0; }
  .client-preview-points{ margin-left: 0; gap: 7px 12px; max-width: 100%; }
  .quote-card q{ font-size: 24px !important; }

  .acc summary{ font-size: 17px; gap: 14px; }
  .acc summary .ic{ width: 28px; height: 28px; }

  .cta{ padding: 40px 0; }
  .cta-mark{ max-width: 220px; margin: 0 auto; }
  .cta h2{ font-size: 36px !important; }
    .cta-mail{ font-size: 16px; overflow-wrap: anywhere; }
    .form-grid{ grid-template-columns: 1fr; }
    .contact-form{ padding: 18px; border-radius: 16px; gap: 12px; }
    .contact-form .btn{ width: 100%; justify-content: center; }

    footer{ padding: 40px 0 22px; }
    .foot-grid{ grid-template-columns: 1fr; gap: 26px; }
    .foot-grid ul{ gap: 10px; }
    .signoff{ font-size: 56px; padding-top: 16px; }
  }

/* Mobile menu (built but hidden until mobile) */
.nav-menu-btn{ display: none; width: 42px; height: 42px; border-radius: 999px; align-items:center; justify-content:center; background: transparent; border: 1px solid var(--line-strong); color: var(--ink); cursor: pointer; padding: 0; }
.nav-menu-btn svg{ width: 18px; height: 18px; }
.mobile-menu{ position: fixed; inset: 0; background: var(--ink); color: var(--paper); z-index: 90; padding: 24px; display:flex; flex-direction:column; gap: 24px; transform: translateY(-100%); opacity: 0; pointer-events: none; transition: transform .35s cubic-bezier(.7,0,.2,1), opacity .35s ease; }
.mobile-menu.is-open{ transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu-top{ display:flex; align-items:center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-menu-top .brand-word{ width: 130px; }
.mobile-menu-close{ width: 42px; height: 42px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); background: transparent; color: var(--paper); display:grid; place-items:center; cursor:pointer; }
.mobile-menu ul{ list-style:none; padding: 0; margin: 12px 0 0; display:flex; flex-direction:column; gap: 4px; }
.mobile-menu ul a{ display:flex; align-items:center; justify-content: space-between; padding: 18px 4px; font-family: var(--sans); font-size: 22px; font-weight: 500; letter-spacing:-.015em; border-bottom: 1px solid rgba(255,255,255,.08); color: var(--paper); }
.mobile-menu ul a:hover, .mobile-menu ul a:active{ color: var(--yolk); }
.mobile-menu ul a .arr{ width: 18px; height: 18px; opacity: .5; }
.mobile-menu-cta{ margin-top: auto; display:flex; flex-direction:column; gap: 10px; }
.mobile-menu-cta .btn{ width: 100%; justify-content: center; }
body.menu-open{ overflow: hidden; }

@media (max-width: 980px){
  .nav-menu-btn{ display:inline-flex; }
}

/* ===== Page loader ===== */
.page-loader{
  position: fixed; inset: 0; z-index: 999;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper);
  transition: opacity .35s ease;
}
.page-loader.is-hidden{ opacity: 0; pointer-events: none; }
.page-loader.is-gone{ display: none; }
.page-loader-mark{ display: flex; flex-direction: column; align-items: center; gap: 14px; }
.page-loader-word{
  font-family: var(--sans); font-weight: 600; font-size: 28px; letter-spacing: -.01em;
  color: var(--ink);
}
.page-loader-bar{
  position: relative; width: 96px; height: 2px; border-radius: 999px;
  background: var(--paper-3); overflow: hidden;
}
.page-loader-bar::after{
  content: ''; position: absolute; inset: 0;
  background: var(--yolk);
  transform: translateX(-100%);
  animation: page-loader-sweep 1.1s cubic-bezier(.4,0,.2,1) infinite;
}
@keyframes page-loader-sweep{
  0%{ transform: translateX(-100%); }
  60%{ transform: translateX(100%); }
  100%{ transform: translateX(100%); }
}
@media (prefers-reduced-motion: reduce){
  .page-loader-bar::after{ animation: none; background: var(--yolk); transform: none; }
  .page-loader{ transition: none; }
}

/* ===== Client logo buttons (override the div defaults) ===== */
.logos button.l{
  appearance: none;
}
.logos-hint{
  margin-top: 18px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted);
}

/* ===== Cookie consent ===== */
.footer-link-button{
  appearance: none;
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}
.footer-link-button:hover{ color: var(--yolk); }

.cookie-consent{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1001;
  padding: 18px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .18s ease, transform .18s ease;
}
.cookie-consent.is-visible{ opacity: 1; transform: translateY(0); }
.cookie-consent[hidden]{ display: none; }
.cookie-consent-card{
  width: min(1040px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line-strong);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 60px rgba(17,27,36,.18);
  backdrop-filter: blur(14px);
}
.cookie-kicker{
  margin: 0 0 8px;
  color: var(--muted);
}
.cookie-consent h2,
.cookie-preferences-panel h2{
  margin: 0;
  font-family: var(--sans);
  font-size: 24px;
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -.01em;
}
.cookie-consent p:not(.cookie-kicker),
.cookie-preferences-panel p{
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.5;
}
.cookie-actions{
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-preferences{
  position: fixed;
  inset: 0;
  z-index: 1002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.cookie-preferences[hidden]{ display: none; }
.cookie-preferences-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(17,27,36,.48);
  backdrop-filter: blur(5px);
  opacity: 0;
  transition: opacity .18s ease;
}
.cookie-preferences-panel{
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 24px 70px rgba(17,27,36,.22);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease;
}
.cookie-preferences.is-open .cookie-preferences-backdrop{ opacity: 1; }
.cookie-preferences.is-open .cookie-preferences-panel{ opacity: 1; transform: translateY(0); }
.cookie-preferences-close{
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink);
  cursor: pointer;
}
.cookie-preferences-close:hover{
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
.cookie-option{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.cookie-option:first-of-type{ margin-top: 20px; }
.cookie-option h3{
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: -.01em;
}
.cookie-required{
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  white-space: nowrap;
}
.cookie-option-toggle{ cursor: pointer; }
.cookie-option-toggle input{
  width: 48px;
  height: 28px;
  margin: 0;
  appearance: none;
  border-radius: 999px;
  background: var(--paper-3);
  border: 1px solid var(--line-strong);
  position: relative;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.cookie-option-toggle input::after{
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 2px 5px rgba(17,27,36,.16);
  transition: transform .15s ease;
}
.cookie-option-toggle input:checked{
  background: var(--yolk);
  border-color: var(--yolk);
}
.cookie-option-toggle input:checked::after{ transform: translateX(20px); }
.cookie-option-toggle input:focus-visible{
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
.cookie-actions-end{
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
body.cookie-panel-open{ overflow: hidden; }

@media (prefers-reduced-motion: reduce){
  .cookie-consent,
  .cookie-preferences-backdrop,
  .cookie-preferences-panel,
  .cookie-option-toggle input,
  .cookie-option-toggle input::after{ transition: none; }
}
@media (max-width: 720px){
  .cookie-consent{ padding: 12px; }
  .cookie-consent-card{
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 16px;
    border-radius: 16px;
  }
  .cookie-actions{
    justify-content: stretch;
  }
  .cookie-actions .btn{
    flex: 1 1 100%;
    justify-content: center;
  }
  .cookie-preferences{ padding: 14px; align-items: flex-end; }
  .cookie-preferences-panel{
    padding: 22px;
    border-radius: 20px;
  }
  .cookie-option{ grid-template-columns: 1fr; gap: 12px; }
  .cookie-required{ width: fit-content; }
}
