/* NXTEAMLAB — final premium system
   Loaded last so the whole page shares one editorial grid and one interaction language. */

:root {
  --nx-bg: #000;
  --nx-surface: #070708;
  --nx-surface-2: #0c0c0e;
  --nx-text: #f3f3f1;
  --nx-muted: #989a9e;
  --nx-line: rgba(255, 255, 255, .13);
  --nx-line-strong: rgba(255, 255, 255, .25);
  --nx-blue: #218cff;
  --nx-ease: cubic-bezier(.2, .78, .2, 1);
  --content-max: 1440px;
  --content-gutter: max(clamp(1.25rem, 4vw, 5rem), calc((100vw - var(--content-max)) / 2));
}

html { background: var(--nx-bg); }

body {
  background: var(--nx-bg);
  color: var(--nx-text);
  cursor: default;
  text-rendering: optimizeLegibility;
  -webkit-user-select: none !important;
  user-select: none !important;
}

:where(input, textarea, select, [contenteditable="true"]) {
  cursor: text;
  -webkit-user-select: text !important;
  user-select: text !important;
}

:where(a, button, summary, label) { cursor: pointer; }

body::before {
  background:
    radial-gradient(circle at 73% 7%, rgba(255, 255, 255, .025), transparent 21%),
    linear-gradient(90deg, rgba(255, 255, 255, .006), transparent 20% 80%, rgba(255, 255, 255, .006)),
    #000;
}

