/* ============================================================
   AFT WEBSITE CSS
   Ancient Future Tantra -- Sacred Luxury Minimalism
   Author: Kirby Jacobson + Claude (Anthropic)
   April 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Lora:ital,wght@0,400;0,500;1,400&display=swap');

/* ---- VARIABLES -------------------------------------------- */
:root {
  --navy:        #19234B;
  --cream:       #FFF5D0;
  --gold:        #B8860B;
  --gold-light:  #D4A820;
  --maroon:      #6B1F2A;
  --warm-grey:   #5C5C5C;
  --black-veil:  rgba(10, 10, 20, 0.52);
  --dark-veil:   rgba(10, 10, 20, 0.68);
  --nav-bg:      rgba(25, 35, 75, 0.97);
  --transition:  0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ---- RESET ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lora', Georgia, serif;
  background: var(--navy);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ---- TYPOGRAPHY -------------------------------------------- */
.display-large {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.display-medium {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
}
.display-small {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  line-height: 1.3;
}
.gold-sub {
  font-family: 'Lora', serif;
  font-size: clamp(0.9rem, 1.6vw, 1.1rem);
  color: var(--gold-light);
  letter-spacing: 0.06em;
  font-style: italic;
  line-height: 1.7;
}
.body-text {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(1rem, 1.5vw, 1.1rem);
  line-height: 1.85;
  opacity: 0.92;
}
.small-caps {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-family: 'Lora', serif;
  color: var(--gold);
}

/* ---- NAVIGATION -------------------------------------------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 1.4rem 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}
.site-nav.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(14px);
  padding: 0.9rem 3.5rem;
  border-bottom-color: rgba(184, 134, 11, 0.25);
}
.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--cream);
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.8;
  transition: opacity 0.3s, color 0.3s;
  font-family: 'Lora', serif;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; color: var(--gold-light); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--cream);
  transition: var(--transition);
}

/* ---- HERO SECTIONS ----------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
.hero.loaded .hero-bg { transform: scale(1); }
.hero-veil {
  position: absolute;
  inset: 0;
  background: var(--black-veil);
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  padding: 0 2rem;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.2s ease 0.3s, transform 1.2s ease 0.3s;
}
.hero.loaded .hero-content { opacity: 1; transform: translateY(0); }

/* ---- CTA BUTTON -------------------------------------------- */
.btn-cta {
  display: inline-block;
  padding: 0.85rem 2.4rem;
  border: 1px solid var(--gold);
  color: var(--cream);
  font-family: 'Lora', serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.4s, color 0.4s;
  cursor: pointer;
  background: transparent;
}
.btn-cta:hover { background: var(--gold); color: var(--navy); }
.btn-cta-secondary {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid rgba(255, 245, 208, 0.35);
  color: var(--cream);
  font-family: 'Lora', serif;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: border-color 0.4s, background 0.4s;
  cursor: pointer;
  background: transparent;
}
.btn-cta-secondary:hover { border-color: var(--gold); background: rgba(184, 134, 11, 0.1); }

/* ---- CONTENT SECTIONS -------------------------------------- */
.content-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.content-section-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.content-section-veil {
  position: absolute;
  inset: 0;
  background: var(--dark-veil);
}
.section-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}
.section-inner.left { text-align: left; }
.gold-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 2rem auto;
}
.gold-rule.left { margin-left: 0; }

/* ---- GATEWAY PANELS ---------------------------------------- */
.gateways-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.gateway-panel {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.gateway-panel-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.8s ease;
}
.gateway-panel:hover .gateway-panel-bg { transform: scale(1.04); }
.gateway-panel-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,10,20,0.85) 0%, rgba(10,10,20,0.3) 55%, transparent 100%);
}
.gateway-panel-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
}
.gateway-panel-content .small-caps { margin-bottom: 0.75rem; display: block; }
.gateway-panel-content p {
  font-family: 'Lora', serif;
  font-size: 0.92rem;
  line-height: 1.7;
  opacity: 0.82;
  margin-top: 0.5rem;
}

/* ---- FARM ROTATION SECTION --------------------------------- */
.farm-section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
}
.farm-bg-container {
  position: absolute;
  inset: 0;
}
.farm-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2.5s ease;
}
.farm-bg-slide.active { opacity: 1; }
.farm-veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 20, 0.62);
}

