:root {
    --bg: #030409;
    --bg-soft: #080b12;
    --panel: rgba(255, 255, 255, 0.045);
    --panel-strong: rgba(255, 255, 255, 0.075);
    --text: #f6f7fb;
    --muted: #a6adbd;
    --line: rgba(255, 255, 255, 0.14);
    --line-soft: rgba(255, 255, 255, 0.08);
    --blue: #6e7cff;
    --cyan: #31d9ff;
    --green: #20d6b5;
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Space Grotesk", "Inter", sans-serif;
    --container: min(100% - 48px, 1280px);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    overflow-x: hidden;
}

body.nav-open {
    overflow: hidden;
}

body.admin-body {
    background: #05060a;
}

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

.site-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at 75% 15%, rgba(110, 124, 255, 0.18), transparent 28rem),
        radial-gradient(circle at 20% 45%, rgba(49, 217, 255, 0.08), transparent 22rem),
        var(--bg);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 18px max(24px, calc((100vw - 1280px) / 2));
    border-bottom: 1px solid transparent;
    transition: background 260ms ease, border-color 260ms ease, padding 260ms ease, backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
    padding-top: 12px;
    padding-bottom: 12px;
    border-color: var(--line-soft);
    background: rgba(3, 4, 9, 0.72);
    backdrop-filter: blur(20px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-display);
    font-weight: 700;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(135deg, rgba(110, 124, 255, 0.95), rgba(32, 214, 181, 0.78));
    color: #05060a;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.brand-name {
    font-size: clamp(1.04rem, 2vw, 1.32rem);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
    color: rgba(246, 247, 251, 0.78);
    font-size: 0.96rem;
}

.site-nav a {
    transition: color 180ms ease;
}

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

.nav-dropdown {
    position: relative;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    top: 100%;
    height: 10px;
    display: block;
}

.nav-dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.nav-dropdown-trigger span {
    color: var(--green);
    font-weight: 800;
}

.mega-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 78px;
    display: grid;
    grid-template-columns: minmax(260px, 0.25fr) minmax(0, 0.75fr);
    gap: clamp(30px, 4vw, 58px);
    padding: clamp(36px, 4.4vw, 58px) max(24px, calc((100vw - 1280px) / 2));
    background: #f2f3f6;
    color: #111318;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 120ms ease, transform 120ms ease, visibility 120ms ease;
}

.site-header.is-scrolled .mega-menu {
    top: 67px;
}

.nav-dropdown:hover .mega-menu,
.nav-dropdown:focus-within .mega-menu,
.nav-dropdown.is-open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.mega-tech {
    padding: clamp(24px, 3vw, 36px);
    background: #fff;
}

.mega-tech h2,
.mega-column h2 {
    margin: 0 0 26px;
    color: #08090d;
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 1.7vw, 1.65rem);
    line-height: 1;
}

