@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/noto-serif-sc-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/noto-serif-sc-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/noto-serif-sc-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/noto-serif-sc-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/noto-serif-sc-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/noto-serif-sc-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/noto-serif-sc-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Noto Serif SC'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/noto-serif-sc-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/cairo-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/cairo-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/cairo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/cairo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/cairo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/cairo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/cairo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Cairo'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/cairo-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #f6eeeb;
  --fg-light-base-body: #2b1915;
  --fg-light-base-heading: #2b1915;
  --fg-light-base-muted: #5d4640;
  --fg-light-base-link: #9a3a1c;
  --fg-light-base-inverse: #2b1915;
  --bg-light-card: #fffdfc;
  --fg-light-card-body: #2b1915;
  --fg-light-card-heading: #2b1915;
  --fg-light-card-muted: #5d4640;
  --fg-light-card-link: #9a3a1c;
  --fg-light-card-inverse: #2b1915;
  --bg-light-elevated: #eedfd9;
  --fg-light-elevated-body: #2b1915;
  --fg-light-elevated-heading: #2b1915;
  --fg-light-elevated-muted: #5d4640;
  --fg-light-elevated-link: #76290f;
  --fg-light-elevated-inverse: #2b1915;
  --brand-light-accent: #9a3a1c;
  --brand-light-accent-hover: #76290f;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #9a3a1c;
  --border-light-default: #86655c;
  --border-light-subtle: #dcc5bd;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

/* Comparison atelier: rosy plaster walls, white mats, brick-red tabs and badges. */

:root {
  --font-heading: 'Noto Serif SC', Georgia, serif;
  --font-body: 'Cairo', 'Segoe UI', sans-serif;
  --accent: var(--brand-light-accent);
  --accent-deep: var(--brand-light-accent-hover);
  --on-accent: var(--brand-light-on-accent);
  --frame: var(--border-light-default);
  --mat: var(--border-light-subtle);
  --gutter: clamp(1rem, 4vw, 2.75rem);
  --measure: 40rem;
  --wide: 74rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.18;
  margin: 0;
}

p,
ul,
ol,
table {
  margin: 0 0 1em;
}

a.text-role-link {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a.text-role-link:hover {
  text-decoration-thickness: 2px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--frame);
}

.header-inner {
  position: relative;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0.6rem var(--gutter);
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: 1 1 auto;
  min-width: 0;
  text-decoration: none;
}

.brand .site-logo {
  display: block;
  width: 2.6rem;
  height: auto;
  flex: 0 0 auto;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(1rem, 2.4vw, 1.2rem);
  line-height: 1.2;
}

.brand .brand-name {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.nav-panel {
  display: none;
  flex: 0 0 auto;
}

.site-nav > ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.4rem;
}

.site-nav a,
.site-nav-group > summary {
  display: inline-block;
  padding: 0.4rem 0;
  font-weight: 600;
  font-size: 0.98rem;
  white-space: nowrap;
  text-decoration-line: none;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: var(--accent);
}

.site-nav-group > summary {
  cursor: pointer;
  list-style: none;
}

.site-nav-group > summary::-webkit-details-marker {
  display: none;
}

.site-nav-group > summary::after {
  content: "";
  display: inline-block;
  width: 0.4rem;
  height: 0.4rem;
  margin-left: 0.45rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-0.2rem) rotate(45deg);
}

.site-nav-group[open] > summary {
  border-bottom-color: var(--accent);
}

/* Mega-panel: an open group spans the header width as one framed sheet. */
.site-nav-group[open] > ul {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 100%;
  margin: 0;
  padding: 1.4rem 1.6rem;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.5rem 2rem;
  background: var(--bg-light-card);
  border: 1px solid var(--frame);
  border-top: 3px solid var(--accent);
  box-shadow: 0 0 0 6px var(--bg-light-card), 0 0 0 7px var(--mat);
}

.site-nav-group[open] > ul > li:first-child {
  grid-column: 1 / -1;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--mat);
}

