:root {
  color-scheme: light;
  --ink: #303330;
  --muted: #656b66;
  --green: #2f7448;
  --green-dark: #174e34;
  --green-pale: #eef5ef;
  --blue: #4057f5;
  --red: #c93830;
  --paper: #ffffff;
  --line: #e4e9e4;
  --shadow: 0 18px 50px rgba(20, 45, 28, 0.13);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: 1.7;
  background: var(--paper);
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--green-dark);
}

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

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

.container {
  width: min(100% - 2.5rem, 1160px);
  margin-inline: auto;
}

.narrow-container {
  max-width: 860px;
}

.text-center {
  text-align: center;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.6rem 1rem;
  transform: translateY(-160%);
  border-radius: 0.4rem;
  background: var(--paper);
  color: var(--green-dark);
  font-weight: 700;
}

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

.site-header {
  position: relative;
  z-index: 5;
  background: var(--paper);
  box-shadow: 0 3px 20px rgba(20, 45, 28, 0.06);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  margin-right: auto;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.06em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  font-weight: 400;
}

.primary-navigation ul {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.3rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-navigation a {
  position: relative;
  display: inline-block;
  padding: 0.65rem 0 0.5rem;
  color: #424642;
  font-size: 1.05rem;
  text-decoration: none;
}

.primary-navigation a::after {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  left: 0;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--blue);
  content: "";
  transition: transform 160ms ease;
}

.primary-navigation a:hover::after,
.primary-navigation a[aria-current="page"]::after {
  transform: scaleX(1);
}

.menu-toggle,
.search-toggle {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  padding: 0.45rem;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.menu-toggle {
  display: none;
  width: 42px;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.search-toggle svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-toggle:hover,
.menu-toggle:hover {
  color: var(--green-dark);
}

.search-panel {
  border-top: 1px solid var(--line);
  background: #f8faf8;
}

.search-panel[hidden] {
  display: none;
}

.search-inner {
  display: grid;
  gap: 0.55rem;
  padding-block: 1.2rem;
}

.search-inner label {
  font-weight: 700;
}

.search-input-row {
  display: flex;
  gap: 0.6rem;
}

.search-input-row input,
.signup-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid #cbd4cb;
  border-radius: 0.45rem;
  background: var(--paper);
  color: var(--ink);
}

.search-results {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.search-results:empty {
  display: none;
}

.search-result {
  display: inline-block;
  padding: 0.4rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--paper);
  text-decoration: none;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: clamp(310px, 32vw, 500px);
  place-items: center;
  overflow: hidden;
  background-color: var(--green);
  background-image: url("assets/garden.webp");
  background-position: center 45%;
  background-size: cover;
  color: var(--paper);
  isolation: isolate;
}

.about-hero {
  background-image: url("assets/about-garden.jpg");
}

.hero-shade {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(110deg, rgba(20, 83, 49, 0.78), rgba(54, 144, 73, 0.6));
}

.hero-content {
  padding-block: 3.5rem;
  text-align: center;
}

.hero-content h1 {
  max-width: 1040px;
  margin: 0 auto;
  color: var(--paper);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  line-height: 1.16;
  text-wrap: balance;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: #e5f4e7;
}

.content-section {
  padding-block: clamp(3.5rem, 7vw, 6.5rem);
}

.intro-section {
  padding-bottom: 4.3rem;
}

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

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  line-height: 1.22;
  text-wrap: balance;
}

h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.35;
}

