:root { color-scheme: dark; scrollbar-color: #7bacbb #102e3e; background: #051d28; }
body { margin: 0; }

@font-face {
  font-family: "Ice Rubik";
  src: url("/static/fonts/rubik-lat.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+2000-206F, U+2191, U+2193, U+2212;
}
@font-face {
  font-family: "Ice Rubik";
  src: url("/static/fonts/rubik-cyr.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
#icemap-landing {
  --ice-ink: #0c2e41;
  --ice-white: #e6f5f8;
  --ice-muted: #a7cdd7;
  --viewport-height: 100vh;
  --scroll-viewport-height: 100vh;
  --stage-height: max(450px, var(--viewport-height));
  --scroll-length: 4.7;
  width: 100%;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ice-white);
}
#icemap-landing * { box-sizing: border-box; }
#icemap-landing .dive-track { height: var(--stage-height); }
#icemap-landing.is-scroll-ready .dive-track {
  height: calc(var(--stage-height) + max(450px, var(--scroll-viewport-height)) * (var(--scroll-length) - 1));
}
#icemap-landing .dive-view {
  position: sticky;
  top: min(0px, calc(var(--viewport-height) - var(--stage-height)));
  isolation: isolate;
  height: var(--stage-height);
  overflow: hidden;
  background: #051d28;
}
#icemap-landing .dive-art,
#icemap-landing .dive-shot,
#icemap-landing .dive-picture,
#icemap-landing .dive-photo,
#icemap-landing .dive-split,
#icemap-landing .dive-piece,
#icemap-landing .dive-video,
#icemap-landing .dive-fish-layer,
#icemap-landing .dive-shadow { position: absolute; inset: 0; }
#icemap-landing .dive-art { pointer-events: none; }
#icemap-landing .dive-fish-layer { display: none; }
@media (pointer: coarse), (max-width: 780px) and (hover: none) {
  #icemap-landing[data-scene="water"] .dive-fish-layer { display: block; }
}
#icemap-landing .dive-video { width: 100%; height: 100%; object-fit: cover; opacity: 0; }
#icemap-landing.is-video-ready .dive-video { opacity: 1; }
#icemap-landing.is-video-ready .dive-shot,
#icemap-landing.is-video-ready .dive-split,
#icemap-landing.is-video-ready .dive-depth { display: none; }
#icemap-landing .dive-shot { overflow: hidden; opacity: 0; visibility: hidden; }
#icemap-landing .dive-shot[data-shot="map"] { opacity: 1; visibility: visible; }
#icemap-landing .dive-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform-origin: 50% 50%;
}
#icemap-landing [data-shot="map"] .dive-photo {
  object-position: 82.8% 50%;
  transform-origin: 76% 48%;
}
#icemap-landing [data-shot="shore"] .dive-photo { transform-origin: 62% 66%; }
#icemap-landing [data-shot="ice"] .dive-photo { transform-origin: 58% 64%; }
#icemap-landing [data-shot="water"] .dive-photo { transform-origin: 58% 21%; }
#icemap-landing .dive-piece { will-change: transform; }
#icemap-landing .dive-crack {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  stroke: #c9efff;
  stroke-width: 2.7px;
  stroke-dasharray: 1;
  stroke-dashoffset: var(--trace, 1);
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: var(--glint, 0);
  filter: drop-shadow(0 0 3px #8fddf9);
}
#icemap-landing .dive-shadow {
  background: linear-gradient(90deg, #041926de 0%, #0419269e 30%, #04192626 55%, transparent 76%),
              linear-gradient(180deg, #061f2c38, transparent 20%, transparent 80%, #061f2c57);
  pointer-events: none;
}
#icemap-landing .dive-header {
  position: absolute;
  z-index: 4;
  inset: max(25px, env(safe-area-inset-top)) clamp(21px, 5vw, 65px) auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
#icemap-landing .dive-brand {
  display: block;
  width: 105px;
  height: auto;
  aspect-ratio: 2.12;
  object-fit: contain;
  border-radius: 9px;
  box-shadow: 0 6px 22px #07172324;
}
#icemap-landing .dive-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 154px;
  padding: 0 19px 1px 14px;
  border-radius: 999px;
  color: var(--ice-ink);
  background: url("/static/landing/ice-button.webp") center / 100% 100% no-repeat;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  filter: drop-shadow(0 3px 8px #030e1666);
  transition: filter .16s ease;
}
#icemap-landing .dive-open:hover { filter: brightness(1.09) drop-shadow(0 3px 9px #83d7f44d); }
#icemap-landing .dive-open:focus-visible { outline: 2px solid #c9efff; outline-offset: 3px; }
#icemap-landing:not([data-scene]) .dive-header .dive-open,
#icemap-landing:is([data-scene="map"], [data-scene="water"]) .dive-header .dive-open { visibility: hidden; }
#icemap-landing .dive-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 18px;
  margin-top: clamp(13px, 2vw, 18px);
}
#icemap-landing .dive-hero-open {
  min-width: 202px;
  min-height: 51px;
  padding-inline: 23px 27px;
  font-size: 16px;
  pointer-events: auto;
}
#icemap-landing .dive-android {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ice-white);
  font-size: 14px;
  font-weight: 650;
  text-underline-offset: .25em;
  pointer-events: auto;
}
#icemap-landing .dive-android:hover { color: #fff; }
#icemap-landing .dive-android:focus-visible { outline: 2px solid #c9efff; outline-offset: 3px; }
#icemap-landing .dive-copy {
  position: absolute;
  inset: 50% auto auto clamp(21px, 5vw, 65px);
  width: min(60%, 620px);
  transform: translateY(-45%);
  z-index: 3;
  pointer-events: none;
}
#icemap-landing .dive-caption {
  position: absolute;
  inset: 50% auto auto 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(0, -50%, 0);
}
#icemap-landing .dive-caption[data-copy="map"] { top: 12px; opacity: 1; visibility: visible; }
#icemap-landing .dive-title {
  margin: 0;
  color: var(--ice-white);
  font-family: "Ice Rubik", "Arial Black", sans-serif;
  font-weight: 900;
  font-size: clamp(47px, 8.5vw, 103px);
  line-height: .94;
  letter-spacing: -.049em;
  transform: scaleX(.93);
  transform-origin: left center;
  -webkit-text-stroke: .012em currentColor;
  paint-order: stroke fill;
  text-shadow: 0 4px 32px #05253648;
}
#icemap-landing [data-copy="map"] .dive-title { font-size: clamp(34px, min(9.5vw, 10vh), 88px); }
#icemap-landing [data-copy="ice"] .dive-title { font-size: clamp(37px, 6.7vw, 83px); }
#icemap-landing .dive-title span { display: block; }
#icemap-landing .dive-subtitle {
  max-inline-size: 18em;
  margin: clamp(13px, 2.4vw, 25px) 0 0;
  color: var(--ice-white);
  font-size: clamp(16px, 2.3vw, 21px);
  font-weight: 500;
  line-height: 1.38;
  text-wrap: balance;
  text-shadow: 0 2px 10px #051c2d;
}
#icemap-landing [data-copy="map"] .dive-subtitle {
  max-inline-size: 23em;
  margin-top: clamp(13px, 2vw, 17px);
  color: #c9e6ef;
}
#icemap-landing .dive-depth {
  position: absolute;
  z-index: 2;
  top: 43%;
  left: 67%;
  width: 21px;
  height: 26%;
  border: solid var(--ice-white);
  border-width: 1.5px 0 1.5px 1.5px;
  transform: scaleY(0);
  transform-origin: top;
  opacity: 0;
  filter: drop-shadow(0 1px 5px #123e59);
  pointer-events: none;
}
#icemap-landing .dive-fish {
  position: absolute;
  width: var(--fish-size);
  opacity: var(--fish-opacity);
  pointer-events: none;
  will-change: transform;
  animation-duration: var(--fish-time);
  animation-delay: var(--fish-delay);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
