/* Loading Screen (first visit only - VC logo split animation) */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: 9998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
    overflow: hidden;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-gradient {
    display: none;
}

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

.loading-circle-container {
    position: absolute;
    bottom: 3rem;
    left: 3rem;
    width: 280px;
    height: 280px;
    z-index: 10;
}

.loading-circle {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.loading-circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1;
}

.loading-circle-progress {
    fill: none;
    stroke: #ffffff;
    stroke-width: 1;
    stroke-linecap: round;
    stroke-dasharray: 339.292; /* 2 * PI * 54 */
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset 0.1s linear;
}

.loading-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    font-family: var(--font-body);
    z-index: 11;
}

.loading-logo {
    width: 250px;
    height: 250px;
    z-index: 10;
    position: relative;
    animation: logoZoom 0.8s ease-out forwards;
}

.loading-logo-v-container,
.loading-logo-c-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.loading-logo-v-container svg,
.loading-logo-c-container svg {
    width: 100%;
    height: 100%;
}

.loading-logo-path {
    fill: #ffffff;
    filter: none;
}

.loading-logo-v-container {
    animation: logoSplitUp 0.7s ease-in 0.8s forwards;
}

.loading-logo-c-container {
    animation: logoSplitDown 0.7s ease-in 0.8s forwards;
}

@keyframes logoZoom {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    60% {
        transform: scale(1.1);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes logoSplitUp {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateY(-3000px);
        opacity: 0;
    }
}

@keyframes logoSplitDown {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        transform: translateY(3000px);
        opacity: 0;
    }
}

/* Prevent scroll during loading */
body:not(.loaded) {
    overflow: hidden !important;
    height: 100vh;
    border-radius: 24px;

}

/* Hide content until loading complete */
main,
header,
section,
footer,
nav {
    opacity: 0;
    pointer-events: none;
}

body.loaded main,
body.loaded header,
body.loaded section,
body.loaded footer,
body.loaded nav {
    pointer-events: auto;
}


/* Smooth scrolling with offset for fixed nav */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    scrollbar-width: none;
}


@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Light.woff2') format('woff2'),
         url('../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Regular.woff2') format('woff2'),
         url('../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Medium.woff2') format('woff2'),
         url('../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Bold.woff2') format('woff2'),
         url('../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Satoshi';
    src: url('../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Black.woff2') format('woff2'),
         url('../fonts/Satoshi_Complete/Fonts/WEB/fonts/Satoshi-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
}

:root {
    --bg-color: #edddd4;
    --text-color: #403b35;
    --comment-color: #403b35;
    --box-bg: #403b35;
    --box-text: #403b35;
    --accent-color: #6e8c68;
    --accent-hover: #5a7555;
    --keyword-color: #edddd4;
    --function-color: #edddd4;
    --string-color: #edddd4;
    --number-color: #edddd4;
    --variable-color: #edddd4;
    --property-color: #edddd4;
    --class-color: #edddd4;
    --highlight: #edddd4;
    --line-number: #edddd4;
    --selection: rgba(237, 221, 212, 0.15);
    --border-color: rgba(237, 221, 212, 0.2);
    --font-body: 'Satoshi', sans-serif;
    --font-heading: 'Satoshi', sans-serif;
    --container-max-width: 1600px;
    --container-padding: 10rem;
}

* {
    font-family: 'Satoshi', sans-serif;
}

body,
html {
    font-family: 'Satoshi', sans-serif;
    /* everything sized in rem (most of the site) follows this: 15px rather than the
       browser's 16px, so the pages get a little more breathing room */
    font-size: 93.75%;
}

/* Desktop: the base size follows the window width, so small laptops get a tighter page
   and big monitors a roomier one. 14px at 1280 wide, 15px at 1600, 16px at 1920,
   up to 18px at 2560 and beyond (percentages, so the browser's own text-size setting still counts). */
@media (min-width: 971px) {
    html {
        font-size: clamp(87.5%, calc(62.5% + 0.3125vw), 112.5%);
    }
}

/* Shared container styles */
header,
section {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    padding: 2rem 3rem;
    box-sizing: border-box;
    border-radius: 0;
    border: none;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    z-index: 1000;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

nav.nav-hidden {
    transform: translateY(-100%);
}

nav .nav-container {
    padding: 0;
    margin: 0 auto;
    max-width: var(--container-max-width);
    width: 100%;
}

nav .logo svg {
    margin-left: 0 !important;
}

nav .logo a {
    padding: 0;
}

nav .nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0;
}

nav .nav-links {
    justify-content: center;
    gap: 2rem;
    /* nudges the links right on wide screens; gives the space back as the window narrows */
    margin-left: clamp(0rem, calc(100vw - 1200px), 12rem);
}

nav .clock-container {
    margin: 0;
    flex-shrink: 0;
}

nav .nav-icons {
    margin: 0;
    flex-shrink: 0;
}

nav .logo {
    margin: 0;
    flex-shrink: 0;
}

/* Boxed/segmented nav - logo | links | clock, each its own
   bordered cell spanning the full page width, like a toolbar */
nav {
    padding: 0;
    background: var(--bg-color);
    border-bottom: 1px solid var(--text-color);
}

nav .nav-container {
    max-width: none;
    margin: 0;
    align-items: stretch;
    gap: 0;
}

nav .logo {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 2.5rem;
    border-right: 1px solid rgba(64, 59, 53, 0.3);
    display: flex;
    align-items: center;
    background: var(--text-color);
}

nav .logo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--bg-color);
    transform: translateX(-100%);
    transition: transform 0.45s ease;
    z-index: 0;
}

nav .logo:hover::before {
    transform: translateX(0);
}

nav .logo .logo-row {
    position: relative;
    z-index: 1;
}

nav .logo svg .cls-1 {
    fill: var(--bg-color);
    transition: fill 0.45s ease;
}

nav .logo:hover svg .cls-1 {
    fill: var(--text-color);
}

nav .logo-home-label {
    color: var(--bg-color);
    transition: color 0.45s ease, opacity 0.3s ease, max-width 0.3s ease, margin-left 0.3s ease;
}

nav .logo:hover .logo-home-label {
    color: var(--text-color);
    opacity: 0.7;
    max-width: 60px;
    margin-left: 0.6rem;
}

