/* ============================================
   GETMYCREATIVE — Redesign
   Sleek modern dark · iridescent brand gradient
   ============================================ */

/* ============== Brand font: NouvelR ==============
   Files live in assets/fonts/ (Regular, Semibold, Bold).
   No Medium weight exists, so 500 maps to Regular. */
@font-face {
    font-family: 'NouvelR';
    src: url('assets/fonts/NouvelRRegular.ttf') format('truetype');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'NouvelR';
    src: url('assets/fonts/NouvelRRegular.ttf') format('truetype');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'NouvelR';
    src: url('assets/fonts/NouvelRSemibold.ttf') format('truetype');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'NouvelR';
    src: url('assets/fonts/NouvelRBold.ttf') format('truetype');
    font-weight: 700; font-style: normal; font-display: swap;
}

:root {
    --bg:          #07090A;
    --bg-2:        #0A0D0F;
    --surface:     #12161A;
    --surface-2:   #171C21;

    --text:        #F3F5F4;
    --muted:       #9AA3A0;
    --dim:         #6A7370;

    --line:        rgba(255,255,255,0.08);
    --line-strong: rgba(255,255,255,0.16);

    --g1: #8FCB6B;
    --g2: #34B0A3;
    --g3: #5E8FE0;
    --gradient: linear-gradient(115deg, var(--g1) 0%, var(--g2) 48%, var(--g3) 100%);
    --gradient-soft: linear-gradient(115deg, rgba(143,203,107,0.16), rgba(52,176,163,0.14), rgba(94,143,224,0.16));

    --font-display: 'NouvelR', 'Space Grotesk', sans-serif;
    --font-body: 'NouvelR', 'Inter', sans-serif;

    --container: 1200px;
    --radius: 18px;
    --radius-lg: 26px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: 400;
}

::selection { background: rgba(52,176,163,0.35); color: #fff; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 28px; }

/* ============== Ambient background ============== */
.ambient { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.ambient-orb { position: absolute; border-radius: 50%; filter: blur(110px); opacity: 0.5; }
.ambient-orb-1 { width: 620px; height: 620px; top: -240px; right: -160px; background: radial-gradient(circle, rgba(52,176,163,0.4), transparent 65%); animation: drift1 22s ease-in-out infinite; }
.ambient-orb-2 { width: 560px; height: 560px; bottom: -220px; left: -180px; background: radial-gradient(circle, rgba(94,143,224,0.32), transparent 65%); animation: drift2 26s ease-in-out infinite; }
@keyframes drift1 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-60px,50px) scale(1.1); } }
@keyframes drift2 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(50px,-40px) scale(1.08); } }
.ambient-grain { position: absolute; inset: 0; opacity: 0.04; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.page-container, .nav, .footer, .mobile-menu { position: relative; z-index: 1; }
/* opaque content so the fixed footer stays hidden until revealed at the very bottom;
   baked-in static brand glow keeps the dark canvas from going flat */
.page-container {
    background:
        radial-gradient(620px 620px at 88% 1%, rgba(52,176,163,0.12), transparent 60%),
        radial-gradient(560px 560px at 4% 99%, rgba(94,143,224,0.10), transparent 60%),
        var(--bg);
}

/* ============== Utilities ============== */
.grad-text { background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.reveal-up { opacity: 0; }

/* ============== Buttons — textured glass + iridescent hover bloom ============== */
.btn {
    position: relative;
    isolation: isolate;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
    padding: 14px 28px; border-radius: 14px; cursor: pointer;
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.10);
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    will-change: transform; white-space: nowrap;
}
.btn > span, .btn > svg { position: relative; z-index: 1; }
.btn svg { transition: transform 0.4s var(--ease); }

/* iridescent glow halo — blooms on hover */
.btn::before {
    content: ''; position: absolute; inset: -2px; border-radius: inherit; z-index: -2;
    background: var(--gradient);
    opacity: 0; filter: blur(16px);
    transition: opacity 0.45s var(--ease);
}
/* fine grain texture baked onto the surface */
.btn::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit; z-index: -1;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.16; mix-blend-mode: soft-light; pointer-events: none;
}

.btn-primary {
    background:
        radial-gradient(135% 130% at 86% 125%, rgba(94,143,224,0.50), transparent 55%),
        radial-gradient(130% 130% at 50% 130%, rgba(52,176,163,0.38), transparent 58%),
        radial-gradient(130% 130% at 10% -25%, rgba(143,203,107,0.32), transparent 52%),
        linear-gradient(160deg, #171c1f, #0b0e10);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.22),
        inset 0 -10px 20px -12px rgba(0,0,0,0.75),
        0 8px 26px -12px rgba(0,0,0,0.9);
}
.btn-primary:hover {
    transform: translateY(-2px);
    border-color: rgba(143,203,107,0.45);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.32),
        0 0 0 1px rgba(52,176,163,0.35),
        0 16px 50px -10px rgba(52,176,163,0.45);
}
.btn-primary:hover::before { opacity: 0.6; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
    background: linear-gradient(160deg, rgba(255,255,255,0.055), rgba(255,255,255,0.015));
    border-color: var(--line-strong);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12);
}
.btn-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(52,176,163,0.5);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 0 0 1px rgba(52,176,163,0.22), 0 14px 40px -14px rgba(52,176,163,0.4);
}
.btn-ghost:hover::before { opacity: 0.28; }
.btn-ghost:active { transform: translateY(0); }

.btn-sm { padding: 10px 20px; font-size: 0.85rem; border-radius: 11px; }
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: 15px; }
.btn-block { width: 100%; }

