/* ==========================================================================
   Phill Rawlins Online - shared stylesheet
   A modern, responsive styling layer for a 2003 Manchester aviation and
   transport photography archive. Plain CSS, no build step, no dependencies.
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  /* Palette: deep aviation navy with a warm signal-amber accent. */
  --c-ink:            #10161f;
  --c-ink-soft:       #2c3648;
  --c-body:           #3d4757;
  --c-muted:          #6b7686;
  --c-line:           #e2e7ee;
  --c-line-strong:    #ccd4e0;
  --c-surface:        #ffffff;
  --c-surface-alt:    #f5f7fa;
  --c-surface-sunk:   #eceff4;

  --c-brand:          #14385f;
  --c-brand-dark:     #0d2743;
  --c-brand-mid:      #1d5b93;
  --c-brand-light:    #e8f0f8;

  --c-accent:         #c8722a;
  --c-accent-soft:    #fdf3e8;

  --c-focus:          #1d5b93;

  /* Type scale (fluid between mobile and desktop). */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans",
               sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --step--1: clamp(0.8125rem, 0.79rem + 0.11vw, 0.875rem);
  --step-0:  clamp(1rem, 0.97rem + 0.14vw, 1.0625rem);
  --step-1:  clamp(1.125rem, 1.07rem + 0.28vw, 1.3125rem);
  --step-2:  clamp(1.375rem, 1.26rem + 0.57vw, 1.6875rem);
  --step-3:  clamp(1.625rem, 1.42rem + 1.02vw, 2.25rem);
  --step-4:  clamp(1.9375rem, 1.6rem + 1.7vw, 3rem);

  /* Spacing + shape. */
  --wrap:     68rem;   /* 1088px content column, always centred */
  --wrap-narrow: 48rem;
  --gap:      clamp(1rem, 0.6rem + 1.6vw, 2rem);
  --radius:   10px;
  --radius-lg:16px;
  --shadow-sm: 0 1px 2px rgba(16, 22, 31, 0.06),
               0 1px 3px rgba(16, 22, 31, 0.06);
  --shadow-md: 0 4px 12px rgba(16, 22, 31, 0.08),
               0 2px 4px rgba(16, 22, 31, 0.05);
  --shadow-lg: 0 18px 40px rgba(16, 22, 31, 0.18);
  --header-h: 4.25rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--c-body);
  background: var(--c-surface-alt);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  color: var(--c-ink);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-2); margin-top: 1.9em; }
h3 { font-size: var(--step-1); margin-top: 1.6em; }
h4 { font-size: var(--step-0); margin-top: 1.4em; }

p { margin: 0 0 1.1em; }

a {
  color: var(--c-brand-mid);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: var(--c-brand-dark); }

img {
  max-width: 100%;
  height: auto;
  border: 0;
}

ul, ol { padding-left: 1.35em; }
li { margin-bottom: 0.4em; }

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

blockquote {
  margin: 1.6rem 0;
  padding: 0.2rem 0 0.2rem 1.25rem;
  border-left: 3px solid var(--c-accent);
  color: var(--c-ink-soft);
  font-size: var(--step-1);
}

code, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }

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

