:root {
  --brand-ink: #16302b;
  --brand-paper: #ffffff;
  --brand-accent: #00655a;
  --brand-accent-2: #c9a758;
  --brand-muted: #6b7478;
  --brand-line: #dcdfdd;
  --brand-dome: #00655a;
  --brand-dome-deep: #00453d;
  --brand-finial: #c9a758;
  --brand-finial-deep: #8f7430;
  --brand-render: #ffffff;
  --brand-stone: #6b7478;
  --brand-stone-pale: #eef0ef;
  --brand-font-display: "TheSeasons", "Didot", "Bodoni 72", Georgia, serif;
  --brand-font-body:
    "AGaramondPro", "EB Garamond", Georgia, "Times New Roman", serif;
  --brand-font-serif: "AGaramondPro", "EB Garamond", Georgia, serif;
  --brand-font-mark: "Didot", "Bodoni 72", Georgia, serif;
  --brand-font-mono: "Menlo", "SFMono-Regular", ui-monospace, monospace;
}
:root {
  color-scheme: light;
  --t-hero: clamp(2.5rem, 1.1rem + 6.4vw, 7rem);
  --t-xl: clamp(2rem, 1.15rem + 3.4vw, 4.1rem);
  --t-lg: clamp(1.5rem, 1.1rem + 1.6vw, 2.4rem);
  --t-md: clamp(1.2rem, 1.05rem + 0.6vw, 1.5rem);
  --t-body: clamp(1.0625rem, 1rem + 0.28vw, 1.1875rem);
  --t-sm: 0.9375rem;
  --t-xs: 0.75rem;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --shell: min(100% - 2 * var(--pad), 76rem);
  --measure: 34rem;
  --rail-w: 5.25rem;
  --bar-h: 4.25rem;
  --gap-xs: 0.5rem;
  --gap-s: 1rem;
  --gap-m: 2rem;
  --gap-l: clamp(3rem, 6vw, 5.5rem);
  --gap-xl: clamp(4.5rem, 10vw, 9rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--brand-render);
  color: var(--brand-ink);
  font-family: var(--brand-font-body);
  font-size: var(--t-body);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  hanging-punctuation: first last;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--brand-finial);
  outline-offset: 3px;
}
::selection {
  background: var(--brand-finial);
  color: var(--brand-dome-deep);
}
.band {
  --fg: var(--brand-ink);
  --fg-soft: var(--brand-stone);
  --gold: var(--brand-finial-deep);
  --rule: var(--brand-line);
  --band-bg: var(--brand-render);
  position: relative;
  background: var(--band-bg);
  color: var(--fg);
  padding-block: var(--gap-xl);
}
.band--pale {
  --band-bg: var(--brand-stone-pale);
  background: var(--band-bg);
}
.band--green {
  --fg: #ffffff;
  --fg-soft: rgba(255, 255, 255, 0.74);
  --gold: var(--brand-finial);
  --rule: rgba(201, 167, 88, 0.38);
  --band-bg: var(--brand-dome);
  background: var(--band-bg);
  color: var(--fg);
}
.band--deep {
  --fg: #ffffff;
  --fg-soft: rgba(255, 255, 255, 0.7);
  --gold: var(--brand-finial);
  --rule: rgba(201, 167, 88, 0.3);
  --band-bg: var(--brand-dome-deep);
  background: var(--band-bg);
  color: var(--fg);
}
.band--tight {
  padding-block: var(--gap-l);
}
.shell {
  width: var(--shell);
  margin-inline: auto;
}
.measure {
  max-width: var(--measure);
}
.display {
  font-family: var(--brand-font-display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-wrap: balance;
  margin: 0;
}
h1.display {
  font-size: var(--t-xl);
}
h2.display {
  font-size: var(--t-lg);
}
.kicker {
  margin: 0 0 var(--gap-s);
  font-family: var(--brand-font-body);
  font-size: var(--t-xs);
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.standfirst {
  font-size: var(--t-md);
  line-height: 1.5;
  font-style: italic;
  color: var(--fg);
  margin: 0;
}
.prose p {
  margin: 0 0 1.1em;
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose b {
  font-weight: 600;
}
.prose i {
  font-style: italic;
}
.ruled {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.ruled:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 1.1s var(--ease) 0.15s;
}
.rv.in .ruled:after,
.ruled.in:after {
  width: min(9rem, 40%);
}
.lede {
  font-size: var(--t-md);
  line-height: 1.55;
}
.small {
  font-size: var(--t-sm);
  color: var(--fg-soft);
}
.tbc {
  display: inline-block;
  font-size: var(--t-xs);
  font-style: italic;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px dashed var(--rule);
  padding: 0.35em 0.7em;
  border-radius: 2px;
}
body {
  --top-ground: var(--brand-dome-deep);
}
body:has(.pagehead) {
  --top-ground: var(--brand-dome);
}
.bar {
  --band-bg: var(--top-ground, var(--brand-dome-deep));
  position: fixed;
  inset: 0 0 auto;
  z-index: 60;
  height: var(--bar-h);
  display: flex;
  align-items: center;
  gap: var(--gap-m);
  padding-inline: var(--pad);
  color: #fff;
  transition:
    background 0.4s var(--ease),
    color 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.bar.is-stuck {
  --band-bg: var(--brand-render);
  background: #fffffff5;
  color: var(--brand-ink);
  box-shadow: 0 1px 0 var(--brand-line);
  backdrop-filter: saturate(160%) blur(8px);
}
.bar-mark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  white-space: nowrap;
}
.bar-name {
  font-family: var(--brand-font-display);
  font-size: 1.0625rem;
  letter-spacing: 0.02em;
}
.bar-years {
  font-family: var(--brand-font-body);
  font-size: 0.7rem;
  font-style: italic;
  letter-spacing: 0.18em;
  color: var(--brand-finial);
}
.bar.is-stuck .bar-years {
  color: var(--brand-finial-deep);
}
.seal {
  display: block;
  line-height: 0;
}
.seal svg {
  width: var(--seal, 9rem);
  height: var(--seal, 9rem);
}
.bar-seal {
  --seal: 2.15rem;
  flex: none;
}
.seal--head {
  --seal: clamp(4.25rem, 5.5vw, 6.25rem);
  color: var(--brand-finial);
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
/* Hero mark: the supplied centenary logo, sized to match the seal it replaces. */
.hero-logo {
  width: clamp(8rem, 14vw, 15rem);
  height: auto;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.seal--hero {
  --seal: clamp(6rem, 9.5vw, 10rem);
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}
.bar-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
}
.bar-nav a {
  text-decoration: none;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-block: 0.4rem;
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.25s var(--ease),
    opacity 0.25s var(--ease);
  opacity: 0.85;
}
.bar-nav a:hover {
  opacity: 1;
  border-bottom-color: currentColor;
}
.bar-nav a[aria-current="page"] {
  opacity: 1;
  border-bottom-color: var(--brand-finial);
}
.bar.is-stuck .bar-nav a[aria-current="page"] {
  border-bottom-color: var(--brand-finial-deep);
}
.bar-cta {
  border: 1px solid currentColor;
  padding: 0.55rem 1rem !important;
  border-bottom-color: currentColor !important;
  opacity: 1 !important;
}
.bar-cta:hover {
  background: var(--brand-finial);
  border-color: var(--brand-finial);
  color: var(--brand-dome-deep);
}
@media (max-width: 48rem) {
  .bar {
    gap: 1rem;
  }
  .bar-name,
  .bar-years {
    display: none;
  }
  .bar-seal {
    --seal: 2rem;
  }
  .bar-nav {
    gap: 0.85rem;
  }
  .bar-nav a {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }
}
.bar-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: var(--p, 0%);
  background: var(--brand-finial);
}
@media (min-width: 62rem) {
  .bar-progress {
    display: none;
  }
}
.rail {
  display: none;
}
@media (min-width: 62rem) {
  body {
    padding-left: var(--rail-w);
  }
  .bar {
    left: var(--rail-w);
  }
  .rail {
    display: block;
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--rail-w);
    z-index: 55;
    background: var(--brand-render);
    border-right: 1px solid var(--brand-line);
    padding-block: calc(var(--bar-h) + 1.5rem) 1.5rem;
    font-family: var(--brand-font-body);
  }
  .rail-inner {
    position: relative;
    height: 100%;
    container-type: size;
  }
  .rail-track {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
  }
  .rail-clip {
    position: absolute;
    inset: 0 0 auto;
    height: var(--rp, 0%);
    overflow: hidden;
    transition: height 0.45s var(--ease);
  }
  .rail-clip .rail-track {
    height: 100cqh;
  }
  .tick {
    height: 1px;
    width: 0.55rem;
    background: #6b74786b;
    flex: none;
  }
  .tick--decade {
    width: 1.35rem;
    background: var(--brand-stone);
  }
  .rail-clip .tick {
    background: #c9a75899;
  }
  .rail-clip .tick--decade {
    background: var(--brand-finial-deep);
  }
  .rail-year {
    position: absolute;
    left: 1.85rem;
    top: calc(var(--rp, 0%) - 0.5em);
    font-family: var(--brand-font-display);
    font-size: 0.95rem;
    color: var(--brand-finial-deep);
    transition: top 0.45s var(--ease);
    pointer-events: none;
  }
  .rail-cap {
    position: absolute;
    left: 1.85rem;
    font-size: var(--t-xs);
    letter-spacing: 0.12em;
    color: var(--brand-stone);
    transition: opacity 0.25s var(--ease);
  }
  .rail-cap--top {
    top: -0.55em;
  }
  .rail-cap--bottom {
    bottom: -0.55em;
  }
}
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  --band-bg: var(--brand-dome-deep);
  --gold: var(--brand-finial);
  --rule: rgba(201, 167, 88, 0.38);
  background: var(--brand-dome-deep);
  overflow: clip;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  filter: grayscale(1) contrast(1.04);
  animation: heroDrift 24s var(--ease) forwards;
}
@keyframes heroDrift {
  0% {
    transform: scale(1.06);
  }
  to {
    transform: scale(1);
  }
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    190deg,
    #00453dc7,
    #00453d85 30%,
    #00453dd6 68%,
    #00453df5
  );
}
.hero-body {
  position: relative;
  z-index: 2;
  width: var(--shell);
  margin-inline: auto;
  padding-block: calc(var(--bar-h) + 2rem) clamp(2.5rem, 5vw, 4.25rem);
}
.hero .kicker {
  color: var(--brand-finial);
}
.hero-title {
  font-family: var(--brand-font-display);
  font-size: var(--t-hero);
  line-height: 0.98;
  letter-spacing: -0.012em;
  margin: 0;
  max-width: 21ch;
}
.hero-title span {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
  margin-bottom: -0.08em;
}
.hero-title span > i {
  display: block;
  font-style: normal;
  animation: riseIn 1.1s var(--ease) both;
}
.hero-title span:nth-child(2) > i {
  animation-delay: 0.12s;
  color: var(--brand-finial);
}
@keyframes riseIn {
  0% {
    transform: translateY(110%);
  }
  to {
    transform: translateY(0);
  }
}
.hero-span {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 0;
  font-family: var(--brand-font-display);
  font-size: clamp(1.1rem, 0.9rem + 0.7vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--brand-finial);
}
.hero-span:after {
  content: "";
  flex: 1;
  max-width: 22rem;
  height: 2px;
  background: var(--brand-finial);
  transform-origin: left;
  animation: drawRule 1.4s var(--ease) 0.5s both;
}
@keyframes drawRule {
  0% {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
.hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--gap-m);
  margin-top: clamp(1.75rem, 3.6vw, 2.75rem);
}
.hero-lead {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.4rem, 2.5vw, 2rem);
}
.hero-cta {
  padding: 1.05rem 2.1rem;
  border-width: 1px;
  background: #00453d59;
}
.hero-cta:hover {
  background: var(--gold);
  color: var(--brand-dome-deep);
}
.hero-standfirst {
  max-width: 40ch;
  font-size: var(--t-md);
  line-height: 1.5;
  font-style: italic;
  color: #ffffffe6;
  margin: 0;
}
.hero-scroll {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-finial);
}
.hero-scroll:after {
  content: "";
  width: 3.5rem;
  height: 1px;
  background: currentColor;
  animation: nudge 2.6s var(--ease) infinite;
}
@keyframes nudge {
  0%,
  to {
    transform: translate(0);
    opacity: 0.5;
  }
  50% {
    transform: translate(0.5rem);
    opacity: 1;
  }
}
.hero-credit {
  position: absolute;
  right: var(--pad);
  bottom: 1.1rem;
  z-index: 2;
  font-size: var(--t-xs);
  font-style: italic;
  color: #ffffff8c;
  max-width: 18rem;
  text-align: right;
}
.plate {
  margin: 0;
}
.plate .mat {
  background: #fff;
  padding: clamp(0.5rem, 1vw, 0.85rem);
  border: 1px solid var(--brand-finial-deep);
  line-height: 0;
  transition: transform 0.5s var(--ease);
}
.plate img {
  width: 100%;
  height: auto;
}
.plate--fixed img {
  height: var(--h, 22rem);
  object-fit: cover;
  object-position: var(--pos, 50% 42%);
}
.plate figcaption {
  margin-top: 0.85rem;
  font-size: var(--t-sm);
  font-style: italic;
  line-height: 1.4;
  color: var(--fg-soft);
  max-width: 46ch;
}
.plate--archive img {
  filter: grayscale(1);
}
.statement-band {
  text-align: center;
}
.statement {
  margin: 0;
  font-family: var(--brand-font-display);
  font-weight: 400;
  font-size: clamp(2.1rem, 0.9rem + 5.1vw, 5rem);
  line-height: 1.04;
  letter-spacing: -0.012em;
  text-wrap: balance;
  color: var(--brand-ink);
}
/* Heritage line beneath the statement note: a full sentence, so sentence case
   and body scale rather than the note's uppercase letterspaced treatment. */
