:root {
  --green: #008b4b;
  --green-dark: #282329;
  --lime: #008b4b;
  --cream: #f4f4f2;
  --ink: #282329;
  --muted: #6d696d;
  --white: #ffffff;
}

.site-header {
  background: #ffffff;
}

.brand-intro {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 28px;
  background: #ffffff;
  transition: background-color 1.8s cubic-bezier(.65, 0, .35, 1);
}

.brand-intro.is-settling {
  pointer-events: none;
  background: rgba(255, 255, 255, 0);
}

.brand-intro.is-settling::before {
  opacity: 0;
}

.brand-intro.is-settling::after {
  animation: none;
  opacity: 0;
  transition: opacity 1.6s ease;
}

.brand-intro::before {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(72vw, 840px);
  aspect-ratio: 1;
  content: "";
  background: radial-gradient(circle, rgba(0, 139, 75, .1), rgba(218, 166, 55, .06) 42%, transparent 70%);
  border-radius: 50%;
  filter: blur(20px);
  transform: translate(-50%, -50%);
}

.brand-intro::after {
  position: absolute;
  z-index: 1;
  width: min(1180px, 96vw);
  height: min(460px, 52vw);
  content: "";
  background: radial-gradient(ellipse, rgba(0, 139, 75, .08), rgba(218, 166, 55, .04) 42%, transparent 72%);
  filter: blur(12px);
  opacity: 0;
  animation: logo-light-reveal 1.05s .06s ease-out forwards;
}

.brand-intro .intro-flare {
  position: absolute;
  z-index: 1;
  width: min(1120px, 94vw);
  aspect-ratio: 2.45 / 1;
  border-radius: 50%;
  background:
    conic-gradient(
      from 12deg,
      transparent 0 7%,
      rgba(218, 166, 55, .16) 10%,
      rgba(218, 166, 55, .9) 13%,
      transparent 17% 31%,
      rgba(0, 139, 75, .72) 36%,
      transparent 41% 58%,
      rgba(218, 166, 55, .68) 63%,
      transparent 69% 81%,
      rgba(0, 139, 75, .82) 86%,
      transparent 92%
    );
  filter: blur(11px) drop-shadow(0 0 16px rgba(218, 166, 55, .22)) drop-shadow(0 0 18px rgba(0, 139, 75, .18));
  opacity: 0;
  transform: scale(.6) rotate(-8deg);
  -webkit-mask: radial-gradient(ellipse, transparent 0 49%, rgba(0, 0, 0, .88) 57%, #000 62%, transparent 75%);
  mask: radial-gradient(ellipse, transparent 0 49%, rgba(0, 0, 0, .88) 57%, #000 62%, transparent 75%);
  animation: intro-flare-reveal 1.2s .05s cubic-bezier(.16, 1, .3, 1) forwards;
}

.brand-intro .intro-mark {
  position: relative;
  z-index: 2;
  width: min(1040px, 86vw);
  height: auto;
  opacity: 0;
  filter: blur(12px) drop-shadow(0 12px 24px rgba(40, 35, 41, .14));
  transform: scale(.9) translateY(18px);
  animation: brand-logo-reveal 1.05s .12s cubic-bezier(.16, 1, .3, 1) forwards;
}

body.intro-running {
  overflow: hidden;
}

body.intro-running > .site-header,
body.intro-running > main,
body.intro-running > footer {
  opacity: 0;
}

body.site-entered > .site-header {
  animation: site-piece-reveal .65s both;
}

body.site-entered > main {
  animation: site-piece-reveal .8s .08s both;
}

body.site-entered > footer {
  animation: site-piece-reveal .8s .16s both;
}

@keyframes brand-logo-reveal {
  0% {
    opacity: 0;
    filter: blur(12px) drop-shadow(0 12px 24px rgba(40, 35, 41, .14));
    transform: scale(.9) translateY(18px);
  }
  62%, 100% {
    opacity: 1;
    filter: blur(0) drop-shadow(0 8px 18px rgba(40, 35, 41, .12));
    transform: scale(1) translateY(0);
  }
}

@keyframes intro-flare-reveal {
  0% { opacity: 0; transform: scale(.55) rotate(-8deg); }
  55% { opacity: .9; }
  100% { opacity: .72; transform: scale(1) rotate(18deg); }
}

@keyframes logo-light-reveal {
  from { opacity: 0; transform: scale(.86); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes site-piece-reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.site-entered.logo-landed > main {
  opacity: 1;
  transform: none;
  animation: none;
}

.button {
  color: #ffffff;
}

.button:hover {
  color: #ffffff;
  background: #00a65a;
  border-color: #00a65a;
}

.home-logo {
  padding: 22px 20px 20px;
  background: #ffffff;
  text-align: center;
}

.home-logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: min(620px, 78vw);
  margin: 0 auto;
}

.home-logo img {
  display: block;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.home-logo-primary {
  width: min(100%, 560px);
  max-height: 92px;
}

.home-logo-store {
  width: min(320px, 52vw);
  margin-bottom: -30px;
}

.header-inner {
  min-height: 0;
  flex-direction: column;
  justify-content: center;
}

.header-inner nav {
  order: 1;
  justify-content: center;
  width: 100%;
}

.header-inner .menu-toggle {
  order: 1;
}

.photo-carousel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--green-dark);
}

.photo-carousel::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(24, 21, 25, .86) 0%, rgba(24, 21, 25, .53) 48%, rgba(24, 21, 25, .08) 78%);
}

