/* ── Variables ─────────────────────────────────────────── */
:root {
  --ink:   #1A1714;
  --paper: #F0EBE1;
  --rust:  #B84C2B;
  --smoke: #3D3830;
  --ash:   #8C8278;
  --ember: #D4622A;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Mono', monospace;
  font-weight: 400;
  background: var(--ink);
  color: var(--ash);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Noise texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--rust); border-radius: 2px; }

img, svg, video { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  color: var(--paper);
  line-height: 1.15;
}

strong { color: var(--paper); }

/* ── Navigation ─────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(26, 23, 20, 0.85);
  border-bottom: 1px solid rgba(184, 76, 43, 0.2);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--rust);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ash);
  text-decoration: none;
  transition: color 200ms ease;
}

.nav-links a:hover { color: var(--paper); }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ash);
  border-radius: 2px;
  transition: background 200ms ease;
}

.nav-toggle:hover span { background: var(--paper); }

/* Mobile full-screen overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}

.nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay a {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--paper);
  text-decoration: none;
  transition: color 200ms ease;
}

.nav-overlay a:hover { color: var(--rust); }

.overlay-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--ash);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 200ms ease;
  line-height: 1;
}

.overlay-close:hover { color: var(--paper); }

/* ── Shared layout ──────────────────────────────────────── */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rust);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--rust);
  flex-shrink: 0;
}

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 3rem;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem;
  width: 100%;
}

.eyebrow {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rust);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 2rem;
  height: 1px;
  background: var(--rust);
  flex-shrink: 0;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(3rem, 6vw, 5.5rem);
  color: var(--paper);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

h1 em {
  font-style: italic;
  color: var(--rust);
}

.hero-sub {
  color: var(--ash);
  font-size: 0.92rem;
  max-width: 48ch;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.hero-cta {
  font-family: 'DM Mono', monospace;
  font-size: 0.88rem;
  color: var(--ash);
  text-decoration: underline;
  text-decoration-color: var(--rust);
  text-underline-offset: 4px;
  transition: color 200ms ease;
}

.hero-cta:hover { color: var(--rust); }

.hero-stats {
  display: flex;
  flex-direction: row;
  gap: 0;
  margin-top: 3rem;
  border-top: 1px solid var(--smoke);
  padding-top: 2rem;
}

.stat {
  flex: 1;
  text-align: left;
  padding-right: 2rem;
}

.stat + .stat {
  padding-left: 2rem;
  padding-right: 2rem;
  border-left: 1px solid var(--smoke);
}

.stat:last-child {
  padding-right: 0;
}

.stat-num {
  display: block;
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 2.6rem;
  color: var(--rust);
  line-height: 1;
}

.stat-label {
  display: block;
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ash);
  margin-top: 0.25rem;
}

/* ── About ──────────────────────────────────────────────── */
.about-section {
  padding: 7rem 0;
  border-top: 1px solid var(--smoke);
  background: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4.5rem;
  align-items: start;
}

.about-portrait {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--smoke);
  overflow: hidden;
}

/* Decorative corner brackets */
.about-portrait::before,
.about-portrait::after {
  content: '';
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  z-index: 2;
  pointer-events: none;
}

.about-portrait::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--rust);
  border-left: 2px solid var(--rust);
}

.about-portrait::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--rust);
  border-right: 2px solid var(--rust);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
  position: relative;
  z-index: 1;
}

/* Fallback initials shown when no image */
.portrait-initials {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 4rem;
  color: var(--ash);
  opacity: 0.2;
  z-index: 0;
}

.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
  font-size: 0.88rem;
  line-height: 1.85;
}

.pull-quote {
  border-left: 2px solid var(--rust);
  padding: 0.75rem 0 0.75rem 1.5rem;
  margin: 2rem 0;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.08rem;
  color: var(--paper);
  line-height: 1.6;
}

/* ── Journeys ───────────────────────────────────────────── */
.journeys-section {
  padding: 7rem 0;
  background: var(--smoke);
}

.journeys-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 3rem;
}

.journeys-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--ash);
}

.journey-card {
  background: var(--ink);
  padding: 2rem;
  position: relative;
  transition: background 250ms ease;
  cursor: default;
  overflow: hidden;
}

.journey-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms ease;
}

.journey-card:hover { background: #211E1B; }
.journey-card:hover::before { transform: scaleX(1); }

.card-num {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--rust);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.journey-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
}

.card-sub {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rust);
  margin-bottom: 1rem;
}

