/* =============================================================
   TireHub — main.css
   Full rewrite per creative-brief.md, copy.md, components.md,
   images.md, and DESIGN.md pipeline constraints.

   Design tokens: Industrial Editorial
   Display: Playfair Display (overrides DESIGN.md Cormorant default
            per creative-brief.md §Font Pair justification)
   Labels/UI: Oswald
   ============================================================= */

/* -------------------------------------------------------------
   1. DESIGN TOKENS
   ------------------------------------------------------------- */
:root {
  --bg-base:       #0D0D0B;
  --bg-surface:    #161614;
  --text-primary:  #F5F0E8;
  --text-secondary: #9A9588;
  --accent:        #C9892A;
  --border:        #2A2A27;

  --font-display:  'Playfair Display', Georgia, serif;
  --font-ui:       'Oswald', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Global: border-radius 0 on all interactive and container elements */
a, button, input, textarea, select,
.portal-panel, .pricing-tier, .mobile-menu-cta {
  border-radius: 0 !important;
}

img {
  display: block;
  max-width: 100%;
}

/* -------------------------------------------------------------
   3. REVEAL ANIMATION — fade-in only, 200ms, no transform
   Triggered by IntersectionObserver in main.js
   ------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transition: opacity 200ms ease;
}

.reveal.visible {
  opacity: 1;
}

/* Pre-render visible state for hero (fade-in on load) */
.hero-content .section-label,
.hero-content .hero-headline,
.hero-content .hero-sub,
.hero-content .hero-actions {
  opacity: 0;
  animation: fadein 200ms ease forwards;
}
.hero-content .hero-headline { animation-delay: 80ms; }
.hero-content .hero-sub      { animation-delay: 160ms; }
.hero-content .hero-actions  { animation-delay: 240ms; }

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* -------------------------------------------------------------
   4. SHARED TYPOGRAPHY COMPONENTS
   ------------------------------------------------------------- */

/* Section label: Oswald 600, 11px, uppercase, 0.15em tracking */
.section-label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: block;
}

/* Section headline: Playfair Display 500 */
.section-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 32px;
}

@media (max-width: 900px) {
  .section-headline {
    font-size: 36px;
  }
}

@media (max-width: 640px) {
  .section-headline {
    font-size: 32px;
  }
}

/* Body copy: Oswald 300, 17px, 1.65 line-height */
.body-copy {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-primary);
  margin-bottom: 20px;
  max-width: 720px;
}

/* Primary amber button — one line hard requirement */
.btn-primary {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: var(--accent);
  color: var(--bg-base);
  border: 2px solid var(--accent);
  padding: 16px 40px;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.btn-primary:hover {
  background: var(--bg-base);
  color: var(--accent);
}

/* Section inner container */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* Section divider */
.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* -------------------------------------------------------------
   5. NAVIGATION
   Not fixed, not sticky — scrolls with page
   ------------------------------------------------------------- */
.nav {
  position: static;
  background: var(--bg-base);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.nav-links a:hover {
  opacity: 1;
}

/* Nav CTA — amber background, no shadow, no radius, single line */
.nav-cta {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: var(--accent);
  color: var(--bg-base);
  border: 2px solid var(--accent);
  padding: 10px 22px;
  border-radius: 0;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
}

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

/* Hamburger — hidden on desktop */
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 0;
}

/* -------------------------------------------------------------
   6. MOBILE MENU — slide-in drawer, no overlay blur
   ------------------------------------------------------------- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg-base);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 28px;
  padding: 0 8vw;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  border-radius: 0;
}

.mobile-menu-link {
  font-family: var(--font-ui);
  font-weight: 500;
  font-size: 24px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.mobile-menu-link:hover {
  opacity: 1;
}

.mobile-menu-cta {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  background: var(--accent);
  color: var(--bg-base);
  border: 2px solid var(--accent);
  padding: 14px 32px;
  border-radius: 0;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s;
}

.mobile-menu-cta:hover {
  background: var(--bg-base);
  color: var(--accent);
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .nav-hamburger {
    display: flex;
  }
}

/* -------------------------------------------------------------
   7. HERO — Full-bleed photography
   Headline lower-left third, no gradient overlay
   ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 5vw 80px;
  overflow: hidden;
}

/* Full-bleed background image — covers entire hero */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  z-index: 0;
  /* Slightly darken to ensure lower-left text legibility
     without a gradient — uniform brightness reduction only */
  filter: brightness(0.75) saturate(0.9);
}

