/* =========================================================================
   DYUMAT INDUSTRIES — Design System
   Palette drawn from the brand mark (deep circuit-navy + electric blue +
   induction gold). Type: Space Grotesk (display, technical geometry) +
   Inter (body) + IBM Plex Mono (data/labels — enquiry IDs, eyebrows).
   ========================================================================= */

:root {
  /* Color */
  --navy-950: #060b16;
  --navy-900: #0a1428;
  --navy-800: #0e1c38;
  --navy-700: #142850;
  --blue-500: #2e7bf6;
  --blue-400: #4f92ff;
  --blue-300: #8fb8ff;
  --gold-500: #e6a11f;
  --gold-400: #f0b545;
  --gold-300: #f6cd7e;
  --gold-600: #8f5d00;   /* AA-contrast gold for text on light backgrounds */
  --blue-600: #1d5fd1;   /* AA-contrast blue for text on light backgrounds */
  --ink: #0a1428;
  --ink-soft: #3a4356;
  --paper: #f5f6f9;
  --paper-alt: #eceef3;
  --white: #ffffff;
  --line: rgba(10, 20, 40, 0.12);
  --line-soft: rgba(10, 20, 40, 0.07);
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-dark-soft: rgba(255, 255, 255, 0.08);

  /* Type */
  --font-display: 'Space Grotesk', 'Arial Narrow', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  /* Layout */
  --maxw: 1280px;
  --pad: clamp(20px, 5vw, 64px);
  --section-pad: clamp(64px, 9vw, 128px);
  --radius-sm: 3px;
  --radius-md: 6px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { padding: var(--section-pad) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-600);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 20px;
  height: 1px;
  background: currentColor;
}
.on-dark .eyebrow { color: var(--gold-400); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin-top: 14px;
}
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 620px;
}
.on-dark .section-head p { color: rgba(255,255,255,0.68); }
.on-dark .section-head h2 { color: var(--white); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  letter-spacing: 0.03em;
  padding: 15px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--gold-500); color: var(--navy-950); }
