:root {
    --bg: #07101c;
    --bg2: #0b1727;
    --panel: rgba(255, 255, 255, .075);
    --panel2: rgba(255, 255, 255, .12);
    --line: rgba(255, 255, 255, .14);
    --text: #f7fbff;
    --muted: #a9b7c8;
    --blue: #67d8ff;
    --mint: #8fffd0;
    --violet: #a98cff;
    --dark: #08111d;
    --pad: clamp(1.25rem, 5vw, 5.5rem);
    --radius: 1.75rem
}

* {
    box-sizing: border-box
}

html {
    max-width: 100%;
    overflow-x: hidden;
    scroll-behavior: smooth
}

@supports (overflow: clip) {
    html {
        overflow-x: clip
    }
}

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background: var(--bg);
    font-family: Inter, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased
}

body.menu-open {
    overflow: hidden
}

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

img {
    display: block;
    max-width: 100%
}

button {
    color: inherit;
    font: inherit
}

::selection {
    color: var(--dark);
    background: var(--mint)
}

.noise {
    position: fixed;
    z-index: 100;
    inset: 0;
    pointer-events: none;
    opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E")
}

.cursor-glow {
    position: fixed;
    z-index: 5;
    width: 34rem;
    height: 34rem;
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(103, 216, 255, .09), transparent 68%)
}

.scroll-progress {
    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--mint), var(--violet))
}

.glass {
    border: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .045));
    box-shadow: 0 24px 70px rgba(0, 0, 0, .24), inset 0 1px 0 rgba(255, 255, 255, .13);
    backdrop-filter: blur(24px) saturate(145%);
    -webkit-backdrop-filter: blur(24px) saturate(145%)
}

.site-header {
    position: fixed;
    z-index: 90;
    top: 1rem;
    right: var(--pad);
    left: var(--pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4.5rem;
    padding: 0 1rem 0 1.2rem;
    border-radius: 1.35rem;
    transition: .3s
}

.site-header:not(.scrolled) {
    background: rgba(7, 16, 28, .3);
    box-shadow: none
}

.brand {
    display: flex;
    align-items: center;
    gap: .8rem;
    font-family: Outfit, sans-serif;
    font-size: 1rem;
    font-weight: 700
}

.brand-mark {
    display: grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    color: var(--dark);
    border-radius: .85rem;
    background: linear-gradient(135deg, var(--mint), var(--blue));
    box-shadow: 0 8px 25px rgba(103, 216, 255, .22)
}

.nav {
    display: flex;
    align-items: center;
    gap: .35rem
}

.nav a {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .72rem .9rem;
    border-radius: .8rem;
    color: #d7e1eb;
    font-size: .9rem;
    font-weight: 600;
    transition: .25s
}

.nav a:hover {
    color: white;
    background: rgba(255, 255, 255, .09)
}

.nav-cta {
    margin-left: .4rem;
    color: var(--dark)!important;
    background: var(--mint)!important
}

.menu-button {
    display: none;
    border: 0;
    background: none
}

.hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    grid-template-columns: minmax(0, 1.25fr) minmax(20rem, .75fr);
    grid-template-rows: 1fr auto;
    gap: 3rem 6vw;
    overflow: hidden;
    padding: clamp(8.5rem, 14vh, 11rem) var(--pad) 2.5rem;
    background: radial-gradient(circle at 75% 25%, #162b46 0, transparent 30%), linear-gradient(145deg, #07101c, #091829 65%, #07101c)
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .075;
    background-image: linear-gradient(rgba(255, 255, 255, .4) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .4) 1px, transparent 1px);
    background-size: 5rem 5rem;
    mask-image: linear-gradient(to bottom, #000, transparent 88%)
}

.aurora {
    position: absolute;
    border-radius: 50%;
    filter: blur(3rem);
    opacity: .28;
    animation: float 10s ease-in-out infinite alternate
}

.aurora-one {
    top: 5%;
    right: 12%;
    width: 32rem;
    height: 32rem;
    background: var(--blue)
}

.aurora-two {
    top: 35%;
    right: -8%;
    width: 28rem;
    height: 28rem;
    background: var(--violet);
    animation-delay: -4s
}

@keyframes float {
    to {
        transform: translate(3rem, 2rem) scale(1.1)
    }
}

.hero-copy,
.hero-visual,
.hero-stats {
    position: relative;
    z-index: 2
}

.hero-copy {
    align-self: center
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .55rem .85rem;
    margin-bottom: 1.5rem;
    border-radius: 2rem;
    color: #dce8f3;
    font-size: .82rem;
    font-weight: 600
}

.status-dot {
    width: .6rem;
    height: .6rem;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 0 .3rem rgba(143, 255, 208, .12), 0 0 20px var(--mint);
    animation: pulse 2s infinite
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 0 .5rem transparent, 0 0 30px var(--mint)
    }
}

.hero-kicker {
    margin: 0 0 1rem;
    color: var(--blue);
    font-family: Outfit, sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    font-weight: 700;
    letter-spacing: .025em
}

.hero h1,
.section-heading,
.contact h2 {
    margin: 0;
    font-family: Outfit, Arial, sans-serif;
    font-size: clamp(3.4rem, 7vw, 7.5rem);
    font-weight: 700;
    line-height: .96;
    letter-spacing: -.045em
}

.hero h1 {
    max-width: 13ch
}

.hero-intro {
    max-width: 47rem;
    margin: 2rem 0 0;
    color: #c0ccda;
    font-size: clamp(1.05rem, 1.45vw, 1.3rem);
    line-height: 1.7
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.2rem
}

.button {
    display: inline-flex;
    min-height: 3.6rem;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 0 1.35rem;
    border: 1px solid transparent;
    border-radius: 1rem;
    font-size: .95rem;
    font-weight: 700;
    transition: transform .25s, box-shadow .25s, background .25s
}

.button:hover {
    transform: translateY(-4px)
}

.button-primary {
    color: var(--dark);
    background: linear-gradient(135deg, var(--mint), var(--blue));
    box-shadow: 0 12px 30px rgba(103, 216, 255, .2)
}

.button-glass {
    border-color: var(--line);
    background: rgba(255, 255, 255, .07);
    backdrop-filter: blur(15px)
}

.social-dock {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 2rem
}

.social-icon {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 3.15rem;
    padding: 0 .95rem;
    border-radius: 1rem;
    transition: .25s
}

.social-icon i {
    font-size: 1.45rem
}

.social-icon span {
    font-size: .83rem;
    font-weight: 600
}

.social-icon:hover {
    transform: translateY(-4px);
    border-color: rgba(143, 255, 208, .5);
    background: rgba(143, 255, 208, .12)
}

.hero-visual {
    align-self: center;
    justify-self: end;
    width: min(100%, 30rem)
}

.portrait-shell {
    position: relative;
    padding: .7rem;
    border-radius: 12rem 12rem 2rem 2rem;
    transform: perspective(900px) rotateY(-3deg);
    animation: portrait-float 6s ease-in-out infinite
}

.portrait-shell img {
    width: 100%;
    aspect-ratio: .8;
    object-fit: cover;
    object-position: center top;
    border-radius: 11.5rem 11.5rem 1.5rem 1.5rem;
    filter: saturate(.85) contrast(1.05)
}

@keyframes portrait-float {
    50% {
        transform: perspective(900px) rotateY(2deg) translateY(-10px)
    }
}

.portrait-badge {
    position: absolute;
    z-index: 3;
    top: 2rem;
    left: -2rem;
    padding: .7rem 1rem;
    border: 1px solid rgba(143, 255, 208, .35);
    border-radius: 1rem;
    background: rgba(7, 16, 28, .68);
    backdrop-filter: blur(18px);
    font-size: .8rem;
    font-weight: 600;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .3)
}

.portrait-badge i {
    margin-right: .4rem;
    color: var(--mint)
}

.portrait-card {
    position: absolute;
    z-index: 3;
    right: -1.5rem;
    bottom: 2rem;
    display: flex;
    min-width: 15rem;
    flex-direction: column;
    padding: 1rem 1.15rem;
    border-radius: 1.25rem
}

.portrait-card span,
.portrait-card small {
    color: var(--muted);
    font-size: .75rem
}

.portrait-card strong {
    font-family: Outfit;
    font-size: 1rem
}

.floating-code {
    position: absolute;
    z-index: 4;
    right: 60%;
    bottom: -1.2rem;
    width: max-content;
    padding: .8rem 1rem;
    border-radius: 1rem;
    color: #cceaff;
    font-size: .77rem
}

.floating-code span {
    display: inline-block;
    width: .45rem;
    height: .45rem;
    margin-right: .2rem;
    border-radius: 50%;
    background: #ff6577
}

.floating-code span:nth-child(2) {
    background: #ffc76a
}

.floating-code span:nth-child(3) {
    margin-right: .65rem;
    background: #69e6a6
}

.hero-stats {
    display: grid;
    grid-column: 1/-1;
    grid-template-columns: repeat(4, 1fr);
    border-radius: 1.5rem
}

.hero-stats div {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem 1.5rem;
    border-right: 1px solid var(--line)
}

.hero-stats div:last-child {
    border: 0
}

.hero-stats strong {
    font-family: Outfit;
    font-size: clamp(2rem, 3vw, 3rem);
    line-height: 1;
    color: var(--mint)
}

.hero-stats span {
    color: #b1bfce;
    font-size: .8rem;
    line-height: 1.45
}

.marquee {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
    color: #eaf8ff;
    border-top: 1px solid rgba(126, 225, 255, .28);
    border-bottom: 1px solid rgba(126, 225, 255, .28);
    background:
        linear-gradient(90deg, rgba(12, 39, 53, .98), rgba(30, 98, 126, .96) 48%, rgba(18, 57, 73, .98)),
        #123949;
    box-shadow:
        inset 0 1px rgba(221, 248, 255, .18),
        inset 0 -1px rgba(30, 98, 126, .42),
        0 0 28px rgba(30, 98, 126, .2)
}

.marquee-track {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 0;
    animation: marquee 26s linear infinite;
    will-change: transform
}

.marquee-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2rem;
    padding-right: 2rem
}

.marquee span {
    display: flex;
    align-items: center;
    gap: .55rem;
    font-family: Outfit;
    font-weight: 800;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(157, 231, 255, .2)
}

.marquee b {
    color: #9de7ff;
    font-weight: 400;
    text-shadow: 0 0 12px rgba(103, 216, 255, .65)
}

@keyframes marquee {
    from {
        transform: translateX(0)
    }
    to {
        transform: translateX(-50%)
    }
}

.section {
    position: relative;
    padding: clamp(6rem, 10vw, 10rem) var(--pad)
}

.section-label {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: clamp(3rem, 6vw, 6rem);
    color: var(--blue);
    font-size: .88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em
}

.section-label span {
    display: grid;
    width: 2.2rem;
    height: 2.2rem;
    place-items: center;
    border: 1px solid rgba(103, 216, 255, .4);
    border-radius: .75rem;
    background: rgba(103, 216, 255, .08);
    font-size: .75rem
}

.overline {
    margin: 0 0 1rem;
    color: var(--mint);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em
}

.section-heading {
    font-size: clamp(3rem, 6vw, 6.5rem)
}

.section-heading span {
    color: #6f839b
}

.about {
    background: linear-gradient(180deg, #07101c, #0a1624)
}

.about-layout,
.skills-intro,
.experience-head,
.work-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr);
    gap: 6vw
}

.about-copy {
    align-self: end;
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border-radius: var(--radius);
    color: #c5d0dc;
    font-size: 1.05rem
}

.about-copy p {
    margin: 0 0 1rem
}

.about-copy p:last-child {
    margin: 0
}

.about-copy strong {
    color: white
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 4rem
}

.profile-item {
    display: flex;
    min-height: 6.7rem;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    border-radius: 1.25rem;
    transition: .25s
}

.profile-item>i:first-child {
    display: grid;
    flex: 0 0 3rem;
    width: 3rem;
    height: 3rem;
    place-items: center;
    border-radius: 1rem;
    color: var(--dark);
    background: linear-gradient(135deg, var(--mint), var(--blue));
    font-size: 1.25rem
}

.profile-item span {
    overflow-wrap: anywhere;
    font-size: .9rem;
    font-weight: 600
}

.profile-item small {
    display: block;
    margin-bottom: .2rem;
    color: var(--muted);
    font-size: .72rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .08em
}

.profile-item>i:last-child {
    margin-left: auto;
    color: var(--mint)
}

a.profile-item:hover {
    transform: translateY(-5px);
    border-color: rgba(103, 216, 255, .4)
}

.skills {
    overflow: hidden;
    background: #0b1727
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .16
}

.orb-skills {
    top: 15%;
    right: -10rem;
    width: 35rem;
    height: 35rem;
    background: var(--violet)
}

.skills-intro>p,
.experience-head>p,
.work-head>p {
    align-self: end;
    margin: 0;
    color: var(--muted);
    font-size: 1.1rem
}

.skill-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 4rem
}

.skill-panel,
.skill-cloud {
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border-radius: var(--radius)
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem
}

.panel-title>i {
    display: grid;
    width: 3.3rem;
    height: 3.3rem;
    place-items: center;
    border-radius: 1rem;
    color: var(--dark);
    background: linear-gradient(135deg, var(--blue), var(--mint));
    font-size: 1.35rem
}

.panel-title small {
    color: var(--muted);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .09em
}

.panel-title h3 {
    margin: .1rem 0 0;
    font-family: Outfit;
    font-size: 1.5rem
}

.meter {
    margin-top: 1.5rem
}

.meter>div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: .55rem;
    font-size: .93rem;
    font-weight: 600
}

.meter strong {
    color: var(--mint)
}

.meter>i {
    position: relative;
    display: block;
    height: .55rem;
    overflow: hidden;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .08)
}

.meter>i:after {
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--level);
    content: "";
    border-radius: inherit;
    background: linear-gradient(90deg, var(--blue), var(--mint));
    box-shadow: 0 0 20px rgba(103, 216, 255, .35);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.3s cubic-bezier(.2, .8, .2, 1)
}

