/* ============================================
   تجلّي — TAJALLI · The Journal
   Editorial Magazine System (Direction C)
   ============================================ */

:root {
  /* Palette — feminine blush · rose · champagne */
  --cream: #F4E4DD;        /* powder blush — primary background */
  --sand: #ECDCD0;         /* dusty pink */
  --bone: #FBF7F2;         /* soft ivory */
  --bronze: #B89968;       /* champagne gold */
  --bronze-light: #D4B896; /* warm champagne */
  --gold-leaf: #C9A961;
  --wine: #6B3E47;         /* dusty rose-burgundy */
  --wine-deep: #4D2A33;
  --ink: #3F2C30;          /* warm truffle (not black) */
  --line: rgba(63, 44, 48, 0.16);
  --line-soft: rgba(63, 44, 48, 0.08);

  /* Typography */
  --ar-display: 'Noto Serif Arabic', 'Times New Roman', serif;
  --ar-body: 'Noto Naskh Arabic', 'Noto Serif Arabic', serif;
  --en-display: 'Bodoni Moda', 'Didot', serif;
  --en-body: 'Inter', system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --container: 1320px;
  --gutter: clamp(24px, 5vw, 96px);
}

/* ===== Reset ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--en-body);
  background: var(--cream);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-feature-settings: 'liga', 'kern';
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }

/* English em → italic Bodoni accent in wine */
em {
  font-style: italic;
  font-family: var(--en-display);
  font-weight: 400;
  color: var(--wine);
}
.tracked {
  font-family: var(--en-body);
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-weight: 400;
  font-size: 11px;
  color: var(--bronze);
}
.ar-text { font-family: var(--ar-display); }

/* ===== Containers ===== */
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-tight { max-width: 920px; margin: 0 auto; padding: 0 var(--gutter); }

/* ===== Recurring atoms ===== */
.rule { border: 0; border-top: 1px solid var(--line); }
.rule-thin { border: 0; border-top: 1px solid var(--line-soft); }
.rule-gold { border: 0; border-top: 1px solid var(--bronze); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--en-body);
  font-size: 11px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bronze);
  font-weight: 400;
}
.eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: var(--bronze);
}
.roman {
  font-family: var(--en-display);
  font-style: italic;
  color: var(--wine);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0.05em;
}

/* ===== Navigation — refined editorial ===== */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(244, 228, 221, 0.92);
  backdrop-filter: blur(28px);
  border-bottom: 1px solid var(--line-soft);
  transition: padding 0.4s var(--ease), background 0.4s var(--ease);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
}
.nav-left { justify-self: start; }
.nav-logo {
  justify-self: center;
  text-align: center;
  line-height: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: transform 0.4s var(--ease);
}
.nav-logo:hover { transform: translateY(-1px); }
.nav-logo .en {
  display: block;
  font-family: var(--en-display);
  font-weight: 400;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: 0.34em;
}
.nav-logo .descriptor {
  display: block;
  font-family: var(--en-display);
  font-style: italic;
  font-weight: 400;
  font-size: 11px;
  color: var(--bronze);
  letter-spacing: 0.04em;
}

.nav-links { list-style: none; display: flex; gap: 32px; align-items: center; }
.nav-right { justify-self: end; }
.nav-links a {
  font-family: var(--en-body);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding: 6px 0;
  transition: color 0.4s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 1px;
  background: var(--bronze);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.nav-links a:hover { color: var(--wine); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.active { color: var(--wine); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--wine) !important;
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 4px !important;
}
.nav-cta::after { display: none !important; }
.nav-cta .arrow { transition: transform 0.4s var(--ease); display: inline-block; }
.nav-cta:hover { color: var(--ink) !important; border-bottom-color: var(--ink); }
.nav-cta:hover .arrow { transform: translateX(6px); }

/* ===== COVER / Hero — Magazine Cover ===== */
.cover {
  position: relative;
  min-height: 100vh;
  background: var(--cream);
  display: flex;
  flex-direction: column;
  padding: 120px var(--gutter) 60px;
  overflow: hidden;
}
.cover-video, .cover-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  filter: saturate(0.78) contrast(1.02);
  z-index: 0;
}
.cover-video { z-index: 1; }
.cover-image {
  z-index: 0;
  animation: kenBurns 20s ease-in-out infinite alternate;
}
.cover::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(244, 228, 221, 0.72) 0%, rgba(244, 228, 221, 0.48) 40%, rgba(244, 228, 221, 0.92) 100%);
  pointer-events: none;
}
@keyframes kenBurns {
  0%   { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.08) translate(-1%, -1%); }
}

