/* Five Roots Foundation — brand: brown, green, white */
:root {
  --green: #38b020;
  --green-deep: #268016;
  --green-mid: #4caf2f;
  --green-soft: #eaf7e4;
  --brown: #583820;
  --brown-deep: #3d2614;
  --brown-mid: #6e4a2a;
  --brown-soft: #f3ebe3;
  --cream: #faf7f2;
  --white: #ffffff;
  --ink: #2a1c12;
  --ink-muted: #5c4a3a;
  --line: rgba(88, 56, 32, 0.12);
  --shadow: 0 22px 50px rgba(61, 38, 20, 0.14);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", sans-serif;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4.5rem;
  --radius: 4px;
  --nav-h: 4.75rem;
  --max: 72rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--brown-deep);
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.25rem);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.text-balance {
  text-wrap: balance;
}

.lede {
  font-size: 1.15rem;
  color: var(--ink-muted);
  max-width: 40rem;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  margin-bottom: 0.75rem;
}

.section {
  padding: var(--space-xl) 0;
}

.section--cream {
  background: var(--cream);
}

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

.section--brown {
  background: var(--brown-deep);
  color: rgba(255, 255, 255, 0.88);
}

.section--brown h2,
.section--brown h3,
.section--brown .eyebrow {
  color: var(--white);
}

.section--brown .eyebrow {
  color: var(--green-mid);
}

.section--brown .lede {
  color: rgba(255, 255, 255, 0.78);
}

.section__head {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
    border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

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

.btn--primary {
  background: var(--green);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--green-deep);
}

.btn--brown {
  background: var(--brown);
  color: var(--white);
}

.btn--brown:hover {
  background: var(--brown-deep);
}

.btn--secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--white);
}

.btn--ghost {
  color: var(--green-deep);
  padding-inline: 0;
  border-radius: 0;
  min-height: auto;
}

.btn--ghost:hover {
  color: var(--brown);
}

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

.btn--outline:hover {
  background: var(--brown);
  color: var(--white);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(61, 38, 20, 0.06);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand-mark {
  height: 2.6rem;
  width: auto;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 550;
  color: var(--brown-deep);
  line-height: 1.15;
}

.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--ink-muted);
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--brown);
}

.nav-cta {
  background: var(--green);
  color: var(--white) !important;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
}

.nav-cta:hover {
  background: var(--green-deep);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  margin: 6px 0;
  background: var(--brown);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 46rem);
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.hero__slides {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__slide {
  position: absolute;
  inset: -8%;
  width: 116%;
  height: 116%;
  max-width: none;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.4s ease;
  will-change: transform, opacity;
}

.hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.hero__slide.is-active[data-motion="a"] {
  animation: hero-motion-a 15s ease-in-out forwards;
  transform-origin: 55% 40%;
}

.hero__slide.is-active[data-motion="b"] {
  animation: hero-motion-b 15s ease-in-out forwards;
  transform-origin: 30% 50%;
}

.hero__slide.is-active[data-motion="c"] {
  animation: hero-motion-c 15s ease-in-out forwards;
  transform-origin: 70% 35%;
}

.hero__slide.is-active[data-motion="d"] {
  animation: hero-motion-d 15s ease-in-out forwards;
  transform-origin: 45% 55%;
}

.hero__slide.is-active[data-motion="e"] {
  animation: hero-motion-e 15s ease-in-out forwards;
  transform-origin: 50% 30%;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    105deg,
    rgba(61, 38, 20, 0.88) 0%,
    rgba(61, 38, 20, 0.55) 45%,
    rgba(38, 128, 22, 0.28) 100%
  );
}

.hero__veil::after {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 20% 30%, rgba(56, 176, 32, 0.18), transparent 32%),
    radial-gradient(circle at 78% 62%, rgba(255, 255, 255, 0.1), transparent 28%);
  animation: hero-glow 12s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 3;
  padding: 7rem 0 5rem;
  max-width: 44rem;
}

.hero__brand {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1rem;
}

