:root {
    color-scheme: dark;
    --ink: #f4f9fb;
    --ink-soft: rgba(244, 249, 251, 0.76);
    --muted: rgba(244, 249, 251, 0.54);
    --champagne: #8ceaff;
    --champagne-soft: #d8fbff;
    --emerald: #22d6ff;
    --blue: #2f7dff;
    --blue-deep: #06192b;
    --violet: #5f79b7;
    --platinum: #edf7fa;
    --black: #050a10;
    --black-2: #08121d;
    --black-3: #11283a;
    --ivory: #d9e7ec;
    --ivory-strong: #f4fbfd;
    --ivory-ink: #071018;
    --ivory-muted: rgba(244, 249, 251, 0.62);
    --line: rgba(244, 249, 251, 0.12);
    --line-strong: rgba(244, 249, 251, 0.22);
    --glass: rgba(9, 20, 31, 0.56);
    --glass-strong: rgba(12, 28, 42, 0.72);
    --dark-panel: rgba(5, 11, 18, 0.78);
    --shadow-deep: 0 38px 120px rgba(0, 0, 0, 0.48);
    --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.32);
    --shadow-color: 0 26px 90px rgba(47, 125, 255, 0.16), 0 24px 80px rgba(34, 214, 255, 0.14);
    --radius: 8px;
    --max: 1180px;
    --sans: "Avenir Next", Avenir, Aptos, "Trebuchet MS", "Lucida Grande", "Lucida Sans", sans-serif;
    --display: "Avenir Next", Avenir, Aptos, "Trebuchet MS", "Lucida Grande", "Lucida Sans", sans-serif;
    --tech: "Avenir Next", Avenir, Aptos, "Trebuchet MS", "Lucida Grande", "Lucida Sans", sans-serif;
    --serif: var(--display);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
}

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

