/* =========================================================
   Lardner Elevator Co. — Stylesheet
   Palette: warm off-white paper / deep ink / blueprint blue
   ========================================================= */

:root {
    --paper: #f4efe6;
    --paper-2: #ece6d8;
    --ink: #14181f;
    --ink-soft: #2a313d;
    --muted: #5a6270;
    --rule: #cdc4b1;
    --blue: #1a4f8b;          /* Blueprint blue — used for accents */
    --blue-soft: #4a78a8;
    --blue-bg: #eaf0f7;
    --accent: #c5481f;        /* Detroit brick / safety orange */
    --accent-soft: #e0612f;
    --shadow: 0 1px 0 rgba(20, 24, 31, 0.04);

    --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

    --container: 1200px;
    --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    font-family: var(--font-display);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

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

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0;
    color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4.5rem); line-height: 1.04; font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.1; }
h3 { font-size: 1.25rem; line-height: 1.3; }
h4 { font-size: 0.95rem; letter-spacing: 0.01em; }

p { margin: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 var(--gutter);
    position: relative;
}

/* =========================================================
   Blueprint background — fixed, scroll-driven elevator
   ========================================================= */
.blueprint-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(26, 79, 139, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26, 79, 139, 0.05) 1px, transparent 1px),
        linear-gradient(to right, rgba(26, 79, 139, 0.10) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(26, 79, 139, 0.10) 1px, transparent 1px);
    background-size: 24px 24px, 24px 24px, 120px 120px, 120px 120px;
    mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 50%, #000 50%, transparent 100%);
}

.elevator-svg {
    position: absolute;
    top: 0;
    right: clamp(-100px, 4vw, 60px);
    width: clamp(360px, 38vw, 560px);
    height: 100vh;
    opacity: 0.28;
    /* Slight transform for parallax — JS will adjust scrollY-based variables */
    transform: translate3d(0, 0, 0);
}

.elevator-svg .hoistway line,
.elevator-svg .hoistway rect {
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.2;
}

.elevator-svg .floor-markers line {
    stroke: var(--blue-soft);
    stroke-width: 0.8;
}

.elevator-svg .floor-markers text {
    font-family: var(--font-mono);
    font-size: 11px;
    fill: var(--blue);
}

.elevator-svg .sheave {
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.2;
}

.elevator-svg .sheave-inner {
    fill: var(--blue);
}

.elevator-svg .cable {
    stroke: var(--blue);
    stroke-width: 1;
}

.elevator-svg .elevator-car rect,
.elevator-svg .elevator-car line,
.elevator-svg .elevator-car circle {
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.2;
}

.elevator-svg .elevator-car circle {
    fill: var(--blue);
}

.elevator-svg .elevator-car text {
    font-family: var(--font-mono);
    font-size: 13px;
    fill: var(--blue);
    letter-spacing: 0.15em;
}

.elevator-svg .counterweight rect,
.elevator-svg .counterweight line {
    fill: none;
    stroke: var(--blue);
    stroke-width: 1.2;
}

.elevator-svg .counterweight text {
    font-family: var(--font-mono);
    font-size: 10px;
    fill: var(--blue);
    letter-spacing: 0.15em;
}

.elevator-svg .dimensions text {
    font-family: var(--font-mono);
    font-size: 10px;
    fill: var(--blue-soft);
}

/* All real content must sit above the blueprint */
.site-header,
main,
.site-footer { position: relative; z-index: 1; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244, 239, 230, 0.88);
    backdrop-filter: saturate(140%) blur(10px);
    -webkit-backdrop-filter: saturate(140%) blur(10px);
    border-bottom: 1px solid var(--rule);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
}

.logo-mark {
    display: inline-flex;
    width: 36px;
    height: 36px;
    color: var(--blue);
}

.logo-mark svg { width: 100%; height: 100%; }

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text strong {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.logo-text em {
    font-style: normal;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--muted);
    letter-spacing: 0.05em;
}

.primary-nav {
    display: flex;
    gap: 28px;
}

.primary-nav a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink-soft);
    transition: color 0.15s ease;
    position: relative;
}

.primary-nav a:hover { color: var(--blue); }

.primary-nav a::after {
    content: "";
    position: absolute;
    left: 0; right: 100%;
    bottom: -6px;
    height: 1px;
    background: var(--blue);
    transition: right 0.2s ease;
}

.primary-nav a:hover::after { right: 0; }

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--ink);
    background: var(--paper-2);
    padding: 8px 14px;
    border: 1px solid var(--rule);
    border-radius: 999px;
    transition: all 0.15s ease;
}

.header-cta:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.header-cta .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.18);
    animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.18); }
    50% { box-shadow: 0 0 0 6px rgba(46, 204, 113, 0.05); }
}

/* =========================================================
   Hamburger button + mobile slide-down nav
   ========================================================= */
.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 0;
    cursor: pointer;
    position: relative;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.nav-toggle:hover {
    background: var(--paper);
    border-color: var(--blue);
}

