/* nine.zero — shared shell: reset, type, buttons, nav, footer, agent cursors.
   Page-specific layout lives in styles/<page>.css. Values come from the Paper
   design (9.0 New Site) at 1440px; everything below 1100px is derived from the
   mobile artboards. */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--np-ground);
  color: var(--np-ink);
  font-family: var(--np-font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--np-lime); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Layout ---------- */
.wrap {
  width: min(100% - (var(--np-gutter) * 2), var(--np-container));
  margin-inline: auto;
}
.band { background: var(--np-band); }
.dark { background: var(--np-dark); color: var(--np-dark-text); }
.dark .mono, .dark .text-2 { color: var(--np-dark-muted); }

/* ---------- Type ---------- */
.serif { font-family: var(--np-font-display); font-weight: 400; letter-spacing: -0.02em; }
.serif i, .serif em { font-style: italic; }
.mono {
  font-family: var(--np-font-mono);
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--np-text-2);
}
.text-2 { color: var(--np-text-2); }
.lime { color: var(--np-lime); }

/* Eyebrow: "/01 · Working with nine.zero" or "/ Worked with" */
.eyebrow { display: flex; align-items: center; gap: 12px; }
.eyebrow b { font-weight: 400; color: var(--np-ink); }
.eyebrow .slash { color: var(--np-lime); }
.dark .eyebrow b { color: var(--np-dark-text); }

/* Display sizes (Paper: 100 / 88 / 72 / 56 / 44 / 30) */
.display-1 { font-size: 100px; line-height: 0.96; }
.display-2 { font-size: 88px; line-height: 0.98; }
.display-3 { font-size: 72px; line-height: 1.02; }
.display-4 { font-size: 56px; line-height: 1.04; letter-spacing: -0.01em; }
.display-5 { font-size: 44px; line-height: 1.05; letter-spacing: -0.01em; }
.display-6 { font-size: 30px; line-height: 1.15; letter-spacing: -0.01em; }
@media (max-width: 900px) {
  .display-1 { font-size: 64px; }
  .display-2 { font-size: 56px; }
  .display-3 { font-size: 48px; }
  .display-4 { font-size: 40px; }
  .display-5 { font-size: 34px; }
  .display-6 { font-size: 26px; }
}
@media (max-width: 480px) {
  .display-1 { font-size: 52px; }
  .display-2 { font-size: 44px; }
  .display-3 { font-size: 40px; }
  .display-4 { font-size: 34px; }
}

