/* Iceberg Holding — v1 styles (mobile first) */
:root {
  --bg: #070b14;
  --bg-2: #0f1a2e;
  --logo-bg: #020612;
  --ice: #3db4ff;
  --ice-2: #7fdcff;
  --text: #e8f1fb;
  --text-dim: #9fb2c8;
  --muted: #6c7f96;
  --glass: rgba(20, 36, 62, 0.42);
  --glass-strong: rgba(24, 42, 72, 0.6);
  --line: rgba(127, 220, 255, 0.14);
  --line-strong: rgba(127, 220, 255, 0.32);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { background-color: var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(61, 180, 255, .08), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(127, 220, 255, .05), transparent 60%),
    linear-gradient(180deg, var(--logo-bg) 0%, var(--bg) 30%, var(--bg-2) 70%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grain + vignette overlays */
body::before, body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100;
}
body::before {
  opacity: .06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body::after { background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .55) 100%); }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--ice-2); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--ice-2); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; padding: 10px 16px; background: var(--ice); color: #001; border-radius: 8px; font-weight: 600; }
.skip-link:focus { top: 12px; color: #001; }
.muted { color: var(--muted); font-weight: 400; }

/* ---------- Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 11, 20, .55);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease);
}
.site-header.scrolled { background: rgba(7, 11, 20, .82); border-bottom-color: var(--line); }
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; position: relative; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 15px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.wordmark img { border-radius: 7px; box-shadow: 0 0 14px rgba(61, 180, 255, .35); }
.wordmark strong { font-weight: 800; color: var(--ice-2); }
.wordmark:hover { color: #fff; }

.nav-toggle {
  width: 44px; height: 44px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer;
}
.nav-toggle .bar { width: 18px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-4px) rotate(-45deg); }

.nav-links {
  position: absolute; top: calc(100% + 8px); right: 12px; left: 12px;
  display: flex; flex-direction: column; padding: 10px;
  background: rgba(8, 14, 28, .98); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.nav-links.open { opacity: 1; visibility: visible; transform: none; }
.nav-links a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--text-dim); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(61, 180, 255, .1); }
/* No-JS fallback: links simply wrap below */
.no-js .nav-toggle { display: none; }
.no-js .nav { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 6px; }
.no-js .nav-links { position: static; opacity: 1; visibility: visible; transform: none; flex-direction: row; flex-wrap: wrap; background: none; border: 0; box-shadow: none; padding: 0; }

@media (min-width: 760px) {
  .nav-toggle { display: none; }
  .nav-links, .no-js .nav-links {
    position: static; opacity: 1; visibility: visible; transform: none;
    flex-direction: row; gap: 4px; padding: 0; background: none; border: 0; box-shadow: none;
  }
  .nav-links a { padding: 8px 14px; font-size: 15px; position: relative; background: none !important; }
  .nav-links a::after {
    content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--ice), var(--ice-2)); transform: scaleX(0); transition: transform .3s var(--ease);
  }
  .nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary { color: #021022; background: linear-gradient(135deg, var(--ice-2), var(--ice)); box-shadow: 0 10px 30px -8px rgba(61, 180, 255, .6); }
.btn-primary:hover { color: #021022; transform: translateY(-2px); box-shadow: 0 16px 40px -8px rgba(61, 180, 255, .8); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-strong); background: rgba(127, 220, 255, .04); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { color: #fff; border-color: var(--ice-2); background: rgba(127, 220, 255, .1); transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(calc(100svh - var(--nav-h)), 980px); display: flex; align-items: center;
  padding: 40px 0 90px; text-align: center; overflow: hidden;
  /* centre colour matches the logo's own background (#020612) so the image blends in */
  background: radial-gradient(ellipse 80% 70% at 50% 40%, var(--logo-bg) 0%, var(--logo-bg) 45%, rgba(2, 6, 18, 0) 100%);
}
.starfield { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; z-index: 1; }
.hero-logo { position: relative; max-width: 760px; margin: 0 auto 8px; }
.hero-logo::before {
  content: ""; position: absolute; inset: -12% -8%; z-index: -1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(61, 180, 255, .10), transparent);
  filter: blur(40px); animation: pulse 7s ease-in-out infinite;
}
.hero-logo img {
  width: 100%;
  /* soft-fade the image edges so its own dark background melts into the page */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
          mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 10%, #000 92%, transparent);
          mask-composite: intersect;
  animation: float 9s ease-in-out infinite;
}
.hero-title { font-size: clamp(1.75rem, 6.2vw, 3.6rem); font-weight: 800; margin: 0 auto .4em; max-width: 18ch; }
.hero-title .dash { color: var(--ice); font-weight: 400; }
.grad { background: linear-gradient(100deg, #fff 0%, var(--ice-2) 45%, var(--ice) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--text-dim); font-size: clamp(1rem, 2.6vw, 1.2rem); max-width: 40ch; margin: 0 auto 2em; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero-cta .btn { flex: 1 1 160px; max-width: 220px; }
.scroll-cue { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid var(--line-strong); border-radius: 14px; z-index: 1; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ice-2); animation: cue 2s ease-in-out infinite; }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes pulse { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.06); } }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, transparent, rgba(15, 26, 46, .55) 20%, rgba(15, 26, 46, .55) 80%, transparent); }
.section-head { margin-bottom: 40px; max-width: 640px; }
.section-head h2, .contact-card h2 { font-size: clamp(2rem, 6vw, 3rem); font-weight: 800; }
.eyebrow { display: inline-block; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--ice); }
.eyebrow::before { content: ""; display: inline-block; width: 22px; height: 1px; margin-right: 10px; vertical-align: middle; background: var(--ice); }
.section-lead { color: var(--text-dim); font-size: 1.05rem; }

