:root {
  --maroon: #74452f;
  --maroon-deep: #36251d;
  --maroon-soft: #8b5638;
  --saffron: #DD8435;
  --orange-light: #E9CCA0;
  --orange-red: #CA692D;
  --yellow: #E8CB87;
  --saffron-light: #EFD9A2;
  --saffron-dark: #A14B16;
  --ivory: #FBF5EA;
  --ivory-dark: #F0E0CB;
  --ink: #3E2B22;
  --muted: #6F5C4F;

  --font-display: "Cinzel", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --header-h: 76px;
  --section-pad: clamp(4rem, 3rem + 5vw, 8rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow: 0 18px 50px rgba(43, 16, 14, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; line-height: 1.15; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed; top: 8px; left: 8px; z-index: 200;
  background: var(--saffron); color: var(--maroon-deep); padding: .7rem 1.1rem; font-weight: 600;
  transform: translateY(-200%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 760px; margin-inline: auto; }
.center { text-align: center; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: linear-gradient(105deg, #FBF1DD 0%, #ECD5A6 48%, #E8BE94 100%); color: var(--ink);
  border-bottom: 1px solid rgba(246, 155, 54, 0.35);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .18);
}
.header-inner { height: 100%; width: min(1320px, 100% - 2rem); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--saffron); background: var(--ivory); }
.brand-text { font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; font-size: 1rem; line-height: 1.1; font-weight: 600; }
.brand-text small { display: block; font-family: var(--font-sans); font-size: .62rem; letter-spacing: .4em; color: var(--ink); font-weight: 500; margin-top: 3px; }

.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav ul { display: flex; gap: clamp(.9rem, 1.6vw, 2rem); }
.primary-nav ul a {
  position: relative; text-decoration: none; color: var(--ink);
  font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; padding: .4rem 0;
}
.primary-nav ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--saffron); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.primary-nav ul a:hover::after, .primary-nav ul a:focus-visible::after, .primary-nav ul a.active::after { transform: scaleX(1); }
.primary-nav ul a:hover, .primary-nav ul a.active { color: var(--ink); }

.menu-toggle { display: none; width: 46px; height: 46px; background: transparent; border: 1px solid rgba(183,119,80,.6); border-radius: 50%; cursor: pointer; position: relative; color: var(--ink); }
.menu-bars, .menu-bars::before, .menu-bars::after { position: absolute; left: 50%; width: 18px; height: 2px; background: currentColor; transform: translateX(-50%); transition: transform .3s var(--ease), opacity .2s; content: ""; }
.menu-bars { top: 50%; margin-top: -1px; }
.menu-bars::before { top: -6px; left: 50%; }
.menu-bars::after { top: 6px; left: 50%; }
.menu-toggle[aria-expanded="true"] .menu-bars { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-bars::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem; border-radius: 2px; border: 1.5px solid transparent;
  font-family: var(--font-sans); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .3s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-saffron { background: linear-gradient(110deg, #E7B65F 0%, #E4A04B 45%, #DD8435 100%); color: var(--maroon-deep); box-shadow: 0 8px 24px rgba(183,119,80,.35); }
.btn-saffron:hover { background: var(--yellow); box-shadow: 0 12px 30px rgba(183,119,80,.5); }
.btn-light { background: var(--ivory); color: var(--maroon); }
.btn-light:hover { background: var(--ivory); }
.btn-outline { border-color: var(--saffron); color: var(--ivory); background: rgba(75,23,21,.25); }
.btn-outline:hover { background: var(--saffron); color: var(--maroon-deep); }
.btn-maroon { background: var(--maroon); color: var(--ivory); }
.btn-maroon:hover { background: var(--maroon-soft); }
.btn-ghost { border-color: var(--maroon); color: var(--maroon); }
.btn-ghost:hover { background: var(--maroon); color: var(--ivory); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  padding: calc(var(--header-h) + 2.5rem) 1.25rem 5.5rem; color: var(--ivory); text-align: center; overflow: hidden; isolation: isolate; background: var(--maroon-deep);
}
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(50,26,13,.58) 0%, rgba(50,26,13,.38) 45%, rgba(50,26,13,.75) 100%); }
.hero-content { display: flex; flex-direction: column; align-items: center; max-width: 1000px; }

.crest { position: relative; width: clamp(130px, 18vw, 190px); aspect-ratio: 1; display: grid; place-items: center; margin-bottom: clamp(1.4rem, 3vh, 2.4rem); }
.crest img { width: 66%; height: 66%; border-radius: 50%; object-fit: cover; background: var(--ivory); box-shadow: 0 0 40px rgba(183,119,80,.35); }
.crest .ring { position: absolute; border-radius: 50%; border: 1px solid var(--saffron); }
.crest .ring-1 { inset: 8%; opacity: .9; }
.crest .ring-2 { inset: 0; opacity: .5; }

.hero h1 {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  font-size: clamp(2.8rem, 1rem + 9vw, 8rem); line-height: 1;
  color: var(--saffron-light);
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.45));
  overflow-wrap: anywhere;
}
.hero-sub { margin: 1.2rem 0 0; text-transform: uppercase; letter-spacing: .5em; font-size: clamp(.75rem, .6rem + .6vw, 1.15rem); font-weight: 500; padding-left: .5em; }
.saffron-rule { display: flex; align-items: center; justify-content: center; gap: 1rem; width: min(260px, 70%); margin: 1.6rem auto; }
.saffron-rule::before, .saffron-rule::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--saffron)); }
.saffron-rule::after { background: linear-gradient(270deg, transparent, var(--saffron)); }
.saffron-rule i { width: 9px; height: 9px; background: var(--saffron); transform: rotate(45deg); flex: none; }
.saffron-rule.left { margin-left: 0; justify-content: flex-start; width: 220px; }
.saffron-rule.left::before { display: none; }
.hero-tag { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.3rem, 1rem + 1.4vw, 2.2rem); color: var(--ivory); margin: 0 0 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.hero-credit { position: absolute; left: 1.25rem; bottom: 1rem; margin: 0; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--saffron); border-radius: 14px; display: block; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--saffron); border-radius: 2px; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Facts ---------- */
.facts { background: var(--orange-light); color: var(--ink); padding: 0 1.25rem 1.6rem; }
.facts-grid { width: min(1180px, 100%); margin-inline: auto; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid li { padding: 2.2rem 1.2rem; text-align: center; border-left: 1px solid rgba(183,119,80,.3); display: flex; flex-direction: column; align-items: center; gap: .35rem; }
.facts-grid li:first-child { border-left: 0; }
.facts-grid svg { width: 34px; height: 34px; color: var(--ink); margin-bottom: .4rem; }
.facts-grid strong { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .06em; color: var(--ink); font-weight: 600; }
.facts-grid span { font-size: .85rem; color: var(--ink); }
.footnote { font-size: .78rem; color: var(--muted); max-width: 760px; margin: 1.4rem auto 0; line-height: 1.6; }
.facts .footnote { color: var(--ink); text-align: center; margin-top: 0; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-pad); }
.eyebrow { font-size: .78rem; letter-spacing: .32em; text-transform: uppercase; color: var(--saffron-dark); font-weight: 600; margin-bottom: 1rem; }
.eyebrow.saffron { color: var(--saffron-light); }
h2 { font-family: var(--font-display); font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3.2rem); letter-spacing: .04em; text-transform: uppercase; color: var(--maroon); overflow-wrap: break-word; }
h2 em { display: block; font-family: var(--font-serif); text-transform: none; font-style: italic; font-weight: 500; color: var(--saffron-dark); letter-spacing: 0; margin-top: .25em; font-size: 1.1em; }
.lead { font-family: var(--font-serif); font-size: clamp(1.25rem, 1.05rem + .9vw, 1.7rem); line-height: 1.5; color: var(--maroon); }
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.center .cta-row, .cta-row.center { justify-content: center; }

