/* ──────────────────────────────────────────────────────────────
   MADOX — Premium agency site
   Palette: black / off-white / champagne gold
   ────────────────────────────────────────────────────────────── */

:root {
  --bg: #0a0a0a;
  --bg-2: #0f0f0f;
  --surface: #141414;
  --surface-2: #1a1916;
  --line: rgba(232, 200, 114, 0.14);
  --line-strong: rgba(232, 200, 114, 0.35);
  --text: #f2ede4;
  --muted: #8a8578;
  --muted-2: #5d5a52;
  --gold: #c9a24a;
  --gold-2: #e8c872;
  --gold-3: #f5e2a8;
  --gold-grad: linear-gradient(120deg, #b8903a 0%, #e8c872 45%, #f5e2a8 55%, #c9a24a 100%);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Manrope", "Inter", system-ui, -apple-system, sans-serif;
  --script: "Kaushan Script", cursive;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-2: cubic-bezier(0.77, 0, 0.175, 1);
  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--gold); color: #0a0a0a; }

.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { padding-block: clamp(88px, 12vw, 160px); position: relative; }

/* ── Typography ───────────────────────────────────────────── */
.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--text);
}
.h2 em, .hero__title em {
  font-style: italic;
  font-weight: 400;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-right: 0.06em;
}
.label {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.label::before { content: ""; width: 28px; height: 1px; background: var(--gold); opacity: 0.7; }
.lead { color: var(--muted); font-size: clamp(16px, 1.3vw, 19px); max-width: 56ch; margin-top: 22px; }
.fineprint { color: var(--muted-2); font-size: 12.5px; margin-top: 28px; max-width: 60ch; }
.section__head { margin-bottom: clamp(48px, 6vw, 80px); max-width: 860px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.section__head--center .label { justify-content: center; }
.section__head--center .label::before { display: none; }

.wordmark {
  font-family: var(--script);
  font-size: 30px;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1;
  transform: rotate(-6deg);
  display: inline-block;
}

/* ── Split-text / reveal primitives ─────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(28px); }
[data-reveal].is-in { opacity: 1; transform: none; transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reduced [data-reveal] { opacity: 1; transform: none; }

.split .word-wrap { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split .word { display: inline-block; transform: translateY(110%); }
.split em { background: none; color: inherit; -webkit-background-clip: border-box; background-clip: border-box; padding-right: 0; }
.split em .word { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: 0.06em; }
/* Safari fallback: if background-clip:text is unsupported, fall back to solid gold */
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .h2 em, .hero__title em, .split em .word, .stat__num, .est__num { background: none; color: var(--gold-2); }
}
.split .nowrap { white-space: nowrap; display: inline; }
.split.is-done .word { transform: none !important; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.45s var(--ease), transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  white-space: nowrap;
}
.btn span { position: relative; z-index: 2; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  transform: translateY(101%);
  transition: transform 0.6s var(--ease-2);
}
.btn:hover::before { transform: translateY(0); }
.btn--gold { color: #0a0a0a; background: var(--gold-grad); box-shadow: 0 10px 40px -14px rgba(232, 200, 114, 0.55); }
.btn--gold::before { background: #f2ede4; }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 18px 48px -14px rgba(232, 200, 114, 0.7); }
.btn--ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(255,255,255,0.02); backdrop-filter: blur(6px); }
.btn--ghost::before { background: var(--gold-grad); }
.btn--ghost:hover { color: #0a0a0a; border-color: transparent; }
.btn--sm { padding: 12px 22px; font-size: 12px; }
.btn--lg { padding: 20px 40px; font-size: 14px; }

/* ── Grain & cursor glow ─────────────────────────────────── */
.grain {
  position: fixed; inset: -50%; z-index: 1000; pointer-events: none; opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite;
  mix-blend-mode: overlay;
}
@keyframes grain {
  0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) }
  60% { transform: translate(-2%,-2%) } 80% { transform: translate(3%,3%) }
}
.cursor-glow {
  position: fixed; left: 0; top: 0; width: 520px; height: 520px; z-index: 0; pointer-events: none;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 200, 114, 0.09) 0%, rgba(232,200,114,0) 60%);
  transform: translate(-50%, -50%);
  opacity: 0; transition: opacity 0.6s;
}
@media (hover:hover) { .cursor-glow { opacity: 1; } }

