/* ============================================
   MARIANN GRAY · Story (Chapter II — The House)
   Brand narrative section
   ============================================ */

/* —— CHAPTER DIVIDER —— */
.chapter-divider {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-9) var(--gutter) var(--space-7);
  z-index: var(--z-content);
}

.chapter-divider-eyebrow {
  font-family: var(--font-script);
  font-size: clamp(22px, 2.4vw, 32px);
  color: var(--color-terra);
  margin-bottom: var(--space-4);
}

.chapter-divider-roman {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(140px, 22vw, 280px);
  line-height: 0.85;
  color: var(--color-burgundy);
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.chapter-divider-roman::before {
  content: '';
  position: absolute;
  inset: -25% -50%;
  background: radial-gradient(circle, rgba(232, 180, 184, 0.45), transparent 65%);
  z-index: -1;
  filter: blur(50px);
  pointer-events: none;
}

.chapter-divider-line {
  width: 60px;
  height: 1px;
  background: var(--color-gold);
  margin: var(--space-4) 0;
  opacity: 0.7;
}

.chapter-divider-name {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(28px, 3.5vw, 48px);
  color: var(--color-burgundy);
  letter-spacing: 0.01em;
}

/* —— STORY SECTION —— */
.story {
  position: relative;
  padding: var(--space-5) var(--gutter) var(--space-7);
  z-index: var(--z-content);
}

.story-header {
  text-align: center;
  margin: 0 auto var(--space-7);
  max-width: 720px;
}

.story-eyebrow {
  font-family: var(--font-script);
  font-size: clamp(22px, 2.4vw, 30px);
  color: var(--color-terra);
  margin-bottom: var(--space-2);
}

.story-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(44px, 6vw, 84px);
  color: var(--color-burgundy);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: var(--space-3);
  letter-spacing: -0.01em;
}

.story-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(11px, 1.1vw, 14px);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-terra);
  font-weight: 500;
}

/* —— PROSE —— */
.story-prose {
  max-width: 700px;
  margin: 0 auto;
  padding: var(--space-5) 0 var(--space-7);
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.85;
  color: var(--color-ink);
}

.story-prose p {
  margin-bottom: var(--space-5);
}

.story-prose .has-dropcap {
  margin-bottom: var(--space-5);
}

.story-prose .has-dropcap::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 5em;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.12em -0.05em 0;
  color: var(--color-burgundy);
  font-weight: 500;
}

/* —— STORY DIVIDER (between paragraphs) —— */
.story-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--space-6) 0;
}
.story-divider svg {
  width: 110px;
  height: auto;
  opacity: 0.7;
}

/* —— PULL QUOTE —— */
.pull-quote {
  margin: var(--space-7) auto;
  max-width: 900px;
  padding: var(--space-5) var(--space-3);
  text-align: center;
  position: relative;
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 130px;
  line-height: 1;
  color: var(--color-gold);
  opacity: 0.45;
  pointer-events: none;
}

.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 4.2vw, 56px);
  line-height: 1.15;
  color: var(--color-burgundy);
  letter-spacing: -0.01em;
  margin-bottom: var(--space-3);
  font-weight: 400;
}

.pull-quote-attribution {
  font-family: var(--font-script);
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--color-terra);
}

/* —— SIGNATURE —— */
.story-signature {
  text-align: center;
  margin-top: var(--space-7);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.signature-line {
  width: 70px;
  height: 1px;
  background: var(--color-gold);
  opacity: 0.6;
  margin-bottom: var(--space-4);
}

.signature-name {
  font-family: var(--font-script);
  font-size: clamp(46px, 6vw, 76px);
  color: var(--color-burgundy);
  line-height: 1;
}

.signature-meta {
  font-family: var(--font-serif);
  font-size: var(--text-2xs);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-terra);
  margin-top: var(--space-3);
  font-weight: 500;
}

/* —— CHAPTER END —— */
.chapter-end {
  text-align: center;
  padding: var(--space-6) var(--gutter) var(--space-9);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-terra);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: var(--z-content);
  position: relative;
}

.chapter-end .ornament {
  margin: 0 auto var(--space-3);
}

/* —— TEASER NEXT (Chapter III preview) —— */
.teaser-next {
  border-top: 1px solid var(--color-line);
  background: linear-gradient(to bottom, transparent 0%, rgba(252, 228, 214, 0.35) 100%);
}

/* —— RESPONSIVE —— */
@media (max-width: 700px) {
  .chapter-divider {
    padding: var(--space-7) var(--gutter) var(--space-5);
  }
  .pull-quote {
    margin: var(--space-6) 0;
    padding: var(--space-4) 0;
  }
  .pull-quote::before {
    font-size: 90px;
    top: -22px;
  }
  .story-prose .has-dropcap::first-letter {
    font-size: 4em;
  }
}

/* —— ARMENIAN ARMENIAN-AWARE TYPE (overrides for Armenian rendering) —— */
html[lang="hy"] .pull-quote p {
  font-family: var(--font-armenian);
  font-style: normal;
  font-weight: 500;
}
html[lang="hy"] .signature-name {
  font-family: var(--font-armenian);
  font-style: italic;
  font-weight: 500;
}
