/* ==========================================================================
   Blanket Party — a hip-hop noir from the Bronx
   Site stylesheet · 2026 refresh of a 2003 archive
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  color-scheme: dark;

  --bg: #0a0a0c;
  --bg-2: #101014;
  --surface: #15151a;
  --surface-2: #1b1b22;

  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(255, 255, 255, 0.20);

  --text: #ecebe6;
  --muted: #b6b3ad;
  --faint: #928f8a;

  --accent: #b32b2b;
  --accent-hover: #cf3a3a;
  --accent-soft: #e98a86;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
    Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  --wrap: 1140px;
  --gut: clamp(1.1rem, 4vw, 2.5rem);
  --radius: 4px;

  --step: clamp(3.5rem, 8vw, 6.5rem);
  --shadow: 0 24px 60px -30px rgba(0, 0, 0, 0.9);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(179, 43, 43, 0.10), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img {
  height: auto;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  color: #fff;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.25;
}

h4 {
  font-size: 1.05rem;
  line-height: 1.3;
}

p {
  margin: 0 0 1.15em;
  text-wrap: pretty;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(233, 138, 134, 0.5);
  text-underline-offset: 0.22em;
}

a:hover {
  color: #fff;
  text-decoration-color: var(--accent-soft);
}

.brand,
.site-nav a,
.footer-col a,
.footer-bottom a,
.btn,
.card,
.board-card,
.pager a,
.link-arrow,
.crumbs a,
.skip-link {
  text-decoration: none;
}

ul,
ol {
  margin: 0 0 1.15em;
  padding-left: 1.25em;
}

li + li {
  margin-top: 0.4em;
}

strong,
b {
  color: #fff;
  font-weight: 600;
}

blockquote {
  margin: 0;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* ---------- helpers ---------- */
.wrap {
  width: min(var(--wrap), 100% - (var(--gut) * 2));
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 1rem;
  color: #fff;
}

.eyebrow {
  display: block;
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--muted);
  max-width: 62ch;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
}

.prose {
  max-width: 68ch;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose h2 {
  margin-top: 2.6rem;
}

.prose h3 {
  margin-top: 2rem;
}

.prose a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(233, 138, 134, 0.75);
  text-decoration-thickness: 1px;
}

.prose a:hover {
  text-decoration-color: var(--accent-soft);
  color: var(--accent-soft);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.8rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease,
    color 0.18s ease, transform 0.18s ease;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--accent-hover);
  color: #fff;
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: transparent;
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  border-color: var(--accent-soft);
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
}

.btn__arrow {
  font-size: 1.05em;
  transform: translateY(-1px);
}

.link-arrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.link-arrow::after {
  content: " →";
  transition: margin-left 0.15s ease;
}

.link-arrow:hover::after {
  margin-left: 0.35em;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 12, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding-block: 0.95rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}

.brand__mark {
  color: var(--accent);
  letter-spacing: 0;
}

.brand:hover {
  color: #fff;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem 1.35rem;
}

.site-nav a {
  position: relative;
  padding: 0.25rem 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: #fff;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.site-nav .nav-press {
  color: var(--accent-soft);
}

/* ---------- breadcrumbs ---------- */
.crumbs {
  padding-top: 1.6rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.crumbs li {
  margin: 0;
}

.crumbs li + li::before {
  content: "/";
  margin-right: 0.45rem;
  color: var(--line-strong);
}

.crumbs a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: transparent;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.crumbs a:hover {
  color: #fff;
  text-decoration-color: var(--accent);
}

.crumbs [aria-current="page"] {
  color: #fff;
}

/* ---------- hero ---------- */
.hero {
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2.5rem, 6vw, 5rem);
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.hero h1 {
  margin-bottom: 0.35rem;
  font-size: clamp(2.8rem, 7.5vw, 5.2rem);
  letter-spacing: -0.03em;
}

.hero__logline {
  margin: 0 0 1.2rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.65rem);
  font-style: italic;
  line-height: 1.35;
  color: var(--accent-soft);
  max-width: 30ch;
}

.hero__body {
  max-width: 48ch;
  color: var(--muted);
}

.hero__body strong {
  color: var(--text);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.hero__note {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: var(--faint);
}

.hero__note a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}

.hero__note a:hover {
  color: #fff;
  text-decoration-color: var(--accent);
}

.poster {
  position: relative;
  margin: 0;
}

.poster::before {
  content: "";
  position: absolute;
  inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  border: 1px solid rgba(179, 43, 43, 0.55);
  border-radius: 2px;
  z-index: 0;
}

.poster img {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: 2px;
  box-shadow: var(--shadow);
}

.poster figcaption {
  position: relative;
  z-index: 1;
  margin-top: 1.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- award strip ---------- */
.credits-strip {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent);
}

