/* ==========================================================================
   n-Track Studio 11 — Features page (templates/features.php.html)

   Loaded after css/v11-core.css and css/home-v11.css: the page's <main> is
   .home-v11, so it inherits the tokens, the type, the buttons and the
   homepage components it reuses (demo players, platforms, close). What is
   here is only what the features page adds. Everything is scoped to .fv.
   ========================================================================== */

/* .home-v11 clips sideways overflow with overflow-x:hidden, which turns
   <main> into a scroll container and stops the chapter nav from sticking.
   clip cuts the overflow the same way without that side effect. */
.home-v11.fv,
.home-v11-page .home-v11 { overflow-x: visible; overflow-x: clip; }   /* the homepage carries the chapters since 2026-11-05 */

/* Anchor jumps land below the topbar + the sticky chapter nav. */
.fv [id] { scroll-margin-top: 140px; }

/* ---- shared bits ---- */
.fv-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: var(--s4); }
.fv-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--amber);
  transition: color .18s var(--ease);
}
.fv-link:hover, .fv-link:focus-visible { color: var(--amber-hi); }
.fv-link .fa-angle-right { transition: transform .18s var(--ease); }
.fv-link:hover .fa-angle-right { transform: translateX(3px); }

.fv-badge {
  display: inline-block;
  vertical-align: middle;
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1.5;
  color: var(--amber-ink);
  background: var(--amber);
}
.fv-card__body > .fv-badge, .fv-tile__body > .fv-badge { align-self: flex-start; }
.fv-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.fv-badges + .fv-card__title { margin-top: 10px; }
.fv-badge--dim { color: var(--text-dim); background: rgba(255, 255, 255, .08); }
.fv-badge--ai  { color: #0b0c0e; background: var(--ai-grad); }

.fv-num {
  display: inline-block;
  margin-right: 12px;
  color: var(--amber);
  font-variant-numeric: tabular-nums;
}

/* Colour washes, one per chapter; --fv-glow tints the spotlight's shadow. */
.fv-wash-amber  { --fv-glow: rgba(231, 168, 0, .16);
  background-image: radial-gradient(70% 45% at 88% 0%, rgba(231, 168, 0, .075), transparent 65%); }
.fv-wash-cyan   { --fv-glow: rgba(34, 211, 238, .14);
  background-image: radial-gradient(70% 45% at 12% 0%, rgba(34, 211, 238, .065), transparent 65%); }
.fv-wash-violet { --fv-glow: rgba(168, 85, 247, .16);
  background-image: radial-gradient(70% 45% at 88% 0%, rgba(168, 85, 247, .075), transparent 65%); }
.fv-wash-ai     { --fv-glow: rgba(168, 85, 247, .2);
  background-image:
    radial-gradient(60% 40% at 15% 0%, rgba(34, 211, 238, .08), transparent 65%),
    radial-gradient(60% 45% at 90% 20%, rgba(168, 85, 247, .09), transparent 65%); }

/* Tints for icon panels */
.fv-tint-amber  { --tint: rgba(231, 168, 0, .34); }
.fv-tint-cyan   { --tint: rgba(34, 211, 238, .30); }
.fv-tint-violet { --tint: rgba(168, 85, 247, .34); }
.fv-tint-green  { --tint: rgba(52, 211, 153, .28); }
.fv-tint-pink   { --tint: rgba(244, 114, 182, .30); }
.fv-tint-ai     { --tint: rgba(34, 211, 238, .30); --tint-2: rgba(168, 85, 247, .30); }

/* .fv-frame (the screenshot window) and the hero — title, buttons and the
   stage with its floating plug-in windows — moved verbatim to
   css/v11-core.css on 2026-10-14, so the homepage can use the same hero. */

.fv-stats {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  margin-top: var(--s8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
}
.fv-stats li {
  padding: var(--s4) var(--s3);
  text-align: center;
  background: #121416;
}
.fv-stats b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 500;
  letter-spacing: -.02em;
  color: var(--text);
}
/* Loops & sounds: three figures under the chapter head. */
.fv-stats.fv-stats--3 { grid-template-columns: repeat(3, 1fr); margin: 0 0 var(--s7); }
/* li > span: the label only, not the counter digits inside <b> */
.fv-stats li > span { display: block; margin-top: 4px; font-size: 13px; line-height: 1.35; color: var(--text-faint); }

/* ==========================================================================
   Chapter nav — sticky, under the topbar while it shows (--fv-top is set by
   the page script).
   ========================================================================== */
.fv-nav {
  position: -webkit-sticky;
  position: sticky;
  top: var(--fv-top, 0px);
  z-index: 50;
  background: rgba(14, 15, 17, .84);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: top .6s ease-in-out;
}
.fv-nav__list {
  display: flex;
  gap: 10px;
  padding: 12px 0 15px;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-behavior: smooth;
}
.fv-nav__list::-webkit-scrollbar { display: none; }
/* Centred with auto margins rather than justify-content:center, which
   would clip the first pill once the row is wider than the screen. */
.fv-nav__list > li:first-child { margin-left: auto; }
.fv-nav__list > li:last-child { margin-right: auto; }
.fv-nav__list a {
  display: block;
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 14.5px;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-faint);
  transition: color .18s var(--ease), background-color .18s var(--ease);
}
.fv-nav__list a:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.fv-nav__list a.is-active { color: var(--ink); background: var(--text); font-weight: 600; }

