/* =========================
   DESIGN TOKENS
   ========================= */
:root {
    --bg: #f8f2e9;
    --surface: #fffaf1;
    --surface-hover: #f6ecdb;
    --border: #e8dcc5;
    --border-hover: #d3bd97;

    --text: #362a1f;
    --text-dim: #6d5e4c;
    --text-faint: #97876e;

    --accent: #a8613a;
    --accent-hover: #8a4c2c;
    --accent-soft: rgba(168, 97, 58, 0.1);
    --accent-soft-strong: rgba(168, 97, 58, 0.2);

    --ink: #2b2015;
    --ink-text: #f5ead9;
    --ink-text-dim: #d8c4ac;

    --radius: 22px;
    --radius-sm: 12px;
    --radius-lg: 32px;

    --shadow-sm: 0 1px 2px rgba(54, 42, 31, 0.05);
    --shadow-md: 0 14px 32px rgba(54, 42, 31, 0.09);
}

/* =========================
   GLOBAL RESET
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(900px 480px at 12% -8%, rgba(168, 97, 58, 0.07), transparent 60%),
        var(--bg);
    color: var(--text);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 999;
    pointer-events: none;
    opacity: 0.035;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

h1, h2, h3, h4, h5 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
}

/* =========================
   LINKS
   ========================= */
a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
}

/* =========================
   NAVBAR
   ========================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 10%;
    background: rgba(248, 242, 233, 0.82);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-brand {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    color: var(--text);
}

.nav-brand:hover {
    color: var(--text);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dim);
    position: relative;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0%;
    background: var(--accent);
    transition: 0.3s;
    position: absolute;
    bottom: -4px;
    left: 0;
    border-radius: 2px;
}

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

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

.nav-resume {
    padding: 9px 22px;
    border: 1px solid var(--border-hover);
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text);
    transition: all 0.25s ease;
}

.nav-resume:hover {
    border-color: var(--accent);
    background: var(--accent);
    color: #fdf7ee;
}

/* =========================
   HERO SECTION
   ========================= */
.hero {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.hero h2 {
    font-weight: 500;
    font-size: 1.15rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-dim);
    margin-bottom: 20px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 18px;
}

.hero-eyebrow::before {
    content: '';
    width: 34px;
    height: 1px;
    background: var(--accent);
}

.hero p {
    max-width: 640px;
    color: var(--text-dim);
    margin: 0 auto 20px;
}

.hero-subtitle {
    max-width: 640px;
    color: var(--text-dim);
    margin: 0 auto 20px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons a {
    display: inline-block;
    margin: 10px 8px;
    padding: 12px 28px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

.hero-buttons a.primary {
    background: var(--accent);
    color: #fdf7ee;
    border: none;
}

.hero-buttons a.primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(168, 97, 58, 0.28);
}

.hero-buttons a.secondary {
    color: var(--text);
    border: 1px solid var(--border-hover);
}

.hero-buttons a.secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* =========================
   BREADCRUMB
   ========================= */
.breadcrumb {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-faint);
    padding-top: 30px;
}

.breadcrumb a {
    color: var(--text-faint);
}

.breadcrumb a:hover {
    color: var(--accent);
}

/* =========================
   SPLIT HERO (homepage)
   ========================= */
.hero-split {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    gap: 5vw;
    text-align: left;
    padding: 150px 6% 0;
}

.hero-intro {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 90px;
}

.hero-split .hero-intro h1 {
    font-size: clamp(3.2rem, 6.6vw, 6.4rem);
    line-height: 0.98;
    margin-bottom: 22px;
    letter-spacing: -0.02em;
}

.hero-split .hero-intro h2 {
    max-width: 480px;
    font-size: 1.2rem;
}

.hero-split .hero-buttons,
.hero-split .social-icons {
    justify-content: flex-start;
}

.hero-split .hero-buttons a {
    margin: 10px 8px 10px 0;
    padding: 15px 32px;
    font-size: 1rem;
}

.hero-media {
    position: relative;
    min-width: 0;
    flex: 0 0 44%;
    height: calc(100vh - 150px);
    max-height: 760px;
    min-height: 380px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-top: 60px;
    align-self: flex-start;
}

.hero-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 44% 22%;
}

.hero-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(190deg, rgba(43, 32, 21, 0) 55%, rgba(43, 32, 21, 0.28) 100%);
}

/* =========================
   STAT STRIP
   ========================= */
.stat-strip {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 6% 60px;
    border-bottom: 1px solid var(--border);
}

.stat-strip .fact {
    flex: 1 1 200px;
    min-width: 0;
    padding: 0 28px;
    border-left: 1px solid var(--border);
}

.stat-strip .fact:first-child {
    padding-left: 0;
    border-left: none;
}

.stat-strip .fact-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-faint);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.stat-strip .fact-value {
    display: block;
    font-family: 'Fraunces', serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text);
}

/* =========================
   STATEMENT
   ========================= */
.statement {
    max-width: 980px;
    padding: 130px 6%;
    margin: 0 auto;
    text-align: center;
}

