/* ==========================================================================
   PROVEN Ar-Ge Danışmanlık — glassmorphism corporate theme
   Palette drawn from the brand deck: ivory paper, ink black, brushed gold.
   ========================================================================== */

/* ── tokens ───────────────────────────────────────────────────────────── */
:root {
  /* brand */
  --gold-300: #e2c98d;
  --gold-400: #d3b06a;
  --gold-500: #c19a4f;
  --gold-600: #a9803a;
  --gold-700: #8a6529;
  --ink-900: #0d0d0f;
  --ink-800: #17181b;
  --ink-700: #202227;
  --ink-500: #3a3d45;

  /* surfaces — dark only */
  --bg: #0b0b0d;
  --bg-2: #111216;
  --surface: rgba(255, 255, 255, 0.05);
  --surface-hover: rgba(255, 255, 255, 0.085);
  --surface-strong: rgba(255, 255, 255, 0.09);
  --surface-border: rgba(255, 255, 255, 0.13);
  --surface-edge: rgba(255, 255, 255, 0.10);
  /* specular highlight that follows the pointer — kept subtle on purpose */
  --glow: rgba(255, 255, 255, 0.06);
  --glow-gold: rgba(211, 176, 106, 0.12);
  --text: #f2f1ee;
  --text-2: #b9bac1;
  --text-3: #8b8d97;
  --accent: var(--gold-400);
  --accent-soft: rgba(211, 176, 106, 0.14);
  --ok: #63c08c;
  --no: #e8836f;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 44px -20px rgba(0, 0, 0, 0.8), 0 2px 10px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 34px 70px -34px rgba(0, 0, 0, 0.85);

  /* system */
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --blur: 11px;
  --shell: 1200px;
  --header-h: 76px;

  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --dur: 220ms;
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);

  --z-header: 100;
  --z-nav: 90;

  color-scheme: dark;
}



/* ── reset ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  /* on <html> so the body's negative-z backdrop layer stays visible */
  background: var(--bg);
}
body {
  margin: 0;
  background: transparent;
  color: var(--text);
  font: 400 16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: "Sora", "Inter", sans-serif; letter-spacing: -0.03em; line-height: 1.12; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }

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

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  padding: 10px 16px; border-radius: var(--radius-sm);
  background: var(--ink-900); color: #fff;
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

.shell { width: min(100% - 40px, var(--shell)); margin-inline: auto; }

/* ── ambient backdrop ─────────────────────────────────────────────────────
   A fixed colour field behind everything. Without it the blur has nothing to
   refract and glass cards read as flat grey panels.                        */
.page-bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.page-bg span {
  position: absolute; border-radius: 50%; filter: blur(90px);
}
.pb-1 { width: 46vw; height: 46vw; top: -12vw; right: -8vw;
  background: radial-gradient(circle at 35% 35%, rgba(193,154,79,0.30), transparent 68%); }
.pb-2 { width: 40vw; height: 40vw; top: 34%; left: -14vw;
  background: radial-gradient(circle, rgba(211,176,106,0.18), transparent 68%); }
.pb-3 { width: 36vw; height: 36vw; bottom: -10vw; right: 6vw;
  background: radial-gradient(circle, rgba(120,140,190,0.14), transparent 68%); }
