/* ============================================================
   Abstract Autoz — style.css
   Font: Inter (everything)

   Palette:
   #F7F7F8  — Background      (white + micro cool grey)
   #3B1F6A  — Deep Purple     (primary accent)
   #B91C1C  — Deep Crimson    (secondary accent)
   #E6E6EA  — Surface grey    (alternate sections)
   #17141E  — Near-black      (text, footer, CTA band)
   ============================================================ */

/* ── Variables ──────────────────────────────────────────────── */
:root {
    /* Backgrounds */
    --bg:           #F7F7F8;
    --bg-surface:   #E6E6EA;
    --bg-raised:    #D0D0D8;

    /* Text */
    --text:         #17141E;
    --text-muted:   #58536A;
    --text-faint:   #A9A4BA;

    /* Primary accent — deep purple */
    --purple:       #3B1F6A;
    --purple-hover: #2D1752;
    --purple-dim:   rgba(59, 31, 106, 0.09);

    /* Secondary accent — deep crimson */
    --red:          #B91C1C;
    --red-hover:    #991414;
    --red-dim:      rgba(185, 28, 28, 0.09);

    /* Aliases used throughout */
    --accent:       var(--purple);
    --accent-hover: var(--purple-hover);
    --accent-dim:   var(--purple-dim);

    /* Borders */
    --border:       rgba(23, 20, 30, 0.1);
    --border-hover: rgba(23, 20, 30, 0.22);

    /* Font */
    --font: 'DM Sans', sans-serif;

    /* Layout */
    --nav-h:     70px;
    --max-w:     1160px;
    --radius:    6px;
    --radius-lg: 12px;

    --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-weight: 400;
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; }
ul { list-style: none; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4 {
    font-family: var(--font);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 600; }

p { font-size: clamp(0.95rem, 1.5vw, 1.05rem); color: var(--text-muted); line-height: 1.75; }
p + p { margin-top: 1rem; }

/* ── Utility ────────────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
}

.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section--dark { background-color: var(--bg-surface); }

.section__header { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.section__label {
    display: inline-block;
    font-family: var(--font);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 0.75rem;
}
.section__heading { color: var(--text); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.2s var(--ease-out),
                color      0.2s var(--ease-out),
                border-color 0.2s var(--ease-out),
                transform  0.15s var(--ease-out);
    cursor: pointer;
    white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn--primary {
    background: var(--purple);
    color: #fff;
    border: 2px solid var(--purple);
}
.btn--primary:hover {
    background: var(--purple-hover);
    border-color: var(--purple-hover);
}

/* Red variant — used for secondary CTAs */
.btn--red {
    background: var(--red);
    color: #fff;
    border: 2px solid var(--red);
}
.btn--red:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
}

.btn--ghost {
    background: transparent;
    color: var(--text);
    border: 2px solid var(--border-hover);
}
.btn--ghost:hover {
    background: rgba(23, 20, 30, 0.04);
    border-color: var(--text);
}

.btn--full { width: 100%; }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(247, 247, 248, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s var(--ease-out);
}
.nav--scrolled { background: rgba(247, 247, 248, 0.98); }

.nav__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 5vw, 3rem);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Nav logo */
.nav__logo {
    font-family: var(--font);
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text);
    flex-shrink: 0;

    display: flex;
    align-items: center;
    gap: 8px;
}

.nav__logo-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
}
.nav__logo span { color: var(--purple); }

.nav__links {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.5rem);
}

