:root {
  color-scheme: light;
  --lf-color-bg: #f5f0e8;
  --lf-color-surface: #fffdf8;
  --lf-color-surface-alt: #eef2ea;
  --lf-color-surface-deep: #263126;
  --lf-color-text: #243023;
  --lf-color-muted: #5f6a60;
  --lf-color-border: rgba(36, 48, 35, 0.12);
  --lf-color-brand: #47664f;
  --lf-color-brand-dark: #31503a;
  --lf-color-brand-soft: #dbe8dc;
  --lf-color-warm: #b9895b;
  --lf-color-white: #ffffff;
  --lf-shadow-soft: 0 18px 40px rgba(37, 46, 39, 0.08);
  --lf-shadow-card: 0 14px 30px rgba(32, 40, 33, 0.07);
  --lf-radius-sm: 0.85rem;
  --lf-radius-md: 1.2rem;
  --lf-radius-lg: 1.8rem;
  --lf-radius-pill: 999px;
  --lf-card-padding: 1.45rem;
  --lf-card-padding-lg: 1.7rem;
  --lf-note-padding-y: 1.05rem;
  --lf-note-padding-x: 1.15rem;
  --lf-mobile-content-inset: 1rem;
  --lf-space-1: 0.5rem;
  --lf-space-2: 0.75rem;
  --lf-space-3: 1rem;
  --lf-space-4: 1.5rem;
  --lf-space-5: 2rem;
  --lf-space-6: 3rem;
  --lf-space-7: 4.5rem;
  /* Typography scale */
  --lf-fs-body: 1rem;
  --lf-fs-secondary: 0.9rem;
  --lf-fs-caption: 0.85rem;
  --lf-fs-micro: 0.78rem;
  /* Uppercase label tracking */
  --lf-tracking-label: 0.15em;
  --lf-transition: 0.28s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: var(--lf-fs-body);
  line-height: 1.62;
  color: var(--lf-color-text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.72), transparent 28%),
    linear-gradient(180deg, var(--lf-color-bg) 0%, #fbf8f2 100%);
}

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

a {
  color: var(--lf-color-brand-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover,
a:focus {
  color: var(--lf-color-brand);
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: 0.01em;
  font-weight: 500;
}

h1,
h2,
h3,
h4,
p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

main {
  overflow: clip;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120%;
  z-index: 1100;
  padding: 0.7rem 1rem;
  border-radius: var(--lf-radius-pill);
  background: var(--lf-color-brand-dark);
  color: var(--lf-color-white);
  text-decoration: none;
  transition: top var(--lf-transition);
}

.skip-link:focus {
  top: 1rem;
}

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

.section-space-sm {
  padding: var(--lf-space-6) 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.8rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: var(--lf-tracking-label);
  text-transform: uppercase;
  color: var(--lf-color-brand);
}

.section-header {
  max-width: 42rem;
  margin-bottom: 2.25rem;
}

.section-header h1,
.section-header h2 {
  font-size: clamp(1.8rem, 3.1vw, 3rem);
  line-height: 1.02;
  font-weight: 500;
}

.section-header p {
  margin-top: 1rem;
  max-width: 34rem;
  color: var(--lf-color-muted);
}

.text-muted-soft {
  color: var(--lf-color-muted) !important;
}

.section-divider {
  width: 5.5rem;
  height: 1px;
  margin: 1rem 0 0;
  background: linear-gradient(
    90deg,
    rgba(71, 102, 79, 0.9),
    rgba(71, 102, 79, 0.15)
  );
}

.navbar-shell {
  background: rgba(255, 253, 248, 0.88);
  border-bottom: 1px solid var(--lf-color-border);
  backdrop-filter: blur(12px);
}

.brand-mark {
  display: inline-flex;
  flex-direction: column;
  line-height: 0.96;
  text-decoration: none;
  color: var(--lf-color-text);
}

.brand-mark .font-display {
  font-size: clamp(1.7rem, 2.1vw, 2.2rem) !important;
  font-weight: 500;
}

.brand-mark small {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lf-color-muted);
  font-family: "Manrope", sans-serif;
}

.navbar-shell .nav-link {
  color: var(--lf-color-text);
  font-size: var(--lf-fs-secondary);
  font-weight: 500;
  padding: 0.35rem 0.6rem;
  border-bottom: 1px solid transparent;
  transition:
    color var(--lf-transition),
    border-color var(--lf-transition);
}

.navbar-shell .nav-link:hover,
.navbar-shell .nav-link:focus,
.navbar-shell .nav-link[aria-current="page"] {
  color: var(--lf-color-brand);
  border-bottom-color: currentColor;
}

.navbar-shell .navbar-toggler {
  border-color: var(--lf-color-border);
}

.navbar-shell .navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(71, 102, 79, 0.18);
}