nav .nav-wrapper {
    padding: 1.5rem 2.5rem;
    border-right: 1px solid rgba(64, 59, 53, 0.3);
}

nav .nav-icons {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    gap: 0;
    border-right: 1px solid rgba(64, 59, 53, 0.3);
}

nav .nav-icons a {
    position: relative;
    overflow: hidden;
    flex: 1;
    padding: 0.85rem 2rem;
    color: var(--text-color);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: color 0.45s ease;
}

nav .nav-icons a::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-color);
    transform: translateX(-100%);
    transition: transform 0.45s ease;
    z-index: 0;
}

nav .nav-icons a:hover::before {
    transform: translateX(0);
}

nav .nav-icons a i {
    position: relative;
    z-index: 1;
    transition: color 0.45s ease;
}

nav .nav-icons a:hover i {
    color: var(--bg-color);
}

nav .clock-container {
    position: relative;
    overflow: hidden;
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
}

nav .clock-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--text-color);
    transform: translateX(-100%);
    transition: transform 0.45s ease;
    z-index: 0;
}

nav .clock-container:hover::before {
    transform: translateX(0);
}

nav .clock-container .time,
nav .clock-container .timezone {
    position: relative;
    z-index: 1;
    transition: color 0.45s ease;
}

nav .clock-container:hover .clock-label,
nav .clock-container:hover .time,
nav .clock-container:hover .timezone {
    color: var(--bg-color);
}

/* Flip-clock digit animation - plays whenever a segment's value changes */
@keyframes clockFlip {
    0% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    45% {
        transform: rotateX(-90deg);
        opacity: 0.25;
    }
    55% {
        transform: rotateX(-90deg);
        opacity: 0.25;
    }
    100% {
        transform: rotateX(0deg);
        opacity: 1;
    }
}

.clock-part {
    display: inline-block;
    transform-origin: 50% 50%;
}

.clock-part.clock-flip {
    animation: clockFlip 0.5s ease;
}

/* Blinking colon, ticking every second */
@keyframes clockColonBlink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0.15;
    }
}

.clock-colon {
    display: inline-block;
    animation: clockColonBlink 1s steps(1) infinite;
}

/* Mobile menu toggle visibility is handled in mobile.css */

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    height: auto;
    position: relative;
    z-index: 1;
}

