/* =========================================================
   H ND H SOLUTIONS — 2025 PREMIUM DESIGN SYSTEM
   Aesthetic: Editorial · Bold · Electric
   Fonts: Space Grotesk (display) + Inter (body)
========================================================= */

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "Inter", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    font-feature-settings: "ss01", "cv01";
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ---------- TOKENS ---------- */
:root {
    /* Base palette */
    --ink: #0a0c10;
    --ink-2: #14181f;
    --ink-3: #1e242e;
    --paper: #f6f3ed;
    --paper-2: #ebe6db;
    --paper-3: #ddd6c7;

    /* Accents */
    --lime: #ccff00;
    --lime-deep: #a8d600;
    --orange: #ff5f1f;
    --blue: #3d5afe;
    --violet: #7c3aed;

    /* Text */
    --muted: #6b7280;
    --muted-2: #8b9199;
    --on-dark: #f6f3ed;
    --on-dark-muted: #9ba1aa;

    /* Borders */
    --line: rgba(10,12,16,.1);
    --line-dark: rgba(246,243,237,.12);

    /* Radii */
    --r-sm: 8px;
    --r: 16px;
    --r-lg: 24px;
    --r-xl: 40px;

    /* Type */
    --font-display: "Space Grotesk", "Inter", sans-serif;
    --font-body: "Inter", system-ui, sans-serif;

    /* Motion */
    --ease-out: cubic-bezier(.16,1,.3,1);
    --ease-in-out: cubic-bezier(.76,0,.24,1);
}

/* ---------- TYPOGRAPHY ---------- */
.font-display { font-family: var(--font-display); }

.display {
    font-family: var(--font-display);
    font-size: clamp(44px, 7vw, 112px);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.045em;
    color: var(--ink);
}

.h1 {
    font-family: var(--font-display);
    font-size: clamp(38px, 5.5vw, 84px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.04em;
}

.h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4.2vw, 60px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.035em;
}

.h3 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -.02em;
}

.h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.01em;
}

.body-lg { font-size: 18px; line-height: 1.6; color: var(--muted); }
.body { font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.body-sm { font-size: 14px; line-height: 1.6; color: var(--muted); }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--ink);
}

.eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lime);
    box-shadow: 0 0 0 4px rgba(204,255,0,.2);
}

.eyebrow-light { color: var(--on-dark); }

/* ---------- LAYOUT ---------- */
.wrap {
    width: min(1280px, calc(100% - 48px));
    margin: 0 auto;
}

.wrap-tight { width: min(1080px, calc(100% - 48px)); margin: 0 auto; }

.section { padding: 120px 0; position: relative; }
.section-sm { padding: 80px 0; }
.section-lg { padding: 160px 0; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.flex-col { display: flex; flex-direction: column; }

/* ---------- SECTION HEADS ---------- */
.section-head {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: end;
    margin-bottom: 80px;
}

.section-head .h2 { max-width: 12ch; }

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -.005em;
    position: relative;
    overflow: hidden;
    transition: transform .5s var(--ease-out), background .3s, color .3s, border-color .3s;
    will-change: transform;
    isolation: isolate;
}

.btn .icon {
    width: 18px;
    height: 18px;
    transition: transform .4s var(--ease-out);
}

.btn:hover .icon { transform: translateX(4px) rotate(-45deg); }

/* Ink button */
.btn-ink {
    background: var(--ink);
    color: var(--paper);
}
.btn-ink::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--lime);
    transform: translateY(100%);
    transition: transform .55s var(--ease-out);
    z-index: -1;
}
.btn-ink:hover { color: var(--ink); }
.btn-ink:hover::before { transform: translateY(0); }

/* Lime button */
.btn-lime {
    background: var(--lime);
    color: var(--ink);
}
.btn-lime::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(100%);
    transition: transform .55s var(--ease-out);
    z-index: -1;
}
.btn-lime:hover { color: var(--lime); }
.btn-lime:hover::before { transform: translateY(0); }

/* Outline button */
.btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1.5px solid var(--ink);
}
.btn-outline::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(100%);
    transition: transform .55s var(--ease-out);
    z-index: -1;
}
.btn-outline:hover { color: var(--paper); }
.btn-outline:hover::before { transform: translateY(0); }

