/* ═══════════════════════════════════════════════════════
   SAMIA'S — The Books of Becoming
   Author Website Stylesheet
   Palette: Obsidian · Gunmetal · Outer Space ·
            Blue Gray · Light Steel Blue · Gold
═══════════════════════════════════════════════════════ */

/* ── TOKENS ──────────────────────────────────────────── */
:root {
  --obsidian:    #081F2F;
  --gunmetal:    #243D52;
  --outer-space: #495F73;
  --blue-gray:   #738496;
  --steel-blue:  #ACBCCC;
  --white:       #FFFFFF;
  --gold:        #C5A059;
  --gold-light:  #d4b06a;

  --ff-serif:  'Playfair Display', Georgia, serif;
  --ff-body:   'Lora', Georgia, serif;
  --ff-ui:     'Inter', system-ui, sans-serif;

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--obsidian);
  color: var(--steel-blue);
  font-family: var(--ff-body);
  font-size: 17px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-serif);
  color: var(--white);
  line-height: 1.15;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

section { padding: 110px 0; }

.gold { color: var(--gold); }

/* ── SHARED LABELS ───────────────────────────────────── */
.section-label {
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  text-align: center;
  margin-bottom: 14px;
}

.section-sub {
  text-align: center;
  font-style: italic;
  color: var(--blue-gray);
  max-width: 500px;
  margin: 0 auto 70px;
}

/* ── BUTTONS ─────────────────────────────────────────── */
.btn-primary,
.btn-secondary {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 15px 36px;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--obsidian);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(197,160,89,0.25);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-secondary:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── SCROLL REVEAL ───────────────────────────────────── */
.quote-card,
.review-card,
.cycle-item,
.book-showcase,
.volume-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}
.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* ═══════════════════════════════════════════════════════
   NAV
═══════════════════════════════════════════════════════ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  transition: background 0.3s, padding 0.3s, backdrop-filter 0.3s;
}
#nav.nav--scrolled {
  background: rgba(8, 31, 47, 0.94);
  backdrop-filter: blur(12px);
  padding: 14px 40px;
  border-bottom: 1px solid rgba(172,188,204,0.08);
}

.nav-logo {
  font-family: var(--ff-serif);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--white);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-family: var(--ff-ui);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel-blue);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-social {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-social a {
  display: flex;
  color: var(--steel-blue);
  transition: color 0.2s, transform 0.2s;
}
.nav-social a:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

.nav-cta {
  color: var(--gold) !important;
  border: 1px solid rgba(197,160,89,0.4);
  padding: 8px 20px;
  transition: border-color 0.2s, background 0.2s !important;
}
.nav-cta:hover {
  background: rgba(197,160,89,0.1);
  border-color: var(--gold) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ═══════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    url('ocean.jpg') center/cover no-repeat;
  transform: scale(1.04);
  transition: transform 8s ease-out;
}
#hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(8,31,47,0.98) 0%,
      rgba(8,31,47,0.92) 50%,
      rgba(8,31,47,0.55) 100%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 80px;
  width: 100%;
}

/* Book 3D — stacked triptych for the series */
.hero-book {
  display: flex;
  justify-content: center;
  align-items: center;
}
.book-3d-wrap {
  position: relative;
  display: inline-block;
}
.hero-stack {
  width: 280px;
  height: 400px;
}
.book-cover-img {
  width: 280px;
  border-radius: 2px;
  transform: perspective(900px) rotateY(-10deg) rotateX(2deg);
  transition: transform 0.5s var(--ease-out);
  box-shadow:
    -8px 16px 40px rgba(0,0,0,0.6),
    -2px 4px 12px rgba(0,0,0,0.4);
}
.hero-stack .book-cover-img {
  position: absolute;
  width: 220px;
  top: 0;
}
.hero-stack-back {
  left: -50px;
  transform: perspective(900px) rotateY(-14deg) rotateX(2deg) scale(0.92);
  opacity: 0.65;
  z-index: 1;
}
.hero-stack-mid {
  left: -10px;
  transform: perspective(900px) rotateY(-12deg) rotateX(2deg) scale(0.96);
  opacity: 0.85;
  z-index: 2;
}
.hero-stack-front {
  left: 40px;
  z-index: 3;
}
.hero-stack:hover .hero-stack-front {
  transform: perspective(900px) rotateY(-3deg) rotateX(0deg) translateY(-8px);
}
.book-shadow {
  position: absolute;
  bottom: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 24px;
  background: radial-gradient(ellipse, rgba(0,0,0,0.5) 0%, transparent 70%);
  filter: blur(8px);
  z-index: 0;
}

