/* Home page specific elements */

/* Continuous gradient flow helpers for the home page */
.flow-forest-bamboo {
  color: var(--text-light);
  background: var(--gradient-section-green);
}

.flow-bamboo-cream {
  color: var(--text-light);
  background: var(--gradient-section-green);
}

.flow-forest-deep {
  color: var(--text-light);
  background: var(--gradient-section-black);
}

.flow-cream-gold {
  color: var(--text-light);
  background: var(--gradient-section-green);
}

.flow-green-soft {
  color: var(--text-light);
  background: var(--gradient-section-green);
}

.flow-forest-bamboo,
.flow-bamboo-cream,
.flow-forest-deep,
.flow-cream-gold,
.flow-green-soft {
  isolation: isolate;
  overflow: hidden;
}

.flow-forest-bamboo::after,
.flow-bamboo-cream::after,
.flow-forest-deep::after,
.flow-cream-gold::after,
.flow-green-soft::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 0;
  height: clamp(95px, 13vw, 210px);
  pointer-events: none;
}

.flow-forest-bamboo::after {
  background: var(--gradient-green-to-black);
}

.flow-bamboo-cream::after,
.flow-cream-gold::after {
  background: var(--gradient-green-to-black);
}

.flow-forest-deep::after {
  background: var(--gradient-black-to-green);
}

.flow-green-soft::after {
  background: var(--gradient-green-to-black);
}

#intro.flow-bamboo-cream::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 0;
  height: clamp(120px, 16vw, 250px);
  background: linear-gradient(180deg, #0b2117 0%, rgba(18, 51, 34, .82) 42%, rgba(29, 75, 49, 0) 100%);
  pointer-events: none;
}

.flow-forest-bamboo p,
.flow-forest-deep p {
  color: var(--text-muted);
}

.flow-bamboo-cream p,
.flow-cream-gold p,
.flow-green-soft p {
  color: var(--text-muted);
}

/* Home route rhythm: green, green, then alternating black and green. */
#main-content > .hero,
#main-content > .hero ~ section:nth-of-type(even) {
  color: var(--text-light);
  background: linear-gradient(
    180deg,
    #0b2117 0%,
    #123322 28%,
    #1d4b31 58%,
    #1d4b31 100%
  );
}

#main-content > .hero ~ section:nth-of-type(odd) {
  color: var(--text-light);
  background: linear-gradient(
    180deg,
    #050706 0%,
    #0a0d0b 32%,
    #111713 58%,
    #111713 100%
  );
}

#main-content > .hero ~ section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

#main-content > .hero ~ section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 0;
  height: clamp(220px, 24vw, 380px);
  pointer-events: none;
}

#main-content > .hero ~ section:nth-of-type(even)::after {
  background: linear-gradient(
    180deg,
    #1d4b31 0%,
    #19472f 17%,
    #143a28 35%,
    #0f2c20 53%,
    #0b1d17 71%,
    #080d0a 87%,
    #050706 100%
  );
}

#main-content > .hero ~ section:nth-of-type(odd)::after {
  background: linear-gradient(
    180deg,
    #111713 0%,
    #0a0d0b 18%,
    #050706 34%,
    #07120d 50%,
    #091a13 67%,
    #0b2117 84%,
    #0b2117 100%
  );
}

#main-content > .hero ~ section > * {
  position: relative;
  z-index: 1;
}

#main-content.home-route > .section {
  padding-block: clamp(76px, 9.3vw, 140px);
}

/* Keep the experiences CTA comfortably inside the shared transition. */
#main-content > .hero ~ section.experience-carousel {
  padding-bottom: clamp(90px, 7.5vw, 124px);
}

.signature-journeys .signature-journeys-controls + .button-row {
  position: relative;
  z-index: 2;
  isolation: isolate;
}

.signature-journeys .signature-journeys-controls + .button-row .btn {
  color: var(--text-light);
  background: rgba(5, 16, 11, .58);
  border-color: rgba(127, 168, 134, .5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .2);
}

