/* ============================================
   Perry Wang Portfolio Clone — Style Sheet
   ============================================ */

/* === CSS Reset & Base === */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #101010;
    --color-bg-dark: #000000;
    --color-text: #f2f2f2;
    --color-text-muted: rgba(242, 242, 242, 0.5);
    --color-text-dim: #aaadb0;
    --color-border: rgba(242, 242, 242, 0.08);
    --color-border-light: rgba(242, 242, 242, 0.12);
    --color-card-bg: rgb(20, 20, 24);
    --color-nav-bg: rgba(30, 30, 36, 0.75);
    --color-nav-pill-bg: rgba(40, 40, 48, 0.85);
    --color-indicator: rgba(60, 60, 70, 0.9);
    --color-accent-blue: #2a3a8a;
    --color-accent-glow: rgba(50, 60, 180, 0.15);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'DM Serif Display', Georgia, serif;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-window: 14px;
    --transition-base: 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    line-height: 1.5;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition-base);
}

a:hover {
    opacity: 0.8;
}

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

/* === Noise Overlay === */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.5;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}

/* === Background Glow Effect === */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(30, 40, 120, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(60, 40, 140, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(20, 30, 100, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 40px 48px;
    pointer-events: none;
    background: rgb(16, 16, 16);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 100%);
}

.nav-bar>* {
    pointer-events: auto;
}

.nav-left-wrapper {
    flex: 1;
}

.logo-block {
    display: inline-block;
}

.logo-name {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.logo-title {
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-muted);
    margin-top: 2px;
}

.nav-pill-wrapper {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
}

.nav-pill {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--color-nav-pill-bg);
    border-radius: 100px;
    padding: 4px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border-light);
    overflow: hidden;
}

.nav-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.nav-indicator-pill {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(50% - 4px);
    height: calc(100% - 8px);
    background: var(--color-indicator);
    border-radius: 100px;
    transition: transform var(--transition-smooth);
    z-index: 0;
}

.nav-toggle {
    position: relative;
    z-index: 1;
    padding: 10px 28px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition-base);
    cursor: pointer;
    user-select: none;
    border-radius: 100px;
}

.nav-toggle:hover {
    opacity: 1;
    color: var(--color-text);
}

.nav-toggle.active {
    color: var(--color-text);
}

.nav-right-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.chip-social {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    transition: color var(--transition-base);
    border-radius: 100px;
}

.chip-social:hover {
    color: var(--color-text);
    opacity: 1;
}

.arrow-icon {
    font-size: 12px;
    display: inline-block;
    transition: transform var(--transition-base);
}

.linkedin-icon {
    vertical-align: -2px;
    margin-right: 2px;
}

.email-icon {
    vertical-align: -2px;
    margin-right: 2px;
}

.chip-social:hover .arrow-icon {
    transform: translate(2px, -2px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.section-hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 120px 40px 40px;
    position: relative;
}

.hero-window-wrapper {
    width: 100%;
    max-width: 1000px;
    position: relative;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

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

.window-outline {
    position: relative;
    border-radius: var(--radius-window);
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 100%);
    overflow: hidden;
}

.glare-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    pointer-events: none;
}

.glare-top.outer {
    width: 60%;
    top: 0;
}

.glare-top.inner {
    width: 40%;
    top: 0;
}

.window-container {
    position: relative;
    background: linear-gradient(180deg, rgba(30, 30, 36, 0.9) 0%, rgba(16, 16, 20, 0.95) 100%);
    border-radius: var(--radius-window);
    overflow: hidden;
}

/* Window Shine Effects */
.shine-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.shine-small {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(200, 210, 255, 0.06) 0%, transparent 70%);
}

.shine-big {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(180, 190, 255, 0.04) 0%, transparent 70%);
}

/* Window Title Bar */
.window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(180deg, rgba(60, 60, 68, 0.4) 0%, rgba(40, 40, 48, 0.2) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #f46b5d;
}

.dot.yellow {
    background: #f9bd4e;
}

.dot.green {
    background: #57c353;
}

.window-plus {
    color: var(--color-text-muted);
    font-size: 18px;
    font-weight: 300;
    line-height: 1;
}

/* Window Content */
.window-content {
    position: relative;
    padding: 60px 50px 80px;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Hero Headshot */
.hero-headshot {
    flex: 0 0 auto;
    position: relative;
    z-index: 1;
    align-self: flex-start;
    margin-top: -10px;
}

.hero-headshot-img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.window-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    background-repeat: repeat;
    opacity: 0.3;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.hero-text-content {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
}

.hero-heading {
    font-size: clamp(42px, 6vw, 72px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-text);
    margin-bottom: 32px;
    text-shadow: 0 0 60px rgba(200, 210, 255, 0.15);
}

.hero-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--color-text-muted);
    background: linear-gradient(180deg, rgba(242, 242, 242, 0.7) 0%, rgba(242, 242, 242, 0.35) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    text-align: right;
    padding-right: 20px;
}

