.frontend-header.header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 132px;
  transition: height 0.24s ease, background-color 0.24s ease;
}

.frontend-header.header.is-scrolled {
  height: 60px;
}

.frontend-header .wrapper {
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  transition: gap 0.24s ease;
}

.frontend-header.header.is-scrolled .wrapper {
  flex-direction: row;
  justify-content: space-between;
  gap: 0;
}

.frontend-header .wrapper h1 {
  padding: 0;
}

.frontend-header .wrapper h1 a.site-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  line-height: 0;
  text-decoration: none;
  transition: height 0.24s ease;
}

.frontend-header .site-brand-logo {
  display: block;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.frontend-header .site-brand-logo-tall {
  max-height: 72px;
}

.frontend-header .site-brand-logo-horizontal {
  display: none;
  max-height: 34px;
}

.frontend-header.header.is-scrolled .wrapper h1 a.site-brand {
  height: 40px;
}

.frontend-header.header.is-scrolled .site-brand-logo-tall {
  display: none;
}

.frontend-header.header.is-scrolled .site-brand-logo-horizontal {
  display: block;
}

.frontend-content.content {
  min-height: calc(100vh - 360px);
  padding-bottom: 0;
  width: 100%;
}

.frontend-content .wrapper {
  width: min(1000px, calc(100% - 56px));
  margin: 0 auto;
}

.frontend-content h2,
.frontend-content h3 {
  font-family: Papyrus, Herculanum, Copperplate, Georgia, serif;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.frontend-content p,
.frontend-content div,
.frontend-content cite {
  color: var(--eir-paper);
  line-height: 1.8;
}

.frontend-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    linear-gradient(90deg, rgba(21, 25, 23, 0.88) 0%, rgba(21, 25, 23, 0.68) 38%, rgba(21, 25, 23, 0.2) 100%),
    linear-gradient(135deg, #29302b, #171b19);
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(200, 170, 110, 0.14);
}

.frontend-hero h2 {
  max-width: 520px;
  margin: 0 0 22px;
  font-size: 46px;
  line-height: 1.05;
}

.frontend-hero p {
  max-width: 420px;
  margin: 0 0 30px;
  color: var(--eir-cream);
  font-size: 20px;
}

.frontend-hero-body {
  max-width: 460px;
  margin: 0 0 30px;
}

.frontend-slider {
  position: relative;
  overflow: hidden;
}

.frontend-slider-slides,
.frontend-slider-slide {
  position: absolute;
  inset: 0;
}

.frontend-slider-slide {
  display: flex;
  align-items: center;
  opacity: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    linear-gradient(90deg, rgba(21, 25, 23, 0.88) 0%, rgba(21, 25, 23, 0.68) 38%, rgba(21, 25, 23, 0.2) 100%),
    linear-gradient(135deg, #29302b, #171b19);
  background-position: center;
  background-size: cover;
  transition: opacity 0.7s ease;
}

.frontend-slider-slide.is-active {
  opacity: 1;
  z-index: 1;
}

.frontend-slider-transition-slide .frontend-slider-slide {
  opacity: 1;
  transform: translateX(100%);
  transition: transform 0.7s ease;
}

.frontend-slider-transition-slide .frontend-slider-slide.is-active {
  transform: translateX(0);
}

.frontend-slider-transition-zoom .frontend-slider-slide {
  transform: scale(1.06);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.frontend-slider-transition-zoom .frontend-slider-slide.is-active {
  transform: scale(1);
}

.frontend-slider-transition-none .frontend-slider-slide {
  transition: none;
}

.frontend-slider-slide .wrapper {
  position: relative;
  z-index: 2;
}

.frontend-slider-control {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(200, 170, 110, 0.42);
  border-radius: 8px;
  background: rgba(21, 25, 23, 0.58);
  color: transparent;
  cursor: pointer;
  transform: translateY(-50%);
}

.frontend-slider-control::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--eir-gold);
  border-left: 2px solid var(--eir-gold);
}

.frontend-slider-prev {
  left: 24px;
}

.frontend-slider-prev::before {
  transform: translate(-35%, -50%) rotate(-45deg);
}

.frontend-slider-next {
  right: 24px;
}

.frontend-slider-next::before {
  transform: translate(-65%, -50%) rotate(135deg);
}

.frontend-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 4;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.frontend-slider-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(200, 170, 110, 0.72);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.frontend-slider-dots button.is-active {
  background: var(--eir-gold);
}

.frontend-section {
  padding: 62px 0;
  border-bottom: 1px solid rgba(200, 170, 110, 0.12);
}

.frontend-page-header {
  min-height: 320px;
  display: flex;
  align-items: end;
  padding: 70px 0 54px;
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid rgba(200, 170, 110, 0.14);
}

.frontend-page-title {
  padding: 58px 0 36px;
  background: rgba(21, 25, 23, 0.38);
  border-bottom: 1px solid rgba(200, 170, 110, 0.12);
}

.frontend-page-header h2,
.frontend-page-title h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
}

.frontend-page {
  max-width: 820px;
}

.frontend-page h2,
.frontend-page h3,
.frontend-page p {
  margin-top: 0;
}

.frontend-section-sage {
  background: rgba(95, 114, 93, 0.26);
}

.frontend-section-dark {
  background: rgba(21, 25, 23, 0.38);
}

.frontend-section-charcoal {
  background: rgba(42, 48, 44, 0.56);
}

.frontend-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.frontend-split h2 {
  margin: 0 0 22px;
  font-size: 34px;
}

.frontend-split .btn {
  margin-top: 20px;
}

.frontend-split-image-left .frontend-image {
  order: -1;
}

.frontend-split-image-right .frontend-image {
  order: 0;
}

.frontend-image {
  min-height: 280px;
  background:
    linear-gradient(rgba(21, 25, 23, 0.24), rgba(21, 25, 23, 0.24)),
    linear-gradient(135deg, rgba(143, 165, 139, 0.34), rgba(21, 25, 23, 0.5));
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(200, 170, 110, 0.14);
}

.frontend-section-title {
  margin: 0 0 34px;
  text-align: center;
  font-size: 30px;
}

.frontend-section-subtitle,
.frontend-section-intro {
  max-width: 720px;
  margin: 0 auto 30px;
  text-align: center;
}

.frontend-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px;
}

