/* Needle & Groove Records — analog editorial static demo */
:root {
  --ng-surface: #0e0e11;
  --ng-surface-alt: #18181f;
  --ng-paper: #e8dfc8;
  --ng-paper-ink: #141218;
  --ng-ink: #fafafa;
  --ng-mute: #d4d4d8;
  --ng-primary: #f43f5e;
  --ng-accent: #be123c;
  --ng-border: #2e2e38;
  --ng-focus: #f43f5e;
  --ng-max: 75rem;
  --ng-display: "Bahnschrift", "DIN Alternate", "Segoe UI", system-ui, sans-serif;
  --ng-body: system-ui, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

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

body {
  margin: 0;
  overflow-x: clip;
  background: var(--ng-surface);
  color: var(--ng-ink);
  font: 1.125rem/1.6 var(--ng-body);
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--ng-primary); }
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.ng-cta:focus-visible {
  outline: 3px solid var(--ng-focus);
  outline-offset: 3px;
}

.ng-footer a { color: var(--ng-mute); }
.ng-footer a:focus-visible { outline-color: var(--ng-paper); }

.ng-nav a[aria-current="page"] {
  color: var(--ng-primary);
  text-decoration: underline;
  text-decoration-color: var(--ng-accent);
  text-underline-offset: 0.25em;
}

.ng-skip {
  position: absolute;
  left: 1rem;
  top: 1rem;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.ng-skip:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 100;
  background: var(--ng-paper);
  color: var(--ng-paper-ink);
  padding: 0.75rem 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.ng-utility {
  background: var(--ng-accent);
  color: var(--ng-ink);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  padding: 0.45rem 1rem;
}

.ng-masthead {
  border-bottom: 1px solid var(--ng-border);
  padding: 0.75rem max(1rem, calc((100vw - var(--ng-max)) / 2));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--ng-surface-alt);
}

.ng-brand {
  font-family: var(--ng-display);
  font-size: clamp(1.2rem, 4vw, 1.75rem);
  font-weight: 800;
  text-decoration: none;
  color: var(--ng-ink);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.ng-brand span {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ng-primary);
}

.ng-nav-wrap { width: 100%; }

.ng-nav summary,
.ng-nav a {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ng-mute);
}

.ng-nav-mobile { position: relative; width: 100%; }

.ng-nav-mobile__summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  padding: 0.35rem 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  border: 1px solid var(--ng-border);
  background: var(--ng-surface);
  color: var(--ng-ink);
  width: 100%;
  justify-content: space-between;
}

.ng-nav-mobile__summary::-webkit-details-marker { display: none; }

.ng-nav-mobile__bars {
  width: 1.15rem;
  height: 2px;
  background: var(--ng-ink);
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 -5px 0 var(--ng-ink), 0 5px 0 var(--ng-ink);
}

.ng-nav-mobile[open] .ng-nav-mobile__bars {
  background: transparent;
  box-shadow: none;
}

.ng-nav-mobile[open] .ng-nav-mobile__bars::before,
.ng-nav-mobile[open] .ng-nav-mobile__bars::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  background: var(--ng-ink);
}

.ng-nav-mobile[open] .ng-nav-mobile__bars::before { transform: rotate(45deg); }
.ng-nav-mobile[open] .ng-nav-mobile__bars::after { transform: rotate(-45deg); }

.ng-nav-mobile__open { display: inline; }
.ng-nav-mobile__close { display: none; }
.ng-nav-mobile[open] .ng-nav-mobile__open { display: none; }
.ng-nav-mobile[open] .ng-nav-mobile__close { display: inline; color: var(--ng-primary); }
.ng-nav-mobile[open] .ng-nav-mobile__summary { border-color: var(--ng-primary); }