/* Outline light */
.btn-outline-light {
    background: transparent;
    color: var(--on-dark);
    border: 1.5px solid var(--line-dark);
}
.btn-outline-light::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--lime);
    transform: translateY(100%);
    transition: transform .55s var(--ease-out);
    z-index: -1;
}
.btn-outline-light:hover { color: var(--ink); border-color: var(--lime); }
.btn-outline-light:hover::before { transform: translateY(0); }

.btn-sm { padding: 12px 20px; font-size: 13px; }
.btn-lg { padding: 22px 36px; font-size: 15px; }

/* Link with arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
    padding-bottom: 2px;
    border-bottom: 1.5px solid var(--ink);
    transition: gap .4s var(--ease-out);
}
.link-arrow:hover { gap: 16px; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .4s var(--ease-out); }
.link-arrow:hover svg { transform: translateX(2px) rotate(-45deg); }

/* =========================================================
   CURSOR
========================================================= */
.cursor,
.cursor-dot {
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform .2s var(--ease-out), width .3s, height .3s, opacity .3s;
    will-change: transform;
}

.cursor {
    width: 40px;
    height: 40px;
    border: 1.5px solid #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.cursor.is-hover {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(4px);
}

@media (hover: none), (max-width: 900px) {
    .cursor, .cursor-dot { display: none; }
}

/* =========================================================
   SCROLL PROGRESS
========================================================= */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 3px;
    z-index: 10000;
    background: transparent;
}

.scroll-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--lime), var(--orange));
    transition: width .1s linear;
}

/* =========================================================
   HEADER
========================================================= */
/* =========================================================
   HEADER — always solid so nav is visible on every page
========================================================= */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(246, 243, 237, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transition: padding .4s var(--ease-out),
                background .3s,
                box-shadow .3s,
                transform .4s;
}

.header.is-stuck {
    padding: 10px 0;
    background: rgba(246, 243, 237, 0.98);
    box-shadow: 0 6px 30px rgba(10, 12, 16, 0.06);
}

.header.is-hidden { transform: translateY(-100%); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

/* LOGO */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -.02em;
    z-index: 2;
}

.logo-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: var(--ink);
    color: var(--lime);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: -.5px;
    transition: transform .5s var(--ease-out), background .3s;
}

.logo:hover .logo-mark {
    transform: rotate(-8deg) scale(1.05);
    background: var(--lime);
    color: var(--ink);
}

.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text strong { font-size: 17px; font-weight: 700; letter-spacing: -.02em; }
.logo-text small { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 3px; font-weight: 500; }

/* NAV */
.nav { display: flex; align-items: center; gap: 4px; }

.nav a {
    position: relative;
    padding: 10px 16px;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    border-radius: 100px;
    transition: color .3s, background .3s;
}

.nav a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 6px;
    height: 1.5px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease-out);
}

.nav a:hover::after,
.nav a.active::after { transform: scaleX(1); }

.nav a.active { color: var(--ink); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 12px; z-index: 2; }

/* BURGER */
.burger {
    display: none;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--paper);
    place-items: center;
    transition: transform .4s var(--ease-out), background .3s;
}

.burger:hover { background: var(--lime); color: var(--ink); }
.burger.is-open { background: var(--lime); color: var(--ink); }

.burger span {
    display: block;
    width: 18px;
    height: 1.5px;
    margin: 3.5px auto;
    background: currentColor;
    border-radius: 3px;
    transition: .35s var(--ease-out);
}

.burger.is-open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.is-open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* MOBILE NAV */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: var(--ink);
    color: var(--on-dark);
    padding: 110px 24px 40px;
    transform: translateY(-100%);
    transition: transform .7s var(--ease-in-out);
    overflow-y: auto;
    visibility: hidden;
}

.mobile-nav.is-open {
    transform: translateY(0);
    visibility: visible;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 0;
    border-bottom: 1px solid var(--line-dark);
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--on-dark);
    letter-spacing: -.02em;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s;
}

.mobile-nav.is-open .mobile-nav-link { opacity: 1; transform: translateY(0); }
.mobile-nav-link:hover { color: var(--lime); }

.mobile-nav-link:nth-child(1) { transition-delay: .05s; }
.mobile-nav-link:nth-child(2) { transition-delay: .1s; }
.mobile-nav-link:nth-child(3) { transition-delay: .15s; }
.mobile-nav-link:nth-child(4) { transition-delay: .2s; }
.mobile-nav-link:nth-child(5) { transition-delay: .25s; }
.mobile-nav-link:nth-child(6) { transition-delay: .3s; }
.mobile-nav-link:nth-child(7) { transition-delay: .35s; }

