/* ── tokens ── */
:root {
    --bg:        #F5F1EA;
    --bg-alt:    #EDE8DC;
    --bg-card:   rgba(28,25,23,.03);
    --bg-ch:     rgba(28,25,23,.06);
    --border:    rgba(28,25,23,.13);
    --bh:        rgba(180,83,9,.4);
    --text:      #1C1917;
    --muted:     #6B6560;
    --accent:    #B45309;
    --acc-h:     #92400E;
    --gold:      #A16207;
    --green:     #15803D;
    --red:       #B91C1C;
    --rule:      rgba(28,25,23,.11);
    --sh:        0 1px 3px rgba(28,25,23,.07), 0 4px 16px rgba(28,25,23,.04);
    --sh-h:      0 4px 16px rgba(28,25,23,.12), 0 16px 48px rgba(28,25,23,.06);
    --F:         'DM Sans', system-ui, sans-serif;
    --FD:        'Bricolage Grotesque', sans-serif;
    --FM:        'JetBrains Mono', 'Courier New', monospace;
    --r:         6px;
    --r-sm:      4px;
    --nh:        64px;
}
.dark {
    --bg:        #18120D;
    --bg-alt:    #211810;
    --bg-card:   rgba(255,255,255,.03);
    --bg-ch:     rgba(255,255,255,.06);
    --border:    rgba(255,255,255,.1);
    --bh:        rgba(217,119,6,.45);
    --text:      #EDE8DC;
    --muted:     #A09080;
    --accent:    #D97706;
    --acc-h:     #F59E0B;
    --gold:      #FBBF24;
    --green:     #22C55E;
    --red:       #F87171;
    --rule:      rgba(255,255,255,.09);
    --sh:        0 1px 3px rgba(0,0,0,.35), 0 4px 16px rgba(0,0,0,.22);
    --sh-h:      0 4px 16px rgba(0,0,0,.5), 0 0 32px rgba(217,119,6,.06);
}

/* ── reset ── */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0 }
html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100% }
body {
    font-family: var(--F);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    max-width: 100%;
    transition: background .3s, color .3s;
    line-height: 1.7;
    font-size: 16px;
}
a { color: inherit; text-decoration: none }
img { max-width: 100%; display: block }
strong { font-weight: 600 }

/* ── layout ── */
.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 2rem }
.section { padding: 6rem 0; border-top: 1px solid var(--rule) }
.sec-alt { background: var(--bg-alt) }
.sec-hdr { margin-bottom: 3.5rem }
.sec-num {
    display: block;
    font-family: var(--FM);
    font-size: .75rem;
    color: var(--muted);
    letter-spacing: .08em;
    margin-bottom: .5rem;
    opacity: .75;
}
.eyebrow {
    display: block;
    font-family: var(--FM);
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
}
.sec-title {
    font-family: var(--FD);
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    font-style: normal;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -.02em;
}
.sec-desc { margin-top: .75rem; color: var(--muted); font-size: 1rem; line-height: 1.75 }
.body-text { color: var(--muted); font-size: 1rem; line-height: 1.75; margin-bottom: 1rem }

/* ── nav ── */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: color-mix(in srgb, var(--bg) 90%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--rule);
    transition: background .3s;
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: var(--nh); max-width: 1140px; margin: 0 auto; padding: 0 2rem;
}
.nav-logo { display: flex; align-items: baseline; gap: 10px }
.nav-logo-mark {
    font-family: var(--FD);
    font-size: 1.25rem;
    font-weight: 800;
    font-style: normal;
    color: var(--accent);
    letter-spacing: -.02em;
    line-height: 1;
}
.nav-logo-name {
    font-family: var(--FM);
    font-size: .7rem;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
}
.nav-links { display: flex; gap: 0 }
.nav-link {
    font-family: var(--F);
    color: var(--muted);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .01em;
    padding: .375rem .875rem;
    transition: color .15s;
}
.nav-link:hover { color: var(--accent) }
.nav-actions { display: flex; align-items: center; gap: 8px }
.icon-btn {
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    border-radius: var(--r);
    cursor: pointer;
    display: grid; place-items: center;
    font-size: .875rem;
    transition: all .15s;
}
.icon-btn:hover { color: var(--accent); border-color: var(--bh) }
.lang-btn { width: auto; min-width: 36px; padding: 0 10px; font-family: var(--FM); font-size: .75rem; font-weight: 500; color: var(--text) }
.menu-btn { display: none }
.mobile-menu {
    background: var(--bg);
    border-top: 1px solid var(--rule);
    padding: .75rem 2rem 1rem;
}
.mob-link {
    display: block; padding: .75rem 0;
    font-family: var(--F);
    color: var(--muted); font-size: .9375rem; font-weight: 500;
    border-bottom: 1px solid var(--border);
    transition: color .15s;
}
.mob-link:last-child { border-bottom: none }
.mob-link:hover { color: var(--accent) }