.overview { background: var(--ivory); }

/* ---------- Ayodhya heritage ---------- */
.heritage { background: var(--ivory-dark); }
.heritage-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
.heritage-media { position: relative; margin: 0 0 1.6rem 1.6rem; }
.heritage-media::before { content: ""; position: absolute; inset: 1.6rem 1.6rem -1.6rem -1.6rem; border: 1px solid var(--saffron); border-radius: 6px; z-index: 0; }
.heritage-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: 28% center; border-radius: 6px; box-shadow: var(--shadow); }
.heritage-media figcaption { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .15rem; margin-top: 1rem; font-family: var(--font-serif); font-style: italic; font-size: 1.1rem; color: var(--maroon); }
.heritage-credit { font-family: var(--font-sans); font-style: normal; font-size: .76rem; color: var(--muted); line-height: 1.5; }
.heritage-credit a, .heritage-sources a { color: var(--maroon); text-decoration: none; border-bottom: 1px solid var(--saffron); }
.heritage-credit a:hover, .heritage-sources a:hover { color: var(--saffron-dark); }
.heritage-copy .lead { font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); margin-bottom: 1.8rem; }
.heritage-themes { counter-reset: theme; border-top: 1px solid rgba(183,119,80,.45); }
.heritage-themes li { counter-increment: theme; display: grid; grid-template-columns: 2.6rem 1fr; column-gap: 1rem; padding-block: 1.2rem; border-bottom: 1px solid rgba(183,119,80,.45); }
.heritage-themes li::before { content: counter(theme, decimal-leading-zero); grid-row: 1 / span 2; font-family: var(--font-serif); font-size: 1.7rem; line-height: 1; color: var(--saffron-dark); }
.heritage-themes h3 { font-family: var(--font-serif); font-size: 1.35rem; color: var(--maroon); margin-bottom: .35rem; }
.heritage-themes p { margin: 0; font-size: .95rem; color: var(--muted); line-height: 1.65; }
.heritage-note { margin: 1.3rem 0 0; font-size: .85rem; font-style: italic; color: var(--muted); }
.heritage-sources { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; margin: 1rem 0 0; font-size: .76rem; color: var(--muted); }