.tech-cloud {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.tech-cloud span {
    display: grid;
    place-items: center;
    min-height: 42px;
    color: #08090d;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
}

.mega-columns {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(28px, 4vw, 54px);
}

.mega-column {
    min-width: 0;
}

.mega-column a {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 18px;
    color: rgba(17, 19, 24, 0.62);
    font-size: clamp(0.98rem, 1.35vw, 1.22rem);
    line-height: 1.25;
    transition: color 180ms ease, transform 180ms ease;
}

.mega-column a::after {
    content: "→";
    position: absolute;
    left: calc(100% + 8px);
    top: 0;
    color: var(--green);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.mega-column a:hover {
    color: #111318;
    transform: translateX(6px);
}

.mega-column a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.mega-more {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    color: rgba(17, 19, 24, 0.74);
    font-weight: 800;
    text-transform: uppercase;
}

.mega-more span {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #05060a;
    color: #fff;
}

.mega-column .inline-more {
    margin-top: 18px;
    font-size: 1rem;
    color: var(--green);
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 20px;
    border: 1px solid var(--line);
    font-weight: 700;
    transition: transform 200ms ease, border-color 200ms ease, background 200ms ease, color 200ms ease;
}

.nav-cta {
    background: rgba(246, 247, 251, 0.96);
    color: #05060a;
}

.button:hover,
.nav-cta:hover {
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transition: transform 200ms ease;
}

.nav-toggle.is-active span:first-child {
    transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle.is-active span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 410px);
    align-items: center;
    min-height: 720px;
    padding: 120px max(24px, calc((100vw - 1280px) / 2)) 72px;
    overflow: hidden;
    isolation: isolate;
    background: radial-gradient(circle at 48% 78%, rgba(27, 103, 214, 0.34), transparent 24rem);
}

.hero-depth-field {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.hero-depth-field {
    top: auto;
    height: 46%;
    perspective: 900px;
    overflow: hidden;
    background:
        linear-gradient(to top, rgba(3, 4, 9, 0.1), rgba(3, 4, 9, 0.78)),
        radial-gradient(ellipse at center bottom, rgba(45, 119, 255, 0.42), transparent 62%);
}

.hero-depth-field::before {
    content: "";
    position: absolute;
    inset: -10% -5% 0;
    background-image:
        linear-gradient(rgba(49, 217, 255, 0.14) 1px, transparent 1px),
        linear-gradient(90deg, rgba(49, 217, 255, 0.12) 1px, transparent 1px);
    background-size: 76px 76px;
    transform: rotateX(68deg) translateY(18%);
    transform-origin: bottom;
    opacity: 0.42;
}

.hero-depth-field span {
    position: absolute;
    left: calc(var(--i, 0) * 8.33%);
    bottom: calc((var(--row, 0) * 14px) - 18px);
    width: clamp(58px, 8vw, 132px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.75), transparent 12%),
        radial-gradient(circle at 50% 40%, rgba(120, 190, 255, 0.64), rgba(18, 38, 91, 0.28) 58%, rgba(2, 5, 13, 0.88) 76%);
    border: 1px solid rgba(105, 190, 255, 0.24);
    box-shadow: inset 0 0 24px rgba(110, 124, 255, 0.4), 0 0 26px rgba(22, 95, 210, 0.26);
    opacity: calc(0.22 + (var(--row, 0) * 0.04));
    transform: translateX(calc((var(--row, 0) - 2) * 18px)) scale(calc(1 + (var(--row, 0) * 0.09)));
}

.hero-depth-field span:nth-child(12n + 1) { --i: 0; }
.hero-depth-field span:nth-child(12n + 2) { --i: 1; }
.hero-depth-field span:nth-child(12n + 3) { --i: 2; }
.hero-depth-field span:nth-child(12n + 4) { --i: 3; }
.hero-depth-field span:nth-child(12n + 5) { --i: 4; }
.hero-depth-field span:nth-child(12n + 6) { --i: 5; }
.hero-depth-field span:nth-child(12n + 7) { --i: 6; }
.hero-depth-field span:nth-child(12n + 8) { --i: 7; }
.hero-depth-field span:nth-child(12n + 9) { --i: 8; }
.hero-depth-field span:nth-child(12n + 10) { --i: 9; }
.hero-depth-field span:nth-child(12n + 11) { --i: 10; }
.hero-depth-field span:nth-child(12n + 12) { --i: 11; }
.hero-depth-field span:nth-child(n + 1):nth-child(-n + 12) { --row: 0; }
.hero-depth-field span:nth-child(n + 13):nth-child(-n + 24) { --row: 1; }
.hero-depth-field span:nth-child(n + 25):nth-child(-n + 36) { --row: 2; }
.hero-depth-field span:nth-child(n + 37):nth-child(-n + 48) { --row: 3; }

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(3, 4, 9, 0.92) 0%, rgba(3, 4, 9, 0.7) 48%, rgba(3, 4, 9, 0.46) 100%);
    pointer-events: none;
}

.hero-content {
    max-width: 860px;
    align-self: center;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--green);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 900px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.6rem, 6.8vw, 6.65rem);
    line-height: 0.94;
    letter-spacing: 0;
}

