:root { --stelato-bg: #000; --stelato-panel: #161616; }

body[data-page="stelato"] { background: var(--stelato-bg); }

.stelato-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #050505;
  isolation: isolate;
}

.stelato-hero picture,
.stelato-hero picture::after,
.stelato-hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; }
.stelato-hero picture { z-index: -1; }
.stelato-hero picture::after {
  content: "";
  background: linear-gradient(180deg, rgb(0 0 0 / 48%) 0%, transparent 36%, transparent 64%, rgb(0 0 0 / 36%) 100%);
}
.stelato-hero picture img { object-fit: cover; object-position: center; }
.stelato-hero__copy {
  position: absolute;
  top: calc(var(--header) + clamp(36px, 7vh, 92px));
  left: 50%;
  width: min(90vw, 900px);
  color: #fff;
  text-align: center;
  transform: translateX(-50%);
  text-shadow: 0 2px 24px rgb(0 0 0 / 42%);
}
.stelato-hero__copy h1 { margin: 0; font-size: clamp(44px, 5vw, 82px); font-weight: 520; letter-spacing: -.045em; line-height: 1; }
.stelato-hero__copy p { margin: 18px 0 0; font-size: clamp(16px, 1.5vw, 24px); font-weight: 450; letter-spacing: .04em; }