.page-hero {
  position: relative;
  min-height: 76vh;
  display: flex;
  align-items: end;
  padding: 7rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid var(--lf-color-border);
  background: #1d251f;
  color: var(--lf-color-white);
}

.page-hero--compact {
  min-height: 58vh;
}

.hero-slider,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: none !important;
}

.hero-slider {
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 45rem;
}

.page-hero__content h1 {
  font-size: clamp(2.35rem, 4.4vw, 4.7rem);
  line-height: 1.05;
  font-weight: 500;
  display: inline-block;
  max-width: 22ch;
  margin-bottom: 0;
  padding: 0.5rem 0.85rem;
  border-radius: 0.85rem;
  background: linear-gradient(
    160deg,
    rgba(23, 18, 14, 0.051),
    rgba(58, 40, 25, 0.214)
  );
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.156);
}

.page-hero__content .lead {
  max-width: 38rem;
  font-size: clamp(1.02rem, 0.8vw + 0.9rem, 1.26rem);
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 253, 248, 0.86);
  display: inline-block;
  margin-top: 0.9rem !important;
  padding: 0.55rem 0.8rem;
  border-radius: 0.75rem;
  background: rgba(26, 21, 16, 0.166);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.breadcrumb-shell {
  position: relative;
  z-index: 2;
  margin-bottom: 1.5rem;
}

.breadcrumb-shell .breadcrumb {
  margin-bottom: 0;
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.7);
  --bs-breadcrumb-item-active-color: rgba(255, 255, 255, 0.88);
}

.breadcrumb-shell a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.site-footer {
  padding: 4rem 0 1.5rem;
  background:
    radial-gradient(
      circle at top left,
      rgba(102, 142, 111, 0.2),
      transparent 22%
    ),
    linear-gradient(180deg, #1d261f 0%, #121713 100%);
  color: #edf2ea;
}

.site-footer a {
  color: #edf2ea;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
  color: #cfe0d1;
}

.footer-title {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: "Manrope", sans-serif;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
}

.footer-social-link svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(237, 242, 234, 0.72);
  font-size: var(--lf-fs-secondary);
}

@media (max-width: 991.98px) {
  .navbar-shell.sticky-top {
    top: 0.45rem;
  }

  .section-space {
    padding: 4rem 0;
  }

  .section-space-sm {
    padding: 3rem 0;
  }

  .page-hero {
    min-height: 68vh;
    padding: 6.5rem 0 3rem;
  }

  .page-hero__content h1 {
    font-size: clamp(2.15rem, 10vw, 3.55rem);
    padding: 0.46rem 0.7rem;
    border-radius: 0.75rem;
    max-width: 100%;
  }

  .page-hero__content .lead {
    padding: 0.5rem 0.7rem;
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .page-hero__content h1 {
    font-size: clamp(1.72rem, 8.4vw, 2.35rem);
    line-height: 1.12;
  }

  .page-hero__actions .btn {
    width: 100%;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-slide {
    transition: none;
  }
}
