/* ============================================================
   Girls in the Pit: Stories (writing.css)
   Editorial design system for /writing/ and every story page.
   Loads AFTER /styles.css and reuses its colour tokens, header and footer.

   TYPE SYSTEM: two families, each with a job.
     Fraunces (serif)   headlines, decks, body, captions, quotes
     Bebas Neue (sans)  page title, section heads, labels, metadata, buttons
   Special Elite stays in the shared site header + footer only
   (it comes from /styles.css and matches the homepage).

   To restyle the publication, change the tokens below, not the components.
   ============================================================ */

:root {
  /* ---- families ---- */
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Bebas Neue", "Oswald", "Arial Narrow", Impact, sans-serif;

  /* ---- type scale (fluid between ~375px and ~1440px) ---- */
  --t-display:   clamp(4.75rem, 9vw + 1.5rem, 10rem);       /* STORIES nameplate */
  --t-section:   clamp(2.25rem, 2vw + 1.6rem, 3.5rem);      /* Featured Stories, All Stories... */
  --t-subhead:   clamp(1.75rem, .9vw + 1.4rem, 2.25rem);    /* section heads inside an article */
  --t-head-xl:   clamp(2.25rem, 3vw + 1.25rem, 4.5rem);     /* article headline */
  --t-head-l:    clamp(1.85rem, 1.4vw + 1.3rem, 2.75rem);   /* lead story card */
  --t-head-m:    clamp(1.3rem, .45vw + 1.15rem, 1.6rem);    /* side + related cards */
  --t-head-s:    1.25rem;                                   /* archive cards */
  --t-statement: clamp(1.5rem, 1vw + 1.15rem, 2.1rem);      /* masthead statement */
  --t-deck:      clamp(1.2rem, .55vw + 1.05rem, 1.5rem);    /* article dek */
  --t-quote:     clamp(1.55rem, 1.1vw + 1.2rem, 2.2rem);    /* pull quote */
  --t-body-l:    clamp(1.125rem, .2vw + 1.07rem, 1.25rem);  /* article body, 18-20px */
  --t-body:      1.0625rem;                                 /* descriptions, 17px */
  --t-body-s:    .9375rem;                                  /* card deks, notes, 15px */
  --t-caption:   .875rem;                                   /* photo captions, 14px */
  --t-label:     .9375rem;                                  /* eyebrows + category labels */
  --t-meta:      .9375rem;                                  /* byline, date, location */
  --t-micro:     .8125rem;                                  /* photo credits */
  --t-button:    1.0625rem;

  /* ---- weights (Fraunces is variable, so any value works) ---- */
  --w-body: 400;
  --w-head: 600;
  --w-strong: 700;

  /* ---- line height ---- */
  --lh-display: .86;
  --lh-section: .95;
  --lh-head: 1.08;
  --lh-deck: 1.38;
  --lh-body: 1.66;
  --lh-ui: 1.25;

  /* ---- letter spacing ---- */
  --tr-display: .005em;
  --tr-section: .015em;
  --tr-head: -.012em;
  --tr-label: .12em;
  --tr-meta: .07em;
  --tr-button: .09em;

  /* ---- measure ---- */
  --measure: 38rem;        /* article body, about 65-70 characters */
  --measure-wide: 64rem;   /* breakout photos */
  --measure-hero: 72rem;   /* lead photo */
  --measure-copy: 58ch;    /* descriptions on the landing page */

  /* ---- spacing scale ---- */
  --s-1: .25rem; --s-2: .5rem; --s-3: .75rem; --s-4: 1rem; --s-5: 1.5rem;
  --s-6: 2rem; --s-7: 3rem; --s-8: 4.5rem; --s-9: 6.5rem;
  --section-y: clamp(3.5rem, 6vw + 1rem, 6.5rem);
  --gap-grid: clamp(1.5rem, 3vw, 2.75rem);

  /* ---- rules ---- */
  --rule-hair: 1px solid rgba(17, 17, 17, .16);
  --rule: 1px solid rgba(17, 17, 17, .32);
  --rule-strong: 3px solid var(--charcoal);
  --rule-hair-dark: 1px solid rgba(243, 235, 221, .22);

  /* ---- images ---- */
  --ratio-card: 3 / 2;
  --ratio-hero: 16 / 9;
  --ratio-portrait: 2 / 3;
}

/* ============================================================
   BASE
   ============================================================ */
body.wr { background: var(--cream); font-family: var(--font-serif); }
.wr main { display: block; }
.wr-wrap { width: min(100% - 2.5rem, 1200px); margin-inline: auto; }
.wr-narrow { width: min(100% - 2.5rem, var(--measure)); margin-inline: auto; }
.wr :where(h1, h2, h3, p, figure, blockquote) { margin: 0; }
.wr img { max-width: 100%; height: auto; display: block; }