.page-bg .pb-grid {
  position: absolute; inset: 0; border-radius: 0; filter: none;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 55% 45%, #000 30%, transparent 85%);
  mask-image: radial-gradient(ellipse 90% 70% at 55% 45%, #000 30%, transparent 85%);
}

/* ── icons ────────────────────────────────────────────────────────────── */
.ico {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ── glass primitive ──────────────────────────────────────────────────────
   Thin blur + high transparency so the backdrop stays legible through the
   pane (frosted, not milky), a lit top-left edge, and an inset sheen that
   reads as thickness in the glass.                                        */
.glass {
  position: relative;
  isolation: isolate;
  --mx: 50%; --my: 0%;
  background:
    linear-gradient(150deg, rgba(255,255,255,0.13), rgba(255,255,255,0.02) 46%, rgba(255,255,255,0.06)),
    var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow:
    var(--shadow-md),
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(var(--blur)) saturate(180%) brightness(1.06);
  backdrop-filter: blur(var(--blur)) saturate(180%) brightness(1.06);
  transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
/* 1px gradient rim: bright where light hits, gold where it refracts */
.glass::before {
  content: "";
  position: absolute; inset: 0; z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(255,255,255,0.42), rgba(255,255,255,0) 45%, rgba(211,176,106,0.50));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events: none;
  transition: background var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
/* specular blob that tracks the pointer; JS feeds --mx/--my */
.glass::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(180px circle at var(--mx) var(--my), var(--glow), transparent 60%),
    radial-gradient(260px circle at var(--mx) var(--my), var(--glow-gold), transparent 66%);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease);
}

/* .glass-dark is kept as an alias so the markup stays stable */
.glass-dark { border-color: rgba(255, 255, 255, 0.13); }

/* ── glass hover ──────────────────────────────────────────────────────── */
@media (hover: hover) and (pointer: fine) {
  .glass-i:hover {
    background:
      linear-gradient(150deg, rgba(255,255,255,0.15), rgba(255,255,255,0.025) 46%, rgba(255,255,255,0.07)),
      var(--surface-hover);
    border-color: rgba(211, 176, 106, 0.32);
    transform: translateY(-3px);
    box-shadow:
      var(--shadow-md),
      inset 0 1px 0 rgba(255, 255, 255, 0.20);
  }
  .glass-i:hover::after { opacity: 1; }
  .glass-i:hover::before {
    background: linear-gradient(150deg, rgba(255,255,255,0.55), rgba(226,201,141,0.10) 48%, rgba(193,154,79,0.55));
  }
}
/* keyboard users get the same emphasis without the pointer glow */
.glass-i:focus-within {
  border-color: rgba(211, 176, 106, 0.32);
  box-shadow: var(--shadow-md);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--surface-strong); }
  .glass-dark { background: rgba(26, 27, 31, 0.92); }
}

/* ── buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 12px 22px;
  border: 1px solid transparent; border-radius: 999px;
  font-family: "Sora", sans-serif; font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  cursor: pointer; touch-action: manipulation;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              transform 140ms var(--ease);
}
.btn .ico { width: 18px; height: 18px; }
.btn-lg { min-height: 54px; padding: 15px 28px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #1b1408;
  box-shadow: 0 10px 26px -12px rgba(169, 128, 58, 0.85);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--gold-300), var(--gold-500)); }
.btn-primary:active { transform: scale(0.985); }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; box-shadow: none; }

.btn-ghost {
  background: var(--surface-strong);
  border-color: var(--surface-edge);
  color: var(--text);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost:active { transform: scale(0.985); }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--surface-strong);
  border: 1px solid var(--surface-edge);
  border-radius: 50%;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }

/* theme icon swap */

/* ── header ───────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  padding: 12px 0;
  transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease), padding var(--dur) var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom-color: var(--surface-edge);
  box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
}
.nav-inner { display: flex; align-items: center; gap: var(--s-4); min-height: 52px; }
.brand { display: block; flex: none; }
.brand-img { width: 168px; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav > a:not(.nav-cta) {
  padding: 10px 14px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--text-2);
  transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.nav > a:not(.nav-cta):hover { color: var(--text); background: var(--accent-soft); }
.nav > a.is-active { color: var(--accent); background: var(--accent-soft); }
.nav-cta { margin-left: var(--s-2); }

.nav-tools { display: flex; align-items: center; gap: var(--s-2); margin-left: var(--s-2); }
.nav-toggle { display: none; }
.ico-close { display: none; }

/* ── decorative background ────────────────────────────────────────────── */
.hero-bg, .dark-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* fade the blurred orbs out at the section edge so clipping never shows a seam */
.hero-bg {
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 62%, transparent 100%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; }
.orb-a { width: 520px; height: 520px; top: -160px; right: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(211,176,106,0.75), transparent 70%); }
.orb-b { width: 420px; height: 420px; bottom: -140px; left: -100px;
  background: radial-gradient(circle at 40% 40%, rgba(13,13,15,0.30), transparent 70%); opacity: 0.35; }
