/* =========================================================
   Kenho — design system
   Mobile-first. Tokens → base → layout → components → pages
   ========================================================= */

:root {
    --bg: #fffaf3;
    --surface: #ffffff;
    --tint: #f7f0e5;
    --ink: #1d1f27;
    --ink-2: #474a56;
    --muted: #7b7e8a;
    --line: #ece3d4;
    --line-strong: #dccfb9;
    --accent: #f4870e;
    --accent-hover: #e07708;
    --accent-ink: #a65300;
    --accent-soft: #fff0dc;
    --dark: #16171c;
    --dark-2: #22232a;
    --wa: #1fa855;
    --wa-hover: #188f47;
    --danger: #c43d2b;

    --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

    --r-sm: 10px;
    --r: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --shadow-sm: 0 1px 2px rgb(29 31 39 / .06);
    --shadow: 0 6px 24px -8px rgb(29 31 39 / .14), 0 2px 6px -2px rgb(29 31 39 / .06);
    --shadow-lg: 0 24px 60px -20px rgb(29 31 39 / .28);

    --gutter: 16px;
    --container: 1240px;
    --header-h: 64px;
    --bar-h: 72px;
    --safe-b: env(safe-area-inset-bottom, 0px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 768px) {
    :root { --gutter: 32px; --header-h: 76px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    padding-bottom: calc(var(--bar-h) + var(--safe-b));
    overflow-x: hidden;
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent-soft); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.muted { color: var(--muted); }

.icon { width: 20px; height: 20px; flex: none; }
.sprite { display: none; }

/* ---------- Type ---------- */
.h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.5rem); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.6rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 800; }
.h3 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.6rem); line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
.h4 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
.lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--ink-2); max-width: 62ch; margin-top: 12px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
    color: var(--accent-ink); margin-bottom: 12px;
}
.eyebrow--light { color: #ffd29b; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgb(244 135 14 / .25); }

.link-arrow {
    display: inline-flex; align-items: center; gap: 6px;
    font-weight: 700; color: var(--ink); white-space: nowrap;
    padding: 8px 0; min-height: 44px;
}
.link-arrow .icon { transition: transform .25s var(--ease); width: 18px; height: 18px; }
.link-arrow:hover .icon { transform: translateX(4px); }
.section--dark .link-arrow { color: #fff; }

/* ---------- Buttons ---------- */
.btn {
    --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-bd: var(--line-strong);
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 22px;
    border-radius: 999px; border: 1px solid var(--btn-bd);
    background: var(--btn-bg); color: var(--btn-fg);
    font-weight: 700; font-size: .95rem; letter-spacing: -.005em;
    cursor: pointer; white-space: nowrap; user-select: none;
    transition: background .2s, border-color .2s, transform .15s var(--ease), box-shadow .2s;
    -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { --btn-bg: var(--accent); --btn-fg: #fff; --btn-bd: var(--accent); box-shadow: 0 6px 18px -6px rgb(244 135 14 / .6); }
.btn--primary:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); }
.btn--wa { --btn-bg: var(--wa); --btn-fg: #fff; --btn-bd: var(--wa); }
.btn--wa:hover { --btn-bg: var(--wa-hover); --btn-bd: var(--wa-hover); }
.btn--ghost:hover { --btn-bd: var(--ink); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); --btn-bd: #fff; }
.btn--glass { --btn-bg: rgb(255 255 255 / .14); --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.btn--glass:hover { --btn-bg: rgb(255 255 255 / .24); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn--lg { min-height: 54px; padding: 0 26px; font-size: 1rem; }
.btn--block { width: 100%; }

.icon-btn {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--surface); cursor: pointer;
    transition: background .2s;
}
.icon-btn:hover { background: var(--tint); }

.badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; letter-spacing: .02em;
    background: var(--accent-soft); color: var(--accent-ink);
}
.badge--glass { background: rgb(255 255 255 / .82); color: var(--ink); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips--scroll {
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
    scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
}
.chips--scroll::-webkit-scrollbar { display: none; }
.chip {
    flex: none; scroll-snap-align: start;
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px;
    border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface);
    font-size: .9rem; font-weight: 600; color: var(--ink-2);
    transition: all .2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    height: var(--header-h);
    background: rgb(255 250 243 / .78);
    backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, background .25s, transform .3s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgb(255 250 243 / .92); }
.page-home .site-header:not(.is-scrolled) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.page-home .site-header:not(.is-scrolled) .site-header__logo img { filter: brightness(0) invert(1); }
.page-home .site-header:not(.is-scrolled) .site-nav a,
.page-home .site-header:not(.is-scrolled) .lang-switch a { color: rgb(255 255 255 / .85); }
.page-home .site-header:not(.is-scrolled) .lang-switch { border-color: rgb(255 255 255 / .3); }
.page-home .site-header:not(.is-scrolled) .lang-switch a[aria-current] { background: #fff; color: var(--ink); }
.page-home .site-header:not(.is-scrolled) .icon-btn { background: rgb(255 255 255 / .15); border-color: rgb(255 255 255 / .3); color: #fff; }
.page-home .site-header { margin-bottom: calc(var(--header-h) * -1); }

.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-header__logo { flex: none; display: block; }
.site-header__logo img { height: 34px; width: auto; transition: filter .25s; }
@media (min-width: 768px) { .site-header__logo img { height: 40px; } }

.site-nav { display: none; }
@media (min-width: 1024px) {
    .site-nav { display: flex; gap: 4px; margin: 0 auto; }
    .site-nav a {
        position: relative; padding: 8px 14px; border-radius: 999px;
        font-weight: 600; font-size: .93rem; color: var(--ink-2);
        transition: color .2s, background .2s;
    }
    .site-nav a:hover { color: var(--ink); background: rgb(29 31 39 / .05); }
    .site-nav a[aria-current="page"] { color: var(--ink); }
    .site-nav a[aria-current="page"]::after {
        content: ""; position: absolute; left: 50%; bottom: 2px; width: 5px; height: 5px;
        border-radius: 50%; background: var(--accent); transform: translateX(-50%);
    }
}
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 1024px) { .site-header__actions { margin-left: 0; } .site-header__menu { display: none; } }
.site-header__cta { display: none; }
@media (min-width: 640px) { .site-header__cta { display: inline-flex; } }

.lang-switch {
    display: inline-flex; padding: 3px; gap: 2px;
    border: 1px solid var(--line-strong); border-radius: 999px;
}
.lang-switch a {
    display: inline-grid; place-items: center; min-width: 38px; height: 32px; padding: 0 10px;
    border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--muted);
    transition: all .2s;
}
.lang-switch a[aria-current] { background: var(--ink); color: #fff; }
.site-header .lang-switch { display: none; }
@media (min-width: 480px) { .site-header .lang-switch { display: inline-flex; } }

/* ---------- Bottom sheet menu ---------- */
.sheet { position: fixed; inset: 0; z-index: 80; }
.sheet[hidden] { display: none; }
.sheet__backdrop { position: absolute; inset: 0; background: rgb(22 23 28 / .5); opacity: 0; transition: opacity .3s; }
.sheet__panel {
    position: absolute; left: 0; right: 0; bottom: 0;
    max-height: 92svh; overflow-y: auto; overscroll-behavior: contain;
    background: var(--bg); border-radius: var(--r-xl) var(--r-xl) 0 0;
    padding: 10px var(--gutter) calc(20px + var(--safe-b));
    transform: translateY(100%); transition: transform .38s var(--ease);
    box-shadow: var(--shadow-lg);
}
.sheet.is-open .sheet__backdrop { opacity: 1; }
.sheet.is-open .sheet__panel { transform: none; }
.sheet__handle { width: 44px; height: 5px; border-radius: 99px; background: var(--line-strong); margin: 0 auto 14px; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet__head .lang-switch a { min-width: 0; padding: 0 14px; }
.sheet__nav { display: flex; flex-direction: column; }
.sheet__nav a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 4px; font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em;
    border-bottom: 1px solid var(--line);
}
.sheet__nav a .icon { color: var(--muted); }
.sheet__chips { padding: 20px 0 8px; }
.sheet__foot { display: grid; gap: 10px; padding-top: 16px; }
@media (min-width: 768px) {
    .sheet__panel { left: auto; top: 0; width: 420px; max-height: none; border-radius: var(--r-xl) 0 0 var(--r-xl); transform: translateX(100%); padding-top: 20px; }
    .sheet__handle { display: none; }
}

/* ---------- Mobile action bar & FAB ---------- */
.action-bar {
    position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 12px var(--gutter) calc(12px + var(--safe-b));
    background: rgb(255 250 243 / .9);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
    transition: transform .3s var(--ease);
}
.action-bar.is-hidden { transform: translateY(110%); }
.action-bar .btn { min-height: 48px; }
.action-bar:has(> :only-child) { grid-template-columns: 1fr; }
@media (min-width: 900px) { .action-bar { display: none; } }

.fab-wa {
    display: none; position: fixed; right: 24px; bottom: 24px; z-index: 40;
    width: 60px; height: 60px; border-radius: 50%;
    background: var(--wa); color: #fff; place-items: center;
    box-shadow: 0 10px 30px -8px rgb(31 168 85 / .6);
    transition: transform .2s var(--ease);
}
.fab-wa .icon { width: 28px; height: 28px; }
.fab-wa:hover { transform: scale(1.06); }
@media (min-width: 900px) { .fab-wa { display: grid; } }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; z-index: 90; top: calc(var(--header-h) + 12px); left: var(--gutter); right: var(--gutter); display: grid; gap: 8px; justify-items: center; pointer-events: none; }
.toast {
    pointer-events: auto; display: flex; align-items: center; gap: 12px;
    max-width: 520px; width: 100%; padding: 14px 16px; border-radius: var(--r);
    background: var(--dark); color: #fff; box-shadow: var(--shadow-lg);
    animation: toast-in .4s var(--ease);
}
.toast .icon { color: #7ee2a2; }
.toast__close { margin-left: auto; background: none; border: 0; color: rgb(255 255 255 / .7); font-size: 1.4rem; cursor: pointer; line-height: 1; padding: 4px 8px; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section--tight { padding: 32px 0 56px; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--dark); color: #fff; }
.section--detail { padding-top: 20px; }
@media (min-width: 768px) { .section { padding: 104px 0; } .section--tight { padding: 40px 0 88px; } .section--detail { padding-top: 32px; } }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }
@media (min-width: 768px) { .section-head { margin-bottom: 44px; } }

.page-hero { padding: 28px 0 8px; }
.page-hero .h1 { margin-top: 12px; }
@media (min-width: 768px) { .page-hero { padding: 56px 0 16px; } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

/* ---------- Hero ---------- */
.hero {
    position: relative; isolation: isolate; overflow: hidden;
    min-height: 88svh; display: flex; align-items: flex-end;
    color: #fff; background: var(--dark);
}
@media (min-width: 768px) { .hero { min-height: min(92vh, 900px); } }
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; margin: 0; }
.hero__slide { opacity: 0; transition: opacity 1.2s ease; z-index: -2; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero__slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade { z-index: -1; background: linear-gradient(180deg, rgb(10 10 14 / .55) 0%, rgb(10 10 14 / .1) 30%, rgb(10 10 14 / .35) 60%, rgb(10 10 14 / .85) 100%); }
.hero__content { padding-top: calc(var(--header-h) + 40px); padding-bottom: 40px; }
@media (min-width: 768px) { .hero__content { padding-bottom: 72px; } }
.hero__title { font-size: clamp(2.3rem, 1.4rem + 4.6vw, 5rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 800; max-width: 14ch; transition: opacity .4s; }
.hero__lead { font-size: clamp(1rem, .95rem + .4vw, 1.25rem); color: rgb(255 255 255 / .82); max-width: 46ch; margin-top: 16px; min-height: 1.6em; transition: opacity .4s; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__actions .btn { flex: 1 1 auto; }
@media (min-width: 480px) { .hero__actions .btn { flex: 0 0 auto; } }
.hero__dots { display: flex; gap: 6px; margin-top: 36px; }
.hero__dots button { width: 44px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; align-items: center; }
.hero__dots span { display: block; height: 3px; border-radius: 3px; background: rgb(255 255 255 / .3); overflow: hidden; position: relative; }
.hero__dots span::after { content: ""; position: absolute; inset: 0; background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dots [aria-selected="true"] span::after { animation: dot-progress 6s linear forwards; }
@keyframes dot-progress { to { transform: scaleX(1); } }
.is-fading { opacity: 0; }

/* ---------- Stats ---------- */
.stats { background: var(--surface); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .stats__grid { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 24px 8px; display: grid; gap: 2px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat:nth-child(3) { border-left: 0; }
@media (max-width: 767px) { .stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (min-width: 768px) { .stat:nth-child(3) { border-left: 1px solid var(--line); } .stat { padding: 36px 8px; } }
.stat strong { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 800; letter-spacing: -.03em; }
.stat span { font-size: .85rem; color: var(--muted); }

/* ---------- About ---------- */
.about { display: grid; gap: 24px; }
@media (min-width: 900px) { .about { grid-template-columns: 1fr 1fr; gap: 72px; } }
.about__body { color: var(--ink-2); font-size: 1.05rem; }
.about__body p + p { margin-top: 16px; }
.about__body .link-arrow { margin-top: 20px; }

/* ---------- Horizontal rails (scroll-snap) ---------- */
.rail {
    display: grid; grid-auto-flow: column; gap: 14px;
    overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    padding: 4px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 8px;
    scroll-padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
    -webkit-overflow-scrolling: touch;
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail--categories { grid-auto-columns: 68%; }
.rail--projects { grid-auto-columns: 78%; }
@media (min-width: 640px) { .rail--categories { grid-auto-columns: 40%; } .rail--projects { grid-auto-columns: 46%; } }
@media (min-width: 1024px) {
    .rail { gap: 20px; }
    .rail--categories { grid-auto-columns: calc((min(100vw, var(--container)) - var(--gutter) * 2 - 80px) / 5); }
    .rail--projects { grid-auto-columns: calc((min(100vw, var(--container)) - var(--gutter) * 2 - 40px) / 3); }
}

.cat-tile {
    position: relative; display: block; overflow: hidden; isolation: isolate;
    aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--line);
}
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgb(10 10 14 / .75)); }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile__label { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; color: #fff; }
.cat-tile__label h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.cat-tile__label span { font-size: .85rem; color: rgb(255 255 255 / .8); }

/* ---------- Product card & grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, 1fr); gap: 36px 20px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.product-card { display: flex; flex-direction: column; gap: 12px; }
.product-card__media {
    position: relative; overflow: hidden; aspect-ratio: 4 / 5;
    border-radius: var(--r); background: var(--tint);
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .45s; }
.product-card__hover { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
    .product-card:hover .product-card__media img { transform: scale(1.04); }
    .product-card:hover .product-card__hover { opacity: 1; }
}
.product-card__media .badge { position: absolute; left: 10px; top: 10px; }
.product-card__body { display: grid; gap: 2px; padding: 0 2px; }
.product-card__cat { font-size: .74rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.product-card__name { font-size: .98rem; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
@media (min-width: 768px) { .product-card__name { font-size: 1.05rem; } }
.product-card__price { font-size: .9rem; color: var(--ink-2); margin-top: 2px; }
.product-card__price strong { color: var(--ink); font-weight: 700; }
.product-card__price .muted { color: var(--accent-ink); font-weight: 700; }
.product-card__meta { font-size: .8rem; color: var(--muted); }
.placeholder { width: 100%; height: 100%; display: grid; place-items: center; font-size: 3rem; font-weight: 800; color: var(--line-strong); }

/* ---------- Production cycle ("How we work") ----------
   9 nodes evenly placed on a ring (40° apart, clockwise from 12 o'clock).
   Positions come from nth-child + CSS vars (no inline styles, CSP-safe).
   Motion = transform / opacity / SVG stroke only; JS drives the active step,
   pauses off-screen, and is disabled for reduced motion. */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.cycle-stage { display: grid; justify-items: center; gap: 20px; }
.cycle {
    --size: min(calc(100vw - 2 * var(--gutter) - 8px), 360px);
    --r: calc(var(--size) * .42);
    --node: 50px;
    --speed: .9s;
    position: relative; width: var(--size); height: var(--size);
}

/* Ring, slow inner orbit and progress arc */
.cycle__track { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.cycle__ring { fill: none; stroke: var(--line-strong); stroke-width: .6; }
.cycle__orbit { fill: none; stroke: var(--accent); stroke-opacity: .28; stroke-width: .35; stroke-dasharray: .6 2.2; transform-origin: 50px 50px; animation: cycle-orbit 60s linear infinite; animation-play-state: paused; }
.cycle__progress {
    fill: none; stroke: var(--accent); stroke-width: 1.1; stroke-linecap: round;
    stroke-dasharray: 0 9;
    transition: stroke-dasharray var(--speed) cubic-bezier(.65, 0, .35, 1), opacity .4s;
    filter: drop-shadow(0 0 1.2px rgb(244 135 14 / .55));
}
/* Glowing head of the progress arc */
.cycle__comet { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--angle, 0deg)); transition: transform var(--speed) cubic-bezier(.65, 0, .35, 1), opacity .4s; }
.cycle__comet span {
    position: absolute; left: -6px; top: calc(var(--r) * -1 - 6px); width: 12px; height: 12px; border-radius: 50%;
    background: #fff; border: 3px solid var(--accent); box-shadow: 0 0 0 6px rgb(244 135 14 / .18), 0 0 18px rgb(244 135 14 / .6);
}
.cycle.is-resetting .cycle__progress, .cycle.is-resetting .cycle__comet { opacity: 0; }
.cycle.no-anim .cycle__progress, .cycle.no-anim .cycle__comet { transition: none; }

/* Nodes */
.cycle__steps { list-style: none; margin: 0; padding: 0; }
.cycle__step {
    position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 2;
    transform: rotate(var(--a)) translateY(calc(var(--r) * -1)) rotate(calc(var(--a) * -1));
}
.cycle__step:nth-child(1) { --a: 0deg; }   .cycle__step:nth-child(2) { --a: 40deg; }  .cycle__step:nth-child(3) { --a: 80deg; }
.cycle__step:nth-child(4) { --a: 120deg; } .cycle__step:nth-child(5) { --a: 160deg; } .cycle__step:nth-child(6) { --a: 200deg; }
.cycle__step:nth-child(7) { --a: 240deg; } .cycle__step:nth-child(8) { --a: 280deg; } .cycle__step:nth-child(9) { --a: 320deg; }

.cycle__node {
    position: absolute; left: calc(var(--node) / -2); top: calc(var(--node) / -2);
    width: var(--node); height: var(--node); padding: 0; border-radius: 50%;
    display: grid; place-items: center; cursor: pointer;
    background: var(--surface); color: var(--muted); border: 1.5px solid var(--line-strong);
    box-shadow: var(--shadow-sm);
    transition: transform .45s var(--ease), background .35s, color .35s, border-color .35s, box-shadow .35s;
    -webkit-tap-highlight-color: transparent;
}
.cycle__node .icon { width: 22px; height: 22px; }
.cycle__node:hover { border-color: var(--accent); color: var(--accent-ink); }
.cycle__node:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.cycle__badge {
    position: absolute; right: -4px; top: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
    display: grid; place-items: center; font-size: .68rem; font-weight: 800;
    background: var(--ink); color: #fff; border: 2px solid var(--tint);
    transition: background .35s;
}
.cycle__step.is-done .cycle__node { background: var(--accent-soft); color: var(--accent-ink); border-color: #f8c98f; }
.cycle__step.is-done .cycle__badge { background: var(--accent-ink); }
.cycle__step.is-active .cycle__node {
    background: var(--accent); color: #fff; border-color: var(--accent);
    transform: scale(1.14); box-shadow: 0 10px 26px -8px rgb(244 135 14 / .8);
}
.cycle__step.is-active .cycle__badge { background: var(--ink); }
.cycle__step.is-active .cycle__node::after {
    content: ""; position: absolute; inset: -2px; border-radius: 50%;
    border: 2px solid var(--accent); animation: cycle-ping 1.8s cubic-bezier(0, 0, .2, 1) infinite; animation-play-state: paused;
}
.cycle.is-running .cycle__step.is-active .cycle__node::after, .cycle.is-running .cycle__orbit { animation-play-state: running; }

/* Labels around the ring (desktop only, need CSS trig) */
.cycle__label { display: none; }

/* Center panel */
.cycle__center {
    position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 1.25); transform: translate(-50%, -50%);
    display: grid; justify-items: center; text-align: center; gap: 4px; z-index: 1;
}
.cycle__count { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-ink); }
.cycle__title { font-size: 1.12rem; line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.cycle__center .cycle__text { display: none; }
.cycle__detail { width: 100%; max-width: 420px; text-align: center; padding: 16px 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.cycle__text { color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
[data-cycle-swap] { transition: opacity .25s ease, transform .25s ease; }
.is-swapping [data-cycle-swap] { opacity: 0; transform: translateY(4px); }

@media (min-width: 600px) {
    .cycle { --size: 420px; --node: 58px; }
    .cycle__node .icon { width: 24px; height: 24px; }
    .cycle__title { font-size: 1.3rem; }
}

@media (min-width: 960px) {
    .cycle-stage { padding: 40px 150px; }
    .cycle { --size: 480px; --node: 66px; }
    .cycle__node .icon { width: 28px; height: 28px; }
    .cycle__center { width: calc(var(--r) * 1.3); gap: 8px; }
    .cycle__title { font-size: 1.55rem; }
    .cycle__center .cycle__text { display: block; }
    .cycle__detail { display: none; }
    @supports (top: calc(sin(1deg) * 1px)) {
        .cycle__label {
            --gap: calc(var(--node) / 2 + 22px);
            display: block; position: absolute; left: 0; top: 0; width: 140px; text-align: center;
            font-size: .9rem; font-weight: 700; color: var(--ink-2); line-height: 1.25;
            /* Anchor the label's near edge just outside the node, pointing away from the ring's center. */
            transform: translate(
                calc((sin(var(--a)) - 1) * 50% + sin(var(--a)) * var(--gap)),
                calc((-1 * cos(var(--a)) - 1) * 50% - cos(var(--a)) * var(--gap))
            );
            transition: color .3s;
        }
        .cycle__step:nth-child(n+2):nth-child(-n+5) .cycle__label { text-align: left; }
        .cycle__step:nth-child(n+6) .cycle__label { text-align: right; }
        .cycle__step.is-active .cycle__label { color: var(--ink); }
        .cycle__step:not(.is-active):not(.is-done) .cycle__label { color: var(--muted); }
    }
}

@keyframes cycle-ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.55); opacity: 0; } }
@keyframes cycle-orbit { to { transform: rotate(1turn); } }

@media (prefers-reduced-motion: reduce) {
    .cycle__orbit, .cycle__step.is-active .cycle__node::after { animation: none !important; }
    .cycle__progress, .cycle__comet, .cycle__node, [data-cycle-swap] { transition: none !important; }
}

/* ---------- Logo marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee, .marquee__label + .marquee { margin-top: 12px; }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; padding: 6px 0; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 45s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
.marquee__label { text-align: center; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 36px 0 8px; }
.logo-chip {
    flex: none; display: grid; place-items: center;
    width: 148px; height: 84px; padding: 14px 20px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
@media (min-width: 768px) { .logo-chip { width: 180px; height: 100px; } .logo-chip img { max-height: 64px; } }
.logo-chip { overflow: hidden; }
.logo-chip { transition: border-color .3s, box-shadow .3s, transform .3s var(--ease); }
.logo-chip img { max-height: 52px; max-width: 100%; width: auto; height: auto; object-fit: contain; transition: transform .3s var(--ease); }
.logo-chip:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.logo-chip:hover img { transform: scale(1.05); }

/* ---------- Project card ---------- */
.project-card {
    position: relative; display: block; overflow: hidden; isolation: isolate;
    aspect-ratio: 4 / 5; border-radius: var(--r-lg); background: var(--line);
}
.project-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.project-card:hover img { transform: scale(1.05); }
.project-card__overlay {
    position: absolute; inset: 0; padding: 16px;
    display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start;
    color: #fff; background: linear-gradient(180deg, rgb(10 10 14 / .1), transparent 40%, rgb(10 10 14 / .8));
}
.project-card__overlay h3 { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.project-card__overlay p { color: rgb(255 255 255 / .8); font-size: .9rem; }
.project-card__arrow {
    position: absolute; right: 16px; bottom: 16px;
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: #fff; color: var(--ink); transition: transform .3s var(--ease), background .3s;
}
.project-card:hover .project-card__arrow { background: var(--accent); color: #fff; transform: rotate(45deg); }
.project-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 560px) { .project-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .project-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- CTA panel, band & contact ---------- */
.cta-panel {
    display: grid; gap: 28px; padding: 28px 20px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl);
    box-shadow: var(--shadow);
}
@media (min-width: 900px) { .cta-panel { grid-template-columns: .9fr 1.1fr; gap: 56px; padding: 56px; } }
.cta-panel__intro .btn { margin-top: 24px; }
.contact-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.contact-list .icon { color: var(--accent); margin-top: 3px; }
.contact-list a:hover { color: var(--accent-ink); }
.address-link { display: inline; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; transition: color .2s, text-decoration-color .2s; }
.address-link:hover { color: var(--accent-ink); text-decoration-color: currentColor; }
.address-link .icon { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -1px; }
.site-footer .address-link { text-decoration-color: rgb(255 255 255 / .25); }

.cta-band {
    display: grid; gap: 20px; padding: 28px 24px; border-radius: var(--r-xl);
    background: radial-gradient(120% 140% at 100% 0%, #ff9f3a 0%, var(--accent) 40%, #d86c00 100%);
    color: #fff;
}
.cta-band p { color: rgb(255 255 255 / .88); margin-top: 6px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band__actions .btn { flex: 1 1 auto; }
@media (min-width: 768px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 44px 48px; } .cta-band__actions .btn { flex: 0 0 auto; } }

.contact-layout { display: grid; gap: 20px; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1.35fr 1fr; gap: 28px; align-items: start; } .contact-aside { position: sticky; top: calc(var(--header-h) + 20px); } }
.contact-aside { display: grid; gap: 12px; }
.contact-quick {
    display: flex; align-items: center; gap: 14px; padding: 16px;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
    transition: border-color .2s, transform .2s var(--ease);
}
.contact-quick:hover { border-color: var(--ink); transform: translateY(-2px); }
.contact-quick > span:nth-child(2) { display: grid; flex: 1; }
.contact-quick small { color: var(--muted); font-size: .88rem; }
.contact-quick > .icon { color: var(--muted); }
.contact-quick__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); flex: none; }
.contact-quick__icon--wa { background: #e3f6ea; color: var(--wa); }
.map { margin: 20px 0 14px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 20px; }
@media (min-width: 768px) { .card { padding: 32px; } }
.card--form .h3 { margin-bottom: 20px; }

/* ---------- Forms ---------- */
.form__grid { display: grid; gap: 14px; }
@media (min-width: 600px) { .form__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-2); }
.field .req { color: var(--accent); }
.field input, .field select, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 14px;
    font: inherit; font-size: 16px; color: var(--ink);
    background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    transition: border-color .2s, box-shadow .2s, background .2s;
    -webkit-appearance: none; appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b7e8a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgb(244 135 14 / .15); }
.field--error input, .field--error textarea, .field--error select { border-color: var(--danger); }
.field__error { font-size: .82rem; color: var(--danger); }
.form__alert { padding: 12px 14px; border-radius: var(--r-sm); background: #fdecea; color: var(--danger); margin-bottom: 14px; font-size: .92rem; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: grid; gap: 12px; margin-top: 20px; }
.form__foot .btn { width: 100%; }
@media (min-width: 600px) { .form__foot { grid-template-columns: auto 1fr; align-items: center; gap: 20px; } .form__foot .btn { width: auto; } }
.form__note { font-size: .85rem; color: var(--muted); }
.form__note a { color: var(--wa); font-weight: 700; }

/* ---------- Filter bar ---------- */
.filter-bar {
    position: sticky; top: var(--header-h); z-index: 30;
    padding: 12px 0; background: rgb(255 250 243 / .9);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent; transition: border-color .2s;
}
.filter-bar.is-stuck { border-bottom-color: var(--line); }
.result-count { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.empty { text-align: center; padding: 64px 16px; display: grid; gap: 16px; justify-items: center; color: var(--muted); }

/* ---------- Detail (product / project) ---------- */
.detail { display: grid; gap: 24px; }
@media (min-width: 960px) {
    .detail { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
    .detail__info { position: sticky; top: calc(var(--header-h) + 24px); }
}
.detail__gallery { margin: 0 calc(var(--gutter) * -1); }
@media (min-width: 640px) { .detail__gallery { margin: 0; } }
.detail__title { margin-bottom: 4px; }
.detail__actions { display: grid; gap: 10px; margin: 24px 0; }
@media (min-width: 480px) { .detail__actions { grid-template-columns: 1fr 1fr; } }

.price-box {
    display: grid; gap: 2px; margin-top: 24px; padding: 18px 20px;
    border-radius: var(--r); background: var(--accent-soft); border: 1px solid #fbd9ad;
}
.price-box__label { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--accent-ink); }
.price-box__value { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; }
.price-box__value--muted { font-size: 1.4rem; color: var(--accent-ink); }
.price-box__note { font-size: .84rem; color: var(--ink-2); }

.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin: 16px 0 0; }
.specs > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.specs dt { display: flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.specs dt .icon { width: 16px; height: 16px; }
.specs dd { margin: 4px 0 0; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.specs__logo { height: 24px; width: auto; }

.prose { color: var(--ink-2); }
.prose h2 { color: var(--ink); margin-bottom: 8px; }
.prose p + p { margin-top: 12px; }
.perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 20px; }
.perks li { display: flex; gap: 10px; align-items: center; font-weight: 600; font-size: .95rem; }
.perks .icon { color: var(--wa); width: 18px; height: 18px; }

/* ---------- Gallery ---------- */
.gallery { position: relative; }
.gallery__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch;
    aspect-ratio: 4 / 5; background: var(--tint);
}
@media (min-width: 640px) { .gallery__track { border-radius: var(--r-lg); } }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery--empty { aspect-ratio: 4 / 5; background: var(--tint); border-radius: var(--r-lg); }
.gallery__nav {
    display: none; position: absolute; top: calc(50% - 40px); z-index: 2;
    width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgb(255 255 255 / .9); box-shadow: var(--shadow); place-items: center;
    transition: opacity .2s, transform .2s;
}
.gallery__nav--prev { left: 16px; }
.gallery__nav--next { right: 16px; }
.gallery__nav:disabled { opacity: 0; pointer-events: none; }
@media (hover: hover) and (min-width: 640px) { .gallery__nav { display: grid; } }
.gallery__count {
    position: absolute; left: 16px; top: 16px; z-index: 2;
    padding: 4px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700;
    background: rgb(22 23 28 / .6); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.gallery__zoom { position: absolute; right: 16px; top: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgb(255 255 255 / .9); cursor: pointer; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 0 var(--gutter); }
@media (min-width: 640px) { .gallery__thumbs { padding: 0; } }
.gallery__thumb { flex: none; width: 64px; aspect-ratio: 4 / 5; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--tint); opacity: .6; transition: all .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: var(--ink); opacity: 1; }
@media (min-width: 768px) { .gallery__thumb { width: 76px; } }

.lightbox { border: 0; padding: 0; margin: auto; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgb(10 10 14 / .95); }
.lightbox::backdrop { background: rgb(10 10 14 / .9); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__close { position: fixed; right: 16px; top: calc(16px + env(safe-area-inset-top, 0px)); z-index: 2; background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .2); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgb(255 255 255 / .72); padding: 56px 0 24px; }
@media (min-width: 768px) { .site-footer { padding: 80px 0 32px; } }
.site-footer__grid { display: grid; gap: 36px; grid-template-columns: 1fr 1fr; }
.site-footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1.4fr; } .site-footer__brand { grid-column: auto; } }
.site-footer__grid > div:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .site-footer__grid > div:last-child { grid-column: auto; } }
.site-footer__logo { height: 40px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.site-footer__title { color: #fff; font-weight: 700; margin-bottom: 14px; }
.site-footer__links, .site-footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a:hover { color: #fff; }
.site-footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.site-footer__contact .icon { color: var(--accent); margin-top: 3px; width: 18px; height: 18px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / .15); transition: all .2s; }
.social a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); font-size: .85rem; }

/* ---------- Consent ---------- */
.consent {
    position: fixed; z-index: 70; left: var(--gutter); right: var(--gutter);
    bottom: calc(var(--bar-h) + var(--safe-b) + 12px);
    max-width: 440px; padding: 18px; border-radius: var(--r-lg);
    background: var(--dark); color: #fff; box-shadow: var(--shadow-lg); font-size: .9rem;
}
@media (min-width: 900px) { .consent { bottom: 24px; left: 24px; right: auto; } }
.consent__actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 14px; }
.consent .btn--ghost { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / .25); }

/* ---------- Error ---------- */
.error-page { text-align: center; }
.error-page .lead { margin: 12px auto 0; }
.error-page .hero__actions { justify-content: center; }
.error-page__code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; letter-spacing: -.06em; line-height: 1; color: var(--accent); }

/* ---------- Motion ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
    .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    .marquee__track > [aria-hidden="true"] { display: none; }
}
