/* ============================================================
   Craycommerce Theme – main.css
   ============================================================ */

/* ── 1. Custom Properties ──────────────────────────────────── */
:root {
    /* Brand */
    --clr-accent:   #deff00;
    --clr-black:    #0f0f0f;
    --clr-bg:       #fbfbfb;
    --clr-text:     #2d2e2e;

    /* Derived */
    --clr-accent-hover: #c9e600;
    --clr-dark-bg:      #111111;
    --clr-dark-text:    #e8e8e8;
    --clr-muted:        #6b6c6c;
    --clr-border:       #e2e2e2;

    /* Typography */
    --font-sans:   'Space Grotesk', system-ui, sans-serif;
    --font-logo:   'Lilita One', cursive;

    /* Scale */
    --text-xs:   0.75rem;
    --text-sm:   0.875rem;
    --text-base: 1rem;
    --text-lg:   1.125rem;
    --text-xl:   1.25rem;
    --text-2xl:  1.5rem;
    --text-3xl:  1.875rem;
    --text-4xl:  2.25rem;
    --text-5xl:  3rem;
    --text-6xl:  3.75rem;

    /* Spacing */
    --space-1:  0.25rem;
    --space-2:  0.5rem;
    --space-3:  0.75rem;
    --space-4:  1rem;
    --space-6:  1.5rem;
    --space-8:  2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Layout */
    --container-max:    1200px;
    --container-narrow: 760px;
    --container-px:     clamp(1rem, 4vw, 2rem);

    /* Radius */
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  16px;
    --radius-xl:  24px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm:  0 1px 3px rgba(0,0,0,.08);
    --shadow-md:  0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.12);

    /* Transitions */
    --ease-default: 220ms ease;

    /* Header height (used by sticky offsets) */
    --header-h: 72px;
}

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

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

body {
    font-family: var(--font-sans);
    font-size: var(--text-base);
    line-height: 1.65;
    color: var(--clr-text);
    background-color: var(--clr-bg);
    -webkit-font-smoothing: antialiased;
}

img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font: inherit; background: none; border: none; }
input, textarea, select { font: inherit; }
h1,h2,h3,h4,h5,h6 { color: var(--clr-black); line-height: 1.2; font-weight: 700; }

/* ── 3. Utility ────────────────────────────────────────────── */
.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap;
}
.screen-reader-text:focus {
    width: auto; height: auto;
    clip: auto;
    overflow: visible;
    background: var(--clr-accent);
    color: var(--clr-black);
    padding: var(--space-2) var(--space-4);
    z-index: 9999;
    top: var(--space-2); left: var(--space-2);
}

/* ── 4. Container ──────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-inline: auto;
    padding-inline: var(--container-px);
}
.container--narrow {
    max-width: var(--container-narrow);
}

/* ── 5. Section ────────────────────────────────────────────── */
.section {
    padding-block: var(--space-20);
}
.section--dark {
    background-color: var(--clr-dark-bg);
    color: var(--clr-dark-text);
}
.section--dark h1,
.section--dark h2,
.section--dark h3 {
    color: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-4);
}
.section-header__title {
    font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl));
}
.section-header__sub {
    font-size: var(--text-lg);
    color: var(--clr-muted);
    max-width: 56ch;
}
.section-header__more {
    font-weight: 600;
    color: var(--clr-accent-hover);
}
.section-header__more:hover { text-decoration: underline; }

/* ── 6. Buttons ────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 0.65em 1.4em;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: var(--text-sm);
    letter-spacing: 0.02em;
    transition: background var(--ease-default), color var(--ease-default), transform 80ms ease, box-shadow var(--ease-default);
    white-space: nowrap;
    text-decoration: none !important;
}
.btn:active { transform: scale(.97); }

.btn--accent {
    background: var(--clr-accent);
    color: var(--clr-black);
}
.btn--accent:hover {
    background: var(--clr-accent-hover);
    box-shadow: 0 0 0 3px rgba(222,255,0,.35);
}

.btn--ghost {
    background: transparent;
    color: var(--clr-black);
    box-shadow: inset 0 0 0 2px var(--clr-black);
}
.btn--ghost:hover {
    background: var(--clr-black);
    color: #fff;
}

.btn--lg {
    font-size: var(--text-base);
    padding: 0.8em 1.8em;
}

.section--dark .btn--ghost {
    color: #fff;
    box-shadow: inset 0 0 0 2px #fff;
}
.section--dark .btn--ghost:hover {
    background: #fff;
    color: var(--clr-black);
}

/* ── 7. Eyebrow ────────────────────────────────────────────── */
.eyebrow {
    display: inline-block;
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--clr-accent-hover);
    border-left: 3px solid var(--clr-accent);
    padding-left: var(--space-2);
}

