/*fonts*/
.fira-sans-regular {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  font-style: normal;
}
.fira-sans-bold {
  font-family: "Fira Sans", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.gfs-didot-regular {
  font-family: "GFS Didot", serif;
  font-weight: 400;
  font-style: normal;
}
.lora-bold {
  font-family: "Lora", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}

/*scroll*/
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/*base*/
*, *::before, *::after { box-sizing: border-box; }
html {
    background-color: #d7e6f5;
    scroll-behavior: smooth;
}
body {
    font-family: "Fira Sans", sans-serif;
    font-weight: 400;
    font-style: normal;
    margin: 0;
}
.content {
    max-width: 1140px;
    margin: 0 auto;
    padding: calc(90px + 2rem) 1rem;
}
ul{ list-style: none; margin: 0; padding: 0;}
a {
    text-decoration: none;
    color: #191919;
    transition: color 0.3s ease;
}
a:hover, a:focus { color: #191919;}
h1, h2 {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 34px;
    text-align: center;
}
.section-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
#hero, #about, #background, #projects, #connect {
    width: 100%;
    margin: 0;
}

/*navigation*/
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    height: 90px;
    background-color: #d7e6f5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: height 0.3s ease;
}
.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.navbar-logo {
    font-family: "Lora", serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    color: #191919;
    font-size: 1.5rem;
    transition: font-size 0.3s ease;
}
.navbar.is-scrolled {
    height: 60px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.navbar.is-scrolled .navbar-brand {
    font-size: 1.25rem;
}

/* Hamburger button */
.navbar-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.bar {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #191919;
}

/* Mobile menu */
.navbar-menu {
    display: none;
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background-color: #d7e6f5;
    padding: 16px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.navbar-menu.is-open {
    display: block;
}
.navbar-menu.is-open .navbar-list {
    flex-direction: column;
}
.navbar-menu.is-open .navbar-link {
    display: block;
    padding: 12px 24px;
}

/* Desktop overrides */
@media (min-width: 992px) {
    .navbar-toggle { display: none; }
    .navbar-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        position: static;
        width: auto;
        background: none;
        border: none;
        padding: 0;
        box-shadow: none;
    }
    .navbar-list {
        display: flex;
        align-items: center;
        gap: 1rem;
    }
    .navbar-item { border-top: none; }
    .navbar-link {
        padding: 1rem;
        transition: padding 0.3s ease, color 0.3s ease;
    }
    .navbar-link:hover, .navbar-link:focus {
        color: white;
        background-color: rgba(25,25,25,0.75);
    }
    .navbar.is-scrolled .navbar-link {
        padding: 0.5rem 1rem;
    }
}

/*hero*/
#hero {
    background-color: #d7e6f5;
    text-align: center;
    padding: 90px 24px 110px;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
}
#hero h1 {
    font-size: 72px;
    color: #191919;
    line-height: 1;
    margin-bottom: 20px;
    text-transform: uppercase;
}
#hero p.tagline {
    font-size: 18px;
    color: #191919;
    max-width: 540px;
    margin: 0 auto 44px;
    line-height: 1.65;
    font-weight: 300;
}
.scroll-arrow-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    animation: arrowBounce 1.4s ease-in-out infinite;
    opacity: 0.5;
}
@keyframes arrowBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/*buttons*/
.btn-contact, .btn-projects {
    display: inline-block;
    border: 1.5px solid #191919;
    padding: 12px 36px;
    font-size: 15px;
    color:#191919;
    transition: background-color 0.3s, color 0.3s;
}
.btn-contact:hover, .btn-projects:hover {
    background: #191919;
    color:white;
}

/*about*/
#about {
    background-color: #d7e6f5;
    padding: 70px 24px 80px;
}
.about-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 52px;
    align-items: flex-start;
}
.about-text { flex: 1;}
.about-text h2{
    font-size: 34px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.about-text p {
    font-size: 17px;
    color:#191919;
    line-height: 1.8;
    font-weight: 300;
}
.about-photo {
    flex-shrink: 0;
    width: 240px;
}
.about-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/*background*/
#background {
    background-color: #191919;
    color: white;
    padding: 64px 24px 72px;
    text-align: center;
}
#background h2 {
    letter-spacing: 0.08em;
    margin-bottom: 48px;
    color: white;
}
.timeline {
    display: flex;
    justify-content: center;
    gap: 0;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.timeline-item {
    flex: 1;
    position: relative;
    padding: 0 24px 0 0;
    text-align: left;
}
.timeline-item:last-child { padding-right: 0; }
.timeline-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    margin-bottom: 10px;
}
.timeline-connector {
    position: absolute;
    top: 3.5px;
    left: 8px;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,0.2);
}
.timeline-item:last-child .timeline-connector { display: none; }
.timeline-date {
    font-size: 11px;
    color: white;
    margin-bottom: 6px;
    font-weight: 300;
}
.timeline-inst {
    font-size: 15px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    margin-bottom: 4px;
}
.timeline-role {
    font-size: 13px;
    color: white;
    font-weight: 300;
    line-height: 1.5;
}
@media (max-width: 640px) {
    .timeline {
        flex-direction: column;
        gap: 28px;
        align-items: flex-start;
    }
    .timeline-connector { display: none; }
}