.signature-journeys .signature-journeys-controls + .button-row .btn:hover {
  color: var(--text-light);
  background: rgba(29, 75, 49, .82);
  border-color: rgba(145, 177, 151, .72);
}

.hero {
  height: max(760px, 100svh);
  min-height: 680px;
  position: relative;
  display: grid;
  place-items: center;
  color: var(--text-light);
  overflow: hidden;
  background: var(--gradient-forest);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  z-index: 1;
  height: clamp(170px, 20vw, 320px);
  background: var(--bridge-green-to-green);
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--gradient-hero);
  pointer-events: none;
  animation: heroGradientFlow 18s ease-in-out infinite alternate;
}

@keyframes heroGradientFlow {
  0% { transform: scale(1) translateY(0); opacity: 1; }
  100% { transform: scale(1.04) translateY(-1.5%); opacity: .92; }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before { animation: none; }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
  animation: heroScale 18s ease-out both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 46%, rgba(29, 75, 49, .12) 0%, rgba(5, 7, 6, .52) 76%),
    linear-gradient(0deg, rgba(11, 33, 23, .86), rgba(18, 51, 34, .34) 62%, rgba(5, 7, 6, .56) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 32px, 760px);
  max-width: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 24px) 0 clamp(84px, 10vh, 118px);
  text-align: center;
}

.hero-logo {
  width: clamp(46px, 5vw, 62px);
  height: auto;
  margin-bottom: 14px;
  color: var(--sand);
  opacity: 0;
  animation: fadeUp .9s .15s forwards;
}

.hero .hero-title {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.8rem, 5.8vw, 5.25rem);
  letter-spacing: 0;
  line-height: .98;
  opacity: 0;
  animation: fadeUp 1s .3s forwards;
}

.hero .hero-tagline {
  max-width: 520px;
  margin: 18px 0 0;
  color: var(--text-muted);
  font-size: clamp(.95rem, 1.35vw, 1.12rem);
  opacity: 0;
  animation: fadeUp 1s .48s forwards;
}

.hero .hero-location {
  max-width: 520px;
  margin: 8px 0 0;
  color: rgba(238, 229, 214, 0.7);
  font-size: clamp(.78rem, 1.05vw, .94rem);
  opacity: 0;
  animation: fadeUp 1s .55s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  opacity: 0;
  animation: fadeUp 1s .62s forwards;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  right: 4vw;
  bottom: 48px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  padding: 0;
  color: var(--green-pale);
  background: transparent;
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
  transform: rotate(90deg);
  transform-origin: right bottom;
  animation: softPulse 2.4s 1.4s infinite;
}

.scroll-cue::after {
  content: "";
  width: 56px;
  height: 1px;
  background: currentColor;
}

/* Page heroes */
.page-hero {
  min-height: 520px;
  position: relative;
  display: grid;
  align-items: end;
  color: var(--text-light);
  overflow: hidden;
  background: var(--gradient-forest);
}

.page-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    var(--gradient-page-overlay),
    linear-gradient(180deg, rgba(11, 33, 23, 0) 0%, rgba(11, 33, 23, .12) 62%, rgba(5, 7, 6, .78) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 65px;
}

.page-hero h1 {
  max-width: 920px;
  margin: 12px 0 18px;
  font-size: clamp(3rem, 7vw, 6.8rem);
}

.page-hero p {
  max-width: 650px;
  color: var(--text-muted);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  font-size: .75rem;
  color: var(--green-pale);
}

.breadcrumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Rooted in Place scroll story */
#main-content > section.rooted-story[data-rooted-story] {
  min-height: 300svh;
  overflow: clip;
  color: var(--text-light);
  background:
    linear-gradient(180deg, rgba(5, 7, 6, .18), rgba(5, 7, 6, .48)),
    var(--gradient-section-green);
}

