@font-face {
  font-family: "Dicaten";
  src: url("assets/dicaten-demo.otf") format("opentype");
  font-display: swap;
}

:root {
  --bg: #050101;
  --panel: rgba(24, 2, 2, 0.72);
  --panel-strong: rgba(48, 4, 4, 0.86);
  --text: #fff4ee;
  --muted: #c88a78;
  --red: #ff271c;
  --red-deep: #7a0804;
  --orange: #ff7a18;
  --line: rgba(255, 72, 45, 0.26);
  --shadow: 0 24px 80px rgba(255, 30, 12, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 44, 20, 0.22), transparent 32rem),
    radial-gradient(circle at 0% 35%, rgba(255, 122, 24, 0.12), transparent 24rem),
    linear-gradient(180deg, #090101 0%, #020000 58%, #060101 100%);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.embers {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.55;
  background-image:
    radial-gradient(circle, rgba(255,106,36,.9) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(255,35,20,.6) 0 1px, transparent 2px);
  background-size: 120px 160px, 190px 220px;
  animation: drift 16s linear infinite;
  mix-blend-mode: screen;
  z-index: 0;
}

@keyframes drift { to { transform: translateY(-220px); } }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(5, 1, 1, 0.62);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: center;
  width: clamp(86px, 10vw, 138px);
}
.logo img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 18px rgba(255, 39, 28, .62));
}
nav { display: flex; gap: clamp(12px, 2vw, 28px); font-size: .88rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
nav a:hover { color: var(--text); }

main, footer { position: relative; z-index: 1; }
.panel, .section { width: min(1180px, calc(100% - 36px)); margin-inline: auto; }

.hero {
  width: 100%;
  min-height: 100svh;
  margin-top: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  display: grid;
  align-items: end;
  box-shadow: var(--shadow);
  background: #120202;
}
.hero-media, .hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-media video { object-fit: cover; object-position: center 35%; filter: saturate(1.25) contrast(1.12) brightness(.70); }
.hero-media img { object-fit: cover; object-position: center 35%; filter: saturate(1.25) contrast(1.12) brightness(.70); }
.hero-media video + img { display: none; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.86), rgba(0,0,0,.20) 48%, rgba(0,0,0,.65)),
    linear-gradient(0deg, rgba(0,0,0,.9), transparent 52%),
    radial-gradient(circle at 15% 80%, rgba(255,39,28,.46), transparent 24rem);
}
.hero-content { position: relative; padding: clamp(28px, 7vw, 80px); max-width: 820px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: .78rem;
}
h1, h2 { margin: 0; line-height: .92; text-transform: uppercase; letter-spacing: -.035em; }
h1, h2, .link-grid span { font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-weight: 900; }
h1 { font-size: clamp(4rem, 15vw, 12.5rem); text-shadow: 0 0 34px rgba(255, 39, 28, .45); }
h2 { font-size: clamp(2.4rem, 7vw, 5.8rem); }
.hero-logo {
  width: min(520px, 72vw);
  margin: 0 0 18px;
  filter: drop-shadow(0 0 34px rgba(255, 39, 28, .55));
}
.tagline { margin: 14px 0 28px; color: #ffe3d8; font-size: clamp(1.1rem, 2.4vw, 1.7rem); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  font-weight: 800;
}
.button.primary { background: linear-gradient(135deg, var(--red), var(--orange)); color: #170101; border: 0; }
.button:hover { transform: translateY(-1px); }

.marquee { overflow: hidden; border-block: 1px solid var(--line); margin: 28px 0 18px; color: #ffb09d; }
.marquee-track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee-group { display: flex; flex-shrink: 0; }
.marquee span { padding: 16px 24px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

.section { padding-block: clamp(46px, 8vw, 96px); }
.section-heading { max-width: 850px; margin-bottom: 28px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.video-card {
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: 0 18px 60px rgba(0,0,0,.34);
}
.video-card iframe { width: 100%; height: 100%; border: 0; }


.split-section { display: grid; grid-template-columns: 1fr .9fr; gap: 26px; align-items: center; }
.copy-block, .spotify-card, .release-wall, .bio-card, .contact-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(69,6,5,.72), rgba(10,1,1,.72));
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow);
}
.copy-block p, .bio-card p, .contact-card p { color: #f2c0b3; font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.7; }
.copy-block em, .bio-card em { color: #fff; }

.release-wall {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.release-card {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,.04);
  min-width: 0;
}
.release-card:hover { background: rgba(255, 39, 28, .16); transform: translateY(-2px); }
.release-card img {
  aspect-ratio: 1 / 1;
  width: 100%;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid rgba(255, 72, 45, 0.22);
}
.release-card span {
  color: #fff4ee;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: clamp(.86rem, 1.4vw, 1rem);
}

.gallery { display: grid; grid-template-columns: 1.1fr .9fr .9fr; gap: 16px; padding-top: 0; }
.gallery img {
  height: 520px;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 28px;
  filter: contrast(1.04) saturate(1.12);
}
.gallery img:first-child { object-position: center 20%; }
.gallery img:nth-child(2) { object-position: center 28%; }

.bio-section { padding-top: 20px; }
.bio-card { max-width: 920px; margin-inline: auto; }

.link-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.link-grid a {
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, .04);
}
.link-grid a:hover { background: rgba(255, 39, 28, .16); transform: translateY(-2px); }

.service-icon {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: var(--red);
  filter: drop-shadow(0 0 14px rgba(255, 39, 28, .45));
}
.service-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-icon svg circle:first-child,
.service-icon svg rect:first-child {
  fill: rgba(255, 39, 28, .10);
}
.link-grid a:hover .service-icon { color: var(--orange); }

.link-grid span { font-weight: 900; font-size: 1.1rem; }
.link-grid small { color: var(--muted); }

.contact-section { padding-top: 8px; }
.contact-card {
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}
.email-link {
  display: inline-flex;
  margin-top: 22px;
  color: #fff;
  font-weight: 900;
  font-size: clamp(1.05rem, 3vw, 1.8rem);
  text-shadow: 0 0 20px rgba(255, 39, 28, .48);
}
.email-link:hover { color: var(--orange); }

.footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 28px 0 50px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

@media (max-width: 900px) {
  .site-header { align-items: flex-start; gap: 12px; flex-direction: column; }
  nav { width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .hero { margin-top: 0; min-height: 100svh; border-radius: 0; }
  .hero-media img, .hero-media video { object-position: center top; }
  .video-grid, .split-section, .gallery, .link-grid { grid-template-columns: 1fr; }
  .release-wall { grid-template-columns: repeat(3, minmax(150px, 1fr)); overflow-x: auto; }
  .gallery img { height: 420px; }
}

@media (max-width: 520px) {
  .panel, .section, .footer { width: min(100% - 22px, 1180px); }
  .site-header { padding: 14px 12px; }
  nav { gap: 14px; font-size: .76rem; }
  .hero { margin-top: 0; min-height: 100svh; }
  .hero-content { padding: 24px; }
  h1 { font-size: clamp(3.3rem, 19vw, 6rem); }
  .hero-logo { width: min(100%, 390px); }
  h2 { font-size: clamp(2.1rem, 13vw, 4rem); }
  .tagline { font-size: 1rem; }
  .button { width: 100%; }
  .section { padding-block: 42px; }
  .copy-block, .spotify-card, .release-wall, .bio-card, .contact-card { border-radius: 22px; }
  .release-wall { grid-template-columns: 1fr; overflow-x: visible; }
  .gallery img { height: 360px; }
  .footer { flex-direction: column; gap: 10px; }
}

/* Updated release cover section */
#music.split-section {
  display: block;
}
#music .copy-block {
  max-width: 980px;
  margin-inline: auto;
}
.enjoy-text {
  margin-top: 22px;
  color: #fff4ee !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}
.release-section {
  padding-top: 0;
}
.cover-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.cover-card {
  display: grid;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(69,6,5,.60), rgba(10,1,1,.80));
  box-shadow: var(--shadow);
}
.cover-card:hover {
  background: rgba(255, 39, 28, .16);
  transform: translateY(-2px);
}
.cover-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 72, 45, 0.24);
}
.cover-card span {
  color: #fff4ee;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.12;
  font-size: clamp(.84rem, 1.25vw, 1rem);
}
@media (max-width: 900px) {
  .cover-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .cover-row { grid-template-columns: 1fr; }
}

/* Keep the Starring Rem Ember heading on one line */
.videos-section .section-heading h2 {
  white-space: nowrap;
  font-size: clamp(2rem, 6.2vw, 5.4rem);
}
@media (max-width: 520px) {
  .videos-section .section-heading h2 {
    font-size: clamp(1.55rem, 8.8vw, 2.85rem);
  }
}
