/* Arventure — main stylesheet
   Mobile-first. Breakpoints: 48em (768px), 64em (1024px), 80em (1280px). */

@font-face { font-family: 'Zalando Sans Expanded'; src: url('/fonts/ZalandoSansExpanded-Variable.woff2') format('woff2'); font-weight: 200 900; font-display: swap; }
@font-face { font-family: 'Zalando Sans'; src: url('/fonts/ZalandoSans-Variable.woff2') format('woff2'); font-weight: 200 900; font-stretch: 75% 125%; font-display: swap; }

/* ── Tokens ─────────────────────────────────────────────────────────────── */
:root {
    /* Colour — sampled from the logo */
    --paper:       #fcf8f0;
    --sand:        #f2ebdd;
    --ink:         #383838;
    --ink-strong:  #1f1f1f;
    --ink-muted:   #6e6a63;
    --ink-dark:    #2b2b2b;
    --on-dark:     #fcf8f0;
    --on-dark-muted: #bdb6aa;
    --teal:        #066275;
    --teal-deep:   #054e5d;
    --teal-tint:   #e2eef0;
    --signal:      #5fb8c7;
    --line:        #e3dacb;
    --line-strong: #8a8378;
    --success:     #1f7a4d;
    --error:       #b42318;
    --field:       #ffffff;
    --placeholder: #767069;   /* 4.9:1 on --field */
    --header-glass: rgba(252, 248, 240, 0.82);
    --header-solid: rgba(252, 248, 240, 0.94);
    --on-dark-line: rgba(252, 248, 240, 0.14);

    /* Type */
    --font-display: 'Zalando Sans Expanded', 'Zalando Sans', system-ui, sans-serif;
    --font-body:    'Zalando Sans', system-ui, sans-serif;
    --step--1: 0.875rem;
    --step-0:  clamp(1.0625rem, 0.98rem + 0.3vw, 1.25rem);
    --step-1:  clamp(1.1875rem, 1.05rem + 0.6vw, 1.5rem);
    --step-2:  clamp(1.5rem, 1.2rem + 1.3vw, 2.25rem);
    --step-3:  clamp(1.875rem, 1.3rem + 2.6vw, 3.5rem);
    --step-4:  clamp(2.25rem, 1.15rem + 4.4vw, 5.25rem);

    /* Space */
    --space-3xs: 0.25rem;
    --space-2xs: 0.5rem;
    --space-xs:  0.75rem;
    --space-s:   1rem;
    --space-m:   1.5rem;
    --space-l:   2rem;
    --space-xl:  3rem;
    --space-2xl: clamp(3.5rem, 2.5rem + 4vw, 6rem);
    --space-section: clamp(4.5rem, 3rem + 7vw, 9rem);
    --content-max: 100rem;
    --gutter: clamp(1.25rem, 0.5rem + 4vw, 5rem);
    --nav-h: 4.25rem;

    /* Shape */
    --radius-s: 6px;
    --radius-m: 10px;
    --radius-l: 20px;
    --focus-ring: 0 0 0 3px var(--paper), 0 0 0 5px var(--teal);
    --shadow-lift: 0 24px 48px -24px rgba(0, 0, 0, 0.55);

    /* Motion */
    --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
    --ease-spring: cubic-bezier(0.34, 1.4, 0.5, 1);
    --dur-fast: 160ms;
    --dur-base: 280ms;
}

/* ── Base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
html.js-scroll { scroll-behavior: auto; }   /* JS handles anchor glides (see main.js) */
section[tabindex="-1"]:focus, main:focus { outline: none; box-shadow: none; }
body {
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--teal-tint); color: var(--ink-strong); }

h1, h2, h3 { font-family: var(--font-display); color: var(--ink-strong); font-weight: 700; letter-spacing: -0.025em; text-wrap: balance; }
h3 { letter-spacing: -0.01em; }
p { text-wrap: pretty; }

:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--radius-s); }

.container { width: min(100% - 2 * var(--gutter), var(--content-max)); margin-inline: auto; }
.scroll-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none; }

