/* =========================================================
   3ldi — Artist Website
   Aesthetic: dark, nocturnal, cinematic, minimal.
   Theme is fully centralized in CSS variables (see :root /
   [data-theme]). Switching to a light/minimal version is a
   one-line change of the data-theme attribute on <html>.
   ========================================================= */

/* ---------- Custom fonts (Saturnest — used for Info bio) ---------- */
@font-face {
  font-family: "Saturnest";
  src: url("../fonts/Saturnest-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saturnest";
  src: url("../fonts/Saturnest.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Saturnest";
  src: url("../fonts/Saturnest-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---------- Theme tokens ---------- */
:root,
[data-theme="dark"] {
  --bg:        #0a0a0a;
  --bg-elev:   #131313;
  --bg-elev-2: #1b1b1b;
  --text:      #f5f5f5;
  --muted:     rgba(245, 245, 245, 0.56);
  --faint:     rgba(245, 245, 245, 0.34);
  --line:      rgba(245, 245, 245, 0.12);
  --line-soft: rgba(245, 245, 245, 0.07);
  --accent:    #c8a24a;
  --accent-dim: rgba(200, 162, 74, 0.16);
  --on-accent: #0a0a0a;
  --hero-veil: linear-gradient(180deg, rgba(10,10,10,.30) 0%, rgba(10,10,10,.55) 46%, rgba(10,10,10,.96) 100%);
}

[data-theme="light"] {
  --bg:        #f3f1ea;
  --bg-elev:   #ffffff;
  --bg-elev-2: #ebe8df;
  --text:      #14130f;
  --muted:     rgba(20, 19, 15, 0.58);
  --faint:     rgba(20, 19, 15, 0.40);
  --line:      rgba(20, 19, 15, 0.14);
  --line-soft: rgba(20, 19, 15, 0.07);
  --accent:    #9a7916;
  --accent-dim: rgba(154, 121, 22, 0.12);
  --on-accent: #ffffff;
  --hero-veil: linear-gradient(180deg, rgba(243,241,234,.30) 0%, rgba(243,241,234,.55) 46%, rgba(243,241,234,.97) 100%);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01";
  transition: background .5s ease, color .5s ease;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: 12px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 18px;
}
.muted { color: var(--muted); }
.todo-tag {
  display: inline-block;
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line);
  padding: 3px 8px;
  border-radius: 999px;
}

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  transition: background .35s ease, border-color .35s ease, padding .35s ease;
  border-bottom: 1px solid transparent;
}
.nav[data-solid="true"] {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  padding: 13px 24px;
}
.brand {
  font-size: 23px; font-weight: 700; letter-spacing: -0.04em;
  line-height: 1; display: inline-flex; align-items: baseline; gap: 2px;
}
.brand .dot { color: var(--accent); }
.nav-links { display: none; gap: 30px; align-items: center; }
.nav-links a {
  font-size: 14.5px; font-weight: 500; color: var(--muted);
  letter-spacing: .01em; position: relative; padding: 4px 0;
  transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"]::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: 8px; }

/* Language selector */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13.5px; font-weight: 500; color: var(--muted);
  padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px;
  transition: color .2s, border-color .2s;
}
.lang-btn:hover { color: var(--text); border-color: var(--line); }
.lang-btn svg { width: 15px; height: 15px; opacity: .8; }
.lang-btn .chev { width: 11px; height: 11px; transition: transform .2s; }
.lang[data-open="true"] .lang-btn .chev { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px);
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: 14px; padding: 6px; min-width: 188px;
  display: none; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,.5);
}
.lang[data-open="true"] .lang-menu { display: flex; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 12px; border-radius: 9px; font-size: 14px; color: var(--muted);
  text-align: left; transition: background .15s, color .15s;
}
.lang-menu button:hover { background: var(--bg-elev-2); color: var(--text); }
.lang-menu button[aria-current="true"] { color: var(--text); }
.lang-menu button[aria-current="true"] .code { color: var(--accent); }
.lang-menu .code {
  font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--faint);
}

/* Mobile menu toggle */
.menu-toggle { display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; }
.menu-toggle span { width: 22px; height: 1.6px; background: var(--text); transition: transform .3s, opacity .3s; }
.mobile-nav {
  position: fixed; inset: 0; z-index: 99; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 32px; transform: translateY(-100%); transition: transform .45s cubic-bezier(.7,0,.2,1);
  pointer-events: none;
}
.mobile-nav[data-open="true"] { transform: translateY(0); pointer-events: auto; }
.mobile-nav a {
  font-size: clamp(34px, 11vw, 56px); font-weight: 600; letter-spacing: -0.03em;
  color: var(--muted); padding: 6px 0; transition: color .2s;
}
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--text); }
.mobile-nav a[aria-current="page"] { color: var(--accent); }

