/* NEWJAMM — shared styles */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #0B0B0D;
  --bg-elevated: #0E0E11;
  --bg-hover: #111114;
  --text: #F4F2EE;
  --text-muted: #C7C7CE;
  --text-subtle: #9C9CA3;
  --text-dim: #8C8C94;
  --text-faint: #6E6E76;
  --accent: #F5232B;
  --accent-light: #FF6B6B;
  --border: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.12);
  --container: min(1180px, 92vw);
  --pad-x: clamp(20px, 2.5vw, 36px);
  --section-y: clamp(44px, 4.5vw, 72px);
  --section-y-sm: clamp(32px, 3.5vw, 56px);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.16, 0.84, 0.36, 1);
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --reveal-distance: 14px;
  --reveal-duration: 0.5s;
  --reveal-stagger: 35ms;
  /* Fluid type — tuned for laptop (1280–1512px), not just large desktops */
  --text-h1: clamp(2.25rem, 3.2vw + 0.5rem, 4.25rem);
  --text-h2: clamp(1.75rem, 1.8vw + 0.75rem, 2.625rem);
  --text-h3: clamp(1.25rem, 0.6vw + 0.85rem, 1.5rem);
  --text-lead: clamp(1rem, 0.35vw + 0.85rem, 1.1875rem);
  --text-body: clamp(0.9375rem, 0.12vw + 0.88rem, 1.0625rem);
  --text-body-lg: clamp(1rem, 0.2vw + 0.92rem, 1.125rem);
  --text-quote: clamp(1.375rem, 1.4vw + 0.75rem, 2rem);
  --font-body: 'Hanken Grotesk', sans-serif;
  --font-display: 'Archivo', sans-serif;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: var(--header-h);
  overflow-x: hidden;
}

html.nj-smooth-scroll { scroll-behavior: auto; }

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  font-family: var(--font-body);
  color: var(--text);
  min-height: 100vh;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 10000;
  padding: 12px 18px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 4px;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

::selection { background: var(--accent); color: var(--bg); }
img { display: block; max-width: 100%; }