.skip-link {
    position: absolute; left: var(--gutter); top: -100px; z-index: 2000;
    background: var(--teal); color: var(--on-dark); padding: var(--space-xs) var(--space-s);
    border-radius: var(--radius-m); font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: var(--space-xs); }

/* ── Buttons & links ────────────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2xs);
    min-height: 50px; padding: 0 var(--space-m);
    border: 0; border-radius: var(--radius-m);
    font: 600 1rem/1 var(--font-body); text-decoration: none; cursor: pointer;
    transition: background-size var(--dur-base) var(--ease-out), transform var(--dur-fast) var(--ease-out);
}
/* the deeper teal slides in from the left on hover */
.btn-primary {
    color: var(--on-dark);
    background: linear-gradient(var(--teal-deep), var(--teal-deep)) left / 0% 100% no-repeat, var(--teal);
}
.btn-primary:hover { background-size: 100% 100%; }
.btn-primary:active { transform: scale(0.98); }
.btn:disabled { cursor: progress; opacity: 0.75; transform: none; }

.text-link {
    display: inline-flex; align-items: center; min-height: 48px;
    color: var(--teal); font-weight: 600; text-decoration: underline;
    text-decoration-thickness: 1px; text-underline-offset: 5px;
    transition: text-underline-offset var(--dur-fast), text-decoration-thickness var(--dur-fast);
}
.text-link:hover { text-decoration-thickness: 2px; text-underline-offset: 7px; }

/* ── Nav ────────────────────────────────────────────────────────────────── */
.site-header {
    position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--nav-h);
    border-bottom: 1px solid transparent;
    transition: background-color var(--dur-base), border-color var(--dur-base);
}
.site-header.is-scrolled { background: var(--header-solid); border-color: var(--line); }
@supports (backdrop-filter: blur(1px)) {
    .site-header.is-scrolled { background: var(--header-glass); backdrop-filter: blur(12px); }
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--space-m); }
.nav-logo { display: inline-flex; align-items: center; min-height: 44px; }
.nav-logo img { height: 22px; width: auto; }
.nav-links { position: relative; display: none; list-style: none; align-items: center; gap: var(--space-l); }
.nav-links a:not(.btn) {
    display: inline-flex; align-items: center; min-height: 44px;
    font-size: 0.9375rem; font-weight: 500; color: var(--ink-muted); text-decoration: none;
    transition: color var(--dur-fast);
}
.nav-links a:not(.btn):hover, .nav-links a.is-active { color: var(--ink-strong); }
.nav-links .btn { min-height: 44px; padding: 0 var(--space-s); font-size: 0.9375rem; }
/* sliding indicator under the current section's link (positioned by JS) */
.nav-indicator {
    list-style: none;
    position: absolute; left: 0; bottom: 6px; height: 2px; width: 1px; border-radius: 1px;
    background: var(--teal); transform-origin: left; opacity: 0;
    transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast);
}

.nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; margin-right: -10px;
    background: none; border: 0; border-radius: var(--radius-m); cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink-strong); border-radius: 1px; transition: transform var(--dur-base) var(--ease-out), opacity var(--dur-fast); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: var(--nav-h) 0 0; z-index: 999;
    background: var(--paper); padding: var(--space-xl) var(--gutter);
    display: flex; flex-direction: column; gap: var(--space-2xs);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a {
    display: flex; align-items: center; min-height: 56px;
    font-family: var(--font-display); font-size: var(--step-2); font-weight: 700;
    color: var(--ink-strong); text-decoration: none; border-bottom: 1px solid var(--line);
}
.mobile-menu a:last-child { color: var(--teal); }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding: calc(var(--nav-h) + var(--space-xl)) 0 var(--space-section); overflow: hidden; }
.hero-grid { display: grid; gap: var(--space-xl); align-items: center; }
.hero h1 { font-size: var(--step-4); line-height: 1.04; max-width: 18ch; }
.hero-sub { margin-top: var(--space-m); max-width: 38rem; font-size: var(--step-1); line-height: 1.55; color: var(--ink-muted); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2xs) var(--space-l); margin-top: var(--space-l); }