.masthead {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: auto;
}
.masthead-l, .masthead-r {
  font-family: var(--en-display);
  font-style: italic;
  font-size: 13px;
  color: var(--wine);
  letter-spacing: 0.05em;
}
.masthead-l { justify-self: start; }
.masthead-r { justify-self: end; text-align: end; }
.masthead-c {
  font-family: var(--en-body);
  font-size: 10px;
  letter-spacing: 0.5em;
  color: var(--bronze);
}

.cover-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
  padding: 80px 0;
}
.cover-eyebrow {
  font-family: var(--en-body);
  font-size: 12px;
  letter-spacing: 0.55em;
  color: var(--bronze);
  margin-bottom: 32px;
  font-weight: 400;
}
.cover-title {
  font-family: var(--en-display);
  font-weight: 400;
  font-size: clamp(72px, 14vw, 220px);
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.cover-divider {
  width: 100px;
  height: 1px;
  background: var(--bronze);
  margin: 32px 0 24px;
  display: block;
}
.cover-latin {
  font-family: var(--en-body);
  font-weight: 400;
  font-size: clamp(14px, 1.2vw, 16px);
  letter-spacing: 0.7em;
  color: var(--ink);
  text-indent: 0.7em;
}
.cover-tagline {
  font-family: var(--en-display);
  font-style: italic;
  font-size: clamp(20px, 1.8vw, 28px);
  color: var(--wine);
  margin-top: 28px;
  letter-spacing: 0;
  font-weight: 400;
}
.cover-tagline em { font-style: italic; }

.cover-foot {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  gap: 32px;
}
.cover-foot-l, .cover-foot-r {
  font-family: var(--en-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--bronze);
  text-transform: uppercase;
}
.cover-foot-l { justify-self: start; }
.cover-foot-r { justify-self: end; text-align: end; }
.cover-foot-c {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--bronze);
}
.cover-foot-c span {
  font-family: var(--en-body);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, var(--bronze), transparent);
  animation: pulse 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes pulse {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* ===== ESSAY — Manifesto with Drop Cap ===== */
.essay {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--cream);
}
.essay-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
.essay-side {
  position: sticky;
  top: 120px;
}
.essay-meta-num {
  font-family: var(--en-display);
  font-style: italic;
  font-weight: 400;
  font-size: 80px;
  color: var(--bronze);
  line-height: 1;
  margin: 16px 0 32px;
  letter-spacing: 0.02em;
}
.essay-title {
  font-family: var(--en-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 100px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.essay-title em {
  font-style: italic;
  color: var(--wine);
  font-weight: 400;
}
.essay-body {
  font-family: var(--en-body);
  font-size: 18px;
  line-height: 1.85;
  color: rgba(26, 22, 20, 0.82);
  font-weight: 300;
}
.essay-body p { margin-bottom: 28px; }

/* Drop cap on first paragraph */
.essay-body > p:first-child::first-letter {
  font-family: var(--en-display);
  font-weight: 400;
  float: left;
  font-size: 5.5em;
  line-height: 0.9;
  margin: 0.06em 0.12em 0 0;
  color: var(--wine);
  shape-outside: margin-box;
}

/* ===== PULL QUOTE — Italic Bodoni Interstitial ===== */
.pullquote {
  padding: clamp(80px, 12vw, 160px) 0;
  background: var(--bone);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  text-align: center;
}
.pullquote-mark {
  font-family: var(--en-display);
  font-style: italic;
  font-size: 96px;
  color: var(--bronze);
  line-height: 0.4;
  margin-bottom: 24px;
  font-weight: 400;
}
.pullquote p {
  font-family: var(--en-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(30px, 4.5vw, 64px);
  line-height: 1.3;
  color: var(--ink);
  max-width: 1080px;
  margin: 0 auto;
  letter-spacing: -0.005em;
}
.pullquote p em {
  font-style: italic;
  color: var(--wine);
  font-weight: 400;
}
.pullquote-attr { margin-top: 40px; }

/* ===== CHAPTERS — Numbered Editorial ===== */
.chapters { padding: clamp(70px, 11vw, 130px) 0; background: var(--cream); }
.chapters-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  margin-bottom: clamp(48px, 8vw, 96px);
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.chapters-head h2 {
  font-family: var(--en-display);
  font-weight: 400;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.05;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.chapters-head .italic-line {
  font-family: var(--ar-body);
  font-size: clamp(17px, 1.5vw, 21px);
  color: rgba(26, 22, 20, 0.75);
  line-height: 1.7;
  font-weight: 400;
  max-width: 540px;
}

.chapter {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: clamp(40px, 7vw, 100px);
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.chapter:nth-child(odd) { grid-template-columns: 1fr minmax(160px, 280px); }
.chapter:nth-child(odd) .chapter-numerals { order: 2; text-align: end; }

.chapter-numerals {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: sticky;
  top: 140px;
}
.chapter-num {
  font-family: var(--en-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(80px, 12vw, 168px);
  line-height: 0.9;
  color: var(--wine);
  letter-spacing: 0.01em;
}
.chapter-month {
  font-family: var(--en-body);
  font-size: 10px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-top: 8px;
}

.chapter-body h3 {
  font-family: var(--en-display);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 76px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 20px;
  letter-spacing: -0.005em;
}
.chapter-lede {
  font-family: var(--en-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.4;
  color: var(--wine);
  margin-bottom: 24px;
  max-width: 620px;
}
.chapter-text {
  font-family: var(--en-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(63, 44, 48, 0.7);
  font-weight: 300;
  max-width: 580px;
}
.chapter-list { list-style: none; }
.chapter-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: baseline;
}
.chapter-list li:last-child { border-bottom: 0; }
.chapter-list .item-roman {
  font-family: var(--en-body);
  font-size: 11px;
  color: var(--bronze);
  letter-spacing: 0.4em;
  text-transform: uppercase;
}
.chapter-list .item-content h4 {
  font-family: var(--en-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--wine);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}
.chapter-list .item-content p {
  font-family: var(--en-body);
  font-size: 16px;
  line-height: 1.75;
  color: rgba(26, 22, 20, 0.72);
  font-weight: 300;
}

/* ===== ATMOSPHERE — full-bleed wow moment ===== */
.atmosphere {
  position: relative;
  height: 70vh;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.atmosphere-video, .atmosphere-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  filter: saturate(0.82) contrast(1.04);
  z-index: 0;
}
.atmosphere-video { z-index: 1; }
.atmosphere-image {
  z-index: 0;
  animation: kenBurnsSlow 24s ease-in-out infinite alternate;
}
@keyframes kenBurnsSlow {
  0%   { transform: scale(1.05) translate(1%, 0); }
  100% { transform: scale(1.12) translate(-1%, -1%); }
}
.atmosphere-overlay {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 var(--gutter);
}
.atmosphere-overlay::before {
  content: '';
  position: absolute;
  inset: -200px -100vw;
  background: linear-gradient(180deg, transparent, rgba(26, 22, 20, 0.5) 40%, rgba(26, 22, 20, 0.7) 60%, transparent);
  z-index: -1;
}
.atmosphere-text {
  font-family: var(--en-display);
  font-weight: 400;
  font-size: clamp(48px, 7.5vw, 120px);
  line-height: 1.05;
  color: var(--cream);
  letter-spacing: -0.005em;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.4);
}
.atmosphere-text em {
  font-style: italic;
  color: var(--bronze-light);
  font-weight: 400;
}

/* ===== SPREAD — Asymmetric Brides Editorial ===== */
.spread {
  padding: clamp(70px, 11vw, 130px) 0;
  background: var(--bone);
}
.spread-head {
  margin-bottom: clamp(40px, 7vw, 80px);
}
.spread-head h2 {
  font-family: var(--ar-display);
  font-weight: 900;
  font-size: clamp(48px, 6vw, 88px);
  line-height: 1.05;
  color: var(--ink);
  margin-top: 16px;
  letter-spacing: -0.015em;
}
.spread-head .lede {
  font-family: var(--ar-body);
  font-size: clamp(17px, 1.5vw, 20px);
  color: rgba(26, 22, 20, 0.7);
  margin-top: 20px;
  max-width: 620px;
  line-height: 1.7;
  font-weight: 400;
}

.spread-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}
.spread-fig { display: flex; flex-direction: column; gap: 16px; }
.spread-fig figcaption {
  font-family: var(--en-body);
  font-size: 14px;
  color: var(--ink);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 300;
}
.spread-fig figcaption em {
  font-style: italic;
  font-family: var(--en-display);
  color: var(--wine);
  font-weight: 400;
}
.spread-fig .caption-num {
  font-size: 10px;
  display: block;
}
.spread-img {
  background-color: var(--sand);
  background-size: cover;
  background-position: center;
  filter: saturate(0.85) contrast(1.04);
  transition: filter 0.6s var(--ease);
}
.spread-fig:hover .spread-img { filter: saturate(1) contrast(1.05); }

.spread-fig.f1 { grid-column: 1 / span 7; }
.spread-fig.f1 .spread-img { aspect-ratio: 4 / 5; }
.spread-fig.f2 { grid-column: 8 / span 5; margin-top: 80px; }
.spread-fig.f2 .spread-img { aspect-ratio: 4 / 5; }
.spread-fig.f3 { grid-column: 1 / span 4; margin-top: -40px; }
.spread-fig.f3 .spread-img { aspect-ratio: 3 / 4; }
.spread-fig.f4 { grid-column: 5 / span 8; }
.spread-fig.f4 .spread-img { aspect-ratio: 16 / 9; }
.spread-fig.f5 { grid-column: 3 / span 5; margin-top: 40px; }
.spread-fig.f5 .spread-img { aspect-ratio: 3 / 4; }
.spread-fig.f6 { grid-column: 9 / span 4; margin-top: 80px; }
.spread-fig.f6 .spread-img { aspect-ratio: 3 / 4; }

/* ===== FEATURE QUOTE — Single Bride Testimonial ===== */
.feature-quote {
  padding: clamp(80px, 12vw, 140px) 0;
  background: var(--wine);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.feature-quote::before, .feature-quote::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 1px;
  background: var(--bronze);
  opacity: 0.25;
}
.feature-quote::before { top: 60px; right: 0; }
.feature-quote::after { bottom: 60px; left: 0; }

.feature-quote-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  text-align: center;
}
.feature-quote .mark {
  font-family: var(--en-display);
  font-style: italic;
  font-size: 96px;
  color: var(--bronze);
  opacity: 0.6;
  line-height: 0.5;
  margin-bottom: 32px;
}
.feature-quote blockquote {
  font-family: var(--en-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.8vw, 52px);
  line-height: 1.4;
  color: var(--cream);
  margin-bottom: 56px;
  letter-spacing: -0.005em;
}
.feature-quote figcaption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.feature-quote .name {
  font-family: var(--en-display);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  color: var(--bronze-light);
}
.feature-quote .name-meta {
  font-size: 11px;
  color: rgba(242, 235, 224, 0.55);
}

/* ===== NOTES — ملاحظات (Direction C signature) ===== */
.notes {
  padding: clamp(100px, 16vw, 200px) 0;
  background: var(--cream);
}
.notes-head {
  margin-bottom: clamp(60px, 10vw, 120px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: end;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}
.notes-head h2 {
  font-family: var(--ar-display);
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.1;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.notes-head .italic-line {
  font-family: var(--ar-body);
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(26, 22, 20, 0.7);
  line-height: 1.7;
  font-weight: 400;
  max-width: 540px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.note {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding-top: 32px;
  transition: border-color 0.4s var(--ease);
}
.note:hover { border-top-color: var(--bronze); }
.note-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 10px;
}
.note h3 {
  font-family: var(--en-display);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.note p {
  font-family: var(--en-body);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(26, 22, 20, 0.7);
  font-weight: 300;
}
.note-link {
  font-family: var(--en-display);
  font-style: italic;
  font-size: 15px;
  color: var(--wine);
  align-self: start;
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 4px;
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.4s var(--ease);
}
.note-link span {
  font-style: normal;
  transition: transform 0.4s var(--ease);
}
.note-link:hover { color: var(--ink); border-color: var(--ink); }
.note-link:hover span { transform: translateX(6px); }

/* ===== CLOSING — Dark CTA ===== */
.closing {
  padding: clamp(90px, 14vw, 180px) 0;
  background: var(--ink);
  color: var(--cream);
  text-align: center;
  position: relative;
}
.closing::before {
  content: '';
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: var(--bronze);
  opacity: 0.5;
}
.closing-eyebrow {
  font-size: 11px;
  color: var(--bronze);
  margin-bottom: 36px;
}
.closing h2 {
  font-family: var(--en-display);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 1.05;
  color: var(--cream);
  margin-bottom: 32px;
  letter-spacing: -0.005em;
}
.closing h2 em {
  font-style: italic;
  color: var(--bronze-light);
  font-weight: 400;
}
.closing p {
  font-family: var(--en-body);
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(242, 235, 224, 0.65);
  max-width: 620px;
  margin: 0 auto 56px;
  line-height: 1.75;
  font-weight: 300;
}
.closing-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--en-body);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 10px;
  transition: all 0.4s var(--ease);
}
.closing-cta .arrow {
  transition: transform 0.4s var(--ease);
}
.closing-cta:hover { border-bottom-color: var(--cream); }
.closing-cta:hover .arrow { transform: translateX(8px); }

/* ===== Footer — Editorial colophon ===== */
.footer {
  background: var(--cream);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-soft);
  margin-bottom: 32px;
}
.footer-mast .en { font-family: var(--en-display); font-weight: 400; font-size: 40px; color: var(--ink); display: block; line-height: 1; letter-spacing: 0.22em; }
.footer-mast .descriptor { font-size: 10px; margin-top: 18px; display: block; }
.footer h4 {
  font-family: var(--en-body);
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--bronze);
  margin-bottom: 20px;
}
.footer-links a, .footer-contact a {
  display: block;
  font-family: var(--en-body);
  font-size: 14px;
  color: rgba(26, 22, 20, 0.78);
  margin-bottom: 10px;
  transition: color 0.3s var(--ease);
  font-weight: 300;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--wine); }
.footer-colophon p {
  font-family: var(--en-display);
  font-style: italic;
  font-size: 14px;
  color: rgba(58, 31, 38, 0.85);
  line-height: 1.7;
  font-weight: 400;
}
.footer h4 { font-size: 11px; }
.footer-bottom span { font-size: 10px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-family: var(--en-body);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--bronze);
  text-transform: uppercase;
}

/* ===== Reveal animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
}
[data-reveal].in-view { opacity: 1; transform: translateY(0); }
[data-reveal][data-delay="1"] { transition-delay: 0.12s; }
[data-reveal][data-delay="2"] { transition-delay: 0.24s; }
[data-reveal][data-delay="3"] { transition-delay: 0.36s; }
[data-reveal][data-delay="4"] { transition-delay: 0.48s; }

/* ============================================
   ===== Responsive ===========================
   ============================================ */

/* ---- Tablet (≤1024) ---- */
@media (max-width: 1024px) {
  :root { --gutter: clamp(20px, 4vw, 48px); }

  /* Layout */
  .essay-grid, .chapters-head, .notes-head { grid-template-columns: 1fr; gap: 32px; }
  .essay-side { position: static; }
  .chapter, .chapter:nth-child(odd) { grid-template-columns: 1fr; gap: 24px; }
  .chapter:nth-child(odd) .chapter-numerals { order: 0; text-align: start; }
  .chapter-numerals {
    position: static;
    flex-direction: row;
    align-items: baseline;
    gap: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line-soft);
  }
  .chapter-num { font-size: clamp(56px, 9vw, 96px); }
  .notes-grid { grid-template-columns: 1fr; gap: 32px; }
  .spread-fig.f1, .spread-fig.f2, .spread-fig.f3,
  .spread-fig.f4, .spread-fig.f5, .spread-fig.f6 {
    grid-column: 1 / -1; margin: 0;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  /* Nav — compact tablet */
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 11px; letter-spacing: 0.18em; }
}