.ng-nav .ng-drawer {
  display: none;
  position: absolute;
  z-index: 20;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  width: 100%;
  background: var(--ng-surface-alt);
  border: 1px solid var(--ng-border);
  padding: 0.35rem;
  gap: 0.15rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

.ng-nav-mobile[open] .ng-drawer { display: grid; }

.ng-drawer a {
  width: 100%;
  border-bottom: 1px solid var(--ng-border);
  color: var(--ng-ink);
}

.ng-drawer a:last-child { border-bottom: 0; }

.ng-desktop-nav { display: none; flex-wrap: wrap; gap: 0.15rem; }

@media (min-width: 960px) {
  .ng-nav-wrap { width: auto; }
  .ng-nav-mobile { display: none; }
  .ng-desktop-nav { display: flex; }
}

.ng-page {
  width: min(100% - 2rem, var(--ng-max));
  margin: 0 auto;
  padding-bottom: 2.5rem;
}

.ng-kicker,
.ng-editorial__kicker {
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ng-primary);
  margin: 0 0 0.5rem;
}

h1, h2, h3 {
  font-family: var(--ng-display);
  line-height: 1.08;
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 8vw, 4.25rem); max-width: 12ch; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }

.ng-lede {
  font-size: 1.0625rem;
  max-width: 38rem;
  color: var(--ng-mute);
}

.ng-page-title {
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--ng-border);
  margin-bottom: 1.5rem;
}

.ng-hero--home {
  margin: 0 calc(50% - 50vw) 1.5rem;
  width: 100vw;
  max-width: 100vw;
  border-bottom: 1px solid var(--ng-border);
}

.ng-hero--asymmetric {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--ng-surface-alt);
  position: relative;
  min-height: clamp(26rem, 85vw, 36rem);
}

.ng-hero__spine {
  display: none;
}

.ng-hero__media {
  position: relative;
  min-height: clamp(14rem, 52vw, 22rem);
}

.ng-hero__figure {
  margin: 0;
  height: 100%;
}

.ng-hero__photo {
  width: 100%;
  height: 100%;
  min-height: clamp(14rem, 52vw, 22rem);
  object-fit: cover;
  object-position: 58% 40%;
}

.ng-hero__groove {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.85;
}

.ng-hero__copy {
  padding: 1.5rem 1.25rem 2rem;
  margin: -2.5rem 1rem 1.25rem;
  position: relative;
  z-index: 2;
  border: 1px solid var(--ng-border);
}

.ng-panel--paper {
  background: var(--ng-paper);
  color: var(--ng-paper-ink);
}

.ng-panel--paper .ng-kicker { color: var(--ng-accent); }
.ng-panel--paper .ng-lede { color: #3f3a45; }
.ng-panel--paper a { color: var(--ng-accent); }

.ng-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.ng-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.25rem;
  background: var(--ng-accent);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--ng-accent);
  border-radius: 0.25rem;
}

.ng-cta--ghost {
  background: transparent;
  color: var(--ng-paper-ink) !important;
  border-color: var(--ng-paper-ink);
}

.ng-hero--asymmetric .ng-cta--ghost {
  color: var(--ng-paper-ink) !important;
}

.ng-cta-note,
.ng-note {
  font-size: 0.8125rem;
  color: var(--ng-mute);
  margin-top: 0.75rem;
}

.ng-panel--paper .ng-cta-note { color: #4b4450; }

@media (min-width: 768px) {
  .ng-hero--asymmetric {
    grid-template-columns: 7rem 1.05fr 0.95fr;
    align-items: stretch;
    min-height: clamp(22rem, 48vw, 34rem);
  }

  .ng-hero__spine {
    display: flex;
    align-items: stretch;
    border-right: 1px solid var(--ng-border);
  }

  .ng-hero__spine img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .ng-hero__media { min-height: 100%; }
  .ng-hero__copy {
    margin: 0;
    align-self: center;
    padding: 2.5rem 2rem;
    border-left: 1px solid var(--ng-border);
    border-top: 0;
    max-width: none;
  }

  .ng-hero__photo { min-height: 100%; }
}

.ng-spine-rail {
  padding: 1.25rem 0 2rem;
  border-bottom: 1px solid var(--ng-border);
  margin-bottom: 1.5rem;
}

.ng-spine-rail__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ng-spine-rail__list li span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--ng-border);
  background: var(--ng-surface-alt);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ng-editorial {
  padding: 1.5rem 0 2rem;
}

