:root {
    --navy-950: #04152d;
    --navy-900: #082f63;
    --navy-800: #0b4f9c;
    --blue-600: #1675e0;
    --blue-500: #238cff;
    --cyan-400: #42c8ff;
    --blue-100: #dceeff;
    --blue-50: #f0f7ff;
    --ink: #10223b;
    --muted: #64748b;
    --line: rgba(8, 47, 99, .11);
    --surface: rgba(255, 255, 255, .78);
    --white: #fff;
    --shadow-sm: 0 12px 35px rgba(8, 47, 99, .08);
    --shadow-lg: 0 28px 80px rgba(8, 47, 99, .14);
    --radius-lg: 28px;
    --radius-md: 20px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    margin: 0;
    position: relative;
    isolation: isolate;
    color: var(--ink);
    background: #f7fbff;
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
    overflow-x: hidden;
}

.site-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(125deg, #fff 0%, #e5f4ff 24%, #f9fcff 48%, #d7ebff 73%, #fff 100%);
    background-size: 400% 400%;
    pointer-events: none;
    animation: website-gradient-pan 9s ease-in-out infinite;
}

.site-background::after {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(22, 117, 224, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 117, 224, .04) 1px, transparent 1px);
    background-size: 48px 48px;
    content: "";
}

.site-background__glow {
    position: absolute;
    width: 68vmax;
    height: 68vmax;
    border-radius: 50%;
    filter: blur(75px);
    opacity: .5;
    will-change: transform;
}

.site-background__glow--one {
    top: -38vmax;
    left: -32vmax;
    background: rgba(58, 205, 255, .6);
    animation: website-glow-one 10s ease-in-out infinite alternate;
}

.site-background__glow--two {
    top: 8vh;
    right: -36vmax;
    background: rgba(25, 112, 238, .48);
    animation: website-glow-two 12s ease-in-out infinite alternate;
}

.site-background__glow--three {
    bottom: -48vmax;
    left: 18vw;
    background: rgba(128, 217, 255, .55);
    animation: website-glow-three 11s ease-in-out infinite alternate;
}

/* Modern logo loader */
.site-loader {
    display: none;
    place-items: center;
    width: 100%;
    height: 100%;
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    color: var(--white);
    background:
        radial-gradient(circle at 50% 42%, rgba(82, 224, 255, .38), transparent 25rem),
        linear-gradient(120deg, #010714, #03275a, #087cf0, #00a9d6, #1647a8, #020817);
    background-size: 170% 170%, 450% 450%;
    background-position: center, 0% 50%;
    opacity: 0;
    visibility: hidden;
    transition: opacity .48s ease, visibility .48s ease;
    animation: loader-gradient-shift 5.2s ease-in-out infinite;
}

.site-loader::before,
.site-loader::after {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    content: "";
    pointer-events: none;
    mix-blend-mode: screen;
}

.site-loader::before {
    width: min(62vw, 760px);
    aspect-ratio: 1;
    top: -32%;
    left: -18%;
    background: rgba(0, 210, 255, .58);
    animation: loader-orb-one 5.8s ease-in-out infinite alternate;
}

.site-loader::after {
    width: min(58vw, 700px);
    aspect-ratio: 1;
    right: -18%;
    bottom: -36%;
    background: rgba(35, 92, 255, .66);
    animation: loader-orb-two 6.4s ease-in-out infinite alternate;
}

.js .site-loader {
    display: grid;
    opacity: 1;
    visibility: visible;
}

.js body.site-ready .site-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.js body.page-leaving .site-loader {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-duration: .2s;
}

.site-loader__ambient {
    position: absolute;
    inset: -25%;
    background:
        linear-gradient(rgba(66, 200, 255, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(66, 200, 255, .045) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at center, #000 12%, transparent 58%);
    animation: loader-grid 8s linear infinite;
}

.site-loader__content {
    display: grid;
    justify-items: center;
    position: relative;
    z-index: 1;
}

.site-loader__emblem {
    display: grid;
    place-items: center;
    width: 230px;
    height: 230px;
    position: relative;
}

.site-loader__ring {
    position: absolute;
    border-radius: 50%;
}

.site-loader__ring--outer {
    inset: 8px;
    border: 1px solid rgba(66, 200, 255, .22);
    border-top-color: var(--cyan-400);
    border-right-color: rgba(35, 140, 255, .7);
    box-shadow: 0 0 42px rgba(35, 140, 255, .12);
    animation: loader-spin 2.4s linear infinite;
}

.site-loader__ring--inner {
    inset: 27px;
    border: 1px dashed rgba(255, 255, 255, .18);
    border-left-color: rgba(66, 200, 255, .7);
    animation: loader-spin-reverse 4.2s linear infinite;
}

.site-loader__logo {
    display: grid;
    place-items: center;
    width: 150px;
    height: 112px;
    padding: 22px 18px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .035));
    box-shadow: 0 24px 65px rgba(0, 0, 0, .34), inset 0 1px rgba(255, 255, 255, .18);
    backdrop-filter: blur(18px);
    animation: loader-pulse 2s ease-in-out infinite;
}

.site-loader__logo img {
    width: 118px;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(35, 140, 255, .42));
}

