/* Antartida Sige - Premium Landing */
:root {
    --bg-primary: #060709;
    --bg-elevated: #0d0f13;
    --bg-card: #12151b;
    --glass-bg: rgba(8, 10, 14, 0.55);
    --glass-border: rgba(255, 255, 255, 0.22);
    --glass-highlight: rgba(255, 255, 255, 0.35);
    --glass-shadow: rgba(4, 8, 12, 0.45);
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.16);
    --text-primary: #f7f7f8;
    --text-secondary: #a8afb9;
    --text-muted: #6b7280;
    --accent: #5b8cff;
    --accent-strong: #7b61ff;
    --accent-glow: rgba(91, 140, 255, 0.18);
    --accent-warm: #ff8a5b;
    --font-sans: "Manrope", sans-serif;
    --font-serif: "Fraunces", serif;
    --max-w: 1120px;
    --section-py: clamp(80px, 12vw, 140px);
    --container-px: clamp(20px, 5vw, 72px);
    --radius: 20px;
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html,
body {
    width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--bg-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

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

.section {
    position: relative;
    padding: var(--section-py) 0;
    overflow: hidden;
}

.section-header {
    text-align: left;
    max-width: 720px;
    margin-bottom: 56px;
}

.section-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.1;
    margin-bottom: 18px;
}

.section-desc {
    font-size: 18px;
    color: var(--text-secondary);
}

.section-glow {
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
}

.section-glow--right {
    top: -240px;
    right: -240px;
    background: radial-gradient(circle, rgba(91, 140, 255, 0.2) 0%, transparent 70%);
}

.section-glow--left {
    top: -200px;
    left: -220px;
    background: radial-gradient(circle, rgba(255, 138, 91, 0.2) 0%, transparent 70%);
}

.section-glow--center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(123, 97, 255, 0.22) 0%, transparent 70%);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px var(--container-px) 0;
    background: transparent;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
    pointer-events: none;
}

.navbar.scrolled {
    transform: translateY(0);
    opacity: 1;
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(120deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    box-shadow: 0 18px 40px var(--glass-shadow);
    backdrop-filter: blur(22px);
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease);
    pointer-events: auto;
}

.nav-container::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(143, 179, 255, 0.16), rgba(255, 177, 138, 0.12));
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.navbar.scrolled .nav-container {
    border-color: var(--glass-highlight);
    background: var(--glass-bg);
    box-shadow: 0 24px 50px rgba(4, 6, 12, 0.55);
}

.navbar.scrolled .nav-container::before {
    opacity: 0.35;
}

.nav-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.nav-logo {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.08);
}

.nav-logo svg {
    width: 22px;
    height: 22px;
}

.nav-title {
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 28px;
    color: var(--text-secondary);
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.nav-mobile-toggle {
    position: fixed;
    top: calc(14px + env(safe-area-inset-top));
    right: calc(18px + env(safe-area-inset-right));
    width: 44px;
    height: 44px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(9, 11, 16, 0.65);
    backdrop-filter: blur(18px);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    box-shadow: 0 16px 35px rgba(4, 6, 12, 0.5);
}

.nav-mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
}

.nav-mobile-brand {
    position: fixed;
    top: calc(18px + env(safe-area-inset-top));
    left: calc(18px + env(safe-area-inset-left));
    display: none;
    align-items: center;
    gap: 10px;
    z-index: 1100;
    color: var(--text-primary);
}

.nav-mobile-mark {
    width: 30px;
    height: 30px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(9, 11, 16, 0.65);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.08);
}

.nav-mobile-title {
    font-family: var(--font-serif);
    font-size: 16px;
    letter-spacing: 0.02em;
}

.nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 1150;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.nav-drawer.active {
    opacity: 1;
    pointer-events: auto;
}

.nav-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 10, 0.7);
    backdrop-filter: blur(10px);
}

.nav-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(80vw, 360px);
    height: 100%;
    background: rgba(11, 14, 20, 0.96);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-direction: column;
    padding: 28px 24px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
}

.nav-drawer.active .nav-drawer__panel {
    transform: translateX(0);
}

.nav-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.nav-drawer__title {
    font-family: var(--font-serif);
    font-size: 18px;
}

.nav-drawer__close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-size: 20px;
}

.nav-drawer__links {
    display: grid;
    gap: 16px;
    font-size: 16px;
    color: var(--text-secondary);
}