.statement-heritage {
  margin: clamp(0.85rem, 1.6vw, 1.15rem) auto 0;
  max-width: 34rem;
  font-size: var(--t-sm);
  font-style: italic;
  color: var(--fg-soft);
}
.statement-heritage a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition:
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.statement-heritage a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.statement-note {
  margin: clamp(1.1rem, 2vw, 1.6rem) 0 0;
  font-size: var(--t-xs);
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.wipe {
  position: relative;
  margin-top: var(--gap-m);
  background: var(--brand-dome-deep);
  border: 1px solid var(--rule);
  aspect-ratio: 3 / 2;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
}
.wipe-layer {
  position: absolute;
  inset: 0;
}
.wipe-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.wipe-layer--then {
  clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0);
}
.wipe-layer--then img {
  filter: grayscale(1) contrast(1.05);
}
.wipe-year {
  position: absolute;
  bottom: 0;
  font-family: var(--brand-font-display);
  font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem);
  line-height: 1;
  color: var(--brand-finial);
  background: #00453dd1;
  padding: 0.5rem 1rem 0.6rem;
}
.wipe-year--then {
  left: 0;
}
.wipe-year--now {
  right: 0;
}
.wipe-handle {
  position: absolute;
  inset-block: 0;
  left: var(--x, 50%);
  width: 1px;
  background: var(--brand-finial);
  z-index: 3;
}
.wipe-handle:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 3rem;
  height: 3rem;
  transform: translate(-50%, -50%) rotate(45deg);
  border: 1px solid var(--brand-finial);
  background: #00453d8c;
  backdrop-filter: blur(2px);
  transition: background 0.3s var(--ease);
}
.wipe:hover .wipe-handle:before {
  background: var(--brand-finial);
}
.wipe-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}
.wipe-input:focus-visible + .wipe-handle:before {
  background: var(--brand-finial);
}
.wipe-captions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--gap-s);
  margin-top: 0.85rem;
}
.wipe-captions p {
  margin: 0;
  font-size: var(--t-sm);
  font-style: italic;
  color: var(--fg-soft);
}
.stops {
  list-style: none;
  margin: var(--gap-m) 0 0;
  padding: 0;
  position: relative;
}
.stop {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: clamp(1rem, 3vw, 2.5rem);
  align-items: baseline;
  padding: 1.15rem 0;
  border-top: 1px solid var(--rule);
}
.stop:last-child {
  border-bottom: 1px solid var(--rule);
}
.stop-year {
  font-family: var(--brand-font-display);
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem);
  line-height: 1;
  color: var(--gold);
}
.stop-text {
  margin: 0;
  line-height: 1.5;
}
.stop--now .stop-text {
  font-style: italic;
}
.stop--now .stop-year {
  font-weight: 700;
}
.chapter {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  padding-block: var(--gap-l);
  border-top: 1px solid var(--rule);
  scroll-margin-top: calc(var(--bar-h) + 1rem);
}
.chapter:first-of-type {
  border-top: 0;
}
@media (min-width: 55rem) {
  .chapter {
    grid-template-columns: 9rem minmax(0, 1fr) minmax(0, 20rem);
    align-items: start;
  }
  .chapter--wide {
    grid-template-columns: 9rem minmax(0, 1fr);
  }
  .chapter--wide .prose {
    max-width: none;
    columns: 2;
    column-gap: clamp(1.75rem, 3vw, 2.75rem);
  }
  .chapter--wide .prose p {
    break-inside: avoid;
  }
  .chapter-year {
    position: sticky;
    top: calc(var(--bar-h) + 1.5rem);
  }
  .chapter--noyear .chapter-body {
    grid-column: 2;
  }
  .chapter--noyear .stack {
    grid-column: 3;
  }
}
.chapter-year {
  font-family: var(--brand-font-display);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
  line-height: 1;
  color: var(--gold);
}
.chapter-body h2 {
  margin: 0 0 0.35rem;
}
.chapter-body .kicker {
  margin-bottom: 1.4rem;
}
.chapter-stat {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: var(--t-sm);
  font-style: italic;
  color: var(--gold);
}
.quote {
  margin: var(--gap-m) 0 0;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gold);
  max-width: 44ch;
}
.quote p {
  margin: 0;
  font-size: var(--t-md);
  font-style: italic;
  line-height: 1.45;
}
.quote footer {
  margin-top: 0.9rem;
  font-size: var(--t-sm);
  color: var(--fg-soft);
  font-style: normal;
}
.portrait-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: flex-end;
  justify-content: space-between;
}
.portrait-note {
  max-width: 24ch;
  margin: 0 0 0.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: var(--t-sm);
  font-style: italic;
  color: var(--gold);
}
.portraits {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 3vw, 2rem);
}
.portraits .plate {
  width: min-content;
}
.portraits .plate img {
  height: clamp(13rem, 22vw, 17rem);
  width: auto;
  max-width: none;
}
.portraits figcaption strong {
  display: block;
  font-style: normal;
  font-weight: 600;
  color: var(--fg);
}
.link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--rule);
  transition:
    border-color 0.3s var(--ease),
    gap 0.3s var(--ease);
}
.link:after {
  content: "→";
  font-size: 0.9rem;
  letter-spacing: 0;
}
.link:hover {
  border-bottom-color: var(--gold);
  gap: 1rem;
}
/* Paired calls to action - they wrap onto separate lines on narrow screens. */
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap-s);
  align-items: center;
}

