/* DESIGN CREED — Neon edition */
:root {
  --bg: #050511;
  --bg-2: #0a0a18;
  --bg-3: #11112a;
  --rule: #1f1f3d;
  --ink: #ecebff;
  --ink-soft: #a4a3c9;
  --ink-mute: #5a5a85;
  --magenta: #ff2dd6;
  --cyan: #00e6ff;
  --lime: #b8ff3d;
  --orange: #ff8a3d;

  --display: "Bricolage Grotesque", "Helvetica Neue", system-ui, sans-serif;
  --mono: "Geist Mono", "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(20px, 4vw, 64px);
  --max: 1480px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }

body {
  background: var(--bg); color: var(--ink);
  font-family: var(--display);
  font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss03";
  overflow-x: hidden;
  min-height: 100vh; min-height: 100svh;
}
::selection { background: var(--magenta); color: var(--bg); }

/* ---------- BACKGROUND LAYERS ---------- */
.mesh, .dotgrid, .noise { position: fixed; inset: 0; pointer-events: none; }
.mesh { z-index: -2; overflow: hidden; }
.orb {
  position: absolute;
  width: 60vmax; height: 60vmax;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: drift 22s var(--ease) infinite alternate;
}
.orb-1 { background: var(--magenta); top: -20%; left: -10%; }
.orb-2 { background: var(--cyan); bottom: -25%; right: -10%; animation-duration: 28s; animation-delay: -8s; }
.orb-3 { background: var(--lime); top: 30%; left: 40%; width: 40vmax; height: 40vmax; opacity: 0.3; animation-duration: 34s; animation-delay: -16s; }
@keyframes drift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(8vw, -6vh) scale(1.15); }
}

.dotgrid {
  z-index: -1;
  background-image: radial-gradient(circle, rgba(236,235,255,0.06) 1px, transparent 1.5px);
  background-size: 26px 26px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black 30%, transparent 100%);
}

.noise {
  z-index: 50;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.back {
  position: fixed; bottom: 20px; left: 20px; z-index: 100;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--ink-soft);
  padding: 6px 12px;
  border: 1px solid var(--rule); border-radius: 999px;
  background: rgba(5,5,17,0.6); backdrop-filter: blur(10px);
  transition: color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.back:hover { color: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 20px rgba(0,230,255,0.4); }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center; gap: 32px;
  padding: 18px var(--gutter);
  background: rgba(5,5,17,0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 600; font-size: 17px; letter-spacing: -0.01em;
  color: var(--ink);
}
.logo-dot { color: var(--magenta); }
.logo svg { color: var(--cyan); }
.logo-mark {
  display: inline-block;
  width: 24px; height: 24px;
  border-radius: 4px;
  flex: 0 0 auto;
}

.nav nav {
  display: flex; justify-content: center; gap: 32px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-soft);
}
.nav nav a { transition: color .3s var(--ease); position: relative; }
.nav nav a:hover { color: var(--lime); }

.status {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11.5px; color: var(--ink-soft);
}
.status em { font-style: normal; color: var(--lime); }
.status-led {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 12px var(--lime);
  animation: pulse 1.6s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}
@media (max-width: 900px) { .nav nav { display: none; } .nav { grid-template-columns: auto 1fr; } }
@media (max-width: 540px) { .status { display: none; } .nav { grid-template-columns: 1fr; } }

/* ---------- HERO ---------- */
.hero {
  padding: clamp(60px, 9vw, 140px) var(--gutter) clamp(60px, 9vw, 140px);
  max-width: var(--max); margin: 0 auto;
  position: relative;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-soft);
  padding: 8px 14px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: rgba(11,11,30,0.5);
  backdrop-filter: blur(8px);
  margin-bottom: 36px;
}
.hero-tag-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--magenta);
  box-shadow: 0 0 10px var(--magenta);
}

