/* ==========================================================================
   SimplyForge — "tempered steel" design system
   Derived from the SF mark: brushed graphite + machined blue, pixel squares.
   Light = machined steel in daylight · Dark = quenched steel at night
   All colors flow from the tokens below; nothing downstream is hardcoded.
   ========================================================================== */

:root {
  /* ground */
  --bg: #eef1f4;
  --surface: #f7f9fb;
  --surface-2: #e3e8ed;
  --card: #f2f5f8;
  --ink: #14181d;
  --muted: #545e6a;
  --faint: #6d7885;
  --line: #d5dce3;

  /* machined blue (from the F) */
  --blue: #1583e9;
  --blue-strong: #0d62b5;
  --blue-glow: rgba(21, 131, 233, .16);
  --grad-brand: linear-gradient(105deg, #0a55a8, #1583e9 55%, #3fa9f5);

  /* steel tints */
  --tint-ice: #d3e5f5;
  --tint-silver: #dfe4e9;
  --tint-slate: #d6dce6;
  --tint-sky: #c9e2f7;

  /* the quench sequence (process steps, raw silver -> hardened blue) */
  --q1: #e2e7eb;
  --q2: #d4dde5;
  --q3: #bdd6ee;
  --q4: #9ac7ef;
  --q5: #6fb1ea;

  /* components */
  --chart-line: #1583e9;
  --grid-line: rgba(20, 24, 29, .06);
  --pill-live-bg: #ddefe2;
  --pill-live-ink: #2f7d4f;
  --pill-live-dot: #43a56d;
  --cta-bg: #14181d;
  --cta-fg: #f2f6fa;
  --mock-bg: #ffffff;
  --mock-line: #e9edf1;

  --header-bg: rgba(238, 241, 244, .82);
  --nav-bg: rgba(247, 249, 251, .92);

  --board-bg: #14171c;
  --board-ink: #e9eef3;
  --board-muted: #7e8894;
  --board-line: #262c34;
  --board-node: #1e242b;
  --board-node-line: #313943;

  --footer-bg: #12151a;
  --footer-ink: #e9eef3;
  --footer-muted: #8b95a1;
  --footer-line: #252b33;

  --hero-a: rgba(21, 131, 233, .13);
  --hero-b: rgba(120, 140, 160, .14);
  --hero-c: rgba(63, 169, 245, .10);
  --orb-one: #7fb4e6;
  --orb-two: #9aa8b6;

  --shadow-soft: 0 8px 25px rgba(20, 30, 40, .06);
  --shadow-lift: 0 18px 50px rgba(20, 30, 40, .10);
  --shadow-deep: 0 30px 80px rgba(20, 30, 40, .16);

  --radius: 24px;

  --font-display: "Archivo", "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
}

[data-theme="dark"] {
  --bg: #0f1215;
  --surface: #151a1f;
  --surface-2: #1c2229;
  --card: #181e24;
  --ink: #e7ecf1;
  --muted: #94a0ad;
  --faint: #75808d;
  --line: #2a323b;

  --blue: #3ba0f5;
  --blue-strong: #6cb9f8;
  --blue-glow: rgba(59, 160, 245, .22);
  --grad-brand: linear-gradient(105deg, #1583e9, #45a7f6 55%, #7cc6ff);

  --tint-ice: #1a2c3d;
  --tint-silver: #232a31;
  --tint-slate: #202836;
  --tint-sky: #16334d;

  --q1: #232a31;
  --q2: #1f2c3a;
  --q3: #1a3450;
  --q4: #144066;
  --q5: #0f4d80;

  --chart-line: #45a7f6;
  --grid-line: rgba(231, 236, 241, .06);
  --pill-live-bg: #1c3326;
  --pill-live-ink: #86caa0;
  --pill-live-dot: #4fb372;
  --cta-bg: #e8edf2;
  --cta-fg: #14181d;
  --mock-bg: #eef1f4;
  --mock-line: #d9dee4;

  --header-bg: rgba(15, 18, 21, .8);
  --nav-bg: rgba(21, 26, 31, .88);

  --board-bg: #0a0d11;
  --board-ink: #e9eef3;
  --board-muted: #737e8a;
  --board-line: #232a32;
  --board-node: #161c22;
  --board-node-line: #2b333c;

  --footer-bg: #0a0d10;
  --footer-ink: #e7ecf1;
  --footer-muted: #75808d;
  --footer-line: #1f262d;

  --hero-a: rgba(21, 131, 233, .14);
  --hero-b: rgba(60, 90, 120, .18);
  --hero-c: rgba(69, 167, 246, .08);
  --orb-one: #144a80;
  --orb-two: #23303c;

  --shadow-soft: 0 8px 25px rgba(0, 0, 0, .28);
  --shadow-lift: 0 18px 50px rgba(0, 0, 0, .4);
  --shadow-deep: 0 30px 80px rgba(0, 0, 0, .52);
}

/* ==========================================================================
   Base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  position: relative;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  overflow-x: clip;
  touch-action: pan-y pinch-zoom;
  transition: background .35s ease, color .35s ease;
}

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

button { font: inherit; color: inherit; }

::selection {
  background: var(--blue);
  color: #f2f8fe;
}

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

.container {
  width: min(1160px, calc(100% - 48px));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
  position: relative;
}

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  width: 100%;
  padding: 14px 0;
  transition: .25s ease;
}

.site-header.scrolled {
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.navbar {
  height: 58px;
  background: var(--nav-bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px 0 17px;
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 640;
  font-size: 17px;
  letter-spacing: -.01em;
}

.brand-logo {
  height: 26px;
  width: auto;
  display: block;
}

/* polish the steel so the S stays visible on dark ground */
[data-theme="dark"] .sf-m1 { stop-color: #828d99; }
[data-theme="dark"] .sf-m2 { stop-color: #3d454e; }
[data-theme="dark"] .sf-m3 { stop-color: #171b20; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
  margin-right: 26px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--ink); }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-right: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  transition: color .2s, border-color .2s, transform .2s;
}

.theme-toggle:hover {
  color: var(--blue);
  border-color: var(--blue);
  transform: rotate(15deg);
}

.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border: 1px solid transparent;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 13.5px;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s, background .2s;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--grad-brand);
  background-size: 170% 100%;
  background-position: 0% 0;
  color: #f4f9fe;
  box-shadow: 0 8px 20px var(--blue-glow);
  transition: transform .2s, box-shadow .2s, background-position .45s ease;
}