.site-loader__copy {
    display: grid;
    gap: 5px;
    margin-top: 7px;
    text-align: center;
}

.site-loader__copy strong {
    font-size: 17px;
    letter-spacing: .2px;
}

.site-loader__copy span {
    color: rgba(220, 238, 255, .62);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: 2.1px;
    text-transform: uppercase;
}

.site-loader__progress {
    width: 178px;
    height: 3px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 99px;
    background: rgba(255, 255, 255, .1);
}

.site-loader__progress i {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, transparent, var(--cyan-400), var(--blue-500));
    box-shadow: 0 0 14px var(--cyan-400);
    animation: loader-progress 1.15s ease-in-out infinite;
}

@keyframes loader-spin { to { transform: rotate(360deg); } }
@keyframes loader-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes loader-pulse {
    50% { transform: translateY(-4px) scale(1.025); box-shadow: 0 30px 75px rgba(0, 0, 0, .4), 0 0 45px rgba(35, 140, 255, .12); }
}
@keyframes loader-progress {
    from { transform: translateX(-115%); }
    to { transform: translateX(340%); }
}
@keyframes loader-grid { to { transform: translate3d(54px, 54px, 0); } }
@keyframes loader-gradient-shift {
    0%, 100% { background-position: 42% 38%, 0% 50%; }
    33% { background-position: 58% 45%, 50% 20%; }
    66% { background-position: 46% 60%, 100% 78%; }
}
@keyframes loader-orb-one {
    from { transform: translate3d(-8%, -4%, 0) scale(.8); opacity: .38; }
    to { transform: translate3d(72vw, 50vh, 0) scale(1.16); opacity: .78; }
}
@keyframes loader-orb-two {
    from { transform: translate3d(8%, 6%, 0) scale(.84); opacity: .42; }
    to { transform: translate3d(-68vw, -48vh, 0) scale(1.12); opacity: .82; }
}

::selection {
    color: var(--white);
    background: var(--blue-600);
}

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

img {
    max-width: 100%;
}

.container {
    width: min(1160px, calc(100% - 48px));
    margin-inline: auto;
}

main.container {
    min-height: calc(100vh - 180px);
    padding: 42px 0 110px;
    animation: page-enter .55s ease both;
    transition: opacity .22s ease, transform .22s ease;
}

body.page-leaving main.container {
    opacity: 0;
    transform: translateY(10px);
}

@keyframes page-enter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes website-gradient-pan {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes website-glow-one {
    from { transform: translate3d(-8vw, -4vh, 0) scale(.78); }
    to { transform: translate3d(92vw, 68vh, 0) scale(1.14); }
}

@keyframes website-glow-two {
    from { transform: translate3d(9vw, -12vh, 0) scale(.86); }
    to { transform: translate3d(-88vw, 62vh, 0) scale(1.08); }
}

@keyframes website-glow-three {
    from { transform: translate3d(-26vw, 10vh, 0) scale(.82); }
    to { transform: translate3d(42vw, -92vh, 0) scale(1.12); }
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--navy-950);
    line-height: 1.08;
}