/* links inside editorial components carry no underline by default */
.wr .card-link, .wr .cov-item, .wr .story-media { text-decoration: none; color: inherit; }

/* ============================================================
   TYPE ROLES (reusable classes; components below reuse these values)
   ============================================================ */
.t-label, .wr-label, .wr-eyebrow, .wr-chip, .card-cat, .why, .st-kicker {
  font-family: var(--font-sans); font-weight: 400;
  font-size: var(--t-label); line-height: var(--lh-ui);
  letter-spacing: var(--tr-label); text-transform: uppercase;
  color: var(--oxblood);
}
/* chips are now plain labels: no box, no tilt */
.wr-chip { background: none; padding: 0; transform: none; display: inline; }
.wr-chip--ink { color: var(--ink-soft); }

.t-meta, .card-meta, .st-byline {
  font-family: var(--font-sans); font-weight: 400;
  font-size: var(--t-meta); line-height: 1.5;
  letter-spacing: var(--tr-meta); text-transform: uppercase;
  color: var(--ink-soft);
}
.card-meta b, .st-byline strong { font-weight: 400; color: var(--charcoal); }
.meta-sep { display: inline-block; margin: 0 .45em; color: var(--muted-taupe); }

.wr-h2 {
  font-family: var(--font-sans); font-weight: 400;
  font-size: var(--t-section); line-height: var(--lh-section);
  letter-spacing: var(--tr-section); text-transform: uppercase;
  color: var(--charcoal); text-wrap: balance;
}
.wr-h2 .sub {
  display: block; margin-bottom: var(--s-3);
  font-size: var(--t-label); line-height: var(--lh-ui);
  letter-spacing: var(--tr-label); color: var(--oxblood);
}

/* Section head: heavy rule, label, title. Same on every section. */
.wr-section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end;
  gap: var(--s-4) var(--s-6);
  border-top: var(--rule-strong); padding-top: var(--s-4);
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}
.wr-section-head .wr-h2 { flex: 1 1 auto; }
.wr-section-note {
  font-family: var(--font-serif); font-size: var(--t-body-s); line-height: 1.5;
  color: var(--ink-soft); max-width: 46ch; margin: 0;
}

/* Buttons inside Stories (the shared .btn shape, set in the sans) */
.wr .btn {
  font-family: var(--font-sans); font-size: var(--t-button); font-weight: 400;
  letter-spacing: var(--tr-button); line-height: 1;
  padding: .85rem 1.3rem .8rem; min-height: 48px;
}
.wr .btn:hover { transform: none; }
.wr .btn-cream { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }
.wr .btn-cream:hover { background: var(--blush-soft); border-color: var(--blush-soft); color: var(--charcoal); }
.wr .btn-line { background: transparent; color: var(--cream); border-color: rgba(243,235,221,.55); }
.wr .btn-line:hover { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }
.wr .btn-dark { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }
.wr .btn-dark:hover { background: var(--oxblood); border-color: var(--oxblood); color: var(--cream); }
.wr .btn-red { background: var(--oxblood); color: var(--cream); border-color: var(--oxblood); }
.wr .btn-red:hover { background: var(--faded-red); color: var(--cream); }

/* Text link with an arrow, used under the lead story */
.card-more {
  display: inline-block; margin-top: var(--s-2);
  font-family: var(--font-sans); font-size: var(--t-label);
  letter-spacing: var(--tr-label); text-transform: uppercase;
  color: var(--oxblood); border-bottom: 2px solid currentColor; padding-bottom: 1px;
}

/* torn edge: one use, under the masthead, matching the site header */
.tear {
  height: 16px; background: var(--charcoal);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 14' preserveAspectRatio='none'><path d='M0,0 L1200,0 L1200,8 C1180,14 1160,4 1140,9 C1120,14 1100,3 1080,8 C1060,13 1040,5 1020,11 C1000,15 980,4 960,9 C940,14 920,5 900,10 C880,15 860,4 840,9 C820,14 800,5 780,10 C760,15 740,4 720,9 C700,14 680,5 660,10 C640,15 620,4 600,9 C580,14 560,5 540,10 C520,15 500,4 480,9 C460,14 440,5 420,10 C400,15 380,4 360,9 C340,14 320,5 300,10 C280,15 260,4 240,9 C220,14 200,5 180,10 C160,15 140,4 120,9 C100,14 80,5 60,10 C40,15 20,4 0,9 Z' fill='black'/></svg>") center / 100% 100% no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 14' preserveAspectRatio='none'><path d='M0,0 L1200,0 L1200,8 C1180,14 1160,4 1140,9 C1120,14 1100,3 1080,8 C1060,13 1040,5 1020,11 C1000,15 980,4 960,9 C940,14 920,5 900,10 C880,15 860,4 840,9 C820,14 800,5 780,10 C760,15 740,4 720,9 C700,14 680,5 660,10 C640,15 620,4 600,9 C580,14 560,5 540,10 C520,15 500,4 480,9 C460,14 440,5 420,10 C400,15 380,4 360,9 C340,14 320,5 300,10 C280,15 260,4 240,9 C220,14 200,5 180,10 C160,15 140,4 120,9 C100,14 80,5 60,10 C40,15 20,4 0,9 Z' fill='black'/></svg>") center / 100% 100% no-repeat;
  margin-top: -1px;
}

