:root {
    /* Color Palette */
    --color-apricot: #f2e2df;

    --color-chartreuse: #C1CCE2;
    /* #E6EB9A */
    --color-vista-blue: #5B7EC0;
    --color-tomato: #F0521E;
    --color-sunset: #E8A820;
    --color-smoke: #e8e2e3;
    --color-highlight: #E6EB9A;
    --color-pink: #F2A9CC;

    --bg-color: #FEFEFD;
    --text-color: #303030;
    --surface-color: transparent;
    --border-color: rgba(26, 26, 26, 0.15);

    --font-primary: 'DM Sans', sans-serif;
    --font-secondary: 'Fraunces', serif;
    --font-serif: 'Fraunces', serif;

    --transition-smooth: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: 0.3s ease;
    --transition-slow: .8s ease;

    /* Fluid type scale — 375px → 1200px
       Formula: clamp(min, intercept + slope*vw, max)  */
    --text-xs: clamp(0.72rem, 0.68rem + 0.19vw, 0.8rem);
    /* ~11.5–12.8px  labels, badges     */
    --text-sm: clamp(0.85rem, 0.81rem + 0.19vw, 0.95rem);
    /* ~13.6–15.2px  captions, nav      */
    --text-base: clamp(1rem, 0.96rem + 0.22vw, 1.1rem);
    /* ~16–17.6px    body               */
    --text-lg: clamp(1.125rem, 1.05rem + 0.38vw, 1.3rem);
    /* ~18–20.8px    large body, h4     */
    --text-xl: clamp(1.35rem, 1.2rem + 0.73vw, 1.7rem);
    /* ~21.6–27.2px  h3, subtitle       */
    --text-2xl: clamp(1.75rem, 1.4rem + 1.65vw, 2.55rem);
    /* ~28–40.8px    section headline   */
    --text-3xl: clamp(2.25rem, 1.65rem + 2.9vw, 3.65rem);
    /* ~36–58.4px    project title      */
    --text-4xl: clamp(3.5rem, 2.3rem + 5.8vw, 6.5rem);
    /* ~56–104px     hero headline      */

    /* Leading */
    --leading-tight: 1.1;
    --leading-snug: 1.25;
    --leading-normal: 1.5;
    --leading-relaxed: 1.65;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

}

.material-symbols-outlined {
    font-variation-settings:
        'FILL' 0,
        'wght' 400,
        'GRAD' 0,
        'opsz' 22
}

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

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

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(circle at 0% 30%, rgba(242, 226, 223, 0.7) 0%, rgba(242, 226, 223, 0) 60%),
        radial-gradient(circle at 100% 100%, rgba(232, 168, 32, 0.18) 0%, rgba(232, 168, 32, 0) 60%);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background-color: var(--text-color);
    color: var(--bg-color);
}

/* Typography Wrapping / Prevention of Orphans */
h1,
h2,
h3,
h4,
h5,
h6,
.project-title {
    text-wrap: auto;
}

p,
li,
.project-subtitle {
    text-wrap: pretty;
}

/* Typography */
h1,
h2,
h3,
.logo {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
}

h1 {
    font-size: var(--text-3xl);
    max-width: 900px;
}

h2 {
    font-size: var(--text-2xl);
    margin-bottom: 2rem;
    letter-spacing: -0.03em;
}

h3 {
    font-size: var(--text-xl);
    margin-bottom: 0.75rem;
    font-weight: 500;
    letter-spacing: -0.02em;
}

p {
    font-size: var(--text-base);
    /* color: rgba(26, 26, 26, 0.75); */
    color: var(--text-color);
}

.section-title {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    color: var(--text-color);
}