/* ============== Navigation ============== */
.nav {
    position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 100;
    width: calc(100% - 32px); max-width: 1160px;
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 9px 9px 22px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(10,13,15,0.5);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 14px 44px -16px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06);
    isolation: isolate;
    transition: padding 0.4s var(--ease), background 0.4s var(--ease), box-shadow 0.4s var(--ease), top 0.4s var(--ease);
}
/* very subtle radial brand glow around the pill */
.nav::before {
    content: ''; position: absolute; inset: -14px; z-index: -1;
    border-radius: inherit;
    background: radial-gradient(60% 120% at 50% 50%, rgba(52,176,163,0.22), rgba(94,143,224,0.12) 45%, transparent 72%);
    filter: blur(22px);
    opacity: 0.7;
    pointer-events: none;
}
.nav.scrolled {
    top: 10px;
    background: rgba(8,11,12,0.72);
    box-shadow: 0 18px 50px -16px rgba(0,0,0,0.85), inset 0 1px 0 rgba(255,255,255,0.08);
}
.nav-logo { display: flex; align-items: center; }
.logo-img { height: 30px; width: auto; display: block; }
.logo-img-footer { height: 34px; }
.nav-links { display: flex; gap: 6px; }
.nav-link { font-size: 0.92rem; font-weight: 500; color: var(--muted); padding: 8px 14px; border-radius: 999px; transition: color 0.25s, background 0.25s; }
.nav-link:hover { color: var(--text); }
.nav-link.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta { margin-left: 4px; }
.nav-toggle { display: none; flex-direction: column; gap: 6px; background: none; border: none; cursor: pointer; padding: 6px; }
.toggle-line { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s; }
.nav-toggle.open .toggle-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open .toggle-line:nth-child(2) { transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 99; background: rgba(7,9,10,0.97); backdrop-filter: blur(20px); transform: translateY(-100%); transition: transform 0.5s var(--ease); display: flex; align-items: center; }
.mobile-menu.open { transform: translateY(0); }
.mobile-menu-content { width: 100%; padding: 0 32px; display: flex; flex-direction: column; gap: 8px; }
.mobile-link { font-family: var(--font-display); font-size: clamp(2rem, 9vw, 3.2rem); font-weight: 600; letter-spacing: -0.02em; padding: 6px 0; color: var(--text); }
.mobile-menu-footer { margin-top: 40px; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 1rem; }

/* ============== Hero (image-trail) ============== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 660px;
    overflow: hidden;
    background:
        radial-gradient(120% 90% at 50% 0%, rgba(255,255,255,0.02), transparent 60%),
        #050607;
    display: flex;
    flex-direction: column;
    cursor: auto;
}

/* Stage holds the words + trail; cursor effect is confined here */
.hero-stage {
    position: relative;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 78px 28px 0;       /* clear the fixed nav */
    cursor: none;
}
.hero-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 900px; height: 900px; max-width: 120vw;
    background: radial-gradient(circle, rgba(52,176,163,0.12), rgba(94,143,224,0.06) 45%, transparent 70%);
    z-index: 0; pointer-events: none;
}

/* Giant words */
.hero-words {
    position: relative;
    z-index: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0;
    pointer-events: none;
    user-select: none;
    text-align: center;
}
.hw {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(2.9rem, min(16.5vw, 26vh), 15.5rem);
    line-height: 0.84;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--text);
}
/* Middle word — true pixel / dot-matrix font */
.hw:nth-child(2) {
    -webkit-text-stroke: 0;
    color: rgba(231,240,238,0.9);
    -webkit-text-fill-color: rgba(231,240,238,0.9);
    font-family: 'Handjet', var(--font-display);
    font-weight: 700;
    font-size: clamp(3.4rem, min(18vw, 30vh), 17rem);
    line-height: 0.92;
    letter-spacing: 0.04em;
}
.hw .grad-text {
    -webkit-text-fill-color: transparent;
    background: linear-gradient(130deg, #97cf72 0%, #34B0A3 50%, #5E8FE0 100%);
    -webkit-background-clip: text; background-clip: text;
    filter: drop-shadow(0 6px 30px rgba(52,176,163,0.28)) drop-shadow(0 0 50px rgba(94,143,224,0.18));
}

/* Galaxy emblem — glassmorphic G mark drifting on the right, in space */
.hero-emblem {
    position: absolute; inset: 0; z-index: 0;
    display: flex; align-items: center; justify-content: flex-end;
    perspective: 1600px;
    pointer-events: none;
    overflow: hidden;
}
.hero-emblem-float {
    position: relative;
    display: grid; place-items: center;
    margin-right: -5%;            /* nudge partially off the right edge */
    transform-style: preserve-3d;
    animation: emblemFloat 10s ease-in-out infinite;
}
.hero-emblem-mark {
    width: clamp(340px, 46vw, 660px);
    aspect-ratio: 1 / 1;
    background: url('assets/brand/logo-mark.png?v=2') center / contain no-repeat;
    opacity: 0.26;
    transform-style: preserve-3d;
    filter: drop-shadow(0 0 26px rgba(52,176,163,0.3)) drop-shadow(0 0 60px rgba(94,143,224,0.18));
    animation: emblemWobble 16s ease-in-out infinite;
}
.hero-emblem-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: clamp(420px, 56vw, 780px); aspect-ratio: 1/1; border-radius: 50%;
    background: radial-gradient(circle, rgba(52,176,163,0.16), rgba(94,143,224,0.09) 42%, transparent 68%);
    filter: blur(30px);
    animation: emblemPulse 10s ease-in-out infinite;
}
@keyframes emblemWobble {
    0%,100% { transform: rotateY(-22deg) rotateX(5deg); }
    50%     { transform: rotateY(22deg) rotateX(-5deg); }
}
@keyframes emblemFloat { 0%,100% { transform: translateY(-16px) rotateZ(-1.5deg); } 50% { transform: translateY(16px) rotateZ(1.5deg); } }
@keyframes emblemPulse { 0%,100% { opacity: 0.7; } 50% { opacity: 1; } }

