:root {
    --bg: #06080f;
    --surface: #0f1421;
    --surface-soft: #131a2b;
    --line: rgba(169, 186, 220, 0.2);
    --text: #ebf0ff;
    --muted: #a8b4d1;
    --accent: #8b9bff;
    --accent-strong: #7084ff;
    --radius: 18px;
    --shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 40px;
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 20% 20%, #111938, var(--bg) 40%);
    line-height: 1.6;
}

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

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.35;
}

.bg-orb-one {
    width: 320px;
    height: 320px;
    left: -110px;
    top: 140px;
    background: #6172ff;
}

.bg-orb-two {
    width: 360px;
    height: 360px;
    right: -130px;
    top: 320px;
    background: #4e7dff;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(14px);
    background: rgba(7, 10, 17, 0.74);
    border-bottom: 1px solid var(--line);
}

.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 72px;
    gap: 18px;
}

.brand {
    font-weight: 700;
    letter-spacing: 0.2px;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 24px;
    padding: 0;
    margin: 0;
}

.nav-list a {
    color: var(--muted);
    font-weight: 500;
}

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

.language-switcher {
    position: relative;
}

.lang-button {
    min-width: 54px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 140px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #0f1524;
    box-shadow: var(--shadow);
    padding: 6px;
    z-index: 50;
}

.lang-option {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 8px;
    padding: 7px 9px;
    text-align: left;
    color: #d8e1fb;
    background: transparent;
    cursor: pointer;
}

.lang-option:hover {
    background: rgba(139, 155, 255, 0.16);
}

.hero {
    padding: 96px 0 48px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 22px;
}

.eyebrow {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 14px;
    color: var(--muted);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
}

h1 {
    margin: 18px 0 16px;
    max-width: 920px;
    line-height: 1.16;
    font-size: clamp(2rem, 5vw, 3.6rem);
}

.lead {
    max-width: 760px;
    color: var(--muted);
    margin: 0;
    font-size: 1.08rem;
}

.hero-actions {
    margin-top: 30px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-photo-panel {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    justify-self: start;
    transform: translateX(-12px);
}

.hero-photo {
    width: 100%;
    height: 340px;
    object-fit: contain;
    object-position: center top;
    opacity: 0.82;
    display: block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: var(--accent-strong);
}

.btn-secondary {
    border-color: var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.01);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.section {
    padding: 40px 0;
    scroll-margin-top: 40px;
}

.section-head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 2.2vw, 2rem);
}

.section-head p {
    margin: 0;
    color: var(--muted);
}

.about-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.card {
    background: linear-gradient(
        180deg,
        rgba(24, 31, 51, 0.88),
        rgba(17, 22, 37, 0.9)
    );
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow);
}

.card h3 {
    margin: 0 0 10px;
    font-size: 1.05rem;
}

.card p {
    margin: 0;
    color: var(--muted);
}

.consult-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 1;
    border: 1px solid rgba(126, 255, 188, 0.45);
    background: rgba(43, 113, 75, 0.45);
    color: #dcffea;
    border-radius: 999px;
    padding: 6px 11px;
    font-size: 0.78rem;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.consult-badge:hover {
    background: rgba(43, 113, 75, 0.62);
    border-color: rgba(126, 255, 188, 0.72);
}

.consult-badge:active {
    transform: translateY(1px);
}

.hero-photo-panel.consult-online .consult-badge {
    background: rgba(74, 172, 116, 0.68);
    color: #e8fff2;
}

.skills-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.skill-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
}

.skill-item span {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.meter {
    height: 8px;
    background: #20293d;
    border-radius: 999px;
    overflow: hidden;
}

.meter span {
    display: block;
    height: 100%;
    margin: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #94a3ff, #6d85ff);
}

.capability-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.capability-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 18px;
}

.capability-item h3 {
    margin: 0 0 8px;
    font-size: 1rem;
}

.capability-item p {
    margin: 0;
    color: var(--muted);
}

.stack-head {
    margin-top: 26px;
}

.tech-controls {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
}

.boost-switch {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #d8e1fb;
    font-size: 0.9rem;
    font-weight: 600;
}

.boost-switch input {
    display: none;
}

.boost-slider {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid var(--line);
    transition: background 0.2s ease;
}

.boost-slider:before {
    content: "";
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    background: #fff;
    transition: transform 0.2s ease;
}

.boost-switch input:checked + .boost-slider {
    background: rgba(74, 222, 128, 0.4);
}

.boost-switch input:checked + .boost-slider:before {
    transform: translateX(20px);
}