/* ── Viewfinder: the one bold element ────────────────────────────────────
   Layers share one 480×360 coordinate space. The stage tilts in 3D (JS);
   the tracking layer follows it with a lag and re-locks. */
.viewfinder { position: relative; width: 100%; max-width: 48rem; margin-inline: auto; aspect-ratio: 4 / 3; perspective: 900px; }
.vf-layer { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.vf-track { will-change: transform; }
/* 3D headset */
.vf-3d { position: absolute; inset: 6% 4% 8%; pointer-events: none; }
/* poster (still render) and live canvas share one box; the canvas fades in over the
   identical poster, so the swap is invisible */
.vf-poster, .vf-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.vf-canvas { opacity: 0; transition: opacity 400ms ease-out; }
.has-3d .vf-canvas { opacity: 1; }
.vf-poster { transition: opacity 400ms ease-out 200ms; }
.has-3d .vf-poster { opacity: 0; }

.vf-frame  { stroke: var(--ink); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.vf-plane  { stroke: var(--line); stroke-width: 1; fill: none; }
.vf-anchor { fill: var(--teal); }
.vf-bracket { stroke: var(--teal); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.vf-leader { stroke: var(--teal); stroke-width: 1.5; fill: none; }
.vf-tag rect { fill: var(--paper); stroke: var(--teal); stroke-width: 1.5; }
.vf-tag text { font-family: var(--font-body); font-size: 15px; font-weight: 600; fill: var(--ink-strong); }
.vf-tag .live-dot { fill: var(--teal); }
.vf-readout { font-family: var(--font-body); font-size: 13px; font-weight: 500; fill: var(--ink-muted); }

/* Load sequence — full version */
.vf-corner { animation: vf-lock 700ms var(--ease-out) both; }
.vf-corner--tl { --dx: -16px; --dy: -16px; }
.vf-corner--tr { --dx: 16px;  --dy: -16px; }
.vf-corner--bl { --dx: -16px; --dy: 16px; }
.vf-corner--br { --dx: 16px;  --dy: 16px; }
.vf-brackets { transform-box: fill-box; transform-origin: center; animation: vf-bracket-in 600ms var(--ease-spring) 1300ms both; }
.vf-leader { stroke-dasharray: 1; stroke-dashoffset: 1; animation: vf-draw 350ms ease-out 1700ms forwards; }
.vf-tag { animation: vf-pop 380ms var(--ease-spring) 1900ms both; transform-box: fill-box; transform-origin: left center; }
.live-dot { animation: live 2.4s ease-in-out 2.4s infinite; }
.viewfinder.is-paused * { animation-play-state: paused !important; }

@keyframes vf-draw   { to { stroke-dashoffset: 0; } }
@keyframes vf-appear { to { opacity: 1; } }
@keyframes vf-lock   { from { transform: translate(var(--dx), var(--dy)); opacity: 0; } }
@keyframes vf-bracket-in { from { transform: scale(1.18); opacity: 0; } }
@keyframes vf-pop    { from { transform: scale(0.85); opacity: 0; } }
@keyframes live      { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* licence credit for the 3D model: a small ⓘ in the viewer's bottom-right corner */
.vf-credit { position: absolute; right: 4.5%; bottom: 5%; z-index: 5; }
.vf-credit summary {
    list-style: none; cursor: pointer; display: grid; place-items: center;
    width: 44px; height: 44px; margin: -8px;            /* 44px hit area around a 28px circle */
    border-radius: 50%;
}
.vf-credit summary::-webkit-details-marker { display: none; }
.vf-credit summary span {
    display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
    border: 1.5px solid var(--line-strong); background: var(--paper);
    font: 600 0.8125rem/1 var(--font-body); font-style: italic; color: var(--ink-muted);
    transition: color var(--dur-fast), border-color var(--dur-fast);
}
.vf-credit summary:hover span, .vf-credit[open] summary span { color: var(--teal); border-color: var(--teal); }
.vf-credit summary:focus-visible { box-shadow: none; }
.vf-credit summary:focus-visible span { box-shadow: var(--focus-ring); }
.vf-credit p {
    position: absolute; right: 0; bottom: calc(100% + 6px); width: max-content; max-width: min(17rem, 70vw);
    padding: var(--space-xs) var(--space-s); background: var(--paper);
    border: 1.5px solid var(--teal); border-radius: var(--radius-s);
    font-size: 0.8125rem; line-height: 1.45; color: var(--ink);
}
.vf-credit a { color: var(--teal); text-underline-offset: 3px; white-space: nowrap; }

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: var(--space-section) 0; }
.section h2 { font-size: var(--step-3); line-height: 1.08; }

/* About */
.about { background: var(--sand); padding-block: clamp(4rem, 2.5rem + 5vw, 7rem); }
.about-grid { display: grid; gap: var(--space-l); }
.about-lead { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.3; font-weight: 500; letter-spacing: -0.015em; color: var(--ink-strong); margin-top: var(--space-m); max-width: 28ch; }
.about-body p { color: var(--ink-muted); max-width: 38rem; font-size: var(--step-0); }
.stack { list-style: none; margin-top: var(--space-m); border-top: 1px solid var(--line-strong); }
.stack li {
    display: flex; align-items: center; gap: var(--space-xs);
    padding: var(--space-xs) 0; border-bottom: 1px solid var(--line);
    font-weight: 600; color: var(--ink-strong);
    transition: padding-left var(--dur-base) var(--ease-out), color var(--dur-fast);
}
.stack li::before {
    content: ''; width: 10px; height: 10px; border: 2px solid var(--teal); border-radius: 3px; flex-shrink: 0;
    transition: background-color var(--dur-fast), transform var(--dur-base) var(--ease-spring);
}
.stack li:hover { padding-left: var(--space-2xs); color: var(--teal); }
.stack li:hover::before { background: var(--teal); transform: rotate(45deg); }

/* Services */
.services-head { display: grid; gap: var(--space-s); margin-bottom: var(--space-xl); }
.services-head p { color: var(--ink-muted); max-width: 34rem; font-size: var(--step-0); }
.service-list { list-style: none; border-top: 1px solid var(--line-strong); }
.service {
    position: relative; display: grid; gap: var(--space-xs);
    padding: var(--space-l) var(--space-s);
    border-bottom: 1px solid var(--line);
}
.service-icon {
    width: 52px; height: 52px; border-radius: var(--radius-m); background: var(--teal-tint);
    display: grid; place-items: center; color: var(--teal);
    transition: background-color var(--dur-base), color var(--dur-base);
}
.service h3 { font-size: var(--step-1); line-height: 1.25; }
.service p { color: var(--ink-muted); max-width: 52rem; transition: color var(--dur-base); }
.service:hover p, .service:focus-within p { color: var(--ink); }
.service:hover .service-icon, .service:focus-within .service-icon { background: var(--teal); color: var(--on-dark); }
/* process steps: the number sits in the same teal-tint square */
.step-num { font-family: var(--font-body); font-size: 1.0625rem; font-weight: 700; letter-spacing: 0.04em; }
.services-note { margin-top: var(--space-l); color: var(--ink-muted); max-width: 46rem; }
.service:hover .service-icon svg *, .service:focus-within .service-icon svg * { animation: icon-draw 650ms var(--ease-out); }
@keyframes icon-draw { from { stroke-dasharray: 1; stroke-dashoffset: 1; } to { stroke-dasharray: 1; stroke-dashoffset: 0; } }
/* viewfinder brackets snap around a service on hover/focus */
.service::after {
    content: ''; position: absolute; inset: -8px 0; pointer-events: none; opacity: 0;
    --c: var(--teal); --l: 18px; --w: 2px;
    background:
        linear-gradient(var(--c), var(--c)) top left    / var(--l) var(--w),
        linear-gradient(var(--c), var(--c)) top left    / var(--w) var(--l),
        linear-gradient(var(--c), var(--c)) top right   / var(--l) var(--w),
        linear-gradient(var(--c), var(--c)) top right   / var(--w) var(--l),
        linear-gradient(var(--c), var(--c)) bottom left / var(--l) var(--w),
        linear-gradient(var(--c), var(--c)) bottom left / var(--w) var(--l),
        linear-gradient(var(--c), var(--c)) bottom right/ var(--l) var(--w),
        linear-gradient(var(--c), var(--c)) bottom right/ var(--w) var(--l);
    background-repeat: no-repeat;
    transition: inset var(--dur-base) var(--ease-spring), opacity var(--dur-fast);
}
.service:hover::after, .service:focus-within::after { inset: 4px 0; opacity: 1; }

/* Contact */
.contact { background: var(--ink-dark); color: var(--on-dark); padding-bottom: var(--space-2xl); }
.contact h2 { color: var(--on-dark); }
.contact-grid { display: grid; gap: var(--space-xl); align-items: start; }
.contact-intro p { margin-top: var(--space-m); color: var(--on-dark-muted); max-width: 34rem; font-size: var(--step-0); }
.contact-details { list-style: none; margin-top: var(--space-l); display: grid; gap: var(--space-2xs); }
.contact-details li { display: flex; align-items: center; gap: var(--space-xs); color: var(--on-dark-muted); }
.contact-details svg { color: var(--signal); flex-shrink: 0; }
.contact-details a { color: var(--on-dark); text-underline-offset: 4px; display: inline-flex; align-items: center; min-height: 44px; }
.contact-details a:hover { color: var(--signal); }
.contact :focus-visible { box-shadow: 0 0 0 3px var(--ink-dark), 0 0 0 5px var(--signal); }

.form-panel {
    background: var(--paper); color: var(--ink); border-radius: var(--radius-l);
    padding: var(--space-l) var(--space-m); box-shadow: var(--shadow-lift);
}
.form-panel :focus-visible { box-shadow: var(--focus-ring); }
.form-row { display: grid; gap: 0 var(--space-s); }
.field { margin-bottom: var(--space-m); }
.field label { display: block; margin-bottom: var(--space-2xs); font-size: 0.9375rem; font-weight: 600; color: var(--ink-strong); }
.field .optional { font-weight: 400; color: var(--ink-muted); }
.field input, .field textarea {
    width: 100%; min-height: 50px; padding: var(--space-xs) var(--space-s);
    font: inherit; font-size: 1rem; color: var(--ink-strong);
    background: var(--field); border: 1px solid var(--line-strong); border-radius: var(--radius-s);
    -webkit-appearance: none; appearance: none;
    transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-tint); }
.field input:focus-visible, .field textarea:focus-visible { box-shadow: var(--focus-ring); }
.field [aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.field-error { margin-top: var(--space-2xs); font-size: var(--step--1); color: var(--error); font-weight: 600; }
.field-error:empty { display: none; }
.form-panel .btn { width: 100%; }
.form-status { display: flex; align-items: center; gap: var(--space-2xs); margin-top: var(--space-s); font-size: 0.9375rem; font-weight: 600; min-height: 1.5em; }
.form-status.is-success { color: var(--success); }
.form-status.is-error { color: var(--error); display: block; }
.form-status a { color: inherit; }
.status-check { flex-shrink: 0; }
.status-check path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: vf-draw 500ms var(--ease-out) 100ms forwards; }
.status-check circle { transform-origin: center; animation: vf-pop 350ms var(--ease-spring) both; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin-top: var(--space-s); font-size: var(--step--1); color: var(--ink-muted); }
.form-note a { color: var(--teal); text-underline-offset: 3px; }

/* Footer */
.site-footer { background: var(--ink-dark); color: var(--on-dark-muted); padding: var(--space-l) 0 var(--space-xl); }
.footer-inner {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-s);
    padding-top: var(--space-l); border-top: 1px solid var(--on-dark-line);
    font-size: var(--step--1);
}
.footer-inner img { height: 20px; width: auto; }
/* .footer-nav and .legal are used by the parked pages in drafts/legal-pages */
.footer-nav { display: flex; flex-wrap: wrap; gap: 0 var(--space-m); list-style: none; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-dark-muted); text-underline-offset: 4px; }
.footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--on-dark); }