.mobile-nav-link span { color: var(--lime); font-size: 18px; }

.mobile-nav-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--line-dark);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-nav-footer a { font-size: 15px; color: var(--on-dark-muted); }
.mobile-nav-footer a:hover { color: var(--lime); }

/* =========================================================
   HERO — HOMEPAGE
========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 160px 0 100px;
    display: flex;
    align-items: center;
    background: var(--ink);
    color: var(--on-dark);
    overflow: hidden;
}

/* Animated gradient mesh */
.hero::before {
    content: "";
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(ellipse 40% 60% at 20% 30%, rgba(204,255,0,.14), transparent 60%),
        radial-gradient(ellipse 50% 40% at 80% 70%, rgba(255,95,31,.10), transparent 60%),
        radial-gradient(ellipse 60% 40% at 60% 20%, rgba(61,90,254,.08), transparent 60%);
    animation: meshMove 20s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes meshMove {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(3%, -3%) scale(1.1); }
    100% { transform: translate(-3%, 3%) scale(1.05); }
}

/* Grain texture */
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
    opacity: .04;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    margin-bottom: 32px;
    border: 1px solid var(--line-dark);
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    opacity: 0;
    animation: fadeUp .8s var(--ease-out) .2s forwards;
}

.hero-badge-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--lime);
    display: grid;
    place-items: center;
    position: relative;
}

.hero-badge-dot::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--lime);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: .8; }
    100% { transform: scale(2); opacity: 0; }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 7.5vw, 120px);
    font-weight: 700;
    line-height: .92;
    letter-spacing: -.05em;
    color: var(--on-dark);
}

.hero h1 em {
    font-style: italic;
    font-family: "Instrument Serif", Georgia, serif;
    font-weight: 400;
    color: var(--lime);
    letter-spacing: -.02em;
    padding-right: .1em;
}

.hero-sub {
    max-width: 500px;
    margin: 32px 0 40px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--on-dark-muted);
    opacity: 0;
    animation: fadeUp .8s var(--ease-out) .6s forwards;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0;
    animation: fadeUp .8s var(--ease-out) .8s forwards;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 72px;
    padding-top: 40px;
    border-top: 1px solid var(--line-dark);
    opacity: 0;
    animation: fadeUp .8s var(--ease-out) 1s forwards;
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 700;
    color: var(--on-dark);
    letter-spacing: -.03em;
    line-height: 1;
}

.hero-stat span {
    display: block;
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--on-dark-muted);
    letter-spacing: .04em;
    text-transform: uppercase;
    font-weight: 500;
}

/* HERO VISUAL — radial "orbit" */
.hero-visual {
    position: relative;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    opacity: 0;
    animation: fadeIn 1s var(--ease-out) .5s forwards;
}

.orbit {
    position: absolute;
    inset: 0;
    border: 1px solid var(--line-dark);
    border-radius: 50%;
    animation: spin 40s linear infinite;
}

.orbit-2 {
    inset: 15%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.orbit-3 {
    inset: 30%;
    animation-duration: 20s;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.orbit-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--lime);
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 20px rgba(204,255,0,.6);
}

.orbit-dot-2 {
    background: var(--orange);
    box-shadow: 0 0 20px rgba(255,95,31,.6);
    top: auto;
    bottom: -6px;
    left: 30%;
}

.orbit-dot-3 {
    background: var(--blue);
    box-shadow: 0 0 20px rgba(61,90,254,.6);
    top: 50%;
    left: -6px;
    transform: translateY(-50%);
}

.hero-core {
    width: 60%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--lime), var(--lime-deep));
    display: grid;
    place-items: center;
    position: relative;
    overflow: hidden;
    animation: breathe 5s ease-in-out infinite;
}

@keyframes breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

.hero-core-inner {
    text-align: center;
    color: var(--ink);
    padding: 20px;
    position: relative;
    z-index: 1;
}

.hero-core-inner small {
    display: block;
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: .7;
}

.hero-core-inner strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(38px, 4vw, 60px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.04em;
    margin-top: 6px;
}

.hero-core-inner span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    opacity: .75;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =========================================================
   MARQUEE
========================================================= */
.marquee {
    padding: 30px 0;
    background: var(--lime);
    color: var(--ink);
    overflow: hidden;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}

