@charset "UTF-8";

/* ═══════════════════════════════════════════════════════════════════════════
   minica.bike
   1. Fonts          6. Header & navigation   11. Cart & checkout
   2. Tokens         7. Hero                  12. Order receipt
   3. Reset          8. Sections              13. Forms
   4. Typography     9. Bike renderer         14. Footer
   5. Buttons       10. Configurator          15. Utilities & motion
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── 1. Fonts ───────────────────────────────────────────────────────────── */

@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/outfit-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                   U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Outfit';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                   U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
                   U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/inter-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
                   U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
                   U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('../fonts/inter-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                   U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
                   U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ── 2. Tokens ──────────────────────────────────────────────────────────── */

:root {
    /* Warm neutrals sampled from the brand background and wordmark. */
    --paper:      #F6F2EA;
    --paper-hi:   #FFFDF9;
    --paper-lo:   #EFE8DA;
    --paper-deep: #E7DECC;

    --ink:     #1A1815;
    --ink-mid: #57514A;
    --ink-low: #8A8177;

    --oat:       #CABDAC;
    --clay:      #C2703A;
    --clay-deep: #9A5326;
    --clay-tint: #F6E7DA;

    --coal:      #17150F;
    --coal-mid:  #2A251C;

    --line:      rgba(26, 24, 21, .10);
    --line-firm: rgba(26, 24, 21, .18);

    --ok:   #2F6B4F;
    --ok-bg:#E4F0E7;
    --bad:  #A33B2C;
    --bad-bg:#F8E5E1;

    --font-display: 'Outfit', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
    --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

    --r-xs: 8px;
    --r-sm: 12px;
    --r:    18px;
    --r-lg: 26px;
    --r-xl: 36px;

    --shadow-sm: 0 1px 2px rgba(58, 45, 26, .05), 0 4px 14px -6px rgba(58, 45, 26, .10);
    --shadow:    0 2px 4px rgba(58, 45, 26, .04), 0 14px 34px -14px rgba(58, 45, 26, .18);
    --shadow-lg: 0 4px 8px rgba(58, 45, 26, .05), 0 30px 70px -28px rgba(58, 45, 26, .26);

    --shell:     1260px;
    --shell-pad: clamp(1.25rem, 5vw, 3rem);
    --header-h:  74px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── 3. Reset ───────────────────────────────────────────────────────────── */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font: 400 clamp(.975rem, .93rem + .2vw, 1.0625rem)/1.65 var(--font-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; }
p, ul, ol, dl, figure, address { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
fieldset { margin: 0; padding: 0; border: 0; min-inline-size: 0; }
legend { padding: 0; }

:focus-visible {
    outline: 2px solid var(--clay);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection { background: var(--clay-tint); color: var(--ink); }

/* ── 4. Typography & layout primitives ──────────────────────────────────── */

.shell {
    width: 100%;
    max-width: var(--shell);
    margin-inline: auto;
    padding-inline: var(--shell-pad);
}
.shell--narrow { max-width: 820px; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--page { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.section--features,
.section--colors { background: var(--paper-lo); }
.section--models + .section--features { border-top: 1px solid var(--line); }

.eyebrow {
    margin-bottom: .9rem;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--clay);
}

.section__head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title { font-size: clamp(1.85rem, 1.3rem + 2.3vw, 3.1rem); }
.section__lead {
    margin-top: 1.1rem;
    font-size: clamp(1.02rem, .97rem + .3vw, 1.2rem);
    line-height: 1.62;
    color: var(--ink-mid);
    text-wrap: pretty;
}

.page-head { margin-bottom: clamp(2rem, 4vw, 3rem); }
.page-head--wide { max-width: 48rem; }
.page-head__title { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3.2rem); }
.page-head__lead { margin-top: 1.1rem; font-size: 1.1rem; color: var(--ink-mid); text-wrap: pretty; }
.page-head__note { margin-top: .8rem; font-size: .875rem; color: var(--ink-low); }

.prose { max-width: 40rem; }
.prose p { margin-bottom: 1.25rem; color: var(--ink-mid); text-wrap: pretty; }
.prose p:last-child { margin-bottom: 0; }
.prose--legal h2 {
    margin: 2.4rem 0 .7rem;
    font-size: 1.15rem;
    letter-spacing: -.01em;
}
.prose--legal h2:first-child { margin-top: 0; }
.prose--legal ul { margin-bottom: 1.25rem; padding-left: 1.1rem; list-style: disc; color: var(--ink-mid); }
.prose--legal li { margin-bottom: .45rem; }
.prose--legal a { color: var(--clay-deep); text-decoration: underline; text-underline-offset: 2px; }

.tick-list { margin-top: 1.75rem; display: grid; gap: .75rem; }
.tick-list li {
    position: relative;
    padding-left: 1.9rem;
    color: var(--ink-mid);
}
.tick-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: .5em;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: var(--clay-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23C2703A' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.4 6.3 4.9 8.8 9.6 3.6'/%3E%3C/svg%3E") center/70% no-repeat;
}

/* ── 5. Buttons ─────────────────────────────────────────────────────────── */

.button {
    --btn-bg: var(--ink);
    --btn-fg: var(--paper-hi);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: .85rem 1.6rem;
    min-height: 3rem;
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-display);
    font-size: .975rem;
    font-weight: 500;
    letter-spacing: -.005em;
    white-space: nowrap;
    transition: transform .22s var(--ease), background-color .22s var(--ease), box-shadow .22s var(--ease);
}
.button:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.button:active { transform: translateY(0); }

.button--primary { --btn-bg: var(--clay); --btn-fg: #fff; }
.button--primary:hover { --btn-bg: var(--clay-deep); }

.button--ghost {
    --btn-bg: transparent;
    --btn-fg: var(--ink);
    box-shadow: inset 0 0 0 1px var(--line-firm);
}
.button--ghost:hover { --btn-bg: rgba(26, 24, 21, .04); box-shadow: inset 0 0 0 1px var(--ink); }

.button--light { --btn-bg: var(--paper-hi); --btn-fg: var(--ink); }
.button--small { min-height: 2.5rem; padding: .5rem 1.1rem; font-size: .9rem; }
.button--block { width: 100%; }

.link-button {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: 0;
    color: var(--clay-deep);
    font-size: .9rem;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    text-decoration-color: rgba(154, 83, 38, .35);
    transition: text-decoration-color .2s var(--ease);
}
.link-button:hover { text-decoration-color: currentColor; }
.link-button--muted { color: var(--ink-low); text-decoration-color: rgba(138, 129, 119, .4); }
.link-button--center { display: flex; justify-content: center; margin-top: 1rem; }

/* ── 6. Header & navigation ─────────────────────────────────────────────── */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: color-mix(in srgb, var(--paper) 86%, transparent);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header--over:not(.is-stuck) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }

.site-header__inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    min-height: var(--header-h);
}

.brand { flex: none; }
.brand__mark {
    display: block;
    width: 118px;
    height: 30px;
    background-color: var(--ink);
    -webkit-mask: url('../img/brand/logo-mask@2x.webp') center/contain no-repeat;
    mask: url('../img/brand/logo-mask@2x.webp') center/contain no-repeat;
}
.brand__mark--light { background-color: var(--oat); }

/* Browsers without mask support fall back to the flat oatmeal wordmark. */
@supports not ((mask: url('')) or (-webkit-mask: url(''))) {
    .brand__mark {
        background: url('../img/brand/logo-oatmeal.webp') center/contain no-repeat;
    }
}

.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; gap: .35rem; }
.site-nav__item { position: relative; }

.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .5rem .8rem;
    border-radius: 999px;
    font-size: .935rem;
    font-weight: 450;
    color: var(--ink-mid);
    transition: color .2s var(--ease), background-color .2s var(--ease);
}
.site-nav__link:hover,
.site-nav__link.is-current { color: var(--ink); background: rgba(26, 24, 21, .05); }
.site-nav__toggle svg { transition: transform .25s var(--ease); }
.site-nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.submenu {
    position: absolute;
    top: calc(100% + .5rem);
    left: 50%;
    translate: -50% 0;
    width: 340px;
    padding: .5rem;
    border-radius: var(--r);
    background: var(--paper-hi);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--line);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.site-nav__item.is-open .submenu { opacity: 1; visibility: visible; transform: translateY(0); }

