:root {
    --bg: #ffffff;
    --bg-2: #f3f3f3;
    --bg-elev: #ffffff;
    --text: #111111;
    --muted: #5c5c5c;
    --line: rgba(0, 0, 0, 0.08);
    --line-strong: rgba(0, 0, 0, 0.16);
    --glass: rgba(255, 255, 255, 0.72);
    --cyan: #7af0ff;
    --magenta: #ff4ecd;
    --gold: #111111;
    --violet: #a78bfa;
    --holo: linear-gradient(120deg, #7af0ff 0%, #a78bfa 32%, #ff4ecd 64%, #ffd36a 100%);
    --radius: 22px;
    --header-h: 80px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: auto;
}

html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: "Lato", sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

body.is-loading {
    overflow: hidden;
}

.loader {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 8px;
    background: #fff;
    transition: opacity 0.55s var(--ease), visibility 0.55s;
}

.loader img {
    width: min(150px, 46vw);
    height: auto;
}

.loader-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.loader.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

button,
input,
textarea {
    font-family: inherit;
}

.cursor,
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0;
}

body.cursor-on .cursor,
body.cursor-on .cursor-ring {
    opacity: 1;
}

.cursor {
    width: 7px;
    height: 7px;
    background: #111;
    z-index: 10000;
    box-shadow: 0 0 0 2px #fff, 0 0 14px rgba(17, 17, 17, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease), height 0.25s var(--ease), opacity 0.2s, transform 0.25s var(--ease);
}

.cursor-ring {
    width: 36px;
    height: 36px;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease), height 0.4s var(--ease), opacity 0.25s;
}

.cursor-ring span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: conic-gradient(from 0deg, #7af0ff, #a78bfa, #ff4ecd, #ffd36a, #7af0ff);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.4px));
    mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.4px));
    animation: cursor-spin 7s linear infinite;
}

.cursor.hover {
    width: 5px;
    height: 5px;
}

.cursor-ring.hover {
    width: 72px;
    height: 72px;
}

body.cursor-down .cursor {
    transform: translate(-50%, -50%) scale(0.7);
}

body.cursor-down .cursor-ring {
    width: 24px;
    height: 24px;
}

.progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 2px;
    width: 0;
    z-index: 9998;
    background: var(--holo);
    background-size: 200% 100%;
    animation: holo-shift 6s linear infinite;
}

.noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 8;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.aurora {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.08;
    animation: drift 18s ease-in-out infinite;
    background: #000;
}

.blob-1 {
    width: 42vw;
    height: 42vw;
    top: -12%;
    left: -8%;
}

.blob-2 {
    width: 36vw;
    height: 36vw;
    top: 18%;
    right: -10%;
    animation-delay: -6s;
}

.blob-3 {
    width: 30vw;
    height: 30vw;
    bottom: 0;
    left: 32%;
    animation-delay: -12s;
}

.grid-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: radial-gradient(ellipse at 50% 0%, black 10%, transparent 72%);
}

.skip {
    position: absolute;
    left: -999px;
    top: 12px;
    background: #fff;
    color: #000;
    padding: 10px 16px;
    z-index: 10001;
}

.skip:focus {
    left: 12px;
}

.container {
    width: min(1600px, calc(100% - 40px));
    margin: 0 auto;
}

.reveal {
    opacity: 0;
    transform: translateY(36px);
    animation: rise 0.9s var(--ease) forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }
.delay-4 { animation-delay: 0.5s; }

[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].in {
    opacity: 1;
    transform: none;
}