.large-text {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

/* Highlights */
.highlight-orange {
    color: var(--color-tomato);
    font-style: italic;
    background-color: transparent;
    padding: 0;
}

.highlight-green {
    color: var(--color-chartreuse);
    font-style: italic;
    background-color: transparent;
    padding: 0;
}

.highlight-blue {
    color: var(--color-vista-blue);
    font-style: italic;
    background-color: transparent;
    padding: 0;
}

.highlight-pink {
    color: var(--color-pink);
    font-style: italic;
    background-color: transparent;
    padding: 0;
}

.animated-highlight {
    background-image: linear-gradient(to right, var(--color-highlight) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    background-repeat: no-repeat;
    border-radius: var(--radius-sm);
    padding: 2px 4px;
    margin: 0 -4px;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
    transition: background-position 1s cubic-bezier(0.16, 1, 0.3, 1) .1s;
}

.animated-highlight.blue {
    background-image: linear-gradient(to right, rgba(91, 126, 192, 0.4) 50%, transparent 50%);
}

.animated-highlight.orange {
    background-image: linear-gradient(to right, rgba(240, 82, 30, 0.3) 50%, transparent 50%);
}

.reveal.active .animated-highlight,
.animated-highlight.active {
    background-position: 0 0;
}

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

.italic {
    font-style: italic;
}

a {
    color: inherit;
    text-decoration: none;
    border-radius: 2px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    margin-right: auto;
    margin-left: auto;
    background: rgba(254, 254, 253, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, background 0.3s ease;
}

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

.navbar.minimized {
    padding: 0.8rem 5%;
    background: rgba(254, 254, 253, 0.25);
    border-bottom: 1px solid rgba(26, 26, 26, 0.05);
}

.logo {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 3rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-links a {
    position: relative;
    padding-bottom: 6px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color var(--transition-fast);
}

.nav-links a:hover::after {
    background-color: var(--color-chartreuse);
}

/* Mobile Menu Styles */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--bg-color);
    z-index: 999;
    padding: 6rem 5% 4rem;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
    opacity: 0;
    pointer-events: none;
    overflow-y: auto;
}

.mobile-menu-overlay.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.menu-close {
    position: absolute;
    top: 2rem;
    right: 5%;
    background: none;
    border: none;
    color: var(--text-color);
    cursor: pointer;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 2rem;
}

.mobile-menu-header h2 {
    font-size: 2.5rem;
    font-family: var(--font-serif);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.mobile-menu-header p {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.mobile-menu-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu-label {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: rgba(26, 26, 26, 0.3);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.mobile-menu-link {
    font-size: 1.2rem;
    font-family: var(--font-primary);
    font-weight: 500;
    width: fit-content;
    color: var(--text-color);
    border-radius: 2px;
}

/* Base Layout */
.section {
    padding: 8rem 5%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

/* Intro Section */
.home.section {
    align-items: flex-start;
    padding-top: 12rem;
    padding-bottom: 5rem;
    min-height: auto;
}

.home-content {
    max-width: 1000px;
}

.headline-title {
    font-family: var(--font-serif);
    font-size: clamp(4.5rem, 5.5vw, 5.5rem);
    font-weight: 500;
    font-optical-sizing: auto;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 4rem;
    max-width: 900px;
}

.headline-dot {
    color: var(--color-tomato);
    display: inline-block;
    animation: dot-pulse 3s ease-in-out infinite;
}

@keyframes dot-pulse {

    0%,
    100% {
        opacity: 1;
        transform: translateY(0);
    }

    50% {
        opacity: 0.5;
        transform: translateY(-4px);
    }
}

@keyframes letter-rise {
    from {
        opacity: 0;
        transform: translateY(0.4em);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.headline-letter {
    display: inline-block;
    opacity: 0;
    animation: letter-rise 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.home-bio {
    font-size: clamp(2rem, 2vw, 2rem);
    line-height: 1.4;
    color: var(--text-color);
    max-width: 750px;
    margin-bottom: 1rem;
    font-weight: 400;
}

.home-bio .font-serif.italic {
    font-weight: 400;
    font-size: 1.05em;
}

.home-links {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inline-link {
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    width: fit-content;
    position: relative;
    padding-bottom: 8px;
}

.inline-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    /* transition: background-color var(--transition-fast); */
}

.inline-link:hover::after {
    background-color: var(--color-chartreuse);
}

.inline-link strong {
    font-weight: 600;
}


.editorial-title {
    font-family: var(--font-serif);
    font-weight: 500;
    font-size: var(--text-xl);
    margin-bottom: 1rem;
    line-height: var(--leading-snug);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-fast);
    border: 2px solid var(--text-color);
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--text-color);
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    background-color: var(--text-color);
    color: var(--bg-color);
    box-shadow: 4px 4px 0px var(--color-tomato);
    transform: translate(-4px, -4px);
}

.btn-primary:hover {
    background-color: var(--color-tomato);
    border-color: var(--color-tomato);
    color: #fff;
    box-shadow: none;
    transform: translate(0, 0);
}

.btn-secondary {
    border-color: var(--text-color);
    box-shadow: 4px 4px 0px var(--text-color);
    transform: translate(-4px, -4px);
}

.btn-secondary:hover {
    background-color: var(--text-color);
    border-color: var(--text-color);
    color: var(--bg-color);
    box-shadow: none;
    transform: translate(0, 0);
}

/* Work Grid */
.work {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.project-grid {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: stretch;
    padding: 0;
    text-decoration: none;
    color: var(--text-color);
    overflow: visible;
    background: transparent;
    border: none;
    border-radius: 0;
    position: relative;
    transition: transform var(--transition-fast);
}

.project-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at center, rgba(193, 204, 226, 0.35), rgba(91, 126, 192, 0.1) 60%, transparent 80%);
    border-radius: 50%;
    transform: translate3d(-50%, -50%, 0) scale3d(0, 0, 1) translateZ(0); /* Using translateZ to force hardware accel like transform-style: preserve-3d did in screenshot */
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
    z-index: -1;
    pointer-events: none;
    filter: blur(20px);
}

.project-card:hover {
    text-decoration: none;
}

.project-card:hover::after {
    opacity: 1;
    transform: translate3d(-50%, -50%, 0) scale3d(6, 6, 1);
}

.project-card:hover .project-image {
    transform: translate3d(0px, 20px, 0px) scale3d(0.9, 0.9, 1);
    box-shadow: 0 40px 80px -10px rgba(0, 0, 0, 0.1);
}

.project-card:hover .project-info {
    transform: translate3d(0px, -10px, 0px) scale3d(0.9, 0.9, 1);
}

.project-image {
    width: 100%;
    min-height: 480px;
    position: relative;
    background:
        var(--bg-url),
        radial-gradient(circle at 10% 10%, rgba(91, 126, 192, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 90% 90%, rgba(232, 168, 32, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(230, 235, 154, 0.15) 0%, transparent 50%),
        rgba(248, 245, 242, 0.5);
    background-size: cover, cover, cover, cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

#thumbnail-google-cloud {
    --bg-url: url('assets/gcd.png');
}

#thumbnail-genai {
    --bg-url: url('assets/gca.png');
}

#thumbnail-ibm {
    --bg-url: url('assets/climanomics/climanomicsscreen.jpg');
}

.project-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 0.5rem;
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: top center;
}

.project-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26, 0.45);
    margin-bottom: 0.8rem;
}

.project-info p {
    font-size: 1.15rem;
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    width: 100%;
}

.tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border: none;
    background-color: rgba(26, 26, 26, 0.06);
    color: rgba(26, 26, 26, 0.8);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 6px;
}

/* About Section / Experience Container */

.about-content {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Experience Section */
.experience-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.experience-item {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.experience-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.experience-meta h4 {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-color);
}

.experience-date {
    font-size: 0.9rem;
    color: rgba(26, 26, 26, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.experience-role h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;

}

.experience-role p {
    font-size: 1rem;
    margin-bottom: .6rem;
}

/* Footer Section */
.footer {
    padding: 6rem 5%;
    border-top: 1px solid var(--border-color);
    position: relative;
    background-color: transparent;
    min-height: 20vh;
}

.footer-content-new {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-left h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 0;
    letter-spacing: -0.02em;
    font-family: var(--font-serif);
}

.footer-left p {
    font-size: var(--text-sm);
    color: var(--text-color);
}

.hello-link {
    color: var(--text-color);
    text-decoration: underline;
    text-decoration-color: var(--color-tomato);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
    font-weight: 500;
}

.footer-right {
    display: flex;
    gap: 5rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(26, 26, 26, 0.6);
    margin-bottom: 0.25rem;
}

.footer-link-new {
    font-size: var(--text-base);
    color: var(--text-color);
    font-weight: 400;
    text-decoration: none;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding-bottom: 2px;
}

.footer-link-new::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    /* start width at 0 for animation */
    height: 2px;
    background-color: var(--color-chartreuse);
    transition: width var(--transition-fast);
}

.footer-link-new:hover::after {
    width: 100%;
}

@media (max-width: 768px) {
    .footer-content-new {
        flex-direction: column;
        gap: 3rem;
    }

    .footer-right {
        gap: 4rem;
    }
}


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

.next-project-link {
    font-family: var(--font-secondary);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    padding-bottom: 6px;
    line-height: 1.1;
}

.next-project-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: var(--color-chartreuse);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.next-project-link:hover::after {
    width: 100%;
}

.footer h2 {
    font-size: clamp(2rem, 2vw, 2rem);
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.footer-link {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-color);
    position: relative;
    padding-bottom: 4px;
}

.footer-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: transparent;
    transition: background-color var(--transition-fast);
}

.footer-link:hover::after {
    background-color: var(--color-chartreuse);
}

.footer-divider {
    color: rgba(26, 26, 26, 0.3);
    font-family: var(--font-secondary);
}

.copyright {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(26, 26, 26, 0.6);
}

/* Animations Triggered by JS */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay {
    transition-delay: 0.12s;
}


.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    background-color: var(--text-color);
    color: var(--bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 24px;
    font-size: 1.2rem;
    z-index: 99;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: opacity var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
    text-decoration: none;
}

.back-to-top:hover {
    text-decoration: none;
}

.back-to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-chartreuse);
    color: var(--text-color);
}