.visible .meter>i:after {
    transform: scaleX(1)
}

.skill-cloud {
    margin-top: 1.25rem
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem
}

.chips span {
    padding: .55rem .85rem;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: .8rem;
    color: #d4dfeb;
    background: rgba(255, 255, 255, .045);
    font-size: .82rem;
    font-weight: 600;
    transition: .2s
}

.chips span:hover {
    color: var(--dark);
    border-color: var(--mint);
    background: var(--mint);
    transform: translateY(-2px)
}

.experience {
    background: radial-gradient(circle at 15% 35%, rgba(103, 216, 255, .08), transparent 25%), linear-gradient(#07101c, #091522)
}

.timeline {
    display: grid;
    gap: 1.15rem;
    margin-top: 4rem
}

.role {
    display: grid;
    grid-template-columns: 6rem 1fr;
    gap: 1.6rem;
    padding: 1.4rem;
    border-radius: var(--radius);
    transition: .3s
}

.role:hover {
    transform: translateX(.5rem);
    border-color: rgba(103, 216, 255, .35);
    background: linear-gradient(135deg, rgba(103, 216, 255, .12), rgba(255, 255, 255, .045))
}

.company-logo {
    display: grid;
    width: 6rem;
    height: 6rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 1.4rem;
    background: white;
    color: #112033;
    font-family: Outfit;
    font-size: 1.6rem;
    font-weight: 800
}

.company-logo img {
    width: 85%;
    height: 85%;
    object-fit: contain
}

.company-logo.placeholder {
    color: white;
    background: linear-gradient(135deg, #1d3855, #122236)
}

.company-logo.graph-logo {
    background: linear-gradient(135deg, #d82d45, #671c75)
}

.role-content {
    min-width: 0
}

.role-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem
}

.role h3 {
    margin: 0;
    font-family: Outfit;
    font-size: clamp(1.55rem, 2.3vw, 2.1rem);
    line-height: 1.2
}

.job-title {
    margin: .3rem 0 0!important;
    color: #c1cfdd!important;
    font-size: 1rem!important;
    font-weight: 600
}

.role time,
.education-card time {
    display: inline-block;
    white-space: nowrap;
    padding: .55rem .8rem;
    border: 1px solid rgba(143, 255, 208, .22);
    border-radius: .8rem;
    color: var(--mint);
    background: rgba(143, 255, 208, .07);
    font-size: .9rem;
    font-weight: 700
}

.role ul {
    display: grid;
    gap: .45rem;
    margin: 1rem 0 0;
    padding-left: 1.25rem;
    color: #aebdcd;
    font-size: .95rem
}

.role li::marker {
    color: var(--blue)
}

.role strong {
    color: #eef7ff
}

.education-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 6rem 0 1.5rem
}

.education-title i {
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    border-radius: 1rem;
    color: var(--dark);
    background: var(--mint);
    font-size: 1.5rem
}

.education-title h2 {
    margin: 0;
    font-family: Outfit;
    font-size: 2.2rem
}

.education {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem
}

.education-card {
    display: grid;
    grid-template-columns: 7rem 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--radius)
}

.university-logo {
    display: grid;
    width: 7rem;
    height: 7rem;
    place-items: center;
    padding: .8rem;
    border-radius: 1.4rem;
    background: white
}

.university-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.university-logo.wide {
    padding: .5rem
}

.education-card h3 {
    margin: 1rem 0 0;
    font-family: Outfit;
    font-size: 1.6rem
}

.education-card h4 {
    margin: .25rem 0;
    color: #c7d5e4;
    font-size: 1rem
}

.education-card p {
    margin: .5rem 0;
    color: var(--muted);
    font-size: .9rem
}

.thesis {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: 1rem;
    padding: .8rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .06)
}

.thesis i {
    color: var(--blue);
    font-size: 1.2rem
}

.thesis small {
    display: block;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .08em
}

.work {
    background: radial-gradient(circle at 90% 10%, rgba(169, 140, 255, .11), transparent 20%), #0b1727
}

.projects {
    display: grid;
    gap: 2rem;
    margin-top: 5rem
}

.project {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .85fr);
    gap: clamp(1.5rem, 4vw, 3.5rem);
    padding: clamp(.8rem, 1.4vw, 1.2rem);
    border-radius: 2.25rem
}

.project:nth-child(even) {
    grid-template-columns: minmax(22rem, .85fr) minmax(0, 1.15fr)
}

.project:nth-child(even) .project-gallery {
    order: 2
}

.project-gallery {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: 1.6rem;
    background: #02070c
}

.carousel-viewport {
    height: 100%;
    min-height: 32rem;
    overflow: hidden
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform .75s cubic-bezier(.2, .8, .2, 1);
    will-change: transform
}

.carousel-track figure {
    flex: 0 0 100%;
    height: 100%;
    margin: 0
}

.carousel-track img {
    width: 100%;
    height: 100%;
    min-height: 32rem;
    object-fit: contain;
    background: #03080e;
    cursor: zoom-in
}

.carousel-button,
.expand-button {
    position: absolute;
    z-index: 3;
    display: grid;
    width: 3.2rem;
    height: 3.2rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 1rem;
    background: rgba(7, 16, 28, .55);
    backdrop-filter: blur(18px);
    font-size: 1.1rem;
    cursor: pointer;
    transition: .2s
}

.carousel-button:hover,
.expand-button:hover {
    color: var(--dark);
    background: var(--mint);
    transform: scale(1.06)
}

.carousel-button {
    top: 50%;
    transform: translateY(-50%)
}

.carousel-button:hover {
    transform: translateY(-50%) scale(1.06)
}

.carousel-button.prev {
    left: 1rem
}

.carousel-button.next {
    right: 1rem
}

.expand-button {
    top: 1rem;
    right: 1rem
}

.carousel-counter {
    position: absolute;
    z-index: 3;
    top: 1.25rem;
    left: 1.25rem;
    padding: .5rem .7rem;
    border-radius: .7rem;
    background: rgba(7, 16, 28, .65);
    backdrop-filter: blur(14px);
    font-size: .82rem;
    font-weight: 700
}

.carousel-dots {
    position: absolute;
    z-index: 3;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    display: flex;
    justify-content: center;
    gap: .5rem
}

.carousel-dots button {
    width: .55rem;
    height: .55rem;
    padding: 0;
    border: 0;
    border-radius: 2rem;
    background: rgba(255, 255, 255, .4);
    cursor: pointer;
    transition: .3s
}

.carousel-dots button.active {
    width: 2rem;
    background: var(--mint)
}

.project-copy {
    align-self: center;
    padding: 1rem .8rem
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-bottom: 1.1rem
}

.project-meta span {
    display: flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .7rem;
    border: 1px solid var(--line);
    border-radius: .8rem;
    color: #c6d4e2;
    background: rgba(255, 255, 255, .04);
    font-size: .83rem;
    font-weight: 600
}

.project-meta i {
    color: var(--blue)
}

.project h3 {
    margin: 0 0 1.2rem;
    font-family: Outfit;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 1;
    letter-spacing: -.03em
}

.project-copy p {
    margin: .8rem 0;
    color: #adbdcd;
    font-size: .95rem;
    line-height: 1.75
}

.project-copy strong {
    color: white
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin: 1.4rem 0
}

.project-links a {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .7rem .9rem;
    border-radius: .9rem;
    color: var(--dark);
    background: var(--mint);
    font-size: .85rem;
    font-weight: 700;
    transition: .2s
}

.project-links a:nth-child(2) {
    background: #ff4d62;
    color: white
}

.project-links a:hover {
    transform: translateY(-3px)
}

.project .chips {
    margin-top: 1.4rem
}

.contact {
    position: relative;
    overflow: hidden;
    padding: clamp(6rem, 10vw, 10rem) var(--pad) 2rem;
    background: #06101b
}

.contact-aurora {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 60rem;
    height: 35rem;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(103, 216, 255, .18), rgba(169, 140, 255, .08) 45%, transparent 70%);
    filter: blur(2rem)
}

.contact-content {
    position: relative;
    z-index: 2;
    max-width: 75rem;
    margin: auto;
    padding: clamp(2rem, 6vw, 6rem);
    border-radius: 3rem;
    text-align: center
}

.contact-content>p {
    margin: 0 0 1rem;
    color: var(--mint);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em
}

.contact h2 {
    font-size: clamp(3.3rem, 7vw, 7.5rem)
}

.contact-content>.button {
    margin-top: 2.5rem
}

.contact-socials {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 3.5rem
}

.contact-socials a {
    display: flex;
    min-width: 8.5rem;
    flex-direction: column;
    gap: .35rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, .05);
    transition: .25s
}

.contact-socials i {
    font-size: 2rem
}

.contact-socials span {
    font-size: .8rem;
    font-weight: 600
}

.contact-socials a:hover {
    color: var(--dark);
    background: var(--mint);
    transform: translateY(-5px)
}

footer {
    position: relative;
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .85rem
}

.lightbox {
    width: 100vw;
    max-width: none;
    height: 100vh;
    max-height: none;
    margin: 0;
    padding: 2rem;
    border: 0;
    background: rgba(2, 7, 12, .88);
    backdrop-filter: blur(25px)
}

.lightbox[open] {
    display: grid;
    place-items: center
}

.lightbox::backdrop {
    background: transparent
}

.lightbox img {
    max-width: 90vw;
    max-height: 86vh;
    border-radius: 1rem;
    box-shadow: 0 30px 100px #000
}

.lightbox-close,
.lightbox-nav {
    position: fixed;
    z-index: 2;
    display: grid;
    width: 3.5rem;
    height: 3.5rem;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 1rem;
    color: white;
    background: rgba(255, 255, 255, .1);
    cursor: pointer
}

.lightbox-close {
    top: 1.5rem;
    right: 1.5rem
}

.lightbox-nav {
    top: 50%;
    transform: translateY(-50%)
}

.lightbox-prev {
    left: 1.5rem
}

.lightbox-next {
    right: 1.5rem
}

.lightbox-count {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    padding: .6rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, .1);
    transform: translateX(-50%);
    font-weight: 700
}

.reveal {
    opacity: 0;
    transform: translateY(2.5rem) scale(.985);
    transition: opacity .8s ease, transform .8s cubic-bezier(.2, .8, .2, 1)
}

.reveal.visible {
    opacity: 1;
    transform: none
}

@media(max-width:1100px) {
    .nav a i {
        display: none
    }
    .hero {
        grid-template-columns: 1fr .65fr
    }
    .profile-grid {
        grid-template-columns: 1fr 1fr
    }
    .project,
    .project:nth-child(even) {
        grid-template-columns: 1fr
    }
    .project:nth-child(even) .project-gallery {
        order: 0
    }
    .carousel-viewport,
    .carousel-track img {
        min-height: min(60vw, 34rem)
    }
    .education {
        grid-template-columns: 1fr
    }
}

@media(max-width:800px) {
    body {
        font-size: 15px
    }
    .site-header {
        top: .7rem;
        right: 1rem;
        left: 1rem
    }
    .brand>span:last-child {
        display: none
    }
    .menu-button {
        position: relative;
        z-index: 100;
        display: grid;
        width: 2.8rem;
        height: 2.8rem;
        place-content: center;
        gap: .4rem;
        border: 1px solid var(--line);
        border-radius: .9rem;
        background: rgba(255, 255, 255, .06)
    }
    .menu-button span {
        display: block;
        width: 1.1rem;
        height: 1px;
        background: white;
        transition: .25s
    }
    .menu-open .menu-button span:first-child {
        transform: translateY(.2rem) rotate(45deg)
    }
    .menu-open .menu-button span:last-child {
        transform: translateY(-.2rem) rotate(-45deg)
    }
    .nav {
        position: fixed;
        inset: 0;
        z-index: 95;
        flex-direction: column;
        justify-content: center;
        visibility: hidden;
        opacity: 0;
        background: rgba(5, 13, 23, .96);
        backdrop-filter: blur(30px);
        transition: .25s
    }
    .menu-open .nav {
        visibility: visible;
        opacity: 1
    }
    .nav a {
        font-size: 1.4rem
    }
    .nav a i {
        display: inline
    }
    .hero {
        grid-template-columns: 1fr;
        padding-top: 8rem
    }
    .hero-visual {
        justify-self: center;
        width: min(80vw, 27rem)
    }
    .hero-stats {
        grid-template-columns: 1fr 1fr
    }
    .hero-stats div:nth-child(2) {
        border-right: 0
    }
    .hero-stats div:nth-child(-n+2) {
        border-bottom: 1px solid var(--line)
    }
    .about-layout,
    .skills-intro,
    .experience-head,
    .work-head {
        grid-template-columns: 1fr
    }
    .skill-columns {
        grid-template-columns: 1fr
    }
    .role {
        grid-template-columns: 4.5rem 1fr
    }
    .company-logo {
        width: 4.5rem;
        height: 4.5rem;
        border-radius: 1rem;
        font-size: 1.2rem
    }
    .role-top {
        flex-direction: column
    }
    .education-card {
        grid-template-columns: 5rem 1fr
    }
    .university-logo {
        width: 5rem;
        height: 5rem
    }
    .project-copy {
        padding: 1rem
    }
    .carousel-viewport,
    .carousel-track img {
        min-height: 55vw
    }
    .cursor-glow {
        display: none
    }
}

