:root {
  --ink: #173d31;
  --ink-deep: #102e25;
  --paper: #f8f3e8;
  --paper-deep: #ece6d9;
  --gold: #e2b460;
  --sage: #dce3d0;
  --moss: #557c59;
  --line: rgba(23, 61, 49, .18);
  --white: #fffdf7;
  --sans: "Aptos", "Segoe UI", system-ui, sans-serif;
  --serif: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --max: 1320px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.skip-link { position: fixed; top: -60px; left: 1rem; z-index: 100; padding: .75rem 1rem; color: white; background: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header {
  width: min(calc(100% - 64px), var(--max));
  min-height: 100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: .85rem; text-decoration: none; line-height: 1.1; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: .98rem; letter-spacing: .09em; }
.brand small { margin-top: .35rem; font-size: .57rem; letter-spacing: .2em; }
.site-header nav { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.7rem); }
.site-header nav a { font-size: .73rem; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; }
.site-header nav a:hover, .site-header nav a:focus-visible { text-decoration: underline; text-underline-offset: .4rem; }
.site-header .nav-legal { padding: .7rem 1rem; border: 1px solid var(--ink); border-radius: 999px; }

.hero {
  width: min(calc(100% - 64px), var(--max));
  min-height: 720px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.03fr .97fr;
  align-items: center;
  overflow: hidden;
}
.hero-copy { position: relative; z-index: 1; padding: 5rem 2rem 5rem 0; }
.eyebrow, .section-index { margin: 0 0 2rem; font-size: .68rem; font-weight: 700; letter-spacing: .22em; }
.hero h1, .legal-title h1, .error-page h1 {
  margin: 0;
  font-size: clamp(4.2rem, 8.2vw, 8rem);
  font-weight: 500;
  line-height: .84;
  letter-spacing: -.075em;
}
h1 em, h2 em { font-family: var(--serif); font-weight: 500; }
.hero-lead { max-width: 610px; margin: 2.5rem 0; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; min-height: 54px; padding: .8rem 1.25rem; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--paper); background: var(--ink); }
.button-quiet { border: 1px solid var(--line); }
.button-light { color: var(--ink); background: var(--paper); }
.hero-art { position: relative; align-self: stretch; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; inset: 8% -18% 8% 4%; border-radius: 48% 0 0 48%; background: var(--paper-deep); }
.hero-art svg { position: relative; z-index: 1; width: min(100%, 620px); }
.hero-art p { position: absolute; right: 1rem; bottom: 2rem; z-index: 2; margin: 0; font-family: var(--serif); font-size: 1.5rem; font-style: italic; line-height: 1; transform: rotate(-6deg); }

.statement {
  padding: clamp(5rem, 9vw, 9rem) max(32px, calc((100vw - var(--max))/2));
  color: var(--paper);
  background: var(--ink);
  display: grid;
  grid-template-columns: .8fr 2fr;
  gap: 4rem;
}
.statement h2, .section-heading h2, .projects h2, .legal-cta h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
  line-height: .98;
  letter-spacing: -.055em;
  font-weight: 500;
}
.statement div p { max-width: 820px; margin: 3rem 0 0; color: rgba(248, 243, 232, .75); font-size: clamp(1.05rem, 1.6vw, 1.28rem); }

