:root {
    --bg:             #08090b;
    --bg-soft:        #101115;
    --panel:          rgba(255, 255, 255, 0.045);
    --panel-strong:   rgba(255, 255, 255, 0.075);
    --line:           rgba(255, 255, 255, 0.11);
    --text:           #f5f3ed;
    --muted:          #9b9a96;
    --accent:         #ffc400;
    --accent-bright:  #ffe65b;
    --accent-warm:    #ff8a00;
    --max-width:      1240px;
    --header-height:  88px;
    --radius-large:   30px;
    --radius-medium:  20px;
    --font-display:   "Manrope", sans-serif;
    --font-body:      "DM Sans", sans-serif;
}

@property --trace-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

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

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
        var(--bg);
    background-size: 64px 64px;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
}

body::before {
    position: fixed;
    z-index: 20;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    content: "";
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.7;
}

body.menu-open,
body.contact-open {
    overflow: hidden;
}

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

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

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ambient {
    position: fixed;
    z-index: -1;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(150px);
    opacity: 0.08;
}

.ambient-one {
    top: -260px;
    left: -220px;
    background: var(--accent);
}

.ambient-two {
    right: -280px;
    bottom: 5%;
    background: var(--accent-warm);
}

.site-header {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 50%;
    display: flex;
    width: min(calc(100% - 48px), var(--max-width));
    height: var(--header-height);
    align-items: center;
    justify-content: space-between;
    transform: translateX(-50%);
    border-bottom: 1px solid transparent;
    transition: height 240ms ease, background 240ms ease, border-color 240ms ease, padding 240ms ease;
}

