/* Rozha One and Mukta, self-hosted from Google Fonts (SIL Open Font License). */
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/mukta-400-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/mukta-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/mukta-500-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/mukta-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/mukta-700-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Mukta';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/mukta-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Rozha One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/rozha-one-400-devanagari.woff2) format('woff2');
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+20F0, U+25CC, U+A830-A839, U+A8E0-A8FF, U+11B00-11B09;
}
@font-face {
  font-family: 'Rozha One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/rozha-one-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/*
  Prem Bhatnagar And Party

  One brand theme: the deep red of a chowki pandal, lit by marigold.
  The site does not switch to a light mode because the red ground is the identity.

  Shape rules:
  - photos are temple arches (round top, square bottom)
  - buttons are pills
  - tiles and the form panel use --radius (18px)
  - inputs use --radius-sm (10px)
*/

:root {
  --ground: #3f0a10;        /* kumkum, page background */
  --ground-deep: #2c060b;   /* footer, darkest */
  --ground-raised: #561019; /* tiles, form panel */
  --sindoor: #9e1b22;       /* red cloth, feature tile */
  --kesari: #e0701c;        /* saffron, dawn in the sky band only */
  --genda: #f7c21b;         /* marigold-gold, close to the logo yellow; the one accent */
  --genda-soft: #fde68a;
  --chandan: #fbebd3;       /* sandalwood, main text */
  --chandan-muted: #e3c6a2; /* secondary text */
  --line: rgb(251 235 211 / 0.16);
  --error: #ffb4a8;

  --font-display: "Rozha One", "Mukta", Georgia, serif;
  --font-body: "Mukta", system-ui, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(88px, 11vw, 160px);

  /* Type scale (about 1.25 per step, fluid between phone and desktop). Every font size
     on the site uses one of these, so the hierarchy stays consistent. */
  --text-xs: 0.875rem;                                     /* 14px  fine print */
  --text-sm: 1rem;                                         /* 16px  captions, labels */
  --text-base: 1.125rem;                                   /* 18px  body */
  --text-lg: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem); /* 19-21 ledes */
  --text-xl: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem);     /* 22-28 card and item titles */
  --text-2xl: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);      /* 28-40 Hindi names, small display */
  --text-3xl: clamp(2.125rem, 1.6rem + 2vw, 3rem);         /* 34-48 section titles */
  --text-4xl: clamp(2.75rem, 1.8rem + 3.8vw, 4.5rem);      /* 44-72 page titles */
  --leading-display: 1.08;
  --leading-heading: 1.25;  /* also safe for Devanagari matras */
  --leading-body: 1.65;
  --tracking-display: -0.015em;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 78px;
  color-scheme: dark;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--chandan);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--genda);
  color: var(--ground);
  font-weight: 700;
  border-radius: 999px;
}
.skip-link:focus { top: 12px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: currentColor;
}

[lang="hi"] { font-feature-settings: normal; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  min-height: 56px;
  padding: 0 1.75rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font: 700 1.0625rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out),
              border-color 0.25s var(--ease-out), transform 0.15s var(--ease-out);
}
.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--genda);
  color: var(--ground-deep);
}
.btn-primary:hover { background: var(--genda-soft); }

.btn-ghost {
  border-color: var(--line);
  color: var(--chandan);
}
.btn-ghost:hover { border-color: var(--genda); color: var(--genda); }

