/* ============================================================
   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, feature panel, designed tiles,
   closing CTA band, sticky WhatsApp, map link.
   Appended to style.css; themed from the same variables.
   ============================================================ */

.process, .feature, .cta-band { padding: clamp(58px, 10vw, 120px) var(--pad); }
.process, .feature { max-width: 1180px; margin: 0 auto; }
.process .body, .feature .body { margin-top: 18px; }

/* ---------- process ---------- */
.steps { list-style: none; margin: clamp(28px, 5vw, 44px) 0 0; padding: 0; border-top: 1px solid var(--line); }
.step { display: grid; grid-template-columns: 2.6em 1fr; gap: 16px; align-items: start; padding: 24px 0; border-bottom: 1px solid var(--line-soft); }
.step-n { font-family: var(--font-display); font-weight: var(--display-weight); font-size: 0.86rem; letter-spacing: 0.1em; color: var(--accent); line-height: 1.9; }
.step h3 { font-size: 1.05rem; font-weight: var(--display-weight); line-height: 1.5; }
.step p { margin-top: 6px; color: var(--mut); font-size: 0.9rem; line-height: 1.85; max-width: 58ch; }

/* ---------- feature panel ---------- */
.feature { display: grid; gap: 26px; align-items: stretch; border-top: 1px solid var(--line-soft); }
.feature-art { position: relative; overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--bg-2); min-height: 220px; display: grid; place-items: center; }
.feature-art svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); opacity: 0.16; }
.feature-num { position: relative; z-index: 2; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(4.4rem, 15vw, 8rem); line-height: 1; color: var(--accent); letter-spacing: -0.02em; }
.feature-copy .eyebrow { margin-bottom: 0; }
.feature-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.feature-points li { position: relative; padding-inline-start: 22px; color: color-mix(in srgb, var(--ink) 84%, transparent); font-size: 0.92rem; line-height: 1.8; }
.feature-points li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.72em; width: 8px; height: 1px; background: var(--accent); }

