/* ==========================================================================
   St Mark & St Mary of Egypt — staging redesign
   Palette drawn from the icons: oxblood, burnished gold, parchment.
   ========================================================================== */

:root {
  --wine-900: #1f0e11;
  --wine-800: #2b1418;
  --wine-700: #44191f;
  --wine-600: #6b1f2a;
  --wine-500: #8a2a35;
  --gold-600: #a77d32;
  --gold-500: #c49a4a;
  --gold-300: #e3c88f;
  --gold-100: #f4e8cc;
  --paper: #fbf8f2;
  --parchment: #f4ede0;
  --parchment-2: #ebe1cf;
  --ink: #2a2220;
  --ink-2: #4a3f3a;
  --muted: #7a6c64;
  --line: rgba(68, 25, 31, 0.12);
  --line-strong: rgba(68, 25, 31, 0.22);

  --serif: "Cormorant Garamond", "Garamond", "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --btn-radius: 6px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(43, 20, 24, 0.06), 0 2px 8px rgba(43, 20, 24, 0.05);
  --shadow: 0 2px 4px rgba(43, 20, 24, 0.05), 0 12px 32px rgba(43, 20, 24, 0.09);
  --shadow-lg: 0 30px 60px -20px rgba(43, 20, 24, 0.35);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--wine-600);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

h1,
h2,
h3,
.h1 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  color: var(--wine-800);
  text-wrap: balance;
}

h2 {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
}

h3 {
  font-size: 1.55rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 40px);
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--wine-800);
  color: #fff;
  border-radius: 8px;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 12px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-600);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.eyebrow.light {
  color: var(--gold-300);
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--wine-700);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--btn-radius);
  background: var(--bg);
  /* size the gradient to the border edge so it doesn't tile into the 1px border */
  background-origin: border-box;
  color: var(--fg);
  font: 600 0.82rem/1 var(--sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, color 0.25s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.35);
}
.btn:active {
  transform: translateY(0);
}
.btn-gold {
  --bg: linear-gradient(135deg, var(--gold-300), var(--gold-500) 55%, var(--gold-600));
  --fg: var(--wine-900);
}
.btn-wine {
  --bg: var(--wine-700);
}
.btn-wine:hover {
  --bg: var(--wine-600);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.72rem;
}
.btn-block {
  width: 100%;
}
.btn[disabled] {
  opacity: 0.65;
  cursor: progress;
  transform: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background 0.35s, box-shadow 0.35s, color 0.35s, height 0.35s;
}
.site-header::before {
  /* soft top scrim so nav stays legible on bright photos */
  content: "";
  position: absolute;
  inset: 0 0 -40px;
  background: linear-gradient(rgba(20, 8, 10, 0.55), transparent);
  pointer-events: none;
  transition: opacity 0.35s;
}
.site-header.is-scrolled {
  --header-h: 66px;
  background: rgba(251, 248, 242, 0.88);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--wine-800);
}
.site-header.is-scrolled::before {
  opacity: 0;
}

