/* ============================================================
   Church of the Resurrection of Christ · Auckland
   Design system — "Candlelight & Gold Leaf"
   Ink · ivory · gold · oxblood. Cormorant Garamond + Literata.
   All motion is transform/opacity only and fully disabled
   under prefers-reduced-motion.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Literata:ital,opsz,wght@0,7..72,400;0,7..72,500;0,7..72,600;1,7..72,400&family=Inter:wght@400;500;600&display=swap&subset=cyrillic');

/* ------------------------------------------------------------
   Tokens
   ------------------------------------------------------------ */
:root {
  --ink:        #161b24;
  --ink-2:      #1e2632;
  --ink-3:      #27313f;
  --ivory:      #faf6ee;
  --ivory-2:    #fffdf8;
  --parchment:  #f2ead9;
  --parchment-2:#ece1cc;
  --gold:       #b8923e;
  --gold-2:     #d6b36a;
  --gold-3:     #e9d3a4;
  --gold-deep:  #8a6c2c;
  --oxblood:    #7d2433;
  --oxblood-2:  #9b3142;
  --slate:      #5d6b7e;
  --slate-2:    #8492a6;
  --line:       rgba(146, 116, 57, .30);
  --line-soft:  rgba(146, 116, 57, .16);
  --ink-line:   rgba(233, 211, 164, .18);

  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body:    'Literata', Georgia, serif;
  --font-ui:      'Inter', 'Segoe UI', sans-serif;

  --text-xs:  .76rem;
  --text-sm:  .9rem;
  --text-md:  1.04rem;
  --text-lg:  1.2rem;

  --w-content: 1180px;
  --w-prose:   720px;

  --ease:       cubic-bezier(.22, .61, .21, 1);
  --ease-soft:  cubic-bezier(.4, 0, .2, 1);
  --t-fast:  .25s;
  --t-med:   .5s;
  --t-slow:  .85s;

  --shadow-lift: 0 22px 44px -20px rgba(36, 28, 8, .38);
  --shadow-card: 0 10px 30px -18px rgba(36, 28, 8, .25);
  --radius: 14px;
}

/* ------------------------------------------------------------
   Reset & base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-md);
  line-height: 1.72;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

a {
  color: var(--gold-deep);
  text-decoration: none;
  transition: color var(--t-fast) var(--ease-soft);
}
a:hover { color: var(--oxblood); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold-3); color: var(--ink); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 200;
  background: var(--ink);
  color: var(--gold-3);
  padding: .6rem 1.1rem;
  border-radius: 6px;
  font-family: var(--font-ui);
  font-size: var(--text-sm);
}
.skip-link:focus { left: 12px; }

/* ------------------------------------------------------------
   Typography
   ------------------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: .01em;
  color: var(--ink);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.15rem; }

.kicker {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: .9em;
  margin-bottom: 1.1rem;
}
.kicker::before {
  content: '';
  width: 2.4em;
  height: 1px;
  background: var(--gold);
  flex: none;
}
.kicker--center { justify-content: center; }
.kicker--center::after {
  content: '';
  width: 2.4em;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.lede {
  font-size: clamp(1.08rem, 1.7vw, 1.24rem);
  line-height: 1.75;
  color: var(--ink-3);
  max-width: 62ch;
}

.prose { max-width: var(--w-prose); }
.prose p + p { margin-top: 1.1em; }
.prose strong { font-weight: 600; }

.dropcap::first-letter {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 3.45em;
  line-height: .82;
  float: left;
  padding: .08em .14em 0 0;
  color: var(--oxblood);
}

.ru-accent {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-deep);
}

.tnum { font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------
   Ornaments
   ------------------------------------------------------------ */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin: 2.2rem auto;
  width: min(420px, 70%);
}
.ornament::before, .ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line));
}
.ornament::after {
  background: linear-gradient(90deg, var(--line), transparent);
}
.ornament svg { width: 22px; height: 22px; flex: none; }
.ornament--left { margin: 1.6rem 0 2rem; justify-content: flex-start; width: min(340px, 100%); }
.ornament--left::before { display: none; }
.ornament--ink::before { background: linear-gradient(90deg, transparent, var(--ink-line)); }
.ornament--ink::after  { background: linear-gradient(90deg, var(--ink-line), transparent); }

