:root {
  --paper: #f4f3ef;
  --ink: #11110f;
  --faint: #77766f;
}

* { box-sizing: border-box; }

html,
body { margin: 0; }

body {
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.25;
  text-rendering: optimizeLegibility;
}

body.music-page {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--paper);
}

body.sfx-page {
  min-height: 100%;
  overflow-x: hidden;
  background: #e8e6df;
}

a {
  color: inherit;
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover { text-decoration-style: dotted; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

button,
input { font: inherit; }

button { color: inherit; }

[hidden] { display: none !important; }

/* Music homepage */
.site-shell {
  display: grid;
  grid-template-rows: 30px minmax(0, 1fr) 18px;
  width: 100%;
  height: 100svh;
  padding: 18px 22px 16px;
}

.site-header,
.site-footer,
.release-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
}

.site-header {
  position: relative;
  z-index: 2;
  font-size: 0.875rem;
  text-transform: lowercase;
}

.wordmark {
  font-weight: 700;
  text-decoration: none;
}

.stage {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(420px, 950px) minmax(150px, 1fr);
  gap: clamp(24px, 3vw, 58px);
  min-height: 0;
  align-items: center;
}

.release {
  width: min(100%, calc((100svh - 150px) * 1.3333));
  min-width: 0;
  margin: 0 auto;
}

.release-image-wrap {
  position: relative;
  overflow: hidden;
}

.release-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.release-line {
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid var(--ink);
  font-size: 0.875rem;
}

.release-live {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  align-items: baseline;
  gap: 12px;
  margin-top: 7px;
}

.release-live h2 {
  min-width: 0;
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.release-ticket {
  margin: 0;
  color: var(--faint);
  font-size: 0.75rem;
  white-space: nowrap;
}

.release-line h1,
.release-line p,
.side-panel h2,
.side-panel p,
.site-footer p {
  margin: 0;
  font-size: inherit;
  font-weight: 400;
}

.release-line h1,
.side-panel h2 { font-weight: 700; }

.release-line p { color: var(--faint); }

.side-panel {
  min-width: 0;
  font-size: 0.875rem;
}

.mailing-side {
  width: min(100%, 230px);
  justify-self: end;
}

.side-heading { margin-bottom: 8px; }

.signup { width: 100%; }

.signup-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  border-bottom: 1px solid var(--ink);
}

.signup label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.signup input[type="email"] {
  width: 100%;
  min-height: 32px;
  padding: 5px 8px 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}

.signup input[type="email"]:focus { outline: 0; }

.signup input::placeholder {
  color: #64635d;
  opacity: 1;
}

.signup button[type="submit"] {
  min-height: 32px;
  padding: 5px 0 5px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.signup button[type="submit"]:hover { text-decoration-style: dotted; }

.signup-note {
  margin: 7px 0 0;
  color: var(--faint);
  font-size: 0.75rem;
}

.signup-response {
  position: absolute;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.floating-links {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.floating-link {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 5px 7px;
  border: 1px solid rgba(17, 17, 15, 0.88);
  border-radius: 0;
  background: rgba(244, 243, 239, 0.9);
  color: var(--ink);
  cursor: pointer;
  font-size: 0.75rem;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  will-change: transform;
  pointer-events: auto;
}

.floating-link:hover {
  background: #fff;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.content-dialog {
  width: 100vw;
  max-width: none;
  height: 100svh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
}

.content-dialog::backdrop { background: rgba(17, 17, 15, 0.18); }

.overlay-shell {
  display: grid;
  grid-template-rows: 30px minmax(0, 1fr) 18px;
  width: 100%;
  height: 100%;
  padding: 18px 22px 16px;
}

.overlay-header,
.overlay-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.875rem;
}

.overlay-header p,
.overlay-footer p,
.press-panel h2 { margin: 0; }

.overlay-header p,
.press-panel h2 { font-weight: 700; }

.overlay-header button,
.video-selector button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.overlay-header button:hover,
.video-selector button:hover { text-decoration-style: dotted; }

.overlay-body {
  display: grid;
  align-items: center;
  width: min(100%, 1120px);
  min-height: 0;
  margin: 0 auto;
}

.overlay-panel { width: 100%; }

.video-layout {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: start;
  gap: clamp(24px, 4vw, 72px);
}

.video-selector {
  padding-top: 1px;
  font-size: 0.875rem;
}

.video-selector button {
  display: block;
  width: max-content;
  color: var(--faint);
}

.video-selector button + button { margin-top: 16px; }

.video-selector button.is-active {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}

.video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-player iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.press-panel {
  width: min(100%, 820px);
  margin: 0 auto;
}

.press-panel h2 { margin-bottom: 28px; }

.press-list { border-top: 1px solid var(--ink); }

.press-row {
  display: grid;
  grid-template-columns: minmax(132px, 0.45fr) minmax(0, 1.55fr);
  gap: 18px;
  padding: 13px 0;
  border-bottom: 1px solid var(--ink);
}

.press-meta {
  display: grid;
  gap: 4px;
  color: var(--faint);
  font-size: 0.75rem;
}

.press-meta p { margin: 0; }

.press-row a {
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
}

.overlay-footer,
.site-footer {
  color: #5c5b56;
  font-size: 0.75rem;
}

/* SFX showreel */
.sfx-site {
  --sfx-paper: #e8e6df;
  --sfx-ink: #0c0d0b;
  --sfx-signal: #cbff27;
  min-height: 100svh;
  overflow: clip;
  background: var(--sfx-paper);
  color: var(--sfx-ink);
  font-family: Arial, Helvetica, sans-serif;
}

.sfx-site *,
.sfx-site *::before,
.sfx-site *::after { box-sizing: border-box; }

.sfx-site a {
  color: inherit;
  text-decoration: none;
}

.sfx-site a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

.sfx-header {
  position: absolute;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr max-content 1fr;
  align-items: baseline;
  gap: 16px;
  width: 100%;
  padding: 18px 22px;
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.sfx-header p {
  margin: 0;
  text-align: center;
}

.sfx-header > a:last-child {
  justify-self: end;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.sfx-wordmark {
  font-weight: 700;
  letter-spacing: -0.03em;
}

.sfx-hero,
.sfx-project {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--sfx-ink);
  color: #fff;
  isolation: isolate;
}

.sfx-project-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: #050505;
}

.sfx-project-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sfx-hero-media img { object-position: center 48%; }

.sfx-hero-scrim,
.sfx-project-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.sfx-hero-scrim {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.1) 38%, rgba(0, 0, 0, 0.72));
}

.sfx-project-scrim {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.78));
}

