/* Page-scoped token overrides (were this page's own :root values; differ from css/tokens.css):
   --bg-warm, --bg-card, --border, --border-mid, --radius, --t-fast.
   --ink-dim is no longer overridden here (E6): the shared token #c4b3a1 gives AA on every surface of this page. */
:root {
  --bg-warm:    #110e0b;
  --bg-card:    #181410;
  --border:     rgba(201,122,62,0.15);
  --border-mid: rgba(201,122,62,0.25);
  --radius:     4px;
  --t-fast:     0.25s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    /* :root tokens moved to css/tokens.css */

    html { scroll-behavior: smooth; }

    body {
      background: var(--bg);
      color: var(--ink);
      font-family: var(--sans);
      font-weight: 300;
      line-height: 1.7;
      overflow-x: hidden;
    }

    /* ── NAV ── */
    .e-nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 1.5rem 2.5rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(to bottom, rgba(13,11,9,0.9), transparent);
      transition: backdrop-filter 0.3s ease, background 0.3s ease;
    }
    .e-nav.scrolled {
      backdrop-filter: blur(12px);
      background: rgba(13,11,9,0.88);
    }
    .e-nav-logo {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      font-family: var(--serif);
      font-size: 1rem;
      font-weight: 400;
      letter-spacing: 0.08em;
      color: var(--ink);
      text-decoration: none;
    }
    .e-nav-back {
      display: inline-flex;
      align-items: center;
      min-height: 44px;
      padding: 0 0.25rem;
      font-size: 0.6rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--ink-dim);
      text-decoration: none;
      transition: color var(--t-fast);
    }
    .e-nav-back:hover { color: var(--ember); }

    /* ── HERO ── */
    .e-hero {
      position: relative;
      height: 100svh;
      min-height: 600px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: flex-end;
      padding-bottom: clamp(3rem, 8vw, 6rem);
      text-align: center;
      overflow: hidden;
    }
    .e-hero-img {
      position: absolute;
      inset: 0;
      display: block;
      filter: brightness(0.7);
      transform: scale(1.04);
      animation: heroZoom 20s ease-out forwards;
    }
    .e-hero-img img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center 35%;
    }
    @keyframes heroZoom { to { transform: scale(1); } }
    .e-hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        to bottom,
        rgba(13,11,9,0.2) 0%,
        rgba(13,11,9,0.1) 35%,
        rgba(13,11,9,0.7) 75%,
        rgba(13,11,9,1) 100%
      );
    }
    .e-hero-content {
      position: relative;
      z-index: 2;
      max-width: 700px;
      padding: 0 2rem;
    }
    .e-label {
      display: block;
      font-size: 0.6rem;
      letter-spacing: 0.28em;
      text-transform: uppercase;
      color: var(--ember);
      margin-bottom: 1rem;
    }
    .e-hero-title {
      font-family: var(--serif);
      font-size: clamp(2.8rem, 8vw, 6rem);
      font-weight: 300;
      font-style: italic;
      line-height: 1.05;
      color: var(--ink);
      margin-bottom: 1.5rem;
    }
    .e-hero-sub {
      font-size: clamp(0.8rem, 1.5vw, 0.95rem);
      color: var(--ink-dim);
      letter-spacing: 0.08em;
      margin-bottom: 2.5rem;
    }
    .e-hero-meta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 2rem;
      flex-wrap: wrap;
      margin-bottom: 2.5rem;
    }
    .e-hero-meta-item {
      text-align: center;
    }
    .e-hero-meta-item strong {
      display: block;
      font-family: var(--serif);
      font-size: 1.4rem;
      font-weight: 400;
      color: var(--ink);
      line-height: 1.1;
    }
    .e-hero-meta-item span {
      font-size: 0.58rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--ink-dim);
    }
    .e-hero-divider {
      width: 1px;
      height: 2rem;
      background: var(--border-mid);
    }

    /* ── BUTTONS ── */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: relative;
      padding: 1rem 2.5rem;
      font-family: var(--sans);
      font-size: 0.72rem;
      font-weight: 400;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--ink);
      text-decoration: none;
      border: 1px solid var(--border-mid);
      border-radius: var(--radius);
      overflow: hidden;
      transition: color var(--t-fast), border-color var(--t-fast);
      cursor: pointer;
      background: transparent;
    }
    .btn::before {
      content: '';
      position: absolute;
      inset: 0;
      background: var(--ember);
      opacity: 0;
      transition: opacity var(--t-fast);
    }
    .btn:hover { color: var(--bg); }
    .btn:hover::before { opacity: 1; }
    .btn span { position: relative; z-index: 1; }
    .btn--lg { padding: 1.2rem 3.5rem; font-size: 0.78rem; }
    .btn--ghost {
      border-color: rgba(240,230,211,0.2);
      color: var(--ink-dim);
    }

    /* ── DIVIDER ── */
    .ember-divider {
      width: 100%;
      height: 1px;
      background: linear-gradient(to right, transparent, var(--ember), transparent);
      opacity: 0.25;
      margin: 0;
    }

    /* ── SECTIONS ── */
    .e-section {
      max-width: 760px;
      margin: 0 auto;
      padding: 5rem 2rem;
      text-align: center;
    }
    .e-section--wide {
      max-width: 1100px;
      margin: 0 auto;
      padding: 5rem 2rem;
    }
    .e-section h2 {
      font-family: var(--serif);
      font-size: clamp(2rem, 5vw, 3.2rem);
      font-weight: 300;
      font-style: italic;
      line-height: 1.2;
      color: var(--ink);
      margin-bottom: 1.5rem;
    }
    .e-section p {
      font-size: 0.95rem;
      color: var(--ink-dim);
      line-height: 1.8;
      margin-bottom: 1.2rem;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    .e-section p strong {
      color: var(--ink);
      font-weight: 400;
    }

    /* ── WHAT SECTION (cards) ── */
    .e-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1.5rem;
      text-align: left;
      margin-top: 3rem;
    }
    .e-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 2rem 1.5rem;
    }
    .e-card-num {
      font-family: var(--serif);
      font-size: 2rem;
      color: var(--ember);
      line-height: 1;
      margin-bottom: 1rem;
    }
    .e-card h3 {
      font-family: var(--serif);
      font-size: 1.2rem;
      font-weight: 400;
      color: var(--ink);
      margin-bottom: 0.6rem;
    }
    .e-card p {
      font-size: 0.82rem;
      color: var(--ink-dim);
      line-height: 1.7;
      margin: 0;
      max-width: none;
    }

    /* ── TIMELINE (flow) ── */
    .e-timeline {
      display: flex;
      flex-direction: column;
      gap: 0;
      margin-top: 3rem;
      text-align: left;
      max-width: 560px;
      margin-left: auto;
      margin-right: auto;
    }
    .e-timeline-item {
      display: grid;
      grid-template-columns: 48px 1fr;
      gap: 1.25rem;
      position: relative;
    }
    .e-timeline-item:not(:last-child)::after {
      content: '';
      position: absolute;
      left: 23px;
      top: 44px;
      bottom: -1.5rem;
      width: 1px;
      background: var(--border);
    }
    .e-timeline-num {
      width: 48px;
      height: 48px;
      border: 1px solid var(--border-mid);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.65rem;
      letter-spacing: 0.1em;
      color: var(--ember);
      flex-shrink: 0;
      margin-top: 0.1rem;
    }
    .e-timeline-body {
      padding-bottom: 2.5rem;
    }
    .e-timeline-body h3 {
      font-family: var(--serif);
      font-size: 1.15rem;
      font-weight: 400;
      color: var(--ink);
      margin-bottom: 0.4rem;
      line-height: 1.2;
    }
    .e-timeline-body p {
      font-size: 0.82rem;
      color: var(--ink-dim);
      line-height: 1.7;
      margin: 0;
      max-width: none;
    }
    .e-timeline-body p + p { margin-top: 0.5rem; }

    /* ── PREP LIST ── */
    .e-prep {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
      margin-top: 3rem;
      text-align: left;
    }
    .e-prep-block {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--radius);
      padding: 1.75rem 1.5rem;
    }
    .e-prep-block h3 {
      font-size: 0.6rem;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--ember);
      margin-bottom: 1rem;
    }
    .e-prep-block ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.6rem;
    }
    .e-prep-block ul li {
      font-size: 0.85rem;
      color: var(--ink-dim);
      line-height: 1.5;
      padding-left: 1rem;
      position: relative;
    }
    .e-prep-block ul li::before {
      content: '\00B7';
      position: absolute;
      left: 0;
      color: var(--ember);
      opacity: 0.5;
    }

    /* ── QUOTE ── */
    .e-quote {
      background: var(--bg-warm);
      border-left: 2px solid var(--ember);
      padding: 2rem 2.5rem;
      margin: 3rem auto;
      max-width: 600px;
      text-align: left;
    }
    .e-quote blockquote {
      font-family: var(--serif);
      font-size: clamp(1.1rem, 2.5vw, 1.5rem);
      font-weight: 300;
      font-style: italic;
      color: var(--ink);
      line-height: 1.6;
    }
    .e-quote cite {
      display: block;
      margin-top: 0.75rem;
      font-size: 0.58rem;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: var(--ember);
      font-style: normal;
    }

    /* ── FAQ ── */
    .e-faq {
      display: flex;
      flex-direction: column;
      gap: 0;
      margin-top: 2.5rem;
      text-align: left;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }
    .e-faq details {
      border-bottom: 1px solid var(--border);
    }
    .e-faq details:first-child {
      border-top: 1px solid var(--border);
    }
    .e-faq summary {
      padding: 1.25rem 0;
      font-size: 0.88rem;
      color: var(--ink);
      cursor: pointer;
      list-style: none;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 1rem;
    }
    .e-faq summary::-webkit-details-marker { display: none; }
    .e-faq summary::after {
      content: '+';
      color: var(--ember);
      font-size: 1.1rem;
      flex-shrink: 0;
      transition: transform var(--t-fast);
    }
    .e-faq details[open] summary::after { transform: rotate(45deg); }
    .e-faq details p {
      font-size: 0.85rem;
      color: var(--ink-dim);
      padding-bottom: 1.25rem;
      line-height: 1.7;
      max-width: none;
      margin: 0;
    }

    /* ── CTA BLOCK ── */
    .e-cta {
      background: var(--bg-warm);
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 5rem 2rem;
      text-align: center;
    }
    .e-cta h2 {
      font-family: var(--serif);
      font-size: clamp(2rem, 5vw, 3.5rem);
      font-weight: 300;
      font-style: italic;
      color: var(--ink);
      margin-bottom: 1rem;
    }
    .e-cta p {
      font-size: 0.88rem;
      color: var(--ink-dim);
      margin-bottom: 2.5rem;
      max-width: 480px;
      margin-left: auto;
      margin-right: auto;
    }
    .e-cta-note {
      font-size: 0.65rem;
      letter-spacing: 0.1em;
      color: var(--ink-dim);
      margin-top: 1.25rem;
    }
    .e-inline-link {
      color: var(--ember-soft);
      text-decoration: underline;
      text-underline-offset: 3px;
    }
    .e-inline-link:hover { color: var(--ink); }

    /* ── FOOTER ── */
    .e-footer {
      padding: 2.5rem 2rem;
      text-align: center;
      font-size: 0.65rem;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--ink-dim);
    }
    .e-footer p + p { margin-top: 0.5rem; }
    .e-footer a {
      color: var(--ink-dim);
      text-decoration: none;
    }
    .e-footer a:hover { color: var(--ember); }

    /* ── MOBILE ── */
    @media (max-width: 768px) {
      .e-nav { padding: 1.25rem 1.5rem; }
      .e-cards { grid-template-columns: 1fr; }
      .e-prep { grid-template-columns: 1fr; }
      .e-hero-divider { display: none; }
      .e-hero-meta { gap: 1.25rem; }
      .e-section { padding: 3.5rem 1.25rem; }
      .e-section--wide { padding: 3.5rem 1.25rem; }
      .e-cta { padding: 3.5rem 1.25rem; }
      .e-quote { padding: 1.5rem; margin: 2rem auto; }
    }

    /* ── REDUCED MOTION (E1) ── */
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .e-hero-img { animation: none; transform: none; }
      .e-nav, .btn, .btn::before, .e-nav-back, .e-faq summary::after { transition: none; }
    }
