:root {
  --ink: #101411;
  --ink-soft: #343b36;
  --paper: #f2efe6;
  --paper-deep: #e7e1d4;
  --green: #064b3b;
  --green-light: #b7d7c5;
  --venus: #d88a92;
  --acid: #d9f25f;
  --line: rgba(16, 20, 17, .24);
  --mono: "SFMono-Regular", "SF Mono", "Cascadia Code", "Liberation Mono", monospace;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sans); margin: 0; text-align: left; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; text-decoration: none; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--venus); outline-offset: 4px; }
section[id], footer[id] { scroll-margin-top: 86px; }
::selection { background: var(--acid); color: var(--ink); }
.portfolio-shell { overflow-x: clip; }
.skip-link { background: var(--acid); color: var(--ink); font-family: var(--mono); font-size: 10px; font-weight: 700; left: 18px; padding: 12px 15px; position: fixed; top: 12px; transform: translateY(-150%); transition: transform .2s; z-index: 100; }
.skip-link:focus { transform: translateY(0); }
.site-header { align-items: center; background: rgba(242, 239, 230, .96); border-bottom: 1px solid var(--line); display: flex; height: 68px; justify-content: space-between; padding: 0 5vw; position: sticky; top: 0; z-index: 20; }
.site-brand { font-family: var(--mono); font-size: 14px; font-weight: 700; letter-spacing: -.06em; }
.prompt { color: var(--venus); }
.cursor { animation: blink 1.1s steps(1) infinite; color: var(--green); }
.site-header nav, .footer nav { display: flex; font-family: var(--mono); font-size: 10px; gap: 24px; text-transform: lowercase; }
.site-header nav a, .footer nav a { border-bottom: 1px solid transparent; padding: 10px 0 4px; }
.site-header nav a:hover, .footer nav a:hover { border-color: currentColor; }
.site-header .nav-contact { background: var(--ink); border: 1px solid var(--ink); color: var(--paper); padding: 9px 12px; transition: background .2s, border-color .2s; }
.site-header .nav-contact:hover { background: var(--green); border-color: var(--green); color: white; }
.mobile-nav { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr); min-height: calc(100vh - 74px); }
.hero-copy { align-self: center; padding: 90px 5vw 100px; }
.hero-intro { align-items: center; display: flex; gap: 17px; }
.hero-avatar { flex: 0 0 auto; position: relative; }
.hero-avatar .avatar-frames { border-color: rgba(16, 20, 17, .18); box-shadow: 0 12px 30px rgba(6, 75, 59, .13); height: 128px; width: 128px; }
.hero-avatar > span { color: var(--green); font-size: 10px; position: absolute; right: 0; bottom: 2px; text-shadow: 0 0 0 var(--paper), 0 0 7px var(--paper); }
.eyebrow { font-family: var(--mono); font-size: 9px; letter-spacing: .07em; margin: 0; text-transform: uppercase; }
.hero h1 { font-family: var(--serif); font-size: clamp(58px, 7vw, 112px); font-weight: 400; letter-spacing: -.068em; line-height: .89; margin: 27px 0 35px; max-width: 1180px; }
.hero h1 em { color: var(--green); font-weight: 400; position: relative; }
.hero h1 em::after { background: var(--venus); bottom: -.05em; content: ""; height: .08em; left: 0; opacity: .85; position: absolute; transform: rotate(-1deg); width: 100%; }
.hero-disciplines { color: var(--ink-soft); font-size: clamp(14px, 1.25vw, 18px); line-height: 1.7; max-width: 730px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 38px; }
.button { align-items: center; border: 1px solid var(--ink); display: inline-flex; font-family: var(--mono); font-size: 10px; gap: 35px; justify-content: space-between; min-width: 185px; padding: 14px 16px; transition: background .2s, color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--paper); }
.button-primary:hover { background: var(--green); color: white; }
.button-quiet:hover { background: var(--paper-deep); }