.sfx-hero-copy {
  position: absolute;
  right: 22px;
  bottom: 22px;
  left: 22px;
  display: grid;
  gap: 14px;
  pointer-events: none;
}

.sfx-hero-copy p {
  margin: 0;
  font-size: clamp(0.72rem, 1vw, 0.9rem);
  text-transform: uppercase;
}

.sfx-hero-copy h1,
.sfx-intro h2,
.sfx-work-heading h2,
.sfx-project h3,
.sfx-capabilities h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.085em;
  line-height: 0.78;
  text-transform: uppercase;
}

.sfx-hero-copy h1 {
  max-width: 9ch;
  font-size: clamp(4rem, 15vw, 16rem);
}

.sfx-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  padding: 22px;
  background: var(--sfx-paper);
}

.sfx-section-tag,
.sfx-work-heading p,
.sfx-project-number,
.sfx-footer p {
  margin: 0;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.sfx-intro h2 {
  grid-column: 1 / -1;
  align-self: center;
  max-width: 14ch;
  font-size: clamp(3.3rem, 7.65vw, 9rem);
  line-height: 0.84;
  text-transform: none;
}

.sfx-intro-details {
  display: grid;
  grid-column: 2;
  gap: 22px;
  align-self: end;
  max-width: 31rem;
  font-size: clamp(1.05rem, 1.7vw, 1.5rem);
  line-height: 1.08;
}

.sfx-intro-details p { margin: 0; }

.sfx-intro-details a {
  width: max-content;
  max-width: 100%;
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.sfx-work { background: var(--sfx-ink); }

.sfx-work-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr);
  gap: 24px;
  padding: 22px;
  background: var(--sfx-signal);
  color: var(--sfx-ink);
}

.sfx-work-heading h2 {
  font-size: clamp(2.8rem, 7.1vw, 8.5rem);
  text-transform: none;
}

.sfx-project {
  display: grid;
  align-items: end;
  padding: 22px;
}

.sfx-project-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr);
  gap: 18px;
  width: 100%;
  pointer-events: none;
}

.sfx-project h3 {
  grid-column: 1 / -1;
  max-width: 12ch;
  font-size: clamp(3rem, 9vw, 10.5rem);
}

.sfx-project-notes {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  max-width: 49rem;
  font-size: clamp(0.82rem, 1.2vw, 1rem);
  line-height: 1.15;
  text-transform: uppercase;
}

.sfx-project-notes p { margin: 0; }

.sfx-project-notes p:last-of-type {
  grid-column: 1 / -1;
  max-width: 44rem;
  color: #deded8;
  text-transform: none;
}