/* Animations */
@keyframes njRise {
  from { opacity: 0; transform: translateY(42px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes njLineGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.nj-rise-1 { animation: njRise 0.8s var(--ease-out) 0.05s both; }
.nj-rise-2 { animation: njRise 0.9s var(--ease-out) 0.18s both; }
.nj-rise-3 { animation: njRise 0.9s var(--ease-out) 0.32s both; }
.nj-rise-4 { animation: njRise 0.9s var(--ease-out) 0.46s both; }
.nj-rise-d1 { animation: njRise 0.8s var(--ease-out) 0.04s both; }
.nj-rise-d2 { animation: njRise 0.9s var(--ease-out) 0.14s both; }
.nj-rise-d3 { animation: njRise 0.9s var(--ease-out) 0.28s both; }
.nj-rise-d4 { animation: njRise 0.9s var(--ease-out) 0.4s both; }

/* Scroll reveal — content only; sections stay visible for fluid scrolling */
.nj-reveal-child {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  transition:
    opacity var(--reveal-duration) var(--ease-smooth),
    transform var(--reveal-duration) var(--ease-smooth);
  transition-delay: calc(var(--nj-i, 0) * var(--reveal-stagger));
}

section.nj-in > .nj-reveal-child,
section.nj-in > .container > .nj-reveal-child,
section.nj-in .nj-reveal-child.nj-reveal-child--featured {
  opacity: 1;
  transform: none;
}

.nj-reveal-child--featured {
  transition-duration: 0.55s;
}

/* Stagger grids */
[data-stagger].nj-armed > * {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  transition:
    opacity var(--reveal-duration) var(--ease-smooth),
    transform var(--reveal-duration) var(--ease-smooth);
}

[data-stagger].nj-armed.nj-in > * {
  opacity: 1;
  transform: none;
}

/* Eyebrow line draws in when section appears */
section.nj-in .eyebrow__line {
  transform: scaleX(0);
  transform-origin: left center;
  animation: njLineGrow 0.5s var(--ease-smooth) calc(var(--nj-i, 0) * var(--reveal-stagger) + 60ms) forwards;
}

/* Footer reveal */
.site-footer__grid > * {
  opacity: 0;
  transform: translate3d(0, var(--reveal-distance), 0);
  transition:
    opacity var(--reveal-duration) var(--ease-smooth),
    transform var(--reveal-duration) var(--ease-smooth);
}

.site-footer.nj-in .site-footer__grid > * {
  opacity: 1;
  transform: none;
}

.site-footer.nj-in .site-footer__grid > *:nth-child(1) { transition-delay: 0ms; }
.site-footer.nj-in .site-footer__grid > *:nth-child(2) { transition-delay: 40ms; }
.site-footer.nj-in .site-footer__grid > *:nth-child(3) { transition-delay: 80ms; }
.site-footer.nj-in .site-footer__grid > *:nth-child(4) { transition-delay: 120ms; }
.site-footer.nj-in .site-footer__grid > *:nth-child(5) { transition-delay: 160ms; }

/* Card hover lift */
.service-card,
.showcase-card,
.testimonial-card,
.panel,
.rehearsal-card {
  transition: transform 0.45s var(--ease-out), border-color 0.3s, background 0.3s, box-shadow 0.45s var(--ease-out);
}

.service-card:hover,
.showcase-card:hover,
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.65);
}

.featured:hover {
  border-color: rgba(245, 35, 43, 0.35);
}

[data-zoom] { overflow: hidden; }
[data-zoom] img.nj-zoom { transition: filter 0.5s var(--ease-out); }
[data-zoom]:hover img.nj-zoom { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.nj-smooth-scroll { scroll-behavior: auto; }

  [data-stagger] > *,
  .nj-reveal-child,
  .site-footer__grid > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    animation: none !important;
    filter: none !important;
  }

  section.nj-in .eyebrow__line { transform: none; animation: none; }

  .nj-rise-1, .nj-rise-2, .nj-rise-3, .nj-rise-4,
  .nj-rise-d1, .nj-rise-d2, .nj-rise-d3, .nj-rise-d4 {
    animation: none !important;
  }

  .service-card:hover,
  .showcase-card:hover,
  .testimonial-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Overlays */
#nj-grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.nj-vignette {
  position: fixed; inset: 0; z-index: 199; pointer-events: none;
  background: radial-gradient(122% 100% at 50% 42%, transparent 52%, rgba(0,0,0,0.5) 100%);
}

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-block-start: var(--section-y); padding-block-end: var(--section-y); }
.section--lg { padding-block-start: var(--section-y); padding-block-end: var(--section-y); }
.section--dark { background: var(--bg-elevated); border-top: 1px solid var(--border); }
.section--dark .container { padding-block-start: var(--section-y); padding-block-end: var(--section-y); }
.section--gallery { padding-block-start: var(--section-y-sm); padding-block-end: var(--section-y-sm); }
.section--contact { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 48px)); padding-bottom: var(--section-y); }

/*
 * Hero → next section: zero dead-zone.
 */
.hero + section,
.hero + section.section--lg,
.hero + section.section,
.hero + section.section--gallery {
  padding-block-start: clamp(40px, 5vw, 56px);
  margin-block-start: 0;
}
.hero + .section--dark { padding-block-start: var(--section-y); border-top: none; }

/* Header — fixed over hero, no document-flow gap */
#nj-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  width: 100%;
  background: rgba(11,11,13,0);
  border-bottom: 1px solid rgba(255,255,255,0);
  transition: background .5s ease, backdrop-filter .5s ease, border-color .5s ease, box-shadow .5s ease;
}

#nj-header.is-scrolled {
  --header-h: 52px;
  background: rgba(11,11,13,0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
  box-shadow: 0 16px 50px -28px rgba(0,0,0,0.95);
}

#nj-nav {
  max-width: var(--container); margin: 0 auto;
  padding: 20px var(--pad-x);
  display: flex; align-items: center; gap: 28px;
  transition: padding .5s cubic-bezier(.16,.84,.36,1);
}

#nj-header.is-scrolled #nj-nav { padding: 12px var(--pad-x); }

.logo { flex-shrink: 0; }
.logo img { height: 26px; width: auto; }

.nav-links {
  display: flex; align-items: center; gap: 28px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  flex: 1; justify-content: flex-end;
}

/* Desktop: only show the standalone nav CTA, not the drawer copy */
.nav-links > .btn-primary,
.nav-links .btn-primary--nav-drawer { display: none; }

#nj-header .btn-primary--nav { flex-shrink: 0; margin-left: 0; }