.header-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--gold-500);
  flex: none;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease), color 0.5s;
}
.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: scale(1.18);
  color: var(--gold-300);
  filter: drop-shadow(0 0 6px rgba(227, 200, 143, 0.85)) drop-shadow(0 0 16px rgba(196, 154, 74, 0.55));
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.1;
}
.brand-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  font-weight: 600;
  letter-spacing: 0.005em;
}
.brand-sub {
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.75;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a:not(.btn) {
  position: relative;
  padding: 8px 12px;
  color: inherit;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0.88;
  transition: opacity 0.2s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 1px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav a:not(.btn):hover,
.nav a.is-current {
  opacity: 1;
}
.nav a:not(.btn):hover::after,
.nav a.is-current::after {
  transform: scaleX(1);
}
.nav-cta {
  margin-left: 10px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 2;
}
.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.2s;
}
.nav-toggle span:nth-child(1) {
  top: 15px;
}
.nav-toggle span:nth-child(2) {
  top: 21px;
}
.nav-toggle span:nth-child(3) {
  top: 27px;
}
.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: var(--wine-800);
    color: var(--parchment);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0.35s;
  }
  .nav a:not(.btn) {
    font-family: var(--serif);
    font-size: 2rem;
    padding: 6px 12px;
  }
  .nav-cta {
    margin: 22px 0 0;
  }
  .nav-open .nav {
    opacity: 1;
    visibility: visible;
  }
  .nav-open .site-header {
    color: var(--parchment);
    /* backdrop-filter would trap the fixed overlay inside the header */
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
  }
  .nav-open .brand {
    position: relative;
    z-index: 2;
  }
  body.nav-open {
    overflow: hidden;
  }
}
@media (max-width: 520px) {
  .brand-name {
    font-size: 1.08rem;
  }
  .brand-sub {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
  }
  .brand-mark {
    width: 28px;
    height: 28px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  max-height: 1000px;
  overflow: hidden;
  background: var(--wine-900);
  color: #fff;
  isolation: isolate;
  touch-action: pan-y; /* allow horizontal swipe between slides */
}
.hero-slides,
.slide {
  position: absolute;
  inset: 0;
}
.slide {
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.4s var(--ease), visibility 1.4s;
}
.slide.is-active {
  opacity: 1;
  visibility: visible;
}
.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 9s linear;
}
.slide.is-active .slide-bg {
  transform: scale(1);
}
.slide-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(25, 10, 12, 0.85) 0%, rgba(25, 10, 12, 0.55) 40%, rgba(25, 10, 12, 0.05) 75%),
    linear-gradient(0deg, rgba(25, 10, 12, 0.7) 0%, transparent 35%);
}
.slide-bg--icon {
  background-position: 70% center;
}
.slide-bg--icon::after {
  background: linear-gradient(0deg, rgba(25, 10, 12, 0.6) 0%, transparent 35%);
}

.slide-content {
  position: relative;
  padding-top: var(--header-h);
}
.slide-content > * {
  max-width: 600px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.slide.is-active .slide-content > * {
  opacity: 1;
  transform: none;
}
.slide.is-active .slide-content > :nth-child(1) {
  transition-delay: 0.35s;
}
.slide.is-active .slide-content > :nth-child(2) {
  transition-delay: 0.5s;
}
.slide.is-active .slide-content > :nth-child(3) {
  transition-delay: 0.65s;
}
.slide.is-active .slide-content > :nth-child(4) {
  transition-delay: 0.8s;
}

.hero .eyebrow {
  color: var(--gold-300);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-bottom: 8px;
}
.hero h1,
.hero .h1 {
  color: #fff;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}
.hero .lede {
  color: rgba(255, 255, 255, 0.86);
  max-width: 500px;
  margin-bottom: 34px;
}
.slide-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 32px;
  row-gap: 14px;
}

/* Editorial: time set as a line of italic serif text, no boxes */
.slide-actions .service-time {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  line-height: 1.2;
  color: var(--gold-300);
  font-variant-numeric: lining-nums;
}

/* Small-caps link whose gold underline grows on hover */
.underline-link {
  padding-bottom: 7px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  background: linear-gradient(var(--gold-500), var(--gold-500)) 0 100% / 30% 1px no-repeat;
  transition: background-size 0.5s var(--ease), color 0.3s;
}
.underline-link:hover,
.underline-link:focus-visible {
  background-size: 100% 1px;
  color: var(--gold-100);
}

.hero-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.hero-dots {
  display: flex;
  gap: 10px;
}
.hero-dots button {
  width: 56px;
  height: 20px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.hero-dots button span {
  position: relative;
  display: block;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.28);
  overflow: hidden;
}
.hero-dots button span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold-300);
  transform: scaleX(0);
  transform-origin: left;
}
.hero-dots button[aria-selected="true"] span::after {
  animation: progress var(--slide-ms, 7000ms) linear forwards;
}
.hero.is-paused .hero-dots button[aria-selected="true"] span::after {
  animation-play-state: paused;
}
@keyframes progress {
  to {
    transform: scaleX(1);
  }
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
}
.scroll-cue svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(5px);
  }
}