.submenu__item {
    display: flex;
    align-items: center;
    gap: .85rem;
    padding: .6rem .7rem;
    border-radius: var(--r-sm);
    transition: background-color .18s var(--ease);
}
.submenu__item:hover { background: var(--paper-lo); }
.submenu__thumb { width: 96px; flex: none; }
.submenu__item strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; }
.submenu__item small { display: block; margin-top: .1rem; font-size: .8rem; color: var(--ink-low); line-height: 1.35; }

.site-header__actions { display: flex; align-items: center; gap: .5rem; }

.lang-switch {
    display: flex;
    align-items: center;
    padding: 2px;
    border-radius: 999px;
    background: rgba(26, 24, 21, .06);
}
.lang-switch__option {
    padding: .3rem .6rem;
    border-radius: 999px;
    font-family: var(--font-display);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--ink-low);
    transition: color .2s var(--ease), background-color .2s var(--ease);
}
.lang-switch__option.is-active { background: var(--paper-hi); color: var(--ink); box-shadow: var(--shadow-sm); }

.cart-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    color: var(--ink);
    transition: background-color .2s var(--ease);
}
.cart-button:hover { background: rgba(26, 24, 21, .06); }
.cart-button__badge {
    position: absolute;
    top: 2px;
    right: 0;
    min-width: 1.15rem;
    height: 1.15rem;
    padding-inline: .22rem;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: var(--clay);
    color: #fff;
    font-family: var(--font-display);
    font-size: .7rem;
    font-weight: 600;
    line-height: 1;
}

