/* Khalsa Jatha British Isles, v2. Plum and gold from the Gurdwara's own emblem. */

@font-face {
  font-family: "Libre Caslon Display";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/libre-caslon-display-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal; font-weight: 200 900; font-display: swap;
  src: url("/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic; font-weight: 200 900; font-display: swap;
  src: url("/fonts/source-sans-3-latin-wght-italic.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face { font-family: "Caslon Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Sans Fallback"; src: local("Arial"), local("Helvetica Neue"), local("Helvetica"); size-adjust: 94%; ascent-override: 98%; descent-override: 29%; }

:root {
  --plum: #520a40;
  --plum-deep: #3b0730;
  --plum-soft: #6a1f57;
  --gold: #c8a060;
  --gold-light: #e9d3a3;
  --gold-ink: #7d5a1e;
  --cream: #f8f3ea;
  --cream-2: #efe6d6;
  --cream-3: #e4d8c2;
  --ink: #241a22;
  --ink-2: #4d4249;
  --ink-3: #5f5457;
  --line: rgba(36, 26, 34, 0.14);
  --line-strong: rgba(36, 26, 34, 0.4);
  --focus: #520a40;
  --display: "Libre Caslon Display", "Caslon Fallback", Georgia, serif;
  --sans: "Source Sans 3", "Sans Fallback", Arial, sans-serif;
  --measure: 38rem;
  --gutter: clamp(1rem, 4vw, 2.75rem);
  --wrap: 80rem;
  --radius: 6px;
  --radius-lg: 14px;
  --step--1: clamp(0.9rem, 0.86rem + 0.2vw, 1rem);
  --step-0: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  --step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.4rem + 1vw, 2.3rem);
  --step-3: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
  --step-4: clamp(2.7rem, 1.9rem + 4.2vw, 5.6rem);
  --header-h: 4.5rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: var(--step-0); line-height: 1.55; text-rendering: optimizeLegibility; }
img, svg, iframe, picture { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--gold); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.06; margin: 0 0 0.5em; letter-spacing: -0.008em; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-family: var(--sans); font-weight: 600; line-height: 1.25; }
p, ul, ol, dl { margin: 0 0 1em; max-width: var(--measure); }
ul, ol { padding-left: 1.2em; }
li { margin-bottom: 0.3em; }
strong { font-weight: 650; }
small, .small { font-size: var(--step--1); }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
address { font-style: normal; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2 * var(--gutter), 52rem); margin-inline: auto; }
.eyebrow { font-family: var(--sans); font-size: var(--step--1); font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); margin: 0 0 0.75rem; }
.on-dark .eyebrow { color: var(--gold); }
.hero .today .eyebrow, .today .eyebrow { color: var(--gold-ink); text-shadow: none; }
.hero .today .arrow-link, .on-dark .today .arrow-link { color: var(--plum); }
.lead { font-size: var(--step-1); line-height: 1.4; color: var(--ink-2); }
.on-dark .lead { color: rgba(248, 243, 234, 0.88); }
.measure { max-width: var(--measure); }
.flow > * + * { margin-top: 1rem; }
.note { font-size: var(--step--1); color: var(--ink-3); }
.on-dark .note { color: rgba(248, 243, 234, 0.72); }