/* Hero content — lower-left position, sits above photo */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding-bottom: 8px;
}

.hero-label {
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Hero headline: Playfair Display 500, 72px desktop, warm off-white
   No amber on "Until now." — full headline stays --text-primary per brief */
.hero-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 72px;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 28px;
  text-transform: none;
}

/* Hero subheadline: Playfair Display italic 400, 20px */
.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.6;
  color: var(--text-primary);
  max-width: 680px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

/* Secondary link — not a button */
.hero-secondary-link {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.hero-secondary-link:hover {
  color: var(--text-primary);
}

@media (max-width: 900px) {
  .hero-headline {
    font-size: 56px;
  }
  .hero-sub {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .hero {
    align-items: flex-start;
    padding-top: 80px;
    padding-bottom: 60px;
    min-height: 85vh;
  }
  .hero-headline {
    font-size: 42px;
  }
  .hero-sub {
    font-size: 17px;
  }
  .btn-primary {
    font-size: 11px;
    padding: 14px 16px;
    white-space: nowrap;
  }
}

/* -------------------------------------------------------------
   8. TEXTURE STRIP — Material grounding band between hero and data chain
   ------------------------------------------------------------- */
.texture-strip {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.texture-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  filter: brightness(0.65) saturate(0.8);
}

@media (max-width: 640px) {
  .texture-strip {
    height: 140px;
  }
}

/* -------------------------------------------------------------
   9. DATA CHAIN SECTION
   Full-width on --bg-surface, horizontal timeline
   ------------------------------------------------------------- */
.data-chain {
  background: var(--bg-surface);
  padding: 100px 0;
}

.data-chain .section-inner {
  margin-bottom: 64px;
}

.data-chain .body-copy {
  max-width: 680px;
}

/* Timeline wrapper — full-width, allows overflow scroll on mobile */
.timeline-wrap {
  width: 100%;
  overflow-x: auto;
  padding: 40px 5vw 20px;
  -webkit-overflow-scrolling: touch;
}

/* Timeline flex container — horizontal on desktop */
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  min-width: 840px;
  position: relative;
}

/* Individual timeline node */
.timeline-node {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Dot — amber outline circle. Decorative circle uses 50% per DESIGN.md allowance */
.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--bg-surface);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: background 0.2s;
}

/* Active node 4: filled amber — single amber fill in this section */
.timeline-node--active .timeline-dot {
  background: var(--accent);
}

/* Horizontal connector lines — dashed amber, 1px */
.timeline-connector {
  flex: 1;
  height: 1px;
  border-top: 1px dashed var(--accent);
  opacity: 0.5;
  align-self: center;
  position: relative;
  top: 0;
}

/* Suppress outside connectors on first/last nodes */
.timeline-node:first-child .timeline-connector--left,
.timeline-node--last .timeline-connector--right {
  visibility: hidden;
}

/* Arrange dot between connectors horizontally */
.timeline-node {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.timeline-dot {
  order: 2;
}

.timeline-connector--left {
  order: 1;
  flex: 1;
}

.timeline-connector--right {
  order: 3;
  flex: 1;
}

.timeline-label {
  order: 4;
  flex: 0 0 100%;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-primary);
  text-align: center;
  margin-top: 16px;
  padding: 0 8px;
}

/* Active node label gets slightly brighter */
.timeline-node--active .timeline-label {
  color: var(--text-primary);
  font-weight: 500;
}