.site-nav-group[open] > ul > li:first-child a {
  font-family: var(--font-heading);
  font-size: 1.1rem;
}

.site-nav-group > ul a {
  font-weight: 500;
}

/* Collapsed menu */

.nav-toggle {
  flex: 0 0 auto;
}

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--frame);
  border-radius: 999px;
  font-weight: 600;
}

.menu-icon {
  position: relative;
  display: inline-block;
  width: 1.1rem;
  height: 2px;
  background: currentColor;
}

.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
}

.menu-icon::before {
  top: -6px;
}

.menu-icon::after {
  top: 6px;
}

.site-menu[open] > ul {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  top: 100%;
  margin: 0;
  padding: 1rem 1.25rem;
  list-style: none;
  background: var(--bg-light-card);
  border: 1px solid var(--frame);
  border-top: 3px solid var(--accent);
  max-height: 75vh;
  overflow-y: auto;
}

.site-menu ul ul {
  list-style: none;
  margin: 0 0 0.5rem;
  padding-left: 1rem;
  border-left: 2px solid var(--mat);
}

.site-menu a {
  display: block;
  padding: 0.5rem 0;
  min-height: 2.75rem;
}

@media (max-width: 29.99rem) {
  .site-menu > summary {
    justify-content: center;
    min-width: 2.75rem;
    padding: 0.35rem;
  }

  .site-menu .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (min-width: 72rem) {
  .header-inner {
    gap: 1.5rem;
  }

  .nav-panel {
    display: block;
  }

  .nav-toggle {
    display: none;
  }
}

/* ---------- Page frame ---------- */

.atelier {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 1.5rem var(--gutter) 4rem;
}

.breadcrumbs ol {
  list-style: none;
  margin: 0 0 1.75rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-size: 0.92rem;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--frame);
}

.page-title h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 22ch;
}

.label-tab,
.portrait-tab {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.15rem 0.7rem 0.2rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--fg-link);
  border: 1px solid var(--accent);
  border-bottom-width: 3px;
  border-radius: 0.35rem 0.35rem 0 0;
}

/* Reading copy */

.prose {
  max-width: var(--measure);
}

.prose h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.7rem);
  margin: 2.2rem 0 0.8rem;
}

.prose h3 {
  font-size: 1.2rem;
  margin: 1.6rem 0 0.6rem;
}

.prose ul,
.prose ol {
  padding-left: 1.3rem;
}

.prose li {
  margin-bottom: 0.45rem;
}

.prose strong {
  font-weight: 700;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.prose th,
.prose td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--mat);
}

.prose th {
  font-weight: 700;
  border-bottom: 2px solid var(--frame);
}

.photo-hero,
.photo-inline {
  margin: 0 0 1.75rem;
  padding: 0.6rem;
  background: var(--bg-light-card);
  border: 1px solid var(--frame);
  box-shadow: 0 0 0 6px var(--bg-light-card), 0 0 0 7px var(--mat);
}

.photo-hero img,
.photo-inline img {
  display: block;
  width: 100%;
}

/* ---------- Home: foyer, gallery wall, placard ---------- */

.foyer {
  border: 1px solid var(--frame);
  padding: clamp(0.6rem, 1.5vw, 0.9rem);
}

.foyer-frame {
  border: 1px solid var(--mat);
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 4rem);
  display: grid;
  gap: 1.75rem;
}

.cover-title h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  max-width: 18ch;
}

.foyer-lines {
  max-width: 34rem;
  font-size: 1.15rem;
}

.display-line {
  margin: 0 0 0.6rem;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

@media (min-width: 56rem) {
  .foyer-frame {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
    gap: 3rem;
  }
}

.wall {
  margin: 2.5rem calc(var(--gutter) * -1) 0;
  padding: 2.5rem var(--gutter) 3rem;
}

.wall-heading {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin-bottom: 1.5rem;
}

.wall-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14.5rem, 1fr));
  gap: 1.75rem;
}