.hero-console { background: var(--green); color: var(--paper); display: flex; flex-direction: column; min-height: 580px; overflow: hidden; position: relative; }
.console-bar { align-items: center; border-bottom: 1px solid rgba(242, 239, 230, .22); display: flex; gap: 7px; height: 46px; padding: 0 20px; }
.console-bar i { background: var(--green-light); border-radius: 50%; display: block; height: 7px; opacity: .55; width: 7px; }
.console-bar i:nth-child(2) { background: var(--venus); }
.console-bar i:nth-child(3) { background: var(--acid); }
.console-bar span { font-family: var(--mono); font-size: 8px; margin-left: 7px; opacity: .55; }
.console-body { font-family: var(--mono); padding: clamp(34px, 5vw, 68px); position: relative; z-index: 2; }
.console-line + .console-line { margin-top: 25px; }
.console-body p { font-size: 9px; margin: 0 0 7px; opacity: .6; }
.console-body p span { color: var(--acid); }
.console-body strong { display: block; font-size: clamp(12px, 1.1vw, 16px); font-weight: 500; line-height: 1.55; }
.identity-mark { aspect-ratio: 1; border: 1px solid rgba(242, 239, 230, .25); border-radius: 50%; bottom: -75px; display: grid; place-items: center; position: absolute; right: -55px; width: min(330px, 85%); }
.identity-mark .orbit { border: 1px solid rgba(242, 239, 230, .18); border-radius: 50%; position: absolute; }
.orbit-one { height: 67%; width: 67%; }
.orbit-two { height: 35%; width: 35%; }
.avatar-frames { background: var(--paper); border: 1px solid rgba(242, 239, 230, .55); border-radius: 50%; box-shadow: 0 20px 60px rgba(0, 0, 0, .22); height: 205px; overflow: hidden; position: relative; width: 205px; }
.avatar-frames img { height: 100%; left: 0; object-fit: cover; position: absolute; top: 0; width: 100%; }
.avatar-wink { animation: wink 6s steps(1) infinite; opacity: 0; }
.avatar-frames:hover .avatar-wink { animation: wink-on-hover .9s steps(1) 1; opacity: 0; }

.toolbelt { align-items: start; background: var(--ink); color: var(--paper); display: grid; gap: 35px; grid-template-columns: 120px 1fr; padding: 27px 5vw; }
.toolbelt > p { font-family: var(--mono); font-size: 8px; margin: 7px 0 0; opacity: .55; text-transform: uppercase; }
.toolbelt ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.toolbelt li { border: 1px solid rgba(242, 239, 230, .25); font-family: var(--mono); font-size: 8px; padding: 7px 9px; }