/* ── Preloader ───────────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 2000; background: #070707;
  display: grid; place-items: center;
  transition: clip-path 1.1s var(--ease-2);
  clip-path: inset(0 0 0 0);
}
.preloader.is-done { clip-path: inset(0 0 100% 0); pointer-events: none; }
.preloader__inner { text-align: center; }
.preloader__logo img { height: 96px; width: auto; margin-inline: auto; opacity: 0; animation: fadeUp 1s var(--ease) 0.2s forwards; }
.preloader__logo .wordmark { font-size: 54px; opacity: 0; animation: fadeUp 1s var(--ease) 0.2s forwards; }
.preloader__line { width: 180px; height: 1px; background: rgba(255,255,255,0.08); margin: 28px auto 18px; overflow: hidden; }
.preloader__line span { display: block; width: 100%; height: 100%; background: var(--gold-grad); transform: translateX(-100%); animation: sweep 1.3s var(--ease-2) 0.4s forwards; }
.preloader__tag { font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); opacity: 0; animation: fadeUp 1s var(--ease) 0.7s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
@keyframes sweep { to { transform: translateX(0) } }

/* ── Nav ─────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  padding-block: 22px;
  transition: padding 0.5s var(--ease), background 0.5s, border-color 0.5s, transform 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { padding-block: 10px; background: rgba(10,10,10,0.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: rgba(255,255,255,0.05); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__logo img { height: 60px; width: auto; transition: height 0.5s var(--ease); }
.nav.is-scrolled .nav__logo img { height: 48px; }
.nav__logo .wordmark { font-size: 30px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a { font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); position: relative; transition: color 0.3s; font-weight: 500; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 100%; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform 0.5s var(--ease); }
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__right { display: flex; align-items: center; gap: 16px; }
.nav__burger { display: none; width: 44px; height: 44px; position: relative; }
.nav__burger span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--text); transition: transform 0.45s var(--ease), top 0.45s var(--ease); }
.nav__burger span:first-child { top: 17px; } .nav__burger span:last-child { top: 26px; }
.nav__burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 850; background: #070707;
  clip-path: circle(0% at calc(100% - 48px) 44px);
  transition: clip-path 0.9s var(--ease-2);
  display: grid; place-items: center;
}
.menu.is-open { clip-path: circle(150% at calc(100% - 48px) 44px); }
.menu__inner { display: flex; flex-direction: column; gap: 8px; width: min(90vw, 520px); }
.menu__link { font-family: var(--serif); font-size: clamp(34px, 8vw, 56px); line-height: 1.1; display: flex; align-items: baseline; gap: 20px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.05); opacity: 0; transform: translateY(20px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), color 0.3s; }
.menu__link em { font-family: var(--sans); font-style: normal; font-size: 11px; letter-spacing: 0.3em; color: var(--gold); }
.menu__link:hover { color: var(--gold-2); }
.menu__link--cta { color: var(--gold-2); }
.menu.is-open .menu__link { opacity: 1; transform: none; }
.menu.is-open .menu__link:nth-child(1){transition-delay:.25s}.menu.is-open .menu__link:nth-child(2){transition-delay:.3s}.menu.is-open .menu__link:nth-child(3){transition-delay:.35s}.menu.is-open .menu__link:nth-child(4){transition-delay:.4s}.menu.is-open .menu__link:nth-child(5){transition-delay:.45s}.menu.is-open .menu__link:nth-child(6){transition-delay:.5s}.menu.is-open .menu__link:nth-child(7){transition-delay:.55s}.menu.is-open .menu__link:nth-child(8){transition-delay:.6s}
.menu__foot { margin-top: 30px; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: 0.1em; color: var(--muted); }

/* ── Hero ────────────────────────────────────────────────── */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: 120px; padding-bottom: 80px; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__bg img { width: 100%; height: 115%; object-fit: cover; object-position: 55% 50%; opacity: 0; transform: scale(1.12); animation: heroImg 2.6s var(--ease) 0.9s forwards; }
@keyframes heroImg { to { opacity: 0.78; transform: scale(1.02) } }
.hero__veil { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(10,10,10,0.96) 0%, rgba(10,10,10,0.82) 38%, rgba(10,10,10,0.35) 70%, rgba(10,10,10,0.55) 100%),
  linear-gradient(0deg, var(--bg) 0%, rgba(10,10,10,0) 30%, rgba(10,10,10,0) 75%, rgba(10,10,10,0.6) 100%); }