.menu-button { display: none; width: 2.6rem; height: 2.6rem; border-radius: 999px; }
.menu-button__bars { display: grid; gap: 5px; width: 18px; }
.menu-button__bars i {
    display: block;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .28s var(--ease), opacity .2s var(--ease);
}
.menu-button[aria-expanded="true"] .menu-button__bars i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-button[aria-expanded="true"] .menu-button__bars i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 0;
    z-index: 55;
    background: var(--paper);
    overflow-y: auto;
    overscroll-behavior: contain;
    animation: menu-in .3s var(--ease);
}
.mobile-menu[hidden] { display: none; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } }

.mobile-menu__inner { padding: 1.5rem var(--shell-pad) 3rem; display: grid; gap: 1.5rem; }
.mobile-menu__feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem 1.1rem;
    border-radius: var(--r);
    background: var(--paper-hi);
    box-shadow: var(--shadow-sm);
}
.mobile-menu__feature img { width: 130px; flex: none; }
.mobile-menu__feature strong { display: block; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.mobile-menu__feature small { display: block; margin-top: .15rem; font-size: .84rem; color: var(--ink-low); line-height: 1.4; }

.mobile-menu__list { display: grid; }
.mobile-menu__list a {
    display: block;
    padding: 1rem .25rem;
    border-bottom: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
}

/* ── 7. Hero ────────────────────────────────────────────────────────────── */

.hero {
    position: relative;
    margin-top: calc(var(--header-h) * -1);
    padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem));
    padding-bottom: clamp(3rem, 7vw, 6rem);
    overflow: hidden;
}
.hero__backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.hero__backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: .5;
    mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, #000 45%, transparent 100%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4rem);
}

.hero__title {
    font-size: clamp(2.35rem, 1.3rem + 4.2vw, 4.15rem);
    letter-spacing: -.033em;
    text-wrap: balance;
}
.hero__body {
    margin-top: 1.35rem;
    max-width: 34rem;
    font-size: clamp(1.02rem, .97rem + .35vw, 1.18rem);
    color: var(--ink-mid);
    text-wrap: pretty;
}
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }

.hero__stats {
    margin-top: clamp(2.25rem, 4vw, 3.25rem);
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding-top: 1.75rem;
    border-top: 1px solid var(--line);
}
.hero__stats dt {
    font-size: .78rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--ink-low);
}
.hero__stats dd {
    margin: .3rem 0 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
    font-weight: 600;
    letter-spacing: -.02em;
}
.hero__stats dd span { margin-left: .12em; font-size: .55em; font-weight: 500; color: var(--ink-low); }

/* ── 8. Sections ────────────────────────────────────────────────────────── */

/* Models */
.model-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}
.model-card {
    border-radius: var(--r-lg);
    background: var(--paper-hi);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.model-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.model-card__link { display: block; height: 100%; }
.model-card__media {
    padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem) 0;
    background: linear-gradient(175deg, var(--paper-lo), var(--paper-hi) 78%);
}
.model-card__media img { width: 100%; }
.model-card__body { padding: clamp(1.35rem, 2.5vw, 2rem); }
.model-card__name { font-size: 1.65rem; }
.model-card__tagline { margin-top: .3rem; font-size: .95rem; color: var(--clay); font-weight: 500; }
.model-card__intro { margin-top: .9rem; color: var(--ink-mid); font-size: .965rem; text-wrap: pretty; }
.model-card__foot {
    margin-top: 1.5rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.model-card__price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.model-card__from { display: block; font-size: .72rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-low); }
.model-card__cta {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--clay-deep);
}
.model-card__cta svg { transition: transform .25s var(--ease); }
.model-card:hover .model-card__cta svg { transform: translateX(3px); }

/* Features */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr));
    gap: clamp(1.5rem, 3vw, 2.75rem);
}
.feature__icon {
    display: grid;
    place-items: center;
    width: 2.9rem;
    height: 2.9rem;
    margin-bottom: 1.1rem;
    border-radius: var(--r-sm);
    background: var(--paper-hi);
    color: var(--clay);
    box-shadow: var(--shadow-sm);
}
.feature__title { font-size: 1.12rem; letter-spacing: -.01em; }
.feature__body { margin-top: .55rem; font-size: .945rem; color: var(--ink-mid); text-wrap: pretty; }

/* Colours */
.colors__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}
.colors__swatches {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 1.75rem 0 2rem;
}
.colors__swatches li {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 50%;
    background: var(--tone) var(--swatch, none) center/cover;
    box-shadow: inset 0 0 0 1px rgba(26, 24, 21, .12), var(--shadow-sm);
}
.colors__figure img { width: 100%; border-radius: var(--r-lg); }

