/* ══════════════════════════════════════════════════
   SERVIZIO MARKETING AI — style.css
   Griflan-inspired · Gold / Deep Black · Dual Theme
   ══════════════════════════════════════════════════ */

/* ── TOKENS ────────────────────────────────────── */
:root,
[data-theme="dark"] {
  --bg:           #0D0700;
  --bg-lift:      #130c01;
  --text:         #F5F3EF;
  --muted:        rgba(245,243,239,0.55);
  --faint:        rgba(245,243,239,0.22);
  --gold:         #D4B868;
  --gold-lt:      #F0DEAD;
  --gold-dk:      #A08338;
  --gold-grad:    linear-gradient(135deg, #F0DEAD 0%, #E5CA82 22%, #D4B868 50%, #A08338 78%, #8A6E2A 100%);
  --div:          rgba(245,243,239,0.07);
  --div-strong:   rgba(245,243,239,0.14);
  --ease:         cubic-bezier(0.19, 1, 0.22, 1);
  --card-bg:      rgba(245,243,239,0.035);
}

[data-theme="light"] {
  --bg:           #F5F3EF;
  --bg-lift:      #EDEAE3;
  --text:         #0D0700;
  --muted:        rgba(13,7,0,0.52);
  --faint:        rgba(13,7,0,0.22);
  --gold:         #8C6E1E;
  --gold-lt:      #B8922E;
  --gold-dk:      #6A5010;
  --gold-grad:    linear-gradient(135deg, #D4B868 0%, #C0A040 30%, #A08338 60%, #7A5E1A 100%);
  --div:          rgba(13,7,0,0.07);
  --div-strong:   rgba(13,7,0,0.14);
  --card-bg:      rgba(13,7,0,0.04);
}

/* ── RESET ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}

img, svg, canvas { display: block; max-width: 100%; }
ul, ol { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
a { text-decoration: none; color: inherit; }
h1, h2, h3, h4 { line-height: 1.18; text-wrap: balance; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ── BUTTONS ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 9999px;
  padding: 15px 32px;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}

.btn-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    165deg,
    #E5CA82 0%,
    #D4B868 28%,
    #B89030 54%,
    #C8A848 68%,
    #8A6E2A 100%
  );
  color: #0D0700;
  border: 1px solid rgba(240, 222, 173, 0.3);
  box-shadow: 0 4px 18px rgba(212,184,104,0.38);
}
/* gloss highlight strip — simulates polished metal */
.btn-gold::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,250,210,0.28) 0%,
    rgba(255,250,210,0.06) 45%,
    rgba(255,250,210,0) 100%
  );
  border-radius: inherit;
  pointer-events: none;
}
.btn-gold:hover {
  background: linear-gradient(
    165deg,
    #F0DEAD 0%,
    #E5CA82 22%,
    #D4B868 48%,
    #A08338 100%
  );
  color: #0D0700;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(212,184,104,0.55);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--div-strong);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-sm  { padding: 10px 26px; font-size: 11px; }
.btn-lg  { padding: 18px 48px; font-size: 13px; }

/* ── PRELOADER ──────────────────────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  background: #0D0700;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}

.pl-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.pl-crest {
  width: clamp(56px, 7vw, 80px);
  height: auto;
  max-height: 100px;
  opacity: 0.9;
  object-fit: contain;
  overflow: visible;
}

.pl-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pl-bar {
  width: 220px;
  height: 1px;
  background: rgba(245,243,239,0.1);
  border-radius: 2px;
  overflow: hidden;
}

.pl-fill {
  height: 100%;
  width: 0%;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.05s linear;
}

/* ── NAV ────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 30px 52px;
  transition: padding 0.5s var(--ease), background 0.5s var(--ease), border-color 0.5s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 20px 52px;
  border-bottom-color: var(--div);
}

.nav-left  { display: flex; align-items: center; gap: 36px; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }

.nav-wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: opacity 0.2s;
  text-decoration: none;
}
.nav-wordmark:hover { opacity: 0.75; }

.nav-crest-icon {
  height: 34px;
  width: auto;
  max-width: 28px;
  flex-shrink: 0;
  object-fit: contain;
  transition: opacity 0.2s;
  overflow: visible;
}

.nav-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--text);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-link {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  letter-spacing: 0.025em;
  transition: color 0.2s;
}
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--gold); }

/* Theme toggle */
.theme-toggle {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
}
.theme-toggle:hover { color: var(--gold); }

/* Icons switch based on theme */
.icon-sun { display: none; }
[data-theme="light"] .icon-sun  { display: block; }
[data-theme="light"] .icon-moon { display: none;  }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 36px;
  padding: 5px 3px;
}
.hamburger span {
  display: block;
  height: 1px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
}

