/* Muutto365 landing page — served at / and /muutto/ (same file, see nginx.conf).

   Lifted from the 2026-09 design handoff ("Muutto365 Etusivu Redesign.html",
   site-plus-booking-redesign/). Tokens, geometry and breakpoints are the
   handoff's; hard 0-radius edges everywhere are the style, not an omission.
   The booking wizard at /varaa-muutto/ has its own sheet (booking.css) — the
   two pages share tokens by value, not by import, because the wizard is a
   different (fully dark) surface. */

:root {
    --paper: #ffffff;
    --paper-dim: #f4f4f1;
    --ink: #0a0a0a;
    --ink-soft: #161616;
    --mint: oklch(0.80 0.17 162);
    --mint-deep: oklch(0.50 0.15 162);
    --text-dim: rgba(255, 255, 255, .55);
    --text-dim-ink: rgba(10, 10, 10, .55);
    --line: rgba(10, 10, 10, .12);
    --line-light: rgba(255, 255, 255, .16);
    --dark-grad: linear-gradient(155deg, #040404 0%, #151515 45%, #050505 100%);
    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Public Sans', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --page-x: 5rem;
}

@media (max-width:1200px) { :root { --page-x: 2.5rem } }
@media (max-width:700px) { :root { --page-x: 1.25rem } }

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

html { scroll-behavior: smooth }
@media (prefers-reduced-motion:reduce) { html { scroll-behavior: auto } }

body {
    background: var(--paper);
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.6;
    text-wrap: pretty;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--mint-deep); text-decoration: none }
a:hover { color: var(--ink) }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 3px }
em { font-style: italic; color: var(--mint-deep) }
.hero em, .on-ink em { color: var(--mint) }
img { display: block; max-width: 100% }

.skip-link {
    position: absolute; left: 1rem; top: -4rem; z-index: 100;
    background: var(--mint); color: var(--ink);
    font-family: var(--font-mono); font-size: .75rem; padding: .7rem 1rem;
}
.skip-link:focus { top: 1rem }

.label {
    font-family: var(--font-mono); font-size: .65rem; letter-spacing: .28em; text-transform: uppercase;
    display: flex; align-items: center; gap: .9rem; color: var(--mint-deep);
}
.label::after { content: ''; flex: 1; height: 1px; background: var(--line) }
.label.on-dark { color: var(--mint) }
.label.on-dark::after { background: var(--line-light) }

/* ── Nav ── */
#nav {
    position: sticky; top: 0; z-index: 50;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem var(--page-x);
    background: var(--ink); border-bottom: 2px solid var(--paper);
}
.nav-logo {
    font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--paper);
    display: flex; align-items: center; gap: .6rem;
}
.nav-logo:hover { color: var(--paper) }
.nav-logo img { width: 34px; height: 34px }
.nav-logo .n365 { font-family: var(--font-mono); font-size: .6rem; color: var(--mint-deep); font-weight: 400; letter-spacing: .05em }
.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none }
.nav-links a {
    font-family: var(--font-mono); font-size: .68rem; font-weight: 500; letter-spacing: .05em;
    color: var(--mint); white-space: nowrap; padding: .5rem .1rem; display: inline-flex;
    border-bottom: 2px solid transparent; transition: border-color .25s var(--ease), color .25s var(--ease);
}
.nav-links a:hover, .nav-links a.active { border-bottom-color: var(--mint) }
.nav-links a.nav-cta { color: var(--mint); font-weight: 700; border-bottom: 2px solid var(--mint) }
.nav-links a.nav-cta:hover { color: var(--paper); border-bottom-color: var(--paper) }
.nav-hamburger {
    display: none; flex-direction: column; gap: 4px;
    background: none; border: none; cursor: pointer; padding: .5rem;
}
.nav-hamburger span { width: 22px; height: 2px; background: var(--paper) }

@media (max-width:900px) {
    .nav-hamburger { display: flex }
    .nav-links {
        position: fixed; inset: 0 0 0 auto; z-index: 60;
        flex-direction: column; justify-content: center; align-items: flex-start; gap: 2rem;
        width: 75vw; background: var(--paper); padding: 2rem;
        transform: translateX(100%); transition: transform .4s var(--ease), visibility 0s .4s;
        border-left: 2px solid var(--ink); visibility: hidden;
    }
    .nav-links.open { transform: translateX(0); visibility: visible; transition: transform .4s var(--ease) }
    .nav-links a, .nav-links a.nav-cta { color: var(--ink); font-size: .9rem }
    .nav-links a.nav-cta { border-bottom-color: var(--ink) }
    .nav-links a:hover { border-bottom-color: var(--mint-deep) }
    .nav-close {
        position: absolute; top: 1.1rem; right: var(--page-x);
        background: none; border: none; cursor: pointer; font-family: var(--font-mono);
        font-size: 1.4rem; line-height: 1; color: var(--ink); padding: .5rem;
    }
}
@media (min-width:901px) { .nav-close { display: none } }

