/* PSN MUN website: Treaty Room theme.
   Layout: a ruled treaty document. A framed hero with a raised delegate placard, then sections set like the articles of an accord.
   Inner pages open with a ruled page heading instead of the hero.
   Parchment carries the page; oxblood is kept for the seal, buttons, the registration band and accents. Walnut closes the footer. */
:root {
  --parchment: #F4EDE1;       /* page background */
  --parchment-deep: #ECE2D1;  /* alternate section ground */
  --vellum: #FAF6EE;          /* raised sheets and cards */
  --oxblood: #5C1A24;         /* seal, headings, main button */
  --claret: #8E2F3B;          /* links, committee names, hover */
  --walnut: #2A201C;          /* body text, ruled lines, footer */
  --walnut-soft: #5E4E45;     /* secondary text (6.2:1 or better on every ground) */
  --brass: #BE9A5E;           /* seal ring, details on oxblood or walnut only */
  --on-oxblood-soft: #E8DCC8; /* secondary text on oxblood */
  --on-walnut-soft: #BFAF9A;  /* secondary text on walnut */
  --rule: #D3C5B0;            /* hairlines on parchment */

  --display: "Libre Caslon Display", "Big Caslon", "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --serif: "Libre Caslon Text", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Franklin Gothic Book", "Segoe UI", Arial, sans-serif;

  --t-xs: 0.8125rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-lg: 1.25rem;
  --t-xl: 1.75rem;
  --t-2xl: clamp(2rem, 1.4rem + 2.2vw, 2.875rem);
  --t-hero: clamp(3.1rem, 1.6rem + 6vw, 6rem);

  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 112px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--parchment);
  color: var(--walnut);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: 1.6;
}
h1, h2, h3, h4 { margin: 0; text-wrap: balance; font-weight: 400; }
p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: var(--claret); text-underline-offset: 3px; }
a:hover { color: var(--oxblood); }
:focus-visible { outline: 2px solid var(--claret); outline-offset: 3px; }
img, svg { max-width: 100%; }

.container { max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; top: 0; background: var(--oxblood); color: var(--parchment); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

.eyebrow {
  font-family: var(--sans);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--claret);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: var(--t-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 13px 22px;
  border: 1px solid transparent;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--oxblood); color: var(--parchment); border-color: var(--oxblood); }
.btn-primary:hover { background: var(--claret); border-color: var(--claret); color: var(--parchment); }
.btn-ghost { color: var(--oxblood); border-color: var(--oxblood); }
.btn-ghost:hover { background: var(--vellum); color: var(--oxblood); }
.btn-light { background: var(--parchment); color: var(--oxblood); border-color: var(--parchment); }
.btn-light:hover { background: var(--vellum); color: var(--oxblood); }
.btn-sm { padding: 9px 16px; font-size: var(--t-xs); }

/* Seal (the logo's emblem in a parchment disc with a brass ring, for dark grounds) */
.seal {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--parchment);
  box-shadow: 0 0 0 3px var(--parchment), 0 0 0 4px var(--brass);
  flex: none;
}
.seal img { height: 72%; width: auto; }

/* Sample content notice (turned off with sampleContent: false in site.yaml) */
.proto { background: var(--walnut); color: var(--parchment); font-size: var(--t-xs); text-align: center; padding: 8px var(--gutter); }
.proto strong { color: var(--brass); font-weight: 600; }

/* Header */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--parchment);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--oxblood); }
.brand-mark { height: 50px; width: auto; flex: none; }
.brand-name { font-family: var(--display); font-size: 1.5rem; line-height: 1; letter-spacing: 0.04em; display: block; }
.brand-sub { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--walnut-soft); font-weight: 600; display: block; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--walnut); text-decoration: none; font-size: var(--t-sm); font-weight: 500; }
.nav a:hover { color: var(--claret); text-decoration: underline; }
.nav a[aria-current="page"]:not(.btn) { color: var(--claret); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav .btn { color: var(--parchment); }
.nav .btn:hover { text-decoration: none; }
.menu { display: none; position: relative; }
.menu summary {
  list-style: none; cursor: pointer; font-size: var(--t-sm); font-weight: 600; color: var(--oxblood);
  border: 1px solid var(--oxblood); padding: 8px 14px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--oxblood); color: var(--parchment); }
.menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px); width: min(280px, calc(100vw - 32px));
  background: var(--vellum); border: 1px solid var(--rule); box-shadow: 0 12px 32px rgba(42,32,28,.14);
  display: grid; padding: 8px;
}
.menu-panel a { color: var(--walnut); text-decoration: none; padding: 12px 12px; border-bottom: 1px solid var(--rule); font-weight: 500; }
.menu-panel a:last-child { border-bottom: 0; color: var(--claret); font-weight: 600; }
.menu-panel a[aria-current="page"] { color: var(--claret); font-weight: 600; }
@media (max-width: 960px) { .nav { display: none; } .menu { display: block; } }

/* Hero */
.hero { padding-block: clamp(28px, 5vw, 56px) var(--section); }
.hero-frame {
  border: 3px double var(--oxblood);
  padding: clamp(24px, 5vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  position: relative;
}
.hero-frame::before {
  content: ""; position: absolute; inset: 8px; border: 1px solid var(--rule); pointer-events: none;
}
.hero-copy { display: grid; gap: 18px; position: relative; }
.hero-logo { height: clamp(120px, 11vw, 150px); width: auto; margin-bottom: 4px; }
.hero h1 { font-family: var(--display); font-size: var(--t-hero); line-height: 0.95; color: var(--oxblood); letter-spacing: -0.005em; }
.hero-theme { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); color: var(--claret); }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--walnut); border-bottom: 1px solid var(--walnut); margin-top: 8px; }
.facts div { padding: 14px 12px 14px 0; min-width: 0; }
.facts div + div { padding-left: 14px; border-left: 1px solid var(--rule); }
.facts dt { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--walnut-soft); font-weight: 600; }
.facts dd { font-family: var(--display); font-size: clamp(1rem, 0.85rem + 0.8vw, 1.3rem); color: var(--walnut); margin-top: 2px; font-variant-numeric: lining-nums tabular-nums; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }

/* Delegate placard */
.placard-wrap { display: grid; justify-items: center; gap: 18px; position: relative; }
.placard {
  width: min(100%, 360px);
  aspect-ratio: 16 / 10;
  max-width: 100%;
  background: var(--oxblood);
  color: var(--parchment);
  box-shadow: inset 0 0 0 10px var(--oxblood), inset 0 0 0 11px var(--brass), 0 18px 36px -12px rgba(42,32,28,.45);
  display: grid;
  grid-template-rows: auto 1fr auto;
  text-align: center;
  padding: 26px 22px 22px;
  transform: perspective(900px) rotateX(6deg);
  transform-origin: bottom center;
}
.placard-top { font-size: 0.6875rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.placard-country {
  font-family: var(--display);
  font-size: clamp(2rem, 1.2rem + 3vw, 3rem);
  line-height: 1.05;
  align-self: center;
  transition: opacity .35s ease, transform .35s ease;
}
.placard-country.is-swapping { opacity: 0; transform: translateY(8px); }
.placard-foot { font-size: 0.6875rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-oxblood-soft); border-top: 1px solid rgba(190,154,94,.5); padding-top: 10px; }
.placard-base {
  width: min(100%, 390px);
  height: 14px;
  background: var(--walnut);
  clip-path: polygon(4% 0, 96% 0, 100% 100%, 0 100%);
  margin-top: -18px;
}
.placard-note { font-size: var(--t-xs); color: var(--walnut-soft); text-align: center; max-width: 34ch; }

@media (max-width: 860px) {
  .hero-frame { grid-template-columns: minmax(0, 1fr); }
  .placard-wrap { order: -1; }
  .hero-logo { display: none; }
}

