/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

/* Keep in-page anchor targets clear of the 90px fixed header */
section[id],
#contact {
  scroll-margin-top: 90px;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: clip;
  background-color: #000000;
  color: #FFFFFF;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Accessibility helpers */
.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;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: #FFFFFF;
  color: #000000;
  padding: 12px 20px;
  z-index: 1000001;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.reality-card:focus-visible,
.timeline-content:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

/* Honeypot field: off-screen, never shown to real visitors */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Scroll-reveal states (progressively enhanced; see script.js) */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Ghost Header / Navigation Bar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: 999999;
  background: transparent;
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.header-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  cursor: pointer;
}

.logo-icon {
  height: 28px;
  max-height: 1.75rem;
  width: auto;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
  transition: transform 0.25s ease;
  filter: brightness(1.1) contrast(1.1);
}

.logo:hover .logo-icon {
  transform: scale(1.05);
}

.logo-text {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  text-transform: uppercase;
  transition: color 0.3s ease;
  line-height: 1;
}

/* Minimalist Ghost Buttons */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.4rem;
  border-radius: 0px; /* Stark, brutalist hard edges */
  transition: color 0.3s ease, border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.btn-header {
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-ghost:hover {
  background: #FFFFFF;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.btn-ghost .arrow {
  display: inline-block;
  transition: transform 0.25s ease, color 0.3s ease;
}

.btn-ghost:hover .arrow {
  transform: translate(2px, -2px);
}

/* State 2: Scrolled Past Hero (Light Background Sections) */
.header.scrolled,
.header.header-light {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid #E5E5E5;
}

.header.scrolled .logo-text,
.header.header-light .logo-text {
  color: #000000;
}

.header.scrolled .btn-header,
.header.header-light .btn-header {
  background-color: #000000;
  border: 1px solid #000000;
  color: #FFFFFF;
}

.header.scrolled .btn-header:hover,
.header.header-light .btn-header:hover {
  background-color: #222222;
  border-color: #222222;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

/* Primary navigation (text link + CTA) */
.header-nav {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.header-link {
  position: relative;
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.35rem 0;
  transition: color 0.3s ease;
}

.header-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.header-link:hover::after,
.header-link:focus-visible::after {
  transform: scaleX(1);
}

.header.scrolled .header-link,
.header.header-light .header-link {
  color: #000000;
}

.header.scrolled .header-link:focus-visible,
.header.header-light .header-link:focus-visible,
.header.scrolled .logo:focus-visible,
.header.header-light .logo:focus-visible,
.header.scrolled .btn-header:focus-visible,
.header.header-light .btn-header:focus-visible {
  outline-color: #000000;
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1.5rem;
  }
}

@media (max-width: 520px) {
  .header-container {
    padding: 0 1rem;
  }

  /* Wordmark only on phones so the nav and full CTA label fit on one line */
  .logo-icon {
    display: none;
  }

  .logo-text {
    font-size: 1.15rem;
  }

  .header-nav {
    gap: 1rem;
  }

  .btn-header {
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
    gap: 0.35rem;
    white-space: nowrap;
  }
}

/* Very narrow phones: About stays reachable from the footer navigation */
@media (max-width: 380px) {
  .header-link {
    display: none;
  }
}

/* ==========================================================================
   Hero Section (Layer 1: Canvas, Layer 2: Grid, Layer 3: Content)
   ========================================================================== */

/* Layer 1: The Canvas (Background) */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-color: #000000;
  background-image:
    linear-gradient(to right, #000000 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 85%, #000000 100%),
    linear-gradient(to bottom, #000000 0%, rgba(0,0,0,0) 15%, rgba(0,0,0,0) 85%, #000000 100%),
    url('images/hero.jpg');
  background-size: 100% 100%, 100% 100%, 67% auto;
  background-position: top left, top left, 85% center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  overflow: visible;
  padding-top: 90px;
}

/* Progressive enhancement: serve the smaller WebP where supported */
@supports (background-image: image-set(url('images/hero.jpg') type('image/jpeg'))) {
  .hero-section {
    background-image:
      linear-gradient(to right, #000000 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 85%, #000000 100%),
      linear-gradient(to bottom, #000000 0%, rgba(0,0,0,0) 15%, rgba(0,0,0,0) 85%, #000000 100%),
      image-set(url('images/hero.webp') type('image/webp'), url('images/hero.jpg') type('image/jpeg'));
  }
}

/* Layer 2: The Grid (Layout Structure) */
.hero-container {
  position: relative;
  z-index: 10;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Layer 3: The Content (Left Column Typography & UI) */
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

/* Eyebrow/Label */
.eyebrow-text {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #A3A3A3;
  display: flex;
  align-items: center;
  gap: 15px;
  font-weight: 600;
}

.eyebrow-text::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: #555;
  flex-shrink: 0;
}

/* Main Headline (H1) */
.hero-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: #FFFFFF;
  margin-top: 20px;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  text-transform: none;
}

/* Subheadline/Body */
.hero-subheadline {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #D1D1D1;
  max-width: 480px;
  margin-top: 24px;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Primary CTA Button */
.btn-hero {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
  padding: 16px 32px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border-radius: 0px;
}

.btn-hero:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .hero-container {
    padding: 0 4%;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    background-size: 100% 100%, 100% 100%, 100% auto;
    background-position: top left, top left, center center;
  }

  .hero-container {
    grid-template-columns: 1fr;
    padding: 0 5%;
  }

  .hero-right {
    display: none;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-subheadline {
    max-width: 100%;
  }
}

/* ==========================================================================
   Section 2: The Commercial Reality (Diamond White #F5F5F7)
   ========================================================================== */
.reality-section {
  width: 100%;
  background-color: #F5F5F7;
  color: #111111;
  padding: 7rem 0 8rem 0;
  /* Hard, razor-sharp edge transition from hero with zero gradients/blurring */
  border-top: 1px solid #111111;
  position: relative;
  z-index: 20;
}

.reality-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* Center-aligned Section Header */
.reality-header {
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #111111;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4.5rem;
}

/* Strict 3-Column CSS Grid */
.reality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

/* Card Styling */
.reality-card {
  background: transparent;
  border: 1px solid #111111;
  box-shadow: none;
  border-radius: 0px; /* Geometric hard brutalist edges */
  padding: 3rem 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.25s ease, border-color 0.25s ease, opacity 0.6s ease;
}

.reality-card:hover {
  transform: translateY(-2px);
}

/* Eyebrow: Muted Charcoal #555555, Monospace Font */
.card-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  font-weight: 400;
  color: #555555;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

/* Card Subtitle / Label: Crisp, uppercase Space Grotesk */
.card-subtitle {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666666;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* Card Title: Bold, Pure Black #111111 */
.card-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1.15rem;
}

/* Card Body: Regular, #333333 */
.card-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.975rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* Stagger the reveal so cards don't all pop at once */
.reality-grid .reality-card:nth-child(2) { transition-delay: 0.08s; }
.reality-grid .reality-card:nth-child(3) { transition-delay: 0.16s; }

/* Responsive Grid for Section 2 */
@media (max-width: 1024px) {
  .reality-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .reality-container {
    padding: 0 2rem;
  }
}

@media (max-width: 640px) {
  .reality-grid {
    grid-template-columns: 1fr;
  }

  .reality-section {
    padding: 5rem 0 6rem 0;
  }

  .reality-card {
    padding: 2.25rem 1.75rem;
  }
}

/* ==========================================================================
   Section 3: Enter IGNARA (Sticky Scroll 2-Column Asymmetric Layout)
   ========================================================================== */
.ignara-section {
  width: 100%;
  background-color: #F5F5F7;
  color: #111111;
  padding: 6rem 0 10rem 0;
  border-top: 1px solid #CCCCCC;
  position: relative;
  z-index: 20;
}

.ignara-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* 2-Column Asymmetric Grid: Left 40%, Right 60% */
.ignara-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: stretch; /* Stretch left grid column to full height of right scrolling column */
  position: relative;
}

/* Left Column: Sticky Anchor (Position: Sticky, Top Offset 140px / ~20vh) */
.ignara-left-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 140px; /* Locked at 140px offset, clear of 90px fixed header */
  align-self: start;
  padding-right: 3.5rem;
  /* Faint 1px solid grey (#CCCCCC) vertical divider line */
  border-right: 1px solid #CCCCCC;
  padding-bottom: 2rem;
}

.sticky-anchor-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ignara-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 800;
  color: #111111;
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 1.25rem;
}

.ignara-subheadline {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 340px;
}

/* Right Column: Vertically Scrolling Benefits */
.ignara-right-scroll {
  padding-left: 5rem;
  display: flex;
  flex-direction: column;
  padding-top: 2vh;
}

/* Vertical Text Blocks with Clean 10vh Margin Between Each */
.benefit-block {
  margin-bottom: 10vh;
  max-width: 580px;
}

.benefit-block:last-child {
  margin-bottom: 0;
}

/* CRITICAL ICON STYLING: Naked, flush-left, no container/border/background */
.benefit-icon {
  margin-bottom: 1.75rem;
  display: inline-block;
  line-height: 1;
}

.benefit-icon svg {
  display: block;
  stroke: #111111;
}

.benefit-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.benefit-body {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* Responsive Layout for Section 3 */
@media (max-width: 1024px) {
  .ignara-grid {
    grid-template-columns: 45% 55%;
  }

  .ignara-left-sticky {
    padding-right: 2rem;
  }

  .ignara-right-scroll {
    padding-left: 3rem;
  }
}

@media (max-width: 768px) {
  .ignara-grid {
    grid-template-columns: 1fr;
  }

  .ignara-left-sticky {
    position: relative;
    top: 0;
    border-right: none;
    border-bottom: 1px solid #CCCCCC;
    padding-right: 0;
    padding-bottom: 3rem;
    margin-bottom: 4rem;
  }

  .ignara-right-scroll {
    padding-left: 0;
  }

  .benefit-block {
    margin-bottom: 4rem;
  }
}

/* ==========================================================================
   Section 4: The Methodology (Blueprint Timeline)
   ========================================================================== */
.methodology-section {
  width: 100%;
  background-color: #F5F5F7;
  color: #111111;
  padding: 8rem 0 10rem 0;
  border-top: 1px solid #CCCCCC;
  position: relative;
  z-index: 20;
}

.methodology-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
}

/* Header */
.methodology-header-wrapper {
  text-align: center;
  margin-bottom: 6rem;
}

.methodology-h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #111111;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.methodology-h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.8rem, 4.5vw, 4.2rem);
  font-weight: 800;
  color: #111111;
  line-height: 0.95;
  letter-spacing: -0.035em;
}

/* Timeline Layout */
.timeline-wrapper {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

/* Background Central Spine Line (2px Solid Grey #CCCCCC - matching horizontal callout bars) */
.timeline-track {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #CCCCCC;
  transform: translateX(-50%);
  z-index: 1;
}

/* Active Progress Line */
.timeline-progress-line {
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 0%;
  background-color: #CCCCCC;
  transform: translateX(-50%);
  z-index: 2;
  transition: height 0.08s ease-out;
}

/* Timeline Items Container */
.timeline-items {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  position: relative;
  z-index: 5;
}

/* Single Timeline Row */
.timeline-item {
  display: flex;
  position: relative;
  width: 100%;
  align-items: flex-start;
}

/* Horizontal 1px Solid Grey Callout Line Connecting Central (+) Crosshairs to Text Box Edge */
.timeline-item.timeline-left::after {
  content: '';
  position: absolute;
  top: 2.85rem;
  left: 44%;
  width: 6%;
  height: 1px;
  background-color: #CCCCCC;
  z-index: 3;
  pointer-events: none;
}

.timeline-item.timeline-right::after {
  content: '';
  position: absolute;
  top: 2.85rem;
  left: 50%;
  width: 6%;
  height: 1px;
  background-color: #CCCCCC;
  z-index: 3;
  pointer-events: none;
}

/* Left Aligned Row */
.timeline-item.timeline-left {
  justify-content: flex-start;
}

/* Right Aligned Row */
.timeline-item.timeline-right {
  justify-content: flex-end;
}

/* Content Box (44% width to leave space for center spine) */
.timeline-content {
  width: 44%;
  padding: 2.25rem 2rem;
  background: #F5F5F7;
  border: 1px solid #111111;
  border-radius: 0px;
  position: relative;
  z-index: 6;
  transition: transform 0.25s ease, opacity 0.6s ease;
}

.timeline-left .timeline-content {
  text-align: left;
}

.timeline-right .timeline-content {
  text-align: left;
}

.timeline-content:hover {
  transform: translateY(-2px);
}

/* Central Node (Crisp 1px SVG Crosshairs at Timeline Intersection) */
.timeline-node {
  position: absolute;
  left: 50%;
  top: 2.15rem;
  transform: translate(-50%, 0);
  z-index: 10;
  width: 24px;
  height: 24px;
  background-color: #F5F5F7;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.timeline-node svg {
  display: block;
  stroke: #111111;
  transition: transform 0.25s ease;
}

.timeline-node.node-active svg {
  stroke: #111111;
  transform: scale(1.2);
}

/* Content Typography */
.phase-eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: #555555;
  letter-spacing: 0.12em;
  margin-bottom: 1rem;
}

.phase-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.85rem;
}

