/* ==========================================================================
   Gopal Ji Utsav Vatika — site.css   |   गोपाल जी उत्सव वाटिका, रेवती, बलिया
   The shared design system. Contract and class list: docs/DESIGN-NOTES.md

   Fonts are NOT @import-ed here on purpose: an @import blocks the CSS parse
   and costs a round trip on 4G. Every page carries the <link> tags from
   DESIGN-NOTES.md section 2 in <head>, above this file.

   01 tokens light · 02 tokens dark · 03 base · 04 type · 05 language
   06 layout · 07 ornament · 08 buttons · 09 cards · 10 photos · 11 hero
   12 header/nav · 13 faq · 14 footer · 15 callbar · 16 lightbox
   17 motion · 18 print
   ========================================================================== */


/* == 01  TOKENS (light) ==================================================== */
/* Complete light palette on bare :root. The dark block overrides token values
   only, never rules. No colour is ever first defined inside a media query. */

:root {
  color-scheme: light;

  /* --- brand palette (data/venue.json → palette) --- */
  --marigold:      #E8871E;   /* genda phool: primary accent, CTAs */
  --maroon:        #7A1F2B;   /* wedding red: headings, header, footer */
  --gold:          #C8A24A;   /* rules, dividers, ornament */
  --ivory:         #FFF8F0;   /* page background */
  --ink:           #2A1A16;   /* body text */
  --leaf:          #3F6B4B;   /* secondary accent, success */

  /* --- derived brand tints --- */
  --marigold-deep: #C96F10;
  --marigold-soft: #FBE7CE;
  --maroon-deep:   #5C141E;
  --maroon-soft:   #F3DEE0;
  --gold-soft:     #E8D8AE;
  --gold-line:     rgba(200, 162, 74, 0.55);
  --leaf-soft:     #DCE8DE;
  --whatsapp:      #128C4A;
  --whatsapp-deep: #0B6B37;

  /* --- semantic surfaces --- */
  --paper:         var(--ivory);
  --paper-2:       #FDF1E3;   /* alternating section band */
  --surface:       #FFFFFF;   /* cards sit slightly above the paper */
  --surface-2:     #FFFBF6;
  --border:        #EBD9C4;
  --border-strong: #DCC3A6;

  /* --- semantic text --- */
  --text:          var(--ink);
  --text-muted:    #6B534A;
  --text-faint:    #7A6258;
  --text-on-dark:  #FFF4E6;
  --heading:       var(--maroon);
  --link:          var(--maroon);
  --link-hover:    var(--marigold-deep);
  --focus:         var(--marigold-deep);

  /* --- header / footer / hero --- */
  --header-bg:     var(--ivory);
  --header-text:   var(--maroon);
  --footer-bg:     var(--maroon);
  --footer-text:   #F7E4D6;
  --hero-veil:     linear-gradient(180deg,
                     rgba(42, 26, 22, 0.20) 0%,
                     rgba(92, 20, 30, 0.55) 55%,
                     rgba(92, 20, 30, 0.86) 100%);

  /* --- spacing scale (4px base) --- */
  --sp-0:  0;
  --sp-1:  0.25rem;   /*  4 */
  --sp-2:  0.5rem;    /*  8 */
  --sp-3:  0.75rem;   /* 12 */
  --sp-4:  1rem;      /* 16 */
  --sp-5:  1.5rem;    /* 24 */
  --sp-6:  2rem;      /* 32 */
  --sp-7:  3rem;      /* 48 */
  --sp-8:  4rem;      /* 64 */
  --sp-9:  6rem;      /* 96 */
  --section-y: clamp(2.75rem, 1.6rem + 5.2vw, 5.5rem);
  --gutter:    clamp(1rem, 0.55rem + 2.2vw, 2rem);

  /* --- widths --- */
  --wrap:        1140px;
  --wrap-narrow: 760px;
  --measure:     66ch;

  /* --- radii --- */
  --r-sm:   4px;
  --r-md:   10px;
  --r-lg:   18px;
  --r-pill: 999px;

  /* --- shadows: warm, low, never blue --- */
  --sh-1: 0 1px 2px rgba(42, 26, 22, 0.06);
  --sh-2: 0 2px 6px rgba(42, 26, 22, 0.08), 0 1px 2px rgba(42, 26, 22, 0.05);
  --sh-3: 0 10px 28px rgba(42, 26, 22, 0.12), 0 2px 6px rgba(42, 26, 22, 0.06);
  --sh-inset-gold: inset 0 0 0 1px var(--gold-line);

  /* --- type families --- */
  --f-hi-display: 'Tiro Devanagari Hindi', 'Noto Serif Devanagari',
                  'Noto Sans Devanagari', 'Nirmala UI', 'Kohinoor Devanagari',
                  'Mangal', sans-serif;
  --f-hi-body:    'Noto Sans Devanagari', 'Nirmala UI', 'Kohinoor Devanagari',
                  'Mukta', 'Mangal', sans-serif;
  --f-en-display: 'Fraunces', 'Playfair Display', Georgia, 'Iowan Old Style',
                  'Times New Roman', serif;
  --f-body:       system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
                  Arial, 'Noto Sans', sans-serif;
  --f-mono:       ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* --- fluid type scale --- */
  --t-xs:      clamp(0.78rem, 0.755rem + 0.12vw, 0.85rem);
  --t-sm:      clamp(0.875rem, 0.845rem + 0.15vw, 0.95rem);
  --t-base:    clamp(1rem, 0.955rem + 0.22vw, 1.125rem);
  --t-md:      clamp(1.125rem, 1.06rem + 0.32vw, 1.3rem);
  --t-lg:      clamp(1.3rem, 1.19rem + 0.55vw, 1.65rem);
  --t-xl:      clamp(1.55rem, 1.34rem + 1.02vw, 2.25rem);
  --t-2xl:     clamp(1.85rem, 1.47rem + 1.85vw, 3rem);
  --t-3xl:     clamp(2.2rem, 1.6rem + 2.9vw, 4rem);
  --t-display: clamp(2.5rem, 1.6rem + 4.4vw, 5rem);

  --lh-tight: 1.18;
  --lh-head:  1.28;
  --lh-body:  1.65;
  --lh-hi:    1.85;   /* Devanagari needs more room: matras sit above and below */

  --track-eyebrow: 0.16em;

  /* --- controls --- */
  --tap: 44px;        /* never go below this on anything touchable */
  --callbar-h: 68px;

  /* --- motion --- */
  --ease: cubic-bezier(0.22, 0.7, 0.3, 1);
  --dur-1: 140ms;
  --dur-2: 260ms;
  --dur-3: 460ms;

  /* --- ornament: marigold toran (garland) tile, 48x26 --- */
  --toran: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='26' viewBox='0 0 48 26'%3E%3Cpath d='M0 3 Q24 19 48 3' fill='none' stroke='%23C8A24A' stroke-width='1.4' stroke-linecap='round'/%3E%3Ccircle cx='24' cy='13' r='4.2' fill='%23E8871E'/%3E%3Ccircle cx='24' cy='13' r='1.5' fill='%23C8A24A'/%3E%3Cpath d='M24 17.6v3.9' stroke='%23C8A24A' stroke-width='1' stroke-linecap='round'/%3E%3Ccircle cx='24' cy='23.2' r='1.8' fill='%23C8A24A'/%3E%3C/svg%3E");
}