.tech-space {
    margin-top: 24px;
    position: relative;
    min-height: 620px;
    border: none;
    border-radius: 16px;
    background: transparent;
    overflow: hidden;
    padding: 0;
}

.tech-easter-egg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 6;
    background: radial-gradient(circle at center, rgba(8, 12, 20, 0.35), rgba(8, 12, 20, 0.65));
    backdrop-filter: blur(2px);
}

.tech-easter-egg-text {
    margin: 0;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(139, 155, 255, 0.45);
    background: rgba(16, 24, 39, 0.9);
    color: #eef3ff;
    font-weight: 600;
    font-size: 0.98rem;
    letter-spacing: 0.2px;
    text-align: center;
    max-width: min(88%, 560px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
}

.tech-overheat .tech-easter-egg {
    opacity: 0;
}

.tech-overheat-message .tech-easter-egg {
    opacity: 1;
    pointer-events: auto;
    cursor: pointer;
}

.tech-overheat .tech-node {
    filter: saturate(1.25) brightness(1.06);
}

.tech-node-boom {
    animation: boomAway 0.9s cubic-bezier(0.12, 0.78, 0.2, 1) forwards !important;
    transition: none !important;
}

@keyframes boomAway {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    35% {
        transform: translate(calc(var(--boom-x) * 0.35), calc(var(--boom-y) * 0.35)) scale(1.2) rotate(calc(var(--boom-r) * 0.4));
        opacity: 1;
        filter: brightness(1.2);
    }
    100% {
        transform: translate(var(--boom-x), var(--boom-y)) scale(0.15) rotate(var(--boom-r));
        opacity: 0;
    }
}

.tech-space:before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 0.7px, transparent 0.7px);
    background-size: 34px 34px;
    opacity: 0.1;
    pointer-events: none;
    border-radius: 16px;
}

.tech-node {
    position: absolute;
    transform: none;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: left 0.05s linear, top 0.05s linear;
    z-index: 2;
}

.tech-node:after {
    content: "";
    position: absolute;
    width: 64px;
    height: 2px;
    left: 50%;
    top: 50%;
    transform: translate(0, -50%) rotate(var(--trail-angle, 0deg)) translateX(var(--trail-offset, 28px));
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(145, 168, 255, 0.78), rgba(145, 168, 255, 0));
    filter: blur(0.4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

.tech-node img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.45));
    transition: transform 0.2s ease, filter 0.2s ease;
}

.tech-node[data-tech="groovy"] img {
    transform: scale(1.2);
}

.tech-node[data-tech="rest-api"] img {
    width: 104px;
    height: 104px;
}

.tech-node[data-tech="spring"] img {
    width: 65px;
    height: 65px;
}

.tech-node[data-tech="docker"] img {
    transform: scale(1.08);
}

.tech-glyph {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 0.4px;
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.glyph-js {
    background: #f7df1e;
    color: #111;
}

.glyph-ts {
    background: #3178c6;
    color: #fff;
}

.glyph-rest {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle at 50% 50%, #1aa85b 0 62%, #0f7f42 63% 100%);
    color: #ecfff3;
    font-size: 0.86rem;
    letter-spacing: 0.7px;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.38);
    box-shadow:
        0 10px 18px rgba(0, 0, 0, 0.35),
        inset 0 0 0 2px rgba(255, 255, 255, 0.08);
    z-index: 1;
}

.glyph-rest span,
.glyph-rest {
    overflow: visible;
}

.glyph-rest:before {
    content: "";
    position: absolute;
    inset: -10px;
    background: linear-gradient(180deg, #35c978, #148c4a);
    clip-path: polygon(
        44% 0%, 56% 0%, 60% 8%, 72% 4%, 78% 14%, 88% 12%, 96% 22%, 92% 34%,
        100% 44%, 100% 56%, 92% 66%, 96% 78%, 88% 88%, 78% 86%, 72% 96%, 60% 92%,
        56% 100%, 44% 100%, 40% 92%, 28% 96%, 22% 86%, 12% 88%, 4% 78%, 8% 66%,
        0% 56%, 0% 44%, 8% 34%, 4% 22%, 12% 12%, 22% 14%, 28% 4%, 40% 8%
    );
    z-index: -1;
}

.glyph-rest:after {
    content: "";
    position: absolute;
    inset: 22px;
    border-radius: 50%;
    background: #0a1d13;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
    z-index: -1;
}

.tech-node:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 18px rgba(145, 168, 255, 0.55));
}

.tech-node:hover .tech-glyph {
    transform: scale(1.1);
}

