/* =========================================================
   DESERT DRIFT — multi-page additions (loaded after styles.css)
   Same design law: obsidian + one amber accent, glass used sparingly,
   tokens from styles.css only. No new colours, no bounce easing.
   ========================================================= */

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.section--tight { padding-block: clamp(2.5rem, 6vw, 5rem); }
.section__title--sm { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 1.5rem; }
.link-arrow, .note-link a, .prose a, .faq__more a, .footer__legal a { color: var(--amber); }
.link-arrow:hover, .note-link a:hover, .prose a:hover { color: var(--amber-bright); }

/* ---------- Nav (site mode: real pages) ---------- */
.nav__links--site { gap: 1.25rem; }
.nav__links a[aria-current="page"] { color: var(--bone); }
.nav__mobile--site { max-height: calc(100svh - var(--nav-h) - 40px); overflow-y: auto; }
.nav__mobile a[aria-current="page"] { color: var(--amber); }
@media (max-width: 1140px) and (min-width: 861px) {
  .nav__links--site { gap: 0.95rem; }
  .nav__links--site a { font-size: 0.85rem; }
  .nav__wa { display: none; }
}

/* ---------- Footer (site mode: 5 columns) ---------- */
.footer__grid--site { grid-template-columns: 1.4fr 1fr 1fr 1.2fr 1.1fr; }
.footer__legal { color: var(--muted-2); }
a.warranty-badge { display: flex; }
@media (max-width: 1024px) {
  .footer__grid--site { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid--site .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 540px) {
  .footer__grid--site { grid-template-columns: 1fr 1fr; }
  .footer__grid--site .footer__col--assurance { grid-column: 1 / -1; }
}

/* ---------- Page header ---------- */
.pagehead { position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + clamp(4rem, 9vw, 7rem)); padding-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.pagehead__glow { position: absolute; inset: -20% -10% auto; height: 70%; background: radial-gradient(50% 60% at 30% 40%, rgba(233,162,59,0.14), transparent 70%); pointer-events: none; }
.pagehead .container { position: relative; }
.pagehead__title { font-family: var(--f-display); font-weight: 600; line-height: 1.02; letter-spacing: -0.025em; font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 18ch; }
.pagehead__intro { color: var(--muted); font-size: clamp(1.05rem, 1.6vw, 1.25rem); margin-top: 1.3rem; max-width: 62ch; }
.pagehead__meta { color: var(--muted-2); font-size: 0.8rem; margin-top: 1.2rem; }
.pagehead .cta-trio { margin-top: 2rem; }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem; list-style: none; padding: 0; margin-bottom: 1.6rem; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted-2); }
.crumbs li + li::before { content: "/"; margin-right: 0.4rem; color: var(--hairline-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--amber); }
.crumbs [aria-current] { color: var(--bone); }

/* ---------- CTA trio (inner pages) ---------- */
.cta-trio { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.cta-trio svg { width: 16px; height: 16px; }
.finalcta__btns.finalcta__btns .cta-trio { justify-content: center; }
@media (max-width: 540px) {
  .cta-trio .btn:first-child { flex: 1 1 100%; }
  .cta-trio .btn:not(:first-child) { flex: 1 1 0; min-width: 0; padding-inline: 0.6rem; }
}

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.1rem; }
.cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { display: flex; gap: 1.2rem; border-radius: var(--r-lg); padding: clamp(1.5rem, 3vw, 2rem); }
.card__ico { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--hairline-strong); color: var(--amber); }
.card__ico svg { width: 22px; height: 22px; }
.card__title { font-family: var(--f-display); font-weight: 600; font-size: 1.3rem; line-height: 1.2; margin-bottom: 0.6rem; }
.card__body { color: var(--muted); }
@media (max-width: 860px) { .cards--3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cards--2 { grid-template-columns: 1fr; } }

.banner { border-radius: var(--r-lg); padding: clamp(2rem, 5vw, 3.5rem); text-align: center; }
.banner .section__lead { margin-inline: auto; }
.banner .btn { margin-top: 1.8rem; }
.callout { margin-top: 1.4rem; padding: 1.4rem 1.6rem; border-radius: var(--r-md); border: 1px solid var(--hairline); background: rgba(255,255,255,0.02); color: var(--muted); }
.callout strong { color: var(--bone); }
.note-link { margin-top: 1.6rem; color: var(--muted-2); font-size: 0.95rem; }
.note-link--center { text-align: center; padding-inline: var(--gutter); }
.faq__more { text-align: center; margin-top: 2rem; }

