html { scroll-behavior: auto; scroll-padding-top: 82px; }
body { background: var(--paper); color: var(--ink); }
.site-header {
  display: flex;
  min-height: 76px;
  height: auto;
  justify-content: space-between;
  gap: 20px;
  padding: 12px max(36px, calc((100vw - var(--page-width)) / 2));
  background: var(--paper);
}
.primary-nav { display: flex; flex: 1; justify-content: center; gap: clamp(12px, 2vw, 28px); }
.primary-nav > div { display: flex; align-items: center; justify-content: center; gap: inherit; }
.primary-nav a { color: var(--muted); font-size: 11px; }
.menu-toggle { display: none; }
#header-resume { flex: 0 0 auto; }
.header-resume { min-height: 42px; gap: 12px; padding-inline: 13px; white-space: nowrap; }
.button, .button:hover { transform: none; }
.hero { min-height: 625px; grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr); gap: 5vw; padding-top: 70px; padding-bottom: 78px; }
.hero-copy { padding: 0; }
.hero h1 { max-width: 720px; margin: 22px 0; font-size: clamp(45px, 5.2vw, 72px); letter-spacing: -3.1px; }
.hero-description { max-width: 560px; }
.hero-actions { flex-wrap: wrap; gap: 18px; }
.hero-meta { margin-top: 24px; }
.hero-art { align-self: center; width: 100%; height: 455px; }
.phone { transform: translate(-50%, -50%) rotate(-5deg); transition: none; }
.phone-shadow { transform: translate(-46%, -47%) rotate(5deg); }
.intro-strip { justify-content: space-between; padding-inline: max(36px, calc((100vw - var(--page-width)) / 2)); }
.intro-strip p { font-family: var(--serif); }
.section-space { padding-block: 96px; }
.section-heading { align-items: end; margin-bottom: 34px; }
.section-heading h2, .systems h2, .toolkit h2, .product-awareness h2 { color: var(--ink); }
.section-intro { color: var(--muted); }
.experience-timeline { position: relative; margin-left: 8px; padding-left: 36px; border-left: 1px solid var(--line); }
.experience-entry { position: relative; padding: 0 0 52px; opacity: 1; }
.experience-entry:last-child { padding-bottom: 0; }
.timeline-marker { position: absolute; top: 8px; left: -42px; width: 11px; height: 11px; border: 2px solid var(--signal-ink); border-radius: 50%; background: var(--paper); }
.experience-entry-heading { display: flex; justify-content: space-between; gap: 22px; }
.experience-entry h3 { margin: 0; font: 500 24px/1.3 var(--serif); }
.experience-entry-heading p { margin: 6px 0 0; color: var(--muted); font-weight: 600; }
.experience-dates { display: flex; flex: 0 0 auto; align-items: center; gap: 10px; color: var(--muted); font: 10px var(--mono); }
.current-label { padding: 4px 8px; border: 1px solid var(--line); color: var(--signal-ink); }
.experience-entry ul { display: grid; gap: 10px; margin: 22px 0 0; padding-left: 19px; }
.experience-entry li { max-width: 900px; padding-left: 5px; color: var(--muted); font-size: 13px; line-height: 1.75; }
.experience-entry li::marker { color: var(--signal-ink); }
.experience-toggle { display: none; }
.project-grid-mobile { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.project-card { overflow: hidden; border: 1px solid transparent; background: var(--paper-light); }
.project-card:hover { border-color: var(--signal); transform: translateY(-2px); }
.project-image { height: 205px; }
.project-image-1 { background: #d7d4c6; }
.project-image-2 { background: #d8d9d0; }
.project-image-3 { background: #ded4c0; }
.project-image-4 { background: #d6ddd7; }
.project-image-5 { background: #d8d8e0; }
.project-art-device { position: relative; width: 100px; height: 155px; border: 5px solid #414139; border-radius: 20px; background: #f3f0e9; box-shadow: 12px 14px 24px rgb(37 36 31 / 14%); }
.project-art-speaker { position: absolute; top: 5px; left: 50%; width: 26px; height: 4px; border-radius: 4px; background: #414139; transform: translateX(-50%); }
.project-art-symbol { position: absolute; top: 44px; left: 0; width: 100%; color: var(--signal-ink); font: 34px var(--serif); text-align: center; }
.project-art-line { position: absolute; right: 12px; bottom: 40px; left: 12px; height: 1px; background: var(--line); }
.project-art-caption { position: absolute; right: 0; bottom: 12px; left: 0; color: var(--muted); font: 6px/1.5 var(--mono); text-align: center; }
.project-details { padding: 22px; background: var(--paper-light); }
.project-heading { min-height: 53px; }
.project-heading h3 { font-size: 20px; }
.project-type { color: var(--signal-ink); }
.project-role { margin: 8px 0 0 !important; color: var(--ink) !important; font-weight: 600; }
.project-details > p { font-size: 12px; }
.project-highlights { display: grid; gap: 7px; margin: 13px 0; padding-left: 18px; color: var(--muted); font-size: 11px; line-height: 1.65; }
.project-highlights li::marker { color: var(--signal-ink); }
.project-tags { gap: 6px; }
.project-tags span { border-color: var(--line); color: var(--muted); }
.ai-systems { background: var(--paper); }
.ai-project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.ai-project-grid .project-image { height: 148px; justify-content: flex-start; background: #e8e4da; }
.ai-project-grid .selected-art-2 { background: #dddcd0; }
.ai-project-grid .selected-art-3 { background: #e2dbce; }
.ai-project-grid .selected-art-4 { background: #e4d7cb; }
.ai-project-grid .selected-art-5 { background: #dedbd0; }
.ai-project-index { position: absolute; right: 22px; bottom: 10px; color: #77736a; font: 500 68px/.9 var(--serif); }
.ai-project-grid .project-details { min-height: 0; }
.systems { overflow: visible; background: #292a25; color: var(--paper); }
.systems .section-kicker, .systems h2 { color: var(--paper); }
.systems h2 { max-width: 550px; font-size: clamp(36px, 4vw, 54px); }
.systems .section-intro { max-width: 450px; color: #d0cbbe; }
.systems-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; margin: 40px 0 0; padding: 0; list-style: none; }
.systems-list li { display: flex; gap: 17px; align-items: baseline; padding: 20px 0; border-top: 1px solid #57564d; color: #e4e0d6; font-size: 13px; }
.systems-list li:last-child { grid-column: 1 / -1; }
.systems-list li > span { flex: 0 0 auto; color: #ff9474; font: 10px var(--mono); }
.toolkit { display: block; }
.toolkit-heading { margin-bottom: 30px; }
.toolkit-heading h2 { margin: 0; font: 500 clamp(35px, 4.8vw, 58px)/1.08 var(--serif); }
.toolkit-table { border-top: 1px solid var(--line); }
.stack-group { grid-template-columns: minmax(190px, .45fr) minmax(0, 1fr); align-items: start; gap: 26px; }
.stack-group-heading h3 { font-size: 10px; }
.stack-chips { gap: 8px; }
.stack-chip { height: auto; min-height: 36px; white-space: normal; }
.stack-chip-status { text-transform: uppercase; }
.stack-chip[data-status="production"] { border-color: var(--signal-ink); color: var(--signal-ink); }
.stack-chip[data-status="in-development"] { border-style: dashed; }
.toolkit-footnote { margin: 16px 0 0; }
.education-list { border-top: 1px solid var(--line); }
.education-list article { position: relative; display: flex; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.education-marker { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 9px; border: 1px solid var(--signal-ink); border-radius: 50%; }
.education-list h3 { margin: 0; font: 500 21px/1.35 var(--serif); }
.education-list p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.product-awareness { padding-block: 74px; }
.product-awareness > div { max-width: 850px; }
.product-awareness h2 { margin: 0 0 16px; font: 500 clamp(32px, 4vw, 48px)/1.12 var(--serif); }
.product-awareness > div > p:last-child { max-width: 810px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.85; }
.contact { background: #e6e2d7; }
.contact-layout { grid-template-columns: 1fr 1fr; gap: 70px; }
.contact-copy h2 { margin: 0; color: var(--ink); font: 500 clamp(42px, 5vw, 64px)/1.05 var(--serif); }
.contact-copy > p:not(.eyebrow) { color: #4f4d45; }
.contact-aside { color: #4f4d45; }
.contact-details { padding: 28px; border: 1px solid #cbc7bb; background: var(--paper-light); }
.contact-details h3 { margin: 0 0 16px; font: 500 23px var(--serif); }
.contact-links { display: flex; flex-wrap: wrap; gap: 12px 18px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.contact-links a { color: var(--signal-ink); text-decoration: underline; text-underline-offset: 3px; }
.availability-list { margin: 7px 0 20px; }
.availability-list > div { display: grid; grid-template-columns: minmax(100px, .7fr) 1.3fr; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.availability-list dt { color: var(--muted); font: 9px var(--mono); text-transform: uppercase; }
.availability-list dd { margin: 0; font-size: 12px; }
.contact-resume { width: fit-content; }
.site-footer { grid-template-columns: 1fr 1fr auto; align-items: center; gap: 15px; padding: 28px max(36px, calc((100vw - var(--page-width)) / 2)); }
.footer-wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; }
.footer-wordmark .wordmark-mark { width: 26px; height: 26px; }
.site-footer > span:nth-child(2) { color: var(--muted); }
.site-footer > a:nth-child(3) { color: var(--signal-ink); font: 9px var(--mono); }
.footer-year { grid-column: 1 / -1; color: var(--muted); font: 8px var(--mono); }
.site-footer { background: #292a25; color: #e4e0d6; }
.site-footer > span:nth-child(2), .footer-year { color: #d0cbbe; }
.site-footer > a:nth-child(3) { color: #ff9474; }
[data-theme="dark"] .contact { background: #191814; }
[data-theme="dark"] .contact-details { border-color: var(--line); background: var(--paper-light); color: var(--ink); }
[data-theme="dark"] .contact-copy > p:not(.eyebrow), [data-theme="dark"] .contact-aside { color: var(--muted); }
[data-theme="dark"] .project-details { background: var(--paper-light); }
[data-theme="dark"] .project-image-1,
[data-theme="dark"] .project-image-2,
[data-theme="dark"] .project-image-3,
[data-theme="dark"] .project-image-4,
[data-theme="dark"] .project-image-5,
[data-theme="dark"] .ai-project-grid .project-image { filter: brightness(.82); }
[data-theme="dark"] .systems-list li { color: #e4e0d6; }
[data-theme="dark"] .project-card { color: var(--ink); }
[data-theme="dark"] .project-role { color: var(--ink) !important; }
[data-theme="dark"] .site-footer { background: var(--paper); }
.experience-entry { transition: none; }
.js-ready .experience-entry { opacity: 0; transition: opacity 300ms ease; transition-delay: var(--experience-delay, 0ms); }
.js-ready .experience-entry.is-visible { opacity: 1; }
.primary-nav a, .menu-toggle, .button, .text-link, .project-card { transition-property: none; }
.project-card { transition: transform 180ms ease, border-color 180ms ease; }
.project-card:hover { transition: transform 180ms ease, border-color 180ms ease; }
.experience-toggle:focus-visible { outline: 2px solid var(--signal-ink); outline-offset: 4px; }
.js-ready .project-card { opacity: 1; transform: none; transition: none; }
.js-ready .stack-chip { opacity: 1; transition: none; }

@media (max-width: 1000px) {
  .site-header { padding-inline: 24px; }
  .primary-nav { gap: 12px; }
  .primary-nav a { font-size: 10px; }
  .header-resume { font-size: 10px; }
  .project-grid-mobile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  html { scroll-padding-top: 72px; }
  .section-wrap { width: calc(100% - 36px); }
  .section-space { padding-block: 68px; }
  .site-header { z-index: 60; min-height: 64px; height: 64px; justify-content: flex-start; padding-inline: 16px; }
  .wordmark { margin-right: auto; }
  .menu-toggle { display: flex; align-items: center; gap: 8px; padding: 8px; border: 0; background: transparent; color: var(--ink); font: 9px var(--mono); }
  .menu-icon { display: flex; width: 18px; flex-direction: column; gap: 5px; }
  .menu-icon i { display: block; width: 18px; height: 1px; background: currentColor; }
  .primary-nav { position: absolute; top: 63px; right: 0; bottom: auto; left: 0; z-index: 62; display: none; height: auto; padding: 10px 20px 20px; border-bottom: 1px solid var(--line); background: var(--paper); }
  .primary-nav.is-open { display: flex; }
  .primary-nav > div { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav a { padding: 12px 4px; border-bottom: 1px solid var(--line); color: var(--ink); font: 500 20px var(--serif); }
  #header-resume { margin-left: 8px; }
  .header-resume { min-height: 38px; gap: 6px; padding-inline: 9px; font-size: 9px; }
  .hero { display: flex; min-height: auto; flex-direction: column; align-items: stretch; gap: 26px; padding-top: 52px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(39px, 10.5vw, 60px); letter-spacing: -2px; }
  .hero-description { font-size: 13px; }
  .hero-art { height: 360px; min-height: 0; margin: 0; }
  .phone { transform: translate(-50%, -50%) scale(.82) rotate(-5deg); }
  .phone-shadow { transform: translate(-46%, -47%) scale(.82) rotate(5deg); }
  .stage-card { min-width: 125px; padding: 8px; font-size: 7px; }
  .stage-card small { font-size: 7px; }
  .stage-brief { left: 2%; }
  .stage-build { top: 65%; left: 2%; }
  .stage-ship { right: 2%; bottom: 14%; }
  .intro-strip { min-height: 130px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; padding: 20px 18px; }
  .intro-strip p { font-size: 20px; }
  .section-heading, .systems-top { flex-direction: column; align-items: flex-start; gap: 13px; }
  .section-heading h2, .systems h2 { font-size: clamp(34px, 9vw, 48px); }
  .experience-timeline { margin-left: 6px; padding-left: 24px; }
  .timeline-marker { left: -30px; }
  .experience-entry-heading { flex-direction: column; gap: 10px; }
  .experience-entry h3 { font-size: 21px; }
  .experience-dates { flex-wrap: wrap; }
  .experience-entry ul { margin-top: 15px; }
  .experience-entry li { font-size: 12px; }
  .experience-entry:not(.is-expanded) .experience-extra { display: none; }
  .experience-toggle { display: inline-flex; margin-top: 13px; padding: 7px 11px; border: 1px solid var(--line); background: transparent; color: var(--signal-ink); cursor: pointer; font: 9px var(--mono); }
  .project-grid-mobile, .ai-project-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-image { height: 205px; }
  .project-details { padding: 19px 17px; }
  .project-heading { min-height: 0; }
  .systems-list { grid-template-columns: 1fr; margin-top: 25px; }
  .systems-list li:last-child { grid-column: auto; }
  .stack-group { grid-template-columns: 1fr; gap: 13px; padding: 18px 0; }
  .stack-group-content { gap: 10px; }
  .contact-layout { grid-template-columns: 1fr; gap: 26px; }
  .contact-copy h2 { font-size: clamp(43px, 11vw, 58px); }
  .contact-details { padding: 20px 16px; }
  .availability-list > div { grid-template-columns: minmax(95px, .8fr) 1.2fr; }
  .site-footer { grid-template-columns: 1fr auto; padding: 23px 18px; }
  .site-footer > span:nth-child(2) { grid-column: 1 / -1; grid-row: 2; }
  .site-footer > a:nth-child(3) { grid-column: 2; grid-row: 1; }
  .footer-year { grid-column: 1 / -1; }
}
@media (max-width: 390px) {
  .site-header { gap: 3px; padding-inline: 10px; }
  .wordmark { gap: 7px; font-size: 11px; }
  .wordmark-mark { width: 26px; height: 26px; }
  .menu-toggle { gap: 4px; padding-inline: 5px; font-size: 8px; }
  .header-resume { padding-inline: 7px; font-size: 8px; }
  .hero h1 { font-size: 39px; }
  .stage-card { min-width: 114px; }
  .hero-art { height: 330px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; }
  .experience-entry { transition: opacity 300ms ease !important; }
  .js-ready .experience-entry { transition-delay: 0ms; }
  .js-ready .stack-chip { opacity: 1; transition: none !important; }
  .project-card, .project-card:hover, .button, .button:hover, .primary-nav, .menu-icon i { transition: none !important; transform: none !important; }
}