.band { position: relative; min-height: clamp(380px, 60vw, 640px); display: grid; align-items: center; isolation: isolate; color: var(--ivory); overflow: hidden; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(43,16,14,.88), rgba(75,23,21,.45) 70%, rgba(75,23,21,.2)); }
.band-copy { width: min(1180px, 100% - 2.5rem); margin-inline: auto; max-width: 1180px; }
.band-copy > * { max-width: 560px; }
.band h2 { color: var(--ivory); }
.band h2 em { color: var(--saffron-light); }
.img-label { position: absolute; right: .75rem; bottom: .6rem; margin: 0; padding: .2rem .6rem; font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(43,16,14,.75); color: var(--ivory); border-radius: 2px; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 3.5rem; }
.card { background: var(--ivory); border: 1px solid var(--ivory-dark); border-top: 3px solid var(--saffron); box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s; }
.card:hover { transform: translateY(-6px); box-shadow: 0 26px 60px rgba(43,16,14,.25); }
.card-media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--maroon-deep); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body { padding: 1.8rem 1.6rem 2rem; flex: 1; display: flex; flex-direction: column; }
.card h3 { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: .05em; color: var(--maroon); margin-bottom: .8rem; text-transform: uppercase; }
.card p { color: var(--muted); font-size: .95rem; }
.text-link { margin-top: auto; align-self: flex-start; font-weight: 600; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--maroon); border-bottom: 1px solid var(--saffron); padding-bottom: 3px; }
.text-link:hover { color: var(--saffron-dark); }