/* Sections */
.section { padding-block: var(--section); }
.section-deep { background: var(--parchment-deep); }
.sec-head { display: grid; gap: 12px; max-width: 62ch; margin-bottom: clamp(32px, 5vw, 52px); }
.sec-head h2 { font-family: var(--display); font-size: var(--t-2xl); line-height: 1.1; color: var(--oxblood); }
.sec-head p:not(.eyebrow) { color: var(--walnut-soft); font-size: var(--t-lg); line-height: 1.5; }
.eyebrow-ruled { display: flex; align-items: center; gap: 12px; }
.eyebrow-ruled::before { content: ""; width: 28px; height: 1px; background: var(--claret); flex: none; }

/* Conferences */
.conf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 760px) { .conf-grid { grid-template-columns: minmax(0, 1fr); } }
.conf { background: var(--vellum); border: 1px solid var(--rule); padding: clamp(22px, 3vw, 34px); display: grid; gap: 16px; align-content: start; }
.conf-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.status { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; padding: 5px 10px; }
.status-open { background: var(--oxblood); color: var(--parchment); }
.status-soon { border: 1px solid var(--walnut-soft); color: var(--walnut-soft); }
.conf-kind { font-size: var(--t-xs); color: var(--walnut-soft); font-weight: 500; }
.conf h3 { font-family: var(--display); font-size: var(--t-xl); color: var(--oxblood); line-height: 1.15; }
.conf-meta { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 18px; font-size: var(--t-sm); border-top: 1px solid var(--rule); padding-top: 14px; }
.conf-meta dt { color: var(--walnut-soft); }
.conf-meta dd { font-weight: 500; }
.conf-link { font-weight: 600; font-size: var(--t-sm); }

/* Resolution (About) */
.sheet {
  max-width: 840px;
  margin-inline: auto;
  background: var(--vellum);
  border: 3px double var(--oxblood);
  padding: clamp(24px, 6vw, 72px);
  box-shadow: 0 1px 0 var(--rule), 0 24px 48px -28px rgba(42,32,28,.35);
}
.sheet-head { text-align: center; display: grid; gap: 12px; justify-items: center; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--rule); }
.sheet-code { font-size: var(--t-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--walnut-soft); font-weight: 600; font-variant-numeric: tabular-nums; }
.sheet h2 { font-family: var(--display); font-size: var(--t-2xl); color: var(--oxblood); line-height: 1.1; }
.sheet-sponsor { font-family: var(--serif); font-style: italic; color: var(--walnut-soft); }
.clauses { font-family: var(--serif); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.75; display: grid; gap: 14px; max-width: 64ch; margin-inline: auto; }
.clauses em { font-style: italic; color: var(--oxblood); }
.clauses .op-verb { font-style: italic; color: var(--oxblood); text-decoration: underline; text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.operative { display: grid; gap: 14px; counter-reset: op; margin-top: 10px; }
.operative li { counter-increment: op; display: grid; grid-template-columns: 2.2em minmax(0, 1fr); }
.operative li::before { content: counter(op) "."; color: var(--claret); font-variant-numeric: lining-nums; }
.sheet-close { font-family: var(--serif); text-align: center; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); color: var(--walnut-soft); font-size: var(--t-sm); }

