/* NF Audios — the Midi Tower product page (/midi/tower): the Apple-style scroll page the owner approved (17 Nov 2026).
   Linked only on /midi/tower (midi.tpl.php). Every rule sits under .nfs .mt and every class starts with mt-, so nothing here can
   reach Midi Gate, Midi Stone or the hub. Buttons are the store's own (.btn pri / sec from nf2.css).
   Built by build_midi.py: this file is the source (fonts at img/ for the preview); the site copy points the fonts at midi/. */
@font-face { font-family: "Fraunces MT"; src: url("midi/FrauncesDisplay.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }   /* Fraunces with its optical sizes (OFL), as in the draft */
@font-face { font-family: "Geist"; src: url("midi/Geist.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("midi/GeistMono.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@property --mt-p { syntax: '<number>'; inherits: true; initial-value: 1; }
@property --mt-r { syntax: '<number>'; inherits: false; initial-value: 1; }

/* the sticky scenes need a page that clips sideways without becoming a scroll box */
div.nfs:has(> .mx > .mt), div.nfs:has(> .mx > .mt) > .mx { overflow-x: clip; }
html:has(.mt) { scroll-behavior: smooth; }

.nfs .mt {
  color-scheme: light;
  --bg: #ffffff; --bg2: #f4f7f4; --bg3: #eaf0eb; --ink: #16241c; --soft: #4b5a52; --mute: #6f7b73; --line: #e2e8e3;
  --green: #2f6b4f; --green-soft: rgba(47,107,79,.12);
  --shadow: 0 40px 80px -40px rgba(22,36,28,.38), 0 2px 8px rgba(22,36,28,.06);
  --shadow-sm: 0 20px 44px -24px rgba(22,36,28,.34), 0 1px 4px rgba(22,36,28,.05);
  --serif: "Fraunces MT", "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Geist", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, Menlo, monospace;
  --ease: cubic-bezier(.2,.7,.2,1);
  --wrap: 1180px;
  --mt-hdr: 49px;   /* the site's sticky header; midi-tower.js measures it */
  background: var(--bg); color: var(--ink); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.nfs .mt *, .nfs .mt *::before, .nfs .mt *::after { box-sizing: border-box; }
.nfs .mt h1, .nfs .mt h2, .nfs .mt h3 { font-family: var(--serif); font-weight: 600; margin: 0; color: var(--ink); text-wrap: balance; font-optical-sizing: auto; letter-spacing: normal; line-height: 1.2; font-size: inherit; max-width: none; }
.nfs .mt p { margin: 0; text-wrap: pretty; }
.nfs .mt img { display: block; max-width: 100%; height: auto; }
.nfs .mt a:not(.btn) { color: inherit; }
.nfs .mt [id] { scroll-margin-top: calc(var(--mt-hdr) + 64px); }
.nfs .mt a:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; border-radius: 8px; }

.nfs .mt .mt-wrap { width: min(var(--wrap), 100% - 32px); margin: 0 auto; }
.nfs .mt .mt-kick { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.nfs .mt .mt-kick::before { content: ""; width: 18px; height: 1px; background: currentColor; }
.nfs .mt .mt-h2 { font-size: clamp(40px, 6vw, 80px); line-height: 1.02; letter-spacing: -.03em; margin-top: 18px; }
.nfs .mt .mt-lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--soft); max-width: 34em; margin-top: 22px; }
.nfs .mt .mt-lead b { color: var(--ink); font-weight: 600; }
.nfs .mt .mt-center { text-align: center; }
.nfs .mt .mt-center .mt-lead { margin-left: auto; margin-right: auto; }

/* buttons are the store's; only the layout and the small size live here */
.nfs .mt .mt-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.nfs .mt .mt-center .mt-ctas, .nfs .mt .mt-ctas.mt-c { justify-content: center; }
.nfs .mt .mt-ctas .ctas { display: contents !important; }   /* the store's Buy + Add to cart pair sits in the same row */
.nfs .mt .btn { font-family: var(--sans); }
.nfs .mt .btn .ico { width: 18px; height: 18px; flex: none; }
.nfs .mt .btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }

/* the product bar (Apple's local nav): stays at the top while the page scrolls */
.nfs .mt .mt-bar { position: sticky; top: var(--mt-hdr); z-index: 30; background: rgba(255,255,255,.86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nfs .mt .mt-bar .mt-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; }
.nfs .mt .mt-bar .mt-pname { font: 600 19px/1 var(--serif); letter-spacing: -.01em; color: var(--ink); text-decoration: none; white-space: nowrap; }
.nfs .mt .mt-navr { display: flex; align-items: center; gap: 20px; font-size: 14px; }
.nfs .mt .mt-navr a.mt-plain { text-decoration: none; color: var(--soft); }
.nfs .mt .mt-navr a.mt-plain:hover { color: var(--ink); }
@media (max-width: 520px) { .nfs .mt .mt-navr .mt-plain { display: none; } }

/* screenshots */
.nfs .mt .mt-shot { position: relative; border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.nfs .mt .mt-shot img { width: 100%; }
.nfs .mt .mt-shot.mt-win { border-radius: 16px; }
.nfs .mt .mt-cap { margin-top: 14px; font-size: 13.5px; color: var(--mute); text-align: center; }

/* settle-in effect for big pictures (visible at rest, only moves) */
.nfs .mt .mt-rise { transform: translateY(calc((1 - var(--mt-r)) * 56px)) scale(calc(.94 + .06 * var(--mt-r))); transform-origin: 50% 0; }
@keyframes mtRise { from { --mt-r: 0; } to { --mt-r: 1; } }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .nfs .mt .mt-rise { animation: mtRise linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
  }
}

/* pinned scenes */
.nfs .mt .mt-scene { position: relative; --mt-p: 1; }
.nfs .mt .mt-pin { padding: 120px 0; }
.nfs .mt .mt-split { display: grid; gap: 48px; align-items: center; }
@media (min-width: 960px) {
  .nfs .mt .mt-split { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; }
  .nfs .mt .mt-split.mt-flip { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  .nfs .mt .mt-split.mt-flip > .mt-copy { order: 2; }
  .nfs .mt .mt-split .mt-h2 { font-size: clamp(44px, 4.6vw, 68px); }
}
.nfs .mt .mt-stage { position: relative; margin: 0 auto; aspect-ratio: var(--mt-ratio); width: 100%; }
@media (min-width: 960px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .nfs .mt .mt-scene.mt-pinned { height: var(--mt-len, 250vh); }
  .nfs .mt .mt-scene.mt-pinned > .mt-pin { position: sticky; top: var(--mt-hdr); height: calc(100vh - var(--mt-hdr)); height: calc(100svh - var(--mt-hdr)); padding: 56px 0 0; display: flex; align-items: center; overflow: hidden; }
  .nfs .mt .mt-scene.mt-pinned > .mt-pin > .mt-wrap { width: min(var(--wrap), 100% - 32px); }
  .nfs .mt .mt-stage { width: min(100%, calc((100vh - 130px - var(--mt-hdr)) * var(--mt-ratio))); }
}
@keyframes mtScrub { from { --mt-p: 0; } to { --mt-p: 1; } }
@supports (animation-timeline: view()) {
  @media (min-width: 960px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
    .nfs .mt .mt-scene.mt-pinned { animation: mtScrub linear both; animation-timeline: view(); animation-range: contain 0% contain 100%; }
  }
}
@media (max-width: 959px), (max-height: 699px), (prefers-reduced-motion: reduce) {
  .nfs .mt .mt-scene { --mt-p: 1 !important; }
  .nfs .mt .mt-pin { padding: 88px 0; }
}
.nfs .mt .mt-scene {
  --mt-a: clamp(0, calc(var(--mt-p) * 1.8), 1);
  --mt-b: clamp(0, calc((var(--mt-p) - .35) * 2.4), 1);
}

/* highlight: real screenshot, one part picked out */
.nfs .mt .mt-hl { position: absolute; border-radius: 12px; border: 2px solid var(--green); box-shadow: 0 0 0 4px rgba(47,107,79,.14), 0 0 0 2000px rgba(255,255,255,calc(.3 * var(--mt-b))); opacity: calc(.25 + .75 * var(--mt-b)); pointer-events: none; }

/* ---------- hero ---------- */
.nfs .mt .mt-hero { padding: clamp(64px, 9vw, 120px) 0 40px; background: radial-gradient(ellipse 70% 55% at 50% 78%, var(--bg3), transparent 70%), var(--bg); }
.nfs .mt .mt-hero h1 { font-size: clamp(60px, 11vw, 152px); line-height: .95; letter-spacing: -.04em; margin-top: 22px; }
.nfs .mt .mt-hero .mt-sub { font-family: var(--serif); font-weight: 500; font-size: clamp(24px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -.02em; margin-top: 18px; color: var(--ink); }
.nfs .mt .mt-hero .mt-lead { margin-top: 20px; }
.nfs .mt .mt-hero .mt-meta { margin-top: 18px; font: 500 13px/1.4 var(--mono); color: var(--mute); letter-spacing: .02em; }
.nfs .mt .mt-hero-shot { margin: clamp(48px, 7vw, 84px) auto 0; max-width: 1180px; }

/* ---------- network + connections slide in ---------- */
.nfs .mt .mt-s-net { --mt-ratio: 1.6; }
.nfs .mt .mt-s-net .mt-back { position: absolute; left: 0; top: 0; width: 80%; }
.nfs .mt .mt-s-net .mt-front { position: absolute; right: 0; bottom: 0; width: 74%; transform: translate(calc((1 - var(--mt-a)) * 12%), calc((1 - var(--mt-a)) * 16%)); box-shadow: 0 50px 90px -40px rgba(22,36,28,.5), 0 2px 8px rgba(22,36,28,.08); }
.nfs .mt .mt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.nfs .mt .mt-chip { display: inline-block; font: 500 13px/1 var(--sans); padding: 9px 13px; border-radius: 99px; border: 1px solid var(--line); background: #fff; color: var(--soft); white-space: nowrap; }

/* ---------- world map zoom ---------- */
.nfs .mt .mt-s-world { --mt-ratio: 1.534; }
.nfs .mt .mt-s-world .mt-shot img { transform-origin: 76% 50%; transform: scale(calc(1 + .42 * var(--mt-a))); }
.nfs .mt .mt-s-world .mt-tag { position: absolute; left: 16px; bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.nfs .mt .mt-pill { font: 500 12.5px/1 var(--sans); padding: 8px 12px; border-radius: 99px; background: rgba(255,255,255,.94); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--shadow-sm); white-space: nowrap; }
.nfs .mt .mt-pill i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 7px; vertical-align: 1px; }

.nfs .mt .mt-paths { padding: 40px 0 140px; }
.nfs .mt .mt-paths .mt-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 860px) { .nfs .mt .mt-paths .mt-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 72px; } }
.nfs .mt .mt-paths .mt-shot { max-width: 440px; margin: 0 auto; }
.nfs .mt .mt-facts { display: grid; gap: 22px; margin-top: 30px; }
.nfs .mt .mt-fact b { display: block; font-weight: 600; color: var(--ink); }
.nfs .mt .mt-fact span { color: var(--soft); }

/* ---------- monitor ---------- */
.nfs .mt .mt-s-mon { --mt-ratio: 1.309; }
.nfs .mt .mt-s-mon .mt-hl { left: 35%; top: 12%; width: 10.5%; height: 86%; }

/* ---------- sound ---------- */
.nfs .mt .mt-band { padding: 140px 0; }
.nfs .mt .mt-band.mt-tint { background: var(--bg2); }
.nfs .mt .mt-stack { display: grid; gap: 22px; margin-top: 64px; }
.nfs .mt .mt-trio { display: grid; gap: 28px; margin-top: 64px; }
@media (min-width: 760px) { .nfs .mt .mt-trio { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.nfs .mt .mt-trio h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: -.005em; line-height: 1.4; }
.nfs .mt .mt-trio p { font-size: 15px; color: var(--soft); margin-top: 6px; }
.nfs .mt .mt-trio > div { border-top: 1px solid var(--line); padding-top: 16px; }

/* ---------- remote care ---------- */
.nfs .mt .mt-care { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .nfs .mt .mt-care { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 72px; } }
.nfs .mt .mt-care .mt-shot { max-width: 580px; margin: 0 auto; }
.nfs .mt .mt-care .mt-hl { left: 1.5%; top: 65.5%; width: 97%; height: 9.5%; --mt-b: 1; }

/* ---------- numbers ---------- */
.nfs .mt .mt-nums { padding: 140px 0; background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nfs .mt .mt-stats { display: grid; gap: 0; margin-top: 64px; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .nfs .mt .mt-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .nfs .mt .mt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nfs .mt .mt-stat { padding: 34px 28px 34px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.nfs .mt .mt-stat .mt-v { font-family: var(--serif); font-weight: 600; font-size: clamp(48px, 6vw, 80px); line-height: 1; letter-spacing: -.035em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nfs .mt .mt-stat .mt-v small { font-size: .38em; letter-spacing: 0; color: var(--soft); margin-left: .12em; font-weight: 500; }
.nfs .mt .mt-stat p { margin-top: 12px; color: var(--soft); font-size: 16px; }
.nfs .mt .mt-stat.mt-wide { grid-column: 1 / -1; }
.nfs .mt .mt-stat.mt-wide .mt-v { font-size: clamp(56px, 11vw, 150px); color: var(--green); }
@media (min-width: 760px) { .nfs .mt .mt-stat.mt-tail { grid-column: span 2; } }
.nfs .mt .mt-fine { margin-top: 26px; font-size: 13px; color: var(--mute); max-width: 60em; }

/* ---------- private ---------- */
.nfs .mt .mt-s-priv { --mt-ratio: 1.31; }
.nfs .mt .mt-s-priv .mt-hl.mt-h1 { left: 50%; top: 83.5%; width: 48.5%; height: 15.5%; }

/* ---------- pro ---------- */
.nfs .mt .mt-gallery { display: grid; gap: 28px; margin-top: 64px; }
@media (min-width: 900px) { .nfs .mt .mt-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nfs .mt .mt-gallery figure { margin: 0; }
.nfs .mt .mt-gallery figcaption { margin-top: 16px; }
.nfs .mt .mt-gallery figcaption b { display: block; font-weight: 600; }
.nfs .mt .mt-gallery figcaption span { font-size: 15px; color: var(--soft); }
.nfs .mt .mt-gallery .mt-shot { aspect-ratio: 3 / 2; }
.nfs .mt .mt-gallery .mt-shot img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
.nfs .mt .mt-tools { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }

/* ---------- editions ---------- */
.nfs .mt .mt-eds { display: grid; gap: 18px; margin-top: 64px; }
@media (min-width: 900px) { .nfs .mt .mt-eds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nfs .mt .mt-ed { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; padding: 30px 26px; background: #fff; min-width: 0; }
.nfs .mt .mt-ed.mt-main { border-color: rgba(47,107,79,.45); box-shadow: var(--shadow-sm); }
.nfs .mt .mt-ed .mt-tier { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.nfs .mt .mt-ed h3 { font-size: clamp(28px, 2.6vw, 34px); letter-spacing: -.02em; margin-top: 12px; line-height: 1.15; }
.nfs .mt .mt-ed .mt-price { margin-top: 10px; font: 600 26px/1.1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.nfs .mt .mt-ed .mt-price span { font: 500 14px/1 var(--sans); letter-spacing: 0; color: var(--mute); margin-left: 6px; }
.nfs .mt .mt-ed .mt-pitch { margin-top: 10px; color: var(--soft); font-size: 15.5px; }
.nfs .mt .mt-ed ul { list-style: none; margin: 22px 0 28px; padding: 0; display: grid; gap: 9px; flex: 1; align-content: start; }
.nfs .mt .mt-ed li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--soft); margin: 0; padding: 0; }
.nfs .mt .mt-ed li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--green); transform: translateY(-2px); }
.nfs .mt .mt-ed li.mt-inc { color: var(--ink); font-weight: 600; }
.nfs .mt .mt-ed .mt-buy { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.nfs .mt .mt-ed .mt-buy .ctas { display: contents !important; }
.nfs .mt .mt-platform { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.nfs .mt .mt-compare { margin: 72px 0 0; }

.nfs .mt .mt-final { padding: 150px 0; text-align: center; background: radial-gradient(ellipse 60% 70% at 50% 100%, var(--bg3), transparent 70%), var(--bg); }
.nfs .mt .mt-final h2 { font-size: clamp(44px, 7vw, 96px); line-height: 1; letter-spacing: -.035em; }
.nfs .mt .mt-final .mt-lead { margin: 22px auto 0; }

/* the page's own notes, above the site footer */
.nfs .mt .mt-notes { padding: 48px 0 40px; background: var(--bg2); border-top: 1px solid var(--line); font-size: 14px; color: var(--soft); }
.nfs .mt .mt-notes .mt-cols { display: grid; gap: 28px; }
@media (min-width: 800px) { .nfs .mt .mt-notes .mt-cols { grid-template-columns: 2fr 1fr; } }
.nfs .mt .mt-notes nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-content: start; }
.nfs .mt .mt-notes nav a { text-decoration: none; color: var(--soft); }
.nfs .mt .mt-notes nav a:hover { color: var(--ink); }
.nfs .mt .mt-notes .mt-fine { font-size: 12.5px; color: var(--mute); margin-top: 6px; }
.nfs .mt .mt-notes .mt-name { font-weight: 600; color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  html:has(.mt) { scroll-behavior: auto; }
  .nfs .mt *, .nfs .mt *::before, .nfs .mt *::after { animation: none !important; transition: none !important; }
  .nfs .mt .mt-rise { --mt-r: 1 !important; transform: none; }
}