/*projects*/
#projects {
    background-color: #d7e6f5;
    padding: 72px 0 72px;
    text-align: center;
    max-width: 100vw;
    overflow: hidden;
}
#projects h2,
#projects .subtitle {
    padding: 0 1.5rem;
}
.project-cards {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 40px;
    padding: 0 1.5rem;
}
.project-card {
    background-color: white;
    width: 320px;
    text-align: left;
    border-top: 5px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-top-color: #191919;
}
.project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.project-card-body {
    padding: 20px 22px 24px;
}
.project-title {
    font-family: "Lora", serif;
    font-weight: 500;
    font-size: 18px;
    color: #191919;
    margin: 8px 0 10px;
}
.project-desc {
    font-size: 15px;
    color: #191919;
    font-weight: 300;
    line-height: 1.65;
    margin-bottom: 18px;
}
.project-link {
    font-size: 14px;
    font-weight: 600;
    color: #191919;
    border-bottom: 1.5px solid #191919;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
}
.project-link:hover { opacity: 0.5; }


/*connect*/
#connect {
    background-color: #d7e6f5;
    color: #191919;
    text-align: center;
    padding: 60px 24px;
}
#connect h2 {
    margin-bottom: 36px;
}
.connect-card {
    background-color: #191919;
    border-radius: 4px;
    max-width: 560px;
    margin: 0 auto;
    padding: 40px 48px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}
.connect-links {
    display: flex;
    flex-direction: row;
    gap: 28px;
    justify-content: center;
}
.connect-item {
    display: flex;
    align-items: center;
    gap: 14px;
}
.connect-item > div {
    text-align: left;
}
.connect-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    color: white;
}
.connect-item .label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 3px;
    color: white;
}
.connect-item .value a {
    font-size: 16px;
    font-weight: 300;
    color: white;
}
.connect-item .value a:hover {
    text-decoration: underline;
}

/*footer*/
footer {
    background-color: #191919;
    padding: 48px 24px 24px;
}
.footer-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 24px;
}
.footer-name {
    font-family: "Lora", serif;
    font-weight: 500;
    font-size: 16px;
    color: white;
    margin: 0 0 6px;
    letter-spacing: 0.05em;
}
.footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    margin: 0;
    font-weight: 300;
}
.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-nav a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}
.footer-nav a:hover { color: white; }
.footer-social {
    display: flex;
    gap: 16px;
    align-items: center;
}
.footer-social a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s ease;
}
.footer-social a:hover { color: white; }
.footer-copy {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.3);
    margin: 0;
    max-width: 1140px;
    margin: 0 auto;
}

/*about page*/
#about-hero {
    background-color: #d7e6f5;
    padding: 72px 24px 64px;
}
.about-hero-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    gap: 52px;
    align-items: flex-start;
}
.about-hero-photo {
    flex-shrink: 0;
    width: 200px;
}
.about-hero-photo img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.about-hero-text { flex: 1; }
.about-hero-text h1 {
    font-size: 48px;
    text-align: left;
    margin-bottom: 8px;
    line-height: 1.1;
}
.about-role {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 18px;
}
.about-hero-text p {
    font-size: 17px;
    font-weight: 300;
    line-height: 1.8;
    color: #191919;
    max-width: 520px;
    margin-bottom: 16px;
}
 
#about-stat {
    background-color: #191919;
    padding: 48px 24px;
}
.stats-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: center;
}
.stat-item {
    flex: 1;
    text-align: center;
    padding: 0 32px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
    font-family: "Lora", serif;
    font-size: 42px;
    font-weight: 500;
    color: white;
    line-height: 1;
    margin-bottom: 10px;
}
.stat-label {
    font-size: 13px;
    font-weight: 300;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}
 
