/* HotSki — home (template 1). Blocks in the order of logic/NEW_MAP.md §1 (coolzone home skeleton). */

/* ---------- B2 hero: layers bg · brand word · cut-out skier · snow · callouts ---------- */
.hero { position: relative; overflow: hidden; background: #2f6fd0; color: var(--ink); }
.hero__stage { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 100vh; min-height: 640px; overflow: hidden; }
.hero__layer { position: absolute; inset: 0; will-change: transform; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__blur { opacity: 0; }
.hero__wordwrap { pointer-events: none; }
.hero__word {
  position: absolute; left: 0; right: 0; top: 7.5%; text-align: center; white-space: nowrap;
  font-family: var(--f-disp); font-weight: 900; font-size: 30.5vw; line-height: 0.78; letter-spacing: -0.015em;
  color: rgba(255, 255, 255, 0.92); text-transform: uppercase;
}
.hero__word .ch { display: inline-block; will-change: transform; }
.hero__fg { pointer-events: none; }
.hero__snow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 3; }
.hero__callouts { z-index: 4; pointer-events: none; }

/* callout (R12 f_018): red dot with a white ring on the item -> line (two segments) -> glass pill with the item */
.co { position: absolute; left: var(--x); top: var(--y); pointer-events: auto; }
.co__dot { position: absolute; left: -9px; top: -9px; width: 18px; height: 18px; border-radius: 50%; background: rgba(255,255,255,0.95); box-shadow: 0 0 0 6px rgba(255,255,255,0.28), 0 4px 16px rgba(0,0,0,0.25); display: grid; place-items: center; cursor: pointer; }
.co__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.co__dot::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.8); animation: coPulse 2.6s ease-out infinite; }
@keyframes coPulse { 0% { transform: scale(0.6); opacity: 0.9; } 80%, 100% { transform: scale(1.7); opacity: 0; } }
.co__seg { position: absolute; left: 0; top: 0; height: 1.5px; background: rgba(255,255,255,0.95); transform-origin: 0 50%; box-shadow: 0 0 6px rgba(0,0,0,0.12); }
.co__pill {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 7px 18px 7px 7px; border-radius: 999px; white-space: nowrap;
  color: var(--ink); transform-origin: var(--ox, 0%) 50%;
}
.co__pill img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--snow); }
.co__pill b { display: block; font-weight: 400; font-size: 11.5px; line-height: 1.2; text-transform: uppercase; letter-spacing: 0.02em; width: 190px; white-space: normal; }
.co__pill span { display: block; font-size: 15px; font-weight: 400; margin-top: 2px; }
.co__pill:hover { box-shadow: 0 0 0 1px var(--red), 0 18px 40px rgba(40,60,90,0.18); }
.co.is-hot .co__dot { box-shadow: 0 0 0 6px rgba(226,17,25,0.35), 0 4px 16px rgba(0,0,0,0.25); }

.hero__copy { position: absolute; z-index: 5; left: 0; bottom: 5.5%; width: 47%; pointer-events: none; }
.hero__title { font-size: clamp(48px, 4.45vw, 76px); line-height: 0.92; color: var(--ink); max-width: 8.6em; }
.hero__title .ln { overflow: hidden; padding-bottom: 0.04em; }
.hero__hint { display: flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--ink); }
.hero__hint .dot { flex: 0 0 auto; }

/* R01: product card top-right on the photo */
.hero__card {
  position: absolute; z-index: 6; right: var(--pad); top: calc(var(--hdr) + 26px); width: 214px; padding: 12px 14px 16px;
  display: grid; gap: 6px; color: var(--ink); transition: box-shadow 0.3s;
}
.hero__card:hover { box-shadow: 0 0 0 1px rgba(226,17,25,0.6), 0 24px 50px rgba(40,60,90,0.2); }
.hero__card-top { display: flex; justify-content: space-between; }
.hero__card img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; background: var(--snow); margin: 2px 0 4px; }
.hero__card-name { line-height: 1.25; }
.hero__scroll { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); }

/* ---------- B3 novelty carousel ---------- */
.novelty .shead { align-items: flex-end; }
.novelty .tabs { padding-bottom: 5px; }

