/* ──────────────────────────────────────────────────────────────
   mVerve — simple-copy (full fidelity homepage)
   ────────────────────────────────────────────────────────────── */

:root {
  --cream:       #F2EFE9;
  --cream-deep:  #E8E4DA;
  --ink:         #0E1116;
  --ink-soft:    #2A2D33;
  --ink-muted:   #6B6F76;
  --rule:        #D8D3C7;
  --coral:       #CF4520;
  --coral-deep:  #A8341A;
  --paper:       #FAF8F3;

  --font-display: "Fraunces", "Times New Roman", serif;
  --font-sans:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", monospace;

  --maxw: 1440px;
  --gutter: 24px;
  --topbar-h: 96px;
}
@media (min-width: 1024px) { :root { --gutter: 40px; --topbar-h: 112px; } }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { overflow-x: hidden; }
img, video, svg { max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; padding: 0; }
ul { list-style: none; padding: 0; margin: 0; }
figure { margin: 0; }

::selection { background: var(--coral); color: var(--cream); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--ink); }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── Eyebrow ──────────────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 24px;
}
.eyebrow--small { margin-bottom: 16px; font-size: 10px; letter-spacing: 0.2em; }
.eyebrow--muted { color: var(--ink-muted); }
.eyebrow__rule {
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--coral);
  margin-right: 12px;
}

/* ── Display H2 ───────────────────────────────────────────── */
.h2-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 84px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin: 0;
}
.h2-display em { font-style: italic; color: var(--coral); }
.h2-display--cream { color: var(--cream); }
.em-cream { color: rgba(242,239,233, 0.7) !important; }

/* ── Reveal-on-scroll ─────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-item { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.22,1,0.36,1), transform 0.7s cubic-bezier(0.22,1,0.36,1); }
.reveal-item.is-visible { opacity: 1; transform: none; }

/* ── Link reveal underline ────────────────────────────────── */
.link-reveal { position: relative; display: inline-block; }
.link-reveal::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.65,0,0.35,1);
}
.link-reveal:hover::after { transform: scaleX(1); transform-origin: left; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  TOPBAR                                                  ║
   ╚══════════════════════════════════════════════════════════╝ */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  transition: background 0.3s, border-color 0.3s;
}
.topbar.is-scrolled, .topbar.is-open {
  background: rgba(242, 239, 233, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.topbar__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px;
}
.brand img { height: 44px; }
@media (min-width: 1024px) { .brand img { height: 52px; } }

.nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1200px) { .nav { display: flex; } }

.nav__group { position: static; }
.nav__btn, .nav__link {
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.2s;
}
.nav__btn:hover, .nav__link:hover, .nav__group.is-open .nav__btn { color: var(--coral); }

.nav__panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
  opacity: 0; pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.nav__group.is-open .nav__panel { opacity: 1; pointer-events: auto; transform: none; }
.nav__panel-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 56px 40px;
  display: grid; grid-template-columns: 5fr 6fr; gap: 40px;
}
.nav__feat-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.nav__feat-body { color: var(--ink-soft); max-width: 28rem; margin: 0 0 24px; }
.nav__feat-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.nav__feat-link:hover { color: var(--coral); }

.nav__items { display: grid; gap: 1px; background: var(--rule); align-self: start; }
.nav__items--2col { grid-template-columns: 1fr 1fr; }
.nav__items li a {
  background: var(--cream);
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 300;
  color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.nav__items--2col li a { font-size: 18px; padding: 16px 20px; }
.nav__items li a:hover { background: var(--paper); color: var(--coral); font-style: italic; }
.nav__items li a span { color: var(--ink-muted); font-size: 14px; }
.nav__items li a:hover span { color: var(--coral); }

.cta {
  display: none;
  align-items: center; gap: 8px;
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
@media (min-width: 640px) { .cta { display: inline-flex; } }
.cta:hover { color: var(--coral); border-color: var(--coral); }

.mobile-toggle {
  width: 44px; height: 44px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.mobile-toggle span {
  display: block; width: 24px; height: 1.5px; background: var(--ink);
  transition: transform 0.3s, opacity 0.3s;
}
.mobile-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.mobile-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 1200px) { .mobile-toggle { display: none; } }

.mobile-drawer {
  position: fixed; inset: var(--topbar-h) 0 0 0; z-index: 100;
  background: var(--cream); overflow-y: auto;
  padding: 32px var(--gutter);
}
.mobile-drawer__inner { display: flex; flex-direction: column; gap: 8px; }
.mobile-drawer a {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-display); font-weight: 300; font-size: 28px;
  color: var(--ink);
}
.mobile-drawer .btn--solid {
  margin-top: 24px; padding: 16px 24px;
  background: var(--ink); color: var(--cream); font-size: 15px;
  border-bottom: none; text-align: center;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  HERO                                                    ║
   ╚══════════════════════════════════════════════════════════╝ */
.hero {
  position: relative;
  padding: calc(var(--topbar-h) + 32px) 0 80px;
  overflow: hidden;
}
@media (min-width: 1024px) { .hero { padding: calc(var(--topbar-h) + 56px) 0 112px; } }

.hero__svg {
  position: absolute;
  top: 96px; right: -160px;
  width: 360px; height: 360px;
  opacity: 0.3;
  pointer-events: none;
  will-change: transform;
}
@media (min-width: 640px) { .hero__svg { right: -180px; width: 520px; height: 520px; opacity: 0.6; } }
@media (min-width: 1024px) { .hero__svg { width: 680px; height: 680px; opacity: 0.9; top: 112px; } }

@keyframes rotateRing { to { transform: rotate(360deg); } }
.hero__ticks {
  transform-origin: 320px 320px;
  animation: rotateRing 140s linear infinite;
}

@keyframes nodePulseOuter { 0%,100% { opacity: 0.05; } 50% { opacity: 0.22; } }
@keyframes nodePulseInner { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
.hero__nodes circle.outer { animation: nodePulseOuter 2.6s ease-in-out infinite; }
.hero__nodes circle.inner { animation: nodePulseInner 2.6s ease-in-out infinite; }

.hero__content {
  position: relative; z-index: 10;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--gutter);
  transition: opacity 0.1s linear;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  row-gap: 0;
}
.hero__content > .eyebrow,
.hero__content > .hero__h1,
.hero__content > .hero__foot { grid-column: 1 / -1; }

.hero__h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 6.5vw, 104px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.hero__line {
  display: block;
  opacity: 0; transform: translateY(60px);
  animation: heroLineIn 0.9s cubic-bezier(0.22,1,0.36,1) both;
  animation-delay: calc(0.1s + var(--i) * 0.1s);
}
.hero__line--italic, .hero__h1 em { font-style: italic; color: var(--coral); }
@keyframes heroLineIn { to { opacity: 1; transform: none; } }

.hero__body {
  grid-column: 1 / -1;
  max-width: 560px;
  margin: 48px 0 0 0;
  font-size: 17px; line-height: 1.6;
  color: var(--ink-soft);
  opacity: 0;
  animation: fadeIn 0.8s 0.55s ease both;
}
@media (min-width: 1024px) {
  .hero__body { margin-top: 64px; font-size: 18px; grid-column: 4 / span 5; margin-left: 0; }
}
@keyframes fadeIn { to { opacity: 1; } }

.hero__foot {
  margin-top: 48px;
  display: flex; align-items: flex-end; justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
@media (min-width: 1024px) { .hero__foot { margin-top: 64px; } }
.hero__scroll { display: none; align-items: center; gap: 8px; animation: scrollBob 2s ease-in-out infinite; }
.hero__scroll span { width: 1px; height: 40px; background: rgba(107,111,118,0.4); }
@keyframes scrollBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(8px)} }
@media (min-width: 768px) { .hero__scroll { display: inline-flex; } }

/* ── Eyebrow specifically inside hero ─────────────────────── */
.hero .eyebrow {
  opacity: 0;
  animation: fadeUp 0.7s 0.1s cubic-bezier(0.22,1,0.36,1) both;
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }

/* ╔══════════════════════════════════════════════════════════╗
   ║  SHOWCASE VIDEO                                          ║
   ╚══════════════════════════════════════════════════════════╝ */
.showcase {
  padding: 0 var(--gutter) 64px;
}
.figure {
  max-width: var(--maxw);
  margin: 0 auto;
}
.figure video {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  background: var(--ink);
}
.figure figcaption {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 16px;
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  MARQUEE                                                 ║
   ╚══════════════════════════════════════════════════════════╝ */
.marquee {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 24px 0;
  overflow: hidden;
}
.marquee__track {
  display: flex; gap: 48px; align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.marquee__item {
  display: flex; align-items: center; gap: 48px; flex-shrink: 0;
}
.marquee__item span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 30px;
  white-space: nowrap;
  color: var(--ink);
}
@media (min-width: 1024px) { .marquee__item span { font-size: 36px; } }
.marquee__plus { color: var(--coral); font-size: 18px; line-height: 1; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  INSIGHTS                                                ║
   ╚══════════════════════════════════════════════════════════╝ */
.insights { padding: 80px 0; }
@media (min-width: 1024px) { .insights { padding: 112px 0; } }

.insights__head {
  display: grid; gap: 32px;
  margin-bottom: 64px;
}
@media (min-width: 1024px) {
  .insights__head { grid-template-columns: 6fr 1fr 4fr; gap: 24px; margin-bottom: 96px; align-items: end; }
  .insights__intro { grid-column: 3; }
}
.insights__intro p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.insights__intro a { display: inline-flex; align-items: center; gap: 6px; margin-top: 20px; font-size: 13px; font-weight: 500; color: var(--ink); }

.insights__grid {
  display: grid; grid-template-columns: 1fr; gap: 32px;
}
@media (min-width: 1024px) { .insights__grid { grid-template-columns: repeat(3, 1fr); } }

.insight-card { display: block; }
.insight-card__art {
  position: relative;
  aspect-ratio: 3/2;
  background: var(--bg);
  margin-bottom: 24px;
  overflow: hidden;
  transition: transform 1.2s ease-out;
}
@media (min-width: 1024px) { .insight-card__art { aspect-ratio: 4/5; } }
.insight-card:hover .insight-card__art { transform: scale(1.05); }
.insight-card__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242,239,233, 0.9);
  mix-blend-mode: difference;
}
@media (min-width: 1024px) { .insight-card__overlay { padding: 32px; } }
.insight-card__meta {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 12px;
}
.insight-card__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  transition: color 0.3s;
}
.insight-card:hover .insight-card__title { color: var(--coral); }
@media (min-width: 1024px) { .insight-card__title { font-size: 26px; min-height: 6rem; } }