body {
    margin: 0;
    padding-top: 5.7rem;
    background:
        linear-gradient(125deg, rgba(140, 234, 255, 0.12) 0%, rgba(140, 234, 255, 0) 32%),
        linear-gradient(230deg, rgba(47, 125, 255, 0.18) 0%, rgba(47, 125, 255, 0) 46%),
        linear-gradient(160deg, #111f2b 0%, #071018 38%, #081522 68%, #03070d 100%);
    background-size: auto;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    font-feature-settings: "kern" 1, "liga" 1, "ss01" 1, "ss03" 1;
    overflow-x: hidden;
    text-rendering: geometricPrecision;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

@keyframes signature-rule {
    from {
        opacity: 0;
        transform: scaleX(0);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}

@keyframes ambient-shift {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 100% 50%;
    }
}

@keyframes material-rise {
    from {
        opacity: 0;
        filter: blur(10px);
        transform: translate3d(0, 28px, 0) scale(0.985);
    }

    to {
        opacity: 1;
        filter: blur(0);
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes portrait-materialize {
    from {
        opacity: 0;
        filter: blur(12px) saturate(0.9);
        transform: translate3d(18px, 28px, 0) scale(0.985);
    }

    to {
        opacity: 1;
        filter: blur(0) saturate(1);
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes chip-glide {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cinematic-pan {
    from {
        transform: scale(1.06) translate3d(-1.2%, -0.8%, 0);
    }

    to {
        transform: scale(1.1) translate3d(1.2%, 0.8%, 0);
    }
}

@keyframes luxury-sheen {
    from {
        opacity: 0.13;
        transform: translateX(-24%) skewX(-14deg);
    }

    to {
        opacity: 0.42;
        transform: translateX(28%) skewX(-14deg);
    }
}

@keyframes executive-chrome {
    from {
        background-position: 0% 50%;
    }

    to {
        background-position: 100% 50%;
    }
}

@keyframes horizon-scan {
    from {
        transform: translateX(-36%);
        opacity: 0.18;
    }

    to {
        transform: translateX(42%);
        opacity: 0.46;
    }
}

@keyframes cinematic-mesh {
    from {
        background-position: 0 0, 0 0, 0 0, 0 0, 0 0;
    }

    to {
        background-position: 0 0, 0 0, 160px 74px, -120px 90px, 0 0;
    }
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

body::before {
    background:
        linear-gradient(90deg, rgba(216, 251, 255, 0.055), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.34)),
        linear-gradient(180deg, rgba(216, 251, 255, 0.045), transparent 18rem, rgba(0, 0, 0, 0.44));
}

body::after {
    display: block;
    opacity: 0.64;
    background:
        linear-gradient(115deg, transparent 0%, rgba(34, 214, 255, 0.1) 18%, transparent 36%, transparent 58%, rgba(47, 125, 255, 0.14) 76%, transparent 100%),
        repeating-linear-gradient(90deg, rgba(216, 251, 255, 0.035) 0 1px, transparent 1px 128px),
        repeating-linear-gradient(0deg, rgba(216, 251, 255, 0.009) 0 1px, transparent 1px 144px);
    background-size: 220% 220%;
    animation: ambient-shift 22s var(--ease) infinite alternate;
}

::selection {
    background: rgba(73, 216, 255, 0.28);
    color: var(--ivory-strong);
}

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

a {
    color: inherit;
    text-decoration-thickness: 0.08em;
    text-underline-offset: 0.25em;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid rgba(216, 251, 255, 0.42);
    outline-offset: 4px;
}

.skip-link {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
    z-index: 40;
    border: 0;
    border-radius: var(--radius);
    background: rgba(5, 10, 16, 0.94);
    color: var(--ink);
}

.skip-link:focus-visible {
    position: fixed;
    left: 1rem;
    top: 1rem;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    border: 1px solid rgba(140, 234, 255, 0.36);
    padding: 0.7rem 1rem;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.36);
}

.scroll-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 35;
    display: none;
    height: 3px;
    background: rgba(247, 253, 255, 0.08);
}

.scroll-progress span {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleX(0);
    transform-origin: left center;
    background: linear-gradient(90deg, var(--champagne), var(--platinum), var(--emerald));
}

.page-frame span {
    position: fixed;
    display: none;
    z-index: 2;
    pointer-events: none;
    background: rgba(251, 247, 239, 0.05);
}

.page-frame span:nth-child(1),
.page-frame span:nth-child(2) {
    left: 20px;
    right: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(251, 247, 239, 0.1), rgba(251, 247, 239, 0.05), transparent);
}

.page-frame span:nth-child(1) {
    top: 20px;
}

.page-frame span:nth-child(2) {
    bottom: 20px;
}

.page-frame span:nth-child(3),
.page-frame span:nth-child(4) {
    top: 20px;
    bottom: 20px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(251, 247, 239, 0.1), rgba(251, 247, 239, 0.05), transparent);
}

.page-frame span:nth-child(3) {
    left: 20px;
}

.page-frame span:nth-child(4) {
    right: 20px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 50%;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: min(100% - 56px, var(--max));
    margin: 0 auto;
    padding: 1.15rem 0;
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transform: translateX(-50%);
    transition: background-color 300ms var(--ease), box-shadow 300ms var(--ease), backdrop-filter 300ms var(--ease);
}

.brand,
.site-nav {
    display: flex;
    align-items: center;
}

.brand {
    gap: 0.9rem;
    margin-left: -0.34rem;
    border: 1px solid transparent;
    border-radius: 999px;
    color: var(--ink);
    font-weight: 700;
    padding: 0.34rem 0.78rem 0.34rem 0.34rem;
    text-decoration: none;
    transition: background-color 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease), backdrop-filter 300ms var(--ease);
}

.brand-mark {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(15, 35, 50, 0.98), rgba(2, 8, 14, 0.98)) padding-box,
        linear-gradient(145deg, rgba(216, 251, 255, 0.62), rgba(34, 214, 255, 0.5), rgba(47, 125, 255, 0.34)) border-box;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38), 0 0 24px rgba(34, 214, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.16);
    overflow: visible;
}

.brand-mark::after {
    display: none;
}

.brand-mark img {
    display: block;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 7px;
    object-fit: contain;
    filter: none;
}

.brand-text {
    color: rgba(244, 249, 251, 0.94);
    font-size: 0.96rem;
    font-weight: 760;
    letter-spacing: 0;
}

.site-nav {
    gap: 0.15rem;
    padding: 0.34rem;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transition: background-color 300ms var(--ease), border-color 300ms var(--ease), box-shadow 300ms var(--ease), backdrop-filter 300ms var(--ease);
}

.site-header.is-scrolled .brand,
.site-header.is-scrolled .site-nav {
    border-color: rgba(216, 251, 255, 0.13);
    background: rgba(5, 13, 22, 0.88);
    box-shadow: 0 18px 46px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(1.18);
}

.site-nav a {
    border-radius: 999px;
    color: rgba(244, 249, 251, 0.7);
    font-size: 0.84rem;
    font-family: var(--tech);
    font-weight: 650;
    min-width: 0;
    padding: 0.56rem 0.92rem;
    text-decoration: none;
    transition: transform 260ms var(--ease);
}

.site-nav a.is-active {
    background: transparent;
    color: rgba(244, 249, 251, 0.7);
    box-shadow: none;
}

.site-header.is-scrolled .site-nav a.is-active {
    color: rgba(216, 251, 255, 0.96);
}

.site-nav a:hover {
    transform: translateY(-1px);
}

.section,
.section-band,
.proof-strip,
.signal-tape,
.contact-section,
.site-footer {
    width: min(100% - 56px, var(--max));
    margin: 0 auto;
    min-width: 0;
}

.section,
.section-band,
.credential-band,
.contact-section {
    scroll-margin-top: 7rem;
}

.credential-band {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 3.8rem 0 3.6rem;
    overflow: hidden;
    border-top: 0;
    border-bottom: 0;
    background: transparent;
    color: var(--ink);
    box-shadow: none;
}

.credential-band::before {
    display: none;
}

.credential-band::after {
    display: none;
}

.hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.58fr);
    gap: 5.2rem;
    min-height: calc(100vh - 84px);
    align-items: center;
    padding: 4.15rem 0 5.45rem;
}

.hero-cinema {
    position: absolute;
    top: -7.5rem;
    bottom: -12rem;
    left: 50%;
    z-index: 0;
    width: 100vw;
    overflow: hidden;
    pointer-events: none;
    transform: translateX(-50%);
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 70%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 70%, rgba(0, 0, 0, 0) 100%);
}

.hero-cinema video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
    filter: contrast(1.06) saturate(0.92) brightness(0.58) hue-rotate(184deg) grayscale(0.18);
    animation: cinematic-pan 20s var(--ease) infinite alternate;
}

.hero-cinema::before,
.hero-cinema::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-cinema::before {
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(4, 10, 16, 0.86), rgba(5, 15, 25, 0.66) 48%, rgba(7, 24, 38, 0.5) 100%),
        linear-gradient(180deg, rgba(4, 9, 15, 0.68), rgba(4, 12, 20, 0.42) 46%, rgba(3, 7, 13, 0.82) 100%),
        repeating-linear-gradient(90deg, rgba(216, 251, 255, 0.04) 0 1px, transparent 1px 112px),
        repeating-linear-gradient(0deg, rgba(216, 251, 255, 0.01) 0 1px, transparent 1px 144px),
        linear-gradient(180deg, rgba(5, 12, 20, 0.22), rgba(9, 28, 43, 0.2) 42%, rgba(3, 7, 13, 0.78) 100%);
    animation: cinematic-mesh 24s linear infinite;
}

.hero-cinema::after {
    z-index: 2;
    left: -16%;
    width: 72%;
    background: linear-gradient(105deg, transparent 0%, transparent 38%, rgba(216, 251, 255, 0.1) 46%, rgba(34, 214, 255, 0.18) 50%, rgba(47, 125, 255, 0.13) 54%, transparent 64%, transparent 100%);
    mix-blend-mode: screen;
    animation: luxury-sheen 7.8s var(--ease) infinite alternate;
}

.background-bridge {
    display: none;
    height: 0;
    margin: 0;
}

.background-bridge::before {
    display: none;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    display: none;
    pointer-events: none;
}

.hero::before {
    top: 5.95rem;
    left: 0;
    width: 14rem;
    height: 1px;
    background: linear-gradient(90deg, transparent 0, rgba(251, 247, 239, 0.2) 0.35rem, rgba(251, 247, 239, 0.28) 2.4rem, transparent 100%);
    box-shadow: none;
    transform-origin: left center;
    animation: signature-rule 1200ms var(--ease) 120ms both;
}

.hero::after {
    right: 38%;
    bottom: 5.5rem;
    width: 1px;
    height: 14rem;
    background: linear-gradient(180deg, transparent, rgba(251, 247, 239, 0.14), transparent);
    box-shadow: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    min-width: 0;
}

.hero-content::before,
.hero-content::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.hero-content::before {
    top: -1.85rem;
    left: 0;
    width: 5.4rem;
    height: 1px;
    background: linear-gradient(90deg, rgba(216, 251, 255, 0.5), rgba(34, 214, 255, 0.48), transparent);
    transform-origin: left center;
    animation: signature-rule 1200ms var(--ease) 280ms both;
}

.hero-content::after {
    display: none;
}

