:root {
  color-scheme: light;
  --forest: #163d2d;
  --forest-dark: #102d22;
  --leaf: #2e6948;
  --gold: #e5b84f;
  --cream: #f5f4ed;
  --paper: #fff;
  --ink: #1d2922;
  --muted: #647168;
  --line: #e2e6df;
  --shadow: 0 18px 48px rgb(22 61 45 / 12%);
  --radius: 18px;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--leaf);
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--forest-dark);
}

button,
input {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  z-index: 20;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 0.9rem;
  transform: translateY(-160%);
  color: var(--forest-dark);
  background: var(--paper);
  border-radius: 0.4rem;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.topbar {
  color: rgb(255 255 255 / 90%);
  background: var(--forest-dark);
  font-size: 0.88rem;
}

.topbar__inner {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar a {
  color: inherit;
  text-decoration: none;
}

.topbar__details {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgb(255 255 255 / 78%);
  border-bottom: 1px solid rgb(255 255 255 / 45%);
  box-shadow: 0 5px 20px rgb(14 41 29 / 7%);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
}

.header__inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 0 auto;
  width: min(330px, 42vw);
}

.brand__mark {
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  object-fit: contain;
}

.brand__wordmark {
  flex: 1 1 auto;
  min-width: 0;
  max-height: 62px;
  object-fit: contain;
  object-position: left center;
}

.menu-toggle {
  display: none;
  padding: 0.65rem 0.85rem;
  color: var(--forest);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a,
.nav-products__toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0.55rem 0.72rem;
  color: var(--ink);
  font-size: 0.91rem;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.035em;
  border-radius: 0.35rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.nav-products__toggle:hover,
.nav-products__toggle[aria-expanded="true"] {
  color: var(--leaf);
  background: #f1f5f1;
}

.nav-products {
  position: relative;
}

.nav-products__toggle::after {
  width: 7px;
  height: 7px;
  margin: -0.25rem 0 0 0.6rem;
  transform: rotate(45deg);
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
}

.nav-products__toggle {
  color: var(--ink);
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-products .nav-dropdown {
  position: absolute;
  top: calc(100% - 0.15rem);
  left: 0;
  display: none;
  flex-direction: column;
  min-width: 190px;
  padding: 0.45rem;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  box-shadow: var(--shadow);
}

.nav-products.is-open .nav-dropdown {
  display: flex;
}

.nav-dropdown a {
  width: 100%;
  text-transform: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(650px, 72vw);
  align-items: center;
  overflow: hidden;
  color: var(--paper);
  background: var(--forest-dark);
}

.hero__image,
.hero::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
}

.hero::after {
  content: "";
  background: linear-gradient(90deg, #102d22 0%, #102d22 42%, rgb(16 45 34 / 94%) 56%, rgb(16 45 34 / 30%) 80%, rgb(16 45 34 / 5%) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding-block: 5rem;
  padding-right: 42%;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.15;
}

.hero h1 {
  max-width: 720px;
  margin-bottom: 1.15rem;
  font-size: clamp(2.9rem, 7vw, 5.6rem);
  letter-spacing: -0.035em;
}

.hero__content > p:not(.eyebrow) {
  max-width: 610px;
  margin-bottom: 1.8rem;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero .button-row {
  flex-wrap: nowrap;
}

.hero .button-row .button {
  white-space: nowrap;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.2rem;
  color: var(--forest-dark);
  background: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 0.45rem;
  font-weight: 800;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  color: var(--forest-dark);
  background: #f0ca6c;
  transform: translateY(-1px);
}

.button--outline {
  color: var(--paper);
  background: transparent;
  border-color: rgb(255 255 255 / 72%);
}

.button--outline:hover {
  color: var(--forest-dark);
  background: var(--paper);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section--soft {
  background: var(--cream);
}

.section-heading {
  max-width: 710px;
  margin: 0 auto 2.2rem;
  text-align: center;
}

.section-heading h2,
.page-intro h1 {
  margin-bottom: 0.85rem;
  color: var(--forest);
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  letter-spacing: -0.025em;
}

.section-heading p,
.page-intro p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.split__media img,
.feature-card img,
.catalog-card img,
.partner-card img {
  width: 100%;
  object-fit: cover;
}

.split__media img {
  min-height: 320px;
  max-height: 480px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split h2 {
  margin-bottom: 1rem;
  color: var(--forest);
  font-size: clamp(2rem, 4vw, 3rem);
}

.split p {
  color: var(--muted);
}

.split__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.split__images img {
  height: 260px;
  border-radius: 0.85rem;
  object-fit: cover;
}

.split__images img:first-child {
  margin-top: 2rem;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem 1.2rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.check-grid li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
}

.check-grid li::before {
  width: 9px;
  height: 5px;
  flex: 0 0 auto;
  margin-right: 0.1rem;
  transform: rotate(-45deg);
  border-bottom: 2px solid var(--leaf);
  border-left: 2px solid var(--leaf);
  content: "";
}

.feature-grid,
.product-grid,
.location-grid,
.timeline-grid,
.partner-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.feature-card,
.location-card,
.timeline-card,
.partner-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgb(22 61 45 / 6%);
}

.feature-card img {
  height: 225px;
}

.feature-card__body,
.location-card,
.timeline-card,
.partner-card__body {
  padding: 1.35rem;
}

.feature-card h3,
.timeline-card h3,
.partner-card h3 {
  margin-bottom: 0.55rem;
  color: var(--forest);
  font-size: 1.45rem;
}

.feature-card p,
.timeline-card p,
.partner-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.value-band {
  padding-block: 2rem;
  color: var(--paper);
  background: var(--forest);
}

.value-band__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.value-band strong {
  display: block;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
}

.value-band span {
  color: rgb(255 255 255 / 82%);
  font-size: 0.9rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  color: var(--paper);
  background: var(--forest);
  border-radius: var(--radius);
}

.cta-panel h2 {
  margin-bottom: 0.45rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.cta-panel p {
  max-width: 650px;
  margin-bottom: 0;
  color: rgb(255 255 255 / 82%);
}

.page-banner {
  position: relative;
  display: flex;
  min-height: clamp(320px, 38vw, 460px);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  overflow: hidden;
  color: var(--paper);
  background: var(--forest-dark);
  isolation: isolate;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--banner-image, none) center / cover no-repeat;
  transform: scale(1.06);
  animation: banner-drift 14s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

.page-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(16 45 34 / 94%) 0%, rgb(16 45 34 / 80%) 45%, rgb(16 45 34 / 35%) 100%),
    linear-gradient(0deg, rgb(10 30 22 / 55%) 0%, rgb(10 30 22 / 0%) 45%);
  border-bottom: 3px solid var(--gold);
}

@keyframes banner-drift {
  to { transform: scale(1); }
}

.page-banner .page-intro > * {
  animation: banner-rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.page-banner .page-intro > :nth-child(2) { animation-delay: 0.12s; }
.page-banner .page-intro > :nth-child(3) { animation-delay: 0.24s; }

@keyframes banner-rise {
  from { opacity: 0; transform: translateY(18px); }
}

.page-banner .page-intro .eyebrow {
  margin-bottom: 0.9rem;
  color: var(--gold);
}

.page-banner .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.page-banner .eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}

.page-banner .page-intro h1 {
  color: var(--paper);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  text-shadow: 0 2px 24px rgb(0 0 0 / 25%);
}

.page-banner .page-intro p:not(.eyebrow) {
  color: rgb(255 255 255 / 86%);
}

.page-intro {
  max-width: 850px;
}

.page-intro h1 {
  margin-bottom: 0.8rem;
}

.page-intro p {
  max-width: 760px;
}

.page-content {
  min-height: 55vh;
}

.timeline-card {
  border-top: 4px solid var(--gold);
}

.timeline-card .date {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--leaf);
  font-weight: 800;
}

.service-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.service-points li {
  padding: 1rem 1.1rem;
  background: var(--cream);
  border-radius: 0.65rem;
}

.service-points strong {
  display: block;
  color: var(--forest);
}

.quote-card {
  padding: clamp(1.5rem, 4vw, 3.25rem);
  background: var(--cream);
  border-left: 5px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.quote-card--centered {
  max-width: 900px;
  margin: 3rem auto 0;
}

.quote-card blockquote {
  margin: 0;
  color: var(--forest-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  line-height: 1.5;
}

.quote-card cite {
  display: block;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 700;
}

.partner-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 780px;
  margin: 0 auto;
}

.partner-card {
  display: flex;
  min-height: 190px;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.partner-card img {
  max-width: 250px;
  max-height: 150px;
  object-fit: contain;
}

.contact-card h2 {
  margin-bottom: 0.65rem;
  color: var(--forest);
  font-size: 1.35rem;
}

.contact-card address {
  margin-bottom: 1rem;
  color: var(--muted);
  font-style: normal;
}

.contact-card a {
  display: block;
  width: fit-content;
  margin-top: 0.25rem;
  font-weight: 700;
}

.contact-note {
  padding: 1rem 1.2rem;
  color: var(--forest);
  background: #edf4ee;
  border-radius: 0.65rem;
}

.catalog-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.catalog-search {
  width: min(100%, 400px);
}

.catalog-search label {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--forest);
  font-size: 0.9rem;
  font-weight: 700;
}

.catalog-search input {
  width: 100%;
  min-height: 46px;
  padding: 0.65rem 0.8rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid #bec9bf;
  border-radius: 0.45rem;
}

.catalog-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.catalog-card {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgb(22 61 45 / 6%);
}

.catalog-card[hidden] {
  display: none;
}

.catalog-card img {
  height: 220px;
}

.catalog-card__body {
  padding: 1.25rem;
}

.catalog-card h2 {
  margin-bottom: 0.65rem;
  color: var(--forest);
  font-size: 1.55rem;
}

.catalog-card h3 {
  margin: 1rem 0 0.25rem;
  color: var(--forest);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.79rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.catalog-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.catalog-warning {
  margin-top: 1rem !important;
  padding: 0.7rem;
  color: #5b4514 !important;
  background: #fff5d8;
  border-radius: 0.45rem;
  font-size: 0.86rem !important;
}

.no-results {
  grid-column: 1 / -1;
  padding: 2rem;
  color: var(--muted);
  background: var(--cream);
  border-radius: var(--radius);
  text-align: center;
}

.site-footer {
  padding-top: 3rem;
  color: rgb(255 255 255 / 82%);
  background: var(--forest-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  width: min(320px, 100%);
  margin-bottom: 1rem;
  padding: 0.45rem;
  background: var(--paper);
  border-radius: 0.35rem;
}

.footer-brand .brand__mark {
  flex-basis: 60px;
  width: 60px;
  height: 60px;
}

.footer-brand .brand__wordmark {
  width: calc(100% - 65px);
  max-height: 58px;
  object-fit: contain;
  object-position: left center;
}

.site-footer h2 {
  margin-bottom: 0.9rem;
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer p {
  margin-bottom: 0.6rem;
}

.site-footer a {
  color: rgb(255 255 255 / 90%);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-nav {
  display: grid;
  gap: 0.4rem;
}

.footer-nav a {
  width: fit-content;
  text-decoration: none;
}

.footer-bottom {
  padding-block: 1rem;
  border-top: 1px solid rgb(255 255 255 / 18%);
  color: rgb(255 255 255 / 65%);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .header__inner {
    min-height: 78px;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    padding: 0.6rem max(1.25rem, calc((100% - 1120px) / 2));
    background: var(--paper);
    border-top: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0.1rem;
  }

  .site-nav a,
  .nav-products__toggle {
    width: 100%;
  }

  .nav-products .nav-dropdown {
    position: static;
    padding: 0 0 0 1rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-products.is-open .nav-dropdown {
    display: flex;
  }

  .nav-dropdown a {
    min-height: 38px;
    color: var(--muted);
    font-weight: 600;
  }

  .hero {
    min-height: 580px;
  }

  .hero__content {
    padding-right: 28%;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-grid,
  .location-grid,
  .timeline-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 2rem, 1120px);
  }

  .topbar__inner {
    min-height: 54px;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 0.1rem;
    padding-block: 0.45rem;
  }

  .topbar__details {
    gap: 0.2rem 0.9rem;
    font-size: 0.8rem;
  }

  .header__inner {
    min-height: 72px;
    gap: 0.75rem;
  }

  .brand {
    width: min(290px, 58vw);
  }

  .brand__mark {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
  }

  .brand__wordmark {
    max-height: 48px;
  }

  .menu-toggle {
    padding: 0.55rem 0.65rem;
    font-size: 0.9rem;
  }

  .hero {
    min-height: 600px;
  }

  .hero::after {
    background: linear-gradient(90deg, rgb(9 33 23 / 95%), rgb(9 33 23 / 82%));
  }

  .hero__content {
    width: calc(100% - 2rem);
    padding-block: 4rem;
    padding-right: 0;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero .button-row .button {
    padding-inline: 0.85rem;
    font-size: 0.9rem;
  }

  .split,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split__media img {
    min-height: 250px;
  }

  .split__images img {
    height: 190px;
  }

  .check-grid,
  .feature-grid,
  .product-grid,
  .location-grid,
  .timeline-grid,
  .partner-grid,
  .catalog-grid,
  .value-band__inner {
    grid-template-columns: 1fr;
  }

  .value-band__inner {
    gap: 1.1rem;
  }

  .service-points {
    grid-template-columns: 1fr;
  }

  .cta-panel,
  .catalog-tools {
    align-items: flex-start;
    flex-direction: column;
  }

  .catalog-search {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Home hero slider ---------- */
.hero-slider {
  --slide-duration: 6500ms;
  position: relative;
  min-height: min(720px, 78vw);
  overflow: hidden;
  color: var(--paper);
  background: var(--forest-dark);
  isolation: isolate;
}

.hero-slider__track {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s linear 1.2s;
}

.hero-slide.is-active {
  z-index: 1;
  opacity: 1;
  visibility: visible;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 0s;
}

.hero-slide__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.12);
  transition: transform 9s cubic-bezier(0.25, 0.1, 0.25, 1);
  will-change: transform;
}

.hero-slide.is-active .hero-slide__image {
  transform: scale(1);
}

.hero-slide--map .hero-slide__image {
  object-position: 70% center;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(16 45 34 / 92%) 0%, rgb(16 45 34 / 72%) 38%, rgb(16 45 34 / 18%) 72%, rgb(16 45 34 / 0%) 100%),
    linear-gradient(0deg, rgb(10 30 22 / 70%) 0%, rgb(10 30 22 / 0%) 32%);
}

.hero-slide__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  padding-block: 5rem 8rem;
}

.hero-slide__content > * {
  max-width: 620px;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero-slide.is-active .hero-slide__content > * {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-slide.is-active .hero-slide__content > :nth-child(1) { transition-delay: 0.35s; }
.hero-slide.is-active .hero-slide__content > :nth-child(2) { transition-delay: 0.5s; }
.hero-slide.is-active .hero-slide__content > :nth-child(3) { transition-delay: 0.65s; }
.hero-slide.is-active .hero-slide__content > :nth-child(4) { transition-delay: 0.8s; }

.hero-slide .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-slide .eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}

.hero-slide h1,
.hero-slide__title {
  margin-bottom: 1.15rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 6.4vw, 5.2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-shadow: 0 2px 24px rgb(0 0 0 / 25%);
}

.hero-slide__content > p:not(.eyebrow) {
  margin-bottom: 1.8rem;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-slide .button-row .button {
  white-space: nowrap;
}

/* Controls */
.hero-slider__controls {
  position: absolute;
  z-index: 2;
  bottom: 2.25rem;
  left: 50%;
  display: flex;
  width: min(1120px, calc(100% - 2.5rem));
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  transform: translateX(-50%);
}

.hero-slider__dots {
  display: flex;
  gap: 0.9rem;
}

.hero-slider__dot {
  display: grid;
  width: clamp(44px, 7vw, 92px);
  gap: 0.5rem;
  padding: 0.5rem 0;
  border: 0;
  color: rgb(255 255 255 / 55%);
  background: none;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-align: left;
  cursor: pointer;
  transition: color 0.3s ease;
}

.hero-slider__dot:hover,
.hero-slider__dot.is-active {
  color: var(--paper);
}

.hero-slider__bar {
  position: relative;
  display: block;
  height: 2px;
  overflow: hidden;
  background: rgb(255 255 255 / 28%);
}

.hero-slider__bar > span {
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
}

.hero-slider__dot.is-done .hero-slider__bar > span {
  transform: scaleX(1);
  background: rgb(255 255 255 / 70%);
}

.hero-slider__dot.is-active .hero-slider__bar > span {
  animation: hero-progress var(--slide-duration) linear forwards;
}

.hero-slider.is-paused .hero-slider__dot.is-active .hero-slider__bar > span,
.hero-slider.is-stopped .hero-slider__dot.is-active .hero-slider__bar > span {
  animation-play-state: paused;
}

@keyframes hero-progress {
  to { transform: scaleX(1); }
}

.hero-slider__arrows {
  display: flex;
  gap: 0.5rem;
}

.hero-slider__arrow {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  padding: 0;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 50%;
  color: var(--paper);
  background: rgb(16 45 34 / 35%);
  backdrop-filter: blur(6px);
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hero-slider__arrow:hover {
  border-color: var(--gold);
  color: var(--forest-dark);
  background: var(--gold);
}

.hero-slider__arrow:focus-visible,
.hero-slider__dot:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.hero-slider__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-slider__arrow .icon-play { fill: currentColor; stroke: none; }
.hero-slider__arrow .icon-play,
.hero-slider.is-stopped .hero-slider__arrow .icon-pause { display: none; }
.hero-slider.is-stopped .hero-slider__arrow .icon-play { display: block; }

@media (max-width: 900px) {
  .hero-slider {
    min-height: 620px;
  }
}

@media (max-width: 640px) {
  .hero-slider {
    min-height: 640px;
  }

  .hero-slide::after {
    background:
      linear-gradient(90deg, rgb(9 33 23 / 88%), rgb(9 33 23 / 62%)),
      linear-gradient(0deg, rgb(9 33 23 / 70%) 0%, rgb(9 33 23 / 0%) 40%);
  }

  .hero-slide__content {
    width: calc(100% - 2rem);
    padding-block: 3.5rem 6.5rem;
  }

  .hero-slide h1,
  .hero-slide__title {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .hero-slide .button-row {
    flex-wrap: wrap;
  }

  .hero-slide .button-row .button {
    padding-inline: 0.85rem;
    font-size: 0.9rem;
  }

  .hero-slider__controls {
    bottom: 1.25rem;
    width: calc(100% - 2rem);
    align-items: center;
    gap: 1rem;
  }

  .hero-slider__dots {
    flex: 1;
    gap: 0.4rem;
  }

  .hero-slider__dot {
    flex: 1;
    width: auto;
    padding-block: 0.9rem;
  }

  .hero-slider__num {
    display: none;
  }

  .hero-slider__arrow {
    width: 40px;
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide__image,
  .hero-slide.is-active .hero-slide__image {
    transform: none;
    transition: none;
  }

  .hero-slide__content > * {
    opacity: 1;
    transform: none;
  }

  .hero-slider__dot.is-active .hero-slider__bar > span {
    animation: none;
    transform: scaleX(1);
  }
}
