/*
Theme Name: EMIREK Two Worlds
Theme URI: https://emirex.plataformaendesarrollo.com
Author: SoftMant / Codex
Description: Custom one-page WordPress theme for EMIREK: Music for Screen and Orchestral House.
Version: 1.0.0
*/

:root {
  --ink: #f7f1e8;
  --muted: rgba(247,241,232,.68);
  --gold: #d8a657;
  --ice: #8ec8ff;
  --fire: #ff7847;
  --blue: #09101c;
  --red: #1b0707;
  --panel: rgba(12, 16, 24, .72);
  --line: rgba(255,255,255,.14);
  --shadow: 0 24px 80px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #06070a;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 12%, rgba(142,200,255,.14), transparent 32rem),
    radial-gradient(circle at 82% 18%, rgba(255,120,71,.15), transparent 34rem),
    linear-gradient(180deg, #06070a 0%, #0b0d12 45%, #050506 100%);
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(5,7,10,.86), rgba(5,7,10,.42));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.3rem, 2vw, 2rem);
  font-weight: 700;
  letter-spacing: .16em;
}
.brand span:first-child { color: var(--ice); }
.brand span:last-child { color: var(--fire); }

.nav {
  display: flex;
  gap: clamp(14px, 2.4vw, 34px);
  align-items: center;
  color: rgba(255,255,255,.76);
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.nav a { transition: color .2s ease; }
.nav a:hover { color: #fff; }


.hero-mark {
  position: absolute;
  z-index: 14;
  top: clamp(92px, 13vh, 150px);
  left: 50%;
  transform: translateX(-50%);
  width: min(460px, 56vw);
  pointer-events: none;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.55));
}
.hero-mark img {
  display: block;
  width: 100%;
  height: auto;
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.world {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: end;
  padding: clamp(220px, 30vh, 310px) clamp(20px, 5vw, 76px) 72px;
  isolation: isolate;
}
.world::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  filter: saturate(1.04) contrast(1.02);
  z-index: -2;
}
.world::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.72)),
    linear-gradient(90deg, rgba(0,0,0,.38), transparent 55%, rgba(0,0,0,.2));
  z-index: -1;
}
.world.screen { --bg: url("assets/cinematic-world.jpg"); border-right: 1px solid rgba(255,255,255,.12); }
.world.house { --bg: url("assets/orchestral-house.jpg"); }

.world-card { max-width: 580px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}
h1, h2, h3, p { margin-top: 0; }
.world h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 7vw, 7.8rem);
  line-height: .88;
  margin-bottom: 24px;
}
.world p {
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  line-height: 1.75;
  max-width: 48ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  background: rgba(255,255,255,.08);
  box-shadow: 0 16px 40px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.14); }
.btn.gold { background: linear-gradient(135deg, rgba(216,166,87,.95), rgba(255,120,71,.82)); color: #120807; border: 0; font-weight: 700; }

.section {
  padding: clamp(74px, 9vw, 132px) clamp(20px, 5vw, 78px);
  position: relative;
  border-bottom: 1px solid var(--line);
}
.section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 500px);
  gap: clamp(28px, 5vw, 74px);
  align-items: center;
}
.section h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 6vw, 6.2rem);
  line-height: .94;
  margin-bottom: 20px;
}
.lead {
  color: rgba(255,255,255,.74);
  font-size: clamp(1.02rem, 1.25vw, 1.22rem);
  line-height: 1.82;
  max-width: 68ch;
}

.visual {
  min-height: 520px;
  border-radius: 8px;
  background-image: var(--visual);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,.14);
}
.screen-section .visual { --visual: url("assets/screen-studio.jpg"); }
.house-section .visual { --visual: url("assets/live-stage.jpg"); }

.media-box {
  margin-top: 36px;
  border: 1px solid rgba(255,255,255,.13);
  background: rgba(255,255,255,.05);
  border-radius: 8px;
  overflow: hidden;
}
.media-inner {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  min-height: 260px;
  background:
    linear-gradient(135deg, rgba(142,200,255,.22), rgba(216,166,87,.08)),
    #0b101a;
}
.house-section .media-inner {
  background:
    linear-gradient(135deg, rgba(255,120,71,.22), rgba(216,166,87,.08)),
    #160908;
}