.nav-link {
  text-decoration: none; color: var(--text-muted); padding-bottom: 4px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1.5px;
  transition: color .3s, background-size .4s cubic-bezier(.2,.8,.2,1);
}

.nav-link:hover, .nav-link.is-active { color: var(--text); background-size: 100% 1.5px; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 62;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.nav-toggle:hover { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.22); }

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.32s var(--ease-out), opacity 0.22s, width 0.32s;
  transform-origin: center;
}

.nav-toggle.is-active {
  background: rgba(245, 35, 43, 0.12);
  border-color: rgba(245, 35, 43, 0.45);
}

.nav-toggle.is-active .nav-toggle__bar { background: var(--text); width: 18px; }
.nav-toggle.is-active .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.is-active .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 54;
  background: rgba(5, 5, 7, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-smooth);
}

.nav-overlay.is-visible { opacity: 1; pointer-events: auto; }

#nj-header.nav-is-open {
  z-index: 61;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}

.nav-drawer__head { display: none; }

.nav-drawer__body {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: flex-end;
}

.nav-close { display: none; }

/* Buttons */
.btn-primary {
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--bg); font-weight: 700; font-size: 12.5px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 8px 8px 8px 20px; border-radius: 100px;
  transition: transform .25s, box-shadow .25s; border: none; cursor: pointer; font-family: inherit;
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -8px rgba(245,35,43,0.7); }

.btn-primary--lg { font-size: 13px; letter-spacing: 0.06em; padding: 14px 14px 14px 24px; gap: 10px; }
.btn-primary--lg:hover { box-shadow: 0 14px 32px -8px rgba(245,35,43,0.65); }
.btn-primary--md { font-size: 12.5px; padding: 13px 13px 13px 22px; gap: 10px; }
.btn-primary--cta { font-size: 13px; padding: 14px 14px 14px 24px; gap: 10px; }
.btn-primary--square { border-radius: 2px; padding: 16px 28px; font-size: 13.5px; gap: 0; }
.btn-primary--block { width: 100%; justify-content: center; padding: 17px; border-radius: 2px; font-size: 14px; gap: 0; }

.btn-icon {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--accent); border-radius: 50%; flex-shrink: 0;
}

.btn-primary .btn-icon { width: 28px; height: 28px; font-size: 13px; }
.btn-primary--lg .btn-icon { width: 34px; height: 34px; font-size: 15px; }
.btn-primary--md .btn-icon, .btn-primary--cta .btn-icon { width: 32px; height: 32px; font-size: 14px; }

.btn-secondary {
  text-decoration: none; display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid rgba(255,255,255,0.22); color: var(--text); font-weight: 600;
  font-size: 13px; letter-spacing: 0.04em; padding: 15px 26px; border-radius: 100px;
  transition: border-color .25s, background .25s;
}

.btn-secondary:hover { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.04); }

.back-link {
  text-decoration: none; font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-subtle);
  transition: color .25s;
}

.back-link:hover { color: var(--accent); }

/* Typography */
.eyebrow { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.eyebrow__line { width: 34px; height: 1px; background: var(--accent); }
.eyebrow__text { font-size: 12.5px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent-light); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.015em; line-height: 0.95; margin: 0; }
h1 { font-stretch: 122%; font-size: var(--text-h1); line-height: 0.9; letter-spacing: -0.02em; }
h2 { font-stretch: 118%; font-size: var(--text-h2); }
h3 { font-stretch: 112%; font-size: var(--text-h3); letter-spacing: -0.01em; }