/* =========================================================
   PAGE / VIEW transitions
   ========================================================= */
main { min-height: 100vh; }
.view { display: none; animation: viewIn .5s cubic-bezier(.2,.6,.2,1) both; }
.view[data-active="true"] { display: block; }
@keyframes viewIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .view { animation: none; } }

.page-head { padding: 132px 0 30px; border-bottom: 1px solid var(--line-soft); }
.page-head h1 {
  font-size: clamp(46px, 9vw, 104px); font-weight: 700; letter-spacing: -0.045em;
  line-height: .92; margin: 14px 0 0;
}
.page-head p { color: var(--muted); font-size: 18px; max-width: 56ch; margin: 22px 0 0; }
.section { padding: 64px 0; }

/* =========================================================
   HERO (Home)
   ========================================================= */
.hero {
  position: relative; min-height: 100svh; display: flex;
  align-items: center; justify-content: center; text-align: center;
  overflow: hidden; isolation: isolate; background: #000;
}
.spiral-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; z-index: 0;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(.18) contrast(1.04) brightness(.82) saturate(.9);
  transform: scale(1.08); animation: heroDrift 26s ease-in-out infinite alternate;
}
@keyframes heroDrift { from { transform: scale(1.08) translateY(0); } to { transform: scale(1.14) translateY(-2%); } }
.hero-veil {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(58% 42% at 50% 50%, rgba(0,0,0,.74) 0%, rgba(0,0,0,.28) 34%, transparent 64%),
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, transparent 22% 64%, var(--bg) 100%);
}
.hero-grain {
  position: absolute; inset: 0; z-index: 1; opacity: .05; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  width: 100%; max-width: 1180px; margin: 0 auto; padding: 90px 24px 24px;
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center;
}
.hero h1 {
  font-size: clamp(66px, 17vw, 210px); font-weight: 700; letter-spacing: -0.06em;
  line-height: .82; margin: 0; display: inline-flex; align-items: flex-start;
  text-shadow: 0 6px 60px rgba(0,0,0,.6);
}
.hero h1 .dot { color: var(--accent); }
.hero-tag {
  margin: 26px auto 0; max-width: 46ch; font-size: clamp(16px, 2.2vw, 20px);
  color: rgba(245,245,245,.82); letter-spacing: -0.01em;
}
[data-theme="light"] .hero-tag { color: rgba(245,245,245,.82); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; align-items: center; justify-content: center; }
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--faint); display: flex; flex-direction: column;
  align-items: center; gap: 8px; z-index: 2;
}
.hero-scroll .bar { width: 1px; height: 38px; background: linear-gradient(var(--faint), transparent); animation: scrollPulse 2.4s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* Platform pills row */
.platforms { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; justify-content: center; }

/* Hero sits on a permanently-black canvas — keep its UI light in any theme */
.hero .platform-pill { color: rgba(245,245,245,.6); border-color: rgba(245,245,245,.18); }
.hero .platform-pill:hover { color: #fff; border-color: var(--accent); }
.hero .platform-pill.soon:hover { color: rgba(245,245,245,.6); border-color: rgba(245,245,245,.18); }
.hero .btn-ghost { color: #f5f5f5; border-color: rgba(245,245,245,.22); }
.hero .btn-ghost:hover { border-color: var(--accent); }
.hero .hero-scroll { color: rgba(245,245,245,.4); }
.hero .hero-scroll .bar { background: linear-gradient(rgba(245,245,245,.4), transparent); }
.platform-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px;
  border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px;
  color: var(--muted); transition: border-color .2s, color .2s, background .2s;
}
.platform-pill:hover { color: var(--text); border-color: var(--accent); }
.platform-pill svg { width: 16px; height: 16px; }
.platform-pill.soon { opacity: .5; cursor: not-allowed; }
.platform-pill.soon:hover { color: var(--muted); border-color: var(--line); }

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px;
  border-radius: 999px; font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  transition: transform .15s ease, background .2s, border-color .2s, color .2s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, #fff); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }
.btn svg { width: 17px; height: 17px; }

/* =========================================================
   HOME — latest release feature
   ========================================================= */
.feature {
  display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center;
  padding: 76px 0;
}
.feature-art {
  position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); box-shadow: 0 40px 90px rgba(0,0,0,.55);
  max-width: 460px;
}
.feature-art img { width: 100%; height: 100%; object-fit: cover; }
.feature-meta .year { font-family: "Space Mono", monospace; color: var(--accent); font-size: 13px; letter-spacing: .16em; }
.feature-meta h2 { font-size: clamp(40px, 7vw, 72px); font-weight: 700; letter-spacing: -0.04em; line-height: .95; margin: 14px 0 0; }
.feature-meta .kind { color: var(--muted); margin: 12px 0 26px; }

/* Quick links grid (home bottom) */
.quicklinks { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-soft); border-top: 1px solid var(--line-soft); }
.quicklink {
  background: var(--bg); padding: 30px 4px; display: flex; align-items: baseline;
  justify-content: space-between; transition: background .25s, padding-left .25s;
}
.quicklink:hover { background: var(--bg-elev); padding-left: 14px; }
.quicklink .ql-num { font-family: "Space Mono", monospace; color: var(--faint); font-size: 13px; }
.quicklink .ql-title { font-size: clamp(26px, 4.4vw, 40px); font-weight: 600; letter-spacing: -0.03em; }
.quicklink .ql-arrow { color: var(--accent); transition: transform .25s; }
.quicklink:hover .ql-arrow { transform: translate(6px, 0); }