#icemap-landing .dive-fish.perch {
  aspect-ratio: 2 / 1;
  background: url("/static/landing/perch.webp") center / contain no-repeat;
  filter: saturate(.72) brightness(.93);
  animation-name: ice-perch-swim;
}
#icemap-landing .perch.far {
  top: 32%; left: 72%; --fish-size: clamp(60px, 12vw, 145px);
  --fish-opacity: .60; --fish-time: 19s; --fish-delay: -7s;
  filter: saturate(.7) brightness(.8) blur(.4px);
}
#icemap-landing .perch.near {
  top: 47%; left: 75%; --fish-size: clamp(72px, 16vw, 195px);
  --fish-opacity: .92; --fish-time: 22s; --fish-delay: -10s;
}
#icemap-landing .perch.mid {
  top: 42%; left: 61%; --fish-size: clamp(57px, 10vw, 130px);
  --fish-opacity: .68; --fish-time: 24s; --fish-delay: -12s;
}
#icemap-landing .dive-fish.pike {
  top: 65%; left: 46%; width: clamp(185px, 46vw, 516px); aspect-ratio: 3 / 1;
  background: url("/static/landing/pike.webp") center / contain no-repeat;
  filter: saturate(.67) brightness(.82);
  --fish-opacity: .9; --fish-time: 31s; --fish-delay: -11s;
  animation-name: ice-pike-swim;
}
@keyframes ice-perch-swim {
  0% { transform: translate3d(18vw, -5px, 0) rotate(-2deg); opacity: 0; }
  18% { opacity: var(--fish-opacity); }
  50% { transform: translate3d(0, 0, 0) rotate(1deg); }
  79% { opacity: var(--fish-opacity); }
  100% { transform: translate3d(-18vw, 9px, 0) rotate(-2deg); opacity: 0; }
}
@keyframes ice-pike-swim {
  0% { transform: translate3d(-25vw, 6px, 0) rotate(1deg); opacity: 0; }
  18% { opacity: var(--fish-opacity); }
  46% { transform: translate3d(0, -5px, 0) rotate(-1deg); }
  82% { opacity: var(--fish-opacity); }
  100% { transform: translate3d(26vw, 2px, 0) rotate(1deg); opacity: 0; }
}
#icemap-landing .dive-bottom {
  position: absolute;
  z-index: 4;
  inset: auto clamp(21px, 5vw, 65px) max(27px, env(safe-area-inset-bottom));
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 640;
  color: var(--ice-white);
  text-shadow: 0 2px 8px #041827;
  pointer-events: none;
}
#icemap-landing .dive-hint {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  color: inherit;
  background: transparent;
  font: inherit;
  text-shadow: inherit;
  pointer-events: auto;
  cursor: pointer;
}
#icemap-landing .dive-hint[hidden] { display: none; }
#icemap-landing .dive-hint:focus-visible { outline: 2px solid #c9efff; outline-offset: 3px; }
#icemap-landing .dive-progress {
  width: min(30vw, 200px);
  height: 3px;
  margin-inline-start: auto;
  overflow: hidden;
  background: #e6f5f852;
  border-radius: 999px;
}
#icemap-landing .dive-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--ice-white);
  transform-origin: left;
  transform: scaleX(.025);
}
@media (max-width: 690px) {
  #icemap-landing .dive-copy { width: 77%; }
  #icemap-landing .dive-title { font-size: clamp(43px, 11vw, 70px); }
  #icemap-landing [data-copy="ice"] .dive-title { font-size: clamp(35px, 8.6vw, 62px); }
  #icemap-landing .dive-photo { object-position: 64% center; }
  /* Keep the marker inside the portrait crop, clear of the headline. */
  #icemap-landing [data-shot="map"] .dive-photo { object-position: calc(82.8% + 2.7vw) 50%; }
  /* Anchor the angler near the right side when the shore photo is cropped. */
  #icemap-landing [data-shot="shore"] .dive-photo {
    object-position: calc(60.4% + max(0px, min(320px, 84vw) - 60.4vw)) 52%;
  }
  #icemap-landing .dive-shadow {
    background: linear-gradient(90deg, #041926e1, #0419266d 54%, transparent 92%),
                linear-gradient(180deg, #04192652, transparent 21%, transparent 77%, #04192666);
  }
  #icemap-landing .dive-depth { left: 80%; width: 16px; }
  #icemap-landing .dive-fish.pike { top: 71%; left: 41%; }
}
@media (max-width: 350px) {
  #icemap-landing .dive-brand { width: clamp(83px, 29vw, 98px); }
  #icemap-landing .dive-header { gap: 8px; }
  #icemap-landing .dive-header .dive-open { min-width: 144px; padding-inline: 12px 16px; }
}
@media (max-width: 780px) and (orientation: portrait) {
  #icemap-landing { --scroll-length: 3.45; }
  #icemap-landing [data-shot] .dive-photo { object-position: center; }
  #icemap-landing [data-shot="map"] .dive-photo { object-position: 35% center; }
  #icemap-landing .dive-depth { top: 34%; height: 18%; }
  #icemap-landing.is-intro .dive-shot[data-shot="map"] {
    transform-origin: 72% 35%;
    animation: ice-map-arrive 1.15s ease-out both;
  }
}
@keyframes ice-map-arrive {
  from { transform: scale(1.055); }
  to { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  #icemap-landing .dive-fish-layer .dive-fish { animation: none; }
  #icemap-landing.is-intro .dive-shot[data-shot="map"] { animation: none; }
  #icemap-landing .dive-open { transition: none; }
}

@supports (height: 100svh) {
  #icemap-landing { --scroll-viewport-height: 100svh; }
}
@supports (height: 100dvh) {
  #icemap-landing { --viewport-height: 100dvh; }
}
