/* ==========================================================================
   Clymb — site styles
   Implemented from design source: "Clymb Platform.dc.html"
   Palette, type and spacing are lifted verbatim from the design; only the
   responsive rules below the breakpoints are additive.
   ========================================================================== */

/* --- Design tokens -------------------------------------------------------- */
:root {
  /* Surfaces */
  --bg-deep:        oklch(0.17 0.015 60);
  --surface-0:      oklch(0.99 0.004 60);
  --surface-1:      oklch(0.98 0.004 60);
  --surface-2:      oklch(0.96 0.006 60);

  /* Ink on light */
  --ink:            oklch(0.2 0.015 60);
  --ink-strong:     oklch(0.22 0.015 60);
  --ink-quiet:      oklch(0.25 0.015 60);
  --ink-soft:       oklch(0.28 0.012 60);
  --body:           oklch(0.36 0.012 60);
  --body-2:         oklch(0.38 0.012 60);
  --body-3:         oklch(0.4 0.012 60);
  --body-4:         oklch(0.42 0.012 60);
  --meta:           oklch(0.5 0.01 60);
  --meta-2:         oklch(0.48 0.01 60);

  /* Rules on light */
  --rule:           oklch(0.9 0.008 60);
  --rule-2:         oklch(0.88 0.008 60);
  --rule-3:         oklch(0.89 0.008 60);
  --rule-strong:    oklch(0.78 0.01 60);

  /* Ink on dark */
  --on-dark:        oklch(0.97 0.006 60);
  --on-dark-2:      oklch(0.96 0.006 60);
  --on-dark-nav:    oklch(0.86 0.008 60);
  --on-dark-muted:  oklch(0.78 0.012 60);
  --on-dark-muted-2:oklch(0.76 0.012 60);
  --on-dark-muted-3:oklch(0.74 0.012 60);
  --on-dark-rule:   oklch(0.3 0.012 60);
  --on-dark-border: oklch(0.46 0.01 60);

  /* Accents */
  --cyan:           oklch(0.7 0.05 210);
  --cyan-bright:    oklch(0.78 0.14 210);
  --cyan-mid:       oklch(0.72 0.14 210);
  --green:          oklch(0.72 0.14 130);
  --green-ink:      oklch(0.18 0.03 130);
  --link:           oklch(0.38 0.09 210);
  --link-hover:     oklch(0.28 0.07 210);
  /* Per-page accent. Platform runs cyan; .theme-studio overrides to green. */
  --eyebrow-accent: var(--cyan);
  --stat-accent:    var(--cyan-bright);
  --focus:          var(--cyan-bright);

  /* Dark raised surfaces + light card surface used by the AI Studio page */
  --surface-dark-raised: oklch(0.2 0.014 60);
  --surface-card:        oklch(0.985 0.004 60);
  --on-dark-meta:        oklch(0.62 0.01 60);
  --on-dark-dashed:      oklch(0.34 0.012 60);
  --on-dark-faint:       oklch(0.56 0.01 60);

  /* Type */
  --font-sans: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Rhythm */
  --gutter: 56px;
  --section-y: 110px;
  --radius: 2px;
}

/* --- Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #2b2620;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body { color: var(--body); }

/* Home and AI Studio run a green accent where Platform runs cyan. */
.theme-green {
  --link:           oklch(0.38 0.09 130);
  --link-hover:     oklch(0.28 0.07 130);
  --eyebrow-accent: oklch(0.74 0.06 130);
  --stat-accent:    oklch(0.78 0.14 130);
  --focus:          oklch(0.78 0.14 130);
}

a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }

img { max-width: 100%; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

[id] { scroll-margin-top: 24px; }

/* The design's nav and footer links render 16-19px tall — below the 24px
   minimum target size. Padding enlarges the hit area without moving anything,
   since both sit in centred flex rows. */
.nav__link, .footer a, .nav__brand { padding-block: 6px; }
/* Negative margin keeps the link sitting exactly where the design puts it
   while the padding does the work of enlarging the target. */
.offering__link { padding-block: 6px; margin-top: -2px; }
@media (pointer: coarse) {
  .nav__link, .footer a, .nav__brand, .offering__link { padding-block: 12px; }
  .offering__link { margin-top: -8px; }
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Shared primitives ---------------------------------------------------- */
.eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--meta);
}
.eyebrow--accent { color: var(--eyebrow-accent); }