/* ── hero ── */
.hero-section {
    min-height: 100svh;
    display: flex; align-items: center;
    padding: calc(var(--nh) + 4rem) 0 4rem;
    position: relative; overflow: hidden;
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 5rem;
    align-items: center;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}
.hero-eyebrow {
    font-family: var(--FM);
    font-size: .8125rem;
    color: var(--muted);
    letter-spacing: .1em;
    margin-bottom: 1.5rem;
    display: block;
}
.hero-title {
    font-family: var(--FD);
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    font-weight: 800;
    font-style: normal;
    line-height: .95;
    color: var(--text);
    margin-bottom: 2rem;
    letter-spacing: -.03em;
}
.hero-title em,
.hero-accent {
    font-style: normal;
    color: var(--accent);
}
.hero-rule {
    width: 2.5rem; height: 2px;
    background: var(--accent);
    margin-bottom: 1.5rem;
}
.hero-sub {
    color: var(--muted);
    font-size: clamp(.9375rem, 1.5vw, 1.0625rem);
    max-width: 500px;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}
.hero-socials { display: flex; gap: .5rem; margin-bottom: 1.75rem; flex-wrap: wrap }
.soc-btn {
    width: 40px; height: 40px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--muted);
    border-radius: var(--r);
    display: grid; place-items: center;
    font-size: .9375rem;
    transition: all .2s;
}
.soc-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff }
.hero-ctas { display: flex; gap: .875rem; flex-wrap: wrap }

/* ── buttons ── */
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    padding: .75rem 1.5rem;
    background: var(--accent); color: #fff;
    font-family: var(--F); font-weight: 600;
    font-size: .9375rem; letter-spacing: .01em;
    border-radius: var(--r); border: 1px solid var(--accent);
    transition: all .2s;
}
.btn-primary:hover { background: var(--acc-h); border-color: var(--acc-h); transform: translateY(-1px) }
.btn-ghost {
    display: inline-flex; align-items: center; gap: 8px;
    padding: .75rem 1.5rem;
    border: 1px solid var(--border);
    color: var(--muted);
    font-family: var(--F); font-weight: 600;
    font-size: .9375rem; letter-spacing: .01em;
    border-radius: var(--r); background: transparent;
    transition: all .2s;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent) }

/* ── hero aside ── */
.hero-aside { position: relative; flex-shrink: 0 }
.profile-wrap { position: relative }
.profile-wrap::after {
    content: '';
    position: absolute;
    top: 12px; left: 12px; right: -12px; bottom: -12px;
    border: 2px solid var(--accent);
    opacity: .25;
    pointer-events: none;
    transition: opacity .3s;
    border-radius: var(--r);
}
.hero-aside:hover .profile-wrap::after { opacity: .45 }
.profile-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 15%;
    border: 1px solid var(--border);
    border-radius: var(--r);
    display: block;
    filter: grayscale(5%) contrast(1.02);
}
.profile-ring { display: none }
.hero-aside-meta {
    margin-top: 1rem;
    display: flex; flex-direction: column; gap: .25rem;
}
.mono-label {
    font-family: var(--FM);
    font-size: .75rem;
    color: var(--muted);
    letter-spacing: .06em;
}
.scroll-hint {
    position: absolute; bottom: 2rem; left: 0; right: 0;
    margin: 0 auto; width: fit-content;
    display: flex; flex-direction: column; align-items: center;
    gap: 5px; color: var(--muted);
    font-family: var(--FM); font-size: .75rem;
    letter-spacing: .1em; text-transform: uppercase;
    animation: bounce 2.2s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: translateY(0) } 50% { transform: translateY(5px) } }

