:root {
    --tgz-navy: #0b1220;
    --tgz-navy-deep: #07101f;
    --tgz-blue: #267bff;
    --tgz-blue-dark: #155bcc;
    --tgz-ink: #101827;
    --tgz-muted: #5c6878;
    --tgz-paper: #f4f6f9;
    --tgz-white: #ffffff;
    --tgz-line: rgba(16, 24, 39, 0.13);
    --tgz-shell: min(90vw, 1440px);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--tgz-paper);
    color: var(--tgz-ink);
    text-rendering: optimizeLegibility;
}

a {
    color: var(--tgz-blue-dark);
}

.site-header.nav-layout-split {
    position: relative;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--tgz-line);
    backdrop-filter: blur(16px);
}

.header-split-container {
    width: min(94vw, 1600px);
    max-width: none;
    box-sizing: border-box;
    padding: 1rem 0;
    border-bottom: 0;
}

.nav-split.left {
    padding-right: 2.25rem;
}

.nav-split.right {
    padding-left: 2.25rem;
}

.nav-split ul {
    gap: clamp(1rem, 1.45vw, 2rem);
}

.nav-split a {
    color: var(--tgz-ink);
    font-size: 0.76rem;
    font-weight: 720;
    letter-spacing: 0.035em;
    text-transform: none;
}

.nav-split a:hover {
    color: var(--tgz-blue-dark);
}

.logo-split img {
    width: clamp(180px, 17vw, 270px);
    max-height: 54px;
}

.mobile-menu-overlay-custom a {
    color: var(--tgz-ink) !important;
    font-size: 1.15rem !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.tgz-shell {
    width: var(--tgz-shell);
    margin-inline: auto;
}

.block-html--width-full,
.block-html--width-full .block-html-container {
    width: 100%;
    max-width: none;
}

.tgz-home-block,
.tgz-home-block.block-html,
.tgz-home-block .block-html-container {
    margin: 0;
    padding: 0 !important;
}

.tgz-home {
    overflow: clip;
    background: var(--tgz-paper);
}

.tgz-hero {
    position: relative;
    min-height: min(820px, calc(100svh - 78px));
    display: grid;
    align-items: center;
    isolation: isolate;
    color: var(--tgz-white);
    background: var(--tgz-navy) url("../img/techgeekzone/hero-workspace.webp") center center / cover no-repeat;
}

.tgz-hero__shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(4, 9, 19, 0.98) 0%, rgba(4, 9, 19, 0.90) 26%, rgba(4, 9, 19, 0.42) 58%, rgba(4, 9, 19, 0.14) 100%),
        linear-gradient(0deg, rgba(4, 9, 19, 0.38), transparent 45%);
}

.tgz-hero__inner {
    padding-block: clamp(5.5rem, 10vw, 9rem);
}

.tgz-eyebrow {
    margin: 0 0 1.4rem;
    color: #8fbcff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.tgz-eyebrow--dark {
    color: var(--tgz-blue-dark);
}

.tgz-hero h1 {
    max-width: 830px;
    margin: 0;
    color: var(--tgz-white);
    font-size: clamp(3rem, 6.5vw, 6.9rem);
    font-weight: 760;
    letter-spacing: -0.058em;
    line-height: 0.93;
}

.tgz-hero__lead {
    max-width: 620px;
    margin: 2rem 0 0;
    color: #e3eaf4;
    font-size: clamp(1.1rem, 1.35vw, 1.4rem);
    line-height: 1.55;
}

.tgz-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 2rem;
}

.tgz-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1.35rem;
    border: 1px solid transparent;
    border-radius: 5px;
    font-size: 0.92rem;
    font-weight: 780;
    line-height: 1;
    text-decoration: none;
    transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.tgz-button:hover {
    transform: translateY(-2px);
}

.tgz-button--primary {
    background: var(--tgz-blue);
    color: var(--tgz-white);
}

.tgz-button--primary:hover {
    background: #3c8aff;
    color: var(--tgz-white);
}

.tgz-button--ghost {
    border-color: rgba(255, 255, 255, 0.48);
    background: rgba(11, 18, 32, 0.22);
    color: var(--tgz-white);
    backdrop-filter: blur(10px);
}