#main-content > .rooted-story > .rooted-story__sticky {
  position: sticky;
  top: 0;
}

.rooted-story__sticky {
  width: min(1480px, calc(100% - 48px));
  height: 100svh;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(300px, .82fr) minmax(230px, .82fr);
  gap: clamp(32px, 4vw, 72px);
  align-items: center;
  padding: clamp(88px, 9vh, 122px) 0 clamp(46px, 6vh, 80px);
  outline: none;
}

.rooted-story__sticky:focus-visible {
  outline: 1px solid rgba(184, 203, 189, .58);
  outline-offset: -8px;
}

.rooted-story__label {
  position: absolute;
  top: clamp(88px, 10vh, 120px);
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  white-space: nowrap;
}

.rooted-story__image {
  --rooted-right-offset: 0px;
  position: relative;
  margin: 0;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(184, 203, 189, .2);
  border-radius: 4px;
  background: var(--green-deep);
  box-shadow: 0 28px 72px rgba(0, 0, 0, .34);
  opacity: 1;
  transform: translate3d(0, var(--rooted-right-offset), 0);
  transition:
    opacity 560ms cubic-bezier(.22, .61, .36, 1),
    transform 760ms cubic-bezier(.22, .61, .36, 1);
}

.rooted-story__image--left {
  width: 100%;
  max-height: min(68svh, 650px);
  aspect-ratio: 4 / 5;
}

.rooted-story__image--right {
  --rooted-right-offset: clamp(48px, 8vh, 88px);
  width: 100%;
  max-height: min(55svh, 520px);
  aspect-ratio: 4 / 5;
}

.rooted-story__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.rooted-story__image > span {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 7, 6, .04), rgba(11, 33, 23, .22)),
    linear-gradient(90deg, rgba(5, 7, 6, .1), transparent 44%);
}

.rooted-story__content {
  position: relative;
  z-index: 2;
  min-width: 0;
  align-self: center;
  padding: 0 clamp(4px, 1vw, 16px) 68px;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 520ms ease,
    transform 700ms cubic-bezier(.22, .61, .36, 1);
}

.rooted-story__meta,
.rooted-story__content h2,
.rooted-story__content p {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition:
    opacity 500ms ease,
    transform 640ms cubic-bezier(.22, .61, .36, 1);
}

.rooted-story__content h2 {
  margin: 18px 0 24px;
  color: var(--text-light);
  font-size: 3.25rem;
  line-height: 1.04;
  transition-delay: 80ms;
}

.rooted-story__content p {
  max-width: 34rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.75;
  transition-delay: 160ms;
}

.rooted-story__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  align-items: center;
  color: var(--green-light);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: uppercase;
}

.rooted-story__meta span + span::before {
  content: "/";
  margin-right: 12px;
  color: rgba(184, 203, 189, .48);
}

.rooted-story__footer {
  position: absolute;
  left: 50%;
  bottom: clamp(14px, 2.5vh, 30px);
  z-index: 5;
  width: min(260px, 22vw);
  display: grid;
  gap: 16px;
  transform: translateX(-50%);
}

.rooted-story__footer .btn {
  width: 100%;
  min-height: 46px;
  padding-inline: 14px;
}

.rooted-story__progress {
  display: flex;
  justify-content: center;
  gap: 7px;
  color: rgba(243, 246, 242, .74);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: 0;
}

.rooted-story__sticky.is-exiting .rooted-story__image,
.rooted-story__sticky.is-exiting .rooted-story__content,
.rooted-story__sticky.is-entering .rooted-story__image,
.rooted-story__sticky.is-entering .rooted-story__content {
  opacity: 0;
  will-change: opacity, transform;
}

.rooted-story[data-direction="forward"] .rooted-story__sticky.is-exiting .rooted-story__image--left {
  transform: translate3d(-24px, -14px, 0);
}

.rooted-story[data-direction="forward"] .rooted-story__sticky.is-exiting .rooted-story__image--right {
  transform: translate3d(24px, calc(var(--rooted-right-offset) + 14px), 0);
}

