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

:root {
    --header-height: 5.5rem;
    --accent: #00d4ff;
    --accent2: #0099ff;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    color: #ffffff;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
    width: clamp(10rem, 40vw, 36rem);
}

/* ── Background canvas ──────────────────────────────────────────────────── */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    display: block;
}

/* ── Header — floating pill ─────────────────────────────────────────────── */
.header {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: calc(100% - 2rem);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.5),
                inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: 0.6rem 1.5rem 0.6rem 1.25rem;
    white-space: nowrap;
}

.logo {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 700;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar {
    display: flex;
    gap: clamp(0.75rem, 2vw, 1.5rem);
}

.navbar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: clamp(0.75rem, 1.3vw, 0.875rem);
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
    position: relative;
    padding: 0.25rem 0;
}

.navbar a:hover { color: #ffffff; }

.navbar a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0.125rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    transition: width 0.25s ease;
}

.navbar a:hover::after { width: 100%; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.main-content { margin-top: var(--header-height); }

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(4rem, 10vh, 7rem) 5%;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.section[id] { scroll-margin-top: var(--header-height); }

.section:nth-child(odd),
.section:nth-child(even) {
    background: transparent;
}

.container { width: 100%; }

.row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.col {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Text column in About — frosted panel so bg shows clearly around it */
.col-text {
    background: rgba(0, 2, 14, 0.5);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1.25rem;
    padding: clamp(1.75rem, 4vw, 2.75rem);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ── Shared typography ───────────────────────────────────────────────────── */
.section-eyebrow {
    display: block;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

h3 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 1.25rem;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.9), 0 1px 4px rgba(0, 0, 0, 0.8);
}

h4 {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

p {
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1rem;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
}

.section-eyebrow {
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

.section-intro {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 42rem;
    margin-bottom: 3rem;
}

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero-section {
    background: transparent;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
}

/* Two-column hero layout */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: clamp(2rem, 6vw, 5rem);
    align-items: center;
    width: 100%;
}

.hero-inner {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

.hero-available {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: clamp(0.7rem, 1.2vw, 0.8rem);
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 9999px;
    padding: 0.4rem 1rem;
}

.hero-name {
    font-size: clamp(3rem, 9vw, 7rem);
    font-weight: 800;
    line-height: 1.0;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin: 0;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 1),
        0 0 40px rgba(0, 0, 0, 0.9),
        0 0 80px rgba(0, 0, 0, 0.6);
}

.hero-title {
    font-size: clamp(1.5rem, 3.8vw, 2.8rem);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    line-height: 1.2;
    margin: 0;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.9), 0 0 60px rgba(0, 0, 0, 0.7);
}

.hero-desc {
    font-size: clamp(0.9rem, 1.6vw, 1.05rem);
    color: rgba(255, 255, 255, 0.75);
    max-width: 38rem;
    line-height: 1.7;
    margin: 0;
}

/* ── Hero image — abstract frame ─────────────────────────────────────────── */
.hero-image-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Soft ambient orbs behind the image */
.hero-image-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(2.5rem);
    pointer-events: none;
    z-index: 0;
}
.orb-1 {
    width: clamp(8rem, 18vw, 14rem);
    height: clamp(8rem, 18vw, 14rem);
    background: rgba(0, 212, 255, 0.35);
    top: -2rem;
    right: -1rem;
    animation: orbFloat 7s ease-in-out infinite;
}
.orb-2 {
    width: clamp(6rem, 12vw, 10rem);
    height: clamp(6rem, 12vw, 10rem);
    background: rgba(192, 132, 252, 0.3);
    bottom: 0;
    left: -1rem;
    animation: orbFloat 9s ease-in-out infinite reverse;
}
.orb-3 {
    width: clamp(4rem, 8vw, 7rem);
    height: clamp(4rem, 8vw, 7rem);
    background: rgba(251, 191, 36, 0.25);
    bottom: 3rem;
    right: -2rem;
    animation: orbFloat 6s ease-in-out infinite 1.5s;
}

@keyframes orbFloat {
    0%, 100% { transform: translateY(0) scale(1);   }
    50%       { transform: translateY(-1.5rem) scale(1.08); }
}

/* Image frame */
.hero-image-frame {
    position: relative;
    z-index: 1;
    width: clamp(16rem, 30vw, 26rem);
}

/* Animated gradient ring */
.hero-image-frame::before {
    content: '';
    position: absolute;
    inset: -0.35rem;
    border-radius: 62% 38% 54% 46% / 58% 46% 54% 42%;
    background: linear-gradient(135deg, #00d4ff, #c084fc, #fbbf24, #00d4ff);
    background-size: 300% 300%;
    animation: gradientRing 5s ease infinite;
    z-index: -1;
}

/* Outer breathing ring */
.hero-image-frame::after {
    content: '';
    position: absolute;
    inset: -1.25rem;
    border-radius: 58% 42% 50% 50% / 52% 48% 52% 48%;
    border: 1px solid rgba(0, 212, 255, 0.22);
    animation: ringBreath 6s ease-in-out infinite;
    z-index: -1;
}

.hero-image-frame img {
    display: block;
    width: 100% !important; /* override global img clamp */
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: 62% 38% 54% 46% / 58% 46% 54% 42%;
}

@keyframes gradientRing {
    0%   { background-position: 0% 50%;   }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%;   }
}

@keyframes ringBreath {
    0%, 100% { transform: scale(1)    rotate(0deg); opacity: 0.6; }
    50%       { transform: scale(1.04) rotate(4deg); opacity: 1;   }
}

/* ── Credential achievement cards ────────────────────────────────────────── */
.hero-creds {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
    margin-top: 1.5rem;
    width: 100%;
}

.cred-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: clamp(7rem, 16vw, 10rem);
    padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1rem, 2vw, 1.5rem);
    border-radius: 1.25rem;
    border: 1px solid transparent;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    text-align: center;
}