/* Powertrain */
.power__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(2rem, 5vw, 4.5rem);
}
.power__figure {
    padding: clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--r-lg);
    background: var(--paper-lo);
}

/* CTA band */
.cta-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(2.25rem, 5vw, 3.75rem);
    border-radius: var(--r-xl);
    background: var(--coal);
    color: var(--paper);
}
.cta-band__copy { max-width: 34rem; }
.cta-band__title { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.15rem); color: var(--paper-hi); }
.cta-band__copy p { margin-top: .7rem; color: rgba(246, 242, 234, .72); text-wrap: pretty; }

/* Split layout */
.split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.split--form { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
.split__figure img { width: 100%; border-radius: var(--r-lg); }
.split__figure--inline { margin-top: 2.5rem; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr));
    gap: 1.75rem;
    margin: 2.25rem 0;
}
.info-block h2 {
    margin-bottom: .6rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-low);
}
.info-block p, .info-block address { color: var(--ink-mid); }
.info-block a { color: var(--clay-deep); }
.info-block .link-button { margin-top: .5rem; }

.hours { display: grid; gap: .4rem; color: var(--ink-mid); }
.hours > div { display: flex; justify-content: space-between; gap: 1rem; }
.hours dt { color: var(--ink-mid); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }

/* Stats & maker */
.stat-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
    gap: 1.5rem;
    margin: clamp(2.5rem, 5vw, 3.5rem) 0;
    padding: clamp(1.75rem, 3vw, 2.25rem);
    border-radius: var(--r-lg);
    background: var(--paper-lo);
}
.stat-row strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem);
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--clay);
}
.stat-row strong span { font-size: .55em; }
.stat-row span { display: block; margin-top: .3rem; font-size: .9rem; color: var(--ink-mid); line-height: 1.45; }

.maker-card {
    margin-top: 2.5rem;
    padding: 1.5rem 1.75rem;
    border-radius: var(--r);
    border: 1px solid var(--line);
}
.maker-card__label { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-low); }
.maker-card__name { margin-top: .35rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.maker-card__address { margin-top: .3rem; font-size: .9rem; color: var(--ink-mid); }

.wide-figure { margin-block: clamp(2rem, 4vw, 3.5rem); }

/* Specifications */
.spec__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(2rem, 5vw, 4.5rem);
    align-items: start;
}
.spec__list { margin-top: 2rem; }
.spec__row {
    display: flex;
    justify-content: space-between;
    gap: 1.5rem;
    padding: .85rem 0;
    border-bottom: 1px solid var(--line);
}
.spec__row dt { color: var(--ink-mid); }
.spec__row dd { margin: 0; font-weight: 500; text-align: right; }
.spec__figure {
    padding: clamp(1.25rem, 3vw, 2.25rem);
    border-radius: var(--r-lg);
    background: var(--paper-hi);
    box-shadow: var(--shadow-sm);
}
.spec__figure figcaption { margin-top: 1rem; font-size: .82rem; color: var(--ink-low); text-align: center; }

/* Stock */
.stock-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr));
    gap: clamp(1.25rem, 2.5vw, 2rem);
}
.stock-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--r-lg);
    background: var(--paper-hi);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.stock-card__media {
    position: relative;
    padding: 1.5rem 1.5rem 0;
    background: linear-gradient(175deg, var(--paper-lo), var(--paper-hi) 80%);
}
.stock-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: .3rem .7rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper-hi);
    font-family: var(--font-display);
    font-size: .74rem;
    font-weight: 500;
}
.stock-card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.stock-card__name { font-size: 1.3rem; }
.stock-card__config { margin-top: .45rem; font-size: .88rem; color: var(--ink-mid); line-height: 1.5; }
.stock-card__foot {
    margin-top: auto;
    padding-top: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.stock-card__price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }

/* ── 9. Bike renderer ───────────────────────────────────────────────────── */

.bike { position: relative; width: 100%; }
.bike__stage {
    position: relative;
    width: 100%;
    aspect-ratio: 2048 / 987;
}
.bike__layer {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity .28s var(--ease);
}
.bike__shadow {
    position: absolute;
    left: 8%;
    right: 8%;
    bottom: 1%;
    height: 6%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(58, 45, 26, .22), transparent 70%);
    filter: blur(6px);
    pointer-events: none;
}
/* The ground shadow is a gradient rather than a `drop-shadow` filter: a filter
   over three stacked 2048px layers costs a full-size offscreen pass on every
   colour change, and this reads the same. */
.bike--hero .bike__shadow {
    left: 12%;
    right: 12%;
    height: 7%;
    background: radial-gradient(ellipse at center, rgba(58, 45, 26, .28), transparent 70%);
}
.bike--thumb .bike__shadow,
.bike--mini .bike__shadow { display: none; }

