/* ============================================================
   CAR DiPPiNG Studio — site system
   One stylesheet, themed entirely from config.js (CSS variables).
   Motion: native scroll-driven animations; Lenis for wheel only.
   ============================================================ */

:root {
    --bg: #080808;
    --bg-2: #0d0d0d;
    --ink: #f4f1ea;
    --mut: #9d978d;
    --accent: #f3c623;
    --accent-ink: #14100a;
    --line: rgba(244, 241, 234, 0.13);
    --line-soft: rgba(244, 241, 234, 0.07);
    --font-display: "Almarai", "Segoe UI", system-ui, sans-serif;
    --font-text: "Almarai", "Segoe UI", system-ui, sans-serif;
    --display-weight: 800;
    --display-tracking: 0;
    --pad: clamp(18px, 5vw, 64px);
    --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
}

@font-face {
    font-family: "Almarai";
    src: url("assets/fonts/almarai-ar-400.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
    font-family: "Almarai";
    src: url("assets/fonts/almarai-lat-400.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
    font-family: "Almarai";
    src: url("assets/fonts/almarai-ar-700.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
    font-family: "Almarai";
    src: url("assets/fonts/almarai-ar-800.woff2") format("woff2");
    font-weight: 800;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
    font-family: "Almarai";
    src: url("assets/fonts/almarai-lat-800.woff2") format("woff2");
    font-weight: 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+2000-206F;
}

@font-face {
    font-family: "Noto Naskh Arabic";
    src: url("assets/fonts/naskh-ar.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
    font-family: "Noto Naskh Arabic";
    src: url("assets/fonts/naskh-ar.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
    unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200E, U+2010-2011, U+FB50-FDFF, U+FE70-FEFC;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scrollbar-color: rgba(244, 241, 234, 0.25) transparent;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, p, dl, dd, dt, address, figure, blockquote { margin: 0; font-style: normal; }
img, video, canvas { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- demo flag ---------- */

.demo-note ~ .hero .nav { top: 52px; }

.demo-note {
    position: relative;
    z-index: 70;
    padding: 8px var(--pad);
    background: var(--accent);
    color: var(--accent-ink);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-align: center;
}

/* ---------- depth ---------- */

.grain {
    position: fixed;
    inset: 0;
    z-index: 90;
    pointer-events: none;
    opacity: 0.045;
    mix-blend-mode: screen;
}

.grain svg { width: 100%; height: 100%; }

.vignette {
    position: fixed;
    inset: 0;
    z-index: 80;
    pointer-events: none;
    background: radial-gradient(120% 90% at 50% 40%, transparent 52%, rgba(0, 0, 0, 0.55) 100%);
}

.aura {
    position: fixed;
    z-index: 0;
    pointer-events: none;
    width: 62vw;
    height: 62vw;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.5;
}

.aura-a {
    top: -22vw;
    right: -14vw;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 16%, transparent), transparent 66%);
    animation: auraDrift 26s var(--ease) infinite alternate;
}

.aura-b {
    bottom: -26vw;
    left: -18vw;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 9%, transparent), transparent 68%);
    animation: auraDrift 34s var(--ease) infinite alternate-reverse;
}

@keyframes auraDrift {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to { transform: translate3d(-6%, 8%, 0) scale(1.16); }
}

/* ---------- type ---------- */

.eyebrow {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    color: var(--accent);
    line-height: 1;
}

.h1, .h2, .h3 {
    font-family: var(--font-display);
    font-weight: var(--display-weight);
    line-height: 1.32;
    letter-spacing: var(--display-tracking);
}

.h1 { font-size: clamp(2.2rem, 9.2vw, 4.2rem); line-height: 1.24; }
.h2 { font-size: clamp(1.6rem, 5.6vw, 2.8rem); margin-top: 14px; }
.h3 { font-size: 1.12rem; line-height: 1.5; }
.h1 i { font-style: normal; color: var(--accent); }

.body { color: var(--mut); font-size: 1rem; max-width: 62ch; }
.sub { color: color-mix(in srgb, var(--ink) 82%, transparent); font-size: clamp(0.95rem, 2.4vw, 1.05rem); max-width: 44ch; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 26px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1;
    box-shadow: 0 14px 40px color-mix(in srgb, var(--accent) 24%, transparent);
    transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
    will-change: transform;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 20px 52px color-mix(in srgb, var(--accent) 36%, transparent); }
.btn:active { transform: translateY(0) scale(0.99); }
.btn-sm { padding: 10px 16px; font-size: 0.8rem; box-shadow: none; }

.progress {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 2px;
    z-index: 95;
    transform-origin: right center;
    transform: scaleX(0);
    background: linear-gradient(270deg, var(--accent), color-mix(in srgb, var(--accent) 10%, transparent));
}

/* ---------- nav ---------- */

.nav {
    position: fixed;
    top: 14px;
    right: var(--pad);
    left: var(--pad);
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(244, 241, 234, 0.1);
    border-radius: 999px;
    background: color-mix(in srgb, var(--bg) 42%, transparent);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    backdrop-filter: blur(16px) saturate(1.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: background 0.5s var(--ease), border-color 0.5s var(--ease);
}

.nav.scrolled { background: color-mix(in srgb, var(--bg) 78%, transparent); border-color: rgba(244, 241, 234, 0.16); }

.brand { display: flex; align-items: baseline; gap: 8px; }
.brand-ar { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 0.98rem; }
.brand-lat { font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mut); }

.links { display: flex; gap: clamp(14px, 3vw, 30px); }
.links a {
    font-size: 0.82rem;
    color: color-mix(in srgb, var(--ink) 72%, transparent);
    position: relative;
    transition: color 0.3s;
}
.links a::after {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    bottom: -6px;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.45s var(--ease);
}
.links a:hover { color: var(--ink); }
.links a:hover::after { transform: scaleX(1); }

/* ---------- hero ---------- */

.hero {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(600px, 96svh, 940px);
    padding: 0 var(--pad) clamp(34px, 7vw, 68px);
    overflow: hidden;
    isolation: isolate;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 42%;
    z-index: -2;
    animation: heroIn 2.2s var(--ease) both;
}

.hero--type {
    justify-content: center;
    min-height: clamp(520px, 74svh, 720px);
    background:
        radial-gradient(70% 62% at 78% 6%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 70%),
        radial-gradient(62% 58% at 10% 96%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 72%),
        var(--bg);
}

.hero--type .hero-copy { padding-top: clamp(84px, 12vh, 132px); max-width: min(980px, 94%); }
.hero--type .h1 { font-size: clamp(2.3rem, 6.6vw, 4.6rem); }
.hero--type .sub { max-width: 56ch; }
.hero--type .eyebrow::before {
    content: "";
    display: block;
    width: 54px;
    height: 1px;
    background: var(--accent);
    margin-bottom: 18px;
    opacity: 0.8;
}
.hero--type::after {
    content: "";
    position: absolute;
    right: var(--pad);
    bottom: 0;
    left: var(--pad);
    height: 1px;
    background: linear-gradient(270deg, transparent, color-mix(in srgb, var(--accent) 55%, transparent), transparent);
    z-index: -1;
}

@keyframes heroIn {
    from { opacity: 0; transform: scale(1.08); }
    to { opacity: 1; transform: scale(1); }
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, color-mix(in srgb, var(--bg) 30%, transparent) 24%, color-mix(in srgb, var(--bg) 78%, transparent) 62%, var(--bg) 97%),
        linear-gradient(90deg, color-mix(in srgb, var(--bg) 70%, transparent), transparent 58%);
}

.hero--type .hero-shade { background: linear-gradient(180deg, transparent 40%, var(--bg) 96%); }

.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-copy .btn { margin-top: 26px; }

/* ---------- sections ---------- */

main { position: relative; z-index: 1; }

.statement, .services, .gallery, .visit, .reviews { padding: clamp(64px, 11vw, 132px) var(--pad); }

.statement {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    overflow: hidden;
    isolation: isolate;
}

.statement .body { margin-top: 22px; }

.field {
    position: absolute;
    inset: -10% -10%;
    z-index: -1;
    width: 120%;
    height: 120%;
    opacity: 0.9;
    pointer-events: none;
    background:
        radial-gradient(46% 42% at 74% 22%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 70%),
        radial-gradient(38% 36% at 26% 74%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 72%);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: clamp(34px, 6vw, 54px);
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.stat b { display: block; font-family: var(--font-display); font-size: clamp(1.5rem, 5vw, 2.2rem); font-weight: var(--display-weight); line-height: 1.1; }
.stat small { display: block; margin-top: 8px; font-size: 0.76rem; letter-spacing: 0.12em; color: var(--mut); }

/* ---------- marquee ---------- */

.marquee {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 16px 0;
    border-block: 1px solid var(--line-soft);
    background: rgba(244, 241, 234, 0.014);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track { display: flex; align-items: center; width: max-content; animation: marquee 46s linear infinite; }
.marquee-track span { padding-inline: 26px; font-size: 0.78rem; letter-spacing: 0.18em; color: color-mix(in srgb, var(--ink) 50%, transparent); white-space: nowrap; }
.marquee-track i { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.7; flex: none; }

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}

/* ---------- services ---------- */

.sec-head { max-width: 760px; }

.cards { display: grid; grid-template-columns: 1fr; grid-auto-rows: 1fr; gap: 14px; margin-top: clamp(28px, 5vw, 46px); }

.card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 196px;
    padding: 22px 20px 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(244, 241, 234, 0.045), rgba(244, 241, 234, 0.012));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
    overflow: hidden;
    transition: transform 0.55s var(--ease), border-color 0.45s var(--ease), background 0.45s var(--ease);
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(270deg, transparent, var(--accent), transparent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.7s var(--ease);
}

.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--accent) 36%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, transparent), rgba(244, 241, 234, 0.015)); }
.card:hover::before { transform: scaleX(1); }