.btn-primary:hover { background: var(--gold-400); }
.btn-outline { border-color: var(--line-dark); color: var(--white); }
.btn-outline:hover { border-color: var(--gold-500); color: var(--gold-400); }
.btn-outline-dark { border-color: var(--line); color: var(--ink); }
.btn-outline-dark:hover { border-color: var(--navy-900); }
.btn-ghost { color: var(--blue-600); padding: 15px 4px; }
.btn-ghost::after { content: '→'; margin-left: 2px; transition: transform 0.25s var(--ease); }
.btn-ghost:hover::after { transform: translateX(4px); }
.btn svg { width: 16px; height: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(6, 11, 22, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-dark-soft);
  transition: background 0.3s var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.nav__brand { display: flex; align-items: center; gap: 10px; }
.nav__brand img { height: 42px; width: auto; background: #fff; border-radius: 8px; padding: 3px 8px; display: block; }
.nav__brand { min-height: 44px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  transition: color 0.2s;
  position: relative;
}
.nav__links a:hover { color: var(--white); }
.nav__cta-wrap { display: flex; align-items: center; gap: 20px; }
.nav__toggle {
  display: none;
  background: none;
  border: none;
  width: 32px; height: 24px;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}
.nav__toggle span {
  display: block; height: 2px; width: 100%; background: var(--white); border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav--open .nav__toggle span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.nav--open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav--open .nav__toggle span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav__links { position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: var(--navy-950); flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 32px var(--pad); gap: 22px; transform: translateX(100%); transition: transform 0.35s var(--ease), visibility 0s linear 0.35s; overflow-y: auto; }
  .nav__links { visibility: hidden; }
  .nav--open .nav__links { transform: translateX(0); visibility: visible; transition-delay: 0s; }
  .nav__links a { font-size: 20px; }
  .nav__cta-wrap .btn-primary { display: none; }
  .nav--open .nav__cta-wrap .btn-primary { display: inline-flex; margin-top: 6px; }
  .nav__toggle { display: flex; }
}

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative;
  background: var(--navy-950);
  color: var(--white);
  padding-top: calc(76px + clamp(56px, 9vw, 110px));
  padding-bottom: clamp(56px, 9vw, 110px);
  overflow: hidden;
  isolation: isolate;
}
.hero__grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, black 10%, transparent 75%);
  z-index: -2;
}
.hero__glow {
  position: absolute;
  top: -20%; right: -10%;
  width: 60vw; height: 60vw; max-width: 800px; max-height: 800px;
  background: radial-gradient(circle, rgba(46,123,246,0.28) 0%, rgba(46,123,246,0) 70%);
  z-index: -1;
  pointer-events: none;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero__eyebrow { color: var(--gold-400); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(34px, 5.2vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin-top: 20px;
  max-width: 620px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(95deg, var(--gold-300), var(--gold-500) 60%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  margin-top: 22px;
  font-size: 18px;
  color: rgba(255,255,255,0.72);
  max-width: 520px;
  line-height: 1.65;
}
.hero__cta { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero__meta {
  display: flex;
  gap: clamp(20px, 4vw, 40px);
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line-dark-soft);
  flex-wrap: wrap;
}
.hero__meta div { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.62); }
.hero__meta strong { display: block; font-family: var(--font-body); font-size: 14px; color: var(--white); font-weight: 500; margin-top: 4px; }

.hero__diagram { position: relative; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__diagram { order: -1; max-width: 420px; margin: 0 auto 8px; }
}

/* Flow diagram (signature element) — used in hero + business model section */
.flow-diagram { width: 100%; height: auto; overflow: visible; }
.flow-diagram .flow-node-box { fill: var(--navy-800); stroke: var(--line-dark); stroke-width: 1; }
.flow-diagram .flow-node-box.center { fill: var(--navy-700); stroke: var(--gold-500); }
.flow-diagram .flow-node-label { font-family: var(--font-mono); font-size: 11px; fill: rgba(255,255,255,0.55); letter-spacing: 0.06em; text-transform: uppercase; }
.flow-diagram .flow-node-title { font-family: var(--font-display); font-size: 16px; fill: var(--white); font-weight: 600; }
.flow-diagram .flow-line { fill: none; stroke: var(--line-dark); stroke-width: 1.5; }
.flow-diagram .flow-dash { fill: none; stroke: var(--gold-400); stroke-width: 2; stroke-dasharray: 6 10; animation: flow-dash-move 2.4s linear infinite; }
.flow-diagram .flow-pulse { fill: var(--gold-400); filter: drop-shadow(0 0 6px rgba(230,161,31,0.8)); }
@keyframes flow-dash-move { to { stroke-dashoffset: -160; } }
@media (prefers-reduced-motion: reduce) {
  .flow-diagram .flow-dash { animation: none; }
}

/* =========================================================================
   TICKER (vendor network strip)
   ========================================================================= */
.ticker {
  background: var(--navy-900);
  border-top: 1px solid var(--line-dark-soft);
  border-bottom: 1px solid var(--line-dark-soft);
  padding: 22px 0;
  overflow: hidden;
}
.ticker__label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.ticker__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: ticker-scroll 32s linear infinite;
  width: max-content;
}
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; overflow-x: auto; } }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
.ticker__track span {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.02em;
}

/* =========================================================================
   ABOUT / MODEL STRIP
   ========================================================================= */
.about { background: var(--paper); }
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.about__lede { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.about__body { margin-top: 22px; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.pillars { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 32px; background: var(--line); border: 1px solid var(--line); }
.pillars div { background: var(--paper); padding: 18px 20px; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.pillars div b { display: block; color: var(--gold-600); font-size: 11px; margin-bottom: 6px; }

.name-meaning { border: 1px solid var(--line); background: var(--white); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-md); }
.name-meaning__head { font-weight: 500; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.name-meaning__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.name-meaning__item .san { font-size: 22px; color: var(--navy-800); }
.name-meaning__item .word { font-family: var(--font-display); font-weight: 600; font-size: 15px; margin-top: 6px; color: var(--navy-900); }
.name-meaning__item .mean { font-size: 13px; color: var(--ink-soft); margin-top: 2px; }

/* =========================================================================
   BUSINESS MODEL (flow) SECTION
   ========================================================================= */
.model { background: var(--navy-950); color: var(--white); }
.model__diagram-wrap { margin-top: 48px; }
.model__roles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; margin-top: 56px; background: var(--line-dark-soft); border: 1px solid var(--line-dark-soft); }
.model__roles div { background: var(--navy-950); padding: 22px 20px; }
.model__roles span { font-family: var(--font-mono); font-size: 11px; color: var(--gold-400); }
.model__roles p { font-family: var(--font-body); font-size: 14.5px; margin-top: 8px; color: rgba(255,255,255,0.85); }

/* =========================================================================
   SOLUTION EXPLORER
   ========================================================================= */
.explorer { background: var(--paper); }
.explorer__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
  margin-bottom: 40px;
}
.explorer__tab {
  background: transparent;
  border: 1px solid var(--line);
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease);
}
.explorer__tab .idx { font-family: var(--font-mono); font-size: 11px; color: var(--blue-600); }
.explorer__tab:hover { border-color: var(--navy-800); color: var(--ink); }
.explorer__tab[aria-selected="true"] { background: var(--navy-950); border-color: var(--navy-950); color: var(--white); }
.explorer__tab[aria-selected="true"] .idx { color: var(--gold-400); }

