/* ══════════════════════════════════════════════════════════
   BuyThe200 — THE STACK
   Stacking-cards reading experience for Letters.
   Each article renders as a different "paper" type:
   newspaper, magazine, book tearout, broadsheet,
   feature magazine, paperback — cycling through them.
   ══════════════════════════════════════════════════════════ */

/* ── Shared / Layout ─────────────────────────────────── */
.stk-hero {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 8vw 12vh;
}
.stk-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute-2);
  margin-bottom: 40px;
}
.stk-hero-eyebrow .rule {
  width: 48px; height: 1px;
  background: var(--signal);
  display: inline-block;
}
.stk-hero-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(48px, 8vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--bone);
  margin-bottom: 32px;
}
.stk-hero-title em { color: var(--signal); }
.stk-hero-deck {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--mute-2);
  max-width: 520px;
}
.stk-hero-scroll {
  position: absolute;
  bottom: 48px; right: 8vw;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--mute-2);
  animation: stk-pulse 2.6s ease-in-out infinite;
}
.stk-hero-scroll-rule {
  width: 48px; height: 1px;
  background: var(--mute);
  position: relative;
  overflow: hidden;
}
.stk-hero-scroll-rule::after {
  content: '';
  position: absolute;
  top: 0; left: -50%;
  width: 50%; height: 100%;
  background: var(--bone);
  animation: stk-scroll-line 2.6s ease-in-out infinite;
}
@keyframes stk-scroll-line {
  0%   { transform: translateX(0); }
  50%  { transform: translateX(300%); }
  100% { transform: translateX(300%); }
}
@keyframes stk-pulse {
  0%, 100% { opacity: 0.4; }
  50%      { opacity: 1; }
}

/* ── Stack container ────────────────────────────────── */
#stk-stack {
  position: relative;
  padding-bottom: 40vh;
}

/* ── Individual letter ──────────────────────────────── */
.stk-letter {
  position: sticky;
  top: 0;
  height: 100vh;        /* fixed — not min-height — so every card contributes
                           exactly one viewport of scroll space; no dead scroll */
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 24px;
}
/* Feature magazine is tall — anchor from top so content isn't cut */
.stk-letter--top {
  align-items: flex-start;
  padding-top: 56px;
}
.stk-letter--top .stk-card {
  max-width: min(1440px, 94vw);
}

.stk-card {
  position: relative;
  width: 100%;
  max-width: 960px;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.4s ease,
              box-shadow 0.5s ease;
  will-change: transform, opacity;
  transform: rotate(calc(var(--skew, 0) * 1deg))
             translateX(calc(var(--drift, 0) * 1px));
  box-shadow: 0 -2px 40px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(242, 238, 229, 0.03);
}

.stk-letter.is-behind .stk-card {
  opacity: 1;
  transform: rotate(calc(var(--skew, 0) * 1deg))
             translateX(calc(var(--drift, 0) * 1px))
             scale(var(--behind-scale, 0.96));
}

/* ── Featured image with newsprint matte veil ──────── */
.stk-img-wrap {
  position: relative;
  overflow: hidden;
  float: left;
  width: 40%;
  max-width: 240px;
  margin: 4px 20px 12px 0;
  z-index: 3;
}
/* Inside multi-column layouts, sit in one column */
.np-columns .stk-img-wrap,
.bs-columns .stk-img-wrap {
  float: none;
  width: 100%;
  max-width: none;
  margin: 0 0 14px 0;
  break-inside: avoid;
}
.stk-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
  filter: grayscale(20%) contrast(0.92) brightness(0.97);
}
.stk-img-veil {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0,0,0,0.025) 0px,
      transparent 1px,
      transparent 3px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(0,0,0,0.015) 0px,
      transparent 1px,
      transparent 4px
    ),
    linear-gradient(180deg,
      rgba(200,180,140,0.08) 0%,
      transparent 30%,
      transparent 70%,
      rgba(160,140,100,0.06) 100%
    );
  mix-blend-mode: multiply;
  pointer-events: none;
}
/* Dark card variant — lighter veil */
.stk-magazine .stk-img-wrap img,
.stk-feature .stk-img-wrap img {
  filter: grayscale(10%) contrast(0.95) brightness(0.85);
}
.stk-magazine .stk-img-veil,
.stk-feature .stk-img-veil {
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,0.02) 0px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(180deg,
      rgba(0,0,0,0.15) 0%,
      transparent 40%,
      transparent 60%,
      rgba(0,0,0,0.1) 100%
    );
}