/* ╔══════════════════════════════════════════════════════════╗
   ║  PINNED SERVICES (sticky scroll)                         ║
   ╚══════════════════════════════════════════════════════════╝ */
.pinned {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  height: 360vh; /* 4 services × ~90vh dwell */
}
.pinned__stage {
  position: sticky; top: 0;
  height: 100vh;
  display: flex; align-items: flex-start;
  padding: calc(var(--topbar-h) + 40px) var(--gutter) 40px;
  overflow: hidden; /* prevent panel content bleeding into adjacent sections */
  isolation: isolate;
}
@media (min-height: 760px) { .pinned__stage { align-items: center; } }
.pinned__grid {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  width: 100%;
}
@media (min-width: 1024px) { .pinned__grid { grid-template-columns: 5fr 1fr 6fr; gap: 24px; align-items: start; } }
@media (min-width: 1024px) { .pinned__right { grid-column: 3; } }
.pinned__left .h2-display { color: var(--cream); font-size: clamp(32px, min(5.5vw, 6.5vh), 84px); }
.pinned__dots { display: flex; gap: 12px; margin-top: 32px; }
.pinned__dot { height: 1px; width: 24px; background: rgba(242,239,233,0.2); transition: width 0.5s, background 0.5s; }
.pinned__dot.is-active { width: 48px; background: var(--coral); }
.pinned__counter { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: rgba(242,239,233,0.4); margin-top: 16px; }
.pinned__right { min-height: clamp(460px, 65vh, 680px); position: relative; overflow: visible; }
.pinned__panel { position: absolute; inset: 0; opacity: 0; transform: translateY(40px); transition: opacity 0.45s cubic-bezier(0.22,1,0.36,1), transform 0.45s cubic-bezier(0.22,1,0.36,1); }
.pinned__panel.is-active { opacity: 1; transform: none; }
.pinned__tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 32px;
}
.pinned__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, min(4.5vw, 5.5vh), 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin: 0;
}
.pinned__body {
  margin-top: 24px;
  font-size: 18px; line-height: 1.65;
  color: rgba(242,239,233,0.7);
  max-width: 32rem;
}
@media (min-width: 1024px) { .pinned__body { font-size: 20px; } }
.pinned__metric {
  display: inline-block;
  margin-top: 28px;
  border-bottom: 1px solid var(--coral);
  padding-bottom: 8px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--coral);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  INDUSTRIES                                              ║
   ╚══════════════════════════════════════════════════════════╝ */
.industries { padding: 80px 0; background: var(--cream); position: relative; z-index: 1; }
@media (min-width: 1024px) { .industries { padding: 112px 0; } }
.industries__head { margin-bottom: 64px; max-width: 880px; }
.industries__list { border-top: 1px solid rgba(14,17,22, 0.15); }
.industry-row {
  position: relative;
  display: grid; grid-template-columns: 1fr; gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(14,17,22, 0.15);
  cursor: pointer;
  transition: padding 0.3s;
}
@media (min-width: 1024px) {
  .industry-row {
    grid-template-columns: 60px 3fr 1fr 6fr 60px;
    gap: 24px;
    padding: 48px 0;
    align-items: start;
  }
  .industry-row > div:nth-child(3) { grid-column: 4; }
  .industry-row__arrow { grid-column: 5; align-self: flex-start; padding-top: 6px; }
}
.industry-row__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-muted); padding-top: 8px; }
.industry-row__name {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.3s;
}
.industry-row__h {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.3;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 36rem;
}
@media (min-width: 1024px) { .industry-row__h { margin-bottom: 16px; } }
.industry-row__d {
  font-size: 15px; line-height: 1.6;
  color: var(--ink-muted);
  max-width: 36rem;
  margin: 0;
}
.industry-row__arrow {
  align-self: center; justify-self: end;
  width: 28px; height: 28px;
  color: var(--ink);
  transition: transform 0.5s, color 0.3s;
}
.industry-row:hover .industry-row__name,
.industry-row:hover .industry-row__arrow { color: var(--coral); }
.industry-row:hover .industry-row__arrow { transform: rotate(45deg); }
.industry-row__glow {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: 160px; height: 160px;
  background: rgba(207,69,32, 0.15);
  filter: blur(40px);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}
.industry-row:hover .industry-row__glow { opacity: 1; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  METRICS                                                 ║
   ╚══════════════════════════════════════════════════════════╝ */
.metrics {
  background: var(--cream-deep);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 80px 0;
}
@media (min-width: 1024px) { .metrics { padding: 112px 0; } }
.metrics__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px 24px;
  margin-top: 48px;
}
@media (min-width: 1024px) { .metrics__grid { grid-template-columns: repeat(4, 1fr); } }

.metric { border-top: 1px solid var(--ink); padding-top: 24px; }
.metric__v {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.9;
  letter-spacing: -0.04em;
}
.metric__l { font-size: 13px; line-height: 1.6; color: var(--ink-muted); margin-top: 16px; max-width: 220px; }

.metrics__clients { margin-top: 80px; padding-top: 40px; border-top: 1px solid rgba(14,17,22,0.15); }
.metrics__client-row {
  display: flex; flex-wrap: wrap; gap: 24px 48px;
  opacity: 0.7;
}
.metrics__client-row span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 22px;
  color: var(--ink);
}

/* ╔══════════════════════════════════════════════════════════╗
   ║  VALUE PROPS                                             ║
   ╚══════════════════════════════════════════════════════════╝ */
.valueprops {
  padding: 80px var(--gutter) 48px;
}
@media (min-width: 1024px) { .valueprops { padding: 112px var(--gutter) 48px; } }
.valueprops__inner {
  display: grid; gap: 40px;
  padding: 0;
}
@media (min-width: 1024px) {
  .valueprops__inner { grid-template-columns: 4fr 1fr 7fr; gap: 24px; }
  .valueprops__right { grid-column: 3; }
}
.valueprops__right {
  display: grid; grid-template-columns: 1fr; gap: 48px 40px;
}
@media (min-width: 1100px) { .valueprops__right { grid-template-columns: 1fr 1fr; } }
.vprop { border-top: 1px solid var(--ink); padding-top: 20px; }
.vprop__t {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 12px;
}
@media (min-width: 1024px) { .vprop__t { font-size: 28px; } }
.vprop__d { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  METHODOLOGY                                             ║
   ╚══════════════════════════════════════════════════════════╝ */
.methodology { padding: 80px 0; background: var(--cream); }
@media (min-width: 1024px) { .methodology { padding: 112px 0; } }
.methodology__head { margin-bottom: 64px; max-width: 640px; }
.methodology__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(14,17,22, 0.1);
}
@media (min-width: 720px) { .methodology__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .methodology__grid { grid-template-columns: repeat(5, 1fr); } }
.method-card {
  background: var(--cream);
  padding: 40px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: flex-start; gap: 32px;
  transition: background 0.2s;
}
.method-card:hover { background: var(--paper); }
.method-card:hover .method-card__t { font-style: italic; }
.method-card__n { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--coral); }
.method-card__t {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  color: var(--ink);
  margin: 0 0 12px;
  transition: font-style 0.2s;
}
.method-card__d { font-size: 14px; line-height: 1.6; color: var(--ink-muted); margin: 0; }

