:root {
  --bg: #f5efe5;
  --bg-soft: #ebe1d2;
  --surface: #fffaf2;
  --surface-strong: #ffffff;
  --text: #222624;
  --muted: #626a63;
  --line: #d7ccbb;
  --green: #1f5a43;
  --green-dark: #123b2d;
  --accent: #a66d3a;
  --accent-soft: #ead8c3;
  --charcoal: #2b2f2c;
  --shadow: 0 18px 50px rgba(39, 35, 29, 0.09);
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 10;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--charcoal);
  color: #fff;
  border-radius: 6px;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.site-header {
  border-bottom: 1px solid rgba(43, 47, 44, 0.12);
  background: rgba(245, 239, 229, 0.92);
}

.header-inner,
.footer-inner,
.contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 76px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 750;
  font-size: 1.05rem;
}

.brand-link img {
  border-radius: 8px;
}

.main-nav,
.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.main-nav a,
.site-footer a {
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
}

.main-nav a:hover,
.site-footer a:hover {
  color: var(--green-dark);
}

.section {
  padding: 88px 0;
}

.section-muted {
  background: var(--bg-soft);
}

.hero {
  min-height: 600px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(31, 90, 67, 0.08), rgba(166, 109, 58, 0.08)),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 10px;
  font-size: 4rem;
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 2.05rem;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.3;
  letter-spacing: 0;
}

.claim {
  margin-bottom: 26px;
  color: var(--green-dark);
  font-size: 1.35rem;
  font-weight: 720;
}

.hero-intro {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--charcoal);
  font-weight: 700;
  text-decoration: none;
}

.button:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.button-primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.button-primary:hover {
  background: var(--green-dark);
  color: #fff;
}

.button-quiet {
  background: transparent;
}

.hero-mark {
  display: grid;
  justify-items: center;
  gap: 28px;
}

.hero-mark img {
  width: 180px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.hero-mark ul {
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.hero-mark li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 680;
}

.two-column,
.principles {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.flow p:last-child {
  margin-bottom: 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-head p {
  color: var(--muted);
}

.focus-grid,
.project-grid,
.principle-list {
  display: grid;
  gap: 18px;
}

.focus-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.principle-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.focus-card,
.project-card,
.principle-list article {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.focus-card,
.principle-list article {
  padding: 24px;
}

.focus-card p,
.project-card p,
.principle-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.project-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  color: var(--text);
  text-decoration: none;
}

a.project-card:hover {
  border-color: rgba(31, 90, 67, 0.55);
}

.project-card[data-link-state="inactive"] {
  box-shadow: none;
}

.status-badge {
  align-self: flex-start;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 9px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 740;
}

.project-card-online .status-badge {
  border-color: rgba(31, 90, 67, 0.35);
  background: rgba(31, 90, 67, 0.1);
  color: var(--green-dark);
}

.project-card-planned .status-badge {
  border-color: rgba(166, 109, 58, 0.35);
  background: var(--accent-soft);
  color: #6b421f;
}

.project-domain {
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 760;
}

.project-action {
  margin-top: auto;
  padding-top: 16px;
  color: var(--charcoal);
  font-size: 0.9rem;
  font-weight: 760;
}

.project-card[data-link-state="inactive"] .project-action {
  color: var(--muted);
}

.contact-band {
  background: var(--charcoal);
  color: #fff;
}

.contact-band .eyebrow,
.contact-band h2 {
  color: #fff;
}

.contact-band .button {
  border-color: rgba(255, 255, 255, 0.32);
}

.site-footer {
  padding: 28px 0;
  background: var(--charcoal);
  color: rgba(255, 255, 255, 0.8);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.legal-main {
  padding: 70px 0 90px;
}

.legal-layout {
  max-width: 820px;
}

.legal-box {
  margin-top: 26px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.legal-box h2 {
  margin-top: 30px;
  font-size: 1.35rem;
}

.legal-box h2:first-child {
  margin-top: 0;
}

.notice {
  padding: 14px 16px;
  border-left: 4px solid var(--accent);
  background: var(--accent-soft);
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .two-column,
  .principles {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .focus-grid,
  .project-grid,
  .principle-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-mark {
    justify-items: start;
  }

  .hero-mark ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .shell {
    width: min(100% - 24px, var(--max));
  }

  .header-inner,
  .footer-inner,
  .contact-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .header-inner {
    padding: 16px 0;
  }

  .main-nav,
  .site-footer nav {
    gap: 12px;
  }

  .section {
    padding: 48px 0;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: 2.65rem;
  }

  h2 {
    font-size: 1.65rem;
  }

  .claim {
    font-size: 1.1rem;
  }

  .hero-intro {
    font-size: 1rem;
  }

  .focus-grid,
  .project-grid,
  .principle-list,
  .hero-mark ul {
    grid-template-columns: 1fr;
  }

  .hero-mark {
    display: none;
  }

  .button {
    width: 100%;
  }
}

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