/* Detail Page Layout */
.project-layout {
    display: flex;
    flex-direction: column;
    padding: 8rem 5% 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.project-header {
    margin-bottom: 2rem;
}

.back-link {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26, 0.5);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    text-decoration: none;
}

.back-link:hover {
    color: var(--text-color);
}

.project-content {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.project-meta-top {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26, 0.5);
    margin-bottom: 1rem;
}

.project-title {
    font-family: var(--font-serif);
    font-size: var(--text-3xl);
    font-weight: 400;
    margin-bottom: 3rem;
    line-height: var(--leading-tight);
    color: var(--text-color);
    letter-spacing: -0.02em;
}

.project-subtitle {
    font-size: var(--text-lg);
    color: rgba(26, 26, 26, 0.7);
    margin-top: -1.5rem;
    margin-bottom: 3rem;
    line-height: var(--leading-snug);
    /* max-width: 800px; */
}

.project-hero-image {
    width: 100%;
    aspect-ratio: 16/10;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    background: var(--bg-url), #f6f7fb;
    /* background: 
        var(--bg-url),
        radial-gradient(circle at 10% 10%, rgba(91, 126, 192, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 90% 90%, rgba(232, 168, 32, 0.1) 0%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(230, 235, 154, 0.15) 0%, transparent 50%),
        rgba(248, 245, 242, 0.5); */
    background-size: contain, cover, cover, cover;
    background-position: center;
    background-repeat: no-repeat;
}

#hero-google-cloud {
    --bg-url: url('assets/gcd/prototype.png');
}

#hero-genai-project {
    --bg-url: url('assets/gemini/insights-gemini.png');
}

#hero-meta {
    background-image: url('assets/meta_trust_safety_1773354494944.png');
}

#hero-ibm {
    background-image: url('assets/ibm_garage_watson_1773354506040.png');
}

#hero-climanomics {
    background-image: url('assets/climanomics/climanomicsscreen.jpg');
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.meta-column {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-label {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26, 0.5);
}

.meta-value {
    font-size: var(--text-base);
    color: rgba(26, 26, 26, 0.8);
    line-height: var(--leading-normal);
}

.project-section {
    margin-bottom: 5rem;
}

.project-section h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.project-section ul,
.project-section ol {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.project-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.section-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26, 0.5);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-label+p {
    margin-top: 1rem;
}

.section-headline {
    font-family: var(--font-serif);
    font-size: var(--text-2xl);
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 2rem;
    line-height: var(--leading-snug);
    letter-spacing: -0.01em;
    color: var(--color-vista-blue);
}

.project-section p {
    margin-bottom: 1.5rem;
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
}

.confidential-note {
    border-left: 2px solid var(--border-color);
    padding-left: 1.5rem;
    font-style: italic;
    font-family: var(--font-serif);
    color: rgba(26, 26, 26, 0.7);
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Press Links */
.press-list {
    display: flex;
    flex-direction: column;
    margin-top: 1.5rem;
}

.press-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    border-top: 1px solid var(--border-color);
    gap: 2rem;
    text-decoration: none;
    color: inherit;
}

.press-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.press-item:hover .press-title {
    color: var(--color-vista-blue);
}

.press-item:hover .press-arrow {
    transform: translate(3px, -3px);
}

.press-meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.press-source {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26, 0.45);
    font-weight: 600;
}

.press-title {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.4;
    transition: color 0.15s ease;
}

.press-arrow {
    font-size: 1.1rem;
    color: rgba(26, 26, 26, 0.35);
    flex-shrink: 0;
    transition: transform 0.15s ease;
}

/* Anatomy List */
.anatomy-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 2.5rem 0;
}

.anatomy-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border-color);
}

.anatomy-item:last-child {
    border-bottom: 1px solid var(--border-color);
}

.anatomy-text {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.anatomy-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1.5px solid var(--color-vista-blue);
    color: var(--color-vista-blue);
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.anatomy-heading {
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: var(--text-color);
}

.anatomy-sublabel {
    font-size: var(--text-sm);
    color: var(--color-vista-blue);
    margin-bottom: 0.6rem;
    font-weight: 500;
}

.anatomy-body {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: rgba(26, 26, 26, 0.75);
}

.anatomy-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    display: block;
}

/* Pull Quote */
.pull-quote {
    margin: 3rem 0;
    padding: 0.25rem 0 0.25rem 2rem;
    border-left: 3px solid var(--color-vista-blue);
}

.pull-quote p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-color);
    margin: 0;
    font-style: italic;
}

.pull-quote footer {
    font-size: var(--text-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26, 0.5);
    font-style: normal;
    font-family: var(--font-sans);
}