/* ---------- designed tiles ---------- */
.art { display: grid; place-items: center; gap: 10px; padding: 20px; border: 1px solid var(--line); overflow: hidden; }
.art::after { display: none; }
.art-cap { position: relative; z-index: 2; font-size: 0.66rem; letter-spacing: 0.16em; color: color-mix(in srgb, var(--ink) 55%, transparent); text-align: center; }
.art-mesh { background:
    radial-gradient(60% 70% at 22% 18%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 68%),
    radial-gradient(55% 60% at 82% 74%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(40% 50% at 50% 50%, color-mix(in srgb, var(--ink) 5%, transparent), transparent 72%),
    var(--bg-2); }
.art-num { background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 16%, var(--bg-2)), var(--bg-2) 62%); }
.art-big { font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(2.6rem, 9vw, 4.2rem); line-height: 1; color: var(--accent); }
.art-lines svg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent); opacity: 0.22; }
.art-lines { position: relative; background: var(--bg-2); }
.art-split { background: linear-gradient(115deg, color-mix(in srgb, var(--accent) 84%, #000) 0 46%, var(--bg-2) 46% 100%); }
.art-word { position: relative; z-index: 2; font-family: var(--font-display); font-weight: var(--display-weight); font-size: clamp(1.5rem, 5.4vw, 2.3rem); line-height: 1.25; color: var(--accent-ink); text-align: center; }
.art-split .art-cap { color: color-mix(in srgb, var(--ink) 62%, transparent); }
.art-quote { background: linear-gradient(200deg, color-mix(in srgb, var(--accent) 12%, var(--bg-2)), var(--bg-2) 70%); align-content: center; }
.art-quote p { position: relative; z-index: 2; color: color-mix(in srgb, var(--ink) 88%, transparent); font-size: 0.92rem; line-height: 1.85; text-align: center; max-width: 24ch; }
.art-mark { position: absolute; top: -0.1em; inset-inline-start: 10px; font-family: var(--font-display); font-size: 5rem; line-height: 1; color: var(--accent); opacity: 0.22; }
.art-quote { position: relative; }

/* ---------- closing band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); background: var(--bg-2); }
.cta-glow { position: absolute; inset: -40% -10% auto -10%; height: 130%; z-index: -1;
    background: radial-gradient(52% 60% at 50% 30%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%),
                radial-gradient(40% 50% at 82% 80%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 72%); }
.cta-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.cta-inner .body { margin: 16px auto 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; }

/* ---------- sticky WhatsApp ---------- */
.sticky-wa { position: fixed; z-index: 88; inset-inline-start: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 16px 12px 14px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 0.86rem; line-height: 1;
    box-shadow: 0 14px 34px color-mix(in srgb, #000 45%, transparent), 0 0 0 1px color-mix(in srgb, var(--accent) 40%, transparent);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease); }
.sticky-wa svg { width: 18px; height: 18px; }
.sticky-wa:hover { transform: translateY(-2px); }
.sticky-wa:active { transform: translateY(0) scale(0.98); }

/* ---------- visit extras ---------- */
.plus { margin-top: 10px; color: color-mix(in srgb, var(--mut) 90%, transparent); font-size: 0.8rem; letter-spacing: 0.04em; }
.map-link { display: inline-flex; align-items: center; gap: 8px; }
.map-ico { display: inline-flex; width: 16px; height: 16px; color: var(--accent); }
.map-ico svg { width: 100%; height: 100%; }

/* ---------- footer note ---------- */
.foot-note { flex-basis: 100%; margin-top: 6px; font-size: 0.7rem; line-height: 1.75; color: var(--mut); opacity: 0.82; }

/* ---------- gallery with many tiles ---------- */
.strip { grid-auto-rows: auto; }
@media (min-width: 640px) {
    .strip { grid-template-columns: repeat(2, 1fr); }
    .tile, .t1, .t2, .t3, .t4, .t5 { grid-column: span 1; height: 240px; }
    .tile.wide { grid-column: span 2; }
}
@media (min-width: 760px) {
    .feature { grid-template-columns: 0.85fr 1.15fr; gap: 46px; }
    .strip { grid-template-columns: repeat(6, 1fr); }
    .tile, .t1, .t2, .t3, .t4, .t5 { grid-column: span 2; height: 260px; }
    .tile.t1, .tile.t2 { grid-column: span 3; height: 320px; }
    .step { grid-template-columns: 3.4em 1fr; gap: 26px; }
}
@media (min-width: 1100px) {
    .process, .feature, .cta-band, .visit, .reviews, .gallery, .services, .statement { padding-inline: clamp(32px, 6vw, 90px); }
    .tile, .t1, .t2, .t3, .t4, .t5 { grid-column: span 2; height: 280px; }
    .tile.t1, .tile.t2 { grid-column: span 3; height: 340px; }
}
@media (max-width: 759px) {
    .sticky-wa span { display: none; }
    .sticky-wa { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    .art, .art * { animation: none !important; transition: none !important; }
    .sticky-wa { transition: none !important; }
}

/* hero edge mask */
@media (min-width: 900px) {
    .hero-img {
        -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, #000 34%);
        mask-image: linear-gradient(to left, rgba(0, 0, 0, 0) 0%, #000 34%);
    }
}

/* designed-tile refinements */
.art { padding: 16px; }
.art-word { font-size: clamp(1.15rem, 3.1vw, 1.7rem); max-width: 100%; }
.art-big { font-size: clamp(2.4rem, 8vw, 3.6rem); }
@media (min-width: 760px) {
    .strip > .art-quote:last-child { grid-column: span 6; height: auto; min-height: 200px; }
}

/* split + lines tile legibility */
.art-split .art-word { background: var(--accent); color: var(--accent-ink); padding: 3px 16px; border-radius: 3px; }
.art-lines svg { opacity: 0.3; }
.art-word--lines { color: var(--accent); font-size: clamp(0.95rem, 2.5vw, 1.3rem); letter-spacing: 0.02em; }
.art-mark { top: 4px; }

/* multi-line hero heading: keep the inline-block from riding the baseline */
.h1 .rise { display: inline-block; vertical-align: top; }
.h1 .line { display: block; }
/* qimam: hero type a touch tighter so the second line lands on two balanced lines */
.hero .h1 { font-size: clamp(2rem, 5.4vw, 3.6rem); }
.hero-copy .sub { margin-top: 20px; }