.hero-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 13vw, 220px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0 0 28px;
  color: var(--ink);
  position: relative;
  font-variation-settings: "opsz" 96;
}
.hero-title .slash {
  display: inline-block;
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  margin: 0 -0.05em;
}
.hero-title::before, .hero-title::after {
  content: attr(data-text);
  position: absolute; inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-title::before { color: var(--cyan); transform: translate(-2px, -1px); opacity: 0.5; animation: glitch 4s var(--ease) infinite; }
.hero-title::after { color: var(--magenta); transform: translate(2px, 1px); opacity: 0.5; animation: glitch 4s var(--ease) infinite reverse; }
@keyframes glitch {
  0%, 88%, 100% { transform: translate(0, 0); opacity: 0; }
  90% { transform: translate(-3px, -1px); opacity: 0.4; }
  92% { transform: translate(3px, 1px); opacity: 0.4; }
  94% { transform: translate(-2px, 2px); opacity: 0.4; }
  96% { transform: translate(2px, -2px); opacity: 0.4; }
}

.hero-lede {
  max-width: 64ch;
  font-size: clamp(16px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 36px;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 64px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  font-family: var(--mono); font-size: 12.5px;
  border-radius: 999px;
  border: 1px solid;
  position: relative;
  transition: transform .3s var(--ease), color .3s var(--ease), background-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn-primary {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--lime); border-color: var(--lime);
  box-shadow: 0 0 32px rgba(184,255,61,0.5);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--ink); border-color: var(--rule);
  background: rgba(11,11,30,0.4); backdrop-filter: blur(8px);
}
.btn-ghost:hover { color: var(--cyan); border-color: var(--cyan); }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 16px;
  overflow: hidden;
  background-color: var(--rule);
}
.hero-stats > div {
  display: grid; gap: 4px;
  padding: 22px 24px;
  background: rgba(10,10,24,0.7);
  backdrop-filter: blur(8px);
}
.hero-stats strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--cyan), var(--magenta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.hero-stats span {
  font-family: var(--mono); font-size: 11px; color: var(--ink-mute);
  letter-spacing: 0.05em;
}
@media (max-width: 720px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .hero-stats { grid-template-columns: 1fr; } }

/* ---------- SECTIONS ---------- */
.caps, .man, .logobar, .contact {
  padding: clamp(60px, 9vw, 130px) var(--gutter);
  max-width: var(--max); margin: 0 auto;
  position: relative;
}

.sec-head {
  display: grid; gap: 18px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.kicker {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--magenta);
}
.sec-head h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 5.6vw, 84px);
  line-height: 1; letter-spacing: -0.03em;
  margin: 0;
  font-variation-settings: "opsz" 96;
}
.sec-head h2 span {
  display: inline-block;
  background: linear-gradient(135deg, var(--cyan), var(--lime));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 500;
  /* Italic glyphs slant past their native character box; combined with
     background-clip:text the trailing letter/period gets visually clipped.
     padding-right gives the slant room to render; negative margin pulls
     the next inline back so layout flow is unchanged. */
  padding-right: 0.1em;
  margin-right: -0.06em;
}

/* ---------- CAPS GRID ---------- */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1000px) { .caps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .caps-grid { grid-template-columns: 1fr; } }

.card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 28px 28px 24px;
  background: rgba(10,10,24,0.55);
  backdrop-filter: blur(10px);
  border: 1px solid var(--rule);
  border-radius: 18px;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  min-height: 380px;
  transition: transform .5s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-4px); }

.card-glow {
  position: absolute; inset: -1px;
  border-radius: 18px;
  pointer-events: none;
  z-index: -1;
  background: conic-gradient(from calc(var(--i, 0) * 60deg), var(--magenta), var(--cyan), var(--lime), var(--magenta));
  opacity: 0; filter: blur(0);
  transition: opacity .5s var(--ease), filter .5s var(--ease);
}
.card:hover .card-glow { opacity: 0.7; filter: blur(2px); }
.card::before {
  /* inner background to mask the glow into a border */
  content: ""; position: absolute; inset: 1px;
  background: linear-gradient(180deg, rgba(11,11,30,0.95) 0%, rgba(5,5,17,0.95) 100%);
  border-radius: 17px;
  z-index: -1;
}

.card-num {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-mute);
  margin-bottom: 56px;
}
.card-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0 0 8px;
}
.card-tag {
  font-family: var(--mono); font-size: 12px;
  color: var(--lime);
  margin: 0 0 14px;
}
.card-blurb {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 18px;
  flex: 1;
}
.card-stack {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 20px;
}
.card-stack li {
  font-family: var(--mono); font-size: 10.5px;
  color: var(--ink-soft);
  padding: 3px 8px;
  background: rgba(0,230,255,0.08);
  border: 1px solid rgba(0,230,255,0.18);
  border-radius: 999px;
}
.card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px;
  color: var(--ink);
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  margin-top: auto;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.card-cta svg { transition: transform .3s var(--ease); }
.card:hover .card-cta { gap: 12px; color: var(--cyan); }
.card:hover .card-cta svg { transform: translate(2px, -2px); }

