/* ==========================================================================
   SB Seller Solutions — Premium E-commerce Marketplace Management & Growth Agency
   Design system: near-black canvas, gold accent, analytics-readout signature.
   ========================================================================== */

:root {
  /* Palette */
  --bg:        #0a0a0b;
  --bg-2:      #0e0e10;
  --surface:   #141417;
  --surface-2: #1a1a1e;
  --line:      #26262c;
  --line-soft: #1e1e23;

  --gold:      #f5c518;
  --gold-hi:   #ffd94a;
  --gold-deep: #b8890c;

  --text:      #f6f6f4;
  --muted:     #a2a2a9;
  --muted-2:   #74747c;

  /* Type */
  --display: "Sora", ui-sans-serif, system-ui, sans-serif;
  --body:    "Inter", ui-sans-serif, system-ui, sans-serif;
  --mono:    "Space Mono", ui-monospace, "SFMono-Regular", monospace;

  /* Layout */
  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --radius: 16px;
  --radius-lg: 22px;

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ------------------------------ Reset ---------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ------------------------------ Type ----------------------------------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6.2vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.1rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.6rem); letter-spacing: -0.01em; }
p  { color: var(--muted); }

.accent { color: var(--gold); }
.serif-i { font-style: italic; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--gold);
  opacity: .7;
}

/* --------------------------- Layout helpers ---------------------------- */
.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 128px); }
.section--tight { padding-block: clamp(48px, 6vw, 84px); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: .75rem; }

.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; }
.section-head h2 { margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 1.05rem; }

/* ------------------------------ Buttons -------------------------------- */
.btn {
  --pad-y: 14px; --pad-x: 26px;
  display: inline-flex; align-items: center; gap: .55rem;
  padding: var(--pad-y) var(--pad-x);
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--gold); color: #17130a; box-shadow: 0 10px 30px -12px rgba(245,197,24,.6); }
.btn--primary:hover { background: var(--gold-hi); box-shadow: 0 16px 40px -12px rgba(245,197,24,.75); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }
.btn--sm { --pad-y: 10px; --pad-x: 18px; font-size: .85rem; }

/* ------------------------------ Top bar -------------------------------- */
.topbar {
  background: var(--gold);
  color: #17130a;
  font-size: .78rem;
  font-weight: 500;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; flex-wrap: wrap; }
.topbar a { font-weight: 600; }
.topbar-left, .topbar-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 14px; height: 14px; }
@media (max-width: 720px) { .topbar-right { display: none; } }

/* ------------------------------ Nav ------------------------------------ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: rgba(10,10,11,.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.nav.is-scrolled { border-color: var(--line-soft); background: rgba(10,10,11,.9); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; padding-block: 16px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-logo {
  display: block;
  width: 72px;
  height: auto;
  max-width: 80px;
  object-fit: contain;
}
.brand-logo--sm {
  width: 60px;
  height: auto;
  max-width: 65px;
}
.brand-name { font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; line-height: 1.1; }
.brand-name span { display: block; font-family: var(--mono); font-weight: 400; font-size: .58rem; letter-spacing: .2em; color: var(--muted-2); text-transform: uppercase; margin-top: 3px; }

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-size: .86rem; font-weight: 500; color: var(--muted);
  padding: 9px 11px; border-radius: 999px;
  transition: color .2s var(--ease), background .2s var(--ease);
}
.nav-links a:hover { color: var(--text); }
.nav-links a.is-active { color: var(--gold); background: rgba(245,197,24,.08); }

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--line);
  color: var(--text); place-items: center;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 70;
  background: var(--bg);
  padding: 24px var(--gutter);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .38s var(--ease);
  visibility: hidden;
}
.mobile-menu.is-open { transform: translateX(0); visibility: visible; }
.mobile-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
.mobile-menu nav a {
  font-family: var(--display); font-weight: 600; font-size: 1.6rem;
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
  color: var(--text); display: flex; justify-content: space-between; align-items: center;
}
.mobile-menu nav a .idx { font-family: var(--mono); font-size: .8rem; color: var(--muted-2); font-weight: 400; }
.mobile-menu nav a.is-active { color: var(--gold); }
.mobile-menu .btn { margin-top: 32px; justify-content: center; }
.mobile-menu-foot { margin-top: auto; padding-top: 28px; color: var(--muted); font-size: .85rem; }
.mobile-menu-foot a { color: var(--gold); }

@media (max-width: 1100px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: grid; }
  .nav .brand-logo {
    width: 60px;
    max-width: 65px;
    height: auto;
  }
}

/* ------------------------------ Hero ----------------------------------- */
.hero { position: relative; padding-block: clamp(56px, 9vw, 108px); overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(680px 420px at 78% 8%, rgba(245,197,24,.16), transparent 62%),
    radial-gradient(560px 480px at 4% 90%, rgba(245,197,24,.06), transparent 60%);
}
.hero-grid-lines {
  position: absolute; inset: 0; z-index: 0; opacity: .5; pointer-events: none;
  background-image: linear-gradient(var(--line-soft) 1px, transparent 1px), linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 60% at 50% 30%, #000 20%, transparent 75%);
          mask-image: radial-gradient(80% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-top: 22px; }
.hero-lede { margin-top: 22px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); max-width: 34ch; }
.hero-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-chips { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .04em;
  padding: 7px 13px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  background: rgba(255,255,255,.02);
}

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-lede { max-width: 46ch; }
}