/* == 02  TOKENS (dark) ===================================================== */
/* Deep maroon-black paper, marigold accents. Tokens only. */

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;

    --paper:         #170A0D;
    --paper-2:       #1E0E12;
    --surface:       #241216;
    --surface-2:     #2B171B;
    --border:        #3E2126;
    --border-strong: #552E34;

    --text:          #F4E3D6;
    --text-muted:    #C9AC9E;
    --text-faint:    #A78B7E;
    --text-on-dark:  #FFF4E6;
    --heading:       #F6C88A;
    --link:          #F0B268;
    --link-hover:    var(--marigold);
    --focus:         var(--marigold);

    --marigold-soft: #3A2211;
    --maroon-soft:   #3A1219;
    --gold-soft:     #4A3A1B;
    --gold-line:     rgba(200, 162, 74, 0.42);
    --leaf-soft:     #1E2E22;

    --header-bg:     #170A0D;
    --header-text:   #F6C88A;
    --footer-bg:     #100609;
    --footer-text:   #E8D2C3;
    --hero-veil:     linear-gradient(180deg,
                       rgba(10, 4, 6, 0.35) 0%,
                       rgba(15, 6, 9, 0.70) 55%,
                       rgba(15, 6, 9, 0.94) 100%);

    --sh-1: 0 1px 2px rgba(0, 0, 0, 0.5);
    --sh-2: 0 2px 8px rgba(0, 0, 0, 0.55);
    --sh-3: 0 12px 32px rgba(0, 0, 0, 0.6);
  }
}