.consent-panel {
  max-width: 520px;
  text-align: center;
  padding: 24px;
}
.consent-panel strong { display: block; font-size: 1.2rem; margin-bottom: 8px; }
.consent-panel p { color: var(--muted); line-height: 1.6; }

.library {
  margin-top: 46px;
  display: grid;
  gap: 12px;
}
.track {
  display: grid;
  grid-template-columns: 46px minmax(150px, 260px) 1fr 58px;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  border-radius: 8px;
}
.play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
}
.play.is-playing { background: var(--gold); color: #111; }
.track-title { font-weight: 700; }
.wave {
  height: 34px;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.2) 0 2px, transparent 2px 9px),
    linear-gradient(90deg, rgba(142,200,255,.18), rgba(216,166,87,.22));
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
  border-radius: 99px;
  opacity: .84;
}
.duration { color: var(--muted); font-variant-numeric: tabular-nums; }

.platform-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.about-contact {
  display: grid;
  grid-template-columns: 1.3fr .9fr;
  gap: clamp(24px, 5vw, 70px);
  align-items: start;
}
.panel {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 46px);
  box-shadow: var(--shadow);
}
.panel h2 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
}
.contact-list {
  display: grid;
  gap: 12px;
  color: rgba(255,255,255,.78);
  margin-bottom: 28px;
}
.contact-list span { color: var(--muted); display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 3px; }

.privacy {
  color: rgba(255,255,255,.58);
  font-size: .92rem;
  line-height: 1.7;
  padding-bottom: 36px;
}

.cookie {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: none;
  max-width: 840px;
  margin: 0 auto;
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(5,7,10,.92);
  box-shadow: var(--shadow);
  align-items: center;
  gap: 18px;
}
.cookie.is-visible { display: flex; }
.cookie p { margin: 0; color: var(--muted); line-height: 1.55; flex: 1; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 900px) {
  .hero-mark { top: 104px; width: min(360px, 74vw); }
  .topbar { height: auto; min-height: 68px; align-items: start; flex-direction: column; padding-top: 14px; padding-bottom: 14px; gap: 10px; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: 2px; font-size: .75rem; }
  .hero { grid-template-columns: 1fr; }
  .world, .world.screen, .world.house { min-height: 78vh; border-right: 0; }
  .section-grid, .about-contact { grid-template-columns: 1fr; }
  .visual { min-height: 340px; }
  .track { grid-template-columns: 42px 1fr 52px; }
  .track .wave { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .hero-mark { top: 116px; width: 78vw; }
  .world { padding-left: 18px; padding-right: 18px; }
  .section { padding-left: 18px; padding-right: 18px; }
  .cookie { align-items: stretch; flex-direction: column; }
  .cookie-actions .btn { width: 100%; }
}

.video-embed {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
}


.about-panel {
  display: grid;
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 42px);
  align-items: center;
}

.portrait {
  min-height: 420px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.24)),
    url("assets/emirek-portrait.jpg") center / cover no-repeat;
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}

.about-copy {
  min-width: 0;
}

@media (max-width: 760px) {
  .about-panel {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 360px;
    background-position: center top;
  }
}


.audio-track {
  grid-template-columns: minmax(160px, 260px) 1fr;
}

.audio-track audio {
  width: 100%;
  min-width: 0;
  filter: invert(1) hue-rotate(180deg);
}

@media (max-width: 640px) {
  .audio-track {
    grid-template-columns: 1fr;
    align-items: stretch;
  }
}


.privacy-copy {
  max-width: 980px;
}

.privacy-copy h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.6rem);
  line-height: 1;
  margin-bottom: 18px;
}

.privacy-copy p {
  color: rgba(255,255,255,.74);
  line-height: 1.75;
  max-width: 78ch;
}

.cookie {
  align-items: center;
}

.cookie-copy {
  max-width: 760px;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 6px;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(8px);
}

.privacy-modal[hidden] {
  display: none;
}

.privacy-dialog {
  position: relative;
  width: min(760px, 100%);
  max-height: min(760px, 90vh);
  overflow: auto;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.16);
  background: #0b0d12;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 42px);
}

.privacy-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
}

.privacy-options {
  display: grid;
  gap: 14px;
  margin: 24px 0;
}

.privacy-options article {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255,255,255,.045);
}