/* ---------- Split: image + highlights ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split__media { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); }
.split__media img { width: 100%; height: auto; }
.split__text { display: flex; flex-direction: column; gap: 1.8rem; }
.highlight { border-left: 2px solid rgba(233,162,59,0.4); padding-left: 1.3rem; }
.highlight h2 { font-family: var(--f-display); font-weight: 600; font-size: 1.35rem; }
.highlight p { color: var(--muted); margin-top: 0.5rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Spec table ---------- */
.spec { border-radius: var(--r-lg); overflow: hidden; }
.spec table { width: 100%; border-collapse: collapse; }
.spec tr + tr { border-top: 1px solid var(--hairline); }
.spec th { width: 38%; text-align: left; vertical-align: top; padding: 1rem 1.4rem; font-family: var(--f-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
.spec td { padding: 1rem 1.4rem; color: var(--bone); }
@media (max-width: 540px) { .spec th, .spec td { display: block; width: auto; } .spec th { padding-bottom: 0.2rem; } .spec td { padding-top: 0; } }

/* ---------- Bundles ---------- */
.bundles__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; align-items: stretch; }
.bundle { position: relative; display: flex; flex-direction: column; border-radius: var(--r-lg); padding: 1.6rem; }
.bundle--featured { border-color: rgba(233,162,59,0.45); box-shadow: inset 0 1px 0 rgba(255,255,255,0.10), 0 30px 70px -30px rgba(233,162,59,0.35); }
.bundle__flag { position: absolute; top: 1.1rem; right: 1.1rem; font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: #1a1206; background: var(--amber); padding: 0.3rem 0.65rem; border-radius: var(--r-pill); z-index: 1; }
.bundle__media { aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--surface); margin-bottom: 1.3rem; }
.bundle__media img { width: 100%; height: 100%; object-fit: cover; }
.bundle__name { font-family: var(--f-display); font-weight: 600; font-size: 1.45rem; }
.bundle__torque { color: var(--amber); font-size: 0.8rem; margin-top: 0.3rem; }
.bundle__blurb { color: var(--muted); margin-top: 0.8rem; font-size: 0.95rem; }
.bundle__specs { margin-top: 1.1rem; display: grid; gap: 0.55rem; font-size: 0.9rem; }
.bundle__specs li { display: grid; gap: 0.1rem; }
.bundle__specs span { font-family: var(--f-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
.bundle__price { margin-top: auto; padding-top: 1.4rem; font-family: var(--f-display); font-weight: 600; font-size: 2rem; letter-spacing: -0.02em; }
.bundle__was { font-family: var(--f-mono); font-size: 0.85rem; color: var(--muted-2); text-decoration: line-through; margin-left: 0.4rem; font-weight: 400; }
.bundle__quote { font-size: 1.35rem; color: var(--bone); }
.bundle__note { color: var(--muted-2); font-size: 0.82rem; margin: 0.3rem 0 1.2rem; }
@media (max-width: 1024px) { .bundles__grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- Explore (home) ---------- */
.explore__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.explore__item { position: relative; display: flex; flex-direction: column; gap: 0.6rem; border-radius: var(--r-lg); padding: 1.6rem 1.5rem 3.2rem; transition: border-color var(--d-fast) var(--ease-sharp); }
.explore__item:hover { border-color: rgba(233,162,59,0.4); }
.explore__title { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; }
.explore__body { color: var(--muted); font-size: 0.93rem; }
.explore__arrow { position: absolute; left: 1.5rem; bottom: 1.3rem; color: var(--amber); transition: transform var(--d-fast) var(--ease-smooth); }
.explore__item:hover .explore__arrow { transform: translateX(4px); }
@media (max-width: 1024px) { .explore__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .explore__grid { grid-template-columns: 1fr; } }

/* ---------- Contact channels ---------- */
.channels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.channel { display: flex; align-items: center; gap: 1rem; border-radius: var(--r-lg); padding: 1.4rem; transition: border-color var(--d-fast) var(--ease-sharp); }
.channel:hover { border-color: rgba(233,162,59,0.4); }
.channel__ico { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--hairline-strong); color: var(--amber); }
.channel__ico svg { width: 22px; height: 22px; }
.channel__label { display: block; font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }
.channel__value { display: block; font-weight: 500; word-break: break-word; }
.channels__hours { margin-top: 1.2rem; color: var(--muted-2); font-size: 0.9rem; }
@media (max-width: 860px) { .channels { grid-template-columns: 1fr; } }
.rainzone--plain { position: relative; }

/* ---------- Gallery grid (inner pages) ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-flow: dense; gap: 1rem; }
.gallery-grid__item { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); background: var(--surface); aspect-ratio: 4 / 5; }
.gallery-grid__item--wide { grid-column: span 2; aspect-ratio: auto; }
.gallery-grid__item--tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-grid__item img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-grid__item--wide, .gallery-grid__item--tall { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3; } }

/* ---------- Link cards (journal, areas) ---------- */
.linkcards { display: grid; gap: 1.1rem; }
.linkcards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.linkcard { display: flex; flex-direction: column; border-radius: var(--r-lg); overflow: hidden; transition: border-color var(--d-fast) var(--ease-sharp); }
.linkcard:hover { border-color: rgba(233,162,59,0.4); }
.linkcard__media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.linkcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--d-slow) var(--ease-smooth); }
.linkcard:hover .linkcard__media img { transform: scale(1.03); }
.linkcard__text { display: flex; flex-direction: column; gap: 0.55rem; padding: 1.4rem 1.5rem 1.5rem; flex: 1; }
.linkcard__meta { font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber); }
.linkcard__title { font-family: var(--f-display); font-weight: 600; font-size: 1.2rem; line-height: 1.25; }
.linkcard__excerpt { color: var(--muted); font-size: 0.93rem; }
.linkcard__more { margin-top: auto; padding-top: 0.6rem; color: var(--amber); font-size: 0.9rem; }
@media (max-width: 1024px) { .linkcards--3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .linkcards--3 { grid-template-columns: 1fr; } }