.stelato-page { color: #fff; background: var(--stelato-bg); }
.stelato-series {
  position: relative;
  min-height: 100svh;
  padding: clamp(96px, 11vh, 132px) clamp(22px, 3.5vw, 68px) clamp(44px, 6vh, 74px);
  overflow: hidden;
  background: var(--stelato-bg);
}
.stelato-series__wrap { position: relative; width: min(100%, 1780px); margin: 0 auto; }
.stelato-series h2 { margin: 0 0 clamp(26px, 4vh, 54px); font-size: clamp(34px, 3.2vw, 62px); font-weight: 650; line-height: 1.08; letter-spacing: -.045em; }
.stelato-series__card { display: grid; min-height: min(68vh, 760px); grid-template-columns: minmax(0, 1.7fr) minmax(360px, .95fr); background: var(--stelato-panel); }
.stelato-series__gallery { display: grid; min-width: 0; grid-template-rows: minmax(0, 1fr) auto; gap: 6px; }
.stelato-series__main { min-height: 0; overflow: hidden; background: #0c0c0c; }
.stelato-series__main img { display: block; width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.stelato-series__tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.stelato-series__tabs button { min-width: 0; padding: 0 0 10px; border: 0; color: #a4a4a7; background: transparent; cursor: pointer; text-align: left; }
.stelato-series__tabs button img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .66; transition: opacity .25s ease; }
.stelato-series__tabs button span { position: relative; display: inline-block; margin-top: 10px; font-size: clamp(13px, 1vw, 18px); }
.stelato-series__tabs button span::after { position: absolute; left: 0; bottom: -8px; width: 30px; height: 2px; content: ""; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s ease; }
.stelato-series__tabs button[aria-selected="true"] { color: #fff; }
.stelato-series__tabs button[aria-selected="true"] img { opacity: 1; }
.stelato-series__tabs button[aria-selected="true"] span::after { transform: scaleX(1); }
.stelato-series__tabs button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.stelato-series__info { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(34px, 4vw, 74px); }
.stelato-series__info h3 { margin: 0; font-size: clamp(32px, 3vw, 58px); font-weight: 480; line-height: 1.12; letter-spacing: -.04em; }
.stelato-series__tagline { margin: 12px 0 0; color: #e7e7e8; font-size: clamp(17px, 1.35vw, 25px); line-height: 1.35; }
.stelato-series__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 34px); margin-top: clamp(38px, 6vh, 78px); }
.stelato-series__stat { display: flex; min-width: 0; flex-direction: column; }
.stelato-series__stat span { display: block; min-height: 3.7em; color: #a3a3a7; font-size: clamp(11px, .8vw, 14px); line-height: 1.45; }
.stelato-series__stat p { margin: auto 0 0; padding-top: 8px; font-size: clamp(24px, 2.1vw, 40px); line-height: 1; white-space: nowrap; }
.stelato-series__stat small { font-size: .38em; font-weight: 500; }
.stelato-series__price { margin: auto 0 20px; padding-top: clamp(44px, 8vh, 98px); font-size: clamp(15px, 1.2vw, 22px); font-weight: 600; }
.stelato-series__action { align-self: flex-start; min-width: 112px; padding: 13px 25px; border-radius: 999px; color: #0a0a0a; background: #fff; font-size: 13px; font-weight: 700; text-align: center; transition: transform .25s ease, background .25s ease; }
.stelato-series__action:hover { transform: translateY(-2px); background: #ecebea; }
.stelato-series__action:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
.stelato-series__number { position: absolute; right: 14px; bottom: -42px; color: rgb(255 255 255 / 5%); font-size: clamp(96px, 14vw, 240px); font-weight: 750; line-height: 1; pointer-events: none; }

@media (max-width: 900px) {
  .stelato-series__card { grid-template-columns: minmax(0, 1.45fr) minmax(300px, .9fr); }
  .stelato-series__info { padding: 30px; }
}

@media (max-width: 720px) {
  .stelato-hero { min-height: 100svh; }
  .stelato-hero picture img { object-position: center; }
  .stelato-hero__copy { top: calc(var(--header) + 32px); }
  .stelato-hero__copy h1 { font-size: clamp(38px, 12vw, 52px); }
  .stelato-hero__copy p { margin-top: 12px; font-size: 15px; }
  .stelato-series { min-height: auto; padding: 94px 16px 46px; }
  .stelato-series h2 { margin-bottom: 24px; font-size: clamp(32px, 10vw, 44px); }
  .stelato-series__card { display: block; min-height: 0; }
  .stelato-series__main img { min-height: 0; aspect-ratio: 16 / 10; }
  .stelato-series__tabs { gap: 4px; }
  .stelato-series__tabs button { padding-bottom: 12px; }
  .stelato-series__tabs button span { margin-top: 8px; font-size: 11px; }
  .stelato-series__info { padding: 34px 20px 38px; }
  .stelato-series__info h3 { font-size: clamp(30px, 9vw, 42px); }
  .stelato-series__tagline { font-size: 16px; }
  .stelato-series__stats { gap: 12px; margin-top: 34px; }
  .stelato-series__stat span { min-height: 5.6em; font-size: 10px; }
  .stelato-series__stat p { font-size: clamp(20px, 7vw, 29px); }
  .stelato-series__price { margin-top: 44px; padding-top: 0; font-size: 14px; }
  .stelato-series__number { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .stelato-series__action,
  .stelato-series__tabs button img,
  .stelato-series__tabs button span::after { transition: none; }
}

.stelato-hero__footer {
  position: absolute;
  left: 50%;
  bottom: clamp(34px, 6vh, 72px);
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  transform: translateX(-50%);
  text-shadow: 0 2px 18px rgb(0 0 0 / 60%);
}
.stelato-hero__footer p { margin: 0; font-size: clamp(14px, 1.1vw, 19px); font-weight: 600; white-space: nowrap; }
.stelato-hero__footer a { min-width: 112px; padding: 12px 24px; border-radius: 999px; color: #090909; background: #fff; font-size: 13px; font-weight: 700; text-align: center; text-shadow: none; }
.stelato-hero__footer a:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }
@media (max-width: 720px) {
  .stelato-hero__footer { bottom: 30px; width: calc(100% - 32px); flex-direction: column; gap: 12px; }
  .stelato-hero__footer p { white-space: normal; text-align: center; }
  .stelato-series__stats { align-items: stretch; }
  .stelato-series__stat span { overflow-wrap: anywhere; }
}
