:root{
  --paper:#f7f3ef;
  --surface:#fffdfa;
  --ink:#292124;
  --muted:#70676a;
  --line:#e5dcd8;
  --wine:#69373e;
  --accent:#a95d54;
  --soft:#efe4df;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:78px}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.6 'DM Sans',Arial,sans-serif}
button{font:inherit;cursor:pointer}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
h1,h2,h3,h4,p{margin:0}
h1,h2,h3,h4{font-family:Manrope,'DM Sans',sans-serif;line-height:1.16;letter-spacing:-.035em}
em{font-style:normal;color:var(--accent)}
.container{width:min(calc(100% - 64px),1220px);margin-inline:auto}
.skip-link{position:fixed;z-index:100;top:-70px;left:12px;background:var(--surface);padding:10px 14px;border-radius:8px}
.skip-link:focus{top:12px}

/* Navigation and presentation controls */
.site-header{position:fixed;inset:0 0 auto;z-index:50;background:rgba(247,243,239,.95);border-bottom:1px solid var(--line);backdrop-filter:blur(16px)}
.nav-wrap{width:min(calc(100% - 64px),1220px);min-height:76px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{font:800 .88rem Manrope,sans-serif;letter-spacing:.08em;color:var(--wine);white-space:nowrap}
.brand-mark{display:none}
.brand-text{font-size:inherit}
.nav{display:flex;align-items:center;gap:4px}
.nav a{font-size:.8rem;font-weight:700;color:var(--muted);padding:10px 12px;border-radius:7px;white-space:nowrap;transition:background .2s,color .2s}
.nav a:hover,.nav a.active{background:var(--soft);color:var(--wine)}
.menu-toggle{display:none}
.deck-controls{position:fixed;right:18px;bottom:16px;z-index:60;display:flex;align-items:center;gap:7px;padding:5px;background:rgba(255,253,250,.96);border:1px solid var(--line);border-radius:40px;box-shadow:0 8px 28px rgba(48,29,31,.12)}
.deck-controls button{width:35px;height:35px;border:0;border-radius:50%;background:var(--wine);color:white;font-size:1rem;line-height:1}
.deck-controls button:hover{background:var(--accent)}
.deck-controls span{min-width:51px;text-align:center;font-size:.72rem;font-weight:800;letter-spacing:.05em;color:var(--wine)}
.slide-number{display:none}
.slide{position:relative;min-height:100svh;scroll-margin-top:0}

/* Cover */
.cover-slide{display:flex;align-items:center;background:var(--paper)}
.cover-slide .hero-backdrop,.cover-slide .hero-topline,.cover-slide .hero-copy{display:none}
.cover-slide .hero-inner{width:min(calc(100% - 64px),1220px);padding:125px 0 85px;display:flex;flex-direction:column;align-items:center;gap:25px}
.cover-name{order:0;text-align:center;text-transform:uppercase;font-size:clamp(2.3rem,5.6vw,5.5rem);font-weight:800;letter-spacing:.06em;color:var(--wine)}
.cover-slide .hero-inner::before{content:"";order:1;display:block;width:min(100%,1050px);aspect-ratio:1405/596;background:url('assets/image-02.webp') center/contain no-repeat;border-radius:8px;box-shadow:0 18px 45px rgba(62,39,38,.14)}
.cover-slide .hero-footer{order:2;width:min(100%,1050px);display:flex;justify-content:space-between;gap:16px;font-size:.85rem;font-weight:600;color:var(--muted)}
.cover-slide .location-dot{display:none}

/* Shared sections */
.about-slide,.experience-slide,.organization-section,.certifications-section{padding:56px 0 80px}
.section-heading{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:32px}
.section-heading h2{font-size:clamp(2.3rem,4vw,4.2rem);color:var(--ink)}
.section-heading>p{max-width:330px;font-size:.94rem;line-height:1.6;color:var(--muted)}
.eyebrow,.mini-label{display:block;margin-bottom:10px;font-size:.74rem;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--accent)}
.eyebrow.light{color:var(--accent)}

/* About */
.about-grid{display:grid;grid-template-columns:minmax(260px,33%) minmax(0,1fr);gap:32px;align-items:start}
.about-slide .section-heading{display:none}
.profile-card{overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.profile-photo{aspect-ratio:4/4.6;background:var(--soft);overflow:hidden}
.profile-photo img{width:100%;height:100%;object-fit:cover;object-position:center 22%}
.profile-detail{padding:20px 22px 15px}
.profile-detail h3{font-size:1.45rem;color:var(--ink);margin-bottom:4px}
.profile-detail p{font-size:.9rem;color:var(--muted);line-height:1.45;margin-bottom:10px}
.profile-location{font-size:.82rem;color:var(--accent);font-weight:700}
.profile-links{display:flex;flex-wrap:wrap;gap:8px;padding:15px 22px;border-top:1px solid var(--line)}
.social-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:7px 10px;border-radius:7px;background:var(--paper);font-size:.78rem;font-weight:800;line-height:1.2;color:var(--ink);white-space:nowrap;transition:background .2s,transform .2s}
.social-link:hover{background:var(--soft);transform:translateY(-1px)}
.social-link:focus-visible{outline:2px solid var(--wine);outline-offset:2px}
.social-link svg{display:block;width:18px;height:18px;flex:none}
.social-link--whatsapp svg{color:var(--wine)}
.social-link--email svg{color:var(--accent)}
.social-link--linkedin svg{color:var(--wine)}
.intro-card{padding:0 0 23px}
.intro-card h3{font-size:clamp(2rem,3.1vw,3.1rem);margin-bottom:18px;color:var(--ink)}
.intro-card p{font-size:1rem;line-height:1.73;color:var(--muted);max-width:66ch;margin-bottom:12px}
.highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:8px 0 26px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.highlights>div{display:flex;align-items:center;gap:12px;padding:15px 16px 15px 0}
.highlights>div+div{padding-left:16px;border-left:1px solid var(--line)}
.highlights strong{font:800 1.6rem Manrope,sans-serif;color:var(--wine)}
.highlights span{font-size:.78rem;line-height:1.35;color:var(--muted)}
.about-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.info-card{min-width:0;padding:22px;background:var(--surface);border:1px solid var(--line);border-radius:10px}
.info-card h3{font-size:1.05rem;margin-bottom:17px;color:var(--wine)}
.card-icon{display:none}
.timeline-item{position:relative;padding:0 0 13px;margin:0 0 13px;border-bottom:1px solid var(--line)}
.timeline-item:last-child{border:0;margin:0;padding:0}
.timeline-item span{display:block;font-size:.77rem;font-weight:800;color:var(--accent);margin-bottom:3px}
.timeline-item strong{display:block;font-size:.91rem;color:var(--ink)}
.timeline-item p{font-size:.82rem;line-height:1.5;color:var(--muted);margin-top:3px}
.info-card h4{font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;color:var(--accent);margin:14px 0 8px}
.tag-list{display:flex;flex-wrap:wrap;gap:7px}
.tag-list span{display:inline-block;padding:5px 9px;border:1px solid var(--line);border-radius:5px;background:#fff;color:var(--wine);font-size:.78rem;font-weight:700;line-height:1.35}
.competencies p{font-size:.84rem;color:var(--muted);margin:5px 0}
.tools-bar{display:grid;grid-template-columns:170px 1fr;gap:16px;align-items:start;margin-top:16px;padding:18px 22px;border:1px solid var(--line);border-radius:9px;background:var(--surface)}
.tools-bar>span{font-size:.72rem;font-weight:800;letter-spacing:.1em;color:var(--accent)}
.tool-list{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 20px}
.tool-list span{padding:0 0 8px;margin-bottom:8px;border-bottom:1px solid var(--line);font-size:.85rem;line-height:1.45;color:var(--ink)}

/* Experience and organization */
.experience-card{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);background:var(--surface);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.experience-card-top{grid-column:1/-1;display:flex;justify-content:space-between;gap:16px;padding:13px 25px;background:var(--soft);font-size:.74rem;font-weight:800;letter-spacing:.11em;color:var(--wine)}
.experience-main{padding:32px;min-width:0}
.experience-place{font-size:.81rem;font-weight:800;color:var(--accent);margin-bottom:13px}
.experience-main h3{font-size:clamp(1.75rem,2.8vw,2.8rem);margin-bottom:12px;color:var(--ink)}
.experience-date{font-size:.82rem;font-weight:800;color:var(--muted)}
.experience-main ul{padding-left:20px;margin:23px 0 0;font-size:.94rem;line-height:1.6;color:var(--muted)}
.experience-main li{margin-bottom:10px}
.experience-main li::marker{color:var(--accent)}
.role{margin-top:21px}
.role strong{display:block;font-size:.88rem;color:var(--wine)}
.role p{font-size:.9rem;color:var(--muted);line-height:1.65;margin-top:6px}
.photo-mosaic{display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;gap:6px;height:440px;padding:6px;background:var(--surface)}
.photo-mosaic button{min-width:0;min-height:0;border:0;padding:0;overflow:hidden;background:var(--soft);cursor:zoom-in}
.photo-mosaic button:first-child{grid-row:span 2}
.photo-mosaic img{width:100%;height:100%;object-fit:cover}
.internship-photos button:first-child img{object-position:center 30%}
.organization-section .experience-card{display:grid;grid-template-columns:1fr}
.organization-section .experience-main{padding:30px 32px 24px}
.organization-section .experience-main h3{font-size:clamp(1.7rem,2.5vw,2.5rem)}
.organization-section .photo-mosaic{grid-column:1;grid-row:auto;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;height:310px;padding:0 6px 6px}
.organization-section .photo-mosaic button:first-child{grid-row:auto}
.organization-section .photo-mosaic button:last-child img{object-fit:contain;background:var(--soft)}

/* Projects: one visual language throughout */
.projects-section{background:var(--paper)}
.projects-section>.container{width:100%;max-width:none}
.projects-section .section-heading{display:none}
.project{width:min(calc(100% - 64px),1220px);min-height:100svh;margin:0 auto;padding:56px 0 70px;display:flex;flex-direction:column;justify-content:flex-start;border-bottom:1px solid var(--line)}
.project-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:18px;margin-bottom:28px;border-bottom:1px solid var(--line)}
.project-number{font-size:.74rem;letter-spacing:.12em;font-weight:800;color:var(--accent);white-space:nowrap}
.project-status{font-size:.82rem;color:var(--muted);text-align:right}
.project-layout{display:grid;grid-template-columns:minmax(0,.83fr) minmax(0,1.17fr);gap:36px;align-items:start}
.project-story{min-width:0}
.project-context{font-size:.81rem;font-weight:700;line-height:1.55;color:var(--accent);margin-bottom:17px}
.project-story h3{font-size:clamp(2rem,3.1vw,3.2rem);margin-bottom:16px;color:var(--ink)}
.project-lead,.project-description{font-size:.98rem;line-height:1.68;color:var(--muted);margin-bottom:20px}
.project-story>.tag-list{margin:20px 0 28px}
.project-story h4{font-size:.78rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--wine);padding-top:18px;margin:0 0 17px;border-top:1px solid var(--line)}
.contribution-list{list-style:none;counter-reset:contrib;padding:0;margin:0}
.contribution-list li{counter-increment:contrib;display:grid;grid-template-columns:26px 1fr;column-gap:10px;padding:0 0 14px;margin:0 0 14px;border-bottom:1px solid var(--line)}
.contribution-list li:last-child{margin-bottom:0;padding-bottom:0;border-bottom:0}
.contribution-list li::before{content:counter(contrib,decimal-leading-zero);grid-row:span 2;font-size:.75rem;font-weight:800;color:var(--accent)}
.contribution-list strong{font-size:.91rem;color:var(--ink)}
.contribution-list span{font-size:.87rem;line-height:1.55;color:var(--muted);margin-top:3px}
.project-visuals{min-width:0;padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:12px}
.main-visual,.wide-visual,.project-mini-grid button,.gallery-row button,.cert-art{display:block;position:relative;width:100%;padding:0;border:0;overflow:hidden;background:#f1ebe7;cursor:zoom-in}
.main-visual{height:390px;border-radius:7px}
.main-visual img,.wide-visual img,.project-mini-grid img,.gallery-row img,.cert-art img{width:100%;height:100%;object-fit:contain}
.main-visual>span,.wide-visual>span{position:absolute;right:10px;bottom:10px;padding:8px 11px;border-radius:5px;background:rgba(255,253,250,.96);color:var(--wine);font-size:.73rem;font-weight:800}
.visual-caption{margin:10px 0 16px;font-size:.72rem;font-weight:800;letter-spacing:.09em;color:var(--muted)}
.project-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.project-mini-grid button{height:190px;border-radius:7px}
.project-mini-grid button span{position:absolute;left:7px;bottom:7px;padding:5px 8px;border-radius:4px;background:rgba(255,253,250,.96);font-size:.75rem;font-weight:800;color:var(--wine)}
.wide-visual{height:220px;border-radius:7px}
.project-three .main-visual{height:min(68vh,700px);min-height:520px;background:#ece5e0}
.process-flow{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}
.process-flow span{padding:0;color:var(--wine);font-size:.82rem;font-weight:700}
.process-flow span:not(:last-child)::after{content:'  →';color:var(--accent)}
.button-dark{display:inline-flex;align-items:center;gap:18px;margin-top:8px;padding:11px 16px;border-radius:6px;background:var(--wine);color:white;font-size:.83rem;font-weight:800}
.button-dark:hover{background:var(--accent)}
.project-gallery{margin-top:28px}
.gallery-heading{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:12px}
.gallery-heading h4{font-size:.84rem;color:var(--wine)}
.gallery-heading span{font-size:.72rem;letter-spacing:.08em;color:var(--muted)}
.gallery-row{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.gallery-row button{height:185px;border-radius:7px}
.gallery-row img{object-fit:contain}

/* Certifications and understated closing */
.cert-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:16px}
.cert-card{grid-column:span 2}
.cert-card:nth-child(4){grid-column:2/span 2}
.cert-card{min-width:0;overflow:hidden;border:1px solid var(--line);border-radius:10px;background:var(--surface)}
.cert-art{height:230px;border-radius:0}
.cert-art img{padding:8px}
.cert-toefl .cert-art{padding:10px;background:#f1ebe7}
.cert-toefl .cert-art img{width:auto;max-width:100%;height:100%;padding:0;margin:auto;background:#fff;box-shadow:0 3px 12px rgba(48,29,31,.12)}
.cert-body{padding:17px 18px 19px}
.cert-body>span{font-size:.73rem;font-weight:800;letter-spacing:.09em;color:var(--accent)}
.cert-body h3{font-size:1.02rem;margin:6px 0 4px}
.cert-body p{font-size:.82rem;color:var(--muted)}
.closing-note{display:flex;align-items:end;justify-content:space-between;gap:26px;margin-top:46px;padding:26px 0 0;border-top:1px solid var(--line)}
.closing-note .eyebrow{margin-bottom:8px}
.closing-note h3{font-size:clamp(1.5rem,2.3vw,2.4rem);color:var(--ink)}
.closing-note p{font-size:.91rem;color:var(--muted);margin-top:8px}
.closing-links{display:flex;gap:10px;flex-wrap:wrap}
.closing-links .social-link{padding:10px 14px;border:1px solid var(--line);background:var(--surface);font-size:.83rem}
.closing-links .social-link:hover{background:var(--soft)}
.contact-section,.footer{display:none}

/* Image viewer */
.lightbox{border:0;padding:0;background:transparent;color:white;width:min(96vw,1400px);max-width:96vw;height:95svh;max-height:95svh;overflow:hidden;text-align:center;box-shadow:none}
.lightbox[open]{display:flex;flex-direction:column;align-items:center;justify-content:center}
.lightbox::backdrop{background:rgba(26,18,22,.94)}
.lightbox-scroll{max-width:92vw;max-height:calc(95svh - 105px);overflow:auto;overscroll-behavior:contain;background:#e9e4e0;border-radius:6px}
.lightbox-scroll img{display:block;width:auto;height:auto;max-width:100%;max-height:80svh;margin:auto;object-fit:contain}
.lightbox.zoomed .lightbox-scroll img{max-width:none;max-height:none}
.lightbox-zoom,.lightbox-close{position:absolute;top:5px;z-index:2;border:0;background:var(--surface);color:var(--wine);cursor:pointer}
.lightbox-zoom{left:5px;border-radius:30px;padding:8px 13px;font-size:.83rem;font-weight:800}
.lightbox-close{right:5px;width:38px;height:38px;border-radius:50%;font-size:1.5rem;line-height:1}
.lightbox p{margin-top:12px;font-size:.82rem;color:white}

@media(max-width:1050px){
  .nav a{font-size:.72rem;padding:9px 7px}
  .about-grid{grid-template-columns:30% 1fr;gap:22px}
  .about-info-grid{grid-template-columns:1fr}
  .tool-list{grid-template-columns:repeat(3,minmax(0,1fr))}
  .project-layout{gap:24px}
  .project-story h3{font-size:2.35rem}
}
@media(max-width:800px){
  html{scroll-padding-top:65px}
  .container,.nav-wrap,.cover-slide .hero-inner{width:min(calc(100% - 36px),1220px)}
  .site-header{background:rgba(247,243,239,.98)}
  .nav-wrap{min-height:64px}
  .menu-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:38px;height:38px;padding:9px;border:1px solid var(--line);border-radius:6px;background:var(--surface)}
  .menu-toggle span{display:block;height:2px;width:100%;background:var(--wine)}
  .nav{display:none;position:absolute;top:64px;left:0;right:0;padding:9px 18px 15px;background:var(--surface);border-bottom:1px solid var(--line);box-shadow:0 14px 20px rgba(48,29,31,.08)}
  .nav.open{display:flex;flex-direction:column;align-items:stretch}
  .nav a{font-size:.91rem;padding:11px 12px}
  .cover-slide .hero-inner{padding:102px 0 70px;gap:16px}
  .cover-name{font-size:clamp(2rem,6vw,3.2rem)}
  .cover-slide .hero-inner::before{width:min(100%,680px);aspect-ratio:1405/596;background-image:url('assets/image-02.webp');background-size:contain;background-position:center;border-radius:8px}
  .cover-slide .hero-footer{font-size:.78rem}
  .about-slide,.experience-slide,.organization-section,.certifications-section{padding:36px 0 80px}
  .section-heading{align-items:start;display:block;margin-bottom:25px}
  .section-heading>p{margin-top:12px;max-width:58ch}
  .about-grid{grid-template-columns:1fr}
  .profile-card{display:grid;grid-template-columns:200px 1fr;grid-template-rows:auto auto}
  .profile-photo{grid-row:span 2;aspect-ratio:auto;height:240px}
  .profile-detail{align-self:end}
  .profile-links{align-self:start}
  .about-info-grid{grid-template-columns:1fr 1fr}
  .experience-card{grid-template-columns:1fr}
  .experience-card-top,.experience-main,.photo-mosaic{grid-column:1}
  .photo-mosaic{height:350px}
  .organization-section .photo-mosaic{height:260px}
  .project{width:min(calc(100% - 36px),1220px);padding:36px 0 84px;min-height:0;display:block}
  .project-layout{grid-template-columns:1fr;gap:26px}
  .project-visuals{padding:13px}
  .project-story h3{font-size:clamp(2rem,4vw,2.8rem)}
  .main-visual{height:clamp(280px,45vw,410px)}
  .project-three .main-visual{height:clamp(450px,72vw,620px);min-height:0}
  .cert-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .cert-card,.cert-card:nth-child(4){grid-column:auto}
}
@media(max-width:600px){
  .container,.nav-wrap,.cover-slide .hero-inner{width:calc(100% - 32px)}
  .brand{font-size:.72rem}
  .cover-slide{min-height:100svh}
  .cover-slide .hero-inner{padding:90px 0 65px;gap:16px}
  .cover-name{font-size:clamp(1.95rem,8vw,3rem);line-height:1.1;letter-spacing:.025em}
  .cover-slide .hero-inner::before{width:100%;aspect-ratio:1405/596;background-image:url('assets/image-02.webp');background-size:contain;background-position:center;border-radius:7px}
  .cover-slide .hero-footer{display:block;text-align:center;font-size:.8rem;line-height:1.6}
  .cover-slide .hero-footer>span{display:block}
  .about-slide,.experience-slide,.organization-section,.certifications-section{padding:24px 0 68px}
  .section-heading h2{font-size:clamp(2rem,9vw,2.7rem)}
  .section-heading>p{font-size:.9rem}
  .about-grid{display:flex;flex-direction:column;gap:0}
  .about-content{display:contents}
  .intro-card{order:0}
  .profile-card{display:block;order:1;width:100%;margin:12px 0 24px}
  .highlights{display:none}
  .about-info-grid{order:2;width:100%}
  .tools-bar{order:3;width:100%}
  .profile-photo{height:280px;aspect-ratio:auto}
  .profile-detail{padding:17px 18px 13px}
  .profile-links{padding:12px 18px}
  .intro-card{padding-top:0}
  .intro-card h3{font-size:2.25rem;margin-bottom:14px}
  .intro-card p{font-size:.94rem;line-height:1.65}
  .highlights>div{display:block;padding:11px 6px 11px 0}
  .highlights>div+div{padding-left:9px}
  .highlights strong{display:block;font-size:1.25rem}
  .highlights span{display:block;font-size:.7rem}
  .about-info-grid{grid-template-columns:1fr;gap:11px}
  .info-card{padding:19px}
  .tools-bar{display:block;padding:17px 19px}
  .tool-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin-top:13px}
  .experience-main,.organization-section .experience-main{padding:22px}
  .experience-main h3{font-size:1.75rem}
  .experience-main ul,.role p{font-size:.88rem}
  .photo-mosaic{height:300px}
  .organization-section .photo-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr;height:320px}
  .organization-section .photo-mosaic button:first-child{grid-column:1;grid-row:1}
  .organization-section .photo-mosaic button:nth-child(2){grid-column:1;grid-row:2}
  .organization-section .photo-mosaic button:last-child{grid-column:2;grid-row:1/span 2}
  .project{width:calc(100% - 32px);padding:24px 0 53px}
  .project-head{align-items:start;margin-bottom:22px;padding-bottom:12px}
  .project-number,.project-status{font-size:.72rem;line-height:1.4}
  .project-status{max-width:48%}
  .project-context{font-size:.77rem}
  .project-story h3{font-size:2rem}
  .project-lead,.project-description{font-size:.93rem;line-height:1.6}
  .project-story>.tag-list{margin:17px 0 24px}
  .tag-list span{font-size:.73rem}
  .contribution-list strong{font-size:.88rem}
  .contribution-list span{font-size:.85rem}
  .project-visuals{padding:10px}
  .main-visual{height:auto;aspect-ratio:1380/776;min-height:185px}
  .project-mini-grid{grid-template-columns:1fr}
  .project-mini-grid button{height:210px}
  .project-one .project-mini-grid button:first-child{height:auto;aspect-ratio:531/744}
  .wide-visual{height:190px}
  .project-three .main-visual{height:auto;aspect-ratio:712/769;min-height:0}
  .gallery-heading span{display:none}
  .gallery-row{grid-template-columns:1fr 1fr;gap:7px}
  .gallery-row button{height:auto;aspect-ratio:4/3}
  .gallery-row button:last-child:nth-child(odd){grid-column:1/-1;aspect-ratio:16/9}
  .project-one .gallery-row button:nth-child(2){aspect-ratio:667/889}
  .cert-grid{grid-template-columns:1fr;gap:12px}
  .cert-art{height:clamp(220px,60vw,320px)}
  .closing-note{display:block;margin-top:32px}
  .closing-links{margin-top:17px}
  .deck-controls{right:10px;bottom:9px;padding:4px;gap:5px}
  .deck-controls button{width:32px;height:32px}
}
@media(max-width:360px){
  .cover-name{font-size:1.8rem}
  .highlights span{font-size:.65rem}
  .profile-photo{height:245px}
  .gallery-row{grid-template-columns:1fr}
  .gallery-row button,.gallery-row button:last-child:nth-child(odd){grid-column:auto;aspect-ratio:4/3}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