/* ── Continuation page indicator ────────────────────── */
.stk-page-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.stk-page-indicator .stk-page-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  opacity: 0.25;
}
.stk-page-indicator .stk-page-dot.is-current {
  opacity: 1;
}
/* Light card dots */
.stk-newspaper .stk-page-dot,
.stk-book .stk-page-dot,
.stk-broadsheet .stk-page-dot,
.stk-paperback .stk-page-dot {
  background: #1A1710;
}
.stk-newspaper .stk-page-indicator,
.stk-book .stk-page-indicator,
.stk-broadsheet .stk-page-indicator,
.stk-paperback .stk-page-indicator {
  color: #6B5F4C;
  border-top-color: rgba(26,23,16,0.1);
}
/* Dark card dots */
.stk-magazine .stk-page-dot,
.stk-feature .stk-page-dot {
  background: var(--bone);
}
.stk-magazine .stk-page-indicator,
.stk-feature .stk-page-indicator {
  color: var(--mute);
  border-top-color: rgba(255,255,255,0.06);
}

/* Continuation header for multi-page articles */
.stk-cont-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
}
.stk-cont-title {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.2;
  margin-bottom: 4px;
}
.stk-cont-sub {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
/* Light card continuation */
.stk-newspaper .stk-cont-header,
.stk-broadsheet .stk-cont-header {
  border-bottom: 1px solid rgba(26,23,16,0.12);
}
.stk-newspaper .stk-cont-title,
.stk-broadsheet .stk-cont-title {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: #1A1710;
}
.stk-newspaper .stk-cont-sub,
.stk-broadsheet .stk-cont-sub {
  color: #6B5F4C;
}
.stk-book .stk-cont-header,
.stk-paperback .stk-cont-header {
  border-bottom: 1px solid rgba(26,23,16,0.08);
}
.stk-book .stk-cont-title,
.stk-paperback .stk-cont-title {
  font-family: 'DM Serif Display', serif;
  font-weight: 400;
  color: #1A1610;
}
.stk-book .stk-cont-sub,
.stk-paperback .stk-cont-sub {
  color: #8A8070;
}
/* Dark card continuation */
.stk-magazine .stk-cont-header {
  border-bottom: 1px solid rgba(226,90,28,0.12);
}
.stk-magazine .stk-cont-title {
  font-family: var(--display);
  font-weight: 600;
  color: #FFFFFF;
}
.stk-magazine .stk-cont-sub {
  color: var(--mute);
}
.stk-feature .stk-cont-header {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stk-feature .stk-cont-title {
  font-family: var(--display);
  font-weight: 300;
  color: #FFFFFF;
}
.stk-feature .stk-cont-sub {
  color: #4A4540;
}

/* ── Counter ────────────────────────────────────────── */
.stk-counter {
  position: fixed;
  bottom: 32px; right: 32px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--mute);
  z-index: 9999;
  transition: opacity 0.3s;
  opacity: 0;
}
.stk-counter span { color: var(--bone); }

/* ── Outro ──────────────────────────────────────────── */
.stk-outro {
  height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
}
.stk-outro-line {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--bone);
}
.stk-outro-line em { color: var(--signal); }
.stk-outro-cta {
  margin-top: 40px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-2);
  text-decoration: none;
  transition: color 0.3s;
}
.stk-outro-cta:hover { color: var(--bone); }
.stk-outro-cta .rule {
  width: 32px; height: 1px;
  background: var(--signal);
  display: inline-block;
}

/* ══════════════════════════════════════════════════════
   CARD TYPE 0: NEWSPAPER
   ══════════════════════════════════════════════════════ */