/* Below-timeline body copy container */
.data-chain .section-inner + .timeline-wrap + .data-chain-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* Vertical stacking on mobile */
@media (max-width: 900px) {
  .timeline-wrap {
    padding: 20px 5vw;
  }
  .timeline {
    flex-direction: column;
    min-width: 0;
    align-items: flex-start;
    gap: 0;
  }
  .timeline-node {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    padding: 0;
  }
  .timeline-connector--left,
  .timeline-connector--right {
    display: none;
  }
  .timeline-dot {
    flex-shrink: 0;
    order: 1;
  }
  .timeline-label {
    order: 2;
    flex: 1;
    text-align: left;
    margin-top: 0;
    margin-left: 16px;
    padding: 14px 0;
    border-left: none;
  }
  /* Vertical dashed line between dots */
  .timeline-node:not(.timeline-node--last)::after {
    content: '';
    display: block;
    width: 1px;
    height: 24px;
    border-left: 1px dashed var(--accent);
    opacity: 0.5;
    margin-left: 9px;
    order: 5;
    flex: 0 0 100%;
  }
}

/* -------------------------------------------------------------
   10. FOUR PORTALS SECTION
   2-column grid, --bg-base, equal panels
   ------------------------------------------------------------- */
.four-portals {
  background: var(--bg-base);
  padding: 100px 0;
}

.four-portals .section-inner {
  margin-bottom: 56px;
}

/* 2-column grid on desktop, 1 column on mobile */
.portals-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  max-width: 1200px;
  margin: 0 auto;
  /* Indented to align with section-inner padding */
  margin-left: max(5vw, calc((100vw - 1200px) / 2));
  margin-right: max(5vw, calc((100vw - 1200px) / 2));
}

.portal-panel {
  background: var(--bg-surface);
  padding: 48px 44px;
  border-radius: 0;
  transition: border-color 0.2s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Portal label: Oswald 600, 11px, amber — amber use for this section (one per panel = one per visual sub-frame) */
.portal-label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* Broken state: Playfair Display italic 400, 17px, --text-secondary */
.portal-broken {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* Transition marker: Oswald 400, 11px, --text-secondary */
.portal-arrow {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 11px;
  color: var(--text-secondary);
  margin: 0;
}

/* Resolved state: Playfair Display 500, 17px, --text-primary */
.portal-resolved {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-primary);
}

/* What disappears: Oswald 300, 14px, --text-secondary */
.portal-disappears {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
  .portals-grid {
    grid-template-columns: 1fr;
    margin-left: 5vw;
    margin-right: 5vw;
  }
  .portal-panel {
    padding: 40px 32px;
  }
}

@media (max-width: 640px) {
  .portal-panel {
    padding: 32px 24px;
  }
}

/* -------------------------------------------------------------
   11. MIGRATION SECTION
   Single-column, --bg-surface, deliberately calm
   No amber in this section — intentional visual quiet
   ------------------------------------------------------------- */
.migration {
  background: var(--bg-surface);
  padding: 0;
}

.migration-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 5vw;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.migration-copy {
  max-width: 720px;
}

.migration-block {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

/* Block heading: Oswald 600, 14px, uppercase — no amber */
.migration-block-head {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.migration-block .body-copy {
  max-width: 100%;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .migration-inner {
    padding: 80px 5vw;
  }
  .migration-block {
    margin-top: 32px;
    padding-top: 24px;
  }
}

/* -------------------------------------------------------------
   12. PRICING SECTION
   Three tiers — no cards per components.md
   --bg-base background
   ------------------------------------------------------------- */
.pricing-section {
  background: var(--bg-base);
  padding: 100px 0;
}

.pricing-section .section-inner {
  margin-bottom: 48px;
}

/* Framing paragraph block */
.pricing-framing {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
  margin-bottom: 48px;
}

.pricing-framing .body-copy {
  max-width: 720px;
  color: var(--text-secondary);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
}

/* Tasks that disappear list */
.pricing-disappears {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
  margin-bottom: 64px;
}

.disappears-head {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.disappears-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 680px;
  margin-bottom: 28px;
}

.disappears-list li {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-primary);
  padding-left: 20px;
  position: relative;
}

/* Em-dash marker in --text-secondary */
.disappears-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-secondary);
}

.pricing-note {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

/* Three tiers wrapper */
.pricing-tiers-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5vw;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
}

.pricing-tier {
  padding: 48px 40px 48px 0;
  border-right: 1px solid var(--border);
  padding-right: 40px;
}

.pricing-tier:last-child {
  border-right: none;
  padding-right: 0;
  padding-left: 40px;
}