.site-header.is-scrolled {
    top: 0;
    width: 100%;
    height: 72px;
    padding: 0 max(24px, calc((100vw - var(--max-width)) / 2));
    border-bottom: 1px solid var(--line);
    background: rgba(8, 9, 11, 0.82);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(20px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.brand-logo {
    display: block;
    width: 40px;
    height: 31px;
    overflow: hidden;
    flex: 0 0 auto;
}

.brand-logo img {
    width: 40px;
    height: 40px;
    max-width: none;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    color: #c3c1bb;
    font-size: 14px;
    font-weight: 500;
}

.site-nav > a:not(.nav-cta) {
    transition: color 180ms ease;
}

.site-nav > a:not(.nav-cta):hover {
    color: var(--text);
}

.nav-icon {
    display: none;
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.nav-cta {
    display: inline-flex;
    padding: 10px 16px;
    align-items: center;
    gap: 8px;
    color: #15130d;
    border-radius: 999px;
    background: var(--accent);
    font-weight: 600;
    transition: scale 180ms ease, background 180ms ease;
}

.nav-cta .nav-icon {
    display: block;
    width: 17px;
    height: 17px;
}

.nav-cta:hover {
    scale: 1.025;
    background: var(--accent-bright);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 13px 11px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: inherit;
    background: transparent;
}

.menu-toggle > span:not(.sr-only) {
    display: block;
    width: 100%;
    height: 1px;
    margin: 4px 0;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
    display: grid;
    width: min(calc(100% - 48px), var(--max-width));
    min-height: 100vh;
    margin: 0 auto;
    padding: calc(var(--header-height) + 70px) 0 80px;
    align-items: center;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    gap: 46px;
}

.eyebrow {
    display: flex;
    margin: 0 0 22px;
    align-items: center;
    gap: 12px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.eyebrow::before {
    display: inline-block;
    width: 30px;
    height: 1px;
    content: "";
    background: currentColor;
}

.hero h1 {
    max-width: 770px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(64px, 7.2vw, 112px);
    font-weight: 600;
    letter-spacing: -0.075em;
    line-height: 0.91;
}

.hero h1 span,
.conversation h2 span {
    color: transparent;
    background: linear-gradient(120deg, var(--accent-bright), var(--accent-warm));
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-intro {
    max-width: 650px;
    margin: 34px 0 0;
    color: #aaa9a5;
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.55;
}

.hero-actions {
    display: flex;
    margin-top: 38px;
    align-items: center;
    gap: 14px;
}

.button {
    display: inline-flex;
    min-height: 54px;
    padding: 0 23px;
    align-items: center;
    justify-content: center;
    gap: 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    transition: scale 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
    scale: 1.025;
}

.button-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.button:active,
.nav-cta:active {
    scale: 0.985;
}

.button-primary {
    color: #15130d;
    background: var(--accent);
    box-shadow: 0 12px 35px rgba(255, 196, 0, 0.13);
}

.button-primary:hover {
    background: var(--accent-bright);
}

.button-quiet {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.025);
}

.button-quiet:hover {
    border-color: rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.055);
}

.hero-stats {
    display: grid;
    max-width: 690px;
    margin: 70px 0 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.hero-stats div {
    padding-top: 17px;
    border-top: 1px solid var(--line);
}

.hero-stats dt {
    margin-bottom: 4px;
    color: var(--text);
    font-family: var(--font-display);
    font-size: 25px;
    font-weight: 600;
}

.hero-stats dd {
    margin: 0;
    color: #bbb9b3;
    font-size: clamp(14px, 0.72vw, 16px);
    line-height: 1.5;
}

.hero-art {
    position: relative;
    min-height: 640px;
}

.brand-core {
    position: absolute;
    z-index: 1;
    top: 46%;
    left: 50%;
    display: grid;
    width: 320px;
    height: 320px;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(255, 196, 0, 0.23);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 45%, rgba(255, 205, 43, 0.10), rgba(8, 9, 11, 0.15) 65%);
    box-shadow: inset 0 0 70px rgba(255, 196, 0, 0.045), 0 0 90px rgba(255, 161, 0, 0.06);
}

.brand-core img {
    position: relative;
    z-index: 2;
    width: 205px;
    height: 205px;
    object-fit: contain;
    filter: drop-shadow(0 22px 24px rgba(255, 153, 0, 0.12));
}

.brand-glow {
    position: absolute;
    width: 45%;
    height: 45%;
    border-radius: 50%;
    background: var(--accent);
    filter: blur(90px);
    opacity: 0.17;
}

.orbit {
    position: absolute;
    z-index: 0;
    top: 46%;
    left: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.proton-path {
    position: absolute;
    z-index: 4;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
}

.proton-path span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 14px var(--accent);
}

.orbit-outer,
.proton-outer {
    width: 540px;
    height: 540px;
}

.proton-outer {
    animation: spin 31s linear infinite;
}

.proton-outer span {
    top: 50%;
    left: -4px;
}

.orbit-middle,
.proton-middle {
    width: 460px;
    height: 460px;
}

.proton-middle {
    animation: spin-reverse 24s linear infinite;
}

.proton-middle span {
    top: -4px;
    left: 50%;
}

.orbit-inner,
.proton-inner {
    width: 380px;
    height: 380px;
}

.proton-inner {
    animation: spin 18s linear infinite;
}

.proton-inner span {
    top: 50%;
    right: -4px;
}

.signal {
    position: absolute;
    z-index: 3;
    top: calc(46% + var(--signal-y));
    left: calc(50% + var(--signal-x));
    display: flex;
    padding: 10px 14px;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #c5c3bd;
    background: rgba(16, 17, 21, 0.82);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px);
    font-size: 12px;
    transform: translate(-17px, -50%);
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 220ms ease;
    white-space: nowrap;
}

.signal span {
    width: 6px;
    height: 6px;
    border: 1px solid rgba(255, 196, 0, 0.72);
    border-radius: 50%;
    background: rgba(255, 196, 0, 0.3);
    box-shadow: 0 0 0 rgba(255, 196, 0, 0);
    transition: background 160ms ease, box-shadow 180ms ease;
}

.signal.is-charged {
    border-color: rgba(255, 196, 0, 0.72);
    color: #fff9e6;
    background: rgba(35, 30, 12, 0.92);
    box-shadow: 0 0 12px rgba(255, 196, 0, 0.24), 0 0 28px rgba(255, 161, 0, 0.12);
    animation: signal-charge 520ms ease-out;
}

.signal.is-charged span {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent), 0 0 18px rgba(255, 196, 0, 0.42);
}

.signal-web {
    --signal-x: 160px;
    --signal-y: -165px;
    flex-direction: row-reverse;
    transform: translate(calc(-100% + 17px), -50%);
}

.signal-mobile {
    --signal-x: 135px;
    --signal-y: 134px;
    flex-direction: row-reverse;
    transform: translate(calc(-100% + 17px), -50%);
}

.signal-desktop {
    --signal-x: -165px;
    --signal-y: 214px;
}

.art-note {
    position: absolute;
    bottom: 0;
    left: 50%;
    margin: 0;
    transform: translateX(-50%);
    color: #5f5e5b;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
}

.capability-strip {
    width: 100%;
    padding: 20px 0;
    overflow: hidden;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.018);
}

