:root {
    --bg-0: #07101f;
    --bg-1: #0e1d37;
    --bg-2: #163056;
    --surface-0: rgba(18, 33, 59, 0.76);
    --surface-1: rgba(21, 42, 75, 0.86);
    --surface-2: rgba(19, 44, 82, 0.94);
    --line: rgba(141, 175, 228, 0.3);
    --line-strong: rgba(170, 201, 248, 0.58);
    --text-0: #f3f4ea;
    --text-1: #ced7e6;
    --text-2: #95a4bf;
    --cyan: #86b6ff;
    --magenta: #ff9a66;
    --acid: #ffd37f;
    --ok: #9dd8ff;
    --radius: 18px;
    --radius-sm: 12px;
    --container: 1160px;
    --shadow-soft: 0 14px 38px rgba(4, 11, 24, 0.56);
    --shadow-glow: 0 0 0 1px rgba(130, 177, 245, 0.24), 0 0 26px rgba(84, 126, 204, 0.18);
    --ease: 240ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Manrope", "Segoe UI", sans-serif;
    color: var(--text-0);
    background:
        radial-gradient(1180px circle at 10% 4%, rgba(133, 177, 255, 0.26), transparent 48%),
        radial-gradient(900px circle at 88% 9%, rgba(255, 153, 102, 0.18), transparent 46%),
        linear-gradient(180deg, #050b16 0%, var(--bg-0) 24%, var(--bg-1) 58%, var(--bg-2) 100%);
    line-height: 1.65;
    min-height: 100vh;
    overflow-x: hidden;
}

h1,
h2,
h3,
.kicker,
.brand-wordmark,
.button,
.card-label {
    font-family: "Chakra Petch", "Trebuchet MS", sans-serif;
    letter-spacing: 0.02em;
}

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

a {
    color: inherit;
}

.container {
    width: min(var(--container), calc(100% - 2.4rem));
    margin-inline: auto;
}

.section {
    padding: 5.5rem 0;
    position: relative;
}

.page-noise {
    position: fixed;
    inset: 0;
    background-image:
        repeating-linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.025) 0,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px,
            transparent 3px
        );
    pointer-events: none;
    opacity: 0.11;
    z-index: 2;
}

.ambient-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.signal {
    position: absolute;
    border-radius: 999px;
    filter: blur(60px);
    opacity: 0.28;
    animation: drift 16s ease-in-out infinite;
}

.signal-a {
    width: 340px;
    height: 340px;
    background: rgba(134, 182, 255, 0.62);
    top: 16%;
    left: -4%;
}

.signal-b {
    width: 420px;
    height: 420px;
    background: rgba(255, 154, 102, 0.46);
    top: 46%;
    right: -8%;
    animation-delay: -4s;
}

.signal-c {
    width: 220px;
    height: 220px;
    background: rgba(181, 217, 255, 0.36);
    bottom: 8%;
    left: 32%;
    animation-delay: -8s;
}

@keyframes drift {
    0%,
    100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(24px, -20px);
    }
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(12px);
    background: rgba(7, 16, 30, 0.78);
    border-bottom: 1px solid rgba(151, 183, 236, 0.27);
}

.navbar {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    padding: 0.42rem;
    border-radius: 999px;
    border: 1px solid rgba(151, 188, 248, 0.42);
    background: linear-gradient(126deg, rgba(14, 26, 46, 0.92), rgba(18, 38, 70, 0.92));
    box-shadow:
        inset 0 0 0 1px rgba(207, 226, 255, 0.1),
        0 0 24px rgba(125, 171, 255, 0.22),
        0 10px 22px rgba(2, 8, 18, 0.48);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.brand-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(94, 215, 255, 0.3));
}

.brand-wordmark {
    font-size: 1.4rem;
    font-weight: 700;
}

.menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.52rem;
}

.menu li {
    display: flex;
    align-items: center;
}