.btn-primary:hover {
  background-position: 95% 0;
  box-shadow: 0 14px 30px var(--blue-glow);
}

.btn-dark {
  background: var(--cta-bg);
  color: var(--cta-fg);
  box-shadow: var(--shadow-soft);
}

.btn-dark:hover { box-shadow: var(--shadow-lift); }

.btn-outline {
  border-color: var(--line);
  background: transparent;
  color: var(--ink);
}

.btn-outline:hover { border-color: var(--muted); }

.btn-light {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-large { padding: 16px 22px; }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px auto;
}

/* ==========================================================================
   Ambient background
   ========================================================================== */

/* the field clips the orbs so their overhang can never widen the page */
.orb-field {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
  opacity: .3;
}

.orb-one {
  width: 330px;
  height: 330px;
  background: var(--orb-one);
  top: 150px;
  left: -160px;
}

.orb-two {
  width: 300px;
  height: 300px;
  background: var(--orb-two);
  top: 480px;
  right: -130px;
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--faint);
}

/* a pixel from the mark, not a dot */
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--blue);
  box-shadow: 0 0 0 5px var(--blue-glow);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 680;
  font-size: clamp(44px, 5.6vw, 72px);
  line-height: 1.03;
  letter-spacing: -.03em;
  max-width: 700px;
  margin: 24px 0 25px;
}

.hero h1 span,
.section-heading h2 em,
.journey-copy h2 em,
.about-main h2 em,
.cta-card h2 em {
  font-style: italic;
  font-weight: 620;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: .06em;
}

