/* Civic identity and reading styles. Layout utilities live in globals.css. */
:root {
  --red: #a83e2f;
  --red-dark: #873022;
  --ink: #262c29;
  --muted: #5c635d;
  --cream: #f1eee6;
  --paper: #faf8f3;
  --line: #d8d3c8;
  --green: #303b30;
  --max: 1200px;
}

body {
  background: var(--paper);
  font-family: var(--font-reading), Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: #e9c7ac;
  color: var(--ink);
}

h1, h2, h3 {
  font-family: var(--font-reading), Arial, sans-serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.035em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(36px, 4.4vw, 60px);
}

h2 {
  font-size: clamp(28px, 3.1vw, 42px);
}

h3 {
  font-size: clamp(21px, 2vw, 26px);
  letter-spacing: -0.02em;
}

h1 em, h2 em {
  color: var(--red);
  font-style: normal;
  font-weight: inherit;
}

p {
  text-wrap: pretty;
}

.hero-grid > *, .intro-grid > *, .pillar-grid > *, .posts > *,
.about-layout > *, .contact-grid > *, .footer-main > * {
  min-width: 0;
}

.topbar {
  background: var(--cream);
  color: var(--muted);
  padding: 7px 0;
  font-size: 12px;
  letter-spacing: 0;
  border-bottom: 1px solid var(--line);
}

header {
  height: 96px;
  background: #faf8f3f5;
  border-color: var(--line);
  backdrop-filter: blur(10px);
}

.logo {
  width: 190px;
}

picture {
  display: block;
}

.logo img, .footer-brand img {
  mix-blend-mode: multiply;
}

nav {
  gap: 24px;
}

nav > a {
  font-size: 14px;
  font-weight: 500;
}

nav > a:not(.button):after {
  height: 1px;
  bottom: 7px;
}

.button {
  background: var(--red);
  border-color: var(--red);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 20px;
  gap: 18px;
  letter-spacing: 0;
}

.button:hover {
  transform: none;
  background: var(--red-dark);
  border-color: var(--red-dark);
}

nav .button {
  background: transparent;
  color: var(--ink);
  border-color: #aca799;
  padding: 11px 18px;
}

nav .button:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.text-link {
  font-size: 14px;
  font-weight: 600;
  gap: 16px;
  line-height: 1.5;
}

.text-link .arrow {
  transition: transform 0.2s;
}

.text-link:hover .arrow {
  transform: translate(3px, -3px);
}

.hero {
  background: var(--paper);
}

.hero-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  padding-block: 52px;
}

.hero-copy {
  padding: 12px 0;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.1px;
  color: var(--muted);
  margin-bottom: 22px;
  gap: 12px;
  line-height: 1.6;
}

.eyebrow:before {
  height: 1px;
  width: 24px;
  flex-shrink: 0;
  background: var(--red);
}

.hero .eyebrow {
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(38px, 4.8vw, 66px);
  line-height: 1.1;
  letter-spacing: -0.045em;
  max-width: 12ch;
}

.hero h1 em {
  display: block;
}

.hero-copy > p {
  font-size: 17px;
  line-height: 1.7;
  max-width: 36ch;
  margin-top: 24px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 28px;
  gap: 24px;
  flex-wrap: wrap;
}

.hero-actions .text-link {
  border-bottom: 1px solid #b9b4a8;
  padding-block: 8px;
}

.hero-note {
  border-top: 0;
  margin-top: 28px;
  padding: 0;
  font-size: 12px;
}

.hero-visual {
  max-width: 420px;
  align-self: center;
}

.photo-heading, .photo-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.photo-heading {
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
}

.photo-caption {
  margin-top: 12px;
}

.photo-frame {
  height: auto;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  background: #d7d5c9;
  border: 1px solid var(--line);
}

.image-link, .photo-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.image-link:focus-visible {
  outline-offset: -4px;
}

