/* =============================================================
   Prolancit — site styles (overlays the design-system tokens)
   ============================================================= */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--bg, #ffffff);
  color: var(--fg, #17181C);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ------- Theme variables (light default; dark overrides on body) ------- */
:root {
  --bg: #ffffff;
  --bg-soft: #F7F8FA;
  --bg-elev: #ffffff;
  --fg: #0B0C0F;
  --fg-2: #5B5E66;
  --fg-3: #9CA0AB;
  --line: #E6E7EB;
  --line-strong: #1A1B1F;

  /* accent (gold default — matches the Prolancit "Book Call" CTA) */
  --accent: #F6C324;
  --accent-2: #FFE181;
  --accent-fg: #0B0C0F;

  /* secondary brand */
  --brand-blue: #1F7AEC;
  --brand-cyan: #00DFFF;
  --brand-green: #166534;

  --hero-a: #0a0b0e;
  --hero-b: #0e1f18;
  --hero-c: #0a0b0e;

  /* meta */
  --max: 1408px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(80px, 10vw, 140px);
  --radius-sm: 6px;
  --radius: 14px;
  --radius-lg: 22px;
}

body.theme-dark {
  --bg: #0A0B0E;
  --bg-soft: #111317;
  --bg-elev: #15171C;
  --fg: #F4F5F7;
  --fg-2: #B6B8BF;
  --fg-3: #6E7079;
  --line: #1F2127;
  --line-strong: #EFEFEF;
  --hero-a: #06070a;
  --hero-b: #0d1f17;
  --hero-c: #06070a;
}

/* accent variants */
body.accent-gold  { --accent:#F6C324; --accent-2:#FFE181; --accent-fg:#0B0C0F; }
body.accent-cyan  { --accent:#22D3EE; --accent-2:#67E8F9; --accent-fg:#04161A; }
body.accent-green { --accent:#22C55E; --accent-2:#86EFAC; --accent-fg:#06140B; }

/* ------- Type ------- */
.eyebrow {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.eyebrow .dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 99px;
  background: var(--accent);
  margin-right: 12px; vertical-align: middle;
  transform: translateY(-1px);
}

.h-display {
  font-weight: 700;
  font-size: clamp(44px, 7.4vw, 116px);
  line-height: 0.94;
  letter-spacing: -0.035em;
}
.h-section {
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.h-card {
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.lede {
  font-size: clamp(17px, 1.4vw, 22px);
  line-height: 1.55;
  color: var(--fg-2);
  max-width: 60ch;
}
.body { color: var(--fg-2); line-height: 1.6; }

.serif-it { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 500; letter-spacing: -0.01em; }

/* ------- Layout ------- */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section {
  padding: var(--section-y) 0;
  position: relative;
}
.section.tight { padding: calc(var(--section-y) * 0.7) 0; }
.section-head {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  max-width: 900px;
}
.section-head .lede { margin-top: 14px; }
.section-head.centered { align-items: center; text-align: center; max-width: 100%; margin-left: auto; margin-right: auto; }
.section-head.centered .h-section { white-space: nowrap; }
.section-head.centered .lede { max-width: none; white-space: nowrap; }


/* ------- Buttons ------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--accent);
  color: var(--accent-fg);
}
.btn-primary:hover { background: var(--accent-2); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--fg); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-ghost.on-dark:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--fg);
  border-bottom: 1px solid var(--fg);
  padding-bottom: 2px;
  transition: gap 0.25s ease;
}
.btn-link:hover { gap: 14px; }

/* ------- Header ------- */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 20px 0;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}
.header.solid {
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.brand-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800; letter-spacing: -0.02em; color: var(--fg);
  font-size: 19px;
}
.brand-mark .dot {
  display: inline-block; width: 10px; height: 10px;
  border-radius: 999px; background: var(--accent);
}
.brand-logo {
  height: 38px; width: auto; display: block;
}
.brand-logo-light { display: none; }
.header.on-hero .brand-logo-dark,
body.theme-dark .brand-logo-dark { display: none; }
.header.on-hero .brand-logo-light,
body.theme-dark .brand-logo-light { display: block; }
.footer .brand-logo { height: 44px; }
.footer .brand-logo-dark { display: none; }
.footer .brand-logo-light { display: block; }
@media (max-width: 720px) { .brand-logo { height: 30px; } }
.header.on-hero .brand-mark { color: #fff; }
.header.on-hero .brand-mark .dot { background: var(--accent); }
.nav { display: flex; gap: 32px; align-items: center; }
.nav a {
  font-size: 14px; font-weight: 500; color: var(--fg-2);
  position: relative;
  transition: color 0.2s ease;
}
.nav a:hover { color: var(--fg); }
.header.on-hero .nav a { color: rgba(255,255,255,0.7); }
.header.on-hero .nav a:hover { color: #fff; }
@media (max-width: 820px) { .nav { display: none; } }

/* ------- Hero ------- */
.hero {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(ellipse at 80% 0%, rgba(34, 197, 94, 0.15), transparent 50%),
              radial-gradient(ellipse at 0% 100%, rgba(31, 122, 236, 0.18), transparent 60%),
              linear-gradient(180deg, var(--hero-a), var(--hero-b) 50%, var(--hero-c));
  color: #ffffff;
  overflow: hidden;
  display: flex; align-items: center;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  width: 720px; height: 720px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}
.hero-orb.a { background: #1F7AEC; top: -200px; right: -120px; }
.hero-orb.b { background: var(--accent); bottom: -240px; left: -180px; opacity: 0.18; }
.hero-orb.c { background: #00DFFF; top: 40%; left: 30%; opacity: 0.12; width: 540px; height: 540px; }

.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  padding-top: 120px;
  padding-bottom: 80px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  margin-bottom: 36px;
}
.hero-eyebrow .dot { background: var(--accent); width: 6px; height: 6px; border-radius: 999px; display: inline-block; }
.hero h1 {
  margin: 0 0 32px;
  font-weight: 700;
  font-size: clamp(48px, 9vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #fff;
}
.hero h1 .accent {
  background: linear-gradient(95deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 .pencil { display: inline-block; }
.hero h1 .pencil::after {
  content: ""; display: block; height: 4px; margin-top: 6px;
  background: var(--accent); border-radius: 4px;
  transform: scaleX(0); transform-origin: left;
  animation: pencil 1.4s ease 0.6s forwards;
}
@keyframes pencil { to { transform: scaleX(1); } }

.hero-sub {
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.5;
  color: rgba(255,255,255,0.78);
  max-width: 720px;
  margin: 0 0 44px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-meta {
  display: flex; gap: 36px; flex-wrap: wrap;
  margin-top: 96px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.55);
  font-size: 13px;
  letter-spacing: 0.04em;
}
.hero-meta strong { color: #fff; font-weight: 600; }

/* hero trust block: 5 avatars + stars + label */
.hero-trust {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  margin-top: 32px;
}
.hero-trust-avatars { display: flex; align-items: center; }
.ht-avatar {
  width: 44px; height: 44px; border-radius: 999px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.85);
  background: #1a1a1a;
  margin-left: -14px;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.5);
  flex-shrink: 0;
}
.ht-avatar:first-child { margin-left: 0; }
.ht-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
/* per-avatar focal-point nudges so faces stay centered in the circle */
.ht-avatar-3 img { object-position: 38% 28%; }
.ht-avatar-5 img { object-position: 38% 28%; }
.hero-trust-meta { display: flex; flex-direction: column; gap: 4px; }
.ht-stars { display: flex; align-items: center; gap: 3px; color: var(--accent); }
.ht-clients { color: rgba(255,255,255,0.85); font-size: 13px; font-weight: 500; }
@media (max-width: 720px) {
  .hero-trust { gap: 16px; margin-top: 24px; }
  .ht-avatar { width: 36px; height: 36px; margin-left: -10px; }
  .ht-clients { font-size: 12px; }
}

.hero-floats {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
}
.float-card {
  position: absolute;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px; color: rgba(255,255,255,0.85);
  backdrop-filter: blur(14px);
  display: flex; align-items: center; gap: 12px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  white-space: nowrap;
}
.float-card .icon-blob {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08);
}
.float-a { top: 18%; right: 6%; transform: rotate(-3deg); }
.float-b { top: 44%; right: 18%; transform: rotate(2deg); }
.float-c { bottom: 22%; right: 4%; transform: rotate(1deg); }
@media (max-width: 1024px) { .hero-floats { display: none; } }

/* hero variants */
.hero.variant-split .hero-floats { display: none; }
.hero.variant-split .hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.hero.variant-split .hero-mock {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(135deg, rgba(31,122,236,0.25), rgba(0,223,255,0.1));
}
.hero.variant-split .hero-mock::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
}
@media (max-width: 900px) { .hero.variant-split .hero-inner { grid-template-columns: 1fr; } .hero.variant-split .hero-mock { display: none; } }

.hero.variant-mono .hero-orb,
.hero.variant-mono .hero-floats { display: none; }
.hero.variant-mono .hero-inner { text-align: center; max-width: 1100px; margin: 0 auto; }
.hero.variant-mono .hero-sub { margin-left: auto; margin-right: auto; }
.hero.variant-mono .hero-cta { justify-content: center; }
.hero.variant-mono .hero-eyebrow { margin-left: auto; margin-right: auto; }

/* ------- Trust grid ------- */
.trust {
  padding: 72px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.trust-label {
  text-align: center;
  margin-bottom: 40px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.trust-grid .cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  aspect-ratio: 16/8;
  display: grid; place-items: center;
  padding: 24px;
  transition: background 0.25s ease;
}
.trust-grid .cell:hover { background: var(--bg-soft); }
.trust-grid .cell img {
  max-width: 80%; max-height: 56px; width: auto; height: auto;
  filter: grayscale(100%) contrast(0.9);
  opacity: 0.7;
  transition: opacity 0.25s ease, filter 0.25s ease;
}
body.theme-dark .trust-grid .cell img { filter: grayscale(100%) brightness(2); opacity: 0.55; }
.trust-grid .cell:hover img { opacity: 1; filter: grayscale(0%); }
body.theme-dark .trust-grid .cell:hover img { filter: grayscale(0%) brightness(1.05); }
@media (max-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }

/* ------- Story / pain section ------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; } }
.story-grid .say-no { margin-top: 0; padding-top: 0; border-top: 0; position: sticky; top: 100px; grid-template-columns: 1fr; gap: 24px; }
.story-grid .say-no-list { gap: 18px; flex-direction: column; }
/* story-grid override: no box, no border, just X + text */
.story-grid .say-no-chip {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  gap: 14px;
  width: fit-content;
  font-size: clamp(17px, 1.4vw, 20px);
  font-weight: 600;
  color: var(--fg);
}
.story-grid .say-no-chip::before {
  font-size: 18px;
  width: 22px;
  text-align: center;
  display: inline-block;
}
.story-grid > div:nth-child(2) { padding-top: 0; }

.story-quote {
  margin: 0;
  font-weight: 700;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.035em;
  max-width: 22ch;
  color: var(--fg);
}
.story-quote .strike {
  position: relative;
  color: var(--fg-3);
}
.story-quote .strike::after {
  content: ""; position: absolute; left: -2%; right: -2%;
  top: 56%; height: 6px;
  background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s cubic-bezier(.7,.1,.2,1);
}
.in-view .story-quote .strike::after { transform: scaleX(1); }

.say-no {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--line);
}
.say-no-label {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg-2);
  line-height: 1;
}
.say-no-list {
  display: flex; flex-wrap: wrap; gap: 14px;
}
.say-no-chip {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 16px 22px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--fg);
  font-weight: 700;
  font-size: clamp(16px, 1.3vw, 18px);
  border: 1px solid var(--line);
  position: relative;
}
.say-no-chip::before {
  content: "✕";
  font-weight: 800;
  color: var(--accent);
  display: inline-block;
  font-size: 14px;
}
@media (max-width: 760px) { .say-no { grid-template-columns: 1fr; gap: 24px; margin-top: 56px; padding-top: 36px; } }

/* ------- Video section ------- */
.video-section {
  padding: var(--section-y) 0;
  background: var(--bg-soft);
  position: relative;
}
.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0A0B0E;
  aspect-ratio: 16/9;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.4);
}
.video-frame video { width: 100%; height: 100%; object-fit: cover; }
.video-frame .play-btn {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.3s ease;
}
.video-frame.playing .play-btn { opacity: 0; pointer-events: none; }
.video-frame .play-circle {
  width: clamp(80px, 8vw, 120px); height: clamp(80px, 8vw, 120px);
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  display: grid; place-items: center;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.5);
  transition: transform 0.3s ease;
}
.video-frame:hover .play-circle { transform: scale(1.06); }
.video-script {
  margin-top: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
}
.video-script .pull {
  font-weight: 700; font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.15; letter-spacing: -0.02em; color: var(--fg);
}
.video-script p { color: var(--fg-2); line-height: 1.6; }
@media (max-width: 880px) { .video-script { grid-template-columns: 1fr; } }

/* ------- What We Do — methods icon-card grid (default) ------- */
.methods-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.method-icon-card {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.method-icon-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 30px 50px -30px rgba(0,0,0,0.15);
}
.method-icon-tile {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: color-mix(in oklch, var(--accent) 14%, transparent);
  color: var(--accent);
  display: grid; place-items: center;
}
.method-icon-title {
  font-size: 19px; font-weight: 700; letter-spacing: -0.015em;
  color: var(--fg); margin: 4px 0 0; line-height: 1.25;
}
.method-icon-desc {
  font-size: 14px; line-height: 1.55;
  color: var(--fg-2); margin: 0;
}
@media (max-width: 900px) { .methods-icon-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .methods-icon-grid { grid-template-columns: 1fr; } }

/* ------- What We Do — methods (editorial rows) ------- */
.methods-list { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--line); }
.method-row {
  display: grid;
  grid-template-columns: 88px 1fr 320px;
  grid-template-rows: auto auto;
  column-gap: 40px;
  row-gap: 12px;
  align-items: center;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  cursor: default;
  transition: padding 0.4s ease, background 0.4s ease;
  position: relative;
}
.method-row:hover {
  padding-left: 16px;
  padding-right: 16px;
  background: var(--bg-soft);
}
.method-num {
  grid-column: 1; grid-row: 1 / span 2;
  font-family: Georgia, serif;
  font-style: italic;
  color: var(--fg-3);
  font-size: 28px;
  font-weight: 400;
  align-self: start;
  padding-top: 8px;
  transition: color 0.4s ease;
}
.method-row:hover .method-num { color: var(--accent); }
.method-title {
  grid-column: 2; grid-row: 1;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing: -0.025em;
  color: var(--fg);
  line-height: 1.05;
  margin: 0;
}
.method-desc {
  grid-column: 2; grid-row: 2;
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}
.method-thumb {
  grid-column: 3; grid-row: 1 / span 2;
  width: 100%; aspect-ratio: 4/3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  position: relative;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.method-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.7s ease;
}
.method-row:hover .method-thumb {
  transform: translateY(-4px) rotate(-1deg);
  box-shadow: 0 30px 50px -20px rgba(0, 0, 0, 0.18);
}
.method-row:hover .method-thumb img { transform: scale(1.12); }

/* alternate every other row to flip image to the left */
.method-row:nth-child(even) {
  grid-template-columns: 320px 1fr 88px;
  column-gap: 40px;
}
.method-row:nth-child(even) .method-thumb { grid-column: 1; }
.method-row:nth-child(even) .method-title,
.method-row:nth-child(even) .method-desc { grid-column: 2; }
.method-row:nth-child(even) .method-num {
  grid-column: 3;
  text-align: right;
}
.method-row:nth-child(even):hover .method-thumb {
  transform: translateY(-4px) rotate(1deg);
}

.method-arrow {
  position: absolute;
  right: 24px; bottom: 24px;
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  display: grid; place-items: center;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  z-index: 2;
}
.method-row:hover .method-arrow { opacity: 1; transform: translateY(0); }
.method-row:nth-child(even) .method-arrow { right: auto; left: 24px; }

@media (max-width: 1000px) {
  .method-row,
  .method-row:nth-child(even) {
    grid-template-columns: 60px 1fr;
    grid-template-rows: auto auto auto;
    column-gap: 24px;
    row-gap: 16px;
  }
  .method-row .method-num,
  .method-row:nth-child(even) .method-num { grid-column: 1; grid-row: 1 / span 3; text-align: left; font-size: 22px; padding-top: 4px; }
  .method-row .method-title,
  .method-row:nth-child(even) .method-title { grid-column: 2; grid-row: 1; }
  .method-row .method-desc,
  .method-row:nth-child(even) .method-desc { grid-column: 2; grid-row: 2; }
  .method-row .method-thumb,
  .method-row:nth-child(even) .method-thumb { grid-column: 2; grid-row: 3; max-width: 420px; }
  .method-row:hover { padding-left: 0; padding-right: 0; }
}
@media (max-width: 600px) {
  .method-row,
  .method-row:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .method-row .method-num,
  .method-row:nth-child(even) .method-num { grid-column: 1; grid-row: 1; padding-top: 0; font-size: 16px; letter-spacing: 0.04em; }
  .method-row .method-title,
  .method-row:nth-child(even) .method-title { grid-column: 1; grid-row: 2; }
  .method-row .method-desc,
  .method-row:nth-child(even) .method-desc { grid-column: 1; grid-row: 3; }
  .method-row .method-thumb,
  .method-row:nth-child(even) .method-thumb { grid-column: 1; grid-row: 4; }
}

/* methods variant: cards */
.methods-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.method-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.method-card:hover {
  border-color: var(--fg-2);
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.2);
}
.method-card .img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-soft);
}
.method-card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.method-card:hover .img img { transform: scale(1.06); }
.method-card .body {
  padding: 24px 24px 28px;
  display: flex; flex-direction: column; gap: 10px; flex: 1;
}
.method-card .num {
  font-size: 11px; font-weight: 600; letter-spacing: 0.18em;
  color: var(--fg-3); text-transform: uppercase;
}
.method-card h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; color: var(--fg); line-height: 1.15; }
.method-card p { margin: 4px 0 0; font-size: 15px; color: var(--fg-2); line-height: 1.55; }
@media (max-width: 1000px) { .methods-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .methods-cards { grid-template-columns: 1fr; } }