.btn-small { min-height: 46px; padding: 0 1.25rem; font-size: var(--text-sm); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: rgb(63 10 16 / 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  line-height: 1.1;
}
.wordmark-logo { width: 52px; height: 52px; flex: none; }
.wordmark-text { display: flex; flex-direction: column; }
.wordmark-hi {
  font-family: var(--font-display);
  font-size: 1.375rem;
  color: var(--genda);
}
.wordmark-en {
  font-size: 0.9375rem;
  color: var(--chandan-muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.site-nav > a:not(.btn) {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  color: var(--chandan-muted);
  transition: color 0.2s;
  font-size: 1.0625rem;
}
.site-nav > a:not(.btn):hover { color: var(--chandan); }
.site-nav > a[aria-current="page"] { color: var(--genda); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--chandan);
  font-size: 1.2rem;
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px var(--gutter) 24px;
    background: var(--ground-deep);
    border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a:not(.btn) {
    padding: 16px 0;
    font-size: 1.25rem;
    border-bottom: 1px solid var(--line);
  }
  .site-nav .btn { margin-top: 16px; justify-content: center; }
}

/* ---------- Photo slots ----------
   Each slot shows a warm lamp-lit placeholder until the real photo is added.
   The note is only visible while the photo is missing. */

[data-photo] {
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 60% at 50% 100%, rgb(247 194 27 / 0.55), transparent 60%),
    radial-gradient(60% 40% at 50% 78%, rgb(224 112 28 / 0.6), transparent 70%),
    linear-gradient(180deg, var(--ground-raised), var(--sindoor));
}
[data-photo] picture {
  display: block;
  width: 100%;
  height: 100%;
}
[data-photo] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-slot-note { display: none; }
[data-photo].is-empty img { visibility: hidden; }
[data-photo].is-empty .photo-slot-note {
  display: block;
  position: absolute;
  left: 50%; bottom: 20px;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 6px 14px;
  border-radius: 999px;
  background: rgb(44 6 11 / 0.7);
  color: var(--chandan);
  font-size: 0.85rem;
  text-align: center;
}

/* The temple arch: round top, square base, with a marigold outline arch behind it. */
.arch {
  border-radius: 50% 50% var(--radius-sm) var(--radius-sm) / 40% 40% var(--radius-sm) var(--radius-sm);
  aspect-ratio: 4 / 5;
}

/* ---------- Hero ---------- */

.hero {
  padding-block: clamp(40px, 7vw, 88px) clamp(64px, 8vw, 104px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}

.hero-invocation {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  color: var(--genda);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.75rem, 5.6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
@media (min-width: 600px) {
  .hero-title span { display: block; white-space: nowrap; }
}

.hero-lede {
  margin-top: 24px;
  max-width: 46ch;
  font-size: var(--text-lg);
  color: var(--chandan-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 440px;
}
/* Offset outline arch, like the frame of a temple doorway. */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -14px -14px 18px 18px;
  border: 2px solid var(--genda);
  border-radius: 50% 50% var(--radius-sm) var(--radius-sm) / 40% 40% var(--radius-sm) var(--radius-sm);
  opacity: 0.7;
  pointer-events: none;
}

/* ---------- Home hero (Hero04 layout) ----------
   Blurred photo wash behind, copy on the left, a two-photo collage on the right.
   The large collage photo is the slider. Photos are never cropped: each one is
   contained, and a blurred copy of it fills any space around it. */

.hero04 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero04-wash {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.32;
  filter: blur(24px) saturate(1.2);
  -webkit-mask-image: radial-gradient(75% 100% at 50% 0%, #000 45%, transparent 75%);
  mask-image: radial-gradient(75% 100% at 50% 0%, #000 45%, transparent 75%);
  pointer-events: none;
}
.hero04-wash img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero04-wash img.is-on { opacity: 1; }
.hero04-embers {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero04-grid {
  position: relative;
  z-index: 1;
  display: grid;
  /* The photos get the larger share of the width on desktop. */
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(40px, 5vw, 64px);
  padding-block: clamp(56px, 8vw, 112px);
}
.hero04-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero04-copy .hero-invocation { margin-bottom: 0; }
.reg {
  margin-left: 0.06em;
  font-family: var(--font-body);
  font-size: 0.36em;
  font-weight: 700;
  line-height: 1;
  vertical-align: 1.25em;
  letter-spacing: 0;
  color: var(--genda);
}
/* Registered mark after the English name in the header. */
.footer-name .reg { margin-left: 3px; font-size: 0.5em; vertical-align: 0.9em; }
.wordmark-en .reg { margin-left: 3px; font-size: 1em; vertical-align: 0.4em; }
.hero04-title { font-size: clamp(2.6rem, 1.9rem + 2.4vw, 3.6rem); line-height: var(--leading-display); letter-spacing: var(--tracking-display); }
.hero04-desc {
  max-width: 30rem;
  font-size: var(--text-lg);
  color: var(--chandan-muted);
  text-wrap: balance;
}
.hero04-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin-top: 8px;
}
.hero04-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 700;
  color: var(--genda);
  text-decoration: none;
  text-underline-offset: 5px;
  font-size: 1.0625rem;
}
.hero04-link:hover { text-decoration: underline; }

/* Collage: large photo top right, upright photo overlapping bottom left. */
.art-collage {
  position: relative;
  padding: 0 0 14% 11%;
}
.art-collage-primary {
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgb(28 4 7 / 0.55);
}
.art-collage-secondary {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 31%;
  aspect-ratio: 2 / 3;
  margin: 0;
  overflow: hidden;
  border: 4px solid var(--ground);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgb(28 4 7 / 0.6);
}
.art-collage-secondary picture,
.art-collage-secondary img { display: block; width: 100%; height: 100%; }
.art-collage-secondary img { object-fit: cover; }

.hero-slides {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--ground-deep);
  touch-action: pan-y;
}
.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease-out), visibility 0s linear 0.9s;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s var(--ease-out), visibility 0s;
}
.hero-slide-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  filter: blur(28px) brightness(0.45) saturate(1.3);
}
.hero-slide picture { position: relative; display: block; width: 100%; height: 100%; }
.hero-slide-photo { width: 100%; height: 100%; object-fit: contain; }
.hero-slides img,
.art-collage-secondary img { -webkit-user-drag: none; user-select: none; }

.hero04-media .slider-controls { justify-content: flex-end; }

/* Active dot: a gold pill that fills up while the slideshow timer runs. */
.slider-dot[aria-current="true"]::before {
  background:
    linear-gradient(var(--genda), var(--genda)) left / 100% 100% no-repeat,
    rgb(251 235 211 / 0.3);
}
.hero-slider.is-ticking .slider-dot[aria-current="true"]::before {
  animation: dot-fill 5s linear both;
}
@keyframes dot-fill {
  from { background-size: 0% 100%, auto; }
  to { background-size: 100% 100%, auto; }
}
.art-collage { touch-action: pan-y; }

@media (max-width: 860px) {
  .hero04-grid { grid-template-columns: 1fr; gap: 40px; padding-block: 32px 64px; }
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.slider-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--chandan);
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.slider-btn:hover { border-color: var(--genda); color: var(--genda); }
.slider-btn .icon-play { display: none; }
.slider-btn[aria-pressed="true"] .icon-pause { display: none; }
.slider-btn[aria-pressed="true"] .icon-play { display: block; }

.slider-dots { display: flex; align-items: center; }
.slider-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.slider-dot::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgb(251 235 211 / 0.4);
  transition: width 0.3s var(--ease-out), background-color 0.3s;
}
.slider-dot:hover::before { background: var(--chandan); }
.slider-dot[aria-current="true"]::before { width: 22px; background: var(--genda); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 360px; order: -1; margin-top: 8px; }
}

@media (max-width: 480px) {
  .hero { padding-top: 28px; }
  .hero-visual { max-width: 200px; }
  .hero-visual::before { inset: -10px -10px 12px 12px; }
  .slider-controls { margin-top: 20px; gap: 4px; }
  .hero-invocation { margin-bottom: 12px; }
  .hero-lede { margin-top: 16px; }
  .hero-actions { margin-top: 24px; }
  .hero-actions .btn { flex: 1 1 100%; justify-content: center; }
}

/* ---------- Sections ---------- */

.section { padding-block: var(--section-y); }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-3xl);
  line-height: var(--leading-display);
  max-width: 18ch;
  text-wrap: balance;
  letter-spacing: var(--tracking-display);
}

.section-lede {
  margin-top: 20px;
  max-width: 52ch;
  color: var(--chandan-muted);
  font-size: var(--text-lg);
}

h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: var(--leading-heading);
}

/* ---------- Programs (Feature73 layout) ----------
   Header with a link, one featured program with its photo, then a bordered card per
   program. Photos are shown whole at their own shape. */

.programs { border-top: 1px solid var(--line); }

.feature73 {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 80px);
}
.feature73-head { max-width: 36rem; }
.feature73-head .section-lede { margin-bottom: 32px; }
.feature73-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--genda);
  text-decoration: none;
}
.feature73-link .icon { transition: transform 0.25s var(--ease-out); }
.feature73-link:hover .icon { transform: translateX(4px); }
.feature73-link:hover { text-decoration: underline; text-underline-offset: 5px; }