/* ---------- B4 new collection: photo 2/3 + red panel, ski-track dots (R04) ---------- */
.newcol { min-height: 700px; }
.newcol__photo img { transform-origin: 60% 40%; }
.newcol__track { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.newcol__track circle { fill: var(--red); stroke: #fff; stroke-width: 1.4px; }
.newcol__brands { opacity: 0.85; margin-bottom: 14px; }

/* ---------- B5 ready looks ---------- */
.looks { display: grid; grid-template-columns: 338px 1fr 338px; gap: var(--gap); align-items: start; }
.looks__side { display: grid; gap: 18px; align-content: start; }
.looks__sub { max-width: 260px; }
.looks__tabs { display: grid; gap: 12px; justify-items: start; margin-top: 18px; }
.looks__tabs .tab { font-size: 15px; }
.looks__stage { display: grid; gap: 22px; justify-items: start; }
.looks__photo { position: relative; width: 100%; aspect-ratio: 690 / 756; overflow: hidden; background: #1f4fa3; }
.looks__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.looks__photo img.is-leaving { z-index: 1; }
.look-dot { position: absolute; left: var(--x); top: var(--y); width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #fff; display: grid; place-items: center; z-index: 3; cursor: pointer; animation: lookPulse 3s ease-in-out infinite; }
.look-dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.look-dot:hover, .look-dot.is-on { animation-play-state: paused; box-shadow: 0 0 0 2px var(--red); }
.look-dot::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 50%; background: rgba(255,255,255,0.6); pointer-events: none; animation: lookRing 3s ease-out infinite; }
.look-dot:hover::before, .look-dot.is-on::before { animation: none; opacity: 0; }
@keyframes lookPulse { 0%, 100% { transform: scale(0.9); } 50% { transform: scale(1); } }
@keyframes lookRing { 0% { transform: scale(1); opacity: 0.8; } 60%, 100% { transform: scale(1.65); opacity: 0; } }
.look-tip { position: absolute; z-index: 4; left: var(--x); top: var(--y); transform: translate(18px, -50%); width: 230px; padding: 8px 12px; font-size: 11.5px; line-height: 1.3; text-transform: uppercase; letter-spacing: 0.02em; pointer-events: none; opacity: 0; transition: opacity 0.2s; }
.look-tip.is-left { transform: translate(calc(-100% - 18px), -50%); }
.look-tip.is-left::before { right: auto; left: 100%; }
.look-dot:hover + .look-tip, .look-dot.is-on + .look-tip { opacity: 1; }
.look-tip::before { content: ""; position: absolute; right: 100%; top: 50%; width: 14px; height: 1.5px; background: #fff; }
.looks__items { display: grid; gap: 0; }
.looks__card { position: relative; min-height: 600px; }
.looks__bar { margin-top: 18px; }
.looks__list { counter-reset: li; margin-top: 26px; border-top: 1px solid var(--ink); }
.looks__list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; padding: 10px 0; border-bottom: 1px solid #e3e3e3; font-size: 12px; text-transform: uppercase; letter-spacing: 0.02em; cursor: pointer; }
.looks__list li::before { counter-increment: li; content: counter(li); color: var(--red); }
.looks__list li.is-on { color: var(--red); }
.looks__sum { margin-top: 14px; display: flex; justify-content: space-between; }
.looks__sum b { font-weight: 400; font-size: 18px; text-transform: none; }

/* ---------- B6 wave ---------- */
.wave { position: relative; padding: 40px 0 70px; overflow: hidden; }
.wave__media { position: relative; height: 620px; }
.wave__gl { position: absolute; inset: 0; width: 100%; height: 100%; }
.wave__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: url(#waveClip); }
.wave.has-gl .wave__img { visibility: hidden; }
.wave__fallback { position: absolute; width: 0; height: 0; }
.wave__copy { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: -170px; z-index: 2; }
.wave__title { max-width: 900px; }
.wave__btn { flex: 0 0 auto; margin-bottom: 6px; }
.wave__ice { position: absolute; z-index: 3; right: var(--pad); top: 12px; width: 268px; }
.wave__ice img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.wave__ice-tag { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 4px; padding: 12px 14px; }
.wave__ice:hover img { transform: scale(1.02); }
.wave__ice img { transition: transform 0.8s var(--ease-out); }

/* ---------- B7 kids ---------- */
.kids__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 36px; }
.kids__aside { max-width: 420px; display: grid; gap: 14px; justify-items: start; }
.kids__grid { display: grid; grid-template-columns: 1.15fr 0.95fr 1.1fr; gap: 0; min-height: 640px; }
.kids__grid > * { min-width: 0; }
.kids__portrait { margin: 0; position: relative; overflow: hidden; min-height: 640px; }
.kids__portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.kids__panel { position: relative; background: var(--red); color: var(--white); padding: 24px 22px; display: flex; flex-direction: column; gap: 16px; }
.kids__quote { margin: 0; max-width: 300px; }
.kids__polaroid { position: absolute; right: -54px; bottom: 44px; width: 250px; margin: 0; padding: 12px 12px 44px; background: #fff; box-shadow: 0 18px 40px rgba(0,0,0,0.22); transform: rotate(4deg); z-index: 2; }
.kids__polaroid img { width: 100%; aspect-ratio: 1 / 1.08; object-fit: cover; }
.kids__polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; color: var(--red); font-size: 34px; }
.kids__rail { background: var(--red); padding: 22px 22px 22px 70px; display: flex; flex-direction: column; gap: 18px; color: var(--white); }
.kids__bar .arr { background: transparent; border-color: #fff; color: #fff; }
.kids__bar .car__progress { background: rgba(255,255,255,0.5); }
.kids__bar .car__progress i { background: #fff; }
.kids__car { background: transparent; }
.kids__car .car__track > * { flex: 0 0 100%; }
.kids__car .pcard { color: var(--white); }
.kids__car .pcard__meta { color: rgba(255,255,255,0.75); }
.kids__car .pcard__media { background: #fff; }

/* ---------- B8 shops ---------- */
.shops { min-height: 560px; grid-template-columns: 1fr 1fr; }
.shops__photo img { opacity: 0; transition: opacity 0.85s ease-in-out, transform 1.4s var(--ease-out); transform: scale(1.04); }
.shops__photo img.is-on { opacity: 1; transform: none; }
.shops__tabs { display: grid; gap: 12px; justify-items: start; margin-top: 26px; }
.tab--w { color: var(--white); }
.tab--w::after { background: var(--white); }
.shops__info { position: relative; min-height: 120px; }
.shops__addr { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 16px; opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.5s var(--ease-out); pointer-events: none; }
.shops__addr.is-on { opacity: 1; transform: none; pointer-events: auto; }
.shops__addr p { max-width: 420px; }

/* ---------- B9 seo ---------- */
.seo { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; padding-bottom: 70px; }
.seo__text { display: grid; gap: 16px; max-width: 760px; }