/* ------------------------------------------------------------ utilities -- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 0.5rem + 2.2vw, 2rem);
}

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

.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -120%);
  z-index: 200;
  background: var(--c-brand-dark);
  color: #fff;
  padding: 0.65rem 1.2rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.lede {
  font-size: var(--step-1);
  color: var(--c-ink-soft);
  max-width: 60ch;
}

.muted { color: var(--c-muted); }
.small { font-size: var(--step--1); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

/* --------------------------------------------------------------- header -- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-brand-dark);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 0.5rem + 2.2vw, 2rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #fff;
  padding-block: 0.5rem;
  flex: 0 1 auto;
  min-width: 0;
}
.brand:hover { color: #fff; }

.brand__mark {
  display: block;
  width: 176px;
  height: auto;
  border-radius: 4px;
  flex: 0 0 auto;
}

.brand__text { display: none; }

@media (min-width: 40em) {
  .brand__mark { width: 230px; }
}

@media (min-width: 62em) {
  .brand__mark { width: 300px; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius);
  padding: 0.5rem 0.8rem;
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-toggle:hover { background: rgba(255, 255, 255, 0.18); }
.nav-toggle__bars {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  position: relative;
}
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 16px;
  height: 2px;
  background: currentColor;
}
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }

@media (min-width: 62em) {
  .nav-toggle { display: none; }
}

.site-nav { display: none; }
.site-nav.is-open { display: block; }

@media (min-width: 62em) {
  .site-nav { display: block; }
  .site-nav.is-open { display: block; }
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

@media (min-width: 62em) {
  .site-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
  }
  .site-nav__list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    padding: 0;
    gap: 0.1rem;
  }
}

.site-nav a {
  display: block;
  color: #d7e3f0;
  text-decoration: none;
  font-size: var(--step--1);
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.site-nav a[aria-current="page"] {
  background: var(--c-accent);
  color: #fff;
}

/* The mobile drawer lives under the bar. */
@media (max-width: 61.99em) {
  .site-header__bar { flex-wrap: wrap; }
  .site-nav {
    flex-basis: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 0.25rem;
  }
  .site-nav a { padding-left: 0.35rem; }
}

/* Second tier: a plain nested list on mobile, a hover/focus dropdown on
   desktop. Keyboard users get the panel through :focus-within. */
.site-nav__sub {
  list-style: none;
  margin: 0.1rem 0 0.4rem 0.75rem;
  padding: 0 0 0 0.75rem;
  border-left: 2px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}
.site-nav__sub a {
  font-weight: 500;
  color: #c3d5e7;
  padding-block: 0.35rem;
}

@media (min-width: 62em) {
  .site-nav__item { position: relative; }

  .site-nav__sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 15rem;
    margin: 0;
    padding: 0.4rem;
    border-left: 0;
    border-radius: var(--radius);
    background: var(--c-brand-dark);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255, 255, 255, 0.14);
    display: none;
    z-index: 120;
  }
  .site-nav__item--has-children:hover > .site-nav__sub,
  .site-nav__item--has-children:focus-within > .site-nav__sub {
    display: flex;
  }
  .site-nav__sub a {
    padding: 0.45rem 0.65rem;
    white-space: nowrap;
  }
  .site-nav__item--has-children > a::after {
    content: "";
    display: inline-block;
    margin-left: 0.35rem;
    border: 4px solid transparent;
    border-top-color: currentColor;
    transform: translateY(2px);
    opacity: 0.7;
  }
}

/* ----------------------------------------------------------- main / hero -- */
main { display: block; }

.page-head {
  background:
    linear-gradient(180deg, var(--c-brand) 0%, var(--c-brand-mid) 100%);
  color: #fff;
  padding-block: clamp(1.75rem, 1rem + 3vw, 3.25rem);
}