.nav__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    transition: color 0.2s;
    position: relative;
}
.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0; right: 0;
    height: 2px;
    background: var(--purple);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease-out);
}
.nav__link:hover        { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link.is-active    { color: var(--text); }

/* Hamburger */
.nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 2px;
    z-index: 210;
}
.nav__toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
    min-height: 100svh;
    padding-top: var(--nav-h);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 50% at 75% 45%, rgba(59, 31, 106, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 35% 40% at 10% 85%, rgba(185, 28, 28, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.hero__inner {
    max-width: var(--max-w);
    width: 100%;
    margin: 0 auto;
    padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 5vw, 3rem);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: clamp(2rem, 4vw, 3.5rem);
}

.hero__content { max-width: 100%; }

.hero__eyebrow {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 1.25rem;
}

/* Hero heading */
.hero__heading {
    font-family: var(--font);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 1.5rem;
}
.hero__heading span { color: var(--purple); }

.hero__sub {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    max-width: 520px;
    margin-bottom: 2.5rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

/* Hero image — landscape optimised */
.hero__image {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    position: relative;
    justify-self: end;
    box-shadow: 0 8px 40px rgba(23, 20, 30, 0.12);
}
.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
    display: block;
}

/* Services strip */
.hero__strip {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 1rem clamp(1.25rem, 5vw, 3rem);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 1.5rem;
}
.hero__strip span {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.hero__strip span[aria-hidden] { color: var(--text-faint); }

/* ── Why Section ────────────────────────────────────────────── */
.why__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.why__card {
    background: var(--bg);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    transition: background 0.3s var(--ease-out);
}
.why__card:hover { background: var(--bg-surface); }

.why__icon {
    width: 44px; height: 44px;
    color: var(--purple);
    margin-bottom: 1.25rem;
}
.why__icon svg { width: 100%; height: 100%; }
.why__card h3 { color: var(--text); margin-bottom: 0.6rem; }

/* ── Services Preview (Home) ─────────────────────────────────── */
.services-preview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2.5rem;
}

.service-item {
    background: var(--bg-surface);
    padding: 1.5rem 1.75rem;
    transition: background 0.25s var(--ease-out);
    cursor: default;
}
.service-item:hover { background: var(--purple-dim); }
.service-item span  { font-weight: 500; font-size: 0.95rem; color: var(--text); }

.services-preview__cta { text-align: center; }

/* ── CTA Band — deep purple ──────────────────────────────────── */
.cta-band {
    background: var(--purple);
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.cta-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.cta-band__inner h2 {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2rem);
    letter-spacing: -0.02em;
}
.cta-band .btn--primary {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}
.cta-band .btn--primary:hover {
    background: var(--red-hover);
    border-color: var(--red-hover);
}

/* ── Page Hero ───────────────────────────────────────────────── */
.page-hero {
    padding-top: calc(var(--nav-h) + clamp(3rem, 7vw, 5rem));
    padding-bottom: clamp(3rem, 7vw, 5rem);
    border-bottom: 1px solid var(--border);
}
.page-hero__heading {
    font-family: var(--font);
    font-weight: 900;
    color: var(--text);
    margin-top: 0.75rem;
}
.page-hero__heading span { color: var(--purple); }

/* ── About — Story ───────────────────────────────────────────── */
.story__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: center;
}

.story__image-block {
    aspect-ratio: 4 / 5;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.story__image-block img { width: 100%; height: 100%; object-fit: cover; }

.story__image-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    padding: 2rem;
    text-align: center;
}
.story__image-placeholder svg { width: 80px; height: 80px; opacity: 0.2; }
.story__image-placeholder p   { font-size: 0.85rem; }

.story__content h2 { color: var(--text); margin-bottom: 1.25rem; }

/* ── About — Values ──────────────────────────────────────────── */
.values__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.value-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    transition: border-color 0.3s;
}
.value-card:hover { border-color: var(--purple); }
.value-card__number {
    display: block;
    font-family: var(--font);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-faint);
    margin-bottom: 1rem;
    line-height: 1;
}
.value-card h3 { color: var(--text); margin-bottom: 0.6rem; }

/* ── Services Page ───────────────────────────────────────────── */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.service-card {
    background: var(--bg);
    padding: clamp(1.75rem, 4vw, 2.5rem);
    transition: background 0.3s var(--ease-out);
    animation-delay: var(--delay, 0s);
}
.service-card:hover { background: var(--bg-surface); }
.service-card h3    { color: var(--text); margin-bottom: 0.6rem; }

.service-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 1.25rem;
    background: var(--purple-dim);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--purple);
    padding: 10px;
}
.service-card__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ── Image Carousel ─────────────────────────────────────────── */
.carousel-section { background: var(--bg); }

.carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    user-select: none;
}

.carousel__track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.carousel__slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    max-height: 620px;
    overflow: hidden;
    background: var(--bg-raised);
}

.carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    max-height: 620px;
    display: block;
}

/* Placeholder shown until real images are added */
.carousel__slide--placeholder {
    min-height: 420px;
    background: var(--bg-surface);
    border: 2px dashed var(--border-hover);
}
.carousel__slide--placeholder span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-faint);
    letter-spacing: 0.06em;
}

/* Prev / Next buttons */
.carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
    box-shadow: 0 2px 8px rgba(23, 20, 30, 0.1);
}
.carousel__btn svg { width: 20px; height: 20px; }
.carousel__btn:hover { background: var(--purple); border-color: var(--purple); color: #fff; }
.carousel__btn:disabled { opacity: 0.3; pointer-events: none; }
.carousel__btn--prev { left: 1rem; }
.carousel__btn--next { right: 1rem; }

/* Dot indicators */
.carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}
.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--bg-raised);
    border: 1px solid var(--border-hover);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    padding: 0;
}
.carousel__dot.is-active {
    background: var(--purple);
    border-color: var(--purple);
    transform: scale(1.3);
}

