

.studio-home { isolation: isolate; }
.studio-home .shell { width: min(1360px, calc(100% - 96px)); }
html:has(.studio-home) { scroll-padding-block: var(--header-height) 0; }
html:has(.studio-home):not(.js-fullpage) { scroll-snap-type: y mandatory; }
html.js-fullpage { scroll-snap-type: none; scroll-behavior: auto; overscroll-behavior-y: none; }
@media (max-width: 900px), (pointer: coarse) {
  html:has(.studio-home),
  html.js-fullpage {
    scroll-snap-type: y mandatory;
    scroll-behavior: auto;
    overscroll-behavior-y: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.studio-home),
  html.js-fullpage {
    scroll-snap-type: none;
    overscroll-behavior-y: auto;
  }
}

/* Full-screen 100dvh monumental hero (Slide 1) */
.home-hero {
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-block: clamp(96px, 14vh, 160px) clamp(84px, 11vh, 124px);
}
.home-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.home-hero-kicker::before {
  content: "";
  width: 16px;
  height: 1px;
  background: var(--signal);
}
.home-hero h1 {
  margin: 20px 0 0;
  max-width: 14.5ch;
  color: var(--ink);
  font-size: clamp(56px, 8.8vw, 132px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: wrap;
}
.home-hero h1:is(:lang(zh), :lang(ja), :lang(ko)) {
  max-width: none;
  line-height: 1.1;
  letter-spacing: -.028em;
}
.home-hero h1:is(:lang(de), :lang(ru)) {
  font-size: clamp(46px, 6.8vw, 98px);
}
.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: .06em;
}
.hero-line > span { display: block; }

@keyframes hero-mask-rise {
  from { transform: translateY(108%); }
  to { transform: translateY(0); }
}
@keyframes hero-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-line > span { animation: hero-mask-rise .95s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-line:nth-child(2) > span { animation-delay: .1s; }
  .home-hero-kicker { animation: hero-fade-up .7s cubic-bezier(.16, 1, .3, 1) both; }
}

