/* Dancel Innovation Group — site styles
   Palette: black + light purple. Logical properties are used throughout so the
   same stylesheet can also serve right-to-left languages if one is added later. */

:root {
  --ink: #08070d;
  --ink-2: #0f0d17;
  --ink-3: #171424;
  --line: rgba(196, 181, 253, 0.16);
  --line-strong: rgba(196, 181, 253, 0.36);
  --lav: #c4b5fd;
  --lav-pale: #e7e0ff;
  --lav-deep: #8b7be0;
  --text: #edeaf7;
  --muted: #a9a4bf;
  --font: system-ui, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1200px;
  --header-h: 72px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: var(--lav); text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--lav-pale); }

:focus-visible { outline: 2px solid var(--lav-pale); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--lav); color: var(--ink); }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; inset-inline-start: 16px; top: -64px; z-index: 100;
  background: var(--lav); color: var(--ink); padding: 10px 16px; font-weight: 500; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Headings ---------- */
.display, h1 {
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #fff;
}
h2 {
  font-weight: 300;
  font-size: clamp(1.9rem, 3.3vw, 2.85rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  text-wrap: balance;
}
h3 { font-weight: 500; font-size: 1.2rem; line-height: 1.3; color: var(--lav-pale); }
:lang(he) h1, :lang(he) h2, :lang(he) .display { letter-spacing: 0; line-height: 1.14; }
:lang(he) body, body:lang(he) { line-height: 1.7; }

.lead { font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--muted); max-width: 38em; line-height: 1.6; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(8, 7, 13, 0.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; margin-inline-end: auto; }
.brand-name { font-weight: 600; font-size: 1.28rem; letter-spacing: -0.01em; line-height: 1; }
.brand-sub { white-space: nowrap; font-weight: 300; color: var(--muted); font-size: 0.95rem; line-height: 1; padding-inline-start: 12px; border-inline-start: 1px solid var(--line-strong); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { color: var(--text); text-decoration: none; font-size: 0.98rem; font-weight: 400; padding-block: 6px; border-bottom: 1px solid transparent; }
.nav a:hover { color: #fff; border-bottom-color: var(--lav); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--lav); }

.header-actions { display: flex; align-items: center; gap: 16px; }
.lang-nav { display: inline-flex; align-items: center; gap: 2px; padding: 3px; border: 1px solid var(--line); border-radius: 4px; }
.lang-opt { display: inline-flex; align-items: center; gap: 7px; padding: 5px 8px; border-radius: 3px; color: var(--muted); font-size: 0.78rem; letter-spacing: 0.06em; text-decoration: none; line-height: 1; }
.lang-opt b { font-weight: 500; }
a.lang-opt:hover { color: #fff; background: rgba(196, 181, 253, 0.1); }
.lang-opt.is-current { color: #fff; background: rgba(196, 181, 253, 0.16); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, 0.35); }
.flag { display: block; width: 22px; height: 15px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18); flex: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-strong); color: var(--text);
  width: 44px; height: 44px; border-radius: 3px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 18px; height: 1.5px; background: currentColor; position: relative; content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 500; font-size: 1rem; line-height: 1.2; text-align: center;
  padding: 14px 22px; border-radius: 3px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: background-color 0.18s, color 0.18s, border-color 0.18s;
}
.btn-primary { background: var(--lav); color: var(--ink); }
.btn-primary:hover { background: var(--lav-pale); color: var(--ink); }
.btn-ghost { border-color: var(--line-strong); color: var(--lav-pale); background: transparent; }
.btn-ghost:hover { border-color: var(--lav); color: #fff; background: rgba(196, 181, 253, 0.08); }
.btn-dark { background: var(--ink); color: var(--lav-pale); }
.btn-dark:hover { background: #000; color: #fff; }
.btn-small { padding: 10px 16px; font-size: 0.95rem; white-space: nowrap; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 104px) clamp(56px, 8vw, 112px); }
.hero::before {
  content: ""; position: absolute; width: min(900px, 90vw); aspect-ratio: 1; inset-block-start: -8%; inset-inline-end: -14%;
  background: radial-gradient(closest-side, rgba(139, 123, 224, 0.2), rgba(139, 123, 224, 0));
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 5.6vw, 4.9rem); max-width: 12.5em; text-wrap: balance; }
/* French and Spanish headlines run longer than English; keep them on a calmer scale. */
html[lang="fr"] .hero h1, html[lang="es"] .hero h1 { font-size: clamp(2.3rem, 4.5vw, 3.9rem); max-width: 14em; hyphens: manual; overflow-wrap: normal; }
.hero .lead { margin-top: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* ---------- Ring instrument (hero) ---------- */
.hero-seal { position: relative; max-width: 460px; width: 100%; margin-inline: auto; aspect-ratio: 1; display: grid; place-items: center; }
.hero-seal img { position: relative; width: 82%; height: auto; filter: drop-shadow(0 0 60px rgba(196,181,253,0.22)); }
.seal-orbit { position: absolute; inset: 0; width: 100%; height: 100%; }
.seal-orbit circle { fill: none; stroke: var(--lav); }
.seal-orbit .orbit-a { stroke-opacity: 0.22; stroke-width: 0.25; }
.seal-orbit .orbit-b { stroke-opacity: 0.4; stroke-width: 0.25; stroke-dasharray: 0.5 2.2; }
.hero-note { margin-top: 28px; color: var(--muted); font-size: 0.92rem; padding-inline-start: 14px; border-inline-start: 2px solid var(--lav-deep); }
.brand-seal { width: 40px; height: 40px; flex: none; display: block; }
.section-hub { background: radial-gradient(ellipse at 50% 60%, rgba(139,123,224,0.10), transparent 62%); }
.hub { position: relative; max-width: 1100px; margin: 48px auto 0; aspect-ratio: 1200 / 620; }
.hub-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-ring { fill: none; stroke: var(--lav); stroke-opacity: 0.16; stroke-dasharray: 2 7; }
.hub-ring-outer { stroke-opacity: 0.09; }
.hub .trace { fill: none; stroke: var(--lav-deep); stroke-opacity: 0.55; stroke-width: 1.6; transition: stroke 0.2s, stroke-opacity 0.2s; }
.hub .node { fill: var(--ink); stroke: var(--lav-deep); stroke-width: 2; transition: fill 0.2s, stroke 0.2s; }
.hub .trace.is-on { stroke: var(--lav); stroke-opacity: 1; stroke-width: 2.4; }
.hub .node.is-on { fill: var(--lav); stroke: var(--lav-pale); }
.hub .shield-out { fill: var(--ink-2); stroke: var(--lav); stroke-width: 2.4; stroke-linejoin: round; }
.hub .shield-fill-l { fill: var(--lav-deep); fill-opacity: 0.55; }
.hub .shield-fill-r { fill: var(--lav); fill-opacity: 0.85; }
.hub .dot { fill: var(--lav); fill-opacity: 0.5; }
.hub-seal-m { display: none; }
.hub-n { position: absolute; display: block; text-decoration: none; color: var(--text); width: 22%; padding: 10px 14px; border: 1px solid var(--line); background: rgba(15,13,23,0.82); border-radius: 2px; transition: border-color 0.2s, background 0.2s; }
.hub-n-name { display: block; font-weight: 600; font-size: clamp(0.95rem, 1.7vw, 1.3rem); color: #fff; }
.hub-n-tag { display: block; margin-top: 4px; font-size: clamp(0.72rem, 1.1vw, 0.86rem); color: var(--muted); line-height: 1.35; }
.hub-n.is-on, .hub-n:focus-visible { border-color: var(--lav); background: var(--ink-3); outline: none; }
.hub { direction: ltr; }

.hub-n-l1, .hub-n-l2, .hub-n-l3 { left: 0; text-align: right; }
.hub-n-r1, .hub-n-r2, .hub-n-r3 { right: 0; text-align: left; }
.hub-n-l1, .hub-n-r1 { top: 9%; } .hub-n-l2, .hub-n-r2 { top: 41%; } .hub-n-l3, .hub-n-r3 { top: 74%; }
.hub-all { text-align: center; margin-top: 40px; }
@media (max-width: 760px) {
  .hub { aspect-ratio: auto; margin-top: 32px; }
  .hub-art { display: none; }
  .hub-seal-m { display: block; width: 120px; height: 120px; margin: 0 auto 24px; }
  .hub-nodes { display: grid; gap: 10px; }
  .hub-n { position: static; width: auto; text-align: start !important; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .lead { margin: 0; }
.section-alt { background: var(--ink-2); border-block: 1px solid var(--line); }
.two-col + .two-col { margin-top: clamp(40px, 6vw, 80px); }

/* Standards strip */
.standards { border-block: 1px solid var(--line); background: var(--ink-2); }
.standards-row { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 2fr); gap: 32px; align-items: center; padding-block: 28px; }
.standards-title { color: var(--muted); font-size: 0.98rem; max-width: 24em; line-height: 1.5; }
.standards-list { display: flex; flex-wrap: wrap; gap: 14px 0; }
.standards-list li { padding-inline: 22px; border-inline-start: 1px solid var(--line-strong); color: var(--lav-pale); font-weight: 500; font-size: 1rem; }
.standards-list li:first-child { padding-inline-start: 0; border-inline-start: 0; }

/* Capability index rows */
.index { border-top: 1px solid var(--line); }
.index a {
  display: grid; grid-template-columns: minmax(150px, 0.7fr) minmax(0, 2fr) auto; gap: 24px; align-items: baseline;
  padding: 30px 14px; border-bottom: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: background-color 0.2s;
}
.index a:hover { background: rgba(196, 181, 253, 0.06); }
.index .name { font-size: clamp(1.4rem, 2.4vw, 1.85rem); font-weight: 300; color: var(--lav-pale); line-height: 1.2; }
.index .desc { color: var(--muted); max-width: 40em; }
.index .more { color: var(--lav); font-weight: 500; font-size: 0.95rem; border-bottom: 1px solid transparent; }
.index a:hover .more { border-bottom-color: var(--lav); }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); }
.principles li { padding-block: 32px; border-top: 1px solid var(--line); }
.principles h3 { margin-bottom: 10px; font-size: 1.3rem; }
.principles p { color: var(--muted); max-width: 30em; }

/* Steps timeline */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.steps li { position: relative; padding-top: 28px; border-top: 1px solid var(--line-strong); }
.steps li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: -5px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--lav); box-shadow: 0 0 0 4px var(--ink);
}
.steps h3 { font-size: 1.45rem; font-weight: 400; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: 1rem; }

/* Sector columns */
.sector-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 32px; }
.sector-cols li { padding-top: 22px; border-top: 1px solid var(--line-strong); }
.sector-cols h3 { margin-bottom: 8px; }
.sector-cols p { color: var(--muted); font-size: 1rem; }

/* CTA band */
.band { background: var(--lav); color: var(--ink); }
.band-row { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.band h2 { color: var(--ink); font-weight: 400; font-size: clamp(2rem, 4vw, 3.3rem); }
.band p { color: #2a2440; margin-bottom: 24px; font-size: 1.1rem; }
.band :focus-visible { outline-color: var(--ink); }

/* ---------- Inner pages ---------- */
.page-head { padding-block: clamp(56px, 8vw, 112px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-head::after {
  content: ""; position: absolute; width: 620px; aspect-ratio: 1; inset-block-start: -60%; inset-inline-end: -8%;
  background: radial-gradient(closest-side, rgba(139, 123, 224, 0.14), rgba(139, 123, 224, 0)); pointer-events: none;
}
.page-head h1 { position: relative; font-size: clamp(2.3rem, 4.8vw, 4rem); max-width: 16em; text-wrap: balance; }
.page-head .lead { position: relative; margin-top: 24px; }

.anchors { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; position: relative; }
.anchors a { text-decoration: none; color: var(--muted); border: 1px solid var(--line); border-radius: 3px; padding: 8px 14px; font-size: 0.95rem; }
.anchors a:hover { color: #fff; border-color: var(--lav); }

.cap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); padding-block: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); }
.cap:last-of-type { border-bottom: 0; }
.cap-aside { align-self: start; position: sticky; top: calc(var(--header-h) + 32px); }
.cap-aside h2 { margin-bottom: 8px; }
.cap-tag { color: var(--lav); font-weight: 500; margin-bottom: 20px; }
.cap-body { color: var(--muted); max-width: 30em; }
.cap-main h3 { color: var(--muted); font-weight: 400; font-size: 0.98rem; margin-bottom: 8px; }
.deliver { border-top: 1px solid var(--line); margin-bottom: 36px; }
.deliver li { padding-block: 16px; border-bottom: 1px solid var(--line); color: var(--text); }
.outcome { border-inline-start: 2px solid var(--lav); padding-inline-start: 20px; font-size: 1.25rem; line-height: 1.45; color: #fff; font-weight: 300; max-width: 26em; }

.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 96px); }
.spec-grid li { padding-block: 28px; border-top: 1px solid var(--line); }
.spec-grid h3 { margin-bottom: 8px; }
.spec-grid p { color: var(--muted); max-width: 30em; }

.sector-row { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); padding-block: clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.sector-row:last-of-type { border-bottom: 0; }
.sector-row h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.sector-row h3 { color: var(--muted); font-weight: 400; font-size: 0.98rem; margin-bottom: 8px; }
.sector-row .challenge { color: var(--text); margin-bottom: 28px; max-width: 34em; }

.prose { max-width: 44em; }
.prose p + p { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-block: 2.2em 0.6em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { margin-block: 0.8em; padding-inline-start: 1.2em; list-style: disc; color: var(--muted); }
.prose li { margin-block: 0.3em; }
.prose p, .prose li { color: var(--muted); }

.two-col { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 96px); }
.models { border-top: 1px solid var(--line); }
.models li { padding-block: 24px; border-bottom: 1px solid var(--line); }
.models h3 { margin-bottom: 6px; }
.models p { color: var(--muted); }

/* ---------- Contact form ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.notice { border: 1px solid var(--line-strong); border-inline-start: 3px solid var(--lav); background: var(--ink-2); padding: 16px 20px; color: var(--text); margin-bottom: 36px; font-size: 1rem; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.field { display: grid; gap: 8px; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: 0.95rem; color: var(--lav-pale); font-weight: 500; }
.field .req { color: var(--lav); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--text); background: var(--ink-2); border: 1px solid var(--line-strong);
  border-radius: 3px; padding: 13px 14px; width: 100%;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--lav-deep); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--lav); outline-offset: 1px; border-color: var(--lav); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--muted); }
.consent input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--lav); }
.hp { position: absolute; inset-inline-start: 0; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.form-status { grid-column: 1 / -1; min-height: 1.5em; font-size: 1rem; }
.form-status.is-ok { color: var(--lav-pale); }
.form-status.is-error { color: #ffb4c0; }
.aside-block + .aside-block { margin-top: 40px; }
.aside-block h2 { font-size: 1.5rem; margin-bottom: 18px; }
.next-steps { border-top: 1px solid var(--line); counter-reset: step; }
.next-steps li { counter-increment: step; display: grid; grid-template-columns: 36px 1fr; gap: 12px; padding-block: 18px; border-bottom: 1px solid var(--line); color: var(--muted); }
.next-steps li::before { content: counter(step); color: var(--lav); font-weight: 500; }
.aside-block p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--ink-2); padding-block: 64px 36px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-tag { color: var(--muted); margin-top: 18px; max-width: 22em; }
.footer-by { margin-top: 10px; color: var(--lav); font-size: 0.92rem; letter-spacing: 0.02em; }
.footer-col h2 { font-size: 0.98rem; font-weight: 500; color: var(--lav-pale); letter-spacing: 0; margin-bottom: 14px; }
.footer-col li + li { margin-top: 9px; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.98rem; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-legal { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }

/* ---------- 404 ---------- */
.notfound { min-height: 70vh; display: grid; align-content: center; gap: 20px; padding-block: 80px; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .sector-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* The longer French and Spanish labels need the compact menu earlier than English did. */
@media (max-width: 1280px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .site-header[data-open="true"] .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header-actions .btn { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
  }
  .site-header[data-open="true"] .nav { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header-actions .btn { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14em; }
  .section-head, .band-row, .two-col, .cap, .sector-row, .contact-grid, .standards-row { grid-template-columns: 1fr; }
  .cap-aside { position: static; }
  .standards-list li { padding-inline: 16px; }
  .index a { grid-template-columns: 1fr; gap: 8px; padding: 24px 6px; }
  .principles, .spec-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .brand { display: inline-grid; grid-template-columns: auto auto; column-gap: 11px; row-gap: 3px; align-items: center; justify-items: start; }
  .brand .brand-seal { grid-row: 1 / span 2; }
  .brand-name { font-size: 1.12rem; }
  .brand-sub { font-size: 0.78rem; padding-inline-start: 0; border-inline-start: 0; letter-spacing: 0.05em; text-transform: uppercase; }
  .header-actions { gap: 10px; }
  .lang-opt b { display: none; }
  .lang-opt { padding: 6px 7px; }
  .steps, .sector-cols, .form, .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* proof facts + team chips */
.facts { border-block: 1px solid var(--line); background: var(--ink-2); }
.facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.facts-row li { padding: 36px clamp(16px, 3vw, 40px); display: flex; flex-direction: column; gap: 8px; }
.facts-row li + li { border-inline-start: 1px solid var(--line); }
.facts-row strong { font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1; color: var(--lav); letter-spacing: -0.02em; }
.facts-row span { color: var(--muted); font-size: 0.98rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chips li { padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.9rem; color: var(--lav-pale); }
@media (max-width: 640px) {
  .facts-row { grid-template-columns: 1fr; }
  .facts-row li { padding-block: 22px; }
  .facts-row li + li { border-inline-start: 0; border-top: 1px solid var(--line); }
}
.chips, .facts-row { list-style: none; padding: 0; margin-inline: 0; }
.chips { margin-top: 28px; }
.facts-row strong { direction: ltr; unicode-bidi: isolate; text-align: start; }
[dir="rtl"] .facts-row strong { text-align: right; }

/* hero field: pointer direction selects one of six disciplines */
.hero-field { position: relative; direction: ltr; width: 100%; max-width: 520px; margin-inline: auto; aspect-ratio: 1; user-select: none; }
.field-art { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.field-ring { fill: none; stroke: var(--lav); stroke-opacity: 0.16; stroke-dasharray: 2 7; }
.field-ring-in { stroke-opacity: 0.28; stroke-dasharray: none; }
.field-hex { fill: none; stroke: var(--line-strong); stroke-width: 1; }
.field-spoke { stroke: var(--lav-deep); stroke-opacity: 0.35; stroke-width: 1.2; transition: stroke 0.25s, stroke-opacity 0.25s, stroke-width 0.25s; }
.field-node { fill: var(--ink); stroke: var(--lav-deep); stroke-width: 2; transition: fill 0.25s, stroke 0.25s, r 0.25s; }
.field-spoke.is-on { stroke: var(--lav); stroke-opacity: 1; stroke-width: 2.4; }
.field-node.is-on { fill: var(--lav); stroke: var(--lav-pale); r: 12; }
.field-label { position: absolute; transform: translate(-50%, -50%); text-decoration: none; color: var(--muted); font-weight: 500; font-size: clamp(0.8rem, 1.5vw, 1rem); white-space: nowrap; padding: 4px 6px; transition: color 0.25s; }
.field-label span { unicode-bidi: plaintext; }
.field-label-r { transform: translate(18px, -50%); }
.field-label-l { transform: translate(calc(-100% - 18px), -50%); }
.field-label-c { margin-top: -26px; }
.field-label:nth-of-type(4) { margin-top: 26px; }
.field-label.is-on, .field-label:focus-visible { color: #fff; outline: none; }
.field-read { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 36%; text-align: center; pointer-events: none; display: flex; flex-direction: column; gap: 6px; }
.field-read-name { font-weight: 300; font-size: clamp(1.3rem, 3.2vw, 2rem); color: #fff; line-height: 1.1; unicode-bidi: plaintext; }
.field-read-tag { font-size: clamp(0.7rem, 1.2vw, 0.84rem); color: var(--muted); line-height: 1.35; unicode-bidi: plaintext; }
.hub .seal-disc { fill: var(--ink); stroke: var(--lav-deep); stroke-opacity: 0.5; stroke-width: 1.5; }
@media (max-width: 960px) { .hero-field { max-width: 420px; margin-top: 8px; } .field-label-r { transform: translate(14px, -50%); } .field-label-l { transform: translate(calc(-100% - 14px), -50%); } }

/* hero field: matrix core + sweep + readout below */
.field-core { position: absolute; left: 50%; top: 50%; width: 40%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; overflow: hidden; background: radial-gradient(circle, #14102a 0%, var(--ink-2) 100%); border: 1px solid var(--lav-deep); box-shadow: 0 0 40px rgba(139,123,224,0.35), inset 0 0 30px rgba(8,7,13,0.9); }
.field-rain { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 1; }
.field-core img { position: absolute; left: 50%; top: 50%; width: 44%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 0 10px rgba(8,7,13,1)) drop-shadow(0 0 22px rgba(196,181,253,0.55)); }
.field-core::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, rgba(8,7,13,0.55) 0%, transparent 46%); pointer-events: none; }
.field-pulse { position: absolute; left: 50%; top: 50%; width: 44%; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--lav); transform: translate(-50%, -50%) scale(1); opacity: 0; }
.field-sweep { position: absolute; left: 50%; top: 50%; width: 70%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: conic-gradient(from 0deg, rgba(196,181,253,0.2), rgba(196,181,253,0) 20%, transparent 100%); -webkit-mask: radial-gradient(circle, transparent 56%, #000 68%, #000 82%, transparent 100%); mask: radial-gradient(circle, transparent 56%, #000 68%, #000 82%, transparent 100%); }
.field-read { top: 100%; transform: translate(-50%, 0); width: 90%; margin-top: 14px; }
.hero-field { margin-bottom: 70px; }
@media (prefers-reduced-motion: no-preference) {
  .field-sweep { animation: field-spin 7s linear infinite; }
  .field-pulse { animation: field-pulse 3.2s ease-out infinite; }
}
@keyframes field-spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes field-pulse { 0% { opacity: 0.7; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(2.1); } }

/* solutions page */
.sol-num { font-size: 0.9rem; letter-spacing: 0.14em; color: var(--lav-deep); margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.sol-label { color: var(--muted); font-weight: 400; font-size: 0.9rem; margin: 22px 0 6px; }
.gains li { display: grid; gap: 4px; }
.gains strong { font-weight: 600; color: #fff; }
.gains span { color: var(--muted); }
.sol-dancel { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.98rem; max-width: 36em; }
.sol-dancel span { color: var(--lav); font-weight: 500; margin-inline-end: 6px; }
.src { margin-top: 18px; font-size: 0.82rem; color: var(--muted); }
.hub-all { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* hero eyebrow + chips, three-way cards, engagements */
.eyebrow { font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lav); font-weight: 500; margin-bottom: 20px; }
[dir="rtl"] .eyebrow { letter-spacing: 0.04em; text-transform: none; font-size: 0.95rem; }
.hero .lead { margin-top: 24px; max-width: 30em; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; list-style: none; padding: 0; }
.hero-chips li { padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 0.85rem; color: var(--lav-pale); }
.tri { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 8px; list-style: none; padding: 0; }
.tri-card { border: 1px solid var(--line); background: var(--ink-2); transition: border-color 0.2s, background 0.2s; }
.tri-card:hover, .tri-card:focus-within { border-color: var(--lav-deep); background: var(--ink-3); }
.tri-card { display: flex; flex-direction: column; padding: 32px 28px; }
.tri-link { display: block; text-decoration: none; color: inherit; }
.tri-kicker { font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--lav); margin-bottom: 12px; font-weight: 500; }
[dir="rtl"] .tri-kicker { letter-spacing: 0.02em; text-transform: none; font-size: 0.9rem; }
.tri-link h3 { font-size: 1.7rem; font-weight: 400; color: #fff; margin-bottom: 10px; }
.tri-link p { color: var(--muted); margin-bottom: 20px; }
.tri-list { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0 0 28px; }
.tri-list li { font-size: 0.82rem; }
.tri-list a { display: block; color: var(--text); padding: 4px 10px; background: rgba(139,123,224,0.12); border-radius: 999px; text-decoration: none; transition: background-color 0.15s, color 0.15s; }
.tri-list a:hover, .tri-list a:focus-visible { background: var(--lav); color: var(--ink); }
.tri-more { margin-top: auto; color: var(--lav); font-size: 1.4rem; text-decoration: none; line-height: 1; }
[dir="rtl"] .tri-more { transform: scaleX(-1); display: inline-block; align-self: flex-start; }
.eng { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; list-style: none; padding: 0; margin-top: 8px; }
.eng-card { padding-top: 24px; border-top: 1px solid var(--line-strong); }
.eng-card h3 { font-size: 1.3rem; margin-bottom: 14px; }
.eng-label { font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--lav); margin: 14px 0 4px; }
[dir="rtl"] .eng-label { letter-spacing: 0.02em; text-transform: none; font-size: 0.9rem; }
.eng-card p { color: var(--muted); }
.eng-card .eng-label { color: var(--lav); }
.eng-note { margin-top: 36px; font-size: 0.88rem; color: var(--muted); }
@media (max-width: 1020px) { .tri, .eng { grid-template-columns: 1fr; } }

/* language offer banner */
.lang-offer { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 9px 16px; background: var(--ink-3); border-bottom: 1px solid var(--line); font-size: 0.9rem; color: var(--text); }
.lang-offer a { color: var(--lav); font-weight: 500; }
.lang-offer button { background: none; border: 0; color: var(--muted); font-size: 1.3rem; line-height: 1; cursor: pointer; padding: 0 4px; }
.lang-offer button:hover { color: #fff; }

/* Footer wordmark: "Dancel Cyber Defense" as one name, one weight, one size, one colour. */
.site-footer .brand { gap: 0.3em; display: inline-flex; flex-wrap: wrap; align-items: baseline; }
.site-footer .brand-name, .site-footer .brand-sub { font-size: 1.28rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; color: #fff; text-transform: none; padding: 0; border: 0; }

/* Solutions: the left column can hold several paragraphs, so it scrolls with the section instead of sticking. */
.cap.sol .cap-aside { position: static; }
.cap-aside .cap-body + .cap-body { margin-top: 1em; }

/* phones: keep the six labels inside the screen and quieter */
@media (max-width: 600px) {
  .hero-field { width: calc(100% - 96px); }
  .field-label { font-size: 0.78rem; padding: 4px 2px; }
  .field-label-r { transform: translate(12px, -50%); }
  .field-label-l { transform: translate(calc(-100% - 12px), -50%); }
}

/* label positions (kept in CSS: the security policy blocks inline style attributes) */
.field-label[data-key="govern"] { left: 50%; top: 13.46%; }
.field-label[data-key="identify"] { left: 81.64%; top: 31.73%; }
.field-label[data-key="protect"] { left: 81.64%; top: 68.27%; }
.field-label[data-key="detect"] { left: 50%; top: 86.54%; }
.field-label[data-key="respond"] { left: 18.36%; top: 68.27%; }
.field-label[data-key="recover"] { left: 18.36%; top: 31.73%; }