/* Principles Grid */
.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.principles-grid.grid-cols-3 {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.principle-card {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(26, 26, 26, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    padding: 2rem 2.5rem;
    border-radius: 10px;
}

.principle-card--compact {
    background-color: rgba(193, 204, 226, 0.15);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(26, 26, 26, 0.06);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    padding: 1.25rem 1.5rem;
}

.principle-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.principle-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(26, 26, 26, 0.75);
    margin-bottom: 0;
}

/* Goal Cards */
.goal-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.goal-card {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2.3px solid rgba(26, 26, 26, 0.04);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    padding: 2.5rem;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

.goal-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.goal-card p {
    font-size: 1.05rem;
    line-height: 1.5;
    color: rgba(26, 26, 26, 0.75);
    margin-bottom: 0;
}

/* Impact Content Block */
.impact-ui-block {
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 2.5px solid var(--color-sunset);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 5rem;
}

.impact-ui-block .section-label {
    margin-bottom: 2rem;
    display: block;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 1.5rem;
}

.impact-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.impact-number {
    font-size: var(--text-3xl);
    font-family: var(--font-serif);
    font-weight: 500;
    color: var(--color-sunset);
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
}

.impact-desc {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(26, 26, 26, 0.8);
}


@media (max-width: 900px) {

    .project-card,
    .experience-item,
    .goal-cards-grid,
    .impact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .anatomy-item {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .anatomy-img {
        max-width: 100%;
    }
}

@media (max-width: 768px) {

    /* Home */
    .home {
        padding-top: 8rem;
        padding-bottom: 4rem;
    }

    .headline-title {
        font-size: clamp(3rem, 9vw, 3.5rem);
        margin-bottom: 2.5rem;
    }

    .home-bio {
        font-size: 1.05rem;
    }

    .home-links {
        margin-top: 2.5rem;
    }

    /* Sections */
    .section {
        padding: 4rem 5%;
    }

    /* Nav */
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    /* Project layout */
    .project-layout {
        padding: 6rem 5% 4rem;
        gap: 2rem;
    }

    .project-title {
        font-size: clamp(1.6rem, 6vw, 2.4rem);
    }

    .project-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .project-meta-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .project-section {
        margin-bottom: 3.5rem;
    }

    .project-section p {
        font-size: 1rem;
    }

    /* Impact block */
    .impact-ui-block {
        padding: 1.5rem;
        margin-bottom: 3rem;
    }

    .impact-grid {
        gap: 1.5rem;
    }

    .impact-number {
        font-size: 2.25rem;
    }

    /* Cards */
    .principle-card,
    .goal-card {
        padding: 1.25rem 1.5rem;
    }

    .role-cards {
        grid-template-columns: 1fr;
    }

    .role-card {
        padding: 1.25rem 1.5rem;
        gap: 0.6rem;
    }

    .margin-note-aside {
        display: none;
    }

    /* Anatomy */
    .anatomy-item {
        padding: 1.75rem 0;
        gap: 1.25rem;
    }

    /* Pull quote */
    .pull-quote {
        margin: 2.5rem 0;
        padding-left: 1.5rem;
    }

    /* Images */
    .project-image-container {
        margin: 2rem 0;
    }

    .project-hero-image {
        aspect-ratio: 4/3;
    }

    /* Press */
    .press-item {
        gap: 1rem;
    }

    /* Testimonials */
    .testimonial-item p {
        font-size: var(--text-base);
    }
}

@media (max-width: 480px) {
    .home {
        padding-top: 7rem;
    }

    .headline-title {
        font-size: clamp(2.5rem, 13vw, 3.5rem);
    }

    .project-meta-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .impact-number {
        font-size: 2rem;
    }

    .section-headline {
        font-size: 1.4rem;
    }

    .project-layout {
        padding: 5rem 4% 3rem;
    }

    .section {
        padding: 3rem 4%;
    }

}

.project-image-caption {
    display: block;
    margin-top: 1.25rem;
    font-size: var(--text-sm);
    color: rgba(26, 26, 26, 0.65);
    font-style: italic;
    line-height: var(--leading-relaxed);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* User Spectrum Component */
.spec-wrap {
    padding: 1.5rem 0;
}

.spec-wrap .spec-section {
    margin-bottom: rem;
}

.spec-wrap .spec-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.5);
    margin-bottom: 14px;
}

.spec-wrap .spectrum-row {
    display: flex;
    align-items: stretch;
    border: 0.5px solid rgba(26, 26, 26, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.spec-wrap .spec-end {
    padding: 16px 14px;
    min-width: 130px;
    max-width: 160px;
}

.spec-wrap .spec-end.left {
    background: rgba(26, 26, 26, 0.025);
    border-right: 0.5px solid rgba(26, 26, 26, 0.1);
}

.spec-wrap .spec-end.right {
    background: rgba(26, 26, 26, 0.025);
    border-left: 0.5px solid rgba(26, 26, 26, 0.1);
    text-align: right;
}

.spec-wrap .spec-end-tag {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.5);
    margin-bottom: 4px;
}

.spec-wrap .spec-end-title {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 4px;
    font-family: var(--font-serif);
    line-height: var(--leading-snug);
}

.spec-wrap .spec-end-desc {
    font-size: 11.5px;
    color: rgba(26, 26, 26, 0.55);
    line-height: 1.45;
    font-family: var(--font-primary);
}

.spec-wrap .spec-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 14px 16px;
    gap: 10px;
}

.spec-wrap .spec-bar-track {
    height: 4px;
    border-radius: 2px;
    background: rgba(26, 26, 26, 0.1);
}

.spec-wrap .spec-bar-fill {
    height: 100%;
    border-radius: 2px;
}

.spec-wrap .spec-bar-fill.full {
    width: 100%;
}

.spec-wrap .spec-tags {
    display: flex;
    justify-content: space-between;
}

.spec-wrap .spec-tag {
    font-size: 11px;
    color: rgba(26, 26, 26, 0.5);
}

.spec-wrap .user-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(26, 26, 26, 0.1);
    border: 0.5px solid rgba(26, 26, 26, 0.1);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 2rem;
}

.spec-wrap .user-card {
    background: var(--bg-color);
    padding: 18px 16px;
}

.spec-wrap .user-card-role {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.5);
    margin-bottom: 6px;
    font-family: var(--font-primary);
}

.spec-wrap .user-card-title {
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 8px;
    font-family: var(--font-serif);
    line-height: var(--leading-snug);
}