/* == 03  RESET AND BASE ==================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: var(--lh-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

img, picture, video, svg { max-width: 100%; }
img, video { height: auto; display: block; }

/* Photographs are the point. Never let one shift the layout while it loads. */
img[width][height] { height: auto; }

button, input, select, textarea { font: inherit; color: inherit; }

a { color: var(--link); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--link-hover); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

hr { border: 0; height: 1px; background: var(--border); margin: var(--sp-6) 0; }

::selection { background: var(--marigold); color: #fff; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--sp-3); top: -100px; z-index: 200;
  background: var(--maroon); color: #fff;
  padding: var(--sp-3) var(--sp-4); border-radius: var(--r-sm);
  text-decoration: none;
}
.skip-link:focus { top: var(--sp-3); color: #fff; }


/* == 04  TYPE ============================================================== */

h1, h2, h3, h4 {
  margin: 0 0 var(--sp-4);
  color: var(--heading);
  font-family: var(--f-en-display);
  font-weight: 600;
  line-height: var(--lh-head);
  font-variation-settings: 'opsz' 96;
  letter-spacing: -0.005em;
}

h1 { font-size: var(--t-2xl); line-height: var(--lh-tight); }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-lg); }
h4 { font-size: var(--t-md); }

p, ul, ol, dl { margin: 0 0 var(--sp-4); }
p { max-width: var(--measure); }

/* Devanagari. Applied by :lang() so it works whether the author uses
   lang="hi" on the element or on an ancestor. Tiro Devanagari Hindi for
   display, Noto Sans Devanagari for running text. The fallback chain is
   Nirmala UI (Windows) → Kohinoor (iOS) → Mangal, all of which place matras
   correctly. It must never reach Arial or a Latin serif. */
:lang(hi) { font-family: var(--f-hi-body); line-height: var(--lh-hi); }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) h4,
h1:lang(hi), h2:lang(hi), h3:lang(hi), h4:lang(hi) {
  font-family: var(--f-hi-display);
  font-weight: 400;
  line-height: 1.42;
  letter-spacing: 0;
}
.lang-hi { font-family: var(--f-hi-body); line-height: var(--lh-hi); }
h1.lang-hi, h2.lang-hi, h3.lang-hi, h4.lang-hi,
.lang-hi h1, .lang-hi h2, .lang-hi h3, .lang-hi h4 {
  font-family: var(--f-hi-display); font-weight: 400; line-height: 1.42;
}

/* Devanagari numerals in headline positions read better with tabular figures */
.num { font-variant-numeric: tabular-nums; }

.eyebrow {
  display: block;
  margin: 0 0 var(--sp-3);
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--marigold-deep);
}
.eyebrow:lang(hi), .eyebrow.lang-hi {
  text-transform: none;
  letter-spacing: 0.02em;
  font-family: var(--f-hi-body);
  font-size: var(--t-sm);
}

.lede {
  max-width: 60ch;
  font-size: var(--t-md);
  line-height: 1.6;
  color: var(--text-muted);
}
.lede:lang(hi), .lede.lang-hi { line-height: 1.8; }

.title-pair { margin-bottom: var(--sp-5); }
.title-pair > * { margin-bottom: var(--sp-2); }

.center { text-align: center; }
.center p, .center .lede { margin-inline: auto; }

.muted { color: var(--text-muted); }
.tiny  { font-size: var(--t-xs); color: var(--text-faint); }

/* Plain lists with a marigold tick, used for facilities and occasions */
.ticks { list-style: none; padding: 0; }
.ticks li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: var(--sp-3);
}
.ticks li::before {
  content: '';
  position: absolute; left: 0; top: 0.62em;
  width: 0.55em; height: 0.55em;
  background: var(--marigold);
  rotate: 45deg;
  border-radius: 1px;
}