/* ---------- Glass card ---------- */
.card {
  position: relative; background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .05);
  overflow: hidden;
}
.card::before { /* frosted top highlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: linear-gradient(160deg, rgba(127, 220, 255, .09), transparent 35%);
}

/* ---------- Artists ---------- */
.artist-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .artist-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .artist-grid { grid-template-columns: repeat(3, 1fr); } }
.artist-card { display: flex; flex-direction: column; transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
.artist-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: 0 30px 70px -25px rgba(61, 180, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .06); }
.artist-media { aspect-ratio: 16 / 10; overflow: hidden; background: #000; position: relative; }
.artist-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; transition: transform .8s var(--ease); }
.artist-card:hover .artist-media img { transform: scale(1.05); }
.media-contain img { object-fit: cover; object-position: center 52%; transform: scale(1.02); }
.artist-card:hover .media-contain img { transform: scale(1.08); }
.artist-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(7, 11, 20, .6)); pointer-events: none; }
.card-body { padding: 24px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ice); margin-bottom: 8px; }
.artist-card h3 { font-size: 1.6rem; font-weight: 800; margin-bottom: 6px; }
.tagline { color: var(--text-dim); }
.mini-title { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 6px 0 10px; }
.track-list { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.track-list li { font-size: 13.5px; padding: 5px 12px; border-radius: 999px; background: rgba(127, 220, 255, .06); border: 1px solid var(--line); color: var(--text); }
.stream { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; }
.stream-btn {
  display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 8px 14px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; color: var(--text); border: 1px solid var(--line-strong); background: rgba(127, 220, 255, .05);
  transition: background .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.stream-btn svg { width: 17px; height: 17px; fill: currentColor; flex: none; }
.stream-btn:hover { color: #fff; border-color: var(--ice-2); background: rgba(127, 220, 255, .12); transform: translateY(-1px); }
/* Pending (no real link yet): calm, slightly muted, still feels intentional */
.stream-btn.is-pending { color: var(--text-dim); border-style: dashed; border-color: rgba(127, 220, 255, .22); cursor: default; }
.stream-btn.is-pending:hover { color: var(--text); background: rgba(127, 220, 255, .06); border-color: rgba(127, 220, 255, .35); transform: none; }

.soon-card { border-style: dashed; border-color: var(--line-strong); }
.soon-media { display: grid; place-items: center; background: radial-gradient(circle at 50% 60%, #0d2340, #050a14 70%); }
.soon-media::after { display: none; }
.soon-shard {
  width: 46%; aspect-ratio: 1.2; clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: linear-gradient(160deg, rgba(127, 220, 255, .55), rgba(61, 180, 255, .08));
  filter: drop-shadow(0 0 18px rgba(61, 180, 255, .5)); animation: float 8s ease-in-out infinite;
}
.soon-q { position: absolute; font-size: 2.6rem; font-weight: 800; color: rgba(255, 255, 255, .85); top: 50%; left: 50%; transform: translate(-50%, -30%); }
.soon-note { color: var(--muted); font-size: 14px; }
.soon-card .btn { align-self: flex-start; margin-top: auto; }

/* ---------- Releases strip ---------- */
.release-strip-wrap { position: relative; }
.release-strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 68%; gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  padding: 6px max(20px, calc((100vw - 1180px) / 2 + 20px)) 24px;
  scroll-padding: 0 max(20px, calc((100vw - 1180px) / 2 + 20px));
  scrollbar-width: thin; scrollbar-color: rgba(127, 220, 255, .3) transparent;
}
.release-strip::-webkit-scrollbar { height: 6px; }
.release-strip::-webkit-scrollbar-thumb { background: rgba(127, 220, 255, .25); border-radius: 6px; }
@media (min-width: 560px) { .release-strip { grid-auto-columns: 42%; } }
@media (min-width: 900px) { .release-strip { grid-auto-columns: 230px; } }
.release { scroll-snap-align: start; }
.release h3 { font-size: 1rem; font-weight: 700; margin: 14px 0 2px; letter-spacing: -0.01em; }
.release p { font-size: 14px; color: var(--text-dim); margin: 0; }
.cover {
  position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden;
  display: flex; align-items: flex-end; padding: 16px;
  border: 1px solid var(--line); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .8);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.release:hover .cover { transform: translateY(-5px) rotate(-.4deg); border-color: var(--line-strong); box-shadow: 0 26px 50px -18px rgba(61, 180, 255, .4); }
.cover span { position: relative; z-index: 1; font-weight: 800; font-size: 1.15rem; line-height: 1.15; letter-spacing: -0.01em; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .5); }
.cover::before { /* faceted ice shards */
  content: ""; position: absolute; inset: 0; opacity: .5;
  background:
    linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, .14) 49%, transparent 60%),
    linear-gradient(60deg, transparent 55%, rgba(127, 220, 255, .18) 56%, transparent 75%),
    linear-gradient(200deg, transparent 40%, rgba(255, 255, 255, .08) 41%, transparent 52%);
}
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(2, 6, 18, .75)); }
.cover-g1 { background: radial-gradient(circle at 25% 20%, #7fdcff 0%, #1c5fa8 40%, #071530 85%); }
.cover-g1.alt { background: radial-gradient(circle at 75% 25%, #9ee6ff 0%, #2a7fc4 35%, #0a1630 85%); }
.cover-g2 { background: radial-gradient(circle at 70% 30%, #b9c7ff 0%, #4a4fb8 40%, #0b0d2a 85%); }
.cover-g3 { background: linear-gradient(160deg, #e8f4ff 0%, #6aa7d8 35%, #13294d 75%, #050a16 100%); }
.cover-g4 { background: linear-gradient(180deg, #0d2b4a 0%, #1e6f9e 45%, #3db4ff 55%, #0a1a33 100%); }
.cover-g5 { background: radial-gradient(circle at 30% 70%, #7a8fb0 0%, #2a3550 40%, #07090f 85%); }
.cover-g6 { background: linear-gradient(170deg, #cfe3f5 0%, #6d86a6 40%, #1a2540 75%, #060a14 100%); }
.cover-img { background-size: cover; background-color: #000; }
.cover-buran { background-image: url("buran.jpg"); background-position: 78% 30%; }
.cover-sonic { background-image: url("sonic-iceberg.jpg"); background-position: center 45%; background-size: 118%; }
.cover-img::before { display: none; }

/* ---------- About ---------- */
.about-body { padding: 28px 24px; max-width: 820px; font-size: 1.08rem; color: var(--text-dim); }
.about-body p:last-child { margin-bottom: 0; }

/* ---------- Footer / Contact ---------- */
.site-footer { padding: 40px 0 28px; position: relative; }
.contact-card { padding: 40px 24px; text-align: center; margin-bottom: 40px;
  background: radial-gradient(ellipse at 50% 0%, rgba(61, 180, 255, .16), transparent 70%), var(--glass); }
.contact-card .eyebrow::before { display: none; }
.contact-card .section-lead { max-width: 44ch; margin: 0 auto 1.4em; }
.mail-link {
  display: inline-block; font-size: clamp(1.05rem, 4.6vw, 1.8rem); font-weight: 700; word-break: break-all;
  color: #fff; padding: 6px 2px; background: linear-gradient(90deg, var(--ice), var(--ice-2)) no-repeat 0 100% / 100% 2px;
  transition: background-size .35s var(--ease), color .25s var(--ease);
}
.mail-link:hover { color: var(--ice-2); background-size: 0 2px; background-position: 100% 100%; }
.footer-bottom { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; text-align: center; }
.footer-bottom p { margin: 0; }
.footer-brand { display: inline-flex; align-items: center; gap: 8px; color: var(--text); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.footer-brand img { border-radius: 5px; }
.to-top { color: var(--text-dim); }
@media (min-width: 760px) {
  .section { padding: 110px 0; }
  .card-body { padding: 26px 26px 28px; }
  .about-body { padding: 40px 44px; }
  .contact-card { padding: 60px 40px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 20px);
  max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 12px; font-size: 14px;
  color: var(--text); background: rgba(12, 22, 40, .92); border: 1px solid var(--line-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }
