
/* UDAF Bootstrap 5 design system
   Bootstrap handles grid, responsive utilities and interactive primitives.
   UDAF classes own the visual language.
*/
:root {
  --udaf-bg: #f7f8f6;
  --udaf-surface: #ffffff;
  --udaf-surface-2: #eef2ef;
  --udaf-ink: #16252a;
  --udaf-muted: #66747a;
  --udaf-line: rgba(22,37,42,.13);
  --udaf-primary: #1f594a;
  --udaf-primary-rgb: 31,89,74;
  --udaf-accent: #b3a054;
  --udaf-accent-rgb: 179,160,84;
  --udaf-deep: #10292c;
  --udaf-display: "Arial", "Helvetica Neue", sans-serif;
  --udaf-body: "Arial", "Helvetica Neue", sans-serif;
  --udaf-radius-sm: .7rem;
  --udaf-radius: 1rem;
  --udaf-radius-lg: 1.4rem;
  --udaf-shadow: 0 20px 60px rgba(17,42,45,.10);
  --udaf-container: 1320px;
  --bs-body-font-family: var(--udaf-body);
  --bs-body-color: var(--udaf-ink);
  --bs-body-bg: var(--udaf-bg);
  --bs-border-color: var(--udaf-line);
  --bs-link-color-rgb: var(--udaf-primary-rgb);
  --bs-primary-rgb: var(--udaf-primary-rgb);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--udaf-bg);
  color: var(--udaf-ink);
  font-family: var(--udaf-body);
  font-size: 1rem;
  line-height: 1.62;
}
a { text-decoration-thickness: .08em; text-underline-offset: .18em; }
img { max-width: 100%; }
.container-udaf { width: min(calc(100% - 2rem), var(--udaf-container)); margin-inline: auto; }
.section { padding: clamp(4rem, 7vw, 7.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4.5rem) 0; }
.eyebrow {
  color: var(--udaf-primary);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.display-udaf {
  font-family: var(--udaf-display);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: .96;
}
.h2-udaf {
  font-family: var(--udaf-display);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
}
.lead-udaf {
  color: var(--udaf-muted);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  max-width: 46rem;
}
.text-muted-udaf { color: var(--udaf-muted) !important; }
.surface { background: var(--udaf-surface); }
.surface-2 { background: var(--udaf-surface-2); }
.rounded-udaf { border-radius: var(--udaf-radius); }
.shadow-udaf { box-shadow: var(--udaf-shadow); }

/* Brand */
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  color: inherit;
  text-decoration: none;
}
.brand-mark {
  width: 2.25rem;
  height: 2.25rem;
  color: var(--udaf-primary);
  flex: 0 0 auto;
}
.brand-name {
  font-weight: 900;
  letter-spacing: .11em;
  line-height: .9;
}
.brand-name small {
  display: block;
  margin-top: .32rem;
  font-size: .56rem;
  font-weight: 800;
  letter-spacing: .26em;
  color: var(--udaf-muted);
}

/* Navigation */
.udaf-navbar {
  --bs-navbar-padding-y: .85rem;
  background: rgba(255,255,255,.90);
  border-bottom: 1px solid var(--udaf-line);
  backdrop-filter: blur(16px);
  transition: box-shadow .2s ease, background .2s ease;
}
.udaf-navbar.is-scrolled { box-shadow: 0 12px 34px rgba(18,38,44,.08); }
.udaf-navbar .nav-link {
  color: var(--udaf-ink);
  font-size: .91rem;
  font-weight: 700;
  opacity: .78;
}
.udaf-navbar .nav-link:hover,
.udaf-navbar .nav-link.active { color: var(--udaf-primary); opacity: 1; }
.navbar-toggler { border-color: var(--udaf-line); }

/* Buttons */
.btn-udaf {
  --bs-btn-padding-x: 1.25rem;
  --bs-btn-padding-y: .82rem;
  --bs-btn-font-weight: 800;
  --bs-btn-border-radius: .72rem;
  border-width: 1px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-udaf:hover { transform: translateY(-1px); }
.btn-udaf-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--udaf-primary);
  --bs-btn-border-color: var(--udaf-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: color-mix(in srgb, var(--udaf-primary) 86%, black);
  --bs-btn-hover-border-color: color-mix(in srgb, var(--udaf-primary) 86%, black);
  box-shadow: 0 12px 28px rgba(var(--udaf-primary-rgb), .16);
}
.btn-udaf-soft {
  --bs-btn-color: var(--udaf-primary);
  --bs-btn-bg: rgba(var(--udaf-primary-rgb), .07);
  --bs-btn-border-color: rgba(var(--udaf-primary-rgb), .15);
  --bs-btn-hover-color: var(--udaf-primary);
  --bs-btn-hover-bg: rgba(var(--udaf-primary-rgb), .13);
  --bs-btn-hover-border-color: rgba(var(--udaf-primary-rgb), .22);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 690px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--udaf-line);
  background:
    radial-gradient(circle at 82% 34%, rgba(var(--udaf-accent-rgb), .15), transparent 24rem),
    radial-gradient(circle at 74% 60%, rgba(var(--udaf-primary-rgb), .12), transparent 28rem),
    linear-gradient(135deg, #fff 0%, var(--udaf-bg) 62%, var(--udaf-surface-2) 100%);
}
.hero::after {
  content:"";
  position:absolute;
  inset:auto -12% -43% 38%;
  height: 75%;
  border-radius: 50%;
  border: 1px solid rgba(var(--udaf-primary-rgb), .12);
  transform: rotate(-9deg);
  pointer-events:none;
}
.hero .container-udaf { position: relative; z-index: 2; }
.hero-title { font-size: clamp(3.2rem, 7vw, 6.7rem); max-width: 930px; }
.hero-compact .hero-title { font-size: clamp(3rem, 6vw, 5.6rem); max-width: 860px; }
.hero-visual {
  min-height: 420px;
  position: relative;
  display: grid;
  place-items: center;
}
.orbit {
  position: absolute;
  width: min(35vw, 450px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(var(--udaf-primary-rgb), .18);
}
.orbit::before, .orbit::after {
  content:"";
  position:absolute;
  inset: 13%;
  border: 1px solid rgba(var(--udaf-primary-rgb), .13);
  border-radius: 50%;
}
.orbit::after { inset: 28%; }
.hero-glyph {
  width: min(28vw, 320px);
  aspect-ratio: 1;
  display:grid;
  place-items:center;
  color: var(--udaf-primary);
  filter: drop-shadow(0 26px 45px rgba(var(--udaf-primary-rgb), .13));
}
.hero-glyph svg { width: 100%; height: 100%; }
.hero-note {
  position:absolute;
  right:0;
  bottom:8%;
  max-width: 13rem;
  border-left: 2px solid var(--udaf-accent);
  padding-left: 1rem;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--udaf-muted);
}

/* Cards */
.udaf-card {
  height: 100%;
  background: var(--udaf-surface);
  border: 1px solid var(--udaf-line);
  border-radius: var(--udaf-radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.udaf-card:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--udaf-primary-rgb), .30);
  box-shadow: var(--udaf-shadow);
}
.udaf-card-body { padding: 1.35rem; }
.udaf-card-icon {
  width: 3.1rem;
  height: 3.1rem;
  display:grid;
  place-items:center;
  background: rgba(var(--udaf-primary-rgb), .08);
  color: var(--udaf-primary);
  border-radius: .82rem;
  margin-bottom: 1rem;
}
.udaf-card-icon svg { width: 1.6rem; height: 1.6rem; }
.udaf-card-title {
  font-size: 1.22rem;
  font-weight: 850;
  letter-spacing: -.02em;
}
.udaf-card-link {
  display:inline-flex;
  gap:.5rem;
  align-items:center;
  margin-top: .7rem;
  color: var(--udaf-primary);
  font-weight:800;
  font-size:.9rem;
  text-decoration:none;
}
.visual-card {
  min-height: 320px;
  padding: 1.4rem;
  position: relative;
  overflow:hidden;
  color: #fff;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  border-radius: var(--udaf-radius-lg);
  background:
    linear-gradient(180deg, transparent 16%, rgba(10,26,29,.88) 100%),
    linear-gradient(135deg, var(--udaf-primary), var(--udaf-deep));
}
.visual-card::before {
  content:"";
  position:absolute;
  width:220px; height:220px;
  border-radius:50%;
  right:-60px; top:-55px;
  border:1px solid rgba(255,255,255,.24);
  box-shadow: 0 0 0 42px rgba(255,255,255,.04), 0 0 0 84px rgba(255,255,255,.025);
}
.visual-card > * { position:relative; z-index:1; }
.visual-card .tag { font-size:.68rem; text-transform:uppercase; font-weight:900; letter-spacing:.12em; opacity:.74; }
.visual-card h3 { font-size:1.55rem; font-weight:850; letter-spacing:-.035em; }

