/* SD Babbio Panel, round 07. Every colour is a token here; no colour literal appears below :root. */
:root {
  --red: #A32638;    /* Stevens Red: bars, panels, H2/H3, links, buttons on white */
  --slate: #363D45;  /* Dark Gray: utility bar, footer, event caption panels, all text on white */
  --blue: #004380;   /* Dark Blue: event dates only */
  --gold: #EBC73B;   /* Medium Gold: email tab fill, outer keyline of buttons on red, focus ring on red and slate */
  --white: #FFFFFF;  /* page ground, plate, text on red and slate */
  --line: #E4E5E6;   /* Light Gray: hairlines on red, the resource ground (under 10 % of the screen) */
  --rule: #7F7F7F;   /* Stevens Gray: inner button keyline and 1 px dividers on white; never text */

  --disp: 'Saira Extra Condensed', 'Arial Narrow', Arial, sans-serif;
  --body: 'IBM Plex Sans', Arial, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);

  /* four sizes at 768 px and up; the phone values replace them below 768 px */
  --f-disp: 52px; --l-disp: 57px;   /* H1 in the panel, H2 */
  --f-sub: 30px;  --l-sub: 33px;    /* H3, titles, mission, lead name */
  --f-name: 24px; --l-name: 26px;   /* names under the ten small squares */
  --f-body: 18px; --l-body: 29px;   /* running text; labels, buttons and nav reuse the size in Saira 700 */
  --f-mission-l: 42px;

  --gut: 4.1667%;
  --sec: 60px;      /* section padding, top and bottom */
  --gap: 60px;      /* gap between components */
}

*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0; background: var(--white); color: var(--slate);
  font: 400 var(--f-body)/var(--l-body) var(--body);
}
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; }  /* QA round 07: the menu button's screen-reader label rendered in the UA's Arial */
h1, h2, h3, p, ul, ol, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
a { color: var(--red); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
.on-dark a:focus-visible, .on-dark button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.vh { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: 1800px; margin-inline: auto; padding-inline: var(--gut); }

.skip {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  background: var(--white); color: var(--red); padding: 10px 16px;
  font: 700 var(--f-body)/1 var(--disp); letter-spacing: 1px; text-transform: uppercase;
}
.skip:focus { top: 12px; }
.skip { display: inline-flex; align-items: center; min-height: 44px; }
/* review round 2026-11-19: the ring sits inside the link's white box (red on white 7.26:1); outside it, it vanished on the red phone bar (1.00:1) */
.skip:focus-visible { outline-offset: -6px; }

/* hit areas: standalone text links get 44 px of height without moving the layout; links that stand for a whole item cover it */
.tt { display: inline-block; padding-block: 9px; margin-block: -9px; }
.stretch::after { content: ""; position: absolute; inset: 0; }
.rows > li, .ten > li, .res { position: relative; }

/* labels, buttons, nav: Saira Extra Condensed 700 at the body size, caps by CSS */
.lab { font: 700 var(--f-body)/1.2 var(--disp); letter-spacing: 1px; text-transform: uppercase; }

/* ---------- Header (1200 px and up; 1024 px before the Management of AI tab, 2026-11-19): utility bar, red bar, hanging plate ---------- */
.hd { position: relative; z-index: 20; }
.hd-util { background: var(--slate); height: 60px; }
.hd-main { background: var(--red); height: 60px; }
.hd-util .wrap, .hd-main .wrap { height: 100%; display: flex; align-items: center; }
.hd-util .wrap { justify-content: flex-end; gap: 30px; }
.util-links { display: flex; gap: 30px; }
.util-links a, .ft a {
  color: var(--white); text-decoration: none;
  font: 400 18px/1.2 var(--disp);  /* chrome links stay 18 px on phones: Saira Extra Condensed at 16 px reads too small */
}
.tab {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
  background: var(--gold); color: var(--slate); text-decoration: none;
  font: 600 var(--f-body)/1.2 var(--body);
}
.hd .tab:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
/* the plate (Aleksi, 2026-11-27: "Stevens symbol" and a narrower ribbon, as on stevens.edu): stevens.edu's own header
   pennant, 175 x 222 px with the primary identifier (tower, star, STEVENS, 1870); the white shape is drawn in the SVG,
   the clip-path keeps the link's hit area to that shape */
.plate {
  position: absolute; top: 0; left: var(--gut); z-index: 30;
  width: 175px; height: 222px;
  clip-path: polygon(0 0, 100% 0, 100% 165px, 50% 100%, 0 165px);
}
.plate img { display: block; width: 175px; height: 222px; }
.plate:focus-visible { outline: none; }
.plate:focus-visible img { outline: 2px solid var(--red); outline-offset: -6px; }
.hd-main .wrap { padding-left: calc(var(--gut) + 175px + 34px); justify-content: space-between; }
.labname { color: var(--white); text-decoration: none; font: 700 var(--f-sub)/1 var(--disp); white-space: nowrap; }
.nav { display: flex; gap: 40px; }
.nav a, .stk-nav a {
  position: relative; display: inline-flex; align-items: center; height: 60px;
  color: var(--white); text-decoration: none; white-space: nowrap;
}
.nav a::after, .stk-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 10px; height: 4px;
  background: var(--white); opacity: 0;
}
.stk-nav a[aria-current]::after { opacity: 1; }
/* cert tab 2026-11-19: the current page keeps the 4 px white bar in the red bar too (interior pages); in the phone menu
   the same 4 px bar is an underline, and in the footer a 2 px underline */
