/* angusbuilds.com — page shell styles.
   thijs.net look (warm paper, stacked white cards) adapted per spec §2, with our own
   card-seam treatment (full rounding + alternating tilt) instead of a pixel port of
   thijs's flush-stacked shape() dividers. */

@font-face {
  font-family: 'Fraunces';
  src: url('assets/fonts/fraunces-700-latin.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/inter-variable-latin.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Mono';
  src: url('assets/fonts/spacemono-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Space Mono';
  src: url('assets/fonts/spacemono-700-latin.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ground: #faf9f6;
  --card: #fff;
  --ink: #1f2937;
  --ink-muted: #5b6472;
  --rule: rgba(31, 41, 55, 0.08);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --mono: 'Space Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --nav-h: 74px;
  --radius-card: 24px;
  --shadow-card: 0 1px 2px rgba(31, 41, 55, 0.05), 0 18px 40px -22px rgba(31, 41, 55, 0.28);
}

@media (max-width: 640px) {
  :root {
    --radius-card: 20px;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

.sc-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* First tab stop: hidden until focused, then a pill above the nav. Ten focusable things
   (nav + the five letter buttons) sit before <main> otherwise. */
.sc-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 20;
  padding: 0.6em 1em;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.85rem;
  text-decoration: none;
  transform: translateY(-200%);
  opacity: 0;
}

.sc-skip-link:focus-visible {
  transform: none;
  opacity: 1;
  outline: 3px solid #4e8df6;
  outline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Nav ---------- */

.sc-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  height: var(--nav-h);
  background: #fff;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(16px, 4vw, 48px);
  transition: box-shadow 0.2s ease;
}

.sc-nav.sc-scrolled {
  box-shadow: 0 1px 0 var(--rule);
}

@media (prefers-reduced-motion: reduce) {
  .sc-nav {
    transition: none;
  }
}

.sc-nav__brand {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  color: var(--ink);
}

.sc-nav__replay {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ground);
  border: 1px solid var(--rule);
  cursor: pointer;
  flex: none;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}

.sc-nav__replay svg {
  width: 18px;
  height: 18px;
}

.sc-nav__replay-play {
  /* The play triangle sits dead-centre optically once nudged half a pixel off true centre. */
  margin-left: 2px;
}

/* One control, two faces: play when the opening is collapsed, close while it is open. */
.sc-nav__replay-close,
.sc-nav__replay[aria-expanded="true"] .sc-nav__replay-play {
  display: none;
}

.sc-nav__replay[aria-expanded="true"] .sc-nav__replay-close {
  display: block;
}

.sc-nav__replay:hover {
  background: #f0eee8;
  border-color: rgba(31, 41, 55, 0.18);
}

.sc-nav__replay:active {
  transform: scale(0.92);
  background: #e9e6df;
}

@media (prefers-reduced-motion: reduce) {
  .sc-nav__replay {
    transition: none;
  }
  .sc-nav__replay:active {
    transform: none;
  }
}

.sc-nav__links {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

.sc-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--mono);
  font-size: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.15s ease;
}

.sc-nav__link:hover,
.sc-nav__link:focus-visible {
  color: var(--ink-muted);
}

@media (prefers-reduced-motion: reduce) {
  .sc-nav__link {
    transition: none;
  }
}

.sc-nav__icon {
  width: 15px;
  height: 15px;
  flex: none;
}

/* The X mark stands alone (no word), so it gets a touch more size to hold its own. */
.sc-nav__icon--always {
  width: 17px;
  height: 17px;
}

@media (max-width: 640px) {
  /* Keep the words on phones — a bare glyph is not a label. Smaller, with a real tap area.
     Measured on a 390px viewport: brand + replay + links at their desktop sizes summed wider
     than the nav's own content box, so flexbox space-between had nothing left to distribute —
     brand and the replay button sat flush with a literal 0px gap. Brand and the links both
     shrink here so there's real breathing room again. */
  .sc-nav__brand {
    font-size: 0.92rem;
  }
  .sc-nav__text {
    font-size: 0.78rem;
  }
  .sc-nav__link {
    min-height: 44px;
    padding-inline: 2px;
    gap: 0.35em;
  }
  .sc-nav__links {
    gap: 0.5rem;
  }
  .sc-nav__icon {
    width: 13px;
    height: 13px;
  }
  /* 390px: brand (≈125px) + replay (38) + X (≈30) + contact (≈90) ≈ 283px in a 358px box.
     (With the projects link it overflowed; that link went with the hidden Projects card.) */
  .sc-nav__replay {
    width: 38px;
    height: 38px;
  }
}

/* ---------- Stage + sheet ---------- */

/* The side-gutter rain (stage/rain.mjs): fixed, behind the sheet, never catches the pointer. */
.sc-rain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.sc-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  z-index: 0;
  background: #fff;
  overflow: hidden;
  transition: height 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0s;
}

/* Collapsed on load (thijs.net: the stage is opt-in, the nav button opens it). Zero height and
   hidden so nothing inside can take focus; the sheet sits under the nav instead of over the
   stage. mount.js flips data-sc-open / data-sc-stage-open. */
.sc-stage[data-sc-open="false"] {
  height: 0;
  visibility: hidden;
  transition: height 0.6s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0s linear 0.6s;
}

/* Full viewport height regardless of the stage's own (collapsing) height, so the scene can be
   laid out and start playing while the stage is still sliding open; overflow clips it. */
.sc-stage__canvas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100svh;
}