.mark { display: inline-flex; width: 34px; height: 34px; color: var(--accent); opacity: 0.9; transition: transform 0.6s var(--ease), opacity 0.4s; }
.mark svg { width: 100%; height: 100%; }
.card:hover .mark { transform: rotate(-6deg) scale(1.08); opacity: 1; }

.tag { font-size: 0.64rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mut); line-height: 1; margin-top: 4px; }
.card h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.12rem; line-height: 1.5; }
.card p { margin-top: auto; color: var(--mut); font-size: 0.86rem; line-height: 1.7; }

.card-cta { border-color: color-mix(in srgb, var(--accent) 40%, transparent); background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent) 6%, transparent)); }
.card-cta p { color: color-mix(in srgb, var(--ink) 72%, transparent); }

/* ---------- reel band ---------- */

.reel {
    position: relative;
    overflow: hidden;
    height: clamp(240px, 54vw, 560px);
    background-color: #0a0a0a;
    background-position: center 42%;
    background-size: cover;
    background-repeat: no-repeat;
    isolation: isolate;
}

.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }

.reel-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, var(--bg) 0%, color-mix(in srgb, var(--bg) 34%, transparent) 20%, color-mix(in srgb, var(--bg) 34%, transparent) 78%, var(--bg) 100%),
        linear-gradient(90deg, color-mix(in srgb, var(--bg) 55%, transparent), transparent 55%);
    pointer-events: none;
}