.phase-body {
  font-family: 'Inter', sans-serif;
  font-size: 0.975rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.65;
  letter-spacing: -0.01em;
}

/* Responsive Timeline for Mobile & Tablet */
@media (max-width: 768px) {
  .timeline-item.timeline-left::after,
  .timeline-item.timeline-right::after {
    display: none;
  }
  .timeline-track,
  .timeline-progress-line {
    left: 20px;
    transform: none;
  }

  .timeline-node {
    left: 20px;
    transform: translate(-50%, 0);
  }

  .timeline-item.timeline-left,
  .timeline-item.timeline-right {
    justify-content: flex-end;
  }

  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px;
  }

  .methodology-container {
    padding: 0 1.5rem;
  }
}

/* ==========================================================================
   Section 5: The Deliverable (Pure White #FFFFFF Background for Dark-to-Light Reset)
   ========================================================================== */
.deliverable-section {
  width: 100%;
  background-color: #FFFFFF; /* Pure White background for visual contrast reset */
  color: #000000;
  padding: 120px 0; /* Massive 120px top and bottom padding */
  position: relative;
  z-index: 20;
}

.deliverable-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Block 1: The Section Header (Center-Aligned) */
.deliverable-header-wrapper {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 850px;
  margin: 0 auto 60px auto;
}