/* --------------------- Signature: analytics card ----------------------- */
.readout {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.03);
  position: relative;
}
.readout-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.readout-title { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 600; font-size: .95rem; }
.readout-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245,197,24,.15); }
.readout-badge { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(245,197,24,.3); border-radius: 999px; padding: 4px 10px; }
.readout-chart { width: 100%; height: 150px; }
.readout-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
.readout-tile { background: rgba(255,255,255,.02); border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px; }
.readout-tile .lbl { font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.readout-tile .val { font-family: var(--display); font-weight: 700; font-size: 1.25rem; margin-top: 5px; }
.readout-tile .val.up { color: var(--gold); }

/* Chart line-draw animation */
.spark-line { fill: none; stroke: var(--gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2.2s var(--ease) forwards .3s; }
.spark-area { fill: url(#sparkfill); opacity: 0; animation: fadein 1.4s ease forwards 1.4s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadein { to { opacity: 1; } }

/* ------------------------- Marketplace trust bar ----------------------- */
.trustbar { border-block: 1px solid var(--line-soft); background: var(--bg-2); }
.trustbar .wrap { display: flex; align-items: center; gap: clamp(28px, 6vw, 72px); padding-block: 26px; flex-wrap: wrap; justify-content: center; }
.trustbar .label { font-family: var(--mono); font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); }
.mkt-logos { display: flex; align-items: center; gap: clamp(24px, 5vw, 52px); flex-wrap: wrap; justify-content: center; }
.mkt-logos .mkt { color: var(--muted); font-family: var(--display); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 9px; transition: color .25s var(--ease), transform .25s var(--ease); }
.mkt-logos .mkt:hover { color: var(--text); transform: translateY(-2px); }
.mkt-logos .mkt img { width: 28px; height: 28px; display: block; transition: transform .3s var(--ease); }
.mkt-logos .mkt:hover img { transform: scale(1.12) rotate(-3deg); }
.mkt-logos .mkt .dot { color: var(--gold); }

/* ------------------------------ Cards ---------------------------------- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); border-color: rgba(245,197,24,.4); }
.card-ico {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(245,197,24,.1); color: var(--gold);
  border: 1px solid rgba(245,197,24,.22);
  margin-bottom: 18px;
}
.card-ico svg { width: 22px; height: 22px; }
.card h3 { margin-bottom: 9px; }
.card p { font-size: .95rem; }
.card-tag { position: absolute; top: 20px; right: 20px; font-family: var(--mono); font-size: .62rem; letter-spacing: .1em; color: var(--muted-2); text-transform: uppercase; }

/* Service list within card */
.svc-points { list-style: none; padding: 0; margin-top: 16px; display: grid; gap: 9px; }
.svc-points li { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.svc-points li svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 3px; }

/* ------------------------------ Stats ---------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--bg-2); padding: 30px 24px; }
.stat .num { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--gold); letter-spacing: -0.03em; }
.stat .cap { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); margin-top: 6px; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* --------------------------- Process (steps) --------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.step { position: relative; padding-top: 30px; }
.step::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: var(--line); }
.step.is-first::before { background: linear-gradient(90deg, var(--gold), var(--line)); }
.step .idx { font-family: var(--mono); font-size: .8rem; color: var(--gold); letter-spacing: .1em; }
.step h3 { margin-top: 12px; font-size: 1.25rem; }
.step p { margin-top: 8px; font-size: .92rem; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ----------------------------- Split rows ------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.split.flip .split-media { order: -1; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } .split.flip .split-media { order: 0; } }

.feature-list { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 16px; }
.feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.feature-list .fi-ico { width: 34px; height: 34px; border-radius: 9px; background: rgba(245,197,24,.1); border: 1px solid rgba(245,197,24,.2); color: var(--gold); display: grid; place-items: center; flex: none; }
.feature-list .fi-ico svg { width: 17px; height: 17px; }
.feature-list h4 { font-family: var(--display); font-size: 1rem; font-weight: 600; }
.feature-list p { font-size: .9rem; margin-top: 3px; }

/* ---------------------------- Testimonials ----------------------------- */
.quote-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; height: 100%; }
.quote-stars { color: var(--gold); letter-spacing: 2px; font-size: .85rem; margin-bottom: 14px; }
.quote-card blockquote { font-size: 1rem; color: var(--text); line-height: 1.6; flex: 1; }
.quote-card blockquote::before { content: "\201C"; color: var(--gold); font-family: var(--display); font-size: 2.4rem; line-height: 0; vertical-align: -0.35em; margin-right: 4px; }
.quote-author { display: flex; align-items: center; gap: 12px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: .95rem; background: linear-gradient(145deg, rgba(245,197,24,.25), rgba(245,197,24,.05)); border: 1px solid rgba(245,197,24,.3); color: var(--gold); flex: none; }
.quote-author .who { font-family: var(--display); font-weight: 600; font-size: .92rem; }
.quote-author .role { font-size: .78rem; color: var(--muted-2); }

/* ------------------------------ Case cards ----------------------------- */
.case-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .3s var(--ease), border-color .3s var(--ease); }
.case-card:hover { transform: translateY(-4px); border-color: rgba(245,197,24,.4); }
.case-visual { height: 160px; position: relative; background: var(--bg-2); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.case-visual .tag { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; background: rgba(10,10,11,.7); border: 1px solid var(--line); color: var(--gold); padding: 5px 10px; border-radius: 999px; backdrop-filter: blur(6px); }
.case-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.case-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.case-body p { font-size: .92rem; }
.case-metrics { display: flex; gap: 22px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.case-metrics .m .k { font-family: var(--display); font-weight: 700; font-size: 1.4rem; color: var(--gold); }
.case-metrics .m .d { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 2px; }

/* ------------------------------ CTA band ------------------------------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: linear-gradient(140deg, var(--surface), var(--bg-2)); padding: clamp(40px, 6vw, 72px); text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(500px 300px at 50% -20%, rgba(245,197,24,.18), transparent 65%); pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { margin: 16px auto; max-width: 16ch; }
.cta-band p { max-width: 52ch; margin: 0 auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-note { margin-top: 20px; font-family: var(--mono); font-size: .7rem; letter-spacing: .06em; color: var(--muted-2); }

/* ------------------------------ Footer --------------------------------- */
.footer { border-top: 1px solid var(--line-soft); background: var(--bg-2); padding-block: clamp(48px, 6vw, 72px) 34px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 48px); }
.footer-brand p { font-size: .9rem; margin-top: 18px; max-width: 32ch; }
.footer-contact { list-style: none; padding: 0; margin-top: 20px; display: grid; gap: 11px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--muted); }
.footer-contact li svg { width: 16px; height: 16px; color: var(--gold); flex: none; margin-top: 3px; }
.footer-contact a:hover { color: var(--gold); }
.footer-col h4 { font-family: var(--mono); font-weight: 400; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 18px; }
.footer-col ul { list-style: none; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: .9rem; color: var(--muted); transition: color .2s var(--ease); }
.footer-col a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all .25s var(--ease); }
.socials a:hover { color: var(--gold); border-color: rgba(245,197,24,.4); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: .8rem; color: var(--muted-2); flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--gold); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------ Page hero ------------------------------ */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 60px); }
.page-hero .hero-glow, .page-hero .hero-grid-lines { position: absolute; inset: 0; z-index: 0; }
.page-hero .wrap { position: relative; z-index: 1; max-width: 780px; }
.page-hero h1 { margin-top: 20px; font-size: clamp(2.2rem, 5.4vw, 3.8rem); }
.page-hero p { margin-top: 20px; font-size: 1.1rem; max-width: 58ch; }
.crumbs { font-family: var(--mono); font-size: .72rem; letter-spacing: .06em; color: var(--muted-2); margin-bottom: 20px; }
.crumbs a:hover { color: var(--gold); }
.crumbs span { color: var(--gold); }