/* Mobile — swipe-friendly, smaller buttons */
@media (max-width: 640px) {
    .carousel__slide { min-height: 260px; max-height: 400px; }
    .carousel__slide img { max-height: 400px; }
    .carousel__slide--placeholder { min-height: 260px; }
    .carousel__btn { width: 36px; height: 36px; }
    .carousel__btn svg { width: 16px; height: 16px; }
    .carousel__btn--prev { left: 0.5rem; }
    .carousel__btn--next { right: 0.5rem; }
}

.services-note__inner {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
}
.services-note__inner h2 { color: var(--text); margin-bottom: 1rem; }
.services-note__inner p  { margin-bottom: 2rem; }

/* ── Contact Page ────────────────────────────────────────────── */
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
}

.contact__info h2 { color: var(--text); margin-bottom: 1rem; }
.contact__info > p { margin-bottom: 2rem; }

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.contact__details li { display: flex; flex-direction: column; gap: 0.2rem; }

.contact__detail-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--purple);
}
.contact__details a,
.contact__details span { font-weight: 400; color: var(--text-muted); }
.contact__details a:hover { color: var(--text); }

/* Form */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form__group { display: flex; flex-direction: column; gap: 0.4rem; }

.form__group label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text);
    letter-spacing: 0.01em;
}
.form__group label span { color: var(--red); }

.form__group input,
.form__group textarea {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.7rem 1rem;
    color: var(--text);
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
    outline: none;
    width: 100%;
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: var(--text-faint); }
.form__group input:focus,
.form__group textarea:focus {
    border-color: var(--purple);
    box-shadow: 0 0 0 3px var(--purple-dim);
}

.form-feedback {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.9rem;
}
.form-feedback--success {
    background: rgba(22, 120, 70, 0.08);
    border: 1px solid rgba(22, 120, 70, 0.2);
    color: #166044;
}
.form-feedback--error {
    background: var(--red-dim);
    border: 1px solid rgba(185, 28, 28, 0.25);
    color: var(--red);
}

/* ── 404 Page ────────────────────────────────────────────────── */
.error-page {
    min-height: calc(100vh - var(--nav-h));
    padding-top: var(--nav-h);
    display: flex;
    align-items: center;
}
.error-page__inner {
    text-align: center;
    max-width: 480px;
    margin: 0 auto;
}
.error-page__code {
    display: block;
    font-family: var(--font);
    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 800;
    color: var(--text-faint);
    line-height: 1;
    margin-bottom: 1rem;
}
.error-page__inner h1 { color: var(--text); margin-bottom: 0.75rem; }
.error-page__inner p  { margin-bottom: 2rem; }