#about-body {
    background-color: #d7e6f5;
    padding: 72px 24px 80px;
}
.about-body-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 64px;
    align-items: start;
}
.resume-section { margin-bottom: 48px; }
.resume-section:last-child { margin-bottom: 0; }
.resume-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(25,25,25,0.2);
}
.exp-item {
    padding: 18px 0;
    border-bottom: 1px solid rgba(25,25,25,0.1);
}
.exp-item:last-child { border-bottom: none; }
.exp-date {
    font-size: 12px;
    font-weight: 400;
    color: #888;
    margin-bottom: 4px;
}
.exp-org {
    font-size: 15px;
    font-weight: 600;
    color: #191919;
    margin-bottom: 3px;
}
.exp-role {
    font-size: 13px;
    font-weight: 400;
    color: #555;
    margin-bottom: 8px;
}
.exp-desc {
    font-size: 14px;
    font-weight: 300;
    color: #191919;
    line-height: 1.7;
    margin-bottom: 8px;
}
.exp-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
}
.exp-highlights li {
    font-size: 13px;
    font-weight: 300;
    color: #191919;
    line-height: 1.6;
    padding-left: 14px;
    position: relative;
    margin-bottom: 4px;
}
.exp-highlights li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #888;
}
.skill-card {
    background-color: white;
    padding: 20px 22px;
    margin-bottom: 16px;
    border-top: 4px solid #191919;
}
.skill-card h4 {
    font-family: "Lora", serif;
    font-size: 14px;
    font-weight: 500;
    color: #191919;
    margin-bottom: 12px;
}
.skill-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.skill-tag {
    font-size: 12px;
    background-color: #e8f0f8;
    color: #191919;
    padding: 4px 10px;
    font-weight: 400;
}

/*portfolio page*/
#portfolio-hero {
    background-color: #d7e6f5;
    padding: 88px 24px 64px;
    text-align: center;
}
#portfolio-hero h1 {
    font-size: 52px;
    margin-bottom: 16px;
}
#portfolio-hero p {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    color: #191919;
    max-width: 520px;
    margin: 0 auto 36px;
}
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 56px;
}
.filter-btn {
    font-family: "Fira Sans", sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 7px 18px;
    border: 1.5px solid #191919;
    background: transparent;
    color: #191919;
    cursor: pointer;
    transition: background-color 0.25s, color 0.25s;
}
.filter-btn:hover .filter-btn.active {
    background-color: #191919;
    color: white;
}
#portfolio-grid {
    background-color: #d7e6f5;
    padding: 0 24px 80px;
}
.portfolio-grid {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.portfolio-card {
    background-color: white;
    border-top: 5px solid transparent;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
}
.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
    border-top-color: #191919;
}
.portfolio-card.is-hidden {
    display: none;
}
.portfolio-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
}
.portfolio-card-body {
    padding: 20px 22px 24px;
}
.portfolio-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.portfolio-card-category {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
}
.portfolio-card-year {
    font-size: 11px;
    color: #aaa;
    font-weight: 300;
}
.portfolio-card h3 {
    font-family: "Lora", serif;
    font-weight: 500;
    font-size: 17px;
    color: #191919;
    margin: 0 0 10px;
    line-height: 1.35;
}
.portfolio-card p {
    font-size: 14px;
    color: #191919;
    font-weight: 300;
    line-height: 1.65;
    margin: 0 0 18px;
}
.portfolio-card-role {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.portfolio-card-role-tag {
    font-size: 11px;
    background-color: #e8f0f8;
    color: #191919;
    padding: 3px 9px;
    font-weight: 400;
}
.card-expand-btn {
     font-family: "Fira Sans", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #191919;
    border: none;
    background: none;
    padding: 0;
    cursor: pointer;
    border-bottom: 1.5px solid #191919;
    padding-bottom: 2px;
    transition: opacity 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.card-expand-btn:hover { opacity: 0.5; }
.card-expand-btn .expand-arrow {
    display: inline-block;
    transition: transform 0.3s ease;
    font-style: normal;
}
.portfolio-card.is-expanded .card-expand-btn .expand-arrow {
    transform: rotate(180deg);
}
.card-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    border-top: 1px solid transparent;
}
.portfolio-card.is-expanded .card-detail {
    max-height: 600px;
    border-top-color: rgba(25,25,25,0.08);
}
.card-detail-inner {
    padding: 20px 22px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 28px;
}
.detail-block.full-width {
    grid-column: 1 / -1;
}
.detail-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 6px;
}
.detail-text {
    font-size: 13px;
    font-weight: 300;
    line-height: 1.7;
    color: #191919;
}
.detail-outcome {
    background-color: #191919;
    color: white;
    padding: 14px 16px;
    margin-top: 4px;
}
.detail-outcome .detail-label { color: rgba(255,255,255,0.45); }
.detail-outcome .detail-text { color: white; font-size: 13px; }