.text-accent { color: var(--accent); }
.text-muted { color: var(--text-subtle); }
.text-body { color: #C2C2C9; font-size: var(--text-body); line-height: 1.62; }
.text-body--lg { font-size: var(--text-body-lg); line-height: 1.62; color: #C2C2C9; }

.lead { margin: 24px 0 0; max-width: 54ch; }
.hero__subtitle {
  display: block;
  font-size: var(--text-lead);
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.35;
}

/* Hero — full viewport, content aligned to site container */
.hero,
.hero--sub {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  min-height: 100dvh;
  display: grid;
  align-content: center;
  justify-items: stretch;
  box-sizing: border-box;
  padding: calc(var(--header-h) + 4vh) 0 8vh;
  margin-bottom: 0;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__overlay { position: absolute; inset: 0; }
.hero__overlay--home { background: linear-gradient(180deg, rgba(11,11,13,0.72) 0%, rgba(11,11,13,0.2) 45%, rgba(11,11,13,0.5) 72%, rgba(11,11,13,0.88) 100%); }
.hero__overlay--glow { background: radial-gradient(120% 80% at 78% 12%, rgba(245,35,43,0.22), transparent 55%); }
.hero__overlay--live { background: linear-gradient(180deg, rgba(11,11,13,0.78) 0%, rgba(11,11,13,0.18) 45%, rgba(11,11,13,0.55) 75%, rgba(11,11,13,0.88) 100%); }
.hero__overlay--live-glow { background: radial-gradient(90% 70% at 50% 55%, rgba(245,35,43,0.18), transparent 62%); }
.hero__content {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  justify-self: stretch;
  min-width: 0;
  z-index: 2;
  transform: translateY(-6vh);
}
.hero__content--sub { padding-bottom: 0; }
.hero__title { max-width: 14ch; }
.hero__lead { max-width: 52ch; }
.hero__content .back-link { display: inline-block; margin-bottom: 20px; }
.hero__content > .eyebrow,
.hero__content .back-link + .eyebrow { margin-top: 0; }
.hero__content .lead,
.hero__content > .text-body { margin-top: clamp(20px, 3vh, 28px); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: clamp(24px, 3.5vh, 36px); width: 100%; }

/* Stats row */
.stats-row { display: flex; flex-wrap: wrap; gap: 0; margin-top: 64px; border-top: 1px solid var(--border-light); }
.stat { flex: 1; min-width: 160px; padding: 22px 26px 4px 0; }
.stat + .stat { padding-left: 26px; border-left: 1px solid var(--border-light); }
.stat__num { font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: clamp(1.375rem, 1.2vw + 0.75rem, 1.75rem); }
.stat__label { font-size: 12.5px; color: var(--text-dim); letter-spacing: 0.04em; margin-top: 4px; }

/* Service cards */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; aspect-ratio: 4/5; border: 1px solid rgba(255,255,255,0.08); transition: border-color .3s; text-decoration: none; color: inherit; display: block; }
.service-card:hover { border-color: rgba(245,35,43,0.6); }
.service-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.service-card__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,11,13,0) 40%, rgba(11,11,13,0.92) 100%); }
.service-card__num { position: absolute; top: 18px; left: 18px; font-family: var(--font-display); font-weight: 800; font-size: 13px; letter-spacing: 0.06em; color: var(--accent); }
.service-card__body { position: absolute; bottom: 0; left: 0; right: 0; padding: 24px; }
.service-card__body p { margin: 8px 0 14px; font-size: 14.5px; line-height: 1.5; color: #B7B7BE; }
.service-card__link { font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-light); }

/* Featured block (full-width portfolio) */
.featured {
  position: relative;
  border: 1px solid rgba(255,255,255,0.08);
  min-height: clamp(300px, 28vw, 400px);
  overflow: hidden;
}
.featured img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s var(--ease-out);
}
.featured:hover img { transform: none; filter: grayscale(65%); }
.featured__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,11,13,0.92) 0%, rgba(11,11,13,0.55) 50%, rgba(11,11,13,0.2) 100%); }
.featured__content { position: relative; z-index: 2; padding: clamp(32px, 4.5vw, 64px); max-width: 560px; }
.featured__label {
  display: block;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent-light);
}
.featured__content h3 {
  margin: 14px 0 0;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2.25rem);
  line-height: 0.95;
  letter-spacing: -0.015em;
}
.featured__content p {
  margin: 16px 0 0;
  font-size: var(--text-body);
  line-height: 1.6;
  color: #C2C2C9;
  max-width: 46ch;
}
.featured__stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 28px; }
.featured__stats .stat__num { font-family: var(--font-display); font-stretch: 112%; font-weight: 800; font-size: 22px; line-height: 1; }
.featured__stat-label { font-size: 12px; color: var(--text-dim); margin-top: 2px; }

