:root {
  color-scheme: light;
  --bg: #fffefc;
  --surface: #ffffff;
  --surface-warm: #f6f5f1;
  --surface-green: #eef7ef;
  --ink: #1d211c;
  --muted: #62675f;
  --soft: #8a9085;
  --border: rgba(29, 33, 28, 0.12);
  --border-strong: rgba(29, 33, 28, 0.2);
  --accent: #287a4b;
  --accent-strong: #195a36;
  --accent-soft: #e8f5eb;
  --gold: #d8a431;
  --focus: #0b6fcb;
  --shadow: 0 18px 60px rgba(29, 33, 28, 0.08), 0 6px 24px rgba(29, 33, 28, 0.06), 0 1px 2px rgba(29, 33, 28, 0.08);
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --container: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  background:
    radial-gradient(circle at 8% 4%, rgba(232, 245, 235, 0.9), transparent 18rem),
    radial-gradient(circle at 92% 12%, rgba(216, 164, 49, 0.14), transparent 16rem),
    var(--bg);
  color: var(--ink);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
}

a {
  color: var(--accent-strong);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

::selection {
  background: #d7f1dd;
  color: var(--ink);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  padding: 0.75rem 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow);
}

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

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(255, 254, 252, 0.86);
  backdrop-filter: blur(18px);
}

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

.header-inner {
  min-height: 4.75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid rgba(40, 122, 75, 0.24);
  border-radius: 0.8rem;
  background: linear-gradient(145deg, #eef8ef, #ffffff);
  box-shadow: 0 8px 22px rgba(40, 122, 75, 0.12);
}

.brand-mark svg {
  width: 1.55rem;
  height: 1.55rem;
}

.brand-mark path:first-child,
.brand-mark circle {
  fill: var(--accent);
}

.brand-mark path:nth-child(2) {
  fill: none;
  stroke: var(--surface);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
  padding: 0 0.85rem;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(40, 122, 75, 0.08);
  color: var(--accent-strong);
}

.site-nav .nav-contact {
  margin-left: 0.25rem;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.section-warm {
  background: var(--surface-warm);
  border-block: 1px solid var(--border);
}

.hero {
  padding-top: clamp(4rem, 9vw, 8.5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(20rem, 0.78fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

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

h1,
h2 {
  color: var(--ink);
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.25rem;
  font-size: clamp(3.25rem, 10vw, 6.7rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5.4vw, 4.45rem);
}

h3 {
  margin-bottom: 0.6rem;
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.hero-lede {
  max-width: 39rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 560;
  line-height: 1.42;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.75rem 1rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(40, 122, 75, 0.18);
}

.button-primary:hover {
  background: var(--accent-strong);
  color: #ffffff;
}

.button-secondary {
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.74);
  color: var(--ink);
}

.button-secondary:hover {
  background: var(--surface);
  color: var(--ink);
}

.hero-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.card-topline {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 3.3rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 720;
  padding: 0 1rem;
}

.status-dot {
  width: 0.62rem;
  height: 0.62rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 0.28rem rgba(40, 122, 75, 0.14);
}

.pond-art {
  display: block;
  width: 100%;
  height: auto;
}

.ripple {
  fill: none;
  stroke: rgba(25, 90, 54, 0.15);
  stroke-linecap: round;
  stroke-width: 6;
}

.pad {
  fill: #4a9a63;
  stroke: rgba(25, 90, 54, 0.22);
  stroke-width: 2;
}

.pad-two {
  fill: #62ae73;
}

.pad-three {
  fill: #367d50;
}

.cut {
  fill: none;
  stroke: #eaf6ec;
  stroke-linecap: round;
  stroke-width: 12;
}

.accent {
  fill: var(--gold);
  opacity: 0.9;
}

.accent-small {
  opacity: 0.72;
}

.section-heading {
  max-width: 45rem;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.project-card,
.principle {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.project-card {
  position: relative;
  min-height: 17rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(40, 122, 75, 0.32);
  box-shadow: var(--shadow);
}

.project-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.project-card h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
}

.project-card h3 a:focus-visible {
  outline: none;
}

.project-card:focus-within {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.project-card p,
.principle p,
.disclaimer-card p,
.legal-section p {
  color: var(--muted);
  text-wrap: pretty;
}

.project-meta {
  display: inline-flex;
  margin-bottom: 2.4rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  padding: 0.35rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--accent-strong);
  font-weight: 800;
}

.project-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin-top: 1.2rem;
}

.inline-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  text-decoration: none;
}

.inline-link:hover {
  background: #d7f1dd;
  color: var(--accent-strong);
}

.project-note {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
}

.section-compact {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.disclaimer-card,
.readable-page {
  max-width: 56rem;
}

.disclaimer-card,
.legal-section {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.disclaimer-card h2,
.legal-section h2 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  letter-spacing: -0.045em;
}

.disclaimer-card p:last-child,
.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section {
  margin-top: 1rem;
  box-shadow: none;
}

.detail-list {
  color: var(--muted);
  margin: 1.25rem 0 0;
  padding-left: 1.15rem;
}

.detail-list li + li {
  margin-top: 0.45rem;
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.principles {
  display: grid;
  gap: 1rem;
}

.principle {
  padding: 1.35rem;
}

.principle h3 {
  font-size: 1.18rem;
}

.principle p {
  margin-bottom: 0;
}

.project-detail h1 {
  max-width: 10ch;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.7fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.detail-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  padding: clamp(1.35rem, 3vw, 2rem);
}

.detail-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  letter-spacing: -0.045em;
}

.detail-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  padding: 1.4rem 0;
}

.footer-inner {
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  min-height: 2.75rem;
  align-items: center;
  display: inline-flex;
  font-weight: 700;
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1rem 0;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .site-nav a {
    flex: 0 0 auto;
  }

  .hero-grid,
  .project-grid,
  .approach-grid,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .brand {
    font-size: 0.98rem;
  }

  .site-nav {
    gap: 0.2rem;
  }

  .hero {
    padding-top: 3.25rem;
  }

  h1 {
    max-width: 10ch;
  }

  .project-card {
    min-height: 14rem;
  }
}

@media (max-width: 440px) {
  .hero-actions,
  .button {
    width: 100%;
  }

  .site-nav a {
    padding-inline: 0.72rem;
  }
}

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