/* Mobile nav overlay */
.nav-mobile {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  transform: translateX(100%);
  transition: transform 0.6s var(--ease);
}
.nav-mobile.open { transform: translateX(0); }

.nav-mobile-close {
  position: absolute;
  top: 28px; right: 28px;
  color: var(--muted);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s;
}
.nav-mobile-close:hover { color: var(--gold); }

.nm-link {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 7vw, 56px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.nm-link:hover { color: var(--gold); }
.nm-link.active { color: var(--gold); }
.nm-cta { margin-top: 8px; }

/* ── HERO ───────────────────────────────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 52px 90px;
  position: relative;
  overflow: hidden;
}

/* "Ser — vizio" intro */
.hero-intro {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 52px;
  opacity: 0;
}

.hero-intro-word {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.06em;
}

.hero-intro-line {
  height: 1px;
  background: var(--text);
  opacity: 0.3;
  width: 0;
  flex-shrink: 0;
}

/* Hero body: 2-col grid */
.hero-body {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}

/* Headline wrap — fixed height so layout doesn't jump on cycle */
.hero-hl-wrap {
  position: relative;
  margin-bottom: 40px;
  min-height: clamp(200px, 32vw, 430px);
}

.hero-hl {
  font-family: 'Playfair Display', serif;
  font-size: clamp(54px, 9.5vw, 130px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.97;
  color: var(--text);
  position: absolute;
  top: 0; left: 0; right: 0;
  opacity: 0;
  pointer-events: none;
}

/* Long version — slightly smaller so it wraps nicely */
.hero-hl--b {
  font-size: clamp(38px, 5.8vw, 78px);
  line-height: 1.05;
  font-weight: 700;
}

/* Sub-descriptor */
.hero-sub {
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 300;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 52px;
  opacity: 0;
}

.hero-sub em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}

/* CTAs */
.hero-ctas {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  opacity: 0;
}

.hero-cta-link {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--ease);
}
.hero-cta-link:hover { color: var(--gold); }
.cta-arrow { transition: transform 0.3s var(--ease); }
.hero-cta-link:hover .cta-arrow { transform: translateX(5px); }

/* Hero card */
.hero-visual { opacity: 0; }

.hero-card {
  border: 1px solid var(--div-strong);
  border-radius: 14px;
  background: var(--card-bg);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid var(--div);
}

.hc-dots { display: flex; gap: 6px; }
.hc-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--div-strong);
}
.hc-dot--gold {
  background: var(--gold);
  box-shadow: 0 0 8px rgba(212,184,104,0.45);
}

.hc-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-card-body { padding: 28px 22px 24px; }

/* SVG wave animation */
.hc-wave-svg { width: 100%; margin-bottom: 28px; }

.hc-wp { stroke-dasharray: 1000; stroke-dashoffset: 0; }
.hc-wp--1 { animation: wave1 4s ease-in-out infinite; }
.hc-wp--2 { animation: wave2 4s ease-in-out infinite 0.6s; }

@keyframes wave1 {
  0%,100% { d: path("M0,36 C40,12 80,60 120,36 C160,12 200,60 240,36 C280,12 320,36 320,36"); }
  50%      { d: path("M0,36 C40,60 80,12 120,36 C160,60 200,12 240,36 C280,60 320,36 320,36"); }
}
@keyframes wave2 {
  0%,100% { d: path("M0,48 C40,24 80,68 120,44 C160,20 200,64 240,44 C280,24 320,44 320,44"); }
  50%      { d: path("M0,48 C40,68 80,24 120,44 C160,64 200,20 240,44 C280,64 320,44 320,44"); }
}

.hc-stats {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 18px 0;
  border-top: 1px solid var(--div);
  border-bottom: 1px solid var(--div);
  margin-bottom: 20px;
}

