@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/space-grotesk-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f7f7f1;
  --white: #fff;
  --ink: #173b37;
  --muted: #516c66;
  --teal: #127b72;
  --teal-dark: #0d5e57;
  --line: #dce7e1;
  --soft: #edf5f0;
  --font: "Space Grotesk", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; border-radius: 3px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: absolute; z-index: 10; left: 16px; top: -80px;
  padding: 10px 14px; color: white; background: var(--teal-dark); border-radius: 6px;
}
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; z-index: 5; top: 0;
  background: rgb(247 247 241 / 94%); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.header-inner, .footer-top {
  min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 11px; background: var(--teal); color: white; font-size: 15px; font-weight: 700;
}
.brand-light { color: var(--muted); font-weight: 400; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 26px; }
nav a { color: var(--muted); font-size: 14px; text-decoration: none; }
nav a:hover, .text-link:hover { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 4px; }
.hero {
  position: relative; min-height: 530px; display: grid; grid-template-columns: 1.3fr .7fr;
  align-items: center; gap: 42px; padding-block: 80px 94px;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; right: -140px; top: 10px;
  border-radius: 50%; background: radial-gradient(circle, #e0f0e9 0%, #e0f0e9 55%, transparent 56%);
}
.eyebrow { margin: 0 0 15px; color: var(--teal); font-size: 12px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -.045em; }
h1 { max-width: 760px; margin-bottom: 22px; font-size: clamp(46px, 6vw, 76px); font-weight: 600; }
h1 span { color: var(--teal); }
.hero-lede { max-width: 530px; margin-bottom: 30px; color: var(--muted); font-size: clamp(19px, 2vw, 23px); }
.button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 12px 20px; border-radius: 8px; text-decoration: none; font-weight: 600; transition: background-color .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--teal); box-shadow: 0 8px 20px rgb(18 123 114 / 17%); }
.button-primary:hover { background: var(--teal-dark); }
.hero-art { position: relative; min-height: 300px; }
.art-card {
  position: absolute; width: 250px; height: 190px; border: 1px solid #d9e5df;
  border-radius: 18px; background: rgb(255 255 255 / 90%); box-shadow: 0 22px 50px rgb(30 70 60 / 10%);
}
.art-card-back { top: 65px; left: 30px; transform: rotate(9deg); background: #eaf3ee; }
.art-card-front { top: 45px; left: 10px; padding: 30px; transform: rotate(-5deg); }
.art-dot { display: block; width: 34px; height: 34px; margin-bottom: 22px; border-radius: 50%; background: #d7eee7; }
.art-line { display: block; width: 70%; height: 8px; margin-top: 10px; border-radius: 8px; background: #dfe9e4; }
.art-line-long { width: 92%; }
.art-line-short { width: 52%; }
.art-check { position: absolute; right: 22px; bottom: 24px; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: white; background: var(--teal); font-size: 20px; }
.section { padding-block: 92px; }
.section-soft { background: var(--soft); border-block: 1px solid #e2ece6; }
.section-heading { margin-bottom: 40px; }
.section-heading h2, .about-inner h2 { max-width: 700px; margin-bottom: 0; font-size: clamp(32px, 4vw, 48px); font-weight: 600; }
.section-heading-row { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-intro { max-width: 330px; margin-bottom: 3px; color: var(--muted); }
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin: 0; padding: 0; list-style: none; }
.principles li { padding-top: 18px; border-top: 1px solid #c9ddd3; }
.principle-number, .project-label { color: var(--teal); font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.principles h3 { margin: 15px 0 9px; font-size: 20px; font-weight: 600; letter-spacing: -.025em; }
.principles p, .project-content p { margin-bottom: 0; color: var(--muted); font-size: 15px; }
.projects-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 24px; }
.project-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--white); box-shadow: 0 8px 30px rgb(24 60 50 / 4%); }
.project-poster { position: relative; display: block; overflow: hidden; background: #e8eee9; }
.project-poster img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .25s ease; }
.project-poster:hover img { transform: scale(1.02); }
.poster-action { position: absolute; right: 14px; bottom: 14px; padding: 8px 12px; border-radius: 6px; color: white; background: rgb(17 50 45 / 88%); font-size: 13px; font-weight: 600; }
.project-content { padding: 24px; }
.project-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 15px; }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--teal-dark); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.status span { width: 8px; height: 8px; border-radius: 50%; background: #248b62; }
.project-content h3 { margin-bottom: 9px; font-size: 28px; font-weight: 600; }
.text-link { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; color: var(--teal-dark); font-size: 14px; font-weight: 600; text-decoration: none; }
.project-next { display: flex; flex-direction: column; justify-content: center; min-height: 100%; padding: 28px; background: #fbfcfa; border-style: dashed; }
.next-icon { display: grid; place-items: center; width: 48px; height: 48px; margin: 0 0 26px; border: 1px solid #c5d9cf; border-radius: 50%; color: var(--teal); font-size: 26px; }
.project-next .project-content { padding: 0; }
.project-next h3 { margin-top: 12px; font-size: 24px; }
.about-section { padding-block: 76px; color: white; background: #173b37; }
.about-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 54px; align-items: start; }
.about-section .eyebrow { color: #9ed5c5; }
.about-inner h2 { font-size: clamp(32px, 4vw, 44px); }
.about-copy p { max-width: 590px; margin-bottom: 0; color: #e0ece6; font-size: 19px; }
.about-copy .text-link { color: #b0e3d1; }
.notice { padding-block: 34px; }
.notice p { margin: 0; padding-left: 16px; border-left: 3px solid var(--teal); color: var(--muted); font-size: 13px; line-height: 1.65; }
.site-footer { border-top: 1px solid var(--line); background: #f0f2ec; }
.footer-inner { padding-block: 28px 22px; }
.footer-top { min-height: 50px; }
.footer-brand { font-size: 16px; }
.footer-brand .brand-mark { width: 31px; height: 31px; border-radius: 9px; font-size: 13px; }
.footer-top nav { gap: 20px; }
.footer-notice { max-width: 900px; margin: 20px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.copyright { margin: 0; color: #71847e; font-size: 12px; }
.privacy-main { min-height: 58vh; padding-block: 88px 100px; }
.privacy-main h1 { max-width: 750px; font-size: clamp(42px, 6vw, 64px); }
.privacy-copy { max-width: 700px; margin: 35px 0 25px; padding: 26px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.privacy-copy p { color: var(--muted); }
.privacy-copy p:last-child { margin-bottom: 0; }
.form-main, .support-main, .admin-main { min-height: 58vh; padding-block: 82px 100px; }
.form-main h1, .support-main h1, .admin-main h1 { max-width: 760px; font-size: clamp(42px, 6vw, 68px); }
.form-lede { max-width: 680px; color: var(--muted); font-size: 20px; }
.suggestion-form { max-width: 700px; margin-top: 38px; padding: 28px; border: 1px solid var(--line); border-radius: 14px; background: white; box-shadow: 0 8px 30px rgb(24 60 50 / 4%); }
.suggestion-form label { display: block; margin-top: 20px; margin-bottom: 7px; font-weight: 600; }
.suggestion-form label:first-of-type { margin-top: 0; }
.suggestion-form input:not([type="checkbox"]), .suggestion-form textarea, .suggestion-form select {
  width: 100%; border: 1px solid #c9ddd3; border-radius: 7px; padding: 11px 12px; color: var(--ink); background: #fbfcfa; font: inherit;
}
.suggestion-form textarea { resize: vertical; }
.suggestion-form input:focus, .suggestion-form textarea:focus, .suggestion-form select:focus { outline: 3px solid rgb(18 123 114 / 22%); border-color: var(--teal); }
.field-help, .form-privacy { color: var(--muted); font-size: 13px; }
.field-help { margin: 5px 0 0; }
.form-privacy { margin: 20px 0 0; }
.form-privacy a, .form-email a { color: var(--teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.form-email { margin: 12px 0 0; color: var(--muted); font-size: 14px; }
.optional { color: var(--muted); font-size: 13px; font-weight: 400; }
.checkbox-label { display: flex !important; align-items: center; gap: 8px; font-weight: 400 !important; }
.checkbox-label input { width: 17px; height: 17px; accent-color: var(--teal); }
.suggestion-form .button { margin-top: 24px; border: 0; cursor: pointer; font: inherit; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.thank-you { min-height: 70vh; }
.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 850px; margin-top: 42px; }
.support-grid article, .tip-jar { padding: 24px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.support-grid h2, .tip-jar h2 { margin-bottom: 8px; font-size: 22px; }
.support-grid p, .tip-jar p { margin: 0; color: var(--muted); }
.tip-jar { max-width: 850px; margin-top: 16px; background: var(--soft); }
.tip-jar .button { margin-top: 18px; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 32px; }
.admin-item { margin-top: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: white; }
.admin-item-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; color: var(--muted); font-size: 13px; }
.admin-date { font-family: ui-monospace, monospace; }
.admin-status { padding: 3px 8px; border-radius: 99px; color: var(--teal-dark); background: var(--soft); text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.admin-item h2 { margin: 13px 0 8px; font-size: 22px; }
.admin-item p { white-space: pre-wrap; }
.admin-meta { color: var(--muted); font-size: 13px; }
.admin-item form { display: flex; align-items: center; gap: 10px; margin-top: 15px; font-size: 14px; }
.admin-item select, .admin-item button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font: inherit; }
.admin-item button { cursor: pointer; color: white; border-color: var(--teal); background: var(--teal); }

@media (max-width: 760px) {
  .wrap { width: min(100% - 32px, 600px); }
  .header-inner { min-height: 66px; }
  .brand { font-size: 15px; gap: 8px; }
  .brand-mark { width: 32px; height: 32px; }
  nav { gap: 14px; }
  .header-inner nav a { font-size: 12px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 4px; padding-block: 72px 66px; }
  .hero::before { width: 300px; height: 300px; right: -160px; top: 180px; }
  .hero-art { min-height: 205px; margin-top: 16px; }
  .art-card { width: 220px; height: 165px; }
  .art-card-back { top: 30px; left: 80px; }
  .art-card-front { top: 15px; left: 55px; padding: 23px; }
  .section { padding-block: 68px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading-row { align-items: start; flex-direction: column; gap: 15px; }
  .principles { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .projects-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-next { min-height: 250px; }
  .support-grid { grid-template-columns: 1fr; }
  .admin-toolbar { align-items: start; flex-direction: column; }
  .about-inner { grid-template-columns: 1fr; gap: 22px; }
  .about-section { padding-block: 62px; }
  .footer-top { align-items: start; flex-direction: column; gap: 18px; padding-block: 10px; }
  .footer-top nav { gap: 16px; }
}
@media (max-width: 420px) {
  .header-inner nav { gap: 9px; }
  .header-inner nav a { font-size: 11px; }
  .principles { grid-template-columns: 1fr; }
  .project-content { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