/* Starfield */
.hero-stars {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 22%, rgba(255,255,255,0.7), transparent 60%),
        radial-gradient(1px 1px at 24% 68%, rgba(255,255,255,0.5), transparent 60%),
        radial-gradient(1.5px 1.5px at 38% 14%, rgba(180,230,255,0.6), transparent 60%),
        radial-gradient(1px 1px at 47% 82%, rgba(255,255,255,0.45), transparent 60%),
        radial-gradient(1px 1px at 58% 30%, rgba(200,255,220,0.55), transparent 60%),
        radial-gradient(1.5px 1.5px at 66% 60%, rgba(255,255,255,0.6), transparent 60%),
        radial-gradient(1px 1px at 74% 18%, rgba(255,255,255,0.5), transparent 60%),
        radial-gradient(1px 1px at 82% 74%, rgba(190,220,255,0.55), transparent 60%),
        radial-gradient(1.5px 1.5px at 89% 40%, rgba(255,255,255,0.6), transparent 60%),
        radial-gradient(1px 1px at 33% 48%, rgba(255,255,255,0.4), transparent 60%),
        radial-gradient(1px 1px at 7% 55%, rgba(255,255,255,0.5), transparent 60%),
        radial-gradient(1px 1px at 94% 60%, rgba(255,255,255,0.45), transparent 60%);
    animation: twinkle 7s ease-in-out infinite;
}
@keyframes twinkle { 0%,100% { opacity: 0.55; } 50% { opacity: 0.95; } }

/* Image trail */
.hero-trail { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.trail-img {
    position: absolute;
    width: clamp(170px, 18vw, 280px);
    border-radius: 12px;
    overflow: hidden;
    transform: translate(-50%, -50%) scale(0.6);
    opacity: 0;
    will-change: transform, opacity;
    box-shadow: 0 24px 60px -20px rgba(0,0,0,0.8);
    border: 1px solid rgba(255,255,255,0.12);
}
.trail-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Custom hero cursor */
.hero-cursor {
    position: fixed; top: 0; left: 0; z-index: 90;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--gradient);
    transform: translate(-50%, -50%);
    pointer-events: none; mix-blend-mode: difference;
    transition: width 0.25s var(--ease), height 0.25s var(--ease);
}