.reel-note { position: absolute; bottom: 22px; right: var(--pad); z-index: 2; font-size: 0.68rem; letter-spacing: 0.26em; color: color-mix(in srgb, var(--ink) 66%, transparent); }

/* ---------- gallery ---------- */

.strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: clamp(28px, 5vw, 44px); }

.tile { position: relative; overflow: hidden; border-radius: 14px; background: var(--bg-2); height: 210px; }

.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 1.1s var(--ease), filter 0.6s;
    filter: brightness(0.94) saturate(0.9) contrast(1.04);
}

.tile:hover img { transform: scale(1.12); filter: brightness(1) saturate(1) contrast(1.06); }

.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--bg) 45%, transparent)); pointer-events: none; }

.t1 { grid-column: span 2; height: 240px; }
.t4 { grid-column: span 2; height: 230px; }
.t5 { grid-column: span 2; height: 210px; }

/* ---------- visit ---------- */

.visit { display: grid; gap: 40px; align-items: start; max-width: 1180px; margin: 0 auto; border-top: 1px solid var(--line-soft); }
.visit address { margin-top: 20px; color: var(--mut); font-size: 0.98rem; line-height: 2; }

.phone { display: block; width: fit-content; margin-top: 18px; font-size: 1.05rem; color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color 0.3s, border-color 0.3s; }
.phone:hover { color: var(--accent); border-color: var(--accent); }
.visit .btn { margin-top: 26px; }

