:root {
  --paper: #e9ecef;
  --white: #ffffff;
  --dark: #0a0b0e;
  --dark-2: #101217;
  --dark-3: #151820;
  --ink: #111318;
  --muted: #727883;
  --muted-dark: #858b95;
  --line: rgba(17,19,24,.15);
  --line-dark: rgba(255,255,255,.10);
  --blue: #2676ff;
  --cyan: #73dcff;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
a, button { -webkit-tap-highlight-color: transparent; }
section[id] { scroll-margin-top: 82px; }
::selection { color: white; background: var(--blue); }
.skip-link { position: fixed; z-index: 500; left: 18px; top: -80px; padding: 10px 14px; background: white; border-radius: 10px; }
.skip-link:focus { top: 18px; }
.scroll-progress { height: 3px; position: fixed; z-index: 300; inset: 0 0 auto; background: transparent; }
.scroll-progress span { width: 100%; height: 100%; display: block; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, var(--blue), var(--cyan)); }

.site-header { width: min(1280px, calc(100% - 48px)); height: 72px; padding: 0 20px; position: absolute; z-index: 100; top: 18px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; justify-content: center; gap: 30px; color: var(--ink); background: rgba(255,255,255,.88); border: 1px solid rgba(15,22,32,.10); border-radius: 17px; box-shadow: 0 12px 35px rgba(20,28,42,.07); backdrop-filter: blur(16px); transition: top .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { position: fixed; top: 9px; box-shadow: 0 16px 44px rgba(6,12,22,.18); }
.site-header > .brand { position: absolute; left: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.brand-icon { width: 29px; height: 29px; display: grid; place-items: center; color: white; background: var(--ink); border-radius: 9px; font-size: 11px; }
nav { display: flex; align-items: center; gap: 32px; color: #606773; font-size: 12px; font-weight: 750; }
nav a { position: relative; transition: color .2s ease; }
nav a::after { content: ""; width: 4px; height: 4px; position: absolute; left: 50%; bottom: -10px; opacity: 0; transform: translateX(-50%); border-radius: 50%; background: var(--blue); }
nav a:hover, nav a.is-active { color: var(--ink); }
nav a.is-active::after { opacity: 1; }

.hero { min-height: 820px; height: 100vh; max-height: 950px; position: relative; overflow: hidden; background: var(--paper); }
.hero::after { content: ""; height: 1px; position: absolute; left: 0; right: 0; bottom: 0; background: rgba(14,19,28,.14); }
.hero-word { position: absolute; z-index: 0; left: 50%; top: 22%; transform: translateX(-50%); color: transparent; -webkit-text-stroke: 1px rgba(15,22,32,.19); font-size: clamp(120px, 14vw, 260px); line-height: .8; font-weight: 900; letter-spacing: -.07em; white-space: nowrap; }
.hero-no { position: absolute; z-index: 2; left: max(24px, calc((100vw - 1280px)/2)); top: 125px; color: #7f8690; font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .12em; }
.hero-copy { width: 390px; position: absolute; z-index: 4; left: max(24px, calc((100vw - 1280px)/2)); top: 25%; }
.eyebrow { margin: 0 0 24px; color: var(--blue); font-size: 11px; font-weight: 900; letter-spacing: .14em; }
h1 { margin: 0; font-size: clamp(47px, 4vw, 65px); line-height: .91; letter-spacing: -.06em; }
h1 span { color: var(--blue); }
.hero-copy > p:not(.eyebrow) { margin: 26px 0; color: #626a75; font-size: 16px; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 19px; font-size: 12px; font-weight: 800; border-bottom: 1px solid #9ca3ac; padding-bottom: 7px; }
.text-link span { color: var(--blue); }
.hero-inline-facts { width: 270px; margin-top: 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-inline-facts div { padding: 13px 14px; background: rgba(255,255,255,.62); border: 1px solid rgba(16,23,33,.12); border-radius: 12px; }
.hero-inline-facts strong, .hero-inline-facts small { display: block; }.hero-inline-facts strong { color: var(--blue); font-size: 25px; letter-spacing: -.05em; }.hero-inline-facts small { margin-top: 4px; color: #747b85; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.portrait-wrap { width: min(36vw, 500px); height: 86%; position: absolute; z-index: 2; left: 66%; bottom: 0; transform: translateX(-50%); }
.portrait-wrap img { width: 100%; height: 100%; position: absolute; z-index: 3; inset: auto 0 0; object-fit: contain; object-position: center bottom; filter: drop-shadow(0 24px 35px rgba(13,18,25,.18)); }
.portrait-ring { width: 86%; aspect-ratio: 1; position: absolute; z-index: 1; left: 50%; top: 48%; transform: translate(-50%,-50%); border: 1px solid rgba(38,118,255,.23); border-radius: 50%; box-shadow: 0 0 0 55px rgba(38,118,255,.045), 0 0 0 110px rgba(38,118,255,.022); }
.portrait-ring::after { content: ""; position: absolute; inset: 21px; border: 1px dashed rgba(38,118,255,.25); border-radius: 50%; animation: rotate 20s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-scroll { position: absolute; z-index: 4; right: max(24px, calc((100vw - 1280px)/2)); bottom: 34px; display: flex; align-items: center; gap: 12px; color: #757c86; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.hero-scroll i { width: 36px; height: 36px; position: relative; border: 1px solid rgba(16,23,33,.16); border-radius: 50%; }.hero-scroll i::after { content: "↓"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--blue); font-style: normal; }

.dark-page { color: white; background: var(--dark); }
.section { width: min(1280px, calc(100% - 48px)); margin: 0 auto; padding: 130px 0; }
.section + .section { border-top: 1px solid var(--line-dark); }
.section-index { display: flex; align-items: center; gap: 13px; color: #868c95; font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.section-index span:first-child { color: var(--blue); font-family: ui-monospace, monospace; }.section-index i { width: 34px; height: 1px; background: #3a3e45; }
.display-title { margin: 0; font-size: clamp(49px, 6.2vw, 83px); line-height: .96; letter-spacing: -.06em; }.display-title span { color: #5e646d; }
.about-grid { margin-top: 60px; display: grid; grid-template-columns: 1.35fr .65fr; gap: 85px; align-items: end; }
.about-copy > p { margin: 0 0 22px; color: #9ba1aa; font-size: 16px; line-height: 1.75; }
.approach-list { margin-top: 35px; border-top: 1px solid var(--line-dark); }
.approach-list div { padding: 15px 0; display: grid; grid-template-columns: 34px 90px 1fr; gap: 12px; align-items: center; border-bottom: 1px solid var(--line-dark); font-size: 12px; }.approach-list b { color: var(--blue); font-family: ui-monospace, monospace; }.approach-list span { font-weight: 800; }.approach-list small { color: #7c838d; font-size: 12px; }

.section-heading { margin-bottom: 55px; display: grid; grid-template-columns: 1.25fr .55fr; gap: 60px; align-items: end; }
.section-heading h2 { margin: 18px 0 0; font-size: clamp(44px, 5vw, 70px); line-height: 1; letter-spacing: -.055em; }.section-heading > p { margin: 0 0 6px; color: #9399a2; font-size: 16px; line-height: 1.7; }
.featured-project { min-height: 560px; position: relative; overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--dark-2); }
.featured-copy { padding: 37px; display: flex; flex-direction: column; align-items: flex-start; position: relative; z-index: 2; }
.project-meta { width: 100%; display: flex; justify-content: space-between; gap: 18px; color: #858c96; font-size: 11px; font-weight: 850; letter-spacing: .1em; }
.featured-copy h3 { margin: auto 0 22px; font-size: clamp(39px, 4vw, 59px); line-height: .95; letter-spacing: -.055em; }.featured-copy > p { max-width: 520px; margin: 0; color: #9ca2ab; font-size: 16px; line-height: 1.75; }.featured-copy > small { margin-top: 19px; color: #777e88; font-size: 12px; line-height: 1.55; }
.tag-row { margin-top: 23px; display: flex; gap: 8px; flex-wrap: wrap; }.tag-row span { padding: 8px 11px; color: #a9afb7; border: 1px solid var(--line-dark); border-radius: 7px; font-size: 11px; font-weight: 800; letter-spacing: .07em; }
.featured-visual { position: relative; display: grid; place-items: center; overflow: hidden; background: radial-gradient(circle at center, rgba(38,118,255,.22), transparent 62%); }
.featured-visual::before { content: ""; position: absolute; inset: 0; opacity: .16; background-image: linear-gradient(rgba(115,220,255,.25) 1px, transparent 1px), linear-gradient(90deg, rgba(115,220,255,.25) 1px, transparent 1px); background-size: 34px 34px; }
.browser-shell { width: 82%; position: relative; z-index: 2; overflow: hidden; border: 1px solid rgba(255,255,255,.17); border-radius: 16px; background: #0b1018; box-shadow: 0 30px 70px rgba(0,0,0,.42); transform: perspective(900px) rotateY(-6deg) rotateX(2deg); }
.browser-top { height: 38px; padding: 0 13px; display: flex; align-items: center; gap: 5px; border-bottom: 1px solid rgba(255,255,255,.08); }.browser-top i { width: 6px; height: 6px; border-radius: 50%; background: #334154; }.browser-top i:first-child { background: var(--blue); }.browser-top span { margin-left: auto; color: #607083; font-family: ui-monospace, monospace; font-size: 10px; }
.browser-body { min-height: 310px; position: relative; display: grid; place-items: center; }.scan-circle { width: 220px; height: 220px; position: absolute; border: 1px solid rgba(115,220,255,.19); border-radius: 50%; }.scan-circle::before, .scan-circle::after { content: ""; position: absolute; border: 1px dashed rgba(115,220,255,.16); border-radius: 50%; }.scan-circle::before { inset: 28px; }.scan-circle::after { inset: 60px; }.scan-circle span { width: 6px; height: 6px; position: absolute; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }.scan-circle span:nth-child(1){top:23px;left:74px}.scan-circle span:nth-child(2){right:17px;top:104px}.scan-circle span:nth-child(3){bottom:26px;left:57px}
.finding { position: relative; z-index: 2; text-align: center; }.finding strong,.finding small { display:block }.finding strong { font-size: 78px; line-height: .9; letter-spacing: -.08em; }.finding small { margin-top: 10px; color: var(--cyan); font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.project-pair { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.project-card { min-height: 635px; position: relative; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--dark-2); }
.project-card-top { padding: 25px 28px 16px; display: flex; justify-content: space-between; gap: 18px; color: #858c96; font-size: 11px; font-weight: 850; letter-spacing: .09em; }
.project-card-top span:last-child { text-align: right; }
.project-screen { height: 230px; margin: 12px 27px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: 13px; background: #0c1119; }
.app-screen { padding: 16px; display: grid; grid-template-columns: 55px 1fr; gap: 12px; }.side-nav { border-radius: 8px; background: linear-gradient(var(--blue) 32px, #162033 32px); }.screen-main { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 45px 1fr; gap: 9px; }.screen-main i { border-radius: 7px; background: #172234; }.screen-main i:first-child { grid-column: 1/3; background: linear-gradient(90deg,#1a2d49,#101827); }.screen-main i:last-child { background: linear-gradient(145deg,rgba(38,118,255,.45),#111b2b); }
.ui-screen { padding: 14px; display: grid; grid-template-columns: 50px 1fr 1fr; grid-template-rows: 40px 1fr; gap: 9px; background: #edf2f8; }.ui-screen div { border: 1px solid #cfdae8; border-radius: 7px; background: white; }.ui-screen div:first-child { grid-row:1/3; background: var(--blue); border-color: var(--blue); }.ui-screen div:nth-child(2){grid-column:2/4}.ui-screen div:nth-child(5){display:none}
.project-card-copy { padding: 24px 28px 29px; margin-top: auto; border-top: 1px solid var(--line-dark); }.project-card-copy h3 { margin: 0 0 11px; font-size: 26px; letter-spacing: -.035em; }.project-card-copy p { margin: 0; color: #959ca5; font-size: 15px; line-height: 1.7; }
.mini-feature-list { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit,minmax(125px,1fr)); gap: 7px; }
.mini-feature-list span { padding: 9px 10px; color: #b1b7bf; background: rgba(255,255,255,.035); border: 1px solid var(--line-dark); border-radius: 8px; font-size: 11px; text-align: center; }

.exploration-lab { margin-top: 90px; padding-top: 60px; border-top: 1px solid var(--line-dark); }
.exploration-heading { margin-bottom: 35px; display: grid; grid-template-columns: 1fr .7fr; gap: 60px; align-items: end; }
.exploration-heading > div > span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.exploration-heading h3 { margin: 12px 0 0; font-size: clamp(36px,4vw,54px); letter-spacing: -.045em; }
.exploration-heading > p { margin: 0; color: #969ca5; font-size: 15px; line-height: 1.7; }
.exploration-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.exploration-card { min-height: 360px; padding: 26px; position: relative; overflow: hidden; display: flex; flex-direction: column; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--dark-2); }
.explore-top { display: flex; justify-content: space-between; gap: 15px; color: #8b929c; font-size: 11px; font-weight: 800; letter-spacing: .08em; }
.explore-top b { color: #6f7680; font-size: 10px; text-align: right; }
.explore-icon { width: 62px; height: 62px; margin-top: 40px; display: grid; place-items: center; color: var(--cyan); background: rgba(38,118,255,.12); border: 1px solid rgba(115,220,255,.18); border-radius: 18px; font-size: 22px; }
.explore-orbit { border-radius: 50%; box-shadow: 0 0 0 13px rgba(38,118,255,.04); }
.exploration-card h4 { margin: auto 0 10px; font-size: 23px; letter-spacing: -.03em; }
.exploration-card > p { margin: 0; color: #969ca5; font-size: 14px; line-height: 1.7; }
.project-experience { margin-top: 105px; padding-top: 70px; border-top: 1px solid var(--line-dark); }

.achievement-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 15px; }
.achievement-card { min-height: 380px; padding: 27px; position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--dark-2); }
.achievement-card > span { color: #898f99; font-size: 11px; font-weight: 850; letter-spacing: .11em; }.achievement-card > strong { margin: auto 0 0; font-size: 84px; line-height: .9; letter-spacing: -.08em; }.achievement-card h3 { margin: 16px 0 9px; font-size: 21px; }.achievement-card p { margin: 0; color: #979da6; font-size: 14px; line-height: 1.65; }.card-blue { background: var(--blue); border-color: var(--blue); }.card-blue > span,.card-blue p { color: rgba(255,255,255,.82); }

.experience-grid { margin-top: 58px; display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }.experience-title h2 { margin: 0; font-size: clamp(46px,5vw,69px); line-height: .98; letter-spacing: -.055em; }.experience-title p { max-width: 440px; color: #9299a2; font-size: 16px; line-height: 1.7; }
.timeline-card { padding: 38px; position: relative; overflow: hidden; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--dark-2); }.timeline-role { margin: 0 0 27px; }.timeline-role span { color: #8a919a; font-size: 11px; font-weight: 850; letter-spacing: .1em; }.timeline-role h3 { margin: 9px 0 3px; font-size: 37px; letter-spacing: -.04em; }.timeline-role p { margin: 0; color: #898f98; font-size: 14px; }.timeline-card > p { color: #9ba1aa; font-size: 16px; line-height: 1.7; }.timeline-skills { margin: 29px 0; display: flex; flex-wrap: wrap; gap: 8px; }.timeline-skills span { padding: 8px 10px; color: #a9afb7; border: 1px solid var(--line-dark); border-radius: 7px; font-size: 11px; font-weight: 800; }.evaluation { padding: 17px 0; display: flex; justify-content: space-between; border-top: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }.evaluation span { color:#858c96;font-size:11px;letter-spacing:.1em }.evaluation strong { color:#75e9b4;font-size:13px;letter-spacing:.09em }.timeline-card > small { display:block;margin-top:19px;color:#747b85;font-size:12px;line-height:1.55 }

.capability-list { border-top: 1px solid var(--line-dark); }
.cap-row { min-height: 112px; padding: 22px 0; display: grid; grid-template-columns: 55px .8fr 1fr 35px; gap: 24px; align-items: center; border-bottom: 1px solid var(--line-dark); transition: padding .25s ease, background .25s ease; }.cap-row:hover { padding-inline: 18px; background: rgba(255,255,255,.025); }.cap-row > span { color: var(--blue); font-family: ui-monospace, monospace; font-size: 10px; }.cap-row h3 { margin: 0; font-size: 23px; letter-spacing: -.025em; }.cap-row p { margin: 0; color: #969ca5; font-size: 14px; line-height: 1.65; }.cap-row b { color: #666d77; font-weight: 400; }
.skill-catalogue { margin-top: 80px; padding-top: 58px; border-top: 1px solid var(--line-dark); }
.skill-catalogue-heading { margin-bottom: 34px; display: grid; grid-template-columns: 1fr .7fr; gap: 60px; align-items: end; }
.skill-catalogue-heading > div > span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.skill-catalogue-heading h3 { margin: 12px 0 0; font-size: clamp(36px,4vw,54px); letter-spacing: -.045em; }
.skill-catalogue-heading > p { margin: 0; color: #969ca5; font-size: 15px; line-height: 1.7; }
.skill-category-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.skill-column { display: grid; gap: 16px; }
.skill-category { padding: 27px; position: relative; overflow: hidden; border: 1px solid var(--line-dark); border-radius: var(--radius); background: var(--dark-2); }
.skill-category-head { margin-bottom: 24px; display: grid; grid-template-columns: 35px 1fr; gap: 14px; align-items: start; }
.skill-category-head > span { color: var(--blue); font-family: ui-monospace,monospace; font-size: 10px; }
.skill-category-head small { color: #777f89; font-size: 11px; font-weight: 850; letter-spacing: .11em; }
.skill-category-head h3 { margin: 6px 0 0; font-size: 25px; letter-spacing: -.03em; }
.skill-items { display: grid; gap: 8px; }
.skill-item { min-height: 70px; padding: 10px 12px; display: grid; grid-template-columns: 46px 1fr; gap: 13px; align-items: center; border: 1px solid rgba(255,255,255,.07); border-radius: 11px; background: rgba(255,255,255,.025); transition: border-color .2s ease, background .2s ease, transform .2s ease; }
.skill-item:hover { transform: translateX(4px); border-color: rgba(115,220,255,.24); background: rgba(38,118,255,.06); }
.skill-icon { width: 42px; height: 42px; padding: 8px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.09); border-radius: 10px; background: #eef3f9; }
.skill-icon.generic { background: #121b28; }
.skill-icon img { width: 100%; height: 100%; display: block; object-fit: contain; }
.skill-icon.figma-icon { padding: 5px 10px; }
.skill-icon.figma-icon img { width: 20px; height: 30px; }
.skill-icon.capcut-icon { padding: 8px; }
.skill-item h4 { margin: 0; font-size: 15px; line-height: 1.3; }
.skill-item div small { display: block; margin-top: 4px; color: #858d97; font-size: 11px; }
.education-note { margin-top: 48px; padding: 32px; display: grid; grid-template-columns: .25fr .75fr 1fr; gap: 28px; align-items: center; border: 1px solid var(--line-dark); border-radius: 16px; background: var(--dark-2); }.education-note > span { color: var(--blue); font-size: 10px; font-weight: 850; letter-spacing: .11em; }.education-note h3 { margin: 0; font-size: 22px; }.education-note p { margin: 0; color: #969ca5; font-size: 14px; line-height: 1.65; }

.closing { min-height: 560px; padding: 85px max(24px,calc((100vw - 1280px)/2)); display: grid; align-items: center; background: var(--paper); }
.closing h2 { max-width: 1100px; margin: 0; font-size: clamp(70px,8.5vw,132px); line-height: .8; letter-spacing: -.075em; }
.closing h2 span { color: var(--blue); }
footer { min-height: 98px; padding: 22px max(24px,calc((100vw - 1280px)/2)); display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #686f78; background: #dde1e5; border-top: 1px solid rgba(17,19,24,.1); font-size: 11px; }
.mobile-dock { display:none }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }.reveal.is-visible { opacity:1;transform:none }
.interactive-card { --spot-x:50%;--spot-y:50%; transition: transform .25s ease,border-color .25s ease,box-shadow .25s ease; }.interactive-card::after { content:"";position:absolute;z-index:7;inset:0;opacity:0;border-radius:inherit;background:radial-gradient(280px circle at var(--spot-x) var(--spot-y),rgba(115,220,255,.12),transparent 65%);pointer-events:none;transition:opacity .2s ease }.interactive-card:hover::after{opacity:1}.interactive-card:hover{border-color:rgba(115,220,255,.28);box-shadow:0 25px 60px rgba(0,0,0,.18)}

@media (max-width: 980px) {
  nav { display:none }
  .hero { min-height: 900px;height:auto }
  .hero-word{top:19%;font-size:20vw}
  .hero-copy{width:43%;left:22px;top:24%}
  .portrait-wrap{width:min(53vw,500px);height:74%;left:70%}
  .hero-inline-facts{display:none}
  .about-grid,.section-heading,.experience-grid{grid-template-columns:1fr;gap:38px}
  .about-copy{max-width:650px}
  .featured-project{grid-template-columns:1fr;min-height:900px}.featured-copy{min-height:440px}.featured-visual{min-height:460px}
  .exploration-heading{grid-template-columns:1fr;gap:20px}.exploration-grid{grid-template-columns:1fr 1fr}.exploration-card:last-child{grid-column:1/3}
  .skill-catalogue-heading{grid-template-columns:1fr;gap:20px}.skill-category-grid{grid-template-columns:1fr}.skill-column{display:contents}
  .achievement-grid{grid-template-columns:1fr 1fr}.achievement-card:last-child{grid-column:1/3}
}

@media (max-width: 680px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  section[id] { scroll-margin-top: 74px; }

  .site-header {
    width: auto;
    height: 56px;
    padding: 7px 12px;
    top: max(9px, env(safe-area-inset-top));
    left: 12px;
    right: auto;
    transform: none;
    justify-content: flex-start;
    border-radius: 15px;
  }
  .site-header.is-scrolled { top: max(9px, env(safe-area-inset-top)); }
  .site-header > .brand { min-height: 42px; position: static; }
  .brand { gap: 8px; font-size: 11px; }
  .brand-icon { width: 28px; height: 28px; }

  .hero { min-height: 930px; height: auto; max-height: none; }
  .hero-no { top: 91px; left: 16px; }
  .hero-word { top: 20%; right: -6%; left: auto; transform: none; writing-mode: vertical-rl; font-size: clamp(104px, 31vw, 134px); opacity: .72; }
  .hero-copy { width: calc(100% - 32px); top: 126px; left: 16px; }
  .eyebrow { max-width: 275px; margin-bottom: 18px; font-size: 10px; line-height: 1.5; }
  .hero-copy h1 { max-width: 100%; font-size: clamp(43px, 13.5vw, 56px); line-height: .94; overflow-wrap: anywhere; }
  .hero-copy > p:not(.eyebrow) { max-width: 335px; margin: 22px 0; font-size: 15px; line-height: 1.65; }
  .text-link { min-height: 44px; align-items: center; font-size: 13px; }
  .hero-inline-facts { display: none; }
  .portrait-wrap { width: min(100vw, 455px); height: 44%; left: 61%; bottom: 0; }
  .portrait-ring { width: 67%; top: 53%; }
  .hero-scroll { display: none; }

  .section { width: calc(100% - 32px); padding: 82px 0; }
  .display-title { font-size: clamp(38px, 11.8vw, 47px); line-height: 1; overflow-wrap: anywhere; }
  .about-grid { margin-top: 36px; gap: 30px; }
  .about-copy > p { font-size: 16px; line-height: 1.72; }
  .approach-list div { grid-template-columns: 28px 84px minmax(0, 1fr); gap: 9px; }
  .approach-list small { font-size: 12px; line-height: 1.45; }

  .section-heading { margin-bottom: 34px; gap: 20px; }
  .section-heading h2 { font-size: clamp(39px, 12vw, 47px); overflow-wrap: anywhere; }
  .section-heading > p { font-size: 15px; line-height: 1.65; }

  .featured-project { min-height: 0; }
  .featured-copy { min-height: 0; padding: 24px 20px 28px; }
  .featured-copy h3 { margin: 40px 0 18px; font-size: clamp(34px, 10.5vw, 42px); line-height: .98; overflow-wrap: anywhere; }
  .featured-copy > p { font-size: 15px; line-height: 1.7; }
  .featured-copy > small { font-size: 12px; }
  .project-meta { font-size: 10px; line-height: 1.5; }
  .tag-row { margin-top: 20px; gap: 7px; }
  .tag-row span { padding: 7px 9px; font-size: 10px; line-height: 1.35; }
  .featured-visual { min-height: 330px; }
  .browser-shell { width: calc(100% - 28px); transform: none; }
  .browser-top span { max-width: 70%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .browser-body { min-height: 245px; }
  .scan-circle { width: 180px; height: 180px; }
  .finding strong { font-size: 68px; }

  .project-pair { grid-template-columns: 1fr; gap: 14px; }
  .project-card { min-height: 0; }
  .project-card-top { padding: 22px 20px 12px; flex-direction: column; gap: 7px; font-size: 10px; line-height: 1.45; }
  .project-card-top span:last-child { text-align: left; }
  .project-screen { height: 190px; margin: 10px 20px 18px; }
  .app-screen { grid-template-columns: 44px 1fr; padding: 12px; }
  .ui-screen { grid-template-columns: 40px 1fr 1fr; }
  .project-card-copy { padding: 22px 20px 25px; }
  .project-card-copy h3 { font-size: 25px; line-height: 1.16; overflow-wrap: anywhere; }
  .project-card-copy p { font-size: 15px; line-height: 1.68; }
  .mini-feature-list { grid-template-columns: 1fr 1fr; }
  .mini-feature-list span { min-width: 0; font-size: 11px; line-height: 1.4; }

  .exploration-lab { margin-top: 64px; padding-top: 44px; }
  .exploration-heading { gap: 16px; }
  .exploration-heading h3, .skill-catalogue-heading h3 { font-size: clamp(34px, 10.5vw, 42px); line-height: 1.05; }
  .exploration-heading > p, .skill-catalogue-heading > p { font-size: 15px; }
  .exploration-grid { grid-template-columns: 1fr; }
  .exploration-card, .exploration-card:last-child { min-height: 310px; padding: 22px 20px; grid-column: auto; }
  .explore-top { flex-direction: column; gap: 6px; font-size: 10px; }
  .explore-top b { text-align: left; }
  .explore-icon { margin-top: 28px; }
  .exploration-card h4 { font-size: 23px; }
  .exploration-card > p { font-size: 15px; }
  .project-experience { margin-top: 68px; padding-top: 48px; }

  .experience-grid { margin-top: 36px; gap: 28px; }
  .experience-title h2 { font-size: clamp(38px, 11.7vw, 47px); overflow-wrap: anywhere; }
  .experience-title p { font-size: 15px; }
  .timeline-card { padding: 23px 20px; }
  .timeline-role span { font-size: 10px; line-height: 1.5; }
  .timeline-role h3 { font-size: clamp(28px, 8.5vw, 34px); line-height: 1.08; }
  .timeline-card > p { font-size: 15px; line-height: 1.7; }
  .timeline-skills span { font-size: 10px; }
  .evaluation { gap: 12px; }
  .evaluation strong { text-align: right; }

  .achievement-grid { grid-template-columns: 1fr; }
  .achievement-card, .achievement-card:last-child { min-height: 300px; padding: 24px 20px; grid-column: auto; }
  .achievement-card > strong { font-size: 68px; }
  .achievement-card p { font-size: 15px; }

  .cap-row { min-height: 0; padding: 21px 0; grid-template-columns: 28px minmax(0, 1fr) 20px; gap: 9px; }
  .cap-row h3 { font-size: 21px; line-height: 1.18; overflow-wrap: anywhere; }
  .cap-row p { grid-column: 2 / 4; font-size: 15px; line-height: 1.6; }
  .skill-catalogue { margin-top: 64px; padding-top: 44px; }
  .skill-catalogue-heading { margin-bottom: 28px; gap: 16px; }
  .skill-category { padding: 20px 16px; }
  .skill-category-head { grid-template-columns: 28px minmax(0, 1fr); gap: 10px; }
  .skill-category-head h3 { font-size: 23px; }
  .skill-item { min-height: 72px; padding: 10px; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; }
  .skill-item h4 { font-size: 14px; overflow-wrap: anywhere; }
  .skill-item div small { font-size: 12px; }
  .education-note { margin-top: 36px; padding: 24px 20px; grid-template-columns: 1fr; gap: 10px; }
  .education-note p { font-size: 15px; }

  .closing { min-height: 470px; padding: 64px 16px; }
  .closing h2 { font-size: clamp(62px, 20.5vw, 90px); line-height: .84; overflow-wrap: anywhere; }
  footer { padding: 28px 20px calc(28px + env(safe-area-inset-bottom)); flex-direction: column; align-items: flex-start; }

  .mobile-dock {
    height: 58px;
    padding: 0 6px;
    position: fixed;
    z-index: 150;
    right: 8px;
    bottom: max(7px, env(safe-area-inset-bottom));
    left: 8px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: center;
    color: #c2c8cf;
    background: rgba(10,11,14,.94);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    box-shadow: 0 12px 35px rgba(0,0,0,.25);
  }
  .mobile-dock a { min-width: 0; min-height: 44px; padding: 0 3px; position: relative; display: grid; place-items: center; text-align: center; font-size: 10px; line-height: 1.15; font-weight: 750; transition: color .2s ease; }
  .mobile-dock a.is-active { color: white; }
  .mobile-dock a.is-active::after { content: ""; width: 4px; height: 4px; position: absolute; bottom: 3px; left: 50%; transform: translateX(-50%); border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
}

@media (max-width: 360px) {
  .section { width: calc(100% - 24px); }
  .hero-copy { width: calc(100% - 24px); left: 12px; }
  .hero-no { left: 12px; }
  .hero-copy h1 { font-size: 42px; }
  .hero-copy > p:not(.eyebrow) { font-size: 14px; }
  .portrait-wrap { left: 63%; }
  .approach-list div { grid-template-columns: 24px 76px minmax(0, 1fr); }
  .featured-copy, .project-card-copy, .timeline-card { padding-inline: 17px; }
  .project-card-top { padding-inline: 17px; }
  .project-screen { margin-inline: 17px; }
  .mini-feature-list { grid-template-columns: 1fr; }
  .skill-category { padding-inline: 12px; }
  .mobile-dock a { font-size: 9px; }
}

@media (hover: none), (pointer: coarse) {
  .interactive-card:hover { transform: none; box-shadow: none; }
  .interactive-card:hover::after { opacity: 0; }
  .skill-item:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}