.tech-node-escaping img {
    transform: scale(0.94);
    filter: drop-shadow(0 0 14px rgba(145, 168, 255, 0.45));
}

.tech-node-escaping:after {
    opacity: 0.9;
}

.tech-tooltip {
    position: absolute;
    left: 50%;
    top: calc(100% + 10px);
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.8rem;
    color: #ecf1ff;
    background: rgba(10, 14, 24, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 4px 9px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 4;
}

.tech-node:hover .tech-tooltip {
    opacity: 1;
}

.logo-grid {
    margin-top: 14px;
    overflow: hidden;
    border-radius: 14px;
}

.secondary-tools {
    margin-top: 14px;
    overflow: hidden;
    border-radius: 14px;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 12px;
    width: max-content;
    animation: tickerLeft 34s linear infinite;
    will-change: transform;
}

.secondary-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 0;
    padding: 8px;
    min-width: 92px;
    min-height: 92px;
    background: transparent;
}

.secondary-tool img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.missions-board {
    margin-top: 12px;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.mission-status {
    color: #9db0e6;
    margin: 0;
    font-size: 0.9rem;
}

.mission-card {
    border: 1px solid rgba(169, 186, 220, 0.2);
    border-radius: 12px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
}

.mission-card h3 {
    margin: 0 0 6px 0;
    font-size: 0.95rem;
}

.mission-card.done {
    border-color: rgba(109, 232, 162, 0.55);
    background: rgba(109, 232, 162, 0.15);
}

.mission-card.done .mission-status {
    color: #8af2ba;
}

.mission-claim {
    grid-column: 1 / -1;
    border: 1px solid rgba(244, 196, 48, 0.35);
    border-radius: 12px;
    background: rgba(244, 196, 48, 0.08);
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.mission-claim[hidden] {
    display: none !important;
}

.mission-claim p {
    margin: 0;
    color: #f6e6b5;
}

.learn-card {
    margin-top: 12px;
    border: none;
    border-radius: 0;
    background: transparent;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.learn-card p {
    margin: 0;
    color: #cfd9f6;
    min-height: 20px;
}

.reward-badge {
    margin-top: 14px;
    border: 1px solid rgba(244, 196, 48, 0.45);
    background: rgba(244, 196, 48, 0.1);
    border-radius: 14px;
    padding: 12px 14px;
    position: relative;
    overflow: hidden;
}

.reward-badge h3 {
    margin: 0 0 6px 0;
    color: #ffe38a;
    text-align: center;
}

.reward-badge p {
    margin: 0;
    color: #f6e6b5;
    text-align: center;
}

.reward-badge.reward-claim-animate {
    animation: rewardPulseGold 1.1s ease-out;
}

.reward-badge.reward-claim-animate:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 230, 141, 0.45), rgba(255, 230, 141, 0.06) 60%, transparent 72%);
    animation: rewardFlash 0.9s ease-out;
    pointer-events: none;
}

.reward-confetti-line {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 3px;
    height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff4bf, #f3c143);
    transform: translate(-50%, -50%) rotate(var(--confetti-angle));
    transform-origin: center center;
    animation: rewardConfettiFly 0.95s ease-out forwards;
    animation-delay: var(--confetti-delay, 0s);
    pointer-events: none;
    box-shadow: 0 0 8px rgba(255, 227, 134, 0.45);
}

@keyframes rewardPulseGold {
    0% { transform: scale(1); }
    28% { transform: scale(1.018); }
    100% { transform: scale(1); }
}

@keyframes rewardFlash {
    0% { opacity: 0; }
    18% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes rewardConfettiFly {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--confetti-angle)) translateY(0) scale(0.7);
    }
    18% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) rotate(var(--confetti-angle)) translateY(calc(-1 * var(--confetti-distance, 120px))) scale(1);
    }
}

.secondary-glyph {
    width: 72px;
    height: 72px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    letter-spacing: 0.6px;
    color: #fff;
}