/* ==========================================================================
   Homepage features (2026-11-05, Matt)
   ========================================================================== */
/* Anchor jumps land just under the topbar (there is no second bar). */
.hv-features [id] { scroll-margin-top: 92px; }

/* Chapter nav inside the topbar, built by the homepage script. While
   body.is-chapters is set (01 Record to the end of AI & creative) it
   replaces the topbar menus; the brand and Try / Buy stay. */
.topbar .hv-chapnav { display: none; flex: 1; min-width: 0; margin: 0 8px; }
.is-chapters .topbar .topbar-links > .dropdown { display: none; }   /* Try / Buy (.nav-ctas) stay */
.is-chapters .topbar .hv-chapnav { display: block; }
.topbar .hv-chapnav ol {
  display: flex;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}
.topbar .hv-chapnav ol::-webkit-scrollbar { display: none; }
/* Centred with auto margins, not justify-content, which would clip the
   first chapter once the row is wider than the space. */
.topbar .hv-chapnav li:first-child { margin-left: auto; }
.topbar .hv-chapnav li:last-child { margin-right: auto; }
/* Chapters appear one by one: hidden until they are next up. */
.topbar .hv-chapnav li {
  flex: none;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-width .5s cubic-bezier(.22, .61, .36, 1), opacity .4s ease;
}
.topbar .hv-chapnav li.is-shown { max-width: 260px; opacity: 1; }
.topbar .hv-chapnav a {
  position: relative;
  display: block;
  padding: 9px 13px 12px;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -.005em;
  white-space: nowrap;
  text-decoration: none;
}
.topbar .hv-chapnav li.is-shown:not(.is-current):not(.is-done) a { color: rgba(255, 255, 255, .62); }   /* next up */
.topbar .hv-chapnav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
/* the reading-progress bar under the current chapter */
.topbar .hv-chapnav__bar {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  overflow: hidden;
  background: rgba(255, 255, 255, .2);
  opacity: 0;
  transition: opacity .2s ease;
}
.topbar .hv-chapnav li.is-current .hv-chapnav__bar { opacity: 1; }
.topbar .hv-chapnav__bar i {
  display: block;
  height: 100%;
  background: #ffb000;
  transform: scaleX(0);
  transform-origin: left center;
}
/* Below 992px the topbar has no menus: show only the current chapter. */
@media (max-width: 991px) {
  .topbar .hv-chapnav li,
  .topbar .hv-chapnav li.is-shown { display: none; }
  .topbar .hv-chapnav li.is-current { display: block; max-width: none; }
  .topbar .hv-chapnav a { font-size: 14px; }
}
@media (max-width: 600px) {
  .is-chapters .topbar .n-software > span { display: none; }   /* icon only, to make room */
}
@media (prefers-reduced-motion: reduce) {
  .topbar .hv-chapnav li { transition: none; }
}