.hours { display: flex; flex-direction: column; }
.hours div { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.92rem; }
.hours dt { color: var(--mut); }
.hours dd { color: var(--ink); }
.hours .off { color: #d4726a; }

/* ---------- reviews ---------- */

.reviews { max-width: 1180px; margin: 0 auto; }

.rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.score { font-family: var(--font-display); font-size: clamp(2rem, 7vw, 3rem); font-weight: var(--display-weight); color: var(--accent); line-height: 1; }
.stars { color: var(--accent); letter-spacing: 3px; font-size: 0.95rem; }
.count { color: var(--mut); font-size: 0.82rem; }

.quotes { display: grid; grid-template-columns: 1fr; gap: 22px; margin-top: 30px; }

.quotes blockquote {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 22px;
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: rgba(244, 241, 234, 0.018);
}

.quotes p { color: color-mix(in srgb, var(--ink) 86%, transparent); font-size: 0.9rem; line-height: 1.9; }

.quotes footer { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.quotes cite { font-style: normal; font-weight: 700; font-size: 0.82rem; color: var(--accent); }
.quotes footer span { font-size: 0.72rem; color: var(--mut); }

/* ---------- footer ---------- */

.foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 26px var(--pad) 34px;
    border-top: 1px solid var(--line-soft);
    font-size: 0.78rem;
    color: var(--mut);
}

/* ============================================================
   MOTION — base state is the finished state.
   ============================================================ */

.rise { opacity: 0; animation: rise 1.15s var(--ease) both; }
.h1 .rise { display: inline-block; }
@keyframes rise { to { opacity: 1; } }

@keyframes revealUp {
    from { opacity: 0; transform: translate3d(0, 26px, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes maskUp {
    from { clip-path: inset(0 0 100% 0); }
    to { clip-path: inset(0 0 0 0); }
}

@keyframes tileDrift {
    from { transform: scale(1.16) translate3d(0, -3.5%, 0); }
    to { transform: scale(1.04) translate3d(0, 3.5%, 0); }
}

@keyframes wordUp {
    from { opacity: 0; transform: translate3d(0, 0.62em, 0); }
    to { opacity: 1; transform: none; }
}

@keyframes fadeAway {
    to { opacity: 0.22; transform: translate3d(0, -18px, 0); }
}

@keyframes progressGrow {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        [data-reveal] {
            animation: revealUp linear both;
            animation-timeline: view();
            animation-range: entry 6% entry 46%;
        }
        .stat[data-reveal] { animation-range: entry 10% entry 58%; }
        .card[data-reveal] { animation-range: entry 4% entry 52%; }
        .tile { animation: maskUp linear both; animation-timeline: view(); animation-range: entry 12% entry 62%; }
        .tile img { animation: tileDrift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
        .statement .h2 { animation: fadeAway linear both; animation-timeline: view(); animation-range: exit 0% exit 80%; }
        .split .wi { animation: wordUp linear both; animation-timeline: view(); animation-range: entry calc(8% + var(--i, 0) * 2.4%) entry calc(46% + var(--i, 0) * 2.4%); }
        .hours div { animation: revealUp linear both; animation-timeline: view(); animation-range: entry 12% entry 60%; }
        .progress { animation: progressGrow linear both; animation-timeline: scroll(root block); }
    }
}

.split { display: block; }
.split .w { display: inline-block; }
.split .wi { display: inline-block; }

/* ---------- responsive ---------- */

@media (min-width: 640px) {
    .cards { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .quotes { grid-template-columns: repeat(2, 1fr); }
    .strip { gap: 12px; }
    .t1 { height: 280px; }
    .tile { height: 230px; }
}

@media (min-width: 760px) {
    .visit { grid-template-columns: 1fr 1fr; gap: 60px; }
    .quotes { grid-template-columns: repeat(3, 1fr); gap: 18px; }
    .strip { grid-template-columns: repeat(6, 1fr); }
    .t1 { grid-column: span 3; height: 360px; }
    .t2 { grid-column: span 3; height: 360px; }
    .t3 { grid-column: span 2; height: 300px; }
    .t4 { grid-column: span 2; height: 300px; }
    .t5 { grid-column: span 2; height: 300px; }
}

@media (min-width: 900px) {
    .hero { min-height: 760px; height: 84svh; max-height: 900px; padding-bottom: 0; }
    .hero-img { left: 0; right: auto; width: 56%; object-position: 50% 52%; }
    .hero-shade {
        background:
            linear-gradient(270deg, var(--bg) 0%, var(--bg) 22%, color-mix(in srgb, var(--bg) 50%, transparent) 42%, transparent 60%),
            linear-gradient(0deg, var(--bg) 0%, transparent 34%);
    }
    .hero--type { min-height: 620px; height: auto; max-height: none; padding-bottom: clamp(56px, 8vw, 96px); }
    .hero-copy { position: absolute; z-index: 2; right: var(--pad); bottom: clamp(64px, 8vw, 104px); left: auto; width: min(560px, 42%); max-width: none; }
    .hero--type .hero-copy { position: relative; right: auto; bottom: auto; width: auto; max-width: min(980px, 94%); }
}

@media (min-width: 1100px) {
    .cards { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .statement, .services, .gallery, .visit, .reviews { padding-inline: clamp(32px, 6vw, 90px); }
}

@media (max-width: 759px) {
    .links { display: none; }
    .nav { top: 10px; }
    .brand-lat { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
    .rise { opacity: 1; }
    .aura { display: none; }
    .reel-video { display: none; }
    .hero-video { display: none; }
    .tile img { transform: none; }
}

/* ============================================================
   UPGRADE PASS — process, attributes, closing band, sticky CTA
   ============================================================ */

.process { padding: clamp(64px, 11vw, 132px) var(--pad); max-width: 1180px; margin: 0 auto; }

.steps { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: clamp(28px, 5vw, 46px); }

.step {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 24px 20px 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(244,241,234,0.045), rgba(244,241,234,0.012));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.045);
    overflow: hidden;
    isolation: isolate;
}

.step::before {
    content: "";
    position: absolute;
    inset-inline-end: -46px;
    inset-block-start: -46px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--accent) 22%, transparent), transparent 68%);
    opacity: 0.55;
    z-index: -1;
}

.step-n { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2rem, 6.4vw, 2.9rem); line-height: 1; color: color-mix(in srgb, var(--accent) 86%, transparent); }
.step h3 { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 1.02rem; line-height: 1.5; }
.step p { margin: 0; color: var(--mut); font-size: 0.86rem; line-height: 1.75; }

.attrs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(24px, 4vw, 36px); }
.attr { display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.76rem; color: var(--mut); }
.attr b { color: var(--ink); font-weight: 700; }