.privacy-options h3 {
  margin: 0 0 8px;
}

.privacy-options p {
  color: var(--muted);
  line-height: 1.6;
}

.privacy-options span {
  color: var(--gold);
  font-weight: 700;
}

.switch {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
}

.switch input {
  width: 20px;
  height: 20px;
  accent-color: var(--gold);
}

.consent-panel .btn + .btn {
  margin-left: 10px;
}

@media (max-width: 640px) {
  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  .consent-panel .btn + .btn {
    margin-left: 0;
    margin-top: 10px;
  }
}

/* Hero refinement: calmer first viewport, more air around the logo. */
.hero-mark {
  top: clamp(86px, 10vh, 122px);
  width: min(360px, 38vw);
  opacity: .94;
}

.world {
  padding: clamp(190px, 26vh, 260px) clamp(22px, 5vw, 76px) 68px;
}

.world-card {
  max-width: 520px;
}

.world h1 {
  font-size: clamp(2.8rem, 5.2vw, 6.1rem);
  line-height: .94;
  margin-bottom: 20px;
}

.world p {
  max-width: 40ch;
  font-size: clamp(.98rem, 1.05vw, 1.12rem);
  line-height: 1.66;
}

.eyebrow {
  font-size: .72rem;
  margin-bottom: 14px;
}

.hero .btn {
  min-height: 44px;
  padding-inline: 20px;
}

.world::after {
  background:
    linear-gradient(180deg, rgba(0,0,0,.34), rgba(0,0,0,.76)),
    linear-gradient(90deg, rgba(0,0,0,.48), transparent 58%, rgba(0,0,0,.24));
}

@media (min-width: 1500px) {
  .world-card {
    max-width: 560px;
  }

  .world h1 {
    font-size: clamp(4rem, 4.6vw, 6.4rem);
  }
}

@media (max-width: 900px) {
  .hero-mark {
    width: min(300px, 62vw);
  }

  .world {
    padding-top: 180px;
  }
}

/* About/contact refinement: keep content away from viewport edges. */
.about-contact {
  width: min(1240px, calc(100vw - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: stretch;
}

.about-contact .panel {
  min-width: 0;
}

.about-panel {
  grid-template-columns: minmax(210px, 300px) minmax(0, 1fr);
}

.about-panel h2,
.about-contact aside h2 {
  font-size: clamp(2.8rem, 4.8vw, 5.4rem);
  overflow-wrap: anywhere;
}

.contact-list a {
  overflow-wrap: anywhere;
  word-break: normal;
}

.portrait {
  max-width: 300px;
  width: 100%;
  justify-self: center;
}

@media (max-width: 1100px) {
  .about-contact {
    grid-template-columns: 1fr;
  }

  .about-panel {
    grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
  }
}

@media (max-width: 760px) {
  .about-contact {
    width: min(100%, calc(100vw - 32px));
  }

  .about-panel {
    grid-template-columns: 1fr;
  }

  .portrait {
    max-width: 360px;
  }
}

/* Mobile polish: keep the full experience clean and readable on phones. */
@media (max-width: 760px) {
  .topbar {
    height: auto;
    min-height: 62px;
    padding: 12px 16px;
    align-items: flex-start;
    gap: 10px;
  }

  .brand {
    font-size: 1.05rem;
    letter-spacing: .12em;
    white-space: nowrap;
  }

  .nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 12px;
    font-size: .66rem;
    letter-spacing: .08em;
    line-height: 1.2;
  }

  .hero-mark {
    position: absolute;
    top: 92px;
    width: min(245px, 72vw);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .world {
    min-height: 82vh;
    align-items: end;
    padding: 190px 22px 48px;
    border-right: 0;
  }

  .world.screen {
    border-bottom: 1px solid rgba(255,255,255,.14);
  }

  .world::before {
    background-position: center;
  }

  .world::after {
    background:
      linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.82)),
      linear-gradient(90deg, rgba(0,0,0,.54), rgba(0,0,0,.24));
  }

  .world-card {
    max-width: 100%;
  }

  .world h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
    line-height: .92;
    max-width: 8ch;
  }

  .world p {
    max-width: 31ch;
    font-size: 1rem;
    line-height: 1.55;
  }

  .section {
    padding: 64px 18px;
  }

  .section-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .house-section .section-grid .visual {
    order: 2;
  }

  .section h2,
  .about-panel h2,
  .about-contact aside h2,
  .privacy-copy h2 {
    font-size: clamp(2.35rem, 12vw, 3.8rem);
    line-height: .98;
  }

  .lead,
  .privacy-copy p,
  .world p {
    overflow-wrap: anywhere;
  }

  .visual {
    min-height: 320px;
  }

  .media-inner {
    min-height: 205px;
  }

  .about-contact {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .about-contact .panel {
    padding: 22px;
  }

  .portrait {
    min-height: 420px;
    max-width: 100%;
    background-size: cover;
    background-position: center top;
  }

  .contact-list a {
    font-size: .98rem;
    line-height: 1.35;
  }

  .platform-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .library {
    gap: 10px;
  }

  .track {
    padding: 13px;
  }

  .audio-track audio {
    height: 42px;
  }

  .privacy {
    padding-bottom: 120px;
  }

  .cookie {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
    border-radius: 8px;
  }

  .cookie-copy p {
    font-size: .9rem;
    line-height: 1.45;
  }

  .privacy-dialog {
    padding: 22px;
  }
}

