:root {
  color-scheme: light;
  --bg: #f3f5f4;
  --surface: #ffffff;
  --text: #20272b;
  --muted: #56636a;
  --subtle: #5d6a70;
  --accent: #00685f;
  --accent-strong: #00685f;
  --line: #d7ddda;
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
::selection { background: #b7d8d2; color: #15201f; }
.page-width { width: min(960px, calc(100% - 48px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: rgba(243,245,244,.97); }
.nav-shell { width: min(1120px, calc(100% - 48px)); height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; letter-spacing: -.03em; }
.brand-mark { display: grid; width: 31px; height: 31px; place-items: center; border: 1px solid #9aada8; border-radius: 5px; color: var(--accent); font-size: 14px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--muted); font-size: 12px; transition: color .18s ease; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]:not(.nav-contact) { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 7px; }
.nav-links .nav-contact { padding: 9px 14px; border: 1px solid #aab8b4; border-radius: 4px; color: var(--text); }
.nav-links .nav-contact:hover, .nav-links .nav-contact[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
.menu-toggle { display: none; }

.hero-section { display: grid; min-height: 550px; grid-template-columns: 1fr 270px; align-items: center; gap: 60px; padding-block: 68px 74px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0; color: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .15em; }
.hero-copy > .eyebrow span { padding-inline: 4px; color: var(--accent); }
.hero-copy h1 { margin: 24px 0 13px; font-size: clamp(42px, 5.8vw, 66px); font-weight: 650; letter-spacing: -.065em; line-height: 1.08; }
.hero-name-accent { color: var(--accent); }
.hero-role { margin: 0; color: #424b50; font-size: 13px; font-weight: 600; }
.hero-role span { color: var(--subtle); }
.hero-tagline { max-width: 430px; margin: 18px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 27px; }
.button { display: inline-flex; min-height: 43px; align-items: center; justify-content: center; gap: 15px; padding: 0 16px; border: 1px solid transparent; border-radius: 4px; font-size: 11px; font-weight: 700; transition: background .18s ease, border-color .18s ease, color .18s ease; }
.button span { font-size: 14px; }
.button-primary { background: var(--accent-strong); color: #ffffff; }
.button-primary:hover { background: #00574f; }
.button-secondary { border-color: #b9c1be; color: var(--text); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.portrait-frame { margin: 0; }
.portrait-frame img { display: block; width: 100%; aspect-ratio: 4 / 5; border: 1px solid #ccd4d1; border-radius: 4px; background: #e3e7e5; object-fit: cover; object-position: center 24%; }
.portrait-frame figcaption { padding-top: 10px; color: var(--muted); font-size: 10px; }
.portrait-frame figcaption span { padding-inline: 4px; color: var(--accent); }

.home-intro { padding-block: 30px 34px; border-top: 1px solid var(--line); }
.home-intro-content { display: grid; grid-template-columns: 1fr .9fr; gap: 48px; align-items: start; margin: 22px 0 0 38px; }
.home-intro-content h2 { max-width: 390px; margin: 0; font-size: clamp(26px, 3.5vw, 36px); font-weight: 600; letter-spacing: -.05em; line-height: 1.2; }
.home-intro-content h2 span { color: var(--accent); }
.home-intro-content > p { margin: 1px 0 13px; color: var(--muted); font-size: 12px; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); font-size: 11px; font-weight: 650; }
.text-link:hover { color: var(--text); }
.home-links { display: flex; flex-direction: column; margin-bottom: 64px; border-top: 1px solid var(--line); }
.home-link-card { position: relative; display: grid; grid-template-columns: 45px 150px 1fr 20px; align-items: center; gap: 14px; padding: 19px 10px; border-bottom: 1px solid var(--line); transition: background .18s ease; }
.home-link-card:hover { background: var(--surface); }
.home-link-card > span:first-child { color: var(--accent); font-size: 10px; }
.home-link-card h2 { margin: 0; font-size: 14px; font-weight: 650; }
.home-link-card p { margin: 0; color: var(--muted); font-size: 11px; }
.home-link-arrow { color: var(--accent); }

.inner-page { min-height: calc(100vh - 160px); padding-top: 68px; padding-bottom: 72px; }
.page-heading { max-width: 720px; padding-bottom: 42px; }
.page-heading h1 { margin: 20px 0 14px; font-size: clamp(42px, 6vw, 61px); font-weight: 650; letter-spacing: -.065em; line-height: 1.1; }
.page-lead { max-width: 590px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }
.detail-section { display: grid; grid-template-columns: 150px 1fr; gap: 35px; padding-top: 29px; border-top: 1px solid var(--line); }
.detail-copy { max-width: 650px; }
.detail-copy h2, .contact-details h2 { margin: 0 0 16px; font-size: clamp(27px, 4vw, 37px); font-weight: 600; letter-spacing: -.05em; line-height: 1.2; }
.detail-copy h2 span, .contact-details h2 span { color: var(--accent); }
.detail-copy p, .contact-details > p { margin: 0 0 13px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.values-list { margin: 38px 0 0 185px; border-top: 1px solid var(--line); }
.values-list article { display: grid; grid-template-columns: 35px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.values-list article > span { padding-top: 3px; color: var(--accent); font-size: 10px; }
.values-list h2 { margin: 0 0 5px; font-size: 13px; }
.values-list p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.page-cta { margin: 30px 0 0 185px; }

.skills-list, .project-list { border-top: 1px solid var(--line); }
.skill-row, .project-row { display: grid; grid-template-columns: 42px 1fr; gap: 13px; padding: 20px 12px 20px 5px; border-bottom: 1px solid var(--line); }
.skill-row > span, .project-number { padding-top: 3px; color: var(--accent); font-size: 10px; }
.skill-row h2, .project-row h2 { margin: 0 0 6px; font-size: 15px; font-weight: 650; }
.skill-row p, .project-row > div > p:not(.project-category) { max-width: 640px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.skill-subtitle { color: var(--muted); font-size: 11px; font-weight: 400; }
.page-cta-wrap { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 27px; padding: 19px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.page-cta-wrap p { margin: 0; color: var(--muted); font-size: 11px; }
.project-row { grid-template-columns: 42px 1fr; padding-block: 23px; }
.project-category { margin: 0 0 8px; color: var(--accent); font-size: 9px; font-weight: 650; letter-spacing: .12em; }
.project-row h2 { font-size: 17px; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.project-tags span { padding: 5px 8px; border: 1px solid #c5ceca; border-radius: 3px; color: var(--muted); font-size: 9px; }
.projects-note { margin: 14px 0 0 55px; color: var(--subtle); font-size: 10px; font-style: italic; }
.project-list + .page-cta { margin-left: 55px; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: 50px; padding-top: 29px; border-top: 1px solid var(--line); }
.contact-details h2 { margin-top: 19px; margin-bottom: 12px; }
.contact-details > p { margin-bottom: 24px; }
.contact-method { display: flex; align-items: center; gap: 11px; padding: 13px 0; border-top: 1px solid var(--line); color: #353f44; font-size: 10px; }
.contact-method:last-of-type { border-bottom: 1px solid var(--line); }
.contact-method:hover { color: var(--accent); }
.contact-label { min-width: 59px; color: var(--subtle); font-size: 9px; font-weight: 650; letter-spacing: .1em; }
.contact-method > span:last-child { margin-left: auto; color: var(--accent); }
.contact-form { padding: 21px; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); }
.contact-form label { display: block; margin: 14px 0 7px; color: #323b40; font-size: 10px; font-weight: 600; }
.contact-form label:first-child { margin-top: 0; }
.contact-form input, .contact-form textarea { display: block; width: 100%; padding: 11px 12px; border: 1px solid #b8c2be; border-radius: 3px; outline: none; background: #ffffff; color: var(--text); font-size: 11px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #5d6a70; }
.contact-form textarea { min-height: 110px; resize: vertical; line-height: 1.6; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--accent); }
.contact-form input[aria-invalid="true"], .contact-form textarea[aria-invalid="true"] { border-color: #a54c42; }
.form-hint { margin: 10px 0; color: var(--subtle); font-size: 9px; line-height: 1.6; }
.form-submit { width: 100%; cursor: pointer; }
.form-status { min-height: 16px; margin: 10px 0 0; color: #8b3029; font-size: 10px; line-height: 1.6; }

.site-footer { border-top: 1px solid var(--line); background: #e9edeb; }
.footer-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding-block: 21px 16px; }
.footer-brand { justify-self: start; }
.footer-inner > p { justify-self: end; margin: 0; color: var(--muted); font-size: 10px; }
.footer-bottom { display: flex; grid-column: 1 / -1; justify-content: space-between; margin-top: 17px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--subtle); font-size: 9px; }
.footer-bottom a { color: var(--muted); }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 720px) {
  .page-width { width: min(100% - 38px, 600px); }
  .nav-shell { width: calc(100% - 38px); height: 62px; }
  .menu-toggle { display: flex; width: 36px; height: 36px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 4px; background: transparent; cursor: pointer; }
  .menu-toggle span { width: 15px; height: 1px; background: var(--text); }
  .nav-links { position: absolute; top: 61px; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 19px 15px; border-bottom: 1px solid var(--line); background: #f3f5f4; }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 4px; }
  .nav-links a[aria-current="page"]:not(.nav-contact) { text-decoration: none; color: var(--accent); }
  .nav-links .nav-contact { margin-top: 6px; text-align: center; }
  .hero-section { min-height: auto; grid-template-columns: 1fr; gap: 27px; padding-block: 49px 39px; }
  .hero-copy h1 { font-size: clamp(40px, 10vw, 57px); }
  .hero-tagline { font-size: 13px; }
  .portrait-frame { width: min(100%, 330px); }
  .portrait-frame img { aspect-ratio: 4 / 4.2; }
  .home-intro-content { grid-template-columns: 1fr; gap: 13px; margin-left: 0; }
  .home-intro-content h2 { font-size: 30px; }
  .home-link-card { grid-template-columns: 32px 1fr 20px; gap: 10px; }
  .home-link-card h2 { grid-column: 2; }
  .home-link-card p { grid-column: 2; grid-row: 2; }
  .home-link-arrow { grid-column: 3; grid-row: 1 / span 2; }
  .inner-page { padding-top: 48px; }
  .page-heading h1 { font-size: clamp(39px, 10vw, 54px); }
  .detail-section { grid-template-columns: 1fr; gap: 18px; }
  .values-list, .page-cta { margin-left: 0; }
  .contact-layout { grid-template-columns: 1fr; gap: 28px; }
  .contact-form { padding: 18px; }
  .page-cta-wrap { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

:root {
  color-scheme: light;
  --bg: #f7f6f2;
  --surface: #fffefa;
  --surface-soft: #eeede7;
  --text: #20211f;
  --muted: #555650;
  --subtle: #5b5c55;
  --accent: #9c482f;
  --accent-strong: #893d28;
  --line: #d7d6ce;
  --sans: "Segoe UI", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --page-max: 1120px;
  --ease-out: cubic-bezier(.2, .75, .2, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #171917;
  --surface: #222521;
  --surface-soft: #252925;
  --text: #f4f2ea;
  --muted: #c2c3bb;
  --subtle: #b2b4ac;
  --accent: #e69b7a;
  --accent-strong: #e69b7a;
  --line: #3e423d;
}

html { scroll-padding-top: 85px; }
body { background: var(--bg); color: var(--text); font-family: var(--sans); transition: background-color .25s ease, color .25s ease; }
.page-width { width: min(var(--page-max), calc(100% - 80px)); }
.site-header { border-color: var(--line); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px); }
.nav-shell { width: min(1280px, calc(100% - 80px)); height: 76px; gap: 20px; }
.brand { flex: 0 0 auto; gap: 12px; font-size: 15px; letter-spacing: -.04em; }
.brand-mark { width: 36px; height: 36px; border-color: var(--line); border-radius: 50%; color: var(--accent-strong); }
.nav-links { flex: 1; justify-content: center; gap: clamp(14px, 2.4vw, 32px); }
.nav-links a { color: var(--muted); font-size: 12px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]:not(.nav-contact) { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 7px; }
.nav-links .nav-contact { padding: 10px 15px; border-color: var(--line); border-radius: 999px; color: var(--text); }
.nav-links .nav-contact:hover, .nav-links .nav-contact[aria-current="page"] { border-color: var(--accent); color: var(--accent); }
.theme-toggle { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; gap: 7px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--text); cursor: pointer; }
.theme-toggle > span:first-child { font-size: 17px; line-height: 1; }
.theme-toggle-label { color: var(--muted); font-size: 10px; }
.menu-toggle { color: var(--text); }

.hero-section { position: relative; width: min(1280px, calc(100% - 80px)); min-height: min(760px, calc(100svh - 76px)); grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr); gap: clamp(30px, 7vw, 100px); padding-block: 74px 96px; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { color: var(--muted); font-size: 10px; letter-spacing: .17em; line-height: 1.6; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 10px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #527d5c; box-shadow: 0 0 0 4px color-mix(in srgb, #527d5c 15%, transparent); }
.hero-copy h1 { margin: 28px 0 20px; font-size: clamp(60px, 8.2vw, 112px); font-weight: 580; letter-spacing: -.085em; line-height: .91; }
.hero-name-accent { color: var(--accent-strong); }
.hero-copy h1 .hero-name-accent, .page-heading h1 em, .closing-section h2 em { font-family: var(--serif); font-weight: 400; letter-spacing: -.085em; }
.hero-role { color: var(--text); font-size: 13px; font-weight: 650; letter-spacing: -.01em; }
.hero-role span { padding-inline: 5px; color: var(--accent); }
.hero-tagline { max-width: 430px; margin-top: 17px; color: var(--muted); font-size: 15px; line-height: 1.75; }
.hero-actions { gap: 12px; margin-top: 26px; }
.button { min-height: 48px; padding-inline: 20px; border-radius: 999px; font-size: 12px; }
.button-primary { background: var(--accent-strong); color: #fffefa; }
.button-primary:hover { background: var(--text); color: var(--bg); }
.button-secondary { border-color: var(--line); color: var(--text); }
.button-secondary:hover { border-color: var(--accent); color: var(--accent); }
.scroll-cue { display: inline-flex; align-items: center; gap: 11px; margin-top: 55px; color: var(--muted); font-size: 9px; font-weight: 650; letter-spacing: .16em; }
.scroll-cue span { display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 14px; }
.hero-visual { position: relative; align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-height: 450px; padding: 20px 10px; }
.hero-index { position: absolute; top: 8%; right: 2%; color: var(--subtle); font-size: 9px; letter-spacing: .14em; }
.portrait-frame { position: relative; z-index: 1; width: min(100%, 430px); margin-inline: auto; perspective: 900px; }
.portrait-frame img { aspect-ratio: 4 / 4.65; border: 0; border-radius: 46% 46% 6px 6px; background: var(--surface-soft); object-position: center 24%; box-shadow: 0 24px 70px color-mix(in srgb, var(--text) 12%, transparent); transform: rotateX(var(--avatar-rotate-x, 0deg)) rotateY(var(--avatar-rotate-y, 0deg)); transition: transform .35s var(--ease-out), box-shadow .25s ease; }
.portrait-frame figcaption { display: flex; justify-content: space-between; gap: 15px; padding: 13px 0 0; color: var(--muted); font-size: 9px; }
.portrait-frame figcaption span { color: var(--subtle); font-size: 8px; letter-spacing: .13em; }
.portrait-frame figcaption strong { color: var(--text); font-size: 9px; font-weight: 550; }
.hero-orbit { position: absolute; z-index: 0; display: block; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; }
.hero-orbit::after { position: absolute; top: 8px; left: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); content: ""; }
.hero-orbit-one { top: 20%; left: 0; }
.hero-orbit-two { right: 1%; bottom: 21%; width: 18px; height: 18px; }
.hero-orbit-two::after { top: 4px; left: 4px; width: 4px; height: 4px; }
.motion-toggle { align-self: center; margin-top: 20px; padding: 8px 0; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 10px; }
.motion-toggle span { padding-left: 5px; color: var(--accent); }
.motion-toggle[aria-pressed="true"] { color: var(--accent); }
.motion-status { min-height: 15px; margin: 0; color: var(--muted); text-align: center; font-size: 9px; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.section-heading .eyebrow { align-self: flex-start; }
.section-heading h2 { flex: 1; margin: 0; font-size: clamp(34px, 5vw, 58px); font-weight: 550; letter-spacing: -.07em; line-height: 1; }
.section-heading h2 span { color: var(--accent); font-family: var(--serif); font-weight: 400; font-style: italic; }
.text-link { color: var(--accent-strong); font-size: 11px; }
.text-link:hover { color: var(--text); }
.work-section { padding-block: 32px 105px; border-top: 1px solid var(--line); }
.featured-projects { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; }
.featured-project { display: flex; min-width: 0; flex-direction: column; padding: 0 0 20px; }
.project-art { position: relative; display: flex; min-height: 230px; overflow: hidden; align-items: center; justify-content: center; margin-bottom: 19px; background: var(--surface-soft); color: var(--text); }
.featured-project-large .project-art { min-height: 310px; }
.project-art span { position: relative; z-index: 1; color: var(--text); font-family: var(--serif); font-size: clamp(64px, 10vw, 140px); font-style: italic; letter-spacing: -.08em; }
.project-art i, .project-art b { position: absolute; display: block; border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 50%; }
.project-art-northstar i { width: 65%; aspect-ratio: 1; transform: rotate(-24deg) scaleY(.5); }
.project-art-northstar b { width: 38%; aspect-ratio: 1; transform: rotate(28deg) scaleY(.5); }
.project-art-flowline { background: linear-gradient(140deg, var(--surface-soft), color-mix(in srgb, var(--accent) 11%, var(--surface))); }
.project-art-flowline span { position: absolute; top: 15%; left: 12%; font-family: var(--sans); font-size: 13px; font-style: normal; letter-spacing: .1em; }
.project-art-flowline i { width: 58%; height: 62%; border-radius: 8px; box-shadow: 14px 14px 0 color-mix(in srgb, var(--accent) 12%, transparent); }
.project-art-flowline b { width: 23%; height: 38%; border-radius: 5px; background: color-mix(in srgb, var(--accent) 15%, var(--surface)); }
.project-art-insight { background: linear-gradient(145deg, var(--surface), var(--surface-soft)); }
.project-art-insight span { position: absolute; top: 15%; left: 10%; font-family: var(--sans); font-size: 10px; font-style: normal; letter-spacing: .14em; }
.project-art-insight i { bottom: 18%; left: 16%; width: 68%; height: 42%; border-radius: 2px; background: repeating-linear-gradient(to top, color-mix(in srgb, var(--accent) 75%, transparent) 0 10%, transparent 10% 18%); clip-path: polygon(0 60%, 14% 55%, 14% 38%, 28% 38%, 28% 70%, 42% 70%, 42% 20%, 56% 20%, 56% 47%, 70% 47%, 70% 0, 84% 0, 84% 60%, 100% 60%, 100% 100%, 0 100%); }
.project-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--subtle); font-size: 8px; font-weight: 650; letter-spacing: .14em; }
.project-title { display: flex; justify-content: space-between; gap: 16px; margin-top: 10px; font-size: 22px; font-weight: 550; letter-spacing: -.05em; }
.project-title > span { color: var(--accent); font-size: 16px; transition: transform .2s ease; }
.featured-project:hover .project-title > span { transform: translate(3px, -3px); }
.project-summary { max-width: 470px; margin-top: 7px; color: var(--muted); font-size: 12px; line-height: 1.7; }

.intro-section { padding-block: 39px 105px; border-top: 1px solid var(--line); }
.intro-copy { display: grid; grid-template-columns: 1.1fr .9fr; gap: 8vw; margin: 31px 0 0 15%; }
.intro-copy h2 { max-width: 620px; margin: 0; font-size: clamp(37px, 6vw, 70px); font-weight: 530; letter-spacing: -.075em; line-height: .99; }
.intro-copy h2 em { color: var(--accent); font-family: var(--serif); font-weight: 400; }
.intro-copy > div { align-self: end; padding-bottom: 5px; }
.intro-copy p { margin: 0 0 20px; color: var(--muted); font-size: 13px; line-height: 1.85; }
.skills-preview { padding-block: 40px 90px; border-top: 1px solid var(--line); }
.skill-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 35px; }
.skill-chips span, .project-tags span { display: inline-flex; align-items: center; padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; }
.closing-section { position: relative; margin-bottom: 90px; padding: clamp(30px, 6vw, 76px); overflow: hidden; background: var(--surface-soft); }
.closing-section::after { position: absolute; top: -40%; right: -5%; width: min(45vw, 440px); aspect-ratio: 1; border: 1px solid var(--line); border-radius: 50%; content: ""; }
.closing-section h2 { position: relative; z-index: 1; margin: 28px 0; font-size: clamp(45px, 7vw, 88px); font-weight: 540; letter-spacing: -.08em; line-height: .95; }
.closing-section h2 em { color: var(--accent); }
.closing-section .button { position: relative; z-index: 1; }

.inner-page { min-height: calc(100vh - 180px); padding-top: clamp(60px, 9vw, 120px); padding-bottom: 90px; }
.page-heading { max-width: 890px; padding-bottom: 60px; }
.page-heading h1 { margin: 25px 0 22px; font-size: clamp(50px, 8vw, 96px); font-weight: 550; letter-spacing: -.085em; line-height: .97; }
.page-heading h1 em { color: var(--accent); font-style: italic; }
.page-lead { max-width: 640px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.about-story { display: grid; grid-template-columns: minmax(230px, .72fr) 1.28fr; align-items: center; gap: clamp(40px, 8vw, 110px); padding-top: 35px; border-top: 1px solid var(--line); }
.about-portrait { margin: 0; }
.about-portrait img { display: block; width: 100%; max-height: 470px; aspect-ratio: 4 / 5; border-radius: 45% 45% 4px 4px; object-fit: cover; object-position: center 24%; background: var(--surface-soft); }
.about-portrait figcaption { margin-top: 12px; color: var(--subtle); font-size: 8px; letter-spacing: .15em; }
.detail-copy h2, .contact-details h2 { font-size: clamp(32px, 4vw, 47px); font-weight: 540; letter-spacing: -.07em; }
.detail-copy h2 em, .contact-details h2 em { color: var(--accent); font-family: var(--serif); font-weight: 400; }
.detail-copy p, .contact-details > p { color: var(--muted); font-size: 13px; line-height: 1.9; }
.detail-copy .eyebrow { margin-bottom: 21px; font-size: 9px; line-height: 1.6; }
.detail-copy .text-link { display: inline-flex; margin-top: 10px; }
.values-list { margin: 85px 0 0 35%; border-top-color: var(--line); }
.values-list article { grid-template-columns: 48px 1fr; gap: 20px; padding-block: 23px; border-bottom-color: var(--line); }
.values-list article > span, .skill-row > span, .project-number { color: var(--accent); font-size: 10px; }
.values-list h2 { margin-bottom: 8px; font-size: 18px; font-weight: 550; }
.values-list p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.page-cta { margin: 34px 0 0 35%; }

.project-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.filter-button { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; padding: 0 14px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; font-size: 10px; }
.filter-button:hover, .filter-button.is-active { border-color: var(--text); background: var(--text); color: var(--bg); }
.filter-button span { font-size: 8px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.project-card { min-width: 0; }
.project-card[hidden] { display: none; }
.project-card .project-art { min-height: 275px; margin-bottom: 20px; }
.project-card-copy { padding: 0 3px; }
.project-card h2 { margin: 12px 0 9px; font-size: 30px; font-weight: 540; letter-spacing: -.065em; }
.project-card-copy > p:not(.project-disclaimer) { max-width: 540px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; }
.project-tags span { padding: 6px 10px; font-size: 9px; }
.project-disclaimer { margin: 13px 0 0; color: var(--subtle); font-size: 9px; font-style: italic; }
.filter-status { min-height: 16px; margin: 22px 0; color: var(--muted); font-size: 10px; }
.page-cta-wrap { margin-top: 45px; padding: 25px; border-color: var(--line); border-radius: 2px; background: var(--surface-soft); }
.page-cta-wrap p { color: var(--text); font-size: 12px; }

.capability-groups { border-top: 1px solid var(--line); }
.capability-group { display: grid; grid-template-columns: .75fr 1.25fr; gap: 50px; padding-block: 36px; border-bottom: 1px solid var(--line); }
.capability-group h2 { margin: 13px 0 0; font-size: clamp(23px, 3vw, 34px); font-weight: 540; letter-spacing: -.06em; }
.capability-items > article { display: grid; grid-template-columns: 55px 1fr; gap: 18px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.capability-items > article:first-child { padding-top: 0; }
.capability-items > article:last-child { padding-bottom: 0; border-bottom: 0; }
.capability-mark { display: grid; width: 46px; height: 46px; place-items: center; border: 1px solid var(--line); border-radius: 50%; color: var(--accent); font-size: 9px; font-weight: 650; letter-spacing: .04em; }
.capability-items h3 { margin: 0 0 5px; font-size: 16px; font-weight: 570; }
.capability-items p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.capability-status { display: inline-block; margin-top: 8px; color: var(--subtle); font-size: 8px; font-weight: 650; letter-spacing: .13em; }

.experience-timeline { max-width: 780px; margin-left: 12%; border-top: 1px solid var(--line); }
.timeline-entry { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 30px; padding: 32px 20px 35px 35px; border-bottom: 1px solid var(--line); }
.timeline-marker { position: absolute; top: 39px; left: 0; width: 10px; height: 10px; border: 2px solid var(--accent); border-radius: 50%; background: var(--bg); }
.timeline-entry .eyebrow { padding-top: 2px; font-size: 8px; }
.timeline-entry h2 { margin: 0 0 9px; font-size: 21px; font-weight: 550; letter-spacing: -.04em; }
.timeline-entry p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.timeline-note { display: inline-block; margin-top: 12px; color: var(--subtle); font-size: 9px; font-style: italic; }
.timeline-empty h2 { font-family: var(--serif); font-size: 24px; font-style: italic; font-weight: 400; }
.timeline-empty .text-link { display: inline-flex; margin-top: 15px; }

.contact-layout { grid-template-columns: .9fr 1.1fr; gap: clamp(35px, 7vw, 95px); padding-top: 40px; border-color: var(--line); }
.contact-details h2 { margin-top: 24px; }
.contact-method { min-height: 55px; border-color: var(--line); color: var(--text); font-size: 11px; }
.contact-label { color: var(--subtle); }
.contact-form { padding: clamp(20px, 4vw, 36px); border-color: var(--line); border-radius: 3px; background: var(--surface-soft); }
.contact-form label { margin: 17px 0 8px; color: var(--text); font-size: 11px; }
.contact-form input, .contact-form textarea { min-height: 46px; padding: 12px 13px; border-color: var(--line); border-radius: 2px; background: var(--bg); color: var(--text); font-size: 12px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--subtle); }
.contact-form textarea { min-height: 130px; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 30%, transparent); outline-offset: 1px; border-color: var(--accent); }
.contact-form input[aria-invalid="true"], .contact-form textarea[aria-invalid="true"] { border-color: #b84434; }
.field-error { display: block; min-height: 0; color: #a63226; font-size: 10px; }
.field-error:not(:empty) { min-height: 15px; margin-top: 5px; }
.form-hint { color: var(--muted); font-size: 10px; }
.form-status { color: var(--accent-strong); font-size: 10px; }

.site-footer { border-color: var(--line); background: var(--surface-soft); }
.footer-inner { min-height: 130px; grid-template-columns: 1fr 1fr; padding-block: 28px 18px; }
.footer-inner > p { color: var(--muted); font-size: 10px; }
.footer-bottom { border-color: var(--line); color: var(--subtle); font-size: 9px; }
.footer-bottom a { color: var(--text); }
.footer-bottom a:hover { color: var(--accent); }

[data-reveal].is-reveal-pending { opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease-out), transform .55s var(--ease-out); }
[data-reveal].is-reveal-pending.is-visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
:root[data-theme="dark"] .button-primary { color: #171917; }
:root[data-theme="dark"] .button-primary:hover { background: var(--accent); color: #171917; }

@media (max-width: 900px) {
  .nav-shell { width: calc(100% - 48px); gap: 12px; }
  .nav-links { gap: 13px; }
  .nav-links a { font-size: 10px; }
  .theme-toggle-label { display: none; }
  .hero-section { grid-template-columns: minmax(0, 1fr) minmax(280px, .78fr); gap: 35px; }
  .hero-copy h1 { font-size: clamp(56px, 8vw, 84px); }
  .project-card .project-art { min-height: 230px; }
  .intro-copy { margin-left: 8%; gap: 5vw; }
}

@media (max-width: 720px) {
  html { scroll-padding-top: 72px; }
  .page-width { width: min(100% - 40px, 600px); }
  .nav-shell { position: relative; width: calc(100% - 40px); height: 68px; gap: 9px; }
  .brand { margin-right: auto; }
  .theme-toggle { order: 2; width: 38px; min-width: 38px; height: 38px; min-height: 38px; }
  .menu-toggle { order: 3; width: 40px; height: 40px; border-color: var(--line); border-radius: 50%; background: var(--surface); }
  .menu-toggle span { width: 15px; height: 2px; background: var(--text); }
  .nav-links { position: absolute; top: 67px; right: -20px; left: -20px; z-index: 5; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 20px 22px; border-bottom: 1px solid var(--line); background: var(--bg); box-shadow: 0 15px 25px color-mix(in srgb, var(--text) 8%, transparent); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 14px 3px; border-bottom: 1px solid var(--line); font-size: 13px; }
  .nav-links a[aria-current="page"]:not(.nav-contact) { text-decoration: none; color: var(--accent-strong); }
  .nav-links .nav-contact { margin-top: 12px; border: 1px solid var(--line); text-align: center; }
  .hero-section { width: min(100% - 40px, 600px); min-height: auto; grid-template-columns: 1fr; gap: 28px; padding-block: 54px 60px; }
  .hero-copy h1 { margin-top: 25px; font-size: clamp(59px, 13vw, 86px); }
  .hero-tagline { max-width: 460px; font-size: 14px; }
  .scroll-cue { margin-top: 35px; }
  .hero-visual { min-height: auto; padding: 15px 14px 0; }
  .portrait-frame { width: min(78%, 365px); }
  .portrait-frame img { aspect-ratio: 4 / 4.5; }
  .hero-index { top: 2%; }
  .hero-orbit-one { top: 15%; left: 3%; }
  .hero-orbit-two { right: 2%; bottom: 20%; }
  .section-heading { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 17px; }
  .section-heading .eyebrow { grid-column: 1 / -1; }
  .section-heading h2 { font-size: clamp(35px, 9vw, 52px); }
  .section-heading > .text-link { justify-self: end; font-size: 10px; }
  .work-section { padding-block: 30px 72px; }
  .featured-projects { grid-template-columns: 1fr; gap: 15px; }
  .featured-project-large .project-art, .project-art { min-height: 245px; }
  .project-title { font-size: 21px; }
  .intro-section { padding-block: 31px 75px; }
  .intro-copy { grid-template-columns: 1fr; gap: 22px; margin: 27px 0 0; }
  .intro-copy h2 { max-width: 480px; font-size: clamp(40px, 10vw, 60px); }
  .intro-copy > div { max-width: 500px; }
  .skills-preview { padding-block: 30px 70px; }
  .skill-chips { margin-top: 25px; }
  .skill-chips span { padding: 8px 11px; }
  .closing-section { margin-bottom: 60px; padding: 28px 24px; }
  .closing-section h2 { font-size: clamp(46px, 12vw, 69px); }
  .inner-page { padding-top: 58px; padding-bottom: 65px; }
  .page-heading { padding-bottom: 39px; }
  .page-heading h1 { margin: 21px 0 18px; font-size: clamp(48px, 12vw, 72px); }
  .page-lead { font-size: 14px; }
  .about-story { grid-template-columns: 1fr; gap: 33px; padding-top: 28px; }
  .about-portrait { width: min(82%, 350px); }
  .about-portrait img { max-height: none; }
  .values-list { margin: 55px 0 0; }
  .page-cta { margin-left: 0; }
  .project-filters { gap: 7px; margin-bottom: 20px; }
  .filter-button { min-height: 40px; padding-inline: 12px; font-size: 9px; }
  .project-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-card .project-art { min-height: 250px; }
  .project-card h2 { font-size: 26px; }
  .capability-group { grid-template-columns: 1fr; gap: 23px; padding-block: 29px; }
  .capability-items > article { grid-template-columns: 47px 1fr; gap: 13px; }
  .capability-mark { width: 40px; height: 40px; }
  .experience-timeline { margin-left: 0; }
  .timeline-entry { grid-template-columns: 1fr; gap: 12px; padding: 25px 5px 27px 28px; }
  .timeline-marker { top: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 30px; padding-top: 28px; }
  .contact-form { padding: 22px 18px; }
  .contact-form label { margin-top: 15px; }
  .page-cta-wrap { align-items: flex-start; flex-direction: column; padding: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 13px; padding-block: 23px 15px; }
  .footer-inner > p { justify-self: start; }
  .footer-bottom { grid-column: 1; margin-top: 5px; }
}

@media (max-width: 380px) {
  .page-width, .hero-section { width: calc(100% - 32px); }
  .nav-shell { width: calc(100% - 32px); }
  .hero-copy h1 { font-size: clamp(52px, 12.5vw, 60px); }
  .hero-actions .button { min-height: 44px; padding-inline: 14px; font-size: 10px; }
  .section-heading > .text-link { max-width: 120px; text-align: right; line-height: 1.4; }
  .filter-button { padding-inline: 10px; font-size: 8px; }
  .footer-bottom { gap: 14px; font-size: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  [data-reveal].is-reveal-pending { opacity: 1; transform: none; }
}