.eyebrow {
    margin: 0 0 1.1rem;
    color: rgba(140, 234, 255, 0.8);
    font-family: var(--tech);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-section h2 {
    margin: 0;
    color: var(--ink);
    letter-spacing: 0;
    text-wrap: balance;
}

.hero h1 {
    max-width: 860px;
    font-family: var(--display);
    font-size: clamp(5rem, 6.7vw, 7.05rem);
    font-weight: 720;
    line-height: 0.92;
    position: relative;
    overflow-wrap: break-word;
    background: linear-gradient(115deg, #f4fbfd 0%, #d8fbff 38%, #8ceaff 62%, #5f9cff 82%, #f4fbfd 100%);
    background-size: 190% 190%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 30px 80px rgba(0, 0, 0, 0.62), 0 0 34px rgba(34, 214, 255, 0.1);
    animation: executive-chrome 11s var(--ease) infinite alternate;
}

.hero h1::after {
    content: "";
    position: absolute;
    left: 0.1rem;
    bottom: -0.36rem;
    width: min(24rem, 62%);
    height: 1px;
    background: linear-gradient(90deg, rgba(216, 251, 255, 0.5), rgba(34, 214, 255, 0.58), rgba(47, 125, 255, 0.28), transparent);
    transform-origin: left center;
    animation: signature-rule 1200ms var(--ease) 380ms both;
}

.hero h1 span {
    display: inline;
}

.hero-statement {
    max-width: 610px;
    margin: 1.85rem 0 0;
    color: rgba(244, 249, 251, 0.78);
    font-size: 1.2rem;
    font-weight: 430;
    line-height: 1.5;
}

.hero-copy {
    max-width: 680px;
    margin: 1.45rem 0 0;
    color: rgba(238, 241, 243, 0.78);
    font-size: 1.08rem;
    line-height: 1.76;
}

.hero h1,
.hero-statement,
.hero-copy,
.section-heading h2,
.case-copy h3,
.work-card h3,
.capability h3,
.contact-section h2 {
    overflow-wrap: anywhere;
}

.hero-signature {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    margin-top: 2rem;
    max-width: 660px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(10, 12, 16, 0.88), rgba(10, 12, 16, 0.8)) padding-box,
        linear-gradient(135deg, rgba(247, 253, 255, 0.13), rgba(73, 216, 255, 0.32), rgba(73, 216, 255, 0.12)) border-box;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.hero-signature span {
    display: grid;
    min-height: 3.5rem;
    place-items: center;
    background: rgba(255, 255, 255, 0.026);
    color: var(--ink-soft);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0;
    padding: 0.7rem;
    text-align: center;
}

.hero-actions,
.contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.hero-actions {
    margin-top: 1.85rem;
}

.button,
.contact-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 3.25rem;
    border-radius: 999px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 260ms var(--ease), box-shadow 260ms var(--ease), background 260ms var(--ease), color 260ms var(--ease), border-color 260ms var(--ease), filter 260ms var(--ease);
}

.button {
    padding: 0.88rem 1.22rem;
}

.button-primary {
    border: 1px solid rgba(140, 234, 255, 0.28);
    background:
        linear-gradient(135deg, rgba(216, 251, 255, 0.18), rgba(34, 214, 255, 0.16) 48%, rgba(47, 125, 255, 0.18)),
        rgba(7, 18, 30, 0.84);
    color: rgba(244, 249, 251, 0.96);
    box-shadow: 0 22px 54px rgba(0, 0, 0, 0.38), 0 14px 34px rgba(34, 214, 255, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.button-secondary {
    border: 1px solid rgba(140, 234, 255, 0.16);
    background: rgba(5, 13, 22, 0.48);
    color: rgba(244, 249, 251, 0.78);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.button:hover,
.contact-links a:hover {
    transform: translateY(-2px);
}

.button-primary:hover {
    filter: saturate(1.08);
    box-shadow: 0 30px 66px rgba(0, 0, 0, 0.46), 0 22px 60px rgba(34, 214, 255, 0.2);
}

.button-secondary:hover,
.contact-links a:hover {
    border-color: rgba(216, 251, 255, 0.3);
}

.hero-visual {
    position: relative;
    z-index: 2;
    align-self: stretch;
    display: grid;
    grid-template-rows: auto;
    align-content: center;
    min-height: 0;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 1.1rem -1.1rem auto auto;
    width: 72%;
    height: 72%;
    border: 1px solid rgba(41, 214, 255, 0.2);
    border-radius: var(--radius);
    box-shadow: 0 0 54px rgba(41, 214, 255, 0.1);
    pointer-events: none;
}

.portrait-frame {
    position: relative;
    height: 548px;
    min-height: 500px;
    margin: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(22, 35, 45, 0.95), rgba(22, 35, 45, 0.95)) padding-box,
        linear-gradient(145deg, rgba(247, 253, 255, 0.2), rgba(41, 214, 255, 0.32), rgba(11, 99, 255, 0.18)) border-box;
    box-shadow: var(--shadow-deep), var(--shadow-color);
}

.portrait-frame::before,
.portrait-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.portrait-frame::before {
    z-index: 1;
    background:
        linear-gradient(135deg, rgba(41, 214, 255, 0.09), transparent 34%),
        linear-gradient(180deg, rgba(9, 19, 27, 0.02), rgba(9, 19, 27, 0.3)),
        linear-gradient(90deg, rgba(9, 19, 27, 0.16), transparent 32%, transparent 72%, rgba(9, 19, 27, 0.26));
}

.portrait-frame::after {
    z-index: 2;
    border: 1px solid rgba(247, 253, 255, 0.1);
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.01);
    transition: transform 900ms var(--ease), filter 900ms var(--ease);
}

.hero-visual:hover .portrait-frame img {
    transform: scale(1.04);
    filter: saturate(1.04) contrast(1.04);
}

.role-panel {
    position: relative;
    z-index: 3;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.018)) padding-box,
        linear-gradient(rgba(7, 9, 13, 0.92), rgba(7, 9, 13, 0.9)) padding-box,
        linear-gradient(135deg, rgba(247, 253, 255, 0.14), rgba(73, 216, 255, 0.24), rgba(73, 216, 255, 0.12)) border-box;
    color: var(--ink);
    box-shadow: 0 24px 58px rgba(0, 0, 0, 0.44), 0 18px 48px rgba(73, 216, 255, 0.1);
}