/* Arched icon frame — a Roman arch with layered gold borders */
.arch {
  position: relative;
  border-radius: 50% 50% var(--radius) var(--radius) / 34% 34% var(--radius) var(--radius);
  overflow: hidden;
  border: 1px solid var(--gold);
  box-shadow:
    0 0 0 6px var(--ivory),
    0 0 0 7px var(--line),
    var(--shadow-lift);
  background: var(--ink-2);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--on-ink {
  box-shadow:
    0 0 0 6px var(--ink),
    0 0 0 7px rgba(214, 179, 106, .5),
    0 30px 60px -28px rgba(0, 0, 0, .8);
}

/* Candle-glow — a breathing radial light behind elements */
.glow { position: relative; }
.glow::before {
  content: '';
  position: absolute;
  inset: -14%;
  background: radial-gradient(closest-side, rgba(214, 179, 106, .32), transparent 72%);
  z-index: -1;
  animation: glow-pulse 5s ease-in-out infinite;
  pointer-events: none;
}

/* ------------------------------------------------------------
   Layout primitives
   ------------------------------------------------------------ */
.wrap {
  width: min(var(--w-content), 100% - 3rem);
  margin-inline: auto;
}

.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.section--parchment {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(214, 179, 106, .14), transparent),
    var(--parchment);
}
.section--ink {
  background:
    radial-gradient(900px 480px at 18% 0%, rgba(214, 179, 106, .10), transparent),
    linear-gradient(180deg, var(--ink), var(--ink-2));
  color: #e9e4d8;
}
.section--ink h2, .section--ink h3 { color: var(--ivory); }
.section--ink .kicker { color: var(--gold-2); }
.section--ink .lede { color: #c9c3b4; }

.section-head { max-width: 760px; margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lede { margin-inline: auto; }

.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.4rem, 6vw, 5rem);
  align-items: center;
}
.split--rev { grid-template-columns: .95fr 1.05fr; }

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6em;
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  padding: 1.02em 1.9em;
  border-radius: 3px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease),
              background-color var(--t-fast) var(--ease-soft),
              border-color var(--t-fast) var(--ease-soft),
              color var(--t-fast) var(--ease-soft),
              box-shadow var(--t-fast) var(--ease-soft);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--gold {
  background: linear-gradient(160deg, var(--gold-2), var(--gold));
  color: var(--ink);
  box-shadow: 0 12px 26px -14px rgba(138, 108, 44, .8);
}
.btn--gold:hover { color: var(--ink); box-shadow: 0 18px 32px -14px rgba(138, 108, 44, .9); }

.btn--ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-deep); background: rgba(214, 179, 106, .08); }

.btn--ghost-light {
  border-color: rgba(233, 211, 164, .45);
  color: var(--gold-3);
  background: transparent;
}
.btn--ghost-light:hover { border-color: var(--gold-2); color: var(--ivory); background: rgba(214, 179, 106, .12); }

.btn svg { width: 1.05em; height: 1.05em; }

.link-arrow {
  font-family: var(--font-ui);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .08em;
  display: inline-flex;
  align-items: center;
  gap: .5em;
  color: var(--gold-deep);
}
.link-arrow::after {
  content: '→';
  transition: transform var(--t-fast) var(--ease);
}
.link-arrow:hover::after { transform: translateX(5px); }

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.topline {
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-2) 35%, var(--gold-3) 50%, var(--gold-2) 65%, var(--gold-deep));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: box-shadow var(--t-med) var(--ease-soft);
}
.site-header.is-scrolled { box-shadow: 0 14px 34px -24px rgba(36, 28, 8, .4); }

.header-bar {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  padding: .85rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  color: var(--ink);
  margin-right: auto;
  min-width: 0;
}
.brand:hover { color: var(--ink); }
.brand-cross { flex: none; width: 34px; height: 44px; }
.brand-text { line-height: 1.18; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  letter-spacing: .015em;
  white-space: nowrap;
}
.brand-sub {
  font-family: var(--font-ui);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}

