

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --paper:        #f4f2ec;
  --paper-2:      #ecead9;
  --card:         #ffffff;
  --ink:          #0a0a12;
  --ink-2:        #34343c;
  --ink-3:        #6e6e78;
  --ink-4:        #a4a49d;
  --line:         #e2dfd1;
  --line-2:       #d3cfbe;
  --accent:       #38b271;            /* muted brand green */
  --accent-bright:#7aff9f;            /* neon highlight for headers */
  --accent-soft:  rgba(56,178,113,.18);
  --accent-glow:  rgba(56,178,113,.24);

  --serif:  'Instrument Serif', Georgia, serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono:   'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius:    14px;
  --radius-sm: 8px;

  --gutter: clamp(20px, 4vw, 40px);
  --max:    1240px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(56,178,113,.07), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(212,206,182,.35), transparent 65%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Subtle paper grain */
body::before{
  content:"";
  position: fixed; inset: 0;
  pointer-events: none;
  opacity: .35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PGZlQ29sb3JNYXRyaXggdmFsdWVzPScwIDAgMCAwIDAgIDAgMCAwIDAgMCAgMCAwIDAgMCAwICAwIDAgMCAwLjA1IDAnLz48L2ZpbHRlcj48cmVjdCB3aWR0aD0nMTAwJScgaGVpZ2h0PScxMDAlJyBmaWx0ZXI9J3VybCglMjNuKScvPjwvc3ZnPg==");
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }

::selection{ background: var(--accent); color: var(--ink); }

.container{ width:100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); position: relative; }

/* === Typography utilities === */
.eyebrow{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before{
  content: "";
  width: 6px; height: 6px;
  background: var(--accent);
  display: inline-block;
}
.serif{ font-family: var(--serif); font-weight: 400; letter-spacing: -.012em; }
.italic{ font-style: italic; }

h1.display{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(46px, 8.4vw, 128px);
  line-height: .98;
  letter-spacing: -.03em;
  color: var(--ink);
}
h1.display .lead-in{
  display:block; font-family: var(--mono); font-weight:500;
  font-size: clamp(11px, 1.1vw, 13px); letter-spacing:.15em; text-transform:uppercase;
  color: var(--ink-3); margin-bottom: 28px;
}
h2.section-title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.025em;
  color: var(--ink);
  max-width: 22ch;
}
h2.section-title em{ color: var(--accent); font-style: italic; }
.lead{
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--ink-2);
  max-width: 60ch;
  line-height: 1.55;
  font-weight: 400;
}