.orb-c { width: 300px; height: 300px; top: 40%; left: 46%;
  background: radial-gradient(circle, rgba(226,201,141,0.55), transparent 70%); opacity: 0.4; }
.orb-d { width: 560px; height: 560px; top: -200px; left: -120px;
  background: radial-gradient(circle, rgba(193,154,79,0.42), transparent 70%); }
.orb-e { width: 460px; height: 460px; bottom: -220px; right: -120px;
  background: radial-gradient(circle, rgba(226,201,141,0.28), transparent 70%); }
.orb-b { opacity: 0.5;
  background: radial-gradient(circle, rgba(211,176,106,0.25), transparent 70%); }

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--surface-edge) 1px, transparent 1px),
    linear-gradient(to bottom, var(--surface-edge) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 60% 40%, #000, transparent 75%);
  opacity: 0.7;
}

/* ── hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; padding: clamp(48px, 8vw, 104px) 0 clamp(56px, 9vw, 112px); }
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: var(--s-5);
  font-family: "Sora", sans-serif; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft);
}

.hero h1 {
  font-size: clamp(42px, 7.5vw, 84px); font-weight: 700;
  text-transform: uppercase; letter-spacing: -0.045em;
}
.grad {
  background: linear-gradient(100deg, var(--gold-500), var(--gold-300) 45%, var(--gold-400));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.lede {
  max-width: 54ch; margin-top: var(--s-5);
  font-size: clamp(17px, 1.6vw, 20px); line-height: 1.6; color: var(--text-2);
}
.lede strong { color: var(--text); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4); margin-top: var(--s-7); padding: var(--s-5);
  border-radius: var(--radius);
}
.hero-stats dt { font-size: 12.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
/* number and unit share one baseline row so the unit never drops a line */
.hero-stats dd {
  display: flex; align-items: baseline; flex-wrap: nowrap; gap: 6px;
  margin: 6px 0 0; font-size: 15px; color: var(--text-2); white-space: nowrap;
}
.hero-stats .num {
  font-family: "Sora", sans-serif; font-size: clamp(24px, 3vw, 32px); line-height: 1.1;
  font-weight: 700; color: var(--text); font-variant-numeric: tabular-nums;
}

.hero-card { padding: clamp(24px, 3vw, 34px); }
.hero-card-title { font-size: 22px; font-weight: 600; }
.hero-card-sub { margin-top: var(--s-2); color: var(--text-2); font-size: 15px; }
.hero-card-note {
  margin-top: var(--s-4); padding: var(--s-3) var(--s-4);
  border-left: 2px solid var(--accent); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--accent-soft); font-size: 14px; color: var(--text-2);
}
.hero-card .btn { margin-top: var(--s-5); }

.checklist { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-2); }
.checklist .ico { color: var(--accent); margin-top: 2px; }
.checklist-lg li { font-size: 16px; }

/* ── section frame ────────────────────────────────────────────────────── */
.section { position: relative; padding: clamp(64px, 9vw, 116px) 0; }
.section-soft { background: linear-gradient(180deg, transparent, var(--accent-soft) 45%, transparent); }

/* On an all-dark site these bands can't rely on being "the dark one" — they
   read as a separate surface via a deeper, gold-washed field and hairlines. */
.section-dark {
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(211, 176, 106, 0.07), transparent 60%),
    linear-gradient(180deg, #08080a, #101014 55%, #08080a);
  border-block: 1px solid rgba(255, 255, 255, 0.07);
  --surface: rgba(255, 255, 255, 0.06);
  --surface-border: rgba(255, 255, 255, 0.12);
}
.section-dark .shell { position: relative; }

.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.sec-head h2 {
  font-size: clamp(30px, 4.4vw, 50px); font-weight: 700; text-transform: uppercase;
}
.sec-sub { margin-top: var(--s-4); font-size: clamp(16px, 1.4vw, 18px); color: var(--text-2); max-width: 68ch; }