.stk-newspaper {
  background: #E8E0CC;
  color: #1A1710;
  padding: clamp(40px, 5vw, 64px);
  border: none;
  box-shadow: 0 4px 60px rgba(0,0,0,0.5),
              inset 0 0 80px rgba(0,0,0,0.04);
  position: relative;
}
.stk-newspaper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent calc(50% - 1px),
      rgba(0,0,0,0.06) calc(50% - 1px),
      rgba(0,0,0,0.06) calc(50%),
      transparent calc(50%),
      transparent 100%
    );
  pointer-events: none;
  z-index: 1;
}
.stk-newspaper::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 10%, rgba(180,160,120,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 90%, rgba(100,80,50,0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: 2;
}

.stk-newspaper .np-masthead {
  text-align: center;
  border-bottom: 3px double #1A1710;
  padding-bottom: 12px;
  margin-bottom: 16px;
  position: relative;
  z-index: 3;
}
.stk-newspaper .np-masthead-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(28px, 4vw, 42px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1A1710;
  line-height: 1;
}
.stk-newspaper .np-masthead-sub {
  font-family: 'Playfair Display', serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #6B5F4C;
  margin-top: 4px;
}
.stk-newspaper .np-dateline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #6B5F4C;
  padding: 6px 0 12px;
  border-bottom: 1px solid rgba(26,23,16,0.15);
  margin-bottom: 20px;
  position: relative;
  z-index: 3;
}
.stk-newspaper .np-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.12;
  color: #1A1710;
  margin-bottom: 16px;
  text-align: center;
  position: relative;
  z-index: 3;
}
.stk-newspaper .np-subhead {
  font-family: 'Playfair Display', serif;
  font-weight: 400;
  font-style: italic;
  font-size: clamp(13px, 1.2vw, 15px);
  line-height: 1.4;
  color: #4A432F;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(26,23,16,0.12);
  position: relative;
  z-index: 3;
}
.stk-newspaper .np-byline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 11px;
  color: #6B5F4C;
  margin-bottom: 16px;
  position: relative;
  z-index: 3;
}
.stk-newspaper .np-columns {
  column-count: 2;
  column-gap: 28px;
  column-rule: 1px solid rgba(26,23,16,0.1);
  position: relative;
  z-index: 3;
}
.stk-newspaper .np-columns p {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(11px, 1vw, 13px);
  line-height: 1.6;
  color: #2A2520;
  margin-bottom: 12px;
  text-align: justify;
  hyphens: auto;
  text-indent: 1.2em;
}
.stk-newspaper .np-columns p:first-child { text-indent: 0; }
.stk-newspaper .np-columns strong { font-weight: 700; }
.stk-newspaper .np-columns .np-pull {
  break-inside: avoid;
  column-span: all;
  margin: 16px 0;
  padding: 14px 0;
  border-top: 2px solid #1A1710;
  border-bottom: 1px solid rgba(26,23,16,0.25);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(15px, 1.6vw, 20px);
  line-height: 1.25;
  color: #1A1710;
  text-align: center;
  text-indent: 0;
}
.stk-newspaper .np-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(26,23,16,0.12);
  position: relative;
  z-index: 3;
}
.stk-newspaper .np-continued {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 10px;
  color: #6B5F4C;
}
.stk-newspaper .np-num {
  font-family: 'Lora', serif;
  font-size: 10px;
  color: #9E9480;
}

/* ══════════════════════════════════════════════════════
   CARD TYPE 1: MAGAZINE
   ══════════════════════════════════════════════════════ */