.btn {
  display: inline-block;
  font-family: var(--brand-font-body);
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.75rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease);
}
.btn:hover {
  background: var(--gold);
  color: var(--brand-render);
}
.band--green .btn:hover,
.band--deep .btn:hover {
  color: var(--brand-dome-deep);
}
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.ledger {
  margin: var(--gap-m) 0 0;
  display: grid;
  gap: 0;
}
.ledger > div {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: var(--gap-s);
  align-items: baseline;
  padding: 1.1rem 0;
  border-top: 1px solid var(--rule);
}
.ledger > div:last-child {
  border-bottom: 1px solid var(--rule);
}
.ledger dt {
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}
/* In the Details list the dt is a label ("Date"), so label size is right.
   In the Programme the dt is the content - the time itself - and was being
   set at label size against 24px descriptions. */
.ledger--times dt {
  font-size: var(--t-body);
  letter-spacing: 0.08em;
}
.ledger dd {
  margin: 0;
  font-size: var(--t-md);
}
.split {
  display: grid;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (min-width: 55rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .split--wide-left {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  }
  .split--top {
    align-items: start;
  }
  .split--level {
    align-items: stretch;
  }
  /* The timeline column stretches to the row height, but its stops sat
     bunched at the top. Distribute them over the full height so the list
     spans the same vertical extent as the text beside it. */
  .split--level .stops {
    margin-top: 0;
    display: grid;
    grid-auto-rows: 1fr;
  }
  .split--level .stop {
    align-content: center;
  }
  .col {
    display: flex;
    flex-direction: column;
  }
  .col > .push {
    margin-top: auto;
  }
}
.columns {
  columns: 2;
  column-gap: clamp(1.75rem, 3vw, 2.75rem);
}
@media (max-width: 48rem) {
  .columns {
    columns: 1;
  }
}
.stack > * + * {
  margin-top: var(--gap-m);
}
.stack-s > * + * {
  margin-top: var(--gap-s);
}
.foot {
  background: var(--brand-dome-deep);
  color: #fff;
  padding-block: var(--gap-l);
  --gold: var(--brand-finial);
  --fg-soft: rgba(255, 255, 255, 0.66);
  --rule: rgba(201, 167, 88, 0.28);
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--gap-m);
  padding-bottom: var(--gap-m);
  border-bottom: 1px solid var(--rule);
}
.foot-motto {
  font-family: var(--brand-font-display);
  font-size: clamp(1.5rem, 1rem + 2vw, 2.5rem);
  line-height: 1.1;
  margin: 0;
  color: var(--brand-finial);
}
.foot-values {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ffffffb3;
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--gap-s) var(--gap-m);
  padding-top: var(--gap-m);
  font-size: var(--t-sm);
  color: var(--fg-soft);
}
.foot-bottom a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}
.foot-bottom a:hover {
  border-bottom-color: var(--brand-finial);
}
.foot-logo {
  width: 5rem;
  height: auto;
  margin-bottom: 0.9rem;
}
.pagehead {
  --band-bg: var(--brand-dome);
  background: var(--brand-dome);
  overflow: clip;
  color: #fff;
  --gold: var(--brand-finial);
  --fg-soft: rgba(255, 255, 255, 0.74);
  padding-block: calc(var(--bar-h) + clamp(3.5rem, 8vw, 7rem))
    clamp(3.5rem, 8vw, 7rem);
}
.pagehead .hero-title {
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4.4rem);
  max-width: 22ch;
}
.pagehead-standfirst {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
  max-width: 46ch;
  font-size: var(--t-md);
  font-style: italic;
  line-height: 1.5;
  color: #ffffffe6;
}
.pagehead-standfirst p {
  margin: 0 0 0.7em;
}
.pagehead-standfirst p:last-child {
  margin-bottom: 0;
}
.pagehead-standfirst b {
  font-weight: 600;
  font-style: normal;
  color: var(--gold);
}
.rv {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.rv.in {
  opacity: 1;
  transform: none;
}
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}
.skip:focus {
  left: var(--pad);
  top: 0.5rem;
  z-index: 99;
  background: #fff;
  color: var(--brand-ink);
  padding: 0.75rem 1rem;
  border: 1px solid var(--brand-finial-deep);
}
@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;
  }
  .rv {
    opacity: 1;
    transform: none;
  }
  .ruled:after {
    width: min(9rem, 40%);
  }
}
.showpiece {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: min(112vw, 138vh, 92rem);
  overflow: hidden;
  background: var(--brand-dome);
  isolation: isolate;
}
.showpiece img {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 4%);
}
.showpiece-band {
  --fg: #ffffff;
  --gold: var(--brand-finial);
  position: relative;
  border-top: 2px solid var(--brand-finial);
  background: var(--brand-dome);
  padding-block: clamp(1.3rem, 2.4vw, 1.9rem);
  color: var(--fg);
}
.showpiece-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  column-gap: var(--gap-m);
  row-gap: clamp(0.7rem, 1.6vw, 1.3rem);
}
.showpiece-quote {
  flex: 1 0 100%;
  margin: 0;
}
.showpiece-source {
  flex: 1 1 22rem;
}
.showpiece-quote p {
  margin: 0;
  font-size: clamp(1.15rem, 0.85rem + 1.15vw, 2rem);
  font-style: italic;
  line-height: 1.34;
  text-wrap: pretty;
}
.showpiece-source,
.showpiece-credit {
  margin: 0;
  font-size: var(--t-xs);
  letter-spacing: 0.05em;
}
.showpiece-source {
  color: var(--gold);
}
.showpiece-credit {
  color: #ffffff9e;
  font-style: italic;
  text-align: right;
}
.guests {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.75rem, 3vw, 2.75rem) clamp(1.25rem, 2.5vw, 2.25rem);
  margin-top: clamp(2rem, 4vw, 3rem);
}
.guests .plate {
  width: 100%;
}
.guests .plate img {
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: var(--pos, 50% 30%);
}
.guest-name {
  margin: 0.9rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.05rem, 0.95rem + 0.35vw, 1.25rem);
  font-weight: 600;
  line-height: 1.2;
}
.guest-role {
  margin: 0.3rem 0 0;
  color: var(--gold);
  font-size: var(--t-sm);
  font-style: italic;
  line-height: 1.35;
}
.deeds {
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  display: grid;
  gap: 0;
  list-style: none;
  padding: 0;
}
.deeds li {
  border-top: 1px solid var(--rule);
  padding: clamp(1.1rem, 2vw, 1.5rem) 0;
  font-size: var(--t-body);
  line-height: 1.5;
}
.deeds li:last-child {
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 60rem) {
  .guests {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 34rem) {
  .guests {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }
  .showpiece {
    min-height: min(215vw, 108vh);
  }
  .showpiece-quote p {
    font-size: 1.05rem;
    line-height: 1.32;
  }
  .showpiece-credit {
    text-align: left;
  }
}
.register-label {
  margin: var(--gap-m) 0 0;
  color: var(--gold);
  font-family: var(--display);
  font-size: var(--t-md);
  font-weight: 600;
  letter-spacing: 0.02em;
}
.contact-lines {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0;
}
.contact-lines > span {
  color: var(--gold);
}

/* --- mobile refinements ------------------------------------------------- */
/* Footer: the secondary nav sets display:grid+gap inline, but .stack-s also
   adds margin-top to each sibling, so links were spaced by gap + margin.
   Grid also stretched them full-width, giving over-long underlines. */
.foot-bottom {
  align-items: start;
}
.foot-bottom nav.stack-s > * + * {
  margin-top: 0;
}
.foot-bottom nav {
  justify-items: start;
}
/* Header CTA stays visible below 48rem; shorten it to "Attend" once the full
   label can no longer sit beside both nav links. */
@media (max-width: 34rem) {
  .bar-cta-rest {
    display: none;
  }
  /* Reclaim some of the bar's side padding so the wider "Register" label
     still clears the logo and the screen edge. */
  .bar {
    padding-inline: 0.875rem;
  }
  .bar-cta {
    padding: 0.5rem 0.75rem !important;
  }
  .bar-nav {
    gap: 0.6rem;
  }
}
/* Small phones (<=384px, which includes the very common 360px Android width):
   three nav items plus the logo need the bar's own padding back and slightly
   tighter type to clear the wider "Register" label. */
@media (max-width: 24rem) {
  .bar {
    padding-inline: 0.75rem;
  }
  .bar-nav {
    gap: 0.45rem;
  }
  .bar-nav a {
    font-size: 0.6rem;
    letter-spacing: 0.03em;
  }
  .bar-cta {
    padding: 0.45rem 0.6rem !important;
  }
}
/* Footer: stack to a single column instead of wrapping into a lopsided
   space-between grid. */
@media (max-width: 34rem) {
  .foot-bottom {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    gap: var(--gap-s);
  }
  .foot-bottom > * {
    max-width: 100%;
  }
}

/* Visit page: details and registration read as one centred column rather than
   two side-by-side halves, which gives the embedded form room to breathe. */
.visit-column {
  max-width: 46rem;
}
.register-block {
  margin-top: var(--gap-l);
}
/* --- embedded Cognito registration form --------------------------------- */
/* seamless.js renders real DOM into .register-form, so the form is styled to
   match the site rather than arriving in Cognito's Arial/red defaults.
   Cognito ships its form CSS with !important throughout (its "protect-css"
   mode), so these overrides have to match that weight to take effect. */
.register-form {
  margin-top: 0.9rem;
}
.register-form .cog-cognito,
.register-form .cog-body,
.register-form .cog-input input,
.register-form .cog-input select,
.register-form .cog-input textarea,
.register-form .cog-choice__value {
  font-family: var(--brand-font-body) !important;
  color: var(--brand-ink) !important;
}
.register-form .cog-cognito,
.register-form .cog-body {
  font-size: var(--t-sm) !important;
}
.register-form .cog-heading {
  font-family: var(--brand-font-display) !important;
  font-weight: 400 !important;
  font-size: var(--t-md) !important;
  letter-spacing: 0.01em !important;
  color: var(--brand-dome) !important;
}
.register-form .cog-label {
  font-family: var(--brand-font-body) !important;
  font-size: var(--t-xs) !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--brand-stone) !important;
}
.register-form .cog-helptext {
  font-family: var(--brand-font-body) !important;
  font-style: italic !important;
  color: var(--brand-stone) !important;
}
.register-form .cog-asterisk {
  color: var(--brand-finial-deep) !important;
}
.register-form .cog-input input,
.register-form .cog-input select,
.register-form .cog-input textarea,
.register-form .cog-choice__value {
  font-size: var(--t-sm) !important;
  border-radius: 0 !important;
  border-color: var(--brand-line) !important;
}
.register-form .cog-input input:focus,
.register-form .cog-input select:focus,
.register-form .cog-input textarea:focus {
  border-color: var(--brand-finial-deep) !important;
  outline: 2px solid var(--brand-finial) !important;
  outline-offset: 1px !important;
}
/* Buttons take the site's .btn treatment. */
.register-form .cog-button {
  font-family: var(--brand-font-body) !important;
  font-size: var(--t-xs) !important;
  font-weight: 600 !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
}
.register-form .cog-button--primary,
.register-form .cog-button--submit {
  background: transparent !important;
  border: 1px solid var(--brand-finial-deep) !important;
  color: var(--brand-finial-deep) !important;
  padding: 1rem 1.75rem !important;
}
.register-form .cog-button--primary:hover,
.register-form .cog-button--submit:hover {
  background: var(--brand-finial-deep) !important;
  color: var(--brand-render) !important;
}
.register-form .cog-button--secondary {
  background: transparent !important;
  border: 1px solid var(--brand-line) !important;
  color: var(--brand-dome) !important;
}
.register-form .cog-button--secondary:hover {
  border-color: var(--brand-finial-deep) !important;
  color: var(--brand-finial-deep) !important;
}
.register-form .cog-cognito a {
  color: var(--brand-finial-deep) !important;
  text-decoration-color: var(--brand-line) !important;
}
.register-form .cog-cognito a:hover {
  text-decoration-color: var(--brand-finial-deep) !important;
}
.gallery {
  position: relative;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.gallery-viewport {
  --gallery-gutter: max(var(--pad), calc((100% - var(--shell)) / 2));
  overflow-x: auto;
  overflow-y: hidden;
  padding-inline: var(--gallery-gutter);
  scroll-padding-inline: var(--gallery-gutter);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.gallery-viewport::-webkit-scrollbar {
  display: none;
}
.gallery-track {
  --gh: clamp(16rem, 30vw, 24rem);
  display: flex;
  align-items: flex-start;
  gap: clamp(1.25rem, 2.6vw, 2.25rem);
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery-slide {
  flex: 0 0 auto;
  width: max(calc(var(--gh) * var(--ar)), 15rem);
  max-width: 100%;
  scroll-snap-align: start;
}
.gallery-figure {
  margin: 0;
}
.gallery-open {
  display: block;
  width: calc(var(--gh) * var(--ar));
  max-width: 100%;
  height: var(--gh);
  padding: 0;
  border: 1px solid var(--brand-finial-deep);
  background: #fff;
  cursor: zoom-in;
  transition: box-shadow 0.4s var(--ease);
}
.gallery-open:hover {
  box-shadow: 0 0.6rem 1.6rem rgba(22, 48, 43, 0.16);
}
.gallery-open img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-figure figcaption {
  margin-top: 0.85rem;
  font-size: var(--t-sm);
  font-style: italic;
  line-height: 1.4;
  color: var(--fg-soft);
}
.gallery-controls {
  display: flex;
  align-items: center;
  gap: var(--gap-s);
  margin-top: clamp(1.75rem, 3.5vw, 2.5rem);
}
.gallery-btn {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  transition:
    background 0.3s var(--ease),
    color 0.3s var(--ease),
    opacity 0.3s var(--ease);
}
.gallery-btn svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}
.gallery-btn:hover:not(:disabled) {
  background: var(--gold);
  color: var(--brand-render);
}
.gallery-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.gallery-count {
  margin: 0 0 0 auto;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-soft);
  font-variant-numeric: tabular-nums;
}
@media (max-width: 40rem) {
  .gallery-track {
    --gh: min(15rem, calc((100vw - 2 * var(--pad)) / 1.63));
  }
}

.lightbox {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--brand-dome-deep);
  color: #fff;
  overflow: hidden;
}
.lightbox::backdrop {
  background: rgba(0, 24, 21, 0.92);
}
.lightbox-inner {
  display: grid;
  grid-template-rows: 1fr auto;
  height: 100%;
  padding: clamp(0.75rem, 2vw, 1.5rem);
  gap: clamp(0.75rem, 1.6vw, 1.25rem);
}
.lightbox-stage {
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.lightbox-stage img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  background: #fff;
  border: 1px solid var(--brand-finial);
}
.lightbox.can-zoom .lightbox-stage img {
  cursor: zoom-in;
}
.lightbox.is-zoomed .lightbox-stage {
  place-items: start;
}
.lightbox.is-zoomed .lightbox-stage img {
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}
.lightbox-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--gap-s);
  border-top: 1px solid rgba(201, 167, 88, 0.38);
  padding-top: clamp(0.75rem, 1.6vw, 1.1rem);
}
.lightbox-caption {
  flex: 1 1 18rem;
  margin: 0;
  font-size: var(--t-sm);
  font-style: italic;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
}
.lightbox-nav {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
}
.lightbox-count {
  margin: 0 0.4rem;
  font-size: var(--t-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brand-finial);
  font-variant-numeric: tabular-nums;
}
.lightbox .gallery-btn {
  --gold: var(--brand-finial);
}
.lightbox .gallery-btn:hover:not(:disabled) {
  color: var(--brand-dome-deep);
}
.lightbox-close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1.5rem);
  right: clamp(0.75rem, 2vw, 1.5rem);
  z-index: 2;
  background: var(--brand-dome-deep);
}
.lightbox-hint {
  flex: 0 0 auto;
  margin: 0;
  display: none;
  font-size: var(--t-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.lightbox.can-zoom .lightbox-hint {
  display: block;
}
@media (max-width: 40rem) {
  .lightbox.can-zoom .lightbox-hint {
    display: none;
  }
}
