/* =======================================================================
   story.css — the example-review block and the Stories page.
   Loaded by index.html (review section) and stories.html.
   ======================================================================= */

/* a small sentence-case lead-in. .eyebrow is uppercase and shouts;
   this is the quiet version, for a line that is a real sentence. */
.kicker{
  font-family:var(--hand);font-weight:600;font-size:16px;line-height:1.45;
  color:var(--trail);margin:0 0 var(--s2);max-width:min(100%,60ch);
}

/* --- example review --------------------------------------------------- */
.review{
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  padding:var(--s4) var(--s4) var(--s3);max-width:820px;
  box-shadow:0 18px 40px -32px rgba(34,48,31,.5);
}
@media(max-width:600px){.review{padding:var(--s3) var(--s3) var(--s2)}}
.review-hd{
  font-family:var(--disp);font-weight:600;font-variation-settings:"SOFT" 50;
  font-size:clamp(17px,1.7vw,21px);line-height:1.4;color:var(--ink);
  max-width:none;margin:0 0 var(--s3);padding-bottom:var(--s3);
  border-bottom:1px solid var(--line);
}
.revline{display:grid;grid-template-columns:34px 1fr;gap:var(--s2);margin:0 0 var(--s3)}
.revline:last-of-type{margin-bottom:var(--s3)}
.revline p{margin:0;font-size:16.5px;line-height:1.66;color:var(--ink-2);max-width:none}
.revline .who{
  font-family:var(--disp);font-weight:700;font-size:14px;line-height:1;
  width:34px;height:34px;border-radius:50%;display:flex;align-items:center;
  justify-content:center;color:#fff;margin-top:3px;
}
.revline .who.f{background:var(--fern)}
.revline .who.m{background:var(--trail)}
.review-note{
  font-size:13.5px;line-height:1.55;color:var(--ink-3);margin:0;
  padding-top:var(--s3);border-top:1px solid var(--line);max-width:70ch;
}
@media(max-width:520px){
  .revline{grid-template-columns:26px 1fr;gap:12px}
  .revline .who{width:26px;height:26px;font-size:12px}
}

/* =======================================================================
   Stories — a longform reading page.
   One centred measure for everything, so the column never crowds one side.
   ======================================================================= */
.article{max-width:950px;margin:0 auto;padding:0 var(--gut)}

/* the header: title and its subtitle sit together, not flung to opposite
   sides of a 1240px grid */
.article-head{padding:var(--s7) 0 var(--s6)}
.article-head .eyebrow{margin-bottom:var(--s3)}
.article-head h1{font-size:clamp(34px,4.4vw,58px);max-width:18ch;margin:0;text-wrap:balance}
.article-head .standfirst{
  font-size:clamp(17px,1.4vw,19px);color:var(--ink-2);line-height:1.6;
  max-width:58ch;margin:var(--s3) 0 0;text-wrap:pretty;
}
.article-rule{
  width:64px;height:3px;border-radius:2px;background:var(--sun);
  margin:var(--s4) 0 0;
}

.story-head{padding:var(--s6) 0 var(--s5);border-top:1px solid var(--line)}
.story-head h2{
  font-size:clamp(26px,2.9vw,38px);line-height:1.15;margin:0;max-width:22ch;text-wrap:balance;
}
.story-head .subtitle{
  font-family:var(--hand);font-weight:600;font-size:clamp(16px,1.4vw,19px);
  color:var(--trail);margin:12px 0 0;max-width:40ch;text-wrap:pretty;
}
.story-meta{
  display:flex;flex-wrap:wrap;gap:8px 18px;margin:var(--s4) 0 0;
  font-size:13px;letter-spacing:.1em;text-transform:uppercase;font-weight:700;color:var(--ink-3);
}

/* the figure is allowed a little more width than the text — it lifts the
   page without breaking the centre line */
.story-figure{margin:0 0 var(--s5);width:100%}
.story-figure figcaption{
  font-family:var(--hand);font-size:14.5px;color:var(--trail);
  margin-top:12px;text-align:center;max-width:none;
}

.story p{font-size:19px;line-height:1.75;color:var(--ink);margin:0 0 var(--s3);max-width:none;text-wrap:pretty}
/* an explicit span, not ::first-letter — that pulls the following
   apostrophe into the cap and "I’" reads as a mistake */
.dropcap{
  font-family:var(--disp);font-weight:700;font-size:3.4em;line-height:.82;
  float:left;padding:8px 10px 0 0;color:var(--fern);
}
.story .signoff{
  font-family:var(--hand);font-size:30px;color:var(--trail);
  margin-top:var(--s5);padding-top:var(--s4);border-top:1px solid var(--line);
}

/* --- the transcribed exchange -------------------------------------------
   Speaker in a fixed left column, line in the right. Reads down the page
   like a script instead of running together in a paragraph. */