/* Showcase portfolio cards */
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.showcase-card {
  position: relative;
  aspect-ratio: 4 / 5;
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.showcase-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.5s var(--ease-out);
}
.showcase-card:hover img {
  filter: grayscale(40%);
}
.showcase-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11,11,13,0.1) 0%, rgba(11,11,13,0.35) 45%, rgba(11,11,13,0.88) 100%);
}
.showcase-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 28px 32px;
  z-index: 1;
}
.showcase-card__body .eyebrow__text {
  display: block;
  margin-bottom: 14px;
}
.showcase-card__body h3 {
  margin: 0;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.25rem, 1.2vw + 0.75rem, 1.5rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
}
.showcase-card__body p {
  margin: 14px 0 0;
  font-size: 14.5px;
  line-height: 1.58;
  color: #B7B7BE;
  max-width: 42ch;
}

/* Grid panels */
.grid-panels { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.grid-panels--3 { grid-template-columns: repeat(3, 1fr); }
.panel { background: var(--bg-elevated); padding: 28px 26px 32px; }
.panel--dark { background: var(--bg); padding: 28px 26px 32px; }
.panel__num { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--accent); letter-spacing: 0.06em; }
.panel__num--lg { font-size: clamp(1.375rem, 1.2vw + 0.75rem, 1.75rem); font-stretch: 115%; }
.panel h4 { margin: 14px 0 8px; font-stretch: 110%; font-size: 1rem; letter-spacing: -0.005em; }
.panel p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--text-subtle); }

/* Service items (detail pages) */
.service-items { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); margin-top: 1px; }
.service-item { background: var(--bg); padding: 32px 28px 36px; transition: background .3s; }
.service-item:hover { background: var(--bg-hover); }
.service-item__inner { display: flex; align-items: flex-start; gap: 16px; }
.service-item__bar { flex-shrink: 0; width: 4px; align-self: stretch; background: var(--accent); margin-top: 6px; }
.service-item__index { font-family: var(--font-display); font-weight: 800; font-size: 11px; letter-spacing: 0.14em; color: #5C5C64; margin-bottom: 12px; }
.service-item h3 { font-size: clamp(1.125rem, 0.8vw + 0.9rem, 1.375rem); line-height: 0.94; margin-bottom: 14px; }

/* Testimonial */
blockquote { margin: 0; font-weight: 500; font-size: var(--text-quote); line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance; }
.testimonial-meta { display: flex; align-items: center; gap: 16px; margin-top: 40px; }

/* CTA row */
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

/* Image blocks */
.img-block { position: relative; border: 1px solid rgba(255,255,255,0.08); }
.img-block img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.img-block--4-3 { aspect-ratio: 4/3; }
.img-block--4-5 { aspect-ratio: 4/5; }
.img-block--5-4 { aspect-ratio: 5/4; }
.img-block--16-10 { aspect-ratio: 16/10; }

/* Gallery */
.gallery-live { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 240px 240px; gap: 16px; }
.gallery-live .img-block { min-height: 100%; }
.gallery-live .img-block:nth-child(1) { grid-row: span 2; }
.gallery-live .img-block:nth-child(4) { grid-column: span 2; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; margin-top: 48px; }
.contact-info-row { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.1); }
.contact-info-row:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.contact-info-row span:first-child { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-faint); }
.contact-info-row a, .contact-info-row span:last-child { color: var(--text); font-size: 15px; font-weight: 600; text-decoration: none; }
.contact-info-row a:hover { color: var(--accent); }

.form-box { border: 1px solid rgba(255,255,255,0.1); background: var(--bg-elevated); padding: 40px; }
.form-grid { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-label { display: block; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text-dim); margin-bottom: 9px; }
.form-input, .form-textarea {
  width: 100%; background: var(--bg); border: 1px solid rgba(255,255,255,0.14);
  color: var(--text); padding: 14px; font-size: 14.5px; font-family: inherit;
  border-radius: 2px; outline: none; transition: border-color .25s;
}
.form-input:focus, .form-textarea:focus { border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 120px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg); position: relative; overflow: hidden; }
.site-footer__glow { position: absolute; inset: 0; background: radial-gradient(80% 120% at 50% 140%, rgba(245,35,43,0.16), transparent 60%); pointer-events: none; }
.site-footer__grid { position: relative; max-width: var(--container); margin: 0 auto; padding: 88px var(--pad-x) 40px; display: grid; grid-template-columns: 1.5fr 0.9fr 0.9fr 1.1fr 1fr; gap: 36px; }
.footer-col__title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 18px; }
.footer-link {
  text-decoration: none; color: var(--text-muted); font-size: 14.5px;
  display: inline-block; margin-bottom: 13px;
  transition: color .3s ease, transform .35s cubic-bezier(.2,.8,.2,1);
  background-image: linear-gradient(var(--accent), var(--accent));
  background-repeat: no-repeat; background-position: 0 100%; background-size: 0% 1.5px;
}
.footer-link:hover { color: var(--text); transform: translateX(7px); background-size: 100% 1.5px; }
.footer-brand p { margin: 20px 0 0; max-width: 34ch; font-size: 14.5px; line-height: 1.6; color: var(--text-subtle); }
.footer-tagline { margin-top: 22px; font-family: var(--font-display); font-stretch: 110%; font-weight: 700; font-size: 15px; color: var(--accent-light); letter-spacing: 0.02em; }

