@font-face {
    font-family: "Vina Sans";
    src: url("../fonts/vina-sans-latin.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Manrope";
    src: url("../fonts/manrope-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: light;
    --paper: #f2f0e9;
    --ink: #23251f;
    --muted: #62645c;
    --line: #cecec3;
    --soft: #e7e7dd;
    --accent: #d5f478;
    --dark: #252920;
    --gutter: clamp(20px, 4vw, 72px);
    --display: "Vina Sans", Impact, "Arial Narrow", sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
    font-synthesis: none;
}

:root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #191c18;
    --ink: #eeeee5;
    --muted: #a9ad9f;
    --line: #42463b;
    --soft: #252a23;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 100px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Manrope", Arial, sans-serif; font-size: 15px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
::selection { background: var(--accent); color: #23251f; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
button, input { font-size: inherit; }
button { border-radius: 0; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
figure, p, h1, h2, h3, h4 { margin: 0; }
h1, h2, h3, h4 { line-height: 1.1; font-weight: 600; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
main:focus { outline: none; }
.container { width: min(100% - var(--gutter) * 2, 1600px); margin-inline: auto; }
.micro { font-size: 10px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; line-height: 1.5; }
.skip-link { position: fixed; top: 12px; left: 20px; padding: 12px 20px; color: var(--ink); background: var(--paper); z-index: 100; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.section { padding-block: clamp(76px, 9vw, 148px); scroll-margin-top: 30px; }
.section-kicker { display: flex; justify-content: space-between; gap: 24px; padding-top: 18px; border-top: 1px solid var(--line); }
.section-kicker > :last-child { text-align: right; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 36px; margin-block: 52px 48px; }
.section-heading > p { max-width: 290px; padding-bottom: 8px; color: var(--muted); font-size: 14px; }
.display-title { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 8.7vw, 142px); line-height: .95; text-transform: uppercase; letter-spacing: -.015em; }
.title-dot { color: #75834c; }
[data-theme="dark"] .title-dot { color: var(--accent); }
.text-link { display: flex; justify-content: space-between; align-items: center; gap: 22px; padding-block: 11px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 650; }
.text-link span { display: inline-block; transition: transform .25s var(--ease); }
.text-link:hover span { transform: translate(3px, -3px); }
.text-link.secondary { color: var(--muted); }

/* A compact, always available editorial navigation. */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--paper); }
.nav-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.brand { position: relative; font-size: 35px; font-weight: 800; letter-spacing: -.075em; line-height: 1; padding: 8px 20px 10px 0; }
.brand-dot { position: absolute; top: 6px; right: 3px; font-size: 12px; letter-spacing: 0; font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 1.65vw, 30px); margin-left: auto; }
.main-nav > a { position: relative; font-size: 11px; font-weight: 650; padding: 15px 0; white-space: nowrap; }
.main-nav > a::after { content: ""; position: absolute; bottom: 8px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > a:hover::after, .main-nav > a[aria-current]::after { transform: scaleX(1); }
.main-nav sup { font-size: 8px; margin-left: 3px; vertical-align: super; }
.nav-tools { display: flex; align-items: center; gap: 20px; }
.lang-switch { display: flex; gap: 7px; align-items: center; font-size: 10px; font-weight: 650; }
.lang-switch a { padding-block: 16px; color: var(--muted); }
.lang-switch a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.lang-switch > span { color: var(--line); }
.theme-toggle { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: transparent; transition: transform .35s var(--ease); }
.theme-toggle:hover { transform: rotate(35deg); }
.menu-btn { display: none; }
.reading-progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: #889959; transform: scaleX(var(--progress, 0)); transform-origin: left; }

/* Type is the hero. The portrait remains a lightweight, real photograph. */
.hero { padding-top: 28px; }
.hero-topline { display: flex; justify-content: space-between; gap: 24px; }
.hero-topline > span { display: flex; gap: 10px; align-items: center; }
.status-dot { width: 6px; height: 6px; display: inline-block; flex-shrink: 0; border-radius: 50%; background: #6f8742; }
[data-theme="dark"] .status-dot { background: var(--accent); }
.hero-scroll-scene { margin-top: 48px; }
.hero-stage { display: grid; grid-template-columns: 1.55fr 1fr; align-items: start; gap: 4%; }
.hero-title-wrap { position: relative; z-index: 2; min-width: 0; }
.hero-type-space { padding-bottom: clamp(24px, 3.5vw, 50px); }
.hero-title-motion, .portrait-surface { transform: perspective(1200px) translate3d(var(--hero-magnet-x, 0px), var(--hero-magnet-y, 0px), 0) rotateX(var(--hero-tilt-x, 0deg)) rotateY(var(--hero-tilt-y, 0deg)) rotate(var(--hero-turn, 0deg)); }
.hero-title-motion { transform-origin: 45% 50%; }
.portrait-surface { position: relative; transform-origin: 50% 55%; }
@media (prefers-reduced-motion: no-preference) {
    .hero.has-hero-motion .portrait-frame { box-shadow: 0 24px 38px -26px #18221555; }
}
.hero-title { font: 400 clamp(96px, 13.5vw, 224px)/.84 var(--display); letter-spacing: -.018em; text-transform: uppercase; transform: scale(var(--hero-type-scale, 1)); transform-origin: left top; }
.hero-title > span { display: block; }
.hero-title > .hero-opening { font-size: .72em; line-height: 1.06; }
.hero-middle { display: flex !important; align-items: center; justify-content: flex-end; gap: .12em; width: 78%; padding-block: .02em .08em; }
.hero-middle::before { content: ""; height: 1px; background: var(--line); flex: 1; margin-right: .05em; }
.hero-connector { font: italic 400 .36em/1.05 Georgia, "Times New Roman", serif; letter-spacing: -.055em; text-transform: none; color: #657345; white-space: nowrap; }
.hero-simplicity { width: .26em; height: .26em; flex-shrink: 0; color: #657345; }
.hero-ending > span { position: relative; display: inline-block; }
.hero-ending-dot { color: #657345; }
[data-theme="dark"] .hero-ending-dot { color: var(--accent); }
.hero-ending > span::after { content: ""; position: absolute; left: .015em; right: .02em; bottom: -.045em; height: .018em; background: #889959; transform: scaleX(var(--hero-underline, .18)); transform-origin: left; }
[data-theme="dark"] .hero-simplicity, [data-theme="dark"] .hero-connector { color: var(--accent); }
.simplicity-lines { opacity: 0; }
.simplicity-line { transform-box: fill-box; transform-origin: center; }
.simplicity-check { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
    .simplicity-lines { animation: simplicity-organize 4.8s .3s both; }
    .simplicity-line:nth-child(1) { --turn: -42deg; --shift: 9px; animation: simplicity-align 4.8s .3s both; }
    .simplicity-line:nth-child(2) { --turn: 52deg; --shift: -3px; animation: simplicity-align 4.8s .3s both; }
    .simplicity-line:nth-child(3) { --turn: -24deg; --shift: -9px; animation: simplicity-align 4.8s .3s both; }
    .simplicity-check { animation: simplicity-resolved 4.8s .3s both; }
}
@keyframes simplicity-organize { 0%, 48% { opacity: 1; } 62%, 100% { opacity: 0; } }
@keyframes simplicity-align { 0%, 12% { transform: translateY(var(--shift)) rotate(var(--turn)); } 38%, 100% { transform: translateY(0) rotate(0); } }
@keyframes simplicity-resolved { 0%, 58% { stroke-dashoffset: 1; opacity: 0; } 60% { opacity: 1; } 85%, 100% { stroke-dashoffset: 0; opacity: 1; } }
.hero-identity { display: flex; gap: 22px; align-items: flex-start; margin-top: 20px; transform: translateY(var(--hero-identity-y, 0px)); }
@media (min-width: 901px) {
    .hero-identity { padding-top: 2cm; }
}
.tiny-cross { font-size: 27px; line-height: 1; font-weight: 400; }
.hero-name { font-size: 15px; font-weight: 750; }
.hero-role { max-width: 440px; font-size: 12px; margin-top: 4px; color: var(--muted); }
.current-position { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 13px; font-size: 11px; color: var(--muted); }
.current-position strong { color: var(--ink); font-weight: 650; }
.current-position:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.hero-portrait { position: relative; padding-top: 4px; margin-inline: 12% 0; transform: translateY(var(--hero-portrait-y, 0px)) scale(var(--hero-portrait-scale, 1)); transform-origin: right top; }
.portrait-frame { position: relative; overflow: hidden; background: #c8c9bc; aspect-ratio: 4 / 5.5; }
.portrait-frame::after { content: ""; pointer-events: none; position: absolute; inset: 0; background: linear-gradient(transparent 60%, #171c1955); }
.portrait-frame > img { width: 100%; height: 100%; object-fit: cover; object-position: 51% 44%; filter: grayscale(1); transition: filter .8s, transform 1.2s var(--ease); }
.hero-portrait:hover img { filter: grayscale(0); transform: scale(1.025); }
.portrait-index { position: absolute; top: 18px; left: 18px; color: #fff; z-index: 1; }
.portrait-mark { position: absolute; bottom: 10px; right: 24px; z-index: 1; color: var(--accent); font: 400 110px/.9 var(--display); }
.hero-portrait figcaption { display: flex; justify-content: space-between; gap: 12px; margin-top: 15px; color: var(--muted); font-size: 10px; }
.hero-portrait figcaption > span:last-child { display: flex; align-items: center; gap: 8px; }
.portrait-badge { position: absolute; top: 64%; left: -39px; display: grid; place-items: center; width: 78px; height: 78px; background: var(--accent); color: #23251f; border-radius: 50%; font-size: 46px; line-height: 1; transform: rotate(-10deg); transition: transform .4s var(--ease); }
.portrait-badge:hover { transform: rotate(0) scale(1.08); }
@media (min-width: 901px) and (min-height: 780px) and (prefers-reduced-motion: no-preference) {
    .hero.is-scroll-ready .hero-scroll-scene { height: calc(var(--hero-stage-height) + clamp(180px, 28svh, 260px)); }
    .hero.is-scroll-ready .hero-stage { position: sticky; top: calc(var(--hero-header-height, 88px) + 24px); }
}
.hero-bottom { display: grid; grid-template-columns: 1fr 1.25fr .75fr; align-items: center; gap: 6%; padding-block: 45px 38px; }
.scroll-link { display: flex; align-items: center; gap: 15px; max-width: 220px; }
.circle-arrow { width: 44px; height: 44px; flex-shrink: 0; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-size: 24px; transition: background .3s; }
.scroll-link:hover .circle-arrow { background: var(--accent); color: #23251f; }
.hero-bio { max-width: 410px; font-size: 14px; line-height: 1.7; }
.hero-actions { align-self: center; }
.hero-signature { max-width: 650px; font-size: 13px; margin-bottom: 25px; color: var(--muted); }
.specialties { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.specialty { position: relative; flex: 1; }
.specialty + .specialty { border-left: 1px solid var(--line); }
.specialty summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px; cursor: pointer; font-size: 12px; font-weight: 600; }
.specialty summary::-webkit-details-marker { display: none; }
.specialty summary > span { font-size: 18px; font-weight: 400; transition: transform .2s; }
.specialty[open] summary > span { transform: rotate(45deg); }
.specialty[open] summary, .specialty summary:hover { background: var(--soft); }
.specialty-links { position: absolute; left: -1px; right: -1px; top: 100%; z-index: 10; min-width: 210px; border: 1px solid var(--line); background: var(--paper); box-shadow: 0 12px 20px #0000000a; padding: 8px 18px; }
.specialty:last-child .specialty-links { left: auto; right: 0; }
.specialty-links a { display: flex; justify-content: space-between; gap: 18px; padding: 12px 0; font-size: 12px; border-bottom: 1px solid var(--line); }
.specialty-links a:last-child { border-bottom: 0; }
.specialty-links a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Selected work: bespoke, CSS-driven art direction instead of video payloads. */
.projects-section { padding-top: 92px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 60px; }
.project-card:first-child { grid-column: 1 / -1; }
.project-visual { display: flex; align-items: center; justify-content: center; position: relative; aspect-ratio: 1.28; isolation: isolate; overflow: hidden; background: #d8dbcf; color: #23251f; }
.project-card:first-child .project-visual { aspect-ratio: 2.12; }
.project-visual-top { position: absolute; z-index: 2; inset: 22px 24px auto; display: flex; justify-content: space-between; gap: 16px; font-size: 8px; }
.project-screen { position: relative; width: 82%; border-radius: 5px; overflow: hidden; background: #f7f7f5; color: #23251f; box-shadow: 0 25px 40px #00000030; transform: rotate(-4deg) translateY(10px); transition: transform .8s var(--ease); }
.project-screen img { width: 100%; aspect-ratio: 1.4222; object-fit: cover; object-position: top; }
.project-card:first-child .project-screen { width: 66%; transform: perspective(1200px) rotateY(-8deg) rotateX(6deg) rotate(-2deg) translateY(24px); }
.project-card:first-child .project-screen img { aspect-ratio: 2.12; }
.browser-chrome { display: flex; align-items: center; gap: 4px; padding: 9px 12px; background: #eee; border-bottom: 1px solid #ddd; }
.browser-chrome i { width: 4px; height: 4px; background: #b9bbb3; border-radius: 50%; }
.browser-chrome span { margin-inline: auto; padding-right: 20px; font-size: 7px; letter-spacing: .04em; color: #6d6e67; }
.project-visual:hover .project-screen { transform: rotate(0) translateY(0) scale(1.035); }
.project-card:first-child .project-visual:hover .project-screen { transform: perspective(1200px) rotateY(0) rotateX(0) rotate(0) translateY(12px) scale(1.025); }
.project-open { position: absolute; right: 20px; bottom: 20px; display: flex; gap: 22px; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--paper); color: var(--ink); font-size: 23px; transition: background .25s, transform .35s; }
.project-open > span { display: none; }
.project-visual:hover .project-open { background: var(--accent); color: #23251f; transform: rotate(45deg); }
.project-info { padding-top: 22px; }
.project-type { color: var(--muted); font-size: 9px; }
.project-info h3 { margin-top: 10px; font-size: clamp(20px, 2vw, 29px); letter-spacing: -.04em; line-height: 1.2; }
.project-info h3 a { display: flex; justify-content: space-between; gap: 15px; }
.project-info h3 a:hover { text-decoration: underline; text-underline-offset: 6px; }
.project-info h3 span { font-weight: 400; font-size: 24px; }
.project-info > p { margin-top: 14px; max-width: 490px; color: var(--muted); font-size: 12px; }
.project-card:first-child .project-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8%; }
.project-card:first-child .project-info > p { align-self: end; margin-top: 0; }
.project-logistics .project-visual { background: #252f34; color: #c1d7ce; }
.project-logistics .project-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: linear-gradient(#809b92 1px, transparent 1px), linear-gradient(90deg, #809b92 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(135deg, #000, transparent); }
.project-photography .project-visual { background: #c8c0ae; }
.project-commerce .project-visual { background: #dce4cb; }
.project-content .project-visual { background: #393dcd; color: #fff; }
.project-safety .project-visual { background: #dfebd4; color: #244a3a; }
.content-art { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 45px; width: 100%; }
.content-art .micro { font-size: 8px; letter-spacing: .12em; }
.content-art strong { display: block; font-size: clamp(35px, 4.2vw, 72px); letter-spacing: -.065em; line-height: .98; margin-top: 20px; }
.content-art em { font-style: normal; color: #e4f59f; }
.code-bracket { font-size: clamp(120px, 17vw, 260px); font-weight: 400; line-height: 1; opacity: .25; transition: transform .6s var(--ease); }
.project-visual:hover .code-bracket:first-child { transform: translateX(-10px); }
.project-visual:hover .code-bracket:last-child { transform: translateX(10px); }
.ai-cursor { font-size: 30px; color: #e4f59f; line-height: 1; }
.safety-art { position: relative; display: flex; flex-direction: column; align-items: center; width: 100%; padding: 50px; }
.safety-art svg { width: 60px; margin-bottom: 20px; }
.safety-art strong { font: 400 clamp(54px, 6vw, 96px)/.88 var(--display); text-align: center; }
.safety-art > span { font-size: 7px; letter-spacing: .15em; margin-top: 20px; }
.safety-orbit { position: absolute; z-index: -1; width: 80%; max-width: 360px; aspect-ratio: 1; border: 1px solid #244a3a26; border-radius: 50%; }
.safety-orbit::before, .safety-orbit::after { content: ""; position: absolute; inset: 8%; border-radius: 50%; border: 1px solid #244a3a22; }
.safety-orbit::after { inset: -9%; }
.custom-art { font: 400 120px/1 var(--display); }

/* About / numbers / education */
.about-section { background: var(--dark); color: #f0f0e6; --line: #515649; --muted: #b2b8a6; }
.about-intro { display: grid; grid-template-columns: 1fr 3fr; gap: 6%; margin-top: 70px; }
.about-symbol { font-size: clamp(70px, 10vw, 140px); line-height: 1; color: var(--accent); }
.about-intro h2 { max-width: 970px; font-size: clamp(34px, 4.6vw, 74px); letter-spacing: -.055em; line-height: 1.08; }
.about-intro p { max-width: 540px; color: var(--muted); margin-top: 30px; font-size: 15px; }
.highlight-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5%; margin-block: 80px; }
.highlight-card { border-top: 1px solid var(--line); padding-top: 22px; }
.highlight-card strong { display: block; font: 400 clamp(72px, 10vw, 155px)/1 var(--display); color: var(--accent); }
.highlight-card .micro { display: block; margin-top: 15px; color: #d0d4c7; }
.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; }
.about-details > div > h3 { padding-bottom: 25px; color: var(--muted); }
.study-item { border-top: 1px solid var(--line); padding-block: 22px; }
.study-item > span { color: var(--muted); }
.study-item h4 { font-size: 16px; line-height: 1.4; max-width: 360px; margin-top: 12px; }
.study-item p { font-size: 11px; color: var(--muted); margin-top: 8px; }
.skill-cloud { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; border-top: 1px solid var(--line); }
.skill-chip { background: transparent; color: #e1e6d6; border: 1px solid var(--line); padding: 11px 15px; border-radius: 2px; font-size: 11px; transition: color .2s, background .2s, border-color .2s; cursor: default; }
.skill-chip:hover, .skill-chip:focus-visible { background: var(--accent); color: #23251f; border-color: var(--accent); }
.skill-chip[data-admin-entry] { cursor: pointer; }

/* The entire experience remains readable, with native expandable details. */
.timeline-item { display: grid; grid-template-columns: 1fr 3fr; gap: 6%; padding-block: 38px; border-top: 1px solid var(--line); }
.timeline-period { padding-top: 5px; font-size: 11px; font-weight: 650; text-transform: uppercase; }
.timeline-duration { display: block; color: var(--muted); font-size: 10px; margin-top: 8px; font-weight: 400; }
.timeline-content h3 { font-size: clamp(23px, 2.6vw, 38px); letter-spacing: -.045em; }
.timeline-title { margin-block: 12px 18px; font-size: 13px; font-weight: 650; }
.timeline-content > p:not(.timeline-title) { max-width: 740px; color: var(--muted); font-size: 13px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.chip { border: 1px solid var(--line); border-radius: 20px; padding: 5px 11px; font-size: 9px; line-height: 1.3; }
.exp-projects { max-width: 740px; margin-top: 22px; }
.exp-projects summary { display: flex; justify-content: space-between; gap: 15px; list-style: none; cursor: pointer; font-size: 11px; padding-block: 10px; border-bottom: 1px solid var(--line); }
.exp-projects summary::-webkit-details-marker { display: none; }
.exp-toggle { font-size: 10px; color: var(--muted); }
.exp-projects[open] summary { color: var(--ink); }
.exp-projects ul { padding: 15px 0 0 18px; margin: 0; }
.exp-projects li { font-size: 12px; color: var(--muted); margin-block: 12px; }
.exp-projects li a { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }

/* Services are structured as a typographic index. */
.services-section { background: var(--soft); }
.service-row { display: grid; grid-template-columns: .25fr 1.5fr 1fr 44px; align-items: start; gap: 4%; padding-block: 38px; border-top: 1px solid var(--line); }
.service-index { color: var(--muted); padding-top: 7px; }
.service-row h3 { font-size: clamp(23px, 3.1vw, 44px); letter-spacing: -.045em; line-height: 1.15; max-width: 460px; }
.service-row p { font-size: 12px; max-width: 300px; color: var(--muted); padding-top: 5px; }
.service-arrow { font-size: 36px; line-height: 1.2; text-align: right; transition: transform .3s var(--ease); }
.service-arrow:hover { transform: translate(4px, -4px); }

/* An off-screen moment, expressed with one optimized photo. */
.hobby-layout { display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 10%; margin-top: 60px; }
.hobby-media { position: relative; }
.hobby-media img { width: 100%; aspect-ratio: 4 / 4.9; object-fit: cover; filter: saturate(.55); }
.hobby-media figcaption { position: absolute; inset: auto 22px 22px; color: #fff; font-size: 8px; text-shadow: 0 1px 5px #000; }
.hobby-content .display-title { font-size: clamp(48px, 5.7vw, 92px); line-height: .98; }
.hobby-star { display: block; font-size: 70px; line-height: 1; color: #7d8e51; margin-bottom: 38px; }
.hobby-content h3 { font-size: 14px; margin-top: 35px; }
.hobby-content p { max-width: 410px; margin-top: 15px; color: var(--muted); font-size: 13px; }

/* The closing statement doubles as a direct, useful call to action. */
.contact-section { background: var(--accent); color: #23251f; --line: #a8c557; --muted: #505d32; }
.contact-headline { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 70px 60px; }
.contact-headline h2 { font: 400 clamp(85px, 14.5vw, 230px)/.87 var(--display); text-transform: uppercase; }
.contact-headline > span { font-size: clamp(100px, 20vw, 300px); font-weight: 400; line-height: 1; transition: transform .7s var(--ease); }
.contact-headline:hover > span { transform: translate(12px, -12px); }
.contact-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 10%; border-top: 1px solid var(--line); padding-top: 30px; }
.contact-bottom h3 { font-size: 16px; }
.contact-bottom p { color: var(--muted); font-size: 13px; margin-top: 14px; max-width: 370px; }
.contact-links .text-link { font-size: 13px; overflow-wrap: anywhere; }
.contact-links .text-link:first-child { padding-top: 0; }
.site-footer { padding-top: 40px; background: #1c201a; color: #e9ebde; }
.footer-top { display: flex; justify-content: space-between; gap: 24px; font-size: 9px; color: #b8c0ac; }
.footer-top a { color: #e9ebde; }
.footer-wordmark { display: flex; align-items: start; justify-content: space-between; gap: 15px; padding-top: 35px; font: 400 clamp(100px, 23.5vw, 390px)/1 var(--display); letter-spacing: -.03em; }
.footer-wordmark > span { padding-top: 20px; font: 400 clamp(24px, 4vw, 64px)/1 "Manrope", sans-serif; letter-spacing: 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid #414838; padding-block: 24px; font-size: 8px; color: #b8c0ac; }

/* Progressive motion: content is visible when JavaScript is unavailable. */
@media (prefers-reduced-motion: no-preference) {
    [data-reveal].will-reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s var(--ease), transform .85s var(--ease); }
    [data-reveal].will-reveal.is-visible { opacity: 1; transform: none; }
}

@media (min-width: 1800px) {
    .hero-stage { gap: 5%; }
    .hero-portrait { margin-left: 5%; }
}

@media (max-width: 1100px) {
    .nav-wrap { gap: 20px; }
    .main-nav { gap: 15px; }
    .main-nav > a { font-size: 10px; }
    .nav-tools { gap: 12px; }
    .hero-portrait { margin-left: 5%; }
    .hero-title { font-size: 13.5vw; }
    .hero-bottom { gap: 4%; }
    .hero-bio { font-size: 12px; }
    .hero-role { font-size: 11px; }
    .portrait-badge { width: 65px; height: 65px; left: -32px; }
    .project-grid { gap: 40px 24px; }
    .specialty summary { padding: 17px 14px; font-size: 11px; }
}

@media (max-width: 900px) {
    .nav-wrap { min-height: 76px; }
    .brand { font-size: 31px; }
    .main-nav { position: fixed; top: 76px; left: 0; right: 0; height: calc(100dvh - 76px); padding: 28px var(--gutter) 50px; margin: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; overflow-y: auto; background: var(--paper); visibility: hidden; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s; }
    .main-nav.is-open { visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
    .main-nav > a { font-family: var(--display); font-size: clamp(38px, 7vh, 66px); font-weight: 400; text-transform: uppercase; padding-block: 10px; border-bottom: 1px solid var(--line); line-height: 1.15; }
    .main-nav > a::after { display: none; }
    .main-nav sup { font: 500 13px "Manrope", sans-serif; margin-left: 9px; }
    .nav-tools { margin-left: auto; gap: 22px; }
    .menu-btn { display: flex; align-items: center; gap: 10px; height: 44px; border: 0; background: transparent; font-size: 11px; padding: 0; }
    .menu-btn i { width: 19px; height: 10px; border-top: 1px solid currentColor; border-bottom: 1px solid currentColor; transition: transform .2s; }
    .menu-btn[aria-expanded="true"] i { height: 0; transform: rotate(-45deg); }
    .menu-btn[aria-expanded="true"] i::after { content: ""; display: block; border-top: 1px solid; transform: rotate(90deg); }
    .hero-scroll-scene { margin-top: 40px; }
    .hero-stage { gap: 4%; }
    .hero-portrait { margin-left: 0; }
    .hero-title { font-size: 13.1vw; }
    .hero-identity { gap: 12px; margin-top: 24px; }
    .hero-name { font-size: 13px; }
    .portrait-frame { aspect-ratio: 4/5.8; }
    .hero-portrait figcaption { font-size: 8px; gap: 4px; }
    .hero-bottom { grid-template-columns: 1fr 1fr; padding-block: 30px; }
    .hero-bottom .scroll-link { display: none; }
    .hero-bio { font-size: 13px; }
    .hero-actions { max-width: 250px; width: 100%; justify-self: end; }
    .specialty summary { font-size: 10px; padding: 15px 10px; }
    .section-heading { margin-top: 40px; }
    .section-heading > p { max-width: 240px; font-size: 12px; }
    .project-visual-top { inset: 16px 16px auto; font-size: 7px; }
    .project-info > p { font-size: 11px; }
    .content-art { gap: 10px; padding: 28px; }
    .content-art strong { font-size: 5vw; }
    .code-bracket { font-size: 15vw; }
    .safety-art { padding: 45px 20px 28px; }
    .safety-art svg { width: 43px; margin-bottom: 12px; }
    .safety-art > span { font-size: 5px; margin-top: 14px; }
    .about-intro { grid-template-columns: .5fr 3fr; }
    .about-details { gap: 7%; }
    .timeline-item { grid-template-columns: 1fr 2.8fr; gap: 5%; }
    .service-row { grid-template-columns: 25px 1.2fr 1fr 28px; gap: 4%; }
    .hobby-layout { gap: 7%; }
    .hobby-star { font-size: 50px; margin-bottom: 25px; }
    .contact-links .text-link { font-size: 11px; }
}

@media (max-width: 600px) {
    :root { --gutter: 20px; }
    body { font-size: 14px; }
    html { scroll-padding-top: 86px; }
    .nav-wrap { min-height: 70px; }
    .brand { font-size: 30px; }
    .nav-tools { gap: 16px; }
    .theme-toggle { width: 32px; height: 32px; }
    .lang-switch { font-size: 9px; gap: 5px; }
    .main-nav { top: 70px; height: calc(100dvh - 70px); }
    .menu-btn { font-size: 10px; gap: 8px; }
    .micro { font-size: 8px; letter-spacing: .07em; }
    .hero { padding-top: 22px; }
    .hero-topline { gap: 14px; font-size: 7px; }
    .hero-topline > span { gap: 6px; }
    .status-dot { width: 5px; height: 5px; }
    .hero-scroll-scene { margin-top: 36px; }
    .hero-stage { grid-template-columns: 1fr; gap: 0; }
    .hero-title { font-size: clamp(68px, 22.4vw, 134px); line-height: .85; }
    .hero-middle { gap: .12em; width: 78%; }
    .hero-simplicity { width: .3em; height: .3em; }
    .hero-identity { margin-top: 25px; gap: 13px; }
    .hero-name { font-size: 14px; }
    .hero-role { font-size: 10px; max-width: 270px; margin-top: 6px; }
    .hero-portrait { margin: 32px 0 0 20%; padding-top: 0; }
    .portrait-frame { aspect-ratio: 4 / 4.5; }
    .portrait-frame > img { object-position: 50% 38%; }
    .portrait-index { font-size: 8px; }
    .portrait-mark { font-size: 100px; }
    .portrait-badge { width: 66px; height: 66px; left: -33px; top: 60%; }
    .hero-portrait figcaption { font-size: 9px; margin-top: 12px; }
    .hero-bottom { display: block; padding-block: 30px 28px; }
    .hero-bio { max-width: 100%; font-size: 14px; }
    .hero-actions { display: flex; gap: 25px; margin-top: 22px; max-width: none; }
    .hero-actions .text-link { font-size: 10px; gap: 15px; flex: 1; }
    .specialties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .specialty { border: 0 !important; }
    .specialty:nth-child(even) { border-left: 1px solid var(--line) !important; }
    .specialty:nth-child(n+3) { border-top: 1px solid var(--line) !important; }
    .specialty:last-child:nth-child(odd) { grid-column: 1/-1; }
    .specialty summary { font-size: 11px; padding: 13px 12px; }
    .specialty-links { min-width: 0; position: static; padding-inline: 12px; border-inline: 0; box-shadow: none; }
    .specialty-links a { font-size: 10px; gap: 8px; }
    .section { padding-block: 70px; }
    .section-kicker { font-size: 7px; gap: 18px; padding-top: 14px; }
    .section-kicker > :last-child { max-width: 48%; }
    .section-heading { display: block; margin-block: 35px 30px; }
    .display-title { font-size: clamp(60px, 15vw, 88px); }
    .section-heading > p { margin-top: 20px; max-width: 270px; padding: 0; font-size: 12px; }
    .project-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
    .project-card:first-child { grid-column: auto; }
    .project-card:first-child .project-visual, .project-visual { aspect-ratio: 1.15; }
    .project-card:first-child .project-screen { width: 87%; transform: rotate(-5deg) translateY(7px); }
    .project-card:first-child .project-screen img { aspect-ratio: 1.42; object-fit: cover; object-position: left; }
    .project-screen { width: 85%; }
    .project-visual-top { font-size: 6px; }
    .project-open { width: 36px; height: 36px; right: 15px; bottom: 15px; font-size: 22px; }
    .project-info { padding-top: 18px; }
    .project-card:first-child .project-info { display: block; }
    .project-card:first-child .project-info > p { margin-top: 12px; }
    .project-info h3 { font-size: 24px; margin-top: 9px; }
    .project-info > p { font-size: 12px; }
    .content-art { gap: 14px; padding: 30px; }
    .content-art strong { font-size: 12vw; }
    .code-bracket { font-size: 37vw; }
    .safety-art strong { font-size: 19vw; }
    .safety-art svg { width: 50px; }
    .safety-art > span { font-size: 6px; }
    .about-intro { grid-template-columns: 1fr; margin-top: 35px; gap: 26px; }
    .about-symbol { font-size: 60px; }
    .about-intro h2 { font-size: clamp(31px, 8.1vw, 46px); }
    .about-intro p { font-size: 13px; margin-top: 22px; }
    .highlight-grid { gap: 18px; margin-block: 45px; }
    .highlight-card { padding-top: 18px; }
    .highlight-card strong { font-size: 18vw; }
    .highlight-card .micro { font-size: 7px; margin-top: 10px; }
    .about-details { grid-template-columns: 1fr; gap: 35px; }
    .about-details > div > h3 { padding-bottom: 20px; font-size: 9px; }
    .study-item h4 { font-size: 16px; }
    .skill-chip { font-size: 11px; padding: 11px 14px; }
    .timeline-item { grid-template-columns: 1fr; gap: 18px; padding-block: 28px; }
    .timeline-period { font-size: 9px; }
    .timeline-duration { display: inline; margin-left: 5px; font-size: 8px; }
    .timeline-content h3 { font-size: 25px; }
    .timeline-title { font-size: 12px; margin-block: 12px 16px; }
    .timeline-content > p:not(.timeline-title) { font-size: 12px; }
    .exp-projects summary { font-size: 10px; }
    .exp-projects li { font-size: 11px; }
    .service-row { grid-template-columns: 25px 1fr 24px; gap: 15px; padding-block: 27px; }
    .service-row h3 { font-size: 26px; }
    .service-row p { grid-column: 2; font-size: 12px; padding: 0; }
    .service-arrow { grid-column: 3; grid-row: 1; font-size: 27px; }
    .hobby-layout { grid-template-columns: 1fr; gap: 32px; margin-top: 35px; }
    .hobby-media { margin-right: 15%; }
    .hobby-media img { aspect-ratio: 4/4.9; }
    .hobby-content { position: relative; }
    .hobby-content .display-title { font-size: 14vw; }
    .hobby-star { position: absolute; right: 0; top: -105px; font-size: 74px; }
    .hobby-content h3 { margin-top: 25px; }
    .hobby-content p { font-size: 12px; }
    .contact-headline { padding-block: 45px 35px; gap: 12px; align-items: flex-end; }
    .contact-headline h2 { font-size: 16.5vw; }
    .contact-headline > span { font-size: 19vw; }
    .contact-bottom { grid-template-columns: 1fr; gap: 30px; }
    .contact-bottom h3 { font-size: 15px; }
    .contact-bottom p { font-size: 12px; max-width: 290px; }
    .contact-links .text-link { font-size: 11px; }
    .site-footer { padding-top: 28px; }
    .footer-top { display: grid; grid-template-columns: 1fr auto; font-size: 7px; gap: 17px; }
    .footer-top > span:nth-child(2) { grid-column: 1/-1; grid-row: 2; }
    .footer-top > a { text-align: right; }
    .footer-wordmark { font-size: 22vw; padding-top: 30px; gap: 5px; }
    .footer-wordmark > span { font-size: 22px; padding-top: 9px; }
    .footer-bottom { flex-wrap: wrap; gap: 12px; font-size: 6px; padding-block: 18px; }
    .footer-bottom > :last-child { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-title-motion, .portrait-surface { transform: none; translate: none; }
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