.hero-sub-bold {
    font-size: clamp(14px, 1.6vw, 18px);
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 4px;
}

.hero-sub-light {
    font-size: clamp(14px, 1.6vw, 18px);
    font-weight: 400;
    color: var(--color-text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
    margin-top: 40px;
    opacity: 0.5;
    animation: scrollBounce 2s ease-in-out infinite;
    cursor: pointer;
    transition: opacity var(--transition-base);
}

.scroll-indicator:hover {
    opacity: 0.8;
}

@keyframes scrollBounce {

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

    50% {
        transform: translateY(8px);
    }
}

/* ============================================
   PROJECTS SECTION — Stacking Card Scroll
   ============================================ */
.section-projects {
    padding: 0 40px;
    position: relative;
    z-index: 1;
}

.container-projects {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Project Card Outline — Sticky Stacking */
.project-card-outline {
    position: sticky;
    top: 80px;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    transition: box-shadow var(--transition-smooth);
    margin-bottom: 40px;
    z-index: 1;
    will-change: transform;
}

/* Stacking z-index: later cards stack on top */
.project-card-outline:nth-child(1) {
    z-index: 1;
}

.project-card-outline:nth-child(2) {
    z-index: 2;
}

.project-card-outline:nth-child(3) {
    z-index: 3;
}

.project-card-outline:nth-child(4) {
    z-index: 4;
}

.project-card-outline:hover {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Scale-down state for cards being covered (applied via JS) */
.project-card-outline.is-covered {
    transform: scale(0.95);
    filter: brightness(0.7);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.outer-edge,
.inner-edge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    pointer-events: none;
}

.outer-edge {
    width: 60%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.inner-edge {
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    z-index: 2;
}

/* Project Card */
.project-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--color-card-bg);
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 36px 40px;
    min-height: 75vh;
    transition: background var(--transition-base);
}

.project-card:hover {
    opacity: 1;
}

.project-card:hover .icon-projectcard-arrow {
    transform: translateX(6px);
}

.projectcard-top {
    margin-bottom: 28px;
    position: relative;
    z-index: 2;
}

.projectcard-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.text-projectcard-title {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.text-projectcard-date {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-secondary);
    letter-spacing: -0.01em;
}

.icon-projectcard-arrow {
    font-size: 24px;
    color: var(--color-text);
    transition: transform var(--transition-base);
}

.text-projectcard-description {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.text-projectcard-description-company {
    font-weight: 600;
    color: var(--color-text);
}

/* Project Thumbnails */
.project-thumbnail {
    width: 100%;
    flex: 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 1;
    transition: transform var(--transition-smooth);
}

.project-card:hover .project-thumbnail {
    transform: scale(1.02);
}

/* Project Card Colour Overlays */
.project-card-colour {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    pointer-events: none;
    z-index: 0;
}

.project-card-colour.stadiabt {
    background: radial-gradient(ellipse at center bottom, rgba(30, 50, 100, 0.3) 0%, transparent 70%);
}

.project-card-colour.testhub {
    background: radial-gradient(ellipse at center bottom, rgba(100, 30, 30, 0.2) 0%, transparent 70%);
}

.project-card-colour.spotlight {
    background: radial-gradient(ellipse at center bottom, rgba(80, 40, 120, 0.25) 0%, transparent 70%);
}

.project-card-colour.accenture {
    background: radial-gradient(ellipse at center bottom, rgba(20, 60, 80, 0.2) 0%, transparent 70%);
}

/* ============================================
   INFO SECTION
   ============================================ */
.section-info {
    padding: 160px 40px 80px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.info-hero {
    margin-bottom: 100px;
    animation: heroFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(30px);
}

.info-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.info-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #4a7aff;
    box-shadow: 0 0 10px rgba(74, 122, 255, 0.5);
}

.info-label-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
    text-transform: uppercase;
}

.info-heading {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.03em;
    color: var(--color-text);
    max-width: 900px;
}

.info-italic {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    background: linear-gradient(180deg, rgba(242, 242, 242, 0.6) 0%, rgba(242, 242, 242, 0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Story Rows */
.info-story {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-bottom: 120px;
}

.info-story-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-story-row.reverse {
    direction: ltr;
}

.info-story-row.reverse .info-text-wrapper.left {
    order: 1;
}

.info-story-row.reverse .info-image-wrapper.right {
    order: 2;
}

.info-image-wrapper {
    position: relative;
}

.info-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border-light);
    background: rgba(30, 30, 36, 0.5);
}

.info-image-frame.small {
    max-width: 400px;
    margin-top: 40px;
}

.info-image-frame.small.right {
    margin-left: auto;
}

.info-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform var(--transition-smooth);
}

.info-image-frame:hover .info-image {
    transform: scale(1.03);
}

.info-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
}

.info-text-bold {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.4;
}

.info-text-heading {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 4px;
}

.info-text-body {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Talented People Section */
.info-people-section {
    margin-bottom: 80px;
}

.info-people-heading {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.info-people-subtext {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.people-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.people-chip {
    display: inline-flex;
    align-items: center;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: all var(--transition-base);
}

.people-chip:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--color-text);
    opacity: 1;
    transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.section-footer {
    position: relative;
    z-index: 1;
    padding: 0 40px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--color-border-light) 50%, transparent 100%);
    margin-bottom: 60px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.footer-links {
    display: flex;
    gap: 120px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-column-heading {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--color-text-dim);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.footer-link {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition-base);
}

.footer-link:hover {
    opacity: 1;
    color: var(--color-text);
}

.footer-link .arrow-icon {
    font-size: 12px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.footer-copyright {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 6px;
}

.footer-tagline {
    font-size: 14px;
    color: var(--color-text-muted);
}

.footer-coming-soon {
    font-size: 14px;
    color: var(--color-text-dim);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Large Desktops / 1440p+ (≥1600px) --- */
@media (min-width: 1600px) {
    .container-projects {
        max-width: 1200px;
    }

    .section-info {
        max-width: 1400px;
    }

    .section-footer {
        max-width: 1400px;
    }
}

/* --- Ultra-wide / 4K (≥2560px) --- */
@media (min-width: 2560px) {
    .container-projects {
        max-width: 1400px;
    }

    .section-info {
        max-width: 1600px;
    }

    .section-footer {
        max-width: 1600px;
    }

    .nav-bar {
        padding: 32px 60px 56px;
    }

    .logo-name {
        font-size: 18px;
    }

    .logo-title {
        font-size: 15px;
    }

    .nav-toggle {
        font-size: 16px;
        padding: 12px 28px;
    }

    .chip-social {
        font-size: 16px;
        padding: 12px 22px;
    }

    .section-hero {
        padding: 140px 60px 60px;
    }

    .window-content {
        padding: 80px 70px 100px;
    }

    .section-projects {
        padding: 0 60px;
    }

    .project-card {
        padding: 40px;
    }

    .text-projectcard-title {
        font-size: 32px;
    }

    .text-projectcard-description {
        font-size: 18px;
    }

    .info-text-bold {
        font-size: 24px;
    }

    .info-text-heading {
        font-size: 24px;
    }

    .info-text-body {
        font-size: 18px;
    }

    .info-people-heading {
        font-size: 32px;
    }

    .info-people-subtext {
        font-size: 18px;
    }

    .footer-link {
        font-size: 18px;
    }
}

/* --- Tablet Landscape / Small Laptops (≤1024px) --- */
@media (max-width: 1024px) {
    .nav-bar {
        padding: 20px 24px 40px;
    }

    .section-hero {
        padding: 120px 24px 40px;
    }

    .section-projects {
        padding: 0 24px;
    }

    .section-info {
        padding: 140px 24px 60px;
    }

    .section-footer {
        padding: 0 24px 40px;
    }

    .footer-links {
        gap: 60px;
    }

    .info-story-row {
        gap: 40px;
    }
}

/* --- Tablet Portrait / Large Phones (≤768px) --- */
@media (max-width: 768px) {
    .nav-bar {
        padding: 16px 20px 36px;
    }

    .nav-right-wrapper {
        display: none;
    }

    .nav-left-wrapper {
        flex: 0 0 auto;
    }

    .logo-name {
        font-size: 15px;
    }

    .logo-title {
        font-size: 12px;
    }

    .section-hero {
        padding: 100px 20px 40px;
    }

    .window-content {
        padding: 40px 28px 50px;
        flex-direction: column;
        gap: 24px;
    }

    .hero-headshot {
        order: -1;
        align-self: center;
        margin-top: 0;
    }

    .hero-headshot-img {
        width: 100px;
        height: 100px;
    }

    .hero-subtitle {
        text-align: left;
        padding-right: 0;
    }

    .section-projects {
        padding: 0 20px;
    }

    .project-card-outline {
        top: 70px;
    }

    .project-card {
        padding: 24px 24px;
        min-height: 60vh;
    }

    .text-projectcard-title {
        font-size: 22px;
    }

    .text-projectcard-description {
        font-size: 14px;
    }

    .section-info {
        padding: 120px 20px 40px;
    }

    .info-story-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info-story-row.reverse .info-text-wrapper.left {
        order: 2;
    }

    .info-story-row.reverse .info-image-wrapper.right {
        order: 1;
    }

    .info-image-frame.small {
        max-width: 100%;
    }

    .info-text-bold {
        font-size: 18px;
    }

    .info-text-heading {
        font-size: 18px;
    }

    .info-text-body {
        font-size: 15px;
    }

    .info-people-heading {
        font-size: 24px;
    }

    .info-people-subtext {
        font-size: 15px;
    }

    .info-story {
        gap: 60px;
        margin-bottom: 80px;
    }

    .info-hero {
        margin-bottom: 60px;
    }

    .section-footer {
        padding: 0 20px 30px;
    }

    .footer-links {
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* --- Small Phones (≤480px) --- */
@media (max-width: 480px) {
    .nav-bar {
        padding: 14px 16px 32px;
    }

    .logo-name {
        font-size: 14px;
    }

    .logo-title {
        font-size: 11px;
    }

    .nav-toggle {
        font-size: 13px;
        padding: 8px 16px;
    }

    .hero-heading {
        font-size: 32px;
    }

    .section-hero {
        padding: 90px 16px 30px;
    }

    .window-content {
        padding: 30px 20px 40px;
    }

    .section-projects {
        padding: 0 16px;
    }

    .project-card-outline {
        top: 60px;
        margin-bottom: 24px;
    }

    .project-card {
        padding: 20px 18px;
        min-height: 50vh;
    }

    .text-projectcard-title {
        font-size: 20px;
    }

    .text-projectcard-description {
        font-size: 13px;
    }

    .icon-projectcard-arrow {
        font-size: 20px;
    }

    .section-info {
        padding: 100px 16px 30px;
    }

    .info-heading {
        font-size: 28px;
    }

    .info-text-bold {
        font-size: 16px;
    }

    .info-text-heading {
        font-size: 17px;
    }

    .info-text-body {
        font-size: 14px;
    }

    .info-image-frame.small {
        margin-top: 20px;
    }

    .info-story {
        gap: 40px;
        margin-bottom: 60px;
    }

    .info-hero {
        margin-bottom: 40px;
    }

    .info-people-heading {
        font-size: 22px;
    }

    .people-chip {
        padding: 8px 14px;
        font-size: 13px;
    }

    .section-footer {
        padding: 0 16px 24px;
    }

    .footer-links {
        flex-direction: column;
        gap: 30px;
    }

    .footer-link {
        font-size: 15px;
    }

    .footer-copyright {
        font-size: 13px;
    }

    .footer-tagline {
        font-size: 13px;
    }
}

/* --- iPhone Mini / Very Small Phones (≤375px) --- */
@media (max-width: 375px) {
    .nav-bar {
        padding: 12px 12px 28px;
    }

    .logo-name {
        font-size: 13px;
    }

    .logo-title {
        font-size: 10px;
    }

    .nav-toggle {
        font-size: 12px;
        padding: 7px 14px;
    }

    .hero-heading {
        font-size: 28px;
    }

    .section-hero {
        padding: 80px 12px 24px;
    }

    .window-content {
        padding: 24px 16px 32px;
    }

    .section-projects {
        padding: 0 12px;
    }

    .project-card-outline {
        top: 52px;
        margin-bottom: 20px;
    }

    .project-card {
        padding: 16px 14px;
        min-height: 45vh;
    }

    .text-projectcard-title {
        font-size: 18px;
    }

    .text-projectcard-description {
        font-size: 12px;
    }

    .section-info {
        padding: 90px 12px 24px;
    }

    .info-heading {
        font-size: 24px;
    }

    .info-text-bold {
        font-size: 15px;
    }

    .info-text-heading {
        font-size: 16px;
    }

    .info-text-body {
        font-size: 13px;
        line-height: 1.5;
    }

    .info-people-heading {
        font-size: 20px;
    }

    .people-chip {
        padding: 7px 12px;
        font-size: 12px;
    }

    .footer-links {
        gap: 24px;
    }

    .footer-column-heading {
        font-size: 11px;
    }

    .footer-link {
        font-size: 14px;
    }
}