/* Parish: stained-glass panels, leaded ink lines, large serif. Flat colour only, no gradients except the light pass. */
:root {
  --paper: #F1EFF6;
  --white: #FFFFFF;
  --lead: #1B1A24;
  --ink: #1B1A24;
  --muted: #4A4659;
  --ruby: #8E1B3C;
  --sapphire: #21418F;
  --emerald: #1B6A52;
  --amber: #E3A02F;
  --violet: #5A3A86;
  --glass: #E6E2F2;
  --f-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --f-sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --max: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--f-sans);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-serif); font-weight: 600; line-height: 1.02; margin: 0 0 .5em; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 7.6vw, 6.25rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3 { font-size: 1.5rem; line-height: 1.15; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--sapphire); outline-offset: 3px; }
.band :focus-visible, .site-footer :focus-visible { outline-color: var(--amber); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 30; background: var(--white); color: var(--ink); padding: 10px 14px; border: 3px solid var(--ink); }
.skip:focus { left: 12px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .9em; }
.lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.5; max-width: 40em; color: var(--muted); }
.text-link { font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.note { font-size: .95rem; color: var(--muted); border-left: 4px solid var(--ink); padding-left: 14px; }
.plain { list-style: none; padding: 0; margin: 0; }
.plain li { margin: 0 0 .4em; }
.plain-list { padding-left: 1.2em; }
.plain-list li { margin-bottom: .8em; }

/* Header */
.site-header { background: var(--white); border-bottom: 4px solid var(--ink); position: sticky; top: 0; z-index: 10; }
.bar { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 16px; }
.wordmark { font-family: var(--f-serif); font-weight: 600; font-size: 1.5rem; text-decoration: none; letter-spacing: -0.01em; }
.desktop-nav { display: flex; align-items: center; gap: 22px; font-weight: 700; }
.desktop-nav a:not(.button) { text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.desktop-nav a:not(.button):hover, .desktop-nav a[aria-current="page"] { border-bottom-color: var(--ruby); }
.mobile-nav { display: none; }
.mobile-nav summary { list-style: none; cursor: pointer; font-weight: 700; min-height: 44px; display: flex; align-items: center; padding: 0 4px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 4px solid var(--ink); padding: 8px var(--gutter) 20px; display: grid; gap: 4px; }
.mobile-nav nav a { font-weight: 700; font-size: 1.1rem; min-height: 44px; display: flex; align-items: center; text-decoration: none; }
.mobile-nav nav a[aria-current="page"] { color: var(--ruby); }
.mobile-nav nav .button { margin-top: 8px; justify-content: center; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; gap: .5em; min-height: 48px; padding: 12px 22px;
  background: var(--ink); color: var(--white); border: 3px solid var(--ink);
  font: 700 1rem/1 var(--f-sans); text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translate(-3px, -3px); box-shadow: 4px 4px 0 var(--amber); }
.button-small { min-height: 42px; padding: 9px 16px; font-size: .95rem; }
.button-light { background: var(--white); color: var(--ruby); border-color: var(--white); }
.band .button:hover, .band-ruby .button:hover { box-shadow: 4px 4px 0 var(--ink); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-top: 52px; padding-bottom: 64px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 28px; }

/* Stained-glass window */
.window {
  position: relative; border: 6px solid var(--ink); border-radius: 50% 50% 0 0 / 60px 60px 0 0;
  background: var(--ink); padding: 6px; overflow: hidden;
}
.window::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at var(--mx, 30%) var(--my, 18%), rgba(255, 246, 214, .6), rgba(255, 246, 214, 0) 42%);
  mix-blend-mode: soft-light;
}
.window-panes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--ink); }
.pane {
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  min-height: 150px; padding: 18px 16px; color: var(--white);
  animation: rise .9s cubic-bezier(.2, .7, .2, 1) both;
}
.pane:hover { filter: brightness(1.08) saturate(1.1); }
.pane-day { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.pane-time { font: 600 clamp(2rem, 4vw, 2.7rem)/1 var(--f-serif); font-variant-numeric: tabular-nums; }
.pane-what { font-size: .95rem; line-height: 1.35; }
.pane-ruby { background: var(--ruby); }
.pane-amber { background: var(--amber); color: var(--ink); }
.pane-sapphire { background: var(--sapphire); }
.pane-glass { background: var(--glass); color: var(--ink); }
.pane-emerald { background: var(--emerald); }
.pane-violet { background: var(--violet); }
.d1 { animation-delay: .05s; } .d2 { animation-delay: .15s; } .d3 { animation-delay: .25s; }
.d4 { animation-delay: .35s; } .d5 { animation-delay: .45s; } .d6 { animation-delay: .55s; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Sections */
.section { padding-top: 84px; padding-bottom: 84px; border-top: 4px solid var(--ink); }
.section-tint { background: var(--glass); }
.section-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 36px; }
.section-top h2 { margin-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.page-head { padding-top: 64px; padding-bottom: 48px; }
.page-head h1 { max-width: 14em; }
.band { padding: 84px 0; border-top: 4px solid var(--ink); border-bottom: 4px solid var(--ink); }
.band-sapphire { background: var(--sapphire); color: var(--white); }
.band-sapphire .lede, .band-sapphire .note { color: var(--white); }
.band-ruby { background: var(--ruby); color: var(--white); }
.band-violet { background: var(--violet); color: var(--white); }
.band-amber { background: var(--amber); color: var(--ink); }
.band-glass { background: var(--glass); }
.band-violet .note, .band-violet .eyebrow { color: var(--white); }
.band-violet .button { background: var(--white); color: var(--ink); border-color: var(--white); }
.band-violet .button:hover { box-shadow: 4px 4px 0 var(--amber); }
.band-amber .button { background: var(--ink); color: var(--white); }
.band-amber .button:hover { box-shadow: 4px 4px 0 var(--white); }
.band-amber .text-link { color: var(--ink); }
.band-ruby .button { background: var(--white); color: var(--ruby); border-color: var(--white); }
.band-ruby .button:hover { box-shadow: 4px 4px 0 var(--ink); }

/* Frames and photos */
.frame { margin: 0; border: 6px solid var(--ink); background: var(--white); padding: 0; }
.frame-round .photo { border-radius: 50%; }
.photo { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border: 0; }
.frame img.photo { border: 0; }
figure.frame .photo[width="800"][height="1000"] { aspect-ratio: 4 / 5; }
figure.frame .photo[width="800"][height="800"] { aspect-ratio: 1 / 1; }
figure.frame .photo[width="1200"] { aspect-ratio: 3 / 2; }
figure.frame .photo[width="800"] { aspect-ratio: 1 / 1; }

/* Tables and lists */
.times { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.times th, .times td { text-align: left; padding: 16px 12px; border-bottom: 2px solid var(--ink); vertical-align: top; }
.times thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; border-bottom-width: 4px; }
.times tbody th { font-family: var(--f-serif); font-size: 1.25rem; font-weight: 600; width: 22%; }
.times td:nth-child(2) { width: 22%; font-weight: 700; }
.split-list { list-style: none; padding: 0; margin: 0 0 24px; }
.split-list li { display: flex; gap: 14px; align-items: baseline; padding: 12px 0; border-bottom: 2px solid var(--ink); }
.split-list span { font: 600 2rem/1 var(--f-serif); min-width: 3.2em; font-variant-numeric: tabular-nums; }

/* Cards */
.cards-3, .cards-2 { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.panel { background: var(--white); border: 4px solid var(--ink); padding: 26px 24px; }
.card { border-top-width: 14px; }
.card-ruby { border-top-color: var(--ruby); }
.card-amber { border-top-color: var(--amber); }
.card-sapphire { border-top-color: var(--sapphire); }
.card-violet { border-top-color: var(--violet); }
.card-emerald { border-top-color: var(--emerald); }
.card-meta { font-weight: 700; color: var(--muted); font-size: .95rem; }
.card-date { display: block; font: 600 2.4rem/1 var(--f-serif); margin-bottom: 14px; font-variant-numeric: tabular-nums; color: var(--ruby); }
.cards-3 .card h3 { margin-top: 0; }

/* Events */
.events { list-style: none; padding: 0; margin: 0; display: grid; gap: 24px; }
.event { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 24px; background: var(--white); border: 4px solid var(--ink); padding: 22px; }
.when { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--sapphire); color: var(--white); border: 3px solid var(--ink); padding: 12px 6px; text-align: center; }
.when-day { font: 600 2.6rem/1 var(--f-serif); font-variant-numeric: tabular-nums; }
.when-month { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.event:nth-child(3n+2) .when { background: var(--ruby); }
.event:nth-child(3n+3) .when { background: var(--emerald); }
.event-time { font-weight: 700; color: var(--ruby); margin-bottom: 4px; }
.event-meta { color: var(--muted); font-size: .95rem; margin-bottom: 8px; }
.event h3 { margin-bottom: 6px; }

/* People */
.person { border-top-width: 14px; }
.person-ruby { border-top-color: var(--ruby); }
.person-sapphire { border-top-color: var(--sapphire); }
.person-emerald { border-top-color: var(--emerald); }
.person-amber { border-top-color: var(--amber); }
.person-role { font-weight: 700; color: var(--muted); margin-top: -.3em; }

/* Facts */
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 14px 22px; margin: 0 0 24px; }
.facts dt { font-weight: 700; }
.facts dd { margin: 0; }
.big-address { font: 600 clamp(1.5rem, 3vw, 2.2rem)/1.2 var(--f-serif); font-style: normal; margin-bottom: 18px; }
.big-address a { text-decoration-thickness: 2px; text-underline-offset: 5px; }

/* Families */
.families-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 56px; padding-bottom: 72px; }
.group { border-top-width: 14px; padding-top: 30px; }
.group-amber { border-top-color: var(--amber); }
.group-ruby { border-top-color: var(--ruby); }
.group-emerald { border-top-color: var(--emerald); }
.group .eyebrow { color: var(--muted); }
.group h2 { font-size: 2rem; }
.register { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: 56px; align-items: start; }
.register-card { background: var(--white); color: var(--ink); border: 4px solid var(--ink); padding: 28px; }
.slot-form { display: grid; gap: 8px; }
.slot-form label { font-weight: 700; margin-top: 10px; }
.slot-form input, .slot-form select, .slot-form textarea { font: 400 1rem/1.4 var(--f-sans); padding: 12px; border: 3px solid var(--ink); background: var(--white); color: var(--ink); width: 100%; border-radius: 0; }
.slot-form fieldset { border: 3px solid var(--ink); padding: 12px; margin: 8px 0; }
.slot-form fieldset label { margin: 6px 14px 6px 0; display: inline-flex; gap: 8px; align-items: center; }
.slot-form button { margin-top: 14px; justify-self: start; min-height: 48px; padding: 12px 22px; background: var(--ink); color: var(--white); border: 3px solid var(--ink); font: 700 1rem var(--f-sans); }
.band-violet .slot a { color: var(--white); font-weight: 700; }

/* Safeguarding */
.safeguard .split { align-items: start; }

/* Giving */
.give-band { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px 48px; }
.give-band h2 { max-width: 14em; }
.give-band p { max-width: 36em; }
.give-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.give-card { background: var(--white); color: var(--ink); border: 4px solid var(--ink); padding: 28px; }
.give-card .split-list span { color: var(--ruby); }
.give-grid .slot { margin-top: 24px; }
.give-grid .slot .button { background: var(--ink); color: var(--white); border-color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.contact-grid .contact-form { background: var(--white); border: 4px solid var(--ink); padding: 28px; }
.contact-grid .slot p { color: var(--muted); }

/* Closing */
.closing { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px 40px; padding-top: 72px; padding-bottom: 80px; border-top: 4px solid var(--ink); }
.closing h2 { max-width: 16em; margin-bottom: 0; }

/* Footer */
.site-footer { background: var(--ink); color: var(--white); padding: 56px 0 0; margin-top: 0; }
.site-footer a { color: var(--white); }
.site-footer .wordmark { color: var(--white); }
.site-footer .eyebrow { color: var(--amber); }
.footer-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px; padding-bottom: 40px; }
.footer-grid p { margin-bottom: .6em; }
.footer-grid address { font-style: normal; }
.footer-grid .text-link { font-weight: 700; display: inline-block; padding: 10px 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; padding-bottom: 22px; border-top: 2px solid #3a3848; font-size: .95rem; }
.footer-bottom a { font-weight: 700; }

/* Mobile action bar (hidden on desktop) */
.action-bar { display: none; }

/* Layout at narrower widths */
@media (max-width: 1000px) {
  .families-grid, .cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hero, .split, .register, .give-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero { padding-top: 32px; padding-bottom: 48px; }
  .window { max-width: 560px; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .band { padding: 64px 0; }
  .cards-2 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .desktop-nav { display: none; }
  .mobile-nav { display: block; position: static; }
  .bar { position: relative; }
  .mobile-nav summary { font-size: 1rem; }
  .cards-3, .families-grid { grid-template-columns: minmax(0, 1fr); }
  .event { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; padding: 18px; }
  .when-day { font-size: 2rem; }
  .pane { min-height: 132px; }
  .times th, .times td { padding: 12px 8px; }
  .times tbody th { width: auto; font-size: 1.1rem; }
  .times td:nth-child(2) { width: auto; }
    .times thead { display: none; } .times tbody tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-bottom: 2px solid var(--ink); } .times tbody th, .times tbody td { border-bottom: 0; } .times tbody td:nth-child(3) { grid-column: 1 / -1; padding-top: 0; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .facts dd { margin-bottom: 14px; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .action-bar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: fixed; left: 0; right: 0; bottom: 0; z-index: 12;
    background: var(--ink); border-top: 3px solid var(--amber);
  }
  .action-bar a { min-height: 56px; display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; text-decoration: none; font-size: 1rem; }
  .action-bar a + a { border-left: 2px solid #3a3848; }
  body { padding-bottom: 76px; }
  .button { white-space: normal; }
}
@media (max-width: 380px) {
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pane { animation: none; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