/* ╔══════════════════════════════════════════════════════════╗
   ║  CLOSING CTA                                             ║
   ╚══════════════════════════════════════════════════════════╝ */
.closing-cta {
  background: var(--ink); color: var(--cream);
  padding: 128px var(--gutter);
  position: relative; overflow: hidden;
}
.closing-cta__blur {
  position: absolute; right: -160px; bottom: -160px;
  width: 640px; height: 640px;
  background: rgba(207,69,32, 0.3);
  border-radius: 50%;
  filter: blur(96px);
  pointer-events: none;
}
.closing-cta__inner { position: relative; padding: 0; }
.closing-cta .eyebrow { color: var(--coral); }
.closing-cta__h2 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 9vw, 160px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--cream);
  max-width: 12ch;
  margin: 40px 0 0;
}
.closing-cta__h2 em { font-style: italic; color: var(--coral); }
.closing-cta__grid {
  display: grid; gap: 48px;
  margin-top: 64px;
}
@media (min-width: 1024px) { .closing-cta__grid { grid-template-columns: 5fr 1fr 4fr; gap: 24px; align-items: end; margin-top: 96px; } }
@media (min-width: 1024px) { .closing-cta__actions { grid-column: 3; } }
.closing-cta__body { font-size: 18px; line-height: 1.65; color: rgba(242,239,233,0.7); margin: 0; }
.closing-cta__actions { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.closing-cta__btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-style: italic; font-weight: 300;
  font-size: 32px;
  color: var(--cream);
  border-bottom: 1px solid rgba(242,239,233,0.4);
  padding-bottom: 8px;
  transition: color 0.3s, border-color 0.3s;
}
@media (min-width: 1024px) { .closing-cta__btn { font-size: 40px; } }
.closing-cta__btn:hover { color: var(--coral); border-color: var(--coral); }
.closing-cta__mail {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(242,239,233,0.5);
}
.closing-cta__mail:hover { color: var(--cream); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  FOOTER                                                  ║
   ╚══════════════════════════════════════════════════════════╝ */
.footer {
  background: var(--cream);
  border-top: 1px solid rgba(14,17,22,0.2);
  padding: 80px var(--gutter) 32px;
}
.footer__inner {
  display: grid; grid-template-columns: 1fr; gap: 40px;
  margin-bottom: 80px;
}
@media (min-width: 720px) { .footer__inner { grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 32px; } }
.footer__about { max-width: 22rem; }
.footer__tag { font-size: 15px; line-height: 1.6; color: var(--ink-soft); margin: 0 0 32px; }
.footer__locations { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 20px; }
.footer__address { font-style: normal; font-size: 13px; line-height: 1.7; color: var(--ink-soft); margin: 0 0 20px; }
.footer__socials { display: flex; gap: 12px; }
.footer__socials a {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(14,17,22,0.3);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500; color: var(--ink);
  transition: background 0.2s, color 0.2s;
}
.footer__socials a:hover { background: var(--ink); color: var(--cream); }

.footer__col ul { display: grid; gap: 12px; }
.footer__col li a { font-size: 14px; color: var(--ink-soft); }
.footer__col li a:hover { color: var(--ink); }

.footer__legal {
  padding: 24px 0 0; border-top: 1px solid rgba(14,17,22,0.2);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted);
}
.footer__legal a:hover { color: var(--coral); }

/* ╔══════════════════════════════════════════════════════════╗
   ║  INNER PAGES                                             ║
   ╚══════════════════════════════════════════════════════════╝ */

/* ── Page Hero ─────────────────────────────────────────────── */
.page-hero {
  padding: calc(var(--topbar-h) + 48px) var(--gutter) 80px;
  position: relative;
  overflow: clip;
}
@media (min-width: 1024px) { .page-hero { padding: calc(var(--topbar-h) + 72px) var(--gutter) 112px; } }

.page-hero__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}

.page-hero__h1 {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 140px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 48px;
}
.page-hero__h1 em { font-style: italic; color: var(--coral); }
.page-hero__h1 span { display: block; }

.page-hero__body {
  max-width: 580px;
  font-size: 17px; line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
}
@media (min-width: 1024px) {
  .page-hero__body { font-size: 19px; margin-left: auto; }
}

.page-hero__graphic {
  position: absolute;
  right: -80px;
  top: 100px;
  width: 280px;
  height: 280px;
  pointer-events: none;
  opacity: 0.25;
}
@media (min-width: 640px) {
  .page-hero__graphic {
    right: -128px;
    top: 120px;
    width: 500px;
    height: 500px;
    opacity: 0.85;
  }
}

/* ── Editorial Figure ──────────────────────────────────────── */
.editorial-figure { margin: 0; }
.editorial-figure__media { position: relative; overflow: hidden; }
.editorial-figure__media img { width: 100%; display: block; }
.editorial-figure__caption {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 12px;
}

/* ── Page Sections ─────────────────────────────────────────── */
.page-section { padding: 80px var(--gutter); }
@media (min-width: 1024px) { .page-section { padding: 112px var(--gutter); } }

.page-section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.page-section--tinted { background: var(--cream-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.page-section--dark { background: var(--ink); color: var(--cream); }
.page-section--paper { background: var(--paper); }

.page-section__head { margin-bottom: 64px; max-width: 880px; }
@media (min-width: 1024px) { .page-section__head { margin-bottom: 80px; } }

/* ── Card Grid ─────────────────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(14,17,22, 0.12);
}
@media (min-width: 768px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .card-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--cream);
  padding: 40px;
  min-height: 240px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: background 0.2s;
}
@media (min-width: 1024px) { .card { padding: 48px; } }
.card:hover { background: var(--paper); }
.page-section--dark .card { background: var(--ink-soft); }
.page-section--dark .card:hover { background: #343840; }

.card__tag {
  font-family: var(--font-mono);
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 24px;
}
.card__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.1; letter-spacing: -0.01em;
  color: var(--ink); margin: 0 0 16px;
  transition: font-style 0.2s;
}
.card:hover .card__title { font-style: italic; }
.page-section--dark .card__title { color: var(--cream); }
.card__body { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.page-section--dark .card__body { color: rgba(242,239,233,0.7); }
.card__link {
  margin-top: 24px;
  font-size: 13px; font-weight: 500; color: var(--ink);
  display: inline-flex; align-items: center; gap: 6px;
}
.card__link:hover { color: var(--coral); }
.page-section--dark .card__link { color: var(--cream); }

/* ── Principles Grid ────────────────────────────────────────── */
.principles-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 768px) { .principles-grid { grid-template-columns: 1fr 1fr; gap: 48px 64px; } }

.principle { border-top: 1px solid var(--ink); padding-top: 20px; }
.page-section--dark .principle { border-top-color: rgba(242,239,233,0.15); }
.principle__n { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--coral); margin-bottom: 12px; }
.principle__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(24px, 2.6vw, 36px);
  line-height: 1.1; color: var(--ink); margin: 0 0 12px;
}
.page-section--dark .principle__title { color: var(--cream); }
.principle__body { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.page-section--dark .principle__body { color: rgba(242,239,233,0.65); }

/* ── Disciplines list (Expertise page) ─────────────────────── */
.disc-list { border-top: 1px solid rgba(14,17,22,0.15); }
.disc-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 6px 0;
  border-bottom: 1px solid rgba(14,17,22,0.15);
  padding: 32px 0;
  text-decoration: none; color: inherit;
  transition: background 0.2s;
  width: 100%;
}
@media (min-width: 1024px) {
  .disc-row {
    grid-template-columns: 60px 4fr 6fr 40px;
    align-items: baseline;
    gap: 0 32px;
    padding: 40px 0;
  }
}
.disc-row:hover { background: rgba(14,17,22,0.02); }
.disc-row__n {
  grid-column: 1; grid-row: 1;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  color: rgba(14,17,22,0.4); padding-top: 4px;
}
.disc-row__title {
  grid-column: 2; grid-row: 1;
  font-family: var(--font-display); font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 300; line-height: 1.1; color: var(--ink);
  transition: color 0.2s, font-style 0.2s;
}
.disc-row__desc {
  grid-column: 1 / 3; grid-row: 2;
  font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 8px 0 0; padding-left: 48px;
}
.disc-row__arrow {
  grid-column: 2; grid-row: 3;
  justify-self: end;
  color: var(--ink);
  transition: transform 0.4s, color 0.2s;
  display: flex; align-items: center; margin-top: 12px;
}
@media (min-width: 1024px) {
  .disc-row__desc { grid-column: 3; grid-row: 1; padding-left: 0; margin-top: 0; }
  .disc-row__arrow { grid-column: 4; grid-row: 1; justify-self: end; margin-top: 0; }
}
.disc-row:hover .disc-row__title { color: var(--coral); font-style: italic; }
.disc-row:hover .disc-row__arrow { transform: rotate(45deg); color: var(--coral); }