.btn {
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  border-radius: var(--radius);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
}
.btn--light {
  padding: 15px 28px;
  background: var(--on-dark);
  color: var(--bg-deep);
}
.btn--light:hover { background: #fff; color: var(--bg-deep); }
.btn--dark {
  padding: 16px 30px;
  background: var(--ink);
  color: var(--on-dark);
}
.btn--dark:hover { background: var(--ink-soft); color: var(--on-dark); }
.btn--ghost {
  padding: 16px 30px;
  border: 1px solid var(--rule-strong);
  color: var(--ink-quiet);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

.bullets {
  margin: 0;
  padding: 0 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bullets li {
  font-size: 15px;
  line-height: 1.45;
  color: var(--body-3);
}
.bullets--lg { gap: 10px; }
.bullets--lg li { font-size: 16px; line-height: 1.5; color: var(--body-2); }

/* --- Sections ------------------------------------------------------------- */
.section { padding: var(--section-y) var(--gutter); }
.section--light { background: var(--surface-1); }
.section--tint  { background: var(--surface-2); }
.section--dark  { background: var(--bg-deep); }

.section--stack {
  display: flex;
  flex-direction: column;
  gap: 44px;
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 26px;
}
.section--tint .section__head { border-bottom-color: var(--rule-2); }

.section__heading {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.section__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.024em;
  font-weight: 600;
  color: var(--ink);
}
.section__lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 52ch;
  text-wrap: pretty;
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 640px;
  overflow: hidden;
  background: var(--bg-deep);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    oklch(0.17 0.015 60 / 0.42) 0%,
    oklch(0.17 0.015 60 / 0.7) 58%,
    oklch(0.17 0.015 60 / 0.9) 100%
  );
}
.hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px var(--gutter) 60px;
}
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 70ch;
}
.hero__title {
  margin: 0;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--on-dark);
  text-wrap: balance;
}
.hero__lede {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--on-dark-muted);
  max-width: 56ch;
  text-wrap: pretty;
}
.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* --- Nav ------------------------------------------------------------------ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__brand img { height: 22px; width: auto; display: block; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__link {
  font-size: 15px;
  color: var(--on-dark-nav);
  transition: color .18s ease;
}
.nav__link:hover { color: var(--on-dark-2); }
.nav__link[aria-current="page"] { color: var(--on-dark-2); }
.nav__cta {
  font-size: 15px;
  font-weight: 500;
  padding: 11px 20px;
  border: 1px solid var(--on-dark-border);
  color: var(--on-dark-2);
  border-radius: var(--radius);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.nav__cta:hover {
  background: var(--on-dark);
  border-color: var(--on-dark);
  color: var(--bg-deep);
}

/* --- Suite 01: sales ------------------------------------------------------ */
.sales-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 40px;
  align-items: start;
}

.phone-stage {
  position: relative;
  /* The pins reflow on the stage's width, which does not track the viewport:
     the stage is full-width while .sales-grid is stacked, then collapses by
     half when it becomes two columns above 900px. */
  container-type: inline-size;
  display: flex;
  /* A no-op while the pins are absolutely positioned (one in-flow child). */
  flex-direction: column;
  gap: 28px;
  align-items: center;
  justify-content: center;
  padding: 56px 40px;
  background: linear-gradient(
    160deg,
    oklch(0.94 0.01 210) 0%,
    oklch(0.96 0.006 60) 60%,
    oklch(0.93 0.012 130) 100%
  );
  border: 1px solid var(--rule);
  overflow: hidden;
}
.phone {
  position: relative;
  width: 308px;
  max-width: 100%;
  padding: 11px;
  border-radius: 46px;
  background: oklch(0.22 0.012 60);
  box-shadow:
    0 30px 60px -24px oklch(0.2 0.02 60 / 0.55),
    inset 0 0 0 1.5px oklch(0.4 0.01 60);
}
.phone__screen {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  background: #fff;
}
.phone__notch {
  position: absolute;
  top: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 24px;
  border-radius: 999px;
  background: oklch(0.22 0.012 60);
  z-index: 2;
}
.phone__shot {
  width: 100%;
  height: auto;
  display: block;
  padding-top: 26px;
  background: #fff;
}

.phone-stage__pins { position: absolute; inset: 0; pointer-events: none; }
.pin {
  position: absolute;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 8px;
}
.pin--plan {
  top: 64px; left: 0;
  background: var(--ink);
  color: var(--on-dark);
  box-shadow: 0 10px 24px -14px oklch(0.2 0.02 60 / 0.6);
}
.pin--targets {
  top: 250px; right: 0;
  background: var(--green);
  color: var(--green-ink);
  box-shadow: 0 10px 24px -14px oklch(0.2 0.02 60 / 0.5);
}
.pin--route {
  bottom: 56px; left: 8px;
  background: var(--surface-0);
  color: oklch(0.24 0.015 60);
  box-shadow: 0 10px 24px -14px oklch(0.2 0.02 60 / 0.45);
}

/* inline-size queries the content box, so this is the stage minus its 40px
   side padding. At 605 the pins still clear the handset (measured: 4px of
   overlap at worst); below it they cover up to a quarter of the screenshot,
   so they drop into a strip beneath it instead. */
@container (max-width: 605px) {
  .phone-stage__pins {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
  }
  .pin {
    position: static;
    font-size: 14px;
    padding: 10px 14px;
  }
}

.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature {
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}
.feature__name { font-size: 17px; font-weight: 600; color: var(--ink-strong); }
.feature__desc { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body-4); }