/* Navigation */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 12px 0;
    pointer-events: none;
}

header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 66px;
    padding: 9px 12px 9px 16px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 22px;
    background: rgba(255, 255, 255, .78);
    box-shadow: 0 10px 35px rgba(8, 47, 99, .08);
    backdrop-filter: blur(20px);
    pointer-events: auto;
}

header .brand-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    line-height: 1;
}

header .brand-mark {
    display: block;
    width: 73px;
    height: auto;
    filter: drop-shadow(0 6px 10px rgba(22, 117, 224, .16));
    transition: transform .25s ease, filter .25s ease;
}

header .brand-link:hover .brand-mark {
    transform: translateY(-2px);
    filter: drop-shadow(0 10px 13px rgba(22, 117, 224, .24));
}

header .brand-copy {
    display: grid;
    gap: 4px;
}

header .brand-copy strong {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.35px;
}

header .brand-copy small {
    color: var(--blue-600);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

header ul {
    display: flex;
    align-items: center;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
}

header li a {
    display: block;
    padding: 10px 15px;
    border-radius: 12px;
    color: #40516a;
    font-size: 13px;
    font-weight: 700;
    transition: color .2s ease, background .2s ease;
}

header li a:hover,
header li a.is-active {
    color: var(--navy-900);
    background: var(--blue-50);
}

header li:last-child a {
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
    box-shadow: 0 8px 20px rgba(22, 117, 224, .22);
}

/* Shared typography and actions */
.eyebrow {
    margin-bottom: 12px;
    color: var(--blue-600);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
    box-shadow: 0 12px 30px rgba(22, 117, 224, .22);
    font-size: 13px;
    font-weight: 800;
    transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(22, 117, 224, .29);
}

.btn-secondary {
    color: var(--navy-900);
    border-color: rgba(22, 117, 224, .18);
    background: rgba(255, 255, 255, .72);
    box-shadow: none;
}

.btn-secondary:hover {
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

/* Home hero */
.hero-card {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    align-items: center;
    gap: clamp(42px, 7vw, 92px);
    min-height: 660px;
    padding: clamp(50px, 7vw, 88px);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .95);
    border-radius: 36px;
    background:
        radial-gradient(circle at 86% 12%, rgba(66, 200, 255, .19), transparent 19rem),
        linear-gradient(145deg, rgba(255, 255, 255, .94), rgba(236, 246, 255, .82));
    box-shadow: var(--shadow-lg);
}

.hero-card::before {
    position: absolute;
    right: -120px;
    bottom: -150px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(22, 117, 224, .09);
    border-radius: 50%;
    box-shadow: 0 0 0 65px rgba(22, 117, 224, .035), 0 0 0 130px rgba(22, 117, 224, .025);
    content: "";
}

.profile-content,
.profile-visual {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    padding: 8px 12px;
    border: 1px solid rgba(18, 172, 113, .17);
    border-radius: 99px;
    color: #187a56;
    background: rgba(234, 255, 246, .72);
    font-size: 12px;
    font-weight: 750;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #20b879;
    box-shadow: 0 0 0 5px rgba(32, 184, 121, .12);
}

.hero-card h1 {
    max-width: 720px;
    margin-bottom: 24px;
    font-size: clamp(44px, 5.7vw, 76px);
    letter-spacing: -3.8px;
}

.hero-card h1 span,
.page-hero h1 span {
    color: transparent;
    background: linear-gradient(95deg, var(--navy-800), var(--blue-500), #24aee5);
    background-clip: text;
    -webkit-background-clip: text;
}

.intro {
    max-width: 650px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
}

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

.hero-metrics {
    display: flex;
    gap: 0;
    margin-top: 42px;
}

.hero-metrics div {
    display: grid;
    min-width: 120px;
    padding-right: 26px;
}

.hero-metrics div + div {
    padding-left: 26px;
    border-left: 1px solid var(--line);
}

.hero-metrics strong {
    color: var(--navy-900);
    font-size: 25px;
    line-height: 1;
}

.hero-metrics span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.profile-visual {
    width: min(420px, 100%);
    margin-inline: auto;
}

.visual-glow {
    position: absolute;
    inset: 12% -12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 117, 224, .25), transparent 68%);
    filter: blur(12px);
}