.skip { position: absolute; left: 1rem; top: -4rem; background: var(--plum); color: var(--cream); padding: 0.6rem 1rem; z-index: 100; border-radius: var(--radius); }
.skip:focus { top: 1rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 3rem; padding: 0.6rem 1.35rem; font-family: var(--sans); font-weight: 650; font-size: var(--step-0); line-height: 1.2; text-decoration: none; border-radius: 999px; border: 1.5px solid var(--plum); background: var(--plum); color: var(--cream); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.btn:hover { background: var(--plum-soft); border-color: var(--plum-soft); text-decoration: none; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--plum); }
.btn-ghost:hover { background: var(--plum); color: var(--cream); }
.on-dark .btn-ghost { color: var(--cream); border-color: rgba(248, 243, 234, 0.6); }
.on-dark .btn-ghost:hover { background: var(--cream); color: var(--plum); border-color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.arrow-link { font-weight: 650; text-decoration: none; display: inline-flex; gap: 0.4rem; align-items: baseline; color: var(--plum); }
.on-dark .arrow-link { color: var(--gold-light); }
.arrow-link::after { content: "\2192"; transition: transform 0.2s; }
.arrow-link:hover { text-decoration: underline; }
@media (hover: hover) and (pointer: fine) { .arrow-link:hover::after { transform: translateX(0.25em); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--cream); border-bottom: 1px solid var(--line); }
.header-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: var(--ink); min-height: 2.75rem; }
.brand img { width: 3rem; height: 3rem; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--display); font-size: 1.35rem; letter-spacing: -0.01em; color: var(--plum); }
.brand-sub { font-size: 0.7rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); margin-top: 0.2rem; white-space: nowrap; }
@media (max-width: 22.5em) { .brand-sub { font-size: 0.58rem; letter-spacing: 0.06em; } .brand-name { font-size: 1.15rem; } }
.primary-nav { display: none; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(0.5rem, 1.5vw, 1.5rem); align-items: center; }
.primary-nav a { text-decoration: none; font-weight: 600; font-size: 1rem; padding: 0.5rem 0.1rem; display: inline-block; border-bottom: 2px solid transparent; color: var(--ink); }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.primary-nav .btn { padding: 0.45rem 1.1rem; min-height: 2.6rem; border-bottom: 1.5px solid var(--gold); color: var(--ink); }
.primary-nav .btn:hover { border-bottom-color: var(--gold-light); }
.menu-details { position: static; }
.menu-details > summary { list-style: none; }
.menu-details > summary::-webkit-details-marker { display: none; }
.menu-btn { display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem; min-width: 2.75rem; padding: 0.4rem 0.9rem; background: transparent; border: 1.5px solid var(--plum); border-radius: 999px; color: var(--plum); font: inherit; font-weight: 650; cursor: pointer; }
.menu-btn .bars { width: 1.1rem; height: 0.8rem; position: relative; display: block; }
.menu-btn .bars::before, .menu-btn .bars::after, .menu-btn .bars span { content: ""; position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
.menu-btn .bars::before { top: 0; } .menu-btn .bars span { top: 50%; margin-top: -1px; } .menu-btn .bars::after { bottom: 0; }
.menu-details[open] .bars::before { transform: translateY(0.38rem) rotate(45deg); }
.menu-details[open] .bars::after { transform: translateY(-0.38rem) rotate(-45deg); }
.menu-details[open] .bars span { opacity: 0; }
.menu-btn .menu-label-close { display: none; }
.menu-details[open] .menu-label-open { display: none; }
.menu-details[open] .menu-label-close { display: inline; }
.menu { background: var(--plum-deep); color: var(--cream); border-top: 1px solid rgba(248, 243, 234, 0.12); position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - var(--header-h)); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; box-shadow: 0 24px 48px rgba(36, 26, 34, 0.35); z-index: 30; }
.menu-grid { display: grid; gap: 1.5rem 2rem; padding: 1.5rem 0 2rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.menu-group h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.5rem; }
.menu-group ul { list-style: none; margin: 0; padding: 0; }
.menu-group a { display: block; padding: 0.5rem 0; text-decoration: none; font-size: 1.1rem; font-weight: 500; min-height: 2.75rem; border-bottom: 1px solid rgba(248, 243, 234, 0.12); }
.menu-group a:hover, .menu-group a[aria-current="page"] { color: var(--gold-light); }
.menu-contact { padding: 0 0 1.5rem; font-size: 1rem; color: rgba(248, 243, 234, 0.8); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; }
.menu-contact a { color: var(--cream); }
@media (min-width: 64em) { .primary-nav { display: block; } .menu-btn .bars { display: none; } }

/* Sections */
.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-tight { padding-block: clamp(2rem, 5vw, 4rem); }
.on-dark { background: var(--plum); color: var(--cream); }
.on-deep { background: var(--plum-deep); color: var(--cream); }
.on-cream-2 { background: var(--cream-2); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; }