.nav-desktop { display: flex; align-items: center; gap: 1.55rem; }
.nav-desktop a {
  font-family: var(--font-ui);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: .35rem 0;
  position: relative;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transition: right var(--t-med) var(--ease);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a:hover::after, .nav-desktop a[aria-current="page"]::after { right: 0; }
.nav-desktop a[aria-current="page"] { color: var(--ink); }

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.lang-toggle button {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  padding: .48em 1em;
  cursor: pointer;
  color: var(--slate);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.lang-toggle button[aria-pressed="true"] {
  background: var(--ink);
  color: var(--gold-3);
}
.lang-toggle button:not([aria-pressed="true"]):hover { color: var(--ink); }

/* Mobile nav */
.nav-burger {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  position: relative;
  z-index: 130;
  flex: none;
}
.nav-burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1.6px;
  background: var(--ink);
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast), top var(--t-med) var(--ease), background-color var(--t-fast);
}
.nav-burger span:nth-child(1) { top: 16px; }
.nav-burger span:nth-child(2) { top: 22px; }
.nav-burger span:nth-child(3) { top: 28px; }
.nav-burger[aria-expanded="true"] span { background: var(--gold-3); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { top: 22px; transform: rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background:
    radial-gradient(800px 500px at 80% 10%, rgba(214, 179, 106, .12), transparent),
    linear-gradient(170deg, var(--ink), var(--ink-2));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem clamp(1.5rem, 8vw, 4rem);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease-soft), visibility 0s linear var(--t-med);
}
.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}
.nav-overlay a {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 5.6vh, 2.4rem);
  font-weight: 500;
  color: var(--ivory);
  padding: .34rem 0;
  display: flex;
  align-items: baseline;
  gap: .9rem;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--t-med) var(--ease), transform var(--t-med) var(--ease), color var(--t-fast);
}
.nav-overlay a:hover { color: var(--gold-2); }
.nav-overlay a .n {
  font-family: var(--font-ui);
  font-size: .68rem;
  letter-spacing: .2em;
  color: var(--gold-deep);
}
.nav-overlay.is-open a { opacity: 1; transform: none; }
.nav-overlay a:nth-child(1)  { transition-delay: .06s; }
.nav-overlay a:nth-child(2)  { transition-delay: .1s; }
.nav-overlay a:nth-child(3)  { transition-delay: .14s; }
.nav-overlay a:nth-child(4)  { transition-delay: .18s; }
.nav-overlay a:nth-child(5)  { transition-delay: .22s; }
.nav-overlay a:nth-child(6)  { transition-delay: .26s; }
.nav-overlay a:nth-child(7)  { transition-delay: .3s; }
.nav-overlay a:nth-child(8)  { transition-delay: .34s; }
.nav-overlay a:nth-child(9)  { transition-delay: .38s; }
.nav-overlay a:nth-child(10) { transition-delay: .42s; }

/* ------------------------------------------------------------
   Home hero
   ------------------------------------------------------------ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 22% 30%, rgba(214, 179, 106, .15), transparent 70%),
    radial-gradient(900px 700px at 85% 90%, rgba(125, 36, 51, .14), transparent 70%),
    linear-gradient(168deg, #11151d 0%, var(--ink) 45%, #1c2430 100%);
  color: var(--ivory);
  overflow: hidden;
}
.hero::after { /* faint dome line-art on the right */
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 800' fill='none' stroke='%23d6b36a' stroke-width='1'%3E%3Cpath d='M300 80 C 380 170 420 240 420 330 C 420 430 370 480 300 480 C 230 480 180 430 180 330 C 180 240 220 170 300 80 Z' opacity='.5'/%3E%3Cpath d='M300 20 v60 M280 44 h40' opacity='.6'/%3E%3Cpath d='M180 330 h-40 M420 330 h40' opacity='.25'/%3E%3Cpath d='M140 480 h320 M160 540 h280' opacity='.3'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right -120px center;
  background-size: 600px auto;
  opacity: .14;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(4.5rem, 11vh, 7.5rem) 0 clamp(4.5rem, 10vh, 7rem);
  min-height: min(86vh, 880px);
}
.hero .kicker { color: var(--gold-2); }
.hero h1 {
  color: var(--ivory);
  margin-bottom: 1.3rem;
}
.hero h1 .gold-line {
  display: block;
  color: var(--gold-2);
  font-style: italic;
  font-weight: 500;
  font-size: .58em;
  margin-top: .45rem;
  letter-spacing: .02em;
}
.hero .lede { color: #cdc7b8; margin-bottom: 2.2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.6rem; }
.hero-blessing {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.12rem;
  color: var(--gold-3);
  display: flex;
  align-items: center;
  gap: .9rem;
}
.hero-blessing::before {
  content: '';
  width: 2.6rem; height: 1px;
  background: var(--ink-line);
}
.hero-art { position: relative; }
.hero-art .arch { aspect-ratio: 3 / 3.85; max-width: 420px; margin-inline: auto; }
.hero-art .arch img { animation: ken-burns 24s ease-in-out infinite alternate; }
.hero-caption {
  margin-top: 1.15rem;
  text-align: center;
  font-family: var(--font-ui);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate-2);
}