.lede { font-size: 18px; line-height: 1.67; color: var(--np-text-2); }
.lede--lg { font-size: 24px; line-height: 1.42; font-weight: 500; color: var(--np-ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--np-btn); color: var(--np-btn-text);
  font-weight: 500; font-size: 14px; line-height: 18px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn:hover { background: var(--np-ink-2); }
.btn:active { transform: translateY(1px); }
.btn--lg { padding: 14px 24px; font-size: 15px; }
.btn--ghost { background: transparent; color: var(--np-ink); border: 1px solid var(--np-hair); }
.btn--ghost:hover { background: var(--np-band); border-color: var(--np-muted); }
.btn--lime { background: var(--np-lime); color: var(--np-ink); }
.btn--lime:hover { background: #93ff10; }
.btn--paper { background: var(--np-dark-text); color: var(--np-ink); }
.btn--paper:hover { background: #ffffff; }
.dark .btn--ghost { color: var(--np-dark-text); border-color: var(--np-dark-hair-2); }
.dark .btn--ghost:hover { background: var(--np-dark-2); }
.btn .arrow { font-weight: 500; }
/* Lime light tracing every CTA border */
.btn { position: relative; }
@property --cta-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.btn::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px;
  background: conic-gradient(from var(--cta-angle), transparent 0 65%, var(--np-lime) 90%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: cta-trace 3s linear infinite;
  pointer-events: none;
}
@keyframes cta-trace { to { --cta-angle: 360deg; } }
@media (prefers-reduced-motion: reduce) { .btn::before { animation: none; background: var(--np-lime); } }

/* Text link with arrow */
.link { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; line-height: 18px; color: var(--np-ink); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.dark .link { color: var(--np-dark-text); }

/* Chips and pills */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--np-hair);
  font-family: var(--np-font-mono); font-size: 9px; line-height: 14px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--np-ink);
}
.chip--lime { background: var(--np-lime); border-color: var(--np-lime); font-size: 10px; }
.dark .chip { border-color: var(--np-dark-hair-2); color: var(--np-dark-muted); font-size: 10px; }
/* Tinted tags: tinted fill, darker same-hue text. Blue = strategy/discover, violet = design, green = build/live, amber = launch/pending, rust = warning, grey = inactive. */
.chip--blue,   .dark .chip--blue   { background: #e1e8f2; border-color: #c6d3e4; color: #2c4a6e; }
.chip--violet, .dark .chip--violet { background: #e6e1f0; border-color: #d0c7df; color: #503a60; }
.chip--green,  .dark .chip--green  { background: #e7eedf; border-color: #c4d5b7; color: #294c3c; }
.chip--amber,  .dark .chip--amber  { background: #f4eedc; border-color: #e0d3ad; color: #7a5f1e; }
.chip--rust,   .dark .chip--rust   { background: #f3e3dc; border-color: #e2c4b6; color: #7a3a1e; }
.chip--grey,   .dark .chip--grey   { background: #ebebe9; border-color: #d6d5d2; color: #4f555c; }

/* Status dot */
.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--np-lime); vertical-align: middle; }

/* Hairline rules */
.rule { border: 0; border-top: 1px solid var(--np-hair); margin: 0; }
.dark .rule { border-color: var(--np-dark-hair); }

/* Round icon button (carousel arrows) */
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--np-hair); color: var(--np-ink); background: transparent;
  font-size: 16px;
}
.icon-btn--solid { background: var(--np-ink); color: #fff; border-color: var(--np-ink); }
.icon-btn:hover { border-color: var(--np-ink); }

/* ---------- Nav ---------- */
.nav { position: relative; z-index: 50; background: var(--np-ground); border-bottom: 1px solid var(--np-hair); }
.nav__bar { position: relative; display: flex; align-items: center; justify-content: space-between; height: var(--np-nav-h); }
.nav__logo svg { width: 168px; height: auto; color: #0a0a0b; }
.nav__logo .nine { fill: var(--np-lime); }
.nav__logo .zero { fill: currentColor; }
.nav__links { display: flex; align-items: center; gap: 12px; }
.nav__links > a, .nav__trigger {
  display: inline-flex; align-items: center; height: 42px; padding: 0 14px; border-radius: 6px;
  border: 1px solid transparent;
  font-family: var(--np-font-mono); font-size: 12px; line-height: 18px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--np-ink);
}
.nav__links > a:hover { color: var(--np-text-2); }
.nav__links > a[aria-current="page"] { border-color: var(--np-lime); }
.nav__trigger { gap: 10px; }
.nav__trigger svg { width: 12px; height: 12px; transition: transform .15s ease; }
.nav__trigger:hover { color: var(--np-text-2); }
.nav__trigger[aria-expanded="true"] { background: var(--np-tint); border-color: var(--np-lime); color: var(--np-ink); }
.nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__cta { gap: 24px; }
.nav__burger { display: none; }

/* Services mega menu */
.menu {
  position: absolute; top: calc(var(--np-nav-h) - 9px); right: 0; z-index: 60;
  width: 880px; padding: 28px; border-radius: 12px;
  background: var(--np-ground); border: 1px solid var(--np-hair-2);
  box-shadow: 0 16px 32px rgba(0,0,0,.09);
  display: flex; flex-direction: column; gap: 20px;
}
.menu__head { display: flex; align-items: center; justify-content: space-between; padding: 0 12px 16px; border-bottom: 1px solid var(--np-hair-2); }
.menu__head .mono { font-size: 12px; letter-spacing: 0.12em; text-transform: none; }
.menu__head p { font-size: 14px; line-height: 20px; color: var(--np-text-2); }
.menu__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.menu__item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 16px; border-radius: 8px; min-height: 126px;
  border: 1px solid transparent;
}
.menu__item:hover, .menu__item[aria-current="page"] { background: var(--np-tint); border-color: var(--np-lime); }
.menu__item .idx { width: 24px; flex: none; padding-top: 13px; }
.menu__item .idx::before { content: ""; display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--np-lime); }
.menu__item .body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.menu__item .title { font-family: var(--np-font-display); font-size: 30px; line-height: 34px; color: var(--np-ink); }
.menu__item .desc { font-size: 14px; line-height: 22px; color: var(--np-text-2); }
.menu__item .go { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 16px; color: var(--np-ink); }
.menu__item:hover .go, .menu__item[aria-current="page"] .go { background: var(--np-lime); }
.menu__bench {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 16px 22px 14px; border-radius: 8px; background: var(--np-dark); color: #fff;
}
.menu__bench .serif { font-size: 30px; line-height: 36px; letter-spacing: -0.01em; }
.menu__bench .link { color: var(--np-lime); font-size: 16px; font-weight: 500; }

/* Mobile drawer */
.drawer { border-top: 1px solid var(--np-hair); background: var(--np-ground); }
.drawer__inner { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; }
.drawer__link { display: flex; align-items: center; min-height: 48px; font-family: var(--np-font-display); font-size: 30px; line-height: 36px; color: var(--np-ink); }
.drawer__sub { display: flex; align-items: center; min-height: 48px; padding: 10px 16px; border-radius: 6px; border: 1px solid var(--np-hair); font-size: 17px; line-height: 26px; }
.drawer__sub[aria-current="page"] { border-color: var(--np-lime); }
.drawer .btn { min-height: 52px; font-size: 16px; margin-top: 8px; }

@media (max-width: 1100px) {
  .nav__links { gap: 0; }
  .nav__links > a, .nav__trigger { padding: 0 10px; }
  .menu { width: min(880px, calc(100vw - var(--np-gutter) * 2)); }
}
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__logo svg { width: 140px; }
  .nav__burger {
    display: inline-flex; align-items: center; gap: 10px; min-width: 76px; height: 44px; justify-content: flex-end;
    font-size: 14px; line-height: 20px; color: var(--np-ink);
  }
  .nav__burger svg { width: 18px; height: 18px; }
  .nav__burger .close { display: none; }
  .nav__burger[aria-expanded="true"] .open { display: none; }
  .nav__burger[aria-expanded="true"] .close { display: inline; }
}
@media (min-width: 901px) { .drawer { display: none !important; } }

/* ---------- Footer ---------- */
.footer { background: var(--np-foot); color: var(--np-foot-text); padding: 56px 0 40px; }
.footer__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.footer__brand { max-width: 560px; display: flex; flex-direction: column; gap: 18px; }
.footer__brand svg { width: 140px; height: auto; color: var(--np-foot-text); }
.footer__brand .nine { fill: var(--np-lime); }
.footer__brand .zero { fill: currentColor; }
.footer__tag { font-family: var(--np-font-display); font-style: italic; font-size: 28px; line-height: 32px; }
.footer__about { max-width: 440px; font-size: 14px; line-height: 23px; color: var(--np-foot-muted); }
.footer__cols { display: flex; gap: 48px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; width: 200px; }
.footer__col:nth-child(n+2) { width: 220px; }
.footer__col .mono { color: var(--np-lime); }
.footer__col a { font-family: var(--np-font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--np-foot-muted); }
.footer__col a:hover { color: var(--np-foot-text); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--np-foot-hair);
  font-family: var(--np-font-mono); font-size: 10px; line-height: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--np-foot-muted);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a:hover { color: var(--np-foot-text); }