/* Gear & files: a closed panel (details/summary). */
.hv-section.fv-fold { padding: var(--s6) 0; }
.fv-fold__box {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  background: var(--surface);
}
.fv-fold__sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s4) var(--s5);
  cursor: pointer;
  list-style: none;
}
.fv-fold__sum::-webkit-details-marker { display: none; }
.fv-fold__sum .hv-eyebrow { display: block; margin-bottom: 6px; }
.fv-fold__title {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  color: var(--text);
}
.fv-fold__icon {
  position: relative;
  flex: none;
  width: 38px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, .85);
  border-radius: 50%;
  transition: background-color .18s ease;
}
.fv-fold__icon::before,
.fv-fold__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
  transform: translate(-50%, -50%);
}
.fv-fold__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s ease; }
.fv-fold__box[open] .fv-fold__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.fv-fold__sum:hover .fv-fold__icon { background: rgba(255, 255, 255, .1); }
.fv-fold__body { padding: 0 var(--s5) var(--s5); }
.fv-fold__body .hv-lede { margin: 0 0 var(--s5); }
@media (max-width: 560px) {
  .fv-fold__sum { padding: var(--s3) var(--s4); }
  .fv-fold__body { padding: 0 var(--s4) var(--s4); }
}

/* The page skips layout and paint for chapters far off screen until they
   come near, so the long features part costs little on first load.
   "auto" remembers each chapter's real height once it has been shown. */
.hv-features .fv-chapter { content-visibility: auto; contain-intrinsic-size: auto 1600px; }

/* ==========================================================================
   Chapters
   ========================================================================== */
.fv-head { max-width: 820px; }

/* spotlight: a big framed screenshot and the chapter's key points */
.fv-spot {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--s7);
  align-items: center;
  margin-bottom: var(--s8);
}
.fv-spot--flip { grid-template-columns: 1fr 1.35fr; }
.fv-spot--flip .fv-frame { order: 2; }
.fv-spot .fv-frame {
  transform: perspective(1400px) rotateY(-5deg) rotateX(2deg);
  transition: transform .7s var(--ease);
}
.fv-spot--flip .fv-frame { transform: perspective(1400px) rotateY(5deg) rotateX(2deg); }
.fv-spot .fv-frame:hover { transform: none; }
.fv-spot__copy .hv-h3 { margin-bottom: var(--s4); }

.fv-ticks { display: grid; gap: 14px; }
.fv-ticks li {
  position: relative;
  padding-left: 34px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-dim);
}
.fv-ticks li::before {
  content: '\f00c';                       /* FontAwesome check */
  font-family: FontAwesome;
  position: absolute;
  left: 0;
  top: 2px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  color: var(--amber);
  background: rgba(231, 168, 0, .14);
}
.fv-ticks--ai li::before { color: var(--ai-1); background: rgba(34, 211, 238, .12); }

/* card grid */
.fv-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
#midi .fv-cards { grid-template-columns: repeat(4, 1fr); }
/* Record has five cards: on a six-track grid each takes two, so the short
   last row is centred rather than leaving a hole */
#record .fv-cards { grid-template-columns: repeat(6, 1fr); }
#record .fv-card { grid-column: span 2; }
#record .fv-card:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }

.fv-card,
.fv-tile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  /* opacity + transform also carry the .hv-reveal fade-in */
  transition: opacity .7s var(--ease), transform .45s var(--ease),
              border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.fv-card:hover,
.fv-tile:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .9);
}
.fv-card__media,
.fv-tile__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0b0c0e;
  border-bottom: 1px solid var(--line);
}
.fv-card__media img,
.fv-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.fv-card:hover .fv-card__media img,
.fv-tile:hover .fv-tile__media img { transform: scale(1.04); }

