/* ========================================================================
   GABBIE MAC — UNIFIED STYLESHEET (v2)
   Matched 1:1 with the tour site DNA.

   KEY PROPORTIONS (mirrored from tour):
   - Section padding: 80px desktop / 56px mobile (NOT 96px)
   - Container max: 1180px, padding 32px / 20px mobile
   - Hero padding: 80px 0 64px (matches tour exactly)
   - Section-head gap: 48px below
   - Card padding: 40px 32px (NOT 48px)
   - Border-radius: 2px (sharp, NOT 4px)
   - All edges crisp, no soft shadows
   ======================================================================== */

:root {
  --black: #0a0a0a;
  --ink: #1a1a1a;
  --soft: #4a4a4a;
  --muted: #8a8a8a;
  --line: #e8e8e8;
  --line-strong: #cfcfcf;
  --bg: #ffffff;
  --bg-soft: #f7f7f5;
  --green: #1ea95c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ─────────── NAV ─────────── */
nav.main-nav {
  border-bottom: 1px solid var(--line);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: saturate(180%) blur(10px);
  background: rgba(255, 255, 255, 0.92);
}

.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.nav-brand {
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.nav-brand-sub {
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links { display: flex; gap: 28px; align-items: center; }

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--soft);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--black); }
.nav-links a.active { color: var(--black); font-weight: 600; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  color: var(--black);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 18px;
  border: 1.5px solid var(--black);
  border-radius: 100px;
  transition: all 0.2s;
}

.nav-cta:hover { background: var(--black); color: var(--bg); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--black);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 73px 0 0 0;
  background: var(--bg);
  z-index: 99;
  padding: 32px 24px;
  overflow-y: auto;
}

.mobile-menu.open { display: block; }

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mobile-menu .mobile-cta {
  display: block;
  margin-top: 24px;
  padding: 18px;
  background: var(--black);
  color: #fff;
  text-align: center;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 600;
}

/* ─────────── EYEBROW (matches tour exactly) ─────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--soft);
  margin-bottom: 28px;
}

.eyebrow::before {
  content: '';
  width: 32px;
  height: 1.5px;
  background: var(--black);
}

/* ─────────── TYPOGRAPHY (tour-matched scale) ─────────── */
h1, h2, h3, h4 { letter-spacing: -0.025em; color: var(--black); }

h1 {
  font-size: clamp(48px, 7.5vw, 96px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}

h1 .light { font-weight: 300; color: var(--soft); }

h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}

h2 .light { font-weight: 300; color: var(--soft); }

h3 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ─────────── SECTION-HEAD (tour pattern) ─────────── */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.sub-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--black);
}

.sub-title .light { font-weight: 300; color: var(--soft); }

.section-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  padding-bottom: 4px;
}

/* ─────────── BUTTONS ─────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 100px;
  transition: transform 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-primary { background: var(--black); color: #fff; }
.btn-primary:hover { background: var(--soft); transform: translateY(-1px); }

.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--black);
}
.btn-secondary:hover { background: var(--black); color: #fff; transform: translateY(-1px); }

.btn-light { background: #fff; color: var(--black); }
.btn-light:hover { transform: translateY(-2px); }

.btn-large {
  padding: 18px 28px;
  font-size: 13px;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.btn svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ─────────── ROUTE/CTA BLOCK (tour signature) ─────────── */
.cta-block {
  background: var(--black);
  color: #fff;
  padding: 48px 44px;
  border-radius: 2px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.cta-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.cta-block h3 {
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: #fff;
}

.cta-block h3 .light { font-weight: 300; color: rgba(255, 255, 255, 0.55); }

/* ─────────── 1·2·3 SECTION (tour signature) ─────────── */
.how-section {
  padding: 80px 0;
  border-top: 1px solid var(--line);
}

.how-head { margin-bottom: 56px; }

.how-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.how-title {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--black);
}

.how-title .light { font-weight: 300; color: var(--soft); }

.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.how-step {
  border-top: 2px solid var(--black);
  padding-top: 28px;
}

.how-step-num {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--black);
  margin-bottom: 20px;
}

.how-step h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--black);
  margin-bottom: 12px;
}

.how-step p { font-size: 15px; line-height: 1.6; color: var(--soft); }

/* ─────────── FOOTER (matched to tour exactly) ─────────── */
footer {
  background: var(--black);
  color: #fff;
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  color: #fff;
}

.footer-tagline {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  max-width: 340px;
  margin-bottom: 24px;
}

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.2s;
}

.footer-social a:hover { background: #fff; color: var(--black); }
.footer-social svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
}

.footer-col a, .footer-col p {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  line-height: 1.9;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-meta { font-size: 12px; color: rgba(255, 255, 255, 0.5); }

.footer-legal {
  display: flex;
  gap: 24px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.footer-legal a { color: inherit; text-decoration: none; }
.footer-legal a:hover { color: #fff; }

/* ─────────── RESPONSIVE ─────────── */
@media (max-width: 900px) {
  .container { padding: 0 20px; }
  nav.main-nav { padding: 16px 0; }
  .nav-links, .nav-cta { display: none; }
  .mobile-toggle { display: block; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 8px; }
  h2, .how-title { font-size: 28px; }
  .cta-block { grid-template-columns: 1fr; gap: 24px; padding: 36px 28px; }
  .cta-block h3 { font-size: 26px; }
  .how-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
  .nav-brand-sub { display: none; }
}

@media (max-width: 480px) {
  h1 { font-size: 44px; }
}

@media print {
  nav.main-nav, .mobile-toggle, .mobile-menu { display: none; }
  footer { background: #fff; color: var(--black); border-top: 2px solid var(--black); }
  .cta-block { background: #fff; color: var(--black); border: 2px solid var(--black); }
}