/*contact page*/
#contact-hero {
    background-color: #d7e6f5;
    padding: 88px 24px 0;
    text-align: center;
}
#contact-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
}
#contact-hero .contact-intro {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    color: #191919;
    max-width: 520px;
    margin: 0 auto 32px;
}
.open-to-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 64px;
}
.open-to-tag {
    font-size: 12px;
    font-weight: 500;
    padding: 6px 16px;
    border: 1.5px solid #191919;
    color: #191919;
    letter-spacing: 0.02em;
}
 
#contact-links {
    background-color: #d7e6f5;
    padding: 0 24px 96px;
}
.contact-links-inner {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.contact-divider {
    border: none;
    border-top: 1px solid rgba(25,25,25,0.15);
    margin: 0 0 48px;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(25,25,25,0.1);
}
.contact-item:last-child {
    border-bottom: none;
}
.contact-item-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 1.5px solid #191919;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #191919;
    font-size: 22px;
    transition: background-color 0.3s, color 0.3s;
}
.contact-item:hover .contact-item-icon {
    background-color: #191919;
    color: white;
}
.contact-item-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 5px;
}
.contact-item-value {
    font-size: 17px;
    font-weight: 400;
    color: #191919;
}
.contact-item-value a {
    color: #191919;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}
.contact-item-value a:hover {
    border-bottom-color: #191919;
}
.contact-item-note {
    font-size: 13px;
    font-weight: 300;
    color: #888;
    margin-top: 3px;
}

/*responsive design*/
@media (max-width: 480px) {
    .connect-card {
        padding: 32px 20px;
    }
    .connect-links {
        gap: 16px;
    }
}
@media (max-width: 640px) {
    #hero h1 { font-size: 42px; }
    #hero p.tagline { font-size: 16px; }
    .about-inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
    }
    .about-photo { width: 160px; }
    .about-photo img { height: 200px; }
    .bg-cards { flex-direction: column; align-items: center; }
    #projects .section-inner {
        padding: 0;
    }
    #projects h2,
    #projects .subtitle {
        padding: 0 1.5rem;
    }
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-nav ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
    #contact-hero h1 { font-size: 38px; }
    #contact-hero .contact-intro { font-size: 16px; }
    .contact-item { gap: 16px; }
    .contact-item-icon { width: 46px; height: 46px; }
    .contact-item-value { font-size: 15px; }
}
@media (max-width: 1050px) {
    .project-cards {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        gap: 16px;
        padding: 0 1.5rem 16px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: #191919 transparent;
    }
    .project-cards::-webkit-scrollbar { height: 6px; }
    .project-cards::-webkit-scrollbar-track { background: transparent; }
    .project-cards::-webkit-scrollbar-thumb { background-color: #191919; border-radius: 999px; }
    .project-cards::-webkit-scrollbar-thumb:hover { background-color: rgba(25,25,25,0.6); }
    .project-card {
        flex-shrink: 0;
        width: 80vw;
        max-width: 320px;
        scroll-snap-align: start;
    }
}
@media (max-width: 768px) {
    .about-hero-inner {
        flex-direction: column-reverse;
        align-items: center;
        gap: 28px;
    }
    .about-hero-photo { width: 140px; }
    .about-hero-photo img { height: 175px; }
    .about-hero-text h1 { font-size: 36px; text-align: center; }
    .about-hero-text .about-role { text-align: center; }
    .about-hero-text p { text-align: center; font-size: 15px; }
    .stats-inner { flex-direction: column; gap: 28px; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 0 0 28px; }
    .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
    .about-body-inner { grid-template-columns: 1fr; gap: 40px; }
    .exp-item { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 900px) {
            .portfolio-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 580px) {
            .portfolio-grid {
                grid-template-columns: 1fr;
            }
            #portfolio-hero h1 { font-size: 38px; }
            #portfolio-hero p { font-size: 16px; }
            .card-detail-inner {
                grid-template-columns: 1fr;
            }
        }