/* ------------------------------ Forms ---------------------------------- */
.form-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 60px); align-items: start; }
@media (max-width: 860px) { .form-wrap { grid-template-columns: 1fr; } }
.contact-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px); }
.field { margin-bottom: 16px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 480px) { .field.row { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 11px;
  background: var(--bg-2); border: 1px solid var(--line); color: var(--text);
  font-family: var(--body); font-size: .95rem;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,197,24,.12); }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23f5c518' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-2); }
.form-submit { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { font-family: var(--mono); font-size: .68rem; color: var(--muted-2); text-align: center; margin-top: 14px; letter-spacing: .04em; }
.form-success { display: none; padding: 16px 18px; border-radius: 12px; background: rgba(245,197,24,.08); border: 1px solid rgba(245,197,24,.35); color: var(--gold); font-size: .9rem; margin-bottom: 18px; align-items: center; gap: 10px; }
.form-success.show { display: flex; }
.form-success svg { width: 20px; height: 20px; flex: none; }

.info-list { list-style: none; padding: 0; display: grid; gap: 18px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; }
.info-item .ii-ico { width: 44px; height: 44px; border-radius: 12px; background: rgba(245,197,24,.1); border: 1px solid rgba(245,197,24,.22); color: var(--gold); display: grid; place-items: center; flex: none; }
.info-item .ii-ico svg { width: 20px; height: 20px; }
.info-item .k { font-family: var(--mono); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.info-item .v { font-family: var(--display); font-weight: 600; font-size: 1.02rem; margin-top: 3px; }
.info-item .v a:hover { color: var(--gold); }

/* --------------------------- Marketplace rows -------------------------- */
.mkt-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line-soft); }
.mkt-row:last-child { border-bottom: 0; }
.mkt-row.flip .mkt-media { order: -1; }
@media (max-width: 860px) { .mkt-row { grid-template-columns: 1fr; gap: 30px; } .mkt-row.flip .mkt-media { order: 0; } }
.mkt-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.mkt-badge { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--gold); flex: none; }
.mkt-badge svg { width: 28px; height: 28px; }
.mkt-head .mkt-name { font-family: var(--display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.mkt-head .mkt-sub { font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-top: 3px; }

.mkt-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.mkt-shots .proof-thumb {
  margin: 0;
  aspect-ratio: 16 / 10;
}
.mkt-shots .proof-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* --------------------------- Media / mock visuals ---------------------- */
.mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: 0 40px 80px -50px rgba(0,0,0,.9); }
.mock-head { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); }
.mock-dot.g { background: var(--gold); }
.mock-title { font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; color: var(--muted-2); margin-left: 6px; }
.mock-rows { display: grid; gap: 10px; }
.mock-line { display: flex; justify-content: space-between; align-items: center; padding: 12px 14px; background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: 10px; }
.mock-line .ml-k { font-size: .82rem; color: var(--muted); }
.mock-line .ml-v { font-family: var(--display); font-weight: 700; font-size: .95rem; }
.mock-line .ml-v.pos { color: var(--gold); }
.bar-track { height: 6px; border-radius: 999px; background: var(--line-soft); overflow: hidden; flex: 1; margin: 0 14px; }
.bar-fill { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-deep), var(--gold)); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* Marquee */
.marquee { overflow: hidden; border-block: 1px solid var(--line-soft); background: var(--gold); }
.marquee-track { display: flex; gap: 48px; padding-block: 12px; width: max-content; animation: scroll-x 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-family: var(--display); font-weight: 700; font-size: .95rem; color: #17130a; display: inline-flex; align-items: center; gap: 12px; letter-spacing: -0.01em; }
.marquee-item svg { width: 14px; height: 14px; }
@keyframes scroll-x { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

.lead-strong { color: var(--text); }
.mt-0 { margin-top: 0; }

/* ===================== HERO VISUAL: founder portrait ===================== */
.hero-visual { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.founder-stage {
  position: relative; width: min(430px, 100%); margin-inline: auto;
  aspect-ratio: 430 / 560;
}
.founder-panel {
  position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.85);
}
.founder-glow {
  position: absolute; inset: -14% -10% auto -10%; height: 74%;
  background: radial-gradient(58% 60% at 50% 4%, rgba(245,197,24,.30), transparent 70%);
}
.founder-grid {
  position: absolute; inset: 0; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 78%);
  mask-image: radial-gradient(80% 80% at 50% 40%, #000, transparent 78%);
}
.founder-img {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  height: 104%; width: auto; max-width: none; z-index: 2;
  filter: drop-shadow(0 26px 34px rgba(0,0,0,.55));
  -webkit-mask-image: linear-gradient(180deg,#000 93%,transparent 100%);
  mask-image: linear-gradient(180deg,#000 93%,transparent 100%);
  animation: founderRise .9s var(--ease) both;
}
@keyframes founderRise { from { opacity: 0; transform: translate(-50%, 18px); } to { opacity: 1; transform: translate(-50%, 0); } }

.float-card {
  position: absolute; z-index: 3;
  background: rgba(20,20,23,.82); backdrop-filter: blur(10px);
  border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.85);
  display: flex; gap: 10px; align-items: center;
}
.float-card .fc-ico {
  width: 34px; height: 34px; flex: none; border-radius: 9px;
  display: grid; place-items: center; color: #17130a; background: var(--gold);
}
.float-card .fc-ico svg { width: 18px; height: 18px; }
.fc-val { font-family: var(--display); font-weight: 800; font-size: 1.15rem; line-height: 1; }
.fc-lbl { font-family: var(--mono); font-size: .6rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); margin-top: 4px; }
.fc-tl { top: 26px; left: -26px; }
.fc-br { right: -22px; bottom: 64px; flex-direction: column; align-items: stretch; min-width: 168px; }
.fc-row { display: flex; align-items: center; gap: 8px; font-family: var(--display); font-weight: 600; font-size: .8rem; }
.fc-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(245,197,24,.15); }
.fc-spark { width: 100%; height: 34px; margin: 8px 0 6px; }
.fc-stats { display: flex; gap: 14px; }
.fc-stats div { display: flex; flex-direction: column; }
.fc-stats b { font-family: var(--display); font-size: 1rem; }
.fc-stats b.up { color: var(--gold); }
.fc-stats span { font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-2); }
.fc-tl { animation: floatY 5s ease-in-out infinite; }
.fc-br { animation: floatY 5s ease-in-out .8s infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Upwork Top Rated Plus badge */
.founder-badge {
  position: absolute; z-index: 4; left: 50%; bottom: -18px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  background: linear-gradient(180deg, #16a34a, #0f8a3d); color: #fff;
  font-family: var(--display); font-weight: 700; font-size: .82rem;
  padding: 10px 18px; border-radius: 999px;
  box-shadow: 0 16px 34px -12px rgba(20,160,80,.7); border: 1px solid rgba(255,255,255,.16);
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
a.founder-badge:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 20px 40px -12px rgba(20,160,80,.85);
  color: #fff;
}
.founder-badge svg { width: 18px; height: 18px; }
.founder-badge .fb-sub { font-family: var(--mono); font-weight: 400; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; opacity: .85; }

@media (max-width: 900px) {
  .hero-visual { max-width: 420px; margin-inline: auto; }
}
@media (max-width: 480px) {
  .founder-stage { aspect-ratio: 340 / 480; }
  .fc-tl { left: -6px; top: 14px; padding: 9px 11px; }
  .fc-br { right: -4px; min-width: 148px; }
  .fc-val { font-size: 1rem; }
  .fc-tl, .fc-br { animation: none; }
}

/* ===================== RESULTS PAGE ===================== */
.res-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: clamp(28px,3vw,40px); }
.res-tab {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 9px 18px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line); background: rgba(255,255,255,.02); color: var(--muted);
  transition: all .2s ease;
}
.res-tab:hover { border-color: var(--gold); color: var(--text); }
.res-tab.is-on { background: var(--gold); color: #17130a; border-color: var(--gold); }

.res-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
  border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px; overflow: hidden;
  transition: transform .2s ease, border-color .2s ease;
}
.res-card:hover { transform: translateY(-4px); border-color: rgba(245,197,24,.4); }
.res-card.is-hidden,
.proof-item.is-hidden,
.is-hidden { display: none !important; }
.res-viz {
  height: 118px; border-radius: 12px; overflow: hidden; margin-bottom: 16px;
  background: rgba(255,255,255,.02); border: 1px solid var(--line-soft);
  display: flex; align-items: flex-end;
}
.res-viz svg { width: 100%; height: 100%; display: block; }
.res-viz--bars { align-items: flex-end; gap: 8px; padding: 14px; }
.res-viz--bars span { flex: 1; background: linear-gradient(180deg, var(--gold), var(--gold-deep)); border-radius: 4px 4px 0 0; opacity: .85; }
.res-viz--rows { flex-direction: column; align-items: stretch; justify-content: center; gap: 10px; padding: 16px; }
.res-viz--rows span { height: 8px; border-radius: 6px; background: rgba(255,255,255,.06); position: relative; }
.res-viz--rows span::after { content: ""; position: absolute; inset: 0; width: var(--w,60%); border-radius: 6px; background: linear-gradient(90deg, var(--gold), var(--gold-deep)); }
.res-viz--rows span:nth-child(1)::after { --w: 84%; }
.res-viz--rows span:nth-child(2)::after { --w: 58%; }
.res-viz--rows span:nth-child(3)::after { --w: 72%; }
.res-viz--rows span:nth-child(4)::after { --w: 46%; }
.res-badge {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold); border: 1px solid rgba(245,197,24,.3); border-radius: 999px; padding: 4px 10px; display: inline-block;
}
.res-card h3 { margin: 14px 0 8px; font-size: 1.15rem; }
.res-card p { font-size: .9rem; color: var(--muted); }
.res-stat { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.res-stat .num { font-family: var(--display); font-weight: 800; font-size: clamp(1.6rem,3vw,2rem); color: var(--gold); line-height: 1; }
.res-stat .cap { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); margin-top: 8px; }
.res-note { text-align: center; color: var(--muted-2); font-size: .82rem; margin-top: 32px; }

