/*
Theme Name: MDI Consults
Theme URI: https://fzmobile.store
Author: Fzmobile Themes For Music Consultant
Author URI: https://fzmobile.store
Description: Fuel-inspired editorial theme for MDI Consults — produced by Fzmobile Technologies.
Version: 1.8.4
Text Domain: mdi-consults
*/

:root {
    --bg: #ffffff;
    --bg-dark: #0c0c0c;
    --bg-card: #ffffff;
    --ink: #111111;
    --ink-soft: #5a5a5a;
    --muted: #8a8a8a;
    --line: rgba(17, 17, 17, 0.12);
    --gold: #d6ac19;
    --gold-dark: #b89212;
    --container: 1240px;
    --pad: clamp(20px, 4vw, 48px);
    --radius: 2px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --display: "Syne", "Arial Black", sans-serif;
    --body: "DM Sans", system-ui, sans-serif;
    --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.02; letter-spacing: -0.03em; margin: 0 0 0.5em; font-weight: 700; }
p { margin: 0 0 1rem; }
.container { width: min(var(--container), 100% - var(--pad) * 2); margin-inline: auto; }

.meta {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}
.meta span { color: var(--ink); }

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: transparent;
    border-bottom: 1px solid transparent;
    transition: transform 0.45s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease), color 0.35s var(--ease);
}
.site-header.is-scrolled.is-over-content,
body:not(.home) .site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    border-bottom-color: var(--line);
}
.site-header.is-hidden {
    transform: translateY(-100%);
}
body.admin-bar .site-header {
    top: 32px;
}
@media (max-width: 782px) {
    body.admin-bar .site-header { top: 46px; }
}

/* Fuel single-row header */
.header-bar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1440px, 100%);
    margin-inline: auto;
    min-height: 72px;
    height: 72px;
    padding: 0 clamp(20px, 4vw, 48px);
}

.brand {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    color: #fff;
    line-height: 1;
}
.brand-text {
    font-family: var(--display);
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.04em;
}
body:not(.home) .brand,
.site-header.is-over-content .brand {
    color: var(--ink);
}

.nav {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}
.nav__list {
    display: flex;
    align-items: center;
    gap: clamp(28px, 4vw, 56px);
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__item { margin: 0; padding: 0; }
.nav__link {
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.2s var(--ease);
    white-space: nowrap;
}
body:not(.home) .nav__link,
.site-header.is-over-content .nav__link {
    color: var(--ink-soft);
}
.nav__link:hover,
.nav__link.is-active {
    color: #fff;
}
body:not(.home) .nav__link:hover,
body:not(.home) .nav__link.is-active,
.site-header.is-over-content .nav__link:hover,
.site-header.is-over-content .nav__link.is-active {
    color: var(--ink);
}

.header-chip {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 8px 12px 8px 8px;
    background: #fff;
    color: var(--ink);
    border-radius: 8px;
    min-width: 210px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.header-chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
}
.header-chip__avatar {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
    object-position: center;
}
.header-chip__body {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}
.header-chip__title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
}
.header-chip__name,
.header-chip__role {
    font-size: 0.72rem;
    line-height: 1.25;
    color: var(--ink-soft);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-chip__mark {
    width: 14px;
    height: 14px;
    align-self: start;
    background:
        linear-gradient(var(--ink), var(--ink)) 0 0 / 6px 6px no-repeat,
        linear-gradient(var(--ink), var(--ink)) 8px 0 / 6px 6px no-repeat,
        linear-gradient(var(--ink), var(--ink)) 0 8px / 6px 6px no-repeat,
        linear-gradient(var(--ink), var(--ink)) 8px 8px / 6px 6px no-repeat;
    opacity: 0.85;
}
.menu-toggle {
    display: none;
}
body.home .site-header {
    color: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    width: fit-content;
    padding: 0 0 12px;
    border: none;
    border-bottom: 1px solid currentColor;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-family: var(--body);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.2;
    transition: gap 0.3s var(--ease), opacity 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
    cursor: pointer;
}
.btn::after {
    content: "↗";
    font-size: 0.85rem;
    line-height: 1;
}
.btn:hover {
    background: transparent;
    color: var(--ink);
    opacity: 0.55;
    gap: 16px;
}
.btn-outline,
.btn-gold {
    background: transparent;
    border: none;
    border-bottom: 1px solid currentColor;
    color: var(--ink);
}
.btn-outline:hover,
.btn-gold:hover {
    background: transparent;
    color: var(--ink);
    opacity: 0.55;
}
.section-dark .btn,
.section-dark .btn-outline,
.section-dark .btn-gold,
.price-card.featured .btn {
    color: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(255, 255, 255, 0.55);
}
.section-dark .btn:hover,
.section-dark .btn-outline:hover,
.section-dark .btn-gold:hover,
.price-card.featured .btn:hover {
    color: #fff;
    background: transparent;
    opacity: 0.55;
}

/* ── Fuel pinned hero: next section climbs over ── */
.hero-pin-system {
    position: relative;
}

.hero-stage {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100svh;
    z-index: 1;
    overflow: hidden;
    color: #fff;
    transition: visibility 0s linear 0.2s;
}
.hero-stage.is-released {
    visibility: hidden;
    pointer-events: none;
}

.hero-scroll-track {
    height: 100vh;
    height: 100svh;
    pointer-events: none;
}

.hero-stage__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    cursor: crosshair;
}
.hero-ripple-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}
.hero-stage__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(6, 4, 8, 0.28) 0%, rgba(18, 8, 6, 0.22) 38%, rgba(4, 4, 8, 0.55) 100%),
        radial-gradient(ellipse 75% 55% at 62% 42%, rgba(255, 90, 40, 0.28), transparent 62%),
        radial-gradient(ellipse 45% 38% at 18% 72%, rgba(214, 172, 25, 0.16), transparent 58%),
        radial-gradient(ellipse 40% 35% at 82% 68%, rgba(40, 140, 200, 0.22), transparent 55%);
}
.hero-stage__grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0.1;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero-stage__body {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 100px 0 clamp(20px, 4vw, 36px);
    pointer-events: none;
}
.hero-stage__body a,
.hero-stage__body button {
    pointer-events: auto;
}