.ng-record-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

@media (min-width: 600px) {
  .ng-record-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .ng-record-grid { grid-template-columns: repeat(3, 1fr); }
}

.ng-record-grid--4 {
  grid-template-columns: 1fr;
}

@media (min-width: 700px) {
  .ng-record-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

.ng-record-card {
  border: 1px solid var(--ng-border);
  background: var(--ng-surface-alt);
  padding: 1rem 1.1rem;
  border-radius: 0.35rem;
}

.ng-record-card__tag {
  margin: 0 0 0.35rem;
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ng-primary);
}

.ng-record-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.ng-record-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ng-mute);
}

.ng-editorial__more {
  margin-top: 1rem;
  font-weight: 700;
}

.ng-feature {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 0;
  border-top: 1px solid var(--ng-border);
  align-items: center;
}

@media (min-width: 768px) {
  .ng-feature { grid-template-columns: 1.1fr 0.9fr; }
}

.ng-feature--accent {
  background: linear-gradient(135deg, var(--ng-surface-alt), var(--ng-surface));
  padding: 2rem 1.25rem;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  max-width: 100vw;
  padding-left: max(1.25rem, calc((100vw - var(--ng-max)) / 2));
  padding-right: max(1.25rem, calc((100vw - var(--ng-max)) / 2));
}

.ng-feature__art {
  border: 1px solid var(--ng-border);
  border-radius: 0.35rem;
}

.ng-feature__art--center {
  margin: 0 auto 1.5rem;
  width: 100%;
  max-width: 100%;
}

.ng-page-title h1 {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.ng-band {
  margin-top: 1rem;
  padding: 1.75rem 1.25rem;
  border: 1px solid var(--ng-border);
  background: var(--ng-surface-alt);
  border-radius: 0.35rem;
}

.ng-band--paper {
  background: var(--ng-paper);
  color: var(--ng-paper-ink);
}

.ng-band--paper .ng-note,
.ng-band--paper p { color: #3f3a45; }

.ng-band--accent {
  border-color: var(--ng-accent);
  background: rgba(190, 18, 60, 0.12);
}

.ng-split {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .ng-split { grid-template-columns: 1fr 1fr; align-items: start; }
}

.ng-panel {
  padding: 1.25rem;
  border: 1px solid var(--ng-border);
  background: var(--ng-surface-alt);
  border-radius: 0.35rem;
}

.ng-checklist {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}

.ng-checklist li { margin-bottom: 0.35rem; }

.ng-lane-grid {
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .ng-lane-grid { grid-template-columns: repeat(2, 1fr); }
}

.ng-lane-grid article {
  border: 1px solid var(--ng-border);
  padding: 1rem;
  background: var(--ng-surface-alt);
  border-radius: 0.35rem;
}

.ng-bleed-photo {
  width: 100vw;
  max-width: 100vw;
  margin: 0 calc(50% - 50vw) 1.25rem;
  border-block: 1px solid var(--ng-border);
}

.ng-hero--compact {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .ng-hero--compact { grid-template-columns: 1.2fr 0.8fr; }
}

.ng-steps {
  padding-left: 1.25rem;
}

.ng-steps li { margin-bottom: 0.5rem; }

.ng-form-field {
  margin-bottom: 1rem;
}

.ng-form-field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.ng-form-field input,
.ng-form-field select,
.ng-form-field textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.5rem 0.65rem;
  border: 1px solid var(--ng-border);
  background: var(--ng-surface);
  color: var(--ng-mute);
  border-radius: 0.25rem;
}

.ng-form-field textarea { min-height: 6rem; resize: vertical; }

.ng-sr-section {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.ng-footer {
  border-top: 1px solid var(--ng-border);
  padding: 2rem max(1rem, calc((100vw - var(--ng-max)) / 2)) 2.5rem;
  background: #08080a;
}

.ng-disclosure {
  font-size: 0.875rem;
  color: var(--ng-mute);
  max-width: 48rem;
}

.ng-footer-nav__label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ng-primary);
}

.ng-footer-nav__list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.ng-colophon {
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: var(--ng-mute);
}