/* icon panels stand in where there is no good screenshot */
.fv-card__media--icon,
.fv-tile--icon .fv-tile__media {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle, rgba(255, 255, 255, .055) 1px, transparent 1.5px) 0 0 / 18px 18px,
    radial-gradient(85% 90% at 28% 18%, var(--tint, rgba(231, 168, 0, .3)), transparent 70%),
    radial-gradient(70% 80% at 92% 100%, var(--tint-2, transparent), transparent 65%),
    linear-gradient(160deg, #1d2124, #111315);
}
.fv-card__media--icon .fa,
.fv-tile--icon .fv-tile__media .fa {
  font-size: 46px;
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 0 32px var(--tint, rgba(231, 168, 0, .5));
  transition: transform .5s var(--ease);
}
.fv-card:hover .fv-card__media--icon .fa,
.fv-tile--icon:hover .fv-tile__media .fa { transform: scale(1.08); }

.fv-card__body,
.fv-tile__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--s4);
}
.fv-card__title,
.fv-tile__title {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.fv-badge + .fv-card__title, .fv-badge + .fv-tile__title { margin-top: 10px; }
.fv-card__body > .fv-badge ~ .fv-card__title { margin-top: 10px; }
.fv-card__text,
.fv-tile__text {
  flex: 1;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-dim);
}
.fv-card .fv-links,
.fv-tile .fv-links { margin-top: var(--s3); }

/* ==========================================================================
   New in 11 — a mosaic of homepage previews
   ========================================================================== */
.fv-newgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  grid-auto-flow: dense;
  gap: var(--s3);
}
.fv-nt {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background:
    radial-gradient(90% 90% at 22% 12%, rgba(168, 85, 247, .30), transparent 65%),
    radial-gradient(80% 80% at 92% 100%, rgba(34, 211, 238, .22), transparent 60%),
    #121416;
  color: var(--text);
  transition: transform .45s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.fv-nt:hover, .fv-nt:focus-visible {
  transform: translateY(-3px);
  border-color: var(--line-2);
  box-shadow: 0 24px 46px -22px rgba(0, 0, 0, .9);
}
.fv-nt img {
  object-position: left top;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .88;
  transition: transform .8s var(--ease), opacity .3s var(--ease);
}
.fv-nt:hover img { transform: scale(1.05); opacity: 1; }
.fv-nt::after {                            /* keeps the title readable */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 9, 10, .88));
  pointer-events: none;
}
.fv-nt::before {                           /* arrow on hover */
  content: '\f061';
  font-family: FontAwesome;
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 2;
  font-size: 13px;
  color: var(--text);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.fv-nt:hover::before { opacity: 1; transform: none; }
.fv-nt__title {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.3;
}
.fv-nt--hero { grid-column: span 2; grid-row: span 2; }
.fv-nt--hero .fv-nt__title { font-family: var(--font-display); font-size: 24px; font-weight: 500; left: 22px; bottom: 20px; }
.fv-nt--wide { grid-column: span 2; }
.fv-nt--icon > .fa {
  position: absolute;
  top: 44%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 40px;
  color: rgba(255, 255, 255, .88);
  text-shadow: 0 0 30px rgba(168, 85, 247, .5);
}

/* ==========================================================================
   Effects — filter, bento, demos, formats
   ========================================================================== */
.fv-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: var(--s5); }
.fv-filter button {
  padding: 9px 18px;
  border-radius: 100px;
  border: 1px solid var(--line-2);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  cursor: pointer;
  transition: all .18s var(--ease);
}
.fv-filter button:hover { color: var(--text); border-color: rgba(255, 255, 255, .4); }
.fv-filter button.is-active { color: var(--ink); background: var(--text); border-color: var(--text); font-weight: 600; }

.fv-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: dense;
  gap: var(--s3);
}
.fv-tile__body { padding: 18px 20px 20px; }
.fv-tile__title { font-size: 18px; }
.fv-tile__text { font-size: 14.5px; }
.fv-tile--lg { grid-column: span 2; }
.fv-tile--lg .fv-tile__media { aspect-ratio: 32 / 12; }
.fv-tile--lg .fv-tile__title { font-size: 21px; }
.fv-tile--lg .fv-tile__text { font-size: 15.5px; }