.section-heading h2, .journey-copy h2, .about-main h2, .cta-card h2 {
  font-family: var(--font-display);
  font-weight: 680;
  font-size: clamp(32px, 4.1vw, 52px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin-top: 17px;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  min-height: 790px;
  padding-top: 190px;
  padding-bottom: 100px;
  background:
    radial-gradient(circle at 72% 27%, var(--hero-a), transparent 24%),
    radial-gradient(circle at 82% 62%, var(--hero-b), transparent 24%),
    radial-gradient(circle at 34% 50%, var(--hero-c), transparent 28%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 65px;
}

.hero-text {
  max-width: 570px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 31px;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  color: var(--faint);
  font-size: 12px;
  max-width: 400px;
}

.avatar-stack {
  display: flex;
  flex-shrink: 0;
}

.avatar-stack span {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border: 2px solid var(--bg);
  border-radius: 50%;
  margin-left: -7px;
  font-size: 9px;
  font-weight: 700;
  background: var(--ink);
  color: var(--bg);
}

.avatar-stack span:first-child { margin-left: 0; background: var(--blue); color: #f2f8fe; }
.avatar-stack span:nth-child(2) { background: var(--tint-ice); color: var(--ink); }
.avatar-stack span:nth-child(3) { background: var(--tint-silver); color: var(--ink); }

/* Hero visual card */

.hero-visual {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.main-visual {
  width: 100%;
  border-radius: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-deep);
  padding: 25px;
  backdrop-filter: blur(8px);
  transform: rotate(1.2deg);
}

.visual-top, .growth-label, .chart-labels, .visual-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mini-logo {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 640;
}

.status-pill {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  background: var(--pill-live-bg);
  color: var(--pill-live-ink);
  padding: 6px 11px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
}

.status-pill i, .board-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pill-live-dot);
  display: inline-block;
}

.growth-line { margin-top: 46px; }

.growth-label {
  font-size: 12px;
  color: var(--muted);
}

.growth-label strong {
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -.02em;
}

.chart {
  height: 225px;
  margin-top: 10px;
  color: var(--chart-line);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.chart-grid {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 54px,
    var(--grid-line) 55px
  );
}

.chart svg {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
}

[data-theme="dark"] .chart svg {
  filter: drop-shadow(0 0 9px rgba(69, 167, 246, .45));
}

.chart-labels {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--faint);
  margin-top: 9px;
}

.visual-bottom {
  gap: 10px;
  margin-top: 25px;
}

.metric {
  flex: 1;
  padding: 14px;
  background: var(--surface-2);
  border-radius: 12px;
}

.metric span {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--faint);
  margin-bottom: 3px;
}

.metric strong {
  font-size: 13.5px;
  font-weight: 700;
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 15px;
  box-shadow: var(--shadow-lift);
}

.floating-card small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--faint);
  text-transform: uppercase;
  letter-spacing: .1em;
}

.floating-card strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.float-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--tint-ice);
  border-radius: 8px;
  font-weight: 700;
}

.floating-one { top: 152px; left: -34px; }
.floating-two { bottom: 55px; right: -28px; }
.floating-two .float-icon { background: var(--tint-sky); }

/* ==========================================================================
   Trust strip
   ========================================================================== */

.trust-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
}

.trust-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.trust-inner > span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .16em;
  color: var(--faint);
}

.trust-items {
  display: flex;
  gap: clamp(25px, 5vw, 75px);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--muted);
}

/* ==========================================================================
   Section headings
   ========================================================================== */

.section-heading {
  display: grid;
  grid-template-columns: 1fr 370px;
  gap: 60px;
  align-items: end;
  margin-bottom: 55px;
}

.section-heading.centered {
  display: block;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 70px;
}

.section-heading > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  padding-bottom: 4px;
}

/* ==========================================================================
   Services
   ========================================================================== */

.services {
  background: var(--surface);
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.service-card {
  position: relative;
  min-height: 430px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.service-large {
  background: linear-gradient(135deg, var(--tint-ice), var(--tint-sky));
}

.service-wide {
  grid-column: 1 / -1;
  min-height: 270px;
  display: grid;
  grid-template-columns: 55px 1fr auto;
  align-items: start;
  gap: 22px;
  background: linear-gradient(135deg, var(--tint-slate), var(--tint-silver));
}

.service-number {
  position: absolute;
  top: 28px;
  right: 30px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  letter-spacing: .1em;
}

.service-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  margin-bottom: 70px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 15px;
}

.icon-code { background: var(--tint-sky); }
.icon-growth { background: var(--tint-ice); }
.icon-camera { background: var(--tint-slate); }
.icon-bulb { background: var(--tint-ice); margin-bottom: 0; }

.service-large .icon-code { background: var(--surface); }
.service-wide .icon-bulb { background: var(--surface); }

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 680;
  font-size: 29px;
  letter-spacing: -.025em;
}