/* Committees */
.committees { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 28px 24px; }
@media (max-width: 1040px) { .committees { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .committees { grid-template-columns: minmax(0, 1fr); } }
.committee { border-top: 2px solid var(--walnut); border-bottom: 1px solid var(--walnut); padding: 18px 0 20px; display: grid; gap: 8px; align-content: start; }
.c-abbr { font-family: var(--display); font-size: 2rem; line-height: 1; color: var(--claret); text-decoration: none; justify-self: start; }
a.c-abbr:hover { color: var(--oxblood); text-decoration: underline; text-decoration-thickness: 1px; }
.c-name { font-weight: 600; font-size: var(--t-sm); line-height: 1.35; }
.c-agenda { font-family: var(--serif); font-style: italic; font-size: var(--t-sm); color: var(--walnut-soft); line-height: 1.5; }
.c-guide { margin-top: 6px; font-size: var(--t-xs); color: var(--walnut-soft); }

/* Key dates */
.timeline { display: grid; grid-template-columns: repeat(var(--steps, 5), minmax(0, 1fr)); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--walnut); }
.timeline li { position: relative; padding: 32px 16px 0 0; display: grid; gap: 6px; align-content: start; }
.timeline li::before {
  content: ""; position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%;
  background: var(--parchment-deep); border: 2px solid var(--oxblood);
}
.timeline li.is-past::before { background: var(--oxblood); }
.timeline li.is-next::before { box-shadow: 0 0 0 4px var(--parchment-deep), 0 0 0 5px var(--brass); }
.t-date { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; color: var(--oxblood); font-variant-numeric: lining-nums tabular-nums; }
.t-title { font-weight: 600; font-size: var(--t-sm); }
.t-note { font-size: var(--t-xs); color: var(--walnut-soft); line-height: 1.5; }
.t-flag { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--claret); }
.timeline li.is-past .t-date, .timeline li.is-past .t-title { color: var(--walnut-soft); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-left: 34px; }
  .timeline::before { left: 7px; right: auto; top: 4px; bottom: 4px; width: 1px; height: auto; }
  .timeline li { padding: 0; }
  .timeline li::before { left: -34px; top: 6px; }
}

/* Letter and Secretariat */
.letter-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .letter-grid { grid-template-columns: minmax(0, 1fr); } }
.letter { font-family: var(--serif); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.75; display: grid; gap: 16px; max-width: 62ch; }
.letter-salute { font-style: italic; color: var(--oxblood); }
.letter p:nth-of-type(2)::first-letter { font-family: var(--display); float: left; font-size: 3.6em; line-height: .82; padding: 6px 10px 0 0; color: var(--oxblood); }
.signature { margin-top: 12px; display: grid; gap: 2px; font-family: var(--sans); }
.signature-line { width: 180px; height: 1px; background: var(--walnut); margin-bottom: 10px; }
.signature strong { font-weight: 600; font-size: var(--t-sm); }
.signature span { font-size: var(--t-xs); color: var(--walnut-soft); }
.roster-title { font-family: var(--display); font-size: var(--t-xl); color: var(--oxblood); margin-bottom: 18px; }
.roster { display: grid; }
.roster li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.roster li:first-child { border-top: 1px solid var(--walnut); }
.role-seal {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--brass); box-shadow: inset 0 0 0 3px var(--parchment), inset 0 0 0 4px var(--oxblood);
  font-family: var(--display); color: var(--oxblood); font-size: 0.95rem; letter-spacing: 0.02em;
}
.role-name { font-weight: 600; font-size: var(--t-sm); line-height: 1.35; }
.role-person { font-size: var(--t-xs); color: var(--walnut-soft); }

/* Document lists (Committees page and each committee page) */
.docs { border-top: 2px solid var(--walnut); }
.docs li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--rule); }
.doc-title { font-family: var(--display); font-size: 1.35rem; color: var(--oxblood); line-height: 1.2; }
.doc-desc { font-size: var(--t-sm); color: var(--walnut-soft); margin-top: 2px; }
.doc-tag { font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--walnut-soft); border: 1px solid var(--rule); padding: 5px 10px; white-space: nowrap; }
@media (max-width: 560px) { .docs li { grid-template-columns: minmax(0, 1fr); } .doc-tag { justify-self: start; } }

