:root {
  --marble: #faf8f4;
  --stone: #f2eee6;
  --mist: #e7e2d8;
  --gold: #c0a874;
  --gold-dim: rgba(192, 168, 116, 0.45);
  --slate: #4a453e;
  --ink: #6b6259;
  --ink-soft: #9a9187;
  --col: 480px;
  --pad: 24px;
  --gap: 56px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: "Newsreader", Georgia, serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
}
sup {
  font-size: 0.58em;
  vertical-align: 0.5em;
}
body:not(.open) {
  overflow: hidden;
  height: 100%;
}

#page {
  max-width: var(--col);
  margin: 0 auto;
  background: var(--marble);
  overflow: hidden;
  box-shadow: 0 0 80px rgba(74, 69, 62, 0.16);
  opacity: 0;
  transition: opacity 0.9s var(--ease);
}
body.open #page {
  opacity: 1;
}

/* The standing ornaments down the sides. ⚠️ The picture is attached inside the
   1180px query below and NOWHERE ELSE — that is the whole point of these being
   empty <div>s rather than <img>s (see the note in index.html). A background
   named out here would be fetched on a phone exactly as the <img> was, and the
   saving would be gone.
   The aspect ratios are the files' own — 246×710 and 225×242 — and stand in
   for the intrinsic height an <img> used to supply. */
.edge {
  display: none;
  position: fixed;
  bottom: 0;
  width: 190px;
  opacity: 0.75;
  pointer-events: none;
  z-index: 1;
  background-repeat: no-repeat;
  background-position: bottom center;
  background-size: contain;
}
.edge-l {
  left: 0;
  aspect-ratio: 246 / 710;
}
.edge-r {
  right: 10px;
  width: 130px;
  aspect-ratio: 225 / 242;
}
@media (min-width: 1180px) {
  .edge {
    display: block;
  }
  .edge-l {
    background-image: url("assets/ornaments/curtain.webp");
  }
  .edge-r {
    background-image: url("assets/ornaments/urn-tall.webp");
  }
}
@media (min-width: 1500px) {
  .edge-l {
    width: 250px;
  }
  .edge-r {
    width: 165px;
  }
}

/* ── cover ───────────────────────────────── */
#cover {
  position: fixed;
  inset: 0;
  z-index: 90;
  max-width: var(--col);
  margin: 0 auto;
  background: var(--marble);
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.door {
  position: absolute;
  top: 0;
  height: 100%;
  width: 50.4%;
  background: var(--marble);
  transition: transform 1.35s var(--ease);
  will-change: transform;
}
.door-l {
  left: 0;
}
.door-r {
  right: 0;
}
.door .panel {
  position: absolute;
  inset: 40px 0;
  border-top: 1px solid var(--gold-dim);
  border-bottom: 1px solid var(--gold-dim);
}
.door-l .panel {
  left: 34px;
  right: 0;
  border-left: 1px solid var(--gold-dim);
  border-top-left-radius: 100% 26%;
}
.door-r .panel {
  right: 34px;
  left: 0;
  border-right: 1px solid var(--gold-dim);
  border-top-right-radius: 100% 26%;
}
.seam {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    var(--gold-dim) 16%,
    var(--gold-dim) 86%,
    transparent
  );
  transform: translateX(-50%);
  transition: opacity 0.5s ease;
}
body.opening .door-l {
  transform: translateX(-101%);
}
body.opening .door-r {
  transform: translateX(101%);
}
body.opening .seam {
  opacity: 0;
}
body.opening .cover-inner {
  opacity: 0;
}
body.opened #cover {
  display: none;
}