/* ── about ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start }
.about-quote {
    border-left: 3px solid var(--accent);
    padding: 1rem 0 1rem 1.25rem;
    font-family: var(--FD);
    font-style: normal;
    font-weight: 500;
    font-size: 1.1875rem;
    color: var(--text);
    line-height: 1.6;
    margin-top: 1.5rem;
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem }
.stat-card {
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    padding: 1.5rem 1.25rem;
    background: transparent;
    border-radius: var(--r-sm);
    transition: border-top-color .2s, box-shadow .2s;
}
.stat-card:hover { border-top-color: var(--acc-h); box-shadow: var(--sh) }
.stat-num {
    font-family: var(--FD);
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}
.stat-sfx { font-family: var(--FD); font-size: 2.5rem; font-weight: 800; color: var(--accent) }
.stat-lbl {
    margin-top: .5rem;
    font-family: var(--FM);
    font-size: .75rem;
    color: var(--muted);
    letter-spacing: .06em;
    text-transform: uppercase;
}

/* ── timeline ── */
.timeline { position: relative; padding-left: 2.5rem }
.timeline::before {
    content: '';
    position: absolute; left: 8px; top: 0; bottom: 0;
    width: 2px; background: var(--rule);
    border-radius: 1px;
}
.tl-item { position: relative; padding-bottom: 2.25rem }
.tl-item:last-child { padding-bottom: 0 }
.tl-dot {
    position: absolute; left: -36px; top: 1.375rem;
    width: 10px; height: 10px;
    background: var(--accent);
    border: 2px solid var(--bg);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 0 1px var(--accent);
}
.tl-dot-sm {
    width: 8px; height: 8px;
    left: -35px; top: 1.5rem;
    background: var(--muted);
    border: 2px solid var(--bg);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--muted);
}
.tl-dot-gold { background: var(--gold); box-shadow: 0 0 0 1px var(--gold) }
.tl-card {
    border: 1px solid var(--border);
    border-left: 3px solid transparent;
    padding: 1.5rem 1.5rem 1.375rem;
    background: var(--bg-card);
    border-radius: var(--r-sm);
    transition: border-left-color .2s, box-shadow .2s;
}
.tl-card:hover { border-left-color: var(--accent); box-shadow: var(--sh) }
.tl-hdr { display: flex; justify-content: space-between; align-items: flex-start; gap: .75rem; flex-wrap: wrap; margin-bottom: .875rem }
.tl-role {
    font-family: var(--FD);
    font-size: 1.125rem;
    font-weight: 700;
    font-style: normal;
    color: var(--text);
    margin-bottom: .2rem;
    line-height: 1.25;
    letter-spacing: -.01em;
}
.tl-company {
    font-family: var(--FM);
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .25rem;
}
.tl-loc { font-family: var(--FM); font-size: .8125rem; color: var(--muted) }
.tl-loc i { margin-right: 3px; font-size: .75rem }
.tl-period {
    flex-shrink: 0;
    font-family: var(--FM);
    font-size: .8125rem;
    color: var(--muted);
    border: 1px solid var(--border);
    padding: 4px 12px;
    white-space: nowrap;
    align-self: flex-start;
    border-radius: var(--r-sm);
}
.tl-bullets { list-style: none }
.tl-bullets li {
    position: relative; padding-left: 1.125rem;
    color: var(--muted); font-size: .9375rem;
    line-height: 1.7; margin-bottom: .4375rem;
}
.tl-bullets li:last-child { margin-bottom: 0 }
.tl-bullets li::before {
    content: '—';
    position: absolute; left: 0; top: 0;
    color: var(--accent); font-size: .75rem; line-height: 1.7;
    font-family: var(--FM);
}
.edu-meta { margin-top: .875rem }
.gpa-badge {
    font-family: var(--FM); font-size: .8125rem;
    color: var(--muted); margin-bottom: .4rem; display: block;
}
.gpa-badge em { font-style: normal; color: var(--accent) }
.gpa-gold em { color: var(--gold) }
.edu-thesis { font-size: .9375rem; color: var(--muted); line-height: 1.65 }
.edu-thesis a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px }