.feature73-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 2.5vw, 32px);
}

.feature-card {
  display: flex;
  flex-direction: column;
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ground-raised);
  transition: border-color 0.25s, transform 0.25s var(--ease-out);
}
.feature-card:hover { border-color: rgb(247 194 27 / 0.5); }
.feature-card:focus-within { border-color: var(--genda); }

.feature-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: clamp(28px, 3.5vw, 48px);
}
.feature-body h3 { font-size: var(--text-xl); }
.feature-body h3 a { color: inherit; text-decoration: none; }
.feature-body h3 a:hover { color: var(--genda); }
/* The whole card is clickable through its heading link. */
.feature-card { position: relative; }
.feature-body h3 a::after { content: ""; position: absolute; inset: 0; }
.feature-body p { color: var(--chandan-muted); max-width: 46ch; }
.feature-body .feature-hi {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  line-height: var(--leading-heading);
  color: var(--genda);
}

/* Featured program: photo beside the text on wide screens. */
.feature-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
}
.feature-photo { margin: 0; height: 100%; background: var(--ground-deep); }
.feature-photo picture,
.feature-photo img { display: block; width: 100%; height: 100%; }
.feature-card--featured .feature-photo img { aspect-ratio: 1280 / 659; object-fit: contain; }
.feature-card--featured .feature-photo { display: flex; align-items: center; }

/* Program card photos: a 4:3 frame that shows the whole photo. A narrower or taller
   photo sits on a blurred, darkened copy of itself instead of being cropped. */
.feature-photo--card {
  position: relative;
  aspect-ratio: 4 / 3;
  height: auto;
  overflow: hidden;
}
.feature-photo-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  filter: blur(24px) brightness(0.45) saturate(1.3);
}
.feature-photo--card picture { position: relative; }
.feature-photo--card picture img { object-fit: contain; }

/* The odd card out spans the row, laid out like the featured one. */
.feature-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  align-items: center;
}

@media (prefers-reduced-motion: no-preference) {
  .feature-card:hover { transform: translateY(-3px); }
}

@media (max-width: 860px) {
  .feature73-grid { grid-template-columns: 1fr; }
  .feature-card--featured,
  .feature-card--wide { grid-template-columns: 1fr; }
}

/* ---------- Occasions marquee ---------- */

.occasions {
  border-block: 1px solid var(--line);
  background: var(--sindoor);
  overflow: hidden;
}
.marquee {
  display: flex;
  width: max-content;
}
.marquee-track {
  display: flex;
  flex: none;
  align-items: center;
}
.marquee-track li {
  display: flex;
  align-items: center;
  padding: 22px 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.25rem);
  white-space: nowrap;
}
/* A small marigold flower between occasions. */
.marquee-track li::after {
  content: "";
  width: 12px; height: 12px;
  margin-inline: 32px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--kesari) 0 35%, var(--genda) 36%);
}

@media (prefers-reduced-motion: no-preference) {
  .marquee { animation: marquee 48s linear infinite; }
  .occasions:hover .marquee { animation-play-state: paused; }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide.is-active { transition: none; }
  .marquee { width: auto; }
  .marquee-track { flex-wrap: wrap; justify-content: center; padding-inline: var(--gutter); }
  .marquee-track[aria-hidden="true"] { display: none; }
}

/* ---------- Booking ---------- */

.book-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 1.1875rem;
}
.contact-list .icon { color: var(--genda); margin-top: 3px; }
.contact-list a { text-decoration-color: var(--genda); text-underline-offset: 4px; }
.contact-list a:hover { color: var(--genda); }

.book-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--ground-raised);
}
.field { display: grid; gap: 8px; align-content: start; }
.field-wide { grid-column: 1 / -1; }

.field label { font-weight: 500; }
.optional { color: var(--chandan-muted); font-weight: 400; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid rgb(251 235 211 / 0.3);
  border-radius: var(--radius-sm);
  background: var(--ground-deep);
  color: var(--chandan);
  font: 400 1rem/1.4 var(--font-body);
  color-scheme: dark;
  transition: border-color 0.2s;
}
.field textarea { resize: vertical; }
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgb(251 235 211 / 0.5); }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 3px solid var(--genda);
  outline-offset: 1px;
  border-color: var(--genda);
}
.field [aria-invalid="true"] { border-color: var(--error); }

.field-hint { font-size: 0.9375rem; color: var(--chandan-muted); }
.field-error {
  display: flex;
  gap: 6px;
  font-size: var(--text-sm);
  color: var(--error);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.form-status { color: var(--chandan-muted); }
.form-status a { color: var(--genda); font-weight: 700; text-underline-offset: 4px; }

@media (max-width: 900px) {
  .book-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .book-form { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Footer ----------
   Four columns: stay connected (brand + WhatsApp box), quick links, contact, follow us.
   A soft marigold glow sits behind the first column. */

.site-footer {
  position: relative;
  overflow: hidden;
  background: var(--ground-deep);
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 88px) 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1.2fr 1fr;
  gap: 48px clamp(32px, 4vw, 56px);
}
.footer-col { position: relative; min-width: 0; }
.footer-connect::before {
  content: "";
  position: absolute;
  top: -24px;
  right: 8%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgb(247 194 27 / 0.12);
  filter: blur(48px);
  pointer-events: none;
}
.footer-brand {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  text-decoration: none;
  color: inherit;
}
.footer-brand img { width: 64px; height: 64px; flex: none; }
.footer-name { display: block; font-family: var(--font-display); font-size: var(--text-xl); line-height: var(--leading-heading); }
.footer-hi { display: block; margin-top: 2px; color: var(--genda); }
.footer-title {
  margin-bottom: 16px;
  font-family: var(--font-body);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--chandan);
}
.footer-text { margin-bottom: 18px; color: var(--chandan-muted); font-size: var(--text-sm); }

.footer-wa { position: relative; max-width: 380px; }
.footer-wa input {
  width: 100%;
  min-height: 50px;
  padding: 0 58px 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgb(251 235 211 / 0.06);
  color: var(--chandan);
  font: inherit;
  font-size: var(--text-sm);
  backdrop-filter: blur(6px);
}
.footer-wa input::placeholder { color: var(--chandan-muted); opacity: 0.8; }
.footer-wa input:focus-visible { outline: 2px solid var(--genda); outline-offset: 2px; border-color: transparent; }
.footer-wa button {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: var(--genda);
  color: var(--ground);
  cursor: pointer;
  transition: transform 0.2s var(--ease-out);
}
.footer-wa button:hover { transform: scale(1.06); }
.footer-wa button:focus-visible { outline: 2px solid var(--chandan); outline-offset: 2px; }

.footer-links { display: grid; gap: 4px; }
.footer-links a {
  display: inline-block;
  padding-block: 6px;
  color: var(--chandan-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--genda); }

.footer-contact { display: grid; gap: 14px; }
.footer-contact a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--chandan);
  text-decoration: none;
  font-size: var(--text-sm);
  line-height: 1.6;
}
.footer-contact a:hover { color: var(--genda); }
.footer-contact .icon { flex: none; margin-top: 4px; color: var(--genda); }
.footer-contact address { font-style: normal; }

