

.studio-home { isolation: isolate; }
.studio-home .shell { width: min(1360px, calc(100% - 96px)); }

/* Full-screen 100svh monumental hero (e15e33f poise + basement typography) */
.home-hero {
  min-height: calc(100svh - var(--header-height));
  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 — Architectural Exhibition Chapters */
.home-products {
  padding-top: clamp(96px, 11vw, 152px);
  padding-bottom: clamp(72px, 8vw, 128px);
  border-top: 1px solid var(--header-border);
}
.home-section-title {
  margin-bottom: clamp(32px, 4vw, 48px);
  color: var(--ink);
  font-size: clamp(40px, 4.8vw, 68px);
  line-height: 1.04;
  letter-spacing: -.045em;
}
.home-product-card {
  --stage-bg: radial-gradient(ellipse 76% 60% at 50% 22%, #1d2028 0%, #0d0e12 56%, #070709 100%);
  --copy-bg: linear-gradient(165deg, #0b0b0d 0%, #060607 100%);
  --card-border: rgb(255 255 255 / .085);
  --card-divider: rgb(255 255 255 / .065);
  --card-specular: rgb(255 255 255 / .11);
  --spec-bg: rgb(255 255 255 / .028);
  --spec-rule: rgb(255 255 255 / .26);
  --stage-dots: rgb(255 255 255 / .065);
  --stage-caption: #8e929c;
  --stage-light: rgb(255 255 255 / .055);
  --stage-shadow: #010103;
  --card-halo: #96a4c2;
  --card-shine: 255 255 255;
  --card-status: var(--signal);
  --reticle: rgb(255 255 255 / .2);
  --preview-direction: 1;
  --preview-angle: 4deg;
  --preview-width: 220px;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
  gap: 1px;
  align-items: stretch;
  margin-bottom: clamp(28px, 3.6vw, 44px);
  overflow: hidden;
  border: 1px solid var(--card-border);
  border-radius: 14px;
  background: var(--card-divider);
  box-shadow: inset 0 1px 0 var(--card-specular), 0 36px 80px -44px rgb(0 0 0 / .88);
  transition: border-color .35s ease, box-shadow .35s ease;
}
.home-product-card:last-child { margin-bottom: 0; }
.home-product-card:hover {
  border-color: rgb(255 255 255 / .18);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .18), 0 42px 96px -42px rgb(0 0 0 / .94);
}
.home-product-card[data-product="tippace"] {
  --stage-bg: radial-gradient(ellipse 76% 62% at 50% 22%, #23262d 0%, #111317 56%, #08090b 100%);
  --stage-caption: #9498a2;
  --stage-light: rgb(255 255 255 / .065);
  --stage-shadow: #020204;
  --card-halo: #c4ccd9;
  --card-status: var(--muted);
}
.home-product-card[data-product="noisify"] {
  --stage-bg: radial-gradient(ellipse 76% 60% at 50% 22%, #211d1a 0%, #0f0d0c 56%, #080706 100%);
  --stage-caption: #9e968e;
  --stage-light: rgb(255 244 232 / .055);
  --stage-shadow: #040302;
  --card-halo: #c7b4a0;
  --card-status: var(--muted);
}
html:is([data-theme="light"], :not([data-theme]):has(#preview-light:checked)) .home-product-card {
  --stage-bg: radial-gradient(ellipse 82% 68% at 50% 22%, #f4f5f7 0%, #e9ebef 100%);
  --copy-bg: linear-gradient(165deg, #ffffff 0%, #fbfbfc 100%);
  --card-border: rgb(0 0 0 / .085);
  --card-divider: rgb(0 0 0 / .065);
  --card-specular: rgb(255 255 255 / .95);
  --spec-bg: rgb(0 0 0 / .028);
  --spec-rule: rgb(0 0 0 / .22);
  --stage-dots: rgb(0 0 0 / .065);
  --stage-caption: #585b63;
  --stage-light: rgb(255 255 255 / .72);
  --stage-shadow: rgb(15 23 42 / .16);
  --card-halo: #aeb5c2;
  --card-shine: 100 106 120;
  --reticle: rgb(0 0 0 / .16);
  box-shadow: inset 0 1px 0 var(--card-specular), 0 24px 64px -38px rgb(0 0 0 / .12);
}
html:is([data-theme="light"], :not([data-theme]):has(#preview-light:checked)) .home-product-card:hover {
  border-color: rgb(0 0 0 / .16);
  box-shadow: inset 0 1px 0 var(--card-specular), 0 32px 72px -34px rgb(0 0 0 / .16);
}
html:is([data-theme="light"], :not([data-theme]):has(#preview-light:checked)) .home-product-card[data-product="tippace"] {
  --stage-bg: radial-gradient(ellipse 82% 68% at 50% 22%, #f5f5f6 0%, #ebecee 100%);
  --stage-caption: #575a61;
  --card-halo: #b8bcc4;
}
html:is([data-theme="light"], :not([data-theme]):has(#preview-light:checked)) .home-product-card[data-product="noisify"] {
  --stage-bg: radial-gradient(ellipse 82% 68% at 50% 22%, #f5f3ef 0%, #ebe6df 100%);
  --stage-caption: #605850;
  --card-halo: #c4b8aa;
}
.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: 20px;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 540px;
  padding: clamp(36px, 4.2vw, 52px) clamp(24px, 3vw, 44px) 24px;
  overflow: hidden;
  background: var(--stage-bg);
}
/* Precision studio micro-dot backdrop */
.home-product-art::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(var(--stage-dots) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse 72% 72% at 50% 48%, #000 18%, transparent 82%);
  -webkit-mask-image: radial-gradient(ellipse 72% 72% at 50% 48%, #000 18%, transparent 82%);
}
/* Subtle corner reticles */
.home-product-art::after {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 4;
  pointer-events: none;
  --b: 1px;
  --w: 8px;
  --_g: transparent 90deg, var(--reticle) 0;
  --_p: var(--w) var(--w) border-box no-repeat;
  background:
    conic-gradient(from 90deg at top var(--b) left var(--b), var(--_g)) 0 0 / var(--_p),
    conic-gradient(from 180deg at top var(--b) right var(--b), var(--_g)) 100% 0 / var(--_p),
    conic-gradient(from 0deg at bottom var(--b) left var(--b), var(--_g)) 0 100% / var(--_p),
    conic-gradient(from -90deg at bottom var(--b) right var(--b), var(--_g)) 100% 100% / var(--_p);
  transition: opacity .35s ease;
}
.home-product-card:hover .home-product-art { --reticle: var(--signal); }
.home-phone-halo {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 46% 10% at 50% 89%, var(--stage-shadow), transparent),
    linear-gradient(135deg, transparent 22%, var(--stage-light) 49%, transparent 74%),
    radial-gradient(ellipse 64% 68% at 50% 32%, color-mix(in srgb, var(--card-halo) 16%, transparent), transparent 74%);
}
.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 30px 64px -18px rgb(0 0 0 / .72), 4px 10px 20px rgb(0 0 0 / .32);
}
/* Flanking 2 items matching center phone proportions, fanning smoothly on hover */
.home-flank {
  position: absolute;
  z-index: 2;
  pointer-events: none;
  transform-origin: center 72%;
  opacity: .88;
  transition: transform 1.05s cubic-bezier(.16, 1, .3, 1), opacity .8s ease, filter .8s 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); }
.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 24px 48px -14px 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 22px 44px -16px rgb(15 23 42 / .28);
}
.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: .02em;
  text-align: center;
}

/* Right editorial chamber — optically centered statement, zero awkward empty hole */
.home-product-copy {
  order: 2;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto 1fr auto 1fr auto auto;
  column-gap: 16px;
  min-width: 0;
  padding: clamp(30px, 3.6vw, 48px);
  background: var(--copy-bg);
}
.home-identity {
  grid-area: 1 / 1;
  justify-self: start;
  display: flex;
  align-items: center;
  align-self: center;
  gap: 12px;
  font-size: clamp(20px, 1.6vw, 23px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.home-identity img { width: 34px; height: 34px; flex: none; border-radius: 8px; 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: 5px 11px;
  border: 1px solid var(--pill-border);
  border-radius: 999px;
  background: var(--spec-bg);
  color: var(--concrete);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1.4;
  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: end;
  margin-top: 28px;
  font-size: clamp(28px, 2.9vw, 42px);
  line-height: 1.12;
  letter-spacing: -.038em;
  text-wrap: wrap;
}
.home-product-description {
  grid-area: 3 / 1 / auto / -1;
  max-width: 39ch;
  margin-top: 16px;
  color: var(--concrete);
  font-size: 15.5px;
  line-height: 1.72;
}
.home-principles {
  grid-area: 4 / 1 / auto / -1;
  align-self: start;
  width: fit-content;
  margin-top: 24px;
  margin-bottom: 28px;
  padding: 7px 12px;
  border-left: 1px solid var(--spec-rule);
  border-radius: 0 4px 4px 0;
  background: var(--spec-bg);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .04em;
}
.home-actions {
  grid-area: 5 / 1 / auto / -1;
  align-self: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.home-button { min-height: 46px; padding: 8px 20px; border-radius: 6px; font-size: 13px; }
.home-button svg { width: 16px; height: 16px; }
.home-platforms {
  grid-area: 6 / 1 / auto / -1;
  margin-top: 14px;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .02em;
}

.home-motion-card { position: relative; isolation: isolate; }
.home-card-shine {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(620px circle at var(--shine-x, 50%) var(--shine-y, 50%), rgb(var(--card-shine) / .065), transparent 62%);
  transition: opacity .35s ease;
}
.home-card-shine::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: radial-gradient(400px circle at var(--shine-x, 50%) 0, rgb(var(--card-shine) / .6), transparent 70%);
}
@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 {
    transform: perspective(1800px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg));
    transition: transform .85s cubic-bezier(.16, 1, .3, 1);
  }
  .home-motion-card.is-tracking { transition-duration: .24s; 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); }
  .home-product-card:is(:hover, :focus-within) .home-flank-left { opacity: 1; transform: translate3d(-174px, -4px, 0) rotate(-10.5deg) scale(1); }
  .home-product-card:is(:hover, :focus-within) .home-flank-right { opacity: 1; transform: translate3d(174px, -2px, 0) rotate(10.5deg) scale(1); }
}

@media (max-width: 1180px) {
  .home-product-card { --preview-width: 204px; }
  .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); }
  .home-product-card:is(:hover, :focus-within) .home-flank-left { transform: translate3d(-138px, -4px, 0) rotate(-9.5deg) scale(1); }
  .home-product-card:is(:hover, :focus-within) .home-flank-right { transform: translate3d(138px, -2px, 0) rotate(9.5deg) scale(1); }
}
@media (max-width: 1000px) {
  .studio-home .shell { width: calc(100% - 48px); }
}
@media (max-width: 900px) {
  .home-product-card { grid-template-columns: minmax(0, 1fr); }
  .home-product-art { height: auto; min-height: 440px; }
  .home-product-copy { grid-template-rows: auto auto auto auto auto auto; padding: 28px 26px 30px; }
  .home-product-copy h2 { align-self: start; margin-top: 22px; }
  .home-principles { margin-bottom: 24px; }
  .home-status { text-align: end; white-space: normal; }
}
@media (max-width: 767px) {
  .studio-home .shell { width: calc(100% - 28px); }
  .home-hero { min-height: clamp(440px, 74svh, 620px); padding-top: 72px; padding-bottom: 52px; }
  .home-hero h1 { margin-top: 14px; font-size: clamp(40px, 11vw, 54px); }
  .home-hero h1:is(:lang(de), :lang(ru)) { font-size: clamp(32px, 8.8vw, 44px); }
  .home-products { padding-top: 52px; padding-bottom: 48px; }
  .home-section-title { margin-bottom: 24px; font-size: clamp(28px, 8vw, 38px); }
  .home-product-card { --preview-width: 148px; --preview-angle: 3deg; margin-bottom: 22px; border-radius: 12px; }
  .home-preview-motion .device { padding: 6px; --device-radius: 22px; }
  .flank-phone { padding: 5px; border-radius: 22px; }
  .flank-screen { border-radius: 17px; }
  .flank-watch { width: 118px; }
  .flank-watch .watch-frame { padding-block: 16px; }
  .flank-watch .watch-case { padding: 5px; border-radius: 24px; }
  .flank-watch .watch-screen { border-radius: 18px; }
  .home-flank-left { transform: translate3d(-76px, 14px, 0) rotate(-6.5deg) scale(.92); }
  .home-flank-right { transform: translate3d(76px, 12px, 0) rotate(6.5deg) scale(.92); }
  .home-product-art { min-height: 0; padding: 28px 16px 18px; gap: 16px; }
  .home-product-art::after { inset: 10px; }
  .home-product-copy { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(7, auto); padding: 20px 18px 22px; }
  .home-identity { grid-area: 1 / 1; padding-bottom: 0; }
  .home-status { grid-area: 2 / 1; justify-self: start; justify-content: flex-start; text-align: start; margin-top: 10px; margin-bottom: 0; }
  .home-product-copy h2 { grid-area: 3 / 1; margin-top: 18px; font-size: clamp(24px, 6.8vw, 30px); text-wrap: balance; }
  .home-product-description { grid-area: 4 / 1; margin-top: 10px; font-size: 14.5px; line-height: 1.65; }
  .home-principles { grid-area: 5 / 1; width: 100%; margin-top: 16px; margin-bottom: 18px; }
  .home-actions { grid-area: 6 / 1; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .home-button { width: 100%; }
  .home-platforms { grid-area: 7 / 1; margin-top: 12px; }
}
@media (max-width: 370px) {
  .home-product-card { --preview-width: 126px; }
  .flank-watch { width: 102px; }
  .home-flank-left { transform: translate3d(-62px, 12px, 0) rotate(-6deg) scale(.9); }
  .home-flank-right { transform: translate3d(62px, 10px, 0) rotate(6deg) scale(.9); }
}
@media print {
  .home-particles, .home-card-shine { display: none; }
  .home-motion-card, .home-preview-motion { transform: none; }
  .home-hero { min-height: 0; padding-block: 48px; }
}
