/* ============================================================
   NARRATIVES UNSEEN, shared web stylesheet.
   A youth review of overlooked communities and stereotype-breaking lives.
   Editor: Hayley Huixi Xie. Woking, Surrey, England.

   DESIGN FAMILY (kept distinct from the other artifacts in the folder):
   a literary review on a cool near-white ground, NOT warm paper. A didone
   masthead (Playfair Display, matching the logo) over a serious reading
   serif (Source Serif 4), with a grotesque (Archivo) used only for kickers,
   bylines, folios, and metadata. One ink, one editorial red. Hairline rules
   do the separating; nothing floats, nothing is rounded.

   Emulation: The New York Review of Books (the contents-as-front-door, the
   byline-as-credit line, the running heads, the long justified measure),
   Aeon (the single long-essay reading width and the one-accent restraint),
   The Yale Review (the standfirst voice and the section labels), and Cake,
   the youth-run UK arts review, for the contributor-led masthead posture.
   ============================================================ */

:root{
  --bg:#fbfbf9;          /* cool near-white, the distinguishing ground */
  --bg-2:#f3f2ec;        /* a slightly cooler panel */
  --ink:#16140f;
  --ink-soft:#3a352c;
  --muted:#6e6757;
  --accent:#7a1f2b;      /* editorial red, from the logo */
  --accent-deep:#5c161f;
  --rule:#1614100f;      /* near-ink hairline at low alpha for fine rules */
  --rule-firm:#16140f;   /* full-strength ink rule */
  --rule-soft:#d8d4c6;
  --display:'Playfair Display', Georgia, 'Times New Roman', serif;
  --serif:'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans:'Archivo','Helvetica Neue',Arial,sans-serif;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0; background:var(--bg); color:var(--ink);
  font-family:var(--serif); font-size:18px; line-height:1.55;
  -webkit-font-smoothing:antialiased; text-rendering:optimizeLegibility;
}
a{color:var(--accent); text-decoration:none;}
a:hover{color:var(--accent-deep); text-decoration:underline; text-underline-offset:2px;}
img{max-width:100%; display:block;}
.wrap{max-width:1120px; margin:0 auto; padding:0 30px;}
.skip{position:absolute; left:-9999px; top:0; background:var(--ink); color:#fff; padding:10px 16px; font-family:var(--sans); font-size:14px; z-index:60;}
.skip:focus{left:8px; top:8px;}

/* ---------- masthead bar ---------- */
.bar{border-bottom:2px solid var(--rule-firm); background:var(--bg); position:sticky; top:0; z-index:30;}
.bar-in{max-width:1120px; margin:0 auto; padding:13px 30px; display:flex; align-items:center; justify-content:space-between; gap:24px;}
.bar-brand img{height:30px; width:auto;}
.bar-nav{display:flex; gap:24px; font-family:var(--sans); font-size:12px; letter-spacing:.14em; text-transform:uppercase;}
.bar-nav a{color:var(--ink-soft);}
.bar-nav a:hover{color:var(--accent); text-decoration:none;}
.bar-nav a[aria-current="page"]{color:var(--accent); border-bottom:2px solid var(--accent); padding-bottom:2px;}
.bar-cta{font-family:var(--sans); font-size:12px; letter-spacing:.1em; text-transform:uppercase; border:1.5px solid var(--accent); color:var(--accent); padding:6px 13px;}
.bar-cta:hover{background:var(--accent); color:#fff; text-decoration:none;}

/* ---------- the dateline strip ---------- */
.dateline{border-bottom:1px solid var(--rule-soft); background:var(--bg);}
.dateline-in{max-width:1120px; margin:0 auto; padding:7px 30px; display:flex; justify-content:space-between; gap:18px;
  font-family:var(--sans); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted);}

/* ---------- section heads ---------- */
.shead{display:flex; align-items:baseline; justify-content:space-between; gap:18px; margin:54px 0 22px; padding-bottom:9px; border-bottom:2px solid var(--rule-firm);}
.shead h2{font-family:var(--display); font-weight:800; font-size:25px; letter-spacing:-.01em; margin:0;}
.shead .tag{font-family:var(--sans); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted);}
.kicker{font-family:var(--sans); font-size:11.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--accent);}
.byline{font-family:var(--sans); font-size:12.5px; letter-spacing:.03em; color:var(--muted);}