/* ============================================================
   STORY MEDIA: photos and poster covers share one frame
   ============================================================ */
.story-media { position: relative; display: block; overflow: hidden; background: var(--paper); }
.story-media picture, .story-media img { width: 100%; height: 100%; }
.story-media img { aspect-ratio: var(--ratio-card); object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .story-media img { transform: scale(1.02); }

/* Poster covers: typographic stand-ins until a story has a photo.
   Flat brand colour, one frame line, one motif. */
.poster-wrap { container-type: inline-size; height: 100%; }
.poster {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: var(--ratio-card); padding: clamp(.9rem, 5cqw, 2rem); overflow: hidden;
  background: var(--oxblood); color: var(--cream); isolation: isolate;
}
.poster::after { content: ""; position: absolute; inset: clamp(.4rem, 2.2cqw, .8rem); border: 1px solid currentColor; opacity: .45; pointer-events: none; }
.poster--oxblood  { background: var(--oxblood);  color: var(--cream); }
.poster--charcoal { background: var(--charcoal); color: var(--cream); }
.poster--blush    { background: var(--dusty-blush); color: var(--charcoal); }
.poster--paper    { background: var(--paper);    color: var(--charcoal); }
.poster-top, .poster-sub {
  font-family: var(--font-sans); font-size: clamp(.75rem, 2.4cqw, 1rem);
  letter-spacing: var(--tr-label); text-transform: uppercase; line-height: 1.2;
}
.poster-top { display: flex; justify-content: space-between; gap: 1rem; padding-right: 16%; }
.poster-name {
  font-family: var(--font-sans); font-weight: 400; text-transform: uppercase;
  font-size: clamp(1.6rem, 13cqw, 7rem); line-height: .88; letter-spacing: .005em;
  margin: 0; text-wrap: balance;
}
.poster-name span { display: block; }
.poster-name span + span { color: var(--dusty-blush); }
.poster--blush .poster-name span + span, .poster--paper .poster-name span + span { color: var(--oxblood); }
.poster--charcoal .poster-name span + span { color: var(--dusty-blush); }
.poster svg.motif {
  position: absolute; right: clamp(.9rem, 5cqw, 2rem); top: clamp(.9rem, 5cqw, 2rem);
  width: clamp(18px, 7cqw, 52px); height: auto; color: currentColor; opacity: .9;
}
.poster--oxblood svg.motif { color: var(--charcoal); }
.poster--charcoal svg.motif { color: var(--oxblood); }
.poster--blush svg.motif, .poster--paper svg.motif { color: var(--oxblood); }
/* Small covers: name only */
.arch-card .poster-top, .arch-card .poster-sub, .rel-card .poster-top, .rel-card .poster-sub { display: none; }
.arch-card .poster { justify-content: flex-end; }
.arch-card .poster-name, .rel-card .poster-name { font-size: clamp(.95rem, 12cqw, 2.4rem); }
.rel-card .poster { justify-content: flex-end; }

/* ============================================================
   LANDING: MASTHEAD
   ============================================================ */
.wr-masthead { position: relative; background: var(--charcoal); color: var(--cream); padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3rem, 5vw, 4.5rem); }
.wr-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.wr-eyebrow { color: var(--dusty-blush); }
.wr-title {
  font-family: var(--font-sans); font-weight: 400; text-transform: uppercase;
  font-size: var(--t-display); line-height: var(--lh-display); letter-spacing: var(--tr-display);
  color: var(--cream); margin: var(--s-2) 0 var(--s-5);
}
.wr-title::after { content: ""; display: block; width: 4.5rem; height: 4px; background: var(--oxblood); margin-top: var(--s-4); }
.wr-statement {
  font-family: var(--font-serif); font-weight: var(--w-head);
  font-size: var(--t-statement); line-height: 1.14; letter-spacing: var(--tr-head);
  max-width: 22ch; margin: 0 0 var(--s-4); text-wrap: balance;
}
.wr-intro { font-family: var(--font-serif); font-size: var(--t-body); line-height: 1.6; color: rgba(243,235,221,.82); max-width: var(--measure-copy); margin: 0 0 var(--s-5); }
.wr-byline {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem var(--s-4);
  border-top: var(--rule-hair-dark); padding-top: var(--s-4); margin-bottom: var(--s-4);
  font-family: var(--font-sans); text-transform: uppercase;
}
.wr-byline strong { font-weight: 400; font-size: 1.35rem; letter-spacing: .04em; color: var(--cream); line-height: 1; }
.wr-byline span { font-size: var(--t-meta); letter-spacing: var(--tr-meta); color: var(--dusty-blush); }
.wr-creds { list-style: none; margin: 0 0 var(--s-6); padding: 0; display: grid; gap: var(--s-2); max-width: 52ch; }
.wr-creds li { position: relative; padding-left: 1.25rem; font-family: var(--font-serif); font-size: var(--t-body-s); line-height: 1.5; color: rgba(243,235,221,.88); }
.wr-creds li::before { content: ""; position: absolute; left: 0; top: .62em; width: .45rem; height: .45rem; background: var(--oxblood); }
.wr-cta { display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* Masthead photographs: straight, matted, captioned */
.wr-collage { display: grid; grid-template-columns: 2fr 3fr; grid-template-rows: auto auto; gap: var(--s-4); align-items: start; }
.wr-collage figure { margin: 0; }
.wr-collage .c1 { grid-row: 1 / span 2; }
.wr-collage img { width: 100%; object-fit: cover; aspect-ratio: var(--ratio-card); }
.wr-collage .c1 img { aspect-ratio: var(--ratio-portrait); }
.wr-collage figcaption { font-family: var(--font-serif); font-style: italic; font-size: var(--t-caption); line-height: 1.4; color: rgba(243,235,221,.72); padding-top: var(--s-2); }
.wr-collage-credit { grid-column: 1 / -1; font-family: var(--font-sans); font-size: var(--t-micro); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--dusty-blush); margin: 0; text-align: right; }