.hero-stage__intro-wrap {
    width: min(var(--container), 100% - var(--pad) * 2);
    margin-inline: auto;
    padding-inline: var(--pad);
}
.hero-stage__intro {
    max-width: 36ch;
    padding-top: clamp(12px, 4vh, 40px);
}
.hero-intro {
    font-size: clamp(1.02rem, 1.4vw, 1.2rem);
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 32px;
}

.hero-stage__anchors {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: clamp(56px, 14vw, 160px);
    font-family: var(--mono);
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.42);
    pointer-events: none;
}

.hero-stage__footer {
    position: relative;
    width: 100%;
    min-height: clamp(140px, 24vh, 240px);
    padding-inline: var(--pad);
}
.hero-stage__services {
    position: absolute;
    left: var(--pad);
    bottom: clamp(20px, 4vw, 36px);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}
.hero-stage__services span:first-child {
    color: rgba(255, 255, 255, 0.92);
}

.hero-stage__wordmark {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.04em;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    line-height: 0.78;
    pointer-events: none;
    overflow: hidden;
}
.hero-word {
    font-family: var(--display);
    font-size: clamp(5.5rem, 18vw, 15rem);
    font-weight: 800;
    letter-spacing: -0.045em;
    color: #fff;
    white-space: nowrap;
}

.hero-stage__meta {
    position: absolute;
    right: var(--pad);
    bottom: clamp(20px, 4vw, 36px);
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--mono);
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
}
.hero-ruler {
    width: 1px;
    height: 28px;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5) 20%, rgba(255,255,255,0.5) 80%, transparent);
    position: relative;
}
.hero-ruler::before,
.hero-ruler::after {
    content: "";
    position: absolute;
    left: -3px;
    width: 7px;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}
.hero-ruler::before { top: 4px; }
.hero-ruler::after { bottom: 4px; }

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    padding: 0 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.55);
    font-family: var(--body);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    transition: gap 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.hero-cta:hover { gap: 18px; color: #fff; border-color: #fff; }
.hero-cta--light { color: rgba(255, 255, 255, 0.92); }
.hero-cta__arrow {
    font-size: 0.85rem;
    opacity: 0.9;
}
.hero-cta--dark {
    color: var(--ink);
    margin-top: 32px;
    border-bottom-color: rgba(17, 17, 17, 0.55);
    transition: gap 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}
.hero-cta--dark:hover {
    color: var(--ink);
    border-bottom-color: var(--ink);
    opacity: 0.55;
}

/* Hero load stagger */
.hero-stagger {
    opacity: 0;
    transform: translateY(28px);
}
.hero-stagger--play {
    animation: hero-rise 0.95s var(--ease) forwards;
}
@keyframes hero-rise {
    to { opacity: 1; transform: none; }
}

/* About section climbs over fixed hero */
.about-bridge.climb-over {
    position: relative;
    z-index: 10;
    background: var(--bg);
    min-height: 100vh;
    min-height: 100svh;
    box-shadow: 0 -32px 80px rgba(0, 0, 0, 0.18);
}

/* Marquee */
.marquee {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
    display: flex;
    gap: 24px;
    width: max-content;
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    animation: marquee-scroll 28s linear infinite;
    white-space: nowrap;
}
.marquee--large .marquee__track {
    font-family: var(--display);
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -0.03em;
    text-transform: none;
    color: var(--ink);
    animation-duration: 22s;
}
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
.marquee-section {
    padding: clamp(32px, 6vw, 64px) 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

/* ── About bridge (hero → next section) ── */
.about-bridge {
    padding: clamp(64px, 10vw, 120px) 0 clamp(48px, 8vw, 80px);
}
.about-bridge__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: start;
}
.about-bridge__meta {
    position: sticky;
    top: 100px;
}
.about-visual-wrap {
    position: relative;
}
.about-visual {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    will-change: transform;
}
.about-visual img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transform: scale(1.02);
}
.about-copy {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.scrub-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 24px 0 4px;
}
.scrub-label:first-child { margin-top: 0; }
.scrub-text {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.55;
    color: var(--ink-soft);
    opacity: 0.28;
    transform: translate3d(0, 16px, 0);
    will-change: opacity, transform;
    margin: 0;
    transition: color 0.25s var(--ease);
}
.scrub-text.is-active {
    color: var(--ink);
}