/* Hero entrance choreography */
.anim-rise { opacity: 0; transform: translateY(30px); animation: rise var(--t-slow) var(--ease) forwards; }
.anim-rise.d1 { animation-delay: .08s; }
.anim-rise.d2 { animation-delay: .2s; }
.anim-rise.d3 { animation-delay: .34s; }
.anim-rise.d4 { animation-delay: .48s; }
.anim-rise.d5 { animation-delay: .62s; }

/* ------------------------------------------------------------
   Page hero (interior pages)
   ------------------------------------------------------------ */
.page-hero {
  background:
    radial-gradient(900px 420px at 80% -20%, rgba(214, 179, 106, .2), transparent),
    linear-gradient(180deg, var(--parchment), var(--ivory));
  border-bottom: 1px solid var(--line-soft);
  padding: clamp(3.4rem, 8vw, 5.6rem) 0 clamp(2.6rem, 6vw, 4rem);
}
.page-hero h1 { margin-bottom: 1rem; }
.page-hero .lede { color: var(--ink-3); }
.page-hero--art { position: relative; overflow: hidden; }
.page-hero--art .wrap { position: relative; z-index: 1; }
.page-hero-img {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(220px, 30vw, 420px);
  opacity: .96;
  display: flex;
}

/* ------------------------------------------------------------
   This week strip (home)
   ------------------------------------------------------------ */
.week-strip {
  background: var(--ivory);
  border-bottom: 1px solid var(--line-soft);
}
.week-strip-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 1.6rem 0;
}
.week-strip-label {
  font-family: var(--font-ui);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--oxblood);
  display: flex;
  align-items: center;
  gap: .7em;
}
.week-strip-label svg { width: 16px; height: 16px; }
.week-items { display: flex; gap: 2.4rem; flex-wrap: wrap; }
.week-item { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.week-item-date {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gold-deep);
  line-height: 1;
  text-align: center;
  min-width: 2.2ch;
}
.week-item-date small {
  display: block;
  font-family: var(--font-ui);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: .25rem;
}
.week-item-body { font-size: var(--text-sm); line-height: 1.45; }
.week-item-body strong { display: block; font-weight: 600; }
.week-item-body span { color: var(--slate); font-variant-numeric: tabular-nums; }

/* ------------------------------------------------------------
   Tile grid (quick paths)
   ------------------------------------------------------------ */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tile {
  position: relative;
  background: var(--ivory-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 1.7rem;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease-soft), border-color var(--t-fast);
  display: flex;
  flex-direction: column;
  gap: .65rem;
  color: var(--ink);
}
.tile:hover {
  transform: translateY(-6px);
  border-color: var(--line);
  box-shadow: var(--shadow-lift);
  color: var(--ink);
}
.tile-icon {
  width: 44px; height: 44px;
  color: var(--gold-deep);
  margin-bottom: .4rem;
}
.tile h3 { font-size: 1.34rem; }
.tile p { font-size: var(--text-sm); color: var(--slate); line-height: 1.6; }
.tile .link-arrow { margin-top: auto; padding-top: .6rem; }