body.has-motion [data-reveal] {
    transition: none;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
    padding: 0;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-shell {
    width: min(1600px, calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 10px 0;
    border: none;
    border-radius: 0;
    background: #fff;
    transition: box-shadow 0.35s;
}

header.scrolled {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

header.scrolled .nav-shell {
    background: #fff;
    border-color: transparent;
    box-shadow: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
    color: #1a1a1a;
}

.logo-mark {
    width: 52px;
    height: 52px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}

.logo-mark img {
    height: 52px;
    width: auto;
    max-width: none;
    margin: 0;
}

.logo-type {
    font-family: "Lato", sans-serif;
    font-weight: 900;
    font-size: 1.12rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
    color: #1a1a1a;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 6px;
}

nav ul li a {
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 999px;
    color: #5a5a5a;
    transition: color 0.25s, background 0.25s;
}

nav ul li a:hover,
nav ul li a.active {
    color: #111;
    background: rgba(0, 0, 0, 0.06);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    background: #111;
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 11px 18px;
    border-radius: 999px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.menu-toggle {
    display: none;
    margin-left: auto;
    width: 44px;
    height: 44px;
    border: 1px solid #111;
    background: #111;
    border-radius: 50%;
    color: #fff;
    font-size: 1.05rem;
    cursor: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1001;
}

.mobile-panel {
    display: none;
}

.hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    padding: calc(var(--header-h) + 40px) 0 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.parallax-word {
    position: absolute;
    top: 12%;
    left: -3%;
    font-family: "Lato", sans-serif;
    font-size: clamp(6rem, 18vw, 16rem);
    font-weight: 500;
    letter-spacing: -0.07em;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.07);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    white-space: nowrap;
    will-change: transform;
}

.hero .container {
    width: min(1600px, calc(100% - 24px));
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
    gap: 8px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-family: "Lato", sans-serif;
    font-weight: 500;
    font-size: clamp(3.1rem, 7vw, 6.5rem);
    line-height: 0.92;
    letter-spacing: -0.045em;
    margin-bottom: 28px;
    color: #111;
}

.hero h1 .line {
    display: block;
    overflow: hidden;
}

.hero h1 .word {
    display: inline-block;
    transform: translateY(110%);
    animation: word-up 1s var(--ease) forwards;
}

.hero h1 .word {
    white-space: nowrap;
}

.hero h1 .line:nth-child(2) .word { animation-delay: 0.1s; }
.hero h1 .line:nth-child(3) .word { animation-delay: 0.2s; }
.hero h1 .line:nth-child(4) .word { animation-delay: 0.3s; }

.holo-text {
    background: var(--holo);
    background-size: 220% 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: holo-shift 7s ease infinite;
}

.hero-copy {
    max-width: 540px;
    width: 100%;
    color: var(--muted);
    font-size: 1.12rem;
    margin-bottom: 34px;
    overflow-wrap: break-word;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.btn {
    --mx: 50%;
    --my: 50%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 26px;
    border: none;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    cursor: none;
    overflow: hidden;
    transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.btn-primary {
    background: #111;
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--line-strong);
}

.btn-ghost:hover {
    border-color: rgba(0, 0, 0, 0.45);
    background: rgba(0, 0, 0, 0.04);
}

.stage {
    position: relative;
    isolation: isolate;
    perspective: 1000px;
    z-index: 2;
}

.stage-parallax {
    position: relative;
    will-change: transform;
}

.aurora,
.grid-overlay,
.parallax-word {
    will-change: transform;
}

.canvas-wrap {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    padding-bottom: 78px;
}

#gl {
    display: block;
    width: 100%;
    height: min(672px, calc((100vh - 10px) * 0.7));
    touch-action: none;
    cursor: none !important;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

#nogl[hidden] { display: none; }

#nogl {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--muted);
    padding: 24px;
}

.chip {
    position: absolute;
    z-index: 3;
    padding: 15px 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #111;
    pointer-events: none;
    white-space: nowrap;
}

.chip-1 {
    top: 12%;
    left: 5%;
    background: linear-gradient(135deg, #7af0ff 0%, #a78bfa 100%);
    box-shadow: 0 10px 28px rgba(122, 240, 255, 0.35);
}

.chip-2 {
    left: 26%;
    bottom: 15%;
    background: linear-gradient(135deg, #ff4ecd 0%, #ffd36a 100%);
    box-shadow: 0 10px 28px rgba(255, 78, 205, 0.32);
}

.chip-3 {
    top: 30%;
    right: 4%;
    background: linear-gradient(135deg, #b8ff6a 0%, #22d3ee 100%);
    box-shadow: 0 10px 28px rgba(34, 211, 238, 0.32);
}

/* .stage-glow {
    position: absolute;
    inset: auto 10% -18% 10%;
    height: 90px;
    background: var(--holo);
    filter: blur(30px);
    opacity: 0.45;
    z-index: -1;
    animation: holo-shift 8s linear infinite;
} */

.scroll-hint {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 54px;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.scroll-line {
    width: 56px;
    height: 1px;
    background: rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
}

.scroll-line:after {
    content: "";
    position: absolute;
    inset: 0;
    background: #111;
    animation: scan 1.8s ease-in-out infinite;
}

.marquee-wrap {
    position: relative;
    z-index: 2;
    border-block: 1px solid var(--line);
    background: var(--bg-2);
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee {
    display: flex;
    width: max-content;
    animation: marquee 32s linear infinite;
}

.marquee:hover {
    animation-play-state: paused;
}

.marquee span {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 18px 0;
    font-family: "Lato", sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.55);
    white-space: nowrap;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--holo);
    flex-shrink: 0;
}

section {
    position: relative;
    z-index: 2;
    padding: 110px 0;
    scroll-margin-top: 100px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 48px;
    will-change: transform;
}

h2 {
    font-family: "Lato", sans-serif;
    font-size: clamp(2.1rem, 4vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    font-weight: 500;
    color: #111;
}

.section-head p {
    max-width: 360px;
    color: var(--muted);
}

.services {
    background: var(--bg-2);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.service-card {
    --mx: 50%;
    --my: 30%;
    --glow: rgba(122, 240, 255, 0.28);
    position: relative;
    min-height: 280px;
    padding: 22px 20px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.service-card:nth-child(5n+2) { --glow: rgba(255, 78, 205, 0.26); }
.service-card:nth-child(5n+3) { --glow: rgba(167, 139, 250, 0.28); }
.service-card:nth-child(5n+4) { --glow: rgba(255, 211, 106, 0.32); }
.service-card:nth-child(5n) { --glow: rgba(34, 211, 238, 0.26); }

.service-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35), transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.8s var(--ease);
    z-index: 1;
    pointer-events: none;
}

.service-card:after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(420px circle at var(--mx) var(--my), var(--glow), transparent 55%),
        linear-gradient(160deg, rgba(122, 240, 255, 0.08), rgba(255, 78, 205, 0.08) 50%, rgba(255, 211, 106, 0.1));
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(167, 139, 250, 0.45);
    box-shadow: 0 18px 40px rgba(167, 139, 250, 0.16);
}

.service-card:hover:before {
    transform: translateX(120%);
}

.service-card:hover:after {
    opacity: 1;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 84px;
    height: 84px;
    margin-bottom: 22px;
    background: transparent;
    display: grid;
    place-items: center;
}

.service-icon img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    transition: transform 0.5s var(--ease);
}

.service-card:hover .service-icon img {
    transform: scale(1.08) rotate(-6deg);
}

.service-card h3 {
    font-family: "Lato", sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--muted);
    font-size: 0.9rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px 18px;
    align-items: stretch;
}

.team {
    background: #fff;
}

.team-member {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    transition: transform 0.45s var(--ease), border-color 0.45s, box-shadow 0.45s;
}

.team-member:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.member-image {
    height: 260px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease);
}

.team-member:hover .member-image img {
    transform: scale(1.06);
}

.section-ghost {
    position: absolute;
    top: 4%;
    right: -2%;
    font-family: "Lato", sans-serif;
    font-size: clamp(4.5rem, 14vw, 11rem);
    font-weight: 500;
    letter-spacing: -0.07em;
    line-height: 0.8;
    color: transparent;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.07);
    pointer-events: none;
    user-select: none;
    z-index: 0;
    white-space: nowrap;
    will-change: transform;
}

.services,
.team,
.contact {
    overflow: hidden;
}

.services .container,
.team .container,
.contact .container {
    position: relative;
    z-index: 2;
}

.hero-copy,
.hero-actions,
.scroll-hint {
    will-change: transform, opacity;
}

.member-info {
    position: relative;
    margin-top: 0;
    padding: 18px 22px 22px;
    z-index: 2;
    color: #111;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.member-info h3 {
    font-family: "Lato", sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.position {
    color: #111;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 10px;
}

.member-info p:last-child {
    color: var(--muted);
    font-size: 0.9rem;
}

.contact {
    padding-top: 40px;
    background: var(--bg-2);
}

.contact-panel {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 28px;
    padding: 28px;
    border-radius: 32px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.06);
}

.contact-info h3 {
    font-family: "Lato", sans-serif;
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.contact-info > p {
    color: var(--muted);
    margin-bottom: 28px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-top: 1px solid var(--line);
    text-decoration: none;
}

.contact-detail i {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.04);
    color: #111;
    flex-shrink: 0;
}

.contact-detail span {
    color: var(--text);
    padding-top: 8px;
}

.contact-form {
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 24px;
}

.form-group {
    position: relative;
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    color: var(--text);
    padding: 18px 16px 10px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}

.contact-form textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form label {
    position: absolute;
    left: 16px;
    top: 16px;
    color: var(--muted);
    pointer-events: none;
    transition: 0.2s var(--ease);
    font-size: 0.95rem;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form input:not(:placeholder-shown),
.contact-form textarea:not(:placeholder-shown) {
    border-color: rgba(0, 0, 0, 0.35);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.05);
    background: #fff;
}

.contact-form input:focus + label,
.contact-form textarea:focus + label,
.contact-form input:not(:placeholder-shown) + label,
.contact-form textarea:not(:placeholder-shown) + label {
    top: 6px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #111;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: transparent;
}

.form-status {
    display: none;
    margin-top: 14px;
    color: #111;
    font-size: 0.92rem;
}

.form-status.show {
    display: block;
}

footer {
    position: relative;
    z-index: 2;
    padding: 64px 0 28px;
    border-top: 1px solid #111;
    background: #111;
    color: #fff;
    overflow: hidden;
}

.footer-ghost {
    position: absolute;
    left: -2%;
    bottom: -18%;
    font-family: "Lato", sans-serif;
    font-size: clamp(5rem, 16vw, 13rem);
    font-weight: 500;
    letter-spacing: -0.08em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
    pointer-events: none;
    white-space: nowrap;
    will-change: transform;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-family: "Lato", sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: #fff;
}

.footer-column p,
.footer-column a {
    color: rgba(255, 255, 255, 0.62);
    text-decoration: none;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a:hover {
    color: #fff;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 22px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

@keyframes rise {
    to { opacity: 1; transform: none; }
}

@keyframes word-up {
    to { transform: none; }
}

@keyframes floaty {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(8%, -6%) scale(1.12); }
}

@keyframes holo-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes cursor-spin {
    to { transform: rotate(360deg); }
}

@media (hover: none), (pointer: coarse) {
    body { cursor: auto; }
    .cursor, .cursor-ring { display: none; }
    .btn, .menu-toggle, a { cursor: pointer; }
}

@media (max-width: 1100px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .member-image {
        height: 260px;
    }
}

@media (max-width: 900px) {
    .container,
    .nav-shell,
    .hero .container {
        width: min(100% - 32px, 1600px);
    }

    .hero-grid,
    .contact-panel,
    .footer-content,
    .section-head {
        grid-template-columns: 1fr;
    }

    .section-head {
        display: block;
        margin-bottom: 32px;
    }

    .section-head p {
        margin-top: 12px;
        max-width: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-shell nav,
    .nav-cta {
        display: none;
    }

    header .menu-toggle {
        display: inline-flex !important;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
    }

    header .nav-shell {
        position: relative;
        padding-right: 64px;
    }

    .hero {
        min-height: auto;
        padding-bottom: 24px;
    }

    .hero h1 {
        font-size: clamp(2.6rem, 8vw, 4.2rem);
    }

    .canvas-wrap {
        width: min(100%, 520px);
        max-width: none;
        margin: 12px auto 0;
    }

    #gl {
        height: min(420px, 72vw);
    }

    .chip-1 { top: 28%; left: 0; }
    .chip-2 { left: 18%; bottom: 0; }
    .chip-3 { top: 52%; right: 0; }

    .contact-panel {
        padding: 20px;
        gap: 20px;
        border-radius: 24px;
    }

    .contact-info h3 {
        font-size: 1.6rem;
    }

    .contact-detail span {
        overflow-wrap: anywhere;
    }

    h2 {
        font-size: clamp(1.85rem, 6vw, 2.6rem);
    }

    .mobile-panel {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 22px;
        position: fixed;
        inset: 0;
        background: #fff;
        color: #111;
        backdrop-filter: blur(24px);
        z-index: 1100;
        padding: 100px 32px 40px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-12px);
        transition: 0.35s var(--ease);
    }

    body.nav-open .mobile-panel {
        opacity: 1;
        pointer-events: auto;
        transform: none;
    }

    .mobile-panel a {
        font-family: "Lato", sans-serif;
        font-size: clamp(2rem, 8vw, 3rem);
        font-weight: 500;
        text-decoration: none;
        letter-spacing: -0.04em;
    }

    .mobile-panel .btn {
        font-family: "Lato", sans-serif;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0;
        white-space: nowrap;
        width: auto;
        margin-top: 8px;
    }
}

@media (max-width: 720px) {
    section { padding: 64px 0; }

    .hero {
        padding-top: calc(var(--header-h) + 20px);
        min-height: auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .member-image {
        height: 240px;
    }

    .hero h1 {
        font-size: clamp(2.15rem, 11vw, 2.8rem);
        font-weight: 500;
    }

    .hero-copy {
        max-width: 100%;
        font-size: 1rem;
        margin-bottom: 22px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .scroll-hint {
        margin-top: 28px;
    }

    .parallax-word,
    .section-ghost,
    .footer-ghost {
        display: none;
    }

    .stage { margin-top: 4px; }

    .canvas-wrap {
        width: min(100%, 420px);
        margin-left: auto;
        margin-right: auto;
    }

    #gl {
        height: min(300px, 74vw);
    }

    .canvas-wrap {
        padding-bottom: 64px;
    }

    .chip {
        padding: 10px 14px;
        font-size: 0.75rem;
    }

    .chip-1 { top: 22%; left: 0; }
    .chip-2 { left: 10%; bottom: 0; }
    .chip-3 { top: 46%; right: 0; }

    .marquee span {
        font-size: 0.78rem;
        letter-spacing: 0.08em;
        gap: 16px;
        padding: 14px 0;
    }

    .contact-panel,
    .contact-form {
        padding: 16px;
        border-radius: 20px;
    }

    .contact-form input,
    .contact-form textarea {
        font-size: 16px;
    }

    .footer-content {
        gap: 28px;
        margin-bottom: 28px;
    }

    .copyright {
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
    }

    .logo-mark img {
        height: 42px;
        width: auto;
    }
}

@media (max-width: 420px) {
    .container,
    .nav-shell,
    .hero .container {
        width: calc(100% - 24px);
    }

    .mobile-panel {
        padding: 92px 20px 28px;
        gap: 16px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .service-icon,
    .service-icon img {
        width: 68px;
        height: 68px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal, [data-reveal], .hero h1 .word {
        opacity: 1 !important;
        transform: none !important;
    }

    .cursor, .cursor-ring { display: none; }
    body { cursor: auto; }
}
