:root {
  color-scheme: light;
  --color-ink: #203a2d;
  --color-muted: #5d6b5f;
  --color-paper: #f7f7f0;
  --color-leaf: #315f42;
  --color-leaf-dark: #234833;
  --color-lime: #dce8a8;
  --font-body: "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  margin: 0;
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  line-height: 1.6;
}

main {
  flex: 1;
}

body.image-preview-open {
  position: fixed;
  top: var(--image-preview-scroll-y);
  left: 0;
  width: 100%;
  overflow: hidden;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #a35c24;
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  z-index: 2;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.6rem 0.9rem;
  transform: translateY(-160%);
  background: #fff;
  color: var(--color-ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem max(6vw, calc((100vw - 1200px) / 2));
}

.site-header {
  min-height: 5.5rem;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.header-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.15rem;
  font-weight: 750;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 50%;
  background: var(--color-leaf);
  color: #fff;
  font-size: 0.95rem;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-subtitle {
  margin-top: 0.2rem;
  color: var(--color-muted);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-illustration {
  width: 5.5rem;
  height: 3.75rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-header .site-nav {
  margin-left: 2.65rem;
}

.site-nav a {
  color: var(--color-muted);
  white-space: nowrap;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-leaf-dark);
}

.site-nav a[aria-current="page"] {
  font-weight: 700;
}

.menu-toggle {
  display: none;
}

@media (min-width: 701px) and (max-width: 1000px) {
  .site-header .site-nav {
    flex-wrap: wrap;
    gap: 0.4rem 1.25rem;
    margin-left: 0;
  }
}

.hero {
  display: grid;
  width: min(1200px, 88vw);
  min-height: 25rem;
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 2rem 0 2rem;
}

.hero-copy {
  width: 100%;
  text-align: center;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--color-leaf);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 5.4vw, 4.8rem);
  white-space: nowrap;
}

.hero h1 span {
  color: var(--color-leaf);
}

.hero-subheading {
  margin-bottom: 1.5rem;
  color: var(--color-muted);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  line-height: 1.5;
}

.hero-intro-card {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin: 0 auto 1.5rem;
}

.potager-autonomy-card {
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.first-visit-card {
  grid-column: 1 / -1;
  justify-self: center;
  width: calc((100% - 1.25rem) / 2);
}

.first-visit-card ul {
  display: grid;
  gap: 0.35rem;
  margin: 0.75rem 0 0;
  padding-left: 1.25rem;
}

.potager-process-section .process-card {
  overflow: hidden;
  padding: 0;
}

.potager-process-section .process-card-service {
  grid-column: 1 / -1;
  background: #e7edcf;
}

.potager-process-section .process-card-header {
  padding: 1.1rem;
  border-bottom: 1px solid #cbd8b5;
  background: #e7edcf;
  text-align: center;
}

.potager-process-section .process-card-header h2 {
  margin-bottom: 0.35rem;
  text-align: center;
}

.potager-process-section .process-card-icon {
  display: block;
  width: 7rem;
  height: 7rem;
  object-fit: contain;
  margin: 0 auto 0.5rem;
}

.potager-process-section .process-card-service-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.potager-process-section .process-card-icon-inline {
  width: 2.25rem;
  height: 2.25rem;
  flex: 0 0 2.25rem;
}

.potager-process-section .process-card-header p {
  text-align: center;
}

.potager-process-section .process-card-content {
  padding: 1.1rem;
}

.potager-process-section .process-card-content ul {
  display: grid;
  gap: 0.35rem;
  margin: 0;
  padding-left: 1.25rem;
  line-height: 1.5;
  text-align: left;
}

.potager-formula-cards {
  width: min(1200px, 88vw);
  margin: 2rem auto;
}

.potager-haricot-card {
  grid-column: 1 / -1;
}

.journey-story {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: start;
  column-gap: clamp(0.875rem, calc(4vw - 10px), 2.375rem);
  row-gap: clamp(1.5rem, 4vw, 3rem);
  margin: 2rem auto;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid #e1e5d8;
  border-radius: 1rem;
  background: #fffefa;
  text-align: left;
}

.winter-garden-story {
  align-items: stretch;
}

.winter-garden-story .journey-story-figure {
  display: block;
}

.winter-garden-story .journey-story-image {
  width: 100%;
  height: 23rem;
  max-height: none;
  object-fit: cover;
}

.winter-garden-story .journey-story-figure figcaption {
  width: 100%;
}

.journey-story-figure {
  margin: 0;
}

.journey-story-image {
  display: block;
  width: calc(100% - 10px);
  max-height: calc(42rem - 15px);
  border-radius: 1rem;
  object-fit: cover;
}

.journey-story-figure figcaption {
  width: calc(100% - 10px);
  margin-top: 0.6rem;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
}

.journey-story-figure figcaption strong {
  color: var(--color-ink);
}

.journey-story-copy {
  width: calc(100% + 10px);
}

.journey-story-text-only .journey-story-copy {
  grid-column: 1 / -1;
  width: 100%;
}

.harvest-card {
  display: block;
}

.harvest-section .topics-heading {
  margin-bottom: 1.5rem;
}

.harvest-section .journey-story {
  margin: 0 auto 1.5rem;
}

.harvest-section .journey-story:last-child {
  margin-bottom: 0;
}

.harvest-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.harvest-gallery img,
.harvest-gallery-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid #e1e5d8;
  border-radius: 0.6rem;
  object-fit: cover;
}

.harvest-gallery .image-preview-button {
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0.6rem;
  background: transparent;
  cursor: pointer;
}

.harvest-gallery .image-preview-button img {
  height: 100%;
  cursor: pointer;
}

.harvest-gallery-placeholder {
  border-style: dashed;
  background: var(--color-paper);
}

.journey-story-copy h2 {
  margin-bottom: 1.25rem;
  color: var(--color-leaf-dark);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.journey-story-copy p {
  margin-bottom: 1rem;
  color: var(--color-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.journey-story-copy strong {
  color: var(--color-ink);
}

.hero-intro-item {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: 1rem;
  background: #e7edcf;
}

.hero-intro-item p {
  margin: 0;
  color: var(--color-ink);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.08;
}

.hero-intro-item-formula h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  color: var(--color-leaf-dark);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  letter-spacing: -0.04em;
  text-align: center;
}

.vegetable-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 2.5rem;
  object-fit: contain;
}

.hero-intro-item-formula {
  border: 1px solid #e1e5d8;
  background: #fffefa;
}

.hero-intro-item-formula p {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
}

.hero-intro-item-formula p + p {
  margin-top: 0.75rem;
}

.tomato-info-card h2 {
  margin: 0 0 0.75rem;
  color: var(--color-leaf-dark);
  font-size: 1.35rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.tomato-info-card-savory h2 {
  margin-bottom: 1.25rem;
}

.tomato-info-card h3 {
  margin: 1rem 0 0.5rem;
  color: var(--color-leaf-dark);
  font-size: 1.05rem;
}

.tomato-info-card p {
  margin: 0 0 0.75rem;
  color: var(--color-ink);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.5;
}

.tomato-info-card .tomato-card-summary {
  font-weight: 650;
}

.tomato-info-card ul {
  margin: 0;
  padding-left: 1.25rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.tomato-info-card li + li {
  margin-top: 0.35rem;
}

.tomato-stat-arrow {
  color: #c62828;
  font-weight: 700;
  -webkit-text-stroke: 0.5px currentColor;
}

.hero-intro-item img {
  display: block;
  width: 100%;
  max-width: 400px;
  height: 14rem;
  flex: 0 0 14rem;
  margin-top: auto;
  margin-right: auto;
  margin-left: auto;
  padding-top: 1.25rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.hero-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.potager-offers {
  container-type: inline-size;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

@container (min-width: 492px) and (max-width: 743px) {
  .potager-offers > .hero-offer:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: calc((100% - 0.75rem) / 2);
  }
}

.potager-offers .hero-offer {
  background: #e7edcf;
}

@media (min-width: 900px) {
  .potager-size-description {
    white-space: nowrap;
  }
}

.potager-formula-description {
  display: inline-block;
  text-align: left;
}

.hero-offer {
  padding: 1.1rem;
  border: 1px solid #e1e5d8;
  border-radius: 0.75rem;
  background: #fffefa;
}

.tomato-offers .hero-offer {
  padding: 0.65rem 1.1rem;
  text-align: center;
}

.hero-offer h2 {
  margin: 0 0 0.6rem;
  color: var(--color-leaf-dark);
  font-size: 1.3rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.hero-offer p {
  margin: 0;
  color: var(--color-muted);
}

.hero-offer-potager .potager-vegetable-list {
  display: grid;
  grid-template-rows: repeat(6, minmax(3.5rem, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-offer-potager .potager-vegetable-card {
  width: 100%;
  height: 100%;
  min-height: 3.5rem;
  padding: 0.6rem 0.75rem;
  text-align: left;
}

.hero-offer-potager .potager-vegetable-card .vegetable-icon {
  width: 5.25rem;
  height: 3.25rem;
  flex: 0 0 5.25rem;
  object-fit: contain;
}

.hero-offer-potager .potager-vegetable-card .vegetable-icon-cover {
  object-fit: contain;
  object-position: center;
}

.hero-intro {
  max-width: 31rem;
  margin-bottom: 2rem;
  color: var(--color-muted);
  font-size: 1.1rem;
}

.button-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.2rem;
  border-radius: 0.35rem;
  background: var(--color-leaf);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.mon-potager-actions {
  margin-top: 1.5rem;
}

.button-link:hover {
  transform: translateY(-2px);
  background: var(--color-leaf-dark);
}

.hero-art {
  position: relative;
  min-height: 27rem;
  overflow: hidden;
  border-radius: 48% 48% 1.5rem 1.5rem;
  background: #e7edcf;
}

.sun {
  position: absolute;
  top: 12%;
  right: 18%;
  width: 5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #efc77d;
}

.ground {
  position: absolute;
  right: -10%;
  bottom: -20%;
  left: -10%;
  height: 56%;
  border-radius: 50% 50% 0 0;
  background: #9aaf77;
}

.leaf {
  position: absolute;
  z-index: 1;
  bottom: 23%;
  left: 50%;
  width: 8rem;
  height: 13rem;
  border-radius: 100% 0 100% 0;
  background: var(--color-leaf);
  transform-origin: bottom center;
}

.leaf-one {
  transform: translateX(-50%) rotate(-7deg);
}

.leaf-two {
  left: 37%;
  height: 9rem;
  background: #52774c;
  transform: rotate(-48deg);
}

.leaf-three {
  left: 57%;
  height: 10rem;
  background: #76905d;
  transform: rotate(39deg) scaleX(-1);
}

.topics-section {
  width: min(1200px, 88vw);
  margin: 0 auto;
  padding: 2rem 0 6rem;
}

.potager-process-section {
  padding-bottom: 0;
}

#idee-recette {
  padding-bottom: 1rem;
}

#idee-recette .journey-story:last-child {
  margin-bottom: 0;
}

.missions-section {
  width: min(1200px, 88vw);
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

#missions {
  padding-bottom: 0;
}

#missions.home-missions-section {
  padding-bottom: 2rem;
}

#declic,
#specialites {
  padding: 2rem 0 0;
}

#recoltes-du-soir,
#recoltes {
  padding: 2rem 0;
  padding-top: 1rem;
}

#specialites .journey-story:last-child {
  margin-bottom: 0;
}

#specialites {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

#perpetuels-aromates {
  padding-bottom: 0;
}

.topics-heading {
  max-width: 45rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.topics-heading h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 4vw, 3.3rem);
}

.topics-heading > p:last-child {
  max-width: 40rem;
  margin: 0 auto;
  color: var(--color-muted);
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.mission-card {
  padding: 1.6rem;
  border: 1px solid #e1e5d8;
  border-radius: 0.75rem;
  background: #fffefa;
}

.mission-card-icon {
  display: block;
  width: 7rem;
  height: 7rem;
  object-fit: contain;
  margin: 0 auto 0.5rem;
}

.home-missions-section .mission-grid {
  gap: 0.5rem;
}

.home-missions-section .mission-card {
  padding: 1.2rem 0.75rem;
}

.home-missions-section .mission-card h3 {
  font-size: 1.1rem;
  text-align: center;
}

.mission-card h3 {
  margin: 0 0 0.75rem;
  color: var(--color-leaf-dark);
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.potager-missions .mission-grid {
  width: 100%;
  margin: 0 auto;
  grid-template-columns: 1fr;
}

.potager-missions .mission-card {
  padding: 2.5rem;
}

.potager-vegetable-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.potager-vegetable-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 1fr;
}

.potager-vegetable-card {
  display: flex;
  width: fit-content;
  height: 60px;
  align-items: center;
  gap: 1rem;
  padding: 0 1.2rem;
  border-radius: 0.75rem;
  background: #e7edcf;
  color: var(--color-leaf-dark);
  font-weight: 700;
}

.potager-vegetable-grid .potager-vegetable-card {
  width: 100%;
  height: 100%;
  min-height: 5rem;
}

.potager-vegetable-card .vegetable-icon {
  display: block;
}

.potager-vegetable-card .vegetable-icon-emoji {
  align-content: center;
  font-size: 1.75rem;
  text-align: center;
}

.mission-card p {
  margin: 0;
  color: var(--color-muted);
}

.mon-potager-varieties .mission-card p + p {
  margin-top: 1rem;
}

.tomato-variety-image {
  display: block;
  width: min(100%, 18rem);
  aspect-ratio: 1;
  margin: 0 auto 1rem;
  border: 1px solid #e1e5d8;
  border-radius: 0.5rem;
  background: var(--color-paper);
  object-fit: cover;
}

.image-attribution {
  margin: -0.6rem auto 1rem;
  color: var(--color-muted);
  font-size: 0.75rem;
  line-height: 1.4;
}

.image-attribution a {
  text-underline-offset: 0.15em;
}

.image-preview-button {
  display: block;
  width: min(100%, 18rem);
  aspect-ratio: 1;
  margin: 0 auto 1rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.image-preview-button .tomato-variety-image {
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.journey-story-figure .image-preview-button {
  width: 100%;
  aspect-ratio: auto;
  margin: 0;
}

.journey-story-figure .image-preview-button .journey-story-image {
  margin: 0;
  cursor: pointer;
}

.image-preview-dialog {
  position: relative;
  width: 750px;
  height: 750px;
  max-width: calc(100vw - 1rem);
  max-height: calc(100dvh - 1rem);
  margin: auto;
  padding: 3rem 1rem 1rem;
  overflow: hidden;
  border: 0;
  border-radius: 0.75rem;
  background: #fffefa;
  box-shadow: 0 1rem 3rem #0005;
}

.image-preview-dialog[open] {
  display: grid;
  place-items: center;
}

.image-preview-dialog::backdrop {
  background: #172016b8;
}

.image-preview-dialog-image {
  display: block;
  width: auto;
  height: auto;
  max-width: min(700px, calc(100vw - 4rem));
  max-height: min(686px, calc(100dvh - 5.5rem));
  object-fit: contain;
}

.image-preview-close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 50%;
  background: var(--color-leaf-dark);
  color: white;
  font: inherit;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
}

.tomato-variety-card {
  position: relative;
}

.tomato-variety-favorite {
  position: absolute;
  top: calc(1.25rem + 6px);
  right: calc(1.25rem + 6px);
  width: 3rem;
  height: 3rem;
  object-fit: contain;
}

.tomato-variety-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tomato-variety-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tomato-variety-grid-three .tomato-variety-card {
  padding-right: 0.4rem;
  padding-left: 0.4rem;
}

.tomato-variety-grid-three .tomato-variety-image {
  width: calc(100% - 2.4rem);
  max-width: none;
}

.tomato-variety-card h3 {
  text-align: center;
}

.tomato-variety-card ul {
  margin: 0;
  padding: 0;
  color: var(--color-muted);
  list-style: none;
}

.tomato-variety-card li + li {
  margin-top: 0.5rem;
}

.produce-feature {
  width: min(1200px, 88vw);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
  border-radius: 1rem;
  background: #e7edcf;
  text-align: center;
}

.produce-feature h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.produce-feature > p:last-child {
  max-width: 48rem;
  margin: 0 auto;
  color: var(--color-muted);
  font-size: 1.05rem;
}

.perpetuels-feature,
.permaculture-feature {
  text-align: center;
}

.perpetuels-feature > p:not(.eyebrow),
.permaculture-feature > p:not(.eyebrow) {
  max-width: none;
  margin: 0 0 1rem;
  color: var(--color-muted);
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}

.perpetuels-feature > p:last-child,
.permaculture-feature > p:last-child {
  margin-bottom: 0;
}

.perpetuels-offer,
.permaculture-offer {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.topic-grid {
  display: grid;
  width: min(900px, 100%);
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.topic-card {
  display: grid;
  grid-template-columns: 7.2rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1.2rem;
  border: 1px solid #e1e5d8;
  border-radius: 0.75rem;
  background: #fffefa;
}

.topic-card-link {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.topic-card-link:hover {
  border-color: var(--color-leaf);
  box-shadow: 0 0.35rem 1rem #203a2d12;
}

.topic-card-link:focus-visible {
  outline: 3px solid #a35c24;
  outline-offset: 4px;
}

.topic-image {
  display: block;
  width: 7.2rem;
  height: 9.65rem;
  border-radius: 0.65rem;
  object-fit: cover;
}

.topic-card-tomatoes {
  grid-template-columns: 7.2rem minmax(0, 1fr) 3.6rem;
  align-items: center;
}

.topic-image-list {
  object-fit: contain;
  object-position: center;
}

.topic-image-secondary {
  width: 3.6rem;
  height: 4.825rem;
  object-fit: contain;
}

.topic-copy {
  min-width: 0;
}

.topic-card h3 {
  margin: 0 0 0.45rem;
  color: var(--color-leaf-dark);
  font-size: 1rem;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.topic-card ul {
  margin: 0;
  padding-left: 1rem;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.topic-card li + li {
  margin-top: 0.4rem;
}

.text-page {
  width: min(760px, 88vw);
  min-height: 60vh;
  margin: 0 auto;
  padding: 2rem 0 6rem;
}

.contact-page h1 {
  margin-bottom: 2rem;
}

.contact-form {
  padding: clamp(1.25rem, 4vw, 2rem);
  border: 1px solid #e1e5d8;
  border-radius: 0.75rem;
  background: #fffefa;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.contact-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-field {
  display: grid;
  align-content: start;
  gap: 0.4rem;
}

.contact-field-wide {
  grid-column: 1 / -1;
}

.contact-field label {
  color: var(--color-leaf-dark);
  font-weight: 700;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 1px solid #cbd4c2;
  border-radius: 0.35rem;
  background: #fff;
  color: var(--color-ink);
  font: inherit;
}

.contact-field textarea {
  resize: vertical;
}

.contact-field input:focus-visible,
.contact-field textarea:focus-visible {
  outline: 3px solid #a9bf83;
  outline-offset: 2px;
}

.contact-field .is-invalid {
  border-color: #bd5454;
  background: #fff0f0;
}

.contact-field-error {
  min-height: 0;
  color: #a33333;
  font-size: 0.9rem;
}

.contact-field-error:empty {
  display: none;
}

.contact-submit {
  margin-top: 1.25rem;
  padding: 0.8rem 1.3rem;
  border: 0;
  border-radius: 0.35rem;
  background: var(--color-leaf);
  color: #fff;
  font: inherit;
  font-weight: 700;
}

.contact-form-note {
  margin: 0.75rem 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.tomato-page {
  width: min(1200px, 88vw);
  padding-top: 2rem;
  padding-bottom: 0;
}

.tomato-page + #missions {
  padding-bottom: 2rem;
}

.tomato-plants-feature {
  margin-bottom: 2rem;
}

.perpetuels-intro-section,
.permaculture-intro-section {
  padding-bottom: 1rem;
}

.perpetuels-actions,
.permaculture-actions {
  margin: 1.5rem auto 0;
}

.perpetuels-varieties-section,
.permaculture-principles-section {
  padding-top: 2rem;
  padding-bottom: 1rem;
}

.topics-section.permaculture-personal-section {
  padding-bottom: 0;
}

.permaculture-principles-section {
  padding-top: 1rem;
}

.text-page.tomato-page h1 {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 5.4vw, 4.8rem);
}

.tomato-page h1,
.tomato-intro {
  text-align: center;
}

.tomato-intro {
  margin-bottom: 2rem;
  color: var(--color-muted);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.5;
}

.tomato-intro p {
  margin-bottom: 0;
}

.tomato-variety-next-title {
  margin: 20px auto 2rem;
}

.text-page h1 {
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.text-page > p:not(.eyebrow) {
  color: var(--color-muted);
  font-size: 1.08rem;
}

.text-link {
  display: inline-block;
  margin-top: 1rem;
  color: var(--color-leaf-dark);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.site-footer {
  min-height: 5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid #dfe3d6;
}

.site-footer p {
  max-width: 26rem;
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  text-align: right;
}

@media (max-width: 700px) {
  .contact-form-fields {
    grid-template-columns: 1fr;
  }

  .contact-field-wide {
    grid-column: auto;
  }

  .site-header {
    position: relative;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    min-height: 4.75rem;
    padding: 0.9rem 6vw;
  }

  .header-content {
    display: contents;
  }

  .header-illustration {
    display: none;
  }

  .menu-toggle {
    display: block;
    padding: 0.45rem 0.7rem;
    border: 1px solid #cbd4c2;
    border-radius: 0.3rem;
    background: transparent;
    color: var(--color-ink);
    font: inherit;
    font-size: 0.9rem;
  }

  .site-nav {
    position: absolute;
    z-index: 2;
    top: calc(100% - 0.25rem);
    right: 6vw;
    left: 6vw;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1rem;
    border: 1px solid #dfe3d6;
    border-radius: 0.45rem;
    background: #fff;
    box-shadow: 0 0.75rem 1.5rem #203a2d14;
  }

  .site-header .site-nav {
    margin-left: 0;
  }

  .site-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .site-nav a {
    padding: 0.75rem 0;
  }

  .site-nav a + a {
    border-top: 1px solid #edf0e9;
  }

  .hero {
    width: 88vw;
    min-height: auto;
    padding: 1rem 0 2rem;
  }

  .journey-story {
    grid-template-columns: 1fr;
  }

  .journey-story-copy {
    width: 100%;
  }

  .harvest-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .journey-story-image {
    max-height: 28rem;
  }

  .winter-garden-story .journey-story-image {
    height: auto;
    max-height: 28rem;
  }

  .hero h1 {
    font-size: clamp(2rem, 6.5vw, 3rem);
  }

  .tomato-page {
    padding-top: 1rem;
  }

  .text-page.tomato-page h1 {
    font-size: clamp(2rem, 6.5vw, 3rem);
  }

  .hero-art {
    min-height: 22rem;
  }

  .topics-section {
    padding: 1rem 0 4rem;
  }

  .missions-section {
    padding: 1rem 0 3rem;
  }

  #missions {
    padding-bottom: 0;
  }

  #missions.home-missions-section {
    padding-bottom: 1rem;
  }

  #declic,
  #specialites {
    padding-top: 1rem;
    padding-bottom: 0;
  }

  #recoltes-du-soir,
  #recoltes {
    padding: 1rem 0;
  }

  #specialites {
    padding-bottom: 1rem;
  }

  .mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .potager-vegetable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tomato-variety-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 6vw;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    white-space: normal;
  }

  .hero-intro-card {
    grid-template-columns: 1fr;
  }

  .first-visit-card {
    width: 100%;
  }

  .hero-intro-item p {
    font-size: 1.25rem;
  }

  .hero-offers {
    grid-template-columns: 1fr;
  }

  .topic-card-tomatoes {
    grid-template-columns: 4.5rem minmax(0, 1fr) 2.25rem;
    gap: 0.6rem;
    padding: 0.75rem;
  }

  .topic-card-tomatoes .topic-image {
    width: 4.5rem;
    height: 6rem;
  }

  .topic-card-tomatoes .topic-image-secondary {
    width: 2.25rem;
    height: 3rem;
  }

  .mission-grid,
  .topic-grid {
    grid-template-columns: 1fr;
  }

  .potager-vegetable-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
