/* hyogomo.com landing page - Neiden-inspired.
   Scoped to body.nd so other pages keep the notebook look. */

body.nd {
  --nd-bg: #f2f2f2;
  --nd-white: #fff;
  --nd-black: #000;
  --nd-ink: #0a0a0a;
  --nd-mute: #6b6b6b;
  --nd-line: rgba(0, 0, 0, .12);
  --nd-red: #f02b42;
  --nd-ff: 'DM Sans', 'Inter', system-ui, sans-serif;
  --nd-ff-alt: 'DM Sans', 'Noto Sans Devanagari', 'Nirmala UI', sans-serif;
  --nd-w: 1200px;
  --nd-ease: cubic-bezier(.2, .7, .2, 1);
  --paper: var(--nd-bg);
  --paper-2: #e9e9e9;
  --card: #fff;
  --ink: var(--nd-ink);
  --ink-2: #3c3c3c;
  --ink-3: var(--nd-mute);
  --rule: var(--nd-line);
  --signal: var(--nd-red);
  --signal-ink: var(--nd-red);
  --ff-display: var(--nd-ff);
  --ff-body: var(--nd-ff);
  --ff-mono: var(--nd-ff);
  --r-sm: 0; --r-md: 0; --r-lg: 0;
  background: var(--nd-bg);
  color: var(--nd-ink);
  font-family: var(--nd-ff);
  font-size: 16px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  body.nd { --paper: var(--nd-bg); --ink: var(--nd-ink); --card: #fff; --ink-2: #3c3c3c; --ink-3: var(--nd-mute); --rule: var(--nd-line); --signal-soft: #ffd9de; color-scheme: light; }
}
body.nd ::selection { background: var(--nd-red); color: #fff; }
.nd-wrap { width: min(100% - 48px, var(--nd-w)); margin-inline: auto; position: relative; }

/* hairline column grid, fixed behind everything */
.nd-grid { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: grid; grid-template-columns: repeat(3, 1fr); width: min(100% - 48px, var(--nd-w)); margin-inline: auto; }
.nd-grid i { border-left: 1px solid var(--nd-line); }
.nd-grid i:last-child { border-right: 1px solid var(--nd-line); }
body.nd main { position: relative; }
body.nd main > section { position: relative; z-index: 1; }

/* ---------- header over hero ---------- */
body.nd-home .site-header { position: fixed; inset: 0 0 auto 0; background: transparent; backdrop-filter: none; border: 0; color: #fff; }
body.nd-home .site-header.is-scrolled { background: rgba(0, 0, 0, .78); backdrop-filter: blur(12px); }
body.nd .site-header .wrap { width: min(100% - 48px, var(--nd-w)); height: 76px; }
body.nd .brand { color: #fff; font-weight: 700; letter-spacing: -.03em; font-size: 1.15rem; }
body.nd .brand-mark { background: var(--nd-red); color: #fff; border-radius: 0; font: 700 1.1rem/1 var(--nd-ff); font-style: normal; box-shadow: none; }
body.nd .brand small { color: rgba(255, 255, 255, .55); font-family: var(--nd-ff); letter-spacing: .1em; }
body.nd .nav a:not(.btn) { color: rgba(255, 255, 255, .78); border-radius: 0; font-weight: 500; }
body.nd .nav a:not(.btn):hover { background: rgba(255, 255, 255, .12); color: #fff; }
body.nd .btn { border-radius: 0; background: #fff; border-color: #fff; color: #000; font-weight: 600; }
body.nd .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, .4); border-radius: 0; }
@media (max-width: 860px) {
  body.nd .nav { background: #000; inset: 76px 0 auto 0; border-color: rgba(255, 255, 255, .15); }
  body.nd .nav a:not(.btn) { border-bottom-color: rgba(255, 255, 255, .12); }
}

/* ---------- shared bits ---------- */
.nd-eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 500 .78rem/1.2 var(--nd-ff); letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.nd-eyebrow--dark { color: var(--nd-ink); }
.nd-alt { font-family: var(--nd-ff-alt); color: var(--nd-mute); text-transform: none; letter-spacing: 0; }
.nd-hero .nd-alt, .nd-dark .nd-alt, .nd-cta .nd-alt { color: rgba(255, 255, 255, .55); }
.nd-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--nd-red); animation: nd-pulse 2.4s infinite; }
@keyframes nd-pulse { 0% { box-shadow: 0 0 0 0 rgba(240, 43, 66, .6); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.nd-logo-dots { width: 30px; height: 10px; background: radial-gradient(circle at 5px 5px, var(--nd-red) 4.5px, transparent 5px) 0 0 / 10px 10px repeat-x; flex: none; }
.nd-link { font-weight: 600; font-size: .9rem; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.nd-link:hover { color: var(--nd-red); }
.nd-plus { position: relative; width: 14px; height: 14px; flex: none; }
.nd-plus::before, .nd-plus::after { content: ''; position: absolute; background: currentColor; transition: transform .3s var(--nd-ease); }
.nd-plus::before { left: 0; right: 0; top: 6.5px; height: 1px; }
.nd-plus::after { top: 0; bottom: 0; left: 6.5px; width: 1px; }
.nd-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-width: 240px; min-height: 52px; padding: 0 20px; font: 600 .78rem/1 var(--nd-ff); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 1px solid transparent; transition: background-color .25s, color .25s, border-color .25s; }
.nd-btn:hover .nd-plus::before { transform: rotate(90deg); }
.nd-btn:hover .nd-plus::after { transform: rotate(90deg); }
.nd-btn--dark { background: #000; color: #fff; }
.nd-btn--dark:hover { background: var(--nd-red); }
.nd-btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.nd-btn--ghost:hover { background: #fff; color: #000; }
.nd-btn--light { background: #fff; color: #000; }
.nd-btn--light:hover { background: var(--nd-red); color: #fff; }
.nd-btn--outline { color: #fff; border-color: rgba(255, 255, 255, .35); }
.nd-btn--outline:hover { background: #fff; color: #000; }

/* ---------- hero ---------- */
.nd-hero { position: relative; background: #000; color: #fff; overflow: hidden; padding-top: 150px; isolation: isolate; }
.nd-hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 78% 30%, rgba(255, 255, 255, .22), transparent 62%),
    radial-gradient(40% 45% at 90% 85%, rgba(240, 43, 66, .38), transparent 65%),
    repeating-radial-gradient(ellipse 70% 120% at 85% 55%, rgba(255, 255, 255, .13) 0 1px, transparent 1px 22px),
    #050505; }
.nd-hero-bg::after { content: ''; position: absolute; inset: 0; opacity: .22; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.nd-hero-inner { padding-bottom: 72px; }
.nd-hero-title { font: 700 clamp(2.8rem, 8.2vw, 7rem)/.95 var(--nd-ff); letter-spacing: -.045em; margin: 28px 0 44px; max-width: 13ch; }
.nd-hero-title span { color: var(--nd-red); }
.nd-hero-row { display: grid; grid-template-columns: minmax(0, 1fr) 220px; gap: 48px; align-items: end; }
.nd-hero-lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); line-height: 1.55; color: rgba(255, 255, 255, .78); max-width: 52ch; margin: 0; }
.nd-hero-portrait { margin: 0; position: relative; }
.nd-hero-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 25%; filter: grayscale(1) contrast(1.1); mix-blend-mode: luminosity; opacity: .92; }
.nd-hero-portrait figcaption { position: absolute; left: 0; bottom: 0; background: #000; font: 500 .68rem/1 var(--nd-ff); letter-spacing: .08em; text-transform: uppercase; padding: 8px 10px; }
.nd-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 44px; }
.nd-proof { display: flex; align-items: center; gap: 14px; margin-left: auto; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: rgba(255, 255, 255, .6); line-height: 1.5; }
.nd-proof b { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: #000; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font: 700 1.1rem/1 var(--nd-ff); }
.nd-proof em { font-style: normal; color: #fff; font-weight: 600; }
.nd-marquee { border-top: 1px solid rgba(255, 255, 255, .15); overflow: hidden; background: rgba(0, 0, 0, .35); }
.nd-marquee-track { display: flex; width: max-content; animation: nd-scroll 38s linear infinite; }
.nd-marquee ul { display: flex; margin: 0; padding: 0; list-style: none; }
.nd-marquee li { display: flex; align-items: center; gap: 14px; padding: 22px 36px; font: 600 1.05rem/1 var(--nd-ff); letter-spacing: -.01em; white-space: nowrap; color: rgba(255, 255, 255, .85); }
.nd-star { color: var(--nd-red); font-size: .9rem; }
@keyframes nd-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nd-marquee-track { animation: none; } .nd-pulse { animation: none; } }
@media (max-width: 760px) {
  .nd-hero { padding-top: 120px; }
  .nd-hero-row { grid-template-columns: 1fr; gap: 28px; }
  .nd-hero-portrait { width: 140px; order: -1; }
  .nd-proof { margin-left: 0; }
  .nd-btn { min-width: 0; width: 100%; }
}

/* ---------- sections ---------- */
.nd-section { padding-block: clamp(64px, 9vw, 120px); }
.nd-section--tint { background: rgba(0, 0, 0, .04); }
.nd-rowhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: clamp(32px, 5vw, 64px); }
.nd-count { font: 500 .72rem/1 var(--nd-ff); letter-spacing: .06em; }
.nd-statement { font: 600 clamp(1.9rem, 4.6vw, 3.8rem)/1.08 var(--nd-ff); letter-spacing: -.04em; max-width: 22ch; margin: 0 0 clamp(40px, 6vw, 80px); }
.nd-about .nd-statement { max-width: 26ch; }
.nd-statement span { color: #b9b9b9; }
.nd-statement--light { color: #fff; }
.nd-statement--light span { color: var(--nd-red); }

.nd-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--nd-line); }
.nd-stat { padding: 28px 24px 8px 0; }
.nd-stat + .nd-stat { padding-left: 24px; border-left: 1px solid var(--nd-line); }
.nd-stat b { display: block; font: 600 clamp(2.2rem, 4.4vw, 3.6rem)/1 var(--nd-ff); letter-spacing: -.05em; }
.nd-stat span { display: block; margin-top: 10px; font-size: .88rem; color: var(--nd-mute); max-width: 20ch; }
@media (max-width: 760px) {
  .nd-stats { grid-template-columns: 1fr 1fr; }
  .nd-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .nd-stat:nth-child(n + 3) { border-top: 1px solid var(--nd-line); margin-top: 24px; padding-top: 24px; }
}

/* ---------- numbered work rows ---------- */
.nd-list { border-top: 1px solid var(--nd-line); }
.nd-item { border-bottom: 1px solid var(--nd-line); padding: 36px 0 0; }
.nd-num { margin: 0 0 14px; font: 600 .82rem/1 var(--nd-ff); }
.nd-item-title { font: 600 clamp(1.7rem, 3.6vw, 3rem)/1.05 var(--nd-ff); letter-spacing: -.04em; margin: 0 0 32px; }
.nd-item-title a { text-decoration: none; }
.nd-item-title a:hover { color: var(--nd-red); }
.nd-item-grid { display: grid; grid-template-columns: 1fr 1fr; }
.nd-panel { aspect-ratio: 16 / 10; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(70% 90% at 80% 10%, rgba(255, 255, 255, .25), transparent 60%), #0b0b0b; }
.nd-panel::after { content: ''; position: absolute; inset: 0; opacity: .18; mix-blend-mode: overlay; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
.nd-panel--img { background: radial-gradient(70% 90% at 20% 90%, rgba(240, 43, 66, .55), transparent 65%), #0b0b0b; }
.nd-panel b { font: 700 clamp(2.6rem, 6vw, 5rem)/1 var(--nd-ff); letter-spacing: -.05em; position: relative; z-index: 1; }
.nd-panel span { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .75; margin-top: 8px; position: relative; z-index: 1; }
.nd-item-copy { padding: 28px 28px 36px 0; display: flex; flex-direction: column; gap: 22px; }
.nd-item-copy p { margin: 0; font-size: 1.02rem; line-height: 1.6; color: #3c3c3c; max-width: 44ch; }
.nd-from { font: 600 .78rem/1 var(--nd-ff); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
a.nd-from:hover { color: var(--nd-red); }
.nd-tags { list-style: none; margin: 0; padding: 28px 0 36px 28px; display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.nd-tags li { padding: 7px 12px; font: 500 .85rem/1 var(--nd-ff); border: 1px solid var(--nd-line); background: rgba(255, 255, 255, .6); }
@media (max-width: 760px) {
  .nd-item-grid { grid-template-columns: 1fr; }
  .nd-item-copy, .nd-tags { padding-left: 0; padding-right: 0; }
  .nd-tags { padding-top: 0; }
}

/* ---------- dark services ---------- */
.nd-dark { background: #000; color: #fff; }
.nd-services { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255, 255, 255, .18); }
.nd-service { display: flex; flex-direction: column; gap: 14px; padding: 28px 24px 32px 0; text-decoration: none; min-height: 300px; transition: background-color .3s; }
.nd-service + .nd-service { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
.nd-service .nd-num { color: rgba(255, 255, 255, .55); }
.nd-service h3 { font: 600 1.45rem/1.15 var(--nd-ff); letter-spacing: -.03em; margin: 0; }
.nd-service p { margin: 0; color: rgba(255, 255, 255, .62); font-size: .95rem; line-height: 1.55; }
.nd-service .nd-from { margin-top: auto; padding-top: 18px; color: #fff; }
.nd-service:hover .nd-from { color: var(--nd-red); }
.nd-service:hover .nd-plus::before, .nd-service:hover .nd-plus::after { transform: rotate(90deg); }
@media (max-width: 960px) {
  .nd-services { grid-template-columns: 1fr 1fr; }
  .nd-service:nth-child(3) { padding-left: 0; border-left: 0; }
  .nd-service:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .18); }
}
@media (max-width: 560px) {
  .nd-services { grid-template-columns: 1fr; }
  .nd-service, .nd-service + .nd-service { padding-left: 0; border-left: 0; min-height: 0; }
  .nd-service + .nd-service { border-top: 1px solid rgba(255, 255, 255, .18); }
}

/* cards reused from partials, flattened to match */
body.nd .card { border-radius: 0; background: #fff; box-shadow: none; border-color: var(--nd-line); }
body.nd a.card:hover, body.nd .card:has(a.card-link:hover) { box-shadow: none; transform: none; border-color: #000; }
body.nd .post-card h3 { font: 600 1.4rem/1.15 var(--nd-ff); letter-spacing: -.03em; }
body.nd .post-cover, body.nd .product-cover { border-radius: 0; }
body.nd .badge { background: var(--nd-red); color: #fff; border-radius: 0; }
body.nd .product-cover .placeholder { font-family: var(--nd-ff); font-style: normal; font-weight: 700; color: var(--nd-red); }
body.nd .label { font-family: var(--nd-ff); letter-spacing: .06em; }
body.nd .empty { border: 1px solid var(--nd-line); padding: 32px; background: #fff; }

/* ---------- closing CTA ---------- */
.nd-cta { position: relative; background: #000; color: #fff; overflow: hidden; padding-block: clamp(72px, 10vw, 140px); isolation: isolate; }
.nd-cta-inner h2 { font: 700 clamp(2.2rem, 6vw, 5rem)/1 var(--nd-ff); letter-spacing: -.045em; max-width: 16ch; margin: 28px 0 24px; }
.nd-cta-inner p { max-width: 54ch; color: rgba(255, 255, 255, .7); font-size: 1.1rem; margin: 0; }

/* footer matches */
body.nd .site-footer { position: relative; z-index: 1; background: #000; color: rgba(255, 255, 255, .7); border-top: 1px solid rgba(255, 255, 255, .15); }
body.nd .site-footer h2 { color: #fff; font-family: var(--nd-ff); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
body.nd .site-footer a { color: inherit; }
body.nd .site-footer a:hover { color: #fff; }
body.nd .site-footer .brand { color: #fff; }
body.nd .site-footer .muted { color: rgba(255, 255, 255, .55); }
body.nd .site-footer .input { background: #111; color: #fff; border-color: rgba(255, 255, 255, .25); border-radius: 0; }
body.nd .site-footer .btn { background: var(--nd-red); border-color: var(--nd-red); color: #fff; }

/* ---------- floating CTA ---------- */
.nd-float { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; }
.nd-float-cta, .nd-float-top { background: #000; color: #fff; text-decoration: none; display: grid; place-items: center; min-height: 52px; font: 700 .72rem/1 var(--nd-ff); letter-spacing: .06em; text-transform: uppercase; transition: background-color .25s; }
.nd-float-cta { padding: 0 24px; }
.nd-float-cta span { color: rgba(255, 255, 255, .5); font-weight: 500; }
.nd-float-top { width: 52px; border-left: 1px solid rgba(255, 255, 255, .2); font-size: 1rem; }
.nd-float-cta:hover, .nd-float-top:hover { background: var(--nd-red); }
@media (max-width: 560px) { .nd-float { right: 12px; bottom: 12px; left: 12px; } .nd-float-cta { flex: 1; } .nd-float-cta span { display: none; } }

/* reveal: reuse existing .reveal from site.css, tighten feel */
body.nd .reveal { transition-duration: .7s; }

/* ================= all public pages ================= */
body.nd .site-header { position: sticky; top: 0; background: #000; backdrop-filter: none; border: 0; color: #fff; }
body.nd .site-header .wrap { width: min(100% - 48px, var(--nd-w)); height: 76px; }
body.nd-home .site-header { position: fixed; background: transparent; }
body.nd-home .site-header.is-scrolled { background: rgba(0, 0, 0, .78); backdrop-filter: blur(12px); }
body.nd .wrap { width: min(100% - 48px, var(--nd-w)); }
body.nd .site-footer { margin-top: 0; }
body.nd .footer-grid h2 { font-family: var(--nd-ff); }
body.nd .footer-base { border-top-color: rgba(255, 255, 255, .15); color: rgba(255, 255, 255, .5); }
body.nd .footer-grid a { color: rgba(255, 255, 255, .7); }
body.nd .footer-grid a:hover { color: #fff; }

/* type */
body.nd h1, body.nd h2, body.nd h3 { font-family: var(--nd-ff); }
body.nd .display, body.nd .h1, body.nd .h2 { font-weight: 600; letter-spacing: -.04em; }
body.nd .h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; }
body.nd .h2 { line-height: 1.08; }
body.nd .h3 { font-weight: 600; letter-spacing: -.02em; }
body.nd .display em, body.nd .h1 em, body.nd .h2 em { font-style: normal; color: var(--nd-red); }
body.nd .label { font-size: .74rem; letter-spacing: .06em; }
body.nd .mark { background: none; color: var(--nd-red); }
body.nd .lede { color: var(--nd-ink); opacity: .72; }

/* buttons */
body.nd .btn { border-radius: 0; min-height: 52px; padding: 0 20px; background: #000; border-color: #000; color: #fff; font: 600 .78rem/1 var(--nd-ff); letter-spacing: .06em; text-transform: uppercase; }
body.nd .btn:hover { background: var(--nd-red); border-color: var(--nd-red); transform: none; }
body.nd .btn--sm { min-height: 40px; padding: 0 14px; }
body.nd .btn--signal { background: var(--nd-red); border-color: var(--nd-red); color: #fff; }
body.nd .btn--signal:hover { background: #000; border-color: #000; }
body.nd .btn--ghost { background: transparent; color: var(--nd-ink); border-color: rgba(0, 0, 0, .25); }
body.nd .btn--ghost:hover { background: #000; color: #fff; border-color: #000; }
body.nd .site-header .btn { background: #fff; border-color: #fff; color: #000; }
body.nd .site-header .btn:hover { background: var(--nd-red); border-color: var(--nd-red); color: #fff; }
body.nd .site-header .brand { color: #fff; font-weight: 700; letter-spacing: -.03em; }
body.nd .site-header .brand small { color: rgba(255, 255, 255, .55); }
body.nd .site-header .nav a:not(.btn) { color: rgba(255, 255, 255, .78); border-radius: 0; font-weight: 500; }
body.nd .site-header .nav a:not(.btn):hover, body.nd .site-header .nav a[aria-current='page'] { background: rgba(255, 255, 255, .12); color: #fff; }
body.nd .site-header .nav a[aria-current='page'] { box-shadow: inset 0 -2px 0 var(--nd-red); }
body.nd .brand-mark { background: var(--nd-red); color: #fff; border-radius: 0; font: 700 1.1rem/1 var(--nd-ff); font-style: normal; box-shadow: none; }
body.nd .link-arrow { text-transform: uppercase; font-size: .78rem; letter-spacing: .06em; }
body.nd .link-arrow:hover { color: var(--nd-red); }

/* dark bands: about / connect / work / blog / store / case study heads */
body.nd .hero, body.nd .article-head { position: relative; isolation: isolate; background: #000; color: #fff; padding-block: clamp(56px, 8vw, 110px) clamp(48px, 7vw, 88px); }
body.nd .hero::before, body.nd .article-head::before { content: ''; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 70% at 85% 20%, rgba(255, 255, 255, .18), transparent 62%), radial-gradient(40% 50% at 95% 100%, rgba(240, 43, 66, .34), transparent 65%), repeating-radial-gradient(ellipse 70% 120% at 90% 60%, rgba(255, 255, 255, .1) 0 1px, transparent 1px 22px), #050505; }
body.nd .hero .wrap, body.nd .article-head .wrap { position: relative; }
body.nd .hero .label, body.nd .article-head .label { color: rgba(255, 255, 255, .7); }
body.nd .hero .lede, body.nd .article-head .lede { color: rgba(255, 255, 255, .78); opacity: 1; }
body.nd .hero .muted, body.nd .article-head .muted, body.nd .article-meta { color: rgba(255, 255, 255, .6); }
body.nd .hero .prose, body.nd .hero .prose p { color: rgba(255, 255, 255, .8); }
body.nd .hero a:not(.btn), body.nd .article-head a:not(.btn) { text-decoration-color: var(--nd-red); }
body.nd .hero .btn { background: #fff; border-color: #fff; color: #000; }
body.nd .hero .btn:hover { background: var(--nd-red); border-color: var(--nd-red); color: #fff; }
body.nd .hero .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
body.nd .hero .btn--ghost:hover { background: #fff; color: #000; border-color: #fff; }
body.nd .hero .portrait img { border-radius: 0; box-shadow: none; filter: grayscale(1) contrast(1.1); }
body.nd .hero .portrait::before { border-color: var(--nd-red); border-radius: 0; }
body.nd .portrait-tag { border-radius: 0; background: #000; color: #fff; border-color: rgba(255, 255, 255, .2); box-shadow: none; }
body.nd .portrait-tag span { color: rgba(255, 255, 255, .6); }
body.nd .pulse { background: var(--nd-red); }
body.nd .hero .form-card, body.nd .hero .card { color: var(--nd-ink); background: #fff; }
body.nd .hero .form-card .muted { color: var(--nd-mute); }
body.nd .hero .form-card .btn { background: #000; border-color: #000; color: #fff; }
body.nd .hero .form-card .btn:hover { background: var(--nd-red); border-color: var(--nd-red); }

/* sections */
body.nd .section--alt { background: rgba(0, 0, 0, .04); }
body.nd .section, body.nd .section--tight { position: relative; }
body.nd .rule { border-color: var(--nd-line); }
body.nd .chip { border-radius: 0; font: 500 .85rem/1 var(--nd-ff); background: rgba(255, 255, 255, .6); color: var(--nd-ink); }
body.nd a.chip:hover { border-color: #000; }
body.nd .chip[aria-current='true'] { background: #000; color: #fff; border-color: #000; }
body.nd .stats, body.nd .services { border-top-color: var(--nd-line); }
body.nd .stat b, body.nd .metric b { font: 700 clamp(2rem, 4vw, 3rem)/1 var(--nd-ff); letter-spacing: -.05em; }
body.nd .metric b { font-size: 2.2rem; }
body.nd .case-card .h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
body.nd .case-featured { background: #000; border-color: #000; }
body.nd .case-featured .metric b { color: var(--nd-red); }
body.nd .timeline li, body.nd .timeline li:last-child { border-color: var(--nd-line); }
body.nd .steps li::before { border-radius: 0; color: var(--nd-red); font-family: var(--nd-ff); }
body.nd .cs-meta { border-color: var(--nd-line); }

/* closing band used on inner pages */
body.nd .cta-band { background: #000; border-radius: 0; position: relative; overflow: hidden; isolation: isolate; }
body.nd .cta-band::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 80% at 95% 0%, rgba(255, 255, 255, .15), transparent 60%), radial-gradient(40% 60% at 100% 100%, rgba(240, 43, 66, .3), transparent 65%); }
body.nd .cta-band .label { color: var(--nd-red); }
body.nd .cta-band .btn { background: #fff; border-color: #fff; color: #000; }
body.nd .cta-band .btn:hover { background: var(--nd-red); border-color: var(--nd-red); color: #fff; }
body.nd .cta-band .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
body.nd .cta-band .h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); }

/* forms */
body.nd .input, body.nd .select, body.nd .textarea { border-radius: 0; background: #fff; border-color: rgba(0, 0, 0, .2); color: var(--nd-ink); }
body.nd .input:focus, body.nd .select:focus, body.nd .textarea:focus { border-color: #000; box-shadow: 0 0 0 3px rgba(240, 43, 66, .25); }
body.nd .choice span { border-radius: 0; background: #fff; }
body.nd .choice input:checked + span { background: #000; border-color: #000; color: #fff; }
body.nd .form-card, body.nd .inline-cta, body.nd .inline-product, body.nd .notice { border-radius: 0; box-shadow: none; background: #fff; border-color: var(--nd-line); }
body.nd .field label, body.nd .field legend { font-weight: 600; }
body.nd .footer-grid .input, body.nd .site-footer .input { background: #111; color: #fff; border-color: rgba(255, 255, 255, .25); }
body.nd .site-footer .btn { background: var(--nd-red); border-color: var(--nd-red); color: #fff; }

/* article / prose */
body.nd .prose h2 { font: 600 clamp(1.6rem, 3vw, 2.2rem)/1.1 var(--nd-ff); letter-spacing: -.035em; }
body.nd .prose blockquote { border-left-color: var(--nd-red); font-family: var(--nd-ff); font-size: 1.25rem; font-weight: 500; letter-spacing: -.02em; }
body.nd .prose a { text-decoration-color: var(--nd-red); }
body.nd .prose code { background: rgba(0, 0, 0, .06); border-radius: 0; font-family: ui-monospace, Menlo, Consolas, monospace; }
body.nd .prose pre { border-radius: 0; background: #0a0a0a; }
body.nd .prose img { border-radius: 0; }
body.nd .prose .callout { background: #ffe3e7; border-radius: 0; }
body.nd .toc li a:hover, body.nd .toc li a.is-active { border-left-color: var(--nd-red); }
body.nd .author img { border-radius: 50%; }
body.nd .product-card .price { font-family: var(--nd-ff); font-weight: 700; }
body.nd .post-card .cat::before { border-radius: 0; }

/* FleetQ page: yellow accents become red */
body.nd .fq .label, body.nd .fq-feature .num { color: var(--nd-red); }
body.nd .fq .card { background: #111; border-radius: 0; }
body.nd .fq .btn { background: #fff; border-color: #fff; color: #000; }
body.nd .fq .btn:hover { background: var(--nd-red); border-color: var(--nd-red); color: #fff; }
body.nd .fq .btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
body.nd .fq .form-card { background: #111; border-radius: 0; }
body.nd .fq .input, body.nd .fq .select { background: #161616; color: #fff; border-color: rgba(255, 255, 255, .2); }
body.nd .fq .hero::before { opacity: .6; }
body.nd .fq .hero { background: transparent; }

/* pager, empty, focus */
body.nd .empty { border-radius: 0; border-color: rgba(0, 0, 0, .25); background: transparent; }
body.nd :focus-visible { outline-color: var(--nd-red); border-radius: 0; }
body.nd .skip { background: #000; color: #fff; border-radius: 0; }

/* fixes */
body.nd .timeline li li { display: block; padding: 0; border: 0; margin: 4px 0; }
body.nd .timeline > li { grid-template-columns: 200px 1fr; }
body.nd .fq h1, body.nd .fq h2, body.nd .fq h3, body.nd .fq .h3, body.nd .fq strong { color: #fff; }
body.nd .hero h1, body.nd .hero h2, body.nd .hero h3, body.nd .article-head h1 { color: #fff; }
body.nd .hero .form-card h1, body.nd .hero .form-card h2, body.nd .hero .form-card h3 { color: var(--nd-ink); }