/* == 05  LANGUAGE VISIBILITY =============================================== */
/* <html data-lang="hi"> or <html data-lang="en">. Default is Hindi: pages ship
   with data-lang="hi" in the markup so nothing flashes before JS runs.
   Only ever hide. Never force a display value, so .lang-hi works on a <span>
   inside a sentence and on a <section> equally. */

html[data-lang='hi'] .lang-en { display: none !important; }
html[data-lang='en'] .lang-hi { display: none !important; }

/* Language switch control */
.langswitch {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--gold-line);
  border-radius: var(--r-pill);
  overflow: hidden;
  background: var(--surface);
}
.langswitch button {
  min-height: var(--tap);
  padding: 0 var(--sp-4);
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: var(--t-sm);
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur-1) var(--ease), color var(--dur-1) var(--ease);
}
.langswitch button[aria-pressed='true'] {
  background: var(--maroon);
  color: #FFF4E6;
}
.langswitch button:first-child { font-family: var(--f-hi-body); }


/* == 06  LAYOUT ============================================================ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--tint  { background: var(--paper-2); }
.section--maroon {
  background: var(--maroon);
  color: var(--text-on-dark);
}
.section--maroon h1, .section--maroon h2, .section--maroon h3,
.section--maroon .eyebrow { color: #F6C88A; }
.section--maroon .lede, .section--maroon .muted { color: #EBD3C4; }

/* Hairline separator between stacked sections, so bands never fight */
.section + .section { border-top: 1px solid var(--border); }
.section--tint + .section--tint,
.section--maroon + .section--maroon { border-top: 0; }

.stack > * + * { margin-top: var(--sp-4); }
.stack-lg > * + * { margin-top: var(--sp-6); }

.grid-2, .grid-3, .grid-4 {
  display: grid;
  gap: var(--sp-5);
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Text beside a photo. Collapses to one column, photo second on mobile. */
.split { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
  .split--wide-media { grid-template-columns: 1fr 1.25fr; }
}

.full-bleed {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc(50% - 50vw);
}


/* == 07  ORNAMENT ========================================================== */

/* Thin gold rule with a centred open diamond. The invitation-card rule. */
.rule-gold {
  position: relative;
  height: 20px;
  margin-block: var(--sp-5);
}
.rule-gold::before {
  content: '';
  position: absolute; inset-inline: 0; top: 50%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold) 15%,
              var(--gold) 85%, transparent);
}
.rule-gold::after {
  content: '';
  position: absolute; left: 50%; top: 50%;
  width: 9px; height: 9px;
  translate: -50% -50%;
  rotate: 45deg;
  border: 1px solid var(--gold);
  background: var(--paper);
}
.rule-gold--filled::after { background: var(--marigold); border-color: var(--marigold); }
.rule-gold--short::before { inset-inline: 30%; }
.section--tint .rule-gold::after { background: var(--paper-2); }
.section--maroon .rule-gold::after { background: var(--maroon); }
.card .rule-gold::after { background: var(--surface); }

/* Marigold toran (garland) divider. One 48x26 SVG tile, repeated. ~0.5 KB. */
.rule-toran {
  height: 26px;
  margin-block: var(--sp-5);
  background-image: var(--toran);
  background-repeat: repeat-x;
  background-position: center top;
  background-size: 48px 26px;
}
.rule-toran--dense { background-size: 34px 26px; }
.rule-toran--wide  { background-size: 64px 26px; }

/* Same garland hung under a bar (header, hero, footer top). */
.toran-edge { position: relative; }
.toran-edge::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: -25px;
  height: 26px;
  background-image: var(--toran);
  background-repeat: repeat-x;
  background-position: center top;
  background-size: 48px 26px;
  pointer-events: none;
}