/* ── Legal pages ────────────────────────────────────────────────────────── */
.legal { padding: calc(var(--nav-h) + var(--space-xl)) 0 var(--space-2xl); }
.legal-body { max-width: 70ch; }
.legal h1 { font-size: var(--step-3); line-height: 1.08; }
.legal .updated { margin-top: var(--space-s); color: var(--ink-muted); font-size: var(--step--1); }
.legal h2 { font-size: var(--step-1); margin-top: var(--space-xl); margin-bottom: var(--space-xs); letter-spacing: -0.01em; }
.legal h3 { font-size: 1.0625rem; margin-top: var(--space-m); margin-bottom: var(--space-2xs); }
.legal p, .legal li { color: var(--ink); }
.legal p + p { margin-top: var(--space-xs); }
.legal ul { margin: var(--space-xs) 0 0 1.25rem; display: grid; gap: var(--space-2xs); }
.legal a { color: var(--teal); text-underline-offset: 3px; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: var(--space-2xs) var(--space-m); margin-top: var(--space-s); }
.legal dt { font-weight: 600; color: var(--ink-strong); }
.legal .table-wrap { overflow-x: auto; margin-top: var(--space-s); }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: var(--space-2xs) var(--space-s) var(--space-2xs) 0; border-bottom: 1px solid var(--line); }
.legal th { font-weight: 600; color: var(--ink-strong); }
@media (max-width: 47.99em) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: var(--space-xs); } }