.hero__glow { position: absolute; z-index: 0; width: 60vw; height: 60vw; left: -20vw; top: 10%; border-radius: 50%; background: radial-gradient(circle, rgba(232,200,114,0.10), transparent 60%); filter: blur(20px); pointer-events: none; }
.hero__inner { position: relative; z-index: 2; }
.hero__content { max-width: 760px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-2); background: rgba(232,200,114,0.04); margin-bottom: 34px; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-2); box-shadow: 0 0 0 0 rgba(232,200,114,0.6); animation: pulse 2.2s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(232,200,114,.6)} 70%{box-shadow:0 0 0 10px rgba(232,200,114,0)} 100%{box-shadow:0 0 0 0 rgba(232,200,114,0)} }
.hero__title { font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 8.2vw, 118px); line-height: 0.98; letter-spacing: -0.02em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.hero__title .line > span { display: block; transform: translateY(110%); }
.hero__sub { margin-top: 32px; max-width: 52ch; color: var(--muted); font-size: clamp(16px, 1.35vw, 19px); }
.hero__cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero__badge { position: relative; width: 124px; aspect-ratio: 1; margin-left: 22px; flex: none; }
.hero__badge img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 30px 60px rgba(0,0,0,0.7)) drop-shadow(0 0 40px rgba(232,200,114,0.12)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0) rotate(-2deg)} 50%{transform:translateY(-16px) rotate(2deg)} }
.hero__badge-ring { position: absolute; inset: -14%; border-radius: 50%; border: 1px dashed rgba(232,200,114,0.25); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg) } }
.hero__scroll { position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--muted); }
.hero__scroll i { width: 1px; height: 54px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%; background: var(--gold-3); animation: drip 2s var(--ease) infinite; }
@keyframes drip { to { top: 100% } }

/* ── Stats ───────────────────────────────────────────────── */
.stats { position: relative; padding-top: 40px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: 44px 28px; border-left: 1px solid var(--line); text-align: left; }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; font-weight: 300; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-flex; align-items: baseline; }
.stat__num small { font-size: 0.45em; }
.stat__label { margin-top: 12px; font-size: 11.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); }
.marquee { overflow: hidden; margin-top: 0; padding: 26px 0; border-bottom: 1px solid var(--line); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 40px; width: max-content; animation: marquee 34s linear infinite; font-family: var(--serif); font-size: clamp(22px, 2.6vw, 34px); font-style: italic; color: transparent; -webkit-text-stroke: 1px rgba(232,200,114,0.55); white-space: nowrap; }
.marquee__track i { font-style: normal; -webkit-text-stroke: 0; color: var(--gold); font-size: 0.6em; align-self: center; }
@keyframes marquee { to { transform: translateX(-50%) } }

/* ── About ───────────────────────────────────────────────── */
.about__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.manifesto { font-family: var(--serif); font-size: clamp(26px, 3vw, 42px); line-height: 1.28; font-weight: 300; }
.manifesto .w { color: rgba(242,237,228,0.16); transition: color 0.1s linear; }
.manifesto .w.is-lit { color: var(--text); }
.about__meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.about__meta strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--gold-2); }
.about__meta span { font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.about__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; }
.about__media img { width: 100%; height: 120%; object-fit: cover; }
.about__media::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--line-strong); pointer-events: none; background: linear-gradient(0deg, rgba(10,10,10,0.8), transparent 40%); }
.about__media figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 2; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; font-style: italic; }

/* ── Services ────────────────────────────────────────────── */
.services { background: var(--bg-2); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  position: relative; padding: 40px 32px 36px; border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.025), rgba(255,255,255,0.008));
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden; transition: transform 0.6s var(--ease), border-color 0.6s;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(232,200,114,0.13), transparent 45%); opacity: 0; transition: opacity 0.5s; }
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card__num { font-family: var(--serif); font-style: italic; font-size: 14px; letter-spacing: 0.2em; color: var(--gold); display: block; margin-bottom: 36px; }
.card h3 { font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.15; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; }

