/* Aroha's living layer: Natura germination, botanical depth and a scroll-driven photo world. */
.aroha-welcome {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: var(--ivory);
  color: var(--forest);
  overflow: hidden;
  transition:
    opacity 0.45s var(--ease),
    visibility 0.45s;
  animation: welcome-failsafe 0.4s ease 3.4s forwards;
}
.welcome-botany {
  width: 260px;
  height: 225px;
  position: relative;
  z-index: 1;
}
.welcome-botany svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.welcome-botany :is(.seed-root, .seed-shoot, .seed-leaf-left, .seed-leaf-right) {
  /* Seed first, even before the animation module reaches a slow connection. */
  opacity: 0;
}
.aroha-welcome > .eyebrow {
  margin-top: 18px;
  font-size: 11px;
  letter-spacing: 0.22em;
}
.welcome-title {
  font: 400 clamp(28px, 3.2vw, 45px)/1.25 Lora;
  letter-spacing: -0.035em;
  margin-top: 18px;
}
.aroha-welcome > [lang="kn"] {
  font: 28px Kannada;
  margin-top: 24px;
  color: var(--leaf);
}
.welcome-orbit {
  position: absolute;
  width: min(65vw, 670px);
  height: min(65vw, 670px);
  border: 1px solid #163e2d10;
  border-radius: 50%;
  transform: rotateX(30deg);
}
.welcome-orbit:before,
.welcome-orbit:after {
  content: "";
  position: absolute;
  inset: 10%;
  border: 1px solid #163e2d0a;
  border-radius: 50%;
}
.welcome-orbit:after {
  inset: -10%;
}
.aroha-welcome > button {
  position: absolute;
  bottom: 35px;
  border: 0;
  background: none;
  border-bottom: 1px solid #163e2d44;
  padding: 10px 0;
  font: 16px Source;
  color: var(--forest);
  min-height: 44px;
}
.aroha-welcome.is-finished {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@keyframes welcome-failsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
}
.hero-line > span {
  display: block;
}
.welcome-complete .living-motion .hero-line > span {
  animation: hero-unfurl 1s var(--ease) both;
}
.welcome-complete .living-motion .hero-line:nth-child(2) > span {
  animation-delay: 0.13s;
}
@keyframes hero-unfurl {
  from {
    transform: translate3d(0, 105%, 0) rotate(3deg);
    opacity: 0.35;
  }
  to {
    transform: translate3d(0, 0, 0) rotate(0);
    opacity: 1;
  }
}
.field-hero h1 {
  font-size: clamp(60px, 6.5vw, 130px);
}
.field-hero-content {
  left: 7vw;
  top: 24%;
  max-width: 55vw;
}
.field-hero-content > p:not(.eyebrow) {
  max-width: 460px;
}
.field-hero-shade {
  background:
    linear-gradient(90deg, #071e18e0 0%, #0a2218ab 42%, #0a221835 100%),
    linear-gradient(0deg, #0a211acc, transparent 55%, #0a211a55);
}
.hero-garden {
  position: absolute;
  right: 2vw;
  top: 9%;
  width: 51vw;
  height: 82%;
  pointer-events: none;
  z-index: 1;
  perspective: 1500px;
}
.hero-photo-pod {
  position: absolute;
  left: 13%;
  right: 7%;
  top: 5%;
  bottom: 7%;
  border-radius: 47% 47% 12% 44% / 37% 45% 18% 46%;
  overflow: hidden;
  box-shadow: 0 25px 80px #001e1880;
  border: 1px solid #ffffff80;
  transform: rotate(4deg);
  isolation: isolate;
}
.hero-pod-inner {
  width: 100%;
  height: 100%;
  transform-origin: 50% 60%;
  will-change: transform;
}
.hero-pod-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
  transform: scale(1.06);
}
.hero-photo-pod:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #05271b75, transparent 45%);
  pointer-events: none;
}
.hero-pod-caption {
  position: absolute;
  bottom: 30px;
  left: 15%;
  right: 10%;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
  text-align: center;
}
.hero-garden-orbit {
  position: absolute;
  inset: -3% 2%;
  border: 1px solid #eee7c940;
  border-radius: 50%;
  transform: rotate(-15deg);
  will-change: transform;
}
.hero-garden-orbit > span:first-child {
  position: absolute;
  inset: 5% -6%;
  border: 1px solid #eee7c926;
  border-radius: 50%;
  transform: rotate(22deg);
}
.hero-garden-orbit > span:nth-child(2) {
  position: absolute;
  inset: 12% -14%;
  border: 1px solid #eee7c91a;
  border-radius: 50%;
  transform: rotate(-25deg);
}
.hero-garden-orbit > i {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e2c481;
  top: 22%;
  left: 7%;
  box-shadow: 0 0 0 8px #e2c48115;
}
.hero-frond {
  position: absolute;
  z-index: 4;
  will-change: transform;
}
.hero-frond img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: 90% 8%;
}
.hero-frond-right {
  right: -13%;
  top: -13%;
  width: 98%;
  height: 60%;
  transform-origin: right top;
}
.hero-frond-left {
  left: -30%;
  bottom: -15%;
  width: 72%;
  height: 45%;
  transform-origin: left bottom;
}
.hero-frond-left img {
  transform: rotate(175deg);
}
.living-motion .field-hero.is-visible .hero-frond-right img {
  animation: frond-breathe 9s ease-in-out infinite alternate;
}
.living-motion .field-hero.is-visible .hero-frond-left img {
  animation: frond-breathe-left 11s ease-in-out infinite alternate;
}
.botany-paused .hero-frond img {
  animation-play-state: paused !important;
}
@keyframes frond-breathe {
  from {
    transform: rotate(-2deg) translateY(0);
  }
  to {
    transform: rotate(3deg) translateY(9px);
  }
}
@keyframes frond-breathe-left {
  from {
    transform: rotate(172deg);
  }
  to {
    transform: rotate(177deg) translateY(8px);
  }
}
.hero-garden-seed {
  position: absolute;
  right: 0;
  bottom: 8%;
  width: 155px;
  height: 155px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff55;
  border-radius: 50%;
  background: #122d2180;
  backdrop-filter: blur(8px);
  color: #ede6cf;
  z-index: 5;
  gap: 7px;
  transform: rotate(8deg);
}
.hero-garden-seed svg {
  width: 52px;
  height: 60px;
  flex-shrink: 0;
}
.hero-garden-seed > span {
  font: 400 31px/1.1 Lora;
  max-width: 80px;
}
.hero-garden-seed small {
  display: block;
  font: 11px/1.35 Source;
  margin-top: 7px;
  letter-spacing: 0;
}
.field-hero-content,
.field-hero-foot {
  z-index: 3;
}
/* The carousel is a concave photographic room, driven by the same native scroll as the route. */
.tour-orbit-stage {
  display: none;
  position: absolute;
  left: 47vw;
  right: -8vw;
  top: 13%;
  height: 64%;
  z-index: 2;
  perspective: 1500px;
  perspective-origin: 50% 48%;
  pointer-events: none;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 13%,
    #000 98%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 13%,
    #000 98%,
    transparent
  );
}
.living-motion .tour-orbit-stage {
  display: block;
}
.tour-orbit-scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}
.tour-orbit-panel {
  --panel-width: min(39vw, 960px);
  --panel-height: min(57vh, 650px);
  position: absolute;
  left: 50%;
  top: 50%;
  width: var(--panel-width);
  height: var(--panel-height);
  margin-left: calc(var(--panel-width) / -2);
  margin-top: calc(var(--panel-height) / -2);
  transform-origin: center;
  backface-visibility: hidden;
  will-change: transform, opacity;
  visibility: hidden;
}
.orbit-panel-image {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 43% 43% 3% 3% / 25% 25% 3% 3%;
  border: 1px solid #ffffff55;
  background: #123425;
  box-shadow: 0 25px 60px #001b1670;
}
.orbit-panel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tour-orbit-panel:not(.is-active) .orbit-panel-image {
  filter: brightness(0.58) saturate(0.8);
}
.orbit-panel-caption {
  position: absolute;
  bottom: -32px;
  left: 8px;
  font: 500 14px/1.3 Source;
  color: #e8e5ce;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.tour-orbit-floor {
  position: absolute;
  bottom: -12%;
  left: -30%;
  right: -25%;
  height: 23%;
  background: radial-gradient(ellipse at 50% 100%, #0d2b1ee0, transparent 70%);
  pointer-events: none;
}
.tour-orbit-caption {
  position: absolute;
  top: -12px;
  left: 22%;
  font: 10px Source;
  letter-spacing: 0.2em;
  color: #e6e2c0a0;
}
.tour-orbit-panel .tour-film-frame,
.tour-orbit-panel .tour-film-frame.is-portrait {
  position: absolute;
  inset: 0;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  border-radius: 43% 43% 3% 3% / 25% 25% 3% 3%;
  overflow: hidden;
  box-shadow: none;
  transform: none;
  border: 1px solid #ffffff66;
  transition: opacity 0.45s ease-out;
  z-index: 2;
}
.tour-orbit-panel .tour-film-frame video {
  object-fit: contain;
  background: #102b21;
}
.tour-orbit-panel .film-caption {
  display: none;
}
.living-motion .tour-location-card {
  display: none;
}
.living-motion .tour-scene-image {
  filter: brightness(0.78);
}
.tour-reading {
  z-index: 4;
}
.tour-stop-nav,
.tour-top,
.tour-bottom {
  z-index: 5;
}
/* A botanical explanation, with actual photographs cut into revolving petals. */
.nature-story {
  position: relative;
  padding: 100px 7vw 110px;
  max-width: 1900px;
  margin: auto;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px 5vw;
}
.nature-story-heading {
  padding-top: 65px;
  align-self: start;
  max-width: 580px;
}
.nature-story-heading > .eyebrow {
  font-size: 12px;
  letter-spacing: 0.15em;
}
.nature-story h2 {
  font-size: clamp(42px, 4.5vw, 78px);
  line-height: 1.14;
  letter-spacing: -0.045em;
  margin: 28px 0;
}
.nature-story-heading > p:last-child {
  font-size: 21px;
  line-height: 1.65;
  max-width: 470px;
  color: var(--muted);
}
.nature-growing-world {
  height: 650px;
  position: relative;
  align-self: center;
  isolation: isolate;
}
.nature-plant {
  position: absolute;
  inset: 0;
  z-index: 3;
  transform-origin: 50% 74%;
  pointer-events: none;
  will-change: transform;
}
.nature-plant img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nature-contour {
  position: absolute;
  inset: 10% 0;
  z-index: -2;
}
.nature-contour > span {
  position: absolute;
  inset: 0;
  border: 1px solid #69844e30;
  border-radius: 48% 55% 40% 50%;
  transform: rotate(-18deg);
}
.nature-contour > span:nth-child(2) {
  inset: 8% -6%;
  transform: rotate(23deg);
}
.nature-contour > span:nth-child(3) {
  inset: -5% 14%;
  transform: rotate(-35deg);
}
.nature-photo-petal {
  position: absolute;
  left: 50%;
  top: 45%;
  width: 170px;
  height: 210px;
  margin-left: -85px;
  margin-top: -105px;
  overflow: hidden;
  border-radius: 65% 0 65% 0;
  z-index: 1;
  border: 5px solid var(--ivory);
  box-shadow: 0 12px 28px #27432715;
  will-change: transform;
}
.nature-photo-petal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.petal-one {
  transform: translate(-220px, 70px) rotate(-18deg);
}
.petal-two {
  transform: translate(200px, 70px) rotate(20deg);
}
.petal-three {
  transform: translate(150px, -140px) rotate(16deg);
}
.nature-art-caption {
  position: absolute;
  bottom: -7px;
  width: 100%;
  text-align: center;
  font: 11px Source;
  letter-spacing: 0.16em;
  color: #667354;
  z-index: 4;
}
.nature-connecting-line {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: -1;
}
.nature-connecting-line path {
  fill: none;
  stroke: #9aab7c;
  stroke-width: 1;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: 0.6;
}
.nature-facts {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 55px;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  margin-top: 20px;
}
.nature-fact-number {
  font: 400 68px/1 Lora;
  letter-spacing: -0.05em;
  color: var(--forest);
}
.nature-facts h3 {
  font: 500 23px/1.35 Source;
  letter-spacing: 0;
  margin: 20px 0 12px;
}
.nature-facts p {
  font-size: 18px;
  line-height: 1.65;
  color: var(--muted);
  max-width: 400px;
}
.field-stay-photo {
  border-radius: 45% 45% 0 0 / 30% 30% 0 0;
}
.field-experience-photo {
  border-radius: 48% 48% 2% 2% / 30% 30% 2% 2%;
  overflow: hidden;
}
.field-journal-grid figure:nth-child(6n + 2) button {
  border-radius: 46% 46% 2% 2% / 25% 25% 2% 2%;
}
.field-journal-grid figure:nth-child(6n + 5) button {
  border-radius: 55% 0 55% 0;
}
@media (max-width: 1100px) {
  .hero-garden {
    right: -5vw;
    width: 58vw;
    top: 16%;
    height: 70%;
  }
  .hero-photo-pod {
    left: 19%;
    right: 0;
  }
  .hero-garden-seed {
    width: 110px;
    height: 110px;
    right: 7%;
    bottom: 0;
  }
  .hero-garden-seed svg {
    width: 35px;
  }
  .hero-garden-seed > span {
    font-size: 24px;
  }
  .hero-garden-seed small {
    font-size: 9px;
  }
  .field-hero-content {
    max-width: 55vw;
  }
  .field-hero h1 {
    font-size: clamp(54px, 6.3vw, 80px);
  }
  .field-hero-content > p:not(.eyebrow) {
    font-size: 18px;
    max-width: 350px;
  }
  .hero-pod-caption {
    font-size: 9px;
  }
  .nature-story {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .nature-story-heading {
    padding-top: 45px;
  }
  .nature-story h2 {
    font-size: 45px;
  }
  .nature-story-heading > p:last-child {
    font-size: 18px;
  }
  .nature-growing-world {
    height: 500px;
  }
  .nature-photo-petal {
    width: 120px;
    height: 155px;
    margin-left: -60px;
    margin-top: -77px;
  }
  .nature-facts {
    gap: 30px;
  }
  .nature-fact-number {
    font-size: 54px;
  }
  .nature-facts h3 {
    font-size: 20px;
  }
  .nature-facts p {
    font-size: 17px;
  }
}
@media (max-width: 700px) {
  .welcome-botany {
    width: 230px;
    height: 205px;
  }
  .welcome-orbit {
    width: 85vw;
    height: 85vw;
  }
  .welcome-title {
    font-size: 30px;
  }
  .aroha-welcome > .eyebrow {
    font-size: 10px;
  }
  .aroha-welcome > [lang="kn"] {
    font-size: 24px;
  }
  .aroha-welcome > button {
    bottom: 25px;
    font-size: 14px;
  }
  .field-hero-content {
    left: 7vw;
    right: 7vw;
    top: 24%;
    max-width: none;
  }
  .field-hero h1 {
    font-size: clamp(49px, 12.5vw, 78px);
  }
  .field-hero-content > p:not(.eyebrow) {
    font-size: 17px;
    max-width: 380px;
  }
  .hero-garden {
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
  }
  .hero-photo-pod,
  .hero-garden-orbit,
  .hero-garden-seed {
    display: none;
  }
  .hero-frond-right {
    top: -2%;
    right: -50%;
    width: 120%;
    height: 35%;
    opacity: 0.85;
  }
  .hero-frond-left {
    left: -39%;
    bottom: -1%;
    width: 97%;
    height: 30%;
    opacity: 0.6;
  }
  .field-hero-shade {
    background:
      linear-gradient(90deg, #0a211bba, #0a211b33),
      linear-gradient(0deg, #09241be0, transparent 80%);
  }
  .field-hero-visual {
    border-radius: 0 0 17vw 0;
    overflow: hidden;
  }
  .field-hero-foot {
    right: 7vw;
  }
  .field-hero-content,
  .field-hero-foot {
    z-index: 3;
  }
  .tour-orbit-stage {
    left: 0;
    right: 0;
    top: 112px;
    height: 34svh;
    perspective: 850px;
    mask-image: linear-gradient(
      90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent
    );
    -webkit-mask-image: linear-gradient(
      90deg,
      transparent,
      #000 8%,
      #000 92%,
      transparent
    );
  }
  .tour-orbit-panel {
    --panel-width: 72vw;
    --panel-height: 31svh;
  }
  .tour-orbit-caption {
    font-size: 7px;
    top: -22px;
    left: 18%;
    letter-spacing: 0.14em;
  }
  .orbit-panel-caption {
    font-size: 10px;
    bottom: -22px;
    left: 8px;
    letter-spacing: 0.05em;
  }
  .tour-orbit-floor {
    display: none;
  }
  .living-motion .field-tour-stage .tour-reading {
    bottom: 160px;
  }
  .living-motion .field-tour-stage .tour-reading h2 {
    font-size: 34px;
    max-width: 100%;
  }
  .living-motion .field-tour-stage .tour-reading .eyebrow {
    font-size: 10px;
    margin-bottom: 10px;
  }
  .living-motion .field-tour-stage .tour-reading > p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 10px;
  }
  .living-motion .field-tour-stage .tour-reading-actions {
    margin-top: 8px;
  }
  .nature-story {
    padding: 65px 7vw 70px;
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .nature-story-heading {
    padding: 0;
    max-width: 100%;
  }
  .nature-story-heading > .eyebrow {
    font-size: 10px;
  }
  .nature-story h2 {
    font-size: 40px;
    margin: 22px 0;
  }
  .nature-story-heading > p:last-child {
    font-size: 17px;
  }
  .nature-growing-world {
    height: 430px;
    width: 100%;
  }
  .nature-photo-petal {
    width: 94px;
    height: 125px;
    margin-left: -47px;
    margin-top: -62px;
    border-width: 3px;
  }
  .nature-contour {
    inset: 10% 0;
  }
  .nature-art-caption {
    font-size: 10px;
    letter-spacing: 0.08em;
  }
  .nature-connecting-line {
    display: none;
  }
  .nature-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 28px;
    margin-top: 25px;
  }
  .nature-facts article {
    display: grid;
    grid-template-columns: minmax(105px, 0.85fr) minmax(0, 1.4fr);
    column-gap: 16px;
    align-items: start;
  }
  .nature-fact-number {
    font-size: clamp(30px, 8.8vw, 36px);
    overflow-wrap: anywhere;
    grid-row: 1/3;
    padding-top: 2px;
  }
  .nature-facts h3 {
    font-size: 19px;
    margin: 0 0 10px;
  }
  .nature-facts p {
    font-size: 16px;
  }
  .field-stay-photo {
    border-radius: 45% 45% 0 0 / 25% 25% 0 0;
  }
}
.simple .petal-one {
  transform: translate(-105px, 70px) rotate(-18deg) !important;
}
.simple .petal-two {
  transform: translate(105px, 70px) rotate(20deg) !important;
}
.simple .petal-three {
  transform: translate(80px, -140px) rotate(16deg) !important;
}
@media (prefers-reduced-motion: reduce) {
  .petal-one {
    transform: translate(-105px, 70px) rotate(-18deg) !important;
  }
  .petal-two {
    transform: translate(105px, 70px) rotate(20deg) !important;
  }
  .petal-three {
    transform: translate(80px, -140px) rotate(16deg) !important;
  }
}
@media (max-height: 760px) and (max-width: 700px) {
  .tour-orbit-stage {
    height: 29svh;
    top: 105px;
  }
  .tour-orbit-panel {
    --panel-height: 26svh;
  }
  .living-motion .field-tour-stage .tour-reading {
    bottom: 154px;
  }
  .living-motion .field-tour-stage .tour-reading h2 {
    font-size: 29px;
  }
  .living-motion .field-tour-stage .tour-reading > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.4;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aroha-welcome {
    display: none !important;
  }
  .hero-line > span,
  .hero-frond img {
    animation: none !important;
  }
  .hero-pod-inner,
  .hero-garden-orbit,
  .hero-frond,
  .nature-plant {
    transform: none !important;
    will-change: auto;
  }
  .nature-photo-petal {
    will-change: auto;
  }
  .tour-orbit-stage {
    display: none !important;
  }
}
.simple .hero-frond img {
  animation: none !important;
}
.simple .tour-orbit-stage {
  display: none;
}
.simple .hero-pod-inner,
.simple .hero-garden-orbit,
.simple .nature-plant {
  transform: none !important;
  will-change: auto;
}