.cover-inner {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  transition: opacity 0.45s ease;
}
.tap-ring {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(192, 168, 116, 0.7);
  position: relative;
  animation: breathe 2.8s ease-in-out infinite;
}
.tap-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(192, 168, 116, 0.5);
  animation: halo 2.8s ease-out infinite;
}
.tap-label {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--slate);
  text-indent: 0.5em;
}
@keyframes breathe {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
}
@keyframes halo {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  70%,
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

/* ── music ───────────────────────────────── */
.music {
  position: fixed;
  top: 16px;
  z-index: 80;
  right: max(16px, calc(50vw - var(--col) / 2 + 16px));
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(250, 248, 244, 0.9);
  border: 1px solid var(--gold-dim);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  color: var(--slate);
  transition: transform 0.25s var(--ease);
}
body.open .music {
  display: flex;
  animation: fadein 0.8s 0.5s backwards;
}
.music:hover {
  transform: scale(1.07);
}
.music svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: currentColor;
}
.music .ic-off {
  display: none;
}
.music[aria-pressed="false"] .ic-on {
  display: none;
}
.music[aria-pressed="false"] .ic-off {
  display: block;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ── hero ────────────────────────────────── */
.hero {
  position: relative;
}
.hero-art {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: url(assets/hero.webp) center 30% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22vh 34px 18vh;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(250, 248, 244, 0.1) 6%,
    rgba(250, 248, 244, 0.42) 24%,
    rgba(250, 248, 244, 0.5) 52%,
    rgba(250, 248, 244, 0.34) 70%,
    rgba(250, 248, 244, 0) 86%
  );
}
.chandelier {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: clamp(58px, 14vw, 92px);
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}
.hero-body {
  position: relative;
  text-align: center;
  width: 100%;
  max-width: 520px;
}
.ganesh {
  width: clamp(94px, 25%, 140px);
  margin: 0 auto 8px;
}
.invocation {
  margin: 0 0 14px;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--gold);
}
.hero-eyebrow {
  margin: 0 0 12px;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 10.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-names {
  margin: 0;
  font-family: "Prata", serif;
  font-weight: 400;
  font-size: clamp(37px, 10vw, 64px);
  line-height: 1.14;
  color: var(--slate);
  letter-spacing: 0.005em;
}
.hero-names em {
  display: block;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 0.22em;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 12px 0 10px;
  text-indent: 0.46em;
}
.hair {
  display: block;
  width: min(190px, 52%);
  height: 1px;
  margin: 20px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hair-sm {
  width: min(120px, 44%);
  margin: 10px auto 14px;
}
.hero-date {
  margin: 0 0 10px;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: clamp(12.5px, 3vw, 16px);
  letter-spacing: 0.24em;
  color: var(--slate);
  text-transform: uppercase;
}
.hero-venue {
  margin: 0;
  font-size: clamp(15px, 3.3vw, 18px);
  font-style: italic;
  color: var(--ink);
  line-height: 1.55;
}
.hero-venue span {
  font-style: normal;
  font-size: 0.82em;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.scroll-cue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  pointer-events: none;
}
.scroll-cue span:first-child {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cue-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: drop 2.2s ease-in-out infinite;
}
@keyframes drop {
  0% {
    transform: scaleY(0.25);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: top;
  }
  56% {
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}
.scroll-cue.gone {
  opacity: 0;
  transform: translateY(12px);
}

/* ── arched niches (the motif) ───────────── */
.sec {
  padding: var(--gap) var(--pad);
  position: relative;
  background: var(--marble);
  overflow: hidden;
}
.niche {
  position: relative;
  background: var(--stone);
  border: 1px solid var(--gold-dim);
  border-radius: 50% 50% 4px 4px / 15% 15% 4px 4px;
  padding: clamp(56px, 14vw, 86px) clamp(22px, 6vw, 44px) clamp(38px, 8vw, 54px);
  text-align: center;
  margin: 0 auto;
  max-width: 640px;
}
.niche + .niche {
  margin-top: 22px;
}
.niche-sm {
  padding-top: clamp(48px, 12vw, 72px);
}
.head {
  text-align: center;
  margin-bottom: 24px;
}

.eyebrow {
  margin: 0 0 12px;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 10.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold);
}
.h2 {
  margin: 0 0 20px;
  font-family: "Prata", serif;
  font-weight: 400;
  font-size: clamp(24px, 5.6vw, 38px);
  line-height: 1.3;
  color: var(--slate);
}
.h2-sm {
  font-size: clamp(22px, 5vw, 32px);
}
.prose {
  margin: 0 auto 16px;
  max-width: 34ch;
}
.tag {
  margin: 24px 0 0;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: clamp(12px, 2.4vw, 15px);
  letter-spacing: 0.26em;
  color: var(--slate);
}
.tag-sm {
  font-size: 11px;
  letter-spacing: 0.3em;
  margin-top: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1s var(--ease),
    transform 1s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

.deco {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  opacity: 0.8;
}
.deco-urn {
  width: clamp(58px, 15vw, 96px);
  right: -14px;
  bottom: 14px;
}
.deco-candles {
  width: clamp(80px, 20vw, 130px);
  left: -18px;
  bottom: 10px;
  opacity: 0.7;
}

/* ── union block ─────────────────────────── */
.weds {
  margin: 34px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: "Prata", serif;
  font-size: clamp(19px, 4.2vw, 26px);
  line-height: 1.3;
  color: var(--slate);
  text-align: center;
}
.weds em {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-style: normal;
  font-size: 0.44em;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 12px;
  text-indent: 0.36em;
}
.weds em::before,
.weds em::after {
  content: "";
  width: 30px;
  height: 1px;
  background: var(--gold-dim);
}
.side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.side-name {
  margin: 0 0 9px;
  line-height: 1.2;
}
.side-role {
  margin: 0 0 6px;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
}
.side-parents {
  margin: 0;
  font-family: "Newsreader", serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 26ch;
  letter-spacing: 0;
}
.seal {
  width: min(112px, 30%);
  margin: 0 auto 20px;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

/* ── countdown ───────────────────────────── */
.clock {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 380px;
  margin: 24px auto 0;
}
.unit {
  padding: 18px 4px 14px;
  background: var(--marble);
  border: 1px solid rgba(192, 168, 116, 0.32);
}
.unit b {
  display: block;
  font-family: "Prata", serif;
  font-weight: 400;
  font-size: clamp(21px, 5.4vw, 30px);
  color: var(--slate);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.unit i {
  display: block;
  margin-top: 9px;
  font-style: normal;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 9.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ── events ──────────────────────────────── */
.card-art {
  margin: 0 auto 18px;
  padding: 0;
  overflow: hidden;
  max-width: 300px;
  border: 1px solid var(--gold-dim);
  border-radius: 50% 50% 3px 3px / 22% 22% 3px 3px;
}
.card-art img {
  width: 100%;
}
.card-title {
  margin: 0;
  font-family: "Prata", serif;
  font-weight: 400;
  font-size: clamp(25px, 5.4vw, 33px);
  color: var(--slate);
}
.card-when {
  margin: 0 0 3px;
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: clamp(12px, 2.7vw, 15px);
  letter-spacing: 0.2em;
  color: var(--slate);
  text-transform: uppercase;
}
.card-time {
  margin: 0 0 14px;
  font-style: italic;
  color: var(--ink-soft);
}
.card-venue {
  margin: 0 0 20px;
  line-height: 1.55;
}
.card-venue span {
  font-size: 0.85em;
  color: var(--ink-soft);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border: 1px solid var(--gold-dim);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--slate);
  text-decoration: none;
  background: var(--marble);
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
.btn:hover {
  background: var(--slate);
  color: var(--marble);
  border-color: var(--slate);
}
.btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
}

/* ── gallery ─────────────────────────────── */
.slides {
  position: relative;
  margin: 22px auto 0;
  max-width: min(340px, 94%);
  overflow: hidden;
  border: 1px solid var(--gold-dim);
  background: var(--marble);
}
.slide-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}
.slide {
  margin: 0;
  flex: 0 0 100%;
  position: relative;
  padding: 22px;
}
.slide img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.ph {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 9.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold-dim);
  padding: 4px 12px;
  background: var(--marble);
  white-space: nowrap;
  z-index: 2;
}
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  background: rgba(250, 248, 244, 0.94);
  border: 1px solid var(--gold-dim);
  color: var(--slate);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
}
.prev {
  left: 8px;
}
.next {
  right: 8px;
}
.dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 16px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--gold);
  transition: background 0.3s ease;
}
.dot[aria-current="true"] {
  background: var(--gold);
}