/* ---- THREE QUESTIONS -------------------------------------- */
.questions-block { margin: 2.5rem 0; }
.question-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(184, 134, 11, 0.2);
}
.question-item:first-child { border-top: 1px solid rgba(184, 134, 11, 0.2); }
.question-number {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Lora', serif;
  margin-bottom: 0.5rem;
}
.question-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-style: italic;
  font-weight: 300;
  color: var(--cream);
  line-height: 1.4;
}

/* ---- PROCESS STEPS ---------------------------------------- */
.process-steps { margin: 2.5rem 0; }
.process-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(255, 245, 208, 0.08);
  align-items: start;
}
.process-step:last-child { border-bottom: none; }
.step-marker {
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  font-family: 'Lora', serif;
  flex-shrink: 0;
  margin-top: 2px;
}
.step-label {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Lora', serif;
  margin-bottom: 0.4rem;
}
.step-body { font-family: 'Lora', serif; font-size: 0.98rem; line-height: 1.75; opacity: 0.86; }

/* ---- INTAKE FORM ------------------------------------------ */
.intake-section {
  background: rgba(25, 35, 75, 0.55);
  border: 1px solid rgba(184, 134, 11, 0.22);
  padding: 3.5rem;
  max-width: 680px;
  margin: 0 auto;
}
.intake-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 2rem;
}
.form-field { margin-bottom: 1.75rem; }
.form-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Lora', serif;
  margin-bottom: 0.55rem;
}
.form-note {
  font-size: 0.84rem;
  font-style: italic;
  opacity: 0.65;
  margin-bottom: 0.55rem;
  line-height: 1.65;
  font-family: 'Lora', serif;
}
.form-input,
.form-textarea {
  width: 100%;
  background: rgba(255, 245, 208, 0.05);
  border: 1px solid rgba(255, 245, 208, 0.22);
  color: var(--cream);
  font-family: 'Lora', serif;
  font-size: 1rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.3s;
  -webkit-appearance: none;
  border-radius: 0;
}
.form-input:focus,
.form-textarea:focus { border-color: var(--gold); }
.form-textarea { min-height: 100px; resize: vertical; }
.form-input::placeholder,
.form-textarea::placeholder { opacity: 0.35; font-style: italic; }
.form-submit {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--cream);
  font-family: 'Lora', serif;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.4s, color 0.4s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold); color: var(--navy); }
.form-after-note {
  font-size: 0.82rem;
  font-style: italic;
  opacity: 0.55;
  margin-top: 1.1rem;
  text-align: center;
  font-family: 'Lora', serif;
  line-height: 1.65;
}

/* ---- FOUR STREAMS ----------------------------------------- */
.streams-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin: 3rem 0;
}
.stream-card {
  background: rgba(255, 245, 208, 0.03);
  border: 1px solid rgba(184, 134, 11, 0.12);
  padding: 2.5rem;
  transition: background 0.4s, border-color 0.4s;
}
.stream-card:hover {
  background: rgba(184, 134, 11, 0.07);
  border-color: rgba(184, 134, 11, 0.3);
}
.stream-number {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Lora', serif;
  margin-bottom: 1rem;
}
.stream-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.stream-body {
  font-size: 0.9rem;
  line-height: 1.75;
  opacity: 0.78;
  font-family: 'Lora', serif;
}

/* ---- LINEAGE SECTION -------------------------------------- */
.lineage-list { margin: 2rem 0; }
.lineage-item {
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(184, 134, 11, 0.12);
  display: grid;
  grid-template-columns: 1.5rem 1fr;
  gap: 1.25rem;
  align-items: baseline;
}
.lineage-number {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-family: 'Lora', serif;
}
.lineage-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.15rem;
}
.lineage-desc {
  font-size: 0.86rem;
  opacity: 0.65;
  line-height: 1.6;
  font-family: 'Lora', serif;
  font-style: italic;
}