/* ── Principles 2-col layout ────────────────────────────────── */
.principles-split {
  display: grid; gap: 48px;
}
@media (min-width: 1024px) {
  .principles-split { grid-template-columns: 4fr 7fr; gap: 64px; align-items: start; }
}
.principles-split__cards {
  display: grid; grid-template-columns: 1fr; gap: 48px 64px;
}
@media (min-width: 768px) { .principles-split__cards { grid-template-columns: 1fr 1fr; } }

/* ── Stats ─────────────────────────────────────────────────── */
.stat-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 40px;
  border-top: 1px solid rgba(242,239,233,0.2);
  margin-top: 48px;
}
@media (max-width: 479px) { .stat-row { grid-template-columns: 1fr; } }
.stat__v {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1; color: var(--coral);
}
.stat__l {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(242,239,233,0.5); margin-top: 8px;
}
.stat-row--light { border-top-color: rgba(14,17,22,0.15); }
.stat__l--dark { color: rgba(14,17,22,0.5); }

/* ── Stories list (tag | title+desc | stats | arrow) ───────── */
.stories-list { border-top: 1px solid rgba(14,17,22,0.15); }
.story-row { border-bottom: 1px solid rgba(14,17,22,0.15); }
.story-row__link {
  display: grid; grid-template-columns: 1fr;
  gap: 16px; padding: 40px 0;
  text-decoration: none; color: inherit;
}
@media (min-width: 768px) {
  .story-row__link { grid-template-columns: 1fr 3fr 2fr auto; gap: 24px; align-items: start; }
}
.story-row__tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--coral); padding-top: 4px;
}
.story-row__title {
  font-family: var(--font-display); font-size: clamp(20px, 2vw, 28px);
  font-weight: 300; line-height: 1.25; color: var(--ink); margin-bottom: 10px;
}
.story-row__link:hover .story-row__title { font-style: italic; }
.story-row__body { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.story-row__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-self: start; }
.story-row__stat { border-top: 1px solid rgba(14,17,22,0.2); padding-top: 10px; }
.story-row__stat .stat__v { font-size: clamp(18px, 2vw, 28px); }
.story-row__stat .stat__l { color: rgba(14,17,22,0.45); }
.story-row__arrow {
  display: flex; align-items: flex-start; padding-top: 6px;
  color: var(--ink); opacity: 0.5;
}
.story-row__link:hover .story-row__arrow { opacity: 1; }

/* ── Cases list (tag | title+desc | stats) ─────────────────── */
.cases-list { border-top: 1px solid rgba(14,17,22,0.15); }
.case-row {
  display: grid; grid-template-columns: 1fr;
  gap: 16px;
  border-bottom: 1px solid rgba(14,17,22,0.15);
  padding: 40px 0;
}
@media (min-width: 1024px) {
  .case-row { grid-template-columns: 2fr 6fr 4fr; gap: 24px; align-items: start; }
}
.case-row__tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--coral); padding-top: 2px;
}
.case-row__title {
  font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 32px);
  font-weight: 300; line-height: 1.2; color: var(--ink); margin-bottom: 12px;
}
.case-row__desc { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.case-row__stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.case-stat { border-top: 1px solid rgba(14,17,22,0.3); padding-top: 12px; }
.case-stat__v {
  font-family: var(--font-display); font-style: italic;
  font-size: 18px; line-height: 1.2; color: var(--coral);
}
.case-stat__l {
  font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(14,17,22,0.4); margin-top: 4px;
}

/* ── Metrics grid (4-up dark stats) ────────────────────────── */
.metrics-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 48px 24px;
}
@media (min-width: 1024px) { .metrics-grid { grid-template-columns: repeat(4, 1fr); } }
.metrics-grid__item {
  border-top: 1px solid rgba(242,239,233,0.3);
  padding-top: 24px;
}
.metrics-grid__val {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 0.9; letter-spacing: -0.04em;
  color: var(--cream);
}
.metrics-grid__label {
  font-size: 13px; line-height: 1.6;
  color: rgba(242,239,233,0.6);
  margin-top: 16px; max-width: 220px;
}

/* ── Stack (AI Lab) ─────────────────────────────────────────── */
.stack-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}
@media (max-width: 479px) { .stack-grid { grid-template-columns: 1fr; } }
@media (min-width: 1024px) { .stack-grid { grid-template-columns: repeat(4, 1fr); } }

.stack-col { border-top: 1px solid var(--ink); padding-top: 24px; }
.stack-col__h {
  font-family: var(--font-display); font-style: italic;
  font-size: 24px; font-weight: 300; color: var(--ink); margin: 0 0 16px;
}
.stack-col ul { display: grid; gap: 8px; }
.stack-col li { font-size: 14px; color: var(--ink-soft); }

/* ── Roles (Careers) ────────────────────────────────────────── */
.role-list { border-top: 1px solid rgba(14,17,22,0.15); margin-top: 64px; }
.role-row {
  display: grid; grid-template-columns: 1fr auto;
  gap: 16px; align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid rgba(14,17,22,0.15);
  text-decoration: none; color: inherit;
  transition: background 0.2s;
}
@media (min-width: 1024px) {
  .role-row {
    grid-template-columns: 160px 1fr 200px 140px 40px;
    gap: 24px; align-items: baseline;
    padding: 40px 16px; margin: 0 -16px;
  }
}
.role-row:hover { background: var(--paper); }
.role-row__team {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-muted); padding-top: 4px;
}
.role-row__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.15; color: var(--ink);
  transition: color 0.2s;
}
.role-row:hover .role-row__title { color: var(--coral); }
.role-row__loc, .role-row__type {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted);
}
.role-row__arrow {
  align-self: center; justify-self: end; color: var(--ink);
  transition: color 0.2s, transform 0.5s;
  width: 24px; height: 24px;
}
.role-row:hover .role-row__arrow { color: var(--coral); transform: rotate(45deg); }

/* ── Contact Form ───────────────────────────────────────────── */
.contact-section { padding-top: calc(var(--topbar-h) + 32px); padding-bottom: 64px; }
@media (min-width: 1024px) { .contact-section { padding-top: calc(var(--topbar-h) + 40px); padding-bottom: 80px; } }
.contact-head__h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(30px, 4vw, 52px); line-height: 1.04;
  letter-spacing: -0.02em; color: var(--ink); margin: 16px 0 0;
}
.contact-head__h1 em { font-style: italic; color: var(--coral); }
.contact-head__body {
  font-size: clamp(15px, 1.4vw, 18px); line-height: 1.6;
  color: var(--ink-soft); margin: 18px 0 0; max-width: 440px;
}
.contact-layout {
  display: grid; gap: 64px;
}
@media (min-width: 1024px) { .contact-layout { grid-template-columns: 7fr 4fr; gap: 80px; } }
.contact-layout--split { gap: 40px; align-items: start; }
@media (min-width: 1024px) { .contact-layout--split { grid-template-columns: 6fr 5fr; gap: 72px; } }

.contact-info { margin-top: 40px; display: grid; gap: 24px; }
@media (min-width: 560px) { .contact-info { grid-template-columns: 1fr 1fr; gap: 28px 32px; } }

.contact-form-col {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 28px;
  width: 100%; max-width: 460px;
  box-shadow: 0 1px 2px rgba(14,17,22,0.04), 0 12px 32px rgba(14,17,22,0.05);
}
@media (min-width: 1024px) { .contact-form-col { justify-self: end; } }
@media (min-width: 768px) { .contact-form-col { padding: 36px; } }
.contact-form-col__head {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 28px; padding-bottom: 20px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 14px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink);
}
.contact-form { display: grid; gap: 20px; }
.form-row { display: grid; gap: 20px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-field__label {
  display: block;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 12px;
}
.form-field__label span { color: var(--coral); margin-left: 4px; }
.landing .contact-form-col__head { letter-spacing: 0.06em; }
.landing .form-field__label { letter-spacing: 0.06em; }

.form-field input,
.form-field textarea {
  width: 100%; background: var(--cream);
  border: 1px solid rgba(14,17,22,0.18); border-radius: 8px;
  outline: none; padding: 13px 15px;
  font-family: var(--font-sans); font-weight: 400;
  font-size: 15px; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink-muted); }