.section-index { background: var(--paper); border-bottom: 1px solid var(--ink); display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 5vw; }
.section-index a { border-right: 1px solid var(--line); display: grid; min-height: 150px; padding: 25px 24px 22px; transition: background .2s, color .2s; }
.section-index a:first-child { border-left: 1px solid var(--line); }
.section-index a:hover { background: var(--green); color: var(--paper); }
.section-index span, .section-index small { font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.section-index span { color: var(--green); transition: color .2s; }
.section-index a:hover span { color: var(--acid); }
.section-index strong { align-self: end; font-family: var(--serif); font-size: clamp(20px, 2vw, 29px); font-weight: 400; letter-spacing: -.035em; margin-top: 24px; }
.section-index small { margin-top: 7px; opacity: .58; }

.section { padding: 120px 5vw; }
.section-heading { display: grid; gap: 50px; grid-template-columns: minmax(120px, .27fr) minmax(0, 1fr); margin-bottom: 75px; }
.section-heading > p { padding-top: 12px; }
.section-heading > div { max-width: 930px; }
.section-heading h2, .notes-panel h2, .footer h2 { font-family: var(--serif); font-size: clamp(50px, 6vw, 90px); font-weight: 400; letter-spacing: -.06em; line-height: .92; margin: 0; }
.section-heading > div > p { color: var(--ink-soft); font-size: 15px; line-height: 1.65; margin: 24px 0 0; max-width: 620px; }
.compact-heading h2 { font-size: clamp(46px, 5vw, 76px); }

.selected-work { background: var(--paper-deep); }
.work-list { border-top: 1px solid var(--ink); }
.work-story { border-bottom: 1px solid var(--ink); display: grid; gap: 30px; grid-template-columns: 50px minmax(300px, 1fr) minmax(250px, .62fr); padding: 35px 12px; }
.work-number, .work-context, .work-proof > p { font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.work-number { padding-top: 5px; }
.work-context { color: var(--green); margin: 0 0 13px; }
.work-main h3 { font-family: var(--serif); font-size: clamp(31px, 3.5vw, 50px); font-weight: 400; letter-spacing: -.045em; line-height: 1; margin: 0 0 16px; }
.work-main > p:last-child { color: var(--ink-soft); font-size: 13px; line-height: 1.6; margin: 0; max-width: 620px; }
.work-proof { border-left: 1px solid var(--line); padding: 4px 0 4px 30px; }
.work-proof > p { color: var(--ink-soft); margin: 0 0 12px; }
.work-proof strong { color: var(--green); display: block; font-size: 17px; line-height: 1.35; max-width: 340px; }
.work-proof ul, .build-grid ul { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 25px 0 0; padding: 0; }
.work-proof li, .build-grid li { border: 1px solid var(--line); font-family: var(--mono); font-size: 7px; padding: 6px 8px; }
.story-method { align-items: center; background: var(--green); color: var(--paper); display: flex; flex-wrap: wrap; font-family: var(--mono); font-size: 8px; gap: 13px; justify-content: center; margin-top: 52px; padding: 24px; text-transform: uppercase; }
.story-method i { color: var(--green-light); font-style: normal; }
.story-method strong { color: var(--acid); font-weight: 500; }

.experience { background: var(--paper); }
.experience-list { border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(4, 1fr); }
.experience-list article { border-right: 1px solid var(--line); min-height: 230px; padding: 24px; }
.experience-list article:last-child { border-right: 0; }
.experience-list h3 { font-family: var(--serif); font-size: 33px; font-weight: 400; letter-spacing: -.04em; margin: 25px 0 40px; }
.experience-list p { font-size: 12px; line-height: 1.5; margin: 0 0 12px; }
.experience-list span { color: var(--ink-soft); font-family: var(--mono); font-size: 7px; line-height: 1.7; text-transform: uppercase; }

.builds { background: var(--green); color: var(--paper); }
.builds .section-heading > div > p { color: rgba(242, 239, 230, .62); }
.build-grid { border-top: 1px solid rgba(242, 239, 230, .5); display: grid; grid-template-columns: repeat(3, 1fr); }
.build-grid > a { border-right: 1px solid rgba(242, 239, 230, .25); display: grid; grid-template-rows: auto 1fr auto; min-height: 320px; padding: 25px; transition: background .2s, color .2s; }
.build-grid > a:last-child { border-right: 0; }
.build-grid > a:hover { background: var(--acid); color: var(--ink); }
.build-grid > a > span, .build-grid p { font-family: var(--mono); font-size: 8px; text-transform: uppercase; }
.build-grid > a > div { align-self: center; }
.build-grid h3 { font-family: var(--serif); font-size: clamp(30px, 3vw, 43px); font-weight: 400; letter-spacing: -.045em; line-height: 1; margin: 14px 0; }
.build-grid > a > b { font-size: 18px; font-weight: 400; justify-self: end; }
.build-grid > a:hover li { border-color: rgba(16, 20, 17, .35); }

.writing { background: var(--paper); }
.writing-grid { border-top: 1px solid var(--ink); display: grid; grid-template-columns: repeat(2, 1fr); }
.writing-grid > a, .writing-grid > article { border-bottom: 1px solid var(--line); min-height: 245px; padding: 27px 28px 35px; transition: background .2s; }
.writing-grid > :nth-child(odd) { border-right: 1px solid var(--line); }
.writing-grid > a:hover { background: var(--paper-deep); }
.writing-grid > a { position: relative; }
.writing-grid > a::after { content: "Read ↗"; font-family: var(--mono); font-size: 8px; position: absolute; right: 28px; bottom: 28px; text-transform: uppercase; }
.writing-grid > article.planned { background: rgba(231, 225, 212, .28); }
.writing-grid > article { margin: 0; }
.writing-grid > :is(a, article) > div { display: flex; font-family: var(--mono); font-size: 7px; justify-content: space-between; text-transform: uppercase; }
.writing-grid > :is(a, article) > div span { color: var(--green); }
.writing-grid > :is(a, article) > div b { font-weight: 400; opacity: .55; }
.writing-grid h3 { font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 400; letter-spacing: -.04em; line-height: 1.05; margin: 48px 0 17px; max-width: 590px; }
.writing-grid > :is(a, article) > p { color: var(--ink-soft); font-size: 12px; margin: 0; }
.text-link { border-bottom: 1px solid; display: block; font-family: var(--mono); font-size: 9px; margin: 35px 0 0 auto; padding-bottom: 5px; width: fit-content; }

.notes-human { display: grid; grid-template-columns: 1fr 1fr; padding: 0; }
.notes-panel, .human-panel { min-height: 620px; padding: 100px 5vw; }
.notes-panel { background: var(--paper-deep); }
.notes-panel h2 { font-size: clamp(48px, 5vw, 75px); margin: 70px 0; }
.notes-panel ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.notes-panel li { border: 1px solid var(--ink); font-family: var(--mono); font-size: 8px; padding: 9px 11px; }
.human-panel { background: var(--venus); display: flex; flex-direction: column; }
.human-panel blockquote { font-family: var(--serif); font-size: clamp(27px, 3vw, 43px); letter-spacing: -.035em; line-height: 1.28; margin: auto 0; }
.human-panel blockquote span { font-family: var(--sans); font-size: .7em; }
.human-signoff { align-items: center; border-top: 1px solid rgba(16, 20, 17, .35); display: flex; gap: 15px; padding-top: 20px; }
.human-signoff span { border: 1px solid var(--ink); border-radius: 50%; display: grid; font-family: var(--mono); font-size: 9px; height: 42px; place-items: center; width: 42px; }
.human-signoff p { font-family: var(--mono); font-size: 7px; line-height: 1.6; margin: 0; text-transform: uppercase; }

.footer { background: var(--ink); color: var(--paper); padding: 120px 5vw 35px; text-align: center; }
.footer > .eyebrow { color: var(--green-light); }
.footer h2 { font-size: clamp(58px, 8vw, 120px); margin: 35px auto 25px; max-width: 1150px; }
.footer h2 em { color: var(--venus); font-weight: 400; }
.footer > p:not(.eyebrow) { color: rgba(242, 239, 230, .62); font-size: 14px; }
.button-light { background: var(--paper); color: var(--ink); margin: 38px 0 115px; }
.button-light:hover { background: var(--acid); color: var(--ink); }
.footer-line { align-items: center; border-top: 1px solid rgba(242, 239, 230, .2); display: flex; justify-content: space-between; padding-top: 28px; text-align: left; }

@keyframes blink { 50% { opacity: 0; } }
@keyframes wink {
  0%, 89%, 94%, 100% { opacity: 0; }
  90%, 93% { opacity: 1; }
}
@keyframes wink-on-hover {
  0%, 24%, 58%, 100% { opacity: 0; }
  25%, 57% { opacity: 1; }
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .hero-console { min-height: 300px; }
  .console-body { display: grid; gap: 28px; grid-template-columns: repeat(3, 1fr); padding: 42px 5vw; }
  .console-line + .console-line { margin-top: 0; }
  .identity-mark { bottom: -120px; width: 260px; }
  .work-story { grid-template-columns: 40px minmax(0, 1fr); }
  .work-proof { border-left: 0; grid-column: 2; padding: 10px 0 0; }
  .experience-list { grid-template-columns: repeat(2, 1fr); }
  .experience-list article:nth-child(2) { border-right: 0; }
  .experience-list article { border-bottom: 1px solid var(--line); }
  .build-grid { grid-template-columns: 1fr; }
  .build-grid > a { border-bottom: 1px solid rgba(242, 239, 230, .25); border-right: 0; min-height: 270px; }
  .notes-human { grid-template-columns: 1fr; }
  .section-index { grid-template-columns: repeat(2, 1fr); }
  .section-index a:nth-child(2) { border-right: 0; }
  .section-index a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 640px) {
  .site-header { height: 62px; padding-inline: 22px; }
  .desktop-nav { display: none !important; }
  .mobile-nav { display: block; font-family: var(--mono); position: relative; }
  .mobile-nav summary { cursor: pointer; font-size: 9px; list-style: none; padding: 12px 0 12px 16px; text-transform: uppercase; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { color: var(--green); display: inline-block; font-size: 14px; margin-left: 4px; transition: transform .2s; }
  .mobile-nav[open] summary span { transform: rotate(45deg); }
  .mobile-nav nav { background: var(--ink); border: 1px solid var(--ink); color: var(--paper); display: grid; gap: 0; min-width: 230px; padding: 8px; position: absolute; right: 0; top: 45px; }
  .mobile-nav nav a { align-items: center; border-bottom: 1px solid rgba(242, 239, 230, .16); display: flex; font-size: 11px; justify-content: space-between; padding: 15px 13px; }
  .mobile-nav nav a:last-child { border-bottom: 0; }
  .mobile-nav nav a span { color: var(--green-light); font-size: 7px; order: 2; }
  .hero-copy { padding: 70px 22px 75px; }
  .hero-intro { gap: 13px; }
  .hero-avatar .avatar-frames { height: 96px; width: 96px; }
  .hero h1 { font-size: clamp(51px, 15vw, 72px); }
  .hero-console { min-height: 285px; }
  .console-body { gap: 17px; grid-template-columns: 1fr; padding: 27px 22px 32px; }
  .console-body strong { font-size: 12px; }
  .identity-mark { bottom: -115px; right: -70px; width: 220px; }
  .toolbelt { grid-template-columns: 1fr; padding: 26px 22px; }
  .section-index { grid-template-columns: 1fr; padding: 0 22px; }
  .section-index a { border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); border-right: 1px solid var(--line); grid-template-columns: 28px 1fr; min-height: 0; padding: 20px 17px; }
  .section-index a:nth-child(2) { border-right: 1px solid var(--line); }
  .section-index a:last-child { border-bottom: 0; }
  .section-index span { grid-row: 1 / 3; padding-top: 5px; }
  .section-index strong { font-size: 23px; margin: 0; }
  .section-index small { margin-top: 3px; }
  .section { padding: 90px 22px; }
  .section-heading { gap: 26px; grid-template-columns: 1fr; margin-bottom: 52px; }
  .section-heading > p { padding-top: 0; }
  .section-heading h2, .compact-heading h2 { font-size: 49px; }
  .work-story { gap: 15px; grid-template-columns: 26px minmax(0, 1fr); padding-inline: 0; }
  .work-main h3 { font-size: 34px; }
  .story-method { justify-content: flex-start; }
  .experience-list, .writing-grid { grid-template-columns: 1fr; }
  .experience-list article { border-right: 0; }
  .writing-grid > :nth-child(odd) { border-right: 0; }
  .writing-grid > a, .writing-grid > article { min-height: 220px; padding-inline: 0; }
  .notes-panel, .human-panel { min-height: 560px; padding: 85px 22px; }
  .footer { padding: 95px 22px 30px; }
  .footer h2 { font-size: 58px; }
  .footer-line { align-items: flex-start; flex-direction: column; gap: 30px; }
  .footer nav { flex-wrap: wrap; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .avatar-wink { display: none; }
}
