@font-face {
  font-family: Instrument;
  src: url("hero-assets/instrument-sans.woff2") format("woff2");
  font-display: swap;
  font-weight: 100 900;
}
:root {
  font-family: Instrument, Arial, sans-serif;
  color: #151515;
  background: #f5f2e9;
  --hero-shift: 0px;
  --hero-video-top: 280px;
  --hero-video-width: 100vw;
  --hero-scene-height: 1200px;
  --scene-scale: 1;
  --violet: #7870df;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
}
body {
  margin: 0;
  overflow-x: clip;
}
button,
input,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid #ffbe73;
  outline-offset: 5px;
}
[hidden] {
  display: none !important;
}
.site-nav {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 9.8%;
  width: 80.4%;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  opacity: 0;
  transform: translateY(-22px);
  transition:
    opacity 0.35s,
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.site-nav.entered {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.site-nav.is-away {
  opacity: 0;
  transform: translateY(-80px);
  pointer-events: none;
}
.nav-brand {
  width: 100px;
  display: block;
}
.nav-brand span {
  display: block;
  transform: scale(0.88);
  transform-origin: left center;
  width: 113.602px;
  height: 35.9961px;
}
.nav-brand img {
  display: block;
}
.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-pill {
  border: 0;
  background: #f5f2e9;
  padding: 10px 20px;
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  border-radius: 24px;
  transition:
    background 0.2s,
    border-radius 0.25s,
    color 0.2s;
}
.nav-pill.nav-start {
  background: #ffbe73;
}
.nav-pill:hover,
.shop-button:hover {
  background: #ffac51;
  border-radius: 7px 30px 7px 7px;
}
.nav-actions {
  gap: 6px;
}
.hero-track {
  height: var(--hero-track-height, 100svh);
  background: var(--violet);
  position: relative;
}
.hero-pin {
  height: var(--hero-pin-height, 100svh);
  position: sticky;
  top: 0;
  overflow: hidden;
  background: #442a12;
}
.hero-scene {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--hero-scene-height);
  transform: translate3d(0, var(--hero-shift), 0);
  will-change: transform;
  isolation: isolate;
}
.hero-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #45301e url("hero-assets/tree-light-umber.webp") center / cover no-repeat;
}
.curtain-translate {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  aspect-ratio: 1440 / 993;
  z-index: 1;
  pointer-events: none;
}
.hero-curtain {
  /* One paint surface across the SVG arch and its extension on tall screens. */
  position: absolute;
  inset: calc(0px - var(--curtain-cap, 0px)) 0 0;
  overflow: hidden;
  --arch-mask: url("hero-assets/purple-curtain.svg") center bottom / 100% auto no-repeat,
    linear-gradient(#000, #000) center top / 100% calc(var(--curtain-cap, 0px) + 1px) no-repeat;
  -webkit-mask: var(--arch-mask);
  mask: var(--arch-mask);
  background: linear-gradient(230deg, #756fe0 23%, #46429e 88%);
}
.hero-curtain::before {
  content: "";
  position: absolute;
  inset: -8% -12%;
  background:
    radial-gradient(ellipse 62% 43% at 82% 34%, #a398efce, #8987e4a8 36%, #778be34d 64%, transparent),
    radial-gradient(ellipse 50% 39% at 8% 73%, #5964d9dc, #6553bd70 51%, transparent 91%);
}
@media (max-width: 900px) {
  html[data-hero-curtain="iris"] .hero-curtain::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 105% 60% at 50% 54%, #30235588 25%, #30235578 60%, #30235539 85%, transparent);
  }
}
@media (prefers-reduced-motion: no-preference) {
  html[data-hero-curtain="iris"] .hero-curtain::before {
    animation: iris-light-drift 8s ease-in-out -3s infinite alternate;
  }
  html[data-hero-curtain] .hero-track[data-curtain-paused] .hero-curtain::before { animation-play-state: paused; }
}
@keyframes iris-light-drift {
  from { transform: translate3d(-7%, 4%, 0); }
  to { transform: translate3d(7%, -4%, 0); }
}
.hero-title {
  position: absolute;
  inset: 0 0 auto;
  z-index: 2;
  pointer-events: none;
}
.hero-subtitle {
  position: absolute;
  top: var(--tagline-top);
  left: 0;
  width: 100%;
  font-size: clamp(19px, var(--desktop-tagline-size, 2.22vw), 46px);
  font-weight: 500;
  line-height: 1.18;
  color: #fcfbf7;
  text-align: center;
  margin: 0;
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  filter: blur(5px);
  transition:
    opacity 0.45s,
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.5s;
}
.wordmark-window {
  position: absolute;
  inset: 0 0 auto;
  height: var(--hero-scene-height);
}
.hero-title h1 {
  position: absolute;
  top: var(--wordmark-top);
  left: 0;
  right: 0;
  width: var(--wordmark-width);
  margin: 0 auto;
  visibility: hidden;
}
.hero-title.mark-entered h1 { visibility: visible; }
.hero-title h1 picture, .hero-title h1 img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-title.subtitle-in .hero-subtitle {
  opacity: 1;
  transform: none;
  filter: none;
}
.hero-foreground {
  position: absolute;
  z-index: 3;
  top: var(--hero-video-top);
  left: 50%;
  width: var(--hero-video-width);
  aspect-ratio: 16/9;
  transform: translateX(-50%);
}
.hero-foreground video,
.hero-foreground canvas,
.device-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.device-video {
  opacity: 0;
}
.device-video.ready {
  opacity: 1;
}
.device-canvas {
  pointer-events: none;
}
.hero-cta {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: var(--hero-actions-top);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translate(-50%, 10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.32s ease-out,
    transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s 0.38s;
}
.hero-cta.entered {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}
.hero-cta .shop-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  min-height: clamp(44px, 3.47vw, 54px);
  padding: 0 clamp(22px, 2.25vw, 34px);
  border-radius: 999px;
  color: #211e20;
  font: 500 clamp(16px, 1.25vw, 20px)/1.2 Instrument, Arial, sans-serif;
  white-space: nowrap;
  transition: background-color .2s, border-radius .25s;
}
.hero-cta .hero-shop { min-width: clamp(136px, 12vw, 180px); background: #ffbe73; }
.hero-cta .hero-discover { background: #fffcf6; box-shadow: inset 0 0 0 1px #37302a20; }
.hero-cta .hero-shop:hover { background: #ffce96; }
.hero-cta .hero-discover:hover { background: #fff; }
.hero-cta .shop-button:focus-visible { outline: 2px solid #312934; outline-offset: 2px; }
.hero-scroll {
  position: absolute;
  left: 32px;
  bottom: 25px;
  z-index: 5;
  color: #f5f2e9;
  display: flex;
  gap: 16px;
  align-items: center;
  border: 0;
  padding: 10px 0;
  background: none;
  opacity: 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  transition: opacity 0.35s;
}
.hero-scroll.entered {
  opacity: 0.85;
}
.hero-scroll span:last-child {
  font-size: 20px;
}
.tvc-track {
  position: relative;
  height: 160svh;
  background: #f5f2e9;
}
.chapter-pin {
  height: 100svh;
  position: sticky;
  top: 0;
  overflow: hidden;
}
.chapter-surface {
  position: absolute;
  inset: 0;
}
.chapter-surface iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #f5f2e9;
}
/* The voice intro has its own reading screen; hardware keeps a long interaction hold. */
.features-track {
  height: 650svh;
  position: relative;
  background: #f5f5f7;
}
.feature-pin {
  height: 100svh;
  position: sticky;
  top: 0;
  overflow: hidden;
}
body.dialog-open {
  overflow: hidden;
}
@media (min-width: 2000px) {
  .site-nav {
    height: 5.3vw;
  }
  .nav-brand span {
    transform: scale(1.2);
  }
  .nav-pill {
    font-size: 18px;
    padding: 12px 24px;
  }
  .nav-brand {
    width: 150px;
  }
}
@media (max-width: 900px) {
  .site-nav {
    left: 5%;
    width: 90%;
    gap: 14px;
  }
  .nav-links {
    gap: 6px;
  }
  .nav-pill {
    padding: 8px 12px;
    font-size: 12px;
    min-height: 34px;
  }
  .nav-brand {
    width: 70px;
  }
  .nav-brand span {
    transform: scale(0.65);
  }
  .hero-foreground {
    top: var(--hero-video-top);
  }
}
@media (max-width: 600px) {
  .site-nav {
    height: 65px;
    left: 7%;
    width: 86%;
    gap: 12px;
  }
  .nav-links {
    display: none;
  }
  .nav-brand {
    width: 75px;
  }
  .nav-brand span {
    transform: scale(0.68);
  }
  .nav-pill.nav-start {
    font-size: 12px;
    padding: 8px 16px;
  }
  .hero-scroll {
    left: 22px;
    bottom: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tvc-track {
    height: 100svh;
  }
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
  }
  .hero-title h1,
  .hero-subtitle,
  .site-nav,
  .hero-cta {
    transition: none;
  }
  .chapter-surface {
    will-change: auto;
  }
}


/* One foreground plate supplies both the physical bezel and the desk edge. */
.curtain-translate {
  transform: translateY(calc(var(--arch-entry, 0px) + var(--curtain-scroll, 0px)));
}
.nav-menu, .mobile-start { display: none; }
@media (max-width: 600px), (max-width: 900px) and (orientation: portrait) {
  .hero-subtitle { font-size: clamp(16px, 4.5vw, 27px); padding: 0 8px; }
  .hero-cta { gap: 8px; }
  .hero-cta .shop-button { min-height: 46px; padding: 0 clamp(15px, 4vw, 24px); font-size: 16px; }
  .hero-cta .hero-shop { min-width: clamp(102px, 30vw, 140px); }
  .curtain-translate { aspect-ratio: 400 / 445; }
  .hero-curtain {
    --arch-mask: url("hero-assets/mobile-curtain.svg") center bottom / 100% auto no-repeat,
      linear-gradient(#000, #000) center top / 100% calc(var(--curtain-cap, 0px) + 1px) no-repeat;
  }
}
@media (max-width:600px), (max-width:900px) and (orientation:portrait), (max-width:950px) and (max-height:500px) and (orientation:landscape) {
  .site-nav { left: 4%; width: 92%; height: 69px; }
  .nav-brand { width: 72px; }
  .nav-brand span { transform: scale(.62); }
  .site-nav .nav-actions, .nav-links { display: none; }
  .mobile-start { display: flex; }
  .nav-menu { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fffefb; }
  .nav-menu span { width: 17px; height: 2px; background: #211e22; box-shadow: 0 -5px #211e22, 0 5px #211e22; }
  .site-nav.menu-open .nav-links { position: absolute; top: 60px; right: 0; display: grid; justify-items: stretch; padding: 8px; border-radius: 18px; background: #faf7f1; box-shadow: 0 6px 24px #28183124; }
  .nav-links .nav-pill { background: transparent; padding: 10px 18px; font-size: 15px; }
  .hero-scroll { bottom: 12px; }
}
@media (max-width:600px), (max-width:900px) and (orientation:portrait), (max-width:950px) and (max-height:500px) and (orientation:landscape) {
  .site-nav .nav-menu { width:44px; height:44px; }
  .site-nav.menu-open .nav-links { max-height:calc(100svh - 90px); overflow:auto; }
  .site-nav .nav-links .nav-pill { min-height:44px; }
  .hero-background { background-position:68% center; }
}