/* ── 10. Configurator ───────────────────────────────────────────────────── */

.configurator { position: relative; }
.configurator__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: start;
}

.configurator__stage {
    position: sticky;
    top: var(--header-h);
    padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.5rem, 4vw, 3rem) var(--shell-pad);
}
.stage { position: relative; }
.stage__backdrop { position: absolute; inset: -6% -4%; z-index: 0; pointer-events: none; }
.stage__backdrop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .38;
    mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 45%, #000 25%, transparent 72%);
}
.stage .bike { position: relative; z-index: 1; }
.stage__caption {
    position: relative;
    z-index: 1;
    margin-top: 1.25rem;
    text-align: center;
    font-size: .875rem;
    color: var(--ink-low);
    text-wrap: balance;
}

.configurator__panel {
    padding: clamp(1.5rem, 4vw, 3rem) var(--shell-pad) clamp(2rem, 5vw, 4rem) clamp(1.5rem, 3vw, 3rem);
    background: var(--paper-hi);
    border-left: 1px solid var(--line);
    min-height: 100vh;
}
.builder { max-width: 30rem; }
.builder__head { margin-bottom: 2.5rem; }
.builder__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.3rem); }
.builder__intro { margin-top: .7rem; color: var(--ink-mid); font-size: .95rem; }

.step { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.step:first-of-type { border-top: 0; padding-top: 0; }
.step__legend {
    display: flex;
    align-items: baseline;
    gap: .6rem;
    width: 100%;
    margin-bottom: .3rem;
}
.step__number {
    font-family: var(--font-display);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--clay);
}
.step__label { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; }
.step__value { margin-left: auto; font-size: .875rem; color: var(--ink-low); }
.step__help { margin-bottom: 1rem; font-size: .875rem; color: var(--ink-low); line-height: 1.5; }

.swatches { display: grid; gap: .6rem; }
.swatches--color { grid-template-columns: repeat(auto-fit, minmax(6.5rem, 1fr)); }
.swatches--material { grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); }

.swatch__input {
    position: absolute;
    width: 1px; height: 1px;
    opacity: 0;
    pointer-events: none;
}
.swatch__label {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .6rem .75rem;
    border-radius: var(--r-sm);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
    cursor: pointer;
    transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.swatch__label:hover { box-shadow: inset 0 0 0 1px var(--line-firm); }
.swatch__input:checked + .swatch__label {
    background: var(--paper-hi);
    box-shadow: inset 0 0 0 2px var(--ink);
}
.swatch__input:focus-visible + .swatch__label { outline: 2px solid var(--clay); outline-offset: 2px; }

.swatch__chip {
    flex: none;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: var(--tone) var(--swatch, none) center/cover;
    box-shadow: inset 0 0 0 1px rgba(26, 24, 21, .16);
}
.swatch__text { min-width: 0; }
.swatch__name { display: block; font-size: .9rem; font-weight: 450; line-height: 1.3; }
.swatch__price { display: block; font-size: .78rem; color: var(--clay); }

.step--single .single-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem 1rem;
    border-radius: var(--r-sm);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
}
.single-option img { width: 4.5rem; flex: none; }
.single-option strong { display: block; font-size: .95rem; }
.single-option span { display: block; margin-top: .15rem; font-size: .82rem; color: var(--ink-low); line-height: 1.4; }
.pill {
    flex: none;
    margin-left: auto;
    padding: .25rem .65rem;
    border-radius: 999px;
    background: var(--paper-deep);
    font-size: .74rem;
    font-weight: 500;
    color: var(--ink-mid);
}

.extras { display: grid; gap: .5rem; }
.extra__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.extra__label {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: .8rem .9rem;
    border-radius: var(--r-sm);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
    cursor: pointer;
    transition: box-shadow .2s var(--ease), background-color .2s var(--ease);
}
.extra__label:hover { box-shadow: inset 0 0 0 1px var(--line-firm); }
.extra__input:checked + .extra__label { background: var(--paper-hi); box-shadow: inset 0 0 0 2px var(--ink); }
.extra__input:focus-visible + .extra__label { outline: 2px solid var(--clay); outline-offset: 2px; }

.extra__check {
    flex: none;
    display: grid;
    place-items: center;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: .1rem;
    border-radius: 6px;
    background: var(--paper-hi);
    box-shadow: inset 0 0 0 1.5px var(--line-firm);
    color: transparent;
    transition: background-color .18s var(--ease), color .18s var(--ease), box-shadow .18s var(--ease);
}
.extra__input:checked + .extra__label .extra__check {
    background: var(--ink);
    box-shadow: none;
    color: var(--paper-hi);
}
.extra__text { flex: 1; min-width: 0; }
.extra__text strong { display: block; font-size: .93rem; font-weight: 500; }
.extra__text small { display: block; margin-top: .15rem; font-size: .82rem; color: var(--ink-low); line-height: 1.45; }
.extra__price { flex: none; font-size: .875rem; font-weight: 500; color: var(--clay); white-space: nowrap; }