.social { display: flex; gap: 12px; }
.social a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 1.2rem;
  color: var(--chandan);
  transition: border-color 0.2s, color 0.2s;
}
.social a:hover,
.social a:focus-visible { border-color: var(--genda); color: var(--genda); }
/* Tooltip: the link's data-tip, shown on hover and keyboard focus. */
.social a::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  translate: -50% 4px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ground-raised);
  color: var(--chandan);
  font-size: var(--text-xs);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s, translate 0.15s var(--ease-out);
}
.social a:hover::after,
.social a:focus-visible::after { opacity: 1; translate: -50% 0; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: clamp(40px, 5vw, 56px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.footer-copy { font-size: var(--text-xs); color: var(--chandan-muted); }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0 20px; font-size: var(--text-xs); }
.footer-legal a { display: inline-flex; align-items: center; min-height: 32px; color: var(--chandan-muted); text-underline-offset: 3px; }
.footer-legal a:hover,
.footer-legal a[aria-current="page"] { color: var(--genda); }
.footer-line { color: var(--genda); }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- From our programs: photo reel (after FeatureCarousel) ----------
   Left: labels on a rolling column (JS sets each slot's offset). Right: stacked
   photo cards; the active one in front, its neighbours tilted behind. */

.reel {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  min-height: 600px;
  margin-top: 40px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 2.5rem;
}
.reel-chips {
  position: relative;
  overflow: hidden;
  padding-inline: clamp(24px, 4vw, 56px);
  background: var(--sindoor);
}
.reel-chips::before,
.reel-chips::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  z-index: 2;
  height: 72px;
  pointer-events: none;
}
.reel-chips::before { top: 0; background: linear-gradient(var(--sindoor), rgb(158 27 34 / 0.8) 40%, transparent); }
.reel-chips::after { bottom: 0; background: linear-gradient(transparent, rgb(158 27 34 / 0.8) 60%, var(--sindoor)); }
.reel-slot {
  position: absolute;
  top: 50%;
  left: clamp(24px, 4vw, 56px);
  right: clamp(24px, 4vw, 56px);
  height: 56px;
  margin-top: -28px;
  display: flex;
  align-items: center;
  transition: transform 0.9s cubic-bezier(0.34, 1.2, 0.5, 1), opacity 0.6s ease;
}
.reel-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid rgb(251 235 211 / 0.22);
  border-radius: 999px;
  background: transparent;
  color: rgb(251 235 211 / 0.65);
  font: inherit;
  font-size: var(--text-sm);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.6s, color 0.6s, border-color 0.6s;
}
.reel-chip .icon { color: rgb(251 235 211 / 0.45); transition: color 0.5s; }
.reel-chip:hover { color: var(--chandan); border-color: rgb(251 235 211 / 0.45); }
.reel-chip[aria-pressed="true"] {
  background: var(--chandan);
  border-color: var(--chandan);
  color: var(--sindoor);
  font-weight: 700;
}
.reel-chip[aria-pressed="true"] .icon { color: var(--sindoor); }
.reel-chip:focus-visible { outline: 2px solid var(--genda); outline-offset: 3px; }

.reel-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 40px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: radial-gradient(70% 60% at 50% 45%, rgb(247 194 27 / 0.07), transparent 70%), var(--ground-raised);
}
.reel-cards { position: relative; width: 100%; max-width: 420px; aspect-ratio: 4 / 5; }
.reel-card {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border: 6px solid var(--ground);
  border-radius: 2rem;
  background: var(--ground-deep);
  opacity: 0;
  transform: scale(0.7);
  pointer-events: none;
  transition: transform 0.7s cubic-bezier(0.34, 1.25, 0.5, 1), opacity 0.5s ease;
}
.reel-card[data-status="active"] { z-index: 3; opacity: 1; transform: none; pointer-events: auto; }
.reel-card[data-status="prev"] { z-index: 2; opacity: 0.4; transform: translateX(-100px) scale(0.85) rotate(-3deg); }
.reel-card[data-status="next"] { z-index: 2; opacity: 0.4; transform: translateX(100px) scale(0.85) rotate(3deg); }
.reel-card-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  filter: blur(26px) brightness(0.45) saturate(1.3);
}
.reel-card picture { position: relative; display: block; width: 100%; height: 100%; transition: filter 0.7s; }
.reel-card-photo { width: 100%; height: 100%; object-fit: contain; }
.reel-card:not([data-status="active"]) picture { filter: grayscale(1) blur(2px) brightness(0.75); }
.reel-card figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 48px 24px 22px;
  background: linear-gradient(transparent, rgb(20 3 6 / 0.6));
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.5s var(--ease-out);
}
.reel-card[data-status="active"] figcaption { opacity: 1; transform: none; transition-delay: 0.15s; }
.reel-card-hi {
  padding: 4px 14px;
  border-radius: 999px;
  background: var(--chandan);
  color: var(--ground);
  font-family: var(--font-display);
  font-size: var(--text-sm);
}