/* ------------------------------------------------------------
   Cards (generic)
   ------------------------------------------------------------ */
.card {
  background: var(--ivory-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2.1rem 2rem;
}
.card--ink {
  background: linear-gradient(170deg, var(--ink-2), var(--ink));
  border-color: rgba(214, 179, 106, .25);
  color: #d9d3c4;
}
.card--ink h3, .card--ink h4 { color: var(--ivory); }

/* Clergy cards */
.clergy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.clergy-card {
  text-align: center;
  padding: 2.4rem 1.9rem 2.1rem;
}
.clergy-card .arch {
  width: 132px;
  aspect-ratio: 3/3.6;
  margin: 0 auto 1.4rem;
  box-shadow: 0 0 0 5px var(--ivory-2), 0 0 0 6px var(--line), var(--shadow-card);
}
.clergy-portrait-ph {
  width: 100%; height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(170deg, var(--ink-2), var(--ink));
  color: var(--gold-2);
}
.clergy-portrait-ph svg { width: 44%; height: auto; opacity: .9; }
.clergy-card h3 { font-size: 1.3rem; margin-bottom: .2rem; }
.clergy-role {
  font-family: var(--font-ui);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: .9rem;
}
.clergy-card p { font-size: var(--text-sm); color: var(--slate); line-height: 1.66; }

/* ------------------------------------------------------------
   Schedule
   ------------------------------------------------------------ */
.rhythm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.rhythm-card { padding: 2rem 1.8rem; }
.rhythm-day {
  font-family: var(--font-ui);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: .8rem;
}
.rhythm-card h3 { margin-bottom: .35rem; }
.rhythm-time {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
}
.rhythm-card p { font-size: var(--text-sm); color: var(--slate); margin-top: .55rem; line-height: 1.6; }

.sched-month {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin: 3rem 0 1.4rem;
}
.sched-month::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--line), transparent);
}
.sched-month:first-of-type { margin-top: 0; }

.sched-list { display: flex; flex-direction: column; gap: .8rem; }
.sched-row {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  gap: 1.4rem;
  align-items: center;
  background: var(--ivory-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem 1.1rem 1.1rem;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease-soft), border-color var(--t-fast);
}
.sched-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); }
.sched-row--feast { border-left: 3px solid var(--oxblood); }
.sched-row--next {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold), var(--shadow-card);
  position: relative;
}
.next-badge {
  position: absolute;
  top: -11px;
  left: 14px;
  background: linear-gradient(160deg, var(--gold-2), var(--gold));
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .28em 1em;
}
.sched-date {
  text-align: center;
  border-right: 1px solid var(--line-soft);
  padding-right: 1.1rem;
}
.sched-date .d {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}
.sched-date .w {
  font-family: var(--font-ui);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--slate);
  display: block;
  margin-top: .35rem;
}
.sched-body { min-width: 0; }
.sched-feast {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.14rem;
  line-height: 1.3;
  color: var(--ink);
}
.sched-feast .fast-note { color: var(--oxblood); font-style: italic; font-weight: 500; }
.sched-services { margin-top: .35rem; display: flex; flex-direction: column; gap: .14rem; }
.sched-service {
  display: flex;
  justify-content: space-between;
  gap: 1.4rem;
  font-size: var(--text-sm);
  color: var(--ink-3);
}
.sched-service .t {
  font-variant-numeric: tabular-nums;
  color: var(--gold-deep);
  font-weight: 600;
  font-family: var(--font-ui);
  font-size: .84rem;
  white-space: nowrap;
}
.sched-service .lang-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: .6rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--oxblood);
  border: 1px solid rgba(125, 36, 51, .3);
  border-radius: 999px;
  padding: .1em .7em;
  margin-left: .55em;
  vertical-align: 1px;
}
.sched-note {
  font-size: var(--text-sm);
  color: var(--slate);
  font-style: italic;
  max-width: 60ch;
}

.pdf-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ------------------------------------------------------------
   Learn page
   ------------------------------------------------------------ */
