/* ===================================================
   MR RESTAURANT — Enhanced Stylesheet
   Design: Cinematic dark, editorial, premium food
=================================================== */

/* ── IMPORTS ───────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garant:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── TOKENS ────────────────────────────────────── */
:root {
    /* Palette */
    --ink:        #0B0B0B;
    --surface:    #111111;
    --surface-2:  #181818;
    --surface-3:  #222222;
    --border:     rgba(255,255,255,0.08);
    --gold:       #C8952A;
    --gold-light: #E0AF55;
    --ember:      #D95F2B;
    --ivory:      #F5EFE0;
    --muted:      #7A7369;
    --text:       #E8E2D9;
    --text-dim:   #9C9590;

    /* Type */
    --font-display: 'Cormorant Garant', Georgia, serif;
    --font-body:    'DM Sans', system-ui, sans-serif;

    /* Spacing */
    --gap:    clamp(1.5rem, 3vw, 2.5rem);
    --radius: 12px;
    --radius-lg: 20px;

    /* Transitions */
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--ink);
    color: var(--text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ── LAYOUT ────────────────────────────────────── */
.container {
    width: min(90%, 1180px);
    margin-inline: auto;
}

.section {
    padding-block: clamp(70px, 10vw, 120px);
}

/* ── TYPOGRAPHY ─────────────────────────────────── */
h1, h2, h3 {
    font-family: var(--font-display);
    line-height: 1.15;
    font-weight: 600;
}

.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.9rem, 4vw, 3rem);
    color: var(--ivory);
    margin-bottom: 1.5rem;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin-inline: auto;
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

/* ── BUTTONS ─────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 2rem;
    background: var(--gold);
    color: #0B0B0B;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 100px;
    transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200, 149, 42, 0.3);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 0.85rem 2rem;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text);
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 100px;
    transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(200, 149, 42, 0.06);
}

.btn-full { width: 100%; justify-content: center; }

/* ── HEADER ──────────────────────────────────────── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: background 0.35s var(--ease), padding 0.35s var(--ease), box-shadow 0.35s;
}

.header.scrolled {
    background: rgba(11, 11, 11, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0.8rem 0;
    box-shadow: 0 1px 0 var(--border);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex-shrink: 0;
}

.logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ivory);
    letter-spacing: 0.04em;
}

.logo-text em {
    font-style: italic;
    color: var(--gold);
    margin-left: 0.1em;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-dim);
    position: relative;
    transition: color 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
    color: var(--ivory);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.btn-reserve {
    padding: 0.6rem 1.3rem;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 100px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.btn-reserve:hover {
    background: var(--gold);
    color: #000;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s, width 0.3s;
}

.hamburger span:nth-child(2) { width: 70%; }

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}
.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── HERO ────────────────────────────────────────── */
.hero {
    position: relative;
    height: 100svh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
    animation: heroZoom 10s ease-out forwards;
}

@keyframes heroZoom {
    to { transform: scale(1); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(11,11,11,0.25) 0%,
        rgba(11,11,11,0.65) 60%,
        rgba(11,11,11,0.85) 100%
    );
}

/* Cinematic letterbox bars — signature element */
.letterbox {
    position: absolute;
    left: 0;
    right: 0;
    height: 0;
    background: var(--ink);
    z-index: 2;
    animation: letterboxReveal 1.4s var(--ease-out) forwards;
}

.letterbox-top  { top: 0; transform-origin: top; }
.letterbox-bottom { bottom: 0; transform-origin: bottom; }

@keyframes letterboxReveal {
    0%   { height: 22%; }
    100% { height: 0%; }
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 780px;
    padding: 0 1.5rem;
    animation: heroFadeUp 1s 0.6s var(--ease-out) both;
}

@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 8rem);
    letter-spacing: 0.02em;
    line-height: 1;
    margin-bottom: 1.2rem;
    color: var(--ivory);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1em;
}

.hero-title-mr {
    color: var(--gold);
    font-style: italic;
}

.hero-title-rest {
    font-weight: 400;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    z-index: 3;
    animation: heroFadeUp 1s 1.2s var(--ease-out) both;
}

.hero-scroll-hint span {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.15); }
}

/* ── REVEAL ANIMATION ────────────────────────────── */
/* Only hide sections once JS is confirmed active (body.js-ready).
   This prevents invisible content if JS/CSS loads out of order on any host. */