@media (max-width: 900px) {
  .reel { grid-template-columns: 1fr; border-radius: 2rem; }
  .reel-chips { height: 340px; }
  .reel-slot { justify-content: center; }
  .reel-stage { padding: 48px 24px; border-left: 0; border-top: 1px solid var(--line); }
  .reel-card[data-status="prev"] { transform: translateX(-56px) scale(0.85) rotate(-3deg); }
  .reel-card[data-status="next"] { transform: translateX(56px) scale(0.85) rotate(3deg); }
}
@media (max-width: 420px) {
  .reel-chip { padding: 0 18px; }
  .reel-card figcaption { padding: 40px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .reel-slot, .reel-card, .reel-card figcaption, .reel-card picture { transition: none; }
}

/* ---------- Home: reviews ----------
   One large featured quote beside three smaller ones; marigold stars, a big
   Rozha quote mark as the single flourish. */
.reviews { background: var(--ground-deep); }
.reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px 40px;
}
.reviews-google {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--chandan);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.reviews-google:hover { border-color: var(--genda); color: var(--genda); }
.review-stars { display: inline-flex; gap: 3px; }
.review-stars svg { width: 18px; height: 18px; fill: var(--genda); }
.reviews-google .review-stars svg { width: 15px; height: 15px; }

/* Marquee of liquid-glass cards: four identical tracks slide left one track-width per
   cycle, so the loop is seamless. Glow blobs behind give the glass something to blur. */
.review-marquee {
  position: relative;
  margin-top: 44px;
  padding-block: 24px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.review-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(28% 60% at 18% 50%, rgb(224 112 28 / 0.35), transparent 70%),
    radial-gradient(24% 55% at 55% 40%, rgb(158 27 34 / 0.55), transparent 70%),
    radial-gradient(26% 60% at 85% 60%, rgb(247 194 27 / 0.22), transparent 70%);
  filter: blur(20px);
}
.review-lane {
  --gap: 16px;
  --duration: 90s;
  position: relative;
  display: flex;
  gap: var(--gap);
  width: max-content;
}
.review-track {
  display: flex;
  gap: var(--gap);
  animation: review-slide var(--duration) linear infinite;
}
.review-marquee:hover .review-track,
.review-marquee:focus-within .review-track { animation-play-state: paused; }
@keyframes review-slide {
  to { transform: translateX(calc(-100% - var(--gap))); }
}

.glass-review {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 340px;
  margin: 0;
  padding: 26px 26px 22px;
  border: 1px solid rgb(251 235 211 / 0.16);
  border-radius: 28px;
  background: linear-gradient(150deg, rgb(251 235 211 / 0.12), rgb(251 235 211 / 0.03));
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
          backdrop-filter: blur(18px) saturate(1.4);
  box-shadow:
    inset 1px 1px 0 rgb(255 255 255 / 0.18),
    inset -1px -1px 0 rgb(255 255 255 / 0.05),
    inset 0 0 22px rgb(251 235 211 / 0.05),
    0 12px 32px rgb(20 3 6 / 0.35);
  transition: border-color 0.3s, transform 0.4s var(--ease-out);
}
.glass-review:hover { border-color: rgb(247 194 27 / 0.55); transform: translateY(-4px); }
.glass-review figcaption { display: flex; align-items: center; gap: 12px; }
.glass-review blockquote { display: grid; align-content: start; gap: 10px; margin: 0; flex: 1; }
.glass-review blockquote p { color: var(--chandan); font-size: var(--text-sm); line-height: 1.65; }
.review-avatar {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--genda), var(--kesari));
  color: var(--ground-deep);
  font-family: var(--font-display);
  font-size: var(--text-lg);
}
.review-who { display: grid; gap: 2px; }
.review-name { font-weight: 700; color: var(--chandan); }
.review-meta { font-size: var(--text-xs); color: var(--chandan-muted); }

@media (max-width: 600px) {
  .glass-review { width: 290px; padding: 22px; }
  .review-lane { --duration: 80s; }
}
@media (prefers-reduced-motion: reduce) {
  .review-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .review-track { animation: none; }
  .review-track[aria-hidden="true"] { display: none; }
  .review-lane { padding-inline: var(--gutter); }
}

/* ---------- Legal pages (privacy, terms, cookies) ---------- */

.legal-section { padding-top: clamp(40px, 5vw, 64px); }
.legal { max-width: 70ch; }
.legal-updated { margin-bottom: 8px; font-size: var(--text-sm); color: var(--chandan-muted); }
.legal h2 {
  margin-top: 40px;
  margin-bottom: 12px;
  font-family: var(--font-body);
  font-size: var(--text-xl);
  font-weight: 700;
  line-height: var(--leading-heading);
  color: var(--chandan);
}
.legal p { color: var(--chandan-muted); }
.legal p + p { margin-top: 12px; }
.legal ul { display: grid; gap: 8px; margin-top: 12px; }
.legal li { position: relative; padding-left: 1.2em; color: var(--chandan-muted); }
.legal li::before {
  content: ""; position: absolute; left: 0; top: 0.72em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--genda);
}
.legal p + ul { margin-top: 12px; }
.legal ul + p { margin-top: 12px; }
.legal strong { color: var(--chandan); }
.legal a { color: var(--genda); text-underline-offset: 3px; }

/* ---------- 404 ---------- */

.not-found {
  display: grid;
  align-items: center;
  min-height: calc(100svh - var(--header-h));
  padding-block: clamp(48px, 8vw, 96px);
  background: radial-gradient(60% 50% at 20% 40%, rgb(247 194 27 / 0.08), transparent 70%);
}
.not-found-body { display: grid; justify-items: start; }
.not-found-code {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: clamp(5.5rem, 3.5rem + 9vw, 10rem);
  line-height: 0.95;
  color: var(--genda);
}
.not-found .page-title { margin-top: 8px; }
.not-found .hero-lede { margin-top: 16px; max-width: 46ch; }
.not-found-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.not-found-help { margin-top: 28px; color: var(--chandan-muted); }
.not-found-help a { color: var(--genda); text-underline-offset: 3px; }

/* ---------- Inner page head ---------- */

.page-head {
  padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line);
}
.page-head-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
}
.page-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-4xl);
  line-height: var(--leading-display);
  max-width: 15ch;
  text-wrap: balance;
  letter-spacing: var(--tracking-display);
}
.page-head .hero-lede { max-width: 50ch; font-size: var(--text-lg); }
.page-head .hero-visual { max-width: 360px; }