.form-field input:hover, .form-field textarea:hover { border-color: rgba(14,17,22,0.35); }
.form-field input:focus, .form-field textarea:focus {
  border-color: var(--coral); background: #fff;
  box-shadow: 0 0 0 3px rgba(207,69,32,0.12);
}
.form-field textarea { resize: vertical; min-height: 92px; }

.form-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.form-chip {
  padding: 8px 15px; font-size: 13px; border-radius: 999px;
  border: 1px solid rgba(14,17,22,0.25);
  background: var(--cream); color: var(--ink);
  cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.form-chip:hover, .form-chip.is-active, .form-chip.form-chip--active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

.form-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; background: var(--ink); color: var(--cream);
  padding: 17px 32px; font-size: 15px; font-weight: 500; border-radius: 10px;
  letter-spacing: 0.02em; cursor: pointer; border: none;
  transition: background 0.2s;
}
.form-submit:hover { background: var(--coral); }
.form-submit svg { transition: transform 0.2s; }
.form-submit:hover svg { transform: translate(2px, -2px); }

.contact-sidebar { }
@media (min-width: 1024px) { .contact-sidebar { padding-left: 40px; border-left: 1px solid rgba(14,17,22,0.12); } }

.contact-block + .contact-block { margin-top: 48px; padding-top: 48px; border-top: 1px solid rgba(14,17,22,0.1); }
.contact-info .contact-block + .contact-block { margin-top: 0; padding-top: 0; border-top: none; }
.contact-block__eyebrow {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-muted); margin-bottom: 12px;
}
.contact-block__link {
  font-family: var(--font-display); font-style: italic;
  font-size: 24px; color: var(--ink); display: inline-block;
}
.contact-block__link:hover { color: var(--coral); }
.contact-block__detail {
  font-family: var(--font-display); font-size: 20px;
  color: var(--ink); line-height: 1.35;
}
.contact-block__note { font-size: 14px; color: var(--ink-muted); margin-top: 8px; }

/* ── Prose (Privacy, Terms) ─────────────────────────────────── */
.prose-layout { display: block; }
.prose-layout--toc { display: grid; gap: 40px; }
@media (min-width: 1024px) {
  .prose-layout--toc { grid-template-columns: 3fr 8fr; gap: 72px; align-items: start; }
}
.prose-layout__toc { display: none; }
@media (min-width: 1024px) {
  .prose-layout__toc { display: flex; flex-direction: column; gap: 10px; position: sticky; top: calc(var(--topbar-h) + 24px); }
}
.prose-toc__label {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-muted); margin-bottom: 6px;
}
.prose-toc__link {
  font-family: var(--font-sans); font-size: 14px; line-height: 1.4;
  color: var(--ink-muted); text-decoration: none;
  padding-left: 12px; border-left: 1px solid var(--rule);
  transition: color 0.2s, border-color 0.2s;
}
.prose-toc__link:hover, .prose-toc__link.is-active { color: var(--coral); border-color: var(--coral); }

.page-prose { max-width: 720px; }
.page-prose h2 {
  font-family: var(--font-display); font-weight: 300; font-style: italic;
  font-size: clamp(28px, 3vw, 44px);
  color: var(--ink); margin: 64px 0 24px;
  scroll-margin-top: calc(var(--topbar-h) + 24px);
}
.page-prose h2:first-child { margin-top: 0; }
.page-prose p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 20px; }
.page-prose ul { margin: 0 0 20px; padding-left: 24px; }
.page-prose li { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 10px; list-style: disc; }
.page-prose strong { color: var(--ink); font-weight: 600; }
.page-prose a { color: var(--ink); border-bottom: 1px solid var(--rule); text-decoration: none; }
.page-prose a:hover { color: var(--coral); border-color: var(--coral); }
.page-prose table { width: 100%; border-collapse: collapse; margin: 0 0 28px; font-size: 14.5px; }
.page-prose th, .page-prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.page-prose thead th { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-muted); font-weight: 500; border-bottom: 2px solid var(--ink); }
.page-prose td { color: var(--ink-soft); line-height: 1.5; }

/* ── WhatsApp floating button ───────────────────────────────── */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 130;
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #25D366; color: #fff; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.22);
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: translateY(-2px) scale(1.05); box-shadow: 0 10px 26px rgba(0,0,0,0.28); }
.wa-float:focus-visible { outline: 3px solid rgba(37,211,102,0.5); outline-offset: 3px; }
@media (min-width: 1024px) { .wa-float { right: 28px; bottom: 28px; width: 60px; height: 60px; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ── Landing pages (Google Ads) ─────────────────────────────── */
/* Stripped chrome: logo + one "Let's talk" CTA (scrolls to form). */
.cta--lead { display: none; }
.landing .nav,
.landing .cta:not(.cta--lead),
.landing .mobile-toggle,
.landing .mobile-drawer { display: none !important; }
.landing .cta--lead { display: inline-flex; }
.landing .topbar__inner { justify-content: space-between; }
.landing .footer__inner { display: none; }
.landing .footer { padding-top: 8px; }
.landing .footer__legal { border-top: none; padding-top: 32px; }
#lead-form { scroll-margin-top: calc(var(--topbar-h) + 20px); }

.landing-hero { padding: calc(var(--topbar-h) + 24px) var(--gutter) 40px; }
/* On desktop the header + hero aim to fill one screen, content centred —
   but on short/scaled viewports (laptop DPI scaling, small height) the
   min-height is a floor, not a cage: content grows past it and stays
   readable instead of being clipped or squeezed. */
@media (min-width: 1024px) {
  .landing-hero {
    min-height: 100vh; min-height: 100svh;
    display: flex; flex-direction: column; justify-content: center;
    padding: calc(var(--topbar-h) + 28px) var(--gutter) 40px;
  }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .landing-hero { padding: calc(var(--topbar-h) + 18px) var(--gutter) 28px; }
  .landing-hero__grid { gap: 32px; }
}
@media (min-width: 1024px) and (max-height: 700px) {
  .landing-hero { min-height: 0; padding: calc(var(--topbar-h) + 10px) var(--gutter) 16px; }
  .landing-hero__grid { gap: 24px; }
  .landing-points { gap: 8px; }
  .landing-hero__trust { margin-top: 14px; }
}
.landing-hero__grid { display: grid; gap: 28px; align-items: center; }
.landing-hero__intro { order: 1; }
.contact-form-col { order: 2; }
.landing-hero__photo { order: 3; }
/* Between 1024-1279px there isn't room for a 3rd column without crushing
   the headline into heavy wrapping (which blows past one screen vertically),
   so the photo only joins the row once the viewport is wide enough. */
@media (min-width: 1024px) {
  .landing-hero__grid { grid-template-columns: 1fr 420px; gap: 36px; }
  .landing-hero__photo { display: none; }
}
@media (min-width: 1280px) {
  .landing-hero__grid { grid-template-columns: minmax(300px, 1fr) 420px; gap: 40px; }
  .landing-hero__intro, .contact-form-col { order: 0; }
}

/* Pill eyebrow badge (landing pages only — the default .eyebrow rule-line
   style stays as-is everywhere else on the site). */
.landing-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px 7px 14px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--rule);
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 18px;
}
.landing-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); flex: none; }

.landing-hero__h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(28px, 3.2vw + 1vh, 52px); line-height: 1.05;
  letter-spacing: -0.02em; color: var(--ink); margin: 14px 0 0;
}
.landing-hero__h1 em {
  font-style: italic; color: var(--coral); position: relative; display: inline-block;
}
.landing-hero__h1 em::after {
  content: ""; position: absolute; left: 2px; right: 4px; bottom: -4px; height: 8px;
  background: currentColor; opacity: 0.5;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q12 0 25 8 T50 8 T75 8 T100 8' stroke='black' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q12 0 25 8 T50 8 T75 8 T100 8' stroke='black' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.landing-hero__body {
  font-size: clamp(15px, 1.5vw, 18px); line-height: 1.55;
  color: var(--ink-soft); margin: 18px 0 0; max-width: 500px;
}
.landing-points { margin: clamp(14px, 2vh, 24px) 0 0; display: grid; gap: 11px; padding: 0; list-style: none; }
.landing-points li {
  position: relative; padding-left: 30px;
  font-size: 16px; line-height: 1.5; color: var(--ink-soft);
}
.landing-points li::before {
  content: "→"; position: absolute; left: 0; top: 0; color: var(--coral); font-weight: 600;
}
.landing-hero__trust {
  display: flex; align-items: center; gap: 8px; margin-top: 22px;
  font-size: 13px; color: var(--ink-muted);
}
.landing-hero__trust strong { color: var(--ink); font-weight: 600; }
.landing-hero__trust .stars { color: var(--coral); letter-spacing: 1px; }

/* Hero photo column — small portrait with a floating real-stat chip.
   Falls back to a striped placeholder box until a real photo lands in assets/. */
.landing-hero__photo { position: relative; max-width: 260px; margin: 0 auto; }
.landing-hero__photo-frame {
  width: 100%; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden;
  box-shadow: 0 24px 50px -24px rgba(14,17,22,0.28), 0 6px 16px rgba(14,17,22,0.08);
}
.landing-hero__photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.landing-hero__photo-frame--ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  text-align: center; padding: 20px;
  background: repeating-linear-gradient(45deg, var(--cream-deep), var(--cream-deep) 12px, var(--paper) 12px, var(--paper) 24px);
  border: 1px solid var(--rule);
}
.landing-hero__photo-frame--ph span { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-muted); }
.landing-hero__chip {
  position: absolute; left: 50%; bottom: -18px; transform: translateX(-50%);
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 12px;
  padding: 10px 16px; box-shadow: 0 16px 32px -12px rgba(14,17,22,0.22);
  white-space: nowrap;
}
.landing-hero__chip-v { font-family: var(--font-display); font-weight: 300; font-size: 22px; color: var(--coral); line-height: 1; }
.landing-hero__chip-l { font-size: 11px; line-height: 1.3; color: var(--ink-muted); max-width: 9ch; }
@media (max-width: 1023px) {
  .landing-hero__photo { max-width: 200px; margin: 4px auto 26px; }
}
@media (min-width: 1024px) and (max-height: 760px) {
  .landing-hero__photo { max-width: 190px; }
  .landing-hero__chip { padding: 7px 12px; bottom: -14px; }
  .landing-hero__chip-v { font-size: 18px; }
}

