/* Official Homepage layout & interactive hero studio — extends next-base / next-views / next-light */
.nh-nav a { text-decoration: none; }
.nh-bar .nx-bar-btn.accent { text-decoration: none; }

/* Full-bleed matte dark athletic hero band */
.nh-hero {
  background: radial-gradient(circle at 82% 24%, rgba(235, 90, 44, .16), transparent 46%),
              linear-gradient(180deg, #0b1016 0%, #111822 100%);
  border-bottom: 1px solid #243041;
  color: #f1f5f9;
}
.nh-hero-inner {
  max-width: 1280px; margin: 0 auto; padding: 30px 22px 34px;
  display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.18fr);
  gap: 28px; align-items: center;
}
.nh-hero h1 {
  margin: 0 0 14px;
  font: 700 clamp(38px, 4.6vw, 56px)/0.98 var(--nx-display);
  letter-spacing: .015em; text-transform: uppercase; color: #fff;
}
.nh-lead { margin: 0 0 18px; font-size: 16px; line-height: 1.55; color: #cbd5e1; max-width: 520px; }
.nh-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.nh-cta-lg { padding: 11px 18px; font-size: 15px; }
.nh-hero .nx-btn:not(.primary) { background: #192330; border-color: #36475e; color: #f1f5f9; }
.nh-hero .nx-btn:not(.primary):hover { background: #223042; border-color: #4d6482; color: #fff; }
.nh-trust-inline {
  margin: 0; padding: 0; list-style: none;
  display: flex; flex-wrap: wrap; gap: 7px 16px;
  font-size: 13px; color: #9eb0c4;
}
.nh-trust-inline li { position: relative; padding-left: 13px; }
.nh-trust-inline li::before {
  content: ''; position: absolute; left: 0; top: 7px; width: 6px; height: 6px;
  border-radius: 1px; background: #eb5a2c;
}

/* Integrated Interactive Hero Studio Card — zero overlap, zero duplicate canvas */
.nh-studio-card {
  background: #10161f; border: 1px solid #2b3a4e; border-radius: 6px;
  overflow: hidden; box-shadow: 0 18px 40px rgba(0, 0, 0, .42);
}
.nh-studio-bar {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; background: #0a0e13; border-bottom: 1px solid #243041;
}
.nh-studio-tabs {
  display: inline-flex; gap: 2px; padding: 2px; border-radius: 4px;
  background: #151e2b; border: 1px solid #263345;
}
.nh-studio-tabs button {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 11px; border: 0; border-radius: 3px; background: transparent;
  color: #9eb0c4; font: 700 12px/1 var(--nx-display); letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer;
}
.nh-studio-tabs button:hover { color: #fff; }
.nh-studio-tabs button.active { background: #eb5a2c; color: #fff; }

.nh-studio-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.nh-mini-btn {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px; border-radius: 3px; border: 1px solid #304057;
  background: #17212f; color: #dbe5f0; font-size: 12px; font-weight: 600; cursor: pointer;
}
.nh-mini-btn:hover { background: #223044; border-color: #4b6180; color: #fff; }
.nh-mini-btn.active { background: #eb5a2c; border-color: #eb5a2c; color: #fff; }

.nh-studio-body { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.nh-studio-subbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; }
.nh-studio-hint { margin: 0; font-size: 12px; color: #9eb0c4; }
.nh-studio-field {
  background: #143628; border: 1px solid #2b4a3d; border-radius: 4px; padding: 5px;
}
.nh-studio-field .field-svg { width: 100%; height: auto; display: block; touch-action: none; user-select: none; }
.nh-studio-field.route-mode .field-svg { cursor: crosshair; }
.nh-studio-field .player { cursor: grab; }
.nh-studio-field .route-point { cursor: move; }
.nh-mini-btn:disabled { opacity: .4; cursor: not-allowed; }
.nh-studio-footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  padding: 8px 10px; background: #0a0e13; border-top: 1px solid #243041;
  font-size: 12px; color: #9eb0c4;
}

.nh-studio-players { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.nh-studio-pbtn {
  display: flex; align-items: center; gap: 6px; padding: 5px 7px;
  background: #161f2b; border: 1px solid #263345; border-radius: 4px;
  color: #f1f5f9; cursor: pointer; text-align: left; min-width: 0;
}
.nh-studio-pbtn:hover { border-color: #465b78; }
.nh-studio-pbtn.active { border-color: #eb5a2c; background: #1e212a; box-shadow: inset 0 0 0 1px #eb5a2c; }
.nh-studio-pbtn .nx-chip-dot { width: 22px; height: 22px; font-size: 11px; }
.nh-studio-pbtn span:last-child { min-width: 0; display: flex; flex-direction: column; }
.nh-studio-pbtn strong { font-size: 12px; line-height: 1.15; color: #fff; }
.nh-studio-pbtn small { font-size: 11px; color: #9eb0c4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.nh-studio-routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.nh-studio-routes .nx-route-btn {
  background: #161f2b; border-color: #29374a; color: #e2e8f0;
  padding: 5px 7px; font-size: 12px; gap: 5px;
}
.nh-studio-routes .nx-route-btn:hover { background: #202d3e; border-color: #4c6280; }
.nh-studio-routes .nx-route-btn.active { background: #eb5a2c; border-color: #eb5a2c; color: #fff; }
.nh-studio-routes .nx-route-glyph { width: 20px; height: 20px; background: rgba(0, 0, 0, .28); }

/* Unobstructed live Wristband + Call Sheet tab view */
.nh-print-sheet {
  background: #ffffff; color: #0f172a; border: 1px solid #94a3b8;
  border-top: 3px solid #eb5a2c; border-radius: 4px; padding: 12px;
  display: flex; flex-direction: column; gap: 10px;
}
.nh-print-head {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  padding-bottom: 7px; border-bottom: 1px solid #cbd5e1;
  font: 700 12px/1 var(--nx-display); letter-spacing: .07em; text-transform: uppercase; color: #0f172a;
}
.nh-print-head span:last-child { color: #c93f14; }
.nh-band-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7px;
  border: 1.5px dashed #475569; padding: 7px; background: #fff;
}
.nh-band-cell { border: 1px solid #cbd5e1; padding: 5px; background: #fff; }
.nh-band-cell.live { border-color: #eb5a2c; box-shadow: inset 0 0 0 1px #eb5a2c; }
.nh-band-cell header {
  display: flex; align-items: center; gap: 5px; margin-bottom: 3px;
  font: 700 11px/1.1 system-ui, sans-serif; color: #0f172a;
}
.nh-band-cell header b { background: #0f172a; color: #fff; padding: 1px 4px; border-radius: 2px; font-variant-numeric: tabular-nums; }
.nh-band-cell.live header b { background: #eb5a2c; }
.nh-band-cell .field-svg { width: 100%; height: auto; display: block; }

.nh-callsheet-mini {
  border-top: 1px solid #cbd5e1; padding-top: 8px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px 12px;
  font-size: 12px; color: #334155;
}
.nh-callsheet-row { display: flex; align-items: center; gap: 6px; min-width: 0; }
.nh-callsheet-row b {
  font: 700 11px/1 ui-monospace, SFMono-Regular, Consolas, monospace;
  background: #0f172a; color: #fff; padding: 2px 5px; border-radius: 2px; flex-shrink: 0;
}
.nh-callsheet-row.live b { background: #eb5a2c; }
.nh-callsheet-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nh-print-foot {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
  padding-top: 6px; border-top: 1px solid #e2e8f0; font-size: 12px; color: #475569;
}

/* Body sections */
.nh-body { padding-top: 26px; }
.nh-first-section { margin-top: 0; padding-top: 0; border-top: 0; }

/* Guarantees & FAQ */
.nh-guarantees {
  margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
}
.nh-guarantees > div {
  background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-radius-sm);
  padding: 12px 14px; display: flex; flex-direction: column; gap: 3px;
}
.nh-guarantees strong { font: 700 13px/1.2 var(--nx-display); letter-spacing: .06em; text-transform: uppercase; color: var(--nx-ink); }
.nh-guarantees span { font-size: 13px; color: var(--nx-muted); line-height: 1.4; }

.nh-faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.nh-faq-list details {
  background: var(--nx-surface); border: 1px solid var(--nx-border); border-radius: var(--nx-radius);
  padding: 14px 16px;
}
.nh-faq-list summary { cursor: pointer; font-size: 15px; font-weight: 700; color: var(--nx-ink); line-height: 1.35; }
.nh-faq-list p { margin: 9px 0 0; font-size: 14px; color: var(--nx-muted); line-height: 1.5; }

/* Light-mode full transformation for homepage hero, navbar & interactive studio card */
html[data-theme="light"] .nh-bar .nx-bar-btn.accent,
html[data-theme="light"] .nh-bar .nx-bar-btn.accent:hover { color: #ffffff; }
html[data-theme="light"] .nh-nav a.nx-tab { color: #475569; }
html[data-theme="light"] .nh-nav a.nx-tab:hover { color: #0f172a; }

html[data-theme="light"] .nh-hero {
  background: radial-gradient(circle at 82% 20%, rgba(229, 83, 37, .07), transparent 46%),
              linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
  border-bottom-color: #d5dde7;
  color: #0f172a;
}
html[data-theme="light"] .nh-hero h1 { color: #0f172a; }
html[data-theme="light"] .nh-lead { color: #334155; }
html[data-theme="light"] .nh-trust-inline { color: #475569; }
html[data-theme="light"] .nh-hero a.nx-btn.primary,
html[data-theme="light"] .nh-hero a.nx-btn.primary:hover { color: #ffffff; }
html[data-theme="light"] .nh-hero a.nx-btn:not(.primary) {
  background: #ffffff; border-color: #b6c3d2; color: #0f172a;
}
html[data-theme="light"] .nh-hero a.nx-btn:not(.primary):hover {
  background: #f1f4f8; border-color: #8fa1b6; color: #0f172a;
}

html[data-theme="light"] .nh-studio-card {
  background: #ffffff; border-color: #cbd5e1;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .08);
}
html[data-theme="light"] .nh-studio-bar,
html[data-theme="light"] .nh-studio-footer {
  background: #f8fafc; border-color: #d5dde7; color: #475569;
}
html[data-theme="light"] .nh-studio-tabs {
  background: #e8edf4; border-color: #d5dde7;
}
html[data-theme="light"] .nh-studio-tabs button { color: #475569; }
html[data-theme="light"] .nh-studio-tabs button:hover { color: #0f172a; }
html[data-theme="light"] .nh-studio-tabs button.active { background: #e55325; color: #ffffff; }
html[data-theme="light"] .nh-mini-btn {
  background: #ffffff; border-color: #b6c3d2; color: #0f172a;
}
html[data-theme="light"] .nh-mini-btn:hover { background: #f1f4f8; border-color: #8fa1b6; color: #0f172a; }
html[data-theme="light"] .nh-mini-btn.active { background: #e55325; border-color: #e55325; color: #ffffff; }
html[data-theme="light"] .nh-studio-hint { color: #475569; }
html[data-theme="light"] .nh-studio-field { background: #1b3d30; border-color: #163328; }
html[data-theme="light"] .nh-studio-pbtn {
  background: #f8fafc; border-color: #d5dde7; color: #0f172a;
}
html[data-theme="light"] .nh-studio-pbtn:hover { border-color: #93a6bc; background: #ffffff; }
html[data-theme="light"] .nh-studio-pbtn.active {
  background: #fff5f1; border-color: #e55325; box-shadow: inset 0 0 0 1px #e55325;
}
html[data-theme="light"] .nh-studio-pbtn strong { color: #0f172a; }
html[data-theme="light"] .nh-studio-pbtn small { color: #475569; }
html[data-theme="light"] .nh-studio-routes .nx-route-btn {
  background: #f8fafc; border-color: #cbd5e1; color: #0f172a;
}
html[data-theme="light"] .nh-studio-routes .nx-route-btn:hover {
  background: #edf2f7; border-color: #8fa1b6; color: #0f172a;
}
html[data-theme="light"] .nh-studio-routes .nx-route-btn.active {
  background: #e55325; border-color: #e55325; color: #ffffff;
}
html[data-theme="light"] .nh-studio-routes .nx-route-glyph { background: #e6ecf3; }
html[data-theme="light"] .nh-studio-routes .nx-route-btn.active .nx-route-glyph { background: rgba(0, 0, 0, .18); }

@media (max-width: 1040px) {
  .nh-hero-inner { grid-template-columns: 1fr; padding: 24px 16px 28px; gap: 22px; }
  .nh-guarantees, .nh-faq-list { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  body { padding-bottom: 16px; }
  .nh-bar .nx-brand span { display: inline; }
  .nh-studio-routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nh-studio-pbtn { flex-direction: column; align-items: center; text-align: center; padding: 5px 3px; gap: 3px; }
  .nh-callsheet-mini { grid-template-columns: 1fr; }
}
