/* =============================================================
   soacd.net — site skin (v10 · 30/09):
   - COLORI DEL KIT RISPETTATI (fonte: stylekit/css/theme-vars.css):
     accento VIOLA #8463a8 · fondo #0a0a0a · testo #e0e0e0 · dim #a6a6a6
     bordi #1a1a1a · glitch #ff4dd8 / #4df0ff · verde kit #22ff88
     (via il ciano/blu inventato: il blu non c'è più)
   - full-width vero (clamp 600px del kit neutralizzato)
   - spigoli dritti, mono uppercase per label/CTA
   - form di contatto in MODALE + icona in basso a destra (FAB)
   - animazioni SOLO con JS attivo (html.js): mai pagine "vuote"
   ============================================================= */

:root {
    /* base — valori del kit */
    --bg: #0a0a0a;
    --text: #e0e0e0;
    --dim: #a6a6a6;
    --border: #1a1a1a;
    /* firma + accenti — valori del kit */
    --accent: #8463a8;
    --violet: #8463a8;
    --magenta: #ff4dd8;
    --green: #22ff88;
    --tint: #c9b3e8;
    --glitch-a: #ff4dd8;
    --glitch-b: #4df0ff;
    /* superfici */
    --panel: #101010;
    --panel-2: #141414;
    --ring: rgba(132, 99, 168, 0.35);
    --hairline: rgba(224, 224, 224, 0.10);
    --mono: ui-monospace, "Cascadia Mono", Consolas, "Courier New", monospace;
}

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

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    /* la selezione testo è consentita (il kit la blocca: la riattiviamo) */
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
    -webkit-touch-callout: default;
}

/* il kit limita main a 600px: qui niente colonna centrale */
main {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
    flex: 1;
    position: relative;
    z-index: 2;
}

section { padding: 88px 0; position: relative; scroll-margin-top: 84px; }
section.alt {
    background: #0e0e0e;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
}

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

::selection { background: rgba(132, 99, 168, 0.35); color: #fff; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* scrollbar in tema (mai barre bianche su pagina scura) */
* { scrollbar-width: thin; scrollbar-color: rgba(224, 224, 224, 0.18) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(224, 224, 224, 0.16); border-radius: 8px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background: rgba(132, 99, 168, 0.45); background-clip: content-box; }

/* barra di avanzamento scroll */
#progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px; width: 0;
    background: var(--accent);
    box-shadow: 0 0 12px rgba(132, 99, 168, 0.6);
    z-index: 90;
    pointer-events: none;
}

/* =============================================================
   CANVAS (kit: matrice a tutta pagina + occhi di sfondo)
   ============================================================= */
#bg {
    position: fixed; inset: 0;
    width: 100%; height: 100%;
    z-index: 0;
    opacity: 0.22;
    pointer-events: none;
}
#eyes { position: fixed; inset: 0; z-index: 1; pointer-events: none; }
#fx  { display: none; }

header, main, footer { position: relative; z-index: 2; }

/* =============================================================
   NAV
   ============================================================= */
header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 50;
    background: rgba(10, 10, 10, 0.84);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--hairline);
    animation: nav-in 0.6s ease backwards;
}
@keyframes nav-in { from { transform: translateY(-100%); } to { transform: none; } }

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    font-family: var(--mono);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text);
    white-space: nowrap;
}
.logo em { font-style: normal; color: var(--accent); }
.logo:hover { text-decoration: none; }

nav ul { display: flex; align-items: center; gap: 24px; list-style: none; }
nav a {
    font-size: 0.88rem;
    color: var(--dim);
    white-space: nowrap;
}
nav a:hover { color: var(--text); text-decoration: none; }
nav a.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background 0.15s, color 0.15s, box-shadow 0.2s;
}
nav a.nav-cta:hover {
    background: var(--accent);
    color: #140b1e;
    text-decoration: none;
    box-shadow: 0 0 22px rgba(132, 99, 168, 0.45);
}