.nav-drawer__links a {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-drawer__cta {
    margin-top: auto;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-weight: 600;
}

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

.nav-cta {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    transition: all 0.3s var(--ease);
    position: relative;
    z-index: 1;
}

.nav-cta:hover {
    border-color: rgba(143, 179, 255, 0.8);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(91, 140, 255, 0.25);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    position: relative;
    padding: 160px var(--container-px) 100px;
    cursor: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-layer {
    position: absolute;
    inset: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-image--base {
    background-image: radial-gradient(circle at top right, rgba(91, 140, 255, 0.22), transparent 55%),
        radial-gradient(circle at bottom left, rgba(255, 138, 91, 0.16), transparent 60%),
        url("https://images.unsplash.com/photo-1526374965328-7f61d4dc18c5?auto=format&fit=crop&w=1600&q=80");
    filter: saturate(0.5) brightness(0.6);
}

.hero-image--reveal {
    background-image: radial-gradient(circle at top left, rgba(123, 97, 255, 0.3), transparent 60%),
        radial-gradient(circle at bottom right, rgba(91, 140, 255, 0.2), transparent 60%),
        url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=80");
    filter: saturate(1.1) brightness(0.95);
}

.hero-layer--reveal {
    z-index: 2;
    clip-path: circle(0px at -100px -100px);
    -webkit-clip-path: circle(0px at -100px -100px);
    will-change: clip-path;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
}

.hero-glow--1 {
    width: 650px;
    height: 650px;
    top: -220px;
    right: -200px;
    background: radial-gradient(circle, rgba(91, 140, 255, 0.2) 0%, transparent 70%);
}

.hero-glow--2 {
    width: 520px;
    height: 520px;
    bottom: -180px;
    left: -160px;
    background: radial-gradient(circle, rgba(255, 138, 91, 0.18) 0%, transparent 70%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: radial-gradient(circle at center, black 20%, transparent 70%);
}

.hero-echoes {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 5;
    max-width: 620px;
    width: 100%;
}

.hero-kicker {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(40px, 6vw, 78px);
    line-height: 1.05;
    margin-bottom: 20px;
}

.hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 40px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 600;
    line-height: 1;
    min-height: 52px;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}

.btn-primary {
    background: linear-gradient(120deg, var(--accent), var(--accent-strong));
    color: #0b0d12;
    box-shadow: 0 12px 30px rgba(91, 140, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-secondary {
    border: 1px solid var(--border-light);
    color: var(--text-primary);
    background: transparent;
}

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

.btn-large {
    font-size: 16px;
}

.hero-cta .btn-primary {
    padding: 12px 22px;
    min-height: 46px;
}

.hero-cta .btn-secondary {
    min-height: 46px;
}

.magnetic-btn {
    display: inline-block;
    will-change: transform;
}

.hero-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

.metric-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
}

.metric-value {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.spotlight-cursor {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 1px solid rgba(123, 97, 255, 0.25);
    box-shadow: 0 0 40px rgba(123, 97, 255, 0.2);
    pointer-events: none;
    opacity: 0;
    z-index: 6;
    transition: opacity 0.3s var(--ease);
}

/* Project modal */
.project-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: grid;
    place-items: center;
    padding: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s var(--ease);
}

.project-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.project-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 10, 0.7);
    backdrop-filter: blur(10px);
}

.project-modal__card {
    position: relative;
    width: min(980px, 100%);
    max-height: calc(100vh - 80px);
    background: rgba(11, 13, 18, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 26px;
    box-shadow: 0 30px 70px rgba(4, 6, 12, 0.6);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    gap: 16px;
    padding: 26px;
    animation: modalRise 0.45s var(--ease);
}

.project-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.project-modal__tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: var(--accent-warm);
}

.project-modal__title {
    font-size: clamp(20px, 3vw, 30px);
    margin-top: 6px;
}

.project-modal__close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    display: grid;
    place-items: center;
    font-size: 22px;
}

.project-modal__frame {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #0b0e14;
    min-height: 50vh;
    height: 100%;
}

.project-modal__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0b0e14;
    display: block;
}

.project-modal__footer {
    color: var(--text-secondary);
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.project-modal__cta {
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
    font-weight: 600;
    text-align: center;
}

@keyframes modalRise {
    from {
        transform: translateY(20px) scale(0.98);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Services */
.services {
    background: var(--bg-elevated);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: stretch;
}

.service-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(91, 140, 255, 0.4);
    box-shadow: 0 20px 40px rgba(5, 8, 15, 0.4);
}

.service-icon {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-secondary);
}

.service-tags {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
}

.service-tags li {
    font-size: 12px;
    color: var(--text-muted);
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.03);
}