.rooted-story[data-direction="backward"] .rooted-story__sticky.is-exiting .rooted-story__image--left {
  transform: translate3d(24px, 14px, 0);
}

.rooted-story[data-direction="backward"] .rooted-story__sticky.is-exiting .rooted-story__image--right {
  transform: translate3d(-24px, calc(var(--rooted-right-offset) - 14px), 0);
}

.rooted-story[data-direction="forward"] .rooted-story__sticky.is-entering .rooted-story__image--left {
  transform: translate3d(24px, 14px, 0);
}

.rooted-story[data-direction="forward"] .rooted-story__sticky.is-entering .rooted-story__image--right {
  transform: translate3d(-24px, calc(var(--rooted-right-offset) - 14px), 0);
}

.rooted-story[data-direction="backward"] .rooted-story__sticky.is-entering .rooted-story__image--left {
  transform: translate3d(-24px, -14px, 0);
}

.rooted-story[data-direction="backward"] .rooted-story__sticky.is-entering .rooted-story__image--right {
  transform: translate3d(24px, calc(var(--rooted-right-offset) + 14px), 0);
}

.rooted-story[data-direction="forward"] .rooted-story__sticky.is-exiting .rooted-story__content {
  transform: translate3d(0, -14px, 0);
}

.rooted-story[data-direction="forward"] .rooted-story__sticky.is-entering .rooted-story__content,
.rooted-story[data-direction="backward"] .rooted-story__sticky.is-exiting .rooted-story__content {
  transform: translate3d(0, 14px, 0);
}

.rooted-story[data-direction="backward"] .rooted-story__sticky.is-entering .rooted-story__content {
  transform: translate3d(0, -14px, 0);
}

.rooted-story__sticky.is-exiting .rooted-story__meta,
.rooted-story__sticky.is-exiting .rooted-story__content h2,
.rooted-story__sticky.is-exiting .rooted-story__content p,
.rooted-story__sticky.is-entering .rooted-story__meta,
.rooted-story__sticky.is-entering .rooted-story__content h2,
.rooted-story__sticky.is-entering .rooted-story__content p {
  opacity: 0;
  transform: translate3d(0, 12px, 0);
  transition-delay: 0s;
}

.rooted-story__sticky:not(.is-exiting):not(.is-entering) .rooted-story__content h2 {
  transition-delay: 80ms;
}

.rooted-story__sticky:not(.is-exiting):not(.is-entering) .rooted-story__content p {
  transition-delay: 160ms;
}

.rooted-story:not(.is-ready) .rooted-story__progress {
  opacity: .5;
}

@media (max-width: 1023px) {
  .rooted-story__sticky {
    width: calc(100% - 32px);
    grid-template-columns: minmax(220px, 1fr) minmax(240px, .9fr) minmax(190px, .78fr);
    gap: 28px;
    padding-top: 92px;
  }

  .rooted-story__label {
    top: 84px;
  }

  .rooted-story__image--left {
    max-height: 58svh;
  }

  .rooted-story__image--right {
    --rooted-right-offset: 48px;
    max-height: 47svh;
  }

  .rooted-story__content {
    padding: 0 4px 58px;
  }

  .rooted-story__content h2 {
    margin-block: 15px 20px;
    font-size: 2.45rem;
  }

  .rooted-story__content p {
    font-size: .94rem;
    line-height: 1.65;
  }

  .rooted-story__footer {
    width: 218px;
  }
}