.portrait {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 19rem;
  padding: 1.25rem 1.25rem 1.5rem;
  border: 1px solid var(--frame);
  box-shadow: inset 0 0 0 0.5rem var(--bg-light-card), inset 0 0 0 calc(0.5rem + 1px) var(--mat);
}

.portrait-tab {
  align-self: flex-start;
  margin: 0.5rem 0 0 0.5rem;
}

.portrait-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 0.75rem;
  text-decoration: none;
}

.portrait-link::after {
  content: "";
  position: absolute;
  inset: 0;
}

.pair-a,
.pair-b {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.2;
}

.pair-join {
  font-size: 0.92rem;
  font-style: italic;
}

.portrait:hover,
.portrait:focus-within {
  border-color: var(--accent);
}

.portrait:hover .pair-a,
.portrait:hover .pair-b {
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.2em;
}

.placard {
  padding-top: 2.5rem;
}

.placard-text {
  margin: 0 auto;
}

/* ---------- Top-n list: collection grid ---------- */

.collection-head {
  margin-bottom: 1.5rem;
}

.collection-body {
  max-width: none;
}

.collection-body > :not(ol):not(table) {
  max-width: var(--measure);
}

.collection-body ol {
  list-style: none;
  counter-reset: rank;
  padding: 0;
  margin: 1.25rem 0 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 1.25rem;
}

.collection-body ol > li {
  counter-increment: rank;
  position: relative;
  margin: 0;
  min-height: 8.5rem;
  padding: 3.25rem 1.1rem 1.1rem;
  background: var(--bg-light-card);
  border: 1px solid var(--frame);
  box-shadow: inset 0 0 0 0.4rem var(--bg-light-card), inset 0 0 0 calc(0.4rem + 1px) var(--mat);
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.3;
}

.collection-body ol > li::before {
  content: counter(rank);
  position: absolute;
  top: 0;
  left: 0;
  min-width: 2.4rem;
  height: 2.4rem;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 0 0 0.6rem 0;
}

.collection-annex {
  margin-top: 3rem;
  padding: 1.75rem clamp(1.25rem, 3vw, 2.25rem);
  border-top: 3px solid var(--accent);
}

.annex-heading {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.annex-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.6rem 2rem;
}

.annex-links a {
  display: inline-block;
  padding: 0.35rem 0;
  font-weight: 600;
}

/* ---------- Provider review: stepped exhibit ---------- */

.exhibit-label {
  max-width: 44rem;
  padding: 1.5rem 1.75rem 1.75rem;
  border: 1px solid var(--frame);
  box-shadow: inset 0 0 0 0.45rem var(--bg-light-card), inset 0 0 0 calc(0.45rem + 1px) var(--mat);
}

.exhibit-label .label-tab {
  margin-left: 0.3rem;
}

.exhibit-label .page-title {
  padding: 0 0.3rem;
}

.exhibit-steps {
  max-width: 46rem;
  margin-top: 2rem;
  counter-reset: step;
}

.exhibit-steps h2 {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-top: 2.6rem;
}

.exhibit-steps h2::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2.1rem;
  height: 2.1rem;
  display: grid;
  place-items: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--on-accent);
  background: var(--accent);
  border-radius: 0.35rem;
}

.exhibit-steps > :not(h2) {
  border-left: 1px solid var(--mat);
  margin-left: 1.05rem;
  padding-left: 1.95rem;
}

.exhibit-steps > :first-child {
  margin-top: 0;
}

.exhibit-steps ul {
  padding-left: 3.2rem;
}

/* ---------- Comparison: matched frames ---------- */

.matched-head {
  margin-bottom: 1.75rem;
}

.matched-frames {
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--frame);
  box-shadow: inset 0 0 0 0.5rem var(--bg-light-card), inset 0 0 0 calc(0.5rem + 1px) var(--mat);
}