.marquee-track {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 60px;
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 700;
    letter-spacing: -.03em;
    white-space: nowrap;
}

.marquee-item::after {
    content: "✦";
    font-size: 22px;
    opacity: .6;
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* =========================================================
   PAGE HERO (inner pages)
========================================================= */
.page-hero {
    position: relative;
    padding: 180px 0 100px;
    background: var(--ink);
    color: var(--on-dark);
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: -50% -50% auto -50%;
    height: 100%;
    background:
        radial-gradient(ellipse 40% 50% at 30% 30%, rgba(204,255,0,.10), transparent 60%),
        radial-gradient(ellipse 40% 50% at 80% 60%, rgba(255,95,31,.08), transparent 60%);
    animation: meshMove 18s ease-in-out infinite alternate;
    pointer-events: none;
}

.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
    opacity: .04;
    mix-blend-mode: overlay;
    pointer-events: none;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    align-items: end;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
}

.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--lime); }
.breadcrumb .sep { color: var(--line-dark); }

.page-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.8vw, 56px);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -.035em;
    color: var(--on-dark);
}

.page-hero h1 em {
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--lime);
    letter-spacing: -.02em;
}

.page-hero-lead {
    font-size: 17px;
    line-height: 1.7;
    color: var(--on-dark-muted);
    padding-bottom: 12px;
}

/* =========================================================
   STATS
========================================================= */
.stats-band {
    padding: 100px 0;
    background: var(--paper-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.stats-band-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-band {
    padding: 0 32px;
    border-right: 1px solid var(--line);
}

.stat-band:first-child { padding-left: 0; }
.stat-band:last-child { border-right: 0; padding-right: 0; }

.stat-band strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(48px, 5vw, 72px);
    font-weight: 700;
    letter-spacing: -.05em;
    line-height: 1;
    color: var(--ink);
}

.stat-band span {
    display: block;
    margin-top: 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: .05em;
    text-transform: uppercase;
}

/* =========================================================
   SERVICES
========================================================= */
.service-card {
    position: relative;
    padding: 40px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    overflow: hidden;
    transition: transform .5s var(--ease-out), background .5s;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--ink);
    transform: translateY(101%);
    transition: transform .6s var(--ease-in-out);
    z-index: 0;
}

.service-card:hover::before { transform: translateY(0); }

.service-card > * { position: relative; z-index: 1; transition: color .4s; }
.service-card:hover > * { color: var(--on-dark); }

.service-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 60px;
}

.service-card-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: var(--paper-2);
    color: var(--ink);
    transition: background .4s, color .4s, transform .5s var(--ease-out);
}

.service-card:hover .service-card-icon {
    background: var(--lime);
    color: var(--ink);
    transform: rotate(-8deg);
}

.service-card-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card-num {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .15em;
    color: var(--muted);
    transition: color .4s;
}

.service-card:hover .service-card-num { color: var(--on-dark-muted); }

.service-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -.02em;
    line-height: 1.15;
    color: var(--ink);
    margin-bottom: 12px;
}

.service-card:hover h3 { color: var(--on-dark); }

.service-card p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--muted);
    transition: color .4s;
}

.service-card:hover p { color: var(--on-dark-muted); }

.service-card-arrow {
    margin-top: auto;
    padding-top: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--ink);
    transition: gap .4s var(--ease-out), color .4s;
}

.service-card:hover .service-card-arrow { gap: 14px; color: var(--lime); }

.service-card-arrow svg {
    width: 14px; height: 14px;
    stroke: currentColor; fill: none; stroke-width: 2;
}

/* =========================================================
   ABOUT / EDITORIAL
========================================================= */
.about-editorial {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.about-visual {
    position: relative;
    aspect-ratio: 4/5;
    border-radius: var(--r-lg);
    overflow: hidden;
}

.about-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}

.about-visual:hover img { transform: scale(1.05); }

.about-visual-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    padding: 24px;
    background: rgba(10,12,16,.85);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.1);
    color: var(--on-dark);
    display: flex;
    align-items: center;
    gap: 20px;
}

.about-visual-badge strong {
    font-family: var(--font-display);
    font-size: 44px;
    font-weight: 700;
    letter-spacing: -.04em;
    color: var(--lime);
    line-height: 1;
}

.about-visual-badge span {
    font-size: 13px;
    line-height: 1.5;
    color: var(--on-dark-muted);
}