.page-head h1 { color: #fff; margin-bottom: 0.35em; }
.page-head p { color: #dbe7f3; margin: 0; max-width: 66ch; }
.page-head a { color: #fff; }

.breadcrumbs {
  font-size: var(--step--1);
  color: #b9cde2;
  margin: 0 0 0.9rem;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.breadcrumbs li { margin: 0; display: flex; align-items: center; gap: 0.4rem; }
.breadcrumbs li + li::before {
  content: "/";
  color: #7d9dbd;
  speak: never;
}
.breadcrumbs a { color: #cfe0f0; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: #fff; font-weight: 600; }

.hero {
  background: linear-gradient(180deg, var(--c-brand-dark) 0%, var(--c-brand) 100%);
  color: #fff;
  padding-block: clamp(2rem, 1.2rem + 4vw, 4.5rem);
}
.hero h1 { color: #fff; max-width: 22ch; }
.hero p { color: #dbe7f3; font-size: var(--step-1); max-width: 58ch; }
.hero__grid {
  display: grid;
  gap: var(--gap);
  align-items: center;
}
@media (min-width: 55em) {
  .hero__grid { grid-template-columns: 1.05fr 0.95fr; }
}
.hero__art {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--c-surface-sunk);
}
.hero__art img { display: block; width: 100%; }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* -------------------------------------------------------------- buttons -- */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.2;
  padding: 0.7rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: #ad5f1c; color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.btn--outline { border-color: var(--c-line-strong); color: var(--c-brand); background: #fff; }
.btn--outline:hover { border-color: var(--c-brand-mid); color: var(--c-brand-dark); }

/* ---------------------------------------------------------------- layout -- */
.section {
  padding-block: clamp(2rem, 1.2rem + 3.4vw, 3.75rem);
  background: var(--c-surface);
}
.section--alt { background: var(--c-surface-alt); }
.section--tight { padding-block: clamp(1.25rem, 0.8rem + 2vw, 2rem); }

.section__title {
  font-size: var(--step-2);
  margin-bottom: 0.4em;
}
/* A second or third heading inside one section, where the default top margin
   would collapse into the previous block. */
.section__title--spaced { margin-top: 2.5rem; }
.section__intro {
  color: var(--c-muted);
  max-width: 62ch;
  margin-bottom: 2rem;
}

.prose { max-width: 74ch; }
.prose > p:first-of-type { font-size: var(--step-1); color: var(--c-ink-soft); }
.prose h2 { margin-top: 2.1em; }
.prose h3 { margin-top: 1.7em; }

/* Two column: article + sidebar */
.layout-2col {
  display: grid;
  gap: var(--gap);
  align-items: start;
}
@media (min-width: 62em) {
  .layout-2col { grid-template-columns: minmax(0, 1fr) 19rem; }
}

.grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
}
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }

/* ----------------------------------------------------------------- card -- */
.card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-line-strong);
}
@media (prefers-reduced-motion: reduce) {
  .card:hover { transform: none; }
}
.card__media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--c-surface-sunk);
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card__body {
  padding: 1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1 1 auto;
}
.card__title {
  font-size: var(--step-1);
  margin: 0;
}
.card__title a { text-decoration: none; color: var(--c-ink); }
.card__title a:hover { color: var(--c-brand-mid); text-decoration: underline; }
.card__meta {
  font-size: var(--step--1);
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.card__text { margin: 0; font-size: var(--step--1); color: var(--c-body); }
.card__more {
  margin-top: auto;
  font-size: var(--step--1);
  font-weight: 600;
}

/* --------------------------------------------------------------- figure -- */
.gallery-grid {
  display: grid;
  gap: clamp(0.75rem, 0.4rem + 1.4vw, 1.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
}

figure.photo {
  margin: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
figure.photo a {
  display: block;
  background: var(--c-surface-sunk);
  cursor: zoom-in;
  overflow: hidden;
}
figure.photo img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}
figure.photo a:hover img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) {
  figure.photo a:hover img { transform: none; }
}
figure.photo figcaption {
  padding: 0.7rem 0.9rem 0.85rem;
  font-size: var(--step--1);
  color: var(--c-body);
  border-top: 1px solid var(--c-line);
  margin-top: auto;
}
figure.photo figcaption strong { color: var(--c-ink); }

/* -------------------------------------------------------- stat / feature -- */
.stats {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  list-style: none;
  padding: 0;
  margin: 0;
}
.stats li {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  margin: 0;
}
.stats__num {
  display: block;
  font-size: var(--step-3);
  font-weight: 700;
  color: var(--c-brand);
  line-height: 1.1;
}
.stats__label {
  display: block;
  font-size: var(--step--1);
  color: var(--c-muted);
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.feature-list li {
  position: relative;
  padding-left: 1.9rem;
  margin: 0;
}
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--c-accent);
}

/* ------------------------------------------------------------------ faq -- */
.faq {
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-surface);
  overflow: hidden;
}
.faq details { border-bottom: 1px solid var(--c-line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--c-ink);
  list-style: none;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-weight: 700;
  color: var(--c-brand-mid);
  font-size: var(--step-1);
  line-height: 1;
  flex: 0 0 auto;
}
.faq details[open] > summary::after { content: "\2013"; }
.faq summary:hover { background: var(--c-brand-light); }
.faq .faq__answer {
  padding: 0 1.15rem 1.15rem;
  color: var(--c-body);
}
.faq .faq__answer > *:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- sidebar -- */
.sidebar {
  display: grid;
  gap: var(--gap);
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
@media (max-width: 61.99em) {
  .sidebar { position: static; }
}

.panel {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.panel__title {
  font-size: var(--step-0);
  margin: 0 0 0.7rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-line);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8125rem;
  color: var(--c-muted);
}
.panel ul { list-style: none; margin: 0; padding: 0; }
.panel li { margin-bottom: 0.45rem; font-size: var(--step--1); }
.panel li:last-child { margin-bottom: 0; }
.panel--accent {
  background: var(--c-accent-soft);
  border-color: #f0d9bf;
}

/* ------------------------------------------------------------ pagination -- */
.pager {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--c-line);
}
.pager a, .pager span {
  font-size: var(--step--1);
  font-weight: 600;
}