.menu a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.45rem 0.84rem;
    border-radius: 999px;
    border: 1px solid rgba(144, 181, 236, 0.3);
    background: linear-gradient(128deg, rgba(28, 45, 74, 0.76), rgba(17, 31, 54, 0.8));
    color: #eaf0ff;
    font-weight: 700;
    font-size: 0.92rem;
    text-shadow: 0 0 10px rgba(115, 162, 245, 0.24);
    transition: transform var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease), background var(--ease);
}

.menu a::before {
    content: "";
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: linear-gradient(138deg, #8ab7ff, #4e78c0);
    color: #081a34;
    font-size: 0.61rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.menu a[href$="index.html"]::before {
    content: "H";
}

.menu a[href$="work.html"]::before {
    content: "W";
}

.menu a[href$="capabilities.html"]::before {
    content: "C";
}

.menu a[href$="team.html"]::before {
    content: "T";
}

.menu a[href$="contact.html"]::before {
    content: "+";
}

.menu .button-sm {
    padding: 0.45rem 0.84rem;
    font-size: 0.92rem;
    border: 1px solid rgba(255, 191, 150, 0.5);
    background: linear-gradient(128deg, rgba(255, 176, 129, 0.96), rgba(255, 147, 88, 0.96));
    color: #222028;
    box-shadow: none;
    filter: none;
}

.menu .button-sm:hover {
    filter: none;
}

.menu a:hover,
.menu a.active {
    color: #fefbf2;
    transform: translateY(-1px);
    border-color: rgba(255, 186, 139, 0.8);
    background: linear-gradient(130deg, rgba(38, 58, 91, 0.86), rgba(20, 35, 60, 0.85));
    box-shadow:
        0 0 14px rgba(255, 154, 102, 0.24),
        0 0 24px rgba(130, 177, 245, 0.28),
        0 10px 20px rgba(6, 10, 20, 0.42);
}

.menu a[aria-current="page"] {
    color: #fffdf3;
    border-color: rgba(255, 188, 136, 0.84);
    box-shadow:
        inset 0 0 0 1px rgba(255, 203, 162, 0.2),
        0 0 16px rgba(255, 154, 102, 0.28);
}

.social-cluster {
    display: flex;
    align-items: center;
}

.social-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.45rem 0.84rem;
    border-radius: 999px;
    border: 1px solid rgba(145, 181, 236, 0.33);
    text-decoration: none;
    color: #eaf2ff;
    font-size: 0.9rem;
    font-weight: 700;
    background: linear-gradient(126deg, rgba(28, 45, 74, 0.86), rgba(16, 31, 55, 0.88));
    text-shadow: 0 0 10px rgba(115, 162, 245, 0.2);
    transition: border-color var(--ease), transform var(--ease), background var(--ease), box-shadow var(--ease), color var(--ease);
}

.social-pill::before {
    content: "G";
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: linear-gradient(138deg, #8ab7ff, #4e78c0);
    color: #081a34;
    font-size: 0.61rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 188, 136, 0.76);
    color: #fdfaf2;
    background: linear-gradient(126deg, rgba(36, 56, 88, 0.9), rgba(20, 36, 62, 0.9));
    box-shadow:
        0 0 16px rgba(255, 154, 102, 0.24),
        0 0 24px rgba(130, 177, 245, 0.22),
        0 10px 20px rgba(6, 10, 20, 0.42);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 9px 7px;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: var(--text-0);
    margin: 6px 0;
    transition: transform var(--ease), opacity var(--ease);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #1d1f2a;
    font-size: 0.95rem;
    font-weight: 700;
    background: linear-gradient(115deg, #ffe0a0, #ffad79);
    padding: 0.78rem 1.28rem;
    box-shadow: 0 10px 24px rgba(255, 157, 98, 0.24);
    transition: transform var(--ease), box-shadow var(--ease), filter var(--ease);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(255, 157, 98, 0.34);
    filter: saturate(1.05);
}

.button-sm {
    padding: 0.56rem 1rem;
    font-size: 0.86rem;
}

.button-ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--text-0);
    box-shadow: none;
}