@media (max-width: 720px) {
  .slide-bg::after {
    background: linear-gradient(0deg, rgba(25, 10, 12, 0.92) 10%, rgba(25, 10, 12, 0.55) 55%, rgba(25, 10, 12, 0.25));
  }
  .slide-bg--icon {
    background-position: 62% 30%;
  }
  .slide {
    align-items: flex-end;
    padding-bottom: 110px;
  }
  .scroll-cue span {
    display: none;
  }
}

/* ---------- At a glance ---------- */
.glance {
  position: relative;
  z-index: 3;
  margin-top: -1px;
  background: var(--wine-800);
  color: var(--parchment);
  border-top: 1px solid rgba(227, 200, 143, 0.18);
}
.glance-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.glance-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 30px 26px;
  border-left: 1px solid rgba(227, 200, 143, 0.14);
}
.glance-item:first-child {
  border-left: 0;
  padding-left: 0;
}
.glance-day {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.glance-title {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: #fff;
}
.glance-meta {
  font-size: 0.88rem;
  color: rgba(244, 237, 224, 0.7);
}
.glance-meta.link {
  color: var(--gold-300);
  text-decoration: none;
}
.glance-meta.link:hover {
  text-decoration: underline;
}
@media (max-width: 900px) {
  .glance-grid {
    grid-template-columns: 1fr 1fr;
  }
  .glance-item {
    padding: 22px 0 22px 20px;
  }
  .glance-item:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }
  .glance-item:nth-child(n + 3) {
    border-top: 1px solid rgba(227, 200, 143, 0.14);
  }
}

/* ---------- Sections ---------- */
.section {
  padding-block: clamp(80px, 11vw, 140px);
}
.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(44px, 6vw, 72px);
}
.section-head .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.section-sub {
  color: var(--muted);
  font-size: 1.08rem;
  margin: 0 auto;
}
.section-sub.left {
  margin: 0 0 32px;
}

/* ---------- This Week (calendar) ---------- */
.this-week {
  background:
    radial-gradient(1200px 400px at 50% 0%, rgba(196, 154, 74, 0.09), transparent 70%),
    var(--paper);
}
.calendar {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  align-items: start;
}
.day-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 26px 14px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.day-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.day-card.is-today {
  border-color: rgba(196, 154, 74, 0.6);
  box-shadow: 0 0 0 4px rgba(196, 154, 74, 0.12), var(--shadow);
}
.day-head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.day-num {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 0.9;
  font-weight: 500;
  color: var(--wine-600);
}
.day-name {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.day-name strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--wine-800);
}
.day-name span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.today-badge {
  margin-left: auto;
  align-self: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-100);
  color: var(--gold-600);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.event {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px dashed var(--line);
}
.event:last-child {
  border-bottom: 0;
}
.event-time {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-600);
  font-variant-numeric: tabular-nums;
  padding-top: 3px;
  line-height: 1.35;
}
.event-time small {
  display: block;
  font-weight: 500;
  color: var(--muted);
}
.event-title {
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}
.event-desc {
  margin-top: 4px;
  font-size: 0.88rem;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.event-desc a {
  color: var(--wine-500);
}
.event-join {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: var(--btn-radius);
  background: var(--wine-700);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s;
}
.event-join:hover {
  background: var(--wine-500);
}
.event-join::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #7fdc9a;
  box-shadow: 0 0 0 3px rgba(127, 220, 154, 0.25);
}
.event-place {
  margin-top: 4px;
  font-size: 0.82rem;
  color: var(--muted);
}

.skeleton {
  height: 240px;
  background: linear-gradient(100deg, #fff 30%, var(--parchment) 50%, #fff 70%) 0 0 / 300% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer {
  to {
    background-position: -150% 0;
  }
}
.calendar-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 24px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  color: var(--muted);
}
.calendar-empty strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--wine-800);
  margin-bottom: 6px;
}