body.js-ready [data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

body.js-ready [data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Safety net: if observer never fires, force-reveal after 2s */
@keyframes forceReveal {
    to { opacity: 1; transform: translateY(0); }
}

body.js-ready [data-reveal]:not(.revealed) {
    animation: forceReveal 0.01s 2s forwards;
}

/* ── ABOUT ───────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 5rem);
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-wrap img {
    width: 100%;
    border-radius: var(--radius-lg);
    aspect-ratio: 4/5;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--gold);
    color: #000;
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 32px rgba(200,149,42,0.35);
}

.badge-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.badge-label {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.4;
}

.about-text {
    padding-left: clamp(0px, 2vw, 2rem);
}

.about-desc {
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.8;
}

.about-list {
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.about-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-dim);
    font-size: 0.93rem;
    line-height: 1.6;
}

.list-dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    margin-top: 0.55em;
}

/* ── SERVICES ────────────────────────────────────── */
.services {
    background: var(--surface);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.25rem 2rem;
    position: relative;
    transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--ember));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(200,149,42,0.2);
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.service-card--featured {
    background: var(--surface-3);
    border-color: rgba(200,149,42,0.25);
}

.service-icon {
    width: 48px;
    height: 48px;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--ivory);
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.service-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid rgba(200,149,42,0.3);
    border-radius: 100px;
    padding: 0.3rem 0.85rem;
}

/* ── MENU SECTION ────────────────────────────────── */
.menu-section {
    background: var(--ink);
}

/* Filter tabs */
.menu-filter {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.5rem 1.3rem;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: transparent;
    color: var(--text-dim);
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gold);
    border-color: var(--gold);
    color: #000;
}

/* Menu grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.75rem;
}

.food-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
    display: flex;
    flex-direction: column;
}

.food-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border-color: rgba(200,149,42,0.25);
}

.food-card.hidden {
    display: none;
}

.food-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.food-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}

.food-card:hover .food-img-wrap img {
    transform: scale(1.06);
}

/* Diet badges */
.food-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    backdrop-filter: blur(8px);
}

.veg-badge    { background: rgba(52,168,83,0.85);  color: #fff; }
.nonveg-badge { background: rgba(217,95,43,0.9);   color: #fff; }
.special-badge { background: rgba(200,149,42,0.9); color: #000; }

.food-info {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.food-info h3 {
    font-size: 1.15rem;
    color: var(--ivory);
    margin-bottom: 0.4rem;
}

.food-desc {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.65;
    flex: 1;
    margin-bottom: 1rem;
}

.food-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold);
}

.btn-order {
    padding: 0.4rem 1rem;
    background: transparent;
    border: 1px solid rgba(200,149,42,0.35);
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 100px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-order:hover {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

/* ── STATS STRIP ─────────────────────────────────── */
.stats-strip {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding-block: 4rem;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 120px;
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--ivory);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 1.6rem;
    color: var(--gold);
    vertical-align: super;
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
    flex-shrink: 0;
}

/* ── CONTACT ─────────────────────────────────────── */
.contact {
    background: var(--ink);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 5vw, 6rem);
    align-items: start;
}

.contact-desc {
    color: var(--text-dim);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.2rem;
    line-height: 1;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.contact-item p {
    color: var(--text-dim);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Form */
.contact-form-wrap {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color 0.2s, background 0.2s;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--surface-3);
}

.success-message {
    margin-top: 1rem;
    padding: 0.85rem 1.1rem;
    background: rgba(52,168,83,0.12);
    border: 1px solid rgba(52,168,83,0.3);
    border-radius: var(--radius);
    color: #7acf93;
    font-size: 0.88rem;
    display: none;
}

.success-message.visible {
    display: block;
}

/* ── FOOTER ──────────────────────────────────────── */
.footer {
    background: #070707;
    border-top: 1px solid var(--border);
    padding-block: 3rem;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand p {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin-top: 0.35rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-dim);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--gold);
}

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 0.78rem;
    color: var(--muted);
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* ── RESPONSIVE ──────────────────────────────────── */

/* Tablet (≤900px) */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }

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

    .about-image-wrap {
        max-width: 480px;
        margin-inline: auto;
    }

    .about-badge {
        bottom: -1rem;
        right: 0.5rem;
    }

    .about-text {
        padding-left: 0;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        justify-content: center;
    }

    .stat-divider {
        display: none;
    }

    .stat-item {
        flex: 0 1 40%;
    }
}

/* Mobile (≤640px) */
@media (max-width: 640px) {
    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        inset: 0;
        background: rgba(11,11,11,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease);
        z-index: 999;
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .menu {
        flex-direction: column;
        align-items: center;
        gap: 1.75rem;
    }

    .nav-link {
        font-size: 1.5rem;
        color: var(--text);
    }

    .btn-reserve {
        font-size: 0.9rem;
        padding: 0.75rem 2rem;
    }

    .hero-title {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .hero-sub {
        font-size: 0.95rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-inline: auto;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.25rem;
    }

    .stat-item {
        flex: 0 1 45%;
    }
}

/* Very small (≤400px) */
@media (max-width: 400px) {
    .hero-title { font-size: 2.8rem; }
    .stat-item  { flex: 0 1 100%; }
}

/* ── REDUCED MOTION ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}