.button-ghost:hover {
    border-color: rgba(255, 189, 144, 0.62);
    box-shadow: 0 0 20px rgba(255, 157, 98, 0.2);
}

.kicker {
    color: var(--cyan);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.11em;
    margin-bottom: 0.9rem;
}

.hero {
    padding-top: 6.8rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1.5rem;
}

.hero-copy {
    background: linear-gradient(160deg, rgba(18, 35, 62, 0.78), rgba(10, 23, 42, 0.9));
    border: 1px solid rgba(141, 175, 228, 0.35);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    border-radius: var(--radius);
    padding: clamp(1.2rem, 2.2vw, 2.4rem);
}

.hero-copy h1 {
    font-size: clamp(2rem, 4.2vw, 3.9rem);
    line-height: 1.08;
    margin-bottom: 1.15rem;
}

.hero-copy p {
    color: var(--text-1);
    max-width: 66ch;
    font-size: clamp(1rem, 1.5vw, 1.15rem);
}

.hero-cta {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.hero-panel {
    border-radius: var(--radius);
    border: 1px solid rgba(141, 175, 228, 0.34);
    background: linear-gradient(165deg, rgba(21, 38, 67, 0.9), rgba(12, 22, 40, 0.88));
    box-shadow: var(--shadow-soft);
    padding: 1.5rem;
}

.hero-panel h2 {
    font-size: 1.22rem;
    margin-bottom: 0.75rem;
}

.hero-panel ul {
    list-style: none;
    display: grid;
    gap: 0.72rem;
}

.hero-panel li {
    border: 1px solid rgba(170, 201, 248, 0.18);
    border-radius: var(--radius-sm);
    background: rgba(8, 18, 33, 0.56);
    padding: 0.8rem;
    display: grid;
    gap: 0.2rem;
}

.hero-panel li span {
    color: var(--text-2);
    font-size: 0.9rem;
}

.hero-panel li strong {
    font-size: 0.98rem;
    color: var(--text-0);
}

.section-heading {
    margin-bottom: 1.5rem;
}

.section-heading h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    line-height: 1.15;
}

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

.work-grid-single {
    grid-template-columns: minmax(0, 1fr);
    max-width: 1100px;
}

.feature-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.74fr) minmax(0, 1.26fr);
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    border: 1px solid rgba(129, 166, 226, 0.45);
    background: #070d1a;
    box-shadow: var(--shadow-soft), 0 0 0 1px rgba(129, 166, 226, 0.22);
    min-height: 340px;
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 177, 128, 0.78);
    box-shadow: var(--shadow-soft), 0 0 34px rgba(255, 156, 103, 0.2);
}

.feature-card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.72rem;
    padding: clamp(1.1rem, 2.4vw, 1.65rem);
    color: #1e2330;
    background: linear-gradient(165deg, #f4f4ea 0%, #e6edf9 100%);
}

.feature-app-icon {
    width: clamp(58px, 8vw, 78px);
    height: clamp(58px, 8vw, 78px);
    object-fit: contain;
    margin-bottom: 0.15rem;
}

.card-label {
    display: inline-block;
    text-transform: uppercase;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    color: var(--acid);
    margin-bottom: 0.7rem;
}

.feature-card h3 {
    font-size: clamp(1.7rem, 3vw, 3.1rem);
    margin-bottom: 0.2rem;
    line-height: 0.98;
    color: #3d66a6;
}

.feature-card .card-label {
    margin-bottom: 0;
    color: #304567;
}

.feature-card p {
    color: #2a3c58;
}

.app-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: 0.22rem 0.56rem;
    font-size: 0.73rem;
    font-weight: 700;
    color: #edf3ff;
    background: #1f2e4a;
}

.app-badge-star {
    background: #294067;
}

