/* Noteoriety Studios: the October 2026 redesign ("n2").
   Monochrome and editorial, built around what the studio actually does: sites and software for real, local businesses.
   Loaded last. Everything that animates uses transform and opacity only, and is switched off for reduced motion. */

:root {
  --ink: #0a0a0a;
  --ink2: #141414;
  --paper: #f1efea;
  --paper2: #e6e3dc;
  --mid: #8a8780;
  --acc: #ff5a1f;
  --line-d: rgba(255, 255, 255, 0.16);
  --line-l: rgba(10, 10, 10, 0.18);
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease2: cubic-bezier(0.76, 0, 0.24, 1);
  --gut: clamp(20px, 4vw, 64px);
  /* the old theme's tokens, so the private suite and shared parts keep working */
  --c-void: #0a0a0a; --c-navy: #141414; --c-gold: #ff5a1f; --c-gold2: #ffd2bd; --c-ember: #ff5a1f; --c-ice: #cfd6e6;
  --c-text: #f4f4f2; --c-soft: rgba(240, 240, 236, 0.82); --c-mut: rgba(214, 214, 208, 0.7); --c-hair: rgba(255, 255, 255, 0.2);
  --c-sans: var(--sans); --c-mono: var(--mono); --c-serif: var(--sans);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
html.pb-open, html.n2-menu-open { overflow: hidden; }

body.n2 {
  margin: 0; background: var(--ink); color: #fff;
  font: 400 1rem/1.55 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
.n2 ::selection { background: var(--acc); color: #fff; }
.n2 :focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }
.n2 a { color: inherit; }

/* retire the old stage, scene counter and side menu tab */
.n2 .c-stage, .n2 .c-hud, .n2 .xmb-tab, .n2 .c-top, .n2 .c-intro { display: none !important; }

.n2-wrap { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--gut); }
.n2 section[data-theme="light"] { background: var(--paper); color: var(--ink); }
.n2 section[data-theme="dark"], .n2 footer { background: var(--ink); color: #fff; }

/* ---------- shared type ---------- */
.n2-label { margin: 0; font: 500 0.74rem/1.5 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.n2-h2 { margin: 0 0 0.5em; font: 600 clamp(2rem, 4.6vw, 4.4rem)/1.02 var(--sans); letter-spacing: -0.035em; max-width: 20ch; text-wrap: balance; }
.n2-h2--xl { font-size: clamp(2.8rem, 7.4vw, 7.4rem); line-height: 0.96; letter-spacing: -0.045em; max-width: 12ch; }
.n2-h3 { margin: 0 0 0.5em; font: 600 clamp(1.5rem, 2.4vw, 2.2rem)/1.1 var(--sans); letter-spacing: -0.03em; }
.n2-sub { margin: 0 0 1em; max-width: 44rem; font-size: clamp(1.05rem, 1.45vw, 1.3rem); line-height: 1.55; opacity: 0.78; }
.n2-sub a, .n2-sub strong { opacity: 1; }
.n2-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: var(--gut); align-items: start; }
.n2-head { padding-block: clamp(100px, 12vw, 180px) 0; }
.n2-head .n2-h2, .n2-head .n2-sub { max-width: 44rem; }

/* ---------- buttons and links ---------- */
.n2-btn, .n2-pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border: 1px solid transparent; border-radius: 999px;
  background: #fff; color: var(--ink); text-decoration: none;
  font: 600 1rem/1 var(--sans); letter-spacing: -0.01em; cursor: pointer;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), transform 0.5s var(--ease);
}
.n2 .n2-btn { background: #fff; color: var(--ink); }
.n2 .n2-btn:hover { background: var(--acc); color: #fff; transform: translateY(-2px); }
.n2 .n2-btn--ink { background: var(--ink); color: #fff; }
.n2 .n2-btn--ink:hover { background: var(--acc); }
.n2-btn span { display: block; }
.n2-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; background: none; border: 0;
  color: inherit; font: 500 1rem/1 var(--sans); text-decoration: none; cursor: pointer;
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size 0.6s var(--ease);
}
.n2-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.n2-link svg { width: 18px; height: 18px; transition: transform 0.6s var(--ease); }
.n2-link:hover svg { transform: translateX(4px); }

/* ---------- entrance: a short film, then the page ---------- */
.n2-pre { display: none; }
html.n2-pre-on .n2-pre { display: block; position: fixed; inset: 0; z-index: 1000; background: var(--ink); transition: opacity 0.9s ease; }
.n2-pre.is-out { opacity: 0; pointer-events: none; }
.n2-pre__v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; opacity: 0; transition: opacity 0.6s ease; }
.n2-pre.is-run .n2-pre__v { opacity: 1; }
.n2-pre__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 55%, rgba(10, 10, 10, 0) 30%, rgba(10, 10, 10, 0.55) 100%); }
.n2-pre__c { position: absolute; left: var(--gut); right: var(--gut); top: 50%; transform: translateY(-62%); color: #fff; }
.n2-pre__word { margin: 0; display: flex; overflow: hidden; padding: 0.06em 0.04em 0.24em; margin-bottom: -0.14em; font: 600 clamp(3.2rem, 12.5vw, 12rem)/1 var(--sans); letter-spacing: -0.055em; }
.n2-pre__word span { display: block; transform: translateY(118%); }
.n2-pre.is-run .n2-pre__word span { animation: n2in 1.1s var(--ease) calc(1.7s + var(--i) * 0.045s) forwards, n2outl 0.8s var(--ease2) calc(3.9s + var(--i) * 0.02s) forwards; }
@keyframes n2in { to { transform: none; } }
@keyframes n2outl { from { transform: none; } to { transform: translateY(-118%); } }
.n2-pre__tag { margin: 6px 0 0 0.4em; font: 500 0.78rem/1.4 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255, 255, 255, 0.85); opacity: 0; }
.n2-pre.is-run .n2-pre__tag { animation: n2fade 0.9s ease 2.5s forwards, n2fadeo 0.5s ease 3.9s forwards; }
@keyframes n2fade { to { opacity: 1; } }
@keyframes n2fadeo { from { opacity: 1; } to { opacity: 0; } }
.n2-pre__bar { position: absolute; left: var(--gut); right: var(--gut); bottom: 30px; height: 1px; background: rgba(255, 255, 255, 0.18); overflow: hidden; }
.n2-pre__bar b { position: absolute; inset: 0; background: var(--acc); transform: scaleX(0); transform-origin: left; }
.n2-pre.is-run .n2-pre__bar b { animation: n2bar 5.2s linear forwards; }
@keyframes n2bar { to { transform: scaleX(1); } }
.n2 .n2-pre__skip { position: absolute; right: var(--gut); top: 22px; min-height: 44px; padding: 0 18px; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 999px; background: rgba(10, 10, 10, 0.35); color: #fff; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.n2 .n2-pre__skip:hover { background: #fff; color: var(--ink); }
/* the hero must sit still while the film hands over to it */
html.n2-pre-on .n2-hero__media { transform: none; transition: none; }

/* ---------- header and menu ---------- */
.n2-top {
  position: fixed; inset: 0 0 auto 0; z-index: 700;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px var(--gut); color: #fff;
  transition: color 0.5s var(--ease), transform 0.7s var(--ease);
}
html.hdr-light .n2-top { color: var(--ink); }
.n2-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); opacity: 0; transition: opacity 0.5s var(--ease), background 0.5s var(--ease); }
html.hdr-solid .n2-top::before { opacity: 0.92; }
html.hdr-solid.hdr-light .n2-top::before { background: var(--paper); }
html.hdr-solid.n2-menu-open .n2-top::before { opacity: 0; }
html.n2-menu-open .n2-top { color: #fff; }
.n2-brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; font: 700 1.15rem/1 var(--sans); letter-spacing: -0.03em; }
.n2-brand img { width: 34px; height: 34px; display: block; }
html.hdr-light:not(.n2-menu-open) .n2-brand img { filter: brightness(0); }
.n2-top__r { display: flex; align-items: center; gap: 10px; }
.n2 .n2-pill, .n2-menu {
  min-height: 44px; padding: 0 20px; border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: inherit; font: 500 0.78rem/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; display: inline-flex; align-items: center; gap: 12px; cursor: pointer;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.n2-pill:hover, .n2-menu:hover { background: #fff; color: var(--ink); }
html.hdr-light:not(.n2-menu-open) .n2-pill:hover, html.hdr-light:not(.n2-menu-open) .n2-menu:hover { background: var(--ink); color: #fff; }
.n2-menu i { position: relative; width: 18px; height: 8px; display: block; }
.n2-menu i::before, .n2-menu i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform 0.5s var(--ease), top 0.5s var(--ease); }
.n2-menu i::before { top: 0; } .n2-menu i::after { top: 6.5px; }
html.n2-menu-open .n2-menu i::before { top: 3.2px; transform: rotate(45deg); }
html.n2-menu-open .n2-menu i::after { top: 3.2px; transform: rotate(-45deg); }

.n2-menupanel {
  position: fixed; inset: 0; z-index: 650; background: var(--ink); color: #fff;
  display: flex; flex-direction: column; justify-content: center; padding: 96px var(--gut) 40px;
  clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease2);
}
.n2-menupanel[hidden] { display: none; }
.n2-menupanel.is-open { clip-path: inset(0 0 0 0); }
.n2-menunav { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.n2-menunav a, .n2-menunav .navlink {
  display: flex; align-items: baseline; gap: 18px; width: 100%; min-height: 0; padding: 0.06em 0;
  background: none; border: 0; border-top: 1px solid var(--line-d); color: #fff; text-align: left; text-decoration: none; cursor: pointer;
  font: 600 clamp(2.2rem, 7vw, 6.4rem)/1.05 var(--sans); letter-spacing: -0.045em; text-transform: none;
  transform: translateY(40px); opacity: 0; transition: transform 0.9s var(--ease), opacity 0.9s var(--ease), color 0.4s var(--ease);
}
.n2-menunav .navlink svg { display: none; }
.n2-menunav a span { font: 500 0.78rem/1 var(--mono); letter-spacing: 0.1em; color: var(--mid); }
.n2-menunav a:hover, .n2-menunav .navlink:hover { color: var(--acc); }
.n2-menupanel.is-open .n2-menunav > * { transform: none; opacity: 1; }
.n2-menupanel.is-open .n2-menunav > *:nth-child(1) { transition-delay: 0.25s; }
.n2-menupanel.is-open .n2-menunav > *:nth-child(2) { transition-delay: 0.31s; }
.n2-menupanel.is-open .n2-menunav > *:nth-child(3) { transition-delay: 0.37s; }
.n2-menupanel.is-open .n2-menunav > *:nth-child(4) { transition-delay: 0.43s; }
.n2-menupanel.is-open .n2-menunav > *:nth-child(5) { transition-delay: 0.49s; }
.n2-menupanel.is-open .n2-menunav > *:nth-child(6) { transition-delay: 0.55s; }
.n2-menupanel.is-open .n2-menunav > *:nth-child(7) { transition-delay: 0.61s; }
.n2-menumeta { display: flex; flex-wrap: wrap; gap: 8px 32px; margin: 36px 0 0; font: 500 0.82rem/1.4 var(--mono); letter-spacing: 0.06em; }
.n2-menumeta a { text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }

/* ---------- reveal ---------- */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }
.ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.ln > span { display: block; }
.js .ln > span { transform: translateY(112%); }
.js.n2-ready .ln > span { transform: none; transition: transform 1.25s var(--ease) calc(var(--i, 0) * 0.1s + 0.1s); }
@media (prefers-reduced-motion: reduce) {
  .js .rv, .js .ln > span, .js .n2-hero__cta, .js .n2-proof, .js .n2-hero__hint { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ---------- hero ---------- */
.n2-hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); padding-bottom: clamp(24px, 4vw, 56px); }
.n2-hero__media { position: absolute; inset: 0; transform: scale(1.14); transition: transform 2.6s var(--ease); will-change: transform; }
.n2-ready .n2-hero__media { transform: scale(1); }
.n2-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; display: block; }
.n2-hero__base { filter: grayscale(1) brightness(0.5) contrast(1.12); }
.n2-hero__lit {
  --mx: 17%; --my: 46%; --r: 300px;
  filter: brightness(1.04) saturate(1.05);
  -webkit-mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.9) 35%, transparent 100%);
  mask-image: radial-gradient(circle var(--r) at var(--mx) var(--my), #000 0%, rgba(0, 0, 0, 0.9) 35%, transparent 100%);
}
.n2-hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(10, 10, 10, 0.94) 0%, rgba(10, 10, 10, 0.5) 38%, rgba(10, 10, 10, 0) 70%),
    linear-gradient(90deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0) 60%);
}
.n2-hero__in { position: relative; z-index: 2; padding-top: 140px; }
.n2-meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--gut); max-width: 56rem; margin: 0 0 clamp(24px, 3vw, 44px); }
.n2-meta p { margin: 0; font: 500 0.74rem/1.6 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86); }
.n2-h1 { margin: 0; font: 600 clamp(3rem, 9.2vw, 10.6rem)/0.93 var(--sans); letter-spacing: -0.05em; }
.n2-h1 em { font-style: normal; color: var(--acc); }
.n2-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; margin-top: clamp(28px, 3.4vw, 52px); }
.n2-micro { flex-basis: 100%; margin: 0; font: 500 0.74rem/1.5 var(--mono); letter-spacing: 0.06em; color: rgba(255, 255, 255, 0.78); }
.n2-hero__hint { position: absolute; z-index: 2; right: var(--gut); bottom: 110px; margin: 0; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); display: none; align-items: center; gap: 12px; }
.n2-hero__hint i { width: 7px; height: 7px; border-radius: 50%; background: var(--acc); animation: n2pulse 2.4s ease-in-out infinite; }
@media (hover: hover) and (pointer: fine) { .n2-hero__hint { display: flex; } }
@keyframes n2pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.35; transform: scale(0.7); } }
.n2-proof { position: relative; z-index: 2; margin: 22px auto 0; font: 400 0.84rem/1.55 var(--sans); color: rgba(255, 255, 255, 0.72); max-width: 1680px; }
.n2-hero .n2-proof { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding-bottom: 18px; display: none; }
.js .n2-hero__cta, .js .n2-proof, .js .n2-hero__hint { opacity: 0; transform: translateY(20px); }
.js.n2-ready .n2-hero__cta, .js.n2-ready .n2-proof, .js.n2-ready .n2-hero__hint { opacity: 1; transform: none; transition: opacity 1s var(--ease) 0.7s, transform 1s var(--ease) 0.7s; }
.n2-hero > .n2-proof { position: relative; z-index: 2; display: block; padding-top: 0; }
.n2-hero { flex-wrap: wrap; align-content: flex-end; }
.n2-hero > .n2-hero__in { flex: 0 0 100%; }
.n2-hero > .n2-proof { flex: 0 0 100%; margin-top: 26px; }
.n2-proof a { color: #fff; text-underline-offset: 3px; }

/* ---------- services: scroll-highlight list ---------- */
.n2-svc { padding-block: clamp(100px, 13vw, 200px); }
.n2-svc__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: calc(var(--gut) * 1.5); margin-top: clamp(60px, 9vw, 140px); align-items: start; }
.n2-rows { list-style: none; margin: 0; padding: 0; }
.n2-row { border-top: 1px solid var(--line-l); padding-block: clamp(10px, 1.4vw, 20px); }
.n2-row:last-child { border-bottom: 1px solid var(--line-l); }
.n2-row a {
  display: grid; grid-template-columns: clamp(2.4rem, 4vw, 4rem) minmax(0, 1fr) auto; align-items: baseline; gap: 0 8px;
  min-height: 0; text-decoration: none; color: #c4c1ba;
  font: 600 clamp(2.1rem, 5.2vw, 5.4rem)/1.02 var(--sans); letter-spacing: -0.045em;
  transition: color 0.7s var(--ease);
}
.n2-row__n { font: 500 0.74rem/1 var(--mono); letter-spacing: 0.1em; color: inherit; }
.n2-row__go { font-size: 0.5em; opacity: 0; transform: translateX(-14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.n2-row__d { margin: 0; padding-left: clamp(2.4rem, 4vw, 4rem); max-height: 0; overflow: hidden; opacity: 0; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.5; color: var(--ink); transition: max-height 0.9s var(--ease), opacity 0.7s var(--ease), padding 0.9s var(--ease); max-width: 36rem; }
.n2-row.is-active a, .n2-row a:hover { color: var(--ink); }
.n2-row.is-active .n2-row__go { opacity: 1; transform: none; }
.n2-row.is-active .n2-row__d { max-height: 6em; opacity: 0.8; padding-block: 10px 6px; }
.n2-row__img { display: none; }
.n2-pvs { position: sticky; top: 14vh; align-self: start; }
.n2-pvs__in { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 3px; background: #1a1a1a; }
.n2-pv { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.09); transition: opacity 1.1s var(--ease), transform 1.6s var(--ease); }
.n2-pv.is-active { opacity: 1; transform: none; }
.n2-pv img { width: 100%; height: 100%; object-fit: cover; display: block; }
.n2-pv figcaption { position: absolute; left: 18px; bottom: 16px; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.n2-pv::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(0deg, rgba(0, 0, 0, 0.55), transparent); pointer-events: none; }

/* ---------- work ---------- */
.n2-work { padding-block: clamp(100px, 12vw, 180px) clamp(60px, 8vw, 120px); }
.n2-case { position: relative; margin-top: clamp(60px, 9vw, 140px); padding-top: clamp(56px, 8vw, 130px); overflow: hidden; isolation: isolate; }
.n2-case__bg { position: absolute; inset: -8% 0; z-index: -1; will-change: transform; }
.n2-case__bg img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(0.5) saturate(0.85); }
.n2-case__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink) 0%, rgba(10, 10, 10, 0) 38%), linear-gradient(180deg, var(--ink) 0%, rgba(10, 10, 10, 0) 22%); }
.n2-case__screen { width: min(1120px, 72vw); margin: 0 0 0 clamp(var(--gut), 6vw, 120px); }
.n2-case:nth-of-type(even) .n2-case__screen { margin: 0 clamp(var(--gut), 6vw, 120px) 0 auto; }
.n2-case .frame {
  --bx: 3deg; --by: -9deg; --hx: 0deg; --hy: 0deg; --sx: 0deg; --sy: 0px; --tz: 0px;
  position: relative; border-radius: 12px; overflow: hidden; background: #fff;
  box-shadow: 0 60px 140px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);
  transform: perspective(1700px) translate3d(0, var(--sy), var(--tz)) rotateX(calc(var(--bx) + var(--sx) + var(--hx))) rotateY(calc(var(--by) + var(--hy)));
  transform-origin: 50% 60%; will-change: transform; backface-visibility: hidden;
}
.n2-case:nth-of-type(even) .frame { --by: 9deg; }
.n2-glare { position: absolute; inset: 0; z-index: 5; pointer-events: none; opacity: 0; transition: opacity 0.5s var(--ease); background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 30%), rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 60%); mix-blend-mode: soft-light; }
.is-tilting > .n2-glare, .is-tilting .n2-glare { opacity: 1; }
.n2-case .frame__top { background: #1b1b1b; color: #c9c9c4; }
.n2-case .frame__screen { height: min(66vh, 660px); }
.n2-case__cap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr) auto; gap: 14px var(--gut); align-items: start; padding-block: clamp(70px, 7vw, 120px) clamp(10px, 2vw, 24px); position: relative; z-index: 2; }
.n2-case__cap > p:not(.n2-label) { margin: 0; max-width: 34rem; opacity: 0.82; }
.n2-case__cap .n2-h3 { grid-column: 2; margin: 0; }
.n2-case__cap .n2-label { grid-column: 1; grid-row: 1; display: flex; align-items: center; gap: 10px; }
.n2-case__cap h3 { grid-column: 2; grid-row: 1; }
.n2-case__cap > p:not(.n2-label) { grid-column: 2; grid-row: 2; }
.n2-case__cap .n2-link { grid-column: 3; grid-row: 1; align-self: start; }
.n2-live { width: 8px; height: 8px; border-radius: 50%; background: var(--acc); display: inline-block; animation: n2pulse 2.4s ease-in-out infinite; }
.n2-more { margin-top: clamp(40px, 5vw, 80px); font-size: 1rem; opacity: 0.85; }
.n2-more a { color: #fff; text-underline-offset: 3px; }

/* ---------- software demos ---------- */
.n2-sw { padding-block: 0 clamp(100px, 12vw, 180px); background: var(--ink); }
.n2-sw .n2-head { padding-top: clamp(60px, 8vw, 120px); }
.n2-sw .c-console {
  width: min(1240px, calc(100% - 2 * var(--gut))); margin: clamp(40px, 5vw, 72px) auto 0;
  border: 1px solid var(--line-d); border-radius: 8px; background: var(--ink2); box-shadow: none; transform: none !important;
}
.n2-sw .c-console .sw__tabs { background: transparent; border-color: var(--line-d); }
.n2-sw .c-console .sw__tab { border-radius: 6px; transition: background 0.4s var(--ease), color 0.4s var(--ease); }
.n2-sw .c-console .sw__tab b { color: #fff; }
.n2-sw .c-console .sw__tab span { color: rgba(255, 255, 255, 0.62); }
.n2-sw .c-console .sw__tab:hover { background: rgba(255, 255, 255, 0.07); }
.n2-sw .c-console .sw__tab[aria-selected="true"] { background: #fff; border-color: #fff; box-shadow: none; }
.n2-sw .c-console .sw__tab[aria-selected="true"] b { color: var(--ink); }
.n2-sw .c-console .sw__tab[aria-selected="true"] span { color: #4b4b48; }
.n2-sw .sw__more { text-align: left; width: min(1240px, calc(100% - 2 * var(--gut))); margin: 44px auto 12px; font: 500 0.74rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); }
.n2-sw .sw__caps { width: min(1240px, calc(100% - 2 * var(--gut))); margin: 0 auto; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.n2-sw .sw__caps li { padding: 12px 18px; border: 1px solid var(--line-d); border-radius: 999px; background: transparent !important; color: #fff; font-size: 0.9rem; }

/* ---------- pricing ---------- */
.n2-price { padding-block: clamp(100px, 13vw, 200px); }
.n2-plans { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(14px, 1.6vw, 24px); margin-top: clamp(56px, 7vw, 100px); }
.n2-plan { display: flex; flex-direction: column; padding: clamp(24px, 3.2vw, 52px); border: 1px solid var(--ink); border-radius: 4px; background: transparent; min-height: clamp(380px, 38vw, 560px); }
.n2-plan--ink { background: var(--ink); color: #fff; }
.n2-plan .n2-label { opacity: 0.7; }
.n2-fig__n { margin: auto 0 0; padding-top: 2rem; font: 600 clamp(4.6rem, 12vw, 11.5rem)/0.86 var(--sans); letter-spacing: -0.06em; font-variant-numeric: tabular-nums; }
.n2-fig__n small { font-size: 0.2em; letter-spacing: -0.02em; font-weight: 500; margin-left: 0.2em; opacity: 0.55; }
.n2-fig__c { margin: 18px 0 0; font: 500 0.76rem/1.5 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.n2-plan ul { list-style: none; margin: clamp(22px, 2.6vw, 38px) 0 0; padding: 0; }
.n2-plan li { position: relative; padding: 14px 0 14px 30px; border-top: 1px solid currentColor; border-top-color: rgba(128, 128, 128, 0.4); font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.4; }
.n2-plan li::before { content: ""; position: absolute; left: 2px; top: 1.2em; width: 12px; height: 6px; border-left: 2px solid var(--acc); border-bottom: 2px solid var(--acc); transform: rotate(-45deg); }
.n2-extra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 16px var(--gut); align-items: center; margin-top: clamp(14px, 1.6vw, 24px); padding: clamp(22px, 2.6vw, 40px) clamp(24px, 3.2vw, 52px); background: var(--paper2); border-radius: 4px; }
.n2-extra p { margin: 0; }
.n2-extra p:not(.n2-label) { max-width: 40rem; opacity: 0.85; }
.n2-steps { list-style: none; margin: clamp(80px, 11vw, 170px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); }
.n2-steps li { border-top: 1px solid var(--ink); padding-top: 18px; }
.n2-steps span { font: 500 0.74rem/1 var(--mono); letter-spacing: 0.1em; }
.n2-steps h3 { margin: clamp(30px, 4vw, 60px) 0 10px; font: 600 clamp(1.4rem, 2.2vw, 2rem)/1.1 var(--sans); letter-spacing: -0.03em; }
.n2-steps p { margin: 0; opacity: 0.78; max-width: 24rem; }

/* ---------- about ---------- */
.n2-about { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; min-height: 90vh; }
.n2-about__img { position: relative; overflow: hidden; min-height: 60vh; }
.n2-about__img img { position: absolute; inset: -6% 0; width: 100%; height: 112%; object-fit: cover; will-change: transform; }
.n2-about__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, 0) 60%, var(--ink)); }
.n2-about__txt { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(70px, 9vw, 140px); max-width: 52rem; margin: 0; padding-inline: clamp(24px, 4vw, 72px) var(--gut); }
.n2-about__txt .n2-sub { max-width: 34rem; }
.n2-about__txt a { color: #fff; text-underline-offset: 3px; }
.n2-about__txt .n2-h2 { margin-top: 18px; }

/* ---------- contact ---------- */
.n2-contact { padding-block: clamp(100px, 13vw, 200px); }
.n2-contact__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: calc(var(--gut) * 1.6); align-items: start; }
.n2-contact .n2-h2 { margin-top: 18px; }
.n2-direct { list-style: none; margin: 36px 0 0; padding: 0; }
.n2-direct li { display: flex; flex-wrap: wrap; gap: 4px 24px; padding: 14px 0; border-top: 1px solid var(--line-l); align-items: baseline; }
.n2-direct li span { width: 6rem; font: 500 0.74rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.n2-direct a { font-size: clamp(1.1rem, 1.8vw, 1.5rem); letter-spacing: -0.02em; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.n2-direct a:hover { color: var(--acc); }
.n2-form { display: grid; gap: 6px; padding: 0; background: none; border: 0; box-shadow: none; }
.n2-form .field { display: block; margin: 0; padding: 14px 0 4px; border-bottom: 1px solid var(--line-l); transition: border-color 0.4s var(--ease); }
.n2-form .field:focus-within { border-color: var(--ink); }
.n2-form .field > span { display: block; font: 500 0.72rem/1.4 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); opacity: 0.7; }
.n2-form input:not(.form__trap), .n2-form textarea {
  width: 100%; min-height: 48px; padding: 8px 0 12px; border: 0; border-radius: 0; background: transparent; color: var(--ink);
  font: 500 clamp(1.1rem, 1.6vw, 1.4rem)/1.35 var(--sans); letter-spacing: -0.015em; resize: vertical;
}
.n2-form input:focus-visible, .n2-form textarea:focus-visible { outline: none; }
.n2-form .n2-btn { margin-top: 28px; justify-self: start; }
.n2-form .form__status { margin: 14px 0 0; min-height: 1.4em; font-size: 0.95rem; color: var(--ink); }

/* ---------- piano ---------- */
.n2-keys { padding-block: clamp(80px, 10vw, 150px); border-top: 1px solid var(--line-d); }
.n2-keys .c-keys__in { max-width: 1100px; background: none; border: 0; box-shadow: none; padding-inline: var(--gut); }
.n2-keys .n2-label { margin-bottom: 28px; color: var(--mid); }

/* ---------- footer ---------- */
.n2-foot { padding-top: clamp(50px, 6vw, 90px); overflow: hidden; border-top: 1px solid var(--line-d); }
.n2-foot__row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gut); align-items: start; }
.n2-foot__row p { margin: 0; font-size: 0.95rem; color: rgba(255, 255, 255, 0.8); }
.n2-foot__row strong { display: block; color: #fff; font-weight: 600; }
.n2-foot__links { display: flex; flex-direction: column; align-items: flex-start; gap: 0; }
.n2-foot__links a, .n2-foot__links .navlink { display: inline-flex; align-items: center; min-height: 44px; padding: 0; background: none; border: 0; color: #fff; font: 500 0.95rem/1 var(--sans); text-decoration: none; cursor: pointer; text-transform: none; letter-spacing: 0; }
.n2-foot__links a:hover, .n2-foot__links .navlink:hover { color: var(--acc); }
.n2-foot__links .navlink svg { display: none; }
.n2-foot__word { margin-top: clamp(30px, 5vw, 70px); height: 17.5vw; overflow: hidden; }
.n2-foot__word span { display: block; font: 700 23.5vw/0.8 var(--sans); letter-spacing: -0.065em; color: #fff; margin-left: -0.5vw; transform: translateY(0); }
.js .n2-foot__word span { transform: translateY(38%); transition: transform 1.6s var(--ease); }
.js .n2-foot__word.is-in span { transform: none; }

/* ---------- floating controls ---------- */
.n2-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 600; padding: 12px var(--gut) calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(0deg, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0)); transform: translateY(110%); transition: transform 0.8s var(--ease); display: none; pointer-events: none; }
.n2-sticky .n2-btn { width: 100%; pointer-events: auto; }
html.has-sticky .n2-sticky { transform: none; }
html.pb-open .n2-sticky, html.n2-menu-open .n2-sticky { display: none; }
.cine .music-btn { background: rgba(10, 10, 10, 0.8); border: 1px solid var(--line-d); color: #fff; font: 500 0.72rem/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; border-radius: 999px; }
.as-btn { background: #fff !important; color: var(--ink) !important; border: 0 !important; font: 600 0.9rem/1 var(--sans) !important; box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35) !important; }
.as-btn:hover { background: var(--acc) !important; color: #fff !important; }
html.n2-menu-open .as-btn, html.n2-menu-open .music-btn { display: none; }

/* plan builder and assistant take the same monochrome look */
.pb__card { background: #111; border-color: var(--line-d); font-family: var(--sans); }
.pb__count, .pb__err a, .pb-ok a { color: #fff; }
.pb__bar i { background: var(--acc); }
.pb__next { background: #fff; color: var(--ink); }
.pb__next:hover { background: var(--acc); color: #fff; }
.pb__back { color: #fff; border-color: var(--line-d); }
.pb-opt:has(input:checked), .pb-pill:has(input:checked) span { border-color: #fff; background: rgba(255, 255, 255, 0.1); }
.pb-opt input { accent-color: var(--acc); }
.pb-price { border-color: var(--line-d); background: rgba(255, 255, 255, 0.05); }
.pb-price b { color: #fff; }
.pb :focus-visible { outline-color: var(--acc); }
.as-panel { background: #111 !important; border-color: var(--line-d) !important; }

/* ---------- smaller screens ---------- */
@media (max-width: 980px) {
  .n2-two, .n2-contact__grid, .n2-case__cap { grid-template-columns: minmax(0, 1fr); }
  .n2-case__cap .n2-label, .n2-case__cap h3, .n2-case__cap .n2-h3, .n2-case__cap > p:not(.n2-label), .n2-case__cap .n2-link { grid-column: 1; grid-row: auto; }
  .n2-svc__grid { grid-template-columns: minmax(0, 1fr); }
  .n2-pvs { display: none; }
  .n2-row a { color: var(--ink); }
  .n2-row__d { max-height: none; opacity: 0.8; padding-block: 8px 4px; }
  .n2-row__go { opacity: 1; transform: none; }
  .n2-row__img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; margin-top: 14px; border-radius: 3px; }
  .n2-about { grid-template-columns: minmax(0, 1fr); }
  .n2-about__img { min-height: 52vh; }
  .n2-about__img::after { background: linear-gradient(180deg, rgba(10, 10, 10, 0) 60%, var(--ink)); }
  .n2-about__txt { padding-inline: var(--gut); }
  .n2-foot__row { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 760px) {
  .n2 .n2-pill { display: none; }
  .n2-sticky { display: block; }
  .n2-hero { padding-bottom: 96px; }
  .n2-meta { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .n2-hero__in { padding-top: 110px; }
  .n2-plans, .n2-extra, .n2-steps { grid-template-columns: minmax(0, 1fr); }
  .n2-plan { min-height: 0; }
  .n2-extra .n2-btn { justify-self: start; }
  .n2-case .frame__screen { height: 58vh; }
  html.has-sticky .as-btn, html.has-sticky .cine .music-btn, html.has-sticky .music-btn { bottom: calc(86px + env(safe-area-inset-bottom)) !important; }
  .n2-foot__word { height: 18vw; }
}
@media (prefers-reduced-motion: reduce) {
  .n2-hero__media { transform: none; transition: none; }
  .n2-hero__base { filter: none; }
  .n2-hero__lit, .n2-hero__hint { display: none !important; }
  .n2-pv, .n2-row__d, .n2-row__go, .n2-menupanel, .n2-menunav > * { transition: none !important; }
  .js .n2-foot__word span { transform: none; transition: none; }
}

/* demo fixes on narrow screens */
.n2 .cal__dow, .n2 .cal__grid { grid-template-columns: repeat(7, minmax(0, 1fr)); }
.n2 .cal__d { min-width: 0; min-height: 0; }

/* ---------- depth: tilt, glare, magnets ---------- */
.n2-t3 { --hx: 0deg; --hy: 0deg; --tz: 0px; transform: perspective(1200px) translateZ(var(--tz)) rotateX(var(--hx)) rotateY(var(--hy)); transform-style: preserve-3d; will-change: transform; }
.n2-t3 { position: relative; }
.n2-pvs__in.n2-t3 { box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.55); }
.n2-plan.n2-t3 { transition: box-shadow 0.6s var(--ease); }
.n2-plan.n2-t3.is-tilting { box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.45); }
html.n2-settled .n2-hero__media { transform: scale(1.07); transition: transform 2.6s var(--ease); }
[data-mag] { will-change: transform; }
.n2-sw .c-console { --sx: 12deg; --sy: 30px; transform: perspective(1700px) translateY(var(--sy)) rotateX(var(--sx)) !important; transform-origin: 50% 0; }
@media (max-width: 980px) {
  .n2-case__screen, .n2-case:nth-of-type(even) .n2-case__screen { width: calc(100% - 2 * var(--gut)); margin: 0 auto; }
  .n2-case .frame { --by: -4deg; }
  .n2-case:nth-of-type(even) .frame { --by: 4deg; }
}
@media (prefers-reduced-motion: reduce) {
  .n2-case .frame, .n2-t3, .n2-sw .c-console { transform: none !important; }
  html.n2-settled .n2-hero__media { transform: none; }
}