.footer-wordmark {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  box-sizing: border-box;
  display: block;
  text-decoration: none;
  font-family: var(--font-display);
  font-stretch: 118%;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(2rem, 11vw, 8.75rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(255, 255, 255, 0.20);
  transition: -webkit-text-stroke-color .55s ease, color .55s ease, transform .55s cubic-bezier(.2,.8,.2,1);
  transform: translateY(8px);
  white-space: nowrap;
  overflow: hidden;
}
.footer-wordmark:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); transform: translateY(0); }

.footer-bottom {
  position: relative; max-width: var(--container); margin: 0 auto;
  padding: 24px var(--pad-x) 44px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: var(--text-faint);
}

.footer-bottom__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom__links > a:not(.back-to-top) {
  color: var(--text-faint);
  text-decoration: none;
  transition: color 0.25s;
}

.footer-bottom__links > a:not(.back-to-top):hover { color: var(--text); }

.back-to-top {
  text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  color: var(--text-subtle); font-weight: 600; letter-spacing: 0.04em; transition: color .3s, gap .3s;
}
.back-to-top:hover { color: var(--accent); gap: 14px; }
.back-to-top__icon { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.18); border-radius: 50%; }

.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: clamp(28px, 4vw, 48px); }
.section-header--start { align-items: flex-start; }
.divider { height: 1px; background: var(--border-light); margin: clamp(32px, 5vw, 64px) 0 0; }

.about-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 64px; align-items: start; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.testimonials-grid--2 { grid-template-columns: 1fr 1fr; }
.testimonial-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px 30px 36px;
}
.testimonial-card blockquote {
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-muted);
  font-weight: 400;
}

/* Rehearsal pricing */
.rehearsal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.rehearsal-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px 30px 36px;
}
.rehearsal-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 18px;
  margin: 0 0 12px;
}
.rehearsal-card__rates {
  margin-top: 20px;
  display: grid;
  gap: 10px;
  font-size: 14px;
  color: var(--text-subtle);
}
.rehearsal-card__rates span {
  display: inline-block;
  min-width: 90px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.rehearsal-card__rates strong { color: var(--text); }

.form-select { appearance: none; cursor: pointer; }
.form-rate-field[hidden] { display: none !important; }
.form-grid { position: relative; }

.form-status {
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.45;
  font-weight: 600;
}

.form-status--success {
  background: rgba(40, 180, 90, 0.12);
  border: 1px solid rgba(40, 180, 90, 0.35);
  color: #7dffb0;
}

.form-status--error {
  background: rgba(245, 35, 43, 0.12);
  border: 1px solid rgba(245, 35, 43, 0.4);
  color: #ff8a8f;
}

.form-status[hidden] { display: none !important; }

#contact-submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
}
.form-checkbox input { width: 18px; height: 18px; accent-color: var(--accent); }