/* Responsive nav adjustments */
@media (max-width: 1400px) {
    .nav-container {
        gap: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 1200px) {
    nav .logo,
    nav .nav-wrapper,
    nav .clock-container {
        padding: 1.15rem 1.5rem;
    }

    nav .nav-icons a {
        padding: 1rem 0.85rem;
    }

    .nav-container {
        gap: 1.5rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .nav-links a {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    nav .logo,
    nav .nav-wrapper,
    nav .clock-container {
        padding: 1rem 1.25rem;
    }

    nav .nav-icons a {
        padding: 0.85rem 0.85rem;
    }

    .nav-container {
        gap: 1rem;
    }

    .nav-links a {
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }
}

@media (max-width: 992px) {
    nav .logo,
    nav .nav-wrapper,
    nav .nav-icons,
    nav .clock-container {
        padding: 1rem 1.25rem;
    }

    .nav-container {
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        margin: 0;
        padding: 0.5rem 0;
        font-size: 0.85rem;
    }
}

@media (max-width: 900px) {
    nav .logo,
    nav .nav-wrapper,
    nav .nav-icons,
    nav .clock-container {
        padding: 1rem 1.25rem;
    }

    .nav-container {
        gap: 1rem;
    }

    .nav-links {
        gap: 0.75rem;
    }

    .nav-links a {
        margin: 0;
        padding: 0.4rem 0;
        font-size: 0.8rem;
    }
}

@media (max-width: 970px) {
    nav {
        top: 0;
    }

    nav .logo,
    nav .nav-wrapper,
    nav .nav-icons,
    nav .clock-container {
        padding: 1rem 1.25rem;
    }

    .nav-links a {
        padding: 0.4rem 0;
        font-size: 0.75rem;
    }

    nav .logo svg {
        height: 42px;
    }
}

@media (max-width: 640px) {
    .nav-links a {
        padding: 0.35rem 0.6rem;
        font-size: 0.7rem;
    }
}

/* Logo Styling */
.logo {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-right: 0;
    padding: 0;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-home-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-color);
    white-space: nowrap;
    max-width: 0;
    margin-left: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-width 0.3s ease, margin-left 0.3s ease;
}

.logo a:hover .logo-home-label,
.logo a:focus-visible .logo-home-label {
    opacity: 0.7;
    max-width: 60px;
    margin-left: 0.6rem;
}

.logo a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    height: auto;
}

.logo svg {
    height: 62px;
    width: auto;
    display: block;
    transition: all 0.3s ease;
    margin-left: 0;
}

@keyframes logoGradientShift {
    0%, 100% {
        stop-color: #ef4444; /* red */
    }
    20% {
        stop-color: #f59e0b; /* yellow */
    }
    40% {
        stop-color: #a855f7; /* purple */
    }
    60% {
        stop-color: #8b5cf6; /* violet */
    }
    80% {
        stop-color: #06b6d4; /* cyan */
    }
}

.logo svg .stop1 {
    animation: logoGradientShift 15s ease-in-out infinite;
}

.logo svg .stop2 {
    animation: logoGradientShift 15s ease-in-out infinite;
    animation-delay: 1.5s;
}

.logo svg .stop3 {
    animation: logoGradientShift 15s ease-in-out infinite;
    animation-delay: 3s;
}

.logo svg .stop4 {
    animation: logoGradientShift 15s ease-in-out infinite;
    animation-delay: 4.5s;
}

.logo svg .stop5 {
    animation: logoGradientShift 15s ease-in-out infinite;
    animation-delay: 6s;
}

.logo svg .cls-1 {
    fill: #403b35;
    transition: all 0.3s ease;
}

.logo a {
    position: relative;
    padding: 5px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo a.active {
    transform: translateY(-4px) scale(1.08);
}

.logo a.active svg .cls-1 {
    filter: none;
}


.logo a:hover svg {
    filter: none;
    transform: scale(1.05);
}

.logo a img {
    max-height: 35px; /* Use max-height instead of fixed height */
    width: auto; /* Maintain aspect ratio */
    display: block;
}


.logo a:hover img {
    filter: brightness(1.2);
}

.nav-wrapper {
    margin-left: 0.25rem;
}

.nav-links {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: auto;
    gap: 0;
    counter-reset: nav-item;
}

.nav-separator {
    display: none;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
    border-bottom: none;
    border-radius: 0;
    background: transparent;
    border: none;
    position: relative;
    text-decoration: none;
    counter-increment: nav-item;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: currentColor;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes border-race {
    0% {
        clip-path: inset(0 100% 100% 0);
    }
    25% {
        clip-path: inset(0 0 100% 0);
    }
    50% {
        clip-path: inset(0 0 0 0);
    }
    75% {
        clip-path: inset(0 0 0 100%);
    }
    100% {
        clip-path: inset(0 100% 100% 0);
    }
}

@keyframes border-glow {
    0% {
        transform: translate(0, -50%);
        left: 0;
        top: 0;
    }
    25% {
        transform: translate(50%, 0);
        left: 100%;
        top: 0;
    }
    50% {
        transform: translate(0, 50%);
        left: 100%;
        top: 100%;
    }
    75% {
        transform: translate(-50%, 0);
        left: 0;
        top: 100%;
    }
    100% {
        transform: translate(0, -50%);
        left: 0;
        top: 0;
    }
}

.nav-links a::before {
    content: counter(nav-item);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    border: 1px solid currentColor;
    font-size: 0.7rem;
    font-weight: 600;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, color 0.3s ease;
}

.nav-links a:hover {
    color: #b3aa9f;
    border-bottom: none;
    background: transparent;
    transform: translateY(-2px);
    box-shadow: none;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a:hover::before {
    background: var(--text-color);
    color: var(--bg-color);
    transform: scale(1.15) rotate(360deg);
}

.nav-links a.active {
    color: var(--text-color);
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    transform: none;
}

.nav-links a.active::before {
    background: var(--text-color);
    color: var(--bg-color);
}

.nav-links a.active::after {
    width: 100%;
}

.nav-links a.resume-link {
    background: transparent;
    color: var(--text-color);
    border: none;
    border-radius: 0;
    padding: 0.5rem 0;
    font-weight: 500;
}

.nav-links a.resume-link:hover {
    background: transparent;
    color: #b3aa9f;
    border: none;
}

.nav-links a.resume-link.active {
    background: transparent;
    color: var(--text-color);
}

/* Header */
header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 3rem;
    min-height: 100vh;
    padding: 2rem;
    position: relative;
    max-width: var(--container-max-width);
    margin: 0 auto;
    z-index: 1;
}

/* Light panel behind the whole hero (name and intro through to the photos), matching
   the cards on the other pages. Drawn as a grid item behind the two columns so it
   hugs them: the row is only as tall as the content and the panel pads out from it. */
header {
    align-content: center;
    --hero-panel-pad: 2.25rem;
    /* keeps the panel clear of the fixed nav above and the footer below */
    padding-top: calc(7rem + var(--hero-panel-pad) + 0.5rem);
    padding-bottom: calc(var(--hero-panel-pad) + 1rem);
}

header::before {
    content: '';
    grid-column: 1 / -1;
    grid-row: 1;
    align-self: stretch;
    justify-self: stretch;
    margin: calc(-1 * var(--hero-panel-pad));
    z-index: -1;
    background: #f5ece6;
    border: 1px solid rgba(64, 59, 53, 0.24);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(64, 59, 53, 0.06), 0 10px 28px -12px rgba(64, 59, 53, 0.22);
}

header .hero-left {
    grid-column: 1;
    grid-row: 1;
}

header .hero-center {
    grid-column: 2;
    grid-row: 1;
}

@media (max-width: 1300px) {
    header {
        --hero-panel-pad: 1.5rem;
    }
}

/* stacked on phones/tablets: the panel covers both rows */
@media (max-width: 970px) {
    header {
        --hero-panel-pad: 1.25rem;
    }

    header::before {
        grid-row: 1 / span 2;
    }

    header .hero-center {
        grid-column: 1;
        grid-row: 2;
    }
}

/* Tablet / small desktop: shrink the photo and tighten spacing so the
   left/right text has room, without dropping to the stacked mobile layout */
@media (min-width: 971px) and (max-width: 1300px) {
    header {
        gap: 2rem;
    }

    .hero-left {
        padding-right: 1rem;
    }

    .hero-right {
        padding-left: 1rem;
    }

    .profile-gallery {
        width: clamp(180px, 20vw, 280px);
        height: clamp(216px, 24vw, 336px);
    }

    .footer-social {
        width: clamp(180px, 20vw, 280px);
    }

    .hero-greeting {
        font-size: clamp(2.25rem, 4vw, 4.25rem);
    }
}

/* Desktop: spare height goes one part above the hero panel and two parts below,
   so it sits a little above centre and leaves the bottom corner free */
@media (min-width: 971px) {
    header {
        grid-template-rows: minmax(0, 1fr) auto minmax(0, 2fr);
        align-content: stretch;
        row-gap: 0;
    }

    header::before,
    header .hero-left,
    header .hero-center {
        grid-row: 2;
    }

    /* the text starts near the top of the photo, inset a little from its top edge,
       with the button following straight after the intro */
    header .hero-left {
        align-self: start;
        padding-top: 1rem;
    }

    /* drop the space above the capitals so the name's top edge lines up with the photo's */
    header .hero-name {
        text-box-trim: trim-start;
        text-box-edge: cap alphabetic;
    }
}

@media (max-width: 970px) {
    header {
        grid-template-columns: 1fr;
        padding: 120px 2rem 2rem 2rem;
        gap: 3rem;
        text-align: center;
    }

    .hero-left {
        padding: 0;
        text-align: center;
        min-height: 0;
        display: block;
    }

    .hero-left .cta-buttons {
        margin-top: 2rem;
        justify-content: center;
    }

    .hero-greeting {
        font-size: 3.5rem;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .hero-center {
        align-items: center;
        margin-right: 0;
    }

    .hero-intro,
    .hero-description,
    .hero-experience {
        max-width: 100%;
    }
}

/* Hero sections */
.hero-left {
    text-align: left;
    padding-right: 2rem;
    min-width: 0;
}

.hero-left .cta-buttons {
    margin-top: 30px;
}

.hero-center {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 1.5rem;
    min-width: 0;
}

.hero-greeting {
    font-size: clamp(2.25rem, min(4.5vw, 7vh), 5.5rem);
    font-weight: 700;
    line-height: 1;
    margin: 0 0 1.5rem 0;
    color: var(--text-color);
}

.hero-name {
    font-size: clamp(2.25rem, min(4vw, 6.5vh), 5rem);
    white-space: normal;
    margin-bottom: 1rem;
}

.hero-greeting span {
    display: inline-block;
    opacity: 0;
    animation: letterAppear 3s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.15s);
}

@keyframes letterAppear {
    0%, 100% {
        opacity: 0;
        transform: translateY(20px);
    }
    20%, 80% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-intro {
    font-size: clamp(1rem, min(1.5vw, 2.2vh), 1.2rem);
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    max-width: 360px;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
    max-width: 450px;
}

.hero-experience {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-color);
    margin: 0 0 2rem 0;
    max-width: 450px;
}

.hero-company {
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.hero-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.hero-company-text {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    font-family: var(--font-heading);
}

.hero-company-text a {
    color: var(--text-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.hero-company-text a:hover {
    opacity: 0.7;
}

.intro-text {
    max-width: 700px;
    position: relative;
    flex: 1;
}

.greeting {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--comment-color);
}

h1 {
    font-size: 6.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--text-color);
    white-space: nowrap;
}

h2 {
    font-size: 2.25rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.tagline {
    color: var(--text-color);
    font-size: 1.25rem;
    line-height: 1.8;
    max-width: 650px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2.5rem;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    padding: 0.75rem 0.75rem;
    border-radius: 10px;
    border: 2px solid #fff;
    background-color: #fff;
    color: #000;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px) scale(1.05);
}

.social-links a::before, .social-links a::after {
    display: none;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: var(--accent-color);
    color: #fff;
    border: 2px solid var(--accent-color);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.hero-cta:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    color: #fff;
    transform: translateX(4px);
}

.hero-cta-text,
.hero-cta i {
    position: relative;
    z-index: 2;
}

.hero-cta i {
    font-size: 1rem;
    transition: transform 0.3s ease;
    animation: hero-cta-arrow-nudge 1.6s ease-in-out infinite;
}

.hero-cta:hover i {
    animation-play-state: paused;
    transform: translateX(4px);
}

.hero-cta::after {
    display: block !important;
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-hover);
    transform: translateX(-100%);
    transition: transform 0.45s ease;
    z-index: 1;
}

.hero-cta:hover::after {
    transform: translateX(0);
}

@keyframes hero-cta-arrow-nudge {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(6px);
    }
}


.btn::after {
    display: none;
}

.primary-btn {
    background-color: var(--function-color);
    color: var(--box-bg);
}

.primary-btn:hover {
    background-color: var(--highlight);
    color: var(--box-bg);
    transform: translateY(-2px);
}

.gradient-btn {
    background: #c678dd;
    color: var(--box-bg);
    border: 1px solid rgba(198, 120, 221, 0.3);
    box-shadow: none;
}

.gradient-btn:hover {
    background: rgba(26, 29, 35, 0.9);
    color: #c678dd;
    box-shadow: none;
    transform: translateY(-2px);
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--function-color);
    color: var(--function-color);
}

.secondary-btn:hover {
    background-color: var(--function-color);
    color: var(--box-bg);
    transform: translateY(-2px);
}

.profile-image {
    flex-shrink: 0;
    position: relative;
}

.profile-image img {
    width: 500px;
    height: 600px;
    border-radius: 20px;
    object-fit: cover;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Rolling Gallery */
.profile-gallery {
    width: clamp(200px, min(22vw, 32vh), 340px);
    height: clamp(240px, min(26.4vw, 38.4vh), 408px);
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    perspective: 1000px;
}

.gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-track img {
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    object-fit: cover;
    position: absolute;
    top: -1px;
    left: -1px;
    opacity: 0;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.gallery-track img:nth-child(1) {
    animation: slide1 12s ease-in-out infinite;
}

.gallery-track img:nth-child(2) {
    animation: slide2 12s ease-in-out infinite;
}

.gallery-track img:nth-child(3) {
    animation: slide3 12s ease-in-out infinite;
}

.gallery-track img:nth-child(4) {
    animation: slide4 12s ease-in-out infinite;
}

@keyframes slide1 {
    0%, 22% {
        transform: translateX(0);
        opacity: 1;
    }
    25%, 95% {
        transform: translateX(-100%);
        opacity: 1;
    }
    97% {
        transform: translateX(100%);
        opacity: 1;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slide2 {
    0% {
        transform: translateX(100%);
        opacity: 1;
    }
    22% {
        transform: translateX(100%);
        opacity: 1;
    }
    25% {
        transform: translateX(0);
        opacity: 1;
    }
    47% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(-100%);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 1;
    }
}

@keyframes slide3 {
    0% {
        transform: translateX(100%);
        opacity: 1;
    }
    47% {
        transform: translateX(100%);
        opacity: 1;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
    72% {
        transform: translateX(0);
        opacity: 1;
    }
    75% {
        transform: translateX(-100%);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 1;
    }
}

@keyframes slide4 {
    0% {
        transform: translateX(100%);
        opacity: 1;
    }
    72% {
        transform: translateX(100%);
        opacity: 1;
    }
    75% {
        transform: translateX(0);
        opacity: 1;
    }
    97% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 1;
    }
}

/* Sections */
section {
    padding-top: 10rem;
    padding-bottom: 5rem;
    position: relative;
    scroll-margin-top: 100px;
}

@media (max-width: 970px) {
    section {
        padding: 6rem 2rem 3rem 2rem;
    }
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
}

.section-decorator {
    display: none;
}

section h2 {
    font-size: 1rem;
    color: var(--text-color);
    padding-bottom: 0;
    border-bottom: none;
    display: inline-block;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: none;
}

section h2.active {
    color: var(--text-color);
    border-bottom: none;
    font-size: 1rem;
}

section p {
    font-size: 1.15rem;
    max-width: 1000px;
    margin-bottom: 2rem;
    color: var(--text-color);
    line-height: 1.8;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Skills Grid Responsive Behavior */
@media (min-width: 1200px) {
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
}

.skill-category {
    background-color: var(--box-bg);
    backdrop-filter: blur(200px) saturate(180%);
    -webkit-backdrop-filter: blur(200px) saturate(180%);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    box-shadow: none;
    transition: border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    contain: layout style paint;
    opacity: 1 !important;
    position: relative;
}

.skill-category:hover {
    border-color: var(--variable-color);
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
    color: #f5f1e8;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    color: var(--box-text);
}

.skill-category i {
    margin-right: 0.75rem;
    color: var(--function-color);
}

/* Projects Section responsive overrides handled below in main projects-grid definition */

@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 767px) {
    .projects-grid {
        gap: 2rem;
    }
}

.project-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--box-text);
}

.project-card p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--box-text);
}

/* Remove description label */
.project-card p::before {
    content: none;
    display: none;
}

.project-card p::after {
    content: none;
    display: none;
}

.project-links {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-links a::before, .project-links a::after {
    display: none;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tags span {
    background-color: rgba(97, 175, 239, 0.1);
    color: var(--string-color);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
}

/* Remove quotes from tags */
.project-tags span::before {
    content: none;
    display: none;
}

.project-tags span::after {
    content: none;
    display: none;
}

/* Contact Section */
.contact-options {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    max-width: 850px;
}

.contact-option {
    display: flex;
    align-items: center;
    padding: 2rem 2.5rem;
    background-color: var(--box-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.15rem;
}

.contact-option:hover {
    background-color: var(--function-color);
    color: var(--box-bg);
    transform: translateY(-2px);
}

.contact-option i {
    font-size: 1.75rem;
    margin-right: 1.25rem;
}

/* Contact social links */
#contact .social-links {
    display: flex;
    gap: 1rem;
    margin: 0;
}

#contact .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    padding: 2rem;
    background-color: var(--box-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

#contact .social-links a:hover {
    background-color: var(--function-color);
    color: var(--box-bg);
    transform: translateY(-2px);
}

#contact .social-links i {
    font-size: 2rem;
    color: var(--function-color);
}

#contact .social-links a:hover i {
    color: var(--box-bg);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 2rem;
    background-color: transparent;
    color: var(--comment-color);
    border-top: none;
}

footer a {
    color: var(--text-color);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* "Rebuilt x days ago" (added by script.js): in the footer's bottom-right corner,
   level with the copyright line; on phones it drops under that line instead */
footer {
    position: relative;
}

.rebuilt-note {
    position: absolute;
    right: 2rem;
    bottom: 3rem;
    margin: 0;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1.6;
    white-space: nowrap;
    color: var(--text-color);
    opacity: 0.55;
}

@media (max-width: 970px) {
    .rebuilt-note {
        position: static;
        margin-top: 1rem;
    }
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    width: clamp(200px, min(22vw, 32vh), 340px);
}

.footer-social a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-social a:hover {
    opacity: 0.7;
}

.footer-social .copy-email {
    font-size: 0.85rem;
    cursor: pointer;
}

.footer-social i {
    font-size: 1.2rem;
}

/* Terminal cursor effect */
.terminal-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Typing cursor animation */
.typing-cursor {
    display: inline-block;
    font-weight: 300;
    animation: blink 1s step-end infinite;
    margin-left: 4px;
}

h1 .typing-cursor {
    font-weight: 300;
}

/* Media Queries */
@media (max-width: 970px) {
    /* nav-container padding is handled in mobile.css */

    header {
        flex-direction: column;
        text-align: center;
        padding: 120px 2rem 0 2rem;
    }

    .intro-text {
        margin-bottom: 3rem;
    }

    .social-links, .cta-buttons {
        justify-content: center;
    }

    .profile-image img {
        width: 240px;
        height: 288px;
    }

    .profile-gallery {
        width: 240px;
        height: 288px;
    }

    .footer-social {
        width: 240px;
    }

    .gallery-track img {
        width: 240px;
        height: 288px;
    }

    .nav-links {
        display: none; /* Would need a mobile menu */
    }

    h1 {
        font-size: 3rem;
        white-space: normal;
        word-wrap: break-word;
    }

    h2 {
        font-size: 1.5rem;
    }

    .tagline {
        font-size: 1.05rem;
        line-height: 1.7;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.2rem;
    }

    .hero-greeting {
        font-size: 3rem;
    }
}


.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.photo-gallery img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.photo-gallery img:hover {
    transform: scale(1.05);
}

/* Experience Timeline Styles */
.experience-timeline {
    position: relative;
    padding: 0;
    max-width: 1100px;
    margin: 0 auto;
}

/* Vertical timeline line on the left */
.experience-timeline::before {
    display: none;
}

.experience-card {
    position: relative;
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1.5rem;
    padding: 2rem;
    margin-bottom: 1.5rem;
    /* same light panel as the Listening Stats cards on the Fun page (css/photos.css) */
    background-color: #f5ece6;
    border: 1px solid rgba(64, 59, 53, 0.24);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(64, 59, 53, 0.06), 0 10px 28px -12px rgba(64, 59, 53, 0.22);
    transition: all 0.3s ease;
}

.experience-card:last-child {
    margin-bottom: 0;
}

.experience-card:hover {
    transform: none;
}


/* Timeline line */
.timeline-line {
    display: none;
}

/* Company Logo */
.exp-logo {
    width: 80px;
    height: 80px;
    min-width: 80px;
    border-radius: 4px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.exp-logo img {
    width: 55px;
    height: 55px;
    object-fit: contain;
}

/* Timeline dots on the left - perfectly centered with logo */
.experience-card::before {
    display: none;
}

/* Horizontal line animation from timeline to logo */
.experience-card::after {
    display: none;
}

.experience-card:hover::after {
    display: none;
}

/* STLCC and Maritz logos are white assets - invert to black */
.exp-logo img[src*="STLCC"],
.exp-logo img[src*="maritz.svg"] {
    filter: invert(1);
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(550px, 1fr));
    gap: 3rem;
}

/* Project Content */
.project-content {
    display: flex;
    flex-direction: column;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.project-header h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--box-text);
    margin: 0;
}

.project-subtitle {
    font-size: 1.2rem;
    color: #e5e5e5;
    margin: 0 0 1.25rem 0;
    font-weight: 500;
}

.project-description {
    font-size: 1.1rem;
    color: var(--box-text);
    line-height: 1.8;
    margin: 0;
}

/* Project Image - Under Description */
.project-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.project-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
}

