/* Gidysoft — global design system (HubX-inspired structure, original Gidysoft identity) */

:root {
    --gs-primary: #0a0a0a;
    --gs-primary-light: #27272a;
    --gs-accent: #52525b;
    --gs-accent-soft: rgba(255, 255, 255, 0.55);
    --gs-dark: #0a0a0a;
    --gs-dark-elevated: #111111;
    --gs-surface: #f4f4f5;
    --gs-text: #52525b;
    --gs-text-light: rgba(255, 255, 255, 0.72);
    --gs-border: rgba(255, 255, 255, 0.08);
    --gs-radius: 12px;
    --gs-radius-pill: 999px;
    --gs-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --gs-header-h: 72px;
    --gs-teal: 41, 204, 182;
    --gs-teal-ink: #0d9488;
    --gs-teal-glow: #5eead4;
    --gs-font-sans: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --gs-font-display: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --gs-font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
    --gs-font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* ===== BASE TYPOGRAPHY ===== */
body {
    font-family: var(--gs-font-sans);
    color: var(--gs-text);
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--gs-font-display);
    color: var(--gs-heading-color, var(--gs-primary));
    font-weight: 700;
}

/* This rule matches headings directly, so it beats any colour they would have
   inherited from a dark wrapper — a heading that forgets to restate its colour
   renders near-black on a near-black panel. Custom properties do inherit, so
   dark surfaces flip the variable once and every heading inside them follows,
   at any nesting depth. Add new dark surfaces to this list. */
.gs-page-hero,
.gs-article-hero,
.gs-blog-hero,
.gs-section--dark,
.gs-cta-band,
.gs-founder-spotlight,
.gs-footer {
    --gs-heading-color: #fff;
}

/* ===== HEADER ===== */
.gs-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    height: var(--gs-header-h);
    background: var(--gs-dark);
    border-bottom: 1px solid var(--gs-border);
    transition: transform 0.45s var(--gs-ease), box-shadow 0.45s var(--gs-ease);
}

.gs-header--hidden {
    transform: translateY(-100%);
}

.gs-header--scrolled {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.gs-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    gap: 1rem;
}

.gs-header__logo img {
    height: 44px;
    width: auto;
    display: block;
}

.gs-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gs-nav__link {
    display: block;
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--gs-text-light);
    text-decoration: none;
    letter-spacing: 0.01em;
    border-radius: 6px;
    transition: color 0.25s ease, background 0.25s ease;
    white-space: nowrap;
}

.gs-nav__link:hover,
.gs-nav__link.is-active {
    color: #fff;
}

.gs-nav__link.is-active {
    background: rgba(255, 255, 255, 0.06);
}

.gs-header__social {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.gs-header__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 1rem;
    text-decoration: none;
    border-radius: 8px;
    transition: color 0.25s ease, background 0.25s ease;
}

.gs-header__social a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.gs-header__social--drawer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gs-border);
}

.gs-header__cta {
    margin-left: 0.75rem;
    padding: 0.55rem 1.25rem !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0a0a0a !important;
    background: #ffffff !important;
    border-radius: var(--gs-radius-pill) !important;
    transition: opacity 0.2s ease !important;
}

.gs-header__cta:hover {
    opacity: 0.92;
    color: #0a0a0a !important;
}

.gs-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    padding: 0.25rem;
}

/* Mobile nav drawer */
.gs-mobile-nav {
    display: none;
    position: fixed;
    inset: var(--gs-header-h) 0 0 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(16px);
    padding: 1.5rem;
    z-index: 1040;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s var(--gs-ease);
}

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

.gs-mobile-nav .gs-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
}

.gs-mobile-nav .gs-nav__link {
    padding: 0.85rem 1rem;
    font-size: 1rem;
}

@media (max-width: 1199px) {
    .gs-nav--desktop,
    .gs-header__social--desktop {
        display: none !important;
    }
    .gs-mobile-toggle {
        display: block;
    }
    .gs-mobile-nav {
        display: block;
    }
}

@media (min-width: 1200px) {
    .gs-mobile-nav {
        display: none !important;
    }
}

/* Page offset for fixed header */
body.gs-has-header main {
    padding-top: 0;
}

/* ===== REVEAL ANIMATIONS ===== */
/* Scoped to .js so content stays visible when scripts are unavailable */
.js [data-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.75s var(--gs-ease), transform 0.75s var(--gs-ease);
}

.js [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

[data-reveal-delay="1"] { transition-delay: 0.1s; }
[data-reveal-delay="2"] { transition-delay: 0.2s; }
[data-reveal-delay="3"] { transition-delay: 0.3s; }
[data-reveal-delay="4"] { transition-delay: 0.4s; }

/* ===== PAGE HERO (dark cinematic) ===== */
.gs-page-hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: flex-end;
    padding: calc(var(--gs-header-h) + 4rem) 0 5rem;
    background: var(--gs-dark);
    color: #fff;
    overflow: hidden;
}

.gs-page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.35;
}

.gs-page-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.62);
}

/* ===== ANIMATED HERO BACKDROP =====
   Drawn entirely with CSS gradients — no image request, no JavaScript. Each
   page gets a different pattern so the heroes stop looking interchangeable.
   Only transform and opacity animate, which keeps the work on the compositor,
   and the glows use soft radial gradients instead of a blur filter because
   blurring a viewport-sized element is the expensive part. */
