/* Second iteration: A Home in the Hills. Existing content and DC interactions remain source-owned. */
:root { --cream: #faf7ef; --ink: #122f22; --muted: #536052; --orange: #f47716; --line: #deded0; --sage: #eff2e8; }
html { scroll-padding-top: 100px; }
body { background: var(--cream) !important; color: var(--ink) !important; }
#dc-root, #dc-root > .sc-host { height: auto !important; min-height: 100%; }
*, *::before, *::after { box-sizing: border-box; }
h1, h2, h3, blockquote { font-family: Georgia, 'Noto Sans Devanagari', serif !important; }
h2 { font-size: clamp(34px, 4.2vw, 56px) !important; font-weight: 500 !important; letter-spacing: -.035em; line-height: 1.1 !important; color: var(--ink); }
h3 { font-weight: 500 !important; letter-spacing: -.02em; }
p { text-wrap: pretty; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid #bd601d !important; outline-offset: 5px !important; }
header { background: rgba(250,247,239,.98) !important; border-color: var(--line) !important; }
header > div { max-width: 1440px !important; min-height: 88px; padding: 12px clamp(20px,4vw,64px) !important; gap: 24px !important; }
header a[href='#top'] img { width: 58px !important; height: 58px !important; border: 0 !important; object-fit: cover !important; border-radius: 50% !important; }
header a[href='#top'] span span:first-child { font-family: Georgia, serif !important; font-size: clamp(16px,1.7vw,24px) !important; color: var(--ink) !important; }
header nav { gap: 24px !important; }
header nav a { color: var(--ink) !important; }
header button { background: transparent !important; border: 0 !important; border-radius: 0 !important; }
header a[href='#donate'] { background: var(--orange) !important; color: #fff !important; padding-inline: 30px !important; }
.hero { position: relative; min-height: 700px; isolation: isolate; display: flex; align-items: center; padding: 68px max(5vw,24px) 48px; overflow: hidden; background: #263527; color: #fffaf0; }
.hero__photo { position: absolute; inset: 0; z-index: -2; height: 100%; width: 100%; object-fit: cover; object-position: center 48%; }
.hero::before { content: ''; position: absolute; inset: 0; background: rgba(12,19,12,.43); z-index: -1; }
.hero__content { max-width: 570px; min-width: 0; }
.hero__eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 24px; color: #fff7e7; }
.hero h1 { font-size: clamp(58px,7vw,100px); line-height: .99; letter-spacing: -.025em; font-weight: 500; margin: 0 0 16px; max-width: 9ch; text-wrap: balance; color: #fffaf0; }
.hero h1 span { display: block; white-space: nowrap; }
.hero__promise { max-width: 24ch; }
.hero__promise { font-family: Georgia, 'Noto Sans Devanagari', serif; font-size: clamp(25px,2.8vw,37px); line-height: 1.13; font-weight: 600; max-width: 24ch; margin: 0 0 18px; }
.hero__intro { font-family: Georgia, 'Noto Sans Devanagari', serif; font-size: 19px; line-height: 1.5; max-width: 48ch; margin: 0; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 25px; }
.hero__primary { display: inline-flex; justify-content: center; align-items: center; min-height: 58px; padding: 14px 36px; background: var(--orange); border-radius: 100px; color: #fff; font-size: 18px; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
.hero__primary:hover { background: #d85e09; color: #fff; transform: translateY(-2px); }
.hero__secondary { color: #fffaf0; font-size: 16px; padding: 12px 0; }
.hero__secondary:hover { color: white; }
.hero__footnote { margin: 20px 0 0; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
main section:not(.hero) { padding: clamp(60px,7vw,104px) clamp(22px,5vw,72px) !important; }
main section > div { max-width: 1280px !important; }
main section:not(.hero) > div > p:first-child,
#story > div > div > p:first-child,
#visit > div > div > p:first-child,
section[aria-label='Registered and accountable'] > div > div > p:first-child {
 background: transparent !important; padding: 0 !important; border-radius: 0 !important; text-transform: uppercase; letter-spacing: .19em; font-size: 11px !important; color: #66836a !important; margin-bottom: 22px !important;
}
#story { background: var(--cream); }
main #story { padding-block: 48px !important; }
#story > div { gap: 70px !important; }
#story h2 { max-width: 20ch !important; }
#story figure img { height: 400px !important; border-radius: 14px !important; }
#story figure figcaption { font-size: 12px !important; }
#story > div > div > p:not(:first-child) { font-family: Georgia, 'Noto Sans Devanagari', serif; font-size: 21px !important; line-height: 1.55 !important; }
.story-link { display: inline-block; margin-top: 22px; color: var(--ink); font-weight: 700; text-underline-offset: 8px; text-decoration-color: var(--orange); }
main section[aria-label='In numbers'] { padding-block: 35px !important; border-block: 1px solid var(--line); }
section[aria-label='In numbers'] > div { gap: 0 !important; }
section[aria-label='In numbers'] > div > div { background: transparent !important; border-radius: 0 !important; text-align: center; border-right: 1px solid var(--line); padding: 8px 20px !important; }
section[aria-label='In numbers'] > div > div:last-child { border: 0; }
section[aria-label='In numbers'] > div > div > p:first-child { font-family: Georgia, serif !important; font-weight: 400 !important; color: var(--ink) !important; font-size: 48px !important; }
section[aria-label='In numbers'] > div > div > p:last-child { font-size: 12px !important; font-weight: 500 !important; letter-spacing: .07em; }
#work, #visit { background: var(--sage) !important; }
#work article { background: transparent !important; border-radius: 0 !important; box-shadow: none !important; padding: 0 !important; transform: none !important; }
#work article > div:first-child { width: 100% !important; margin: 0 0 25px !important; border-radius: 10px !important; aspect-ratio: 4 / 3 !important; }
#work article h3 { font-size: 28px !important; }
#work article p { color: var(--muted) !important; }
#work > div > div { gap: 30px !important; }
#herd article > div { border-radius: 10px !important; }
#herd article h3 { font-size: 29px !important; margin-top: 20px !important; }

main #donate { padding: 76px max(5vw,22px) !important; background: #183626; }
#donate > div { background: transparent !important; padding: 0 !important; border-radius: 0 !important; }
#donate h2, #gallery h2 { color: #fff9ea !important; }
#donate dd { overflow-wrap: anywhere; }
#donate img { border-radius: 10px !important; }
section[aria-label='Registered and accountable'] { border-bottom: 1px solid var(--line); }
main #gallery { background: #173323 !important; }
#gallery > div > div { border-radius: 12px !important; }
section[aria-label='What people say'] > div > div > div { border-radius: 0 !important; background: transparent !important; padding: 26px 0 !important; border-top: 1px solid #bfc7b6; }
blockquote { font-size: 25px !important; line-height: 1.4 !important; }
#visit img { border-radius: 12px !important; }
#visit dd { font-size: 17px; }
#people article img, #people article > div { border-radius: 10px !important; }
#people h3 { font-size: 23px !important; }
footer { background: #112d20 !important; padding-top: 54px !important; }
footer > div { max-width: 1280px !important; }
.mobile-actions { background: rgba(250,247,239,.98) !important; }
.mobile-actions a:first-child { background: var(--orange) !important; color: #fff !important; }
html[lang='hi'] h1, html[lang='hi'] h2, html[lang='hi'] h3, html[lang='hi'] .hero__promise { line-height: 1.4 !important; letter-spacing: 0; }
html[lang='hi'] .hero h1 { font-size: clamp(48px,6vw,76px); max-width: 12ch; }
@media(min-width: 1160px) {
 header nav a[href='#activities'], header nav a[href='#herd'] { display: none; }
 #work > div > div { grid-template-columns: repeat(4,1fr) !important; }
}
@media(min-width: 761px) and (max-width: 1159px) {
 #work > div > div { grid-template-columns: repeat(2,1fr) !important; }
 .mobile-actions, .mobile-actions + div { display: none !important; }
}
@media(max-width: 760px) {
 html { scroll-padding-top: 85px; }
 header > div { min-height: 76px; gap: 8px !important; padding: 10px 16px !important; }
 header a[href='#top'] { gap: 7px !important; }
 header a[href='#top'] img { width: 42px !important; height: 48px !important; }
 header a[href='#top'] span span:first-child { white-space: normal !important; font-size: 15px !important; max-width: 19ch; }
 header a[href='#top'] span span:last-child { font-size: 10px !important; margin-top: 3px !important; }
 header button[aria-label='Language'] { font-size: 12px !important; padding: 0 5px !important; }
 header button[aria-label='Menu'] { width: 36px !important; }
 header nav { max-height: calc(100dvh - 150px); overflow-y: auto; }
 .hero { min-height: 710px; padding: 60px 24px 48px; align-items: flex-end; }
 .hero__photo { object-position: 61% center; }
 .hero::before { background: rgba(10,22,13,.58); }
 .hero h1 { font-size: clamp(46px,15vw,62px); }
 .hero__promise { font-size: 27px; }
 .hero__intro { font-size: 17px; line-height: 1.5; }
 .hero__eyebrow { font-size: 10px; }
 .hero__actions { gap: 14px; }
 .hero__primary { padding: 14px 24px; font-size: 16px; }
 .hero__secondary { font-size: 14px; }
 #story > div { gap: 32px !important; }
 #story figure img { height: 320px !important; }
 #story > div > div > p:not(:first-child) { font-size: 19px !important; }
 section[aria-label='In numbers'] > div { grid-template-columns: repeat(2,1fr) !important; gap: 28px 0 !important; }
 section[aria-label='In numbers'] > div > div:nth-child(2) { border-right: 0; }
 #herd > div > div { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
 #herd article h3 { font-size: 25px !important; }
 #herd article p { font-size: 14px !important; }
 #work > div > div { gap: 40px !important; }
 #donate > div > div { gap: 38px !important; }
 #donate h2 { font-size: 38px !important; }
}
@media(prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }

/* Scoped section components: no legacy inline card styling. */
.section-shell { margin: 0 auto; }
.section-shell h2 { margin: 0; max-width: 23ch; }
.section-intro { max-width: 64ch; margin: 22px 0 44px; font-size: 18px; line-height: 1.7; color: var(--muted); }
.section-kicker { margin: 0 0 18px; font: 700 11px/1.6 'Nunito Sans', 'Noto Sans Devanagari', sans-serif; color: #66836a; text-transform: uppercase; letter-spacing: .16em; }
.section-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px; background: var(--orange); color: #241a08; text-decoration: none; font-size: 15px; line-height: 1.4; font-weight: 700; transition: background .18s, border-color .18s; }
.section-button:hover { background: #df690f; color: #241a08; }
.section-button--outline { background: transparent; border-color: #a7b4a2; color: var(--ink); }
.section-button--outline:hover { background: #e7ecdf; border-color: var(--ink); color: var(--ink); }
.sponsor-layout { display: grid; grid-template-columns: 240px minmax(0,1fr); gap: 64px; align-items: start; }
.sponsor-benefits { padding-top: 24px; border-top: 1px solid #b7c3b0; }
.sponsor-benefits ul { margin: 0; padding: 0; list-style: none; }
.sponsor-benefits li { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--muted); }
.seva-list { border-top: 1px solid #b7c3b0; }
.seva-row { display: grid; grid-template-columns: minmax(0,1fr) 140px 124px; align-items: center; gap: 24px; padding: 25px 0; border-bottom: 1px solid var(--line); }
.seva-copy h3 { margin: 0 0 8px; font-size: 24px; color: var(--ink); }
.seva-copy p { margin: 0; max-width: 48ch; font-size: 15px; line-height: 1.65; color: var(--muted); }
.seva-price { margin: 0; font: 400 31px/1.25 Georgia, 'Noto Sans Devanagari', serif; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.seva-price span { display: block; margin-top: 5px; font: 400 12px/1.5 'Nunito Sans', 'Noto Sans Devanagari', sans-serif; color: var(--muted); }
.seva-row .section-button { padding-inline: 14px; }
#occasions { background: #f1e9db; }
.occasion-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px; }
.occasion-card { padding: 28px 0 34px; border-top: 1px solid #c6bda9; }
.occasion-card h3 { margin: 0 0 22px; font-size: 28px; }
.occasion-card .seva-price { color: #85451c; font-size: 38px; }
.occasion-description { margin: 22px 0 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.booking-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px; padding: 30px 0; margin-top: 14px; border-top: 1px solid #c6bda9; }
.booking-steps .section-kicker { margin-bottom: 12px; color: #685f4b; }
.booking-steps p:not(.section-kicker) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.7; }
#occasions .section-button { margin-top: 8px; }
#activities { background: var(--sage); }
.activity-list { border-top: 1px solid #c3cdbb; }
.activity-row { display: grid; grid-template-columns: 34% minmax(0,1fr); gap: 48px; align-items: center; padding: 32px 0; border-bottom: 1px solid #c3cdbb; }
.activity-row > img { width: 100%; height: 250px; object-fit: cover; border-radius: 10px; display: block; }
.activity-copy h3 { font-size: 32px; margin: 0 0 16px; }
.activity-copy > p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--muted); max-width: 67ch; }
.activity-copy .activity-schedule { margin-top: 20px; padding-top: 16px; border-top: 1px solid #d5ddce; font-size: 13px; font-weight: 700; color: #36583f; }
.activity-schedule span { font-weight: 400; }
#activities .section-button { margin-top: 32px; }
/* A modal is a viewport surface, never a page-width section container. */
main #gallery > .photo-viewer { width: 100%; max-width: none !important; height: 100dvh; border-radius: 0 !important; padding: 0 !important; background: #0b140e !important; }
.photo-viewer > div { border-radius: 0 !important; }
.photo-viewer > div:first-child { padding-top: max(14px,env(safe-area-inset-top)) !important; }
.photo-viewer > div:last-child { padding-bottom: max(18px,env(safe-area-inset-bottom)) !important; }
.photo-viewer img { max-height: 100%; object-fit: contain; }
@media(max-width:1100px) {
 .sponsor-layout { grid-template-columns: 1fr; gap: 28px; }
 .sponsor-benefits ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
 .sponsor-benefits li { padding: 0; border: 0; }
 .activity-row { gap: 32px; }
}
@media(max-width:760px) {
 .section-intro { margin: 20px 0 32px; font-size: 16px; }
 .sponsor-benefits ul { grid-template-columns: 1fr; gap: 10px; }
 .seva-row { grid-template-columns: minmax(0,1fr) auto; gap: 18px 16px; padding: 24px 0; }
 .seva-copy { grid-column: 1 / -1; }
 .seva-copy h3 { font-size: 25px; }
 .seva-price { font-size: 29px; }
 .seva-price span { font-size: 12px; }
 .occasion-grid, .booking-steps { grid-template-columns: 1fr; gap: 0; }
 .occasion-card { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 16px; padding: 26px 0; }
 .occasion-card h3 { margin: 0; font-size: 25px; }
 .occasion-card .seva-price { font-size: 29px; text-align: right; }
 .occasion-description { grid-column: 1 / -1; margin: 0; font-size: 15px; }
 .booking-steps { padding: 24px 0 0; margin-top: 12px; gap: 24px; }
 #occasions .section-button { margin-top: 28px; }
 .activity-row { grid-template-columns: 1fr; gap: 22px; padding: 28px 0; }
 .activity-row > img { height: auto; aspect-ratio: 4/3; }
 .activity-copy h3 { font-size: 28px; margin-bottom: 12px; }
 .activity-copy > p { font-size: 15px; }
 .photo-viewer > div:nth-child(2) { padding: 0 12px 54px !important; }
 .photo-viewer > div:nth-child(2) > button { top: auto !important; bottom: 0; transform: none !important; height: 48px !important; }
 .photo-viewer > div:nth-child(2) > button:first-of-type { left: calc(50% - 66px) !important; }
 .photo-viewer > div:nth-child(2) > button:last-of-type { right: calc(50% - 66px) !important; }
}