/* per-card accent tint */
.card--3d-printing:hover { border-color: var(--magenta); }
.card--3d-design:hover { border-color: var(--cyan); }
.card--cnc:hover { border-color: var(--lime); }
.card--laser:hover { border-color: var(--orange); }
.card--electronics:hover { border-color: var(--cyan); }
.card--it:hover { border-color: var(--magenta); }

/* ---------- MANIFESTO ---------- */
.man-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .man-list { grid-template-columns: 1fr; } }
.man-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: rgba(10,10,24,0.5);
  backdrop-filter: blur(8px);
  transition: border-color .4s var(--ease), background-color .4s var(--ease);
}
.man-list li:hover { border-color: var(--magenta); background: rgba(255,45,214,0.05); }
.man-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 4vw, 56px);
  background: linear-gradient(135deg, var(--magenta), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  letter-spacing: -0.03em;
}
.man-list h3 {
  font-family: var(--display); font-weight: 600;
  font-size: clamp(20px, 1.8vw, 26px);
  letter-spacing: -0.015em;
  margin: 0 0 8px;
}
.man-list p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.55; }

/* ---------- LOGO BAR ----------
   Slim tech-credential strip. Mono uppercase, hairline rules that fade at
   the edges, soft side-mask so items dissolve in/out instead of hard-cutting
   at the viewport edges. Replaces a ~270px-tall display ribbon with a
   ~46px-tall ambient stack list. */
.logobar {
  position: relative;
  padding: 14px 0;
  margin: clamp(28px, 3.5vw, 48px) 0;
  max-width: 100%;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(10,10,24,0.32) 18%,
    rgba(10,10,24,0.32) 82%,
    transparent 100%
  );
  border: none;
  overflow: hidden;
  /* edge fade so the marquee dissolves into the page on either side */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
/* hairline rules at top and bottom — gradient-faded at the ends */
.logobar::before, .logobar::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(31,31,61,0.95) 14%,
    rgba(31,31,61,0.95) 86%,
    transparent 100%
  );
  pointer-events: none;
}
.logobar::before { top: 0; }
.logobar::after  { bottom: 0; }

.logobar .kicker {
  display: block;
  text-align: center;
  margin: 0 0 8px;
  padding: 0 var(--gutter);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
  opacity: 0.85;
}

.logobar-track {
  display: flex; gap: 22px; align-items: center;
  white-space: nowrap;
  /* Duration scales with the number of copies in the track (6× in the
     templates). Each cycle shifts by 50% of the full width, so 180s keeps
     the visual items-per-second pacing identical to the prior 60s × 2-copy
     setup. Bump higher if the strip ever feels too fast on wide monitors. */
  animation: marq 180s linear infinite;
  width: max-content;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.logobar-track > span:not(.logobar-dot) {
  /* every tool name */
  transition: color 0.3s var(--ease);
}
/* convert the existing ● bullet character into a slim magenta divider —
   purely CSS so we don't need to touch home.html / neon.html templates */
.logobar-dot {
  display: inline-block;
  width: 1px;
  height: 12px;
  background: var(--magenta);
  opacity: 0.45;
  border-radius: 1px;
  font-size: 0;
  color: transparent;
  align-self: center;
  box-shadow: 0 0 6px rgba(255, 45, 214, 0.35);
}
@keyframes marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

@media (prefers-reduced-motion: reduce) {
  .logobar-track { animation: none; }
}

/* ---------- CONTACT ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .contact-grid { grid-template-columns: 1fr; } }
.cc {
  display: grid; gap: 8px;
  padding: 28px;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: rgba(10,10,24,0.5);
  backdrop-filter: blur(8px);
  position: relative;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
a.cc { padding-right: 60px; }
a.cc:hover { border-color: var(--cyan); background: rgba(0,230,255,0.06); }
.cc span {
  font-family: var(--mono); font-size: 11px;
  color: var(--magenta);
  text-transform: uppercase; letter-spacing: 0.16em;
}
.cc strong {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(18px, 1.8vw, 24px);
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.35;
}
.cc em {
  position: absolute; right: 28px; top: 50%; transform: translateY(-50%);
  font-style: normal; font-size: 24px;
  color: var(--ink-mute);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
a.cc:hover em { color: var(--cyan); transform: translate(4px, -50%); }

/* ---------- FOOT ---------- */
.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 32px var(--gutter);
  border-top: 1px solid var(--rule);
  font-family: var(--mono); font-size: 12px;
  color: var(--ink-soft);
  max-width: var(--max);
  margin: 0 auto;
}
.foot a { color: var(--ink); transition: color .3s var(--ease); }
.foot a:hover { color: var(--lime); }
.foot .foot-links { color: var(--ink-soft); }