.image-frame {
    position: relative;
    aspect-ratio: 1 / 1.08;
    padding: 9px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 34px;
    background: linear-gradient(145deg, rgba(255, 255, 255, .75), rgba(66, 200, 255, .18));
    box-shadow: 0 30px 60px rgba(7, 57, 111, .22);
}

.image-frame::before {
    position: absolute;
    inset: -12px 24px 24px -12px;
    z-index: -1;
    border: 1px solid rgba(22, 117, 224, .25);
    border-radius: 36px;
    content: "";
}

.profile-img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 27px;
    object-fit: cover;
    object-position: center center;
}

.floating-card {
    display: flex;
    align-items: center;
    gap: 11px;
    position: absolute;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, .85);
    border-radius: 16px;
    background: rgba(255, 255, 255, .83);
    box-shadow: 0 14px 35px rgba(8, 47, 99, .14);
    backdrop-filter: blur(15px);
}

.floating-card-top { top: -18px; right: -24px; }
.floating-card-bottom { bottom: -14px; left: -24px; }

.floating-card small,
.floating-card strong {
    display: block;
    white-space: nowrap;
}

.floating-card small {
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .8px;
    text-transform: uppercase;
}

.floating-card strong {
    color: var(--navy-900);
    font-size: 12px;
}

.floating-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
    font-size: 11px;
    font-weight: 850;
}

.signal {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 3px;
    width: 34px;
    height: 34px;
    padding: 9px;
    border-radius: 11px;
    background: #e9fff6;
}

.signal i { width: 3px; border-radius: 4px; background: #20b879; }
.signal i:nth-child(1) { height: 6px; }
.signal i:nth-child(2) { height: 11px; }
.signal i:nth-child(3) { height: 16px; }

/* Expertise and shared sections */
.expertise-strip {
    display: flex;
    align-items: center;
    gap: 35px;
    margin-top: 24px;
    padding: 22px 28px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: rgba(255, 255, 255, .64);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
}

.expertise-strip > span {
    flex: 0 0 auto;
    color: var(--blue-600);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.expertise-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.expertise-list strong {
    color: #40516a;
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
}

.expertise-list i {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cyan-400);
}

.content-section {
    padding-top: 120px;
    scroll-margin-top: 90px;
}

.section-heading {
    margin-bottom: 36px;
    text-align: center;
}

.section-heading h2 {
    margin-bottom: 14px;
    font-size: clamp(35px, 4.6vw, 56px);
    letter-spacing: -2.5px;
}

.section-heading > p,
.section-heading-split > p {
    color: var(--muted);
}

.section-heading-split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, .7fr);
    align-items: end;
    gap: 60px;
    text-align: left;
}

.section-heading-split h2,
.section-heading-split p {
    margin-bottom: 0;
}

.section-heading-split > p {
    font-size: 15px;
}

.education-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.education-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    min-height: 190px;
    padding: 28px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(12px);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.education-card::after {
    position: absolute;
    right: -60px;
    bottom: -90px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(22, 117, 224, .055);
    content: "";
}

.education-card:hover {
    transform: translateY(-6px);
    border-color: rgba(22, 117, 224, .26);
    box-shadow: 0 24px 55px rgba(8, 47, 99, .13);
}

.education-number {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    color: var(--white);
    background: linear-gradient(135deg, var(--navy-800), var(--blue-500));
    box-shadow: 0 13px 28px rgba(22, 117, 224, .2);
    font-size: 13px;
    font-weight: 850;
}

.degree-level {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--blue-600);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.education-content h3 {
    margin-bottom: 7px;
    font-size: 23px;
}

.education-content p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.card-arrow {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--blue-600);
    background: var(--white);
    transition: transform .2s ease, color .2s ease, background .2s ease;
}

