:root{--paper:#f6f5f0;--ink:#172c29;--muted:#53635e;--line:#d3dbd4;--green:#245b46;--lime:#d7f48c;--white:#fff;--radius:5px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;line-height:1.65;font-size:16px}a{color:inherit;text-underline-offset:5px}button{font:inherit}a,button,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #9a6024;outline-offset:5px}img{max-width:100%;display:block}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.08;font-weight:500;letter-spacing:-.045em}h1{font-size:clamp(50px,6.4vw,88px);margin-bottom:28px}h2{font-size:clamp(36px,4vw,57px)}h3{font-size:28px;letter-spacing:-.03em}p{color:var(--muted)}.wrap{max-width:1280px;padding:0 40px;margin:auto}.skip{position:fixed;top:-80px;z-index:100;background:white;padding:10px}.skip:focus{top:0}.header{position:sticky;top:0;z-index:20;background:rgba(246,245,240,.97);border-bottom:1px solid var(--line)}.header-inner{height:84px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;font-size:18px;font-weight:700;white-space:nowrap}.monogram{background:var(--ink);color:var(--paper);padding:6px 10px;font-size:15px;letter-spacing:-1px}.nav{display:flex;gap:25px;align-items:center;font-size:13px}.nav a{text-decoration:none}.nav a:hover{text-decoration:underline}.nav .nav-contact{border:1px solid var(--ink);padding:9px 17px}.menu-toggle{display:none}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:11px;font-weight:700;line-height:1.5;color:var(--green);margin-bottom:18px}.hero{display:grid;grid-template-columns:1.12fr .88fr;gap:65px;align-items:center;padding-top:76px;padding-bottom:76px}.hero-copy>p{font-size:19px;max-width:510px}.hero h1 em{font-family:Georgia,serif;font-weight:400;color:var(--green)}.hero-figure{margin:0;position:relative;background:#dce4da;border-radius:var(--radius);padding:17px 17px 0}.hero-figure img{width:100%;height:435px;object-fit:cover;object-position:center 32%;border-radius:2px}.hero-figure figcaption{display:flex;justify-content:space-between;font-size:10px;text-transform:uppercase;letter-spacing:.11em;padding:18px 0;gap:15px}.hero-figure:after{content:'CM / ENGINEERING';position:absolute;right:-19px;top:30px;writing-mode:vertical-rl;font-size:9px;letter-spacing:.18em}.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:32px}.button{display:inline-flex;align-items:center;justify-content:center;gap:25px;padding:13px 23px;background:var(--ink);color:white;border:1px solid var(--ink);text-decoration:none;font-size:14px;border-radius:3px}.button:hover{background:var(--green)}.button.secondary{background:transparent;color:var(--ink)}.discipline-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:18px;justify-content:space-between;padding:21px 0;color:var(--muted);font-size:12px;letter-spacing:.08em;text-transform:uppercase}.discipline-strip span:before{content:'+';color:var(--green);margin-right:13px}.section{padding-top:95px;padding-bottom:95px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:35px;margin-bottom:34px}.section-heading h2{margin-bottom:0}.section-heading>p{max-width:370px;margin:0;font-size:15px}.filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:33px}.filters button{border:1px solid var(--line);background:transparent;color:var(--muted);border-radius:30px;padding:8px 17px;font-size:12px;cursor:pointer}.filters button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:white}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:42px 28px;align-items:start}.project{min-width:0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}.project[hidden]{display:none}.project-media{height:290px;position:relative;background:#e7eae3;border-bottom:1px solid var(--line);overflow:hidden}.project-media img{width:100%;height:100%;object-fit:contain;padding:20px}.project-media iframe{width:100%;height:100%;border:0}.project-number{position:absolute;bottom:12px;left:12px;font:11px monospace;background:var(--paper);padding:4px 9px;pointer-events:none}.project-copy{padding:27px 30px}.project-copy .eyebrow{font-size:10px;margin-bottom:12px}.project-copy h3{margin-bottom:10px}.org{font-size:12px;margin-bottom:16px}.project-copy>p:not(.org){font-size:15px}.project summary{border-top:1px solid var(--line);padding-top:17px;cursor:pointer;font-size:13px;font-weight:700;list-style:none;display:flex;justify-content:space-between;gap:10px}.project summary::-webkit-details-marker{display:none}.project details[open] summary span{transform:rotate(90deg)}.project-detail{font-size:14px;padding-top:22px}.text-link{font-size:13px;font-weight:700}.dark{background:var(--ink);color:var(--paper)}.dark p{color:#c1d0c9}.dark .eyebrow{color:var(--lime)}.publication{display:grid;grid-template-columns:60px 1fr 70px;gap:22px;padding:32px 0;border-top:1px solid #47605a;text-decoration:none;align-items:start}.publication:last-child{border-bottom:1px solid #47605a}.publication h3{font-size:29px;line-height:1.2;max-width:800px;margin-bottom:14px}.publication p{margin:0;font-size:12px}.publication .arrow{font-size:30px;text-align:right}.publication:hover h3{color:var(--lime)}.number{font:12px monospace;color:#bac6bf}.about-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:95px}.about-grid .intro{font-size:22px;color:var(--ink);line-height:1.6}.about-grid h3{font-size:20px;letter-spacing:-.02em;margin-bottom:12px}.about-grid .bio-block{border-top:1px solid var(--line);padding-top:24px;margin-top:28px}.resume-section{background:#e7ece4}.resume-layout{display:grid;grid-template-columns:1fr 1fr;gap:70px}.resume-layout h3{font-size:23px}.education{padding:24px 0;border-top:1px solid #c2cec4}.education p{margin:0;font-size:14px}.education time{font:11px monospace;color:var(--green)}.cert-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.certificate{display:grid;grid-template-columns:120px 1fr;gap:24px;border-top:1px solid var(--line);padding-top:26px}.certificate img{height:100px;object-fit:contain;width:120px;background:white}.certificate h3{font-size:23px;margin-bottom:12px}.certificate p{font-size:14px}.contact{padding:75px 0;background:var(--lime)}.contact p{color:#354b32}.contact h2{max-width:630px;margin-bottom:24px}.contact-layout{display:flex;justify-content:space-between;gap:40px;align-items:center}.contact-links{display:flex;flex-direction:column;gap:15px}.contact-links a{font-size:17px}.footer{display:flex;justify-content:space-between;gap:25px;padding-top:27px;padding-bottom:27px;font-size:11px;color:var(--muted)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(min-width:1500px){.hero{padding-top:100px;padding-bottom:100px}}@media(max-width:1000px){.wrap{padding-left:26px;padding-right:26px}.hero{gap:30px}.nav{gap:14px}.hero-figure img{height:370px}.about-grid{gap:45px}.project-media{height:240px}.project-copy{padding:24px}.certificate{grid-template-columns:1fr}.contact-layout{align-items:start}.resume-layout{gap:40px}}@media(max-width:760px){.header-inner{height:auto;min-height:72px;flex-wrap:wrap;gap:0;padding-top:14px;padding-bottom:14px}.menu-toggle{display:block;border:1px solid var(--line);background:transparent;padding:6px 12px;color:var(--ink);font-size:13px}.nav{display:flex;width:100%;flex-wrap:wrap;gap:18px;padding:19px 0 4px}.js .nav:not(.open){display:none}.nav .nav-contact{padding:0;border:0}.hero{grid-template-columns:1fr;padding-top:48px;padding-bottom:42px;gap:38px}.hero h1{max-width:570px}.hero-copy>p{font-size:17px}.hero-figure{max-width:500px}.hero-figure img{height:390px}.discipline-strip{flex-wrap:wrap;justify-content:start;font-size:10px;gap:15px 25px}.section{padding-top:60px;padding-bottom:60px}.section-heading{display:block}.section-heading>p{margin-top:22px}.project-grid,.about-grid,.resume-layout,.cert-grid{grid-template-columns:1fr}.project-media{height:290px}.publication{grid-template-columns:25px 1fr 20px;gap:15px}.publication h3{font-size:24px}.about-grid{gap:10px}.certificate{grid-template-columns:100px 1fr}.certificate img{width:100px}.contact-layout{display:block}.contact-links{margin-top:35px}.contact h2{font-size:43px}.footer{font-size:10px}.hero-figure:after{right:-15px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
[hidden]{display:none!important}

/* Refined portfolio style: quieter colors, plain headings, fewer panels. */
:root{--paper:#fafaf8;--ink:#24313a;--muted:#58636a;--line:#dce0e2;--green:#355a73;--lime:#e8eef2}
h1,h2,h3{font-weight:600;letter-spacing:-.025em}
h1{font-size:clamp(46px,5vw,68px)}
h2{font-size:clamp(30px,3.1vw,42px)}
.hero{padding-top:58px;padding-bottom:64px;grid-template-columns:1.2fr .8fr}
.hero-figure{background:transparent;padding:0}
.hero-figure img{height:360px;border-radius:3px}
.hero-figure:after{display:none}
.hero-figure figcaption{font-size:11px;text-transform:none;letter-spacing:0;color:var(--muted);padding:12px 0}
.eyebrow{font-size:12px;letter-spacing:.04em;text-transform:none;font-weight:500;margin-bottom:12px}
.section{padding-top:64px;padding-bottom:64px}
.project{background:transparent;border:0;border-radius:0}
.project-media{border:1px solid var(--line);border-radius:3px;background:#f0f2f1}
.project-copy{padding:23px 0 0}
.project-copy .eyebrow{font-size:12px}
.project-copy h3{font-size:25px}
.project-grid{gap:46px 36px}
.dark{background:#edf0f2;color:var(--ink)}
.dark p{color:var(--muted)}
.dark .eyebrow{color:var(--green)}
.publication{grid-template-columns:1fr 30px;border-color:#cbd3d8;padding:27px 0}
.publication:last-child{border-color:#cbd3d8}
.publication h3{font-size:25px;font-weight:500}
.publication:hover h3{color:var(--green)}
.publication .arrow{font-size:23px}
.about-grid .intro{font-size:19px}
.resume-section{background:#f0f2f1}
.contact{background:#e8eef2;padding:58px 0}
.contact p{color:var(--muted)}
.contact h2{font-size:38px}
@media(max-width:760px){.hero{grid-template-columns:1fr;padding-top:38px;padding-bottom:38px}.hero-figure{max-width:420px}.hero-figure img{height:350px}.section{padding-top:46px;padding-bottom:46px}.project-copy{padding:20px 0 0}.publication h3{font-size:22px}.contact h2{font-size:32px}}

/* Original portfolio identity and personal interests. */
.brand-logo{width:64px;height:64px;object-fit:contain;border-radius:3px;flex-shrink:0}
.header-inner{height:90px}
.about-logo{width:200px;height:200px;object-fit:contain;border-radius:3px;margin-top:28px}
.interests-section{border-top:1px solid var(--line)}
.interests-layout{display:grid;grid-template-columns:1fr 1fr;gap:80px}
.interests-layout h3{font-size:23px;letter-spacing:-.02em;margin-bottom:14px}
.hobby-list article{border-top:1px solid var(--line);padding:20px 0 4px}
.hobby-list article:first-child{padding-top:0;border:0}
.hobby-list h3{font-size:20px;margin-bottom:8px}
@media(max-width:1000px){.brand{font-size:16px;gap:9px}.brand-logo{width:48px;height:48px}.nav{gap:12px}.interests-layout{gap:40px}}
@media(max-width:760px){.header-inner{height:auto;min-height:76px}.about-logo{width:150px;height:150px;margin:20px 0 24px}.interests-layout{grid-template-columns:1fr;gap:20px}}

/* A small personal gallery and extra project photos inside expanded details. */
.brand-logo{width:68px;height:68px}
.nature-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:32px}
.nature-gallery a,.project-gallery a{display:block;overflow:hidden;border-radius:3px;background:#edf0ef}
.nature-gallery img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.gallery-note{font-size:12px;color:var(--muted);margin:12px 0 0}
.project-gallery{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:22px}
.project-gallery img{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain}
.project-media iframe{aspect-ratio:16/9}
@media(max-width:760px){.brand-logo{width:54px;height:54px}.nature-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.project-media{height:auto;aspect-ratio:4/3}.project-media iframe{height:100%}.project-media img{height:100%}}

.project-gallery>a:only-child{grid-column:1 / -1;max-width:330px;margin:auto}

.project-gallery>a:only-child{grid-column:1 / -1;max-width:330px;margin:auto}

/* Six personal photos in two rows; original images remain available in full. */
.nature-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}
.nature-gallery a:last-child img{object-fit:contain}
@media(max-width:760px){.nature-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}

.project-media video{display:block;width:100%;height:100%;object-fit:contain;background:#e7eae3}