/* Icon cards — Salesforce landing page "why" grid. Scoped so the rest of
   the site's plain .card-grid look is untouched. */
.icon-card-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .icon-card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .icon-card-grid { grid-template-columns: repeat(4, 1fr); } }
.icon-card-grid--3 { }
@media (min-width: 1024px) { .icon-card-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.icon-card { background: var(--paper); border: 1px solid var(--rule); border-radius: 16px; padding: 28px; }
.icon-card__icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(207,69,32,0.10); color: var(--coral);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.icon-card__title { font-family: var(--font-display); font-weight: 300; font-size: 19px; color: var(--ink); margin: 0 0 8px; }
.landing .icon-card__title { font-weight: 700; }
.icon-card__body { font-size: 14.5px; line-height: 1.6; color: var(--ink-soft); margin: 0; }

/* Squiggle accent — reusable underline for any *accent* word in a heading,
   not just the hero (see .landing-hero__h1 em for the hero-specific version). */
.squiggle-em {
  font-style: italic; color: var(--coral); position: relative; display: inline-block;
}
.squiggle-em::after {
  content: ""; position: absolute; left: 2px; right: 4px; bottom: -4px; height: 7px;
  background: currentColor; opacity: 0.5;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q12 0 25 8 T50 8 T75 8 T100 8' stroke='black' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 12' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q12 0 25 8 T50 8 T75 8 T100 8' stroke='black' stroke-width='3' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
  -webkit-mask-size: 100% 100%; mask-size: 100% 100%;
}
.thankyou { max-width: 640px; }
.thankyou .landing-hero__body a { color: var(--ink); border-bottom: 1px solid var(--rule); text-decoration: none; }
.thankyou .landing-hero__body a:hover { color: var(--coral); border-color: var(--coral); }
.thankyou__actions { margin-top: 40px; }

/* ── Success Stories hub: grand case cards ──────────────────── */
.case-cards { display: grid; gap: 24px; }
.case-card {
  display: grid; grid-template-columns: auto 1fr; gap: 20px 28px; align-items: start;
  padding: 40px; text-decoration: none;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 18px;
  transition: transform 0.3s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s, border-color 0.3s;
}
@media (min-width: 760px) { .case-card { grid-template-columns: auto 1fr auto; gap: 40px; padding: 48px 56px; align-items: center; } }
.case-card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px rgba(14,17,22,0.10); border-color: var(--ink); }
.case-card__index { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.2em; color: var(--coral); padding-top: 6px; }
.case-card__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 14px; }
.case-card__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(26px, 3.2vw, 40px); line-height: 1.1; color: var(--ink); margin: 0 0 14px; letter-spacing: -0.01em; }
.case-card:hover .case-card__title { color: var(--coral); }
.case-card__body { font-size: 16px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 20px; max-width: 52ch; }
.case-card__link { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.case-card__stat { display: flex; flex-direction: column; gap: 4px; text-align: left; }
@media (min-width: 760px) { .case-card__stat { text-align: right; padding-left: 32px; border-left: 1px solid var(--rule); } }
.case-card__stat-v { font-family: var(--font-display); font-weight: 300; font-size: clamp(32px, 4vw, 52px); line-height: 1; color: var(--coral); }
.case-card__stat-l { font-size: 13px; color: var(--ink-muted); max-width: 16ch; }
@media (min-width: 760px) { .case-card__stat-l { margin-left: auto; } }

/* ── Case study: hero with app image ───────────────────────── */
.case-hero {
  padding: calc(var(--topbar-h) + 40px) var(--gutter) 56px;
  background:
    radial-gradient(90% 70% at 85% 20%, rgba(207,69,32,0.06), transparent 60%),
    var(--cream);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 1024px) { .case-hero { padding: calc(var(--topbar-h) + 64px) var(--gutter) 80px; } }
.case-hero__inner { max-width: var(--maxw); margin: 0 auto; display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .case-hero__inner { grid-template-columns: 1.1fr 1fr; gap: 64px; } }
.case-hero__h1 {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(36px, 5vw, 68px); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--ink); margin: 18px 0 0;
}
.case-hero__h1 span { display: block; }
.case-hero__body {
  font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65;
  color: var(--ink-soft); margin: 24px 0 0; max-width: 46ch;
}
.case-hero__glance { margin-top: 40px; }
.case-hero__media { display: flex; justify-content: center; }
@media (min-width: 900px) { .case-hero__media { justify-content: flex-end; } }
.case-hero__figure {
  margin: 0; width: 100%; max-width: 480px;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 50px -24px rgba(14,17,22,0.28), 0 6px 16px rgba(14,17,22,0.07);
}
.case-hero__figure img { display: block; width: 100%; height: auto; }
.case-hero__figure--ph { min-height: 300px; display: flex; }
/* Bosch's hero shot is a tall phone-mockup photo (bezel included), so at the
   standard 480px width it renders far taller than other case heroes. */
.case-bosch .case-hero__figure { max-width: 300px; }

/* ── Case study: two-column narrative ──────────────────────── */
.narrative { display: grid; gap: 28px; }
@media (min-width: 900px) { .narrative { grid-template-columns: 2fr 3fr; gap: 64px; align-items: start; } }
.narrative__h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.1; margin: 0; }
.narrative__head .eyebrow { margin-bottom: 20px; }
@media (min-width: 900px) { .narrative__head { position: sticky; top: calc(var(--topbar-h) + 24px); } }
.narrative__body p { font-size: 17px; line-height: 1.8; color: var(--ink-soft); margin: 0 0 20px; max-width: 62ch; }
.narrative__body p:last-child { margin-bottom: 0; }

/* ── Case study: at-a-glance strip ──────────────────────────── */
.glance { display: grid; gap: 24px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: 28px 0; }
@media (min-width: 700px) { .glance { grid-template-columns: repeat(3, 1fr); gap: 40px; } }
.glance__k { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); margin-bottom: 8px; }
.glance__v { font-family: var(--font-display); font-size: 19px; color: var(--ink); }

/* ── Case study: screenshots, media-text, compare ───────────── */
.shot-section { padding-top: 32px; padding-bottom: 32px; }
@media (min-width: 1024px) { .shot-section { padding-top: 44px; padding-bottom: 44px; } }
/* Premium showcase backdrop: phones float on a soft radial glow. */
.shot-section--showcase {
  padding-top: 72px; padding-bottom: 72px;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(207,69,32,0.06), transparent 60%),
    var(--cream-deep);
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
@media (min-width: 1024px) { .shot-section--showcase { padding-top: 96px; padding-bottom: 96px; } }
.shot { margin: 0; text-align: center; }
.shot__frame {
  display: block; margin: 0 auto; padding: 0; position: relative;
  width: 100%; overflow: hidden; background: var(--paper);
  border: 1px solid var(--rule); cursor: zoom-in;
}
.shot--phone .shot__frame { max-width: 320px; max-height: 620px; border-radius: 26px; box-shadow: 0 30px 60px -20px rgba(14,17,22,0.35), 0 8px 20px rgba(14,17,22,0.12); }
.shot--wide .shot__frame { max-width: 900px; max-height: 620px; border-radius: 14px; box-shadow: 0 24px 50px -26px rgba(14,17,22,0.28); }
.shot-pair { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 720px; margin: 0 auto; }
@media (min-width: 620px) { .shot-pair { grid-template-columns: 1fr 1fr; gap: 24px; } }
.shot-pair .shot__frame { max-height: 560px; border-radius: 18px; }
.shot__frame img { display: block; width: 100%; height: auto; }
/* Fade at the bottom hints the screen continues; click opens the full image. */
.shot__frame::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 72px;
  background: linear-gradient(to bottom, rgba(250,248,243,0), var(--paper)); pointer-events: none;
}
.shot__expand {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(14,17,22,0.6); color: #fff; font-size: 17px;
  transition: background 0.2s;
}
.shot__frame:hover .shot__expand { background: var(--coral); }
.shot__cap { display: block; margin-top: 14px; font-size: 14px; color: var(--ink-muted); }
.shot__frame--ph { cursor: default; }
.shot__frame--ph::after { display: none; }
.shot-ph {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 380px; padding: 40px; text-align: center;
  background: repeating-linear-gradient(45deg, var(--cream-deep), var(--cream-deep) 12px, var(--paper) 12px, var(--paper) 24px);
}
.shot-ph__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--coral); }
.shot-ph__cap { font-size: 14px; color: var(--ink-muted); max-width: 28ch; }