/* ── Deco ── */
.deco-strip { height: 14px; background: repeating-linear-gradient(45deg, var(--ink) 0 3px, transparent 3px 21px) }
.deco-strip.mint { background: repeating-linear-gradient(45deg, var(--mint) 0 3px, transparent 3px 21px) }
.deco-divider { position: relative; height: 34px; background: var(--ink); overflow: hidden }
.deco-divider .deco-strip { position: absolute; inset: 0; height: auto }

/* ── Hero ── */
.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    background: var(--dark-grad); color: var(--paper);
    overflow: hidden; display: flex; flex-direction: column;
}
.hero-bg { position: absolute; inset: 0; z-index: 0 }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .34; filter: grayscale(.85) contrast(1.05) }
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(5, 5, 5, .94) 0%, rgba(5, 5, 5, .72) 48%, rgba(5, 5, 5, .5) 100%);
}
.hero-inner {
    position: relative; z-index: 1; width: 100%; max-width: 1400px; margin: 0 auto;
    padding: 6.5rem var(--page-x) 3.5rem;
    display: grid; grid-template-columns: 1.3fr 1fr;
}
.hero-main { border-right: 1px solid var(--line-light); padding-right: 3.5rem }
.hero-tab {
    display: inline-flex; align-items: center; gap: .7rem;
    font-family: var(--font-mono); font-size: .65rem; letter-spacing: .28em; text-transform: uppercase; color: var(--mint);
    border-top: 2px solid var(--mint); border-bottom: 2px solid var(--mint);
    padding: .6rem 0; margin-bottom: 2.5rem;
}
.hero-tab .num { color: var(--paper) }
.hero h1 {
    font-family: var(--font-display); font-weight: 800;
    font-size: clamp(2.8rem, 5.6vw, 4.7rem); line-height: .98; letter-spacing: -.02em;
}
.hero-side { padding-left: 3.5rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 2rem }
.hero-lead { color: rgba(255, 255, 255, .8); font-size: 1.05rem; line-height: 1.65 }
.hero-lead strong { color: var(--paper); font-weight: 600 }
.hero-actions { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start }

@media (max-width:900px) {
    .hero-inner { grid-template-columns: 1fr }
    .hero-main { border-right: none; padding-right: 0; border-bottom: 1px solid var(--line-light); padding-bottom: 3rem; margin-bottom: 3rem }
    .hero-side { padding-left: 0 }
}