/* ---------- Feature (Bible study) ---------- */
.feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  min-height: 560px;
  background: var(--wine-800);
  color: var(--parchment);
}
.feature-media {
  background: url("/img/hero/bg-3.jpg") 50% 40% / cover;
  position: relative;
}
.feature-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 60%, var(--wine-800));
}
.feature-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 110px) clamp(24px, 6vw, 96px);
  max-width: 640px;
}
.feature h2 {
  color: #fff;
}
.feature .eyebrow {
  color: var(--gold-300);
}
.feature .lede {
  color: rgba(244, 237, 224, 0.82);
  margin-bottom: 34px;
}
.feature-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.feature-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--gold-300);
}
@media (max-width: 860px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .feature-media {
    min-height: 300px;
  }
  .feature-media::after {
    background: linear-gradient(180deg, transparent 55%, var(--wine-800));
  }
}

/* ---------- Letter ---------- */
.letter {
  background: var(--parchment);
  position: relative;
  overflow: hidden;
}
.letter-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
.icon-frame {
  position: relative;
  padding: 18px;
  border-radius: 999px 999px 24px 24px;
  background: linear-gradient(160deg, var(--gold-300), var(--gold-600));
  box-shadow: var(--shadow-lg);
}
.icon-frame::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.5);
  pointer-events: none;
}
.icon-frame img {
  width: 100%;
  border-radius: 999px 999px 12px 12px;
  background: var(--wine-900);
  aspect-ratio: 512 / 605;
  object-fit: cover;
}
.letter-body {
  max-width: 600px;
}
.letter-body .salutation {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--wine-600);
  margin-bottom: 1.2em;
}
.letter-body p {
  color: var(--ink-2);
  font-size: 1.05rem;
}
.dropcap::first-letter {
  float: left;
  font-family: var(--serif);
  font-size: 4.6rem;
  line-height: 0.8;
  padding: 6px 12px 0 0;
  color: var(--wine-600);
}
.pull {
  margin: 1.6em 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--gold-500);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.3;
  color: var(--wine-800);
}
.letter-body .signoff {
  margin: 1.6em 0 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
}
.signature {
  width: 220px;
  margin-top: -4px;
  mix-blend-mode: multiply;
}
@media (max-width: 860px) {
  .letter-grid {
    grid-template-columns: 1fr;
  }
  .letter-art {
    max-width: 340px;
    margin-inline: auto;
  }
}

/* ---------- Support ---------- */
.support {
  background: var(--paper);
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 980px;
  margin-inline: auto;
}
.support-card {
  all: unset;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
}
.support-card:hover,
.support-card:focus-visible {
  border-color: rgba(196, 154, 74, 0.6);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.support-card:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}
.support-card svg {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 10px;
  border-radius: 50%;
  background: var(--gold-100);
  fill: none;
  stroke: var(--wine-600);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.support-card h3 {
  flex: 1;
  margin: 0;
  font-size: 1.3rem;
}
.support-arrow {
  color: var(--gold-600);
  font-size: 1.1rem;
  transition: transform 0.3s var(--ease);
}
.support-card:hover .support-arrow {
  transform: translateX(4px);
}
.card-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--wine-600);
  text-decoration: none;
}
a.card-link:hover {
  text-decoration: underline;
}
@media (max-width: 860px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Saints ---------- */
.saints {
  position: relative;
  padding-block: clamp(90px, 12vw, 150px);
  background:
    radial-gradient(700px 360px at 50% 0%, rgba(196, 154, 74, 0.18), transparent 70%),
    var(--wine-900);
  color: var(--parchment);
  text-align: center;
  overflow: hidden;
}
.saints-cross {
  width: 46px;
  height: 46px;
  color: var(--gold-500);
  margin: 0 auto 36px;
  display: block;
}
.quotes {
  display: grid;
  max-width: 880px;
  margin-inline: auto;
}
.quote {
  grid-area: 1 / 1;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), visibility 0.9s;
}
.quote.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.quote blockquote {
  margin: 0 0 36px;
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.3;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  text-wrap: balance;
}
.quote blockquote::before {
  content: "“";
  color: var(--gold-500);
}
.quote blockquote::after {
  content: "”";
  color: var(--gold-500);
}
.quote figcaption {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
}
.quote figcaption img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--gold-500);
  object-fit: cover;
}
.quote figcaption span {
  display: flex;
  flex-direction: column;
  font-size: 0.85rem;
  color: rgba(244, 237, 224, 0.7);
}
.quote figcaption strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-300);
}
.quotes {
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}
.quotes:active {
  cursor: grabbing;
}
.quote-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 44px;
}
.quote-arrow {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(196, 154, 74, 0.45);
  background: transparent;
  color: var(--gold-300);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.quote-arrow:hover {
  background: rgba(196, 154, 74, 0.14);
  border-color: var(--gold-500);
}
.quote-prev:hover {
  transform: translateX(-2px);
}
.quote-next:hover {
  transform: translateX(2px);
}
.quote-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.quote-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.quote-dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--gold-500);
  background: transparent;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}