.app-badge-accent {
    background: #ff9d67;
    color: #30261f;
}

.feature-card .chip-row {
    margin-top: 0.2rem;
}

.feature-card .chip-row span {
    border-color: rgba(53, 78, 115, 0.34);
    color: #243a59;
    background: rgba(53, 78, 115, 0.1);
    font-weight: 700;
}

.feature-card .button-ghost {
    border-color: rgba(53, 78, 115, 0.42);
    color: #18263f;
    background: rgba(255, 255, 255, 0.52);
}

.feature-card .button-ghost:hover {
    border-color: rgba(53, 78, 115, 0.72);
    background: rgba(255, 255, 255, 0.74);
    box-shadow: none;
}

.feature-card-preview {
    position: relative;
    display: block;
    min-height: 340px;
    text-decoration: none;
    background: #060c18;
    overflow: hidden;
}

.feature-card-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 22%;
    transform: scale(1.01);
    transition: transform 460ms ease, filter 460ms ease;
    filter: contrast(1.06) saturate(1.08);
}

.feature-card-preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(4, 7, 14, 0.08) 8%, rgba(4, 7, 14, 0.8) 84%),
        repeating-linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.05) 0,
            rgba(255, 255, 255, 0.05) 1px,
            transparent 1px,
            transparent 3px
        );
    pointer-events: none;
}

.feature-card-preview::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 14px;
    border: 1px solid rgba(129, 166, 226, 0.38);
    pointer-events: none;
}

.feature-card-preview-text {
    position: absolute;
    top: 1.1rem;
    left: 1.1rem;
    font-size: 0.82rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: #cde3ff;
    font-weight: 700;
    font-family: "Chakra Petch", "Trebuchet MS", sans-serif;
}

.feature-card-preview-cta {
    position: absolute;
    right: 1.1rem;
    bottom: 1.1rem;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #f9f5ef;
    font-weight: 700;
    font-family: "Chakra Petch", "Trebuchet MS", sans-serif;
    border-radius: 999px;
    border: 1px solid rgba(255, 214, 176, 0.42);
    background: linear-gradient(120deg, rgba(78, 120, 193, 0.95), rgba(255, 157, 103, 0.9));
    padding: 0.34rem 0.76rem;
}

.feature-card-preview:hover img,
.feature-card-preview:focus-visible img {
    transform: scale(1.07);
    filter: contrast(1.12) saturate(1.18);
}

.feature-card-preview:focus-visible {
    outline: 2px solid rgba(210, 255, 91, 0.72);
    outline-offset: -2px;
}

.launch-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    font-weight: 800;
    color: #9fd8ff;
    background: linear-gradient(110deg, #22f5d2 0%, #24b7ff 42%, #8a6bff 72%, #ff4ca8 100%);
    border-radius: 999px;
    padding: 0.38rem 0.95rem;
    margin-bottom: 0.8rem;
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.24),
        0 0 24px rgba(36, 183, 255, 0.34),
        0 6px 20px rgba(8, 28, 52, 0.45);
    text-shadow: 0 1px 0 rgba(7, 16, 24, 0.55), 0 0 8px rgba(159, 216, 255, 0.3);
}

.chip-row {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.chip-row span {
    font-size: 0.74rem;
    border: 1px solid rgba(119, 210, 255, 0.4);
    color: var(--text-1);
    border-radius: 999px;
    padding: 0.23rem 0.58rem;
    background: rgba(12, 28, 46, 0.72);
}

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

.page-link-card {
    text-decoration: none;
    background: linear-gradient(150deg, rgba(13, 28, 46, 0.9), rgba(9, 18, 31, 0.95));
    border: 1px solid rgba(119, 210, 255, 0.32);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease);
}

.page-link-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 92, 168, 0.6);
    box-shadow: var(--shadow-soft), 0 0 32px rgba(255, 92, 168, 0.12);
}

.page-link-card h3 {
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    margin-bottom: 0.5rem;
}