/* Numbered chapters */
.chapter {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 24px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--muted);
}

.chapter-num {
    color: var(--ink);
    font-size: 15px;
    padding-right: 12px;
    border-right: 1px solid var(--line);
}

/* Checklist */
.checklist {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin: 36px 0;
}

.checklist li {
    display: flex;
    gap: 14px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
}

.checklist-icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--lime);
    display: grid;
    place-items: center;
    margin-top: 2px;
}

.checklist-icon svg {
    width: 12px;
    height: 12px;
    stroke: var(--ink);
    stroke-width: 3;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* =========================================================
   PROCESS (Numbered steps)
========================================================= */
.process-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
}

.process-item {
    padding: 50px 32px 40px;
    border-right: 1px solid var(--line);
    position: relative;
    transition: background .4s;
}

.process-item:first-child { padding-left: 0; }
.process-item:last-child { border-right: 0; padding-right: 0; }

.process-item::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--lime);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .5s var(--ease-out);
}

.process-item:hover::after { transform: scaleX(1); }

.process-num {
    font-family: var(--font-display);
    font-size: 60px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.05em;
    color: var(--paper-3);
    margin-bottom: 40px;
    transition: color .4s;
}

.process-item:hover .process-num { color: var(--lime); }

.process-item h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: 12px;
}

.process-item p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--muted);
}

/* =========================================================
   WHY / FEATURES
========================================================= */
.why-layout {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 100px;
    align-items: start;
}

.why-sticky {
    position: sticky;
    top: 120px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--line);
}

.feature-row {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 30px;
    align-items: center;
    padding: 32px 0;
    border-bottom: 1px solid var(--line);
    position: relative;
    transition: padding .4s var(--ease-out), background .4s;
    cursor: default;
}

.feature-row::before {
    content: "";
    position: absolute;
    left: -24px; right: -24px;
    top: 0; bottom: 0;
    background: var(--paper);
    border-radius: 12px;
    opacity: 0;
    transition: opacity .4s;
    z-index: -1;
}

.feature-row:hover::before { opacity: 1; }
.feature-row:hover { padding-left: 24px; padding-right: 24px; }

.feature-row-num {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--muted);
}

.feature-row-body h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ink);
    margin-bottom: 6px;
}

.feature-row-body p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--muted);
    max-width: 500px;
}

.feature-row-icon {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    color: var(--ink);
    transition: .4s;
}

.feature-row:hover .feature-row-icon {
    background: var(--lime);
    border-color: var(--lime);
    transform: rotate(-45deg);
}

.feature-row-icon svg {
    width: 16px; height: 16px;
    stroke: currentColor; stroke-width: 1.6; fill: none;
    stroke-linecap: round; stroke-linejoin: round;
}

/* =========================================================
   INDUSTRIES
========================================================= */
.industry-card {
    position: relative;
    padding: 32px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r);
    overflow: hidden;
    transition: transform .5s var(--ease-out), background .5s, color .5s;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.industry-card:hover {
    background: var(--ink);
    color: var(--on-dark);
    transform: translateY(-8px);
}

.industry-num {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .15em;
    color: var(--muted);
    transition: color .4s;
}

.industry-card:hover .industry-num { color: var(--lime); }

.industry-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.02em;
    color: var(--ink);
    transition: color .4s;
    margin-bottom: 6px;
}

.industry-card:hover h3 { color: var(--on-dark); }

.industry-card p {
    font-size: 13px;
    line-height: 1.55;
    color: var(--muted);
    transition: color .4s;
}

.industry-card:hover p { color: var(--on-dark-muted); }

.industry-icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 12px;
    background: var(--paper-2);
    color: var(--ink);
    transition: background .4s, color .4s;
    margin-bottom: 40px;
    align-self: flex-start;
}

.industry-card:hover .industry-icon {
    background: var(--lime);
    color: var(--ink);
}

.industry-icon svg {
    width: 20px; height: 20px;
    stroke: currentColor; fill: none; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
}

/* =========================================================
   TESTIMONIALS
========================================================= */
.review {
    padding: 40px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    position: relative;
    transition: transform .5s var(--ease-out), border-color .3s;
}

.review:hover {
    transform: translateY(-6px);
    border-color: var(--ink);
}

.review-quote {
    font-family: "Instrument Serif", Georgia, serif;
    font-size: 100px;
    line-height: .7;
    color: var(--lime);
    margin-bottom: 20px;
    height: 40px;
    display: block;
}

