:root {
    --bg: #08111f;
    --bg-2: #0d1828;
    --surface: #101d2e;
    --surface-2: #15243a;
    --surface-soft: #1b2b43;
    --text: #f8fbff;
    --text-muted: #b8c6d8;
    --text-dim: #8290a3;
    --line: rgba(172, 202, 238, 0.22);
    --line-strong: rgba(80, 227, 194, 0.48);
    --cyan: #50e3c2;
    --blue: #4ea1ff;
    --orange: #ff9a5a;
    --danger: #ff5c7a;
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
    --radius: 8px;
    --container: 1180px;
    --pad: 24px;
    --nav-h: 72px;
    --font-main: "Noto Sans JP", "Roboto", system-ui, sans-serif;
    --font-display: "Poppins", "Noto Sans JP", system-ui, sans-serif;
    --font-mono: "Inconsolata", ui-monospace, monospace;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--text);
    background: var(--bg);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(80, 227, 194, 0.06) 1px, transparent 1px),
        linear-gradient(180deg, rgba(78, 161, 255, 0.05) 1px, transparent 1px),
        linear-gradient(180deg, #08111f 0%, #0b1422 42%, #0a111d 100%);
    background-size: 96px 96px, 96px 96px, auto;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 100;
    padding: 10px 14px;
    color: #06111d;
    background: var(--cyan);
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(100% - var(--pad) * 2, var(--container));
    margin-inline: auto;
}

.site-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 80;
    height: var(--nav-h);
    border-bottom: 1px solid transparent;
    background: rgba(8, 17, 31, 0.72);
    backdrop-filter: blur(18px);
}

.site-nav.site-nav--scrolled {
    border-color: var(--line);
    background: rgba(8, 17, 31, 0.92);
}

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--cyan);
    font-family: var(--font-display);
    font-weight: 800;
}

.brand-name,
.brand-sub {
    display: block;
}

.brand-name {
    font-weight: 800;
}

.brand-sub {
    color: var(--text-dim);
    font-family: var(--font-mono);
    font-size: 0.78rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.92rem;
}

.nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

.nav-links .nav-cta {
    color: #06111d;
    background: var(--cyan);
}

.nav-links .nav-ai-page {
    gap: 8px;
    padding: 0 18px;
    border: 1px solid var(--cyan);
    border-radius: 999px;
    color: var(--cyan);
    background: rgba(80, 227, 194, 0.06);
}

.nav-links .nav-ai-page:hover {
    color: #06111d;
    background: var(--cyan);
}

.nav-links .nav-ai-page:active,
.nav-links .nav-cta:active,
.nav-ai-mobile:active {
    transform: translateY(1px);
}

.nav-ai-page-short,
.nav-ai-mobile {
    display: none;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    background: transparent;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: currentColor;
}

.hero-sequence {
    --hero-bg-opacity: 1;
    --hero-intro-opacity: 1;
    --hero-intro-y: 0px;
    --hero-works-opacity: 1;
    --hero-works-y: 0px;
    position: relative;
    min-height: auto;
    isolation: isolate;
    background: var(--bg);
}

.hero-sticky {
    position: relative;
    min-height: 100svh;
    overflow: hidden;
    background: var(--bg);
}

.hero-background,
.hero-scrim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100svh;
    pointer-events: none;
}