/* Mobile: stack the four spans vertically and centre everything.
   The desktop layout's `space-between` leaves the entries left-aligned
   when they wrap, which reads as broken at phone widths. The class is
   `.foot` (no dash), so mobile-polish.css's [class*="-foot"] rule never
   matches it — we centre it explicitly here. */
@media (max-width: 720px) {
  .foot {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
}

/* ---------- swapped hero safety net (loaded everywhere via base.css) ---------- */
.dc-swapped-hero {
  overflow-wrap: break-word;
  text-wrap: balance;
  hyphens: none;
  max-width: 100%;
  white-space: normal !important;
}
.dc-swapped-art {
  font-size: clamp(2.25rem, 6vw, 5.5rem) !important;
  line-height: 1.05 !important;
  letter-spacing: 0.01em !important;
  font-family: inherit !important;
}
.dc-swapped-stacked,
.dc-swapped-stacked * {
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* ---------- APPLY PULSE on iframe thumbs ---------- */
.tpl-thumb.is-applying {
  animation: tpl-applying 0.7s var(--ease) both;
}
.tpl-thumb.is-applying::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none; z-index: 5;
  background: linear-gradient(120deg,
    transparent 30%, rgba(184,255,61,0.45) 50%, transparent 70%);
  background-size: 220% 100%;
  animation: tpl-shimmer 0.7s var(--ease) both;
  mix-blend-mode: screen;
}
@keyframes tpl-applying {
  0%   { box-shadow: 0 0 0 0 rgba(184,255,61,0); transform: scale(1); }
  35%  { box-shadow: 0 0 0 4px rgba(184,255,61,0.55), 0 0 36px rgba(0,230,255,0.4); transform: scale(1.012); }
  100% { box-shadow: 0 0 0 0 rgba(184,255,61,0); transform: scale(1); }
}
@keyframes tpl-shimmer {
  0%   { background-position: 100% 0; opacity: 0; }
  20%  { opacity: 1; }
  100% { background-position: -120% 0; opacity: 0; }
}

/* ---------- BRAND CTA (only on /web) ---------- */
.brand-shell {
  display: grid; gap: 8px;
  padding: 14px 16px 14px 18px;
  border: 1px solid var(--rule);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(11,11,30,0.85), rgba(5,5,17,0.65));
  backdrop-filter: blur(10px);
  position: relative;
  isolation: isolate;
  animation: brand-shell-in .35s var(--ease) both;
}
/* Author display rules above defeat the UA [hidden] rule. Restore it for
   the brand widgets so JS toggling pill.hidden / shell.hidden actually
   hides them. */