/* Photo hero */
.hero { position: relative; background: var(--plum-deep); color: var(--cream); }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.js .hero-media img { animation: hero-drift 18s ease-out forwards; }
@keyframes hero-drift { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(59, 7, 48, 0.25) 0%, rgba(59, 7, 48, 0.1) 35%, rgba(59, 7, 48, 0.78) 72%, rgba(59, 7, 48, 0.94) 100%); }
.hero-inner { position: relative; min-height: min(78vh, 46rem); display: flex; flex-direction: column; justify-content: flex-end; padding-block: clamp(5rem, 14vw, 8rem) clamp(2.5rem, 6vw, 4.5rem); }
.hero h1 { margin-bottom: 0.35em; max-width: 12ch; text-shadow: 0 2px 24px rgba(36, 26, 34, 0.35); }
.hero h1 .thin { display: block; font-size: 0.42em; color: var(--gold-light); margin-top: 0.4em; letter-spacing: 0; max-width: 30ch; }
.hero .lead { max-width: 34rem; text-shadow: 0 1px 12px rgba(36, 26, 34, 0.4); }
.hero .eyebrow { color: var(--gold-light); text-shadow: 0 1px 12px rgba(36, 26, 34, 0.5); }
.hero-grid { display: grid; gap: 2rem; align-items: end; }
@media (min-width: 56em) {
  .hero-inner { min-height: min(86vh, 52rem); }
  .hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(21rem, 26rem); gap: clamp(2rem, 5vw, 6rem); }
}

/* Today card: sits on the hero on desktop; pulled up over the photo on phones */
.today { background: var(--cream); color: var(--ink); border-radius: var(--radius-lg); padding: clamp(1.25rem, 3vw, 1.75rem); position: relative; box-shadow: 0 30px 60px rgba(36, 26, 34, 0.35); }
.today::before { content: ""; position: absolute; left: 0; top: 1.25rem; bottom: 1.25rem; width: 4px; background: var(--gold); border-radius: 0 2px 2px 0; }
.today-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 0.25rem 1rem; border-bottom: 1px solid var(--line-strong); padding-bottom: 0.75rem; margin-bottom: 0.5rem; }
.today-head h2 { font-size: var(--step-1); margin: 0; }
.today-head .today-day { font-size: var(--step--1); font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold-ink); }
.today ol { list-style: none; margin: 0; padding: 0; max-width: none; }
.today li { display: grid; grid-template-columns: 5.2rem 1fr; gap: 0.75rem; align-items: baseline; padding: 0.45rem 0; border-bottom: 1px solid var(--line); }
.today li:last-child { border-bottom: 0; }
.today .t { font-family: var(--display); font-size: var(--step-1); font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--plum); }
.today .n { font-weight: 600; }
.today .d { display: block; color: var(--ink-3); font-size: var(--step--1); font-weight: 400; }
.today li.is-next { background: var(--cream-2); margin-inline: -0.6rem; padding-inline: 0.6rem; border-radius: var(--radius); }
.today li.is-next .nm::after { content: "Next"; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--cream); background: var(--plum); border-radius: 999px; padding: 0.12em 0.55em; margin-left: 0.6em; vertical-align: middle; }
.today li.is-past, .today li.is-past .t { color: var(--ink-3); }
.today-label { margin: 0.75rem 0 0.25rem; }
.today-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; margin-top: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--line-strong); font-size: var(--step--1); }
.today-foot strong { font-weight: 650; }
@media (max-width: 55.99em) {
  /* Phones and tablets: the photo is a band at the top, the words sit on plum below it, and the Today card overlaps the strip. */
  .hero-media { position: relative; height: 46vh; min-height: 17rem; max-height: 26rem; }
  .hero-media::after { background: linear-gradient(180deg, rgba(59, 7, 48, 0.05) 0%, rgba(59, 7, 48, 0.1) 55%, rgba(59, 7, 48, 0.9) 100%); }
  .hero-inner { min-height: 0; padding-top: 0.5rem; padding-bottom: 0; margin-top: -3.5rem; }
  .hero h1, .hero .lead, .hero .eyebrow { text-shadow: none; }
  .hero-grid .today { margin-bottom: -4.5rem; }
  .after-hero { padding-top: 5.5rem; }
}