::selection { background: var(--nx-blue); color: #fff; }

.grain { opacity: .018; }

.skip-link {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 999;
  padding: .8rem 1rem;
  background: #fff;
  color: #000;
  font-family: "DM Mono", monospace;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.scroll-progress { height: 1px; }
.scroll-progress span { background: linear-gradient(90deg, var(--nx-blue), #e9e9e7); box-shadow: none; }

/* Header */
.site-header,
.site-header.is-compact {
  top: 0;
  width: min(100%, 1600px);
  height: 68px;
  padding-inline: max(2rem, calc((100% - 1440px) / 2));
  overflow: visible;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(7, 7, 8, .82) 5%, rgba(7, 7, 8, .96) 18% 82%, rgba(7, 7, 8, .82) 95%, transparent 100%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .075), 0 22px 55px -48px rgba(0, 0, 0, .95);
  -webkit-backdrop-filter: blur(24px) saturate(128%);
  backdrop-filter: blur(24px) saturate(128%);
  transition: height .35s var(--nx-ease), background .35s ease, transform .35s var(--nx-ease);
}

.site-header.is-compact { height: 54px; }
.site-header::before,
.site-header::after { display: none; }

.site-logo {
  gap: .72rem;
  margin-left: clamp(.75rem, 1.2vw, 1.15rem);
  font-size: 1.24rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -.045em;
}
.site-logo img,
.site-header.is-compact .site-logo img {
  width: 28px;
  height: 36px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.34) drop-shadow(0 0 10px rgba(255, 255, 255, .22));
}

.desktop-nav { gap: clamp(2rem, 4vw, 4.25rem); color: #aeb0b4; font-size: .68rem; letter-spacing: .16em; }
.desktop-nav a { position: relative; display: inline-flex; min-height: 44px; align-items: center; }
.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 1px;
  background: var(--nx-blue);
  content: "";
  opacity: 0;
  transform: scaleX(.25);
  transition: opacity .25s ease, transform .25s var(--nx-ease);
}
.desktop-nav a:hover::after,
.desktop-nav a.is-active::after { opacity: 1; transform: scaleX(1); }
.desktop-nav a.is-active { color: #fff; }
.nav-mobile-cta { display: none !important; }

.italy-flag {
  display: inline-grid;
  width: 1.05rem;
  height: .68rem;
  margin-left: .18rem;
  border: 1px solid rgba(255, 255, 255, .32);
  background: linear-gradient(90deg, #178b4f 0 33.33%, #f4f4f2 33.33% 66.66%, #d13f3f 66.66% 100%);
  box-shadow: 0 0 12px rgba(255, 255, 255, .12);
  transform: translateY(.06rem);
}

.header-cta {
  min-height: 40px;
  gap: 1.6rem;
  padding: 0 1.1rem;
  border-color: rgba(255, 255, 255, .22);
  border-radius: 0;
  background: rgba(255, 255, 255, .012);
  font-size: .66rem;
  letter-spacing: .12em;
}
.site-header.is-compact .header-cta { min-height: 36px; padding-block: 0; }
.header-cta:hover { border-color: rgba(255, 255, 255, .62); background: #f2f2ef; }

/* Reusable controls */
.chrome-button,
.text-link {
  min-height: 62px;
  border-radius: 0;
  font-size: .69rem;
  letter-spacing: .11em;
}

.chrome-button {
  position: relative;
  overflow: hidden;
  gap: 2.8rem;
  padding-inline: 2rem;
  border: 1px solid rgba(255, 255, 255, .72);
  background: linear-gradient(106deg, #f5f5f2 0%, #a5a6a8 25%, #fff 48%, #85868a 73%, #f1f1ef 100%);
  box-shadow: inset 0 1px 0 #fff, inset 0 -1px 0 rgba(0, 0, 0, .28), 0 14px 34px rgba(0, 0, 0, .34);
  transition: transform .2s var(--nx-ease), box-shadow .2s ease, filter .2s ease;
}
.chrome-button::before {
  position: absolute;
  top: -65%;
  bottom: -65%;
  left: -40%;
  width: 20%;
  background: rgba(255, 255, 255, .62);
  content: "";
  filter: blur(9px);
  opacity: 0;
  transform: skewX(-17deg);
  transition: left .65s var(--nx-ease), opacity .18s ease;
}
.chrome-button:hover { box-shadow: inset 0 1px 0 #fff, 0 18px 42px rgba(0, 0, 0, .46); filter: contrast(1.04); transform: translateY(-1px); }
.chrome-button:hover::before { left: 120%; opacity: .34; }
.chrome-button:active { box-shadow: inset 0 3px 7px rgba(0, 0, 0, .32), 0 4px 10px rgba(0, 0, 0, .36); transform: translateY(2px); }
.chrome-button > *, .chrome-button { position: relative; }

.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2.1rem;
  padding: 0 1.6rem;
  border: 1px solid rgba(255, 255, 255, .22);
  color: #d2d3d5;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.text-link:hover { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .035); color: #fff; }

/* Hero */
.hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(480px, .98fr);
  min-height: min(100svh, 980px);
  padding-top: clamp(7.6rem, 10vh, 9rem);
  padding-bottom: clamp(2.8rem, 5vh, 4.5rem);
  background: linear-gradient(90deg, #000 0 42%, transparent 64% 84%, #000 100%);
}
.hero-aura { display: none; }
.hero-copy { max-width: 820px; padding: 0; }
.hero .kicker { margin-bottom: clamp(1.8rem, 3.2vh, 2.8rem); }
.hero h1 {
  max-width: 830px;
  font-size: clamp(5.2rem, 8.55vw, 8.8rem);
  font-weight: 720;
  line-height: .805;
  letter-spacing: -.077em;
}
.hero h1 em { background: linear-gradient(106deg, #f5f5f3 0%, #8a8b8e 32%, #f4f4f2 55%, #66676a 76%, #d6d7d9 100%); background-clip: text; }
.hero-intro { max-width: 620px; margin: clamp(2rem, 4vh, 3rem) 0 2.3rem; color: #adb0b4; font-size: clamp(.92rem, 1.15vw, 1.08rem); line-height: 1.72; }
.hero-actions { gap: .9rem; }
.hero-actions .chrome-button { order: -1; min-width: 260px; }
.hero-actions .text-link { min-width: 185px; }
.hero-visual { min-height: min(74vh, 720px); }
.image-frame {
  min-height: min(74vh, 720px);
  background-image:
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .72) 9%, transparent 28% 73%, rgba(0, 0, 0, .68) 91%, #000 100%),
    url("assets/site/beatpack-hero.png");
  background-position: 52% 50%;
  filter: grayscale(1) contrast(1.19) brightness(1.08);
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 17%, #000 84%, transparent),
    linear-gradient(to bottom, transparent, #000 7%, #000 91%, transparent);
  mask-image:
    linear-gradient(to right, transparent, #000 17%, #000 84%, transparent),
    linear-gradient(to bottom, transparent, #000 7%, #000 91%, transparent);
}
.hero-visual::before,
.hero-visual::after { opacity: .22; filter: blur(15px); }
.visual-stamp { right: 0; bottom: 9%; }

/* Dividing ticker */
.ticker { height: 58px; padding: 0; transform: none; background: #060607; }
.ticker::before { opacity: .12; }
.ticker-track { height: 100%; gap: 2.8rem; color: #a9abb0; font-size: .64rem; letter-spacing: .17em; animation-duration: 38s; }
.ticker i { color: var(--nx-blue); }

/* Application */
.production-flow { padding-block: clamp(6.8rem, 9vw, 9.5rem); background: linear-gradient(180deg, #020202, #070708 48%, #000); }
.flow-heading { margin-bottom: clamp(3.2rem, 5vw, 5rem); }
.flow-heading h2 { font-size: clamp(3.45rem, 5.35vw, 6.3rem); }
.flow-heading > p:last-child { color: #9c9fa3; font-family: "DM Mono", monospace; font-size: .88rem; line-height: 1.75; }
.step-heading { border-color: var(--nx-line); }
.quiz-embed-shell { height: min(82vh, 780px); min-height: 680px; border-color: rgba(255, 255, 255, .18); box-shadow: 0 30px 90px rgba(0, 0, 0, .58); }
.benefit-rail { border-color: var(--nx-line); }
.benefit-rail > div { min-height: 145px; padding: 1.55rem; }

/* Beats */
.section { padding-block: clamp(6.8rem, 9vw, 9.5rem); }
.section-head { margin-bottom: clamp(3rem, 5vw, 4.5rem); }
.section-head h2,
.manifesto-copy h2,
.pack-copy h2,
.apply h2 { font-size: clamp(4.15rem, 6.8vw, 7.8rem); }
.section-head > div > p { color: #9a9ca0; line-height: 1.75; }

.track-list { display: block; border-top: 1px solid var(--nx-line); }
.track {
  min-height: 142px;
  grid-template-columns: 70px minmax(250px, .72fr) minmax(320px, 1.3fr) 64px 150px;
  gap: 1.3rem;
  padding: 1.1rem .35rem;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid var(--nx-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: background .26s ease, border-color .26s ease;
}
.track::after { display: none; }
.track::before { top: 24%; bottom: 24%; left: -.35rem; width: 1px; box-shadow: none; }
.track:hover,
.track.is-playing { border-color: rgba(255, 255, 255, .22); background: linear-gradient(90deg, rgba(33, 140, 255, .045), rgba(255, 255, 255, .02) 52%, transparent); box-shadow: none; }
.play-button { width: 58px; height: 58px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 10px 22px rgba(0, 0, 0, .7); }
.play-button:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 10px 22px rgba(0, 0, 0, .72); }
.is-playing .play-button,
.is-playing .play-button:hover { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 2px 5px rgba(0, 0, 0, .82), inset 0 3px 7px rgba(0, 0, 0, .46); }
.track-meta { gap: 1.05rem; }
.track h3 { font-size: clamp(1.35rem, 1.65vw, 1.72rem); }
.track-meta p { color: #8f9195; font-size: .68rem; }
.waveform { height: 62px; padding: .55rem .75rem; border-color: rgba(255, 255, 255, .075); border-radius: 0; background: rgba(0, 0, 0, .46); box-shadow: inset 0 8px 22px rgba(0, 0, 0, .58); }
.waveform::after { background: linear-gradient(90deg, rgba(33, 140, 255, .055), rgba(255, 255, 255, .095)); box-shadow: none; }
.track-buy { min-height: 54px; border-radius: 0; background: rgba(255, 255, 255, .015); box-shadow: none; }
.track-buy:hover { box-shadow: none; transform: none; }
.beat-contact { padding-block: 2.6rem; }

/* Services */
.manifesto { gap: 3rem clamp(3rem, 6vw, 6.5rem); padding-block: clamp(7rem, 9.5vw, 10rem); background: #000; }
.manifesto-mark { min-height: 520px; opacity: .86; }
.manifesto-copy > p:last-child { color: #9b9da1; line-height: 1.8; }
.service-grid { margin-top: 2.5rem; }
.service-grid article {
  min-height: 112px;
  grid-template-columns: 150px minmax(260px, .72fr) minmax(320px, 1.1fr) 230px;
  padding: 1.35rem .35rem;
  transition: background .25s ease;
}
.service-grid article:hover { background: linear-gradient(90deg, rgba(33, 140, 255, .05), rgba(255, 255, 255, .015) 65%, transparent); }
.service-grid h3 { font-size: 1.35rem; }
.service-grid p { color: #999ba0; font-size: .8rem; line-height: 1.65; }
.service-action { min-height: 44px; }
.service-contact { padding-top: 2.8rem; }

/* Pack rail */
.pack { gap: clamp(3rem, 6vw, 7rem); padding-block: clamp(7rem, 9.5vw, 10rem); background: linear-gradient(180deg, #020202, #070708 50%, #000); }
.pack-visual img { border: 0; filter: grayscale(1) contrast(1.1) brightness(.96); }
.pack-copy > p:not(.section-label) { color: #9d9fa3; line-height: 1.75; }
.pack-copy ul { color: #c8c9cb; }
.pack-selector { margin-top: clamp(5rem, 7vw, 7rem); border-top-color: var(--nx-line); }
.pack-selector-head { margin-bottom: 2.7rem; }
.pack-selector-head h3 { max-width: 980px; font-size: clamp(3.5rem, 5.65vw, 6.4rem); }
.pack-selector-head > p { color: #929499; line-height: 1.75; }
.pack-options { align-items: stretch; border-color: var(--nx-line); }
.pack-option {
  min-height: 492px;
  padding: 1rem;
  border-right-color: rgba(255, 255, 255, .105);
  background: linear-gradient(180deg, rgba(255, 255, 255, .02), transparent 38%);
  transform: none !important;
}
.pack-option:hover { background: linear-gradient(180deg, rgba(var(--option-accent), .055), rgba(255, 255, 255, .018) 42%, transparent); }
.pack-option-image {
  aspect-ratio: 1.03;
  margin: -1rem -1rem .65rem;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, #000 0 72%, transparent 100%);
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, #000 0 72%, transparent 100%);
}
.pack-option-image img { object-fit: cover; transform: none !important; }
.pack-option-copy > span { font-size: .61rem; letter-spacing: .14em; }
.pack-option h4 { margin-top: .48rem; font-size: clamp(1.35rem, 1.65vw, 1.75rem); }
.pack-option-copy p { color: #8c8e92; }
.pack-option-price { margin-top: auto; }
.pack-option-price small { color: #777a7f; }
.pack-option-price del { color: #a6a8ac; font-size: 1.12rem; text-decoration-thickness: 1px; }
.pack-option-price strong { margin-top: .2rem; color: #ececea; font-size: .82rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.pack-badge { top: .8rem; right: .8rem; padding: .48rem .6rem; border: 1px solid rgba(255, 138, 28, .42); background: rgba(0, 0, 0, .74); font-size: .54rem; }

/* Final CTA and footer */
.apply { min-height: 72vh; padding-block: clamp(7rem, 10vw, 10rem); background: #000; }
.apply-shine { display: none; }
.apply > p:not(.section-label) { color: #9b9da1; line-height: 1.75; }
.apply > .chrome-button { min-height: 68px; }
.site-footer { min-height: 190px; padding-block: 3.3rem; border-top: 1px solid var(--nx-line); color: #8d8f93; }
.site-footer .site-logo { color: #e8e8e6; }

/* Motion: precise and quiet. */
.reveal {
  transform: translateY(22px);
  filter: blur(2px);
  transition: opacity .72s ease, transform .85s var(--nx-ease), filter .72s ease;
}
.reveal.is-visible { filter: none; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr); }
  .hero h1 { font-size: clamp(4.8rem, 8.3vw, 7rem); }
  .track { grid-template-columns: 64px minmax(220px, .72fr) minmax(250px, 1.2fr) 54px 126px; gap: .95rem; }
  .service-grid article { grid-template-columns: 120px minmax(220px, .72fr) minmax(280px, 1fr) 190px; }
}

@media (max-width: 980px) {
  .site-header,
  .site-header.is-compact { padding-inline: 1.35rem; }
  .desktop-nav { top: 70px; border-radius: 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { padding-top: 2rem; }
  .hero-visual { width: 100%; min-height: 580px; margin: 0; }
  .image-frame { min-height: 580px; }
  .track { grid-template-columns: 58px 1fr 122px; }
  .waveform { grid-column: 2 / 4; }
  .service-grid article { grid-template-columns: 100px 1fr 1fr; }
  .pack-option { min-height: 470px; }
}

@media (max-width: 620px) {
  :root { --content-gutter: 1rem; }

  .image-frame {
    background-image:
      linear-gradient(90deg, #000 0%, rgba(0,0,0,.7) 6%, transparent 24% 76%, rgba(0,0,0,.7) 94%, #000 100%),
      url("assets/site/beatpack-hero.png");
  }

  .manifesto-mark { background-image: url("assets/site/chrome-sound-sculpture.png"); }

  html { scroll-padding-top: 64px; }
  .site-header,
  .site-header.is-compact {
    top: 0;
    width: 100%;
    height: 64px;
    padding: 0 1rem;
    background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(13, 13, 15, .97) 15% 85%, rgba(0, 0, 0, .82));
    box-shadow: 0 1px 0 rgba(255, 255, 255, .09), 0 18px 40px -30px #000;
  }
  .site-header.is-compact { height: 54px; }
  .site-logo { margin-left: 0; gap: .52rem; font-size: 1.08rem; }
  .site-logo img,
  .site-header.is-compact .site-logo img { width: 27px; height: 34px; }
  .menu-toggle { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .025); }

  .desktop-nav {
    position: fixed;
    top: 64px;
    right: 0;
    left: 0;
    display: flex;
    width: 100%;
    max-height: calc(100svh - 64px);
    padding: .6rem 1rem 1rem;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, .09);
    background: rgba(2, 2, 3, .98);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .88);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-12px);
    transition: opacity .22s ease, transform .28s var(--nx-ease);
  }
  .desktop-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .desktop-nav a { min-height: 54px; padding: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: .72rem; }
  .desktop-nav a::after { display: none; }
  .desktop-nav .nav-mobile-cta { display: flex !important; justify-content: space-between; min-height: 58px; margin-top: .6rem; padding: 0 1rem; border: 1px solid rgba(255, 255, 255, .5); background: #eee; color: #060606; }

  .hero {
    padding: calc(6.9rem + env(safe-area-inset-top)) 1rem 0;
    background: #000;
  }
  .hero-copy { padding: 0; }
  .hero .kicker { margin-bottom: 1.35rem; font-size: .57rem; line-height: 1.5; letter-spacing: .13em; }
  .hero h1 {
    max-width: 100%;
    font-size: clamp(3.2rem, 15vw, 4rem);
    line-height: .82;
    letter-spacing: -.072em;
  }
  .hero h1 em { padding: .05em .08em .08em 0; }
  .hero-intro { margin: 1.8rem 0 1.45rem; color: #a7a9ad; font-size: .9rem; line-height: 1.68; }
  .hero-actions { gap: .65rem; }
  .hero-actions .chrome-button,
  .hero-actions .text-link { min-width: 0; min-height: 58px; }
  .hero-visual { width: calc(100% + 2rem); min-height: 410px; margin: .75rem -1rem 0; }
  .image-frame {
    min-height: 410px;
    aspect-ratio: .9;
    background-position: 50% 47%;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 86%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent), linear-gradient(to bottom, transparent, #000 5%, #000 86%, transparent);
  }
  .visual-stamp { display: none; }

  .ticker { height: 46px; }
  .ticker-track { gap: 1.8rem; font-size: .59rem; }

  .production-flow,
  .section,
  .manifesto,
  .pack,
  .apply { padding-right: 1rem; padding-left: 1rem; }
  .production-flow,
  .section,
  .manifesto,
  .pack { padding-top: 5.2rem; padding-bottom: 5.2rem; }

  .flow-heading h2 { font-size: clamp(2.25rem, 10.2vw, 2.95rem); line-height: .9; }
  .flow-heading > p:last-child,
  .section-head > div > p,
  .manifesto-copy > p:last-child { font-size: .76rem; line-height: 1.7; }
  .quiz-embed-shell { height: 760px; }

  .section-head h2,
  .manifesto-copy h2,
  .pack-selector-head h3,
  .apply h2 { font-size: clamp(2.95rem, 13.5vw, 3.8rem); line-height: .86; }

  .track-list { display: block; }
  .track {
    min-height: 0;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    grid-template-rows: auto 44px auto;
    gap: .8rem .7rem;
    padding: 1.15rem 0;
    border: 0;
    border-bottom: 1px solid var(--nx-line);
    background: transparent;
  }
  .track::before { left: 0; }
  .play-button { grid-row: 1 / 3; width: 50px; height: 50px; }
  .track h3 { font-size: 1.08rem; }
  .waveform { grid-column: 2 / 4; grid-row: 2; height: 44px; }
  .track-buy { grid-column: 1 / 4; grid-row: 3; min-height: 50px; }

  .manifesto-mark { min-height: 300px; opacity: .8; }
  .service-grid article { min-height: 0; padding: 1.35rem 0; }
  .service-grid h3 { font-size: 1.05rem; }
  .service-grid p { font-size: .67rem; }

  .pack-option { min-height: 490px; background: linear-gradient(180deg, rgba(255, 255, 255, .025), transparent 48%); }
  .pack-option-image { aspect-ratio: 1.02; }
  .pack-option-price del { font-size: 1.1rem; }
  .pack-option-price strong { font-size: 2rem; }

  .apply { min-height: 68svh; padding-top: 5.5rem; padding-bottom: 5.5rem; }
  .apply > .chrome-button { min-height: 60px; }
  .site-footer { min-height: 0; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: clamp(3rem, 14.9vw, 3.55rem); }
  .hero .kicker { font-size: .53rem; }
  .hero-visual,
  .image-frame { min-height: 390px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .chrome-button::before { display: none; }
  .reveal { opacity: 1; filter: none; transform: none; }
}

/* Softened surfaces — intentionally subtle, while the header stays architectural. */
.chrome-button,
.text-link { border-radius: 6px; }

.track-list { display: grid; gap: .55rem; border-top: 0; }
.track { overflow: hidden; border: 1px solid var(--nx-line); border-radius: 8px; }
.waveform { border-radius: 5px; }
.track-buy { border-radius: 5px; }

.service-grid article { border-radius: 6px; }
.pack-option { border-radius: 8px; }
.pack-option-image { border-radius: 8px 8px 0 0; }

/* A three-column desktop row that matches the three real children. */
@media (min-width: 1101px) {
  .service-grid article {
    grid-template-columns: minmax(190px, .58fr) minmax(0, 1.2fr) minmax(210px, .52fr);
  }
}

/* Tablet: give copy real space instead of squeezing titles into a 100px rail. */
@media (min-width: 621px) and (max-width: 1100px) {
  .service-grid article {
    grid-template-columns: minmax(180px, .62fr) minmax(0, 1.38fr);
    grid-template-rows: auto auto;
    gap: .75rem clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    padding: 1.5rem 0;
  }

  .service-grid h3 {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
  }

  .service-grid p {
    min-width: 0;
    grid-column: 2;
    grid-row: 1 / 3;
    margin: 0;
    overflow-wrap: anywhere;
  }

  .service-action {
    grid-column: 1;
    grid-row: 2;
    min-height: 36px;
    justify-self: start;
    margin: 0;
    padding-top: .55rem;
  }
}

@media (max-width: 620px) {
  .track-list { display: grid; gap: .7rem; }
  .track {
    gap: .9rem .75rem;
    padding: 1rem;
    border: 1px solid var(--nx-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, .012);
  }
  .track::before { left: .72rem; }

  /* Benefit copy has no icon column: stack title and description cleanly. */
  .benefit-rail > div,
  .benefit-rail > div:nth-child(2) {
    display: block;
    padding: 1.35rem 0;
  }
  .benefit-rail strong { display: block; font-size: .92rem; }
  .benefit-rail p { margin: .42rem 0 0; font-size: .72rem; line-height: 1.55; }

  /* Services use a dedicated two-column mobile card, not the desktop grid. */
  .service-grid { display: grid; gap: .7rem; margin-top: 1.7rem; border-top: 0; }
  .service-grid article {
    display: grid;
    min-height: 0;
    grid-template-columns: minmax(0, 1fr) 32px;
    grid-template-rows: auto auto;
    gap: .55rem 1rem;
    padding: 1.25rem 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
    border-radius: 0;
  }
  .service-grid h3 { grid-column: 1; grid-row: 1; margin: 0; font-size: 1.05rem; }
  .service-grid p { grid-column: 1; grid-row: 2; margin: 0; font-size: .72rem; line-height: 1.55; }
  .service-action {
    display: grid;
    grid-column: 2;
    grid-row: 1 / 3;
    width: 32px;
    min-height: 44px;
    place-items: center;
    align-self: center;
    justify-self: end;
    padding: 0;
    color: transparent;
    font-size: 0;
  }
  .service-action b { display: grid; place-items: center; color: #fff; font-size: 1rem; }
}