/* Enlarge button */
.enlarge-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.enlarge-btn:hover {
    background: rgba(96, 165, 250, 0.8);
    opacity: 1;
    transform: scale(1.1);
}

/* Image Lightbox Modal */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.image-modal.active {
    display: flex;
}

.image-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 6px;
    background: #e5e5e5;
    padding: 2rem;
}

.image-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.image-modal-close:hover {
    opacity: 1;
}

/* Project GitHub link */
.project-links-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.project-github-text {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: #1b5e20;
    text-decoration: none;
    transition: all 0.2s ease;
}

.project-github-text:hover {
    color: #2e7d32;
}

.project-github-text i {
    font-size: 1rem;
}

/* Project status badge */
.project-status {
    font-size: 0.7rem;
    font-weight: 500;
    padding: 0.2rem 0.5rem;
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

/* Project tags */
.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.project-tags span {
    background: rgba(64, 59, 53, 0.08);
    color: var(--box-text);
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 500;
    border: 1px solid rgba(64, 59, 53, 0.18);
}

.project-image-container {
    position: relative;
    width: 100%;
    margin: 2rem 0 1rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
}

.project-full-image {
    max-width: 100%;
    height: auto;
    background: transparent;
}

.project-card .exp-logo {
    visibility: hidden;
}

.pdf-toggle-btn {
    margin-top: 1.5rem;
}

.project-pdf-pages {
    width: 100%;
    min-width: 0;
    height: 700px;
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: max-height 0.45s ease, opacity 0.35s ease, margin-top 0.35s ease, border-color 0.35s ease;
}

.project-pdf-pages.show {
    max-height: 700px;
    margin-top: 1rem;
    opacity: 1;
    overflow-y: auto;
    border-color: rgba(64, 59, 53, 0.18);
}

.project-pdf-pages-track {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    padding: 1rem;
}

.pdf-page {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(64, 59, 53, 0.18);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pdf-page img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .project-pdf-pages {
        height: 480px;
    }

    .project-pdf-pages.show {
        max-height: 480px;
    }
}

/* Override old project-card styles for new layout */
/* Experience Content */
.exp-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.exp-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: baseline;
    gap: 2rem;
    margin-bottom: 0.75rem;
}

