/* ─────────────────────────────────────────────────────────────────── */
/* ARTICLE : "Cover Story" template                                     */
/*                                                                      */
/* Architecture-Digest-style long-form article. Full-bleed photo hero   */
/* with the title overlaid, a narrow Fraunces reading column with a     */
/* drop cap, and a small library of editorial blocks the author picks   */
/* from. See README.md for the block reference.                         */
/* ─────────────────────────────────────────────────────────────────── */


/* ── Hero ─────────────────────────────────────────────────────────── */

.cover-hero {
  position: relative;
  height: 92vh;
  min-height: 720px;
  overflow: hidden;
  background: var(--fc-ink);
  border-bottom: 1px solid var(--fc-ink);
}
.cover-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.78) saturate(1.05);
}
.cover-hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.78) 100%);
}
.cover-hero-marks {
  position: absolute; inset: 0;
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 32px 40px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.78);
  pointer-events: none;
}
.cover-hero-marks .right { text-align: right; }
.cover-hero-marks .right span { display: block; }

.cover-hero-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 0 40px 64px;
  color: var(--fc-paper);
}
.cover-hero-eyebrow {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0.02em;
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.cover-hero-eyebrow::before,
.cover-hero-eyebrow::after {
  content: "";
  flex: 0 0 56px;
  height: 1px;
  background: rgba(244,239,230,0.55);
}
.cover-hero-eyebrow::after { flex-grow: 1; }
.cover-hero-title {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(56px, 8.4vw, 132px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 16ch;
  text-wrap: balance;
  font-variation-settings: "opsz" 144;
}
.cover-hero-title em { font-style: italic; font-weight: 300; }

.cover-hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 32px;
  align-items: baseline;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(244,239,230,0.85);
}
.cover-hero-meta b {
  display: block;
  font-weight: 500;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  color: rgba(244,239,230,0.5);
  margin-bottom: 6px;
}


/* ── Article shell ─────────────────────────────────────────────────── */

.article {
  background: var(--fc-paper);
  padding: 120px 40px 160px;
}
.article-inner {
  max-width: var(--measure);
  margin: 0 auto;
  position: relative;
}


/* ── Deck + byline (top of article) ────────────────────────────────── */

.deck {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  font-size: 27px;
  line-height: 1.4;
  color: var(--fc-ink);
  text-align: center;
  margin: 0 auto 64px;
  max-width: 24ch;
  text-wrap: balance;
}

.byline {
  text-align: center;
  margin-bottom: 96px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--fc-divider);
}
.byline-label {
  display: block;
  font-family: var(--font-serif);
  font-variant-caps: all-small-caps;
  text-transform: none;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--fc-door, #3C5248);
  font-variation-settings: "opsz" 9;
  margin-bottom: 10px;
}
.byline-name {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.005em;
}
.byline-meta {
  margin-top: 6px;
  font-family: var(--font-serif);
  font-variant-caps: all-small-caps;
  text-transform: none;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--fc-muted);
  font-variation-settings: "opsz" 9;
}


/* ── Body paragraphs ───────────────────────────────────────────────── */

.body p {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.62;
  color: var(--fc-ink);
  margin-bottom: 1.4em;
  text-wrap: pretty;
  hyphens: auto;
}
.body p + p { text-indent: 1.6em; }
.body p:first-of-type { text-indent: 0; }

/* Drop cap on the lead paragraph */
.body p.lead { text-indent: 0; }
.body p.lead::first-letter {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 86px;
  line-height: 0.85;
  float: left;
  margin: 8px 14px 0 -4px;
  color: var(--fc-ink);
}
.body p.lead::first-line {
  font-variant: small-caps;
  letter-spacing: 0.05em;
  font-size: 17.5px;
}


/* ── Section break (chapter heading) ───────────────────────────────── */

.section-head {
  clear: both;
  margin: 84px 0 32px;
  text-align: left;
}
.section-head .eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fc-accent);
  margin-bottom: 14px;
}
.section-head h2 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fc-ink);
  text-wrap: balance;
  font-variation-settings: "opsz" 144;
}
.section-head h2 em { font-style: italic; font-weight: 300; }

h3.subhead {
  clear: both;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.2;
  margin: 56px 0 18px;
  color: var(--fc-ink);
}


/* ── Pull quote (oversized, no rules) ──────────────────────────────── */

.pullquote {
  clear: both;
  margin: 96px -120px;
  text-align: center;
  position: relative;
}
.pullquote-text {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--fc-ink);
  text-wrap: balance;
}
.pullquote-text::before { content: "\201C"; }
.pullquote-text::after  { content: "\201D"; }
.pullquote-cite {
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fc-muted);
}


/* ── Block quote with attribution (smaller than pullquote) ─────────── */

.blockquote {
  margin: 56px 0;
  padding-left: 28px;
  border-left: 2px solid var(--fc-accent);
}
.blockquote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.4;
  color: var(--fc-ink);
}
.blockquote-cite {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fc-muted);
}


/* ── Figures ───────────────────────────────────────────────────────── */

.fig-fullbleed {
  clear: both;
  margin: 88px calc(50% - 50vw);
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 16px;
}
.fig-fullbleed img {
  width: 100%;
  max-width: 980px;
  max-height: 640px;
  height: auto;
  object-fit: cover;
  display: block;
}
.fig-fullbleed .fig-caption {
  max-width: 700px;
  width: 100%;
  margin: 18px auto 0;
  padding: 0 40px;
}

.fig-inline {
  clear: both;
  margin: 56px 0;
}
.fig-inline img { width: 100%; height: auto; display: block; }
.fig-inline .fig-caption { padding: 0; max-width: none; margin-top: 14px; }

.fig-caption {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px 28px;
  align-items: baseline;
}
.fig-caption .text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.45;
  color: var(--fc-muted);
}
.fig-caption .credit {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fc-muted);
  white-space: nowrap;
}


/* ── Margin sidebar (Did you know / Definition) ────────────────────── */

.margin-note {
  position: relative;
  margin: 36px 0;
  padding: 22px 0;
  border-top: 1px solid var(--fc-ink);
  border-bottom: 1px solid var(--fc-divider);
}
@media (min-width: 1100px) {
  /* Hangs in left gutter on wide screens. Drops back into flow on narrow. */
  .margin-note {
    float: left;
    width: 200px;
    margin-left: -240px;
    margin-top: 6px;
    margin-bottom: 24px;
    padding: 18px 0;
  }
}
.margin-note-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fc-accent);
  margin-bottom: 10px;
}
.margin-note-text {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--fc-ink);
}
.margin-note-text em, .margin-note-text i { color: var(--fc-muted); }


/* ── Bordered callout (artist bio, takeaways) ──────────────────────── */

.callout {
  clear: both;
  margin: 80px 0;
  padding: 44px 0 40px;
  border-top: 1px solid var(--fc-ink);
  border-bottom: 1px solid var(--fc-ink);
  background: transparent;
}
.callout > .callout-eyebrow,
.callout > h4,
.callout > p {
  text-align: center;
  max-width: 52ch;
  margin-left: auto;
  margin-right: auto;
}
.callout-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--fc-accent);
  margin-bottom: 14px;
}
.callout h4 {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: var(--fc-ink);
  font-variation-settings: "opsz" 144;
}
.callout > p {
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.55;
  color: var(--fc-ink);
  margin-bottom: 22px;
}


/* ── Spec list (used inside callouts and on its own) ──────────────── */

.speclist {
  list-style: none;
  margin: 28px 0;
  padding: 0;
}
.speclist li {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fc-ink);
  padding: 18px 0;
  border-bottom: 1px solid var(--fc-divider);
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
}
.speclist li:first-child { border-top: 1px solid var(--fc-divider); }
.speclist li b {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fc-muted);
  font-weight: 500;
  padding-top: 3px;
}