.hc-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.hc-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hc-stat-lbl {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.hc-divider { width: 1px; height: 30px; background: var(--div); }

.hc-pulse-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hc-pulse {
  display: block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0   rgba(212,184,104,0.5); }
  70%  { box-shadow: 0 0 0 10px rgba(212,184,104,0); }
  100% { box-shadow: 0 0 0 0   rgba(212,184,104,0); }
}

.hc-pulse-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── ABOUT TEASER ───────────────────────────────── */
.about-teaser {
  padding: clamp(100px,12vw,200px) 52px;
  text-align: center;
  max-width: 1040px;
  margin: 0 auto;
  border-top: 1px solid var(--div);
}

.at-icon { margin: 0 auto 48px; width: 60px; height: 60px; }

.at-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5vw, 68px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 44px;
}

.at-ornament { margin: 0 auto 44px; display: flex; justify-content: center; }

.at-body {
  font-size: clamp(16px, 1.9vw, 21px);
  color: var(--muted);
  line-height: 1.72;
  max-width: 680px;
  margin: 0 auto 36px;
}

.at-link {
  font-family: 'Playfair Display', serif;
  font-size: clamp(15px, 1.6vw, 19px);
  color: var(--gold);
  display: inline-block;
  transition: opacity 0.2s, transform 0.3s var(--ease);
}
.at-link:hover { opacity: 0.75; transform: translateX(4px); }

/* ── ABOUT EYEBROW ─────────────────────────────── */
.at-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

/* ── SERVICES ───────────────────────────────────── */
.services {
  padding: clamp(80px,10vw,160px) 0;
  border-top: 1px solid var(--div);
}

.services-head { padding: 0 52px; margin-bottom: 64px; }

.services-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.services-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}
.services-title em { font-style: italic; font-weight: 400; }

/* Service rows */
.services-list { border-top: 1px solid var(--div); }

.service-row {
  display: grid;
  grid-template-columns: 1fr 72px;
  align-items: start;
  padding: 36px 52px;
  border-bottom: 1px solid var(--div);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  transition: background 0.5s var(--ease);
}

.sr-left {
  display: grid;
  grid-template-columns: 90px 1fr;
  align-items: flex-start;
  gap: 0;
}

.service-row::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(212,184,104,0.04), rgba(212,184,104,0.02));
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease), opacity 0.4s;
}
.service-row:hover::after { opacity: 1; transform: scaleX(1); }

.sr-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--faint);
  font-family: 'Lato', sans-serif;
}

.sr-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 6px 0;
}
.sr-content .sr-expand { margin-top: 12px; }
.service-row:not(.open) .sr-content .sr-expand { margin-top: 0; }

.sr-name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--text);
  transition: color 0.5s var(--ease);
  display: block;
}
.service-row:hover .sr-name { color: var(--gold); }

.sr-desc {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.68;
  max-width: 62ch;
  margin: 0;
}

/* Expandable content (homepage accordion) */
.sr-expand {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  min-height: 0;
  transition: grid-template-rows 0.5s var(--ease), opacity 0.4s var(--ease), margin 0.4s var(--ease);
}
.sr-expand > * { overflow: hidden; min-height: 0; }
.sr-expand-inner { display: flex; flex-direction: column; gap: 0; }
.service-row.open .sr-expand {
  grid-template-rows: 1fr;
  opacity: 1;
}

.sr-stat {
  display: block;
  margin-top: 0.85rem;
  font-family: 'Lato', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
  line-height: 1.5;
}
.sr-data-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 0.78rem;
  font-style: italic;
  color: var(--gold);
  opacity: 0.7;
  text-decoration: none;
  transition: opacity 0.2s;
}
.sr-data-link:hover { opacity: 1; }

/* Arrow rotates when open */
.service-row.open .sr-arrow {
  color: var(--gold);
  transform: rotate(90deg);
}

.sr-arrow {
  font-size: clamp(22px, 2.5vw, 36px);
  text-align: right;
  color: var(--faint);
  transition: all 0.4s var(--ease);
}
.service-row:hover .sr-arrow {
  color: var(--gold);
  transform: translateX(8px);
}

.services-cta {
  padding: 60px 52px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.services-also {
  font-size: 13px;
  color: var(--muted);
  text-align: center;
  line-height: 1.6;
}

.services-all-link {
  color: var(--gold);
  transition: opacity 0.2s;
}
.services-all-link:hover { opacity: 0.7; }

/* ── THE SYSTEM ─────────────────────────────────── */
.system {
  padding: clamp(80px,10vw,160px) 52px;
  border-top: 1px solid var(--div);
}

.system-inner { max-width: 1100px; margin: 0 auto; }

.system-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}