.gs-hero-fx {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.gs-hero-fx__layer,
.gs-hero-fx__glow,
.gs-hero-fx__scan,
.gs-hero-fx__packet,
.gs-hero-fx__node {
    position: absolute;
    display: block;
}

/* Oversized so the drift never pulls an edge into view. */
.gs-hero-fx__layer {
    inset: -20%;
    animation: gs-fx-drift 34s ease-in-out infinite alternate;
}

.gs-hero-fx__glow {
    border-radius: 50%;
}

.gs-hero-fx__glow--a {
    width: 46vw;
    height: 46vw;
    top: -15vw;
    right: -9vw;
    background: radial-gradient(circle, rgba(var(--gs-teal), 0.3), transparent 68%);
    animation: gs-fx-float-a 26s ease-in-out infinite alternate;
}

.gs-hero-fx__glow--b {
    width: 34vw;
    height: 34vw;
    bottom: -13vw;
    left: -7vw;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.28), transparent 70%);
    animation: gs-fx-float-b 33s ease-in-out infinite alternate;
}

/* Sweeps across the hero like a scan or a compile pass moving over the grid.
   A single wide gradient band translating on X — one composited layer. */
.gs-hero-fx__scan {
    top: 0;
    bottom: 0;
    left: 0;
    width: 34%;
    background: linear-gradient(90deg, transparent, rgba(var(--gs-teal), 0.12), transparent);
    animation: gs-fx-scan 15s cubic-bezier(0.45, 0, 0.55, 1) infinite;
}

/* Dashes running along invisible rails — the "data moving through the system"
   cue. Lengths and speeds all differ so they never resolve into one rhythm. */
.gs-hero-fx__packet {
    left: -20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(94, 234, 212, 0.8), transparent);
    animation-name: gs-fx-packet;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* The hero copy sits between roughly 25% and 87% on every page, so the rails stay
   in the clear bands above and below it — a dash passing under a headline reads
   as a stray underline rather than as motion. */
.gs-hero-fx__packet--1 { top: 12%; width: 130px; animation-duration: 7s; }
.gs-hero-fx__packet--2 { top: 19%; width: 88px; animation-duration: 9.5s; animation-delay: 2.4s; }
.gs-hero-fx__packet--3 { top: 91%; width: 165px; animation-duration: 12s; animation-delay: 5.2s; }

/* Endpoints that breathe, so the grid doesn't read as a printed background.
   Kept to the right of the copy column to stay clear of the headline. */
.gs-hero-fx__node {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(94, 234, 212, 0.9);
    box-shadow: 0 0 14px rgba(94, 234, 212, 0.5);
    animation-name: gs-fx-pulse;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.gs-hero-fx__node--1 { top: 24%; left: 69%; animation-duration: 4.5s; }
.gs-hero-fx__node--2 { top: 64%; left: 85%; animation-duration: 6s; animation-delay: 1.6s; }
.gs-hero-fx__node--3 { top: 44%; left: 78%; animation-duration: 5.2s; animation-delay: 3.1s; }

/* Blueprint grid — the engineering-drawing reference. */
.gs-hero-fx--grid .gs-hero-fx__layer {
    background-image:
        linear-gradient(rgba(var(--gs-teal), 0.17) 1px, transparent 1px),
        linear-gradient(90deg, rgba(var(--gs-teal), 0.17) 1px, transparent 1px);
    background-size: 64px 64px;
}

/* Node matrix — reads as a circuit or a cluster diagram. */
.gs-hero-fx--circuit .gs-hero-fx__layer {
    background-image: radial-gradient(rgba(94, 234, 212, 0.3) 1.4px, transparent 1.6px);
    background-size: 34px 34px;
}

/* Diagonal rule lines — plotted, chart-like. */
.gs-hero-fx--plot .gs-hero-fx__layer {
    background-image: repeating-linear-gradient(
        115deg,
        rgba(var(--gs-teal), 0.15) 0 1px,
        transparent 1px 24px
    );
}

/* Concentric rings radiating from one corner — a signal being broadcast. */
.gs-hero-fx--signal .gs-hero-fx__layer {
    background-image: repeating-radial-gradient(
        circle at 76% 16%,
        rgba(var(--gs-teal), 0.17) 0 1px,
        transparent 1px 48px
    );
}

/* Glow-only variant for heroes that already carry photography or artwork —
   the photo supplies the detail, so the pattern and traffic would just fight it. */
.gs-hero-fx--mesh .gs-hero-fx__layer,
.gs-hero-fx--mesh .gs-hero-fx__scan,
.gs-hero-fx--mesh .gs-hero-fx__packet,
.gs-hero-fx--mesh .gs-hero-fx__node {
    display: none;
}

@keyframes gs-fx-drift {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-4%, -3.5%, 0); }
}

@keyframes gs-fx-float-a {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(-7%, 6%, 0) scale(1.14); }
}

@keyframes gs-fx-float-b {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(9%, -8%, 0) scale(1.1); }
}