/* ── Process (pinned) ────────────────────────────────────── */
.process { position: relative; height: 400vh; background: var(--bg); }
.process__pin { position: sticky; top: 0; height: 100vh; display: flex; align-items: center; overflow: hidden; }
.process__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 120px); align-items: center; }
.process__progress { width: 100%; height: 1px; background: rgba(255,255,255,0.08); margin-top: 48px; position: relative; }
.process__progress span { position: absolute; left: 0; top: 0; height: 100%; width: 0%; background: var(--gold-grad); }
.process__index { margin-top: 14px; font-family: var(--serif); font-size: 15px; letter-spacing: 0.2em; color: var(--muted); }
.process__index span { color: var(--gold-2); }
.process__right { position: relative; min-height: 320px; }
.step { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: translateY(40px); pointer-events: none; transition: opacity 0.7s var(--ease), transform 0.8s var(--ease); }
.step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.step.is-past { opacity: 0; transform: translateY(-40px); }
.step__num { font-family: var(--serif); font-size: clamp(90px, 12vw, 170px); line-height: 0.9; font-weight: 300; color: transparent; -webkit-text-stroke: 1px rgba(232,200,114,0.5); margin-bottom: 20px; }
.step h3 { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); font-weight: 400; margin-bottom: 16px; }
.step p { color: var(--muted); font-size: 17px; max-width: 46ch; }

/* ── Results ─────────────────────────────────────────────── */
.results { background: var(--bg-2); overflow: hidden; }
.results__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.22; }
.results__bg img { width: 100%; height: 120%; object-fit: cover; }
.results__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg-2) 0%, rgba(15,15,15,0.6) 50%, var(--bg-2) 100%); }
.results .container { position: relative; z-index: 1; }
.results__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.result { padding: 32px 30px; border-radius: var(--radius); background: rgba(14,14,14,0.7); border: 1px solid rgba(255,255,255,0.07); backdrop-filter: blur(10px); }
.result header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 30px; }
.result__tag { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.result__mult { font-family: var(--serif); font-size: 34px; color: var(--gold-2); }
.bar { display: grid; grid-template-columns: 64px 1fr auto; align-items: center; gap: 14px; margin-bottom: 16px; }
.bar__label { font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted-2); }
.bar__track { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.06); overflow: hidden; }
.bar__track i { display: block; height: 100%; width: 0; background: var(--gold-grad); border-radius: 3px; }
.bar__val { font-family: var(--serif); font-size: 20px; color: var(--text); min-width: 84px; text-align: right; }