.tgz-button--ghost:hover {
    border-color: var(--tgz-white);
    color: var(--tgz-white);
}

.tgz-button--light {
    background: var(--tgz-white);
    color: var(--tgz-navy);
}

.tgz-hero__note {
    max-width: 610px;
    margin: 2.4rem 0 0;
    padding-left: 1rem;
    border-left: 2px solid var(--tgz-blue);
    color: #b6c3d4;
    font-size: 0.88rem;
    line-height: 1.55;
}

.tgz-routebar {
    background: var(--tgz-white);
    border-bottom: 1px solid var(--tgz-line);
}

.tgz-routebar__inner {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.tgz-routebar a {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 0.9rem;
    padding: 1.55rem clamp(1rem, 2vw, 2rem);
    border-right: 1px solid var(--tgz-line);
    color: var(--tgz-ink);
    text-decoration: none;
    transition: background-color 180ms ease;
}

.tgz-routebar a:first-child {
    border-left: 1px solid var(--tgz-line);
}

.tgz-routebar a:hover {
    background: #edf4ff;
}

.tgz-routebar span {
    grid-row: 1 / span 2;
    color: var(--tgz-blue);
    font-size: 0.74rem;
    font-weight: 850;
}

.tgz-routebar strong,
.tgz-routebar em {
    display: block;
}

.tgz-routebar strong {
    font-size: 0.95rem;
}

.tgz-routebar em {
    margin-top: 0.16rem;
    color: var(--tgz-muted);
    font-size: 0.78rem;
    font-style: normal;
}

.tgz-section {
    padding-block: clamp(5rem, 8vw, 8.5rem);
}

.tgz-section h2,
.tgz-final h2 {
    margin: 0;
    color: var(--tgz-ink);
    font-size: clamp(2.25rem, 4.4vw, 4.8rem);
    font-weight: 740;
    letter-spacing: -0.052em;
    line-height: 1;
}

.tgz-manifesto {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
}

.tgz-manifesto__copy {
    padding-top: 2.4rem;
    border-top: 2px solid var(--tgz-ink);
}

.tgz-manifesto__copy p,
.tgz-section-heading--split > p,
.tgz-signal__copy > p {
    color: var(--tgz-muted);
    font-size: 1.03rem;
    line-height: 1.75;
}

.tgz-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1.25rem;
    color: var(--tgz-ink);
    font-weight: 800;
    text-decoration: none;
}

.tgz-text-link span {
    color: var(--tgz-blue);
    transition: transform 180ms ease;
}

.tgz-text-link:hover span {
    transform: translateX(5px);
}

.tgz-section--uses {
    background: var(--tgz-white);
}

.tgz-section-heading {
    max-width: 900px;
    margin-bottom: clamp(3rem, 6vw, 5rem);
}

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

.tgz-use-list a {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 1.25rem;
    align-items: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--tgz-line);
    color: var(--tgz-ink);
    text-decoration: none;
}

.tgz-use-list__number {
    color: var(--tgz-blue);
    font-size: 0.76rem;
    font-weight: 850;
}

.tgz-use-list strong,
.tgz-use-list em {
    display: block;
}

.tgz-use-list strong {
    font-size: clamp(1.25rem, 2vw, 1.85rem);
}

.tgz-use-list em {
    margin-top: 0.35rem;
    color: var(--tgz-muted);
    font-style: normal;
}

.tgz-use-list b {
    color: var(--tgz-blue);
    font-size: 1.6rem;
    transition: transform 180ms ease;
}

.tgz-use-list a:hover b {
    transform: translate(4px, -4px);
}

.tgz-section--signal {
    color: var(--tgz-white);
    background: var(--tgz-navy);
}

.tgz-signal {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: clamp(3rem, 7vw, 8rem);
    align-items: center;
}

.tgz-signal__diagram {
    position: relative;
    min-height: 380px;
}

.tgz-signal__laptop,
.tgz-signal__monitor {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.62);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(38, 123, 255, 0.08));
    box-shadow: inset 0 0 0 12px var(--tgz-navy);
}

.tgz-signal__laptop {
    left: 1%;
    top: 20%;
    width: 44%;
    aspect-ratio: 16 / 10;
    transform: perspective(800px) rotateY(10deg);
}

