:root {
  --night: #2e2a1f;
  --navy: #4f6142;
  --sky: #93a37f;
  --sun: #d1a24a;
  --snowcap: #eef1ec;
  --paper: #f6f1e4;
  --panel: rgba(255, 253, 246, 0.92);
  --ink: #2b2a22;
  --muted: #5c6650;
  --stroke: rgba(43, 42, 34, 0.14);
  --wrap: 1120px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  font-family: "Public Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(238, 241, 236, 0.85), transparent 40%),
    radial-gradient(circle at 88% 10%, rgba(209, 162, 74, 0.16), transparent 42%),
    linear-gradient(180deg, #f8f4e8 0%, var(--paper) 45%, #eee7d4 100%);
}

.ambient {
  position: fixed;
  z-index: -2;
  pointer-events: none;
}

.ambient-one,
.ambient-two {
  border-radius: 50%;
  filter: blur(44px);
}

.ambient-one {
  width: 360px;
  height: 360px;
  top: -90px;
  left: -80px;
  background: rgba(238, 241, 236, 0.55);
}

.ambient-two {
  width: 320px;
  height: 320px;
  right: -90px;
  bottom: 6vh;
  background: rgba(147, 163, 127, 0.22);
}

.ambient-grid {
  inset: 0;
  background-image: linear-gradient(rgba(43, 42, 34, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(43, 42, 34, 0.03) 1px, transparent 1px);
  background-size: 34px 34px;
  z-index: -3;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2rem));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  backdrop-filter: blur(12px);
  background: rgba(246, 241, 228, 0.88);
  border-bottom: 1px solid rgba(43, 42, 34, 0.1);
  z-index: 20;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: block;
  width: clamp(8.5rem, 18vw, 11rem);
  height: auto;
  border-radius: 0.5rem;
}

.brand-name {
  font-weight: 700;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem;
}
 
.nav-toggle-input {
  display: none;
}
 
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  border: 1px solid rgba(43, 42, 34, 0.16);
  background: rgba(255, 253, 246, 0.95);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.56rem 0.9rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(30, 52, 82, 0.08);
}
 
.menu-toggle-icon {
  position: relative;
  width: 1.1rem;
  height: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
}
 
.menu-toggle-icon::before {
  content: "☰";
  font-size: 1.05rem;
  line-height: 1;
  display: block;
  transition: transform 180ms ease, content 180ms ease;
}
 
.menu-toggle-label {
  line-height: 1;
}
 
.site-nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
  transition: background-color 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--night);
  background: rgba(147, 163, 127, 0.28);
  outline: none;
}

main {
  padding: 2.1rem 0 3rem;
}

.hero {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 1.2rem;
  padding: clamp(1.3rem, 3vw, 2.3rem);
  box-shadow: 0 28px 48px rgba(30, 52, 82, 0.09);
  animation: enter 520ms ease-out both;
}

.hero-illustrated {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: clamp(17rem, 31vw, 23rem);
  color: #f7f2e6;
  box-shadow: 0 24px 48px rgba(30, 52, 82, 0.09);
  display: flex;
  align-items: flex-end;
}

.hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -2;
  opacity: 0.95;
}

.hero-illustrated::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(248, 242, 230, 0.74) 0%, rgba(255, 255, 255, 0.22) 42%, rgba(209, 162, 74, 0.16) 100%);
  pointer-events: none;
  z-index: -1;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 44rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.65rem;
  min-height: 100%;
  padding-top: clamp(2rem, 6vw, 3.4rem);
}

.hero-illustrated .eyebrow,
.hero-illustrated .lead,
.hero-illustrated .kicker,
.hero-illustrated .text-link,
.hero-illustrated p,
.hero-illustrated li {
  color: rgba(43, 42, 34, 0.96);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.55);
}

.hero-illustrated h1 {
  color: #1f2318;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.64);
}

.hero-illustrated .btn-primary {
  color: #fff;
  background: linear-gradient(110deg, #4f6142, #7c9161);
}

.hero-illustrated .btn-secondary {
  color: var(--night);
  background: rgba(246, 241, 228, 0.95);
  border-color: rgba(43, 42, 34, 0.12);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  border-radius: 0.7rem;
  border: 2px solid #2e2a1f;
  background: #fff;
  color: #1f2318;
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
  outline: 3px solid #2e2a1f;
  outline-offset: 3px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f5a3f;
  font-size: 0.76rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: "Newsreader", serif;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.9rem, 4.4vw, 3.15rem);
  line-height: 1.08;
}