/* Fades at both ends so the band never pops in or out at the hero edge. */
@keyframes gs-fx-scan {
    0%   { transform: translate3d(-110%, 0, 0); opacity: 0; }
    12%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translate3d(330%, 0, 0); opacity: 0; }
}

@keyframes gs-fx-packet {
    0%   { transform: translate3d(0, 0, 0); opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { transform: translate3d(140vw, 0, 0); opacity: 0; }
}

@keyframes gs-fx-pulse {
    0%, 100% { opacity: 0.2; transform: scale(0.75); }
    50%      { opacity: 1; transform: scale(1.25); }
}

@media (prefers-reduced-motion: reduce) {
    .gs-hero-fx__layer,
    .gs-hero-fx__glow,
    .gs-hero-fx__scan,
    .gs-hero-fx__node {
        animation: none;
    }

    /* Travelling dashes have no meaningful still frame, so they're removed
       rather than frozen mid-flight. */
    .gs-hero-fx__packet {
        display: none;
    }
}

.gs-page-hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1.25rem;
}

.gs-page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 820px;
}

.gs-page-hero__title {
    font-family: var(--gs-font-display);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.015em;
    margin-bottom: 1.25rem;
    color: #fff;
}

.gs-page-hero__lead {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    max-width: 620px;
}

/* Brand orbs disabled */
.gs-orbs { display: none !important; }

/* ===== SECTIONS ===== */
.gs-section {
    padding: 6rem 0;
}

.gs-section--dark {
    background: var(--gs-dark);
    color: #fff;
}

.gs-section--light {
    background: #fff;
}

.gs-section--muted {
    background: var(--gs-surface);
}

.gs-section__label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gs-primary);
    margin-bottom: 1rem;
}

.gs-section--dark .gs-section__label {
    color: rgba(255, 255, 255, 0.5);
}

.gs-section__title {
    font-family: var(--gs-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.1;
    margin-bottom: 1rem;
    /* Avoids a single trailing word on its own line */
    text-wrap: balance;
}

.gs-section--dark .gs-section__title {
    color: #fff;
}

.gs-section__desc {
    font-size: 1.1rem;
    color: var(--gs-text);
    line-height: 1.75;
    max-width: 640px;
}

.gs-section--dark .gs-section__desc {
    color: rgba(255, 255, 255, 0.65);
}

/* ===== VALUE / FEATURE CARDS ===== */
.gs-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--gs-radius);
    padding: 2rem;
    height: 100%;
    transition: transform 0.4s var(--gs-ease), box-shadow 0.4s var(--gs-ease);
}

.gs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.gs-section--dark .gs-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.gs-section--dark .gs-card:hover {
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.06);
}

/* ===== GIDYSOFT ICON SYSTEM =====
   In-house 24x24 line icons sitting in an asymmetric "notched" tile — the
   tighter bottom-left corner is the signature that ties every surface together. */
.gs-icon {
    display: block;
    width: var(--gs-icon-size, 22px);
    height: var(--gs-icon-size, 22px);
    flex: none;
    overflow: visible;
}

.gs-card__icon,
.gs-services-pro-card__icon,
.gs-mobile-lane__icon,
.gs-pipeline-visual__icon {
    --gs-tile-size: 52px;
    --gs-icon-size: 23px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--gs-tile-size);
    height: var(--gs-tile-size);
    border-radius: 16px 16px 16px 7px;
    background: linear-gradient(152deg, rgba(var(--gs-teal), 0.18), rgba(var(--gs-teal), 0.05) 58%, rgba(var(--gs-teal), 0.02));
    border: 1px solid rgba(var(--gs-teal), 0.22);
    color: var(--gs-teal-ink);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 22px -14px rgba(13, 148, 136, 0.6);
    transition: transform 0.45s var(--gs-ease), background 0.45s var(--gs-ease),
                border-color 0.45s var(--gs-ease), box-shadow 0.45s var(--gs-ease);
}

/* Hairline corner tick — a small drafting mark on the notched corner. */
.gs-card__icon::after,
.gs-services-pro-card__icon::after,
.gs-mobile-lane__icon::after,
.gs-pipeline-visual__icon::after {
    content: "";
    position: absolute;
    left: 5px;
    bottom: 5px;
    width: 7px;
    height: 7px;
    border-left: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
    border-bottom-left-radius: 2px;
    opacity: 0.24;
    pointer-events: none;
}

.gs-card__icon {
    margin-bottom: 1.25rem;
}

/* Dark surfaces — the mobile lanes and pipeline visual only ever sit on dark. */
.gs-section--dark .gs-card__icon,
.gs-section--dark .gs-services-pro-card__icon,
.gs-mobile-lane__icon,
.gs-pipeline-visual__icon {
    background: linear-gradient(152deg, rgba(var(--gs-teal), 0.22), rgba(255, 255, 255, 0.05) 55%, rgba(255, 255, 255, 0.02));
    border-color: rgba(var(--gs-teal), 0.26);
    color: var(--gs-teal-glow);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 14px 28px -18px rgba(0, 0, 0, 0.9);
}