.education-card:hover .card-arrow {
    transform: translate(2px, -2px);
    color: var(--white);
    background: var(--blue-600);
}

.experience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.experience-card {
    min-height: 245px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .73);
    box-shadow: var(--shadow-sm);
    transition: transform .25s ease, box-shadow .25s ease;
}

.experience-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 55px rgba(8, 47, 99, .13);
}

.experience-card-accent {
    border-color: transparent;
    background: linear-gradient(145deg, var(--navy-900), var(--blue-600));
}

.experience-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    color: rgba(22, 117, 224, .52);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1px;
}

.experience-tag {
    padding: 6px 9px;
    border-radius: 99px;
    color: var(--blue-600);
    background: var(--blue-50);
    font-size: 10px;
    text-transform: uppercase;
}

.experience-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 24px;
    border: 1px solid rgba(22, 117, 224, .15);
    border-radius: 14px;
    color: var(--blue-600);
    background: rgba(240, 247, 255, .88);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .8px;
}

.experience-card h3 {
    margin-bottom: 8px;
    font-size: 18px;
}

.experience-card p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 14px;
}

.experience-card-accent .experience-topline,
.experience-card-accent .experience-tag,
.experience-card-accent h3,
.experience-card-accent p {
    color: var(--white);
}

.experience-card-accent .experience-tag,
.experience-card-accent .experience-icon {
    border-color: rgba(255, 255, 255, .15);
    background: rgba(255, 255, 255, .12);
    color: var(--white);
}

.experience-card-accent p { opacity: .75; }

.contact-panel {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(420px, 1fr);
    gap: 70px;
    margin-top: 120px;
    padding: clamp(36px, 6vw, 72px);
    border-radius: 34px;
    background:
        radial-gradient(circle at 90% 10%, rgba(66, 200, 255, .28), transparent 20rem),
        linear-gradient(145deg, var(--navy-950), var(--navy-900));
    box-shadow: 0 30px 70px rgba(4, 21, 45, .25);
}

.contact-panel .eyebrow { color: var(--cyan-400); }
.contact-panel h2 { margin-bottom: 16px; color: var(--white); font-size: clamp(33px, 4vw, 50px); letter-spacing: -2px; }
.contact-panel > div > p:last-child { margin-bottom: 0; color: rgba(255, 255, 255, .66); font-size: 14px; }

.contact-links {
    display: grid;
    gap: 10px;
}

.contact-links a {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: 15px 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 15px;
    background: rgba(255, 255, 255, .07);
    transition: transform .2s ease, background .2s ease;
}

.contact-links a:hover { transform: translateX(5px); background: rgba(255, 255, 255, .12); }
.contact-links small { color: var(--cyan-400); font-size: 10px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; }
.contact-links strong { color: var(--white); font-size: 14px; }
.contact-links span { grid-column: 2; grid-row: 1 / 3; align-self: center; color: var(--white); }

/* Projects overview */
.page-hero {
    max-width: 900px;
    padding: 80px 0 72px;
}

.page-hero h1 {
    margin-bottom: 24px;
    font-size: clamp(48px, 7.2vw, 86px);
    letter-spacing: -4.6px;
}

.page-hero > p:last-child {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 16px;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.project-item {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: rgba(255, 255, 255, .75);
    box-shadow: var(--shadow-sm);
    transition: transform .28s ease, box-shadow .28s ease;
}

.project-item:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow-lg);
}

.project-item-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.project-item-link:focus-visible {
    outline: 3px solid var(--cyan-400);
    outline-offset: 4px;
}

.project-item-link:hover .text-link span { transform: translate(4px, -4px); }

.project-featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
}

.project-visual {
    display: block;
    min-height: 320px;
    overflow: hidden;
    position: relative;
    background: var(--navy-900);
}

.project-featured .project-visual { min-height: 430px; }

