:root {
  --bg: #f2eee6;
  --ink: #15211f;
  --muted: #4f605d;
  --brand: #1f6a55;
  --brand-dark: #0d3b33;
  --sand: #ddc18b;
  --card: #fcfaf5;
  --line: #d9d1c4;
  --radius: 18px;
  --shadow: 0 16px 40px rgba(21, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 8% 10%, #fff4d8 0%, transparent 40%),
    radial-gradient(circle at 95% 20%, #d8efe7 0%, transparent 36%),
    var(--bg);
  line-height: 1.55;
}

h1,
h2,
h3 {
  font-family: "Newsreader", serif;
  line-height: 1.1;
  margin: 0 0 0.5rem;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
}

h2 {
  font-size: clamp(1.6rem, 3.8vw, 2.8rem);
}

p {
  margin: 0;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(242, 238, 230, 0.82);
  border-bottom: 1px solid rgba(21, 33, 31, 0.08);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.brand {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
}

.menu-btn {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--brand-dark);
  text-decoration: none;
  color: #fff;
  background: linear-gradient(130deg, var(--brand), var(--brand-dark));
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-outline {
  color: var(--ink);
  background: transparent;
  border-color: var(--line);
}

.btn-sm {
  padding: 0.55rem 0.9rem;
}

.hero {
  padding: 5.5rem 0 3rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--brand-dark);
  font-size: 0.8rem;
  margin-bottom: 0.8rem;
}

.lead {
  color: var(--muted);
  max-width: 70ch;
  font-size: 1.1rem;
  margin-top: 0.8rem;
}

.hero-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  padding: 0;
  margin: 2rem 0 0;
}

.hero-stats li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.hero-stats strong {
  display: block;
  font-size: 1.35rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.9rem;
}

.section {
  padding: 3rem 0;
}

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

.cards {
  margin-top: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
}

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

.section-note {
  margin-top: 1rem;
  color: var(--muted);
  max-width: 78ch;
}

.timeline {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}

.timeline li {
  border-left: 4px solid var(--sand);
  background: var(--card);
  border-radius: 0 var(--radius) var(--radius) 0;
  border: 1px solid var(--line);
  border-left-width: 4px;
  padding: 1rem;
}

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

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

.project {
  min-height: 0;
  border-radius: var(--radius);
  color: #fff;
  display: block;
  overflow: hidden;
  padding: 0;
  box-shadow: var(--shadow);
}

.project-link {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  text-decoration: none;
  color: #fff;
  padding: 0.8rem;
}

.project-thumb {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 0;
}

.project-title {
  font-weight: 700;
}

.project p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.95);
}

.project-actions {
  margin-top: 0.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.project-actions a {
  display: inline-block;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.35rem 0.7rem;
}

.projects-note {
  margin-top: 0.2rem;
  color: var(--muted);
}

.adu-section .hero-cta {
  margin-top: 1rem;
}

.adu-hub {
  padding-top: 5.2rem;
}

.adu-hub h1 {
  max-width: 18ch;
}

.adu-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0.2rem;
}

.adu-jump-links a {
  text-decoration: none;
  color: var(--brand-dark);
  border: 1px solid #b8d3c8;
  background: #eef8f3;
  border-radius: 999px;
  padding: 0.36rem 0.72rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.adu-jump-links a:hover {
  background: #e0f1e9;
}

.adu-block {
  margin-top: 1rem;
  padding: 1.25rem;
  border-radius: 14px;
}

.adu-block h2 {
  font-size: clamp(1.5rem, 2.9vw, 2.25rem);
}

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

.adu-content-grid .adu-block {
  margin-top: 0;
}

.adu-widget {
  border: 1px solid #b9d9ce;
  background: linear-gradient(135deg, #f4fbf7 0%, #e8f5ef 100%);
}

.adu-widget-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.adu-widget-tags {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
  justify-content: end;
}

.adu-badge {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(120deg, #19815f, #0f5e46);
  padding: 0.3rem 0.62rem;
}

.adu-sync-chip {
  font-size: 0.72rem;
  border-radius: 999px;
  padding: 0.28rem 0.58rem;
  color: #355b53;
  background: rgba(25, 129, 95, 0.13);
  border: 1px solid rgba(25, 129, 95, 0.3);
}

.adu-widget-sub {
  margin-top: 0.3rem;
  color: #355b53;
}

.adu-updates-list {
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.adu-updates-list li {
  margin-bottom: 0.45rem;
}

.adu-updates-list a {
  color: #0f5e46;
  font-weight: 600;
}

.adu-updates-meta {
  margin-top: 0.55rem;
  color: #43675f;
  font-size: 0.84rem;
}

.adu-block p {
  color: var(--muted);
}

.adu-block ul {
  margin: 0.8rem 0 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.52rem;
}

.adu-block ul li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
}

.adu-block ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: #2f8d73;
}

.adu-block .timeline {
  margin-top: 0.8rem;
}

.adu-block .timeline li {
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.66);
}

.adu-block .timeline h3 {
  font-size: 1.1rem;
}

.adu-block .cards {
  margin-top: 0.8rem;
}

.adu-block .cards .card {
  background: rgba(255, 255, 255, 0.72);
}

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

.adu-photo-grid figure {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
}

.adu-photo-grid img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.adu-photo-grid figcaption {
  color: var(--muted);
  font-size: 0.86rem;
  padding: 0.6rem 0.75rem;
}

.handbook-page {
  padding-top: 5.2rem;
}

.handbook-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1rem;
  align-items: start;
}