.tgz-signal__laptop::after {
    content: "";
    position: absolute;
    right: -5%;
    bottom: -13%;
    left: -5%;
    height: 12%;
    border-radius: 0 0 12px 12px;
    background: #243048;
}

.tgz-signal__monitor {
    right: 1%;
    top: 5%;
    width: 44%;
    aspect-ratio: 16 / 10;
    transform: perspective(800px) rotateY(-8deg);
}

.tgz-signal__monitor::after {
    content: "";
    position: absolute;
    right: 24%;
    bottom: -30%;
    width: 34%;
    height: 30%;
    border-right: 14px solid #243048;
    transform: skewX(-16deg);
}

.tgz-signal__cable {
    position: absolute;
    left: 40%;
    top: 55%;
    width: 24%;
    height: 18%;
    border-bottom: 5px solid var(--tgz-blue);
    border-radius: 0 0 50% 50%;
}

.tgz-signal__cable i {
    position: absolute;
    bottom: -8px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #70aaff;
    box-shadow: 0 0 18px rgba(38, 123, 255, 0.95);
}

.tgz-signal__cable i:nth-child(1) { left: 20%; }
.tgz-signal__cable i:nth-child(2) { left: 50%; }
.tgz-signal__cable i:nth-child(3) { left: 80%; }

.tgz-signal__copy h2 {
    color: var(--tgz-white);
}

.tgz-signal__copy > p {
    color: #b8c5d7;
}

.tgz-section--method {
    background: #eaf0f8;
}

.tgz-section-heading--split {
    max-width: none;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.65fr);
    gap: clamp(2.5rem, 7vw, 8rem);
    align-items: end;
}

.tgz-method-line {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 0 0 1.25rem;
    padding: 0;
    border-top: 2px solid var(--tgz-ink);
    list-style: none;
}

.tgz-method-line li {
    min-height: 230px;
    padding: 1.5rem;
    border-right: 1px solid var(--tgz-line);
}

.tgz-method-line li:first-child {
    border-left: 1px solid var(--tgz-line);
}

.tgz-method-line span,
.tgz-method-line strong {
    display: block;
}

.tgz-method-line span {
    color: var(--tgz-blue-dark);
    font-size: 0.74rem;
    font-weight: 850;
}

.tgz-method-line strong {
    margin-top: 3.5rem;
    font-size: 1.25rem;
}

.tgz-method-line p {
    margin-bottom: 0;
    color: var(--tgz-muted);
    line-height: 1.55;
}

.tgz-final {
    padding-block: clamp(4.5rem, 7vw, 7rem);
    color: var(--tgz-white);
    background: var(--tgz-navy-deep);
}

.tgz-final h2 {
    max-width: 900px;
    color: var(--tgz-white);
}

.tgz-final__inner {
    display: flex;
    gap: 3rem;
    align-items: flex-end;
    justify-content: space-between;
}

/* Category decision hubs */
.category-hero {
    position: relative;
    min-height: 430px;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: var(--tgz-white);
    background: var(--tgz-navy);
}

.category-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 9, 19, 0.92), rgba(4, 9, 19, 0.36));
}

.category-hero .hero-overlay {
    z-index: 0 !important;
}

.category-hero .container {
    z-index: 2 !important;
    width: var(--tgz-shell);
}

.category-hero h1 {
    max-width: 930px;
    margin-inline: auto;
    color: var(--tgz-white);
    font-size: clamp(2.8rem, 6vw, 6rem);
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.category-hero .hero-description {
    max-width: 760px;
    margin-inline: auto;
    color: #d9e1ec;
    font-size: 1.1rem;
    line-height: 1.6;
}

.tgz-pillar-intro,
.tgz-pillar-method,
.tgz-pillar-closing {
    width: var(--tgz-shell);
    margin-inline: auto;
}

.tgz-pillar-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
    gap: clamp(2rem, 7vw, 7rem);
    padding-block: clamp(4rem, 7vw, 7rem);
}

.tgz-pillar-intro h2,
.tgz-pillar-method h2,
.tgz-pillar-closing h2 {
    margin: 0;
    color: var(--tgz-ink);
    font-size: clamp(2rem, 3.5vw, 3.8rem);
    letter-spacing: -0.045em;
    line-height: 1.02;
}