/* Visit strip */
.strip { background: var(--plum); color: var(--cream); }
.strip-grid { display: grid; gap: 1.25rem 2rem; padding-block: 1.75rem; }
.strip-item { display: flex; flex-direction: column; gap: 0.2rem; }
.strip-item .k { font-size: 0.78rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.strip-item .v { font-size: var(--step-0); }
.strip-item a { color: var(--cream); }
@media (min-width: 48em) { .strip-grid { grid-template-columns: repeat(3, 1fr); padding-block: 2.25rem; } }

/* Story rows: photo plus text, alternating */
.stories { display: grid; gap: clamp(3rem, 8vw, 6rem); }
.story { display: grid; gap: 1.5rem; align-items: center; }
.story-media { position: relative; }
.story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.story-media .num { position: absolute; left: -0.25rem; top: -1rem; font-family: var(--display); font-size: clamp(3.5rem, 8vw, 6rem); line-height: 1; color: var(--gold); text-shadow: 0 2px 10px rgba(36, 26, 34, 0.35); }
.story-text h3 { font-size: var(--step-3); margin-bottom: 0.4em; }
.story-text p { font-size: var(--step-0); color: var(--ink-2); }
.story-text .arrow-link { margin-top: 0.5rem; }
@media (min-width: 56em) {
  .story { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); }
  .story:nth-child(even) .story-media { order: 2; }
  .story:nth-child(even) .story-text { order: 1; }
  .story-media img { aspect-ratio: 5 / 4; }
  .story:nth-child(odd) .story-media { margin-left: calc(-1 * var(--gutter)); }
  .story:nth-child(odd) .story-media img { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
  .story:nth-child(even) .story-media { margin-right: calc(-1 * var(--gutter)); }
  .story:nth-child(even) .story-media img { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
  .story:nth-child(even) .story-media .num { left: auto; right: 1rem; }
}

/* Media embed */
.embed { position: relative; width: 100%; aspect-ratio: 16 / 9; background: var(--plum-deep); border-radius: var(--radius-lg); overflow: hidden; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-tall { aspect-ratio: auto; height: 34rem; background: var(--cream); border: 1px solid var(--line); }
.media-grid { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 56em) { .media-grid { grid-template-columns: minmax(0, 2fr) minmax(16rem, 1fr); } }

/* Index list */
.index { list-style: none; margin: 0; padding: 0; max-width: none; border-top: 1px solid var(--line-strong); }
.index li { margin: 0; border-bottom: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: baseline; padding: 1.1rem 0; text-decoration: none; }
.index .num { font-family: var(--display); font-size: var(--step-1); color: var(--gold-ink); }
.index .title { font-family: var(--display); font-size: var(--step-2); line-height: 1.1; }
.index .desc { display: block; font-family: var(--sans); font-size: var(--step-0); color: var(--ink-2); margin-top: 0.3rem; max-width: 36rem; }
.index .go { font-size: var(--step-1); transition: transform 0.2s; color: var(--plum); }
@media (hover: hover) and (pointer: fine) { .index a:hover .go { transform: translateX(0.3em); } }
.index a:hover .title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.12em; }

/* Heritage band */
.heritage { background: var(--cream-2); position: relative; overflow: hidden; }
.heritage-grid { display: grid; gap: 2rem; }
.big-year { font-family: var(--display); font-size: clamp(5.5rem, 17vw, 12rem); line-height: 0.9; letter-spacing: -0.03em; color: var(--plum); margin: 0; }
.big-year small { display: block; font-family: var(--sans); font-size: var(--step--1); font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-ink); margin-top: 0.75rem; }
.heritage-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.heritage-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.heritage-photos figcaption { font-size: var(--step--1); color: var(--ink-3); margin-top: 0.4rem; }
.heritage-photos figure { margin: 0; }
@media (min-width: 56em) { .heritage-grid { grid-template-columns: minmax(16rem, 0.8fr) minmax(0, 1.5fr); align-items: center; gap: 4rem; } .heritage-photos { margin-top: 2rem; } }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; max-width: none; }
.timeline li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem 1.5rem; padding: 1.25rem 0; border-top: 1px solid var(--line-strong); }
.timeline .year { font-family: var(--display); font-size: var(--step-2); line-height: 1; color: var(--plum); }
.timeline h3 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.timeline p { margin: 0; }
@media (max-width: 30em) { .timeline li { grid-template-columns: 1fr; gap: 0.3rem; } }

/* Support row */
.support-grid { display: grid; gap: 1.5rem; }
.support { padding: 1.75rem; border: 1px solid rgba(200, 160, 96, 0.4); border-radius: var(--radius-lg); display: flex; flex-direction: column; gap: 0.5rem; background: rgba(59, 7, 48, 0.35); }
.support h3 { font-size: var(--step-2); margin: 0; color: var(--gold-light); }
.support p { margin: 0; color: rgba(248, 243, 234, 0.88); flex: 1; }
.support .btn { align-self: flex-start; margin-top: 0.75rem; }
@media (min-width: 48em) { .support-grid { grid-template-columns: repeat(3, 1fr); } }