/* ── venue ───────────────────────────────── */
.palace {
  width: min(300px, 88%);
  margin: 0 auto 20px;
  border-radius: 3px;
}
.venue-name {
  margin: 0 0 6px;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: clamp(15px, 3.2vw, 18px);
  color: var(--slate);
  letter-spacing: 0.05em;
}
.venue-addr {
  margin: 0 0 22px;
  color: var(--ink-soft);
}
.mapcard {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--ink);
  padding: 18px 20px;
  background: var(--marble);
  border: 1px solid var(--gold-dim);
  max-width: 460px;
  margin: 0 auto;
  text-align: left;
  transition:
    border-color 0.3s ease,
    transform 0.3s var(--ease);
}
.mapcard:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.mapcard-pin,
.mapcard-go {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.mapcard-pin svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
}
.mapcard-go svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  fill: none;
}
.mapcard-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.mapcard-text b {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 12.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 3px;
}

/* ── rsvp plate ──────────────────────────── */
.plate {
  position: relative;
  background: url(assets/plate.webp) center 26% / cover no-repeat;
}
.plate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(250, 248, 244, 0.24) 0%,
    rgba(250, 248, 244, 0.58) 38%,
    rgba(250, 248, 244, 0.5) 70%,
    rgba(250, 248, 244, 0) 92%
  );
}
.plate-body {
  position: relative;
  padding: var(--gap) var(--pad);
  text-align: center;
  min-height: clamp(420px, 68vw, 560px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.rsvp {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  max-width: 480px;
  margin-inline: auto;
  width: 100%;
}
.chip {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px 20px;
  background: rgba(250, 248, 244, 0.94);
  border: 1px solid var(--gold-dim);
  text-decoration: none;
  color: var(--ink);
  transition:
    border-color 0.3s ease,
    transform 0.3s var(--ease);
}
.chip:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}
.chip svg {
  width: 23px;
  height: 23px;
  flex: none;
  stroke: var(--gold);
  fill: var(--gold);
}
.chip span {
  display: flex;
  flex-direction: column;
  font-size: 0.85em;
  color: var(--ink-soft);
}
.chip b {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 1.05em;
  letter-spacing: 0.06em;
  color: var(--slate);
}

/* ── footer ──────────────────────────────── */
.foot {
  background: var(--marble);
  padding: var(--gap) var(--pad) 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.foot-orn {
  width: min(260px, 64%);
  margin: 0 auto 28px;
}
.foot-line {
  margin: 0 0 6px;
  font-style: italic;
  color: var(--ink-soft);
}
.foot-names {
  margin: 0;
  font-family: "Prata", serif;
  font-size: clamp(26px, 6vw, 38px);
  color: var(--slate);
}
.ig {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.85em;
  letter-spacing: 0.04em;
  transition: color 0.3s ease;
}
.ig:hover {
  color: var(--slate);
}
.ig svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: currentColor;
}
.foot-rule {
  display: block;
  width: min(170px, 48%);
  height: 1px;
  margin: 44px auto 26px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}
.made {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  opacity: 0.82;
  transition: opacity 0.3s ease;
}
.made:hover {
  opacity: 1;
}
.made span {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 9.5px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.made img {
  width: 126px;
  mix-blend-mode: multiply;
}

/* ── scale up ────────────────────────────── */
@media (min-width: 600px) {
  :root {
    --col: 620px;
    --pad: 40px;
    --gap: 70px;
  }
  body {
    font-size: 18px;
  }
  .hero-art {
    padding: 23vh 58px 18vh;
  }
}
@media (min-width: 640px) {
  .weds {
    align-items: flex-start;
    gap: clamp(20px, 4vw, 36px);
    flex-direction: row;
    justify-content: center;
  }
  .side {
    flex: 1;
    max-width: 280px;
  }
  .weds em {
    margin-top: 12px;
    flex: none;
  }
}
@media (min-width: 960px) {
  :root {
    --col: 800px;
    --pad: 56px;
    --gap: 86px;
  }
  body {
    font-size: 19px;
  }
  .music {
    width: 46px;
    height: 46px;
    top: 22px;
  }
  .hero-art {
    padding: 22vh 70px 18vh;
    background-position: center 26%;
  }
  .sec-events {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }
  .sec-events .head {
    grid-column: 1 / -1;
  }
  .sec-events .niche + .niche {
    margin-top: 0;
  }
}
@media (min-width: 1400px) {
  :root {
    --col: 880px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
:focus-visible {
  outline: 2px solid var(--slate);
  outline-offset: 3px;
}

/* ── config-driven states ────────────────── */
/* Slots the config left empty are hidden with [hidden]; several of them are
   flex or grid, so the attribute needs to win over the class. */
[hidden] {
  display: none !important;
}

/* Blessings with no artwork fall back to their glyph, set at the same weight
   as the Ganesha crop it replaces. */
.glyph {
  margin: 0 0 8px;
  font-family: "Prata", serif;
  font-size: clamp(38px, 10vw, 56px);
  line-height: 1;
  color: var(--gold);
}

.hosted {
  margin: 16px auto 0;
  max-width: 34ch;
  font-style: italic;
  color: var(--ink-soft);
}

.card-note {
  margin: -10px 0 16px;
  font-size: 0.85em;
  font-style: italic;
  color: var(--ink-soft);
}

/* A single event keeps its niche at reading width rather than sitting in one
   half of the two-column grid. */
@media (min-width: 960px) {
  .sec-events.one {
    grid-template-columns: 1fr;
  }
  .sec-events.one .card {
    max-width: 460px;
  }
}