.nav-toggle-bars {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: relative;
    transition: background 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--ink);
    transition: transform 0.25s ease, top 0.2s ease 0.05s;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after  { top:  6px; }

/* Open state — bars become an X */
.nav-toggle[aria-expanded="true"] .nav-toggle-bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
    transition: top 0.2s ease, transform 0.25s ease 0.05s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
    transition: top 0.2s ease, transform 0.25s ease 0.05s;
}

/* Mobile nav drawer (slides down from header) */
.mobile-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    box-shadow: 0 12px 24px rgba(20, 24, 31, 0.08);
    padding: 8px var(--gutter) 16px;
    display: none;
    flex-direction: column;
}

.mobile-nav.is-open {
    display: flex;
    animation: slideDown 0.22s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav a {
    display: block;
    padding: 16px 4px;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--ink);
    border-bottom: 1px dashed var(--rule);
    transition: color 0.15s ease, padding-left 0.15s ease;
}

.mobile-nav a:last-child { border-bottom: none; }

.mobile-nav a:hover,
.mobile-nav a:focus {
    color: var(--blue);
    padding-left: 8px;
}

.mobile-nav-cta {
    margin-top: 12px;
    padding: 14px !important;
    background: var(--ink);
    color: var(--paper) !important;
    text-align: center;
    border-radius: 8px;
    font-weight: 600;
    border-bottom: none !important;
}

.mobile-nav-cta:hover {
    background: var(--blue);
    padding-left: 14px !important;
}

/* Lock body scroll while menu is open */
body.menu-open { overflow: hidden; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: var(--font-display);
    border-radius: 8px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.18s ease;
    line-height: 1;
    letter-spacing: -0.005em;
}

.btn-primary {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
}

.btn-primary:hover {
    background: var(--blue);
    border-color: var(--blue);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--ink);
}

.btn-ghost:hover {
    background: var(--ink);
    color: var(--paper);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
    padding: clamp(64px, 12vh, 140px) 0 clamp(56px, 10vh, 120px);
    position: relative;
}

.hero-inner { max-width: 920px; }

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
}

.tag {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--blue);
    background: var(--blue-bg);
    border: 1px solid rgba(26, 79, 139, 0.18);
    padding: 5px 10px;
    border-radius: 4px;
}

.hero h1 .accent { color: var(--accent); }

.hero .lede {
    margin-top: 28px;
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    color: var(--ink-soft);
    max-width: 640px;
    line-height: 1.55;
}

.hero-actions {
    margin-top: 36px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.stat-strip {
    margin-top: 64px;
    padding-top: 32px;
    border-top: 1px solid var(--rule);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 28px;
}

.stat { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.02em;
}

.stat-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* =========================================================
   Sections
   ========================================================= */
.section {
    padding: clamp(72px, 12vh, 140px) 0;
    position: relative;
}

.section-head {
    max-width: 760px;
    margin-bottom: 56px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 16px;
}

.section-head h2 { margin-bottom: 16px; }

.section-head p {
    font-size: 1.05rem;
    color: var(--ink-soft);
    max-width: 640px;
}

/* =========================================================
   Services
   ========================================================= */
.services-section {
    background: linear-gradient(to bottom, transparent, rgba(244, 239, 230, 0.4));
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1px;
    background: var(--rule);
    border: 1px solid var(--rule);
    border-radius: 12px;
    overflow: hidden;
}

.service-card {
    background: var(--paper);
    padding: 36px 28px;
    transition: background 0.2s ease;
    position: relative;
}

.service-card:hover { background: var(--paper-2); }

.card-num {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: var(--blue);
    margin-bottom: 24px;
    display: inline-block;
    padding: 3px 8px;
    border: 1px solid rgba(26, 79, 139, 0.25);
    border-radius: 4px;
}

.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.35rem;
    letter-spacing: -0.015em;
}

.service-card > p {
    color: var(--ink-soft);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.card-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px dashed var(--rule);
    padding-top: 16px;
}

.card-list li {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--ink-soft);
    padding: 4px 0 4px 18px;
    position: relative;
}

.card-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--blue);
}

.card-list li em {
    color: var(--muted);
    font-style: italic;
}

/* =========================================================
   Residential
   ========================================================= */
.residential-section { background: var(--paper-2); }

.spec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.spec-block {
    background: var(--paper);
    padding: 28px;
    border: 1px solid var(--rule);
    border-radius: 12px;
}

.spec-block h4 {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: var(--muted);
    margin-bottom: 18px;
    font-family: var(--font-mono);
    font-weight: 500;
}

.swatch-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 8px;
}

.swatch {
    aspect-ratio: 1 / 1;
    background: var(--c, #ccc);
    border-radius: 6px;
    border: 1px solid rgba(20, 24, 31, 0.12);
    display: flex;
    align-items: flex-end;
    padding: 8px;
    position: relative;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.swatch:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20, 24, 31, 0.12);
}