.frontend-columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.frontend-columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.frontend-column {
  min-width: 0;
}

.frontend-quote.frontend-section-sage {
  background: rgba(143, 165, 139, 0.22);
}

.frontend-quote.frontend-section-dark {
  background: rgba(21, 25, 23, 0.42);
}

.frontend-quote.frontend-section-charcoal {
  background: rgba(42, 48, 44, 0.58);
}

.frontend-column-block {
  min-height: 100%;
  text-align: center;
}

.frontend-column-image {
  aspect-ratio: 4 / 3;
  min-height: 0;
  margin-bottom: 18px;
  background:
    linear-gradient(rgba(21, 25, 23, 0.24), rgba(21, 25, 23, 0.24)),
    linear-gradient(135deg, rgba(143, 165, 139, 0.34), rgba(21, 25, 23, 0.5));
  background-position: center;
  background-size: cover;
  border: 1px solid rgba(200, 170, 110, 0.14);
}

.frontend-columns-4 .frontend-column-image {
  aspect-ratio: 1 / 1;
}

.frontend-column-block h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.15;
}

.frontend-column-block p {
  margin: 0 0 12px;
}

.frontend-column-text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.frontend-column-block .btn {
  margin-top: 18px;
}

.frontend-quote {
  padding: 36px 42px;
  background: rgba(143, 165, 139, 0.22);
  border: 1px solid rgba(200, 170, 110, 0.18);
  text-align: center;
}

.frontend-quote blockquote {
  margin: 0;
}

.frontend-quote blockquote::before {
  content: "\201C";
  display: block;
  color: rgba(200, 170, 110, 0.58);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  line-height: 1;
}

.frontend-quote p {
  max-width: 760px;
  margin: 0 auto 12px;
  color: var(--eir-cream);
  font-size: 21px;
}

.frontend-quote cite {
  font-style: normal;
  font-size: 15px;
}

.frontend-cta {
  text-align: center;
}

.frontend-cta h2 {
  margin: 0 0 18px;
  font-size: 34px;
}

.frontend-cta p {
  max-width: 680px;
  margin: 0 auto 18px;
}

.frontend-cta .btn {
  margin-top: 18px;
}

@media (max-width: 760px) {
  .frontend-content .wrapper {
    width: min(100% - 32px, 1000px);
  }

  .frontend-header.header,
  .frontend-header.header.is-scrolled {
    height: 60px;
  }

  .frontend-header .wrapper,
  .frontend-header.header.is-scrolled .wrapper {
    flex-direction: row;
    justify-content: space-between;
    gap: 0;
  }

  .frontend-header .wrapper h1 a.site-brand,
  .frontend-header.header.is-scrolled .wrapper h1 a.site-brand {
    height: 38px;
  }

  .frontend-header .site-brand-logo-tall {
    display: none;
  }

  .frontend-header .site-brand-logo-horizontal,
  .frontend-header.header.is-scrolled .site-brand-logo-horizontal {
    display: block;
    max-height: 30px;
    max-width: 170px;
  }

  .frontend-hero {
    min-height: 480px;
  }

  .frontend-hero h2 {
    font-size: 36px;
  }

  .frontend-hero p {
    font-size: 18px;
  }

  .frontend-slider-control {
    display: none;
  }

  .frontend-split,
  .frontend-columns-2,
  .frontend-columns-4 {
    grid-template-columns: 1fr;
  }

  .frontend-split-image-left .frontend-image,
  .frontend-split-image-right .frontend-image {
    order: 0;
  }

  .frontend-section {
    padding: 46px 0;
  }

  .frontend-page-header {
    min-height: 260px;
    padding: 52px 0 38px;
  }

  .frontend-page-header h2,
  .frontend-page-title h2 {
    font-size: 34px;
  }
}