.band-cta {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: clamp(58px, 11vw, 118px) var(--pad);
    border-block: 1px solid var(--line-soft);
    background:
        radial-gradient(120% 130% at 78% 6%, color-mix(in srgb, var(--accent) 15%, transparent), transparent 62%),
        radial-gradient(90% 120% at 10% 96%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 66%);
}

.band-cta .mesh { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; color: var(--accent); opacity: 0.4; pointer-events: none; }
.band-cta .inner { max-width: 1180px; margin: 0 auto; }
.band-cta h2 { font-size: clamp(1.8rem, 6.2vw, 3.2rem); }
.band-cta .body { margin-top: 16px; }
.band-cta .btn { margin-top: 28px; }

.wa-fab {
    position: fixed;
    inset-block-end: 16px;
    inset-inline-start: 16px;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 13px 20px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 700;
    font-size: 0.86rem;
    line-height: 1;
    box-shadow: 0 16px 40px rgba(0,0,0,0.5);
    transform: translateY(150%);
    opacity: 0;
    transition: transform 0.55s var(--ease), opacity 0.4s var(--ease);
}

.wa-fab.show { transform: none; opacity: 1; }
.wa-fab svg { width: 18px; height: 18px; flex: none; }
.wa-fab span { white-space: nowrap; }

@media (max-width: 520px) {
    .wa-fab { padding: 0; width: 52px; height: 52px; justify-content: center; }
    .wa-fab span { display: none; }
}

@media (min-width: 640px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 16px; } }

@media (min-width: 1100px) {
    .steps { grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .process { padding-inline: clamp(32px, 6vw, 90px); }
}

.t6 { grid-column: span 2; }
@media (min-width: 760px) { .t6 { grid-column: span 6; height: 320px; } }

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) {
        .reel { animation: bandShift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
        .reel-video { animation: vidDrift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
        .band-cta .mesh { animation: meshDrift linear both; animation-timeline: view(); animation-range: cover 0% cover 100%; }
    }
}

@keyframes bandShift { from { background-position: center 34%; } to { background-position: center 56%; } }
@keyframes vidDrift { from { transform: scale(1.08) translate3d(0, -2%, 0); } to { transform: scale(1.08) translate3d(0, 2%, 0); } }
@keyframes meshDrift { from { transform: translate3d(0, -2%, 0) scale(1.02); } to { transform: translate3d(0, 2%, 0) scale(1.06); } }

@media (prefers-reduced-motion: reduce) { .wa-fab { transition: none; } }
