:root {
  color-scheme: light;
  --cream: #fffaf1;
  --paper: #fffdf9;
  --soft: #f7ede0;
  --ink: #302021;
  --muted: #6f5650;
  --wine: #7a2330;
  --deep: #310c13;
  --saffron: #ffbb58;
  --line: #e9d8c5;
  --body: "DM Sans", system-ui, sans-serif;
  --display: "Cormorant Garamond", Georgia, serif;
}
html[lang="gu"] {
  --body: "Noto Sans Gujarati", "DM Sans", system-ui, sans-serif;
  --display: "Noto Sans Gujarati", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 400 1rem/1.65 var(--body); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #bd6226; outline-offset: 4px; }
section[id], aside[id] { scroll-margin-top: 5.75rem; }
.symbol-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { display: block; flex: none; width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.shell { width: min(100% - 4rem, 76rem); margin-inline: auto; }
.skip-link { position: fixed; z-index: 5; top: .5rem; left: .5rem; translate: 0 -200%; padding: .6rem 1rem; background: white; color: var(--deep); }
.skip-link:focus { translate: 0; }

.site-header { position: sticky; top: 0; z-index: 4; background: var(--paper); border-bottom: 1px solid #e9ddcf; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 5rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; flex: none; }
.brand img { width: 2.875rem; height: 2.875rem; }
.brand span { display: grid; gap: .05rem; line-height: 1.35; }
.brand strong { font-size: 1.025rem; font-weight: 800; }
.brand small { color: var(--muted); font-size: .72rem; font-weight: 650; letter-spacing: .1em; }
.site-nav, .header-actions { display: flex; align-items: center; gap: clamp(1rem, 2.35vw, 2.1rem); }
.site-nav a { font-weight: 650; color: #5e413f; text-decoration: none; white-space: nowrap; font-size: .9rem; }
.site-nav a:hover, .site-nav .nav-home { color: var(--wine); }
.header-actions { gap: .65rem; }
.language-button, .menu-button {
  display: inline-flex; align-items: center; justify-content: center; gap: .38rem;
  background: transparent; border: 1px solid var(--line); border-radius: .5rem; min-height: 2.75rem; padding: .35rem .6rem;
  font-weight: 750; font-size: .875rem;
}
.language-button .icon { width: 1rem; height: 1rem; }
.language-button:hover, .menu-button:hover { background-color: var(--soft); }
.menu-button { display: none; width: 2.75rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.2rem; border: 1px solid transparent; border-radius: .48rem;
  padding: .62rem 1.1rem; line-height: 1.35; font-size: .96rem; font-weight: 750;
  text-decoration: none; transition: background-color .18s ease, border-color .18s ease;
}
.button-header { color: white; background: var(--wine); min-height: 2.75rem; font-size: .86rem; white-space: nowrap; }
.button-header:hover { background: #60202b; }

.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff0d6; background: #351017; }
.hero-visual { position: absolute; inset: 0 0 0 37%; z-index: -1; }
.hero-visual::after {
  position: absolute; inset: 0; content: "";
  background: linear-gradient(90deg, #351017 0%, #351017bb 15%, #35101719 42%, #26080d02 78%, #29080e48 100%),
    linear-gradient(0deg, #26080da0 0%, transparent 30%);
}
.hero-visual picture { display: block; width: 100%; height: 100%; }
.hero-image { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.hero-inner { position: relative; min-height: 34rem; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 3.1rem 0 4.4rem; }
.eyebrow { display: flex; gap: .62rem; align-items: center; margin: 0 0 .6rem; color: var(--wine); font-size: .83rem; font-weight: 800; letter-spacing: .105em; }
.hero-eyebrow { margin-bottom: 1.35rem; color: #ffd496; }
.eyebrow .line { width: 1.85rem; border-top: 1px solid currentColor; }
h1, h2, h3, p, figure, address { margin: 0; }
h1, h2 { font-family: var(--display); font-weight: 750; }
h1 { font-size: clamp(4.1rem, 7.2vw, 7.15rem); letter-spacing: -.04em; line-height: .88; }
html[lang="gu"] h1 { font-size: clamp(3.25rem, 5.15vw, 5.2rem); line-height: 1.15; letter-spacing: -.055em; }
h1 span, h1 em { display: block; }
h1 em { color: var(--saffron); font-style: normal; }
.hero-intro { max-width: 30rem; margin: 1.45rem 0 1.75rem; color: #f6dcd3; font-size: 1.08rem; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.button-saffron { color: #421516; background: var(--saffron); }
.button-saffron:hover { background: #ffd08a; }
.button-outline { color: #fff1dd; border-color: #eac1ac7c; background: #3e16248a; }
.button-outline:hover { background: #693443; border-color: #f4cfab; }
.hero-caption { position: absolute; bottom: 1.1rem; left: 50%; translate: -50%; display: flex; justify-content: flex-end; font-size: .76rem; }
.hero-caption span { border-radius: .22rem; color: #fff3dd; background: #290c12bf; padding: .1rem .4rem; }

.guide-wrap { background: #f8efe3; border-bottom: 1px solid var(--line); }
.today {
  display: grid; grid-template-columns: 1fr minmax(0, .85fr); gap: 1.5rem;
  align-items: center; padding-block: 1.65rem;
}
.today h2, html[lang="gu"] .today h2 { font-size: clamp(1.7rem, 3.2vw, 2.65rem); }
.today-status { margin-top: .55rem; color: #58423f; }
.today-copy .text-link { margin-top: .25rem; font-size: .92rem; }
.checked-date { margin-top: .65rem; color: var(--muted); font-size: .82rem; }
.checked-date time { margin-left: .35rem; }
.today-event {
  display: flex; align-items: flex-start; gap: .95rem;
  padding: 1.05rem 1.2rem; border: 1px solid var(--line); border-radius: .6rem; background: var(--paper);
}
.icon-disc { display: grid; place-items: center; flex: none; width: 2.9rem; height: 2.9rem; border-radius: 50%; background: #f4dece; color: #852e39; }
.today-event .eyebrow { margin-bottom: .15rem; }
.today-event h3 { font-size: 1.16rem; }
.today-event time { display: block; color: var(--muted); font-size: .91rem; }
.today-event .source-link { margin-top: .35rem; font-weight: 750; }
.preview-line { padding: .65rem 0 .82rem; border-top: 1px solid #eadbce; color: #6b514d; font-size: .82rem; }
.preview-line a { margin-left: .45rem; text-underline-offset: .2em; }

h2 { font-size: clamp(2.6rem, 4.5vw, 4.3rem); line-height: .98; letter-spacing: -.034em; }
html[lang="gu"] h2 { font-size: clamp(1.8rem, 3.1vw, 3.05rem); line-height: 1.28; letter-spacing: -.043em; }
.section-intro { margin-top: .65rem; color: var(--muted); }
.programme-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(2rem, 5.4vw, 5rem); padding-block: 4.15rem; align-items: start; }
.year-tabs { margin-top: 1.35rem; display: flex; flex-wrap: wrap; gap: .55rem; }
.year-tabs button {
  min-height: 2.75rem; min-width: 4.8rem; padding: .28rem .84rem; background: transparent;
  border: 1px solid #e1cbb6; border-radius: .45rem; color: #62403b; font-weight: 750;
}
.year-tabs button:hover { background: #f6e6d9; }
.year-tabs button[aria-selected="true"] { border-color: var(--wine); background: var(--wine); color: white; }
.year-panel { margin-top: .9rem; padding: 1.05rem 1.15rem; background: var(--paper); border: 1px solid var(--line); border-radius: .58rem; }
.programme-row { display: flex; align-items: center; gap: 1rem; }
.date-tile { flex: none; min-width: 4rem; display: grid; justify-items: center; align-content: center; gap: .05rem; min-height: 4.2rem; padding: .35rem; color: #7e2832; background: #f5e3d8; border-radius: .36rem; line-height: 1.3; }
.date-tile strong { font-size: 1.36rem; font-weight: 800; }
.date-tile span { font-size: .75rem; font-weight: 750; }
.programme-row h3, .event-list h3 { font-size: 1.05rem; line-height: 1.45; }
.programme-row p, .event-list p { font-size: .92rem; color: var(--muted); }
.source-link { display: inline-block; margin-top: .8rem; font-size: .84rem; color: var(--wine); text-underline-offset: .22em; }
.event-list { padding: 0; margin: 0; list-style: none; }
.event-list li + li { border-top: 1px solid var(--line); padding-top: .5rem; margin-top: .5rem; }
.visit-card {
  position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, #5a1625, #351018 75%);
  color: #fff2de; border: 1px solid #5c242d; border-radius: .75rem;
}
.visit-card::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none; right: -7rem; top: -9.3rem; width: 21rem; aspect-ratio: 1;
  border-radius: 50%; border: 1px solid #f0ac8050;
  box-shadow: 0 0 0 1.15rem #da8a7318, 0 0 0 2.35rem #da8a731e, 0 0 0 3.55rem #da8a7318;
}
.visit-content { padding: 1.7rem 1.9rem 1.85rem; }
.visit-icon { display: grid; place-items: center; width: 2.55rem; height: 2.55rem; margin-bottom: .9rem; color: #ffcb8e; border: 1px solid #e1a48d82; border-radius: 50%; }
.visit-card h2 { font-size: clamp(2.25rem, 3.1vw, 3.1rem); }
html[lang="gu"] .visit-card h2 { font-size: clamp(1.65rem, 2.25vw, 2.1rem); }
.visit-card address { margin: .85rem 0 .8rem; color: #ffe8da; font-size: .96rem; font-style: normal; }
.visit-card address strong { color: white; }
.visit-card p { margin: 0 0 1.1rem; color: #f4d5ce; font-size: .9rem; }
.button-card { color: #4c1820; background: #fff0dc; min-height: 2.8rem; }
.button-card:hover { background: #ffd9a0; }

.visit-share {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .75rem;
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid #a56d69;
}
.visit-share .button { min-height: 2.75rem; font-size: .87rem; }
.copy-visit {
  min-height: 2.75rem; padding-inline: 0; color: #fff2de; border: 0; background: transparent;
  font-size: .86rem; text-decoration: underline; text-underline-offset: .22em;
}
.share-text { flex: 1 0 100%; font-size: .86rem; }
.share-text textarea {
  display: block; width: 100%; margin-top: .3rem; padding: .5rem; font: inherit; color: var(--ink);
  border: 1px solid var(--line); border-radius: .35rem; background: var(--paper);
}
.share-status { flex: 1 0 100%; color: #ffd48e; font-size: .84rem; }
.share-status:empty { display: none; }
.visit-qr { margin-top: .75rem; border-top: 1px solid #a56d69; }
.visit-qr summary {
  display: list-item; min-height: 2.75rem; padding-top: .65rem; cursor: pointer; color: #ffdeba; font-weight: 700;
}
.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: .25rem 0 .7rem; }
.qr-grid img {
  width: min(100%, 6.25rem); height: auto; aspect-ratio: 1; border-radius: .3rem; background: white;
}
.qr-grid figcaption { margin-top: .3rem; font-size: .84rem; }
.visit-qr p { margin-bottom: 0; font-size: .83rem; }

.story { background: #f3e7d8; border-block: 1px solid #e9d8c4; }
.story-grid { display: grid; grid-template-columns: 1.03fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: 4.2rem; }
.story-photo { position: relative; overflow: hidden; border-radius: .65rem; background: #53231e; }
.story-photo img { width: 100%; height: auto; aspect-ratio: 1.51; object-fit: cover; }
.story-photo figcaption { position: absolute; bottom: .65rem; right: .65rem; padding: .12rem .45rem; border-radius: .22rem; color: #fff0dd; background: #2e1310d4; font-size: .78rem; }
.story-text > p:not(.eyebrow) { margin-top: .8rem; color: #58423e; max-width: 37rem; }
.text-link { display: inline-block; color: var(--wine); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.story-text .text-link { margin-top: 1rem; }
.gallery { padding-block: 4.15rem 4.4rem; }
.gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.gallery-tabs { margin: 0 0 1rem; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.gallery-card { background: var(--paper); overflow: hidden; border: 1px solid var(--line); border-radius: .65rem; }
.gallery-image { position: relative; display: block; overflow: hidden; background: #55302b; }
.gallery-image img { width: 100%; height: auto; aspect-ratio: 1.85; object-fit: cover; transition: transform .25s ease; }
.gallery-image-idol img { object-position: 50% 42%; }
.gallery-video .zoom-icon { right: auto; bottom: auto; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 3.2rem; height: 3.2rem; }
.gallery-image:hover img { transform: scale(1.028); }
.gallery-image:focus-visible { outline-offset: -5px; }
.zoom-icon { position: absolute; right: .8rem; bottom: .8rem; background: #331117ed; color: #fff0dd; display: grid; place-items: center; width: 2.55rem; height: 2.55rem; border: 1px solid #fff0dd91; border-radius: 50%; }
.gallery-card figcaption { display: grid; padding: .8rem 1rem; }
.gallery-card figcaption > span { color: var(--muted); font-size: .85rem; }
.gallery-card figcaption a, .photo-credit a { text-underline-offset: .2em; }

.footer { background: #321017; color: #ffedda; }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem; padding-block: 2.25rem; }
.footer .brand small, .footer p, .footer-bottom { color: #edc1b5; }
.footer p { margin-top: .7rem; font-size: .9rem; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: .3rem; }
.footer-links h2, html[lang="gu"] .footer-links h2 { font: 750 1rem/1.4 var(--body); margin-bottom: .25rem; letter-spacing: 0; }
.footer-links a { color: #f6dacd; font-size: .89rem; text-underline-offset: .22em; overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-block: .85rem; border-top: 1px solid #794049; font-size: .83rem; }

.photo-dialog { width: min(54rem, 100% - 2rem); max-height: calc(100% - 2rem); padding: 0; border: 1px solid #ac7b6b; border-radius: .65rem; color: #fff1df; background: #371319; }
.photo-dialog::backdrop { background: #21070ddd; }
.photo-toolbar { display: flex; justify-content: space-between; gap: .8rem; align-items: center; padding: .55rem 1rem; }
.photo-toolbar h2, html[lang="gu"] .photo-toolbar h2 { font: 700 1.12rem/1.4 var(--body); letter-spacing: 0; }
.close-photo { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; background: #611d2b; border: 1px solid #a96268; border-radius: .5rem; }
.photo-dialog > img { width: 100%; height: auto; max-height: 69dvh; object-fit: contain; background: #241015; }
.photo-credit { padding: .5rem 1rem .85rem; color: #f2c6b7; font-size: .86rem; }

@media (max-width: 1050px) {
  .header-inner { gap: .85rem; }
  .site-nav { gap: .9rem; }
  .header-actions { gap: .4rem; }
  .hero-intro { max-width: 24rem; }
}
@media (max-width: 860px) {
  .shell { width: calc(100% - 2.5rem); }
  .header-inner { min-height: 4.25rem; flex-wrap: wrap; }
  .site-nav { order: 3; flex: 0 0 100%; padding-bottom: .7rem; justify-content: space-between; flex-wrap: wrap; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-top: .15rem; border-top: 1px solid var(--line); }
  .js .site-nav a { padding: .6rem 0; }
  .menu-button { display: inline-flex; }
  .button-header { display: none; }
  .hero-visual { left: 28%; }
  .hero-intro { max-width: 21rem; }
  .icon-disc { width: 2.5rem; height: 2.5rem; }
}
@media (max-width: 700px) {
  .hero-visual { inset: 0 0 auto; height: 21rem; }
  .hero-visual::after { background: linear-gradient(0deg, #351017 0%, #35101730 50%, #35101704 72%); }
  .hero-image { object-position: center top; }
  .hero-inner { min-height: 0; padding: 15.55rem 0 2.2rem; }
  .hero-eyebrow { margin-bottom: .65rem; }
  h1 { font-size: clamp(3.9rem, 11vw, 5.55rem); }
  html[lang="gu"] h1 { font-size: clamp(2.8rem, 10.1vw, 4.15rem); }
  .hero-intro { max-width: 22rem; margin: .8rem 0 1.1rem; font-size: .98rem; }
  .hero-caption { bottom: auto; top: .65rem; }
  .button { padding-inline: .75rem; }
  .today { grid-template-columns: 1fr; gap: .9rem; padding-block: 1.15rem; }
  .today-event { padding: .85rem .9rem; }
  .preview-line a { display: inline-block; margin-left: 0; }
  .programme-grid, .story-grid { grid-template-columns: 1fr; padding-block: 2.7rem; gap: 1.65rem; }
  .story-grid { gap: 1.4rem; }
  .visit-content { padding: 1.3rem; }
  .gallery { padding-block: 2.75rem; }
  .gallery-heading { align-items: flex-start; flex-direction: column; gap: .6rem; }
  .gallery-grid { grid-template-columns: 1fr; gap: .9rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; padding-block: 1.5rem; gap: 1rem; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 370px) {
  .shell { width: calc(100% - 1.75rem); }
  .brand { gap: .45rem; }
  .brand strong { font-size: .92rem; }
  .brand img { width: 2.45rem; height: 2.45rem; }
  .hero-actions .button { padding-inline: .55rem; font-size: .88rem; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