.review-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 20px;
    color: var(--orange);
    font-size: 15px;
    letter-spacing: 1px;
}

.review p {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--ink);
    margin-bottom: 30px;
    font-weight: 400;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.review-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--lime);
    display: grid; place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 14px;
    flex: 0 0 46px;
}

.review-author strong {
    display: block;
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
}

.review-author span {
    display: block;
    margin-top: 2px;
    font-size: 12.5px;
    color: var(--muted);
}

/* =========================================================
   FAQ
========================================================= */
.faq-layout {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 100px;
    align-items: start;
}

.faq-item {
    border-bottom: 1px solid var(--line);
    transition: border-color .3s;
}

.faq-item.is-open { border-color: var(--ink); }

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 30px 0;
    text-align: left;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -.01em;
    color: var(--ink);
    transition: color .3s, padding .4s var(--ease-out);
}

.faq-q:hover { color: var(--muted); padding-left: 8px; }

.faq-sign {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--paper-2);
    transition: transform .4s var(--ease-out), background .3s, color .3s;
}

.faq-sign::before,
.faq-sign::after {
    content: "";
    position: absolute;
    background: currentColor;
    border-radius: 3px;
}

.faq-sign::before { width: 14px; height: 1.5px; }
.faq-sign::after { width: 1.5px; height: 14px; }

.faq-sign { position: relative; }

.faq-item.is-open .faq-sign {
    background: var(--ink);
    color: var(--lime);
    transform: rotate(135deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .5s var(--ease-out);
}

.faq-a-inner {
    padding: 0 0 30px;
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--muted);
    max-width: 640px;
}

/* =========================================================
   CTA
========================================================= */
.cta-band {
    position: relative;
    padding: 100px 0;
    background: var(--ink);
    color: var(--on-dark);
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    inset: -50%;
    background:
        radial-gradient(ellipse 40% 60% at 20% 40%, rgba(204,255,0,.15), transparent 55%),
        radial-gradient(ellipse 40% 40% at 80% 60%, rgba(255,95,31,.1), transparent 55%);
    animation: meshMove 22s ease-in-out infinite alternate;
    pointer-events: none;
}

.cta-band-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 80px;
    align-items: end;
}

.cta-band h2 {
    font-family: var(--font-display);
    font-size: clamp(40px, 5.5vw, 80px);
    font-weight: 700;
    line-height: .95;
    letter-spacing: -.045em;
    color: var(--on-dark);
}

.cta-band h2 em {
    font-family: "Instrument Serif", Georgia, serif;
    font-style: italic;
    font-weight: 400;
    color: var(--lime);
}

.cta-band-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cta-band-right p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--on-dark-muted);
}

.cta-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

/* =========================================================
   CONTACT
========================================================= */
.contact-layout {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 100px;
    align-items: start;
}

.contact-info-item {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left .4s var(--ease-out);
}

.contact-info-item:hover { padding-left: 12px; }

.contact-info-icon {
    flex: 0 0 44px;
    width: 44px; height: 44px;
    border-radius: 12px;
    background: var(--paper-2);
    color: var(--ink);
    display: grid; place-items: center;
    transition: background .3s, color .3s;
}

.contact-info-item:hover .contact-info-icon {
    background: var(--lime);
}

.contact-info-icon svg {
    width: 20px; height: 20px;
    stroke: currentColor; fill: none; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
}

.contact-info-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 6px;
}

.contact-info-item a,
.contact-info-item span {
    display: block;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    color: var(--ink);
    transition: color .3s;
}

.contact-info-item a:hover { color: var(--lime-deep); }

/* Form */
.form-card {
    padding: 50px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 120px; height: 120px;
    background: radial-gradient(circle at 0 0, var(--lime), transparent 70%);
    opacity: .4;
    pointer-events: none;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.form-field.full { grid-column: 1 / -1; }

.form-field label {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    transition: color .3s;
}

.form-field:focus-within label { color: var(--ink); }

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 14px 0 12px;
    border: 0;
    border-bottom: 1.5px solid var(--line);
    background: transparent;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 500;
    outline: none;
    transition: border-color .3s;
    border-radius: 0;
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 16px;
    padding-right: 28px;
}

.form-field textarea { min-height: 100px; resize: vertical; }

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--muted-2);
    font-weight: 400;
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
    border-bottom-color: var(--ink);
}