.hero-background {
    z-index: 0;
    opacity: var(--hero-bg-opacity);
    will-change: opacity;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-scrim {
    z-index: 1;
    opacity: var(--hero-bg-opacity);
    background:
        linear-gradient(90deg, rgba(5, 12, 27, 0.92) 0%, rgba(5, 12, 27, 0.78) 38%, rgba(5, 12, 27, 0.2) 66%, rgba(5, 12, 27, 0.48) 100%),
        linear-gradient(180deg, rgba(4, 10, 23, 0.22) 0%, rgba(4, 10, 23, 0.12) 56%, rgba(4, 10, 23, 0.82) 100%);
    will-change: opacity;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(180deg, black 0%, transparent 86%);
}

.hero-scene {
    position: relative;
    z-index: 3;
    display: grid;
    align-items: center;
    min-height: 100svh;
    padding: calc(var(--nav-h) + 44px) 0 48px;
}

.hero-intro-inner {
    display: grid;
    grid-template-columns: minmax(0, 720px) minmax(160px, 1fr);
    align-items: center;
}

.hero-copy {
    max-width: 720px;
}

.eyebrow {
    margin: 0 0 16px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
}

.hero-title {
    max-width: 700px;
    margin: 0 0 24px;
    font-family: var(--font-display);
    font-size: 3.55rem;
    line-height: 1.17;
    letter-spacing: 0;
    text-shadow: 0 4px 28px rgba(2, 8, 20, 0.72);
}

.title-keep {
    display: inline-block;
    white-space: nowrap;
}

.hero-lead {
    max-width: 680px;
    margin: 0 0 32px;
    color: #dce8f7;
    font-size: 1.08rem;
    text-shadow: 0 2px 18px rgba(2, 8, 20, 0.72);
}

.hero-actions,
.works-actions,
.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    min-width: 156px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-weight: 800;
    text-align: center;
}

.btn-primary {
    color: #06111d;
    background: var(--cyan);
    box-shadow: 0 16px 40px rgba(80, 227, 194, 0.28);
}

.btn-primary:hover {
    background: #7ff5dc;
}

.btn-secondary {
    color: var(--text);
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    border-color: var(--line-strong);
    background: rgba(80, 227, 194, 0.1);
}

.btn-text {
    min-width: auto;
    color: var(--cyan);
    background: transparent;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}

.hero-proof li {
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: #dce8f7;
    background: rgba(8, 17, 31, 0.66);
    backdrop-filter: blur(8px);
    font-size: 0.88rem;
}

.work-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--surface-soft);
}

.work-thumb picture {
    display: block;
    width: 100%;
    height: 100%;
}

.work-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-thumb--short img {
    object-position: center top;
}

.work-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 36%, rgba(0, 0, 0, 0.52) 100%);
}

/* === Works Wall === */
.works-wall {
    position: relative;
    z-index: 2;
    overflow: hidden;
    display: grid;
    align-items: center;
    min-height: 70svh;
    padding: 48px 0;
    background: var(--bg);
}

.works-wall__mosaic {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    grid-auto-rows: 96px;
    grid-auto-flow: dense;
    gap: 4px;
}

.works-wall__tile {
    overflow: hidden;
    background: var(--surface-soft);
}

.works-wall__tile--wide {
    grid-column: span 2;
}

.works-wall__tile--short {
    grid-row: span 2;
}

.works-wall__tile picture,
.works-wall__tile img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.works-wall__scrim {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(120% 92% at 50% 50%, rgba(4, 10, 23, 0.5) 0%, rgba(4, 10, 23, 0.8) 68%, rgba(4, 10, 23, 0.94) 100%);
}

.works-wall__inner {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.works-wall__panel {
    width: min(100%, 720px);
    padding: 48px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(6, 14, 26, 0.72);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
}

.works-wall__panel h2 {
    margin: 0 0 28px;
    font-size: 2.4rem;
    line-height: 1.3;
}

.works-wall__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.works-wall__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.works-wall__num {
    font-family: var(--font-display);
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    color: var(--cyan);
}

.works-wall__cap {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--text-dim);
    letter-spacing: 0.04em;
}

.section {
    padding: 96px 0;
}

.section-head {
    max-width: 740px;
    margin-bottom: 36px;
}

.section-head.compact {
    text-align: center;
    margin-inline: auto;
}

.section-head.split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.55fr);
    gap: 32px;
    align-items: end;
}

.section-head h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 2.7rem;
    line-height: 1.25;
}

.section-lead {
    margin: 0;
    color: var(--text-muted);
}

.info-card,
.service-card,
.price-card,
.profile-panel,
.contact-panel,
.faq-item {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025));
}