.fv-tile--rest {
  grid-column: span 3;
  background: rgba(255, 255, 255, .02);
  border-style: dashed;
}
.fv-tile--rest:hover { transform: none; box-shadow: none; }
.fv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; color: var(--text-dim); font-size: 14px; }
.fv-chips span {
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .045);
  font-size: 13px;
  color: var(--text-dim);
}

/* Hear it — real plug-in demos (players: js/home-v11.js §4) */
.fv-hear {
  margin-top: var(--s7);
  padding: var(--s6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    radial-gradient(60% 90% at 0% 0%, rgba(231, 168, 0, .11), transparent 60%),
    var(--surface);
}
.fv-hear__head {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--s5);
  align-items: end;
  margin-bottom: var(--s5);
}
.fv-hear__lede { font-size: 16px; line-height: 1.55; color: var(--text-dim); }
.fv-hear__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4); }
.fv-hear__col {
  padding: var(--s4);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
}
.fv-hear__name { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--text); }
.fv-hear__name .fa { color: var(--amber); }
.fv-hear .hv-presets { margin-top: var(--s3); }
.fv-hear .hv-ab { margin-top: var(--s3); }

/* Your own plug-ins */
.fv-plugs {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s5);
  align-items: center;
  margin-top: var(--s5);
  padding: var(--s5) var(--s6);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .01));
}
.fv-plugs__text { margin-top: 8px; font-size: 16px; line-height: 1.55; color: var(--text-dim); }
.fv-plugs__list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.fv-plugs__list li {
  padding: 11px 18px;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: rgba(0, 0, 0, .25);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: .02em;
}
.fv-plugs__list li.is-new {
  border-color: transparent;
  background: linear-gradient(#17191c, #17191c) padding-box, var(--ai-grad) border-box;
}

/* ==========================================================================
   Gear & files — spec sheet
   ========================================================================== */
.fv-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: var(--s6);
  margin: 0;
  border-top: 1px solid var(--line);
}
.fv-spec {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: var(--s3);
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.fv-spec--wide { grid-column: 1 / -1; }
.fv-spec dt { font-size: 15px; font-weight: 600; line-height: 1.5; color: var(--text); }
.fv-spec dt .fv-badge { margin-left: 6px; font-size: 10px; }
.fv-spec dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-dim); }
.fv-spec dd .fv-link { margin-left: 6px; }

/* ==========================================================================
   Every device + close
   ========================================================================== */