.system-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 72px;
}

.system-steps {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  position: relative;
}

.system-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(33.33% - 8px);
  width: calc(33.33% + 16px);
  height: 1px;
  background: var(--gold);
  opacity: 0.2;
}

.system-step { padding-right: 48px; }
.system-step:last-child { padding-right: 0; }

.ss-num {
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.ss-num::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gold);
  opacity: 0.35;
}

.ss-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(18px, 2.2vw, 26px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.25;
}

.ss-body {
  font-size: 14px;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.75;
}

.system-tagline {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--div);
  font-family: 'Libre Baskerville', serif;
  font-style: italic;
  font-size: 16px;
  color: var(--faint);
  letter-spacing: 0.01em;
}

/* ── RESULTS ────────────────────────────────────── */
.results {
  padding: clamp(80px,10vw,160px) 0;
  border-top: 1px solid var(--div);
}

.results-head { padding: 0 52px; margin-bottom: 64px; }

.results-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 7vw, 100px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text);
}
.results-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
}

.results-outer { overflow: hidden; position: relative; }

.results-track {
  display: flex;
  gap: 3px;
  padding: 0 52px 4px;
  overflow-x: auto;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  user-select: none;
}
.results-track::-webkit-scrollbar { display: none; }
.results-track.dragging { cursor: grabbing; }

.result-card {
  flex-shrink: 0;
  width: clamp(270px, 28vw, 360px);
  background: var(--card-bg);
  border: 1px solid var(--div);
  border-radius: 8px;
  padding: 48px 36px 40px;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.result-card:hover {
  border-color: var(--div-strong);
  transform: translateY(-5px);
}

.rc-num-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 20px;
}

.rc-prefix,
.rc-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(56px, 7.5vw, 100px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rc-unit {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rc-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1.55;
  max-width: 26ch;
}

.results-hint {
  padding: 18px 52px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ── FOUNDER ────────────────────────────────────── */
.founder {
  padding: clamp(80px,10vw,160px) 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  border-top: 1px solid var(--div);
}

.founder-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 32px;
}

.founder-quote {
  font-family: 'Libre Baskerville', serif;
  font-size: clamp(19px, 2.4vw, 30px);
  font-style: italic;
  font-weight: 400;
  color: var(--text);
  line-height: 1.45;
  margin-bottom: 32px;
  padding-left: 24px;
  border-left: 2px solid var(--gold);
}

.founder-body {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 40px;
  max-width: 52ch;
}

/* Right: giant number + values */
.founder-right {
  display: flex;
  flex-direction: column;
  gap: 36px;
  align-items: flex-start;
  padding-top: 8px;
}

.founder-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(110px, 18vw, 280px);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.05em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.82;
}

.founder-values {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.value-tag {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  padding: 11px 20px;
  border: 1px solid var(--div-strong);
  border-radius: 100px;
  color: var(--muted);
  transition: all 0.25s;
  line-height: 1.4;
}
.value-tag:hover { border-color: var(--gold); color: var(--gold); }

/* optional label */
.form-optional {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 10px;
  color: var(--faint);
  font-family: 'Lato', sans-serif;
}

/* ── CONTACT ────────────────────────────────────── */
.contact {
  padding: clamp(80px,10vw,160px) 52px;
  border-top: 1px solid var(--div);
}

.contact-inner { max-width: 820px; margin: 0 auto; }

.contact-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.contact-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 52px;
}

/* Steps */
.contact-steps {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.c-step { display: flex; flex-direction: column; gap: 5px; }

.c-step-num {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.c-step-text {
  font-size: 13px;
  color: var(--muted);
  max-width: 16ch;
  line-height: 1.4;
}

.c-sep {
  font-size: 18px;
  color: var(--div-strong);
  padding: 0 4px;
  margin-top: -10px;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.req { color: var(--gold); }

.form-field input,
.form-field textarea {
  background: var(--card-bg);
  border: 1px solid var(--div-strong);
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--faint); }

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  background: rgba(212,184,104,0.04);
}

.form-consent {
  margin-top: 4px;
}
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
}
.consent-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  background: var(--card-bg);
  border: 1px solid var(--div-strong);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.consent-label input[type="checkbox"]:hover {
  border-color: var(--gold);
}
.consent-label input[type="checkbox"]:checked {
  background: var(--gold);
  border-color: var(--gold);
}
.consent-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid #0D0700;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.consent-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
}
.consent-link {
  color: var(--gold);
  text-decoration: underline;
}
.consent-link:hover { opacity: 0.8; }