/* === Buttons === */
.btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px 13px 24px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.005em;
  border: 1px solid transparent;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), background .2s, color .2s, border-color .2s, box-shadow .25s;
  white-space: nowrap;
}
.btn .arrow{
  width: 16px; height: 16px;
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.btn:hover .arrow{ transform: translate(3px,-3px); }
.btn-primary{
  background: var(--ink);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 8px 24px -8px rgba(10,10,18,.35);
}
.btn-primary:hover{ background: #1a1a24; transform: translateY(-1px); }
.btn-ghost{
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover{ border-color: var(--ink); background: rgba(10,10,18,.03); }
.btn-accent{
  background: var(--accent);
  color: var(--ink);
  box-shadow: 0 8px 30px -10px var(--accent-glow);
}
.btn-accent:hover{ filter: brightness(.98); transform: translateY(-1px); }

/* === Logo === */
.lockup{ display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.lockup .mark{
  width: 24px; height: 24px;
  display: grid; place-items: center;
  position: relative;
}
.lockup .mark .outer,
.lockup .mark .inner{ position: absolute; }
.lockup .mark .outer{
  width: 16px; height: 16px;
  border: 1.6px solid var(--ink);
  transform: rotate(45deg);
}
.lockup .mark .inner{
  width: 4px; height: 4px;
  background: var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 0 0 var(--accent-glow);
  animation: markPulse 3.6s ease-in-out infinite;
}
@keyframes markPulse{
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50%      { box-shadow: 0 0 0 6px rgba(56,178,113,0); }
}
.lockup .word{
  font-family: var(--mono);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -.04em;
  color: var(--ink);
}

/* ============================================================
   NAV
   ============================================================ */
.nav{
  position: sticky; top: 0; z-index: 80;
  padding: 14px 0;
  background: rgba(244,242,236,.78);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s;
}
.nav.scrolled{ border-bottom-color: var(--line); }
.nav-inner{
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.nav-links{
  display: flex; align-items: center; gap: 32px;
  font-family: var(--mono); font-size: 12.5px;
  letter-spacing: -.01em;
}
.nav-links a{
  color: var(--ink-2);
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.nav-links a:hover{ color: var(--ink); }
.nav-links a::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px;
  background: var(--ink); transition: right .25s ease;
}
.nav-links a:hover::after{ right: 0; }
.nav-cta{ display: inline-flex; }
.nav-burger{
  display: none;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: 999px;
}
.nav-burger span{ width: 16px; height: 1.2px; background: var(--ink); position: relative; transition: transform .3s, opacity .3s; }
.nav-burger span::before, .nav-burger span::after{
  content:""; position: absolute; left: 0; right: 0; height: 1.2px; background: var(--ink); transition: transform .3s;
}
.nav-burger span::before{ top: -5px; }
.nav-burger span::after{ top: 5px; }
.nav-burger.open span{ background: transparent; }
.nav-burger.open span::before{ top: 0; transform: rotate(45deg); }
.nav-burger.open span::after{  top: 0; transform: rotate(-45deg); }

/* Mobile menu sheet */
.mobile-sheet{
  position: fixed; inset: 64px 0 0;
  background: var(--paper);
  z-index: 70;
  padding: 32px var(--gutter);
  transform: translateY(-12px);
  opacity: 0; pointer-events: none;
  transition: opacity .25s, transform .25s;
  display: flex; flex-direction: column; gap: 28px;
  border-top: 1px solid var(--line);
}
.mobile-sheet.open{ opacity: 1; transform: translateY(0); pointer-events: auto; }
.mobile-sheet a.row{
  font-family: var(--serif);
  font-size: 36px;
  line-height: 1;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-sheet a.row span.idx{
  font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .1em;
}
.mobile-sheet .m-cta{ margin-top: 16px; align-self: flex-start; }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  padding: clamp(56px, 9vw, 120px) 0 clamp(48px, 7vw, 90px);
  overflow: hidden;
}
.hero-grid{
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(10,10,18,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10,10,18,.045) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 90%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 90%);
  pointer-events: none;
  opacity: .9;
}
.hero-inner{
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr .9fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}
.hero h1.display .ai-mark{ position: relative; display: inline-block; }
.hero h1.display .ai-mark::after{
  content:"";
  position: absolute; left: 0; right: 0; bottom: .08em;
  height: .14em; background: var(--accent-bright);
  z-index: -1; transform: scaleX(0); transform-origin: left;
  animation: underline 1.2s .4s cubic-bezier(.6,.1,.1,1) forwards;
}
@keyframes underline{ to{ transform: scaleX(1); } }

.hero-meta{
  display: flex; flex-direction: column; gap: 24px;
  padding-bottom: 6px;
}
.hero-meta .est{
  font-family: var(--mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3);
  display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: center;
}
.hero-meta .est::after{ content:""; height: 1px; background: var(--line-2); }
.hero-blurb{
  font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 38ch;
}
.hero-actions{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }

/* Hero floating panel */
.hero-panel{
  margin-top: clamp(48px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.5);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.hero-panel .cell{
  padding: 22px 24px;
  border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 8px;
}
.hero-panel .cell:last-child{ border-right: 0; }
.hero-panel .cell .k{ font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.hero-panel .cell .v{ font-family: var(--sans); font-weight: 700; font-size: clamp(24px, 3vw, 30px); line-height: 1.05; color: var(--ink); letter-spacing: -.02em; }
.hero-panel .cell .v small{ font-family: var(--sans); font-size: 10px; color: var(--ink-3); margin-left: 6px; vertical-align: 4px; letter-spacing: .12em; }

.hero-orbit{
  position: absolute;
  top: 8%; right: -10%;
  width: 540px; height: 540px;
  pointer-events: none;
  z-index: -1;
  opacity: .55;
}
.hero-orbit svg{ width: 100%; height: 100%; }
.hero-orbit .ring{ fill: none; stroke: rgba(10,10,18,.07); stroke-width: 1; }
.hero-orbit .dot{ fill: var(--accent); }
.hero-orbit g.spin{ transform-origin: center; animation: spin 36s linear infinite; }
.hero-orbit g.spin.rev{ animation-duration: 52s; animation-direction: reverse; }
@keyframes spin{ to { transform: rotate(360deg); } }

/* Marquee logo strip */
.trust{
  position: relative;
  padding: 52px 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: rgba(255,255,255,.35);
}
.trust .label{
  position: absolute; left: 50%; top: 18px; transform: translateX(-50%);
  background: var(--paper); padding: 0 14px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.marquee{ display: flex; gap: 64px; animation: marquee 40s linear infinite; width: max-content; }
.marquee span{
  font-family: var(--mono); font-size: 13px; color: var(--ink-2);
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
}
.marquee span::before{ content: "✦"; color: var(--accent); font-size: 10px; }
@keyframes marquee{ to { transform: translateX(-50%); } }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section.block{
  position: relative;
  padding: clamp(72px, 9vw, 128px) 0;
  border-top: 1px solid var(--line);
}
section.block.no-border{ border-top: 0; }
.section-head{
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 48px; align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head .left{ display: flex; flex-direction: column; gap: 16px; }
.section-head .right{ padding-bottom: 6px; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.svc{
  padding: 32px 28px 28px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  position: relative;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 320px;
  transition: background .25s, transform .25s;
}
.svc::before{
  content:""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(56,178,113,0) 0%, rgba(56,178,113,.07) 100%);
  opacity: 0; transition: opacity .25s;
}
.svc:hover{ background: #fff; }
.svc:hover::before{ opacity: 1; }
.svc .num{ font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-3); }
.svc .glyph{
  width: 44px; height: 44px;
  border: 1px solid var(--line-2); border-radius: 10px;
  display: grid; place-items: center;
  margin: 12px 0 16px;
  background: rgba(255,255,255,.6);
  position: relative;
}
.svc h3{
  font-family: var(--sans);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.25;
  letter-spacing: -.025em;
  color: var(--ink);
}
.svc p{ font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.svc .tags{ margin-top: auto; padding-top: 16px; display: flex; flex-wrap: wrap; gap: 6px; }
.svc .tag{
  font-family: var(--mono); font-size: 11px; letter-spacing: .02em;
  color: var(--ink-2);
  padding: 4px 10px; border-radius: 999px;
  background: rgba(10,10,18,.04);
  border: 1px solid var(--line);
}

/* ============================================================
   PROCESS
   ============================================================ */
.process{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  margin-top: 24px;
}
.process::before{
  content:""; position: absolute; left: 0; right: 0; top: 28px; height: 1px;
  background: var(--line-2);
}
.process .step{
  padding: 0 24px 0 0;
  position: relative;
  display: flex; flex-direction: column; gap: 14px;
}
.process .step .dot{
  position: relative; width: 14px; height: 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 50%;
  margin-top: 22px;
  z-index: 1;
}
.process .step .dot::after{
  content:""; position: absolute; inset: 3px; border-radius: 50%;
  background: var(--accent);
  transform: scale(0); transition: transform .25s;
}
.process .step.active .dot::after,
.process .step:hover .dot::after{ transform: scale(1); }
.process .step .num{ font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--ink-3); margin-top: 8px; }
.process .step h3{
  font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: -.025em;
}
.process .step p{ font-size: 14px; color: var(--ink-2); line-height: 1.55; max-width: 28ch; }

/* ============================================================
   TECH STACK
   ============================================================ */
.stack-grid{
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.45);
}
.stack-row{
  display: contents;
}
.stack-row > .label{
  padding: 22px 24px;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.stack-row > .chips{
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center;
}
.stack-row:first-child > *{ border-top: 0; }
.chip{
  font-family: var(--mono); font-size: 12.5px;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(10,10,18,.04);
  border: 1px solid var(--line);
  color: var(--ink-2);
  transition: background .2s, color .2s, border-color .2s;
}
.chip.primary{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip.glow{ background: var(--accent); color: var(--ink); border-color: transparent; }
.chip:hover{ background: #fff; color: var(--ink); border-color: var(--ink); }

/* ============================================================
   DIFFERENTIATORS
   ============================================================ */
.diff-band{
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.diff-band .eyebrow{ color: rgba(237,234,226,.6); }
.diff-band h2.section-title{ color: #edeae2; }
.diff-band h2.section-title em{ color: var(--accent-bright); }
.diff-band .lead{ color: rgba(237,234,226,.7); }
.diff-grid{
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(244,242,236,.12);
  border-left: 1px solid rgba(244,242,236,.12);
}
.diff{
  padding: 32px 28px 36px;
  border-right: 1px solid rgba(244,242,236,.12);
  border-bottom: 1px solid rgba(244,242,236,.12);
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.diff .key{
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--accent);
}
.diff h3{
  font-family: var(--sans); font-weight: 600; font-size: 17px; line-height: 1.25; letter-spacing: -.025em;
  color: #edeae2;
}
.diff p{ font-size: 14.5px; color: rgba(244,242,236,.65); line-height: 1.6; }

/* ============================================================
   PILOT
   ============================================================ */
.pilot{
  display: grid; grid-template-columns: 1.05fr .95fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.55);
}
.pilot .left{
  padding: clamp(28px,4vw,48px);
  display: flex; flex-direction: column; gap: 40px;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(60% 70% at 100% 100%, rgba(56,178,113,.18), transparent 60%),
    rgba(255,255,255,.4);
}
.pilot .left .price{
  font-family: var(--mono); font-weight: 400;
  font-size: clamp(52px, 6.5vw, 88px);
  line-height: 1; letter-spacing: -.03em; color: var(--ink);
  display: flex; align-items: flex-start; gap: 4px;
}
.pilot .left .price sup{
  font-size: .5em; font-family: var(--mono); font-weight: 400; color: var(--ink-3); margin-top: .15em;
}
.pilot .left .price-meta{
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.pilot .left h3{
  font-family: var(--sans); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.2; letter-spacing: -.03em;
}
.pilot .left p{ font-size: 15px; color: var(--ink-2); line-height: 1.55; max-width: 42ch; }

.pilot .right{
  padding: clamp(28px,4vw,48px);
  display: flex; flex-direction: column; gap: 18px;
}
.pilot ul{ list-style: none; display: flex; flex-direction: column; }
.pilot li{
  display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px; color: var(--ink);
}
.pilot li:last-child{ border-bottom: 0; }
.pilot li .check{
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent); color: var(--ink);
  display: grid; place-items: center; margin-top: 2px;
  font-size: 12px; font-weight: 600;
}
.pilot .right .ftnote{
  margin-top: 8px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; color: var(--ink-3);
  display: flex; gap: 8px; align-items: baseline;
}
.pilot .right .ftnote::before{ content: "→"; color: var(--accent); }
.pilot .right .cta{ margin-top: 10px; }

/* ============================================================
   CONTACT / CALENDLY
   ============================================================ */
.contact{
  display: grid; grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: stretch;
}
.contact-left{ display: flex; flex-direction: column; gap: 28px; padding-block: 8px; }
.contact-left h2.section-title{ max-width: 18ch; }
.channels{ display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.channel{
  display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.45);
  transition: background .2s, border-color .2s, transform .2s;
}
.channel:hover{ background: #fff; border-color: var(--ink); transform: translateY(-1px); }
.channel .ico{ width: 22px; height: 22px; color: var(--ink-3); }
.channel .meta{ display: flex; flex-direction: column; gap: 1px; }
.channel .meta .k{ font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.channel .meta .v{ font-size: 15px; color: var(--ink); font-weight: 500; }
.channel .arrow{ color: var(--ink-3); width: 16px; height: 16px; transition: transform .2s, color .2s; }
.channel:hover .arrow{ color: var(--ink); transform: translate(2px,-2px); }

.cal-card{
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(56,178,113,.18), transparent 60%),
    #fff;
  display: flex; flex-direction: column; gap: 16px;
  min-height: 520px;
  overflow: hidden;
}
.cal-card .head{ display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.cal-card .head .title{ font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.cal-card .head .pill{ font-family: var(--mono); font-size: 11px; padding: 4px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); }
.cal-card h3{
  font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; letter-spacing: -.022em;
  max-width: 18ch;
}
.cal-card .meta{ display: flex; flex-wrap: wrap; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cal-card .meta .item{ display: flex; gap: 8px; align-items: center; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.cal-card .meta .item svg{ width: 16px; height: 16px; color: var(--ink-3); }

/* Calendly grid mock */
.cal-grid{ flex: 1; display: grid; grid-template-columns: 110px 1fr; gap: 16px; min-height: 240px; }
.cal-days{ display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.cal-day{
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border-radius: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--ink-2);
  background: rgba(10,10,18,.03);
  cursor: pointer; transition: background .15s, color .15s;
  border: 1px solid transparent;
}
.cal-day:hover{ background: #fff; color: var(--ink); border-color: var(--line); }
.cal-day.active{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cal-day .dnum{ opacity: .6; font-size: 11px; }
.cal-day.active .dnum{ opacity: .85; color: var(--accent); }

.cal-slots{ display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; align-content: start; }
.slot{
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--mono); font-size: 12px; color: var(--ink);
  background: rgba(255,255,255,.6);
  text-align: left; cursor: pointer; transition: all .15s;
}
.slot:hover{ border-color: var(--ink); background: #fff; }
.slot.taken{ opacity: .35; text-decoration: line-through; cursor: not-allowed; pointer-events: none; }
.slot.selected{ background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cal-card .confirm{ margin-top: 4px; align-self: flex-start; }
.cal-card .confirm:disabled{ opacity: .4; cursor: not-allowed; }

/* ============================================================
   FOOTER
   ============================================================ */
footer{
  position: relative;
  padding: clamp(56px, 6vw, 80px) 0 28px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.foot-mast{
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: end;
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.foot-mast .word-mark{
  display: block;
  line-height: 1;
}
.foot-logo-img{
  display: block;
  width: clamp(220px, 38vw, 500px);
  height: auto;
  max-width: 100%;
}
.foot-mark-wrap{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1em;
  height: 1.1em;
  margin: 0 0 0 0.14em;
  color: var(--accent);
}
.foot-mark-svg{
  width: .46em; height: .46em;
  display: block;
  color: inherit;
  overflow: visible;
}
.foot-mast .right{ display: flex; flex-direction: column; gap: 14px; }
.foot-mast .right .quote{
  font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2vw, 26px); line-height: 1.2; color: var(--ink); max-width: 28ch;
}
.foot-mast .right .small{ font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; }

.foot-bottom{
  padding-top: 24px;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px;
  font-family: var(--mono); font-size: 12.5px;
}
.foot-col h4{
  font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
  margin-bottom: 12px;
}
.foot-col a{ color: var(--ink-2); display: block; padding: 4px 0; transition: color .15s; }
.foot-col a:hover{ color: var(--ink); }
.foot-meta{
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .04em;
  flex-wrap: wrap; gap: 12px;
}
.foot-meta .left{ display: inline-flex; align-items: center; gap: 12px; }
.foot-meta .left .lockup{ transform: scale(.85); transform-origin: left center; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.in{ opacity: 1; transform: translateY(0); }
.reveal.delay-1{ transition-delay: .08s; }
.reveal.delay-2{ transition-delay: .16s; }
.reveal.delay-3{ transition-delay: .24s; }
.reveal.delay-4{ transition-delay: .32s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px){
  .services-grid{ grid-template-columns: repeat(2, 1fr); }
  .diff-grid{ grid-template-columns: repeat(2, 1fr); }
  .hero-orbit{ width: 420px; height: 420px; right: -18%; top: 16%; }
}
@media (max-width: 880px){
  .nav-links{ display: none; }
  .nav-cta{ display: none; }
  .nav-burger{ display: inline-flex; }
  .hero-inner{ grid-template-columns: 1fr; align-items: start; gap: 24px; }
  .hero-meta{ order: 2; }
  .hero-orbit{ display: none; }
  .hero-panel{ grid-template-columns: repeat(2, 1fr); }
  .hero-panel .cell{ border-bottom: 1px solid var(--line); }
  .hero-panel .cell:nth-child(2){ border-right: 0; }
  .hero-panel .cell:nth-child(3), .hero-panel .cell:nth-child(4){ border-bottom: 0; }
  .section-head{ grid-template-columns: 1fr; gap: 18px; align-items: start; }
  .process{ grid-template-columns: 1fr 1fr; gap: 32px 24px; }
  .process::before{ display: none; }
  .pilot{ grid-template-columns: 1fr; }
  .pilot .left{ border-right: 0; border-bottom: 1px solid var(--line); }
  .contact{ grid-template-columns: 1fr; }
  .foot-mast{ grid-template-columns: 1fr; align-items: start; }
  .foot-bottom{ grid-template-columns: 1fr 1fr; }
  .stack-grid{ grid-template-columns: 1fr; }
  .stack-row > .label{ border-right: 0; padding-bottom: 0; }
  .stack-row > .chips{ padding-top: 8px; }
}
@media (max-width: 640px){
  .services-grid{ grid-template-columns: 1fr; }
  .diff-grid{ grid-template-columns: 1fr; }
  .hero-panel{ grid-template-columns: 1fr; }
  .hero-panel .cell{ border-right: 0; }
  .hero-panel .cell:not(:last-child){ border-bottom: 1px solid var(--line); }
  .foot-bottom{ grid-template-columns: 1fr; }
  .faq-q{ font-size: 16px; padding: 18px 20px; }
  .faq-a{ padding: 0 20px 18px; }
  .workflow-header{ padding: 24px; }
  .workflow-diagram{ padding: 24px; overflow-x: auto; }
  .principle-grid{ grid-template-columns: 1fr; }
  .principle{ border-right: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child{ border-bottom: 0; }
}

/* ============================================================
   WORKFLOW / CASE STUDY
   ============================================================ */
.workflow-card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.55);
  overflow: hidden;
}
.workflow-header{
  padding: 32px 36px;
  border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(56,178,113,.04);
}
.workflow-header .problem{
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.workflow-header h3{
  font-family: var(--sans); font-weight: 700; font-size: clamp(18px, 2vw, 24px);
  line-height: 1.2; letter-spacing: -.03em; color: var(--ink);
}
.workflow-header .outcome{
  font-size: 14.5px; color: var(--ink-2); max-width: 68ch; line-height: 1.6;
}
.workflow-body{
  display: grid; grid-template-columns: minmax(0, 1fr);
}
.workflow-diagram{
  min-width: 0;
  padding: 32px 36px;
}
.w-label{
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 12px; display: block;
}
.workflow-diagram .flow{
  display: flex; align-items: center; gap: 0; flex-wrap: nowrap; overflow-x: auto;
  padding: 12px 0;
}
.flow-node{
  background: rgba(10,10,18,.04); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 16px;
  min-width: 110px; text-align: center; flex-shrink: 0;
}
.flow-node .node-label{
  font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); display: block; margin-bottom: 4px;
}
.flow-node .node-name{
  font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.3;
}
.flow-arrow{
  width: 32px; flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  color: var(--accent); font-size: 16px; font-family: var(--mono);
}
.workflow-tech-tags{
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; align-items: center;
}

.metric-card{
  padding: 18px 20px;
  background: rgba(56,178,113,.08); border: 1px solid rgba(56,178,113,.18);
  border-radius: 10px; display: flex; flex-direction: column; gap: 6px;
}
.metric-card .metric-val{
  font-family: var(--sans); font-weight: 700; font-size: 26px; letter-spacing: -.03em;
  color: var(--ink); line-height: 1;
}
@media (max-width: 880px){
  .workflow-body{ grid-template-columns: 1fr; }

}

/* ============================================================
   TEAM / FOUNDER
   ============================================================ */
.team-band{ background: var(--paper-2); }
.team-intro{
  font-size: clamp(16px, 1.2vw, 19px); color: var(--ink-2);
  line-height: 1.6; max-width: 62ch;
}
.principle-grid{
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.principle{
  padding: 32px 28px 36px; border-right: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
  background: rgba(255,255,255,.35); transition: background .25s;
}
.principle:last-child{ border-right: 0; }
.principle:hover{ background: rgba(255,255,255,.6); }
.principle .p-key{
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.principle h3{
  font-family: var(--sans); font-weight: 600; font-size: 17px;
  line-height: 1.3; letter-spacing: -.025em; color: var(--ink);
}
.principle p{ font-size: 14.5px; color: var(--ink-2); line-height: 1.6; }
@media (max-width: 880px){
  .principle-grid{ grid-template-columns: 1fr; }
  .principle{ border-right: 0; border-bottom: 1px solid var(--line); }
  .principle:last-child{ border-bottom: 0; }
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list{
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: rgba(255,255,255,.45);
}
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-item:last-child{ border-bottom: 0; }
.faq-q{
  width: 100%; text-align: left;
  padding: 22px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: none; border: 0; cursor: pointer;
  font-family: var(--sans); font-weight: 500; font-size: 15px; line-height: 1.4;
  letter-spacing: -.015em; color: var(--ink);
  transition: background .2s;
}
.faq-q:hover{ background: rgba(255,255,255,.7); }
.faq-icon{
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid var(--line-2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 16px; color: var(--ink-3);
  transition: transform .25s, background .2s, border-color .2s, color .2s;
}
.faq-item.open .faq-icon{
  background: var(--accent); border-color: var(--accent); color: var(--ink);
  transform: rotate(45deg);
}
.faq-a{
  padding: 0 28px 24px;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.65;
  display: none; max-width: 68ch;
}
.faq-item.open .faq-a{ display: block; }

/* ============================================================
   BOOKING CARD (replaces Calendly mock)
   ============================================================ */
.booking-card{
  position: relative;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(28px, 4vw, 48px);
  background:
    radial-gradient(60% 60% at 100% 0%, rgba(56,178,113,.18), transparent 60%),
    #fff;
  display: flex; flex-direction: column; gap: 24px;
  min-height: 380px;
}
.booking-card .head{
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.booking-card .head .title{
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-3);
}
.booking-card .head .pill{
  font-family: var(--mono); font-size: 11px; padding: 4px 10px;
  border-radius: 999px; background: var(--accent); color: var(--ink);
}
.booking-card h3{
  font-family: var(--sans); font-weight: 700; font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.2; letter-spacing: -.03em; max-width: 20ch;
}
.booking-bullets{
  list-style: none; display: flex; flex-direction: column; gap: 14px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 20px 0;
}
.booking-bullets li{
  display: grid; grid-template-columns: 18px 1fr; gap: 12px;
  font-size: 14.5px; color: var(--ink-2); line-height: 1.5; align-items: start;
}
.booking-bullets li::before{
  content: "→"; color: var(--accent);
  font-family: var(--mono); font-size: 13px; margin-top: 1px;
}
.book-actions{ display: flex; flex-direction: column; gap: 10px; }
.book-note{
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  color: var(--ink-3); margin-top: 4px;
}

.pilot-price-block{ display: flex; flex-direction: column; gap: 10px; }
.pilot-desc-block{ display: flex; flex-direction: column; gap: 14px; }

/* Price range note */
.price-range-note{
  font-family: var(--mono); font-size: 12px; letter-spacing: .06em;
  color: var(--ink-3); margin-top: -8px;
}


/* ============================================================
   TWEAKS — COLOR MOOD: NIGHT
   ============================================================ */
html.theme-night {
  --paper:   #090b14;
  --paper-2: #0e1220;
  --card:    #131825;
  --ink:     #edeae2;
  --ink-2:   #9ca8b8;
  --ink-3:   #4f5a6a;
  --ink-4:   #2e3642;
  --line:    rgba(237,234,226,.08);
  --line-2:  rgba(237,234,226,.13);
}
html.theme-night body {
  background-color: var(--paper);
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(56,178,113,.04), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(0,15,40,.8), transparent 65%);
}
html.theme-night body::before { opacity: .12; }
html.theme-night .nav          { background: rgba(9,11,20,.9) !important; border-bottom-color: var(--line) !important; }
html.theme-night .mobile-sheet { background: var(--paper); border-top-color: var(--line); }
html.theme-night .hero-panel   { background: rgba(19,24,37,.7); }
html.theme-night .trust        { background: rgba(0,0,0,.3); border-color: var(--line); }
html.theme-night .svc          { background: var(--paper); }
html.theme-night .svc:hover    { background: var(--card); }
html.theme-night .svc .glyph  { background: rgba(255,255,255,.04); }
html.theme-night .stack-grid   { background: rgba(19,24,37,.45); }
/* Diff-band is already dark — keep it hard-dark so it doesn't invert */
html.theme-night .diff-band    { background: #04060e; border-top-color: rgba(237,234,226,.08); border-bottom-color: rgba(237,234,226,.08); }
html.theme-night .pilot        { background: rgba(19,24,37,.55); }
html.theme-night .pilot .left  { background: radial-gradient(60% 70% at 100% 100%, rgba(56,178,113,.08), transparent 60%), rgba(255,255,255,.03); }
html.theme-night .pilot .left .price { color: var(--ink); }
html.theme-night .cal-card     { background: radial-gradient(60% 60% at 100% 0%, rgba(56,178,113,.08), transparent 60%), var(--card); }
html.theme-night .cal-day      { background: rgba(10,10,20,.5); }
html.theme-night .cal-day:hover{ background: var(--card); }
html.theme-night .slot         { background: rgba(10,10,20,.5); }
html.theme-night .slot:hover   { background: var(--card); }
html.theme-night .channel      { background: rgba(19,24,37,.45); }
html.theme-night .channel:hover{ background: var(--card); border-color: var(--ink); }
html.theme-night .btn-accent    { background: var(--accent); box-shadow: 0 8px 30px -10px rgba(56,178,113,.18); }
html.theme-night .chip.glow                  { background: var(--accent); color: var(--ink); border-color: transparent; }
html.theme-night .cal-card .head .pill       { background: var(--accent); color: var(--ink); }
html.theme-night .cal-day.active .dnum       { opacity: .85; color: var(--accent); }
html.theme-night .hero-orbit .dot            { fill: var(--accent); }
html.theme-night footer        { background: var(--paper); }
/* On light themes the lockup.svg (light-colored) needs to become dark */
html:not(.theme-night) .foot-logo-img { filter: brightness(0); }
html.theme-night .workflow-card{ background: rgba(19,24,37,.55); }
html.theme-night .workflow-header{ background: rgba(56,178,113,.03); }

/* Flow nodes — consistent dark treatment */
html.theme-night .flow-node {
  background: rgba(237,234,226,.05);
  border-color: rgba(237,234,226,.13);
}
html.theme-night .flow-node .node-label { color: rgba(237,234,226,.4); }
html.theme-night .flow-node .node-name  { color: rgba(237,234,226,.88); }
/* Chips in night mode */
html.theme-night .chip {
  background: rgba(237,234,226,.06);
  border-color: rgba(237,234,226,.13);
  color: rgba(237,234,226,.72);
}
html.theme-night .chip.primary {
  background: rgba(237,234,226,.12);
  border-color: rgba(237,234,226,.22);
  color: #edeae2;
}

html.theme-night .metric-card  { background: rgba(56,178,113,.06); border-color: rgba(56,178,113,.12); }
html.theme-night .team-band    { background: var(--paper-2); }
html.theme-night .principle    { background: rgba(19,24,37,.45); }
html.theme-night .principle:hover { background: rgba(19,24,37,.8); }
html.theme-night .faq-list     { background: rgba(19,24,37,.45); }
html.theme-night .faq-q:hover  { background: rgba(19,24,37,.7); }
html.theme-night .booking-card { background: radial-gradient(60% 60% at 100% 0%, rgba(56,178,113,.08), transparent 60%), var(--card); }

/* ============================================================
   TWEAKS — COLOR MOOD: SLATE
   ============================================================ */
html.theme-slate {
  --paper:         #eef0f6;
  --paper-2:       #e4e7ee;
  --card:          #ffffff;
  --ink:           #131519;
  --ink-2:         #3c3f4a;
  --ink-3:         #747887;
  --line:          #dcdfe8;
  --line-2:        #ccd0dc;
  --accent:        #1955d4;
  --accent-bright: #6699ff;
  --accent-soft:   rgba(102,153,255,.18);
  --accent-glow:   rgba(102,153,255,.35);
}
html.theme-slate body {
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(102,153,255,.08), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(190,195,214,.5), transparent 65%);
}
html.theme-slate .lockup .mark .inner       { background: #6699ff; }
html.theme-slate .eyebrow::before            { background: #6699ff; }
html.theme-slate .hero h1 .ai-mark::after    { background: #6699ff; }
html.theme-slate .btn-accent                 { background: #6699ff; box-shadow: 0 8px 30px -10px rgba(102,153,255,.4); }
html.theme-slate .pilot .left                { background: radial-gradient(60% 70% at 100% 100%, rgba(102,153,255,.18), transparent 60%), rgba(255,255,255,.4); }
html.theme-slate .chip.glow                  { background: #6699ff; }
html.theme-slate .cal-card                   { background: radial-gradient(60% 60% at 100% 0%, rgba(102,153,255,.18), transparent 60%), #fff; }
html.theme-slate .cal-card .head .pill       { background: #6699ff; }
html.theme-slate .foot-mast .word-mark .glow { color: #1955d4; }
html.theme-slate .hero-orbit .dot            { fill: #6699ff; }
html.theme-slate .diff-band h2.section-title em { color: #6699ff; }

/* ============================================================
   TWEAKS — TYPE EXPRESSION: TECHNICAL (mono everywhere)
   ============================================================ */
html.type-technical h1.display {
  font-family: var(--mono);
  font-size: clamp(32px, 6.6vw, 96px);
  line-height: 1.04;
  letter-spacing: -.04em;
}
html.type-technical h2.section-title {
  font-family: var(--mono);
  font-size: clamp(24px, 3.6vw, 48px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
html.type-technical .pilot .left h3,
html.type-technical .cal-card h3 {
  font-family: var(--mono);
  font-size: clamp(18px, 2.2vw, 26px);
  letter-spacing: -.03em;
  line-height: 1.2;
}
html.type-technical .foot-mast .word-mark {
  font-family: var(--mono);
  letter-spacing: -.07em;
}
html.type-technical .foot-mast .right .quote {
  font-family: var(--mono);
  font-style: normal;
  font-size: clamp(12px, 1.1vw, 15px);
  letter-spacing: -.015em;
}
html.type-technical .svc h3,
html.type-technical .process .step h3,
html.type-technical .diff h3 {
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: -.02em;
}

/* ============================================================
   TWEAKS — TYPE EXPRESSION: HUMANIST (sans-only, no serif)
   ============================================================ */
html.type-humanist h1.display {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(38px, 7.6vw, 112px);
  letter-spacing: -.04em;
  line-height: 1.0;
}
html.type-humanist h1.display .italic,
html.type-humanist h2.section-title em {
  font-style: normal;
  font-weight: 900;
}
html.type-humanist h2.section-title em { color: var(--accent); }
html.type-humanist h2.section-title {
  font-family: var(--sans);
  font-weight: 700;
  font-size: clamp(28px, 4.2vw, 56px);
  letter-spacing: -.04em;
  line-height: 1.06;
}
html.type-humanist .pilot .left h3,
html.type-humanist .cal-card h3 {
  font-family: var(--sans);
  font-weight: 700;
  letter-spacing: -.03em;
}
html.type-humanist .foot-mast .word-mark {
  font-family: var(--sans);
  font-weight: 900;
  letter-spacing: -.055em;
}
html.type-humanist .foot-mast .right .quote {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(14px, 1.4vw, 18px);
}
html.type-humanist .svc h3,
html.type-humanist .process .step h3,
html.type-humanist .diff h3 {
  font-weight: 600;
  letter-spacing: -.025em;
}

html.type-humanist .hero h1.display {
  font-family: var(--sans);
  font-weight: 800;
  font-size: clamp(42px, 7.4vw, 96px);
  line-height: 1.02;
  letter-spacing: -.04em;
}
html.type-humanist .hero h1.display .ai-mark,
html.type-humanist .hero h1.display .italic,
html.type-humanist .hero h1.display .serif {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 800;
}
html.type-humanist .hero-panel .cell .v {
  font-family: var(--sans);
  font-size: clamp(24px, 3vw, 30px);
  line-height: 1.05;
  letter-spacing: -.02em;
}
html.type-humanist .hero-panel .cell .v small {
  font-family: var(--sans);
  font-size: 10px;
}

/* ============================================================
   TWEAKS — SURFACE: STARK (zero decoration, hard edges)
   ============================================================ */
html.surface-stark body {
  background-image: none;
}
html.surface-stark body::before    { display: none; }
html.surface-stark .hero-orbit     { display: none; }
html.surface-stark .hero-grid      { background-image: none; }
html.surface-stark .lockup .mark .inner { animation: none; }
html.surface-stark .hero-panel,
html.surface-stark .stack-grid,
html.surface-stark .pilot,
html.surface-stark .cal-card,
html.surface-stark .channel        { border-radius: 0; }
html.surface-stark .svc            { border-radius: 0; }
html.surface-stark .svc .glyph    { border-radius: 0; }
html.surface-stark .btn            { border-radius: 0; }
html.surface-stark .btn-primary    { box-shadow: none; }
html.surface-stark .btn-accent     { box-shadow: none; }
html.surface-stark .chip           { border-radius: 0; }
html.surface-stark .tag            { border-radius: 0; }
html.surface-stark .cal-day        { border-radius: 0; }
html.surface-stark .slot           { border-radius: 0; }
html.surface-stark .hero-badge     { border-radius: 0; }
html.surface-stark .trust          { border-color: var(--ink); }
html.surface-stark .pilot .left    {
  background: none;
  border-bottom: 1px solid var(--line);
}

/* ============================================================
   TWEAKS — SURFACE: EXPRESSIVE (depth, grain, rounded)
   ============================================================ */
html.surface-expressive body::before { opacity: .65; filter: contrast(1.1); }
html.surface-expressive .hero-panel {
  border-radius: 24px;
  box-shadow: 0 12px 60px -16px rgba(10,10,18,.14);
}
html.surface-expressive .pilot {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 80px -20px rgba(10,10,18,.16);
}
html.surface-expressive .stack-grid {
  border-radius: 24px;
  box-shadow: 0 8px 40px -12px rgba(10,10,18,.1);
}
html.surface-expressive .cal-card {
  border-radius: 28px;
  box-shadow: 0 16px 64px -18px rgba(10,10,18,.18);
}
html.surface-expressive .svc         { border-radius: 20px; overflow: hidden; }
html.surface-expressive .svc .glyph { border-radius: 16px; }
html.surface-expressive .channel     { border-radius: 20px; box-shadow: 0 4px 24px -6px rgba(10,10,18,.1); }
html.surface-expressive .btn         { border-radius: 20px; }
html.surface-expressive .btn-primary { box-shadow: 0 8px 28px -8px rgba(10,10,18,.4); }
html.surface-expressive .btn-accent  { box-shadow: 0 8px 32px -8px var(--accent-glow); }
html.surface-expressive .chip        { border-radius: 6px; }
html.surface-expressive .chip.primary,
html.surface-expressive .chip.glow   { border-radius: 8px; }
html.surface-expressive .hero-orbit  { opacity: 1; }
html.surface-expressive .svc::before { opacity: 0.5 !important; }

/* Workflow positioning: retain the brand, give operational detail room to breathe. */
html.theme-night { --ink-3: #96a3b5; }
section[id], .anchor { scroll-margin-top: 100px; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 12px 20px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--accent-bright); outline-offset: 5px; }
.hero-inner { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 48px; }
html.type-humanist .hero h1.display { font-size: clamp(40px, 5.8vw, 76px); line-height: 1.06; }
.hero h1 .highlight { color: var(--accent-bright); }
.hero-panel { margin-top: 48px; }
.hero-panel .cell .k, .eyebrow, h1.display .lead-in, .hero-meta .est,
.svc .num, .w-label, .workflow-header .problem,
.booking-card .head .title, .book-note, .foot-col h4 { font-size: 12px; letter-spacing: .08em; }
.nav-links { gap: 24px; font-size: 14px; }
.hero-meta .est { display: block; }
.hero-blurb { max-width: 42ch; }
.hero-actions { margin-top: 0; }
.focus-strip { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 32px; padding: 22px var(--gutter); border-block: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.focus-strip span:first-child { color: var(--ink); font-weight: 600; }
.svc { min-height: 0; gap: 18px; }
.svc h3 { font-size: 23px; }
.svc p, .process .step p, .principle p, .diff p, .pilot .left p,
.workflow-header .outcome, .faq-a, .booking-bullets li { font-size: 16px; }
.svc .buyer { color: var(--accent-bright); font-size: 14px; }
.svc .workflow-detail { border-top: 1px solid var(--line); padding-top: 16px; }
.svc strong { display: block; color: var(--ink); font-weight: 500; margin-bottom: 6px; }
.svc .workflow-link { margin-top: auto; padding-top: 12px; font-size: 14px; text-decoration: underline; text-underline-offset: 5px; color: var(--accent-bright); }
.workflow-diagram .flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: stretch; gap: 10px; overflow: visible; list-style: none; margin: 0; }
.flow-node { min-width: 0; padding: 18px 10px; text-align: left; }
.flow-node .node-label { font-size: 12px; letter-spacing: .02em; }
.flow-node .node-name { font-size: 14px; }
.flow-node .node-detail { display: block; margin-top: 8px; color: var(--ink-2); font-size: 12px; line-height: 1.45; }
.flow-node { position: relative; display: flex; flex-direction: column; align-items: flex-start; }
.flow-icon { width: 30px; height: 30px; margin: 0 0 14px; }
.flow-connector { position: absolute; z-index: 2; top: 50%; right: -11px; width: 12px; height: 12px; overflow: visible; transform: translateY(-50%); color: var(--accent); pointer-events: none; }
.flow-connector path { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-dasharray: 3 4; }
.flow-connector .vertical, .flow-connector .packet-y { display: none; }
.flow-connector .packet { fill: currentColor; filter: drop-shadow(0 0 3px var(--accent)); animation: workflow-travel-x 2.8s ease-in-out infinite; }
.flow-node:nth-child(2) .flow-connector .packet { animation-delay: .55s; }
.flow-node:nth-child(3) .flow-connector .packet { animation-delay: 1.1s; }
.flow-node:nth-child(4) .flow-connector .packet { animation-delay: 1.65s; }
@keyframes workflow-travel-x { 0%, 10% { opacity: 0; transform: translateX(0); } 22%, 80% { opacity: 1; } 92%, 100% { opacity: 0; transform: translateX(8px); } }
.metric-card .metric-val { font-size: 21px; line-height: 1.2; }
.pilot .left .price { font-size: clamp(38px, 5vw, 60px); }
.pilot .left .price small { font-size: 18px; font-family: var(--sans); }
.pilot .left .price-meta, .pilot .right .ftnote { font-size: 14px; letter-spacing: 0; text-transform: none; }
.pilot .right .ftnote { line-height: 1.6; }
html.theme-night .booking-card { background: radial-gradient(60% 60% at 100% 0%, rgba(56,178,113,.12), transparent 60%), var(--card); }
html.theme-night .btn-accent, .booking-card .head .pill { color: #090b14; }
.foot-mast .right .quote { max-width: 40ch; }
.reveal { opacity: 1; transform: none; }
.faq-a { display: block; }
html.js .faq-a { display: none; }
html.js .faq-item.open .faq-a { display: block; }
.mobile-sheet { visibility: hidden; }
.mobile-sheet.open { visibility: visible; }
.faq-q { font-size: 16px; }
@media (max-width: 1080px) and (min-width: 881px) {
  .workflow-diagram .flow { grid-template-columns: 1fr; }
}
@media (max-width: 1080px) {
  .workflow-diagram .flow { grid-template-columns: 1fr; gap: 10px; }
  .flow-node { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; column-gap: 12px; }
  .flow-icon { grid-row: span 3; margin: 0; }
  .flow-node .node-label, .flow-node .node-name, .flow-node .node-detail { grid-column: 2; }
  .flow-connector { top: auto; right: auto; bottom: -11px; left: 19px; transform: none; }
  .flow-connector .horizontal, .flow-connector .packet-x { display: none; }
  .flow-connector .vertical, .flow-connector .packet-y { display: initial; }
  .flow-connector .packet-y { animation-name: workflow-travel-y; }
  @keyframes workflow-travel-y { 0%, 10% { opacity: 0; transform: translateY(0); } 22%, 80% { opacity: 1; } 92%, 100% { opacity: 0; transform: translateY(8px); } }
}
@media (max-width: 880px) {
  .hero-inner, .workflow-body { grid-template-columns: 1fr; }
  .workflow-diagram { border-right: 0; }
  .services-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding-top: 48px; }
  .hero-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-panel .cell { padding: 20px 16px; }
  .hero-panel .cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .hero-panel .cell:nth-child(3) { border-bottom: 0; }
  html.type-humanist .hero-panel .cell .v { font-size: 23px; }
  .workflow-diagram .flow, .process { grid-template-columns: 1fr; }
  .workflow-diagram { padding: 24px; overflow: visible; }
  .flow-node { display: grid; align-items: center; justify-content: initial; gap: 0 12px; }
  .flow-node .node-label { margin-bottom: 4px; }
  .hero-actions .btn { white-space: normal; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact-left, .booking-card, .channel .meta { min-width: 0; }
  .channel { padding: 16px; }
  .channel .meta .v { overflow-wrap: anywhere; }
  .booking-card .head { flex-wrap: wrap; }
  .book-actions .btn { white-space: normal; }
  .mobile-sheet { max-height: calc(100dvh - 64px); overflow-y: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Current workflow layout, using the original night palette and surfaces. */
.nav { padding: 16px 0; background: var(--paper); border-bottom-color: var(--line); }
.nav-links { font-family: var(--sans); font-weight: 500; color: var(--ink-2); }
.mobile-sheet {
  inset: 72px 0 auto;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  padding: 16px var(--gutter) 24px;
  gap: 0;
  background: var(--card);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 16px 28px -20px rgba(23,43,53,.24);
}
.mobile-sheet > a { flex-shrink: 0; }
.mobile-sheet a.row { font-family: var(--sans); font-size: 18px; font-weight: 500; line-height: 1.4; padding: 15px 0; }
.mobile-sheet .m-cta { margin-top: 24px; }
.lockup .word { font-family: var(--mono); font-size: 16px; font-weight: 500; letter-spacing: -.04em; }
.lockup .mark .inner { animation: none; }
.btn { border-radius: 8px; padding: 14px 20px; font-weight: 600; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #dcd8cf; }
.btn-accent { background: var(--accent); color: var(--paper); }
.btn-ghost { background: transparent; border-color: var(--line-2); }
:focus-visible { outline-color: var(--accent); }
.hero { padding: clamp(48px, 6vw, 88px) 0 40px; }
.hero-inner { grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.hero-copy .eyebrow { color: var(--accent); }
html.type-humanist .hero h1.display { font-size: clamp(36px, 4.2vw, 60px); letter-spacing: -.04em; line-height: 1.12; max-width: 19ch; }
.hero h1 .highlight { display: block; }
.hero-blurb { font-size: 18px; line-height: 1.65; max-width: 50ch; }
.hero-actions { gap: 12px; }
.ill-tag { display: inline-block; margin: 4px 0 2px; padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--mono); font-size: 11px; color: var(--ink-3); }
.book-email { color: var(--ink-2); font-size: 14px; align-self: center; }
.hero-note { color: var(--ink-3); font-size: 14px; line-height: 1.6; }
.intake-card { padding: 28px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--card); box-shadow: 0 18px 48px -28px rgba(0,0,0,.3); }
.intake-card .eyebrow { font-size: 12px; letter-spacing: .05em; }
.intake-card h2 { font-size: 22px; line-height: 1.3; font-weight: 600; letter-spacing: -.025em; margin: 12px 0 24px; max-width: 25ch; }
.intake-steps { list-style: none; display: flex; flex-direction: column; }
.intake-steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.intake-steps .step-index { font-family: var(--mono); font-size: 12px; color: var(--accent); padding-top: 3px; }
.intake-steps strong { display: block; font-size: 15px; font-weight: 600; }
.intake-steps .step-detail { display: block; font-size: 14px; color: var(--ink-2); margin-top: 2px; }
.hero-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 24px; background: var(--card); backdrop-filter: blur(6px); margin-top: 48px; }
.hero-panel .cell { padding: 24px; min-width: 0; border-right: 1px solid var(--line); align-items: flex-start; }
.hero-panel .cell:last-child { border-right: 0; }
html.type-humanist .hero-panel .cell .v { font-size: 22px; font-weight: 600; }
.focus-strip { background: var(--paper-2); padding-block: 20px; }
section.block { padding-block: clamp(56px, 7vw, 88px); }
.section-head { margin-bottom: 36px; gap: 40px; }
html.type-humanist h2.section-title { font-size: clamp(28px, 3.1vw, 42px); line-height: 1.15; }
html.type-humanist h2.section-title em { font-weight: 700; }
.services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.svc { background: var(--card); border-radius: 14px; padding: 28px; }
.svc::before { display: none; }
.svc .glyph { display: none; }
.svc h3 { font-size: 22px; line-height: 1.3; }
.svc .buyer { color: var(--accent); }
.svc .workflow-link { color: var(--accent); }
.workflow-invitation { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 24px; padding: 24px 28px; border: 1px solid var(--line-2); border-radius: 20px; background: var(--card); }
.workflow-invitation h3 { font-size: 18px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.workflow-invitation p { font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 65ch; }
.workflow-invitation .btn { flex-shrink: 0; }
.workflow-card { background: var(--card); }
.workflow-header { background: var(--paper-2); }
.flow-node { background: var(--paper); border-color: var(--line); }
.metric-card { background: var(--paper); border-color: var(--line); }
.metric-card .metric-val { font-weight: 600; font-size: 19px; }
.team-band { background: var(--paper-2); }
.principle, .principle:hover { background: transparent; }
.principle .p-key { font-size: 12px; }
.pilot { background: var(--card); border-radius: 16px; }
.pilot .left {
  background: var(--paper-2);
  padding: 36px;
}
.pilot .right { padding: 36px; }
.pilot .left .price { font-family: var(--sans); font-weight: 600; }
.pilot .left .price small { vertical-align: baseline; }
.pilot .price-range-note { font-size: 13px; letter-spacing: .02em; margin-top: 0; }
.technical-section { padding-block: 44px !important; background: var(--paper-2); }
.technical-intro { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: 20px; }
.technical-intro h2 { font-size: 22px; line-height: 1.3; letter-spacing: -.025em; }
.technical-intro p { font-size: 15px; color: var(--ink-2); max-width: 62ch; }
.stack-disclosure { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; }
.stack-disclosure summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-size: 15px; font-weight: 600; list-style: none; }
.stack-disclosure summary::-webkit-details-marker { display: none; }
.stack-disclosure summary::after { content: '+'; font-size: 24px; font-weight: 400; line-height: 1; color: var(--accent); }
.stack-disclosure[open] summary::after { content: '−'; }
.stack-disclosure .stack-grid { border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--card); grid-template-columns: 210px minmax(0, 1fr); }
.stack-row > .label { font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none; }
.chip { background: var(--paper); border-color: var(--line); color: var(--ink-2); border-radius: 6px; font-size: 13px; }
.stack-note { padding: 18px 24px; color: var(--ink-2); font-size: 14px; border-top: 1px solid var(--line); }
.faq-list { background: var(--card); }
.faq-q { font-weight: 500; }
.booking-card { background: var(--card); border-radius: 16px; }
.booking-card .head .pill { background: var(--accent-soft); color: var(--accent); }
.channel { border-radius: 10px; background: var(--card); }
.foot-mast { padding-bottom: 40px; }
.foot-logo-img { width: clamp(180px, 25vw, 300px); }
.foot-col h4 { font-size: 12px; }
@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-panel .cell { border-bottom: 1px solid var(--line); }
  .hero-panel .cell:nth-child(2n) { border-right: 0; }
  .hero-panel .cell:nth-child(n+3) { border-bottom: 0; }
  html.type-humanist .hero h1.display { max-width: 22ch; font-size: clamp(36px, 6.5vw, 58px); }
  .services-grid { grid-template-columns: 1fr; }
  .hero-blurb { max-width: 60ch; }
  .intake-card { max-width: 640px; }
  .technical-intro { flex-direction: column; gap: 12px; }
  .workflow-invitation { flex-direction: column; align-items: flex-start; }
  .stack-disclosure .stack-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero-copy { gap: 20px; }
  .hero-blurb { font-size: 16px; }
  .hero-panel .cell { padding: 20px 16px; }
  .hero-panel .cell:nth-child(odd) { border-right: 1px solid var(--line); }
  .hero-panel .cell .k { min-height: 3.1em; }
  html.type-humanist .hero-panel .cell .v { font-size: 20px; }
  .intake-card, .pilot .left, .pilot .right { padding: 24px; }
  .svc { padding: 24px; }
  .workflow-invitation { padding: 24px; }
  .workflow-invitation .btn { white-space: normal; }
  .hero-actions .btn { padding: 13px 16px; }
  .stack-disclosure summary { padding: 18px 20px; }
}
.evaluation-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.evaluation-grid .metric-card { padding: 24px; gap: 12px; min-width: 0; }
.evaluation-grid .metric-val { line-height: 1.3; }
.evaluation-grid p { color: var(--ink-2); font: 400 16px/1.6 var(--sans); }
@media (max-width: 640px) { .evaluation-grid { grid-template-columns: 1fr; } }