@media(max-width:560px) {
    .hero h1 {
        font-size: clamp(3.1rem, 14vw, 4.6rem)
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch
    }
    .social-icon {
        flex: 1;
        justify-content: center
    }
    .social-icon span {
        display: none
    }
    .social-icon i {
        font-size: 1.7rem
    }
    .portrait-badge {
        left: -.5rem
    }
    .portrait-card {
        right: -.5rem
    }
    .floating-code {
        display: none
    }
    .hero-stats {
        grid-template-columns: 1fr
    }
    .hero-stats div {
        border-right: 0;
        border-bottom: 1px solid var(--line)!important
    }
    .hero-stats div:last-child {
        border-bottom: 0!important
    }
    .profile-grid {
        grid-template-columns: 1fr
    }
    .role {
        grid-template-columns: 1fr
    }
    .company-logo {
        width: 4.5rem;
        height: 4.5rem
    }
    .education-card {
        grid-template-columns: 1fr
    }
    .carousel-viewport,
    .carousel-track img {
        min-height: 70vw
    }
    .carousel-button {
        width: 2.8rem;
        height: 2.8rem
    }
    .project {
        padding: .6rem;
        border-radius: 1.5rem
    }
    .project-gallery {
        border-radius: 1.1rem
    }
    .contact-content {
        padding: 3rem 1rem;
        border-radius: 2rem
    }
    .contact-socials a {
        min-width: 5.5rem
    }
    .contact-socials span {
        display: none
    }
    footer {
        flex-direction: column
    }
    .lightbox {
        padding: .5rem
    }
    .lightbox-nav {
        top: auto;
        bottom: 1rem
    }
    .lightbox-close {
        top: 1rem;
        right: 1rem
    }
}

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


/* Interactive identity and living visual layer */

.brand-mark {
    width: 2.8rem;
    height: 2.8rem;
    overflow: hidden;
    padding: 0;
    border-radius: .9rem;
    background: none;
    box-shadow: 0 8px 28px rgba(103, 216, 255, .3)
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.living-orbits {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none
}

.live-orbit {
    position: absolute;
    display: block;
    border: 1px solid rgba(103, 216, 255, .13);
    border-radius: 50%;
    animation: spin 24s linear infinite
}

.live-orbit i {
    position: absolute;
    top: 50%;
    left: -.35rem;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 18px var(--mint)
}

.orbit-a {
    top: 9%;
    right: 3%;
    width: 34rem;
    height: 34rem
}

.orbit-b {
    top: 22%;
    right: 16%;
    width: 22rem;
    height: 22rem;
    border-color: rgba(169, 140, 255, .18);
    animation-duration: 18s;
    animation-direction: reverse
}

.orbit-c {
    bottom: -13rem;
    left: 35%;
    width: 31rem;
    height: 31rem;
    animation-duration: 31s
}

.live-bubble {
    position: absolute;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, .15), rgba(103, 216, 255, .03));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 18px 45px rgba(0, 0, 0, .16);
    backdrop-filter: blur(10px);
    animation: bubble-float 8s ease-in-out infinite alternate
}

.bubble-a {
    top: 19%;
    left: 48%;
    width: 3.5rem;
    height: 3.5rem
}

.bubble-b {
    right: 4%;
    bottom: 20%;
    width: 5rem;
    height: 5rem;
    animation-delay: -3s
}

.bubble-c {
    bottom: 10%;
    left: 6%;
    width: 2.5rem;
    height: 2.5rem;
    animation-delay: -5s
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

@keyframes bubble-float {
    to {
        transform: translate(2rem, -3rem) scale(1.12)
    }
}

.australia-flag {
    width: 1.55rem;
    height: auto;
    border-radius: .18rem;
    filter: drop-shadow(0 3px 7px rgba(0, 0, 0, .35))
}

.title-stack {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.5rem
}

.title-chip {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .58rem .8rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: .9rem;
    color: #c9d6e4;
    background: rgba(255, 255, 255, .055);
    box-shadow: inset 0 1px rgba(255, 255, 255, .1);
    backdrop-filter: blur(16px);
    font-size: .84rem;
    font-weight: 700
}

.title-chip i {
    color: var(--blue);
    font-size: 1.05rem
}

.title-chip.primary {
    color: var(--dark);
    border-color: transparent;
    background: linear-gradient(135deg, var(--mint), var(--blue))
}

.title-chip.primary i {
    color: var(--dark)
}

.button-cv {
    color: white;
    border-color: rgba(169, 140, 255, .38);
    background: linear-gradient(135deg, rgba(169, 140, 255, .24), rgba(103, 216, 255, .12));
    box-shadow: inset 0 1px rgba(255, 255, 255, .16), 0 14px 34px rgba(105, 76, 190, .14);
    backdrop-filter: blur(18px)
}

.southern-cross {
    position: absolute;
    z-index: 4;
    top: 8%;
    right: -2rem;
    width: 8.8rem;
    height: 8.8rem;
    border-radius: 50%;
    animation: constellation-float 7s ease-in-out infinite
}

.southern-cross i {
    position: absolute;
    color: #e9fbff;
    font-style: normal;
    text-shadow: 0 0 14px var(--blue);
    animation: star-pulse 2.4s ease-in-out infinite
}

.southern-cross i:nth-child(1) {
    top: 15%;
    left: 46%;
    font-size: 1.1rem
}

.southern-cross i:nth-child(2) {
    top: 42%;
    left: 18%;
    font-size: .75rem;
    animation-delay: -.4s
}

.southern-cross i:nth-child(3) {
    top: 44%;
    right: 17%;
    font-size: .9rem;
    animation-delay: -.8s
}

.southern-cross i:nth-child(4) {
    bottom: 19%;
    left: 46%;
    font-size: 1rem;
    animation-delay: -1.2s
}

.southern-cross i:nth-child(5) {
    top: 48%;
    left: 49%;
    font-size: .55rem;
    animation-delay: -1.6s
}

.southern-cross small {
    position: absolute;
    right: 0;
    bottom: -1.5rem;
    left: 0;
    color: #a8b9ca;
    font-size: .6rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .1em
}

@keyframes constellation-float {
    50% {
        transform: translateY(-12px) rotate(4deg)
    }
}

@keyframes star-pulse {
    50% {
        opacity: .4;
        transform: scale(.75)
    }
}

.section-floaters {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none
}

.section-floaters span {
    position: absolute;
    border: 1px solid rgba(103, 216, 255, .09);
    border-radius: 50%;
    animation: section-drift 14s ease-in-out infinite alternate
}

.section-floaters span:nth-child(1) {
    top: 12%;
    right: 4%;
    width: 9rem;
    height: 9rem
}

.section-floaters span:nth-child(2) {
    top: 48%;
    left: -3rem;
    width: 12rem;
    height: 12rem;
    animation-delay: -5s
}

.section-floaters span:nth-child(3) {
    right: 16%;
    bottom: 8%;
    width: 4rem;
    height: 4rem;
    animation-delay: -9s
}

.section-floaters.alternate span {
    border-color: rgba(169, 140, 255, .11)
}

@keyframes section-drift {
    to {
        transform: translate(2rem, -3rem) rotate(90deg)
    }
}

.section>:not(.section-floaters):not(.orb):not(.map-motif):not(.section-constellation):not(.experience-backdrop-lights):not(.work-backdrop-lights) {
    position: relative;
    z-index: 1
}

.lightbox {
    opacity: 0;
    background: rgba(2, 7, 12, .9);
    transition: opacity .3s allow-discrete
}

.lightbox[open] {
    opacity: 1
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, .38);
    backdrop-filter: blur(12px)
}

.lightbox img {
    border: 1px solid rgba(255, 255, 255, .18);
    animation: lightbox-in .42s cubic-bezier(.16, 1, .3, 1)
}

@keyframes lightbox-in {
    from {
        opacity: 0;
        transform: scale(.82) translateY(2rem);
        filter: blur(10px)
    }
    to {
        opacity: 1;
        transform: none;
        filter: none
    }
}

.lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    display: flex;
    width: auto;
    padding: 0 1rem;
    gap: .55rem;
    color: var(--dark);
    background: var(--mint);
    font-weight: 800
}

.lightbox-close span {
    font-size: .82rem
}

.lightbox-hint {
    position: fixed;
    top: 1.8rem;
    left: 50%;
    color: #b5c3d1;
    transform: translateX(-50%);
    font-size: .78rem
}

.glass,
.button,
.title-chip,
.project-gallery,
.portrait-shell {
    transform-style: preserve-3d;
    will-change: transform
}

.mouse-tilt {
    position: relative;
    overflow: hidden;
    transition: transform .18s ease, border-color .25s, background .25s
}

.mouse-tilt:not(.reveal),
.mouse-tilt.reveal.visible {
    transform: perspective(950px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg))
}

.mouse-tilt:after {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    pointer-events: none;
    background: radial-gradient(circle at var(--shine-x, 50%) var(--shine-y, 50%), rgba(143, 255, 208, .13), transparent 34%);
    opacity: 0;
    transition: opacity .25s
}

.mouse-tilt:hover:after {
    opacity: 1
}

.lightbox.closing {
    opacity: 0
}

.lightbox .image-arrive {
    animation: lightbox-in .42s cubic-bezier(.16, 1, .3, 1)
}

@media(max-width:800px) {
    .southern-cross {
        right: -.5rem
    }
    .live-orbit {
        opacity: .65
    }
    .lightbox-hint {
        display: none
    }
}

@media(max-width:560px) {
    .title-stack {
        gap: .45rem
    }
    .title-chip {
        font-size: .76rem
    }
    .lightbox-close span {
        display: inline
    }
    .lightbox-close {
        top: 1rem;
        right: 1rem
    }
}


/* Refinements: consistent atmosphere, image sizing and contrast */

.cursor-glow {
    z-index: 120;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid rgba(143, 255, 208, .65);
    background: rgba(255, 255, 255, .035);
    box-shadow: inset 0 1px rgba(255, 255, 255, .3), 0 8px 24px rgba(0, 0, 0, .2);
    backdrop-filter: blur(5px);
    transition: width .2s, height .2s, border-color .2s
}

.cursor-glow.cursor-active {
    width: 3.25rem;
    height: 3.25rem;
    border-color: rgba(169, 140, 255, .85);
    background: rgba(169, 140, 255, .08)
}

.cursor-trail-dot {
    position: fixed;
    z-index: 119;
    width: .55rem;
    height: .55rem;
    border: 1px solid rgba(103, 216, 255, .5);
    border-radius: 50%;
    pointer-events: none;
    background: rgba(103, 216, 255, .14);
    backdrop-filter: blur(3px);
    transform: translate(-50%, -50%);
    transition: opacity .25s
}

.portrait-card {
    border-color: rgba(255, 255, 255, .24);
    background: rgba(5, 15, 27, .56);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .18);
    backdrop-filter: blur(28px) saturate(145%);
    -webkit-backdrop-filter: blur(28px) saturate(145%)
}

.portrait-card span,
.portrait-card small {
    color: #cfe0ee;
    font-size: .78rem
}

.portrait-card strong {
    color: #fff;
    font-size: 1.05rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .7)
}

.southern-cross {
    z-index: 1;
    top: 5%;
    right: -5rem;
    width: 20rem;
    height: 20rem;
    opacity: .32;
    border-color: rgba(103, 216, 255, .18);
    box-shadow: none;
    backdrop-filter: none;
    background: transparent
}

.southern-cross i {
    font-size: 1.2rem!important
}

.southern-cross small {
    display: none
}

.portrait-shell {
    z-index: 2
}

