:root {
  --background: hsl(157 10% 98%);
  --foreground: hsl(157 20% 15%);
  --card: hsl(0 0% 100%);
  --primary: hsl(157 42% 35%);
  --primary-dark: hsl(157 45% 29%);
  --primary-soft: hsl(157 42% 35% / 0.1);
  --primary-foreground: hsl(0 0% 100%);
  --secondary: hsl(32 54% 62%);
  --secondary-dark: hsl(32 50% 48%);
  --secondary-foreground: hsl(157 30% 15%);
  --accent: hsl(32 54% 62%);
  --accent-foreground: hsl(157 30% 15%);
  --muted: hsl(157 15% 92%);
  --muted-foreground: hsl(157 10% 39%);
  --border: hsl(157 15% 85%);
  --danger: hsl(0 72% 45%);
  --radius-sm: 0.625rem;
  --radius: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1rem;
  --shadow-sm: 0 1px 2px hsl(157 20% 15% / 0.05);
  --shadow: 0 12px 30px hsl(157 20% 15% / 0.1);
  --max-width: 80rem;
  --header-height: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  background: var(--background);
  color: var(--foreground);
  font-family:
    "DM Sans",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  font-feature-settings:
    "kern" 1,
    "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--foreground);
  text-wrap: balance;
}

p {
  line-height: 1.5;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  padding: 0.65rem 0.9rem;
  transform: translateY(-150%);
  border-radius: var(--radius-sm);
  background: var(--foreground);
  color: var(--background);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 1rem;
}

.container--narrow {
  width: min(100% - 2rem, 64rem);
  max-width: 64rem;
  margin-inline: auto;
}

.container--text {
  width: min(100% - 2rem, 56rem);
  max-width: 56rem;
  margin-inline: auto;
}

.section {
  padding-block: 5rem;
}

.section--card {
  background: var(--card);
}

.section--muted {
  background: var(--muted);
}

.section--bordered {
  border-block: 1px solid var(--border);
}