/* =========================================================
   MUSIC
   ========================================================= */
.release-block { display: grid; grid-template-columns: 1fr; gap: 28px; margin-top: 8px; }
.embed-card { background: var(--bg-elev); border: 1px solid var(--line); border-radius: 16px; padding: 14px; }
.embed-card iframe { display: block; border: 0; border-radius: 10px; width: 100%; }
.listen-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.divider-label {
  display: flex; align-items: center; gap: 18px; margin: 64px 0 26px;
  font-family: "Space Mono", monospace; font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--faint);
}
.divider-label::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }

/* Liste di uscite (solo + collaborazioni) renderizzate da music.js */
.release-list { display: flex; flex-direction: column; gap: 48px; }
.release-list:empty { display: none; }

/* Griglia "in arrivo" mostrata finché non ci sono uscite soliste */
.soon-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.soon-card {
  position: relative; isolation: isolate;
  min-height: 300px; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background-color: rgba(255,255,255,.02);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 22px; transition: transform .3s ease;
}
.soon-card:hover { transform: translateY(-4px); }

/* Animazione spirale (la stessa della home) come sfondo della card */
.soon-spiral {
  position: absolute; inset: 0; z-index: 0; display: block;
  width: 100%; height: 100%; border-radius: inherit; opacity: .85;
}
/* Velo: schiarisce in alto, scurisce in basso per la leggibilità del testo */
.soon-veil {
  position: absolute; inset: 0; z-index: 1; border-radius: inherit; pointer-events: none;
  background: linear-gradient(180deg, rgba(10,10,10,.12) 0%, rgba(10,10,10,.04) 45%, rgba(10,10,10,.82) 100%);
}
.soon-body { position: relative; z-index: 3; display: flex; flex-direction: column; gap: 12px; }
.soon-kind { font-size: clamp(22px, 3.2vw, 30px); font-weight: 600; letter-spacing: -0.02em; }
.soon-tag {
  align-self: flex-start; font-family: "Space Mono", monospace; font-size: 11px;
  letter-spacing: .18em; text-transform: uppercase; color: #fff;
  border: 1px solid rgba(255,255,255,.35); border-radius: 999px; padding: 5px 12px;
  background: rgba(255,255,255,.06);
}
.soon-note { margin: 26px 0 0; font-size: 15px; max-width: 52ch; }

/* =========================================================
   GLOW CARD — spotlight bianco che illumina il BORDO seguendo
   il puntatore. Utility riutilizzabile su QUALSIASI card del sito.
   Tecnica: uno pseudo-elemento riempie la card; un radial-gradient
   centrato sul puntatore (--x/--y, impostate via JS) viene mascherato
   a un sottile anello INTERNO, così brilla solo il bordo.
   `inset:0` + `border-radius:inherit` → si adatta a forma e dimensione
   di ogni card e resta dentro i contenitori con overflow:hidden.
   --x/--y default fuori schermo: il glow resta spento finché non muovi
   il puntatore (su mobile, senza puntatore, resta spento).
   ========================================================= */
