/* ----------------------------------------------------------------
   DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  --bg:           #08080D;
  --surface:      #0F0F17;
  --border:       rgba(57, 46, 104, 0.45);   /* subtle outlines, cards, sections  */
  --border-solid: #392E68;                   /* dividers that must always be seen  */
  --gold:         #F3E180;
  --text:         #F0EFEE;   /* primary body text  — near-white, high contrast */
  --text-sub:     #A8A8B8;   /* secondary labels, stat descriptions            */
  --text-muted:   #5C5C70;   /* footer copy, tertiary                          */

  --font-display: 'Lora', Georgia, serif;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  --r-sm:  5px;
  --r-md:  10px;
  --r-lg:  18px;

  --nav-h: 66px;
  --max-w: 1140px;  /* slightly wider for hero breathing room */
}


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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--gold);
  line-height: 1.16;
}

[id] { scroll-margin-top: calc(var(--nav-h) + 24px); }


/* ----------------------------------------------------------------
   NAVIGATION
   The .nav bar bleeds full-width (needed for the backdrop blur).
   .nav__inner is a max-width container that aligns the brand and
   links to the same margins as the footer and section content.
   ---------------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  padding: 0;
  background: rgba(8, 8, 13, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

/* Inner wrapper: constrains content to site max-width + same side padding as footer */
.nav__inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 44px;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav__brand img {
  height: 26px;
  width: auto;
  flex-shrink: 0;
}

.nav__links {
  display: flex;
  gap: 2px;
  margin-left: auto;
  list-style: none;
  align-items: center;
}

.nav__links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-sub);
  padding: 7px 16px;
  border-radius: var(--r-sm);
  transition: color 0.16s, background 0.16s;
  white-space: nowrap;
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav__links .nav-cta {
  color: var(--bg)       !important;
  background: var(--gold) !important;
  font-weight: 700        !important;
  letter-spacing: 0.04em  !important;
  padding: 8px 20px       !important;
  margin-left: 10px;
  border-radius: var(--r-sm) !important;
  transition: opacity 0.16s  !important;
}

.nav__links .nav-cta:hover {
  opacity: 0.84 !important;
}

/* Hamburger button */
.nav__ham {
  display: none;
  flex-direction: column;
  gap: 5px;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav__ham span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.22s, opacity 0.22s;
}

.nav__ham.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__ham.open span:nth-child(2) { opacity: 0; }
.nav__ham.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile full-screen drawer */
.nav__drawer {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--nav-h);
  inset-inline: 0;
  background: rgba(8, 8, 13, 0.98);
  border-bottom: 1px solid var(--border);
  z-index: 199;
  padding: 8px 28px 28px;
}

.nav__drawer.open { display: flex; }

.nav__drawer a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 4px;
  border-bottom: 1px solid var(--border);
  transition: color 0.16s;
}

.nav__drawer a:last-child { border-bottom: none; }
.nav__drawer a:hover      { color: var(--text); }

.nav__drawer .nav-cta {
  margin-top: 16px;
  color: var(--bg)       !important;
  background: var(--gold) !important;
  font-weight: 700        !important;
  text-align: center;
  padding: 14px 20px !important;
  border-radius: var(--r-sm) !important;
  border-bottom: none !important;
}


/* ----------------------------------------------------------------
   BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 28px;
  border-radius: var(--r-sm);
  cursor: pointer;
  border: none;
  transition: opacity 0.16s, transform 0.14s;
  white-space: nowrap;
}

.btn:hover  { opacity: 0.82; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--bg);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border-solid);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  opacity: 1;
}


/* ----------------------------------------------------------------
   LAYOUT UTILITIES
   ---------------------------------------------------------------- */
.section    { padding: 96px 44px; }
.section-sm { padding: 72px 44px; }

.inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

/* Eyebrow label — used on hero and all sections */
.eyebrow {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 700;
  margin-bottom: 18px;
}

.section-body {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.74;
  max-width: 600px;
  margin-bottom: 52px;
}

.rule {
  border: none;
  border-top: 1px solid var(--border);
  max-width: var(--max-w);
  margin: 0 auto;
}