/* Phones: the composition (windows, word, status) is ~260px tall; a full 844px stage left a
   blank band under the word. 80svh keeps the scene centred and lets the name card peek in. */
@media (max-width: 640px) {
  .sc-stage:not([data-sc-open="false"]),
  .sc-stage__canvas {
    height: 80svh;
  }
}

.sc-stage__letters {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.25rem);
  padding-top: var(--nav-h);
}

.sc-stage__letter {
  /* Positioned over each drawn letter by the stage every frame; invisible until focused. */
  position: absolute;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  opacity: 0;
}
.sc-stage__letter:focus-visible {
  opacity: 1 !important;
  outline: 3px solid #4e8df6;
  outline-offset: 6px;
}

.sc-sheet {
  position: relative;
  z-index: 2;
  margin-top: -64px;
  /* The tilted panels overhang their box by a few px; never let that become a horizontal scroll. */
  overflow-x: clip;
  transition: margin-top 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sc-page[data-sc-stage-open="false"] .sc-sheet {
  margin-top: var(--nav-h);
}

@media (prefers-reduced-motion: reduce) {
  .sc-stage,
  .sc-stage[data-sc-open="false"],
  .sc-sheet {
    transition: none;
  }
}

@media (max-width: 640px) {
  .sc-panel {
    --tilt: 0deg !important;
  }
}

.sc-content {
  max-width: 1152px;
  margin-inline: auto;
  padding-inline: 24px;
}

@media (max-width: 767px) {
  .sc-content {
    padding-inline: 12px;
  }
}

/* ---------- Panels (the big stacked white cards) ---------- */
/* Card seams: own treatment — full rounding + a soft shadow + a 0.6deg alternating tilt.
   The panel carries the tilt; its __inner wrapper carries the opposite rotation so the
   reading content stays level while the card's silhouette reads as a scattered stack. */

.sc-panel {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-block: 20px;
  transform: rotate(var(--tilt, 0deg));
  transition: transform 0.2s ease;
}

.sc-panel:first-of-type {
  margin-top: 0;
}

.sc-panel:nth-of-type(odd) {
  --tilt: -0.6deg;
}

.sc-panel:nth-of-type(even) {
  --tilt: 0.6deg;
}

@media (prefers-reduced-motion: reduce) {
  .sc-panel {
    transition: none;
  }
}

.sc-panel__inner {
  transform: rotate(calc(var(--tilt, 0deg) * -1));
  padding: clamp(24px, 4vw, 44px);
}

/* ---------- Banner ---------- */

.sc-panel--banner {
  overflow: visible;
  padding: 0;
  /* Every panel is its own stacking context (the tilt transform), and later panels paint over
     earlier ones — which cut the overhanging avatar in half. Lift the banner above its neighbour. */
  z-index: 2;
}

.sc-banner {
  /* The name card: sized by its own text, the avatar overhanging the bottom edge like the
     reference. No scene in here any more (owner: "get rid of the bottom part"). */
  --avatar: clamp(220px, 30vw, 420px);   /* ring size; the text keeps clear of it */
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: inherit;
  overflow: visible;
  background: #fff;
  padding: clamp(40px, 6vw, 72px) clamp(20px, 4vw, 44px) clamp(44px, 6vw, 64px);
  /* Tall enough that the raised avatar (32% over the bottom edge) never pokes above the card
     into the nav; the text sits in the vertical middle of whatever height that makes. */
  min-height: calc(var(--avatar) * 0.68 + 40px);
  display: flex;
  align-items: center;
}

.sc-banner__text {
  position: relative;
  max-width: calc(100% - var(--avatar) - 24px);
}

.sc-banner__h1 {
  margin: 0;
  text-transform: uppercase;   /* owner 2026-10-14: "make it say angus all caps" */
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* The name's entrance: each word rises in on its own beat as the banner actually scrolls
   into view — not a fixed-duration fade on page load, which would finish before anyone
   scrolls down far enough to see it (the banner sits a full viewport below the top on
   load). Tied to the native scroll-driven view-timeline, not JS: no listener added, mount.js
   keeps its one scroll clock untouched, and nothing here can throw. Feature-queried, so a
   browser without view-timeline support just renders the words as plain static text —
   never permanently hidden, never dependent on a script running. */
.sc-banner__word {
  display: inline-block;
}

@supports (animation-timeline: view()) {
  .sc-banner__word {
    animation: sc-word-in linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 85%;
  }
  .sc-banner__word:nth-of-type(2) {
    animation-range: entry 15% entry 100%;
  }
}

@keyframes sc-word-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-banner__word {
    animation: none !important;
  }
}

.sc-banner__tagline {
  margin: 0.6em 0 0;
  font-family: var(--mono);
  font-size: 0.85rem;
  color: #666;
}

/* Phones wrap the tagline next to the avatar; break between terms, never inside one
   ("cyber / security" read as two things). */
.sc-banner__tagline span {
  white-space: nowrap;
}

.sc-avatar {
  /* Big. Over a third of the card's width on desktop, hanging more than half over the card's
     bottom edge (owner, 2026-10-10: "bigger and bigger and bigger" past the reference's size). */
  position: absolute;
  right: clamp(16px, 4vw, 40px);
  /* Owner 2026-10-14: "profile image higher up" — about a third over the edge, not more than half. */
  bottom: calc(var(--avatar) * -0.32);
  width: var(--avatar);
  height: var(--avatar);
  z-index: 3;
}

@media (max-width: 640px) {
  /* Narrow cards: a one-line name and a smaller avatar so neither crowds the looping scene. */
  .sc-banner__h1 {
    font-size: 26px;   /* ANGUS DUNCAN in caps stays on one line beside the avatar at 390px */
  }
  .sc-banner__text {
    /* The old `top: 88px` shoved the text down without growing the card (it dated from the
       scene banner), so a two-line tagline spilled under the next card. The card is sized by
       its text now; the avatar overhangs bottom-right, so keep the text clear of it instead. */
    max-width: 100%;
    padding-right: 110px;
  }
  .sc-banner {
    --avatar: 170px;
  }
  .sc-avatar {
    bottom: -44px;
  }
}

.sc-avatar__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: sc-spin 18s linear infinite;
}