.form-field input.error,
.form-field textarea.error,
.form-field select.error {
    border-bottom-color: var(--orange);
}

.form-submit { margin-top: 34px; }
.form-submit .btn { width: 100%; justify-content: center; }

.form-note {
    margin-top: 18px;
    font-size: 12.5px;
    color: var(--muted);
    text-align: center;
}

.form-msg {
    display: none;
    margin-top: 24px;
    padding: 20px 24px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

.form-msg.success {
    display: block;
    background: rgba(204,255,0,.25);
    border: 1px solid var(--lime-deep);
    color: var(--ink);
}

.form-msg.error {
    display: block;
    background: rgba(255,95,31,.1);
    border: 1px solid var(--orange);
    color: #a03b0f;
}

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }

/* =========================================================
   FOOTER
========================================================= */
.footer {
    background: var(--ink);
    color: var(--on-dark);
    padding: 100px 0 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    inset: auto -30% -50% -30%;
    height: 80%;
    background: radial-gradient(ellipse at 50% 100%, rgba(204,255,0,.12), transparent 60%);
    pointer-events: none;
}

.footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 60px;
    padding-bottom: 80px;
}

.footer .logo { color: var(--on-dark); }
.footer .logo-mark { background: var(--lime); color: var(--ink); }
.footer .logo-text small { color: var(--on-dark-muted); }
.footer .logo-text strong { color: var(--on-dark); }

.footer-about-text {
    margin: 26px 0;
    font-size: 14.5px;
    line-height: 1.75;
    color: var(--on-dark-muted);
    max-width: 340px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line-dark);
    display: grid; place-items: center;
    color: var(--on-dark-muted);
    transition: .35s var(--ease-out);
}

.footer-social a:hover {
    background: var(--lime);
    color: var(--ink);
    border-color: var(--lime);
    transform: translateY(-4px);
}

.footer-social svg {
    width: 16px; height: 16px;
    stroke: currentColor; fill: none; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
}

.footer h4 {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--on-dark-muted);
    margin-bottom: 28px;
}

.footer-links { display: flex; flex-direction: column; gap: 14px; }

.footer-links a {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 500;
    color: var(--on-dark);
    transition: color .3s, padding-left .4s var(--ease-out);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--lime);
    padding-left: 8px;
}

.footer-contact { display: flex; flex-direction: column; gap: 16px; }

.footer-contact li {
    display: flex;
    gap: 12px;
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--on-dark-muted);
}

.footer-contact svg {
    width: 18px; height: 18px;
    flex: 0 0 18px;
    margin-top: 3px;
    stroke: var(--lime); fill: none; stroke-width: 1.6;
    stroke-linecap: round; stroke-linejoin: round;
}

.footer-contact a:hover { color: var(--lime); }

.footer-bottom {
    position: relative;
    z-index: 1;
    padding: 30px 0;
    border-top: 1px solid var(--line-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--on-dark-muted);
}

.footer-bottom a { transition: color .3s; }
.footer-bottom a:hover { color: var(--lime); }

.footer-mega {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 0 0;
    border-top: 1px solid var(--line-dark);
    overflow: hidden;
}

.footer-mega-text {
    font-family: var(--font-display);
    font-size: clamp(60px, 16vw, 240px);
    font-weight: 700;
    letter-spacing: -.06em;
    line-height: .85;
    color: transparent;
    -webkit-text-stroke: 1px rgba(246,243,237,.15);
    text-stroke: 1px rgba(246,243,237,.15);
    padding-bottom: 20px;
    white-space: nowrap;
}

/* =========================================================
   BACK TO TOP
========================================================= */
.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 900;
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--lime);
    display: grid; place-items: center;
    box-shadow: 0 10px 40px rgba(10,12,16,.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(.9);
    transition: .5s var(--ease-out);
}

.to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.to-top:hover {
    background: var(--lime);
    color: var(--ink);
    transform: translateY(-4px);
}

.to-top svg {
    width: 20px; height: 20px;
    stroke: currentColor; stroke-width: 2; fill: none;
    stroke-linecap: round; stroke-linejoin: round;
}

/* =========================================================
   SCROLL REVEAL
========================================================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

[data-reveal].revealed {
    opacity: 1;
    transform: none;
}

/* Line-by-line text reveal */
.line-reveal {
    overflow: hidden;
    display: block;
}