@media (max-width: 767px) {
  #main-content > section.rooted-story[data-rooted-story] {
    min-height: 300dvh;
  }

  .rooted-story__sticky {
    height: 100dvh;
    width: calc(100% - 32px);
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    gap: clamp(16px, 3.8vw, 22px);
    align-content: center;
    padding: calc(var(--header-height) + 34px) 0 84px;
  }

  .rooted-story__label {
    top: calc(var(--header-height) + 14px);
  }

  .rooted-story__image--left {
    width: min(78vw, 350px);
    max-height: none;
    aspect-ratio: 4 / 3;
  }

  .rooted-story__image--right {
    --rooted-right-offset: 0px;
    width: min(64vw, 286px);
    max-height: none;
    justify-self: end;
    aspect-ratio: 16 / 10;
  }

  .rooted-story__content {
    width: min(100%, 34rem);
    padding: 4px 2px;
  }

  .rooted-story__content h2 {
    margin: 10px 0 12px;
    font-size: 2.05rem;
    line-height: 1.08;
  }

  .rooted-story__content p {
    font-size: .91rem;
    line-height: 1.55;
  }

  .rooted-story__footer {
    left: 0;
    bottom: 18px;
    width: 100%;
    grid-template-columns: minmax(82px, .55fr) minmax(160px, 1fr);
    gap: 14px;
    align-items: center;
    transform: none;
  }

  .rooted-story__footer .btn {
    min-height: 46px;
    padding: 10px 12px;
    font-size: .68rem;
  }
}

@media (max-width: 767px) and (max-height: 760px) {
  .rooted-story__label {
    top: calc(var(--header-height) + 8px);
  }

  .rooted-story__sticky {
    gap: 10px;
    padding: calc(var(--header-height) + 22px) 0 70px;
  }

  .rooted-story__image--left {
    width: min(80vw, 330px);
    aspect-ratio: 16 / 10;
  }

  .rooted-story__image--right {
    width: min(58vw, 250px);
  }

  .rooted-story__content h2 {
    margin: 8px 0 9px;
    font-size: 1.75rem;
    line-height: 1.05;
  }

  .rooted-story__content p {
    font-size: .82rem;
    line-height: 1.42;
  }

  .rooted-story__footer {
    bottom: 12px;
  }
}

@media (max-width: 767px) and (max-height: 620px) {
  .rooted-story__label {
    top: calc(var(--header-height) + 2px);
  }

  .rooted-story__sticky {
    gap: 6px;
    padding: calc(var(--header-height) + 12px) 0 58px;
  }

  .rooted-story__image--left {
    width: min(70vw, 280px);
    aspect-ratio: 16 / 10;
  }

  .rooted-story__image--right {
    width: min(52vw, 220px);
  }

  .rooted-story__content h2 {
    margin: 6px 0 7px;
    font-size: 1.5rem;
  }

  .rooted-story__content p {
    font-size: .75rem;
    line-height: 1.35;
  }

  .rooted-story__meta {
    font-size: .64rem;
  }

  .rooted-story__footer {
    bottom: 7px;
  }

  .rooted-story__footer .btn {
    min-height: 44px;
    font-size: .64rem;
  }
}

@media (min-width: 768px) and (max-height: 700px) {
  .rooted-story__sticky {
    padding: 78px 0 38px;
  }

  .rooted-story__label {
    top: 74px;
  }

  .rooted-story__image--left {
    max-height: 54svh;
  }

  .rooted-story__image--right {
    --rooted-right-offset: 32px;
    max-height: 43svh;
  }

  .rooted-story__content h2 {
    margin-block: 12px 16px;
    font-size: 2.15rem;
  }

  .rooted-story__content p {
    font-size: .86rem;
    line-height: 1.5;
  }

  .rooted-story__footer {
    bottom: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rooted-story__image,
  .rooted-story__content,
  .rooted-story__meta,
  .rooted-story__content h2,
  .rooted-story__content p {
    transition: none;
  }
}

/* Instagram profile and latest posts */
.instagram-section {
  color: var(--text-light);
  background: #090d11;
}

#main-content.home-route > section.instagram-section {
  padding-block: clamp(56px, 6.8vw, 104px);
  background: #090d11;
}

.instagram-profile {
  width: min(92%, 780px);
  margin-inline: auto;
  display: grid;
  gap: clamp(26px, 3vw, 36px);
}