.quote-dots button[aria-selected="true"] {
  background: var(--gold-500);
  transform: scale(1.2);
}

/* ---------- Resources ---------- */
.resources {
  background: var(--parchment);
}
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.resource-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  background: var(--paper);
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Logo panel in each ministry's own colours */
.resource-brand {
  display: grid;
  place-items: center;
  height: 168px;
  padding: 26px;
  overflow: hidden;
}
.resource-brand img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.6s var(--ease);
}
.resource-card:hover .resource-brand img {
  transform: scale(1.05);
}
.resource-brand--coa {
  background: radial-gradient(circle at 50% 40%, #5a1a16, #1d0d0b 75%);
}
.resource-brand--coa img {
  height: 104px;
}
.resource-brand--tf {
  background: #2b2b2b;
}
.resource-brand--tf img {
  width: 100%;
  max-width: 300px;
  height: auto;
}
.resource-brand--catena {
  background: #111;
}
.resource-brand--catena img {
  height: 108px;
}

.resource-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 28px 28px;
}
.tag {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(196, 154, 74, 0.45);
  color: var(--gold-600);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.resource-card h3 {
  font-size: 1.75rem;
  margin-bottom: 10px;
}
.resource-card p {
  color: var(--muted);
  flex: 1;
}
@media (max-width: 900px) {
  .resource-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }
}

/* ---------- Churches ---------- */
.churches {
  background: var(--paper);
}
.church-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.church-card {
  display: flex;
  flex-direction: column;
  padding: 14px 14px 22px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.church-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.church-img {
  aspect-ratio: 3 / 2;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 18px;
}
.church-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.8s var(--ease);
}
.church-card:hover .church-img img {
  transform: scale(1.05);
}
.church-card h3 {
  font-size: 1.35rem;
  padding-inline: 8px;
  margin-bottom: 6px;
}
.church-card p {
  padding-inline: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}