/* CTA stripe — the whole band is the link */
.cta-stripe {
    position: relative; z-index: 2; display: block;
    background: var(--mint); color: var(--ink);
    border-top: 1px solid rgba(10, 10, 10, .2); border-bottom: 1px solid rgba(10, 10, 10, .2);
}
.cta-stripe:hover { color: var(--ink) }
.cta-stripe:focus-visible { outline: 3px solid var(--ink); outline-offset: -6px }
.cta-stripe-inner {
    max-width: 1400px; margin: 0 auto; padding: 1.5rem var(--page-x);
    display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; flex-wrap: wrap;
}
.cta-stripe .cs-text {
    font-family: var(--font-mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
    display: flex; align-items: center; gap: .9rem;
}
.cta-stripe .cs-text strong {
    font-family: var(--font-mono); font-weight: 500; font-size: clamp(1.05rem, 2vw, 1.4rem);
    letter-spacing: .02em; text-transform: uppercase;
}
.cta-stripe .cs-text strong::before { content: '> '; color: rgba(10, 10, 10, .45) }
.cta-stripe .btn-cs {
    background: var(--ink); color: var(--mint);
    font-family: var(--font-mono); font-size: .78rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
    padding: 1.15rem 2.2rem; display: inline-flex; align-items: center; gap: .6rem; flex: 0 0 auto;
    transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.cta-stripe:hover .btn-cs { background: #1c1c1c; color: var(--mint); transform: translateY(-2px) }
.cta-stripe:active .btn-cs { transform: scale(.98) }
@media (max-width:700px) {
    .cta-stripe-inner { flex-direction: column; align-items: stretch; gap: 1.1rem; padding: 1.4rem var(--page-x) }
    .cta-stripe .btn-cs { justify-content: center; font-size: .82rem; padding: 1.25rem 1.5rem }
}

.hero-facts {
    position: relative; z-index: 1; margin-top: auto;
    border-top: 1px solid var(--line-light);
    max-width: 1400px; width: 100%; margin-left: auto; margin-right: auto; padding: 0 var(--page-x);
}
.hero-facts-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 1px; background: var(--line-light) }
.hero-facts-grid > div { background: #0a0a0a; padding: 1.6rem 1.8rem }
.hero-facts-grid .k { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mint) }
.hero-facts-grid .v { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-top: .5rem; color: var(--paper) }
.hero-facts-grid p { color: var(--text-dim); font-size: .88rem; margin-top: .5rem }
@media (max-width:800px) { .hero-facts-grid { grid-template-columns: 1fr } }

/* ── Buttons ── */
.btn-primary, .btn-secondary {
    font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase;
    padding: 1rem 1.75rem; cursor: pointer; display: inline-flex; align-items: center; gap: .5rem;
    border: 2px solid currentColor;
    transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn-primary { background: var(--mint); color: var(--ink); border-color: var(--mint); font-weight: 500 }
.btn-primary:hover { transform: translateY(-2px); color: var(--ink) }
.btn-secondary { background: transparent; color: var(--paper); border-color: var(--line-light) }
.btn-secondary:hover { border-color: var(--mint); color: var(--mint) }
section.on-white .btn-secondary { color: var(--ink); border-color: var(--line) }
section.on-white .btn-secondary:hover { border-color: var(--mint-deep); color: var(--mint-deep) }
.btn-primary:active, .btn-secondary:active { transform: scale(.97) }

/* ── Sections ── */
.section-inner { max-width: 1400px; margin: 0 auto; padding: 6rem var(--page-x) }
.heading {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.05; letter-spacing: -.01em;
    max-width: 28ch; margin-top: 1.4rem;
}
.lead { color: var(--text-dim-ink); font-size: 1.02rem; max-width: 52ch; margin-top: 1.3rem }
.lead-dark { color: var(--ink-soft); font-size: 1.05rem; max-width: 58ch; line-height: 1.7 }
.on-ink { background: var(--dark-grad); color: var(--paper) }
.on-ink .heading { color: var(--paper) }
.on-ink .lead { color: var(--text-dim) }

/* 001 — Läpinäkyvyys */
.transparency { background: var(--paper) }
.tr-top { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: end }
@media (max-width:900px) { .tr-top { grid-template-columns: 1fr; gap: 2rem } }
.lock { border-left: 3px solid var(--mint); padding-left: 1.4rem }
.lock h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; margin-bottom: .6rem }
.lock p { color: var(--text-dim-ink); font-size: .92rem; max-width: 46ch }
.price-grid { margin-top: 3.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem }
@media (max-width:900px) { .price-grid { grid-template-columns: 1fr } }
.price-card { background: var(--ink); color: var(--paper); padding: 2rem 2rem 1.6rem }
.price-card .pc-tag {
    font-family: var(--font-mono); font-size: .6rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mint);
    display: flex; align-items: center; gap: .8rem;
}
.price-card .pc-tag::after { content: ''; flex: 1; height: 1px; background: var(--line-light) }
.price-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; margin-top: 1.1rem; line-height: 1.2 }
.price-card .pc-meta { font-family: var(--font-mono); font-size: .68rem; color: var(--text-dim); margin-top: .6rem; line-height: 1.7 }
.pc-rows { margin-top: 1.8rem; display: flex; flex-direction: column }
.pc-row {
    display: flex; justify-content: space-between; gap: 1rem;
    font-family: var(--font-mono); font-size: .8rem; padding: .62rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.pc-row span:first-child { color: var(--text-dim) }
.pc-row.discount span { color: var(--mint) }
.pc-row.sub { border-bottom: none; border-top: 1px solid var(--line-light); margin-top: .5rem; padding-top: .9rem }
.pc-row.vat { border-bottom: none }
.pc-total {
    display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
    border-top: 2px solid var(--mint); margin-top: .6rem; padding-top: 1rem;
}
.pc-total .k { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-dim) }
.pc-total .v { font-family: var(--font-display); font-weight: 800; font-size: 2rem; color: var(--mint); white-space: nowrap }