/* ============================================================
   LANDING: SELECTED COVERAGE
   ============================================================ */
.wr-coverage { background: var(--paper-2); padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.wr-coverage .wr-section-head { margin-bottom: var(--s-5); }
.wr-coverage-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.wr-coverage-list li { display: flex; border-left: var(--rule-hair); }
.wr-coverage-list li:first-child { border-left: 0; }
.cov-item { flex: 1; display: flex; flex-direction: column; gap: var(--s-2); padding: var(--s-2) var(--s-4) var(--s-2); color: var(--charcoal); }
.wr-coverage-list li:first-child .cov-item { padding-left: 0; }
.cov-name { font-family: var(--font-serif); font-weight: var(--w-head); font-size: 1.125rem; line-height: 1.2; letter-spacing: -.005em; }
.cov-note { font-family: var(--font-sans); font-size: var(--t-meta); letter-spacing: var(--tr-meta); text-transform: uppercase; color: var(--ink-soft); }
a.cov-item .cov-note::after { content: "  \00b7  Read"; color: var(--oxblood); }
a.cov-item:hover .cov-name, a.cov-item:focus-visible .cov-name { color: var(--oxblood); }

/* ============================================================
   LANDING: SECTIONS + FEATURED
   ============================================================ */
.wr-section { padding: var(--section-y) 0; position: relative; }
.feat-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--gap-grid); align-items: start; }
.card { position: relative; }
.card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card-cat { margin: var(--s-4) 0 var(--s-2); }
.card-title {
  font-family: var(--font-serif); font-weight: var(--w-head);
  line-height: var(--lh-head); letter-spacing: var(--tr-head);
  color: var(--charcoal); margin: 0 0 var(--s-3); text-wrap: balance;
  transition: color .15s var(--ease);
}
.card:hover .card-title, .card:focus-within .card-title,
.card:hover h3, .card:focus-within h3 { color: var(--oxblood); }
.card--lead .card-title { font-size: var(--t-head-l); }
.card--side .card-title { font-size: var(--t-head-m); line-height: 1.15; }
.card-dek { font-family: var(--font-serif); font-size: var(--t-body); line-height: 1.55; color: var(--ink-gray); margin: 0 0 var(--s-3); max-width: 52ch; text-wrap: pretty; }
.card--lead .card-dek { font-size: 1.1875rem; line-height: 1.5; }
.card--side .card-dek { font-size: var(--t-body-s); }
.card-meta { margin: 0; }
.feat-side { display: grid; gap: var(--s-6); }
.feat-side .card + .card { border-top: var(--rule-hair); padding-top: var(--s-6); }