.church-card .card-link {
  padding-inline: 8px;
}
@media (max-width: 1000px) {
  .church-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .church-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact ---------- */
.contact {
  background: linear-gradient(var(--paper), var(--parchment));
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact-form {
  display: grid;
  gap: 18px;
}
.field {
  display: grid;
  gap: 6px;
}
.field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font: 400 1rem/1.5 var(--sans);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field select {
  background: #fff
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b1f2a' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right 14px center / 18px;
  padding-right: 44px;
}
.field textarea {
  resize: vertical;
  min-height: 140px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(196, 154, 74, 0.18);
}
.field-error {
  display: none;
  font-size: 0.82rem;
  color: #a3202f;
}
.field.has-error input,
.field.has-error textarea {
  border-color: #c0394a;
}
.field.has-error .field-error {
  display: block;
}
.form-status {
  margin: 0;
  min-height: 1.5em;
  font-size: 0.95rem;
}
.form-status.ok {
  color: #2f6b45;
}
.form-status.err {
  color: #a3202f;
}

.contact-card {
  position: relative;
  padding: 40px 36px 36px;
  border-radius: var(--radius-lg);
  background: var(--wine-800);
  color: var(--parchment);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.contact-cross {
  position: absolute;
  right: -40px;
  top: -40px;
  width: 200px;
  height: 200px;
  color: rgba(196, 154, 74, 0.1);
}
.contact-card dl {
  position: relative;
  margin: 0 0 28px;
  display: grid;
  gap: 22px;
}
.contact-card dt {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 4px;
}
.contact-card dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.25;
  font-variant-numeric: lining-nums;
}
.contact-card dd a {
  color: #fff;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact-card dd a:hover {
  color: var(--gold-300);
}
.map {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(227, 200, 143, 0.25);
}
.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: sepia(0.25) saturate(0.85);
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer (deliberately quiet) ---------- */
.site-footer {
  background: var(--wine-900);
  color: rgba(244, 237, 224, 0.6);
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 40px;
  padding-block: 34px 26px;
}
.brand--footer {
  color: var(--parchment);
}
.brand--footer .brand-mark {
  width: 26px;
  height: 26px;
}
.brand--footer .brand-name {
  font-size: 1.1rem;
}
.footer-give {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
}
.footer-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.footer-etransfer {
  display: flex;
  flex-direction: column;
  padding-left: 24px;
  border-left: 1px solid rgba(227, 200, 143, 0.18);
  line-height: 1.5;
}
.footer-hint {
  font-size: 0.75rem;
  color: rgba(244, 237, 224, 0.42);
}
.site-footer a:not(.brand):not(.btn) {
  color: var(--parchment);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 154, 74, 0.4);
  transition: color 0.2s, border-color 0.2s;
}
.site-footer a:not(.brand):not(.btn):hover {
  color: var(--gold-300);
  border-color: var(--gold-300);
}
.footer-legal {
  padding-block: 16px 22px;
  border-top: 1px solid rgba(227, 200, 143, 0.1);
  font-size: 0.75rem;
  color: rgba(244, 237, 224, 0.38);
}

/* ---------- Reveal on scroll ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Without JavaScript the calendar can't load: hide the loading placeholders */
html:not(.js) .skeleton {
  display: none;
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 40;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--wine-800);
  border: 1px solid rgba(196, 154, 74, 0.5);
  color: var(--gold-300);
  box-shadow: 0 10px 24px -10px rgba(31, 14, 17, 0.6);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s, background 0.25s, color 0.25s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--gold-500);
  color: var(--wine-900);
}
.to-top svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-open .to-top {
  opacity: 0;
  visibility: hidden;
}

/* ==========================================================================
   Inner pages (built from _template.html)
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--header-h) + clamp(48px, 7vw, 90px)) 0 clamp(44px, 6vw, 72px);
  background:
    radial-gradient(900px 380px at 15% 0%, rgba(196, 154, 74, 0.16), transparent 70%),
    var(--wine-800);
  color: var(--parchment);
}
.page-hero::after {
  /* faint cross watermark */
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 340px;
  height: 340px;
  background: var(--gold-500);
  opacity: 0.06;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M29 32 25 4Q32 2 39 4L35 32zM32 29 60 25Q62 32 60 39L32 35zM35 32 39 60Q32 62 25 60L29 32zM32 35 4 39Q2 32 4 25L32 29z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M29 32 25 4Q32 2 39 4L35 32zM32 29 60 25Q62 32 60 39L32 35zM35 32 39 60Q32 62 25 60L29 32zM32 35 4 39Q2 32 4 25L32 29z'/%3E%3C/svg%3E")
    center / contain no-repeat;
  pointer-events: none;
}
.page-hero .eyebrow {
  color: var(--gold-300);
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  line-height: 1;
  margin-bottom: 18px;
}
.page-hero .lede {
  max-width: 620px;
  margin: 0;
  color: rgba(244, 237, 224, 0.82);
}

.page-body {
  padding-block: clamp(56px, 8vw, 100px);
}
.page-body--dark {
  background: var(--wine-900);
  color: var(--parchment);
}
.page-stack {
  display: grid;
  gap: clamp(36px, 5vw, 56px);
  max-width: 1080px;
  margin-inline: auto;
}
.page-note {
  margin: 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}