/* Ticker */
.ticker { background: var(--mint); color: var(--ink); overflow: hidden; padding: 1rem 0; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink) }
.ticker-track { display: flex; gap: 2.5rem; width: max-content; animation: slide 42s linear infinite }
.ticker-track span {
    font-family: var(--font-mono); font-size: .7rem; letter-spacing: .06em; white-space: nowrap;
    display: flex; align-items: center; gap: 2.5rem;
}
.ticker-track span::after { content: '◆'; font-size: .5rem; opacity: .5 }
@keyframes slide { from { transform: translateX(0) } to { transform: translateX(-50%) } }
@media (prefers-reduced-motion:reduce) {
    .ticker-track { animation: none; flex-wrap: wrap; width: auto; padding: 0 var(--page-x); row-gap: .6rem }
    .ticker-track span[aria-hidden="true"] { display: none }
}

/* 002 — Prosessi */
.proc-grid { margin-top: 3rem; display: grid; grid-template-columns: 1fr 1.25fr; gap: 4rem; align-items: start }
@media (max-width:900px) { .proc-grid { grid-template-columns: 1fr; gap: 2.5rem } }
.proc-figure { position: relative }
.proc-figure .proc-slides { position: relative; aspect-ratio: 4/5; background: #111 }
.proc-figure .proc-slides picture { position: absolute; inset: 0; opacity: 0; transition: opacity .9s ease }
.proc-figure .proc-slides picture.active { opacity: 1 }
.proc-figure .proc-slides img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.25) }
@media (prefers-reduced-motion:reduce) { .proc-figure .proc-slides picture { transition: none } }
.proc-figure::before {
    content: ''; position: absolute; inset: -10px; pointer-events: none; z-index: 1;
    background:
        linear-gradient(var(--mint) 0 0) top left/22px 3px no-repeat,
        linear-gradient(var(--mint) 0 0) top left/3px 22px no-repeat,
        linear-gradient(var(--mint) 0 0) top right/22px 3px no-repeat,
        linear-gradient(var(--mint) 0 0) top right/3px 22px no-repeat,
        linear-gradient(var(--mint) 0 0) bottom left/22px 3px no-repeat,
        linear-gradient(var(--mint) 0 0) bottom left/3px 22px no-repeat,
        linear-gradient(var(--mint) 0 0) bottom right/22px 3px no-repeat,
        linear-gradient(var(--mint) 0 0) bottom right/3px 22px no-repeat;
}
.proc-nav { margin-top: 1.2rem; display: flex; gap: .45rem; align-items: center }
.proc-nav button {
    appearance: none; width: 28px; height: 3px; padding: 0; border: 0;
    background: rgba(255, 255, 255, .22); cursor: pointer;
    transition: background .3s ease, width .3s ease;
    /* 3px is the drawn tick; the hit area is taller. */
    background-clip: content-box; padding-block: 10px; box-sizing: content-box;
}
.proc-nav button:hover { background-color: rgba(255, 255, 255, .45) }
.proc-nav button.active { background-color: var(--mint); width: 44px }
.proc-cap { margin-top: .6rem; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; color: var(--mint) }
.stack { border-top: 1px solid var(--line-light) }
.stack-item {
    border-left: 3px solid var(--mint); border-bottom: 1px solid var(--line-light);
    padding: 1.5rem 0 1.5rem 1.5rem;
    display: grid; grid-template-columns: 2.8rem 1fr auto; gap: 1rem; align-items: start;
}
.stack-item:hover { background: rgba(255, 255, 255, .02) }
.stack-item .num { font-family: var(--font-mono); color: var(--mint); font-size: .8rem; letter-spacing: .02em }
.stack-item h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; margin-bottom: .35rem }
.stack-item h3::before { content: '> '; font-family: var(--font-mono); color: var(--mint); font-weight: 400 }
.stack-item p { color: var(--text-dim); font-size: .88rem; max-width: 42ch }
.stack-item .when { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); white-space: nowrap }
@media (max-width:600px) {
    .stack-item { grid-template-columns: 2.2rem 1fr }
    .stack-item .when { grid-column: 2; margin-top: .6rem }
}

/* 003 — Varaus */
.booking { background: var(--paper) }
.book-grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center }
@media (max-width:900px) { .book-grid { grid-template-columns: 1fr; gap: 2.5rem } }
.book-grid .heading { margin-top: 1.2rem }
.chip-row { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: .8rem }
.chip {
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    background: var(--ink); color: var(--mint);
    padding: .7rem 1.1rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .04em;
}
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line) }
.mini-cell { position: relative; background: var(--paper); padding: 1.5rem 1.6rem 1.6rem; transition: background .25s var(--ease) }
.mini-cell:hover { background: var(--paper-dim) }
.mini-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem }
.mini-cell .num { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em; color: var(--mint); background: var(--ink); padding: .3rem .55rem }
.mini-ticks { display: flex; gap: 4px }
.mini-ticks i { width: 12px; height: 3px; background: rgba(10, 10, 10, .14) }
.mini-ticks i.on { background: var(--mint-deep) }
.mini-cell h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; margin: 0 0 .45rem; letter-spacing: -.005em }
.mini-cell p { color: rgba(10, 10, 10, .72); font-size: .86rem; line-height: 1.55 }
.mini-cell .field { margin-top: .9rem; display: flex; flex-wrap: wrap; gap: .35rem }
.mini-cell .field span { font-family: var(--font-mono); font-size: .6rem; letter-spacing: .04em; color: var(--text-dim-ink); border: 1px solid var(--line); padding: .22rem .45rem }
@media (max-width:520px) { .mini-grid { grid-template-columns: 1fr } }

/* Poistopalvelu crosslink */
.crosslink { background: var(--mint); color: var(--ink) }
.crosslink-inner {
    max-width: 1400px; margin: 0 auto; padding: 2.4rem var(--page-x);
    display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
}
.crosslink-inner p { font-size: 1.05rem; font-family: var(--font-display); font-weight: 600; max-width: 48ch }
.crosslink-inner p .sub { display: block; font-family: var(--font-body); font-weight: 300; font-size: .9rem; margin-top: .4rem }
.crosslink .btn-secondary { color: var(--ink); border-color: var(--ink) }
.crosslink .btn-secondary:hover { background: var(--ink); color: var(--mint) }

/* 004 — UKK */
.faq { background: var(--paper) }
.faq-list { margin-top: 3rem; border-top: 1px solid var(--line) }
.faq-item { border-bottom: 1px solid var(--line) }
.faq-item summary {
    list-style: none; cursor: pointer;
    display: flex; align-items: baseline; gap: 1.2rem; padding: 1.5rem 0;
    font-family: var(--font-display); font-weight: 600; font-size: 1.08rem;
}
.faq-item summary::-webkit-details-marker { display: none }
.faq-item summary .q { font-family: var(--font-mono); font-size: .68rem; color: var(--mint-deep); flex-shrink: 0 }
.faq-item summary .plus { margin-left: auto; font-family: var(--font-mono); color: var(--mint-deep); flex-shrink: 0; transition: transform .3s var(--ease) }
.faq-item[open] summary .plus { transform: rotate(45deg) }
.faq-item p { color: var(--text-dim-ink); font-size: .95rem; max-width: 64ch; padding: 0 0 1.8rem 3.5rem }
@media (max-width:600px) { .faq-item p { padding-left: 0 } }

/* ── Footer ── */
footer { background: var(--dark-grad); color: var(--paper) }
.footer-inner {
    max-width: 1400px; margin: 0 auto; padding: 4.5rem var(--page-x) 2.5rem;
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem;
}
@media (max-width:900px) { .footer-inner { grid-template-columns: 1fr 1fr } }
@media (max-width:600px) { .footer-inner { grid-template-columns: 1fr; gap: 2.5rem } }
.footer-brand { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; display: flex; align-items: center; gap: .6rem }
.footer-brand .f365 { font-family: var(--font-mono); font-size: .65rem; color: var(--mint); font-weight: 400 }
.footer-tagline { color: var(--text-dim); font-size: .88rem; margin-top: 1rem; max-width: 30ch }
.footer-col h2 { font-family: var(--font-mono); font-weight: 400; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mint); margin-bottom: 1.2rem }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .7rem }
.footer-col a { color: var(--text-dim); font-size: .88rem }
.footer-col a:hover { color: var(--mint) }
.footer-bottom {
    border-top: 1px solid var(--line-light); padding: 1.5rem var(--page-x);
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
    max-width: 1400px; margin: 0 auto;
}
.footer-bottom p, .footer-bottom div {
    font-family: var(--font-mono); font-size: .62rem; color: var(--text-dim); letter-spacing: .05em;
    display: flex; gap: 1.2rem; flex-wrap: wrap;
}
.footer-bottom a { color: var(--text-dim) }
.footer-bottom a:hover { color: var(--mint) }

/* ── Motion ── */
/* Only hidden once home.js has proven it can reveal them again: without JS
   (or if the script fails) every section stays visible. */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease) }
.js .reveal.is-visible { opacity: 1; transform: translateY(0) }
@media (prefers-reduced-motion:reduce) {
    .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important }
}