/* Registration band */
.register { background: var(--oxblood); color: var(--parchment); padding-block: var(--section); }
.register-inner { border-top: 3px double var(--brass); border-bottom: 3px double var(--brass); padding-block: clamp(32px, 5vw, 56px); display: grid; gap: clamp(28px, 4vw, 44px); }
.register h2 { font-family: var(--display); font-size: var(--t-2xl); line-height: 1.1; }
.register .eyebrow { color: var(--brass); }
.register-lede { color: var(--on-oxblood-soft); font-size: var(--t-lg); max-width: 60ch; margin-top: 12px; }
.reg-options { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0; }
@media (max-width: 860px) { .reg-options { grid-template-columns: minmax(0, 1fr); } }
.reg { display: grid; gap: 12px; align-content: start; padding: 4px clamp(0px, 3vw, 32px) 4px 0; }
.reg + .reg { border-left: 1px solid rgba(190,154,94,.45); padding-left: clamp(0px, 3vw, 32px); }
@media (max-width: 860px) {
  .reg { padding: 0 0 24px; }
  .reg + .reg { border-left: 0; border-top: 1px solid rgba(190,154,94,.45); padding: 24px 0; }
}
.reg h3 { font-family: var(--display); font-size: 1.6rem; color: var(--brass); line-height: 1.15; }
.reg p { color: var(--on-oxblood-soft); font-size: var(--t-sm); }
.reg-fee { font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--parchment); }
.reg .btn { justify-self: start; margin-top: 6px; }

/* Footer */
.site-footer { background: var(--walnut); color: var(--parchment); padding-block: clamp(48px, 7vw, 80px) 28px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-brand { display: grid; gap: 14px; align-content: start; }
.footer-brand .brand { color: var(--parchment); }
.footer-brand .seal { width: 56px; height: 56px; box-shadow: 0 0 0 2px var(--walnut), 0 0 0 3px var(--brass); }
.footer-brand .brand-sub { color: var(--on-walnut-soft); }
.footer-brand p { color: var(--on-walnut-soft); font-size: var(--t-sm); max-width: 40ch; }
.footer-col h2 { font-size: 0.6875rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); font-weight: 600; margin-bottom: 14px; font-family: var(--sans); }
.footer-col ul { display: grid; gap: 8px; }
.footer-col a { color: var(--parchment); text-decoration: none; font-size: var(--t-sm); }
.footer-col a:hover { color: var(--brass); text-decoration: underline; }
.footer-col p, .footer-muted { color: var(--on-walnut-soft); font-size: var(--t-sm); }
.footer-base { margin-top: 48px; padding-top: 20px; border-top: 1px solid rgba(190,154,94,.3); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: var(--t-xs); color: var(--on-walnut-soft); }

[id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } .placard { transform: none; } }

/* ---------- Inner pages ---------- */

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.more-link { margin-top: clamp(24px, 4vw, 36px); font-weight: 600; font-size: var(--t-sm); }

/* Page heading: a ruled title block, like the head of a treaty article */
.page-head { padding-block: clamp(36px, 6vw, 72px) 0; }
.page-head-inner {
  display: grid;
  gap: 14px;
  padding-bottom: clamp(28px, 4vw, 44px);
  border-bottom: 3px double var(--oxblood);
}
.page-head h1 { font-family: var(--display); font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.25rem); line-height: 1; color: var(--oxblood); max-width: 18ch; }
.page-lede { color: var(--walnut-soft); font-size: var(--t-lg); line-height: 1.5; max-width: 60ch; }
.page-head-conf .conf-top { justify-content: flex-start; }
.page-head-conf .facts { max-width: 720px; }
.page-head-conf .ctas { margin-top: 4px; }

/* Plain reading text */
.prose { max-width: 66ch; display: grid; gap: 18px; font-family: var(--serif); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); line-height: 1.75; }

/* The page heading's double rule already separates the first section, so drop that section's own top rule */
.page-head + .section-tight .contact-cards,
.page-head + .section-tight .docs { border-top: 0; padding-top: 0; }
.page-head + .section-tight .docs li:first-child { padding-top: 0; }

/* Conference archive */
.archive { border-top: 2px solid var(--walnut); }
.archive li { padding: 20px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.archive-name { font-family: var(--display); font-size: var(--t-xl); color: var(--oxblood); line-height: 1.15; }
.archive-meta { font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--walnut-soft); }
.archive-about { color: var(--walnut-soft); max-width: 62ch; }