.fv-dev__text { margin-top: var(--s3); max-width: 60ch; font-size: 16px; line-height: 1.55; color: var(--text-faint); }
#devices .hv-oslist { margin-top: 0; }
.fv-end { border-top: 0; padding-top: var(--s5); }
.fv-end .hv-close { margin-top: 0; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  #midi .fv-cards { grid-template-columns: repeat(2, 1fr); }
  .fv-bento { grid-template-columns: repeat(3, 1fr); }
  .fv-tile--rest { grid-column: span 3; }
}
@media (max-width: 900px) {
  .fv-stats { grid-template-columns: repeat(3, 1fr); }
  .fv-spot, .fv-spot--flip { grid-template-columns: 1fr; gap: var(--s5); margin-bottom: var(--s7); }
  .fv-spot--flip .fv-frame { order: 0; }
  .fv-spot .fv-frame, .fv-spot--flip .fv-frame { transform: none; }
  .fv-cards { grid-template-columns: repeat(2, 1fr); }
  #record .fv-cards { grid-template-columns: repeat(4, 1fr); }
  #record .fv-card:nth-child(4):nth-last-child(2) { grid-column: span 2; }
  #record .fv-card:nth-child(odd):last-child { grid-column: 2 / span 2; }
  .fv-newgrid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .fv-hear { padding: var(--s5) var(--s4); }
  .fv-hear__head { grid-template-columns: 1fr; gap: var(--s2); }
  .fv-hear__cols { grid-template-columns: 1fr; }
  .fv-plugs { grid-template-columns: 1fr; padding: var(--s5) var(--s4); }
  .fv-plugs__list { justify-content: flex-start; }
  .fv-specs { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .fv-bento { grid-template-columns: repeat(2, 1fr); }
  .fv-tile--rest { grid-column: span 2; }
  .fv-tile--lg .fv-tile__media { aspect-ratio: 16 / 8; }
}
@media (max-width: 560px) {
  .fv-stats { grid-template-columns: repeat(2, 1fr); margin-top: var(--s7); }
  .fv-stats.fv-stats--3 { grid-template-columns: 1fr; margin-top: 0; }
  .fv-cards, #midi .fv-cards, #record .fv-cards { grid-template-columns: 1fr; }
  #record .fv-card:nth-child(n):nth-child(n) { grid-column: auto; }
  .fv-bento { grid-template-columns: 1fr; }
  .fv-tile--lg, .fv-tile--rest { grid-column: auto; }
  .fv-tile--lg .fv-tile__media { aspect-ratio: 16 / 10; }
  .fv-newgrid { grid-auto-rows: 130px; gap: var(--s2); }
  .fv-nt__title { font-size: 14px; left: 12px; right: 12px; bottom: 10px; }
  .fv-nt--hero .fv-nt__title { font-size: 19px; }
  .fv-spec { grid-template-columns: 1fr; gap: 4px; }
  .fv-ticks li { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .fv-nav, .fv-card, .fv-tile, .fv-nt, .fv-spot .fv-frame { transition: none; }
}

/* ==========================================================================
   Scroll effects in the homepage features (2026-11-05, Matt; after the
   quieter effects on cosmos.studio). All are switched on by the homepage
   script, which skips them under prefers-reduced-motion, so without JS or
   with reduced motion the page is exactly as before.
   ========================================================================== */

/* 1 · Chapter titles rise line by line from behind a mask. The script wraps
   each word in .fv-w > span and gives every word its line number (--ln).
   The eyebrow and lede fade in around it. */
.fv-split .hv-eyebrow,
.fv-split .hv-lede {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.fv-split .hv-lede { transition-delay: calc(var(--lines, 1) * 90ms + 180ms); }
.fv-split.is-on .hv-eyebrow,
.fv-split.is-on .hv-lede { opacity: 1; transform: none; }
.fv-w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* room for descenders and the tight letter-spacing's overhang */
  padding: 0 .05em .14em 0;
  margin: 0 -.05em -.14em 0;
}
.fv-w > span {
  display: inline-block;
  transform: translateY(108%);
  transition: transform .95s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--ln, 0) * 90ms + 60ms);
}
.fv-split.is-on .fv-w > span { transform: none; }

/* 2 · (Spotlight screenshot reveal removed 2026-11-05, Matt: too much with
   the card stagger; the screenshots keep the standard .hv-reveal fade.) */

/* 3 · Rolling counters: each digit is a column of 0-9 twice over that
   rolls up to its value. The real figure is in .sr-only for screen readers. */
.fv-odo {
  display: inline-block;
  height: 1.15em;
  overflow: hidden;
  line-height: 1.15;
  vertical-align: top;
  font-variant-numeric: tabular-nums;
}
.fv-odo__col {
  display: block;
  transform: translateY(0);
  transition: transform 1.5s cubic-bezier(.2, .7, .2, 1);
  transition-delay: calc(var(--k, 0) * 90ms);
}
.fv-odo__col > span { display: block; height: 1.15em; }
.is-counted .fv-odo__col { transform: translateY(calc(var(--to, 0) * -5%)); }

/* 4 · Cards and effect tiles come in one after another along each row
   (the script sets the delay from the card's place in its row). */
.fv-stag:not(.is-up) { opacity: 0; transform: translateY(22px); }
/* the figures use the counters' line height, so digits and "GB+" share a baseline */
.hv-features .fv-stats b { line-height: 1.15; }

/* Hero intro (2026-11-05): the app icon fades in with the copy, and the
   Try / Buy buttons slide up like the cards. The slow transition only lasts
   until the intro is done (is-done), so their hover stays quick. */
.fv-split .hv-intro__icon { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fv-split.is-on .hv-intro__icon { opacity: 1; transform: none; }
.hv-intro .fv-stag--btn:not(.is-done) { transition: opacity .7s var(--ease), transform .7s var(--ease); }