.section-heading {
  max-width: 48rem;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading h2,
.heading-section {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.375;
  letter-spacing: normal;
}

.section-heading p,
.body-large {
  font-size: 1.125rem;
  line-height: 1.625;
}

.section-heading p {
  max-width: 42rem;
  margin-inline: auto;
}

.muted-text {
  color: var(--muted-foreground);
}

.text-center {
  text-align: center;
}

.section-action {
  margin-top: 3rem;
}

.card-heading {
  font-size: 1.25rem;
}

.icon-box--center {
  margin-inline: auto;
}

.section-heading .icon-box--center {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
}

.section-heading .icon-box--center .icon--large {
  width: 2rem;
  height: 2rem;
}

.space-after-lg {
  margin-bottom: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stack > * + * {
  margin-top: 1.5rem;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.icon--large {
  width: 2.5rem;
  height: 2.5rem;
}

.icon--filled {
  fill: currentColor;
  stroke: none;
}

/* Header and navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid hsl(157 15% 85% / 0.4);
  background: hsl(157 10% 98% / 0.95);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  position: relative;
  padding-block: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.nav-link::after {
  display: none;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link[aria-current="page"] {
  color: var(--primary);
}

.nav-toggle {
  display: inline-grid;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.nav-toggle .icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  stroke-width: 2.25;
}

.nav-toggle .icon path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary);
}

.nav-toggle .icon-close {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-menu {
  display: none;
}

.nav-toggle[aria-expanded="true"] .icon-close {
  display: block;
}

.mobile-nav {
  position: absolute;
  z-index: 1;
  top: 100%;
  right: 0;
  width: min(21rem, 88vw);
  height: calc(100vh - var(--header-height));
  height: calc(100dvh - var(--header-height));
  padding: 1.5rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateX(105%);
  border-left: 1px solid var(--border);
  background: var(--background);
  box-shadow: -14px 0 40px hsl(157 20% 15% / 0.12);
  visibility: hidden;
  transition:
    transform 230ms ease,
    visibility 230ms ease;
}

.mobile-nav.is-open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-nav .nav-link {
  display: block;
  padding: 0.9rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 1.125rem;
  font-weight: 500;
}

.mobile-nav .nav-link::after {
  display: none;
}

.mobile-nav .nav-link:hover,
.mobile-nav .nav-link:focus-visible,
.mobile-nav .nav-link[aria-current="page"] {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.nav-scrim {
  position: fixed;
  z-index: 90;
  inset: var(--header-height) 0 0;
  border: 0;
  background: hsl(157 20% 8% / 0.36);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 200ms ease,
    visibility 200ms ease;
}

.nav-scrim.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

/* Buttons */

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button-row--center {
  justify-content: center;
}

.button {
  display: inline-flex;
  height: 2.25rem;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: var(--primary);
  color: var(--primary-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  text-align: center;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 140ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  background: var(--primary-dark);
}

.button:active {
  transform: scale(0.95);
}

.button--large {
  height: 2.5rem;
  min-height: 2.5rem;
  padding: 0 2rem;
}

.button--outline {
  border-color: var(--border);
  background: var(--background);
  color: var(--foreground);
}

.button--outline:hover,
.button--outline:focus-visible {
  border-color: var(--border);
  background: var(--accent);
  color: var(--accent-foreground);
}

.button--secondary {
  background: var(--secondary);
  color: var(--secondary-foreground);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: hsl(32 54% 62% / 0.8);
  color: var(--secondary-foreground);
}

.button--light-outline {
  border-color: hsl(0 0% 100% / 0.8);
  background: transparent;
  color: white;
}

.button--light-outline:hover,
.button--light-outline:focus-visible {
  background: white;
  color: var(--primary);
}

.button--full {
  width: 100%;
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.65;
}

/* Hero sections */

.hero {
  position: relative;
  display: flex;
  min-height: 60vh;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    var(--primary-soft),
    var(--background) 55%,
    hsl(32 54% 62% / 0.12)
  );
}

.hero--home {
  background: linear-gradient(
    135deg,
    hsl(157 42% 38% / 0.1),
    var(--background),
    hsl(32 54% 62% / 0.1)
  );
}

.hero:not(.hero--home):not(.hero--simple) {
  background: linear-gradient(
    135deg,
    hsl(32 54% 62% / 0.1),
    var(--background),
    hsl(157 42% 38% / 0.05)
  );
}

.hero--home {
  min-height: 90vh;
}

.hero--simple {
  min-height: auto;
  padding-block: 5rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    hsl(157 42% 38% / 0.05),
    var(--background),
    hsl(32 54% 62% / 0.05)
  );
}

.hero-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 48rem;
  padding-block: 5rem;
}

.hero-content--center {
  margin-inline: auto;
  text-align: center;
}

.hero--simple .hero-content {
  max-width: none;
  padding-block: 0;
}

.hero--home .hero-content {
  margin-inline: auto;
  padding-block: 0;
}

.hero:not(.hero--home):not(.hero--simple) .hero-content {
  margin-inline: auto;
  padding-block: 0;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

.hero p {
  max-width: 48rem;
  margin-bottom: 2rem;
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.625;
}

.hero--home p {
  max-width: 42rem;
}

.hero--home + .section .section-heading p {
  max-width: 48rem;
}

.hero-content--center p {
  margin-inline: auto;
}

/* Generic cards and grids */

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-4 {
  max-width: 64rem;
  margin-inline: auto;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.card--padded {
  padding: 1.5rem;
}

.card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.check-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: hsl(157 15% 92% / 0.5);
}

.check-card .icon {
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.25rem;
  color: var(--primary);
}

.check-card p {
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
}

.service-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 1.5rem;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.icon-box {
  display: grid;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary);
}

.service-card p {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.service-card .icon--large {
  width: 1.5rem;
  height: 1.5rem;
}

.service-list {
  display: grid;
  gap: 0.5rem;
  margin: auto 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid hsl(157 15% 85% / 0.5);
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.375;
}

.service-list li::before {
  position: absolute;
  top: 0.6rem;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--secondary);
  content: "";
}

.section.resource-download {
  padding-block: clamp(3.5rem, 6vw, 5rem);
}

.resource-download .container--narrow {
  max-width: 56rem;
}

.resource-download-card {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: 1.25rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-top: 4px solid var(--primary);
  text-align: center;
}

.resource-download-icon {
  display: grid;
  width: 5rem;
  aspect-ratio: 1;
  place-items: center;
  color: var(--primary);
  background: var(--primary-soft);
  border: 1px solid hsl(157 42% 35% / 0.22);
  border-radius: 1rem;
}

.resource-download-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resource-download-copy {
  display: grid;
  width: 100%;
  justify-items: center;
}

.resource-download-copy h2 {
  max-width: 46rem;
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

.resource-download-copy .muted-text {
  max-width: 42rem;
  margin: 0.85rem auto 1.4rem;
}

.resource-download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.resource-download-button-icon {
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 480px) {
  .section.resource-download {
    padding-block: 3rem;
  }

  .resource-download-card {
    padding: 1.5rem;
  }

  .resource-download-icon {
    width: 4.25rem;
  }

  .resource-download-icon svg {
    width: 2.2rem;
    height: 2.2rem;
  }

  .resource-download-copy h2 {
    font-size: 1.4rem;
  }

  .resource-download-button {
    width: 100%;
  }
}

/* Process */

.process-list {
  display: grid;
  gap: 3rem;
}

.process-step {
  display: grid;
  grid-template-columns: 4rem 1fr;
  gap: 1.5rem;
  align-items: start;
}

.process-number {
  display: grid;
  width: 4rem;
  height: 4rem;
  place-items: center;
  border-radius: var(--radius);
  background: var(--primary);
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.process-step h3 {
  margin: 0.25rem 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
}

.process-step p {
  margin-bottom: 0;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.hero--home + .section .grid-2 {
  max-width: 56rem;
  margin-inline: auto;
}

.hero:not(.hero--simple) + .section .container--text {
  width: min(100% - 2rem, var(--max-width));
  max-width: var(--max-width);
}

.hero:not(.hero--simple) + .section .container--text > p {
  max-width: 48rem;
  margin-inline: auto;
}

.section--muted .process-list {
  max-width: 56rem;
  margin-inline: auto;
}

.container > .grid-2,
.container--narrow > .grid-2 {
  gap: 2rem;
}

.hero--home + .section .grid-2 {
  gap: 1.5rem;
}

.testimonial-list {
  display: grid;
  max-width: 56rem;
  margin-inline: auto;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.testimonial-card {
  margin: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.testimonial-quote {
  margin: 0;
}

.testimonial-quote p {
  margin-bottom: 1.25rem;
  line-height: 1.75;
}

.testimonial-quote p:last-child {
  margin-bottom: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.testimonial-author strong {
  color: var(--primary);
  font-size: 1.05rem;
  line-height: 1.4;
}

.testimonial-author span {
  line-height: 1.5;
}

/* Story */

.split-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.team-panel,
.quote-panel {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--muted);
}

.team-panel p {
  margin-bottom: 0;
}

.team-panel .team-name {
  margin-bottom: 0.5rem;
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: 500;
}

.team-panel .team-role + .team-name {
  margin-top: 1rem;
}

.story-carousel {
  position: relative;
  width: min(100%, 44rem);
  margin-inline: auto;
}

.story-carousel:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 0.5rem;
  border-radius: var(--radius-xl);
}

.story-carousel-viewport {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--muted);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}

.story-carousel-track {
  position: absolute;
  inset: 0;
}

.story-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  transform: translateX(0.75rem);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 300ms ease,
    transform 300ms ease;
}

.story-carousel-slide.is-active {
  z-index: 1;
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.story-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-carousel-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  transform: translateY(-50%);
  border: 1px solid hsl(157 15% 85% / 0.8);
  border-radius: 50%;
  background: hsl(0 0% 100% / 0.9);
  color: var(--foreground);
  box-shadow: 0 4px 14px hsl(157 20% 15% / 0.18);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.story-carousel-button:hover,
.story-carousel-button:focus-visible {
  transform: translateY(-50%) scale(1.05);
  background: white;
  color: var(--primary);
}

.story-carousel-button:active {
  transform: translateY(-50%) scale(0.96);
}

.story-carousel-button--previous {
  left: 0.75rem;
}

.story-carousel-button--next {
  right: 0.75rem;
}

.story-carousel-controls {
  display: flex;
  min-height: 2rem;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.story-carousel-counter {
  min-width: 2.75rem;
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.story-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.story-carousel-dot {
  width: 0.75rem;
  height: 0.75rem;
  padding: 0;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: transparent;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.story-carousel-dot:hover,
.story-carousel-dot:focus-visible {
  transform: scale(1.2);
}

.story-carousel-dot[aria-current="true"] {
  background: var(--primary);
  transform: scale(1.1);
}

.prose p {
  color: var(--muted-foreground);
  font-size: 1.125rem;
  line-height: 1.625;
}

.prose p + p {
  margin-top: 1.5rem;
}

.prose .emphasis {
  color: var(--foreground);
  font-weight: 700;
}

.mission-card {
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--muted);
  text-align: center;
}

.mission-card .icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto 1rem;
  color: var(--primary);
}

.mission-card p {
  margin: 0;
  font-weight: 500;
  line-height: 1.5;
}

.quote-panel {
  background: var(--card);
}

.quote-panel blockquote {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.75rem;
}

.quote-panel p {
  margin-bottom: 0;
  color: var(--muted-foreground);
}

/* Content page */

.content-page [hidden] {
  display: none !important;
}

.content-page .hero--simple + .section .section-heading {
  margin-bottom: 2rem;
}

.content-page .video-frame {
  position: relative;
  width: 100%;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #000;
  aspect-ratio: 16 / 9;
}

.content-page .video-frame iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  inset: 0;
  border: 0;
}

.content-page .video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.content-page .video-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.content-page .video-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.content-page .video-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.content-page .video-card-content h3 {
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.75rem;
}

.content-page .video-card-content p {
  margin-bottom: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
  line-height: 1.625;
}

.content-page .video-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.content-page .video-youtube-link,
.content-page .content-video-edit,
.content-page .content-video-delete {
  border: 0;
  background: transparent;
  font-size: 0.875rem;
  font-weight: 600;
}

.content-page .video-youtube-link {
  margin-right: auto;
  color: var(--primary);
}

.content-page .video-youtube-link:hover,
.content-page .video-youtube-link:focus-visible {
  color: var(--primary-dark);
  text-decoration: underline;
}

.content-page .content-video-edit,
.content-page .content-video-delete {
  padding: 0;
}

.content-page .content-video-edit {
  color: var(--primary-dark);
}

.content-page .content-video-edit:hover,
.content-page .content-video-edit:focus-visible {
  text-decoration: underline;
}

.content-page .content-video-delete {
  color: var(--danger);
}

.content-page .content-video-delete:hover,
.content-page .content-video-delete:focus-visible {
  text-decoration: underline;
}

.content-page .content-video-delete[disabled] {
  cursor: wait;
  opacity: 0.6;
}

.content-page .empty-state {
  padding: 3rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--muted);
  text-align: center;
}

.content-page .empty-state .icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto 1rem;
  color: var(--muted-foreground);
}

.content-page .empty-state h3 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.75rem;
}

.content-page .content-admin-toolbar {
  display: flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  margin: -1.25rem 0 1.5rem;
}

.content-page .content-admin-identity {
  margin: 0 auto 0 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.content-page .content-admin-logout-button {
  min-height: 2.5rem;
  padding-inline: 1rem;
}

.content-page .content-admin-panel {
  margin-bottom: 2rem;
  scroll-margin-top: 5rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--primary-soft);
}

.content-page .content-admin-panel-heading {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.content-page .content-admin-panel-heading h3 {
  margin-bottom: 0;
  font-size: 1.25rem;
}

.content-page .content-admin-panel-heading > p {
  max-width: 34rem;
  margin-bottom: 0;
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.content-page .content-admin-eyebrow {
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.content-page .content-video-form-grid {
  display: grid;
  gap: 1rem;
}

.content-page .content-video-form textarea.form-control {
  min-height: 6rem;
}

.content-page .content-admin-form-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
  margin-top: 1.25rem;
}

.content-page .content-admin-status,
.content-page .content-library-status {
  display: none;
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.content-page .content-admin-status.is-visible,
.content-page .content-library-status.is-visible {
  display: block;
}

.content-page .content-admin-status[data-state="success"] {
  color: var(--primary-dark);
}

.content-page .content-admin-status[data-state="error"],
.content-page .content-library-status[data-state="error"] {
  color: var(--danger);
}

.content-page .content-library-status {
  margin-bottom: 1.5rem;
  text-align: center;
}

.content-page .content-admin-dialog {
  width: min(100% - 2rem, 30rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  color: var(--foreground);
  box-shadow: 0 24px 70px hsl(157 20% 10% / 0.25);
}

.content-page .content-admin-dialog::backdrop {
  background: hsl(157 20% 8% / 0.55);
  backdrop-filter: blur(3px);
}

.content-page .content-login-form {
  display: grid;
  gap: 1.25rem;
  padding: 1.5rem;
}

.content-page .content-password-toggle {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted-foreground);
  cursor: pointer;
}

.content-page .content-password-toggle input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--primary);
}

.content-page .content-admin-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.content-page .content-admin-dialog-heading h2 {
  margin-bottom: 0;
  font-size: 1.5rem;
}

.content-page .content-admin-dialog-close {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--muted);
  color: var(--foreground);
}

.content-page .content-admin-dialog-close:hover,
.content-page .content-admin-dialog-close:focus-visible {
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.content-page .content-remove-dialog {
  width: min(100% - 2rem, 28rem);
}

.content-page .content-remove-dialog-content {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.content-page .content-remove-dialog-content h2,
.content-page .content-remove-dialog-message {
  margin-bottom: 0;
}

.content-page .content-remove-dialog-content h2 {
  font-size: 1.5rem;
}

.content-page .content-remove-dialog-message {
  color: var(--muted-foreground);
  line-height: 1.6;
}

.content-page .content-remove-dialog-message strong {
  color: var(--foreground);
}

.content-page .content-remove-dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.content-page .content-remove-dialog-actions .button {
  width: 100%;
  min-height: 2.75rem;
}

.content-page .button--danger {
  background: var(--danger);
  color: white;
}

.content-page .button--danger:hover,
.content-page .button--danger:focus-visible {
  background: hsl(0 72% 38%);
  color: white;
}

@media (min-width: 40rem) {
  .content-page .content-remove-dialog-actions {
    flex-direction: row;
    justify-content: flex-end;
  }

  .content-page .content-remove-dialog-actions .button {
    width: auto;
  }
}

.content-page .featured-collaboration {
  max-width: 56rem;
  margin-inline: auto;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.content-page .featured-collaboration-eyebrow {
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.content-page .featured-collaboration h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1.3;
}

.content-page .featured-collaboration-credit {
  margin-bottom: 1.25rem;
  font-weight: 600;
}

.content-page .featured-collaboration-description {
  margin-bottom: 1.5rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.content-page .featured-collaboration-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.content-page .featured-collaboration-actions .button {
  width: 100%;
  justify-content: center;
}

@media (min-width: 40rem) {
  .content-page .featured-collaboration-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .content-page .featured-collaboration-actions .button {
    width: auto;
  }
}

.content-page .social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.content-page .social-link {
  display: inline-flex;
  height: 2.25rem;
  min-height: 2.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.25rem;
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.content-page .social-link:hover,
.content-page .social-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--primary);
  color: var(--primary);
}

.content-page .cookbook-cover {
  width: 100%;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--muted);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
}

.content-page .cookbook-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contact */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.contact-form {
  display: grid;
  gap: 1.5rem;
}

.form-field {
  display: grid;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
}

.required-marker {
  color: var(--danger);
}

.form-control {
  width: 100%;
  height: 2.25rem;
  min-height: 2.25rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  outline: none;
  background: var(--card);
  color: var(--foreground);
  font-size: 0.875rem;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-soft);
}

textarea.form-control {
  height: auto;
  min-height: 8rem;
  padding-block: 0.5rem;
  resize: vertical;
}

.field-error {
  display: none;
  margin: 0;
  color: var(--danger);
  font-size: 0.85rem;
}

.form-field.has-error .form-control {
  border-color: var(--danger);
}

.form-field.has-error .field-error {
  display: block;
}

.form-status {
  display: none;
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary-dark);
}

.form-status.is-visible {
  display: block;
}

.form-status[data-state="error"] {
  background: hsl(0 72% 45% / 0.1);
  color: var(--danger);
}

.contact-sidebar {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 2rem;
}

.contact-card {
  padding: 2rem;
  border-radius: var(--radius-xl);
}

.contact-card .card-heading {
  margin-bottom: 1.5rem;
  font-weight: 600;
  line-height: 1.75rem;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-row + .contact-row {
  margin-top: 1.5rem;
}

.contact-row .icon-box {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0;
  flex: 0 0 auto;
  border-radius: 0.5rem;
}

.contact-row p {
  margin-bottom: 0.35rem;
}

.contact-row a:not(.button) {
  color: var(--primary);
}

.contact-row a:not(.button):hover,
.contact-row a:not(.button):focus-visible {
  text-decoration: underline;
}

.divider {
  height: 1px;
  margin-block: 1.5rem;
  background: var(--border);
}

.expectation {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.expectation + .expectation {
  margin-top: 1.25rem;
}

.expectation .icon {
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.2rem;
  color: var(--primary);
}

.expectation p {
  margin-bottom: 0.25rem;
}

.expectation .muted-text {
  font-size: 0.875rem;
}

/* Legal pages */

.legal-page .hero--simple p {
  margin-bottom: 0;
}

.legal-content {
  width: min(100% - 2rem, 52rem);
  margin-inline: auto;
}

.legal-content p,
.legal-content li {
  line-height: 1.75;
}

.legal-introduction {
  color: var(--foreground);
  font-size: 1.125rem;
  font-weight: 500;
}

.legal-section {
  scroll-margin-top: calc(var(--header-height) + 1.5rem);
}

.legal-section + .legal-section {
  margin-top: 2.75rem;
}

.legal-section h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.35;
}

.legal-section h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
}

.legal-content ul {
  margin: 1rem 0 1.5rem;
  padding-left: 1.5rem;
}

.legal-content li + li {
  margin-top: 0.5rem;
}

.legal-content a,
.contact-privacy-note a {
  color: var(--primary-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.legal-content a:hover,
.legal-content a:focus-visible,
.contact-privacy-note a:hover,
.contact-privacy-note a:focus-visible {
  color: var(--primary);
}

.legal-contact {
  font-style: normal;
  line-height: 1.75;
}

.contact-privacy-note {
  margin: -0.5rem 0 0;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  line-height: 1.5;
}

.footer-legal a {
  transition: color 180ms ease;
}

.footer-legal a:hover,
.footer-legal a:focus-visible,
.footer-legal a[aria-current="page"] {
  color: var(--primary);
}

@media (min-width: 40rem) {
  .legal-content {
    width: min(100% - 3rem, 52rem);
  }
}

@media (min-width: 48rem) {
  .legal-section h2 {
    font-size: 1.75rem;
  }
}

@media (min-width: 64rem) {
  .legal-content {
    width: min(100% - 4rem, 52rem);
  }
}

/* CTA and footer */

.cta {
  padding-block: 5rem;
  background: var(--primary);
  color: var(--primary-foreground);
  text-align: center;
}

.cta h2 {
  color: inherit;
}

.cta p {
  max-width: 42rem;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  line-height: 1.625;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--muted);
  color: var(--muted-foreground);
}

.site-footer > .container {
  padding-block: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-block: 0;
}

.footer-brand {
  margin-bottom: 0.75rem;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-heading {
  margin-bottom: 0.75rem;
  color: var(--foreground);
  font-weight: 600;
}

.footer-grid > div:first-child > p:not(.footer-brand),
.footer-email {
  font-size: 0.875rem;
}

.footer-grid > div:first-child > p:not(.footer-brand) {
  line-height: 1.625;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-email:hover,
.footer-email:focus-visible {
  color: var(--primary);
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer-socials a {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--card);
}

.footer-socials a:hover,
.footer-socials a:focus-visible {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  padding-bottom: 0;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  text-align: center;
}

.footer-bottom > span {
  order: 2;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  order: 1;
}

.footer-admin-login-button {
  display: inline-grid;
  width: 1.75rem;
  height: 1.75rem;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted-foreground);
  opacity: 0.55;
  transition:
    color 180ms ease,
    background 180ms ease,
    opacity 180ms ease;
}

.footer-admin-login-button .icon {
  width: 1rem;
  height: 1rem;
}

.footer-admin-login-button:hover,
.footer-admin-login-button:focus-visible {
  background: var(--primary-soft);
  color: var(--primary);
  opacity: 1;
}

/* Toast and reveal animation */

.toast-region {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  display: grid;
  width: min(24rem, calc(100% - 2rem));
  gap: 0.75rem;
}

.toast {
  padding: 1rem 1.1rem;
  transform: translateY(1rem);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  opacity: 0;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.reveal {
  transform: translateY(1rem);
  opacity: 0;
  transition:
    opacity 550ms ease,
    transform 550ms ease;
}

.reveal[data-reveal="left"] {
  transform: translateX(-1rem);
}

.reveal[data-reveal="right"] {
  transform: translateX(1rem);
}

.reveal.is-visible {
  transform: translate(0);
  opacity: 1;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Responsive layout */

@media (min-width: 40rem) {
  .container {
    padding-inline: 1.5rem;
  }

  .container--narrow,
  .container--text {
    width: min(100% - 3rem, 64rem);
  }

  .container--text {
    width: min(100% - 3rem, 56rem);
  }

  .hero:not(.hero--simple) + .section .container--text {
    width: min(100% - 3rem, var(--max-width));
  }
}

@media (min-width: 48rem) {
  .hero h1 {
    font-size: 3rem;
  }

  .section-heading h2,
  .heading-section {
    font-size: 1.875rem;
  }

  .desktop-nav {
    display: flex;
  }

  .nav-toggle,
  .mobile-nav,
  .nav-scrim {
    display: none;
  }

  .grid-2,
  .content-page .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-3,
  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-page .content-admin-panel {
    padding: 2rem;
  }

  .content-page .content-admin-panel-heading {
    grid-template-columns: minmax(0, 0.7fr) minmax(18rem, 1fr);
    align-items: end;
    gap: 2rem;
  }

  .content-page .content-video-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-page .content-video-description-field {
    grid-column: 1 / -1;
  }

  .content-page .content-admin-form-actions {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
  }

  .content-page .content-admin-status {
    margin-right: auto;
  }

  .footer-bottom {
    flex-direction: row;
    gap: 1.5rem;
    text-align: left;
  }

  .footer-bottom > span {
    order: 1;
  }

  .footer-legal {
    order: 2;
  }
}

@media (min-width: 64rem) {
  .container {
    padding-inline: 2rem;
  }

  .container--narrow,
  .container--text {
    width: min(100% - 4rem, 64rem);
  }

  .container--text {
    width: min(100% - 4rem, 56rem);
  }

  .hero:not(.hero--simple) + .section .container--text {
    width: min(100% - 4rem, var(--max-width));
  }

  .section {
    padding-block: 6rem;
  }

  .hero--simple,
  .cta {
    padding-block: 6rem;
  }

  .hero h1 {
    font-size: 3.75rem;
  }

  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .content-page .video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(22rem, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    transform: none;
    opacity: 1;
  }
}