/* ── skills ── */
.skills-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem 5rem }
.skill-cat-title {
    font-family: var(--FM); font-size: .8125rem; font-weight: 500;
    letter-spacing: .1em; text-transform: uppercase;
    margin-bottom: 1.25rem; color: var(--muted);
    padding-bottom: .625rem; border-bottom: 1px solid var(--rule);
}
.skill-tags { display: flex; flex-wrap: wrap; gap: .4375rem }
.sk-tag {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px;
    font-family: var(--FM); font-size: .8125rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--muted);
    transition: all .15s; cursor: default;
}
.sk-tag:hover { border-color: var(--accent); color: var(--accent) }
.expertise-list { display: flex; flex-direction: column }
.exp-item {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    background: transparent;
}
.exp-item:last-child { border-bottom: none }
.exp-icon {
    width: 1.75rem; height: 1.75rem;
    color: var(--accent);
    display: grid; place-items: center;
    font-size: .875rem; flex-shrink: 0; margin-top: .1rem;
}
.exp-title {
    font-family: var(--F); font-size: .9375rem; font-weight: 600;
    color: var(--text); margin-bottom: .3rem;
}
.exp-desc { font-family: var(--FM); font-size: .8125rem; color: var(--muted); line-height: 1.55 }

/* ── portfolio tabs ── */
.tabs-wrap { margin-bottom: 2.5rem; display: flex; justify-content: center }
.tabs {
    display: inline-flex;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px;
    gap: 4px;
}
.tab {
    padding: .5rem 1.25rem;
    font-family: var(--F); font-size: .9375rem;
    font-weight: 500;
    color: var(--muted); background: none;
    border: none;
    cursor: pointer; transition: all .2s;
    border-radius: 999px;
}
.tab.active { color: #fff; background: var(--accent); }
.tab:not(.active):hover { color: var(--text); background: var(--border); }
.tab-content { display: none }
.tab-content.active { display: block }

/* ── case study cards ── */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.case-card {
    border: 1px solid var(--border);
    padding: 2rem;
    padding-top: calc(2rem + 3px);
    display: flex; flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--r-sm);
    position: relative; overflow: hidden;
    transition: box-shadow .2s;
}
.case-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--acc-h));
    transition: height .2s;
}
.case-card:hover { box-shadow: var(--sh) }
.case-card:hover::before { height: 4px; }
.case-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: .75rem }
.case-badge { font-family: var(--FM); font-size: .8125rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted) }
.case-year { font-family: var(--FM); font-size: .8125rem; color: var(--muted) }
.case-title {
    font-family: var(--FD); font-size: 1.1875rem;
    font-weight: 700; font-style: normal;
    margin-bottom: .75rem; line-height: 1.3; color: var(--text);
    letter-spacing: -.01em;
}
.case-desc { color: var(--muted); font-size: .9375rem; line-height: 1.75; margin-bottom: 1.25rem }
.cs-metrics {
    display: flex; align-items: center; gap: .375rem;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    padding: 1rem; margin-bottom: 1.125rem;
    flex-wrap: wrap; background: transparent;
}
.cs-m { flex: 1; text-align: center; min-width: 64px }
.cs-div { border-left: 1px solid var(--border); padding-left: .375rem }
.cs-val { font-family: var(--FD); font-size: 1.5rem; font-weight: 700; line-height: 1 }
.cs-bad { color: var(--red) } .cs-good { color: var(--green) } .cs-neu { color: var(--accent) }
.cs-lbl { font-family: var(--FM); font-size: .75rem; color: var(--muted); margin-top: 3px }
.cs-arrow { font-family: var(--FM); font-size: .9375rem; color: var(--accent); font-weight: 700; flex-shrink: 0 }
.case-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 1.25rem }
.cs-tag { font-family: var(--FM); font-size: .8125rem; padding: 4px 10px; border: 1px solid var(--border); color: var(--muted); background: transparent; border-radius: var(--r-sm) }
.btn-case {
    display: inline-flex; align-items: center; gap: 8px;
    padding: .625rem 1.125rem;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--F); font-size: .9375rem; font-weight: 600;
    border-radius: var(--r);
    transition: all .2s; margin-top: auto; background: transparent;
    width: fit-content;
}
.btn-case:hover { background: var(--accent); color: #fff }

/* ── project cards ── */
.proj-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 380px)); gap: 1.5rem; justify-content: center }
.proj-card {
    border: 1px solid var(--border);
    border-top: 3px solid var(--accent);
    display: flex; flex-direction: column;
    background: var(--bg-card);
    border-radius: var(--r-sm);
    overflow: hidden;
    transition: border-top-color .2s, box-shadow .2s;
}
.proj-card:hover { border-top-color: var(--acc-h); box-shadow: var(--sh) }
.proj-img { width: 100%; height: 12rem; overflow: hidden; flex-shrink: 0 }
.proj-img img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .4s ease; }
.proj-card:hover .proj-img img { transform: scale(1.05) }
.proj-body { padding: 2rem; display: flex; flex-direction: column; flex: 1 }
.proj-title { font-family: var(--FD); font-size: 1.1875rem; font-weight: 700; font-style: normal; margin-bottom: .75rem; color: var(--text); letter-spacing: -.01em }
.proj-desc { font-size: .9375rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.25rem; flex: 1 }
.proj-links { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: auto }
.btn-sm-p {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px; font-family: var(--F);
    font-size: .875rem; font-weight: 600;
    background: var(--accent); color: #fff;
    border: 1px solid var(--accent); border-radius: var(--r); transition: all .15s;
}
.btn-sm-p:hover { background: var(--acc-h); border-color: var(--acc-h) }
.btn-sm-o {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 14px; font-family: var(--F);
    font-size: .875rem; font-weight: 600;
    border: 1px solid var(--border); color: var(--muted);
    border-radius: var(--r); background: transparent; transition: all .15s;
}
.btn-sm-o:hover { border-color: var(--accent); color: var(--accent) }