.deliverable-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #666666;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.deliverable-h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 4.2rem);
  font-weight: 800;
  color: #000000;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.5rem;
}

.deliverable-subheadline {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: #4A4A4A;
  line-height: 1.6;
  max-width: 650px;
  margin: 0 auto;
}

/* Block 2: The Showcase Asset */
.deliverable-showcase-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.deliverable-asset-img {
  width: 100%;
  max-width: 1200px;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.08);
  image-rendering: -webkit-optimize-contrast;
}

/* Responsive adjustments for Section 5 */
@media (max-width: 768px) {
  .deliverable-section {
    padding: 80px 0;
  }

  .deliverable-container {
    padding: 0 1.5rem;
  }

  .deliverable-header-wrapper {
    margin-bottom: 40px;
  }
}

/* ==========================================================================
   Section 6: The Conversion CTA (The Dark Return #050505)
   ========================================================================== */
.cta-section {
  width: 100%;
  background-color: #050505; /* Deepest Black / Charcoal */
  color: #FFFFFF;
  padding: 150px 5%; /* Massive vertical breathing room */
  position: relative;
  z-index: 20;
}

.cta-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Block 1: The Command (Typography) */
.cta-header-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.cta-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #A3A3A3;
  margin-bottom: 20px;
  font-weight: 600;
}

