/* ============================================
   FAITH OHIO — style.css v4
   Colors: #BC0F09 (red) | #080808 (black) | #D0A543 (gold)
   Fonts: Anton Italic (headings) | Anybody (body)
============================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Anybody:ital,wght@0,100;0,200;0,300;0,400;0,500;1,200;1,300&display=swap');

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

:root {
  --red: #BC0F09;
  --black: #080808;
  --gold: #D0A543;
  --white: #F2EDE6;
  --grey: #111111;
  --grey-mid: #1C1C1C;
  --font-heading: 'Anton', sans-serif;
  --font-body: 'Anybody', sans-serif;
}

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

/* ── LOADING SCREEN ── */
/*
  Z-INDEX STACK (highest to lowest):
  10000 — loader
  5000  — foi popup
  3000  — mobile menu overlay
  2000  — navbar (sits above page, below mobile menu)
  1     — page content
*/

#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 1rem;
  transition: opacity 0.9s ease, visibility 0.9s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loader .loader-name {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.3em;
  color: var(--white);
  opacity: 0;
  animation: fadeUp 1s ease 0.3s forwards;
}

#loader .loader-line {
  width: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--red), transparent);
  animation: expandLine 1s ease 0.9s forwards;
}

#loader .loader-tagline {
  font-family: var(--font-body);
  font-weight: 200;
  font-size: 0.58rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0;
  animation: fadeUp 1s ease 1.3s forwards;
  text-align: center;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes expandLine {
  from { width: 0; }
  to   { width: 160px; }
}

/* ── NAVIGATION ── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 1.75rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, padding 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

#navbar.scrolled {
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1rem 4rem;
  border-bottom-color: rgba(208, 165, 67, 0.12);
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  color: var(--white);
  z-index: 2001;
  transition: color 0.3s ease;
  position: relative;
}

.nav-logo:hover { color: var(--gold); }

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(242, 237, 230, 0.55);
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s ease;
}

.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

/* ── HAMBURGER ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
  z-index: 2001;
  position: relative;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--white);
  transition: all 0.4s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 80vw;
  max-width: 320px;
  height: 100vh;
  background: var(--grey);
  border-left: 1px solid rgba(208,165,67,0.15);
  z-index: 3000;
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 3rem;
  transform: translateX(100%);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -24px 0 80px rgba(0,0,0,0.5);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-close {
  align-self: flex-end;
  background: none;
  border: 1px solid rgba(242,237,230,0.15);
  color: rgba(242,237,230,0.5);
  font-size: 0.85rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
  margin-bottom: 2.5rem;
  flex-shrink: 0;
}

.drawer-close:hover {
  border-color: var(--red);
  color: var(--white);
}

.drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.drawer-inner a {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 7vw, 2.2rem);
  letter-spacing: 0.04em;
  color: rgba(242,237,230,0.7);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(242,237,230,0.06);
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.drawer-inner a:first-child {
  border-top: 1px solid rgba(242,237,230,0.06);
}

.drawer-inner a:hover {
  color: var(--white);
  padding-left: 0.5rem;
}

.drawer-tagline {
  font-size: 0.5rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 2rem;
}

/* Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8,8,8,0.7);
  z-index: 2999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* ── TICKER ── */
.ticker {
  overflow: hidden;
  white-space: nowrap;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(208,165,67,0.15);
  border-bottom: 1px solid rgba(208,165,67,0.15);
  position: relative;
  z-index: 1;
}

.ticker-track {
  display: inline-flex;
  animation: tickerScroll 32s linear infinite;
}

.ticker-track:hover { animation-play-state: paused; }

.ticker-track span {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 0 2rem;
}

.ticker-track span.sep {
  color: rgba(208,165,67,0.3);
  padding: 0;
  letter-spacing: 0;
}

@keyframes tickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 9rem 4rem 7rem;
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  #hero {
    min-height: 100svh;
    justify-content: center;
    padding: 6rem 1.5rem 3rem;
  }
}

/* Slideshow background */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slide.active { opacity: 1; }