/* ---------- Masterplan ---------- */
.masterplan { background: linear-gradient(135deg, #F5EAD1 0%, #ECD6A7 52%, #E9C29A 100%); color: var(--ink); }
.masterplan h2 { color: var(--ink); }
.masterplan h2 em { color: var(--ink); }
.masterplan p { color: var(--ink); }
.plan-figure { margin: 3rem 0 0; }
.plan-btn { position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--saffron); background: var(--maroon-deep); cursor: zoom-in; overflow: hidden; }
.plan-btn img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.plan-zoom { position: absolute; right: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; background: var(--maroon); color: var(--ivory); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; border: 1px solid var(--saffron); }
.plan-zoom svg { width: 18px; height: 18px; color: var(--saffron-light); }
.plan-figure figcaption { text-align: center; font-size: .8rem; margin-top: .9rem; color: var(--ink); }
.gallery-title { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .2em; color: var(--ink); font-size: 1.1rem; margin: 4rem 0 1.5rem; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.gallery button { position: relative; display: block; width: 100%; padding: 0; border: 1px solid rgba(183,119,80,.5); background: var(--maroon-deep); cursor: zoom-in; overflow: hidden; color: var(--ivory); }
.gallery img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .7s var(--ease), opacity .3s; }
.gallery button:hover img { transform: scale(1.06); opacity: .85; }
.gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: .6rem .9rem; background: linear-gradient(0deg, rgba(43,16,14,.9), transparent); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; text-align: left; }

/* ---------- Amenities ---------- */
.amenities { background: var(--ivory-dark); }
.amen-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3.2rem; }
.amen-grid li { text-align: center; padding: 2.2rem 1.4rem; border: 1px solid var(--ivory-dark); background: var(--ivory); position: relative; transition: transform .4s var(--ease), border-color .3s; }
.amen-grid li:hover { transform: translateY(-5px); border-color: var(--saffron); }
.amen-grid svg { width: 46px; height: 46px; color: var(--saffron-dark); margin-bottom: 1rem; }
.amen-grid h3 { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon); margin-bottom: .6rem; }
.amen-grid p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Places around Ayodhya ---------- */
.places { background: var(--ivory); }
.places-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; margin-top: 3.2rem; }
.place-card .card-media { aspect-ratio: 3/2; }
.place-card .card-body { padding: 1.5rem 1.5rem 1.8rem; }
.place-cat { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 600; color: var(--saffron-dark); margin: 0 0 .5rem; }
.place-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.place-card p:not(.place-cat) { margin-bottom: 1.2rem; }
.place-card .text-link span { color: var(--saffron-dark); display: inline-block; transition: transform .3s var(--ease); }
.place-card .text-link:hover span { transform: translateX(4px); }
.landmark-photo-credits { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--saffron); }
.landmark-photo-credits h3 { font-family: var(--font-display); font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--saffron-dark); }