.cta-headline {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4.5rem);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

.cta-subheadline {
  font-family: 'Inter', sans-serif;
  font-size: 1.125rem;
  color: #A3A3A3;
  max-width: 600px;
  margin: 24px auto 40px auto;
  line-height: 1.6;
  font-weight: 400;
}

/* Block 2: The Conversion Action */
.cta-action-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-cta-primary {
  background: #FFFFFF;
  color: #000000;
  padding: 18px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 0px;
  transition: all 0.3s ease;
}

.btn-cta-primary .arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.btn-cta-primary:hover {
  background: #E5E5E5;
  transform: translateY(-2px);
  color: #000000;
}

.btn-cta-primary:hover .arrow {
  transform: translate(2px, -2px);
}

@media (max-width: 768px) {
  .cta-section {
    padding: 100px 5%;
  }

  .btn-cta-primary {
    padding: 16px 32px;
    font-size: 1rem;
  }
}

/* ==========================================================================
   Conversion Modal (Deep-Qualification Scrollable Form)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 1000000;
  background-color: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px 0;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-container {
  position: relative;
  background-color: #FFFFFF;
  color: #000000;
  width: 95%;
  max-width: 650px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0px 24px 48px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

/* Custom Smooth Scrollbar for Modal Container */
.modal-container::-webkit-scrollbar {
  width: 6px;
}