.capability-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: marquee 30s linear infinite;
}

.capability-track span {
    margin: 0 28px;
    color: #85847f;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.capability-track i {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent);
}

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

.section-heading {
    display: grid;
    margin-bottom: 66px;
    align-items: end;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.55fr);
    column-gap: 70px;
}

.section-heading .eyebrow {
    grid-column: 1 / -1;
}

.section-heading h2,
.approach-intro h2,
.about-copy h2,
.conversation h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 70px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.section-heading > p:last-child,
.approach-intro > p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 17px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.expertise-card {
    position: relative;
    display: flex;
    min-height: 380px;
    padding: 34px;
    overflow: hidden;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid var(--line);
    border-radius: var(--radius-large);
    background: linear-gradient(145deg, var(--panel-strong), rgba(255, 255, 255, 0.018));
    transition: transform 240ms ease, border-color 240ms ease, background 240ms ease;
}

.expertise-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 196, 0, 0.26);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.095), rgba(255, 196, 0, 0.025));
}

.card-wide {
    min-height: 410px;
}

.card-number {
    position: absolute;
    top: 28px;
    right: 30px;
    color: #64635f;
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 0.12em;
}

.card-icon {
    position: absolute;
    top: 36px;
    left: 34px;
    display: grid;
    width: 84px;
    height: 84px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 23px;
    color: var(--accent);
    background: rgba(255, 196, 0, 0.035);
}

.icon-browser span,
.icon-desktop span,
.icon-mobile span {
    position: relative;
    display: block;
    border: 2px solid currentColor;
    opacity: 0.9;
}

.icon-browser span {
    width: 42px;
    height: 32px;
    border-radius: 5px;
}

.icon-browser span::before {
    position: absolute;
    top: 6px;
    left: 0;
    width: 100%;
    height: 2px;
    content: "";
    background: currentColor;
}

.icon-desktop span {
    width: 43px;
    height: 29px;
    border-radius: 4px;
}

.icon-desktop span::after {
    position: absolute;
    bottom: -9px;
    left: 50%;
    width: 18px;
    height: 7px;
    content: "";
    transform: translateX(-50%);
    border-bottom: 2px solid currentColor;
}

.icon-mobile span {
    width: 23px;
    height: 42px;
    border-radius: 5px;
}

.icon-mobile span::after {
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: 3px;
    height: 3px;
    content: "";
    transform: translateX(-50%);
    border-radius: 50%;
    background: currentColor;
}

.icon-refresh {
    font-size: 27px;
}

.expertise-card h3 {
    margin: 0 0 12px;
    font-family: var(--font-display);
    font-size: 29px;
    font-weight: 500;
    letter-spacing: -0.035em;
}