@media (max-width: 1100px) {
  .footer__top { flex-direction: column; }
  .footer__cols { flex-wrap: wrap; }
}
@media (max-width: 720px) {
  .footer { padding: 48px 0 32px; }
  .footer__cols { gap: 32px; }
  .footer__col, .footer__col:nth-child(n+2) { width: calc(50% - 16px); }
}

/* ---------- Agent cursors and selection frames ----------
   Six agents work on the site: Designer, Researcher, Builder, Tester, Analyst, Writer.
   Decorative, desktop-only. Place inside a position:relative section:
   <div class="agent-frame" data-agent="designer" style="--x:34px;--y:-8px;--w:652px;--h:100px"><i></i><b>Designer</b></div>
   <div class="agent-cursor" data-agent="designer" style="--x:688px;--y:104px"><span data-initial="D">Designer</span></div>
   scripts/site.js animates them: cursors wander like a mouse, grab their frame's handle and resize it
   while a dimension badge reads out the size. Static without JS or with reduced motion. */
.agent-frame, .agent-cursor { position: absolute; left: var(--x); top: var(--y); pointer-events: none; user-select: none; z-index: 5; }
.agent-frame { width: var(--w); height: var(--h); border: 1.5px solid var(--agent); }
.agent-frame::before, .agent-frame::after,
.agent-frame > i::before, .agent-frame > i::after {
  content: ""; position: absolute; width: 7px; height: 7px; background: var(--np-ground); border: 1.5px solid var(--agent);
}
.agent-frame::before { left: -4px; top: -4px; }
.agent-frame::after { right: -4px; top: -4px; }
.agent-frame > i::before { left: -4px; bottom: -4px; }
.agent-frame > i::after { right: -4px; bottom: -4px; }
.agent-frame > i { position: absolute; inset: 0; }
.agent-frame > b {
  position: absolute; left: -1.5px; top: -24px; padding: 3px 8px; border-radius: 3px 3px 0 0;
  background: var(--agent); color: var(--agent-text, #0a0a0b);
  font-weight: 500; font-size: 11px; line-height: 14px; font-family: var(--np-font-body);
}
.agent-frame > em {
  position: absolute; right: -1.5px; bottom: -22px; padding: 2px 6px; border-radius: 3px;
  background: var(--agent); color: var(--agent-text, #0a0a0b);
  font-style: normal; font-family: var(--np-font-mono); font-size: 10px; line-height: 14px; letter-spacing: 0.06em;
  opacity: 0; transition: opacity .2s ease;
}
.agent-frame.is-measuring > em { opacity: 1; }
.agent-cursor { display: flex; flex-direction: column; align-items: flex-start; will-change: transform; }
.agent-cursor::before { content: ""; width: 20px; height: 22px; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M2 2 L2 17 L6.3 13.2 L9 19.6 L11.8 18.4 L9.1 12.1 L15 12.1 Z' fill='%2320242A' stroke='%23FFFFFF' stroke-width='1.2' stroke-linejoin='round'/></svg>") no-repeat; transition: transform .12s ease; }
.agent-cursor.is-clicking::before { transform: scale(.82); }
.agent-cursor > span {
  margin-left: 14px; display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px 4px 5px; border-radius: 6px;
  background: var(--agent); color: var(--agent-text, #0a0a0b);
  font-weight: 500; font-size: 12px; line-height: 14px; font-family: var(--np-font-body);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.agent-cursor > span::before {
  content: attr(data-initial); width: 16px; height: 16px; border-radius: 50%; display: grid; place-items: center;
  background: var(--agent-disc, #fff); color: var(--agent-disc-text, #20242a);
  font-family: var(--np-font-mono); font-weight: 600; font-size: 9px; line-height: 10px;
}
[data-agent="designer"] { --agent: #85ee00; --agent-text: #0a0a0b; --agent-disc: #f6f5f4; --agent-disc-text: #3d7a00; }
.agent-cursor[data-agent="designer"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M2 2 L2 17 L6.3 13.2 L9 19.6 L11.8 18.4 L9.1 12.1 L15 12.1 Z' fill='%2385EE00' stroke='%23FFFFFF' stroke-width='1.2' stroke-linejoin='round'/></svg>"); }
[data-agent="researcher"] { --agent: #3b9dff; --agent-text: #0a0a0b; --agent-disc: #f6f5f4; --agent-disc-text: #1f6fd0; }
.agent-cursor[data-agent="researcher"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M2 2 L2 17 L6.3 13.2 L9 19.6 L11.8 18.4 L9.1 12.1 L15 12.1 Z' fill='%233B9DFF' stroke='%23FFFFFF' stroke-width='1.2' stroke-linejoin='round'/></svg>"); }
[data-agent="builder"] { --agent: #ffb020; --agent-text: #0a0a0b; --agent-disc: #f6f5f4; --agent-disc-text: #a86a00; }
.agent-cursor[data-agent="builder"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M2 2 L2 17 L6.3 13.2 L9 19.6 L11.8 18.4 L9.1 12.1 L15 12.1 Z' fill='%23FFB020' stroke='%23FFFFFF' stroke-width='1.2' stroke-linejoin='round'/></svg>"); }
[data-agent="tester"] { --agent: #ff4fa3; --agent-text: #0a0a0b; --agent-disc: #f6f5f4; --agent-disc-text: #c01a6d; }
.agent-cursor[data-agent="tester"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M2 2 L2 17 L6.3 13.2 L9 19.6 L11.8 18.4 L9.1 12.1 L15 12.1 Z' fill='%23FF4FA3' stroke='%23FFFFFF' stroke-width='1.2' stroke-linejoin='round'/></svg>"); }
[data-agent="analyst"] { --agent: #ff6b1a; --agent-text: #0a0a0b; --agent-disc: #f6f5f4; --agent-disc-text: #c14400; }
.agent-cursor[data-agent="analyst"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M2 2 L2 17 L6.3 13.2 L9 19.6 L11.8 18.4 L9.1 12.1 L15 12.1 Z' fill='%23FF6B1A' stroke='%23FFFFFF' stroke-width='1.2' stroke-linejoin='round'/></svg>"); }
[data-agent="writer"] { --agent: #17d1c6; --agent-text: #0a0a0b; --agent-disc: #f6f5f4; --agent-disc-text: #0a8a83; }
.agent-cursor[data-agent="writer"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M2 2 L2 17 L6.3 13.2 L9 19.6 L11.8 18.4 L9.1 12.1 L15 12.1 Z' fill='%2317D1C6' stroke='%23FFFFFF' stroke-width='1.2' stroke-linejoin='round'/></svg>"); }
/* Reading: selected words and the I-beam the cursor switches to while selecting */
.agent-sel { border-radius: 2px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.agent-sel.is-selected { background: color-mix(in srgb, var(--sel, #3b9dff) 30%, transparent); }
.agent-cursor.is-text[data-agent="designer"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M6 2h3v1.5h1.5V18.5H9V20H6v-1.5h1.5V13H6v-1.5h1.5V10.5H6V9h1.5V3.5H6z M11 2h3v1.5h-1.5V9H14v1.5h-1.5V12H14v1.5h-1.5v5H14V20h-3z' fill='%2385EE00' stroke='%23FFFFFF' stroke-width='1' stroke-linejoin='round'/></svg>"); }
.agent-cursor.is-text[data-agent="researcher"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M6 2h3v1.5h1.5V18.5H9V20H6v-1.5h1.5V13H6v-1.5h1.5V10.5H6V9h1.5V3.5H6z M11 2h3v1.5h-1.5V9H14v1.5h-1.5V12H14v1.5h-1.5v5H14V20h-3z' fill='%233B9DFF' stroke='%23FFFFFF' stroke-width='1' stroke-linejoin='round'/></svg>"); }
.agent-cursor.is-text[data-agent="builder"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M6 2h3v1.5h1.5V18.5H9V20H6v-1.5h1.5V13H6v-1.5h1.5V10.5H6V9h1.5V3.5H6z M11 2h3v1.5h-1.5V9H14v1.5h-1.5V12H14v1.5h-1.5v5H14V20h-3z' fill='%23FFB020' stroke='%23FFFFFF' stroke-width='1' stroke-linejoin='round'/></svg>"); }
.agent-cursor.is-text[data-agent="tester"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M6 2h3v1.5h1.5V18.5H9V20H6v-1.5h1.5V13H6v-1.5h1.5V10.5H6V9h1.5V3.5H6z M11 2h3v1.5h-1.5V9H14v1.5h-1.5V12H14v1.5h-1.5v5H14V20h-3z' fill='%23FF4FA3' stroke='%23FFFFFF' stroke-width='1' stroke-linejoin='round'/></svg>"); }
.agent-cursor.is-text[data-agent="analyst"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M6 2h3v1.5h1.5V18.5H9V20H6v-1.5h1.5V13H6v-1.5h1.5V10.5H6V9h1.5V3.5H6z M11 2h3v1.5h-1.5V9H14v1.5h-1.5V12H14v1.5h-1.5v5H14V20h-3z' fill='%23FF6B1A' stroke='%23FFFFFF' stroke-width='1' stroke-linejoin='round'/></svg>"); }
.agent-cursor.is-text[data-agent="writer"]::before { background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='22' viewBox='0 0 20 22'><path d='M6 2h3v1.5h1.5V18.5H9V20H6v-1.5h1.5V13H6v-1.5h1.5V10.5H6V9h1.5V3.5H6z M11 2h3v1.5h-1.5V9H14v1.5h-1.5V12H14v1.5h-1.5v5H14V20h-3z' fill='%2317D1C6' stroke='%23FFFFFF' stroke-width='1' stroke-linejoin='round'/></svg>"); }
@media (max-width: 1100px) {
  .agent-frame > em { display: none; }
  .agent-frame > b { top: auto; bottom: -10px; font-size: 10px; line-height: 14px; border-radius: 3px; }
  .agent-cursor > span { font-size: 0; line-height: 0; padding: 3px; gap: 0; }
  .agent-cursor > span::before { margin: 0; }
}

/* ---------- Marquee strip ("We do ✦ Digital Strategy ✦ …") ---------- */
.marquee { overflow: hidden; border-top: 1px solid var(--np-hair); border-bottom: 1px solid var(--np-hair); background: var(--np-band); }
.marquee__track { display: flex; width: max-content; gap: 48px; padding: 28px 0; animation: marquee 40s linear infinite; }
.marquee__track:hover { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: baseline; gap: 48px; font-family: var(--np-font-display); font-size: 44px; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.marquee__item i { font-style: italic; }
.marquee__item .star { font-size: 14px; color: var(--np-lime); align-self: center; }
.marquee__item .we { color: var(--np-lime); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
@media (max-width: 720px) { .marquee__item { font-size: 32px; gap: 24px; } .marquee__track { gap: 24px; padding: 20px 0; } }

::selection { background: var(--np-lime); color: var(--np-ink); }
::-moz-selection { background: var(--np-lime); color: var(--np-ink); }

/* ---------- Cookie consent (small, bottom right) ---------- */
.consent {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 340px; max-width: calc(100% - 40px);
  display: flex; flex-direction: column; gap: 14px; padding: 18px 20px;
  background: var(--np-dark); color: var(--np-dark-text); border-radius: 14px; box-shadow: 0 16px 40px rgba(10, 10, 11, .28);
  opacity: 0; transform: translateY(12px); transition: opacity .25s ease, transform .25s ease;
}
.consent.is-in { opacity: 1; transform: none; }
.consent.is-leaving { opacity: 0; transform: translateY(12px); }
.consent__text { font-size: 13px; line-height: 20px; color: var(--np-dark-muted); }
.consent__text a { color: var(--np-dark-text); text-decoration: underline; text-underline-offset: 2px; }
.consent__actions { display: flex; gap: 8px; }
.consent__btn { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--np-dark-hair-2); background: transparent; color: var(--np-dark-text); font-family: var(--np-font-body); font-size: 13px; line-height: 18px; font-weight: 500; cursor: pointer; }
.consent__btn--yes { background: var(--np-lime); border-color: var(--np-lime); color: #0a0a0b; }
.consent__btn:hover { border-color: var(--np-lime); }
@media (max-width: 720px) { .consent { right: 12px; bottom: 12px; left: 12px; width: auto; max-width: none; } }
/* consent choice on the cookies page */
.consent-choice { display: flex; gap: 8px; margin-top: 12px; }
.consent-choice button { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--np-hair-2); background: transparent; color: var(--np-ink); font-family: var(--np-font-body); font-size: 14px; line-height: 18px; font-weight: 500; cursor: pointer; }
.consent-choice button[aria-pressed="true"] { background: var(--np-ink); border-color: var(--np-ink); color: #fff; }

/* ---------- Forms (enquiry pattern) ---------- */
.field { display: flex; flex-direction: column; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--np-hair); }
.field__opt { text-transform: none; letter-spacing: 0; color: var(--np-text-2); }
.field label { font-family: var(--np-font-mono); font-size: 11px; line-height: 14px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--np-text-2); }
.field input, .field textarea {
  width: 100%; border: 0; background: transparent; padding: 0;
  font-size: 17px; line-height: 24px; color: var(--np-ink); resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--np-muted); }
.field:focus-within { border-color: var(--np-lime); }
.field input:focus, .field textarea:focus { outline: none; }
.field--error { border-color: #ff5c5c; }
.field__hint { font-size: 12px; line-height: 16px; color: #d13b3b; display: none; }
.field--error .field__hint { display: block; }
.form__note { font-size: 13px; line-height: 20px; color: var(--np-text-2); }
.form__note a { color: var(--np-ink); text-decoration: underline; text-underline-offset: 2px; }
.form__actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form__actions .mono { font-size: 10px; }
.form__success { display: none; padding: 24px; border-radius: 12px; background: var(--np-tint); }
.form[data-state="sent"] .form__success { display: block; }
.form[data-state="sent"] .form__fields { display: none; }
.form .cf-turnstile:empty { display: none; }
.form .cf-turnstile { margin: 4px 0; }
.form .hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form--failed .form__actions::after { content: "Something went wrong. Email hello@9point0.com instead."; font-size: 13px; line-height: 20px; color: #d13b3b; }