.carousel-slides,
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  z-index: -2;
}

.carousel-slide {
  object-fit: cover;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity .8s ease, transform 6s ease;
}

.carousel-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.carousel-status {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.carousel-status button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-status button.active {
  background: #ffffff;
}

.hero {
  background: linear-gradient(120deg, #282329 0%, #343034 55%, #008b4b 100%);
}

.about-photo {
  box-shadow: 24px 24px 0 var(--cream);
}

.about-photo img {
  width: 100%;
  min-height: 430px;
  max-height: 560px;
  object-fit: cover;
  object-position: center;
}

.adventure {
  background: var(--green-dark);
}

.adventure-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}

.adventure-photo img {
  width: 100%;
  min-height: 490px;
  max-height: 680px;
  object-fit: cover;
}

.adventure-copy {
  max-width: 520px;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
}

.photo-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.photo-gallery img:nth-child(1),
.photo-gallery img:nth-child(3) {
  object-position: center 62%;
}

.photo-gallery img:nth-child(2) {
  object-position: left bottom;
}

.photo-gallery img:nth-child(5) {
  object-position: 35% center;
}

.photo-gallery img:nth-child(6) {
  object-position: 70% center;
}

.heritage {
  background: var(--green);
}

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.copyright a {
  color: var(--green);
  font-weight: 800;
}

.copyright a:hover {
  color: #00a65a;
}

@media (max-width: 520px) {
  .home-logo {
    padding: 18px 14px 16px;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 850px) {
  .header-inner {
    position: relative;
    padding-top: 52px;
  }

  .header-inner .menu-toggle {
    position: absolute;
    top: 5px;
    right: 0;
  }

  .header-inner nav {
    top: 48px;
  }

  .home-logo img {
    max-height: 76px;
  }

  .home-logo-store {
    width: min(260px, 68vw);
    max-height: none;
    margin-bottom: -22px;
  }

  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .adventure-layout {
    grid-template-columns: 1fr;
  }

  .adventure-photo img {
    min-height: 360px;
  }

  .adventure-copy {
    max-width: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .carousel-slide {
    transition: none;
    transform: none;
  }

  .brand-intro {
    display: none;
  }

  body.site-entered > .site-header,
  body.site-entered > main,
  body.site-entered > footer {
    animation: none;
  }
}

@media (max-width: 520px) {
  footer {
    padding: 44px 0 18px;
    text-align: center;
  }

  .footer-grid {
    gap: 22px;
  }

  .footer-grid h3,
  .footer-grid h4 {
    margin: 0 0 7px;
  }

  .footer-grid p {
    margin: 5px 0;
  }

  .footer-grid a {
    margin: 3px 0;
  }

  .copyright {
    justify-content: center;
    gap: 4px;
    margin-top: 28px;
    padding-top: 16px;
    line-height: 1.55;
  }

  .copyright span {
    width: 100%;
  }

  .services {
    padding: 48px 0;
  }

  .services .eyebrow {
    margin-bottom: 7px;
    font-size: .67rem;
    letter-spacing: .1em;
  }

  .services .eyebrow span {
    margin-right: 7px;
    font-size: 1rem;
  }

  .services h2 {
    margin: 8px 0 12px;
    font-size: 2.15rem;
  }

  .services .narrow > p:last-child {
    margin-bottom: 0;
    line-height: 1.55;
  }

  .services .service-grid {
    gap: 10px;
    margin: 26px auto 24px;
  }

  .services .service-grid article {
    padding: 22px 20px;
  }

  .services .service-grid article > span {
    font-size: 1.35rem;
  }

  .services .service-grid h3 {
    margin: 5px 0 7px;
    font-size: 1.35rem;
  }

  .services .service-grid p {
    margin: 0;
    line-height: 1.5;
  }
}