.info-card h3,
.service-card h3,
.price-card h3,
.timeline-item h3 {
    margin: 0 0 10px;
    font-size: 1.18rem;
    line-height: 1.45;
}

.info-card p,
.service-card p,
.price-card p,
.timeline-item p,
.faq-item p,
.profile-panel p,
.contact-panel p {
    color: var(--text-muted);
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.filter-button {
    min-height: 44px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
}

.filter-button.is-active,
.filter-button:hover {
    color: #06111d;
    border-color: var(--cyan);
    background: var(--cyan);
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    align-items: start;
}

.work-card {
    display: block;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    transition: transform 180ms ease, border-color 180ms ease;
}

.work-card:hover {
    transform: translateY(-4px);
    border-color: var(--line-strong);
}

.work-thumb--short {
    aspect-ratio: 9 / 16;
}

.work-play {
    position: absolute;
    inset: auto 10px 10px auto;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 999px;
    color: #06111d;
    background: var(--cyan);
    font-weight: 900;
}

.work-body {
    padding: 14px;
}

.work-body h3 {
    margin: 0 0 8px;
    font-size: 0.98rem;
    line-height: 1.5;
}

.work-category {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--cyan);
    font-size: 0.78rem;
    font-weight: 700;
}

.works-actions {
    margin-top: 24px;
    align-items: center;
}

.card-grid.three,
.card-grid.four,
.service-grid,
.pricing-grid {
    display: grid;
    gap: 16px;
}

.card-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid.four {
    grid-template-columns: repeat(4, 1fr);
}

.info-card,
.service-card {
    padding: 24px;
    min-height: 230px;
}

.card-index,
.service-tag,
.price-label {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 18px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 700;
}

.service-grid,
.pricing-grid {
    grid-template-columns: repeat(3, 1fr);
}

.service-card {
    background:
        linear-gradient(135deg, rgba(80, 227, 194, 0.12), transparent 45%),
        rgba(255, 255, 255, 0.035);
}

.process-section {
    background: linear-gradient(180deg, rgba(80, 227, 194, 0.05), transparent);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.timeline-item {
    position: relative;
    min-height: 240px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.04);
}

.timeline-item span {
    display: block;
    margin-bottom: 32px;
    color: var(--orange);
    font-family: var(--font-mono);
    font-weight: 700;
}

.price-card {
    display: flex;
    flex-direction: column;
    padding: 24px;
    min-height: 430px;
}

.price-card.featured {
    border-color: var(--line-strong);
    background:
        linear-gradient(180deg, rgba(80, 227, 194, 0.16), rgba(255, 255, 255, 0.035));
}

.price {
    margin: 0 0 14px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.05;
}

.price span {
    color: var(--text-muted);
    font-family: var(--font-main);
    font-size: 0.95rem;
}

.price-card ul {
    margin: 10px 0 20px;
    padding: 0;
    list-style: none;
}

.price-card li {
    position: relative;
    padding-left: 18px;
    color: var(--text-muted);
}

.price-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--cyan);
}

.price-card a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: auto;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    color: var(--cyan);
    font-weight: 800;
}

.price-card a:hover {
    color: #06111d;
    background: var(--cyan);
}

.pricing-note {
    color: var(--text-muted);
    margin: 20px 0 24px;
}

.pricing-banner {
    margin: 0 0 12px;
    padding: 14px 18px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(80, 227, 194, 0.14), rgba(255, 255, 255, 0.03));
    color: var(--text);
}

.pricing-banner strong {
    margin-right: 12px;
    color: var(--cyan);
    font-family: var(--font-display);
    font-weight: 800;
}

.pricing-common {
    margin: 0 0 22px;
    color: var(--text-muted);
}

.price-badge {
    align-self: flex-start;
    margin: 0 0 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--cyan);
    color: #06111d;
    font-size: 0.8rem;
    font-weight: 800;
}

.price-card--wide {
    grid-column: 1 / -1;
    min-height: 0;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.price-card--wide h3 {
    margin: 0 0 6px;
}

.price-card--wide p:last-child {
    margin-bottom: 0;
}

.price-card--wide a {
    margin-top: 0;
    padding: 0 22px;
}

.comparison-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.035);
}