/* ============================================================
   BRAND LOGO TILES  (services cards + marketplace rows)
   ============================================================ */
.card-ico.brand { background: var(--bg); border: 1px solid var(--line); box-shadow: inset 0 0 0 1px rgba(255,255,255,.02); }
.card-ico.brand img { width: 26px; height: 26px; display: block; }
.card:hover .card-ico.brand { border-color: rgba(245,197,24,.35); }
.mkt-badge.brand { background: var(--bg); }
.mkt-badge.brand img { display: block; }

/* ============================================================
   MOTION SYSTEM  —  premium, cohesive, reduced-motion safe
   ============================================================ */
html { scroll-behavior: smooth; }
:where(section, .mkt-row, [id]) { scroll-margin-top: 96px; }

/* Scroll-reveal: fade + rise + gentle blur, staggered from JS */
.reveal { opacity: 0; transform: translateY(28px); filter: blur(6px);
  transition: opacity .75s var(--ease), transform .85s var(--ease), filter .75s var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal-left  { opacity: 0; transform: translateX(-34px); filter: blur(5px);
  transition: opacity .75s var(--ease), transform .85s var(--ease), filter .75s var(--ease); }
.reveal-right { opacity: 0; transform: translateX(34px);  filter: blur(5px);
  transition: opacity .75s var(--ease), transform .85s var(--ease), filter .75s var(--ease); }
.reveal-left.in, .reveal-right.in { opacity: 1; transform: none; filter: none; }

/* Hero entrance (on load) */
.hero-copy > * { animation: heroIn .85s var(--ease) both; }
.hero-copy > *:nth-child(1) { animation-delay: .05s; }
.hero-copy > *:nth-child(2) { animation-delay: .14s; }
.hero-copy > *:nth-child(3) { animation-delay: .23s; }
.hero-copy > *:nth-child(4) { animation-delay: .32s; }
.hero-copy > *:nth-child(5) { animation-delay: .41s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Scroll progress bar (element injected by JS) */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-hi)); z-index: 200;
  box-shadow: 0 0 12px rgba(245,197,24,.6); transition: width .08s linear; }

