/* Kerux Digital website
   Layout: a 12-column editorial grid on Paper, broken by full-width Night bands woven with kente-like module strips.
   Colour follows the Kerux brand: kente's gold, red, green and black (Brass, Herald, Verdigris, Ink) on Paper. */
:root {
  --paper: #f5f2ea;
  --paper-raised: #ffffff;
  --paper-sunk: #ebe7dc;
  --line: #dcd6c8;
  --line-strong: #8d897f;
  --ink: #16171a;
  --ink-muted: #5c5a54;
  --herald: #c43a1c;
  --herald-soft: #fdece5;
  --on-herald: #ffffff;
  --brass: #d9a520;
  --verdigris: #1b6b60;
  --verdigris-soft: #dcefeb;
  --night: #16171a;
  --night-2: #232428;
  --on-night: #f2efe7;
  --on-night-muted: #a9a69e;
  --herald-bright: #ff6b47;
  --brass-bright: #e0b13c;
  --verdigris-bright: #5ec4b2;
  --header-bg: rgba(245, 242, 234, 0.88);
  --shadow-pop: 0 1px 2px rgba(22, 23, 26, 0.06), 0 12px 32px rgba(22, 23, 26, 0.12);
  --font-display: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --wrap: 1240px;
  --gutter: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111214; --paper-raised: #1b1c1f; --paper-sunk: #0a0b0c; --line: #2e3034; --line-strong: #6c6a64;
    --ink: #f2efe7; --ink-muted: #a9a69e; --herald: #ff6b47; --herald-soft: #3b1910; --on-herald: #111214;
    --brass: #e0b13c; --verdigris: #5ec4b2; --verdigris-soft: #12302b; --night: #1b1c1f; --night-2: #26272b;
    --header-bg: rgba(17, 18, 20, 0.86); --shadow-pop: 0 1px 2px rgba(0,0,0,.5), 0 12px 32px rgba(0,0,0,.5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111214; --paper-raised: #1b1c1f; --paper-sunk: #0a0b0c; --line: #2e3034; --line-strong: #6c6a64;
  --ink: #f2efe7; --ink-muted: #a9a69e; --herald: #ff6b47; --herald-soft: #3b1910; --on-herald: #111214;
  --brass: #e0b13c; --verdigris: #5ec4b2; --verdigris-soft: #12302b; --night: #1b1c1f; --night-2: #26272b;
  --header-bg: rgba(17, 18, 20, 0.86); --shadow-pop: 0 1px 2px rgba(0,0,0,.5), 0 12px 32px rgba(0,0,0,.5);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img, svg, canvas { max-width: 100%; }
a { color: var(--herald); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--herald); outline-offset: 3px; border-radius: 2px; }
.band-night :focus-visible { outline-color: var(--herald-bright); }
::selection { background: var(--herald); color: var(--on-herald); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); margin: 0; text-wrap: balance; color: inherit; }
.display { font-size: clamp(44px, 7.4vw, 108px); line-height: 0.95; font-weight: 900; letter-spacing: -0.045em; }
.h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1; font-weight: 850; letter-spacing: -0.04em; }
.h2 { font-size: clamp(30px, 4vw, 52px); line-height: 1.04; font-weight: 800; letter-spacing: -0.03em; }
.h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.2; font-weight: 700; letter-spacing: -0.015em; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-muted); max-width: 62ch; margin: 0; }
.band-night .lead { color: var(--on-night-muted); }
.eyebrow {
  font-family: var(--font-mono); font-size: 12.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--herald); display: inline-flex; align-items: center; gap: 10px; margin: 0;
}
.band-night .eyebrow { color: var(--herald-bright); }
.eyebrow::before { content: ""; width: 10px; height: 10px; background: currentColor; border-radius: 0 0 10px 0; flex: none; }
p { margin: 0; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--ink-muted); }
.mono { font-family: var(--font-mono); }

/* the pattern-filled word */
.pattern-text {
  color: var(--herald);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Crect width='96' height='96' fill='%23c43a1c'/%3E%3Cpath d='M4 4H44A40 40 0 0 1 4 44Z' fill='%2316171a'/%3E%3Cpath d='M92 4V44A40 40 0 0 1 52 4Z' fill='%23d9a520'/%3E%3Cpath d='M4 92V52A40 40 0 0 1 44 92Z' fill='%23d9a520'/%3E%3Cpath d='M92 92H52A40 40 0 0 1 92 52Z' fill='%2316171a'/%3E%3C/svg%3E");
  background-size: 0.62em 0.62em;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: pattern-drift 18s linear infinite;
}
@keyframes pattern-drift { to { background-position: 3.1em 1.24em; } }

/* ---------- layout ---------- */
.wrap {
  width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
@media (max-width: 640px) { :root { --gutter: 18px; } body { font-size: 16px; } }
.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.band-night { background: var(--night); color: var(--on-night); position: relative; overflow: hidden; isolation: isolate; }
.band-sunk { background: var(--paper-sunk); }
.band-herald { background: var(--herald); color: var(--on-herald); position: relative; overflow: hidden; isolation: isolate; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: 40px; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head > * { min-width: 0; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }
.mudcloth { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }

/* ---------- header ---------- */
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 6px; }
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--header-bg); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: transform .45s var(--ease), border-color .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 76px; }
.brand { display: inline-flex; color: var(--ink); flex: none; }
.brand svg { height: 40px; width: auto; display: block; }
.lg-call { fill: var(--herald); }
.lg-ink { fill: currentColor; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 6px;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15.5px; background: none; border: 0; font-family: inherit; cursor: pointer;
}
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--herald); }
.nav-link .chev { transition: transform .3s var(--ease); }
.has-menu:hover .chev, .has-menu:focus-within .chev, .has-menu.is-open .chev { transform: rotate(180deg); }
.menu {
  position: absolute; top: calc(100% + 6px); left: -8px; min-width: 300px; list-style: none; margin: 0; padding: 8px;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-pop);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.is-open .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px; line-height: 1.3; }