.note {
  display: flex; gap: 14px; align-items: flex-start;
  margin-top: clamp(28px, 4vw, 44px); padding: var(--s-4) var(--s-5);
  border-radius: var(--radius); font-size: 15px; color: var(--text-2);
}
.note .ico { color: var(--accent); margin-top: 2px; }
.note strong { color: var(--text); }

/* ── programs ─────────────────────────────────────────────────────────── */
.program-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: clamp(20px, 2.5vw, 30px); }
.program { padding: clamp(24px, 3vw, 36px); overflow: hidden; }
.program-head {
  display: flex; gap: var(--s-4); align-items: center;
  margin: calc(-1 * clamp(24px, 3vw, 36px)) calc(-1 * clamp(24px, 3vw, 36px)) var(--s-5);
  padding: clamp(20px, 2.5vw, 28px) clamp(24px, 3vw, 36px);
  background: linear-gradient(120deg, var(--ink-900), var(--ink-700));
  color: #f2f1ee;
}
.program-icon {
  display: grid; place-items: center; width: 52px; height: 52px; flex: none;
  border: 1px solid rgba(211, 176, 106, 0.45); border-radius: 14px;
  background: rgba(211, 176, 106, 0.12); color: var(--gold-300);
}
.program-icon .ico { width: 26px; height: 26px; }
.program-code {
  font-family: "Sora", sans-serif; font-size: clamp(30px, 3.6vw, 40px); font-weight: 700;
  line-height: 1; color: var(--gold-300); letter-spacing: -0.03em;
}
.program-name { margin-top: 6px; font-size: 14px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: #d9d8d4; line-height: 1.4; }
.program-tag { font-family: "Sora", sans-serif; font-size: 17px; font-weight: 600; color: var(--accent); }
.spec { margin-top: var(--s-4); display: grid; }
.spec li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 0; border-top: 1px solid var(--surface-edge);
  font-size: 15px; color: var(--text-2);
}
.spec li:first-child { border-top: 0; }
.spec .ico { color: var(--accent); margin-top: 2px; }
.spec strong { color: var(--text); font-weight: 600; }

/* ── expenses ─────────────────────────────────────────────────────────── */
.expense-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: clamp(20px, 2.5vw, 30px); align-items: start; }
.expense { padding: clamp(22px, 2.6vw, 32px); }
.expense-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: var(--s-4); margin-bottom: var(--s-2);
  border-bottom: 1px solid var(--surface-edge);
  font-size: 18px; font-weight: 600;
}
.expense-head .ico { width: 24px; height: 24px; }
.expense-head.is-yes .ico { color: var(--ok); }
.expense-head.is-no .ico { color: var(--no); }
.expense-list li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: var(--s-4) 0; border-bottom: 1px solid var(--surface-edge);
}
.expense-list li:last-child { border-bottom: 0; }
.expense-list .ico { color: var(--accent); margin-top: 3px; }
.expense-list h4 { font-family: "Inter", sans-serif; font-size: 15px; font-weight: 600; letter-spacing: -0.01em; }
.expense-list p { margin-top: 4px; font-size: 14px; line-height: 1.55; color: var(--text-3); }
.expense-foot { margin-top: var(--s-4); font-size: 13px; color: var(--text-3); }

/* ── critical findings ────────────────────────────────────────────────── */
.finding-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(16px, 2vw, 24px); }
.finding { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius); }
.finding-icon {
  display: grid; place-items: center; width: 48px; height: 48px;
  margin-bottom: var(--s-4);
  border-radius: 14px;
  background: linear-gradient(140deg, var(--ink-900), var(--ink-700));
  color: var(--gold-300);
}
.finding-icon .ico { width: 24px; height: 24px; }
.finding h3 { display: flex; align-items: baseline; gap: 10px; font-size: 17px; font-weight: 600; }
.finding-no {
  font-size: 13px; font-weight: 700; color: var(--accent);
  font-variant-numeric: tabular-nums; letter-spacing: 0.02em;
}
.finding-icon, .step-icon, .program-icon {
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
              background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .glass-i:hover .finding-icon {
    transform: scale(1.04);
    box-shadow: 0 8px 18px -12px rgba(169, 128, 58, 0.7);
  }
  .glass-i:hover .step-icon {
    transform: scale(1.04);
    background: linear-gradient(140deg, var(--gold-400), var(--gold-600));
    border-color: transparent; color: #1b1408;
  }
  .glass-i:hover .step-no { opacity: 0.3; }
  .step-no { transition: opacity var(--dur) var(--ease); }
}
.finding p { margin-top: var(--s-3); font-size: 14.5px; line-height: 1.6; color: var(--text-2); }