/* ---- Mobile (≤720) ---- */
@media (max-width: 720px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; }

  /* Nav — minimal: logo center + Book right */
  .nav { padding: 14px 0; }
  .nav-inner {
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
  }
  .nav-links { display: none; }
  .nav-logo .en { font-size: 20px; letter-spacing: 0.28em; }
  .nav-logo .descriptor { font-size: 9px; }
  .nav-right { display: flex; justify-content: flex-end; }
  .nav-right li:not(:last-child) { display: none; }
  .nav-right .nav-cta { font-size: 10px; letter-spacing: 0.18em; padding-bottom: 3px; gap: 6px; }
  .nav-right .nav-cta::after { display: none; }

  /* Cover */
  .cover { padding: 90px 20px 40px; min-height: 92vh; }
  .masthead { grid-template-columns: 1fr 1fr; gap: 8px; padding-bottom: 14px; }
  .masthead-c { display: none; }
  .masthead-l { justify-self: start; font-size: 9px; letter-spacing: 0.3em; }
  .masthead-r { justify-self: end; font-size: 9px; letter-spacing: 0.3em; }
  .cover-content { padding: 40px 0; }
  .cover-eyebrow { font-size: 10px; letter-spacing: 0.42em; margin-bottom: 24px; }
  .cover-title { font-size: clamp(64px, 18vw, 96px); letter-spacing: 0.05em; }
  .cover-divider { width: 60px; margin: 24px 0 18px; }
  .cover-tagline { font-size: 18px; margin-top: 18px; }
  .cover-foot {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 14px;
    align-items: center;
  }
  .cover-foot-c { display: none; }
  .cover-foot-l { justify-self: start; font-size: 9px; letter-spacing: 0.3em; }
  .cover-foot-r { justify-self: end; font-size: 9px; letter-spacing: 0.3em; }

  /* Essay */
  .essay { padding: 64px 0; }
  .essay-title { font-size: clamp(40px, 9vw, 56px); }
  .essay-body { font-size: 16px; line-height: 1.75; }
  .essay-body > p:first-child::first-letter { font-size: 4em; line-height: 0.9; }

  /* Pull quote (if shown) */
  .pullquote { padding: 56px 0; }
  .pullquote p { font-size: 24px; }

  /* Chapters */
  .chapters { padding: 56px 0; }
  .chapters-head h2 { font-size: clamp(36px, 8vw, 52px); }
  .chapter { padding: 32px 0; }
  .chapter-num { font-size: 64px; }
  .chapter-month { font-size: 9px; letter-spacing: 0.32em; }
  .chapter-body h3 { font-size: clamp(32px, 7vw, 44px); }
  .chapter-lede { font-size: 18px; margin-bottom: 18px; }
  .chapter-text { font-size: 15px; }

  /* Atmosphere */
  .atmosphere { height: 56vh; min-height: 380px; }
  .atmosphere-text { font-size: clamp(36px, 9vw, 52px); }

  /* Spread */
  .spread { padding: 56px 0; }
  .spread-head h2 { font-size: clamp(36px, 8vw, 52px); }
  .spread-grid { gap: 32px; }
  .spread-fig figcaption { font-size: 12px; }

  /* Feature quote */
  .feature-quote { padding: 64px 0; }
  .feature-quote blockquote { font-size: 22px; margin-bottom: 32px; }
  .feature-quote .mark { font-size: 64px; margin-bottom: 16px; }

  /* Closing */
  .closing { padding: 80px 0; }
  .closing h2 { font-size: clamp(40px, 10vw, 64px); }
  .closing p { font-size: 15px; margin-bottom: 36px; }
  .closing-cta { font-size: 12px; letter-spacing: 0.2em; }

  /* Footer */
  .footer { padding: 48px 0 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer-mast .en { font-size: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* Reveal — disable transform on mobile for snappier feel */
  [data-reveal] { transform: translateY(20px); }
}

/* ---- Small mobile (≤380) ---- */
@media (max-width: 380px) {
  .cover-title { font-size: 56px; letter-spacing: 0.04em; }
  .nav-logo .en { font-size: 18px; letter-spacing: 0.24em; }
  .nav-right .nav-cta { font-size: 9px; }
}