.stk-magazine {
  background: #111111;
  color: #E8E4DC;
  padding: 0;
  border: none;
  box-shadow: 0 4px 60px rgba(0,0,0,0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.stk-magazine .mg-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--signal) 0%, #D4451A 40%, transparent 100%);
}
.stk-magazine .mg-inner {
  padding: clamp(40px, 5vw, 64px);
  padding-top: clamp(32px, 4vw, 48px);
}
.stk-magazine .mg-cat {
  font-family: var(--display);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 28px;
}
.stk-magazine .mg-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.stk-magazine .mg-headline em {
  font-family: var(--serif);
  color: var(--signal);
  font-weight: 400;
}
.stk-magazine .mg-deck {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.5;
  color: #8A8378;
  margin-bottom: 32px;
  max-width: 420px;
}
.stk-magazine .mg-byline {
  font-family: var(--display);
  font-weight: 400;
  font-size: 12px;
  color: #5A5550;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.stk-magazine .mg-rule {
  width: 48px;
  height: 1px;
  background: rgba(226,90,28,0.3);
  margin-bottom: 32px;
}
.stk-magazine .mg-body {
  position: relative;
  padding-left: 24px;
  border-left: 2px solid rgba(226,90,28,0.2);
}
.stk-magazine .mg-body p {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.72;
  color: #C8C2B8;
  margin-bottom: 18px;
}
.stk-magazine .mg-body p:last-child { margin-bottom: 0; }
.stk-magazine .mg-body strong { color: #FFFFFF; font-weight: 500; }
.stk-magazine .mg-dropcap::first-letter {
  font-family: var(--serif);
  font-size: 3.4em;
  float: left;
  line-height: 0.8;
  margin-right: 8px;
  margin-top: 4px;
  color: var(--signal);
  font-weight: 400;
}
.stk-magazine .mg-pullquote {
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid rgba(226,90,28,0.15);
  border-bottom: 1px solid rgba(226,90,28,0.15);
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.35;
  color: var(--signal);
  text-align: center;
}
.stk-magazine .mg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.stk-magazine .mg-footer span {
  font-family: var(--mono);
  font-size: 10px;
  color: #5A5550;
  letter-spacing: 0.06em;
}

/* ══════════════════════════════════════════════════════
   CARD TYPE 2: BOOK TEAROUT
   ══════════════════════════════════════════════════════ */
.stk-book {
  background: #F5F0E4;
  color: #2C261E;
  padding: clamp(48px, 6vw, 80px) clamp(48px, 6vw, 72px);
  border: none;
  box-shadow: 0 4px 60px rgba(0,0,0,0.5), 2px 0 12px rgba(0,0,0,0.08);
  position: relative;
  clip-path: polygon(
    0% 0.3%, 2% 0%, 5% 0.4%, 8% 0.1%, 12% 0.5%, 18% 0.2%, 25% 0.6%,
    35% 0.1%, 45% 0.4%, 55% 0.2%, 65% 0.5%, 75% 0.1%, 82% 0.3%,
    88% 0%, 93% 0.4%, 97% 0.1%, 100% 0.3%,
    100% 99.6%, 97% 100%, 93% 99.5%, 88% 99.8%, 82% 99.4%, 75% 100%,
    65% 99.6%, 55% 99.9%, 45% 99.5%, 35% 100%, 25% 99.7%, 18% 99.9%,
    12% 99.5%, 8% 100%, 5% 99.6%, 2% 99.9%, 0% 99.7%
  );
}
.stk-book::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.04) 0%, transparent 8%, transparent 92%, rgba(0,0,0,0.03) 100%),
    radial-gradient(ellipse at 30% 20%, rgba(200,180,140,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.stk-book .bk-running-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Lora', Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B8AD9A;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26,23,16,0.08);
}
.stk-book .bk-page-num {
  position: absolute;
  bottom: clamp(24px, 4vw, 40px);
  right: clamp(32px, 5vw, 56px);
  font-family: 'Lora', Georgia, serif;
  font-size: 11px;
  color: #A09882;
}
.stk-book .bk-chapter {
  font-family: 'Lora', Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8A8070;
  margin-bottom: 32px;
}
.stk-book .bk-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.15;
  color: #1A1610;
  margin-bottom: 8px;
}
.stk-book .bk-title em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: #8B3A0E;
}
.stk-book .bk-author {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 12px;
  color: #8A8070;
  text-align: center;
  margin-bottom: 24px;
}
.stk-book .bk-ornament {
  text-align: center;
  color: #B8AD9A;
  font-size: 18px;
  letter-spacing: 0.5em;
  margin-bottom: 32px;
}
.stk-book .bk-body p {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.78;
  color: #3A3228;
  margin-bottom: 18px;
  text-indent: 1.5em;
}
.stk-book .bk-body p:first-child { text-indent: 0; }
.stk-book .bk-body strong { font-weight: 700; color: #1A1610; }
.stk-book .bk-body em {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  color: #5A4E3C;
}
.stk-book .bk-annotation {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(226,90,28,0.06);
  border-left: 2px solid rgba(226,90,28,0.25);
  font-family: var(--display);
  font-weight: 400;
  font-size: 12px;
  line-height: 1.5;
  color: #7A5530;
  font-style: italic;
}
.stk-book.bk-dogear .bk-dogear-corner {
  position: absolute;
  top: 0; right: 0;
  width: 36px; height: 36px;
  background: linear-gradient(225deg, transparent 0%, transparent 50%, #D8D0BC 50%, #E2DAC6 100%);
  z-index: 4;
  pointer-events: none;
  box-shadow: -2px 2px 4px rgba(0,0,0,0.08);
}

/* ══════════════════════════════════════════════════════
   CARD TYPE 3: BROADSHEET
   ══════════════════════════════════════════════════════ */
.stk-broadsheet {
  background: #DDD5C0;
  color: #1A1710;
  padding: clamp(36px, 4vw, 56px);
  border: none;
  box-shadow: 0 4px 60px rgba(0,0,0,0.5),
              inset 0 0 100px rgba(0,0,0,0.06);
  position: relative;
}
.stk-broadsheet::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(160,140,100,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(120,100,60,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.stk-broadsheet .bs-rule-top {
  height: 4px;
  background: #1A1710;
  margin-bottom: 4px;
}
.stk-broadsheet .bs-rule-thin {
  height: 1px;
  background: #1A1710;
  margin-bottom: 16px;
}
.stk-broadsheet .bs-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.stk-broadsheet .bs-section {
  font-family: 'Playfair Display', serif;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #6B5F4C;
}
.stk-broadsheet .bs-page {
  font-family: 'Lora', serif;
  font-size: 10px;
  color: #6B5F4C;
}
.stk-broadsheet .bs-headline {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.08;
  color: #1A1710;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 2;
}
.stk-broadsheet .bs-byline {
  font-family: 'Lora', serif;
  font-size: 11px;
  color: #6B5F4C;
  font-style: italic;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(26,23,16,0.15);
  position: relative;
  z-index: 2;
}
.stk-broadsheet .bs-columns {
  column-count: 2;
  column-gap: 24px;
  column-rule: 1px solid rgba(26,23,16,0.12);
  position: relative;
  z-index: 2;
}
.stk-broadsheet .bs-columns p {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(11px, 0.95vw, 12.5px);
  line-height: 1.62;
  color: #2A2520;
  margin-bottom: 10px;
  text-align: justify;
  hyphens: auto;
}
.stk-broadsheet .bs-columns strong { font-weight: 700; }
.stk-broadsheet .bs-columns .bs-pull {
  break-inside: avoid;
  column-span: all;
  margin: 14px 0;
  padding: 12px 0;
  border-top: 2px solid #1A1710;
  border-bottom: 1px solid rgba(26,23,16,0.2);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  color: #1A1710;
  text-align: center;
}
.stk-broadsheet .bs-date {
  font-family: 'Lora', serif;
  font-size: 10px;
  color: #6B5F4C;
}
.stk-broadsheet .bs-footer {
  margin-top: 16px;
  padding-top: 10px;
  border-top: 1px solid rgba(26,23,16,0.12);
  position: relative;
  z-index: 2;
}
.stk-broadsheet .bs-see-also {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 10px;
  color: #6B5F4C;
}

/* ══════════════════════════════════════════════════════
   CARD TYPE 4: FEATURE MAGAZINE
   ══════════════════════════════════════════════════════ */
.stk-feature {
  background: #0C0C0C;
  color: #E8E4DC;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 4px 60px rgba(0,0,0,0.6);
}
.stk-feature .ft-header {
  padding: clamp(24px, 3.5vw, 40px) clamp(28px, 4vw, 48px) 0;
}
.stk-feature .ft-issue {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #4A4540;
  margin-bottom: 16px;
}
.stk-feature .ft-headline {
  font-family: var(--display);
  font-weight: 200;
  font-size: clamp(28px, 3.5vw, 46px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: #FFFFFF;
  margin-bottom: 10px;
}
.stk-feature .ft-headline strong {
  font-weight: 700;
  color: var(--signal);
}
.stk-feature .ft-byline {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4A4540;
  margin-top: 16px;
}
.stk-feature .ft-deck {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.45;
  color: #6B6358;
  margin-top: 16px;
  max-width: 480px;
}
.stk-feature .ft-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--signal) 0%, transparent 60%);
  margin: clamp(16px, 2vw, 24px) 0;
}
.stk-feature .ft-body {
  padding: 0 clamp(28px, 4vw, 48px) clamp(24px, 3.5vw, 40px);
}
/* Continuation pages: two columns halves the vertical height */
.stk-feature .ft-body--cols {
  column-count: 2;
  column-gap: clamp(28px, 4vw, 52px);
}
.stk-feature .ft-body p {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.65;
  color: #AAA49A;
  margin-bottom: 14px;
}
.stk-feature .ft-body p:last-child { margin-bottom: 0; }
.stk-feature .ft-body strong { color: #FFFFFF; font-weight: 500; }
.stk-feature .ft-body .ft-stat {
  margin: 24px 0;
  padding: 20px 24px;
  background: rgba(226,90,28,0.04);
  border: 1px solid rgba(226,90,28,0.1);
}
.stk-feature .ft-stat-label {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--signal);
  line-height: 1.4;
}
.stk-feature .ft-coda-bar {
  padding: 0 clamp(36px, 5vw, 56px) clamp(24px, 3vw, 36px);
}
.stk-feature .ft-coda-rule {
  width: 100%;
  height: 1px;
  background: rgba(255,255,255,0.04);
  margin-bottom: 16px;
}
.stk-feature .ft-coda {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(14px, 1.2vw, 16px);
  color: #6B6358;
}

/* ══════════════════════════════════════════════════════
   CARD TYPE 5: PAPERBACK
   ══════════════════════════════════════════════════════ */
.stk-paperback {
  background: #EDE7D8;
  color: #2C261E;
  padding: clamp(48px, 6vw, 80px) clamp(48px, 6vw, 72px);
  border: none;
  box-shadow: 0 4px 60px rgba(0,0,0,0.5),
              -3px 0 8px rgba(0,0,0,0.1),
              3px 0 8px rgba(0,0,0,0.06);
  position: relative;
}
.stk-paperback::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 28px;
  background: linear-gradient(90deg, rgba(0,0,0,0.06) 0%, rgba(0,0,0,0.02) 40%, transparent 100%);
  pointer-events: none;
}
.stk-paperback .pb-texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(200,180,140,0.06) 0%, transparent 30%, transparent 70%, rgba(180,160,120,0.04) 100%);
  pointer-events: none;
}
.stk-paperback .pb-header {
  font-family: 'Lora', Georgia, serif;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #9E9480;
  margin-bottom: 36px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stk-paperback .pb-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.18;
  color: #1A1610;
  margin-bottom: 6px;
  text-align: center;
  position: relative;
  z-index: 1;
}
.stk-paperback .pb-title em {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: #8B3A0E;
}
.stk-paperback .pb-author {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 12px;
  color: #9E9480;
  text-align: center;
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}
.stk-paperback .pb-epigraph {
  margin: 28px auto;
  max-width: 400px;
  padding: 20px 28px;
  border-left: 2px solid #B8AD9A;
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.6;
  color: #6B5F4C;
  position: relative;
  z-index: 1;
}
.stk-paperback .pb-epigraph cite {
  display: block;
  margin-top: 8px;
  font-family: var(--mono);
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #9E9480;
}
.stk-paperback .pb-colophon {
  margin-top: 28px;
  text-align: center;
  color: #B8AD9A;
  font-size: 14px;
  letter-spacing: 0.5em;
  position: relative;
  z-index: 1;
}
.stk-paperback .pb-body {
  position: relative;
  z-index: 1;
  margin-top: 32px;
}
.stk-paperback .pb-body p {
  font-family: 'Lora', Georgia, serif;
  font-size: clamp(13px, 1.1vw, 15px);
  line-height: 1.78;
  color: #3A3228;
  margin-bottom: 18px;
  text-indent: 1.5em;
}
.stk-paperback .pb-body p:first-child { text-indent: 0; }
.stk-paperback .pb-body strong { font-weight: 700; color: #1A1610; }
.stk-paperback .pb-page {
  margin-top: 32px;
  text-align: center;
  font-family: 'Lora', serif;
  font-size: 11px;
  color: #A09882;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════════════
   CARD TYPE 6: FULL MAGAZINE
   Cover → interior pages (page-turn) → back cover
   ══════════════════════════════════════════════════════ */

/* Magazine group — sticky at page level, exactly like .stk-letter.
   Large min-height supplies scroll budget for page turns;
   the group itself sticks at top:0 so it never scrolls away. */
.stk-mag-group {
  position: sticky;
  top: 0;
  width: 100%;
  min-height: calc((var(--mag-pages, 4) + 2) * 100vh);
  background: var(--ink);
}
.stk-mag-viewer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2000px;
}
.mag-page-slot {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 56px 24px;
}
.stk-mag-viewer .stk-card {
  transform-origin: left center;
  backface-visibility: hidden;
  transition: box-shadow 0.4s ease;
  overflow: hidden;
}
/* Cover image fills the page frame */
.stk-mag-cover .mag-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Magazine cover ── */
.stk-mag-cover {
  padding: 0;
  overflow: hidden;
  box-shadow: 0 8px 60px rgba(0,0,0,0.6),
              0 0 0 1px rgba(0,0,0,0.1);
}
.mag-cover-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ── Magazine interior ── */
.stk-mag-interior {
  background: #FAFAF5;
  color: #1A1710;
  padding: 0;
  display: flex;
  box-shadow: 0 4px 60px rgba(0,0,0,0.5),
              -2px 0 8px rgba(0,0,0,0.08);
}
.mag-gutter {
  width: 24px;
  flex-shrink: 0;
  background: linear-gradient(90deg,
    rgba(0,0,0,0.08) 0%,
    rgba(0,0,0,0.03) 40%,
    transparent 100%);
}
.mag-page-content {
  flex: 1;
  padding: clamp(40px, 5vw, 64px);
}
.mag-header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #9E9480;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(26,23,16,0.08);
}
.mag-article-cat {
  font-family: var(--display);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--signal);
  margin-bottom: 20px;
}
.mag-article-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.12;
  color: #1A1710;
  margin-bottom: 12px;
}
.mag-article-deck {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(13px, 1.2vw, 16px);
  line-height: 1.5;
  color: #6B5F4C;
  max-width: 480px;
  margin-bottom: 24px;
}
.mag-article-byline {
  font-family: var(--display);
  font-weight: 400;
  font-size: 12px;
  color: #6B5F4C;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.mag-article-rule {
  width: 48px;
  height: 2px;
  background: var(--signal);
  margin-bottom: 32px;
}
.mag-article-body p {
  font-family: var(--display);
  font-weight: 350;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.72;
  color: #3A3228;
  margin-bottom: 18px;
}
.mag-article-body p:last-child { margin-bottom: 0; }
.mag-article-body strong { font-weight: 600; color: #1A1710; }
.mag-article-body .mag-dropcap::first-letter {
  font-family: var(--serif);
  font-size: 3.4em;
  float: left;
  line-height: 0.8;
  margin-right: 8px;
  margin-top: 4px;
  color: var(--signal);
  font-weight: 400;
}
.mag-page-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 12px;
  border-top: 1px solid rgba(26,23,16,0.08);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: #9E9480;
  text-transform: uppercase;
}