.explorer__panel { display: none; animation: fade-up 0.5s var(--ease); }
.explorer__panel.is-active { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

.explorer__panel h3 { font-family: var(--font-display); font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -0.01em; }
.explorer__panel .summary { margin-top: 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; max-width: 480px; }
.explorer__panel .tech-tags { display: flex; gap: 8px; margin-top: 16px; }
.explorer__panel .tech-tags span { font-family: var(--font-mono); font-size: 11.5px; border: 1px solid var(--line); padding: 5px 10px; border-radius: 4px; color: var(--blue-600); }

.spec-block { margin-top: 28px; }
.spec-block h4 { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--ink-soft); margin-bottom: 12px; }
.spec-block ul { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-block li { font-size: 13.5px; background: var(--white); border: 1px solid var(--line); padding: 7px 12px; border-radius: var(--radius-sm); }

.explorer__aside { background: var(--navy-950); border-radius: var(--radius-md); padding: clamp(24px, 3vw, 36px); color: var(--white); }
.explorer__aside h4 { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255,255,255,0.62); margin-bottom: 16px; }
.explorer__aside ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.explorer__aside li { font-size: 14.5px; padding-left: 18px; position: relative; color: rgba(255,255,255,0.85); }
.explorer__aside li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 1px; background: var(--gold-400); }

/* =========================================================================
   PROCESS
   ========================================================================= */
.process { background: var(--white); }
.process__list { display: flex; flex-direction: column; margin-top: 8px; }
.process__item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  transition: opacity 0.4s var(--ease);
}
.process__item.is-dim { opacity: 0.4; }
.process__item:last-child { border-bottom: 1px solid var(--line); }
.process__item.is-dim.is-visible { opacity: 1; }
.process__num { font-family: var(--font-mono); font-size: 13px; color: var(--blue-600); padding-top: 3px; }
.process__body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.process__body p { margin-top: 6px; color: var(--ink-soft); font-size: 15px; max-width: 560px; }

/* =========================================================================
   VALUE PROPS
   ========================================================================= */
.values { background: var(--paper); }
.values__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.values__grid > div { background: var(--paper); padding: 30px 26px; }
.values__grid .n { font-family: var(--font-mono); font-size: 12px; color: var(--blue-600); }
.values__grid h3 { font-family: var(--font-display); font-size: 18px; font-weight: 600; margin-top: 14px; }
.values__grid p { margin-top: 10px; color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; }

.grid-cta { background: var(--navy-950) !important; display: flex; flex-direction: column; justify-content: center; }
.grid-cta h3 { color: var(--white); font-family: var(--font-display); font-size: 17px; font-weight: 600; }
.grid-cta p { color: rgba(255,255,255,0.6) !important; margin-top: 8px; font-size: 14px; }
.grid-cta .btn-ghost { margin-top: 14px; color: var(--gold-400); }

/* =========================================================================
   INDUSTRIES
   ========================================================================= */