/* --- Suite 02: delivery --------------------------------------------------- */
.figure { margin: 0; display: flex; flex-direction: column; gap: 16px; }
.figure__img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule-2);
}
.figure__caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--meta);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 32px;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface-1);
  border: 1px solid var(--rule-3);
  padding: 32px;
}
.card__title {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--ink);
}
.card__desc { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body); }

.split-figure {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 36px;
  align-items: center;
  background: var(--surface-1);
  border: 1px solid var(--rule-3);
  padding: 36px;
}
.split-figure img { width: 100%; height: auto; display: block; }
.split-figure__caption { display: flex; flex-direction: column; gap: 14px; }
.split-figure__lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.split-figure__note { margin: 0; font-size: 16px; line-height: 1.5; color: var(--body-4); }

/* --- Suite 03: customer app ----------------------------------------------- */
.customer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr));
  gap: 48px;
  align-items: center;
}
.customer__copy { display: flex; flex-direction: column; gap: 22px; }
.customer__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.024em;
  font-weight: 600;
  color: var(--ink);
  max-width: 24ch;
  text-wrap: balance;
}
.customer__lede {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--body);
  max-width: 50ch;
  text-wrap: pretty;
}
.customer__shot { width: 100%; height: auto; display: block; }

.meta-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--meta-2);
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

/* --- Results -------------------------------------------------------------- */
.results { display: flex; flex-direction: column; gap: 44px; padding-block: 100px; }
.results__title {
  margin: 0;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.024em;
  font-weight: 600;
  color: var(--on-dark);
  max-width: 34ch;
  text-wrap: balance;
}
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 16px;
}
.stat {
  border: 1px solid var(--on-dark-rule);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.stat__value {
  font-size: 48px;
  letter-spacing: -0.03em;
  font-weight: 600;
  color: var(--on-dark);
}
.stat__value--accent { color: var(--stat-accent); }
.stat__label { font-size: 15px; line-height: 1.45; color: var(--on-dark-muted-2); }

/* --- CTA + footer --------------------------------------------------------- */
.cta {
  background: var(--surface-2);
  padding: var(--section-y) var(--gutter) 130px;
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: center;
  text-align: center;
}
.cta__title {
  margin: 0;
  font-size: clamp(30px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.026em;
  font-weight: 600;
  color: var(--ink);
  max-width: 26ch;
  text-wrap: balance;
}
.cta__lede {
  margin: 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--body-2);
  max-width: 52ch;
}
.cta__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

.footer {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--meta);
  border-top: 1px solid var(--rule-2);
  padding-top: 32px;
  width: 100%;
}
.footer img { height: 17px; width: auto; display: block; }