.activities {
  padding: clamp(5rem, 9vw, 9rem) max(32px, calc((100vw - var(--max))/2));
}
.section-heading { display: grid; grid-template-columns: .8fr 2fr; gap: 4rem; margin-bottom: 5rem; }
.activity-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.activity-grid article { min-height: 360px; padding: 2.2rem 2.2rem 2rem 0; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.activity-grid article + article { padding-left: 2.2rem; }
.activity-grid article:last-child { border-right: 0; }
.activity-grid span { font-family: var(--serif); font-size: 1rem; font-style: italic; }
.activity-grid h3 { max-width: 280px; margin: auto 0 1rem; font-size: clamp(1.5rem, 2vw, 2.1rem); line-height: 1.1; }
.activity-grid p { max-width: 360px; margin: 0; color: rgba(23, 61, 49, .72); }

.projects {
  padding: clamp(5rem, 9vw, 9rem) max(32px, calc((100vw - var(--max))/2));
  background: var(--sage);
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: clamp(4rem, 8vw, 9rem);
}
.projects-intro > p:last-child { max-width: 550px; margin-top: 2rem; color: rgba(23, 61, 49, .72); }
.project-list { align-self: end; }
.project-list a { min-height: 138px; padding: 1.4rem 0; display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 1.5rem; border-top: 1px solid rgba(23, 61, 49, .3); text-decoration: none; }
.project-list a:last-child { border-bottom: 1px solid rgba(23, 61, 49, .3); }
.project-list a > span:last-child { font-size: 1.6rem; transition: transform .2s ease; }
.project-list a:hover > span:last-child { transform: translate(4px, -4px); }
.project-no { font-family: var(--serif); font-style: italic; }
.project-list strong, .project-list small { display: block; }
.project-list strong { font-size: clamp(1.45rem, 2vw, 2rem); }
.project-list small { margin-top: .35rem; color: rgba(23, 61, 49, .65); }

.legal-cta {
  padding: clamp(5rem, 8vw, 8rem) max(32px, calc((100vw - var(--max))/2));
  color: var(--paper);
  background: var(--ink-deep);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
}
.legal-cta h2 { font-size: clamp(2.5rem, 4.4vw, 4.8rem); }

footer {
  padding: 4rem max(32px, calc((100vw - var(--max))/2)) 2rem;
  color: var(--paper);
  background: var(--ink-deep);
  border-top: 1px solid rgba(248, 243, 232, .15);
  display: grid;
  grid-template-columns: 1.4fr 1fr .7fr 1fr;
  gap: 2rem;
}
footer span, footer small, footer strong { display: block; }
footer span { margin-bottom: .6rem; color: rgba(248, 243, 232, .55); font-size: .64rem; letter-spacing: .16em; text-transform: uppercase; }
footer strong { font-size: .87rem; }
footer small { margin-top: .35rem; color: rgba(248, 243, 232, .65); }
.footer-brand strong { font-size: 1rem; letter-spacing: .1em; }
.footer-brand span { margin-top: .35rem; }
.footer-links { display: flex; flex-direction: column; gap: .4rem; font-size: .8rem; }
.copyright { grid-column: 1 / -1; margin: 4rem 0 0; padding-top: 1.5rem; border-top: 1px solid rgba(248, 243, 232, .12); color: rgba(248, 243, 232, .45); font-size: .68rem; letter-spacing: .08em; }

/* Legal and privacy pages */
.legal-main { width: min(calc(100% - 64px), var(--max)); margin: 0 auto; padding-bottom: 8rem; }
.legal-title { padding: clamp(5rem, 9vw, 9rem) 0 clamp(4rem, 7vw, 7rem); display: grid; grid-template-columns: 1.3fr .7fr; column-gap: 5rem; align-items: end; }
.legal-title .eyebrow { grid-column: 1 / -1; }
.legal-title h1 { font-size: clamp(4.2rem, 7.5vw, 7.5rem); }
.legal-title > p:last-child { max-width: 480px; margin: 0 0 .6rem; color: rgba(23, 61, 49, .7); font-size: 1.08rem; }
.facts { padding: 4rem; background: var(--white); border: 1px solid var(--line); }
.facts h2, .prose h2 { margin: 0 0 2.5rem; font-size: clamp(1.7rem, 2.5vw, 2.5rem); letter-spacing: -.04em; }
.facts dl { margin: 0; }
.facts dl > div { padding: 1.15rem 0; display: grid; grid-template-columns: minmax(160px, .65fr) 1.35fr; gap: 2rem; border-top: 1px solid var(--line); }
.facts dt { color: rgba(23, 61, 49, .62); font-size: .76rem; letter-spacing: .05em; text-transform: uppercase; }
.facts dd { margin: 0; font-weight: 600; }
.facts-split { margin-top: 2rem; background: transparent; display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; }
.facts-split > div + div { padding-left: 6rem; border-left: 1px solid var(--line); }
.facts-split dl > div { grid-template-columns: 1fr; gap: .25rem; }
.legal-note { margin-top: 2rem; padding: 2rem; color: var(--paper); background: var(--ink); display: grid; grid-template-columns: .4fr 1.6fr; gap: 2rem; }
.legal-note p { margin: 0; color: rgba(248, 243, 232, .75); }
.back-link { display: inline-flex; gap: .75rem; margin-top: 3rem; font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-underline-offset: .35rem; }
.privacy-main .legal-title { grid-template-columns: 1.4fr .6fr; }
.prose { max-width: 900px; padding: clamp(2.5rem, 5vw, 5rem); background: var(--white); border: 1px solid var(--line); }
.prose h2 { margin-top: 3.5rem; margin-bottom: 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: rgba(23, 61, 49, .76); font-size: 1.05rem; }
.prose .updated { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }

.error-page { min-height: 100vh; display: grid; place-items: center; background: var(--sage); }
.error-page main { width: min(calc(100% - 48px), 820px); }
.error-page h1 { margin-bottom: 2rem; }
.error-page main > p:not(.eyebrow) { max-width: 520px; margin-bottom: 2rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { width: min(calc(100% - 40px), var(--max)); min-height: 84px; }
  .site-header nav a:not(.nav-legal):not([aria-current]) { display: none; }
  .brand strong { font-size: .82rem; }
  .hero { width: min(calc(100% - 40px), var(--max)); min-height: auto; grid-template-columns: 1fr; }
  .hero-copy { padding: 5rem 0 2rem; }
  .hero-art { min-height: 500px; }
  .hero-art svg { width: min(100%, 520px); }
  .statement, .section-heading, .projects { grid-template-columns: 1fr; }
  .statement, .projects { gap: 2rem; }
  .section-heading { gap: 1rem; }
  .activity-grid { grid-template-columns: 1fr; }
  .activity-grid article, .activity-grid article + article { min-height: 260px; padding: 2rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .legal-cta { align-items: start; flex-direction: column; }
  footer { grid-template-columns: 1fr 1fr; }
  .legal-main { width: min(calc(100% - 40px), var(--max)); }
  .legal-title, .privacy-main .legal-title { grid-template-columns: 1fr; gap: 2rem; }
  .legal-title .eyebrow { grid-column: 1; }
  .facts { padding: 2rem; }
  .facts-split { grid-template-columns: 1fr; gap: 4rem; }
  .facts-split > div + div { padding: 0; border-left: 0; }
}

@media (max-width: 560px) {
  .site-header nav .nav-legal { padding: .55rem .7rem; font-size: .59rem; }
  .brand small { display: none; }
  .hero h1, .legal-title h1, .error-page h1 { font-size: clamp(3.7rem, 18vw, 5.4rem); }
  .hero-art { min-height: 400px; }
  .statement, .activities, .projects, .legal-cta { padding-left: 20px; padding-right: 20px; }
  .project-list a { grid-template-columns: 35px 1fr auto; gap: .6rem; }
  .project-list small { font-size: .68rem; }
  footer { padding-left: 20px; padding-right: 20px; grid-template-columns: 1fr; }
  .facts dl > div { grid-template-columns: 1fr; gap: .3rem; }
  .legal-note { grid-template-columns: 1fr; }
}

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