.swatch span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: rgba(20, 24, 31, 0.85);
    background: rgba(244, 239, 230, 0.78);
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.02em;
}

.swatch.perf {
    background-image:
        radial-gradient(circle, rgba(20,24,31,0.35) 1.2px, transparent 1.6px);
    background-size: 8px 8px;
    background-color: var(--c, #ccc);
}

/* Image-based swatches replace color swatches */
.swatch-img {
    margin: 0;
    aspect-ratio: 1 / 1;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(20, 24, 31, 0.12);
    position: relative;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    background: var(--paper-2);
}

.swatch-img:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(20, 24, 31, 0.18);
}

.swatch-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.swatch-img figcaption {
    position: absolute;
    left: 6px;
    bottom: 6px;
    font-family: var(--font-mono);
    font-size: 0.66rem;
    color: rgba(20, 24, 31, 0.9);
    background: rgba(244, 239, 230, 0.92);
    padding: 2px 6px;
    border-radius: 3px;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

/* Wide spec blocks span the full grid row */
.spec-block-wide { grid-column: 1 / -1; }

/* Cab interior / door galleries */
.cab-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.cab-gallery-3 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cab-gallery figure {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    background: var(--paper-2);
    border: 1px solid var(--rule);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.cab-gallery figure:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(20, 24, 31, 0.12);
}

.cab-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.cab-gallery figcaption {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--ink-soft);
    padding: 12px 14px;
    border-top: 1px dashed var(--rule);
    background: var(--paper);
    letter-spacing: 0.02em;
}

.muted-note {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--muted);
}

/* About photo */
.about-photo {
    margin: 28px 0 0 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--rule);
    background: var(--paper-2);
}

.about-photo img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    filter: saturate(0.92);
}

.about-photo figcaption {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    padding: 10px 14px;
    background: var(--paper);
    border-top: 1px dashed var(--rule);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: start;
}

.about-section .section-head { margin-bottom: 0; }

.about-body .lede {
    font-size: 1.15rem;
    color: var(--ink-soft);
    margin-bottom: 40px;
    line-height: 1.6;
}

.callouts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.callout {
    border-top: 1px solid var(--ink);
    padding-top: 18px;
}

.callout-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--blue);
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.callout h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.callout p {
    font-size: 0.9rem;
    color: var(--ink-soft);
    line-height: 1.55;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-section {
    background: var(--ink);
    color: var(--paper);
}

.contact-section .section-head h2,
.contact-section .section-head p { color: var(--paper); }

.contact-section .section-head p { color: rgba(244, 239, 230, 0.75); }

.contact-section .eyebrow { color: #7ba6d6; }

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1px;
    background: rgba(244, 239, 230, 0.12);
    border: 1px solid rgba(244, 239, 230, 0.12);
    border-radius: 12px;
    overflow: hidden;
}

.contact-card {
    background: var(--ink);
    padding: 32px 26px;
}

.contact-card .card-num {
    color: #7ba6d6;
    border-color: rgba(123, 166, 214, 0.3);
}

.contact-card h4 {
    color: var(--paper);
    text-transform: uppercase;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    margin-bottom: 14px;
    font-weight: 500;
}

.contact-card .big {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--paper);
    letter-spacing: -0.015em;
    margin-bottom: 8px;
}

.contact-card .big a { color: var(--paper); transition: color 0.15s ease; }
.contact-card .big a:hover { color: #7ba6d6; }

.contact-card .muted {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: rgba(244, 239, 230, 0.6);
    line-height: 1.5;
}

.contact-cta {
    margin-top: 48px;
    text-align: center;
}

.contact-section .btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--paper);
}

.contact-section .btn-primary:hover {
    background: var(--accent-soft);
    border-color: var(--accent-soft);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
    background: var(--paper);
    border-top: 1px solid var(--rule);
    padding: 40px 0;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-brand .logo-mark { color: var(--blue); }

.footer-brand strong { font-size: 0.95rem; }

.footer-brand .muted {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 2px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--ink-soft);
}

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

.footer-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--muted);
    text-align: right;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 880px) {
    .header-inner { gap: 12px; }
    .primary-nav { display: none; }
    .nav-toggle  { display: inline-flex; }
    .header-cta  { padding: 8px 12px; font-size: 0.78rem; }
    .about-grid  { grid-template-columns: 1fr; }
    .footer-meta { text-align: left; }
    .elevator-svg { opacity: 0.18; }

    .cab-gallery img { height: 180px; }
    .about-photo img { height: 240px; }
}

@media (max-width: 560px) {
    .logo-text em { display: none; }
    .stat-strip { gap: 20px; }
    .hero-actions .btn { width: 100%; }
    .header-cta span:not(.dot) { display: none; }
    .header-cta { padding: 8px; }
    .swatch-img figcaption { font-size: 0.6rem; padding: 1px 4px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .header-cta .dot { animation: none; }
    html { scroll-behavior: auto; }
}