.brand-shell[hidden],
.brand-pill[hidden] { display: none !important; }
.brand-shell::before {
  content: ""; position: absolute; inset: -1px; border-radius: 22px;
  padding: 1px; pointer-events: none; z-index: -1;
  background: linear-gradient(120deg, rgba(0,230,255,0.45), rgba(184,255,61,0.35) 55%, rgba(255,45,214,0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
          mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: .8;
}
@keyframes brand-shell-in {
  from { opacity: 0; transform: translateY(-4px) scale(.985); }
  to   { opacity: 1; transform: none; }
}

.brand-shell-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--cyan); text-transform: lowercase;
}
.brand-shell-row {
  display: flex; align-items: stretch; gap: 8px;
}
.brand-shell-input-wrap {
  position: relative;
  flex: 1 1 280px; min-width: 0;
  display: flex; align-items: stretch;
}
.brand-shell input {
  width: 100%; min-width: 0;
  padding: 9px 60px 9px 16px;
  font-family: var(--display); font-size: 16px; line-height: 1.2; letter-spacing: -0.01em;
  background: rgba(5,5,17,0.7); color: var(--ink);
  border: 1px solid var(--rule); border-radius: 999px;
  outline: none;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.brand-shell input::placeholder { color: var(--ink-mute); font-style: italic; }
.brand-shell input:focus {
  border-color: var(--cyan);
  background: rgba(0,230,255,0.06);
  box-shadow: 0 0 0 3px rgba(0,230,255,0.15), inset 0 0 24px rgba(0,230,255,0.08);
}
.brand-shell-counter {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em;
  color: var(--ink-mute); pointer-events: none;
  display: inline-flex; align-items: baseline; gap: 1px;
  transition: color .25s var(--ease);
}
.brand-shell-counter em { font-style: normal; opacity: .55; }
.brand-shell-input-wrap.is-near .brand-shell-counter { color: var(--orange); }
.brand-shell-input-wrap.is-max .brand-shell-counter { color: var(--magenta); }
/* Apply / × siblings — match the input's height (≈38px) so the row stays
   visually level. The .btn base now provides the 10px×18px envelope. */
.brand-shell-apply { padding: 9px 18px; }
.brand-shell-clear {
  padding: 8px 12px; font-size: 16px; line-height: 1;
  min-width: 36px; justify-content: center;
}
.brand-shell-hint {
  font-family: var(--mono); font-size: 11.5px;
  color: var(--ink-mute); padding-left: 4px;
}

.brand-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 10px 8px 14px;
  border: 1px solid var(--lime); border-radius: 999px;
  background: rgba(184,255,61,0.08);
  box-shadow: 0 0 24px rgba(184,255,61,0.18);
  font-family: var(--mono);
  animation: brand-pill-in .35s var(--ease) both;
}
@keyframes brand-pill-in {
  from { opacity: 0; transform: scale(.96); }
  to   { opacity: 1; transform: none; }
}
.brand-pill-eyebrow {
  font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--lime);
  opacity: 0.85;
}
.brand-pill strong {
  font-family: var(--display); font-size: 16px; letter-spacing: -0.01em;
  color: var(--lime); font-weight: 600;
  max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-pill-reset {
  appearance: none; border: 1px solid rgba(184,255,61,0.4); background: transparent;
  color: var(--ink); font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.04em;
  padding: 5px 11px; border-radius: 999px; cursor: pointer; line-height: 1.1;
  transition: color .3s var(--ease), border-color .3s var(--ease), background-color .3s var(--ease);
}
.brand-pill-reset:hover {
  color: var(--magenta); border-color: var(--magenta);
  background: rgba(255,45,214,0.08);
}

@media (max-width: 640px) {
  .brand-shell { width: 100%; }
  .brand-shell-row { flex-wrap: wrap; }
  .brand-shell input { flex-basis: 100%; }
  .brand-shell-apply { flex: 1 1 auto; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ---------- NAV DROPDOWN ----------
   The webdesign nav slot is a dropdown trigger. Hover/focus reveal
   a small panel with the section's two routes (about + catalogue).
   Pure CSS — relies on :hover and :focus-within so keyboard users
   can tab into the trigger and the submenu opens. No JS. */
.nav nav .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}
.nav-caret {
  font-size: 9px;
  opacity: 0.55;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.nav-dropdown:hover .nav-caret,
.nav-dropdown:focus-within .nav-caret { opacity: 1; transform: translateY(1px); }
.nav-submenu {
  position: absolute;
  top: 100%;
  left: -10px;
  display: none;
  flex-direction: column;
  background: rgba(11, 11, 30, 0.96);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 6px 0;
  min-width: 160px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 50;
  margin-top: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu { display: flex; }
.nav-submenu a {
  display: block;
  padding: 8px 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color .25s var(--ease);
}
.nav-submenu a:hover,
.nav-submenu a.is-on { color: var(--lime); }

/* ---------- /web/about — what we ship + how we work ---------- */
.web-about-list,
.web-about-process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
  padding: 0;
  margin: 28px 0 40px;
  list-style: none;
}
.web-about-list li,
.web-about-process li {
  background: rgba(11, 11, 30, 0.55);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 22px 22px 24px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.web-about-list li:hover,
.web-about-process li:hover {
  border-color: rgba(255, 45, 214, 0.35);
  background: rgba(11, 11, 30, 0.78);
}
.web-about-eye,
.web-about-step {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 12px;
}
.web-about-list h3,
.web-about-process h4 {
  margin: 0 0 10px;
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.web-about-list p,
.web-about-process p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}
.web-about-cta-row {
  margin-top: 20px;
}