.builder__summary {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.summary-line {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .3rem 0;
    font-size: .9rem;
}
.summary-line--sub { color: var(--ink-mid); }

.builder__buy {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--r);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
}
.builder__total-label { font-size: .8rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-low); }
.builder__total-value {
    display: block;
    margin-top: .15rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 1.5rem + 1vw, 2.3rem);
    font-weight: 600;
    letter-spacing: -.025em;
    font-variant-numeric: tabular-nums;
}
.builder__total-note { display: block; margin-top: .2rem; font-size: .8rem; color: var(--ink-low); }

.builder__actions { margin-top: 1.25rem; display: flex; gap: .6rem; }
.qty input {
    width: 4.25rem;
    height: 3rem;
    padding: 0 .5rem;
    border: 0;
    border-radius: 999px;
    background: var(--paper-hi);
    box-shadow: inset 0 0 0 1px var(--line-firm);
    text-align: center;
    font-family: var(--font-display);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}
.builder__lead { margin-top: .9rem; font-size: .82rem; color: var(--ink-low); text-align: center; }

.share-button {
    margin: .9rem auto 0;
    display: flex;
    align-items: center;
    gap: .45rem;
    font-size: .85rem;
    color: var(--ink-mid);
    transition: color .2s var(--ease);
}
.share-button:hover { color: var(--clay-deep); }

.buybar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    padding: .7rem var(--shell-pad) calc(.7rem + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper-hi) 92%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line);
}
.buybar[hidden] { display: none; }
.buybar__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.buybar__price small { display: block; font-size: .74rem; color: var(--ink-low); }
.buybar__price strong {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* ── 11. Cart & checkout ────────────────────────────────────────────────── */

.cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 21rem);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
}
.cart__list { display: grid; gap: 1rem; }

.cart-line {
    display: grid;
    grid-template-columns: 8rem minmax(0, 1fr) auto;
    gap: 1.5rem;
    align-items: start;
    padding: 1.25rem;
    border-radius: var(--r);
    background: var(--paper-hi);
    box-shadow: var(--shadow-sm);
}
.cart-line__media { background: var(--paper-lo); border-radius: var(--r-sm); padding: .5rem; }
.cart-line__name { font-size: 1.2rem; }
.cart-line__config { margin-top: .35rem; font-size: .86rem; color: var(--ink-mid); line-height: 1.5; }
.cart-line__unit { margin-top: .3rem; font-size: .82rem; color: var(--ink-low); }
.cart-line__controls { margin-top: .9rem; display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }
.cart-line__qty { display: flex; align-items: center; gap: .5rem; }
.cart-line__qty input {
    width: 3.5rem;
    height: 2.4rem;
    padding: 0 .4rem;
    border: 0;
    border-radius: var(--r-xs);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line-firm);
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.cart-line__total {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.totals {
    padding: 1.5rem;
    border-radius: var(--r);
    background: var(--paper-hi);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: calc(var(--header-h) + 1rem);
}
.totals--compact { position: static; padding: 1.25rem 0 0; background: none; box-shadow: none; border-top: 1px solid var(--line); margin-top: 1.25rem; }
.totals__row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .4rem 0;
    font-size: .935rem;
}
.totals__row--muted { color: var(--ink-low); font-size: .85rem; }
.totals__row--grand {
    margin-top: .6rem;
    padding-top: .8rem;
    border-top: 1px solid var(--line);
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
.totals .button { margin-top: 1.25rem; }

.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 23rem);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}
.checkout__main { display: grid; gap: 1.25rem; }
.checkout__note { margin-top: .8rem; font-size: .8rem; color: var(--ink-low); text-align: center; }

.card {
    padding: clamp(1.25rem, 3vw, 1.85rem);
    border-radius: var(--r);
    background: var(--paper-hi);
    box-shadow: var(--shadow-sm);
}
.card + .card { margin-top: 1.25rem; }
.card--sticky { position: sticky; top: calc(var(--header-h) + 1rem); }
.card__title {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    letter-spacing: -.01em;
}
/* A <legend> is painted into the fieldset's border box, so it escapes the card
   padding. Floating it puts it back in normal flow. */
legend.card__title { float: left; width: 100%; }
legend.card__title + * { clear: both; }

