:root {
  --paper: #fbf7ef;
  --paper-deep: #f4eee2;
  --plum: #32152f;
  --ink: #332b35;
  --sage: #69754e;
  --rose: #bd7774;
  --gold: #bd790e;
  --line: #d6b674;
  --muted: #746b72;
  --max: 74rem;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
  --sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}
body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}
a { color: inherit; text-underline-offset: .22em; }
a:hover { color: var(--gold); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 20; padding: .65rem 1rem; background: var(--plum); color: white; }
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 2.5rem), var(--max)); margin-inline: auto; }

.site-header { border-bottom: 1px solid color-mix(in srgb, var(--line) 64%, transparent); }
.header-inner { min-height: 6.4rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; }
.brand-mark { width: 4.25rem; height: 3.4rem; flex: 0 0 auto; }
.brand-name { color: var(--plum); font: 700 clamp(1.45rem, 2.5vw, 2.2rem)/1 var(--serif); letter-spacing: -.02em; }
.site-nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 2rem); font-size: .94rem; }
.site-nav a { text-decoration: none; white-space: nowrap; }
.site-nav .contact-link { color: var(--gold); }

h1, h2, h3 { margin: 0; color: var(--plum); font-family: var(--serif); font-weight: 600; line-height: 1.04; letter-spacing: -.025em; }
h1 { max-width: 12ch; font-size: clamp(3.2rem, 7vw, 6rem); }
h2 { font-size: clamp(2.25rem, 4.5vw, 3.7rem); }
h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
p { margin: 0 0 1rem; }
.hero { position: relative; overflow: hidden; min-height: 39rem; border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 2rem; min-height: 39rem; padding-block: 4.7rem; }
.hero-copy p { max-width: 36rem; margin-top: 1.65rem; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.6; }
.actions { display: flex; align-items: center; gap: 1.6rem; margin-top: 1.7rem; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; min-height: 3.3rem; padding: .75rem 1.35rem; border-radius: .35rem; background: var(--sage); color: white; text-decoration: none; box-shadow: 0 .4rem 1rem rgba(50, 21, 47, .1); }
.button:hover { background: var(--plum); color: white; }
.text-link { font-weight: 600; text-decoration-thickness: 1px; }
.hero-art { align-self: stretch; position: relative; min-height: 30rem; }
.hero-art svg { position: absolute; inset: 2rem -2rem 0 -3rem; width: calc(100% + 5rem); height: calc(100% - 1rem); }
.wave { position: absolute; left: -8vw; right: -8vw; bottom: -1px; height: 8.5rem; z-index: 1; }

.section { padding-block: clamp(4.6rem, 8vw, 7.2rem); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.section-heading { display: flex; align-items: center; gap: 2rem; margin-bottom: 3.2rem; }
.section-heading::before, .section-heading::after { height: 1px; flex: 1; content: ""; background: var(--line); }
.section-heading h2 { white-space: nowrap; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(2rem, 5vw, 5rem); }
.step { position: relative; padding-left: 5rem; }
.step-number { position: absolute; left: 0; top: -.35rem; display: grid; width: 3.8rem; height: 3.8rem; place-items: center; border: 1px solid var(--sage); border-radius: 50%; color: var(--plum); font: 500 2.4rem/1 var(--serif); }
.step h3 { margin-bottom: .9rem; }
.step p { color: var(--muted); }

.consent { background: color-mix(in srgb, var(--paper) 70%, white); }
.consent-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 8vw, 7rem); }
.consent-copy h2 { margin-bottom: 1.4rem; }
.consent-copy p { max-width: 38rem; font-size: 1.08rem; }
.consent-list { margin: 1.25rem 0 1.8rem; padding: 0; list-style: none; }
.consent-list li { padding-block: .23rem; }
.consent-list strong { color: var(--plum); }
.consent-art { min-height: 26rem; border-left: 1px solid var(--rose); padding-left: clamp(2rem, 5vw, 4rem); }
.consent-art svg { width: 100%; height: 26rem; }

.guardrail { padding-block: 2.4rem; border-bottom: 1px solid var(--line); }
.guardrail-inner { padding: 2rem; border: 1px solid var(--line); border-radius: .75rem; background: color-mix(in srgb, var(--paper-deep) 58%, transparent); text-align: center; }
.guardrail-inner h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.guardrail-list { display: flex; justify-content: center; gap: 0; margin: 1.5rem 0 0; padding: 0; list-style: none; font-family: var(--serif); font-size: clamp(1.05rem, 2vw, 1.35rem); }
.guardrail-list li { padding: 0 1.6rem; border-right: 1px solid var(--rose); }
.guardrail-list li:last-child { border-right: 0; }

.site-footer { padding-block: 3rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 3rem; }
.footer-brand { color: var(--plum); font: 600 2rem/1.1 var(--serif); }
.footer-note { margin: .5rem 0 0; color: var(--muted); }
.footer-links { display: flex; gap: 1.6rem; flex-wrap: wrap; font-size: .94rem; }