.spec-wrap .user-card-need {
    font-size: 12px;
    color: rgba(26, 26, 26, 0.55);
    line-height: 1.5;
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.spec-wrap .user-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.spec-wrap .tag {
    font-size: 10px;
    font-weight: 500;
    padding: 2px 8px;
    border-radius: 10px;
    font-family: var(--font-primary);
}

.spec-wrap .tag-blue {
    background: rgba(91, 126, 192, 0.12);
    color: #5B7EC0;
}

.spec-wrap .tag-coral {
    background: #FAECE7;
    color: #993C1D;
}

.spec-wrap .tag-green {
    background: rgba(15, 110, 86, 0.1);
    color: #0F6E56;
}

.spec-wrap .tag-purple {
    background: #EEEDFE;
    color: #3C3489;
}

.spec-wrap .automation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: rgba(26, 26, 26, 0.1);
    border: 0.5px solid rgba(26, 26, 26, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.spec-wrap .auto-cell {
    background: var(--bg-color);
    padding: 18px 16px;
}

.spec-wrap .auto-cell.highlight {
    background: rgba(91, 126, 192, 0.08);
}

.spec-wrap .auto-cell-label {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 6px;
    font-family: var(--font-primary);
}

.spec-wrap .auto-cell.highlight .auto-cell-label {
    color: var(--color-vista-blue);
}

.spec-wrap .auto-cell:not(.highlight) .auto-cell-label {
    color: rgba(26, 26, 26, 0.5);
}

.spec-wrap .auto-cell-title {
    font-size: var(--text-lg);
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 6px;
    font-family: var(--font-serif);
    line-height: var(--leading-snug);
}

.spec-wrap .auto-cell-desc {
    font-size: 12px;
    color: rgba(26, 26, 26, 0.55);
    line-height: 1.5;
    font-family: var(--font-primary);
}

.spec-wrap .auto-cell-example {
    font-size: 11.5px;
    font-style: italic;
    color: rgba(26, 26, 26, 0.5);
    margin-top: 8px;
    border-left: 2px solid rgba(26, 26, 26, 0.15);
    padding-left: 8px;
    line-height: 1.45;
    font-family: var(--font-primary);
}

.spec-wrap .spec-section-title {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 4px;
    font-family: var(--font-primary);
}

.spec-wrap .spec-section-sub {
    font-size: 12px;
    color: rgba(26, 26, 26, 0.55);
    margin-bottom: 14px;
    line-height: 1.5;
    font-family: var(--font-primary);
}

/* Dual spectrum cards */
.spec-wrap .spec-section--dual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.spec-wrap .spec-dual-card {
    border: 0.5px solid rgba(26, 26, 26, 0.1);
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: var(--bg-color);
}

.spec-wrap .spec-dual-card .spec-label {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.45);
    font-family: var(--font-primary);
    margin-bottom: 0;
}

.spec-wrap .spec-bar-track {
    height: 5px;
    border-radius: 3px;
    background: rgba(26, 26, 26, 0.08);
}

.spec-wrap .spec-bar-fill {
    height: 100%;
    border-radius: 3px;
}

.spec-wrap .spec-bar-ends {
    display: flex;
    justify-content: space-between;
    font-size: 12.5px;
    color: rgba(26, 26, 26, 0.6);
    font-family: var(--font-primary);
}

.spec-wrap .spec-dual-desc {
    font-size: 13px;
    color: rgba(26, 26, 26, 0.55);
    line-height: 1.55;
    font-family: var(--font-primary);
}

@media (max-width: 640px) {
    .spec-wrap .user-cards {
        grid-template-columns: 1fr;
    }

    .spec-wrap .automation-grid {
        grid-template-columns: 1fr;
    }

    .spec-wrap .spectrum-row {
        flex-direction: column;
    }

    .spec-wrap .spec-end {
        max-width: 100%;
    }

    .spec-wrap .spec-end.right {
        text-align: left;
        border-left: none;
        border-top: 0.5px solid rgba(26, 26, 26, 0.1);
    }

    .spec-wrap .spec-section--dual {
        grid-template-columns: 1fr;
    }
}


/* Mobile device mockup */
.device-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
}

.device-mockup {
    position: relative;
    width: 280px;
}

.device-mockup__frame {
    position: relative;
    background: #1A1A1A;
    border-radius: 44px;
    padding: 14px 10px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.08) inset,
        0 2px 4px rgba(0, 0, 0, 0.12),
        0 12px 40px rgba(0, 0, 0, 0.18),
        0 32px 80px rgba(0, 0, 0, 0.1);
}

.device-mockup__notch {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 26px;
    background: #1A1A1A;
    border-radius: 0 0 18px 18px;
    z-index: 2;
}

.device-mockup__screen {
    border-radius: 34px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9/19.5;
}

.device-mockup__screen video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Stacked video pair */
.video-pair {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin: 2.5rem 0;
}

.video-pair__item {
    display: flex;
    flex-direction: column;
}

.video-pair__item video {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    border: 1px solid rgba(26, 26, 26, 0.08);
    background: rgba(26, 26, 26, 0.02);
}

.video-pair__caption {
    margin-top: 0.75rem;
    font-size: var(--text-sm);
    color: rgba(26, 26, 26, 0.65);
    font-style: italic;
    line-height: var(--leading-relaxed);
    text-align: center;
}

/* Principles list — editorial numbered rows */
.principles-list {
    margin-top: 2rem;
    border-top: 1px solid rgba(26, 26, 26, 0.1);
}

.principle-item {
    display: grid;
    grid-template-columns: 2.5rem 1fr 1.6fr;
    gap: 0 2.5rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
    align-items: start;
}

.principle-item__num {
    font-size: var(--text-sm);
    font-weight: 500;
    color: rgba(26, 26, 26, 0.3);
    font-variant-numeric: tabular-nums;
    padding-top: 0.15rem;
    font-family: var(--font-primary);
}

.principle-item__heading {
    font-size: var(--text-base);
    font-weight: 600;
    line-height: var(--leading-snug);
    color: var(--text-color);
    margin: 0;
    font-family: var(--font-primary);
}

.principle-item__body {
    font-size: var(--text-sm);
    line-height: var(--leading-relaxed);
    color: rgba(26, 26, 26, 0.6);
    margin: 0;
}

@media (max-width: 640px) {
    .principle-item {
        grid-template-columns: 2rem 1fr;
        grid-template-rows: auto auto;
    }

    .principle-item__body {
        grid-column: 2;
        margin-top: 0.4rem;
    }
}