.expertise-card p {
    max-width: 570px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

.expertise-card ul {
    display: flex;
    margin: 28px 0 0;
    padding: 0;
    flex-wrap: wrap;
    gap: 9px;
    list-style: none;
}

.expertise-card li,
.principles span {
    padding: 7px 11px;
    border: 1px solid var(--line);
    border-radius: 999px;
    color: #8f8e89;
    font-size: 11px;
}

.card-accent {
    background: linear-gradient(135deg, rgba(255, 196, 0, 0.09), rgba(255, 255, 255, 0.025));
}

.card-statement {
    margin-top: 30px !important;
    color: var(--accent) !important;
    font-family: var(--font-display);
    font-size: 25px !important;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.approach {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(520px, 1.2fr);
    gap: 100px;
    border-top: 1px solid var(--line);
}

.approach-intro {
    position: sticky;
    top: 130px;
    height: fit-content;
}

.approach-intro h2 {
    margin-bottom: 28px;
}

.process-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.process-list li {
    display: grid;
    min-height: 190px;
    padding: 36px 0;
    align-items: start;
    grid-template-columns: 70px 1fr;
    border-top: 1px solid var(--line);
}

.process-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.process-list > li > span {
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 12px;
}

.process-list h3 {
    margin: -7px 0 12px;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 500;
    letter-spacing: -0.04em;
}

.process-list p {
    max-width: 520px;
    margin: 0;
    color: var(--muted);
}

.about {
    display: grid;
    min-height: 700px;
    align-items: center;
    grid-template-columns: minmax(400px, 0.88fr) minmax(0, 1.12fr);
    gap: 90px;
}

.about-mark {
    position: relative;
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 196, 0, 0.10), rgba(255, 255, 255, 0.02) 48%, transparent 69%);
}

.about-mark::before,
.about-mark::after {
    position: absolute;
    width: 78%;
    height: 78%;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.about-mark::after {
    width: 52%;
    height: 52%;
}

.about-mark img {
    position: relative;
    z-index: 1;
    width: 42%;
    max-width: 230px;
    filter: drop-shadow(0 24px 28px rgba(255, 160, 0, 0.14));
}

.about-copy h2 {
    max-width: 680px;
}

.about-lead {
    max-width: 670px;
    margin: 30px 0 18px;
    color: #d2d0ca;
    font-size: 22px;
    line-height: 1.5;
}

.about-copy > p:not(.eyebrow):not(.about-lead) {
    max-width: 650px;
    color: var(--muted);
}

.principles {
    display: grid;
    width: 100%;
    max-width: 650px;
    margin-top: 30px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.principles span {
    position: relative;
    display: flex;
    min-height: 48px;
    padding: 10px 14px;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    isolation: isolate;
    color: #bbb9b3;
    background: rgba(255, 255, 255, 0.018);
    font-size: clamp(14px, 0.72vw, 16px);
    text-align: center;
    white-space: nowrap;
    transition: color 220ms ease,
                border-color 220ms ease,
                background 220ms ease,
                box-shadow 220ms ease;
}

.principles span::after {
    position: absolute;
    z-index: 1;
    inset: -1px;
    padding: 2px;
    content: "";
    border-radius: inherit;
    background: conic-gradient(
        from var(--trace-angle),
        transparent 0deg 292deg,
        rgba(255, 196, 0, 0.06) 304deg,
        rgba(255, 196, 0, 0.55) 322deg,
        rgba(255, 230, 91, 0.78) 332deg,
        rgba(255, 196, 0, 0.3) 342deg,
        transparent 352deg 360deg
    );
    animation: contour-trace 4.8s linear infinite;
    opacity: 0.52;
    pointer-events: none;
    transition: opacity 180ms ease;
    -webkit-mask: linear-gradient(#000 0 0) content-box,
                  linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box,
          linear-gradient(#000 0 0);
    mask-composite: exclude;
}

.principles span:nth-child(2)::after {
    animation-delay: -1.6s;
}

.principles span:nth-child(3)::after {
    animation-delay: -3.2s;
}

@media (hover: hover) and (pointer: fine) {
    .principles span:hover {
        color: var(--text);
        border-color: rgba(255, 196, 0, 0.25);
        background: rgba(255, 196, 0, 0.045);
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
    }

    .principles span:hover::after {
        opacity: 0.82;
    }
}

.conversation {
    position: relative;
    display: flex;
    width: min(calc(100% - 48px), var(--max-width));
    min-height: 650px;
    margin: 40px auto 0;
    padding: 90px 40px;
    overflow: hidden;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 196, 0, 0.17);
    border-radius: 42px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px),
        radial-gradient(circle at 50% 100%, rgba(255, 196, 0, 0.12), rgba(255, 255, 255, 0.025) 52%);
    background-size: 44px 44px, 44px 44px, auto;
    text-align: center;
}

.conversation .eyebrow {
    margin-bottom: 24px;
}

.conversation h2 {
    max-width: 940px;
    font-size: clamp(54px, 7vw, 96px);
}

.conversation > p:not(.eyebrow) {
    max-width: 620px;
    margin: 28px 0 34px;
    color: var(--muted);
    font-size: 18px;
}

.conversation-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    width: 600px;
    height: 300px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.08;
}

.contact-modal {
    color-scheme: dark;
    width: min(calc(100% - 32px), 700px);
    max-height: calc(100dvh - 32px);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 196, 0, 0.22);
    border-radius: 30px;
    color: var(--text);
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        #0d0e11;
    background-size: 44px 44px;
    box-shadow: 0 36px 100px rgba(0, 0, 0, 0.72), 0 0 70px rgba(255, 161, 0, 0.06);
}