/* ── 8. Site Header ────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: var(--header-h);
    background: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
    transition: box-shadow var(--ease-default);
}
.site-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.site-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

.site-header__logo,
.site-header__logo-text {
    font-family: var(--font-logo);
    font-size: var(--text-2xl);
    color: var(--clr-black);
    flex-shrink: 0;
}
.site-header__logo img { height: 40px; width: auto; }

/* Primary Nav */
.site-nav { margin-left: auto; }
.site-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}
.site-nav__list li a {
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: var(--text-sm);
    transition: background var(--ease-default), color var(--ease-default);
}
.site-nav__list li a:hover,
.site-nav__list li.current-menu-item > a {
    background: rgba(0,0,0,.06);
    color: var(--clr-black);
}

/* CTA in header */
.site-header__cta { margin-left: var(--space-4); flex-shrink: 0; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px; height: 40px;
    margin-left: auto;
    border-radius: var(--radius-md);
    transition: background var(--ease-default);
}
.hamburger:hover { background: rgba(0,0,0,.06); }
.hamburger__bar {
    display: block;
    width: 22px; height: 2px;
    background: var(--clr-black);
    border-radius: 2px;
    transition: transform 280ms ease, opacity 180ms ease;
    pointer-events: none;
}
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger[aria-expanded="true"] .hamburger__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--clr-bg);
    border-bottom: 1px solid var(--clr-border);
    padding: var(--space-6) var(--container-px) var(--space-8);
    box-shadow: var(--shadow-lg);
}
.mobile-menu.is-open { display: flex; flex-direction: column; gap: var(--space-6); }
.mobile-menu__list { display: flex; flex-direction: column; gap: var(--space-1); }
.mobile-menu__list li a {
    display: block;
    padding: var(--space-3) var(--space-4);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: background var(--ease-default);
}
.mobile-menu__list li a:hover { background: rgba(0,0,0,.06); }
.mobile-menu__cta { align-self: flex-start; }

/* ── 9. Hero ───────────────────────────────────────────────── */
.hero {
    min-height: clamp(480px, 70vh, 800px);
    display: flex;
    align-items: center;
    background-color: var(--clr-black);
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(90deg, rgba(15,15,15,.85) 40%, rgba(15,15,15,.3) 100%);
    pointer-events: none;
}
.hero--dark::after {
    background: linear-gradient(90deg, rgba(15,15,15,.92) 40%, rgba(15,15,15,.5) 100%);
}

.hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    padding-block: var(--space-20);
}
@media (min-width: 900px) {
    .hero__inner { grid-template-columns: 1fr 1fr; align-items: center; }
}

.hero__content { display: flex; flex-direction: column; gap: var(--space-6); }

.hero__headline {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
    color: #fff;
    line-height: 1.1;
}

.hero__subline {
    font-size: clamp(var(--text-base), 2vw, var(--text-xl));
    color: var(--clr-dark-text);
    max-width: 52ch;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero__image-wrap { display: flex; justify-content: center; }
.hero__image { border-radius: var(--radius-lg); }

/* ── 10. Services ──────────────────────────────────────────── */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: var(--space-6);
}

.service-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    transition: box-shadow var(--ease-default), transform var(--ease-default);
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.service-card__icon img { width: 48px; height: 48px; object-fit: contain; }
.service-card__title { font-size: var(--text-xl); }
.service-card__text { color: var(--clr-muted); font-size: var(--text-sm); line-height: 1.7; flex-grow: 1; }
.service-card__link { font-weight: 700; font-size: var(--text-sm); color: var(--clr-black); margin-top: auto; }
.service-card__link:hover { color: var(--clr-accent-hover); }

/* ── 11. About ─────────────────────────────────────────────── */
.about__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
    align-items: center;
}
@media (min-width: 860px) {
    .about__inner { grid-template-columns: 1fr 1fr; }
}

.about__image {
    width: 100%;
    border-radius: var(--radius-xl);
    object-fit: cover;
}

.about__content { display: flex; flex-direction: column; gap: var(--space-6); }
.about__headline { font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl)); }
.about__text { color: var(--clr-muted); }

.about__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
    padding-top: var(--space-4);
    border-top: 1px solid var(--clr-border);
}
.about__stat { display: flex; flex-direction: column; gap: 2px; }
.about__stat-number { font-size: var(--text-3xl); font-weight: 800; color: var(--clr-black); }
.about__stat-label { font-size: var(--text-sm); color: var(--clr-muted); }