.statement p {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.7rem, 3.4vw, 2.7rem);
    line-height: 1.35;
    color: var(--text);
}

.statement em {
    color: var(--accent);
    font-style: italic;
}

/* =========================
   SECTIONS
   ========================= */
section {
    padding: 110px 10%;
    max-width: 1200px;
    margin: auto;
}

.section-head {
    margin-bottom: 48px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.eyebrow::after {
    content: '';
    flex: 1;
    max-width: 80px;
    height: 1px;
    background: var(--border-hover);
}

section h3 {
    font-size: clamp(2.2rem, 4.4vw, 3.2rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0;
    letter-spacing: -0.01em;
}

.section-head h3 {
    margin-bottom: 0;
}

section h4,
section h5 {
    color: var(--text);
    margin-bottom: 15px;
}

.about p,
section > p {
    color: var(--text-dim);
    margin-bottom: 15px;
}

/* =========================
   ABOUT
   ========================= */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    align-items: start;
}

.lede {
    font-family: 'Fraunces', serif;
    font-size: clamp(1.3rem, 2vw, 1.6rem);
    line-height: 1.5;
    color: var(--text);
}

.education-grid {
    grid-template-columns: 1fr 1fr;
    margin-top: 28px;
}

.about-snapshot {
    float: right;
    width: 240px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: 50% 10%;
    margin: 4px 0 20px 32px;
    border-radius: 10px;
    border: 8px solid var(--surface);
    box-shadow: var(--shadow-md);
    transform: rotate(3deg);
    transition: transform 0.35s ease;
}

.about-snapshot:hover {
    transform: rotate(0deg) scale(1.03);
}

.highlights {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    list-style: none;
    color: var(--text-dim);
    box-shadow: var(--shadow-sm);
}

.highlights li {
    padding-left: 26px;
    position: relative;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

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

.highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.highlights strong {
    color: var(--text);
}

/* =========================
   TAG PILLS
   ========================= */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-hover);
    background: var(--accent-soft);
    border: 1px solid var(--accent-soft-strong);
    padding: 5px 12px;
    border-radius: 999px;
}

/* =========================
   SKILLS
   ========================= */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.skill-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}

.skill-card h4 {
    font-size: 1.05rem;
    margin-bottom: 14px;
}

/* =========================
   TIMELINE
   ========================= */
.timeline {
    position: relative;
    padding-left: 28px;
    border-left: 1px solid var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 44px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -33px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px solid var(--accent);
}

.timeline-date {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-faint);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 6px;
    display: block;
}

.timeline-item h4 {
    margin-bottom: 2px;
}

.timeline-item h5 {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 12px;
}

/* =========================
   PROJECT / WORK GRID
   ========================= */
.projects-grid,
.work-experience {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
}

.project-card {
    background: var(--surface);
    border: 1px solid var(--border);
    padding: 26px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-hover);
    background: var(--surface-hover);
    box-shadow: var(--shadow-md);
}

.project-card img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    margin-bottom: 15px;
    border: 1px solid var(--border);
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.03);
}

.project-card h4 {
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text);
}

.project-card h5 {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-faint);
    margin-bottom: 12px;
}

.project-card p {
    font-size: 0.95rem;
    color: var(--text-dim);
    margin-bottom: 15px;
}

.project-card-buttons {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.project-card-buttons a {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-hover);
    color: var(--text);
    transition: all 0.25s ease;
}

.project-card-buttons a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.screenshots .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
}

.screenshots .project-card {
    padding: 16px;
}

.screenshots .project-card img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
}

.screenshots .project-card h4 {
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.screenshots .project-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* =========================
   CASE STUDY WALKTHROUGH
   ========================= */
.case-study {
    max-width: 1360px;
    padding-left: 4%;
    padding-right: 4%;
}

.case-study-rows {
    display: flex;
    flex-direction: column;
    gap: 88px;
    margin-top: 8px;
}

.case-row {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 48px;
    align-items: center;
}

.case-row.reverse .case-media {
    order: 2;
}

.case-row.reverse .case-copy {
    order: 1;
}

.browser-frame {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.browser-frame:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-hover);
}

.browser-frame-media {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    background: var(--bg);
    min-height: 360px;
}

.browser-frame-media img {
    max-width: 100%;
    max-height: 640px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
}

.case-index {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent);
    letter-spacing: 0.08em;
    margin-bottom: 10px;
}

.case-copy h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.case-copy p {
    max-width: 46ch;
    margin-bottom: 0;
}

@media (max-width: 860px) {
    .case-row,
    .case-row.reverse {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .case-row.reverse .case-media,
    .case-row.reverse .case-copy {
        order: unset;
    }

    .case-study-rows {
        gap: 48px;
    }
}

/* =========================
   BENTO PROJECT GRID
   ========================= */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

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

.bento-grid .project-card.featured {
    grid-column: span 4;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: center;
    overflow: hidden;
    padding: 0;
}

.bento-grid .project-card.featured img {
    margin: 0;
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
    border: none;
    border-radius: 0;
}

.bento-grid .project-card.featured > div {
    padding: 30px 40px 30px 0;
}

.bento-grid .project-card.compact {
    grid-column: span 2;
}

/* =========================
   CONTACT BANNER
   ========================= */
#contact.contact-section {
    max-width: none;
    padding: 0;
}