/* ----------------------------------------------------------------
   HERO
   The left column (copy) is slightly wider than the right (image),
   giving the headline the visual dominance it deserves.
   ---------------------------------------------------------------- */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 64px;
  padding: calc(var(--nav-h) + 72px) 44px 80px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Hero uses the shared .eyebrow class — no separate selector needed */

.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.hero__body {
  font-size: 1.12rem;
  color: var(--text);
  line-height: 1.72;
  margin-bottom: 44px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__splash {
  width: 100%;
  max-width: 440px;
  object-fit: contain;
  /* Transparent PNG — no background, no effects */
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-solid);
  border: 2px solid var(--border-solid);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.stat {
  background: var(--surface);
  padding: 48px 32px;
  text-align: center;
}

.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat__desc {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.5;
}


/* ----------------------------------------------------------------
   HOW IT WORKS — STEPS
   ---------------------------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.step {
  padding: 36px 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  transition: border-color 0.2s;
}

.step:hover { border-color: var(--border-solid); }

.step__num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 20px;
}

.step__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 12px;
}

.step__body {
  font-size: 0.94rem;
  color: var(--text);
  line-height: 1.74;
}


/* ----------------------------------------------------------------
   CTA BAND
   ---------------------------------------------------------------- */
.cta-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  padding: 96px 44px;
}

.cta-band__title {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  margin-bottom: 18px;
}

.cta-band__sub {
  font-size: 1.02rem;
  color: var(--text);
  max-width: 500px;
  margin: 0 auto 38px;
  line-height: 1.72;
}


/* ----------------------------------------------------------------
   CALENDLY SECTION
   ---------------------------------------------------------------- */
.calendly-section {
  padding: 80px 44px;
  background: var(--bg);
}

.calendly-section__inner {
  max-width: 880px;
  margin: 0 auto;
}

.calendly-header {
  text-align: center;
  margin-bottom: 44px;
}

.calendly-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 14px;
}

.calendly-header p {
  font-size: 1rem;
  color: var(--text);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.68;
}

.calendly-inline-widget {
  min-width: 320px !important;
  height: 700px   !important;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--border);
}


/* ----------------------------------------------------------------
   CASE STUDY PAGE
   ---------------------------------------------------------------- */
.page-header {
  padding: calc(var(--nav-h) + 72px) 44px 52px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.case-study-wrap {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 44px 88px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-study-img {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid var(--border);
}


/* ----------------------------------------------------------------
   CONTACT PAGE
   ---------------------------------------------------------------- */
.contact-header {
  padding: calc(var(--nav-h) + 72px) 44px 44px;
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.contact-header h1 {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  margin-bottom: 18px;
}

.contact-header p {
  color: var(--text);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1.05rem;
}


/* ----------------------------------------------------------------
   FOOTER
   ---------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border);
  padding: 36px 44px;
}

.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__logo img {
  height: 22px;
  width: auto;
  opacity: 0.6;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}


/* ----------------------------------------------------------------
   SCROLL REVEAL ANIMATION
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.54s ease, transform 0.54s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ----------------------------------------------------------------
   RESPONSIVE BREAKPOINTS

   900px  — nav collapses to hamburger (prevents nav squishing)
   820px  — hero goes single-column, splash drops below text
   600px  — tighter padding for phones
   ---------------------------------------------------------------- */
@media (max-width: 750px) {
  .nav__links { display: none; }
  .nav__ham   { display: flex; }
}

@media (max-width: 820px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
    gap: 44px;
    padding-top: calc(var(--nav-h) + 56px);
    padding-bottom: 64px;
  }

  .hero__copy    { align-items: center; }
  .hero__body    { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }

  /* Image goes below the text block */
  .hero__copy   { order: -1; }
  .hero__visual { order: 1; }
  .hero__splash { max-width: 240px; }

  .steps     { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 1.5px; }
}

@media (max-width: 600px) {
  :root { --nav-h: 60px; }

  .section      { padding: 64px 20px; }
  .section-sm   { padding: 52px 20px; }
  .nav__inner   { padding: 0 20px; }    /* tighten inner wrapper on small screens */
  .cta-band     { padding: 64px 20px; }
  .calendly-section { padding: 56px 20px; }
  .footer       { padding: 28px 20px; }

  .page-header,
  .case-study-wrap,
  .contact-header { padding-left: 20px; padding-right: 20px; }

  .hero__title { letter-spacing: -0.005em; }
}