/* -------------------------------------------------------------- banners -- */
.banner-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}
.banner-strip--start { justify-content: flex-start; }
.banner-strip img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
}

/* -------------------------------------------------------------- lightbox -- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(9, 13, 19, 0.93);
  padding: clamp(0.75rem, 2vw, 2.5rem);
}
.lightbox.is-open { display: flex; }
.lightbox__img {
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
  background: #fff;
}
.lightbox__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.9rem;
  text-align: center;
  color: #e6edf5;
  font-size: var(--step--1);
  padding-inline: 1rem;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 50%;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }
.lightbox__close:hover,
.lightbox__nav:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__nav[hidden] { display: none; }

/* ---------------------------------------------------------------- table -- */
.table-scroll { overflow-x: auto; margin-bottom: 1.5rem; }
table.spec {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
}
table.spec caption {
  caption-side: top;
  text-align: left;
  font-weight: 600;
  color: var(--c-ink);
  padding-bottom: 0.5rem;
}
table.spec th,
table.spec td {
  text-align: left;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--c-line);
  vertical-align: top;
}
table.spec thead th {
  background: var(--c-surface-sunk);
  color: var(--c-ink);
  font-weight: 700;
}
table.spec tbody tr:last-child th,
table.spec tbody tr:last-child td { border-bottom: 0; }
table.spec tbody th { font-weight: 600; color: var(--c-ink-soft); width: 38%; }

/* ---------------------------------------------------------- link listing -- */
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.link-list li {
  margin: 0;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
}
.link-list a { font-weight: 600; text-decoration: none; }
.link-list a:hover { text-decoration: underline; }
.link-list p { margin: 0.2rem 0 0; font-size: var(--step--1); color: var(--c-muted); }

/* --------------------------------------------------------------- notice -- */
.notice {
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  border: 1px solid var(--c-line-strong);
  background: var(--c-surface-alt);
  font-size: var(--step--1);
  color: var(--c-ink-soft);
}
.notice--archive {
  background: var(--c-accent-soft);
  border-color: #efd7bb;
}
.notice > *:last-child { margin-bottom: 0; }
.notice strong { color: var(--c-ink); }

/* --------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--c-brand-dark);
  color: #b9cde2;
  padding-block: clamp(2rem, 1.2rem + 2.6vw, 3.25rem) 1.25rem;
  font-size: var(--step--1);
}
.site-footer a { color: #dbe7f3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }

.footer-grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
  margin-bottom: 2rem;
}
.footer-grid h2 {
  color: #fff;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.8rem;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 0.4rem; }

.footer-about p { margin-bottom: 0.6rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { margin: 0; }

/* -------------------------------------------------------------- print ----- */
@media print {
  .site-header, .site-footer, .skip-link, .lightbox, .pager { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .page-head, .hero { background: none !important; color: #000 !important; padding-block: 0 1rem; }
  .page-head h1, .hero h1, .page-head p, .hero p { color: #000 !important; }
  a { color: #000; text-decoration: underline; }
  figure.photo, .card, .panel { break-inside: avoid; box-shadow: none; }
}