.contact-modal::backdrop {
    background: rgba(3, 4, 6, 0.78);
    backdrop-filter: blur(10px);
}

.contact-modal[open] {
    animation: modal-in 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-modal-panel {
    position: relative;
    display: flex;
    max-height: calc(100dvh - 34px);
    padding: clamp(28px, 4vw, 40px);
    flex-direction: column;
    overflow: hidden;
}

.contact-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-grid;
    width: 42px;
    height: 42px;
    padding: 0;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: #c7c5bf;
    background: rgba(255, 255, 255, 0.025);
    cursor: pointer;
    transition: scale 180ms ease, color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-modal-close:hover {
    scale: 1.06;
    border-color: rgba(255, 255, 255, 0.24);
    color: var(--text);
    background: rgba(255, 255, 255, 0.055);
}

.contact-modal-close:active {
    scale: 0.96;
}

.contact-modal-close svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.7;
}

.contact-modal-heading {
    padding-right: 42px;
}

.contact-modal-heading .eyebrow {
    margin-bottom: 12px;
}

.contact-modal-heading h2 {
    max-width: 520px;
    margin: 0;
    font-size: clamp(36px, 5vw, 48px);
    line-height: 1.03;
}

.contact-modal-heading > p:last-child {
    max-width: 540px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.contact-form {
    min-height: 0;
    margin-top: 22px;
    padding-right: 4px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.contact-form-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.contact-field {
    display: grid;
    gap: 8px;
}

.contact-field-wide {
    grid-column: 1 / -1;
}

.contact-field > span {
    color: #c9c7c1;
    font-size: 13px;
    font-weight: 600;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    outline: none;
    color: var(--text);
    background: rgba(255, 255, 255, 0.035);
    font: inherit;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.contact-field input,
.contact-field select {
    height: 46px;
    padding: 0 15px;
}

.contact-field textarea {
    min-height: 108px;
    padding: 13px 15px;
    line-height: 1.55;
    resize: vertical;
}

.contact-field select {
    color-scheme: dark;
}

.contact-field select option {
    color: var(--text);
    background: #151619;
}

.contact-field select option:disabled {
    color: #85847f;
}

.contact-field input:-webkit-autofill,
.contact-field input:-webkit-autofill:hover,
.contact-field input:-webkit-autofill:focus {
    caret-color: var(--text);
    -webkit-text-fill-color: var(--text);
    -webkit-box-shadow: 0 0 0 1000px #17181b inset;
}

.contact-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #17181b inset, 0 0 0 3px rgba(255, 196, 0, 0.08);
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    border-color: rgba(255, 196, 0, 0.64);
    background: rgba(255, 196, 0, 0.045);
    box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.08);
}

.contact-form-trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.contact-verification {
    display: flex;
    min-height: 65px;
    margin-top: 14px;
    align-items: center;
    justify-content: center;
}

.contact-turnstile {
    width: 100%;
}

.contact-turnstile > * {
    margin-inline: auto;
}

.contact-form-status {
    min-height: 24px;
    margin: 10px 0 0;
    color: #c7c5bf;
    font-size: 14px;
}

.contact-form-status.is-error {
    color: #ff9d8f;
}

.contact-form-status.is-success {
    color: var(--accent-bright);
}

.contact-form-actions {
    display: flex;
    margin-top: 4px;
    align-items: center;
    gap: 18px;
}

.contact-form-actions .button {
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
}

.contact-form-actions .button:disabled {
    scale: 1;
    cursor: wait;
    opacity: 0.62;
}

.contact-form-note {
    color: #999893;
    font-size: 14px;
    line-height: 1.4;
}

.contact-success-modal {
    width: min(calc(100% - 32px), 480px);
    overflow: hidden;
}

.contact-success-panel {
    position: relative;
    padding: 48px 42px 42px;
    text-align: center;
}

.contact-success-icon {
    display: inline-grid;
    width: 68px;
    height: 68px;
    margin-bottom: 24px;
    place-items: center;
    border: 1px solid rgba(255, 196, 0, 0.42);
    border-radius: 50%;
    color: var(--accent);
    background: rgba(255, 196, 0, 0.08);
    box-shadow: 0 0 36px rgba(255, 196, 0, 0.12);
}

.contact-success-icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.contact-success-panel .eyebrow {
    justify-content: center;
    margin-bottom: 14px;
}

.contact-success-panel h2 {
    margin: 0;
    font-size: clamp(34px, 6vw, 48px);
    line-height: 1.04;
}

.contact-success-panel > p:not(.eyebrow) {
    margin: 18px 0 28px;
    color: var(--muted);
    line-height: 1.65;
}

.contact-success-panel .button {
    border: 0;
    cursor: pointer;
    font-family: var(--font-body);
}

.site-footer {
    display: grid;
    width: min(calc(100% - 48px), var(--max-width));
    min-height: 180px;
    margin: 70px auto 0;
    align-items: center;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 24px;
    border-top: 1px solid var(--line);
    color: #aaa9a4;
    font-size: clamp(14px, 0.7vw, 16px);
}

.site-footer .brand {
    color: var(--text);
}

.site-footer p {
    margin: 0;
}

.footer-meta {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 14px;
    text-align: right;
}

.back-to-top {
    display: inline-grid;
    width: 42px;
    height: 42px;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--accent);
    background: rgba(255, 255, 255, 0.025);
    transition: scale 180ms ease, border-color 180ms ease, background 180ms ease;
}