/* Hero text */
.eyebrow {
  font-family: var(--ff-ui);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 6px;
  line-height: 1.05;
}

.title-fractures {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  font-family: var(--ff-body);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--steel-blue);
  margin-bottom: 28px;
  line-height: 1.6;
}

.hero-divider {
  width: 40px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 24px;
}

.hero-body {
  font-size: 1rem;
  color: var(--blue-gray);
  max-width: 460px;
  margin-bottom: 44px;
  line-height: 1.95;
}

/* Scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1;   transform: scaleY(1);   }
}

/* ═══════════════════════════════════════════════════════
   PHILOSOPHY STRIP
═══════════════════════════════════════════════════════ */
#philosophy {
  background: var(--gunmetal);
  padding: 80px 0;
}

.philosophy-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  text-align: center;
}

.philosophy-rule {
  width: 60px;
  height: 1px;
  background: rgba(197,160,89,0.4);
}

.philosophy-quote {
  font-family: var(--ff-serif);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-style: italic;
  color: var(--white);
  max-width: 740px;
  line-height: 1.65;
  font-weight: 400;
}

.philosophy-attr {
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════════
   SERIES — VOLUME CARDS (primary showcase)
═══════════════════════════════════════════════════════ */
#series { background: var(--obsidian); }

.volumes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 90px;
}

.volume-card {
  background: rgba(36,61,82,0.35);
  border: 1px solid rgba(172,188,204,0.09);
  padding: 32px 28px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}
.volume-card:hover {
  border-color: rgba(197,160,89,0.3);
  background: rgba(36,61,82,0.6);
  transform: translateY(-6px);
}

.volume-cover {
  margin-bottom: 24px;
}
.volume-cover img {
  width: 150px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  border-radius: 2px;
}

.volume-roman {
  font-family: var(--ff-serif);
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 10px;
  display: block;
}

.volume-body h3 {
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.volume-theme {
  font-family: var(--ff-ui);
  font-size: 0.66rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.volume-desc {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--steel-blue);
  line-height: 1.75;
  margin-bottom: 24px;
}

.volume-buy {
  padding: 12px 30px;
  font-size: 0.7rem;
}

.volume-card--pending {
  opacity: 0.85;
}
.volume-card--pending .volume-cover img {
  filter: grayscale(40%);
}

.cycle-grid--forthcoming {
  margin-bottom: 60px;
}

/* ═══════════════════════════════════════════════════════
   BOOK SHOWCASE (Gold in the Fractures — standalone)
═══════════════════════════════════════════════════════ */
#gold { background: var(--gunmetal); }

.book-showcase {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 72px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

.showcase-cover {
  position: relative;
  flex-shrink: 0;
}
.showcase-cover img {
  width: 220px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.55);
  border-radius: 2px;
}
.showcase-cover-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(
    ellipse at center,
    rgba(197,160,89,0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.book-tagline {
  font-family: var(--ff-serif);
  font-size: 1.05rem;
  color: var(--white);
  line-height: 1.9;
  margin-bottom: 28px;
  font-style: italic;
}

.showcase-body {
  color: var(--steel-blue);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 20px;
}

.showcase-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 32px 0;
  padding: 24px;
  border: 1px solid rgba(172,188,204,0.1);
  background: rgba(8,31,47,0.3);
}

.meta-item {
  display: flex;
  gap: 16px;
  align-items: baseline;
}
.meta-label {
  font-family: var(--ff-ui);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-gray);
  min-width: 80px;
}
.meta-value {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  color: var(--steel-blue);
}

/* ═══════════════════════════════════════════════════════
   QUOTES
═══════════════════════════════════════════════════════ */
#quotes {
  background: var(--gunmetal);
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 24px;
}

.quote-card {
  background: var(--obsidian);
  border: 1px solid rgba(172,188,204,0.07);
  padding: 36px 32px;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}