/* ---------- Prose (articles, area pages, legal) ---------- */
.cover { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--hairline); aspect-ratio: 16 / 9; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { color: #D9D8D4; font-size: 1.06rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { font-family: var(--f-display); font-weight: 600; color: var(--bone); font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.15; letter-spacing: -0.015em; margin-top: 2.2em; scroll-margin-top: calc(var(--nav-h) + 30px); }
.prose h3 { font-family: var(--f-display); font-weight: 600; color: var(--bone); font-size: 1.25rem; margin-top: 1.8em; scroll-margin-top: calc(var(--nav-h) + 30px); }
.prose strong { color: var(--bone); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--amber); }
.prose blockquote { border-left: 2px solid var(--amber); padding-left: 1.2rem; color: var(--muted); font-style: italic; }
.prose .heading-anchor { margin-left: 0.4rem; color: var(--hairline-strong); font-weight: 400; opacity: 0; transition: opacity var(--d-fast); }
.prose h2:hover .heading-anchor, .prose h3:hover .heading-anchor { opacity: 1; }
.table-scroll { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--r-md); -webkit-overflow-scrolling: touch; }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 520px; }
.prose th, .prose td { padding: 0.75rem 1rem; text-align: left; vertical-align: top; }
.prose thead th { font-family: var(--f-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); background: rgba(255,255,255,0.03); font-weight: 500; }
.prose tbody tr + tr { border-top: 1px solid var(--hairline); }

.inline-cta { border-radius: var(--r-lg); padding: clamp(1.5rem, 4vw, 2.2rem); }
.inline-cta__title { font-family: var(--f-display); font-weight: 600; font-size: 1.4rem; }
.inline-cta p { color: var(--muted); margin: 0.4rem 0 1.3rem; }

/* ---------- Cookie notice (only rendered when tracking IDs are set) ---------- */
.consent { position: fixed; left: var(--gutter); right: var(--gutter); bottom: 16px; z-index: 900; max-width: 560px; margin-inline: auto; display: flex; align-items: center; gap: 1rem; border-radius: var(--r-md); padding: 0.9rem 1rem 0.9rem 1.2rem; background: rgba(20,20,22,0.92); }
.consent p { font-size: 0.88rem; color: var(--muted); }
.consent a { color: var(--amber); }
.consent__btns { display: flex; gap: 0.5rem; flex-shrink: 0; }
@media (max-width: 540px) { .consent { flex-direction: column; align-items: stretch; text-align: center; } .consent__btns .btn { flex: 1; } }

/* footer column headings are h2 for a valid heading order; same look as the old h4 */
.footer__col .footer__h { font-family: var(--f-display); font-weight: 600; margin-bottom: 1rem; font-size: 1rem; }

/* R5 vs R9 vs R12 comparison (pricing page) */
.compare__table .table-scroll { border: 0; border-radius: 0; }
.compare__table table { min-width: 640px; }
.compare__table thead th { width: auto; color: var(--bone); font-family: var(--f-display); font-size: 1rem; letter-spacing: 0; text-transform: none; padding-top: 1.2rem; }
.compare__table tbody th { width: 22%; }
.compare__table td { font-size: 0.92rem; }
.compare__expect { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1.4rem; }
.compare__card { padding: 1.4rem; border-radius: var(--r-md); }
.compare__name { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; margin-bottom: 0.6rem; }
.compare__card p { color: var(--muted); font-size: 0.93rem; }
.compare__note { margin-top: 1rem; color: var(--muted-2); font-size: 0.8rem; text-align: center; }
@media (max-width: 900px) { .compare__expect { grid-template-columns: 1fr; } }
.faq__more { margin-top: 0.7rem; }
.faq__more a { color: var(--amber); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }

/* Lead form: 3 steps (2026-11-07). Without JS (.is-stepped absent) every step shows, stacked. */
.lead { gap: 1.2rem; }
.lead__step { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-direction: column; gap: 1rem; }
.lead:not(.is-stepped) .lead__step + .lead__step { padding-top: 1.4rem; border-top: 1px solid var(--hairline); }
.lead__step[hidden] { display: none; }
.lead__q { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; color: var(--bone); padding: 0; margin: 0 0 0.2rem; }
.lead__q--sub { margin-top: 0.6rem; font-size: 1.05rem; }
.lead__progress { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.lead:not(.is-stepped) .lead__progress { display: none; }
.lead__progress li { font-size: 0.74rem; color: var(--muted-2); display: flex; align-items: center; gap: 0.45rem; padding-top: 0.6rem; border-top: 2px solid var(--hairline-strong); transition: color var(--d-fast), border-color var(--d-fast); }
.lead__progress li span { font-family: var(--f-mono, "JetBrains Mono", monospace); font-size: 0.7rem; }
.lead__progress li.is-on { color: var(--bone); border-color: var(--amber); }
.lead__progress li.is-done { color: var(--muted); border-color: color-mix(in oklab, var(--amber) 55%, transparent); }
.lead__cards { display: grid; gap: 0.6rem; }
.lead__cards--4 { grid-template-columns: repeat(2, 1fr); }
.lead__cards--2 { grid-template-columns: repeat(2, 1fr); }
.lead__card { position: relative; display: flex; flex-direction: column; gap: 0.2rem; padding: 0.95rem 1rem; min-height: 64px; border: 1px solid var(--hairline-strong); border-radius: var(--r-sm); cursor: pointer; transition: border-color var(--d-fast), background var(--d-fast); }
.lead__card:hover { border-color: var(--amber); }
.lead__card input, .lead__chip input, .lead__extra input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.lead__card-title { font-weight: 600; color: var(--bone); }
.lead__card-sub { font-size: 0.8rem; color: var(--muted); }
.lead__card:has(input:checked) { border-color: var(--amber); background: rgba(233,162,59,0.10); box-shadow: inset 0 0 0 1px var(--amber); }
.lead__card:has(input:focus-visible), .lead__chip:has(input:focus-visible), .lead__extra:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.lead__extra { position: relative; display: inline-flex; align-items: center; gap: 0.55rem; font-size: 0.86rem; color: var(--muted); cursor: pointer; padding: 0.35rem 0; min-height: 44px; }
.lead__extra span::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 0.55rem; vertical-align: -2px; border: 1px solid var(--hairline-strong); border-radius: 50%; }
.lead__extra:has(input:checked) { color: var(--bone); }
.lead__extra:has(input:checked) span::before { background: var(--amber); border-color: var(--amber); box-shadow: inset 0 0 0 3px #1a1206; }
.lead__chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.lead__chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 1px solid var(--hairline-strong); border-radius: var(--r-pill); font-size: 0.88rem; color: var(--muted); cursor: pointer; transition: border-color var(--d-fast), color var(--d-fast); }
.lead__chip:hover { color: var(--bone); border-color: var(--amber); }
.lead__chip:has(input:checked) { background: var(--amber); border-color: transparent; color: #1a1206; font-weight: 600; }
.lead.is-stepped .lead__other { display: none; }
.lead.is-stepped .lead__other.is-open, .lead.is-stepped .lead__other.is-invalid { display: flex; }
.lead__nav { display: flex; justify-content: space-between; align-items: center; margin-top: 0.4rem; }
.lead:not(.is-stepped) .lead__nav { display: none; }
.lead__back { background: none; border: 0; color: var(--muted); font: inherit; font-size: 0.9rem; cursor: pointer; padding: 0.6rem 0; min-height: 44px; }
.lead__back:hover { color: var(--bone); }
.lead__note summary { cursor: pointer; color: var(--muted); font-size: 0.9rem; padding: 0.4rem 0; list-style: none; }
.lead__note summary::before { content: "+ "; color: var(--amber); }
.lead__note[open] summary::before { content: "− "; }
.lead__note textarea { width: 100%; margin-top: 0.5rem; background: var(--glass); border: 1px solid var(--hairline-strong); border-radius: var(--r-sm); color: var(--bone); padding: 0.8rem 1rem; font: inherit; min-height: 90px; resize: vertical; }
.lead__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead__step .field__error:empty { display: none; }
.lead__end { text-align: center; padding: 1.5rem 0.5rem; outline: none; }
.lead__end[hidden] { display: none; }
.lead__end-title { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; color: var(--bone); }
.lead__end-body { color: var(--muted); margin-top: 0.6rem; }
.lead__end-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.7rem; margin-top: 1.4rem; }
@media (max-width: 420px) { .lead__cards--2 { grid-template-columns: 1fr; } }
