/* ==========================================================================
   St Augustine's with St Luke's – main stylesheet
   Black header · deep teal #024145 · teal #028090 · mint #02c39a · cream #f0f3bd
   Montserrat (headings) · DM Sans (text)
   ========================================================================== */

:root {
  --black: #0d0f0f;
  --deep: #024145;
  --deep-2: #03363a;
  --teal: #028090;
  --teal-dark: #026c7a;
  --mint: #02c39a;
  --mint-light: #7fe3c9;
  --cream: #f0f3bd;
  --paper: #f3f7f6;
  --white: #fff;
  --ink: #12302e;
  --ink-2: #33504e;
  --muted: #5d7472;
  --line: #d9e4e2;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(2, 65, 69, .08);
  --shadow-lg: 0 24px 60px rgba(2, 30, 32, .22);
  --container: 1180px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-head: Montserrat, "Segoe UI", system-ui, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; color: var(--deep); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
address { font-style: normal; }
hr { border: 0; border-top: 1px solid var(--line); margin: 18px 0; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; border-radius: 4px; }
.icon { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--deep); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.lead { font-size: 1.15rem; color: var(--ink-2); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.section { padding: 72px 0; }
.section--tight { padding: 36px 0; }
.section--flush-top { padding-top: 0; }
.section--paper { background: var(--paper); }
.section--deep { background: var(--deep); color: #e3eeec; }
.section-head { max-width: 760px; margin: 0 auto 36px; }
.section-title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.section-title--light { color: #fff; }
.section-intro { color: var(--ink-2); font-size: 1.08rem; }
.section--deep .section-intro { color: #cfe2df; }

/* Eyebrows */
.eyebrow { font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin: 0 0 8px; }
.eyebrow--light { color: var(--mint-light); }
.eyebrow--mint { color: var(--mint); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 6px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; line-height: 1.2; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--teal-dark); color: #fff; }
.btn--mint { background: var(--mint); color: #022a2c; }
.btn--mint:hover { background: var(--mint-light); color: #022a2c; }
.btn--white { background: #fff; color: var(--deep); }
.btn--white:hover { background: var(--cream); color: var(--deep); }
.btn--outline { background: transparent; color: var(--deep); border-color: #b8cecb; }
.btn--outline:hover { border-color: var(--teal); color: var(--teal); }
.btn--outline-light { background: rgba(0, 0, 0, .15); color: #fff; border-color: rgba(255, 255, 255, .8); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: #fff; }
.btn--sm { padding: 8px 14px; font-size: .8rem; }
.btn--lg { padding: 15px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .7; cursor: wait; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn-row--center { justify-content: center; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal); text-decoration: none; }
.text-link .icon { transition: transform .15s; }
.text-link:hover .icon, a:hover .text-link .icon { transform: translateX(3px); }

/* ── Header ───────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); }
.header__inner { display: flex; align-items: stretch; gap: 20px; min-height: var(--header-h); max-width: 1320px; margin: 0 auto; padding: 0 0 0 20px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { width: 200px; height: auto; }
.nav { margin-left: auto; display: flex; }
.nav__list { display: flex; align-items: stretch; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; }
.nav__link { display: flex; align-items: center; gap: 6px; padding: 0 16px; font-family: var(--font-head); font-weight: 600; font-size: .84rem; letter-spacing: .05em; text-transform: uppercase; color: #fff; text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap; }
.nav__link .icon { width: 14px; height: 14px; transition: transform .15s; }
.nav__link:hover, .nav__item:focus-within > .nav__link { background: #1b2424; color: #fff; }
.nav__item.is-active > .nav__link { background: var(--deep); }
.subnav { position: absolute; top: 100%; left: 0; width: 330px; list-style: none; margin: 0; background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .16s ease; border-top: 3px solid var(--mint); }
.nav__item:nth-last-child(-n+4) .subnav { left: auto; right: 0; }
.has-sub:hover .subnav, .has-sub:focus-within .subnav, .nav__toggle[aria-expanded="true"] + .subnav { opacity: 1; visibility: visible; transform: none; }
.subnav a { display: block; padding: 9px 12px; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; line-height: 1.3; }
.subnav a:hover, .subnav a[aria-current] { background: var(--paper); }
.subnav strong { display: block; color: var(--deep); font-size: .96rem; }
.subnav small { display: block; color: var(--muted); font-size: .82rem; }
.nav-burger { display: none; background: none; border: 0; padding: 0 18px; color: #fff; cursor: pointer; }
.nav-burger .icon { width: 30px; height: 30px; }
.nav-burger .icon--close { display: none; }
.nav__mobile-extra { display: none; }

@media (max-width: 1140px) {
  :root { --header-h: 66px; }
  .brand img { width: 168px; }
  .nav-burger { display: flex; align-items: center; margin-left: auto; }
  .nav { position: fixed; inset: var(--header-h) 0 0 auto; width: min(420px, 100%); background: #fff; flex-direction: column; overflow-y: auto; transform: translateX(100%); transition: transform .25s ease; box-shadow: var(--shadow-lg); visibility: hidden; }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open .nav-burger .icon--open { display: none; }
  .nav-open .nav-burger .icon--close { display: block; }
  .nav-open { overflow: hidden; }
  .nav-open::after { content: ""; position: fixed; inset: var(--header-h) 0 0; background: rgba(0, 0, 0, .45); z-index: 40; }
  .nav { z-index: 60; }
  .nav__list { flex-direction: column; padding: 8px 0; }
  .nav__item { flex-direction: column; border-bottom: 1px solid var(--line); }
  .nav__link { color: var(--deep); padding: 15px 22px; font-size: .95rem; justify-content: space-between; width: 100%; }
  .nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--paper); color: var(--deep); }
  .nav__item.is-active > .nav__link { background: transparent; color: var(--teal); }
  .nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
  .subnav { position: static; width: auto; box-shadow: none; border: 0; padding: 0 12px 12px; opacity: 1; visibility: visible; transform: none; display: none; border-radius: 0; }
  .has-sub:hover .subnav, .has-sub:focus-within .subnav { display: none; }
  .nav__toggle[aria-expanded="true"] + .subnav { display: block; }
  .nav__mobile-extra { display: block; padding: 20px 22px 30px; }
  .nav__mobile-extra p { margin: 16px 0 0; line-height: 2; }
  .nav__mobile-extra a:not(.btn) { color: var(--deep); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
}

/* ── Home hero ────────────────────────────────────────────────── */
.hero { position: relative; color: #fff; text-align: center; padding: 72px 0 64px; overflow: hidden; background: #1c2222; }
.hero--with-events { padding-bottom: 150px; }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 14, 14, .6) 0%, rgba(6, 14, 14, .68) 60%, rgba(6, 14, 14, .82) 100%); }
.hero__inner { position: relative; z-index: 1; }
.hero__cross { width: 50px; height: auto; margin: 0 auto 18px; }
.hero h1 { color: #fff; text-transform: uppercase; font-size: clamp(1.75rem, 1.1rem + 2.8vw, 2.9rem); max-width: 22ch; margin: 0 auto; letter-spacing: .01em; }
.hero__tag { margin: 12px 0 0; font-family: var(--font-head); font-size: 1.1rem; color: #e6efed; }
.hero__tag em { font-weight: 500; }
.hero__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.hero__btns .btn { min-width: 190px; }

/* Special services & events */
.coming { position: relative; z-index: 2; margin-top: -112px; padding-bottom: 12px; }
.coming__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; color: #fff; }
.coming__title { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: #fff; display: flex; align-items: center; gap: 10px; margin: 0; }
.coming__title::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(2, 195, 154, .25); }
.coming__more { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .85rem; white-space: nowrap; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .5); padding-bottom: 2px; }
.coming__more:hover { color: var(--mint-light); }
.event-cards { display: grid; gap: 18px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.event-cards[data-n="1"] { grid-template-columns: minmax(0, 560px); justify-content: center; }
.event-cards[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 460px)); justify-content: center; }
.event-card { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; background: #fff; border-radius: 10px; padding: 18px; color: var(--ink); text-decoration: none; box-shadow: 0 14px 34px -16px rgba(0, 0, 0, .55), 0 0 0 1px rgba(2, 65, 69, .08); transition: transform .18s ease, box-shadow .18s ease; }
.event-card:hover { transform: translateY(-3px); color: var(--ink); box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .6), 0 0 0 1px rgba(2, 65, 69, .16); }
.event-cards--light .event-card { box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.event-card__body { display: grid; gap: 4px; min-width: 0; }
.event-card__title { font-family: var(--font-head); font-weight: 700; font-size: 1.06rem; line-height: 1.25; color: var(--deep); }
.event-card__when { font-size: .92rem; color: var(--ink-2); }
.event-card__sum { font-size: .92rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.event-card__more { margin-top: 2px; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); display: inline-flex; align-items: center; gap: 4px; }
.event-card__more .icon { width: 14px; height: 14px; }
.event-card__chev { display: none; color: var(--teal); }
.date-tile { width: 62px; flex: none; border-radius: 7px; overflow: hidden; text-align: center; background: var(--deep); color: #fff; font-family: var(--font-head); font-variant-numeric: tabular-nums; }
.date-tile > span { display: block; }
.date-tile__wd { font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; background: var(--teal); padding: 6px 0 5px; }
.date-tile__d { font-size: 1.65rem; font-weight: 800; line-height: 1; padding: 7px 0 2px; }
.date-tile__m { font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mint-light); padding-bottom: 8px; }
.flags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.flags:empty { display: none; }
.flag { font-family: var(--font-head); font-size: .66rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 4px 8px; border-radius: 3px; background: var(--cream); color: var(--deep); line-height: 1.2; }
.flag--special { background: #e3f7f1; color: #036b55; vertical-align: 2px; }

@media (max-width: 760px) {
  .hero { padding: 44px 0 34px; }
  .hero--with-events { padding-bottom: 34px; }
  .hero__cross { width: 38px; margin-bottom: 12px; }
  .hero__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 22px; }
  .hero__btns .btn { min-width: 0; padding: 12px 8px; font-size: .74rem; letter-spacing: .03em; }
  .hero__btns .icon { display: none; }
  .coming { margin-top: 0; padding: 22px 0 8px; background: var(--paper); }
  .coming__head { color: var(--deep); margin-bottom: 12px; }
  .coming__title { color: var(--deep); font-size: .74rem; letter-spacing: .1em; }
  .coming__more { color: var(--teal); border-bottom-color: rgba(2, 128, 144, .4); font-size: .8rem; }
  .event-cards, .event-cards[data-n] { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .event-card { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px; box-shadow: 0 0 0 1px rgba(2, 65, 69, .12); }
  .event-card:hover { transform: none; }
  .date-tile { width: 54px; }
  .date-tile__d { font-size: 1.35rem; }
  .event-card__title { font-size: .98rem; }
  .event-card__when { font-size: .84rem; }
  .event-card__sum, .event-card__more { display: none; }
  .event-card__chev { display: block; width: 20px; height: 20px; }
}

/* ── Event pop-up ─────────────────────────────────────────────── */
.event-dialog { border: 0; padding: 0; width: min(600px, calc(100% - 32px)); max-height: calc(100% - 48px); border-radius: 14px; box-shadow: var(--shadow-lg); color: var(--ink); overflow: auto; }
.event-dialog::backdrop { background: rgba(4, 14, 14, .62); }
.event-dialog[open] { animation: pop .22s ease; }
.event-dialog__sheet { position: relative; }
.event-dialog__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); color: var(--deep); cursor: pointer; display: grid; place-items: center; }
.event-dialog__close:hover { background: var(--line); }
.event-dialog__head { display: flex; gap: 16px; align-items: center; padding: 26px 66px 0 26px; }
.event-dialog__head h2 { font-size: 1.45rem; margin: 4px 0 0; }
.event-dialog__body { padding: 18px 26px 26px; display: grid; gap: 16px; }
.event-facts { display: grid; gap: 8px; margin: 0; padding: 14px 16px; background: var(--paper); border-radius: 10px; }
.event-facts > div { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; }
.event-facts dt { color: var(--teal); }
.event-facts dd { margin: 0; }
.event-facts small { display: block; color: var(--muted); }
.event-dialog__text p { margin: 0 0 .7em; }
.event-dialog__text:empty { display: none; }
.event-dialog__actions { display: flex; flex-wrap: wrap; gap: 10px; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
@keyframes sheet { from { transform: translateY(40px); opacity: .5; } }
@media (max-width: 640px) {
  .event-dialog { width: 100%; max-width: 100%; max-height: 88vh; margin: auto 0 0; border-radius: 18px 18px 0 0; }
  .event-dialog[open] { animation: sheet .25s ease; }
  .event-dialog__sheet::before { content: ""; display: block; width: 44px; height: 5px; border-radius: 3px; background: #cfd8d6; margin: 10px auto 0; }
  .event-dialog__head { padding: 14px 60px 0 18px; }
  .event-dialog__body { padding: 14px 18px 24px; }
  .event-dialog__actions { display: grid; grid-template-columns: 1fr 1fr; }
  .event-dialog__actions .btn { padding: 13px 8px; font-size: .8rem; }
}

/* ── Home sections ────────────────────────────────────────────── */
.about .lead { font-size: 1.12rem; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 44px 30px 40px; text-decoration: none; transition: filter .15s; }
.tile:hover { filter: brightness(1.04); }
.tile h3 { font-size: 1.35rem; text-transform: uppercase; margin: 12px 0 8px; }
.tile p { max-width: 34ch; }
.tile__icon { width: 46px; height: 46px; stroke-width: 1.6; }
.tile__btn { margin-top: auto; padding: 11px 26px; border: 2px solid currentColor; border-radius: 6px; font-family: var(--font-head); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; }
.tile--teal, .tile--teal:hover { background: var(--teal); color: #fff; }
.tile--teal h3 { color: #fff; }
.tile--mint, .tile--mint:hover { background: var(--mint); color: #022a2c; }
.tile--mint h3 { color: var(--deep); }
.tile--cream, .tile--cream:hover { background: var(--cream); color: var(--deep); }
.photo-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.photo-card { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / 1.05; display: block; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.photo-card:hover img { transform: scale(1.04); }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2, 30, 32, .85)); }
.photo-card__label { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; text-transform: uppercase; display: flex; align-items: center; gap: 10px; line-height: 1.2; }
.regulars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 32px; }
.regular { display: flex; flex-direction: column; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); overflow: hidden; color: #e3eeec; text-decoration: none; transition: background .15s, transform .15s; }
.regular:hover { background: rgba(255, 255, 255, .1); color: #fff; transform: translateY(-2px); }
.regular__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.regular__body { padding: 16px 18px 20px; display: grid; gap: 6px; }
.regular__title { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; color: #fff; text-transform: uppercase; }
.regular__when { color: var(--mint); font-weight: 700; font-size: .9rem; }
.regular__text { font-size: .93rem; color: #cfe2df; }
.news-home { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; align-items: center; }
.issue { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--ink); }
.issue__cover { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 8px 22px rgba(2, 30, 32, .18); background: var(--paper); aspect-ratio: 300 / 424; margin-bottom: 8px; transition: transform .2s, box-shadow .2s; }
.issue__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.issue:hover .issue__cover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(2, 30, 32, .24); }
.issue__placeholder { display: grid; place-items: center; height: 100%; background: var(--deep); color: #fff; font-family: var(--font-head); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 12px; text-align: center; }
.issue__type { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.issue__date { font-weight: 700; color: var(--deep); line-height: 1.3; }
.issue__open { font-size: .88rem; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.issue__open .icon { width: 14px; height: 14px; }
.safe { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; align-items: start; }
.safe__item { background: #fff; border-radius: var(--radius); padding: 24px; border-top: 4px solid var(--mint); box-shadow: var(--shadow); }
.safe__item h3 { text-transform: uppercase; }
.safe__item p { margin: 0; }
.question { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); }
.question h2 { margin: 0; text-transform: uppercase; font-size: 1.4rem; }

@media (max-width: 980px) {
  .tiles, .photo-cards { grid-template-columns: 1fr; }
  .photo-card { aspect-ratio: 16 / 9; }
  .regulars { grid-template-columns: 1fr 1fr; }
  .news-home { grid-template-columns: 1fr 1fr; }
  .news-home__intro { grid-column: 1 / -1; }
  .safe { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .section { padding: 52px 0; }
  .regulars { grid-template-columns: 1fr; }
}

/* ── Inner page hero ──────────────────────────────────────────── */
.page-hero { position: relative; color: #fff; padding: 64px 0 56px; background: var(--deep); overflow: hidden; }
.page-hero__bg, .page-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero:not(.page-hero--plain)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2, 30, 32, .9) 0%, rgba(2, 30, 32, .72) 50%, rgba(2, 30, 32, .45) 100%); }
.page-hero--plain { background: linear-gradient(135deg, var(--deep) 0%, #035a5f 100%); }
.page-hero__inner { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; text-transform: uppercase; max-width: 20ch; margin-bottom: 14px; }
.page-hero__lead { font-size: 1.15rem; max-width: 60ch; color: #e1eeec; margin: 0; }
.page-hero .btn-row { margin-top: 24px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; font-size: .88rem; }
.breadcrumbs li:not(:last-child)::after { content: "›"; margin-left: 6px; color: rgba(255, 255, 255, .5); }
.breadcrumbs a { color: #cfe7e3; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--mint-light); }
@media (max-width: 640px) { .page-hero { padding: 40px 0 36px; } .page-hero__lead { font-size: 1.02rem; } }

/* ── Content blocks ───────────────────────────────────────────── */
.prose > :last-child { margin-bottom: 0; }
.prose h2 { font-size: 1.45rem; margin-top: 1.4em; }
.prose h2:first-child { margin-top: 0; }
.prose--lead { font-size: 1.12rem; color: var(--ink-2); }
.features { display: grid; gap: 64px; }
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: center; scroll-margin-top: calc(var(--header-h) + 20px); }
.feature--flip .feature__media { order: 2; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature__title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); text-transform: uppercase; }
.meta-list { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.meta-list li { display: inline-flex; align-items: center; gap: 8px; background: var(--paper); color: var(--deep); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 500; }
.section--paper .meta-list li { background: #fff; }
.meta-list .icon { color: var(--teal); }
.contact-line { font-size: .95rem; background: var(--paper); border-left: 3px solid var(--mint); padding: 10px 14px; border-radius: 0 8px 8px 0; }
@media (max-width: 860px) {
  .features { gap: 44px; }
  .feature { grid-template-columns: 1fr; gap: 20px; }
  .feature--flip .feature__media { order: 0; }
}

.link-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 36px 0; }
.link-cards--4 { grid-template-columns: repeat(4, 1fr); }
.link-card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); box-shadow: 0 0 0 1px var(--line), var(--shadow); transition: transform .18s, box-shadow .18s; }
a.link-card:hover { transform: translateY(-3px); color: var(--ink); box-shadow: 0 0 0 1px #bfd3cf, var(--shadow-lg); }
.link-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.link-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 22px 24px; flex: 1; }
.link-card__title { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--deep); text-transform: uppercase; }
.link-card__body .text-link { margin-top: auto; }
@media (max-width: 1000px) { .link-cards, .link-cards--4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .link-cards, .link-cards--4 { grid-template-columns: 1fr; } }

.qa { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.qa__item { display: flex; gap: 18px; background: var(--paper); border-radius: var(--radius); padding: 26px; }
.qa__item h2 { font-size: 1.2rem; }
.qa__icon { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--deep); color: #fff; display: grid; place-items: center; }
@media (max-width: 860px) { .qa { grid-template-columns: 1fr; } .qa__item { padding: 20px; } }

.cta-band { background: var(--deep); color: #dcebe8; padding: 48px 0; }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; text-transform: uppercase; font-size: 1.5rem; margin-bottom: 6px; }
.cta-band p { margin: 0; max-width: 60ch; }
.callout { display: flex; gap: 22px; background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); border-left: 5px solid var(--mint); }
.callout h2 { font-size: 1.35rem; }
.callout p:last-child { margin-bottom: 0; }
.callout__icon { width: 44px; height: 44px; color: var(--teal); stroke-width: 1.6; }
.callout__badge { flex: none; width: 76px; height: 76px; border-radius: 50%; background: var(--mint); color: #022a2c; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; }
@media (max-width: 600px) { .callout { flex-direction: column; padding: 22px; } }

.split { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: start; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__media figcaption, .gallery figcaption { font-size: .9rem; color: var(--muted); margin-top: 10px; }
.split__media { margin: 0; }
.cols-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .split, .cols-2 { grid-template-columns: 1fr; gap: 32px; } }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } }

.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .icon { color: var(--mint); stroke-width: 3; margin-top: .25em; }
.ticks--sm { font-size: .95rem; gap: 4px; }
.plain { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 4px; }

.give { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 36px; }
.give__card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.give__card h2 { font-size: 1.2rem; text-transform: uppercase; }
.give__icon { width: 40px; height: 40px; color: var(--teal); stroke-width: 1.6; margin-bottom: 10px; }
.give__big { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--deep); letter-spacing: .04em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.bank { margin: 0; display: grid; gap: 10px; }
.bank div { background: var(--paper); border-radius: 8px; padding: 8px 12px; }
.bank dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.bank dd { margin: 0; font-weight: 700; color: var(--deep); font-variant-numeric: tabular-nums; }
@media (max-width: 900px) { .give { grid-template-columns: 1fr; } }

.icon-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.icon-card { background: var(--paper); border-radius: var(--radius); padding: 28px; }
.icon-card h2 { font-size: 1.2rem; text-transform: uppercase; }
.icon-card__icon { width: 42px; height: 42px; color: var(--teal); stroke-width: 1.6; margin-bottom: 10px; }
@media (max-width: 900px) { .icon-cards { grid-template-columns: 1fr; } }

.team { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.person { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--shadow); display: flex; flex-direction: column; }
.person__photo img { width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; object-position: top; }
.person__body { padding: 16px 18px 20px; }
.person h3 { margin: 0 0 2px; font-size: 1.08rem; }
.person__role { color: var(--teal); font-weight: 700; font-size: .92rem; margin-bottom: 10px; }
.person__contact { margin: 0; display: grid; gap: 4px; font-size: .88rem; }
.person__contact a { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-2); min-width: 0; }
.person__contact a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.person__contact a:hover { color: var(--teal); }
.person__contact .icon { color: var(--teal); }
@media (max-width: 1000px) { .team { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .team { grid-template-columns: 1fr 1fr; gap: 14px; } .person__body { padding: 12px 14px 16px; } }
.mission { background: var(--black); color: #fff; padding: 48px 0; text-align: center; }
.mission img { margin: 0 auto 14px; }
.mission p { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.2rem, 1rem + 1vw, 1.7rem); text-transform: uppercase; letter-spacing: .03em; margin: 0; }

.table-wrap { overflow-x: auto; margin: 0 auto 14px; max-width: 760px; }
.rota { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line); }
.rota th, .rota td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.rota thead th { background: var(--deep); color: #fff; font-family: var(--font-head); font-size: .95rem; }
.rota thead small { display: block; font-weight: 500; color: var(--mint-light); }
.rota tbody th { font-family: var(--font-head); color: var(--deep); white-space: nowrap; }
.rota tbody tr:last-child > * { border-bottom: 0; }
.rota td { font-weight: 500; }

.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 30px; }
.video { text-decoration: none; color: var(--ink); display: flex; flex-direction: column; gap: 4px; }
.video__thumb { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .2s; }
.video:hover img { opacity: 1; }
.video__play { position: absolute; inset: 0; margin: auto; width: 54px; height: 54px; color: #fff; stroke-width: 1.4; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .5)); }
.video__title { font-weight: 700; color: var(--deep); line-height: 1.35; margin-top: 6px; }
.video__date { font-size: .88rem; color: var(--muted); }
@media (max-width: 860px) { .videos { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .videos { grid-template-columns: 1fr; } }

.urgent { display: flex; align-items: center; gap: 14px; background: #fff3f3; border: 1px solid #f2c3c3; color: #7a1d1d; border-radius: var(--radius); padding: 16px 20px; }
.urgent p { margin: 0; }
.urgent a { color: #7a1d1d; }
.urgent__icon { width: 26px; height: 26px; }
.contact-card { background: var(--paper); border-radius: var(--radius); padding: 26px; border-top: 4px solid var(--mint); }
.contact-card h2 { font-size: 1.35rem; }
.contact-card h3 { font-size: 1.05rem; }
.contact-card__links { display: grid; gap: 6px; font-weight: 700; }
.contact-card__links a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; word-break: break-all; }
.doc-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.doc-list a { display: flex; gap: 12px; align-items: flex-start; background: #fff; border-radius: 10px; padding: 12px 14px; text-decoration: none; color: var(--ink-2); font-size: .94rem; box-shadow: 0 0 0 1px var(--line); }
.doc-list a:hover { box-shadow: 0 0 0 1px var(--teal); }
.doc-list strong { display: block; color: var(--deep); }
.doc-list .icon { color: var(--teal); margin-top: .2em; }
.helplines { list-style: none; padding: 0; margin: 0 auto; max-width: 900px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.helplines li { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.helpline__name { font-weight: 700; color: var(--deep); text-decoration: none; }
.helpline__what { grid-row: 2; font-size: .88rem; color: var(--muted); }
.helpline__num { grid-row: 1 / 3; grid-column: 2; align-self: center; font-weight: 700; text-decoration: none; white-space: nowrap; font-variant-numeric: tabular-nums; display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 700px) { .helplines { grid-template-columns: 1fr; } }

/* Rooms (hall hire) */
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.room { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px var(--line), var(--shadow); display: flex; flex-direction: column; }
.room__photos { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.room__photos::-webkit-scrollbar { display: none; }
.room__photos figure { margin: 0; scroll-snap-align: start; }
.room__photos img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.room__count { position: absolute; right: 10px; bottom: 10px; background: rgba(0, 0, 0, .6); color: #fff; font-size: .78rem; padding: 4px 10px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; pointer-events: none; }
.room__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.room__body h2 { font-size: 1.4rem; text-transform: uppercase; margin-bottom: 4px; }
.room__addr { color: var(--muted); font-size: .92rem; display: flex; gap: 6px; align-items: center; }
.room__body .btn { margin-top: auto; }
.prices { margin: 0 0 12px; display: grid; gap: 6px; }
.prices div { display: flex; justify-content: space-between; gap: 12px; background: var(--paper); border-radius: 8px; padding: 8px 12px; }
.prices dt { color: var(--ink-2); }
.prices dd { margin: 0; font-weight: 800; color: var(--deep); font-family: var(--font-head); }
@media (max-width: 1000px) { .rooms { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .rooms { grid-template-columns: 1fr; } }

/* Forms */
.card { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.form-layout { display: grid; grid-template-columns: 1fr 1.4fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; gap: 24px; } }
.site-form, .signup-form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row--4 { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } .form-row--4 { grid-template-columns: 1fr 1fr; } .card { padding: 20px; } }
.field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-weight: 700; font-size: .95rem; color: var(--deep); padding: 0; }
.req { color: #b0233a; }
.optional { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); padding: 11px 13px; border: 1px solid #bcd0cc; border-radius: 8px; background: #fff; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(2, 195, 154, .35); border-color: var(--teal); }
.field [aria-invalid="true"] { border-color: #b0233a; }
.field__error { color: #b0233a; font-size: .9rem; margin: 0; }
.alert { border-radius: 10px; padding: 12px 16px; }
.alert--error { background: #fff1f3; color: #8f1a2d; border: 1px solid #f3c4cd; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .97rem; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--teal); flex: none; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; }
.checks legend { grid-column: 1 / -1; margin-bottom: 4px; }
.checks .field__error { grid-column: 1 / -1; }
.more-fields { border: 1px solid var(--line); border-radius: 10px; padding: 0 16px; }
.more-fields summary { cursor: pointer; font-weight: 700; color: var(--deep); padding: 12px 0; }
.more-fields[open] { padding-bottom: 16px; }
.more-fields .form-row { margin-bottom: 12px; }

.signup { display: grid; grid-template-columns: 1fr 1.25fr; gap: 48px; align-items: start; }
.signup-done { display: flex; gap: 14px; align-items: flex-start; font-size: 1.08rem; }
.signup-done .icon { width: 40px; height: 40px; color: #fff; background: var(--mint); border-radius: 50%; padding: 8px; stroke-width: 3; }
.signup-form__status { padding: 12px 16px; border-radius: 10px; background: #ebfaf4; color: #12603f; }
.signup-form__status.is-error { background: #fff1f3; color: #8f1a2d; }
@media (max-width: 900px) { .signup { grid-template-columns: 1fr; gap: 24px; } .checks { grid-template-columns: 1fr; } }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact__links { list-style: none; padding: 0; margin: 14px 0 24px; display: grid; gap: 8px; font-weight: 700; }
.contact__links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.contact h3 { font-size: 1.05rem; margin-top: 24px; }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; }
.hours th, .hours td { padding: 7px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; font-weight: 700; color: var(--deep); white-space: nowrap; padding-left: 12px; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
.map__frame { min-height: 380px; background: var(--paper); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; padding: 30px 20px; }
.map__frame iframe { width: 100%; height: 420px; border: 0; display: block; }
.map__frame.is-loaded { padding: 0; min-height: 0; }

.thanks { padding: 100px 0; }
.thanks__icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--mint); color: #022a2c; margin-bottom: 18px; }
.thanks__icon .icon { width: 36px; height: 36px; stroke-width: 2.4; }
.legal h2 { font-size: 1.3rem; margin-top: 1.6em; }
.legal li { margin-bottom: .5em; }

/* ── Upcoming events ──────────────────────────────────────────── */
.cal-toolbar { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; margin-bottom: 28px; }
.seg { display: inline-flex; background: var(--paper); border-radius: 999px; padding: 4px; gap: 2px; box-shadow: inset 0 0 0 1px var(--line); flex-wrap: wrap; }
.seg__btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .95rem; color: var(--ink-2); text-decoration: none; border: 0; background: none; cursor: pointer; font-family: var(--font); }
.seg__btn:hover { color: var(--deep); background: #e6eeec; }
.seg__btn[aria-current], .seg__btn[aria-selected="true"] { background: var(--deep); color: #fff; }
.seg--big .seg__btn { padding: 11px 22px; font-size: 1rem; }
.month-nav { display: flex; align-items: center; gap: 8px; }
.month-nav__title { margin: 0; font-size: 1.35rem; min-width: 9ch; text-align: center; }
.icon-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--deep); background: var(--paper); text-decoration: none; }
.icon-btn:hover { background: var(--line); }
.subscribe { position: relative; margin-left: auto; }
.subscribe summary { list-style: none; }
.subscribe summary::-webkit-details-marker { display: none; }
.subscribe__menu { position: absolute; right: 0; top: calc(100% + 8px); width: 300px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px; z-index: 20; display: grid; gap: 6px; }
.subscribe__menu p { font-size: .9rem; color: var(--muted); margin: 0 0 6px; }
.subscribe__menu a { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; text-decoration: none; font-weight: 700; color: var(--deep); background: var(--paper); }
.subscribe__menu a:hover { background: var(--line); }
.notice { display: flex; gap: 12px; align-items: flex-start; background: #fff8e6; border: 1px solid #f1d58a; color: #5f4300; padding: 14px 18px; border-radius: var(--radius); margin-bottom: 24px; }
.notice p { margin: 0; }
.empty-state { color: var(--muted); padding: 30px; text-align: center; background: var(--paper); border-radius: var(--radius); }
.specials { background: var(--deep); border-radius: 16px; padding: 24px; margin-bottom: 40px; }
.specials__title { color: #fff; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.specials__title .icon { color: var(--mint); }
.week { margin-bottom: 34px; }
.week__title { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); border-bottom: 2px solid var(--line); padding-bottom: 10px; margin-bottom: 4px; }
.agenda { list-style: none; padding: 0; margin: 0; }
.agenda__day { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.agenda__day.is-today .agenda__dnum { background: var(--mint); color: #022a2c; }
.agenda__date { display: flex; gap: 12px; align-items: flex-start; margin: 0; font-size: 1rem; position: sticky; top: calc(var(--header-h) + 10px); align-self: start; }
.agenda__dnum { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--deep); color: #fff; display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.agenda__dtext { display: flex; flex-direction: column; line-height: 1.25; padding-top: 3px; }
.agenda__dtext small { font-family: var(--font); font-weight: 500; color: var(--muted); font-size: .85rem; }
.agenda__events { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.agenda__event a { display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.agenda__event a:hover { background: var(--paper); }
.agenda__event:target a { background: #e3f7f1; box-shadow: inset 0 0 0 2px var(--mint); }
.agenda__event.is-special a { background: #f2fbf8; box-shadow: inset 3px 0 0 var(--mint); }
.agenda__time { font-weight: 700; color: var(--deep); font-variant-numeric: tabular-nums; line-height: 1.3; padding-top: 1px; }
.agenda__time small { display: block; font-weight: 400; color: var(--muted); }
.agenda__info { display: grid; gap: 2px; min-width: 0; }
.agenda__title { font-weight: 700; font-size: 1.04rem; color: var(--deep); line-height: 1.3; }
.agenda__meta { font-size: .9rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: center; min-width: 0; }
.agenda__meta .icon { color: var(--teal); width: 15px; height: 15px; }
.agenda__chev { color: #9db3af; align-self: center; }
@media (max-width: 760px) {
  .agenda__day { grid-template-columns: 1fr; gap: 6px; padding: 14px 0; }
  .agenda__date { position: static; align-items: center; }
  .agenda__dnum { width: 38px; height: 38px; font-size: 1rem; }
  .agenda__dtext { flex-direction: row; gap: 8px; align-items: baseline; padding: 0; }
  .agenda__event a { grid-template-columns: 70px minmax(0, 1fr) auto; gap: 10px; padding: 10px 6px; }
  .subscribe { margin-left: 0; }
  .subscribe__menu { left: 0; right: auto; width: min(300px, calc(100vw - 40px)); }
  .specials { padding: 16px; margin-left: -8px; margin-right: -8px; }
}
.month { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.month__head { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--deep); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.month__head span { padding: 10px; text-align: center; }
.month__grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.month__day { min-height: 128px; padding: 6px; overflow: hidden; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.month__day:nth-child(7n) { border-right: 0; }
.month__day.is-out { background: #f8faf9; }
.month__day.is-out .month__num { color: #a9bab7; }
.month__day.is-past:not(.is-out) { background: #fbfcfc; }
.month__day.is-past .pill { opacity: .6; }
.month__num { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-weight: 700; font-size: .9rem; color: var(--deep); }
/* A day with events: the whole cell opens that day's list (events and "+ more" sit above it). */
.month__day.has-events { position: relative; cursor: pointer; }
.month__day.has-events:hover { background: #f4faf8; }
.month__daybtn { border: 0; background: none; padding: 0; font-family: inherit; cursor: pointer; }
.month__daybtn::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.month__daybtn:hover, .month__daybtn:focus-visible { background: var(--paper); }
.month__day.has-events .month__events { position: relative; z-index: 1; }
.month__day.has-events .month__events { pointer-events: none; }
.month__day.has-events .month__events a, .month__day.has-events .month__events button { pointer-events: auto; }
.month__day.is-today .month__num { background: var(--mint); color: #022a2c; }
.month__events { list-style: none; padding: 0; margin: 2px 0 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 3px; }
.month__events li { min-width: 0; }
.pill { display: block; font-size: .78rem; line-height: 1.3; padding: 3px 6px; border-radius: 5px; background: #e8f3f1; color: var(--deep); text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pill:hover { background: var(--teal); color: #fff; }
.pill b { font-weight: 700; }
.pill--special { background: var(--cream); }
.month__more { font-size: .75rem; font-weight: 700; color: var(--teal); padding: 2px 6px; border: 0; background: none; cursor: pointer; font-family: inherit; border-radius: 5px; }
.month__more:hover { background: var(--paper); color: var(--deep); text-decoration: underline; }
.day-dialog__title { font-size: 1.3rem; padding: 26px 66px 4px 26px; margin: 0; }
.day-dialog__list { list-style: none; margin: 0; padding: 8px 14px 22px; display: grid; gap: 2px; }
.day-dialog__list a { display: grid; grid-template-columns: 80px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.day-dialog__list a:hover { background: var(--paper); }
.day-dialog__list .t { font-weight: 700; color: var(--deep); font-variant-numeric: tabular-nums; }
.day-dialog__list .n { font-weight: 700; color: var(--deep); display: block; line-height: 1.3; }
.day-dialog__list small { color: var(--muted); }
.day-dialog__list .icon { color: #9db3af; }
.day-dialog__list .is-special .n::after { content: "Special"; margin-left: 8px; font-family: var(--font-head); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 3px 6px; border-radius: 3px; background: #e3f7f1; color: #036b55; vertical-align: 2px; }
@media (max-width: 640px) { .day-dialog__title { padding: 14px 60px 0 18px; } .day-dialog__list { padding: 8px 6px 24px; } .day-dialog__list a { grid-template-columns: 70px minmax(0, 1fr) auto; } }
.month__dots { display: none; }
.month-agenda { display: none; margin-top: 28px; }
@media (max-width: 860px) {
  .month__day { min-height: 54px; padding: 4px 2px; text-align: center; }
  .month__events { display: none; }
  .month__dots { display: flex; justify-content: center; gap: 3px; margin-top: 2px; }
  .month__dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
  .month__dots i.is-special { background: var(--mint); }
  .month__head span { padding: 8px 0; font-size: .68rem; letter-spacing: .04em; }
  .month-agenda { display: block; }
  .month-nav__title { font-size: 1.1rem; }
}
.verse { background: var(--paper); padding: 56px 0; text-align: center; }
.verse blockquote { margin: 0 auto; max-width: 760px; }
.verse p { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 1rem + 1vw, 1.65rem); color: var(--deep); text-transform: uppercase; margin-bottom: 10px; line-height: 1.35; }
.verse cite { font-style: normal; color: var(--teal); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; }

/* ── News ─────────────────────────────────────────────────────── */
.pub-tabs > .seg { margin-bottom: 30px; }
.js .pub-panel[data-hidden] { display: none; }
.pub-panel { margin-bottom: 40px; }
.js .pub-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.pub-panel__blurb { color: var(--ink-2); font-size: 1.08rem; }
.pub-panel__sub { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); border-bottom: 2px solid var(--line); padding-bottom: 10px; margin: 44px 0 22px; }
.issue-latest { display: grid; grid-template-columns: 260px 1fr; gap: 36px; align-items: center; background: var(--paper); border-radius: 16px; padding: 28px; }
.issue-latest__cover { display: block; border-radius: 6px; overflow: hidden; box-shadow: 0 12px 30px rgba(2, 30, 32, .22); aspect-ratio: 300 / 424; background: #fff; transition: transform .2s; }
.issue-latest__cover:hover { transform: translateY(-3px) rotate(-.5deg); }
.issue-latest__cover img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.issue-latest h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); text-transform: uppercase; margin: 0 0 4px; }
.issue-latest__date { font-size: 1.2rem; font-weight: 700; color: var(--teal); margin-bottom: 4px; }
.issues { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 26px 20px; }
.issues .issue__date { font-size: .93rem; }
@media (max-width: 640px) {
  .issue-latest { grid-template-columns: 120px 1fr; gap: 18px; padding: 18px; align-items: start; }
  .issue-latest .btn-row { grid-column: 1 / -1; }
  .issues { grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
}

/* ── Footer ───────────────────────────────────────────────────── */
.signup-band { background: var(--teal); color: #fff; padding: 36px 0; }
.signup-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.signup-band h2 { color: #fff; margin: 0; font-size: clamp(1.2rem, 1rem + .8vw, 1.55rem); max-width: 30ch; }
.signup-band .eyebrow { color: var(--cream); }
.site-footer { background: var(--black); color: #c7d3d1; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 36px; padding-top: 56px; padding-bottom: 40px; }
.footer-logo img { width: 210px; }
.footer-motto { font-family: var(--font-head); font-style: italic; color: var(--mint-light); margin: 14px 0; }
.footer-col__title { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: #e3ecea; text-decoration: none; }
.site-footer a:hover { color: var(--mint-light); }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-contact a { display: inline-flex; gap: 8px; align-items: center; word-break: break-word; }
.footer-contact .icon { color: var(--mint); }
.nap { margin-bottom: 12px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.footer-social a:hover { background: var(--teal); color: #fff; }
.footer-social--dark a { background: var(--paper); color: var(--deep); }
.footer-social--dark a:hover { background: var(--teal); color: #fff; }
.contact .footer-social { margin-top: 20px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; }
.footer-bottom__inner { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; padding-top: 18px; padding-bottom: 22px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; gap: 18px; padding: 0; margin: 0; }
.credit { color: #8fa3a0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-col--brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .signup-band, .cal-toolbar, .hero__btns { display: none; }
}

/* ── Vacancies ────────────────────────────────────────────────── */
.hiring { padding: 34px 0 0; }
.hiring__card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; background: linear-gradient(120deg, var(--deep) 0%, #035a5f 100%); color: #dcebe8; border-radius: 16px; padding: 28px 32px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hiring__card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(2, 195, 154, .22), transparent 70%); pointer-events: none; }
.hiring__badge { width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: #022a2c; display: grid; place-items: center; }
.hiring__badge .icon { width: 30px; height: 30px; stroke-width: 1.8; }
.hiring .eyebrow { margin-bottom: 4px; }
.hiring__title { color: #fff; font-size: clamp(1.25rem, 1rem + .9vw, 1.6rem); margin: 0 0 6px; }
.hiring__title a { color: inherit; text-decoration: none; }
.hiring__title a:hover { text-decoration: underline; text-decoration-color: var(--mint); }
.hiring__text { margin: 0 0 10px; max-width: 62ch; }
.hiring__meta, .hiring__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 8px; font-size: .88rem; }
.hiring__meta li { background: rgba(255, 255, 255, .1); border-radius: 999px; padding: 4px 12px; color: #fff; }
.hiring__meta .hiring__closing { background: var(--cream); color: var(--deep); font-weight: 700; }
.hiring__list { display: grid; gap: 4px; font-size: 1rem; }
.hiring__list a { color: #fff; font-weight: 700; }
.hiring__list span { color: var(--mint-light); font-size: .88rem; }
.hiring__actions { display: grid; gap: 10px; position: relative; z-index: 1; }
@media (max-width: 900px) {
  .hiring__card { grid-template-columns: auto minmax(0, 1fr); padding: 24px; }
  .hiring__actions { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .hiring { padding-top: 22px; }
  .hiring__card { grid-template-columns: 1fr; gap: 14px; padding: 22px 20px; }
  .hiring__badge { width: 48px; height: 48px; }
  .hiring__badge .icon { width: 24px; height: 24px; }
  .hiring__actions { grid-template-columns: 1fr; }
}

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0; }
@media (max-width: 1000px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) { .facts { grid-template-columns: 1fr; } }
.facts__item { background: #fff; border-radius: 10px; padding: 14px 16px; box-shadow: 0 0 0 1px var(--line); }
.facts dt { font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.facts dd { margin: 0; color: var(--deep); font-weight: 700; line-height: 1.35; }
.facts__item--closing, .facts__item--selection { background: var(--cream); box-shadow: none; }
.facts--short { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); margin-top: 16px; }
.facts--short .facts__item { background: var(--paper); box-shadow: none; padding: 10px 14px; }
.facts--short .facts__item--closing { background: var(--cream); }
.vacancy-top { padding-top: 28px; }
.vacancy-top .notice { margin-bottom: 18px; }
.vacancy { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: start; }
.vacancy__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.vlist { background: var(--paper); border-radius: var(--radius); padding: 22px; }
.vlist h3 { font-size: 1.1rem; margin-bottom: 12px; }
.vlist--offer { background: #e9f8f3; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: start; font-size: .98rem; line-height: 1.45; }
.ticks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--deep); color: #fff; stroke-width: 2.6; margin-top: 1px; }
.vlist--offer .ticks .icon { background: var(--mint); color: #022a2c; }
.vacancy__pitch { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--deep); border-left: 4px solid var(--mint); padding-left: 16px; }
.how-apply { margin-top: 36px; background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.how-apply h2 { margin-top: 0; }
.how-apply__steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 18px; display: grid; gap: 14px; }
.how-apply__steps li { counter-increment: s; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
.how-apply__steps li::before { content: counter(s); margin-top: -3px; width: 32px; height: 32px; border-radius: 50%; background: var(--deep); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; }
.how-apply__closing { margin: 16px 0 0; display: flex; align-items: center; gap: 8px; color: var(--ink-2); }
.how-apply__closing .icon { color: var(--teal); }
.vacancy__aside { display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.vacancy__advert { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.vacancy__advert img { width: 100%; }
.vacancy__advert-label { position: absolute; left: 12px; bottom: 12px; background: rgba(2, 30, 32, .85); color: #fff; padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.vacancy__advert:hover .vacancy__advert-label { background: var(--teal); }
.card .h3, .h3 { font-size: 1.15rem; margin-bottom: 12px; }
.vacancy__docs .doc-list a { background: var(--paper); box-shadow: none; }
.vacancy__docs .doc-list a:hover { box-shadow: 0 0 0 1px var(--teal); }
.vacancy__ask p { margin-bottom: 4px; }
.vacancy__ask .contact__links { margin: 10px 0 0; }
@media (max-width: 960px) {
  .vacancy { grid-template-columns: 1fr; gap: 32px; }
  .vacancy__aside { position: static; grid-template-columns: 1fr 1fr; }
  .vacancy__advert { grid-row: span 2; }
}
@media (max-width: 640px) {
  .vacancy__lists { grid-template-columns: 1fr; }
  .vacancy__aside { grid-template-columns: 1fr; }
  .vacancy__advert { max-width: 360px; }
  .how-apply { padding: 22px 18px; }
}
.jobs { display: grid; gap: 18px; }
.job { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; background: #fff; border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 0 0 1px var(--line), var(--shadow); border-left: 5px solid var(--mint); }
.job__title { margin-bottom: 6px; }
.job__title a { color: var(--deep); text-decoration: none; }
.job__title a:hover { color: var(--teal); }
.job__summary { color: var(--ink-2); margin: 0; }
.job__actions { display: grid; gap: 10px; }
.jobs__note { margin-top: 28px; font-size: .95rem; }
@media (max-width: 760px) { .job { grid-template-columns: 1fr; padding: 22px 20px; } .job__actions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .job__actions { grid-template-columns: 1fr; } }

/* Application form */
.apply-section { padding-top: 40px; }
.apply-wrap { max-width: 860px; }
.apply { display: grid; gap: 20px; }
.apply-progress { background: #fff; border-radius: var(--radius); padding: 16px 18px 14px; box-shadow: 0 0 0 1px var(--line); position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; }
.apply-progress__count { display: none; margin: 0 0 8px; font-weight: 700; color: var(--deep); font-size: .95rem; }
.apply-progress ol { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.apply-progress button { width: 100%; display: grid; justify-items: center; gap: 4px; background: none; border: 0; padding: 4px 2px; cursor: pointer; font: inherit; color: var(--muted); border-radius: 8px; }
.apply-progress button:hover { background: var(--paper); }
.apply-progress button[disabled] { cursor: default; background: none; opacity: .65; }
.apply-progress__n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); box-shadow: inset 0 0 0 2px var(--line); font-family: var(--font-head); font-weight: 700; font-size: .85rem; color: var(--ink-2); }
.apply-progress__t { font-size: .74rem; line-height: 1.2; text-align: center; font-weight: 600; }
.apply-progress .is-done .apply-progress__n { background: var(--mint); box-shadow: none; color: #022a2c; }
.apply-progress .is-current .apply-progress__n { background: var(--deep); box-shadow: none; color: #fff; }
.apply-progress .is-current .apply-progress__t { color: var(--deep); }
.apply-progress .has-error .apply-progress__n { background: #b0233a; color: #fff; box-shadow: none; }
.apply-progress__bar { height: 6px; border-radius: 999px; background: var(--paper); overflow: hidden; }
.apply-progress__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--teal), var(--mint)); border-radius: inherit; transition: width .3s ease; }
@media (max-width: 760px) {
  .apply-progress { padding: 12px 14px; top: calc(var(--header-h) + 4px); }
  .apply-progress__count { display: block; }
  .apply-progress ol { display: none; }
}
.apply-saved { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: #ebfaf4; color: #12603f; border-radius: 10px; padding: 10px 14px; font-size: .95rem; }
.apply-saved button { margin-left: auto; background: none; border: 0; color: #12603f; text-decoration: underline; cursor: pointer; font: inherit; font-weight: 700; }
.apply-step { scroll-margin-top: calc(var(--header-h) + 120px); }
.apply-step h2 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); margin-bottom: 6px; outline: none; }
.apply-step__kicker { font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin: 0 0 4px; }
.apply-step__intro { color: var(--ink-2); margin-bottom: 22px; max-width: 68ch; }
.apply-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.apply-grid > * { grid-column: 1 / -1; }
.apply-grid > .field--half { grid-column: auto; }
.field__help { margin: -2px 0 2px; font-size: .9rem; color: var(--muted); }
.apply-note { font-size: 1.05rem; margin: 10px 0 -6px; padding-top: 14px; border-top: 1px solid var(--line); }
.apply-grid > .apply-note:first-child, .repeat > .apply-note { border-top: 0; padding-top: 0; margin-top: 0; }
.repeat > .apply-note { margin-bottom: 4px; }
.repeat > .field__help { margin-bottom: 10px; }
.field--yn legend { margin-bottom: 8px; line-height: 1.4; }
.yn { display: flex; gap: 10px; flex-wrap: wrap; }
.yn__opt { position: relative; cursor: pointer; }
.yn__opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.yn__opt span { display: inline-flex; align-items: center; justify-content: center; min-width: 96px; padding: 10px 20px; border-radius: 8px; border: 2px solid #bcd0cc; background: #fff; font-weight: 700; color: var(--ink-2); transition: background .15s ease, border-color .15s ease; }
.yn__opt:hover span { border-color: var(--teal); }
.yn__opt input:checked + span { background: var(--deep); border-color: var(--deep); color: #fff; }
.yn__opt input:focus-visible + span { outline: 3px solid var(--mint); outline-offset: 2px; }
.field--yn[aria-invalid="true"] .yn__opt span, .field--yn.is-invalid .yn__opt span { border-color: #b0233a; }
.field--check .check { background: var(--paper); border-radius: 10px; padding: 14px 16px; line-height: 1.45; }
.field--check.is-invalid .check { box-shadow: inset 0 0 0 2px #b0233a; }
.repeat__rows { display: grid; gap: 14px; }
.repeat__row { position: relative; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px 16px; margin: 0; background: #fbfdfd; min-width: 0; }
.repeat__row legend { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); padding: 0 6px; }
.repeat__row .field label { font-size: .9rem; }
.repeat__remove { position: absolute; right: 12px; top: -12px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font: inherit; font-size: .82rem; color: var(--muted); cursor: pointer; }
.repeat__remove:hover { color: #b0233a; border-color: #b0233a; }
.repeat__rows > .repeat__row:only-child .repeat__remove { display: none; }
.repeat__add { margin-top: 12px; }
.repeat > .field__error { margin: 0 0 10px; }
.repeat.is-invalid .repeat__row:first-child { box-shadow: inset 0 0 0 2px #b0233a; }
.apply-looking { background: #e9f8f3; border-radius: var(--radius); padding: 18px 20px; margin: 0 0 24px; }
.apply-looking h3 { font-size: 1.02rem; margin-bottom: 10px; }
.apply-looking .ticks { gap: 6px; }
.apply-looking .ticks li { font-size: .95rem; }
.apply-looking .ticks .icon { background: var(--mint); color: #022a2c; }
.apply-looking__more { margin: 12px 0 0; font-size: .92rem; }
.apply-looking__more a { font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.apply-nav { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.apply-nav [data-next], .apply-nav [data-submit] { margin-left: auto; }
.apply-errors:focus { outline: none; }
.apply-help { text-align: center; margin: 0; }
.apply-review { display: grid; gap: 12px; margin: 0 0 24px; }
.apply-review details { border: 1px solid var(--line); border-radius: 10px; background: #fbfdfd; }
.apply-review summary { cursor: pointer; padding: 12px 16px; font-weight: 700; color: var(--deep); display: flex; align-items: center; gap: 10px; }
.apply-review summary .apply-review__edit { margin-left: auto; font-weight: 600; font-size: .9rem; }
.apply-review summary .apply-review__missing { background: #fff1f3; color: #8f1a2d; font-size: .78rem; padding: 2px 8px; border-radius: 999px; }
.apply-review dl { margin: 0; padding: 0 16px 14px; display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 6px 16px; font-size: .94rem; }
.apply-review dt { color: var(--muted); }
.apply-review dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .apply-grid { grid-template-columns: 1fr; }
  .apply-grid > .field--half { grid-column: 1 / -1; }
  .apply-review dl { grid-template-columns: 1fr; gap: 0; }
  .apply-review dd { margin-bottom: 8px; }
  .apply-nav .btn { flex: 1 1 auto; }
}
/* One step at a time once the script is running */
.apply.is-stepped .apply-step:not(.is-current) { display: none; }