/* Responsive */
@keyframes navLinkIn {
  from { opacity: 0; transform: translate3d(12px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (max-width: 1024px) {
  .services-grid, .service-items, .grid-panels--3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .gallery-live { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gallery-live .img-block:nth-child(1) { grid-row: span 1; grid-column: span 2; min-height: 280px; }
  .gallery-live .img-block:nth-child(4) { grid-column: span 2; min-height: 200px; }

  .nav-toggle { display: flex; margin-left: auto; }
  .nav-overlay { display: block; }

  .nav-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  }

  .nav-drawer__body {
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px 24px 32px;
    overflow-y: auto;
  }

  .nav-drawer__label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
  }

  .nav-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.25s, border-color 0.25s, transform 0.25s;
  }

  .nav-close:hover {
    background: rgba(245, 35, 43, 0.14);
    border-color: rgba(245, 35, 43, 0.45);
    transform: rotate(90deg);
  }

  .nav-close__line {
    position: absolute;
    width: 16px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
  }

  .nav-close__line:first-child { transform: rotate(45deg); }
  .nav-close__line:last-child { transform: rotate(-45deg); }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 100vw);
    height: 100dvh;
    background: rgba(11, 11, 13, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -24px 0 80px rgba(0, 0, 0, 0.55);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex: unset;
    padding: 0;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 56;
    overflow: hidden;
  }

  .nav-links.is-open { transform: translateX(0); }

  .nav-links .nav-link {
    font-family: var(--font-display);
    font-stretch: 110%;
    font-size: clamp(1.2rem, 4.8vw, 1.45rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 18px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    background-image: none;
    opacity: 0;
    transform: translate3d(14px, 0, 0);
    transition: color 0.25s, padding-left 0.25s;
  }

  .nav-links.is-open .nav-link {
    animation: navLinkIn 0.45s var(--ease-out) forwards;
  }

  .nav-links.is-open .nav-drawer__body .nav-link:nth-child(1) { animation-delay: 0.06s; }
  .nav-links.is-open .nav-drawer__body .nav-link:nth-child(2) { animation-delay: 0.11s; }
  .nav-links.is-open .nav-drawer__body .nav-link:nth-child(3) { animation-delay: 0.16s; }
  .nav-links.is-open .nav-drawer__body .nav-link:nth-child(4) { animation-delay: 0.21s; }

  .nav-links .nav-link:hover,
  .nav-links .nav-link.is-active {
    color: var(--text);
    padding-left: 6px;
    background-size: 0;
  }

  .nav-links .nav-link.is-active {
    color: var(--accent-light);
  }

  .nav-links .btn-primary--nav-drawer {
    display: inline-flex;
    margin-top: 28px;
    width: 100%;
    justify-content: center;
    font-size: 13px;
    padding: 16px 16px 16px 24px;
    opacity: 0;
    animation: none;
  }

  .nav-links.is-open .btn-primary--nav-drawer {
    animation: navLinkIn 0.45s var(--ease-out) 0.28s forwards;
  }

  #nj-header .btn-primary--nav { display: none; }

  .section-header { flex-direction: column; align-items: stretch; gap: 24px; }
  .section-header .btn-primary { align-self: flex-start; width: auto; max-width: 100%; justify-content: center; }

  .cta-row { flex-direction: column; align-items: flex-start; }
  .cta-row .btn-primary { width: auto; max-width: 100%; justify-content: center; }

  .stats-row { margin-top: clamp(32px, 5vw, 48px); }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero__actions .btn-primary,
  .hero__actions .btn-secondary {
    width: auto;
    max-width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  :root {
    --pad-x: 20px;
    --container: 100%;
  }

  /* Prevent text overflow site-wide */
  h1, h2, h3, h4, p, .lead, .text-body {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  h1 {
    font-size: clamp(1.625rem, 6.5vw + 0.3rem, 2.25rem);
    font-stretch: 108%;
    line-height: 0.95;
    letter-spacing: -0.01em;
  }

  h2 { font-size: clamp(1.45rem, 5.8vw + 0.35rem, 1.9rem); }
  h3 { font-size: clamp(1.15rem, 4vw + 0.3rem, 1.35rem); }

  .container,
  .hero__content,
  .section-header > div,
  .section-header > p {
    min-width: 0;
    max-width: 100%;
  }

  .section h1,
  .section h2,
  .section h3,
  .section-header h2,
  .section p.text-body,
  .section p.lead,
  .featured__content p,
  .featured__content h3 {
    max-width: 100% !important;
  }

  .eyebrow {
    margin-bottom: 14px;
    gap: 10px;
    align-items: center;
  }

  .eyebrow__text {
    font-size: 10.5px;
    letter-spacing: 0.14em;
    line-height: 1.35;
  }

  .eyebrow__line { width: 22px; flex-shrink: 0; }

  .hero,
  .hero--sub {
    padding: calc(var(--header-h) + 8px) 0 5vh;
  }

  .hero__content {
    transform: translateY(-1vh);
  }

  .hero__title,
  .hero__lead,
  .hero__content .lead,
  .hero__content > .text-body,
  .hero__content > .eyebrow,
  .hero__actions {
    max-width: 100%;
    width: 100%;
  }

  .hero__subtitle {
    font-size: clamp(0.9375rem, 3.6vw, 1.0625rem);
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .hero__actions {
    margin-top: 20px;
    gap: 10px;
    align-items: flex-start;
  }

  .hero__actions .btn-primary,
  .hero__actions .btn-secondary {
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
  }

  .hero__actions .btn-primary {
    white-space: nowrap;
  }

  .hero__actions .btn-secondary {
    white-space: normal;
    text-align: left;
  }

  .btn-primary,
  .btn-primary--md,
  .btn-primary--cta,
  .btn-primary--lg {
    font-size: 11px;
    letter-spacing: 0.05em;
    padding: 10px 10px 10px 16px;
    gap: 8px;
    justify-content: center;
    min-height: 0;
  }

  .btn-primary .btn-icon,
  .btn-primary--lg .btn-icon,
  .btn-primary--md .btn-icon,
  .btn-primary--cta .btn-icon {
    width: 26px;
    height: 26px;
    font-size: 12px;
    flex-shrink: 0;
  }

  .btn-secondary {
    font-size: 12px;
    padding: 10px 18px;
    letter-spacing: 0.03em;
    min-height: 0;
  }

  .btn-primary--square {
    padding: 12px 20px;
    font-size: 12px;
  }

  .btn-primary--block {
    padding: 12px 16px;
    font-size: 12.5px;
  }

  .nav-links .btn-primary--nav-drawer {
    font-size: 11px;
    padding: 12px 12px 12px 18px;
    margin-top: 20px;
  }

  .section-header { gap: 20px; }
  .section-header .btn-primary,
  .cta-row .btn-primary {
    width: auto;
    max-width: 100%;
    justify-content: center;
  }

  .featured {
    min-height: clamp(380px, 95vw, 480px);
    display: flex;
    align-items: flex-end;
  }

  .featured__overlay {
    background: linear-gradient(180deg, rgba(11,11,13,0.15) 0%, rgba(11,11,13,0.72) 45%, rgba(11,11,13,0.96) 100%);
  }

  .featured__content {
    max-width: 100%;
    width: 100%;
    padding: clamp(28px, 6vw, 40px) var(--pad-x);
  }

  .featured__content h3 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
  }

  .featured__stats { gap: 20px; margin-top: 22px; }

  .testimonial-card blockquote,
  .service-card__body p {
    overflow-wrap: anywhere;
  }

  .service-card__body { padding: 20px; }

  .services-grid, .service-items, .grid-panels--3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .stat { flex: 1 1 50%; min-width: 0; }
  .stat + .stat { border-left: none; padding-left: 0; }

  .showcase-grid, .testimonials-grid, .testimonials-grid--2, .rehearsal-grid { grid-template-columns: 1fr; }

  .hero + section,
  .hero + section.section--lg,
  .hero + section.section,
  .hero + section.section--gallery {
    padding-block-start: clamp(32px, 5vw, 48px);
  }

  .service-item { padding: 32px 24px 36px; }
  .panel, .panel--dark { padding: 28px 24px 32px; }

  .contact-info-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .form-box { padding: 28px 24px; }

  .gallery-live { grid-template-columns: 1fr; }
  .gallery-live .img-block:nth-child(1),
  .gallery-live .img-block:nth-child(4) { grid-column: span 1; min-height: 220px; }

  .footer-wordmark {
    font-size: clamp(1.65rem, 10.5vw, 2.35rem);
    font-stretch: 110%;
    letter-spacing: -0.05em;
    line-height: 1;
    -webkit-text-stroke-width: 1px;
    transform: translateY(4px);
  }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .showcase-card { aspect-ratio: 3 / 4; }

  #nj-nav { padding: 16px var(--pad-x); gap: 16px; }
  #nj-header.is-scrolled #nj-nav { padding: 12px var(--pad-x); }
}

/* Large external displays — scale up slightly without affecting laptops */
@media (min-width: 1680px) {
  :root {
    --container: min(1240px, 88vw);
    --text-h1: clamp(2.5rem, 3vw + 0.75rem, 4.75rem);
    --text-h2: clamp(1.875rem, 1.6vw + 0.75rem, 2.75rem);
    --section-y: clamp(52px, 4vw, 80px);
  }
}