.page-link-card p {
    color: var(--text-1);
}

.media-showcase {
    padding-top: 1.1rem;
    padding-bottom: 1.4rem;
}

.media-showcase .kicker {
    color: #94a3bd;
}

.media-showcase .section-heading h2 {
    color: #e8ecf2;
    max-width: 24ch;
}

.cor-media-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
    align-items: start;
}

.cor-media-item {
    position: relative;
    border: 1px solid rgba(175, 188, 208, 0.3);
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 206px;
    background: linear-gradient(160deg, rgba(17, 22, 31, 0.95), rgba(11, 15, 22, 0.98));
    box-shadow: 0 14px 28px rgba(2, 8, 16, 0.48);
}

.cor-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
    animation: cor-pan 18s ease-in-out infinite alternate;
    filter: saturate(0.82) contrast(1.04) brightness(0.95);
}

.cor-media-video {
    display: block;
}

.cor-media-item:hover .cor-media-image {
    filter: saturate(0.92) contrast(1.08) brightness(1);
}

.cor-media-item.is-ui-preview .cor-media-image,
.cor-media-item.is-ui-preview:hover .cor-media-image {
    filter: none;
}

.cor-media-item:first-child .cor-media-image {
    object-position: center 40%;
}

.cor-media-item.is-ui-preview {
    display: grid;
    grid-template-columns: minmax(152px, 0.66fr) minmax(0, 1.34fr);
    width: 100%;
    justify-self: start;
    min-height: 206px;
    background: linear-gradient(158deg, rgba(17, 21, 29, 0.98), rgba(11, 14, 20, 0.98));
    border-color: rgba(185, 194, 210, 0.42);
}

@media (min-width: 821px) {
    .cor-media-item.is-ui-preview {
        grid-column: span 2;
        min-height: 206px;
    }
}

.cor-ui-copy {
    padding: 0.78rem 0.78rem;
    border-right: 1px solid rgba(164, 175, 193, 0.44);
    background: linear-gradient(154deg, rgba(233, 237, 245, 0.97), rgba(214, 221, 234, 0.95));
    color: #232a35;
}

.cor-ui-copy .card-label {
    color: #788399;
    margin-bottom: 0.36rem;
}

.cor-ui-copy h3 {
    font-size: clamp(0.98rem, 1.35vw, 1.2rem);
    line-height: 1.1;
    margin-bottom: 0.45rem;
    color: #232b37;
}

.cor-ui-copy p {
    color: #4f5a6d;
    font-size: 0.78rem;
    line-height: 1.32;
}

.cor-ui-prompt {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    border-radius: 999px;
    border: 1px solid rgba(149, 162, 185, 0.6);
    background: rgba(220, 227, 240, 0.86);
    color: #5f6f8b;
    font-family: "Chakra Petch", "Trebuchet MS", sans-serif;
    font-size: 0.64rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.18rem 0.45rem;
}

.cor-ui-visual {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
    perspective: 1300px;
    background:
        radial-gradient(560px circle at 82% 22%, rgba(165, 176, 198, 0.18), transparent 62%),
        linear-gradient(150deg, rgba(12, 16, 22, 0.99), rgba(8, 12, 18, 0.99));
}

.cor-ui-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 15, 27, 0) 38%, rgba(7, 12, 18, 0.45) 100%);
    pointer-events: none;
}

.cor-ui-visual::after {
    content: "";
    position: absolute;
    left: -14px;
    top: -10%;
    width: 24px;
    height: 120%;
    transform: skewX(-11deg);
    background: linear-gradient(180deg, rgba(230, 236, 246, 0.94), rgba(206, 214, 229, 0.88));
    box-shadow: 0 0 0 1px rgba(189, 199, 216, 0.42);
    pointer-events: none;
}