/* Showcase */
.showcase {
    background: var(--bg-primary);
}

.showcase-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--container-px);
    align-items: stretch;
}

.showcase-item {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.showcase-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.03);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
    pointer-events: none;
}

.showcase-item:hover::before {
    opacity: 1;
}

.showcase-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 138, 91, 0.4);
}

.showcase-item:focus-visible {
    outline: 2px solid rgba(143, 179, 255, 0.8);
    outline-offset: 3px;
}

.img-wrap {
    height: 260px;
    flex: 0 0 auto;
    background: #0b0e13;
}

.project-cover {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.project-cover--one {
    background-image: linear-gradient(120deg, rgba(12, 18, 30, 0.4), rgba(12, 18, 30, 0.2)),
        url("../Alpha.PNG");
}

.project-cover--two {
    background-image: linear-gradient(120deg, rgba(12, 18, 30, 0.4), rgba(12, 18, 30, 0.2)),
        url("../CyberGuard.PNG");
    background-position: 35% center;
}

.project-cover--three {
    background-image: linear-gradient(120deg, rgba(12, 18, 30, 0.4), rgba(12, 18, 30, 0.2)),
        url("../Nexus.PNG");
}

.showcase-caption {
    padding: 22px 24px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.showcase-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent-warm);
}

.showcase-caption h3 {
    margin: 10px 0 8px;
    font-size: 20px;
}

.showcase-caption-sub {
    color: var(--text-secondary);
    font-size: 14px;
}

/* Methodology */
.methodology {
    background: var(--bg-elevated);
}

.timeline {
    position: relative;
    max-width: 760px;
    margin: 0 auto;
    padding: 20px 0 10px;
}

.timeline-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background: rgba(255, 255, 255, 0.08);
}

.timeline-step {
    position: relative;
    padding-left: 64px;
    margin-bottom: 44px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s var(--ease);
}

.timeline-step.active {
    opacity: 1;
    transform: translateY(0);
}

.step-marker {
    position: absolute;
    top: 0;
    left: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    background: var(--bg-card);
    color: var(--text-secondary);
}

.step-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px 28px;
}

.step-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-secondary);
}

/* Contact */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    display: grid;
    gap: 32px;
}

.contact-title {
    font-size: clamp(28px, 4vw, 40px);
    margin-bottom: 12px;
}

.contact-desc {
    color: var(--text-secondary);
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.form-group label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-family: inherit;
}

.form-status {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Footer */
.footer {
    padding: 40px 0 60px;
    border-top: 1px solid var(--border);
    background: var(--bg-primary);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a:hover {
    color: var(--text-primary);
}

/* Effects */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s var(--ease);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
    .navbar {
        display: none;
    }

    .nav-mobile-brand {
        display: inline-flex;
    }

    .nav-mobile-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        padding: 8px 14px;
        font-size: 13px;
    }

    .hero {
        cursor: auto;
        padding: 150px var(--container-px) 80px;
    }

    .spotlight-cursor {
        display: none;
    }

    .navbar {
        padding: 12px var(--container-px) 0;
    }

    .nav-container {
        padding: 12px 18px;
        gap: 16px;
    }

    .hero-grid {
        transform: none !important;
    }
}

@media (max-width: 700px) {
    .nav-container {
        padding: 10px 14px;
        border-radius: 20px;
        flex-wrap: wrap;
    }

    .nav-brand {
        flex: 1 1 auto;
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
    }

    .nav-cta {
        width: 100%;
        text-align: center;
    }

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-cta .btn-primary {
        width: auto;
        align-self: center;
    }

    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .contact-card {
        padding: 32px;
    }

    .services-grid,
    .showcase-gallery {
        grid-template-columns: 1fr;
    }

    .project-modal__card {
        padding: 18px;
        max-height: calc(100vh - 40px);
    }

    .project-modal__frame,
    .project-modal__frame iframe {
        min-height: 46vh;
    }
}

@media (max-width: 520px) {
    .hero {
        padding-top: 170px;
    }

    .hero-bg {
        inset: 0;
    }

    .hero-grid {
        background-size: 90px 90px;
        mask-image: radial-gradient(circle at center, black 10%, transparent 75%);
    }

    .hero-title {
        font-size: clamp(34px, 9vw, 48px);
    }

    .hero-sub {
        font-size: 16px;
    }
}

@media (max-width: 520px) {
    .nav-title {
        font-size: 16px;
    }

    .nav-logo {
        width: 32px;
        height: 32px;
    }
}
