:root {
  color-scheme: light;
  --paper: #f7f7f2;
  --surface: #ffffff;
  --ink: #243b35;
  --muted: #5e6c64;
  --green: #275c48;
  --line: #d9dfd5;
  --tint: #eaf0e6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 4px; }
a:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; border-radius: 2px; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.site-shell { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 10; background: var(--ink); color: white; padding: 12px 20px; }
.skip-link:focus { top: 16px; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 112px; border-bottom: 1px solid var(--line); gap: 24px; }
.wordmark { text-decoration: none; font-weight: 650; font-size: 18px; letter-spacing: -.4px; }
.site-header nav { display: flex; align-items: center; gap: 30px; font-size: 14px; }
.site-header nav a, .footer-links a { text-decoration: none; }
.site-header nav a:hover, .footer-links a:hover { text-decoration: underline; }
.projects { padding-top: 44px; }
.eyebrow { color: var(--green); font-size: 11px; font-weight: 650; letter-spacing: 1.6px; text-transform: uppercase; line-height: 1.5; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.section-heading h1, .section-heading h2 { font-size: 17px; font-weight: 600; letter-spacing: -.3px; }
.section-note { color: var(--muted); font-size: 12px; }
.featured-project { display: grid; grid-template-columns: .95fr 1.2fr; overflow: hidden; border-radius: 12px; background: var(--tint); border: 1px solid #dbe3d4; }
.featured-copy { padding: 42px; display: flex; align-items: flex-start; flex-direction: column; }
.featured-copy h2 { margin-top: 23px; font: 400 40px/1.12 var(--serif); letter-spacing: -1.1px; }
.featured-copy h2 a, .project-copy :is(h2, h3) a { text-decoration: none; }
.featured-copy h2 a:hover, .project-copy :is(h2, h3) a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.featured-copy > p:not(.eyebrow) { margin-top: 22px; color: #4d6355; font-size: 15px; line-height: 1.75; }
.tags { display: flex; flex-wrap: wrap; list-style: none; gap: 7px; margin: 22px 0 28px; padding: 0; }
.tags li { font-size: 11px; color: #4d6355; border: 1px solid #cad7c4; padding: 3px 10px; border-radius: 4px; }
.button-link { display: inline-flex; align-items: center; gap: 25px; margin-top: auto; background: var(--green); color: #fff; padding: 12px 18px; text-decoration: none; font-size: 13px; font-weight: 600; border-radius: 5px; transition: background .15s ease; }
.button-link:hover { background: #193f31; }
.featured-preview { display: block; position: relative; min-height: 0; margin: 20px 20px 20px 0; overflow: hidden; border: 1px solid #cbd4c7; border-radius: 7px; background: #b8d5da; }
.featured-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right bottom; }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 28px; }
.project-card { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.project-preview { display: block; overflow: hidden; background: #edf0eb; border-bottom: 1px solid var(--line); }
.project-preview img { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; object-position: right bottom; transition: transform .25s ease; }
.project-preview--contain { background: var(--surface); }
.project-preview--contain img { object-fit: contain; object-position: center; }
.project-preview:hover img { transform: scale(1.025); }
.project-copy { padding: 28px 30px 30px; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.project-copy :is(h2, h3) { width: 100%; margin-top: 12px; font: 400 30px/1.25 var(--serif); letter-spacing: -.7px; }
.project-copy :is(h2, h3) a { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.project-arrow { color: #6d7d68; font: 24px var(--sans); }
.project-copy > p:not(.eyebrow) { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 15px 0 22px; }
.project-copy .text-link { margin-top: auto; font-size: 13px; }
.earlier-projects { padding: 70px 0 74px; }
.collection-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.collection-card .project-copy h3 { margin-top: 0; font-size: 27px; }
.collection-card .project-copy > p { margin-bottom: 0; }
.about { border-top: 1px solid var(--line); padding: 50px 0 67px; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 42px; margin-top: 22px; }
.about h2 { font: 400 36px/1.22 var(--serif); letter-spacing: -.8px; }
.about-content p { color: var(--muted); font-size: 14px; line-height: 1.85; }
.about-content p + p { margin-top: 17px; }
.about-content a { color: var(--green); }
.site-footer { border-top: 1px solid var(--line); padding: 26px 0 24px; color: var(--muted); font-size: 12px; }
.footer-main { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.footer-dot { margin: 0 8px; }
.footer-links { display: flex; gap: 22px; }
.map-credits { font-size: 10px; margin-top: 18px; }

.pendulums-page { max-width: 760px; padding: 44px 0 72px; }
.pendulums-page h1 { margin-top: 28px; font: 400 44px/1.2 var(--serif); letter-spacing: -1px; }
.pendulums-page > p { margin-top: 18px; color: var(--muted); font-size: 15px; }
.pendulums-page ul { list-style: none; padding: 0; margin: 34px 0 0; border-top: 1px solid var(--line); }
.pendulums-page li { border-bottom: 1px solid var(--line); }
.pendulums-page li a { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 8px; text-decoration: none; font-size: 16px; font-weight: 500; }
.pendulums-page li a::after { content: '↗'; color: var(--muted); font-size: 21px; }
.pendulums-page li a:hover { background: var(--tint); color: var(--green); }

@media (min-width: 1000px) {
  .featured-project { min-height: 470px; }
}
@media (max-width: 900px) {
  .site-shell { width: calc(100% - 64px); }
  .featured-copy { padding: 30px; }
  .featured-copy h2 { font-size: 34px; }
  .featured-preview { margin: 16px 16px 16px 0; }
  .project-copy { padding: 24px; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 20px; }
  .site-shell { width: calc(100% - 40px); }
  .site-header { min-height: 86px; gap: 16px; }
  .wordmark { font-size: 16px; }
  .site-header nav { gap: 16px; font-size: 12px; }
  .site-header nav a { padding-block: 13px; }
  .site-header nav a:last-child { display: none; }
  .projects { padding-top: 28px; }
  .section-heading { gap: 12px; margin-bottom: 20px; }
  .section-heading h1, .section-heading h2 { font-size: 16px; }
  .section-note { font-size: 11px; }
  .featured-project { grid-template-columns: 1fr; }
  .featured-copy { padding: 28px; }
  .featured-copy h2 { max-width: 350px; margin-top: 16px; font-size: 36px; }
  .featured-copy > p:not(.eyebrow) { margin-top: 18px; }
  .tags { margin-bottom: 24px; }
  .featured-preview { margin: 0 12px 12px; }
  .featured-preview img { position: static; height: auto; aspect-ratio: 1.2; }
  .project-grid { grid-template-columns: 1fr; gap: 22px; margin-top: 22px; }
  .project-copy { padding: 26px; }
  .project-copy :is(h2, h3) { font-size: 29px; }
  .project-copy > p:not(.eyebrow) { font-size: 14px; }
  .earlier-projects { padding: 49px 0 45px; }
  .earlier-projects .section-heading { display: block; }
  .earlier-projects .section-note { display: block; margin-top: 5px; }
  .collection-grid { grid-template-columns: 1fr; gap: 22px; }
  .about { padding: 37px 0 45px; }
  .about-content { grid-template-columns: 1fr; gap: 22px; }
  .about h2 { font-size: 34px; }
  .footer-main { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-links a { padding-block: 8px; }
  .pendulums-page { padding: 28px 0 45px; }
  .pendulums-page h1 { font-size: 36px; }
  .pendulums-page li a { padding-block: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