/* Schedule */
.schedule { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.day { background: var(--vellum); border: 1px solid var(--rule); border-top: 3px double var(--oxblood); padding: clamp(20px, 3vw, 28px); }
.day h3 { display: grid; gap: 2px; margin-bottom: 16px; }
.day-name { font-family: var(--display); font-size: var(--t-xl); color: var(--oxblood); line-height: 1.1; }
.day-date { font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--walnut-soft); }
.day ol { display: grid; }
.day li { display: grid; grid-template-columns: 4.2em minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); font-size: var(--t-sm); }
.day-time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--claret); }

/* Notices (announcing soon, 404) */
.notice { max-width: 720px; border: 3px double var(--oxblood); background: var(--vellum); padding: clamp(24px, 5vw, 48px); display: grid; gap: 14px; justify-items: start; }
.notice h1, .notice h2 { font-family: var(--display); font-size: var(--t-2xl); color: var(--oxblood); line-height: 1.1; }
.notice p:not(.eyebrow) { color: var(--walnut-soft); }
.notice-404 { margin-inline: auto; }

/* Committees page */
.committee-list { display: grid; gap: 20px; }
.committee-card {
  display: grid;
  grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
  gap: clamp(20px, 4vw, 48px);
  background: var(--vellum);
  border: 1px solid var(--rule);
  padding: clamp(22px, 3.5vw, 36px);
}
.committee-card:target { border-color: var(--oxblood); box-shadow: 0 0 0 1px var(--oxblood); }
.cc-side { display: grid; gap: 12px; align-content: start; border-right: 1px solid var(--rule); padding-right: 20px; }
.cc-abbr { font-family: var(--display); font-size: clamp(2.2rem, 1.8rem + 1.4vw, 3rem); line-height: 1; color: var(--claret); text-decoration: none; overflow-wrap: anywhere; }
.cc-body { display: grid; gap: 12px; align-content: start; max-width: 70ch; }
.cc-body h2 { font-family: var(--display); font-size: var(--t-xl); color: var(--oxblood); line-height: 1.15; }
.cc-body h2 a { color: inherit; text-decoration: none; }
.cc-body h2 a:hover { color: var(--claret); text-decoration: underline; text-decoration-thickness: 1px; }
.cc-agenda { font-family: var(--serif); font-style: italic; font-size: var(--t-lg); color: var(--walnut); }
.cc-agenda span { font-family: var(--sans); font-style: normal; font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--claret); margin-right: 8px; }
.cc-body > p:not(.cc-agenda) { color: var(--walnut-soft); }
.cc-link { justify-self: start; font-weight: 600; font-size: var(--t-sm); }
.cc-meta { display: flex; flex-wrap: wrap; gap: 12px 32px; border-top: 1px solid var(--rule); padding-top: 14px; margin-top: 4px; font-size: var(--t-sm); }
.cc-meta dt { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--walnut-soft); }
.cc-meta dd { font-weight: 500; }
@media (max-width: 640px) {
  .committee-card { grid-template-columns: minmax(0, 1fr); }
  .cc-side { border-right: 0; padding-right: 0; border-bottom: 1px solid var(--rule); padding-bottom: 14px; grid-auto-flow: column; justify-content: space-between; align-items: center; }
}

/* Secretariat page: chairs */
.chair-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 2px solid var(--walnut); }
.chair-list li { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.chair-abbr { font-family: var(--display); font-size: 1.35rem; color: var(--claret); text-decoration: none; }
.chair-abbr:hover { text-decoration: underline; }
.chair-names { font-size: var(--t-sm); color: var(--walnut-soft); }
@media (max-width: 700px) { .chair-list { grid-template-columns: minmax(0, 1fr); } }

/* Numbered steps (preparing for committee, registration) */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 28px 24px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; border-top: 2px solid var(--walnut); padding-top: 16px; }
.steps li::before { content: counter(step, upper-roman) "."; font-family: var(--display); font-size: 1.6rem; line-height: 1; color: var(--claret); }
.steps h3 { font-weight: 600; font-size: var(--t-base); }
.steps p { font-size: var(--t-sm); color: var(--walnut-soft); }