/* Placeholder gradient slides — replace with real photos */
.hero-slide:nth-child(1) { background-color: #120808; }
.hero-slide:nth-child(2) { background-color: #0a0a12; }
.hero-slide:nth-child(3) { background-color: #0a120a; }
.hero-slide:nth-child(4) { background-color: #12120a; }
.hero-slide:nth-child(5) { background-color: #0a0a0a; }

/* Dark overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,8,8,0.95) 0%,
    rgba(8,8,8,0.6) 50%,
    rgba(8,8,8,0.4) 100%
  );
  z-index: 1;
}

/* Hero text sits above overlay */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 2.2s forwards;
}

.hero-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2.6rem, 6.5vw, 6.2rem);
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
  max-width: 860px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 2.4s forwards;
}

.hero-heading em {
  color: var(--red);
  font-style: italic;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  font-weight: 300;
  color: rgba(242,237,230,0.6);
  max-width: 500px;
  line-height: 1.9;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 2.6s forwards;
}

.hero-ctas {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 2.8s forwards;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  border: 1px solid var(--red);
  transition: background 0.35s ease, color 0.35s ease;
  cursor: pointer;
}

.btn-primary:hover {
  background: transparent;
  color: var(--red);
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.63rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(242,237,230,0.65);
  padding: 0.9rem 2.2rem;
  border: 1px solid rgba(242,237,230,0.2);
  transition: border-color 0.35s ease, color 0.35s ease;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* ── SECTION BASE ── */
.section {
  padding: 7rem 4rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.56rem;
  font-weight: 300;
  letter-spacing: 0.55em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.section-rule {
  width: 36px;
  height: 1px;
  background: var(--red);
  margin-bottom: 3rem;
}

/* ── ABOUT / PHILOSOPHY ── */
#about-philosophy {
  background: var(--grey);
  border-bottom: 1px solid rgba(208,165,67,0.08);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 7rem;
  align-items: center;
}

.about-text p {
  font-size: clamp(0.95rem, 1.3vw, 1.1rem);
  font-weight: 200;
  line-height: 1.95;
  color: rgba(242,237,230,0.75);
  margin-bottom: 1.5rem;
}

.about-text p:last-of-type { margin-bottom: 2.5rem; }

.about-ctas {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.about-image { position: relative; }

.about-image-inner {
  aspect-ratio: 3/4;
  background: var(--grey-mid);
  overflow: hidden;
}

.about-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -1rem;
  right: -1rem;
  width: 55%;
  height: 55%;
  border-top: 1px solid rgba(208,165,67,0.2);
  border-right: 1px solid rgba(208,165,67,0.2);
  pointer-events: none;
}

/* ── THRESHOLD DECADE ── */
#threshold {
  position: relative;
  overflow: hidden;
}

#threshold::before {
  content: '2025';
  position: absolute;
  right: -2rem;
  bottom: -4rem;
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 18rem;
  color: rgba(188,15,9,0.035);
  line-height: 1;
  pointer-events: none;
}

.threshold-inner { max-width: 820px; }

.threshold-inner .section-heading {
  font-size: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 2.5rem;
}

.threshold-body p {
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  font-weight: 300;
  color: rgba(242,237,230,0.6);
  line-height: 2;
  margin-bottom: 1.5rem;
}

.threshold-body p strong {
  color: var(--white);
  font-weight: 400;
}

.threshold-callout {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.5rem);
  letter-spacing: 0.08em;
  color: var(--red);
  margin: 2.5rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--red);
  line-height: 1.4;
}

/* ── FORMS OF ENGAGEMENT ── */
#engagement {
  background: var(--grey);
  border-top: 1px solid rgba(208,165,67,0.08);
  border-bottom: 1px solid rgba(208,165,67,0.08);
}

.engagement-list {
  list-style: none;
  margin-top: 0.5rem;
}

.engagement-item {
  display: grid;
  grid-template-columns: 56px 1fr 36px;
  align-items: center;
  gap: 2rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid rgba(242,237,230,0.07);
  cursor: pointer;
  transition: padding-left 0.35s ease;
}

.engagement-item:first-child {
  border-top: 1px solid rgba(242,237,230,0.07);
}

.engagement-item:hover { padding-left: 0.5rem; }
.engagement-item:hover .engagement-num { color: var(--red); }
.engagement-item:hover .engagement-arrow { color: var(--gold); transform: translateX(6px); }

.engagement-num {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  color: rgba(242,237,230,0.22);
  transition: color 0.3s ease;
}

.engagement-content h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.35rem;
}

.engagement-content p {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(242,237,230,0.42);
  max-width: 500px;
  line-height: 1.75;
}