.glow-card {
  --border-size: 2px;
  --spotlight-size: 240px;
  position: relative;
  isolation: isolate;
}
.glow-card::before,
.glow-card::after {
  pointer-events: none; content: ""; position: absolute; inset: 0; z-index: 4;
  border-radius: inherit;
  padding: var(--border-size);
  /* maschera "anello": gradiente visibile solo nella fascia di bordo */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
}
.glow-card::before {
  background: radial-gradient(
    calc(var(--spotlight-size) * 0.7) calc(var(--spotlight-size) * 0.7) at
    calc(var(--x, -9999) * 1px) calc(var(--y, -9999) * 1px),
    rgba(255,255,255,1), transparent 100%
  );
  filter: brightness(1.4);
}
.glow-card::after {
  background: radial-gradient(
    calc(var(--spotlight-size) * 0.5) calc(var(--spotlight-size) * 0.5) at
    calc(var(--x, -9999) * 1px) calc(var(--y, -9999) * 1px),
    rgba(255,255,255,1), transparent 100%
  );
}
@media (prefers-reduced-motion: reduce) { .soon-card:hover { transform: none; } }

/* Wrapper "card" attorno a media che non accettano pseudo-elementi
   (es. <img>, o un <iframe>): danno al glow un box con gli angoli da
   ereditare. La radius combacia con quella del contenuto interno. */
.vid-card { display: block; border-radius: 12px; }
.info-photo-wrap { display: block; border-radius: 12px; }

/* =========================================================
   PLACEHOLDER media (striped)
   ========================================================= */
.ph {
  position: relative; display: flex; align-items: center; justify-content: center;
  background: var(--bg-elev);
  background-image: repeating-linear-gradient(135deg, var(--line-soft) 0 1px, transparent 1px 11px);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
}
.ph span {
  font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--faint); text-align: center; padding: 12px;
}
.ph.vid { aspect-ratio: 16/9; }
.ph.vid::before {
  content: ""; position: absolute; width: 54px; height: 54px; border-radius: 999px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--bg) 60%, transparent);
}
.ph.vid::after {
  content: ""; position: absolute; width: 0; height: 0;
  border-left: 13px solid var(--faint); border-top: 8px solid transparent; border-bottom: 8px solid transparent;
  margin-left: 4px;
}
.video-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }

/* =========================================================
   INFO
   ========================================================= */
.info-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; }
.info-grid > * { min-width: 0; }
.info-photo {
  width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; object-position: center 20%;
  border: 1px solid var(--line); border-radius: 12px;
}
.bio p {
  font-family: "Saturnest", "Schibsted Grotesk", system-ui, sans-serif;
  font-size: 19px; color: rgba(245,245,245,.88); margin: 0 0 20px; max-width: 60ch;
  letter-spacing: 0; line-height: 1.6;
}
[data-theme="light"] .bio p { color: var(--text); }
.bio p.lead { font-size: clamp(23px, 3vw, 31px); font-weight: 700; letter-spacing: -0.01em; color: var(--text); line-height: 1.4; }

/* "Slowly but surely" — marquee scorrevole (adattato da magicui) */
.lead-marquee {
  --mq-gap: 1.6rem;
  --mq-duration: 26s;
  display: flex;
  gap: var(--mq-gap);
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
  margin-top: 6px;
  user-select: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}
.lead-marquee .marquee-grp {
  display: flex;
  align-items: center;
  gap: var(--mq-gap);
  flex-shrink: 0;
  white-space: nowrap;
  font-size: clamp(23px, 3vw, 31px);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--text);
  animation: lead-marquee var(--mq-duration) linear infinite;
}
.lead-marquee:hover .marquee-grp { animation-play-state: paused; }
.lead-marquee .marquee-sep { color: var(--accent); font-weight: 400; }
@keyframes lead-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-100% - var(--mq-gap))); }
}
@media (prefers-reduced-motion: reduce) {
  .lead-marquee .marquee-grp { animation: none; }
}

/* =========================================================
   SOCIAL
   ========================================================= */