p {
  margin-bottom: 1.1rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.intro-section h2 {
  margin-bottom: 3.7rem;
}

.intro-section h3 {
  margin-bottom: 1.3rem;
}

.intro-section p {
  max-width: 1050px;
  margin-inline: auto;
  line-height: 1.9;
}

.accent-text {
  color: var(--red);
}

.section-heading {
  max-width: 960px;
  margin: 0 auto 2.7rem;
}

.section-heading p:last-child {
  margin-bottom: 0;
}

.garden-figure {
  max-width: 850px;
  margin: 0 auto 2.5rem;
}

.garden-figure img {
  width: 100%;
  max-height: 600px;
  border-radius: 0.7rem;
  object-fit: cover;
}

.garden-figure figcaption {
  padding-top: 0.7rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
  text-align: center;
}

.blueprint-label {
  margin: 0 auto 1.2rem;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 700;
  font-style: italic;
  text-align: center;
}

.article-container {
  max-width: 880px;
}

.article-container > p,
.article-section p {
  line-height: 1.85;
}

.article-lead {
  color: var(--ink);
  font-size: 1.2rem;
  line-height: 1.85;
}

.article-section {
  margin-top: 3rem;
}

.article-section h2 {
  margin-bottom: 0.9rem;
  color: var(--green-dark);
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.about-figure {
  max-width: 760px;
  margin: 0 auto 2.7rem;
}

.about-figure img {
  width: 100%;
  max-height: 720px;
  border-radius: 0.75rem;
  object-fit: cover;
  object-position: center 35%;
}

.about-figure figcaption {
  padding-top: 0.7rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-style: italic;
  text-align: center;
}

.contents-box {
  margin-block: 2rem 3rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #f8faf8;
}

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

.contents-header h2 {
  margin: 0;
  font-size: 1.15rem;
}

.contents-toggle {
  padding: 0.35rem 0.6rem;
  border: 0;
  background: transparent;
  color: var(--green-dark);
  font-weight: 700;
  cursor: pointer;
}

.contents-list {
  display: grid;
  gap: 0.35rem;
  margin: 0.8rem 0 0;
  padding-left: 1.4rem;
}

.contents-list a {
  text-underline-offset: 0.18em;
}

.belief-list {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.2rem;
  padding-left: 1.35rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.article-cta {
  margin-top: 3.2rem;
  padding: 2rem;
  border-radius: 0.8rem;
  background: var(--green-pale);
}

.article-cta h2 {
  color: var(--green-dark);
}

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

.feature-card {
  position: relative;
  min-height: 190px;
  padding: 1.5rem 1.55rem 1.35rem 4.5rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: #fbfcfb;
}

.feature-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.2rem;
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.feature-number {
  position: absolute;
  top: 1.45rem;
  left: 1.35rem;
  color: var(--green);
  font-size: 1.2rem;
  font-weight: 800;
}

.experience-section {
  background: var(--green-pale);
}

.experience-section h2 {
  color: var(--green-dark);
}

.cta-section {
  padding-bottom: 4.6rem;
}

.cta-question {
  margin-block: 1.6rem 1.9rem;
  color: var(--green-dark);
  font-weight: 700;
  font-style: italic;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.55rem;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease;
}

.button:hover {
  transform: translateY(-1px);
  background: #2f43d6;
  color: var(--paper);
}

.button:focus-visible,
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #f0bf45;
  outline-offset: 3px;
}

.button-small {
  min-height: 44px;
  padding-inline: 1.1rem;
}

.signup-section {
  padding-top: 1rem;
  background: linear-gradient(180deg, var(--paper), #f5f8f5);
}

.signup-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: 3rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.signup-copy h2 {
  max-width: 570px;
}

.signup-form {
  display: grid;
  gap: 0.7rem;
}

.signup-form label {
  color: var(--ink);
  font-weight: 700;
}

.signup-form .button {
  width: 100%;
  margin-top: 0.25rem;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
}

.site-footer {
  padding-block: 1.4rem;
  border-top: 1px solid var(--line);
  background: #fafbfa;
}

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

.footer-brand {
  font-size: 1.15rem;
}

.footer-inner p {
  margin: 0;
  font-size: 0.9rem;
}

.signup-popup {
  width: min(1000px, calc(100% - 2rem));
  max-width: 1000px;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow-y: auto;
  border: 0;
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.signup-popup::backdrop {
  background: rgba(15, 24, 17, 0.68);
  backdrop-filter: blur(2px);
}

.popup-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
}

.popup-image {
  width: 100%;
  height: 100%;
  max-height: 570px;
  border-radius: 1rem 0 0 1rem;
  object-fit: cover;
}

.popup-copy {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 1.2rem;
  padding: clamp(2rem, 5vw, 4rem);
  text-align: center;
}

.popup-copy .eyebrow {
  margin: 0;
  color: var(--red);
  font-size: 0.95rem;
  letter-spacing: 0;
}

.popup-copy h2 {
  margin: 0.2rem 0 0.6rem;
  font-size: clamp(2rem, 4vw, 3.1rem);
  text-transform: uppercase;
}

.popup-cta {
  width: 100%;
}

.popup-close {
  position: absolute;
  top: 0.8rem;
  right: 0.8rem;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #f2f4f2;
  color: var(--ink);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.text-button {
  border: 0;
  background: transparent;
  color: var(--red);
  font-size: 1rem;
  cursor: pointer;
}

.text-button:hover {
  text-decoration: underline;
}

.back-to-top {
  position: fixed;
  z-index: 4;
  right: 1.2rem;
  bottom: 1.2rem;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  transform: translateY(8px);
  border: 0;
  border-radius: 50%;
  background: var(--green-dark);
  color: var(--paper);
  font-size: 1.5rem;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 850px) {
  .header-inner {
    gap: 0.85rem;
  }

  .primary-navigation ul {
    gap: 1.1rem;
  }

  .primary-navigation a {
    font-size: 0.95rem;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 1.5rem, 1160px);
  }

  .header-inner {
    min-height: 72px;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: grid;
    order: 2;
  }

  .search-toggle {
    order: 3;
  }

  .primary-navigation {
    display: none;
    order: 4;
    flex: 1 0 100%;
    padding: 0 0 0.7rem;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    display: grid;
    gap: 0.1rem;
  }

  .primary-navigation a {
    display: block;
    padding: 0.7rem 0.2rem;
    font-size: 1.05rem;
  }

  .primary-navigation a::after {
    right: auto;
    bottom: 0.25rem;
    width: 3rem;
  }

  .page-hero {
    min-height: 340px;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 9vw, 3.2rem);
  }

  .intro-section h2 {
    margin-bottom: 2.3rem;
  }

  .feature-grid,
  .signup-card {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: auto;
  }

  .contents-box {
    padding: 1rem;
  }

  .contents-header {
    align-items: flex-start;
  }

  .signup-card {
    gap: 1.5rem;
  }

  .popup-layout {
    grid-template-columns: 1fr;
  }

  .popup-image {
    height: min(42vh, 300px);
    max-height: 300px;
    border-radius: 1rem 1rem 0 0;
    object-position: center;
  }

  .popup-copy {
    gap: 0.8rem;
    padding: 1.6rem 1.25rem 1.8rem;
  }

  .popup-copy h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }
}

@media (max-width: 460px) {
  .brand {
    font-size: 1.2rem;
  }

  .search-input-row {
    flex-direction: column;
  }

  .search-input-row .button {
    width: 100%;
  }

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

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