.modal-container::-webkit-scrollbar-track {
  background: #F1F1F1;
  border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb {
  background: #CCCCCC;
  border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: transparent;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #666666;
  cursor: pointer;
  transition: color 0.2s ease;
  padding: 4px;
  z-index: 10;
}

.modal-close:hover {
  color: #000000;
}

.modal-headline {
  font-family: 'Inter', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #000000;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.modal-subheadline {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 32px;
}

/* Form Sections */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #F0F0F0;
}

.form-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
}

.section-divider-label {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  color: #888888;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

/* Form Grids */
.form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-grid-3col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.form-group {
  width: 100%;
}

.form-group-full {
  width: 100%;
}

.form-group-spaced {
  margin-top: 12px;
}

.modal-privacy-note {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: #666666;
  text-align: center;
  margin-top: -8px;
}

.modal-privacy-note a {
  color: #333333;
  text-underline-offset: 2px;
}

.form-input,
.form-select {
  width: 100%;
  background-color: #F5F5F5;
  border: 1px solid #E5E5E5;
  border-radius: 4px;
  padding: 14px 16px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: #000000;
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.form-input.field-invalid,
.form-select.field-invalid {
  border-color: #C0392B;
}

.form-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 38px;
  cursor: pointer;
}

.form-select:invalid,
.form-select option[value=""] {
  color: #888888;
}

.form-select option {
  color: #000000;
  background-color: #FFFFFF;
}

.form-input::placeholder {
  color: #888888;
}

.form-input:focus,
.form-select:focus {
  border-color: #000000;
  background-color: #FFFFFF;
}

.form-error {
  display: none;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  color: #C0392B;
  background-color: #FCEEED;
  border: 1px solid #F4C7C2;
  border-radius: 4px;
  padding: 12px 14px;
}

.form-error.visible {
  display: block;
}

.modal-submit-btn {
  width: 100%;
  background-color: #000000;
  color: #FFFFFF;
  padding: 18px;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 8px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.modal-submit-btn:hover {
  background-color: #222222;
  transform: translateY(-1px);
}

.modal-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Success State */
.modal-success-state {
  display: none; /* shown by script.js after a successful submit (inline styles are blocked by the CSP) */
  text-align: center;
  padding: 32px 0 16px 0;
}

.modal-success-state:focus {
  outline: none;
}

.success-checkmark-circle {
  width: 60px;
  height: 60px;
  background-color: #E6F4EA;
  color: #137333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  font-size: 30px;
  font-weight: 700;
}

.success-headline {
  font-family: 'Inter', sans-serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 12px;
}

.success-body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #666666;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .modal-container {
    padding: 32px 20px;
    width: 95%;
    max-height: 90vh;
  }

  .form-grid-2col,
  .form-grid-3col {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .modal-headline {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   Section 6: The Founder (Diamond White, sticky portrait + narrative)
   ========================================================================== */
.founder-section {
  width: 100%;
  background-color: #F5F5F7;
  color: #111111;
  padding: 8rem 0 9rem 0;
  border-top: 1px solid #CCCCCC;
  position: relative;
  z-index: 20;
}

.founder-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
}

.founder-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: start;
}

.founder-portrait {
  position: -webkit-sticky;
  position: sticky;
  top: 140px;
  padding-right: 3.5rem;
}

.founder-img {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  background-color: #DADADA; /* placeholder tone while the image loads */
  border: 1px solid #111111;
  border-radius: 0px;
  filter: grayscale(1);
}

.founder-content {
  padding-left: 5rem;
  border-left: 1px solid #CCCCCC;
}

.founder-eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: #111111;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.founder-eyebrow::before {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  background-color: #B8652A; /* copper, sampled from the hero render */
  flex-shrink: 0;
}