/* Screen flow — numbered screenshots with arrow connectors */
.screen-flow {
    margin: 3.5rem 0;
}

.screen-flow__header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.25rem;
}

.screen-flow__label {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.screen-flow__num {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26, 0.4);
    font-family: var(--font-primary);
}

.screen-flow__title {
    font-size: var(--text-base);
    font-weight: 600;
    color: var(--text-color);
    font-family: var(--font-primary);
    line-height: var(--leading-snug);
}

.screen-flow__desc {
    font-size: var(--text-sm);
    color: rgba(26, 26, 26, 0.55);
    line-height: var(--leading-relaxed);
    font-family: var(--font-primary);
    margin-top: 0.15rem;
}

.screen-flow__screens {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 0;
}

.screen-flow__screen {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(26, 26, 26, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.07);
}

.screen-flow__screen img {
    width: 100%;
    display: block;
    max-height: 480px;
    object-fit: cover;
    object-position: top;
}

.screen-flow__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem;
    color: rgba(26, 26, 26, 0.25);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.screen-flow__caption {
    margin-top: 1.5rem;
    font-size: var(--text-sm);
    color: rgba(26, 26, 26, 0.5);
    font-style: italic;
    text-align: center;
    font-family: var(--font-primary);
    line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
    .screen-flow__header {
        grid-template-columns: 1fr;
    }

    .screen-flow__screens {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .screen-flow__arrow {
        transform: rotate(90deg);
    }
}

/* Compliance Journey Component */
.journey-wrap {
    padding: 1.5rem 0 2rem;
}

.journey-wrap .journey-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
}

.journey-wrap .journey-label {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.45);
    font-family: var(--font-primary);
}

.journey-wrap .time-badge {
    font-size: var(--text-xs);
    font-weight: 500;
    padding: 3px 10px;
    border-radius: 20px;
    font-family: var(--font-primary);
}

.journey-wrap .time-badge--danger {
    color: var(--color-tomato);
    background: rgba(240, 82, 30, 0.08);
}

.journey-wrap .time-badge--success {
    color: #0F6E56;
    background: rgba(15, 110, 86, 0.08);
}

.journey-wrap .steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(26, 26, 26, 0.1);
    border: 0.5px solid rgba(26, 26, 26, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.journey-wrap .step {
    background: var(--bg-color);
    display: flex;
    flex-direction: column;
}

.journey-wrap .step-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.journey-wrap .step-icon {
    font-size: 20px;
    color: rgba(26, 26, 26, 0.25);
    margin-bottom: 12px;
    display: block;
}

.journey-wrap .step-num {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26, 0.35);
    margin-bottom: 8px;
    font-family: var(--font-primary);
}

.journey-wrap .step-title {
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--text-color);
    margin-bottom: 8px;
    font-family: var(--font-serif);
    line-height: var(--leading-snug);
}

.journey-wrap .pain {
    font-size: var(--text-sm);
    color: rgba(26, 26, 26, 0.55);
    line-height: var(--leading-relaxed);
    margin-bottom: 0;
    font-family: var(--font-primary);
}

.journey-wrap .quote {
    font-size: var(--text-sm);
    font-style: italic;
    color: var(--color-tomato);
    line-height: var(--leading-relaxed);
    border-left: 2px solid rgba(240, 82, 30, 0.25);
    padding-left: 10px;
    font-family: var(--font-primary);
    margin: 1rem 0 0;
}

.journey-wrap .divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.25rem 0 1rem;
}

.journey-wrap .divider-line {
    flex: 1;
    height: 1px;
    background: rgba(26, 26, 26, 0.1);
}

.journey-wrap .divider-label {
    font-size: var(--text-xs);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.45);
    white-space: nowrap;
    font-family: var(--font-primary);
}

.journey-wrap .after {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(91, 126, 192, 0.15);
    border: 0.5px solid rgba(91, 126, 192, 0.2);
    border-radius: 8px;
    overflow: hidden;
}

.journey-wrap .after-step {
    padding: 18px;
    background: rgba(91, 126, 192, 0.05);
}

.journey-wrap .after-step-label {
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--color-vista-blue);
    margin-bottom: 8px;
    font-family: var(--font-primary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.journey-wrap .after-step-text {
    font-size: var(--text-sm);
    color: var(--text-color);
    line-height: var(--leading-relaxed);
    font-family: var(--font-primary);
}

.journey-wrap .result-bar {
    margin-top: 12px;
    background: rgba(15, 110, 86, 0.06);
    border: 0.5px solid rgba(15, 110, 86, 0.18);
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.journey-wrap .result-text {
    font-size: var(--text-sm);
    color: #0F6E56;
    font-weight: 500;
    font-family: var(--font-primary);
}

.journey-wrap .result-stat {
    font-size: var(--text-sm);
    color: #0F6E56;
    font-family: var(--font-primary);
    white-space: nowrap;
}

@media (max-width: 640px) {

    .journey-wrap .steps,
    .journey-wrap .after {
        grid-template-columns: 1fr 1fr;
    }
}

/* Design callout — image/video + annotation side by side */
.design-callout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 3.5rem 0;
}

.design-callout--reverse {
    direction: rtl;
}

.design-callout--reverse>* {
    direction: ltr;
}

.design-callout__media video,
.design-callout__media img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    border-radius: 10px;
    display: block;
    border: 1px solid rgba(26, 26, 26, 0.08);
    background: rgba(26, 26, 26, 0.02);
}

.design-callout__text {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.design-callout__eyebrow {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.4);
}

.design-callout__heading {
    font-family: var(--font-serif);
    font-size: var(--text-xl);
    font-weight: 500;
    line-height: var(--leading-snug);
    color: var(--color-vista-blue);
    margin: 0;
}

.design-callout__pain {
    font-size: var(--text-sm);
    font-style: italic;
    color: rgba(26, 26, 26, 0.45);
    margin: 0;
    padding: 0.5rem 0 0.25rem 0.75rem;
    border-left: 2px solid rgba(26, 26, 26, 0.15);
}

.design-callout__body {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: rgba(26, 26, 26, 0.75);
    margin: 0;
}

@media (max-width: 768px) {
    .design-callout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .design-callout--reverse {
        direction: ltr;
    }
}

/* Kind words / testimonials carousel */
.testimonials-carousel {
    position: relative;
    margin-top: 3rem;
}