/* ---------- Connectivity update ---------- */
.connectivity-update { background: var(--ivory-dark); }
.connectivity-feature {
  position: relative; display: grid; grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr); align-items: start; gap: 0 2.5rem; padding: clamp(1.35rem, 3.3vw, 3rem);
  background: var(--ivory); border: 1px solid var(--saffron); border-top: 5px solid var(--saffron); box-shadow: var(--shadow);
}
.connectivity-feature::after {
  content: ""; position: absolute; width: clamp(2.5rem, 7vw, 5.5rem); height: clamp(2.5rem, 7vw, 5.5rem); right: clamp(-.8rem, -1.6vw, -1.25rem); bottom: clamp(-.8rem, -1.6vw, -1.25rem);
  background: var(--orange-red); z-index: 0;
}
.connectivity-visual { position: relative; z-index: 1; margin: 0; min-height: 0; background: var(--orange-light); overflow: hidden; }
.connectivity-visual img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; object-position: 65% center; }
.connectivity-visual figcaption { position: relative; z-index: 1; margin: 0; padding: .7rem 1rem; background: var(--ink); color: var(--ivory); font-size: .65rem; font-weight: 600; line-height: 1.5; letter-spacing: .08em; text-align: left; text-transform: uppercase; }
.connectivity-copy { position: relative; z-index: 1; padding: 0; }
.connectivity-intro { grid-column: 1 / -1; position: relative; z-index: 1; }
.connectivity-intro .eyebrow { margin-bottom: .8rem; }
.connectivity-intro h2 { max-width: 1000px; font-size: clamp(1.65rem, 1.1rem + 1.8vw, 2.6rem); }
.connectivity-meta { display: flex; flex-wrap: wrap; gap: .85rem 1.2rem; align-items: center; margin: 1.4rem 0 1.55rem; padding-block: .9rem; border-block: 1px solid rgba(148,65,11,.28); }
.connectivity-date { display: flex; align-items: center; gap: .45rem; margin: 0; font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--saffron-dark); }
.connectivity-date svg { width: 1rem; height: 1rem; flex: none; }
.connectivity-tags { display: flex; flex-wrap: wrap; gap: .4rem; }
.connectivity-tags li { padding: .25rem .45rem; color: var(--ink); background: rgba(237,206,172,.58); font-size: .62rem; font-weight: 600; letter-spacing: .08em; line-height: 1.3; text-transform: uppercase; }
.connectivity-body { max-width: 660px; }
.connectivity-body p { color: var(--ink); font-size: clamp(.9rem, .84rem + .16vw, 1rem); line-height: 1.7; }
.connectivity-body p:last-child { margin-bottom: 1.65rem; }
.connectivity-report-link { gap: .7rem; background: linear-gradient(110deg, #E7B65F, #DD8435); color: var(--ink); box-shadow: 0 8px 20px rgba(160,102,60,.24); }
.connectivity-report-link:hover { background: var(--yellow); color: var(--ink); box-shadow: 0 12px 26px rgba(160,102,60,.32); }
.connectivity-report-link span { font-size: 1.05em; line-height: 1; }

/* ---------- Location ---------- */
.location { background: var(--ivory-dark); color: var(--ink); position: relative; }
.location::before { content: ""; position: absolute; inset: 0; opacity: .07; background: repeating-linear-gradient(45deg, var(--saffron) 0 1px, transparent 1px 22px); pointer-events: none; }
.location h2 { color: var(--maroon); }
.location h2 em { color: var(--saffron-dark); }
.loc-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.loc-grid p { color: var(--ink); }
.loc-points { display: grid; gap: 1.2rem; }
.loc-points li { display: flex; gap: 1.2rem; padding: 1.5rem; border: 1px solid rgba(183,119,80,.4); background: var(--ivory); backdrop-filter: blur(4px); }
.loc-points svg { width: 36px; height: 36px; color: var(--saffron); flex: none; }
.loc-points h3 { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; color: var(--maroon); margin-bottom: .3rem; }
.loc-points p { margin: 0; font-size: .92rem; }

/* ---------- About ---------- */
.about { background: var(--ivory); }
.about-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 2.5rem 0 0; background: var(--saffron); border: 1px solid var(--saffron); text-align: center; }
.about-meta div { background: var(--ivory); padding: 1.4rem 1rem; }
.about-meta dt { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--saffron-dark); font-weight: 600; margin-bottom: .4rem; }
.about-meta dd { margin: 0; font-family: var(--font-serif); font-size: 1.2rem; color: var(--maroon); line-height: 1.3; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(115deg, #F3E5C9 0%, #E7CA94 50%, #E6B991 100%); color: var(--ink); }
.contact h2 { color: var(--ink); }
.contact h2 em { color: var(--ink); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact p { color: var(--ink); }
.contact-list { margin: 2rem 0; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; flex-direction: column; border-left: 2px solid var(--saffron); padding-left: 1rem; }
.contact-list span { font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--ink); }
.contact-list a, .contact-list address { font-family: var(--font-serif); font-size: 1.4rem; color: var(--ink); text-decoration: none; font-style: normal; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--ink); }
.contact-list .whatsapp-text-link { margin-top: .3rem; align-self: flex-start; font-family: var(--font-sans); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--saffron); }
.contact-list .whatsapp-text-link:hover { color: var(--ink); }
.form { background: var(--ivory); color: var(--ink); padding: clamp(1.5rem, 4vw, 2.6rem); border-top: 4px solid var(--saffron); box-shadow: 0 30px 70px rgba(0,0,0,.35); }
.form h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .08em; color: var(--maroon); font-size: 1.4rem; margin-bottom: 1.4rem; }
.form label { display: block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--maroon); margin-bottom: 1.1rem; }
.form input, .form select, .form textarea {
  display: block; width: 100%; margin-top: .4rem; padding: .85rem 1rem; font: inherit; font-size: 1rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink);
  background: var(--ivory); border: 1px solid #d8cdb2; border-radius: 2px; transition: border-color .2s, box-shadow .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--saffron); box-shadow: 0 0 0 3px rgba(183,119,80,.35); }