.back-to-top:hover {
    scale: 1.06;
    border-color: rgba(255, 196, 0, 0.55);
    background: rgba(255, 196, 0, 0.08);
}

.back-to-top:active {
    scale: 0.96;
}

.back-to-top svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.js .reveal {
    transform: translateY(24px);
    opacity: 0;
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1), opacity 700ms ease;
}

.js .reveal.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.reveal-delay-one {
    transition-delay: 90ms;
}

.reveal-delay-two {
    transition-delay: 180ms;
}

.reveal-delay-three {
    transition-delay: 270ms;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes spin-reverse {
    to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@keyframes signal-charge {
    40% {
        box-shadow: 0 0 18px rgba(255, 196, 0, 0.34), 0 0 40px rgba(255, 161, 0, 0.18);
    }
}

@keyframes modal-in {
    from {
        transform: translateY(16px) scale(0.985);
        opacity: 0;
    }
}

@keyframes marquee {
    to { transform: translateX(-50%); }
}

@keyframes contour-trace {
    to { --trace-angle: 360deg; }
}

@media (max-width: 1040px) {
    .hero {
        padding-top: 150px;
        grid-template-columns: 1fr;
    }

    .hero-copy {
        position: relative;
        z-index: 1;
    }

    .hero-art {
        min-height: 560px;
    }

    .section-heading {
        grid-template-columns: 1fr;
    }

    .section-heading > p:last-child {
        max-width: 620px;
        margin-top: 26px;
    }

    .approach {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .approach-intro {
        position: static;
        max-width: 680px;
    }

    .about {
        gap: 55px;
    }
}

@media (max-width: 820px) {
    :root {
        --header-height: 74px;
    }

    .site-header,
    .hero,
    .section,
    .conversation,
    .site-footer {
        width: min(calc(100% - 32px), var(--max-width));
    }

    .site-header.is-scrolled {
        top: 0;
        padding-right: 16px;
        padding-left: 16px;
    }

    .menu-toggle {
        display: block;
    }

    .menu-toggle[aria-expanded="true"] > span:first-child {
        transform: translateY(5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
        transform: rotate(-45deg);
    }

    .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
        opacity: 0;
    }

    .site-nav {
        position: fixed;
        z-index: -1;
        top: -16px;
        right: -1px;
        display: flex;
        width: min(360px, calc(100vw - 16px));
        height: calc(100vh - 16px);
        padding: 112px 30px 30px;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        transform: translateX(calc(100% + 20px));
        border: 1px solid var(--line);
        border-radius: 22px;
        background: rgba(12, 13, 16, 0.98);
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
        transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .site-nav.is-open {
        transform: translateX(0);
    }

    .site-nav a {
        display: flex;
        padding: 17px 3px;
        align-items: center;
        gap: 14px;
        border-bottom: 1px solid var(--line);
        font-family: var(--font-display);
        font-size: 23px;
    }

    .site-nav .nav-icon {
        display: block;
    }

    .site-nav > a:not(.nav-cta) .nav-icon {
        color: var(--accent);
    }

    .site-nav .nav-cta {
        margin-top: auto;
        padding: 16px;
        justify-content: center;
        border: 0;
        text-align: center;
        font-family: var(--font-body);
        font-size: 14px;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 50px;
    }

    .hero h1 {
        font-size: clamp(56px, 18vw, 78px);
    }

    .hero-intro {
        font-size: 17px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-stats {
        margin-top: 52px;
        grid-template-columns: 1fr;
    }

    .hero-stats div {
        display: grid;
        align-items: baseline;
        grid-template-columns: 70px 1fr;
    }

    .hero-art {
        min-height: 470px;
    }

    .brand-core {
        width: 230px;
        height: 230px;
    }

    .brand-core img {
        width: 150px;
        height: 150px;
    }

    .orbit-outer,
    .proton-outer {
        width: 370px;
        height: 370px;
    }

    .orbit-middle,
    .proton-middle {
        width: 330px;
        height: 330px;
    }

    .orbit-inner,
    .proton-inner {
        width: 290px;
        height: 290px;
    }

    .signal {
        padding: 8px 10px;
        font-size: 10px;
    }

    .signal-web {
        --signal-x: 110px;
        --signal-y: -123px;
    }

    .signal-mobile {
        --signal-x: 100px;
        --signal-y: 105px;
    }

    .signal-desktop {
        --signal-x: -105px;
        --signal-y: 152px;
    }

    .art-note {
        bottom: 0;
    }

    .section {
        padding: 105px 0;
    }

    .section-heading {
        margin-bottom: 45px;
    }

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

    .expertise-card,
    .card-wide {
        min-height: 390px;
        padding: 27px;
    }

    .card-icon {
        top: 28px;
        left: 27px;
    }

    .approach {
        gap: 50px;
    }

    .process-list li {
        min-height: 170px;
        grid-template-columns: 48px 1fr;
    }

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

    .about-mark {
        width: min(100%, 440px);
        margin: 0 auto;
    }

    .conversation {
        min-height: 570px;
        padding: 70px 22px;
        border-radius: 28px;
    }

    .site-footer {
        padding: 50px 0;
        justify-items: center;
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-meta {
        justify-self: center;
        text-align: center;
    }

    .contact-verification {
        padding-block: 6px;
    }
}

@media (max-width: 600px) {
    .principles {
        grid-template-columns: 1fr;
    }

    .contact-modal {
        width: calc(100% - 16px);
        max-height: calc(100dvh - 16px);
        border-radius: 24px;
    }

    .contact-modal-panel {
        padding: 24px 16px;
    }

    .contact-modal-close {
        top: 16px;
        right: 16px;
    }

    .contact-modal-heading {
        padding-right: 38px;
    }

    .contact-modal-heading h2 {
        font-size: 32px;
    }

    .contact-modal-heading > p:last-child {
        margin-top: 10px;
        font-size: 14px;
    }

    .contact-form {
        margin-top: 18px;
    }

    .contact-form-fields {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .contact-field-wide {
        grid-column: auto;
    }

    .contact-form-actions {
        z-index: 2;
        margin: 4px -16px -24px;
        padding: 12px 16px 20px;
        align-items: stretch;
        flex-direction: column;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
        background: rgba(13, 14, 17, 0.96);
        backdrop-filter: blur(14px);
    }

    .contact-verification {
        margin-top: 12px;
        margin-inline: -8px;
        padding-block: 4px;
    }

    .contact-form-status {
        margin-top: 8px;
    }

    .contact-form-actions .button {
        width: 100%;
    }

    .contact-form-note {
        text-align: center;
    }

    .contact-success-modal {
        width: calc(100% - 24px);
        border-radius: 24px;
    }

    .contact-success-panel {
        padding: 42px 24px 28px;
    }

    .contact-success-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

    .contact-success-panel h2 {
        font-size: 34px;
    }

    .contact-success-panel > p:not(.eyebrow) {
        margin: 14px 0 22px;
    }

    .contact-success-panel .button {
        width: 100%;
    }

}

@media (min-width: 601px) and (max-height: 760px) {
    .contact-modal-panel {
        padding: 24px 32px;
    }

    .contact-modal-heading .eyebrow {
        margin-bottom: 8px;
    }

    .contact-modal-heading h2 {
        font-size: 40px;
    }

    .contact-modal-heading > p:last-child {
        margin-top: 8px;
        font-size: 14px;
    }

    .contact-form {
        margin-top: 14px;
    }

    .contact-form-fields {
        gap: 10px 16px;
    }

    .contact-field input,
    .contact-field select {
        height: 42px;
    }

    .contact-field textarea {
        min-height: 86px;
    }

    .contact-verification {
        margin-top: 10px;
        padding-block: 2px;
    }

    .contact-form-status {
        margin-top: 6px;
    }

}

@media (max-width: 410px) {
    .brand-core {
        width: min(230px, calc(100vw - 180px));
        height: min(230px, calc(100vw - 180px));
    }

    .brand-core img {
        width: min(150px, calc(100vw - 235px));
        height: min(150px, calc(100vw - 235px));
    }

    .orbit-outer,
    .proton-outer {
        width: calc(100vw - 40px);
        height: calc(100vw - 40px);
    }

    .orbit-middle,
    .proton-middle {
        width: calc(100vw - 80px);
        height: calc(100vw - 80px);
    }

    .orbit-inner,
    .proton-inner {
        width: calc(100vw - 120px);
        height: calc(100vw - 120px);
    }

    .signal-web {
        --signal-x: calc(33.333vw - 26.667px);
        --signal-y: calc(-37.273vw + 29.818px);
    }

    .signal-mobile {
        --signal-x: calc(34.483vw - 41.38px);
        --signal-y: calc(36.207vw - 43.45px);
    }

    .signal-desktop {
        --signal-x: calc(-28.125vw + 11.25px);
        --signal-y: calc(41.25vw - 16.5px);
    }

    .contact-verification {
        padding-block: 2px;
    }
}

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

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js .reveal {
        transform: none;
        opacity: 1;
    }
}