.quote-card:hover {
  border-color: rgba(197,160,89,0.2);
  transform: translateY(-4px);
}

.quote-card--large {
  grid-column: span 2;
}

.quote-mark {
  font-family: var(--ff-serif);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 8px;
  font-style: italic;
}

.quote-card p {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 1rem;
  color: var(--white);
  line-height: 1.75;
  margin-bottom: 20px;
}

.quote-card cite {
  font-family: var(--ff-ui);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

/* ═══════════════════════════════════════════════════════
   AXIOMS MARQUEE
═══════════════════════════════════════════════════════ */
#axioms {
  background: var(--obsidian);
  padding: 36px 0;
  overflow: hidden;
  border-top: 1px solid rgba(172,188,204,0.06);
  border-bottom: 1px solid rgba(172,188,204,0.06);
}

.axioms-track-wrap { overflow: hidden; }

.axioms-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  width: max-content;
}

.axioms-track span {
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-gray);
}

.axiom-dot {
  color: var(--gold) !important;
  font-size: 1.2rem !important;
  letter-spacing: 0 !important;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════════════════════════════════
   REVIEWS
═══════════════════════════════════════════════════════ */
#reviews {
  background: var(--obsidian);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.review-card {
  background: var(--gunmetal);
  border: 1px solid rgba(172,188,204,0.07);
  padding: 36px 30px;
  transition: transform 0.3s, border-color 0.3s;
}
.review-card:hover {
  transform: translateY(-5px);
  border-color: rgba(197,160,89,0.2);
}

.review-card--featured {
  border-color: rgba(197,160,89,0.2);
  background: rgba(36,61,82,0.8);
}

.stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
}

.review-card blockquote {
  font-style: italic;
  color: var(--steel-blue);
  line-height: 1.85;
  font-size: 0.96rem;
  margin-bottom: 22px;
}

.review-card cite {
  font-family: var(--ff-ui);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue-gray);
  font-style: normal;
}

.reviews-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--outer-space);
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════════════ */
#about {
  background: var(--gunmetal);
}

.about-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.about-image-wrap { position: relative; }

.about-image-frame {
  position: relative;
  z-index: 1;
}

.about-photo {
  width: 100%;
  filter: grayscale(15%) contrast(1.05);
  border-radius: 1px;
}

.about-image-border {
  position: absolute;
  top: 18px; left: 18px;
  right: -18px; bottom: -18px;
  border: 1px solid rgba(197,160,89,0.25);
  z-index: 0;
  pointer-events: none;
}

.about-image-caption {
  font-family: var(--ff-ui);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-gray);
  margin-top: 20px;
  text-align: center;
}

.about-text p {
  color: var(--steel-blue);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 22px;
}

.about-closing {
  font-family: var(--ff-serif) !important;
  font-style: italic !important;
  font-size: 1.25rem !important;
  color: var(--white) !important;
  margin-top: 36px !important;
  line-height: 1.5 !important;
}

.about-social {
  margin-top: 28px;
  font-family: var(--ff-ui);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.about-social a {
  color: var(--gold);
  transition: color 0.2s;
}
.about-social a:hover { color: var(--white); }
.about-social-dot {
  color: var(--blue-gray);
  margin: 0 10px;
}

/* ═══════════════════════════════════════════════════════
   SIX-VOLUME CYCLE (forthcoming volumes IV–VI)
═══════════════════════════════════════════════════════ */
.cycle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 60px;
}

.cycle-item {
  background: var(--gunmetal);
  padding: 36px 30px;
  border: 1px solid rgba(172,188,204,0.06);
  transition: background 0.3s, border-color 0.3s;
}
.cycle-item:hover {
  background: rgba(36,61,82,0.9);
  border-color: rgba(197,160,89,0.15);
}

.cycle-number {
  font-family: var(--ff-serif);
  font-size: 2.5rem;
  color: rgba(197,160,89,0.2);
  font-weight: 900;
  margin-bottom: 12px;
  line-height: 1;
}

.cycle-content h3 {
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 6px;
}