/* ── Footer — near-black ─────────────────────────────────────── */
.footer {
    border-top: 1px solid var(--border);
    background: var(--text);
}
.footer__inner {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 5vw, 3rem);
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.footer__brand .nav__logo {
    display: inline-block;
    margin-bottom: 0.75rem;
    color: var(--bg);
}
.footer__brand .nav__logo span { color: #9B7FCC; }
.footer__brand p { font-size: 0.9rem; color: rgba(247, 247, 248, 0.45); }

.footer__social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}
.footer__social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: rgba(247, 247, 248, 0.08);
    border: 1px solid rgba(247, 247, 248, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(247, 247, 248, 0.5);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.footer__social a:hover {
    background: var(--purple);
    border-color: var(--purple);
    color: #fff;
}
.footer__social svg {
    width: 16px;
    height: 16px;
    display: block;
}

.footer__nav { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__nav a {
    font-size: 0.9rem;
    color: rgba(247, 247, 248, 0.45);
    transition: color 0.2s;
}
.footer__nav a:hover { color: var(--bg); }

.footer__info p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: rgba(247, 247, 248, 0.45);
}
.footer__info p + p { margin-top: 0.4rem; }

.footer__bottom {
    border-top: 1px solid rgba(247, 247, 248, 0.08);
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1.25rem clamp(1.25rem, 5vw, 3rem);
}
.footer__bottom p { font-size: 0.8rem; color: rgba(247, 247, 248, 0.28); }

/* ── Scroll reveal ───────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
    transition-delay: var(--delay, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* Tablet — ≤ 900px */
@media (max-width: 900px) {
    .hero__inner {
        grid-template-columns: 1fr;
    }
    .hero__image {
        aspect-ratio: 16 / 9;
        max-width: 100%;
        justify-self: stretch;
    }

    .story__grid { grid-template-columns: 1fr; }
    .story__image { order: -1; }
    .story__image-block { aspect-ratio: 16 / 9; }

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

    .footer__inner { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}

/* Mobile nav drawer — ≤ 900px */
@media (max-width: 900px) {
    :root { --nav-h: 62px; }

    .nav__toggle { display: flex; }

    .nav__links {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #F7F7F8;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding-top: 62px;
        z-index: 101;
        box-shadow: -4px 0 32px rgba(23, 20, 30, 0.18);
        overflow-y: auto;
        gap: 0;
    }
    .nav__links.is-open { display: flex; }

    .nav__links li {
        width: 100%;
        border-bottom: 1px solid rgba(23, 20, 30, 0.08);
    }
    .nav__links li:first-child { border-top: 1px solid rgba(23, 20, 30, 0.08); }

    .nav__link {
        display: block;
        width: 100%;
        padding: 1.1rem 1.5rem;
        font-size: 1rem;
        font-weight: 600;
        color: #17141E;
        text-align: left;
        letter-spacing: 0.01em;
    }
    .nav__link::after { display: none; }
    .nav__link.is-active { color: #3B1F6A; }
    .nav__link:hover { color: #3B1F6A; background: rgba(59, 31, 106, 0.07); }

    .nav-backdrop {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(23, 20, 30, 0.5);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 99;
    }
    .nav-backdrop.is-visible { display: block; }
}

/* Small mobile extras — ≤ 640px */
@media (max-width: 640px) {
    .hero__heading { font-size: clamp(1.6rem, 7vw, 2.4rem); }
    .hero__actions { flex-direction: column; }
    .hero__actions .btn { width: 100%; justify-content: center; }
    .hero__strip { display: none; }
    .form__row { grid-template-columns: 1fr; }
    .cta-band__inner { flex-direction: column; text-align: center; }
    .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ── Reduced motion ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}


/* ── Tuning Page ─────────────────────────────────────────────── */
.tuning-intro__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: clamp(3rem, 6vw, 5rem);
    align-items: start;
}
.tuning-intro__content h2 { color: var(--text); margin-bottom: 1.25rem; }

/* Partnership contact card */
.tuning-contact-card {
    margin-top: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
}
.tuning-contact__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text) !important;
    margin: 0.4rem 0 0.75rem !important;
}
.tuning-contact__details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
.tuning-contact__details a {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 500;
    transition: opacity 0.2s;
}
.tuning-contact__details a:hover { opacity: 0.75; }

/* Stat blocks */
.tuning-intro__stats {
    display: flex;
    flex-direction: column;
    gap: 1.5px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.tuning-stat {
    background: var(--bg);
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.tuning-stat__value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.tuning-stat__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Intro paragraph above grid */
.tuning-types__intro {
    max-width: 720px;
    margin-bottom: 2.5rem;
}

/* Parameter cards */
.tuning-types__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.tuning-type-card {
    background: var(--bg-surface);
    padding: clamp(1.5rem, 3vw, 2rem);
    transition: background 0.3s var(--ease-out);
}
.tuning-type-card:hover { background: var(--bg-raised); }
.tuning-type-card__icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: 0.9rem;
}
.tuning-type-card__icon svg { width: 100%; height: 100%; }
.tuning-type-card h3 { color: var(--text); margin-bottom: 0.5rem; }

.tuning-list {
    margin-top: 0.5rem;
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.tuning-list li {
    font-size: 0.87rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}
.tuning-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

/* GM section */
.tuning-gm__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
    margin-bottom: 3rem;
}
.tuning-gm__content h2 { color: var(--text); margin-bottom: 1rem; }

.tuning-platforms__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
.platform-group h3 {
    font-size: 0.95rem;
    color: var(--text);
    margin-bottom: 0.75rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}
.platform-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.platform-list li {
    font-size: 0.88rem;
    color: var(--text-muted);
    padding-left: 1rem;
    position: relative;
}
.platform-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58em;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}

/* Other makes block */
.tuning-other {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    background: var(--bg-surface);
}
.tuning-other h3 { color: var(--text); margin-bottom: 0.6rem; }

/* Tuning page contact card */
.tuning-contact-card {
  margin-top: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
}
.tuning-contact__name {
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0.5rem 0 1rem;
}
.tuning-contact__details {
  display: flex;
  gap: 0.5rem;
  align-items: left;
}
.tuning-contact__details a {
  font-weight: 400;
  color: var(--text);
}
.tuning-contact__details a:hover {
  opacity: 0.75;
}
/* Protect SVG sizing for service icons */
.service-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
/* (Optional) If global rule causes issues, override it: */
.service-card__icon svg,
.tuning-contact__details a svg {
  max-width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 900px) {
    .tuning-intro__grid { grid-template-columns: 1fr; }
    .tuning-gm__grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
    .tuning-platforms__grid { grid-template-columns: 1fr; }
}