/* Pre-framed composite screenshots (already have their own device mockup
   baked into the image) — plain, no fade/expand affordance from .shot. */
.case-showcase { margin: 0; text-align: center; }
.case-showcase img { display: block; margin: 0 auto; width: 100%; max-width: 960px; height: auto; border-radius: 16px; box-shadow: 0 24px 50px -26px rgba(14,17,22,0.3); }
.case-showcase figcaption { margin-top: 16px; }

/* Lightbox — full-size screenshot overlay */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(14,17,22,0.92); display: none; padding: 40px 16px; }
.lightbox.is-open { display: block; }
.lightbox__scroll { height: 100%; overflow: auto; display: flex; justify-content: center; }
.lightbox__scroll img { max-width: min(100%, 440px); height: auto; align-self: flex-start; border-radius: 14px; }
.lightbox__close { position: fixed; top: 14px; right: 20px; font-size: 34px; line-height: 1; color: #fff; background: none; border: none; cursor: pointer; }

.media-text { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .media-text { grid-template-columns: 1fr 1fr; gap: 64px; } }
@media (min-width: 900px) { .media-text--flip .media-text__media { order: 2; } }
.media-text__h2 { font-size: clamp(26px, 3vw, 40px); margin: 8px 0 20px; }
.media-text__body p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin: 0 0 16px; }
.media-text__body ul { margin: 0 0 16px; padding-left: 22px; }
.media-text__body li { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin-bottom: 8px; }

.compare { border-top: 2px solid var(--ink); }
.compare__headrow, .compare__row { display: grid; grid-template-columns: 1fr; gap: 6px 24px; padding: 20px 0; border-bottom: 1px solid rgba(14,17,22,0.12); }
@media (min-width: 768px) { .compare__headrow, .compare__row { grid-template-columns: 1.4fr 2fr 2fr; gap: 24px; align-items: baseline; } }
.compare__headrow { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-muted); padding: 16px 0; }
.compare__label { font-family: var(--font-display); font-size: 18px; color: var(--ink); }
.compare__before { font-size: 15px; line-height: 1.55; color: var(--ink-muted); }
.compare__after { font-size: 15px; line-height: 1.55; color: var(--ink); }
.compare__after::before { content: "→ "; color: var(--coral); }
@media (min-width: 768px) { .compare__after::before { content: ""; } }

/* ── Stats bar ──────────────────────────────────────────────── */
.stat-bar { padding: 56px var(--gutter); background: var(--cream-deep); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.stat-bar--dark { background: var(--ink); border-color: rgba(242,239,233,0.12); }
.stat-bar__inner { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
@media (min-width: 768px) { .stat-bar__inner { grid-template-columns: repeat(4, 1fr); } }
.stat-cell__v { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 4vw, 52px); line-height: 1; color: var(--coral); }
.stat-cell__l { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--ink-muted); }
.stat-bar--dark .stat-cell__l { color: rgba(242,239,233,0.6); }

/* ── Feature rows (cloud breakdown) ─────────────────────────── */
.feature-rows { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
@media (min-width: 768px) { .feature-rows { grid-template-columns: 1fr 1fr; } }
.feature-row { background: var(--paper); padding: 36px; }
.feature-row__tag { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
.feature-row__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(22px, 2.4vw, 30px); color: var(--ink); margin: 0 0 12px; }
.feature-row__body { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0 0 16px; }
.feature-row__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.feature-row__list li { position: relative; padding-left: 26px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.feature-row__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--coral); font-weight: 600; }

/* ── Testimonials ───────────────────────────────────────────── */
.testimonial-grid { display: grid; gap: 24px; }
@media (min-width: 768px) { .testimonial-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-grid--single { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
.testimonial-grid--single .testimonial { padding: 48px 40px; text-align: center; align-items: center; gap: 28px; }
.testimonial-grid--single .testimonial__quote { font-size: clamp(20px, 2.2vw, 27px); line-height: 1.5; }
.testimonial-grid--single .testimonial__by { flex-direction: column; gap: 12px; }
.testimonial-grid--single .testimonial__avatar { width: 60px; height: 60px; }
.testimonial-grid--single .testimonial__by-text { align-items: center; }
.testimonial { margin: 0; padding: 32px; border: 1px solid var(--rule); border-radius: 12px; background: var(--cream); display: flex; flex-direction: column; gap: 24px; }
.testimonial__quote { margin: 0; font-family: var(--font-display); font-weight: 300; font-size: 19px; line-height: 1.45; color: var(--ink); }
.testimonial__quote::before { content: "“"; color: var(--coral); }
.testimonial__quote::after { content: "”"; color: var(--coral); }
.testimonial__by { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex: none; }
.testimonial__by-text { display: flex; flex-direction: column; gap: 2px; }
.testimonial__name { font-size: 14px; font-weight: 600; color: var(--ink); }
.testimonial__role { font-size: 13px; color: var(--ink-muted); }

/* ── Logo strip (trust / certifications) ────────────────────── */
.logo-strip { padding: 48px var(--gutter); }
.logo-strip__inner { max-width: var(--maxw); margin: 0 auto; }
.logo-strip__label { text-align: center; color: var(--ink); margin-bottom: 28px; }
.logo-strip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 48px; }
.logo-strip__item img { max-height: 40px; max-width: 150px; width: auto; height: auto; object-fit: contain; }
.logo-strip__item--text { font-family: var(--font-display); font-size: 22px; color: var(--ink-muted); }

/* ── Salesforce landing — small-screen refinements ──────────── */
@media (max-width: 640px) {
  .stat-bar { padding: 40px var(--gutter); }
  .stat-bar__inner { gap: 26px 16px; }
  .feature-row { padding: 26px 22px; }
  .testimonial-grid--single .testimonial { padding: 32px 24px; gap: 22px; }
  .testimonial-grid--single .testimonial__quote { font-size: 19px; }
  .logo-strip { padding: 36px var(--gutter); }
  .logo-strip__row { gap: 20px 30px; }
  .logo-strip__item img { max-height: 30px; max-width: 116px; }
  .landing-hero__grid { gap: 36px; }
}
@media (min-width: 1024px) and (max-height: 820px) {
  .landing .contact-form-col { padding: 22px 28px; }
  .landing .contact-form-col__head { margin-bottom: 18px; padding-bottom: 14px; }
  .landing .contact-form { gap: 14px; }
  .landing .form-row { gap: 14px; }
  .landing .form-field__label { margin-bottom: 8px; }
  .landing .form-field input, .landing .form-field textarea { padding: 10px 13px; }
  .landing .form-field textarea { min-height: 64px; }
}

/* ── FAQ (accordion + FAQPage schema) ───────────────────────── */
.faq-list { border-top: 1px solid rgba(14,17,22,0.14); max-width: 860px; }
.faq-item { border-bottom: 1px solid rgba(14,17,22,0.14); }
.faq-item__q {
  cursor: pointer; list-style: none; padding: 24px 0;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(19px, 2vw, 26px); line-height: 1.25; color: var(--ink);
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::after { content: "+"; color: var(--coral); font-family: var(--font-sans); font-size: 24px; flex: none; }
.faq-item[open] .faq-item__q::after { content: "\2013"; }
.faq-item__a { padding: 0 0 24px; font-size: 16px; line-height: 1.7; color: var(--ink-soft); max-width: 72ch; }

/* ── Tech Radar ─────────────────────────────────────────────── */
.radar-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: rgba(14,17,22,0.1);
}
@media (min-width: 768px) { .radar-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .radar-grid { grid-template-columns: repeat(4, 1fr); } }

.radar-col { background: var(--cream); padding: 40px; }
.radar-col__ring {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--coral); margin-bottom: 28px;
}
.radar-item { border-top: 1px solid rgba(14,17,22,0.1); padding: 16px 0; }
.radar-item[hidden] { display: none; }
.radar-item__name {
  font-family: var(--font-display); font-weight: 300;
  font-size: 20px; color: var(--ink); margin: 0 0 6px;
}
.radar-item__note { font-size: 13px; color: var(--ink-muted); line-height: 1.5; }