.hero-copy {
    max-width: 790px;
    margin: 26px 0 0;
    color: rgba(246, 247, 251, 0.74);
    font-size: clamp(1rem, 1.45vw, 1.22rem);
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.button-primary {
    background: var(--text);
    color: #05060a;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.hero-circle-cta {
    position: absolute;
    left: 57%;
    bottom: 28%;
    z-index: 2;
    display: grid;
    place-items: center;
    width: clamp(132px, 12vw, 172px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 25%, rgba(255, 255, 255, 0.28), transparent 22%),
        linear-gradient(145deg, rgba(134, 99, 255, 0.96), rgba(71, 54, 154, 0.96));
    box-shadow: 0 24px 72px rgba(90, 74, 204, 0.46);
    color: var(--text);
    font-weight: 800;
    line-height: 1.12;
    text-align: center;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.hero-circle-cta:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 30px 90px rgba(90, 74, 204, 0.6);
}

.hero-circle-cta i {
    margin-top: 4px;
    font-style: normal;
    font-size: 1.25rem;
}

.hero-proof {
    align-self: center;
    display: grid;
    gap: 42px;
    justify-items: end;
}

.hero-stat {
    position: relative;
    width: min(100%, 310px);
    padding: 26px 30px;
    text-align: right;
}

.hero-stat::before,
.hero-stat::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: rgba(246, 247, 251, 0.68);
    border-style: solid;
}

.hero-stat::before {
    top: 0;
    left: 0;
    border-width: 1px 0 0 1px;
}

.hero-stat::after {
    right: 0;
    bottom: 0;
    border-width: 0 1px 1px 0;
}

.hero-stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 4.4rem);
    line-height: 0.9;
}

.hero-stat span {
    display: block;
    margin-top: 12px;
    color: rgba(246, 247, 251, 0.82);
    font-size: 1.05rem;
    line-height: 1.35;
}

.hero-rating {
    width: min(100%, 430px);
    padding: 22px 28px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.015), rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
    text-align: right;
    backdrop-filter: blur(10px);
}

.hero-rating span,
.project-copy p {
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.work-section .project-copy p {
    color: rgba(7, 8, 13, 0.56);
}

.hero-rating strong {
    display: block;
    margin: 8px 0;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
}

.hero-rating small {
    color: rgba(246, 247, 251, 0.7);
    font-size: 0.92rem;
    line-height: 1.5;
}

.intro-strip {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    width: var(--container);
    margin: 0 auto;
    padding: 46px 0;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.intro-strip p {
    margin: 0;
    max-width: 780px;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 3vw, 3rem);
    line-height: 1.05;
}

.intro-strip div {
    display: grid;
    gap: 12px;
    align-content: center;
    color: var(--muted);
}

.section {
    width: var(--container);
    margin: 0 auto;
    padding: clamp(96px, 12vw, 160px) 0;
}

.section-heading {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 48px;
    align-items: end;
    margin-bottom: 46px;
}

.section-heading h2,
.closing-band h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.75rem, 7vw, 7.2rem);
    line-height: 0.92;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line-soft);
}

.service-card {
    position: relative;
    min-height: 390px;
    padding: 28px;
    border-right: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.018);
    overflow: hidden;
    transition: background 220ms ease, transform 220ms ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.058);
    transform: translateY(-8px);
}

.service-number {
    display: block;
    color: rgba(246, 247, 251, 0.38);
    font-family: var(--font-display);
    font-size: clamp(3rem, 6vw, 5.8rem);
    line-height: 0.8;
}

.service-card h3 {
    margin: 88px 0 18px;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2vw, 2rem);
    line-height: 1;
}

.service-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.card-line {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--green), transparent);
    transform: scaleX(0.2);
    transform-origin: left;
    transition: transform 260ms ease;
}

.service-card:hover .card-line {
    transform: scaleX(1);
}

.why-minimal {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(420px, 1.15fr);
    gap: clamp(48px, 8vw, 120px);
    align-items: start;
    border-top: 1px solid var(--line-soft);
    border-bottom: 1px solid var(--line-soft);
}

.why-minimal-copy {
    position: sticky;
    top: 116px;
}

.why-minimal-copy h2 {
    max-width: 620px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.2rem, 6.8vw, 7.4rem);
    line-height: 0.9;
}

.why-minimal-copy > p:last-child {
    max-width: 520px;
    margin: 26px 0 0;
    color: rgba(246, 247, 251, 0.66);
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.55;
}

.why-minimal-list {
    border-top: 1px solid var(--line);
}

.why-minimal-item {
    position: relative;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr) 34px;
    gap: 28px;
    align-items: center;
    min-height: 156px;
    padding: 28px 0;
    border-bottom: 1px solid var(--line-soft);
    transition: transform 220ms ease, border-color 220ms ease, color 220ms ease;
}

.why-minimal-item:hover {
    transform: translateX(12px);
    border-color: rgba(32, 214, 181, 0.44);
}

.why-minimal-item > span {
    color: var(--green);
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
}

