/* ── VARIABLES ── */
:root {
  --paper: #0D0D0D;        /* near-true black — primary background */
  --paper-2: #1A1A1A;      /* raised panel on primary black */
  --ink: #FFFFFF;          /* pure white text on black */
  --ink-soft: #9A9A9A;     /* muted gray text on black */
  --line-light: #292929;   /* hairline border on primary black */

  --charcoal: #000000;     /* true black band, for section contrast */
  --charcoal-2: #131313;   /* raised card background on true black */
  --cream: #FFFFFF;        /* white text on true black (same as ink) */
  --gray-on-dark: #808080; /* muted text on true black */
  --line-dark: #1E1E1E;    /* hairline border on true black */

  --rust: #6E6E6E;         /* the one accent color — dark gray */
  --rust-dark: #4A4A4A;    /* hover / pressed */
  --rust-rgb: 110, 110, 110; /* same accent, raw channels for rgba() glows */

  --olive: #FFFFFF;        /* secondary accent role now just white, keeping palette to black/white/gray */
  --olive-dark: #D9D9D9;   /* hover / pressed */

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 40px; }

/* ── SCROLL PROGRESS ── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: var(--rust);
  z-index: 200;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13,13,13,0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-light);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.navbar.scrolled {
  background: rgba(0,0,0,0.96);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
}
.nav-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: height 0.3s ease;
}
.navbar.scrolled .nav-inner { height: 62px; }
.nav-logo { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; letter-spacing: 0.01em; text-transform: uppercase; display: flex; align-items: center; gap: 6px; color: var(--ink); transition: letter-spacing 0.3s ease; }
.nav-logo:hover { letter-spacing: 0.05em; }
.nav-logo span { color: var(--rust); font-weight: 400; transition: color 0.3s ease; }
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-phone { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.nav-phone-label { font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-soft); }
.nav-phone-num { font-size: 0.85rem; font-weight: 600; color: var(--ink); transition: color 0.2s; }
.nav-phone:hover .nav-phone-num { color: var(--rust); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rust);
  color: var(--charcoal);
  border: 1px solid var(--rust);
  padding: 16px 32px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  font-family: var(--font-body);
  position: relative;
}
.btn:hover { background: var(--rust-dark); border-color: var(--rust-dark); transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 24px rgba(0,0,0,0.4); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink-soft);
  padding: 16px 32px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, transform 0.2s, background 0.2s;
  font-family: var(--font-body);
}
.btn-outline:hover { border-color: var(--olive); color: var(--charcoal); background: var(--olive); transform: translateY(-2px) scale(1.02); }

/* pulsing attention ring on the primary hero CTA + floating call bubble */
.hero-btns .btn, .float-call { position: relative; }
.hero-btns .btn::after, .float-call::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid var(--rust);
  pointer-events: none;
  animation: ringPulse 2.4s ease-out infinite;
}
@keyframes ringPulse {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(1.28); opacity: 0; }
}

/* ── HERO ── */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding: 160px 40px 90px;
  position: relative;
  background: var(--paper);
}
.hero-content { max-width: 1240px; margin: 0 auto; width: 100%; position: relative; will-change: transform, opacity; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 64px;
  align-items: end;
}
.hero-title { margin: 0; }
.hero-title .line { display: block; }
.hero-title .line-big {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(3.6rem, 8vw, 6.6rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.hero-title .line-thin {
  font-family: var(--font-body);
  font-weight: 300;
  font-style: italic;
  text-transform: none;
  font-size: clamp(1.8rem, 3.4vw, 2.8rem);
  letter-spacing: 0;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--rust) 0%, var(--ink) 50%, var(--rust) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both, shimmer 5s linear 1s infinite;
}
.hero-info { display: flex; flex-direction: column; padding-bottom: 8px; }
.hero-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-tag span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--rust);
  color: var(--rust);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.hero-sub {
  font-size: 1rem;
  color: var(--ink-soft);
  font-weight: 400;
  margin: 0 0 32px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── HERO LOAD-IN ── */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-tag, .hero-title .line-big, .hero-sub, .hero-btns {
  animation: heroIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-tag { animation-delay: 0.05s; }
.hero-title .line-big { animation-delay: 0.16s; }
.hero-title .line-thin { animation-delay: 0.28s, 1.2s; }
.hero-sub { animation-delay: 0.4s; }
.hero-btns { animation-delay: 0.52s; }

/* pulsing "01" badge + gradient text shimmer, reused on section accents */
@keyframes shimmer {
  0% { background-position: 0% 0; }
  100% { background-position: 220% 0; }
}
.hero-tag span { animation: tagPulse 2.6s ease-in-out infinite; }
@keyframes tagPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--rust-rgb), 0.5); }
  50% { box-shadow: 0 0 0 5px rgba(var(--rust-rgb), 0); }
}