.cred-badge:hover { transform: translateY(-0.4rem); }

.cred-icon {
    font-size: clamp(2rem, 4vw, 2.75rem);
    line-height: 1;
    filter: drop-shadow(0 0 0.5rem currentColor);
}

.cred-title {
    font-size: clamp(0.8rem, 1.5vw, 0.95rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
}

.cred-sub {
    font-size: clamp(0.65rem, 1vw, 0.72rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    opacity: 0.7;
}

/* Colour variants — strong glow + animated pulse */
.cred-gold {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.4);
    box-shadow: 0 0 1.5rem rgba(251, 191, 36, 0.2),
                inset 0 1px 0 rgba(251, 191, 36, 0.15);
    animation: pulseGold 3s ease-in-out infinite;
}
.cred-gold:hover {
    box-shadow: 0 0.5rem 2.5rem rgba(251, 191, 36, 0.5),
                inset 0 1px 0 rgba(251, 191, 36, 0.2);
}

.cred-blue {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.4);
    box-shadow: 0 0 1.5rem rgba(96, 165, 250, 0.2),
                inset 0 1px 0 rgba(96, 165, 250, 0.15);
    animation: pulseBlue 3s ease-in-out infinite 0.5s;
}
.cred-blue:hover {
    box-shadow: 0 0.5rem 2.5rem rgba(96, 165, 250, 0.5),
                inset 0 1px 0 rgba(96, 165, 250, 0.2);
}

.cred-purple {
    color: #c084fc;
    background: rgba(192, 132, 252, 0.1);
    border-color: rgba(192, 132, 252, 0.4);
    box-shadow: 0 0 1.5rem rgba(192, 132, 252, 0.2),
                inset 0 1px 0 rgba(192, 132, 252, 0.15);
    animation: pulsePurple 3s ease-in-out infinite 1s;
}
.cred-purple:hover {
    box-shadow: 0 0.5rem 2.5rem rgba(192, 132, 252, 0.5),
                inset 0 1px 0 rgba(192, 132, 252, 0.2);
}

.cred-cyan {
    color: #22d3ee;
    background: rgba(34, 211, 238, 0.1);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 0 1.5rem rgba(34, 211, 238, 0.2),
                inset 0 1px 0 rgba(34, 211, 238, 0.15);
    animation: pulseCyan 3s ease-in-out infinite 1.5s;
}
.cred-cyan:hover {
    box-shadow: 0 0.5rem 2.5rem rgba(34, 211, 238, 0.5),
                inset 0 1px 0 rgba(34, 211, 238, 0.2);
}