.pricing-tier:not(:first-child):not(:last-child) {
  padding-left: 40px;
}

/* Tier header */
.tier-header {
  margin-bottom: 20px;
}

/* Tier label: Oswald 600 uppercase, 11px */
.tier-label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

/* Price note */
.tier-price-note {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 28px;
  color: var(--text-primary);
  line-height: 1.2;
}

/* Tier description: Oswald 300, 15px */
.tier-desc {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Tier includes list */
.tier-includes {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}

.tier-includes li {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
}

.tier-includes li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-secondary);
  opacity: 0.5;
}

/* Tier CTA: amber text link with bottom border */
.tier-cta {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.tier-cta:hover {
  color: var(--text-primary);
  border-color: var(--text-primary);
}

@media (max-width: 900px) {
  .pricing-tiers-wrap {
    grid-template-columns: 1fr;
    border-top: none;
  }
  .pricing-tier {
    padding: 40px 0;
    border-right: none;
    border-top: 1px solid var(--border);
  }
  .pricing-tier:last-child {
    padding-left: 0;
  }
  .pricing-tier:not(:first-child):not(:last-child) {
    padding-left: 0;
  }
}

@media (max-width: 640px) {
  .pricing-section {
    padding: 80px 0;
  }
  .pricing-tier {
    padding: 32px 0;
  }
}

/* -------------------------------------------------------------
   13. CTA SECTION
   Full-bleed --bg-surface, center-aligned, amber button
   120px top/bottom padding minimum per components.md
   ------------------------------------------------------------- */
.cta-section {
  background: var(--bg-surface);
  padding: 120px 5vw;
  text-align: center;
  border-top: 1px solid var(--border);
}

.cta-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* CTA section label */
.cta-label {
  text-align: center;
  margin-bottom: 24px;
}

/* CTA headline: Playfair Display 500, 48px */
.cta-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 48px;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 28px;
  text-transform: none;
}

/* CTA subheadline: Playfair Display italic, 20px, 70% opacity */
.cta-body {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.65;
  color: var(--text-primary);
  opacity: 0.7;
  max-width: 600px;
  margin-bottom: 48px;
}

/* Lead capture form */
.cta-form-wrap {
  width: 100%;
  max-width: 640px;
  text-align: left;
}

#lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  background: rgba(245, 240, 232, 0.04);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.5;
  padding: 12px 16px;
  width: 100%;
  outline: none;
  border-radius: 0;
  transition: border-color 0.15s;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.4;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* CTA submit button — amber fill, single line, no shadow */
.btn-cta {
  display: block;
  width: 100%;
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  background: var(--accent);
  color: var(--bg-base);
  border: 2px solid var(--accent);
  padding: 16px 40px;
  border-radius: 0;
  cursor: pointer;
  margin-top: 8px;
  transition: background 0.2s, color 0.2s;
}

.btn-cta:hover {
  background: var(--bg-base);
  color: var(--accent);
}

.form-footnote {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 12px;
  opacity: 0.7;
}

/* Success state */
.form-success {
  padding: 40px 20px;
  text-align: center;
}

.form-success-head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.form-success-body {
  font-family: var(--font-ui);
  font-weight: 300;
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
}

@media (max-width: 900px) {
  .cta-headline {
    font-size: 36px;
  }
  .cta-body {
    font-size: 18px;
  }
}

@media (max-width: 640px) {
  .cta-section {
    padding: 80px 5vw;
  }
  .cta-headline {
    font-size: 30px;
  }
  .cta-body {
    font-size: 17px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------
   14. FOOTER
   Single row, minimal, no amber, no multi-column
   ------------------------------------------------------------- */
.site-footer {
  background: var(--bg-base);
  border-top: 1px solid var(--border);
  padding: 32px 5vw;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-tagline {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  opacity: 0.4;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.footer-nav a {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-primary);
  text-decoration: none;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.footer-nav a:hover {
  opacity: 0.8;
}

.footer-copy {
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.6;
}

@media (max-width: 640px) {
  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .footer-nav {
    gap: 14px;
  }
}

/* -------------------------------------------------------------
   15. UTILITY
   ------------------------------------------------------------- */

/* Visually hidden but accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles — keyboard accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