.comparison-table {
    width: 100%;
    min-width: 860px;
    border-collapse: collapse;
}

.comparison-table caption {
    padding: 14px;
    text-align: left;
    color: var(--text-muted);
}

.comparison-table th,
.comparison-table td {
    padding: 13px 14px;
    border-top: 1px solid var(--line);
    text-align: center;
    white-space: nowrap;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
}

.comparison-table thead th {
    color: var(--cyan);
    background: rgba(80, 227, 194, 0.08);
}

.profile-panel,
.contact-panel {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    gap: 28px;
    align-items: start;
    padding: 32px;
}

.profile-panel h2,
.contact-panel h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1.3;
}

.profile-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 0;
}

.profile-list div {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.profile-list dt {
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.profile-list dd {
    margin: 4px 0 0;
    font-weight: 800;
}

.faq-list {
    display: grid;
    gap: 10px;
}

.faq-item {
    padding: 0;
}

.faq-item summary {
    min-height: 56px;
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 800;
}

.faq-item p {
    margin: 0;
    padding: 0 20px 20px;
}

.contact-section {
    padding-bottom: 120px;
}

.contact-panel {
    background:
        linear-gradient(135deg, rgba(80, 227, 194, 0.16), transparent 42%),
        linear-gradient(225deg, rgba(255, 154, 90, 0.14), transparent 42%),
        var(--surface);
}

.contact-actions {
    justify-content: flex-end;
}

.footer {
    padding: 40px 0;
    color: var(--text-muted);
    border-top: 1px solid var(--line);
    background: #060c16;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    margin: 0 0 4px;
    color: var(--text);
    font-weight: 900;
}

.footer p {
    margin: 0;
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.footer a:hover {
    color: var(--cyan);
}

.mobile-sticky-cta {
    display: none;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 520ms ease, transform 520ms ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 90ms;
}

.delay-2 {
    transition-delay: 160ms;
}

.delay-3 {
    transition-delay: 230ms;
}

@media (max-width: 1060px) {
    .nav-links a {
        padding-inline: 10px;
    }

    .nav-links .nav-ai-page {
        padding-inline: 14px;
    }

    .nav-ai-page-full {
        display: none;
    }

    .nav-ai-page-short {
        display: inline;
    }

    .hero-intro-inner,
    .section-head.split,
    .profile-panel,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 3rem;
    }

    .work-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-grid,
    .pricing-grid,
    .card-grid.four {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-actions {
        justify-content: flex-start;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    :root {
        --pad: 18px;
        --nav-h: 64px;
    }

    .nav-toggle {
        display: block;
        flex: 0 0 44px;
    }

    .nav-inner {
        gap: 8px;
    }

    .brand-sub {
        display: none;
    }

    .nav-ai-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 44px;
        margin-left: auto;
        padding: 0 13px;
        border: 1px solid var(--cyan);
        border-radius: 999px;
        color: var(--cyan);
        font-weight: 800;
        font-size: 0.86rem;
        background: rgba(80, 227, 194, 0.06);
    }

    .nav-ai-mobile:hover {
        color: #06111d;
        background: var(--cyan);
    }

    .nav-links {
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        display: grid;
        gap: 0;
        padding: 10px var(--pad) 16px;
        border-bottom: 1px solid var(--line);
        background: rgba(8, 17, 31, 0.98);
        transform: translateY(-130%);
        visibility: hidden;
        transition: transform 180ms ease, visibility 180ms ease;
    }

    body.nav-open .nav-links {
        transform: translateY(0);
        visibility: visible;
    }

    .nav-links a {
        justify-content: flex-start;
        width: 100%;
    }

    .nav-links .nav-ai-page {
        justify-content: space-between;
        margin: 6px 0;
        padding-inline: 16px;
    }

    .nav-ai-page-full {
        display: inline;
    }

    .nav-ai-page-short {
        display: none;
    }

    .hero-scene {
        padding: calc(var(--nav-h) + 18px) 0 18px;
    }

    .hero-background img {
        object-position: 70% center;
    }

    .hero-scrim {
        background:
            linear-gradient(180deg, rgba(4, 10, 23, 0.66) 0%, rgba(4, 10, 23, 0.44) 42%, rgba(4, 10, 23, 0.88) 100%),
            linear-gradient(90deg, rgba(4, 10, 23, 0.78) 0%, rgba(4, 10, 23, 0.46) 58%, rgba(4, 10, 23, 0.58) 100%);
    }

    .hero-title {
        margin-bottom: 16px;
        font-size: clamp(1.9rem, 8.6vw, 2.2rem);
        line-height: 1.16;
    }

    .title-keep {
        white-space: normal;
    }

    .hero-lead {
        max-width: 100%;
        margin-bottom: 18px;
        font-size: 0.94rem;
        line-height: 1.7;
    }

    .hero-actions {
        gap: 8px;
    }

    .hero-actions .btn {
        min-height: 44px;
    }

    .hero-proof {
        gap: 8px;
        margin-top: 16px;
    }

    .hero-proof li {
        padding: 6px 9px;
        font-size: 0.78rem;
    }

    .section {
        padding: 72px 0;
    }

    .section-head h2 {
        font-size: 2rem;
    }

    .card-grid.three,
    .card-grid.four,
    .service-grid,
    .pricing-grid,
    .timeline,
    .profile-list {
        grid-template-columns: 1fr;
    }

    .work-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .work-grid .work-body h3 {
        font-size: 0.82rem;
    }

    .timeline-item {
        min-height: auto;
    }

    .price-card {
        min-height: auto;
    }

    .btn {
        width: 100%;
    }

    .works-actions,
    .hero-actions,
    .contact-actions {
        width: 100%;
    }

    .mobile-sticky-cta {
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 70;
        display: block;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
    }

    .mobile-sticky-cta--hidden {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(12px);
    }

    .mobile-sticky-cta a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 52px;
        border-radius: var(--radius);
        color: #06111d;
        background: var(--cyan);
        font-weight: 900;
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.42);
    }

    .footer {
        padding-bottom: 88px;
    }
}

@media (max-width: 760px) and (max-height: 720px) {
    .hero-scene {
        padding-top: calc(var(--nav-h) + 10px);
        padding-bottom: 10px;
    }

    .hero-copy .eyebrow {
        margin-bottom: 8px;
        font-size: 0.78rem;
    }

    .hero-title {
        margin-bottom: 10px;
        font-size: clamp(1.72rem, 7.8vw, 1.98rem);
    }

    .hero-lead {
        margin-bottom: 12px;
        font-size: 0.82rem;
        line-height: 1.58;
    }

    .hero-actions .btn {
        min-height: 40px;
    }

    .hero-proof {
        gap: 6px;
        margin-top: 12px;
    }

    .hero-proof li {
        padding: 4px 7px;
        font-size: 0.68rem;
    }
}

@media (max-width: 760px) {
    .works-wall {
        min-height: 62svh;
        padding: 40px 0;
    }

    .works-wall__mosaic {
        grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
        grid-auto-rows: 70px;
        gap: 3px;
    }

    .works-wall__panel {
        padding: 28px 20px;
    }

    .works-wall__panel h2 {
        font-size: 1.6rem;
    }

    .works-wall__stats {
        gap: 8px;
    }

    .works-wall__num {
        font-size: 1.9rem;
    }

    .works-wall__cap {
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    .scroll-reveal {
        opacity: 1;
        transform: none;
    }

    .hero-sequence {
        min-height: auto;
    }

    .hero-sequence .hero-sticky {
        position: relative;
        top: auto;
        height: auto;
        min-height: 100svh;
    }

    .hero-sequence .hero-scene {
        position: relative;
        inset: auto;
        min-height: 100svh;
        opacity: 1;
        transform: none;
    }
}