.service-card > p, .wide-content > p {
  max-width: 410px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 14px;
}

.service-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
  list-style: none;
}

.service-card li, .tag-row span {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 99px;
  padding: 7px 12px;
  font-size: 11.5px;
  color: var(--muted);
}

.card-link {
  position: absolute;
  left: 32px;
  bottom: 28px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
}

.card-link span { margin-left: 7px; font-size: 15px; color: var(--blue); }

.wide-content h3 { margin-top: 0; }
.wide-content > p { max-width: 650px; }
.wide-content .tag-row { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px; }

.service-wide .card-link {
  position: static;
  align-self: end;
  white-space: nowrap;
}

/* ==========================================================================
   Process — the quench sequence
   ========================================================================== */

.process-section {
  background: var(--surface-2);
}

.process-line {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
}

.process-line::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  border-top: 1px dashed var(--line);
}

.process-step {
  position: relative;
  text-align: center;
  padding: 0 14px;
}

/* machined blocks, not circles — squares from the mark */
.step-circle {
  width: 57px;
  height: 57px;
  display: grid;
  place-items: center;
  margin: 0 auto 22px;
  border: 1px solid var(--line);
  background: var(--q1);
  border-radius: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.process-step:nth-child(2) .step-circle { background: var(--q2); }
.process-step:nth-child(3) .step-circle { background: var(--q3); }
.process-step:nth-child(4) .step-circle { background: var(--q4); }
.process-step:nth-child(5) .step-circle { background: var(--q5); color: #f2f8fe; }

.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

/* ==========================================================================
   Journey
   ========================================================================== */

.journey-section {
  background: var(--surface);
}

.journey-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 85px;
  align-items: center;
}

.journey-copy p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 510px;
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  gap: 9px;
  margin-top: 26px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-bottom: 1px solid var(--blue);
  padding-bottom: 5px;
}

.text-link span { color: var(--blue); }

.journey-board {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--board-bg);
  color: var(--board-ink);
  border: 1px solid var(--board-line);
  border-radius: 25px;
  min-height: 420px;
  box-shadow: var(--shadow-deep);
}

.board-header {
  display: flex;
  justify-content: space-between;
  color: var(--board-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
}

.board-live {
  color: var(--pill-live-dot);
  display: flex;
  align-items: center;
  gap: 5px;
}

.journey-path {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-block: auto;
  padding: 40px 0 8px;
}

.journey-node {
  width: 96px;
  flex-shrink: 0;
  text-align: center;
}

.node-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: var(--board-node);
  border: 1px solid var(--board-node-line);
  border-radius: 14px;
  margin: 0 auto 12px;
  color: var(--board-muted);
  font-family: var(--font-mono);
  position: relative;
  z-index: 1;
}

.journey-node.active .node-icon {
  background: var(--grad-brand);
  border-color: transparent;
  color: #f2f8fe;
  box-shadow: 0 0 22px var(--blue-glow);
}

.journey-node small {
  color: var(--board-muted);
  font-family: var(--font-mono);
  font-size: 10px;
}

.journey-node strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
}

.path-line {
  flex: 1;
  border-top: 1px dashed var(--board-node-line);
  margin-top: 24px;
  margin-inline: -18px;
}

.board-insight {
  border-top: 1px solid var(--board-line);
  margin-top: 0;
  padding-top: 23px;
}

.board-insight span {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--board-muted);
  letter-spacing: .14em;
}

.board-insight strong {
  display: block;
  margin-top: 8px;
  max-width: 520px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -.01em;
}

/* ==========================================================================
   Work
   ========================================================================== */

.work-section {
  background: var(--surface-2);
}

.work-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 17px;
}

.work-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}

.work-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lift);
}