.hero h1 {
  color: var(--white);
}

.hero .lede {
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1.25rem;
}

.hero__dots {
  position: absolute;
  right: 1.5rem;
  bottom: 1.75rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.hero__dot {
  width: 0.55rem;
  height: 0.55rem;
  border: 0;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease, height 0.3s ease;
}

.hero__dot.is-active {
  background: var(--green-mid);
  height: 1.35rem;
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  animation: hero-scroll-pulse 2.4s ease-in-out infinite;
}

.hero__scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 2rem;
  margin: 0.5rem auto 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), transparent);
}

@keyframes hero-motion-a {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.14) translate3d(-3.5%, -1.5%, 0);
  }
}

@keyframes hero-motion-b {
  from {
    transform: scale(1.12) translate3d(-3%, 1%, 0);
  }
  to {
    transform: scale(1) translate3d(2%, -1%, 0);
  }
}

@keyframes hero-motion-c {
  from {
    transform: scale(1.05) translate3d(2%, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-2%, 2%, 0);
  }
}

@keyframes hero-motion-d {
  from {
    transform: scale(1.1) translate3d(0, -2%, 0);
  }
  to {
    transform: scale(1.02) translate3d(3%, 1%, 0);
  }
}

@keyframes hero-motion-e {
  from {
    transform: scale(1) translate3d(0, 2%, 0);
  }
  to {
    transform: scale(1.15) translate3d(-2%, -2%, 0);
  }
}

@keyframes hero-glow {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.55;
  }
  100% {
    transform: translate3d(4%, -3%, 0) scale(1.08);
    opacity: 1;
  }
}

@keyframes hero-scroll-pulse {
  0%,
  100% {
    opacity: 0.45;
    transform: translateX(-50%) translateY(0);
  }
  50% {
    opacity: 0.9;
    transform: translateX(-50%) translateY(6px);
  }
}

@media (max-width: 720px) {
  .hero__dots {
    right: auto;
    left: 50%;
    bottom: 4.5rem;
    flex-direction: row;
    transform: translateX(-50%);
  }

  .hero__dot.is-active {
    height: 0.55rem;
    width: 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide.is-active,
  .hero__veil::after,
  .hero__scroll {
    animation: none !important;
  }

  .hero__slide {
    inset: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.4s ease;
  }
}

.page-hero {
  position: relative;
  padding: 6.5rem 0 4rem;
  background: var(--brown-deep);
  color: var(--white);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(56, 176, 32, 0.22), transparent 40%);
}

.page-hero .container {
  position: relative;
}

.page-hero h1 {
  color: var(--white);
}

.page-hero .lede {
  color: rgba(255, 255, 255, 0.8);
}

/* Layout helpers */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.split--reverse > :first-child {
  order: 2;
}

.media-frame {
  border-radius: 1rem;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  background: var(--brown-soft);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame--tall {
  aspect-ratio: 3 / 4;
}

.media-frame--wide {
  aspect-ratio: 16 / 10;
}

.story-quote {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-style: italic;
  color: var(--brown);
  margin: 1.25rem 0;
}

/* Cards & grids */
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.vm-block,
.card,
.value-card,
.root-card,
.stat-card,
.partner-card,
.principle-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
}

.section--cream .vm-block,
.section--cream .card,
.section--cream .value-card,
.section--cream .root-card {
  background: var(--white);
}

.section--soft .vm-block,
.section--soft .value-card {
  background: var(--white);
}

.roots-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.root-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.root-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.root-num {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green-soft);
  color: var(--green-deep);
  font-weight: 700;
  font-size: 0.9rem;
}

.root-card h3 {
  font-size: 1.1rem;
}

.root-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.values-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.value-card h3 {
  color: var(--green-deep);
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--green-mid);
  margin-bottom: 0.35rem;
}

.stat-card span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.95rem;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: 14rem 14rem;
  gap: 0.85rem;
}

.gallery figure {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  background: var(--brown-soft);
}