.industries { background: var(--navy-950); color: var(--white); }
.industries__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 1px; background: var(--line-dark-soft); border: 1px solid var(--line-dark-soft); margin-top: 8px; }
.industry-cell {
  background: var(--navy-950);
  border: none;
  color: var(--white);
  text-align: left;
  padding: 22px 20px;
  font-size: 14.5px;
  font-family: var(--font-body);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.industry-cell:hover, .industry-cell[aria-pressed="true"] { background: var(--navy-800); color: var(--gold-400); }
.industry-cell svg { width: 14px; height: 14px; opacity: 0.5; flex-shrink: 0; transition: transform 0.25s var(--ease); }
.industry-cell[aria-pressed="true"] svg { transform: rotate(90deg); opacity: 1; }

.industry-detail {
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
  background: var(--navy-900);
  border: 1px solid var(--line-dark-soft);
  border-top: none;
}
.industry-detail.is-open { max-height: 420px; }
.industry-detail__inner { padding: 26px clamp(20px, 3vw, 32px); display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.industry-detail__label { font-family: var(--font-mono); font-size: 11.5px; color: rgba(255,255,255,0.65); text-transform: uppercase; letter-spacing: 0.08em; margin-right: 6px; }
.industry-detail__chip {
  font-size: 13.5px;
  border: 1px solid var(--line-dark);
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--white);
  transition: border-color 0.2s, color 0.2s;
}
.industry-detail__chip:hover { border-color: var(--gold-500); color: var(--gold-400); }

/* =========================================================================
   SERVICES (lifecycle)
   ========================================================================= */
.services { background: var(--paper); }
.services__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.services__grid > div { background: var(--paper); padding: 26px 24px; }
.services__grid .num { font-family: var(--font-mono); font-size: 11.5px; color: var(--gold-600); }
.services__grid h3 { font-family: var(--font-display); font-size: 16.5px; font-weight: 600; margin-top: 12px; }
.services__grid p { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }

/* =========================================================================
   PROJECTS
   ========================================================================= */
.projects { background: var(--white); }
.project-card { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; display: grid; grid-template-columns: 1.1fr 0.9fr; }
.project-card__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); }
.project-card__gallery picture { display: block; min-height: 0; }
.project-card__gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; }
.project-card__body { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; justify-content: center; }
.project-card__tag { font-family: var(--font-mono); font-size: 11.5px; color: var(--blue-600); text-transform: uppercase; letter-spacing: 0.08em; }
.project-card__body h3 { font-family: var(--font-display); font-size: 26px; font-weight: 600; margin-top: 12px; }
.project-card__body .loc { color: var(--ink-soft); font-size: 14.5px; margin-top: 6px; }
.project-card__body .desc { margin-top: 16px; color: var(--ink-soft); font-size: 15px; line-height: 1.65; }
.projects__future { margin-top: 24px; border: 1px dashed var(--line); border-radius: var(--radius-md); padding: 20px 24px; color: var(--ink-soft); font-size: 13.5px; font-family: var(--font-mono); }
@media (max-width: 760px) {
  .project-card { grid-template-columns: 1fr; }
  .project-card__gallery { aspect-ratio: 4/3; }
}

/* =========================================================================
   VISION / MISSION
   ========================================================================= */
.vm { background: var(--navy-950); color: var(--white); }
.vm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); margin-top: 8px; }
.vm__card { border: 1px solid var(--line-dark-soft); padding: clamp(28px, 3vw, 40px); border-radius: var(--radius-md); }
.vm__card h3 { font-family: var(--font-mono); font-size: 12.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gold-400); }
.vm__card p { margin-top: 18px; font-family: var(--font-display); font-size: clamp(19px, 2vw, 23px); font-weight: 500; line-height: 1.5; letter-spacing: -0.005em; }
.vm__closing { margin-top: 48px; text-align: center; font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 24px); color: rgba(255,255,255,0.75); font-style: normal; }

/* =========================================================================
   ENQUIRY WIZARD
   ========================================================================= */
.enquiry { background: var(--paper-alt); position: relative; }
.enquiry__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.enquiry__head .eyebrow { justify-content: center; }
.enquiry__head h2 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 600; margin-top: 14px; letter-spacing: -0.01em; }
.enquiry__head p { margin-top: 16px; color: var(--ink-soft); font-size: 16.5px; }

.wizard { max-width: 760px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.wizard__progress { display: flex; border-bottom: 1px solid var(--line); }
.wizard__progress div { flex: 1; height: 3px; background: var(--line); position: relative; }
.wizard__progress div.is-done, .wizard__progress div.is-active { background: var(--gold-500); }
.wizard__steps-label { display: flex; justify-content: space-between; padding: 16px clamp(20px, 4vw, 40px) 0; font-family: var(--font-mono); font-size: 11px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.wizard__steps-label span.is-current { color: var(--navy-900); font-weight: 600; }
.wizard__body { padding: clamp(28px, 4vw, 48px); min-height: 340px; }
.wizard__step { display: none; }
.wizard__step.is-active { display: block; animation: fade-up 0.4s var(--ease); }
.wizard__step h3 { font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 25px); font-weight: 600; }
.wizard__step .hint { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }

.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 26px; }
.option-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 16px;
  background: var(--white);
  text-align: left;
  font-size: 14.5px;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}