.menu a small { display: block; font-weight: 400; color: var(--ink-muted); font-size: 13px; }
.menu a:hover { background: var(--paper-sunk); color: var(--ink); }
.menu svg { flex: none; }
.nav-tools { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; font-family: var(--font-mono); font-size: 12px; }
.lang a, .lang span { padding: 5px 10px; border-radius: 999px; text-decoration: none; color: var(--ink); line-height: 1; }
.lang span { background: var(--ink); color: var(--paper); }
.menu-btn { display: none; }
@media (max-width: 1080px) {
  .nav-links, .nav-tools .btn { display: none; }
  .menu-btn { display: inline-flex; margin-left: auto; align-items: center; gap: 8px; font: 600 15px var(--font-body); background: var(--ink); color: var(--paper); border: 0; border-radius: 999px; padding: 11px 16px; cursor: pointer; min-height: 44px; }
  .nav-tools { margin-left: auto; }
  .menu-btn { margin-left: 0; }
}

/* mobile menu */
.drawer {
  position: fixed; inset: 0; z-index: 70; background: var(--night); color: var(--on-night);
  padding: calc(18px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 50px) 40px); transition: clip-path .6s var(--ease); visibility: hidden;
}
.drawer.is-open { clip-path: circle(150% at calc(100% - 50px) 40px); visibility: visible; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer .brand { color: var(--on-night); }
.drawer .lg-call { fill: var(--herald-bright); }
.drawer-close { background: var(--on-night); color: var(--night); border: 0; border-radius: 999px; padding: 11px 16px; font: 600 15px var(--font-body); cursor: pointer; min-height: 44px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { color: var(--on-night); text-decoration: none; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; padding: 10px 0; border-bottom: 1px solid var(--night-2); line-height: 1.1; }
.drawer nav a.sub { font-size: 18px; font-weight: 600; padding: 9px 0 9px 18px; color: var(--on-night-muted); }
.drawer nav a:hover { color: var(--herald-bright); }
.drawer .lang { border-color: var(--on-night-muted); align-self: flex-start; }
.drawer .lang a { color: var(--on-night); }
.drawer .lang span { background: var(--on-night); color: var(--night); }

/* ---------- buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 22px;
  border-radius: 6px; font: 650 16px var(--font-body); text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transform: translate(var(--mx), var(--my)); transition: transform .25s var(--ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn--primary { background: var(--herald); color: var(--on-herald); }
.btn--primary:hover { background: var(--ink); color: var(--paper); }
.btn--ghost { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.band-night .btn--primary, .band-herald .btn--light { background: var(--herald-bright); color: #111214; }
.band-night .btn--primary:hover { background: var(--on-night); color: #111214; }
.band-night .btn--ghost { color: var(--on-night); border-color: #6c6a64; }
.band-night .btn--ghost:hover { border-color: var(--on-night); color: var(--on-night); }
.band-herald .btn--dark { background: #16171a; color: #f2efe7; }
.band-herald .btn--dark:hover { background: #f2efe7; color: #16171a; }
.band-herald .btn--outline { border-color: rgba(255,255,255,.7); color: #fff; }
.band-herald .btn--outline:hover { background: #fff; color: #c43a1c; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(56px, 7vw, 96px); position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.hero-art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 600px; justify-self: end; }
.hero-art canvas { width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: crosshair; }
.hero-art .hint { position: absolute; right: 0; bottom: -30px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 520px; justify-self: center; aspect-ratio: 4 / 3; }
}
.welcome { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); }
.welcome .word { display: inline-grid; overflow: hidden; height: 1.6em; }
.welcome .word b { font-family: var(--font-display); font-size: 17px; color: var(--ink); font-weight: 800; letter-spacing: -0.01em; display: block; line-height: 1.6em; }
.welcome .word b.swap { animation: word-in .55s var(--ease); }
@keyframes word-in { from { transform: translateY(100%); } to { transform: none; } }
.welcome .lang-name { padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; font-size: 11px; }
.hero-intro > * { animation: hero-rise .9s var(--ease) both; }
.hero-intro > *:nth-child(2) { animation-delay: .08s; }
.hero-intro > *:nth-child(3) { animation-delay: .16s; }
.hero-intro > *:nth-child(4) { animation-delay: .24s; }
@keyframes hero-rise { from { transform: translateY(26px); } to { transform: none; } }

/* inner page hero */
.page-hero { padding-block: clamp(28px, 4vw, 56px) clamp(56px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 48px; align-items: end; }
.page-hero-grid > * { min-width: 0; }
.page-hero .glyph { width: 100%; max-width: 300px; justify-self: end; }
@media (max-width: 860px) { .page-hero-grid { grid-template-columns: 1fr; } .page-hero .glyph { max-width: 180px; justify-self: start; } }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-muted); }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--herald); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line-strong); }

