/* Lake-first composition with one compact, shared introduction and stats panel. */
:root { --waterfront-panel: rgba(248,251,248,.73); --waterfront-rule: rgba(255,255,255,.82); --waterfront-position: 54% 54%; }
html[data-theme=dark] { --waterfront-panel: rgba(19,36,37,.79); --waterfront-rule: rgba(222,247,236,.25); }
.ambient-image { filter: saturate(.85); object-position: var(--waterfront-position); }
.ambient-wash { background: linear-gradient(180deg,rgba(244,248,245,.60),rgba(244,248,245,.85)); }
html[data-theme=dark] .ambient-wash { background: linear-gradient(180deg,rgba(10,22,25,.72),rgba(10,22,25,.91)); }

/* Keep primary navigation beside the original crown and wordmark. */
@media (min-width:901px) {
  .site-header { justify-content: flex-start; }
  .site-header > :is(.brand,.desktop-nav,.header-actions) { flex: 0 0 auto; }
  .site-header > .header-actions { margin-left: auto; }
  .site-header :is(.nav-link,.header-download) { white-space: nowrap; }
}

.hero.hero-waterfront {
  min-height: 760px;
  height: 100svh;
  max-height: none;
  justify-content: flex-end;
  background: transparent;
}
.hero.hero-waterfront .hero-scenery {
  inset: 0;
  min-height: 0;
  /* A continuous feather shares the same viewport crop as the ambient lake.
     Multiple alpha stops soften both ends instead of exposing a hard edge. */
  --waterfront-feather: clamp(180px,26svh,300px);
  --scenery-fade: linear-gradient(to bottom,
    #000 0%,
    #000 calc(100% - var(--waterfront-feather)),
    rgba(0,0,0,.94) calc(100% - var(--waterfront-feather) * .76),
    rgba(0,0,0,.63) calc(100% - var(--waterfront-feather) * .48),
    rgba(0,0,0,.24) calc(100% - var(--waterfront-feather) * .22),
    transparent 100%);
  -webkit-mask-image: var(--scenery-fade);
  mask-image: var(--scenery-fade);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.hero.hero-waterfront .hero-scene-layer { position: fixed; inset: 0; }
.hero.hero-waterfront .hero-scene-layer :is(.hero-image,.hero-video,.cinematic-video) { object-position: var(--waterfront-position); }
.hero.hero-waterfront .hero-shade {
  background: linear-gradient(180deg,rgba(37,58,56,.07),transparent 27%,transparent 72%,rgba(24,52,48,.14));
}
html[data-theme=dark] .hero.hero-waterfront .hero-shade {
  background: linear-gradient(180deg,rgba(12,24,28,.24),rgba(12,24,28,.13) 45%,rgba(12,24,28,.30));
}
.hero.hero-waterfront .hero-content {
  width: min(940px,calc(100% - 72px));
  padding: 0 0 clamp(32px,4.5svh,58px);
}
.hero.hero-waterfront .hero-dock {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  align-items: center;
  gap: 30px;
  padding: 22px 28px;
  border: 1px solid var(--waterfront-rule);
  border-radius: 27px;
  background: linear-gradient(145deg,rgba(255,255,255,.33),rgba(255,255,255,.03)),var(--waterfront-panel);
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  backdrop-filter: blur(22px) saturate(1.12);
  box-shadow: 0 18px 48px -24px rgba(17,47,43,.35),inset 0 1px 0 rgba(255,255,255,.7);
}
html[data-theme=dark] .hero.hero-waterfront .hero-dock {
  background: linear-gradient(145deg,rgba(255,255,255,.065),transparent),var(--waterfront-panel);
  box-shadow: 0 20px 50px -28px rgba(0,0,0,.65),inset 0 1px 0 rgba(232,250,243,.16);
}
.hero.hero-waterfront :is(.hero-info,.stats-panel) {
  position: relative;
  min-width: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.hero.hero-waterfront .hero-info { grid-column: 1; padding: 0; }
.hero.hero-waterfront .hero-release-link { gap: 8px; font-size: 10px; line-height: 1.4; letter-spacing: .025em; }
.hero.hero-waterfront .hero-info .hero-subtitle {
  margin-top: 11px;
  font-size: clamp(28px,2.3vw,30px);
  line-height: 1.16;
  font-weight: 650;
  letter-spacing: -.045em;
}
.hero.hero-waterfront .hero-subtitle span { color: #285f4f; }
html[data-theme=dark] .hero.hero-waterfront .hero-subtitle span { color: #b9e6ce; }
.hero.hero-waterfront .hero-info .hero-actions { margin-top: 14px; gap: 10px; }
.hero.hero-waterfront .hero-info .btn-large { min-height: 44px; padding: 10px 16px; font-size: 12px; border-radius: 13px; }
.hero.hero-waterfront .hero-secondary { border-color: rgba(50,85,73,.20); background: rgba(255,255,255,.28); }
html[data-theme=dark] .hero.hero-waterfront .hero-secondary { border-color: rgba(215,243,231,.22); background: rgba(255,255,255,.06); }
.hero.hero-waterfront .stats-panel { grid-column: 2; padding: 8px 0 8px 30px; border-left: 1px solid rgba(52,86,75,.18); }
html[data-theme=dark] .hero.hero-waterfront .stats-panel { border-color: rgba(216,242,231,.20); }
.hero.hero-waterfront .stats-heading { margin-bottom: 18px; font-size: 10px; font-weight: 550; letter-spacing: .045em; }
.hero.hero-waterfront .stats-card { padding-inline: 14px; }
.hero.hero-waterfront .stats-card:first-child { padding-inline-start: 0; }
.hero.hero-waterfront .stats-card:last-child { padding-inline-end: 0; }
.hero.hero-waterfront .stats-card-heading { gap: 5px; font-size: 10px; }
.hero.hero-waterfront .stats-icon svg { width: 14px; height: 14px; }
.hero.hero-waterfront .stats-value { margin-top: 10px; }
.hero.hero-waterfront .stats-grid strong { font-size: clamp(31px,2.8vw,39px); font-weight: 580; letter-spacing: -.045em; }
.hero.hero-waterfront .stats-grid strong[data-value-state=pending] { font-size: 12px; padding-block: 7px; }
.hero.hero-waterfront .stats-card + .stats-card { border-color: rgba(52,86,75,.16); }
html[data-theme=dark] .hero.hero-waterfront .stats-card + .stats-card { border-color: rgba(216,242,231,.18); }
.hero.hero-waterfront .hero-dock { animation: waterfront-arrive .65s cubic-bezier(.2,.75,.25,1) both; }
@keyframes waterfront-arrive { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width:1100px) and (min-width:761px) {
  .hero.hero-waterfront .hero-content { width: min(900px,calc(100% - 48px)); }
  .hero.hero-waterfront .hero-dock { gap: 22px; padding: 23px 25px; }
  .hero.hero-waterfront .hero-info .hero-subtitle { font-size: 29px; }
  .hero.hero-waterfront .stats-panel { padding-left: 22px; }
  .hero.hero-waterfront .stats-card { padding-inline: 10px; }
  .hero.hero-waterfront .stats-card-heading { font-size: 9px; }
}
@media (max-width:760px) {
  .hero.hero-waterfront { display: block; height: auto; min-height: 0; max-height: none; padding-bottom: 20px; background: transparent; }
  .hero.hero-waterfront .hero-scenery { position: relative; inset: auto; height: clamp(330px,74vw,480px); min-height: 0; z-index: 0; --waterfront-feather: clamp(76px,19vw,120px); }
  .hero.hero-waterfront .hero-scene-layer { position: absolute; }
  .hero.hero-waterfront .hero-scene-layer :is(.hero-image,.hero-video,.cinematic-video) { object-position: 64% 54%; }
  .hero.hero-waterfront .hero-shade { background: linear-gradient(180deg,rgba(32,54,48,.10),transparent 35%,transparent 85%,rgba(238,246,241,.16)); }
  .hero.hero-waterfront .hero-content { width: min(540px,calc(100% - 28px)); margin-top: -18px; padding: 0; }
  .hero.hero-waterfront .hero-dock { grid-template-columns: minmax(0,1fr); gap: 20px; padding: 22px 24px; border-radius: 24px; }
  .hero.hero-waterfront .hero-info { grid-column: 1; padding: 0; }
  .hero.hero-waterfront .hero-info .hero-subtitle { margin-top: 11px; font-size: clamp(28px,5.4vw,34px); line-height: 1.2; }
  .hero.hero-waterfront .hero-info .hero-actions { margin-top: 16px; gap: 10px; }
  .hero.hero-waterfront .hero-info .btn-large { min-height: 44px; padding: 10px 16px; }
  .hero.hero-waterfront .stats-panel { grid-column: 1; padding: 17px 0 0; border-left: 0; border-top: 1px solid rgba(52,86,75,.18); }
  .hero.hero-waterfront .stats-heading { margin-bottom: 12px; }
  .hero.hero-waterfront .stats-card-heading { font-size: 10px; }
  .hero.hero-waterfront .stats-grid strong { font-size: 31px; }
  .hero.hero-waterfront .stats-value { margin-top: 7px; }
}
@media (max-width:370px) {
  .hero.hero-waterfront .hero-scenery { height: 330px; }
  .hero.hero-waterfront .hero-dock { padding: 20px; gap: 18px; }
  .hero.hero-waterfront .hero-info .hero-subtitle { font-size: 27px; }
  .hero.hero-waterfront .hero-info .btn-large { padding-inline: 13px; font-size: 11px; }
  .hero.hero-waterfront .stats-card { padding-inline: 10px; }
  .hero.hero-waterfront .stats-card-heading { font-size: 9px; gap: 4px; }
  .hero.hero-waterfront .stats-grid strong { font-size: 29px; }
}
@media (prefers-reduced-motion:reduce) {
  .hero.hero-waterfront .hero-dock { animation: none; }
}
html[data-motion=paused] .hero.hero-waterfront .hero-dock { animation: none; }