/* Nav underline sweep */
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); }

/* Primary button shine sweep */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 32%, rgba(255,255,255,.38) 50%, transparent 68%);
  transform: translateX(-130%); transition: transform .7s var(--ease); pointer-events: none; }
.btn--primary:hover::after { transform: translateX(130%); }

/* Card + result hover depth */
.card, .res-card, .case-card, .quote-card { will-change: transform; }
.card:hover { box-shadow: 0 26px 54px -26px rgba(0,0,0,.75), 0 0 0 1px rgba(245,197,24,.16); }
.res-card { transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease); }
.res-card:hover { transform: translateY(-5px); border-color: rgba(245,197,24,.4); box-shadow: 0 26px 54px -26px rgba(0,0,0,.75); }
.quote-card { transition: transform .3s var(--ease), border-color .3s var(--ease); }
.quote-card:hover { transform: translateY(-4px); border-color: rgba(245,197,24,.3); }
.step { transition: transform .3s var(--ease); }
.step:hover { transform: translateY(-4px); }

/* Count-up numbers hold layout steady */
.stat .num, .res-stat .num, .case-metrics .m .k { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; filter: none !important; }
  .hero-copy > *, .founder-img, .fc-tl, .fc-br { animation: none !important; }
  .btn--primary::after { display: none; }
}