.page-body--dark .page-note {
  color: rgba(244, 237, 224, 0.55);
}
.page-note a:not(.btn) {
  color: inherit;
}

/* Responsive frames for video, slides and documents */
.embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-lg);
}
.embed iframe,
.embed object {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.embed--slides {
  aspect-ratio: 1440 / 839;
}
.embed--doc {
  aspect-ratio: 8.5 / 11;
  max-height: 88vh;
  margin-inline: auto;
  width: 100%;
  max-width: 820px;
  background: var(--parchment-2);
}

/* SoundCloud soundtrack card */
.soundtrack {
  max-width: 680px;
  width: 100%;
  margin-inline: auto;
  text-align: center;
}
.soundtrack .eyebrow {
  color: var(--gold-300);
}
.soundtrack .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.soundtrack p:not(.eyebrow) {
  margin: 0 0 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: rgba(244, 237, 224, 0.75);
}
.soundtrack iframe {
  display: block;
  width: 100%;
  height: 166px;
  border: 0;
  border-radius: var(--radius);
}

/* Eventbrite checkout */
.ticket-widget {
  max-width: 760px;
  width: 100%;
  margin-inline: auto;
  padding: 10px;
  border-radius: var(--radius-lg);
  background: #fff;
  min-height: 445px;
  box-shadow: var(--shadow-lg);
}

/* New Year's program: preview + booklet card */
.program {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  max-width: 1080px;
  margin-inline: auto;
}
.program-preview img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.program-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: 34px 32px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.program-card h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}
.program-card > p {
  color: var(--muted);
}
.program-card .btn {
  width: 100%;
  margin: 8px 0 28px;
}
.program-qr {
  margin: 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.program-qr img {
  width: 180px;
  margin: 0 auto 12px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.program-qr figcaption {
  font-size: 0.85rem;
  color: var(--muted);
}
@media (max-width: 860px) {
  .program {
    grid-template-columns: 1fr;
  }
  .program-card {
    position: static;
  }
}

/* ---------- Form cards (Subscribe, The Well) ---------- */
.form-card {
  max-width: 620px;
  margin-inline: auto;
  padding: clamp(28px, 4vw, 40px);
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.form-card h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}
.form-card .contact-form {
  margin-top: 22px;
}
.form-hint {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.form-card .btn-block + .form-hint {
  margin-top: 4px;
  text-align: center;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field-hint {
  font-size: 0.8rem;
  color: var(--muted);
}
.req {
  color: var(--wine-500);
}
@media (max-width: 520px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- The Well ---------- */
.well-result {
  max-width: 1080px;
  margin: 0 auto 36px;
  padding: 16px 22px;
  border-radius: var(--radius);
  font-weight: 500;
}
.well-result.is-ok {
  background: #e7f2ea;
  color: #245238;
  border: 1px solid #b9d9c3;
}
.well-result.is-err {
  background: #f8e6e8;
  color: #85202d;
  border: 1px solid #ebc1c7;
}
.well-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  max-width: 1080px;
  margin-inline: auto;
}
.well-intro img {
  width: min(100%, 380px);
  aspect-ratio: 16 / 10; /* the drawing has lots of empty space above and below */
  object-fit: cover;
  margin: 0 auto 28px;
  mix-blend-mode: multiply;
}
.well-intro p {
  font-size: 1.1rem;
  color: var(--ink-2);
}
.well-side {
  display: grid;
  gap: 24px;
}
.well-side .form-card {
  max-width: none;
}
.well-side .btn-block {
  margin-top: 20px;
}
.well-forms {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 48px);
  max-width: 1080px;
  margin: clamp(64px, 9vw, 110px) auto 0;
  padding-top: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--line);
}
.well-forms h2 {
  font-size: 2rem;
  margin-bottom: 6px;
}
.gform {
  display: block;
  width: 100%;
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}
@media (max-width: 860px) {
  .well-grid,
  .well-forms {
    grid-template-columns: 1fr;
  }
}