/* == 08  BUTTONS =========================================================== */
/* Primary action is always CALL or WHATSAPP. There is no "submit" on this site. */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-height: var(--tap);
  padding: var(--sp-3) var(--sp-5);
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  font-family: var(--f-body);
  font-size: var(--t-base);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-1) var(--ease),
              background var(--dur-1) var(--ease),
              box-shadow var(--dur-1) var(--ease),
              color var(--dur-1) var(--ease);
}
.btn:lang(hi), .btn.lang-hi { font-family: var(--f-hi-body); font-weight: 600; }
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--marigold);
  color: #2A1206;
  box-shadow: var(--sh-2);
}
.btn-primary:hover { background: var(--marigold-deep); color: #FFF6EA; }

.btn-wa {
  background: var(--whatsapp);
  color: #FFFFFF;
  box-shadow: var(--sh-2);
}
.btn-wa:hover { background: var(--whatsapp-deep); color: #FFFFFF; }

.btn-ghost {
  background: transparent;
  color: var(--heading);
  border-color: var(--gold);
}
.btn-ghost:hover { background: var(--marigold-soft); color: var(--heading); }

.btn-maroon { background: var(--maroon); color: #FFF4E6; }
.btn-maroon:hover { background: var(--maroon-deep); color: #FFF4E6; }

.btn--lg { min-height: 52px; padding-inline: var(--sp-6); font-size: var(--t-md); }
.btn--block { display: flex; width: 100%; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-block: var(--sp-5);
}
.center .btn-row { justify-content: center; }

/* Phone number set as a line of type, for pages that show it big */
.phone-line {
  display: inline-block;
  font-family: var(--f-en-display);
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: 0.01em;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}


/* == 09  CARDS, BADGES, STATS, QUOTES ====================================== */

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  box-shadow: var(--sh-1);
}
.card > :last-child { margin-bottom: 0; }
.card h3 { margin-bottom: var(--sp-2); }

/* Card with a thin gold line drawn inside the edge, like a printed panel */
.card--ornate {
  border-color: var(--gold-line);
  padding: var(--sp-6) var(--sp-5);
}
.card--ornate::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold-line);
  border-radius: calc(var(--r-md) - 4px);
  pointer-events: none;
}
.card--ornate > * { position: relative; }

/* A card that is itself a link or contains one big tap target */
.card--tap { transition: box-shadow var(--dur-2) var(--ease), transform var(--dur-2) var(--ease); }
.card--tap:hover { box-shadow: var(--sh-3); transform: translateY(-2px); }

.card__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  margin-bottom: var(--sp-4);
  border-radius: var(--r-pill);
  background: var(--marigold-soft);
  color: var(--marigold-deep);
  font-size: 1.25rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.28em 0.85em;
  border: 1px solid var(--gold-line);
  border-radius: var(--r-pill);
  background: var(--marigold-soft);
  color: var(--maroon);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.badge--leaf   { background: var(--leaf-soft); color: var(--leaf); border-color: var(--leaf); }
.badge--maroon { background: var(--maroon-soft); color: var(--maroon); border-color: var(--maroon); }
.badge:lang(hi), .badge.lang-hi { font-size: var(--t-sm); font-weight: 600; }

.stat { text-align: center; }
.stat__num {
  display: block;
  font-family: var(--f-en-display);
  font-size: var(--t-2xl);
  font-weight: 700;
  line-height: 1.05;
  color: var(--marigold-deep);
  font-variant-numeric: tabular-nums;
}
.stat__label {
  display: block;
  margin-top: var(--sp-2);
  font-size: var(--t-sm);
  color: var(--text-muted);
}
.stat__note { display: block; margin-top: var(--sp-1); font-size: var(--t-xs); color: var(--text-faint); }

.quote {
  position: relative;
  margin: 0;
  padding: var(--sp-5) var(--sp-5) var(--sp-5) var(--sp-6);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--marigold);
  border-radius: var(--r-md);
}
.quote p {
  margin-bottom: var(--sp-3);
  font-family: var(--f-en-display);
  font-size: var(--t-md);
  font-style: italic;
  color: var(--text);
}
.quote p:lang(hi), .quote p.lang-hi { font-family: var(--f-hi-body); font-style: normal; }
.quote__cite {
  display: block;
  font-size: var(--t-sm);
  font-style: normal;
  color: var(--text-muted);
}
.quote__stars { color: var(--marigold); letter-spacing: 0.08em; }