/* Numbered takeaways : centered block, narrower than callout */
.speclist.numbered {
  counter-reset: take;
  max-width: 460px;
  margin: 28px auto 0;
}
.speclist.numbered li {
  display: block;
  text-align: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--fc-divider);
}
.speclist.numbered li:first-child { border-top: 1px solid var(--fc-divider); }
.speclist.numbered li::before {
  counter-increment: take;
  content: counter(take, upper-roman) ".";
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  color: var(--fc-accent);
  line-height: 1;
  margin-bottom: 10px;
}
.speclist.numbered li b {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 19px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--fc-ink);
  margin-bottom: 6px;
}
.speclist.numbered li span {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.5;
  color: var(--fc-muted);
  display: block;
}


/* ── Stat strip (by-the-numbers) ──────────────────────────────────── */

.statstrip {
  clear: both;
  margin: 80px -40px;
  padding: 36px 40px;
  border-top: 1px solid var(--fc-ink);
  border-bottom: 1px solid var(--fc-ink);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.statstrip-item {
  padding: 0 24px;
  border-left: 1px solid var(--fc-divider);
  text-align: left;
}
.statstrip-item:first-child { border-left: none; padding-left: 0; }
.statstrip-num {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--fc-ink);
  display: block;
  margin-bottom: 10px;
}
.statstrip-num sup { font-size: 18px; vertical-align: super; line-height: 1; }
.statstrip-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--fc-muted);
  line-height: 1.5;
}


/* ── Embedded video / slideshow ───────────────────────────────────── */

.embed {
  margin: 80px -40px;
  background: var(--fc-ink);
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: 1px solid var(--fc-ink);
}
.embed-cover {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.7);
}
.embed-play {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.embed-play-btn {
  width: 76px; height: 76px;
  border-radius: 50%;
  background: var(--fc-paper);
  display: grid; place-items: center;
  color: var(--fc-ink);
  font-family: var(--font-serif);
  font-size: 22px;
  padding-left: 6px;
}
.embed-meta {
  position: absolute; left: 24px; bottom: 24px;
  color: var(--fc-paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.embed-meta b {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  margin-bottom: 4px;
}


/* ── Article end (filed under / share) ────────────────────────────── */

.article-end {
  margin-top: 96px;
  padding-top: 48px;
  border-top: 1px solid var(--fc-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  font-family: var(--font-serif);
  font-variant-caps: all-small-caps;
  text-transform: none;
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: var(--fc-muted);
  font-variation-settings: "opsz" 9;
}
.article-end a { color: var(--fc-ink); border-bottom: 1px solid var(--fc-accent); padding-bottom: 2px; }
.article-end-share { display: flex; gap: 28px; }
.article-end-share a { border: none; padding: 0; }


/* ── Related posts (after .article-end) ───────────────────────────── */

.related {
  background: var(--fc-paper-2);
  padding: 96px 40px 120px;
  border-top: 1px solid var(--fc-ink);
}
.related-inner { max-width: 1200px; margin: 0 auto; }
.related-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--fc-ink);
}
.related-head h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.01em;
  color: var(--fc-ink);
}
.related-head a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fc-accent);
  border-bottom: 1px solid var(--fc-accent);
  padding-bottom: 2px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.related-card {
  display: block;
  color: var(--fc-ink);
}
.related-card-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  margin-bottom: 18px;
  border: 1px solid var(--fc-divider);
}
.related-card-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fc-accent);
  margin-bottom: 8px;
}
.related-card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}


/* ── Responsive ───────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .pullquote { margin: 64px 0; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .article { padding: 64px 24px 96px; }
  .cover-hero-content { padding: 0 24px 40px; }
  .cover-hero-marks { padding: 20px 24px; }
  .embed, .statstrip { margin-left: -24px; margin-right: -24px; padding-left: 24px; padding-right: 24px; }
  .statstrip { grid-template-columns: repeat(2,1fr); row-gap: 28px; }
  .statstrip-item:nth-child(odd) { border-left: none; padding-left: 0; }
  .speclist li { grid-template-columns: 1fr; gap: 6px; }
  .related { padding: 64px 24px 80px; }
  .related-grid { grid-template-columns: 1fr; }
  .related-head { flex-direction: column; gap: 16px; align-items: flex-start; }
}
