/* Metric-matched fallback for Inter: prevents layout shift (CLS) when the web font swaps in */
    @font-face {
      font-family: 'Inter Fallback';
      src: local('Arial'), local('Helvetica'), local('Liberation Sans');
      size-adjust: 107.12%;
      ascent-override: 90.44%;
      descent-override: 22.52%;
      line-gap-override: 0%;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    :root {
      --dark:   #1B261E;
      --card:   #222e25;
      --cream:  #FDFBF7;
      --sage:   #A3AD8B;
      --sage2:  #98A282;
      --border: rgba(163,173,139,0.28);
    }
    html { scroll-behavior: smooth; }
    body {
      background: var(--dark);
      color: var(--cream);
      font-family: 'Inter', 'Inter Fallback', sans-serif;
      font-size: 17px;
      line-height: 1.65;
      -webkit-font-smoothing: antialiased;
    }

    /* NAV */
    nav {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      display: flex; justify-content: space-between; align-items: center;
      padding: 20px 48px;
      border-bottom: 1px solid transparent;
      transition: border-color 0.3s, background 0.3s;
    }
    nav.scrolled {
      background: rgba(27,38,30,0.92);
      backdrop-filter: blur(12px);
      border-color: var(--border);
    }
    .nav-logo { font-size: 20px; font-weight: 900; letter-spacing: -0.5px; color: var(--cream); text-decoration: none; flex-shrink: 0; }
    .nav-actions { display: flex; gap: 12px; align-items: center; }
    .nav-cta {
      background: var(--cream); color: var(--dark);
      font-weight: 700; font-size: 14px;
      padding: 10px 22px; border-radius: 100px;
      text-decoration: none; transition: opacity 0.2s;
      white-space: nowrap;
      display: inline-flex; align-items: center; justify-content: center;
    }
    .nav-cta:hover { opacity: 0.85; }
    .mobile-text { display: none; }

    /* SHARED SECTION */
    section { padding: 120px 48px; max-width: 1100px; margin: 0 auto; }

    /* HERO */
    #hero {
      min-height: 85vh; display: flex; flex-direction: column;
      justify-content: center; padding-top: 100px; padding-bottom: 40px;
      max-width: 100%; padding-left: 8vw; padding-right: 8vw;
      position: relative; overflow: hidden;
    }
    .hero-label {
      font-size: 12px; font-weight: 700; letter-spacing: 3px;
      color: var(--sage); text-transform: uppercase; margin-bottom: 16px;
    }
    h1 {
      font-size: clamp(32px, 4.5vw, 58px); font-weight: 900;
      line-height: 1.12; letter-spacing: -0.025em; color: var(--cream); max-width: 850px;
    }
    h1 em { font-style: normal; color: var(--sage); }
    .hero-sub {
      margin-top: 20px; font-size: clamp(15px, 1.4vw, 18px);
      color: var(--sage); max-width: 560px; line-height: 1.55;
    }
    .hero-cta {
      display: inline-flex; align-items: center; gap: 10px;
      background: var(--cream); color: var(--dark); font-weight: 800; font-size: 15px;
      padding: 14px 28px; border-radius: 100px; text-decoration: none;
      transition: opacity 0.2s, transform 0.2s;
      white-space: nowrap;
    }
    .hero-cta:hover { opacity: 0.9; transform: translateY(-2px); }
    .hero-bg-text {
      position: absolute; bottom: -20px; right: -10px;
      font-size: clamp(120px, 18vw, 280px); font-weight: 900;
      color: rgba(143,151,121,0.04); letter-spacing: -8px;
      user-select: none; pointer-events: none; line-height: 1;
    }

    /* STORY */
    #story { border-top: 1px solid var(--border); }
    .section-label {
      font-size: 11px; font-weight: 700; letter-spacing: 3px;
      color: var(--sage2); text-transform: uppercase; margin-bottom: 48px;
    }
    .pull-quote {
      font-size: clamp(22px, 3vw, 38px); font-weight: 700; font-style: italic;
      line-height: 1.4; color: var(--cream); max-width: 760px;
      border-left: 3px solid var(--sage); padding-left: 32px; margin-bottom: 48px;
    }
    .story-body {
      color: var(--sage); font-size: 18px; line-height: 1.8;
      max-width: 680px; padding-left: 32px;
    }
    .story-body p + p { margin-top: 20px; }
    .story-body strong { color: var(--cream); font-weight: 700; }

    /* TIMELINE */
    #timeline { border-top: 1px solid var(--border); }
    .timeline-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 24px; padding: 48px; margin-top: 48px;
    }
    .timeline-note { font-size: 13px; color: var(--sage2); margin-bottom: 40px; font-style: italic; }
    .timeline-item {
      display: grid; grid-template-columns: 70px 8px 200px 1fr;
      align-items: center; gap: 0 20px;
      padding: 18px 0; border-bottom: 1px solid var(--border);
      opacity: 0; transform: translateY(12px);
      transition: opacity 0.5s, transform 0.5s;
    }
    .timeline-item.visible { opacity: 1; transform: none; }
    .timeline-item:last-child { border-bottom: none; }
    .t-year { font-size: 13px; font-weight: 700; color: var(--sage); text-align: right; }
    .t-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sage); justify-self: center; }
    .t-name { font-size: 15px; font-weight: 700; color: var(--cream); }
    .t-desc { font-size: 14px; color: var(--sage); }
    .timeline-footer { margin-top: 32px; font-size: 13px; font-style: italic; color: var(--sage2); text-align: right; }

    /* CRAWLABLE VERIFIED DIRECTORY */
    .dir-wrap { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
    .dir-details {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 18px; overflow: hidden;
    }
    .dir-summary {
      padding: 20px 26px; cursor: pointer; list-style: none;
      display: flex; justify-content: space-between; align-items: center; gap: 12px;
      font-size: 16px; font-weight: 800; color: var(--cream);
      user-select: none;
    }
    .dir-summary::-webkit-details-marker { display: none; }
    .dir-summary-sub { font-size: 13px; font-weight: 600; color: var(--sage); margin-left: 8px; }
    .dir-toggle-pill {
      font-size: 12px; font-weight: 700; color: #E2B04E;
      border: 1px solid rgba(226, 176, 78, 0.45); background: rgba(226, 176, 78, 0.1);
      padding: 5px 12px; border-radius: 100px; white-space: nowrap; flex-shrink: 0;
    }
    .dir-grid {
      display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 12px; padding: 0 26px 24px; border-top: 1px solid var(--border); padding-top: 20px;
    }
    .dir-item {
      background: rgba(27, 38, 30, 0.65); border: 1px solid var(--border);
      border-radius: 14px; padding: 14px 16px;
    }
    .dir-item-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 4px; }
    .dir-item-name { font-size: 14.5px; font-weight: 800; color: var(--cream); }
    .dir-item-loc { font-size: 12px; font-weight: 700; color: #E2B04E; white-space: nowrap; }
    .dir-item-spec { font-size: 12.5px; font-weight: 600; color: var(--sage); margin-bottom: 6px; }
    .dir-item-meta { font-size: 12px; color: var(--sage2); line-height: 1.45; }

    /* FEATURES */
    #features { border-top: 1px solid var(--border); }
    .features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 48px; }
    .feature-card {
      background: var(--card); border: 1px solid var(--border);
      border-radius: 20px; padding: 36px 32px;
    }
    .feature-icon { font-size: 28px; margin-bottom: 20px; display: block; }
    .feature-title { font-size: 18px; font-weight: 800; color: var(--cream); margin-bottom: 10px; }
    .feature-desc { font-size: 15px; color: var(--sage); line-height: 1.6; }

    @media (max-width: 960px) and (min-width: 769px) {
      .features-grid { grid-template-columns: repeat(2, 1fr); }
    }

    /* CTA */
    #cta { border-top: 1px solid var(--border); text-align: center; }
    .cta-headline {
      font-size: clamp(32px,5vw,60px); font-weight: 900;
      letter-spacing: -0.025em; line-height: 1.15; color: var(--cream);
      max-width: 700px; margin: 0 auto 16px;
    }
    .cta-sub { font-size: 16px; color: var(--sage); margin-bottom: 48px; }
    .platform-toggle {
      display: inline-flex; background: rgba(253,251,247,0.05);
      border: 1.5px solid var(--border); border-radius: 100px;
      padding: 5px; margin-bottom: 20px; gap: 4px;
    }
    .platform-btn {
      padding: 12px 28px; border-radius: 100px; border: none;
      background: transparent; color: var(--sage); font-weight: 700;
      font-size: 14px; cursor: pointer; font-family: 'Inter', 'Inter Fallback', sans-serif;
      display: flex; align-items: center; gap: 8px; transition: all 0.2s;
    }
    .platform-btn.active { background: rgba(143,151,121,0.2); color: var(--cream); }
    .input-row { display: flex; gap: 12px; max-width: 480px; margin: 0 auto; }
    .email-input {
      flex: 1; background: rgba(253,251,247,0.05); border: 1.5px solid var(--border);
      border-radius: 100px; padding: 16px 24px; color: var(--cream);
      font-size: 16px; font-family: 'Inter', 'Inter Fallback', sans-serif; outline: none;
      transition: border-color 0.2s;
    }
    .email-input::placeholder { color: var(--sage2); }
    .email-input:focus { border-color: var(--sage); }
    .submit-btn {
      background: var(--cream); color: var(--dark); font-weight: 800;
      font-size: 15px; padding: 16px 28px; border-radius: 100px; border: none;
      cursor: pointer; font-family: 'Inter', 'Inter Fallback', sans-serif; white-space: nowrap;
      transition: opacity 0.2s;
    }
    .submit-btn:hover { opacity: 0.85; }
    .submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }
    .cta-micro { margin-top: 16px; font-size: 13px; color: var(--sage2); font-style: italic; }
    .success-box {
      display: none; flex-direction: column; align-items: center; gap: 12px;
      background: rgba(143,151,121,0.08); border: 1px solid var(--sage);
      border-radius: 24px; padding: 40px; max-width: 480px; margin: 0 auto;
    }
    .success-icon { font-size: 48px; }
    .success-title { font-size: 22px; font-weight: 900; color: var(--cream); }
    .success-text { font-size: 15px; color: var(--sage); }

    /* FOOTER */
    footer {
      border-top: 1px solid var(--border); padding: 32px 48px;
      display: flex; justify-content: space-between; align-items: center;
      max-width: 1100px; margin: 0 auto;
    }
    .footer-logo { font-size: 16px; font-weight: 900; color: var(--sage); }
    .footer-note { font-size: 13px; color: var(--sage2); font-style: italic; }

    /* SCROLL ANIMATIONS */
    .fade-up {
      opacity: 0; transform: translateY(24px);
      transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .fade-up.visible { opacity: 1; transform: none; }

    /* MOBILE */
    @media (max-width: 768px) {
      nav {
        padding: 12px 16px;
        background: rgba(27,38,30,0.92);
        backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(143,151,121,0.18);
      }
      .nav-logo { font-size: 18px; }
      .nav-actions { gap: 8px; }
      nav .nav-cta { font-size: 12px; padding: 7px 13px; }
      .desktop-text { display: none; }
      .mobile-text { display: inline; }

      section { padding: 48px 20px; }
      #hero { padding: 86px 20px 36px; min-height: auto; }
      .hero-label { margin-bottom: 10px; font-size: 11px; letter-spacing: 2px; }
      h1 {
        font-size: clamp(28px, 8vw, 36px);
        line-height: 1.16;
        letter-spacing: -0.5px;
      }
      .hero-sub { margin-top: 14px; font-size: 15px; line-height: 1.55; }
      .hero-cta {
        padding: 14px 20px;
        font-size: 14px;
        width: 100%;
        justify-content: center;
      }
      .hero-btn-container {
        margin-top: 22px !important;
        flex-direction: column;
        gap: 10px !important;
        width: 100%;
      }
      .section-label { margin-bottom: 20px; }
      .pull-quote {
        padding-left: 18px;
        font-size: 20px;
        line-height: 1.45;
        margin-bottom: 28px;
      }
      .story-body { padding-left: 0; font-size: 16px; line-height: 1.7; }
      .timeline-card { padding: 24px 18px; margin-top: 24px; border-radius: 18px; }
      .timeline-note { margin-bottom: 20px; }
      .timeline-item {
        grid-template-columns: 44px 8px 1fr;
        gap: 4px 12px;
        padding: 14px 0;
        align-items: start;
      }
      .t-year { padding-top: 2px; font-size: 12px; }
      .t-dot { margin-top: 7px; }
      .t-name { grid-column: 3; font-size: 14px; }
      .t-desc {
        display: block;
        grid-column: 3;
        font-size: 13px;
        line-height: 1.45;
        color: var(--sage);
      }
      .timeline-footer { text-align: left; margin-top: 20px; }
      .features-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 24px; }
      .feature-card { padding: 24px 22px; border-radius: 16px; }
      .cta-headline { font-size: 30px; letter-spacing: -0.5px; }
      .cta-btn-group { width: 100%; flex-direction: column; gap: 10px !important; margin-top: 24px !important; }
      .input-row { flex-direction: column; }
      footer { flex-direction: column; gap: 12px; text-align: center; padding: 28px 20px; }
      .hero-bg-text { display: none; }
    }