.contact-banner {
    text-align: center;
    background:
        radial-gradient(900px 420px at 50% -25%, rgba(255, 255, 255, 0.05), transparent 65%),
        var(--ink);
    padding: 150px 6%;
}

.contact-banner .eyebrow {
    justify-content: center;
    color: #d9a37b;
}

.contact-banner .eyebrow::after {
    max-width: 40px;
    background: rgba(245, 234, 217, 0.25);
}

.contact-banner h3 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    color: var(--ink-text);
    margin-bottom: 18px;
}

.contact-banner p {
    max-width: 480px;
    margin: 0 auto 30px;
    color: var(--ink-text-dim);
}

.contact-banner .hero-buttons {
    justify-content: center;
}

.contact-banner .hero-buttons a.primary {
    background: var(--ink-text);
    color: var(--ink);
}

.contact-banner .hero-buttons a.primary:hover {
    background: #fff;
}

.contact-banner .hero-buttons a.secondary {
    color: var(--ink-text);
    border-color: rgba(245, 234, 217, 0.3);
}

.contact-banner .hero-buttons a.secondary:hover {
    border-color: var(--ink-text);
    color: var(--ink-text);
}

.contact-banner .social-icons a {
    color: var(--ink-text-dim);
}

.contact-banner .social-icons a:hover {
    color: var(--ink-text);
}

/* =========================
   FOOTER
   ========================= */
footer {
    text-align: center;
    padding: 50px 20px 60px;
    border-top: 1px solid var(--border);
    color: var(--text-faint);
    font-size: 0.9rem;
}

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

footer a:hover {
    color: var(--accent);
}

/* =========================
   ANIMATIONS
   ========================= */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* =========================
   SOCIALS
   ========================= */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.social-icons a {
    display: inline-flex;
    color: var(--text-dim);
    transition: 0.2s ease;
}

.social-icons a:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.social-icons .icon {
    width: 22px;
    height: 22px;
}

/* =========================
   LIST STYLING
   ========================= */
ul {
    list-style-type: disc;
    padding-left: 22px;
    margin-bottom: 20px;
    color: var(--text-dim);
}

ul ul {
    list-style-type: circle;
    padding-left: 22px;
    margin-top: 10px;
}

ul li {
    margin-bottom: 8px;
}

ul li strong {
    color: var(--text);
}

/* =========================
   RESPONSIVE ADJUSTMENTS
   ========================= */
@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
        padding: 15px 5%;
    }

    .nav-toggle {
        display: flex;
    }

    /* Dropdown overlays the page so opening it never resizes the nav.
       Only opacity and transform animate, which avoids layout work and
       re-blurring the sticky nav's backdrop-filter on every frame. */
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 18px 5% 22px;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        opacity: 0;
        transform: translateY(-8px);
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    }

    .nav-menu.open {
        opacity: 1;
        transform: translateY(0);
        visibility: visible;
        pointer-events: auto;
        transition-delay: 0s;
    }

    @media (prefers-reduced-motion: reduce) {
        .nav-menu {
            transition: none;
        }
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }

    .nav-resume {
        margin-bottom: 4px;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero h2 {
        font-size: 1.1rem;
    }

    section {
        padding: 64px 6%;
    }

    .statement {
        padding: 80px 6%;
    }

    .hero-split {
        flex-direction: column;
        text-align: center;
        padding: 110px 6% 0;
        min-height: unset;
    }

    .hero-intro {
        padding-bottom: 40px;
        align-items: center;
    }

    .hero-eyebrow {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-media {
        margin-top: 0;
        margin-bottom: 50px;
        height: auto;
        aspect-ratio: 4 / 3.3;
        max-height: none;
        min-height: 0;
        flex: none;
        width: 100%;
    }

    .hero-split .hero-intro h2 {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-split .hero-buttons,
    .hero-split .social-icons {
        justify-content: center;
    }

    .stat-strip {
        padding: 0 6% 50px;
    }

    .stat-strip .fact {
        flex: 1 1 45%;
        border-left: none;
        padding: 16px 0;
        border-top: 1px solid var(--border);
    }

    .stat-strip .fact:first-child {
        border-top: none;
    }

    .contact-banner {
        padding: 90px 6%;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-snapshot {
        float: none;
        display: block;
        width: 220px;
        margin: 0 auto 28px;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid .project-card,
    .bento-grid .project-card.featured,
    .bento-grid .project-card.compact {
        grid-column: span 1;
    }

    .bento-grid .project-card.featured {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bento-grid .project-card.featured img {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
        object-position: top;
    }

    .bento-grid .project-card.featured > div {
        padding: 30px;
    }
}

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

    .hero h2 {
        font-size: 1rem;
    }

    .projects-grid,
    .work-experience {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .stat-strip .fact {
        flex: 1 1 100%;
    }

    .bento-grid .project-card.featured > div {
        padding: 26px;
    }
}