.why-minimal-item h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 2.6vw, 2.55rem);
    line-height: 1;
    text-transform: uppercase;
}

.why-minimal-item p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: clamp(0.98rem, 1.3vw, 1.14rem);
    line-height: 1.55;
    transition: color 220ms ease;
}

.why-minimal-item:hover p {
    color: rgba(246, 247, 251, 0.82);
}

.why-minimal-item i {
    color: var(--green);
    font-style: normal;
    font-size: 1.6rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 220ms ease, transform 220ms ease;
}

.why-minimal-item:hover i {
    opacity: 1;
    transform: translateX(0);
}

.work-section {
    width: 100%;
    margin: 0;
    padding-left: max(24px, calc((100vw - 1280px) / 2));
    padding-right: max(24px, calc((100vw - 1280px) / 2));
    background: #e9edf9;
    color: #07080d;
    overflow: hidden;
}

.work-intro {
    display: flex;
    justify-content: space-between;
    gap: 36px;
    align-items: end;
    margin-bottom: 56px;
}

.work-intro h2 {
    max-width: 820px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.8vw, 6.4rem);
    line-height: 0.96;
}

.work-intro p:last-child {
    max-width: 720px;
    margin: 14px 0 0;
    color: rgba(7, 8, 13, 0.62);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.65;
}

.carousel-controls {
    display: flex;
    flex: 0 0 auto;
    gap: 18px;
}

.carousel-controls button {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    border: 2px solid rgba(7, 8, 13, 0.82);
    border-radius: 50%;
    background: transparent;
    color: #07080d;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    transition: transform 180ms ease, background 180ms ease, color 180ms ease, opacity 180ms ease;
}

.carousel-controls button:hover {
    transform: translateY(-2px);
    background: #07080d;
    color: #f6f7fb;
}

.carousel-controls button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.project-carousel {
    position: relative;
    margin-right: calc(max(24px, calc((100vw - 1280px) / 2)) * -1);
}

.project-track {
    display: flex;
    gap: 64px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px max(24px, calc((100vw - 1280px) / 2)) 20px 0;
}

.project-track::-webkit-scrollbar {
    display: none;
}

.project-card {
    flex: 0 0 min(78vw, 1180px);
    scroll-snap-align: start;
    display: grid;
    grid-template-rows: auto minmax(420px, 54vh) auto;
    gap: 18px;
}

.project-meta {
    display: grid;
    grid-template-columns: minmax(220px, 0.42fr) minmax(320px, 0.58fr);
    gap: 28px;
    align-items: center;
}

.project-meta h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.project-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 18px;
    border: 2px solid rgba(7, 8, 13, 0.78);
    border-radius: 999px;
    color: rgba(7, 8, 13, 0.68);
    font-weight: 600;
}

.project-visual {
    position: relative;
    min-height: 420px;
    overflow: hidden;
    border-radius: 8px;
    background:
        radial-gradient(circle at 68% 22%, color-mix(in srgb, var(--accent), white 28%), transparent 12rem),
        linear-gradient(135deg, color-mix(in srgb, var(--accent), white 72%), #f9fbff 54%, color-mix(in srgb, var(--accent), black 62%));
    box-shadow: 0 28px 80px rgba(25, 31, 56, 0.16);
}

.project-brand {
    position: absolute;
    top: 28px;
    left: 30px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 3.6rem);
    color: color-mix(in srgb, var(--accent), black 62%);
}

.project-screen {
    position: absolute;
    right: 7%;
    bottom: 8%;
    width: min(56%, 580px);
    aspect-ratio: 16 / 10;
    border: 12px solid #11131a;
    border-bottom-width: 28px;
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0 48%, transparent 48%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.96), color-mix(in srgb, var(--accent), white 70%));
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.24);
}

.project-screen strong {
    position: absolute;
    left: 22px;
    top: 18px;
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 7rem);
    color: color-mix(in srgb, var(--accent), black 50%);
}

.project-screen span {
    position: absolute;
    background: color-mix(in srgb, var(--accent), white 40%);
    opacity: 0.64;
}

.project-screen span:nth-of-type(1) {
    right: 26px;
    top: 28px;
    width: 34%;
    height: 18%;
}

.project-screen span:nth-of-type(2) {
    right: 26px;
    top: 34%;
    width: 44%;
    height: 12%;
}