.work-image {
  height: 275px;
  padding: 27px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.image-one { background: linear-gradient(135deg, var(--tint-ice), var(--tint-slate)); }
.image-two { background: linear-gradient(135deg, var(--tint-slate), var(--tint-sky)); }
.image-three { background: linear-gradient(135deg, var(--tint-silver), var(--tint-ice)); }

.fake-browser {
  width: 88%;
  height: 85%;
  background: var(--mock-bg);
  border-radius: 9px;
  box-shadow: 0 15px 30px rgba(10, 20, 30, .18);
  overflow: hidden;
  transform: rotate(-2deg);
}

.browser-top {
  height: 21px;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  border-bottom: 1px solid var(--mock-line);
}

.browser-top i {
  width: 4px; height: 4px; border-radius: 50%; background: #c3c9cf;
}

.browser-top span {
  font-size: 6px;
  color: #97a0a9;
  margin-left: 7px;
}

.mock-site {
  padding: 25px;
  position: relative;
  height: 100%;
  color: #14181d;
}

.mock-title {
  font-family: var(--font-display);
  font-weight: 680;
  font-size: 18px;
  line-height: 1.1;
  letter-spacing: -.02em;
}

.mock-button {
  width: 55px;
  height: 12px;
  background: #1583e9;
  border-radius: 3px;
  margin-top: 12px;
}

.mock-blocks {
  display: flex;
  gap: 7px;
  position: absolute;
  bottom: 22px;
  left: 25px;
  right: 25px;
}

.mock-blocks i {
  flex: 1;
  height: 42px;
  background: var(--mock-line);
  border-radius: 4px;
}

.social-mock {
  width: 160px;
  background: var(--mock-bg);
  padding: 18px;
  border-radius: 13px;
  box-shadow: 0 18px 35px rgba(10, 20, 30, .16);
  transform: rotate(4deg);
}

.social-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #1583e9;
  color: #f2f8fe;
  font-weight: 700;
  font-size: 12px;
}

.social-lines { margin-top: 8px; }

.social-lines i {
  display: block;
  width: 70%;
  height: 5px;
  background: var(--mock-line);
  border-radius: 5px;
  margin-bottom: 4px;
}

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

.social-grid i {
  height: 52px;
  background: var(--mock-line);
  border-radius: 5px;
}

.product-stage {
  position: relative;
  width: 190px;
  height: 190px;
  display: grid;
  place-items: center;
}

.product-card-shape {
  width: 105px;
  height: 135px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--tint-sky), var(--tint-slate));
  border: 1px solid var(--line);
  box-shadow: 0 18px 30px rgba(10, 20, 30, .2);
  transform: rotate(-7deg);
}

.product-stage span {
  position: absolute;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: .08em;
}

.product-shadow {
  position: absolute;
  width: 135px;
  height: 20px;
  bottom: 12px;
  border-radius: 50%;
  background: rgba(10, 20, 30, .14);
  filter: blur(10px);
}

.work-meta {
  padding: 22px 24px 26px;
}

.work-meta > div {
  display: flex;
  justify-content: space-between;
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .12em;
}

.work-meta h3 {
  font-family: var(--font-display);
  font-weight: 680;
  font-size: 21px;
  letter-spacing: -.02em;
  margin: 12px 0 5px;
}

.work-meta p {
  color: var(--muted);
  font-size: 12.5px;
}

/* ==========================================================================
   About
   ========================================================================== */

.about-section {
  background: var(--surface);
}

.about-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 80px;
  padding: 70px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
}

.about-main h2 {
  font-size: clamp(34px, 4.1vw, 50px);
}

.about-main > p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  margin-top: 22px;
  max-width: 490px;
}

.about-points {
  display: grid;
  gap: 0;
}

.about-point {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.about-point:first-child { border-top: 1px solid var(--line); }

.about-point > span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--faint);
  padding-top: 3px;
}

.about-point strong {
  font-size: 15.5px;
  font-weight: 700;
}

.about-point p {
  color: var(--muted);
  font-size: 12.5px;
  margin-top: 4px;
}

/* ==========================================================================
   CTA
   ========================================================================== */

.cta-section {
  padding-top: 35px;
  background: var(--surface);
}

.cta-card {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 95px 25px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 20% 30%, var(--hero-a), transparent 26%),
    radial-gradient(circle at 80% 70%, var(--hero-c), transparent 27%),
    var(--surface-2);
}

.cta-card .eyebrow { justify-content: center; }