/* Hero foot — compact band, connected to the words, aligned to the page grid */
.hero-foot {
    position: relative; z-index: 4;
    padding: 16px 0 20px;
}
.hero-foot .btn { padding: 12px 22px; font-size: 0.9rem; }
.hero-foot::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14) 25%, rgba(52,176,163,0.28) 50%, rgba(255,255,255,0.14) 75%, transparent);
    opacity: 0.7;
}
.hero-foot-inner {
    display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.hero-foot-left { max-width: 760px; }
.hero-tagline {
    color: var(--text);
    font-size: clamp(0.9rem, 1vw, 1.05rem);
    line-height: 1.4;
    margin-top: 11px;
    letter-spacing: -0.01em;
    white-space: nowrap;
}
.hero-tagline em { font-style: normal; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-foot .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 0.78rem; font-weight: 500; letter-spacing: 0.03em; color: var(--muted);
    padding: 7px 15px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,0.03);
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--g1); box-shadow: 0 0 10px var(--g2); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Hero ticker */
.hero-ticker { position: relative; z-index: 4; border-top: 1px solid var(--line); padding: 11px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.hero-ticker-track { display: flex; gap: 30px; width: max-content; animation: scroll-x 30s linear infinite; align-items: center; }
.hero-ticker-track span { font-family: var(--font-display); font-size: 1rem; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.tick-dot { color: var(--g2) !important; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ============== Showcase (editorial work grid) ============== */
.showcase-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.showcase-head .section-tag { margin-bottom: 14px; }
.showcase-all { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-weight: 500; font-size: 0.98rem; padding-bottom: 6px; border-bottom: 1px solid var(--line-strong); transition: color 0.3s, border-color 0.3s; }
.showcase-all:hover { color: var(--text); border-color: var(--g2); }
.showcase-all svg { transition: transform 0.4s var(--ease); }
.showcase-all:hover svg { transform: translateX(4px); }

/* masonry via CSS columns — natural staggered rhythm */
.showcase-grid { column-count: 2; column-gap: 20px; }
.sc-card {
    display: block; position: relative;
    break-inside: avoid; margin-bottom: 20px;
    border-radius: 22px; overflow: hidden;
    border: 1px solid var(--line);
    background: var(--surface);
    transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.sc-card:hover { transform: translateY(-5px); border-color: var(--line-strong); box-shadow: 0 26px 60px -28px rgba(0,0,0,0.85); }
.sc-media {
    display: block; width: 100%; aspect-ratio: 4 / 3;
    background-size: cover; background-position: center;
    transform: scale(1.02); transition: transform 0.7s var(--ease);
}
.sc-tall .sc-media { aspect-ratio: 4 / 5; }
.sc-card:hover .sc-media { transform: scale(1.07); }
.sc-card::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(180deg, rgba(7,9,10,0) 42%, rgba(7,9,10,0.85) 100%);
}
.sc-cap { position: absolute; left: 22px; right: 64px; bottom: 20px; z-index: 2; display: flex; flex-direction: column; gap: 4px; }
.sc-cap strong { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.01em; color: var(--text); }
.sc-cap em { font-style: normal; color: var(--muted); font-size: 0.95rem; }
.sc-go {
    position: absolute; right: 18px; bottom: 18px; z-index: 2;
    width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
    font-size: 1.05rem; color: var(--text);
    background: rgba(255,255,255,0.08); border: 1px solid var(--line-strong);
    backdrop-filter: blur(6px);
    transition: background 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
.sc-card:hover .sc-go { background: var(--gradient); color: #06140f; transform: translate(3px, -3px); }

/* ============== Clients grid (bordered, plusdrie-style) ============== */
.clients-grid-section { padding: 70px 0; }
.clients-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}
.cg-cell {
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    min-height: 168px;
    display: grid; place-items: center;
    padding: 28px;
    position: relative;
    transition: background 0.4s var(--ease);
}
.cg-cell:not(.cg-head):hover { background: rgba(255,255,255,0.02); }
.cg-head { place-items: start; align-content: center; }
.cg-head .section-tag { margin-bottom: 12px; }
.cg-head p { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.15; letter-spacing: -0.02em; }
/* every logo sits on an IDENTICALLY-sized white chip — uniform grid */
.cg-logo {
    width: 84%; height: 90px;
    display: grid; place-items: center;
    padding: 0 18px;
    background: #ffffff; border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06);
    overflow: hidden;
    /* text fallback (no-JS / logo-less entries) */
    font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: #0c0f11;
    transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
}
/* cap logo height so wordmarks & emblems share a consistent visual weight */
.cg-logo img { max-width: 100%; max-height: 54px; width: auto; object-fit: contain; display: block; }
.cg-logo.is-invert img { filter: invert(1); }
.cg-cell:hover .cg-logo { transform: translateY(-3px) scale(1.03); }
/* mid-swap state — fades/lifts out before the next logo fades in */
.cg-logo.cg-swapping { opacity: 0; transform: translateY(10px); }

/* ============== Marquee ============== */
.marquee-section { padding: 30px 0 70px; text-align: center; }
.marquee-label { display: block; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--dim); margin-bottom: 26px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scroll-x 34s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 500; color: var(--dim); white-space: nowrap; transition: color 0.3s; }
.marquee:hover .marquee-track span { color: var(--muted); }

/* ============== Statement (pinned, mino-style) ============== */
.statement-section { position: relative; height: 165vh; }
.statement-wrap {
    position: sticky; top: 0;
    min-height: 100vh;
    display: grid; place-items: center;
    padding: 0 28px;
    overflow: hidden;
}
/* full-viewport background that blooms with brand colour as line 2 reveals */
.statement-bg {
    position: absolute; inset: 0; z-index: 0;
    opacity: 0; pointer-events: none;
    background:
        radial-gradient(85% 110% at 50% 62%, rgba(52,176,163,0.32), transparent 60%),
        radial-gradient(75% 85% at 82% 18%, rgba(94,143,224,0.24), transparent 55%),
        radial-gradient(70% 85% at 14% 84%, rgba(143,203,107,0.22), transparent 55%),
        linear-gradient(160deg, #0a1614 0%, #0b0f1a 100%);
}
.statement { position: relative; z-index: 1; }
.statement {
    font-family: var(--font-display);
    font-weight: 600;
    text-align: center;
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.06;
    letter-spacing: -0.035em;
    max-width: 18ch;
}
/* Two lines occupy the same spot — line 2 replaces line 1 on scroll */
.st-line { display: block; }
.st-line-1 { position: relative; }
.st-line-2 { position: absolute; inset: 0; }
/* word spans created by JS for the scroll-scrubbed blur-fade reveal */
.statement .sw { display: inline-block; will-change: opacity, filter; }

/* ============== Capabilities (full-bleed scroller + blended menu) ============== */
.cap { position: relative; padding: 30px 0 0; }
.cap-head { margin-bottom: 30px; }
.cap-head .section-title { font-size: clamp(1.9rem, 4.2vw, 3rem); }

.cap-panels { position: relative; }
.cap-panel {
    position: relative;
    min-height: 100vh;
    display: flex; align-items: flex-end;
    overflow: hidden;
    cursor: pointer;
}
/* First panel opens from a centre line outward, like a book */
.cap-panel-open { will-change: clip-path; }
.cap-spine {
    position: absolute; top: 0; bottom: 0; left: 50%;
    width: 2px; transform: translateX(-50%); z-index: 3;
    background: linear-gradient(180deg, transparent, rgba(143,203,107,0.8), rgba(94,143,224,0.8), transparent);
    box-shadow: 0 0 18px rgba(52,176,163,0.7);
    pointer-events: none;
}
.cap-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    transform: scale(1.06);
    transition: transform 1.2s var(--ease);
}
.cap-panel:hover .cap-bg { transform: scale(1.12); }
.cap-panel::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7,9,10,0.5) 0%, rgba(7,9,10,0.18) 38%, rgba(7,9,10,0.82) 100%);
}
.cap-inner { position: relative; z-index: 1; width: 100%; padding-top: 9vh; padding-bottom: 13vh; }
.cap-num { font-family: var(--font-display); font-weight: 600; font-size: 1rem; letter-spacing: 0.04em; color: var(--g2); }
.cap-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 9vw, 8rem); line-height: 0.96; letter-spacing: -0.04em; margin-top: 8px; }
.cap-panel .cap-line { margin-top: 16px; font-size: clamp(1rem, 1.5vw, 1.3rem); color: rgba(243,245,244,0.82); max-width: 30ch; }