/* Featured Products Gallery — Fullpage Transparent Architectural Slides (Slides 2–4) */
.home-products {
  position: relative;
  overflow-x: clip;
  padding-top: 0;
  padding-bottom: 0;
  border-top: 0;
}
.home-section-title {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  z-index: 2;
  margin-block: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .12em;
  text-transform: uppercase;
  pointer-events: none;
}
.home-product-card {
  --stage-caption: var(--muted);
  --stage-shadow: rgb(0 0 0 / .72);
  --card-halo: #7f97c4;
  --card-halo-alpha: 15%;
  --card-shine: 255 255 255;
  --card-status: var(--signal);
  --preview-direction: 1;
  --preview-angle: 4deg;
  --preview-width: 220px;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  margin-bottom: 0;
  padding-block: clamp(64px, 7vh, 104px);
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.home-product-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  gap: clamp(48px, 5.5vw, 92px);
  align-items: center;
}
.studio-home .site-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100svh - var(--header-height));
  min-height: calc(100dvh - var(--header-height));
  margin-top: 0;
  border-top: 1px solid var(--line);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.studio-home .footer-hero-band {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(64px, 8vh, 120px) clamp(36px, 5vh, 64px);
}
/* Minimal right-edge fullpage progress indicator (desktop only, injected progressively) */
.home-pager {
  position: fixed;
  right: 22px;
  top: 50%;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateY(-50%);
}
.home-pager button {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.home-pager button::after {
  content: "";
  width: 2px;
  height: 12px;
  border-radius: 999px;
  background: var(--line-strong);
  transition: height .35s cubic-bezier(.16, 1, .3, 1), background-color .25s ease;
}
.home-pager button:hover::after { height: 18px; background: var(--ink); }
.home-pager button[aria-current="true"]::after { height: 26px; background: var(--signal); }
.home-product-card[data-product="tippace"] {
  --card-halo: #9fb5d6;
  --card-halo-alpha: 14%;
  --card-status: var(--muted);
}
.home-product-card[data-product="noisify"] {
  --card-halo: #c4a482;
  --card-halo-alpha: 15%;
  --card-status: var(--muted);
}
html:is([data-theme="light"], :not([data-theme]):has(#preview-light:checked)) .home-product-card {
  --stage-shadow: rgb(15 23 42 / .18);
  --card-halo: #6a84b8;
  --card-halo-alpha: 12%;
  --card-shine: 15 23 42;
}
html:is([data-theme="light"], :not([data-theme]):has(#preview-light:checked)) .home-product-card[data-product="tippace"] {
  --card-halo: #7890b4;
  --card-halo-alpha: 11%;
}
html:is([data-theme="light"], :not([data-theme]):has(#preview-light:checked)) .home-product-card[data-product="noisify"] {
  --card-halo: #b8946e;
  --card-halo-alpha: 13%;
}
.home-product-card[data-preview-direction="left"] { --preview-direction: -1; }

.home-product-art {
  order: 1;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 24px;
  width: 100%;
  min-width: 0;
  min-height: 520px;
  padding: clamp(28px, 3.2vw, 44px) clamp(16px, 2vw, 28px) 16px;
  overflow: visible;
  background: transparent;
}
/* Soft ambient studio bloom floating directly over the live water canvas */
.home-phone-halo {
  position: absolute;
  z-index: -1;
  inset: -10% -8%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 42% 8% at 50% 84%, var(--stage-shadow), transparent 72%),
    radial-gradient(ellipse 62% 58% at 50% 46%, color-mix(in srgb, var(--card-halo) var(--card-halo-alpha), transparent), transparent 70%);
}
.home-stage-cluster {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  flex: none;
}
.home-preview-motion {
  position: relative;
  z-index: 3;
  width: min(var(--preview-width), 100%);
  flex: none;
}
.home-preview-motion .device {
  width: 100%;
  --device-radius: 32px;
  margin: 0;
  box-shadow: inset 0 0 0 2px #ffffff38, 0 34px 72px -18px rgb(0 0 0 / .72), 4px 12px 24px rgb(0 0 0 / .3);
}
html:is([data-theme="light"], :not([data-theme]):has(#preview-light:checked)) .home-preview-motion .device {
  box-shadow: inset 0 0 0 2px #ffffff55, 0 30px 64px -20px rgb(15 23 42 / .26), 0 8px 20px rgb(15 23 42 / .1);
}
/* Flanking 2 items: tucked subtly at rest, fanning open automatically when scrolled to viewport center */
.home-flank {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  transform-origin: center 72%;
  opacity: .84;
  transition: transform 1.05s cubic-bezier(.16, 1, .3, 1), opacity .85s ease;
}
.home-flank-left { transform: translate3d(-134px, 18px, 0) rotate(-7.5deg) scale(.94); }
.home-flank-right { transform: translate3d(134px, 16px, 0) rotate(7.5deg) scale(.94); }
@media (prefers-reduced-motion: no-preference) {
  html.js-motion .home-flank { opacity: .68; }
  html.js-motion .home-flank-left { transform: translate3d(-96px, 24px, 0) rotate(-4.5deg) scale(.88); }
  html.js-motion .home-flank-right { transform: translate3d(96px, 22px, 0) rotate(4.5deg) scale(.88); }
  html.js-motion .home-product-card.is-fanned .home-flank { opacity: 1; }
  html.js-motion .home-product-card.is-fanned .home-flank-left { transform: translate3d(-176px, -4px, 0) rotate(-10.5deg) scale(1); }
  html.js-motion .home-product-card.is-fanned .home-flank-right { transform: translate3d(176px, -2px, 0) rotate(10.5deg) scale(1); }
}
.flank-phone {
  width: var(--preview-width);
  padding: 8px;
  border-radius: 32px;
  border: 1px solid #595e66;
  background: linear-gradient(145deg, #4b4f56, #1b1e23 40%, #0f1114);
  box-shadow: inset 0 0 0 1px #ffffff2a, 0 26px 52px -16px rgb(0 0 0 / .68);
}
.flank-screen {
  overflow: hidden;
  border-radius: 25px;
  background: #0b0c0e;
  aspect-ratio: 390 / 844;
}
.flank-screen img { width: 100%; height: 100%; object-fit: cover; }
.flank-screen .screen-light { display: none; }
html:is([data-theme="light"], :not([data-theme]):has(#preview-light:checked)) .flank-screen .screen-dark { display: none; }
html:is([data-theme="light"], :not([data-theme]):has(#preview-light:checked)) .flank-screen .screen-light { display: block; }
.flank-noisify .flank-screen { background: #0d0e10; }
html:is([data-theme="light"], :not([data-theme]):has(#preview-light:checked)) .flank-noisify .flank-screen { background: #f7f5f1; }
html:is([data-theme="light"], :not([data-theme]):has(#preview-light:checked)) .flank-phone {
  box-shadow: inset 0 0 0 1px #ffffff55, 0 24px 48px -18px rgb(15 23 42 / .24);
}
.flank-watch { width: 176px; }
.flank-watch .watch-frame { margin: 0; padding-block: 28px; }
.flank-watch .watch-case { padding: 8px; border-radius: 38px; }
.flank-watch .watch-screen { border-radius: 29px; }
.home-product-art figcaption {
  color: var(--stage-caption);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .03em;
  text-align: center;
  opacity: .85;
}

/* Right editorial column — pure borderless Swiss typography matching the Hero */
.home-product-copy {
  order: 2;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto auto auto auto;
  column-gap: 16px;
  min-width: 0;
  padding: 0;
  background: transparent;
}
.home-identity {
  grid-area: 1 / 1;
  justify-self: start;
  display: flex;
  align-items: center;
  align-self: center;
  gap: 12px;
  font-size: clamp(20px, 1.55vw, 22px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.home-identity img { width: 36px; height: 36px; flex: none; border-radius: 9px; box-shadow: 0 0 0 1px var(--pill-border); }
.home-status {
  grid-area: 1 / 2;
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .02em;
  white-space: nowrap;
}
.home-status > span { width: 6px; height: 6px; flex: none; border-radius: 50%; background: var(--card-status); }
.home-product-card[data-product="liftself"] .home-status > span { box-shadow: 0 0 10px var(--signal); }
.home-product-copy h2 {
  grid-area: 2 / 1 / auto / -1;
  align-self: start;
  margin-top: 28px;
  color: var(--ink);
  font-size: clamp(34px, 3.6vw, 54px);
  line-height: 1.08;
  letter-spacing: -.042em;
  text-wrap: balance;
}
.home-product-copy h2:is(:lang(zh), :lang(ja), :lang(ko)) {
  line-height: 1.16;
  letter-spacing: -.028em;
}
.home-product-description {
  grid-area: 3 / 1 / auto / -1;
  max-width: 40ch;
  margin-top: 18px;
  color: var(--concrete);
  font-size: 16px;
  line-height: 1.72;
}
.home-principles {
  grid-area: 4 / 1 / auto / -1;
  align-self: start;
  width: fit-content;
  margin-top: 20px;
  margin-bottom: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: .04em;
}
.home-actions {
  grid-area: 5 / 1 / auto / -1;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.home-button { min-height: 46px; padding: 8px 22px; border-radius: 4px; font-size: 13.5px; }
.home-button svg { width: 16px; height: 16px; }
.home-platforms {
  grid-area: 6 / 1 / auto / -1;
  margin-top: 16px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .03em;
  opacity: .85;
}

.home-motion-card { position: relative; isolation: isolate; }
.home-card-shine {
  position: absolute;
  inset: -1px 0 0;
  z-index: -1;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(700px circle at var(--shine-x, 50%) var(--shine-y, 50%), rgb(var(--card-shine) / .042), transparent 62%);
  transition: opacity .45s ease;
}
.home-card-shine::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: radial-gradient(460px circle at var(--shine-x, 50%) 0, rgb(var(--card-shine) / .52), transparent 72%);
}
@media (prefers-reduced-motion: no-preference) {
  .home-preview-motion {
    transform: rotate(calc(var(--preview-direction) * var(--preview-angle)));
    transition: transform .95s cubic-bezier(.16, 1, .3, 1);
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .home-motion-card .home-product-inner {
    transform: perspective(2200px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform .9s cubic-bezier(.16, 1, .3, 1);
  }
  .home-motion-card.is-tracking .home-product-inner { transition-duration: .26s; will-change: transform; }
  .home-motion-card.is-tracking > .home-card-shine { opacity: 1; }
  .home-product-card:is(:hover, :focus-within) .home-preview-motion { transform: translateY(-10px) scale(1.015); }
}

@media (max-width: 1180px) {
  .home-product-card { --preview-width: 204px; }
  .home-product-inner { gap: 40px; }
  .flank-watch { width: 162px; }
  .home-flank-left { transform: translate3d(-112px, 16px, 0) rotate(-7deg) scale(.94); }
  .home-flank-right { transform: translate3d(112px, 14px, 0) rotate(7deg) scale(.94); }
  html.js-motion .home-flank-left { transform: translate3d(-82px, 20px, 0) rotate(-4.5deg) scale(.86); }
  html.js-motion .home-flank-right { transform: translate3d(82px, 18px, 0) rotate(4.5deg) scale(.86); }
  html.js-motion .home-product-card.is-fanned .home-flank-left { transform: translate3d(-144px, -4px, 0) rotate(-9.5deg) scale(1); }
  html.js-motion .home-product-card.is-fanned .home-flank-right { transform: translate3d(144px, -2px, 0) rotate(9.5deg) scale(1); }
}
@media (max-width: 1000px) {
  .studio-home .shell { width: calc(100% - 48px); }
  .home-product-art { overflow: clip; }
}
@media (max-width: 900px) {
  .home-pager { display: none; }
  .home-product-card { min-height: calc(100svh - var(--header-height)); min-height: calc(100dvh - var(--header-height)); padding-block: 68px 80px; }
  .home-product-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .home-product-art { height: auto; min-height: 400px; }
  .home-product-copy { grid-template-rows: auto auto auto auto auto auto; padding: 0; }
  .home-product-copy h2 { align-self: start; margin-top: 22px; }
  .home-principles { margin-bottom: 24px; }
  .home-status { text-align: start; white-space: normal; }
}
@media (max-width: 767px) {
  .studio-home .shell { width: calc(100% - 28px); }
  .home-hero {
    min-height: calc(100svh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    padding-top: 40px;
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .home-hero h1 { margin-top: 12px; font-size: clamp(44px, 12.8vw, 58px); }
  .home-hero h1:is(:lang(de), :lang(ru)) { font-size: clamp(36px, 10vw, 46px); }
  .home-products { padding-top: 0; padding-bottom: 0; }
  .studio-home .home-section-title {
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .home-product-card {
    --preview-width: 112px;
    --preview-angle: 2.5deg;
    min-height: calc(100svh - var(--header-height));
    min-height: calc(100dvh - var(--header-height));
    padding-block: 18px calc(52px + env(safe-area-inset-bottom));
  }
  .home-product-inner { gap: 12px; }
  .home-preview-motion .device { padding: 4px; --device-radius: 20px; }
  .home-flank { opacity: .74; }
  .flank-phone { padding: 4px; border-radius: 20px; }
  .flank-screen { border-radius: 16px; }
  .flank-watch { width: 92px; }
  .flank-watch .watch-frame { padding-block: 12px; }
  .flank-watch .watch-case { padding: 4px; border-radius: 20px; }
  .flank-watch .watch-screen { border-radius: 15px; }
  .home-flank-left { transform: translate3d(-54px, 12px, 0) rotate(-6deg) scale(.84); }
  .home-flank-right { transform: translate3d(54px, 10px, 0) rotate(6deg) scale(.84); }
  html.js-motion .home-flank { opacity: .54; }
  html.js-motion .home-flank-left { transform: translate3d(-32px, 14px, 0) rotate(-3deg) scale(.76); }
  html.js-motion .home-flank-right { transform: translate3d(32px, 12px, 0) rotate(3deg) scale(.76); }
  html.js-motion .home-product-card.is-fanned .home-flank { opacity: .9; }
  html.js-motion .home-product-card.is-fanned .home-flank-left { transform: translate3d(-62px, 8px, 0) rotate(-7deg) scale(.86); }
  html.js-motion .home-product-card.is-fanned .home-flank-right { transform: translate3d(62px, 6px, 0) rotate(7deg) scale(.86); }
  .home-product-art { min-height: 0; padding: 10px 8px 2px; gap: 8px; }
  .home-product-art figcaption { font-size: 10.5px; line-height: 1.35; }
  .home-phone-halo { inset: -8% -4%; }
  .home-product-copy { grid-template-columns: auto minmax(0, 1fr); grid-template-rows: repeat(6, auto); column-gap: 10px; padding: 0 2px; }
  .home-identity { grid-area: 1 / 1; padding-bottom: 0; gap: 8px; font-size: 16.5px; }
  .home-identity img { width: 26px; height: 26px; border-radius: 7px; }
  .home-status { grid-area: 1 / 2; justify-self: end; align-self: center; justify-content: flex-start; max-width: 100%; font-size: 10px; text-align: start; white-space: normal; }
  .home-product-copy h2 { grid-area: 2 / 1 / auto / -1; margin-top: 8px; font-size: clamp(22px, 6.2vw, 26px); line-height: 1.16; }
  .home-product-description { grid-area: 3 / 1 / auto / -1; margin-top: 6px; font-size: 13px; line-height: 1.48; }
  .home-principles { grid-area: 4 / 1 / auto / -1; width: fit-content; max-width: 100%; margin-top: 8px; margin-bottom: 12px; font-size: 10.5px; line-height: 1.4; }
  .home-actions { grid-area: 5 / 1 / auto / -1; display: flex; flex-wrap: wrap; gap: 8px; }
  .home-button { min-height: 40px; padding: 6px 16px; font-size: 13.5px; }
  .home-platforms { grid-area: 6 / 1 / auto / -1; margin-top: 8px; font-size: 10.5px; }
}
@media (max-width: 370px) {
  .home-product-card { --preview-width: 104px; }
  .flank-watch { width: 82px; }
  .home-flank-left { transform: translate3d(-48px, 10px, 0) rotate(-6deg) scale(.82); }
  .home-flank-right { transform: translate3d(48px, 8px, 0) rotate(6deg) scale(.82); }
  html.js-motion .home-flank-left { transform: translate3d(-28px, 12px, 0) rotate(-3deg) scale(.74); }
  html.js-motion .home-flank-right { transform: translate3d(28px, 10px, 0) rotate(3deg) scale(.74); }
  html.js-motion .home-product-card.is-fanned .home-flank-left { transform: translate3d(-54px, 6px, 0) rotate(-6.5deg) scale(.84); }
  html.js-motion .home-product-card.is-fanned .home-flank-right { transform: translate3d(54px, 4px, 0) rotate(6.5deg) scale(.84); }
  .home-product-copy { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(7, auto); padding: 0; }
  .home-identity { grid-area: 1 / 1; }
  .home-status { grid-area: 2 / 1; justify-self: start; margin-top: 6px; }
  .home-product-copy h2 { grid-area: 3 / 1; margin-top: 8px; }
  .home-product-description { grid-area: 4 / 1; }
  .home-principles { grid-area: 5 / 1; }
  .home-actions { grid-area: 6 / 1; }
  .home-platforms { grid-area: 7 / 1; }
}
@media print {
  .home-particles, .home-card-shine { display: none; }
  .home-motion-card .home-product-inner, .home-preview-motion { transform: none; }
  .home-hero { min-height: 0; padding-block: 48px; }
}
