:root {
    color-scheme: light;
    --paper: #efefeb;
    --paper-2: #e4e4df;
    --silver: #c7c9c7;
    --silver-2: #a9aca8;
    --ink: #1c1d1d;
    --muted: #72746f;
    --faint: rgba(28, 29, 29, 0.08);
    --line: rgba(28, 29, 29, 0.12);
    --orange: #f26a21;
    --orange-2: #ff9d35;
    --cream: #fffaf0;
    --max: 1180px;
    --pad: clamp(18px, 3vw, 42px);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--paper);
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at 20% -10%, rgba(255, 255, 255, 0.9), transparent 32rem),
        radial-gradient(circle at 78% 12%, rgba(242, 106, 33, 0.16), transparent 28rem),
        linear-gradient(180deg, #f5f5f1 0%, var(--paper) 45%, #e7e7e2 100%);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.45;
    overflow-x: hidden;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(90deg, rgba(28, 29, 29, 0.06) 1px, transparent 1px),
        linear-gradient(rgba(28, 29, 29, 0.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(180deg, black, transparent 78%);
    pointer-events: none;
}

body::after {
    position: fixed;
    inset: 0;
    z-index: -1;
    content: "";
    opacity: 0.16;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.4'/%3E%3C/svg%3E");
}

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

img,
svg {
    display: block;
    max-width: 100%;
}

.page-frame {
    position: fixed;
    inset: 0;
    z-index: 30;
    pointer-events: none;
    border: 1px solid rgba(28, 29, 29, 0.11);
}

.nav {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px var(--pad);
    color: rgba(28, 29, 29, 0.84);
    mix-blend-mode: multiply;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0;
}

.brand img {
    width: 46px;
    height: 30px;
    object-fit: contain;
}

.nav a:last-child {
    color: var(--muted);
    font-size: 15px;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.section {
    width: min(var(--max), calc(100% - var(--pad) - var(--pad)));
    margin: 0 auto;
}

.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    grid-template-rows: 1fr auto;
    padding: 120px 0 0;
}

.hero-copy {
    align-self: center;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(28px, 6vw, 72px);
    align-items: end;
    padding-bottom: 60px;
}

.eyebrow {
    margin: 0 0 20px;
    color: var(--orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    margin-bottom: 26px;
    font-size: 16px;
    line-height: 1.05;
}

h1,
h2,
h3,
p {
    margin: 0;
}

h1 {
    max-width: 980px;
    font-size: 132px;
    line-height: 0.92;
    letter-spacing: 0;
    font-weight: 800;
}

.hero h1 > span {
    display: block;
}

.soft {
    color: rgba(28, 29, 29, 0.46);
}

.accent {
    color: var(--orange);
}

.hero-note {
    max-width: 310px;
    color: var(--muted);
    font-size: 17px;
}

.hero-note a {
    display: flex;
    width: max-content;
    margin-top: 24px;
    color: var(--ink);
    border-bottom: 1px solid currentColor;
    font-weight: 700;
}

body.modal-open {
    overflow: hidden;
}

.contact-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: var(--pad);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.36s var(--ease);
}

.contact-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.contact-backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    background:
        radial-gradient(circle at 70% 18%, rgba(242, 106, 33, 0.16), transparent 28rem),
        rgba(239, 239, 235, 0.78);
    backdrop-filter: blur(18px);
    cursor: pointer;
}

.contact-panel {
    position: relative;
    width: min(920px, 100%);
    height: min(760px, calc(100svh - var(--pad) - var(--pad)));
    display: grid;
    grid-template-rows: auto 1fr;
    overflow: hidden;
    border: 1px solid rgba(28, 29, 29, 0.14);
    border-radius: 8px;
    background: rgba(246, 246, 242, 0.96);
    box-shadow: 0 38px 90px rgba(28, 29, 29, 0.18);
    transform: translate3d(0, 16px, 0) scale(0.98);
    transition: transform 0.5s var(--ease);
}

.contact-modal.is-open .contact-panel {
    transform: translate3d(0, 0, 0) scale(1);
}

.contact-header {
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 0 18px 0 22px;
    border-bottom: 1px solid rgba(28, 29, 29, 0.1);
}

.contact-header h2 {
    font-size: 18px;
    line-height: 1;
}

.contact-close {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(28, 29, 29, 0.13);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    color: var(--ink);
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

.contact-frame {
    width: 100%;
    height: 100%;
    border: 0;
    background: white;
}

.landscape {
    position: relative;
    height: min(52vw, 560px);
    min-height: 360px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(28, 29, 29, 0.04));
}

.landscape svg {
    position: absolute;
    left: -8%;
    right: auto;
    bottom: 0;
    width: 116%;
    height: 100%;
    max-width: none;
}

.logo-orbit {
    position: absolute;
    left: 50%;
    top: 28%;
    width: clamp(180px, 22vw, 320px);
    transform: translate3d(calc(-50% + var(--mx, 0px)), var(--my, 0px), 0);
    filter: drop-shadow(0 30px 40px rgba(28, 29, 29, 0.18));
    transition: transform 0.18s ease-out;
}

.pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 0 0 72px;
    color: var(--muted);
    font-size: 14px;
}