/* ============================================================
   LANDING: PHOTOGRAPHY BAND
   ============================================================ */
.wr-photo { background: var(--charcoal); color: var(--cream); padding: var(--section-y) 0; }
.wr-photo .wr-section-head { border-top-color: var(--cream); }
.wr-photo .wr-h2 { color: var(--cream); }
.wr-photo .wr-h2 .sub { color: var(--dusty-blush); }
.wr-photo-lede { font-family: var(--font-serif); font-size: var(--t-body); line-height: 1.6; color: rgba(243,235,221,.8); max-width: 46ch; margin: var(--s-4) 0 0; }
/* columns follow each photo's shape so all three sit at one height */
.photo-row { display: grid; grid-template-columns: 2fr 4.5fr 4.5fr; gap: var(--s-4); align-items: start; }
.photo-row figure { margin: 0; }
.photo-row img { width: 100%; object-fit: cover; aspect-ratio: var(--ratio-card); }
.photo-row figure:first-child img { aspect-ratio: var(--ratio-portrait); }

/* captions: one style everywhere */
.photo-row figcaption, .st-hero figcaption, .st-figure figcaption {
  font-family: var(--font-serif); font-style: italic; font-size: var(--t-caption); line-height: 1.45;
  color: var(--ink-soft); margin-top: var(--s-2); max-width: var(--measure);
}
.photo-row figcaption { color: rgba(243,235,221,.75); }
.photo-row figcaption span, .st-hero figcaption span, .st-figure figcaption span {
  display: block; margin-top: .2rem; font-family: var(--font-sans); font-style: normal;
  font-size: var(--t-micro); letter-spacing: var(--tr-label); text-transform: uppercase; opacity: .85;
}

/* ============================================================
   LANDING: ARCHIVE
   ============================================================ */
.wr-filters { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); margin: 0 0 var(--s-6); padding: 0; list-style: none; border-bottom: var(--rule-hair); }
.wr-filter {
  font-family: var(--font-sans); font-size: var(--t-button); letter-spacing: var(--tr-button); text-transform: uppercase;
  background: none; color: var(--ink-soft); border: 0; border-bottom: 3px solid transparent;
  padding: .7rem 0 .55rem; margin-bottom: -1px; min-height: 44px; cursor: pointer;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.wr-filter:hover { color: var(--charcoal); }
.wr-filter[aria-pressed="true"] { color: var(--charcoal); border-bottom-color: var(--oxblood); }
.wr-filter .n { color: var(--muted-taupe); margin-left: .3rem; font-size: .8em; vertical-align: .2em; }
.arch-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--gap-grid); }
.arch-card { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: var(--s-5); padding: var(--s-5) 0; border-bottom: var(--rule-hair); align-items: start; }
.arch-card[hidden] { display: none; }
.arch-card h3 {
  font-family: var(--font-serif); font-weight: var(--w-head); font-size: var(--t-head-s);
  line-height: 1.2; letter-spacing: -.008em; color: var(--charcoal); margin: var(--s-1) 0 var(--s-2);
  text-wrap: balance; transition: color .15s var(--ease);
}
.arch-card .card-cat { margin: 0; }
.arch-card p.arch-dek { font-family: var(--font-serif); font-size: var(--t-body-s); line-height: 1.5; color: var(--ink-gray); margin: 0 0 var(--s-2); }
.arch-card .card-meta { font-size: .875rem; }
.wr-empty { display: none; }

/* ============================================================
   LANDING: ABOUT + AUTHOR
   ============================================================ */
.wr-about { background: var(--paper-2); }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: var(--gap-grid) clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about-grid > .wr-section-head { grid-column: 1 / -1; margin-bottom: 0; }
.about-copy p { font-family: var(--font-serif); font-size: var(--t-body-l); line-height: var(--lh-body); margin: 0 0 var(--s-4); max-width: var(--measure-copy); }
.about-copy .who-quote { font-style: italic; font-weight: 500; font-size: var(--t-quote); line-height: 1.2; color: var(--oxblood); margin: var(--s-6) 0 0; }
.link-row { display: flex; flex-wrap: wrap; gap: var(--s-3); margin-top: var(--s-6); }