.results-band {
    margin-top: clamp(48px, 8vw, 80px);
    padding-top: clamp(32px, 5vw, 48px);
    border-top: 1px solid var(--line);
}
.results-band__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(16px, 3vw, 32px);
    margin-top: 24px;
}
.results-label {
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0 0 8px;
}
.results-num {
    font-family: var(--display);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1;
    margin: 0;
    color: var(--ink);
}

#primary { padding-top: 72px; }
body.home #primary { padding-top: 0; }

.hero {
    padding: clamp(48px, 10vw, 120px) 0 clamp(40px, 8vw, 80px);
    border-bottom: 1px solid var(--line);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: clamp(24px, 5vw, 64px);
    align-items: end;
}
.hero h1 {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    max-width: 12ch;
}
.hero-lead {
    font-size: clamp(1rem, 1.4vw, 1.2rem);
    color: var(--ink-soft);
    max-width: 42ch;
}
.hero-side {
    border-left: 1px solid var(--line);
    padding-left: clamp(16px, 3vw, 32px);
}
.ticker {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
}

.section { padding: clamp(56px, 9vw, 110px) 0; }
.section-dark {
    background: var(--bg-dark);
    color: #f5f5f5;
}
.section-dark .meta { color: #777; }
.section-dark .meta span { color: #ddd; }
.section-dark p { color: #b5b5b5; }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(32px, 5vw, 56px);
    flex-wrap: wrap;
}
.section-head h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    max-width: 14ch;
}

.about-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
}
.about-split p { font-size: 1.05rem; color: var(--ink-soft); }

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--line);
    border: 1px solid var(--line);
    margin-top: 48px;
}
.stat {
    background: var(--bg);
    padding: 24px 20px;
}
.stat strong {
    display: block;
    font-family: var(--display);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1;
    margin-bottom: 8px;
}
.stat span {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.work-list { border-top: 1px solid var(--line); }
.work-item {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    transition: padding-left 0.3s var(--ease), opacity 0.3s var(--ease);
    cursor: pointer;
}
.work-item:hover {
    padding-left: 10px;
    opacity: 0.45;
}
.work-item .num {
    font-family: var(--mono);
    font-size: 12px;
    color: var(--muted);
}
.work-item h3 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin: 0;
}
.work-item .tag {
    font-family: var(--mono);
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
}

/* Fixed square preview — right side of viewport */
.work-preview {
    position: fixed;
    top: 50%;
    right: clamp(24px, 6vw, 80px);
    left: auto;
    width: min(300px, 28vw);
    height: min(300px, 28vw);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) scale(0.92);
    border-radius: 6px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.35s var(--ease);
}
.work-preview.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) scale(1);
}
.work-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 900px) {
    .work-preview { display: none !important; }
    .work-item:hover { opacity: 1; padding-left: 0; }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 48px);
    background: transparent;
    border: none;
}
.service-card {
    background: transparent;
    padding: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}
.service-card .num {
    font-family: var(--display);
    font-size: 3rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 16px;
}
.service-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.service-card .sub {
    font-family: var(--mono);
    font-size: 11px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}
.service-card p { color: var(--ink-soft); font-size: 0.95rem; flex: 1; }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.price-card {
    border: 1px solid var(--line);
    background: var(--bg-card);
    padding: 28px 24px;
}
.price-card.featured {
    border-color: var(--ink);
    background: var(--ink);
    color: #f2f2f2;
}
.price-card.featured p, .price-card.featured .meta { color: #aaa; }
.price-card h3 { font-size: 1.2rem; }
.price-card .amount {
    font-family: var(--display);
    font-size: 2.4rem;
    margin: 16px 0;
}
.price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    font-size: 0.9rem;
    color: var(--ink-soft);
}
.price-card.featured ul { color: #bbb; }
.price-card li {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
}
.price-card.featured li { border-color: rgba(255,255,255,0.12); }

.big-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(24px, 4vw, 48px);
}
.big-stat h3 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--gold);
}
.big-stat p { max-width: 36ch; color: var(--ink-soft); }

