:root {
  color-scheme: light;
  --ink: #262725;
  --muted: #6d6d66;
  --paper: #f8f3e9;
  --white: #fffdf8;
  --line: #e4d9c8;
  --maroon: #712e34;
  --maroon-dark: #3a1c25;
  --saffron: #d79b3d;
  --saffron-pale: #f2dfbb;
  --teal: #477f78;
  --teal-pale: #dcebe5;
  --shadow: 0 18px 50px #2f21120e;
  font-family: "Avenir Next", Avenir, "Segoe UI", sans-serif;
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); line-height: 1.65; }
body, button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button { color: inherit; font: inherit; }
.visually-hidden { 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: fixed; z-index: 1200; top: 12px; left: 12px; transform: translateY(-150%); padding: 10px 14px; border-radius: 10px; background: var(--white); color: var(--ink); box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid #e6ddcfcc; background: #f8f3e9ed; backdrop-filter: blur(14px); }
.header-inner { width: min(1200px, calc(100% - 44px)); min-height: 74px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50% 50% 46% 46%; color: #fff7e8; background: var(--maroon); font-family: Georgia, serif; font-size: 22px; font-weight: 800; box-shadow: inset 0 0 0 3px #ffffff2e; }
.brand strong, .brand small { display: block; }
.brand strong { color: var(--maroon-dark); font-family: Georgia, serif; font-size: 18px; line-height: 1.2; }
.brand small { margin-top: 3px; color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(10px, 2vw, 29px); }
.site-nav a { padding: 9px 0; color: #55564f; font-size: 13px; font-weight: 750; text-decoration: none; transition: color .2s ease; }
.site-nav a:hover, .site-nav a:focus-visible { color: var(--maroon); }
.site-nav .nav-lineage { padding: 10px 15px; border: 1px solid #d7c6aa; border-radius: 999px; color: var(--maroon); background: #fffaf1; }
.menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); cursor: pointer; }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 17px; height: 2px; margin: 0 auto; border-radius: 3px; background: var(--maroon-dark); content: ""; }
.menu-lines { position: relative; }
.menu-lines::before { position: absolute; top: -6px; }
.menu-lines::after { position: absolute; top: 6px; }

.hero { position: relative; min-height: 610px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); align-items: center; gap: 20px; padding: 64px max(7vw, calc((100vw - 1200px) / 2)) 88px; background: radial-gradient(ellipse at 83% 42%, #e8c88b82 0, transparent 31%), linear-gradient(110deg, #fbf7ee 0%, #f6efdf 60%, #efe0c6 100%); }
.hero-pattern { position: absolute; inset: 0; opacity: .32; pointer-events: none; background-image: radial-gradient(#b98a4b 1px, transparent 1px); background-size: 31px 31px; mask-image: linear-gradient(90deg, #000 0%, transparent 55%); }
.hero-copy { position: relative; z-index: 2; max-width: 650px; }
.eyebrow { margin: 0 0 11px; color: var(--maroon); font-size: 11px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--saffron); vertical-align: 1px; }
.hero h1 { max-width: 660px; margin: 0; color: var(--maroon-dark); font-family: Georgia, "Times New Roman", serif; font-size: clamp(48px, 7vw, 82px); font-weight: 600; letter-spacing: -.055em; line-height: .98; }
.hero h1 span { color: var(--maroon); font-style: italic; }
.hero-intro { max-width: 510px; margin: 23px 0 24px; color: #585950; font-size: 17px; line-height: 1.7; }
.primary-link { display: inline-flex; align-items: center; gap: 18px; padding: 13px 18px 13px 20px; border-radius: 999px; color: #fffaf0; background: var(--maroon); box-shadow: 0 8px 22px #712e3430; font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.primary-link:hover { transform: translateY(-2px); background: #58222b; }
.primary-link span { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; color: var(--maroon); background: #fffaf0; font-size: 15px; }
.hero-notes { display: flex; align-items: center; gap: 12px; margin-top: 31px; color: #777468; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.hero-notes i { width: 4px; height: 4px; border-radius: 50%; background: var(--saffron); }
.hero-art { position: relative; min-height: 430px; display: grid; place-items: center; }
.hero-sun { position: absolute; top: 6%; right: 8%; width: 310px; aspect-ratio: 1; border: 1px solid #b77c3752; border-radius: 50%; background: repeating-conic-gradient(from 0deg, transparent 0 5deg, #b77c3716 5deg 5.6deg); }
.hero-arch { position: absolute; width: min(84%, 385px); height: 405px; bottom: 0; border: 1px solid #9c713e; border-bottom: 0; border-radius: 200px 200px 0 0; background: linear-gradient(180deg, #f3e5ca7d, #d8bf9375); box-shadow: 0 0 0 13px #fffaf035, 0 0 0 14px #ae82504a; }
.hero-photo-frame { position: relative; z-index: 1; width: min(67%, 295px); height: 360px; margin-top: 40px; padding: 9px; border-radius: 160px 160px 20px 20px; background: linear-gradient(145deg, #f8eddb, #a24b3c 52%, #d49b44); box-shadow: 0 26px 55px #4a2f1940; transform: rotate(2deg); }
.hero-photo-frame img { width: 100%; height: 100%; border: 4px solid #f9f0de; border-radius: 150px 150px 14px 14px; object-fit: cover; object-position: center; }
.hero-stamp { position: absolute; z-index: 2; left: 2%; bottom: 9%; width: 98px; height: 98px; display: grid; align-content: center; justify-items: center; border: 1px solid #f7e7c9; border-radius: 50%; color: #fdf5e4; background: var(--teal); box-shadow: 0 10px 26px #1d453f44; transform: rotate(-9deg); }
.hero-stamp span { font-family: Georgia, serif; font-size: 17px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.hero-stamp strong { margin-top: -2px; font-size: 18px; }
.hero-stamp small { font-size: 8px; letter-spacing: .16em; text-transform: uppercase; }
.hero-flower { position: absolute; z-index: 2; color: #aa6a38; text-shadow: 0 2px 12px #d5a16266; }
.flower-one { top: 12%; left: 7%; font-size: 42px; }
.flower-two { right: 3%; bottom: 18%; font-size: 34px; }
.scroll-cue { position: absolute; bottom: 21px; left: 50%; display: flex; align-items: center; gap: 9px; color: #7d7668; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; transform: translateX(-50%); }
.scroll-cue span { width: 17px; height: 27px; border: 1px solid #9d8c71; border-radius: 99px; position: relative; }
.scroll-cue span::after { position: absolute; top: 5px; left: 50%; width: 3px; height: 5px; border-radius: 5px; background: var(--maroon); content: ""; animation: cue-drop 1.6s ease-in-out infinite; }
@keyframes cue-drop { 0%,100% { transform: translate(-50%, 0); opacity: .45; } 55% { transform: translate(-50%, 9px); opacity: 1; } }

.content-section { padding: 92px 0; }
.section-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.section-heading { max-width: 720px; margin-bottom: 38px; }
.section-heading h2 { margin: 0; color: var(--maroon-dark); font-family: Georgia, "Times New Roman", serif; font-size: clamp(42px, 6vw, 68px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
.section-lead { max-width: 640px; margin: 14px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.section-history { background: var(--white); }
.history-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(250px, .8fr); gap: 18px; align-items: stretch; }
.story-card, .history-note { border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.story-card-main { position: relative; padding: 28px 31px 26px; background: linear-gradient(135deg, #fffdf8, #fbf5e9); }
.card-number { position: absolute; top: 18px; right: 22px; color: #c5aa7c; font-family: Georgia, serif; font-size: 22px; }
.story-card h3 { max-width: 500px; margin: 0 0 13px; color: var(--maroon); font-family: Georgia, serif; font-size: 27px; line-height: 1.15; }
.story-card p { max-width: 720px; margin: 0 0 12px; color: #51534d; font-size: 14px; line-height: 1.75; }
.story-card p:last-child { margin-bottom: 0; }
.history-note { display: flex; flex-direction: column; justify-content: space-between; padding: 25px; border-color: #e7d6b6; background: var(--saffron-pale); }
.note-icon { font-size: 34px; }
.history-note h3 { margin: 25px 0 7px; color: #61421f; font-family: Georgia, serif; font-size: 22px; }
.history-note p { margin: 0; color: #695b48; font-size: 13px; line-height: 1.7; }
.source-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 25px; padding: 15px 18px; border-left: 3px solid var(--saffron); color: #69675d; background: #f9f4e9; font-size: 12px; line-height: 1.6; }
.source-note span { color: var(--maroon); }

.gallery-block { margin-top: 40px; }
.gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 15px; margin-bottom: 15px; }
.gallery-heading .eyebrow { margin-bottom: 5px; font-size: 9px; }
.gallery-heading h3, .gallery-heading h4 { margin: 0; color: var(--maroon-dark); font-family: Georgia, serif; font-size: 23px; line-height: 1.2; }
.gallery-heading h4 { font-size: 19px; }
.gallery-toggle { flex-shrink: 0; padding: 8px 12px; border: 1px solid #dac8ad; border-radius: 999px; color: var(--maroon); background: transparent; cursor: pointer; font-size: 11px; font-weight: 800; }
.gallery-toggle:hover, .gallery-toggle[aria-pressed="true"] { background: #f5ead7; }
.marquee { overflow: hidden; position: relative; border-radius: 16px; mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee-scroll var(--marquee-duration, 45s) linear infinite; will-change: transform; }
.marquee.is-paused .marquee-track, .marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
.marquee-group { display: flex; flex: 0 0 auto; align-items: stretch; gap: 15px; padding: 2px 15px 12px 2px; }
.photo-card { flex: 0 0 clamp(245px, 29vw, 330px); width: clamp(245px, 29vw, 330px); overflow: hidden; margin: 0; border: 1px solid #e4d8c7; border-radius: 17px; background: #f4eee3; box-shadow: 0 9px 25px #36271412; }
.photo-card a { display: block; height: 220px; overflow: hidden; background: linear-gradient(135deg, #eee3d1, #d3c2a6); }
.photo-card img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .45s ease, filter .45s ease; }
.photo-card a:hover img, .photo-card a:focus-visible img { transform: scale(1.035); filter: saturate(1.04); }
.photo-card figcaption { min-height: 42px; padding: 10px 13px; color: #554e42; font-size: 11px; font-weight: 750; }
.gallery-hint { margin: 7px 4px 0; color: #817a6e; font-size: 11px; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

.section-culture { overflow: hidden; color: #f9f3e8; background: var(--maroon-dark); }
.section-heading-light h2 { color: #fff6e8; }
.section-heading-light .section-lead { color: #d4c7b7; }
.section-culture .eyebrow, .section-lineage .eyebrow { color: #e8bb70; }
.culture-copy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.culture-card { min-height: 225px; padding: 25px 27px; border: 1px solid #ffffff22; border-radius: 17px; background: #ffffff0b; }
.culture-symbol { color: #e8bb70; font-size: 25px; }
.culture-card h3 { margin: 11px 0 8px; color: #fff2dc; font-family: Georgia, serif; font-size: 24px; }
.culture-card p, .ritual-copy p { margin: 0; color: #dfd4c5; font-size: 13px; line-height: 1.8; }
.section-culture .gallery-block { margin-top: 35px; }
.gallery-block-dark .gallery-heading h3, .gallery-block-dark .gallery-heading h4 { color: #fff2dc; }
.gallery-block-dark .gallery-toggle, .ritual-gallery-block .gallery-toggle { border-color: #ffffff40; color: #f8e6c4; }
.gallery-block-dark .gallery-toggle:hover, .gallery-block-dark .gallery-toggle[aria-pressed="true"], .ritual-gallery-block .gallery-toggle:hover, .ritual-gallery-block .gallery-toggle[aria-pressed="true"] { background: #ffffff17; }
.gallery-block-dark .photo-card, .ritual-gallery-block .photo-card { border-color: #ffffff2b; background: #25141a; }
.gallery-block-dark .photo-card figcaption, .ritual-gallery-block .photo-card figcaption { color: #eee0cb; }
.ritual-card { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.5fr); gap: 25px; margin-top: 45px; padding: 26px; border: 1px solid #ffffff28; border-radius: 19px; background: #ffffff0b; }
.ritual-copy h3 { margin: 0 0 12px; color: #fff1d9; font-family: Georgia, serif; font-size: 29px; line-height: 1.15; }
.ritual-copy .eyebrow { margin-bottom: 7px; }
.ritual-gallery-block { min-width: 0; margin: 0; }
.ritual-gallery-block .gallery-heading { align-items: center; }

.section-language { position: relative; overflow: hidden; background: linear-gradient(115deg, #f1e4ce, #f9f5eb 62%, #dfece5); }
.language-inner { position: relative; }
.language-ornament { position: absolute; top: -31px; right: 3%; color: #ad8b61; font-family: Georgia, serif; font-size: clamp(57px, 10vw, 125px); font-weight: 800; line-height: .85; opacity: .17; text-align: center; transform: rotate(8deg); }
.language-ornament span { color: var(--maroon); font-size: .5em; }
.language-panel { position: relative; max-width: 850px; padding: clamp(25px, 5vw, 47px); border: 1px solid #dac9ad; border-radius: 22px; background: #fffdf9d9; box-shadow: var(--shadow); }
.language-label { display: inline-flex; padding: 8px 13px; border-radius: 999px; color: #fff7e8; background: var(--teal); font-size: 10px; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.language-panel > p { margin: 20px 0 24px; color: #4e504b; font-size: 16px; line-height: 1.85; }
.language-note { display: flex; align-items: center; gap: 13px; padding-top: 17px; border-top: 1px solid #e8ddca; color: var(--maroon); }
.language-note span { font-family: Georgia, serif; font-size: 52px; line-height: .6; }
.language-note p { margin: 0; font-family: Georgia, serif; font-size: 20px; font-style: italic; }

.section-festivals { background: #fffdf8; }
.festival-card { margin-top: 25px; padding: clamp(20px, 4vw, 32px); border: 1px solid var(--line); border-radius: 21px; background: linear-gradient(145deg, #fffdf9, #faf4e9); box-shadow: var(--shadow); }
.festival-card:first-of-type { margin-top: 0; }
.festival-copy { max-width: 920px; }
.festival-kicker { margin: 0 0 7px; color: var(--maroon); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.festival-copy h3 { margin: 0 0 13px; color: var(--maroon-dark); font-family: Georgia, serif; font-size: clamp(27px, 4vw, 38px); line-height: 1.13; }
.festival-copy p:not(.festival-kicker) { margin: 0 0 12px; color: #55564f; font-size: 14px; line-height: 1.8; }
.festival-copy p:last-child { margin-bottom: 0; }
.belief-tag { display: inline-flex; align-items: center; gap: 8px; margin-top: 5px; padding: 9px 13px; border: 1px solid #e5d1ab; border-radius: 999px; color: #745323; background: #f7ebd5; font-size: 11px; font-weight: 800; }
.belief-tag span { color: var(--maroon); }
.festival-card .gallery-block { margin-top: 26px; }
.festival-card .photo-card { flex-basis: clamp(235px, 28vw, 310px); width: clamp(235px, 28vw, 310px); }
.festival-card .photo-card a { height: 205px; }
.sitala-card { border-top: 4px solid var(--teal); }
.teej-card { border-top: 4px solid var(--saffron); }
.sevalal-card { border-top: 4px solid var(--maroon); }

.section-lineage { color: #f8f1e4; background: #262426; }
.section-lineage .section-heading { margin-bottom: 34px; }
.gotra-panel { padding: clamp(20px, 4vw, 36px); border: 1px solid #ffffff25; border-radius: 22px; background: #ffffff0a; }
.gotra-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.gotra-heading .eyebrow { margin-bottom: 6px; }
.gotra-heading h3 { margin: 0; color: #fff4df; font-family: Georgia, serif; font-size: 32px; }
.gotra-heading p { margin: 5px 0 0; color: #e5c382; font-size: 12px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.gotra-seal { flex: 0 0 72px; width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid #d4ad64; border-radius: 50%; color: #f0d295; font-family: Georgia, serif; font-size: 18px; font-weight: 800; line-height: 1.2; text-align: center; }
.gotra-intro { max-width: 780px; margin: 19px 0; color: #d8d2c8; font-size: 13px; line-height: 1.7; }
.gotra-image-link { display: block; width: min(100%, 820px); margin: 0 auto; overflow: auto; border: 1px solid #ffffff30; border-radius: 12px; background: #111; cursor: zoom-in; }
.gotra-chart { width: 100%; height: auto; margin: 0 auto; object-fit: contain; object-position: top center; }
.gotra-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 9px 20px; align-items: center; margin-top: 12px; color: #c9c1b5; font-size: 11px; }
.text-link { color: #f0c978; font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.rajput-theory { margin-top: 44px; }
.theory-title { max-width: 760px; margin-bottom: 22px; }
.theory-title h3 { margin: 0; color: #fff3df; font-family: Georgia, serif; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.theory-title > p:last-child { margin: 12px 0 0; color: #d0c8bb; font-size: 13px; line-height: 1.7; }
.theory-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.theory-card { position: relative; min-height: 270px; padding: 24px 21px 22px; border: 1px solid #ffffff24; border-radius: 17px; background: linear-gradient(145deg, #ffffff10, #ffffff06); }
.theory-number { display: block; margin-bottom: 12px; color: #e3ba6e; font-family: Georgia, serif; font-size: 14px; }
.theory-card h4 { margin: 0 0 10px; color: #fff1d8; font-family: Georgia, serif; font-size: 21px; }
.theory-card p { margin: 0; color: #ded5c8; font-size: 12px; line-height: 1.8; }
.theory-footnote { margin: 17px 0 0; padding: 13px 16px; border-left: 3px solid #d8ad60; color: #d7cfc2; background: #ffffff08; font-size: 11px; line-height: 1.7; }

.site-footer { padding: 42px 0 24px; color: #e9dece; background: #1d1a1d; }
.footer-inner { width: min(1120px, calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 25px 42px; align-items: start; }
.footer-brand strong { color: #fff2df; }
.footer-brand small { color: #b8ab9a; }
.footer-brand .brand-mark { border: 1px solid #d8b46f; background: #46212c; }
.footer-note p { margin: 0 0 5px; color: #f3d89d; font-family: Georgia, serif; font-size: 19px; }
.footer-note span { color: #aa9f92; font-size: 10px; }
.sources { grid-column: 1 / -1; padding: 15px 0 0; border-top: 1px solid #ffffff20; }
.sources summary { width: fit-content; color: #f3d89d; cursor: pointer; font-size: 12px; font-weight: 850; }
.sources ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 25px; margin: 14px 0 0; padding-left: 17px; color: #9d9488; }
.sources li { padding-left: 3px; font-size: 10px; line-height: 1.6; }
.sources a { color: #d7cebf; text-decoration-color: #7d7164; text-underline-offset: 3px; }
.sources a:hover { color: #fff1d8; }
.copyright { grid-column: 1 / -1; margin: 4px 0 0; padding-top: 15px; border-top: 1px solid #ffffff17; color: #978d81; font-size: 10px; }

.section-feedback { padding: 88px 0 98px; background: linear-gradient(160deg, #f8f3e9, #efe3d1); }
.section-feedback .section-heading { margin-bottom: 28px; }
.feedback-card { max-width: 820px; padding: clamp(20px, 4vw, 34px); border: 1px solid #e4d6bf; border-radius: 22px; background: #fffaf1; box-shadow: 0 18px 44px #4a2f1912; }
.feedback-note { margin: 0 0 22px; color: #6d6257; font-size: 13px; line-height: 1.7; }
.comment-form { display: grid; gap: 18px; }
.comment-form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.comment-form label:not(.comment-consent):not(.comment-honeypot) { display: grid; gap: 8px; color: #3f332b; font-size: 12px; font-weight: 800; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea { width: 100%; padding: 12px 13px; border: 1px solid #d8c8ae; border-radius: 11px; color: #2e2824; background: #fff; font: inherit; font-size: 14px; }
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: 3px solid #d7b36b66; border-color: #a97535; }
.comment-consent { display: flex; align-items: flex-start; gap: 10px; color: #62584d; font-size: 12px; line-height: 1.65; }
.comment-consent input { margin-top: 3px; accent-color: #6d3339; }
.comment-consent a { color: #702f38; text-underline-offset: 3px; }
.comment-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.comment-submit { justify-self: start; padding: 12px 18px; border: 0; border-radius: 999px; color: #fffaf0; background: #702f38; cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; }
.comment-submit:hover { background: #51222b; }
.comment-submit:disabled { opacity: .65; cursor: wait; }
.comment-status { min-height: 1.5em; margin: 0; color: #376452; font-size: 13px; }
.approved-comments { max-width: 820px; margin-top: 42px; }
.approved-comments h3 { margin: 0 0 18px; color: #4a2830; font-family: Georgia, serif; font-size: 25px; }
.approved-comments-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
.approved-comment, .empty-comments { padding: 20px; border: 1px solid #e5d8c4; border-radius: 16px; background: #fffaf1; }
.approved-comment h4 { display: inline; margin: 0; color: #4d2b31; font-size: 14px; }
.approved-comment time { margin-left: 10px; color: #897b69; font-size: 10px; }
.approved-comment p { margin: 13px 0 0; color: #4d453d; font-size: 13px; line-height: 1.7; white-space: pre-wrap; overflow-wrap: anywhere; }
.empty-comments { grid-column: 1 / -1; margin: 0; color: #766a5d; font-size: 13px; }
.legal-links { grid-column: 1 / -1; display: flex; gap: 22px; padding: 0 0 15px; border-bottom: 1px solid #ffffff17; font-size: 11px; }
.legal-links a { color: #f3d89d; text-underline-offset: 3px; }

.legal-page { min-height: 100vh; color: #332b26; background: #f8f3e9; }
.legal-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px max(24px, calc((100vw - 1120px) / 2)); border-bottom: 1px solid #e6dccb; background: #fffaf1; }
.legal-header .brand { text-decoration: none; }
.legal-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.legal-nav a { color: #5d3036; font-size: 12px; font-weight: 800; text-underline-offset: 4px; }
.legal-content { width: min(850px, calc(100% - 40px)); margin: 0 auto; padding: 62px 0 85px; }
.legal-content h1 { margin: 0 0 8px; color: #4a2830; font-family: Georgia, serif; font-size: clamp(40px, 8vw, 64px); font-weight: 600; letter-spacing: -.04em; }
.legal-updated { margin: 0 0 35px; color: #807467; font-size: 12px; }
.legal-content section { margin: 26px 0 0; padding: 0 0 20px; border-bottom: 1px solid #e5d9c8; }
.legal-content h2 { margin: 0 0 10px; color: #573039; font-family: Georgia, serif; font-size: 23px; }
.legal-content p, .legal-content li { color: #51483f; font-size: 14px; line-height: 1.8; }
.legal-content p { margin: 0 0 12px; }
.legal-content ul { padding-left: 22px; }
.legal-content a { color: #702f38; text-underline-offset: 3px; }
.legal-callout { padding: 14px 17px; border-left: 3px solid #d8ad60; background: #efe4d3; }
.legal-footer { padding: 20px 0 40px; color: #766a5d; text-align: center; font-size: 11px; }

.intro-stage.welcome-stage { gap: 13px; padding: 24px; }
.welcome-mark { display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid #f4d184a3; border-radius: 50%; color: #f6d376; background: #ffffff0c; font-size: 31px; box-shadow: 0 0 30px #d8a9512e; }
.intro-stage.welcome-stage .intro-title { font-size: clamp(42px, 8vw, 72px); }
.intro-stage.welcome-stage .intro-subtitle { max-width: 440px; font-size: 14px; line-height: 1.65; }
.intro-explore { margin-top: 5px; padding: 11px 17px; border: 1px solid #ffffff55; border-radius: 999px; color: #261a22; background: #f1cf78; cursor: pointer; font-size: 12px; font-weight: 900; }
.intro-explore:hover { background: #ffe298; }

@media (max-width: 900px) {
  .header-inner { width: calc(100% - 32px); }
  .site-nav { gap: 14px; }
  .site-nav a { font-size: 11px; }
  .site-nav .nav-lineage { padding: 8px 11px; }
  .hero { min-height: 560px; padding-right: 5vw; padding-left: 5vw; }
  .hero-art { min-height: 380px; }
  .hero-arch { height: 360px; }
  .hero-photo-frame { height: 320px; }
  .theory-grid { grid-template-columns: 1fr 1fr; }
  .theory-card:last-child { grid-column: 1 / -1; min-height: auto; }
}
@media (max-width: 700px) {
  :root { scroll-padding-top: 72px; }
  .header-inner { min-height: 66px; }
  .menu-toggle { display: grid; place-items: center; }
  .site-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 11px 18px 17px; border-bottom: 1px solid var(--line); background: #f8f3e9f5; box-shadow: 0 15px 25px #382b1a16; }
  .site-nav.is-open { display: flex; }
  .site-nav a, .site-nav .nav-lineage { padding: 11px 12px; border-radius: 10px; font-size: 13px; }
  .site-nav .nav-lineage { border: 0; background: #f4e8d4; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 0; padding: 59px 24px 72px; }
  .hero h1 { font-size: clamp(47px, 12vw, 66px); }
  .hero-intro { max-width: 490px; font-size: 15px; }
  .hero-art { min-height: 390px; margin-top: 8px; }
  .hero-photo-frame { width: min(66%, 260px); height: 330px; }
  .hero-arch { width: min(82%, 340px); height: 350px; }
  .hero-sun { width: 260px; }
  .hero-stamp { left: 6%; bottom: 10%; }
  .scroll-cue { bottom: 16px; }
  .content-section { padding: 68px 0; }
  .section-inner, .footer-inner { width: calc(100% - 34px); }
  .section-heading { margin-bottom: 28px; }
  .section-lead { font-size: 15px; }
  .history-grid { grid-template-columns: 1fr; }
  .history-note { min-height: 175px; }
  .story-card-main { padding: 23px 20px; }
  .story-card h3 { font-size: 24px; }
  .culture-copy-grid { grid-template-columns: 1fr; }
  .culture-card { min-height: 0; padding: 22px; }
  .ritual-card { grid-template-columns: 1fr; padding: 21px; }
  .ritual-gallery-block { margin-top: 3px; }
  .gallery-heading { align-items: flex-start; }
  .gallery-heading h3 { font-size: 20px; }
  .gallery-toggle { padding: 7px 9px; font-size: 10px; }
  .photo-card { flex-basis: 255px; width: 255px; }
  .photo-card a { height: 195px; }
  .festival-card .photo-card { flex-basis: 245px; width: 245px; }
  .festival-card .photo-card a { height: 190px; }
  .language-panel { padding: 24px 20px; }
  .language-panel > p { font-size: 14px; }
  .gotra-heading h3 { font-size: 27px; }
  .gotra-seal { flex-basis: 58px; width: 58px; height: 58px; font-size: 15px; }
  .theory-grid { grid-template-columns: 1fr; }
  .theory-card, .theory-card:last-child { grid-column: auto; min-height: 0; }
  .sources ul { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 18px; }
  .sources, .copyright { grid-column: auto; }
  .comment-form-row, .approved-comments-list { grid-template-columns: 1fr; }
  .section-feedback { padding: 65px 0 74px; }
  .legal-header { align-items: flex-start; flex-direction: column; padding: 16px 20px; }
  .legal-content { width: calc(100% - 36px); padding: 44px 0 64px; }
  .legal-content p, .legal-content li { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { transform: none; }
}