/* ── 404 ────────────────────────────────────────────────────────────────── */
.not-found { min-height: 100vh; display: grid; place-content: center; gap: var(--space-m); padding: var(--gutter); }
.not-found h1 { font-size: var(--step-3); }
.not-found p { color: var(--ink-muted); max-width: 30rem; }

/* ── ≥ 768px ────────────────────────────────────────────────────────────── */
@media (min-width: 48em) {
    .nav-links { display: flex; }
    .nav-toggle, .mobile-menu { display: none !important; }
    .about-grid { grid-template-columns: 7fr 5fr; gap: var(--space-2xl); align-items: start; }
    .services-head { grid-template-columns: 1fr 1fr; align-items: end; }
    .service { grid-template-columns: 52px minmax(14rem, 1fr) 1.6fr; gap: var(--space-l); align-items: start; padding: var(--space-l) var(--space-m); }
    .service h3, .service p { padding-top: 12px; }
    .form-row { grid-template-columns: 1fr 1fr; }
    .form-panel { padding: var(--space-xl); }
}

/* ── ≥ 1024px ───────────────────────────────────────────────────────────── */
@media (min-width: 64em) {
    .hero { min-height: min(92vh, 56rem); display: flex; align-items: center; padding-bottom: var(--space-2xl); }
    .hero > .container { width: min(100% - 2 * var(--gutter), var(--content-max)); }
    .hero-grid { grid-template-columns: 6fr 5fr; gap: var(--space-2xl); }
    .viewfinder { margin-inline: 0 auto; }
    .contact-grid { grid-template-columns: 5fr 6fr; gap: var(--space-2xl); }
}

/* ── Reduced motion: a gentle version, not none ─────────────────────────
   Smooth scrolling stays. Movement becomes fades; nothing floats or tilts. */
@media (prefers-reduced-motion: reduce) {
    .vf-corner, .vf-brackets, .vf-tag { animation-name: vf-appear; animation-timing-function: ease-out; opacity: 0; }
    .vf-tag { animation-fill-mode: forwards; }
    .live-dot { animation-duration: 4.8s; }   /* stays, but slower */
    .service:hover .service-icon svg *, .service:focus-within .service-icon svg * { animation: none; }
    .stack li:hover::before { transform: none; }
    .btn-primary:active { transform: none; }
}