/* ── Ring filter buttons ────────────────────────────────────── */
.ring-btn {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 8px 16px;
  border: 1px solid rgba(14,17,22,0.2); background: transparent;
  color: var(--ink-soft); cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.ring-btn:hover { border-color: var(--ink); color: var(--ink); }
.ring-btn--active { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* ── Story / Paper Cards ────────────────────────────────────── */
.story-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: rgba(14,17,22,0.1);
}
@media (min-width: 768px) { .story-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1200px) { .story-grid { grid-template-columns: repeat(3, 1fr); } }

.story-card {
  background: var(--cream); padding: 40px;
  display: flex; flex-direction: column; gap: 20px;
  text-decoration: none; color: inherit;
  transition: background 0.2s;
}
.story-card:hover { background: var(--paper); }
.story-card__kicker {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--coral);
}
.story-card__title {
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.2; color: var(--ink); margin: 0;
  transition: font-style 0.2s;
}
.story-card:hover .story-card__title { font-style: italic; }
.story-card__body { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0; }
.story-card__meta {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink-muted); margin-top: auto; padding-top: 20px;
  border-top: 1px solid rgba(14,17,22,0.1);
}
/* Not-yet-published post previews: same card, no link affordance. */
.story-card--soon { cursor: default; }
.story-card--soon:hover { background: var(--cream); }
.story-card--soon:hover .story-card__title { font-style: normal; }

/* ── Capabilities table rows (genai page) ──────────────────── */
.cap-table { border-top: 1px solid rgba(14,17,22,0.12); }
.cap-table__row {
  display: grid; gap: 24px;
  align-items: baseline;
  border-bottom: 1px solid rgba(14,17,22,0.12);
  padding: 40px 0;
}
@media (min-width: 1024px) {
  .cap-table__row { grid-template-columns: 2fr 3fr 7fr; gap: 40px; }
}
.cap-table__tag {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--coral);
}
.cap-table__title {
  font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.1; font-weight: 300; color: var(--ink);
}
.cap-table__desc { font-size: 15px; line-height: 1.65; color: var(--ink-soft); margin: 0; }

/* ── Partner tabs (partners page) ──────────────────────────── */
.partner-section { padding-top: calc(var(--topbar-h) + 48px); }
@media (min-width: 1024px) { .partner-section { padding-top: calc(var(--topbar-h) + 72px); } }
.partner-tabs__list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 48px; border-bottom: 1px solid rgba(14,17,22,0.12); padding-bottom: 16px; }
.partner-tab { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-muted); background: none; border: 1px solid var(--rule); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: color .2s, border-color .2s, background .2s; }
.partner-tab:hover { color: var(--ink); border-color: var(--ink); }
.partner-tab.is-active { color: var(--cream); background: var(--ink); border-color: var(--ink); }
.partner-panel { display: grid; gap: 40px; }
.partner-panel[hidden] { display: none; }
.partner-card { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
@media (min-width: 1024px) { .partner-card { grid-template-columns: 3fr 7fr; gap: 56px; } }
.partner-card__logo { display: flex; align-items: center; min-height: 72px; }
.partner-card__logo img { max-width: 220px; max-height: 72px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
.partner-card__name { font-family: var(--font-display); font-weight: 300; font-size: 30px; color: var(--ink); }
.partner-card__title { font-family: var(--font-display); font-weight: 300; font-size: 26px; color: var(--ink); margin: 0 0 14px; }
.partner-card__desc { font-size: 16px; line-height: 1.7; color: var(--ink-soft); margin: 0; max-width: 46rem; }
@media (max-width: 600px) {
  .partner-tabs__list { gap: 6px; margin-bottom: 32px; }
  .partner-tab { font-size: 10px; letter-spacing: 0.12em; padding: 8px 13px; }
  .partner-panel { gap: 32px; }
  .partner-card { gap: 18px; }
  .partner-card__logo { min-height: 48px; }
  .partner-card__logo img { max-width: 160px; max-height: 52px; }
  .partner-card__name { font-size: 24px; }
  .partner-card__title { font-size: 22px; margin-bottom: 10px; }
  .partner-card__desc { font-size: 15px; }
}

/* ── Phase grid (4-col methodology, genai page) ─────────────── */
.phase-grid {
  display: grid; gap: 1px;
  background: rgba(242,239,233,0.1);
  margin-top: 0;
}
@media (min-width: 768px) { .phase-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 768px) { .phase-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.phase-col {
  background: var(--ink); padding: 40px;
  min-height: 260px; display: flex; flex-direction: column; justify-content: space-between;
}
.phase-col__n {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--coral);
}
.phase-col__title {
  font-family: var(--font-display); font-size: clamp(28px, 3vw, 36px);
  font-weight: 300; color: var(--cream); line-height: 1.1; margin-bottom: 12px;
}
.phase-col__desc { font-size: 14px; line-height: 1.65; color: rgba(242,239,233,0.65); margin: 0; }

/* ── Two-col feature block (used in several pages) ─────────── */
.feature-block {
  display: grid; gap: 48px;
}
@media (min-width: 1024px) { .feature-block { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; } }

/* ── Featured case grid (AI Lab featured project section) ───── */
.featured-case-grid {
  display: grid; gap: 48px;
}
@media (min-width: 1024px) {
  .featured-case-grid {
    grid-template-columns: 5fr 7fr;
    gap: 80px;
    align-items: start;
  }
}
.featured-case-grid__left .eyebrow { margin-bottom: 24px; }
.featured-case-grid__left .h2-display { margin-top: 0; }

/* Plex case-study band: proof text + product shot, side by side */
.plex-case { display: grid; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .plex-case { grid-template-columns: 1fr 1fr; gap: 64px; } }
.plex-case__text .h2-display { margin: 20px 0 0; }
.plex-case__p { font-size: 17px; line-height: 1.75; color: rgba(242,239,233,0.72); margin: 20px 0 0; max-width: 60ch; }
.plex-case__stats { display: grid; grid-template-columns: repeat(3, auto); gap: 40px; margin-top: 36px; }
.plex-case__stats .stat__v { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); color: var(--coral); line-height: 1; }
.plex-case__stats .stat__l { font-size: 12px; line-height: 1.4; color: rgba(242,239,233,0.55); margin-top: 8px; max-width: 14ch; }
.plex-case__link { margin-top: 32px; }
.plex-case__link a { color: var(--coral); font-weight: 600; text-decoration: none; }
.plex-case__media img {
  display: block; width: 100%; height: auto; border-radius: 14px;
  border: 1px solid rgba(242,239,233,0.12);
  box-shadow: 0 30px 60px -24px rgba(0,0,0,0.6);
}
@media (max-width: 1023px) { .plex-case__stats { gap: 24px; } }

.feature-block__lead p {
  font-size: 17px; line-height: 1.7; color: var(--ink-soft); margin: 24px 0 0;
}
.page-section--dark .feature-block__lead p { color: rgba(242,239,233,0.7); }

/* ── Responsive 2-col splits ───────────────────────────────── */
/* 5fr / 6fr — text + image (consulting, service-design) */
.editorial-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}
@media (min-width: 768px) {
  .editorial-split { grid-template-columns: 5fr 6fr; gap: 48px; }
}

/* 4fr / 7fr — heading + body text */
.content-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}
@media (min-width: 768px) {
  .content-split { grid-template-columns: 4fr 7fr; gap: 60px; }
}

/* 1fr / 1fr — two equal images, stack on small screens */
.photo-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .photo-pair { grid-template-columns: 1fr 1fr; }
}

/* 3-col image/paper grid */
.paper-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 640px) {
  .paper-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1024px) {
  .paper-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Case rows (financial-services, retail, mvp-incubator) */
.case-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  border-bottom: 1px solid rgba(14,17,22,0.15);
  padding: 40px 0;
}
@media (min-width: 768px) {
  .case-row { grid-template-columns: 1fr 2fr 2fr; gap: 24px; align-items: baseline; }
}
.case-row__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 479px) { .case-row__stats { grid-template-columns: 1fr 1fr; } }

/* ── Type specimen table (experience page) */
.typespec-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  width: 100%;
}
.typespec-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 16px;
  align-items: baseline;
  border-top: 1px solid rgba(14,17,22,0.15);
  padding: 16px 0;
  min-width: 340px;
}
.typespec-row > * { min-width: 0; }