.about {
    background: radial-gradient(circle at 85% 18%, rgba(103, 216, 255, .13), transparent 25%), radial-gradient(circle at 15% 75%, rgba(169, 140, 255, .11), transparent 28%), linear-gradient(180deg, #07101c, #0a1624)
}

.skills {
    background: radial-gradient(circle at 88% 15%, rgba(169, 140, 255, .16), transparent 26%), radial-gradient(circle at 8% 80%, rgba(143, 255, 208, .09), transparent 24%), linear-gradient(145deg, #0b1727, #0d1b2d)
}

.experience {
    background: radial-gradient(circle at 15% 28%, rgba(103, 216, 255, .14), transparent 25%), radial-gradient(circle at 88% 65%, rgba(169, 140, 255, .13), transparent 27%), linear-gradient(145deg, #07101c, #0c1a2b)
}

.work {
    background: radial-gradient(circle at 90% 10%, rgba(169, 140, 255, .17), transparent 24%), radial-gradient(circle at 5% 52%, rgba(103, 216, 255, .12), transparent 22%), radial-gradient(circle at 75% 88%, rgba(143, 255, 208, .08), transparent 20%), linear-gradient(160deg, #0b1727, #091522)
}

.contact {
    background: radial-gradient(circle at 20% 20%, rgba(103, 216, 255, .13), transparent 25%), radial-gradient(circle at 80% 75%, rgba(169, 140, 255, .15), transparent 28%), linear-gradient(145deg, #06101b, #0b192a)
}

.section-floaters span {
    border-color: rgba(103, 216, 255, .2);
    background: linear-gradient(135deg, rgba(255, 255, 255, .06), rgba(103, 216, 255, .02));
    box-shadow: inset 0 1px rgba(255, 255, 255, .12);
    backdrop-filter: blur(8px)
}

.section-floaters.alternate span {
    border-color: rgba(169, 140, 255, .2)
}

.project-gallery {
    align-self: center;
    width: 100%;
    height: clamp(23rem, 34vw, 31rem);
    background: radial-gradient(circle at center, #10243a, #02070c 72%)
}

.carousel-viewport {
    width: 100%;
    height: 100%;
    min-height: 0
}

.carousel-track {
    width: 100%;
    height: 100%
}

.carousel-track figure {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    padding: 1rem
}

.carousel-track img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: contain;
    background: transparent
}

.meter>div>span {
    display: flex;
    align-items: center;
    gap: .55rem
}

.meter>div>span>i,
.skill-cloud .chips span>i {
    color: var(--blue);
    font-size: 1rem
}

.skill-cloud .chips span {
    display: inline-flex;
    align-items: center;
    gap: .48rem
}

@media(max-width:1100px) {
    .project-gallery {
        height: clamp(23rem, 58vw, 34rem)
    }
    .carousel-viewport,
    .carousel-track img {
        min-height: 0
    }
}

@media(max-width:800px) {
    .project-gallery {
        height: clamp(21rem, 68vw, 30rem)
    }
    .carousel-viewport,
    .carousel-track img {
        min-height: 0
    }
    .southern-cross {
        right: -3rem;
        width: 16rem;
        height: 16rem
    }
}

@media(max-width:560px) {
    .project-gallery {
        height: 20rem
    }
    .carousel-viewport,
    .carousel-track img {
        min-height: 0
    }
    .carousel-track figure {
        padding: .55rem
    }
}


/* Full-page visual atmosphere */

.cursor-glow,
.cursor-trail-dot {
    display: none!important
}

body {
    background: #07101c
}

body:before {
    position: fixed;
    z-index: -2;
    inset: -5rem;
    content: "";
    pointer-events: none;
    background: linear-gradient(115deg, transparent 0 46%, rgba(103, 216, 255, .045) 46% 46.35%, transparent 46.35% 100%), linear-gradient(25deg, transparent 0 67%, rgba(169, 140, 255, .04) 67% 67.3%, transparent 67.3% 100%), radial-gradient(circle at 12% 18%, rgba(103, 216, 255, .13), transparent 20%), radial-gradient(circle at 85% 72%, rgba(169, 140, 255, .12), transparent 22%), #07101c;
    background-size: 24rem 24rem, 31rem 31rem, 100% 100%, 100% 100%, 100% 100%;
    transform: translate3d(var(--scene-x, 0), var(--scene-y, 0), 0);
    transition: transform .25s ease-out
}

.section:before,
.contact:before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    pointer-events: none;
    opacity: .58;
    background-image: linear-gradient(rgba(103, 216, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(103, 216, 255, .06) 1px, transparent 1px), repeating-linear-gradient(135deg, transparent 0 5rem, rgba(255, 255, 255, .018) 5rem 5.08rem);
    background-size: 5.5rem 5.5rem, 5.5rem 5.5rem, 18rem 18rem;
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
    transform: translate3d(calc(var(--scene-x, 0) * -.25), calc(var(--scene-y, 0) * -.25), 0);
    transition: transform .4s ease-out
}

.skills:before,
.work:before {
    background-image: linear-gradient(30deg, rgba(169, 140, 255, .07) 12%, transparent 12.5%, transparent 87%, rgba(169, 140, 255, .07) 87.5%), linear-gradient(150deg, rgba(103, 216, 255, .06) 12%, transparent 12.5%, transparent 87%, rgba(103, 216, 255, .06) 87.5%), linear-gradient(30deg, rgba(169, 140, 255, .07) 12%, transparent 12.5%, transparent 87%, rgba(169, 140, 255, .07) 87.5%);
    background-position: 0 0, 0 0, 4rem 7rem;
    background-size: 8rem 14rem
}

.about:after,
.skills:after,
.experience:after,
.work:after {
    position: absolute;
    z-index: 0;
    width: 26rem;
    height: 26rem;
    content: "";
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 38% 62% 58% 42%;
    background: conic-gradient(from 30deg, rgba(103, 216, 255, .07), rgba(169, 140, 255, .07), rgba(143, 255, 208, .04), rgba(103, 216, 255, .07));
    filter: blur(1px);
    animation: morph-drift 17s ease-in-out infinite alternate
}

.about:after {
    top: 20%;
    right: -12rem
}

.skills:after {
    bottom: 5%;
    left: -13rem;
    animation-delay: -4s
}

.experience:after {
    top: 35%;
    right: -14rem;
    animation-delay: -8s
}

.work:after {
    bottom: 12%;
    left: -12rem;
    animation-delay: -12s
}

@keyframes morph-drift {
    0% {
        border-radius: 38% 62% 58% 42%;
        transform: rotate(0) translateY(0)
    }
    50% {
        border-radius: 62% 38% 43% 57%;
        transform: rotate(90deg) translateY(-2rem)
    }
    100% {
        border-radius: 45% 55% 65% 35%;
        transform: rotate(180deg) translateY(2rem)
    }
}

.hero-grid {
    transform: translate3d(calc(var(--scene-x, 0) * -.35), calc(var(--scene-y, 0) * -.35), 0);
    transition: transform .35s ease-out
}

.section-label {
    display: inline-flex;
    padding: .45rem .65rem .45rem .45rem;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1rem;
    background: rgba(8, 20, 34, .38);
    box-shadow: inset 0 1px rgba(255, 255, 255, .1);
    backdrop-filter: blur(16px)
}

.skills-intro>p,
.experience-head>p,
.work-head>p {
    padding: 1.25rem 1.4rem;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 1.25rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .035));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .15), inset 0 1px rgba(255, 255, 255, .12);
    backdrop-filter: blur(22px)
}

.project-copy {
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 1.4rem;
    background: linear-gradient(135deg, rgba(8, 21, 35, .52), rgba(255, 255, 255, .025));
    box-shadow: inset 0 1px rgba(255, 255, 255, .08);
    backdrop-filter: blur(18px)
}


/* Correctly sized technology marks */

.skill-brand-icon,
.meter>div>span>img,
.skill-cloud .chips span>img {
    display: inline-block;
    width: 1.05rem;
    height: 1.05rem;
    flex: 0 0 1.05rem;
    object-fit: contain
}

.meter>div>span>i,
.skill-cloud .chips span>i {
    width: 1.05rem;
    text-align: center
}


/* More expressive progress animation */

.meter>i {
    height: .7rem;
    border: 1px solid rgba(255, 255, 255, .06);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, .25)
}

.meter>i:after {
    overflow: hidden;
    background: linear-gradient(90deg, var(--blue), var(--violet) 48%, var(--mint));
    box-shadow: 0 0 22px rgba(103, 216, 255, .5);
    transition-duration: 1.65s
}

.meter>i:before {
    position: absolute;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: -35%;
    width: 28%;
    content: "";
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .72), transparent);
    transform: skewX(-20deg);
    opacity: 0
}

.skill-panel.visible .meter>i:before {
    animation: meter-shine 2.5s 1.15s ease-in-out infinite
}

.skill-panel.visible .meter>i:after {
    animation: meter-breathe 3.2s 2s ease-in-out infinite alternate
}

@keyframes meter-shine {
    0% {
        left: -35%;
        opacity: 0
    }
    12% {
        opacity: .85
    }
    55%,
    100% {
        left: 115%;
        opacity: 0
    }
}

@keyframes meter-breathe {
    to {
        filter: saturate(1.5) brightness(1.2);
        box-shadow: 0 0 30px rgba(143, 255, 208, .65)
    }
}

@media(max-width:800px) {
    body:before,
    .hero-grid,
    .section:before,
    .contact:before {
        transform: none
    }
    .about:after,
    .skills:after,
    .experience:after,
    .work:after {
        width: 18rem;
        height: 18rem;
        opacity: .7
    }
}


/* Australian identity and topographic visual language */

body:before {
    opacity: .75;
    background-color: #07101c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='520' viewBox='0 0 720 520'%3E%3Cg fill='none' stroke='%2367d8ff' stroke-opacity='.105' stroke-width='1.2'%3E%3Cpath d='M-30 92C83 12 158 176 278 98S474 14 758 91'/%3E%3Cpath d='M-45 126C76 43 163 214 292 131S493 47 770 120'/%3E%3Cpath d='M-39 163C89 82 176 245 309 165S515 81 765 157'/%3E%3Cpath d='M-52 201C71 123 185 277 326 202S536 119 770 195'/%3E%3Cpath d='M-39 244C86 164 204 312 347 238S550 160 772 234'/%3E%3Cpath d='M-48 292C84 211 217 353 365 280S566 206 770 276'/%3E%3Cpath d='M-45 343C97 261 234 397 389 323S586 251 765 318'/%3E%3Cpath d='M-40 395C108 312 254 443 414 369S607 301 766 360'/%3E%3Cpath d='M-30 448C129 362 278 491 442 416S630 352 758 402'/%3E%3C/g%3E%3Cg fill='none' stroke='%23a98cff' stroke-opacity='.075'%3E%3Cellipse cx='130' cy='126' rx='78' ry='48'/%3E%3Cellipse cx='130' cy='126' rx='108' ry='72'/%3E%3Cellipse cx='560' cy='390' rx='92' ry='58'/%3E%3Cellipse cx='560' cy='390' rx='130' ry='88'/%3E%3C/g%3E%3C/svg%3E"), radial-gradient(circle at 12% 18%, rgba(103, 216, 255, .15), transparent 24%), radial-gradient(circle at 85% 72%, rgba(169, 140, 255, .14), transparent 26%), linear-gradient(145deg, #07101c, #0b192a)
}

.section:before,
.contact:before {
    opacity: .68;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='650' height='460' viewBox='0 0 650 460'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.055' stroke-width='1'%3E%3Cpath d='M-20 82C89 4 151 162 263 91S447 14 678 82'/%3E%3Cpath d='M-28 121C82 45 161 198 278 126S464 51 681 117'/%3E%3Cpath d='M-22 163C94 88 174 236 297 165S481 93 680 157'/%3E%3Cpath d='M-31 208C85 136 190 278 319 207S500 137 680 198'/%3E%3Cpath d='M-27 256C97 182 210 322 344 251S522 184 682 240'/%3E%3Cpath d='M-24 308C108 231 232 370 369 298S545 234 680 284'/%3E%3Cpath d='M-15 362C126 282 253 421 396 348S568 290 676 330'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 650px 460px;
    mask-image: linear-gradient(to bottom, transparent, #000 8%, #000 92%, transparent)
}

.skills:before,
.work:before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='650' height='460' viewBox='0 0 650 460'%3E%3Cg fill='none' stroke='%23a98cff' stroke-opacity='.085' stroke-width='1.2'%3E%3Cpath d='M-20 82C89 4 151 162 263 91S447 14 678 82'/%3E%3Cpath d='M-28 121C82 45 161 198 278 126S464 51 681 117'/%3E%3Cpath d='M-22 163C94 88 174 236 297 165S481 93 680 157'/%3E%3Cpath d='M-31 208C85 136 190 278 319 207S500 137 680 198'/%3E%3Cpath d='M-27 256C97 182 210 322 344 251S522 184 682 240'/%3E%3Cpath d='M-24 308C108 231 232 370 369 298S545 234 680 284'/%3E%3Cpath d='M-15 362C126 282 253 421 396 348S568 290 676 330'/%3E%3C/g%3E%3C/svg%3E")
}

.hero-grid {
    opacity: .16;
    background-image: radial-gradient(circle, rgba(143, 255, 208, .58) 1px, transparent 1.5px);
    background-size: 3.5rem 3.5rem;
    mask-image: radial-gradient(circle at 68% 40%, #000, transparent 66%)
}

.australia-backdrop {
    position: absolute;
    z-index: 1;
    right: 2%;
    bottom: 6%;
    width: min(35vw, 32rem);
    opacity: .09;
    pointer-events: none;
    transform: translate3d(calc(var(--scene-x, 0) * -.5), calc(var(--scene-y, 0) * -.5), 0);
    transition: transform .4s ease-out
}

.australia-backdrop svg {
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 0 24px rgba(103, 216, 255, .5))
}

.australia-backdrop path {
    fill: rgba(103, 216, 255, .08);
    stroke: var(--blue);
    stroke-width: 2
}

.australia-backdrop .tasmania {
    fill: rgba(169, 140, 255, .09);
    stroke: var(--violet)
}

.australia-backdrop span {
    display: block;
    margin-top: -1rem;
    color: var(--blue);
    font-family: Outfit;
    font-size: .72rem;
    text-align: center;
    letter-spacing: .14em
}

.australia-signals {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1rem
}

.australia-signals span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .45rem .65rem;
    border-radius: .75rem;
    color: #b8c9d9;
    font-size: .72rem;
    font-weight: 600
}

.australia-signals i {
    color: var(--mint)
}

.code-float {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .7rem .9rem;
    border-radius: .85rem;
    color: #c5d9e9;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: .73rem;
    pointer-events: none;
    animation: code-drift 7s ease-in-out infinite alternate
}

.code-float i {
    color: var(--mint);
    font-size: 1rem
}

.code-float-about {
    top: 17%;
    right: 4%
}

.code-float-skills {
    right: 6%;
    bottom: 8%;
    animation-delay: -2s
}

.code-float-experience {
    top: 24%;
    left: 3%;
    animation-delay: -4s
}

.code-float-work {
    right: 4%;
    bottom: 10%;
    animation-delay: -5s
}

.code-float-contact {
    top: 16%;
    right: 7%;
    animation-delay: -3s
}

@keyframes code-drift {
    to {
        transform: translateY(-14px) translateX(7px)
    }
}

@media(max-width:900px) {
    .australia-backdrop {
        right: -8%;
        bottom: 18%;
        width: 65vw
    }
    .code-float {
        opacity: .55
    }
    .code-float-experience {
        left: auto;
        right: 3%
    }
}

@media(max-width:600px) {
    .australia-backdrop {
        width: 90vw;
        opacity: .06
    }
    .australia-signals {
        display: none
    }
    .code-float {
        display: none
    }
}

/* Keep the Southern Cross explanation inside the viewport */
.constellation-chip.has-tooltip::after {
    right: auto;
    left: 0;
    translate: 0 .35rem;
    text-align: left
}

.constellation-chip.has-tooltip::before {
    right: auto;
    left: 1.5rem
}

.constellation-chip.has-tooltip:hover::after,
.constellation-chip.has-tooltip:focus::after {
    translate: 0 0
}

/* Large portrait greeting */
.portrait-shell.portrait-tooltip {
    cursor: pointer
}

.portrait-shell.portrait-tooltip::before {
    display: none
}

.portrait-shell.portrait-tooltip::after {
    top: 50%;
    bottom: auto;
    width: auto;
    min-width: min(20rem, 82%);
    max-width: calc(100% - 2rem);
    padding: 1.2rem 1.5rem;
    border-radius: 1.25rem;
    color: #fff;
    background: rgba(5, 17, 30, .78);
    box-shadow: 0 20px 55px rgba(0, 0, 0, .42), inset 0 1px rgba(255, 255, 255, .2);
    translate: -50% calc(-50% + .75rem);
    font-family: Outfit, sans-serif;
    font-size: clamp(1.25rem, 2.4vw, 1.8rem);
    font-weight: 800;
    letter-spacing: .01em
}

