/* Standalone home styles. Shared page styles are intentionally not imported. */
:root {
  color-scheme: dark;
  --background: #101112;
  --surface: #171819;
  --text: #f0efea;
  --muted: #b3b3ae;
  --line: #343638;
  --accent: #c84735;
  --gold: #c6a15b;
  font-family: "Arial", "Helvetica Neue", sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; background: var(--background); }
body { margin: 0; color: var(--text); background: var(--background); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, audio:focus-visible { outline: 2px solid var(--text); outline-offset: 6px; }
a:hover { color: #fff; }
[hidden] { display: none; }
.container { width: min(1184px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 20; top: 8px; left: 16px; padding: 12px 20px; background: var(--text); color: #111; transform: translateY(-150%); }
.skip-link:focus { transform: none; color: #111; }
.site-header { position: absolute; inset: 0 0 auto; z-index: 10; }
.nav { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid #ffffff35; }
.brand { font-size: .8rem; font-weight: 800; letter-spacing: .13em; white-space: nowrap; }
.brand span { color: #a2a39e; }
.nav-links { display: flex; align-items: center; gap: 36px; font-size: .74rem; font-weight: 600; }
.nav-links a { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; }
.nav-links [aria-current="page"] { color: var(--gold); }
.nav-live { color: #ffb5a6; }
.live-dot { display: inline-block; width: 7px; height: 7px; flex-shrink: 0; background: currentColor; border-radius: 50%; }
.menu-toggle { min-height: 44px; padding: 8px 0 8px 14px; border: 0; color: var(--text); background: none; font-size: .8rem; cursor: pointer; }
.menu-toggle span { margin-left: 10px; }

.eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .15em; font-size: .65rem; font-weight: 600; color: var(--muted); }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { margin: 0 0 24px; font-size: clamp(3.9rem, 18vw, 5.5rem); line-height: .88; letter-spacing: -.065em; font-weight: 800; }
h1 span { display: block; color: #bfc2bd; }
.hero-intro { max-width: 350px; margin: 0; color: #d2d3ce; font-size: 1rem; line-height: 1.65; }
.hero-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.hero-actions .button { font-size: .875rem; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 16px; padding: 13px 23px; border: 1px solid transparent; border-radius: 2px; font-size: .78rem; font-weight: 700; transition: background .18s ease, border-color .18s ease; }
.button-light { background: var(--text); color: #141617; }
.button-light:hover { color: #141617; background: #fff; }
.button-outline { border-color: #ffffff66; background: #10111266; color: var(--text); }
.button-outline:hover { border-color: var(--text); background: #ffffff18; }
.button-live { background: #a33729; border-color: #d15d49; color: #fff7f2; }
.button-live:hover { background: #bb4433; }
.live-note { margin: 13px 0 0; color: #b7bab5; font-size: .7rem; }
.section { padding-block: 88px; }
.section-label { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 44px; }
.text-link { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; font-size: .78rem; font-weight: 600; text-decoration: underline; text-decoration-color: #737570; text-underline-offset: 6px; }
.text-link:hover { text-decoration-color: currentColor; }
.releases { position: relative; isolation: isolate; background: linear-gradient(90deg, #101112f2, #101112b8 54%, #101112d9), url("/img/Night%20Hope/night-hope-city-desktop.jpg") center / cover no-repeat; }
.releases > .container { position: relative; z-index: 1; }
.release-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
.release-showcase { width: min(100%, 540px); margin: 0 auto; }
.release-showcase figcaption { margin-top: 22px; text-align: center; }
.release-art { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line); }
h2 { margin: 20px 0; font-size: clamp(2.5rem, 5.2vw, 5rem); letter-spacing: -.055em; line-height: 1.04; font-weight: 600; }
.description { color: var(--muted); font-size: 1rem; line-height: 1.8; }
.track-meta { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .65rem; margin-block: 25px; }
.track-meta span { color: #686b6c; }
.release-links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.release-links .button { margin-bottom: 9px; }
.next-release { margin-top: 64px; padding-top: 32px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 112px 1fr auto; gap: 30px; align-items: center; }
.next-release img { width: 112px; aspect-ratio: 1; object-fit: cover; }
.next-release h3 { margin: 6px 0 0; font-size: 1.8rem; letter-spacing: -.03em; font-weight: 600; }
.next-release p:last-child { margin: 4px 0 0; color: var(--muted); font-size: .8rem; }
.coming-soon { color: var(--muted); border: 1px solid var(--line); padding: 6px 12px; font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; }
.listening { background: var(--surface); border-block: 1px solid var(--line); }
.listening-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.listening h2 { font-size: clamp(2.1rem, 3.3vw, 3.2rem); margin-top: 0; }
.audio-card { min-width: 0; padding: 28px; border: 1px solid #444648; background: #101112; }
.audio-card h3 { margin: 12px 0 20px; font-size: 1.5rem; letter-spacing: -.025em; font-weight: 500; }
audio { display: block; width: 100%; height: 54px; }
.audio-fallback { margin-top: 12px; color: var(--muted); font-size: .7rem; }
.audio-error { color: #ffd1c6; font-size: .8rem; }
.audio-error a { text-decoration: underline; }
.services { padding-block: 66px; border-top: 1px solid var(--line); }
.services-row { display: flex; justify-content: space-between; align-items: center; gap: 48px; }
.services h2 { font-size: clamp(1.6rem, 2.7vw, 2.25rem); margin: 18px 0 12px; }
.services p:not(.eyebrow) { color: var(--muted); font-size: .86rem; max-width: 500px; margin: 0; }
.services-links { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; }
.footer-top, .footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 28px; font-size: .7rem; }
.footer-links a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-bottom { margin-top: 20px; color: var(--muted); font-size: .65rem; }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) {
  .container { width: calc(100% - 56px); }
  .release-grid, .listening-grid { gap: 36px; }

}
@media (max-width: 600px) {
  /* Adapted from nav-v102: fixed nav, absolute child panel, parent open state. */
  body.home-menu-open { overflow: hidden; }
  .site-header { position: fixed; top: max(10px, env(safe-area-inset-top)); inset-inline: 20px; z-index: 2147482000; }
  html { scroll-padding-top: 24px; }
  .container { width: calc(100% - 40px); }
  .site-header .nav { position: relative; width: 100%; min-height: 58px; padding: 8px 14px; gap: 12px; flex-wrap: wrap; overflow: visible; isolation: isolate; border: 1px solid #ffffff1b; border-radius: 17px; background: rgba(16, 18, 20, .9); box-shadow: inset 0 1px 0 #ffffff10, 0 18px 55px #0005; -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px); }
  .brand { font-size: .68rem; letter-spacing: .1em; }
  .menu-toggle:not([hidden]) { display: block; }
  .nav-links { width: 100%; gap: 20px; padding-bottom: 12px; flex-wrap: wrap; }
  .nav-links.is-collapsible {
    position: absolute;
    top: calc(100% + 9px);
    inset-inline: 0;
    z-index: 2147482400;
    width: auto;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 10px;
    max-height: min(72vh, 570px);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid #ffffff20;
    border-radius: 16px;
    background: rgba(16, 18, 20, .95);
    box-shadow: inset 0 1px 0 #ffffff0b, 0 30px 75px #0009;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform-origin: top center;
    transform: translateY(-8px) scale(.985);
    transition: opacity .24s ease, visibility .24s ease, transform .3s cubic-bezier(.22, 1, .36, 1);
  }
  .nav-links.is-collapsible a { flex-shrink: 0; min-height: 47px; padding: 0 14px; border-radius: 11px; white-space: nowrap; }
  .nav.is-open .nav-links.is-collapsible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }
  @supports ((backdrop-filter: blur(24px)) or (-webkit-backdrop-filter: blur(24px))) {
    .nav-links.is-collapsible { background: rgba(16, 18, 20, .92); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); }
  }

  .section { padding-block: 56px; }
  .releases { background-image: linear-gradient(180deg, #101112e8, #101112c7 55%, #101112f0), url("/img/Night%20Hope/night-hope-city-mobile.jpg"); background-position: center; }
  .section-label { margin-bottom: 28px; }
  .release-grid, .listening-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .release-art { grid-row: 1; }
  h2 { font-size: 3rem; margin-top: 16px; }
  .description { font-size: .9rem; }
  .next-release { grid-template-columns: 76px 1fr; gap: 20px; margin-top: 40px; padding-top: 24px; }
  .next-release img { width: 76px; grid-row: 1 / 3; align-self: start; }
  .next-release .eyebrow { font-size: .54rem; }
  .next-release h3 { font-size: 1.5rem; }
  .next-release p:last-child { font-size: .72rem; }
  .coming-soon { grid-column: 2; justify-self: start; margin-top: -10px; }
  .audio-card { padding: 20px 14px; }
  .listening h2 { font-size: 2.25rem; }
  .services-row { flex-direction: column; align-items: flex-start; gap: 20px; }
  .services-links { flex-direction: row; gap: 24px; flex-wrap: wrap; }
  .services h2 { font-size: 1.8rem; }
  .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-links { gap: 24px; }
  .footer-bottom { margin-top: 16px; }
}
@media (max-width: 360px) {
  .hero-actions .button { padding-inline: 18px; }
  .container { width: calc(100% - 40px); }

}
@media (max-width: 374px) {
  .nav-links.is-collapsible { flex-direction: column; align-items: stretch; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  .nav-links.is-collapsible { transition: none; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}

@media (min-width: 601px) {
  h1 { font-size: clamp(5rem, 9.8vw, 9rem); }
  .hero-intro { max-width: 440px; font-size: 1rem; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
}

/* The city release section is the homepage hero. Phone composition comes first. */
.deep-night-hero {
  padding: 108px 0 36px;
  overflow: hidden;
  background: var(--background);
  background-position: center, 48% top;
  background-size: cover;
  scroll-margin-top: 0;
}
.release-composition { display: grid; grid-template-columns: minmax(0, 1fr); }
.release-composition > * { min-width: 0; }
.deep-night-hero h1 { margin: 0; font-size: clamp(2.5rem, 14vw, 4rem); line-height: .95; letter-spacing: -.065em; white-space: nowrap; }
.deep-night-hero h1 span { display: inline; color: #d4d2ca; }
.deep-night-hero .release-showcase { width: min(80%, 290px); margin: 28px 0 0; justify-self: center; position: relative; }
.deep-night-hero .release-art { border: 0; object-fit: contain; box-shadow: 0 20px 48px #0008, 0 0 0 1px #ffffff1a; }
.deep-night-hero .hero-intro { margin-top: 20px; text-shadow: 0 2px 12px #000; max-width: 370px; font-size: 1rem; line-height: 1.6; }
.deep-night-hero .hero-actions { margin-top: 22px; flex-direction: column; gap: 10px; }
.deep-night-hero + .services { padding-block: 38px 48px; border-top-color: #ffffff20; }
@media (min-width: 601px) {
  .deep-night-hero { padding: 142px 0 62px;  }
  .release-composition { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 36px; align-items: center; }
  .deep-night-hero h1 { grid-column: 1; grid-row: 1; font-size: clamp(3.8rem, 7.6vw, 7rem); white-space: normal; align-self: end; }
  .deep-night-hero h1 span { display: block; }
  .deep-night-hero .release-showcase { grid-column: 2; grid-row: 1 / 4; width: 100%; max-width: 470px; margin: 0; justify-self: end; }
  .deep-night-hero .hero-intro { grid-column: 1; grid-row: 2; align-self: center; max-width: 380px; }
  .deep-night-hero .hero-actions { grid-column: 1; grid-row: 3; align-self: start; margin: 24px 0 0; align-items: flex-start; }
  .deep-night-hero + .services { padding-block: 48px 56px; }
}
@media (min-width: 1000px) {
  .release-composition { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); column-gap: 76px; }
  .deep-night-hero .release-showcase { margin-right: 0; }
  .deep-night-hero .hero-actions { flex-direction: row; flex-wrap: wrap; }
}
/* Separate transforms: scroll on the wrapper, ambient drift on its image. */
.hero-background-wrapper { position: absolute; inset: -80px -8px; z-index: -2; pointer-events: none; transform: translate3d(0, 0, 0); }
.hero-background-image { position: absolute; inset: 0; }
.deep-night-hero::after { content: ""; position: absolute; pointer-events: none; }
.hero-background-image {
  background: url("/img/Night%20Hope/night-hope-city-mobile.jpg") 48% top / cover no-repeat;
  animation: city-drift-mobile 18s ease-in-out infinite alternate;
}
.deep-night-hero::after {
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #10111280 0%, #10111238 32%, #101112d9 72%, #101112 100%);
}
.deep-night-hero.motion-paused .hero-background-image { animation-play-state: paused; }
@keyframes city-drift-mobile {
  from { transform: translate3d(-5px, 4px, 0) scale(1.08); }
  to { transform: translate3d(5px, -4px, 0) scale(1.11); }
}
@keyframes city-drift-desktop {
  from { transform: translate3d(-8px, 6px, 0) scale(1.08); }
  to { transform: translate3d(8px, -6px, 0) scale(1.12); }
}
.nav-links { text-transform: uppercase; letter-spacing: .07em; }
.nav-links a, .footer-links a { transition: color .2s ease; }
.button { transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background-color .22s ease; }
.button-gold {
  color: #20190e;
  border-color: #dbbb7d #b28a46 #a17a39;
  background: linear-gradient(115deg, #bd944e 0%, #e0c38a 44%, #d1ad69 63%, #bf974f 100%);
  box-shadow: inset 0 1px 0 #fff2cd66, inset 0 -1px 0 #76541c33, 0 5px 16px #0005, 0 0 18px #c6a15b0d;
}
.button-gold:hover { color: #20190e; }
.button-gold:focus-visible { outline-color: #f6dca7; }
.button-gold:active { transform: translateY(1px); box-shadow: inset 0 2px 4px #62431540, 0 2px 7px #0004; }
.services h2 { font-size: clamp(1.3rem, 3.5vw, 2rem); line-height: 1.2; letter-spacing: -.025em; margin-top: 0; }
.services-links .button { font-size: .72rem; letter-spacing: .07em; }
@media (min-width: 601px) {
  .hero-background-wrapper { inset: -152px -8px; }
  .hero-background-image {
    background-image: url("/img/Night%20Hope/night-hope-city-desktop.jpg");
    background-position: center 46%;
    animation-name: city-drift-desktop;
    animation-duration: 18s;
  }
  .deep-night-hero::after { background: linear-gradient(180deg, #10111288, #10111233 42%, #101112d9 85%, #101112); }
}
@media (hover: hover) and (pointer: fine) {
  .button-gold:hover { transform: translateY(-2px); border-color: #ecd19b; box-shadow: inset 0 1px 0 #fff2cd88, 0 8px 20px #0006, 0 0 22px #c6a15b26; }
  .button-gold:active { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-background-wrapper, .hero-background-image { animation: none; transform: none !important; }
  .button, .nav-links a, .footer-links a { transition: none; }
  .button-gold:hover, .button-gold:active { transform: none; }
}