.creed-piece {
  position: relative;
  background:
    radial-gradient(700px 380px at 50% -10%, rgba(214, 179, 106, .16), transparent),
    linear-gradient(175deg, var(--ink), var(--ink-2));
  border-radius: calc(var(--radius) + 6px);
  color: #ddd6c6;
  padding: clamp(2.4rem, 6vw, 4.2rem);
  border: 1px solid rgba(214, 179, 106, .25);
  overflow: hidden;
}
.creed-piece::before {
  content: '☦';
  position: absolute;
  right: -1.5rem;
  bottom: -3.4rem;
  font-size: 17rem;
  line-height: 1;
  color: rgba(214, 179, 106, .07);
  pointer-events: none;
}
.creed-piece h3 { color: var(--gold-2); font-style: italic; font-weight: 500; margin-bottom: 1.4rem; }
.creed-text {
  font-family: var(--font-display);
  font-size: clamp(1.16rem, 2vw, 1.36rem);
  line-height: 1.78;
  max-width: 58ch;
}
.creed-text em { color: var(--gold-3); font-style: normal; }

.lesson-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .9rem; }
.lesson {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--ivory-2);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: .95rem 1.2rem;
  color: var(--ink);
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast), box-shadow var(--t-fast);
}
.lesson:hover { transform: translateX(4px); border-color: var(--line); box-shadow: var(--shadow-card); color: var(--ink); }
.lesson-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--gold-deep);
  min-width: 2ch;
  text-align: right;
}
.lesson-title { font-size: var(--text-sm); line-height: 1.4; flex: 1; }
.lesson-play { width: 30px; height: 30px; color: var(--oxblood); flex: none; opacity: .75; transition: opacity var(--t-fast), transform var(--t-fast) var(--ease); }
.lesson:hover .lesson-play { opacity: 1; transform: scale(1.08); }

.resource-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.1rem; }
.resource {
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}
.resource h4 { font-size: 1.16rem; }
.resource p { font-size: var(--text-sm); color: var(--slate); }
.resource .link-arrow { margin-top: .5rem; font-size: var(--text-xs); }

/* ------------------------------------------------------------
   FAQ accordion
   ------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line-soft); }
.faq-item { border-bottom: 1px solid var(--line-soft); }
.faq-q {
  width: 100%;
  appearance: none;
  background: transparent;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--ink);
  padding: 1.3rem .2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.4rem;
  cursor: pointer;
}
.faq-q .faq-x {
  flex: none;
  width: 26px; height: 26px;
  position: relative;
  transition: transform var(--t-med) var(--ease);
}
.faq-q .faq-x::before, .faq-q .faq-x::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 14px; height: 1.6px;
  background: var(--gold-deep);
  transform: translate(-50%, -50%);
}
.faq-q .faq-x::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform var(--t-med) var(--ease); }
.faq-q[aria-expanded="true"] .faq-x::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-q[aria-expanded="true"] .faq-x { transform: rotate(180deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-med) var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 .2rem 1.4rem;
  color: var(--ink-3);
  font-size: var(--text-sm);
  line-height: 1.74;
  max-width: 68ch;
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* ------------------------------------------------------------
   Gallery
   ------------------------------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.g-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: var(--ink-2);
  aspect-ratio: 4 / 3;
  cursor: zoom-in;
  padding: 0;
  appearance: none;
  box-shadow: var(--shadow-card);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med);
}
.g-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.g-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.g-tile:hover img { transform: scale(1.045); }
.g-tile--tall { aspect-ratio: 3 / 4; grid-row: span 2; }
.g-tile figcaption, .g-cap {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 2.2rem 1.2rem .95rem;
  background: linear-gradient(180deg, transparent, rgba(17, 21, 29, .82));
  color: var(--ivory);
  font-family: var(--font-ui);
  font-size: .76rem;
  letter-spacing: .06em;
  text-align: left;
}
.g-tile[hidden] { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 160;
  background: rgba(13, 16, 22, .94);
  display: grid;
  place-items: center;
  padding: 3.5rem 1.2rem 4.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--ease-soft), visibility 0s linear var(--t-med);
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img {
  max-height: calc(100vh - 9rem);
  max-width: min(1100px, 94vw);
  width: auto;
  border-radius: 6px;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9);
  transform: scale(.965);
  transition: transform var(--t-med) var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox-cap {
  position: absolute;
  bottom: 1.6rem;
  inset-inline: 0;
  text-align: center;
  color: var(--gold-3);
  font-family: var(--font-ui);
  font-size: .8rem;
  letter-spacing: .08em;
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1.2rem;
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--ivory);
  font-size: 2.1rem;
  line-height: 1;
  cursor: pointer;
  padding: .4rem .7rem;
  transition: color var(--t-fast), transform var(--t-fast) var(--ease);
}
.lightbox-close:hover { color: var(--gold-2); transform: rotate(90deg); }

/* ------------------------------------------------------------
   Donate
   ------------------------------------------------------------ */