.cta-card h2 {
  font-size: clamp(42px, 5.4vw, 64px);
  max-width: 760px;
  margin: 20px auto 15px;
}

.cta-card > p {
  max-width: 540px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}

/* pixel clusters from the mark */
.cta-decoration {
  position: absolute;
  width: 90px;
  height: 90px;
  fill: var(--blue);
  opacity: .14;
}

.decoration-left { left: 7%; top: 12%; }
.decoration-right { right: 8%; bottom: 8%; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--footer-bg);
  color: var(--footer-ink);
  border-top: 1px solid var(--footer-line);
  padding-top: 65px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 100px;
  padding-bottom: 55px;
}

.footer .brand { color: var(--footer-ink); }

/* footer sits on dark ground in both themes — polish the steel there too */
.footer .sf-m1, [data-theme="dark"] .footer .sf-m1 { stop-color: #828d99; }

.footer-brand > p {
  color: var(--footer-muted);
  font-size: 13px;
  margin-top: 17px;
}

.footer-brand .footer-description {
  max-width: 310px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.footer-links h4 {
  color: var(--footer-ink);
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 18px;
}

.footer-links a {
  display: block;
  color: var(--footer-muted);
  font-size: 13px;
  margin-bottom: 10px;
  transition: color .2s;
}

.footer-links a:hover { color: var(--footer-ink); }

.footer-bottom {
  border-top: 1px solid var(--footer-line);
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--footer-muted);
  font-size: 12px;
}

/* ==========================================================================
   Reveal animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

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

@media (max-width: 900px) {
  .container { width: min(100% - 34px, 680px); }

  .nav-links {
    display: none;
    position: absolute;
    top: 77px;
    left: 17px;
    right: 17px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 15px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    box-shadow: var(--shadow-lift);
  }

  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-links a:last-child { border-bottom: 0; }

  .nav-cta { display: none; }
  .menu-toggle { display: block; }
  .theme-toggle { margin-left: auto; }

  .hero {
    padding-top: 145px;
    min-height: auto;
  }

  .hero-grid, .journey-grid, .about-card {
    grid-template-columns: 1fr;
  }

  .hero-grid { gap: 65px; }
  .hero-visual { min-height: 470px; }
  .floating-one { left: 0; }
  .floating-two { right: 0; }

  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .services-grid { grid-template-columns: 1fr; }

  /* stacked cards share one anatomy: icon, title, copy, tags, link */
  .service-card { min-height: 0; }
  .service-icon { margin-bottom: 22px; }
  .service-card .card-link {
    position: static;
    display: inline-block;
    margin-top: 26px;
  }
  .service-wide { grid-column: auto; grid-template-columns: 1fr; min-height: 0; }
  .service-wide .service-icon { margin-bottom: 22px; }
  .service-wide .card-link { margin-top: 26px; }

  .process-line { grid-template-columns: 1fr; gap: 32px; }
  .process-line::before { display: none; }

  .journey-grid { gap: 45px; }

  .work-grid { grid-template-columns: 1fr; }
  .work-feature { grid-column: auto; }

  .about-card { padding: 45px 30px; gap: 45px; }

  .footer-top { grid-template-columns: 1fr; gap: 50px; }
}

@media (max-width: 560px) {
  .section { padding: 78px 0; }

  .hero h1 { font-size: 42px; }
  .hero-text { font-size: 14.5px; }

  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }

  .hero-visual { min-height: 410px; }
  .main-visual { padding: 17px; }
  .chart { height: 170px; }
  .growth-line { margin-top: 30px; }
  .floating-one { left: 0; top: 118px; }
  .floating-two { right: 2px; bottom: -14px; }

  .trust-inner { display: block; padding: 22px 0; }
  .trust-marquee { margin-top: 12px; }

  .service-card { padding: 25px; }

  .journey-board { padding: 24px 22px; min-height: 0; }

  /* the roadmap becomes a vertical stepper on phones */
  .journey-path {
    flex-direction: column;
    align-items: stretch;
    padding: 26px 0 6px;
  }
  .journey-node {
    width: auto;
    display: grid;
    grid-template-columns: 48px 1fr;
    align-items: center;
    gap: 14px;
    text-align: left;
  }
  .node-icon { margin: 0; }
  .path-line {
    flex: none;
    border-top: 0;
    border-left: 1px dashed var(--board-node-line);
    height: 24px;
    margin: 4px 0 4px 24px;
  }

  .work-image { height: 245px; }

  .cta-card { padding: 70px 20px; }
  .cta-actions { flex-direction: column; align-items: stretch; }

  .footer-links { grid-template-columns: 1fr 1fr; }
  .footer-bottom { padding: 20px 0; flex-direction: column; align-items: flex-start; justify-content: center; }
}