.cycle-theme {
  font-family: var(--ff-ui);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.cycle-content p {
  font-size: 0.9rem;
  color: var(--steel-blue);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 18px;
}

.cycle-status {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 12px;
  border: 1px solid rgba(172,188,204,0.2);
  color: var(--blue-gray);
}

.cycle-unifying {
  text-align: center;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--white);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════════════
   NEWSLETTER
═══════════════════════════════════════════════════════ */
#newsletter { padding: 0; }

.newsletter-inner {
  background: var(--outer-space);
  padding: 100px 0;
}

.newsletter-title {
  font-size: clamp(2rem, 4vw, 3rem);
  text-align: center;
  margin-bottom: 18px;
  line-height: 1.2;
}

.newsletter-sub {
  text-align: center;
  font-style: italic;
  color: var(--steel-blue);
  max-width: 460px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

.newsletter-form {
  display: flex;
  max-width: 480px;
  margin: 0 auto;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 1px solid var(--steel-blue);
  border-right: none;
  color: var(--white);
  font-family: var(--ff-body);
  font-size: 0.96rem;
  padding: 16px 22px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input::placeholder { color: var(--blue-gray); }
.newsletter-form input:focus { border-color: var(--white); }

.newsletter-form button {
  background: var(--white);
  color: var(--obsidian);
  font-family: var(--ff-ui);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 16px 30px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}
.newsletter-form button:hover {
  background: var(--gold);
  color: var(--obsidian);
}

.newsletter-status {
  text-align: center;
  font-family: var(--ff-ui);
  font-size: 0.74rem;
  color: var(--steel-blue);
  margin-top: 14px;
  min-height: 1.2em;
}

.newsletter-note {
  text-align: center;
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  color: var(--blue-gray);
  margin-top: 18px;
  font-style: italic;
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
footer {
  background: var(--obsidian);
  border-top: 1px solid rgba(172,188,204,0.07);
  padding: 70px 0 40px;
}

.footer-inner {}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-logo {
  font-family: var(--ff-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-tagline {
  font-style: italic;
  color: var(--blue-gray);
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  display: flex;
  color: var(--blue-gray);
  transition: color 0.2s, transform 0.2s;
}
.footer-social a:hover {
  color: var(--gold);
  transform: translateY(-1px);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  align-items: center;
}
.footer-nav a {
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-gray);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--white); }

.footer-rule {
  height: 1px;
  background: rgba(172,188,204,0.07);
  margin-bottom: 32px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy {
  font-family: var(--ff-ui);
  font-size: 0.7rem;
  color: var(--outer-space);
  letter-spacing: 0.08em;
}

.footer-memorial {
  font-family: var(--ff-body);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--blue-gray);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
    padding-top: 130px;
    padding-bottom: 70px;
  }
  .hero-book { order: -1; }
  .hero-stack { width: 220px; height: 300px; margin: 0 auto; }
  .hero-stack .book-cover-img { width: 170px; }
  .hero-stack-back { left: -10px; }
  .hero-stack-mid { left: 10px; }
  .hero-stack-front { left: 30px; }
  .hero-body { margin-left: auto; margin-right: auto; }
  .hero-divider { margin: 0 auto 24px; }
  .btn-group { justify-content: center; }

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

  .book-showcase {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }
  .showcase-cover { margin: 0 auto; }
  .showcase-cover img { width: 180px; }

  .quotes-grid {
    grid-template-columns: 1fr;
  }
  .quote-card--large { grid-column: span 1; }

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

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-image-wrap { max-width: 280px; margin: 0 auto; }
  .about-text .section-label,
  .about-text .section-title,
  .about-text p,
  .about-closing { text-align: center; }
  .about-social { text-align: center; }

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

  .footer-top { flex-direction: column; }
  .footer-brand .footer-social { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 600px) {

  section { padding: 80px 0; }

  #nav { padding: 16px 20px; }
  #nav.nav--scrolled { padding: 12px 20px; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(8,31,47,0.97);
    backdrop-filter: blur(12px);
    padding: 24px 20px;
    gap: 20px;
    border-bottom: 1px solid rgba(172,188,204,0.08);
  }
  .nav-links--open { display: flex; }
  .nav-toggle { display: block; }
  .nav-social { justify-content: center; }

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

  .newsletter-form {
    flex-direction: column;
  }
  .newsletter-form input {
    border-right: 1px solid var(--steel-blue);
    border-bottom: none;
  }

  .meta-item { flex-direction: column; gap: 4px; }
}