@media (max-width: 860px) {
  .page-head-grid { grid-template-columns: 1fr; }
  .page-head .hero-visual { justify-self: start; max-width: 260px; order: 0; margin-top: 16px; }
}

/* Jump links to each program on the services page. */
.jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}
.jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 500;
  transition: border-color 0.2s, color 0.2s;
}
.jump a:hover { border-color: var(--genda); color: var(--genda); }

/* ---------- Booking band (home, about, services, gallery) ---------- */

.cta-band {
  padding-block: clamp(64px, 8vw, 104px);
  background:
    radial-gradient(80% 120% at 50% 120%, rgb(247 194 27 / 0.28), transparent 60%),
    var(--sindoor);
  text-align: center;
}
.cta-band .section-title { margin-inline: auto; }
.cta-band .section-lede { margin-inline: auto; color: var(--chandan); }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-ghost { border-color: rgb(251 235 211 / 0.45); }
.cta-band .btn-ghost:hover { border-color: var(--genda); }

/* ---------- Home: links under a section ---------- */

.section-foot { margin-top: 32px; }
.text-link {
  font-weight: 700;
  color: var(--genda);
  text-underline-offset: 5px;
}
.text-link:hover { color: var(--genda-soft); }


/* ---------- About page ---------- */
.about-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin: 36px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.about-facts div { display: flex; flex-direction: column-reverse; gap: 2px; }
.about-facts dt { color: var(--chandan-muted); font-size: var(--text-sm); }
.about-facts dd { margin: 0; font-family: var(--font-display); font-size: var(--text-2xl); line-height: 1.1; color: var(--genda); }

.about-story {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}
.story-photo { margin: 0; }
.story-photo picture {
  display: block;
  overflow: hidden;
  border: 1px solid rgb(247 194 27 / 0.35);
  border-radius: 28px;
  box-shadow: 0 0 0 6px rgb(247 194 27 / 0.06), 0 30px 60px rgb(20 3 6 / 0.45);
}
.story-photo img { display: block; width: 100%; height: auto; }
.story-text .section-title { margin-bottom: 24px; }
.story-body { display: grid; gap: 18px; max-width: 60ch; }
.story-body p { color: var(--chandan-muted); }
.story-body p:first-child { color: var(--chandan); font-size: var(--text-lg); line-height: 1.55; }

.about-bring { background: var(--ground-deep); }
.bring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.bring-grid li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--ground-raised);
  font-weight: 500;
}
.bring-grid .icon {
  flex: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 50%;
  background: rgb(247 194 27 / 0.12);
  color: var(--genda);
}

.about-where { max-width: 46rem; margin-inline: auto; text-align: center; }
.about-where .section-title, .about-where .section-lede { margin-inline: auto; }

@media (max-width: 900px) {
  .about-story { grid-template-columns: 1fr; }
  .bring-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .bring-grid { grid-template-columns: 1fr; }
  .story-photo picture { border-radius: 18px; }
}

/* ---------- Services ---------- */

.program-list { display: grid; gap: clamp(28px, 4vw, 48px); }

/* Each program is one panel: the photo fills one side, the details sit on the other.
   Panels alternate sides down the page. */
.program {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) * 1.5);
  background: var(--ground-raised);
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.program:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.program:nth-child(even) .program-photo { order: 2; }
.program-body {
  display: grid;
  gap: 20px;
  align-content: center;
  padding: clamp(28px, 4vw, 52px);
}
.program-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--text-2xl);
  line-height: var(--leading-heading);
  color: var(--genda);
}
.program-name span {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--text-xl);
  color: var(--chandan);
  margin-top: 4px;
}
.program-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.program-facts dt { font-size: var(--text-sm); color: var(--chandan-muted); }
.program-facts dd { margin: 2px 0 0; font-weight: 500; }
.program-includes { grid-column: 1 / -1; }
.includes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.includes-list li {
  padding: 5px 14px;
  border: 1px solid rgb(247 194 27 / 0.35);
  border-radius: 999px;
  background: rgb(247 194 27 / 0.08);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--chandan);
}
.program-photo { min-height: 420px; }
@media (max-width: 860px) {
  .program,
  .program:nth-child(even) { grid-template-columns: 1fr; }
  .program:nth-child(even) .program-photo { order: 0; }
  .program-photo { aspect-ratio: 4 / 3; min-height: 0; }
}
@media (max-width: 420px) {
  .program-facts { grid-template-columns: 1fr; }
}

/* Service photos: shown whole over a blurred copy; several photos crossfade on their own. */
.program-slides {
  position: relative;
  overflow: hidden;
  background: var(--ground-deep);
}
.program-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-out), visibility 0s linear 0.6s;
}
.program-slide.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s var(--ease-out), visibility 0s;
}
.program-slide-fill {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  filter: blur(28px) brightness(0.45) saturate(1.3);
}
.program-slide picture { position: relative; display: block; width: 100%; height: 100%; }
.program-slide-photo { width: 100%; height: 100%; object-fit: contain; }
.program-dots {
  position: absolute;
  left: 50%;
  bottom: 6px;
  translate: -50% 0;
  display: flex;
  padding-inline: 6px;
  border-radius: 999px;
  background: rgb(31 4 8 / 0.55);
}
.program-dots button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 32px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.program-dots button::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 999px;
  background: rgb(251 235 211 / 0.5);
  transition: width 0.3s var(--ease-out), background-color 0.3s;
}
.program-dots button:hover::before { background: var(--chandan); }
.program-dots button[aria-current="true"]::before { width: 20px; background: var(--genda); }
@media (prefers-reduced-motion: reduce) {
  .program-slide,
  .program-slide.is-active { transition: none; }
}

.arrange { background: var(--ground-deep); }
.arrange-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}
.arrange-col {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: var(--ground-raised);
}
.arrange-col:last-child { background: var(--genda); color: var(--ground-deep); }
.arrange-col h3 { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); }
.arrange-col ul { display: grid; gap: 14px; margin-top: 20px; }
.arrange-col li { display: flex; gap: 12px; align-items: flex-start; }
.arrange-col li .icon { margin-top: 3px; color: var(--genda); }
.arrange-col:last-child li .icon { color: var(--sindoor); }
@media (max-width: 760px) {
  .arrange-grid { grid-template-columns: 1fr; }
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 40px;
  max-width: 820px;
}
.faq-list details {
  border-radius: var(--radius);
  background: var(--ground-raised);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.1875rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--genda);
  transition: transform 0.25s var(--ease-out);
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 24px 22px; color: var(--chandan-muted); max-width: 64ch; }