/* ==========================================================================
   Motion — orchestrated entrances, ambient life, tactile hovers
   Everything animates transform/opacity only; reduced-motion kills it all.
   ========================================================================== */

:root { --sheen: rgba(255, 255, 255, .4); }
[data-theme="dark"] { --sheen: rgba(255, 255, 255, .06); }

/* --- keyframes ------------------------------------------------------------ */

@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(34px) rotate(4deg) scale(.96); }
  to   { opacity: 1; transform: translateY(0) rotate(1.2deg) scale(1); }
}

@keyframes popIn {
  from { opacity: 0; transform: scale(.6) translateY(8px); }
  60%  { transform: scale(1.06) translateY(-2px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes floatBob {
  from { transform: translateY(0); }
  to   { transform: translateY(-9px); }
}

@keyframes chartDraw {
  to { stroke-dashoffset: 0; }
}

@keyframes chartFill {
  to { opacity: .08; }
}

@keyframes marquee {
  to { transform: translateX(calc(-100% - 56px)); }
}

@keyframes orbGlow {
  from { opacity: .22; }
  to   { opacity: .38; }
}

@keyframes eyePulse {
  0%, 100% { box-shadow: 0 0 0 4px var(--blue-glow); }
  50%      { box-shadow: 0 0 0 9px transparent; }
}

@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--pill-live-dot) 55%, transparent); }
  70%  { box-shadow: 0 0 0 7px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes nodePulse {
  0%   { box-shadow: 0 0 0 0 var(--blue-glow); }
  70%  { box-shadow: 0 0 0 14px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes blockPop {
  from { transform: scale(.5); opacity: 0; }
  65%  { transform: scale(1.12); }
  to   { transform: scale(1); opacity: 1; }
}

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50%      { opacity: .3; }
}

@keyframes decoDrift {
  from { transform: translateY(0); }
  to   { transform: translateY(-10px); }
}

@keyframes toggleSpin {
  from { transform: rotate(0); }
  to   { transform: rotate(360deg); }
}

@keyframes menuDrop {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- hero entrance cascade ------------------------------------------------ */

.hero-copy.visible .eyebrow       { animation: riseIn .55s .05s both; }
.hero-copy.visible h1             { animation: riseIn .6s .18s both; }
.hero-copy.visible .hero-text     { animation: riseIn .6s .34s both; }
.hero-copy.visible .hero-actions  { animation: riseIn .6s .5s both; }
.hero-copy.visible .hero-note     { animation: riseIn .6s .66s both; }

.hero-visual.visible .main-visual { animation: cardIn .9s .1s cubic-bezier(.22, 1, .36, 1) both; }

.hero-visual.visible .floating-one {
  animation: popIn .55s .95s cubic-bezier(.34, 1.56, .64, 1) both,
             floatBob 5.5s 1.6s ease-in-out infinite alternate;
}

.hero-visual.visible .floating-two {
  animation: popIn .55s 1.15s cubic-bezier(.34, 1.56, .64, 1) both,
             floatBob 6.5s 1.9s ease-in-out infinite alternate;
}

/* --- living elements ------------------------------------------------------ */

.chart-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart-area { opacity: 0; }
.reveal.visible .chart-line { animation: chartDraw 1.6s .5s ease-out forwards; }
.reveal.visible .chart-area { animation: chartFill .9s 1.8s forwards; }

.bg-orb { animation: orbGlow 12s ease-in-out infinite alternate; }

.eyebrow-dot { animation: eyePulse 3.2s ease-in-out infinite; }

.status-pill i, .board-live i { animation: dotPulse 2.2s ease-out infinite; }

.journey-node.active .node-icon { animation: nodePulse 2.6s ease-out infinite; }

.cta-decoration { animation: decoDrift 9s ease-in-out infinite alternate; }
.cta-decoration rect { animation: twinkle 4.5s ease-in-out infinite; }
.cta-decoration rect:nth-child(2) { animation-delay: 1.1s; }
.cta-decoration rect:nth-child(3) { animation-delay: 2.2s; }
.cta-decoration rect:nth-child(4) { animation-delay: 3.3s; }

/* trust strip marquee */
.trust-marquee {
  flex: 1;
  min-width: 0;
  display: flex;
  gap: 56px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.trust-marquee .trust-items {
  flex-shrink: 0;
  min-width: max-content;
  gap: 56px;
  animation: marquee 24s linear infinite;
}

.trust-marquee:hover .trust-items { animation-play-state: paused; }

/* directional reveals — desktop only; phones use the vertical rise so the
   pre-reveal offset can never widen the page */
@media (min-width: 901px) {
  .reveal.reveal-left  { transform: translateX(-30px); }
  .reveal.reveal-right { transform: translateX(30px); }
}

/* process blocks pop in sequence, lift on hover */
.step-circle { transition: transform .3s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s; }
.process-step.reveal.visible .step-circle { animation: blockPop .5s cubic-bezier(.34, 1.56, .64, 1) both; }
.process-step:nth-child(2).reveal.visible .step-circle { animation-delay: .12s; }
.process-step:nth-child(3).reveal.visible .step-circle { animation-delay: .24s; }
.process-step:nth-child(4).reveal.visible .step-circle { animation-delay: .36s; }
.process-step:nth-child(5).reveal.visible .step-circle { animation-delay: .48s; }
.process-step:hover .step-circle { transform: translateY(-5px) scale(1.07); box-shadow: 0 10px 22px var(--blue-glow); }

/* --- tactile hovers ------------------------------------------------------- */

/* metallic sheen sweep across cards */
.service-card::after, .work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 38%, var(--sheen) 50%, transparent 62%);
  transform: translateX(-140%);
}

.service-card:hover::after, .work-card:hover::after {
  transform: translateX(140%);
  transition: transform .8s ease;
}

.service-icon { transition: transform .35s cubic-bezier(.34, 1.56, .64, 1); }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.12); }