/* ==========================================================================
   AI Studio page
   ========================================================================== */

/* The Studio hero runs a slightly lighter scrim and a wider measure. */
.hero__scrim--studio {
  background:
    /* Copy column: the canvas labels are positioned from the viewport size and
       collide with the eyebrow at some widths, so damp the art behind the text
       rather than move the animation. */
    linear-gradient(
      90deg,
      oklch(0.17 0.015 60 / 0.86) 0%,
      oklch(0.17 0.015 60 / 0.55) 38%,
      transparent 64%
    ),
    linear-gradient(
      180deg,
      oklch(0.17 0.015 60 / 0.4) 0%,
      oklch(0.17 0.015 60 / 0.68) 56%,
      oklch(0.17 0.015 60 / 0.9) 100%
    );
}
.hero--studio .hero__inner { padding-bottom: 56px; }
.hero--studio .hero__copy  { max-width: 74ch; }
.hero--studio .hero__title { font-size: clamp(38px, 4.8vw, 74px); max-width: 24ch; }
.hero--studio .hero__lede  { max-width: 58ch; }

.section--compact { padding-block: 100px; }
.section--clients { padding-block: 90px; gap: 28px; }
.section__head--baseline { gap: 24px; padding-bottom: 24px; }
.section__head--plain { border-bottom: 0; padding-bottom: 0; }
.section__lede--sm { max-width: 44ch; font-size: 17px; line-height: 1.5; }

.btn--ghost-dark {
  padding: 15px 28px;
  border: 1px solid oklch(0.44 0.01 60);
  color: oklch(0.92 0.006 60);
}
.btn--ghost-dark:hover { border-color: var(--on-dark); color: var(--on-dark); }

.section__head--baseline { align-items: baseline; }
.section--dark .section__head { border-bottom-color: var(--on-dark-rule); }
.section--dark .section__title { color: var(--on-dark); }
.section--dark .eyebrow { color: var(--on-dark-meta); }

/* --- Capabilities --------------------------------------------------------- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 24px;
}
/* Lock to 2x2 once there is room: auto-fit alone gives an unbalanced 3+1 on
   wide screens, and dips to one column just above 900px where the gutter
   jumps from 32 to 56. */
@media (min-width: 840px) {
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
}
.capability {
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--on-dark-rule);
  padding: 32px;
  background: var(--surface-dark-raised);
}
.capability__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.capability__index {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--on-dark-meta);
}
.capability__rule { width: 44px; height: 2px; background: var(--green); }
.capability__rule--cyan { background: var(--cyan-mid); }
.capability__title {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 600;
  color: var(--on-dark);
}
.capability__desc {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--on-dark-muted-2);
  text-wrap: pretty;
}

/* Four animated glyphs, one per capability. */
.glyph { height: 66px; display: flex; align-items: center; }

@keyframes blip  { 0%, 100% { opacity: .18; transform: scaleY(.5) } 50% { opacity: 1; transform: scaleY(1) } }
@keyframes slide { 0%, 100% { transform: translateX(0) } 50% { transform: translateX(26px) } }
@keyframes swap  { 0%, 100% { transform: translateY(0) } 50% { transform: translateY(14px) } }
@keyframes march { to { background-position: 22px 0 } }