.engagement-arrow {
  color: rgba(242,237,230,0.18);
  font-size: 0.9rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

/* ── TESTIMONIALS ── */
#testimonials { position: relative; }

.testimonials-intro {
  max-width: 760px;
  margin-bottom: 5rem;
}

.testimonials-intro h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 2rem;
  line-height: 1.1;
}

.testimonials-intro p {
  font-size: clamp(0.88rem, 1.1vw, 0.97rem);
  font-weight: 300;
  color: rgba(242,237,230,0.58);
  line-height: 1.95;
  margin-bottom: 1.2rem;
}

.testimonials-intro p strong {
  color: var(--white);
  font-weight: 400;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(242,237,230,0.05);
}

.testimonial-card {
  background: var(--grey);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1.5rem;
  left: 2.5rem;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 5rem;
  color: rgba(188,15,9,0.1);
  line-height: 1;
}

.testimonial-card blockquote {
  font-size: clamp(0.88rem, 1.1vw, 0.97rem);
  font-weight: 300;
  color: rgba(242,237,230,0.7);
  line-height: 1.95;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-card cite { font-style: normal; }

.testimonial-card cite strong {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 0.2rem;
}

.testimonial-card cite span {
  font-size: 0.68rem;
  font-weight: 300;
  color: var(--gold);
}

/* ── ONGOING INTELLIGENCE ── */
#intelligence {
  background: var(--grey);
  border-top: 1px solid rgba(208,165,67,0.08);
}

.intelligence-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7rem;
  align-items: start;
}

.intelligence-content .section-heading span { color: var(--red); }

.intelligence-content p {
  font-size: clamp(0.85rem, 1.1vw, 0.95rem);
  font-weight: 300;
  color: rgba(242,237,230,0.58);
  line-height: 1.95;
  margin-bottom: 1.3rem;
}

.intelligence-content p:last-of-type { margin-bottom: 2.5rem; }

.intelligence-quotes {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-top: 1rem;
}

.intelligence-quote-block {
  background: var(--grey-mid);
  padding: 2rem 2.5rem;
  border-left: 2px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.intelligence-quote-block:hover {
  border-left-color: var(--red);
  background: rgba(188,15,9,0.03);
}

.intelligence-quote-block p {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(242,237,230,0.4);
  font-style: italic;
  line-height: 1.75;
}

/* ── GALLERY ── */
#gallery {
  overflow: hidden;
  padding: 0;
  position: relative;
}

#gallery::before, #gallery::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

#gallery::before {
  left: 0;
  background: linear-gradient(to right, var(--black), transparent);
}

#gallery::after {
  right: 0;
  background: linear-gradient(to left, var(--black), transparent);
}

.gallery-track {
  display: flex;
  animation: galleryScroll 35s linear infinite;
  width: max-content;
  touch-action: none;
  pointer-events: none;
}

.gallery-track:hover { animation-play-state: paused; }

.gallery-item {
  width: 300px;
  height: 400px;
  flex-shrink: 0;
  margin-right: 1rem;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: grayscale(25%) brightness(0.85);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: grayscale(0%) brightness(1);
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  background: var(--grey);
}

@keyframes galleryScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── CURATIONS ── */
#curations {
  border-top: 1px solid rgba(208,165,67,0.08);
}

.curations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(242,237,230,0.05);
  margin-top: 4rem;
}

.curation-card {
  background: var(--black);
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.35s ease;
}

.curation-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--red);
  transition: width 0.4s ease;
}

.curation-card:hover { background: rgba(188,15,9,0.03); }
.curation-card:hover::after { width: 100%; }

.curation-num {
  font-size: 0.54rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.curation-card h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 0.9rem;
}

.curation-card p {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(242,237,230,0.42);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.curation-link {
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.curation-link:hover { gap: 1rem; }

/* ── PARALLAX INTERLUDE — between curations and books ── */
#interlude {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.interlude-bg {
  position: absolute;
  inset: 0;
  background-color: var(--grey-mid);
  /* When ready: background-image: url('assets/images/faith-ohio-interlude.jpg'); */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* parallax */
  z-index: 0;
}

.interlude-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,8,0.72);
  z-index: 1;
}

.interlude-content {
  position: relative;
  z-index: 2;
  padding: 5rem 4rem;
  max-width: 720px;
}

.interlude-content p {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-weight: 300;
  color: rgba(242,237,230,0.85);
  line-height: 1.95;
}

/* ── BOOKS ── */
#books {
  background: var(--grey);
  border-top: 1px solid rgba(208,165,67,0.08);
}

.books-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 4rem;
}