.pill {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0 13px;
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(10px);
}

.scrub-section {
    position: relative;
    height: 300svh;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.scrub-sticky {
    position: sticky;
    top: 0;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: 120px var(--pad);
    overflow: hidden;
}

.scrub-stage {
    width: min(var(--max), 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(28px, 7vw, 92px);
    align-items: center;
}

.scrub-words {
    position: relative;
    min-height: clamp(220px, 32vw, 410px);
}

.scrub-word {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    font-size: 150px;
    line-height: 0.85;
    letter-spacing: 0;
    font-weight: 800;
    transform-origin: left center;
    will-change: transform, opacity, filter;
    color: var(--ink);
}

.scrub-word[data-tone="soft"] {
    color: rgba(28, 29, 29, 0.38);
}

.scrub-word[data-tone="accent"] {
    color: var(--orange);
}

.scrub-note {
    color: var(--muted);
    font-size: 18px;
}

.scrub-note strong {
    display: block;
    margin-bottom: 14px;
    color: var(--ink);
    font-size: 22px;
    line-height: 1.05;
}

.services {
    padding: 110px 0 96px;
}

.section-title {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: clamp(28px, 6vw, 80px);
    align-items: end;
    margin-bottom: 34px;
}

.section-title h2 {
    max-width: 760px;
    font-size: 78px;
    line-height: 0.94;
    letter-spacing: 0;
}

.section-title p {
    color: var(--muted);
    font-size: 17px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.service-card {
    position: relative;
    min-height: 460px;
    display: grid;
    grid-template-rows: 132px 160px 1fr;
    gap: 18px;
    overflow: hidden;
    border: 1px solid rgba(28, 29, 29, 0.12);
    border-radius: 28px;
    padding: 24px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.1)),
        rgba(228, 228, 223, 0.72);
    box-shadow: 0 30px 70px rgba(28, 29, 29, 0.08);
}

.service-card::before {
    position: absolute;
    inset: 0;
    content: "";
    opacity: var(--hover-opacity, 0.25);
    background:
        radial-gradient(circle at var(--card-x, 50%) var(--card-y, 40%), rgba(242, 106, 33, 0.26), transparent 34%),
        linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.72), transparent);
    pointer-events: none;
}

.service-card h3 {
    position: relative;
    max-width: 340px;
    font-size: 40px;
    line-height: 1;
    letter-spacing: 0;
}

.service-card h3 span {
    display: block;
}

.service-card h3 .fit {
    font-size: 0.9em;
    white-space: nowrap;
}

.service-body {
    position: relative;
    align-self: end;
}

.service-body p {
    position: relative;
    max-width: 290px;
    color: var(--muted);
    font-size: 16px;
}

.card-mark {
    position: relative;
    width: 100%;
    height: 160px;
    margin: 0;
}

.card-mark svg {
    width: 100%;
    height: 100%;
}

.support {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.support:empty {
    display: none;
}

.support + .support {
    margin-top: 12px;
}

.support-label {
    flex-basis: 100%;
    color: var(--muted);
    font-size: 12px;
}

.support-chip {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(28, 29, 29, 0.13);
    border-radius: 999px;
    padding: 0 10px;
    background: rgba(255, 255, 255, 0.38);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
}

.chip-dot {
    width: 16px;
    height: 16px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--orange);
    font-size: 9px;
    font-weight: 800;
}

.support-chip img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: contain;
}

.support-chip img.round {
    border-radius: 50%;
}

.statement {
    padding: 100px 0;
    border-top: 1px solid var(--line);
}