@keyframes sc-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sc-avatar__ring {
    animation: none;
  }
}

.sc-avatar__ring-text {
  font-family: var(--mono);
  font-size: 6.5px;                /* viewBox units: ≈13.5px on the 420px ring */
  letter-spacing: 0.08em;
  fill: var(--ink);
}

.sc-avatar__plate,
.sc-avatar__photo {
  position: absolute;
  inset: 11%;                      /* ring text band ~30px at 300px, ~16px at 150px */
  border-radius: 50%;
  background: linear-gradient(135deg, #e3d6be, #cbbb9c);
  border: 3px solid #fff;
  box-shadow: 0 6px 18px rgba(31, 41, 55, 0.2);
  overflow: hidden;
}

.sc-avatar__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* ---------- About ---------- */

.sc-panel--about h2,
.sc-panel--blog h2,
.sc-panel--projects h2 {
  margin: 0 0 0.5em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
}

.sc-about__intro {
  margin: 0 0 1.25em;
  line-height: 1.6;
  /* A readable measure: at 1440px this ran 128 characters a line across the whole card. */
  max-width: 62ch;
}

.sc-timeline {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  margin-bottom: 1.6em;
  font-size: 0.95rem;
}

.sc-timeline__row {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.sc-timeline__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-muted);
  flex: none;
}

.sc-timeline__dot--now {
  background: #3fae6a;
}

.sc-timeline__label {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  flex: none;
  /* The labels form a column (NOW / FOCUS / CHESS) so the rows read as one small table. */
  min-width: 4.6em;
}

.sc-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6em;
}

.sc-pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;                 /* real tap target; padding alone only reached ~37px */
  padding: 0.5em 1em;
  border-radius: 999px;
  background: var(--ground);
  border: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.82rem;
  text-decoration: none;
  color: var(--ink);
}

a.sc-pill {
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

a.sc-pill:hover {
  background: #f0eee8;
  border-color: rgba(31, 41, 55, 0.2);
}

a.sc-pill:active {
  transform: scale(0.97);
}

a.sc-pill:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  a.sc-pill {
    transition: none;
  }
  a.sc-pill:active {
    transform: none;
  }
}

.sc-pill--tbd {
  color: var(--ink-muted);
  font-style: italic;
}