.gallery figure:first-child {
  grid-row: 1 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery figure:hover img {
  transform: scale(1.04);
}

.gallery figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.25rem 0.9rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--white);
  background: linear-gradient(to top, rgba(61, 38, 20, 0.85), transparent);
}

.gallery--diverse {
  grid-template-columns: 1.35fr 1fr 1fr 1fr;
  grid-template-rows: 13.5rem 13.5rem 13.5rem;
}

.gallery--diverse figure:first-child,
.gallery--diverse .gallery__feature {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.gallery--diverse .gallery__tall {
  grid-column: 4 / 5;
  grid-row: 1 / 3;
}

.gallery--diverse figure:not(.gallery__feature):not(.gallery__tall) {
  grid-row: auto;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 36rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table th {
  background: var(--brown-soft);
  color: var(--brown-deep);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.data-table td {
  color: var(--ink-muted);
  font-size: 0.98rem;
}

.data-table td:first-child {
  color: var(--ink);
  font-weight: 600;
}

.pillars {
  display: grid;
  gap: 1.25rem;
}

.pillar {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--white);
}

.pillar__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--green);
  line-height: 1;
}

.pillar ul {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.85rem;
}

.pillar li {
  position: relative;
  padding-left: 1rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.pillar li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--green);
}

.geo-list,
.check-list {
  display: grid;
  gap: 0.75rem;
}

.geo-item,
.check-list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.geo-item strong,
.check-list strong {
  color: var(--brown);
}

.principles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.principle-card strong {
  display: block;
  color: var(--brown);
  margin-bottom: 0.35rem;
}

.principle-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.partner-paths {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.partner-card h3 {
  margin-bottom: 0.5rem;
}

.partner-card p {
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.toc-panel {
  background: var(--brown-soft);
  border-radius: 1rem;
  padding: 1.5rem;
}

.toc-panel ol {
  margin: 0.75rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-muted);
  display: grid;
  gap: 0.35rem;
}

.form {
  display: grid;
  gap: 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown-deep);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(56, 176, 32, 0.35);
  border-color: var(--green);
  background: var(--white);
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-success {
  background: var(--green-soft);
  color: var(--green-deep);
  border-radius: 0.65rem;
  padding: 0.85rem 1rem;
  font-weight: 600;
}

.cta-band {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.note {
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* Footer */
.site-footer {
  background: var(--brown-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: var(--space-lg);
}

.footer-brand .brand-mark {
  height: 3.75rem;
  width: auto;
  max-width: 14rem;
  margin-bottom: 1.1rem;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.92rem;
  max-width: 24rem;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.55rem;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

.tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(255, 255, 255, 0.55);
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.footer-credit img {
  height: 34px;
  width: auto;
  max-width: none;
  filter: sepia(0.15) saturate(0.85) brightness(1.05) hue-rotate(-8deg);
}

.footer-credit:hover {
  opacity: 1;
  transform: translateY(-1px);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 1100px) {
  .roots-grid,
  .values-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .split,
  .vm-grid,
  .cta-band,
  .form-row,
  .principles,
  .partner-paths {
    grid-template-columns: 1fr;
  }

  .split--reverse > :first-child {
    order: 0;
  }

  .roots-grid,
  .values-row,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery,
  .gallery--diverse {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery figure:first-child,
  .gallery--diverse .gallery__feature,
  .gallery--diverse .gallery__tall {
    grid-row: auto;
    grid-column: auto;
    min-height: 14rem;
  }

  .gallery--diverse .gallery__feature {
    grid-column: 1 / -1;
    min-height: 16rem;
  }

  .gallery figure {
    min-height: 12rem;
  }

  .pillar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--brown-deep);
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.35rem;
    color: var(--white);
  }

  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .roots-grid,
  .values-row,
  .stats,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-credit {
    margin-left: 0;
  }

  .geo-item,
  .check-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .hero__content {
    padding-bottom: 5.5rem;
  }

  .section {
    padding: 3.75rem 0;
  }

  .brand-name {
    font-size: 0.95rem;
  }
}