.service-number { transition: color .25s; }
.service-card:hover .service-number { color: var(--blue); }

/* tilted mockups straighten when you inspect them */
.fake-browser, .social-mock, .product-card-shape { transition: transform .55s cubic-bezier(.22, 1, .36, 1); }
.work-card:hover .fake-browser { transform: rotate(0) scale(1.03); }
.work-card:hover .social-mock { transform: rotate(0) scale(1.03); }
.work-card:hover .product-card-shape { transform: rotate(0) scale(1.05); }

/* arrows nudge along their direction of travel */
.btn span, .card-link span, .text-link span { display: inline-block; transition: transform .25s; }
.btn:hover span, .card-link:hover span, .text-link:hover span { transform: translate(3px, -2px); }

/* nav links get a sliding underline */
.nav-links a {
  padding-bottom: 3px;
  background-image: linear-gradient(var(--blue), var(--blue));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: color .2s, background-size .3s ease;
}

.nav-links a:hover { background-size: 100% 2px; }

.brand-logo { transition: transform .3s, filter .3s; }
.brand:hover .brand-logo { transform: scale(1.06); filter: drop-shadow(0 2px 10px var(--blue-glow)); }

.theme-toggle.spinning { animation: toggleSpin .5s ease; }

.journey-node { transition: transform .3s; }
.journey-node:hover { transform: translateY(-4px); }

.about-point { transition: transform .25s; }
.about-point:hover { transform: translateX(6px); }
.about-point > span { transition: color .25s; }
.about-point:hover > span { color: var(--blue); }

.footer-links a { transition: color .2s, transform .2s; }
.footer-links a:hover { transform: translateX(4px); }

.avatar-stack span { transition: transform .25s; }
.avatar-stack:hover span:nth-child(1) { transform: translateX(-2px); }
.avatar-stack:hover span:nth-child(3) { transform: translateX(2px); }

/* mobile menu */
.nav-links.open { animation: menuDrop .28s ease both; }

.menu-toggle span { transition: transform .3s, opacity .3s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