.handbook-left {
  display: grid;
  gap: 0.85rem;
}

.handbook-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.handbook-proof-strip span {
  border: 1px solid #bed8ce;
  background: #edf7f3;
  color: #1e5d4c;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.handbook-cover-mock {
  margin-top: 0.15rem;
  border-radius: 18px;
  border: 1px solid #13493c;
  background: linear-gradient(145deg, #1c6c56, #0e392f);
  color: #f3f7f5;
  padding: 1.2rem;
  box-shadow: 0 20px 46px rgba(14, 57, 47, 0.25);
}

.handbook-cover-mock p {
  margin: 0;
  opacity: 0.9;
}

.handbook-cover-mock h2 {
  margin: 0.2rem 0 0.4rem;
  font-size: clamp(1.8rem, 3.3vw, 2.5rem);
}

.handbook-signup-card {
  border: 1px solid #0f4f3f;
  background: linear-gradient(180deg, #ffffff 0%, #f7fcfa 100%);
  box-shadow: 0 16px 36px rgba(16, 56, 47, 0.14);
}

.handbook-card-eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1b6550;
  font-size: 0.73rem;
  font-weight: 700;
}

.handbook-card-copy {
  color: var(--muted);
  margin-top: 0.25rem;
}

.handbook-value-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.handbook-value-list li {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.6rem 0.75rem;
  color: var(--muted);
}

.handbook-signup-card h2 {
  margin-bottom: 0.4rem;
  margin-top: 0.25rem;
}

.handbook-form {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.5rem;
}

.handbook-form input,
.handbook-form select {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.handbook-honey {
  position: absolute;
  left: -9999px;
}

.handbook-consent {
  display: flex;
  align-items: start;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.handbook-consent input {
  margin-top: 0.15rem;
}

.handbook-cards {
  margin-top: 0.9rem;
}

.handbook-highlight-bar {
  margin-top: 1rem;
  border: 1px solid #c7d8d2;
  background: linear-gradient(120deg, #f8f8f4, #eef8f3);
}

.handbook-highlight-bar p {
  color: #2f4742;
}

.handbook-disclaimer {
  margin-top: 1rem;
}

.project-page {
  padding: 3rem 0;
}

.project-back {
  margin-bottom: 1rem;
  display: inline-block;
  color: var(--brand-dark);
  text-decoration: none;
  font-weight: 600;
}

.project-meta {
  color: var(--muted);
  margin-bottom: 1rem;
}

.project-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1rem;
}

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

.project-gallery figure {
  margin: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.project-gallery img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.project-gallery figcaption {
  font-size: 0.82rem;
  color: var(--muted);
  padding: 0.55rem 0.65rem;
}

.project-details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
}

.project-details ul {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
}

.project-details li {
  margin-bottom: 0.35rem;
}

.p1 {
  background: linear-gradient(160deg, #245043, #132f28);
}

.p2 {
  background: linear-gradient(160deg, #355a49, #1a3228);
}

.p3 {
  background: linear-gradient(160deg, #6a6040, #3b3323);
}

.estimator-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.estimator {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
}

.estimator input,
.estimator select {
  font: inherit;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
}

.estimate-result {
  font-weight: 700;
  color: var(--brand-dark);
}

.estimate-breakdown {
  color: var(--muted);
  font-size: 0.95rem;
}

.estimate-note {
  color: var(--muted);
  font-size: 0.86rem;
}

#handbook-form-status {
  margin-top: 0.35rem;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid #d5d5d0;
  background: #f7f7f3;
}

#handbook-form-status.is-success {
  border-color: #9fd2bf;
  background: #eaf8f2;
  color: #14503f;
}

#handbook-form-status.is-warning {
  border-color: #e4cea0;
  background: #fff7e6;
  color: #6e4e1e;
}

#handbook-form-status.is-error {
  border-color: #dfb1b1;
  background: #fff0f0;
  color: #7c2b2b;
}

.contact {
  text-align: center;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.95rem;
}

.bg-orb {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(28px);
  opacity: 0.33;
}

.orb-1 {
  width: 300px;
  height: 300px;
  top: -40px;
  right: -80px;
  background: #8bc9b5;
}

.orb-2 {
  width: 260px;
  height: 260px;
  left: -120px;
  bottom: 20%;
  background: #efc680;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .menu-btn {
    display: inline-flex;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font: inherit;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 1rem;
    right: 1rem;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 0.8rem;
    flex-direction: column;
    align-items: start;
  }

  .site-nav.open {
    display: flex;
  }

  .cards,
  .project-grid,
  .hero-stats,
  .estimator-wrap {
    grid-template-columns: 1fr;
  }

  .project-layout,
  .project-gallery,
  .adu-photo-grid,
  .adu-content-grid,
  .handbook-hero {
    grid-template-columns: 1fr;
  }

  .adu-jump-links {
    gap: 0.45rem;
  }

  .adu-jump-links a {
    font-size: 0.82rem;
  }

  .footer-wrap {
    flex-direction: column;
    gap: 0.3rem;
  }
}