.mini-list { display: grid; gap: .9rem; }
.mini-line { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; }
.mini-line__body { min-width: 0; }
.mini-line__body strong { display: block; font-size: .9rem; font-weight: 500; }
.mini-line__body small { display: block; margin-top: .15rem; font-size: .78rem; color: var(--ink-low); line-height: 1.4; }
.mini-line__price { font-size: .9rem; font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* ── 12. Order receipt ──────────────────────────────────────────────────── */

.receipt {
    padding: clamp(1.75rem, 4vw, 2.75rem);
    border-radius: var(--r-lg);
    background: var(--paper-hi);
    box-shadow: var(--shadow);
    margin-bottom: 1.5rem;
    text-align: center;
}
.receipt__badge {
    display: grid;
    place-items: center;
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1.25rem;
    border-radius: 50%;
}
.receipt--good .receipt__badge { background: var(--ok-bg); color: var(--ok); }
.receipt--wait .receipt__badge { background: var(--paper-deep); color: var(--ink-mid); }
.receipt--bad  .receipt__badge { background: var(--bad-bg); color: var(--bad); }
.receipt__title { font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.05rem); }
.receipt__body { margin: .8rem auto 0; max-width: 32rem; color: var(--ink-mid); text-wrap: pretty; }
.receipt__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem 2.5rem;
    margin-top: 1.75rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}
.receipt__meta dt { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-low); }
.receipt__meta dd { margin: .25rem 0 0; font-family: var(--font-display); font-weight: 500; }
.receipt .button { margin-top: 1.5rem; }
.receipt__address { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.receipt__address h3 { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-low); }
.receipt__address p { margin-top: .4rem; color: var(--ink-mid); font-size: .92rem; }

.steps-list { counter-reset: step; display: grid; gap: .9rem; }
.steps-list li {
    counter-increment: step;
    position: relative;
    padding-left: 2.4rem;
    color: var(--ink-mid);
    font-size: .95rem;
}
.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -.05em;
    display: grid;
    place-items: center;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 50%;
    background: var(--paper-deep);
    font-family: var(--font-display);
    font-size: .82rem;
    font-weight: 600;
    color: var(--ink);
}

/* ── 13. Forms ──────────────────────────────────────────────────────────── */

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.field { display: grid; gap: .35rem; }
.field--full { grid-column: 1 / -1; }

.field label { font-size: .875rem; font-weight: 500; }
.field label small { font-weight: 400; color: var(--ink-low); }
.field label span[aria-hidden] { color: var(--clay); }

.field input:not([type="checkbox"]),
.field select,
.field textarea {
    width: 100%;
    padding: .7rem .9rem;
    border: 0;
    border-radius: var(--r-xs);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line-firm);
    font-size: .95rem;
    transition: box-shadow .18s var(--ease);
}
.field textarea { resize: vertical; min-height: 5rem; line-height: 1.55; }
.field select {
    appearance: none;
    padding-right: 2.4rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%2357514A' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .9rem center;
    background-size: 10px 6px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: 0;
    box-shadow: inset 0 0 0 2px var(--ink);
}
.field--error input,
.field--error select,
.field--error textarea { box-shadow: inset 0 0 0 1.5px var(--bad); }

.field__error { font-size: .8rem; color: var(--bad); }
.field__error--block { margin-bottom: .9rem; }

.field--check {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: .65rem;
    margin-top: 1.25rem;
}
.field--check input { width: 1.15rem; height: 1.15rem; margin-top: .18rem; accent-color: var(--clay); }
.field--check label { font-size: .85rem; font-weight: 400; color: var(--ink-mid); line-height: 1.5; }
.field--check label a { color: var(--clay-deep); text-decoration: underline; text-underline-offset: 2px; }
.field--check .field__error { grid-column: 2; }

.choice-list { display: grid; gap: .6rem; margin-bottom: 1.25rem; }
.choice__input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.choice__label {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .9rem 1rem;
    border-radius: var(--r-sm);
    background: var(--paper);
    box-shadow: inset 0 0 0 1px var(--line);
    cursor: pointer;
    transition: box-shadow .2s var(--ease);
}
.choice__input:checked + .choice__label { box-shadow: inset 0 0 0 2px var(--ink); background: var(--paper-hi); }
.choice__input:focus-visible + .choice__label { outline: 2px solid var(--clay); outline-offset: 2px; }
.choice__radio {
    flex: none;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px var(--line-firm);
    transition: box-shadow .18s var(--ease);
}
.choice__input:checked + .choice__label .choice__radio { box-shadow: inset 0 0 0 5px var(--ink); }
.choice__text { flex: 1; min-width: 0; }
.choice__text strong { display: block; font-size: .95rem; font-weight: 500; }
.choice__text small { display: block; margin-top: .1rem; font-size: .82rem; color: var(--ink-low); }
.choice__price { flex: none; font-size: .9rem; font-weight: 500; }

.form-note { margin-top: .9rem; font-size: .8rem; color: var(--ink-low); text-align: center; }