.matched-body {
  max-width: none;
  padding: 0.5rem;
}

@media (min-width: 60rem) {
  .matched-body {
    columns: 2;
    column-gap: 3.5rem;
    column-rule: 1px solid var(--mat);
  }

  .matched-body h2 {
    break-after: avoid;
  }

  .matched-body table {
    column-span: all;
    margin: 1.5rem 0 2rem;
  }

  .matched-body > :first-child {
    margin-top: 0;
  }
}

.matched-body table {
  display: block;
  overflow-x: auto;
}

/* ---------- About: curator's note ---------- */

.curator .page-title {
  margin-bottom: 2rem;
}

.curator-cols {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 58rem) {
  .curator-cols {
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
  }
}

.curator-rooms {
  position: sticky;
  top: 6rem;
  padding: 1.5rem 1.6rem;
  border: 1px solid var(--frame);
  border-top: 3px solid var(--accent);
}

.curator-rooms h2 {
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.curator-rooms ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.curator-rooms li + li {
  border-top: 1px solid var(--mat);
}

.curator-rooms a {
  display: block;
  padding: 0.65rem 0;
  font-weight: 600;
}

/* ---------- Contact: visitor book ---------- */

.visitors {
  max-width: 44rem;
  margin: 0 auto;
}

.visitors .page-title h1 {
  margin: 0 auto;
  text-align: center;
}

.visitors-intro {
  margin: 1.5rem auto 2rem;
}

.guest-book {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--frame);
  box-shadow: inset 0 0 0 0.5rem var(--bg-light-card), inset 0 0 0 calc(0.5rem + 1px) var(--mat);
}

.guest-row {
  display: grid;
  gap: 0 1.75rem;
}

@media (min-width: 40rem) {
  .guest-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1.25rem;
}

.field label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 1rem;
}

.field input,
.field textarea {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--frame);
  padding: 0.5rem 0.15rem;
  min-height: 2.75rem;
}

.field textarea {
  resize: vertical;
  background-image: repeating-linear-gradient(transparent 0, transparent calc(1.65em + 0.5rem - 1px), var(--mat) calc(1.65em + 0.5rem - 1px), var(--mat) calc(1.65em + 0.5rem));
  line-height: calc(1.65em + 0.5rem);
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-bottom-color: var(--accent);
}

.sign-button {
  font: inherit;
  font-weight: 700;
  min-height: 2.9rem;
  padding: 0.55rem 1.6rem;
  color: var(--on-accent);
  background: var(--accent);
  border: 0;
  border-radius: 0.35rem;
  cursor: pointer;
}

.sign-button:hover {
  background: var(--accent-deep);
}

.sign-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Thank you: signed card split ---------- */

.signed-split {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 58rem) {
  .signed-split {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: stretch;
  }
}

.signed-card {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--frame);
  box-shadow: inset 0 0 0 0.5rem var(--bg-light-card), inset 0 0 0 calc(0.5rem + 1px) var(--mat);
}

.signed-body {
  margin-top: 1.25rem;
}

.signed-next {
  padding: clamp(1.5rem, 4vw, 2.25rem);
  border-top: 3px solid var(--accent);
}

.signed-next h2 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.signed-next a {
  font-weight: 700;
}

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

.site-footer {
  border-top: 1px solid var(--frame);
}

.footer-inner {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 2.5rem var(--gutter) 3rem;
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 52rem) {
  .footer-inner {
    grid-template-columns: auto minmax(0, 32rem);
    justify-content: space-between;
    align-items: end;
  }
}

.footer-plaque {
  padding: 0.9rem 1.2rem;
  border: 1px solid var(--frame);
  box-shadow: inset 0 0 0 0.3rem var(--bg-light-elevated), inset 0 0 0 calc(0.3rem + 1px) var(--mat);
}

.footer-name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
}

.footer-strap {
  margin: 0.15rem 0 0;
  font-style: italic;
}

.footer-note {
  margin: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
