:root {
    color-scheme: light;
    --bg: #ffffff; --ink: #0b0b0b; --mute: #6a6a6a; --soft: #f3f3f1; --line: #dcdcdc;
    --sans: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
    --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    --ease: cubic-bezier(.2, .8, .2, 1);
  }
  * { box-sizing: border-box; }
  html { background: var(--bg); scroll-behavior: smooth; }
  body { margin: 0; color: var(--ink); font: 17px/1.6 var(--serif); overflow-x: clip; }
  p, h1, h2, h3, h4, dl, dd, ol, ul, figure, blockquote { margin: 0; padding: 0; font-weight: inherit; font-size: inherit; }
  ol, ul { list-style: none; }
  a { color: inherit; }
  img { display: block; max-width: 100%; height: auto; }
  .label { font: 500 .72rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
  .wrap { width: min(1320px, 100% - 2 * clamp(16px, 4vw, 56px)); margin-inline: auto; }

  /* ---------- reading progress: a hairline across the top that fills as the page is read ---------- */
  .progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 20; background: var(--ink); transform-origin: 0 50%; transform: scaleX(0); }

  /* ---------- the opening: the sun with its №2 alone in the window; then it goes to its place on the cover and the page comes in ---------- */
  .dawn { display: none; }
  html.opening .dawn { display: grid; place-items: center; position: fixed; inset: 0; z-index: 50; background-color: var(--bg); transition: background-color .9s .15s var(--ease); }
  html.opening .dawn span { display: block; width: min(34vmin, 230px); transition: transform 1.15s cubic-bezier(.65, 0, .25, 1), opacity .4s ease; }
  html.opening .dawn svg { display: block; width: 100%; height: auto; overflow: visible; animation: dawn .8s var(--ease) both; }
  html.opening.going .dawn { background-color: transparent; pointer-events: none; }
  @keyframes dawn { from { opacity: 0; transform: scale(.85); } }
  html.hold .name .ch, html.hold .deck, html.hold .contents a { animation-play-state: paused; }

  /* ---------- the cover ---------- */
  .cover { position: relative; min-height: max(640px, 100svh); display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border-bottom: 1px solid var(--ink); }
  #ground { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
  .cover > * { position: relative; z-index: 1; }
  .masthead { display: flex; justify-content: space-between; gap: 1rem; padding-block: 18px; border-bottom: 1px solid var(--ink); }
  .cover-main { align-self: center; padding-block: clamp(36px, 7vh, 80px); }
  .name { font: 800 clamp(4rem, 15.5vw, 15rem)/.84 var(--sans); letter-spacing: -.055em; margin-left: -.04em; }
  .name .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
  .name .ch { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--i) * 45ms + 150ms); }
  @keyframes rise { to { transform: none; } }
  .alias { margin-top: 1.4rem; display: flex; align-items: center; gap: 14px; }
  .alias::before { content: ""; width: 48px; height: 1px; background: var(--ink); }
  .deck { max-width: 34rem; margin-top: 1.1rem; font: 400 clamp(1.1rem, 1.7vw, 1.35rem)/1.45 var(--sans); letter-spacing: -.01em; opacity: 0; animation: fade 1s .9s var(--ease) forwards; }
  @keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
  .contents { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); background: rgba(255,255,255,.86); backdrop-filter: blur(6px); }
  .contents a { display: block; padding: 18px 18px 22px 0; text-decoration: none; border-right: 1px solid var(--line); opacity: 0; animation: fade .8s var(--ease) forwards; animation-delay: calc(var(--i) * 90ms + 1.1s); }
  .contents li + li a { padding-left: 18px; }
  .contents li:last-child a { border-right: 0; }
  .contents b { display: block; font: 700 2.2rem/1 var(--sans); letter-spacing: -.04em; }
  .contents .label { display: block; margin: .6rem 0 .3rem; }
  .contents span:last-child { font: 400 .92rem/1.4 var(--sans); color: var(--mute); }
  .contents a:hover b { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; }

  /* ---------- a group: its number, its feature, its cards ---------- */
  .group { padding-block: clamp(56px, 9vw, 120px) 0; }
  .group-head { display: grid; grid-template-columns: auto 1fr; align-items: end; gap: 0 clamp(16px, 3vw, 40px); padding-bottom: 18px; border-bottom: 1px solid var(--ink); }
  .group-head .num { font: 200 clamp(5rem, 14vw, 12rem)/.78 var(--sans); letter-spacing: -.06em; grid-row: span 2; }
  .group-head h2 { font: 800 clamp(2.2rem, 5.5vw, 4.6rem)/.95 var(--sans); letter-spacing: -.045em; }
  .group-head p { font: 400 1.05rem/1.4 var(--sans); color: var(--mute); margin-top: .5rem; }

  .feature { display: grid; align-items: center; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); padding-block: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
  .feature.flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .feature.flip .collage { order: 2; }
  .feature .kicker { display: flex; justify-content: space-between; gap: 1em; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
  .feature h3 { font: 800 clamp(2.6rem, 6vw, 5.4rem)/.9 var(--sans); letter-spacing: -.05em; margin: 1.6rem 0 1rem; }
  .feature .standfirst { font: 400 clamp(1.15rem, 1.6vw, 1.4rem)/1.4 var(--sans); letter-spacing: -.01em; }
  .feature .body { columns: 2; column-gap: 28px; margin-top: 1.6rem; font-size: .97rem; line-height: 1.6; hyphens: auto; }
  .feature .body p + p { margin-top: .8em; }
  .feature .body p:first-child::first-letter { float: left; font: 800 3.6em/.78 var(--sans); margin: .06em .08em 0 0; }
  .feature blockquote { margin: 1.8rem 0 0; padding: 1rem 0 0; border-top: 6px solid var(--ink); font: 700 clamp(1.3rem, 2vw, 1.7rem)/1.2 var(--sans); letter-spacing: -.025em; }
  .more { display: inline-flex; align-items: center; gap: .6em; margin-top: 1.8rem; padding: 14px 22px; border: 1px solid var(--ink); border-radius: 999px; font: 600 .95rem/1 var(--sans); text-decoration: none; position: relative; overflow: hidden; isolation: isolate; transition: color .35s var(--ease); }
  .more::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: translateY(101%); transition: transform .35s var(--ease); z-index: -1; }
  .more:hover, .more:focus-visible { color: var(--bg); outline: 0; }
  .more:hover::before, .more:focus-visible::before { transform: none; }
  .more::after { content: "→"; transition: transform .35s var(--ease); }
  .more:hover::after { transform: translateX(4px); }

  /* the collage: the screenshots laid over each other, the main one large */
  .collage { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(0, auto); align-content: start; }
  .collage figure { position: relative; transition: transform .6s var(--ease); }
  .collage img { width: 100%; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 18px 48px rgba(0,0,0,.18); border-radius: 6px; }
  .collage figcaption { font: 400 .78rem/1.4 var(--sans); color: var(--mute); margin-top: .7rem; }
  .collage .a { grid-column: 1 / 11; grid-row: 1; z-index: 1; }
  .collage .b { grid-column: 6 / 13; grid-row: 2; margin-top: -18%; z-index: 2; }
  .collage .c { grid-column: 1 / 6; grid-row: 2; margin-top: 8%; z-index: 0; }
  .collage.phones { grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: start; }
  .collage.phones figure { grid-row: 1; }
  .collage.phones .p1 { grid-column: 1; margin-top: 18%; } .collage.phones .p2 { grid-column: 2; } .collage.phones .p3 { grid-column: 3; margin-top: 12%; } .collage.phones .p4 { grid-column: 4; margin-top: 30%; }
  .collage.phones img { border-radius: 18px; }
  /* an app's screens are shown on a phone: a black body with a thin rim, a rounded screen, the island at the top */
  .collage.phones figure:not(.wide) { position: relative; padding: 3.2%; background: #0b0b0b; border-radius: 15% / 7.6%; box-shadow: inset 0 0 0 1px #4a4a4a, 0 0 0 1px #bdbdbd, 0 1px 2px rgba(0,0,0,.14), 0 22px 54px rgba(0,0,0,.24); }
  .collage.phones figure:not(.wide) img { display: block; border-radius: 12.5% / 6.6%; box-shadow: none; }
  .collage.phones figure:not(.wide)::before { content: ""; position: absolute; z-index: 1; top: 3.4%; left: 50%; width: 30%; height: 2.4%; translate: -50% 0; background: #000; border-radius: 99px; }
  .collage.phones .wide { grid-column: 1 / 5; grid-row: 2; margin-top: 28px; }
  .collage:hover .a { transform: translate(-6px, -6px); } .collage:hover .b { transform: translate(8px, 6px) rotate(.6deg); } .collage:hover .c { transform: translate(-4px, 8px) rotate(-.6deg); }

  /* the cards: a screenshot with a second laid over its corner */
  .cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(28px, 4vw, 56px); padding-block: clamp(36px, 5vw, 64px); }
  .card { display: block; text-decoration: none; color: inherit; perspective: 1200px; }
  .card .shots { position: relative; padding: 0 12% 12% 0; }
  .card .shots img { border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 14px 36px rgba(0,0,0,.16); }
  .card .main, .card .inset { display: block; }
  .card .main { transition: transform .7s var(--ease); transform-origin: 30% 60%; }
  .card .inset { position: absolute; right: 0; bottom: 0; width: 46%; transition: transform .7s var(--ease); }
  .card .inset.tall { width: 26%; }
  .card .inset.tall img { border-radius: 12px; }
  .card:hover .main, .card:focus-visible .main { transform: rotateY(-7deg) rotateX(3deg) translateZ(0); }
  .card:hover .inset, .card:focus-visible .inset { transform: translate(10px, 10px) scale(1.06); }
  .card .meta { display: flex; justify-content: space-between; gap: 1em; margin-top: 18px; padding-top: 10px; border-top: 1px solid var(--ink); color: var(--mute); }
  .card h4 { font: 800 clamp(1.7rem, 2.6vw, 2.3rem)/1 var(--sans); letter-spacing: -.04em; margin: .7rem 0 .5rem; background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 3px no-repeat; transition: background-size .5s var(--ease); display: inline; }
  .card:hover h4, .card:focus-visible h4 { background-size: 100% 3px; }
  .card p:last-child { margin-top: .9rem; font-size: .97rem; color: #333; }
  .card:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; }
  .cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.wide { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; align-items: center; }
  .card.wide .meta { margin-top: 0; }
  @media (max-width: 960px) { .cards.two { grid-template-columns: minmax(0, 1fr); } .card.wide { display: block; } .card.wide .meta { margin-top: 18px; } }

  /* ---------- the call to action: LinkedIn, so no address is on the page to be harvested (27 November 2026) ---------- */
  .masthead .hire { text-decoration: none; border-bottom: 1px solid currentColor; }
  .masthead .hire:hover { border-bottom-width: 2px; }
  .go.ask { border-top: 0; margin-top: 28px; padding-top: 0; }
  .go.ask a { padding: 16px 26px; font-size: 1rem; }
  .asks { margin-top: 1.4em; font: 400 1rem/1.5 var(--sans); }
  .asks a { font-weight: 600; }
  .colophon { margin-top: clamp(64px, 9vw, 120px); padding-block: 28px 40px; border-top: 1px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--mute); }

  /* ---------- the long read: a career as a timeline ---------- */
  .longread { padding-block: clamp(40px, 6vw, 80px); border-bottom: 1px solid var(--line); }
  .lr-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 0 clamp(28px, 5vw, 72px); align-items: end; }
  .lr-head .kicker { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
  .lr-head h3 { font: 800 clamp(4rem, 13vw, 11rem)/.85 var(--sans); letter-spacing: -.06em; margin: 1.4rem 0 0; }
  .lr-head .standfirst { font: 400 clamp(1.15rem, 1.7vw, 1.45rem)/1.4 var(--sans); letter-spacing: -.01em; padding-bottom: .4rem; }
  .lr-facts { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(5, 1fr); margin-top: clamp(24px, 4vw, 40px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .lr-facts div { padding: 14px 14px 14px 0; } .lr-facts div + div { padding-left: 14px; border-left: 1px solid var(--line); }
  .lr-facts dt { color: var(--mute); } .lr-facts dd { font: 800 clamp(1.3rem, 2.4vw, 2rem)/1.1 var(--sans); letter-spacing: -.03em; text-transform: none; margin-top: .3rem; }
  .timeline { margin-top: clamp(32px, 5vw, 64px); position: relative; }
  .timeline::before { content: ""; position: absolute; left: clamp(70px, 11vw, 150px); top: 0; bottom: 0; width: 1px; background: var(--ink); transform-origin: top; }
  .era { display: grid; grid-template-columns: clamp(70px, 11vw, 150px) minmax(0, 5fr) minmax(0, 6fr); gap: 0 clamp(20px, 3vw, 44px); padding-block: clamp(28px, 4vw, 52px); position: relative; }
  .era + .era { border-top: 1px solid var(--line); }
  .era::before { content: ""; position: absolute; left: calc(clamp(70px, 11vw, 150px) - 6px); top: calc(clamp(28px, 4vw, 52px) + .4em); width: 13px; height: 13px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 6px var(--bg); }
  .yr { position: sticky; top: 24px; align-self: start; font: 200 clamp(1.8rem, 3.6vw, 3.2rem)/1 var(--sans); letter-spacing: -.05em; padding-right: 18px; }
  .era-text { padding-left: 10px; }
  .era-text h4 { font: 800 clamp(1.6rem, 2.8vw, 2.4rem)/1.05 var(--sans); letter-spacing: -.035em; margin: .5rem 0 .8rem; }
  .era-text p:not(.label) { font-size: .98rem; } .era-text p + p { margin-top: .8em; }
  .era-shots { display: grid; gap: 14px; align-content: start; }
  .era-shots.two { grid-template-columns: 1fr 1fr; } .era-shots.two figure:first-child { grid-column: 1 / -1; }
  .era-shots.phones { grid-template-columns: repeat(4, 1fr); } .era-shots.phones figcaption { grid-column: 1 / -1; }
  .era-shots.phones figure:nth-child(even) { margin-top: 28px; }
  .era-shots img { width: 100%; border-radius: 6px; box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 14px 36px rgba(0,0,0,.16); transition: transform .6s var(--ease); }
  .era-shots.phones img { border-radius: 14px; }
  .era-shots figure:hover img { transform: scale(1.03) rotate(-.4deg); }
  .era-shots figcaption { font: 400 .78rem/1.4 var(--sans); color: var(--mute); margin-top: .5rem; }
  .lr-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; font: 400 .88rem/1.4 var(--sans); color: var(--mute); }
  .lr-foot .more { margin-top: 0; color: var(--ink); }
  @media (max-width: 960px) {
    .lr-head { grid-template-columns: 1fr; } .lr-head .standfirst { margin-top: 1rem; } .lr-facts { grid-template-columns: repeat(3, 1fr); } .lr-facts div:nth-child(4) { padding-left: 0; border-left: 0; }
    .era { grid-template-columns: 64px minmax(0, 1fr); } .era-shots { grid-column: 2; margin-top: 20px; }
    .timeline::before { left: 64px; } .era::before { left: 58px; } .yr { font-size: 1.5rem; }
  }

  /* ---------- scrolling: things rise into place, screenshots drift at their own pace ---------- */
  @supports (animation-timeline: view()) {
    .progress { animation: grow linear both; animation-timeline: scroll(root); }
    @keyframes grow { to { transform: scaleX(1); } }
    .reveal { animation: enter linear both; animation-timeline: view(); animation-range: entry 0% entry 70%; }
    @keyframes enter { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: none; } }
    .group-head .num { animation: draw linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    @keyframes draw { from { clip-path: inset(0 100% 0 0); transform: translateX(-8%); } to { clip-path: inset(0 0 0 0); transform: none; } }
    .collage .b { animation: drift-up linear both; animation-timeline: view(); }
    .collage .c, .collage.phones .p1, .collage.phones .p3 { animation: drift-down linear both; animation-timeline: view(); }
    @keyframes drift-up { from { translate: 0 60px; } to { translate: 0 -60px; } }
    @keyframes drift-down { from { translate: 0 -30px; } to { translate: 0 40px; } }
    .card .main img { animation: unveil linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .timeline::before { animation: line linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes line { from { transform: scaleY(0); } to { transform: scaleY(1); } }
    .era-shots figure { animation: enter linear both; animation-timeline: view(); animation-range: entry 0% entry 80%; }
    @keyframes unveil { from { clip-path: inset(0 0 100% 0); scale: 1.08; } to { clip-path: inset(0); scale: 1; } }
  }

  /* ---------- the file: a project opens as a spread of a magazine ---------- */
  #file {
    width: min(78rem, calc(100vw - 24px)); max-width: none; height: calc(100vh - 24px); max-height: none; padding: 0; overflow: auto;
    background: var(--bg); color: var(--ink); border: 0; border-radius: 10px; box-shadow: 0 40px 120px rgba(0,0,0,.45);
    opacity: 1; transform: none; transition: opacity .4s var(--ease), transform .5s var(--ease), overlay .5s allow-discrete, display .5s allow-discrete;
  }
  #file::backdrop { background: rgba(0,0,0,.6); backdrop-filter: blur(4px); transition: opacity .4s; }
  @starting-style { #file[open] { opacity: 0; transform: translateY(40px) scale(.97); } #file[open]::backdrop { opacity: 0; } }
  #fileClose { position: sticky; top: 14px; float: right; z-index: 3; width: 44px; height: 44px; margin: 14px 14px 0 0; padding: 11px; color: var(--bg); background: var(--ink); border: 0; border-radius: 50%; cursor: pointer; transition: transform .3s var(--ease); }
  #fileClose:hover, #fileClose:focus-visible { transform: rotate(90deg); outline: 0; }
  #fileClose svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  #fileBody { --gap: clamp(28px, 6vw, 88px); padding: clamp(28px, 5vw, 64px) clamp(20px, 5vw, 64px) clamp(28px, 4vw, 48px); }
  .runhead { display: flex; justify-content: space-between; gap: 1em; font: 500 .7rem/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; padding-bottom: 12px; border-bottom: 1px solid var(--ink); margin-right: 56px; }
  .spread { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: center; padding: clamp(28px, 5vw, 56px) 0; border-bottom: 1px solid var(--line); }
  #file .kicker { font: 500 .74rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
  #file h2 { font: 800 clamp(2.8rem, 6.2vw, 5.4rem)/.92 var(--sans); letter-spacing: -.05em; margin: .3em 0 .35em; }
  .dek { font: 400 1.3em/1.4 var(--sans); letter-spacing: -.01em; }
  .facts { display: grid; grid-template-columns: max-content 1fr; gap: .45em 1.2em; margin-top: 1.6em; padding-top: 1.1em; border-top: 1px solid var(--ink); font: 400 .9rem/1.45 var(--sans); }
  .facts dt { font: 500 .7rem/1.9 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
  .hero img { width: 100%; border-radius: 6px; box-shadow: 0 18px 48px rgba(0,0,0,.18); }
  .hero.device img { width: auto; max-width: 100%; height: min(640px, 70vh); object-fit: contain; margin: 0 auto; display: block; } /* a set height, so the space is kept before it loads */
  .copy figure.phones > div img { padding: 2.6%; background: #0b0b0b; border-radius: 14% / 7.4%; box-shadow: inset 0 0 0 1px #4a4a4a, 0 0 0 1px #bdbdbd, 0 14px 36px rgba(0,0,0,.2); }
  .hero > div { display: flex; gap: 12px; } .hero > div img { flex: 1 1 0; min-width: 0; }
  .hero figcaption, .copy figcaption { font: 400 .78rem/1.45 var(--sans); color: var(--mute); margin-top: .6em; }
  .copy { columns: 2; column-gap: var(--gap); column-rule: 1px solid var(--line); padding-top: clamp(26px, 4vw, 44px); hyphens: auto; }
  .copy h3 { font: 500 .78rem/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; margin: 1.6em 0 .55em; break-after: avoid; }
  .copy h3:first-child { margin-top: 0; }
  .copy p + p { margin-top: .8em; }
  .copy > p:first-of-type::first-letter { float: left; font: 800 3.8em/.8 var(--sans); margin: .04em .08em 0 0; }
  .copy figure { break-inside: avoid; margin: 1.3em 0; }
  .copy figure > div { display: flex; gap: 10px; }
  .copy figure img { width: 100%; min-width: 0; border-radius: 4px; box-shadow: 0 6px 20px rgba(0,0,0,.14); }
  .copy figure > div img { flex: 1 1 0; }
  .pull { break-inside: avoid; margin: 1.2em 0; padding: .8em 0 0; border-top: 6px solid var(--ink); font: 700 1.45rem/1.2 var(--sans); letter-spacing: -.025em; }
  .go { display: flex; flex-wrap: wrap; gap: .8em 1em; margin-top: clamp(26px, 4vw, 40px); padding-top: 1.2em; border-top: 1px solid var(--ink); }
  .go a { display: inline-flex; gap: .5em; padding: 12px 20px; border: 1px solid var(--ink); border-radius: 999px; font: 600 .92rem/1 var(--sans); text-decoration: none; }
  .go a:first-child { background: var(--ink); color: var(--bg); }
  .go a::after { content: "→"; }

  @media (max-width: 960px) {
    .contents { grid-template-columns: 1fr 1fr; }
    .contents li:nth-child(2) a { border-right: 0; }
    .contents li:nth-child(3) a { padding-left: 0; }
    .contents li:nth-child(n+3) a { border-top: 1px solid var(--line); }
    .feature, .feature.flip { grid-template-columns: minmax(0, 1fr); }
    .feature.flip .collage { order: 0; }
    .spread { grid-template-columns: 1fr; }
    .copy { columns: 1; }
    #file { width: 100vw; height: 100vh; border-radius: 0; }
  }
  @media (max-width: 560px) {
    body { font-size: 16px; }
    .masthead > :nth-child(2) { display: none; }
    .feature .body { columns: 1; }
    .group-head { grid-template-columns: 1fr; } .group-head .num { grid-row: auto; margin-bottom: .1em; }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .name .ch { transform: none; } .deck, .contents a { opacity: 1; }
  }

  /* ---------- a story as a page of its own (bin/project-pages) ---------- */
  #file.page { display: block; position: static; width: min(78rem, 100%); height: auto; margin: 0 auto; overflow: visible; border-radius: 0; box-shadow: none; }
  #fileClose { display: block; text-decoration: none; }
  .onward { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1em; align-items: baseline; margin-top: clamp(28px, 4vw, 48px); padding-top: 14px; border-top: 1px solid var(--ink); font: 500 .72rem/1.4 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
  .onward a { text-decoration: none; } .onward a:hover { text-decoration: underline; }
  .onward .next { text-align: right; } .onward .all { text-align: center; }