.exp-info {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
    flex-wrap: wrap;
}

.exp-company {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
    font-family: var(--font-heading);
    color: var(--box-text);
    letter-spacing: -0.01em;
}

.exp-role {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    font-family: var(--font-body);
    color: var(--box-text);
    letter-spacing: 0.01em;
}

.exp-role::before {
    content: "—";
    margin-right: 1rem;
    color: var(--box-text);
}

.exp-date {
    font-size: 0.9rem;
    color: var(--box-text);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin: 0;
    text-align: right;
    white-space: nowrap;
}

.exp-description {
    font-size: 1.05rem;
    color: var(--box-text);
    line-height: 1.65;
    margin: 0 0 0.75rem 0;
    max-width: 100%;
}

/* Experience Subsection Title */
.exp-subsection-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    margin: 6rem auto 3rem auto;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: none;
    padding: 0;
    max-width: 1100px;
}

/* View Details Button */
.view-details-btn {
    background: none;
    border: none;
    color: var(--box-text);
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    font-family: var(--font-body);
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.view-details-btn:hover {
    opacity: 0.6;
}

.view-details-btn i {
    transition: transform 0.3s ease;
}

.view-details-btn.active i {
    transform: rotate(180deg);
}

/* Details Content */
.details-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out, margin-top 0.3s ease-in-out;
    opacity: 0;
    margin-top: 0;
}