.sfx-project-notes a {
  grid-column: 1 / -1;
  width: max-content;
  margin-top: 4px;
  padding-top: 8px;
  border-top: 1px solid currentColor;
  pointer-events: auto;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.sfx-project--light { color: var(--sfx-ink); }

.sfx-project--light .sfx-project-scrim { background: rgba(232, 230, 223, 0.28); }

.sfx-project--light .sfx-project-notes p:last-of-type { color: #363831; }

.sfx-capabilities {
  padding: 22px;
  background: var(--sfx-signal);
  color: var(--sfx-ink);
}

.sfx-capabilities h2 {
  max-width: 6ch;
  margin: clamp(3.5rem, 12vw, 12rem) 0 clamp(3rem, 8vw, 8rem);
  font-size: clamp(4rem, 14vw, 14.5rem);
}

.sfx-capabilities ul {
  max-width: 82rem;
  margin: 0;
  padding: 0;
  border-top: 1px solid currentColor;
  list-style: none;
}

.sfx-capabilities li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid currentColor;
  font-size: clamp(1.25rem, 2.65vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  text-transform: uppercase;
}

.sfx-capabilities li span:first-child {
  padding-top: 0.18em;
  font-size: 0.75rem;
  letter-spacing: 0;
}

.sfx-footer {
  display: grid;
  grid-template-columns: 1fr max-content max-content;
  gap: 24px;
  align-items: baseline;
  min-height: 22svh;
  padding: 22px;
  background: var(--sfx-ink);
  color: #fff;
}

.sfx-footer a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.sfx-reveal { animation: sfx-rise 800ms ease-out both; }

@keyframes sfx-rise {
  from { opacity: 0.55; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@supports (animation-timeline: view()) {
  .sfx-reveal {
    animation-timeline: view();
    animation-range: entry 8% cover 32%;
  }
}

@media (max-width: 900px) {
  .site-shell {
    grid-template-rows: 28px minmax(0, 1fr) 16px;
    padding: 14px 14px 12px;
  }

  .stage {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr) auto;
    column-gap: 20px;
    row-gap: 12px;
    padding: 10px 0 8px;
  }

  .release {
    grid-column: 1 / -1;
    grid-row: 1;
    width: min(100%, calc((100svh - 278px) * 1.3333));
  }

  .mailing-side {
    grid-column: 1;
    grid-row: 2;
    width: min(100%, 290px);
    justify-self: start;
    align-self: start;
  }

  .side-heading { margin-bottom: 7px; }

  .overlay-shell {
    grid-template-rows: 28px minmax(0, 1fr) 16px;
    padding: 14px 14px 12px;
  }

  .video-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .video-selector {
    display: flex;
    gap: 18px;
    padding: 0;
  }

  .video-selector button + button { margin-top: 0; }

  .press-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .press-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
}

@media (max-width: 700px) {
  .sfx-header {
    grid-template-columns: 1fr max-content;
    padding: 14px;
  }

  .sfx-header p {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    text-align: left;
  }

  .sfx-header > a:last-child {
    grid-column: 2;
    grid-row: 1;
  }

  .sfx-hero-copy,
  .sfx-intro,
  .sfx-work-heading,
  .sfx-project,
  .sfx-capabilities,
  .sfx-footer { padding: 14px; }

  .sfx-hero-copy {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .sfx-hero-copy h1 { font-size: clamp(3.65rem, 18vw, 7.8rem); }

  .sfx-intro {
    grid-template-columns: 1fr;
    min-height: 82svh;
  }

  .sfx-intro h2 {
    align-self: center;
    max-width: 13ch;
    font-size: clamp(3.1rem, 12.5vw, 5.7rem);
  }

  .sfx-intro-details {
    grid-column: 1;
    gap: 16px;
    font-size: 1.1rem;
  }

  .sfx-work-heading {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .sfx-work-heading h2 { font-size: clamp(3.3rem, 14vw, 6rem); }

  .sfx-project { min-height: 82svh; }

  .sfx-project-copy {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sfx-project h3 { font-size: clamp(3rem, 14vw, 6.2rem); }

  .sfx-project-notes {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .sfx-project-notes p:last-of-type,
  .sfx-project-notes a { grid-column: 1; }

  .sfx-capabilities h2 { font-size: clamp(3.8rem, 16vw, 7rem); }

  .sfx-capabilities li {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 10px;
    font-size: clamp(1.2rem, 6vw, 2rem);
  }

  .sfx-footer {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 28svh;
  }
}

@media (max-width: 520px) {
  .release { width: min(100%, calc((100svh - 308px) * 1.3333)); }
  .release-line,
  .side-panel { font-size: 0.8rem; }
  .signup button[type="submit"] { padding-inline: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