.glyph-bars { display: flex; gap: 9px; align-items: flex-end; height: 44px; }
.glyph-bars span {
  width: 13px; height: 44px;
  background: var(--green);
  animation: blip 2.2s ease-in-out infinite;
}
.glyph-bars span:nth-child(2) { animation-delay: .22s }
.glyph-bars span:nth-child(3) { animation-delay: .44s }
.glyph-bars span:nth-child(4) { animation-delay: .66s }
.glyph-bars span:nth-child(5) { animation-delay: .88s }

.glyph-rows { display: flex; flex-direction: column; gap: 9px; width: 100%; max-width: 200px; }
.glyph-rows span {
  height: 11px;
  background: var(--cyan-mid);
  animation: slide 3.4s ease-in-out infinite;
}
.glyph-rows span:nth-child(1) { width: 60%;  opacity: .4 }
.glyph-rows span:nth-child(2) { width: 80%;  opacity: .6; animation-delay: .4s }
.glyph-rows span:nth-child(3) { width: 100%; opacity: .8; animation-delay: .8s }

.glyph-swap { display: flex; gap: 12px; align-items: center; }
.glyph-swap > div {
  display: flex; flex-direction: column; gap: 8px;
  animation: swap 2.8s ease-in-out infinite;
}
.glyph-swap > div:nth-child(2) { animation-delay: .3s }
.glyph-swap > div:nth-child(3) { animation-delay: .6s }
.glyph-swap > div:nth-child(4) { animation-delay: .9s }
.glyph-swap span { display: block; width: 12px; height: 12px; background: var(--green); }
.glyph-swap span + span { background: oklch(0.5 0.02 60); }

.glyph-march {
  width: 100%; height: 14px;
  background-image: repeating-linear-gradient(90deg, var(--cyan-mid) 0 11px, transparent 11px 22px);
  background-size: 22px 14px;
  animation: march 1.1s linear infinite;
}

/* --- Engagements ---------------------------------------------------------- */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 18px;
  padding-top: 1px;
}
.engagement {
  --h: 130;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--surface-card);
  border: 1px solid var(--rule-3);
  border-top: 2px solid oklch(0.72 0.14 var(--h));
  padding: 28px 24px 30px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.engagement:nth-child(2) { --h: 150 }
.engagement:nth-child(3) { --h: 170 }
.engagement:nth-child(4) { --h: 190 }
.engagement:nth-child(5) { --h: 210 }
.engagement:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -28px oklch(0.2 0.02 60 / 0.55);
}
.engagement__dot {
  position: absolute;
  top: -7px; left: 24px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: oklch(0.72 0.14 var(--h));
  box-shadow: 0 0 0 5px var(--surface-2);
}
.engagement__num {
  font-family: var(--font-mono);
  font-size: 40px;
  line-height: 1;
  font-weight: 500;
  color: oklch(0.56 0.1 var(--h));
}
.engagement__title {
  margin: 0;
  font-size: 21px;
  line-height: 1.2;
  letter-spacing: -0.018em;
  font-weight: 600;
  color: var(--ink);
}
.engagement__desc {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--body-2);
  text-wrap: pretty;
  flex: 1;
}
.engagement__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--meta);
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}

/* --- Client logos ---------------------------------------------------------
   Markup removed from both pages until real client logos exist. To bring the
   wall back, re-add a .client-grid of .client items — a dark section on
   ai-studio.html, or a .proof__clients block at the end of Proof on index.html
   (and restore Engagements to .section--tint if the dark band returns).
   -------------------------------------------------------------------------- */
.client-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 16px;
}
.client {
  height: 76px;
  border: 1px dashed var(--on-dark-dashed);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}

/* ==========================================================================
   Home page
   ========================================================================== */

