/* Below Kelvin, from the approved design v7 (Rene, 7 October 2026:
   "i like it, keep improving") on the brand Rene chose on 8 October 2026
   (rewrite/brand/below-kelvin): graphite, frost, paper and ice, no red
   ("it reads as heat"). The wordmark is the brand's SVG; Albert Sans for
   everything else. Fonts are self hosted. */
  :root {
    --graphite: #1c1f23;
    --frost: #e8ecef;
    --paper: #f5f6f7;
    --ice: #a9c7d6;      /* the accent on dark */
    --accent: #6f97ab;   /* deep ice: the accent on light */
    --ink: #1c1f23;
    --soft: #5c646b;
    --faint: #9aa3aa;
    --rule: #e1e5e8;
    --serif: "Spectral", Georgia, serif;
    --mono: "Spline Sans Mono", ui-monospace, monospace;
    --sans: "Albert Sans", system-ui, sans-serif;
  }
  * { box-sizing: border-box; }
  html { -webkit-font-smoothing: antialiased; }
  body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--sans); }
  a { color: inherit; text-decoration: none; }
  img { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08) brightness(1.02); transition: filter .6s ease; }
  a:hover img, figure:hover img { filter: grayscale(0) contrast(1) brightness(1); }
  .page { max-width: 1180px; margin: 0 auto; padding: 0 32px; }
  .mono { font: 500 13px/1.4 var(--sans); color: var(--soft); }
  .accent { color: var(--accent); }

  /* masthead */
  .mast { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 34px 0 22px; border-bottom: 1px solid var(--ink); }
  .word { display: block; line-height: 0; }
  .word img, .foot-logo { width: auto; object-fit: contain; filter: none; transition: none; }
  .word img { height: 28px; }
  .foot-logo { height: 18px; display: inline-block; vertical-align: middle; }
  .mast nav { display: flex; gap: 26px; }
  .mast nav a:hover { color: var(--ink); }
  .under { display: flex; justify-content: space-between; padding: 10px 0 0; }


  /* header section */
  .band { background: var(--graphite); color: var(--frost); }
  .band .bar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
  .band nav { display: flex; align-items: center; gap: 28px; font: 500 15px var(--sans); }
  .band nav a { color: #b9c1c7; }
  .band nav a:hover, .band nav a.on { color: #fff; }
  .band nav a.on { box-shadow: inset 0 -2px 0 var(--ice); }
  .band nav .btn { color: var(--graphite); background: var(--ice); padding: 8px 16px; border-radius: 3px; }
  .band nav .btn:hover { background: var(--frost); color: var(--graphite); }
  .strip { background: var(--frost); border-bottom: 1px solid var(--rule); }
  .strip .row { display: flex; justify-content: space-between; gap: 16px; padding-top: 10px; padding-bottom: 10px; font: 500 13.5px var(--sans); color: var(--soft); }
  @media (max-width: 860px) { .band .bar { flex-wrap: wrap; } .band nav { gap: 16px; flex-wrap: wrap; } .strip .row { flex-direction: column; gap: 2px; } }


  .catnav { display: flex; flex-wrap: wrap; gap: 6px 18px; font: 500 14px var(--sans); }
  .catnav a { color: var(--soft); padding: 2px 0; border-bottom: 2px solid transparent; }
  .catnav a:hover { color: var(--ink); }
  .catnav a.on { color: var(--ink); border-color: var(--ink); }
  .dateline { font: 500 13.5px var(--sans); color: var(--soft); padding: 26px 0 0; }
  .dateline a { color: var(--ink); border-bottom: 1px solid var(--rule); }
  .phead { padding: 40px 0 26px; border-bottom: 1px solid var(--ink); }
  .phead .k { font: 500 13.5px var(--sans); color: var(--soft); }
  .phead h1 { font: 600 34px/1.15 var(--sans); margin: 6px 0 10px; }
  .phead p { margin: 0; max-width: 760px; color: #3c3f43; }
  .phead .not { margin-top: 8px; font-size: 15px; color: var(--soft); }
  .rows a { display: grid; grid-template-columns: 120px 1fr 120px; gap: 24px; padding: 16px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
  .rows a .d { font: 500 13.5px var(--sans); color: var(--soft); }
  .rows a .t { font: 600 18px/1.35 var(--sans); }
  .rows a .x { font: 500 13px var(--sans); color: var(--soft); text-align: right; }
  .two { display: grid; grid-template-columns: 8fr 4fr; gap: 48px; padding-bottom: 60px; }
  .side { padding-top: 26px; }
  .side h3 { font: 600 14px var(--sans); margin: 0 0 10px; }
  .side ul { list-style: none; margin: 0 0 26px; padding: 0; font-size: 15px; }
  .side li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--rule); }
  .side li span { color: var(--soft); }
  .tl { list-style: none; margin: 10px 0 0; padding: 0; }
  .tl li { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .tl .d { font: 500 13.5px var(--sans); color: var(--soft); }
  .tl .t { font: 600 17px/1.35 var(--sans); }
  .tl .m { display: block; font: 400 14px var(--sans); color: var(--soft); margin-top: 2px; }
  .yr { font: 600 13px var(--sans); color: var(--soft); padding: 22px 0 4px; border-bottom: 1px solid var(--ink); }
  .logo { width: 72px; height: 72px; border: 1px solid var(--rule); display: grid; place-items: center; font: 600 22px var(--sans); background: #fff; margin-bottom: 14px; }
  .cgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 32px; padding: 20px 0 60px; }
  .cgrid a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--rule); font-weight: 500; }
  .cgrid a span { color: var(--soft); font-weight: 400; }
  .letter { grid-column: 1 / -1; font: 600 13px var(--sans); color: var(--soft); padding: 20px 0 2px; }
  .ed { max-width: 640px; margin: 0 auto; padding: 40px 0 70px; }
  .ed .mh { border-bottom: 1px solid var(--ink); padding-bottom: 14px; margin-bottom: 26px; display: flex; justify-content: space-between; align-items: baseline; }
  .ed .ed-head { height: auto; aspect-ratio: 5 / 1; border-radius: 4px; margin-bottom: 12px; filter: none; transition: none; }
  .ed h2 { font: 600 20px/1.3 var(--sans); margin: 28px 0 8px; }
  .ed p { margin: 0 0 14px; font-size: 17px; }
  .ed a.r { border-bottom: 1px solid var(--faint); }
  .ed .fine { border-top: 1px solid var(--rule); margin-top: 30px; padding-top: 14px; font-size: 13.5px; color: var(--soft); }
  .done { max-width: 560px; margin: 0 auto; padding: 90px 0; text-align: center; }
  .done h1 { font: 600 30px var(--sans); margin: 0 0 10px; }
  @media (max-width: 860px) { .two { grid-template-columns: 1fr; } .rows a, .tl li { grid-template-columns: 1fr; gap: 4px; } .rows a .x { text-align: left; } .cgrid { grid-template-columns: 1fr 1fr; } }


  /* lead */
  .lead { display: grid; grid-template-columns: 8fr 4fr; gap: 40px; padding: 18px 0 48px; border-bottom: 1px solid var(--rule); }
  .lead figure { margin: 0; aspect-ratio: 16 / 9; background: #ddd; overflow: hidden; }
  .lead .txt { display: flex; flex-direction: column; justify-content: flex-end; }
  .lead h1 { font: 600 34px/1.18 var(--sans); letter-spacing: -.02em; margin: 14px 0 20px; }
  .lead p { font-size: 17px; color: #2f3236; margin: 0 0 20px; }
  .credit { margin-top: 8px; }

  /* stories grid */
  .grid { display: flex; flex-direction: column; gap: 44px; padding: 40px 0 44px; border-bottom: 1px solid var(--rule); }
  /* Option C (Rene, 8 October 2026): photo rows, as many columns as photos, then text rows of three; no row mixes them. */
  .crow { display: grid; gap: 44px 36px; }
  .crow.text, .crow.n3 { grid-template-columns: repeat(3, 1fr); }
  .crow.n2 { grid-template-columns: repeat(2, 1fr); }
  .crow.n1 { grid-template-columns: 1fr; }
  .crow.n1 .card { display: grid; grid-template-columns: 8fr 5fr; column-gap: 36px; align-content: start; }
  .crow.n1 .card .thumb { grid-row: 1 / span 5; margin-bottom: 0; align-self: start; }
  .card { display: flex; flex-direction: column; }
  .card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: #e9e9e5; margin-bottom: 14px; }
  /* A company's logo as the image (midnight, 8 October 2026): whole, on
     paper, never cropped, in the same 16:9 box as a photo. */
  .card .k { margin-bottom: 6px; }
  .card h2 { font: 600 19px/1.3 var(--sans); letter-spacing: -.005em; margin: 0 0 8px; }
  .card p { margin: 0; color: #4a4d51; font-size: 15.5px; line-height: 1.55; }
  .note { margin-top: 8px; font: 500 13px/1.45 var(--sans); color: var(--soft); }
  .dag { color: var(--accent); font-style: normal; }
  .more { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; padding: 18px 0 30px; }
  .more a { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 16px; font-weight: 500; }

  /* companies line */
  .companies { padding: 26px 0 70px; display: grid; grid-template-columns: 150px 1fr; gap: 36px; }
  .companies .list { font-size: 15.5px; font-weight: 500; }
  .companies .list a { border-bottom: 1px solid var(--rule); }
  .companies .list a:hover { border-color: var(--ink); }
  .sep { color: var(--faint); padding: 0 10px; }

  /* article */
  .article { max-width: 680px; margin: 0 auto; padding: 56px 0 80px; }
  .article figure { margin: 0 0 12px; aspect-ratio: 16 / 9; overflow: hidden; }
  .article h1 { font: 600 38px/1.15 var(--sans); letter-spacing: -.02em; margin: 34px 0 18px; }
  .article .caption { font-size: 15px; line-height: 1.45; color: #3a3d40; margin: 0 0 4px; }
  .article .dek { font-size: 20px; line-height: 1.5; color: #3a3d40; margin: 0 0 28px; font-weight: 400; }
  .article .body p { margin: 0 0 18px; font-size: 18px; line-height: 1.65; }
  .article .body a { border-bottom: 1px solid var(--faint); }
  .foot { border-top: 1px solid var(--rule); margin-top: 34px; padding-top: 16px; display: grid; gap: 10px; }
  .foot p { margin: 0; font-size: 15px; color: var(--soft); }

  /* subscribe + footer */
  .sub { border-top: 1px solid var(--ink); padding: 36px 0; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
  .sub p { margin: 0; font: 500 20px var(--sans); }
  .sub form { display: flex; border-bottom: 1px solid var(--ink); }
  .sub input { border: 0; background: transparent; font: 400 16px var(--sans); padding: 8px 0; width: 260px; outline: none; color: var(--ink); }
  .sub button { border: 0; background: none; font: 600 14px var(--sans); cursor: pointer; color: var(--ink); }
  footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding: 18px 0 44px; border-top: 1px solid var(--rule); }

  @media (max-width: 1000px) and (min-width: 861px) { .crow.text { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 860px) {
    .page { padding: 0 18px; }
    .mast { grid-template-columns: 1fr; gap: 14px; }
    .mast nav { gap: 16px; flex-wrap: wrap; }
    .lead { grid-template-columns: 1fr; gap: 22px; padding: 30px 0 40px; }
    .lead h1 { font-size: 34px; }
    .grid { gap: 30px; }
    .crow, .crow.text, .crow.n2, .crow.n3 { grid-template-columns: 1fr; gap: 30px; }
    .crow.n1 .card { display: flex; flex-direction: column; }
    .crow.n1 .card .thumb { margin-bottom: 14px; }
    .more { grid-template-columns: 1fr; }
    .more a { grid-template-columns: 1fr; gap: 4px; }
    .companies { grid-template-columns: 1fr; gap: 8px; }
    .sub { grid-template-columns: 1fr; }
    .sub input { width: 100%; }
    .article h1 { font-size: 36px; }
  }

  /* site additions */
  .preview { background: var(--ice); color: var(--graphite); font: 500 13.5px var(--sans); text-align: center; padding: 6px 16px; }
  .catnav a.on { color: var(--ink); }
  .lead.text { grid-template-columns: 1fr; }
  .lead.text .txt { max-width: 760px; }
  .empty { padding: 60px 0 80px; color: var(--soft); }
  .sub .err, .done .err { color: var(--ink); font: 600 14px var(--sans); border-left: 3px solid var(--accent); padding-left: 10px; }
  .sub .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
  .done form button { margin-top: 18px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 600 15px var(--sans); padding: 10px 20px; border-radius: 3px; cursor: pointer; }
  .article .body h2 { font: 600 21px/1.3 var(--sans); margin: 30px 0 10px; }
  .foot a { border-bottom: 1px solid var(--faint); }
  .rows a.ext .t::after { content: " \2197"; color: var(--faint); font-weight: 400; }
  .tl a.ext::after { content: " \2197"; color: var(--faint); font-weight: 400; }
  .side p { font-size: 15px; color: var(--soft); margin: 0 0 26px; }
  .pager { padding: 0 0 60px; font: 500 14px var(--sans); }
  .pager a { border-bottom: 1px solid var(--rule); }
  /* The strip: one line, short labels; on a phone it scrolls sideways
     inside the screen. */
  .strip .row > nav { min-width: 0; max-width: 100%; }
  .band .bar > * { min-width: 0; }
  @media (max-width: 860px) { .preview { font-size: 12.5px; } }
  .ed .edbody h2 { font: 600 20px/1.3 var(--sans); margin: 28px 0 8px; }
  .ed .edbody p, .ed .edbody li { font-size: 17px; }
  .ed .edbody a { border-bottom: 1px solid var(--faint); }
  @media (max-width: 600px) { footer { flex-direction: column; align-items: flex-start; } }

  /* Papers: categories with counts, a group per category, pages. */
  .ptabs { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 18px 0; border-bottom: 1px solid var(--rule); font: 500 14.5px var(--sans); }
  .ptabs a { color: var(--soft); text-decoration: none; padding-bottom: 3px; border-bottom: 2px solid transparent; }
  .ptabs a.on { color: var(--ink); border-bottom-color: var(--ink); }
  .ptabs .n { margin-left: 5px; color: var(--faint); font-size: 12.5px; }
  .pgroup h2 { font: 600 21px/1.3 var(--sans); margin: 34px 0 4px; }
  .pgroup h2 a { color: inherit; text-decoration: none; }
  .pmore { display: inline-block; margin-top: 12px; font: 500 14px var(--sans); color: var(--ink); }
  .spager { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 0 0; font: 500 14px var(--sans); color: var(--soft); }
  .spager nav { display: flex; flex-wrap: wrap; gap: 6px; }
  .spager nav a, .spager nav span { min-width: 30px; padding: 4px 8px; text-align: center; border: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
  .spager nav .on { background: var(--ink); color: #fff; border-color: var(--ink); }