.account-card {
  position: relative;
  overflow: hidden;
  padding: 2.5rem 2.4rem 2.2rem;
}
.account-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(214, 179, 106, .35);
  border-radius: 9px;
  pointer-events: none;
}
.account-rows { display: flex; flex-direction: column; gap: 1.05rem; margin: 1.6rem 0 1.2rem; }
.account-row { display: flex; flex-direction: column; gap: .2rem; }
.account-label {
  font-family: var(--font-ui);
  font-size: .64rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-2);
}
.account-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-ui);
  font-size: 1.06rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
  color: var(--ivory);
}
.copy-btn {
  appearance: none;
  border: 1px solid rgba(214, 179, 106, .4);
  background: transparent;
  color: var(--gold-2);
  font-family: var(--font-ui);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: .42em 1.05em;
  cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  flex: none;
}
.copy-btn:hover { background: rgba(214, 179, 106, .14); color: var(--ivory); }
.copy-btn.is-copied { background: var(--gold-2); color: var(--ink); border-color: var(--gold-2); }
.account-note { font-size: var(--text-sm); color: #b6af9e; line-height: 1.6; }
.account-note strong { color: var(--gold-3); font-weight: 600; }

.tax-callout {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.4rem;
  align-items: start;
  background: var(--ivory-2);
  border: 1px solid var(--line-soft);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.7rem 1.8rem;
}
.tax-callout svg { width: 38px; height: 38px; color: var(--gold-deep); margin-top: .2rem; }
.tax-callout h4 { margin-bottom: .3rem; }
.tax-callout p { font-size: var(--text-sm); color: var(--ink-3); line-height: 1.68; }

/* ------------------------------------------------------------
   Contact
   ------------------------------------------------------------ */
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 2rem; align-items: stretch; }
.contact-list { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: grid; grid-template-columns: 46px 1fr; gap: 1.1rem; align-items: start; }
.contact-item svg { width: 40px; height: 40px; color: var(--gold-deep); padding: 8px; border: 1px solid var(--line-soft); border-radius: 10px; background: var(--ivory-2); }
.contact-item h4 { font-size: 1.12rem; margin-bottom: .15rem; }
.contact-item p, .contact-item a { font-size: var(--text-sm); color: var(--ink-3); line-height: 1.6; }
.contact-item a:hover { color: var(--oxblood); }

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  min-height: 420px;
  position: relative;
}
.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  border: 0;
  filter: grayscale(.18) sepia(.08);
}

/* ------------------------------------------------------------
   Photo bands & figures
   ------------------------------------------------------------ */
.photo-band {
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-lift);
  position: relative;
}
.photo-band img { width: 100%; height: 100%; object-fit: cover; }
.photo-band[hidden] { display: none; }

