:root {
  color-scheme: dark;
  --ink: #0e0b08;
  --ink-soft: #17110c;
  --paper: #e8c48e;
  --paper-soft: #cda66f;
  --rust: #9d4e20;
  --line: rgba(232, 196, 142, 0.23);
  --muted: rgba(232, 196, 142, 0.62);
}

* { box-sizing: border-box; }

html { background: var(--ink); scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--paper);
  background: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
  background: url("portada-the-cigar-box-blues-band.png") center 42% / cover no-repeat;
  filter: saturate(.72) contrast(1.06) brightness(.72);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(90deg, rgba(10,7,5,.91) 0%, rgba(10,7,5,.66) 55%, rgba(10,7,5,.87) 100%),
    linear-gradient(0deg, rgba(10,7,5,.82), transparent 40%, rgba(10,7,5,.42));
}

a { color: inherit; }

.page-shell {
  position: relative;
  z-index: 1;
  width: min(1600px, 100%);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 0 clamp(18px, 3.4vw, 58px);
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header,
.site-footer {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-color: var(--line);
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
}

.site-header { border-bottom: 1px solid var(--line); }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); }

.home-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: color 180ms ease;
}

.home-link:hover { color: #fff2d2; }

.home-mark {
  width: 27px;
  height: 1px;
  position: relative;
  background: currentColor;
}

.home-mark::before,
.home-mark::after {
  content: "";
  position: absolute;
  left: 0;
  width: 8px;
  height: 1px;
  background: currentColor;
  transform-origin: left center;
}

.home-mark::before { transform: rotate(-36deg); }
.home-mark::after { transform: rotate(36deg); }
.header-note { color: var(--muted); }

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(245px, .58fr);
  gap: clamp(32px, 5vw, 82px);
  align-items: center;
  padding: clamp(32px, 5vh, 72px) 0;
}

.video-panel { min-width: 0; }

.video-frame {
  position: relative;
  padding: 1px;
  background: linear-gradient(135deg, rgba(232,196,142,.7), rgba(157,78,32,.22) 42%, rgba(232,196,142,.38));
  box-shadow: 0 32px 90px rgba(0,0,0,.68), 0 0 0 8px rgba(232,196,142,.035);
}

.video-frame::after {
  content: "";
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(232,196,142,.16);
}

video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 70vh;
  background: #000;
  object-fit: contain;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--paper-soft);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: #f2d4a2;
  font-size: clamp(3.2rem, 5.4vw, 6.7rem);
  font-weight: 400;
  font-style: italic;
  line-height: 0.86;
  letter-spacing: -0.065em;
  text-shadow: 0 4px 30px rgba(0,0,0,.5);
}

.youtube-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  margin-top: 30px;
  padding: 0 20px;
  border: 1px solid rgba(232,196,142,.42);
  text-decoration: none;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.youtube-link:hover {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
}

.identity-panel {
  align-self: center;
  padding: clamp(22px, 3vw, 42px) 0 clamp(22px, 3vw, 42px) clamp(22px, 3vw, 40px);
  border-left: 1px solid rgba(232,196,142,.34);
}

.band-name {
  margin: 0;
  max-width: 11ch;
  color: var(--paper);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(2rem, 3vw, 4rem);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.025em;
  text-transform: uppercase;
  text-shadow: 0 3px 20px rgba(0,0,0,.6);
}

.band-name span {
  display: block;
  font-size: .44em;
  letter-spacing: .13em;
  line-height: 1.2;
}

.band-name strong {
  display: block;
  font: inherit;
}

.identity-rule {
  width: min(170px, 70%);
  height: 5px;
  margin: 25px 0 35px;
  border-block: 1px solid rgba(232,196,142,.55);
}

.video-meta {
  margin: 20px 0 0;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: .75rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}

@media (max-width: 920px) {
  .showcase {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 28px;
  }

  .identity-panel {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: end;
    gap: 12px 24px;
    padding: 18px 0 0;
    border-top: 1px solid rgba(232,196,142,.34);
    border-left: 0;
  }
  .band-name { display: none; }
  .identity-rule { display: none; }
  .identity-panel .eyebrow { grid-column: 1 / -1; margin: 0; }
  .identity-panel h1 { grid-column: 1; font-size: clamp(3rem, 10vw, 5rem); }
  .video-meta { grid-column: 1; margin: 0; }
  .identity-panel .youtube-link { grid-column: 2; grid-row: 2 / 4; margin: 0; }
  video { max-height: none; }
}

@media (max-width: 620px) {
  .page-shell { padding-inline: 14px; }
  .site-header { min-height: 62px; }
  .site-footer { min-height: 66px; font-size: 0.66rem; }
  .header-note { display: none; }
  .showcase { padding: 28px 0 34px; }
  .identity-panel { display: block; }
  .identity-panel .eyebrow { margin-bottom: 10px; }
  .video-meta { margin-top: 15px; }
  .youtube-link { justify-content: center; width: 100%; margin-top: 22px !important; }
  .site-footer span:last-child { text-align: right; }
}

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