@keyframes pulseGold {
    0%, 100% { box-shadow: 0 0 1.5rem rgba(251, 191, 36, 0.2), inset 0 1px 0 rgba(251, 191, 36, 0.15); }
    50%       { box-shadow: 0 0 2.5rem rgba(251, 191, 36, 0.45), inset 0 1px 0 rgba(251, 191, 36, 0.2); }
}
@keyframes pulseBlue {
    0%, 100% { box-shadow: 0 0 1.5rem rgba(96, 165, 250, 0.2), inset 0 1px 0 rgba(96, 165, 250, 0.15); }
    50%       { box-shadow: 0 0 2.5rem rgba(96, 165, 250, 0.45), inset 0 1px 0 rgba(96, 165, 250, 0.2); }
}
@keyframes pulsePurple {
    0%, 100% { box-shadow: 0 0 1.5rem rgba(192, 132, 252, 0.2), inset 0 1px 0 rgba(192, 132, 252, 0.15); }
    50%       { box-shadow: 0 0 2.5rem rgba(192, 132, 252, 0.45), inset 0 1px 0 rgba(192, 132, 252, 0.2); }
}
@keyframes pulseCyan {
    0%, 100% { box-shadow: 0 0 1.5rem rgba(34, 211, 238, 0.2), inset 0 1px 0 rgba(34, 211, 238, 0.15); }
    50%       { box-shadow: 0 0 2.5rem rgba(34, 211, 238, 0.45), inset 0 1px 0 rgba(34, 211, 238, 0.2); }
}

/* ── Scroll indicator ────────────────────────────────────────────────────── */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    animation: scrollBounce 2.2s ease-in-out infinite;
    cursor: default;
}

.scroll-indicator-label {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.scroll-indicator-arrow {
    width: 1.5rem;
    height: 1.5rem;
    color: rgba(255, 255, 255, 0.4);
}

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0);     opacity: 0.6; }
    50%       { transform: translateX(-50%) translateY(0.6rem); opacity: 1;   }
}

/* Floating section heading — local frosted panel behind eyebrow + h3 only */
.section-head {
    display: inline-block;
    background: rgba(0, 2, 14, 0.52);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 1rem;
    padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3.5vw, 2.5rem);
    margin-bottom: clamp(1.5rem, 3vh, 2.5rem);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.4),
                inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* ── Stats ───────────────────────────────────────────────────────────────── */
.stats-section {
    min-height: auto;
    padding: clamp(4rem, 8vh, 6rem) 5%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(10rem, 100%), 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(2rem, 4vh, 3rem);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: clamp(1.25rem, 2.5vw, 2rem) 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}

.stat-item:hover {
    border-color: rgba(0, 212, 255, 0.4);
    background: rgba(0, 212, 255, 0.06);
    transform: translateY(-0.3rem);
}

.stat-icon {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 0.25rem;
    display: block;
    filter: drop-shadow(0 0 0.5rem rgba(255, 255, 255, 0.2));
}

.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #ffffff, rgba(0, 212, 255, 0.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-label {
    font-size: clamp(0.68rem, 1.1vw, 0.78rem);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 0.15rem;
}

/* ── About — profile card ────────────────────────────────────────────────── */
.profile-details {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    overflow: hidden;
    backdrop-filter: blur(16px);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.3);
}

.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    padding: 1.1rem 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.2s ease;
}

.profile-row:last-child { border-bottom: none; }

.profile-row:hover { background: rgba(255, 255, 255, 0.03); }

.profile-label {
    font-size: clamp(0.65rem, 1vw, 0.72rem);
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    flex-shrink: 0;
}

.profile-value {
    font-size: clamp(0.88rem, 1.5vw, 1rem);
    font-weight: 500;
    color: #ffffff;
    text-align: right;
}

.profile-available {
    color: #4ade80;
    font-weight: 700;
    font-size: clamp(0.85rem, 1.4vw, 0.95rem);
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.25);
    border-radius: 9999px;
    padding: 0.25rem 0.75rem;
    box-shadow: 0 0 1rem rgba(74, 222, 128, 0.15);
}

/* ── Services / features grid ────────────────────────────────────────────── */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(1.5rem, 4vh, 3rem);
}

.feature-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature-card:hover {
    border-color: rgba(0, 212, 255, 0.35);
    background: rgba(0, 212, 255, 0.05);
    transform: translateY(-0.35rem);
}

.feature-icon {
    font-size: clamp(1.5rem, 3vw, 2rem);
    display: block;
    margin-bottom: 0.25rem;
}

.feature-card h4 { color: #ffffff; margin-bottom: 0.25rem; }

.feature-card p {
    font-size: clamp(0.82rem, 1.3vw, 0.92rem);
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.card-tags span {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.22);
    border-radius: 9999px;
    padding: 0.2rem 0.65rem;
}

/* ── Portfolio grid ──────────────────────────────────────────────────────── */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(22rem, 100%), 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-top: clamp(1.5rem, 4vh, 3rem);
}