.testimonials-track {
    display: flex;
    gap: 1.25rem;
    overflow: hidden;
}

.testimonial-item {
    display: none;
    flex: 1;
    margin: 0;
    padding: 2.5rem 2.25rem;
    background: var(--color-white, #fff);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-lg);
    animation: testimonial-in 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-item.active {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

@keyframes testimonial-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-item blockquote {
    margin: 0;
    padding: 0;
}

.testimonial-item p {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(26, 26, 26, 0.8);
    font-style: normal;
    font-weight: 400;
    margin: 0 0 2.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.testimonial-avatar svg {
    width: 20px;
    height: 20px;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.testimonial-name {
    font-weight: 500;
    color: var(--text-color);
    font-size: 0.95rem;
}

.testimonial-title {
    font-size: 0.85rem;
    color: rgba(26, 26, 26, 0.5);
    line-height: 1.3;
}

.testimonials-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.testimonials-dots {
    display: flex;
    gap: 0.5rem;
}

.testimonials-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(26, 26, 26, 0.18);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.testimonials-dot.active {
    background: var(--text-color);
    transform: scale(1.25);
}

.testimonials-arrow {
    background: none;
    border: 1px solid rgba(26, 26, 26, 0.15);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    color: var(--text-color);
    transition: border-color 0.2s ease, background 0.2s ease;
    flex-shrink: 0;
}

.testimonials-arrow:hover {
    background: rgba(26, 26, 26, 0.04);
    border-color: rgba(26, 26, 26, 0.35);
}

/* Project content utilities */
.section-first {
    padding-top: 0;
}

.project-list {
    margin-bottom: 2.5rem;
    padding-left: 1.5rem;
}

.project-list li {
    margin-bottom: 0.5rem;
}

.project-image-container {
    margin: 3rem 0;
}

.project-img {
    width: 100%;
    border-radius: 8px;
    height: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.section-subheading {
    margin-top: 3rem;
    margin-bottom: 0.75rem;
    font-size: var(--text-lg);
}

.pain-point-subheading {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: var(--text-lg);
}

.card-icon {
    font-size: 2rem;
    color: var(--color-vista-blue);
    margin-bottom: 1rem;
    display: block;
}

.insight-card {
    padding: 1.5rem !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border: 0.5px solid rgba(26, 26, 26, 0.1) !important;
    box-shadow: none !important;
    background: var(--bg-color) !important;
}

.insight-card__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(26, 26, 26, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(26, 26, 26, 0.45);
    margin-bottom: 0.25rem;
    flex-shrink: 0;
}

.insight-card__num {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.35);
    font-family: var(--font-primary);
}

.insight-card__heading {
    font-family: var(--font-serif);
    font-size: var(--text-base);
    font-weight: 400;
    color: var(--text-color);
    line-height: var(--leading-snug);
    margin: 0;
}

.insight-card__body {
    font-size: var(--text-sm);
    color: rgba(26, 26, 26, 0.6);
    line-height: var(--leading-relaxed);
    font-family: var(--font-primary);
    margin: 0;
}

.section-eyebrow-label {
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.45);
    font-family: var(--font-primary);
    margin-bottom: 0;
}

.principle-card .card-heading {
    font-size: var(--text-base);
    margin-bottom: 0.5rem;
    color: var(--color-vista-blue);
    font-weight: 600;
}

.principle-card .card-body {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    opacity: 0.9;
}

.principle-card .card-body-sm {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    opacity: 0.9;
}

.principle-card .card-body-italic {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    font-style: italic;
    opacity: 0.85;
}

.principles-grid-single {
    grid-template-columns: 1fr;
}

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

.mt-2 {
    margin-top: 2rem;
}

.footer .section-label {
    margin-bottom: 1rem;
}

.mt-4 {
    margin-top: 4rem;
}

.project-img--bordered {
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.project-image-container--tinted {
    background-color: var(--color-smoke);
    padding: 2rem;
    border-radius: 8px;
}

.principle-card--featured {
    border: 2.5px solid var(--color-vista-blue);
}

.principle-card--muted {
    opacity: 0.45;
    transition: opacity 0.7s ease;
}


/* Handwritten margin annotation */
.margin-note-wrap {
    position: relative;
    margin-bottom: 1.5rem;
}

.margin-note-aside {
    position: absolute;
    right: calc(100% + 0.75rem);
    top: 0;
    width: 160px;
    display: flex;
    align-items: flex-start;
    gap: 0.15rem;
}

.margin-note {
    text-align: right;
    flex: 1;
}

.margin-note p {
    font-family: 'Caveat', cursive !important;
    font-size: 0.95rem !important;
    line-height: 1.45;
    color: var(--color-vista-blue);
    margin: 0 !important;
    transform: rotate(-1deg);
    display: inline-block;
}

.margin-brace {
    font-family: 'Caveat', cursive;
    font-size: 3.5rem;
    line-height: 0.85;
    color: var(--color-vista-blue);
    opacity: 0.45;
    flex-shrink: 0;
    user-select: none;
}

/* IBM Hills annotation */
.hill-legend {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    margin-bottom: 0;
    align-items: center;
}

.hill-key {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.hill-key--who {
    background: rgba(91, 126, 192, 0.15);
    color: var(--color-vista-blue);
}

.hill-key--what {
    background: rgba(232, 168, 32, 0.2);
    color: #a07010;
}

.hill-key--wow {
    background: rgba(242, 169, 204, 0.3);
    color: #b05080;
}

.hill-who {
    color: var(--color-vista-blue);
    font-weight: 600;
}

.hill-what {
    color: var(--color-sunset);
    font-weight: 600;
}

.hill-wow {
    color: #c2729e;
    font-weight: 600;
}

/* Journey Steps */
.journey-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: stretch;
    margin: 1.5rem 0 2.5rem;
    gap: 0;
}

.journey-step {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(26, 26, 26, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    border-radius: 10px;
}

.journey-step-num {
    font-size: var(--text-xs);
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--color-vista-blue);
    opacity: 0.6;
    margin-bottom: 0.85rem;
}

.journey-step-icon {
    font-size: 1.6rem;
    color: var(--color-sunset);
    margin-bottom: 0.75rem;
}

.journey-step-title {
    font-size: var(--text-sm);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.journey-step-body {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: rgba(26, 26, 26, 0.65);
    margin: 0;
    flex: 1;
}

.journey-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    color: rgba(26, 26, 26, 0.2);
    font-size: 1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .journey-steps {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .journey-connector {
        display: none;
    }
}

/* User Role Cards */
.role-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0 2.5rem;
}

.role-card {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(26, 26, 26, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    padding: 1.75rem 2rem;
    border-radius: 10px;
}

.role-card-icon {
    font-size: 1.75rem;
    color: var(--color-sunset);
}

.role-card-title {
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-color);
}

.role-card-body {
    font-size: var(--text-sm);
    line-height: var(--leading-normal);
    color: rgba(26, 26, 26, 0.7);
    margin: 0;
}

/* Hover aside note */
.aside-note {
    position: relative;
    border-bottom: 1.5px dashed var(--color-pink);
    cursor: default;
}

.aside-note::after {
    content: attr(data-note);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background-color: var(--color-pink);
    color: var(--text-color);
    font-size: 0.78rem;
    font-style: italic;
    font-family: var(--font-serif);
    white-space: nowrap;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 10;
}

.aside-note:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Remediation Section Grid */
.remediation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: rgba(26, 26, 26, 0.02);
    ;
    ;
    padding: 2rem;
    border-radius: 10px;
}

.remediation-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-color: rgba(26, 26, 26, 0.02);
    ;
    ;
    padding: 2rem;
    border-radius: 10px;
}

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

.remediation-card img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(26, 26, 26, 0.06);
}

.remediation-card h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
    color: var(--text-color);
}

.remediation-card p {
    font-size: 0.85rem;
    line-height: var(--leading-normal);
    color: rgba(26, 26, 26, 0.7);
    margin: 0;
}

@media (max-width: 1024px) {
    .remediation-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .remediation-grid {
        grid-template-columns: 1fr;
    }
}

/* Research Insights Grid */
.insight-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin: 1.25rem 0 2rem;
}