/* ── 12. Testimonials ──────────────────────────────────────── */
.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--space-6);
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.testimonial-card__logo img { height: 28px; width: auto; opacity: .65; }
.testimonial-card__quote {
    font-size: var(--text-lg);
    line-height: 1.7;
    color: var(--clr-text);
    font-style: italic;
    flex-grow: 1;
}
.testimonial-card__quote::before { content: '\201E'; }
.testimonial-card__quote::after  { content: '\201C'; }

.testimonial-card__footer { display: flex; align-items: center; gap: var(--space-3); }
.testimonial-card__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-card__meta { display: flex; flex-direction: column; }
.testimonial-card__author { font-weight: 700; font-style: normal; }
.testimonial-card__role { font-size: var(--text-xs); color: var(--clr-muted); }

/* ── 13. CTA Band ──────────────────────────────────────────── */
.cta-band__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
}
.cta-band__headline { font-size: clamp(var(--text-2xl), 4vw, var(--text-5xl)); color: #fff; }
.cta-band__sub { color: var(--clr-dark-text); font-size: var(--text-lg); max-width: 52ch; }

/* ── 14. Blog Preview ──────────────────────────────────────── */
.blog-preview__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: var(--space-8);
}

/* ── 15. Post Card ─────────────────────────────────────────── */
.post-card {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow var(--ease-default), transform var(--ease-default);
}
.post-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.post-card__thumb-link { display: block; overflow: hidden; aspect-ratio: 16/9; }
.post-card__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.post-card:hover .post-card__thumb { transform: scale(1.04); }

.post-card__body { padding: var(--space-6); display: flex; flex-direction: column; gap: var(--space-3); flex-grow: 1; }
.post-card__cat { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--clr-accent-hover); }
.post-card__title { font-size: var(--text-xl); line-height: 1.3; }
.post-card__title a:hover { color: var(--clr-accent-hover); }
.post-card__excerpt { color: var(--clr-muted); font-size: var(--text-sm); line-height: 1.7; flex-grow: 1; }
.post-card__meta { font-size: var(--text-xs); color: var(--clr-muted); margin-top: auto; }

/* ── 16. Archive ───────────────────────────────────────────── */
.archive__inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-12);
}
.archive__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: var(--space-8);
}
.archive__pagination .nav-links { display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }
.archive__pagination .page-numbers {
    padding: var(--space-2) var(--space-4);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: var(--text-sm);
    transition: background var(--ease-default), color var(--ease-default);
}
.archive__pagination .page-numbers:hover,
.archive__pagination .page-numbers.current {
    background: var(--clr-black);
    color: #fff;
    border-color: var(--clr-black);
}

/* ── 17. Single Post ───────────────────────────────────────── */
.single-post__header {
    padding-top: var(--space-12);
    padding-bottom: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}
.single-post__cats { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.single-post__title { font-size: clamp(var(--text-3xl), 4.5vw, var(--text-5xl)); }
.single-post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); color: var(--clr-muted); font-size: var(--text-sm); }
.single-post__read-time::before { content: '·'; margin-right: var(--space-4); }
.single-post__hero-image img { width: 100%; max-height: 520px; object-fit: cover; }

.single-post__body { padding-block: var(--space-12); }

.single-post__footer { padding-block: var(--space-8); border-top: 1px solid var(--clr-border); }
.single-post__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-bottom: var(--space-8); }
.tag {
    padding: var(--space-1) var(--space-3);
    background: rgba(0,0,0,.06);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    transition: background var(--ease-default);
}
.tag:hover { background: var(--clr-black); color: #fff; }

.post-nav { display: flex; justify-content: space-between; gap: var(--space-4); }
.post-nav a { font-weight: 600; font-size: var(--text-sm); }

/* ── 18. Wysiwyg ───────────────────────────────────────────── */
.wysiwyg { max-width: 70ch; }
.wysiwyg > * + * { margin-top: 1.2em; }
.wysiwyg h2 { font-size: var(--text-2xl); margin-top: 2em; }
.wysiwyg h3 { font-size: var(--text-xl); margin-top: 1.8em; }
.wysiwyg a { color: var(--clr-black); text-decoration: underline; text-underline-offset: 3px; }
.wysiwyg a:hover { color: var(--clr-accent-hover); }
.wysiwyg ul { list-style: disc; padding-left: 1.4em; }
.wysiwyg ol { list-style: decimal; padding-left: 1.4em; }
.wysiwyg blockquote {
    border-left: 4px solid var(--clr-accent);
    padding-left: var(--space-6);
    color: var(--clr-muted);
    font-style: italic;
}
.wysiwyg img { border-radius: var(--radius-md); }
.wysiwyg code {
    font-size: .875em;
    background: rgba(0,0,0,.06);
    padding: 1px 5px;
    border-radius: var(--radius-sm);
}
.wysiwyg pre {
    background: var(--clr-black);
    color: var(--clr-accent);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    overflow-x: auto;
    font-size: var(--text-sm);
}
.wysiwyg pre code { background: none; padding: 0; }

/* ── 19. Page Header ───────────────────────────────────────── */
.page-header {
    padding-block: var(--space-16) var(--space-12);
    border-bottom: 1px solid var(--clr-border);
}
.page-header__title { font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl)); }
.page-header__desc { margin-top: var(--space-4); color: var(--clr-muted); }