.project-screen span:nth-of-type(3) {
    right: 26px;
    bottom: 22%;
    width: 28%;
    height: 20%;
}

.project-visual ul {
    position: absolute;
    left: 34px;
    bottom: 34px;
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(7, 8, 13, 0.78);
    font-weight: 800;
    font-size: clamp(1rem, 1.5vw, 1.35rem);
}

.project-visual li::before {
    content: "";
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    background: #07080d;
    vertical-align: 0.08em;
}

.project-copy {
    display: grid;
    grid-template-columns: 0.28fr 0.72fr;
    gap: 28px;
    align-items: start;
    color: #07080d;
}

.project-copy span:last-child {
    color: rgba(7, 8, 13, 0.62);
    font-size: 1.05rem;
    line-height: 1.65;
}

.carousel-status {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.carousel-status button {
    width: 36px;
    height: 4px;
    border: 0;
    background: rgba(7, 8, 13, 0.18);
    cursor: pointer;
    transition: background 180ms ease, width 180ms ease;
}

.carousel-status button.is-active {
    width: 58px;
    background: #07080d;
}

.closing-band {
    width: var(--container);
    margin: 0 auto clamp(80px, 10vw, 130px);
    padding: clamp(44px, 7vw, 86px) 0 0;
    border-top: 1px solid var(--line);
}

.closing-band h2 {
    max-width: 980px;
    margin-bottom: 30px;
}

.service-detail-page {
    width: var(--container);
    min-height: 72vh;
    margin: 0 auto;
    padding: 170px 0 110px;
}

.service-back {
    display: inline-flex;
    margin-bottom: 34px;
    color: var(--muted);
    transition: color 180ms ease, transform 180ms ease;
}

.service-back:hover {
    color: var(--text);
    transform: translateX(-4px);
}

.service-detail-page h1 {
    max-width: 980px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 8vw, 8.4rem);
    line-height: 0.9;
}

.service-detail-page > p:not(.eyebrow) {
    max-width: 760px;
    margin: 30px 0 34px;
    color: rgba(246, 247, 251, 0.72);
    font-size: clamp(1.08rem, 1.6vw, 1.35rem);
    line-height: 1.65;
}

.work-link {
    display: inline-flex;
    margin-top: 18px;
    color: #07080d;
    font-weight: 800;
    border-bottom: 1px solid currentColor;
}

.portfolio-hero,
.admin-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    min-height: 100vh;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 24px;
    border-right: 1px solid var(--line-soft);
    background: #080b12;
}

.admin-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
    font-family: var(--font-display);
    font-weight: 700;
}

.admin-side-nav {
    display: grid;
    gap: 8px;
}

.admin-side-nav a,
.admin-sidebar-actions a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    color: var(--muted);
    border: 1px solid transparent;
    transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.admin-side-nav a:hover,
.admin-side-nav a.is-active {
    color: var(--text);
    border-color: var(--line-soft);
    background: rgba(255, 255, 255, 0.045);
}

.admin-sidebar-actions {
    display: grid;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid var(--line-soft);
}

.admin-main {
    min-width: 0;
    padding: clamp(28px, 5vw, 64px);
}

.admin-content-heading {
    margin-bottom: 34px;
}

.portfolio-hero h1,
.admin-content-heading h1 {
    max-width: 1050px;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.3rem, 7vw, 7.5rem);
    line-height: 0.92;
}

.portfolio-hero > p:not(.eyebrow),
.admin-content-heading p:not(.eyebrow) {
    max-width: 720px;
    color: var(--muted);
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    line-height: 1.65;
}

.portfolio-list {
    display: grid;
    gap: 0;
    width: var(--container);
    margin: 0 auto 120px;
    border-top: 1px solid var(--line);
}

.portfolio-item {
    display: grid;
    grid-template-columns: 0.34fr 0.42fr 0.24fr;
    gap: 34px;
    align-items: center;
    padding: 34px 0;
    border-bottom: 1px solid var(--line-soft);
}

.portfolio-item > div:first-child span {
    color: var(--green);
    font-family: var(--font-display);
    font-weight: 700;
}

.portfolio-item h2 {
    margin: 10px 0 8px;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 3.2rem);
    line-height: 1;
}

.portfolio-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.admin-login-page {
    display: grid;
    place-items: center;
    width: var(--container);
    min-height: 100vh;
    margin: 0 auto;
    padding: 130px 0 80px;
}

