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

:root {
  /* Brand palette — Aurin Brand Guide v1.0 */
  --ivory:        #F5F0E8;
  --charcoal:     #1C1C1E;
  --gold:         #C9A96E;
  --gold-muted:   #b8925a;
  --blush:        #D4B8A8;
  --stone:        #8C7B72;
  --light-stone:  #E8DDD6;

  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans:  "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;

  --max-w: 1120px;
  --radius: 4px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── Scroll animations ────────────────────────────────────────────── */
.animate-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.animate-in.visible {
  opacity: 1;
  transform: none;
}
.animate-in--delay   { transition-delay: 0.1s; }
.animate-in--delay-1 { transition-delay: 0.1s; }
.animate-in--delay-2 { transition-delay: 0.2s; }
.animate-in--delay-3 { transition-delay: 0.3s; }

/* ─── Nav ──────────────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  height: 64px;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-stone);
}

.wordmark {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--charcoal);
}
.wordmark--footer {
  font-size: 1.3rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-links a:not(.btn-nav) {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--stone);
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.nav-links a:not(.btn-nav):hover { color: var(--charcoal); }

.btn-nav {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  color: var(--charcoal);
  transition: background 0.15s, color 0.15s;
}
.btn-nav:hover { background: var(--charcoal); color: var(--ivory); }

/* Mobile nav actions group */
.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}
.btn-nav--mobile {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--charcoal);
  border-radius: var(--radius);
  color: var(--charcoal);
  transition: background 0.15s, color 0.15s;
}
.btn-nav--mobile:hover { background: var(--charcoal); color: var(--ivory); }

/* Hamburger button */
.nav-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px 2px;
  width: 32px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--charcoal);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

/* Hamburger open state */
body.nav-open .nav-hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
body.nav-open .nav-hamburger span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
body.nav-open .nav-hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Mobile menu panel ─────────────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 64px;
  left: 0; right: 0;
  z-index: 99;
  background: rgba(245, 240, 232, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-stone);
  flex-direction: column;
  padding: 1.25rem 1.5rem 1.5rem;
  gap: 0;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
}
body.nav-open .mobile-menu {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu-wordmark {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  color: var(--charcoal);
  padding-bottom: 1rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--light-stone);
}

.mobile-menu-link {
  display: block;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--charcoal);
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--light-stone);
  letter-spacing: 0.02em;
}
.mobile-menu-link:last-child { border-bottom: none; }

/* ─── Buttons ──────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.75rem 2rem;
  background: var(--charcoal);
  color: var(--ivory);
  border-radius: var(--radius);
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: #2e2e30; transform: translateY(-1px); }
.btn-primary--large { padding: 0.9rem 2.5rem; font-size: 0.8125rem; }

.btn-text {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--stone);
  border-bottom: 1px solid var(--light-stone);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}
.btn-text:hover { color: var(--charcoal); border-color: var(--stone); }

/* ─── Eyebrow / shared labels ──────────────────────────────────────── */
.eyebrow,
.section-eyebrow {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.section-eyebrow--light { color: rgba(245,240,232,0.5); }

/* ─── Section headers ──────────────────────────────────────────────── */
.section-header { margin-bottom: 4rem; }
.section-header--centered { text-align: center; }

.section-header h2,
.section-header--centered h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}
.section-header h2 em,
.section-header--centered h2 em {
  font-style: italic;
  color: var(--gold);
}
.section-title--light {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--ivory);
  margin-bottom: 0;
}
.section-title--light em { font-style: italic; color: var(--gold); }

/* ─── Hero ─────────────────────────────────────────────────────────── */
.hero {
  padding-top: calc(64px + 6rem);
  padding-bottom: 6rem;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.hero-inner h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  margin-bottom: 2rem;
}
.hero-inner h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  max-width: 420px;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--light-stone);
  border: 1px solid var(--light-stone);
  border-radius: 6px;
  overflow: hidden;
}