.line-reveal > span {
    display: block;
    transform: translateY(110%);
    transition: transform 1s var(--ease-out);
    will-change: transform;
}

.line-reveal.revealed > span { transform: translateY(0); }

/* Char reveal (for hero h1) */
.char-reveal {
    display: inline-block;
    overflow: hidden;
}

.char-reveal > span {
    display: inline-block;
    transform: translateY(100%);
    animation: charUp 1s var(--ease-out) forwards;
}

@keyframes charUp {
    to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
    .line-reveal > span { transform: none; }
}

/* =========================================================
   UTILITIES
========================================================= */
.bg-paper { background: var(--paper); }
.bg-paper-2 { background: var(--paper-2); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-lime { background: var(--lime); }

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 32px; }
.mt-4 { margin-top: 48px; }
.mt-5 { margin-top: 64px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 32px; }
.mb-4 { margin-bottom: 48px; }

/* Tilt wrapper */
.tilt { transform-style: preserve-3d; transition: transform .3s var(--ease-out); }

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1100px) {
    .nav, .header-actions .btn { display: none; }
    .burger { display: grid; }
    .section { padding: 90px 0; }
    .section-lg { padding: 110px 0; }

    .hero-grid { grid-template-columns: 1fr; gap: 60px; }
    .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
    .hero-stats { margin-top: 56px; }

    .about-editorial,
    .why-layout,
    .faq-layout,
    .contact-layout { grid-template-columns: 1fr; gap: 60px; }
    .why-sticky { position: static; }

    .section-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }

    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .process-list { grid-template-columns: repeat(2, 1fr); }
    .process-item:nth-child(2) { border-right: 0; }
    .process-item:nth-child(n+3) { border-top: 1px solid var(--line); }

    .stats-band-grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
    .stat-band { padding: 0 20px; }
    .stat-band:nth-child(2) { border-right: 0; }
    .stat-band:nth-child(3),
    .stat-band:nth-child(4) { padding-top: 30px; border-top: 1px solid var(--line); }
    .stat-band:nth-child(3) { padding-left: 0; }
    .stat-band:nth-child(4) { border-right: 0; }

    .cta-band-inner { grid-template-columns: 1fr; gap: 40px; }
    .page-hero-inner { grid-template-columns: 1fr; gap: 40px; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 700px) {
    .wrap, .wrap-tight { width: min(100% - 32px, 1280px); }
    .section { padding: 70px 0; }
    .section-lg { padding: 90px 0; }

    .hero { padding: 130px 0 80px; min-height: auto; }
    .hero h1 { font-size: 46px; letter-spacing: -.03em; }
    .hero-sub { font-size: 15.5px; }
    .hero-badge { font-size: 11px; padding: 6px 14px 6px 6px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-stats { grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 30px; margin-top: 44px; }
    .hero-stat strong { font-size: 26px; }
    .hero-stat span { font-size: 11px; }

    .page-hero { padding: 140px 0 70px; }
    .page-hero h1 { font-size: 42px; }

    .marquee-item { font-size: 26px; gap: 40px; }

    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .process-list { grid-template-columns: 1fr; }
    .process-item { padding: 40px 0; border-right: 0; border-bottom: 1px solid var(--line); }
    .process-item:last-child { border-bottom: 0; }
    .process-item:hover { padding-left: 12px; padding-right: 12px; }

    .stats-band-grid { grid-template-columns: 1fr 1fr; }
    .stat-band strong { font-size: 40px; }

    .service-card { padding: 30px; min-height: 280px; }
    .service-card-head { margin-bottom: 40px; }
    .service-card h3 { font-size: 20px; }

    .feature-row { grid-template-columns: 40px 1fr; gap: 20px; }
    .feature-row-icon { display: none; }
    .feature-row-num { font-size: 13px; }
    .feature-row-body h3 { font-size: 19px; }

    .form-card { padding: 30px 24px; }
    .form-grid { grid-template-columns: 1fr; gap: 18px; }
    .form-field.full { grid-column: auto; }

    .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-bottom: 60px; }
    .footer-bottom { justify-content: center; text-align: center; }
    .footer-mega-text { font-size: 34vw; }

    .to-top { right: 14px; bottom: 14px; width: 46px; height: 46px; }

    .faq-q { font-size: 17px; padding: 24px 0; }
    .faq-sign { flex: 0 0 34px; width: 34px; height: 34px; }
}