/* ---------- generic article shell (reading pages) ---------- */
.read{max-width:720px; margin:0 auto; padding:46px 0 10px;}
.read .runhead{font-family:var(--sans); font-size:11px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted); border-bottom:1px solid var(--rule-soft); padding-bottom:8px; display:flex; justify-content:space-between;}
.read h1{font-family:var(--display); font-weight:800; font-size:clamp(32px,5vw,50px); line-height:1.04; letter-spacing:-.02em; margin:20px 0 0;}
.read h1 em{font-style:italic; font-weight:600;}
.read .standfirst{font-family:var(--serif); font-style:italic; font-size:clamp(18px,2.3vw,22px); line-height:1.42; color:var(--ink-soft); margin:18px 0 0; max-width:62ch;}
.read .credit-line{font-family:var(--sans); font-size:12.5px; letter-spacing:.03em; color:var(--muted); margin:18px 0 0; border-top:1px solid var(--rule-soft); border-bottom:1px solid var(--rule-soft); padding:11px 0;}
.read .credit-line b{color:var(--ink); font-weight:600; text-transform:uppercase; letter-spacing:.1em; font-size:11.5px;}
.read figure{margin:30px 0;}
.read figure img{width:100%; height:auto; border:1px solid var(--rule-firm);}
.read figcaption{font-family:var(--sans); font-size:11.5px; line-height:1.5; color:var(--muted); margin-top:7px;}
.body{font-family:var(--serif); font-size:19px; line-height:1.62;}
.body p{margin:0 0 1.05em;}
.body p.lead::first-letter{font-family:var(--display); font-weight:800; float:left; font-size:4.0em; line-height:.78; padding:6px 9px 0 0; color:var(--accent);}
.body h3{font-family:var(--sans); font-size:13px; letter-spacing:.13em; text-transform:uppercase; color:var(--accent); margin:2.0em 0 .7em;}
.body blockquote{margin:1.4em 0; padding:6px 0 6px 22px; border-left:3px solid var(--accent);
  font-family:var(--display); font-style:italic; font-weight:600; font-size:24px; line-height:1.22; color:var(--accent-deep);}
.body .pull{margin:1.4em 0; padding:14px 0; border-top:2px solid var(--accent); border-bottom:2px solid var(--accent);
  font-family:var(--display); font-style:italic; font-weight:600; font-size:23px; line-height:1.22; color:var(--accent-deep);}
.sources{margin:40px 0 0; border-top:1px solid var(--rule-firm); padding-top:18px;}
.sources h4{font-family:var(--sans); font-size:11.5px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin:0 0 12px;}
.sources ol{margin:0; padding-left:20px;}
.sources li{font-family:var(--serif); font-size:14.5px; line-height:1.5; color:var(--ink-soft); margin:0 0 9px;}
.sign{margin:34px 0 0; font-family:var(--serif);}
.sign .nm{font-family:var(--display); font-style:italic; font-weight:700; font-size:24px; color:var(--ink);}
.sign .ttl{font-family:var(--sans); font-size:12px; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-top:4px;}

/* ---------- footer ---------- */
.foot{border-top:2px solid var(--rule-firm); margin-top:64px; background:var(--bg-2);}
.foot-in{max-width:1120px; margin:0 auto; padding:38px 30px 30px; display:grid; grid-template-columns:1.5fr 1fr 1fr 1fr; gap:34px;}
.foot-id img{height:28px; width:auto; margin-bottom:12px;}
.foot-id p{margin:0; font-family:var(--display); font-style:italic; font-size:15px; line-height:1.4; color:var(--ink-soft); max-width:34ch;}
.foot-col h4{font-family:var(--sans); font-size:11px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted); margin:0 0 12px; border-bottom:1px solid var(--rule-soft); padding-bottom:7px;}
.foot-col a, .foot-col p{display:block; font-family:var(--sans); font-size:13.5px; line-height:1.9; color:var(--ink-soft); margin:0;}
.foot-col a:hover{color:var(--accent);}
.foot-bottom{max-width:1120px; margin:0 auto; padding:0 30px 30px; font-family:var(--sans); font-size:11.5px; letter-spacing:.04em; color:var(--muted);}
.foot-bottom .rule{border-top:1px solid var(--rule-soft); padding-top:16px;}

/* the single removable illustrative-sample note */
.sample-note{max-width:1120px; margin:0 auto; padding:0 30px 40px;}
.sample-note .inner{border:1px solid var(--rule-soft); background:var(--bg); padding:12px 16px; font-family:var(--sans); font-size:12px; line-height:1.5; color:var(--muted);}

@media (max-width:900px){
  .foot-in{grid-template-columns:1fr 1fr;}
  .bar-nav{display:none;}
}
@media (max-width:600px){
  .foot-in{grid-template-columns:1fr;}
}

/* Issues dropdown in the primary nav (native details/summary, works without JS) */
.nav-drop{position:relative;}
.nav-drop summary{list-style:none; cursor:pointer; color:var(--ink-soft);}
.nav-drop summary::-webkit-details-marker{display:none;}
.nav-drop summary::after{content:" \25BE";}
.nav-drop summary:hover,.nav-drop[open] summary,.nav-drop.is-current summary{color:var(--accent);}
.nav-drop .drop{position:absolute; top:calc(100% + 12px); left:-14px; z-index:40; display:flex; flex-direction:column; min-width:150px; padding:6px 0; background:var(--bg); border:1.5px solid var(--rule-firm);}
.bar-nav .nav-drop .drop a{padding:9px 14px; white-space:nowrap;}
.bar-nav .nav-drop .drop a[aria-current="page"]{border-bottom:none; padding-bottom:9px;}
.shead[id]{scroll-margin-top:80px;}