/* methods variant: marquee tags + featured */
.methods-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: stretch;
}
.methods-mosaic-feature {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 480px;
  background: var(--bg-soft);
}
.methods-mosaic-feature img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.methods-mosaic-feature .body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 32px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.85));
  color: #fff;
}
.methods-mosaic-feature .body h3 { margin: 0; font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.methods-mosaic-feature .body p { margin: 8px 0 0; color: rgba(255,255,255,0.85); font-size: 16px; }
.methods-mosaic-pills { display: flex; flex-direction: column; gap: 12px; }
.method-pill {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px 24px;
  display: flex; align-items: center; gap: 18px;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.method-pill:hover { border-color: var(--fg); }
.method-pill.active { border-color: var(--accent); background: color-mix(in oklab, var(--accent) 8%, var(--bg-elev)); }
.method-pill .num { font-family: Georgia, serif; font-style: italic; color: var(--fg-3); width: 38px; flex: 0 0 38px; font-size: 18px; }
.method-pill h4 { margin: 0; font-size: 18px; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; }
.method-pill p { margin: 4px 0 0; color: var(--fg-2); font-size: 14px; line-height: 1.45; }
@media (max-width: 900px) { .methods-mosaic { grid-template-columns: 1fr; } .methods-mosaic-feature { min-height: 360px; } }

/* ------- Our Work showcase ------- */
.work-stage {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: stretch;
}
.work-list { display: flex; flex-direction: column; gap: 4px; }
.work-tab {
  text-align: left;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  display: flex; align-items: flex-start; gap: 16px;
  transition: opacity 0.25s ease;
  opacity: 0.5;
}
.work-tab:last-child { border-bottom: 1px solid var(--line); }
.work-tab:hover { opacity: 0.85; }
.work-tab.active { opacity: 1; }
.work-tab .num {
  font-family: Georgia, serif; font-style: italic; color: var(--fg-3); font-size: 14px; min-width: 40px; padding-top: 6px;
}
.work-tab .meta {
  display: flex; flex-direction: column; gap: 6px;
}
.work-tab h4 {
  margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -0.015em; color: var(--fg); line-height: 1.15;
}
.work-tab .tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  font-size: 12px; color: var(--fg-2);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.work-tab .tags span { display: inline-block; }
.work-tab .tags span + span::before { content: "·"; margin-right: 8px; color: var(--fg-3); }

.work-preview {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  min-height: 540px;
}
.work-preview .frame {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.work-preview .frame.active { opacity: 1; }
.work-preview .frame img {
  width: 100%; height: 100%; object-fit: cover;
}
.work-preview .badge {
  position: absolute; top: 20px; left: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(0,0,0,0.6); color: #fff; backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  z-index: 2;
}
.work-preview .demo-cta {
  position: absolute; bottom: 20px; right: 20px;
  z-index: 2;
}
@media (max-width: 900px) {
  .work-stage { grid-template-columns: 1fr; }
  .work-preview { min-height: 320px; }
}

/* ------- Why Prolancit ------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.why-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  min-height: 360px;
  transition: background 0.3s ease;
}
.why-cell:hover { background: var(--bg-soft); }
.why-cell .num {
  font-size: clamp(48px, 6vw, 88px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--fg);
  margin-bottom: 6px;
}
.why-cell .num .slash {
  color: var(--accent); margin-right: 4px;
}
.why-cell h3 { margin: 0; font-size: clamp(22px, 2vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--fg); }
.why-cell p { margin: 0; color: var(--fg-2); font-size: 16px; line-height: 1.6; max-width: 44ch; }
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } .why-cell { padding: 36px 28px; min-height: 0; } }

/* why variant: rows */
.why-rows { display: flex; flex-direction: column; }
.why-row {
  display: grid;
  grid-template-columns: 0.8fr 1.5fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.why-row:last-child { border-bottom: 1px solid var(--line); }
.why-row .big-num {
  font-size: clamp(80px, 11vw, 200px);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.9;
  color: var(--fg);
  font-family: Georgia, serif; font-style: italic;
}
.why-row .big-num span { color: var(--accent); }
.why-row h3 { margin: 0; font-size: clamp(24px, 2.2vw, 36px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; color: var(--fg); }
.why-row p { margin: 0; color: var(--fg-2); font-size: 16px; line-height: 1.6; }
@media (max-width: 800px) { .why-row { grid-template-columns: 1fr; gap: 8px; } .why-row .big-num { font-size: 64px; } }

/* why variant: stack tiles */
.why-stack {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.why-tile {
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  min-height: 360px;
  display: flex; flex-direction: column; justify-content: space-between;
  position: relative; overflow: hidden;
}
.why-tile:nth-child(2) { background: var(--accent); color: var(--accent-fg); }
.why-tile:nth-child(3) { background: var(--bg-soft); color: var(--fg); border: 1px solid var(--line); }
.why-tile:nth-child(4) { background: #1F7AEC; color: #fff; }
.why-tile .num { font-family: Georgia, serif; font-style: italic; font-size: 18px; opacity: 0.7; }
.why-tile h3 { margin: 12px 0; font-size: 24px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.why-tile p { margin: 0; opacity: 0.85; font-size: 14px; line-height: 1.55; }
@media (max-width: 900px) { .why-stack { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .why-stack { grid-template-columns: 1fr; } .why-tile { min-height: 240px; } }

/* ------- About ------- */
.about {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.about-grid h2 { margin: 0; }
.about-grid .body-stack { display: flex; flex-direction: column; gap: 24px; font-size: 17px; line-height: 1.65; color: var(--fg); max-width: 64ch; }
.about-grid .body-stack p { margin: 0; }
.about-grid .body-stack p strong { color: var(--fg); font-weight: 600; }
.about-pull {
  margin-top: 40px;
  padding: 32px 36px;
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1.3;
  border-left: 4px solid var(--accent);
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.25;
  color: var(--fg);
  letter-spacing: -0.01em;
}
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ------- Testimonials ------- */
.t-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.t-card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px 36px 32px;
  display: flex; flex-direction: column; gap: 24px;
  position: relative;
  overflow: hidden;
}
.t-card::before {
  content: "”";
  font-family: Georgia, serif;
  font-size: 200px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
  position: absolute;
  top: -30px; right: 24px; left: auto;
  font-weight: 700;
}
.t-card .quote {
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--fg);
  font-weight: 500;
  position: relative;
}
.t-card .who {
  display: flex; align-items: center; gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.t-card .who .avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-fg);
  display: grid; place-items: center;
  font-weight: 700; letter-spacing: -0.02em;
  font-size: 15px;
  flex-shrink: 0;
}
.t-card .who .meta { display: flex; flex-direction: column; gap: 2px; }
.t-card .who .meta strong { color: var(--fg); font-size: 15px; font-weight: 600; }
.t-card .who .meta span { color: var(--fg-2); font-size: 13px; }
.t-card .stars { display: flex; gap: 4px; color: var(--accent); }
@media (max-width: 760px) { .t-grid { grid-template-columns: 1fr; } }

/* ------- Service Request — minimal form below About ------- */
.service-request { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sr-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.sr-intro .h-section { margin-top: 16px; }
.sr-intro .lede { margin-top: 18px; max-width: 42ch; }
.sr-form {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,0.18);
}
.sr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sr-field { display: flex; flex-direction: column; gap: 8px; }
.sr-field > span { font-size: 13px; font-weight: 600; color: var(--fg-2); letter-spacing: -0.005em; }
.sr-field input,
.sr-field select,
.sr-field textarea {
  width: 100%;
  font: inherit;
  font-size: 15px;
  color: var(--fg);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.sr-field input:focus,
.sr-field select:focus,
.sr-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--accent) 22%, transparent);
}
.sr-submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.sr-note { font-size: 13px; color: var(--fg-3); }
.sr-note strong { color: var(--fg-2); font-weight: 600; }
@media (max-width: 900px) {
  .sr-grid { grid-template-columns: 1fr; gap: 40px; }
  .sr-row { grid-template-columns: 1fr; }
}

/* ------- Contact Us — between CTA banner & footer ------- */
.contact-us { background: var(--bg); border-top: 1px solid var(--line); }
.cu-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}
.cu-left .h-section { margin-top: 16px; }
.cu-left .lede { margin-top: 18px; max-width: 42ch; }
.cu-list { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-direction: column; gap: 20px; }
.cu-list li { display: flex; align-items: flex-start; gap: 14px; }
.cu-list li > svg { color: var(--accent); flex-shrink: 0; margin-top: 2px; }
.cu-list li > div { display: flex; flex-direction: column; gap: 2px; }
.cu-list li strong { font-size: 14px; color: var(--fg); font-weight: 600; }
.cu-list li span,
.cu-list li a { font-size: 14px; color: var(--fg-2); text-decoration: none; }
.cu-list li a:hover { color: var(--accent); }
.cu-form {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px;
}
.cu-form-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 4px; color: var(--fg); }
@media (max-width: 900px) {
  .cu-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ------- CTA banner ------- */
  position: relative;
  margin-top: 0;
  padding: clamp(80px, 12vw, 160px) 0;
  background: radial-gradient(ellipse at 30% 0%, rgba(31,122,236,0.4), transparent 50%),
              radial-gradient(ellipse at 70% 100%, rgba(34,211,238,0.25), transparent 60%),
              linear-gradient(180deg, #0A0B0E, #0a1428);
  color: #fff;
  overflow: hidden;
}
.cta-banner-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px; align-items: end;
}
.cta-banner h2 {
  margin: 0;
  color: #fff;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: -0.035em;
}
.cta-banner p { font-size: clamp(17px, 1.4vw, 20px); color: rgba(255,255,255,0.75); margin: 0; line-height: 1.55; max-width: 50ch; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end; justify-content: flex-end; padding-bottom: 8px; }
.cta-banner .email-line {
  margin-top: 32px;
  font-family: Georgia, serif; font-style: italic;
  font-size: 18px; color: rgba(255,255,255,0.7);
}
.cta-banner .email-line strong { font-style: normal; color: #fff; font-family: var(--font-sans); font-weight: 600; }
@media (max-width: 800px) { .cta-banner-inner { grid-template-columns: 1fr; } .cta-banner .actions { justify-content: flex-start; } }

/* ------- Footer ------- */
.footer {
  background: #050608;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer .brand-mark { color: #fff; font-size: 22px; }
.footer p { color: rgba(255,255,255,0.55); font-size: 14px; line-height: 1.6; max-width: 36ch; margin: 18px 0 0; }
.footer h5 { color: #fff; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin: 0 0 16px; font-weight: 600; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer ul a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color 0.2s ease; }
.footer ul a:hover { color: var(--accent); }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact a svg { color: rgba(255,255,255,0.45); flex-shrink: 0; }
.footer-contact a:hover svg { color: var(--accent); }
.footer-socials { display: flex; gap: 12px; margin-top: 24px; }
.footer-socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: all 0.2s ease;
}
.footer-socials a:hover { background: var(--accent); border-color: var(--accent); color: #000; transform: translateY(-2px); }
.footer-bottom {
  padding-top: 28px; display: flex; justify-content: space-between; gap: 16px;
  font-size: 13px; color: rgba(255,255,255,0.4);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } .footer-bottom { flex-direction: column; } }

/* ------- Reveal helper ------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(.18,.6,.18,1);
}
.reveal.in-view { opacity: 1; transform: none; }
.reveal-d-1 { transition-delay: 0.08s; }
.reveal-d-2 { transition-delay: 0.16s; }
.reveal-d-3 { transition-delay: 0.24s; }
.reveal-d-4 { transition-delay: 0.32s; }
.reveal-d-5 { transition-delay: 0.4s; }

/* clip reveal — for big quote */
.clip-reveal {
  display: inline-block;
  overflow: hidden;
}
.clip-reveal > span {
  display: inline-block;
  transform: translateY(110%);
  transition: transform 0.9s cubic-bezier(.7,.1,.2,1);
}
.in-view .clip-reveal > span { transform: translateY(0); }

/* gentle float for hero floats */
@keyframes float-y {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50%      { transform: translateY(-12px) rotate(var(--r, 0deg)); }
}
.float-card.float-a { --r: -3deg; animation: float-y 6s ease-in-out infinite; }
.float-card.float-b { --r:  2deg; animation: float-y 7.5s ease-in-out infinite 0.6s; }
.float-card.float-c { --r:  1deg; animation: float-y 8s ease-in-out infinite 1.2s; }

/* simple selection */
::selection { background: var(--accent); color: var(--accent-fg); }

/* avatar with photo */
.t-card .avatar.avatar-img {
  background: transparent;
  padding: 0;
  overflow: hidden;
  object-fit: cover;
  object-position: center 25%;
}

/* unified testimonial wall — 2-col side by side */
.t-wall {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.t-card-sm {
  display: flex !important;
  flex-direction: column;
  gap: 20px !important;
  padding: 40px 36px !important;
}
.t-card-sm::before {
  font-size: 180px !important;
  top: -28px !important;
  right: 24px !important;
  left: auto !important;
}
.t-card-sm .quote {
  font-size: 18px !important;
  line-height: 1.55 !important;
}
.t-card-sm .who { padding-top: 18px !important; }
.t-card-sm .avatar { width: 44px !important; height: 44px !important; font-size: 14px !important; }
.t-card-sm .meta strong { font-size: 16px !important; }
.t-card-sm .meta span { font-size: 13px !important; }
@media (max-width: 800px) { .t-wall { grid-template-columns: 1fr; } }

/* featured testimonial — full-width above the grid */
.t-feature {
  margin-bottom: 24px;
  padding: 56px 56px 44px;
}
.t-feature .quote { font-size: clamp(20px, 1.8vw, 28px); line-height: 1.45; }
.t-feature::before { font-size: 280px; top: -50px; left: 36px; }
@media (max-width: 700px) { .t-feature { padding: 36px 28px 28px; } }

/* Founder recommendations — masonry-ish wall */
.founder-recs {
  margin-top: 96px;
  padding-top: 72px;
  border-top: 1px solid var(--line);
}
.founder-recs-head { margin-bottom: 40px; max-width: 760px; }
.rec-grid {
  column-count: 3;
  column-gap: 20px;
}
.rec-card {
  break-inside: avoid;
  display: inline-block;
  width: 100%;
  margin-bottom: 20px;
  padding: 24px 26px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, transform 0.3s ease;
}
.rec-card:hover { border-color: var(--fg-2); transform: translateY(-2px); }
.rec-quote {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  letter-spacing: -0.005em;
}
.rec-who {
  display: flex; flex-direction: column; gap: 2px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.rec-who strong { color: var(--fg); font-size: 14px; font-weight: 600; }
.rec-who span { color: var(--fg-2); font-size: 12px; }
@media (max-width: 1000px) { .rec-grid { column-count: 2; } }
@media (max-width: 640px) { .rec-grid { column-count: 1; } }

/* team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.team-card {
  display: flex; flex-direction: column; gap: 18px;
}
.team-photo {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--line);
}
.team-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  filter: grayscale(15%);
  transition: transform 0.6s ease, filter 0.4s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); filter: grayscale(0%); }
.team-meta h3 {
  margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -0.01em;
  color: var(--fg); line-height: 1.2;
}
.team-meta p {
  margin: 4px 0 0; color: var(--fg-2); font-size: 14px; line-height: 1.45;
}
@media (max-width: 900px) { .team-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 480px) { .team-grid { grid-template-columns: 1fr; } }

/* team links */
.team-links {
  margin-top: 12px;
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.team-links a {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--fg-2);
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.team-links a:hover { border-color: var(--fg); color: var(--fg); background: var(--bg-soft); }
.team-links a.icon-only { padding: 7px; width: 30px; height: 30px; justify-content: center; }
.team-links a span { line-height: 1; }

/* rec card avatar */
.rec-who { flex-direction: row !important; align-items: center; gap: 12px; }
.rec-avatar {
  width: 36px; height: 36px;
  border-radius: 999px;
  object-fit: cover; object-position: center 25%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.rec-avatar-fallback {
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700; color: var(--accent-fg);
  background: var(--accent);
  letter-spacing: 0.04em;
}
.rec-meta { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rec-meta strong { color: var(--fg); font-size: 14px; font-weight: 600; }
.rec-meta span { color: var(--fg-2); font-size: 12px; }


/* ============================================================
   NEW SECTIONS CSS — Outcomes, ICP, Solutions, HowItWorks,
   CaseStudies, Comparison, Pricing, TechStack, FounderPOV, Urgency
============================================================ */

/* ------- Outcomes ------- */
.outcomes { background: var(--bg); }
.outcomes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 48px; }
.outcome-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px;
  padding: 32px 28px; display: flex; flex-direction: column; gap: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.outcome-card:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 30px 50px -30px rgba(0,0,0,0.18); }
.outcome-num {
  font-family: var(--font-serif, Georgia, serif);
  font-size: clamp(40px, 4.5vw, 64px); font-weight: 700;
  color: var(--accent); line-height: 1; letter-spacing: -0.03em;
}
.outcome-label { font-size: 17px; font-weight: 700; color: var(--fg); margin-top: 8px; }
.outcome-sub { color: var(--fg-2); font-size: 14px; line-height: 1.5; margin: 0; }
@media (max-width: 1000px) { .outcomes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .outcomes-grid { grid-template-columns: 1fr; } }

/* ------- ICP ------- */
.icp { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.icp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.icp-card {
  display: flex; align-items: center; gap: 16px;
  padding: 28px 24px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.3s ease;
}
.icp-card:hover { background: var(--bg-soft); }
.icp-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: color-mix(in oklch, var(--accent) 12%, transparent);
  color: var(--accent);
  display: grid; place-items: center; flex-shrink: 0;
}
.icp-name { font-size: 15px; font-weight: 600; color: var(--fg); line-height: 1.3; }
@media (max-width: 1000px) { .icp-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .icp-grid { grid-template-columns: 1fr; } }

/* ------- Solutions ------- */
.sol-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.sol-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px;
  padding: 36px 32px; display: flex; flex-direction: column; gap: 14px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.sol-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.sol-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: color-mix(in oklch, var(--accent) 14%, transparent);
  color: var(--accent);
  display: grid; place-items: center;
}
.sol-title { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; color: var(--fg); margin: 4px 0 0; }
.sol-desc { color: var(--fg-2); font-size: 15px; line-height: 1.6; margin: 0; max-width: 50ch; }
@media (max-width: 720px) { .sol-grid { grid-template-columns: 1fr; } }

/* ------- HowItWorks ------- */
.how { background: var(--bg); }
.how-list { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-direction: column; gap: 0; }
.how-step {
  position: relative;
  display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: flex-start;
  padding: 24px 0;
}
.how-num {
  font-family: Georgia, serif; font-style: italic;
  font-size: 28px; color: var(--accent); font-weight: 400;
  width: 64px; height: 64px; border-radius: 999px;
  background: color-mix(in oklch, var(--accent) 12%, transparent);
  display: grid; place-items: center; flex-shrink: 0;
  position: relative; z-index: 2;
}
.how-body h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; color: var(--fg); margin: 14px 0 6px; }
.how-body p { color: var(--fg-2); font-size: 15px; line-height: 1.55; margin: 0; max-width: 60ch; }
.how-connector {
  position: absolute; left: 32px; top: 80px; bottom: -16px;
  width: 2px; background: var(--line);
  z-index: 1;
}

/* ------- Case Studies ------- */
.case-studies { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 48px; }
.cs-card {
  position: relative;
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cs-card:hover { transform: translateY(-4px); box-shadow: 0 30px 50px -30px rgba(0,0,0,0.18); }
.cs-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-soft); }
.cs-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cs-card:hover .cs-img img { transform: scale(1.06); }
.cs-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 10px; }
.cs-tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.cs-title { font-size: 20px; font-weight: 700; letter-spacing: -0.015em; color: var(--fg); margin: 0; line-height: 1.3; }
.cs-stat { font-family: Georgia, serif; font-style: italic; color: var(--fg-2); font-size: 15px; }
.cs-arrow {
  position: absolute; top: 20px; right: 20px;
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,0.95); border: 1px solid var(--line);
  display: grid; place-items: center; cursor: pointer;
  color: var(--fg);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  z-index: 2;
}
.cs-arrow:hover { background: var(--accent); color: var(--accent-fg); border-color: var(--accent); transform: rotate(-45deg) scale(1.05); }
@media (max-width: 800px) { .cs-grid { grid-template-columns: 1fr; } }

/* ------- Comparison ------- */
.compare { background: var(--bg); }
.cmp-wrap { margin-top: 48px; overflow-x: auto; }
.cmp-table {
  width: 100%; border-collapse: collapse;
  font-size: 15px;
  min-width: 720px;
}
.cmp-table th, .cmp-table td {
  text-align: left; padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.cmp-table thead th {
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--fg-2);
  border-bottom: 2px solid var(--line);
}
.cmp-table thead th.highlight { color: var(--fg); background: color-mix(in oklch, var(--accent) 10%, transparent); border-radius: 12px 12px 0 0; }
.cmp-table tbody th[scope="row"] { font-weight: 600; color: var(--fg); width: 220px; }
.cmp-table td { color: var(--fg-2); }
.cmp-table td.highlight { color: var(--fg); font-weight: 600; background: color-mix(in oklch, var(--accent) 6%, transparent); }
.cmp-table tbody tr:last-child td.highlight { border-radius: 0 0 12px 12px; }

/* ------- Pricing ------- */
.pricing { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.price-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: 16px;
  padding: 36px 32px; display: flex; flex-direction: column; gap: 12px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.price-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.price-feature { border-color: var(--accent); box-shadow: 0 30px 60px -40px color-mix(in oklch, var(--accent) 60%, transparent); }
.price-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.price-amount { font-size: clamp(30px, 3vw, 42px); font-weight: 700; letter-spacing: -0.025em; color: var(--fg); line-height: 1; }
.price-card p { color: var(--fg-2); font-size: 15px; line-height: 1.55; margin: 8px 0 0; }
.price-cta {
  margin-top: 40px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.price-cta span { font-size: 14px; color: var(--fg-3); }
.price-cta strong { color: var(--fg-2); font-weight: 600; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } }

/* ------- Tech Stack ------- */
.techstack { background: var(--bg); }
.tech-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  margin-top: 48px;
  border-top: 1px solid var(--line); border-left: 1px solid var(--line);
}
.tech-cell {
  display: grid; place-items: center;
  padding: 28px 20px; min-height: 100px;
  border-right: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.3s ease;
}
.tech-cell:hover { background: var(--bg-soft); }
.tech-cell span {
  font-size: 14px; font-weight: 600; color: var(--fg-2); text-align: center;
  letter-spacing: -0.005em;
}
@media (max-width: 900px) { .tech-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }

/* ------- Founder POV ------- */
.founder-pov { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fp-grid { display: grid; grid-template-columns: 360px 1fr; gap: 64px; align-items: center; }
.fp-photo { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.fp-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.fp-quote {
  font-family: Georgia, serif;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.4; letter-spacing: -0.015em;
  color: var(--fg);
  margin: 24px 0 32px; padding: 0;
  border-left: 3px solid var(--accent);
  padding-left: 24px;
}
.fp-sig { display: flex; flex-direction: column; gap: 4px; }
.fp-sig strong { font-size: 22px; font-weight: 700; color: var(--fg); letter-spacing: -0.01em; }
.fp-sig span { font-size: 16px; color: var(--fg-2); }
@media (max-width: 900px) {
  .fp-grid { grid-template-columns: 1fr; gap: 32px; }
  .fp-photo { max-width: 320px; }
}

/* ------- Urgency ------- */
.urgency { background: var(--bg); }
.urg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.urg-card {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 16px;
  padding: 36px 32px; display: flex; flex-direction: column; gap: 16px;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.urg-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.urg-figure {
  font-size: clamp(40px, 4.5vw, 60px); font-weight: 800; letter-spacing: -0.03em;
  color: var(--accent); line-height: 1;
  font-family: var(--font-serif, Georgia, serif);
}
.urg-copy { color: var(--fg); font-size: 16px; line-height: 1.5; margin: 0; font-weight: 500; }
.urg-source {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; color: var(--fg-3); text-decoration: none;
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--line);
  transition: color 0.2s ease;
}
.urg-source:hover { color: var(--accent); }
@media (max-width: 900px) { .urg-grid { grid-template-columns: 1fr; } }


/* ------- Gallery ------- */
.gallery-wrap { margin-top: 64px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg-elev);
  padding: 0;
  cursor: zoom-in;
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s ease, border-color 0.2s ease;
}
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.2,.7,.2,1);
}
.gallery-tile:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.08);
  border-color: var(--accent);
}
.gallery-tile:hover img { transform: scale(1.04); }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } }

/* lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8, 9, 12, 0.92);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  padding: 40px;
  animation: fadein 0.2s ease;
}
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.lightbox-img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  cursor: default;
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  width: 48px; height: 48px;
  font-size: 28px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox-close { top: 24px; right: 24px; font-size: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(255,255,255,0.18); }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-3px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(3px); }
@media (max-width: 600px) {
  .lightbox { padding: 16px; }
  .lightbox-close, .lightbox-nav { width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}


/* ------- Service Request — extended form (checkboxes, success, error) ------- */
.sr-field em { color: var(--accent); font-style: normal; font-weight: 600; margin-left: 2px; }
.sr-field em.opt { color: var(--fg-3); font-weight: 400; font-size: 12px; margin-left: 6px; }

.sr-checks { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.sr-checks legend {
  font-size: 13px; color: var(--fg-2); letter-spacing: 0.04em; text-transform: uppercase;
  font-weight: 600; padding: 0;
}
.sr-checks legend em { color: var(--accent); font-style: normal; margin-left: 2px; }
.sr-checks-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; }
@media (max-width: 720px) { .sr-checks-grid { grid-template-columns: 1fr; } }

.sr-check {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  font-size: 14.5px; line-height: 1.4;
  color: var(--fg-2);
  background: transparent;
}
.sr-check:hover { border-color: color-mix(in oklch, var(--accent) 50%, var(--line)); }
.sr-check input { position: absolute; opacity: 0; pointer-events: none; }
.sr-check-box {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.18s ease;
  margin-top: 1px;
  color: transparent;
  background: transparent;
}
.sr-check-label { flex: 1; }
.sr-check.on { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 8%, transparent); color: var(--fg); }
.sr-check.on .sr-check-box {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}