/* Sticky floating menu — negative / blended text, inactive items dimmed */
.cap-menu {
    position: fixed; bottom: 26px; left: 50%;
    transform: translateX(-50%) translateY(22px);
    z-index: 80;
    display: flex; gap: 2px; flex-wrap: wrap; justify-content: center;
    padding: 6px;
    opacity: 0; pointer-events: none;
    transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
    mix-blend-mode: difference;
}
.cap-menu.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.cap-menu-item {
    font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em;
    color: #fff; background: none; border: 0; cursor: pointer;
    padding: 9px 16px; border-radius: 999px;
    opacity: 0.4;
    transition: opacity 0.35s var(--ease);
}
.cap-menu-item:hover { opacity: 0.75; }
.cap-menu-item.active { opacity: 1; }

/* "View services" cursor over the panels */
@media (hover: hover) { .cap-panel { cursor: none; } }
.cap-cursor {
    position: fixed; top: 0; left: 0; z-index: 95;
    display: inline-flex; align-items: center; gap: 6px;
    font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.02em;
    color: var(--text); white-space: nowrap;
    padding: 10px 18px; border-radius: 999px;
    background: rgba(10,13,15,0.55); border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(10px) saturate(1.3); -webkit-backdrop-filter: blur(10px) saturate(1.3);
    pointer-events: none;
    opacity: 0; transform: translate(-50%, -50%) scale(0.8);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.cap-cursor.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.cap-cursor span { color: var(--g2); }

/* ============== Sections ============== */
.section { padding: 100px 0; }
.section-head { max-width: 680px; margin-bottom: 60px; }
.section-tag { display: inline-block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--g2); margin-bottom: 18px; }
.section-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.08; letter-spacing: -0.03em; }
.section-lead { margin-top: 18px; font-size: 1.1rem; color: var(--muted); max-width: 560px; }

/* ============== Stats ============== */
.stats-section { padding: 40px 0 90px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01)); overflow: hidden; }
.stat { padding: 46px 30px; text-align: center; position: relative; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-num { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 5vw, 3.6rem); letter-spacing: -0.03em; line-height: 1; }
.stat-unit { font-size: 0.5em; color: var(--muted); }
.stat-label { margin-top: 12px; color: var(--muted); font-size: 0.98rem; }

/* ============== How / Steps ============== */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card { padding: 38px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); position: relative; }
.step-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.step-number { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; line-height: 1; margin-bottom: 24px; background: var(--gradient); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; opacity: 0.9; }
.step-card h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.step-card p { color: var(--muted); font-size: 0.98rem; }

/* ============== Why ============== */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { padding: 44px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(160deg, rgba(255,255,255,0.035), rgba(255,255,255,0.008)); text-align: center; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.why-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.why-num { font-family: var(--font-display); font-weight: 700; font-size: clamp(3rem, 6vw, 4.2rem); line-height: 1; letter-spacing: -0.03em; }
.why-card p { margin-top: 14px; color: var(--muted); font-size: 1rem; }
.feature-pills { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 44px; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,0.02); font-size: 0.92rem; color: var(--muted); }
.pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gradient); }