/* ── Estimator ───────────────────────────────────────────── */
.estimator { overflow: hidden; }
.estimator__bg { position: absolute; inset: 0; z-index: 0; opacity: 0.16; }
.estimator__bg img { width: 100%; height: 120%; object-fit: cover; }
.estimator__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--bg) 0%, rgba(10,10,10,0.55) 50%, var(--bg) 100%); }
.estimator .container { position: relative; z-index: 1; }
.est { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 0; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); }
.est__controls { padding: clamp(28px, 4vw, 56px); border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 38px; }
.est__field label { display: flex; justify-content: space-between; align-items: baseline; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.est__field label output { font-family: var(--serif); font-size: 24px; letter-spacing: 0; text-transform: none; color: var(--gold-2); }
.est__field small { display: block; margin-top: 10px; color: var(--muted-2); font-size: 12px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px; gap: 4px; }
.seg button { padding: 12px; border-radius: 999px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); transition: background 0.4s, color 0.4s; font-weight: 600; }
.seg button.is-on { background: var(--gold-grad); color: #0a0a0a; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 2px; background: linear-gradient(90deg, var(--gold-2) var(--p, 0%), rgba(255,255,255,0.1) var(--p, 0%)); border-radius: 2px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #0a0a0a; border: 2px solid var(--gold-2); box-shadow: 0 0 0 6px rgba(232,200,114,0.12); cursor: grab; transition: box-shadow 0.3s; }
input[type=range]::-webkit-slider-thumb:hover { box-shadow: 0 0 0 10px rgba(232,200,114,0.18); }
input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #0a0a0a; border: 2px solid var(--gold-2); cursor: grab; }
.range__scale { display: flex; justify-content: space-between; margin-top: 10px; font-size: 11px; color: var(--muted-2); letter-spacing: 0.08em; }
.est__result { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 22px; background: radial-gradient(600px circle at 80% 20%, rgba(232,200,114,0.08), transparent 50%); }
.est__label { font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); }
.est__num { font-family: var(--serif); font-size: clamp(58px, 6.5vw, 96px); line-height: 1; font-weight: 300; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; letter-spacing: -0.02em; }
.est__compare { display: flex; align-items: center; gap: 22px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); width: 100%; }
.est__compare > div { display: flex; flex-direction: column; gap: 4px; }
.est__compare span { font-size: 10.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-2); }
.est__compare b { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.est__compare b i { font-style: normal; }
.est__compare .gold { color: var(--gold-2); }
.est__vs { font-family: var(--serif); font-style: italic; color: var(--muted-2); }

/* ── Testimonials ────────────────────────────────────────── */
.testimonials { background: var(--bg-2); }
.tsl { position: relative; padding: clamp(40px, 5vw, 72px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); overflow: hidden; }
.tsl__quote-mark { position: absolute; top: -40px; left: 24px; font-family: var(--serif); font-size: 260px; line-height: 1; color: rgba(232,200,114,0.08); pointer-events: none; }
.tsl__track { position: relative; min-height: 260px; }
.tsl__item { position: absolute; inset: 0; opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); pointer-events: none; }
.tsl__item.is-active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.tsl__item blockquote { font-family: var(--serif); font-size: clamp(24px, 2.6vw, 36px); line-height: 1.35; font-weight: 300; max-width: 26em; }
.tsl__item figcaption { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.tsl__avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-family: var(--serif); font-size: 22px; color: #0a0a0a; background: var(--gold-grad); flex: none; }
.tsl__item figcaption strong { display: block; font-weight: 600; font-size: 15px; }
.tsl__item figcaption span:not(.tsl__avatar) { font-size: 12px; letter-spacing: 0.06em; color: var(--muted); }
.tsl__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.tsl__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; font-size: 18px; color: var(--gold-2); transition: background 0.4s, color 0.4s; }
.tsl__btn:hover { background: var(--gold-2); color: #0a0a0a; }
.tsl__dots { display: flex; gap: 8px; }
.tsl__dots button { width: 28px; height: 2px; background: rgba(255,255,255,0.12); transition: background 0.4s, width 0.4s; border-radius: 2px; }
.tsl__dots button.is-on { background: var(--gold-2); width: 44px; }

/* ── Award band ──────────────────────────────────────────── */
.award { position: relative; padding-block: clamp(100px, 14vw, 180px); overflow: hidden; }
.award__bg { position: absolute; inset: 0; z-index: 0; }
.award__bg img { width: 100%; height: 120%; object-fit: cover; opacity: 0.45; }
.award__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,10,10,0.95), rgba(10,10,10,0.75) 50%, rgba(10,10,10,0.5)), linear-gradient(0deg, var(--bg), transparent 25%, transparent 75%, var(--bg)); }
.award__inner { position: relative; z-index: 1; display: grid; grid-template-columns: auto 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.award__badge { width: clamp(220px, 26vw, 360px); }
.award__badge img { width: 100%; filter: drop-shadow(0 40px 80px rgba(0,0,0,0.8)) drop-shadow(0 0 60px rgba(232,200,114,0.18)); }
.award__text .lead { max-width: 48ch; }

/* ── Compare ─────────────────────────────────────────────── */
.cmp { max-width: 920px; margin-inline: auto; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.cmp__head, .cmp__row { display: grid; grid-template-columns: 1.1fr 1fr 1fr; }
.cmp__head { background: rgba(255,255,255,0.02); border-bottom: 1px solid var(--line); }
.cmp__col { padding: 20px 24px; font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--muted); }
.cmp__col--madox { color: #0a0a0a; background: var(--gold-grad); font-weight: 700; }
.cmp__row { border-bottom: 1px solid rgba(255,255,255,0.05); }
.cmp__row:last-child { border-bottom: 0; }
.cmp__row > div { padding: 20px 24px; font-size: 15px; }
.cmp__row > div:first-child { color: var(--muted); font-size: 13px; letter-spacing: 0.06em; }
.cmp__row .yes { color: var(--text); position: relative; padding-left: 44px; }
.cmp__row .yes::before { content: "✦"; position: absolute; left: 22px; color: var(--gold-2); font-size: 11px; }
.cmp__row .no { color: var(--muted-2); }

/* ── FAQ ─────────────────────────────────────────────────── */
.faq { background: var(--bg-2); }
.faq__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.faq__left { position: sticky; top: 120px; }
.faq__left .btn { margin-top: 28px; }
.acc { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px 0; font-family: var(--serif); font-size: clamp(20px, 1.8vw, 25px); font-weight: 400; transition: color 0.3s; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: ""; flex: none; width: 18px; height: 18px; position: relative; transition: transform 0.6s var(--ease); margin-right: 4px;
  background:
    linear-gradient(var(--gold-2), var(--gold-2)) center / 100% 1px no-repeat,
    linear-gradient(var(--gold-2), var(--gold-2)) center / 1px 100% no-repeat; }
.acc summary:hover::after { transform: rotate(90deg); }
.acc[open] summary { color: var(--gold-2); }
.acc[open] summary::after { transform: rotate(135deg); }
.acc__body { overflow: hidden; }
.acc__body p { color: var(--muted); padding: 0 0 26px; max-width: 60ch; font-size: 15.5px; }

/* ── Apply ───────────────────────────────────────────────── */
.apply__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.apply__intro { position: sticky; top: 120px; }
.apply__points { list-style: none; margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.apply__points li { padding-left: 26px; position: relative; color: var(--muted); font-size: 14.5px; }
.apply__points li::before { content: "✦"; position: absolute; left: 0; color: var(--gold); font-size: 11px; top: 4px; }
.form { padding: clamp(28px, 3.5vw, 48px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0)); display: flex; flex-direction: column; gap: 22px; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field label { font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.field label span { text-transform: none; letter-spacing: 0; color: var(--muted-2); }
.field input, .field select, .field textarea {
  width: 100%; background: rgba(255,255,255,0.025); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
  padding: 15px 16px; color: var(--text); font: inherit; font-size: 15px; outline: none;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a24a' fill='none' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field select option { background: #141414; color: var(--text); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); background: rgba(232,200,114,0.03); box-shadow: 0 0 0 4px rgba(232,200,114,0.08); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #b4553f; }
.field__err { font-size: 12.5px; color: #d67a63; min-height: 0; }
.drop { position: relative; border: 1px dashed var(--line-strong); border-radius: 14px; padding: 22px; min-height: 150px; cursor: pointer; transition: border-color 0.3s, background 0.3s; background: rgba(255,255,255,0.015); display: flex; flex-direction: column; gap: 18px; }
.drop:hover, .drop.is-over { border-color: var(--gold-2); background: rgba(232,200,114,0.04); }
.drop__empty { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; text-align: center; padding: 10px 0; }
.drop__empty svg { color: var(--gold); }
.drop__empty u { color: var(--gold-2); text-decoration: none; border-bottom: 1px solid var(--gold-2); }
.drop__empty small { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted-2); }
.drop__empty b { color: var(--gold-2); }
.drop__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.drop__grid:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border-radius: 50%; background: rgba(10,10,10,0.85); color: var(--text); font-size: 14px; line-height: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.15); }
.check { display: flex; gap: 14px; align-items: flex-start; cursor: pointer; }
.check input { position: absolute; opacity: 0; pointer-events: none; }
.check span { flex: none; width: 22px; height: 22px; border-radius: 6px; border: 1px solid var(--line-strong); margin-top: 2px; position: relative; transition: background 0.3s, border-color 0.3s; }
.check span::after { content: ""; position: absolute; left: 7px; top: 3px; width: 5px; height: 10px; border: solid #0a0a0a; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.3s var(--ease); }
.check input:checked + span { background: var(--gold-grad); border-color: transparent; }
.check input:checked + span::after { transform: rotate(45deg) scale(1); }
.check.is-invalid span { border-color: #b4553f; }
.check p { font-size: 13.5px; color: var(--muted); }
.check p a { color: var(--gold-2); border-bottom: 1px solid rgba(232,200,114,0.35); }
.form__foot { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
.form__foot .btn { align-self: flex-start; }
.form__status { font-size: 14px; color: var(--muted); min-height: 1em; }
.form__status.ok { color: var(--gold-2); }
.form__status.err { color: #d67a63; }
.btn.is-busy { pointer-events: none; opacity: 0.7; }
.form.is-sent > *:not(.form__foot) { display: none; }
.form.is-sent .form__foot { align-items: center; text-align: center; padding: 40px 0; }
.form.is-sent .form__foot .btn { display: none; }
.form.is-sent .form__status { font-family: var(--serif); font-size: 26px; color: var(--text); }

/* ── Footer ──────────────────────────────────────────────── */
.footer { border-top: 1px solid var(--line); padding-top: 80px; background: #070707; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 60px; }
.footer__logo img { height: 56px; }
.footer__brand p { margin-top: 22px; color: var(--muted); font-size: 14px; max-width: 38ch; }
.footer__award { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.footer__award img { width: 64px; }
.footer__award span { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); line-height: 1.6; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col h4 { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--text); margin-bottom: 8px; font-weight: 600; }
.footer__col a, .footer__col span { font-size: 14px; color: var(--muted); transition: color 0.3s; }
.footer__col a:hover { color: var(--gold-2); }
.footer__col span { font-size: 12px; line-height: 1.6; }
.footer__bottom { display: flex; justify-content: space-between; padding: 24px 0 32px; border-top: 1px solid rgba(255,255,255,0.05); font-size: 12px; color: var(--muted-2); letter-spacing: 0.08em; }

.fab { position: fixed; right: 24px; bottom: 24px; z-index: 800; width: 54px; height: 54px; border-radius: 50%; background: var(--gold-grad); color: #0a0a0a; display: grid; place-items: center; box-shadow: 0 16px 40px -10px rgba(232,200,114,0.6); transition: transform 0.4s var(--ease); }
.fab:hover { transform: translateY(-3px) scale(1.04); }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services__grid, .results__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__logo img { height: 54px; margin-left: 8px; }
  .nav.is-scrolled .nav__logo img { height: 46px; }
  .nav { padding-block: 12px; }
  .nav__right .btn { display: none; }
  .hero__badge { position: absolute; right: 0; top: 0; width: 92px; margin: 0; }
  .hero__badge-ring { display: none; }
  .hero__content { position: relative; padding-top: 10px; }
  .hero__bg img { object-position: 62% 50%; }
  .hero__title { padding-right: 0; }
  .pill { max-width: calc(100% - 110px); }
  .hero { padding-top: 130px; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 30px 20px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .about__grid, .process__inner, .est, .faq__grid, .apply__grid, .award__inner { grid-template-columns: 1fr; }
  .about__media { order: -1; aspect-ratio: 16/10; }
  .about__meta { grid-template-columns: 1fr; gap: 18px; }
  .process { height: 320vh; }
  .process__right { min-height: 300px; }
  .est__controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .faq__left, .apply__intro { position: static; }
  .cmp__head, .cmp__row { grid-template-columns: 0.8fr 1fr 1fr; }
  .cmp__row > div { padding: 14px 14px; font-size: 13px; }
  .cmp__row .yes { padding-left: 30px; } .cmp__row .yes::before { left: 12px; }
  .cmp__col { padding: 14px; letter-spacing: 0.16em; }
}
@media (max-width: 640px) {
  .services__grid, .results__grid, .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__title { font-size: clamp(44px, 13vw, 64px); }
  .hero__cta { gap: 12px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__scroll { display: none; }
  .fab { width: 48px; height: 48px; right: 18px; bottom: 18px; }
  .drop__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom { flex-direction: column; gap: 8px; }
  .est__compare { flex-wrap: wrap; }
  .tsl__nav { flex-wrap: wrap; gap: 14px; }
  .menu { clip-path: circle(0% at calc(100% - 36px) 40px); }
  .menu.is-open { clip-path: circle(160% at calc(100% - 36px) 40px); }
}

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero__bg img { opacity: 0.78; transform: none; }
  .hero__title .line > span, .split .word { transform: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .manifesto .w { color: var(--text); }
  .process { height: auto; }
  .process__pin { position: static; height: auto; }
  .process__right { min-height: 0; display: grid; gap: 40px; }
  .step { position: static; opacity: 1; transform: none; }
}