.portfolio-item {
    position: relative;
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    backdrop-filter: blur(12px);
    transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.portfolio-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.07), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover {
    border-color: rgba(0, 212, 255, 0.4);
    transform: translateY(-0.35rem);
}

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

.portfolio-tag {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.portfolio-item h4 {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.3;
}

/* ── Contact form ────────────────────────────────────────────────────────── */
.contact-form {
    width: min(90%, 42rem);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.25rem;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    backdrop-filter: blur(20px);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.4);
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
    font-family: inherit;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 212, 255, 0.06);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.12);
}

.contact-form button {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #000000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-form button:hover {
    opacity: 0.9;
    transform: translateY(-0.15rem);
    box-shadow: 0 0.75rem 2rem rgba(0, 212, 255, 0.4);
}

.form-response {
    text-align: center;
    padding: 1rem;
    border-radius: 0.75rem;
    display: none;
}

.form-response.success {
    display: block;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #4ade80;
}

.form-response.error {
    display: block;
    background: rgba(248, 113, 113, 0.1);
    border: 1px solid rgba(248, 113, 113, 0.35);
    color: #f87171;
}

/* ── Footer ──────────────────────────────────────────────────────────────── */
.footer {
    background: rgba(0, 0, 0, 0.75);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: clamp(2rem, 5vh, 3.5rem) 5%;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand-block { max-width: 22rem; }

.footer-brand {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem !important;
}

.footer-tagline {
    font-size: clamp(0.75rem, 1.2vw, 0.85rem) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    line-height: 1.65 !important;
}

.footer-meta p {
    font-size: clamp(0.8rem, 1.3vw, 0.875rem);
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 0.4rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: clamp(0.8rem, 1.3vw, 0.875rem);
    font-weight: 500;
    transition: color 0.2s ease;
}

.social-links a:hover { color: var(--accent); }

.footer-copy {
    font-size: clamp(0.7rem, 1.1vw, 0.78rem);
    color: rgba(255, 255, 255, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 1.5rem;
    margin: 0;
}

/* ── Scroll animations ───────────────────────────────────────────────────── */
.scroll-element {
    opacity: 0;
    transition-property: opacity, transform, filter;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    transition-duration: 0.85s;
}

.scroll-element.fade-in-up { transform: translateY(2.5rem); }
.scroll-element.fade-in-up.visible { opacity: 1; transform: translateY(0); }

.scroll-element.fade-in-blur {
    transform: translateY(1.5rem);
    filter: blur(0.5rem);
    transition-duration: 0.9s;
}
.scroll-element.fade-in-blur.visible {
    opacity: 1; transform: translateY(0); filter: blur(0);
}

.scroll-element.slide-in-up-big {
    transform: translateY(6rem);
    transition-duration: 1s;
}
.scroll-element.slide-in-up-big.visible { opacity: 1; transform: translateY(0); }

.scroll-element.slide-in-left-big {
    transform: translateX(-6rem);
    transition-duration: 0.9s;
}
.scroll-element.slide-in-left-big.visible { opacity: 1; transform: translateX(0); }

.scroll-element.slide-in-right-big {
    transform: translateX(6rem);
    transition-duration: 0.9s;
}
.scroll-element.slide-in-right-big.visible { opacity: 1; transform: translateX(0); }

.scroll-element.scale-up {
    transform: scale(0.8) translateY(2rem);
    transition-duration: 0.85s;
}
.scroll-element.scale-up.visible { opacity: 1; transform: scale(1) translateY(0); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 48em) {
    :root { --header-height: 5rem; }

    .header { top: 0.75rem; max-width: calc(100% - 1.5rem); }
    .header-content { gap: 1rem; padding: 0.5rem 1rem; }
    .navbar { gap: 0.75rem; }

    /* Hero: stack image above text on tablet */
    .hero-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    .hero-image-wrap {
        order: -1;
        justify-self: center;
    }
    .hero-image-frame { width: clamp(14rem, 55vw, 22rem); }
    .hero-inner { align-items: center; text-align: center; }
    .hero-creds { justify-content: center; }

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

    .footer-content { flex-direction: column; }
    .social-links { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 30em) {
    .navbar { gap: 0.5rem; }
    .section { min-height: 80vh; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .hero-image-frame { width: clamp(12rem, 70vw, 18rem); }

    .scroll-element.slide-in-left-big  { transform: translateX(-2.5rem); }
    .scroll-element.slide-in-right-big { transform: translateX(2.5rem); }
    .scroll-element.slide-in-up-big    { transform: translateY(3rem); }
}