.option-card:hover { border-color: var(--navy-800); }
.option-card[aria-pressed="true"] { border-color: var(--gold-500); background: rgba(230,161,31,0.06); box-shadow: inset 0 0 0 1px var(--gold-500); }
.option-card .oc-label { display: block; font-weight: 600; font-family: var(--font-display); }

.field { margin-top: 22px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
.field .req { color: var(--blue-600); }
.field input, .field select, .field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 13px 14px;
  background: var(--paper);
  transition: border-color 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--navy-800); outline: none; }
.field textarea { resize: vertical; min-height: 100px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error { display: none; color: #c23b3b; font-size: 12.5px; margin-top: 6px; font-family: var(--font-mono); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #c23b3b; }
.field.has-error .field-error { display: block; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.summary-list { margin-top: 24px; border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.summary-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.summary-row:last-child { border-bottom: none; }
.summary-row .k { font-family: var(--font-mono); font-size: 12px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.05em; padding-top: 2px; }
.summary-row .v { text-align: right; font-weight: 500; max-width: 65%; }

.wizard__nav { display: flex; justify-content: space-between; align-items: center; padding: 20px clamp(20px, 4vw, 40px); border-top: 1px solid var(--line); background: var(--paper); }
.wizard__nav .btn-back { color: var(--ink-soft); font-family: var(--font-mono); font-size: 13px; background: none; border: none; }
.wizard__nav .btn-back:hover { color: var(--ink); }
.wizard__nav .btn-back:disabled { opacity: 0; pointer-events: none; }

.wizard__success { display: none; text-align: center; padding: clamp(40px, 6vw, 64px) clamp(28px, 4vw, 48px); }
.wizard__success.is-active { display: block; animation: fade-up 0.5s var(--ease); }
.wizard__success .check { width: 56px; height: 56px; border-radius: 50%; background: rgba(46,123,246,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.wizard__success .check svg { width: 26px; height: 26px; color: var(--blue-600); }
.wizard__success h3 { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.wizard__success p { color: var(--ink-soft); margin-top: 12px; font-size: 15px; max-width: 420px; margin-left: auto; margin-right: auto; }
.ref-id { display: inline-block; margin-top: 20px; font-family: var(--font-mono); font-size: 16px; background: var(--navy-950); color: var(--gold-400); padding: 10px 18px; border-radius: var(--radius-sm); letter-spacing: 0.03em; }
.wizard__success .note { margin-top: 22px; font-size: 12.5px; color: var(--ink-soft); font-family: var(--font-mono); }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--navy-950); color: rgba(255,255,255,0.7); padding-top: clamp(56px, 7vw, 88px); }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(28px, 4vw, 48px); padding-bottom: 56px; border-bottom: 1px solid var(--line-dark-soft); }
.footer__brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer__brand img { height: 46px; width: auto; background: #fff; border-radius: 8px; padding: 4px 10px; display: block; }
.footer__col h2 { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.09em; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col a { font-size: 14.5px; color: rgba(255,255,255,0.72); transition: color 0.2s; }
.footer__col a:hover { color: var(--gold-400); }
.footer__desc { font-size: 14.5px; line-height: 1.7; max-width: 320px; color: rgba(255,255,255,0.68); }
.footer__contact { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__contact a { color: rgba(255,255,255,0.85); transition: color 0.2s; }
.footer__contact a:hover { color: var(--gold-400); }
.footer__contact .footer__address { max-width: 280px; line-height: 1.6; color: rgba(255,255,255,0.65); font-size: 13px; margin-top: 4px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; padding: 26px 0; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(255,255,255,0.6); }
.footer__legal { display: flex; gap: 20px; }

/* =========================================================================
   ASK DYUMAT — floating quick-contact button
   ========================================================================= */
.ask-dyumat-btn {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 400;
  background: var(--navy-950);
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  padding: 13px 20px 13px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 13px;
  box-shadow: 0 8px 30px rgba(6,11,22,0.35);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.ask-dyumat-btn:hover { transform: translateY(-2px); border-color: var(--gold-500); }
.ask-dyumat-btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-400); }

.ask-panel {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: 84px;
  z-index: 400;
  width: min(340px, calc(100vw - 32px));
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(6,11,22,0.25);
  padding: 22px;
  display: none;
}
.ask-panel.is-open { display: block; animation: fade-up 0.3s var(--ease); }
.ask-panel h2 { font-family: var(--font-display); font-size: 16px; font-weight: 600; }
.ask-panel p { margin-top: 8px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.ask-panel__links { margin-top: 14px; display: flex; flex-direction: column; gap: 8px; }
.ask-panel__links a { display: flex; flex-direction: column; gap: 2px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font-size: 14px; font-weight: 600; transition: border-color 0.2s; word-break: break-word; }
.ask-panel__links a small { font-family: var(--font-mono); font-size: 11px; font-weight: 400; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }
.ask-panel__links a:hover { border-color: var(--navy-800); }
.ask-panel__links a.is-primary { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-950); }
.ask-panel__links a.is-primary small { color: var(--navy-900); }

/* =========================================================================
   VISITOR COUNTER (sits beside the Ask DYUMAT button)
   ========================================================================= */
.visitor-meter {
  position: fixed;
  right: calc(clamp(16px, 3vw, 28px) + 150px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 400;
  height: 44px;
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px 0 14px;
  background: var(--navy-950);
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  box-shadow: 0 8px 30px rgba(6,11,22,0.35);
  font-family: var(--font-mono);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.visitor-meter .vm-pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; flex: none; }
.visitor-meter .vm-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #3ddc84; animation: vm-ping 2s ease-out infinite; }
@keyframes vm-ping { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(1.8); opacity: 0; } }
.visitor-meter .vm-text { display: flex; flex-direction: column; gap: 4px; }
.visitor-meter .vm-label { font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.visitor-meter .vm-count { font-size: 15px; font-weight: 600; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; color: var(--gold-400); }
@media (max-width: 520px) {
  .visitor-meter { right: auto; left: 16px; }
}
@media (prefers-reduced-motion: reduce) { .visitor-meter .vm-pulse::after { animation: none; } }

.welcome { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; overflow-y: auto;
  background: rgba(4,8,18,0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: wl-fade 0.35s ease both; }
.welcome[hidden] { display: none; }
.welcome.is-closing { animation: wl-out 0.25s ease both; }
@keyframes wl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wl-out { to { opacity: 0; } }
.welcome__card { position: relative; width: min(480px, 100%); margin: auto; text-align: center; color: var(--white);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950) 70%);
  border: 1px solid var(--line-dark); border-radius: 16px; padding: 34px 30px 28px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.55); animation: wl-pop 0.45s cubic-bezier(.2,1.1,.3,1) both; }
@keyframes wl-pop { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: none; } }
.welcome__card::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, var(--blue-500), var(--gold-400)); }
.welcome__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: transparent; color: rgba(255,255,255,0.8); transition: background 0.2s, color 0.2s; }
.welcome__close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.welcome__close svg { width: 20px; height: 20px; }
.welcome__logo { display: inline-block; background: #fff; border-radius: 10px; padding: 6px 14px; }
.welcome__logo img { height: 46px; width: auto; display: block; }
.welcome__eyebrow { margin-top: 22px; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-400); }
.welcome h2 { margin-top: 8px; font-family: var(--font-display); font-size: clamp(24px, 5.5vw, 30px); font-weight: 700; line-height: 1.2; }
.welcome__pass { position: relative; overflow: hidden; margin: 20px auto 0; max-width: 360px; padding: 14px 22px 16px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(46,123,246,0.18), rgba(240,181,69,0.14)); border: 1px solid rgba(240,181,69,0.45); }
.welcome__pass::after { content: ""; position: absolute; top: 0; bottom: 0; width: 60px; left: -80px; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent); animation: wl-shine 4s ease-in-out 1s infinite; }
@keyframes wl-shine { 0% { left: -80px; } 55%, 100% { left: 110%; } }
.welcome__pass-line { font-size: 13px; color: rgba(255,255,255,0.78); line-height: 1.5; }
.welcome__pass-label { margin-bottom: 6px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
.welcome__num { margin: 4px 0; font-family: var(--font-mono); font-size: 38px; font-weight: 700; color: var(--gold-400); font-variant-numeric: tabular-nums; line-height: 1.1; }
.welcome__num sup { font-size: 15px; margin-left: 3px; }
.welcome__text { margin: 18px auto 0; max-width: 390px; font-size: 15px; line-height: 1.65; color: rgba(255,255,255,0.8); }
.welcome__actions { margin-top: 22px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.welcome__btn { position: relative; overflow: hidden; min-height: 48px; }
.welcome__skip { min-height: 44px; padding: 0 16px; background: none; border: 0; color: rgba(255,255,255,0.7); font-size: 13.5px; text-decoration: underline; text-underline-offset: 3px; }
.welcome__skip:hover { color: #fff; }
.welcome :focus-visible { outline-color: #fff; }
.confetti { position: fixed; top: -12px; width: 8px; height: 14px; z-index: 1100; pointer-events: none; animation: confetti-fall linear forwards; }
@keyframes confetti-fall { to { transform: translate3d(var(--dx), 105vh, 0) rotate(var(--rot)); opacity: 0.9; } }
body.welcome-lock { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .welcome__pass::after { display: none; } .confetti { display: none; } }
.visitor-meter { transition: opacity 0.4s; }
.visitor-meter[hidden] { display: none; }

/* =========================================================================
   REVEAL-ON-SCROLL utility
   ========================================================================= */
/* Only elements that start below the fold are hidden (by main.js), so nothing flashes and no-JS visitors see everything. */
.reveal-pending { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal-pending.is-visible { opacity: 1; transform: translateY(0); }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .about__inner, .explorer__panel.is-active, .vm__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .process__item { grid-template-columns: 60px 1fr; }
}
@media (max-width: 640px) {
  .footer__top { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .hero__meta { gap: 24px; }
  .pillars, .name-meaning__grid { grid-template-columns: 1fr; }
  section { padding: clamp(48px, 10vw, 80px) 0; }
}

/* =========================================================================
   SHARED UTILITIES (added in audit)
   ========================================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 2000; background: var(--gold-500); color: var(--navy-950); padding: 12px 18px; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 13px; transition: top 0.2s; }
.skip-link:focus { top: 12px; }
:target { scroll-margin-top: 90px; }
section[id] { scroll-margin-top: 76px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.65; cursor: not-allowed; transform: none; }
.btn { min-height: 48px; }
.btn-lg { padding: 17px 30px; font-size: 14px; }
.btn-link-light { color: rgba(255,255,255,0.85); font-family: var(--font-mono); font-size: 13.5px; padding: 15px 6px; border-bottom: 1px solid transparent; }
.btn-link-light:hover { color: var(--gold-400); }
.spinner { width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.explorer__tab { min-height: 44px; }
.industry-cell { min-height: 56px; }
.explorer__panel__links { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }

/* Hero (audit) */
.hero__cta { align-items: center; }
.hero__note { margin-top: 18px; font-size: 13.5px; color: rgba(255,255,255,0.68); }
.hero__note a { color: var(--gold-400); text-decoration: underline; text-underline-offset: 3px; }

/* Ticker disclaimer */
.ticker__note { margin-top: 14px; font-size: 12px; color: rgba(255,255,255,0.58); max-width: 860px; }

/* Projects */
.project-card__scope { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.project-card__scope li { font-size: 13px; border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; color: var(--ink-soft); }
.project-card__actions { margin-top: 20px; }
.projects__future { font-family: var(--font-body); font-size: 14px; }

/* Direct contact cards (enquiry section) */
.contact-cards { max-width: 760px; margin: 0 auto 28px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; transition: border-color 0.2s; word-break: break-word; }
a.contact-card:hover { border-color: var(--navy-800); }
.contact-card small { font-family: var(--font-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.contact-card strong { font-size: 15px; font-weight: 600; }
.contact-card span { font-size: 13px; color: var(--ink-soft); }

/* Form states */
.field-hint { font-size: 12.5px; color: var(--ink-soft); margin-top: 6px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--navy-800); outline-offset: 2px; }
.field-error { font-size: 13px; }
.step-error { display: none; color: #c23b3b; font-size: 13px; margin-top: 14px; font-family: var(--font-mono); }
.step-error.is-visible { display: block; }
.option-card { min-height: 56px; }
.option-card:focus-visible { outline: 2px solid var(--navy-800); outline-offset: 2px; }
.form-alert { margin: 0 clamp(20px, 4vw, 40px); padding: 14px 16px; border: 1px solid #e0a3a3; background: #fdf1f1; color: #7d1f1f; border-radius: var(--radius-sm); font-size: 14px; line-height: 1.55; }
.form-alert[hidden] { display: none; }
.form-alert strong { display: block; margin-bottom: 2px; }
.form-alert a { text-decoration: underline; text-underline-offset: 2px; font-weight: 600; }
.form-alert__actions { margin-top: 10px; }
.wizard__nav .btn-primary { min-width: 190px; justify-content: center; }
.wizard__nav .btn-back { min-height: 44px; padding: 0 8px; }
.wizard__success:focus { outline: none; }
.wizard__success .note { font-family: var(--font-body); font-size: 13.5px; }
.wizard__success .btn { margin-top: 24px; }
.summary-row .v { overflow-wrap: anywhere; white-space: pre-line; }

/* Inner pages (category / legal / 404) */
.nav--solid { background: rgba(6, 11, 22, 0.96); }
.page-hero { background: var(--navy-950); color: var(--white); padding: calc(76px + clamp(40px, 6vw, 72px)) 0 clamp(40px, 6vw, 72px); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 60% 80% at 85% 0%, rgba(46,123,246,0.25), transparent 70%); }
.page-hero h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(30px, 4.6vw, 52px); line-height: 1.1; letter-spacing: -0.012em; margin-top: 16px; max-width: 760px; }
.page-hero p.lede { margin-top: 18px; font-size: 18px; color: rgba(255,255,255,0.78); max-width: 640px; line-height: 1.65; }
.page-hero .hero__cta { margin-top: 30px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 10px; font-family: var(--font-mono); font-size: 12.5px; color: rgba(255,255,255,0.7); }
.crumbs a:hover { color: var(--gold-400); }
.crumbs li + li::before { content: '/'; margin-right: 10px; opacity: 0.5; }
.crumbs { list-style: none; padding: 0; margin: 0; }
.crumbs li { display: inline-flex; }
.cat-body { background: var(--paper); }
.cat-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.cat-grid h2 { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; letter-spacing: -0.01em; }
.cat-grid .block + .block { margin-top: 40px; }
.cat-grid .block > p { margin-top: 12px; color: var(--ink-soft); font-size: 16px; line-height: 1.7; }
.cat-grid .chips { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-grid .chips li { font-size: 14px; background: var(--white); border: 1px solid var(--line); padding: 8px 14px; border-radius: var(--radius-sm); }
.cat-grid .note { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }
.cat-aside { background: var(--navy-950); color: var(--white); border-radius: var(--radius-md); padding: clamp(24px, 3vw, 36px); position: sticky; top: 100px; }
.cat-aside h2 { font-family: var(--font-display); font-size: 21px; font-weight: 600; color: var(--white); }
.cat-aside p { margin-top: 10px; color: rgba(255,255,255,0.75); font-size: 15px; line-height: 1.65; }
.cat-aside .btn { margin-top: 20px; width: 100%; justify-content: center; }
.cat-aside .alt { margin-top: 18px; font-size: 14px; color: rgba(255,255,255,0.75); }
.cat-aside .alt a { color: var(--gold-400); text-decoration: underline; text-underline-offset: 3px; }
.cat-other { background: var(--white); }
.cat-other ul { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.cat-other a { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 11px 20px; font-size: 15px; transition: border-color 0.2s; }
.cat-other a:hover { border-color: var(--navy-800); }
@media (max-width: 900px) { .cat-grid { grid-template-columns: 1fr; } .cat-aside { position: static; } }

.legal { background: var(--paper); }
.legal__inner { max-width: 780px; }
.legal h2 { font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-top: 40px; }
.legal h2:first-of-type { margin-top: 0; }
.legal p, .legal li { color: var(--ink-soft); font-size: 16px; line-height: 1.75; margin-top: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal li { margin-top: 6px; }
.legal a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.legal .updated { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); margin-top: 0; }
.notfound { background: var(--paper); text-align: center; }
.notfound h1 { font-family: var(--font-display); font-size: clamp(30px, 5vw, 48px); }
.notfound p { margin: 16px auto 28px; max-width: 480px; color: var(--ink-soft); }

/* Misc additions */
.footer__contact address { font-style: normal; }
.form-privacy { margin-top: 18px; font-size: 13.5px; color: var(--ink-soft); }
.form-privacy a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.flow-diagram .flow-dash--late { animation-delay: 0.6s; }
.flow-diagram .flow-node-label--small { font-size: 9.5px; }
.flow-diagram .flow-node-title--lg { font-size: 18px; }
.idx--panel { font-family: var(--font-mono); color: var(--blue-600); font-size: 12px; }
.explorer__panel:focus-visible { outline-offset: 8px; }
.footer__legal a, .footer__bottom a { padding: 6px 0; }
.footer__col a { display: inline-block; padding: 3px 0; }
.footer__contact a { display: inline-block; padding: 2px 0; }
.section-head-h { font-family: var(--font-display); font-size: clamp(22px, 2.6vw, 28px); font-weight: 600; }
.notfound-hero .hero__cta { margin-top: 28px; }