.sr-error {
  padding: 12px 16px;
  border-radius: 10px;
  background: color-mix(in oklch, #d04b4b 15%, transparent);
  border: 1px solid color-mix(in oklch, #d04b4b 50%, transparent);
  color: #e26a6a;
  font-size: 14px;
}
body.theme-light .sr-error { color: #b03a3a; background: #fdecec; border-color: #f3c0c0; }

.sr-success {
  text-align: center;
  padding: 60px 20px;
  max-width: 640px;
  margin: 0 auto;
}
.sr-success-icon {
  width: 72px; height: 72px;
  border-radius: 999px;
  background: color-mix(in oklch, var(--accent) 18%, transparent);
  border: 2px solid var(--accent);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.sr-success .h-section { margin-bottom: 14px; }
.sr-success .lede { margin: 0 auto; max-width: 48ch; }


/* ------- Service Request — multi-page wizard chrome ------- */
.sr-steps {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 4px;
}
.sr-step {
  display: flex; align-items: center; gap: 10px;
  color: var(--fg-3);
  font-size: 13px; font-weight: 500;
}
.sr-step.on { color: var(--fg); }
.sr-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 999px;
  border: 1.5px solid var(--line);
  background: transparent; color: var(--fg-3);
  font-size: 12px; font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.sr-step.on .sr-step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: #000;
}
.sr-step-line {
  flex: 1; height: 1px; background: var(--line);
}
.sr-submit-split {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
