@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 100 1000; font-display: swap; src: url("/static/fonts/dm-sans-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/instrument-serif-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/static/fonts/instrument-serif-italic-latin.woff2") format("woff2"); }

:root {
  --paper: #f7f8f2;
  --ink: #171916;
  --muted: #62675c;
  --line: #dce0d4;
  --surface: #eef1e7;
  --lime: #d4fb74;
  --accent: #527218;
  --focus: #5a7e19;
  --header: rgb(247 248 242 / 96%);
  --font-sans: "DM Sans", "Segoe UI", Arial, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --error: #a4231c;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --paper: #141713;
  --ink: #eff2e7;
  --muted: #adb6a2;
  --line: #353d30;
  --surface: #22291d;
  --accent: #d4fb74;
  --focus: #d4fb74;
  --header: rgb(20 23 19 / 96%);
  --error: #ff9d94;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--font-sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { cursor: pointer; border: 0; background: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
::selection { background: var(--lime); color: #171916; }
p { margin: 0 0 1em; }
h1, h2, h3 { overflow-wrap: break-word; }
h1, h2 { font-weight: 500; line-height: 1.06; letter-spacing: -.055em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.5rem, 4.7vw, 4rem); }
h3 { font-size: 1.35rem; font-weight: 500; line-height: 1.3; letter-spacing: -.035em; margin: 0; }
.serif, em { font-family: var(--font-serif); font-weight: 400; font-style: italic; }
.wrap { width: min(88%, 1240px); margin-inline: auto; }
.section { padding-block: 110px; }
.eyebrow { font-size: .75rem; font-weight: 600; line-height: 1.5; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 18px; }
.small { font-size: .875rem; }
.muted, .lead { color: var(--muted); }
.lead { max-width: 65ch; font-size: 1.125rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.icon { width: 20px; height: 20px; flex: 0 0 20px; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; top: -120px; left: 12px; z-index: 100; background: var(--lime); color: #171916; padding: 10px 18px; }
.skip-link:focus { top: 10px; }
.progress { position: fixed; inset: 0 0 auto; height: 3px; background: #91b948; z-index: 50; transform: scaleX(var(--progress, 0)); transform-origin: left; pointer-events: none; }

/* Shared controls and portfolio navigation. The dashboard keeps base.css. */
.btn { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 28px; padding: 15px 24px; font-weight: 600; font-size: .9rem; line-height: 1.5; border-radius: 5px; text-align: center; border: 1px solid transparent; transition: transform 160ms, background 160ms, border-color 160ms; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }
.btn--lime { background: var(--lime); color: #171916; }
.btn--lime:hover { background: #c8f25c; }
.btn--ink { background: #171916; color: #f7f8f2; }
.btn--ink:hover { background: #30382a; }
.btn--ghost { border-color: var(--line); }
.btn--ghost:hover { background: var(--surface); border-color: var(--accent); }
.btn--block { width: 100%; }
.btn--sm { min-height: 44px; padding: 10px 18px; font-size: .8125rem; gap: 12px; }
.text-link, .text-button { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 7px 0; font-size: .875rem; font-weight: 500; background: transparent; border-bottom: 1px solid var(--line); text-align: left; transition: color 160ms, border-color 160ms; }
.text-link:hover, .text-button:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex-shrink: 0; padding: 0; background: transparent; border: 1px solid var(--line); border-radius: 50%; transition: background 160ms, transform 160ms; }
.icon-btn:hover { background: var(--surface); transform: translateY(-1px); }
.icon-btn .icon { display: block; }
.chip { display: inline-flex; align-items: center; font-size: .75rem; border: 1px solid var(--line); padding: 4px 10px; border-radius: 4px; }
button.chip { min-height: 44px; padding: 8px 16px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { font-size: 40px; font-weight: 600; letter-spacing: -5px; line-height: 1; display: inline-flex; align-items: baseline; padding: 8px 9px 8px 0; }
.brand i { width: 7px; height: 7px; border-radius: 50%; background: #8bae31; margin-left: 9px; }
.nav { display: flex; align-items: center; gap: 32px; font-size: .875rem; }
.nav a { position: relative; padding: 13px 0; }
.nav .nav-contact { display: none; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 6px; width: 100%; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 160ms; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.header-tools { display: flex; align-items: center; gap: 20px; }
#theme-toggle { border: 0; background: var(--surface); }
.header-contact { display: flex; align-items: center; gap: 18px; min-height: 44px; font-size: .875rem; border-bottom: 1px solid var(--ink); }
.header-contact:hover { color: var(--accent); }
.menu-btn { display: none; }

/* Homepage: the supplied design's open, typographic hero. */
.hero { padding-top: 36px; }
.hero-eyebrow { display: flex; justify-content: space-between; gap: 20px; }
.hero h1 { font-size: clamp(4.5rem, 8.8vw, 8rem); margin: 45px 0 36px; position: relative; text-wrap: initial; }
.hero-identity { display: block; margin-bottom: 24px; font: 500 clamp(1.125rem, 2vw, 1.5rem)/1.4 var(--font-sans); letter-spacing: -.02em; }
.hero .serif { display: inline-block; }
.asterisk { position: absolute; top: 50px; right: 2%; color: #7e973c; font-size: 1.12em; line-height: 1; padding: 0; }
[data-theme="dark"] .asterisk { color: #b4d873; }
.asterisk:hover { color: var(--accent); }
.hero-bottom { display: flex; gap: 46px; align-items: center; }
.hero-bottom > p { max-width: 440px; color: var(--muted); font-size: 1.0625rem; margin: 0; text-wrap: pretty; }
.hero-bottom > .btn { flex-shrink: 0; }
.hero-note { margin-left: auto; font-size: .875rem; }
.hero-note > span { display: block; color: var(--muted); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 7px; }
.hero-line { padding: 48px 0 20px; display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: .75rem; letter-spacing: .075em; text-transform: uppercase; }
.hero-line a:hover { color: var(--accent); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 35px; margin-bottom: 34px; }
.section-head > p, .section-head > div > p:not(.eyebrow) { color: var(--muted); font-size: 1rem; margin: 0 0 5px; max-width: 38ch; }
.section-head .text-link { margin-top: 10px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 28px; }
.filter { background: transparent; border: 1px solid var(--line); border-radius: 30px; padding: 10px 19px; min-height: 44px; font-size: .875rem; transition: background 140ms, border-color 140ms; }
.filter:hover { border-color: var(--accent); }
.filter[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.filter small { margin-left: 10px; opacity: .7; font-size: .75rem; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 45px 28px; }
.project-card { min-width: 0; }
.project-card--wide { grid-column: 1 / -1; }
.project-art { display: block; position: relative; overflow: hidden; border-radius: 8px; min-height: 340px; padding: 28px; color: #20261b; isolation: isolate; }
.cover-art { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
.project-art::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(circle at var(--spot-x, 50%) var(--spot-y, 50%), #ffffff30, transparent 55%); opacity: 0; transition: opacity 180ms; }
.project-art:hover::after { opacity: 1; }
.art--lime { background: #dce8c5; color: #20261b; }
.art--clay { background: #dedcf1; color: #26233c; }
.art--sky { background: #263f37; color: #edf2d9; }
.art--blue { background: #2596be; color: #f7f8f2; }
.project-card--wide .project-art { min-height: 390px; }
.view-circle { position: absolute; bottom: 22px; right: 24px; width: 42px; height: 42px; display: grid; place-items: center; background: #f7f8f2; color: #171916; border-radius: 50%; font-size: 24px; transition: transform 200ms; }
.project-art:hover .view-circle { transform: rotate(90deg); }
.project-caption { display: flex; align-items: start; justify-content: space-between; gap: 16px; padding-top: 20px; }
.project-caption h3 { font-size: 1.4rem; }
.project-caption p { margin: 5px 0 13px; font-size: .9375rem; color: var(--muted); max-width: 62ch; }
.project-caption > .text-link { flex-shrink: 0; }

 .about { background: #171c15; color: #f0f3e7; padding: 90px 0; }
[data-theme="dark"] .about { background: #1d2518; }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 9%; align-items: center; }
.portrait { aspect-ratio: 4 / 4.8; background: #252d20; border: 1px solid #45503d; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; border-radius: 3px; position: relative; }
.portrait-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.portrait-top, .portrait-bottom { position: relative; z-index: 1; font-size: .75rem; color: #bec8b2; letter-spacing: .08em; text-transform: uppercase; }
.portrait-initials { font: italic clamp(8rem, 14vw, 13rem)/1 var(--font-serif); text-align: center; color: #8d9d7b; }
.portrait-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.portrait-bottom > span { font-size: 28px; }
.about-copy h2 { font-size: clamp(2.4rem, 3.7vw, 3.4rem); margin-bottom: 25px; text-wrap: initial; }
.about-copy > .eyebrow { color: var(--lime); }
.about-copy > p:not(.eyebrow) { color: #bec7b6; font-size: 1rem; }
.milestone { display: flex; gap: 24px; border-top: 1px solid #3d4836; padding-top: 18px; margin-top: 23px; }
.milestone > span { min-width: 36px; font-size: .75rem; color: var(--lime); }
.milestone h3 { font-size: .9375rem; letter-spacing: -.01em; }
.milestone p { font-size: .875rem; color: #b9c4b0; margin: 4px 0 0; }
.principle { margin-top: 18px; }
.principle h3 { font-size: .875rem; color: #e4ebdc; }
.principle p { margin: 5px 0 0; font-size: .8125rem; color: #b9c4b0; }
.skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 40px; }
.tool-group { padding: 24px 24px 0 0; border-top: 1px solid var(--line); }
.tool-group + .tool-group { padding-left: 28px; border-left: 1px solid var(--line); }
.skill-number { font-size: .75rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.skills h3 { font-size: 1.25rem; margin-top: 18px; }
.skills p { font-size: .875rem; color: var(--muted); margin: 5px 0 20px; }
.tool-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.tool-chip { border: 1px solid transparent; background: var(--surface); border-radius: 4px; padding: 8px 12px; font-size: .875rem; min-height: 44px; transition: background 150ms, transform 150ms; }
.tool-chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.tool-chip[aria-pressed="true"] { background: #171916; color: #d4fb74; border-color: #687b4d; }
.tool-explorer { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 32px; padding: 28px 30px; border-left: 3px solid #8bae31; background: var(--surface); border-radius: 0 7px 7px 0; min-height: 180px; }
.tool-explorer .eyebrow { margin-bottom: 10px; }
.tool-explorer p:not(.eyebrow) { max-width: 750px; margin: 8px 0 0; color: var(--muted); }
.tool-explorer .panel-hint { font-size: .75rem; }
.tool-explorer > a { flex-shrink: 0; }
.journal-section { padding: 90px 0 100px; border-block: 1px solid var(--line); background: var(--surface); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.post-card { min-width: 0; }
.post-visual { height: 218px; border-radius: 6px; display: block; padding: 22px; position: relative; overflow: hidden; color: #22271e; background: #dedcf1; }
.post-card:nth-child(3n + 2) .post-visual { background: #dce8c5; }
.post-card:nth-child(3n) .post-visual { background: #263f37; color: #e5f2d3; }
.post-meta { display: flex; justify-content: space-between; gap: 12px; font-size: .75rem; color: var(--muted); margin: 20px 0 12px; }
.post-card h3 { font-size: 1.5rem; line-height: 1.22; letter-spacing: -.035em; }
.post-card > p { margin: 13px 0 10px; color: var(--muted); font-size: 1rem; }
.empty-state { padding: 30px 0; }
.empty-state p { color: var(--muted); margin-top: 16px; }
.contact { margin-block: 90px 45px; padding: 46px 48px 30px; background: var(--lime); color: #171916; border-radius: 8px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.contact h2 { font-size: clamp(2.6rem, 5.2vw, 4.7rem); text-wrap: initial; }
.contact-star { font-size: 125px; line-height: 1; }
.contact-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; }
.contact-bottom p { margin: 0; font-size: 1rem; }
.contact-direct { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; border-top: 1px solid #17191630; margin-top: 30px; padding-top: 18px; font-size: .875rem; }
.contact-direct > a { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; overflow-wrap: anywhere; }
.contact-direct > a > span { min-width: 0; overflow-wrap: anywhere; }
.contact-availability { margin-left: auto; font-size: .8125rem; }
.contact-direct .icon-btn { border-color: #17191640; }
.contact-direct .icon-btn:hover { background: #ffffff40; }
.contact :focus-visible { outline-color: #171916; }
.connect-section { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-bottom: 85px; }
.connect-section .eyebrow { margin-bottom: 8px; }
.connect-section h2 { font-size: 1.35rem; letter-spacing: -.035em; }
.social-row, .footer-socials { display: flex; flex-wrap: wrap; gap: 9px; }
.social-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); border-radius: 5px; min-height: 44px; padding: 10px 12px; font-size: .875rem; transition: background 150ms, transform 150ms; }
.social-link:hover { background: var(--surface); transform: translateY(-2px); border-color: var(--accent); }
.social-link .icon { width: 18px; height: 18px; flex-basis: 18px; }
.site-footer { border-top: 1px solid var(--line); padding-top: 30px; padding-bottom: 30px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-name { font-size: 1.15rem; font-weight: 600; }
.footer-name span { display: block; font-size: .6875rem; font-weight: 400; letter-spacing: .1em; color: var(--muted); margin-top: 6px; text-transform: uppercase; }
.footer-socials .social-link { font-size: .75rem; padding-inline: 12px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: var(--muted); font-size: .75rem; margin-top: 25px; }
.footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.footer-nav .text-button { font-size: .75rem; border: 0; }
.footer-bottom a { padding-block: 12px; }
.footer-bottom a:hover { color: var(--accent); }

/* Native dialogs keep keyboard focus and Escape behavior. */
dialog { border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 100px #0004; padding: 40px; width: min(620px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain; }
dialog::backdrop { background: #0b120bc7; backdrop-filter: blur(5px); }
dialog[open] { animation: dialog-in 170ms ease-out; }
body:has(dialog[open]) { overflow: hidden; }
.dialog-close { position: absolute; right: 16px; top: 16px; border: 0; font-size: 30px; }
dialog h2 { font-size: 2.8rem; margin-bottom: 18px; padding-right: 10px; text-wrap: initial; }
.dialog-intro { color: var(--muted); }
.sheet { width: min(540px, calc(100% - 24px)); }
.sheet-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.sheet-top .eyebrow { margin: 0; }
.sheet-nav { display: grid; }
.sheet-nav a { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); font-size: clamp(1.4rem, 6vw, 2rem); letter-spacing: -.04em; padding: 16px 0; }
.sheet-nav a:hover { color: var(--accent); }
.sheet-nav a > span { font-size: .75rem; color: var(--muted); }
.sheet-foot { margin: 22px 0 0; color: var(--muted); font-size: .875rem; }
.form-grid { display: grid; gap: 17px; }
.field { display: grid; gap: 6px; }
.field label, .copy-fallback { font-size: .875rem; font-weight: 500; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
input, textarea, select { border: 1px solid var(--line); border-radius: 5px; background: var(--surface); padding: 12px 13px; width: 100%; min-width: 0; font-size: 1rem; }
input::placeholder, textarea::placeholder { color: var(--muted); opacity: 1; }
textarea { resize: vertical; min-height: 120px; }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--error); }
.field-error { font-size: .75rem; color: var(--error); margin: 0; }
.field-error:empty { display: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { color: var(--muted); font-size: .75rem; margin: -6px 0 0; }
.alert { padding: 15px; border: 1px solid var(--line); border-radius: 5px; font-size: .875rem; }
.alert--error { border-color: var(--error); color: var(--error); }
.success-card { display: grid; gap: 18px; padding-block: 20px; }
.success-card p { color: var(--muted); margin: 0; }
.tick { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--lime); color: #171916; font-size: 24px; }
.toast { position: fixed; bottom: max(22px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); padding: 13px 22px; max-width: calc(100% - 32px); width: max-content; background: var(--ink); color: var(--paper); border-radius: 6px; font-size: .875rem; z-index: 80; }
.share-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0; }
.share-links a { border: 1px solid var(--line); border-radius: 5px; padding: 13px 14px; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .9375rem; }
.share-links a:hover { background: var(--surface); }
.copy-fallback { display: grid; gap: 8px; margin-top: 14px; }
.parallax-layer { translate: 0 var(--parallax-y, 0px); }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1700px) { .wrap { width: min(84%, 1380px); } .hero h1 { font-size: 8.8rem; } }
@media (max-width: 1100px) {
  .hero-note { display: none; }
  .hero-bottom { justify-content: space-between; }
  .hero h1 { font-size: clamp(4.5rem, 8.8vw, 6.6rem); }
  .asterisk { right: 0; font-size: 1em; }
  .nav { gap: 23px; }
  .project-caption { display: block; }
  .project-caption > .text-link { margin-top: 10px; }
  .connect-section { display: block; }
  .connect-section .social-row { margin-top: 20px; }
}
@media (max-width: 820px) {
  .header-inner { min-height: 76px; }
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-tools { gap: 12px; }
  .header-contact { margin-right: 5px; }
  .hero h1 { font-size: clamp(3.9rem, 10vw, 5.3rem); }
  .hero h1 .asterisk { top: 6px; right: 0; font-size: .75em; }
  .hero-eyebrow { font-size: .6875rem; }
  .hero-bottom { gap: 25px; }
  .hero-bottom > p { max-width: 390px; }
  .section { padding-block: 65px; }
  .section-head { align-items: start; }
  .section-head > p, .section-head > div > p:not(.eyebrow) { max-width: 280px; }
  .about-grid { gap: 35px; grid-template-columns: .8fr 1.2fr; }
  .about { padding-block: 65px; }
  .portrait { aspect-ratio: 3 / 5; padding: 18px; }
  .portrait-initials { font-size: 9rem; }
  .skills h3 { font-size: 1.125rem; }
  .tool-group + .tool-group { padding-left: 18px; }
  .tool-explorer { display: block; }
  .tool-explorer > a { margin-top: 12px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
  .post-card:last-child:nth-child(odd) { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; align-items: start; }
  .post-card:last-child:nth-child(odd) .post-visual { grid-row: 1 / 5; height: 100%; min-height: 250px; }
  .post-card:last-child:nth-child(odd) .post-meta { margin-top: 0; }
  .post-card:last-child:nth-child(odd) .text-link { justify-self: start; }
  .contact { padding: 32px; margin-top: 65px; }
  .contact-star { font-size: 90px; }
  .contact-availability { margin-left: 0; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 90px; }
  .header-inner { min-height: 72px; gap: 16px; }
  .brand { font-size: 35px; }
  .header-contact { display: none; }
  .header-tools { gap: 9px; }
  .hero { padding-top: 27px; }
  .hero-eyebrow { flex-direction: column; gap: 8px; letter-spacing: .1em; }
  .hero-eyebrow > span:last-child { color: var(--muted); }
  .hero h1 { font-size: clamp(3.2rem, 11vw, 4.5rem); margin: 32px 0 27px; }
  .hero h1 .asterisk { font-size: .7em; top: 0; right: 0; }
  .hero-bottom { display: block; }
  .hero-bottom > p { max-width: 100%; font-size: 1rem; }
  .hero-bottom > .btn { margin-top: 25px; }
  .hero-line { padding-top: 35px; font-size: .625rem; letter-spacing: .04em; align-items: end; }
  .hero-line > span { max-width: 190px; }
  .hero-line > a { text-align: right; }
  h2 { font-size: clamp(2.3rem, 8.8vw, 3rem); }
  .section { padding-block: 52px; }
  .section-head { display: block; margin-bottom: 25px; }
  .section-head > p, .section-head > div > p:not(.eyebrow) { margin-top: 20px; max-width: none; }
  .filters { gap: 7px; }
  .filter { padding-inline: 14px; }
  .project-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .project-card--wide { grid-column: auto; }
  .project-art, .project-card--wide .project-art { min-height: 315px; padding: 23px; }
  .project-caption { padding-top: 17px; }
  .project-caption > .text-link { margin-top: 9px; }
  .about { padding-block: 50px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .portrait { aspect-ratio: 1.15; max-width: 460px; padding: 24px; }
  .portrait-initials { font-size: 10rem; }
  .about-copy h2 { font-size: clamp(2.3rem, 8.8vw, 3rem); }
  .milestone { gap: 20px; }
  .skills { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 30px; }
  .tool-group, .tool-group + .tool-group { padding: 20px 0 0; border-left: 0; }
  .skills h3 { font-size: 1.25rem; margin-top: 10px; }
  .skills p { margin-bottom: 15px; }
  .tool-explorer { padding: 23px; min-height: 220px; }
  .journal-section { padding-block: 50px; }
  .post-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .post-card:last-child:nth-child(odd) { grid-column: auto; display: block; }
  .post-card:last-child:nth-child(odd) .post-visual, .post-visual { height: 220px; min-height: 0; }
  .post-card:last-child:nth-child(odd) .post-meta { margin-top: 20px; }
  .post-card h3 { font-size: 1.6rem; }
  .contact { margin-block: 52px 30px; padding: 28px 23px 22px; }
  .contact h2 { font-size: clamp(2.2rem, 8.2vw, 3.2rem); }
  .contact-star { display: none; }
  .contact-bottom { display: block; margin-top: 23px; }
  .contact-bottom > .btn { margin-top: 23px; }
  .contact-direct { gap: 4px 8px; font-size: .8125rem; }
  .contact-direct > a { width: calc(100% - 52px); }
  .contact-availability { width: 100%; }
  .connect-section { padding-bottom: 45px; }
  .social-link { padding-inline: 11px; }
  .footer-top { display: block; }
  .footer-socials { margin-top: 25px; }
  .footer-bottom { flex-direction: column-reverse; align-items: start; gap: 10px; margin-top: 18px; }
  .footer-nav { gap: 17px; }
  dialog { padding: 32px 23px 25px; }
  dialog h2 { font-size: 2.3rem; }
  dialog > .eyebrow { max-width: calc(100% - 36px); }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .form-note { font-size: .8125rem; }
  .share-links { gap: 8px; }
  .share-links a { padding-inline: 10px; font-size: .875rem; }
}
@media (max-width: 360px) {
  .wrap { width: 90%; }
  .hero h1 { font-size: 3.2rem; }
  .hero h1 .asterisk { font-size: .62em; }
  .filter { font-size: .8125rem; padding-inline: 12px; }
  .contact { padding-inline: 20px; }
  .btn { padding-inline: 18px; gap: 17px; }
}
@media (scripting: none) {
  #theme-toggle, .menu-btn, .filters, [data-share], [data-copy-email], [data-journal-search], .journal-controls { display: none; }
  .contact-dialog { display: block; position: static; width: min(88%, 620px); max-height: none; margin: 0 auto 60px; box-shadow: none; }
  .contact-dialog .dialog-close { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .parallax-layer { translate: none !important; }
}
@media print {
  .site-header, .site-footer, .progress, dialog, .contact, .connect-section { display: none !important; }
  :root, :root[data-theme="dark"] { --paper: #fff; --ink: #000; --muted: #333; }
  .wrap { width: 100%; }
}