.role-panel {
    width: 100%;
    margin: 1rem 0 0;
    padding: 1.45rem 1.45rem 1.35rem;
}

.role-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.25rem;
    right: 1.25rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(216, 251, 255, 0.54), rgba(73, 216, 255, 0.18), transparent);
}

.role-panel::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 3.7rem;
    height: 3.7rem;
    border-top: 1px solid rgba(216, 251, 255, 0.18);
    border-right: 1px solid rgba(73, 216, 255, 0.12);
    opacity: 0.9;
    pointer-events: none;
}

.role-panel span {
    display: block;
    margin-bottom: 0.58rem;
    color: rgba(216, 251, 255, 0.68);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.role-panel strong {
    display: block;
    max-width: 26rem;
    color: var(--ink);
    font-size: 1.08rem;
    line-height: 1.42;
}

.system-flow {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.3rem 0 0;
    padding: 1.05rem 0 0;
    overflow: visible;
    border: 0;
    border-top: 1px solid rgba(247, 253, 255, 0.11);
    background: transparent;
    counter-reset: focus-flow;
    list-style: none;
}

.system-flow li {
    position: relative;
    counter-increment: focus-flow;
    display: grid;
    gap: 0.22rem;
    flex: 1 1 0;
    min-width: 0;
    background: transparent;
    color: rgba(247, 253, 255, 0.82);
    font-size: 0.76rem;
    font-weight: 800;
    padding: 0.05rem 0 0;
    text-align: left;
    text-transform: uppercase;
}

.system-flow li::before {
    content: counter(focus-flow, decimal-leading-zero);
    color: rgba(216, 251, 255, 0.46);
    font-size: 0.62rem;
    font-weight: 900;
    line-height: 1;
}

.system-flow li::after {
    content: "";
    position: absolute;
    top: -1.28rem;
    left: 0;
    width: 0.42rem;
    height: 0.42rem;
    border: 1px solid rgba(216, 251, 255, 0.36);
    border-radius: 50%;
    background: rgba(7, 9, 13, 0.96);
    box-shadow: 0 0 18px rgba(73, 216, 255, 0.18);
}

.proof-strip {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

.proof-strip::before {
    display: none;
}

.proof-strip::after {
    display: none;
}

.proof-strip div {
    position: relative;
    min-height: 10.6rem;
    padding: 1.3rem 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    transition: none;
}

.proof-strip div::after {
    display: none;
}

.proof-strip div::before {
    display: none;
}

.proof-strip div:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.proof-strip div:hover::after {
    transform: none;
}

.proof-strip div:last-child {
    border-right: 0;
}

.proof-strip span {
    display: block;
    margin-bottom: 1.35rem;
    color: rgba(185, 242, 255, 0.76);
    font-family: var(--tech);
    font-size: 0.72rem;
    font-weight: 650;
    letter-spacing: 0;
}

.proof-strip strong {
    display: block;
    max-width: 320px;
    color: rgba(245, 251, 253, 0.9);
    font-family: var(--display);
    font-size: 1.05rem;
    font-weight: 620;
    line-height: 1.35;
}

.signal-tape {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.45rem;
    margin-top: 1.55rem;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.signal-tape span {
    display: grid;
    min-height: 2.9rem;
    place-items: center;
    border: 1px solid rgba(140, 234, 255, 0.12);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(216, 251, 255, 0.07), rgba(47, 125, 255, 0.08));
    color: rgba(244, 249, 251, 0.62);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.section {
    padding: 7rem 0;
}

#work {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 5.8rem max(28px, calc((100vw - var(--max)) / 2)) 7rem;
    overflow: hidden;
    border-top: 0;
    background: transparent;
}

#work::before {
    display: none;
}

#work > * {
    position: relative;
    z-index: 1;
    width: min(100%, var(--max));
    margin-left: auto;
    margin-right: auto;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 0.64fr) minmax(300px, 0.36fr);
    gap: 2.6rem;
    align-items: end;
    margin-bottom: 3.35rem;
}

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

.section-heading h2 {
    grid-column: 1;
    max-width: 760px;
}