/* ============================================================
   RESULTS — real dashboard proof gallery + lightbox
   ============================================================ */
.proof-grid { columns: 3 280px; column-gap: 18px; }
@media (max-width: 900px){ .proof-grid { columns: 2 240px; } }
@media (max-width: 560px){ .proof-grid { columns: 1; } }
.proof-item { break-inside: avoid; margin: 0 0 18px; }
.proof-thumb { display: block; width: 100%; padding: 0; border: 1px solid var(--line);
  background: var(--surface); border-radius: 14px; overflow: hidden; position: relative; cursor: zoom-in;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.proof-thumb img { display: block; width: 100%; height: auto; transition: transform .55s var(--ease); }
.proof-thumb:hover { transform: translateY(-4px); border-color: rgba(245,197,24,.45);
  box-shadow: 0 26px 54px -26px rgba(0,0,0,.8); }
.proof-thumb:hover img { transform: scale(1.04); }
.proof-thumb:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.proof-zoom { position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; display: grid;
  place-items: center; border-radius: 9px; background: rgba(10,10,11,.72); border: 1px solid var(--line);
  color: var(--gold); backdrop-filter: blur(6px); opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease); }
.proof-thumb:hover .proof-zoom, .proof-thumb:focus-visible .proof-zoom { opacity: 1; transform: none; }
.proof-zoom svg { width: 17px; height: 17px; }
.proof-item figcaption { margin-top: 11px; font-size: .84rem; color: var(--muted); line-height: 1.5; }
.proof-item .pf-mkt { display: inline-block; font-family: var(--mono); font-size: .58rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--gold); background: rgba(245,197,24,.08);
  border: 1px solid rgba(245,197,24,.24); border-radius: 999px; padding: 3px 9px; margin-right: 8px;
  vertical-align: middle; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 5vw;
  background: rgba(6,6,8,.88); backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transition: opacity .32s var(--ease), visibility .32s var(--ease); }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1000px, 92vw); max-height: 84vh; width: auto; height: auto; border-radius: 12px;
  border: 1px solid var(--line); box-shadow: 0 40px 120px -30px rgba(0,0,0,.9);
  transform: scale(.94); opacity: .5; transition: transform .34s var(--ease), opacity .34s var(--ease); }