.faq-list { border-top: 1px solid var(--line); }
.faq-item {
    border-bottom: 1px solid var(--line);
    padding: 20px 0;
}
.faq-item summary {
    cursor: pointer;
    font-family: var(--display);
    font-size: 1.15rem;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p {
    margin-top: 12px;
    color: var(--ink-soft);
    max-width: 70ch;
}

.site-footer {
    background: var(--bg-dark);
    color: #ddd;
    padding: clamp(48px, 8vw, 80px) 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}
.footer-grid a { color: #aaa; font-size: 0.95rem; }
.footer-grid a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-family: var(--mono);
    font-size: 11px;
    color: #666;
}
.theme-credit {
    margin: 20px 0 0;
    font-family: var(--mono);
    font-size: 11px;
    color: #555;
    letter-spacing: 0.02em;
}
.theme-credit a {
    color: #888;
    border-bottom: 1px solid rgba(214, 172, 25, 0.45);
    padding-bottom: 2px;
    transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.theme-credit a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.page-hero {
    padding: clamp(120px, 14vw, 140px) 0 48px;
    border-bottom: 1px solid var(--line);
}
.page-hero h1 {
    font-size: clamp(3.2rem, 8vw, 6rem);
    max-width: 12ch;
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 0.95;
    margin: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.contact-info p { color: var(--ink-soft); }
.contact-info a { color: var(--gold-dark); text-decoration: underline; }

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .hero-stage {
        position: relative;
        height: auto;
        min-height: 100vh;
    }
    .hero-scroll-track { display: none; }
    .hero-stagger,
    .reveal,
    .scrub-text {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
    .marquee__track { animation: none; }
}

@media (max-width: 960px) {
    .header-bar {
        height: auto;
        min-height: 64px;
        padding-block: 12px;
        flex-wrap: wrap;
    }
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        transform: none;
        background: rgba(8, 8, 8, 0.97);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding: 8px clamp(20px, 4vw, 48px) 20px;
    }
    .nav.is-open { display: block; }
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }
    .nav__link {
        display: block;
        width: 100%;
        padding: 16px 0;
        font-size: 1.05rem;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.92);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .nav__link:hover,
    .nav__link[aria-current="page"] {
        color: var(--gold);
    }
    .header-chip { display: none; }
    .menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-left: auto;
        min-height: 44px;
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 0;
        color: #fff;
        padding: 0 0 10px;
        font-family: var(--body);
        font-size: 0.95rem;
        font-weight: 400;
        letter-spacing: 0;
        cursor: pointer;
        line-height: 1.2;
        transition: gap 0.3s var(--ease), opacity 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
    }
    .menu-toggle::after {
        content: "↗";
        font-size: 0.85rem;
        line-height: 1;
    }
    .menu-toggle:hover,
    .menu-toggle[aria-expanded="true"] {
        gap: 16px;
        opacity: 0.7;
    }
    .site-header.is-over-content .menu-toggle,
    body:not(.home) .menu-toggle {
        background: transparent;
        border: none;
        border-bottom: 1px solid rgba(17, 17, 17, 0.55);
        color: var(--ink);
    }
    .site-header.is-over-content .menu-toggle:hover,
    .site-header.is-over-content .menu-toggle[aria-expanded="true"],
    body:not(.home) .menu-toggle:hover,
    body:not(.home) .menu-toggle[aria-expanded="true"] {
        opacity: 0.55;
        border-bottom-color: var(--ink);
    }
    .page-hero {
        padding-top: calc(88px + env(safe-area-inset-top, 0px));
        padding-bottom: 40px;
    }
    body.admin-bar .page-hero {
        padding-top: calc(134px + env(safe-area-inset-top, 0px));
    }
    .page-hero h1 {
        margin-top: 8px;
    }
    .hero-stage__footer {
        min-height: 120px;
    }
    .hero-stage__wordmark {
        bottom: 0.02em;
    }
    .hero-word {
        font-size: clamp(4rem, 22vw, 7rem);
    }
    .hero-stage__services,
    .hero-stage__meta {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
    }
    .hero-stage__footer {
        display: grid;
        gap: 12px;
        padding-bottom: 8px;
    }
    .hero-stage__anchors { display: none; }
    .about-bridge__grid {
        grid-template-columns: 1fr;
    }
    .about-bridge__meta,
    .about-copy {
        position: static;
    }
    .results-band__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-grid, .about-split, .services-grid, .pricing-grid, .big-stats, .footer-grid, .contact-grid {
        grid-template-columns: 1fr;
    }
    .hero-side { border-left: none; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .work-item { grid-template-columns: 48px 1fr; }
    .work-item .tag { grid-column: 2; }
}