.credits-strip ul {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
}

.credits-strip li {
  margin: 0;
  padding: 1.35rem 1.1rem;
  background: var(--bg);
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.credits-strip b {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #fff;
}

/* ---------- sections ---------- */
.section {
  padding-block: var(--step);
}

.section--tight {
  padding-block: clamp(2.2rem, 5vw, 3.6rem);
}

.section--alt {
  background: linear-gradient(180deg, var(--bg-2), var(--bg));
  border-block: 1px solid var(--line);
}

.section__head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-bottom: clamp(1.8rem, 4vw, 2.8rem);
}

.section__head h2 {
  margin-bottom: 0;
}

.section__head p {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.section__more {
  margin: 2rem 0 0;
}

/* ---------- definition card ---------- */
.def-card {
  position: relative;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.def-card img {
  width: 100%;
  border-radius: 2px;
  margin-bottom: 1.35rem;
}

.def-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.def-card p {
  font-size: 0.92rem;
  color: var(--muted);
}

.def-card .link-arrow {
  margin-top: 1rem;
}

.def-term {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

/* ---------- storyboard grid ---------- */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(0.75rem, 1.6vw, 1.15rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.board-grid li {
  margin: 0;
}

.board-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.18s ease, transform 0.18s ease,
    background-color 0.18s ease;
}

.board-card:hover,
.board-card:focus-visible {
  border-color: rgba(233, 138, 134, 0.55);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.board-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 190px;
  padding: 0.65rem;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)),
    #0c0c0f;
}

.board-card__media img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) contrast(1.03);
}

.board-card__media--empty {
  color: var(--faint);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px dashed var(--line);
}

.board-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 0.95rem 1rem;
}

.board-card__num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--accent-soft);
}

.board-card__title {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.25;
  color: #fff;
}

/* ---------- frame detail ---------- */
.frame {
  margin: 0 auto;
  max-width: 720px;
  text-align: center;
}

.frame img {
  width: auto;
  max-width: 100%;
  margin-inline: auto;
  border: 1px solid var(--line);
  background: #0c0c0f;
  box-shadow: var(--shadow);
}

.frame figcaption {
  margin-top: 1rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--faint);
}

.frame-note {
  max-width: 62ch;
  margin: 2rem auto 0;
  color: var(--muted);
}

.frame-note--missing {
  padding: 1.2rem 1.4rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  font-size: 0.95rem;
}

.frame-placeholder {
  display: grid;
  gap: 0.4rem;
  max-width: 560px;
  margin-inline: auto;
  padding: clamp(2.5rem, 7vw, 4rem) 1.5rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0 12px, transparent 12px 24px),
    var(--surface);
  color: var(--faint);
}

.frame-placeholder p {
  margin: 0;
  font-size: 0.95rem;
}

.frame-placeholder p:first-child {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-soft);
}

.pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  padding-top: clamp(1.5rem, 3vw, 2rem);
}

.pager a {
  display: block;
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.pager a:hover,
.pager a:focus-visible {
  border-color: rgba(233, 138, 134, 0.55);
  background: var(--surface-2);
}

.pager__label {
  display: block;
  margin-bottom: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

.pager__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: #fff;
}

.pager__next {
  text-align: right;
  grid-column: 2;
}

.pager__next .pager__label::after {
  content: " →";
}

.pager__prev .pager__label::before {
  content: "← ";
}

/* ---------- cards ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.card h3 {
  margin-bottom: 0.45rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--muted);
}

.card .link-arrow {
  margin-top: auto;
  padding-top: 1.1rem;
}

.card--feature {
  padding: 0;
  overflow: hidden;
}

.card--feature img {
  width: 100%;
  border-bottom: 1px solid var(--line);
}

.card--feature .card__body {
  padding: 1.5rem;
}

.quote {
  position: relative;
  max-width: 46ch;
  padding-left: 1.6rem;
  border-left: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
}

.quote footer {
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- facts / resume ---------- */
.facts {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0.75rem 2rem;
  margin: 0;
  padding: 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.95rem;
}

.facts dt {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  padding-top: 0.2rem;
}

.facts dd {
  margin: 0;
  color: var(--muted);
}

.facts dd strong {
  color: #fff;
}

.resume-section + .resume-section {
  margin-top: 2.6rem;
}

.resume-section h2 {
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--line);
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.resume-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.resume-list > li {
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.resume-list > li:last-child {
  border-bottom: 0;
}

.resume-list .role {
  color: #fff;
  font-weight: 600;
}

.resume-list .meta {
  display: block;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--faint);
}

.resume-list ul {
  margin: 0.55rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.resume-list ul li {
  margin-bottom: 0.3rem;
}

/* ---------- FAQ ---------- */
details.faq {
  border-bottom: 1px solid var(--line);
}

details.faq summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.35;
  color: #fff;
  list-style: none;
}

details.faq summary::-webkit-details-marker {
  display: none;
}

details.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1;
  color: var(--accent-soft);
  transition: transform 0.18s ease;
}