.portrait-shell.portrait-tooltip:hover::after,
.portrait-shell.portrait-tooltip:focus::after {
    translate: -50% -50%
}

/* Accessible glass tooltips */
.has-tooltip {
    position: relative;
    cursor: help;
    outline: none
}

.has-tooltip::before,
.has-tooltip::after {
    position: absolute;
    z-index: 80;
    left: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity .2s ease, translate .2s ease
}

.has-tooltip::after {
    bottom: calc(100% + .85rem);
    width: max-content;
    max-width: min(19rem, calc(100vw - 2rem));
    padding: .75rem .9rem;
    content: attr(data-tooltip);
    color: #edf8ff;
    border: 1px solid rgba(143, 255, 208, .28);
    border-radius: .85rem;
    background: rgba(6, 18, 31, .9);
    box-shadow: 0 14px 36px rgba(0, 0, 0, .38), inset 0 1px rgba(255, 255, 255, .14);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    translate: -50% .35rem;
    font: 600 .76rem/1.45 Inter, sans-serif;
    text-align: center;
    white-space: normal
}

.has-tooltip::before {
    bottom: calc(100% + .45rem);
    width: .75rem;
    height: .75rem;
    content: "";
    border-right: 1px solid rgba(143, 255, 208, .28);
    border-bottom: 1px solid rgba(143, 255, 208, .28);
    background: rgba(6, 18, 31, .9);
    rotate: 45deg;
    translate: -50% .35rem
}

.has-tooltip:hover::before,
.has-tooltip:hover::after,
.has-tooltip:focus::before,
.has-tooltip:focus::after {
    opacity: 1;
    translate: -50% 0
}

.hero-name.has-tooltip::after {
    max-width: 12rem;
    font-size: .82rem
}

@media(max-width:600px) {
    .constellation-chip.has-tooltip::after {
        left: 0;
        translate: 0 .35rem;
        text-align: left
    }

    .constellation-chip.has-tooltip::before {
        left: 1.5rem
    }

    .constellation-chip.has-tooltip:hover::after,
    .constellation-chip.has-tooltip:focus::after {
        translate: 0 0
    }
}


/* Stable brand rendering and refined hero typography */

html,
body {
    color-scheme: dark;
    forced-color-adjust: none
}

body,
main,
.hero,
.section,
.contact,
.glass,
.button,
input,
button,
a {
    forced-color-adjust: none
}

.hero .hero-title {
    max-width: 15ch;
    font-family: Inter, Arial, sans-serif;
    font-size: clamp(2.85rem, 5.25vw, 5.7rem);
    font-weight: 650;
    line-height: 1.03;
    letter-spacing: -.052em
}

.carousel-viewport {
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-inline: contain;
    cursor: grab;
    -webkit-user-select: none;
    user-select: none
}

.carousel-viewport:active {
    cursor: grabbing
}

.carousel-track img {
    -webkit-user-drag: none;
    user-select: none;
    cursor: zoom-in
}

.carousel-track img:focus-visible {
    outline: 3px solid var(--mint);
    outline-offset: -4px
}

@media(max-width:560px) {
    .hero .hero-title {
        font-size: clamp(2.7rem, 12vw, 4rem);
        line-height: 1.04
    }
}


/* Recurring Southern Cross motif */

.constellation-chip {
    position: relative;
    width: 3.8rem;
    height: 2.35rem;
    padding: 0!important
}

.constellation-chip i,
.section-constellation i {
    position: absolute;
    color: #eafcff;
    font-style: normal;
    line-height: 1;
    text-shadow: 0 0 12px rgba(103, 216, 255, .95);
    animation: star-pulse 2.8s ease-in-out infinite
}

.constellation-chip i:nth-child(1),
.section-constellation i:nth-child(1) {
    top: 8%;
    left: 48%
}

.constellation-chip i:nth-child(2),
.section-constellation i:nth-child(2) {
    top: 40%;
    left: 15%;
    font-size: .68em;
    animation-delay: -.45s
}

.constellation-chip i:nth-child(3),
.section-constellation i:nth-child(3) {
    top: 42%;
    right: 12%;
    font-size: .8em;
    animation-delay: -.9s
}

.constellation-chip i:nth-child(4),
.section-constellation i:nth-child(4) {
    right: 43%;
    bottom: 5%;
    font-size: .9em;
    animation-delay: -1.35s
}

.constellation-chip i:nth-child(5),
.section-constellation i:nth-child(5) {
    top: 47%;
    left: 49%;
    font-size: .48em;
    animation-delay: -1.8s
}

.section-constellation {
    position: absolute;
    z-index: 1;
    width: 10rem;
    height: 10rem;
    pointer-events: none;
    opacity: .2;
    font-size: 1.5rem;
    filter: drop-shadow(0 0 25px rgba(103, 216, 255, .28));
    animation: constellation-drift 10s ease-in-out infinite alternate
}

.constellation-about {
    top: 12%;
    right: 8%
}

.constellation-skills {
    right: 11%;
    bottom: 12%;
    transform: rotate(12deg);
    animation-delay: -2s
}

.constellation-experience {
    top: 34%;
    left: 4%;
    transform: rotate(-9deg);
    animation-delay: -4s
}

.constellation-work {
    right: 4%;
    bottom: 22%;
    transform: rotate(16deg);
    animation-delay: -6s
}

.constellation-contact {
    top: 17%;
    left: 9%;
    transform: rotate(-12deg);
    animation-delay: -8s
}

@keyframes constellation-drift {
    to {
        translate: 1rem -1.5rem;
        opacity: .35
    }
}

@media(max-width:700px) {
    .section-constellation {
        width: 7rem;
        height: 7rem;
        opacity: .14
    }
    .constellation-experience {
        left: auto;
        right: 2%
    }
}

/* Varied blue-teal ambient lights beneath the Projects section */
.work-backdrop-lights {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none
}

.work-backdrop-lights span {
    position: absolute;
    border-radius: 44% 56% 62% 38%;
    filter: blur(34px);
    opacity: .24;
    animation: work-light-drift 15s ease-in-out infinite alternate
}

.work-backdrop-lights span:nth-child(1) {
    top: 3%;
    left: 7%;
    width: 24rem;
    height: 11rem;
    background: #1e627e
}

.work-backdrop-lights span:nth-child(2) {
    top: 14%;
    right: 4%;
    width: 14rem;
    height: 25rem;
    background: #246f8c;
    animation-delay: -3s;
    animation-duration: 18s
}

.work-backdrop-lights span:nth-child(3) {
    top: 29%;
    left: 31%;
    width: 30rem;
    height: 12rem;
    background: #18556e;
    animation-delay: -7s
}

.work-backdrop-lights span:nth-child(4) {
    top: 41%;
    left: 2%;
    width: 12rem;
    height: 20rem;
    background: #297896;
    animation-delay: -10s;
    animation-duration: 19s
}

.work-backdrop-lights span:nth-child(5) {
    top: 48%;
    right: 18%;
    width: 20rem;
    height: 9rem;
    background: #1b5b75;
    animation-delay: -5s
}

.work-backdrop-lights span:nth-child(6) {
    top: 61%;
    right: 1%;
    width: 27rem;
    height: 16rem;
    background: #337f9b;
    animation-delay: -12s;
    animation-duration: 21s
}

.work-backdrop-lights span:nth-child(7) {
    top: 69%;
    left: 17%;
    width: 9rem;
    height: 9rem;
    background: #174b62;
    animation-delay: -8s
}

.work-backdrop-lights span:nth-child(8) {
    top: 78%;
    left: 44%;
    width: 31rem;
    height: 10rem;
    background: #226b87;
    animation-delay: -14s;
    animation-duration: 20s
}

.work-backdrop-lights span:nth-child(9) {
    bottom: 7%;
    right: 8%;
    width: 13rem;
    height: 19rem;
    background: #2d7691;
    animation-delay: -2s;
    animation-duration: 17s
}

.work-backdrop-lights span:nth-child(10) {
    bottom: 1%;
    left: 4%;
    width: 22rem;
    height: 8rem;
    background: #194f68;
    animation-delay: -11s
}

@keyframes work-light-drift {
    0% {
        translate: 0 0;
        rotate: -8deg;
        scale: .96
    }
    55% {
        translate: 2.2rem -1.4rem;
        rotate: 16deg;
        scale: 1.08
    }
    100% {
        translate: -1.2rem 1.8rem;
        rotate: 32deg;
        scale: 1.02
    }
}

@media(max-width:700px) {
    .work-backdrop-lights span {
        filter: blur(28px);
        opacity: .15
    }

    .work-backdrop-lights span:nth-child(n+7) {
        display: none
    }
}

@media(prefers-reduced-motion:reduce) {
    .work-backdrop-lights span {
        animation: none
    }
}

@media(prefers-color-scheme:dark) {
     :root {
        --bg: #07101c;
        --bg2: #0b1727;
        --panel: rgba(255, 255, 255, .075);
        --panel2: rgba(255, 255, 255, .12);
        --line: rgba(255, 255, 255, .14);
        --text: #f7fbff;
        --muted: #a9b7c8;
        --blue: #67d8ff;
        --mint: #8fffd0;
        --violet: #a98cff;
        --dark: #08111d
    }
    body {
        color: #f7fbff!important;
        background: #07101c!important
    }
}


/* Restyled university identity marks */

.university-logo {
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(103, 216, 255, .24);
    background: #071426;
    box-shadow: 0 14px 35px rgba(0, 0, 0, .3), 0 0 24px rgba(103, 216, 255, .08)
}

.university-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease
}

.education-card:hover .university-logo img {
    transform: scale(1.055);
    filter: saturate(1.18) brightness(1.08)
}


/* Distributed background composition and transparent experience glass */

.constellation-about {
    top: 10%;
    left: 8%;
    right: auto
}

.constellation-about-secondary {
    top: 56%;
    left: 52%;
    width: 7rem;
    height: 7rem;
    opacity: .13;
    transform: rotate(18deg);
    animation-delay: -3s
}

.constellation-skills {
    top: 18%;
    right: 7%;
    bottom: auto
}

.constellation-skills-secondary {
    right: auto;
    bottom: 9%;
    left: 38%;
    width: 8rem;
    height: 8rem;
    opacity: .16;
    transform: rotate(-15deg);
    animation-delay: -6s
}

.constellation-experience {
    top: 23%;
    right: 5%;
    left: auto
}

.constellation-experience-secondary {
    top: 62%;
    left: 46%;
    width: 7rem;
    height: 7rem;
    opacity: .14;
    transform: rotate(11deg);
    animation-delay: -8s
}

.constellation-work {
    top: 13%;
    left: 7%;
    right: auto;
    bottom: auto
}

.constellation-work-secondary {
    right: 29%;
    bottom: 7%;
    width: 9rem;
    height: 9rem;
    opacity: .14;
    transform: rotate(-18deg);
    animation-delay: -4s
}

.constellation-contact {
    top: 20%;
    right: 8%;
    left: auto
}

.constellation-contact-secondary {
    right: auto;
    bottom: 14%;
    left: 42%;
    width: 7rem;
    height: 7rem;
    opacity: .16;
    transform: rotate(22deg);
    animation-delay: -7s
}

.section-floaters span:nth-child(1) {
    top: 15%;
    right: auto;
    left: 15%
}

.section-floaters span:nth-child(2) {
    top: 52%;
    right: 7%;
    left: auto
}

.section-floaters span:nth-child(3) {
    right: auto;
    bottom: 9%;
    left: 57%
}

.skills .section-floaters span:nth-child(1),
.work .section-floaters span:nth-child(1) {
    right: 12%;
    left: auto
}

.skills .section-floaters span:nth-child(2),
.work .section-floaters span:nth-child(2) {
    right: auto;
    left: 4%
}

.skills .section-floaters span:nth-child(3),
.work .section-floaters span:nth-child(3) {
    right: 42%;
    left: auto
}

.role.glass {
    border-color: rgba(255, 255, 255, .16);
    background: linear-gradient(125deg, rgba(255, 255, 255, .072), rgba(103, 216, 255, .025));
    box-shadow: 0 22px 55px rgba(0, 0, 0, .16), inset 0 1px rgba(255, 255, 255, .13);
    backdrop-filter: blur(20px) saturate(135%);
    -webkit-backdrop-filter: blur(20px) saturate(135%)
}

.role.glass:hover {
    border-color: rgba(103, 216, 255, .34);
    background: linear-gradient(125deg, rgba(103, 216, 255, .105), rgba(169, 140, 255, .035));
    box-shadow: 0 26px 65px rgba(0, 0, 0, .2), inset 0 1px rgba(255, 255, 255, .17)
}

.company-logo.topcon-brand {
    padding: 0;
    border-color: rgba(103, 216, 255, .3);
    background: #071426;
    box-shadow: 0 12px 35px rgba(0, 0, 0, .28), 0 0 22px rgba(103, 216, 255, .09)
}

.company-logo.topcon-brand img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

@media(max-width:700px) {
    .constellation-about-secondary,
    .constellation-skills-secondary,
    .constellation-experience-secondary,
    .constellation-work-secondary,
    .constellation-contact-secondary {
        opacity: .09
    }
    .section-floaters span:nth-child(3) {
        left: 45%
    }
}


/* Organization tiles with integrated captions */

.company-logo.branded-tile,
.university-logo.branded-tile {
    overflow: hidden;
    padding: 0;
    border-color: rgba(103, 216, 255, .28);
    background: #071426;
    box-shadow: 0 13px 36px rgba(0, 0, 0, .3), 0 0 24px rgba(103, 216, 255, .08)
}

.company-logo.branded-tile img,
.university-logo.branded-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease, filter .4s ease
}

