html[data-intro="ready"] {
  scroll-snap-type: y mandatory;
}
html {
  scroll-behavior: auto;
  scrollbar-color: #28463a #020604;
}
.site-header {
  position: fixed;
  z-index: 10;
  background: linear-gradient(#000e, #0008 65%, #0000);
}
.skip-story {
  position: fixed;
  z-index: 30;
  left: 24px;
  top: -80px;
  padding: 14px 20px;
  background: var(--core);
}
.skip-story:focus {
  top: 18px;
}
.story-world {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: #000;
  pointer-events: none;
  overflow: hidden;
}
.world-frame {
  position: absolute;
  inset: 0;
  isolation: isolate;
  z-index: 0;
}
[data-world="1"] {
  z-index: 1;
}
[data-world="2"] {
  z-index: 2;
}
[data-world="3"] {
  z-index: 3;
}
.village[data-ready="true"] {
  opacity: calc(var(--village, 0) * var(--world-0, 1));
}
.world-photo {
  opacity: var(--world-opacity, 0);
  overflow: hidden;
}
.world-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}
.world-shade {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: var(--world-dark, 0);
  z-index: 4;
}
.sunlight {
  position: absolute;
  inset: 0;
  background: linear-gradient(125deg, transparent 44%, #f7dba618 51%, transparent 65%);
  animation: daylight 16s ease-in-out infinite alternate;
  mix-blend-mode: screen;
}
.garden-world .sunlight {
  animation-delay: -7s;
}
.garden-air {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, #fff8 0 1px, transparent 1.5px),
    radial-gradient(circle, #f4d69d88 0 1px, transparent 2px);
  background-size:
    307px 421px,
    487px 317px;
  background-position:
    20px 10px,
    140px 90px;
  opacity: 0.28;
  mask-image: linear-gradient(transparent 20%, #0009 55%, transparent 95%);
  animation: garden-air 24s linear infinite;
}
.home-light {
  position: absolute;
  left: 28%;
  top: 44%;
  width: 20%;
  height: 27%;
  background: radial-gradient(ellipse, #ffc97426, transparent 65%);
  mix-blend-mode: screen;
  animation: home-light 11s ease-in-out infinite alternate;
}
html[data-motion="paused"] :is(.sunlight, .garden-air, .home-light),
html[data-intro="playing"] :is(.sunlight, .garden-air, .home-light) {
  animation-play-state: paused;
}
@keyframes daylight {
  from {
    opacity: 0.22;
    transform: translateX(-2%);
  }
  to {
    opacity: 0.65;
    transform: translateX(2%);
  }
}
@keyframes garden-air {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(36px, -60px, 0);
  }
}
@keyframes home-light {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 0.8;
  }
}
#story {
  position: relative;
  z-index: 1;
}
.story-section {
  position: relative;
  min-height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  isolation: isolate;
}
.hero {
  background: transparent;
}
.hero-copy {
  opacity: var(--copy-visibility, 1);
  translate: 0 var(--copy-shift, 0px);
}
.story-section:not(.hero) {
  visibility: hidden;
}
html[data-intro="ready"] .story-section {
  visibility: visible;
}
.story-content {
  width: min(1280px, calc(100% - var(--gutter) * 2));
  margin: 0 auto;
  padding: clamp(150px, 18svh, 200px) 0 115px;
  opacity: var(--copy-visibility, 1);
  transform: translate3d(0, var(--copy-shift, 0px), 0);
}
.story-content h2 {
  margin: 0;
  font-size: clamp(58px, 6.4vw, 104px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 700;
}
.story-content h2 em {
  color: var(--mint);
  font-style: normal;
}
.section-kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: #acbdb3;
  margin: 0 0 26px;
}
.atmosphere::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, #000b, transparent 75%), linear-gradient(#0006, transparent 55%, #0005);
}
.life-copy {
  padding-top: clamp(165px, 23svh, 250px);
}
.life-description {
  margin: 30px 0 0;
  font-size: clamp(17px, 1.65vw, 24px);
  line-height: 1.65;
  color: #e1e5dd;
}
.life-footnote {
  margin: 50px 0 0;
  max-width: 280px;
  font-size: 13px;
  line-height: 1.7;
  color: #c5cbbf;
}
.scene-next {
  position: absolute;
  bottom: 76px;
  left: var(--gutter);
  display: flex;
  align-items: center;
  gap: 22px;
  color: #c4d0c7;
  font-size: 11px;
  letter-spacing: 0.03em;
  min-height: 44px;
  opacity: var(--copy-visibility, 1);
}
.down-line {
  width: 9px;
  height: 22px;
  position: relative;
  border-right: 1px solid #bbd6c7;
}
.down-line::after {
  content: "";
  position: absolute;
  right: -4px;
  bottom: 1px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
}
.hero .scene-next {
  opacity: calc(var(--actions, 0) * var(--copy-visibility, 1));
}
.home-composition {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 60px;
}
.home-composition .life-copy {
  padding-top: 0;
}
.home-composition h2 {
  font-size: clamp(58px, 6vw, 96px);
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  min-height: 48px;
  font-size: 13px;
  margin-top: 24px;
  color: var(--mint);
  border-bottom: 1px solid #86d9ba55;
}
.phone {
  margin: 0;
  position: relative;
  width: clamp(220px, 21vw, 300px);
  border: 6px solid #2c3531;
  border-radius: 34px;
  background: #080c0a;
  padding: 3px;
  box-shadow:
    0 26px 80px #0009,
    inset 0 0 0 1px #6c797133;
  overflow: hidden;
}
.phone::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 0;
  border: 1px solid #fff2;
  border-radius: 28px;
}
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 23px;
}
.home-phone {
  justify-self: center;
  transform: perspective(1200px) rotateY(-9deg) rotateZ(3deg);
  box-shadow: 0 40px 90px #000c;
}
.feature {
  background: radial-gradient(ellipse at 75% 40%, #0f241b77, transparent 58%);
}
.feature-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 5%;
  align-items: center;
  min-height: 100svh;
}
.feature-copy h2 {
  font-size: clamp(48px, 4.7vw, 76px);
}
.feature-copy h2 em {
  display: inline-block;
}
.feature-description {
  color: #c5cfc9;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.7;
  margin: 27px 0 0;
}
.feature-details {
  max-width: 440px;
  margin: 34px 0 0;
}
.feature-details > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid #86d9ba24;
  font-size: 12px;
  line-height: 1.6;
}
.feature-details dt {
  color: #d8e7df;
}
.feature-details dd {
  margin: 0;
  color: #8faaa0;
}
.product-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.product-halo {
  position: absolute;
  z-index: -1;
  inset: -10% 0;
  background: radial-gradient(ellipse, #008d6833, transparent 65%);
}
.access-phone {
  transform: perspective(1400px) rotateY(-8deg) rotateZ(2deg);
}
.visual-caption {
  font-size: 10px;
  letter-spacing: 1px;
  color: #79998a;
  text-align: center;
}
.reverse .feature-copy {
  grid-column: 2;
  grid-row: 1;
}
.reverse .product-visual {
  grid-column: 1;
  grid-row: 1;
}
.camera-phone {
  transform: perspective(1400px) rotateY(8deg) rotateZ(-3deg);
}
.feature-note {
  color: #829a8e;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 36px;
}
.ticket-steps {
  list-style: none;
  margin: 34px 0 0;
  padding: 0;
  max-width: 440px;
}
.ticket-steps li {
  display: flex;
  gap: 24px;
  padding: 15px 0;
  border-top: 1px solid #86d9ba24;
  color: #bdcec4;
  font-size: 13px;
}
.ticket-steps span {
  color: #5c8b76;
  font-size: 11px;
}
.ticket-phone {
  transform: perspective(1400px) rotateY(-6deg) rotateZ(2deg);
}
.modules-content {
  max-width: 1120px;
}
.modules h2 {
  font-size: clamp(50px, 5.2vw, 84px);
}
.module-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 8%;
  margin-top: 50px;
}
.module-list > * {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 105px;
  border-top: 1px solid #86d9ba29;
}
.module-list > a:hover {
  background: #86d9ba06;
}
.module-list img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.module-list > * > span:nth-child(2) {
  flex: 1;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.module-list small {
  display: block;
  font-size: 12px;
  color: #8ca195;
  margin-top: 6px;
  letter-spacing: 0;
}
.module-list > * > span:last-child:not(:nth-child(2)) {
  color: #7eb39a;
}
.module-note {
  color: #80968a;
  font-size: 11px;
  margin-top: 24px;
}
.install {
  background: radial-gradient(ellipse at 50% 70%, #008d6822, transparent 65%);
}
.install-content {
  text-align: center;
  max-width: 1000px;
}
.install h2 {
  font-size: clamp(64px, 7.6vw, 122px);
}
.install-description {
  color: #a4b8ab;
  font-size: 16px;
  margin: 30px 0;
}
.download-options {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.download-options > a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 22px 30px;
  min-width: 275px;
  text-align: left;
  border-radius: 5px;
  border: 1px solid #86d9ba44;
}
.download-options > a > span {
  font-weight: 700;
  font-size: 15px;
}
.download-options small {
  font-size: 11px;
  color: #cbdfd4;
}
.download-android {
  background: #008d68;
}
.download-android:hover {
  color: white;
  background: #009c73;
}
.download-apple:hover {
  background: #86d9ba0b;
}
.install-help {
  font-size: 11px;
  line-height: 1.8;
  color: #7d9587;
  max-width: 460px;
  margin: 22px auto 0;
}
.install-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #86d9ba25;
  margin-top: 70px;
  padding-top: 30px;
  font-size: 11px;
  color: #8aa092;
}
.scene-nav {
  position: fixed;
  z-index: 12;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.scene-nav[hidden],
.story-position[hidden] {
  display: none;
}
.scene-nav a {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.scene-nav a::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #8bb49e55;
  transition: all 0.3s;
}
.scene-nav a[aria-current]::after {
  background: var(--mint);
  box-shadow: 0 0 12px #86d9ba77;
  transform: scale(1.6);
}
.story-position {
  position: fixed;
  z-index: 6;
  left: var(--gutter);
  bottom: 42px;
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 10px;
  color: #7f9f8e;
  font-variant-numeric: tabular-nums;
}
.position-current {
  color: #d2e6d9;
}
.position-line {
  height: 1px;
  width: 32px;
  background: #86d9ba55;
}
.controls {
  z-index: 12;
}
html:not([data-scene="0"]) .controls .replay {
  display: none;
}
@media (min-width: 1800px) {
  .story-content {
    padding-top: 20svh;
  }
}
@media (max-width: 1000px) {
  .story-content {
    width: calc(100% - var(--gutter) * 2);
  }
  .feature-layout {
    gap: 4%;
  }
  .feature-copy h2 {
    font-size: clamp(40px, 5.5vw, 62px);
  }
  .phone {
    width: clamp(225px, 29vw, 280px);
  }
  .feature-description br {
    display: none;
  }
  .feature-details > div {
    grid-template-columns: 80px 1fr;
    gap: 10px;
  }
  .scene-nav {
    right: 8px;
  }
  .home-composition {
    gap: 24px;
  }
  .home-composition h2 {
    font-size: 54px;
  }
  .life-description {
    font-size: 18px;
  }
}
@media (max-width: 640px) {
  .site-nav {
    gap: 18px;
  }
  .site-nav .portal-link {
    display: none;
  }
  .features-link {
    display: block;
  }
  .story-content {
    width: calc(100% - 48px);
    padding: 130px 0 105px;
  }
  .story-content h2 {
    font-size: 46px;
    letter-spacing: -0.05em;
    line-height: 1.1;
  }
  .section-kicker {
    font-size: 8px;
    letter-spacing: 1.8px;
    margin-bottom: 22px;
  }
  .life-copy {
    padding-top: 175px;
  }
  .life-description {
    font-size: 17px;
    line-height: 1.7;
    margin-top: 24px;
  }
  .life-footnote {
    margin-top: 32px;
    font-size: 12px;
    max-width: 230px;
  }
  .atmosphere::before {
    background: linear-gradient(#000c, #0007 38%, transparent 80%);
  }
  .morning-world > img {
    object-position: 57% bottom;
  }
  .garden-world > img {
    object-position: 50% bottom;
  }
  .home-world > img {
    object-position: 46% bottom;
  }
  .scene-next {
    bottom: 80px;
    font-size: 10px;
    max-width: 270px;
    gap: 16px;
  }
  .hero .scene-next {
    display: none;
  }
  .home-composition {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    padding-top: 130px;
  }
  .home-composition .life-copy {
    padding-top: 0;
  }
  .home-composition h2 {
    font-size: 44px;
  }
  .home .life-description {
    font-size: 14px;
    margin-top: 20px;
  }
  .text-link {
    font-size: 11px;
    margin-top: 12px;
    gap: 18px;
  }
  .home-phone {
    width: 170px;
    align-self: flex-end;
    margin-right: 7px;
  }
  .home {
    min-height: 960px;
  }
  .feature-layout {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 35px;
    min-height: 100svh;
  }
  .feature-copy h2 {
    font-size: 40px;
  }
  .feature-copy h2 em {
    font-size: 0.82em;
  }
  .feature-description {
    font-size: 14px;
    margin-top: 22px;
  }
  .feature-details {
    margin-top: 24px;
  }
  .feature-details > div {
    font-size: 11px;
    padding: 11px 0;
    grid-template-columns: 82px 1fr;
  }
  .product-visual {
    gap: 18px;
  }
  .phone {
    width: 210px;
    border-width: 5px;
    border-radius: 28px;
    padding: 2px;
  }
  .phone img {
    border-radius: 20px;
  }
  .phone::after {
    border-radius: 22px;
  }
  .home-phone {
    width: 170px;
  }
  .feature {
    min-height: 100svh;
  }
  .feature-note {
    font-size: 13px;
    margin-top: 24px;
  }
  .ticket-steps {
    margin-top: 22px;
  }
  .ticket-steps li {
    font-size: 12px;
    padding: 12px 0;
  }
  .visual-caption {
    font-size: 9px;
  }
  .module-list {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 32px;
  }
  .module-list > * {
    min-height: 84px;
    gap: 18px;
  }
  .module-list img {
    width: 45px;
    height: 45px;
  }
  .module-list > * > span:nth-child(2) {
    font-size: 16px;
  }
  .module-list small {
    font-size: 11px;
  }
  .module-note {
    line-height: 1.7;
  }
  .install h2 {
    font-size: 52px;
  }
  .install-description {
    font-size: 13px;
    line-height: 1.8;
  }
  .download-options {
    flex-direction: column;
    gap: 14px;
  }
  .download-options > a {
    min-width: 0;
    padding: 19px 24px;
  }
  .download-options > a > span {
    font-size: 14px;
  }
  .install-help {
    font-size: 10px;
  }
  .install-bottom {
    flex-direction: column;
    gap: 22px;
    margin-top: 40px;
    padding-top: 26px;
  }
  .install-bottom .hero-primary {
    width: auto;
    font-size: 12px;
    min-height: 44px;
  }
  .scene-nav {
    display: none;
  }
  .story-position {
    bottom: 35px;
    font-size: 9px;
    gap: 8px;
  }
  .position-line {
    width: 20px;
  }
  .controls {
    font-size: 9px;
    gap: 12px;
  }
  .controls button {
    padding-left: 5px;
  }
  .controls .replay:not([hidden]) {
    gap: 7px;
  }
}
@media (max-width: 350px) {
  .story-content h2 {
    font-size: 39px;
  }
  .feature-copy h2 {
    font-size: 35px;
  }
  .section-kicker {
    font-size: 7px;
  }
  .life-description {
    font-size: 15px;
  }
  .install h2 {
    font-size: 46px;
  }
  .story-position {
    gap: 6px;
  }
  .controls {
    font-size: 8px;
    gap: 8px;
  }
  .site-nav {
    font-size: 9px;
    gap: 12px;
  }
  .header-inner {
    gap: 12px;
  }
}
@media (max-height: 650px) and (min-width: 641px) {
  html[data-intro="ready"] {
    scroll-snap-type: y proximity;
  }
  .story-section {
    min-height: 760px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html[data-intro="ready"] {
    scroll-snap-type: y proximity;
  }
  html .world-photo :is(.sunlight, .garden-air, .home-light) {
    animation: none;
  }
  .story-content,
  .hero-copy {
    opacity: 1;
    transform: none;
    translate: none;
  }
  .scene-nav a::after {
    transition: none;
  }
}
.world-photo:not([data-animated="true"]) :is(.sunlight, .garden-air, .home-light) {
  animation-play-state: paused;
}
.coffee-steam {
  position: absolute;
  left: var(--steam-left);
  top: var(--steam-top);
  width: 36px;
  height: 1px;
  transform: translateX(-50%);
  pointer-events: none;
}
.steam-thread {
  position: absolute;
  bottom: 0;
  left: 4px;
  width: 13px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(transparent, #fff5, transparent);
  filter: blur(4px);
  opacity: 0;
  animation: coffee-steam 7s ease-out infinite;
}
.steam-thread:nth-child(2) {
  left: 12px;
  animation-delay: -2.3s;
}
.steam-thread:nth-child(3) {
  left: 20px;
  animation-delay: -4.6s;
}
@keyframes coffee-steam {
  0% {
    transform: translateY(5px) scaleX(0.6);
    opacity: 0;
  }
  35% {
    opacity: 0.2;
  }
  100% {
    transform: translate(12px, -65px) scaleX(1.8);
    opacity: 0;
  }
}
html[data-motion="paused"] .steam-thread,
html[data-intro="playing"] .steam-thread,
.world-photo:not([data-animated="true"]) .steam-thread {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .world-photo .steam-thread {
    animation: none;
  }
}
@media (max-width: 640px) {
  .home {
    min-height: max(100svh, 850px);
  }
  .home-composition {
    display: block;
    position: relative;
    min-height: inherit;
  }
  .home-phone {
    position: absolute;
    right: 7px;
    bottom: 90px;
    width: 150px;
    margin: 0;
  }
  .feature-layout {
    padding-top: 125px;
    padding-bottom: 85px;
    gap: 26px;
  }
  .feature-copy .section-kicker {
    margin-bottom: 18px;
  }
  .feature-copy h2 {
    font-size: 34px;
  }
  .feature-description {
    margin-top: 18px;
    font-size: 13px;
    line-height: 1.65;
  }
  .feature-details,
  .feature-note,
  .ticket-steps {
    display: none;
  }
  .feature .phone {
    width: 180px;
  }
  .feature .product-visual {
    gap: 14px;
  }
}
@media (max-width: 640px) and (min-height: 900px) {
  .feature .phone {
    width: 205px;
  }
}
@media (max-width: 350px) {
  .feature-layout {
    padding-top: 115px;
  }
  .feature-copy h2 {
    font-size: 31px;
  }
}

@media (max-width: 350px) {
  .feature .phone {
    width: 150px;
  }
}
.scene-next {
  text-shadow: 0 2px 8px #000;
}
