:root {
  color-scheme: light;
  --paper: #f5f5ef;
  --ink: #151619;
  --muted: #47494f;
  --orange: #ff6135;
  --rule: #bcbcb4;
  --blue: #242ed7;
  font: 100%/1.55 Arial, Helvetica, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); }
main { flex: 1; min-width: 0; }
p, h1, h2, h3, ol, ul, figure { margin: 0; }
h1, h2, h3 { line-height: 1.02; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: .13em; }
a:focus-visible, [tabindex]:focus-visible { outline: 3px solid #cf3c13; outline-offset: 4px; }
.wrap { width: min(100% - 48px, 1200px); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; background: white; padding: 8px 14px; transform: translateY(-160%); }
.skip:focus { transform: none; z-index: 5; }
.site-head { border-top: 5px solid var(--orange); background: #fff; }
.mast, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px 25px; padding-block: 16px; }
.mark { font-size: 31px; font-weight: 900; line-height: 1; text-decoration: none; white-space: nowrap; }
.mark span { color: #a52c11; }
.mark i { display: inline-block; width: 9px; height: 9px; margin-left: 5px; background: var(--orange); }
.mast-note { color: var(--muted); font-size: 14px; }
.desk-menu { display: flex; gap: 26px; padding-block: 12px; border-top: 1px solid var(--rule); }
.desk-menu a, .mobile-menu a { font-size: 14px; font-weight: 750; }
.desk-menu a:not([aria-current]), .mobile-menu a:not([aria-current]) { text-decoration: none; }
.desk-menu a:hover, .mobile-menu a:hover { text-decoration: underline; }
.mobile-menu { display: none; }
.issue-line, .tag, .section-label { font: 700 12px/1.35 ui-monospace, Menlo, monospace; text-transform: uppercase; }
.issue-line { display: flex; justify-content: space-between; gap: 10px; padding-block: 0 13px; }
.issue-line span:first-child { color: #982a15; }
.front { padding-block: 22px 30px; }
.front-grid, .archive-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.08fr) minmax(0, 1fr); gap: 22px; align-items: start; }
.front-lead { grid-column: 2; grid-row: 1; }
.front-left { display: grid; grid-column: 1; grid-row: 1; gap: 20px; }
.front-left > article + article { border-top: 1px solid var(--rule); padding-top: 16px; }
.front-right { grid-column: 3; grid-row: 1; }
.front-right > h2 { font-size: 19px; padding: 0 0 10px; border-bottom: 2px solid var(--ink); }
.feature-card { min-width: 0; }
.feature-card > img, .feature-card > .grid-art, .feature-card > .cinema-art { width: 100%; aspect-ratio: 16/9; min-height: 0; }
.feature-card > img { object-fit: cover; object-position: 56% center; }
.feature-card .tag { margin-block: 12px 6px; color: #982a15; }
.feature-card h2, .feature-card h3 { font-size: 20px; line-height: 1.16; }
.feature-card h1 { font-size: 43px; line-height: 1.06; text-wrap: balance; }
.front-lead > img, .archive-primary > .cinema-art { aspect-ratio: 3/2; }
.feature-card h1 a, .feature-card h2 a, .feature-card h3 a { text-decoration: none; }
.feature-card :is(h1,h2,h3) a:hover { text-decoration: underline; }
.card-summary { margin-top: 6px; color: var(--muted); font-size: 15px; }
.front-lead .card-summary { font-size: 17px; max-width: 55ch; }
.brief { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 12px; border-bottom: 1px solid var(--rule); padding-block: 15px; }
.brief h3 { font-size: 16px; line-height: 1.18; margin-block: 4px; }
.brief p:not(.tag), .brief a { font-size: 14px; line-height: 1.4; }
.brief a { display: inline-block; margin-top: 5px; font-weight: 700; }
.spotlight { background: #eceefb; padding-block: 24px; border-block: 1px solid #c0c4e0; }
.spotlight-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 26px; align-items: center; }
.spotlight .story-diagram { min-height: 205px; }
.spotlight h2 { margin-block: 8px 9px; font-size: 34px; line-height: 1.1; text-wrap: balance; }
.spotlight h2 a, .home-desk h3 a, .home-desk h4 a { text-decoration: none; }
.spotlight h2 a:hover, .home-desk h3 a:hover, .home-desk h4 a:hover { text-decoration: underline; }
.spotlight p + p { margin-top: 8px; }
.desk-link { color: #982a15; display: inline-block; font-size: 14px; font-weight: 750; margin-top: 9px; }
.home-desks { padding-block: 28px 32px; }
.home-desks h2 { font-size: 29px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); }
.home-desk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.home-desk { border-bottom: 1px solid var(--rule); min-width: 0; padding-block: 12px; }
.home-desk h3 { font-size: 20px; margin-bottom: 8px; }
.home-desk h4 { font-size: 18px; line-height: 1.18; margin: 0; }
.home-desk ul { list-style: none; margin-top: 10px; padding: 0; }
.home-desk li { border-top: 1px solid var(--rule); padding-block: 7px; font-size: 14px; }
.stamp { aspect-ratio: 1; display: grid; place-items: center; font: 800 23px/1 Arial, sans-serif; background: #ff9a77; }
.stamp-layer { background: #f1dc9e; }
.stamp-width { background: var(--blue); color: #fff; }
.cinema-art, .grid-art { display: grid; place-items: center; min-width: 0; min-height: 240px; padding: 18px; }
.feature-card .cinema-art, .feature-card .grid-art { padding: 9px; }
.feature-card:not(.archive-primary) .cinema-sheet { padding: 8px 10px; border-top-width: 5px; }
.feature-card:not(.archive-primary) .cinema-title { font-size: 22px; margin-bottom: 5px; }
.feature-card:not(.archive-primary) .cinema-row { padding-block: 3px; font-size: 11px; }
.cinema-art { background: #261e2e; color: #141417; }
.cinema-sheet { width: min(85%, 330px); background: #fae6aa; padding: 14px 17px; border-top: 9px solid var(--orange); }
.cinema-title { position: relative; font-size: 36px; line-height: .92; font-weight: 900; margin-bottom: 12px; }
.cinema-title span { position: absolute; bottom: 0; right: 0; font: 700 10px ui-monospace, monospace; }
.cinema-row { border-top: 1px solid #504c36; padding: 6px 0; display: grid; grid-template-columns: 55px 1fr; align-items: baseline; font-size: 13px; }
.cinema-row small { display: block; color: #7b2418; font-size: 8px; font-weight: 900; }
.grid-art { color: #fff; background: var(--blue); }
.diagram { display: flex; align-items: start; gap: 10px; width: min(90%, 295px); }
.diagram > div { display: grid; gap: 5px; padding: 8px; border: 1px solid #c9caff; }
.diagram > div:first-child { flex: 1; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.diagram b { display: grid; place-items: center; min-height: 31px; background: #e7e7fb; color: #1c2493; font: 800 11px ui-monospace, monospace; padding: 3px; }
.editor { border-block: 1px solid var(--ink); margin-bottom: 34px; display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 18px; padding-block: 16px; }
.editor-number { font: 900 92px/.9 Arial, sans-serif; color: #a82f13; }
.editor h2 { margin-block: 5px; font-size: 28px; }
.editor p:not(.tag) { max-width: 70ch; margin-bottom: 6px; }
footer { background: #191a1c; color: white; }
.footer-inner { justify-content: start; }
.footer-inner .mark { font-size: 23px; }
.footer-inner .mark span { color: #ff815e; }
.footer-inner > a:last-child { margin-left: auto; }
.about, .fixture { padding-block: 24px 42px; }
.archive-head { padding-block: 38px; }
.archive-head p:last-child { max-width: 66ch; font-size: 19px; color: var(--muted); }
.archive h1, .about h1, .fixture h1 { font-size: 56px; margin-block: 6px 10px; }
.archive-content { padding-block: 20px 42px; }
.archive-grid { grid-template-columns: minmax(0, 2.08fr) repeat(2, minmax(0, 1fr)); margin-top: 14px; }
.archive-primary h3 { font-size: 33px; }
.archive-primary .cinema-sheet { width: min(83%, 410px); }
.archive-more { border-top: 2px solid var(--ink); margin-top: 28px; padding-top: 15px; }
.archive-more h2 { font-size: 24px; margin-bottom: 16px; }
.archive-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.archive-more-grid .feature-card { border-bottom: 1px solid var(--rule); padding-bottom: 12px; }
.story-diagram {
  --art-bg: #e3e7ff;
  --art-ink: #252a73;
  --art-marker: #ff6940;
  display: grid;
  align-items: center;
  justify-items: center;
  background: var(--art-bg);
  color: var(--art-ink);
  padding: 12px;
  min-width: 0;
  container-type: inline-size;
}
.tone-brand-type { --art-bg: #f7dba1; --art-ink: #442817; --art-marker: #c24a28; }
.tone-design-culture { --art-bg: #292e5b; --art-ink: #fff; --art-marker: #ff9879; }
.tone-tools-workflow { --art-bg: #d9e8e2; --art-ink: #173f35; --art-marker: #267b62; }
.story-diagram > div { width: min(100%, 630px); display: grid; gap: 6px; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.story-diagram span { padding: 8px; min-width: 0; min-height: 34px; border: 1px solid currentColor; overflow-wrap: anywhere; font: 800 12px/1.14 Arial, sans-serif; }
.story-diagram small { display: block; margin-bottom: 5px; font: 700 9px/1 ui-monospace, Menlo, monospace; }
.diagram-glyph { display: block; height: 32px; margin-bottom: 9px; position: relative; }
.diagram-compare .diagram-glyph { border: 1px solid currentColor; border-top-width: 4px; }
.diagram-compare .diagram-glyph::after { content: ""; position: absolute; top: 5px; bottom: 5px; left: 5px; width: 30%; background: var(--art-marker); }
.diagram-compare span:nth-child(even) .diagram-glyph::after { width: 65%; }
.diagram-sequence .diagram-glyph { border-bottom: 4px solid var(--art-marker); }
.diagram-sequence .diagram-glyph::before { content: ""; display: block; width: 70%; height: 100%; background: currentColor; }
.diagram-sequence span:nth-child(even) .diagram-glyph::before { width: 45%; }
.diagram-sequence span { border: 0; border-top: 4px solid var(--art-marker); border-bottom: 1px solid currentColor; }
.diagram-stack > div { max-width: 440px; grid-auto-flow: row; }
.diagram-stack span { display: flex; gap: 7px; align-items: center; min-height: 0; }
.diagram-stack small { margin-bottom: 0; }
.diagram-stack .diagram-glyph { flex: 0 0 12px; height: 12px; margin: 0; background: var(--art-marker); }
.diagram-stack span:nth-child(even) .diagram-glyph { border: 2px solid currentColor; background: transparent; }
.diagram-specimen span { border: 0; border-inline-start: 3px solid var(--art-marker); }
.diagram-specimen span:nth-child(even) { font-family: Georgia, serif; }
.diagram-specimen .diagram-glyph { font-size: 39px; font-weight: 800; line-height: .82; }
.feature-card > .story-diagram { width: 100%; aspect-ratio: 16/9; }
.archive-primary > .story-diagram { aspect-ratio: 3/2; }
.archive-primary .story-diagram:not(.diagram-stack) .diagram-glyph { height: 64px; }
.archive-primary .diagram-specimen .diagram-glyph { font-size: 65px; }
.story-figure > .story-diagram { min-height: 224px; }
.story-figure .story-diagram span { padding: 11px; font-size: 21px; }
.story-figure .story-diagram small { font-size: 12px; }
.source-notes { border-top: 1px solid var(--rule); padding-top: 12px; }
.source-notes ul { padding-left: 20px; }
@container (max-width: 190px) {
  .story-diagram > div { gap: 3px; }
  .story-diagram span { padding: 4px; font-size: 10px; }
  .story-diagram small { margin-bottom: 3px; font-size: 8px; }
  .story-diagram:not(.diagram-stack) .diagram-glyph { height: 16px; font-size: 19px; margin-bottom: 4px; }
}
.archive, .story { background: #fff; }
.archive-head, .story-top { background: var(--paper); }
.story { padding-bottom: 40px; }
.story-head { padding-block: 30px 24px; }
.story-head h1 { font-size: 58px; font-weight: 650; max-width: 20ch; margin-block: 12px 14px; }
.standfirst { max-width: 64ch; color: var(--muted); font-size: 19px; }
.byline { font-size: 14px; margin-top: 14px; font-weight: 700; }
.story-figure img { width: 100%; aspect-ratio: 2.45/1; object-fit: cover; }
.story-figure figcaption { padding-block: 6px; border-bottom: 1px solid var(--rule); font: 13px/1.4 ui-monospace, Menlo, monospace; color: var(--muted); }
.reading { display: grid; grid-template-columns: minmax(0, 2.08fr) minmax(0, 1fr); gap: 35px; margin-top: 27px; }
.edit-picks { align-self: start; border-top: 2px solid var(--ink); padding-top: 12px; }
.edit-picks > h2 { font-size: 21px; margin-bottom: 12px; }
.edit-picks .feature-card { border-top: 1px solid var(--rule); padding-block: 12px; }
.edit-picks .feature-card > img, .edit-picks .feature-card > .cinema-art, .edit-picks .feature-card > .grid-art { aspect-ratio: 2/1; }
.edit-picks .card-summary { display: none; }
.prose { max-width: 72ch; min-width: 0; overflow-wrap: break-word; }
.prose .intro { font-size: 19px; line-height: 1.53; }
.prose .intro::first-letter { float: left; margin: 4px 9px 0 0; color: #a52c11; font-size: 53px; font-weight: 800; line-height: .84; }
.prose section { margin-top: 22px; }
.prose h2 { margin-bottom: 8px; font-size: 25px; }
.prose p + p { margin-top: 10px; }
.case-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.case-compare > div, .lab-result { padding: 12px; background: #e5e6f4; border-top: 2px solid var(--blue); }
.lab-result { margin-top: 16px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; text-align: left; }
th, td { border-bottom: 1px solid #a4a7c6; padding: 6px 4px; }
.lab-result p { margin-top: 8px; }
.about { max-width: 780px; }
.about h2, .fixture h2 { margin-block: 18px 7px; }
.about p + p { margin-top: 12px; }
.fixture code { overflow-wrap: anywhere; }
.test-scroll { overflow: auto; margin-block: 8px 20px; outline: 1px solid var(--rule); }
.test-grid { display: grid; gap: 16px; }
.test-grid span { display: grid; place-items: center; min-height: 54px; background: #e2e4fb; padding: 6px; }
.fixed { grid-template-columns: repeat(3, minmax(220px, 1fr)); }
.fluid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }

@media (max-width: 800px) {
  .front-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
  .front-right { grid-area: 2 / 1 / 3 / -1; }
  .front-lead h1 { font-size: 34px; }
  .archive-grid { gap: 14px; }
  .home-desk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 580px) {
  .wrap { width: calc(100% - 32px); }
  .mast { position: relative; padding-block: 9px; }
  .mast-note, .desk-menu { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu summary { position: relative; display: grid; place-items: center; width: 42px; height: 42px; list-style: none; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary span { width: 21px; height: 12px; border-block: 2px solid; position: relative; }
  .mobile-menu summary span::after { content: ""; position: absolute; inset: 3px 0 auto; border-top: 2px solid; }
  .mobile-menu nav { position: absolute; z-index: 2; top: 100%; left: 0; right: 0; display: grid; background: #fff; border: 1px solid var(--rule); }
  .mobile-menu nav a { padding: 10px 12px; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 8px; padding-block: 11px; }
  .mark { font-size: 27px; }
  .standfirst { font-size: 17px; }
  .front-grid, .archive-grid, .reading { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .archive-more-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .story-figure > .story-diagram { min-height: 165px; }
  .story-figure .story-diagram span { font-size: 15px; padding: 7px; }
  .front-lead, .front-left, .front-right { grid-area: auto; }
  .front { padding-top: 13px; }
  .spotlight-grid, .home-desk-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .spotlight .story-diagram { min-height: 140px; }
  .spotlight h2 { font-size: 26px; }
  .home-desks { padding-block: 20px 25px; }
  .home-desk { padding-top: 5px; }
  .home-desk > .feature-card > .story-diagram { aspect-ratio: 2.65 / 1; }
  .home-desk > .feature-card > .tag, .home-desk > .feature-card > .card-summary { margin-top: 6px; }
  .front-lead h1, .archive-primary h3 { font-size: 30px; }
  .archive-head { padding-block: 28px; }
  .archive-grid .feature-card + .feature-card { border-top: 1px solid var(--rule); padding-top: 12px; }
  .editor h2 { font-size: 24px; }
  .editor { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
  .editor-number { font-size: 37px; }
  .footer-inner > a:last-child { margin-left: 0; }
  .archive h1, .story-head h1, .about h1, .fixture h1 { font-size: 36px; }
  .cinema-art, .grid-art { min-height: 205px; }
  .story-figure img { aspect-ratio: 1.9/1; }
  .edit-picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .edit-picks > h2 { grid-column: 1 / -1; }
  .edit-picks h3 { font-size: 16px; }
  .edit-picks .feature-card > .cinema-art { min-height: 103px; }
  .edit-picks .cinema-sheet { width: 100%; }
  .edit-picks .feature-card:not(.archive-primary) .cinema-title { font-size: 17px; }
  .edit-picks .cinema-title span { display: none; }
  .edit-picks .cinema-row { grid-template-columns: 38px 1fr; }
  .edit-picks .diagram { width: 100%; gap: 4px; }
  .edit-picks .diagram > div { padding: 3px; gap: 2px; }
  .edit-picks .diagram b { font-size: 9px; padding: 1px; min-height: 16px; }
}