.role:hover .company-logo.branded-tile img,
.education-card:hover .university-logo.branded-tile img {
    transform: scale(1.045);
    filter: saturate(1.14) brightness(1.06)
}


/* Accurate scattered Australia maps, constellations, and luminous glass experience */

.about:before,
.experience:before,
.contact:after {
    background-image: none
}

.map-motif {
    position: absolute;
    z-index: 0;
    width: clamp(5rem, 9vw, 8.5rem);
    pointer-events: none;
    opacity: .1;
    filter: blur(.7px) drop-shadow(0 0 14px rgba(103, 216, 255, .28));
    animation: map-drift 13s ease-in-out infinite alternate
}

.map-motif img {
    width: 100%;
    height: auto
}

.map-about-a {
    top: 18%;
    left: 5%;
    transform: rotate(-9deg)
}

.map-about-b {
    right: 13%;
    bottom: 12%;
    width: 5.5rem;
    transform: rotate(7deg);
    animation-delay: -5s
}

.map-skills-a {
    top: 9%;
    right: 6%;
    width: 7rem;
    transform: rotate(12deg);
    animation-delay: -2s
}

.map-skills-b {
    bottom: 18%;
    left: 42%;
    width: 5rem;
    transform: rotate(-5deg);
    animation-delay: -8s
}

.map-experience-a {
    top: 16%;
    left: 28%;
    width: 6rem;
    transform: rotate(6deg);
    animation-delay: -4s
}

.map-experience-b {
    right: 4%;
    bottom: 9%;
    width: 8rem;
    transform: rotate(-11deg);
    animation-delay: -9s
}

.map-work-a {
    top: 24%;
    right: 18%;
    width: 5.5rem;
    transform: rotate(-7deg);
    animation-delay: -3s
}

.map-work-b {
    bottom: 13%;
    left: 8%;
    width: 7.5rem;
    transform: rotate(10deg);
    animation-delay: -7s
}

.map-contact-a {
    top: 19%;
    left: 27%;
    width: 6.5rem;
    transform: rotate(-4deg);
    animation-delay: -6s
}

@keyframes map-drift {
    to {
        translate: 1.2rem -1rem;
        opacity: .18;
        filter: blur(.25px) drop-shadow(0 0 20px rgba(103, 216, 255, .38))
    }
}

.constellation-about-tertiary {
    top: 39%;
    right: 32%;
    width: 6rem;
    height: 6rem;
    opacity: .12;
    transform: rotate(-12deg);
    animation-delay: -5s
}

.constellation-skills-tertiary {
    top: 48%;
    left: 13%;
    width: 6.5rem;
    height: 6.5rem;
    opacity: .13;
    transform: rotate(17deg);
    animation-delay: -7s
}

.constellation-experience-tertiary {
    top: 45%;
    right: 28%;
    width: 6rem;
    height: 6rem;
    opacity: .15;
    transform: rotate(-20deg);
    animation-delay: -2s
}

.constellation-work-tertiary {
    top: 53%;
    left: 48%;
    width: 7rem;
    height: 7rem;
    opacity: .12;
    transform: rotate(9deg);
    animation-delay: -9s
}

.constellation-contact-tertiary {
    top: 46%;
    right: 33%;
    width: 6rem;
    height: 6rem;
    opacity: .14;
    transform: rotate(-8deg);
    animation-delay: -4s
}

.experience {
    background: radial-gradient(circle at 18% 18%, rgba(103, 216, 255, .19), transparent 29%), radial-gradient(circle at 82% 38%, rgba(169, 140, 255, .18), transparent 31%), radial-gradient(circle at 42% 78%, rgba(143, 255, 208, .12), transparent 28%), linear-gradient(145deg, #0a1929, #0c2033 52%, #091725)
}

.experience-backdrop-lights {
    position: absolute;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none
}

.experience-backdrop-lights span {
    position: absolute;
    border-radius: 42% 58% 61% 39%;
    filter: blur(28px);
    opacity: .34;
    animation: experience-light 12s ease-in-out infinite alternate
}

.experience-backdrop-lights span:nth-child(1) {
    top: 20%;
    left: 6%;
    width: 18rem;
    height: 12rem;
    background: #28bde8
}

.experience-backdrop-lights span:nth-child(2) {
    top: 39%;
    right: 4%;
    width: 16rem;
    height: 19rem;
    background: #715be8;
    animation-delay: -3s
}

.experience-backdrop-lights span:nth-child(3) {
    bottom: 16%;
    left: 32%;
    width: 22rem;
    height: 11rem;
    background: #27c98d;
    animation-delay: -7s
}

.experience-backdrop-lights span:nth-child(4) {
    top: 62%;
    right: 34%;
    width: 11rem;
    height: 14rem;
    background: #3e8ee8;
    animation-delay: -9s
}

@keyframes experience-light {
    to {
        transform: translate(3rem, -2rem) rotate(35deg) scale(1.12);
        border-radius: 61% 39% 43% 57%
    }
}

.experience .role.glass {
    border: 1px solid rgba(255, 255, 255, .2);
    background: linear-gradient(125deg, rgba(255, 255, 255, .09), rgba(255, 255, 255, .025));
    box-shadow: 0 22px 60px rgba(0, 0, 0, .14), inset 0 1px rgba(255, 255, 255, .17);
    backdrop-filter: blur(28px) saturate(160%);
    -webkit-backdrop-filter: blur(28px) saturate(160%)
}

.experience .role.glass:hover {
    background: linear-gradient(125deg, rgba(255, 255, 255, .13), rgba(103, 216, 255, .04));
    border-color: rgba(143, 255, 208, .36)
}

@media(max-width:700px) {
    .map-motif {
        width: 5rem;
        opacity: .08
    }
    .constellation-about-tertiary,
    .constellation-skills-tertiary,
    .constellation-experience-tertiary,
    .constellation-work-tertiary,
    .constellation-contact-tertiary {
        opacity: .08
    }
    .experience-backdrop-lights span {
        opacity: .22
    }
}


/* Compact section rhythm around floating code notes */

.section {
    padding-top: clamp(4.8rem, 7vw, 7.2rem);
    padding-bottom: clamp(4.8rem, 7vw, 7.2rem)
}

.about {
    padding-top: .10rem;
    padding-bottom: 0
}

.skills {
    padding-top: .10rem;
    padding-bottom: 0
}

.experience {
    padding-top: .75rem;
    padding-bottom: 0
}

.work {
    padding-top: .10rem
}

.section-label {
    margin-bottom: clamp(2.2rem, 4vw, 3.8rem)
}

.code-float-about,
.code-float-skills,
.code-float-experience,
.code-float-work {
    top: 2.25rem;
    bottom: auto
}

.code-float-about {
    right: 5%
}

.code-float-skills {
    right: 12%
}

.code-float-experience {
    right: 5%;
    left: auto
}

.code-float-work {
    right: 18%
}

.code-float-contact {
    top: 3rem;
    right: 8%
}

.timeline,
.skill-columns,
.projects {
    margin-top: clamp(2.8rem, 5vw, 4.5rem)
}


/* Accurate map instances only */

.map-hero-a {
    top: 17%;
    left: 48%;
    width: 5.2rem;
    transform: rotate(-8deg);
    animation-delay: -2s
}

.map-hero-b {
    right: 3%;
    bottom: 14%;
    width: 7.4rem;
    transform: rotate(11deg);
    animation-delay: -7s
}

.map-hero-c {
    bottom: 6%;
    left: 26%;
    width: 4.2rem;
    transform: rotate(-3deg);
    animation-delay: -10s
}

.map-contact-b {
    top: 52%;
    right: 12%;
    width: 4.8rem;
    transform: rotate(9deg);
    animation-delay: -3s
}

.map-contact-c {
    right: 46%;
    bottom: 5%;
    width: 7.2rem;
    transform: rotate(-12deg);
    animation-delay: -9s
}


/* Slow water-like buoyancy for identity marks */

.brand-mark,
.company-logo,
.university-logo {
    transform-origin: 50% 60%;
    animation: logo-buoyancy 5.8s ease-in-out infinite
}

.role:nth-child(2) .company-logo {
    animation-delay: -1.2s;
    animation-duration: 6.4s
}

.role:nth-child(3) .company-logo {
    animation-delay: -2.7s;
    animation-duration: 5.3s
}

.role:nth-child(4) .company-logo {
    animation-delay: -3.8s;
    animation-duration: 6.8s
}

.role:nth-child(5) .company-logo {
    animation-delay: -4.6s;
    animation-duration: 5.9s
}

.education-card:nth-child(1) .university-logo {
    animation-delay: -1.8s;
    animation-duration: 6.6s
}

.education-card:nth-child(2) .university-logo {
    animation-delay: -4.1s;
    animation-duration: 5.6s
}

@keyframes logo-buoyancy {
    0%,
    100% {
        transform: translateY(0) rotate(-1deg)
    }
    35% {
        transform: translateY(-7px) rotate(1.2deg)
    }
    65% {
        transform: translateY(3px) rotate(-.4deg)
    }
}


/* Animated rays of light across the full page */

.light-rays {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: .5
}

.light-rays i {
    position: absolute;
    top: -30vh;
    width: 16vw;
    min-width: 8rem;
    height: 170vh;
    transform-origin: top center;
    filter: blur(18px);
    background: linear-gradient(to bottom, rgba(103, 216, 255, .18), rgba(103, 216, 255, .035) 42%, transparent 82%);
    clip-path: polygon(42% 0, 58% 0, 100% 100%, 0 100%);
    animation: ray-sway 15s ease-in-out infinite alternate
}

.light-rays i:nth-child(1) {
    left: 4%;
    transform: rotate(-16deg)
}

.light-rays i:nth-child(2) {
    left: 34%;
    width: 12vw;
    transform: rotate(7deg);
    background: linear-gradient(to bottom, rgba(169, 140, 255, .17), rgba(169, 140, 255, .025) 44%, transparent 84%);
    animation-delay: -5s;
    animation-duration: 19s
}

.light-rays i:nth-child(3) {
    right: 24%;
    width: 18vw;
    transform: rotate(-7deg);
    background: linear-gradient(to bottom, rgba(143, 255, 208, .13), rgba(143, 255, 208, .02) 48%, transparent 86%);
    animation-delay: -9s;
    animation-duration: 17s
}

.light-rays i:nth-child(4) {
    right: -2%;
    width: 14vw;
    transform: rotate(14deg);
    animation-delay: -12s;
    animation-duration: 21s
}

@keyframes ray-sway {
    to {
        translate: 4vw 2vh;
        rotate: 8deg;
        opacity: .55
    }
}

main {
    position: relative;
    z-index: 1
}

@media(max-width:800px) {
    .code-float-about,
    .code-float-skills,
    .code-float-experience,
    .code-float-work {
        top: 1.2rem;
        right: 1.2rem
    }
    .light-rays {
        opacity: .32
    }
    .brand-mark,
    .company-logo,
    .university-logo {
        animation-duration: 6.5s
    }
}

@media(max-width:800px) {
    .about,
    .skills,
    .experience {
        padding-top: .5rem;
        padding-bottom: 0
    }
    .work {
        padding-top: .5rem
    }
}


/* Flowing section headers: code notes no longer overlap or create empty scroll zones */

.section-topline {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: clamp(2.2rem, 4vw, 3.8rem)
}

.section-topline .section-label {
    flex: 0 0 auto;
    margin: 0
}

.section-topline .code-float {
    position: relative;
    inset: auto;
    flex: 0 1 auto;
    margin: 0;
    animation: code-drift-inline 7s ease-in-out infinite alternate
}

@keyframes code-drift-inline {
    to {
        transform: translateY(-5px)
    }
}


/* Luminous edges for every glass surface */

.glass {
    border-color: rgba(143, 255, 208, .2);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .22), 0 0 18px rgba(103, 216, 255, .055), inset 0 1px 0 rgba(255, 255, 255, .18), inset 1px 0 rgba(103, 216, 255, .1), inset -1px 0 rgba(169, 140, 255, .09), inset 0 -1px rgba(143, 255, 208, .06)
}

.glass:hover {
    border-color: rgba(143, 255, 208, .36);
    box-shadow: 0 28px 75px rgba(0, 0, 0, .25), 0 0 24px rgba(103, 216, 255, .12), inset 0 1px rgba(255, 255, 255, .24), inset 1px 0 rgba(103, 216, 255, .18), inset -1px 0 rgba(169, 140, 255, .16), inset 0 -1px rgba(143, 255, 208, .1)
}

.experience .role.glass {
    box-shadow: 0 22px 60px rgba(0, 0, 0, .14), 0 0 20px rgba(103, 216, 255, .08), inset 0 1px rgba(255, 255, 255, .2), inset 1px 0 rgba(103, 216, 255, .14), inset -1px 0 rgba(169, 140, 255, .12), inset 0 -1px rgba(143, 255, 208, .08)
}

.experience .role.glass:hover {
    box-shadow: 0 28px 70px rgba(0, 0, 0, .2), 0 0 30px rgba(103, 216, 255, .16), inset 0 1px rgba(255, 255, 255, .26), inset 1px 0 rgba(103, 216, 255, .22), inset -1px 0 rgba(169, 140, 255, .2), inset 0 -1px rgba(143, 255, 208, .12)
}

.project-copy,
.experience-head>p,
.work-head>p {
    box-shadow: 0 18px 50px rgba(0, 0, 0, .16), 0 0 18px rgba(103, 216, 255, .06), inset 0 1px rgba(255, 255, 255, .16), inset 1px 0 rgba(103, 216, 255, .1), inset -1px 0 rgba(169, 140, 255, .09)
}


/* Independent status-card buoyancy */

.portrait-card {
    animation: status-card-float 5.2s ease-in-out infinite alternate;
    will-change: transform
}