.home-hero__scrim {
  position: absolute;
  inset: 0;
  background: radial-gradient(115% 85% at 50% 46%, transparent 34%, oklch(0.17 0.015 60 / 0.84) 82%);
}
.home-hero .hero__inner { padding: 34px var(--gutter) 48px; }
.home-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}
.home-hero__title {
  margin: 0;
  font-size: clamp(40px, 5.4vw, 82px);
  line-height: 1;
  letter-spacing: -0.032em;
  font-weight: 600;
  color: var(--on-dark);
  text-wrap: balance;
  max-width: 24ch;
}
.home-hero__lede {
  margin: 0;
  font-size: 20px;
  line-height: 1.5;
  color: var(--on-dark-muted-2);
  max-width: 54ch;
  text-wrap: pretty;
}
.home-hero__meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.58 0.01 60);
}

.intro {
  background: var(--surface-2);
  padding: var(--section-y) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.intro__title {
  margin: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.024em;
  font-weight: 600;
  color: var(--ink);
  max-width: 34ch;
  text-wrap: balance;
}
.intro__body {
  margin: 0;
  font-size: 19px;
  line-height: 1.6;
  color: var(--body-2);
  max-width: 70ch;
  text-wrap: pretty;
}

.offerings {
  background: var(--surface-2);
  padding: 56px var(--gutter) 100px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
  gap: 40px;
}
.offering {
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--surface-1);
  border: 1px solid var(--rule-3);
  padding: 40px;
}
.offering__tag { display: flex; align-items: center; gap: 10px; }
.offering__tag span:first-child {
  width: 10px; height: 10px; border-radius: 50%;
  background: oklch(0.68 0.14 210);
}
.offering--studio .offering__tag span:first-child { background: oklch(0.68 0.14 130); }
.offering__tag span:last-child {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--meta);
}
.offering__title {
  margin: 0;
  font-size: 32px;
  letter-spacing: -0.022em;
  font-weight: 600;
  color: var(--ink);
}
.offering__desc {
  margin: 0;
  font-size: 18px;
  line-height: 1.55;
  color: oklch(0.34 0.012 60);
  text-wrap: pretty;
}
.offering__list {
  margin: 0; padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.offering__list li {
  font-size: 16px;
  line-height: 1.45;
  color: oklch(0.32 0.012 60);
}
.offering__list strong { font-weight: 600; }
.offering__link {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.42 0.09 210);
  margin-top: 4px;
}
.offering--studio .offering__link { color: oklch(0.42 0.09 130); }

/* The platform card cycles three product shots. */
@keyframes cyc { 0%, 30% { opacity: 1 } 36%, 96% { opacity: 0 } 100% { opacity: 1 } }

.stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(155deg, oklch(0.95 0.012 210) 0%, oklch(0.975 0.005 60) 55%, oklch(0.94 0.014 130) 100%);
  border: 1px solid var(--rule-3);
  overflow: hidden;
}
.stage__slide {
  position: absolute;
  inset: 0;
  display: flex;
  opacity: 0;
  animation: cyc 13.5s linear infinite;
}
.stage__slide--1 { align-items: flex-start; justify-content: center; padding: 22px 22px 0; }
.stage__slide--2 { align-items: center; justify-content: center; animation-delay: 4.5s; }
.stage__slide--3 { align-items: center; justify-content: center; gap: 26px; padding: 20px; animation-delay: 9s; }

.stage__shot-wide {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  border: 1px solid oklch(0.86 0.008 60);
  border-radius: 6px 6px 0 0;
  box-shadow: 0 18px 40px -22px oklch(0.2 0.02 60 / 0.45);
}
.stage__shot-contain {
  height: 100%; width: auto; max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 16px 30px oklch(0.2 0.02 60 / 0.28));
}
.stage__phone {
  height: 100%;
  aspect-ratio: 414 / 736;
  padding: 6px;
  border-radius: 22px;
  background: oklch(0.22 0.012 60);
  box-shadow: 0 18px 36px -20px oklch(0.2 0.02 60 / 0.55);
}
.stage__phone-screen {
  position: relative;
  height: 100%;
  border-radius: 17px;
  overflow: hidden;
  background: #fff;
}
.stage__phone-notch {
  position: absolute;
  top: 5px; left: 50%;
  transform: translateX(-50%);
  width: 52px; height: 13px;
  border-radius: 999px;
  background: oklch(0.22 0.012 60);
  z-index: 2;
}
.stage__phone-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  padding-top: 15px;
  background: #fff;
}
.stage__note { display: flex; flex-direction: column; gap: 10px; max-width: 42%; }
.stage__note-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.45 0.01 60);
}
.stage__note-text {
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
  color: oklch(0.24 0.015 60);
}
.stage__caption {
  position: absolute;
  left: 14px; bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.45 0.01 60);
  background: oklch(0.99 0.004 60 / 0.85);
  padding: 5px 9px;
}