.nav a[aria-current="page"]::after { opacity: 1; }
.dr-top a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }
.ft a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hd-phone, .drawer { display: none; }

/* sticky bar (1200 px and up, after the header leaves the screen) */
.stk {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40; height: 60px;
  background: var(--red); transform: translateY(-100%); visibility: hidden;
}
.stk .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.stk-right { display: flex; align-items: center; gap: 40px; }
.stk-nav { display: flex; gap: 40px; }
.stk.on { visibility: visible; transform: none; transition: transform 200ms var(--ease); }
[data-motion="reduced"] .stk { transform: none; opacity: 0; }
[data-motion="reduced"] .stk.on { opacity: 1; transition: opacity 200ms linear; }
[data-motion="still"] .stk.on { transition: none; }

/* ---------- Buttons: square, 3 px outer keyline, 2 px inner keyline inset 6 px ---------- */
.btn {
  --bo: var(--red); --bi: var(--rule); --bt: var(--red);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  min-width: 200px; min-height: 60px; padding: 10px 32px;
  border: 3px solid var(--bo); color: var(--bt); background: none; text-decoration: none; text-align: center;
  font: 700 var(--f-body)/1.2 var(--disp); letter-spacing: 1px; text-transform: uppercase;
}
.btn::before { content: ""; position: absolute; inset: 3px; border: 2px solid var(--bi); pointer-events: none; }
.btn::after { content: ""; position: absolute; inset: -3px; border: 8px solid var(--bo); opacity: 0; pointer-events: none; }
.on-dark .btn { --bo: var(--gold); --bi: var(--white); --bt: var(--white); }
.btn:focus-visible::after { opacity: 1; }

/* ---------- Hero: Babbio atrium, red panel overlapping its lower left ---------- */
/* polish round 07: photo 540 px at 1440 (was 580) and the panel's overlap 281 px (was 300; at most 300 so the panel still overhangs at 1920), so the email button clears a 1280 x 720 first screen */
.hero-photo { height: clamp(300px, 37.5vw, 680px); overflow: hidden; background: var(--slate); }
.hero-photo img, .close-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo img { object-position: 50% 40%; }
/* one grid for the page: four columns, 60 px apart (285 px at 1440); halves are two of them */
.hero-row { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); align-items: start; }
.panel { position: relative; z-index: 2; background: var(--red); color: var(--white); padding: 40px 50px 44px; }
.hero-panel { margin-top: calc(-1 * clamp(160px, 19.5vw, 300px)); }
.panel h1, .panel h2 { font: 400 var(--f-disp)/var(--l-disp) var(--disp); color: var(--white); text-wrap: balance; }
/* polish round 07: the lab name is the H1 at the display size, in 700 as names are set; site-v1's sentence follows at the sub-heading size */
.hero-panel h1 { font-weight: 700; }
.h1-line { margin-top: 10px; font: 400 var(--f-sub)/var(--l-sub) var(--disp); text-wrap: balance; }
.panel .sub, .lede, .ws-sum, .t-line, .t-place, .row-who, .res-line, .lead-title, .p-title { text-wrap: pretty; }
.panel .sub, .ft-p { text-wrap: balance; }
.mission { text-wrap: pretty; }
.nw { white-space: nowrap; }
.panel .sub { margin-top: 20px; }
.panel .act { margin-top: 30px; }
.panel .addr { margin-top: 20px; }
.panel a:not(.btn) { color: var(--white); }
.mission { padding-top: var(--gap); font: 400 var(--f-sub)/var(--f-mission-l) var(--body); max-width: 33em; }
.js .hero-panel { opacity: 0; }
[data-motion="full"] .hero-panel { transform: translateY(8px); }
.hero-panel.in { opacity: 1; transform: none; transition: opacity 400ms var(--ease), transform 400ms var(--ease); }
[data-motion="still"] .hero-panel { opacity: 1; transform: none; transition: none; }