/* ---------- Gallery ---------- */

/* Gallery: filter pills, then a dense mosaic. Wide photos span two columns, portraits two
   rows and a few feature photos a 2x2 block; "dense" packing leaves no gaps. Tiles crop to
   fill; the photo viewer shows each photo whole. */
.gallery-section { padding-top: clamp(32px, 4vw, 48px); }
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.filters button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--chandan);
  font: inherit;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}
.filters button span {
  min-width: 24px;
  padding: 1px 7px;
  border-radius: 999px;
  background: rgb(251 235 211 / 0.1);
  font-size: var(--text-xs);
  text-align: center;
}
.filters button:hover { border-color: var(--genda); }
.filters button[aria-pressed="true"] { background: var(--genda); border-color: var(--genda); color: var(--ground-deep); font-weight: 700; }
.filters button[aria-pressed="true"] span { background: rgb(44 6 11 / 0.15); }

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: clamp(150px, 17vw, 230px);
  grid-auto-flow: dense;
  gap: 12px;
  margin-top: 32px;
}
.tile {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--ground-raised);
  animation: tile-in 0.45s var(--ease-out) both;
}
.tile[hidden] { display: none; }
.tile--wide { grid-column: span 2; }
.tile--tall { grid-row: span 2; }
.tile--feature { grid-column: span 2; grid-row: span 2; }
.tile button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
}
.tile picture { display: block; width: 100%; height: 100%; }
.tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transition: transform 0.8s var(--ease-out), filter 0.5s;
}
/* Gold inner ring and a soft shade so captions read on any photo. */
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(251 235 211 / 0.12);
  background: linear-gradient(180deg, transparent 45%, rgb(20 3 6 / 0.8));
  opacity: 0.55;
  pointer-events: none;
  transition: box-shadow 0.35s, opacity 0.35s;
}
.tile figcaption {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  justify-items: start;
  gap: 6px;
  padding: 16px 18px;
  pointer-events: none;
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 0.35s, transform 0.45s var(--ease-out);
}
.tile-tag {
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--genda);
  color: var(--ground-deep);
  font-size: var(--text-xs);
  font-weight: 700;
}
.tile:hover img,
.tile:focus-within img { transform: scale(1.06); }
.tile:hover::after,
.tile:focus-within::after { opacity: 1; box-shadow: inset 0 0 0 2px var(--genda); }
.tile:hover figcaption,
.tile:focus-within figcaption { opacity: 1; transform: none; }
.tile button:focus-visible { outline: none; }

@keyframes tile-in { from { opacity: 0; transform: scale(0.97); } }
.gallery-empty { margin-top: 32px; color: var(--chandan-muted); }

@media (max-width: 900px) {
  .gallery-mosaic { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 160px; }
}
@media (max-width: 600px) {
  .gallery-mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 8px; }
  .tile { border-radius: 14px; }
  .tile figcaption { padding: 10px 12px; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .filters button { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  .tile { animation: none; }
  .tile img, .tile figcaption, .tile::after { transition: none; }
}

.lightbox {
  width: min(1100px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--ground-deep);
  color: var(--chandan);
}
.lightbox::backdrop { background: rgb(28 4 7 / 0.88); }
.lightbox figure { margin: 0; }
.lightbox-frame {
  position: relative;
  aspect-ratio: 3 / 2;
  max-height: calc(100dvh - 140px);
  border-radius: var(--radius) var(--radius) 0 0;
}
.lightbox-frame img { object-fit: contain; }
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
}
.lightbox-caption { flex: 1; color: var(--chandan-muted); }
.lightbox-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--chandan);
  font: 700 1.1rem/1 var(--font-body);
  cursor: pointer;
}
.lightbox-bar button:hover { border-color: var(--genda); color: var(--genda); }

/* Videos: a big stage plus a list of thumbnails that swap into it. */
.video-section { padding-top: 0; }
.video-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(28px, 4vw, 44px);
  padding-top: clamp(48px, 7vw, 96px);
  border-top: 1px solid var(--line);
}
.video-head .section-lede { margin-top: 12px; }

.video-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 28px;
  background: var(--ground-deep);
  box-shadow:
    0 0 0 1px rgb(247 194 27 / 0.28),
    0 30px 80px -30px rgb(0 0 0 / 0.8),
    0 0 120px -40px rgb(247 194 27 / 0.35);
}
.video-stage-poster,
.video-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-stage-poster { object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.video-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 70% at 50% 50%, transparent 30%, rgb(26 4 7 / 0.55)),
    linear-gradient(to top, rgb(26 4 7 / 0.7), transparent 45%);
}
.video-stage.is-playing::after,
.video-stage-play[hidden] { display: none; }
.video-stage-play {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 14px;
  width: 100%;
  border: 0;
  background: none;
  color: var(--chandan);
  cursor: pointer;
}
.video-play-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(72px, 9vw, 104px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--genda);
  color: var(--ground-deep);
  box-shadow: 0 12px 40px -8px rgb(247 194 27 / 0.6);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.video-play-ring::before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  border: 1px solid rgb(247 194 27 / 0.55);
  animation: video-ring 2.4s ease-out infinite;
}
.video-play-ring .icon { width: 40%; height: 40%; margin-left: 6%; }
.video-stage-label {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.video-stage-play:hover .video-play-ring,
.video-stage-play:focus-visible .video-play-ring { transform: scale(1.08); }
.video-stage:hover .video-stage-poster { transform: scale(1.03); }
.video-stage-play:focus-visible { outline: 2px solid var(--genda); outline-offset: -6px; border-radius: 28px; }
@keyframes video-ring {
  from { transform: scale(0.9); opacity: 1; }
  to { transform: scale(1.35); opacity: 0; }
}

.video-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.6vw, 20px);
  margin-top: clamp(16px, 2vw, 24px);
}
.video-thumb {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--ground-deep);
  cursor: pointer;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.video-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgb(247 194 27 / 0.2);
  background: linear-gradient(to top, rgb(26 4 7 / 0.75), transparent 60%);
  transition: box-shadow 0.3s ease;
}
.video-thumb-num {
  position: absolute;
  left: 14px;
  bottom: 10px;
  z-index: 1;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  line-height: 1;
  color: var(--chandan);
}
.video-thumb-play {
  position: absolute;
  right: 12px;
  bottom: 10px;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 34px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgb(253 240 220 / 0.16);
  backdrop-filter: blur(6px);
  color: var(--chandan);
  transition: background 0.3s ease, color 0.3s ease;
}
.video-thumb-play .icon { width: 14px; height: 14px; margin-left: 2px; }
.video-thumb:hover img,
.video-thumb:focus-visible img { opacity: 1; transform: scale(1.05); }
.video-thumb:hover .video-thumb-play,
.video-thumb:focus-visible .video-thumb-play { background: var(--genda); color: var(--ground-deep); }
.video-thumb:focus-visible { outline: none; }
.video-thumb:focus-visible::after { box-shadow: inset 0 0 0 2px var(--genda); }
.video-thumb[aria-current="true"] img { opacity: 1; }
.video-thumb[aria-current="true"]::after { box-shadow: inset 0 0 0 2px var(--genda); }
.video-thumb[aria-current="true"] .video-thumb-play { background: var(--genda); color: var(--ground-deep); }