.section-heading > p:last-child {
    grid-column: 2;
    align-self: end;
    margin: 0;
    color: rgba(244, 249, 251, 0.62);
    font-size: 1rem;
}

.section-heading h2,
.contact-section h2 {
    font-family: var(--display);
    font-size: 3.18rem;
    font-weight: 690;
    line-height: 1.08;
}

#work .section-heading h2,
#work .section-heading > p:last-child {
    color: rgba(244, 249, 251, 0.9);
}

.case-feature {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(340px, 0.58fr);
    gap: 1px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: var(--radius);
    background:
        linear-gradient(rgba(10, 24, 38, 0.78), rgba(6, 16, 27, 0.72)) padding-box,
        linear-gradient(135deg, rgba(216, 251, 255, 0.18), rgba(34, 214, 255, 0.28), rgba(47, 125, 255, 0.18)) border-box;
    box-shadow: var(--shadow-soft), 0 18px 58px rgba(34, 214, 255, 0.08);
    backdrop-filter: blur(18px) saturate(1.08);
}

.case-copy,
.case-system {
    background: linear-gradient(180deg, rgba(216, 251, 255, 0.045), rgba(216, 251, 255, 0.016)), rgba(5, 14, 24, 0.58);
}

.case-copy {
    padding: 2rem;
}

.case-copy h3 {
    max-width: 690px;
    margin: 0;
    color: rgba(244, 249, 251, 0.95);
    font-family: var(--display);
    font-size: 2.2rem;
    font-weight: 660;
    line-height: 1.12;
}

.case-copy p {
    max-width: 640px;
    color: rgba(244, 249, 251, 0.68);
    font-size: 1.04rem;
}

.case-system {
    display: grid;
    grid-template-columns: 1fr;
}

.case-system div {
    display: grid;
    gap: 0.6rem;
    align-content: center;
    min-height: 8.3rem;
    padding: 1.3rem;
    border-bottom: 1px solid rgba(216, 251, 255, 0.08);
}

.case-system div:last-child {
    border-bottom: 0;
}

.case-system span {
    color: rgba(140, 234, 255, 0.7);
    font-family: var(--sans);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.case-system strong {
    color: rgba(244, 249, 251, 0.9);
    font-size: 1.04rem;
    line-height: 1.32;
}

.work-grid,
.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

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

.work-card,
.capability {
    position: relative;
    min-height: 100%;
    overflow: hidden;
    border: 1px solid rgba(216, 251, 255, 0.12);
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(216, 251, 255, 0.05), rgba(216, 251, 255, 0.016)), rgba(6, 16, 27, 0.62);
    padding: 1.7rem;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08) inset, 0 22px 56px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(16px) saturate(1.08);
    transition: transform 360ms var(--ease), border-color 360ms var(--ease), box-shadow 360ms var(--ease);
}

.work-card::before,
.capability::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0%, transparent 38%, rgba(216, 251, 255, 0.1) 48%, rgba(41, 214, 255, 0.06) 54%, transparent 64%, transparent 100%);
    opacity: 0;
    transform: translateX(-38%);
    transition: opacity 360ms var(--ease), transform 760ms var(--ease);
}

.work-card::after,
.capability::after {
    content: "";
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.15rem;
    height: 2.15rem;
    border-top: 1px solid rgba(216, 251, 255, 0.24);
    border-right: 1px solid rgba(41, 214, 255, 0.18);
    box-shadow: none;
    pointer-events: none;
}

.work-card:hover,
.capability:hover {
    transform: translateY(-6px);
    border-color: rgba(41, 214, 255, 0.26);
    box-shadow: var(--shadow-soft), 0 22px 62px rgba(41, 214, 255, 0.11);
}

.work-card:hover::before,
.capability:hover::before {
    opacity: 1;
    transform: translateX(42%);
}