.author-card { background: var(--cream); border-top: var(--rule-strong); padding: var(--s-5) var(--s-5) var(--s-5); }
.author-top { display: flex; gap: var(--s-4); align-items: center; margin-bottom: var(--s-4); }
.author-top img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: none; }
.author-card .author-name { font-family: var(--font-sans); font-weight: 400; font-size: 1.75rem; line-height: 1; letter-spacing: .02em; text-transform: uppercase; color: var(--charcoal); margin: 0; }
.author-card .author-role { font-family: var(--font-sans); font-size: var(--t-meta); letter-spacing: var(--tr-meta); text-transform: uppercase; color: var(--oxblood); margin: .3rem 0 0; line-height: 1.35; }
.author-card p { font-family: var(--font-serif); font-size: var(--t-body-s); line-height: 1.6; margin: 0 0 var(--s-3); color: var(--ink-gray); }
.author-links { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); margin-top: var(--s-4); padding-top: var(--s-3); border-top: var(--rule-hair); font-family: var(--font-sans); font-size: var(--t-label); letter-spacing: var(--tr-label); text-transform: uppercase; }
.author-links a { color: var(--oxblood); text-decoration: none; }
.author-links a:hover { color: var(--charcoal); }

/* ============================================================
   WORK WITH GITP (landing + article footer band)
   ============================================================ */
.wr-work { background: var(--charcoal); color: var(--cream); padding: var(--section-y) 0; }
.wr-work--compact { padding: clamp(2.5rem, 4vw, 3.5rem) 0; }
.work-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--gap-grid) clamp(2rem, 5vw, 4.5rem); align-items: center; }
.wr-work .wr-h2 { color: var(--cream); }
.wr-work .wr-h2 .sub { color: var(--dusty-blush); }
.work-list { list-style: none; margin: var(--s-5) 0 0; padding: 0; columns: 2; column-gap: var(--s-6); font-family: var(--font-sans); font-size: 1.25rem; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
.work-list li { padding: .3rem 0 .3rem 1.4rem; position: relative; break-inside: avoid; }
.work-list li::before { content: "\2605"; position: absolute; left: 0; top: .3rem; font-size: .8em; color: var(--oxblood); }
.work-contact { border-top: var(--rule-hair-dark); padding-top: var(--s-5); }
.work-contact p { font-family: var(--font-serif); font-size: var(--t-body); line-height: 1.55; margin: 0 0 var(--s-3); color: rgba(243,235,221,.85); }
.work-email { display: inline-block; font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.15rem, 1.2vw + .8rem, 1.6rem); color: var(--cream); text-decoration: none; border-bottom: 2px solid var(--oxblood); word-break: break-word; margin-bottom: var(--s-5); }
.work-email:hover { color: var(--dusty-blush); }

/* ============================================================
   ARTICLE TEMPLATE
   ============================================================ */
.st-head { width: min(100% - 2.5rem, 56rem); margin-inline: auto; padding: clamp(2.5rem, 5vw, 4.5rem) 0 var(--s-5); text-align: center; }
.st-kicker { margin: 0 0 var(--s-4); }
.st-kicker ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem; }
.st-kicker li + li::before { content: "/"; margin-right: .35rem; color: var(--muted-taupe); }
.st-kicker a { color: var(--oxblood); text-decoration: none; }
.st-kicker a:hover { color: var(--charcoal); }
.st-title {
  font-family: var(--font-serif); font-weight: var(--w-head);
  font-size: var(--t-head-xl); line-height: 1.04; letter-spacing: -.018em;
  color: var(--charcoal); margin: 0 auto var(--s-5); max-width: 24ch; text-wrap: balance;
}
.st-dek {
  font-family: var(--font-serif); font-weight: 400; font-size: var(--t-deck); line-height: var(--lh-deck);
  color: var(--ink-gray); margin: 0 auto var(--s-6); max-width: 36em; text-wrap: pretty;
}
.st-byline {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: .15rem 0;
  border-top: var(--rule); border-bottom: var(--rule-hair); padding: var(--s-3) 0;
}
.st-byline > * + *::before { content: "\00b7"; margin: 0 .6em; color: var(--muted-taupe); }
.st-byline a { color: var(--charcoal); text-decoration: none; }
.st-byline a:hover { color: var(--oxblood); }
.st-byline .ev { color: var(--oxblood); }

.share { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 var(--s-4); margin: var(--s-3) 0 0; font-family: var(--font-sans); font-size: var(--t-label); letter-spacing: var(--tr-label); text-transform: uppercase; }
.share > span { color: var(--muted-taupe); }
.share a, .share button { font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--charcoal); background: none; border: 0; padding: .5rem 0; min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; cursor: pointer; border-bottom: 1px solid transparent; }
.share a:hover, .share button:hover { color: var(--oxblood); }
.share .is-done { color: var(--oxblood); }
.share [hidden] { display: none; }