@media (max-width: 430px) {
  .topbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero-mark {
    top: 118px;
    width: min(218px, 68vw);
  }

  .world {
    min-height: 78vh;
    padding-top: 210px;
  }

  .world h1 {
    font-size: clamp(2.8rem, 18vw, 4.45rem);
  }

  .btn {
    min-height: 44px;
    padding-inline: 18px;
  }

  .platform-links {
    grid-template-columns: 1fr;
  }

  .portrait {
    min-height: 360px;
  }
}

/* Overflow fix: prevent 100% zoom and tablet widths from breaking sideways. */
html,
body,
.site-shell {
  max-width: 100%;
  overflow-x: hidden;
}

.about-contact,
.section-grid,
.library,
.panel,
.track,
.topbar,
.nav {
  min-width: 0;
}

.about-contact {
  max-width: min(1180px, calc(100vw - 64px));
  overflow: hidden;
}

.about-panel {
  grid-template-columns: minmax(190px, 285px) minmax(0, 1fr);
}

.about-panel h2,
.about-contact aside h2 {
  max-width: 9ch;
  font-size: clamp(2.4rem, 4.2vw, 4.8rem);
  line-height: .98;
}

.about-copy,
.contact-list,
.contact-list a {
  min-width: 0;
  max-width: 100%;
}

.contact-list a {
  display: block;
  overflow-wrap: anywhere;
}

@media (max-width: 1280px) {
  .about-contact {
    grid-template-columns: 1fr;
    max-width: min(920px, calc(100vw - 48px));
  }

  .about-contact aside {
    width: 100%;
  }

  .about-contact aside h2,
  .about-panel h2 {
    max-width: 12ch;
  }
}

@media (max-width: 980px) {
  .topbar {
    overflow: hidden;
  }

  .nav {
    max-width: 100%;
  }

  .about-panel {
    grid-template-columns: 1fr;
  }

  .portrait {
    justify-self: start;
  }
}


.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.72);
  font-size: .78rem;
  letter-spacing: .12em;
}

.lang-btn {
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.72);
  padding: 7px 10px;
  cursor: pointer;
}

.lang-btn.is-active {
  background: var(--gold);
  border-color: transparent;
  color: #120807;
  font-weight: 800;
}

@media (max-width: 760px) {
  .lang-toggle {
    margin-left: auto;
    font-size: .68rem;
  }

  .lang-btn {
    padding: 6px 9px;
  }
}

@media (max-width: 430px) {
  .lang-toggle {
    margin-left: 0;
  }
}

/* Real logo in the header. */
.brand-logo {
  display: inline-flex;
  align-items: center;
  width: clamp(132px, 12vw, 210px);
  height: 44px;
  overflow: hidden;
}

.brand-logo img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .brand-logo {
    width: 132px;
    height: 34px;
  }
}

@media (max-width: 430px) {
  .brand-logo {
    width: 118px;
  }
}

/* Final responsive pass: deterministic breakpoints, no sideways layout. */
img,
video,
iframe,
audio {
  max-width: 100%;
}