.instagram-profile-main {
  display: grid;
  grid-template-columns: 184px minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  column-gap: clamp(30px, 4vw, 50px);
  row-gap: 14px;
  align-items: start;
}

.instagram-profile-identity,
.instagram-stats,
.instagram-profile-copy {
  grid-column: 2;
  min-width: 0;
}

.instagram-profile-identity {
  display: grid;
  gap: 5px;
}

.instagram-profile-topline {
  display: flex;
  min-width: 0;
  gap: 9px;
  align-items: center;
}

.instagram-avatar {
  grid-column: 1;
  grid-row: 1 / 4;
  width: 184px;
  height: 184px;
  padding: 16px;
  object-fit: contain;
  border: 3px solid rgba(197, 159, 91, .82);
  border-radius: 50%;
  background: #10161b;
  box-shadow: 0 16px 42px rgba(0, 0, 0, .32);
}

.instagram-profile h2 {
  margin: 0;
  overflow-wrap: anywhere;
  color: var(--text-light);
  font-family: var(--sans);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 700;
  line-height: 1.08;
}

.instagram-profile-name {
  display: block;
  color: var(--text-light);
  font-size: .9rem;
  font-weight: 500;
}

.instagram-more {
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  display: grid;
  place-items: center;
  color: var(--text-light);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}

.instagram-more:focus-visible {
  outline: 2px solid #6571ff;
  outline-offset: 2px;
}

.instagram-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px clamp(20px, 3vw, 30px);
  margin: 0;
}

.instagram-stats div {
  display: flex;
  gap: 5px;
  align-items: baseline;
}

.instagram-stats dt,
.instagram-stats dd {
  margin: 0;
  color: var(--text-light);
  font-size: .88rem;
}

.instagram-stats dd {
  font-weight: 700;
}

.instagram-profile-copy {
  align-self: end;
}

.instagram-profile-copy > span {
  display: block;
  margin-bottom: 6px;
  color: rgba(243, 246, 242, .64);
  font-size: .86rem;
}

.instagram-bio {
  max-width: 34rem;
  margin: 0;
  color: var(--text-light);
  font-size: .9rem;
  line-height: 1.4;
}

#main-content.home-route > .instagram-section .instagram-bio {
  color: var(--text-light);
}

.instagram-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 54px;
  gap: 9px;
}

.instagram-actions .btn {
  width: 100%;
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.instagram-actions .btn-primary {
  color: #fff;
  background: #5060f5;
  box-shadow: none;
}

.instagram-actions .btn-primary:hover,
.instagram-actions .btn-primary:focus-visible {
  color: #fff;
  background: #6170ff;
}

.instagram-actions .btn-outline,
.instagram-profile-action {
  color: #fff;
  background: #242a30;
  border-color: #242a30;
}

.instagram-actions .btn-outline:hover,
.instagram-actions .btn-outline:focus-visible,
.instagram-profile-action:hover,
.instagram-profile-action:focus-visible {
  color: #fff;
  background: #30373e;
  border-color: #30373e;
}

.instagram-profile-action {
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 14px;
}

.instagram-profile-action svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instagram-actions .btn:disabled {
  cursor: not-allowed;
  opacity: .48;
}

.instagram-post-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(92%, 780px);
  gap: clamp(6px, 1vw, 14px);
  margin-top: clamp(28px, 3.5vw, 44px);
  margin-inline: auto;
}

.instagram-post {
  position: relative;
  min-width: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(18, 59, 41, .16);
  border-radius: 4px;
  background: var(--green-deep);
}

.instagram-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.instagram-post-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(5, 16, 11, .62));
  pointer-events: none;
}

.instagram-post-indicator {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: var(--white);
  font-size: .66rem;
  font-weight: 600;
  text-transform: uppercase;
}

a.instagram-post:hover img,
a.instagram-post:focus-visible img {
  transform: scale(1.025);
}