.founder-h2 {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 800;
  color: #111111;
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 14ch;
  margin-bottom: 3.5rem;
}

.founder-body {
  max-width: 620px;
}

.founder-body p {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: #333333;
  line-height: 1.7;
  letter-spacing: -0.01em;
  margin-bottom: 1.35rem;
}

.founder-body .founder-emphasis {
  font-size: 1.2rem;
  font-weight: 600;
  color: #111111;
  line-height: 1.5;
  margin-bottom: 2rem;
}

.founder-body .founder-principle {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 700;
  color: #111111;
  line-height: 1.25;
  letter-spacing: -0.02em;
  padding-left: 1.5rem;
  border-left: 2px solid #B8652A;
  margin: 0.5rem 0 0 0;
}

.founder-signature {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 3rem;
}

.founder-name {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #111111;
}

.founder-role {
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  color: #555555;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.founder-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 620px;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #CCCCCC;
}

.contact-label {
  display: block;
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #666666;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.contact-link {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #111111;
  text-decoration: none;
  border-bottom: 1px solid #999999;
  padding-bottom: 2px;
  overflow-wrap: anywhere;
  transition: border-color 0.2s ease;
}

.contact-link:hover {
  border-bottom-color: #111111;
}

.contact-link:focus-visible {
  outline-color: #111111;
}

@media (max-width: 1024px) {
  .founder-container {
    padding: 0 2rem;
  }

  .founder-grid {
    grid-template-columns: 42% 58%;
  }

  .founder-portrait {
    padding-right: 2rem;
  }

  .founder-content {
    padding-left: 3rem;
  }
}