.admin-login-card {
    width: min(100%, 480px);
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.04);
    padding: clamp(28px, 5vw, 48px);
}

.admin-login-card h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5.2rem);
    line-height: 0.9;
}

.admin-login-card p:not(.eyebrow) {
    color: var(--muted);
    line-height: 1.6;
}

.admin-login-card label {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
}

.admin-login-card input {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(3, 4, 9, 0.72);
    color: var(--text);
    padding: 13px 14px;
    font: inherit;
}

.admin-error {
    margin: 20px 0;
    border: 1px solid rgba(255, 122, 144, 0.45);
    background: rgba(255, 122, 144, 0.12);
    color: #ffd0d8;
    padding: 12px 14px;
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.42fr) minmax(0, 0.58fr);
    gap: 34px;
    align-items: start;
    margin-bottom: 54px;
    scroll-margin-top: 100px;
}

.admin-form,
.admin-table-wrap {
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.035);
    padding: 26px;
}

.admin-panel {
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.035);
    padding: 26px;
}

.admin-panel h2 {
    margin: 0 0 18px;
    font-family: var(--font-display);
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 34px;
}

.admin-stats a {
    display: grid;
    gap: 8px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.035);
    padding: 24px;
}

.admin-stats strong {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 4rem);
    line-height: 1;
}

.admin-stats span {
    color: var(--muted);
}

.admin-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.admin-form h2,
.admin-table-wrap h2 {
    margin: 0 0 22px;
    font-family: var(--font-display);
}

.admin-form label {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: rgba(3, 4, 9, 0.72);
    color: var(--text);
    padding: 13px 14px;
    font: inherit;
}

.admin-row {
    display: grid;
    grid-template-columns: 1fr 96px 96px;
    gap: 14px;
}

.admin-row.two {
    grid-template-columns: 120px 1fr;
}

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

.admin-checkbox-line {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin-top: 27px;
}

.admin-checkbox-line input {
    width: auto;
}

.admin-settings {
    scroll-margin-top: 100px;
}

.admin-checks {
    display: grid;
    gap: 10px;
    margin: 4px 0 22px;
    color: var(--muted);
}

.admin-checks label {
    display: flex;
    gap: 10px;
    margin: 0;
}

.admin-checks input {
    width: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 16px 10px;
    border-bottom: 1px solid var(--line-soft);
    text-align: left;
    vertical-align: top;
}

.admin-table th {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.admin-table td span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
}

.admin-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.admin-actions a,
.admin-actions button {
    border: 0;
    background: transparent;
    color: var(--green);
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.footer {
    width: var(--container);
    margin: 0 auto;
    padding-bottom: 34px;
}

.footer-marquee {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    padding: 28px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line-soft);
    color: rgba(246, 247, 251, 0.24);
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 5vw, 5rem);
    font-weight: 700;
    line-height: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 42px;
    padding: 54px 0;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
    color: var(--muted);
    line-height: 1.7;
}