.cor-ui-visual .cor-media-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 45% 46%;
    transform: scale(1.03) rotateY(-5deg) rotateX(1deg);
    transform-origin: center center;
    animation: none;
    filter: none;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    box-shadow:
        0 12px 24px rgba(2, 8, 16, 0.64),
        0 0 20px rgba(90, 160, 255, 0.14);
    transition: transform var(--ease), filter var(--ease);
    z-index: 1;
}

.cor-media-item.is-ui-preview:hover .cor-ui-visual .cor-media-image {
    transform: scale(1.05) rotateY(-2deg) rotateX(0deg);
    filter: none;
}

.cor-media-item:nth-child(3) .cor-media-image {
    object-position: center 24%;
    animation-delay: -8s;
}

.cor-media-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.7rem 0.9rem;
    font-size: 0.84rem;
    font-weight: 700;
    color: #dde3ef;
    background: linear-gradient(180deg, rgba(10, 14, 20, 0), rgba(10, 14, 20, 0.9));
}

@keyframes cor-pan {
    0% {
        transform: scale(1.02) translate(0, 0);
        filter: saturate(0.96);
    }
    100% {
        transform: scale(1.1) translate(-1.2%, -1%);
        filter: saturate(1.12);
    }
}

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

.capability-card {
    background: linear-gradient(150deg, rgba(10, 23, 37, 0.94), rgba(16, 31, 50, 0.95));
    border: 1px solid rgba(255, 92, 168, 0.28);
    border-radius: var(--radius-sm);
    padding: 1rem;
}

.capability-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.58rem;
}

.capability-card p {
    color: var(--text-1);
}

.capability-card .meta {
    margin-top: 0.72rem;
    color: var(--text-2);
    font-size: 0.88rem;
}

.process-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.95rem;
}

.process-card {
    border-radius: var(--radius-sm);
    border: 1px solid rgba(119, 210, 255, 0.26);
    background: var(--surface-0);
    padding: 1rem;
}

.process-card span {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: rgba(94, 215, 255, 0.2);
    color: var(--cyan);
    font-size: 0.86rem;
    font-weight: 700;
}

.process-card h3 {
    margin-top: 0.7rem;
    margin-bottom: 0.42rem;
    font-size: 1.28rem;
}

.process-card p {
    color: var(--text-1);
}

.proof-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 1.2fr;
    gap: 0.85rem;
}

.proof-item,
.testimonial {
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: var(--surface-1);
    padding: 0.95rem;
}

.proof-item strong {
    font-size: clamp(1.6rem, 4vw, 2.3rem);
    color: var(--acid);
    line-height: 1;
}

.proof-item p {
    color: var(--text-1);
    margin-top: 0.36rem;
    font-size: 0.94rem;
}

.testimonial {
    align-self: stretch;
    color: var(--text-0);
    font-size: 1rem;
}

.testimonial cite {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-2);
    font-style: normal;
    font-size: 0.9rem;
}

.developer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.9rem;
}

.developer-card {
    background: linear-gradient(150deg, rgba(12, 26, 42, 0.92), rgba(10, 21, 35, 0.95));
    border: 1px solid rgba(119, 210, 255, 0.34);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow-soft);
}

.developer-card h3 {
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    margin-bottom: 0.3rem;
}

.developer-role {
    color: var(--acid);
    font-weight: 700;
    margin-bottom: 0.7rem;
}

.developer-card p {
    color: var(--text-1);
}

.profile-link {
    margin-top: 1rem;
}

.profile-link-muted {
    opacity: 0.75;
    cursor: default;
    pointer-events: none;
}

.contact-section {
    padding-bottom: 4.2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-copy {
    background: var(--surface-0);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.2rem;
}

.contact-copy h2 {
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    line-height: 1.14;
    margin-bottom: 0.72rem;
}

.contact-copy p {
    color: var(--text-1);
}

.contact-copy ul {
    margin-top: 0.9rem;
    list-style: none;
    display: grid;
    gap: 0.52rem;
}

.contact-copy li {
    position: relative;
    padding-left: 1rem;
    color: var(--text-1);
}

.contact-copy li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--acid);
    position: absolute;
    top: 0.63rem;
    left: 0;
}