a.instagram-post:focus-visible {
  outline: 2px solid var(--green-mid);
  outline-offset: 3px;
}

@media (max-width: 1023px) {
  .instagram-profile-main {
    grid-template-columns: 164px minmax(0, 1fr);
    column-gap: 30px;
  }

  .instagram-avatar {
    width: 164px;
    height: 164px;
  }
}

@media (max-width: 767px) {
  #main-content.home-route > section.instagram-section {
    padding-block: 60px;
  }

  .instagram-profile {
    gap: 20px;
  }

  .instagram-profile-main {
    grid-template-columns: 74px minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: 14px;
    row-gap: 15px;
  }

  .instagram-avatar {
    grid-row: 1;
    width: 74px;
    height: 74px;
    padding: 7px;
    border-width: 2px;
  }

  .instagram-profile-identity {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
  }

  .instagram-profile h2 {
    font-size: clamp(1.2rem, 6.4vw, 1.6rem);
  }

  .instagram-profile-name {
    font-size: .78rem;
  }

  .instagram-stats,
  .instagram-profile-copy {
    grid-column: 1 / -1;
  }

  .instagram-stats {
    grid-row: 2;
    justify-content: space-between;
    gap: 8px;
  }

  .instagram-stats dt,
  .instagram-stats dd {
    font-size: .76rem;
  }

  .instagram-profile-copy {
    grid-row: 3;
  }

  .instagram-profile-copy > span {
    font-size: .78rem;
  }

  .instagram-bio {
    font-size: .84rem;
  }

  .instagram-actions {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px;
    gap: 7px;
  }

  .instagram-actions .btn {
    height: 48px;
    min-height: 48px;
    padding-inline: 10px;
    border-radius: 11px;
    font-size: .78rem;
  }

  .instagram-profile-action {
    width: 48px;
    height: 48px;
    border-radius: 11px;
  }

  .instagram-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
  }
}

/* Nearby attractions */
.nearby-attractions {
  background: var(--gradient-section-black);
}

.nearby-attractions-heading {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .65fr);
  align-items: end;
  gap: clamp(28px, 6vw, 88px);
  max-width: none;
  margin-bottom: clamp(32px, 4.5vw, 58px);
}

.nearby-attractions-heading h2 {
  margin: 14px 0 0;
}

.nearby-attractions-heading p {
  max-width: 560px;
  margin: 0;
  justify-self: end;
  color: var(--text-muted);
}

.nearby-attractions-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows:
    repeat(2, clamp(210px, 16vw, 245px))
    clamp(205px, 15vw, 225px);
  gap: clamp(12px, 1.4vw, 20px);
}

.nearby-attraction-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(127, 168, 134, .24);
  border-radius: 6px;
  background: var(--black-soft);
  color: var(--text-light);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .25);
  cursor: pointer;
  text-decoration: none;
}

.nearby-attractions-grid > .nearby-attraction-card {
  transition:
    opacity .65s,
    transform .65s,
    border-color .35s ease,
    box-shadow .35s ease;
}

.nearby-attraction-card:nth-child(1) {
  grid-column: 1 / 7;
  grid-row: 1 / 3;
}

.nearby-attraction-card:nth-child(2) {
  grid-column: 7 / 10;
  grid-row: 1;
}

.nearby-attraction-card:nth-child(3) {
  grid-column: 10 / 13;
  grid-row: 1;
}

.nearby-attraction-card:nth-child(4) {
  grid-column: 7 / 10;
  grid-row: 2;
}

.nearby-attraction-card:nth-child(5) {
  grid-column: 10 / 13;
  grid-row: 2;
}

.nearby-attraction-card:nth-child(6) {
  grid-column: 1 / 5;
  grid-row: 3;
}

.nearby-attraction-card:nth-child(7) {
  grid-column: 5 / 13;
  grid-row: 3;
}

