:root {
  --bg: #041019;
  --bg-2: #081726;
  --text: #ecf6ff;
  --muted: #99b9d6;
  --line: rgba(131, 192, 255, 0.2);
  --line-strong: rgba(154, 211, 255, 0.36);
  --panel: rgba(6, 18, 30, 0.72);
  --panel-2: rgba(8, 24, 40, 0.84);
  --glow: rgba(94, 188, 255, 0.3);
  --glow-strong: rgba(111, 207, 255, 0.58);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 24px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(73, 148, 255, 0.1), transparent 40%),
    linear-gradient(180deg, #031018 0%, #07131c 38%, #041019 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

#snowfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.aurora {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.aurora-a {
  width: 34rem;
  height: 34rem;
  top: -8rem;
  left: -10rem;
  background: rgba(50, 160, 255, 0.5);
}
.aurora-b {
  width: 28rem;
  height: 28rem;
  right: -6rem;
  top: 22rem;
  background: rgba(99, 224, 255, 0.3);
}

.site-header,
.page-shell,
.viewer-modal,
.modal-backdrop { position: relative; z-index: 2; }

.site-header {
  width: min(1220px, calc(100% - 2rem));
  margin: 1.15rem auto 0;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--line);
  background: rgba(3, 12, 22, 0.52);
  backdrop-filter: blur(16px);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand-mark {
  font-family: Cinzel, serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.94rem;
  color: #dff4ff;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.6rem;
}

.nav-pill,
.tab-btn,
.ice-btn,
.window-close {
  border: 1px solid var(--line);
  background: rgba(10, 24, 38, 0.75);
  color: var(--text);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.nav-pill,
.tab-btn {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}
.nav-pill:hover,
.nav-pill.active,
.tab-btn:hover,
.tab-btn.active {
  border-color: var(--line-strong);
  box-shadow: 0 0 18px rgba(84, 186, 255, 0.2);
  background: rgba(13, 31, 48, 0.96);
}

.page-shell {
  width: min(1220px, calc(100% - 2rem));
  margin: 1.6rem auto 3rem;
}

.hero-frame {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    linear-gradient(145deg, rgba(8, 23, 38, 0.96), rgba(5, 14, 24, 0.84));
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 10%, rgba(112, 216, 255, 0.14), transparent 24%);
  pointer-events: none;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.eyebrow,
.window-kicker,
.panel-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  background: rgba(109, 201, 255, 0.08);
  border: 1px solid rgba(136, 208, 255, 0.18);
  color: #ccefff;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.74rem;
  font-weight: 700;
}

.hero-copy h1,
.viewer-topline h2,
.window-header h2,
.panel h3 {
  font-family: Cinzel, serif;
  margin: 0.9rem 0 0.8rem;
  line-height: 1.02;
  text-wrap: balance;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 5vw, 4.7rem);
}
.viewer-topline h2,
.panel h3 { font-size: clamp(1.45rem, 2.3vw, 2.25rem); }

.hero-copy p,
.viewer-topline p,
.panel p,
.info-card p {
  color: var(--muted);
  line-height: 1.76;
  margin: 0;
  max-width: 66ch;
}

.hero-actions,
.viewer-buttons,
.window-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.ice-btn {
  cursor: pointer;
  border-radius: 999px;
  padding: 0.92rem 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 0 0 transparent;
}
.ice-btn:hover,
.window-close:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 0 24px rgba(95, 194, 255, 0.22);
}

.ice-btn-outline {
  background: rgba(5, 17, 28, 0.4);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}

.stat-chip,
.info-card,
.viewer-panel {
  border: 1px solid var(--line);
  background: rgba(8, 22, 35, 0.58);
  backdrop-filter: blur(14px);
}

.stat-chip {
  min-width: 170px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
}
.stat-chip strong {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.2rem;
}
.stat-chip span { color: var(--muted); font-size: 0.93rem; }

.hero-art-wrap {
  position: relative;
  min-height: 480px;
  border-radius: calc(var(--radius) + 4px);
  overflow: hidden;
  border: 1px solid rgba(147, 211, 255, 0.28);
  background: linear-gradient(180deg, rgba(7, 17, 29, 0.3), rgba(2, 7, 12, 0.6));
  transform-style: preserve-3d;
}

.hero-art-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 55% 40%, rgba(142, 222, 255, 0.18), transparent 25%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(1, 7, 13, 0.38));
  z-index: 1;
  pointer-events: none;
}

.hero-art {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  padding: 1.1rem;
  filter: saturate(1.06) contrast(1.02);
}


.glass-panel {
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(8, 20, 32, 0.88), rgba(5, 14, 22, 0.82));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.viewer-panel {
  padding: 1.4rem;
}

.viewer-topline {
  max-width: 80ch;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 8, 13, 0.68);
  backdrop-filter: blur(8px);
}

.viewer-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.viewer-window {
  width: min(1040px, 100%);
  max-height: min(86vh, 880px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(162, 217, 255, 0.28);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 42px rgba(92, 193, 255, 0.12);
}

 .window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.2rem 0.85rem;
  border-bottom: 1px solid var(--line);
}

.window-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.55rem;
  cursor: pointer;
}

.window-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  padding: 1rem 1.2rem 0;
}

.window-body {
  overflow: auto;
  padding: 1.2rem;
}

.panel { display: none; }
.panel.active { display: block; }