@keyframes status-card-float {
    0% {
        transform: translate3d(0, 0, 0) rotate(-.4deg)
    }
    50% {
        transform: translate3d(7px, -10px, 0) rotate(.7deg)
    }
    100% {
        transform: translate3d(-3px, -4px, 0) rotate(-.2deg)
    }
}


/* Compact Southern Cross before Brisbane */

.mini-cross {
    position: relative;
    display: inline-block;
    width: 1.9rem;
    height: 1.45rem;
    flex: 0 0 1.9rem
}

.mini-cross i {
    position: absolute;
    color: #f3fdff;
    font-style: normal;
    font-size: .48rem;
    line-height: 1;
    text-shadow: 0 0 8px var(--blue)
}

.mini-cross i:nth-child(1) {
    top: 0;
    left: 48%
}

.mini-cross i:nth-child(2) {
    top: 38%;
    left: 8%;
    font-size: .35rem
}

.mini-cross i:nth-child(3) {
    top: 40%;
    right: 6%;
    font-size: .4rem
}

.mini-cross i:nth-child(4) {
    right: 43%;
    bottom: 0;
    font-size: .42rem
}

.mini-cross i:nth-child(5) {
    top: 46%;
    left: 49%;
    font-size: .25rem
}

@media(max-width:760px) {
    .section-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: .75rem
    }
    .section-topline .code-float {
        max-width: 100%;
        font-size: .68rem
    }
    .section-topline code {
        overflow-wrap: anywhere
    }
}


/* Prominent Australia identity feature */

.australia-feature {
    position: relative;
    overflow: hidden;
    padding: clamp(2rem, 5vw, 4.5rem) var(--pad);
    background: radial-gradient(circle at 18% 50%, rgba(103, 216, 255, .13), transparent 30%), radial-gradient(circle at 86% 40%, rgba(169, 140, 255, .12), transparent 28%), #081523
}

.australia-feature:before {
    position: absolute;
    inset: 0;
    content: "";
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='650' height='320' viewBox='0 0 650 320'%3E%3Cg fill='none' stroke='%2367d8ff' stroke-opacity='.07'%3E%3Cpath d='M-20 72C92 5 170 143 286 78S486 14 678 76'/%3E%3Cpath d='M-20 112C93 47 180 181 300 117S501 53 680 110'/%3E%3Cpath d='M-20 156C101 91 195 222 320 158S520 98 680 150'/%3E%3Cpath d='M-20 204C110 138 213 268 343 201S540 145 680 191'/%3E%3Cpath d='M-20 255C120 185 235 317 368 249S560 195 680 233'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 650px 320px;
    animation: au-contours 18s linear infinite alternate
}

@keyframes au-contours {
    to {
        transform: translateX(-3rem) translateY(1.5rem)
    }
}

.au-feature-card {
    position: relative;
    display: grid;
    max-width: 92rem;
    grid-template-columns: minmax(20rem, .72fr) minmax(0, 1.28fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
    margin: auto;
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border-color: rgba(103, 216, 255, .24);
    border-radius: 2.4rem;
    background: linear-gradient(125deg, rgba(14, 38, 61, .72), rgba(9, 22, 38, .58));
    box-shadow: 0 32px 90px rgba(0, 0, 0, .3), inset 0 1px rgba(255, 255, 255, .16)
}

.au-map-panel {
    position: relative;
    display: grid;
    min-height: 25rem;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 1.8rem;
    background: radial-gradient(circle at 60% 42%, rgba(103, 216, 255, .17), transparent 42%), linear-gradient(145deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .02))
}

.au-map-panel:after {
    position: absolute;
    inset: 1rem;
    content: "";
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: 1.25rem;
    pointer-events: none
}

.au-map-large {
    width: min(88%, 28rem);
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 0 28px rgba(103, 216, 255, .25));
    animation: au-map-float 7s ease-in-out infinite
}

.au-map-large path {
    fill: url(#au-fill);
    stroke: #67d8ff;
    stroke-width: 2.2;
    stroke-linejoin: round
}

.au-map-large .au-tasmania {
    stroke: #a98cff
}

@keyframes au-map-float {
    50% {
        transform: translateY(-8px) scale(1.015);
        filter: drop-shadow(0 0 38px rgba(103, 216, 255, .38))
    }
}

.brisbane-pin {
    position: absolute;
    z-index: 3;
    top: 36%;
    right: 18%;
    display: flex;
    align-items: center;
    gap: .35rem;
    color: white
}

.brisbane-pin>span {
    position: absolute;
    top: 50%;
    left: .55rem;
    width: 1rem;
    height: 1rem;
    border: 1px solid var(--mint);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: brisbane-pulse 2s ease-out infinite
}

.brisbane-pin i {
    position: relative;
    color: var(--mint);
    font-size: 1.25rem;
    filter: drop-shadow(0 0 12px var(--mint))
}

.brisbane-pin small {
    padding: .3rem .5rem;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: .5rem;
    background: rgba(5, 15, 27, .66);
    backdrop-filter: blur(10px);
    font-weight: 700
}

@keyframes brisbane-pulse {
    to {
        width: 4rem;
        height: 4rem;
        opacity: 0
    }
}

.au-stars {
    position: absolute;
    top: 1.8rem;
    left: 2rem;
    width: 6rem;
    height: 6rem
}

.au-stars i {
    position: absolute;
    color: white;
    font-style: normal;
    text-shadow: 0 0 12px var(--blue);
    animation: star-pulse 2.8s infinite
}

.au-stars i:nth-child(1) {
    top: 0;
    left: 45%
}

.au-stars i:nth-child(2) {
    top: 38%;
    left: 8%;
    font-size: .7rem
}

.au-stars i:nth-child(3) {
    top: 40%;
    right: 5%;
    font-size: .8rem
}

.au-stars i:nth-child(4) {
    bottom: 2%;
    left: 45%;
    font-size: .9rem
}

.au-stars i:nth-child(5) {
    top: 46%;
    left: 48%;
    font-size: .5rem
}

.au-feature-copy {
    padding-right: clamp(.25rem, 2vw, 2rem)
}

.au-feature-label {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.3rem;
    padding: .55rem .8rem;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: .85rem;
    background: rgba(255, 255, 255, .065);
    font-size: .82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em
}

.au-feature-label img {
    width: 2rem;
    border-radius: .22rem;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .28)
}

.au-feature-copy h2 {
    margin: 0;
    font-family: Outfit, sans-serif;
    font-size: clamp(2.6rem, 5vw, 5.2rem);
    font-weight: 650;
    line-height: .98;
    letter-spacing: -.045em
}

.au-feature-copy h2 span {
    color: var(--blue)
}

.au-feature-copy>p {
    max-width: 47rem;
    margin: 1.5rem 0 2rem;
    color: #b7c7d7;
    font-size: 1.05rem
}

.au-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .75rem
}

.au-details>span {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: .1rem .65rem;
    padding: .85rem;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 1rem;
    background: rgba(255, 255, 255, .05);
    font-size: .78rem;
    font-weight: 700;
    backdrop-filter: blur(16px)
}

.au-details i {
    grid-row: 1/3;
    color: var(--mint);
    font-size: 1.15rem
}

.au-details small {
    display: block;
    color: #8397aa;
    font-size: .65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .07em
}

@media(max-width:950px) {
    .au-feature-card {
        grid-template-columns: 1fr
    }
    .au-map-panel {
        min-height: 21rem
    }
    .au-details {
        grid-template-columns: 1fr 1fr 1fr
    }
}

@media(max-width:600px) {
    .australia-feature {
        padding-right: 1rem;
        padding-left: 1rem
    }
    .au-feature-card {
        padding: .8rem;
        border-radius: 1.6rem
    }
    .au-map-panel {
        min-height: 17rem;
        border-radius: 1.2rem
    }
    .au-feature-copy {
        padding: 1rem .4rem
    }
    .au-feature-copy h2 {
        font-size: 2.7rem
    }
    .au-details {
        grid-template-columns: 1fr
    }
    .brisbane-pin {
        right: 12%
    }
}


/* Australia as a subtle background motif */

.about:before,
.experience:before,
.contact:after {
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 360'%3E%3Cpath d='M65 94 94 65l47-10 25-23 48 13 34-8 30 22 37 13 10 31 27 22-10 37 19 25-9 43-35 18-18 36-40 8-31 33-45-5-31 15-35-28-39-9-12-35-30-24 8-42-20-28 20-31-7-37 30-20 2-35Z' fill='%2367d8ff' fill-opacity='.07' stroke='%2367d8ff' stroke-opacity='.18' stroke-width='2'/%3E%3Cpath d='m292 317 18 8 9 20-14 12-21-12Z' fill='%23a98cff' fill-opacity='.08' stroke='%23a98cff' stroke-opacity='.18' stroke-width='2'/%3E%3C/svg%3E");
    background-size: min(48vw, 38rem) auto
}

.about:before {
    background-position: 105% 58%;
    filter: blur(1.5px);
    opacity: .72
}

.experience:before {
    background-position: -8% 72%;
    filter: blur(2px);
    opacity: .58;
    transform: rotate(-7deg)
}

.contact:after {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    pointer-events: none;
    background-position: 88% 45%;
    filter: blur(3px);
    opacity: .5
}

@media(max-width:750px) {
    .about:before,
    .experience:before,
    .contact:after {
        background-size: 90vw auto;
        opacity: .35
    }
}

/* Stronger hero location badge */
.hero .eyebrow {
    padding: .72rem 1rem;
    margin-bottom: 1.7rem;
    font-size: clamp(.95rem, 1.2vw, 1.12rem);
    letter-spacing: .025em;
    text-transform: none
}

.hero .australia-flag {
    width: 2.45rem;
    border-radius: .28rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .35)
}

.hero .status-dot {
    width: .7rem;
    height: .7rem
}

/* Lightweight C++ notes scattered without affecting document flow */
.cpp-whisper {
    position: absolute;
    z-index: 2;
    padding: .48rem .68rem;
    border-color: rgba(103, 216, 255, .13);
    border-radius: .7rem;
    color: rgba(202, 224, 241, .48);
    background: rgba(7, 21, 36, .22);
    box-shadow: inset 0 1px rgba(255, 255, 255, .07), 0 0 14px rgba(103, 216, 255, .035);
    font: 500 clamp(.58rem, .72vw, .7rem)/1.2 ui-monospace, SFMono-Regular, Consolas, monospace;
    pointer-events: none;
    animation: cpp-whisper-drift 9s ease-in-out infinite alternate
}

.cpp-about-a { top: 34%; left: 3%; transform: rotate(-5deg) }
.cpp-about-b { right: 5%; bottom: 23%; transform: rotate(4deg); animation-delay: -4s }
.cpp-skills-a { top: 29%; right: 3%; transform: rotate(3deg); animation-delay: -2s }
.cpp-skills-b { bottom: 10%; left: 8%; transform: rotate(-4deg); animation-delay: -7s }
.cpp-experience-a { top: 31%; left: 1.5%; transform: rotate(-5deg); animation-delay: -3s }
.cpp-experience-b { right: 4%; bottom: 29%; transform: rotate(5deg); animation-delay: -6s }
.cpp-work-a { top: 22%; right: 3%; transform: rotate(4deg); animation-delay: -1s }
.cpp-work-b { bottom: 18%; left: 2%; transform: rotate(-6deg); animation-delay: -5s }
.cpp-contact-a { right: 7%; bottom: 18%; transform: rotate(3deg); animation-delay: -8s }

@keyframes cpp-whisper-drift {
    to { translate: 9px -12px; opacity: .78 }
}

@media(max-width:800px) {
    .hero .eyebrow { font-size: .9rem }
    .hero .australia-flag { width: 2rem }
    .cpp-whisper { opacity: .45 }
    .cpp-about-a, .cpp-experience-a, .cpp-work-b { left: .5rem }
    .cpp-about-b, .cpp-skills-a, .cpp-experience-b, .cpp-work-a, .cpp-contact-a { right: .5rem }
}

@media(max-width:560px) {
    .cpp-whisper { display: none }
}

/* Additional C++ notes presented as aligned content cards */
.cpp-whisper { display: none !important }
.inline-code-row {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end;
    margin-top: 1.25rem
}
.inline-code-row .code-float {
    position: relative;
    inset: auto;
    margin: 0;
    animation: code-drift-inline 7s ease-in-out infinite alternate
}
.inline-code-row .code-float:nth-child(2) {
    animation-delay: -3.5s
}
@media(max-width:700px) {
    .inline-code-row {
        justify-content: flex-start
    }
}


/* Balanced section spacing after removing the former oversized gaps */

.section.about,
.section.skills,
.section.education-section,
.section.experience,
.section.work {
    padding-top: clamp(2.25rem, 3.5vw, 3.5rem);
    padding-bottom: clamp(2.25rem, 3.5vw, 3.5rem);
    scroll-margin-top: 6.5rem
}

.education-section {
    overflow: hidden;
    background:
        radial-gradient(circle at 14% 24%, rgba(143, 255, 208, .09), transparent 24%),
        radial-gradient(circle at 84% 70%, rgba(169, 140, 255, .11), transparent 28%),
        linear-gradient(155deg, #091522, #0b1828 52%, #08131f)
}

.education-head {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(20rem, .85fr);
    gap: 6vw;
    margin-bottom: clamp(2.2rem, 4vw, 3.5rem)
}

.education-head > p {
    align-self: end;
    margin: 0;
    padding: 1.25rem 1.4rem;
    border-radius: 1.25rem;
    color: var(--muted);
    font-size: 1.1rem
}

.map-education-a {
    top: 22%;
    right: 5%;
    width: 7rem;
    transform: rotate(8deg);
    animation-delay: -4s
}

.constellation-education {
    right: auto;
    bottom: 8%;
    left: 44%;
    opacity: .14;
    transform: rotate(-12deg);
    animation-delay: -5s
}


/* Gentle water-like motion for glass text holders */

.water-float {
    animation: water-holder-float var(--water-duration, 6.4s) ease-in-out var(--water-delay, 0s) infinite;
    will-change: translate
}

@keyframes water-holder-float {
    0%,
    100% {
        translate: 0 0
    }
    34% {
        translate: 0 -4px
    }
    68% {
        translate: 0 2px
    }
}


/* Static star field kept behind all page content */

.dot-wave-field {
    position: fixed;
    z-index: 0;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(194, 225, 238, .44) 0 1px, transparent 1.35px);
    background-position: 0 0;
    background-size: 58px 58px;
    opacity: .5
}