.tgz-pillar-intro__copy {
    color: var(--tgz-muted);
    font-size: 1.06rem;
    line-height: 1.8;
}

.tgz-pillar-priority {
    padding-block: clamp(3.5rem, 6vw, 6rem);
    background: var(--tgz-white);
}

.tgz-pillar-priority__inner {
    width: var(--tgz-shell);
    margin-inline: auto;
}

.tgz-pillar-priority__list {
    margin-top: 2.5rem;
    border-top: 1px solid var(--tgz-line);
}

.tgz-pillar-priority__list a {
    display: grid;
    grid-template-columns: minmax(160px, 0.7fr) minmax(260px, 1fr) auto;
    gap: 2rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--tgz-line);
    color: var(--tgz-ink);
    text-decoration: none;
}

.tgz-pillar-priority__list strong {
    font-size: 1.2rem;
}

.tgz-pillar-priority__list p {
    margin: 0;
    color: var(--tgz-muted);
}

.tgz-pillar-badge {
    color: var(--tgz-blue-dark);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tgz-pillar-intents {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 2rem;
}

.tgz-pillar-intents a {
    padding: 0.65rem 0.95rem;
    border: 1px solid var(--tgz-line);
    border-radius: 999px;
    background: var(--tgz-paper);
    color: var(--tgz-ink);
    font-size: 0.85rem;
    font-weight: 720;
    text-decoration: none;
}

.tgz-pillar-method {
    margin-top: 2rem;
    padding: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--tgz-white);
    background: var(--tgz-navy);
}

.tgz-pillar-method h2 {
    color: var(--tgz-white);
}

.tgz-pillar-method p {
    max-width: 850px;
    color: #c2cede;
    line-height: 1.75;
}

.tgz-pillar-closing {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
    margin-block: clamp(4rem, 7vw, 7rem);
    padding-top: 2.5rem;
    border-top: 2px solid var(--tgz-ink);
}

.tgz-legal {
    max-width: 820px;
    margin-inline: auto;
    color: #344054;
    font-size: 1.02rem;
    line-height: 1.78;
}

.tgz-legal h2 {
    margin: 2.4rem 0 0.7rem;
    color: var(--tgz-ink);
    font-size: clamp(1.35rem, 2vw, 1.7rem);
    font-weight: 720;
    letter-spacing: -0.025em;
}

.site-footer img,
.footer-logo img {
    max-width: 250px;
    height: auto;
}

@media (max-width: 1180px) {
    .nav-split.left,
    .nav-split.right {
        padding-inline: 1.25rem;
    }

    .nav-split ul {
        gap: 0.85rem;
    }

    .nav-split a {
        font-size: 0.68rem;
    }
}