/* ---------- kente band (marquee) ---------- */
.kente { background: var(--night); color: var(--on-night); overflow: hidden; border-block: 1px solid var(--night-2); }
.kente-row { display: flex; width: max-content; }
.kente-row--text { padding-block: 18px; animation: marquee 48s linear infinite; }
.kente-row--weave { animation: marquee 36s linear infinite reverse; }
.kente:hover .kente-row { animation-play-state: paused; }
.kente-item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; font-size: clamp(22px, 3vw, 36px); font-weight: 800; letter-spacing: -0.02em; white-space: nowrap; }
.kente-item svg { width: 26px; height: 30px; flex: none; }
.kente-weave { display: block; height: 56px; width: auto; flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1080px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }
.svc-card {
  --rx: 0deg; --ry: 0deg;
  position: relative; display: flex; flex-direction: column; gap: 16px; padding: 28px 26px 26px; min-height: 340px;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 12px; color: var(--ink); text-decoration: none;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)); transition: transform .35s var(--ease), border-color .25s, box-shadow .35s;
  transform-style: preserve-3d;
}
.svc-card:hover { border-color: var(--ink); box-shadow: var(--shadow-pop); color: var(--ink); }
.svc-card .kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--herald); }
.svc-card p { color: var(--ink-muted); font-size: 16px; }
.svc-card .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--ink); }
.svc-card .more svg { transition: transform .3s var(--ease); }
.svc-card:hover .more svg { transform: translateX(6px); }
.svc-card--night { background: var(--night); color: var(--on-night); border-color: var(--night); }
.svc-card--night:hover { color: var(--on-night); border-color: var(--herald-bright); }
.svc-card--night p { color: var(--on-night-muted); }
.svc-card--night .kicker { color: var(--herald-bright); }
.svc-card--night .more { color: var(--on-night); }