/* == 10  PHOTO FRAMES AND GALLERY ========================================== */
/* Only two real photographs exist today:
     /photos/stage-mandap.jpg  1600x986  landscape
     /photos/lawn-seating.jpg   900x1600 portrait
   The frame sets its own aspect-ratio and crops with object-fit, so any new
   file dropped into site/public/photos/ later fits without touching CSS. */

.frame {
  position: relative;
  display: block;
  margin: 0;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2);
}
.frame img {
  width: 100%;
  border-radius: var(--r-sm);
  object-fit: cover;
  background: var(--paper-2);
}
/* the thin gold line that sits just inside the mount */
.frame::after {
  content: '';
  position: absolute;
  inset: 4px;
  border: 1px solid var(--gold-line);
  border-radius: calc(var(--r-md) - 2px);
  pointer-events: none;
}
.frame--landscape img { aspect-ratio: 16 / 10; }
.frame--portrait  img { aspect-ratio: 3 / 4; }
.frame--square    img { aspect-ratio: 1 / 1; }
.frame--tall      img { aspect-ratio: 9 / 16; }
.frame--free      img { aspect-ratio: auto; object-fit: contain; }
.frame--plain { padding: 0; border: 0; box-shadow: none; background: none; }
.frame--plain::after { inset: 0; border-radius: var(--r-md); }

.frame figcaption,
.figcap {
  margin-top: var(--sp-3);
  font-size: var(--t-sm);
  color: var(--text-muted);
}

/* Gallery: one column on a phone, two from 640. Portrait and landscape
   photographs sit side by side without one squashing the other. */
.gallery {
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-5); }
  .gallery--3up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.gallery .frame { height: 100%; }
.gallery button.frame { cursor: zoom-in; text-align: inherit; }