/* Stats */
.stats-strip {
  background: var(--udaf-deep);
  color: #fff;
}
.stat { padding: 1.2rem 0; }
.stat strong {
  display:block;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.stat span { display:block; margin-top:.5rem; font-size:.78rem; letter-spacing:.09em; text-transform:uppercase; opacity:.67; }

/* Badges */
.badge-udaf {
  border: 1px solid rgba(var(--udaf-primary-rgb), .18);
  background: rgba(var(--udaf-primary-rgb), .08);
  color: var(--udaf-primary);
  font-weight:800;
  letter-spacing:.06em;
}
.evidence-established { --udaf-primary: #44614f; --udaf-primary-rgb:68,97,79; }
.evidence-emerging { --udaf-primary: #a66539; --udaf-primary-rgb:166,101,57; }
.evidence-experimental { --udaf-primary: #8d4452; --udaf-primary-rgb:141,68,82; }

/* Diagram */
.system-diagram {
  position:relative;
  min-height: 500px;
  display:grid;
  place-items:center;
}
.system-core {
  position:absolute;
  width:150px; height:150px;
  border-radius:50%;
  display:grid; place-items:center;
  background: var(--udaf-surface);
  border: 1px solid rgba(var(--udaf-primary-rgb), .25);
  box-shadow: var(--udaf-shadow);
  text-align:center;
  font-weight:900;
}
.system-node {
  position:absolute;
  width:140px; min-height:95px;
  display:grid; place-items:center;
  text-align:center;
  padding:1rem;
  border-radius:1rem;
  background:var(--udaf-surface);
  border:1px solid var(--udaf-line);
  font-weight:850;
}
.system-node::before {
  content:"";
  position:absolute;
  inset:-1px;
  border-radius:inherit;
  pointer-events:none;
}
.node-1 { transform: translate(0,-190px); }
.node-2 { transform: translate(190px,-60px); }
.node-3 { transform: translate(118px,155px); }
.node-4 { transform: translate(-118px,155px); }
.node-5 { transform: translate(-190px,-60px); }
.system-ring {
  width: 420px; height:420px; border-radius:50%;
  border:1px dashed rgba(var(--udaf-primary-rgb), .24);
}

/* Article list */
.article-row {
  display:grid;
  grid-template-columns: 96px 1fr auto;
  gap:1rem;
  align-items:center;
  padding: 1rem 0;
  border-bottom:1px solid var(--udaf-line);
}
.article-thumb {
  height:70px;
  border-radius:.75rem;
  background:
    radial-gradient(circle at 76% 20%, rgba(var(--udaf-accent-rgb), .45), transparent 28%),
    linear-gradient(135deg, rgba(var(--udaf-primary-rgb), .9), var(--udaf-deep));
}
.article-meta { font-size:.73rem; color:var(--udaf-muted); text-transform:uppercase; letter-spacing:.08em; }
.article-title { font-weight:850; letter-spacing:-.02em; line-height:1.2; }

/* CTA */
.cta-band {
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 88% 25%, rgba(var(--udaf-accent-rgb), .30), transparent 25rem),
    linear-gradient(120deg, var(--udaf-deep), color-mix(in srgb, var(--udaf-primary) 58%, #09181a));
  color:#fff;
  border-radius:var(--udaf-radius-lg);
}
.cta-band::after {
  content:"";
  position:absolute;
  width:360px;height:360px;border-radius:50%;
  right:-100px;top:-140px;
  border:1px solid rgba(255,255,255,.18);
  box-shadow: 0 0 0 55px rgba(255,255,255,.025), 0 0 0 110px rgba(255,255,255,.018);
}
.cta-band > * { position:relative; z-index:1; }

/* Footer */
.udaf-footer {
  background:#0d2226;
  color:rgba(255,255,255,.78);
  padding:3.5rem 0 2rem;
}
.udaf-footer a { color:rgba(255,255,255,.78); text-decoration:none; }
.udaf-footer a:hover { color:#fff; }
.udaf-footer .brand-name small { color:rgba(255,255,255,.46); }

/* UI kit */
.swatch {
  height: 88px;
  border-radius: .9rem;
  padding: .8rem;
  display:flex;
  align-items:flex-end;
  font-size:.74rem;
  font-weight:800;
  color:#fff;
}
.demo-grid { background-image: linear-gradient(to right, rgba(var(--udaf-primary-rgb),.06) 1px, transparent 1px); background-size: 8.333% 100%; }

/* Responsive */
@media (max-width: 991.98px) {
  .hero { min-height:auto; padding:5rem 0 3rem; }
  .hero-visual { min-height:330px; margin-top:2rem; }
  .orbit { width:300px; }
  .hero-glyph { width:230px; }
  .hero-note { right:5%; }
  .system-diagram { min-height:620px; transform:scale(.88); }
}
@media (max-width: 767.98px) {
  .section { padding:4rem 0; }
  .hero-title { font-size: clamp(3rem, 15vw, 4.7rem); }
  .hero-visual { min-height:280px; }
  .hero-note { position:static; margin-top:1rem; }
  .system-diagram { transform:scale(.68); margin:-70px 0; }
  .article-row { grid-template-columns:72px 1fr; }
  .article-row > :last-child { display:none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior:auto !important; transition:none !important; }
}


/* Production homepage extensions */
.hero-microcopy{display:flex;flex-wrap:wrap;gap:.75rem 1.25rem;margin-top:1.5rem;color:var(--udaf-muted);font-size:.83rem;font-weight:700}.hero-microcopy span{display:inline-flex;align-items:center;gap:.45rem}.hero-microcopy span::before{content:"";width:.45rem;height:.45rem;border-radius:50%;background:var(--udaf-accent)}
.method-step{position:relative;padding:1.35rem 1.1rem 1.35rem 4.2rem;min-height:112px;border-top:1px solid var(--udaf-line)}.method-step:first-child{border-top:0}.method-step .num{position:absolute;left:0;top:1.1rem;width:3rem;height:3rem;border-radius:50%;display:grid;place-items:center;font-weight:900;background:rgba(var(--udaf-primary-rgb),.08);color:var(--udaf-primary);border:1px solid rgba(var(--udaf-primary-rgb),.14)}.method-step h3{font-size:1.05rem;font-weight:850;margin-bottom:.25rem}.method-step p{margin:0;color:var(--udaf-muted);font-size:.95rem}
.feature-panel{min-height:100%;background:var(--udaf-deep);color:#fff;border-radius:var(--udaf-radius-lg);padding:clamp(1.5rem,3vw,2.5rem);position:relative;overflow:hidden}.feature-panel::after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;right:-190px;top:-180px;border:1px solid rgba(255,255,255,.18);box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.015)}.feature-panel>*{position:relative;z-index:1}.feature-kpi{padding:1rem 0;border-top:1px solid rgba(255,255,255,.12)}.feature-kpi strong{display:block;font-size:1.5rem;font-weight:900}.feature-kpi span{color:rgba(255,255,255,.55);font-size:.78rem;text-transform:uppercase;letter-spacing:.08em}
.principle{border-top:1px solid var(--udaf-line);padding:1.25rem 0}.principle:first-child{border-top:0}.principle strong{display:block;font-size:1.08rem;margin-bottom:.25rem}.principle p{margin:0;color:var(--udaf-muted)}
\n\n/* MultistyleCMS navigation adapter */
.udaf-site-nav { border-top: 1px solid var(--udaf-line); background: rgba(255,255,255,.92); }
.udaf-site-nav .container-udaf { min-height: 3rem; display:flex; align-items:center; }
.udaf-cms-menu { list-style:none; display:flex; align-items:center; flex-wrap:wrap; gap:.15rem; margin:0; padding:0; }
.udaf-cms-menu > li { position:relative; list-style:none; }
.udaf-cms-menu a { display:flex; align-items:center; gap:.35rem; padding:.68rem .8rem; border-radius:.55rem; color:var(--udaf-ink); text-decoration:none; font-size:.88rem; font-weight:750; }
.udaf-cms-menu a:hover { color:var(--udaf-primary); background:rgba(var(--udaf-primary-rgb),.06); }
.udaf-cms-menu ul { display:none; position:absolute; z-index:1100; top:100%; left:0; min-width:230px; list-style:none; padding:.45rem; margin:0; background:var(--udaf-surface); border:1px solid var(--udaf-line); border-radius:.8rem; box-shadow:var(--udaf-shadow); }
.udaf-cms-menu li:hover > ul, .udaf-cms-menu li:focus-within > ul { display:block; }
.udaf-cms-menu ul li { position:relative; }
.udaf-cms-menu ul ul { left:100%; top:0; }
.udaf-cms-menu .bi { display:none; }
.udaf-nav-label { flex:0 0 auto; margin-right:1rem; font-size:.68rem; font-weight:900; letter-spacing:.14em; color:var(--udaf-muted); text-transform:uppercase; }
.udaf-ecosystem { font-size:.78rem; font-weight:800; letter-spacing:.02em; }
.udaf-ecosystem a { color:var(--udaf-muted); text-decoration:none; padding:.25rem .35rem; }
.udaf-ecosystem a:hover { color:var(--udaf-primary); }
.article-list-shell { padding:clamp(3.5rem,7vw,6.5rem) 0; }
.article-list-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; }
.article-card-image { aspect-ratio:16/10; width:100%; object-fit:cover; display:block; background:var(--udaf-surface-2); }
.article-card-date { color:var(--udaf-muted); font-size:.72rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.article-page { padding:clamp(3.5rem,7vw,6.5rem) 0; }
.article-page-inner { width:min(calc(100% - 2rem), 900px); margin-inline:auto; }
.article-page .article-lead { color:var(--udaf-muted); font-size:1.2rem; }
.article-page .article-body { font-size:1.07rem; line-height:1.78; }
.article-page .article-body h2, .article-page .article-body h3 { font-family:var(--udaf-display); font-weight:850; letter-spacing:-.025em; margin-top:2.2em; }
.article-page .article-body img { border-radius:var(--udaf-radius); margin:1.5rem 0; }
.article-hero-image { width:100%; max-height:600px; object-fit:cover; border-radius:var(--udaf-radius-lg); margin:1.75rem 0 2rem; }
.udaf-generated-note { padding:.65rem .85rem; border:1px dashed var(--udaf-line); border-radius:.6rem; color:var(--udaf-muted); font-size:.82rem; }
@media (max-width: 991.98px) {
 .udaf-site-nav .container-udaf { display:block; padding-top:.5rem; padding-bottom:.5rem; }
 .udaf-nav-label { display:block; margin:0 0 .3rem; }
 .udaf-cms-menu { display:block; }
 .udaf-cms-menu > li { border-top:1px solid var(--udaf-line); }
 .udaf-cms-menu ul, .udaf-cms-menu ul ul { display:block; position:static; border:0; box-shadow:none; padding:0 0 0 1rem; min-width:0; background:transparent; }
 .article-list-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 575.98px) { .article-list-grid { grid-template-columns:1fr; } }

.domain-card{position:relative;overflow:hidden}.domain-card::after{content:"";position:absolute;width:150px;height:150px;border-radius:50%;top:-86px;right:-74px;border:1px solid rgba(var(--udaf-primary-rgb),.16);box-shadow:0 0 0 34px rgba(var(--udaf-primary-rgb),.035)}.domain-card .udaf-card-body{position:relative;z-index:1}