/* the animated module glyph */
.glyph-k { width: 52px; height: 62px; overflow: visible; flex: none; }
.glyph-k .p { transition: transform .6s var(--ease), fill .3s; transform-box: fill-box; transform-origin: center; }
.glyph-k .ink { fill: var(--ink); }
.glyph-k .hl { fill: var(--herald); }
.glyph-k .dm { fill: var(--line); }
.svc-card--night .glyph-k .ink, .band-night .glyph-k .ink { fill: var(--on-night); }
.svc-card--night .glyph-k .hl, .band-night .glyph-k .hl { fill: var(--herald-bright); }
.svc-card--night .glyph-k .dm, .band-night .glyph-k .dm { fill: #3a3b40; }
.svc-card:hover .glyph-k .r-call, .svc-row:hover .glyph-k .r-call { transform: translate(5px, -5px) rotate(-90deg); }
.svc-card:hover .glyph-k .r-ground, .svc-row:hover .glyph-k .r-ground { transform: translate(4px, 4px); }
.svc-card:hover .glyph-k .r-bar, .svc-row:hover .glyph-k .r-bar { transform: translateY(-4px); }

/* service rows (services overview) */
.svc-rows { border-top: 1px solid var(--line); }
.svc-row { display: grid; grid-template-columns: 72px minmax(0, 0.9fr) minmax(0, 1.1fr) auto; gap: 24px 40px; align-items: start; padding-block: 40px; border-bottom: 1px solid var(--line); }
.svc-row > * { min-width: 0; }
.svc-row ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 20px; }
.svc-row li { display: flex; gap: 10px; align-items: baseline; color: var(--ink-muted); font-size: 16px; }
.svc-row li::before { content: ""; width: 9px; height: 9px; flex: none; border-radius: 0 0 9px 0; background: var(--herald); transform: translateY(-1px); }
@media (max-width: 960px) { .svc-row { grid-template-columns: 56px minmax(0, 1fr); } .svc-row > :nth-child(3), .svc-row > :nth-child(4) { grid-column: 2; } .svc-row ul { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: baseline; }
.check-list li::before { content: ""; width: 12px; height: 12px; flex: none; border-radius: 0 0 12px 0; background: var(--herald); transform: translateY(1px); }
.band-night .check-list li::before { background: var(--herald-bright); }
.split { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 40px 64px; align-items: center; }
.split > * { min-width: 0; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; } }
.mini-glyph { width: 100%; max-width: 320px; aspect-ratio: 1; display: block; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.feature { display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.feature p { color: var(--ink-muted); font-size: 16px; }
.feature .icon { width: 44px; height: 44px; border-radius: 10px; background: var(--herald-soft); color: var(--herald); display: grid; place-items: center; }
.band-night .feature { background: var(--night-2); border-color: var(--night-2); }
.band-night .feature p { color: var(--on-night-muted); }
.band-night .feature .icon { background: rgba(255,107,71,.14); color: var(--herald-bright); }

.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.points > div { padding: 28px 24px 8px 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.points > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.points p { color: var(--ink-muted); font-size: 16px; }
.band-night .points { border-top-color: #3a3b40; }
.band-night .points > div + div { border-left-color: #3a3b40; }
.band-night .points p { color: var(--on-night-muted); }
@media (max-width: 960px) { .points { grid-template-columns: repeat(2, minmax(0, 1fr)); } .points > div:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .points { grid-template-columns: 1fr; } .points > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- manifesto ---------- */
.manifesto { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 32px 72px; align-items: start; }
.manifesto > * { min-width: 0; }
.manifesto .big { font-size: clamp(26px, 2.8vw, 38px); line-height: 1.22; font-weight: 700; letter-spacing: -0.02em; }
.manifesto .big em { font-style: normal; color: var(--brass-bright); }
@media (max-width: 860px) { .manifesto { grid-template-columns: 1fr; } }
.greek { font-size: clamp(64px, 10vw, 150px); font-weight: 900; letter-spacing: -0.05em; line-height: .9; color: var(--herald-bright); }

/* ---------- process ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 44px; }
.steps::before, .steps .fill { content: ""; position: absolute; top: 14px; left: 0; height: 3px; border-radius: 3px; }
.steps::before { right: 0; background: var(--line); }
.steps .fill { width: calc(var(--p, 0) * 100%); background: var(--herald); transition: width .2s linear; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.step::before { content: ""; position: absolute; top: -40px; left: 0; width: 22px; height: 22px; background: var(--paper); border: 3px solid var(--line-strong); border-radius: 0 0 22px 0; transition: background .3s, border-color .3s; }
.step.is-on::before { background: var(--herald); border-color: var(--herald); }
.step .num { font-family: var(--font-mono); font-size: 13px; color: var(--herald); }
.step p { color: var(--ink-muted); font-size: 16px; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; padding-top: 0; padding-left: 44px; gap: 32px; }
  .steps::before, .steps .fill { top: 0; left: 14px; width: 3px; height: auto; bottom: 0; }
  .steps .fill { height: calc(var(--p, 0) * 100%); bottom: auto; width: 3px; }
  .step::before { top: 2px; left: -41px; }
}

/* ---------- products ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .prod-grid { grid-template-columns: 1fr; } }
.prod-card { display: grid; grid-template-rows: auto 1fr; border-radius: 12px; overflow: hidden; background: var(--paper-raised); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s; }
.prod-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-pop); color: var(--ink); }
.prod-card .art { height: 220px; position: relative; overflow: hidden; }
.prod-card .art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.prod-card .art .tag { position: absolute; left: 20px; bottom: 18px; background: var(--paper-raised); color: var(--ink); font-family: var(--font-mono); font-size: 12px; padding: 6px 10px; border-radius: 999px; }
.prod-card .body { padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.prod-card .name { font-size: clamp(30px, 3vw, 40px); font-weight: 900; letter-spacing: -0.035em; line-height: 1; }
.prod-card p { color: var(--ink-muted); }
.band-night .prod-card { background: var(--night-2); border-color: var(--night-2); color: var(--on-night); }
.band-night .prod-card p { color: var(--on-night-muted); }

/* ---------- culture / art ---------- */
.art-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.art-strip figure { margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.art-strip canvas { width: 100%; aspect-ratio: 4 / 5; display: block; border-radius: 4px; cursor: pointer; }
.art-strip figure:first-child canvas { aspect-ratio: auto; height: 100%; min-height: 320px; }
.art-strip figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--on-night-muted); display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .art-strip { grid-template-columns: 1fr 1fr; } .art-strip figure:first-child { grid-column: 1 / -1; } .art-strip figure:first-child canvas { min-height: 0; aspect-ratio: 16 / 10; } }

/* ---------- CTA band ---------- */
.cta-band { padding-block: clamp(64px, 8vw, 112px); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 32px 56px; align-items: end; }
.cta-grid > * { min-width: 0; }
.cta-band .h1 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.92); max-width: 52ch; }
.cta-art { position: absolute; right: 0; top: 0; bottom: 0; width: 42%; z-index: -1; opacity: .9; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } .cta-art { width: 100%; opacity: .2; } }
:root[data-theme="dark"] .band-herald { background: #a8301a; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .band-herald { background: #a8301a; } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px 0; font-size: clamp(18px, 1.7vw, 21px); font-weight: 700; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 32px; height: 32px; flex: none; border-radius: 0 0 32px 0; background: var(--paper-sunk); position: relative; transition: transform .4s var(--ease), background .3s; }
.faq summary .pm::before, .faq summary .pm::after { content: ""; position: absolute; left: 9px; top: 15px; width: 14px; height: 2px; background: var(--ink); transition: transform .4s var(--ease); }
.faq summary .pm::after { transform: rotate(90deg); }
.faq details[open] summary .pm { background: var(--herald); transform: rotate(90deg); }
.faq details[open] summary .pm::before, .faq details[open] summary .pm::after { background: var(--on-herald); }
.faq details[open] summary .pm::after { transform: rotate(0); }
.faq .answer { padding: 0 56px 26px 0; color: var(--ink-muted); max-width: 72ch; }
.faq details[open] .answer { animation: faq-open .45s var(--ease); }
@keyframes faq-open { from { transform: translateY(-8px); } to { transform: none; } }

/* ---------- Kai MCP demo ---------- */
.demo { background: var(--night); color: var(--on-night); border-radius: 16px; overflow: hidden; border: 1px solid var(--night-2); }
.demo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--night-2); font-family: var(--font-mono); font-size: 12px; color: var(--on-night-muted); }
.demo-bar .dots { display: flex; gap: 6px; }
.demo-bar .dots i { width: 10px; height: 10px; border-radius: 999px; background: #3a3b40; display: block; }
.chat { padding: 22px; display: flex; flex-direction: column; gap: 14px; min-height: 380px; }
.msg { max-width: 88%; padding: 12px 16px; border-radius: 14px; font-size: 15px; line-height: 1.5; animation: msg-in .45s var(--ease); }
.msg--user { align-self: flex-end; background: var(--herald-bright); color: #111214; border-bottom-right-radius: 4px; }
.msg--ai { align-self: flex-start; background: var(--night-2); border-bottom-left-radius: 4px; }
.msg--ai ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.msg--ai li { display: flex; gap: 10px; align-items: flex-start; font-family: var(--font-mono); font-size: 13px; color: var(--on-night-muted); animation: msg-in .35s var(--ease); }
.msg--ai li.done { color: var(--on-night); }
.msg--ai li .tick { width: 16px; height: 16px; flex: none; margin-top: 2px; border-radius: 0 0 16px 0; background: #3a3b40; transition: background .3s; }
.msg--ai li.done .tick { background: var(--verdigris-bright); }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 999px; background: var(--on-night-muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
@keyframes msg-in { from { transform: translateY(10px) scale(.98); } to { transform: none; } }
.prompts { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 22px; }
.prompt-chip { font: 500 13.5px var(--font-body); color: var(--on-night); background: transparent; border: 1px solid #4a4b50; border-radius: 999px; padding: 9px 14px; cursor: pointer; min-height: 40px; text-align: left; }
.prompt-chip:hover, .prompt-chip[aria-pressed="true"] { border-color: var(--herald-bright); color: var(--herald-bright); }

/* ---------- Ofisi demo ---------- */
.ofisi { background: var(--paper-raised); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-pop); }
.ofisi-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ofisi-top b { font-size: 18px; font-weight: 900; letter-spacing: -0.03em; }
.ofisi-tabs { display: flex; gap: 4px; background: var(--paper-sunk); padding: 4px; border-radius: 8px; }
.ofisi-tabs button { font: 600 13.5px var(--font-body); border: 0; background: transparent; color: var(--ink-muted); padding: 8px 12px; border-radius: 6px; cursor: pointer; min-height: 36px; }
.ofisi-tabs button[aria-selected="true"] { background: var(--paper-raised); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.ofisi-body { padding: 18px; }
.ofisi-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.ofisi-stats div { background: var(--paper-sunk); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ofisi-stats span { font-size: 12.5px; color: var(--ink-muted); }
.ofisi-stats b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ofisi-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.ofisi-table th { text-align: left; font: 500 11.5px var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); padding: 8px 8px; border-bottom: 1px solid var(--line); }
.ofisi-table td { padding: 11px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; font-variant-numeric: tabular-nums; }
.ofisi-table tr { transition: background .3s; }
.ofisi-table tr.flash { background: var(--verdigris-soft); }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.pill--paid { background: var(--verdigris-soft); color: var(--verdigris); }
.pill--due { background: var(--herald-soft); color: var(--herald); }
.pill--draft { background: var(--paper-sunk); color: var(--ink-muted); }
.mini-btn { font: 600 12.5px var(--font-body); border: 1px solid var(--line-strong); background: transparent; color: var(--ink); border-radius: 6px; padding: 6px 10px; cursor: pointer; min-height: 32px; white-space: nowrap; }
.mini-btn:hover { border-color: var(--ink); }
.task { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--line); }
.task input { width: 20px; height: 20px; accent-color: var(--verdigris); }
.task label { flex: 1; min-width: 0; }
.task.is-done label { text-decoration: line-through; color: var(--ink-muted); }
.task .who { font-size: 12.5px; color: var(--ink-muted); white-space: nowrap; }
.table-scroll { overflow-x: auto; }
.example-tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-muted); }

/* ---------- pattern weaver ---------- */
.weaver { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr); gap: 24px; align-items: start; }
@media (max-width: 860px) { .weaver { grid-template-columns: 1fr; } }
.loom-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 5px; background: var(--night); padding: 10px; border-radius: 12px; }
.loom-cell { aspect-ratio: 1; border: 0; padding: 0; background: transparent; cursor: pointer; display: block; }
.loom-cell svg { width: 100%; height: 100%; display: block; transition: transform .4s var(--ease); }
.loom-cell:hover svg { transform: scale(.92); }
.weaver-tools { display: flex; flex-direction: column; gap: 18px; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { width: 44px; height: 44px; border-radius: 0 0 44px 0; border: 2px solid var(--line); cursor: pointer; }
.swatch[aria-pressed="true"] { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---------- contact builder ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }
.form { display: flex; flex-direction: column; gap: 26px; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 16px; padding: clamp(22px, 3vw, 36px); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field legend { font-weight: 650; font-size: 15px; padding: 0; }
.field fieldset { border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.field input, .field select, .field textarea {
  font: 400 16px var(--font-body); color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong);
  border-radius: 6px; padding: 12px 14px; min-height: 48px; width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--herald); outline-offset: 1px; border-color: var(--herald); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-weight: 600; font-size: 15px; transition: background .2s, color .2s, border-color .2s; }
.chip span::before { content: ""; width: 12px; height: 12px; border-radius: 0 0 12px 0; background: var(--line); transition: background .2s, transform .35s var(--ease); }
.chip input:checked + span { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.chip input:checked + span::before { background: var(--herald-bright); transform: rotate(-90deg); }
.chip input:focus-visible + span { outline: 2px solid var(--herald); outline-offset: 2px; }
.result { border: 2px solid var(--herald); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; gap: 14px; background: var(--herald-soft); }
.result pre { white-space: pre-wrap; font: 400 14px/1.55 var(--font-mono); margin: 0; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 8px; padding: 14px; max-height: 320px; overflow: auto; color: var(--ink); }
.direct { display: flex; flex-direction: column; gap: 16px; }
.direct .card { padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-raised); display: flex; flex-direction: column; gap: 6px; }
.direct .card b { font-size: 18px; }
.copy-line { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.copy-line code { font: 500 15px var(--font-mono); user-select: all; word-break: break-all; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: var(--on-night); padding-block: 72px calc(32px + env(safe-area-inset-bottom, 0px)); position: relative; overflow: hidden; isolation: isolate; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.site-footer .brand { color: var(--on-night); }
.site-footer .brand svg { height: 48px; }
.site-footer .lg-call { fill: var(--herald-bright); }
.site-footer h3 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-muted); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 9px; }
.site-footer a { color: var(--on-night); text-decoration: none; }
.site-footer a:hover { color: var(--herald-bright); }
.foot-tag { font-size: clamp(26px, 3vw, 36px); font-weight: 850; letter-spacing: -0.03em; line-height: 1.05; margin-top: 22px; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid #3a3b40; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--on-night-muted); }
.foot-weave { display: block; width: 100%; height: 40px; margin-top: 40px; }

/* ---------- effects ---------- */
.progress { position: fixed; top: env(safe-area-inset-top, 0px); left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--s, 0)); background: var(--herald); z-index: 80; pointer-events: none; }
[data-rise].will-rise { transform: translateY(34px); transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
[data-rise].will-rise.in { transform: none; }
.cursor { position: fixed; left: 0; top: 0; width: 18px; height: 18px; pointer-events: none; z-index: 90; background: var(--herald); border-radius: 0 0 18px 0; transform: translate(-50%, -50%); transition: width .3s var(--ease), height .3s var(--ease), border-radius .3s, opacity .3s; opacity: 0; mix-blend-mode: normal; }
.cursor.on { opacity: .9; }
.cursor.big { width: 46px; height: 46px; border-radius: 0 0 46px 0; opacity: .35; }
.wipe { position: fixed; inset: 0; z-index: 95; pointer-events: none; display: grid; grid-template-columns: repeat(6, 1fr); visibility: hidden; }
.wipe i { display: block; background: var(--night); transform: scaleY(0); transform-origin: 50% 100%; }
.wipe i:nth-child(odd) { background: var(--herald); }
.wipe i:nth-child(3n) { background: var(--brass); }
.wipe.cover { visibility: visible; }
.wipe.cover i { animation: wipe-in .5s var(--ease) forwards; animation-delay: calc(var(--k) * 45ms); }
html.wipe-out .wipe { visibility: visible; }
html.wipe-out .wipe i { transform: scaleY(1); transform-origin: 50% 0; animation: wipe-out .6s var(--ease) forwards; animation-delay: calc(var(--k) * 45ms + 60ms); }
@keyframes wipe-in { to { transform: scaleY(1); } }
@keyframes wipe-out { to { transform: scaleY(0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .kente-row { animation: none !important; }
  [data-rise].will-rise { transform: none; }
  .cursor, .wipe { display: none !important; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.glyph-k.glyph-sm { width: 22px; height: 26px; flex: none; }
.band-night .step p, .band-night .points p, .band-night .feature p { color: var(--on-night-muted); }
.band-night .step::before { background: var(--night); border-color: #6b6a66; }
.band-night .step.is-on::before { background: var(--herald-bright); border-color: var(--herald-bright); }
.band-night .step .num { color: var(--herald-bright); }

/* painted paper grain */
:root { --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .045 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
body, .band-sunk, .band-herald, .prod-card .body, .svc-card { background-image: var(--grain); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- v3: minimal abstract ---------- */
.pattern-text { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: currentColor !important; color: var(--herald) !important; animation: none !important; }
.cursor { display: none !important; }
.hero-art canvas { cursor: default; }
.index-row { border-block: 1px solid var(--line); }
.index-row .wrap { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ix { display: flex; flex-direction: column; gap: 10px; padding: 28px 20px 26px; color: var(--ink); text-decoration: none; border-left: 1px solid var(--line); }
.ix:first-child { border-left: 0; padding-left: 0; }
.ix svg { width: 40px; height: 40px; margin-bottom: 8px; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.ix:hover svg, .ix:focus-visible svg { transform: rotate(90deg); }
.ix .n { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); }
.ix .t { font-weight: 750; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em; }
.ix svg.c1 { fill: var(--herald); } .ix svg.c2 { fill: var(--brass); } .ix svg.c3 { fill: var(--verdigris); } .ix svg.c4 { fill: var(--ink); }
@media (max-width: 760px) {
  .index-row .wrap { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ix:nth-child(4) { border-left: 0; padding-left: 0; }
  .ix:nth-child(n+4) { border-top: 1px solid var(--line); }
  .ix { padding: 20px 14px; }
}
.art-strip--one { grid-template-columns: 1fr !important; }
.art-strip--one canvas { aspect-ratio: 21 / 8 !important; }
@media (max-width: 760px) { .art-strip--one canvas { aspect-ratio: 4 / 3 !important; } }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1080px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .grid-4 { grid-template-columns: 1fr; } }
.feature .kicker { font-family: var(--font-mono); font-size: 12px; color: var(--ink-muted); text-transform: uppercase; letter-spacing: .06em; }
.feature .check-list { margin-top: 4px; font-size: 15px; }
.band-night .feature { background: var(--night-2); border-color: #34353a; color: var(--on-night); }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: 4px 0 0; font-family: var(--font-mono); font-size: 13px; color: var(--ink-muted); }
.facts li + li::before { content: "·"; margin-right: 18px; }
.works { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.works li { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1080px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .plans { grid-template-columns: 1fr; } }
.plan { display: flex; flex-direction: column; gap: 10px; padding: 28px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper-raised, var(--paper)); }
.plan--hl { border-color: var(--herald); box-shadow: inset 0 3px 0 var(--herald); }
.plan .price { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; }
.plan .per { font-size: 13px; color: var(--ink-muted); min-height: 2.6em; }
.plan .check-list { flex: 1; margin-bottom: 12px; }
.plan .btn { align-self: flex-start; }
.inline-link { color: var(--herald); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.inline-link:hover { text-decoration-thickness: 2px; }
.inline-link:has(svg) { display: inline-flex; gap: 4px; align-items: center; }
.band-night .inline-link { color: var(--herald-bright); }
.inline-link svg { width: 14px; height: 14px; }

/* location suggestion */
.geo-hint { position: fixed; z-index: 60; left: max(16px, env(safe-area-inset-left)); bottom: max(16px, env(safe-area-inset-bottom)); max-width: min(380px, calc(100vw - 32px)); display: flex; gap: 12px; align-items: flex-start; background: var(--ink); color: var(--paper); padding: 14px 14px 14px 18px; border-radius: 12px; box-shadow: 0 12px 40px rgba(0,0,0,.25); transform: translateY(calc(100% + 40px)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.geo-hint.on { transform: none; }
.geo-hint p { margin: 0; font-size: 15px; line-height: 1.45; }
.geo-hint a { color: var(--herald-bright, #ff6b47); font-weight: 650; }
.geo-close { flex: none; background: none; border: 0; color: inherit; font-size: 22px; line-height: 1; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; opacity: .75; }
.geo-close:hover { opacity: 1; background: rgba(255,255,255,.08); }
@media (prefers-reduced-motion: reduce) { .geo-hint { transition: none; } }
.country-group { border-top: 1px solid var(--line); padding-top: 24px; }
.country-list { list-style: none; padding: 0; margin: 16px 0 0; columns: 4 200px; column-gap: 24px; }
.country-list li { break-inside: avoid; padding: 5px 0; }
.country-list a { color: var(--ink); text-decoration: none; }
.country-list a:hover { color: var(--herald); text-decoration: underline; }

[hidden] { display: none !important; }

/* language menus */
.lang-more { position: relative; }
.lang-more summary { list-style: none; cursor: pointer; font: 600 13px var(--font-mono); border: 1px solid var(--line-strong); border-radius: 999px; padding: 6px 10px; min-height: 32px; display: inline-flex; align-items: center; }
.lang-more summary::-webkit-details-marker { display: none; }
.lang-menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; z-index: 70; background: var(--paper-raised); border: 1px solid var(--line); border-radius: 10px; padding: 6px; min-width: 170px; box-shadow: 0 12px 30px rgba(0,0,0,.12); display: flex; flex-direction: column; }
.lang-menu a, .lang-menu span { padding: 8px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 15px; }
.lang-menu a:hover { background: var(--paper-sunk); }
.lang-menu span[aria-current] { font-weight: 700; color: var(--herald); }
.nav-tools { gap: 10px; }
.lang--list { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.lang--list a, .lang--list span { color: var(--on-night); }
.foot-langs { display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: baseline; border-top: 1px solid #34353a; padding: 22px 0 6px; margin-top: 28px; }
.foot-langs ul { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0; }
.foot-langs a { color: var(--on-night); }
/* right-to-left languages */
[dir="rtl"] .eyebrow::before { margin-inline: 0 8px; }
[dir="rtl"] .btn svg, [dir="rtl"] .more svg { transform: scaleX(-1); }
[dir="rtl"] .check-list li { padding-inline: 26px 0; }
[dir="rtl"] body { font-family: var(--font-body), "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif; }

/* ---------- mobile fixes ---------- */
.wipe { overflow: hidden; }
.facts li + li::before { content: none; }
.facts { gap: 8px; }
.facts li { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; }
.site-footer .foot-langs ul { flex-direction: row; flex-wrap: wrap; gap: 6px 18px; }
.drawer .lang--list { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.drawer .lang--list a, .drawer .lang--list span { color: var(--on-night); font-size: 16px; text-decoration: none; }
.drawer .lang--list span[aria-current] { color: var(--herald-bright); font-weight: 700; }
@media (max-width: 760px) {
  .nav-tools { display: none !important; }
  .menu-btn { margin-left: auto; }
  [dir="rtl"] .menu-btn { margin-left: 0; margin-right: auto; }
  .page-hero .mini-glyph { display: none; }
  .page-hero-grid { grid-template-columns: 1fr !important; }
  .points, .points[style], .steps[style], .svc-grid, .svc-grid[style], .grid-2, .grid-3, .grid-4, .plans { grid-template-columns: 1fr !important; }
  .points > * { border-left: 0 !important; border-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  .points > div + div { border-top: 1px solid var(--line); }
  .band-night .points > div + div { border-top-color: #34353a; }
  .split { grid-template-columns: 1fr !important; }
  .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .ofisi-table { min-width: 520px; }
  .ofisi-table td { white-space: nowrap; }
  .ofisi-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ofisi-stats b { font-size: 15px; white-space: nowrap; }
  .ofisi-stats span { font-size: 11px; }
  .ofisi-top { flex-wrap: wrap; gap: 10px; }
  .cta-grid { grid-template-columns: 1fr !important; }
  .cta-art { opacity: .35; }
  .hero-art { max-height: 360px; }
  .btn-row { flex-wrap: wrap; }
  .display { font-size: clamp(38px, 11vw, 56px); }
  .h1 { font-size: clamp(32px, 9vw, 44px); }
  .eyebrow { letter-spacing: .06em; }
}
.split > *, .ofisi, .ofisi-body, .demo { min-width: 0; max-width: 100%; }
@media (max-width: 760px) {
  .works li { padding: 0; }
  .works li a, .works li > span { display: inline-flex; align-items: center; min-height: 40px; padding: 8px 16px; }
}
.table-scroll { position: relative; }
@media (max-width: 760px) { .feature .h3 a { display: inline-block; padding: 4px 0; } }
@media (max-width: 760px) { .ofisi-stats b { font-size: 14px; white-space: normal; line-height: 1.15; overflow-wrap: anywhere; } .ofisi-stats > div { min-width: 0; } }

/* office address */
address.addr{font-style:normal;line-height:1.5}
.site-footer address.addr{font-size:14px}
.hp{position:absolute!important;left:0!important;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.form{position:relative}

/* dust specks on dark backgrounds */
:root { --dust: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='263' height='263'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='171.2' cy='19.1' r='0.40' opacity='0.20'/%3E%3Ccircle cx='15.3' cy='133.5' r='0.46' opacity='0.26'/%3E%3Ccircle cx='18.4' cy='23.9' r='0.31' opacity='0.27'/%3E%3Ccircle cx='32.6' cy='58.7' r='0.43' opacity='0.37'/%3E%3Ccircle cx='151.8' cy='104.3' r='0.49' opacity='0.41'/%3E%3Ccircle cx='225.8' cy='76.2' r='0.59' opacity='0.17'/%3E%3Ccircle cx='81.1' cy='214.6' r='0.34' opacity='0.19'/%3E%3Ccircle cx='168.0' cy='97.9' r='0.35' opacity='0.31'/%3E%3Ccircle cx='15.7' cy='54.2' r='0.46' opacity='0.18'/%3E%3Ccircle cx='82.6' cy='154.0' r='0.50' opacity='0.27'/%3E%3Ccircle cx='208.9' cy='183.8' r='0.44' opacity='0.24'/%3E%3Ccircle cx='138.1' cy='230.2' r='0.37' opacity='0.31'/%3E%3Ccircle cx='257.8' cy='31.1' r='0.52' opacity='0.23'/%3E%3Ccircle cx='40.0' cy='128.6' r='0.43' opacity='0.36'/%3E%3Ccircle cx='201.1' cy='150.7' r='0.31' opacity='0.33'/%3E%3Ccircle cx='182.9' cy='156.3' r='0.56' opacity='0.24'/%3E%3Ccircle cx='220.9' cy='248.5' r='0.47' opacity='0.28'/%3E%3Ccircle cx='16.0' cy='184.5' r='0.44' opacity='0.33'/%3E%3Ccircle cx='216.2' cy='74.8' r='0.49' opacity='0.42'/%3E%3Ccircle cx='5.9' cy='121.4' r='0.42' opacity='0.33'/%3E%3Ccircle cx='15.5' cy='202.0' r='0.35' opacity='0.19'/%3E%3Ccircle cx='102.8' cy='229.2' r='0.34' opacity='0.22'/%3E%3Ccircle cx='144.5' cy='232.3' r='0.32' opacity='0.28'/%3E%3Ccircle cx='73.2' cy='109.2' r='0.55' opacity='0.38'/%3E%3Ccircle cx='251.9' cy='39.7' r='0.41' opacity='0.39'/%3E%3Ccircle cx='61.4' cy='127.5' r='0.35' opacity='0.22'/%3E%3Ccircle cx='1.1' cy='110.2' r='0.48' opacity='0.23'/%3E%3Ccircle cx='250.7' cy='181.6' r='0.41' opacity='0.31'/%3E%3Ccircle cx='177.8' cy='14.2' r='0.45' opacity='0.32'/%3E%3Ccircle cx='230.0' cy='209.8' r='0.57' opacity='0.36'/%3E%3Ccircle cx='27.2' cy='166.8' r='0.42' opacity='0.26'/%3E%3Ccircle cx='54.9' cy='42.7' r='0.32' opacity='0.18'/%3E%3Ccircle cx='0.1' cy='39.8' r='0.40' opacity='0.17'/%3E%3Ccircle cx='6.7' cy='229.9' r='0.33' opacity='0.25'/%3E%3C/g%3E%3C/svg%3E"), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='419' height='419'%3E%3Cg fill='%23fff'%3E%3Ccircle cx='90.5' cy='332.1' r='1.12' opacity='0.12'/%3E%3Ccircle cx='1.3' cy='155.5' r='1.08' opacity='0.10'/%3E%3Ccircle cx='97.5' cy='17.7' r='1.18' opacity='0.10'/%3E%3Ccircle cx='14.3' cy='137.8' r='1.21' opacity='0.13'/%3E%3Ccircle cx='64.9' cy='342.5' r='1.23' opacity='0.11'/%3E%3Ccircle cx='189.9' cy='231.3' r='0.28' opacity='0.27'/%3E%3Ccircle cx='78.3' cy='15.6' r='0.34' opacity='0.19'/%3E%3Ccircle cx='326.9' cy='87.4' r='0.47' opacity='0.14'/%3E%3Ccircle cx='316.3' cy='319.6' r='0.49' opacity='0.26'/%3E%3Ccircle cx='51.3' cy='199.6' r='0.40' opacity='0.23'/%3E%3Ccircle cx='386.8' cy='371.9' r='0.46' opacity='0.14'/%3E%3Ccircle cx='189.1' cy='161.6' r='0.35' opacity='0.17'/%3E%3Ccircle cx='11.2' cy='39.1' r='0.50' opacity='0.17'/%3E%3Ccircle cx='207.8' cy='206.0' r='0.43' opacity='0.28'/%3E%3Ccircle cx='93.0' cy='255.1' r='0.39' opacity='0.23'/%3E%3Ccircle cx='75.7' cy='71.3' r='0.39' opacity='0.21'/%3E%3Ccircle cx='145.2' cy='250.2' r='0.34' opacity='0.27'/%3E%3Ccircle cx='27.5' cy='340.9' r='0.33' opacity='0.12'/%3E%3Ccircle cx='286.3' cy='283.2' r='0.44' opacity='0.17'/%3E%3Ccircle cx='170.5' cy='414.4' r='0.47' opacity='0.27'/%3E%3Ccircle cx='370.0' cy='205.7' r='0.49' opacity='0.21'/%3E%3Ccircle cx='367.1' cy='68.0' r='0.34' opacity='0.14'/%3E%3Ccircle cx='324.3' cy='202.4' r='0.27' opacity='0.24'/%3E%3Ccircle cx='108.1' cy='121.5' r='0.46' opacity='0.11'/%3E%3Ccircle cx='29.1' cy='141.7' r='0.35' opacity='0.13'/%3E%3Ccircle cx='312.5' cy='200.7' r='0.47' opacity='0.28'/%3E%3Ccircle cx='220.2' cy='305.3' r='0.31' opacity='0.27'/%3E%3Ccircle cx='351.2' cy='333.2' r='0.26' opacity='0.14'/%3E%3Ccircle cx='178.5' cy='243.5' r='0.47' opacity='0.21'/%3E%3Ccircle cx='223.9' cy='115.6' r='0.46' opacity='0.16'/%3E%3C/g%3E%3C/svg%3E"); }
.band-night, .site-footer, .svc-card--night, .drawer, .kente, .demo { background-image: var(--dust); background-repeat: repeat; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body, :root:not([data-theme="light"]) .band-sunk { background-image: var(--dust); } }
:root[data-theme="dark"] body, :root[data-theme="dark"] .band-sunk { background-image: var(--dust); }