/* ── process ──────────────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: clamp(16px, 2vw, 24px); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius); overflow: hidden; }
.step-no {
  position: absolute; top: 14px; right: 20px;
  font-family: "Sora", sans-serif; font-size: 44px; font-weight: 700;
  color: var(--accent); opacity: 0.16; line-height: 1;
}
.step-icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  margin-bottom: var(--s-4);
  border: 1px solid rgba(193, 154, 79, 0.4); border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
}
.step h3 { font-size: 18px; font-weight: 600; }
.step p { margin-top: var(--s-3); font-size: 15px; color: var(--text-2); }

/* ── why ──────────────────────────────────────────────────────────────── */
.why { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.why h2 { font-size: clamp(28px, 3.8vw, 44px); font-weight: 700; }
.why .btn { margin-top: var(--s-6); }
.why-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 20px); }
.stat { padding: clamp(20px, 2.4vw, 28px); border-radius: var(--radius); }
.stat-num {
  font-family: "Sora", sans-serif; font-size: clamp(34px, 4.5vw, 48px); font-weight: 700;
  line-height: 1; color: var(--text); font-variant-numeric: tabular-nums;
}
.stat-unit { margin-left: 4px; font-family: "Sora", sans-serif; font-size: 18px; font-weight: 600; color: var(--accent); }
.stat p { margin-top: var(--s-3); font-size: 14px; color: var(--text-2); }

/* ── references marquee ───────────────────────────────────────────────── */
/* sits directly under the hero, so it stays a slim trust strip — a full-size
   section heading here would compete with the H1 */
.section-refs { padding-block: clamp(36px, 5vw, 60px); overflow: hidden; }
.section-refs .sec-head { margin-bottom: clamp(22px, 3vw, 34px); }
.section-refs .sec-head h2 { font-size: clamp(20px, 2.4vw, 28px); }
.section-refs .sec-sub { font-size: 15px; margin-top: var(--s-3); }
.sec-head-center { margin-inline: auto; text-align: center; }
.sec-head-center .eyebrow { justify-content: center; }
.sec-head-center .sec-sub { margin-inline: auto; }

.marquee {
  position: relative;
  padding-block: 6px;
  /* fade both ends so items enter and leave instead of popping */
}
.marquee-track {
  display: flex; width: max-content;
  animation: marquee-ltr 46s linear infinite;
  will-change: transform;
}
.marquee-row { display: flex; align-items: stretch; gap: 16px; padding-right: 16px; }

