@charset "UTF-8";

:root {
  color-scheme: dark;
  --bg: #101010;
  --surface: #191919;
  --text: #e7e7e2;
  --muted: #a5a5a1;
  --line: #33332f;
  --accent: #bea5ed;
  --paper: #ecece5;
  --ink: #191b18;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 26px; }
body { background: var(--bg); color: var(--text); font-family: 'Kanit', Arial, sans-serif; font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
a, summary { cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 6px; }
svg { display: inline-block; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 500; line-height: 1.04; letter-spacing: -.045em; }
p { max-width: 65ch; }
em { font-weight: 400; }
ul { list-style: none; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.page-width { width: min(1440px, 100% - 96px); margin-inline: auto; }
.section-space { padding-block: 110px; }
.eyebrow { font-size: 11px; letter-spacing: .12em; font-weight: 400; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.section-dot, .status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.section-dot { background: var(--accent); margin-right: 9px; }
.section-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 42px; gap: 16px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: 54px; }
h2 { font-size: clamp(42px, 5.4vw, 78px); font-weight: 500; }
.section-heading > p { font-size: 15px; color: var(--muted); padding-bottom: 7px; }
.text-link { font-size: 13px; font-weight: 400; display: inline-flex; gap: 25px; align-items: center; min-height: 44px; border-bottom: 1px solid var(--line); padding-block: 10px; transition: color .2s, border-color .2s; }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.text-link .icon { width: 17px; height: 17px; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; background: var(--accent); color: var(--bg); padding: 12px 20px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* The original portrait stays intact; blending ties its white backdrop to the panel. */
.site-header { height: 102px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 33px; font-weight: 600; line-height: 1; letter-spacing: -.07em; display: inline-flex; align-items: flex-start; padding-block: 8px; }
.wordmark > span { font-size: 12px; letter-spacing: 0; margin-left: 3px; margin-top: 3px; }
.site-header nav { display: flex; align-items: center; gap: 38px; margin-left: 80px; }
.site-header nav > a { font-size: 13px; min-height: 44px; display: flex; align-items: center; gap: 5px; transition: color .2s; }
.site-header nav > a:hover, .header-contact:hover { color: var(--accent); }
.nav-count { font-size: 9px; align-self: flex-start; margin-top: 9px; color: var(--muted); }
.header-contact { font-size: 13px; display: flex; align-items: center; gap: 25px; min-height: 44px; }
.header-contact .icon { width: 18px; height: 18px; }
.hero { padding-top: 28px; overflow-x: clip; }
.hero-eyebrow { display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .12em; font-weight: 400; }
.tiny-star { color: var(--accent); font-size: 15px; margin-left: 12px; }
.hero h1 { font-size: clamp(72px, 17.2vw, 248px); letter-spacing: -.055em; font-weight: 600; white-space: nowrap; line-height: 1.1; margin-top: 10px; background: linear-gradient(180deg, #f1f0eb 20%, #aaaeb1 100%); background-clip: text; -webkit-background-clip: text; color: transparent; position: relative; z-index: 2; }
.title-dot { color: var(--accent); }
.hero-stage { display: grid; grid-template-columns: 1fr 1.38fr .85fr; align-items: center; gap: 38px; position: relative; margin-top: 10px; min-height: 445px; }
.hero-intro { padding-bottom: 15px; position: relative; z-index: 2; }
.hero-intro > .eyebrow { font-size: 9px; letter-spacing: .1em; }
.hero-intro > p:first-of-type { font-size: clamp(23px, 2.45vw, 35px); font-weight: 400; line-height: 1.22; letter-spacing: -.025em; margin-top: 23px; }
.hero-intro em { color: var(--accent); }
.hero-description { font-size: 13px; color: var(--muted); max-width: 250px; margin-block: 20px 28px; }
.button { border-radius: 100px; display: inline-flex; align-items: center; justify-content: center; gap: 35px; padding: 14px 23px; min-height: 49px; font-size: 12px; font-weight: 400; transition: background .2s, transform .2s; }
.button:hover { transform: translateY(-3px); }
.button-light { background: var(--text); color: var(--bg); }
.button-light:hover { background: var(--accent); }
.button .icon { width: 17px; height: 17px; }
.portrait-scene { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; perspective: 900px; isolation: isolate; }
.portrait-card { background: #ddd7e8; width: 100%; height: 430px; max-width: 450px; border-radius: 46% 46% 15px 15px; position: relative; overflow: hidden; transform: rotate(-3deg) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)); transition: transform .55s var(--ease); box-shadow: 0 22px 65px #0004; }
.portrait-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: radial-gradient(circle at var(--light-x, 50%) var(--light-y, 30%), #fff2, transparent 55%); }
.portrait-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; mix-blend-mode: multiply; filter: grayscale(1); position: relative; padding-top: 36px; }
.portrait-label { position: absolute; top: 20px; left: 0; right: 0; text-align: center; font-size: 8px; font-weight: 400; letter-spacing: .16em; color: #51485f; z-index: 1; }
.portrait-caption { display: flex; justify-content: space-between; gap: 10px; position: absolute; bottom: 0; left: 0; right: 0; background: #24212ae6; color: #efedf2; font-size: 8px; padding: 12px 17px; letter-spacing: .07em; z-index: 1; }
.portrait-caption > span { color: #c0b6d0; }
.portrait-orbit { position: absolute; inset: 18% -11%; border: 1px solid #bea5ed55; border-radius: 50%; transform: rotate(-34deg); z-index: -1; }
.portrait-orbit::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); position: absolute; top: 15%; left: 13%; box-shadow: 0 0 25px #bea5ed66; }
.portrait-sticker { position: absolute; right: -12px; bottom: 46px; background: var(--accent); border: 6px solid var(--bg); border-radius: 50%; width: 73px; height: 73px; display: grid; place-items: center; transform: rotate(12deg); color: #282032; }
.portrait-sticker .icon { width: 28px; height: 28px; }
.hero-aside { justify-self: end; padding-left: 7px; align-self: center; }
.availability { display: flex; align-items: center; gap: 8px; font-size: 9px; letter-spacing: .07em; font-weight: 400; white-space: nowrap; }
.status-dot { background: #a9c89a; box-shadow: 0 0 0 4px #a9c89a10; width: 5px; height: 5px; }
.internship-dates { font-size: 18px; font-weight: 400; line-height: 1.4; margin: 21px 0 12px; letter-spacing: .015em; }
.internship-dates strong { font-size: 54px; font-weight: 400; line-height: 1.1; letter-spacing: -.04em; }
.hero-aside > .small { display: block; line-height: 1.7; }
.resume-link { margin-top: 18px; font-size: 12px; gap: 20px; }
.hero-bottom { margin-top: 35px; padding-block: 24px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); font-size: 9px; letter-spacing: .09em; color: var(--muted); font-weight: 400; }
.hero-bottom > a { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-block: -12px; }
.hero-bottom .icon { width: 15px; height: 15px; }
.tech-strip { margin-top: 10px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; }
.tech-track { display: flex; flex-wrap: wrap; justify-content: center; gap: 27px; align-items: center; padding: 23px max(48px, calc((100vw - 1344px)/2)); font-size: 23px; font-weight: 500; letter-spacing: -.025em; }
.strip-star { color: var(--accent); font-size: 24px; font-weight: 300; }

.projects { padding-bottom: 70px; }
.project-list { display: flex; flex-direction: column; gap: 28px; isolation: isolate; }
.project-card { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 470px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: clip; position: sticky; top: 24px; transform-origin: top center; box-shadow: 0 -10px 30px #10101060; }
.project-card:nth-child(2) { top: 40px; }
.project-card:nth-child(3) { top: 56px; }
.project-card:has(:focus-visible) { z-index: 2; }
.project-copy { padding: 36px; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.project-meta { display: flex; justify-content: space-between; align-items: center; width: 100%; gap: 12px; font-size: 9px; letter-spacing: .07em; font-weight: 400; color: #b8b8b2; }
.project-status { border: 1px solid #4a4942; border-radius: 20px; padding: 4px 8px; color: #d6d4b9; white-space: nowrap; font-size: 8px; }
.project-copy h3 { font-size: clamp(36px, 3.6vw, 53px); font-weight: 400; letter-spacing: -.035em; line-height: 1.05; margin-block: 34px 22px; position: relative; padding-right: 24px; width: 100%; }
.project-copy h3 > span { position: absolute; right: 0; top: 2px; font-size: 32px; color: var(--accent); font-weight: 300; }
.project-copy > p { font-size: 13px; line-height: 1.85; color: #b5b5ae; max-width: 370px; }
.tags { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 22px; }
.tags li { padding: 4px 10px; border: 1px solid #43433e; border-radius: 30px; font-size: 10px; color: #c5c5bf; }
.project-copy details { margin-top: auto; width: 100%; border-top: 1px solid #3a3a34; }
.project-copy summary { display: flex; justify-content: space-between; gap: 20px; align-items: center; list-style: none; min-height: 49px; font-size: 12px; font-weight: 400; }
.project-copy summary::-webkit-details-marker { display: none; }
.project-copy summary > span { font-size: 22px; transition: transform .2s; }
.project-copy details[open] summary > span { transform: rotate(45deg); }
.project-details { font-size: 12px; line-height: 1.85; color: #b5b5ae; padding-bottom: 12px; }
.project-visual { position: relative; min-height: 470px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.visual-note { position: absolute; top: 18px; left: 20px; font-size: 8px; letter-spacing: .1em; font-weight: 400; z-index: 2; color: #313c32; }
.visual-index { position: absolute; right: 20px; bottom: 17px; font-size: 9px; letter-spacing: .12em; color: #313c32; }
.bloom-visual { background: #d3d9c7; }
.bloom-word { position: absolute; left: 24px; top: 105px; color: #667459; font-size: 48px; line-height: .95; letter-spacing: -.05em; transform: rotate(-8deg); }
.bloom-word em { font-family: Georgia, serif; font-weight: 400; }
.phone { background: #24352e; border-radius: 34px; width: 209px; height: 393px; padding: 6px; position: relative; transform: rotate(9deg) translate(31px, 12px); box-shadow: 15px 24px 30px #33432b33; }
.phone-camera { position: absolute; width: 65px; height: 16px; background: #24352e; top: 7px; left: 50%; transform: translateX(-50%); border-radius: 0 0 12px 12px; z-index: 1; }
.phone-content { height: 100%; background: #f4f1e8; border-radius: 28px; overflow: hidden; padding: 27px 13px 12px; color: #304734; }
.phone-brand { display: flex; justify-content: space-between; font-family: Georgia, serif; font-size: 12px; font-weight: bold; margin-bottom: 24px; }
.phone-brand > span { font-size: 20px; line-height: 1; }
.mock-eyebrow { font-size: 6px; letter-spacing: .1em; font-weight: 400; }
.phone-content .mock-heading { font-family: Georgia, serif; font-size: 29px; font-weight: 400; line-height: 1.05; letter-spacing: -.04em; margin-top: 7px; }
.bouquet { height: 117px; position: relative; margin-top: -2px; }
.flower { width: 75px; height: 100px; position: absolute; color: #c47d8a; left: 30px; top: 8px; transform: rotate(-18deg); }
.flower-two { color: #d6ad6d; left: 79px; top: 15px; transform: rotate(20deg); width: 65px; }
.flower-three { color: #caa9c1; left: 57px; top: -8px; transform: rotate(5deg); width: 70px; }
.phone-product { font-size: 9px; display: flex; justify-content: space-between; font-weight: 400; }
.phone-product small { display: block; font-size: 7px; color: #797d6d; font-weight: 300; }
.mock-button { background: #344d3a; color: #f3f0e6; border-radius: 6px; padding: 10px; font-size: 8px; display: flex; justify-content: space-between; margin-top: 13px; }
.phone-tabs { font-size: 6px; display: flex; justify-content: space-between; margin-top: 13px; color: #63725c; }
.recipe-visual { background: #ddaa7b; }
.browser-mock { width: 89%; background: #f8f5ec; border-radius: 9px; overflow: hidden; transform: rotate(-5deg) translateY(12px); box-shadow: 12px 20px 30px #6b42182b; color: #3c402c; }
.browser-bar { background: #e9e5d8; display: flex; justify-content: space-between; padding: 7px 10px; font-size: 6px; }
.recipe-content { padding: 19px 22px 25px; }
.recipe-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 27px; }
.recipe-nav > strong { font-size: 16px; font-family: Georgia, serif; letter-spacing: -.06em; }
.recipe-nav strong span { font-size: 7px; vertical-align: top; }
.recipe-nav > span { font-size: 6px; }
.recipe-content > .mock-eyebrow { font-size: 7px; }
.recipe-content > .mock-heading { font-family: Georgia, serif; font-size: 42px; letter-spacing: -.06em; font-weight: 400; line-height: .98; margin-top: 8px; }
.recipe-content .mock-heading > em { color: #9a542c; }
.mock-search { margin-top: 17px; background: #eeeade; padding: 9px 10px; border-radius: 5px; font-size: 8px; display: flex; justify-content: space-between; }
.recipe-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin-top: 18px; }
.recipe-tiles strong { font-size: 8px; font-weight: 400; display: block; margin-top: 7px; }
.recipe-tiles small { display: block; font-size: 5px; margin-top: 3px; letter-spacing: .04em; }
.food-illustration { height: 89px; border-radius: 5px; background: #e8d4b4; position: relative; display: grid; place-items: center; overflow: hidden; }
.food-illustration::before { content: ''; width: 73px; height: 73px; background: #faf4e2; border-radius: 50%; box-shadow: 0 4px 8px #36261020, inset 0 0 0 7px #fff7; }
.food-illustration.pasta i { position: absolute; width: 40px; height: 13px; border: 4px solid #ce8a3c; border-radius: 50%; transform: rotate(-20deg); }
.food-illustration.pasta i:nth-child(2) { transform: rotate(24deg); top: 47px; }
.food-illustration.pasta i:nth-child(3) { transform: rotate(62deg); top: 23px; }
.salad { background: #c7ccb0; }
.food-illustration.salad i { position: absolute; width: 26px; height: 38px; border-radius: 80% 0 80% 0; background: #849260; transform: rotate(-15deg); left: 32%; }
.food-illustration.salad i:nth-child(2) { transform: rotate(65deg); background: #a7a76b; left: 47%; }
.food-illustration.salad i:nth-child(3) { width: 17px; height: 17px; border-radius: 50%; background: #b86b50; top: 45px; left: 43%; }
.diary-visual { background: #c5b9db; }
.diary-window { width: 86%; display: flex; border-radius: 11px; background: #f5f4f8; overflow: hidden; transform: rotate(5deg) translateY(12px); box-shadow: 15px 22px 35px #4f3d6d30; color: #352b45; }
.diary-sidebar { width: 43px; background: #e9e5f1; flex-shrink: 0; display: flex; align-items: center; flex-direction: column; gap: 20px; padding-top: 18px; font-size: 14px; color: #877997; }
.diary-sidebar strong { font-size: 24px; line-height: 1; margin-bottom: 20px; color: #40324e; }
.diary-sidebar strong span { color: #a78cbf; }
.diary-sidebar .selected { color: #55416f; background: #d9cfe7; padding: 0 7px; border-radius: 4px; }
.diary-content { padding: 23px 18px; width: 100%; }
.diary-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 27px; }
.diary-header > strong { font-size: 11px; font-weight: 500; }
.diary-header > span { font-size: 5px; color: #82788e; }
.diary-content > .mock-heading { font-size: 24px; font-weight: 400; line-height: 1.1; letter-spacing: -.04em; margin-bottom: 19px; }
.balance-card { background: #d9cce9; border-radius: 8px; padding: 16px; }
.balance-card > span { font-size: 6px; letter-spacing: .1em; display: block; }
.balance-card > strong { display: block; font-size: 27px; font-weight: 500; letter-spacing: -.04em; margin-top: 5px; }
.balance-card > strong > span { font-size: 17px; color: #766487; }
.balance-card > div { display: flex; justify-content: space-between; margin-top: 12px; font-size: 6px; color: #6f5e83; }
.balance-card b { display: block; font-size: 8px; font-weight: 400; color: #483857; margin-left: 8px; }
.transaction-heading { display: flex; justify-content: space-between; font-size: 8px; font-weight: 400; margin-block: 20px 5px; }
.transaction-heading > span { font-size: 5px; font-weight: 300; }
.transaction { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid #e7e3ed; padding-block: 9px; font-size: 7px; }
.transaction small { display: block; font-size: 5px; color: #8c8395; }
.transaction > b { margin-left: auto; font-size: 7px; font-weight: 400; }
.transaction-icon { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 6px; background: #eadcce; color: #98734c; }
.transaction-icon.income { background: #dde6d9; color: #6b8660; }
.github-link { margin-top: 35px; }

.about { padding-top: 60px; padding-bottom: 95px; }
.about-star { width: 58px; height: 58px; color: var(--accent); transform: rotate(12deg); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.about-grid h2 { font-size: clamp(40px, 4.8vw, 70px); }
.about-copy { padding-top: 2px; }
.about-copy > p { font-size: 17px; line-height: 1.8; color: var(--muted); margin-bottom: 20px; }
.about-copy > p span { color: var(--text); }
.about-copy > .text-link { margin-top: 5px; }
.about-facts { display: grid; grid-template-columns: 1fr 1fr 1.2fr; margin-top: 63px; border-top: 1px solid var(--line); padding-top: 29px; gap: 30px; }
.about-facts > div { display: flex; flex-direction: column; border-right: 1px solid var(--line); padding-left: 15px; }
.about-facts > div:first-child { padding-left: 0; }
.about-facts > div:last-child { border: 0; }
.about-facts strong { font-size: 40px; line-height: 1.2; font-weight: 400; letter-spacing: -.04em; }
.about-facts span { font-size: 9px; letter-spacing: .1em; color: var(--muted); margin-top: 9px; }
.light-section { background: var(--paper); color: var(--ink); border-radius: 35px 35px 0 0; color-scheme: light; }
.light-section .section-dot { background: var(--ink); }
.light-section .section-heading > p { color: #60615a; }
.light-section :is(a, summary):focus-visible { outline-color: #593786; }
.skills { padding-bottom: 94px; }
.skill-row { display: grid; grid-template-columns: 50px 1.15fr 1.35fr 25px; gap: 25px; align-items: start; border-top: 1px solid #c7c8bf; padding-block: 28px; }
.skill-row:last-child { border-bottom: 1px solid #c7c8bf; }
.skill-number { font-size: 13px; font-weight: 400; line-height: 2; }
.skill-row h3 { font-size: 24px; letter-spacing: -.025em; font-weight: 400; line-height: 1.2; }
.skill-row p { font-size: 13px; color: #5c5e54; line-height: 1.7; margin-bottom: 9px; max-width: 370px; }
.skill-row > div > span { font-size: 10px; color: #606155; font-weight: 400; }
.skill-row > .icon { width: 23px; height: 23px; }
.education-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 100px; }
.education-grid h2 { font-size: clamp(40px, 4.5vw, 64px); }
.education-intro { color: var(--muted); font-size: 15px; line-height: 1.8; margin-block: 27px 21px; }
.journey-list > article { padding-block: 24px; border-top: 1px solid var(--line); }
.journey-list > article:first-child { padding-top: 0; border-top: 0; }
.journey-list h3 { font-size: 21px; font-weight: 400; letter-spacing: -.02em; margin-block: 12px 8px; line-height: 1.3; }
.journey-list p { font-size: 13px; color: var(--muted); line-height: 1.8; }
.journey-list .eyebrow { font-size: 9px; }
.journey-badge { font-size: 9px; border: 1px solid #51415e; color: #d6b8ee; display: inline-block; padding: 4px 11px; border-radius: 30px; margin-top: 12px; }
.contact { padding-bottom: 72px; background: #c7b2e5; }
.contact-heading { display: flex; justify-content: space-between; align-items: center; gap: 30px; }
.contact-heading h2 { font-size: clamp(50px, 7.5vw, 110px); line-height: 1.02; font-weight: 500; letter-spacing: -.055em; }
.contact-heading h2 em { font-family: Georgia, serif; letter-spacing: -.07em; font-weight: 400; }
.contact-arrow { width: 115px; height: 115px; display: grid; place-items: center; border: 1px solid #756587; border-radius: 50%; flex-shrink: 0; transition: background .25s, transform .25s; }
.contact-arrow .icon { width: 48px; height: 48px; stroke-width: 1; }
.contact-arrow:hover { background: var(--ink); color: #c7b2e5; transform: rotate(8deg); }
.contact-bottom { margin-top: 57px; padding-top: 29px; border-top: 1px solid #9f8bb9; display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; }
.contact-bottom p { font-size: 15px; font-weight: 400; }
.contact-bottom .contact-note { font-size: 11px; color: #51445f; font-weight: 300; margin-top: 7px; }
.email-link { display: inline-block; font-size: 22px; letter-spacing: -.02em; margin-top: 18px; border-bottom: 1px solid #827092; overflow-wrap: anywhere; }
.email-link:hover { border-color: var(--ink); }
.social-links { display: flex; gap: 26px; flex-wrap: wrap; }
.social-links > a { display: flex; gap: 13px; align-items: center; font-size: 12px; min-height: 44px; }
.social-links .icon { width: 14px; height: 14px; }
.social-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.site-footer { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-block: 29px; }
.site-footer > .wordmark { font-size: 29px; }
.site-footer > span { font-size: 10px; color: var(--muted); }
.site-footer > a:last-child { font-size: 9px; letter-spacing: .07em; display: flex; align-items: center; gap: 10px; min-height: 44px; }
.site-footer .icon { width: 14px; height: 14px; }
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 1600px) {
  .hero-stage { min-height: 510px; }
  .portrait-card { height: 490px; }
  .hero h1 { font-size: 265px; }
  .hero-intro > .eyebrow { font-size: 10px; }
  .hero-description { font-size: 15px; max-width: 300px; }
  .hero-aside .small { font-size: 15px; }
  .hero-intro > p:first-of-type { font-size: 37px; }
  .hero-aside { padding-right: 20px; }
}

@media (max-width: 1100px) {
  .page-width { width: calc(100% - 64px); }
  .hero-stage { gap: 22px; grid-template-columns: 1fr 1.2fr .8fr; min-height: 375px; }
  .portrait-card { height: 360px; }
  .hero-intro > .eyebrow { font-size: 8px; }
  .hero-intro > p:first-of-type { font-size: 26px; }
  .hero-description { font-size: 12px; }
  .availability { font-size: 8px; }
  .internship-dates { font-size: 16px; }
  .internship-dates strong { font-size: 46px; }
  .hero-aside .small { font-size: 11px; }
  .resume-link { font-size: 11px; gap: 12px; }
  .portrait-sticker { width: 62px; height: 62px; right: -14px; }
  .project-copy { padding: 28px; }
  .project-copy h3 { font-size: 39px; }
  .project-meta { font-size: 8px; }
  .project-status { font-size: 7px; }
  .project-copy > p { font-size: 12px; }
  .project-visual { min-height: 445px; }
  .bloom-word { font-size: 39px; left: 18px; }
  .phone { transform: rotate(9deg) translate(25px, 14px); }
  .project-card { min-height: 445px; }
  .about-grid, .education-grid { gap: 55px; }
  .about-copy > p { font-size: 15px; }
  .skill-row { grid-template-columns: 35px 1fr 1.3fr 20px; gap: 20px; }
  .skill-row h3 { font-size: 22px; }
  .contact-bottom { align-items: flex-start; flex-direction: column; gap: 20px; }
  .contact-arrow { width: 95px; height: 95px; }
  .tech-track { padding-inline: 32px; gap: 25px; font-size: 20px; }
  .section-space { padding-block: 85px; }
  .about { padding-top: 40px; }
}

@media (max-width: 760px) {
  .page-width { width: calc(100% - 40px); }
  .site-header { height: 81px; }
  .site-header nav { gap: 18px; margin-left: 0; }
  .site-header nav > a { font-size: 12px; }
  .wordmark { font-size: 28px; }
  .header-contact { font-size: 11px; gap: 8px; }
  .header-contact .icon { width: 16px; height: 16px; }
  .hero { padding-top: 21px; }
  .hero-eyebrow { font-size: 8px; letter-spacing: .07em; }
  .tiny-star { font-size: 11px; margin-left: 4px; }
  .hero h1 { font-size: 17vw; margin-top: 16px; }
  .hero-stage { grid-template-columns: 1fr 1fr; gap: 30px 24px; margin-top: 24px; min-height: 0; }
  .portrait-scene { grid-column: 2; grid-row: 1 / 3; align-self: stretch; min-height: 345px; }
  .portrait-card { height: 330px; border-radius: 45% 45% 12px 12px; transform: rotate(-3deg); }
  .portrait-card img { object-fit: cover; object-position: 50% 50%; padding-top: 20px; }
  .portrait-label { font-size: 6px; letter-spacing: .08em; top: 24px; }
  .portrait-caption { font-size: 6px; padding: 10px; }
  .portrait-caption > span { display: none; }
  .portrait-sticker { width: 54px; height: 54px; bottom: 30px; right: -10px; }
  .portrait-sticker .icon { width: 22px; height: 22px; }
  .portrait-orbit { inset: 25% -7%; transform: rotate(-42deg); }
  .hero-intro { padding: 0; }
  .hero-intro > .eyebrow { font-size: 7px; letter-spacing: .06em; }
  .hero-intro > p:first-of-type { font-size: 24px; margin-top: 13px; }
  .hero-description { font-size: 14px; line-height: 1.7; margin-block: 14px 20px; }
  .button { padding: 12px 15px; gap: 20px; font-size: 11px; min-height: 45px; }
  .hero-aside { grid-column: 1; justify-self: start; padding: 0; }
  .availability { font-size: 7px; }
  .internship-dates { font-size: 12px; margin-block: 11px 4px; }
  .internship-dates br { display: none; }
  .internship-dates strong { font-size: 15px; font-weight: 400; margin-left: 4px; letter-spacing: 0; }
  .hero-aside > .small { display: none; }
  .resume-link { margin-top: 4px; min-height: 44px; font-size: 11px; }
  .hero-bottom { margin-top: 29px; font-size: 8px; padding-block: 21px; gap: 15px; }
  .hero-bottom > span:first-child { max-width: 140px; font-size: 7px; }
  .hero-bottom > span:last-child { display: none; }
  .tech-track { font-size: 18px; padding: 18px 20px; gap: 17px; flex-wrap: wrap; justify-content: center; min-width: 0; }
  .strip-star { font-size: 19px; }
  .section-space { padding-block: 65px; }
  .section-top { margin-bottom: 30px; }
  .eyebrow { font-size: 9px; letter-spacing: .08em; }
  .section-heading { margin-bottom: 34px; align-items: flex-start; flex-direction: column; gap: 18px; }
  h2 { font-size: clamp(36px, 7vw, 53px); }
  .section-heading > p { font-size: 13px; }
  .section-heading > p br { display: none; }
  .project-card { position: relative; top: auto !important; grid-template-columns: 1fr; border-radius: 15px; box-shadow: none; transform: none !important; }
  .project-copy { padding: 25px; }
  .project-meta { font-size: 9px; }
  .project-copy h3 { font-size: 43px; margin-block: 24px 18px; max-width: 440px; }
  .project-copy > p { font-size: 14px; max-width: 100%; }
  .project-copy h3 > span { font-size: 29px; }
  .project-status { font-size: 8px; }
  .tags { margin-block: 19px; }
  .project-visual { min-height: 390px; }
  .phone { transform: rotate(9deg) translate(24px, 10px); width: 190px; height: 358px; }
  .phone-content { padding-top: 24px; }
  .phone-brand { margin-bottom: 17px; }
  .phone-content .mock-heading { font-size: 27px; }
  .bouquet { height: 108px; }
  .phone-tabs { margin-top: 10px; }
  .phone-product { font-size: 8px; }
  .bloom-word { font-size: 55px; left: 27px; top: 100px; }
  .phone .mock-button { margin-top: 10px; }
  .browser-mock { width: min(85%, 425px); transform: rotate(-4deg) translateY(13px); }
  .recipe-content { padding: 18px 23px; }
  .recipe-nav { margin-bottom: 16px; }
  .recipe-content > .mock-heading { font-size: 40px; }
  .diary-window { width: min(85%, 420px); }
  .diary-content { padding: 20px; }
  .diary-content > .mock-heading { font-size: 25px; }
  .diary-header { margin-bottom: 17px; }
  .visual-note { font-size: 7px; }
  .about { padding-top: 18px; }
  .about-grid { grid-template-columns: 1fr; gap: 26px; }
  .about-grid h2 { font-size: 46px; }
  .about-grid h2 br:last-child { display: none; }
  .about-copy > p { font-size: 15px; }
  .about-star { width: 43px; height: 43px; }
  .about-facts { gap: 15px; margin-top: 38px; padding-top: 24px; grid-template-columns: .75fr .9fr 1.4fr; }
  .about-facts strong { font-size: 27px; }
  .about-facts span { font-size: 7px; letter-spacing: .04em; }
  .about-facts > div { padding-left: 4px; }
  .light-section { border-radius: 25px 25px 0 0; }
  .skill-row { grid-template-columns: 25px 1fr 18px; gap: 12px; padding-block: 24px; }
  .skill-row h3 { font-size: 22px; }
  .skill-row > div { grid-column: 2; grid-row: 2; }
  .skill-row > .icon { grid-column: 3; grid-row: 1; width: 18px; height: 18px; }
  .skill-number { font-size: 11px; }
  .skill-row p { font-size: 14px; margin-bottom: 9px; }
  .skill-row > div > span { font-size: 12px; }
  .education-grid { grid-template-columns: 1fr; gap: 38px; }
  .education-grid h2 { font-size: 44px; }
  .education-intro { font-size: 13px; margin-block: 20px 13px; }
  .journey-list > article:first-child { border-top: 1px solid var(--line); padding-top: 24px; }
  .journey-list h3 { font-size: 20px; }
  .contact-heading { gap: 15px; align-items: flex-end; }
  .contact-heading h2 { font-size: clamp(39px, 7.9vw, 60px); }
  .contact-arrow { width: 62px; height: 62px; margin-bottom: 4px; }
  .contact-arrow .icon { width: 28px; height: 28px; }
  .contact-bottom { margin-top: 32px; padding-top: 23px; gap: 16px; }
  .contact-bottom p { font-size: 13px; }
  .contact-bottom .contact-note { font-size: 10px; max-width: 275px; }
  .email-link { font-size: 19px; margin-top: 13px; }
  .social-links { gap: 25px; }
  .site-footer { flex-wrap: wrap; padding-block: 22px; gap: 18px; }
  .site-footer > span { order: 3; width: 100%; text-align: center; font-size: 9px; padding-top: 12px; border-top: 1px solid var(--line); }
  .site-footer > a:last-child { margin-left: auto; }
  .site-footer > .wordmark { font-size: 27px; }
}

@media (max-width: 390px) {
  .page-width { width: calc(100% - 32px); }
  .site-header nav { gap: 14px; }
  .hero-stage { gap: 23px 15px; }
  .portrait-card { height: 300px; }
  .portrait-scene { min-height: 310px; }
  .hero-intro > p:first-of-type { font-size: 21px; }
  .hero-intro > .eyebrow { font-size: 6px; }
  .hero-description { font-size: 14px; }
  .hero-eyebrow { font-size: 7px; }
  .hero h1 { font-size: 16.8vw; }
  .hero-intro .button { padding-inline: 12px; gap: 11px; font-size: 10px; }
  .hero-bottom { font-size: 7px; }
  .project-copy h3 { font-size: 37px; }
  .project-copy { padding: 22px; }
  .bloom-word { left: 20px; font-size: 48px; }
  .about-facts strong { font-size: 24px; }
  .contact-arrow { width: 49px; height: 49px; }
  .contact-heading h2 { font-size: 8vw; }
  .email-link { font-size: 17px; }
  .eyebrow { font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
  .portrait-card { transform: rotate(-3deg) !important; }
  .project-card { transform: none !important; }
}