/* ---------- Sections ---------- */
.sec { padding-block: var(--sec); }
.sec-grid { display: grid; grid-template-columns: 1fr auto; column-gap: var(--gap); align-items: end; }
.sec-head { grid-column: 1; }
.sec-go { grid-column: 2; grid-row: 1; align-self: end; }
.sec-body { grid-column: 1 / -1; margin-top: var(--gap); }
h2.h2 { font: 400 var(--f-disp)/var(--l-disp) var(--disp); color: var(--red); }
.lede { margin-top: 20px; max-width: 65ch; }
.h3 { font: 400 var(--f-sub)/var(--l-sub) var(--disp); color: var(--red); }
.h3 a, .row-title a, .t-title a { text-decoration: none; }

/* Training and workshops: a stacked list, title and audience left, summary and actions right */
.ws-list > li {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap);
  padding-block: 40px; border-top: 1px solid var(--rule);
}
.ws-list > li:last-child { border-bottom: 1px solid var(--rule); }
.ws-for { margin-top: 10px; }
.ws-sum { max-width: 65ch; }
.ws-acts { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 20px; }

/* Events: two picture tiles with a red caption panel over the lower left, then a static list */
.tiles { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
.tile-pic { aspect-ratio: 16 / 9; overflow: hidden; background: var(--line); }
.tile-pic img { width: 100%; height: 100%; object-fit: cover; }
.tile-cap {
  position: relative; z-index: 1; width: 86%; margin-top: -10.5%;  /* of the tile width: 66 px at 1440, clear of the text baked into the hackathon graphic */
  background: var(--slate); color: var(--white); padding: 26px 30px 30px;  /* polish round 07: slate, so the caption never sits red on the hackathon graphic's own red; red panels stay for the hero and Contact */
  border: solid var(--white); border-width: 6px 6px 0 0;  /* a white cut where the panel meets the picture */
}
.cap-meta { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 4px; }
.t-title { margin-top: 12px; font: 400 var(--f-sub)/var(--l-sub) var(--disp); }
.t-title a { color: var(--white); }
.t-line { margin-top: 12px; }
.t-place { margin-top: 20px; max-width: 86%; }
.t-go { margin-top: 10px; }
/* the list's heading row: heading left, its own "All events" button right (Aleksi, 2026-11-27); the button wraps under on narrow screens */
.ev-subhead { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px var(--gap); margin-top: calc(var(--gap) * 1.5); }
.rows { margin-top: 30px; border-top: 1px solid var(--slate); }
.rows > li {
  display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--gap);
  padding-block: 20px 22px; border-bottom: 1px solid var(--slate);
}
.row-body { grid-column: 2 / -1; }
.row-date { color: var(--blue); }
.row-kind { margin-top: 4px; }
.row-title { font: 400 var(--f-sub)/var(--l-sub) var(--disp); }
.row-who { margin-top: 4px; max-width: 65ch; }

/* People: the director at double size, the ten in two rows of five plain squares */
.ppl { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--gap); align-items: start; }
.ten { grid-column: 2 / -1; }
.lead img { width: 100%; height: auto; aspect-ratio: 1; }
.lead-role { margin-top: 20px; }
.lead .h3 { margin-top: 8px; font-weight: 700; }
.lead-title { margin-top: 8px; }
.lead-mail { display: inline-block; margin-top: 8px; }
.ten { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px 30px; }
.ten img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.p-name { margin-top: 14px; font: 700 var(--f-name)/var(--l-name) var(--disp); }
.p-title { margin-top: 6px; }

/* Resources: the book-launch card on a small Light Gray ground */
.res { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--gap); align-items: start; }
.res > div:last-child { grid-column: 2 / span 2; }
.res-ground { background: var(--line); padding: 40px; }
.res-ground img { width: 100%; height: auto; }
.res-kind { margin-top: 2px; }
.res .h3 { margin-top: 12px; max-width: 24em; }
.res-line { margin-top: 12px; max-width: 65ch; }
.res-date { margin-top: 12px; }

/* Contact: the hero composition again over the Babbio plaza */
.close { padding-top: var(--sec); }
.close-photo { height: clamp(300px, 40.3vw, 726px); overflow: hidden; background: var(--slate); }
.close-photo img { object-position: 50% 60%; }
.close-panel { width: calc((100% - var(--gap)) / 2); margin-top: calc(-1 * clamp(160px, 27vw, 480px)); }
.close-panel .lede { margin-top: 20px; }
.close-panel address { margin-top: 30px; }
.close-panel .map { margin-top: 10px; }

/* ---------- Footer: slate band, peak at the plate's x ---------- */
.ft { position: relative; margin-top: 130px; background: var(--slate); color: var(--white); }
.ft::before {
  content: ""; position: absolute; left: var(--gut); top: -56px; width: 175px; height: 57px;  /* the plate's width and tip */
  background: var(--slate); clip-path: polygon(0 100%, 50% 0, 100% 100%);
}
.ft-in { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: var(--gap); padding-block: 0 60px; }
.ft-mark { padding: 34px 33.25px 0; }
.ft-mark img { width: 187.5px; height: 50px; }
.ft-mark a { display: block; width: 187.5px; }
.ft-addr { margin-top: 34px; font: 400 18px/1.5 var(--disp); }
.ft-cols { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(3, 1fr); column-gap: var(--gap); padding-top: 34px; }
.ft-h { font: 700 18px/1.5 var(--disp); }
.ft-p { font: 400 18px/1.5 var(--disp); }
.ft-links li + li { margin-top: 6px; }
.ft-links a { display: inline-block; padding-block: 2px; }

/* ---------- Hover, fine pointers only ---------- */
@media (hover: hover) and (pointer: fine) {
  .btn::after { transition: opacity 150ms var(--ease); }
  .btn:hover::after { opacity: 1; }
  .nav a:hover::after, .stk-nav a:hover::after { opacity: 1; }
  .util-links a:hover, .ft a:hover, .h3 a:hover, .labname:hover,
  .rows > li:hover .row-title a, .tile-cap:hover .t-title a { text-decoration: underline; text-underline-offset: 3px; }
  .ten > li:hover .p-name a { text-decoration-thickness: 2px; }
  .tab:hover { background: var(--white); }
}

/* QA round 07: from 1200 px (1024 px before the cert tab) the 60 px fixed bar covers the top of a section reached by an in-page link; keep the heading clear of it */
@media (min-width: 1200px) {
  html { scroll-padding-top: 60px; }
}

/* ---------- 1200 to 1319 px: the lab name leaves the red bar and the fixed bar (it stays in the page) ---------- */
/* cert tab 2026-11-19: six menu items need the lab name's room below 1320 px (was below 1200 px). The event links left the utility bar, so the two
   Stevens links now fit beside the tab at every desktop width; the rule that hid them below 1320 px (".util-stevens { display: none; }") is gone. */
@media (max-width: 1319px) {
  .hd-main .labname, .stk .labname { display: none; }
  .hd-main .wrap, .stk .wrap { justify-content: flex-end; }
}
/* 1024 to 1199 px: one column for the hero and people */
@media (max-width: 1199px) {
  .hero-row { grid-template-columns: 1fr; }
  .hero-panel { width: min(75%, 680px); }
  .mission { max-width: 32em; }
  .ppl { grid-template-columns: 1fr; row-gap: 50px; }
  .ten { grid-column: 1; }
  .lead { display: grid; grid-template-columns: 240px 1fr; column-gap: var(--gap); align-items: start; }
  .lead > div { grid-column: 2; }
  .res { grid-template-columns: 240px 1fr; }
  .lead-role { margin-top: 0; }
  .close-panel { width: min(75%, 680px); }
  .res > div:last-child { grid-column: 2; }
}