/* ── awards ── */
.awards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem }
.award-card {
    display: flex; align-items: flex-start; gap: .875rem;
    padding: 1.125rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    background: transparent; transition: border-color .2s;
}
.award-card:hover { border-color: var(--accent) }
.award-icon {
    width: 34px; height: 34px; flex-shrink: 0;
    display: grid; place-items: center;
    font-size: .875rem; color: var(--muted);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    margin-top: .1rem;
}
.award-gold .award-icon { color: var(--gold); border-color: rgba(161,98,7,.3) }
.dark .award-gold .award-icon { border-color: rgba(251,191,36,.2) }
.award-title { font-family: var(--F); font-size: .9375rem; font-weight: 600; color: var(--text); line-height: 1.4; margin-bottom: 2px }
.award-meta { font-family: var(--FM); font-size: .8125rem; color: var(--muted) }

/* ── contact ── */
.contact-wrap { display: flex; flex-direction: column; align-items: center; gap: 2rem }
.contact-socials { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center }
.soc-lg {
    width: 48px; height: 48px;
    border: 1px solid var(--border);
    background: transparent; color: var(--muted);
    border-radius: var(--r);
    display: grid; place-items: center;
    font-size: 1.125rem; transition: all .2s;
}
.soc-lg:hover { background: var(--accent); border-color: var(--accent); color: #fff }
.contact-dls { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center }
.sec-hdr.centered { text-align: center }

/* ── footer ── */
.site-footer {
    background: var(--bg);
    border-top: 1px solid var(--rule);
    padding: 1.75rem 0;
    font-family: var(--FM);
    font-size: .8125rem; color: var(--muted);
    text-align: center;
}
.site-footer a { color: var(--accent) }
.site-footer a:hover { text-decoration: underline }

/* ── responsive ── */
@media(max-width:900px) {
    .hero-inner { grid-template-columns: 1fr }
    .hero-aside { display: none }
    .hero-title { font-size: clamp(2.75rem, 11vw, 4.5rem) }
}
@media(max-width:768px) {
    .nav-links { display: none }
    .menu-btn { display: grid }
    .about-grid, .skills-grid { grid-template-columns: 1fr; gap: 2.5rem }
    .awards-grid { grid-template-columns: 1fr }
    .proj-grid { grid-template-columns: 1fr }
    .case-grid { grid-template-columns: 1fr }
    .section { padding: 4rem 0 }
    .timeline { padding-left: 1.75rem }
    .timeline::before { left: 7px }
    .tl-dot { left: -25px; top: 1.25rem }
    .tl-dot-sm { left: -24px; top: 1.375rem }
}
@media(max-width:480px) {
    .hero-title { font-size: 2.625rem }
    .stats-grid { grid-template-columns: 1fr 1fr }
    .hero-ctas, .contact-dls { flex-direction: column; align-items: flex-start }
    .tl-hdr { flex-direction: column }
    .tl-period { align-self: flex-start }
}

/* AOS overflow fix */
[data-aos] { backface-visibility: hidden }