.stage--dark {
  background: oklch(0.19 0.014 60);
  border-color: oklch(0.28 0.012 60);
}
.stage__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

.proof { display: flex; flex-direction: column; gap: 48px; padding-block: 100px; }
.proof__lede {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--on-dark-muted-3);
  max-width: 44ch;
}
.proof__clients {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--on-dark-rule);
  padding-top: 40px;
}


/* --- Contact form --------------------------------------------------------- */
.contact-form {
  width: 100%;
  max-width: 560px;
  display: grid;
  gap: 18px;
  text-align: left;
}
.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--meta);
}
.field input,
.field textarea {
  font-family: inherit;
  /* 16px keeps iOS from zooming the viewport on focus. */
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--surface-0);
  border: 1px solid var(--rule-strong);
  border-radius: var(--radius);
  padding: 13px 14px;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: oklch(0.62 0.01 60); }
.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 1px;
  border-color: transparent;
}
.contact-form__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 2px;
}
.contact-form button.btn {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
/* Honeypot: hidden from people, tempting to bots. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

@media (max-width: 560px) {
  .contact-form__row { grid-template-columns: 1fr; }
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1080px) {
  .sales-grid { gap: 32px; }
}

@media (max-width: 900px) {
  :root { --gutter: 32px; --section-y: 76px; }
  .offering { padding: 28px; }
  .section--compact { padding-block: 76px; }
  .section--clients { padding-block: 60px; }
  .offerings { gap: 28px; padding-bottom: 76px; }
  .proof { padding-block: 76px; }
  .sales-grid { grid-template-columns: 1fr; }
  .customer { gap: 36px; }
  .results { padding-block: 76px; }
  .cta { padding-bottom: 96px; }
}

@media (max-width: 700px) {
  .phone-stage { padding: 36px 24px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --section-y: 60px; }

  .nav { gap: 14px; }
  .nav__links { gap: 16px; }
  .nav__link { font-size: 14px; }
  .nav__cta { padding: 9px 14px; font-size: 14px; }
  .nav__brand img { height: 19px; }

  .hero__inner { padding: 22px var(--gutter) 44px; }
  .hero__copy { gap: 20px; }
  .hero__lede { font-size: 17px; }
  .btn--light { padding: 14px 22px; font-size: 15px; }

  .section__lede { font-size: 16px; }
  .card { padding: 24px; }
  .card-grid { gap: 20px; }
  .split-figure { padding: 22px; gap: 24px; }
  .split-figure__lead { font-size: 17px; }
  .stat { padding: 24px 22px; }
  .stat__value { font-size: 40px; }
  .capability { padding: 24px; }
  .section--compact { padding-block: 60px; }
  .capability__title, .offering__title { font-size: 24px; }
  .offering { padding: 22px; }
  .offering__desc { font-size: 16px; }
  .intro__body { font-size: 17px; }
  .home-hero__lede { font-size: 17px; }
  .home-hero__meta { gap: 18px; }
  /* The three-up slide is too dense to read at phone width. */
  .stage__slide--3 { flex-direction: column; gap: 12px; padding: 14px; }
  .stage__note { max-width: 100%; text-align: center; }
  .stage__note-text { font-size: 14px; }
  .cta__lede { font-size: 17px; }
  .footer { gap: 20px; }
}

@media (max-width: 420px) {
  .nav__links { gap: 12px; }
  .nav__link { font-size: 13px; }
}

/* --- Motion preferences --------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