/* ============== Testimonials — heading + horizontal staggered card track (mino-style) ============== */
.testimonials-section { position: relative; }
.t-pin {
    position: sticky; top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex; flex-direction: column;
}
.t-head {
    padding: 13vh 0 0 6vw;
    flex-shrink: 0;
}
.t-head .section-tag { display: block; margin-bottom: 14px; }
.t-title {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2.6rem, 7vw, 6rem);
    line-height: 1; letter-spacing: -0.04em;
}
/* horizontal track of cards, slid sideways by JS on scroll */
.t-track {
    display: flex; align-items: flex-start; gap: 30px;
    padding: 0 6vw; margin-top: auto; margin-bottom: 8vh;
    width: max-content;
    will-change: transform;
}
.t-card {
    flex: 0 0 auto;
    width: clamp(300px, 27vw, 440px);
    border-radius: 18px;
    overflow: hidden;
}
/* vertical stagger so cards sit at different heights, like the reference */
.t-off-0 { margin-top: 0; }
.t-off-1 { margin-top: 80px; }
.t-off-2 { margin-top: 40px; }
.t-card-quote {
    display: flex; flex-direction: column; justify-content: space-between; gap: 30px;
    padding: 38px 34px;
    min-height: 320px;
}
.t-card-quote blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 1.6vw, 1.7rem);
    line-height: 1.32; letter-spacing: -0.01em;
}
.t-card-quote figcaption { display: flex; flex-direction: column; gap: 3px; }
.t-card-quote figcaption strong { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.t-card-quote figcaption em { font-style: normal; font-size: 0.88rem; opacity: 0.62; }
.t-card-dark { background: #10171a; color: var(--text); border: 1px solid var(--line); }
.t-card-light { background: #f3f5f4; color: #0c0f11; }
.t-card-img { width: clamp(320px, 30vw, 500px); aspect-ratio: 4/3; }
.t-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* native horizontal swipe fallback (touch / narrow / reduced-motion) */
.testimonials-section.t-native .t-pin { position: static; height: auto; padding-bottom: 30px; }
.t-native .t-track {
    margin-top: 50px; margin-bottom: 0;
    overflow-x: auto; scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 24px;
}
.t-native .t-track::-webkit-scrollbar { display: none; }
.t-native .t-card { scroll-snap-align: start; }

/* legacy testimonial-card styles (kept for any other pages) */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial { padding: 36px 32px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: flex; flex-direction: column; gap: 26px; transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.testimonial:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.testimonial-featured { background: linear-gradient(160deg, rgba(52,176,163,0.1), rgba(94,143,224,0.05)); border-color: rgba(52,176,163,0.3); }
.testimonial blockquote { font-size: 1.04rem; line-height: 1.65; color: var(--text); flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: 14px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: #07120F; background: var(--gradient); flex-shrink: 0; }
.avatar-lg { width: 54px; height: 54px; font-size: 1.4rem; }
.author { display: flex; flex-direction: column; line-height: 1.35; }
.author strong { font-weight: 600; font-size: 0.98rem; }
.author em { font-style: normal; color: var(--muted); font-size: 0.86rem; }

/* ============== About ============== */
.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.about-left .section-title { margin-bottom: 24px; }
.about-left p { color: var(--muted); margin-bottom: 16px; font-size: 1.05rem; }
.about-left strong { color: var(--text); font-weight: 600; }
.about-values { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.about-values li { display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.check { width: 20px; height: 20px; border-radius: 50%; background: var(--gradient-soft); border: 1px solid rgba(52,176,163,0.4); position: relative; flex-shrink: 0; }
.check::after { content: ''; position: absolute; left: 6px; top: 4px; width: 5px; height: 9px; border: solid var(--g1); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.about-right { display: flex; flex-direction: column; gap: 16px; }
.about-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.about-card p { color: var(--muted); font-size: 0.95rem; margin-top: 4px; }
.about-card-person { display: flex; align-items: center; gap: 16px; }
.about-card-person strong { display: block; font-family: var(--font-display); font-size: 1.15rem; }
.about-card-person em { font-style: normal; color: var(--muted); font-size: 0.9rem; }
.about-big { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; line-height: 1; letter-spacing: -0.03em; }
.about-card-accent { background: var(--gradient); color: #07120F; border-color: transparent; }
.about-card-accent p { color: rgba(7,18,15,0.75); }

/* ============== CTA ============== */
.cta-section { padding: 60px 0 110px; }
.cta-card { text-align: center; padding: clamp(48px, 7vw, 84px) 40px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: radial-gradient(circle at 50% 0%, rgba(52,176,163,0.16), transparent 60%), var(--surface); position: relative; overflow: hidden; }
.cta-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.1; }
.cta-card p { color: var(--muted); font-size: 1.1rem; margin: 18px auto 34px; max-width: 480px; }

/* ============== Page hero (sub-pages) ============== */
.page-hero { padding: 170px 0 50px; }
.page-title { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.04; letter-spacing: -0.035em; margin-top: 4px; }
.page-lead { margin-top: 22px; font-size: 1.15rem; color: var(--muted); max-width: 560px; }

/* ============== Services — mino.works style (giant hero + sticky menu + scroll panels) ============== */
.svc-hero { padding: 22vh 6vw 7vh; }
.svc-hero-inner { position: relative; }
.svc-hero-note {
    position: absolute; top: 6px; right: 0;
    text-align: right; color: var(--dim);
    font-size: clamp(1rem, 1.7vw, 1.45rem); line-height: 1.35; letter-spacing: -0.01em;
}
.svc-hero-title {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(3.4rem, 13vw, 13rem); line-height: 0.92; letter-spacing: -0.05em;
}
/* explorer */
.svc-explorer { padding: 0 6vw 4vh; }
.svc-explorer-inner { display: grid; grid-template-columns: 260px 1fr; gap: 60px; align-items: start; }
.svc-menu { position: sticky; top: 120px; align-self: start; }
.svc-menu-label { display: block; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 22px; }
.svc-menu ul { display: flex; flex-direction: column; gap: 12px; }
.svc-menu-item {
    background: none; border: none; cursor: pointer; padding: 0; text-align: left;
    font-family: var(--font-display); font-weight: 600;
    font-size: 1.18rem; letter-spacing: -0.01em;
    color: var(--text); opacity: 0.38;
    transition: opacity 0.3s var(--ease), color 0.3s var(--ease);
}
.svc-menu-item:hover { opacity: 0.75; }
.svc-menu-item.active { opacity: 1; color: var(--g2); }
/* panels */
.svc-panels { min-width: 0; }
.svc-panel { padding: 6vh 0 8vh; border-top: 1px solid var(--line); }
.svc-panel:first-child { border-top: none; padding-top: 0; }
.svc-title {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -0.035em;
    margin-bottom: 36px;
}
.svc-panel-row { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 46px; align-items: start; }
.svc-media { border-radius: 16px; overflow: hidden; aspect-ratio: 4/3; }
.svc-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.svc-panel:hover .svc-media img { transform: scale(1.04); }
.svc-body { padding-top: 4px; }
.svc-desc { font-size: 1.12rem; line-height: 1.6; color: var(--muted); margin-bottom: 30px; }
/* accordion */
.svc-acc { border-top: 1px solid var(--line); padding: 18px 0; margin-bottom: 30px; }
.svc-acc summary {
    list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em;
}
.svc-acc summary::-webkit-details-marker { display: none; }
.acc-ico { position: relative; width: 16px; height: 16px; flex-shrink: 0; }
.acc-ico::before, .acc-ico::after { content: ''; position: absolute; background: var(--text); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.acc-ico::before { top: 7px; left: 0; width: 16px; height: 2px; }
.acc-ico::after { left: 7px; top: 0; width: 2px; height: 16px; }
.svc-acc[open] .acc-ico::after { transform: scaleY(0); opacity: 0; }
.svc-acc[open] summary { color: var(--g2); }
.svc-acc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 18px; }
.svc-acc li { position: relative; padding-left: 24px; color: var(--muted); font-size: 0.96rem; }
.svc-acc li::before { content: ''; position: absolute; left: 0; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--gradient-soft); border: 1px solid rgba(52,176,163,0.4); }
.svc-acc li::after { content: ''; position: absolute; left: 4px; top: 9px; width: 4px; height: 7px; border: solid var(--g1); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

/* ============== Clients marquee (portfolio) ============== */
.clients-section { padding-top: 40px; }
.clients-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); padding: 8px 0; }
.clients-track { display: flex; gap: 44px; width: max-content; animation: scroll-x 40s linear infinite; }
.clients-marquee-rev .clients-track { animation-direction: reverse; animation-duration: 48s; }
.clients-track span { font-family: var(--font-display); font-size: 1.7rem; font-weight: 500; color: var(--dim); white-space: nowrap; }

/* ============== Projects ============== */
.projects-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.project-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); transition: transform 0.4s var(--ease), border-color 0.4s var(--ease); }
.project-card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.project-visual { height: 230px; position: relative; background: linear-gradient(135deg, var(--p1, #0019FF), var(--p2, #000832)); display: flex; align-items: flex-end; padding: 22px; overflow: hidden; }
.project-visual::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 70% 20%, rgba(255,255,255,0.18), transparent 50%); }
.project-kicker { position: relative; z-index: 1; font-family: var(--font-display); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.85); padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,0.3); backdrop-filter: blur(6px); }
.project-body { padding: 30px; }
.project-cat { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--g2); }
.project-body h3 { font-family: var(--font-display); font-size: 1.7rem; font-weight: 600; letter-spacing: -0.02em; margin: 10px 0 12px; }
.project-body p { color: var(--muted); font-size: 0.98rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.project-tags span { font-size: 0.78rem; color: var(--muted); padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; }

/* ============== Websites ============== */
.websites-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.website-card { display: flex; align-items: center; justify-content: space-between; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); cursor: pointer; transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease); }
.website-card:hover { border-color: var(--g2); background: rgba(52,176,163,0.06); transform: translateY(-4px); }
.website-url { font-family: var(--font-display); font-size: 0.98rem; font-weight: 500; }
.website-arrow { color: var(--g2); font-size: 1.1rem; transition: transform 0.3s var(--ease); }
.website-card:hover .website-arrow { transform: translate(3px,-3px); }

/* ============== Contact ============== */
.contact-section { padding-top: 170px; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-left .page-title { font-size: clamp(2.4rem, 5.5vw, 4rem); }
.contact-details { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.contact-detail { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 1rem; transition: color 0.3s; }
a.contact-detail:hover { color: var(--text); }
.contact-icon { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,0.02); color: var(--g2); }
.contact-form { padding: 40px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); display: flex; flex-direction: column; gap: 26px; }
.form-group { position: relative; }
.form-group input, .form-group select, .form-group textarea { width: 100%; background: rgba(255,255,255,0.02); border: 1px solid var(--line); border-radius: 12px; padding: 18px 16px 8px; color: var(--text); font-family: var(--font-body); font-size: 1rem; transition: border-color 0.3s, background 0.3s; outline: none; }
.form-group textarea { resize: vertical; min-height: 110px; padding-top: 22px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--g2); background: rgba(52,176,163,0.05); }
.form-group label { position: absolute; left: 16px; top: 16px; color: var(--dim); font-size: 1rem; pointer-events: none; transition: all 0.2s var(--ease); }
.form-group input:focus + label, .form-group input:not(:placeholder-shown) + label, .form-group textarea:focus + label, .form-group textarea:not(:placeholder-shown) + label, .form-group select:focus + .select-label, .form-group select:valid + .select-label { top: 7px; font-size: 0.72rem; color: var(--g2); }
.form-group select { appearance: none; color: var(--text); cursor: pointer; }
.form-group select option { background: var(--surface); color: var(--text); }
.select-label { top: 7px; font-size: 0.72rem; color: var(--dim); }

/* ============== Footer ============== */
/* ============== Footer — mino.works style: fixed "reveal" footer revealed as content scrolls up ============== */
.footer {
    position: fixed; bottom: 0; left: 0; width: 100%; z-index: 0;
    overflow: hidden;
    padding: 11vh 0 30px;
    background: var(--bg);
}
/* animated moving glows + striped texture behind the footer */
.footer-bloom { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.footer-bloom::before {
    content: ''; position: absolute; inset: -45%;
    background:
        radial-gradient(38% 38% at 30% 50%, rgba(94,143,224,0.40), transparent 62%),
        radial-gradient(34% 34% at 68% 38%, rgba(52,176,163,0.34), transparent 62%),
        radial-gradient(30% 30% at 52% 82%, rgba(143,203,107,0.26), transparent 62%);
    filter: blur(40px);
    animation: footerGlow 20s ease-in-out infinite alternate;
    will-change: transform;
}
.footer-bloom::after {
    content: ''; position: absolute; inset: 0;
    background: repeating-linear-gradient(90deg, rgba(7,9,10,0.0) 0 46px, rgba(7,9,10,0.55) 46px 48px);
}
@keyframes footerGlow {
    0%   { transform: translate(-7%, 5%) scale(1); }
    50%  { transform: translate(9%, -4%) scale(1.18); }
    100% { transform: translate(-3%, 7%) scale(1.06); }
}
.footer-inner { position: relative; z-index: 1; width: 100%; padding: 0 6vw; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
/* big stacked nav, left */
.footer-nav { display: flex; flex-direction: column; gap: 2px; }
.footer-nav a {
    font-family: var(--font-display); font-weight: 600;
    font-size: clamp(2rem, 3.6vw, 3.4rem);
    line-height: 1.1; letter-spacing: -0.03em;
    color: var(--text); width: max-content;
    transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer-nav a:hover { color: var(--g2); transform: translateX(8px); }
/* meta columns, right */
.footer-meta { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px 36px; }
.footer-col h4 { font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); font-size: 1rem; padding: 4px 0; transition: color 0.25s; }
.footer-col a:hover { color: var(--text); }
.footer-col a .arr { display: inline-block; transition: transform 0.25s var(--ease); }
.footer-col a:hover .arr { transform: translate(3px, -3px); }
.footer-place { display: block; color: var(--muted); font-size: 1rem; padding: 4px 0; }
.footer-sub { grid-column: 1 / -1; max-width: 420px; }
.footer-subscribe { display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--line-strong); padding-bottom: 8px; }
.footer-subscribe input {
    flex: 1; background: none; border: none; outline: none;
    color: var(--text); font-size: 1rem; font-family: var(--font-display);
}
.footer-subscribe input::placeholder { color: var(--dim); }
.footer-subscribe button {
    flex-shrink: 0; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line-strong); background: none; color: var(--text);
    cursor: pointer; font-size: 1.1rem; display: grid; place-items: center;
    transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.footer-subscribe button:hover { background: var(--gradient); color: #07120F; border-color: transparent; }
/* giant full-bleed wordmark */
.footer-wordmark {
    font-family: var(--font-display); font-weight: 700;
    font-size: clamp(3rem, 12.7vw, 13rem);
    line-height: 0.9; letter-spacing: -0.05em;
    color: var(--text);
    margin: 9vh 0 0; white-space: nowrap;
    display: flex; align-items: flex-start;
}
.footer-wordmark .reg {
    font-size: 0.16em; font-weight: 600; margin-top: 0.4em;
    background: var(--gradient); -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 4vh; padding-top: 26px; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.86rem; letter-spacing: 0.02em; flex-wrap: wrap; gap: 10px; }
.footer-bottom strong { color: var(--muted); }

/* ============== SPA pages ============== */
.page { display: none; }
.page.active { display: block; }

/* ============== Responsive ============== */
@media (max-width: 940px) {
    .nav-links, .nav-cta { display: none; }
    .nav-toggle { display: flex; }
    .hero-tagline { white-space: normal; }
    .hero-foot-left { max-width: 480px; }
    .steps-grid, .why-grid, .testimonials-grid, .services-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .websites-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr; gap: 44px; }
    .clients-grid { grid-template-columns: repeat(2, 1fr); }
    /* services explorer stacks; menu becomes a horizontal row on top */
    .svc-hero { padding: 18vh 5vw 6vh; }
    .svc-hero-note { position: static; text-align: left; margin-bottom: 22px; }
    .svc-explorer { padding: 0 5vw 4vh; }
    .svc-explorer-inner { grid-template-columns: 1fr; gap: 28px; }
    .svc-menu { position: static; }
    .svc-menu ul { flex-direction: row; flex-wrap: wrap; gap: 10px 20px; }
    .svc-panel-row { grid-template-columns: 1fr; gap: 24px; }
    .cg-head { grid-column: 1 / -1; }
}
@media (max-width: 620px) {
    .container { padding: 0 20px; }
    .section { padding: 70px 0; }
    /* keep a tall section so the pinned statement has room to scrub */
    .statement-section { height: 175vh; }
    .statement-wrap { min-height: 100vh; }
    .statement { font-size: clamp(2rem, 8.5vw, 3.4rem); }
    .cap-panel { min-height: 88vh; }
    .cap-title { font-size: clamp(2.4rem, 13vw, 5rem); }
    .cap-menu { bottom: 14px; gap: 0; padding: 4px; max-width: 100%; overflow-x: auto; flex-wrap: nowrap; }
    .cap-menu-item { font-size: 0.74rem; padding: 7px 9px; white-space: nowrap; }
    .showcase-grid { column-count: 1; }
    .cg-cell { min-height: 120px; padding: 20px; }
    .cg-head p { font-size: 1.2rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat + .stat { border-left: none; border-top: 1px solid var(--line); }
    .steps-grid, .why-grid, .testimonials-grid, .services-grid, .combos-grid, .projects-grid { grid-template-columns: 1fr; }
    .hero-stage { cursor: auto; padding: 96px 20px 0; }
    .hero-foot { padding: 20px 0 24px; }
    .hero-foot-inner { gap: 22px; }
    .svc-acc ul { grid-template-columns: 1fr; }
    .footer-meta { grid-template-columns: 1fr; gap: 30px; }
    .footer { padding-top: 9vh; }
    .footer-inner { padding: 0 5vw; }
    .footer-nav a { font-size: clamp(1.8rem, 9vw, 2.6rem); }
    .footer-wordmark { font-size: 11vw; margin-top: 7vh; }
    .nav, .nav.scrolled { padding: 14px 20px; }
}
@media (hover: none) { .hero-stage { cursor: auto; } .hero-cursor { display: none; } .cap-cursor { display: none; } .cap-panel { cursor: pointer; } }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
    .reveal-up { opacity: 1 !important; }
}
