  /* Stokes brand tokens — Field Guide 5.4 + illustration swatch */
  :root {
    color-scheme: light;
    --paper: #FBEBC9;        /* brand cream */
    --paper-deep: #F4DDAE;   /* panels, placeholders */
    --print: #FFF8EA;        /* photo print border */
    --blue: #146B9A;         /* brand mill blue */
    --blue-deep: #0F5479;    /* hover / pressed */
    --ink: #17232B;          /* body text, blue-biased near-black */
    --ink-soft: #4B5559;     /* secondary text */
    --rule: rgba(20,107,154,.28);
    --on-blue: #FBEBC9;
    --on-blue-soft: rgba(251,235,201,.72);

    --type: "Courier Prime", "Courier New", Courier, monospace;
    --sans: "Libre Franklin", "Franklin Gothic", "Helvetica Neue", Arial, sans-serif;

    --wrap: 1240px;
    --gutter: clamp(16px, 4vw, 48px);
  }

  html { background: var(--paper); }
  body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
  *, *::before, *::after { box-sizing: border-box; }
  img { max-width: 100%; height: auto; display: block; }
  a { color: var(--blue); }
  :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
  .wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
  .caps { font-weight: 500; font-size: 12px; letter-spacing: .28em; text-transform: uppercase; line-height: 1.5; }
  h1, p { margin: 0; }

  /* Header — same on every page */
  .site-header { padding-block: 22px; padding-top: calc(22px + env(safe-area-inset-top, 0px)); }
  .site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
  .logo img { width: 180px; height: auto; }
  .nav { display: flex; gap: clamp(18px, 2.4vw, 34px); }
  .nav a { color: var(--ink); text-decoration: none; font-size: 12px; }
  .nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
  .menu-btn { display: none; background: none; border: 1px solid var(--ink); color: var(--ink); font: inherit; padding: 8px 14px; cursor: pointer; }


  /* Page title */
  .intro { padding-block: clamp(28px, 6vw, 72px) clamp(48px, 7vw, 96px); }
  .intro h1 { font-weight: 500; font-size: clamp(27px, 4vw, 51px); line-height: 1.04; letter-spacing: -.02em; }
  .intro p { margin-top: 14px; color: var(--ink-soft); font-size: 18px; max-width: 46ch; }

  h2 { margin: 0; font-weight: 500; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
  h3 { margin: 0; font-weight: 600; font-size: 18px; line-height: 1.3; }
  .eyebrow { color: var(--blue); font-size: 16.5px; font-weight: 700; margin-bottom: 14px; display: block; }
  .body { font-size: 17px; color: var(--ink-soft); max-width: 58ch; }
  .body + .body { margin-top: 14px; }
  section { padding-bottom: clamp(90px, 12vw, 170px); }

  /* Prints: archive photos laid on the page */
  .print { margin: 0; }
  .print img { width: 100%; box-shadow: 0 1px 0 rgba(23,35,43,.05), 0 22px 40px -28px rgba(23,35,43,.55); }
  .print figcaption { margin-top: 12px; font-size: 10.5px; color: var(--ink-soft); }

  /* Framed print — same engraved double line and cream mat as the homepage carousel */
  .framed { border: 3px solid var(--blue); padding: 5px; }
  .framed > div { border: 1px solid var(--blue); padding: 4.75%; }
  .framed img { width: 100%; }

  /* ---------- Lineage ---------- */
  .opener { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 32px); align-items: center; }
  .opener .framed-wrap { grid-column: 1 / span 7; position: relative; }
  .opener .card { position: absolute; width: 42%; right: -8%; bottom: -14%; transform: rotate(2.5deg); box-shadow: 0 18px 30px -18px rgba(23,35,43,.6); }
  .opener .text { grid-column: 9 / span 4; }
  .opener figcaption { margin-top: 18px; font-size: 10.5px; color: var(--ink-soft); }

  .gens { list-style: none; padding: 0; margin: clamp(90px, 11vw, 150px) 0 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1.5px solid var(--ink); }
  .gens li { padding: 18px 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
  .gens li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
  .gens .caps { color: var(--blue); font-size: 10.5px; }
  .gens p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; }

  .archive { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 32px); align-items: start; margin-top: clamp(80px, 10vw, 140px); }
  .a-tug   { grid-column: 1 / span 4; }
  .a-frame { grid-column: 6 / span 7; margin-top: clamp(60px, 9vw, 130px); }
  .a-shop  { grid-column: 2 / span 3; margin-top: clamp(40px, 5vw, 70px); }
  .letter  { grid-column: 6 / span 5; margin-top: clamp(80px, 10vw, 150px); font-family: var(--type); font-size: 16px; line-height: 1.6; }
  .letter blockquote { margin: 0; }
  .letter cite { display: block; margin-top: 16px; font-style: normal; font-family: var(--sans); color: var(--ink-soft); font-size: 10.5px; }

  .square { margin-top: clamp(90px, 11vw, 150px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 32px); }
  .square blockquote { grid-column: 3 / span 8; margin: 0; }
  .square blockquote p { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.35; letter-spacing: -.01em; text-wrap: balance; }
  .square cite { display: block; margin-top: 18px; font-style: normal; color: var(--blue); font-size: 11px; }
  .square .body { grid-column: 3 / span 8; margin-top: 28px; }

  /* ---------- Story: one column, read top to bottom ---------- */
  .story-col { display: grid; gap: clamp(48px, 6vw, 72px); }
  .entry { display: flex; flex-direction: column; gap: 12px; }
  .entry .yr { font-weight: 500; font-size: 24px; line-height: 1.2; }
  .entry > p { font-size: 17px; color: var(--ink-soft); line-height: 1.6; max-width: 680px; }
  .story-photo { margin-top: 20px; width: min(510px, 100%); align-self: flex-end; } /* 25% smaller than the 680px column, right-justified */
  .story-photo figcaption { margin-top: 12px; font-size: 10.5px; color: var(--ink-soft); }
  .reno { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 32px); margin-top: 28px; align-items: start; }
  .reno figure:first-child { grid-column: 1 / span 7; grid-row: 1; }
  .reno figure:last-child { grid-column: 7 / span 6; grid-row: 1; margin-top: clamp(120px, 16vw, 230px); position: relative; z-index: 2; }
  .reno-cap { font-size: 10.5px; color: var(--ink-soft); margin-top: 2px; }
  @media (max-width: 560px) { .reno { grid-template-columns: 1fr; row-gap: 16px; } .reno figure:first-child, .reno figure:last-child { grid-column: 1; grid-row: auto; margin-top: 0; } }
  .joe-row { max-width: 680px; display: flex; align-items: flex-end; gap: clamp(24px, 4vw, 48px); margin-top: 20px; }
  .entry .joe { flex: 0 0 min(320px, 48%); }
  .entry .letter { margin: 0; font-family: var(--type); }
  @media (max-width: 560px) { .joe-row { flex-direction: column; align-items: flex-start; } .entry .joe { flex-basis: auto; width: 70%; } }
  .entry .letter p { font-size: 16px; line-height: 1.6; color: var(--ink); max-width: 46ch; }

  /* ---------- The Mill ---------- */
  .mill-head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 32px); align-items: end; margin-bottom: clamp(48px, 6vw, 80px); }
  .mill-head > div { grid-column: 1 / span 5; }
  .mill-head .body { grid-column: 7 / span 6; }
  .timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 32px); row-gap: 48px; align-items: start; }
  .timeline li { display: flex; flex-direction: column; gap: 10px; }
  .timeline .yr { font-weight: 500; font-size: 24px; font-variant-numeric: tabular-nums; }
  .timeline p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; max-width: 40ch; }
  .t1 { grid-column: 1 / span 8; }
  .t1 p { max-width: 62ch; }
  .t2 { grid-column: 7 / span 6; margin-top: clamp(24px, 3vw, 48px); } /* staggered below the 1926 photo, 50% larger */
  .t3 { grid-column: 2 / span 6; }
  .t4 { grid-column: 9 / span 4; margin-top: clamp(60px, 8vw, 120px); }
  .t4 .print { padding-top: 0; }
  .facts { list-style: none; padding: 0; margin: clamp(80px, 10vw, 130px) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1.5px solid var(--ink); }
  .facts li { padding: 18px 20px 0 0; }
  .facts li + li { padding-left: 20px; border-left: 1px solid var(--rule); }
  .facts strong { display: block; font-weight: 500; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; }
  .facts span { display: block; margin-top: 8px; font-size: 14px; color: var(--ink-soft); line-height: 1.5; }
  .today { margin-top: clamp(80px, 10vw, 130px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 32px); align-items: start; }
  .td1 { grid-column: 1 / span 7; grid-row: 1; display: flex; flex-direction: column; gap: 10px; }
  .today .yr { font-weight: 500; font-size: 24px; margin-top: 2px; }
  .today p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; max-width: 40ch; }
  .td2 { grid-column: 7 / span 6; grid-row: 1; margin-top: clamp(140px, 18vw, 260px); position: relative; z-index: 2; }
  .town { margin-top: clamp(80px, 10vw, 130px); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(16px, 2.4vw, 32px); }
  .town p { grid-column: 3 / span 8; font-size: clamp(20px, 2vw, 26px); line-height: 1.45; text-wrap: balance; }
  .town p + p { margin-top: 20px; }
  .end { margin-top: clamp(60px, 8vw, 100px); display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
  .btn { display: inline-block; padding: 14px 22px; text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; border: 1.5px solid var(--blue); }
  .btn-solid { background: var(--blue); color: var(--paper); }
  .btn-line { color: var(--blue); }

  @media (max-width: 900px) {
    .gens { grid-template-columns: 1fr 1fr; border-top: 0; column-gap: 24px; row-gap: 28px; }
    .gens li, .gens li + li { padding: 16px 0 0; border-left: 0; border-top: 1.5px solid var(--ink); }
    .gens li:last-child { grid-column: 1 / -1; }
    .facts { grid-template-columns: 1fr 1fr; row-gap: 24px; border-top: 0; }
    .facts li, .facts li + li { padding: 16px 0 0; border-left: 0; border-top: 1.5px solid var(--ink); }
    .facts { column-gap: 24px; }
  }
  /* Mobile menu — same on every page */
  @media (max-width: 760px) {
    .nav { display: none; }
    .nav.open { display: flex; flex-direction: column; gap: 0; position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: var(--paper); border-block: 1px solid var(--rule); padding: 8px var(--gutter); }
    .nav.open a { padding-block: 14px; }
    .nav.open a + a { border-top: 1px solid var(--rule); }
    .site-header { position: relative; }
    .menu-btn { display: inline-block; }
  }

  @media (max-width: 760px) {
    .opener, .archive, .square, .mill-head, .timeline, .town { grid-template-columns: repeat(6, 1fr); }
    .opener .framed-wrap { grid-column: 1 / -1; }
    .opener .card { right: 0; width: 46%; }
    .opener .text { grid-column: 1 / -1; margin-top: 64px; }
    .a-tug { grid-column: 1 / span 4; }
    .a-frame { grid-column: 2 / span 5; margin-top: 40px; }
    .a-shop { grid-column: 1 / span 3; margin-top: 40px; }
    .letter { grid-column: 1 / -1; margin-top: 40px; }
    .square blockquote, .square .body, .town p { grid-column: 1 / -1; }
    .mill-head > div, .mill-head .body { grid-column: 1 / -1; }
    .mill-head .body { margin-top: 18px; }
    .t1 { grid-column: 1 / -1; } .t2 { grid-column: 2 / span 5; margin-top: 0; }
    .today { grid-template-columns: repeat(6, 1fr); row-gap: 32px; }
    .td1 { grid-column: 1 / span 6; }
    .td1 { grid-row: auto; }
    .td2 { grid-column: 2 / span 5; grid-row: auto; margin-top: 0; }
    .t3 { grid-column: 1 / span 5; } .t4 { grid-column: 2 / span 5; margin-top: 0; }
  }
  @media (max-width: 440px) { .gens, .facts { grid-template-columns: 1fr; } }