@media (max-width: 768px) {
  .founder-section {
    padding: 5rem 0 6rem 0;
  }

  .founder-container {
    padding: 0 1.5rem;
  }

  .founder-grid {
    grid-template-columns: 1fr;
  }

  .founder-portrait {
    position: relative;
    top: 0;
    padding-right: 0;
    margin-bottom: 3.5rem;
  }

  .founder-img {
    max-width: 360px;
  }

  .founder-content {
    padding-left: 0;
    border-left: none;
  }

  .founder-h2 {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 480px) {
  .founder-contact {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   Site Footer
   ========================================================================== */
.site-footer {
  width: 100%;
  background-color: #000000;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5rem 0 2.5rem 0;
  position: relative;
  z-index: 20;
}

.footer-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  text-decoration: none;
}

.footer-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #A3A3A3;
  line-height: 1.6;
  max-width: 300px;
  margin-top: 1rem;
}

.footer-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: #8A8A8A;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-list a,
.footer-email {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #D1D1D1;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.footer-list a:hover,
.footer-email:hover {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: #B8652A;
  text-underline-offset: 4px;
}

.footer-bottom {
  padding-top: 2rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #8A8A8A;
}

@media (max-width: 1024px) {
  .footer-container {
    padding: 0 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding-top: 4rem;
  }

  .footer-container {
    padding: 0 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.25rem;
    padding-bottom: 3rem;
  }
}

/* ==========================================================================
   Secondary pages (Legal pages share the homepage's dark-to-light rhythm)
   ========================================================================== */
.page-hero {
  width: 100%;
  background-color: #000000;
  color: #FFFFFF;
  padding: calc(90px + 6rem) 0 5rem 0;
}

.page-hero-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
}

.page-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.6rem, 5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-top: 20px;
}

.page-meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.85rem;
  color: #A3A3A3;
  letter-spacing: 0.05em;
  margin-top: 1.5rem;
}

.legal-section {
  width: 100%;
  background-color: #F5F5F7;
  color: #111111;
  padding: 6rem 0 8rem 0;
  border-top: 1px solid #111111;
}

.legal-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: 30% 70%;
  align-items: start;
}

.legal-toc {
  position: -webkit-sticky;
  position: sticky;
  top: 140px;
  padding-right: 3rem;
}

.legal-toc .footer-label {
  color: #555555;
}

.legal-toc ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  counter-reset: toc;
}

.legal-toc li {
  counter-increment: toc;
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.legal-toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: #888888;
  padding-top: 0.15em;
}

.legal-toc a {
  color: #333333;
  text-decoration: none;
}

.legal-toc a:hover {
  color: #111111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content {
  max-width: 760px;
  padding-left: 4rem;
  border-left: 1px solid #CCCCCC;
}

.legal-content h2 {
  font-family: 'Inter', sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 3.5rem 0 1rem 0;
  scroll-margin-top: 120px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  font-family: 'Inter', sans-serif;
  font-size: 1.025rem;
  color: #333333;
  line-height: 1.7;
  letter-spacing: -0.01em;
}

.legal-content p + p {
  margin-top: 1rem;
}

.legal-content ul {
  margin: 1rem 0 1rem 1.25rem;
}

.legal-content li + li {
  margin-top: 0.4rem;
}

.legal-content .legal-intro {
  font-size: 1.15rem;
  color: #111111;
}

.legal-content a {
  color: #111111;
  text-decoration: underline;
  text-decoration-color: #999999;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.legal-content a:hover {
  text-decoration-color: #111111;
}

.legal-content a:focus-visible,
.legal-toc a:focus-visible {
  outline-color: #111111;
}

@media (max-width: 1024px) {
  .page-hero-container,
  .legal-container {
    padding: 0 2rem;
  }
}

@media (max-width: 900px) {
  .legal-container {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    display: none;
  }

  .legal-content {
    padding-left: 0;
    border-left: none;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: calc(90px + 3.5rem) 0 3.5rem 0;
  }

  .page-hero-container,
  .legal-container {
    padding: 0 1.5rem;
  }

  .legal-section {
    padding: 4rem 0 6rem 0;
  }
}

/* 404 page: reuses the hero canvas, adds a secondary action row */
.notfound-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.notfound-contact {
  margin-top: 2rem;
  font-size: 0.95rem;
  color: #A3A3A3;
}

.notfound-contact a {
  color: #FFFFFF;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
