:root {
    /* Colors */
    --on-surface-variant: #5a5c5c;
    --surface-container-lowest: #ffffff;
    --on-tertiary: #ffefed;
    --primary: #006a2c;
    --on-secondary-fixed: #31414f;
    --on-background: #2d2f2f;
    --inverse-primary: #00fe74;
    --on-secondary-container: #445362;
    --on-primary-fixed: #00461b;
    --on-tertiary-fixed: #3a0002;
    --tertiary-fixed: #ff9287;
    --secondary-fixed: #d4e4f6;
    --inverse-on-surface: #9c9d9d;
    --outline-variant: #acadad;
    --tertiary: #bb0012;
    --surface-tint: #006a2c;
    --on-error: #ffefee;
    --error-container: #fb5151;
    --tertiary-dim: #a4000e;
    --primary-fixed: #00fe74;
    --on-error-container: #570008;
    --surface-container-high: #e1e3e3;
    --surface-bright: #f6f6f6;
    --error-dim: #9f0519;
    --background: #f6f6f6;
    --error: #b31b25;
    --outline: #767777;
    --on-primary-container: #005b25;
    --secondary-container: #d4e4f6;
    --tertiary-fixed-dim: #ff7b6f;
    --primary-container: #00fe74;
    --on-primary-fixed-variant: #00662a;
    --surface-dim: #d3d5d5;
    --on-secondary-fixed-variant: #4e5d6c;
    --on-tertiary-container: #690005;
    --surface-variant: #dbdddd;
    --secondary-fixed-dim: #c6d6e8;
    --surface-container-low: #f0f1f1;
    --primary-dim: #00b84d;
    --secondary: #4e5d6c;
    --surface-container: #e7e8e8;
    --on-secondary: #eaf4ff;
    --surface: 246, 246, 246;
    --on-surface: #2d2f2f;
    --surface-container-highest: #dbdddd;
    --tertiary-container: #ffedea;
    --inverse-surface: #0c0f0f;
    --on-primary: #ceffd0;
    --secondary-dim: #425160;
    --on-tertiary-fixed-variant: #7a0008;
    --primary-fixed-dim: #00ee6d;

    /* Border Radius */
    --radius-default: 1rem;
    --radius-md: 1.25rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-2xl: 2.5rem;
    --radius-full: 9999px;

    /* Fonts */
    --font-headline: 'JT Marnie', 'Space Grotesk', sans-serif;
    --font-body: 'JT Marnie', 'Inter', sans-serif;
    --font-label: 'Manrope', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

@font-face {
    font-family: 'JT Marnie';
    src: url('./media/jt-marnie/JTMarnie-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'JT Marnie';
    src: url('./media/jt-marnie/JTMarnie-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'JT Marnie';
    src: url('./media/jt-marnie/JTMarnie-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'JT Marnie';
    src: url('./media/jt-marnie/JTMarnie-ExtraBold.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}

/* =========================================
   BASE STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--surface);
    color: var(--on-surface);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-headline);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

pre {
    white-space: pre-wrap;
    word-break: break-word;
}

::selection {
    background-color: var(--primary-container);
    color: var(--on-primary-container);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    display: inline-block;
    vertical-align: middle;
}

/* =========================================
   LAYOUT UTILITIES
   ========================================= */
.max-w-7xl {
    max-width: 80rem;
    margin-inline: auto;
}

.max-w-5xl {
    max-width: 64rem;
}

.max-w-4xl {
    max-width: 56rem;
}

.max-w-2xl {
    max-width: 42rem;
}

.max-w-xl {
    max-width: 36rem;
}

.mx-auto {
    margin-inline: auto;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.flex-1 {
    flex: 1 1 0%;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.justify-end {
    justify-content: flex-end;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-6 {
    gap: 1.5rem;
}

.gap-8 {
    gap: 2rem;
}

.gap-10 {
    gap: 2.5rem;
}

.gap-16 {
    gap: 4rem;
}

.gap-32 {
    gap: 8rem;
}

.gap-x-8 {
    column-gap: 2rem;
}

.gap-x-16 {
    column-gap: 4rem;
}

.gap-y-4 {
    row-gap: 1rem;
}

.gap-y-32 {
    row-gap: 8rem;
}

.grid {
    display: grid;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

.relative {
    position: relative;
}

.fixed {
    position: fixed;
}

.absolute {
    position: absolute;
}

.inset-0 {
    inset: 0;
}

.z-50 {
    z-index: 50;
}

.overflow-hidden {
    overflow: hidden;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

/* =========================================
   RESPONSIVE GRID
   ========================================= */
@media (min-width: 768px) {
    .md\:flex {
        display: flex;
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-cols-12 {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .md\:col-span-4 {
        grid-column: span 4 / span 4;
    }

    .md\:col-span-5 {
        grid-column: span 5 / span 5;
    }

    .md\:col-span-7 {
        grid-column: span 7 / span 7;
    }

    .md\:col-span-8 {
        grid-column: span 8 / span 8;
    }

    .md\:col-span-10 {
        grid-column: span 10 / span 10;
    }

    .md\:col-span-12 {
        grid-column: span 12 / span 12;
    }

    .md\:order-1 {
        order: 1;
    }

    .md\:order-2 {
        order: 2;
    }

    .md\:px-12 {
        padding-inline: 3rem;
    }

    .md\:w-1\/3 {
        width: 33.333333%;
    }

    .md\:mt-16 {
        margin-top: 4rem;
    }

    .md\:mt-8 {
        margin-top: 2rem;
    }
}

@media (min-width: 1024px) {
    .lg\:col-span-4 {
        grid-column: span 4 / span 4;
    }

    .lg\:col-span-8 {
        grid-column: span 8 / span 8;
    }
}

/* =========================================
   BORDER RADIUS
   ========================================= */
.rounded-1xl {
    border-radius: 1rem;
}

.rounded-2xl {
    border-radius: 2rem;
}

.rounded-3xl {
    border-radius: 3rem;
}

.rounded-full {
    border-radius: var(--radius-full);
}

/* =========================================
   SPACING
   ========================================= */
.p-1 {
    padding: 0.25rem;
}

.p-2 {
    padding: 0.5rem;
}

.p-3 {
    padding: 0.75rem;
}

.p-6 {
    padding: 1.5rem;
}

.p-8 {
    padding: 2rem;
}

.p-10 {
    padding: 2.5rem;
}

.px-4 {
    padding-inline: 1em;
}

.px-8 {
    padding-inline: 2rem;
}

.px-24 {
    padding-inline: 6rem;
}

.py-4 {
    padding-block: 1rem;
}

.pt-4 {
    padding-top: 1rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pt-24 {
    padding-top: 6rem;
}

.pt-32 {
    padding-top: 8rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pb-4 {
    padding-bottom: 1rem;
}

.pb-20 {
    padding-bottom: 5rem;
}

.pb-24 {
    padding-bottom: 6rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-20 {
    margin-bottom: 5rem;
}

.mb-32 {
    margin-bottom: 8rem;
}

.mt-1 {
    margin-top: 0.25rem;
}



/* =========================================
   TRANSITIONS
   ========================================= */
.transition-all * {
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-colors {
    transition: color 300ms, background-color 300ms;
}

.transition-transform {
    transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-opacity {
    transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.duration-300 {
    transition-duration: 300ms;
}

.duration-500 {
    transition-duration: 500ms;
}

.duration-700 * {
    transition-duration: 700ms;
}

/* =========================================
   GROUP HOVER EFFECTS
   ========================================= */
.group:hover .group-hover\:scale-95 {
    transform: scale(0.95);
}

.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

.group:hover .group-hover\:-translate-x-1 {
    transform: translateX(-0.25rem);
}

.group:hover .group-hover\:translate-x-1 {
    transform: translateX(0.25rem);
}

.group:hover .group-hover\:translate-x-2 {
    transform: translateX(0.5rem);
}

.group:hover .group-hover\:text-primary {
    color: var(--primary);
}

.group:hover .group-hover\:opacity-100 {
    opacity: 1;
}

.group:hover .group-hover\:grayscale-0 {
    filter: grayscale(0) contrast(1);
}

.group:hover .group-hover\:brightness-130 {
    filter: brightness(1.3);
}

/* =========================================
   BACKGROUNDS
   ========================================= */
.bg-surface {
    background-color: var(--surface);
}


.bg-surface-container-low {
    background-color: var(--surface-container-low);
}

.bg-surface-container-high {
    background-color: var(--surface-container-high);
}

.bg-surface-container-lowest {
    background-color: var(--surface-container-lowest);
}

.bg-surface-variant {
    background-color: var(--surface-variant);
}

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

.bg-primary-gradient {
    background: linear-gradient(to right, var(--primary), var(--primary-dim));
}

.bg-tertiary {
    background-color: var(--tertiary);
}

/* =========================================
   BORDERS
   ========================================= */
.border-b {
    border-bottom: 1px solid var(--outline-variant);
}

.border-l-8 {
    border-left: 8px solid;
}

.border-t-4 {
    border-top: 4px solid;
}

.border-2 {
    border: 2px solid;
}

.border-primary {
    border-color: var(--primary);
}

.border-tertiary {
    border-color: var(--tertiary);
}

.border-primary\/20 {
    border-color: rgba(0, 106, 44, 0.2);
}

.border-on-primary\/10 {
    border-color: rgba(206, 255, 208, 0.1);
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
.font-headline {
    font-family: var(--font-headline);
}

.font-body {
    font-family: var(--font-body);
}

.font-label {
    font-family: var(--font-label);
}

.font-mono {
    font-family: var(--font-mono);
}

.font-extrabold {
    font-weight: 900 !important;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-light {
    font-weight: 300;
}

.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-5xl {
    font-size: 3rem;
}

.text-6xl {
    font-size: 3.75rem;
}

.text-8xl {
    font-size: 6rem;
}

.text-10px {
    font-size: 10px;
}

.tracking-tighter {
    letter-spacing: -0.05em;
}

.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.uppercase {
    text-transform: uppercase;
}

.leading-none {
    line-height: 1;
}

.leading-tight {
    line-height: 1.25;
}

.leading-relaxed {
    line-height: 1.625;
}

.leading-loose {
    line-height: 2;
}

.text-center {
    text-align: center;
}

.text-on-surface {
    color: var(--on-surface);
}

.text-on-surface-variant {
    color: var(--on-surface-variant);
}

.text-on-background {
    color: var(--on-background);
}

.text-on-primary {
    color: var(--on-primary);
}

.text-outline {
    color: var(--outline);
}

.text-primary {
    color: var(--primary);
}

.text-tertiary {
    color: var(--tertiary);
}

.text-white {
    color: #ffffff;
}

/* Gradient text */
.text-gradient {
    --text-gradient-bg: linear-gradient(to right, var(--primary), var(--primary-dim));
    background-image: var(--text-gradient-bg);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* =========================================
   SIZING
   ========================================= */
.h-px {
    height: 1px;
}

.h-1 {
    height: 0.25rem;
}

.h-2 {
    height: 0.5rem;
}

.h-2\.5 {
    height: 0.625rem;
}

.w-2 {
    width: 0.5rem;
}

.w-2\.5 {
    width: 0.625rem;
}

.w-8 {
    width: 2rem;
}

.w-24 {
    width: 6rem;
}

/* =========================================
   OPACITY
   ========================================= */
.opacity-0 {
    opacity: 0;
}

.opacity-30 {
    opacity: 0.3;
}

.opacity-70 {
    opacity: 0.7;
}

.opacity-80 {
    opacity: 0.8;
}

.opacity-90 {
    opacity: 0.9;
}

/* =========================================
   DISPLAY
   ========================================= */
.block {
    display: block;
}

/* =========================================
   SHADOWS
   ========================================= */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.shadow-inner {
    box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

/* =========================================
   MISC UTILITIES
   ========================================= */
.cursor-pointer {
    cursor: pointer;
}

.cursor-none {
    cursor: none;
}

.mix-blend-multiply {
    mix-blend-mode: multiply;
}

.space-y-4>*+* {
    margin-top: 1rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.space-y-12>*+* {
    margin-top: 3rem;
}

.space-y-16>*+* {
    margin-top: 4rem;
}

/* =========================================
   ASPECT RATIOS
   ========================================= */
.aspect-video {
    aspect-ratio: 16 / 9;
}

.aspect-4\/3 {
    aspect-ratio: 4 / 3;
}

.aspect-square {
    aspect-ratio: 1 / 1;
}

/* =========================================
   IMAGE
   ========================================= */
.object-cover {
    object-fit: cover;
}

.grayscale {
    filter: grayscale(0.6) contrast(1);
}

/* =========================================
   ANIMATION
   ========================================= */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

/* =========================================
   LIQUID GLASS
   ========================================= */
.glass-surface {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /*border: 1px solid rgba(255, 255, 255, 0.4);*/

    isolation: isolate;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.big-glass {
    box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
}

.small-glass {
    box-shadow: 0 1px 0px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
}

.glass-surface::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    backdrop-filter: blur(3px);
    filter: url(#glass-distortion);
    pointer-events: none;
    border-radius: inherit;
}

.glass-surface::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    box-shadow: inset 2px 2px 1px 0 rgba(255, 255, 255, 0.5),
        inset -1px -1px 1px 1px rgba(255, 255, 255, 0.5);
    pointer-events: none;
    border-radius: inherit;
}

.glass-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    isolation: isolate;
}

.glass-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    filter: url(#glass-distortion);
    pointer-events: none;
    border-radius: inherit;
    background: inherit;
    opacity: 0.8;
}

.glass-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    box-shadow:
        inset 1.5px 1.5px 1px 0 rgba(255, 255, 255, 0.6),
        inset -0.5px -0.5px 1px 0 rgba(255, 255, 255, 0.4);
    pointer-events: none;
    border-radius: inherit;
}

.glass-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.glass-btn:active {
    transform: translateY(0);
    filter: brightness(0.95);
}

/* =========================================
   BLUEPRINT GRID
   ========================================= */
.blueprint-grid {
    background-image: radial-gradient(var(--surface-variant) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* =========================================
   NAVIGATION
   ========================================= */
.nav-container {
    position: fixed;
    z-index: 100;
    top: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 80rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: visible !important;
    /* Allow sidebar to be seen */
}

@media (max-width: 767px) {
    .nav-container {
        left: 0;
        transform: none;
        width: 100%;
        top: 0;
        border-radius: 0;
        padding-inline: 1.5rem;
    }
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.05em;
    color: #0f172a;
    font-family: var(--font-headline);
    text-transform: uppercase;
}

.nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 150px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    z-index: 100;
}

.nav-link-contact {
    display: none;
    /* Hide by default, show in mobile sidebar */
}

@media (max-width: 767px) {
    .nav-links {
        padding-top: 3rem; /* space above first .nav-link on mobile */
        padding: 3rem;
        border-top-left-radius: var(--radius-2xl);
        border-bottom-left-radius: var(--radius-2xl);
    }

    .nav-link-contact {
        display: flex;
        margin-top: auto;
        margin-bottom: 3rem;
        justify-content: start;
        background-color: var(--primary) !important;
        color: var(--on-primary) !important;
        padding-inline: 2.5rem !important;
        padding-block: 0.5rem !important;
    }

    .nav-link {
        font-size: 1.4rem;
    }

    .nav-link-big {
        font-size: 1.6rem;
    }
}
.nav-links.active-mobile {
    right: 0;
}

.mobile-menu-toggle {
    display: flex;
    background: transparent;
    border: none;
    color: var(--on-surface);
    cursor: pointer;
    z-index: 101;
    /* above the nav-links */
}

/* @media (max-width: 767px) {
    .btn-contact {
        display: none;
    }
} */

@media (min-width: 768px) {
    .nav-links {
        position: static;
        width: auto;
        height: auto;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        flex-direction: row;
        box-shadow: none;
        border-left: none;
        gap: 3.5rem;
        justify-content: center;
        padding-top: 0;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .nav-link-big {
        font-size: 1.3rem;
    }
}

.nav-link {
    color: #475569;
    font-family: var(--font-headline);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    background: transparent;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--tertiary);
    background: rgba(255, 255, 255, 0.6);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn-contact {
    background-color: var(--primary);
    color: var(--on-primary);
    padding-inline: 1.5rem;
    padding-block: 0.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-headline);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    font-size: 0.875rem;
    overflow: hidden;
}

@media (max-width: 767px) {
    .btn-contact {
        display: none;
        /* Hide main contact button on mobile */
    }
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    width: 100%;
    padding-block: 3rem;
    padding-inline: 12rem;
    border-top: 1px solid #e2e8f0;
    background-color: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .site-footer {
        flex-direction: row;
    }
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #0f172a;
    text-transform: uppercase;
}

.footer-copy {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    color: #64748b;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #64748b;
    opacity: 0.8;
    text-transform: uppercase;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-link:hover {
    color: #60a5fa;
    opacity: 1;
}

/* =========================================
   HERO SECTION (index.html)
   ========================================= */
.hero-section {
    padding-inline: 2rem;
    padding-block: 4rem;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .hero-section {
        padding-inline: 5rem;
    }
}

.hero-tag {
    font-family: var(--font-mono);
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-title {
    font-size: 3rem;
    font-family: var(--font-headline);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin-bottom: 3rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-inline: 1.5rem;
    padding-block: 0.75rem;
}

.hero-badge-label {
    font-family: var(--font-label);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--on-surface-variant);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* =========================================
   SHINING ANIMATION
   ========================================= */
.shine {
    display: inline-block;

    /* Shine layer */
    background-image: linear-gradient(45deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.0) 50%,
            rgba(255, 255, 255, 0.13) 85%,
            rgba(255, 255, 255, 0.505) 97%,
            rgba(255, 255, 255, 0.0) 100%),
        var(--text-gradient-bg, linear-gradient(var(--primary), var(--primary)));

    /* Layer 1 is 200% width to allow sweeping, Layer 2 is 100% */
    background-size: 200% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat;

    /* Initial positions */
    background-position: -200% 100%, 0 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;

    animation: shine_text 10s infinite;
}

@keyframes shine_text {
    0% {
        background-position: 200% 0;
    }

    90% {
        background-position: -200% 0%;
    }

    100% {
        background-position: -200% 0%;
    }
}




/* =========================================
   ARSENAL SECTION (index.html)
   ========================================= */
.arsenal-section {
    padding-inline: 2rem;
    padding-block: 8rem;
    background-color: var(--surface-container-low);
}

@media (min-width: 1000px) {
    .arsenal-section {
        padding-inline: 5rem;
    }
}

.arsenal-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 80rem;
    margin-inline: auto;
}

@media (min-width: 768px) {
    .arsenal-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}

.arsenal-header {
    grid-column: 1 / -1;
    margin-bottom: 2rem;
}

.skill-tag {
    padding-inline: 1rem;
    padding-block: 0.375rem;
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: var(--radius-full);
    border: 1px solid #f1f5f9;
}

.devops-mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
}

@media (min-width: 768px) {
    .devops-mini-grid {
        width: auto;
    }
}

.devops-mini-card {
    padding: 1.5rem;
    background-color: var(--surface-container-low);
    text-align: center;
    border-radius: var(--radius-lg);
}

/* =========================================
   PROJECTS SECTION (index.html)
   ========================================= */
.projects-section {
    padding-inline: 2rem;
    padding-block: 4rem 7rem;
    background-color: var(--surface);
}

@media (min-width: 768px) {
    .projects-section {
        padding-inline: 5rem;
    }
}

.projects-header {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5rem;
    gap: 2rem;
}

@media (min-width: 768px) {
    .projects-header {
        flex-direction: row;
        align-items: flex-end;
    }
}

.project-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    align-items: center;
    cursor: default;
}

@media (min-width: 768px) {
    .project-item {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.project-overlay {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0;
    transition: opacity 300ms;
}

.group:hover .project-overlay {
    opacity: 1;
}

.project-tag {
    display: inline-block;
    font-family: var(--font-label);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding-block: 0.5rem;
    padding-inline: 1rem;
    border: 1px solid rgba(172, 173, 173, 0.3);
}

/* =========================================
   CTA SECTION (index.html)
   ========================================= */
.cta-section {
    position: relative;
    padding-inline: 2rem;
    padding-block: 10rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cta-section {
        padding-inline: 5rem;
    }
}

.cta-bg {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 106, 44, 0.05);
    z-index: -1;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    justify-content: center;
}

@media (min-width: 768px) {
    .cta-buttons {
        flex-direction: row;
    }
}

.btn-primary {
    background-color: var(--primary);
    color: var(--on-primary);
    padding-inline: 2.5rem;
    padding-block: 1.25rem;
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
}

.btn-secondary {
    color: var(--on-surface);
    padding-inline: 2.5rem;
    padding-block: 1.25rem;
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    font-size: 1.125rem;
    border-radius: var(--radius-full);
    border: 2px solid rgba(0, 106, 44, 0.2);
}

/* =========================================
   PROJECTS PAGE (projects.php)
   ========================================= */
.projects-hero {
    margin-bottom: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
}

@media (min-width: 768px) {
    .projects-hero {
        flex-direction: row;
        align-items: flex-end;
    }
}

.filter-bar {
    margin-bottom: 4rem;
}

.filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.filter-btn {
    padding-inline: 1.5rem;
    padding-block: 0.5rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    transition: background-color 0.3s ease, color 0.3s ease;
    text-decoration: none;
    display: inline-block;
    background-color: var(--surface-container-high);
    color: var(--on-surface-variant);
    transition: all 0.3s ease;
}

.filter-btn--active {
    transform: translateY(-4px) !important;
    box-shadow:
        0 10px 15px 3px rgba(0, 0, 0, 0.15),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    filter: brightness(1) contrast(1.2);
}

.filter-btn--active:hover {
    transform: translateY(-6px) !important;
    box-shadow:
        0 12px 15px 3px rgba(0, 0, 0, 0.15),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    filter: brightness(1) contrast(1.2);
}

.filter-btn--inactive {}

.filter-btn--inactive:hover {
    background-color: var(--surface-variant);
}

.build-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.build-status-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--surface-container-low);
    padding-inline: 1rem;
    padding-block: 0.5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
}

.project-card-image-wrap {
    margin-bottom: 2rem;
    overflow: hidden;
    background-color: var(--surface-container-low);
    aspect-ratio: 16 / 10;
    position: relative;
    border-radius: var(--radius-2xl);
    box-shadow: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
}

.project-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(2px);
    padding-inline: 0.75rem;
    padding-block: 0.25rem;
    font-size: 10px;
    font-family: var(--font-mono);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: var(--radius-full);
}

.project-card-tag {
    padding-inline: 0.75rem;
    padding-block: 0.25rem;
    background-color: rgba(0, 106, 44, 0.05);
    color: var(--primary);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 10px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.project-card-divider {
    height: 1px;
    background-color: rgba(172, 173, 173, 0.2);
    width: 100%;
    margin-bottom: 1.5rem;
}

.project-card-code {
    font-size: 0.75rem;
    color: var(--primary);
    font-family: var(--font-mono);
    font-weight: 700;
    background-color: rgba(0, 106, 44, 0.05);
    padding-inline: 0.5rem;
    padding-block: 0.25rem;
    border-radius: var(--radius-default);
}

.tech-stack-section {
    margin-top: 12rem;
    padding-top: 6rem;
    border-top: 1px solid rgba(172, 173, 173, 0.1);
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
}

.tech-stack-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-stack-label {
    color: var(--primary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
}

@media (min-width: 768px) {
    .tech-stack-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .project-card-badge {
        font-size: 8px;
        padding-block: 0.15rem;
        top: 0.1rem;
        left: 0.5rem;
    }
    .text-3xl {
        font-size: 1.5rem;
    }
    .project-card-tag {
        font-size: 8px;
        padding-block: 0.15rem;
        padding-inline: 0.5rem;
    }

    .project-card-image-wrap {
        margin-bottom: 0;
    }

    .project-card-title {
        margin-top:1rem;
    }

    .mb-6 {
        margin-bottom: 0.75rem;
    }
}
/* =========================================
   PROJECT DETAIL PAGE
   ========================================= */
.detail-hero {
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: flex-end;
}

@media (min-width: 768px) {
    .detail-hero {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }
}

.detail-hero-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: leftt;
}

.detail-hero-meta-item {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--outline);
    text-transform: uppercase;
}

.detail-image-banner {
    width: 80%;
    aspect-ratio: 21 / 9;
    background-color: var(--surface-container-high);
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    margin-bottom: 5rem;
}

.detail-image-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 106, 44, 0.05);
    mix-blend-mode: overlay;
}

.detail-narrative {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 8rem;
}

@media (min-width: 768px) {
    .detail-narrative {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        align-items: start;
    }
}

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

.feature-card {
    padding: 2rem;
    border-radius: 3rem;
}

.feature-card--span-2 {
    grid-column: span 2 / span 2;
}

.feature-card--primary {
    background-color: color-mix(in srgb, var(--primary), transparent 10%);
    color: var(--on-primary);
}

.tech-spec-section {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 8rem;
}

@media (min-width: 1024px) {
    .tech-spec-section {
        grid-template-columns: repeat(12, minmax(0, 1fr));
    }

    .tech-spec-sidebar {
        grid-column: span 4 / span 4;
    }

    .tech-spec-code {
        grid-column: span 8 / span 8;
    }
}

.tech-spec-sidebar {
    position: sticky;
    top: 8rem;
}

.tech-tag-pill {
    display: inline-block;
    background-color: var(--surface-variant);
    padding-inline: 0.75rem;
    padding-block: 0.25rem;
    border-radius: var(--radius-full);
    font-size: 10px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--on-surface-variant);
}

.code-block-wrap {
    border-left: 4px solid var(--primary);
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    overflow-x: auto;
    border-radius: 3rem;
}

.code-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.detail-secondary-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 6rem;
}

@media (min-width: 768px) {
    .detail-secondary-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.detail-number-card {
    background-color: var(--surface-container-highest);
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

.project-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: 1px solid rgba(172, 173, 173, 0.2);
}

/* =========================================
   VEILLE PAGE
   ========================================= */
.veille-hero-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.veille-divider {
    height: 1px;
    width: 6rem;
    background-color: rgba(172, 173, 173, 0.3);
}

.article-category-badge {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--primary);
    background-color: rgba(0, 106, 44, 0.05);
    padding-inline: 0.75rem;
    padding-block: 0.25rem;
    border-radius: var(--radius-full);
}

.article-category-badge--outline {
    background-color: transparent;
    border: 1px solid rgba(0, 106, 44, 0.2);
}

.article-read-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /*font-family: var(--font-label);*/
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    transition: gap 0.3s ease;
}

.group:hover .article-read-link {
    gap: 1rem;
}

.video-timestamp {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    font-family: var(--font-mono);
    font-size: 10px;
    background-color: var(--on-background);
    color: var(--surface);
    padding-inline: 0.375rem;
    padding-block: 0.125rem;
}

.secondary-btn::before {
    background-color: var(--surface-container-low);
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer !important;
    transition: background-color 0.3s ease;
}

.secondary-btn:hover {
    background-color: rgba(0, 254, 116, 0.2);
    cursor: pointer !important;
}

.tool-icon-wrap {
    width: 2.5rem;
    height: 2.5rem;
    /*background-color: rgba(var(--surface) 0.8);*/
    display: flex;
    align-items: center;
    justify-content: center;
    /*border: 1px solid rgba(172, 173, 173, 0.2);*/
}

.archive-link {
    display: block;
    width: 100%;
    padding-block: 1rem;
    text-align: center;
    border: 2px solid rgba(0, 106, 44, 0.2);
    font-family: var(--font-headline);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.archive-link:hover {
    background-color: var(--primary);
    color: var(--on-primary);
}

.section-heading-bar {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-bottom: 1px solid rgba(172, 173, 173, 0.2);
    padding-bottom: 1rem;
}

/* Smartphone / vertical layout */
@media (max-width: 768px) {
    html {
        font-size: 10px;
    }
}