.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--hairline);
    color: var(--text);
    font-family: var(--mono);
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    padding: 8px 14px;
    cursor: pointer;
}

/* =============================================================
   HERO — tutto a sinistra, full width, niente centro
   ============================================================= */
.hero { padding: 158px 0 56px; }
.hero .kicker { animation: rise-in 0.7s ease backwards; animation-delay: 0.05s; }
.hero h1     { animation: rise-in 0.8s ease 0.14s backwards, hero-glow 5s ease-in-out 1.2s infinite; }
.hero .statement { animation: rise-in 0.8s ease 0.2s backwards; }
.hero .sub { animation: rise-in 0.8s ease 0.26s backwards; }
.hero .hero-cta { animation: rise-in 0.8s ease 0.34s backwards; }
.hero .hero-meta { animation: rise-in 0.8s ease 0.42s backwards; }
@keyframes rise-in {
    from { opacity: 0; transform: translateY(26px); }
    to   { opacity: 1; transform: none; }
}

.kicker {
    font-family: var(--mono);
    font-size: 0.76rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--violet);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 26px;
}
.kicker .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 10px var(--green);
    animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

.hero h1 {
    font-size: clamp(3.2rem, 8.2vw, 7.4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 0.95;
    color: var(--text);
    max-width: 14ch;
}
@keyframes hero-glow {
    0%, 100% { text-shadow: 0 0 30px rgba(132, 99, 168, 0.20), 0 0 80px rgba(132, 99, 168, 0.12); }
    50%      { text-shadow: 0 0 46px rgba(132, 99, 168, 0.38), 0 0 110px rgba(255, 77, 216, 0.14); }
}
/* lettere: So bianco · : lilla del kit · A magenta · C verde · D viola */
.hero h1 .ch:nth-child(1),
.hero h1 .ch:nth-child(2) { color: var(--text); }
.hero h1 .ch:nth-child(3) { color: var(--tint); }
.hero h1 .ch:nth-child(4) { color: var(--magenta); }
.hero h1 .ch:nth-child(5) { color: var(--green); }
.hero h1 .ch:nth-child(6) { color: var(--violet); }

.statement {
    margin-top: 28px;
    font-size: clamp(1.45rem, 3.2vw, 2.45rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #ffffff;
    max-width: 32ch;
}
.hero .sub {
    margin-top: 20px;
    max-width: 70ch;
    font-size: 1.08rem;
    color: var(--dim);
    line-height: 1.7;
}
.hero .sub b { color: var(--text); font-weight: 600; }

.hero-cta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-family: var(--mono);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition: background 0.15s, color 0.15s, box-shadow 0.2s, transform 0.12s;
}
.btn:hover {
    background: var(--accent);
    color: #140b1e;
    text-decoration: none;
    box-shadow: 0 0 26px rgba(132, 99, 168, 0.45);
    transform: translateY(-1px);
}
.btn-solid { background: var(--accent); color: #140b1e; }
.btn-solid:hover { background: #9d7fc0; }
.btn-ghost { border-color: rgba(224, 224, 224, 0.28); color: var(--text); }
.btn-ghost:hover { background: transparent; border-color: var(--accent); color: var(--accent); }

.hero-meta {
    margin-top: 34px;
    font-family: var(--mono);
    font-size: 0.78rem;
    color: var(--dim);
    letter-spacing: 0.06em;
}

/* marquee */
.marquee {
    margin-top: 76px;
    border-top: 1px solid var(--hairline);
    border-bottom: 1px solid var(--hairline);
    overflow: hidden;
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.015);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
    display: flex;
    gap: 56px;
    width: max-content;
    animation: marquee 26s linear infinite;
    font-family: var(--mono);
    font-size: 1rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { color: var(--text); }
.marquee span.m { color: var(--magenta); }
.marquee span.c { color: var(--accent); }
.marquee span.a { color: var(--green); }
.marquee span.l { color: var(--tint); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =============================================================
   TESTATE DI SEZIONE (a sinistra)
   ============================================================= */
.sec-head { max-width: 860px; margin-bottom: 48px; }
.sec-label {
    font-family: var(--mono);
    font-size: 0.76rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 12px;
}
.sec-title {
    font-size: clamp(1.8rem, 3.4vw, 2.9rem);
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.sec-sub { margin-top: 14px; color: var(--dim); font-size: 1.02rem; max-width: 68ch; }

/* =============================================================
   BENTO — celle solide + glow reattivo (kit reactive-boxes)
   ============================================================= */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}
.cell {
    --glow: 0;
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 178px;
    color: inherit;
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.cell::after {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    border: 1px solid var(--glowc, rgba(132, 99, 168, 0.3));
    opacity: calc(var(--glow, 0) * 0.6);
    box-shadow: 0 0 26px var(--glowc, rgba(132, 99, 168, 0.3));
    transition: opacity 0.12s linear;
}
.cell:hover {
    border-color: var(--ring);
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45);
    text-decoration: none;
}
.cell .c-label {
    font-family: var(--mono);
    font-size: 0.66rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
}
.cell .c-label.m { color: var(--magenta); }
.cell .c-label.a { color: var(--green); }
.cell h3 { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.02em; }
.cell p { color: var(--dim); font-size: 0.92rem; line-height: 1.62; max-width: 56ch; }
.cell .go {
    margin-top: auto;
    font-family: var(--mono);
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: var(--accent);
}
.cell.w2 { grid-column: span 4; }
.cell.w1 { grid-column: span 2; }
.cell.stub { opacity: 0.62; }

/* =============================================================
   SERVIZI
   ============================================================= */
.svcs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
/* v14 (10/10): 4 card in alto + custom/ («Anything you need») a piena riga sotto */
@media (min-width: 621px) { .svcs .svc.wide { grid-column: span 4; } }
@media (max-width: 900px) { .svcs { grid-template-columns: repeat(2, 1fr); } .svcs .svc.wide { grid-column: span 2; } }
@media (max-width: 620px) { .svcs { grid-template-columns: 1fr; } .svcs .svc.wide { grid-column: auto; } }
.svc {
    --glow: 0;
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.svc::after {
    content: "";
    position: absolute;
    inset: -1px;
    pointer-events: none;
    border: 1px solid var(--glowc, rgba(132, 99, 168, 0.3));
    opacity: calc(var(--glow, 0) * 0.6);
    box-shadow: 0 0 26px var(--glowc, rgba(132, 99, 168, 0.3));
    transition: opacity 0.12s linear;
}
.svc:hover { border-color: var(--ring); transform: translateY(-3px); }
.svc .s-key { font-family: var(--mono); font-size: 1.15rem; font-weight: 600; letter-spacing: -0.02em; color: var(--violet); }
.svc:hover .s-key { color: var(--magenta); }
.svc h3 { font-size: 1.05rem; font-weight: 600; }
.svc p { color: var(--dim); font-size: 0.9rem; line-height: 1.58; }

.note {
    border: 1px solid var(--border);
    background: var(--panel-2);
    padding: 22px 24px;
    color: var(--dim);
    font-size: 0.94rem;
    max-width: 880px;
}
.note b { color: var(--accent); font-weight: 600; }
.mt-28 { margin-top: 28px; }
.mt-36 { margin-top: 36px; }

/* =============================================================
   EDITORIAL — progetti
   ============================================================= */
.editorial { border-top: 1px solid var(--hairline); }
.e-row {
    display: grid;
    grid-template-columns: 84px 1fr 220px;
    gap: 28px;
    align-items: baseline;
    padding: 32px 0;
    border-bottom: 1px solid var(--hairline);
    transition: background 0.15s ease, padding-left 0.2s ease;
}
.e-row:hover { background: rgba(224, 224, 224, 0.02); padding-left: 12px; }
.e-row .e-n {
    font-family: var(--mono);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--violet);
    letter-spacing: -0.02em;
    text-shadow: 0 0 18px rgba(132, 99, 168, 0.4);
}
.e-row h3 { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.03em; transition: color 0.2s ease; }
.e-row:hover h3 { color: var(--accent); }
.e-row p { color: var(--dim); font-size: 0.95rem; max-width: 62ch; margin-top: 6px; }
.e-row .e-meta {
    font-family: var(--mono);
    font-size: 0.72rem;
    color: var(--dim);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: right;
}

/* =============================================================
   LINKLIST — community
   ============================================================= */
.linklist { border-top: 1px solid var(--hairline); }
.linklist a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid var(--hairline);
    color: var(--text);
    font-size: 1.05rem;
    font-weight: 500;
    transition: color 0.15s ease, padding-left 0.2s ease;
}
.linklist a:hover { color: var(--accent); text-decoration: none; padding-left: 8px; }
.linklist a .lk-sub {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dim);
}
.linklist a:hover .lk-sub { color: var(--accent); }

/* =============================================================
   TIER / FAQ
   ============================================================= */
.tiers { border-top: 1px solid var(--hairline); }
.tier {
    display: grid;
    grid-template-columns: 230px 1fr auto;
    gap: 24px;
    align-items: center;
    padding: 26px 0;
    border-bottom: 1px solid var(--hairline);
    transition: background 0.15s ease;
}
.tier:hover { background: rgba(224, 224, 224, 0.02); }
.tier .t-name { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.02em; }
.tier .t-price { font-family: var(--mono); font-size: 0.78rem; color: var(--dim); }
.tier p { color: var(--dim); font-size: 0.92rem; }
.tier.hot .t-name::after {
    content: "· crew";
    color: var(--magenta);
    font-family: var(--mono);
    font-size: 0.7rem;
    margin-left: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 0;
    font-size: 1.06rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: color 0.15s ease;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    font-family: var(--mono);
    color: var(--accent);
    font-size: 1.3rem;
    transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .a { padding: 0 0 22px; color: #b0b0b0; max-width: 72ch; line-height: 1.7; }
.faq .a b { color: var(--text); }

/* =============================================================
   CTA FINALE + FOOTER
   ============================================================= */
.final-cta { padding: 120px 0; }
.final-cta h2 {
    font-size: clamp(2.2rem, 5.4vw, 4.2rem);
    font-weight: 600;
    letter-spacing: -0.04em;
    line-height: 1.02;
    max-width: 20ch;
}

footer {
    border-top: 1px solid var(--hairline);
    background: #080808;
    padding: 56px 0 36px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer-brand {
    font-family: var(--mono);
    font-size: 1.05rem;
    letter-spacing: 0.03em;
}
.footer-brand small {
    display: block;
    margin-top: 12px;
    color: var(--dim);
    font-size: 0.85rem;
    letter-spacing: 0;
    font-family: "Segoe UI", system-ui, sans-serif;
    max-width: 40ch;
}
footer h4 {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--dim);
    margin-bottom: 16px;
}
footer ul { list-style: none; }
footer li { margin-bottom: 10px; }
footer a { color: var(--dim); font-size: 0.95rem; }
footer a:hover { color: var(--accent); }
.footer-bottom {
    margin-top: 48px;
    padding-top: 22px;
    border-top: 1px solid var(--hairline);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--dim);
    font-size: 0.82rem;
}

/* =============================================================
   CONTACT FORM (invio interno: la mail parte dal server;
   il form vive nella modale, aperta dall'icona in basso a destra)
   ============================================================= */
.cform {
    max-width: 720px;
    border: 1px solid var(--border);
    background: var(--panel);
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cf-row { display: flex; flex-direction: column; gap: 7px; }
.cf-row label {
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
}
.cf-row input,
.cf-row select,
.cf-row textarea {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid var(--border);
    color: var(--text);
    font: inherit;
    font-size: 0.95rem;
    padding: 12px;
    outline: none;
}
.cf-row input:focus,
.cf-row select:focus,
.cf-row textarea:focus { border-color: var(--accent); box-shadow: 0 0 14px rgba(132, 99, 168, 0.20); }
.cf-row textarea { resize: vertical; min-height: 130px; }
.cf-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cf-actions .fine { font-size: 0.85rem; color: var(--dim); }
.cf-err { color: #ff6b81; font-size: 0.85rem; min-height: 1.1em; }
.cf-err:empty { display: none; }
.cf-ok { color: var(--green); font-size: 0.9rem; min-height: 1.1em; }
.cf-ok:empty { display: none; }
.cell .fine { font-size: 0.8rem; color: var(--dim); line-height: 1.55; }

/* FAB + MODALE CONTATTI */
.fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 70;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--panel);
    border: 1px solid var(--border);
    color: var(--accent);
    cursor: pointer;
    padding: 0;
    transition: border-color 0.2s ease, box-shadow 0.25s ease, transform 0.2s ease;
}
.fab:hover {
    border-color: var(--accent);
    box-shadow: 0 0 18px rgba(132, 99, 168, 0.35);
    transform: translateY(-2px);
}
.cf-modal { display: none; }
.cf-modal.open { display: block; }
.cf-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(3px);
    z-index: 92;
}
.cf-modal-panel {
    position: fixed;
    z-index: 94;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(620px, calc(100vw - 40px));
    max-height: min(86vh, 800px);
    overflow: auto;
    background: var(--panel);
    border: 1px solid var(--border);
    padding: 30px 26px 24px;
}
.cf-modal-x {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: 0;
    color: var(--dim);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
    font-family: var(--mono);
}
.cf-modal-x:hover { color: var(--accent); }
.cf-modal-title { font-size: 1.35rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 6px; }
.cf-modal-sub { color: var(--dim); font-size: 0.92rem; margin: 6px 0 20px; max-width: 54ch; }
.cf-modal .cform { border: 0; background: transparent; padding: 0; max-width: none; }

/* =============================================================
   REVEAL — solo con JS attivo (mai pagina "vuota" senza JS)
   ============================================================= */
html.js .reveal {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(5px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), filter 0.65s ease;
    will-change: opacity, transform, filter;
}
html.js .reveal.in {
    opacity: 1;
    transform: none;
    filter: none;
}
html.js .reveal.d1 { transition-delay: 0.08s; }
html.js .reveal.d2 { transition-delay: 0.16s; }
html.js .reveal.d3 { transition-delay: 0.24s; }

/* =============================================================
   RESPONSIVE
   ============================================================= */
@media (max-width: 1024px) {
    .cell.w2 { grid-column: span 6; }
    .cell.w1 { grid-column: span 3; }
    .e-row { grid-template-columns: 60px 1fr; }
    .e-row .e-meta { display: none; }
    .tier { grid-template-columns: 1fr; gap: 8px; }
}
@media (max-width: 809px) {
    .wrap { padding: 0 22px; }
    .header-inner { padding: 0 22px; }
    .nav-toggle { display: block; }
    nav {
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: rgba(10, 10, 10, 0.97);
        border-bottom: 1px solid var(--hairline);
        display: none;
    }
    nav.open { display: block; }
    nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 22px 20px; }
    nav li { padding: 12px 0; border-bottom: 1px solid var(--hairline); }
    nav li:last-child { border-bottom: 0; }
    .hero { padding: 132px 0 48px; }
    .cell.w1 { grid-column: span 6; }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .hero-cta .btn { width: 100%; }
    .fab { right: 16px; bottom: 16px; }
    .cf-modal-panel { width: calc(100vw - 28px); padding: 24px 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    header, .hero .kicker, .hero h1, .hero .statement, .hero .sub, .hero .hero-cta, .hero .hero-meta { animation: none; }
    .marquee-track { animation: none; }
    .kicker .dot { animation: none; }
    html.js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
}