/* ── STRIPE DIVIDER ── */
.stripe-divider {
  height: 8px;
  background: repeating-linear-gradient(45deg, var(--rust) 0 14px, var(--olive) 14px 28px);
  background-size: 40px 40px;
  animation: stripeMove 1.6s linear infinite;
}
@keyframes stripeMove {
  from { background-position: 0 0; }
  to { background-position: 40px 0; }
}

/* ── TICKER ── */
.ticker {
  overflow: hidden;
  background: var(--charcoal);
  border-bottom: 1px solid var(--line-dark);
  white-space: nowrap;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerScroll 24s linear infinite;
}
.ticker-track span {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-on-dark);
  padding: 14px 0;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── STATS ── */
.stats-bar {
  background-color: var(--charcoal);
}
.stats-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 40px 24px;
  text-align: center;
  border-right: 1px solid var(--line-dark);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.stat:last-child { border-right: none; }
.stat:hover { background-color: var(--charcoal-2); transform: translateY(-4px); }
.stat-label { font-family: var(--font-display); font-weight: 400; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--cream); position: relative; padding-top: 22px; }
.stat-label::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 28px; height: 2px; background: var(--rust); transition: width 0.3s ease; }
.stat:hover .stat-label::before { width: 44px; }

/* ── SECTION HEADERS ── */
.section-label {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  font-weight: 600;
  margin-bottom: 18px;
}
.section-label::before { content: ''; width: 28px; height: 2px; background: var(--rust); transition: width 0.5s ease 0.25s; }
.section-label.reveal:not(.visible)::before { width: 0; }
.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2.1rem, 3.8vw, 3.2rem);
  letter-spacing: 0;
  line-height: 1.05;
  margin-bottom: 20px;
}
.section-title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--rust) 0%, var(--ink) 50%, var(--rust) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
.section-sub { max-width: 560px; font-size: 0.95rem; font-weight: 400; margin-bottom: 56px; line-height: 1.7; }

/* ── HOW IT WORKS ── */
.process-section { padding: 100px 0; background: var(--paper); color: var(--ink); }
.process-section .section-sub { color: var(--ink-soft); }
.process-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.process-step { padding-top: 20px; border-top: 2px solid var(--rust); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-top-color 0.3s ease; }
.process-step:nth-child(2) { border-top-color: var(--olive); }
.process-step:hover { transform: translateY(-8px); }
.process-step h3 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.3rem; letter-spacing: 0.01em; margin-bottom: 12px; color: var(--ink); }
.process-step p { color: var(--ink-soft); font-size: 0.9rem; line-height: 1.7; font-weight: 400; }

/* ── FAQ (deepest dark section) ── */
.faq-section {
  padding: 100px 0;
  background-color: var(--charcoal);
  color: var(--cream);
}
.faq-section .section-label { color: var(--rust); }
.faq-list { max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line-dark); transition: background-color 0.3s ease, padding-left 0.3s ease; }
.faq-item:first-child { border-top: 1px solid var(--line-dark); }
.faq-item:hover { background-color: var(--paper-2); padding-left: 12px; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 24px;
  background: none;
  border: none;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  padding: 26px 0;
  cursor: pointer;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--rust); }
.faq-question span:first-child { flex: 1; }
.faq-icon {
  flex-shrink: 0;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--rust);
  transition: transform 0.3s ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-answer p {
  color: var(--gray-on-dark);
  font-size: 0.92rem;
  line-height: 1.8;
  font-weight: 400;
  padding: 0 0 26px;
  max-width: 620px;
}
.faq-item.open .faq-answer { max-height: 280px; }

/* ── BOOK / BOOKING FORM ── */
.book-section { padding: 100px 0 130px; background: var(--paper); color: var(--ink); }
.book-layout { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 72px; align-items: start; }
.book-intro { max-width: 420px; color: var(--ink-soft); font-size: 0.95rem; font-weight: 400; line-height: 1.75; margin-bottom: 32px; }
.book-perks { display: flex; flex-direction: column; gap: 16px; }
.book-perks li { list-style: none; display: flex; align-items: flex-start; gap: 12px; font-size: 0.85rem; color: var(--ink); }
.book-perks li::before { content: '—'; color: var(--rust); flex-shrink: 0; font-weight: 600; }