.lead {
  margin: 0;
  color: #443f2c;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 64ch;
}

.hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 0.7rem;
  padding: 0.72rem 1.08rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(110deg, #4f6142, #7c9161);
}

.btn-secondary {
  color: var(--night);
  background: rgba(209, 162, 74, 0.22);
  border-color: rgba(43, 42, 34, 0.14);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

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

.card,
.panel,
.content-block {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 1rem;
  padding: 1rem;
  animation: enter 620ms ease-out both;
}

.card:nth-child(2) {
  animation-delay: 70ms;
}

.card:nth-child(3) {
  animation-delay: 140ms;
}

.card h2,
.panel h2 {
  margin: 0 0 0.55rem;
  font-size: 1.3rem;
}

.card p,
.panel p,
.content-block p,
.content-block li {
  margin: 0;
  color: #40492f;
  line-height: 1.6;
}

.text-link {
  margin-top: 0.7rem;
  display: inline-block;
  color: #45611f;
  font-weight: 700;
  text-decoration-thickness: 2px;
}

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

.page-header {
  margin-bottom: 1rem;
}

.page-header h1 {
  margin-bottom: 0.4rem;
}

.kicker {
  margin: 0;
  color: #4f5a3a;
  font-weight: 600;
}

.content-block h2 {
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}

.content-block h3 {
  margin: 0.8rem 0 0.45rem;
  font-size: 1.1rem;
}

.content-block ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.content-block li + li {
  margin-top: 0.42rem;
}

.content-block a,
.panel a {
  color: #45611f;
  font-weight: 600;
}

.content-block a:hover,
.panel a:hover {
  color: #2e2a1f;
}

.site-footer {
  border-top: 1px solid rgba(43, 42, 34, 0.12);
  margin-top: 1.4rem;
  padding: 1rem 0 1.8rem;
  background: rgba(255, 253, 246, 0.55);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.footer-inner p {
  margin: 0;
  font-weight: 600;
  color: #2e2a1f;
}

.footer-inner a {
  color: #3d5730;
  font-weight: 600;
}

@keyframes enter {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
@keyframes mobile-nav-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
 
@media (max-width: 980px) {
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .card-grid,
  .split-section,
  .stack {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .topbar-inner {
    flex-wrap: wrap;
    align-items: center;
  }
 
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
    padding: 0.68rem 0.95rem;
    background: linear-gradient(120deg, rgba(79, 97, 66, 0.95), rgba(124, 145, 97, 0.95));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 15px 24px rgba(79, 97, 66, 0.2);
  }
 
  .menu-toggle:hover,
  .menu-toggle:focus-visible {
    transform: none;
  }
 
  .nav-toggle-input:checked + .menu-toggle .menu-toggle-icon::before {
    content: "✕";
    transform: rotate(180deg) scale(0.96);
  }
   
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 220ms ease, opacity 220ms ease, padding 220ms ease;
  }
   
  .nav-toggle-input:checked + .menu-toggle + .site-nav {
    display: flex;
    max-height: 20rem;
    opacity: 1;
    padding-top: 0.7rem;
    pointer-events: auto;
  }
 
  .site-nav a {
    width: 100%;
    text-align: left;
    min-height: 2.6rem;
    padding: 0.7rem 0.8rem;
    background: rgba(255, 253, 246, 0.95);
    border: 1px solid rgba(43, 42, 34, 0.08);
    border-radius: 0.8rem;
    box-shadow: 0 7px 14px rgba(30, 52, 82, 0.05);
  }
 
  .site-nav a.active {
    background: rgba(147, 163, 127, 0.24);
  }
}
 
@media (max-width: 620px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 1.25rem));
  }
 
  .topbar-inner {
    padding: 0.9rem 0 0.8rem;
  }
 
  .brand-mark {
    width: clamp(8rem, 42vw, 10rem);
  }
 
  main {
    padding: 1.3rem 0 2.3rem;
  }

  .hero {
    padding: 1.2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

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

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