/* ==========================================================================
   Shri Sai Dhyana Kuteera – Sai Baba Mandir
   Design system: premium devotional (maroon · gold · ivory)
   ========================================================================== */

:root {
  --maroon: #6E1117;
  --burgundy: #3F1013;
  --burgundy-deep: #2a090c;
  --gold: #D4A33A;
  --gold-light: #E8C873;
  --gold-dark: #A87C1E;
  --saffron: #E87512;
  --saffron-dark: #A4540A;
  --ivory: #FFF8E9;
  --cream: #F8F0DF;
  --brown: #422315;
  --text: #3a2418;
  --text-soft: #6b5446;
  --white: #ffffff;

  --font-display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-kannada: "Noto Serif Kannada", "Noto Sans Kannada", "Tunga", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 2px 10px rgba(63, 16, 19, .08);
  --shadow: 0 12px 34px rgba(63, 16, 19, .14);
  --shadow-lg: 0 24px 60px rgba(42, 9, 12, .28);
  --header-offset: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--header-offset); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--maroon); text-decoration-color: rgba(110, 17, 23, .35); text-underline-offset: 3px; }
a:hover { color: var(--saffron-dark); }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--maroon); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: .005em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.25rem; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }
.kn { font-family: var(--font-kannada); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--gold); color: var(--burgundy); padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 20px; }
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--ivory { background: var(--ivory); }
.section--dark { background: var(--burgundy); color: #f6e9d3; }
.section--dark h2, .section--dark h3 { color: var(--gold-light); }

/* ---------- Ornaments & section heads ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 14px auto 0; max-width: 320px; }
.ornament::before, .ornament::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament svg { width: 22px; height: 22px; flex: none; }
.ornament--left { margin-left: 0; justify-content: flex-start; max-width: 220px; }
.ornament--left::before { display: none; }
.ornament--left::after { transform: none; background: linear-gradient(90deg, var(--gold), transparent); }

.section-head { text-align: center; max-width: 780px; margin: 0 auto clamp(32px, 5vw, 56px); }
.eyebrow { display: inline-block; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; color: var(--saffron-dark); margin-bottom: 10px; }
.section--dark .eyebrow, .hero .eyebrow, .page-banner .eyebrow { color: var(--gold-light); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--text-soft); }
.section--dark .lead { color: #ecd9bd; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; border: 2px solid transparent;
  font: 600 .86rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); color: var(--burgundy); box-shadow: 0 6px 18px rgba(212, 163, 58, .38), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-gold:hover { color: var(--burgundy-deep); box-shadow: 0 10px 26px rgba(212, 163, 58, .55), inset 0 1px 0 rgba(255,255,255,.6); }
.btn-outline { border-color: var(--gold); color: var(--gold-light); background: transparent; }
.btn-outline:hover { background: rgba(212, 163, 58, .14); color: #fff; }
.btn-maroon { background: var(--maroon); color: var(--ivory); box-shadow: var(--shadow-sm); }
.btn-maroon:hover { background: var(--burgundy); color: #fff; }
.btn-line { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-line:hover { background: var(--maroon); color: var(--ivory); }
.btn-sm { padding: 10px 18px; font-size: .76rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid rgba(212, 163, 58, .55); position: relative; z-index: 60; }
.header-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; min-width: 0; }
.brand img { width: 84px; height: 84px; object-fit: contain; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-kn { font-family: var(--font-kannada); font-weight: 700; font-size: clamp(1.15rem, 2.2vw, 1.55rem); color: var(--saffron-dark); }
.brand-en { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 2.4vw, 1.7rem); color: var(--maroon); }
.brand-sub { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--text-soft); margin-top: 3px; }
.header-contact { display: flex; align-items: center; gap: 22px; font-size: .88rem; color: var(--text-soft); }
.header-contact a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--maroon); font-weight: 600; }
.header-contact svg { width: 18px; height: 18px; color: var(--saffron-dark); }
.header-contact .hc-note { display: flex; flex-direction: column; line-height: 1.3; }
.header-contact .hc-note small { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-soft); }

.navbar { background: var(--maroon); border-top: 2px solid var(--gold); border-bottom: 1px solid rgba(0,0,0,.3); position: sticky; top: 0; z-index: 70; box-shadow: 0 6px 20px rgba(42, 9, 12, .22); }
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: nowrap; }
.menu > li { position: relative; }
.menu > li.has-sub { display: flex; align-items: center; }
.menu > li > a {
  display: flex; align-items: center; gap: 6px; padding: 17px 15px; color: #f6e9d3; text-decoration: none; position: relative; white-space: nowrap;
  font: 600 .78rem/1 var(--font-body); letter-spacing: .13em; text-transform: uppercase;
}
.menu > li.has-sub > a { padding-right: 4px; }
.sub-toggle { background: none; border: 0; cursor: pointer; color: #f6e9d3; padding: 17px 11px 17px 2px; display: flex; align-items: center; }
.menu > li > a::after { content: ""; position: absolute; left: 15px; right: 15px; bottom: 9px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.menu > li.has-sub > a::after { right: 4px; }
.menu > li:hover > a::after, .menu > li:focus-within > a::after, .menu > li > a[aria-current="page"]::after, .menu > li.is-current > a::after { transform: scaleX(1); }
.menu > li:hover > a, .menu > li:hover > .sub-toggle, .menu > li > a[aria-current="page"], .menu > li.is-current > a, .menu > li.is-current > .sub-toggle { color: var(--gold-light); }
.menu .chev { width: 12px; height: 12px; transition: transform .2s; }
.menu > li:hover .chev, .menu > li:focus-within .chev, .menu > li.open .chev { transform: rotate(180deg); }
.submenu { list-style: none; margin: 0; padding: 8px 0; position: absolute; top: 100%; left: 0; min-width: 260px; background: var(--ivory); border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility .2s; z-index: 80; }
.menu > li:hover > .submenu, .menu > li:focus-within > .submenu, .menu > li.open > .submenu { opacity: 1; visibility: visible; transform: none; }
.submenu a { display: block; padding: 10px 22px; color: var(--brown); text-decoration: none; font-size: .93rem; border-left: 3px solid transparent; transition: background .15s, border-color .15s, color .15s; }
.submenu a:hover, .submenu a[aria-current="page"] { background: var(--cream); border-left-color: var(--saffron); color: var(--maroon); }
.nav-donate { margin-left: 8px; }
.menu > li.donate-li > a { padding: 9px 22px; margin: 7px 0 7px 10px; border-radius: 999px; background: linear-gradient(180deg, var(--gold-light), var(--gold) 55%, var(--gold-dark)); color: var(--burgundy); box-shadow: 0 4px 14px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.5); }
.menu > li.donate-li > a::after { display: none; }
.menu > li.donate-li > a:hover { color: var(--burgundy-deep); filter: brightness(1.06); }

.nav-toggle { display: none; background: none; border: 0; color: var(--maroon); width: 46px; height: 46px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; color: #f8ead3; background:
    radial-gradient(900px 560px at 76% 52%, rgba(232, 160, 44, .34), transparent 62%),
    radial-gradient(1200px 700px at 12% 0%, rgba(110, 17, 23, .9), transparent 70%),
    linear-gradient(135deg, var(--burgundy) 0%, #571015 48%, var(--burgundy-deep) 100%); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none' stroke='%23D4A33A' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M60 6 L114 60 L60 114 L6 60 Z'/%3E%3Cpath d='M60 26 L94 60 L60 94 L26 60 Z'/%3E%3Ccircle cx='60' cy='60' r='9'/%3E%3C/svg%3E"); background-size: 120px 120px; -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 62%); mask-image: linear-gradient(90deg, #000 0%, transparent 62%); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 24px; min-height: min(78vh, 720px); padding-block: clamp(36px, 6vw, 72px); }
.hero-copy { position: relative; z-index: 2; }
.hero .kn-title { font-family: var(--font-kannada); font-weight: 700; font-size: clamp(2rem, 4.8vw, 3.5rem); color: var(--gold-light); line-height: 1.25; margin: 0 0 6px; text-shadow: 0 2px 18px rgba(0,0,0,.35); }
.hero h1 { color: #fff7e6; font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin-bottom: .3em; }
.hero .sub { font-size: clamp(1rem, 1.5vw, 1.18rem); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 22px; font-weight: 500; }
.hero .blessing { font-family: var(--font-display); font-style: italic; font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.5; color: #fbeed6; max-width: 34em; padding-left: 20px; border-left: 3px solid var(--gold); margin: 0 0 26px; }
.hero .btn-row .btn { padding: 14px 22px; letter-spacing: .09em; }
.hero .guru-line { font-size: .92rem; color: #e7d3b3; margin: -6px 0 28px; }
.hero .guru-line .kn { color: var(--gold-light); font-weight: 600; display: block; font-size: 1.02rem; }
.hero-art { position: relative; justify-self: center; width: min(100%, 520px); aspect-ratio: 1 / 1.08; display: grid; place-items: end center; }
.hero-art .glow { position: absolute; inset: 4% 4% 0; border-radius: 50% 50% 18px 18px / 42% 42% 18px 18px; background: radial-gradient(circle at 50% 38%, rgba(255, 214, 120, .95) 0%, rgba(240, 160, 40, .75) 28%, rgba(180, 60, 20, .45) 58%, transparent 74%); filter: blur(2px); }
.hero-art .arch { position: absolute; inset: 2% 6% 0; border: 2px solid rgba(232, 200, 115, .75); border-bottom: 0; border-radius: 999px 999px 0 0; box-shadow: 0 0 0 8px rgba(212, 163, 58, .10), inset 0 0 60px rgba(255, 200, 100, .25); }
.hero-art .arch::after { content: ""; position: absolute; inset: 14px 14px 0; border: 1px solid rgba(232, 200, 115, .45); border-bottom: 0; border-radius: 999px 999px 0 0; }
.hero-art .rays { position: absolute; inset: -6% -10% 0; background: repeating-conic-gradient(from -90deg at 50% 78%, rgba(255, 220, 140, .16) 0deg 3deg, transparent 3deg 12deg); -webkit-mask-image: radial-gradient(ellipse at 50% 78%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 50% 78%, #000 20%, transparent 70%); }
.hero-art img { position: relative; z-index: 2; width: 82%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.hero-art .base { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .85; z-index: 3; }

.ribbon { background: linear-gradient(90deg, var(--burgundy-deep), var(--maroon) 50%, var(--burgundy-deep)); border-top: 1px solid rgba(212,163,58,.5); border-bottom: 3px solid var(--gold); color: #fbeed6; }
.ribbon-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 22px; padding-block: 14px; text-align: center; }
.ribbon .tag { background: var(--gold); color: var(--burgundy); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.ribbon strong { font-family: var(--font-display); font-size: 1.35rem; color: var(--gold-light); }
.ribbon span.dates { font-weight: 600; letter-spacing: .06em; }
.ribbon a { color: var(--gold-light); font-weight: 600; font-size: .86rem; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Cards: seva ---------- */
.seva-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.seva-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid rgba(212, 163, 58, .45); border-radius: var(--radius); padding: 28px 26px; text-decoration: none; color: var(--text); position: relative; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s; box-shadow: var(--shadow-sm); }
.seva-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--gold), var(--saffron), var(--gold)); }
.seva-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold); color: var(--text); }
.icon-badge { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #fff3d4, #f6dc9b); border: 1.5px solid var(--gold); color: var(--maroon); margin-bottom: 18px; flex: none; }
.icon-badge svg { width: 28px; height: 28px; }
.seva-card h3 { margin-bottom: .35em; }
.seva-card p { color: var(--text-soft); font-size: .96rem; margin-bottom: 16px; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-dark); }
.card-link svg { width: 16px; height: 16px; transition: transform .2s; }
.seva-card:hover .card-link svg, .event-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Welcome ---------- */
.welcome { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(28px, 5vw, 72px); }
.portrait-frame { position: relative; justify-self: center; width: min(100%, 440px); aspect-ratio: 1 / 1.1; display: grid; place-items: end center; border-radius: 220px 220px 18px 18px; background: radial-gradient(circle at 50% 40%, #ffe29a, #f0a53c 45%, #b8480f 100%); border: 3px solid var(--gold); box-shadow: 0 0 0 10px var(--cream), 0 0 0 11px var(--gold), var(--shadow); overflow: hidden; }
.portrait-frame img { width: 86%; filter: drop-shadow(0 12px 22px rgba(0,0,0,.35)); }
.welcome h2 { margin-bottom: .4em; }
.welcome p { color: var(--text-soft); font-size: 1.05rem; }
.welcome .btn-row { margin-top: 26px; }

/* ---------- Timetable ---------- */
.schedule-wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 4vw, 48px); align-items: start; }
.timetable-card { background: var(--ivory); border: 2px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--text); }
.timetable-card header { background: linear-gradient(135deg, var(--maroon), var(--burgundy)); color: var(--gold-light); padding: 18px 26px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.timetable-card header h3 { margin: 0; color: var(--gold-light); font-size: 1.5rem; }
.badge { display: inline-block; background: var(--gold); color: var(--burgundy); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; padding: 5px 12px; border-radius: 999px; }
.timetable { width: 100%; border-collapse: collapse; }
.timetable th, .timetable td { padding: 14px 26px; text-align: left; border-bottom: 1px dashed rgba(168, 124, 30, .45); }
.timetable thead th { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--saffron-dark); background: var(--cream); }
.timetable tbody tr:last-child td { border-bottom: 0; }
.timetable tbody tr:hover { background: rgba(212, 163, 58, .1); }
.timetable td:first-child { font-weight: 600; color: var(--maroon); }
.timetable td:last-child, .timetable th:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 600; color: var(--brown); }
.timetable-note { padding: 16px 26px 22px; background: var(--cream); font-size: .92rem; color: var(--text-soft); border-top: 2px solid var(--gold); }
.timetable-note strong { color: var(--maroon); }
.schedule-side h2 { color: var(--gold-light); }
.schedule-side p { color: #ecd9bd; }
.notice { display: flex; gap: 12px; align-items: flex-start; background: rgba(212, 163, 58, .12); border: 1px solid rgba(212, 163, 58, .5); border-radius: var(--radius-sm); padding: 14px 16px; font-size: .92rem; color: #f2dfbf; margin: 18px 0; }
.notice svg { width: 20px; height: 20px; flex: none; margin-top: 2px; color: var(--gold-light); }
.notice--light { background: #fff3d6; border-color: rgba(168, 124, 30, .5); color: var(--brown); }
.notice--light svg { color: var(--saffron-dark); }

/* ---------- Events ---------- */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.event-card { display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(212, 163, 58, .45); box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; text-decoration: none; color: var(--text); }
.event-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); color: var(--text); }
.event-art { position: relative; aspect-ratio: 16 / 9; display: grid; place-items: center; color: var(--gold-light); background: radial-gradient(circle at 50% 120%, rgba(255, 200, 90, .5), transparent 60%), linear-gradient(135deg, var(--maroon), var(--burgundy)); overflow: hidden; }
.event-art::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(232, 200, 115, .55); border-radius: 8px; }
.event-art svg { width: 54px; height: 54px; position: relative; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.event-art .photo-note { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(248, 234, 211, .8); }
.event-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.event-date { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--saffron-dark); margin-bottom: 8px; }
.event-date svg { width: 16px; height: 16px; }
.event-card h3 { font-size: 1.45rem; }
.event-card p { color: var(--text-soft); font-size: .95rem; margin-bottom: 16px; }
.event-card--featured { grid-column: 1 / -1; flex-direction: row; background: linear-gradient(135deg, var(--burgundy), var(--maroon)); border: 2px solid var(--gold); color: #f6e9d3; }
.event-card--featured:hover { color: #fff; }
.event-card--featured .event-art { aspect-ratio: auto; flex: 0 0 38%; min-height: 260px; background: radial-gradient(circle at 50% 100%, rgba(255, 210, 110, .7), transparent 62%), linear-gradient(160deg, #7c161d, var(--burgundy-deep)); }
.event-card--featured .event-art svg { width: 84px; height: 84px; }
.event-card--featured h3 { color: var(--gold-light); font-size: clamp(1.8rem, 3vw, 2.4rem); }
.event-card--featured p { color: #ecd9bd; font-size: 1.02rem; }
.event-card--featured .event-date { color: var(--gold-light); }
.event-card--featured .card-link { color: var(--gold-light); }
.event-card--featured .event-body { padding: 34px 38px; justify-content: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.chips li { font-size: .78rem; padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(232, 200, 115, .6); color: var(--gold-light); letter-spacing: .04em; }

/* ---------- Annadana ---------- */
.annadana { position: relative; overflow: hidden; color: #fff2da; background:
    radial-gradient(700px 400px at 90% 10%, rgba(255, 190, 80, .28), transparent 65%),
    linear-gradient(120deg, #8a2a0c 0%, #b4430f 45%, #7a1e10 100%); }
.annadana::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='90' viewBox='0 0 90 90' fill='none' stroke='%23FFE4A0' stroke-opacity='.25'%3E%3Ccircle cx='45' cy='45' r='30'/%3E%3Ccircle cx='45' cy='45' r='18'/%3E%3C/svg%3E"); }
.annadana .container { position: relative; }
.annadana-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.annadana h2 { color: #ffe9b8; }
.annadana p { font-size: 1.1rem; color: #ffeccc; }
.annadana-art { justify-self: center; width: min(100%, 340px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle, rgba(255, 233, 184, .22), rgba(255, 233, 184, .05) 70%); border: 2px solid rgba(255, 228, 160, .6); box-shadow: 0 0 0 14px rgba(255, 228, 160, .08); color: #ffe9b8; text-align: center; padding: 28px; }
.annadana-art svg { width: 84px; height: 84px; margin: 0 auto 12px; }
.annadana-art span { font-family: var(--font-display); font-size: 1.5rem; line-height: 1.25; font-style: italic; }

/* ---------- Teachings ---------- */
.teach-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.teach-card { text-align: center; padding: 30px 18px; background: var(--white); border-radius: var(--radius); border: 1px solid rgba(212, 163, 58, .5); position: relative; box-shadow: var(--shadow-sm); }
.teach-card::after { content: ""; position: absolute; left: 50%; bottom: -1px; width: 46px; height: 3px; background: var(--gold); transform: translateX(-50%); border-radius: 3px; }
.teach-card .icon-badge { margin-inline: auto; }
.teach-card h3 { font-size: 1.35rem; margin-bottom: .25em; }
.teach-card .kn-sub { display: block; font-family: var(--font-kannada); color: var(--saffron-dark); font-size: .95rem; margin-bottom: 8px; }
.teach-card p { font-size: .93rem; color: var(--text-soft); margin: 0; }
.quote-box { max-width: 820px; margin: 44px auto 0; text-align: center; padding: 30px 28px; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.quote-box blockquote { margin: 0; font-family: var(--font-display); font-style: italic; font-size: clamp(1.4rem, 2.8vw, 2rem); color: var(--maroon); line-height: 1.4; }
.quote-box cite { display: block; margin-top: 12px; font-style: normal; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); }
.small-note { font-size: .85rem; color: var(--text-soft); }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 30px; }
.filter-btn { font: 600 .78rem/1 var(--font-body); letter-spacing: .1em; text-transform: uppercase; padding: 11px 18px; border-radius: 999px; border: 1.5px solid var(--gold); background: transparent; color: var(--maroon); cursor: pointer; transition: background .2s, color .2s; }
.filter-btn:hover { background: rgba(212, 163, 58, .18); }
.filter-btn[aria-pressed="true"] { background: var(--maroon); color: var(--gold-light); border-color: var(--maroon); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid.is-preview { grid-template-columns: repeat(4, 1fr); }
.tile { position: relative; display: block; width: 100%; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; cursor: default; background: var(--burgundy); text-align: center; font: inherit; color: inherit; }
.tile[data-hidden="true"] { display: none; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile--photo { cursor: zoom-in; background: radial-gradient(circle at 50% 40%, #ffe29a, #f0a53c 45%, #b8480f 100%); }
.tile--photo img { object-fit: contain; object-position: bottom; padding: 10% 8% 0; }
.tile--photo:hover img { transform: scale(1.05); }
.tile--ph { display: grid; place-items: center; align-content: center; gap: 10px; padding: 18px; color: var(--gold-light); background: radial-gradient(circle at 50% 110%, rgba(255, 200, 90, .35), transparent 60%), linear-gradient(145deg, var(--maroon), var(--burgundy)); border: 1px solid rgba(212, 163, 58, .55); }
.tile--ph svg { width: 38px; height: 38px; opacity: .95; }
.tile--ph b { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; font-weight: 700; }
.tile--ph small { font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(248, 234, 211, .75); }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: linear-gradient(transparent, rgba(42, 9, 12, .85)); pointer-events: none; }
.lightbox { position: fixed; inset: 0; z-index: 400; display: none; align-items: center; justify-content: center; background: rgba(20, 5, 6, .92); padding: 24px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(92vw, 980px); max-height: 88vh; text-align: center; }
.lightbox img { max-height: 76vh; margin: 0 auto; border-radius: 10px; background: #f0a53c; }
.lightbox figcaption { color: #f6e9d3; margin-top: 12px; font-size: .95rem; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--gold); background: rgba(63, 16, 19, .8); color: var(--gold-light); display: grid; place-items: center; cursor: pointer; }
.lb-btn:hover { background: var(--maroon); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }

/* ---------- Donation ---------- */
.donate-box { background: linear-gradient(135deg, var(--burgundy), var(--maroon) 60%, #55101a); border: 2px solid var(--gold); border-radius: 22px; padding: clamp(30px, 5vw, 60px); color: #f6e9d3; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.donate-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(232, 200, 115, .3), transparent 70%); }
.donate-box h2 { color: var(--gold-light); }
.donate-box .eyebrow { color: var(--gold-light); }
.donate-box > * { position: relative; z-index: 1; }
.donate-opts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 30px 0; padding: 0; list-style: none; }
.donate-opts li { text-align: center; padding: 18px 10px; border: 1px solid rgba(232, 200, 115, .55); border-radius: var(--radius-sm); background: rgba(255, 255, 255, .05); font-weight: 600; font-size: .92rem; transition: background .2s, transform .2s; }
.donate-opts li:hover { background: rgba(212, 163, 58, .18); transform: translateY(-3px); }
.donate-opts svg { width: 28px; height: 28px; margin: 0 auto 8px; color: var(--gold-light); }
.donate-opts a { color: inherit; text-decoration: none; display: block; }
.donate-cta { text-align: center; }
.donate-cta .btn { font-size: .95rem; padding: 17px 40px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.contact-card { background: var(--white); border: 1px solid rgba(212, 163, 58, .55); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.contact-list { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .icon-badge { width: 46px; height: 46px; margin: 0; }
.contact-list .icon-badge svg { width: 22px; height: 22px; }
.contact-list b { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron-dark); margin-bottom: 2px; }
.map-card { border-radius: var(--radius); overflow: hidden; border: 2px solid var(--gold); min-height: 340px; display: grid; place-items: center; text-align: center; padding: 32px; color: #f2dfbf; background: radial-gradient(circle at 50% 120%, rgba(255, 200, 90, .3), transparent 60%), linear-gradient(145deg, var(--maroon), var(--burgundy)); }
.map-card svg { width: 46px; height: 46px; color: var(--gold-light); margin: 0 auto 10px; }
.map-card h3 { color: var(--gold-light); }
.map-card iframe { width: 100%; height: 100%; min-height: 340px; border: 0; }

.form-grid { display: grid; gap: 18px; }
.form-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--maroon); margin-bottom: 6px; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1.5px solid rgba(110, 17, 23, .3); background: var(--ivory); font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(232, 117, 18, .2); }
.field .err { display: none; color: #a3141c; font-size: .84rem; margin-top: 5px; }
.field.invalid input, .field.invalid textarea { border-color: #a3141c; }
.field.invalid .err { display: block; }
.form-status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: .95rem; }
.form-status.show { display: block; }
.form-status.info { background: #fff3d6; border: 1px solid var(--gold-dark); color: var(--brown); }
.form-status.ok { background: #e6f3e3; border: 1px solid #5c9a52; color: #25531d; }
.form-status.bad { background: #fbe4e4; border: 1px solid #a3141c; color: #7a0f15; }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(180deg, var(--burgundy), var(--burgundy-deep)); color: #e9d6b8; border-top: 4px solid var(--gold); padding-top: clamp(48px, 6vw, 80px); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 48px); padding-bottom: 44px; }
.footer-brand img { width: 120px; height: 120px; background: var(--ivory); border-radius: 18px; padding: 6px; margin-bottom: 14px; border: 2px solid var(--gold); }
.footer-brand h3 { color: var(--gold-light); font-size: 1.5rem; margin-bottom: .2em; }
.footer-brand p, .footer-brand address { font-size: .94rem; font-style: normal; color: #d9c4a3; margin-bottom: .6em; }
.site-footer h4 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; position: relative; padding-bottom: 10px; }
.site-footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links a { color: #e9d6b8; text-decoration: none; font-size: .94rem; transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.social { display: flex; gap: 10px; margin-top: 16px; }
.social a, .social span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(232, 200, 115, .6); color: var(--gold-light); transition: background .2s; }
.social a:hover { background: rgba(212, 163, 58, .2); }
.social svg { width: 18px; height: 18px; }
.social .is-pending { opacity: .5; }
.footer-bottom { border-top: 1px solid rgba(232, 200, 115, .25); padding-block: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .86rem; color: #bfa886; }
.footer-sai { text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.35rem; color: var(--gold-light); padding-bottom: 26px; }

/* ---------- Inner pages ---------- */
.page-banner { position: relative; overflow: hidden; color: #f8ead3; text-align: center; padding: clamp(30px, 4.5vw, 56px) 0 clamp(26px, 4vw, 46px); background:
    radial-gradient(600px 300px at 50% 120%, rgba(240, 170, 50, .4), transparent 70%),
    linear-gradient(135deg, var(--burgundy), var(--maroon) 55%, var(--burgundy-deep)); border-bottom: 4px solid var(--gold); }
.page-banner::before { content: ""; position: absolute; inset: 0; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none' stroke='%23D4A33A' stroke-opacity='.14'%3E%3Cpath d='M60 6 L114 60 L60 114 L6 60 Z'/%3E%3Cpath d='M60 26 L94 60 L60 94 L26 60 Z'/%3E%3Ccircle cx='60' cy='60' r='9'/%3E%3C/svg%3E"); }
.page-banner .container { position: relative; }
.page-banner h1 { color: #fff7e6; margin-bottom: .25em; }
.page-banner .kn-title { font-family: var(--font-kannada); color: var(--gold-light); font-size: clamp(1.1rem, 2.2vw, 1.5rem); margin-bottom: 4px; }
.page-banner p.banner-lead { max-width: 680px; margin: 0 auto; color: #ecd9bd; font-size: 1.08rem; }
.page-banner .ornament { margin-top: 12px; }
.breadcrumb + .section { padding-top: clamp(28px, 4vw, 44px); }
.breadcrumb { background: var(--cream); border-bottom: 1px solid rgba(212, 163, 58, .4); font-size: .86rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 12px 0; color: var(--text-soft); }
.breadcrumb li + li::before { content: "›"; margin-right: 10px; color: var(--gold-dark); }
.breadcrumb a { text-decoration: none; }
.breadcrumb [aria-current] { color: var(--maroon); font-weight: 600; }

.prose { max-width: 820px; margin-inline: auto; font-size: 1.06rem; }
.prose h2 { margin-top: 1.5em; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: #4d372a; }
.prose li { margin-bottom: .45em; }
.two-col { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(26px, 5vw, 60px); align-items: start; }
.side-card { background: var(--white); border: 1px solid rgba(212, 163, 58, .55); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-offset) + 20px); }
.side-card h3 { font-size: 1.35rem; }
.side-card ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.side-card li a { text-decoration: none; display: flex; justify-content: space-between; gap: 8px; padding-bottom: 8px; border-bottom: 1px dashed rgba(168, 124, 30, .4); font-size: .95rem; }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 28px 0; }
.info-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.info-card { background: var(--white); border: 1px solid rgba(212, 163, 58, .5); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.info-card h3 { font-size: 1.3rem; margin-top: .2em; }
.info-card p { color: var(--text-soft); font-size: .96rem; margin: 0; }
.placeholder-box { border: 1.5px dashed var(--gold-dark); background: #fff3d6; border-radius: var(--radius-sm); padding: 16px 18px; color: var(--brown); font-size: .94rem; margin: 20px 0; }
.placeholder-box b { color: var(--maroon); }
.steps { counter-reset: s; list-style: none; padding: 0; display: grid; gap: 14px; margin: 24px 0; }
.steps li { counter-increment: s; position: relative; padding: 16px 18px 16px 66px; background: var(--white); border: 1px solid rgba(212, 163, 58, .45); border-radius: var(--radius-sm); }
.steps li::before { content: counter(s); position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: var(--gold-light); font-weight: 700; font-family: var(--font-display); font-size: 1.15rem; }
.cta-band { text-align: center; background: linear-gradient(135deg, var(--burgundy), var(--maroon)); color: #f6e9d3; border-top: 3px solid var(--gold); }
.cta-band h2 { color: var(--gold-light); }
.cta-band .btn-row { justify-content: center; margin-top: 22px; }
.festival-list { display: grid; gap: 22px; }
.festival-row { display: grid; grid-template-columns: 300px 1fr; background: var(--white); border: 1px solid rgba(212, 163, 58, .5); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.festival-row .event-art { aspect-ratio: auto; min-height: 200px; }
.festival-row .event-body { padding: 26px 30px; }
.donate-tiers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.video-card { background: var(--white); border: 1px solid rgba(212, 163, 58, .5); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.video-frame { aspect-ratio: 16 / 9; position: relative; display: grid; place-items: center; background: linear-gradient(145deg, var(--maroon), var(--burgundy)); color: var(--gold-light); text-align: center; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame svg { width: 56px; height: 56px; margin: 0 auto 6px; }
.video-frame small { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(248, 234, 211, .8); }
.video-card .event-body { padding: 18px 22px 22px; }
.video-card h3 { font-size: 1.25rem; margin-bottom: .2em; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar { display: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .menu > li > a, .menu > li > button { padding-inline: 11px; letter-spacing: .08em; font-size: .74rem; }
  .header-contact .hc-note { display: none; }
}
@media (max-width: 1020px) {
  :root { --header-offset: 68px; }
  .header-contact { display: none; }
  .header-main { padding-block: 8px; }
  .brand img { width: 56px; height: 56px; }
  .brand-sub { display: none; }
  .nav-toggle { display: inline-flex; }
  .site-header { position: sticky; top: 0; z-index: 90; box-shadow: 0 4px 16px rgba(42, 9, 12, .12); }
  .navbar { position: static; box-shadow: none; border: 0; background: transparent; }
  .navbar .container { padding: 0; display: block; }
  .menu { display: none; position: fixed; inset: 68px 0 0 0; z-index: 100; background: var(--burgundy); overflow-y: auto; padding: 14px 0 100px; flex-direction: column; align-items: stretch; border-top: 3px solid var(--gold); }
  .menu.open { display: flex; }
  .menu > li > a { width: 100%; padding: 17px 24px; font-size: .86rem; border-bottom: 1px solid rgba(232, 200, 115, .18); }
  .menu > li.has-sub { flex-wrap: wrap; }
  .menu > li.has-sub > a { flex: 1; width: auto; padding-right: 8px; }
  .menu > li.has-sub > .sub-toggle { width: 64px; align-self: stretch; justify-content: center; padding: 0; border-bottom: 1px solid rgba(232, 200, 115, .18); border-left: 1px solid rgba(232, 200, 115, .18); }
  .menu > li > a::after { display: none; }
  .menu .chev { width: 18px; height: 18px; }
  .menu > li:hover .chev, .menu > li:focus-within .chev { transform: none; }
  .menu > li.open .chev { transform: rotate(180deg); }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; display: none; width: 100%; background: rgba(0, 0, 0, .22); box-shadow: none; border: 0; border-radius: 0; padding: 4px 0 8px; }
  .menu > li:hover > .submenu, .menu > li:focus-within > .submenu { display: none; opacity: 1; }
  .menu > li.open > .submenu { display: block; }
  .submenu a { color: #ecd9bd; padding: 12px 24px 12px 40px; }
  .submenu a:hover, .submenu a[aria-current="page"] { background: rgba(212, 163, 58, .14); color: var(--gold-light); border-left-color: var(--gold); }
  .menu > li.donate-li > a { margin: 18px 24px 0; justify-content: center; padding: 15px 22px; border-bottom: 0; width: auto; }
  body.menu-open { overflow: hidden; }

  .hero-inner { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero-art { order: -1; width: min(78%, 380px); }
  .hero .blessing { margin-inline: auto; text-align: left; }
  .hero .btn-row { justify-content: center; }
  .seva-grid, .event-grid, .video-grid { grid-template-columns: repeat(2, 1fr); }
  .teach-grid { grid-template-columns: repeat(3, 1fr); }
  .donate-opts { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .welcome, .schedule-wrap, .annadana-inner, .contact-grid, .two-col { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .festival-row { grid-template-columns: 220px 1fr; }
  .event-card--featured .event-art { flex-basis: 34%; }
}
@media (max-width: 680px) {
  body { padding-bottom: 66px; }
  .container { padding-inline: 16px; }
  .brand-kn { font-size: 1.05rem; }
  .brand-en { font-size: 1.1rem; }
  .hero .kn-title { font-size: 2rem; }
  .btn { padding: 13px 20px; font-size: .8rem; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .seva-grid, .event-grid, .video-grid, .info-grid, .info-grid.cols-2, .donate-tiers { grid-template-columns: 1fr; }
  .teach-grid { grid-template-columns: repeat(2, 1fr); }
  .teach-grid .teach-card:last-child { grid-column: 1 / -1; }
  .donate-opts { grid-template-columns: repeat(2, 1fr); }
  .donate-opts li:last-child { grid-column: 1 / -1; }
  .gallery-grid, .gallery-grid.is-preview { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .timetable th, .timetable td { padding: 12px 16px; }
  .timetable-note, .timetable-card header { padding-inline: 16px; }
  .form-grid .two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .event-card--featured { flex-direction: column; }
  .event-card--featured .event-art { flex-basis: auto; min-height: 190px; }
  .event-card--featured .event-body { padding: 26px 22px; }
  .festival-row { grid-template-columns: 1fr; }
  .festival-row .event-art { min-height: 150px; }
  .mobile-bar { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 120; background: var(--burgundy-deep); border-top: 2px solid var(--gold); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bar a { min-height: 54px; justify-content: center; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 9px 4px; color: #f6e9d3; text-decoration: none; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
  .mobile-bar a svg { width: 20px; height: 20px; }
  .mobile-bar a.gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--burgundy); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .navbar, .mobile-bar, .site-header .header-contact { display: none; }
}

/* CTA cells that complete grid rows */
.event-card--cta { align-items: center; justify-content: center; text-align: center; padding: 34px 26px; background: linear-gradient(150deg, var(--cream), #f1e2c0); border: 2px dashed var(--gold-dark); box-shadow: none; }
.event-card--cta .icon-badge { margin-inline: auto; }
.event-card--cta h3 { margin-bottom: .3em; }
.event-card--cta p { margin-bottom: 18px; }
.tile--cta { display: grid; place-items: center; align-content: center; gap: 10px; padding: 18px; text-decoration: none; text-align: center; color: var(--maroon); background: linear-gradient(150deg, var(--cream), #f1e2c0); border: 2px dashed var(--gold-dark); }
.tile--cta svg { width: 34px; height: 34px; }
.tile--cta b { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.2; }
.tile--cta small { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--saffron-dark); font-weight: 600; }
@media (min-width: 1021px) { .event-grid .event-card--cta { grid-column: auto; } }

/* ===== CMS additions ===== */
.filter-btn.is-active { background: var(--maroon); color: var(--gold-light); border-color: var(--maroon); }
a.filter-btn { text-decoration: none; display: inline-block; }
.preview-bar { background: #b3261e; color: #fff; text-align: center; padding: 8px 12px; font-weight: 600; font-size: .9rem; }
.map-embed { width: 100%; height: 100%; min-height: 320px; border: 0; border-radius: inherit; }
.video-link { position: relative; display: block; aspect-ratio: 16/9; background: #000; }
.video-link img { width: 100%; height: 100%; object-fit: cover; opacity: .85; }
.video-link .play { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; }
.video-link .play svg { width: 56px; height: 56px; background: rgba(110,17,23,.85); border-radius: 50%; padding: 14px; }
.video-embed { position: relative; aspect-ratio: 16/9; margin: 1.2em 0; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.form-status.ok { background: #e6f4ea; color: #1e5b2f; border: 1px solid #a8d5b5; padding: 12px 16px; border-radius: 8px; margin-bottom: 18px; }
.footer-note { color: #d9c3a0; font-size: .9rem; margin: 18px 0 0; }
.footer-bottom .legal a { color: var(--gold-light); margin-left: 12px; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.prose th, .prose td { border: 1px solid #e3d3b0; padding: 8px 10px; text-align: left; }
.prose img { max-width: 100%; height: auto; border-radius: 8px; }
.prose blockquote { border-left: 4px solid var(--gold); margin: 1.2em 0; padding: 4px 18px; font-style: italic; color: var(--text-soft); }
.msg-layout, .blog-layout { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .msg-layout, .blog-layout { grid-template-columns: minmax(0, 1fr) 300px; } }
.msg-card { background: #fff; border: 1px solid #ecdcb8; border-radius: 14px; padding: 24px; box-shadow: 0 6px 24px rgba(110,17,23,.07); }
.msg-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.msg-img img { width: 100%; height: auto; border-radius: 10px; }
.msg-quote { border-left: 4px solid var(--gold); background: #fbf3de; margin: 16px 0; padding: 14px 18px; font-family: var(--font-display); font-size: 1.3rem; color: var(--maroon); }
.msg-nav { display: flex; justify-content: space-between; margin-top: 20px; }
.msg-search { display: flex; gap: 8px; margin-bottom: 20px; }
.msg-search input, .msg-date input { flex: 1; min-width: 0; padding: 11px 14px; border: 1.5px solid #d9c59b; border-radius: 8px; font: inherit; }
.msg-date { display: flex; gap: 8px; margin-bottom: 18px; }
.msg-list { list-style: none; padding: 0; margin: 0 0 20px; }
.msg-list li { border-bottom: 1px solid #ecdcb8; }
.msg-list a { display: block; padding: 10px 0; text-decoration: none; color: var(--text); }
.msg-list a span { display: block; font-size: .75rem; color: var(--saffron-dark); font-weight: 600; letter-spacing: .06em; }
.msg-side h3, .blog-side h3 { font-family: var(--font-display); color: var(--maroon); }
.lang-toggle { display: inline-flex; gap: 8px; margin: 8px 0; }
.blog-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.blog-card { background: #fff; border: 1px solid #ecdcb8; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.blog-img { display: block; aspect-ratio: 16/10; background: #f4e8c9; }
.blog-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-ph { display: grid; place-items: center; height: 100%; color: var(--gold-dark); }
.blog-ph svg { width: 44px; height: 44px; }
.blog-body { padding: 16px 18px 20px; }
.blog-body h3 { margin: 6px 0; font-family: var(--font-display); font-size: 1.3rem; }
.blog-body h3 a { color: var(--maroon); text-decoration: none; }
.blog-cat { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--saffron-dark); text-decoration: none; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pagination a { padding: 8px 14px; border: 1.5px solid var(--gold); border-radius: 8px; text-decoration: none; color: var(--maroon); font-weight: 600; }
.pagination a.is-active { background: var(--maroon); color: var(--gold-light); }
.chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: #f4e8c9; color: var(--maroon); text-decoration: none; font-size: .85rem; margin: 2px; }
.author-box { background: #fbf3de; padding: 14px 18px; border-radius: 10px; }
.quiz-opts { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.quiz-opts button { width: 100%; text-align: left; padding: 14px 16px; border: 1.5px solid #d9c59b; border-radius: 10px; background: #fff; font: inherit; cursor: pointer; }
.quiz-opts button:hover:not(:disabled) { border-color: var(--maroon); }
.quiz-opts button.is-correct { background: #e6f4ea; border-color: #2e7d4a; }
.quiz-opts button.is-wrong { background: #fdecea; border-color: #b3261e; }
.quiz-feedback { padding: 12px 16px; border-radius: 10px; background: #fbf3de; margin: 12px 0; }
.quiz-progress { font-weight: 600; color: var(--saffron-dark); }
.quiz-score { font-family: var(--font-display); font-size: 2.4rem; color: var(--maroon); margin: 0; }
.quiz-img { max-width: 100%; height: auto; border-radius: 10px; margin: 8px 0; }
.quiz-review li { margin-bottom: 12px; }
.field .err { color: #b3261e; font-size: .85rem; margin: 4px 0 0; }

/* ---------- CMS additions ---------- */
.preview-bar { background: #b45309; color: #fff; text-align: center; padding: 8px 12px; font-size: .9rem; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.video-embed { position: relative; aspect-ratio: 16/9; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.page-figure { margin: 0 0 24px; } .page-figure img { width: 100%; height: auto; border-radius: 14px; }
.prose img, .prose iframe, .prose table { max-width: 100%; }
.prose table { border-collapse: collapse; width: 100%; } .prose th, .prose td { border: 1px solid #d9c7a6; padding: 8px 10px; text-align: left; }
.prose blockquote { border-left: 4px solid var(--gold, #d4a33a); margin: 1.2em 0; padding: .4em 1em; font-style: italic; }
.past-list { list-style: none; margin: 0; padding: 0; } .past-list li a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px; border-bottom: 1px solid #e6d7b8; text-decoration: none; color: inherit; } .past-list span { color: var(--text-soft, #6b5646); font-size: .9rem; }
.msg-layout { display: grid; grid-template-columns: 1fr; gap: 32px; } @media (min-width: 900px) { .msg-layout { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } }
.msg-card { background: #fffaf0; border: 1px solid #e6d7b8; border-radius: 16px; padding: 24px; }
.msg-date { color: var(--text-soft, #6b5646); font-size: .9rem; margin: 0 0 8px; }
.msg-quote { font-family: "Cormorant Garamond", serif; font-size: 1.5rem; border-left: 4px solid #d4a33a; margin: 16px 0; padding: 4px 16px; color: #6e1117; }
.msg-nav { display: flex; margin-top: 20px; } .msg-search { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; } .msg-search input { flex: 1; min-width: 0; padding: 10px; border: 1px solid #cdb98f; border-radius: 8px; }
.lang-toggle { display: flex; gap: 8px; margin: 8px 0 16px; }
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.blog-card { display: block; background: #fffaf0; border: 1px solid #e6d7b8; border-radius: 14px; overflow: hidden; text-decoration: none; color: inherit; }
.blog-thumb img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; } .blog-body { padding: 16px; } .blog-body h3 { margin: 6px 0; }
.pagination { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; } .pagination a { padding: 8px 14px; border: 1px solid #cdb98f; border-radius: 8px; text-decoration: none; color: #6e1117; } .pagination a.is-active { background: #6e1117; color: #fff; }
.tag-list a { margin-right: 8px; }
.quiz { max-width: 760px; margin: 0 auto; background: #fffaf0; border: 1px solid #e6d7b8; border-radius: 16px; padding: 24px; }
.quiz-options { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; }
.quiz-opt { width: 100%; text-align: left; padding: 14px 16px; border: 2px solid #cdb98f; border-radius: 10px; background: #fff; font: inherit; cursor: pointer; }
.quiz-opt:hover:not(:disabled) { border-color: #6e1117; } .quiz-opt.is-correct { border-color: #1f7a3d; background: #e7f6ec; } .quiz-opt.is-wrong { border-color: #b3261e; background: #fdecea; }
.quiz-feedback { background: #f6ecd2; border-radius: 10px; padding: 12px 16px; margin-bottom: 12px; }
.quiz-review li { margin-bottom: 14px; } .quiz-review li.ok strong::before { content: "✓ "; color: #1f7a3d; } .quiz-review li.bad strong::before { content: "✗ "; color: #b3261e; }
.quiz-progress { color: var(--text-soft, #6b5646); font-size: .9rem; } .err { color: #b3261e; display: block; font-size: .9rem; }
.contact-form-wrap { max-width: 640px; margin: 40px auto 0; }
.notice[role=status] { padding: 12px 16px; }