.st-hero { width: min(100% - 2.5rem, var(--measure-hero)); margin: var(--s-5) auto 0; }
.st-hero img { width: 100%; aspect-ratio: var(--ratio-hero); object-fit: cover; }
.st-hero .poster { aspect-ratio: 21 / 9; }
.st-hero .poster-name { font-size: clamp(2.5rem, 10cqw, 7.5rem); }
.st-hero figcaption { margin-inline: auto; max-width: none; }

.st-body { width: min(100% - 2.5rem, var(--measure)); margin: clamp(2.5rem, 5vw, 3.5rem) auto 0; font-family: var(--font-serif); font-size: var(--t-body-l); line-height: var(--lh-body); color: #24211e; }
.st-body p { margin: 0 0 1.3em; text-wrap: pretty; }
.st-body > p:first-child { font-size: 1.16em; line-height: 1.55; }
.st-body h2 {
  font-family: var(--font-sans); font-weight: 400; text-transform: uppercase;
  font-size: var(--t-subhead); line-height: 1; letter-spacing: var(--tr-section);
  color: var(--charcoal); margin: 2.6em 0 .7em;
}
.st-body h2::before { content: ""; display: block; width: 3rem; height: 3px; background: var(--oxblood); margin-bottom: .55em; }
.st-body h3 { font-family: var(--font-serif); font-weight: var(--w-head); font-size: 1.2em; line-height: 1.25; margin: 2em 0 .5em; color: var(--charcoal); }
.st-body a { color: var(--oxblood); }
.st-body ul, .st-body ol { margin: 0 0 1.3em; padding-left: 1.3rem; }
.st-body li { margin-bottom: .35em; }
.st-body blockquote { margin: 1.8em 0; padding-left: 1.1rem; border-left: 3px solid var(--oxblood); font-style: italic; }
.st-body hr { border: 0; text-align: center; margin: 2.6em 0; }
.st-body hr::after { content: "\2605"; color: var(--oxblood); font-size: .9rem; letter-spacing: 1em; }

.pull {
  margin: 2.2em 0; padding: 1.1em 0; border-top: 3px solid var(--oxblood); border-bottom: var(--rule-hair);
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  font-size: var(--t-quote); line-height: 1.2; letter-spacing: -.01em;
  color: var(--charcoal); text-wrap: balance;
}
.pull p { margin: 0 !important; font-size: inherit; line-height: inherit; font-weight: inherit; }
@media (min-width: 1100px) { .pull { margin-left: -4rem; margin-right: -4rem; } }

.st-figure { margin: 2.2em 0; }
.st-figure img { width: 100%; }
.st-figure--wide { width: min(100vw - 2.5rem, var(--measure-wide)); position: relative; left: 50%; transform: translateX(-50%); }
.st-gallery { margin-top: var(--s-6); }

.st-notes { width: min(100% - 2.5rem, var(--measure)); margin: var(--s-7) auto 0; padding-top: var(--s-5); border-top: var(--rule); }
.st-notes h2 { font-family: var(--font-sans); font-weight: 400; font-size: var(--t-label); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--oxblood); margin: 0 0 var(--s-3); }
.st-notes ol { margin: 0 0 var(--s-5); padding-left: 1.2rem; font-family: var(--font-serif); font-size: var(--t-body-s); line-height: 1.5; }
.st-notes li { margin-bottom: var(--s-2); }
.st-notes .note { font-family: var(--font-serif); font-size: var(--t-body-s); line-height: 1.6; color: var(--ink-soft); margin: 0 0 var(--s-3); }
.note-label { font-family: var(--font-sans); font-weight: 400; font-size: var(--t-label); letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--oxblood); margin-right: .35em; }

.st-share-end { width: min(100% - 2.5rem, var(--measure)); margin: var(--s-6) auto 0; }
.st-share-end .share { justify-content: flex-start; }
.st-author { width: min(100% - 2.5rem, var(--measure)); margin: var(--s-6) auto 0; }

/* Related stories + end-of-article navigation */
.rel { margin-top: var(--section-y); padding: var(--section-y) 0; background: var(--paper-2); }
.rel-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap-grid); }
.rel-card { position: relative; }
.rel-card p.why { margin: var(--s-4) 0 var(--s-2); font-family: var(--font-sans); font-size: var(--t-label); letter-spacing: var(--tr-label); line-height: var(--lh-ui); color: var(--oxblood); }
.rel-card h3 { font-family: var(--font-serif); font-weight: var(--w-head); font-size: var(--t-head-m); line-height: 1.15; letter-spacing: var(--tr-head); margin: 0 0 var(--s-2); color: var(--charcoal); text-wrap: balance; transition: color .15s var(--ease); }
.rel-card p { font-family: var(--font-serif); font-size: var(--t-body-s); line-height: 1.5; margin: 0; color: var(--ink-gray); }
.more-gitp { margin-top: var(--s-7); padding-top: var(--s-5); border-top: var(--rule-hair); display: flex; flex-wrap: wrap; gap: var(--s-3); }