/* Registration page */
.reg-cards { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .reg-cards { grid-template-columns: minmax(0, 1fr); } }
.reg-card { background: var(--vellum); border: 1px solid var(--rule); border-top: 3px double var(--oxblood); padding: clamp(22px, 3vw, 32px); display: grid; gap: 14px; align-content: start; }
.reg-card h2 { font-family: var(--display); font-size: var(--t-xl); color: var(--oxblood); line-height: 1.15; }
.reg-card p { color: var(--walnut-soft); font-size: var(--t-sm); }
.reg-card-fee { font-size: var(--t-xs) !important; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; color: var(--walnut) !important; border-top: 1px solid var(--rule); padding-top: 12px; }
.reg-card .btn { justify-self: start; }
.btn-disabled { color: var(--walnut-soft); border-color: var(--rule); background: transparent; cursor: default; }

.policies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 2px solid var(--walnut); }
.policies div { padding: 16px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 4px; }
.policies dt { font-weight: 600; }
.policies dd { color: var(--walnut-soft); font-size: var(--t-sm); }
@media (max-width: 700px) { .policies { grid-template-columns: minmax(0, 1fr); } }

/* Contact page */
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--walnut); border-bottom: 1px solid var(--walnut); }
.contact-cards div { padding: 20px 20px 20px 0; min-width: 0; }
.contact-cards div + div { padding-left: 20px; border-left: 1px solid var(--rule); }
.contact-cards dt { font-size: 0.6875rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 600; color: var(--walnut-soft); margin-bottom: 6px; }
.contact-cards dd { font-family: var(--display); font-size: 1.2rem; line-height: 1.35; overflow-wrap: anywhere; }
@media (max-width: 900px) {
  .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-cards div:nth-child(3) { padding-left: 0; border-left: 0; }
  .contact-cards div:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 520px) {
  .contact-cards { grid-template-columns: minmax(0, 1fr); }
  .contact-cards div, .contact-cards div + div { padding: 16px 0; border-left: 0; }
  .contact-cards div + div { border-top: 1px solid var(--rule); }
}

.faq { max-width: 820px; border-top: 2px solid var(--walnut); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--display); font-size: 1.3rem; color: var(--oxblood); line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-family: var(--sans); font-size: 1.5rem; color: var(--claret); }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 0 20px; color: var(--walnut-soft); max-width: 64ch; }

/* A downloadable document */
.doc-tag-link { color: var(--parchment); background: var(--oxblood); border-color: var(--oxblood); text-decoration: none; }
.doc-tag-link:hover { background: var(--claret); color: var(--parchment); }

/* A committee's own page */
.page-head-committee .eyebrow a { color: inherit; text-decoration-thickness: 1px; }
.page-head-committee .cc-agenda { max-width: 52ch; }
.page-head-committee .facts { max-width: 720px; }
.page-head-committee .facts a { color: var(--claret); }
@media (max-width: 640px) {
  .page-head-committee .facts { grid-template-columns: minmax(0, 1fr); }
  .page-head-committee .facts div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--rule); }
}

/* Images on a committee page */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.gallery figure { display: grid; gap: 10px; }
.gallery a { display: block; border: 1px solid var(--rule); background: var(--vellum); }
.gallery img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { font-size: var(--t-sm); color: var(--walnut-soft); }

/* Links to the other committees */
.other-committees { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0 24px; margin-top: 18px; border-top: 2px solid var(--walnut); }
.other-committees li { border-bottom: 1px solid var(--rule); }
.other-committees a { display: grid; gap: 2px; padding: 16px 0; text-decoration: none; }
.oc-abbr { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; color: var(--claret); }
.oc-name { font-size: var(--t-sm); color: var(--walnut-soft); }
.other-committees a:hover .oc-abbr { color: var(--oxblood); text-decoration: underline; text-decoration-thickness: 1px; }