.details-content.show {
    max-height: 1000px;
    opacity: 1;
    margin-top: 1rem;
}

.details-content h4 {
    font-size: 0.85rem;
    color: var(--box-text);
    margin-bottom: 1rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
}

.achievements {
    padding-left: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1rem 2rem;
    background: none;
    margin: 0;
}

.achievements li {
    padding-left: 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--box-text);
    line-height: 1.7;
    font-size: 1rem;
}

.achievements li:last-child {
    margin-bottom: 0;
}

.achievements i {
    color: var(--box-text);
    margin-top: 0.3rem;
    font-size: 0.75rem;
    flex-shrink: 0;
}

/* Company Image */
.company-image {
    max-width: 150px;
    margin-top: 0.75rem;
    border-radius: 8px;
    display: block;
}

/* ========================================
   PROJECTS - same card setup as Education
   (just the default .experience-card glass
   treatment; no logo column since projects
   don't have per-project icon assets)
   ======================================== */
#projects .experience-card.project-card {
    grid-template-columns: 1fr;
}

#projects .experience-card.project-card .exp-logo {
    display: none;
}

/* ========================================
   STRIP CONTROLS - counter + prev/next arrows for
   horizontal scrollers (Experience, Photos)
   ======================================== */
.strip-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-color);
    font-variant-numeric: tabular-nums;
    /* Fast repeated clicks on the arrows shouldn't highlight text */
    user-select: none;
    -webkit-user-select: none;
}

.strip-counter {
    min-width: 5rem;
    text-align: right;
    opacity: 0.7;
    font-size: 0.95rem;
    margin-right: 0.25rem;
}

.strip-btn {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid rgba(64, 59, 53, 0.25);
    background: none;
    color: var(--text-color);
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.strip-btn:hover:not(:disabled) {
    background: rgba(64, 59, 53, 0.08);
}

.strip-btn:disabled {
    opacity: 0.3;
    cursor: default;
}

/* Touch screens swipe instead */
@media (max-width: 970px) {
    .strip-btn {
        display: none;
    }
}

/* While dragging a scroller with the mouse, don't select text */
body.strip-dragging {
    user-select: none;
    -webkit-user-select: none;
}

/* ========================================
   EXPERIENCE - horizontal sliding carousel
   (keeps the glass card treatment, just
   lays the cards out side by side)
   ======================================== */
#experience .card-carousel {
    position: relative;
    max-width: 100%;
}

/* Counter + arrows above the cards, right-aligned (same as Photos) */
#experience .carousel-toolbar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

#experience .experience-timeline {
    display: flex;
    gap: 2rem;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    padding: 0.5rem 0 2rem 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

#experience .experience-timeline::-webkit-scrollbar {
    display: none;
}

/* Logo + quick info (company/date/role) sit side by side on row 1;
   description and achievements span the full card width below,
   flush with the logo's left edge - not indented under the quick info. */