/* ============================================================
   RESPONSIVE: three breakpoints for the whole section
   1100 small desktop, 900 tablet, 600 phone
   ============================================================ */
@media (max-width: 1100px) {
  .wr-coverage-list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--s-4); }
  .wr-coverage-list li:nth-child(3n + 1) { border-left: 0; }
  .wr-coverage-list li:nth-child(3n + 1) .cov-item { padding-left: 0; }
  .arch-card { grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: var(--s-4); }
}
@media (max-width: 900px) {
  .wr-left { display: contents; }
  .wr-l1 { order: 1; } .wr-collage { order: 2; } .wr-l2 { order: 3; }
  .wr-grid, .about-grid, .work-grid, .feat-grid { grid-template-columns: 1fr; }
  .wr-collage { max-width: 36rem; }
  .arch-grid { grid-template-columns: 1fr; }
  .rel-grid { grid-template-columns: 1fr; gap: var(--s-5); }
  .rel-card { display: grid; grid-template-columns: 10rem 1fr; gap: var(--s-4); align-items: start; }
  .rel-card p.why { margin-top: 0; }
  .feat-side { grid-template-columns: 1fr 1fr; gap: var(--gap-grid); }
  .feat-side .card + .card { border-top: 0; padding-top: 0; }
  .feat-grid > .card--lead { border-bottom: var(--rule-hair); padding-bottom: var(--s-6); }
}
@media (max-width: 600px) {
  :root { --s-7: 2.5rem; }
  .wr-wrap, .wr-narrow, .st-head, .st-body, .st-notes, .st-share-end, .st-author, .st-hero { width: min(100% - 2.5rem, 100%); }
  .wr-collage { grid-template-columns: 1fr 1fr; }
  .wr-collage .c1 { grid-row: auto; grid-column: 1 / -1; }
  .wr-collage .c1 img { aspect-ratio: 4 / 5; }
  .wr-coverage-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wr-coverage-list li { border-left: var(--rule-hair); }
  .wr-coverage-list li:nth-child(3n + 1) { border-left: var(--rule-hair); }
  .wr-coverage-list li:nth-child(3n + 1) .cov-item { padding-left: var(--s-4); }
  .wr-coverage-list li:nth-child(odd) { border-left: 0; }
  .wr-coverage-list li:nth-child(odd) .cov-item { padding-left: 0; }
  .feat-side { grid-template-columns: 1fr; }
  .feat-side .card + .card { border-top: var(--rule-hair); padding-top: var(--s-6); }
  .photo-row { grid-template-columns: 1fr 1fr; }
  .photo-row figure:first-child { grid-column: 1 / -1; }
  .photo-row figure:first-child img { aspect-ratio: 4 / 5; }
  .wr-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0 var(--s-4); margin-inline: -1.25rem; padding-inline: 1.25rem; }
  .wr-filters::-webkit-scrollbar { display: none; }
  .wr-filter { white-space: nowrap; }
  .arch-card { grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--s-4); padding: var(--s-4) 0; }
  .arch-card p.arch-dek { display: none; }
  .arch-card h3 { font-size: 1.125rem; }
  .arch-card .card-meta { font-size: .8125rem; }
  .rel-card { grid-template-columns: 7.5rem 1fr; }
  .work-list { columns: 1; }
  .wr-cta .btn, .link-row .btn, .more-gitp .btn { flex: 1 1 100%; }
  .st-head { text-align: left; }
  .st-kicker ol, .st-byline, .share { justify-content: flex-start; }
  .st-title { margin-left: 0; max-width: none; }
  .st-dek { margin-left: 0; }
  .st-byline { flex-direction: column; gap: .15rem; }
  .st-byline > * + *::before { content: none; }
  .st-hero { width: 100%; }
  .st-hero figcaption { padding: 0 1.25rem; }
  .st-hero .poster { aspect-ratio: 4 / 3; }
  .st-figure--wide { width: 100vw; }
  .st-figure--wide figcaption { padding: 0 1.25rem; }
  .pull { font-size: 1.45rem; }
}
@media print { .site-header, .share, .rel, .wr-work, .grain { display: none !important; } }

/* shared header/footer details set here instead of inline styles */
.wr .nav-list a[aria-current="page"] { color: var(--dusty-blush); }
.wr .footer-legal a { color: rgba(243,235,221,.75); }
.wr-work .wr-section-head { border-top-color: var(--cream); }
.wr-work .work-grid { align-items: start; }
