@font-face {
  font-family: "Russo One";
  src: url("assets/fonts/RussoOne-Regular.ttf?v=local") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/*
@font-face {
  font-family: "Zen Dots";
  src: url("assets/fonts/ZenDots-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
*/

/*
@font-face {
  font-family: "Goldman";
  src: url("assets/fonts/Goldman-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
*/

:root {
  color-scheme: dark;
  scroll-padding-top: calc(var(--header-height, 90px) + .65rem);
  --bar-padding-block: 1.35rem;
  --bar-logo-height: 44px;
  --bar-logo-height-expanded: clamp(70px, 6.4vw, 88px);
  --ink: #080b10;
  --surface: #111923;
  --paper: #f5f7fa;
  --muted: #b6c1ce;
  --silver: #d3dae4;
  --accent: #91b9e2;
  --line: #344353;
  --metal: linear-gradient(155deg, #f1f5fa, #a5b8cd 58%, #83a3c4);
  --metal-hover: linear-gradient(155deg, #fff, #b9d1e9 65%, #a1c8ed);
  --cold-image: grayscale(1) sepia(.34) hue-rotate(169deg) saturate(1.65) contrast(1.12);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--paper);
  background: var(--ink);
}
@media (prefers-reduced-motion: no-preference) {
  :root { scroll-behavior: smooth; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.bar, footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: var(--bar-padding-block) 5.5vw; }
.bar {
  position: sticky;
  top: 0;
  z-index: 2;
  min-height: 72px;
  border-bottom: 1px solid var(--line);
  background: var(--ink);
}
.logo { display: inline-flex; align-items: center; gap: .8rem; font-weight: 900; letter-spacing: .1em; white-space: nowrap; }
.header-logo {
  display: block;
  width: 72px;
  height: var(--bar-logo-height);
  object-fit: cover;
  object-position: center 41%;
  filter: invert(1);
  mix-blend-mode: screen;
}
nav { display: flex; flex-wrap: wrap; gap: clamp(.8rem, 3vw, 2.8rem); }
.menu-toggle { display: none; }
.shag-star { display: inline-block; fill: currentColor; }
:is(h1, h2) .shag-star {
  color: var(--accent);
  width: .43em;
  height: .43em;
  margin-inline-start: .16em;
  vertical-align: .1em;
}
nav a, footer a { font-size: .9rem; color: var(--muted); }
nav a:hover, nav a[aria-current], footer a:hover { color: var(--paper); }
.hero {
  --hero-height: calc(100svh - var(--header-height, 90px));
  min-height: var(--hero-height);
  display: flex;
  align-items: flex-end;
  padding: clamp(2rem, 6svh, 5rem) 6.5vw;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 73% 32%, #1c3045, transparent 57%), var(--ink);
}
.hero::before, .hero-undead {
  position: absolute;
  z-index: -2;
  inset-block: 0;
  inset-inline-end: 0;
  aspect-ratio: 1348 / 2105;
  background-position: right center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  mask-image: linear-gradient(270deg, #000 57%, transparent 100%);
  transform-origin: right center;
  scale: 1.13;
  pointer-events: none;
}
.hero::before {
  content: "";
  background-image: url("assets/hero-seb-right.jpg");
  filter: var(--cold-image) brightness(1.17);
}
.hero-undead { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-sequence.has-parallax::after {
    content: "";
    display: block;
    box-sizing: content-box;
    height: clamp(320px, 72svh, 680px);
    padding-block-end: clamp(100px, 17svh, 160px);
  }
  .hero-sequence.has-parallax .hero {
    position: sticky;
    top: var(--header-height, 90px);
  }
  .has-parallax .hero::before { opacity: calc(1 - var(--hero-progress, 0)); }
  .has-parallax .hero-undead {
    display: block;
    background-image: url("assets/hero-undead-eye-aligned.jpg");
    opacity: var(--hero-progress, 0);
  }
  .has-parallax .hero-undead::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 2.45% 1.6% at 72.8% 30.9%, transparent 18%, #b4d6ff80 37%, #78abe638 61%, transparent 100%),
      radial-gradient(ellipse 4.5% 2.8% at 72.8% 30.9%, transparent 23%, #649ce222 51%, transparent 100%);
  }
}
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, #080b10a6, transparent 26%);
  pointer-events: none;
}
.hero-inner { width: min(100%, 1400px); margin-inline: auto; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero-lockup {
  display: grid;
  justify-items: center;
  width: min(55vw, 670px, max(12rem, calc((var(--hero-height) - 10rem) * 1.55)));
}
.hero .hero-title { width: 100%; margin: 0 0 -1rem; }
.hero-logo-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 900 / 570;
  transform-origin: center 58%;
  scale: 1.43;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-logo-art img, .hero-logo-art video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
.hero-logo-art video { visibility: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .hero-logo-art.has-frame video { visibility: visible; }
  .hero-logo-art.has-frame img { visibility: hidden; }
}
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 900; letter-spacing: -.08em; }
h1 span, h2 span { color: var(--accent); }
h1 { margin-bottom: 1.7rem; font-size: clamp(3.55rem, 11.8vw, 11rem); line-height: .82; }
h2 { margin-bottom: 0; font-size: clamp(2.65rem, 6vw, 6rem); line-height: .95; }
.play, .outline { display: inline-flex; align-items: center; justify-content: center; gap: .85rem; padding: .85rem 1.25rem; min-height: 48px; font-weight: 700; }
.play { border: 1px solid var(--silver); background: var(--metal); color: var(--ink); }
.play:hover { background: var(--metal-hover); }
.play span { font-size: .8rem; }
.outline { border: 1px solid var(--muted); background: transparent; }
.outline:hover { border-color: var(--accent); }
.section { max-width: 1500px; margin-inline: auto; padding: 4rem 6.5vw; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .9rem 2rem; padding-bottom: 1.6rem; border-bottom: 1px solid var(--line); margin-bottom: 1.6rem; }
.section-head p, .channel p, .contact p { color: var(--muted); line-height: 1.5; margin-bottom: 0; }
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: .85rem;
  scrollbar-color: var(--line) transparent;
}
.gallery-controls { display: flex; gap: .5rem; }
.gallery-step {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 1.65rem;
  line-height: 1;
}
.gallery-step[aria-disabled="true"] { opacity: .4; cursor: default; }
.gallery-step[aria-disabled="false"]:hover { border-color: var(--accent); }
.shot { scroll-snap-align: start; padding: 0; border: 0; text-align: left; background: transparent; }
.shot:focus-visible { outline-offset: -2px; }
.shot img, .product-art { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background-color: var(--surface); }
.shot img { aspect-ratio: 4 / 3; }
.shot img, #media-body img, .poster { filter: var(--cold-image); }
.shot:hover img { filter: var(--cold-image) brightness(1.18); }
.shot span { display: block; margin: .8rem .35rem .35rem; }
.sound-list { list-style: none; margin: 0; padding: 0; }
.sound-track, .album-edition {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: .75rem 1.5rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
}
.sound-track h3, .album-edition h3 { margin: .25rem 0; font-size: 1.25rem; }
.sound-track p, .album-edition p { margin: .25rem 0; color: var(--muted); }
.sound-player audio { display: block; width: min(100%, 28rem); }
.sound-follow-up .outline { margin-top: .75rem; }
.album-edition { margin-bottom: 1.6rem; }
.album-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
#album-price { color: var(--paper); font-weight: 700; }
@media (max-width: 620px) {
  .sound-track, .album-edition { grid-template-columns: minmax(0, 1fr); }
}
.products { display: grid; gap: 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-art { aspect-ratio: 4 / 3; margin-bottom: 1rem; }
.record { background: repeating-radial-gradient(circle at center, transparent 0 2px, #09090955 3px 4px), radial-gradient(circle at center, #0c1826 0 2%, #9cb8d3 2.5% 12%, #171f2a 12.5% 42%, #293849 42.5%); }
.poster { background: linear-gradient(135deg, #314c6c22, #060c1670), url("assets/clip.jpg") center / cover; }
.products h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.channel-card {
  display: grid;
  grid-template-columns: clamp(104px, 15vw, 188px) minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  padding: clamp(1rem, 2.5vw, 2.5rem);
  border: 1px solid var(--line);
  background: radial-gradient(ellipse at left, #263c55, transparent 68%), var(--surface);
}
.channel-logo { display: block; width: 100%; height: auto; filter: invert(1); mix-blend-mode: screen; }
.channel h2 { font-size: clamp(2.3rem, 5.1vw, 5.4rem); }
.channel .outline { justify-self: start; background: var(--metal); border-color: var(--silver); color: var(--ink); }
.channel .outline:hover { background: var(--metal-hover); }
@media (max-width: 740px) {
  .channel-card { grid-template-columns: 84px minmax(0, 1fr); }
  .channel .outline, #youtube-status { grid-column: 2; }
}
@media (max-width: 390px) {
  .channel-card { grid-template-columns: minmax(0, 1fr); }
  .channel-logo { width: 116px; }
  .channel .outline, #youtube-status { grid-column: 1; }
}
.channel p { margin-top: 1rem; }
#youtube-status { color: var(--muted); }
footer { border-top: 1px solid var(--line); text-transform: uppercase; letter-spacing: .1em; }
footer { flex-wrap: wrap; }
.social-links { display: flex; gap: .45rem; }
.social-links a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; }
.social-links a[href]:hover { color: var(--paper); border-color: var(--accent); }
.social-links svg { width: 20px; height: 20px; }
@media (max-width: 480px) {
  .social-links { flex-basis: 100%; order: 1; }
}
.contact { padding: clamp(5rem, 18vh, 12rem) 6.5vw; min-height: 75vh; background: linear-gradient(135deg, var(--ink) 48%, #223d5c); }
.contact h1 { font-size: clamp(3.8rem, 13vw, 9rem); }
.contact .outline, #email-status { margin-top: 1.5rem; }
dialog { width: min(950px, calc(100% - 2rem)); max-height: calc(100% - 2rem); border: 1px solid var(--line); background: var(--ink); color: var(--paper); padding: 0; }
dialog::backdrop { background: #03070ee6; }
.dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 1rem; }
.dialog-head h2 { font-size: 1.6rem; letter-spacing: -.04em; }
.close { font-size: 2rem; width: 44px; height: 44px; border: 0; background: transparent; }
.media-frame { position: relative; }
.viewer-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: clamp(.55rem, 2vw, 1.25rem);
  pointer-events: none;
}
.viewer-controls .gallery-step {
  pointer-events: auto;
  border-color: var(--muted);
  background: #080e17ee;
}
.viewer-controls .gallery-step:hover { border-color: var(--accent); }
#media-body img { width: 100%; max-height: 75vh; object-fit: contain; display: block; touch-action: pan-y pinch-zoom; }
#media-body video, #media-body iframe { display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 75vh; border: 0; }
.media-message { padding: 1rem; margin: 0; }
@media (max-width: 620px) {
  .bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--silver);
  }
  .menu-toggle[aria-expanded="true"] { border-color: var(--accent); color: var(--accent); }
  .menu-toggle .shag-star { width: 25px; height: 25px; }
  .menu-panel { grid-column: 1 / -1; }
  .menu-toggle:not([hidden]) + .menu-panel {
    position: absolute;
    top: 100%;
    inset-inline: 0;
    display: grid;
    grid-template-rows: 1fr;
    background: var(--ink);
  }
  .menu-toggle[aria-expanded="false"]:not([hidden]) + .menu-panel {
    grid-template-rows: 0fr;
    opacity: 0;
    visibility: hidden;
  }
  .bar nav { min-height: 0; overflow: hidden; gap: .2rem 1rem; }
  .menu-toggle:not([hidden]) + .menu-panel nav { padding-inline: 5.5vw; }
  .bar nav a:focus-visible { outline-offset: -2px; }
  .bar nav a { display: flex; align-items: center; min-height: 44px; }
  .bar nav a[aria-current] {
    color: var(--paper);
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-underline-offset: .35em;
  }
  .hero {
    padding-block-start: 1rem;
    padding-block-end: max(1.25rem, calc(env(safe-area-inset-bottom) + .75rem));
  }
  .hero::after { background: linear-gradient(0deg, #080b10dd, transparent 37%); }
  .hero .hero-title { margin-bottom: -.3rem; }
  .hero-lockup { width: min(85vw, 28rem, max(10rem, calc((var(--hero-height) - 6rem) * 1.55))); }
  .hero-logo-art { scale: 1.4; }
  .section { padding-block: 3rem; }
  .gallery { grid-auto-columns: 82%; }
}

.back-to-top {
  position: fixed;
  inset-inline-end: max(1rem, env(safe-area-inset-right));
  inset-block-end: max(1rem, env(safe-area-inset-bottom));
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--metal);
  color: var(--ink);
  box-shadow: 0 3px 14px #0008;
}
.back-to-top:hover { background: var(--metal-hover); }

#album-demo-checkout { width: min(32rem, calc(100% - 2rem)); }
.album-demo-body { padding: .5rem 1rem 1.25rem; }
.album-demo-body p { line-height: 1.5; }
.album-demo-download-status { margin: 0; }
.album-demo-download-status:not(:empty) { margin-top: .75rem; }

@media (max-width: 620px) and (prefers-reduced-motion: no-preference) {
  .menu-panel {
    transition: grid-template-rows .22s ease, opacity .22s ease, visibility .22s;
  }
}

@media (min-width: 621px) {
  .hero::before, .hero-undead {
    /* Anchor the scaled artwork to the bottom independently of the sticky header. */
    --portrait-expanded-height: calc(100svh - var(--bar-logo-height-expanded) - 2 * var(--bar-padding-block) - 1px);
    --portrait-compact-coverage: calc((100svh - var(--bar-logo-height) - 2 * var(--bar-padding-block) - 1px) / 1.065);
    inset-block-start: auto;
    height: max(var(--portrait-expanded-height), var(--portrait-compact-coverage));
  }

  .bar:not(.bar-compact) .header-logo {
    width: clamp(116px, 10.5vw, 144px);
    height: var(--bar-logo-height-expanded);
  }

  .bar:not(.bar-compact) nav a { font-size: clamp(.95rem, 1.25vw, 1.1rem); }

  .bar nav {
    justify-content: flex-end;
    column-gap: clamp(.15rem, 1vw, 1rem);
    row-gap: .35rem;
  }

  .bar nav a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: .65rem clamp(.35rem, 1vw, .85rem);
    border-radius: 2px 2px 0 0;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .bar nav a::after {
    content: "";
    position: absolute;
    inset-inline: .35rem;
    bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--silver));
    box-shadow: 0 0 8px #91b9e273;
    opacity: 0;
    transform: scaleX(.35);
  }

  .bar nav a:is(:hover, :focus-visible, [aria-current]) {
    background: linear-gradient(0deg, #324b6666, transparent);
    color: var(--paper);
  }

  .bar nav a:is(:hover, :focus-visible, [aria-current])::after {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (min-width: 621px) and (prefers-reduced-motion: no-preference) {
  .bar .header-logo { transition: width .28s ease, height .28s ease; }
  .bar nav a { transition: font-size .28s ease; }
  .bar nav a::after { transition: opacity .16s ease, transform .2s ease; }
}

:is(main .section h2, .contact h1, .bar .logo, .bar nav a, .play, .outline) {
  font-family: "Russo One", Arial, Helvetica, sans-serif;
  /* font-family: "Zen Dots", Arial, Helvetica, sans-serif; */
  /* font-family: "Goldman", Arial, Helvetica, sans-serif; */
  font-weight: 400;
}

:is(main .section h2, .contact h1) { letter-spacing: -.035em; }

.bar .logo { font-size: .75rem; letter-spacing: .03em; }
.bar nav a { font-size: .75rem; letter-spacing: .03em; }
:is(.play, .outline) { font-size: .8rem; }
.hero-lockup .outline { text-transform: uppercase; letter-spacing: .03em; }

.holding-page { --header-height: 0px; }
.holding-page .hero::before, .holding-page .hero-undead { height: 100%; }
.coming-soon {
  margin: 0;
  font: 400 clamp(1.05rem, 2.5vw, 1.65rem) "Russo One", sans-serif;
  letter-spacing: .03em;
}

@media (prefers-reduced-motion: no-preference) {
  .holding-page .hero-sequence.has-parallax::after { padding-block-end: 0; }
  .has-parallax .coming-soon { transition: opacity .3s ease; }
  .has-parallax:not(.at-parallax-end) .coming-soon { opacity: 0; }
}
:is(main .section h2, .contact h1) {
  font-size: clamp(1.7rem, 4.7vw, 4.5rem);
}