.gs-card:hover .gs-card__icon,
.gs-services-pro-card:hover .gs-services-pro-card__icon,
.gs-mobile-lane:hover .gs-mobile-lane__icon {
    transform: translateY(-3px);
    border-color: rgba(var(--gs-teal), 0.55);
    background: linear-gradient(152deg, rgba(var(--gs-teal), 0.34), rgba(var(--gs-teal), 0.09) 58%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 16px 30px -14px rgba(13, 148, 136, 0.55);
}

.gs-section--dark .gs-card:hover .gs-card__icon,
.gs-section--dark .gs-services-pro-card:hover .gs-services-pro-card__icon,
.gs-mobile-lane:hover .gs-mobile-lane__icon {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 32px -18px rgba(0, 0, 0, 0.95);
}

@media (prefers-reduced-motion: reduce) {
    .gs-card:hover .gs-card__icon,
    .gs-services-pro-card:hover .gs-services-pro-card__icon,
    .gs-mobile-lane:hover .gs-mobile-lane__icon {
        transform: none;
    }
}

.gs-card__title {
    font-family: var(--gs-font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.65rem;
}

.gs-card__text {
    font-size: 0.95rem;
    color: var(--gs-text);
    line-height: 1.65;
    margin: 0;
}

.gs-section--dark .gs-card__text {
    color: rgba(255, 255, 255, 0.6);
}

/* ===== TECH STACK PILLS ===== */
.gs-tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.gs-tech-grid--matrix {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
}

@media (max-width: 991.98px) {
    .gs-tech-grid--matrix {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575.98px) {
    .gs-tech-grid--matrix {
        grid-template-columns: 1fr;
    }
}

.gs-tech-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--gs-radius-pill);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease,
        opacity 0.5s ease;
}

.gs-tech-grid--matrix .gs-tech-pill {
    width: 100%;
    min-height: 2.75rem;
    font-size: 0.8rem;
    padding: 0.6rem 0.85rem;
    text-align: center;
}

.gs-tech-pill--animated {
    opacity: 0;
    transform: translateY(16px) scale(0.97);
    transition-delay: var(--tech-delay, 0ms);
}

.gs-tech-grid--matrix.is-visible .gs-tech-pill--animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.gs-tech-grid--matrix.is-visible .gs-tech-pill--animated:nth-child(3n+1) {
    animation: gsTechFloatA 5.2s ease-in-out infinite;
    animation-delay: var(--tech-float-delay, 0s);
}

.gs-tech-grid--matrix.is-visible .gs-tech-pill--animated:nth-child(3n+2) {
    animation: gsTechFloatB 5.8s ease-in-out infinite;
    animation-delay: var(--tech-float-delay, 0s);
}

.gs-tech-grid--matrix.is-visible .gs-tech-pill--animated:nth-child(3n) {
    animation: gsTechFloatC 6.4s ease-in-out infinite;
    animation-delay: var(--tech-float-delay, 0s);
}

@keyframes gsTechFloatA {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-5px) scale(1); }
}

@keyframes gsTechFloatB {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.01); }
}

@keyframes gsTechFloatC {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1); }
}

.gs-tech-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.22);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    animation: none !important;
}

.gs-tech-pill i {
    font-size: 0.95rem;
    opacity: 0.85;
}

.gs-section--light .gs-tech-pill {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--gs-dark);
}

/* ===== CTA BAND ===== */
.gs-cta-band {
    position: relative;
    padding: 5rem 0;
    background: #0a0a0a;
    color: #fff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gs-cta-band__title {
    font-family: var(--gs-font-display);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.75rem;
    color: #fff;
}

.gs-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--gs-radius-pill);
    text-decoration: none;
    transition: transform 0.3s var(--gs-ease), box-shadow 0.3s var(--gs-ease);
}

.gs-btn--light {
    background: #fff;
    color: #0a0a0a;
}

.gs-btn--light:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #0a0a0a;
}

.gs-btn--dark {
    background: #0a0a0a;
    color: #fff;
}

.gs-btn--dark:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #fff;
}

.gs-btn--outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.gs-btn--outline:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ===== KEYBOARD FOCUS ===== */
.gs-btn:focus-visible,
.gs-nav__link:focus-visible,
.gs-header__logo:focus-visible,
.gs-header__social a:focus-visible,
.gs-mobile-toggle:focus-visible,
.gs-footer a:focus-visible,
.gs-footer__social a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: var(--gs-radius-pill);
}

.gs-blog-card:focus-visible,
.proj-card:focus-visible,
.gs-team-card:focus-visible,
.gs-product-card:focus-visible {
    outline: 2px solid var(--gs-primary);
    outline-offset: 3px;
}

.gs-section--light .gs-btn--outline,
.gs-section--muted .gs-btn--outline {
    color: #0a0a0a;
    border-color: rgba(0, 0, 0, 0.18);
}

.gs-section--light .gs-btn--outline:hover,
.gs-section--muted .gs-btn--outline:hover {
    background: rgba(0, 0, 0, 0.04);
    color: #0a0a0a;
}

/* ===== JOB LISTING ===== */
.gs-job {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    text-decoration: none;
    color: inherit;
    transition: padding-left 0.3s var(--gs-ease);
}

.gs-job:hover {
    padding-left: 0.5rem;
    color: inherit;
}

.gs-job__title {
    font-family: var(--gs-font-display);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.gs-job__meta {
    font-size: 0.85rem;
    color: var(--gs-text);
}

.gs-job__apply {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gs-dark);
}

