/* =========================================================
   Miss Desert Rajsthan — static demo stylesheet
   Edit the tokens in :root to re-theme the whole site.
   ========================================================= */
:root {
  --bg: #0B0807;
  --surface: #17110E;
  --surface-2: #201814;
  --text: #F6EFE4;
  --muted: #B3A89A;
  --accent: #D6A84F;
  --sun: #F0A640;
  --ember: #C8553D;
  --accent-2: #C0586A;
  --line: rgba(214, 168, 79, .30);
  --line-soft: rgba(245, 242, 236, .10);
  --font-head: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased; padding-bottom: 0;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #000; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
section { padding-block: clamp(64px, 9vw, 120px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.band { background: var(--surface); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(28px, 4vw, 52px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .6em 0 0; color: var(--muted); max-width: 52ch; }

/* placeholder text the client must replace */
.ph { border-bottom: 1px dashed var(--accent); color: var(--accent); font-style: normal; background: rgba(214,168,79,.07); padding: 0 .25em; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .75em 1.6em; border: 1px solid var(--accent);
  background: var(--accent); color: #0A0A0A; font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  border-radius: 2px; transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { background: transparent; color: var(--accent); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .85rem; }
.btn[disabled] { opacity: .6; cursor: progress; }
.text-link { color: var(--accent); border-bottom: 1px solid var(--line); padding-bottom: 2px; }
.text-link:hover { border-color: var(--accent); }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); transition: background .3s var(--ease), border-color .3s var(--ease); border-bottom: 1px solid transparent; }
.site-header.solid, body.inner .site-header { background: rgba(11,8,7,.94); backdrop-filter: blur(10px); border-color: var(--line-soft); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.wordmark { display: flex; flex-direction: column; line-height: 1; gap: 5px; }
.wordmark b { font-family: var(--font-head); font-weight: 600; font-size: 1.32rem; letter-spacing: .01em; }
.wordmark i { font-style: normal; font-family: var(--font-body); font-weight: 500; font-size: .58rem; letter-spacing: .52em; text-transform: uppercase; color: var(--accent); }
.brand:hover .wordmark b { background: linear-gradient(100deg, var(--text) 30%, var(--accent) 50%, var(--text) 70%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 1.1s var(--ease); }
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.site-footer .brand-mark { width: 54px; height: 54px; }
.site-footer .wordmark b { font-size: 1.6rem; }
.menu { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.menu a { font-size: .92rem; color: var(--muted); padding: 6px 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.menu a:hover, .menu a[aria-current="page"] { color: var(--text); border-color: var(--accent); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.burger { display: none; background: none; border: 1px solid var(--line); width: 46px; height: 46px; border-radius: 2px; }
.burger span { display: block; width: 20px; height: 1.5px; background: var(--text); margin: 5px auto; transition: transform .25s; }
@media (max-width: 1080px) {
  .burger { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .menu { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px; transform: translateY(-120%); transition: transform .35s var(--ease); max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .menu.open { transform: none; }
  .menu li { border-bottom: 1px solid var(--line-soft); }
  .menu a { display: block; padding: 16px 0; font-size: 1.05rem; }
}
@media (max-width: 520px) { .nav-cta .btn { display: none; } }

/* ---------- the arch (signature shape: Jaipur jharokha) ---------- */
.arch { border-radius: 999px 999px 0 0; overflow: hidden; position: relative; background: var(--surface-2); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
a:hover > .arch img, .card:hover .arch img { transform: scale(1.05); }
.arch-line { position: relative; }
.arch-line::after { content: ""; position: absolute; inset: -10px -10px 0 -10px; border: 1px solid var(--line); border-bottom: 0; border-radius: 999px 999px 0 0; pointer-events: none; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; padding: calc(var(--header-h) + 28px) 0 clamp(120px, 19vh, 210px); display: flex; align-items: center; position: relative; overflow: hidden;
  background: radial-gradient(900px 520px at 78% 38%, rgba(192,88,106,.16), transparent 70%), radial-gradient(700px 500px at 10% 100%, rgba(214,168,79,.10), transparent 70%), var(--bg); }
.hero .wrap { position: relative; z-index: 3; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .35em; font-size: clamp(2.4rem, 4.9vw, 4.2rem); }
.hero .lead { margin-bottom: 2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 28px; font-size: .88rem; color: var(--muted); display: flex; gap: 10px; align-items: center; }
.hero-note::before { content: ""; width: 36px; height: 1px; background: var(--accent); }
.hero-visual { position: relative; width: min(100%, 400px); justify-self: end; }
.hero-frame { position: relative; z-index: 2; width: 100%; aspect-ratio: 3 / 4.1; }
.hero-frame .arch { height: 100%; }
.slides { position: absolute; inset: 0; }
.slides > * { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.slides > .on { opacity: 1; }
.slide-dots { position: absolute; left: 0; right: 0; bottom: -34px; display: flex; gap: 8px; justify-content: center; }
.slide-dots button { width: 26px; height: 3px; border: 0; padding: 0; background: var(--line-soft); }
.slide-dots button.on { background: var(--accent); }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: start; width: min(78%, 340px); margin-top: 8px; margin-bottom: 30px; }
}

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line-soft); overflow: hidden; padding: 18px 0; background: var(--bg); }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: scroll 38s linear infinite; font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--muted); }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 7px; height: 7px; transform: rotate(45deg); background: var(--accent-2); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- about + stats ---------- */
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.split.flip { grid-template-columns: 1.1fr .9fr; }
.split .arch { aspect-ratio: 3/4; max-width: 460px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 36px; border-top: 1px solid var(--line-soft); }
.stat { padding: 22px 18px 0 0; }
.stat b { display: block; font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 500; color: var(--accent); line-height: 1; }
.stat span { font-size: .88rem; color: var(--muted); display: block; margin-top: 8px; }
@media (max-width: 860px) { .split, .split.flip { grid-template-columns: 1fr; } .stats { grid-template-columns: repeat(2, 1fr); gap: 8px 0; } }

/* ---------- cards: courses ---------- */
.grid { display: grid; gap: clamp(20px, 2.6vw, 36px); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; gap: 18px; }
.card .arch { aspect-ratio: 3/3.7; }
.card h3 { margin: 0 0 .25em; }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.info-card { padding: clamp(22px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line-soft); border-top: 2px solid var(--accent); }
.info-card h3 { font-size: 1.5rem; margin-bottom: 12px; }
.info-card p { color: var(--muted); margin: 0; }
.feature-photo { overflow: hidden; border-radius: 160px 160px 4px 4px; aspect-ratio: 4 / 4.2; max-height: 480px; }
.feature-photo img { width: 100%; height: 100%; object-fit: cover; }
.eyebrow { display: block; color: var(--accent); font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: .78rem; border: 1px solid var(--line); padding: 3px 12px; border-radius: 999px; color: var(--accent); }
.badge.rose { border-color: rgba(192,88,106,.5); color: #d98a95; }
.meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid var(--line-soft); padding-top: 14px; margin-top: auto; font-size: .92rem; }
.price { font-family: var(--font-head); font-size: 1.35rem; color: var(--text); }
.price s { color: var(--muted); font-size: 1rem; margin-right: 8px; }

/* ---------- why us ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-soft); border-left: 1px solid var(--line-soft); }
.why > div { padding: 32px 28px; border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.why svg { width: 30px; height: 30px; color: var(--accent); margin-bottom: 16px; }
.why h3 { font-size: 1.35rem; margin-bottom: .35em; }
.why p { color: var(--muted); font-size: .95rem; margin: 0; }
@media (max-width: 900px) { .why { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }

/* ---------- mentors ---------- */
.mentor .arch { aspect-ratio: 3/4; }
.mentor .role { color: var(--accent); font-size: .9rem; margin-bottom: .6em; }

/* ---------- gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { border: 1px solid var(--line-soft); background: transparent; padding: 8px 18px; border-radius: 999px; font-size: .9rem; color: var(--muted); transition: all .2s; min-height: 40px; }
.chip:hover { color: var(--text); border-color: var(--line); }
.chip[aria-pressed="true"] { background: var(--accent); color: #0A0A0A; border-color: var(--accent); }
.masonry { columns: 4 220px; column-gap: 16px; }
.masonry figure { margin: 0 0 16px; break-inside: avoid; position: relative; overflow: hidden; background: var(--surface-2); cursor: zoom-in; }
.masonry img { width: 100%; height: auto; transition: transform .6s var(--ease); }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; inset: auto 0 0 0; padding: 28px 14px 12px; font-size: .85rem; background: linear-gradient(transparent, rgba(0,0,0,.8)); opacity: 0; transition: opacity .3s; }
.masonry figure:hover figcaption, .masonry figure:focus-within figcaption { opacity: 1; }
.masonry button { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 24px; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 84vh; width: auto; max-width: 92vw; }
.lightbox .cap { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: .9rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.08); border: 1px solid var(--line-soft); width: 48px; height: 48px; border-radius: 50%; font-size: 1.4rem; }
.lb-btn:hover { border-color: var(--accent); color: var(--accent); }
.lb-close { top: 18px; right: 18px; } .lb-prev { left: 18px; } .lb-next { right: 18px; }

/* ---------- models ---------- */
.toolbar { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 12px; margin-bottom: 32px; }
@media (max-width: 960px) { .toolbar { grid-template-columns: 1fr 1fr; } .toolbar .search { grid-column: 1 / -1; } }
.model { position: relative; }
.model .arch { aspect-ratio: 3/4; }
.model h3 { font-size: 1.3rem; margin: 14px 0 2px; }
.model .sub { color: var(--muted); font-size: .88rem; }
.sample-flag { display: inline-block; margin-bottom: 24px; font-size: .88rem; color: var(--muted); border-left: 2px solid var(--accent-2); padding-left: 12px; }
.empty { padding: 56px 0; text-align: center; color: var(--muted); display: none; }
.stat-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 1px solid var(--line-soft); margin: 24px 0; }
.stat-list div { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
.stat-list dt { font-size: .82rem; color: var(--muted); } .stat-list dd { margin: 0; font-family: var(--font-head); font-size: 1.35rem; }

/* ---------- events ---------- */
.event { display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line-soft); }
.event:first-child { border-top: 1px solid var(--line-soft); }
.event img { aspect-ratio: 3/2; width: 100%; object-fit: cover; }
.event time { color: var(--accent); font-size: .92rem; }
@media (max-width: 720px) { .event { grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.quote { border-left: 2px solid var(--accent-2); padding: 4px 0 4px 24px; }
.quote blockquote { margin: 0 0 14px; font-family: var(--font-head); font-size: 1.4rem; line-height: 1.4; }
.quote cite { font-style: normal; color: var(--muted); font-size: .9rem; }

/* ---------- faq ---------- */
.faq details { border-bottom: 1px solid var(--line-soft); }
.faq details:first-child { border-top: 1px solid var(--line-soft); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-family: var(--font-head); font-size: 1.35rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font-body); color: var(--accent); font-size: 1.5rem; transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .ans { padding: 0 0 24px; color: var(--muted); max-width: 72ch; }

/* ---------- CTA banner ---------- */
.cta-banner { text-align: center; background: radial-gradient(600px 300px at 50% 0, rgba(192,88,106,.22), transparent 70%), var(--surface); border-block: 1px solid var(--line-soft); }
.cta-banner h2 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
.cta-banner .lead { margin-inline: auto; }
.cta-banner .hero-cta { justify-content: center; margin-top: 28px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(48px, 8vw, 96px)) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line-soft);
  background: radial-gradient(700px 300px at 85% 0, rgba(192,88,106,.14), transparent 70%), var(--bg); }
.page-hero h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); margin-bottom: .3em; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a:hover { color: var(--accent); }

/* ---------- course detail ---------- */
.detail { display: grid; grid-template-columns: 1.5fr .8fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.detail aside { position: sticky; top: calc(var(--header-h) + 24px); border: 1px solid var(--line); padding: 28px; background: var(--surface); }
.facts { list-style: none; padding: 0; margin: 0 0 22px; }
.facts li { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.facts li span:first-child { color: var(--muted); }
.detail h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.detail h2:first-child { margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; }
.ticks li { padding-left: 28px; position: relative; margin-bottom: .5em; color: var(--muted); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; transform: rotate(45deg); background: var(--accent); }
@media (max-width: 900px) { .detail { grid-template-columns: 1fr; } .detail aside { position: static; } }

/* ---------- forms ---------- */
.form-card { background: var(--surface); border: 1px solid var(--line-soft); padding: clamp(22px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 22px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-size: .88rem; margin-bottom: 6px; color: var(--muted); }
.field label .req { color: var(--accent-2); }
input, select, textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line-soft); padding: 13px 14px; border-radius: 2px; min-height: 48px; transition: border-color .2s; }
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 38px; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(214,168,79,.15); }
input::placeholder, textarea::placeholder { color: #6e6a62; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--accent-2); }
.err { display: none; color: #e29aa4; font-size: .82rem; margin-top: 6px; }
.field.invalid .err { display: block; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--muted); }
.check input { width: 20px; min-height: 20px; margin-top: 3px; accent-color: var(--accent); flex: none; }
.demo-note { font-size: .84rem; color: var(--muted); border-left: 2px solid var(--accent); padding-left: 12px; margin-top: 18px; }
.upload { border: 1px dashed var(--line); padding: 18px; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.upload img { width: 76px; height: 100px; object-fit: cover; display: none; border-radius: 38px 38px 0 0; }
.upload.has img { display: block; }
.success { display: none; border: 1px solid var(--accent); padding: 22px; margin-top: 22px; background: rgba(214,168,79,.07); }
.success.show { display: block; }
.tabs { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 1px solid var(--line-soft); }
.tabs button { background: none; border: 0; padding: 14px 24px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button[aria-selected="true"] { color: var(--text); border-color: var(--accent); }
.narrow { max-width: 760px; margin-inline: auto; }
.narrow-sm { max-width: 520px; margin-inline: auto; }

/* ---------- contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--line-soft); }
.contact-list small { display: block; color: var(--muted); font-size: .84rem; margin-bottom: 2px; }
.map-box { aspect-ratio: 16/9; border: 1px solid var(--line); background: repeating-linear-gradient(45deg, #121212, #121212 14px, #161616 14px, #161616 28px); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line-soft); padding: 72px 0 120px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: 1.15rem; margin-bottom: 1em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55em; font-size: .94rem; color: var(--muted); }
.site-footer a:hover { color: var(--accent); }
.news { display: flex; gap: 8px; }
.news input { min-width: 0; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; color: var(--muted); }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border: 1px solid var(--line-soft); border-radius: 50%; display: grid; place-items: center; font-size: .78rem; color: var(--muted); }
.social a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- floating actions ---------- */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #25D366; display: grid; place-items: center; box-shadow: 0 10px 28px rgba(0,0,0,.5); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.bottom-bar { display: none; position: fixed; inset: auto 0 0 0; z-index: 95; background: rgba(11,8,7,.97); border-top: 1px solid var(--line); padding: 8px; gap: 8px; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
.bottom-bar a, .bottom-bar button { flex: 1; min-height: 48px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: transparent; font-size: .92rem; border-radius: 2px; }
.bottom-bar .primary { background: var(--accent); color: #0A0A0A; border-color: var(--accent); font-weight: 600; }
@media (max-width: 760px) { .bottom-bar { display: flex; } .wa-float { display: none; } }

/* ---------- modal + toast ---------- */
dialog { border: 1px solid var(--line); background: var(--surface); color: var(--text); padding: 0; width: min(94vw, 600px); max-height: 92vh; overflow: auto; }
dialog::backdrop { background: rgba(0,0,0,.78); }
.modal-in { padding: clamp(22px, 4vw, 40px); position: relative; }
.modal-close { position: absolute; top: 12px; right: 12px; background: none; border: 1px solid var(--line-soft); width: 40px; height: 40px; border-radius: 50%; font-size: 1.2rem; }
.modal-close:hover { border-color: var(--accent); color: var(--accent); }
.toast { position: fixed; left: 50%; bottom: 90px; transform: translate(-50%, 24px); z-index: 400; background: var(--surface-2); border: 1px solid var(--accent); padding: 14px 22px; max-width: min(92vw, 460px); opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s var(--ease); font-size: .94rem; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- scroll reveal (one gentle moment, off for reduced motion) ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
  .slides > * { transition: none; }
  .arch img, .masonry img { transition: none; }
}

/* =========================================================
   Motion and atmosphere (desert sunrise)
   One orchestrated page-load moment on the home page, then
   quiet ambient motion. All of it is off for reduced motion.
   ========================================================= */
body.home { --hd: 1.75s; }               /* hero waits for the intro curtain */
.loader { position: fixed; inset: 0; z-index: 500; background: var(--bg); display: grid; place-items: center; pointer-events: none; border-bottom: 1px solid var(--accent);
  animation: loaderOut .95s var(--ease) 1.55s forwards; }
.loader-in { text-align: center; display: grid; justify-items: center; gap: 18px; }
.loader-in img { animation: logoIn 1.1s var(--ease) .1s both; filter: drop-shadow(0 0 28px rgba(240,166,64,.35)); }
.loader-word { display: grid; gap: 8px; animation: fadeUp .9s var(--ease) .55s both; }
.loader-word b { font-family: var(--font-head); font-weight: 600; font-size: 1.9rem; }
.loader-word i { font-style: normal; font-size: .72rem; letter-spacing: .6em; color: var(--accent); text-transform: uppercase; padding-left: .6em; }
@keyframes logoIn { from { opacity: 0; transform: scale(.82) translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes loaderOut { to { transform: translateY(-101%); visibility: hidden; } }

.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 130; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--ember), var(--accent)); pointer-events: none; }

/* headline lines slide up out of a mask */
.split-lines .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.split-lines .line > span { display: block; }
.js .split-lines .line > span { transform: translateY(108%); animation: lineUp 1.1s var(--ease) forwards; animation-delay: var(--hd, 0s); }
.js .split-lines .line:nth-child(2) > span { animation-delay: calc(var(--hd, 0s) + .14s); }
@keyframes lineUp { to { transform: none; } }
.js .rise { opacity: 0; transform: translateY(16px); animation: fadeUp .9s var(--ease) forwards; animation-delay: calc(var(--hd, 0s) + .45s + var(--i, 0) * .13s); }
.js .hero-visual .hero-frame { opacity: 0; animation: fadeUp 1.2s var(--ease) forwards; animation-delay: calc(var(--hd, 0s) + .1s); }

/* the sun behind the arch */
.sun-wrap { position: absolute; z-index: 1; left: 50%; top: 18%; width: 190%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none;
  animation: sunrise 2.8s var(--ease) both; animation-delay: calc(var(--hd, 0s) - .3s); }
.sun { position: absolute; inset: 39%; border-radius: 50%; background: radial-gradient(circle at 50% 38%, #FFD98F 0%, var(--sun) 46%, var(--ember) 100%); box-shadow: 0 0 90px 30px rgba(240,166,64,.26), 0 0 240px 90px rgba(200,85,61,.16); }
.sun-rays { position: absolute; inset: 0; background: repeating-conic-gradient(rgba(240,166,64,.17) 0 2.5deg, transparent 2.5deg 9deg);
  -webkit-mask-image: radial-gradient(circle, #000 14%, transparent 60%); mask-image: radial-gradient(circle, #000 14%, transparent 60%); animation: spin 140s linear infinite; }
@keyframes sunrise { from { opacity: 0; transform: translate(-50%, -22%) scale(.7); } to { opacity: 1; transform: translate(-50%, -50%); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* dunes: three layers, moved by scroll (fx.js) */
.dunes { position: absolute; inset: auto 0 0 0; height: clamp(150px, 26vh, 260px); z-index: 2; pointer-events: none; }
.dune { position: absolute; left: -3%; width: 106%; max-width: none; bottom: -1px; height: 100%; will-change: transform; }
.dune.d1 { fill: #1f150f; height: 100%; }
.dune.d2 { fill: #140d09; height: 82%; }
.dune.d3 { fill: var(--bg); height: 52%; }
.dune.d1 path { stroke: rgba(214,168,79,.35); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.hero::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: radial-gradient(900px 260px at 70% 100%, rgba(240,166,64,.16), transparent 70%); z-index: 1; pointer-events: none; }
.sand { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }

/* image settle-in when a card scrolls into view, plus a lift on hover */
.reveal.in .arch img { animation: imgIn 1.5s var(--ease) backwards; }
@keyframes imgIn { from { transform: scale(1.14); } }
.card .arch { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover .arch { transform: translateY(-6px); box-shadow: 0 26px 50px -24px rgba(214,168,79,.4); }
.btn { position: relative; overflow: hidden; }
.btn:not(.btn-ghost)::after { content: ""; position: absolute; inset: 0 auto 0 -60%; width: 40%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transition: left .7s var(--ease); }
.btn:not(.btn-ghost):hover::after { left: 130%; }

/* visit section, map, CTA dunes */
.map-embed { aspect-ratio: 16 / 10; border: 1px solid var(--line); background: var(--surface); overflow: hidden; }
.map-embed { position: relative; }
.map-fallback { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 10px; color: var(--muted); padding: 20px; }
.map-embed iframe { position: relative; z-index: 1; width: 100%; height: 100%; border: 0; filter: grayscale(.35) brightness(.88) contrast(1.05); }
.cta-banner { position: relative; overflow: hidden; padding-bottom: clamp(130px, 15vw, 190px); }
.cta-banner .wrap { position: relative; z-index: 2; }
.dunes-lite { max-width: none; position: absolute; inset: auto 0 0 0; width: 100%; height: clamp(90px, 12vw, 150px); fill: #120c09; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
  .loader { display: none; }
  .js .split-lines .line > span, .js .rise, .js .hero-visual .hero-frame { animation: none; transform: none; opacity: 1; }
  .sun-wrap { animation: none; }
  .sun-rays { animation: none; }
  .reveal.in .arch img { animation: none; }
  .card:hover .arch { transform: none; }
  .btn:not(.btn-ghost)::after { display: none; }
  .brand:hover .wordmark b { animation: none; }
  .sand { display: none; }
}

/* ---------- small extras ---------- */
.hscroll { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: thin; scrollbar-color: var(--accent) transparent; }
.hscroll > * { scroll-snap-align: start; }
.news .field { flex: 1; }
.page-hero .lead:empty { display: none; }
.faq .ans .ph { display: inline-block; }
code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: .88em; color: var(--accent); }

@media print { .site-header, .wa-float, .bottom-bar { display: none; } }