.glyph-ai-secondary {
    background: linear-gradient(135deg, #8b5cf6, #2563eb);
}

@keyframes tickerLeft {
    from { transform: translateX(0); }
    to { transform: translateX(-33.333%); }
}

.logo-item {
    border: 1px solid rgba(169, 186, 220, 0.18);
    border-radius: 14px;
    min-height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
}

.logo-frame {
    width: 128px;
    height: 62px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
}

.logo-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.projects-grid {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.project-card {
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.project-card h3 {
    margin: 0 0 8px;
    font-size: 1.08rem;
}

.project-card p {
    margin: 0 0 14px;
    color: var(--muted);
    min-height: 84px;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    color: #dce3ff;
    border: 1px solid rgba(139, 155, 255, 0.35);
    background: rgba(139, 155, 255, 0.12);
    border-radius: 999px;
    padding: 3px 10px;
}

.project-link {
    display: inline-flex;
    font-weight: 600;
    color: #c8d2ff;
    margin-top: auto;
    align-self: flex-end;
}

.project-link:hover {
    color: #ffffff;
}

.contact-card {
    background: linear-gradient(
        180deg,
        rgba(14, 18, 29, 0.95),
        rgba(9, 12, 20, 0.95)
    );
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.contact-card h2 {
    margin: 0 0 10px;
}

.contact-card p {
    margin: 0 auto;
    max-width: 700px;
    color: var(--muted);
}

.contact-links {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-links a {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 8px 14px;
    color: #dce3ff;
}

.contact-links a:hover {
    border-color: rgba(139, 155, 255, 0.7);
    color: #ffffff;
}

.site-footer {
    padding: 26px 0 36px;
    text-align: center;
    color: #95a3c4;
    font-size: 0.9rem;
}

@media (max-width: 980px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-photo-panel {
        max-width: 300px;
        justify-self: start;
        transform: none;
    }

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

    .project-card p {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    html {
        scroll-padding-top: 30px;
    }

    body {
        font-size: 14px;
    }

    .nav-wrap {
        position: relative;
        min-height: 54px;
        padding: 8px 0;
        gap: 8px;
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .brand {
        font-size: 0.9rem;
    }

    .nav-list {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding-right: 56px;
    }

    .nav-list a {
        font-size: 0.82rem;
    }

    .language-switcher {
        position: absolute;
        right: 0;
        top: 8px;
        align-self: auto;
    }

    .lang-button {
        min-width: 40px;
        padding: 5px 8px;
        font-size: 0.78rem;
    }

    .hero {
        padding-top: 52px;
        padding-bottom: 24px;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr) 120px;
        align-items: start;
        gap: 10px;
    }

    h1 {
        margin: 10px 0 10px;
        font-size: clamp(1.16rem, 5vw, 1.38rem);
        line-height: 1.24;
    }

    .lead {
        font-size: 0.76rem;
        line-height: 1.45;
    }

    .hero-actions {
        margin-top: 14px;
        gap: 8px;
    }

    .hero-photo-panel {
        max-width: 120px;
        justify-self: end;
        transform: none;
        margin-top: 44px;
        border-radius: 14px;
        overflow: hidden;
    }

    .hero-photo {
        height: 160px;
        object-fit: cover;
        object-position: center top;
        border-radius: 14px;
    }

    .hero-photo-panel.consult-photo-deal .hero-photo {
        object-position: center 30%;
    }

    .btn {
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    .skills-grid,
    .capability-grid,
    .about-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .tech-space {
        min-height: 460px;
    }

    .tech-node img {
        width: 34px;
        height: 34px;
    }

    .tech-glyph {
        width: 34px;
        height: 34px;
        font-size: 0.74rem;
        box-shadow: none;
    }

    .tech-node[data-tech="rest-api"] img {
        width: 48px;
        height: 48px;
    }

    .tech-node[data-tech="spring"] img {
        width: 30px;
        height: 30px;
    }

    .tech-node[data-tech="groovy"] img,
    .tech-node[data-tech="docker"] img {
        transform: none;
    }

    .secondary-tool {
        min-width: 62px;
        min-height: 62px;
        padding: 4px;
    }

    .secondary-tool img {
        width: 34px;
        height: 34px;
    }

    .secondary-glyph {
        width: 34px;
        height: 34px;
        font-size: 0.74rem;
    }

    .logo-grid .ticker-track {
        gap: 8px;
    }

    .logo-item {
        min-height: 62px;
        padding: 6px;
        border-radius: 10px;
    }

    .logo-frame {
        width: 84px;
        height: 40px;
        border-radius: 8px;
        padding: 5px 6px;
    }

    .section-head h2 {
        font-size: 1.15rem;
    }

    .card h3,
    .capability-item h3,
    .project-card h3,
    .mission-card h3 {
        font-size: 0.9rem;
    }

    .learn-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: nowrap;
    }

    .hero-actions .btn {
        white-space: nowrap;
    }

    .consult-badge {
        left: 8px;
        bottom: 8px;
        padding: 3px 7px;
        font-size: 0.64rem;
        max-width: calc(100% - 16px);
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