.hero-card {
  background: var(--ivory);
  padding: 1.5rem 1.75rem;
  transition: background 0.15s;
}
.hero-card:hover { background: #f0ebe1; }
.hero-card--featured {
  background: var(--charcoal);
}
.hero-card--featured:hover { background: #2a2a2c; }

.hero-card-label {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.hero-card p {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--charcoal);
}
.hero-card--featured p { color: var(--ivory); }

/* ─── Statement band ───────────────────────────────────────────────── */
.statement-band {
  background: var(--charcoal);
  padding: 6rem 2.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.statement-band::after {
  content: '"';
  font-family: var(--font-serif);
  font-size: 320px;
  color: rgba(201, 169, 110, 0.05);
  position: absolute;
  top: -60px; right: 60px;
  line-height: 1;
  pointer-events: none;
}

.statement-band blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.3;
  color: var(--ivory);
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.statement-band blockquote em {
  font-style: italic;
  color: var(--gold);
}

.statement-sub {
  max-width: 520px;
  margin: 2rem auto 0;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* ─── Pillars ──────────────────────────────────────────────────────── */
.pillars {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 2.5rem;
  scroll-margin-top: 80px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--light-stone);
  border: 1px solid var(--light-stone);
}

.pillar {
  background: var(--ivory);
  padding: 2.5rem 2rem;
  transition: background 0.15s;
}
.pillar:hover { background: #f0ebe1; }

.pillar-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 300;
  color: rgba(201, 169, 110, 0.2);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.pillar h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}

.pillar-what {
  font-size: 0.6875rem;
  font-weight: 400;
  color: var(--stone);
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.pillar-voice {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--gold);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.pillar-desc {
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.7;
}

/* ─── Journey ──────────────────────────────────────────────────────── */
.journey {
  border-top: 1px solid var(--light-stone);
  padding: 6rem 2.5rem;
  max-width: var(--max-w);
  margin: 0 auto;
  scroll-margin-top: 80px;
}

.journey-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  position: relative;
}
.journey-list::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--gold);
  opacity: 0.3;
}

.journey-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 2.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--light-stone);
}
.journey-list li:last-child { border-bottom: none; }

.journey-step-marker {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding-top: 0.15rem;
}

.journey-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.journey-num {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  padding-top: 0.05rem;
}

.journey-content h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}
.journey-content p {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--stone);
  line-height: 1.75;
  max-width: 520px;
}

/* ─── Voice examples ───────────────────────────────────────────────── */
.voice {
  background: var(--charcoal);
  padding: 6rem 2.5rem;
}

.voice .section-header {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3.5rem;
}

.voice-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(245, 240, 232, 0.08);
  border: 1px solid rgba(245, 240, 232, 0.08);
}

.voice-card {
  background: var(--charcoal);
  padding: 2rem 2.25rem;
  transition: background 0.15s;
}
.voice-card:hover { background: #242426; }

.voice-card-label {
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.voice-card p {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.55;
}

/* ─── CTA ──────────────────────────────────────────────────────────── */
.cta {
  padding: 8rem 2.5rem;
  text-align: center;
  border-top: 1px solid var(--light-stone);
  background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(201,169,110,0.07) 0%, transparent 70%);
}

.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--charcoal);
  margin-bottom: 1.5rem;
}
.cta h2 em { font-style: italic; color: var(--gold); }

.cta-body {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--stone);
  margin-bottom: 2.5rem;
}

/* ─── Footer ───────────────────────────────────────────────────────── */
footer {
  background: var(--charcoal);
  padding: 2.25rem 2.5rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.75rem;
  font-weight: 300;
  color: var(--stone);
}


/* ─── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding-top: calc(64px + 4rem);
  }
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  /* Nav */
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-mobile-actions { display: flex; }

  /* Mobile menu panel — only visible when triggered by JS */
  .mobile-menu { display: flex; }

  /* Hero */
  .hero,
  .pillars,
  .journey,
  .cta {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
  .statement-band,
  .voice { padding-left: 1.25rem; padding-right: 1.25rem; }
  footer { padding-left: 1.25rem; padding-right: 1.25rem; }

  /* Hero cards — horizontal scroll strip */
  .hero-aside {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    border-radius: 4px;
    /* Extend to page edges for an immersive feel */
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    border-left: none;
    border-right: none;
    border-radius: 0;
    /* Hide scrollbar */
    scrollbar-width: none;
  }
  .hero-aside::-webkit-scrollbar { display: none; }

  .hero-card {
    min-width: 78vw;
    flex-shrink: 0;
    scroll-snap-align: start;
  }
  .hero-card:first-child { margin-left: 1.25rem; }
  .hero-card:last-child  { margin-right: 1.25rem; }

  /* Pillars */
  .pillars-grid { grid-template-columns: 1fr; }

  /* Journey */
  .journey-list::before { display: none; }
  .journey-list li {
    grid-template-columns: 1fr;
    gap: 0.875rem;
    padding: 2rem 0;
  }
  .journey-step-marker {
    flex-direction: row;
    align-items: center;
  }

  /* Voice */
  .voice-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 0.6rem; }

  /* Tone down animations on mobile for performance */
  .animate-in {
    transform: translateY(14px);
    transition-duration: 0.5s;
  }
}