.nearby-attraction-media,
.nearby-attraction-shade {
  position: absolute;
  inset: 0;
  display: block;
}

.nearby-attraction-media {
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--black-soft);
}

.nearby-attraction-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  opacity: 1;
  visibility: visible;
  transition: transform .65s cubic-bezier(.22, .61, .36, 1);
}

.nearby-attraction-card[data-attraction-slug="matheran-hill-station"] img {
  object-position: 50% 58%;
}

.nearby-attraction-card[data-attraction-slug="peb-fort-vikatgad"] img {
  object-position: 50% 36%;
}

.nearby-attraction-card[data-attraction-slug="gadeshwar-dam"] img {
  object-position: 50% 62%;
}

.nearby-attraction-card[data-attraction-slug="neral-matheran-toy-train"] img {
  object-position: 55% 50%;
}

.nearby-attraction-card[data-attraction-slug="saguna-baug"] img {
  object-position: 50% 66%;
}

.nearby-attraction-shade {
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 7, 6, .08) 5%,
      rgba(5, 7, 6, .22) 34%,
      rgba(5, 7, 6, .92) 100%
    );
  pointer-events: none;
}

.nearby-attraction-content {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(16px, 1.7vw, 24px);
}

.nearby-attraction-card-featured .nearby-attraction-content {
  max-width: 610px;
  padding: clamp(24px, 3vw, 40px);
}

.nearby-attraction-category {
  margin-bottom: 8px;
  color: var(--green-pale);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.nearby-attraction-card h3 {
  margin: 0 0 8px;
  color: var(--text-light);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.15;
}

.nearby-attraction-card-featured h3 {
  font-size: clamp(1.75rem, 3vw, 2.8rem);
}

.nearby-attraction-description {
  display: block;
  color: rgba(243, 246, 242, .78);
  font-size: clamp(.74rem, .84vw, .86rem);
  line-height: 1.48;
}

.nearby-attraction-card-featured .nearby-attraction-description {
  max-width: 520px;
  font-size: clamp(.88rem, 1.05vw, 1rem);
}

.nearby-attraction-action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 8px;
  margin-top: 6px;
  color: var(--green-pale);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nearby-attraction-action svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .3s ease;
}

.nearby-attraction-card:hover,
.nearby-attraction-card:focus-visible {
  border-color: rgba(184, 203, 189, .64);
  box-shadow: 0 24px 52px rgba(0, 0, 0, .4);
}

.nearby-attraction-card:hover .nearby-attraction-media img,
.nearby-attraction-card:focus-visible .nearby-attraction-media img {
  transform: scale(1.045);
}

.nearby-attraction-card:hover .nearby-attraction-action svg,
.nearby-attraction-card:focus-visible .nearby-attraction-action svg {
  transform: translateX(4px);
}

.nearby-attraction-card:focus-visible {
  outline: 2px solid var(--green-light);
  outline-offset: 4px;
}

/* Intro collage */
.intro-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(44px, 8vw, 120px);
  align-items: center;
}

.intro-copy h2 {
  margin: 18px 0 28px;
}

.intro-copy .button-row {
  margin-top: 32px;
}

.collage {
  min-height: 650px;
  position: relative;
}

.collage .image-main {
  width: 76%;
  height: 540px;
  margin-left: auto;
  object-fit: cover;
}

.collage .image-small {
  width: 43%;
  height: 290px;
  position: absolute;
  left: 0;
  bottom: 0;
  object-fit: cover;
  border: 12px solid var(--black-primary);
}

.counters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 80px;
  border-top: 1px solid var(--line);
  padding-top: 35px;
}

.counter strong {
  display: block;
  color: var(--green-light);
  font: 400 clamp(2.2rem, 4vw, 4rem)/1 var(--serif);
}

.counter span {
  color: var(--muted);
  font-size: .78rem;
}

.nearby-attractions-cta {
  justify-content: center;
  margin-top: clamp(30px, 5vw, 52px);
}