@media(max-width:800px) {
    .section.about,
    .section.skills,
    .section.education-section,
    .section.experience,
    .section.work {
        padding-top: 1.75rem;
        padding-bottom: 1.75rem
    }

    .education-head {
        grid-template-columns: 1fr;
        gap: 1.25rem
    }

    .dot-wave-field {
        opacity: .38
    }
}

@media(prefers-reduced-motion:reduce) {
    .water-float {
        animation: none
    }
}


main {
    position: relative;
    z-index: 1;
    max-width: 100%;
    overflow-x: hidden
}

@supports (overflow: clip) {
    main {
        overflow-x: clip
    }
}

@media(max-width:800px) {
    .site-header {
        width: auto;
        max-width: calc(100vw - 2rem)
    }
}

/* Independent hero-note motion, detached from the portrait transform */
.portrait-badge {
    animation: portrait-note-drift 5.4s ease-in-out infinite alternate;
    will-change: translate
}

.floating-code {
    animation: future-note-drift 6.8s ease-in-out -2.1s infinite alternate;
    will-change: translate
}

@keyframes portrait-note-drift {
    0% { translate: 0 0 }
    45% { translate: 8px -9px }
    100% { translate: -4px 4px }
}

@keyframes future-note-drift {
    0% { translate: 0 0 }
    50% { translate: -10px -6px }
    100% { translate: 7px 5px }
}

@media(prefers-reduced-motion:reduce) {
    .portrait-badge,
    .floating-code {
        animation: none
    }
}
/* Dedicated Australian flag badge */
.australia-signals .australia-flag-badge {
    display: grid;
    min-width: 3.6rem;
    padding: .55rem .7rem;
    place-items: center
}

.australia-flag-badge img {
    width: 2.2rem;
    border-radius: .24rem;
    box-shadow: 0 5px 14px rgba(0, 0, 0, .3)
}
/* Prominent identity and larger Australian location badges */
.hero-intro .hero-name {
    color: #fff;
    font-family: Outfit, sans-serif;
    font-size: 1.08em;
    font-weight: 800;
    text-shadow: 0 0 18px rgba(103, 216, 255, .2)
}

.australia-signals {
    gap: .75rem;
    margin-top: 1.35rem
}

.australia-signals > span {
    height: 3rem;
    min-height: 2.75rem;
    gap: .6rem;
    padding: .65rem .9rem;
    border-radius: .95rem;
    font-size: .86rem
}

.australia-signals > span:not(.constellation-chip) > i {
    font-size: 1rem
}

.australia-signals .constellation-chip {
    width: 4.4rem;
    height: 3rem
}

/* Unified #1E627E ambient lighting */
.aurora-one,
.aurora-two {
    background: #1e627e
}

.contact-aurora {
    background: radial-gradient(circle, rgba(30, 98, 126, .34), rgba(30, 98, 126, .12) 46%, transparent 72%)
}

.light-rays i,
.light-rays i:nth-child(2),
.light-rays i:nth-child(3),
.light-rays i:nth-child(4) {
    background: linear-gradient(to bottom, rgba(30, 98, 126, .28), rgba(30, 98, 126, .055) 44%, transparent 84%)
}

.hero {
    background:
        radial-gradient(ellipse 34rem 26rem at 78% 18%, rgba(30, 98, 126, .30), transparent 70%),
        radial-gradient(ellipse 17rem 24rem at 12% 72%, rgba(30, 98, 126, .15), transparent 72%),
        linear-gradient(145deg, #07101c, #091829 65%, #07101c)
}

.about {
    background:
        radial-gradient(ellipse 28rem 19rem at 84% 20%, rgba(30, 98, 126, .22), transparent 72%),
        radial-gradient(ellipse 17rem 25rem at 8% 78%, rgba(30, 98, 126, .13), transparent 74%),
        linear-gradient(180deg, #07101c, #0a1624)
}

.skills {
    background:
        radial-gradient(ellipse 24rem 34rem at 92% 14%, rgba(30, 98, 126, .23), transparent 72%),
        radial-gradient(ellipse 21rem 16rem at 15% 82%, rgba(30, 98, 126, .14), transparent 72%),
        linear-gradient(145deg, #0b1727, #0d1b2d)
}

.education-section {
    background:
        radial-gradient(ellipse 22rem 16rem at 15% 25%, rgba(30, 98, 126, .20), transparent 72%),
        radial-gradient(ellipse 30rem 22rem at 86% 74%, rgba(30, 98, 126, .16), transparent 74%),
        linear-gradient(155deg, #091522, #0b1828 52%, #08131f)
}

.experience {
    background:
        radial-gradient(ellipse 27rem 20rem at 16% 14%, rgba(30, 98, 126, .25), transparent 72%),
        radial-gradient(ellipse 20rem 32rem at 87% 42%, rgba(30, 98, 126, .20), transparent 72%),
        radial-gradient(ellipse 34rem 17rem at 45% 82%, rgba(30, 98, 126, .17), transparent 75%),
        linear-gradient(145deg, #0a1929, #0c2033 52%, #091725)
}

.work {
    background:
        radial-gradient(ellipse 31rem 22rem at 89% 11%, rgba(30, 98, 126, .22), transparent 73%),
        radial-gradient(ellipse 18rem 31rem at 7% 48%, rgba(30, 98, 126, .16), transparent 74%),
        radial-gradient(ellipse 25rem 17rem at 72% 88%, rgba(30, 98, 126, .13), transparent 74%),
        linear-gradient(160deg, #0b1727, #091522)
}

.contact {
    background:
        radial-gradient(ellipse 28rem 19rem at 18% 22%, rgba(30, 98, 126, .20), transparent 72%),
        radial-gradient(ellipse 35rem 24rem at 82% 76%, rgba(30, 98, 126, .18), transparent 74%),
        linear-gradient(145deg, #06101b, #0b192a)
}

.experience-backdrop-lights span {
    background: #1e627e !important;
    opacity: .28
}

.experience-backdrop-lights span:nth-child(1) {
    top: 8%;
    left: 4%;
    width: 19rem;
    height: 12rem
}

.experience-backdrop-lights span:nth-child(2) {
    top: 24%;
    right: 3%;
    width: 13rem;
    height: 22rem
}

.experience-backdrop-lights span:nth-child(3) {
    top: 42%;
    left: 24%;
    width: 26rem;
    height: 10rem
}

.experience-backdrop-lights span:nth-child(4) {
    top: 57%;
    right: 28%;
    width: 10rem;
    height: 16rem
}

.experience-backdrop-lights span:nth-child(5) {
    top: 68%;
    left: 2%;
    width: 15rem;
    height: 9rem;
    animation-delay: -2s
}

.experience-backdrop-lights span:nth-child(6) {
    top: 78%;
    right: 5%;
    width: 23rem;
    height: 13rem;
    animation-delay: -5s
}

.experience-backdrop-lights span:nth-child(7) {
    top: 34%;
    left: 55%;
    width: 8rem;
    height: 8rem;
    animation-delay: -8s
}

.experience-backdrop-lights span:nth-child(8) {
    bottom: 3%;
    left: 42%;
    width: 18rem;
    height: 7rem;
    animation-delay: -10s
}

@media(max-width:700px) {
    .experience-backdrop-lights span {
        opacity: .18
    }

    .experience-backdrop-lights span:nth-child(n+6) {
        display: none
    }
}

.australia-signals .australia-flag-badge {
    display: inline-flex;
    min-width: auto;
    padding: .55rem .9rem
}

.australia-flag-badge img {
    width: 2.45rem
}

.australia-flag-badge > span {
    display: inline;
    min-height: 0;
    padding: 0;
    color: #d7e5f0;
    font-size: .86rem;
    font-weight: 700
}

@media(max-width:600px) {
    .australia-signals {
        display: flex;
        gap: .55rem
    }

    .australia-signals > span {
        height: 2.8rem;
        min-height: 2.45rem;
        padding: .55rem .72rem;
        font-size: .78rem
    }

    .australia-signals .constellation-chip {
        width: 4.1rem;
        height: 2.8rem
    }

    .australia-flag-badge img {
        width: 2.15rem
    }

    .australia-flag-badge > span {
        font-size: .78rem
    }
}

/* Brighter light-emitting edges for every blurred-glass surface */
.glass,
.site-header.glass,
.experience .role.glass {
    border-color: rgba(138, 220, 249, .48);
    box-shadow:
        0 24px 70px rgba(0, 0, 0, .22),
        0 0 8px rgba(116, 215, 248, .32),
        0 0 22px rgba(30, 98, 126, .25),
        0 0 42px rgba(30, 98, 126, .12),
        inset 0 1px 0 rgba(240, 252, 255, .72),
        inset 1px 0 0 rgba(103, 216, 255, .34),
        inset -1px 0 0 rgba(63, 151, 185, .28),
        inset 0 -1px 0 rgba(30, 98, 126, .28)
}

.glass:hover,
.glass:focus-within,
.site-header.glass:hover,
.site-header.glass:focus-within,
.experience .role.glass:hover,
.experience .role.glass:focus-within {
    border-color: rgba(176, 235, 255, .72);
    box-shadow:
        0 28px 76px rgba(0, 0, 0, .25),
        0 0 10px rgba(157, 231, 255, .48),
        0 0 28px rgba(45, 133, 168, .34),
        0 0 52px rgba(30, 98, 126, .18),
        inset 0 1px 0 rgba(255, 255, 255, .9),
        inset 1px 0 0 rgba(126, 225, 255, .5),
        inset -1px 0 0 rgba(76, 166, 201, .4),
        inset 0 -1px 0 rgba(30, 98, 126, .38)
}

/* Mobile navigation, seamless marquee, notes and viewport rendering */
.marquee-track {
    animation: none;
}

.marquee-track.marquee-ready {
    animation: marquee-measured 26s linear infinite;
}

@keyframes marquee-measured {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(var(--marquee-distance), 0, 0); }
}

.menu-backdrop {
    position: fixed;
    z-index: 85;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    background: rgba(2, 9, 16, .72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity .25s ease, visibility .25s ease;
}

.menu-open .menu-backdrop {
    visibility: visible;
    opacity: 1;
}

.section,
.contact {
    content-visibility: auto;
    contain-intrinsic-size: auto 900px;
}

.hero:not(.is-near-viewport) *,
.section:not(.is-near-viewport) *,
.contact:not(.is-near-viewport) *,
.marquee:not(.is-near-viewport) * {
    animation-play-state: paused !important;
    will-change: auto !important;
}

body.page-hidden * {
    animation-play-state: paused !important;
    will-change: auto !important;
}

@media(max-width:800px) {
    .brand {
        min-width: 0;
        gap: .65rem;
    }

    .brand > span:last-child {
        display: inline;
        overflow: hidden;
        color: #f4fbff;
        font-size: clamp(.78rem, 3.7vw, .98rem);
        font-weight: 800;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .nav {
        position: fixed;
        inset: 5.75rem 1rem auto;
        z-index: 95;
        display: flex;
        width: auto;
        max-height: calc(100dvh - 7rem);
        padding: .85rem;
        align-items: stretch;
        justify-content: flex-start;
        gap: .55rem;
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        border: 1px solid rgba(151, 225, 255, .32);
        border-radius: 1.45rem;
        background:
            linear-gradient(145deg, rgba(18, 48, 65, .96), rgba(7, 21, 34, .97)),
            rgba(7, 21, 34, .96);
        box-shadow:
            0 24px 70px rgba(0, 0, 0, .5),
            0 0 28px rgba(30, 98, 126, .3),
            inset 0 1px rgba(255, 255, 255, .2);
        backdrop-filter: blur(28px) saturate(145%);
        -webkit-backdrop-filter: blur(28px) saturate(145%);
        transform: translateY(-.65rem) scale(.98);
        transform-origin: top center;
        transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
    }

    .menu-open .nav {
        visibility: visible;
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .nav a {
        width: 100%;
        padding: .9rem 1rem;
        justify-content: flex-start;
        border: 1px solid rgba(255, 255, 255, .1);
        border-radius: .95rem;
        color: #e9f7ff;
        background: rgba(255, 255, 255, .055);
        font-size: 1rem;
    }

    .nav a:hover,
    .nav a:focus-visible {
        border-color: rgba(126, 225, 255, .28);
        background: rgba(30, 98, 126, .24);
    }

    .nav .nav-cta {
        margin: .2rem 0 0;
        justify-content: center;
    }
}

@media(max-width:600px) {
    .section-topline .code-float,
    .inline-code-row .code-float,
    .contact .code-float-contact {
        display: flex;
        max-width: 100%;
        opacity: .92;
        font-size: .65rem;
    }

    .section-topline {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: .8rem;
    }

    .section-topline .code-float {
        flex: 0 1 auto;
        margin-left: auto;
    }

    .inline-code-row {
        display: flex;
        margin-top: .9rem;
        justify-content: flex-start;
    }

    .inline-code-row .code-float code,
    .contact .code-float-contact code {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .contact .code-float-contact {
        position: relative;
        inset: auto;
        width: fit-content;
        margin: 0 0 1rem auto;
    }

    .hero-visual .floating-code {
        display: flex;
        right: auto;
        bottom: -.8rem;
        left: 50%;
        max-width: calc(100vw - 2.5rem);
        font-size: .66rem;
        transform: translateX(-50%);
    }
}

@media(max-width:360px) {
    .brand > span:last-child { font-size: .74rem; }
    .brand-mark { width: 2.25rem; height: 2.25rem; }
    .site-header { padding: .55rem .6rem; }
}