:root {
  --studio: #080909;
}
.feature-image { aspect-ratio:3/2; }
.feature-image img { display:block; }
.feature-image figcaption { color:#abb3aa; margin-top:.25rem; font-size:.7rem; letter-spacing:.04em; }
.phone-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1.22;
  max-height: 42rem;
  overflow: hidden;
}
.phone-frame img,
.phone-frame video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone-frame video,
.phone-frame .phone-still {
  opacity: 0;
  pointer-events: none;
}
.phone-frame.show-still .phone-still,
.phone-frame video.has-picture {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce), (scripting: none) {
  .phone-frame .phone-still {
    opacity: 1;
  }
}
.phone-caption { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:.3rem 1rem; margin-top:.45rem; color:#c3cbc1; font-size:.75rem; }
.phone-caption a { display:inline-flex; align-items:center; min-height:2.5rem; text-decoration:underline; text-underline-offset:.25em; color:var(--lime); }
.settings-dialog { width:min(63rem,94vw); max-height:92dvh; padding:clamp(.85rem,2vw,1.5rem); background:#101513; color:#f3f5f1; }
.settings-dialog header,.settings-controls { display:flex; justify-content:space-between; align-items:center; gap:.65rem; }
.settings-dialog header { margin-bottom:.75rem; }
.settings-dialog header h2 { margin:0; font-size:clamp(1rem,2vw,1.55rem); }
.settings-dialog header .icon-button { flex-shrink:0; color:inherit; }
.settings-image-scroll { overflow:auto; max-height:65dvh; overscroll-behavior:contain; }
.settings-image-scroll img { display:block; width:100%; max-width:none; height:auto; }
.settings-dialog[data-enlarged] .settings-image-scroll img { width:max(155%,46rem); }
.settings-controls { margin-top:.7rem; flex-wrap:wrap; color:#b9c2b8; font-size:.75rem; }
.settings-controls button { color:var(--lime); padding:.45rem 0; }
.pilot-row { display:grid; grid-template-columns:minmax(10rem,.52fr) minmax(0,1.4fr); gap:2rem; padding-block:clamp(3rem,5.8vw,6.5rem); }
.pilot-row h2 { text-transform:uppercase; font-weight:760; letter-spacing:-.055em; line-height:1.12; font-size:clamp(2rem,3.7vw,4rem); text-wrap:balance; max-width:24ch; }
.pilot-row p:not(.eyebrow) { margin-top:1.05rem; max-width:58ch; color:#465045; font-size:clamp(1rem,1.3vw,1.28rem); line-height:1.62; }
.support-strip { background:#151a17; color:#edf0e8; }
.support-strip .container { display:flex; align-items:center; justify-content:space-between; gap:1rem 2rem; padding-block:1.45rem; }
.support-strip a { color:var(--lime); }
.feature-phone .studio-button,.feature-haptics .studio-button { white-space:normal; }
@media(max-width:740px) {
  .phone-frame { aspect-ratio:.94; max-height:none; }
  .pilot-row { grid-template-columns:minmax(0,1fr); gap:1rem; }
  .support-strip .container { align-items:flex-start; flex-direction:column; }
  .feature-haptics .feature-image { order:-1; }
}
.hero h1,
.about-hero h1,
.story-head h1,
.showcase h2,
.journal-line h2,
.invite h2,
.about-text h2,
.entry-copy h2 {
  font-weight: 800;
  font-stretch: 78%;
  text-transform: uppercase;
  letter-spacing: -0.052em;
}
.hero h1 {
  font-size: clamp(4.1rem, 6.5vw, 7.8rem);
  line-height: 1.035;
  margin: 1.35rem 0 1.45rem;
}
.hero h1 .accent,
.showcase h2 .accent,
.about-hero h1 .accent,
.story-head h1 .accent {
  margin-left: -0.015em;
}
.hero-eyebrow,
.showcase .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.09em;
}
.hero .button-lime {
  border-radius: 0.24rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 0.64rem), calc(100% - 0.64rem) 100%, 0 100%);
}
.hero .button-lime:focus-visible {
  outline-offset: -5px;
  outline-color: #47600d;
}
.main-nav a {
  font-weight: 560;
}
.about-hero h1,
.story-head h1 {
  font-size: clamp(3.65rem, 5.6vw, 6.9rem);
  line-height: 1.06;
}
.about-render img {
  transform: none;
}
.story-head {
  overflow: clip;
}
.story-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
}
.story-team {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(.6rem, 1.25vw, 1.4rem);
  align-items: start;
  justify-self: end;
  width: min(100%, 44rem);
  margin: 0;
  padding: .45rem .6rem .9rem;
  list-style: none;
}
.story-card {
  rotate: -5deg;
  background: #e1e5d9;
  color: #1a221b;
  border: 1px solid #c5cbbd;
  padding: clamp(.25rem, .55vw, .55rem);
  box-shadow: .28rem .38rem 0 #101711aa;
}
.story-card:nth-child(2) {
  rotate: 2deg;
  margin-top: clamp(.35rem, 1.4vw, 1.45rem);
}
.story-card:nth-child(3) {
  rotate: 6deg;
}
.story-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 19;
  object-fit: cover;
  background: #586052;
  filter: saturate(.74);
}
.story-card figcaption {
  padding: .5rem .125rem .28rem;
  font-size: clamp(.75rem, 1.02vw, .94rem);
  font-weight: 660;
  font-stretch: 83%;
  line-height: 1.24;
  overflow-wrap: anywhere;
}
.story-card figcaption span {
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .story-card {
    animation: team-arrive .72s cubic-bezier(.19,.79,.24,1) .08s both;
  }
  .story-card:nth-child(2) {
    animation-delay: .26s;
  }
  .story-card:nth-child(3) {
    animation-delay: .44s;
  }
}
@keyframes team-arrive {
  0% { opacity: 0; translate: clamp(4rem, 10vw, 10rem) .9rem; }
  65% { opacity: 1; }
  100% { opacity: 1; translate: 0 0; }
}
@media (max-width: 880px) {
  .story-head-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(2rem, 6vw, 3rem);
  }
  .story-team {
    justify-self: start;
    max-width: 34rem;
  }
}
.about-text h2,
.journal-line h2,
.invite h2,
.entry-copy h2 {
  font-size: clamp(2rem, 3.45vw, 3.9rem);
  line-height: 1.12;
  letter-spacing: -0.05em;
}
.invite h2 {
  max-width: 19ch;
}
.showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--studio);
  color: #f5f6f2;
}
.showcase-row {
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5.8vw, 7rem);
  min-height: clamp(30rem, 40.2vw, 45rem);
  padding-block: clamp(2.5rem, 4.7vw, 5.6rem);
}
.showcase + .showcase .showcase-row {
  border-top: 1px solid #202422;
}
.studio-figure {
  position: relative;
  min-width: 0;
}
.studio-figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.form-figure {
  height: clamp(24rem, 34vw, 37rem);
}
.form-figure img {
  width: 108%;
  max-width: none;
  margin-left: -4%;
}
.showcase-copy {
  max-width: 29.5rem;
}
.showcase .eyebrow {
  color: #b7c1b4;
  text-transform: uppercase;
}
.showcase .signal-line {
  background: var(--lime);
  width: 1.55rem;
}
.showcase h2 {
  font-size: clamp(2.5rem, 3.6vw, 4.25rem);
  font-weight: 760;
  letter-spacing: -0.055em;
  line-height: 1.12;
  margin: 1.05rem 0 1.15rem;
  text-wrap: balance;
}
.showcase-copy > p:not(.eyebrow) {
  color: #aeb4ae;
  font-size: clamp(1.02rem, 1.31vw, 1.38rem);
  font-weight: 450;
  line-height: 1.54;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.showcase-copy strong {
  font-weight: 640;
  color: #f1f3ed;
}
.studio-button {
  min-height: 2.73rem;
  padding: 0.62rem 1.25rem;
  margin-top: 1.65rem;
  border: 1px solid #959f94;
  border-radius: 100px;
  background: transparent;
  color: #f4f6ef;
  font-size: 0.9rem;
}
.studio-button:hover {
  background: #f4f6ef;
  color: var(--ink);
  border-color: #f4f6ef;
}
.mini-play {
  display: grid;
  place-items: center;
  margin-right: 0.45rem;
}
.mini-play .icon {
  width: 0.83rem;
  height: 0.83rem;
}
.macro-figure {
  height: clamp(19rem, 29vw, 33rem);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.macro-figure img {
  transition: opacity 0.18s ease, scale 0.22s var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .macro-figure:hover img {
    scale: 1.12;
  }
}
.macro-figure .changing {
  opacity: 0.15;
}
.haptic-art {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.haptic-art .haptic-grip {
  position: absolute;
  inset: 0;
  display: none;
}
@media (prefers-reduced-motion: no-preference) {
  .grip-waiting #detail-image {
    translate: 0 -108%;
  }
  .grip-drop #detail-image {
    animation: grip-landing .43s both;
  }
  .haptic-active .haptic-still {
    clip-path: inset(0 0 0 46%);
  }
  .haptic-active .haptic-grip {
    display: block;
    clip-path: inset(0 54% 0 0);
    animation: grip-pulse 4.6s linear .46s infinite;
  }
}
@keyframes grip-landing {
  0%, 14% { translate: 0 -108%; animation-timing-function: cubic-bezier(.48, .02, .84, .56); }
  72% { translate: 0 1.8%; animation-timing-function: ease-out; }
  88% { translate: 0 -.65%; animation-timing-function: ease-in-out; }
  100% { translate: 0 0; }
}
@keyframes grip-pulse {
  0%, 12%, 100% { translate: 0 0; }
  1.8% { translate: clamp(.15rem, .27vw, .28rem) -.09rem; }
  3.7% { translate: clamp(-.23rem, -.23vw, -.12rem) .08rem; }
  5.5% { translate: .14rem -.065rem; }
  7.3% { translate: -.1rem .04rem; }
  9.1% { translate: .065rem 0; }
}
.controls-showcase .showcase-row {
  min-height: clamp(28rem, 37vw, 40rem);
}
.detail-switch {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.2rem;
  border: 1px solid #59635b;
  border-radius: 100px;
  margin-top: 1.55rem;
}
.detail-switch button {
  padding: 0.45rem 1rem;
  background: transparent;
  border: 0;
  border-radius: 100px;
  color: #d6ddd4;
  font-size: 0.88rem;
  font-weight: 550;
}
.detail-switch button[aria-pressed='true'] {
  color: #172014;
  background: var(--lime);
}
.app-row {
  grid-template-columns: minmax(0, 0.84fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 4vw, 5rem);
  min-height: clamp(29rem, 36vw, 41rem);
}
.app-figure {
  padding: 1rem 0 1.5rem;
}
.app-figure figcaption {
  margin-top: 0.1rem;
  text-align: center;
  color: #a1aba1;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0.055em;
}
.app-showcase h2 {
  font-size: clamp(3.3rem, 5.2vw, 6.2rem);
}
.journal-preview {
  padding-top: clamp(3.15rem, 5.4vw, 6rem);
}
.journal-line {
  border: 0;
  padding-top: 0;
}
.about-app-link {
  display: inline-block;
  margin-bottom: 1.1rem;
}
@media (max-width: 1050px) {
  .showcase-row {
    gap: 2rem;
  }
  .showcase h2 {
    font-size: clamp(2.1rem, 4vw, 3.3rem);
  }
  .form-figure {
    height: 25rem;
  }
  .showcase-copy > p:not(.eyebrow) {
    font-size: 1.03rem;
  }
}
@media (min-width: 661px) and (max-width: 820px) {
  .hero h1 {
    font-size: clamp(2.7rem, 6.6vw, 3.55rem);
  }
  .showcase-row {
    min-height: 25rem;
    gap: 1.5rem;
  }
  .form-figure {
    height: 21rem;
  }
  .macro-figure {
    height: 18rem;
  }
  .showcase h2 {
    font-size: 2.1rem;
  }
  .showcase-copy > p:not(.eyebrow) {
    font-size: 1rem;
  }
  .showcase .eyebrow {
    font-size: 0.72rem;
  }
}
@media (max-width: 660px) {
  .hero h1 {
    font-size: clamp(2.6rem, calc(16vw - .5rem), 5.3rem);
    line-height: 1.02;
    margin: 1.08rem 0 0.95rem;
  }
  .hero-eyebrow {
    font-size: 0.74rem;
  }
  .showcase-row,
  .app-row {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 2.75rem;
    gap: 0.9rem;
  }
  .controls-showcase .showcase-row {
    min-height: 0;
  }
  .form-figure {
    height: clamp(15rem, 64vw, 24rem);
  }
  .macro-figure {
    height: clamp(14rem, 54vw, 20rem);
  }
  .showcase-copy {
    max-width: 34rem;
  }
  .showcase h2 {
    font-size: clamp(2.15rem, 7.8vw, 3.3rem);
    margin: 0.7rem 0 0.8rem;
  }
  .showcase .eyebrow {
    font-size: 0.75rem;
  }
  .studio-button,
  .detail-switch {
    margin-top: 1.1rem;
  }
  .app-figure {
    grid-row: 1;
    padding: 0 0 0.7rem;
  }
  .app-figure figcaption {
    font-size: 0.67rem;
  }
  .app-showcase h2 {
    font-size: clamp(2.8rem, 10vw, 4rem);
  }
  .about-hero h1,
  .story-head h1 {
    font-size: clamp(2.7rem, 9vw, 4.7rem);
  }
  .invite h2,
  .journal-line h2,
  .about-text h2,
  .entry-copy h2 {
    font-size: clamp(1.85rem, 6.5vw, 2.8rem);
  }
}
@media (max-width: 420px) {
  .hero-foot .explore {
    font-size: 0.73rem;
  }
}
@media (max-width: 980px) and (max-height: 520px) and (orientation: landscape) {
  .hero-grid { min-height: calc(100svh - var(--masthead-height, 6rem)); }
  .hero-copy { align-self: center; padding-block: .85rem; }
  .hero h1 { font-size: clamp(2rem, 8.4svh, 2.8rem); margin: .5rem 0; }
  .hero-actions { margin-top: .75rem; }
  .hero-foot { min-height: 2.5rem; }
}
@media (max-width: 660px) {
  .home-page > .deck-step[id] {
    scroll-margin-block-start: max(0px, calc(var(--masthead-height, 5.65rem) - var(--mobile-scroll-padding)));
  }
}
@media (prefers-reduced-motion: no-preference) {
  .product-deck {
    --deck-viewport: 100vh;
    --card-overlap: max(0px, calc(var(--deck-viewport) - var(--header-height, 3.85rem)));
    isolation: isolate;
    overflow: clip;
  }
  @supports (height: 100svh) {
    .product-deck { --deck-viewport: 100svh; }
  }
  /* Keep each anchor in flow and let the next panel cover the reserved overlap. */
  .product-deck > .deck-step:not(:last-child) {
    margin-block-end: calc(-1 * var(--card-overlap));
  }
  .product-deck > .deck-step:not(:last-child)::after {
    content: '';
    display: block;
    block-size: var(--card-overlap);
  }
  .product-deck > .deck-step > section,
  .product-deck > .support-strip {
    position: relative;
    z-index: 1;
  }
  .product-deck > .deck-step > section:not(.hero),
  .product-deck > .support-strip {
    border-start-start-radius: 1.3rem;
    border-start-end-radius: 1.3rem;
    border-block-start: 1px solid #8a958052;
    overflow: clip;
  }
  .product-deck > .deck-step:not(:last-child) > section {
    position: sticky;
    inset-block-start: min(var(--header-height, 3.85rem), calc(var(--deck-viewport) - var(--card-height, var(--deck-viewport))));
  }
  .product-deck .showcase-row {
    border-top-color: transparent;
  }
}
@media (max-width: 660px) and (prefers-reduced-motion: no-preference) {
  .product-deck > .deck-step > section:not(.hero) {
    min-block-size: var(--card-overlap);
    align-content: center;
  }
  .product-deck > .support-strip { align-content: center; }
  .product-deck :is(.hero-copy, .hero-foot, .showcase-copy, .pilot-row, .journal-line, .invite-inner) {
    opacity: 1;
    translate: none;
    transition: none;
  }
}