.lightbox.is-open img { transform: scale(1); opacity: 1; }
.lightbox-close { position: fixed; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--text);
  cursor: pointer; transition: transform .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease); }
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-close:hover { color: var(--gold); border-color: var(--gold); transform: rotate(90deg); }
.lightbox-cap { position: fixed; bottom: 20px; left: 0; right: 0; text-align: center; padding: 0 16px;
  font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

@media (prefers-reduced-motion: reduce){
  .proof-thumb, .proof-thumb img, .proof-zoom, .lightbox, .lightbox img, .lightbox-close { transition: none; }
  .lightbox img { transform: none; }
}

/* ============================ OUR TEAM ============================ */
.team-layout {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(36px, 5vw, 64px);
  align-items: start;
}
.team-copy h2 { margin-top: 14px; }
.team-copy p { margin-top: 16px; font-size: 1.05rem; max-width: 34ch; }
.team-grid { display: flex; flex-direction: column; gap: 18px; }
.team-row { display: grid; gap: 18px; }
.team-row--lead { grid-template-columns: repeat(2, 1fr); }
.team-row--mgr  { grid-template-columns: repeat(4, 1fr); }
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245,197,24,.4);
  box-shadow: 0 24px 48px -28px rgba(0,0,0,.75), 0 0 0 1px rgba(245,197,24,.12);
}
.team-photo {
  aspect-ratio: 1 / 1.1;
  overflow: hidden;
  background: var(--surface-2);
  position: relative;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .5s var(--ease);
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-meta {
  padding: 14px 16px 16px;
  border-top: 1px solid var(--line-soft);
  transition: background .3s var(--ease);
}
.team-card:hover .team-meta { background: rgba(245,197,24,.04); }
.team-meta h3 {
  font-size: .95rem;
  font-weight: 700;
  margin: 0 0 3px;
  letter-spacing: -0.01em;
}
.team-meta span {
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Staggered entrance for team cards */
.team-row--lead .team-card:nth-child(1) { transition-delay: 0.05s; }
.team-row--lead .team-card:nth-child(2) { transition-delay: 0.12s; }
.team-row--mgr .team-card:nth-child(1)  { transition-delay: 0.18s; }
.team-row--mgr .team-card:nth-child(2)  { transition-delay: 0.24s; }
.team-row--mgr .team-card:nth-child(3)  { transition-delay: 0.30s; }
.team-row--mgr .team-card:nth-child(4)  { transition-delay: 0.36s; }

@media (max-width: 980px) {
  .team-layout { grid-template-columns: 1fr; }
  .team-copy p { max-width: none; }
  .team-row--mgr { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .team-row--lead,
  .team-row--mgr { grid-template-columns: 1fr 1fr; }
}

/* Team page — larger manager photos */
.page-team .team-row--lead {
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.page-team .team-row--lead .team-photo {
  aspect-ratio: 1 / 1.15;
}
.page-team .team-row--mgr-lg {
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.page-team .team-row--mgr-lg .team-photo {
  aspect-ratio: 4 / 5;
}
.page-team .team-meta h3 { font-size: 1.15rem; }
.page-team .team-meta { padding: 18px 20px 20px; }
@media (max-width: 720px) {
  .page-team .team-row--lead,
  .page-team .team-row--mgr-lg { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .page-team .team-row--lead,
  .page-team .team-row--mgr-lg { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-photo img,
  .team-meta { transition: none; }
  .team-card:hover { transform: none; }
  .team-card:hover .team-photo img { transform: none; }
}

/* ============================ SITE-WIDE POLISH ============================ */
/* Smoother global interactive feel */
a, button, .btn, .card, .team-card, .case-card, .quote-card, .res-card, .step, .mkt, .socials a, .nav-links a {
  transition-timing-function: cubic-bezier(.22, .61, .36, 1);
}

/* Cards — consistent premium hover */
.card, .case-card, .quote-card, .res-card {
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.card:hover, .case-card:hover, .quote-card:hover, .res-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245,197,24,.32);
  box-shadow: 0 22px 44px -26px rgba(0,0,0,.7), 0 0 0 1px rgba(245,197,24,.1);
}

/* Buttons — refined press + glow */
.btn {
  transition: transform .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn--primary:hover {
  box-shadow: 0 14px 36px -10px rgba(245,197,24,.7);
}

/* Nav links — soft underline feel */
.nav-links a {
  position: relative;
  transition: color .25s var(--ease);
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s var(--ease);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); }

/* Marketplace logos */
.mkt-logos .mkt:hover {
  color: var(--text);
  transform: translateY(-2px);
}
.mkt-logos .mkt:hover img { transform: scale(1.08); }

/* Social icons */
.socials a:hover {
  color: var(--gold);
  border-color: rgba(245,197,24,.45);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px -10px rgba(245,197,24,.35);
}

/* Section heads — slight entrance polish when revealed */
.section-head.reveal.in h2,
.section-head.reveal.in p {
  transition: opacity .6s var(--ease), transform .7s var(--ease);
}

/* Stat numbers stay crisp */
.stat .num { transition: color .3s var(--ease); }

/* Soft page scroll feel (supported browsers) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .card:hover, .case-card:hover, .quote-card:hover, .res-card:hover,
  .btn:active, .mkt-logos .mkt:hover, .socials a:hover {
    transform: none;
  }
  .nav-links a::after { display: none; }
}

/* ============================================================
   VISIBLE MOTION  —  page load, scroll, hover
   ============================================================ */
.page-hero .crumbs,
.page-hero .eyebrow,
.page-hero h1,
.page-hero p {
  animation: riseIn .85s cubic-bezier(.22, .61, .36, 1) both;
}
.page-hero .crumbs { animation-delay: .04s; }
.page-hero .eyebrow { animation-delay: .12s; }
.page-hero h1 { animation-delay: .22s; }
.page-hero p { animation-delay: .34s; }

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  filter: blur(8px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1),
              transform .9s cubic-bezier(.22, .61, .36, 1),
              filter .8s cubic-bezier(.22, .61, .36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
  filter: none;
}

.team-card .team-photo img {
  transition: transform .6s cubic-bezier(.22, .61, .36, 1);
}
.team-card:hover {
  transform: translateY(-8px);
}
.team-card:hover .team-photo img {
  transform: scale(1.07);
}

.cta-band {
  transition: transform .4s cubic-bezier(.22, .61, .36, 1), border-color .4s ease;
}

.footer-col a {
  transition: color .25s ease, padding-left .25s ease;
}
.footer-col a:hover {
  color: var(--gold);
  padding-left: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero .crumbs,
  .page-hero .eyebrow,
  .page-hero h1,
  .page-hero p,
  .hero-copy > * {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