.form .was-validated :invalid, .form input.touched:invalid, .form select.touched:invalid, .form textarea.touched:invalid { border-color: #b3261e; }
.form .btn { width: 100%; margin-top: .4rem; }
.form-status { margin: 1rem 0 0; min-height: 1.4em; font-weight: 600; color: var(--maroon) !important; font-size: .9rem; }
.form-status.error { color: #b3261e !important; }
.form-note { margin: .6rem 0 0; font-size: .76rem; color: var(--muted) !important; line-height: 1.55; }

/* ---------- FAQ ---------- */
.faq { background: var(--ivory-dark); }
.accordion { margin-top: 2.5rem; border-top: 1px solid var(--saffron); }
.acc-item { border-bottom: 1px solid var(--saffron); }
.acc-item h3 { font-size: inherit; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.4rem .25rem; background: none; border: 0; cursor: pointer; text-align: left; font-family: var(--font-serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 600; color: var(--maroon); }
.acc-btn:hover { color: var(--saffron-dark); }
.acc-icon { position: relative; flex: none; width: 18px; height: 18px; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--saffron-dark); transition: transform .3s var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
.acc-btn[aria-expanded="true"] .acc-icon::after { transform: rotate(0); }
.acc-panel { padding: 0 .25rem 1.5rem; color: var(--muted); max-width: 680px; }
.acc-panel p { margin: 0; }
.acc-panel:not([hidden]) { animation: fadeDown .4s var(--ease); }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.site-footer { background: linear-gradient(110deg, #E8C98E, #E3B78F); color: var(--ink); padding-top: 4rem; border-top: 3px solid var(--saffron); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--saffron); margin-bottom: 1rem; background: var(--ivory); }
.footer-brand h2 { color: var(--ink); font-size: 1.5rem; }
.footer-brand p { font-family: var(--font-serif); font-style: italic; font-size: 1.2rem; margin-top: .5rem; }
.site-footer h3 { font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); font-size: .95rem; margin-bottom: 1rem; }
.site-footer li { margin-bottom: .55rem; font-size: .92rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.footer-whatsapp-label { color: var(--ink); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-legal { border-top: 1px solid rgba(183,119,80,.3); padding-block: 1.8rem 6rem; font-size: .76rem; line-height: 1.7; color: var(--ink); }
.footer-legal p:last-child { margin: 0; }

/* ---------- Floating actions ---------- */
.float-actions { position: fixed; right: 1rem; bottom: 1rem; z-index: 90; display: flex; flex-direction: column; gap: .7rem; }
.float-btn { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--ivory); box-shadow: 0 8px 24px rgba(0,0,0,.35); border: 2px solid var(--saffron); transition: transform .3s var(--ease); }
.float-btn:hover { transform: scale(1.1); }
.float-btn svg { width: 26px; height: 26px; }
.float-btn.whatsapp { background: #1a7f4b; }
.float-btn.call { background: var(--maroon); }

/* ---------- Lightbox ---------- */
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: transparent; color: var(--ivory); }
.lightbox::backdrop { background: rgba(43,16,14,.92); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; place-items: center; padding: 3.5rem 1rem 1rem; animation: fadeIn .3s; }
.lb-figure { margin: 0; max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: .8rem; }
.lb-figure img { max-width: 100%; max-height: calc(100dvh - 9rem); object-fit: contain; background: var(--ivory); border: 1px solid var(--saffron); }
.lb-figure figcaption { font-size: .85rem; letter-spacing: .08em; text-align: center; color: rgba(255,255,255,.85); }
.lb-close { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--saffron); background: var(--maroon); color: var(--ivory); cursor: pointer; display: grid; place-items: center; }
.lb-close svg { width: 20px; height: 20px; }
.lb-close:hover { background: var(--saffron); color: var(--maroon-deep); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .primary-nav ul a { font-size: .75rem; letter-spacing: .08em; }
  .nav-brochure { padding: .8rem 1rem; font-size: .72rem; }
  .amen-grid { grid-template-columns: repeat(2, 1fr); }
  .places-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .primary-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
    flex-direction: column; align-items: stretch; gap: 1.2rem; padding: 1.5rem 1.5rem 2rem;
    background: var(--maroon); border-bottom: 2px solid var(--saffron);
    visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
  }
  .primary-nav.open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .primary-nav ul { flex-direction: column; gap: 0; }
  .primary-nav ul a { display: block; padding: 1rem 0; font-size: .9rem; border-bottom: 1px solid rgba(183,119,80,.25); }
  .primary-nav ul a::after { display: none; }
  .nav-brochure { width: 100%; }
  .cards { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .heritage-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; }
  .heritage-media img { aspect-ratio: 16/10; object-position: 30% center; }
  .connectivity-feature { grid-template-columns: 1fr; }
  .connectivity-visual { aspect-ratio: auto; margin-bottom: 1.5rem; }
  .connectivity-visual img { min-height: 0; max-height: none; }
  .loc-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid li:nth-child(odd) { border-left: 0; }
  .facts-grid li:nth-child(n+3) { border-top: 1px solid rgba(183,119,80,.3); }
  .gallery { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .about-meta { grid-template-columns: 1fr; }
  .amen-grid { grid-template-columns: 1fr; }
  .places-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .hero-sub { letter-spacing: .3em; }
  .hero-actions .btn { width: 100%; }
  .hero-credit { left: 0; right: 0; text-align: center; bottom: 4.2rem; }
  .connectivity-copy { padding: 0; }
  .connectivity-meta { align-items: flex-start; }
  .connectivity-visual figcaption { padding-right: 2.5rem; font-size: .6rem; }
  .band-shade { background: linear-gradient(180deg, rgba(43,16,14,.55), rgba(43,16,14,.9)); }
  .band { align-items: end; padding-bottom: 3rem; }
  .brand-text { font-size: .9rem; }
  .cta-row .btn { width: 100%; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
  .facts-grid li { padding: 1.6rem .6rem; }
  .facts-grid strong { font-size: 1.05rem; }
  .plan-zoom { position: static; justify-content: center; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .scroll-cue span { animation: none; opacity: 1; }
}

/* Licensed landmark photographs */
.photo-credit-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .6rem 1.5rem; text-align: left; margin: 1rem auto; max-width: 1000px; }
.photo-credit-list a { text-decoration: underline; text-underline-offset: 3px; }
.landmark-photo-credits p { max-width: 1000px; margin: .75rem auto; }
.landmark-photo-credits a:focus-visible { outline-color: var(--saffron-dark); }
@media(max-width:640px){.photo-credit-list{grid-template-columns:1fr;}}

/* Soft sandstone, peach and copper surfaces inspired by the client reference. */
.masterplan .eyebrow.saffron, .contact .eyebrow.saffron { color: var(--ink); }
.location .eyebrow.saffron { color: var(--saffron-dark); }
.location .btn-outline, .contact .btn-outline { color: var(--ink); background: transparent; border-color: var(--ink); }
.contact .btn-outline:hover { background: var(--ink); color: var(--ivory); }
.primary-nav ul a::after { background: var(--ink); }
.facts-grid li, .contact-list li { border-color: rgba(52,31,25,.3); }
.site-footer { border-top: 4px solid var(--orange-red); }
.footer-legal { border-color: rgba(52,31,25,.3); }
.btn-maroon { background: var(--saffron); color: var(--ink); }
.btn-maroon:hover { background: var(--orange-light); }
:focus-visible { outline-color: var(--ink); }
@media(max-width:960px){.primary-nav{background:var(--orange-light);}.primary-nav ul a{color:var(--ink);}.primary-nav ul a:hover,.primary-nav ul a.active{color:var(--ink);}}