.book-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.book-cover {
  aspect-ratio: 3/4;
  background: var(--grey-mid);
  overflow: hidden;
  flex-shrink: 0;
}

.book-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.book-item:hover .book-cover img { transform: scale(1.04); }

.book-meta { padding-top: 0.25rem; }

.book-meta h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.2rem, 1.8vw, 1.6rem);
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.book-tagline {
  font-size: 0.65rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.book-meta p {
  font-size: 0.82rem;
  font-weight: 300;
  color: rgba(242,237,230,0.48);
  line-height: 1.85;
  margin-bottom: 1.75rem;
}

/* ── CURRENTLY ── */
#currently {
  padding: 3.5rem 4rem;
  border-top: 1px solid rgba(208,165,67,0.1);
  border-bottom: 1px solid rgba(208,165,67,0.1);
}

.currently-row {
  display: flex;
  align-items: center;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.currently-label {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  white-space: nowrap;
}

.currently-items {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.currently-item {
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(242,237,230,0.48);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.currently-item::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

.currently-item a {
  color: inherit;
  transition: color 0.3s ease;
}

.currently-item a:hover { color: var(--white); }

/* ── READY TO BEGIN ── */
#ready {
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--grey);
  border-top: 1px solid rgba(208,165,67,0.08);
}

#ready::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(188,15,9,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.ready-inner {
  max-width: 660px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ready-inner h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 4.5vw, 4rem);
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 2rem;
}

.ready-inner p {
  font-size: clamp(0.88rem, 1.1vw, 0.97rem);
  font-weight: 300;
  color: rgba(242,237,230,0.52);
  line-height: 1.95;
  margin-bottom: 3rem;
}

/* ── FOI POPUP ── */
#foi-popup {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 360px;
  background: var(--grey);
  border: 1px solid rgba(208,165,67,0.2);
  z-index: 5000;
  padding: 2.5rem;
  transform: translateY(130%);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  pointer-events: none;
}

#foi-popup.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}

#foi-popup.dismissed {
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
}

.popup-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 0.9rem;
  color: rgba(242,237,230,0.3);
  cursor: pointer;
  transition: color 0.3s ease;
  background: none;
  border: none;
  line-height: 1;
}

.popup-close:hover { color: var(--white); }

.popup-label {
  font-size: 0.54rem;
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.popup-heading {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.popup-text {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(242,237,230,0.48);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.popup-cta {
  width: 100%;
  text-align: center;
  display: block;
}

/* ── FOOTER ── */
footer {
  padding: 5rem 4rem 2.5rem;
  border-top: 1px solid rgba(208,165,67,0.12);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 6rem;
  margin-bottom: 4rem;
  align-items: start;
}

.footer-brand h2 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: 0.06em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.footer-descriptor {
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.footer-tagline {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(242,237,230,0.3);
  font-style: italic;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-col h4 {
  font-size: 0.54rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(242,237,230,0.22);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-col ul li a {
  font-size: 0.8rem;
  font-weight: 300;
  color: rgba(242,237,230,0.48);
  transition: color 0.3s ease;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(242,237,230,0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.63rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: rgba(242,237,230,0.2);
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

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

.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .about-grid,
  .intelligence-inner { grid-template-columns: 1fr; gap: 3rem; }
  .books-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  #navbar { padding: 1.25rem 1.5rem; }
  #navbar.scrolled { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  #hero {
    min-height: 100svh;
    padding: 0 1.5rem 3.5rem;
    justify-content: flex-end;
  }

  /* Eyebrow — smaller on mobile so it doesn't wrap */
  .hero-eyebrow {
    font-size: 0.48rem;
    letter-spacing: 0.25em;
  }

  .section { padding: 5rem 1.5rem; }
  #currently { padding: 2.5rem 1.5rem; }
  footer { padding: 4rem 1.5rem 2rem; }

  .engagement-item { grid-template-columns: 48px 1fr; }
  .engagement-arrow { display: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .curations-grid { grid-template-columns: 1fr; }
  .book-item { grid-template-columns: 130px 1fr; gap: 1.5rem; }
   .book-tagline { font-size: 0.48rem; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  #foi-popup { width: calc(100vw - 2rem); right: 1rem; bottom: 1rem; }

  /* Parallax doesn't work well on iOS — fall back to fixed position */
  .interlude-bg { background-attachment: scroll; }
  .interlude-content { padding: 4rem 1.5rem; }
}