/* ---- YANTRA GRID ------------------------------------------ */
.yantra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: rgba(184, 134, 11, 0.12);
  margin: 2.5rem 0;
}
.yantra-card {
  background: rgba(25, 35, 75, 0.9);
  padding: 1.6rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: background 0.35s;
  text-decoration: none;
}
.yantra-card:hover { background: rgba(184, 134, 11, 0.09); }
.yantra-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--cream);
}
.yantra-download-btn {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Lora', serif;
  border: 1px solid rgba(184, 134, 11, 0.35);
  padding: 0.38rem 0.75rem;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.yantra-card:hover .yantra-download-btn { background: var(--gold); color: var(--navy); }
.yantra-combined-row {
  text-align: center;
  padding: 1.75rem;
  border: 1px solid rgba(184, 134, 11, 0.25);
  margin-top: 1px;
  background: rgba(25, 35, 75, 0.9);
  transition: background 0.35s;
  text-decoration: none;
  display: block;
}
.yantra-combined-row:hover { background: rgba(184, 134, 11, 0.09); }

/* ---- BOOKS LIST ------------------------------------------- */
.books-list { margin: 2.5rem 0; }
.book-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(184, 134, 11, 0.14);
  gap: 1.5rem;
  text-decoration: none;
  transition: background 0.3s;
}
.book-item:first-child { border-top: 1px solid rgba(184, 134, 11, 0.14); }
.book-meta { flex: 1; }
.book-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.2rem;
}
.book-lang {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  font-family: 'Lora', serif;
}
.book-download-btn {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Lora', serif;
  border: 1px solid rgba(184, 134, 11, 0.35);
  padding: 0.5rem 1.1rem;
  transition: background 0.3s, color 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.book-item:hover .book-download-btn { background: var(--gold); color: var(--navy); }
.book-credit {
  font-size: 0.86rem;
  font-style: italic;
  opacity: 0.58;
  margin-top: 0.35rem;
  font-family: 'Lora', serif;
}

/* ---- OFFER TABLE ------------------------------------------ */
.offer-category { margin-bottom: 3.5rem; }
.offer-category-title {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: 'Lora', serif;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(184, 134, 11, 0.22);
}
.offer-item {
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(255, 245, 208, 0.06);
}
.offer-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.28rem;
}
.offer-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  opacity: 0.7;
  font-family: 'Lora', serif;
}

/* ---- DEDICATION ------------------------------------------- */
.dedication-block {
  text-align: center;
  padding: 3rem 2rem;
  border-top: 1px solid rgba(184, 134, 11, 0.18);
  margin-top: 3.5rem;
}
.dedication-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  opacity: 0.65;
  line-height: 1.75;
}

/* ---- FOOTER ----------------------------------------------- */
.site-footer {
  background: rgba(8, 10, 24, 0.97);
  padding: 2.25rem 3.5rem;
  border-top: 1px solid rgba(184, 134, 11, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  color: var(--cream);
  opacity: 0.6;
}
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cream);
  opacity: 0.45;
  font-family: 'Lora', serif;
  transition: opacity 0.3s, color 0.3s;
}
.footer-links a:hover { opacity: 1; color: var(--gold-light); }
.footer-copy {
  font-size: 0.65rem;
  opacity: 0.3;
  font-family: 'Lora', serif;
  letter-spacing: 0.1em;
}

/* ---- PAGE HERO (non-landing) ------------------------------ */
.page-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ---- STANDARD PAGE CONTAINERS ----------------------------- */
.standard-page {
  max-width: 820px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}
.standard-page-wide {
  max-width: 1080px;
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
}

/* ---- SCROLL REVEAL ---------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- UTILITY ---------------------------------------------- */
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.center { text-align: center; }
.cta-row { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }

/* ---- RESPONSIVE ------------------------------------------- */
@media (max-width: 900px) {
  .site-nav { padding: 1.1rem 1.75rem; }
  .site-nav.scrolled { padding: 0.8rem 1.75rem; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--nav-bg);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(184, 134, 11, 0.2);
  }
  .nav-hamburger { display: flex; }
  .gateways-grid { grid-template-columns: 1fr; }
  .gateway-panel { min-height: 300px; }
  .streams-grid { grid-template-columns: 1fr; }
  .intake-section { padding: 2rem 1.5rem; }
  .site-footer { padding: 2rem 1.75rem; flex-direction: column; align-items: flex-start; }
  .standard-page, .standard-page-wide { padding: 4rem 1.5rem 3rem; }
}
@media (max-width: 600px) {
  .yantra-grid { grid-template-columns: 1fr; }
  .book-item { flex-direction: column; align-items: flex-start; }
  .cta-row { flex-direction: column; align-items: center; }
}
