:root {
  --bg: #f2ecdf;
  --paper: rgba(255, 251, 243, 0.82);
  --ink: #15222d;
  --muted: #5b665f;
  --line: rgba(21, 34, 45, 0.12);
  --accent: #2f6a52;
  --accent-strong: #173f31;
  --accent-soft: #dce9de;
  --signal: #c46f36;
  --shadow: 0 24px 60px rgba(21, 34, 45, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", "Segoe UI Variable", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgba(196, 111, 54, 0.16), transparent 24rem),
    radial-gradient(circle at 12% 20%, rgba(47, 106, 82, 0.14), transparent 22rem),
    linear-gradient(180deg, #f8f3e8 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(21, 34, 45, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 34, 45, 0.025) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 90%);
}

.page-shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.2rem 0 2rem;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.8rem 1rem;
  margin-top: 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(16px);
  background: rgba(248, 243, 232, 0.75);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.site-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-nav a,
.footer-links a {
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.hero,
.section,
.site-footer {
  position: relative;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.9fr);
  gap: 1.5rem;
  padding: 5rem 0 2rem;
}

.hero-copy,
.hero-panel,
.info-card,
.project-card,
.panel-card,
.site-footer {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 2.5rem;
}

.hero-panel {
  padding: 1.6rem;
  align-self: end;
  background:
    linear-gradient(180deg, rgba(47, 106, 82, 0.12), rgba(255, 251, 243, 0.9)),
    var(--paper);
}

.eyebrow,
.panel-label,
.project-tag {
  margin: 0 0 0.75rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  font-weight: 600;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  font-family: "Fraunces", Georgia, serif;
  font-weight: 700;
}

h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 8vw, 5.8rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: 1.55rem;
  margin-bottom: 0.85rem;
}

.lead {
  max-width: 60ch;
  margin: 1.5rem 0 0;
  font-size: 1.16rem;
  line-height: 1.75;
}

.supporting,
.info-card p,
.project-card p,
.panel-card li,
.footer-copy,
.availability,
.signal-list li {
  color: var(--muted);
  line-height: 1.72;
}

.supporting {
  max-width: 62ch;
  margin-top: 1rem;
  font-size: 1rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 11rem;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-weight: 600;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    color 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
}

.button.secondary {
  color: var(--ink);
  border-color: rgba(21, 34, 45, 0.16);
  background: rgba(255, 255, 255, 0.62);
}

.availability {
  margin-top: 1.15rem;
  font-size: 0.95rem;
}

.signal-list,
.bullet-list {
  margin: 0;
  padding-left: 1.1rem;
}

.signal-list li + li,
.bullet-list li + li {
  margin-top: 0.7rem;
}

.section {
  padding: 1.5rem 0;
}

.section-heading {
  display: grid;
  gap: 0.55rem;
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.card-grid,
.project-grid,
.dual-section {
  display: grid;
  gap: 1.2rem;
}

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

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

.dual-section {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card,
.project-card,
.panel-card {
  padding: 1.5rem;
}

.info-card {
  background:
    linear-gradient(180deg, rgba(255, 251, 243, 0.98), rgba(220, 233, 222, 0.62)),
    var(--paper);
}

.accent-section .project-card:nth-child(2) {
  transform: translateY(0.8rem);
}

.project-note {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.panel-card {
  background:
    linear-gradient(145deg, rgba(255, 251, 243, 0.96), rgba(255, 255, 255, 0.74)),
    var(--paper);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin: 2rem 0 1rem;
  padding: 1.4rem 1.5rem;
}

.footer-title {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
}

.footer-copy {
  margin: 0.35rem 0 0;
}

.footer-links {
  display: grid;
  gap: 0.45rem;
  text-align: right;
}

@media (max-width: 980px) {
  .hero,
  .card-grid,
  .project-grid,
  .dual-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .accent-section .project-card:nth-child(2) {
    transform: none;
  }

  .site-footer {
    align-items: flex-start;
  }

  .footer-links {
    text-align: left;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 1rem, 1160px);
  }

  .site-header {
    border-radius: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-copy,
  .hero-panel,
  .info-card,
  .project-card,
  .panel-card,
  .site-footer {
    border-radius: 22px;
  }

  .hero-copy {
    padding: 1.5rem;
  }

  .button {
    width: 100%;
  }
}