.page-hero { padding-block: clamp(4rem, 8vw, 7rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 15ch; font-size: clamp(3rem, 6vw, 5rem); }
.page-hero p { max-width: 46rem; margin-top: 1.5rem; font-size: 1.25rem; }
.prose { width: min(calc(100% - 2.5rem), 48rem); margin-inline: auto; padding-block: clamp(3.5rem, 7vw, 6rem); }
.prose h2 { margin: 2.8rem 0 1rem; font-size: clamp(1.9rem, 3.5vw, 2.5rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 2rem 0 .75rem; }
.prose ul { padding-left: 1.25rem; }
.prose .effective { color: var(--muted); font-size: .94rem; }
.policy-callout { margin: 2rem 0; padding: 1.5rem 1.6rem; border-left: 3px solid var(--sage); background: var(--paper-deep); }

.directory-hero { overflow: hidden; border-bottom: 1px solid var(--line); }
.directory-hero-inner { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: 2rem; min-height: 23rem; padding-block: .5rem 0; }
.directory-hero-copy { position: relative; z-index: 2; padding-bottom: 1.5rem; }
.directory-hero-copy h1 { max-width: 9ch; font-size: clamp(3.7rem, 6vw, 5.2rem); }
.directory-hero-copy p { max-width: 37rem; margin: 1.35rem 0 1.55rem; font-size: clamp(1.1rem, 1.8vw, 1.35rem); }
.directory-hero-copy .button { gap: .9rem; }
.directory-art { align-self: stretch; min-height: 21rem; }
.directory-art svg { width: 100%; height: 100%; }
.projects-section { padding-block: .8rem; }
.directory-section-title { display: flex; align-items: center; gap: 1.5rem; margin-bottom: 0; }
.directory-section-title h2 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.directory-section-title span { width: 6rem; height: 1px; background: var(--line); }
.project-row { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(2rem, 6vw, 6rem); }
.project-art { min-height: 10rem; }
.project-art svg { width: 100%; height: 10rem; }
.project-copy { max-width: 35rem; }
.project-copy h3 { margin-bottom: .6rem; font-size: clamp(2rem, 3vw, 2.5rem); }
.project-copy p { font-size: 1.05rem; }
.principles-band { padding-block: .4rem; border-block: 1px solid var(--line); }
.principles-inner { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: 1rem 2rem; border: 1px solid var(--line); border-radius: .75rem; background: color-mix(in srgb, var(--paper-deep) 58%, transparent); }
.principles-inner h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
.principles-inner ul { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 0; list-style: none; }
.principles-inner li { padding: .6rem 1.2rem; border-right: 1px solid var(--rose); text-align: center; color: var(--plum); font: 500 clamp(1rem, 1.5vw, 1.2rem)/1.35 var(--serif); }
.principles-inner li:last-child { border-right: 0; }
.directory-footer { border-top: 0; padding-block: 1.2rem; }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; padding-block: 1.3rem; flex-direction: column; }
  .site-nav { width: 100%; padding-top: 1rem; border-top: 1px solid var(--line); overflow-x: auto; }
  .hero-inner, .consent-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding-bottom: 1rem; }
  .hero-art { min-height: 23rem; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 5rem; }
  .consent-art { border-left: 0; border-top: 1px solid var(--rose); padding: 2rem 0 0; }
  .directory-hero-inner, .project-row { grid-template-columns: 1fr; }
  .directory-hero-copy { padding-bottom: 0; }
  .directory-art { min-height: 21rem; }
  .project-row { gap: 1rem; }
  .project-art { min-height: 15rem; }
  .principles-inner { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 1.6rem), var(--max)); }
  .brand-mark { width: 3.4rem; }
  .brand-name { font-size: 1.55rem; }
  .site-nav {
    display: grid;
    grid-template-columns: max-content max-content;
    justify-content: space-between;
    gap: .6rem 1.2rem;
    padding-bottom: .35rem;
    overflow-x: visible;
  }
  .hero-inner { padding-top: 3.4rem; }
  h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .hero-art { min-height: 18rem; }
  .wave { height: 5.5rem; }
  .section-heading { gap: 1rem; }
  .section-heading h2 { white-space: normal; text-align: center; }
  .guardrail-list { display: grid; }
  .guardrail-list li { padding: .6rem 0; border-right: 0; border-bottom: 1px solid var(--rose); }
  .guardrail-list li:last-child { border-bottom: 0; }
  .footer-inner { grid-template-columns: 1fr; align-items: start; }
  .footer-links { display: grid; grid-template-columns: 1fr 1fr; }
  .directory-nav { grid-template-columns: repeat(3, max-content); }
  .directory-hero-inner { min-height: auto; padding-top: 3rem; }
  .directory-hero-copy h1 { font-size: clamp(3.3rem, 15vw, 4.8rem); }
  .directory-art { min-height: 16rem; }
  .project-art { min-height: 12rem; }
  .project-art svg { height: 12rem; }
  .principles-inner { padding: 1.4rem; }
  .principles-inner ul { grid-template-columns: 1fr 1fr; }
  .principles-inner li { border-right: 0; border-bottom: 1px solid var(--rose); }
  .principles-inner li:nth-last-child(-n+2) { border-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