/* == 11  HERO ============================================================== */

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: end;
  min-height: clamp(420px, 78vh, 720px);
  background: var(--maroon-deep);
  color: var(--text-on-dark);
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--hero-veil);
}
.hero__inner {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding: var(--sp-8) var(--gutter) calc(var(--sp-7) + 26px);
}
.hero h1 {
  color: #FFF6EA;
  font-size: var(--t-3xl);
  margin-bottom: var(--sp-3);
  text-shadow: 0 2px 18px rgba(20, 6, 10, 0.5);
}
.hero .eyebrow { color: #F3C68C; }
.hero .lede { color: #F2DED0; max-width: 46ch; }
.hero .btn-row { margin-bottom: 0; }
/* garland hung along the bottom edge of the hero */
.hero__toran {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 26px;
  background-image: var(--toran);
  background-repeat: repeat-x;
  background-position: center top;
  background-size: 48px 26px;
  opacity: 0.95;
}
.hero--short { min-height: clamp(260px, 42vh, 400px); }
.hero--plain { min-height: 0; background: var(--paper-2); color: var(--text); }
.hero--plain h1 { color: var(--heading); text-shadow: none; }
.hero--plain .lede { color: var(--text-muted); }


/* == 12  HEADER AND NAV ==================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--header-bg);
  border-bottom: 1px solid var(--gold-line);
  box-shadow: var(--sh-1);
}
.site-header::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon) 0 33%, var(--marigold) 33% 66%, var(--gold) 66% 100%);
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: 62px;
  padding-block: var(--sp-2);
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  color: var(--header-text);
  line-height: 1.1;
}
.brand__hi {
  font-family: var(--f-hi-display);
  font-size: clamp(1.05rem, 0.9rem + 0.8vw, 1.45rem);
  color: var(--header-text);
}
.brand__en {
  font-family: var(--f-en-display);
  font-size: var(--t-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 var(--sp-3);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--header-text);
  cursor: pointer;
}
.nav-toggle__bars { display: block; width: 20px; height: 12px; position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after,
.nav-toggle__bars span {
  content: '';
  position: absolute; left: 0; right: 0;
  height: 2px; background: currentColor; border-radius: 2px;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 5px; }
.nav-toggle__bars::after { bottom: 0; }

.nav { display: none; }
.nav[data-open='true'] {
  display: block;
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: var(--header-bg);
  border-bottom: 1px solid var(--gold-line);
  box-shadow: var(--sh-3);
  padding: var(--sp-3) var(--gutter) var(--sp-5);
}
.nav__list {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav__list a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  padding: var(--sp-2) var(--sp-2);
  border-radius: var(--r-sm);
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}
.nav__list a:hover { background: var(--marigold-soft); color: var(--heading); }
.nav__list a[aria-current='page'] { color: var(--marigold-deep); }
.nav__extra { margin-top: var(--sp-4); display: flex; flex-wrap: wrap; gap: var(--sp-3); }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav, .nav[data-open='true'] {
    display: block;
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
  }
  .nav__list { flex-direction: row; align-items: center; gap: var(--sp-2); }
  .nav__list a { padding-inline: var(--sp-3); font-size: var(--t-sm); }
  .nav__extra { margin-top: 0; }
  .site-header__bar { gap: var(--sp-5); }
}


/* == 13  FAQ =============================================================== */

.faq { border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border);
  background: transparent;
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  min-height: var(--tap);
  padding: var(--sp-4) var(--sp-1);
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: var(--heading);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:lang(hi), .faq summary.lang-hi { font-family: var(--f-hi-body); font-weight: 600; }
.faq summary:hover { color: var(--marigold-deep); }
.faq summary::after {
  content: '';
  flex: 0 0 auto;
  width: 10px; height: 10px;
  border-right: 2px solid var(--marigold);
  border-bottom: 2px solid var(--marigold);
  rotate: 45deg;
  translate: 0 -3px;
  transition: rotate var(--dur-2) var(--ease);
}
.faq details[open] summary::after { rotate: 225deg; translate: 0 3px; }
.faq__body {
  padding: 0 var(--sp-1) var(--sp-5);
  color: var(--text-muted);
}
.faq__body > :last-child { margin-bottom: 0; }


/* == 14  FOOTER ============================================================ */

.site-footer {
  position: relative;
  margin-top: var(--sp-7);
  padding-top: var(--sp-7);
  padding-bottom: var(--sp-7);
  background: var(--footer-bg);
  color: var(--footer-text);
}
.site-footer::before {
  content: '';
  position: absolute; left: 0; right: 0; top: 0;
  height: 26px;
  background-image: var(--toran);
  background-repeat: repeat-x;
  background-position: center top;
  background-size: 48px 26px;
}
.site-footer a { color: #F6C88A; }
.site-footer a:hover { color: var(--marigold); }
.site-footer h3, .site-footer h4 { color: #F6C88A; }
.site-footer .rule-gold::after { background: var(--footer-bg); }

.footer-grid {
  display: grid;
  gap: var(--sp-6);
  grid-template-columns: 1fr;
  padding-top: var(--sp-4);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

.footer-nap {
  font-style: normal;
  line-height: 1.75;
}
.footer-nap strong { color: #FFF4E6; }

.footer-bottom {
  margin-top: var(--sp-6);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(200, 162, 74, 0.3);
  font-size: var(--t-xs);
  color: rgba(247, 228, 214, 0.75);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  justify-content: space-between;
}


/* == 15  CALL BAR ========================================================== */
/* Fixed to the bottom of the viewport under 720px. Two tap targets, nothing
   else. On a cheap Android phone the thumb should never have to hunt. */

.callbar { display: none; }

@media (max-width: 719.98px) {
  .callbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 90;
    min-height: var(--callbar-h);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--gold);
    border-top: 1px solid var(--gold);
    box-shadow: 0 -6px 20px rgba(42, 26, 22, 0.18);
  }
  .callbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-height: var(--callbar-h);
    padding: var(--sp-2);
    font-size: var(--t-sm);
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    text-align: center;
  }
  .callbar__call { background: var(--marigold); color: #2A1206; }
  .callbar__wa   { background: var(--whatsapp); color: #FFFFFF; }
  .callbar__sub  { font-size: var(--t-xs); font-weight: 600; opacity: 0.85; }

  /* keep the last section clear of the bar */
  body { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom, 0px)); }
  .site-footer { margin-bottom: 0; }
}
@media (max-width: 719.98px) and (prefers-color-scheme: dark) {
  .callbar__call { background: var(--marigold); color: #21100A; }
}


/* == 16  LIGHTBOX ========================================================== */

.lb {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  background: rgba(15, 6, 9, 0.95);
  padding: var(--sp-4);
}
.lb.is-open { display: grid; grid-template-rows: auto 1fr auto; }
.lb__stage { display: grid; place-items: center; min-height: 0; }
.lb__stage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  object-fit: contain;
  border-radius: var(--r-sm);
  box-shadow: 0 0 0 1px var(--gold-line), 0 20px 60px rgba(0, 0, 0, 0.6);
}
.lb__top {
  display: flex;
  justify-content: flex-end;
  padding-bottom: var(--sp-2);
}
.lb__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-3);
  color: #F2DED0;
  font-size: var(--t-sm);
}
.lb__caption { flex: 1; min-width: 0; }
.lb__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--tap);
  min-height: var(--tap);
  padding: 0 var(--sp-3);
  border: 1px solid var(--gold-line);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  color: #FFF4E6;
  font-size: var(--t-md);
  font-weight: 700;
  cursor: pointer;
}
.lb__btn:hover { background: var(--marigold); color: #2A1206; border-color: var(--marigold); }
.lb__nav { display: flex; gap: var(--sp-2); }
body.lb-open { overflow: hidden; }


/* == 17  MOTION AND REVEAL ================================================= */

/* The reveal never hides content. An earlier version set opacity:0 and waited
   for an IntersectionObserver callback to put it back, which left 14 facility
   cards permanently invisible when that callback did not fire. On a ₹8,000
   Android phone in Reoti that is not a missing animation, that is a blank
   page where the reasons to book used to be.

   So the animation is now motion only: every word is painted at full opacity
   from the first frame, and .is-in merely removes a small upward offset. Worst
   case with dead JS, the section sits 14px lower than intended and nobody can
   tell. There is no state in which the text cannot be read. */
html.js .reveal {
  opacity: 1;
  transform: translateY(14px);
  transition: transform var(--dur-3) var(--ease);
}
html.js .reveal.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal,
  html.js .reveal.is-in { transform: none !important; transition: none !important; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


/* == 18  PRINT ============================================================= */
/* A printed A4 of any page must still let someone dial the venue. */

@media print {
  :root {
    --paper: #fff; --paper-2: #fff; --surface: #fff;
    --text: #000; --text-muted: #333; --heading: #000;
    --border: #999; --gold-line: #999;
  }
  body { background: #fff; color: #000; font-size: 11pt; padding-bottom: 0; }

  .site-header, .nav, .nav-toggle, .langswitch, .callbar, .lb,
  .btn-row, .btn, .rule-toran, .hero__toran, .site-footer::before,
  .toran-edge::after, .skip-link { display: none !important; }

  .hero { min-height: 0; color: #000; background: #fff; }
  .hero::before, .hero__media { display: none; }
  .hero h1, .hero .lede, .hero .eyebrow { color: #000; text-shadow: none; }

  .site-footer { background: #fff; color: #000; padding-top: var(--sp-4); }
  .site-footer a, .site-footer h3, .site-footer h4 { color: #000; }

  .section { padding-block: 12pt; border-top: 0; }
  .card, .frame, .quote { border: 1px solid #999; box-shadow: none; break-inside: avoid; }
  .frame::after, .card--ornate::before { display: none; }
  .faq details { break-inside: avoid; }
  .faq details > .faq__body { display: block !important; }

  html.js .reveal { opacity: 1 !important; transform: none !important; }

  /* both languages print, so one sheet serves everyone */
  html[data-lang='hi'] .lang-en,
  html[data-lang='en'] .lang-hi { display: revert !important; }

  /* the contact block is the point of a printed page */
  .print-contact {
    display: block !important;
    margin-top: 14pt;
    padding: 10pt 12pt;
    border: 2pt solid #000;
    font-size: 13pt;
    line-height: 1.5;
    break-inside: avoid;
  }
  .print-contact .phone-line { font-size: 20pt; color: #000; }

  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 8pt; color: #444; }
  a[href^='tel']::after, a[href^='#']::after, .nav a::after { content: ''; }

  h1, h2, h3 { break-after: avoid; }
  p, li { orphans: 3; widows: 3; }
}

/* .print-contact is a print-only block. Hidden on screen. */
.print-contact { display: none; }