.book-card {
  background-color: var(--charcoal);
  color: var(--cream);
  padding: 48px;
}
.book-form { display: flex; flex-direction: column; gap: 0; }
.book-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.book-field { display: flex; flex-direction: column; }
.book-field-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-on-dark);
  margin-top: 22px;
}
.book-form input,
.book-form select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-dark);
  color: var(--cream);
  font-size: 0.92rem;
  padding: 18px 0;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}
.book-form input:focus,
.book-form select:focus { border-color: var(--rust); }
.book-form input::placeholder { color: var(--gray-on-dark); }
.book-form input[type="date"] { color-scheme: dark; }
.book-form select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5.5 7.5l4.5 4.5 4.5-4.5' stroke='%23808080' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  background-size: 16px;
}
.book-form select:invalid { color: var(--gray-on-dark); }
.book-form select option { background: var(--charcoal); color: var(--cream); }
.book-form .btn { margin-top: 32px; width: 100%; justify-content: center; }
.form-note { font-size: 0.72rem; color: var(--gray-on-dark); text-align: center; margin-top: 18px; }
.hidden-field { position: absolute; left: -9999px; top: -9999px; }

/* ── FOOTER (deepest dark) ── */
.footer {
  background-color: var(--charcoal);
  color: var(--cream);
  padding: 64px 0 40px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}
.footer-brand .footer-logo { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: 1.4rem; letter-spacing: 0.01em; margin-bottom: 16px; display: flex; align-items: center; gap: 6px; color: var(--cream); }
.footer-brand .footer-logo span { color: var(--rust); }
.footer-brand p { font-size: 0.83rem; color: var(--gray-on-dark); line-height: 1.7; max-width: 280px; }
.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 20px;
}
.footer-col a { display: inline-block; position: relative; font-size: 0.85rem; color: var(--gray-on-dark); margin-bottom: 12px; transition: color 0.2s; }
.footer-col a::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 1px; background: var(--cream); transition: width 0.3s ease; }
.footer-col a:hover { color: var(--cream); }
.footer-col a:hover::after { width: 100%; }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--gray-on-dark); }

/* ── FLOAT / BACK TO TOP ── */
.float-call {
  position: fixed;
  bottom: 32px;
  left: 32px;
  z-index: 999;
  background: var(--rust);
  color: var(--charcoal);
  padding: 13px 24px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.2s, transform 0.2s;
}
.float-call:hover { background: var(--rust-dark); transform: translateY(-3px) scale(1.04); }
.back-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line-light);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s, background 0.2s;
  z-index: 999;
}
.back-top.visible { opacity: 1; pointer-events: all; animation: popIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); }
.back-top:hover { transform: translateY(-4px) rotate(-8deg); background: var(--rust); color: var(--charcoal); }
@keyframes popIn {
  from { transform: scale(0.5) translateY(12px); opacity: 0; }
  to { transform: scale(1) translateY(0); opacity: 1; }
}

/* ── PAGE HERO (thank-you page) ── */
.page-hero { padding: 160px 40px 80px; text-align: center; background: var(--paper); }
.page-hero h1 { font-family: var(--font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(2.6rem, 5.6vw, 4.6rem); letter-spacing: 0; line-height: 1.04; margin-bottom: 20px; color: var(--ink); }
.page-hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--rust) 0%, var(--ink) 50%, var(--rust) 100%);
  background-size: 220% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}
.page-hero p { font-size: 1rem; color: var(--ink-soft); font-weight: 400; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(38px) scale(0.97);
  filter: blur(6px);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal.visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .hero-tag, .hero-title .line, .hero-sub, .hero-btns {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
  .hero-content { transform: none !important; opacity: 1 !important; }
  .hero-btns .btn::after, .float-call::after { display: none !important; }
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  .nav-inner { padding: 0 24px; height: 68px; }
  .nav-phone { display: none; }
  .hero { padding: 130px 24px 64px; min-height: auto; align-items: flex-start; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .container { padding: 0 24px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-right: 1px solid var(--line-dark); }
  .process-list { grid-template-columns: 1fr; }
  .book-layout { grid-template-columns: 1fr; gap: 48px; }
  .book-card { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .float-call { display: none; }
  .book-form-row { grid-template-columns: 1fr; }
}