.image-hint {
  position: absolute;
  bottom: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
  padding: 9px 12px;
  font-size: 12px;
  box-shadow: 0 2px 12px #00000012;
  pointer-events: none;
}

.photo-frame:after {
  display: none;
}

.values-bar {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.values-inner {
  padding: 24px 0;
}

.value {
  gap: 16px;
  border-color: var(--line);
}

.value svg {
  display: none;
}

.value-number {
  color: var(--red);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
}

.value strong {
  font-size: 14px;
  font-weight: 600;
}

.value small {
  font-size: 12px;
  color: var(--muted);
}

.section {
  padding: 80px 0;
}

.intro-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 72px;
}

.intro-copy h2 {
  max-width: 19ch;
}

.intro-copy > p {
  font-size: 16px;
  line-height: 1.75;
  margin: 20px 0;
  max-width: 48ch;
}

.campaign-image {
  background: transparent;
  border: 0;
  padding: 0;
}

.campaign-frame {
  display: block;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.campaign-frame:hover {
  border-color: var(--red);
}

.campaign-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.campaign-image figcaption {
  font-size: 11px;
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 6px 16px;
}

.section-head {
  margin-bottom: 36px;
}

.section-head h2 {
  max-width: 19ch;
}

.section-head > p {
  font-size: 15px;
  line-height: 1.75;
  max-width: 36ch;
}

.pillars {
  background: var(--cream);
  border-color: var(--line);
}

.pillar-grid {
  gap: 32px;
}

.pillar {
  padding: 24px 0 0;
  border-color: #aaa598;
}

.pillar .number {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 22px;
}

.pillar h3 {
  font-size: 24px;
  line-height: 1.3;
  max-width: 100%;
}

.pillar p {
  font-size: 15px;
  line-height: 1.75;
  max-width: 36ch;
  margin-top: 16px;
}

.pillar a {
  font-size: 14px;
  margin-top: 22px;
}

.quote-band {
  background: var(--green);
  padding: 56px 0;
}

.quote-inner {
  align-items: end;
  gap: 56px;
}

.quote-mark {
  font-family: Georgia, serif;
  height: 38px;
  font-size: 64px;
  line-height: 1;
  color: #c9bb9e;
}

.quote-inner h2 {
  font-size: clamp(27px, 3vw, 40px);
  line-height: 1.3;
  max-width: 28ch;
}

.quote-inner h2 span {
  color: #d8cdb5;
}

.quote-inner > p {
  font-size: 14px;
  line-height: 1.75;
  color: #d0d4c9;
  max-width: 25ch;
  flex-shrink: 0;
}

.posts {
  gap: 32px;
}

.post {
  border-color: #aaa598;
  padding: 24px 0 0;
}

.post .post-meta {
  font-size: 11px;
  letter-spacing: 0;
  margin-bottom: 18px;
  gap: 8px 16px;
  flex-wrap: wrap;
}

.post h3 {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.post > p {
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 22px;
}

.post .text-link {
  font-size: 14px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.participation {
  padding-top: 0;
}

.participation > .wrap {
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.participation .intro-copy > p:first-child {
  font-size: 21px;
  line-height: 1.5;
  color: var(--ink);
}

.join-banner {
  background: #eae4d7;
  border-block: 1px solid #d9d0bf;
  padding: 48px 0;
}

.join-inner h2 {
  font-size: clamp(28px, 3.1vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.035em;
}

.join-inner p {
  font-size: 15px;
  max-width: 48ch;
  line-height: 1.75;
  margin-top: 16px;
}

.join-inner .button {
  flex-shrink: 0;
}

footer {
  background: var(--paper);
  padding: 48px 0 24px;
}

.footer-main {
  grid-template-columns: 1.15fr 1fr 1.3fr;
  gap: 48px;
}

.footer-brand img {
  width: 190px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.75;
  max-width: 30ch;
}

.footer-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.footer-nav, .footer-contact a {
  font-size: 14px;
}

.footer-contact a {
  overflow-wrap: anywhere;
}

.footer-contact .social {
  font-size: 13px;
}

.footer-bottom {
  font-size: 12px;
  margin-top: 32px;
  border-color: var(--line);
}

.page-hero {
  background: var(--cream);
  padding: 32px 0 44px;
  border-color: var(--line);
}

.breadcrumb {
  font-size: 12px;
  margin-bottom: 24px;
  overflow-wrap: anywhere;
}

.page-hero .eyebrow {
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  max-width: 24ch;
}

.page-hero > div > p {
  font-size: 16px;
  line-height: 1.75;
  max-width: 56ch;
  margin-top: 20px;
}

.page-content {
  padding-block: 56px 80px;
}

.document-grid {
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
}

.document-nav {
  border-color: var(--line);
  top: 128px;
}

.document-nav a {
  font-size: 14px;
  line-height: 1.5;
  padding-block: 10px;
}

.prose, .article .prose {
  font-size: 17px;
  line-height: 1.8;
  max-width: 68ch;
  overflow-wrap: anywhere;
}

.prose p, .prose ul, .prose ol {
  color: #4e5851;
}

.prose p {
  margin-bottom: 1.25em;
}

.prose h2 {
  font-size: clamp(25px, 2.5vw, 32px);
  letter-spacing: -0.025em;
  line-height: 1.3;
  margin-block: 40px 18px;
}

.prose h3 {
  font-size: 23px;
  line-height: 1.35;
}

.prose li {
  margin-bottom: 12px;
}

.download-box {
  border: 1px solid var(--line);
  background: var(--cream);
}

.download-box h3 {
  font-size: 24px;
}

.download-box p {
  font-size: 15px;
}

.founder-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.founder-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 160 / 107;
  object-fit: contain;
}

.founder-card strong {
  font-size: 20px;
  font-weight: 600;
}

.founder-card small {
  font-size: 13px;
}

.about-layout {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 64px;
}

.contact-intro h2 {
  font-size: clamp(28px, 3vw, 38px);
}

.contact-intro > p {
  font-size: 16px;
  line-height: 1.75;
}

.contact-detail small {
  font-size: 12px;
}

.contact-detail a {
  font-size: 16px;
}

.contact-form {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 32px;
}

.contact-form h2 {
  font-size: 28px;
  letter-spacing: -0.025em;
}

.contact-form > p {
  font-size: 14px;
}

.field label {
  font-size: 14px;
  font-weight: 500;
}

.field input, .field textarea, .field select {
  font-size: 16px;
  border-color: #bfb9ab;
  border-radius: 4px;
  background: var(--paper);
  padding: 12px;
}

.blog-tools > p {
  font-size: 14px;
}

.search {
  font-size: 16px;
  background: transparent;
  border-color: #bcb5a6;
  border-radius: 4px;
}

.blog-posts {
  gap: 40px 48px;
}

.blog-posts .post h3 {
  font-size: 27px;
}

.blog-posts .post > p {
  font-size: 16px;
  line-height: 1.75;
}

.article {
  max-width: 72ch;
}

.article-meta {
  font-size: 13px;
  border-color: var(--line);
  flex-wrap: wrap;
  gap: 8px 20px;
}

.article-return {
  font-size: 14px;
}

@media (max-width: 1100px) {
  nav {
    gap: 18px;
  }

  nav > a {
    font-size: 13px;
  }

  .logo {
    width: 185px;
  }

  .hero-grid {
    gap: 40px;
  }

  .intro-grid, .about-layout {
    gap: 40px;
  }

  .footer-main {
    gap: 32px;
  }

  .document-grid {
    gap: 40px;
    grid-template-columns: 190px minmax(0, 1fr);
  }

}

@media (max-width: 860px) {
  header {
    height: 85px;
    background: var(--paper);
    /* A filter would make the fixed menu use the header as its viewport. */
    backdrop-filter: none;
  }

  nav {
    background: var(--paper);
    top: 85px;
    gap: 8px;
    bottom: auto;
    height: calc(100vh - 85px);
    height: calc(100dvh - 85px);
    padding: 20px max(24px, env(safe-area-inset-right))
      max(24px, env(safe-area-inset-bottom))
      max(24px, env(safe-area-inset-left));
    overscroll-behavior-y: contain;
  }

  nav > a {
    font-size: 20px;
    flex-shrink: 0;
  }

  nav .button {
    font-size: 14px;
    margin-top: 20px;
    flex-shrink: 0;
  }

  .button, .menu-toggle {
    min-height: 48px;
  }

  .menu-toggle {
    min-width: 48px;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .text-link, .article-return, .footer-nav a,
  .footer-contact a, .footer-bottom a, .document-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .field input, .field select, .search {
    min-height: 48px;
  }

  .field, .field select {
    min-width: 0;
  }

  .hero-grid {
    gap: 28px;
    padding-block: 36px;
  }

  .hero h1 {
    font-size: clamp(38px, 5vw, 46px);
  }

  .hero-copy > p {
    font-size: 16px;
  }

  .hero-actions {
    gap: 18px;
  }

  .hero-actions .button {
    font-size: 14px;
    padding: 13px 18px;
  }

  .hero-note {
    font-size: 12px;
    margin-top: 24px;
  }

  .photo-frame {
    height: auto;
    aspect-ratio: 4 / 5;
  }

  .photo-caption span:last-child {
    display: none;
  }

  .value {
    gap: 10px;
  }

  .value strong {
    font-size: 12px;
  }

  .value small {
    font-size: 11px;
  }

  .section {
    padding: 60px 0;
  }

  .intro-grid {
    gap: 32px;
  }

  .pillar-grid {
    gap: 24px;
  }

  .pillar h3 {
    font-size: 22px;
  }

  .pillar p {
    font-size: 15px;
  }

  .quote-inner {
    display: block;
  }

  .quote-inner > p {
    max-width: 42ch;
    margin-top: 22px;
  }

  .posts {
    gap: 24px;
  }

  .post h3 {
    font-size: 21px;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1/-1;
  }

  .contact-grid {
    gap: 32px;
  }

  .contact-form {
    padding: 24px;
  }

  .document-grid {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 28px;
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 32px;
  }

  .participation {
    padding-top: 0;
  }

}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 88px;
  }

  header {
    height: 72px;
  }

  nav {
    top: 72px;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
  }

  .wrap {
    width: calc(100% - 40px);
  }

  h1 {
    font-size: 36px;
    letter-spacing: -0.035em;
  }

  h2 {
    font-size: 30px;
    letter-spacing: -0.035em;
    line-height: 1.2;
  }

  h3 {
    font-size: 23px;
  }

  .logo {
    width: 150px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
    padding-block: 32px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero .eyebrow {
    font-size: 10px;
    letter-spacing: 0.9px;
    margin-bottom: 22px;
  }

  .hero h1 {
    font-size: clamp(36px, 9.5vw, 52px);
    line-height: 1.12;
  }

  .hero-copy > p {
    font-size: 16px;
    line-height: 1.7;
    max-width: 36ch;
    margin-top: 20px;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    margin-top: 24px;
    gap: 10px;
  }

  .hero-actions > a {
    width: 100%;
    justify-content: center;
  }

  .hero-actions .button {
    padding: 13px 18px;
    font-size: 14px;
  }

  .hero-note {
    font-size: 12px;
    margin-top: 22px;
  }

  .hero-visual {
    max-width: none;
  }

  .photo-frame {
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .photo-heading, .photo-caption {
    font-size: 11px;
  }

  .values-inner {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .value, .value:first-child, .value:last-child {
    padding: 16px 0;
    gap: 16px;
    justify-content: flex-start;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .value:last-child {
    border-bottom: 0;
  }

  .value-number {
    width: 24px;
  }

  .value > div {
    display: block;
  }

  .value strong {
    font-size: 14px;
  }

  .value small {
    font-size: 12px;
  }

  .section {
    padding: 48px 0;
  }

  .eyebrow {
    font-size: 10px;
    letter-spacing: 1px;
    margin-bottom: 18px;
  }

  .intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .intro-copy > p {
    font-size: 16px;
    line-height: 1.75;
    margin: 18px 0;
  }

  .campaign-image {
    padding: 0;
  }

  .campaign-image figcaption {
    font-size: 11px;
  }

  .section-head {
    margin-bottom: 28px;
  }

  .section-head > p {
    font-size: 15px;
    margin-top: 18px;
  }

  .pillar-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .pillar {
    padding-top: 22px;
  }

  .pillar .number {
    margin-bottom: 16px;
  }

  .pillar h3 {
    font-size: 23px;
  }

  .pillar p {
    font-size: 15px;
    max-width: 100%;
  }

  .quote-band {
    padding: 40px 0;
  }

  .quote-inner h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .posts, .blog-posts {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .post .post-meta {
    font-size: 11px;
    margin-bottom: 16px;
  }

  .post h3, .blog-posts .post h3 {
    font-size: 23px;
    max-width: 100%;
  }

  .post > p, .blog-posts .post > p {
    font-size: 15px;
    line-height: 1.75;
  }

  .post .text-link {
    font-size: 14px;
  }

  .participation {
    padding-top: 0;
  }

  .participation > .wrap {
    padding-top: 36px;
  }

  .participation .intro-grid {
    gap: 12px;
  }

  .participation .intro-copy > p:first-child {
    font-size: 20px;
  }

  .join-banner {
    padding: 36px 0;
  }

  .join-inner h2 {
    font-size: 30px;
    line-height: 1.2;
  }

  .join-inner p {
    font-size: 15px;
    margin-top: 16px;
  }

  .join-inner .button {
    margin-top: 24px;
    font-size: 14px;
    width: 100%;
  }

  footer {
    padding-top: 36px;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-brand p {
    font-size: 13px;
  }

  .footer-bottom {
    font-size: 12px;
    gap: 12px;
    margin-top: 28px;
  }

  .page-hero {
    padding: 24px 0 32px;
  }

  .breadcrumb {
    font-size: 12px;
    margin-bottom: 22px;
  }

  .page-hero h1 {
    font-size: 32px;
    line-height: 1.2;
    letter-spacing: -0.035em;
  }

  .page-hero > div > p {
    font-size: 16px;
    line-height: 1.75;
    margin-top: 18px;
  }

  .page-content {
    padding: 36px 0 48px;
  }

  .document-grid, .about-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .document-nav {
    display: block;
    position: static;
    border: 1px solid var(--line);
    padding: 18px 20px;
    background: var(--cream);
  }

  .document-nav .footer-heading {
    width: auto;
    margin-bottom: 10px;
  }

  .document-nav a {
    display: block;
    padding: 7px 0;
    font-size: 14px;
  }

  .prose, .article .prose {
    font-size: 16px;
    line-height: 1.8;
  }

  .prose h2 {
    font-size: 25px;
    scroll-margin-top: 88px;
  }

  .prose h3 {
    font-size: 22px;
  }

  .founder-card {
    max-width: 320px;
  }

  .contact-intro h2 {
    font-size: 28px;
  }

  .contact-intro > p {
    font-size: 16px;
  }

  .contact-form {
    padding: 22px;
  }

  .contact-form .button, .download-box .button {
    width: 100%;
  }

  .form-status {
    overflow-wrap: anywhere;
  }

  .contact-form h2 {
    font-size: 25px;
  }

  .contact-form > p {
    font-size: 14px;
  }

  .download-box {
    padding: 24px;
  }

  .article-meta {
    font-size: 12px;
  }

}

@media (max-width: 380px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .contact-form, .download-box {
    padding: 18px;
  }
}
