:root {
  --bg: #f6f3ed;
  --surface: #ffffff;
  --surface-soft: #fbf9f5;
  --text: #24312d;
  --muted: #66756f;
  --line: #dde4de;
  --accent: #6a8a62;
  --accent-dark: #52694b;
  --footer: #263330;
  --shadow: 0 10px 30px rgba(34, 45, 40, 0.06);
  --radius: 12px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Poppins, Arial, Helvetica, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}

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

code {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.95em;
}

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

.topbar {
  background: #edf2ea;
  border-bottom: 1px solid var(--line);
  color: #41504a;
  font-size: 0.92rem;
}

.topbar-inner {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.topbar a {
  color: #41504a;
  text-decoration: none;
}

.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  text-decoration: none;
}

.brand-mark {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  flex: none;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1.2;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.86rem;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  margin-left: auto;
  font-size: 0.95rem;
}

.nav a {
  color: #33403c;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent-dark);
  border-bottom-color: var(--accent);
}

.desktop-cta {
  margin-left: 8px;
}

.cta,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.cta {
  color: #fff;
  background: var(--accent);
}

.cta:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
}

.button-secondary {
  color: var(--accent-dark);
  background: transparent;
}

.button-secondary:hover {
  background: #eef3ea;
  color: var(--accent-dark);
}

.mobile-nav {
  display: none;
  margin-left: auto;
  position: relative;
}

.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font-weight: 700;
}

.mobile-nav summary::-webkit-details-marker {
  display: none;
}

.mobile-menu {
  position: absolute;
  right: 16px;
  top: calc(100% + 10px);
  width: min(320px, calc(100vw - 32px));
  display: grid;
  gap: 6px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.mobile-menu a {
  padding: 8px 10px;
  border-radius: 10px;
  text-decoration: none;
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  background: #eef3ea;
}

.mobile-nav[open] summary {
  background: #eef3ea;
}

main {
  display: block;
}

.hero,
.section,
.page-title {
  padding: 42px 0;
}

.page-title {
  padding-top: 28px;
  padding-bottom: 18px;
}

.hero-grid,
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 24px;
  align-items: stretch;
}

.hero-grid {
  align-items: center;
}

.panel,
.feature-card,
.image-frame {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.panel,
.feature-card {
  padding: 26px;
}

.hero-copy,
.section-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.3rem, 5vw, 4.1rem);
  margin-top: 14px;
}

h2 {
  font-size: clamp(1.4rem, 2.3vw, 2.1rem);
  margin-bottom: 12px;
}

h3 {
  font-size: 1.16rem;
  margin-bottom: 10px;
}

p {
  margin: 0 0 14px;
}

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

.tight {
  margin-bottom: 0;
}

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

.hero-media {
  padding: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.hero-badge {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.hero-badge strong,
.hero-badge span {
  display: block;
}

.hero-badge span {
  color: var(--muted);
  margin-top: 4px;
}

.image-frame {
  overflow: hidden;
}

.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.image-frame figcaption {
  padding: 14px 18px 16px;
  color: var(--muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--line);
}

.feature-grid,
.gallery-grid {
  display: grid;
  gap: 18px;
}

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

.feature-card {
  background: var(--surface-soft);
}

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

.gallery-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow);
}

.link-list {
  padding-left: 18px;
  margin: 0;
}

ul {
  padding-left: 20px;
  margin-top: 0;
}

li + li {
  margin-top: 6px;
}

.footer {
  margin-top: 28px;
  background: var(--footer);
  color: rgba(255, 255, 255, 0.88);
  padding: 36px 0;
}

.footer-inner {
  padding: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.footer h3,
.footer p,
.footer li {
  color: rgba(255, 255, 255, 0.9);
}

.footer a {
  color: #fff;
}

.footer ul {
  margin: 0;
}

@media (max-width: 1080px) {
  .nav,
  .desktop-cta {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .hero-grid,
  .section-grid,
  .feature-grid,
  .gallery-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 22px));
  }

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

  .brand {
    min-width: 0;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .panel,
  .feature-card {
    padding: 20px;
  }

  .hero,
  .section,
  .page-title {
    padding: 30px 0;
  }

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

  .cta,
  .button-secondary {
    width: 100%;
  }

  h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }
}