body {
  overflow-x: clip;
}

.topbar {
  gap: 18px;
}

.brand-logo {
  flex: 0 0 auto;
}

.nav {
  min-width: 0;
  flex: 1 1 auto;
  justify-content: center;
}

.lang-toggle {
  flex: 0 0 auto;
}

@media (max-width: 1180px) {
  .topbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    height: auto;
    min-height: 72px;
    padding: 12px 22px;
  }

  .brand-logo {
    width: 158px;
    height: auto;
  }

  .nav {
    justify-content: end;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: .72rem;
    line-height: 1.2;
  }

  .hero-mark {
    top: 102px;
    width: min(300px, 42vw);
  }

  .hero {
    min-height: auto;
  }

  .world {
    padding-top: clamp(210px, 28vh, 280px);
  }

  .world h1 {
    font-size: clamp(3rem, 6.4vw, 5.6rem);
  }

  .section-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 820px) {
  .topbar {
    position: sticky;
    top: 0;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand lang"
      "nav nav";
    gap: 10px 12px;
    padding: 10px 14px;
  }

  .brand-logo {
    grid-area: brand;
    width: 138px;
    height: auto;
  }

  .lang-toggle {
    grid-area: lang;
    justify-self: end;
  }

  .nav {
    grid-area: nav;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    width: 100%;
    padding: 2px 0 4px;
    gap: 18px;
    font-size: .68rem;
    white-space: nowrap;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .hero-mark {
    top: 128px;
    width: min(230px, 62vw);
  }

  .hero {
    display: block;
  }

  .world {
    min-height: 78svh;
    padding: 210px 20px 46px;
  }

  .world h1 {
    max-width: 9ch;
    font-size: clamp(3rem, 14vw, 4.7rem);
  }

  .world p {
    max-width: 32ch;
  }

  .section {
    padding-inline: 18px;
  }

  .section h2,
  .about-panel h2,
  .about-contact aside h2,
  .privacy-copy h2 {
    max-width: 100%;
    font-size: clamp(2.25rem, 11vw, 3.5rem);
  }

  .about-contact {
    width: 100%;
    max-width: 100%;
    grid-template-columns: 1fr;
  }

  .about-panel {
    grid-template-columns: 1fr;
  }

  .about-contact .panel {
    width: 100%;
    padding: 20px;
  }

  .portrait {
    width: 100%;
    max-width: 420px;
    min-height: 360px;
    justify-self: center;
  }

  .contact-list a {
    font-size: 1rem;
  }

  .cookie {
    max-height: 78vh;
    overflow: auto;
  }
}

@media (max-width: 520px) {
  .topbar {
    min-height: 0;
  }

  .brand-logo {
    width: 122px;
  }

  .lang-toggle {
    gap: 4px;
  }

  .lang-btn {
    padding: 5px 8px;
    font-size: .64rem;
  }

  .nav {
    gap: 14px;
    font-size: .62rem;
    letter-spacing: .07em;
  }

  .hero-mark {
    top: 120px;
    width: min(205px, 68vw);
  }

  .world {
    min-height: 72svh;
    padding: 190px 18px 38px;
  }

  .world h1 {
    font-size: clamp(2.55rem, 15vw, 3.9rem);
    line-height: .96;
  }

  .world p,
  .lead,
  .privacy-copy p {
    font-size: .98rem;
    line-height: 1.58;
  }

  .visual {
    min-height: 260px;
  }

  .media-inner {
    min-height: 190px;
  }

  .portrait {
    min-height: 320px;
  }

  .audio-track {
    grid-template-columns: 1fr;
  }

  .btn {
    width: auto;
    max-width: 100%;
  }

  .cookie {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .cookie-actions,
  .platform-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .cookie-actions .btn,
  .platform-links .btn {
    width: 100%;
  }
}

@media (max-width: 360px) {
  .world h1 {
    font-size: 2.45rem;
  }

  .section {
    padding-inline: 14px;
  }

  .about-contact .panel {
    padding: 16px;
  }
}

/* Fire/ice logo proportions. */
.hero-mark {
  width: min(520px, 44vw);
  top: clamp(92px, 11vh, 138px);
}

.brand-logo {
  width: clamp(150px, 13vw, 240px);
  height: auto;
}

.brand-logo img,
.hero-mark img {
  object-fit: contain;
}

@media (max-width: 820px) {
  .hero-mark {
    width: min(300px, 72vw);
    top: 128px;
  }

  .brand-logo {
    width: 150px;
  }
}

@media (max-width: 520px) {
  .hero-mark {
    width: min(250px, 76vw);
    top: 122px;
  }

  .brand-logo {
    width: 128px;
  }
}

/* Transparent header and logo cleanup. */
.topbar {
  background: linear-gradient(180deg, rgba(5,7,10,.38), rgba(5,7,10,.08));
  border-bottom: 1px solid rgba(255,255,255,.05);
  backdrop-filter: blur(8px);
}

.brand-logo {
  background: transparent;
  overflow: visible;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.45));
}

