/* Guru Arjan Dev Ji Gurdwara Derby. Navy and gold from the Gurdwara's own emblem. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/fraunces-latin-wght-normal.woff2) format("woff2-variations"); }
@font-face { font-family: "Source Sans"; font-style: normal; font-weight: 200 900; font-display: swap; src: url(/fonts/source-sans-3-latin-wght-normal.woff2) format("woff2-variations"); }
@font-face { font-family: "Source Sans"; font-style: italic; font-weight: 200 900; font-display: swap; src: url(/fonts/source-sans-3-latin-wght-italic.woff2) format("woff2-variations"); }
@font-face { font-family: "Noto Gurmukhi"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(/fonts/noto-sans-gurmukhi-gurmukhi-wght-normal.woff2) format("woff2-variations"); unicode-range: U+0A01-0A76, U+A830-A839; }
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"), local("Times New Roman"); size-adjust: 104%; ascent-override: 92%; descent-override: 24%; }
@font-face { font-family: "Source Sans Fallback"; src: local("Helvetica Neue"), local("Arial"); size-adjust: 94%; ascent-override: 98%; descent-override: 28%; }

:root {
  --navy: #22226a; --navy-deep: #15154a; --navy-soft: #3b3b8f; --navy-ink: #1c1b33;
  --gold: #f0b848; --gold-light: #f8d98a; --gold-ink: #7a5a10;
  --cream: #f7f5ef; --cream-2: #efeadf; --cream-3: #e4dcc8;
  --ink: #1c1b2e; --ink-2: #4a4860; --line: rgba(28, 27, 46, .14);
  --display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --sans: "Source Sans", "Source Sans Fallback", "Helvetica Neue", Arial, sans-serif;
  --pa: "Noto Gurmukhi", "Raavi", "Noto Sans Gurmukhi", sans-serif;
  --header-h: 5rem;
  --wrap: 76rem; --gutter: clamp(1rem, 4vw, 2.5rem);
  --r-sm: 6px; --r-md: 14px; --r-pill: 999px;
  --shadow: 0 10px 30px rgba(21, 21, 74, .14), 0 2px 6px rgba(21, 21, 74, .08);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fs-1: clamp(2.4rem, 1.4rem + 4.2vw, 4.6rem);
  --fs-2: clamp(1.75rem, 1.2rem + 2.2vw, 2.8rem);
  --fs-3: clamp(1.35rem, 1.1rem + 1vw, 1.75rem);
  --fs-4: 1.15rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; color: var(--ink); background: var(--cream); overflow-x: clip; }
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .6em; text-wrap: balance;  }
h1 { font-size: var(--fs-1); }
h2 { font-size: var(--fs-2); }
h3, .h3 { font-size: var(--fs-3); }
h4, .h4 { font-size: var(--fs-4); font-family: var(--sans); font-weight: 650; letter-spacing: 0; }
p { margin: 0 0 1em; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: .15em; }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 3px; }
[lang="pa"] { font-family: var(--pa); }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: var(--r-sm); z-index: 100; }
.skip:focus { top: 1rem; }
ul, ol { padding-left: 1.2rem; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(46rem, 100% - 2 * var(--gutter)); }
.section { padding-block: clamp(3rem, 7vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3.5rem); }
.section--light2 { background: var(--cream-2); }
.section--brand { background: var(--navy); color: #fff; }
.section--brand a { color: #fff; }
.section--brand h2, .section--brand h3 { color: #fff; }
.eyebrow { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 650; color: var(--gold-ink); margin: 0 0 .9rem; }
.eyebrow--light { color: var(--gold); }
.note { font-size: .95rem; color: var(--ink-2); }
.note--light { color: rgba(255, 255, 255, .78); }
.prose p { max-width: 62ch; }
.textlink { font-weight: 600; }
.textlink--lg { font-size: 1.4rem; font-family: var(--display); font-weight: 500; text-decoration: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .7rem 1.4rem; border-radius: var(--r-pill); font-weight: 650; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--sans); line-height: 1.1; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s; }
.btn--solid { background: var(--navy); color: #fff; }
.btn--solid:hover { color: #fff; background: var(--navy-deep); }
.btn--accent { background: var(--gold); color: var(--navy-deep); }
.btn--accent:hover { background: var(--gold-light); color: var(--navy-deep); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--ghost.btn--dark { color: var(--navy); border-color: var(--navy); }
.btn--ghost.btn--dark:hover { background: rgba(34, 34, 106, .08); color: var(--navy-deep); }
.btn--sm { min-height: 2.6rem; padding: .5rem 1.1rem; font-size: .95rem; }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(21, 21, 74, .18); } }
.arrow-link { display: inline-flex; align-items: center; gap: .45rem; font-weight: 650; text-decoration: none; color: var(--navy); min-height: 2.75rem; }
.arrow-link::after { content: ""; width: .9em; height: .9em; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8 3l5 5-5 5' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .25s var(--ease); }
.arrow-link:hover::after { transform: translateX(4px); }
.arrow-link--light { color: var(--gold); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

/* header */
.header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--cream); box-shadow: 0 1px 0 var(--line); transition: background .3s, box-shadow .3s; }
.header__inner { height: 100%; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--navy); min-height: 3rem; }
.brand__logo { width: auto; height: 3.4rem; }
.brand__logo--light { display: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--display); }
.brand__name { font-size: 1.05rem; font-weight: 500; }
.brand__sub { font-size: .8rem; font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; color: var(--gold-ink); margin-top: .2rem; }
.header.is-over { background: transparent; box-shadow: none; }
.header.is-over .brand { color: #fff; }
.header.is-over .brand__sub { color: var(--gold); }
.header.is-over .brand__logo--dark { display: none; }
.header.is-over .brand__logo--light { display: block; }
.header.is-over .nav__link { color: #fff; }
.header.is-over .menu-button { color: #fff; border-color: rgba(255, 255, 255, .5); }
.header.is-scrolled { background: var(--cream); box-shadow: 0 1px 0 var(--line), 0 6px 20px rgba(21, 21, 74, .08); --header-h: 4.25rem; }
.header.is-scrolled .brand { color: var(--navy); }
.header.is-scrolled .brand__sub { color: var(--gold-ink); }
.header.is-scrolled .brand__logo--dark { display: block; }
.header.is-scrolled .brand__logo--light { display: none; }
.header.is-scrolled .nav__link { color: var(--navy); }
.header.is-scrolled .menu-button { color: var(--navy); border-color: var(--navy); }
@media (max-width: 1023px) {
html.menu-open .header, .header:has(.menu-details[open]) { background: var(--navy-deep); box-shadow: none; }
html.menu-open .header .brand, .header:has(.menu-details[open]) .brand { color: #fff; }
html.menu-open .header .brand__sub, .header:has(.menu-details[open]) .brand__sub { color: var(--gold); }
html.menu-open .header .brand__logo--dark, .header:has(.menu-details[open]) .brand__logo--dark { display: none; }
html.menu-open .header .brand__logo--light, .header:has(.menu-details[open]) .brand__logo--light { display: block; }
html.menu-open .header .menu-button, .header:has(.menu-details[open]) .menu-button { color: #fff; border-color: rgba(255, 255, 255, .5); }
}

/* navigation: one system. Phones: one Menu button and a full panel. Desktop: the groups in the bar. */
.nav { position: relative; }
.menu-details > summary { list-style: none; }
.menu-details > summary::-webkit-details-marker { display: none; }
.menu-button { display: inline-flex; align-items: center; gap: .6rem; min-height: 2.75rem; padding: .4rem .9rem; border: 1.5px solid var(--navy); border-radius: var(--r-pill); color: var(--navy); font-weight: 650; cursor: pointer; }
.menu-button__bars { position: relative; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.menu-button__bars::before, .menu-button__bars::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.menu-button__bars::before { top: -6px; }
.menu-button__bars::after { top: 6px; }
.menu-details[open] .menu-button__bars { background: transparent; }
.menu-details[open] .menu-button__bars::before { transform: translateY(6px) rotate(45deg); }
.menu-details[open] .menu-button__bars::after { transform: translateY(-6px) rotate(-45deg); }
.menu-panel { display: none; }
.menu-details[open] .menu-panel { display: block; position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-deep); color: #fff; overflow-y: auto; padding: 1.5rem var(--gutter) 3rem; z-index: 49; }

.nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.nav__link { display: flex; align-items: center; justify-content: space-between; gap: .5rem; min-height: 3rem; padding: .5rem .25rem; color: #fff; text-decoration: none; font-family: var(--display); font-size: 1.5rem; font-weight: 500; }
@media (max-width: 1023px) { .header .nav__link, .header.is-scrolled .nav__link, .header.is-over .nav__link { color: #fff; } .header .nav__link--cta, .header.is-scrolled .nav__link--cta { color: var(--gold); } }
.nav__group > summary { list-style: none; cursor: pointer; }
.nav__group > summary::-webkit-details-marker { display: none; }
.nav__sub { list-style: none; margin: 0 0 .75rem; padding: 0 0 0 1rem; display: grid; gap: .1rem; border-left: 2px solid var(--gold); }
.nav__sub a { display: block; min-height: 2.75rem; padding: .55rem .25rem; color: rgba(255, 255, 255, .9); text-decoration: none; font-size: 1.05rem; }
.nav__sub a[aria-current="page"], .nav__link[aria-current="page"] { color: var(--gold); }
.chev { transition: transform .25s var(--ease); flex: none; }
.nav__group[open] > summary .chev { transform: rotate(180deg); }
.menu-panel__contact { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, .18); display: grid; gap: .4rem; color: rgba(255, 255, 255, .85); }
.menu-panel__contact a { color: #fff; font-weight: 650; text-decoration: none; }
.menu-panel__pa { font-size: 1.2rem; color: var(--gold); margin: 0; }
.nav__link--cta { color: var(--gold); }
@media (min-width: 1024px) {
  .menu-button { display: none; }
  .menu-details::details-content { content-visibility: visible; display: block; }
  .menu-panel, .menu-details[open] .menu-panel { display: block; position: static; background: none; padding: 0; inset: auto; overflow: visible; }
  .menu-panel__contact { display: none; }
  .nav__list { display: flex; align-items: center; gap: .1rem; }
  .nav__link { font-family: var(--sans); font-size: 1rem; font-weight: 650; padding: .5rem .75rem; min-height: 2.75rem; border-radius: var(--r-sm); }
  .header .nav__link { color: var(--navy); }
  .header.is-over .nav__link { color: #fff; }
  .header.is-scrolled .nav__link { color: var(--navy); }
  .nav__item--group { position: relative; }
  .nav__group[open] > summary, .nav__link:hover { background: rgba(34, 34, 106, .07); }
  .header.is-over .nav__link:hover, .header.is-over .nav__group[open] > summary { background: rgba(255, 255, 255, .14); }
  .header.is-scrolled .nav__link:hover, .header.is-scrolled .nav__group[open] > summary { background: rgba(34, 34, 106, .07); }
  .nav__sub { position: absolute; top: calc(100% + .4rem); left: 0; min-width: 15rem; background: #fff; color: var(--ink); border: 0; border-radius: var(--r-md); box-shadow: var(--shadow); padding: .5rem; margin: 0; }
  .nav__sub a { color: var(--navy); border-radius: var(--r-sm); padding: .6rem .75rem; font-size: 1rem; }
  .nav__sub a:hover { background: var(--cream-2); }
  .nav__sub a[aria-current="page"] { color: var(--gold-ink); font-weight: 650; }
  .nav__link--cta { background: var(--gold); color: var(--navy-deep); border-radius: var(--r-pill); padding-inline: 1.1rem; margin-left: .4rem; }
  .nav__link--cta:hover { background: var(--gold-light); }
  .header.is-over .nav__link--cta, .header.is-scrolled .nav__link--cta, .header .nav__link--cta { color: var(--navy-deep); }
  .header .nav__link--cta:hover { background: var(--gold-light); }
}

/* hero */
.hero { position: relative; min-height: 100svh; margin-top: calc(-1 * var(--header-h)); display: flex; flex-direction: column; justify-content: flex-end; color: #fff; isolation: isolate; overflow: clip; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__pic { position: absolute; inset: -10% 0; }
.hero__pic img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(21, 21, 74, .96) 0%, rgba(21, 21, 74, .72) 32%, rgba(21, 21, 74, .25) 62%, rgba(21, 21, 74, .35) 100%), linear-gradient(to right, rgba(21, 21, 74, .55), rgba(21, 21, 74, 0) 60%); }
.hero__inner { position: relative; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding: calc(var(--header-h) + 3rem) 0 7rem; max-width: 44rem; margin-left: max(var(--gutter), (100% - var(--wrap)) / 2); }
.hero__pa { font-size: clamp(1.1rem, 1rem + 1vw, 1.5rem); color: var(--gold); margin: 0 0 .6rem; font-weight: 500; }
.hero__h { color: #fff; margin: 0 0 1rem; font-size: clamp(2.6rem, 1.6rem + 5vw, 5.4rem); line-height: 1; }
.hero__h-gold { color: var(--gold); }
.hero__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.3rem); max-width: 36rem; color: rgba(255, 255, 255, .9); margin: 0 0 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; }
.hero__textlink { color: #fff; font-weight: 650; min-height: 3rem; display: inline-flex; align-items: center; }
.hero__dome { position: absolute; right: clamp(1rem, 5vw, 5rem); top: calc(var(--header-h) + 2rem); color: var(--gold); opacity: .85; width: clamp(60px, 9vw, 120px); height: auto; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.2rem; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 14px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: scrollcue 1.8s infinite; }
@keyframes scrollcue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }
@media (min-width: 700px) { .hero__scroll { display: block; } .hero__inner { padding-bottom: 8rem; } }
@media (max-width: 699px) { .hero__pic img { object-position: 50% 30%; } .hero__dome { top: calc(var(--header-h) + .6rem); right: 1rem; width: 52px; opacity: .7; } .hero__inner { padding-bottom: 6.5rem; } }

/* today card: overlaps the hero */
.today { position: relative; z-index: 2; margin-top: -4.5rem; padding-bottom: 1rem; }
.today__card { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); padding: clamp(1.25rem, 3vw, 2rem); display: grid; gap: 1.25rem; border-top: 4px solid var(--gold); }
.today__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; }
.today__head .eyebrow { margin: 0; }
.today__date { font-size: 1.25rem; margin: 0; font-family: var(--sans); font-weight: 650; }
.today__halls { display: grid; gap: 1rem; }
.today__hall { padding: 1rem 1.1rem; background: var(--cream); border-radius: var(--r-sm); border-left: 3px solid var(--navy); }
.today__hname { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0 0 .35rem; color: var(--navy); }
.today__hname span { font-weight: 500; color: var(--ink-2); font-size: .9rem; }
.today__now { margin: 0; font-size: 1.05rem; }
.today__now strong { color: var(--navy); }
.today__next { margin: .25rem 0 0; font-size: .95rem; color: var(--ink-2); }
.today__next:empty { display: none; }
.today__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.today .is-live { display: inline-block; font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; background: #c8102e; color: #fff; padding: .15rem .45rem; border-radius: 4px; vertical-align: middle; margin-right: .35rem; }
@media (min-width: 760px) { .today__halls { grid-template-columns: 1fr 1fr; } .today { margin-top: -5.5rem; } }

/* payment strip (after Square redirects back) */
.paystrip { position: relative; z-index: 3; background: #e8f5e9; color: #1b5e20; }
.paystrip__inner { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; padding: .9rem 0; }
.paystrip + .hero, .paystrip + .phead { margin-top: 0; }

/* essentials */
.essentials { padding: 1.5rem 0 .5rem; }
.essentials__list { list-style: none; margin: 0 auto; padding: 0; width: min(var(--wrap), 100% - 2 * var(--gutter)); display: grid; gap: .75rem 2rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.essentials__list li { display: grid; gap: .1rem; padding: .75rem 0; border-top: 1px solid var(--line); }
.essentials__k { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 650; color: var(--gold-ink); }
.essentials__list a { text-decoration: none; font-weight: 600; }

/* stories */
.stories { padding-block: clamp(2rem, 5vw, 4rem); overflow: clip; }
.story { display: grid; gap: 1.5rem; align-items: center; padding: clamp(1.5rem, 4vw, 3.5rem) 0; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.story__media { position: relative; }
.story__media picture { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.story__media::before { content: ""; position: absolute; inset: 1.2rem -1.2rem -1.2rem 1.2rem; border: 2px solid var(--gold); border-radius: var(--r-md); z-index: -1; }
.story--flip .story__media::before { inset: 1.2rem 1.2rem -1.2rem -1.2rem; }
.story__media::after { content: ""; position: absolute; inset: 0; background: var(--navy); border-radius: var(--r-md); transform-origin: right; transition: transform .9s var(--ease) .1s; }
.story--flip .story__media::after { transform-origin: left; }
html.js .reveal .story__media::after { transform: scaleX(1); }
html.js .reveal.is-in .story__media::after { transform: scaleX(0); }
@media (hover: hover) and (pointer: fine) { .story__media:hover img { transform: scale(1.04); } }
.story__body h2 { font-size: var(--fs-2); }
.facts { list-style: none; padding: 0; margin: 0 0 1.25rem; display: grid; gap: .5rem; }
.facts li { position: relative; padding-left: 1.4rem; }
.facts li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; background: var(--gold); border-radius: 50%; }
.facts--lg li { font-size: 1.1rem; padding-left: 1.6rem; }
@media (min-width: 900px) {
  .story { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); }
  .story--flip .story__media { order: 2; }
  .story__media picture { aspect-ratio: 5 / 4; }
}

/* reveal motion */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
html.js .reveal.is-in { opacity: 1; transform: none; }
html.js .story.reveal .story__body { opacity: 0; transform: translateX(-28px); transition: opacity .8s var(--ease) .2s, transform .8s var(--ease) .2s; }
html.js .story--flip.reveal .story__body { transform: translateX(28px); }
html.js .story.reveal.is-in .story__body { opacity: 1; transform: none; }
html.js .hero__inner > * { opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) forwards; }
html.js .hero__inner > :nth-child(2) { animation-delay: .1s; }
html.js .hero__inner > :nth-child(3) { animation-delay: .2s; }
html.js .hero__inner > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { to { opacity: 1; transform: none; } }
html.js .hero__pic img { animation: settle 18s var(--ease) forwards; }
@keyframes settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@supports (animation-timeline: scroll()) {
  html.js .hero__pic img { animation: parallax linear both; animation-timeline: scroll(root); animation-range: 0 100vh; }
  @keyframes parallax { from { transform: translateY(-4%) scale(1.06); } to { transform: translateY(6%) scale(1.06); } }
}
html.js .dome .dome__p { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 2.4s var(--ease) forwards; }
html.js .dome .dome__p:nth-child(n+6) { animation-delay: .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.section > .wrap > h2::after, .prose h2::after { content: ""; display: block; width: 3rem; height: 3px; background: var(--gold); margin-top: .6rem; border-radius: 2px; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal, html.js .story.reveal .story__body, html.js .hero__inner > * { opacity: 1; transform: none; animation: none; transition: none; }
  html.js .hero__pic img, html.js .dome .dome__p { animation: none; stroke-dashoffset: 0; }
  html.js .reveal .story__media::after { display: none; }
  .hero__scroll span { animation: none; }
  .story__media img { transition: none; }
}

/* heritage, president, support */
.heritage { position: relative; background: var(--navy); color: #fff; padding-block: clamp(3rem, 8vw, 6rem); overflow: clip; }
.heritage__inner { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; max-width: 44rem; position: relative; z-index: 1; margin-left: max(var(--gutter), (100% - var(--wrap)) / 2); }
.heritage h2 { color: #fff; }
.heritage p { color: rgba(255, 255, 255, .86); font-size: 1.1rem; }
.heritage__mark { position: absolute; right: -2rem; top: 50%; transform: translateY(-50%); width: clamp(180px, 28vw, 380px); opacity: .22; pointer-events: none; }
.president { background: var(--cream-2); padding-block: clamp(3rem, 7vw, 6rem); }
.president__inner { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; max-width: 52rem; }
.president__quote { margin: 1.5rem 0; padding: 1.5rem 0 1.5rem 1.5rem; border-left: 4px solid var(--gold); }
.president__quote p { font-family: var(--display); font-size: clamp(1.2rem, 1rem + 1vw, 1.6rem); line-height: 1.35;  }
.president__quote footer, .statement footer { font-size: .9rem; color: var(--ink-2); }
.support { background: var(--navy-deep); color: #fff; padding-block: clamp(3rem, 7vw, 5rem); }
.support__inner { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; gap: 1.5rem; align-items: center; }
.support h2 { color: #fff; }
.support p { color: rgba(255, 255, 255, .86); max-width: 40rem; margin: 0; }
.support__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 900px) { .support__inner { grid-template-columns: 1.4fr 1fr; } .support__actions { justify-content: flex-end; } }

/* page heads */
.phead { position: relative; background: var(--navy); color: #fff; margin-top: calc(-1 * var(--header-h)); padding: calc(var(--header-h) + 3rem) 0 3rem; isolation: isolate; overflow: clip; }
.phead--photo { min-height: 62svh; display: flex; align-items: flex-end; }
.phead__media { position: absolute; inset: 0; z-index: -1; }
.phead__pic, .phead__pic img { position: absolute; inset: 0; width: 100%; height: 100%; }
.phead__pic img { object-fit: cover; object-position: 50% 40%; }
.phead__shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(21, 21, 74, .95) 0%, rgba(21, 21, 74, .6) 45%, rgba(21, 21, 74, .3) 100%); }
.phead__inner { position: relative; width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; max-width: 48rem; margin-left: max(var(--gutter), (100% - var(--wrap)) / 2); }
.phead__h { color: #fff; margin-bottom: .6rem; }
.phead__lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .9); max-width: 40rem; margin: 0; }
.phead__pa { color: var(--gold); font-size: 1.2rem; margin: 0 0 .5rem; }
.phead__mark { position: absolute; right: -1rem; top: 50%; transform: translateY(-40%); width: clamp(140px, 22vw, 300px); opacity: .18; pointer-events: none; }
html.js .phead__inner > * { opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) forwards; }
html.js .phead__inner > :nth-child(2) { animation-delay: .08s; }
html.js .phead__inner > :nth-child(3) { animation-delay: .16s; }
html.js .phead__inner > :nth-child(4) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) { html.js .phead__inner > * { animation: none; opacity: 1; transform: none; } }

/* layouts */
.split { display: grid; gap: 2rem; }
.split__main > h2:first-child { margin-top: 0; }
.sidecard { background: #fff; border-radius: var(--r-md); padding: 1.4rem; box-shadow: 0 2px 10px rgba(21, 21, 74, .06); margin-bottom: 1.25rem; }
.sidecard--brand { background: var(--navy); color: #fff; }
.sidecard--brand a { color: #fff; }
.sidecard--brand .arrow-link { color: var(--gold); }
.sidecard p:last-child { margin-bottom: 0; }
.linklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .2rem; }
.linklist a { display: inline-flex; align-items: center; min-height: 2.5rem; text-decoration: none; font-weight: 600; }
.linklist--big a { font-size: 1.25rem; font-family: var(--display); }
.dl { margin: 0; display: grid; gap: .25rem 1rem; }
.dl dt { font-weight: 700; color: var(--navy); margin-top: .75rem; }
.dl dd { margin: 0; }
.dl--light dt { color: var(--gold); }
.dl--compact dt { margin-top: .4rem; font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, 1.6fr) minmax(17rem, .8fr); gap: clamp(2rem, 6vw, 5rem); } }

/* live */
.live-grid { display: grid; gap: 2rem; }
.yt { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow); }
.yt__poster, .yt__poster img { position: absolute; inset: 0; width: 100%; height: 100%; }
.yt__poster img { object-fit: cover; opacity: .75; }
.yt__play { position: absolute; inset: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(21, 21, 74, .7), rgba(21, 21, 74, .15)); border: 0; color: #fff; font-family: var(--sans); font-weight: 650; font-size: 1.1rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .8rem; cursor: pointer; }
.yt__icon { width: 76px; height: 76px; border-radius: 50%; background: var(--gold); position: relative; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); transition: transform .25s var(--ease); }
.yt__icon::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 22px solid var(--navy-deep); border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
.yt__play:hover .yt__icon { transform: scale(1.06); }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt__noscript { position: absolute; left: 0; right: 0; bottom: 1rem; text-align: center; }
.yt__noscript a { color: #fff; }
.live-note { margin: 1rem 0; color: var(--ink-2); }
.live-links { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (min-width: 900px) { .live-grid { grid-template-columns: 2fr 1fr; gap: 3rem; } }

/* programme */
.prog { display: grid; gap: 2.5rem; }
.prog__h { display: flex; align-items: baseline; gap: 1rem; flex-wrap: wrap; border-bottom: 3px solid var(--gold); padding-bottom: .5rem; }
.prog__pa { font-size: 1.1rem; color: var(--gold-ink); font-weight: 500; }
.prog__list { list-style: none; margin: 0; padding: 0; }
.prog__list li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.prog__list time { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.prog__name { display: grid; gap: .15rem; }
.prog__name [lang="pa"] { color: var(--ink-2); font-size: .95rem; }
@media (min-width: 900px) { .prog { grid-template-columns: 1fr 1fr; gap: 4rem; } }
@media (max-width: 480px) { .prog__list li { grid-template-columns: 1fr; gap: .2rem; } }
.halls { display: grid; gap: 1.5rem; margin-top: 1.5rem; }
.hall { background: rgba(255, 255, 255, .07); border-radius: var(--r-md); padding: 1.4rem; border-top: 3px solid var(--gold); }
.hall h3 { color: #fff; margin-bottom: .2rem; }
.hall__floor { color: var(--gold); margin-bottom: .5rem; }
@media (min-width: 760px) { .halls { grid-template-columns: 1fr 1fr; } }

/* bookings */
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.steps li { position: relative; padding-left: 3.2rem; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--navy); color: var(--gold); font-family: var(--display); font-size: 1.2rem; display: grid; place-items: center; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.booking__h { font-size: var(--fs-3); margin-bottom: 1rem; }
.typegrid { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); }
.typecard { text-align: left; background: #fff; border: 2px solid transparent; border-radius: var(--r-md); padding: 1.1rem 1.2rem; cursor: pointer; display: grid; gap: .2rem; font: inherit; color: var(--ink); box-shadow: 0 2px 10px rgba(21, 21, 74, .06); transition: transform .25s var(--ease), border-color .2s, box-shadow .25s; min-height: 3rem; }
.typecard:hover { border-color: var(--gold); }
.typecard.is-selected { border-color: var(--navy); box-shadow: var(--shadow); }
.typecard__pa { color: var(--gold-ink); font-size: 1rem; }
.typecard__name { font-family: var(--display); font-size: 1.35rem; color: var(--navy); }
.typecard__sum { color: var(--ink-2); font-size: .95rem; }
.typecard__mode { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 650; color: var(--gold-ink); margin-top: .3rem; }
.booking__panel { scroll-margin-top: calc(var(--header-h) + 1rem); margin-top: 1.5rem; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow); padding: clamp(1.1rem, 3vw, 2rem); }
.booking__panel h2 { font-size: var(--fs-3); }
.booking__noscript { margin-top: 1.5rem; background: #fff; border-radius: var(--r-md); padding: 1.25rem; }
.bk-status { padding: 1rem 1.2rem; border-radius: var(--r-sm); background: var(--cream-2); margin: 0 0 1rem; }
.bk-status--error { background: #fdecec; color: #7a1b1b; }
.bk-status--ok { background: #e8f5e9; color: #1b5e20; }
.cal { display: grid; gap: 1rem; }
.cal__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cal__month { font-family: var(--display); font-size: 1.4rem; margin: 0; }
.cal__nav { display: flex; gap: .5rem; }
.cal__nav button { min-width: 2.75rem; min-height: 2.75rem; border-radius: 50%; border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font-size: 1.2rem; cursor: pointer; }
.cal__nav button:disabled { opacity: .35; cursor: default; }
.cal__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .3rem; }
.cal__dow { text-align: center; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-2); padding: .25rem 0; }
.cal__day { aspect-ratio: 1; min-height: 2.75rem; padding: 0; overflow: hidden; border-radius: var(--r-sm); border: 1.5px solid transparent; background: var(--cream); font: inherit; color: var(--ink); cursor: pointer; display: grid; place-content: center; gap: .15rem; position: relative; }
.cal__day:disabled { color: rgba(28, 27, 46, .35); cursor: default; background: transparent; }
@media (max-width: 380px) { .cal__grid { gap: .15rem; } .cal__dow { font-size: .6rem; letter-spacing: 0; } .cal__day { min-height: 2.1rem; font-size: .9rem; } .booking__panel { padding: 1rem .75rem; } .cal__dots i { width: 4px; height: 4px; } }
.cal__day.has-free { background: #fff; border-color: var(--cream-3); font-weight: 650; }
.cal__day.has-free:hover { border-color: var(--gold); }
.cal__day.is-full { background: var(--cream-2); text-decoration: line-through; color: var(--ink-2); }
.cal__day.is-selected { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal__dots { display: flex; gap: 2px; justify-content: center; }
.cal__dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.cal__day.is-selected .cal__dots i { background: var(--gold); }
.cal__legend { display: flex; flex-wrap: wrap; gap: 1rem; font-size: .85rem; color: var(--ink-2); }
.cal__legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); margin-right: .35rem; vertical-align: middle; }
.slots { display: grid; gap: 1rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.bk-form { scroll-margin-top: calc(var(--header-h) + 1rem); }
.slots__hall h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin: 0 0 .5rem; }
.slots__list { display: grid; gap: .5rem; grid-template-columns: repeat(auto-fill, minmax(9rem, 1fr)); }
.slot { min-height: 3rem; border-radius: var(--r-sm); border: 1.5px solid var(--navy); background: #fff; color: var(--navy); font: inherit; font-weight: 650; cursor: pointer; padding: .5rem .6rem; display: grid; gap: .1rem; text-align: left; }
.slot small { font-weight: 500; color: var(--ink-2); font-size: .8rem; }
.slot:hover { background: var(--cream-2); }
.slot.is-selected { background: var(--navy); color: #fff; }
.slot.is-selected small { color: var(--gold-light); }
.slot:disabled { border-color: var(--cream-3); color: rgba(28, 27, 46, .4); cursor: default; background: var(--cream); text-decoration: line-through; }
.slot:disabled small { text-decoration: none; }
.bk-summary { background: var(--cream); border-left: 3px solid var(--gold); padding: .9rem 1rem; border-radius: var(--r-sm); margin-bottom: 1rem; }
.bk-summary p { margin: 0; }
.bk-ref { font-family: var(--display); font-size: 2rem; color: var(--navy); }
.bk-back { background: none; border: 0; color: var(--navy); font: inherit; font-weight: 650; text-decoration: underline; cursor: pointer; padding: .5rem 0; min-height: 2.75rem; }

/* forms */
.form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field label, .field legend { font-weight: 650; color: var(--navy); }
.field input, .field textarea, .field select { font: inherit; padding: .7rem .85rem; border: 1.5px solid rgba(28, 27, 46, .3); border-radius: var(--r-sm); background: #fff; color: var(--ink); min-height: 3rem; width: 100%; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--navy); outline: 3px solid rgba(240, 184, 72, .5); outline-offset: 0; }
.field--radio { border: 0; padding: 0; margin: 0; }
.field--radio legend { padding: 0; margin-bottom: .35rem; }
.field--radio label { display: inline-flex; align-items: center; gap: .5rem; margin-right: 1.25rem; min-height: 2.75rem; font-weight: 500; color: var(--ink); }
.field--check label { display: flex; align-items: flex-start; gap: .6rem; font-weight: 500; color: var(--ink); min-height: 2.75rem; }
.field--check input, .field--radio input { width: 1.2rem; height: 1.2rem; min-height: 0; margin: .15rem 0 0; accent-color: var(--navy); }
.field--hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field__err { color: #7a1b1b; font-size: .9rem; }
.field.is-invalid input, .field.is-invalid textarea { border-color: #b3261e; }
.form__status { margin: 0; min-height: 1.2em; font-weight: 600; }
.form__status.is-error { color: #7a1b1b; }
.form__status.is-ok { color: #1b5e20; }
.form__small { font-size: .9rem; color: var(--ink-2); margin: 0; }
.form .btn[disabled] { opacity: .6; cursor: progress; }
.form > .btn { justify-self: start; }
.fields-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .fields-2 { grid-template-columns: 1fr 1fr; } }

/* services grid */
.svcgrid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); margin-top: 1.5rem; }
.svc { display: grid; grid-template-rows: auto 1fr; background: #fff; border-radius: var(--r-md); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 2px 10px rgba(21, 21, 74, .06); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.svc__pic { aspect-ratio: 16 / 10; overflow: hidden; }
.svc__pic img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc__body { padding: 1rem 1.2rem 1.3rem; display: grid; gap: .3rem; }
.svc__name { font-family: var(--display); font-size: 1.35rem; color: var(--navy); }
.svc__sum { color: var(--ink-2); font-size: .95rem; }
@media (hover: hover) and (pointer: fine) { .svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); } .svc:hover img { transform: scale(1.05); } }

/* people, statement, docs, give */
.statement { margin: 0; padding: 0 0 0 1.5rem; border-left: 4px solid var(--gold); }
.statement p { font-family: var(--display); font-size: clamp(1.1rem, 1rem + .6vw, 1.4rem); line-height: 1.4;  }
.people { display: grid; gap: 2rem; }
.people__group h2 { font-size: var(--fs-3); }
.people__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr)); }
.people__list li { background: #fff; border-radius: var(--r-sm); padding: .7rem .9rem; display: grid; }
.people__list--lead li { background: var(--navy); color: #fff; }
.people__name { font-weight: 650; }
.people__role { font-size: .85rem; color: var(--gold); }
.doclist { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.doclist li { background: #fff; border-radius: var(--r-md); padding: 1.1rem 1.3rem; display: grid; gap: .2rem; border-left: 4px solid var(--gold); }
.doclist__link { font-family: var(--display); font-size: 1.3rem; text-decoration: none; }
.doclist__meta { color: var(--ink-2); font-size: .95rem; }
.give { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); margin-bottom: 1.5rem; }
.give__card { background: #fff; border-radius: var(--r-md); padding: 1.5rem; box-shadow: 0 2px 10px rgba(21, 21, 74, .06); }
.give__card h2 { font-size: var(--fs-3); }
.give__card--lead { background: var(--navy); color: #fff; grid-column: 1 / -1; }
.give__card--lead h2 { color: #fff; }
@media (min-width: 900px) { .give__card--lead { grid-column: span 2; } }
.map iframe { display: block; border: 0; width: 100%; }

/* footer */
.footer { position: relative; background: var(--navy-deep); color: rgba(255, 255, 255, .85); padding: clamp(3rem, 6vw, 5rem) 0 0; overflow: clip; }
.footer a { color: #fff; }
.footer__dome { position: absolute; right: 2rem; top: 1rem; opacity: .12; pointer-events: none; }
.footer__inner { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; display: grid; gap: 2.5rem; position: relative; }
.footer__brand img { width: 160px; height: auto; margin-bottom: 1rem; }
.footer__pa { color: var(--gold); font-size: 1.2rem; margin-bottom: .5rem; }
.footer__small { font-size: .85rem; color: rgba(255, 255, 255, .6); }
.footer__cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr)); }
.footer__h { font-family: var(--sans); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin-bottom: .75rem; }
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.footer__cols a { display: inline-flex; align-items: center; min-height: 2.5rem; text-decoration: none; }
.footer__cols a:hover { color: var(--gold-light); }
.footer__bar { margin-top: 3rem; border-top: 1px solid rgba(255, 255, 255, .14); padding: 1.25rem 0; }
.footer__bar p { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin: .25rem auto; font-size: .9rem; }
.footer__credit { color: rgba(255, 255, 255, .55); }
.footer__credit a { color: rgba(255, 255, 255, .75); }
@media (min-width: 900px) { .footer__inner { grid-template-columns: 1.1fr 2fr; gap: 4rem; } }