.project-visual img {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
    object-position: left top;
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.project-item:hover .project-visual img { transform: scale(1.035); }

.project-preview-landing img { object-position: center top; }

.project-index {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 14px;
    color: var(--white);
    background: rgba(4, 21, 45, .55);
    backdrop-filter: blur(12px);
    font-size: 11px;
    font-weight: 850;
}

.project-body {
    padding: 32px;
}

.project-featured .project-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 44px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    color: var(--blue-600);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.project-body h2 {
    margin-bottom: 16px;
    font-size: clamp(27px, 3vw, 40px);
    letter-spacing: -1.5px;
}

.project-body p {
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 14px;
}

.text-link,
.project-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    align-self: flex-start;
    color: var(--blue-600);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .4px;
    text-transform: uppercase;
}

.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(5px); }
.project-status { color: #8794a7; }

.project-concept {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 75% 18%, rgba(66, 200, 255, .3), transparent 14rem),
        linear-gradient(145deg, var(--navy-950), var(--navy-800));
}

.concept-window {
    display: grid;
    grid-template-columns: repeat(3, 7px) 1fr;
    gap: 7px;
    width: 64%;
    min-height: 180px;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    box-shadow: 0 25px 55px rgba(4, 21, 45, .32);
    transform: rotate(-3deg);
}

.concept-window i { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan-400); opacity: .75; }
.concept-window span { grid-column: 1 / -1; height: 15px; margin-top: 18px; border-radius: 5px; background: rgba(255, 255, 255, .85); }
.concept-window span + span { width: 72%; height: 8px; margin-top: 2px; background: rgba(255, 255, 255, .28); }
.concept-window b { grid-column: 1 / -1; width: 45%; height: 34px; margin-top: 10px; border-radius: 9px; background: var(--blue-500); }

.project-concept-landing { display: flex; justify-content: space-around; padding: 45px; }
.concept-orbit { width: 130px; height: 130px; position: relative; border: 1px solid rgba(66, 200, 255, .32); border-radius: 50%; box-shadow: 0 0 0 24px rgba(66, 200, 255, .06), 0 0 0 48px rgba(66, 200, 255, .035); }
.concept-orbit i { width: 12px; height: 12px; position: absolute; border-radius: 50%; background: var(--cyan-400); box-shadow: 0 0 18px var(--cyan-400); }
.concept-orbit i:nth-child(1) { top: -6px; left: 58px; }
.concept-orbit i:nth-child(2) { right: 3px; bottom: 15px; }
.concept-orbit i:nth-child(3) { left: 2px; bottom: 20px; }
.concept-copy { display: grid; align-content: center; width: 38%; gap: 10px; }
.concept-copy b { width: 82%; height: 22px; border-radius: 7px; background: var(--white); }
.concept-copy span { width: 100%; height: 8px; border-radius: 5px; background: rgba(255, 255, 255, .22); }
.concept-copy span:last-child { width: 65%; }

/* Case study */
.school-project { padding-top: 72px; }
.school-project > .section-heading { max-width: 820px; margin-inline: auto; margin-bottom: 45px; }
.school-project > .section-heading > p:last-child { max-width: 680px; margin-inline: auto; color: var(--muted); }

.card,
.project-showcase {
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(12px);
}

.project-showcase {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    align-items: center;
    gap: clamp(30px, 6vw, 72px);
    padding: clamp(30px, 5vw, 58px);
    border-radius: 32px;
}

.project-showcase h3 {
    margin: 7px 0 17px;
    font-size: clamp(30px, 4vw, 46px);
    letter-spacing: -2px;
}

.project-showcase p { color: var(--muted); font-size: 14px; }
.project-showcase img { display: block; width: 100%; border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 22px 45px rgba(8, 47, 99, .16); }

.feature-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}

.feature-summary article,
.feature-card {
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--shadow-sm);
}

.feature-summary article { padding: 28px; }
.feature-summary span { display: inline-grid; place-items: center; width: 35px; height: 35px; margin-bottom: 22px; border-radius: 11px; color: var(--blue-600); background: var(--blue-50); font-size: 10px; font-weight: 850; }
.feature-summary h3 { margin-bottom: 10px; font-size: 20px; }
.feature-summary p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

.feature-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.feature-card {
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.feature-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.feature-card img { display: block; width: 100%; aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line); object-fit: cover; object-position: left top; }
.feature-card div { padding: 24px; }
.feature-card h3 { margin-bottom: 9px; font-size: 20px; }
.feature-card p { margin-bottom: 0; color: var(--muted); font-size: 14px; }

/* Footer */
footer {
    padding: 30px 0;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, .48);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 50px;
}

.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand img { width: 72px; height: auto; }
.footer-brand strong,
.footer-brand span { display: block; }
.footer-brand strong { color: var(--navy-950); font-size: 13px; }
.footer-brand span { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: 1px; text-transform: uppercase; }
.footer-nav { display: flex; gap: 22px; }
.footer-nav a { color: var(--muted); font-size: 13px; font-weight: 750; }
.footer-nav a:hover { color: var(--blue-600); }
.footer-inner > p { margin: 0; color: #8b98a9; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
    .hero-card { grid-template-columns: 1fr; padding-bottom: 90px; }
    .profile-visual { width: min(380px, 82%); }
    .experience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .project-featured { grid-template-columns: 1fr; }
    .project-featured .project-visual { min-height: 390px; }
    .contact-panel { grid-template-columns: 1fr; gap: 35px; }
    .project-showcase { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr auto; }
    .footer-inner > p { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
    .container { width: min(100% - 28px, 1160px); }
    main.container { padding-top: 24px; padding-bottom: 75px; }
    header { padding: 8px 0; }
    header nav { min-height: 60px; padding-inline: 10px; border-radius: 18px; }
    header .brand-copy { display: none; }
    header .brand-mark { width: 62px; }
    header li a { padding: 9px 10px; font-size: 12px; }
    .hero-card { min-height: auto; gap: 65px; padding: 42px 24px 70px; border-radius: 28px; }
    .hero-card h1 { font-size: clamp(41px, 12vw, 64px); letter-spacing: -2.7px; }
    .hero-metrics { justify-content: space-between; }
    .hero-metrics div { min-width: 0; width: 33.333%; padding-right: 12px; }
    .hero-metrics div + div { padding-left: 14px; }
    .floating-card-top { top: -14px; right: -8px; }
    .floating-card-bottom { bottom: -12px; left: -8px; }
    .expertise-strip { align-items: flex-start; flex-direction: column; gap: 15px; padding: 20px; }
    .expertise-list { flex-wrap: wrap; justify-content: flex-start; gap: 12px 18px; }
    .content-section { padding-top: 90px; }
    .section-heading-split { grid-template-columns: 1fr; gap: 20px; }
    .section-heading h2 { font-size: 40px; letter-spacing: -1.8px; }
    .education-list,
    .project-grid,
    .feature-summary,
    .feature-gallery { grid-template-columns: 1fr; }
    .contact-panel { min-width: 0; padding: 35px 24px; border-radius: 28px; }
    .page-hero { padding: 55px 4px; }
    .page-hero h1 { font-size: clamp(45px, 14vw, 68px); letter-spacing: -3px; }
    .project-featured { grid-column: auto; }
    .project-featured .project-visual,
    .project-visual { min-height: 300px; }
    .project-featured .project-body,
    .project-body { padding: 27px; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .footer-inner > p { grid-column: auto; }
}

@media (max-width: 520px) {
    header li:nth-child(2),
    header li:nth-child(3) { display: none; }
    header li a { padding: 9px 12px; }
    .intro { font-size: 14px; }
    .hero-actions { display: grid; }
    .btn { width: 100%; }
    .hero-metrics strong { font-size: 21px; }
    .hero-metrics span { font-size: 10px; }
    .profile-visual { width: 86%; }
    .floating-card { display: none; }
    .experience-grid { grid-template-columns: 1fr; }
    .education-card { grid-template-columns: auto 1fr; min-height: 160px; padding: 22px; }
    .education-number { width: 48px; height: 48px; border-radius: 15px; }
    .card-arrow { display: none; }
    .contact-links strong { max-width: 210px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .project-concept-landing { padding: 30px; }
    .concept-orbit { width: 95px; height: 95px; }
    .concept-orbit i:nth-child(1) { left: 41px; }
    .footer-nav { flex-wrap: wrap; }
}