/* the three voices, named once so the labels can stay short */
.cast{
  display:flex;flex-wrap:wrap;gap:8px 22px;margin:0 0 var(--s4);padding:0 var(--s2);
  font-size:12.5px;letter-spacing:.05em;text-transform:uppercase;
  font-family:var(--disp);font-weight:700;max-width:none;
}
.cast .c{display:flex;align-items:center;gap:7px}
.cast .c::before{content:"";width:8px;height:8px;border-radius:50%;background:currentColor;flex:none}
.cast .older{color:#7A4A24}
.cast .younger{color:#94701A}
.cast .me{color:var(--fern)}

.dialogue{
  margin:var(--s5) 0;padding:var(--s4) 0;
  border-top:2px solid var(--line-2);border-bottom:2px solid var(--line-2);
}
.scene{margin:0 0 var(--s4)}
.scene:last-child{margin-bottom:0}
.turn{
  display:grid;grid-template-columns:7.5em 1fr;gap:var(--s2);
  padding:9px var(--s2);border-radius:8px;align-items:baseline;
}
.turn.me{background:var(--paper-2)}
.turn .who{
  font-family:var(--disp);font-weight:700;font-size:12.5px;letter-spacing:.09em;
  text-transform:uppercase;line-height:1.5;white-space:nowrap;
  display:flex;align-items:baseline;gap:7px;
}
/* a colour and a dot per speaker, so three voices are told apart at a glance
   without reading the label every time */
.turn .who::before{
  content:"";width:8px;height:8px;border-radius:50%;flex:none;
  background:currentColor;transform:translateY(-1px);
}
.turn.me      .who{color:var(--fern)}      /* Uncle Todd   — green */
.turn.older   .who{color:#7A4A24}          /* older nephew — brown */
.turn.younger .who{color:#94701A}          /* younger      — ochre */
.turn.older  {box-shadow:inset 3px 0 0 rgba(122,74,36,.55)}
.turn.younger{box-shadow:inset 3px 0 0 rgba(148,112,26,.55)}
.turn p{margin:0;font-size:17.5px;line-height:1.6;color:var(--ink);max-width:none;text-wrap:pretty}
.stagedir{
  font-family:var(--hand);font-size:15.5px;color:var(--ink-3);
  margin:var(--s2) 0 var(--s2) calc(7.5em + var(--s2) + var(--s2));padding-left:var(--s3);
  border-left:2px solid var(--line-2);max-width:min(100%,62ch);
}
@media(max-width:640px){
  .turn{grid-template-columns:1fr;gap:2px;padding:10px 12px}
  .turn .who{font-size:11.5px;white-space:normal}
  .stagedir{margin-left:12px}
}

/* a photo slot Todd has not supplied yet — visible, obviously unfinished,
   and the right shape, so dropping the file in is the only step left. */
.photo-todo{
  border:2px dashed var(--line-2);border-radius:var(--radius);background:var(--paper-2);
  aspect-ratio:3/2;display:flex;flex-direction:column;align-items:center;
  justify-content:center;text-align:center;padding:var(--s3);gap:8px;
}
.photo-todo b{font-family:var(--disp);font-size:17px;color:var(--trail)}
.photo-todo span{font-size:14px;color:var(--ink-3);max-width:min(100%,70ch);line-height:1.5}

/* screen-reader-only: the F/M initials are decorative circles, so the
   speaker is also named in text that only assistive tech reads. */
.vh{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
  clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;
}

/* wall questions became plain text when the answers page was retired */
.wall-qs.plain li{
  font-family:var(--disp);font-weight:600;font-size:17px;line-height:1.35;
  color:#F0EBDA;padding-left:18px;position:relative;
}
.wall-qs.plain li::before{
  content:"";position:absolute;left:0;top:.62em;width:7px;height:7px;border-radius:50%;
  background:var(--sun);
}

/* =======================================================================
   Two stories on one page.
   The index sits under the masthead: a card each, so a reader chooses
   before scrolling rather than discovering the second story by accident.
   ======================================================================= */
.story-index{
  display:grid;grid-template-columns:repeat(2,1fr);gap:var(--gut);
  margin:0 0 var(--s6);
}
@media(max-width:720px){.story-index{grid-template-columns:1fr;gap:var(--s3)}}

.story-card{
  display:flex;flex-direction:column;text-decoration:none;color:inherit;
  background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);
  overflow:hidden;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;
}
.story-card:hover,.story-card:focus-visible{
  transform:translateY(-3px);border-color:var(--line-2);
  box-shadow:0 20px 40px -28px rgba(34,48,31,.55);
}
.story-thumb{display:block;background:var(--paper-2);border-bottom:1px solid var(--line)}
.story-thumb svg{display:block;width:100%;height:auto}

.story-card-body{display:flex;flex-direction:column;gap:9px;padding:var(--s3) var(--s3) var(--s4)}
.story-card-kicker{
  font-size:11px;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--clay);
}
.story-card-title{
  font-family:var(--disp);font-weight:700;font-variation-settings:"opsz" 96,"SOFT" 40;
  font-size:clamp(19px,1.9vw,23px);line-height:1.2;color:var(--ink);text-wrap:balance;
}
.story-card-sub{
  font-family:var(--hand);font-weight:600;font-size:15px;line-height:1.45;color:var(--trail);
}
.story-card-go{
  margin-top:auto;padding-top:6px;font-weight:700;font-size:14.5px;color:var(--fern);
  display:inline-flex;align-items:center;gap:7px;
}
.story-card:hover .story-card-go span{transform:translateY(2px)}
.story-card-go span{transition:transform .18s ease}

/* each story is its own landmark, with a rule between them */
.story-block + .story-block{border-top:1px solid var(--line);margin-top:var(--s6)}
.story-block{scroll-margin-top:calc(var(--nav-h) + 18px)}

.story-top{
  margin:var(--s5) 0 var(--s6);padding-top:var(--s4);border-top:1px solid var(--line);
  font-size:14px;
}
.story-top a{color:var(--ink-3);text-decoration:none;font-weight:600}
.story-top a:hover{color:var(--fern)}

/* the scene-setting paragraph: not dialogue, not quite narration */
.setting{
  background:var(--paper-2);border-left:3px solid var(--clay);border-radius:0 10px 10px 0;
  padding:var(--s3) var(--s4);margin:var(--s4) 0 var(--s5);
  font-size:17px;line-height:1.7;color:var(--ink-2);max-width:none;text-wrap:pretty;
}
.setting b{color:var(--trail);font-family:var(--disp)}

/* a fourth voice: Mom carries the second story the way Uncle Todd carries
   the first, so she gets the filled row the reader's eye lands on. */
.cast .mom{color:var(--berry-dk,#A83B22)}
.turn.mom{background:var(--paper-2);box-shadow:inset 3px 0 0 rgba(168,59,34,.5)}
.turn.mom .who{color:var(--berry-dk,#A83B22)}

/* --- the clip beside the story -----------------------------------------
   The footage is portrait, shot on a phone. Centred at full measure it is
   taller than any screen and pushes the writing off the page; shrunk to fit
   the fold it turns into a stamp. So it floats into the text instead: a
   proper size, with the story starting immediately beside it, the way a
   magazine sets a tall picture. */
.storyfig{
  float:right;width:min(320px, 40%);margin:6px 0 var(--s3) var(--s5);
}
.storyvid{
  border-radius:var(--radius);overflow:hidden;background:#000;
  box-shadow:0 20px 44px -30px rgba(34,48,31,.6);
}
.storyvid video{display:block;width:100%;height:auto}

@media(max-width:760px){
  /* no room to wrap text beside it on a phone: centre it and carry on */
  .storyfig{float:none;width:100%;max-width:300px;margin:0 auto var(--s4)}
}

/* =======================================================================
   One page per story.
   /stories is the index; each story lives under it at its own address, so
   a link to one story previews as that story rather than as the section.
   ======================================================================= */
.crumb{padding:var(--s4) 0 0}
.crumb a{
  display:inline-flex;align-items:center;gap:8px;text-decoration:none;
  font-size:14px;font-weight:600;color:var(--ink-3);
}
.crumb a:hover{color:var(--fern)}

/* The story's own header carries the title now. It is deliberately tighter
   than the index masthead: the header plus the video have to share one
   screen, so the title runs wider and shorter rather than tall and narrow. */
.article-head.tight-head{padding:var(--s3) 0 var(--s4)}
.article-head.tight-head h1{font-size:clamp(27px,3vw,40px);max-width:26ch;line-height:1.1}
.article-head.tight-head .eyebrow{margin-bottom:var(--s2)}
.article-head.tight-head .standfirst{
  font-family:var(--hand);font-weight:600;color:var(--trail);
  font-size:clamp(16px,1.35vw,18px);max-width:46ch;margin-top:12px;
}
.article-head.tight-head .story-meta{margin-top:var(--s3)}
/* the video that follows is separation enough; the rule only costs height */
.article-head.tight-head .article-rule{display:none}
.story-page > .article{padding-top:0}


/* read next */
.nextstory{border-top:1px solid var(--line);padding-top:var(--s4)}
.nextstory-link{
  display:block;text-decoration:none;color:inherit;margin-top:12px;
  padding:var(--s3) var(--s4);border:1px solid var(--line);border-radius:var(--radius);
  background:var(--paper);transition:border-color .18s ease,transform .18s ease;
}
.nextstory-link:hover{border-color:var(--line-2);transform:translateY(-2px)}
.nextstory-title{
  display:block;font-family:var(--disp);font-weight:700;
  font-size:clamp(19px,2vw,24px);line-height:1.2;color:var(--ink);text-wrap:balance;
}
.nextstory-sub{
  display:block;font-family:var(--hand);font-weight:600;font-size:15px;
  color:var(--trail);margin-top:7px;
}
.nextstory .story-top{margin:var(--s4) 0 0;padding-top:var(--s3)}
