:root {
  --ink: #22272a;
  --ink-deep: #0d171d;
  --paper: #f4f1e9;
  --paper-soft: #e9e5da;
  --line-light: rgba(34, 39, 42, 0.19);
  --line-dark: rgba(244, 241, 233, 0.22);
  --muted-light: #566168;
  --muted-dark: rgba(244, 241, 233, 0.78);
  --serif: "Iowan Old Style", Baskerville, "Nimbus Roman No9 L", "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Nimbus Sans", Arial, sans-serif;
  --content: min(1248px, calc(100vw - 96px));
  --header-height: 76px;
}

* { box-sizing: border-box; }
html { background: var(--ink-deep); color: var(--ink); scroll-behavior: smooth; }
html.no-js .reveal { opacity: 1; transform: none; }
body { margin: 0; min-width: 320px; font-family: var(--sans); font-size: 17px; line-height: 1.58; background: var(--paper); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
button { color: inherit; }
img { max-width: 100%; }
.dark { background: var(--ink-deep); color: var(--paper); }
.shell { width: var(--content); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 12px 16px; background: var(--paper); color: var(--ink-deep); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.site-header { height: var(--header-height); border-bottom: 1px solid var(--line-dark); display: flex; align-items: center; position: absolute; z-index: 10; inset: 0 0 auto; transition: background-color 180ms ease; }
.site-header.is-solid { position: relative; background: var(--ink-deep); }
.site-header.is-scrolled { position: fixed; background: rgba(13, 23, 29, 0.96); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.wordmark { min-height: 44px; display: inline-flex; align-items: center; font-size: 14px; line-height: 1; letter-spacing: 0.22em; font-weight: 620; }
.nav { display: flex; gap: 32px; align-items: center; font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.nav a, .back-link { min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .back-link:hover, .footer a:hover { color: var(--paper); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 14px 10px; border: 0; background: transparent; }
.menu-toggle span[aria-hidden] { display: block; width: 26px; height: 1px; margin: 6px auto; background: currentColor; transition: transform 180ms ease; }
.menu-toggle[aria-expanded="true"] span[aria-hidden]:first-of-type { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span[aria-hidden]:last-of-type { transform: translateY(-3.5px) rotate(-45deg); }

.hero { position: relative; isolation: isolate; min-height: 100vh; min-height: 100svh; padding: calc(var(--header-height) + 64px) 0 64px; display: flex; align-items: center; overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background-image: url("../img/hero-architecture.jpg"); background-image: image-set(url("../img/hero-architecture.avif") type("image/avif") 1x, url("../img/hero-architecture.webp") type("image/webp") 1x, url("../img/hero-architecture.jpg") type("image/jpeg") 1x); background-size: cover; background-position: 50% 58%; background-repeat: no-repeat; }
.hero-shade { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(8, 16, 21, 0.90) 0%, rgba(8, 16, 21, 0.78) 43%, rgba(8, 16, 21, 0.25) 72%, rgba(8, 16, 21, 0.12) 100%); }
.hero-content { width: var(--content); }
.hero-copy { max-width: 660px; padding-top: 10px; }
.eyebrow { display: flex; align-items: center; gap: 16px; margin: 0 0 30px; font-size: 12px; line-height: 16px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-dark); }
.eyebrow .number { min-width: 25px; color: var(--paper); }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; opacity: 0.65; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, .statement { font-family: var(--serif); font-weight: 400; text-wrap: balance; }
h1 { margin-bottom: 32px; max-width: 620px; font-size: clamp(52px, 4.45vw, 68px); line-height: 1.03; letter-spacing: -0.025em; }
#hero-title span { display: block; white-space: nowrap; }
.hero-lead { max-width: 620px; margin-bottom: 36px; font-size: 18px; line-height: 28px; color: var(--muted-dark); }
.actions { display: flex; align-items: center; gap: 28px; }
.button { min-height: 48px; padding: 0 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--paper); background: var(--paper); color: var(--ink-deep); font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; }
.button:hover { background: transparent; color: var(--paper); }
.text-link { min-height: 44px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); }
.hero-meta { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); padding-top: 18px; display: flex; justify-content: space-between; border-top: 1px solid var(--line-dark); font-size: 12px; line-height: 16px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.scroll-cue { position: absolute; right: 28px; bottom: 28px; width: 44px; height: 44px; display: grid; place-items: center; }
.scroll-cue span { width: 1px; height: 22px; background: var(--muted-dark); position: relative; }
.scroll-cue span::after { content: ""; position: absolute; bottom: 0; left: -3px; width: 7px; height: 7px; border-right: 1px solid var(--muted-dark); border-bottom: 1px solid var(--muted-dark); transform: rotate(45deg); }

.section { padding: 112px 0; }
.section-head { display: grid; grid-template-columns: 150px minmax(0, 1fr) 300px; gap: 24px; align-items: start; margin-bottom: 64px; }
.chapter { padding-top: 9px; display: flex; gap: 14px; font-size: 12px; line-height: 16px; letter-spacing: 0.13em; text-transform: uppercase; color: #657178; }
.section.dark .chapter { color: var(--muted-dark); }
h2 { margin-bottom: 0; max-width: 760px; font-size: 48px; line-height: 52px; letter-spacing: -0.02em; }
.section-intro { margin: 6px 0 0; max-width: 300px; font-size: 14px; line-height: 21px; color: var(--muted-light); }
.dark .section-intro { color: var(--muted-dark); }
.activity-rows { border-top: 1px solid var(--line-light); }
.activity-row { min-height: 142px; padding: 32px 0; display: grid; grid-template-columns: 150px 250px minmax(0, 1fr); gap: 24px; align-items: center; border-bottom: 1px solid var(--line-light); }
.row-number { font-family: var(--sans); font-size: 12px; line-height: 16px; letter-spacing: 0.13em; color: #657178; }
.activity-row h3 { margin: 0; font-size: 30px; line-height: 34px; letter-spacing: -0.01em; }
.activity-row p { max-width: 700px; margin: 0; font-size: 17px; line-height: 27px; color: var(--muted-light); }
.approach-body { display: grid; grid-template-columns: 150px minmax(380px, 440px) minmax(0, 1fr); gap: 24px; align-items: start; }
.philosophy-label { padding-top: 8px; font-size: 12px; line-height: 16px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-dark); }
.statement { max-width: 440px; margin: 0; font-size: 34px; line-height: 42px; letter-spacing: -0.015em; }
.principles { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.principle { min-height: 112px; padding: 24px 0; display: grid; grid-template-columns: 44px minmax(200px, 0.8fr) minmax(240px, 1fr); gap: 20px; align-items: start; border-bottom: 1px solid var(--line-dark); }
.principle .row-number { padding-top: 4px; color: var(--muted-dark); }
.principle h3 { margin: 0; font-size: 26px; line-height: 32px; }
.principle p { margin: 2px 0 0; font-size: 16px; line-height: 25px; color: var(--muted-dark); }
.focus-body { display: grid; grid-template-columns: 150px minmax(430px, 1fr) minmax(300px, 0.75fr); gap: 24px; align-items: start; }
.focus-copy .statement { max-width: 650px; font-size: 32px; line-height: 42px; }
.focus-copy .secondary { max-width: 650px; margin: 32px 0 0; font-size: 16px; line-height: 25px; color: var(--muted-light); }
.criteria { margin: 0; border-top: 1px solid var(--line-light); }
.criterion { padding: 21px 0; border-bottom: 1px solid var(--line-light); }
.criterion dt { margin-bottom: 5px; font-size: 12px; line-height: 16px; letter-spacing: 0.13em; text-transform: uppercase; color: #657178; }
.criterion dd { margin: 0; font-family: var(--serif); font-size: 19px; line-height: 26px; }
.status { margin-top: 64px; padding-top: 20px; display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--line-light); }
.status-label { font-size: 12px; line-height: 16px; letter-spacing: 0.13em; text-transform: uppercase; color: #657178; }
.status-items { display: flex; flex-wrap: wrap; gap: 16px 36px; font-size: 14px; line-height: 21px; color: var(--muted-light); }
.contact-grid { display: grid; grid-template-columns: 150px minmax(340px, 0.8fr) minmax(480px, 1fr); gap: 24px; align-items: start; }
.contact-copy h2 { margin-bottom: 32px; }
.address { margin-bottom: 28px; font-size: 16px; line-height: 25px; color: var(--muted-dark); }
.email { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-family: var(--serif); font-size: 24px; line-height: 30px; border-bottom: 1px solid var(--line-dark); }
.form { max-width: 560px; }
.field { margin-bottom: 26px; }
.field label { display: block; margin-bottom: 10px; font-size: 12px; line-height: 16px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted-dark); }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 8px 0; border: 0; border-bottom: 1px solid rgba(244, 241, 233, 0.45); border-radius: 0; background: transparent; color: var(--paper); outline: 0; resize: vertical; }
.field textarea { min-height: 144px; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--paper); }
.consent { min-height: 44px; margin: 8px 0 28px; display: flex; gap: 12px; align-items: flex-start; font-size: 13px; line-height: 20px; color: var(--muted-dark); cursor: pointer; }
.consent input { width: 18px; height: 18px; flex: 0 0 auto; margin: 2px 0 0; accent-color: var(--paper); }
.consent a { text-decoration: underline; text-underline-offset: 3px; }
.form-note { margin: 16px 0 0; font-size: 13px; line-height: 20px; color: var(--muted-dark); }
.form-note.is-error { color: #f2c7c7; }
.footer { padding: 32px 0; border-top: 1px solid var(--line-dark); font-size: 13px; line-height: 20px; color: var(--muted-dark); }
.footer-grid { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: start; }
.footer-mark { letter-spacing: 0.18em; color: var(--paper); font-weight: 620; }
.footer-copy { display: flex; gap: 32px; }
.footer-nav { display: flex; gap: 24px; align-items: flex-start; }
.footer-nav a, .footer-nav span { min-height: 44px; display: inline-flex; align-items: flex-start; }

.reveal { opacity: 0; transform: translateY(12px); transition: opacity 440ms ease, transform 440ms ease; }
.reveal.is-visible { opacity: 1; transform: none; }

.legal-page { background: var(--paper); }
.legal-main { padding: 112px 0; }
.legal-layout { display: grid; grid-template-columns: minmax(280px, 0.65fr) minmax(480px, 1fr); gap: 96px; align-items: start; }
.legal-layout h1 { color: var(--ink); font-size: 52px; line-height: 56px; }
.legal-eyebrow { color: var(--muted-light); }
.legal-eyebrow::before { background: currentColor; }
.legal-content { max-width: 760px; }
.legal-content section { padding: 0 0 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line-light); }
.legal-content h2 { margin-bottom: 16px; font-family: var(--serif); font-size: 28px; line-height: 34px; color: var(--ink); }
.legal-content p { margin-bottom: 14px; color: var(--muted-light); }
.legal-content strong { color: var(--ink); }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.quiet { font-size: 15px; }
.not-found { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; }
.not-found-inner { width: min(620px, calc(100vw - 40px)); text-align: left; }
.not-found h1 { font-size: 58px; line-height: 62px; }
.not-found p { color: var(--muted-dark); }
.not-found .button { margin-top: 24px; }

@media (max-width: 1199px) {
  :root { --content: min(100% - 64px, 960px); --header-height: 72px; }
  h1 { font-size: 52px; line-height: 55px; }
  h2 { font-size: 42px; line-height: 46px; }
  .section-head, .activity-row, .approach-body, .focus-body, .contact-grid { grid-template-columns: 120px minmax(0, 1fr) minmax(260px, 0.75fr); }
  .approach-body { grid-template-columns: 120px minmax(320px, 0.75fr) minmax(0, 1fr); }
  .statement { font-size: 30px; line-height: 38px; }
  .principle { grid-template-columns: 38px minmax(180px, 0.75fr) minmax(200px, 1fr); }
  .legal-layout { gap: 64px; }
}

@media (min-width: 768px) and (max-width: 900px) {
  .section-head { grid-template-columns: 100px minmax(0, 1fr); }
  .section-head .section-intro { grid-column: 2; max-width: 620px; margin-top: 24px; }
  .activity-row { grid-template-columns: 80px 190px minmax(0, 1fr); }
  .approach-body { grid-template-columns: 100px minmax(0, 1fr); }
  .approach-body .principles { grid-column: 2; margin-top: 40px; }
  .principle { grid-template-columns: 38px minmax(170px, 0.8fr) minmax(200px, 1fr); }
  .focus-body { grid-template-columns: 100px minmax(0, 1fr); }
  .focus-body > :first-child { display: block; }
  .criteria { grid-column: 2; margin-top: 40px; }
  .contact-grid { grid-template-columns: 100px minmax(0, 1fr); }
  .form { grid-column: 2; margin-top: 48px; }
}

@media (max-width: 767px) {
  :root { --content: calc(100% - 40px); --header-height: 68px; }
  body { font-size: 16px; line-height: 24px; }
  .site-header { height: var(--header-height); }
  .wordmark { font-size: 13px; }
  .menu-toggle { display: block; }
  .nav { position: absolute; inset: var(--header-height) 0 auto; padding: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink-deep); border-bottom: 1px solid var(--line-dark); }
  .nav.is-open { display: flex; }
  .nav a { min-height: 48px; border-bottom: 1px solid var(--line-dark); }
  .hero { min-height: auto; padding: 112px 0 76px; display: block; }
  .hero::before { content: none; display: none; background-image: none; }
  .hero-shade { display: none; }
  .hero-copy { max-width: none; padding: 0; }
  .eyebrow { margin-bottom: 22px; }
  .eyebrow::before { width: 30px; }
  h1 { margin-bottom: 24px; font-size: clamp(33px, 10.25vw, 41px); line-height: 1.05; }
  .hero-lead { margin-bottom: 28px; font-size: 17px; line-height: 26px; }
  .actions { align-items: flex-start; flex-direction: column; gap: 12px; }
  .button { width: 100%; }
  .hero-meta { position: static; transform: none; margin-top: 48px; display: grid; gap: 8px; }
  .scroll-cue { display: none; }
  .section { padding: 72px 0; }
  .section-head { display: block; margin-bottom: 40px; }
  .chapter { margin-bottom: 24px; padding: 0; }
  h2 { max-width: 100%; font-size: 34px; line-height: 38px; }
  .section-intro { margin-top: 22px; max-width: 100%; font-size: 14px; line-height: 21px; }
  .activity-row { min-height: 0; padding: 28px 0; grid-template-columns: 36px minmax(0, 1fr); gap: 8px 16px; align-items: start; }
  .activity-row h3 { font-size: 24px; line-height: 28px; }
  .activity-row p { grid-column: 2; font-size: 16px; line-height: 24px; }
  .approach-body, .focus-body, .contact-grid { display: block; }
  .philosophy-label { margin-bottom: 20px; padding: 0; }
  .statement, .focus-copy .statement { max-width: 100%; font-size: 27px; line-height: 34px; }
  .principles { margin-top: 40px; }
  .principle { min-height: 0; padding: 24px 0; grid-template-columns: 34px minmax(0, 1fr); gap: 8px 12px; }
  .principle h3 { font-size: 24px; line-height: 28px; }
  .principle p { grid-column: 2; font-size: 16px; line-height: 24px; }
  .criteria { margin-top: 40px; }
  .criterion { padding: 20px 0; }
  .status { margin-top: 48px; display: block; }
  .status-label { display: block; margin-bottom: 18px; }
  .status-items { display: grid; gap: 8px; font-size: 14px; line-height: 21px; }
  .contact-copy { margin-bottom: 48px; }
  .contact-copy h2 { margin-bottom: 24px; }
  .email { font-size: 22px; line-height: 30px; }
  .form { max-width: 100%; }
  .footer { padding: 28px 0; }
  .footer-grid, .footer-copy, .footer-nav { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .footer-copy { margin: 16px 0; }
  .footer-nav a, .footer-nav span { min-height: 44px; align-items: center; }
  .legal-main { padding: 72px 0; }
  .legal-layout { display: block; }
  .legal-layout h1 { font-size: 42px; line-height: 46px; margin-bottom: 48px; }
  .legal-content h2 { font-size: 25px; line-height: 30px; }
}

@media (max-width: 380px) {
  h2 { font-size: 32px; line-height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