.form-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.form-status {
  font-size: 14px;
  color: var(--muted);
  min-height: 1.4em;
}
.form-status.success { color: #7ec95e; }
.form-status.error   { color: #d16363; }

/* ── FOOTER ─────────────────────────────────────── */
.footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(245,243,239,0.07);
  background: #0D0700;
  color: #F5F3EF;
  padding-top: 100px;
}

.footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 1;
  padding: 0 52px 52px;
}

.footer-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 64px;
  flex-wrap: wrap;
}

.footer-wordmark {
  line-height: 0.85;
  flex-shrink: 1;
  min-width: 0;
}

.footer-logo-img {
  width: clamp(260px, 40vw, 480px);
  height: auto;
  object-fit: contain;
  display: block;
  overflow: visible;
}

.footer-cols {
  display: flex;
  gap: 56px;
  padding-bottom: 6px;
  flex-shrink: 0;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fc-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #D4B868;
  margin-bottom: 2px;
}

.fc-link {
  font-size: 14px;
  color: rgba(245,243,239,0.45);
  transition: color 0.2s;
}
.fc-link:hover { color: #F5F3EF; }

.footer-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid rgba(245,243,239,0.07);
  font-size: 12px;
  color: rgba(245,243,239,0.28);
  gap: 20px;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width: 1100px) {
  .hero-body { grid-template-columns: 1fr; gap: 56px; }
  .hero-visual { order: -1; max-width: 420px; }
  .hero-hl-wrap { min-height: clamp(160px, 28vw, 380px); }
}

@media (max-width: 900px) {
  .founder { grid-template-columns: 1fr; gap: 56px; }
  .founder-num { font-size: clamp(80px, 16vw, 160px); }
}

@media (max-width: 768px) {
  /* Nav — absolute wordmark + nav-right pushed right */
  .nav {
    display: flex;
    align-items: center;
    position: relative;
    padding: 22px 24px;
  }
  .nav.scrolled { padding: 16px 24px; }
  .nav-left { display: none; }
  .nav-wordmark {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .nav-right { margin-left: auto; }
  .nav-link--desktop, .nav-cta--desktop { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 100px 24px 64px; }
  .hero-intro { margin-bottom: 32px; }
  .hero-visual { display: none; }
  .hero-hl { font-size: clamp(48px, 11vw, 80px); }
  .hero-hl--b { font-size: clamp(30px, 7vw, 54px); }
  .hero-hl-wrap { min-height: clamp(150px, 38vw, 320px); }

  /* Sections */
  .about-teaser { padding: 80px 24px; }
  .services-head, .services-cta { padding-left: 24px; padding-right: 24px; }
  .service-row { padding: 22px 24px; }
  .sr-left { grid-template-columns: 48px 1fr; }
  .sr-name { font-size: clamp(18px, 5vw, 32px); }
  .sr-desc { opacity: 1; }
  .system { padding: 80px 24px; }
  .system-steps { grid-template-columns: 1fr; gap: 48px; }
  .system-steps::before { display: none; }
  .system-step { padding-right: 0; }

  .results-head { padding: 0 24px; }
  .results-track { padding: 0 24px 4px; }
  .results-hint { padding-left: 24px; }

  .founder { padding: 80px 24px; }

  .contact { padding: 80px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-steps { gap: 14px; }

  .footer-inner { padding: 0 24px 40px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 36px; }
  .footer-logo-img { width: clamp(200px, 60vw, 320px); }
  .footer-cols { gap: 32px; flex-wrap: wrap; }
  .footer-bar { font-size: 11px; }
}

/* ── Safari safe area (bottom bar) ─────────────── */
.footer-bar {
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (max-width: 480px) {
  .hero-ctas { gap: 18px; }
  .c-sep { display: none; }
  .contact-steps { flex-direction: column; align-items: flex-start; gap: 24px; }
  .result-card { width: 260px; padding: 36px 24px; }
}