.honeypot {
    position: absolute !important;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Flash & notices */
.flash-stack { display: grid; gap: .6rem; margin-top: 1.25rem; }
.flash {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .8rem 1.1rem;
    border-radius: var(--r-sm);
    font-size: .92rem;
}
.flash--success { background: var(--ok-bg); color: var(--ok); }
.flash--error { background: var(--bad-bg); color: var(--bad); }
.flash__icon { display: grid; place-items: center; flex: none; }

.notice {
    padding: 1rem 1.25rem;
    border-radius: var(--r-sm);
    font-size: .9rem;
    margin-bottom: 2rem;
}
.notice--warning { background: var(--clay-tint); color: var(--clay-deep); }

.empty-state {
    padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.5rem, 4vw, 3rem);
    border-radius: var(--r-lg);
    background: var(--paper-hi);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.empty-state--tall { padding-block: clamp(4rem, 10vw, 7rem); }
.empty-state h1, .empty-state h2 { font-size: clamp(1.35rem, 1.15rem + 1vw, 1.85rem); }
.empty-state p { margin: .75rem auto 1.75rem; max-width: 30rem; color: var(--ink-mid); }
.empty-state__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center; }

/* ── 14. Footer ─────────────────────────────────────────────────────────── */

.site-footer {
    margin-top: clamp(4rem, 8vw, 7rem);
    padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
    background: var(--coal);
    color: rgba(246, 242, 234, .7);
}
.site-footer__top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: clamp(2rem, 5vw, 4rem);
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
    border-bottom: 1px solid rgba(246, 242, 234, .12);
}
.site-footer__tagline { margin-top: 1.1rem; max-width: 20rem; font-size: .92rem; line-height: 1.6; }
.site-footer__columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr));
    gap: 2rem;
}
.site-footer__column h2 {
    margin-bottom: .9rem;
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: rgba(246, 242, 234, .45);
}
.site-footer__column ul { display: grid; gap: .55rem; }
.site-footer__column a { font-size: .92rem; transition: color .2s var(--ease); }
.site-footer__column a:hover { color: var(--paper-hi); }

.site-footer__bottom {
    padding-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.75rem;
    font-size: .82rem;
    color: rgba(246, 242, 234, .45);
}
.site-footer__legal { margin-right: auto; }
.lang-switch--footer { background: rgba(246, 242, 234, .1); }
.lang-switch--footer .lang-switch__option { color: rgba(246, 242, 234, .55); }
.lang-switch--footer .lang-switch__option.is-active { background: rgba(246, 242, 234, .16); color: var(--paper-hi); box-shadow: none; }

/* ── 15. Utilities & motion ─────────────────────────────────────────────── */

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    top: .5rem;
    left: .5rem;
    z-index: 100;
    padding: .7rem 1.1rem;
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper-hi);
    font-size: .9rem;
    transform: translateY(-200%);
    transition: transform .2s var(--ease);
}
.skip-link:focus { transform: translateY(0); }

body.is-locked { overflow: hidden; }

/* Reveal on scroll — opt-in, and only when motion is welcome. */
@media (prefers-reduced-motion: no-preference) {
    /* .reveal is only ever applied by site.js, so no-JS visitors never see
       hidden content — no `.js` gate needed. */
    .reveal { opacity: 0; transform: translateY(18px); }
    .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: opacity .7s var(--ease), transform .7s var(--ease);
    }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
    .site-nav__link { padding-inline: .6rem; font-size: .9rem; }
    .configurator__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 22rem); }
}

@media (max-width: 940px) {
    .site-nav { display: none; }
    .menu-button { display: grid; place-items: center; }

    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { order: -1; }
    .hero__copy { text-align: center; }
    .hero__body { margin-inline: auto; }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; text-align: center; }

    .colors__grid,
    .power__grid,
    .spec__grid,
    .split,
    .split--form { grid-template-columns: 1fr; }
    .power__figure { order: 1; }

    .configurator__grid { grid-template-columns: 1fr; }
    .configurator__stage {
        position: static;
        padding: 1.5rem var(--shell-pad) 0;
    }
    .configurator__panel {
        border-left: 0;
        border-top: 1px solid var(--line);
        min-height: 0;
        padding-inline: var(--shell-pad);
    }
    .builder { max-width: none; margin-inline: auto; }
    .builder__buy { padding-bottom: 5.5rem; }

    .cart,
    .checkout { grid-template-columns: 1fr; }
    .totals, .card--sticky { position: static; }
    .site-footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    :root { --header-h: 62px; }

    .field-grid { grid-template-columns: 1fr; }

    .cart-line { grid-template-columns: 5.5rem minmax(0, 1fr); }
    .cart-line__total { grid-column: 2; text-align: right; }

    .mini-line { grid-template-columns: 3.5rem minmax(0, 1fr) auto; }

    .brand__mark { width: 96px; height: 25px; }
    .receipt__meta { gap: 1.25rem 1.75rem; }
}

@media print {
    .site-header, .site-footer, .buybar, .skip-link, .flash-stack { display: none !important; }
    body { background: #fff; }
    .card, .receipt { box-shadow: none; border: 1px solid #ddd; }
}