.card-desc {
  font-size: 0.83rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.card-meta {
  border-top: 1px solid var(--smoke);
  padding-top: 1rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  padding: 0.3rem 0;
  color: var(--ash);
}

.meta-row span:first-child {
  color: var(--paper);
  opacity: 0.45;
}

/* ── Method ─────────────────────────────────────────────── */
.method-section {
  padding: 7rem 0;
  border-top: 1px solid var(--smoke);
  background: var(--ink);
}

.method-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 5rem;
  align-items: start;
}

.method-steps h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 2.5rem;
}

.step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--smoke);
  align-items: start;
}

.step:last-child { border-bottom: none; }

.step-num {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 2rem;
  color: var(--smoke);
  line-height: 1;
  transition: color 250ms ease;
  padding-top: 0.1rem;
}

.step:hover .step-num { color: var(--rust); }

.step-content h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--paper);
  margin-bottom: 0.4rem;
}

.step-content p {
  font-size: 0.84rem;
  line-height: 1.75;
}

.method-aside {
  background: var(--smoke);
  padding: 2.5rem;
  position: relative;
  top: 7.5rem;
}

.method-aside::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 7rem;
  color: var(--rust);
  opacity: 0.4;
  position: absolute;
  top: -2rem;
  left: 1.5rem;
  line-height: 1;
  pointer-events: none;
}

.method-aside blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--paper);
  line-height: 1.65;
  padding-top: 1.75rem;
}

.method-aside cite {
  display: block;
  margin-top: 1.25rem;
  font-family: 'DM Mono', monospace;
  font-style: normal;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--rust);
}

/* ── Vault ──────────────────────────────────────────────── */
.vault-section {
  padding: 7rem 0;
  background: var(--smoke);
}

.vault-inner {
  max-width: 680px;
}

.vault-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1.5rem;
}

.vault-lock {
  font-size: 3rem;
  opacity: 0.35;
  margin: 1.5rem 0;
  display: block;
}

.vault-inner p {
  font-size: 0.88rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}

.vault-restricted {
  display: inline-block;
  border: 1px solid var(--ash);
  padding: 0.75rem 2.5rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--ash);
  margin-top: 2rem;
}

/* ── Contact ────────────────────────────────────────────── */
.contact-section {
  padding: 7rem 0;
  border-top: 1px solid var(--smoke);
  background: var(--ink);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.contact-info > p {
  font-size: 0.86rem;
  line-height: 1.85;
  margin-bottom: 2rem;
}

.contact-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: var(--ash);
  font-size: 0.84rem;
  transition: color 200ms ease;
}

.contact-link:hover { color: var(--rust); }

.contact-link:hover .contact-icon {
  border-color: var(--rust);
}

.contact-icon {
  width: 2.25rem;
  height: 2.25rem;
  border: 1px solid var(--smoke);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--ash);
  flex-shrink: 0;
  transition: border-color 200ms ease;
  overflow: hidden;
}

.contact-icon img {
  width: 1.2rem;
  height: 1.2rem;
  object-fit: contain;
}

.contact-signup {
  background: var(--smoke);
  padding: 2.5rem;
}

.contact-signup h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.contact-signup > p {
  font-size: 0.84rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.signup-form input {
  background: var(--ink);
  border: 1px solid var(--smoke);
  color: var(--paper);
  font-family: 'DM Mono', monospace;
  font-size: 0.84rem;
  padding: 0.9rem 1rem;
  outline: none;
  transition: border-color 200ms ease;
  width: 100%;
}

.signup-form input::placeholder {
  color: var(--rust);
  opacity: 0.5;
}

.signup-form input:focus { border-color: var(--rust); }

.signup-form button {
  background: var(--rust);
  border: none;
  color: var(--paper);
  font-family: 'DM Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.9rem 1rem;
  cursor: pointer;
  transition: background 200ms ease;
}

.signup-form button:hover { background: var(--ember); }

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--smoke);
  background: var(--ink);
  padding: 2rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--rust);
  font-size: 1rem;
}

.footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  color: var(--ash);
  letter-spacing: 0.06em;
}

/* ── Scroll Reveal ──────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1024px) {


  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    max-width: 280px;
    margin-inline: auto;
    aspect-ratio: 1 / 1;
  }

  .method-grid {
    grid-template-columns: 1fr;
  }

  .method-aside {
    top: 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-inner,
  .section-inner {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .journeys-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .hero-inner {
    padding: 2rem 1.4rem;
  }

  .section-inner {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }

  h1 {
    font-size: clamp(2.4rem, 10vw, 3rem);
  }

  .journeys-grid {
    grid-template-columns: 1fr;
  }

  .about-portrait {
    max-width: 100%;
    aspect-ratio: 1 / 1;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .about-section,
  .journeys-section,
  .method-section,
  .vault-section,
  .contact-section {
    padding: 4rem 0;
  }
}

@media (max-width: 380px) {
  h1 { font-size: 2.4rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