.social-grid { display: grid; grid-template-columns: 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden; }
.social-card {
  background: var(--bg); padding: 30px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background .25s; position: relative;
}
.social-card:hover { background: var(--bg-elev); }
.social-card .sc-left { display: flex; align-items: center; gap: 18px; }
.social-card .sc-ico { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; }
.social-card .sc-ico svg { width: 20px; height: 20px; }
.social-card .sc-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.social-card .sc-handle { font-size: 13px; color: var(--muted); }
.social-card .sc-go { color: var(--accent); transition: transform .25s; }
.social-card:hover .sc-go { transform: translateX(5px); }
.social-card.soon { cursor: default; }
.social-card.soon .sc-name { color: var(--muted); }

/* =========================================================
   FORMS (Join / Contact)
   ========================================================= */
.form-wrap { max-width: 540px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13px; letter-spacing: .04em; color: var(--muted); margin-bottom: 9px; text-transform: uppercase; }
.field input, .field textarea {
  width: 100%; background: var(--bg-elev); border: 1px solid var(--line); color: var(--text);
  padding: 15px 16px; border-radius: 12px; font: inherit; transition: border-color .2s, background .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: var(--bg-elev-2); }
.field textarea { resize: vertical; min-height: 130px; }
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 6px 0 22px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }
.consent label { font-size: 13.5px; color: var(--muted); line-height: 1.5; text-transform: none; letter-spacing: 0; }
.consent a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.form-msg { font-size: 14px; margin-top: 16px; padding: 13px 16px; border-radius: 10px; display: none; }
.form-msg[data-show="true"] { display: block; }
.form-msg.ok { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--accent); }
.form-msg.info { background: var(--bg-elev); color: var(--text); border: 1px solid var(--line); }
.form-msg.err { background: rgba(200,74,74,.12); color: #e08585; border: 1px solid rgba(200,74,74,.4); }

/* small helper to preview newsletter states in the mockup */
.state-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--line); }
.state-preview .sp-label { font-family: "Space Mono", monospace; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); width: 100%; margin-bottom: 4px; }
.state-preview button { font-size: 12px; color: var(--muted); border: 1px solid var(--line); padding: 6px 11px; border-radius: 999px; transition: color .2s, border-color .2s; }
.state-preview button:hover { color: var(--text); border-color: var(--accent); }

.contact-mail {
  display: inline-flex; align-items: center; gap: 12px; font-size: clamp(24px, 4vw, 38px);
  font-weight: 600; letter-spacing: -0.03em; margin: 6px 0 30px;
}
.contact-mail:hover { color: var(--accent); }

/* =========================================================
   LEGAL (Privacy)
   ========================================================= */
.legal { max-width: 680px; }
.legal h2 {
  font-size: 13px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin: 42px 0 12px;
}
.legal h2:first-of-type { margin-top: 22px; }
.legal p { color: rgba(245,245,245,.82); margin: 0 0 8px; max-width: 64ch; font-size: 16px; }
[data-theme="light"] .legal p { color: var(--text); }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--line-soft); padding: 56px 0 40px; margin-top: 40px; }
.footer-top { display: flex; flex-direction: column; gap: 30px; }
.footer .brand { font-size: 34px; }
.footer-socials { display: flex; gap: 12px; }
.footer-socials a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); transition: color .2s, border-color .2s; }
.footer-socials a:hover { color: var(--text); border-color: var(--accent); }
.footer-socials svg { width: 18px; height: 18px; }
.footer-bottom { display: flex; flex-direction: column; gap: 16px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 13px; }
.footer-bottom a:hover { color: var(--text); }
.footer-langs { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-langs button { font-size: 13px; color: var(--faint); transition: color .2s; }
.footer-langs button:hover, .footer-langs button[aria-current="true"] { color: var(--accent); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (min-width: 720px) {
  .video-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { flex-direction: row; justify-content: space-between; align-items: flex-start; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
@media (min-width: 900px) {
  body { font-size: 18px; }
  .nav { padding: 22px 40px; }
  .nav[data-solid="true"] { padding: 15px 40px; }
  .wrap, .hero-inner { padding-left: 40px; padding-right: 40px; }
  .hero-inner { padding-bottom: 80px; }
  .nav-links { display: flex; }
  .menu-toggle { display: none; }
  .feature { grid-template-columns: 460px 1fr; gap: 64px; }
  .release-block { grid-template-columns: 1fr; }
  .info-grid { grid-template-columns: 0.85fr 1.15fr; gap: 60px; }
  .video-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .soon-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .quicklink { padding: 38px 8px; }
}
@media (min-width: 1100px) {
  .release-block.two { grid-template-columns: 1.2fr 1fr; gap: 40px; }
}