.gs-job--static {
    border-bottom: none;
    padding-bottom: 0.75rem;
}

.gs-job__apply-btn {
    flex-shrink: 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gs-dark);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s var(--gs-ease);
}

.gs-job__apply-btn:hover {
    transform: translateX(4px);
}

.gs-job-card {
    background: #fff;
    border-radius: 1rem;
    padding: 1.25rem 1.5rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.gs-job-card__summary {
    color: var(--gs-text);
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.gs-job-card__list {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--gs-text);
    font-size: 0.9rem;
}

.gs-job-card__list li + li {
    margin-top: 0.35rem;
}

/* ===== FOOTER (enhanced) ===== */
.gs-footer {
    position: relative;
    background: linear-gradient(180deg, #080808 0%, #000 100%);
    color: #a1a1aa;
    padding: 4.5rem 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.gs-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14), transparent);
}

.gs-footer__top {
    padding-bottom: 3rem;
}

.gs-footer__brand {
    max-width: 340px;
}

.gs-footer__logo-link {
    display: inline-block;
    margin-bottom: 1.25rem;
}

.gs-footer__logo {
    height: 34px;
    width: auto;
    display: block;
}

.gs-footer__tagline {
    color: #d4d4d8;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.gs-footer__social {
    display: flex;
    gap: 0.65rem;
}

.gs-footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #d4d4d8;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.gs-footer__social a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
    transform: translateY(-1px);
}

.gs-footer__heading {
    color: #f4f4f5;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 1.1rem;
}

.gs-footer__nav {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.gs-footer__nav a {
    color: #a1a1aa;
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0;
    transition: color 0.2s ease;
}

.gs-footer__nav a:hover {
    color: #fff;
}

.gs-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
}

.gs-footer__contact-link {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #d4d4d8 !important;
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.gs-footer__contact-link i {
    color: #fff;
    font-size: 1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
    opacity: 0.85;
}

.gs-footer__contact-link:hover {
    color: #fff !important;
}

.gs-footer__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    background: #fff;
    color: #0a0a0a !important;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.2s ease;
}

.gs-footer__cta:hover {
    background: #f4f4f5;
    color: #0a0a0a !important;
    transform: translateY(-1px);
}

.gs-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 1.35rem 0 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.gs-footer__copy,
.gs-footer__meta {
    margin: 0;
    font-size: 0.82rem;
    color: #71717a;
}

@media (max-width: 991.98px) {
    .gs-footer {
        padding-top: 3.5rem;
    }

    .gs-footer__brand {
        max-width: none;
        margin-bottom: 0.5rem;
    }

    .gs-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

.gs-footer__newsletter {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.gs-footer__newsletter input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0.65rem 1rem;
    color: #fff;
    font-size: 0.9rem;
}

.gs-footer__newsletter input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.gs-footer__newsletter button {
    background: var(--gs-primary);
    border: none;
    color: #fff;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.25s ease;
}

.gs-footer__newsletter button:hover {
    background: var(--gs-primary-light);
}

/* ===== HOMEPAGE HERO ENHANCEMENTS ===== */
.gs-home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: calc(var(--gs-header-h) + 3rem) 1.5rem 4rem;
    background-color: #0a0a0a;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.gs-home-hero--wide-office {
    background-position: center 42%;
}

.gs-home-hero--wide-office::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.38) 0%,
        rgba(0, 0, 0, 0.08) 35%,
        rgba(0, 0, 0, 0.08) 65%,
        rgba(0, 0, 0, 0.38) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.gs-home-hero--with-photo::before {
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.28) 38%,
        rgba(0, 0, 0, 0.12) 62%,
        rgba(0, 0, 0, 0.5) 100%
    );
}

/* Sits in flow below the hero content so it can never collide with the CTAs */
.gs-home-hero__footer {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding-top: 3rem;
}

.gs-home-hero__studio {
    margin: 0;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--gs-font-mono);
}

.gs-home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.58);
    z-index: 1;
}

.gs-home-hero > .container {
    position: relative;
    z-index: 2;
    flex: 1 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gs-home-hero__title {
    font-family: var(--gs-font-serif);
    font-size: clamp(2.75rem, 6vw, 5.25rem);
    font-weight: 400;
    color: #fff;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

.gs-home-hero__title em {
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
}

.gs-home-hero__subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 580px;
    margin: 0 auto 2.5rem;
    line-height: 1.75;
    font-weight: 300;
}

.gs-scroll-hint {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: gsScrollPulse 2s ease-in-out infinite;
}

@keyframes gsScrollPulse {
    0%, 100% { opacity: 0.45; transform: translateY(0); }
    50% { opacity: 0.85; transform: translateY(6px); }
}

/* Illustration float */
.gs-illustration-float {
    animation: gsIllustrationFloat 6s ease-in-out infinite;
}

@keyframes gsIllustrationFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Grounds the pipeline card so it doesn't sit in empty white space */
.gs-pipeline-stage {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 2rem 1.5rem;
}

.gs-pipeline-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 28px;
    background:
        radial-gradient(circle at 50% 38%, rgba(41, 204, 182, 0.09), transparent 60%),
        linear-gradient(180deg, var(--gs-surface) 0%, rgba(244, 244, 245, 0) 100%);
}

.gs-pipeline-stage > * {
    position: relative;
    width: 100%;
}

/* Engineering pipeline visual (homepage / technology) */
.gs-pipeline-visual {
    background: linear-gradient(145deg, #0a0a0a 0%, #18181b 55%, #111827 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    overflow: hidden;
    text-align: left;
    max-width: 420px;
    margin-inline: auto;
}

.gs-pipeline-stage .gs-pipeline-visual {
    max-width: 500px;
}

.gs-pipeline-visual--compact {
    max-width: 100%;
}

.gs-pipeline-visual__chrome {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.85rem 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(0, 0, 0, 0.25);
}

.gs-pipeline-visual__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #3f3f46;
}

.gs-pipeline-visual__dot:nth-child(1) { background: #ef4444; opacity: 0.85; }
.gs-pipeline-visual__dot:nth-child(2) { background: #f59e0b; opacity: 0.85; }
.gs-pipeline-visual__dot:nth-child(3) { background: #22c55e; opacity: 0.85; }

.gs-pipeline-visual__title {
    margin-left: auto;
    font-family: var(--gs-font-mono);
    font-size: 0.72rem;
    color: #71717a;
    letter-spacing: 0.04em;
}

.gs-pipeline-visual__steps {
    list-style: none;
    margin: 0;
    padding: 1.25rem 1.1rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.gs-pipeline-visual__step {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.85rem;
    row-gap: 0.15rem;
    padding: 0.85rem 0 0.85rem 0.35rem;
    position: relative;
}

.gs-pipeline-visual__step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 21px;
    top: 3.1rem;
    width: 2px;
    height: calc(100% - 1.4rem);
    background: linear-gradient(180deg, rgba(41, 204, 182, 0.55), rgba(255, 255, 255, 0.08));
}

.gs-pipeline-visual__icon {
    grid-row: 1 / span 2;
    --gs-tile-size: 44px;
    --gs-icon-size: 20px;
    border-radius: 14px 14px 14px 6px;
}

.gs-pipeline-visual__label {
    font-family: var(--gs-font-display);
    font-weight: 700;
    font-size: 0.98rem;
    color: #f4f4f5;
    align-self: end;
}

.gs-pipeline-visual__desc {
    font-size: 0.8rem;
    color: #a1a1aa;
    line-height: 1.35;
}

.gs-pipeline-visual__step--active .gs-pipeline-visual__icon {
    background: linear-gradient(152deg, rgba(var(--gs-teal), 0.4), rgba(var(--gs-teal), 0.12) 60%);
    border-color: rgba(var(--gs-teal), 0.55);
    color: var(--gs-teal-glow);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 0 0 4px rgba(var(--gs-teal), 0.09);
}

.gs-pipeline-visual__step--active .gs-pipeline-visual__icon::after {
    opacity: 0.5;
}

.gs-pipeline-visual__step--active .gs-pipeline-visual__label {
    color: #fff;
}

.gs-pipeline-visual__footer {
    padding: 0.85rem 1.1rem 1.1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gs-pipeline-visual__status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #86efac;
}

.gs-pipeline-visual__status .bi {
    font-size: 0.45rem;
    animation: gsPipelinePulse 2s ease-in-out infinite;
}

@keyframes gsPipelinePulse {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; }
}

@media (max-width: 991.98px) {
    .gs-pipeline-visual {
        max-width: 100%;
    }
}

/* Fixed header offset for legacy page heroes */
body.gs-has-header .gs-page-hero,
body.gs-has-header .about-hero,
body.gs-has-header .page-header,
body.gs-has-header .ref-header,
body.gs-has-header .contact-header,
body.gs-has-header .sv-hero,
body.gs-has-header .pd-hero,
body.gs-has-header .blog-header {
    padding-top: calc(var(--gs-header-h) + 5rem) !important;
}

.gs-stat {
    text-align: center;
    padding: 1.5rem;
}

.gs-stat__value {
    font-family: var(--gs-font-display);
    font-size: 2.75rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    margin-bottom: 0.35rem;
}

.gs-section--light .gs-stat__value,
.gs-section--muted .gs-stat__value {
    color: #0a0a0a;
}

.gs-stat__label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== SECTION NUMBERS (Volkan-inspired) ===== */
.gs-section-header {
    margin-bottom: 2.5rem;
}

.gs-section-num {
    font-family: var(--gs-font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gs-primary-light);
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.gs-section--dark .gs-section-num {
    color: rgba(255, 255, 255, 0.45);
}

/* ===== ROTATING HERO TEXT ===== */
.gs-rotate-text {
    display: inline-block;
    min-height: 1.75em;
    transition: opacity 0.4s var(--gs-ease);
}

.gs-rotate-text.is-fading {
    opacity: 0;
}

/* ===== TECH MARQUEE ===== */
.gs-marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    padding: 0.5rem 0;
}

.gs-marquee-track {
    display: flex;
    gap: 0.75rem;
    width: max-content;
    animation: gsMarquee 32s linear infinite;
}

.gs-marquee:hover .gs-marquee-track {
    animation-play-state: paused;
}

.gs-marquee__pill {
    flex-shrink: 0;
    padding: 0.55rem 1.1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--gs-radius-pill);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.88);
    white-space: nowrap;
}