details.faq[open] summary::after {
  content: "–";
}

details.faq summary:hover {
  color: var(--accent-soft);
}

.faq__answer {
  padding: 0 0 1.3rem;
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.96rem;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

/* ---------- callout ---------- */
.callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  background:
    linear-gradient(115deg, rgba(179, 43, 43, 0.16), transparent 55%),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.callout h2 {
  margin-bottom: 0.35rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.callout p {
  margin: 0;
  max-width: 52ch;
  color: var(--muted);
}

/* ---------- footer ---------- */
.site-footer {
  margin-top: var(--step);
  padding-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-bottom: 2rem;
  border-top: 1px solid var(--line);
  background: var(--bg-2);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.footer-brand p {
  max-width: 34ch;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-col h2 {
  margin: 0 0 0.9rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
}

.footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-col li {
  margin: 0 0 0.5rem;
}

.footer-col a {
  font-size: 0.92rem;
  color: var(--muted);
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: 0.78rem;
  color: var(--faint);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--muted);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}

.footer-bottom a:hover {
  color: #fff;
  text-decoration-color: var(--accent);
}

/* ---------- 404 ---------- */
.notfound {
  min-height: 52vh;
  display: grid;
  place-content: center;
  padding-block: var(--step);
  text-align: center;
}

.notfound h1 {
  margin-bottom: 0.4rem;
}

.notfound p {
  margin-inline: auto;
  max-width: 46ch;
  color: var(--muted);
}

.notfound .hero__actions {
  justify-content: center;
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero__grid,
  .split {
    grid-template-columns: minmax(0, 1fr);
  }

  .poster {
    order: -1;
    max-width: 620px;
  }

  .credits-strip ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 1rem;
  }

  .site-header__inner {
    padding-block: 0.8rem;
  }

  .site-nav {
    gap: 0.35rem 1rem;
    width: 100%;
  }

  .site-nav a {
    font-size: 0.73rem;
    letter-spacing: 0.1em;
  }

  .frame {
    text-align: left;
  }

  .pager {
    grid-template-columns: 1fr;
  }

  .pager__next {
    grid-column: 1;
    text-align: left;
  }

  .facts {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .facts dd {
    margin-bottom: 0.8rem;
  }

  .board-grid {
    grid-template-columns: repeat(auto-fill, minmax(145px, 1fr));
  }

  .board-card__media {
    height: 150px;
  }

  .callout {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .credits-strip ul {
    grid-template-columns: 1fr;
  }

  .hero__actions .btn {
    width: 100%;
    justify-content: center;
  }

  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
    color: #111;
    font-size: 11pt;
  }

  .site-header,
  .site-footer,
  .crumbs,
  .hero__actions,
  .pager,
  .skip-link,
  .callout .btn {
    display: none !important;
  }

  h1,
  h2,
  h3,
  strong,
  b,
  .resume-list .role {
    color: #000;
  }

  .resume-list .meta,
  .prose p,
  .prose li {
    color: #333;
  }

  a {
    color: #000;
  }

  .section {
    padding-block: 1rem;
  }
}

/* ---------- utilities ---------- */
.mt-1 { margin-top: 1.2rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 1.6rem; }
.mt-sm { margin-top: 0.8rem; }
.mb-2 { margin-bottom: 2rem; }

.prose--wide {
  max-width: 78ch;
}

.board-grid--wide {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.board-grid--wide .board-card__media {
  height: 210px;
}

.card-grid--single {
  grid-template-columns: 1fr;
}

.frame--flush {
  margin: 0;
}

.def-term {
  margin-bottom: 0.35rem;
}

.board-grid--preview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.board-grid--preview .board-card__media {
  height: 230px;
}

.board-card__num {
  text-transform: uppercase;
}

@media (max-width: 760px) {
  .board-grid--preview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.board-grid--all {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.board-grid--all .board-card__media {
  height: 200px;
}

@media (max-width: 980px) {
  .board-grid--all {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .board-grid--all {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- polish ---------- */
html {
  overflow-x: clip;
}

.pager__prev .pager__label::before,
.pager__next .pager__label::after {
  content: "";
  display: inline-block;
  width: 0.4em;
  height: 0.4em;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  vertical-align: 0.08em;
}

.pager__prev .pager__label::before {
  transform: rotate(45deg);
  margin-right: 0.6em;
}

.pager__next .pager__label::after {
  transform: rotate(-135deg);
  margin-left: 0.6em;
}



.faq-list {
  max-width: 860px;
}