.card-topline {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.4rem;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.card-topline a {
    color: rgba(140, 234, 255, 0.9);
}

.work-card h3,
.capability h3,
.timeline-body h3 {
    margin: 0;
    color: rgba(244, 249, 251, 0.94);
    font-family: var(--display);
    font-size: 1.26rem;
    font-weight: 640;
    line-height: 1.24;
}

.work-card p,
.capability p,
.timeline-body p {
    color: rgba(244, 249, 251, 0.66);
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.tag-list li {
    border: 1px solid rgba(140, 234, 255, 0.14);
    border-radius: 999px;
    background: rgba(216, 251, 255, 0.055);
    color: rgba(244, 249, 251, 0.72);
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
}

.section-muted {
    position: relative;
    width: 100%;
    max-width: none;
    padding: 7rem max(28px, calc((100vw - var(--max)) / 2));
    background: transparent;
    color: var(--ink);
}

.section-muted::before {
    display: none;
}

.section-muted > * {
    position: relative;
}

.section-muted .eyebrow {
    color: rgba(140, 234, 255, 0.74);
}

.section-muted h2,
.section-muted h3 {
    color: var(--ink);
}

.section-muted p,
.section-muted .section-heading > p:last-child {
    color: rgba(244, 249, 251, 0.66);
}

.timeline {
    border-top: 1px solid rgba(216, 251, 255, 0.12);
}

.timeline-item {
    position: relative;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 2rem;
    padding: 1.9rem 0;
    border-bottom: 1px solid rgba(216, 251, 255, 0.12);
}

.timeline-item::before {
    content: "";
    position: absolute;
    left: 220px;
    top: 2.05rem;
    width: 8px;
    height: 8px;
    border: 1px solid rgba(140, 234, 255, 0.42);
    border-radius: 50%;
    background: rgba(34, 214, 255, 0.18);
    box-shadow: 0 0 18px rgba(34, 214, 255, 0.14);
    transform: translateX(-1rem);
}

.timeline-date {
    color: rgba(140, 234, 255, 0.72);
    font-family: var(--display);
    font-size: 0.84rem;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: 0;
}

.timeline-body h3 {
    margin-bottom: 0.35rem;
}

.timeline-body .company {
    margin: 0 0 0.65rem;
    color: rgba(244, 249, 251, 0.52);
    font-size: 0.95rem;
}

.timeline-body p:last-child {
    margin-bottom: 0;
}

.capabilities {
    position: relative;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 7rem max(28px, calc((100vw - var(--max)) / 2));
    overflow: hidden;
    border-bottom: 0;
    background: transparent;
}

.capabilities::before {
    display: none;
}

.capabilities > * {
    position: relative;
    z-index: 1;
    width: min(100%, var(--max));
    margin-left: auto;
    margin-right: auto;
}

.capability i {
    display: inline-grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(140, 234, 255, 0.16);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(216, 251, 255, 0.08), rgba(34, 214, 255, 0.1));
    color: rgba(140, 234, 255, 0.86);
    font-size: 1.1rem;
}

.capability-grid {
    gap: 2.2rem;
    border-top: 0;
    padding-top: 1.7rem;
}

.capability {
    overflow: visible;
    min-height: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0 1.4rem 0 0;
    box-shadow: none;
    backdrop-filter: none;
    transition: none;
}

.capability::before,
.capability::after {
    display: none;
}

.capability:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.capability h3 {
    max-width: 21rem;
}

.capability p {
    max-width: 23rem;
}

.contact-section {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(260px, 0.28fr);
    gap: 3rem;
    align-items: end;
    padding: 7rem 0;
    color: var(--ink);
}

.contact-location {
    margin: -0.5rem 0 1.3rem;
    color: rgba(216, 251, 255, 0.64);
    font-size: 0.98rem;
    font-weight: 650;
}

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

.contact-links a {
    width: 100%;
    max-width: 13rem;
    border: 1px solid rgba(140, 234, 255, 0.16);
    background: linear-gradient(135deg, rgba(216, 251, 255, 0.08), rgba(34, 214, 255, 0.08));
    color: var(--ink);
    padding: 0.85rem 1rem;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 0 2.1rem;
    border-top: 1px solid var(--line);
    color: rgba(244, 249, 251, 0.5);
    font-size: 0.86rem;
}

.has-js .reveal {
    opacity: 0;
    filter: none;
    transform: translateY(22px) scale(0.99);
    transition: opacity 720ms var(--ease), transform 720ms var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
}

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

.has-js .hero-content.is-visible .hero-signature span {
    animation: chip-glide 680ms var(--ease) both;
}

.has-js .hero-content.is-visible .hero-signature span:nth-child(1) {
    animation-delay: 260ms;
}

.has-js .hero-content.is-visible .hero-signature span:nth-child(2) {
    animation-delay: 340ms;
}

.has-js .hero-content.is-visible .hero-signature span:nth-child(3) {
    animation-delay: 420ms;
}

.has-js .hero-visual.is-visible .portrait-frame {
    animation: portrait-materialize 1100ms var(--ease) both;
}

.has-js .hero-visual.is-visible .role-panel {
    animation: material-rise 980ms var(--ease) 180ms both;
}

@media (max-width: 1120px) {
    .hero {
        gap: 3.4rem;
    }

    .hero h1 {
        font-size: 5.35rem;
    }

    .hero-statement {
        font-size: 1.26rem;
    }

    .section-heading h2,
    .contact-section h2 {
        font-size: 2.95rem;
    }
}

@media (max-width: 980px) {
    body {
        padding-top: 7.1rem;
    }

    .site-header {
        align-items: flex-start;
        gap: 1rem;
    }

    .site-nav {
        flex-wrap: wrap;
        justify-content: flex-end;
        border-radius: var(--radius);
    }

    .hero,
    .section-heading,
    .contact-section,
    .case-feature {
        grid-template-columns: 1fr;
    }

    .section-heading .eyebrow,
    .section-heading h2,
    .section-heading > p:last-child {
        grid-column: 1;
    }

    .hero {
        min-height: auto;
    }

    .hero::after {
        display: none;
    }

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

    .portrait-frame {
        height: 560px;
        min-height: 500px;
    }

    .work-grid,
    .capability-grid {
        grid-template-columns: 1fr;
    }

    .proof-strip,
    .signal-tape {
        grid-template-columns: 1fr;
    }

    .proof-strip div {
        min-height: 8.2rem;
        border-right: 0;
        border-bottom: 0;
    }

    .proof-strip div:last-child {
        border-bottom: 0;
    }

    .signal-tape {
        margin-top: 1rem;
    }

    .signal-tape span {
        min-height: 3rem;
    }

    .timeline-item::before {
        left: 0;
        transform: translateX(-1.05rem);
    }

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

@media (max-width: 680px) {
    html,
    body {
        width: 100%;
    }

    body {
        padding-top: 0;
    }

    .page-frame span {
        display: none;
    }

    .site-header,
    .section,
    .section-band,
    .proof-strip,
    .signal-tape,
    .contact-section,
    .site-footer {
        width: min(100% - 28px, var(--max));
    }

    .site-header {
        position: relative;
        z-index: 30;
        left: auto;
        flex-direction: column;
        align-items: stretch;
        padding-top: 0.95rem;
        padding-bottom: 1rem;
        border-bottom: 0;
        background: transparent;
        box-shadow: none;
        transform: none;
    }

    .brand-text {
        display: inline;
        color: rgba(244, 249, 251, 0.94);
        font-weight: 760;
        text-shadow: none;
    }

    .site-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: 100%;
        justify-content: stretch;
        gap: 0;
        border-color: rgba(140, 234, 255, 0.12);
        background: rgba(6, 16, 27, 0.82);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.3);
    }

    .site-nav a[href="#contact"] {
        display: none;
    }

    .site-nav a {
        color: rgba(244, 249, 251, 0.72);
        font-weight: 700;
        text-shadow: none;
        overflow: hidden;
        padding: 0.58rem 0.16rem;
        font-size: 0.62rem;
        text-align: center;
    }

    .hero {
        gap: 2.2rem;
        padding-top: 2.55rem;
        padding-bottom: 3.4rem;
    }

    .hero-cinema {
        top: -9rem;
        bottom: -6rem;
    }

    .background-bridge {
        display: none;
        height: 0;
        margin: 0;
        background: transparent;
    }

    .hero::before {
        top: 1.55rem;
        left: 0;
    }

    .hero .eyebrow {
        font-size: 0.92rem;
        line-height: 1.45;
    }

    .hero h1 {
        max-width: 100%;
        font-size: 3.55rem;
        line-height: 0.94;
    }

    .hero h1 span {
        display: block;
    }

    .hero-statement {
        max-width: 22rem;
        font-size: 1.1rem;
        line-height: 1.42;
    }

    .section-heading h2,
    .contact-section h2 {
        font-size: 2.18rem;
        line-height: 1.1;
    }

    .hero-copy,
    .section-heading > p:last-child {
        max-width: 100%;
        font-size: 0.96rem;
    }

    .hero-signature {
        grid-template-columns: 1fr;
        margin-top: 1.5rem;
    }

    .hero-signature span {
        min-height: 2.9rem;
        font-size: 0.74rem;
    }

    .hero-actions .button {
        width: auto;
        min-width: 13.6rem;
    }

    .portrait-frame {
        height: 460px;
        min-height: 400px;
    }

    .hero-visual::before {
        inset: 0.8rem -0.5rem auto auto;
    }

    .role-panel {
        width: 100%;
        margin-top: 1rem;
    }

    .system-flow {
        gap: 0.65rem;
        padding-top: 1rem;
    }

    .system-flow li {
        font-size: 0.68rem;
    }

    .system-flow li::before {
        font-size: 0.58rem;
    }

    .section,
    .section-muted,
    .contact-section {
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .case-copy {
        padding: 1.35rem;
    }

    .case-copy h3 {
        font-size: 1.72rem;
    }

    .case-system div {
        min-height: 6.5rem;
    }

    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }

    .timeline-item::before {
        display: none;
    }

    .work-card,
    .capability {
        padding: 1.25rem;
    }

    .capability {
        padding: 0;
    }

    .card-topline {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 1.6rem;
    }

    .contact-links a {
        max-width: none;
    }

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

@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;
    }

    .has-js .reveal {
        opacity: 1;
        filter: none;
        transform: none;
    }

    .hero-cinema video {
        animation: none !important;
    }
}
