:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Helvetica, Arial, sans-serif;
  color: #20211f;
  background: #f7f7f2;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #5c66d9; outline-offset: 4px; border-radius: 4px; }
::selection { background: #d9f6ad; color: #1c2416; }

.skip-link {
  position: fixed;
  z-index: 10;
  top: -80px;
  left: 16px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: #20211f;
}
.skip-link:focus { top: 16px; }
.page-shell { max-width: 1048px; padding: 0 36px; margin: 0 auto; }

.site-header {
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e2e3dc;
}
.wordmark { text-decoration: none; font-weight: 810; font-size: 27px; letter-spacing: -.085em; line-height: 1; }
.wordmark span, .period { color: #6b8555; }
.header-note { margin-right: auto; margin-left: 36px; color: #8b8e85; font-size: 12px; letter-spacing: -.01em; }
.header-link { white-space: nowrap; font-size: 13px; font-weight: 630; text-decoration: none; }
.header-link span, .text-link span, .footer-links span { font-size: 15px; margin-left: 3px; display: inline-block; transition: transform .18s ease; }
.header-link:hover span, .text-link:hover span, .footer-links a:hover span { transform: translate(2px, -2px); }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) 190px; gap: 72px; align-items: center; padding: 88px 6px 100px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 11px; font-weight: 720; letter-spacing: .105em; color: #676c60; }
.eyebrow-dot { width: 7px; height: 7px; background: #a4c281; border-radius: 50%; box-shadow: 0 0 0 4px #e5eed9; }
h1 { margin: 27px 0 17px; font-size: clamp(48px, 6.3vw, 73px); line-height: 1.055; letter-spacing: -.076em; font-weight: 760; }
h1 > span { white-space: nowrap; }
.role { color: #3d413a; font-size: 14px; font-weight: 660; letter-spacing: -.005em; margin: 0; }
.role span { padding: 0 7px; color: #aaa9a1; font-weight: 400; }
.intro-description { max-width: 555px; font-size: 17px; line-height: 1.73; letter-spacing: -.017em; color: #70736c; margin: 25px 0 0; }
.intro-links { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 25px; }
.text-link { font-size: 14px; line-height: 1.4; font-weight: 690; text-decoration: none; padding-bottom: 3px; border-bottom: 1px solid #858a7b; }
.text-link--muted { font-weight: 540; color: #76796f; border-color: #c6c9bf; }

.portrait-wrap { position: relative; width: 172px; height: 172px; justify-self: center; margin-top: 8px; }
.portrait-backdrop { position: absolute; inset: 0; border-radius: 31px; background: #d9efb6; transform: rotate(9deg) translate(7px, -7px); }
.portrait-wrap img { position: relative; display: block; width: 100%; height: 100%; border-radius: 28px; object-fit: cover; filter: grayscale(100%); box-shadow: 0 7px 22px rgba(28,37,20,.09); }
.portrait-sparkle { position: absolute; top: -28px; right: -30px; font-size: 40px; line-height: 1; color: #9dbb80; transform: rotate(-16deg); }

.projects { padding: 0 0 125px; scroll-margin-top: 44px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-kicker { color: #8b8e82; font-size: 10px; line-height: 1.5; font-weight: 740; letter-spacing: .13em; }
h2 { font-size: 35px; line-height: 1.15; letter-spacing: -.057em; margin: 10px 0 0; font-weight: 760; }
.projects-count { color: #92978b; font-size: 12px; white-space: nowrap; margin-bottom: 4px; }
.projects-count span { font-size: 16px; padding-left: 5px; }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.project-card {
  min-height: 119px;
  display: flex;
  align-items: flex-start;
  gap: 17px;
  position: relative;
  padding: 23px 20px;
  border: 1px solid #e1e3da;
  background: rgba(255,255,255,.70);
  border-radius: 17px;
  color: #22251f;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.project-card:hover { border-color: #bbc3af; background: #fff; box-shadow: 0 15px 36px rgba(42,48,35,.065); transform: translateY(-2px); }
.project-card:focus-visible { outline-offset: 3px; }
.project-icon { display: grid; place-items: center; flex: 0 0 54px; height: 54px; border-radius: 14px; overflow: hidden; }
.project-icon svg { width: 32px; height: 32px; }
.icon-nerio { background: #e9ecfb; color: #605bc6; }
.icon-ait { background: #e4e6ed; color: #27293a; }
.icon-plinth { background: #f0e9ff; color: #8162c1; }
.icon-museum { background: #fff0d6; color: #b87936; }
.icon-refs { background: #e5f1d8; color: #5a8840; }
.icon-briefs { background: #e2eefa; color: #4f7eac; }
.icon-prompts { background: #fee9d8; color: #ce7845; }
.icon-shaders { background: #eee4fc; }
.icon-briefbook { background: #fce6dc; color: #cd7e65; }
.icon-cashday { background: #def2dc; color: #488b55; }
.orb { display: block; width: 35px; height: 35px; border-radius: 50%; background: radial-gradient(circle at 28% 24%, #fff 0, #fac6eb 15%, #b8a3eb 39%, #6d5abc 67%, #433b7c 100%); box-shadow: inset -4px -4px 8px #5f4fa366, 1px 3px 5px #55458b26; }
.project-text { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 6px; padding-top: 3px; padding-right: 8px; }
.project-text strong { font-size: 16px; font-weight: 715; letter-spacing: -.025em; line-height: 1.3; }
.project-text > span { font-size: 13px; letter-spacing: -.005em; color: #656d60; line-height: 1.48; max-width: 285px; }
.project-meta { display: inline-block; vertical-align: 2px; margin-left: 4px; color: #9a9d92; font-size: 10px; letter-spacing: 0; font-weight: 560; }
.project-arrow { font-size: 17px; line-height: 1; color: #a4aa9f; transition: transform .18s ease, color .18s ease; }
.project-card:hover .project-arrow { color: #3a4838; transform: translate(2px,-2px); }

.site-footer { border-top: 1px solid #e2e3dc; padding: 28px 0 42px; display: flex; gap: 24px; align-items: center; justify-content: space-between; }
.footer-copy { display: flex; align-items: center; gap: 9px; color: #6f756b; font-size: 12px; }
.footer-sparkle { color: #88a96e; font-size: 19px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; align-items: center; }
.footer-links a { font-size: 12px; color: #50544c; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: #171b17; }

@media (max-width: 800px) {
  .page-shell { padding: 0 28px; }
  .intro { grid-template-columns: 1fr 130px; gap: 34px; padding: 85px 2px 95px; }
  h1 { font-size: clamp(44px, 7vw, 64px); }
  .portrait-wrap { width: 126px; height: 126px; }
  .portrait-backdrop { border-radius: 25px; }
  .portrait-wrap img { border-radius: 22px; }
  .portrait-sparkle { top: -23px; right: -25px; font-size: 31px; }
  .project-card { padding: 21px 16px; gap: 13px; }
  .project-icon { flex-basis: 48px; height: 48px; border-radius: 13px; }
}

@media (max-width: 650px) {
  .page-shell { padding: 0 20px; }
  .site-header { height: 78px; }
  .header-note { display: none; }
  .header-link { font-size: 12px; }
  .intro { grid-template-columns: 1fr; position: relative; gap: 0; padding: 78px 0 82px; }
  .portrait-wrap { position: absolute; top: 62px; right: 8px; width: 85px; height: 85px; }
  .portrait-wrap img { border-radius: 17px; }
  .portrait-backdrop { border-radius: 18px; transform: rotate(8deg) translate(4px, -3px); }
  .portrait-sparkle { top: -18px; right: -17px; font-size: 24px; }
  .eyebrow { font-size: 9px; max-width: calc(100% - 100px); }
  h1 { font-size: clamp(42px, 9.4vw, 58px); letter-spacing: -.074em; margin-top: 44px; }
  .role { font-size: 12px; }
  .intro-description { font-size: 15px; line-height: 1.72; margin-top: 21px; }
  .intro-links { margin-top: 23px; gap: 24px; }
  .text-link { font-size: 13px; }
  .section-heading { align-items: flex-start; margin-bottom: 23px; }
  h2 { font-size: 31px; }
  .projects-count { font-size: 10px; margin-top: 28px; }
  .project-grid { grid-template-columns: 1fr; gap: 10px; }
  .project-card { min-height: 104px; padding: 20px 18px; gap: 16px; }
  .project-icon { flex-basis: 50px; height: 50px; }
  .project-text { padding-top: 1px; }
  .project-text > span { max-width: none; }
  .projects { padding-bottom: 75px; }
  .site-footer { padding: 25px 0 34px; align-items: flex-start; flex-direction: column; gap: 20px; }
  .footer-links { gap: 20px; }
}

@media (max-width: 385px) {
  h1 { font-size: 40px; }
  .portrait-wrap { width: 72px; height: 72px; }
  .projects-count { display: none; }
}

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