.insight-tile {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    border: 1px solid var(--color-border, rgba(0, 0, 0, 0.08));
    border-radius: 12px;
    background: var(--bg-color);
}

.insight-tile__icon {
    font-size: 20px;
    color: var(--color-text-muted, rgba(26, 26, 26, 0.4));
    margin-bottom: 0.25rem;
}

.insight-tile__heading {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-color);
    margin: 0;
    line-height: 1.35;
}

.insight-tile__body {
    font-size: var(--text-sm);
    color: rgba(26, 26, 26, 0.6);
    margin: 0;
    line-height: var(--leading-relaxed);
}

@media (max-width: 768px) {
    .insight-grid {
        grid-template-columns: 1fr;
    }
}

/* Painpoint List */
.painpoint-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0 2rem;
}

.painpoint-row {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.painpoint-row__icon {
    font-size: 24px;
    color: var(--color-vista-blue);
    flex-shrink: 0;
    position: relative;
    top: 2px;
}

.painpoint-row__text {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-color);
    margin: 0;
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    align-items: center;
    justify-content: center;
    padding: 2rem;
    backdrop-filter: blur(4px);
}

#lightbox.active {
    display: flex;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    animation: lightbox-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes lightbox-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: fixed;
    top: 1.25rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.1rem;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* About Page Specific Layouts */
#about {
    padding-top: 10rem;
}


.about-hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 1rem;
    margin-bottom: 5rem;
}

#about h1 {
    font-family: var(--font-serif);
    font-size: var(--text-4xl);
    font-weight: 500;
    margin-bottom: 2rem;
    line-height: var(--leading-tight);
    letter-spacing: -0.02em;
}

.about-hero-text p {
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.about-hero-text .home-links {
    margin-top: 2.5rem;
}

.about-hero-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(26, 26, 26, 0.05);
}

.about-micro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
    padding: 2.5rem;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(26, 26, 26, 0.05);
}

.micro-block h3 {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26, 0.5);
    margin-bottom: 1rem;
}

.micro-block ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0;
}

.micro-block li {
    background-color: rgba(91, 126, 192, 0.1);
    color: var(--color-vista-blue);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: var(--text-sm);
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-item {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(26, 26, 26, 0.06);
}

.stat-item h3 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(26, 26, 26, 0.5);
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: var(--text-xl);
    font-weight: 500;
    line-height: var(--leading-snug);
}

.about-services {
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.service-card {
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(26, 26, 26, 0.06);
    border-radius: 12px;
}

.service-card .service-num {
    font-family: var(--font-serif);
    font-size: var(--text-sm);
    color: rgba(26, 26, 26, 0.4);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: var(--text-xl);
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    padding: 0;
}

.service-card li {
    font-size: var(--text-base);
    color: rgba(26, 26, 26, 0.7);
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.service-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-tomato);
    font-weight: 600;
}

@media (max-width: 900px) {

    .about-hero-grid,
    .about-stats,
    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .about-micro-grid {
        padding: 1.5rem;
    }

    .about-hero-image {
        order: -1;
    }
}

/* Capabilities Section */
.capabilities-section {
    margin-bottom: 6rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
}

.capabilities-col h3 {
    font-size: var(--text-sm);
    color: rgba(26, 26, 26, 0.5);
    margin-bottom: 2rem;
    font-family: var(--font-primary);
    font-weight: 500;
}

.capabilities-col.focus-label h3 {
    color: var(--text-color);
}

.capabilities-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capabilities-col li {
    font-size: var(--text-base);
    color: var(--text-color);
    margin-bottom: 0.75rem;
    position: relative;
    padding-left: 1rem;
}

.capabilities-col li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--text-color);
}

@media (max-width: 900px) {
    .capabilities-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}

/* Reading Table of Contents */
.reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    transition: background 0.3s ease;
}

.reading-progress-container:hover {
    background: rgba(254, 254, 253, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.reading-progress-bar {
    height: 6px;
    background-color: var(--color-vista-blue);
    width: 0%;
    transition: width 0.1s ease-out;
}

.reading-progress-menu {
    max-height: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
}

.reading-progress-container:hover .reading-progress-menu {
    max-height: 80px;
    padding: 1.25rem 2rem;
    opacity: 1;
}

.reading-progress-menu a {
    font-family: var(--font-primary);
    font-size: var(--text-sm);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    opacity: 0.5;
    transition: opacity 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.reading-progress-menu a:hover {
    opacity: 1;
    color: var(--color-vista-blue);
}