/* Page head, with or without photo */
.page-head { position: relative; background: var(--plum); color: var(--cream); overflow: hidden; }
.page-head .wrap { position: relative; padding-block: clamp(3rem, 8vw, 6rem) clamp(2rem, 5vw, 4rem); }
.page-head h1 { font-size: var(--step-4); max-width: 14ch; }
.page-head .lead { max-width: 40rem; color: rgba(248, 243, 234, 0.9); }
.page-head .eyebrow { color: var(--gold-light); }
.page-head-media { position: absolute; inset: 0; }
.page-head-media img { width: 100%; height: 100%; object-fit: cover; }
.page-head-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(59, 7, 48, 0.35) 0%, rgba(59, 7, 48, 0.55) 45%, rgba(59, 7, 48, 0.92) 100%); }
.page-head.has-media .wrap { min-height: min(52vh, 30rem); display: flex; flex-direction: column; justify-content: flex-end; padding-top: clamp(6rem, 16vw, 10rem); }
.page-head.has-media h1, .page-head.has-media .lead, .page-head.has-media .eyebrow { text-shadow: 0 2px 20px rgba(36, 26, 34, 0.45); }
.page-head-mark { position: absolute; right: -3rem; bottom: -4rem; width: clamp(14rem, 30vw, 24rem); opacity: 0.12; pointer-events: none; }

/* Two-column body */
.body-grid { display: grid; gap: 2.5rem; }
.sidebar { align-self: start; }
.sidebar-box { background: var(--cream-2); padding: 1.35rem; border-radius: var(--radius-lg); border-top: 3px solid var(--gold); }
.sidebar-box h2, .sidebar-box h3 { font-size: var(--step-1); margin-bottom: 0.5rem; }
.sidebar-box p:last-child { margin-bottom: 0; }
.sidebar-box ul { padding-left: 1.1em; }
.sidebar-photo { margin: 0 0 1rem; }
.sidebar-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
@media (min-width: 56em) { .body-grid { grid-template-columns: minmax(0, 1fr) 19rem; gap: 4.5rem; } .sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); } }

/* Definition pairs */
.pairs { display: grid; grid-template-columns: max-content 1fr; gap: 0.4rem 1.25rem; margin: 0 0 1rem; max-width: var(--measure); }
.pairs dt { font-weight: 650; }
.pairs dd { margin: 0; }
@media (max-width: 24em) { .pairs { grid-template-columns: 1fr; gap: 0 } .pairs dd { margin-bottom: 0.6rem; } }