@media (max-width: 991px) {
    .header-split-container {
        min-height: 70px;
        padding: 0.72rem 1rem;
    }

    .logo-split img {
        width: min(58vw, 230px);
        max-height: 45px;
    }

    .tgz-hero {
        min-height: min(760px, calc(100svh - 70px));
        background-position: 62% center;
    }

    .tgz-hero__shade {
        background: linear-gradient(90deg, rgba(4, 9, 19, 0.97) 0%, rgba(4, 9, 19, 0.86) 50%, rgba(4, 9, 19, 0.38) 100%);
    }

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

    .tgz-routebar a:nth-child(2) {
        border-right: 1px solid var(--tgz-line);
    }

    .tgz-routebar a:nth-child(-n + 2) {
        border-bottom: 1px solid var(--tgz-line);
    }

    .tgz-manifesto,
    .tgz-signal,
    .tgz-section-heading--split,
    .tgz-pillar-intro {
        grid-template-columns: 1fr;
    }

    .tgz-manifesto__copy {
        padding-top: 1.5rem;
    }

    .tgz-signal__diagram {
        min-height: 310px;
    }

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

    .tgz-method-line li:nth-child(2) {
        border-right: 0;
    }

    .tgz-method-line li:nth-child(-n + 2) {
        border-bottom: 1px solid var(--tgz-line);
    }

    .tgz-final__inner,
    .tgz-pillar-closing {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    .tgz-shell,
    .tgz-pillar-intro,
    .tgz-pillar-method,
    .tgz-pillar-closing,
    .tgz-pillar-priority__inner {
        width: min(90vw, 520px);
    }

    .tgz-hero {
        min-height: 690px;
        background-position: 67% center;
    }

    .tgz-hero__shade {
        background: linear-gradient(90deg, rgba(4, 9, 19, 0.97), rgba(4, 9, 19, 0.74));
    }

    .tgz-hero h1 {
        font-size: clamp(2.65rem, 14vw, 4.2rem);
    }

    .tgz-hero__lead {
        font-size: 1rem;
    }

    .tgz-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .tgz-button {
        width: 100%;
    }

    .tgz-routebar__inner {
        width: 100%;
    }

    .tgz-routebar a {
        min-height: 118px;
        padding: 1.15rem;
    }

    .tgz-routebar em {
        display: none;
    }

    .tgz-section {
        padding-block: 4.5rem;
    }

    .tgz-section h2,
    .tgz-final h2 {
        font-size: clamp(2.15rem, 11vw, 3.35rem);
    }

    .tgz-use-list a {
        grid-template-columns: 38px 1fr auto;
        gap: 0.75rem;
        padding: 1.45rem 0;
    }

    .tgz-use-list em {
        font-size: 0.86rem;
    }

    .tgz-signal__diagram {
        min-height: 240px;
    }

    .tgz-method-line {
        grid-template-columns: 1fr;
    }

    .tgz-method-line li,
    .tgz-method-line li:nth-child(2) {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--tgz-line);
    }

    .tgz-method-line strong {
        margin-top: 1.5rem;
    }

    .category-hero {
        min-height: 360px;
    }

    .tgz-pillar-priority__list a {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .tgz-pillar-method {
        padding: 2rem;
    }

    .admin-edit-button {
        width: 44px;
        height: 44px;
        right: 14px;
        bottom: 14px;
        justify-content: center;
        padding: 0;
        border-radius: 50%;
    }

    .admin-edit-button span {
        display: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .tgz-hero__inner > * {
        animation: tgz-rise 650ms cubic-bezier(0.2, 0.75, 0.25, 1) both;
    }

    .tgz-hero__inner > :nth-child(2) { animation-delay: 80ms; }
    .tgz-hero__inner > :nth-child(3) { animation-delay: 140ms; }
    .tgz-hero__inner > :nth-child(4) { animation-delay: 200ms; }
    .tgz-hero__inner > :nth-child(5) { animation-delay: 260ms; }

    .tgz-signal__cable i {
        animation: tgz-pulse 1.8s ease-in-out infinite;
    }

    .tgz-signal__cable i:nth-child(2) { animation-delay: 240ms; }
    .tgz-signal__cable i:nth-child(3) { animation-delay: 480ms; }
}

.article-decision-cta {
    margin: 1.35rem 0 1.8rem;
}

.article-decision-cta a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: .72rem 1rem;
    border: 1px solid color-mix(in srgb, var(--tgz-accent) 35%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--tgz-accent) 9%, white);
    color: var(--tgz-ink);
    font-weight: 760;
    text-decoration: none;
    transition: transform 160ms ease, border-color 160ms ease;
}

.article-decision-cta a::after {
    content: "→";
    margin-left: .55rem;
    color: var(--tgz-accent);
}

.article-decision-cta a:hover {
    border-color: var(--tgz-accent);
    transform: translateY(-1px);
}

.tgz-page-heading {
    max-width: 820px;
    margin: 0 0 clamp(2.5rem, 6vw, 5rem);
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--tgz-line);
}

.tgz-page-heading h1 {
    max-width: 13ch;
    margin: .55rem 0 1rem;
    color: var(--tgz-ink);
    font-size: clamp(2.7rem, 7vw, 6.2rem);
    line-height: .94;
    letter-spacing: -.055em;
}

.tgz-page-heading > p:last-child {
    max-width: 66ch;
    margin: 0;
    color: var(--tgz-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
}

@keyframes tgz-rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes tgz-pulse {
    0%, 100% { opacity: 0.35; transform: scale(0.75); }
    50% { opacity: 1; transform: scale(1.1); }
}