.contact-form {
    border: 1px solid rgba(255, 92, 168, 0.34);
    border-radius: var(--radius);
    background: var(--surface-2);
    padding: 1.2rem;
    display: grid;
    gap: 0.8rem;
}

.contact-form label {
    display: grid;
    gap: 0.4rem;
    font-size: 0.88rem;
    color: var(--text-1);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid rgba(119, 210, 255, 0.36);
    border-radius: 10px;
    background: rgba(7, 16, 24, 0.82);
    color: var(--text-0);
    font: inherit;
    padding: 0.67rem 0.75rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(94, 215, 255, 0.35);
    outline-offset: 1px;
}

.form-status {
    min-height: 1.2em;
    color: var(--text-1);
    font-size: 0.9rem;
}

.site-footer {
    border-top: 1px solid rgba(116, 198, 255, 0.3);
    background:
        radial-gradient(1200px circle at 16% -30%, rgba(127, 94, 255, 0.34), transparent 56%),
        radial-gradient(900px circle at 88% -15%, rgba(92, 231, 255, 0.22), transparent 58%),
        linear-gradient(180deg, rgba(8, 16, 28, 0.96), rgba(7, 14, 24, 0.95));
    padding: 2.3rem 0 1.3rem;
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1.4rem;
    align-items: start;
}

.footer-brand {
    font-family: "Chakra Petch", sans-serif;
    font-size: 1.35rem;
    margin-bottom: 0.4rem;
}

.footer-grid p {
    color: var(--text-1);
}

.footer-grid ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.65rem;
    width: auto;
    padding: 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(142, 117, 255, 0.45);
    background: linear-gradient(128deg, rgba(10, 20, 35, 0.9), rgba(13, 26, 44, 0.9));
    box-shadow:
        inset 0 0 0 1px rgba(92, 231, 255, 0.08),
        0 0 28px rgba(121, 95, 255, 0.22),
        0 10px 24px rgba(3, 10, 20, 0.46);
}

.footer-grid a,
.footer-toggle-line {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.44rem;
    padding: 0.46rem 0.88rem;
    border-radius: 999px;
    border: 1px solid rgba(124, 184, 255, 0.26);
    background: linear-gradient(126deg, rgba(28, 43, 74, 0.72), rgba(20, 33, 57, 0.82));
    color: #d8e9ff;
    font-weight: 700;
    font-family: "Chakra Petch", "Trebuchet MS", sans-serif;
    font-size: 0.96rem;
    white-space: nowrap;
    text-shadow: 0 0 10px rgba(92, 231, 255, 0.24);
    transition: transform var(--ease), border-color var(--ease), box-shadow var(--ease), color var(--ease);
}

.footer-toggle-line {
    appearance: none;
    cursor: pointer;
    max-width: min(100%, 360px);
    overflow: hidden;
    border-color: rgba(94, 230, 255, 0.44);
    background: linear-gradient(128deg, rgba(27, 49, 84, 0.9), rgba(31, 39, 77, 0.92));
    box-shadow:
        inset 0 0 0 1px rgba(165, 130, 255, 0.2),
        0 0 22px rgba(94, 230, 255, 0.28);
}