.info-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.2rem;
}
.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.info-card {
  border-radius: 20px;
  padding: 1.1rem;
}
.info-card h4 {
  margin: 0 0 0.55rem;
  font-size: 1.03rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.tag-row span {
  padding: 0.62rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(10, 25, 41, 0.72);
  color: #d5f0ff;
  font-size: 0.95rem;
}

[hidden] { display: none !important; }

@media (max-width: 980px) {
  .hero-frame { grid-template-columns: 1fr; }
  .hero-art-wrap { min-height: 360px; }
}

@media (max-width: 760px) {
  .site-header {
    border-radius: 28px;
    justify-content: center;
  }
  .brand-mark { width: 100%; text-align: center; }
  .top-nav { justify-content: center; }
  .two-up { grid-template-columns: 1fr; }
  .hero-copy h1 { font-size: clamp(2.2rem, 10vw, 3.2rem); }
  .window-header { align-items: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}




/* ===== RELEASE FIX: CLEAN HERO ===== */
.hero-frame{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:1.35rem !important;
  text-align:center !important;
}

.hero-copy{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  text-align:center !important;
  min-width:0 !important;
  max-width:980px !important;
  margin:0 auto !important;
}

.hero-copy p{
  max-width:860px !important;
  margin-left:auto !important;
  margin-right:auto !important;
}

.hero-actions,
.hero-stats{
  justify-content:center !important;
}

.hero-copy .eyebrow{
  display:none !important;
}

.hero-art-wrap{
  order:-1 !important;
  grid-column:1 / -1 !important;
  position:relative !important;
  min-height:0 !important;
  height:clamp(300px, 30vw, 380px) !important;
  border-radius:calc(var(--radius) + 8px) !important;
  overflow:hidden !important;
  border:1px solid rgba(147,211,255,.24) !important;
  background:
    radial-gradient(circle at center, rgba(111,207,255,.08), transparent 60%),
    linear-gradient(180deg, rgba(7,17,29,.25), rgba(2,7,12,.45)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(147,211,255,.10),
    0 0 28px rgba(84,186,255,.08) !important;
  transform:none !important;
}

.hero-art-glow{
  position:absolute !important;
  inset:0 !important;
  background:
    radial-gradient(circle at 50% 50%, rgba(142,222,255,.10), transparent 42%) !important;
  pointer-events:none !important;
  z-index:1 !important;
}

.hero-art{
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center 52% !important;
  padding:0 !important;
  margin:0 !important;
  filter:saturate(1.04) contrast(1.02) drop-shadow(0 0 16px rgba(65,170,255,.10)) !important;
  position:relative !important;
  z-index:0 !important;
}

.viewer-window{
  border: 1px solid rgba(162, 217, 255, 0.24);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5), 0 0 32px rgba(92, 193, 255, 0.08);
}

@media (max-width: 760px){
  .hero-art-wrap{
    height:clamp(190px, 34vw, 260px) !important;
  }
  .hero-copy h1{
    font-size:clamp(2.2rem, 10vw, 3.6rem) !important;
  }
}


/* ===== Site Footer ===== */

.site-footer{
  margin-top:60px;
  padding:28px 20px 36px;
  text-align:center;
  border-top:1px solid rgba(120,180,255,.15);
  background:rgba(5,12,20,.55);
  backdrop-filter:blur(6px);
}

.footer-inner{
  max-width:900px;
  margin:auto;
  font-size:13px;
  line-height:1.6;
  color:rgba(210,230,255,.65);
}

.footer-inner p{
  margin:6px 0;
}

.footer-copy{
  margin-top:12px;
  color:rgba(210,230,255,.45);
  font-size:12px;
}




/* ===== Live site polish ===== */
.hero-actions{
  justify-content:center;
}

.hero-badges{
  display:flex;
  justify-content:center;
  margin-top:1rem;
}

.trust-badge{
  display:flex;
  flex-direction:column;
  gap:.18rem;
  max-width:540px;
  width:min(100%, 540px);
  text-align:center;
  padding:.95rem 1.1rem;
  border-radius:18px;
  border:1px solid rgba(154, 211, 255, 0.26);
  background:linear-gradient(180deg, rgba(8,22,35,.72), rgba(8,22,35,.52));
  box-shadow:0 0 22px rgba(84,186,255,.08);
  transition:transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.trust-badge strong{
  font-size:1rem;
  color:#e9f7ff;
}

.trust-badge span{
  color:var(--muted);
  font-size:.93rem;
}

.trust-badge:hover{
  transform:translateY(-1px);
  border-color:var(--line-strong);
  box-shadow:0 0 24px rgba(95, 194, 255, 0.16);
  background:linear-gradient(180deg, rgba(10,26,40,.8), rgba(8,22,35,.58));
}

.site-footer{
  position:relative;
  overflow:hidden;
}

.site-footer::before{
  content:"";
  position:absolute;
  left:50%;
  top:0;
  width:min(700px, 85%);
  height:1px;
  transform:translateX(-50%);
  background:linear-gradient(90deg, rgba(120,180,255,0), rgba(120,180,255,.45), rgba(120,180,255,0));
}

.site-footer::after{
  content:"";
  position:absolute;
  inset:auto 0 0 0;
  height:90px;
  background:radial-gradient(circle at 50% 100%, rgba(90,180,255,.08), rgba(90,180,255,0) 62%);
  pointer-events:none;
}