.statement-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: clamp(28px, 7vw, 90px);
    align-items: start;
}

.statement h2 {
    max-width: 900px;
    font-size: 92px;
    line-height: 0.92;
    letter-spacing: 0;
}

.statement p {
    color: var(--muted);
    font-size: 17px;
}

.footer-scene {
    position: relative;
    overflow: hidden;
    background: transparent;
    border-top: 1px solid var(--line);
}

.footer-content {
    position: relative;
    padding: 54px var(--pad) 36px;
    background: rgba(246, 246, 242, 0.9);
    backdrop-filter: blur(18px);
    border-top: 1px solid rgba(28, 29, 29, 0.1);
}

.footer-grid {
    width: min(var(--max), 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    color: var(--muted);
}

.footer-grid h2 {
    color: var(--ink);
    font-size: 42px;
    letter-spacing: 0;
    line-height: 1;
}

.footer-grid p {
    margin-top: 16px;
    max-width: 320px;
    font-size: 17px;
}

.footer-col h3 {
    margin-bottom: 10px;
    color: var(--ink);
    font-size: 13px;
    letter-spacing: 0;
    text-transform: uppercase;
}

.footer-col a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-bottom {
    width: min(var(--max), 100%);
    margin: 46px auto 0;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    border-top: 1px solid rgba(28, 29, 29, 0.1);
    color: var(--muted);
    font-size: 13px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.footer-links a {
    color: var(--ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

#services {
    scroll-margin-top: 72px;
}

.parallax {
    will-change: transform;
}

[data-kinetic] {
    will-change: transform, opacity;
}

.kinetic-soft {
    transform-origin: center;
}

@media (max-width: 1100px) {
    h1 {
        font-size: 104px;
    }

    .hero-copy {
        grid-template-columns: minmax(0, 1fr) 300px;
    }

    .scrub-word {
        font-size: 118px;
    }

    .section-title h2 {
        font-size: 68px;
    }

    .service-card h3 {
        font-size: 38px;
    }

    .statement h2 {
        font-size: 76px;
    }
}

@media (max-width: 900px) {
    .nav {
        padding-top: 18px;
    }

    h1 {
        font-size: 86px;
    }

    .hero-copy,
    .scrub-stage,
    .section-title,
    .statement-inner,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy {
        padding-bottom: 34px;
    }

    .hero-note {
        max-width: 520px;
    }

    .hero .eyebrow {
        font-size: 14px;
    }

    .landscape {
        min-height: 280px;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 380px;
    }

    .scrub-section {
        height: 260svh;
    }

    .scrub-sticky {
        padding: 100px var(--pad);
    }

    .scrub-word {
        font-size: 92px;
    }

    .scrub-note {
        max-width: 520px;
    }

    .section-title h2 {
        font-size: 58px;
    }

    .service-card h3 {
        font-size: 38px;
    }

    .statement h2 {
        font-size: 64px;
    }

}

@media (max-width: 560px) {
    :root {
        --pad: 16px;
    }

    .nav a:last-child {
        max-width: 48vw;
        overflow-wrap: anywhere;
        font-size: 13px;
        line-height: 1.1;
    }

    .brand {
        font-size: 15px;
    }

    .brand img {
        width: 38px;
        height: 25px;
    }

    .hero {
        padding-top: 96px;
    }

    .hero .eyebrow {
        margin-bottom: 18px;
        font-size: 12px;
    }

    h1 {
        font-size: 56px;
    }

    .logo-orbit {
        top: 34%;
        width: 180px;
    }

    .pill-row {
        padding-bottom: 42px;
    }

    .scrub-word {
        font-size: 62px;
    }

    .services {
        padding: 76px 0;
    }

    .section-title h2,
    .statement h2 {
        font-size: 46px;
    }

    .service-card h3 {
        font-size: 32px;
    }

    .footer-grid h2 {
        font-size: 34px;
    }

    .statement {
        padding: 74px 0;
    }

    .footer-content {
        padding-top: 40px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .contact-modal {
        padding: 12px;
    }

    .contact-panel {
        height: calc(100svh - 24px);
    }

    .contact-header {
        min-height: 58px;
        padding-left: 16px;
    }
}

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

    .scrub-word {
        position: static;
        opacity: 1 !important;
        filter: none !important;
        transform: none !important;
        margin-bottom: 10px;
    }

    .scrub-words {
        min-height: auto;
    }
}