.footer-grid a::before,
.footer-toggle-line::before {
    content: "";
    width: 1.12rem;
    height: 1.12rem;
    border-radius: 50%;
    background: linear-gradient(130deg, rgba(94, 230, 255, 0.82), rgba(168, 119, 255, 0.85));
    color: #081322;
    font-size: 0.67rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-toggle-line::before {
    content: "<>";
    font-size: 0.55rem;
    letter-spacing: -0.03em;
}

.footer-grid a[href$="work.html"]::before {
    content: "W";
}

.footer-grid a[href$="capabilities.html"]::before {
    content: "C";
}

.footer-grid a[href$="team.html"]::before {
    content: "T";
}

.footer-grid a[href$="contact.html"]::before {
    content: "+";
}

.footer-grid a:hover,
.footer-toggle-line:hover {
    color: #f3fbff;
    transform: translateY(-2px);
    border-color: rgba(95, 235, 255, 0.7);
    box-shadow:
        0 0 18px rgba(95, 235, 255, 0.32),
        0 0 28px rgba(124, 94, 255, 0.3),
        0 10px 22px rgba(9, 12, 30, 0.44);
}

.footer-toggle-line.is-alt {
    color: #bcf7ff;
    border-color: rgba(162, 121, 255, 0.66);
    box-shadow:
        inset 0 0 0 1px rgba(162, 121, 255, 0.3),
        0 0 26px rgba(162, 121, 255, 0.32);
}

.footer-grid a:focus-visible,
.footer-toggle-line:focus-visible {
    outline: 2px solid rgba(95, 235, 255, 0.88);
    outline-offset: 2px;
}

.copyright {
    margin-top: 1.2rem;
    text-align: center;
    color: #97abc3;
    font-size: 0.87rem;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 560ms ease, transform 560ms ease;
}

[data-reveal].in-view {
    opacity: 1;
    transform: translateY(0);
}

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

    .proof-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial {
        grid-column: 1 / -1;
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .nav-right {
        margin-left: 0;
        gap: 0.5rem;
        padding: 0;
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .menu {
        position: absolute;
        right: 1.2rem;
        top: 76px;
        width: min(300px, calc(100% - 2.4rem));
        border-radius: 14px;
        border: 1px solid var(--line);
        background: rgba(8, 16, 27, 0.97);
        box-shadow: var(--shadow-soft);
        padding: 0.8rem;
        flex-direction: column;
        align-items: stretch;
        gap: 0.4rem;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transition: opacity var(--ease), transform var(--ease);
    }

    .menu.open {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .menu li,
    .menu a,
    .menu .button-sm {
        width: 100%;
    }

    .menu a {
        padding: 0.5rem 0.45rem;
    }

    .menu .button-sm {
        text-align: center;
        margin-top: 0.2rem;
    }

    .work-grid,
    .page-link-grid,
    .cor-media-grid,
    .capability-grid,
    .process-grid,
    .proof-strip,
    .developer-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        grid-template-columns: 1fr;
    }

    .feature-card-preview {
        min-height: 250px;
    }

    .cor-media-item.is-ui-preview {
        grid-template-columns: 1fr;
        min-height: 0;
        width: 100%;
    }

    .cor-ui-copy {
        border-right: 0;
        border-bottom: 1px solid rgba(164, 175, 193, 0.34);
    }

    .cor-ui-visual {
        min-height: 176px;
        justify-content: center;
        padding-left: 0;
    }

    .cor-ui-visual .cor-media-image,
    .cor-media-item.is-ui-preview:hover .cor-ui-visual .cor-media-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 45% 46%;
        transform: scale(1.03);
    }

    .navbar {
        min-height: 74px;
    }

    .brand-logo {
        width: 48px;
        height: 48px;
    }

    .brand-wordmark {
        font-size: 1.2rem;
    }

    .footer-grid ul {
        justify-content: flex-start;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(var(--container), calc(100% - 1.25rem));
    }

    .section {
        padding: 4.2rem 0;
    }

    .hero {
        padding-top: 5.6rem;
    }

    .hero-copy,
    .hero-panel,
    .feature-card-meta,
    .capability-card,
    .process-card,
    .proof-item,
    .testimonial,
    .contact-copy,
    .contact-form {
        padding: 0.92rem;
    }

    .feature-card-preview {
        min-height: 220px;
    }

    .feature-card-preview::after {
        inset: 9px;
    }
}

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

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

    [data-reveal] {
        opacity: 1;
        transform: none;
    }
}