/* left → right: start shifted one copy back, slide forward to zero */
@keyframes marquee-ltr {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track { animation-play-state: paused; }

.ref-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 26px; border-radius: 999px;
  white-space: nowrap;
  font-family: "Sora", sans-serif; font-size: 15px; font-weight: 500; color: var(--text-2);
}
.ref-item .ico { width: 22px; height: 22px; color: var(--accent); }
.ref-item img { height: 30px; width: auto; object-fit: contain; }
@media (hover: hover) and (pointer: fine) {
  .ref-item:hover { color: var(--text); border-color: rgba(211, 176, 106, 0.55); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .marquee-track { animation: none; }
}

/* ── contact ──────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.contact-logo { width: min(320px, 80%); }
.ribbon {
  display: inline-block; margin-top: var(--s-6); padding: 10px 30px;
  background: linear-gradient(120deg, var(--gold-600), var(--gold-300), var(--gold-600));
  color: #1b1408;
  font-family: "Sora", sans-serif; font-size: clamp(18px, 2.4vw, 26px); font-weight: 700;
  letter-spacing: 0.12em;
  clip-path: polygon(14px 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
.contact-copy .sec-sub { margin-top: var(--s-5); }
.contact-list { display: grid; gap: var(--s-3); margin-top: var(--s-5); }
.contact-list li { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.contact-list .ico { width: 22px; height: 22px; color: var(--accent); }
.contact-list a { border-bottom: 1px solid transparent; transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease); }
.contact-list a:hover { color: var(--accent); border-bottom-color: var(--accent); }
.tagline { margin-top: var(--s-6); font-style: italic; color: var(--text-3); }

.contact-form { padding: clamp(24px, 3vw, 38px); }
.form-title { font-size: 24px; font-weight: 600; }
.form-sub { margin-top: var(--s-2); font-size: 15px; color: var(--text-2); }
.field { margin-top: var(--s-4); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--text-2); }
.req { color: var(--accent); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--surface-edge); border-radius: var(--radius-sm);
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: none; cursor: pointer; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: rgba(211, 176, 106, 0.55); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--accent); background: rgba(255, 255, 255, 0.1); outline: none;
}
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.field option { color: #14151a; }
.hint { margin-top: 6px; font-size: 13px; color: var(--text-3); }
.err { margin-top: 6px; font-size: 13px; color: var(--no); min-height: 0; }
.err:empty { display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--no); }

.contact-form .btn { margin-top: var(--s-6); }
.form-status { margin-top: var(--s-3); font-size: 14px; color: var(--accent); text-align: center; }
.form-status:empty { display: none; }
.form-legal { margin-top: var(--s-4); font-size: 12.5px; color: var(--text-3); text-align: center; }

.is-loading .btn-label::after {
  content: ""; display: inline-block; width: 14px; height: 14px; margin-left: 10px;
  vertical-align: -2px;
  border: 2px solid rgba(27, 20, 8, 0.3); border-top-color: #1b1408; border-radius: 50%;
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── footer ───────────────────────────────────────────────────────────── */
.site-footer { padding: var(--s-7) 0 var(--s-6); border-top: 1px solid var(--surface-edge); }
.footer-inner { display: grid; gap: var(--s-5); justify-items: center; text-align: center; }
.footer-brand .brand-img { width: 150px; margin-inline: auto; }
.footer-brand p { margin-top: var(--s-3); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s-2); }
.footer-nav a { padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--text-2); transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease); }
.footer-nav a:hover { color: var(--accent); background: var(--accent-soft); }
.copy { font-size: 13px; color: var(--text-3); }

/* ── reveal on scroll ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 520ms var(--ease), transform 520ms var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* ── responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner, .why, .contact { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: repeat(2, 1fr); }
  .contact-copy { text-align: center; justify-items: center; }
  .contact-logo { margin-inline: auto; }
  .contact-copy .sec-sub { margin-inline: auto; }
  .contact-list { justify-items: center; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 12px auto 12px; z-index: var(--z-nav);
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: var(--s-4);
    background: color-mix(in srgb, var(--bg) 88%, transparent);
    border: 1px solid var(--surface-edge); border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    backdrop-filter: blur(20px) saturate(160%);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a:not(.nav-cta) { padding: 14px 16px; border-radius: var(--radius-sm); }
  .nav-cta { margin: var(--s-3) 0 0; }
  .site-header.nav-open .ico-open { display: none; }
  .site-header.nav-open .ico-close { display: block; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 32px, var(--shell)); }
  .brand-img { width: 140px; }
  .hero-stats { grid-template-columns: 1fr; gap: var(--s-3); }
  .hero-stats > div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); }
  .hero-stats .num { font-size: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .ribbon { letter-spacing: 0.08em; }
  /* cheaper ambient layer on phones — large blur radii are costly to composite */
  .page-bg span { filter: blur(55px); }
  .pb-3 { display: none; }
}

/* ── motion & print ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .hero-bg, .dark-bg, .contact-form, .nav-tools { display: none; }
  body { background: #fff; color: #000; }
  .glass { box-shadow: none; border: 1px solid #ccc; background: #fff; }
}