figure.framed { position: relative; }
figure.framed figcaption {
  margin-top: .9rem;
  font-family: var(--font-ui);
  font-size: .74rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: center;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background:
    radial-gradient(900px 420px at 85% 110%, rgba(125, 36, 51, .16), transparent),
    linear-gradient(180deg, #11151d, var(--ink));
  color: #b9b3a3;
  padding: 4.2rem 0 2.4rem;
  border-top: 1px solid rgba(214, 179, 106, .22);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.8rem;
  padding-bottom: 2.6rem;
  border-bottom: 1px solid var(--ink-line);
}
.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-brand .brand-cross { width: 30px; height: 40px; }
.footer-brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--ivory);
  line-height: 1.25;
}
.footer-brand-sub { font-size: var(--text-sm); color: var(--slate-2); margin-top: .45rem; max-width: 34ch; line-height: 1.6; }
.footer-blessing {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-2);
  margin-top: 1.2rem;
  font-size: 1.04rem;
}
.footer-h {
  font-family: var(--font-ui);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 1.1rem;
}
.footer-links { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.footer-links a { color: #b9b3a3; font-size: var(--text-sm); }
.footer-links a:hover { color: var(--gold-3); }
.footer-times { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .7rem; font-size: var(--text-sm); }
.footer-times strong { color: var(--ivory); font-weight: 500; display: block; }
.footer-times span { color: var(--slate-2); font-variant-numeric: tabular-nums; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.7rem;
  font-family: var(--font-ui);
  font-size: .74rem;
  letter-spacing: .04em;
  color: var(--slate);
}
.footer-bottom a { color: var(--slate-2); }
.footer-bottom a:hover { color: var(--gold-2); }

/* ------------------------------------------------------------
   Scroll reveals
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease);
}
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .14s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .23s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .32s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .41s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .5s; }
.reveal-stagger.is-in > *:nth-child(n+7) { transition-delay: .58s; }

/* Gold shimmer sweep on headings, runs once when revealed */
.shimmer.is-in {
  background: linear-gradient(100deg, currentColor 38%, var(--gold-2) 50%, currentColor 62%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 1.6s var(--ease-soft) .25s 1 both;
}

/* ------------------------------------------------------------
   Keyframes
   ------------------------------------------------------------ */
@keyframes rise {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
@keyframes glow-pulse {
  0%, 100% { opacity: .55; transform: scale(.97); }
  50%      { opacity: 1;   transform: scale(1.03); }
}
@keyframes ken-burns {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.07) translateY(-1.5%); }
}
@keyframes shimmer {
  from { background-position: 120% 0; }
  to   { background-position: -120% 0; }
}

/* ------------------------------------------------------------
   Print
   ------------------------------------------------------------ */
@media print {
  .site-header, .site-footer, .nav-overlay, .hero-ctas, .pdf-row, .lang-toggle, .nav-burger { display: none !important; }
  body { background: #fff; color: #000; }
  .sched-row { break-inside: avoid; border: 1px solid #999; }
  .page-hero { background: #fff; border: 0; }
}

/* ------------------------------------------------------------
   Reduced motion — everything settles instantly
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001s !important;
    transition-delay: 0s !important;
  }
  .reveal, .reveal-stagger > *, .anim-rise { opacity: 1; transform: none; }
  .hero-art .arch img { animation: none; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav-desktop { display: none; }
  .nav-burger { display: block; }
  .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-art { order: -1; }
  .hero-art .arch { max-width: 300px; }
  .hero::after { opacity: .08; background-position: right -220px top -60px; }
  .split, .split--rev { grid-template-columns: 1fr; }
  .tiles, .clergy-grid, .rhythm-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .week-strip-inner { grid-template-columns: 1fr; gap: 1rem; }
  .page-hero-img { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-frame { min-height: 340px; }
}

@media (max-width: 640px) {
  body { font-size: .98rem; }
  .wrap { width: calc(100% - 2.2rem); }
  .tiles, .clergy-grid, .rhythm-grid, .lesson-list, .resource-list, .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .g-tile--tall { grid-row: auto; aspect-ratio: 4/3; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .brand-name { font-size: 1rem; white-space: normal; }
  .brand-sub { font-size: .56rem; }
  .sched-row { grid-template-columns: 64px 1fr; padding: 1rem; }
  .sched-row .sched-time-col { display: none; }
  .sched-date { padding-right: .8rem; }
  .sched-date .d { font-size: 1.5rem; }
  .week-items { gap: 1.3rem; flex-direction: column; align-items: flex-start; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .account-value { font-size: .92rem; flex-wrap: wrap; }
}