/* ---------- Card intro line (blog/projects) ---------- */

.sc-card__intro {
  margin: 0 0 1.25em;
  color: var(--ink-muted);
}

/* ---------- Project cards (CARDS.md contract) ---------- */

.sc-projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.sc-card {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  color: inherit;
  text-decoration: none;
  container-type: inline-size;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

a.sc-card:hover,
a.sc-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px -18px rgba(31, 41, 55, 0.4);
}

a.sc-card:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .sc-card {
    transition: none;
  }
  a.sc-card:hover,
  a.sc-card:focus-visible {
    transform: none;
  }
}

.sc-card--wide {
  aspect-ratio: 16 / 10;
}

.sc-card__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #e8e4da;
  border-radius: inherit;
}

/* A hairline ring over the media so a light README image (Headroom's is near-white) still
   reads as a card against the white panel instead of floating. */
.sc-card__media::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.07);
  pointer-events: none;
}

.sc-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* The generated plate: a soft gradient seeded from the project id (tools/lib/cards.mjs
   platePalette — same id always gets the same colour, no randomness) plus the project's own
   first letter, drawn huge and faint. No fake screenshot, no invented image — a placeholder
   that's honest about standing in for one, and distinct card to card. */
.sc-card__plate {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    hsl(var(--plate-hue, 38) 44% 89%),
    hsl(var(--plate-hue2, 30) 38% 73%)
  );
  overflow: hidden;
}

.sc-card__plate::after {
  /* The initial is an SVG image set by the build (--plate-glyph): decoration, not text. */
  content: '';
  position: absolute;
  right: 0;
  bottom: -4cqw;
  width: 42cqw;
  height: 42cqw;
  background: var(--plate-glyph) no-repeat right bottom / contain;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.18s ease;
}

a.sc-card:hover .sc-card__plate::after,
a.sc-card:focus-visible .sc-card__plate::after {
  opacity: 1.5;
}

@media (prefers-reduced-motion: reduce) {
  .sc-card__plate::after {
    transition: none;
  }
}

.sc-card__year {
  position: absolute;
  z-index: 1;
  top: 12px;
  left: 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  padding: 0.25em 0.6em;
  border-radius: 999px;
}

.sc-card__star {
  /* Dark amber on a white chip: the bare yellow star measured 1.26:1 on the plate. */
  position: absolute;
  z-index: 1;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  color: #8a5a00;
  font-size: 0.9rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
}

.sc-card__label {
  position: absolute;
  z-index: 1;
  left: 12px;
  right: 12px;
  bottom: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 0.65em 0.85em;
  display: flex;
  flex-direction: column;
  gap: 0.2em;
}

.sc-card__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--ink);
}

.sc-card__sub {
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--ink-muted);
  /* Two lines max: long repo descriptions were pushing the label out of the card on phones. */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- Blog posts (CARDS.md contract) ---------- */

.sc-blog__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.sc-post {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35em;
  min-height: 150px;
  border-radius: 16px;
  padding: 1rem;
  text-decoration: none;
  color: var(--ink);
}

.sc-post--a {
  background: #f9d4d7;
}

.sc-post--b {
  background: #ffe1b8;
}

.sc-post__date {
  font-family: var(--mono);
  font-size: 0.72rem;
  opacity: 0.7;
}

.sc-post__title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
}

.sc-post__excerpt {
  font-family: var(--sans);
  font-size: 0.85rem;
  opacity: 0.85;
}

@media (max-width: 640px) {
  /* Projects stay two-up on phones so the list scans instead of scrolling forever. */
  .sc-projects__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .sc-card--wide {
    grid-column: span 2;
  }
  .sc-card__title {
    font-size: 0.95rem;
  }
  .sc-card__sub {
    font-size: 0.72rem;
  }
  /* Half-width cards are ~170px square here. At desktop padding the label box covered the
     whole card — the year chip was behind it (product-check: "2026 paints no ink") and the
     image was a thin border. Tighter label, smaller title, and no year chip on the small
     cards (every card says 2026; the wide ones still carry it). */
  .sc-card:not(.sc-card--wide) .sc-card__label {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 0.5em 0.7em;
    gap: 0.1em;
  }
  .sc-card:not(.sc-card--wide) .sc-card__title {
    font-size: 0.88rem;
  }
  .sc-card:not(.sc-card--wide) .sc-card__year {
    display: none;
  }
  .sc-blog__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer ---------- */

.sc-footer {
  text-align: center;
  padding: 40px 24px 64px;
  color: var(--ink-muted);
  font-size: 0.8rem;
}

.sc-footer p {
  margin: 0 0 0.6em;
}