.brand-logo img {
  background: transparent;
}

.hero-mark {
  filter: drop-shadow(0 24px 54px rgba(0,0,0,.52));
}

@media (max-width: 820px) {
  .topbar {
    background: rgba(5,7,10,.44);
  }
}


.contact-form {
  margin-top: 28px;
}

.contact-form form {
  display: grid;
  gap: 12px;
}

.contact-form label,
.contact-form .wpcf7-list-item-label {
  color: rgba(255,255,255,.78);
  font-size: .92rem;
  line-height: 1.45;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 6px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  background: rgba(255,255,255,.07);
  color: #fff;
  padding: 12px 13px;
  font: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}

.contact-form input[type="submit"] {
  width: auto;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(216,166,87,.95), rgba(255,120,71,.82));
  color: #120807;
  font-weight: 800;
  cursor: pointer;
}

.contact-form .wpcf7-response-output {
  margin: 8px 0 0;
  border-radius: 8px;
  color: #fff;
}


/* Consent is now handled by Complianz; hide legacy custom consent UI if cached markup appears. */
.cookie,
.privacy-modal {
  display: none !important;
}


/* Premium portfolio pass. */
.section-heading {
  margin: 64px 0 22px;
}

.section-heading h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 5rem);
  line-height: 1;
  margin: 0;
}

.premium-library {
  gap: 10px;
}

.premium-track {
  grid-template-columns: 48px minmax(160px, 280px) minmax(120px, 1fr) 58px;
  min-height: 70px;
  background: linear-gradient(90deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.premium-track:hover {
  transform: translateY(-1px);
  border-color: rgba(216,166,87,.42);
  background: linear-gradient(90deg, rgba(216,166,87,.12), rgba(142,200,255,.06));
}

.track-play {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.track-play.is-playing {
  background: var(--gold);
  color: #120807;
  border-color: transparent;
}

.track-copy {
  min-width: 0;
}

.track-meta {
  margin-top: 3px;
  color: var(--muted);
  font-size: .84rem;
}

.track-line {
  height: 1px;
  background: rgba(255,255,255,.12);
  position: relative;
}

.track-line span {
  position: absolute;
  inset: -2px auto -2px 0;
  width: 38%;
  background: linear-gradient(90deg, var(--gold), var(--ice));
  opacity: .86;
}

.contact-toggle {
  margin-top: 22px;
}

.contact-form[hidden] {
  display: none;
}

.contact-form {
  padding-top: 6px;
}

@media (max-width: 720px) {
  .premium-track {
    grid-template-columns: 44px minmax(0, 1fr) 52px;
  }

  .premium-track .track-line {
    display: none;
  }
}


/* Mobile menu: compact header for phones. */
.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: #fff;
  min-height: 36px;
  padding: 0 14px;
  font: inherit;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .topbar {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "brand spacer lang menu";
    align-items: center;
    overflow: visible;
  }

  .menu-toggle {
    display: inline-flex;
    grid-area: menu;
    justify-content: center;
    align-items: center;
  }

  .lang-toggle {
    grid-area: lang;
  }

  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    right: 14px;
    z-index: 80;
    display: none;
    width: auto;
    padding: 14px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(5,7,10,.94);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    overflow: visible;
    white-space: normal;
  }

  .nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .nav a {
    padding: 10px 8px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .nav a:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 430px) {
  .topbar {
    grid-template-columns: 1fr auto auto;
    grid-template-areas: "brand lang menu";
  }

  .menu-toggle {
    padding-inline: 11px;
  }
}