/* ---------- Under 1200 px: one red bar with the negative wordmark and the menu ---------- */
/* cert tab 2026-11-19: was under 1024 px; with six items the red bar's menu fits on one row only from about 1093 px (1200 keeps a margin and reuses the page's 1199 px step) */
@media (max-width: 1199px) {
  .hd-util, .hd-main, .plate, .stk { display: none; }
  .hd-phone { display: flex; align-items: center; justify-content: space-between; height: 117px; background: var(--red); }
  .hd-phone .wm { display: block; width: 187.5px; height: 50px; }
  .hd-phone .wm img { width: 187.5px; height: 50px; }
  .menu-btn {
    position: relative; width: 50px; height: 50px; margin-right: -13px;
    background: var(--red); border: 0; padding: 0; cursor: pointer; color: var(--white);
  }
  .menu-btn i { position: absolute; left: 13px; width: 24px; height: 2px; background: var(--white); }
  .menu-btn i:nth-child(1) { top: 17px; } .menu-btn i:nth-child(2) { top: 24px; } .menu-btn i:nth-child(3) { top: 31px; }
  .menu-btn[aria-expanded="true"] i:nth-child(1) { top: 24px; transform: rotate(45deg); }
  .menu-btn[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] i:nth-child(3) { top: 24px; transform: rotate(-45deg); }
  .drawer { display: block; position: absolute; left: 0; right: 0; top: 117px; z-index: 40; }
  .js .drawer[hidden] { display: none; }
  .dr-top { background: var(--red); }
  .dr-top li { border-top: 1px solid var(--line); }
  .dr-top a, .dr-low a {
    display: flex; align-items: center; min-height: 54px; color: var(--white); text-decoration: none;
  }
  .dr-top a { font: 700 24px/1.1 var(--disp); text-transform: uppercase; letter-spacing: 1px; }
  .dr-low { background: var(--slate); padding-block: 10px 20px; }
  .dr-low a { min-height: 48px; font: 400 var(--f-body)/1.3 var(--body); }
}

/* ---------- Under 1024 px: the footer stacks ---------- */
@media (max-width: 1023px) {
  .ft-in { grid-template-columns: 1fr; }
  .ft-cols { grid-column: auto; }
  .ft-cols { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .ft-cols > :first-child { grid-column: 1 / -1; }
}

/* ---------- 768 to 1023 px ---------- */
@media (max-width: 1023px) and (min-width: 768px) {
  .tiles { column-gap: 40px; }
  .tile-cap { width: 92%; }
  .ten { grid-template-columns: repeat(5, 1fr); column-gap: 20px; }
  .ten .p-title { font-size: 16px; line-height: 26px; }
}

/* ---------- Phones (under 768 px): phone sizes, 6.25 % gutter ---------- */
@media (max-width: 767px) {
  :root {
    --f-disp: 34px; --l-disp: 37px;
    --f-sub: 24px; --l-sub: 26px;
    --f-name: 24px; --l-name: 26px;
    --f-body: 16px; --l-body: 26px;
    --f-mission-l: 34px;
    --gut: 6.25%;
    --sec: 40px; --gap: 40px;
  }
  .hero-photo, .close-photo { height: auto; aspect-ratio: 16 / 9; }
  /* polish round 07: full width on phones, edge to edge, as the log's SD section sets it (was left edge to right gutter) */
  .hero-panel, .close-panel { width: auto; margin-top: -40px; margin-inline: calc(-1 * var(--gut) / (1 - 2 * 0.0625)); padding: 26px calc(var(--gut) / (1 - 2 * 0.0625)) 30px; }  /* text on the page gutter */
  .hero-row { grid-template-columns: 1fr; }
  .panel .sub { margin-top: 14px; }
  .panel .act { margin-top: 24px; }
  .panel .addr { margin-top: 14px; }
  .btn { display: flex; width: 100%; min-width: 0; padding: 10px 16px; }
  .mission { max-width: none; }
  .sec-grid { grid-template-columns: 1fr; }
  .sec-go { grid-column: 1; grid-row: 3; margin-top: var(--gap); }
  .sec-body { grid-row: 2; }
  .ws-list > li { grid-template-columns: 1fr; padding-block: 30px; }
  .ws-sum { margin-top: 14px; }
  .ws-acts { margin-top: 20px; gap: 14px; }
  .tiles { grid-template-columns: 1fr; row-gap: 40px; }
  .tile-cap { width: auto; margin-right: 24px; padding: 20px 20px 24px; }
  .t-place { max-width: none; }
  .rows > li { grid-template-columns: 1fr; padding-block: 16px 18px; }
  .row-meta { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; }
  .row-kind { margin-top: 0; }
  .row-body { grid-column: auto; margin-top: 6px; }
  .ppl { grid-template-columns: 1fr; row-gap: 40px; }
  .lead { display: block; }
  .lead img { width: 200px; height: 200px; }
  .lead-role { margin-top: 16px; }
  .ten { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .p-name { margin-top: 10px; }
  .res { grid-template-columns: 1fr; row-gap: 24px; }
  .res > div:last-child { grid-column: auto; }
  .res-ground { width: 170px; padding: 20px; }
  .res-ground img { width: 130px; height: 130px; }
  .ft { margin-top: 110px; }
  .ft-links li + li { margin-top: 0; }
  .ft-links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; }
  .ft-cols { grid-template-columns: 1fr; }
  .ft-cols > :first-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .btn::after { transition: opacity 150ms linear; }
}