.footer-grid h2 {
    margin: 0 0 14px;
    color: var(--text);
    font-size: 0.84rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-grid div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-brand {
    margin-bottom: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding-top: 22px;
    border-top: 1px solid var(--line-soft);
    color: rgba(246, 247, 251, 0.48);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .site-nav {
        gap: 22px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .hero-proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-items: stretch;
        gap: 18px;
        max-width: 760px;
    }

    .hero-stat,
    .hero-rating {
        width: 100%;
        text-align: left;
    }

    .hero-circle-cta {
        left: auto;
        right: 34px;
        bottom: 34%;
    }

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

    .why-minimal {
        grid-template-columns: 1fr;
    }

    .why-minimal-copy {
        position: static;
    }

    .project-card {
        flex-basis: min(86vw, 820px);
        grid-template-rows: auto minmax(360px, 48vh) auto;
    }

    .admin-grid,
    .portfolio-item {
        grid-template-columns: 1fr;
    }

    .admin-shell {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: relative;
        height: auto;
        padding: 18px;
        border-right: 0;
        border-bottom: 1px solid var(--line-soft);
    }

    .admin-side-nav {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        overflow-x: auto;
    }

    .admin-sidebar-actions {
        display: flex;
        margin-top: 16px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 760px) {
    :root {
        --container: min(100% - 32px, 1280px);
    }

    .site-header {
        padding-left: 16px;
        padding-right: 16px;
    }

    .nav-toggle {
        display: block;
        position: relative;
        z-index: 52;
    }

    .site-nav {
        position: fixed;
        inset: 0;
        z-index: 51;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 24px;
        padding: 30px;
        background: rgba(3, 4, 9, 0.96);
        transform: translateX(100%);
        transition: transform 260ms ease;
        font-size: clamp(2rem, 10vw, 4rem);
        font-family: var(--font-display);
        overflow-y: auto;
    }

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

    .nav-cta {
        min-height: 52px;
        font-family: var(--font-body);
        font-size: 1rem;
    }

    .nav-dropdown {
        width: 100%;
    }

    .mega-menu {
        position: static;
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 18px;
        padding: 0;
        background: transparent;
        color: var(--text);
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: none;
    }

    .mega-tech {
        display: none;
    }

    .mega-columns {
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
    }

    .mega-column {
        padding-top: 12px;
        border-top: 1px solid var(--line-soft);
    }

    .mega-column h2 {
        color: var(--text);
        margin-bottom: 12px;
        font-size: 1rem;
    }

    .mega-column a {
        margin-bottom: 10px;
        color: var(--muted);
        font-family: var(--font-body);
        font-size: 0.95rem;
    }

    .mega-column a:hover {
        transform: none;
        color: var(--text);
    }

    .mega-column a::after {
        display: none;
    }

    .mega-column .inline-more {
        margin-top: 4px;
        color: var(--green);
    }

    .hero {
        min-height: auto;
        padding-top: 112px;
        padding-bottom: 170px;
    }

    .hero h1 {
        font-size: clamp(3rem, 13vw, 5.2rem);
    }

    .hero-copy {
        font-size: 1rem;
    }

    .hero-proof {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero-stat {
        padding: 20px 22px;
    }

    .hero-rating {
        padding: 18px 20px;
    }

    .hero-circle-cta {
        position: relative;
        left: auto;
        right: auto;
        bottom: auto;
        width: 126px;
        margin-top: -24px;
    }

    .hero-depth-field {
        height: 32%;
    }

    .hero-depth-field span {
        width: clamp(42px, 14vw, 82px);
    }

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

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

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

    .why-minimal-item {
        grid-template-columns: 44px minmax(0, 1fr) 24px;
        gap: 18px;
        min-height: 134px;
    }

    .why-minimal-item:hover {
        transform: translateX(0);
    }

    .why-minimal-item i {
        opacity: 1;
        transform: none;
    }

    .work-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .work-intro {
        display: grid;
        gap: 24px;
        margin-bottom: 34px;
    }

    .carousel-controls {
        justify-content: flex-start;
    }

    .carousel-controls button {
        width: 58px;
        height: 58px;
        font-size: 2.4rem;
    }

    .project-carousel {
        margin-right: -16px;
    }

    .project-track {
        gap: 22px;
        padding-right: 16px;
    }

    .project-card {
        flex-basis: 86vw;
        grid-template-rows: auto minmax(320px, 48vh) auto;
    }

    .project-meta,
    .project-copy {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .project-tags {
        flex-wrap: nowrap;
        overflow: hidden;
    }

    .project-tags span {
        min-height: 36px;
        padding: 0 14px;
        white-space: nowrap;
    }

    .project-screen {
        right: 5%;
        bottom: 10%;
        width: 70%;
        border-width: 8px;
        border-bottom-width: 20px;
    }

    .project-visual ul {
        left: 22px;
        bottom: 24px;
        gap: 8px;
    }

    .admin-row {
        grid-template-columns: 1fr;
    }

    .admin-row.two,
    .admin-row.three {
        grid-template-columns: 1fr;
    }

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

    .admin-table-wrap {
        overflow-x: auto;
    }

    .footer-marquee {
        overflow: hidden;
        justify-content: flex-start;
        white-space: nowrap;
    }

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

@media (max-width: 480px) {
    .hero-actions,
    .button {
        width: 100%;
    }

    .button {
        padding: 0 16px;
    }

    .hero-proof {
        display: none;
    }

    .hero-circle-cta {
        margin-top: 22px;
    }

    .admin-side-nav,
    .admin-stats {
        grid-template-columns: 1fr;
    }

    .admin-main {
        padding: 22px 16px;
    }
}