#experience .experience-card {
    flex: 0 0 clamp(340px, 40vw, 520px);
    padding: 1.6rem;
    display: grid;
    grid-template-columns: 64px 1fr;
    column-gap: 1rem;
    row-gap: 0;
    align-items: start;
    align-content: start;
    margin-bottom: 0;
}

#experience .exp-logo {
    grid-column: 1;
    grid-row: 1;
    width: 64px;
    height: 64px;
    min-width: 64px;
}

#experience .exp-content {
    display: contents;
}

#experience .achievements {
    grid-template-columns: 1fr;
}

#experience .exp-header {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

#experience .exp-info {
    display: contents;
}

#experience .exp-company {
    order: 1;
}

#experience .exp-date {
    order: 2;
    text-align: left;
    white-space: normal;
}

#experience .exp-role {
    order: 3;
}

#experience .exp-role::before {
    content: none;
}

#experience .exp-description {
    grid-column: 1 / -1;
    padding-top: 0.9rem;
    margin-top: 0.9rem;
    border-top: 1px solid var(--border-color);
}

#experience .details-content.show {
    margin-top: 0.6rem;
}

#experience .details-content h4 {
    margin-bottom: 0.5rem;
}

#experience .achievements {
    gap: 0.5rem 2rem;
}

#experience .achievements li {
    line-height: 1.45;
}

#experience .view-details-btn,
#experience .details-content {
    grid-column: 1 / -1;
}

/* Details are always shown - no toggle button */
#experience .view-details-btn {
    display: none;
}

/* Carousel nav arrows (below-right, matches Projects) */
/* Timeline progression stepper - replaces prev/next arrows */
#experience .carousel-nav {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin-top: 1.5rem;
    padding: 0 0.5rem;
}

#experience .timeline-points {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto auto;
    width: 100%;
    max-width: 700px;
}

#experience .timeline-point {
    grid-row: 1;
    position: relative;
    background: none;
    border: none;
    border-top: 3px solid rgba(64, 59, 53, 0.18);
    height: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

#experience .timeline-point::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(64, 59, 53, 0.3);
    transition: background 0.3s ease, transform 0.3s ease;
}

#experience .timeline-year {
    grid-row: 2;
    display: block;
    text-align: center;
    padding-top: 0.6rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(64, 59, 53, 0.55);
    transition: color 0.3s ease;
}

#experience .timeline-point.passed {
    border-top-color: var(--text-color);
}

#experience .timeline-point.passed::before {
    background: var(--text-color);
}

#experience .timeline-point.active {
    border-top-color: var(--text-color);
}

#experience .timeline-point.active::before {
    background: var(--text-color);
    transform: translateX(-50%) scale(1.4);
}

@media (max-width: 970px) {
    #experience .experience-card {
        flex: 0 0 85vw;
    }
}

/* Responsive */
@media (max-width: 970px) {
    .experience-timeline {
        padding: 1rem;
    }

    /* Hide timeline on mobile */
    .experience-timeline::before {
        display: none;
    }

    .experience-card {
        gap: 0.85rem;
        padding: 1.25rem 0.85rem;
        margin-bottom: 1.25rem;
    }

    .experience-card:last-child {
        margin-bottom: 0;
    }

    /* Hide dots and lines on mobile */
    .experience-card::before,
    .experience-card::after {
        display: none;
    }

    .exp-logo {
        width: 55px;
        height: 55px;
        min-width: 55px;
    }

    .exp-logo img {
        width: 36px;
        height: 36px;
    }

    .exp-header {
        flex-direction: column;
        gap: 0.2rem;
    }

    .exp-date {
        text-align: left;
    }

    .exp-company {
        font-size: 1rem;
    }

    .exp-role {
        font-size: 0.85rem;
    }

    .exp-date {
        font-size: 0.75rem;
    }

    .exp-description {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .view-details-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0;
    }

    .details-content h4 {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }

    .achievements {
        padding: 0.75rem;
    }

    .achievements li {
        font-size: 0.75rem;
        line-height: 1.5;
        margin-bottom: 0.5rem;
        gap: 0.5rem;
    }

    .achievements i {
        font-size: 0.7rem;
    }
}

/* Mobile-friendly adjustments */
@media (max-width: 600px) {
    .timeline {
        padding-left: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.1rem;
    }

    .timeline-content span,
    .timeline-content time {
        font-size: 0.85rem;
    }
}

/* Add styling for "My Current Time" in the clock */
.clock-container .timezone {
    white-space: nowrap; /* Prevent wrapping */
}

/* Clock styling */
.clock-container {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}

.timezone {
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1;
    font-family: var(--font-body);
    font-weight: 400;
}

/* Clock cell: a small caps label over the time, stacked like the two-row icon cells beside it */
nav .clock-container {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: start;
    align-content: center;
    align-items: baseline;
    column-gap: 0.4rem;
    row-gap: 0.5rem;
}

.clock-label {
    grid-column: 1 / -1;
    position: relative;
    z-index: 1;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    line-height: 1;
    white-space: nowrap;
    color: var(--text-color);
    opacity: 0.55;
    transition: color 0.45s ease;
}

nav .clock-container .time {
    font-size: 1.4rem;
    font-variant-numeric: tabular-nums;
}

nav .clock-container .clock-ampm,
nav .clock-container .timezone {
    font-size: 0.8rem;
}

nav .clock-container .timezone {
    opacity: 0.6;
}


/* Keep the desktop nav inside the window as it narrows (the mobile menu takes over at 970px) */
@media (max-width: 1400px) {
    nav .nav-links {
        gap: 1.5rem;
    }
}

@media (max-width: 1100px) {
    nav .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 992px) {
    nav .nav-icons {
        padding: 0;
    }
}

.time {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1;
    white-space: nowrap;
}

