:root {
  color-scheme: light;
  --background: #f7f6f2;
  --text: #222820;
  --muted: #656a60;
  --line: #d7d9cf;
  --accent: #3d6038;
  --panel: #e9eddf;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #1c211c;
  --text: #f0f1e8;
  --muted: #b7bdb0;
  --line: #41483c;
  --accent: #b6d59c;
  --panel: #293326;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--background); color: var(--text); font-family: Arial, Helvetica, sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
a:hover { color: var(--accent); }
main, .site-header, .site-footer { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 16px; padding: 10px 18px; background: var(--text); color: var(--background); z-index: 1; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 110px; display: flex; align-items: center; gap: 38px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 22px; font-weight: 700; letter-spacing: -1px; margin-right: auto; }
.wordmark span { color: var(--accent); }
nav { display: flex; gap: 30px; }
nav a { font-size: 14px; padding-block: 8px; }
nav a[aria-current="page"] { border-bottom: 2px solid var(--accent); }
.theme-toggle { background: transparent; color: var(--text); border: 1px solid var(--line); border-radius: 24px; padding: 7px 13px; font-size: 12px; cursor: pointer; }
.theme-toggle:hover { border-color: var(--accent); }
.hero { padding: 83px 0 74px; }
.eyebrow { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 28px; }
.status-dot { display: inline-block; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; margin-right: 8px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(44px, 6.7vw, 82px); line-height: 1.1; font-weight: 500; letter-spacing: -4px; margin-bottom: 36px; }
em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; color: var(--accent); }
.hero-bottom { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.hero-bottom p { max-width: 350px; color: var(--muted); margin: 0; }
.button { display: inline-flex; gap: 35px; align-items: center; background: var(--text); color: var(--background); padding: 14px 21px; border-radius: 3px; font-size: 13px; white-space: nowrap; }
.button:hover { background: var(--accent); color: var(--background); }
.work-section { padding: 32px 0 76px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-heading h2 { font-size: 18px; font-weight: 500; margin: 0; letter-spacing: -.4px; }
.muted { color: var(--muted); font-size: 12px; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.project-art { aspect-ratio: 1.15; display: flex; align-items: center; justify-content: center; overflow: hidden; color: #233323; }
.project:hover .project-art > div { transform: translateY(-5px); }
.project-art > div { transition: transform 180ms ease; }
.art-notes { background: #dfe6d6; }
.note-sheet { width: 66%; height: 78%; background: #f7f5e9; padding: 20px; box-shadow: 4px 8px 18px #253c2415; transform: rotate(-6deg); display: flex; flex-direction: column; justify-content: space-between; }
.note-sheet span, .space-window > span { font-size: 7px; letter-spacing: 1.3px; }
.note-sheet strong { font-family: Georgia, serif; font-size: clamp(25px, 3.2vw, 42px); line-height: 1; font-weight: 400; }
.art-everyday { background: #ead9c8; flex-direction: column; gap: 14px; }
.everyday-circle { width: 63%; aspect-ratio: 1; border-radius: 50%; background: #ba5537; color: #fff3e1; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: clamp(30px, 4vw, 51px); letter-spacing: -2px; line-height: .8; }
.everyday-circle em { color: inherit; }
.art-caption { font-size: 7px; letter-spacing: 2px; }
.art-space { background: #d8e0e5; }
.space-window { width: 70%; height: 79%; padding: 15px; background: #f3f5ef; display: flex; flex-direction: column; align-items: center; justify-content: space-between; }
.space-arch { height: 67%; width: 66%; border-radius: 60px 60px 0 0; background: linear-gradient(135deg, #adc1c5, #3c6068); }
.project-title { display: flex; align-items: baseline; justify-content: space-between; margin-top: 16px; }
.project h3 { font-size: 16px; font-weight: 500; margin: 0; }
.project p { font-size: 11px; color: var(--muted); margin: 4px 0 0; }
.callout { padding: 54px 40px; background: var(--panel); margin-bottom: 60px; }
.callout .eyebrow { margin-bottom: 20px; }
.callout h2, .prose h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 400; line-height: 1.15; letter-spacing: -1.5px; margin-bottom: 25px; }
.text-link { font-size: 14px; border-bottom: 1px solid var(--accent); padding-bottom: 6px; display: inline-block; }
.text-link span { margin-left: 20px; }
.site-footer { border-top: 1px solid var(--line); padding-block: 27px; display: flex; justify-content: space-between; gap: 20px; font-size: 11px; color: var(--muted); }
.site-footer p { margin: 0; }
.page-intro { padding: 80px 0 60px; }
.lead { font-size: 18px; max-width: 540px; color: var(--muted); margin-bottom: 0; }
.about-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: 70px; padding-bottom: 80px; align-items: start; }
.about-art { min-height: 430px; background: #dfe6d6; color: #354b32; padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; overflow: hidden; }
.about-art span { font-size: 9px; letter-spacing: 2px; }
.abstract-shape { width: 70%; aspect-ratio: 1; border-radius: 50% 50% 5% 50%; background: #728b61; transform: rotate(-20deg); box-shadow: 35px 20px 0 #c4cfaf; }
.prose { padding-top: 14px; }
.prose p, .info-row p { color: var(--muted); font-size: 15px; }
.prose h3 { font-size: 15px; font-weight: 500; margin-top: 28px; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 30px; padding: 0; }
.tags li { border: 1px solid var(--line); border-radius: 20px; padding: 5px 12px; font-size: 11px; }
.info-section { border-top: 1px solid var(--line); padding-top: 28px; }
.info-row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; border-top: 1px solid var(--line); padding: 28px 0; }
.info-row h3, .info-row h2 { font-size: 18px; font-weight: 500; margin: 0; }
.info-row p { margin: 0; max-width: 570px; }
.project-number { margin-right: 18px; font-size: 11px; color: var(--muted); }
.site-note { margin: 20px 0 40px; }
.contact-note { margin: 22px 0 0; }

@media (max-width: 760px) {
  main, .site-header, .site-footer { width: calc(100% - 40px); }
  .site-header { min-height: 100px; flex-wrap: wrap; gap: 12px 20px; padding-block: 18px; }
  .wordmark { font-size: 20px; }
  nav { gap: 20px; }
  .theme-toggle { margin-left: auto; }
  h1 { letter-spacing: -2px; }
  .hero, .page-intro { padding: 52px 0; }
  .hero-bottom { align-items: start; flex-direction: column; gap: 24px; }
  .project-grid { grid-template-columns: 1fr; gap: 32px; }
  .project-art { aspect-ratio: 1.3; }
  .note-sheet strong { font-size: 44px; }
  .everyday-circle { font-size: 60px; }
  .section-heading { flex-wrap: wrap; }
  .work-section { padding-bottom: 45px; }
  .callout { padding: 35px 24px; margin-bottom: 40px; }
  .about-layout { grid-template-columns: 1fr; gap: 30px; padding-bottom: 45px; }
  .about-art { min-height: 360px; max-width: 460px; width: 100%; }
  .abstract-shape { max-width: 220px; }
  .info-row { grid-template-columns: 1fr; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project-art > div { transition: none; }
}