@media (max-width: 600px) {
  .video-stage { border-radius: 18px; margin-inline: calc(var(--gutter) * -0.5); }
  .video-list {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 62%;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .video-list::-webkit-scrollbar { display: none; }
  .video-list li { scroll-snap-align: start; }
  .video-thumb { border-radius: 12px; }
  .video-thumb-num { font-size: var(--text-base); left: 10px; bottom: 8px; }
  .video-thumb-play { width: 28px; right: 8px; bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .video-play-ring::before { animation: none; }
  .video-stage-poster, .video-thumb img, .video-play-ring { transition: none; }
}

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-aside {
  display: grid;
  gap: 40px;
}
.contact-aside .contact-list { margin-top: 0; }
.contact-list address { font-style: normal; line-height: 1.5; }
.contact-list small { display: block; color: var(--chandan-muted); font-size: var(--text-sm); }
.next-steps {
  counter-reset: step;
  display: grid;
  gap: 20px;
}
.next-steps li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 4px 12px;
}
.next-steps li::before {
  content: counter(step);
  grid-row: span 2;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--genda);
}
.next-steps h3 { font-size: 1.1875rem; }
.next-steps p { color: var(--chandan-muted); }
.aside-title { font-family: var(--font-display); font-weight: 400; font-size: var(--text-2xl); margin-bottom: 24px; }
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Hero motion ----------
   Candlelight, not fireworks: the background glow breathes, each photo settles in
   from a gentle zoom, the portrait card floats, and the collage shifts with the
   mouse for depth. Every photo still ends at its whole, uncropped size. */

@media (prefers-reduced-motion: no-preference) {
  .hero04-wash { animation: wash-breathe 14s ease-in-out infinite alternate; }

  .hero-slide-photo,
  .hero-slide-fill { transition: transform 0s linear 0.9s; }
  .hero-slide:not(.is-active) .hero-slide-photo { transform: scale(1.06); }
  .hero-slide.is-active .hero-slide-photo {
    transform: scale(1);
    transition: transform 1.8s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .hero-slide.is-active .hero-slide-fill { animation: fill-drift 6s ease-in-out infinite alternate; }

  .art-collage-primary,
  .art-collage-secondary { transition: translate 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
  .art-collage-primary { translate: calc(var(--mx, 0) * -8px) calc(var(--my, 0) * -6px); }
  .art-collage-secondary {
    translate: calc(var(--mx, 0) * 14px) calc(var(--my, 0) * 10px);
    animation: card-float 7s ease-in-out infinite;
  }
}

@keyframes wash-breathe {
  from { transform: scale(1.04); opacity: 0.26; }
  to { transform: scale(1.14) translateY(-2%); opacity: 0.4; }
}
@keyframes fill-drift {
  from { transform: scale(1.15) translateX(-2%); }
  to { transform: scale(1.22) translateX(2%); }
}
@keyframes card-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(-0.5deg); }
}

/* ---------- Page-load moment ----------
   One orchestrated entrance: the hero arch rises like a curtain lifting
   off the darbar, and the words settle in after it. */

@media (prefers-reduced-motion: no-preference) {
  .js .hero-visual .arch {
    animation: arch-rise 1.1s var(--ease-out) both;
  }
  .js .hero-visual::before {
    animation: fade-in 1s var(--ease-out) 0.5s both;
  }
  /* Hero04 "subtle" reveal: items fade, rise and un-blur one after another. */
  .js .hero04 [data-reveal] {
    animation: hero04-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .js .hero04 [data-reveal]:nth-child(1) { animation-delay: 0.05s; }
  .js .hero04 [data-reveal]:nth-child(2) { animation-delay: 0.15s; }
  .js .hero04 [data-reveal]:nth-child(3) { animation-delay: 0.25s; }
  .js .hero04 [data-reveal]:nth-child(4) { animation-delay: 0.35s; }
  .js .hero04 [data-reveal="media"] {
    animation: hero04-media-in 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .js .hero-copy > * {
    animation: settle 0.9s var(--ease-out) both;
  }
  .js .hero-copy > :nth-child(1) { animation-delay: 0.15s; }
  .js .hero-copy > :nth-child(2) { animation-delay: 0.25s; }
  .js .hero-copy > :nth-child(3) { animation-delay: 0.35s; }
  .js .hero-copy > :nth-child(4) { animation-delay: 0.45s; }
}
@keyframes arch-rise {
  from { clip-path: inset(100% 0 0 0); }
  to { clip-path: inset(0 0 0 0); }
}
@keyframes settle {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero04-in {
  from { opacity: 0; transform: translateY(12px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
/* The photo is visible from the first frame (no fade) so it counts as painted at once;
   it only rises into place. */
@keyframes hero04-media-in {
  from { transform: translateY(24px); }
  to { transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
}