/* Interior continuation */
.stk-mag-interior .stk-cont-header {
  border-bottom: 1px solid rgba(26,23,16,0.08);
}
.stk-mag-interior .stk-cont-title {
  font-family: var(--serif);
  font-weight: 400;
  color: #1A1710;
}
.stk-mag-interior .stk-cont-sub {
  color: #9E9480;
}

/* Interior page dots */
.stk-mag-interior .stk-page-dot {
  background: #1A1710;
}
.stk-mag-interior .stk-page-indicator {
  color: #6B5F4C;
  border-top-color: rgba(26,23,16,0.1);
}

/* ── Magazine back cover ── */
.stk-mag-back {
  background: #111111;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 480px;
  padding: 80px 64px;
  box-shadow: 0 4px 60px rgba(0,0,0,0.6);
}
.mag-back-logo {
  height: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.5;
  margin-bottom: 20px;
}
.mag-back-url {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #4A4540;
}

/* ── 13" laptop (≤1366px) — narrower cards so logo doesn't clip ─ */
@media (max-width: 1366px) {
  .stk-card { max-width: 820px; }
  .stk-letter--top .stk-card { max-width: min(1200px, 92vw); }
}

/* ── Mobile ─────────────────────────────────────────── */
@media (max-width: 640px) {
  .stk-letter .stk-card {
    padding: 48px 16px;
    transform: rotate(calc(var(--skew, 0) * 0.5deg))
               translateX(calc(var(--drift, 0) * 0.4px)) !important;
  }
  .stk-letter.is-behind .stk-card {
    transform: rotate(calc(var(--skew, 0) * 0.5deg))
               translateX(calc(var(--drift, 0) * 0.4px))
               scale(var(--behind-scale, 0.94)) !important;
  }
  .mag-page-slot {
    padding: 48px 12px;
  }
  .stk-newspaper .np-columns,
  .stk-broadsheet .bs-columns { column-count: 1; }
  .stk-hero { padding: 0 24px 10vh; }
  .stk-letter { padding: 0 12px; }
  .mag-gutter { width: 12px; }
  .mag-page-content { padding: 32px 16px; }
  .stk-mag-back { min-height: 320px; padding: 48px 24px; }
}