/* Animation for the seconds */
@keyframes pulseSeconds {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

.time span.seconds {
    display: inline-block;
    animation: pulseSeconds 1s infinite;
}

/* Responsive adjustments */
@media (max-width: 970px) {
    .clock-container {
        margin: 0;
    }
}

/* Email Copy Button Styles */
.copy-email {
    cursor: pointer;
    position: relative;
}

.copy-email:active {
    transform: scale(0.97);
}

/* Animation for the copy confirmation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.copy-email .fa-check {
    color: var(--string-color);
    animation: fadeIn 3.0s ease;
}

/* Resume link bubble styling is defined earlier in the file */

.photo-gallery-container {
    margin-top: 3rem;
}

.photo-gallery-container h3 {
    font-size: 1.4rem;
    color: var(--variable-color);
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Always 3 columns */

    gap: 1.5rem;
    margin-bottom: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    height: 0;
    padding-bottom: 100%; /* Creates a square aspect ratio */
}

.gallery-item:hover {
    border-color: var(--variable-color);
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: #fff;
    font-size: 0.9rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover figcaption {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 970px) {
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
}

/* Hide scrollbar for webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    display: none;
}


/* Alternative method - hide scrollbar but keep functionality */
body {
    -ms-overflow-style: none;
    scrollbar-width: none;
    background-color: #edddd4;
    /* faint tile grid: thin lines, cells taller than they are wide */
    background-image:
        linear-gradient(rgba(38, 35, 33, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(38, 35, 33, 0.05) 1px, transparent 1px);
    background-size: 40px 72px;
}

body::-webkit-scrollbar {
    display: none;             /* Chrome, Safari, Opera */
}

/* GitHub link styling in section header */
.github-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: auto;
    padding: 0.5rem 1rem;
    background-color: var(--box-bg);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--function-color);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.github-link:hover {
    background-color: var(--function-color);
    color: var(--box-bg);
}

.github-link i {
    font-size: 1.1rem;
}

.github-link::before, 
.github-link::after {
    display: none;
}

/* Light theme adjustments for GitHub link */
[data-theme="light"] .github-link {
    background-color: rgba(225, 228, 232, 0.4);
    color: var(--function-color);
}

[data-theme="light"] .github-link:hover {
    background-color: var(--function-color);
    color: var(--box-bg);
}

/* Responsive adjustment */
@media (max-width: 970px) {
    .github-link span {
        display: none;
    }

    .github-link {
        padding: 0.5rem;
        min-width: auto;
    }
}

/* Cat dance gif in bottom right corner */
.cat-dance {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 130px;
    height: auto;
    z-index: 1000;
    opacity: 1.0;
    transition: opacity 0.3s ease;
}

.cat-dance:hover {
    opacity: 1;
    transform: scale(1.1);
    transition: all 0.3s ease;
}

/* Make it smaller on mobile */
@media (max-width: 970px) {
    .cat-dance {
        width: 60px;
        bottom: 15px;
        right: 15px;
    }

    /* Contact section mobile fixes */
    .contact-options {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .contact-option {
        width: 100%;
        justify-content: center;
        padding: 1.25rem;
    }

    .contact-option span {
        font-size: 0.95rem;
        text-align: center;
    }
}

/* ===================================== */
/* SPOTIFY RECENTLY PLAYED SECTION      */
/* ===================================== */

.spotify-section {
    margin: 4rem 0 3rem 0;
    padding: 3rem;
    background: var(--box-bg);
    border-radius: 16px;
    border: 2px solid var(--border-color);
}

.spotify-section h3 {
    font-size: 1.75rem;
    color: var(--variable-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
}

.spotify-section h3 i {
    color: #1DB954; /* Spotify green */
    font-size: 1.6rem;
}

.spotify-tracks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.spotify-track-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--box-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.spotify-track-card:hover {
    border-color: #1DB954;
    background: #2a2a2a;
    transform: translateY(-2px);
}

.track-image {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.track-info {
    flex: 1;
    min-width: 0;
}

.track-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #f5f1e8;
    margin-bottom: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.track-artist {
    font-size: 1rem;
    color: var(--box-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.loading-text,
.no-tracks,
.error-text {
    text-align: center;
    padding: 2rem;
    color: var(--box-text);
    font-style: italic;
}

.error-text {
    color: var(--variable-color);
}

/* Mobile responsive */
@media (max-width: 970px) {
    .spotify-section {
        padding: 1.5rem;
        margin: 2rem 0 1.5rem 0;
    }

    .spotify-tracks {
        grid-template-columns: 1fr;
    }

    .spotify-track-card {
        padding: 0.75rem;
    }

    .track-image {
        width: 56px;
        height: 56px;
    }

    .track-name {
        font-size: 0.9rem;
    }

    .track-artist {
        font-size: 0.8rem;
    }
}

/* ========================================
   CUSTOM CURSOR STYLES
   ======================================== */

/* Hide default cursor on desktop */
@media (min-width: 971px) {
    * {
        cursor: none !important;
    }
}

/* Cursor dot */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10001;
    transition: transform 0.15s ease, background-color 0.2s ease;
    transform: translate(-50%, -50%);
}

/* Cursor ring */
.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid var(--text-color);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    transition: transform 0.1s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
    transform: translate(-50%, -50%);
}

/* Cursor hover states */
.cursor-dot.hover {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgb(66, 122, 67);
}

.cursor-ring.hover {
    width: 60px;
    height: 60px;
    border-color: rgba(66, 122, 67, 0.8);
}

/* Hide custom cursor on mobile */
@media (max-width: 970px) {
    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

/* ========================================
   SCROLL FADE-IN ANIMATIONS
   ======================================== */

/* Sections animate in after loading */
body.loaded section#experience,
body.loaded section#education,
body.loaded section#skills,
body.loaded section#projects,
body.loaded section#photos,
body.loaded section#contact {
    opacity: 1;
    transform: translateY(0);
}



/* ========================================
   PARALLAX & COLOR SHIFT EFFECTS

/* ========================================
   PARALLAX & COLOR SHIFT EFFECTS
   ======================================== */

/* Smooth background color transitions */


/* Allow blob container to move with parallax */
.blob-container {
    will-change: transform;
}
/* ========================================
   SCROLL-LINKED STAGGER REVEAL
   ======================================== */

.reveal-item {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.9s cubic-bezier(0.4, 0, 0.2, 1), transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */

.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(168, 85, 247, 0.9);
    backdrop-filter: blur(100px) saturate(180%);
    -webkit-backdrop-filter: blur(100px) saturate(180%);
    border: 2px solid rgba(192, 132, 252, 0.5);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.back-to-top:hover {
    background: rgba(192, 132, 252, 1);
    transform: translateY(0) scale(1.1);
    box-shadow: 0 6px 30px rgba(168, 85, 247, 0.5);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 970px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}