/* Programme table */
.prog { display: grid; gap: 2rem; }
.prog-day { border-top: 3px solid var(--plum); }
.prog-day h3 { font-size: var(--step-1); font-family: var(--sans); font-weight: 650; padding: 0.75rem 0 0.25rem; margin: 0; }
.prog-day ol { list-style: none; margin: 0; padding: 0; max-width: none; }
.prog-day li { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 0.6rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.prog-day .t { font-family: var(--display); font-size: var(--step-2); line-height: 1; font-variant-numeric: tabular-nums; color: var(--plum); }
.prog-day .n { font-weight: 600; font-size: var(--step-0); }
.prog-day .d { display: block; color: var(--ink-3); font-size: var(--step--1); font-weight: 400; }
@media (min-width: 48em) { .prog { grid-template-columns: 1fr 1fr; gap: 3rem; } }

/* Steps */
.steps { list-style: none; counter-reset: step; margin: 0 0 1.5rem; padding: 0; max-width: var(--measure); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 2.6rem 1fr; gap: 0.75rem; padding: 0.9rem 0; border-top: 1px solid var(--line); margin: 0; }
.steps li::before { content: counter(step); font-family: var(--display); font-size: var(--step-2); line-height: 1; color: var(--gold-ink); }
.steps h3 { font-family: var(--sans); font-weight: 650; font-size: var(--step-0); margin: 0 0 0.2rem; }
.steps p { margin: 0; }

/* Feature list */
.features { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; max-width: none; border-top: 1px solid var(--line-strong); }
.features li { padding: 1.25rem 0; border-bottom: 1px solid var(--line); margin: 0; display: grid; gap: 0.3rem 2rem; align-items: start; }
.features h3 { font-size: var(--step-1); margin: 0; }
.features p { margin: 0; }
@media (min-width: 48em) { .features li { grid-template-columns: 14rem 1fr; } }

/* People */
.people { list-style: none; margin: 0; padding: 0; max-width: none; display: grid; gap: 0.25rem 2rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.people li { display: flex; flex-direction: column; padding: 0.6rem 0; border-top: 1px solid var(--line); margin: 0; }
.people .name { font-weight: 650; }
.people .role { color: var(--ink-3); font-size: var(--step--1); }

/* Fee callout */
.fee { display: grid; gap: 1rem; margin: 1.5rem 0; max-width: var(--measure); }
.fee-item { border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; }
.fee-item .amt { font-family: var(--display); font-size: var(--step-3); line-height: 1; display: block; margin-bottom: 0.2rem; color: var(--plum); }
.fee-item .lbl { font-weight: 650; }
.fee-item .trm { color: var(--ink-3); font-size: var(--step--1); display: block; }
@media (min-width: 36em) { .fee { grid-template-columns: 1fr 1fr; } }
.bank { font-variant-numeric: tabular-nums; }

/* Figures */
figure { margin: 0 0 1.5rem; }
figure img { width: 100%; border-radius: var(--radius-lg); }
figcaption { font-size: var(--step--1); color: var(--ink-3); margin-top: 0.5rem; }
.fig-pair { display: grid; gap: 1.5rem; margin-block: 2rem; }
.fig-pair img { aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 40em) { .fig-pair { grid-template-columns: 1fr 1fr; } }
.fig-wide { margin-block: 2rem; }
.fig-wide img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Footer */
.site-footer { background: var(--plum-deep); color: var(--cream); padding-block: clamp(3rem, 7vw, 5rem) 2rem; border-top: 4px solid var(--gold); }
.footer-grid { display: grid; gap: 2rem; }
.site-footer h2 { font-family: var(--sans); font-size: 0.78rem; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin: 0 0 0.6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 0.35rem; }
.site-footer a { color: var(--cream); }
.site-footer p { margin: 0 0 0.5rem; color: rgba(248, 243, 234, 0.85); }
.footer-brand { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.footer-brand img { width: 3.5rem; height: 3.5rem; }
.footer-brand .brand-name { font-family: var(--display); font-size: 1.4rem; color: var(--cream); }
.footer-bottom { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(248, 243, 234, 0.18); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; font-size: var(--step--1); color: rgba(248, 243, 234, 0.72); }
.footer-bottom a { color: rgba(248, 243, 234, 0.88); }
@media (min-width: 48em) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Prose */
.prose h2 { font-size: var(--step-2); margin-top: 2.2rem; color: var(--plum); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: var(--step-1); margin-top: 1.6rem; }
.prose ul li, .prose ol li { margin-bottom: 0.4em; }
.notice { border-left: 4px solid var(--gold); background: var(--cream-2); padding: 1rem 1.25rem; margin: 1.5rem 0; max-width: var(--measure); border-radius: 0 var(--radius) var(--radius) 0; }
.notice p:last-child { margin-bottom: 0; }
.doc-list { list-style: none; margin: 0; padding: 0; max-width: var(--measure); border-top: 1px solid var(--line-strong); }
.doc-list li { margin: 0; border-bottom: 1px solid var(--line); }
.doc-list a, .doc-list span { display: flex; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; text-decoration: none; font-weight: 600; }
.doc-list a:hover { color: var(--plum); }
.doc-list .meta { font-weight: 400; color: var(--ink-3); font-size: var(--step--1); }

/* Reveal on scroll (only when JavaScript is present; nothing is hidden otherwise) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .js .hero-media img { animation: none; }
  *, *::before, *::after { transition-duration: 0.001ms !important; animation-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
}

/* Utilities */
.u-mt-2 { margin-top: 2rem; }
.u-mt-1 { margin-top: 1rem; }
.u-mt-075 { margin-top: 0.75rem; }
.u-mt-05 { margin-top: 0.5rem; }
.u-mb-0 { margin-bottom: 0; }

@media print {
  .site-header, .site-footer, .menu, .embed, .btn { display: none !important; }
  body { background: #fff; color: #000; }
}