.gs-section--light .gs-marquee__pill,
.gs-section--muted .gs-marquee__pill {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.08);
    color: var(--gs-dark);
}

@keyframes gsMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== TIMELINE ===== */
.gs-timeline {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid rgba(0, 0, 0, 0.12);
}

.gs-section--dark .gs-timeline {
    border-left-color: rgba(255, 255, 255, 0.15);
}

.gs-timeline__item {
    position: relative;
    padding-bottom: 2rem;
}

.gs-timeline__item:last-child {
    padding-bottom: 0;
}

.gs-timeline__item::before {
    content: '';
    position: absolute;
    left: -1.65rem;
    top: 0.35rem;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0a0a0a;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
}

.gs-section--dark .gs-timeline__item::before {
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.12);
}

.gs-timeline__year {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #71717a;
    margin-bottom: 0.35rem;
}

.gs-section--dark .gs-timeline__year {
    color: rgba(255, 255, 255, 0.5);
}

.gs-timeline__title {
    font-family: var(--gs-font-display);
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.gs-timeline__text {
    color: var(--gs-text);
    font-size: 0.95rem;
    line-height: 1.65;
    margin: 0;
}

/* ===== CODE CARD (Technology page) ===== */
.gs-code-card {
    background: #0f0f12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--gs-radius);
    padding: 1.5rem;
    font-family: var(--gs-font-mono);
    font-size: 0.82rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
}

.gs-code-card .comment { color: #6b7280; }
.gs-code-card .keyword { color: #d4d4d8; }
.gs-code-card .string { color: #86efac; }

/* ===== MOBILE STACK LANES (Technology page) ===== */
.gs-section--mobile {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 5rem;
}

.gs-mobile-note {
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.62);
    padding: 1.15rem 1.25rem;
    border-radius: var(--gs-radius);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.gs-mobile-lanes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.gs-mobile-lane {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    border-radius: calc(var(--gs-radius) + 4px);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition:
        transform 0.4s var(--gs-ease),
        border-color 0.35s ease,
        box-shadow 0.4s var(--gs-ease);
}

.gs-mobile-lane:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
}

.gs-mobile-lane--accent {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: rgba(255, 255, 255, 0.16);
}

.gs-mobile-lane__icon {
    --gs-tile-size: 48px;
    --gs-icon-size: 22px;
    margin-bottom: 1.15rem;
}

.gs-mobile-lane__tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.65rem;
}

.gs-mobile-lane__title {
    font-family: var(--gs-font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.gs-mobile-lane__text {
    font-size: 0.92rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

.gs-mobile-lane__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gs-mobile-lane__pills .gs-tech-pill {
    font-size: 0.75rem;
    padding: 0.45rem 0.75rem;
    min-height: auto;
    width: auto;
}

.gs-section--dark .gs-card__title {
    color: #fff;
}

.gs-office-list__item:last-child .d-flex,
.gs-office-list__item:last-child p {
    margin-bottom: 0 !important;
}

.gs-office-list--compact {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.55;
}

.gs-office-list--compact .gs-office-list__item:last-child p {
    margin-bottom: 0 !important;
}

@media (max-width: 991.98px) {
    .gs-mobile-lanes {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .gs-mobile-lane {
        padding: 1.35rem;
    }
}

/* ===== TEAM CARD ===== */
.gs-team-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--gs-radius);
    overflow: hidden;
    text-align: center;
    transition: transform 0.4s var(--gs-ease), box-shadow 0.4s var(--gs-ease);
    height: 100%;
}

.gs-team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.gs-team-card__avatar-wrap {
    padding: 2rem 1rem 1rem;
    background: var(--gs-surface);
    display: flex;
    justify-content: center;
}

.gs-team-card__avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    background: #e4e4e7;
}

.gs-team-card__body {
    padding: 1.5rem 1.75rem 2rem;
}

.gs-team-card__name {
    font-family: var(--gs-font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.gs-team-card__role {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gs-text);
    margin-bottom: 0.75rem;
}

.gs-team-card__bio {
    font-size: 0.875rem;
    line-height: 1.65;
    color: var(--gs-text);
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gs-team-card__link {
    padding: 0.4rem 0.8rem;
    font-size: 0.85rem;
}

/* Founder spotlight */
.gs-founder-spotlight {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: center;
    background: #0a0a0a;
    color: #fff;
    border-radius: var(--gs-radius);
    padding: 2.5rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (min-width: 768px) {
    .gs-founder-spotlight {
        grid-template-columns: 200px 1fr;
        padding: 3rem;
    }
}

.gs-founder-spotlight__avatar {
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: center top;
    border-radius: 20px;
    background: #18181b;
    border: 2px solid rgba(255, 255, 255, 0.1);
    margin: 0 auto;
    display: block;
}

.gs-founder-spotlight__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.75rem;
}

.gs-founder-spotlight__name {
    font-family: var(--gs-font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 0.35rem;
    /* Same trap as the article hero: the global h1-h6 colour beats the white
       inherited from .gs-founder-spotlight, so the name has to set it itself. */
    color: #fff;
}

.gs-founder-spotlight__role {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 1rem;
}

.gs-founder-spotlight__bio {
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin-bottom: 0;
    max-width: 560px;
}

.gs-founder-spotlight--light {
    background: #fff;
    color: #0a0a0a;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.gs-founder-spotlight--light .gs-founder-spotlight__avatar {
    background: #f4f4f5;
    border-color: rgba(0, 0, 0, 0.08);
}

.gs-founder-spotlight--light .gs-founder-spotlight__eyebrow {
    color: #71717a;
}

.gs-founder-spotlight--light .gs-founder-spotlight__name {
    color: #0a0a0a;
}

.gs-founder-spotlight--light .gs-founder-spotlight__role {
    color: #52525b;
}

.gs-founder-spotlight--light .gs-founder-spotlight__bio {
    color: #52525b;
}

.gs-team-card--founder {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}

.gs-avatar-stack__item {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-left: -10px;
    background: #e4e4e7;
}

.gs-avatar-stack__item--founder {
    width: 64px;
    height: 64px;
    z-index: 2;
    margin-left: 0;
    border-color: #0a0a0a;
}

.gallery-item img.is-illustrated {
    object-fit: contain;
    background: #18181b;
    padding: 1rem;
}

.gs-section__label--onDark {
    color: var(--gs-accent-soft);
}

.gs-gallery__title {
    font-family: var(--gs-font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 1rem;
}

.gs-gallery__lead {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--gs-text-light);
}

/* ===== SERVICES GRID ===== */
.gs-svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.gs-svc-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--gs-radius);
    overflow: hidden;
    transition: transform 0.35s var(--gs-ease), box-shadow 0.35s var(--gs-ease);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gs-svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.gs-svc-card__img {
    height: 160px;
    background: var(--gs-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gs-svc-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gs-svc-card__body {
    padding: 1.5rem;
    flex: 1;
}

/* ===== SERVICES PAGE (PRO) ===== */
.gs-services-stats {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.gs-services-stat__value {
    font-family: var(--gs-font-display);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 0.35rem;
}

.gs-services-stat__label {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
}

.gs-services-pro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.gs-services-pro-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem 1.5rem 1.35rem;
    height: 100%;
    transition: transform 0.3s var(--gs-ease), border-color 0.3s var(--gs-ease), box-shadow 0.3s var(--gs-ease);
}

.gs-section--light .gs-services-pro-card {
    background: #fff;
    border-color: rgba(0, 0, 0, 0.07);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.gs-services-pro-card:hover {
    transform: translateY(-3px);
    border-color: rgba(41, 204, 182, 0.35);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.gs-section--dark .gs-services-pro-card:hover {
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
}

.gs-services-pro-card__icon {
    --gs-tile-size: 48px;
    --gs-icon-size: 22px;
    margin-bottom: 1.1rem;
}

.gs-services-pro-card__title {
    font-family: var(--gs-font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.55rem;
    line-height: 1.35;
}

.gs-section--dark .gs-services-pro-card__title {
    color: #f4f4f5;
}

.gs-services-pro-card__text {
    font-size: 0.9rem;
    line-height: 1.65;
    margin: 0;
    color: var(--gs-text);
}

.gs-section--dark .gs-services-pro-card__text {
    color: rgba(255, 255, 255, 0.68);
}

.gs-services-process {
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    background: #fff;
}

.gs-services-process__header {
    margin-bottom: 1.75rem;
}

.gs-services-process__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.gs-services-process__steps li {
    padding: 1rem 1.1rem;
    border-radius: 12px;
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.gs-services-process__steps strong {
    display: block;
    font-family: var(--gs-font-display);
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: #0a0a0a;
}

.gs-services-process__steps span {
    display: block;
    font-size: 0.82rem;
    color: #71717a;
    line-height: 1.5;
}

@media (max-width: 575.98px) {
    .gs-services-pro-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CONTACT FORM ===== */
.gs-contact-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--gs-radius);
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.04);
}

.gs-form-control {
    background: var(--gs-surface);
    border: 1px solid #e2e8f0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    width: 100%;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.gs-form-control:focus {
    outline: none;
    border-color: #0a0a0a;
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.06);
}

/* ===== STORY IMAGE (About) ===== */
.gs-story-stack {
    position: relative;
    border-radius: var(--gs-radius);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.gs-story-stack img {
    width: 100%;
    /* The img carries width/height attributes so the browser can reserve space
       before the file loads. Those act as a definite height, which would win over
       aspect-ratio and stretch the card — height:auto hands the ratio back to CSS. */
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.gs-story-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(8px);
    color: #fff;
    padding: 0.6rem 1rem;
    border-radius: var(--gs-radius-pill);
    font-size: 0.8rem;
    font-weight: 600;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .gs-marquee-track,
    .gs-scroll-hint,
    .gs-illustration-float,
    .gs-orb,
    .gs-tech-pill--animated {
        animation: none !important;
    }

    .gs-tech-pill--animated {
        opacity: 1;
        transform: none;
    }

    .gs-tech-grid--matrix.is-visible .gs-tech-pill--animated {
        transform: none;
    }

    .gs-header {
        transition: none;
    }
}