/* ── 20. Process ───────────────────────────────────────────── */
.process__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
    gap: var(--space-6);
    counter-reset: process;
}
.process__step {
    background: #fff;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}
.process__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    background: var(--clr-accent);
    color: var(--clr-black);
    font-weight: 800;
    border-radius: var(--radius-full);
    font-size: var(--text-sm);
}
.process__title { font-size: var(--text-xl); }
.process__text { color: var(--clr-muted); font-size: var(--text-sm); }

/* ── 21. Features Grid ─────────────────────────────────────── */
.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr));
    gap: var(--space-8);
    align-items: start;
}
.feature-card { display: flex; flex-direction: column; gap: var(--space-4); }
.feature-card__image { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.feature-card__title { font-size: var(--text-xl); }
.feature-card__text { color: var(--clr-muted); }

/* ── 22. Intro ─────────────────────────────────────────────── */
.intro { text-align: center; }
.intro__headline { font-size: clamp(var(--text-2xl), 3.5vw, var(--text-4xl)); margin-top: var(--space-4); margin-bottom: var(--space-6); }
.intro .wysiwyg { margin-inline: auto; color: var(--clr-muted); }

/* ── 23. Landingpage Header/Footer ─────────────────────────── */
.lp-header {
    height: var(--header-h);
    border-bottom: 1px solid var(--clr-border);
    background: var(--clr-bg);
}
.lp-header__inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.lp-footer {
    padding-block: var(--space-8);
    border-top: 1px solid var(--clr-border);
    background: var(--clr-bg);
}
.lp-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    font-size: var(--text-sm);
    color: var(--clr-muted);
}
.lp-footer__inner .site-footer__nav { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* ── 24. Site Footer ───────────────────────────────────────── */
.site-footer {
    background: var(--clr-black);
    color: var(--clr-dark-text);
    padding-top: var(--space-20);
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-10);
    padding-bottom: var(--space-16);
}
@media (min-width: 640px) {
    .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
    .site-footer__grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
}

.site-footer__logo-text {
    font-family: var(--font-logo);
    font-size: var(--text-2xl);
    color: #fff;
}
.site-footer__tagline { font-size: var(--text-sm); color: rgba(255,255,255,.55); margin-block: var(--space-4) var(--space-6); max-width: 32ch; }
.site-footer__col .widget__title { font-size: var(--text-sm); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.4); margin-bottom: var(--space-4); }
.site-footer__col .widget ul { display: flex; flex-direction: column; gap: var(--space-2); }
.site-footer__col .widget ul li a { font-size: var(--text-sm); color: rgba(255,255,255,.7); transition: color var(--ease-default); }
.site-footer__col .widget ul li a:hover { color: var(--clr-accent); }

.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding-block: var(--space-6);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}
.site-footer__copy { font-size: var(--text-xs); color: rgba(255,255,255,.4); }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: var(--space-4); }
.site-footer__nav li a { font-size: var(--text-xs); color: rgba(255,255,255,.5); transition: color var(--ease-default); }
.site-footer__nav li a:hover { color: var(--clr-accent); }

/* ── 25. 404 ───────────────────────────────────────────────── */
.error-404__inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-6);
    padding-block: var(--space-24);
}
.error-404__code {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 800;
    color: var(--clr-accent);
    line-height: 1;
}
.error-404__title { font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl)); }
.error-404__text { color: var(--clr-muted); max-width: 42ch; }

/* ── 26. Responsive Breakpoints ────────────────────────────── */
@media (max-width: 768px) {
    .site-nav,
    .site-header__cta { display: none; }
    .hamburger { display: flex; }

    .hero__inner { grid-template-columns: 1fr; }
    .hero__image-wrap { display: none; }

    .about__inner { grid-template-columns: 1fr; }
    @media (max-width: 768px) {
        .about__media { order: -1; }
    }

    .section { padding-block: var(--space-12); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
