/*!
 * Theme Name: PDTI Green Ops
 * Description: Visual identity for Pusat Data & Teknologi Informasi UMI.
 * Version: 1.0.0
 *
 * The concept: PDTI is the control room for UMI's digital infrastructure.
 * A dark, telemetry-flavoured chrome carrying an Islamic girih lattice, over
 * light, generous reading surfaces. Green is the university's colour; mint is
 * the "this is live" signal; gold is reserved for emphasis, never decoration.
 *
 * Contents
 *   1  Tokens
 *   2  Reset & base
 *   3  Typography
 *   4  Layout primitives
 *   5  Components — buttons, cards, badges
 *   6  Header & navigation
 *   7  Hero & telemetry rail
 *   8  Sections
 *   9  Article & prose
 *  10  Forms
 *  11  Footer
 *  12  Floating UI — accessibility, back-to-top, assistant
 *  13  Accessibility modes
 *  14  RTL
 *  15  Print
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/plus-jakarta-sans-latin.woff2') format('woff2-variations'),
       url('fonts/plus-jakarta-sans-latin.woff2') format('woff2');
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215;
}

@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-latin.woff2') format('woff2-variations'),
       url('fonts/jetbrains-mono-latin.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212;
}

/* Loaded only where it is needed — see [dir="rtl"] below. */
@font-face {
  font-family: 'Noto Naskh Arabic';
  src: url('fonts/noto-naskh-arabic.woff2') format('woff2-variations'),
       url('fonts/noto-naskh-arabic.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}

:root {
  /* Palette */
  --void:   #04150F;
  --deep:   #062A1E;
  --forest: #0A3D2B;
  --green:  #0E7A4F;
  --mint:   #24D3A5;
  --mint-dim: #14B389;
  --gold:   #C9A227;
  --paper:  #F6F8F7;
  --white:  #FFFFFF;

  /* Header height as a token, not a number repeated in three places. The
     mobile nav drawer hangs off it — when the header grew for the three-line
     brand lockup, a hard-coded 4.25rem there would have slid the drawer up
     under the header, and nothing in the header's own rules would say so. */
  --header-h: 4.75rem;
  --ink:    #0B1F17;
  --muted:  #5A6B63;
  --line:   #DCE5E0;
  --danger: #B4231F;

  /* Semantic */
  --bg: var(--paper);
  --fg: var(--ink);
  --surface: var(--white);
  --border: var(--line);
  --accent: var(--green);

  /* Text on dark surfaces. Named, because "which green-grey was that again?"
     is how a palette drifts into a dozen near-identical hexes. */
  --on-dark:      #D8E6DF;
  --on-dark-soft: #C6D8CF;
  --on-dark-dim:  #9FB8AD;
  --hairline:     rgba(255, 255, 255, 0.1);
  --hairline-hi:  rgba(255, 255, 255, 0.16);

  /* Type */
  --font-display: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', 'SF Mono', Menlo, monospace;

  /* A fluid scale: readable on a phone, composed on a desktop, with no
     breakpoint jumps in between.
     Every size in this stylesheet comes from here. The small end carries most
     of the interface — labels, meta, mono captions — so it gets three real
     steps rather than a dozen hand-picked decimals that never quite agree. */
  --step--3: clamp(0.65rem, 0.63rem + 0.09vw, 0.70rem);
  --step--2: clamp(0.74rem, 0.71rem + 0.11vw, 0.79rem);
  --step--1: clamp(0.82rem, 0.79rem + 0.14vw, 0.89rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.42rem);
  --step-2:  clamp(1.44rem, 1.3rem + 0.7vw, 1.9rem);
  --step-3:  clamp(1.73rem, 1.5rem + 1.15vw, 2.5rem);
  --step-4:  clamp(2.07rem, 1.7rem + 1.85vw, 3.3rem);
  --step-5:  clamp(2.49rem, 1.9rem + 2.9vw, 4.4rem);

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Shape — 12px is the girih star's cut, reused everywhere as the notch. */
  --notch: 12px;
  --radius: 4px;

  --shadow-sm: 0 1px 2px rgba(6, 42, 30, 0.06), 0 2px 8px rgba(6, 42, 30, 0.04);
  --shadow-md: 0 2px 6px rgba(6, 42, 30, 0.08), 0 12px 28px rgba(6, 42, 30, 0.08);

  --wrap: 76rem;
  --measure: 68ch;

  --speed: 200ms;
  --ease: cubic-bezier(0.2, 0, 0.15, 1);
}

/* ==========================================================================
   2. Reset & base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Anchored headings must clear the sticky header. */
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img, picture, svg, video { max-width: 100%; height: auto; display: block; }
svg { flex: none; }

a { color: var(--accent-fg); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--forest); }

/* One visible focus treatment everywhere. Never removed — only restyled. */
:focus-visible {
  outline: 3px solid var(--mint);
  outline-offset: 2px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

::selection { background: var(--mint); color: var(--void); }

hr { border: 0; height: 1px; background: var(--border); margin: var(--sp-6) 0; }

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -100%;
  z-index: 200;
  background: var(--void);
  color: var(--white);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius);
  font-weight: 600;
  transition: top var(--speed) var(--ease);
}
.skip-link:focus { top: var(--sp-4); color: var(--white); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   3. Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.021em;
  margin: 0 0 var(--sp-4);
  text-wrap: balance;
  /* A single long token — a URL, a system name — must never be able to push
     the page wider than the screen. Headings are where that bites first,
     because they run at four times the body size. */
  overflow-wrap: break-word;
}

h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 var(--sp-4); text-wrap: pretty; }

.lead {
  font-size: var(--step-1);
  line-height: 1.55;
  color: var(--muted);
  max-width: var(--measure);
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

/* The section eyebrow: a mono index number and a hairline, borrowed from
   technical documentation rather than marketing pages. */
.eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-fg);
  margin-bottom: var(--sp-3);
}
.eyebrow::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--green), transparent);
  opacity: 0.4;
}
.eyebrow--light { color: var(--accent-fg); }
.eyebrow--light::after { background: linear-gradient(90deg, var(--mint), transparent); }

/* ==========================================================================
   4. Layout primitives
   ========================================================================== */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
/* For single-column reading blocks — FAQ, search, forms — where the full
   width would run past a comfortable measure. One value, not three
   hand-picked ones per page. */
.wrap--narrow { width: min(100% - 2.5rem, 54rem); }

/* Standard gap between a block's intro and the content it introduces. */
.block-intro { margin-bottom: var(--sp-7); }

.section { padding-block: var(--sp-8); }
.section--tight { padding-block: var(--sp-7); }
/* A white band between two paper-coloured sections, so the news block reads
   as a distinct surface without needing a border of its own. */
.section--paper {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.section--dark {
  background: var(--deep);
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.section--dark h2, .section--dark h3 { color: var(--hi); }

.section__head { margin-bottom: var(--sp-6); max-width: var(--measure); }
.section__head p { color: var(--muted); margin: 0; }
.section--dark .section__head p { color: var(--on-dark-dim); }

.section__bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-5);
  flex-wrap: wrap;
  margin-bottom: var(--sp-6);
}
.section__bar .section__head { margin-bottom: 0; }

.grid { display: grid; gap: var(--sp-5); }
/* Two, for the same reason grid--3 is three: auto-fit gave a third column on a
   wide screen and left the fourth item alone on its own row. */
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 52rem) { .grid--2 { grid-template-columns: minmax(0, 1fr); } }
/* Three, not "as many as fit". auto-fit gave four columns on a wide screen,
   which left the last row of a three-item set orphaned. */
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }

@media (max-width: 64rem) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 44rem) { .grid--3 { grid-template-columns: minmax(0, 1fr); } }

.grid--middle { align-items: center; }
/* The feature card and the cards under it belong to one block, so they sit
   closer together than two separate grids would. */
.grid--after-feature { margin-top: var(--sp-5); }

.stack > * + * { margin-top: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* The signature girih backdrop. Inline SVG, so it costs no request and
   inherits currentColor for the high-contrast mode.
   Oversized by 6% so the slow drift never exposes an edge. */
.girih {
  position: absolute;
  inset: -3%;
  width: 106%;
  height: 106%;
  color: var(--accent-fg);
  pointer-events: none;
  z-index: 0;
  animation: girih-drift 96s ease-in-out infinite alternate;
}
/* Targets the content wrapper by name rather than "whatever follows the
   girih". The earlier `.girih ~ *:not(.motes)` form had to be told about each
   new decorative layer, and it caught the footer's connection ribbon the
   moment that was added: the rule forced `position: relative`, the ribbon
   fell back into flow, and it rendered 177px above the footer it belongs to.
   Every section using this pattern wraps its content in `.wrap`. */
.girih ~ .wrap { position: relative; z-index: 1; }

@keyframes girih-drift {
  from { transform: translate3d(-1.2%, 0.8%, 0); }
  to   { transform: translate3d(1.2%, -0.8%, 0); }
}

/* --------------------------------------------------------------------------
   Data motes
   Ambient traffic for the quiet dark panels. Sparse and slow on purpose: a
   control room reads as calm, and motion that competes with the text would
   make the page feel busy rather than alive.
   -------------------------------------------------------------------------- */
.motes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.mote--gold { background: var(--gold); box-shadow: 0 0 9px rgba(201, 162, 39, 0.6); }

@keyframes mote-rise {
  0%       { transform: translate3d(0, 0, 0); opacity: 0; }
  14%      { opacity: 0.85; }
  70%      { opacity: 0.5; }
  100%     { transform: translate3d(18px, -210px, 0); opacity: 0; }
}

/* ==========================================================================
   5. Components
   ========================================================================== */

.btn {
  --btn-bg: var(--green);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.72rem 1.4rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-0);
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius);
  /* The notched corner — the girih star's cut, carried across the whole UI. */
  clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
  text-decoration: none;
  cursor: pointer;
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.btn:hover { --btn-bg: var(--forest); color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.15em; height: 1.15em; }

.btn--mint { --btn-bg: var(--mint); --btn-fg: var(--void); }
.btn--mint:hover { --btn-bg: var(--mint-dim); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover { --btn-bg: var(--white); --btn-fg: var(--green); border-color: var(--green); }

.btn--ghost-light {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn--ghost-light:hover { --btn-bg: rgba(255, 255, 255, 0.14); --btn-fg: var(--white); }

.btn--sm { padding: 0.45rem 0.9rem; font-size: var(--step--1); --notch: 8px; }
.btn--block { width: 100%; justify-content: center; }

/* Every icon() call emits class="ico". Giving it a size here means a context
   that forgets to size its icons gets a small one rather than an SVG stretched
   to the full width of its container — which is exactly what happened the
   first time the services-by-audience block had rows to render.
   Single-class specificity, so any component rule still overrides it. */
.ico { width: 1.15rem; height: 1.15rem; flex: none; }

/* Card — the notch appears on the top-left and bottom-right, so a grid of
   them reads as one cut sheet rather than a row of rounded boxes. */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__body { padding: var(--sp-5); display: flex; flex-direction: column; gap: var(--sp-3); flex: 1; }
.card__title { font-size: var(--step-1); margin: 0; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a:hover { color: var(--accent-fg); }
.card__text { color: var(--muted); margin: 0; font-size: var(--step--1); line-height: 1.6; }
.card__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3);
  font-family: var(--font-mono); font-size: var(--step--2); letter-spacing: 0.05em;
  color: var(--muted); text-transform: uppercase;
}
/* picture is inline by default, so an img inside it resolves height:100%
   against an auto-height box and falls back to its intrinsic size. */
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--deep); }
.card__media picture { display: block; width: 100%; height: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__foot { margin-top: auto; padding-top: var(--sp-2); }

/* Feature story — the newest article, image left, text right. Gives the news
   block a focal point; a grid of equal cards gives the eye nowhere to land. */
.feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.feature:hover { border-color: var(--green); box-shadow: var(--shadow-md); }
.feature__media { position: relative; overflow: hidden; background: var(--deep); min-height: 20rem; }
.feature__media picture { display: block; position: absolute; inset: 0; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.feature:hover .feature__media img { transform: scale(1.03); }
.feature__body {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: var(--sp-3); padding: var(--sp-6);
  justify-content: center;
}
.feature__title { font-size: var(--step-3); line-height: 1.15; margin: 0; }
.feature__title a { color: inherit; text-decoration: none; }
.feature__title a:hover { color: var(--accent-fg); }
.feature__text { color: var(--muted); margin: 0; line-height: 1.65; }

/* --------------------------------------------------------------------------
   Dark panel + link list
   The services-by-audience block on the homepage: one panel per audience,
   holding a checklist of links.
   -------------------------------------------------------------------------- */
.panel-dark {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-5);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--hairline);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
}
.panel-dark > .badge { align-self: flex-start; }

.link-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.link-list li + li { border-top: 1px solid var(--hairline); }
.link-list a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding-block: var(--sp-3);
  color: var(--on-dark-soft);
  font-size: var(--step--1);
  text-decoration: none;
  transition: color var(--speed) var(--ease);
}
.link-list a:hover { color: var(--hi); }
.link-list .ico { width: 0.95rem; height: 0.95rem; color: var(--accent-fg); }

.fig { width: 100%; height: auto; display: block; }
.fig__body   { fill: var(--green); }
.fig__head,
.fig__skin   { fill: var(--on-dark-soft); }
.fig__accent { fill: var(--mint); color: var(--accent-fg); }
.fig__gold   { fill: var(--gold); color: var(--gold-fg); }
/* Held objects — book pages, clipboard, speech bubble. Light, because a
   dark prop on a dark card is invisible no matter how well it is drawn. */
.fig__paper  { fill: var(--on-dark); }
.fig__panel  { fill: var(--deep); }
/* Ruled lines on those objects, so they need the paper's opposite. */
.fig__rule   { color: var(--accent-fg); }

/* The figure drifts up slightly on hover, with the card. */
.fig { transition: transform 500ms var(--ease); }

/* The mint hairline marks the lead as the entry point of the section. */
.feature::before {
  content: ""; position: absolute; inset-inline-start: 0; inset-block: 0;
  width: 3px; background: linear-gradient(180deg, var(--mint), var(--green));
}

@media (max-width: 56rem) {
  .feature { grid-template-columns: minmax(0, 1fr); }
  .feature__media { min-height: 0; aspect-ratio: 16 / 9; }
  .feature__body { padding: var(--sp-5); }
}

/* Icon tile used by the service and system grids. */
.tile {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: var(--sp-5);
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
  text-decoration: none;
  color: inherit;
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.tile:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow-md); color: inherit; }
.tile__icon {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--deep), var(--forest));
  color: var(--mint);
  border-radius: var(--radius);
}
.tile__icon svg { width: 1.4rem; height: 1.4rem; }
.tile__name { font-family: var(--font-display); font-weight: 700; font-size: var(--step-0); }
.tile__desc { color: var(--muted); font-size: var(--step--1); margin: 0; line-height: 1.55; }
.tile__go { margin-top: auto; color: var(--accent-fg); font-weight: 600; font-size: var(--step--1); display: inline-flex; align-items: center; gap: var(--sp-2); }
.tile:hover .tile__go svg { transform: translateX(3px); }
.tile__go svg { width: 1em; height: 1em; transition: transform var(--speed) var(--ease); }

.badge {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  padding: 0.2rem 0.6rem;
  font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(14, 122, 79, 0.1);
  color: var(--accent-fg);
  border-radius: 2px;
  text-decoration: none;
}
.badge--gold { background: rgba(201, 162, 39, 0.14); color: #8A6D12; }
.badge--live { background: rgba(36, 211, 165, 0.14); color: var(--mint-dim); }

/* The live-status dot. Its pulse is the only ambient motion on the page. */
.dot {
  width: 0.5rem; height: 0.5rem;
  background: var(--mint);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(36, 211, 165, 0.6);
  animation: pulse 2.6s var(--ease) infinite;
  flex: none;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(36, 211, 165, 0.55); }
  70%  { box-shadow: 0 0 0 0.55rem rgba(36, 211, 165, 0); }
  100% { box-shadow: 0 0 0 0 rgba(36, 211, 165, 0); }
}

/* Gradient hairline used to separate sections. */
.rule {
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--mint) 40%, transparent);
  border: 0;
  margin: 0;
}

/* ==========================================================================
   6. Header & navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(4, 21, 15, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--hi);
  /* Must be allowed to shrink. With flex:none it kept its full width on a
     320px screen and pushed the header tools clean off the right edge —
     the buttons were squashed to 14px and their icons overflowed to 416px. */
  flex: 0 1 auto;
  min-width: 0;
}
/* The official PDTI mark. Its gear is navy — drawn for a light ground — so on
   the dark header it sits on a light plate rather than being recoloured. A
   university's mark is not ours to restyle. The notch matches the cards. */
.brand__mark {
  /* Scaled with the text block: against three lines the old 2.5rem mark read
     as an afterthought rather than half of a lockup. */
  width: 2.875rem; height: 2.875rem;
  flex: none;
  box-sizing: border-box;
  padding: 3px;
  background: var(--white);
  object-fit: contain;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.brand__name,
.brand__long,
.brand__sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Colour stated here rather than inherited from the .brand anchor. It was the
   only line of the three without its own colour, so any rule that reached the
   anchor — a generic `a { color }`, a stylesheet loading out of order — took
   the title with it and left the other two lines correct. A lockup's own name
   should not depend on what its link colour happens to be. */
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  color: var(--hi);
}
/* The unit's full name. Held below the title on size and weight because it is
   four times as many characters: at equal treatment the longer line wins on
   sheer mass and the lockup reads upside down. */
.brand__long {
  font-size: var(--step--2);
  line-height: 1.3;
  color: var(--on-dark-soft);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: var(--step--3);
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-fg);
}
/* Gold in the header only, where this line carries the university's name.
   The footer reuses the same slot for the tagline, which is a different kind
   of statement and keeps the mint. */
.site-header .brand__sub { color: var(--gold-fg); }

/* "UNIVERSITAS MUSLIM INDONESIA" is 28 mono characters — about 227px, and it
   only fits when nothing else is competing for the row. Two ranges cannot
   afford it: below 30rem it loses to the three tool buttons, and from 60rem
   (where the full nav replaces the hamburger) to 76rem it loses to the menu.
   Truncating a university's name to "UNIVERSITAS MUSLIM INDONE…" is worse
   than leaving it out.

   The middle line goes with it in both ranges, for the same reason: measured
   across 370–430px, and again from 961px once the nav appears, it truncated
   to "Pusat Data & Teknologi Inform…". One clean line beats two broken ones.

   Both lines are dropped on the same breakpoints rather than each on its own
   measured edge. Those edges are not stable: the nav labels differ per
   language, and the tightest point sat at 961px in Indonesian but 990px in
   English and Arabic. A boundary tuned to one locale silently breaks the
   others, so the wider, shared bound is the honest one. */
@media (max-width: 30rem),
       (min-width: 60.0625rem) and (max-width: 76rem) {
  .brand__sub,
  .brand__long { display: none; }
  /* One line left, so the header does not need the height three asked for.
     Set on the same condition as the hiding above, so the two can never
     disagree about how tall the lockup actually is. */
  :root { --header-h: 4.25rem; }
}

/* At 320px the gaps alone were eating enough width to force "PDTI UMI" into
   an ellipsis. Tightening them buys back ~60px, which is cheaper than
   shrinking the tool buttons below a comfortable touch target. */
@media (max-width: 26rem) {
  .site-header__inner { gap: var(--sp-3); }
  .header-tools { gap: 0.3rem; }
  .brand { gap: var(--sp-2); }
  .brand__mark { width: 2.25rem; height: 2.25rem; }
}

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: var(--sp-1); list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--on-dark-soft);
  font-weight: 500;
  font-size: var(--step-0);
  text-decoration: none;
  border-radius: var(--radius);
  transition: color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.nav__link:hover { color: var(--hi); background: rgba(255, 255, 255, 0.07); }
.nav__link[aria-current='page'] { color: var(--accent-fg); }

.nav__item { position: relative; }
.nav__sub {
  position: absolute;
  top: 100%; inset-inline-start: 0;
  min-width: 13rem;
  background: var(--void);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--sp-2);
  list-style: none;
  margin: 0;
  display: none;
  box-shadow: var(--shadow-md);
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub { display: block; }

.header-tools { display: flex; align-items: center; gap: var(--sp-2); flex: none; }

.icon-btn {
  width: 2.25rem; height: 2.25rem;
  flex: none;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  color: var(--on-dark-soft);
  cursor: pointer;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.14); color: var(--hi); }
.icon-btn svg { width: 1.05rem; height: 1.05rem; }

/* Language switcher */
.lang { position: relative; }
.lang__menu {
  position: absolute;
  top: calc(100% + 0.4rem); inset-inline-end: 0;
  min-width: 11rem;
  background: var(--void);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: var(--sp-2);
  list-style: none; margin: 0;
  box-shadow: var(--shadow-md);
}
.lang__menu[hidden] { display: none; }
.lang__link {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3);
  padding: 0.45rem 0.6rem;
  color: var(--on-dark-soft); text-decoration: none; font-size: var(--step-0);
  border-radius: var(--radius);
}
.lang__link:hover { background: rgba(255, 255, 255, 0.08); color: var(--hi); }
.lang__link[aria-current='true'] { color: var(--accent-fg); }
.lang__code { font-family: var(--font-mono); font-size: var(--step--3); letter-spacing: 0.1em; opacity: 0.7; }

/* Mobile navigation */
.nav-toggle { display: none; }

@media (max-width: 60rem) {
  .nav-toggle { display: grid; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--void);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--sp-4);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav[hidden] { display: none; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 0.75rem 0.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); border-radius: 0; }
  .nav__sub { position: static; display: block; border: 0; background: transparent; padding-inline-start: var(--sp-4); }
}

/* ==========================================================================
   7. Hero & telemetry rail
   ========================================================================== */

.hero {
  position: relative;
  background: linear-gradient(168deg, var(--deep) 0%, var(--void) 74%);
  color: var(--hi);
  overflow: hidden;
  isolation: isolate;
}

/* The glow is its own layer so it can drift. As part of the `background`
   shorthand it was locked to the element and could not be animated without
   repainting the whole gradient stack every frame. */
.hero::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(closest-side, rgba(14, 122, 79, 0.5), transparent 70%);
  width: 90%;
  height: 90%;
  inset-inline-start: 42%;
  top: -22%;
  pointer-events: none;
  z-index: 0;
  animation: hero-glow 34s ease-in-out infinite alternate;
}

@keyframes hero-glow {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  to   { transform: translate3d(-6%, 5%, 0) scale(1.12); opacity: 1; }
}

/* Scroll reveal. The .reveal class is added by JS, never by the markup, so a
   failed script cannot leave the page invisible. */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 620ms var(--ease), transform 620ms var(--ease);
}
.reveal.is-in { opacity: 1; transform: none; }

.hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 6vw, 5rem);
  display: grid;
  gap: var(--sp-7);
  /* The graph sits beside the headline; the status board spans beneath both,
     which gives the graph room to be the focal point instead of squeezing it
     into a column shared with four numbers. */
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  grid-template-areas:
    "text  hub"
    "stats stats";
  align-items: center;
}
.hero__text { grid-area: text; }

.stat-panel { grid-area: stats; }

/* The supporting text rises in sequence. The h1 is deliberately absent from
   this list: it is the LCP candidate, and starting it at opacity 0 would push
   the metric back by the length of the animation. Character is not worth
   paying for with the number the whole build has been tuned around. */
.hero__status  { animation: hero-rise 0.55s ease-out 0.05s backwards; }
.hero__eyebrow { animation: hero-rise 0.55s ease-out 0.12s backwards; }
.hero__lead    { animation: hero-rise 0.6s ease-out 0.3s backwards; }
.hero__actions { animation: hero-rise 0.6s ease-out 0.42s backwards; }
.stat-panel    { animation: hero-rise 0.7s ease-out 0.6s backwards; }

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(14px); }
}

@media (max-width: 62rem) {
  .hero__inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "text" "hub" "stats";
  }
}

.hero__status {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  padding: 0.35rem 0.85rem;
  background: rgba(36, 211, 165, 0.1);
  border: 1px solid rgba(36, 211, 165, 0.3);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--step--2); font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent-fg);
  margin-bottom: var(--sp-5);
}

.hero__eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-fg);
  margin-bottom: var(--sp-3);
}

.hero__title {
  font-size: var(--step-5);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 var(--sp-4);
  color: var(--hi);
}
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--mint), var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: var(--step-1);
  color: var(--on-dark-soft);
  max-width: 38rem;
  margin: 0 0 var(--sp-6);
  line-height: 1.55;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* Stat panel — deliberately tabular and monospaced, like a status board.
   Four across beneath the hero now that it spans the full width. */
.stat-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
/* Four across needs the full hero width. Below that a figure like "10.669"
   breaks across two lines, which makes the board unreadable. */
@media (max-width: 48rem) {
  .stat-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.stat {
  background: rgba(4, 21, 15, 0.72);
  padding: var(--sp-5);
  display: flex; flex-direction: column; gap: var(--sp-1);
}
.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem);
  font-weight: 700;
  color: var(--accent-fg);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.stat__label {
  font-size: var(--step--1);
  color: var(--on-dark-dim);
  line-height: 1.35;
}

/* The telemetry rail under the header. */
.telemetry {
  background: var(--void);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--on-dark-dim);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  overflow: hidden;
}
.telemetry__inner {
  display: flex; align-items: center; gap: var(--sp-5);
  padding-block: 0.55rem;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  /* The rail is meant to scroll, but on a phone it cuts mid-word and simply
     looks broken. Fading the trailing edge says "there is more" instead. */
  mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
}
[dir='rtl'] .telemetry__inner {
  mask-image: linear-gradient(270deg, #000 88%, transparent 100%);
}
.telemetry__inner::-webkit-scrollbar { display: none; }
.telemetry__item { display: inline-flex; align-items: center; gap: var(--sp-2); flex: none; }
.telemetry__item strong { color: var(--accent-fg); font-weight: 600; }
.telemetry__sep { color: rgba(255, 255, 255, 0.2); flex: none; }

/* ==========================================================================
   8. Sections
   ========================================================================== */

.page-head {
  background: linear-gradient(168deg, var(--deep), var(--void));
  color: var(--hi);
  position: relative;
  overflow: hidden;
  padding-block: var(--sp-7);
}
.page-head__inner { position: relative; z-index: 2; }
.page-head h1 { color: var(--hi); margin-bottom: var(--sp-3); }
.page-head p { color: var(--on-dark-soft); max-width: var(--measure); margin: 0; }

.breadcrumb {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  margin-bottom: var(--sp-4);
  color: var(--on-dark-dim);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.breadcrumb a { color: var(--on-dark-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-fg); }
.breadcrumb li + li::before { content: '/'; margin-inline-end: var(--sp-2); opacity: 0.4; }

/* Accordion (FAQ) */
.accordion { border-top: 1px solid var(--border); }
.accordion__item { border-bottom: 1px solid var(--border); }
.accordion__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  padding: var(--sp-5) 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--step-1);
  cursor: pointer;
  list-style: none;
}
.accordion__item summary::-webkit-details-marker { display: none; }
.accordion__item summary::after {
  content: '';
  width: 0.7rem; height: 0.7rem; flex: none;
  border-inline-end: 2px solid var(--green);
  border-block-end: 2px solid var(--green);
  transform: rotate(45deg);
  transition: transform var(--speed) var(--ease);
}
.accordion__item[open] summary::after { transform: rotate(-135deg); }
.accordion__body { padding-bottom: var(--sp-5); color: var(--muted); max-width: var(--measure); }
.accordion__body > :last-child { margin-bottom: 0; }

/* Download list */
.dl-item {
  display: flex; align-items: center; gap: var(--sp-4);
  padding: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  text-decoration: none; color: inherit;
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.dl-item:hover { border-color: var(--green); transform: translateX(3px); color: inherit; }
.dl-item__ext {
  width: 2.6rem; height: 2.6rem; flex: none;
  display: grid; place-items: center;
  background: var(--deep); color: var(--accent-fg);
  font-family: var(--font-mono); font-size: var(--step--3); font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  border-radius: var(--radius);
}
.dl-item__body { flex: 1; min-width: 0; }
.dl-item__title { font-weight: 600; margin: 0 0 0.15rem; }
.dl-item__meta { font-family: var(--font-mono); font-size: var(--step--2); color: var(--muted); letter-spacing: 0.04em; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; gap: var(--sp-2); justify-content: center; margin-top: var(--sp-7); }
.pager a, .pager span {
  min-width: 2.5rem;
  padding: 0.5rem 0.8rem;
  text-align: center;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  border-radius: var(--radius);
}
.pager a:hover { border-color: var(--green); color: var(--accent-fg); }
.pager [aria-current='page'] { background: var(--green); color: var(--white); border-color: var(--green); }

/* Empty state */
.empty {
  text-align: center;
  padding: var(--sp-8) var(--sp-4);
  border: 1px dashed var(--border);
  color: var(--muted);
}
.empty h3 { color: var(--ink); }

.rosette { width: 100%; height: 100%; }

.rosette__guide,
.rosette__star,
.rosette__spoke,
.rosette__petal {
  fill: none;
  stroke: var(--mint);
  stroke-linejoin: round;
}
.rosette__guide  { stroke-width: 0.6; opacity: 0.12; }
.rosette__star   { stroke-width: 1.2; opacity: 0.26; }
.rosette__star--soft { stroke-width: 0.9; opacity: 0.16; }
.rosette__star--core { stroke: var(--gold); stroke-width: 1.4; opacity: 0.34; }
.rosette__spoke  { stroke-width: 0.5; opacity: 0.09; }
.rosette__petal  { stroke-width: 1; opacity: 0.2; }
.rosette__eye    { fill: var(--gold); opacity: 0.22; }

/* The rosette turns once, very slowly — enough to notice on a second visit,
   not enough to distract on the first. */
.rosette {
  transform-origin: 50% 50%;
  animation: rosette-turn 240s linear infinite;
}
@keyframes rosette-turn { to { transform: rotate(360deg); } }

@keyframes arch-flow {
  0%        { top: 1.6rem; opacity: 0; }
  8%, 88%   { opacity: 1; }
  100%      { top: calc(100% - 2rem); opacity: 0; }
}

/* Contact block on the dark closing section. */
.contact-lead { color: var(--on-dark-dim); max-width: 40ch; }
.contact-actions { margin-top: var(--sp-5); }

/* --------------------------------------------------------------------------
   Icon list
   One pattern for every "icon + line of text" list on the site — contact
   details, download meta, footer. It was previously re-typed as inline styles
   in five views, each with its own gap, which is precisely how a layout stops
   feeling like one design.
   -------------------------------------------------------------------------- */
.icon-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.icon-list li { display: flex; align-items: flex-start; gap: var(--sp-3); }
.icon-list svg {
  width: 1.15rem; height: 1.15rem;
  flex: none;
  margin-top: 0.15rem;
  color: var(--accent-fg);
}
.icon-list--on-dark { color: var(--on-dark-soft); }
.icon-list--on-dark svg { color: var(--accent-fg); }

/* --------------------------------------------------------------------------
   Small shared patterns
   These all existed before as inline styles repeated across views. Naming them
   is what makes the spacing and type scales actually hold.
   -------------------------------------------------------------------------- */

/* A wider gutter for two-column page bodies (form beside a sidebar). */
.grid--wide-gap { gap: var(--sp-7); align-items: start; }
/* Paired form fields: no row gap, because each field carries its own. */
.grid--fields { gap: 0 var(--sp-4); }

.form__submit { margin-top: var(--sp-4); }

.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-7);
}
.search-bar__input { flex: 1; min-width: 14rem; }

.result-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.card--spaced { margin-top: var(--sp-6); }
.card__body--start { align-items: flex-start; }
.card__title--sm { font-size: var(--step-0); }

.dl-item__icon { color: var(--accent-fg); flex: none; }

.page__stamp { color: var(--muted); margin-top: var(--sp-7); }

.section--ruled { border-top: 1px solid var(--border); }

.site-footer__brand { margin-bottom: var(--sp-4); }
.site-footer__blurb { max-width: 32ch; font-size: var(--step--1); line-height: 1.65; }

/* ==========================================================================
   9. Article & prose
   ========================================================================== */

.article-layout {
  display: grid;
  gap: var(--sp-7);
  grid-template-columns: minmax(0, 1fr) 19rem;
  align-items: start;
}
@media (max-width: 64rem) { .article-layout { grid-template-columns: minmax(0, 1fr); } }

.article__hero { margin-bottom: var(--sp-6); }
.article__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

.article__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4);
  font-family: var(--font-mono); font-size: var(--step--2);
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-5);
}

.prose { max-width: var(--measure); font-size: var(--step-0); line-height: 1.75; }
.prose > * + * { margin-top: var(--sp-4); }
.prose h2 { font-size: var(--step-2); margin-top: var(--sp-7); }
.prose h3 { font-size: var(--step-1); margin-top: var(--sp-6); }
.prose ul, .prose ol { padding-inline-start: 1.35rem; }
.prose li + li { margin-top: var(--sp-2); }
/* Imported post bodies carry fixed width attributes — 800px images are
   common. The reset caps them at 100%, but only once their container is
   allowed to shrink; see the minmax(0, 1fr) note on the grid columns. */
.prose img, .prose picture { margin-block: var(--sp-5); max-width: 100%; height: auto; }
/* Wrapper from modern_images(): no box of its own, so the <img> keeps its
   alignment classes and margins exactly as the editor set them. */
.prose picture { display: contents; }
.prose iframe, .prose video { max-width: 100%; }
/* Wide tables scroll inside themselves rather than widening the page. */
.prose table { display: block; overflow-x: auto; max-width: 100%; }
.prose figure { margin: var(--sp-5) 0; }
.prose figcaption { font-size: var(--step--1); color: var(--muted); margin-top: var(--sp-2); }
.prose blockquote {
  margin: var(--sp-5) 0;
  padding: var(--sp-4) var(--sp-5);
  border-inline-start: 3px solid var(--mint);
  background: rgba(36, 211, 165, 0.06);
  font-size: var(--step-1);
  line-height: 1.55;
}
.prose blockquote > :last-child { margin-bottom: 0; }
.prose code {
  font-family: var(--font-mono); font-size: 0.88em;
  background: rgba(6, 42, 30, 0.07);
  padding: 0.12em 0.35em; border-radius: 3px;
}
.prose pre {
  background: var(--void); color: #CFE6DC;
  padding: var(--sp-4); overflow-x: auto;
  border-radius: var(--radius); font-size: var(--step--1);
}
.prose pre code { background: none; padding: 0; color: inherit; }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--step-0); }
.prose th, .prose td { border: 1px solid var(--border); padding: var(--sp-3); text-align: start; }
.prose th { background: rgba(6, 42, 30, 0.05); font-weight: 600; }
/* Wide content must scroll inside itself, never widen the page. */
.prose .table-scroll { overflow-x: auto; }

.sidebar { display: flex; flex-direction: column; gap: var(--sp-5); position: sticky; top: 5.5rem; }
.widget { background: var(--surface); border: 1px solid var(--border); padding: var(--sp-5); }
.widget__title {
  font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-fg); margin: 0 0 var(--sp-4);
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li + li { margin-top: var(--sp-3); padding-top: var(--sp-3); border-top: 1px solid var(--border); }
.widget a { color: var(--ink); text-decoration: none; font-weight: 500; }
.widget a:hover { color: var(--accent-fg); }
.widget__count { font-family: var(--font-mono); font-size: var(--step--2); color: var(--muted); }

.notice {
  display: flex; gap: var(--sp-3); align-items: flex-start;
  padding: var(--sp-4);
  background: rgba(201, 162, 39, 0.1);
  border-inline-start: 3px solid var(--gold);
  font-size: var(--step--1);
  color: #6B540C;
  margin-bottom: var(--sp-5);
}
.notice svg { width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.15rem; }

/* ==========================================================================
   10. Forms
   ========================================================================== */

.field { display: flex; flex-direction: column; gap: var(--sp-2); margin-bottom: var(--sp-4); }
.field__label { font-weight: 600; font-size: var(--step--1); }
.field__label .req { color: var(--danger); }
.field__hint { font-size: var(--step--1); color: var(--muted); }
.field__error { font-size: var(--step--1); color: var(--danger); font-weight: 500; }

.input, .textarea, .select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(14, 122, 79, 0.14);
  outline: none;
}
.input[aria-invalid='true'], .textarea[aria-invalid='true'] { border-color: var(--danger); }
.textarea { min-height: 9rem; resize: vertical; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; padding-inline-end: 2.2rem; }

.checkbox { display: flex; align-items: center; gap: var(--sp-3); font-size: var(--step--1); }
.checkbox input { width: 1.05rem; height: 1.05rem; accent-color: var(--green); }

.captcha-row { display: flex; align-items: flex-end; gap: var(--sp-3); flex-wrap: wrap; }
.captcha-row .field { flex: 1; min-width: 10rem; margin-bottom: 0; }
.captcha-img { border: 1px solid var(--border); border-radius: var(--radius); background: var(--white); }

.alert {
  padding: var(--sp-4) var(--sp-5);
  border-inline-start: 3px solid var(--green);
  background: rgba(14, 122, 79, 0.08);
  margin-bottom: var(--sp-5);
  font-size: var(--step--1);
}
.alert--error { border-color: var(--danger); background: rgba(180, 35, 31, 0.07); color: #7C1714; }

/* Honeypot: present for bots, invisible and unreachable for people. */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.site-footer {
  background: var(--void);
  color: var(--on-dark-dim);
  position: relative;
  overflow: hidden;
  /* Breathing room after a light page. */
  margin-top: var(--sp-8);
}
/* …but not after a dark one: a strip of paper between two dark surfaces reads
   as a rendering fault rather than as spacing. */
main:has(> .section--dark:last-child) + .site-footer { margin-top: 0; }

/* --------------------------------------------------------------------------
   Footer connection ribbon
   The hero's network seen edge-on: a trunk line with nodes tapped off it, and
   packets crossing the full width. This replaced a drifting radial glow that
   was, in honest assessment, invisible — ambient motion nobody notices is
   indistinguishable from none.
   -------------------------------------------------------------------------- */
.site-footer__ribbon {
  position: absolute;
  inset-inline: 0;
  top: 50%;
  height: min(20rem, 100%);
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
  /* Fades at both ends so the trunk enters and leaves rather than stopping. */
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

@keyframes ribbon-breathe {
  0%, 100% { opacity: 0.14; }
  50%      { opacity: 0.5; }
}
@keyframes ribbon-run {
  0%        { transform: translateX(0); opacity: 0; }
  6%, 94%   { opacity: 1; }
  100%      { transform: translateX(1200px); opacity: 0; }
}

.site-footer__inner { position: relative; z-index: 2; padding-block: var(--sp-8) var(--sp-5); }
.site-footer h3 {
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--step--2); font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent-fg);
  margin: 0 0 var(--sp-4);
  padding-bottom: var(--sp-3);
}

/* An accent rule under each column heading. The base line is static so the
   structure holds without motion; the bright segment travelling along it is
   what makes the footer read as live rather than parked. */
.site-footer h3::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 2.6rem;
  height: 2px;
  background: var(--hairline-hi);
  overflow: hidden;
}
.site-footer h3::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0.9rem;
  height: 2px;
  background: var(--gold);
  z-index: 1;
  animation: rule-travel 6s ease-in-out infinite;
  animation-delay: calc(var(--i, 0) * 0.7s);
}

@keyframes rule-travel {
  0%, 100% { transform: translateX(0); }
  50%      { transform: translateX(1.7rem); }
}
.site-footer a { color: var(--on-dark-soft); text-decoration: none; }
.site-footer a:hover { color: var(--accent-fg); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: var(--sp-2); }
/* Explicit tracks, not repeat(auto-fit): the grid spec forbids a flexible
   track outside an auto-fit repeat, so `1.4fr repeat(auto-fit, …)` is invalid
   and the browser drops the whole declaration — collapsing the footer into a
   single column. The brand block gets the wider track; the three link columns
   share the rest. */
.footer-grid {
  display: grid;
  gap: var(--sp-6) var(--sp-7);
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  align-items: start;
}
@media (max-width: 64rem) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 40rem) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-contact li { display: flex; gap: var(--sp-3); align-items: flex-start; }
.footer-contact svg { width: 1rem; height: 1rem; color: var(--accent-fg); flex: none; margin-top: 0.28rem; }
.footer-bottom {
  margin-top: var(--sp-7);
  padding-top: var(--sp-4);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between;
  font-size: var(--step--1);
}
.social { display: flex; gap: var(--sp-2); }
.social a {
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14); border-radius: var(--radius);
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease),
              transform var(--speed) var(--ease);
}
.social a:hover {
  border-color: var(--mint);
  background: rgba(36, 211, 165, 0.1);
  transform: translateY(-2px);
}
.social svg { width: 1rem; height: 1rem; }

/* --------------------------------------------------------------------------
   Footer motion
   The footer is the calmest part of the page, so it gets the quietest of the
   site's existing effects rather than a vocabulary of its own: the same
   scroll reveal, the same drifting motes, and hover states that move a couple
   of pixels. Anything livelier down here competes with the content above it.
   -------------------------------------------------------------------------- */

/* Columns arrive in sequence rather than together. */
.footer-grid > .reveal { transition-delay: calc(var(--i, 0) * 90ms); }

/* Links grow a mint marker on hover. The marker is scaled from zero rather
   than animating width, so it costs no layout. */
.site-footer nav a {
  position: relative;
  display: inline-block;
  padding-inline-start: 0;
  transition: color var(--speed) var(--ease), padding-inline-start var(--speed) var(--ease);
}
.site-footer nav a::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  width: 0.5rem;
  height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: inline-start center;
  transition: transform var(--speed) var(--ease);
}
.site-footer nav a:hover { padding-inline-start: 0.85rem; }
.site-footer nav a:hover::before { transform: scaleX(1); }

/* The contact icons pick up the accent with their line. */
.footer-contact li a { transition: color var(--speed) var(--ease); }
.footer-contact svg { transition: transform var(--speed) var(--ease); }
.footer-contact li:hover svg { transform: scale(1.15); }

/* A slow highlight travelling along the divider above the copyright — the
   footer's one piece of unprompted movement, and it is a single hairline. */
.footer-bottom { position: relative; }
.footer-bottom::before {
  content: "";
  position: absolute;
  top: -1px;
  inset-inline-start: 0;
  width: 34%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mint), transparent);
  opacity: 0.5;
  animation: footer-sweep 11s ease-in-out infinite;
}

@keyframes footer-sweep {
  0%, 100% { transform: translateX(-40%); opacity: 0; }
  50%      { transform: translateX(230%); opacity: 0.55; }
}

/* ==========================================================================
   12. Floating UI
   ========================================================================== */

/* Bottom-left: accessibility. Bottom-right: back-to-top and the assistant,
   stacked so they never overlap on a small screen. */
/* The floating buttons occupy the bottom 4rem of the viewport on both sides.
   Anything that ends up under them at the very bottom of the page can never
   be scrolled clear, so the footer keeps that band free on narrow screens
   where the two sides nearly meet. */
@media (max-width: 48rem) {
  .site-footer__inner { padding-bottom: 4.5rem; }
}

.a11y-fab { position: fixed; inset-inline-start: var(--sp-4); bottom: var(--sp-4); z-index: 120; }
.corner-stack {
  position: fixed;
  inset-inline-end: var(--sp-4);
  bottom: var(--sp-4);
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--sp-3);
}

.fab {
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  background: var(--green);
  color: var(--white);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: background var(--speed) var(--ease), transform var(--speed) var(--ease), opacity var(--speed) var(--ease);
}
.fab:hover { background: var(--forest); transform: translateY(-2px); }
.fab svg { width: 1.35rem; height: 1.35rem; }
.fab--mint { background: var(--mint); color: var(--void); }
.fab--mint:hover { background: var(--mint-dim); }

/* Back-to-top only exists once there is somewhere to go back to. */
#backToTop { opacity: 0; visibility: hidden; }
#backToTop.is-visible { opacity: 1; visibility: visible; }

.panel {
  position: absolute;
  bottom: calc(100% + var(--sp-3));
  width: min(20rem, calc(100vw - 2rem));
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: var(--sp-5);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
}
.panel[hidden] { display: none; }
.a11y-fab .panel { inset-inline-start: 0; }
.panel__title { font-family: var(--font-display); font-weight: 700; font-size: var(--step-0); margin: 0 0 var(--sp-4); }
.panel__row { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); padding-block: var(--sp-2); }
.panel__row + .panel__row { border-top: 1px solid var(--border); }
.panel__label { font-size: var(--step--1); }

.switch {
  position: relative;
  width: 2.6rem; height: 1.45rem;
  background: var(--line);
  border: 0; border-radius: 999px;
  cursor: pointer; flex: none;
  transition: background var(--speed) var(--ease);
}
.switch::after {
  content: '';
  position: absolute;
  top: 0.17rem; inset-inline-start: 0.17rem;
  width: 1.1rem; height: 1.1rem;
  background: var(--white); border-radius: 50%;
  transition: transform var(--speed) var(--ease);
}
.switch[aria-pressed='true'] { background: var(--green); }
.switch[aria-pressed='true']::after { transform: translateX(1.15rem); }
[dir='rtl'] .switch[aria-pressed='true']::after { transform: translateX(-1.15rem); }

.stepper { display: flex; align-items: center; gap: var(--sp-2); }
.stepper button {
  width: 1.85rem; height: 1.85rem;
  display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--white);
  border-radius: var(--radius); cursor: pointer;
  font-family: var(--font-mono); font-weight: 700; color: var(--ink);
}
.stepper button:hover { border-color: var(--green); color: var(--accent-fg); }
.stepper output { font-family: var(--font-mono); font-size: var(--step--1); min-width: 2.6rem; text-align: center; }

/* Assistant */
.chat {
  position: absolute;
  bottom: calc(100% + var(--sp-3));
  inset-inline-end: 0;
  /* Sized for the answers this actually produces. Claude replies with a short
     paragraph and a numbered list; at the old 23×30rem that arrived four lines
     at a time, which turns reading an answer into scrolling through one. */
  width: min(27rem, calc(100vw - 2rem));
  height: min(38rem, calc(100dvh - 7rem));
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch));
  overflow: hidden;
}
.chat[hidden] { display: none; }
.chat__head {
  display: flex; align-items: center; gap: var(--sp-3);
  padding: var(--sp-4);
  background: linear-gradient(135deg, var(--deep), var(--forest));
  color: var(--white);
  flex: none;
}
.chat__head .dot { margin-inline-start: auto; }
.chat__title { font-family: var(--font-display); font-weight: 700; font-size: var(--step-0); line-height: 1.2; }
.chat__sub { font-size: var(--step--2); color: var(--on-dark-dim); }
.chat__log {
  flex: 1;
  overflow-y: auto;
  padding: var(--sp-4);
  display: flex; flex-direction: column; gap: var(--sp-3);
  font-size: var(--step-0); line-height: 1.55;
  scroll-behavior: smooth;
}
/* pre-wrap preserved the model's own line breaks when replies were plain text.
   They are now real block elements, and pre-wrap on top of them doubles every
   gap. The visitor's own message is still plain text, so it keeps it. */
.msg { max-width: 88%; padding: 0.6rem 0.85rem; border-radius: 10px; overflow-wrap: anywhere; }
.msg--me { white-space: pre-wrap; }
.msg--bot { background: rgba(6, 42, 30, 0.06); align-self: flex-start; border-start-start-radius: 2px; }
.msg--me { background: var(--green); color: var(--white); align-self: flex-end; border-end-end-radius: 2px; }
.msg--err { background: rgba(180, 35, 31, 0.08); color: #7C1714; align-self: flex-start; }
/* Formatting inside an assistant reply. Tight margins, because a chat bubble
   is not an article. */
.msg--bot p { margin: 0 0 var(--sp-2); }
.msg--bot p:last-child { margin-bottom: 0; }
.msg--bot ol,
.msg--bot ul { margin: 0 0 var(--sp-2); padding-inline-start: 1.15rem; }
.msg--bot li + li { margin-top: 0.3rem; }
.msg--bot strong { font-weight: 700; }
.msg--bot code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 0.05rem 0.25rem;
  background: rgba(6, 42, 30, 0.07);
  border-radius: 3px;
}

.msg__sources { margin-top: var(--sp-2); padding-top: var(--sp-2); border-top: 1px solid rgba(6, 42, 30, 0.12); font-size: var(--step--2); }
/* Which site a citation came from. With the wider umi.ac.id index in play,
   "Beasiswa" from a faculty page and from PDTI are different claims. */
.msg__host {
  display: inline-block;
  margin-inline-start: 0.4rem;
  padding: 0.05rem 0.35rem;
  font-family: var(--font-mono);
  font-size: var(--step--3);
  color: var(--accent-fg);
  background: rgba(14, 122, 79, 0.1);
  border-radius: 3px;
  vertical-align: 1px;
}

/* Opening questions, shown once while the log is empty. */
.chat__suggest { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-3); }
.chat__suggest-title {
  width: 100%;
  margin: 0 0 0.15rem;
  font-family: var(--font-mono);
  font-size: var(--step--3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.chat__chip {
  padding: 0.4rem 0.7rem;
  font: inherit;
  font-size: var(--step--1);
  text-align: start;
  color: var(--accent-fg);
  background: rgba(14, 122, 79, 0.07);
  border: 1px solid rgba(14, 122, 79, 0.22);
  border-radius: 999px;
  cursor: pointer;
  transition: background var(--speed) var(--ease), color var(--speed) var(--ease);
}
.chat__chip:hover { background: var(--green); color: var(--white); border-color: var(--green); }

/* Feedback row under an assistant reply. */
.msg__feedback {
  display: flex; align-items: center; flex-wrap: wrap; gap: var(--sp-2);
  margin-top: var(--sp-2); padding-top: var(--sp-2);
  border-top: 1px solid rgba(6, 42, 30, 0.12);
  font-size: var(--step--2);
}
.msg__feedback--done { color: var(--muted); }
.msg__vote {
  padding: 0.1rem 0.4rem;
  font-size: 0.95rem; line-height: 1.3;
  background: transparent; border: 1px solid var(--border);
  border-radius: 999px; cursor: pointer;
  transition: border-color var(--speed) var(--ease), background var(--speed) var(--ease);
}
.msg__vote:hover { border-color: var(--green); background: rgba(14, 122, 79, 0.08); }
.msg__escalate {
  margin-inline-start: auto;
  color: var(--accent-fg); font-weight: 600; text-decoration: none;
}
.msg__escalate:hover { text-decoration: underline; }

/* Security code challenge, shown once a conversation gets long. */
.chat__captcha { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); }
.chat__captcha-img { border: 1px solid var(--border); border-radius: var(--radius); flex: none; }
.chat__captcha .chat__input { flex: 1; min-width: 6rem; }
.chat__captcha-reload {
  background: none; border: 0; padding: 0;
  color: var(--accent-fg); font: inherit; font-size: var(--step--2);
  text-decoration: underline; cursor: pointer;
}
.msg__sources a { display: block; color: var(--accent-fg); text-decoration: none; margin-top: 0.15rem; }
.msg__sources a:hover { text-decoration: underline; }
.chat__form { display: flex; gap: var(--sp-2); padding: var(--sp-3); border-top: 1px solid var(--border); flex: none; }
.chat__input { flex: 1; padding: 0.55rem 0.75rem; font: inherit; font-size: var(--step-0); border: 1px solid var(--border); border-radius: var(--radius); }
.chat__input:focus { border-color: var(--green); outline: none; }
.chat__send {
  width: 2.4rem; flex: none;
  display: grid; place-items: center;
  background: var(--green); color: var(--white);
  border: 0; border-radius: var(--radius); cursor: pointer;
}
.chat__send:hover { background: var(--forest); }
.chat__send:disabled { opacity: 0.5; cursor: not-allowed; }
.chat__send svg { width: 1.05rem; height: 1.05rem; }
.chat__note { font-size: var(--step--3); color: var(--muted); padding: 0 var(--sp-3) var(--sp-3); text-align: center; }

.typing { display: inline-flex; gap: 3px; align-items: center; }
.typing span {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--muted);
  animation: blink 1.3s var(--ease) infinite;
}
.typing span:nth-child(2) { animation-delay: 0.18s; }
.typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.25; } 30% { opacity: 1; } }

/* ==========================================================================
   13. Accessibility modes
   ========================================================================== */

/* Driven by data attributes on <html> so the no-flash inline script can apply
   them before first paint. */
html[data-contrast='high'] {
  --bg: #FFFFFF;
  --fg: #000000;
  --muted: #1A1A1A;
  --border: #000000;
  --green: #00552F;
  --surface: #FFFFFF;
}
html[data-contrast='high'] body { background: #FFF; color: #000; }
html[data-contrast='high'] .hero,
html[data-contrast='high'] .page-head,
html[data-contrast='high'] .site-header,
html[data-contrast='high'] .site-footer,
html[data-contrast='high'] .section--dark { background: #000; color: #FFF; }
html[data-contrast='high'] .hero__lead,
html[data-contrast='high'] .page-head p,
html[data-contrast='high'] .site-footer,
html[data-contrast='high'] .stat__label { color: #FFF; }
html[data-contrast='high'] .card,
html[data-contrast='high'] .tile,
html[data-contrast='high'] .widget { border-width: 2px; }
html[data-contrast='high'] .girih { opacity: 0; }

html[data-readable='on'] body {
  font-family: Verdana, Tahoma, 'Trebuchet MS', sans-serif;
  letter-spacing: 0.035em;
  word-spacing: 0.12em;
  line-height: 1.9;
}
html[data-readable='on'] h1,
html[data-readable='on'] h2,
html[data-readable='on'] h3,
html[data-readable='on'] h4 { font-family: Verdana, Tahoma, sans-serif; letter-spacing: 0; }

html[data-underline='on'] .prose a,
html[data-underline='on'] .card__title a,
html[data-underline='on'] .widget a,
html[data-underline='on'] .nav__link {
  text-decoration: underline !important;
  text-underline-offset: 0.2em;
}

/* Text scaling multiplies the root size, so the whole rem-based scale follows. */
html[data-textsize='1'] { font-size: 106%; }
html[data-textsize='2'] { font-size: 112%; }
html[data-textsize='3'] { font-size: 120%; }
html[data-textsize='-1'] { font-size: 94%; }

html[data-motion='off'] *,
html[data-motion='off'] *::before,
html[data-motion='off'] *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  html { scroll-behavior: auto; }
}

/* Killing the animation leaves whatever the final keyframe happened to be, so
   the resting appearance is stated rather than inherited by accident: the
   constellation stays a legible static graph, and anything that animates in on
   scroll must be visible — otherwise the page reads as empty. */
html[data-motion='off'] .reveal { opacity: 1 !important; transform: none !important; }

html[data-motion='off'] .rosette { transform: none !important; }

/* Ambient motion is decoration with no resting state worth keeping: motes
   would freeze mid-flight at whatever opacity the keyframe left them. */
html[data-motion='off'] .motes { display: none; }
html[data-motion='off'] .footer-bottom::before { display: none; }
html[data-motion='off'] .footer-grid > .reveal { transition-delay: 0s !important; }

/* The heading rule keeps its accent, parked at the start — the structure is
   worth keeping even when the movement is not. */
html[data-motion='off'] .site-footer h3::before { transform: none !important; }
html[data-motion='off'] .girih,
html[data-motion='off'] .hero::before { transform: none !important; }
/* The assembly must not leave anything half-built when motion is off: every
   entrance starts from opacity 0, and `animation: none` restores the
   stylesheet's own values rather than the keyframe's starting ones. */
html[data-motion='off'] .hero__status,
html[data-motion='off'] .hero__eyebrow,
html[data-motion='off'] .hero__lead,
html[data-motion='off'] .hero__actions,
html[data-motion='off'] .stat-panel { animation: none !important; opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  
  
  
  
  
  
  
  .rosette { transform: none !important; }
  
  .motes { display: none; }
  .girih, .hero::before { transform: none !important; }
  .footer-bottom::before { display: none; }
  .footer-grid > .reveal { transition-delay: 0s !important; }
  
  
  
  .site-footer h3::before { transform: none !important; }
  .hero__status, .hero__eyebrow, .hero__lead, .hero__actions, .stat-panel { animation: none !important; opacity: 1; transform: none; }
  
  
  
}

/* ==========================================================================
   14. RTL
   ========================================================================== */

[dir='rtl'] body {
  font-family: 'Noto Naskh Arabic', var(--font-body);
  line-height: 1.9;
}
[dir='rtl'] h1, [dir='rtl'] h2, [dir='rtl'] h3, [dir='rtl'] h4 {
  font-family: 'Noto Naskh Arabic', var(--font-display);
  letter-spacing: 0;
}
/* Numerals and codes stay LTR even inside Arabic text. */
[dir='rtl'] .mono, [dir='rtl'] .stat__value, [dir='rtl'] .telemetry { direction: ltr; text-align: end; }
[dir='rtl'] .eyebrow::after { background: linear-gradient(270deg, var(--green), transparent); }
[dir='rtl'] .tile:hover .tile__go svg { transform: translateX(-3px) scaleX(-1); }
[dir='rtl'] .tile__go svg { transform: scaleX(-1); }
[dir='rtl'] .dl-item:hover { transform: translateX(-3px); }
/* The corner notch mirrors so the cut stays on the leading edge. */
[dir='rtl'] .btn, [dir='rtl'] .card, [dir='rtl'] .tile, [dir='rtl'] .panel, [dir='rtl'] .chat {
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, var(--notch) 100%, 0 calc(100% - var(--notch)));
}

/* ==========================================================================
   15. Print
   ========================================================================== */

@media print {
  .site-header, .site-footer, .telemetry, .a11y-fab, .corner-stack,
  .sidebar, .pager, .breadcrumb, .hero__actions { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .wrap { width: 100%; }
  .prose { max-width: none; }
  a[href^='http']::after { content: ' (' attr(href) ')'; font-size: 9pt; color: #555; }
  .card, .tile { break-inside: avoid; border: 1px solid #999; clip-path: none; }
}

/* ==========================================================================
   16. Control room × liquid glass
   --------------------------------------------------------------------------
   PDTI runs UMI's infrastructure, so the home page is its control room: a
   live board of the systems people actually log into, over the UMI
   Connection network drawn as a moving lattice behind the whole page.

   Glass is the material of every surface that floats over that network.
   Where the browser can (Chromium), app.js gives each pane its own
   displacement map, sized to the pane, so the lattice visibly bends at the
   rim as it slides beneath. Elsewhere the same panes are frosted.

   Inner pages keep light reading surfaces; only their banner carries the
   network.
   ========================================================================== */

:root {
  --paper: #F4F6F5;
  --line: #E1E7E4;
  --bg: var(--paper);
  --border: var(--line);

  --header-h: 4.25rem;
  --cap-gap: 0.625rem;

  --radius-card: 18px;
  --radius-glass: 22px;

  --ink-hair: rgba(11, 31, 23, 0.09);
  --field: #03110C;

  /* Liquid glass, dark. The fill is mostly clear: a pane that hides what is
     behind it is a card with a blur filter, not glass. */
  --lg-blur: 3px;
  --lg-sat: 165%;
  --lg-fill:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015) 42%, rgba(255, 255, 255, 0.03));
  --lg-tint: rgba(4, 22, 16, 0.34);
  --lg-edge: rgba(255, 255, 255, 0.12);
  --lg-rim:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -22px 32px -28px rgba(36, 211, 165, 0.32);
  --lg-drop: 0 28px 56px -32px rgba(0, 0, 0, 0.85);
  --gx: 30%;
  --gy: 0%;

  /* Kept for the components that still read them. */
  --lg-dark: rgba(255, 255, 255, 0.055);
  --lg-dark-edge: var(--lg-edge);
  --lg-dark-rim: var(--lg-rim);

  --ok: #24D3A5;
  --slow: #E2B53E;
  --cert: #F08A3C;
  --down: #F0645A;
}

html { background: var(--bg); }
body { background: transparent; }
.rule { display: none; }

/* --------------------------------------------------------------------------
   Shape — soft corners everywhere; the notched corners are retired
   -------------------------------------------------------------------------- */
[dir] :is(.btn, .card, .tile, .feature, .panel-dark, .stat-panel, .dl-item, .panel, .chat, .brand__mark) { clip-path: none; }

.card, .tile, .feature, .dl-item, .widget {
  background: var(--surface);
  border: 1px solid var(--ink-hair);
  border-radius: var(--radius-card);
  box-shadow: 0 1px 0 rgba(11, 31, 23, 0.03);
}
.card, .tile, .feature { overflow: hidden; }
.feature::before { display: none; }
.card:hover, .tile:hover, .feature:hover, .dl-item:hover {
  border-color: rgba(14, 122, 79, 0.32);
  box-shadow: 0 1px 0 rgba(11, 31, 23, 0.03), 0 18px 36px -26px rgba(6, 42, 30, 0.45);
}
.card:hover, .tile:hover { transform: translateY(-2px); }
.tile__icon, .dl-item__ext { border-radius: 12px; }
.badge { border-radius: 999px; padding-inline: 0.7rem; }

.section--paper { background: #FFFFFF; border-block-color: var(--ink-hair); }

.accordion {
  background: var(--surface);
  border: 1px solid var(--ink-hair);
  border-radius: var(--radius-card);
  padding-inline: var(--sp-5);
}
.accordion__item:last-child { border-bottom: 0; }

.input, .textarea, .select { border-radius: 12px; border-color: var(--ink-hair); }
.input:focus, .textarea:focus, .select:focus { box-shadow: 0 0 0 4px rgba(14, 122, 79, 0.12); }
.pager a, .pager span { border-radius: 999px; }
.brand__mark { border-radius: 10px; }

.panel-dark { border-radius: 16px; }

/* Section labels: the number as a small chip, the label beside it. */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  gap: var(--sp-3);
}
.eyebrow::after { display: none; }
.eyebrow[aria-hidden='true'] { margin-bottom: var(--sp-3); }
.node-no {
  flex: none;
  display: inline-grid;
  place-items: center;
  min-width: 2.1rem;
  height: 1.45rem;
  padding-inline: 0.45rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--accent-fg);
  background: rgba(14, 122, 79, 0.08);
  box-shadow: inset 0 0 0 1px rgba(14, 122, 79, 0.22);
}
.section--dark .node-no,
.is-field .node-no { color: var(--accent-fg); background: rgba(36, 211, 165, 0.08); box-shadow: inset 0 0 0 1px rgba(36, 211, 165, 0.28); }

/* --------------------------------------------------------------------------
   Glass — one recipe, tuned per surface through custom properties
   -------------------------------------------------------------------------- */
.console,
.stat,
.btn--glass,
.is-field .card,
.is-field .feature,
.is-field .dl-item,
.is-field .accordion,
.is-field .btn--ghost {
  --spec: radial-gradient(120% 90% at var(--gx) var(--gy), rgba(255, 255, 255, 0.09), transparent 52%);
  background: var(--spec), var(--lg-fill), var(--lg-tint);
  border: 1px solid var(--lg-edge);
  box-shadow: var(--lg-rim), var(--lg-drop);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
}

/* Text panes need a little more body than the ornamental ones. */
.is-field .card, .is-field .feature, .is-field .accordion, .is-field .dl-item { --lg-tint: rgba(4, 22, 16, 0.55); --lg-blur: 10px; }
.console { --lg-tint: rgba(4, 22, 16, 0.42); --lg-blur: 4px; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  border-radius: 999px;
  padding: 0.74rem 1.45rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0) 55%),
    var(--btn-bg);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), inset 0 -1px 0 rgba(0, 0, 0, 0.14);
}
.btn--sm { padding: 0.45rem 1rem; }
.btn--ghost { --btn-bg: var(--surface); border-color: var(--ink-hair); box-shadow: none; }
.btn--ghost:hover { --btn-bg: var(--surface); border-color: rgba(14, 122, 79, 0.4); }
.btn--ghost-light {
  --btn-bg: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--glass,
.is-field .btn--ghost {
  --btn-fg: var(--white);
  --lg-blur: 2px;
  --lg-tint: rgba(4, 22, 16, 0.25);
  color: var(--hi);
  border-radius: 999px;
}
.btn--glass:hover,
.is-field .btn--ghost:hover {
  --lg-tint: rgba(36, 211, 165, 0.1);
  color: var(--hi);
  border-color: rgba(36, 211, 165, 0.45);
}

/* --------------------------------------------------------------------------
   Rail — scrolls away above the capsule
   -------------------------------------------------------------------------- */
.telemetry { position: relative; z-index: 101; background: var(--void); border-bottom: 0; }
.telemetry__inner { gap: var(--sp-5); -webkit-mask-image: none; mask-image: none; }
[dir='rtl'] .telemetry__inner { -webkit-mask-image: none; mask-image: none; }
.telemetry__conn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex: none;
  color: var(--gold-fg);
  text-decoration: none;
  font-weight: 600;
}
.telemetry__conn:hover { color: #E7C452; text-decoration: underline; text-underline-offset: 3px; }
.telemetry__conn svg { width: 0.9rem; height: 0.9rem; }
.telemetry__clock { margin-inline-start: auto; color: var(--on-dark-dim); }
.telemetry__clock time { color: var(--hi); font-weight: 600; font-variant-numeric: tabular-nums; }
@media (max-width: 40rem) {
  .telemetry__item:not(.telemetry__clock) { display: none; }
}
.is-field .telemetry { background: var(--field); }

/* --------------------------------------------------------------------------
   Header — a floating glass capsule
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: var(--cap-gap);
  width: min(100% - 2 * var(--cap-gap), var(--wrap) + 2rem);
  margin: var(--cap-gap) auto 0;
  border: 0;
  border-radius: var(--radius-glass);
  --lg-blur: 12px;
  --lg-sat: 170%;
  background: rgba(6, 30, 22, 0.62);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 -1px 0 rgba(0, 0, 0, 0.25),
    0 16px 36px -18px rgba(0, 0, 0, 0.6);
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
/* When it refracts, it needs less frost for the bend to show. */
.site-header.is-refract { --lg-blur: 5px; }
.site-header__inner {
  width: 100%;
  min-height: var(--header-h);
  padding-inline: 0.75rem 0.625rem;
  gap: var(--sp-4);
}

.nav__link { border-radius: 999px; transition: background var(--speed) var(--ease), color var(--speed) var(--ease); }
.nav__link[aria-current='page'] {
  color: var(--hi);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}
.icon-btn { border-radius: 999px; }

.nav__sub, .lang__menu {
  background: rgba(6, 30, 22, 0.88);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  backdrop-filter: blur(18px) saturate(170%);
  border-color: var(--lg-edge);
  border-radius: 16px;
  box-shadow: var(--lg-rim), 0 18px 40px -16px rgba(0, 0, 0, 0.6);
}
.nav__sub .nav__link, .lang__link { border-radius: 10px; }

/* Over a light page the capsule turns to light glass. */
[data-theme='light'] .site-header {
  background: rgba(250, 251, 250, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(11, 31, 23, 0.07),
    0 16px 36px -20px rgba(6, 42, 30, 0.35);
}
[data-theme='light'] .site-header .brand__name { color: var(--ink); }
[data-theme='light'] .site-header .brand__long { color: var(--muted); }
[data-theme='light'] .site-header .brand__sub { color: #8A6D12; }
[data-theme='light'] .site-header .icon-btn {
  color: var(--ink);
  background: rgba(11, 31, 23, 0.04);
  border-color: rgba(11, 31, 23, 0.1);
}
@media (min-width: 60.0625rem) {
  [data-theme='light'] .site-header .nav__list > .nav__item > .nav__link { color: #2B3D35; }
  [data-theme='light'] .site-header .nav__list > .nav__item > .nav__link:hover { color: var(--ink); background: rgba(11, 31, 23, 0.06); }
  [data-theme='light'] .site-header .nav__list > .nav__item > .nav__link[aria-current='page'] {
    color: var(--accent-fg);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: inset 0 0 0 1px rgba(14, 122, 79, 0.22);
  }
}

@media (max-width: 60rem) {
  .nav {
    position: absolute;
    inset: calc(100% + 0.5rem) 0 auto 0;
    max-height: calc(100dvh - var(--header-h) - 4rem);
    padding: var(--sp-3);
    background: rgba(6, 30, 22, 0.92);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    backdrop-filter: blur(20px) saturate(170%);
    border-radius: var(--radius-glass);
    box-shadow: var(--lg-rim), 0 24px 48px -20px rgba(0, 0, 0, 0.6);
  }
  .nav__link { border-radius: 12px; border-bottom: 0; }
  .header-tools { margin-inline-start: auto; }
  .nav-toggle { order: 3; }
}

/* The first dark band slides up under the capsule. */
main > .hero:first-child,
main > .page-head:first-child {
  margin-top: calc(-1 * (var(--header-h) + var(--cap-gap)));
}
main > .hero:first-child { padding-top: calc(var(--header-h) + var(--cap-gap)); }
main > .page-head:first-child { padding-top: calc(var(--header-h) + var(--cap-gap) + var(--sp-7)); }

/* --------------------------------------------------------------------------
   The network field
   One canvas, fixed behind the home page; on inner pages, confined to the
   banner. Drawn by app.js; without it the field is simply the gradient.
   -------------------------------------------------------------------------- */
.netfield {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  z-index: 0;
}
.netfield--page {
  position: fixed;
  z-index: -1;
  height: 100lvh;
  background:
    radial-gradient(70% 60% at 85% 0%, rgba(14, 122, 79, 0.3), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(14, 122, 79, 0.16), transparent 70%),
    var(--field);
}

/* --------------------------------------------------------------------------
   Home — everything sits on the field
   -------------------------------------------------------------------------- */
.is-field { color: var(--on-dark); }
.is-field main > .section,
.is-field main > .hero,
.is-field .section--dark,
.is-field .section--paper { background: transparent; border-block: 0; }
.is-field .hero::before,
.is-field main .girih,
.is-field main .motes { display: none; }

.is-field .section h2, .is-field .section h3 { color: var(--hi); }
.is-field .section__head p { color: var(--on-dark-dim); }
.is-field .eyebrow { color: var(--accent-fg); }

/* Cards on the field */
.is-field .card__title, .is-field .feature__title, .is-field .dl-item__title { color: var(--hi); }
.is-field .card__title a:hover, .is-field .feature__title a:hover { color: var(--accent-fg); }
.is-field .card__text, .is-field .feature__text { color: var(--on-dark-dim); }
.is-field .card__meta, .is-field .dl-item__meta { color: var(--t-faint); }
.is-field .badge { background: rgba(36, 211, 165, 0.12); color: var(--accent-fg); }
.is-field .card__media, .is-field .feature__media { background: rgba(0, 0, 0, 0.3); }
.is-field .card:hover, .is-field .feature:hover, .is-field .dl-item:hover {
  border-color: rgba(36, 211, 165, 0.38);
  box-shadow: var(--lg-rim), 0 28px 56px -30px rgba(0, 0, 0, 0.9);
}
.is-field .card__foot .btn--ghost { color: var(--hi); }
.is-field .tile__go, .is-field .card .tile__go { color: var(--accent-fg); }

.is-field .dl-item { color: var(--on-dark); }
.is-field .dl-item__ext { background: rgba(36, 211, 165, 0.12); color: var(--accent-fg); }
.is-field .dl-item__icon { color: var(--accent-fg); }

.is-field .accordion__item { border-color: rgba(255, 255, 255, 0.08); }
.is-field .accordion__item summary { color: var(--hi); }
.is-field .accordion__item summary::after { border-color: var(--mint); }
.is-field .accordion__body { color: var(--on-dark-soft); }
.is-field .accordion__body a { color: var(--accent-fg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero--live .hero__inner {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "text console"
    "stats stats";
  align-items: center;
  column-gap: clamp(2rem, 5vw, 4.5rem);
  row-gap: var(--sp-6);
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem);
}
.hero--live .console { grid-area: console; }
@media (max-width: 62rem) {
  .hero--live .hero__inner { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "console" "stats"; }
}

.hero__title em {
  display: inline-block;
  margin-top: 0.12em;
  background: none;
  color: rgba(255, 255, 255, 0.56);
  -webkit-text-fill-color: currentColor;
  font-weight: 500;
  letter-spacing: -0.035em;
}

/* "Live" as the eyebrow's mark: a dot that beats like the board does. */
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.3rem 0.85rem 0.3rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--on-dark-soft);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.hero__eyebrow::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(36, 211, 165, 0.6);
  animation: beat 2.4s ease-out infinite;
}
@keyframes beat {
  0%   { box-shadow: 0 0 0 0 rgba(36, 211, 165, 0.55); }
  70%  { box-shadow: 0 0 0 9px rgba(36, 211, 165, 0); }
  100% { box-shadow: 0 0 0 0 rgba(36, 211, 165, 0); }
}

/* Headline figures: four panes in a row under the board. */
.hero--live .stat-panel {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
  background: none;
  border: 0;
}
@media (max-width: 48rem) { .hero--live .stat-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat { border-radius: 18px; padding: var(--sp-5); }
.stat__value { color: var(--hi); }
.stat:first-child .stat__value { color: var(--accent-fg); }

/* --------------------------------------------------------------------------
   The live board
   -------------------------------------------------------------------------- */
.console {
  position: relative;
  border-radius: 26px;
  padding: var(--sp-2);
  color: var(--on-dark);
  animation: hero-rise 0.7s ease-out 0.2s backwards;
}
.console__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
}
.console__title {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--on-dark-soft);
}
.console__overall {
  --c: var(--on-dark-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--c);
  background: color-mix(in srgb, var(--c) 12%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 30%, transparent);
}
.console__overall[data-state='ok']   { --c: var(--ok); }
.console__overall[data-state='slow'] { --c: var(--slow); }
.console__overall[data-state='cert'] { --c: var(--cert); }
.console__overall[data-state='down'] { --c: var(--down); }
.console__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.console__overall[data-state='wait'] .console__dot { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0.2; } }

.console__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 4px;
}
.sys { --c: var(--on-dark-dim); }
.sys[hidden] { display: none; }
.sys[data-state='ok']   { --c: var(--ok); }
.sys[data-state='slow'] { --c: var(--slow); }
.sys[data-state='cert'] { --c: var(--cert); }
.sys[data-state='down'] { --c: var(--down); }

.sys__link {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) 7.5rem 4.6rem;
  grid-template-areas: "icon id spark ms";
  align-items: center;
  gap: var(--sp-4);
  padding: 0.85rem var(--sp-4);
  border-radius: 18px;
  color: inherit;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.sys__link:hover {
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 40%, transparent);
}
.sys__icon {
  grid-area: icon;
  position: relative;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  color: var(--hi);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.sys__icon svg { width: 1.2rem; height: 1.2rem; }
/* Status lamp on the icon's corner. */
.sys__icon::after {
  content: "";
  position: absolute;
  top: -3px;
  inset-inline-end: -3px;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 3px #06231A;
}
.sys[data-state='wait'] .sys__icon::after { animation: blink 1s steps(2) infinite; }
.sys__id { grid-area: id; display: flex; flex-direction: column; min-width: 0; }
.sys__name { font-weight: 700; color: var(--hi); line-height: 1.25; }
.sys__host {
  font-family: var(--font-mono);
  font-size: var(--step--2);
  color: var(--t-faint);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sys__spark { grid-area: spark; width: 100%; height: 2rem; overflow: visible; }
.sys__line { fill: none; stroke: var(--c); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.sys__area { fill: color-mix(in srgb, var(--c) 14%, transparent); stroke: none; }
.sys__ms {
  grid-area: ms;
  justify-self: end;
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  color: var(--hi);
}
.sys__ms b { font-size: var(--step-1); font-weight: 600; letter-spacing: -0.02em; }
.sys__ms small { font-size: var(--step--2); color: var(--t-faint); }
.sys__state { display: none; }
.sys[data-state='slow'] .sys__state,
.sys[data-state='cert'] .sys__state,
.sys[data-state='down'] .sys__state {
  display: block;
  grid-column: 2 / -1;
  margin-top: -0.4rem;
  font-size: var(--step--2);
  font-weight: 600;
  color: var(--c);
}

.console__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-2) var(--sp-4);
  padding: var(--sp-3) var(--sp-4) var(--sp-2);
  font-family: var(--font-mono);
  font-size: var(--step--2);
  color: var(--t-faint);
}

@media (max-width: 30rem) {
  .sys__link {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "icon id ms" "spark spark spark";
    row-gap: var(--sp-2);
  }
  .sys__spark { height: 1.5rem; }
}

/* --------------------------------------------------------------------------
   Inner pages
   -------------------------------------------------------------------------- */
.page-head { background: linear-gradient(168deg, #052218, var(--field)); }
.page-head .girih { display: none; }
.breadcrumb {
  display: inline-flex;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--lg-edge);
  box-shadow: var(--lg-rim);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

/* --------------------------------------------------------------------------
   Floating controls
   -------------------------------------------------------------------------- */
.fab {
  background:
    radial-gradient(70% 60% at 35% 22%, rgba(255, 255, 255, 0.35), transparent 62%),
    var(--green);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.4),
    inset 0 -3px 8px rgba(0, 0, 0, 0.15),
    0 10px 24px -10px rgba(6, 42, 30, 0.7);
}
.fab--mint {
  background:
    radial-gradient(70% 60% at 35% 22%, rgba(255, 255, 255, 0.5), transparent 62%),
    var(--mint);
}
.fab:hover { background-color: var(--forest); }

.panel, .chat {
  background: rgba(250, 252, 251, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-glass);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 0 0 1px rgba(11, 31, 23, 0.05),
    0 30px 60px -24px rgba(6, 42, 30, 0.5);
}
.chat { overflow: hidden; }
.stepper button { border-radius: 999px; }

/* --------------------------------------------------------------------------
   Opt-outs — legibility first
   -------------------------------------------------------------------------- */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(6, 30, 22, 0.96); }
  [data-theme='light'] .site-header { background: rgba(250, 251, 250, 0.97); }
  .panel, .chat { background: #FBFCFB; }
  .console, .stat,
  .is-field .card, .is-field .feature, .is-field .dl-item, .is-field .accordion { --lg-tint: rgba(4, 22, 16, 0.86); }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--deep); }
  [data-theme='light'] .site-header { background: #FBFCFB; }
  .nav__sub, .lang__menu, .nav { background: var(--void); }
  .panel, .chat { background: #FBFCFB; }
  .console, .stat, .btn--glass,
  .is-field .card, .is-field .feature, .is-field .dl-item, .is-field .accordion, .is-field .btn--ghost { --lg-tint: #072319; }
  *, *::before, *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
}

/* Motion off: the beat, the blink and the rise stop; the field is drawn
   once and left still (app.js). */
html[data-motion='off'] .hero__eyebrow::before,
html[data-motion='off'] .console__dot,
html[data-motion='off'] .sys__icon::after,
html[data-motion='off'] .console { animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  .hero__eyebrow::before, .console__dot, .sys__icon::after, .console { animation: none !important; }
}

html[data-contrast='high'] .site-header,
html[data-contrast='high'] [data-theme='light'] .site-header,
html[data-contrast='high'] .telemetry { background: #000; box-shadow: 0 0 0 2px #fff; }
html[data-contrast='high'] [data-theme='light'] .site-header .brand__name,
html[data-contrast='high'] [data-theme='light'] .site-header .nav__link,
html[data-contrast='high'] [data-theme='light'] .site-header .icon-btn { color: #fff !important; }
html[data-contrast='high'] :is(.console, .sys__link, .stat, .breadcrumb, .btn--glass, .is-field .card, .is-field .feature, .is-field .dl-item, .is-field .accordion, .is-field .btn--ghost) { background: #000 !important; border-color: #fff !important; }
html[data-contrast='high'] .netfield { display: none; }
html[data-contrast='high'] .is-field,
html[data-contrast='high'] .is-field main { background: #000; }
html[data-contrast='high'] .panel,
html[data-contrast='high'] .chat { background: #fff; border: 2px solid #000; }
html[data-contrast='high'] *,
html[data-contrast='high'] *::before { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }

@media print {
  .netfield, .console { display: none !important; }
  .is-field, .is-field .section h2, .is-field .card__title { color: #000 !important; }
  .site-header { position: static; }
}

/* Late overrides: the base .btn background and the old solid hover fills
   would otherwise paint over the glass. */
.btn--glass,
.is-field .btn--ghost { background: var(--spec), var(--lg-fill), var(--lg-tint); }

/* The headline shares the hero with the board, so it is set a size down
   from the full-width scale. Mirrored in the critical CSS. */
.hero--live .hero__title { font-size: clamp(2.3rem, 1.5rem + 2.6vw, 3.7rem); }
.hero--live .hero__lead { font-size: var(--step-0); max-width: 34rem; }

/* Rail status: a link to the board, coloured by the live result. */
.telemetry__status { color: inherit; text-decoration: none; }
.telemetry__status:hover { color: var(--hi); }
.telemetry__status .dot { background: #6E8A7E; }
.telemetry__status[data-state='ok'] .dot { background: var(--ok); }
.telemetry__status[data-state='slow'] .dot { background: var(--slow); }
.telemetry__status[data-state='cert'] .dot { background: var(--cert); }
.telemetry__status[data-state='down'] .dot { background: var(--down); }

/* Clearer panes: the lattice behind has to stay visible for the glass to
   read as glass, and for the bend at the rim to be seen at all. The rows
   inside the board carry their own faint plate, so text keeps its ground. */
.console { --lg-tint: rgba(4, 22, 16, 0.22); --lg-blur: 1.5px; --lg-sat: 180%; }
.stat { --lg-tint: rgba(4, 22, 16, 0.18); --lg-blur: 1.5px; --lg-sat: 180%; }
.sys__link { background: rgba(3, 17, 12, 0.42); }
.sys__link:hover { background: rgba(3, 17, 12, 0.6); }

/* Figures and host names read left to right in every locale. */
.sys__ms, .sys__host { direction: ltr; unicode-bidi: isolate; }
[dir='rtl'] .sys__host { text-align: right; }

/* ==========================================================================
   17. Unit profile (template "about")
   The same field and glass as the home page. The text is the page's own,
   read out of its content, so it reads as a statement, a vision and a
   mission rather than as one long paragraph under two clip-art badges.
   ========================================================================== */
.is-field .page-head { background: transparent; }
.is-field .page-head .netfield { display: none; }

.about-head__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  padding-bottom: var(--sp-6);
}
@media (max-width: 62rem) { .about-head__inner { grid-template-columns: minmax(0, 1fr); align-items: start; } }

.page-head .about-head__title {
  margin: var(--sp-5) 0 var(--sp-4);
  font-size: var(--step-2);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--accent-fg);
}
.about-head__statement {
  margin: 0 0 var(--sp-5);
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3.3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.page-head .about-head__statement { color: var(--hi); }
.page-head .about-head__detail {
  margin: 0;
  max-width: 58ch;
  font-size: var(--step-0);
  line-height: 1.7;
  color: var(--on-dark-soft);
}

/* Shared glass for the profile panes. */
.idcard, .vm__card, .scope__item, .explore__card {
  --lg-tint: rgba(4, 22, 16, 0.3);
  --lg-blur: 2px;
  --lg-sat: 180%;
  --spec: radial-gradient(120% 90% at var(--gx) var(--gy), rgba(255, 255, 255, 0.09), transparent 52%);
  background: var(--spec), var(--lg-fill), var(--lg-tint);
  border: 1px solid var(--lg-edge);
  box-shadow: var(--lg-rim), var(--lg-drop);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
}

/* The unit's card */
.idcard { position: relative; padding: var(--sp-5); border-radius: 26px; color: var(--on-dark); }
.idcard__top { display: flex; align-items: center; gap: var(--sp-4); margin-bottom: var(--sp-4); }
.idcard__logo {
  width: 3.5rem; height: 3.5rem; flex: none;
  padding: 0.35rem;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.6);
}
.page-head .idcard__name { margin: 0; max-width: none; font-family: var(--font-display); font-weight: 800; font-size: var(--step-1); color: var(--hi); letter-spacing: -0.02em; line-height: 1.1; }
.page-head .idcard__org { margin: 0.15rem 0 0; font-size: var(--step--1); color: var(--on-dark-dim); }
.idcard__rows { margin: 0; display: grid; }
.idcard__row {
  display: grid;
  grid-template-columns: 1.25rem minmax(0, 1fr);
  gap: var(--sp-3);
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: var(--step--1);
  line-height: 1.5;
}
.idcard__row dt { color: var(--accent-fg); padding-top: 0.15rem; }
.idcard__row dt svg { width: 1rem; height: 1rem; }
.idcard__row dd { margin: 0; color: var(--on-dark-soft); }
.idcard__row a { color: var(--hi); text-decoration: none; }
.idcard__row a:hover { color: var(--accent-fg); }
.idcard__status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: var(--sp-3);
  padding: 0.7rem 1rem;
  border-radius: 14px;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--hi);
  text-decoration: none;
  background: rgba(36, 211, 165, 0.08);
  box-shadow: inset 0 0 0 1px rgba(36, 211, 165, 0.25);
  transition: background var(--speed) var(--ease);
}
.idcard__status:hover { color: var(--hi); background: rgba(36, 211, 165, 0.15); }
.idcard__status svg { width: 1rem; height: 1rem; margin-inline-start: auto; }
[dir="rtl"] .idcard__status svg { transform: scaleX(-1); }
.idcard__pulse { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ok); animation: beat 2.4s ease-out infinite; }

/* Vision & mission: two panes, the words at display size. */
.vm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-4); }
@media (max-width: 52rem) { .vm { grid-template-columns: minmax(0, 1fr); } }
.vm__card {
  --accent: var(--mint);
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 26px;
}
.vm__card--mission { --accent: var(--gold); }
/* One accent stroke along the top edge, the only colour on the pane. */
.vm__card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: clamp(1.5rem, 3vw, 2.5rem);
  width: 3rem;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: var(--accent);
}
.vm__label {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: 0 0 var(--sp-4);
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--accent);
}
.vm__card--mission .node-no { color: var(--gold-fg); background: rgba(201, 162, 39, 0.08); box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.35); }
.vm__text {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1rem + 0.8vw, 1.6rem);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--hi);
  text-wrap: pretty;
}

/* What we do: five numbered panes. */
.scope {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--sp-3);
}
@media (max-width: 72rem) { .scope { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 52rem) { .scope { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 30rem) { .scope { grid-template-columns: minmax(0, 1fr); } }
.scope__item {
  --lg-tint: rgba(4, 22, 16, 0.22);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-5);
  border-radius: 20px;
  transition: transform var(--speed) var(--ease), border-color var(--speed) var(--ease);
}
.scope__item:hover { transform: translateY(-2px); border-color: rgba(36, 211, 165, 0.38); }
.scope__no { font-family: var(--font-mono); font-size: var(--step--2); color: var(--t-faint); }
.scope__icon { color: var(--accent-fg); margin: var(--sp-2) 0 var(--sp-1); }
.scope__icon svg { width: 1.5rem; height: 1.5rem; }
.is-field .section .scope__name { margin: 0; font-size: var(--step-0); line-height: 1.3; color: var(--hi); }
.scope__desc { margin: 0; font-size: var(--step--1); line-height: 1.6; color: var(--on-dark-dim); }

.stat-panel--row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-3);
  background: none;
  border: 0;
}
@media (max-width: 48rem) { .stat-panel--row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.stat-panel--row .stat:first-child .stat__value { color: var(--accent-fg); }

/* More about PDTI */
.explore { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-3); }
@media (max-width: 44rem) { .explore { grid-template-columns: minmax(0, 1fr); } }
.explore__card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--sp-4);
  min-height: 5.5rem;
  padding: var(--sp-4) var(--sp-5);
  border-radius: 20px;
  overflow: hidden;
  color: var(--hi);
  text-decoration: none;
  transition: border-color var(--speed) var(--ease), transform var(--speed) var(--ease);
}
.explore__card:hover { color: var(--hi); border-color: rgba(36, 211, 165, 0.4); transform: translateY(-2px); }
/* A page with a picture shows it faintly behind the glass, fading out
   before the text. */
.explore__art {
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-end: 0;
  width: 55%;
  opacity: 0.32;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
  mask-image: linear-gradient(90deg, transparent, #000 70%);
  pointer-events: none;
}
[dir="rtl"] .explore__art {
  -webkit-mask-image: linear-gradient(270deg, transparent, #000 70%);
  mask-image: linear-gradient(270deg, transparent, #000 70%);
}
.explore__art picture, .explore__art img { width: 100%; height: 100%; object-fit: cover; }
.explore__card:hover .explore__art { opacity: 0.45; }
.explore__icon, .explore__name, .explore__go { position: relative; }
.explore__icon {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  border-radius: 14px;
  color: var(--accent-fg);
  background: rgba(36, 211, 165, 0.08);
  box-shadow: inset 0 0 0 1px rgba(36, 211, 165, 0.22);
}
.explore__icon svg { width: 1.2rem; height: 1.2rem; }
.explore__name { font-family: var(--font-display); font-weight: 700; font-size: var(--step-1); letter-spacing: -0.015em; }
.explore__go { color: var(--accent-fg); transition: transform var(--speed) var(--ease); }
.explore__go svg { width: 1.2rem; height: 1.2rem; }
.explore__card:hover .explore__go { transform: translateX(4px); }
[dir="rtl"] .explore__go svg { transform: scaleX(-1); }
[dir="rtl"] .explore__card:hover .explore__go { transform: translateX(-4px); }

.about-stamp { margin-top: var(--sp-6); color: var(--t-faint); }

html[data-contrast="high"] :is(.idcard, .vm__card, .scope__item, .explore__card) { background: #000 !important; border-color: #fff !important; }
html[data-contrast="high"] .explore__art { display: none; }
@media (prefers-reduced-transparency: reduce) {
  .idcard, .vm__card, .scope__item, .explore__card { --lg-tint: #072319; }
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .idcard, .vm__card, .scope__item, .explore__card { --lg-tint: rgba(4, 22, 16, 0.86); }
}
html[data-motion="off"] .idcard__pulse { animation: none; }
@media (prefers-reduced-motion: reduce) { .idcard__pulse { animation: none; } }
@media print { .idcard__status { display: none; } }

/* The statement is a full sentence from the content, not a slogan, so it is
   set as a strong lead rather than at headline size. */
.page-head .about-head__statement {
  margin: 0 0 var(--sp-5);
  max-width: 34ch;
  font-size: clamp(1.4rem, 1.05rem + 1.4vw, 2.15rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

/* ==========================================================================
   18. Light & dark
   --------------------------------------------------------------------------
   Two complete themes over one set of components. html[data-theme] is set
   before first paint (in the page head): the visitor's stored choice, else
   the system's. Every page sits on the network field; the field, the glass
   and every text colour above them are tokens, redefined here per theme.

   Text that sits on a colour that does not change with the theme — a filled
   button, the chat bubble, the audience artwork — keeps a fixed colour.
   ========================================================================== */

:root:not([data-theme='dark']) {
  color-scheme: light;

  --bg: #EEF3F0;
  --paper: #EEF3F0;
  --fg: #0B1F17;
  --ink: #0B1F17;
  --muted: #4F6259;
  --surface: #FFFFFF;
  --line: #D9E2DD;
  --border: var(--line);

  --hi: #0B1F17;
  --on-dark: #1F3329;
  --on-dark-soft: #33473D;
  --on-dark-dim: #50635A;
  --t-faint: #66796F;
  --accent-fg: #0B6E46;
  --gold-fg: #85690E;
  --hairline: rgba(11, 31, 23, 0.08);
  --hairline-hi: rgba(11, 31, 23, 0.14);
  --ring-bg: #FFFFFF;

  --ok: #0E9A6E;
  --slow: #B07F07;
  --cert: #C2570C;
  --down: #CC3B31;

  --field: #EDF3EF;
  --field-glow: rgba(36, 211, 165, 0.26);
  --field-glow-2: rgba(201, 162, 39, 0.12);
  --field-rgb: 12, 110, 72;
  --field-gold-rgb: 160, 122, 18;
  --field-line: 0.12;
  --field-node: 0.42;

  --lg-blur: 6px;
  --lg-sat: 160%;
  --lg-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.36) 45%, rgba(255, 255, 255, 0.5));
  --lg-tint: rgba(255, 255, 255, 0.2);
  --lg-edge: rgba(11, 31, 23, 0.09);
  --lg-rim:
    inset 0 1px 0 #FFFFFF,
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(11, 31, 23, 0.04),
    inset 0 -26px 36px -32px rgba(14, 122, 79, 0.28);
  --lg-drop: 0 24px 48px -30px rgba(6, 42, 30, 0.38);
  --sheet: rgba(255, 255, 255, 0.66);
  --input-bg: rgba(255, 255, 255, 0.92);
}

html[data-theme='dark'] {
  color-scheme: dark;

  --bg: #03110C;
  --paper: #03110C;
  --fg: #E2ECE7;
  --ink: #E2ECE7;
  --muted: #9DB4AA;
  --surface: #0A2219;
  --line: rgba(255, 255, 255, 0.1);
  --border: var(--line);

  --hi: #FFFFFF;
  --on-dark: #D8E6DF;
  --on-dark-soft: #C6D8CF;
  --on-dark-dim: #9FB8AD;
  --t-faint: #86A194;
  --accent-fg: #24D3A5;
  --gold-fg: #D9B43C;
  --hairline: rgba(255, 255, 255, 0.1);
  --hairline-hi: rgba(255, 255, 255, 0.16);
  --ring-bg: #06231A;

  --ok: #24D3A5;
  --slow: #E2B53E;
  --cert: #F08A3C;
  --down: #F0645A;

  --field: #03110C;
  --field-glow: rgba(14, 122, 79, 0.3);
  --field-glow-2: rgba(14, 122, 79, 0.16);
  --field-rgb: 36, 211, 165;
  --field-gold-rgb: 201, 162, 39;
  --field-line: 0.11;
  --field-node: 0.7;

  --lg-blur: 3px;
  --lg-sat: 165%;
  --lg-fill: linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.015) 42%, rgba(255, 255, 255, 0.03));
  --lg-tint: rgba(4, 22, 16, 0.34);
  --lg-edge: rgba(255, 255, 255, 0.12);
  --lg-rim:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.035),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    inset 0 -22px 32px -28px rgba(36, 211, 165, 0.32);
  --lg-drop: 0 28px 56px -32px rgba(0, 0, 0, 0.85);
  --sheet: rgba(5, 24, 17, 0.6);
  --input-bg: rgba(255, 255, 255, 0.045);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 40px -20px rgba(0, 0, 0, 0.8);
}

html { background: var(--field); }
body { color: var(--fg); }

/* The field */
.netfield--page {
  background:
    radial-gradient(70% 60% at 88% 0%, var(--field-glow), transparent 70%),
    radial-gradient(60% 55% at 0% 100%, var(--field-glow-2), transparent 70%),
    var(--field);
}
/* Over a light field the lattice reads as ink on paper: a single soft
   wash keeps the top of each page from feeling empty. */
:root:not([data-theme='dark']) .netfield--page {
  background:
    radial-gradient(55% 45% at 90% 0%, var(--field-glow), transparent 70%),
    radial-gradient(45% 40% at 5% 30%, rgba(14, 122, 79, 0.08), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, var(--field-glow-2), transparent 70%),
    linear-gradient(180deg, #F4F8F5, var(--field) 40%, #E8F0EB);
}

/* Every page is on the field: its bands are clear, its content is glass. */
.is-field main > .section,
.is-field main > section,
.is-field .page-head,
.is-field .section--dark,
.is-field .section--paper { background: transparent; border-block: 0; }
.is-field .girih, .is-field .motes { display: none; }
.is-field .section h2, .is-field .section h3, .is-field .page-head h1 { color: var(--hi); }
.is-field .page-head p { color: var(--on-dark-soft); }
.is-field .section__head p { color: var(--muted); }

/* Content on inner pages joins the glass. */
.is-field .tile,
.is-field .widget,
.is-field .pager a,
.is-field .pager span,
.is-field .notice,
.is-field main article[id^='post-']:not(.card):not(.feature) {
  --spec: radial-gradient(120% 90% at var(--gx) var(--gy), rgba(255, 255, 255, 0.09), transparent 52%);
  --lg-tint: var(--sheet);
  --lg-blur: 12px;
  background: var(--spec), var(--lg-fill), var(--lg-tint);
  border: 1px solid var(--lg-edge);
  box-shadow: var(--lg-rim), var(--lg-drop);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
}
/* An article or page is a reading sheet: one pane, generous padding. */
.is-field main article[id^='post-']:not(.card):not(.feature) {
  padding: clamp(1.25rem, 3vw, 2.75rem);
  border-radius: var(--radius-glass);
}
.is-field .tile__name, .is-field .widget__title { color: var(--hi); }
.is-field .tile__desc { color: var(--muted); }
.is-field .tile:hover { border-color: color-mix(in srgb, var(--accent-fg) 45%, transparent); }

.is-field .card,
.is-field .feature,
.is-field .accordion,
.is-field .dl-item { --lg-tint: var(--sheet); }
.is-field .card__meta, .is-field .dl-item__meta { color: var(--t-faint); }
.is-field .card__text, .is-field .feature__text { color: var(--muted); }
.is-field .accordion__body { color: var(--on-dark-soft); }
.is-field .accordion__item { border-color: var(--hairline); }
.is-field .badge { background: color-mix(in srgb, var(--accent-fg) 12%, transparent); color: var(--accent-fg); }
.is-field .dl-item { color: var(--fg); }
.is-field .dl-item__ext { background: color-mix(in srgb, var(--accent-fg) 12%, transparent); color: var(--accent-fg); }

.input, .textarea, .select {
  background: var(--input-bg);
  color: var(--fg);
  border-color: var(--hairline-hi);
}
.input::placeholder, .textarea::placeholder { color: var(--t-faint); }

/* --------------------------------------------------------------------------
   Light theme: the components that were drawn for the dark field
   -------------------------------------------------------------------------- */
:root:not([data-theme='dark']) :is(.console, .stat, .btn--glass, .is-field .btn--ghost, .idcard, .vm__card, .scope__item, .explore__card) { --lg-tint: rgba(255, 255, 255, 0.22); --lg-blur: 5px; }

:root:not([data-theme='dark']) .hero__title em { color: rgba(11, 31, 23, 0.5); }
:root:not([data-theme='dark']) .hero__lead { color: var(--on-dark-soft); }
:root:not([data-theme='dark']) .hero__eyebrow,
:root:not([data-theme='dark']) .breadcrumb {
  background: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 0 1px var(--hairline-hi);
  color: var(--on-dark-soft);
}
:root:not([data-theme='dark']) .breadcrumb a { color: var(--on-dark-soft); }

:root:not([data-theme='dark']) .sys__link {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
:root:not([data-theme='dark']) .sys__link:hover { background: rgba(255, 255, 255, 0.85); }
:root:not([data-theme='dark']) .sys__icon {
  color: var(--accent-fg);
  background: color-mix(in srgb, var(--accent-fg) 9%, #FFFFFF);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.sys__icon::after { box-shadow: 0 0 0 3px var(--ring-bg); }
.sys__host, .sys__ms small, .console__foot, .scope__no, .about-stamp { color: var(--t-faint); }

:root:not([data-theme='dark']) .idcard__row { border-color: var(--hairline); }
:root:not([data-theme='dark']) .idcard__status,
:root:not([data-theme='dark']) .explore__icon,
:root:not([data-theme='dark']) .node-no {
  background: color-mix(in srgb, var(--accent-fg) 8%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent-fg) 30%, transparent);
}
:root:not([data-theme='dark']) .vm__card--mission .node-no {
  background: color-mix(in srgb, var(--gold-fg) 8%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--gold-fg) 35%, transparent);
}
:root:not([data-theme='dark']) .vm__card--mission { --accent: var(--gold-fg); }
:root:not([data-theme='dark']) .vm__card--vision { --accent: var(--accent-fg); }

/* Header, rail and menus */
:root:not([data-theme='dark']) .telemetry,
:root:not([data-theme='dark']) .is-field .telemetry { background: rgba(255, 255, 255, 0.45); color: var(--t-faint); box-shadow: inset 0 -1px 0 var(--hairline); }
:root:not([data-theme='dark']) .telemetry__conn { color: var(--gold-fg); }
.telemetry__status:hover { color: var(--hi); }

:root:not([data-theme='dark']) .nav__sub,
:root:not([data-theme='dark']) .lang__menu {
  background: rgba(252, 253, 252, 0.94);
  border-color: var(--hairline-hi);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 18px 40px -16px rgba(6, 42, 30, 0.35);
}
:root:not([data-theme='dark']) .nav__sub .nav__link,
:root:not([data-theme='dark']) .lang__link { color: var(--on-dark-soft); }
:root:not([data-theme='dark']) .nav__sub .nav__link:hover,
:root:not([data-theme='dark']) .lang__link:hover { color: var(--hi); background: rgba(11, 31, 23, 0.05); }
@media (max-width: 60rem) {
  :root:not([data-theme='dark']) .nav {
    background: rgba(252, 253, 252, 0.95);
    box-shadow: inset 0 1px 0 #FFFFFF, inset 0 0 0 1px var(--hairline), 0 24px 48px -20px rgba(6, 42, 30, 0.35);
  }
  :root:not([data-theme='dark']) .nav__link { color: var(--on-dark-soft); }
  :root:not([data-theme='dark']) .nav__link[aria-current='page'] { color: var(--accent-fg); background: color-mix(in srgb, var(--accent-fg) 8%, transparent); box-shadow: none; }
}
:root:not([data-theme='dark']) .site-header .brand__name { color: var(--ink); }
:root:not([data-theme='dark']) .site-header .icon-btn:hover { background: rgba(11, 31, 23, 0.08); color: var(--ink); }

/* The theme switch: the moon shows in light mode, the sun in dark. */
.theme-toggle svg { transition: transform 0.4s var(--ease), opacity 0.25s var(--ease); }
.theme-toggle__sun { display: none; }
html[data-theme='dark'] .theme-toggle__sun { display: block; }
html[data-theme='dark'] .theme-toggle__moon { display: none; }

/* Panels that float above everything */
html[data-theme='dark'] .panel,
html[data-theme='dark'] .chat {
  background: rgba(5, 24, 17, 0.9);
  border-color: var(--lg-edge);
  box-shadow: var(--lg-rim), 0 30px 60px -24px rgba(0, 0, 0, 0.8);
  color: var(--fg);
}
html[data-theme='dark'] .msg--bot,
html[data-theme='dark'] .chat__chip,
html[data-theme='dark'] .stepper button,
html[data-theme='dark'] .chat__input { background: rgba(255, 255, 255, 0.05); color: var(--fg); border-color: var(--hairline-hi); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  margin-top: var(--sp-6);
  overflow: hidden;
  background: transparent;
  color: var(--on-dark-dim);
}
.site-footer__ribbon, .site-footer .girih { display: none; }
.site-footer__inner { padding-block: var(--sp-6) var(--sp-5); }

.footer-grid {
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: var(--sp-6) var(--sp-7);
}
@media (max-width: 64rem) { .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 40rem) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.site-footer h3 {
  padding-bottom: 0;
  margin-bottom: var(--sp-4);
  font-size: var(--step--2);
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--t-faint);
}
.site-footer h3::before, .site-footer h3::after { display: none; }
.site-footer a { color: var(--on-dark-soft); }
.site-footer a:hover { color: var(--accent-fg); }
.site-footer ul a { display: inline-flex; padding-block: 0.15rem; }
.site-footer__brand .brand__name { color: var(--hi); }
.site-footer__brand .brand__sub { color: var(--gold-fg); }
.site-footer__blurb { color: var(--on-dark-dim); }
.footer-contact svg { color: var(--accent-fg); }

.footer-bottom {
  align-items: center;
  margin-top: var(--sp-7);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--hairline);
  color: var(--t-faint);
  font-size: var(--step--1);
}
.footer-bottom__time { font-family: var(--font-mono); font-size: var(--step--2); }
.footer-bottom__time time { color: var(--hi); font-weight: 600; }
.social { display: flex; gap: var(--sp-2); }
.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: var(--step--1);
  background: color-mix(in srgb, var(--hi) 4%, transparent);
  box-shadow: inset 0 0 0 1px var(--hairline-hi);
}
.social a svg { width: 0.9rem; height: 0.9rem; }

/* The name, set large and cut off by the page edge: a signature, not a logo. */
.footer-mark {
  margin: var(--sp-5) 0 0;
  padding: 0;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 19vw, 17rem);
  line-height: 0.8;
  letter-spacing: -0.06em;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-fg) 30%, transparent), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke: 1px color-mix(in srgb, var(--accent-fg) 30%, transparent);
  margin-bottom: -0.12em;
  user-select: none;
  pointer-events: none;
}
.footer-mark span { margin-inline-start: 0.18em; color: transparent; }
[dir='rtl'] .footer-mark { direction: ltr; }

/* --------------------------------------------------------------------------
   High contrast wins over both themes
   -------------------------------------------------------------------------- */
html[data-contrast='high'] {
  --hi: #FFFFFF; --fg: #FFFFFF; --ink: #FFFFFF; --muted: #FFFFFF;
  --on-dark: #FFFFFF; --on-dark-soft: #FFFFFF; --on-dark-dim: #FFFFFF; --t-faint: #FFFFFF;
  --accent-fg: #5CF2C5; --gold-fg: #FFD54A;
  --surface: #000000; --input-bg: #000000; --border: #FFFFFF; --line: #FFFFFF;
  --hairline: #FFFFFF; --hairline-hi: #FFFFFF; --field: #000000; --sheet: #000000;
  background: #000;
}
html[data-contrast='high'] body,
html[data-contrast='high'] main { background: #000; color: #FFF; }
html[data-contrast='high'] :is(.tile, .widget, .notice, main article[id^='post-']:not(.card):not(.feature), .pager a, .telemetry, .nav, .nav__sub, .lang__menu, .site-header) {
  background: #000 !important;
  border-color: #FFF !important;
}
html[data-contrast='high'] .footer-mark { display: none; }

@media print {
  .footer-mark, .theme-toggle { display: none !important; }
  .is-field main article[id^='post-']:not(.card):not(.feature) { background: none; box-shadow: none; border: 0; padding: 0; }
}

/* Forms and the search bar sit on a pane too, so a field is never an
   input box floating on the lattice. */
.is-field .form-sheet,
.is-field .search-bar {
  --spec: radial-gradient(120% 90% at var(--gx) var(--gy), rgba(255, 255, 255, 0.09), transparent 52%);
  --lg-tint: var(--sheet);
  --lg-blur: 12px;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  border-radius: var(--radius-glass);
  background: var(--spec), var(--lg-fill), var(--lg-tint);
  border: 1px solid var(--lg-edge);
  box-shadow: var(--lg-rim), var(--lg-drop);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
}
.is-field .search-bar { padding: var(--sp-3); border-radius: 20px; }

/* The profile head keeps its own colours over the generic page-head ones. */
.is-field .page-head .about-head__title { color: var(--accent-fg); }
.is-field .page-head .about-head__statement { color: var(--hi); }
:root:not([data-theme='dark']) .footer-mark {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent-fg) 16%, transparent), transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-stroke-color: color-mix(in srgb, var(--accent-fg) 22%, transparent);
}

/* A backdrop filter inside the header's own glass only sees the header,
   not the page, so the menus that hang from it cannot rely on blur: they
   are all but opaque instead, in both themes. */
@media (max-width: 60rem) {
  html[data-theme='dark'] .nav { background: rgba(5, 24, 17, 0.97); }
  :root:not([data-theme='dark']) .nav { background: #FAFCFB; }
}
html[data-theme='dark'] .nav__sub, html[data-theme='dark'] .lang__menu { background: rgba(5, 24, 17, 0.97); }

/* The chat header is a dark band in both themes; its controls stay light. */
.chat__head { --hi: #FFFFFF; --on-dark-soft: #C6D8CF; --on-dark-dim: #9FB8AD; --accent-fg: #24D3A5; }
.chat__head .icon-btn,
.chat__head button { color: #FFFFFF; }

/* High contrast: floating panels are solid, switches are outlined. */
html[data-contrast='high'] .chat,
html[data-contrast='high'] .panel { background: #000 !important; border: 2px solid #FFF !important; }
html[data-contrast='high'] .switch { background: #000; box-shadow: inset 0 0 0 2px #FFF; }
html[data-contrast='high'] .switch::after { background: #FFF; }
html[data-contrast='high'] .switch[aria-pressed='true'] { background: #5CF2C5; }
html[data-contrast='high'] .switch[aria-pressed='true']::after { background: #000; }

/* --------------------------------------------------------------------------
   Status page and cluster summary
   One chip per cluster under the home board; on /status the same chips
   act as a table of contents above one board per cluster.
   -------------------------------------------------------------------------- */
.clusters {
  list-style: none;
  margin: var(--sp-2) 0 0;
  padding: 0 var(--sp-2);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.clusters__item {
  --c: var(--on-dark-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: var(--step--2);
  font-weight: 600;
  color: var(--on-dark-soft);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  transition: background var(--speed) var(--ease), box-shadow var(--speed) var(--ease);
}
.clusters__item:hover {
  color: var(--hi);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent);
}
.clusters__item[hidden] { display: none; }
:is(.clusters__item, .legend__item)[data-state='ok']   { --c: var(--ok); }
:is(.clusters__item, .legend__item)[data-state='slow'] { --c: var(--slow); }
:is(.clusters__item, .legend__item)[data-state='cert'] { --c: var(--cert); }
:is(.clusters__item, .legend__item)[data-state='down'] { --c: var(--down); }
.clusters__lamp {
  flex: none;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--c, var(--on-dark-dim));
}
.clusters__item[data-state='wait'] .clusters__lamp { animation: blink 1s steps(2) infinite; }
.clusters__count {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-weight: 500;
  color: var(--t-faint);
  direction: ltr;
  unicode-bidi: isolate;
}
.console__more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--accent-fg);
  text-decoration: none;
  font-weight: 600;
}
.console__more svg { width: 0.9rem; height: 0.9rem; }
[dir='rtl'] .console__more svg { transform: scaleX(-1); }

/* /status */
.statusboard { padding-top: var(--sp-6); }
.statusboard__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3) var(--sp-5);
  margin-bottom: var(--sp-4);
}
.statusboard__checked {
  margin: 0;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  color: var(--t-faint);
}
.statusboard .console__overall { font-size: var(--step-0); }
.clusters--page { padding: 0; margin: 0 0 var(--sp-6); }
.clusters--page .clusters__item { font-size: var(--step--1); padding: 0.45rem 0.95rem; }
.statusboard__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr));
  gap: var(--sp-5);
  align-items: start;
}
.console--cluster { animation: none; scroll-margin-top: calc(var(--header-h, 4rem) + var(--sp-5)); }
.console--cluster .console__overall { font-size: var(--step--2); }
.statusboard__legend {
  margin-top: var(--sp-7);
  max-width: 62rem;
}
.statusboard__legend-title {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--on-dark-soft);
  margin: 0 0 var(--sp-3);
}
.statusboard__legend dl {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: var(--sp-3) var(--sp-5);
  margin: 0;
}
.legend__item dt {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--hi);
}
.legend__item dd {
  margin: 0.25rem 0 0;
  font-size: var(--step--1);
  color: var(--on-dark-soft);
}
.statusboard__report {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: var(--sp-5) 0 0;
  font-size: var(--step--1);
}
.statusboard__report svg { width: 1rem; height: 1rem; color: var(--accent-fg); flex: none; }
.statusboard__report a { color: var(--accent-fg); }

:root:not([data-theme='dark']) .clusters__item {
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
:root:not([data-theme='dark']) .clusters__item:hover { background: rgba(255, 255, 255, 0.85); }

/* /status tools: search, state chips, order. One row on wide screens, the
   search on its own line on narrow ones. Same chip language as the cluster
   summary above it, so the two read as one control surface. */
.stools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-3) var(--sp-4);
  margin: 0 0 var(--sp-5);
}
.stools[hidden], .stools__none[hidden] { display: none; }
.stools__search {
  position: relative;
  flex: 1 1 16rem;
  max-width: 24rem;
  margin: 0;
}
.stools__search .ico {
  position: absolute;
  inset-inline-start: 0.8rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  color: var(--t-faint);
  pointer-events: none;
}
.stools__search input {
  width: 100%;
  padding: 0.6rem 0.9rem 0.6rem 2.4rem;
  font: inherit;
  font-size: var(--step--1);
  color: var(--hi);
  background: rgba(255, 255, 255, 0.04);
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--hairline-hi);
}
[dir='rtl'] .stools__search input { padding: 0.6rem 2.4rem 0.6rem 0.9rem; }
.stools__search input::placeholder { color: var(--t-faint); }
.stools__search input:focus-visible { outline: 2px solid var(--accent-fg); outline-offset: 2px; }
:root:not([data-theme='dark']) .stools__search input { background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 0 0 1px var(--hairline); }

.stools__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.stools__chip {
  --c: var(--on-dark-dim);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.8rem;
  font: inherit;
  font-size: var(--step--2);
  font-weight: 600;
  color: var(--on-dark-soft);
  background: rgba(255, 255, 255, 0.04);
  border: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: background var(--speed) var(--ease), box-shadow var(--speed) var(--ease), color var(--speed) var(--ease);
}
.stools__chip[data-state='ok']   { --c: var(--ok); }
.stools__chip[data-state='slow'] { --c: var(--slow); }
.stools__chip[data-state='cert'] { --c: var(--cert); }
.stools__chip[data-state='down'] { --c: var(--down); }
.stools__chip b {
  font-family: var(--font-mono);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  color: var(--t-faint);
}
.stools__chip:hover { color: var(--hi); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--c) 45%, transparent); }
.stools__chip[aria-pressed='true'] {
  color: var(--hi);
  background: color-mix(in srgb, var(--c) 16%, transparent);
  box-shadow: inset 0 0 0 1.5px var(--c);
}
.stools__chip[data-state='all'][aria-pressed='true'] { --c: var(--accent-fg); }
.stools__chip:disabled { opacity: 0.4; cursor: default; }
.stools__chip:focus-visible { outline: 2px solid var(--accent-fg); outline-offset: 2px; }
:root:not([data-theme='dark']) .stools__chip { background: rgba(255, 255, 255, 0.55); box-shadow: inset 0 0 0 1px var(--hairline); }
:root:not([data-theme='dark']) .stools__chip[aria-pressed='true'] { background: color-mix(in srgb, var(--c) 12%, #fff); box-shadow: inset 0 0 0 1.5px var(--c); }

.stools__sort {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0 auto;
  font-size: var(--step--2);
  color: var(--t-faint);
}
[dir='rtl'] .stools__sort { margin: 0 auto 0 0; }
.stools__sort select {
  font: inherit;
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--hi);
  background: transparent;
  border: 0;
  border-radius: 8px;
  padding: 0.35rem 0.4rem;
  box-shadow: inset 0 0 0 1px var(--hairline-hi);
  cursor: pointer;
}
.stools__sort select option { color: #0B1A14; }
.stools__count {
  flex-basis: 100%;
  margin: calc(var(--sp-2) * -1) 0 0;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  color: var(--t-faint);
}
.stools__count[hidden] { display: none; }
.stools__none {
  margin: 0 0 var(--sp-5);
  padding: var(--sp-5);
  text-align: center;
  color: var(--on-dark-soft);
  border: 1px dashed var(--hairline-hi);
  border-radius: var(--radius-card, 18px);
}
.stools__none button {
  margin-inline-start: 0.5rem;
  font: inherit;
  font-weight: 600;
  color: var(--accent-fg);
  background: none;
  border: 0;
  padding: 0;
  text-decoration: underline;
  cursor: pointer;
}
.console--cluster[hidden] { display: none; }
@media (max-width: 40rem) {
  .stools__search { max-width: none; flex-basis: 100%; }
  .stools__sort { margin-inline-start: 0; }
}

@media (max-width: 30rem) {
  .statusboard__grid { gap: var(--sp-4); }
}
/* The cluster boards are long, sit side by side and scroll: refraction and
   backdrop blur over a full page of rows only smear the neighbouring board
   into this one. A plain tinted pane reads better and costs nothing. */
.console.console--cluster {
  grid-area: auto; /* the inlined critical CSS places every .console in the hero grid */
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: rgba(4, 22, 16, 0.72);
  border: 1px solid var(--hairline-hi);
  box-shadow: none;
}
:root:not([data-theme='dark']) .console.console--cluster { background: rgba(255, 255, 255, 0.78); }

/* Three figures (availability not yet measured): three columns, no hole. */
@media (min-width: 48.01rem) {
  .stat-panel.stat-panel--n3,
  .hero--live .stat-panel.stat-panel--n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Organisation chart page: a wide chart is unreadable at reading width, so
   the article holding one uses the full card; its table follows suit. */
.prose:has(> figure.org-chart) { max-width: none; }
.prose figure.org-chart img { width: 100%; margin-block: 0; border-radius: 12px; }
.prose figure.org-chart figcaption { margin-top: var(--sp-2); font-size: var(--step--1); color: var(--t-faint); }
.prose .org-table { display: table; width: 100%; }

/* Footer accounts are labelled pills (icon + name), not icon squares: drop
   the fixed 2.1rem box from the older .social rule so the names fit. */
.social { flex-wrap: wrap; }
.social a { width: auto; height: auto; white-space: nowrap; }

/* State colours, shared by the inline lamps and the panel rows. */
[data-arch-host][data-state='ok']   { --c: var(--ok); }
[data-arch-host][data-state='slow'] { --c: var(--slow); }
[data-arch-host][data-state='cert'] { --c: var(--cert); }
[data-arch-host][data-state='down'] { --c: var(--down); }

/* --------------------------------------------------------------------------
   Captcha on the public forms: a field like the others, full width. The
   image and the answer share one row at the same height; the image keeps
   its own light paper in both themes — it is a printed code, not a surface.
   -------------------------------------------------------------------------- */
.capfield__head { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.capfield__new {
  display: inline-flex; align-items: center; gap: 0.35rem;
  margin: -0.3rem -0.5rem -0.3rem 0;
  padding: 0.3rem 0.5rem;
  border: 0; border-radius: 8px;
  background: none;
  font: inherit; font-size: var(--step--1); font-weight: 700;
  color: var(--accent-fg);
  cursor: pointer;
  transition: background var(--speed) var(--ease);
}
.capfield__new:hover { background: color-mix(in srgb, var(--accent-fg) 12%, transparent); }
.capfield__new .ico { width: 1rem; height: 1rem; transition: transform 0.35s var(--ease); }
.capfield__new:active .ico { transform: rotate(-180deg); }

.capfield__row { display: grid; grid-template-columns: 12.5rem minmax(0, 1fr); gap: var(--sp-3); align-items: stretch; }
.capfield__img {
  display: block;
  width: 12.5rem;
  height: 3.75rem;
  border-radius: 12px;
  background: #F7FAF8;
  box-shadow: inset 0 0 0 1px rgba(11, 31, 23, 0.12);
}
.capfield__input.input {
  height: 3.75rem;
  font-family: var(--font-mono);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-align: center;
  text-transform: uppercase;
}
.capfield__input::placeholder { opacity: 0.45; }
@media (max-width: 30rem) {
  .capfield__row { grid-template-columns: minmax(0, 1fr); }
  .capfield__img { width: 100%; height: auto; aspect-ratio: 10 / 3; }
}
@media (prefers-reduced-motion: reduce) { .capfield__new .ico { transition: none; } }
/* Paragraph settings from the content editor (classes, never inline styles). */
.prose .has-text-align-left { text-align: left; }
.prose .has-text-align-center { text-align: center; }
.prose .has-text-align-right { text-align: right; }
.prose .has-text-align-justify { text-align: justify; hyphens: auto; }
.prose figure.has-text-align-center img, .prose img.has-text-align-center { margin-inline: auto; }
.prose figure.has-text-align-right img { margin-inline-start: auto; }
.prose table.has-text-align-center { margin-inline: auto; width: auto; }
.prose .indent-1 { margin-inline-start: 2rem; }
.prose .indent-2 { margin-inline-start: 4rem; }
.prose .indent-3 { margin-inline-start: 6rem; }
.prose .lh-tight { line-height: 1.45; }
.prose .lh-loose { line-height: 2.1; }
.prose .is-lead { font-size: 1.18em; line-height: 1.65; font-weight: 500; }
.prose .is-small { font-size: 0.86em; opacity: 0.8; }
.prose .is-note { padding: 0.9em 1.1em; border-inline-start: 3px solid var(--accent-fg, #0E7A4F); border-radius: 0 10px 10px 0; background: color-mix(in srgb, var(--accent-fg, #0E7A4F) 8%, transparent); }
@media (max-width: 40rem) { .prose .indent-2, .prose .indent-3 { margin-inline-start: 2rem; } }
/* --------------------------------------------------------------------------
   Notice bar (pita pengumuman): one solid line above the site rail. Solid,
   not glass — it must read at a glance in both themes, over anything.
   -------------------------------------------------------------------------- */
.noticebar { position: relative; z-index: 60; color: #fff; background: #0B4F8A; font-size: var(--step--1); line-height: 1.45; }
.noticebar--warning { background: #F2B705; color: #1F1600; }
.noticebar--outage  { background: #B42318; }
.noticebar[hidden] { display: none; }
.noticebar__inner { display: flex; align-items: flex-start; gap: 0.7rem; padding-block: 0.6rem; }
.noticebar__icon { flex: none; display: grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-top: -0.05rem; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.noticebar--warning .noticebar__icon { background: rgba(31, 22, 0, 0.12); }
.noticebar__icon .ico { width: 1rem; height: 1rem; }
.noticebar--outage .noticebar__icon { animation: notice-pulse 2s ease-in-out infinite; }
@keyframes notice-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.45); } 50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); } }
.noticebar__text { flex: 1; min-width: 0; margin: 0; }
.noticebar__text strong { font-weight: 800; margin-inline-end: 0.4rem; }
.noticebar__link { display: inline-flex; align-items: center; gap: 0.25rem; margin-inline-start: 0.5rem; font-weight: 700; color: inherit; text-decoration: underline; text-underline-offset: 0.18em; white-space: nowrap; }
.noticebar__link .ico { width: 0.9rem; height: 0.9rem; }
[dir='rtl'] .noticebar__link .ico { transform: scaleX(-1); }
.noticebar__close { flex: none; display: grid; place-items: center; width: 1.9rem; height: 1.9rem; margin: -0.15rem -0.3rem 0 0; padding: 0; border: 0; border-radius: 8px; background: none; color: inherit; cursor: pointer; opacity: 0.8; }
.noticebar__close:hover { opacity: 1; background: rgba(255, 255, 255, 0.16); }
.noticebar--warning .noticebar__close:hover { background: rgba(31, 22, 0, 0.1); }
.noticebar__close[hidden] { display: none; }
.noticebar__close .ico { width: 1rem; height: 1rem; }
.noticebar a:focus-visible, .noticebar__close:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .noticebar--outage .noticebar__icon { animation: none; } }

/* The same notice on the status boards. */
.statusnote { display: flex; gap: 0.75rem; margin-bottom: var(--sp-4); padding: 0.85rem 1rem; border-radius: 14px; color: #fff; background: #0B4F8A; font-size: var(--step--1); line-height: 1.5; }
.statusnote--warning { background: #F2B705; color: #1F1600; }
.statusnote--outage { background: #B42318; }
.statusnote__icon { flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: rgba(255, 255, 255, 0.18); }
.statusnote--warning .statusnote__icon { background: rgba(31, 22, 0, 0.12); }
.statusnote__icon .ico { width: 1.05rem; height: 1.05rem; }
.statusnote__body { min-width: 0; }
.statusnote__body strong { font-weight: 800; margin-inline-end: 0.4rem; }
.statusnote__since { font-family: var(--font-mono); font-size: 0.85em; opacity: 0.8; }
.statusnote__body p { margin: 0.2rem 0 0.35rem; }
.statusnote__body a { display: inline-flex; align-items: center; gap: 0.25rem; font-weight: 700; color: inherit; }
.statusnote__body a .ico { width: 0.9rem; height: 0.9rem; }

.topo__svg { width: 100%; height: 100%; overflow: visible; }

.topo__guide { fill: none; stroke: var(--topo-faint); stroke-width: 1; stroke-dasharray: 1 5; }
.topo__tick { stroke: var(--topo-ink); stroke-width: 1; }
.topo__tick--major { stroke: var(--gold-fg); stroke-width: 1.5; }
.topo__bus,
.topo__spine { fill: none; stroke: var(--topo-ink); stroke-width: 1.25; }
.topo__trunk { fill: none; stroke: color-mix(in srgb, var(--accent-fg) 55%, transparent); stroke-width: 2.5; stroke-linecap: round; }

@keyframes topo-pkt { to { stroke-dashoffset: 0; } }

.topo__core-ring { fill: var(--field); stroke: color-mix(in srgb, var(--gold-fg) 55%, transparent); stroke-width: 1.25; }
.topo__engrave {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 600;
  fill: var(--gold-fg);
  opacity: 0.85;
}

/* Node colour is the host's last result. The fill eases in one node after
   another, so each round reads as a sweep across the network. */
.topo__node,
.topo__hub { --c: color-mix(in srgb, var(--hi) 28%, transparent); }
:is(.topo__node, .topo__hub)[data-state='ok']   { --c: var(--ok); }
:is(.topo__node, .topo__hub)[data-state='slow'] { --c: var(--slow); }
:is(.topo__node, .topo__hub)[data-state='cert'] { --c: var(--cert); }
:is(.topo__node, .topo__hub)[data-state='down'] { --c: var(--down); }
.topo__node {
  fill: var(--c);
  stroke: var(--field);
  stroke-width: 2;
  paint-order: stroke;
  transition: fill 0.5s var(--ease) calc(var(--i, 0) * 28ms);
}
.topo__node[data-state='down'] { stroke: color-mix(in srgb, var(--down) 35%, transparent); stroke-width: 7; }
.topo__node[data-state='wait'] { animation: blink 1.2s steps(2) infinite; }
.topo__hub circle:first-child { fill: var(--field); stroke: var(--c); stroke-width: 1.5; transition: stroke 0.5s var(--ease); }
.topo__hub-lamp { fill: var(--c); transition: fill 0.5s var(--ease); }

.topo__label { font-family: var(--font-mono); font-size: 13px; }
.topo__label-name { fill: color-mix(in srgb, var(--hi) 78%, transparent); font-weight: 600; }
.topo__label-count { fill: var(--accent-fg); font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---- Small screens ---------------------------------------------------- */

@media (max-width: 40rem) {
  .topo__labels { display: none; }

  
  
  
  
  
  
  
}

/* ---- Motion ----------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  
  .topo__node { transition: none; }
  .topo__node[data-state='wait'] { animation: none; }
}

[data-motion='off'] .topo__node { transition: none; animation: none; }

/* ==========================================================================
   20. A still field
   --------------------------------------------------------------------------
   Nothing behind the content moves. The lattice canvas is gone (the layout
   renders a plain element in its place), and every ambient loop that used to
   drift, breathe or travel in the background is stopped here. What remains
   is a fixed wash of the UMI greens and a faint engineering dot grid.

   Motion left on the site is functional only: a lamp blinking while its
   status is being fetched, and the one sweep across the map when a status
   round arrives.
   ========================================================================== */
.netfield--page { inset: 0; overflow: hidden; }
.netfield--page::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--hi) 10%, transparent) 1px, transparent 1.6px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 75% 65% at 70% 18%, #000 15%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 65% at 70% 18%, #000 15%, transparent 78%);
}
[data-contrast='high'] .netfield--page::after { display: none; }

.girih, .hero::before, .rosette, .site-footer h3::before, .footer-bottom::before,
.topo__node[data-state='wait'] { animation: none !important; }

.telemetry__logo { width: 1.25rem; height: 1.25rem; border-radius: 50%; flex: none; }

.topo__core-ring { stroke: color-mix(in srgb, var(--gold-fg) 40%, transparent); }

/* ---- Header ----------------------------------------------------------- */
.site-header .brand__text { gap: 0.1rem; }
.site-header .brand__long { font-size: var(--step--3); letter-spacing: 0.01em; color: var(--dim); }
@media (min-width: 60.0625rem) {
  .nav__list { gap: 0.1rem; }
  .site-header .nav__list > .nav__item > .nav__link {
    position: relative;
    padding-inline: 0.8rem;
    background: none !important;
    box-shadow: none !important;
  }
  .site-header .nav__list > .nav__item > .nav__link:hover { color: var(--hi); }
  /* The current page is marked as a node on the line, not a pill. */
  .site-header .nav__list > .nav__item > .nav__link[aria-current='page'] { color: var(--hi) !important; }
  .site-header .nav__list > .nav__item > .nav__link[aria-current='page']::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0.05rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 1px;
    translate: -50% 0;
    rotate: 45deg;
    background: var(--accent-fg);
  }
}
.telemetry__conn { color: var(--hi); }

/* Ghost buttons on solid ground are outlines, not glass. */
.site-footer .btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--hi);
  color: var(--hi);
  border: 1px solid var(--plate-edge, var(--hairline-hi));
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* ---- Footer ----------------------------------------------------------- */
.site-footer { margin-top: 0; color: var(--dim); }
.site-footer__inner { padding-block: clamp(3rem, 6vw, 5rem) var(--sp-5); }

.desk {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
  border-radius: 26px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--hairline-hi);
}
:root:not([data-theme='dark']) .desk { background: #FFFFFF; border-color: rgba(11, 31, 23, 0.1); }
.desk__text { padding: clamp(1.75rem, 4vw, 2.75rem); }
.site-footer .desk__title {
  margin: 0 0 var(--sp-3);
  padding: 0;
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: none;
  color: var(--hi);
}
.desk__lead { margin: 0 0 var(--sp-5); max-width: 34rem; color: var(--soft); }
.desk__actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.site-footer .desk .btn--mint { color: var(--void); }
.desk__line {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--void);
  text-decoration: none;
  background: var(--mint);
  transition: background var(--speed) var(--ease);
}
.site-footer a.desk__line, .site-footer a.desk__line:hover { color: #04150F; }
.desk__line:hover { background: #3BE0B5; }
.desk__line-label { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: var(--step--1); }
.desk__line-label .ico { width: 1.1rem; height: 1.1rem; }
.desk__line-no {
  font-family: var(--font-mono);
  font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  direction: ltr;
  unicode-bidi: isolate;
}
.desk__line-hours { font-family: var(--font-mono); font-size: var(--step--2); opacity: 0.75; }
@media (max-width: 48rem) { .desk { grid-template-columns: minmax(0, 1fr); } }

.footer-brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; margin-bottom: var(--sp-4); }
.footer-brand img { width: 2.75rem; height: 2.75rem; border-radius: 10px; background: #fff; padding: 2px; }
.footer-brand > span { display: flex; flex-direction: column; line-height: 1.25; }
.footer-brand__name { font-weight: 800; font-size: var(--step-1); letter-spacing: -0.02em; color: var(--hi); }
.footer-brand__sub { font-size: var(--step--2); color: var(--dim); }
.site-footer a.footer-brand:hover .footer-brand__name { color: var(--accent-fg); }
.site-footer__blurb { max-width: 26rem; font-size: var(--step--1); }
.footer-conn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: var(--sp-2);
  padding: 0.4rem 0.9rem 0.4rem 0.4rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: inset 0 0 0 1px var(--hairline-hi);
}
.footer-conn img { width: 2.25rem; height: 2.25rem; border-radius: 50%; }
.footer-conn > span { display: flex; flex-direction: column; line-height: 1.2; font-weight: 700; color: var(--hi); font-size: var(--step--1); }
.footer-conn small { font-family: var(--font-mono); font-weight: 500; font-size: var(--step--3); color: var(--gold-fg); }
.site-footer h3 { font-family: var(--font-mono); font-weight: 600; color: var(--t-faint); }
.footer-bottom { font-size: var(--step--2); }
.footer-mark { display: none; }

/* The map is a drawing, not text flow: its anchors and ring stay put in RTL. */
.topo__svg { direction: ltr; unicode-bidi: isolate; }

/* ==========================================================================
   22. Premium edition — home, header, footer
   --------------------------------------------------------------------------
   Neutral ground, one idea per screen, type set large and tight, soft
   28–36px cards. UMI green is an accent, not a surface; gold appears once
   per screen at most. Liquid glass is used where the UMI Connection liquid
   (assets/img/liquid.svg) lies beneath it — the hero and the programme
   panel — and nowhere else. Nothing in the background moves.
   ========================================================================== */

:root {
  --lx-bg: #F5F5F7;
  --lx-bg-2: #FFFFFF;
  --lx-card: #FFFFFF;
  --lx-ink: #1D1D1F;
  --lx-dim: #6E6E73;
  --lx-faint: #86868B;
  --lx-line: rgba(0, 0, 0, 0.08);
  --lx-accent: #0B7A4E;
  --lx-gold: #A47E12;
  --lx-shadow: 0 2px 6px rgba(0, 0, 0, 0.04), 0 18px 44px -24px rgba(0, 0, 0, 0.18);
  --lx-r: 28px;
}
html[data-theme='dark'] {
  --lx-bg: #050807;
  --lx-bg-2: #0B0F0D;
  --lx-card: #121614;
  --lx-ink: #F5F5F7;
  --lx-dim: #A1A1A6;
  --lx-faint: #86868B;
  --lx-line: rgba(255, 255, 255, 0.09);
  --lx-accent: #34D3A0;
  --lx-gold: #E0BC52;
  --lx-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 24px 50px -30px rgba(0, 0, 0, 0.9);
}

/* ---- Small screens ---------------------------------------------------- */

/* ---- Header: neutral glass, every page -------------------------------- */
.site-header { background: rgba(22, 24, 23, 0.55); }
[data-theme='light'] .site-header { background: rgba(255, 255, 255, 0.72); }

.site-header .brand__long { color: var(--lx-faint); }
@media (min-width: 60.0625rem) {
  .site-header .nav__list > .nav__item > .nav__link { color: color-mix(in srgb, var(--hi) 78%, transparent); }
  .site-header .nav__list > .nav__item > .nav__link[aria-current='page']::after { background: currentColor; width: 0.3rem; height: 0.3rem; border-radius: 50%; rotate: 0deg; }
}

.desk { background: var(--lx-card); border: 0; box-shadow: var(--lx-shadow); border-radius: var(--lx-r); }
:root:not([data-theme='dark']) .desk { background: #FFFFFF; }
.site-footer .desk__title { letter-spacing: -0.04em; color: var(--lx-ink); }
.desk__lead { color: var(--lx-dim); }
.desk__line { background: #0B5E3C; }
.site-footer a.desk__line, .site-footer a.desk__line:hover { color: #FFFFFF; }
.desk__line:hover { background: #0E7A4F; }
.desk__line-hours { opacity: 0.7; }
.site-footer h3 { font-family: var(--font-body); font-weight: 600; font-size: var(--step--2); color: var(--lx-ink); }
.site-footer ul a, .site-footer__blurb, .footer-contact { color: var(--lx-dim); font-size: var(--step--1); }
.site-footer a:hover { color: var(--lx-accent); }
.footer-bottom { border-top-color: var(--lx-line); color: var(--lx-faint); }

/* ==========================================================================
   23. Satu Pintu — the home page as UMI Connection
   --------------------------------------------------------------------------
   The page lives inside the logo's world: bright white-mint space, glossy
   green liquid, white glints (assets/img/liquid-light.svg, fixed behind the
   page; liquid.svg after dark). Every surface on it is liquid glass, because
   every surface has that liquid beneath it. The mark is the centre; the four
   "Satu" principles are joined to it; the motto is the headline; one glass
   door leads to every service.
   ========================================================================== */

.is-satu {
  --st-ink: #0B2A1C;
  --st-dim: #42604F;
  --st-faint: #5E7A6B;
  --st-green: #0E8A52;
  --st-green-deep: #08603A;
  --st-gold: #B9770E;
  --st-line: rgba(14, 90, 58, 0.14);
  --st-glass:
    linear-gradient(140deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.32) 55%, rgba(255, 255, 255, 0.5));
  --st-rim:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.95),
    inset 0 0 0 1px rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -22px 34px -26px rgba(34, 181, 115, 0.35);
  --st-drop: 0 1px 2px rgba(8, 60, 38, 0.06), 0 22px 44px -22px rgba(8, 60, 38, 0.32);
  --st-edge: rgba(255, 255, 255, 0.75);
  background: transparent;
  color: var(--st-ink);
}
html[data-theme='dark'] .is-satu {
  --st-ink: #F2FBF6;
  --st-dim: #B8D6C6;
  --st-faint: #8DB3A0;
  --st-green: #5BE3A6;
  --st-green-deep: #8FF0C4;
  --st-gold: #F2C94C;
  --st-line: rgba(255, 255, 255, 0.12);
  --st-glass:
    linear-gradient(140deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 55%, rgba(255, 255, 255, 0.09));
  --st-rim:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.4),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 -22px 34px -26px rgba(91, 227, 166, 0.4);
  --st-drop: 0 24px 48px -24px rgba(0, 0, 0, 0.7);
  --st-edge: rgba(255, 255, 255, 0.16);
}

/* The world behind the glass: fixed, so every pane bends it as it passes. */
.is-satu .netfield--page {
  background: #F2FBF6 url('img/liquid-light.svg') center bottom / cover no-repeat;
}
.is-satu .netfield--page::after { display: none; }
html[data-theme='dark'] .is-satu .netfield--page { background: #020E0A url('img/liquid.svg') center bottom / cover no-repeat; }
html:has(body.is-satu) { background: #F2FBF6; }
html[data-theme='dark']:has(body.is-satu) { background: #020E0A; }
.is-satu .telemetry { display: none; }
.is-satu main > section { background: transparent; }

/* ---- The glass ------------------------------------------------------- */
.st-glass {
  --lg-blur: 18px;
  --lg-sat: 190%;
  --spec: radial-gradient(120% 100% at var(--gx, 25%) var(--gy, 0%), rgba(255, 255, 255, 0.55), transparent 50%);
  background: var(--spec), var(--st-glass);
  border: 1px solid var(--st-edge);
  box-shadow: var(--st-rim), var(--st-drop);
  -webkit-backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
  backdrop-filter: blur(var(--lg-blur)) saturate(var(--lg-sat));
}
html[data-theme='dark'] .st-glass { --spec: radial-gradient(120% 100% at var(--gx, 25%) var(--gy, 0%), rgba(255, 255, 255, 0.14), transparent 50%); }
.st-glass.is-refract { --lg-blur: 5px; }

.st-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--st-green-deep);
  text-decoration: none;
}
.st-link .ico { width: 1rem; height: 1rem; transition: translate var(--speed) var(--ease); }
.st-link:hover { color: var(--st-green); }
.st-link:hover .ico { translate: 3px 0; }
[dir='rtl'] :is(.st-link, .st-status, .st-door__go, .st-people) .ico { transform: scaleX(-1); }

/* ---- Hero ------------------------------------------------------------- */
.st-hero { padding: calc(var(--header-h) + var(--cap-gap) + clamp(1rem, 3vh, 2rem)) 0 clamp(3rem, 6vw, 5rem); }
main > .st-hero:first-child { margin-top: calc(-1 * (var(--header-h) + var(--cap-gap))); }
.st-hero__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }

.st-orb {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 46%;
  max-width: 22rem;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: drop-shadow(0 30px 40px rgba(8, 90, 55, 0.3)) drop-shadow(0 6px 10px rgba(8, 90, 55, 0.15));
}
.st-orb img { display: block; width: 100%; height: auto; }

.st-one__icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; color: #FFFFFF; background: linear-gradient(150deg, #34C98A, #0E8A52); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 4px 10px -4px rgba(14, 138, 82, 0.6); }
.st-one__icon .ico { width: 1.05rem; height: 1.05rem; }

.st-kicker { margin: clamp(0.5rem, 2vh, 1.25rem) 0 0.75rem; font-weight: 700; font-size: var(--step--1); color: var(--st-green-deep); letter-spacing: 0.01em; }
.st-title {
  margin: 0;
  font-size: clamp(2.3rem, 1.2rem + 4.2vw, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--st-ink);
}
.st-title span { display: block; }
.st-title__data { color: var(--st-green); }
.st-lead { max-width: 42rem; margin: 1.25rem 0 0; font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.2rem); line-height: 1.6; color: var(--st-dim); }
.st-lead strong { display: block; color: var(--st-ink); font-weight: 700; }

/* The one door */
.st-door { width: min(100%, 44rem); margin: clamp(1.75rem, 4vh, 2.5rem) 0 0; padding: 0.55rem; border-radius: 26px; text-align: start; }
.st-door__label { display: block; padding: 0.35rem 0.9rem 0.45rem; font-size: var(--step--2); font-weight: 700; color: var(--st-green-deep); }
.st-door__field {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.35rem 0.35rem 0.35rem 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 2px rgba(8, 60, 38, 0.08), 0 0 0 1px rgba(14, 90, 58, 0.08);
}
html[data-theme='dark'] .st-door__field { background: rgba(0, 0, 0, 0.3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.st-door__icon { width: 1.25rem; height: 1.25rem; color: var(--st-faint); flex: none; }
.st-door__input {
  flex: 1;
  min-width: 0;
  padding: 0.8rem 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: var(--step-0);
  color: var(--st-ink);
  outline: none;
}
.st-door__input::placeholder { color: var(--st-faint); }
.st-door__field:focus-within { box-shadow: 0 0 0 3px rgba(34, 181, 115, 0.35); }
.st-door__go {
  flex: none;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 16px;
  color: #FFFFFF;
  background: linear-gradient(150deg, #22B573, #0B7A48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 16px -8px rgba(14, 138, 82, 0.7);
  cursor: pointer;
}
.st-door__go .ico { width: 1.2rem; height: 1.2rem; }
.st-door__go:hover { filter: brightness(1.08); }

/* The systems under the door */
.st-quick { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0.5rem; margin-top: 1rem; }
.st-quick__list { list-style: none; margin: 0; padding: 0; display: contents; }
.st-quick .sys__link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem 0.4rem 0.4rem !important;
  border-radius: 999px !important;
  color: var(--st-ink) !important;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55) !important;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(14, 90, 58, 0.1), 0 6px 16px -10px rgba(8, 60, 38, 0.4) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  backdrop-filter: blur(12px) saturate(180%);
}
html[data-theme='dark'] .st-quick .sys__link { background: rgba(255, 255, 255, 0.08) !important; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.08) !important; }
.st-quick .sys__link:hover { background: rgba(255, 255, 255, 0.85) !important; }
.st-quick .sys__icon { width: 1.9rem; height: 1.9rem; border-radius: 50%; color: var(--st-green-deep); background: rgba(34, 181, 115, 0.14); box-shadow: none; }
.st-quick .sys__icon svg { width: 0.95rem; height: 0.95rem; }
.st-quick .sys__icon::after { width: 0.55rem; height: 0.55rem; top: -1px; inset-inline-end: -1px; box-shadow: 0 0 0 2px #FFFFFF; }
.st-quick .sys__name { font-size: var(--step--1); font-weight: 700; color: inherit; }
.st-quick .sys__host, .st-quick .sys__spark, .st-quick .sys__state, .st-quick .sys__ms { display: none !important; }
.st-status { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.3rem 0.7rem 0.3rem 0.3rem; border-radius: 999px; color: var(--st-ink); text-decoration: none; }
.st-status .console__overall { font-size: var(--step--2); }
.st-status .ico { width: 0.9rem; height: 0.9rem; color: var(--st-faint); }

/* ---- The motto, made concrete ---------------------------------------- */
.st-motto { padding: clamp(2rem, 5vw, 4rem) 0 0; }
.st-motto__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; align-items: stretch; }
.st-card { display: flex; flex-direction: column; gap: 0.85rem; padding: clamp(1.5rem, 2.5vw, 2.1rem); border-radius: 30px; }
.st-card__no { margin: 0; font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600; color: var(--st-green); }
.st-card__title { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.3rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; color: var(--st-ink); }
.st-card__text { margin: 0; color: var(--st-dim); line-height: 1.55; }
.st-card .st-link { margin-top: auto; padding-top: 0.5rem; }

.st-people { list-style: none; margin: 0.25rem 0 0; padding: 0; }
.st-people li + li { border-top: 1px solid var(--st-line); }
.st-people a { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0; color: var(--st-ink); text-decoration: none; font-weight: 700; }
.st-people small { margin-inline-start: auto; font-weight: 500; font-size: var(--step--2); color: var(--st-faint); }
.st-people .ico { width: 0.95rem; height: 0.95rem; color: var(--st-green); transition: translate var(--speed) var(--ease); }
.st-people a:hover { color: var(--st-green); }
.st-people a:hover .ico { translate: 3px 0; }
.st-facts { margin: 0.25rem 0 0; }
.st-facts div { padding: 0.65rem 0; border-top: 1px solid var(--st-line); }
.st-facts dt { font-size: var(--step--2); color: var(--st-faint); }
.st-facts dd { margin: 0.1rem 0 0; font-weight: 700; color: var(--st-ink); }

.st-pillars { margin-top: clamp(1.75rem, 3vw, 2.5rem); text-align: center; }
.st-pillars__label { margin: 0 0 0.85rem; font-weight: 700; font-size: var(--step--1); color: var(--st-green-deep); }
.st-pillars__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.55rem; }
.st-pillar { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.45rem 1rem 0.45rem 0.45rem; border-radius: 999px; font-weight: 600; font-size: var(--step--1); color: var(--st-ink); }
.st-pillar__icon { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%; color: var(--st-green-deep); background: rgba(34, 181, 115, 0.14); }
.st-pillar__icon .ico { width: 0.95rem; height: 0.95rem; }
.st-pillar--ai .st-pillar__icon { color: var(--st-gold); background: rgba(246, 166, 35, 0.16); }

/* ---- News, help ------------------------------------------------------- */
.st-section { padding: clamp(4rem, 8vw, 6.5rem) 0 0; }
.is-satu main > section:last-child { padding-bottom: clamp(4rem, 8vw, 6rem); }
.st-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.st-head h2 { margin: 0; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; color: var(--st-ink); }

.st-news { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; gap: 1rem; }
.st-story { display: flex; flex-direction: column; border-radius: 26px; overflow: hidden; color: var(--st-ink); text-decoration: none; transition: transform 0.35s var(--ease); }
.st-story:hover { color: var(--st-ink); transform: translateY(-3px); }
.st-story--lead { grid-row: span 2; }
.st-story__media { display: block; margin: 0.5rem 0.5rem 0; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; }
.st-story--lead .st-story__media { aspect-ratio: 4 / 3; }
.st-story__media picture, .st-story__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.st-story__body { display: flex; flex-direction: column; gap: 0.4rem; padding: 1rem 1.25rem 1.3rem; }
.st-story__meta { display: flex; flex-wrap: wrap; gap: 0.2rem 0.7rem; font-size: var(--step--2); color: var(--st-faint); }
.st-story__meta span { color: var(--st-green); font-weight: 700; }
.st-story__title { font-weight: 700; line-height: 1.3; letter-spacing: -0.01em; }
.st-story--lead .st-story__title { font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); letter-spacing: -0.03em; line-height: 1.15; }

.st-help { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 1rem; align-items: start; }
.st-panel { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 30px; }
.st-panel__title { margin: 0 0 1rem; font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.1rem); font-weight: 800; letter-spacing: -0.04em; color: var(--st-ink); }
.st-faq__item { border-top: 1px solid var(--st-line); }
.st-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; font-weight: 700; color: var(--st-ink); cursor: pointer; list-style: none; }
.st-faq__item summary::-webkit-details-marker { display: none; }
.st-faq__item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; font-weight: 400; font-size: 1.2rem; color: var(--st-green-deep); background: rgba(34, 181, 115, 0.12); transition: rotate 0.3s var(--ease); }
.st-faq__item[open] summary::after { rotate: 45deg; }
.st-faq__body { padding: 0 0 1.1rem; color: var(--st-dim); line-height: 1.6; }
.st-guides { list-style: none; margin: 0 0 1rem; padding: 0; }
.st-guides li + li { border-top: 1px solid var(--st-line); }
.st-guides a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; font-weight: 700; color: var(--st-ink); text-decoration: none; }
.st-guides a:hover { color: var(--st-green); }
.st-guides .ico { width: 1.05rem; height: 1.05rem; flex: none; color: var(--st-green); }

/* ---- Header & footer on this page ------------------------------------ */
.is-satu .site-header {
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.4));
  box-shadow: inset 0 1.5px 0 #FFFFFF, inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 16px 36px -20px rgba(8, 60, 38, 0.35);
}
html[data-theme='dark'] .is-satu .site-header { background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 16px 36px -20px rgba(0, 0, 0, 0.7); }
.is-satu .site-footer { background: transparent; }
.is-satu .desk {
  background: var(--st-glass);
  border: 1px solid var(--st-edge);
  box-shadow: var(--st-rim), var(--st-drop);
  -webkit-backdrop-filter: blur(18px) saturate(190%);
  backdrop-filter: blur(18px) saturate(190%);
}
.is-satu .desk__line { background: linear-gradient(150deg, #22B573, #0B6E42); }

/* ---- Small screens ---------------------------------------------------- */
@media (max-width: 60rem) {
  .st-motto__grid { grid-template-columns: minmax(0, 1fr); }
  .st-news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .st-story--lead { grid-column: 1 / -1; grid-row: auto; }
  .st-help { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 48rem) {
  
  
  .st-orb { position: static; translate: none; width: min(64vw, 15rem); }
  
  
  .st-news { grid-template-columns: minmax(0, 1fr); }
}

.st-orb { width: 40%; max-width: 17rem; }
.st-title { font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4rem); letter-spacing: -0.038em; }
.st-lead { margin-top: 1rem; }
.st-door { margin-top: clamp(1.25rem, 3vh, 2rem); }
.st-story--lead .st-story__media { flex: 1; aspect-ratio: auto; min-height: 16rem; }
@media (max-width: 48rem) { .st-orb { width: min(60vw, 14rem); max-width: none; } }
html[data-theme='dark'] .is-satu .netfield--page {
  background:
    linear-gradient(180deg, rgba(2, 14, 10, 0.78), rgba(2, 14, 10, 0.6) 55%, rgba(2, 14, 10, 0.25)),
    #020E0A url('img/liquid.svg') center bottom / cover no-repeat;
}

/* ---- Empat Satu: the four principles, drawn -------------------------- */
.st-four { padding: clamp(2.5rem, 6vw, 4.5rem) 0 0; }
.st-head--center { flex-direction: column; align-items: center; text-align: center; }
.st-head p { margin: 0.5rem 0 0; max-width: 36rem; color: var(--st-dim); font-size: var(--step-0); }
.st-four__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.st-principle { display: flex; flex-direction: column; padding: 0.6rem; border-radius: 30px; }
.st-principle__viz {
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, #F4FCF8, #DDF4E8);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.9), inset 0 -10px 24px -16px rgba(14, 138, 82, 0.35);
}
html[data-theme='dark'] .st-principle__viz {
  background: radial-gradient(120% 90% at 30% 0%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 60%), linear-gradient(160deg, #0C2A1E, #061A12);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.st-principle__viz .sv { display: block; width: 100%; height: auto; aspect-ratio: 320 / 200; }
.st-principle__body { position: relative; padding: 1.6rem 1rem 1.1rem; }
.st-principle__icon {
  position: absolute;
  top: -1.4rem;
  inset-inline-start: 1rem;
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  color: #FFFFFF;
  background: linear-gradient(150deg, #34C98A, #0B7A48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 0 4px rgba(255, 255, 255, 0.85), 0 10px 18px -8px rgba(14, 138, 82, 0.7);
}
html[data-theme='dark'] .st-principle__icon { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 4px rgba(6, 26, 18, 0.9); }
.st-principle__icon .ico { width: 1.3rem; height: 1.3rem; }
.st-principle__name { margin: 0.35rem 0 0.4rem; font-size: clamp(1.25rem, 1.05rem + 0.6vw, 1.55rem); font-weight: 800; letter-spacing: -0.03em; color: var(--st-ink); }
.st-principle__text { margin: 0; font-size: var(--step--1); line-height: 1.55; color: var(--st-dim); }
@media (max-width: 64rem) { .st-four__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .st-four__grid { grid-template-columns: minmax(0, 1fr); } }
html[data-theme='dark'] .sv-lane { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.14); }

/* ---- Charts in the motto cards --------------------------------------- */
.st-chart__title { margin: 0.5rem 0 0.6rem; font-size: var(--step--2); font-weight: 700; color: var(--st-ink); }
.st-chart__note { margin: 0.5rem 0 0; font-size: var(--step--3); color: var(--st-faint); }
.st-health { margin: 0; }

/* KPI row: a meter for availability, a figure for coverage */
.st-kpis { display: flex; align-items: center; gap: 1.25rem; margin-top: 0.25rem; }
.st-meter { position: relative; display: grid; grid-template-columns: 5.25rem minmax(0, 1fr); grid-template-areas: "ring value" "ring label"; align-items: center; column-gap: 0.75rem; }
.st-meter svg { grid-area: ring; width: 5.25rem; height: 5.25rem; }
.st-meter__track { fill: none; stroke: rgba(14, 138, 82, 0.14); stroke-width: 9; }
.st-meter__fill { fill: none; stroke: var(--ok); stroke-width: 9; stroke-linecap: round; }
.st-meter__value { grid-area: value; align-self: end; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--st-ink); font-variant-numeric: tabular-nums; }
.st-meter__label, .st-kpi__label { grid-area: label; align-self: start; font-size: var(--step--3); line-height: 1.35; color: var(--st-faint); }
.st-kpi { display: flex; flex-direction: column; gap: 0.2rem; padding-inline-start: 1.25rem; border-inline-start: 1px solid var(--st-line); }
.st-kpi__value { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; color: var(--st-ink); font-variant-numeric: tabular-nums; }

/* Segmented bars: one whole per cluster, parts by state */
.st-health__rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.st-health__row { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 3rem; align-items: center; gap: 0.6rem; }
.st-health__row[hidden] { display: none; }
.st-health__name { font-size: var(--step--2); font-weight: 600; color: var(--st-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.st-health__bar { display: flex; gap: 2px; height: 0.7rem; border-radius: 4px; overflow: hidden; background: rgba(14, 90, 58, 0.08); }
.st-seg { display: block; height: 100%; transition: width 0.6s var(--ease); }
.st-seg[hidden] { display: none; }
.st-seg--ok { background: var(--ok); }
.st-seg--slow { background: var(--slow); }
.st-seg--cert { background: var(--cert); }
.st-seg--down { background: var(--down); }
.st-health__val { font-family: var(--font-mono); font-size: var(--step--3); color: var(--st-faint); text-align: end; font-variant-numeric: tabular-nums; }
.st-legend { list-style: none; margin: 0.7rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 0.9rem; font-size: var(--step--3); color: var(--st-dim); }
.st-legend li { display: inline-flex; align-items: center; gap: 0.35rem; }
.st-legend__key { width: 0.7rem; height: 0.7rem; border-radius: 3px; }

/* Services per group: bars inside the list */
.st-people a { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto auto; gap: 0.6rem; align-items: center; }
.st-people__name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: var(--step--1); }
.st-people__bar { display: block; height: 0.6rem; border-radius: 4px; background: rgba(14, 90, 58, 0.08); overflow: hidden; }
.st-people__bar i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: linear-gradient(90deg, #22B573, #0E8A52); }
.st-people__val { font-size: var(--step--3); font-weight: 500; color: var(--st-faint); white-space: nowrap; }
.st-people small { display: none; }

/* Roadmap */
.st-road { margin: 0; }
.st-road__list { list-style: none; margin: 0; padding: 0; position: relative; }
.st-road__step { position: relative; display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); column-gap: 0.75rem; padding-bottom: 0.9rem; }
.st-road__step:last-child { padding-bottom: 0; }
.st-road__step::before { content: ""; position: absolute; left: calc(0.75rem - 1px); top: 1.5rem; bottom: 0; width: 2px; background: var(--st-line); }
[dir='rtl'] .st-road__step::before { left: auto; right: calc(0.75rem - 1px); }
.st-road__step:last-child::before { display: none; }
.st-road__step.is-done::before { background: var(--ok); }
.st-road__dot { grid-row: span 2; display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: rgba(255, 255, 255, 0.9); box-shadow: inset 0 0 0 2px var(--st-line); color: #FFFFFF; }
.st-road__step.is-done .st-road__dot { background: var(--ok); box-shadow: none; }
.st-road__dot .ico { width: 0.85rem; height: 0.85rem; stroke-width: 2.6; }
.st-road__step.is-now .st-road__dot { background: #FFFFFF; box-shadow: inset 0 0 0 5px var(--ok), 0 0 0 4px rgba(34, 181, 115, 0.18); }
html[data-theme='dark'] .st-road__dot { background: rgba(255, 255, 255, 0.08); }
.st-road__name { font-weight: 700; font-size: var(--step--1); color: var(--st-ink); line-height: 1.3; }
.st-road__now { margin-inline-start: 0.35rem; padding: 0.05rem 0.45rem; border-radius: 999px; font-style: normal; font-size: var(--step--3); font-weight: 700; color: #FFFFFF; background: var(--ok); vertical-align: 1px; }
.st-road__when { font-size: var(--step--3); color: var(--st-faint); }
@media (max-width: 30rem) {
  .st-people a { grid-template-columns: 7.5rem minmax(0, 1fr) auto; }
  .st-people a .ico { display: none; }
  .st-health__row { grid-template-columns: 6.5rem minmax(0, 1fr) 2.6rem; }
}

/* ==========================================================================
   24. The stage — UMI Connection as a scene
   --------------------------------------------------------------------------
   Streams of light run in from the screen's edges and meet in the mark; a
   tilted glass ring circles it (far half behind, near half in front); the
   four "Satu" sit on the ring, clockwise. Still by default: the streams
   draw once on arrival and the stage leans a little toward the pointer.
   ========================================================================== */
.st-hero .sc {
  --px: 0;
  --py: 0;
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  height: clamp(21rem, 40vw, 36rem);
  overflow: hidden;
}
.sc__frame { position: absolute; left: 50%; top: 0; height: 100%; aspect-ratio: 1200 / 560; translate: -50% 0; }
.sc__stage { position: absolute; inset: 0; }
.sc__back, .sc__front { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sc__front { z-index: 2; pointer-events: none; }
.sc__orb {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  width: 26%;
  translate: -50% -50%;
  border-radius: 50%;
  filter: drop-shadow(0 34px 44px rgba(8, 90, 55, 0.32)) drop-shadow(0 8px 14px rgba(8, 90, 55, 0.18));
}
.sc__orb img { display: block; width: 100%; height: auto; }

.sc__stream { fill: none; stroke-width: 1.6; stroke-linecap: round; }
.sc__glow { fill: none; stroke-width: 7; stroke-linecap: round; opacity: 0.45; }
.sc__bit { fill: #22B573; stroke: #FFFFFF; stroke-width: 1.5; }
.sc__bit--gold { fill: #F6A623; }

html[data-theme='dark'] .sc__halo { opacity: 0.12; }

html[data-theme='dark'] .sc__bit { stroke: #06231A; }

.sc__ones { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 3; }
.sc__one {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  translate: -50% -50%;
  padding: 0.5rem 1.15rem 0.5rem 0.5rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: var(--step--1);
  color: var(--st-ink);
  white-space: nowrap;
}

/* Depth: the layers lean toward the pointer by different amounts. */
.sc__back  { transform: translate(calc(var(--px) * -10px), calc(var(--py) * -6px)); transition: transform 0.6s var(--ease); }
.sc__orb   { transform: translate(calc(var(--px) * 14px), calc(var(--py) * 10px)); transition: transform 0.6s var(--ease); }
.sc__front, .sc__ones { transform: translate(calc(var(--px) * 22px), calc(var(--py) * 14px)); transition: transform 0.6s var(--ease); }

/* Arrival, once. */
@keyframes sc-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes sc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes sc-pop { from { opacity: 0; transform: scale(0.82); } to { opacity: 1; transform: none; } }
@keyframes sc-rise { from { opacity: 0; transform: translateY(18px) scale(0.94); } to { opacity: 1; transform: none; } }
.sc__stream, .sc__glow { stroke-dasharray: 1; stroke-dashoffset: 0; animation: sc-draw 1.6s cubic-bezier(0.3, 0, 0.2, 1) both; animation-delay: calc(var(--i) * 70ms); }
.sc__bit { animation: sc-fade 0.6s ease-out both; animation-delay: calc(1.1s + var(--i) * 50ms); }
.sc__orb img { animation: sc-rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; animation-delay: 0.15s; }

.sc__one { animation: sc-pop 0.7s cubic-bezier(0.2, 0.8, 0.2, 1.15) both; animation-delay: calc(1s + var(--d) * 120ms); }
@media (prefers-reduced-motion: reduce) {
  .sc__stream, .sc__glow, .sc__bit, .sc__orb img, .sc__one { animation: none; }
  .sc__back, .sc__orb, .sc__front, .sc__ones { transform: none; transition: none; }
}
[data-motion='off'] :is(.sc__stream, .sc__glow, .sc__bit, .sc__orb img, .sc__one) { animation: none; }
[data-motion='off'] :is(.sc__back, .sc__orb, .sc__front, .sc__ones) { transform: none; }

/* Phones: the stage first, then the four "Satu" as a grid beneath it. */
@media (max-width: 48rem) {
  .st-hero .sc { height: auto; overflow: visible; }
  .sc__frame { position: relative; left: auto; translate: none; height: auto; width: 100%; aspect-ratio: auto; }
  .sc__stage { position: relative; inset: auto; width: 170%; margin-left: -35%; aspect-ratio: 1200 / 560; }
  
  .sc__ones { position: relative; inset: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; padding: 0 1.25rem; transform: none; }
  .sc__one { position: static; translate: none; left: auto !important; top: auto !important; white-space: normal; font-size: var(--step--2); padding: 0.45rem 0.8rem 0.45rem 0.45rem; }
  .sc__one--3 { grid-column: 2; grid-row: 2; }
  .sc__one--4 { grid-column: 1; grid-row: 2; }
}
.st-hero .sc { height: clamp(19rem, 33vw, 31rem); }
.sc__orb { width: 29%; }
.st-hero { padding-top: calc(var(--header-h) + var(--cap-gap)); }
.st-kicker { margin-top: 0; }
@media (max-width: 48rem) {
  .st-hero .sc { height: auto; margin-bottom: 1.5rem; }
  .sc__ones { margin-top: 0.25rem; }
}

/* ==========================================================================
   25. Smoothness
   --------------------------------------------------------------------------
   The stage's layers get their own compositor layers and are moved by
   app.js with translate3d (eased in JS, so no CSS transition fights it).
   The fixed field is its own layer, so scrolling only composites it. Glass
   panes keep the GPU's frosted blur; the SVG refraction (costly on every
   scroll frame) is kept for the header alone.
   ========================================================================== */
.sc__back, .sc__orb, .sc__front, .sc__ones { transform: none; transition: none; will-change: transform; }
.is-satu .netfield--page { transform: translateZ(0); will-change: transform; }
.st-glass { --lg-blur: 14px; }
.sc__glow { opacity: 0.28; stroke-width: 6; }

/* ==========================================================================
   26. Every page in the UMI Connection world
   ========================================================================== */

/* ---- Page banner: glass, with a miniature of the stage --------------- */
.is-satu .page-head { padding: calc(var(--header-h) + var(--cap-gap) + 1.25rem) 0 0; overflow: visible; }
.is-satu main > .page-head:first-child { padding-top: calc(var(--header-h) + var(--cap-gap) + 1.25rem); }
.is-satu .page-head .girih, .is-satu .page-head .netfield { display: none; }
.is-satu .page-head__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(14rem, 24rem);
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.5rem, 3.5vw, 3rem);
  border-radius: 34px;
  overflow: hidden;
  background: var(--st-glass);
  border: 1px solid var(--st-edge);
  box-shadow: var(--st-rim), var(--st-drop);
  -webkit-backdrop-filter: blur(14px) saturate(190%);
  backdrop-filter: blur(14px) saturate(190%);
}
.is-satu .page-head:not(.about-head) h1 { margin: 0.6rem 0 0.5rem; font-size: clamp(2.2rem, 1.4rem + 3vw, 4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; color: var(--st-ink); }
.is-satu .page-head:not(.about-head) p { margin: 0; max-width: 40rem; font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem); color: var(--st-dim); }
.is-satu .page-head .breadcrumb { margin: 0; }
.page-head__mark { position: relative; aspect-ratio: 360 / 220; }
.ph-mark { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ph-mark--front { z-index: 2; }
.ph-mark__stream { fill: none; stroke-width: 1.4; stroke-linecap: round; }
.ph-mark__bit { fill: #22B573; stroke: #FFFFFF; stroke-width: 1.2; }
.ph-mark__ring { fill: none; stroke: rgba(255, 255, 255, 0.75); stroke-width: 7; stroke-linecap: round; }
.ph-mark--front .ph-mark__ring { filter: drop-shadow(0 3px 5px rgba(8, 90, 55, 0.18)); }
.ph-mark__seat { fill: #FFFFFF; stroke: #22B573; stroke-width: 2.2; }
.ph-mark__orb {
  position: absolute;
  z-index: 1;
  left: calc(230 / 360 * 100%);
  top: 50%;
  width: 30%;
  height: auto;
  translate: -50% -50%;
  border-radius: 50%;
  filter: drop-shadow(0 14px 18px rgba(8, 90, 55, 0.3));
}
html[data-theme='dark'] .ph-mark__glow { opacity: 0.12; }
html[data-theme='dark'] .ph-mark__ring { stroke: rgba(255, 255, 255, 0.16); }
html[data-theme='dark'] .ph-mark__seat { fill: #06231A; stroke: #5BE3A6; }
@media (max-width: 48rem) {
  .is-satu .page-head__inner { grid-template-columns: minmax(0, 1fr); }
  .page-head__mark { order: -1; width: min(100%, 18rem); justify-self: end; margin: -0.5rem -0.5rem -1rem 0; }
}

/* ---- Motto band, closing every inner page ---------------------------- */
.motto-band {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-bottom: 1.25rem;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2.25rem);
  border-radius: 30px;
}
.home .motto-band { display: none; }
.motto-band__mark img { display: block; width: clamp(4.5rem, 3.5rem + 3vw, 6.5rem); height: auto; border-radius: 50%; filter: drop-shadow(0 12px 18px rgba(8, 90, 55, 0.3)); }
.motto-band__text { margin: 0; font-size: clamp(1.3rem, 1rem + 1.2vw, 2rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.12; color: var(--st-ink); }
.motto-band__text span { display: block; }
.motto-band__lead { color: var(--st-green); }
.motto-band__ones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 0.5rem 1rem; }
.motto-band__ones li { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: var(--step--1); color: var(--st-ink); white-space: nowrap; }
.motto-band__ones .st-one__icon { width: 1.9rem; height: 1.9rem; }
.motto-band__ones .st-one__icon .ico { width: 0.95rem; height: 0.95rem; }
/* Clockwise in two columns: Data, Arah / Peradaban, Kecepatan. */
.motto-band__ones li:nth-child(3) { grid-column: 2; grid-row: 2; }
.motto-band__ones li:nth-child(4) { grid-column: 1; grid-row: 2; }
@media (max-width: 56rem) { .motto-band { grid-template-columns: auto minmax(0, 1fr); } .motto-band__ones { grid-column: 1 / -1; } }

.sc__orb { width: 25.5%; }
.sc__stream { stroke-width: 1.3; opacity: 0.8; }

.sc__ch-tube { fill: none; stroke: rgba(255, 255, 255, 0.8); stroke-width: 12; stroke-linecap: round; filter: drop-shadow(0 4px 8px rgba(8, 90, 55, 0.14)); }
.sc__ch-line { fill: none; stroke: #22B573; stroke-width: 2.2; stroke-linecap: round; stroke-opacity: 0.75; transition: stroke-width 0.35s var(--ease), stroke-opacity 0.35s var(--ease); }
.sc__ch-bit { fill: #22B573; stroke: #FFFFFF; stroke-width: 1.6; transition: r 0.35s var(--ease); }
.sc__ch-bit--gold { fill: #F6A623; }
html[data-theme='dark'] .sc__ch-tube { stroke: rgba(255, 255, 255, 0.1); filter: none; }
html[data-theme='dark'] .sc__ch-line { stroke: #5BE3A6; }
html[data-theme='dark'] .sc__ch-bit { stroke: #06231A; }

/* A card lights its own channel. */
.sc:has(.sc__slot--1 .sc__card:is(:hover, :focus-visible)) .sc__ch--1 .sc__ch-line,
.sc:has(.sc__slot--2 .sc__card:is(:hover, :focus-visible)) .sc__ch--2 .sc__ch-line,
.sc:has(.sc__slot--3 .sc__card:is(:hover, :focus-visible)) .sc__ch--3 .sc__ch-line,
.sc:has(.sc__slot--4 .sc__card:is(:hover, :focus-visible)) .sc__ch--4 .sc__ch-line { stroke-width: 5; stroke-opacity: 1; }

.sc__ones { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; z-index: 3; }
.sc__slot { position: absolute; width: 25%; translate: -50% -50%; }
.sc__card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem 0.75rem 0.75rem;
  border-radius: 22px;
  color: var(--st-ink);
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.sc__card:hover, .sc__card:focus-visible { color: var(--st-ink); transform: translateY(-2px); box-shadow: var(--st-rim), 0 26px 50px -22px rgba(8, 90, 55, 0.45); }
.sc__card .st-one__icon { flex: none; width: 2.75rem; height: 2.75rem; }
.sc__card .st-one__icon .ico { width: 1.3rem; height: 1.3rem; }
.sc__card-text { display: flex; flex-direction: column; min-width: 0; }
.sc__card-name { font-weight: 800; font-size: var(--step-0); letter-spacing: -0.02em; line-height: 1.2; }
.sc__card-line { font-size: var(--step--2); color: var(--st-dim); line-height: 1.35; }
/* Mirror: the right-hand cards read from the mark outward too. */
.sc__slot--2 .sc__card, .sc__slot--3 .sc__card { flex-direction: row-reverse; text-align: end; padding: 0.75rem 0.75rem 0.75rem 1rem; }

.sc__ch-line { stroke-dasharray: 1; stroke-dashoffset: 0; animation: sc-draw 1.2s cubic-bezier(0.3, 0, 0.2, 1) both; animation-delay: calc(0.7s + var(--d) * 150ms); }
.sc__slot { animation: sc-fade 0.6s ease-out both; animation-delay: calc(0.4s + var(--d) * 120ms); }
.sc__card { animation: none; }
@media (prefers-reduced-motion: reduce) { .sc__ch-line, .sc__slot { animation: none; } }
[data-motion='off'] :is(.sc__ch-line, .sc__slot) { animation: none; }

@media (max-width: 60rem) {
  .sc__slot { width: 28%; }
  .sc__card-line { display: none; }
}
@media (max-width: 48rem) {
  .sc__ones { position: relative; inset: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; padding: 0 1.25rem; }
  .sc__slot { position: static; width: auto; translate: none; left: auto !important; top: auto !important; }
  .sc__slot--3 { grid-column: 2; grid-row: 2; }
  .sc__slot--4 { grid-column: 1; grid-row: 2; }
  .sc__slot--2 .sc__card, .sc__slot--3 .sc__card { flex-direction: row; text-align: start; }
  .sc__card { padding: 0.55rem 0.7rem 0.55rem 0.55rem; }
  .sc__card .st-one__icon { width: 2.2rem; height: 2.2rem; }
  .sc__card-name { font-size: var(--step--1); }
  .sc__ch { display: none; }
}

/* ---- Page banner: long titles and trails ------------------------------ */
.is-satu .page-head .breadcrumb ol { flex-wrap: nowrap; max-width: 100%; }
.is-satu .page-head .breadcrumb { max-width: 100%; overflow: hidden; }
.is-satu .page-head .breadcrumb li { flex: none; white-space: nowrap; }
.is-satu .page-head .breadcrumb li:last-child { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.is-satu .page-head .breadcrumb li:last-child span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; }
.is-satu .page-head .breadcrumb { display: inline-flex; }
.page-head--long .page-head__inner { grid-template-columns: minmax(0, 1fr) minmax(10rem, 17rem); }
.is-satu .page-head--long h1 { font-size: clamp(1.7rem, 1.15rem + 1.9vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.12; text-wrap: balance; max-width: 30ch; }
.is-satu .page-head .breadcrumb li:last-child { display: flex; align-items: baseline; }
.is-satu .page-head .breadcrumb li:last-child span { min-width: 0; }
.sc__slot--1 .sc__card, .sc__slot--4 .sc__card { text-align: start; }
.sc__card-text { align-items: stretch; }
@media (max-width: 48rem) {
  .page-head--long .page-head__mark { display: none; }
  .is-satu .page-head--long h1 { font-size: clamp(1.55rem, 1.2rem + 1.8vw, 2rem); }
}
@media (max-width: 48rem) {
  .page-head--long .page-head__inner { grid-template-columns: minmax(0, 1fr); }
  .st-hero .sc { width: 100%; margin-inline: 0; overflow: hidden; }
  .st-hero__inner { overflow-x: clip; }
}

/* ==========================================================================
   28. The surprise: the orb is a door to the whole network
   ========================================================================== */
.sc__orb {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
}
.sc__orb picture, .sc__orb img { display: block; width: 100%; height: auto; }
.sc__orb:focus-visible { outline: 3px solid #22B573; outline-offset: 6px; }
.sc__orb::after {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(34, 181, 115, 0);
  transition: box-shadow 0.5s var(--ease);
  pointer-events: none;
}
.sc__orb:hover::after, .sc__orb:focus-visible::after { box-shadow: 0 0 0 10px rgba(34, 181, 115, 0.12), 0 0 60px 10px rgba(34, 181, 115, 0.25); }
.sc__orb img { transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.2); }
.sc__orb:hover img, .sc__orb:focus-visible img { transform: scale(1.04); }

/* A single sweep of light across the glass when the pointer arrives. */
.sc__orb-sheen {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
}
.sc__orb-sheen::before {
  content: "";
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  transform: skewX(-18deg) translateX(0);
  opacity: 0;
}
.sc__orb:hover .sc__orb-sheen::before,
.sc__orb:focus-visible .sc__orb-sheen::before { animation: orb-sheen 0.9s cubic-bezier(0.3, 0, 0.2, 1) 1; }
@keyframes orb-sheen { 0% { opacity: 0; transform: skewX(-18deg) translateX(0); } 20% { opacity: 1; } 100% { opacity: 0; transform: skewX(-18deg) translateX(420%); } }

.sc__hint {
  position: absolute;
  left: 50%;
  top: calc(50% + 15.5%);
  z-index: 2;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: var(--step--2);
  font-weight: 700;
  color: var(--st-green-deep);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(14, 90, 58, 0.1), 0 8px 18px -10px rgba(8, 60, 38, 0.4);
  white-space: nowrap;
  pointer-events: none;
}
.sc__hint .ico { width: 0.9rem; height: 0.9rem; color: #F6A623; }
html[data-theme='dark'] .sc__hint { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2); }
@media (max-width: 48rem) { .sc__hint { top: auto; bottom: 2%; } }

/* The window */
.net-dialog {
  --topo-ink: rgba(14, 90, 58, 0.22);
  --topo-faint: rgba(14, 90, 58, 0.1);
  --field: #F4FCF8;
  --hi: #0B2A1C;
  width: min(100vw - 2rem, 64rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 34px;
  background: transparent;
  color: var(--st-ink);
  overflow: visible;
}
html[data-theme='dark'] .net-dialog { --topo-ink: rgba(255, 255, 255, 0.18); --topo-faint: rgba(255, 255, 255, 0.08); --field: #071A12; --hi: #F2FBF6; }
.net-dialog::backdrop { background: rgba(6, 40, 26, 0.35); -webkit-backdrop-filter: blur(8px) saturate(140%); backdrop-filter: blur(8px) saturate(140%); }
.net-dialog__panel {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  border-radius: 34px;
  background:
    radial-gradient(60% 50% at 50% 55%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0) 70%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(232, 248, 240, 0.88));
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1.5px 0 #FFFFFF, 0 40px 90px -30px rgba(6, 40, 26, 0.6);
}
html[data-theme='dark'] .net-dialog__panel {
  background: radial-gradient(60% 50% at 50% 55%, rgba(34, 181, 115, 0.16), rgba(0, 0, 0, 0) 70%), linear-gradient(150deg, rgba(10, 34, 24, 0.96), rgba(4, 18, 12, 0.96));
  border-color: rgba(255, 255, 255, 0.12);
}
.net-dialog[open] { animation: net-in 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.net-dialog[open]::backdrop { animation: sc-fade 0.4s ease-out both; }
@keyframes net-in {
  from { opacity: 0; transform: scale(0.35); clip-path: circle(8% at 50% 50%); }
  to { opacity: 1; transform: none; clip-path: circle(150% at 50% 50%); }
}
.net-dialog__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.net-dialog__head h2 { margin: 0; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem); font-weight: 800; letter-spacing: -0.04em; color: var(--st-ink); }
.net-dialog__head p { margin: 0.35rem 0 0; max-width: 40rem; font-size: var(--step--1); color: var(--st-dim); }
.net-dialog__close {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  color: var(--st-ink);
  background: rgba(14, 90, 58, 0.08);
  cursor: pointer;
}
.net-dialog__close:hover { background: rgba(14, 90, 58, 0.16); }
.net-dialog__close .ico { width: 1.1rem; height: 1.1rem; }
.net-dialog__map { position: relative; width: min(100%, 36rem); aspect-ratio: 1; margin: 0.5rem auto; }
.net-dialog__map .topo__svg { width: 100%; height: 100%; }
.net-dialog__mark { position: absolute; left: 50%; top: 50%; width: 18.5%; height: auto; translate: -50% -50%; border-radius: 50%; filter: drop-shadow(0 10px 18px rgba(8, 90, 55, 0.35)); }
.net-dialog .topo__label-name { fill: var(--st-ink); }
.net-dialog .topo__label-count { fill: var(--st-green); }
.net-dialog__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem 1.5rem; }
.net-dialog__foot .st-legend { margin: 0; }
.net-dialog__foot .st-legend b { margin-inline-start: 0.2rem; color: var(--st-ink); font-variant-numeric: tabular-nums; }

/* The lighting: nodes and trunks wait, then come on in sequence. */
.net-dialog:not(.is-lit) .topo__node { fill: rgba(14, 90, 58, 0.18); stroke-width: 2; }
.net-dialog:not(.is-lit) .topo__trunk, .net-dialog:not(.is-lit) .topo__hub { opacity: 0.25; }
.net-dialog .topo__trunk, .net-dialog .topo__hub { transition: opacity 0.6s var(--ease); }
.net-dialog .topo__node { transition: fill 0.45s var(--ease) calc(var(--i, 0) * 45ms), stroke-width 0.45s var(--ease) calc(var(--i, 0) * 45ms); }
.net-dialog .topo__node[data-state='wait'] { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .net-dialog[open], .net-dialog[open]::backdrop { animation: none; }
  .net-dialog .topo__node { transition: none; }
  .sc__orb:hover .sc__orb-sheen::before { animation: none; }
}
[data-motion='off'] .net-dialog[open], [data-motion='off'] .net-dialog[open]::backdrop { animation: none; }
[data-motion='off'] .net-dialog .topo__node { transition: none; }
.sc__orb { overflow: visible; }
.sc__orb img { animation: none; }
.sc__orb picture { animation: sc-rise 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.15s both; }
@media (prefers-reduced-motion: reduce) { .sc__orb picture { animation: none; } }
[data-motion='off'] .sc__orb picture { animation: none; }
.sc__hint { top: 79%; }
@media (max-width: 48rem) { .sc__hint { top: auto; bottom: 0; } }
@media (max-width: 48rem) { .sc__ones { margin-top: 0.9rem; } }

/* The about page keeps its own head (statement + ID card) inside the same
   glass panel as every other banner. */
.is-satu .about-head__inner {
  padding: clamp(1.5rem, 3.5vw, 2.75rem) clamp(1.5rem, 3.5vw, 3rem);
  border-radius: 34px;
  background: var(--st-glass);
  border: 1px solid var(--st-edge);
  box-shadow: var(--st-rim), var(--st-drop);
  -webkit-backdrop-filter: blur(14px) saturate(190%);
  backdrop-filter: blur(14px) saturate(190%);
}

/* ==========================================================================
   29. Inner pages, in the same hand as the home page
   --------------------------------------------------------------------------
   Every surface is the same light glass over the liquid field; icons sit
   in the green orb-chips of the four "Satu"; labels are set in the body
   face, sentence case, instead of tracked mono capitals.
   ========================================================================== */
.is-satu :is(.card, .tile, .feature, .dl-item, .widget, .accordion, .idcard, .vm__card, .scope__item, .explore__card, .notice, .panel) {
  background: var(--st-glass);
  border: 1px solid var(--st-edge);
  border-radius: 26px;
  box-shadow: var(--st-rim), var(--st-drop);
  -webkit-backdrop-filter: blur(14px) saturate(190%);
  backdrop-filter: blur(14px) saturate(190%);
}
.is-satu :is(.card, .tile, .feature, .dl-item):hover { border-color: rgba(34, 181, 115, 0.45); box-shadow: var(--st-rim), 0 26px 50px -24px rgba(8, 90, 55, 0.4); }

.is-satu :is(.tile__icon, .dl-item__ext) {
  display: grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  color: #FFFFFF;
  background: linear-gradient(150deg, #34C98A, #0B7A48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 6px 14px -6px rgba(14, 138, 82, 0.6);
}
.is-satu .dl-item__ext { font-family: var(--font-body); font-size: 0.62rem; font-weight: 800; letter-spacing: 0; }
.is-satu .tile__name { font-weight: 800; letter-spacing: -0.02em; color: var(--st-ink); }
.is-satu :is(.tile__desc, .card__text, .feature__text) { color: var(--st-dim); }
.is-satu :is(.card__title, .feature__title) a { color: var(--st-ink); }
.is-satu :is(.card__title, .feature__title) a:hover { color: var(--st-green); }

.is-satu .badge {
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--st-green-deep);
  background: rgba(34, 181, 115, 0.14);
}
.is-satu .badge:hover { background: rgba(34, 181, 115, 0.24); color: var(--st-green-deep); }
.is-satu .card__meta, .is-satu .card__meta time, .is-satu .card__meta span {
  font-family: var(--font-body);
  letter-spacing: 0;
  text-transform: none;
}
.is-satu .card__meta { color: var(--st-faint); font-size: var(--step--2); }

.is-satu .widget__title {
  margin-bottom: 0.85rem;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--st-ink);
}
.is-satu .widget a { color: var(--st-ink); }
.is-satu .widget a:hover { color: var(--st-green); }
.is-satu .widget__count { font-family: var(--font-body); color: var(--st-faint); }

.is-satu .eyebrow { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--st-green-deep); }
.is-satu .node-no { color: #FFFFFF; background: linear-gradient(150deg, #34C98A, #0B7A48); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }
.is-satu .section__head h2 { font-weight: 800; letter-spacing: -0.04em; color: var(--st-ink); }
.is-satu .section__head p { color: var(--st-dim); }

.is-satu .breadcrumb { font-family: var(--font-body); letter-spacing: 0; font-size: var(--step--2); font-weight: 600; background: rgba(255, 255, 255, 0.6); border-color: rgba(255, 255, 255, 0.8); }
html[data-theme='dark'] .is-satu .breadcrumb { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.is-satu .breadcrumb a { color: var(--st-dim); }
.is-satu .breadcrumb a:hover, .is-satu .breadcrumb [aria-current] { color: var(--st-green-deep); }
body.is-satu .node-no { color: #FFFFFF; background: linear-gradient(150deg, #34C98A, #0B7A48); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); opacity: 1; }

/* ---- Live pill in the header: status lamp + Makassar time ------------ */
.hdr-live {
  --c: #8DB3A0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.25rem;
  padding: 0 0.8rem 0 0.7rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: var(--step--2);
  font-weight: 600;
  color: var(--st-ink, var(--hi));
  text-decoration: none;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 1px rgba(14, 90, 58, 0.12);
  white-space: nowrap;
}
html[data-theme='dark'] .hdr-live { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.hdr-live:hover { color: var(--st-green-deep, var(--accent-fg)); box-shadow: inset 0 0 0 1px rgba(34, 181, 115, 0.45); }
.hdr-live .dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 22%, transparent); }
.hdr-live[data-state='ok']   { --c: var(--ok); }
.hdr-live[data-state='slow'] { --c: var(--slow); }
.hdr-live[data-state='cert'] { --c: var(--cert); }
.hdr-live[data-state='down'] { --c: var(--down); }
.hdr-live[data-state='wait'] .dot { animation: blink 1.2s steps(2) 3; }
@media (max-width: 80rem) { .site-header .brand__long { display: none; } }
@media (max-width: 30rem) { .hdr-live__time { display: none; } .hdr-live { padding: 0; width: 2.25rem; justify-content: center; } }
@media (max-width: 96rem) { .site-header .brand__long { display: none; } }
@media (max-width: 30rem) { .hdr-live { display: none; } }
/* Secondary buttons on the light field read as glass with dark text. */
:root:not([data-theme='dark']) .is-satu :is(.btn--glass, .btn--ghost-light, .btn--ghost) {
  --btn-fg: var(--st-ink);
  color: var(--st-ink);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(14, 90, 58, 0.16);
  box-shadow: inset 0 1px 0 #FFFFFF, 0 8px 18px -12px rgba(8, 60, 38, 0.4);
}
:root:not([data-theme='dark']) .is-satu :is(.btn--glass, .btn--ghost-light, .btn--ghost):hover { color: var(--st-green-deep); border-color: rgba(34, 181, 115, 0.5); }
:root body.is-satu .node-no { color: #FFFFFF; background: linear-gradient(150deg, #34C98A, #0B7A48); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5); }

/* ==========================================================================
   30. Header, symmetric
   --------------------------------------------------------------------------
   Three zones on a 1fr · auto · 1fr grid, so the navigation sits on the
   header's true centre whatever the brand or the tools measure. The
   navigation and the tools are twin glass capsules; the current page is a
   raised glass pill inside the first, not a dot.
   ========================================================================== */
@media (min-width: 60.0625rem) {
  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 1rem;
    padding-inline: 0.7rem;
  }
  .site-header .brand { grid-column: 1; justify-self: start; }
  .site-header .nav { grid-column: 2; margin: 0; }
  .site-header .header-tools { grid-column: 3; justify-self: end; margin: 0; }
  .site-header .nav-toggle { display: none; }
}

/* Brand: the mark and the name, nothing to truncate. */
.site-header .brand__long, .site-header .brand__sub { display: none; }
.site-header .brand { gap: 0.65rem; }
.site-header .brand__mark { width: 2.6rem; height: 2.6rem; border-radius: 12px; }
.site-header .brand__name { font-size: 1.15rem; letter-spacing: -0.03em; }

/* Twin capsules */
@media (min-width: 60.0625rem) {
  .site-header .nav__list,
  .site-header .header-tools {
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    box-shadow: inset 0 1px 2px rgba(8, 60, 38, 0.08), inset 0 0 0 1px rgba(14, 90, 58, 0.08);
  }
  html[data-theme='dark'] .site-header :is(.nav__list, .header-tools) {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  }
  .site-header .nav__list > .nav__item > .nav__link {
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: var(--step--1);
    font-weight: 600;
    line-height: 1.2;
    transition: background 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  }
  .site-header .nav__list > .nav__item > .nav__link:hover { background: rgba(255, 255, 255, 0.55) !important; }
  html[data-theme='dark'] .site-header .nav__list > .nav__item > .nav__link:hover { background: rgba(255, 255, 255, 0.08) !important; }
  .site-header .nav__list > .nav__item > .nav__link[aria-current='page']::after { display: none; }
  .site-header .nav__list > .nav__item > .nav__link[aria-current='page'] {
    color: #0B6E42 !important;
    background: linear-gradient(180deg, #FFFFFF, rgba(255, 255, 255, 0.85)) !important;
    box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(14, 90, 58, 0.1), 0 4px 12px -4px rgba(8, 60, 38, 0.3) !important;
  }
  html[data-theme='dark'] .site-header .nav__list > .nav__item > .nav__link[aria-current='page'] {
    color: #8FF0C4 !important;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 4px 12px -4px rgba(0, 0, 0, 0.6) !important;
  }

  /* Tools inside their capsule: no borders of their own. */
  .site-header .header-tools .icon-btn {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .site-header .header-tools .icon-btn:hover { background: rgba(255, 255, 255, 0.6); }
  html[data-theme='dark'] .site-header .header-tools .icon-btn:hover { background: rgba(255, 255, 255, 0.08); }
  .site-header .hdr-live { height: 2.25rem; background: transparent; box-shadow: none; padding: 0 0.75rem 0 0.65rem; }
  .site-header .hdr-live:hover { background: rgba(255, 255, 255, 0.6); box-shadow: none; }
  html[data-theme='dark'] .site-header .hdr-live:hover { background: rgba(255, 255, 255, 0.08); }
  /* A hairline between the live status and the buttons. */
  .site-header .hdr-live { position: relative; margin-inline-end: 4px; }
  .site-header .hdr-live::after { content: ""; position: absolute; inset-inline-end: -4px; top: 25%; bottom: 25%; width: 1px; background: rgba(14, 90, 58, 0.15); }
  html[data-theme='dark'] .site-header .hdr-live::after { background: rgba(255, 255, 255, 0.14); }
}
@media (min-width: 60.0625rem) and (max-width: 75rem) {
  .site-header .nav__list > .nav__item > .nav__link { padding: 0.5rem 0.7rem; }
  .site-header .hdr-live__time { display: none; }
  .site-header .hdr-live { padding: 0; width: 2.25rem; justify-content: center; }
}
html[data-theme='dark'] .site-header .hdr-live { background: transparent; box-shadow: none; }

/* ==========================================================================
   31. Header, complete: taller, two-line brand, worded status, one action
   ========================================================================== */
:root { --header-h: 5.25rem; }
.site-header { border-radius: 28px; }
.site-header__inner { min-height: var(--header-h); }

/* Brand: mark, name, university. */
.site-header .brand { gap: 0.8rem; }
.site-header .brand__mark { width: 3.1rem; height: 3.1rem; border-radius: 14px; box-shadow: 0 6px 16px -8px rgba(8, 60, 38, 0.45); }
.site-header .brand__text { gap: 0.1rem; }
.site-header .brand__name { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.035em; line-height: 1.05; }
.site-header .brand__tag { font-size: var(--step--2); font-weight: 600; color: var(--st-dim, var(--dim)); letter-spacing: 0; white-space: nowrap; }

@media (min-width: 60.0625rem) {
  .site-header__inner { padding-inline: 0.85rem; gap: 1.25rem; }
  .site-header .nav__list,
  .site-header .header-tools { padding: 5px; }
  .site-header .nav__list > .nav__item > .nav__link { padding: 0.62rem 1.1rem; font-size: var(--step-0); font-weight: 600; }
  .site-header .header-tools .icon-btn { width: 2.55rem; height: 2.55rem; }
  .site-header .header-tools .icon-btn svg { width: 1.15rem; height: 1.15rem; }

  /* Live status: lamp, the state in a word, Makassar time. */
  .site-header .hdr-live { height: 2.55rem; gap: 0.5rem; padding: 0 0.85rem 0 0.75rem; font-family: var(--font-body); font-size: var(--step--1); }
  .hdr-live__state { font-weight: 700; color: var(--c); filter: saturate(1.1) brightness(0.85); }
  html[data-theme='dark'] .hdr-live__state { filter: none; }
  .hdr-live__time { font-family: var(--font-mono); font-size: var(--step--2); font-weight: 600; color: var(--st-dim, var(--dim)); padding-inline-start: 0.5rem; border-inline-start: 1px solid rgba(14, 90, 58, 0.15); }
  html[data-theme='dark'] .hdr-live__time { border-color: rgba(255, 255, 255, 0.14); }
  .site-header .hdr-live::after { display: none; }

  /* The action. */
  .hdr-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    height: 2.55rem;
    margin-inline-start: 4px;
    padding: 0 1.1rem 0 0.9rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: var(--step--1);
    color: #FFFFFF;
    text-decoration: none;
    white-space: nowrap;
    background: linear-gradient(150deg, #22B573, #0B7A48);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45), 0 8px 18px -8px rgba(14, 138, 82, 0.7);
    transition: filter 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .hdr-cta:hover { color: #FFFFFF; filter: brightness(1.08); transform: translateY(-1px); }
  .hdr-cta .ico { width: 1.05rem; height: 1.05rem; }
}
.hdr-live__state { display: none; }
@media (min-width: 60.0625rem) { .hdr-live__state { display: inline; } }
.hdr-cta { display: none; }
@media (min-width: 60.0625rem) { .hdr-cta { display: inline-flex; } }

/* Narrower desktops: keep the symmetry, shed words before shapes. */
@media (min-width: 60.0625rem) and (max-width: 90rem) {
  .site-header .nav__list > .nav__item > .nav__link { padding: 0.62rem 0.8rem; font-size: var(--step--1); }
  .hdr-live__time { display: none; }
}
@media (min-width: 60.0625rem) and (max-width: 80rem) {
  .site-header .brand__tag { display: none; }
  .hdr-live__state { display: none; }
  .site-header .hdr-live { width: 2.55rem; padding: 0; justify-content: center; }
  .hdr-cta span { display: none; }
  .hdr-cta { padding: 0; width: 2.55rem; justify-content: center; }
}
@media (max-width: 60rem) {
  .site-header .brand__mark { width: 2.6rem; height: 2.6rem; }
  .site-header .brand__name { font-size: 1.12rem; }
}
@media (max-width: 30rem) { .site-header .brand__tag { display: none; } }

/* ---- 31b. Balanced zones: brand + status | navigation | time + tools + action */
.header-start { display: flex; align-items: center; gap: 0.85rem; min-width: 0; }
@media (min-width: 60.0625rem) {
  .site-header .header-start { grid-column: 1; justify-self: start; }
  .site-header .brand { grid-column: auto; }

  /* The status pill stands on its own beside the brand. */
  .site-header .header-start .hdr-live {
    height: 2.3rem;
    padding: 0 0.85rem 0 0.7rem;
    background: rgba(255, 255, 255, 0.55);
    box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(14, 90, 58, 0.1);
    margin: 0;
  }
  html[data-theme='dark'] .site-header .header-start .hdr-live { background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.08); }

  /* The clock opens the tools capsule. */
  .hdr-time {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    height: 2.55rem;
    padding: 0 0.85rem;
    margin-inline-end: 2px;
    font-family: var(--font-mono);
    font-size: var(--step--2);
    font-weight: 600;
    color: var(--st-dim, var(--dim));
    white-space: nowrap;
    border-inline-end: 1px solid rgba(14, 90, 58, 0.14);
  }
  .hdr-time time { color: var(--st-ink, var(--hi)); font-weight: 700; }
  html[data-theme='dark'] .hdr-time { border-color: rgba(255, 255, 255, 0.12); }
}
.hdr-time { display: none; }
@media (min-width: 60.0625rem) { .hdr-time { display: inline-flex; } }

/* Room for the three zones on large screens. */
@media (min-width: 86rem) { .site-header { width: min(100% - 2 * var(--cap-gap), 84rem); } }
@media (min-width: 100rem) { .site-header { width: min(100% - 2 * var(--cap-gap), 96rem); } }

/* Shed words before shapes as the screen narrows. */
@media (min-width: 60.0625rem) and (max-width: 99.99rem) {
  .site-header .nav__list > .nav__item > .nav__link { padding: 0.6rem 0.85rem; font-size: var(--step--1); }
}
@media (min-width: 60.0625rem) and (max-width: 85.99rem) {
  .hdr-live__state, .hdr-time { display: none; }
  .site-header .header-start .hdr-live { width: 2.3rem; padding: 0; justify-content: center; }
  .hdr-cta span { display: none; }
  .hdr-cta { padding: 0; width: 2.55rem; justify-content: center; }
}
@media (min-width: 60.0625rem) and (max-width: 72rem) {
  .site-header .brand__tag { display: none; }
  .site-header .nav__list > .nav__item > .nav__link { padding: 0.55rem 0.65rem; }
}
@media (min-width: 86rem) {
  .hdr-live__state { display: inline; }
  .hdr-cta span { display: inline; }
  .site-header .brand__tag { display: inline; }
}
@media (min-width: 86rem) { .site-header { width: min(100% - 2 * var(--cap-gap), 88rem); } }
@media (min-width: 100rem) { .site-header { width: min(100% - 2 * var(--cap-gap), 96rem); } }
@media (min-width: 86rem) and (max-width: 99.99rem) {
  .site-header .nav__list > .nav__item > .nav__link { padding: 0.6rem 0.72rem; }
}
@media (min-width: 100rem) {
  .site-header { width: min(100% - 2 * var(--cap-gap), 100rem); }
  .site-header .nav__list > .nav__item > .nav__link { padding: 0.62rem 0.95rem; }
}

/* ==========================================================================
   32. UMI's signature in the footer
   --------------------------------------------------------------------------
   Almamater green under a gold eight-point star lattice; the top edge is
   the battlement of the fort on UMI's seal; the seal, the founding year,
   the motto, the years of service and the four identities of the Statuta.
   Same in both themes: it is UMI's colour, not the page's.
   ========================================================================== */
.umi-band {
  --umi-green: #0A5A37;
  --umi-deep: #063A23;
  --umi-gold: #E3C063;
  position: relative;
  margin: clamp(2.5rem, 5vw, 3.5rem) 0 0;
  padding-top: 22px;
  color: #EAF6EF;
  isolation: isolate;
}
.umi-band__wall { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 22px; fill: var(--umi-green); }
.umi-band__wall path { fill: var(--umi-green); }
.umi-band__body,
.umi-band__ids {
  position: relative;
  background-color: var(--umi-green);
  background-image:
    radial-gradient(80% 120% at 85% 0%, rgba(227, 192, 99, 0.18), transparent 60%),
    linear-gradient(180deg, var(--umi-green), var(--umi-deep));
}
.umi-band__body::before,
.umi-band__ids::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url('img/umi-girih.svg') 0 0 / 96px 96px repeat;
  opacity: 0.12;
}
.umi-band__body > *, .umi-band__ids > * { position: relative; }
.umi-band__body::before, .umi-band__ids::before { z-index: 0; }
.umi-band__body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.25fr) auto;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem) clamp(1.5rem, 3.5vw, 3rem);
  border-bottom: 1px solid rgba(227, 192, 99, 0.25);
}
.umi-band__seal { display: flex; align-items: center; gap: 1.1rem; }
.umi-band__seal img { flex: none; width: clamp(4.5rem, 3.5rem + 2.5vw, 6rem); height: auto; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35)); }
.umi-band__part { margin: 0 0 0.15rem; font-size: var(--step--2); font-weight: 600; color: rgba(234, 246, 239, 0.7); }
.site-footer .umi-band__name { margin: 0; padding: 0; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-transform: none; color: #FFFFFF; }
.site-footer .umi-band__name::before, .site-footer .umi-band__name::after { display: none; }
.umi-band__arabic { margin: 0.25rem 0 0; font-style: italic; font-size: var(--step--1); color: var(--umi-gold); }
.umi-band__since { margin: 0.2rem 0 0; font-size: var(--step--2); font-weight: 600; letter-spacing: 0.02em; color: rgba(234, 246, 239, 0.75); }
.umi-band__motto { margin: 0; padding: 0 0 0 1.5rem; border-inline-start: 3px solid var(--umi-gold); }
[dir='rtl'] .umi-band__motto { padding: 0 1.5rem 0 0; }
.umi-band__motto p { margin: 0; font-size: clamp(1.3rem, 1rem + 1.3vw, 2.1rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; color: #FFFFFF; }
.umi-band__years { margin: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0.9rem 1.2rem; border-radius: 22px; background: rgba(0, 0, 0, 0.16); box-shadow: inset 0 0 0 1px rgba(227, 192, 99, 0.35); }
.umi-band__years-no { font-size: clamp(2.6rem, 2rem + 2.5vw, 3.6rem); font-weight: 800; letter-spacing: -0.05em; line-height: 0.95; color: var(--umi-gold); font-variant-numeric: tabular-nums; }
.umi-band__years-label { margin-top: 0.25rem; font-size: var(--step--2); font-weight: 700; color: rgba(234, 246, 239, 0.85); white-space: nowrap; }

.umi-band__ids { padding: 1.1rem clamp(1.5rem, 3.5vw, 3rem) 1.3rem; border-radius: 0 0 28px 28px; }
.umi-band__ids-title { margin: 0 0 0.75rem; font-size: var(--step--2); font-weight: 700; color: var(--umi-gold); }
.umi-band__ids ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem 1.25rem; }
.umi-band__ids li { display: flex; align-items: center; gap: 0.6rem; font-weight: 700; font-size: var(--step--1); line-height: 1.25; color: #FFFFFF; }
.umi-band__id-icon { flex: none; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; color: var(--umi-deep); background: linear-gradient(150deg, #F2D98A, #C9A227); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.umi-band__id-icon .ico { width: 1rem; height: 1rem; }
/* The wall's ends: the band's top corners stay square under the merlons. */
.umi-band__body { border-radius: 0; }

@media (max-width: 64rem) {
  .umi-band__body { grid-template-columns: minmax(0, 1fr) auto; }
  .umi-band__motto { grid-column: 1 / -1; grid-row: 2; }
  .umi-band__ids ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 36rem) {
  .umi-band__body { grid-template-columns: minmax(0, 1fr); }
  .umi-band__years { flex-direction: row; gap: 0.6rem; justify-self: start; }
  .umi-band__ids ul { grid-template-columns: minmax(0, 1fr); }
}
.umi-band + .footer-bottom { border-top: 0; }
/* Bigger battlement, closer to the fort wall on the seal; the identities sit
   on a darker second course with a gold joint instead of a second gradient. */
.umi-band { padding-top: 30px; }
.umi-band__wall { height: 30px; }
.umi-band__ids { background-image: none; background-color: var(--umi-deep); border-top: 1px solid rgba(227, 192, 99, 0.35); }
.umi-band__body { border-bottom: 0; }

/* ==========================================================================
   33. Header, futuristic: lit glass edge, liquid glider, compact on scroll
   ========================================================================== */
/* The glass edge catches light: a gradient rim instead of a flat line. */
.site-header {
  border: 1px solid transparent !important;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.46)) padding-box,
    linear-gradient(115deg, rgba(255, 255, 255, 0.95), rgba(34, 181, 115, 0.45) 35%, rgba(255, 255, 255, 0.7) 60%, rgba(227, 192, 99, 0.55)) border-box !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 18px 40px -22px rgba(8, 60, 38, 0.38),
    0 2px 6px -2px rgba(8, 60, 38, 0.08) !important;
  transition: box-shadow 0.4s var(--ease);
}
html[data-theme='dark'] .site-header {
  background:
    linear-gradient(140deg, rgba(22, 30, 26, 0.78), rgba(10, 18, 14, 0.62)) padding-box,
    linear-gradient(115deg, rgba(255, 255, 255, 0.28), rgba(91, 227, 166, 0.45) 35%, rgba(255, 255, 255, 0.1) 60%, rgba(242, 201, 76, 0.4)) border-box !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 18px 40px -22px rgba(0, 0, 0, 0.8) !important;
}
/* A thin luminous line along the bottom edge: data in flight. */
.site-header::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -1px;
  height: 1px;
  border-radius: 1px;
  background: linear-gradient(90deg, transparent, rgba(34, 181, 115, 0.8) 30%, rgba(242, 201, 76, 0.9) 50%, rgba(34, 181, 115, 0.8) 70%, transparent);
  box-shadow: 0 0 10px 1px rgba(34, 181, 115, 0.45);
  pointer-events: none;
}

/* The liquid glider: one glass pill that flows between links. */
.nav__list.has-glider { position: relative; isolation: isolate; }
.nav__glider {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  z-index: -1;
  border-radius: 999px;
  background: linear-gradient(180deg, #FFFFFF, rgba(255, 255, 255, 0.85));
  box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(14, 90, 58, 0.1), 0 6px 14px -6px rgba(8, 60, 38, 0.35);
  opacity: 0;
  transition:
    transform 0.45s cubic-bezier(0.3, 1.25, 0.4, 1),
    width 0.45s cubic-bezier(0.3, 1.25, 0.4, 1),
    background 0.3s var(--ease),
    opacity 0.2s var(--ease);
  will-change: transform, width;
}
.nav__glider.is-away { background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.6)); }
html[data-theme='dark'] .nav__glider { background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 14px -6px rgba(0, 0, 0, 0.6); }
html[data-theme='dark'] .nav__glider.is-away { background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05)); }
/* With the glider in place, links carry no pill of their own. */
@media (min-width: 60.0625rem) {
  .nav__list.has-glider > .nav__item > .nav__link,
  .nav__list.has-glider > .nav__item > .nav__link:hover,
  .nav__list.has-glider > .nav__item > .nav__link[aria-current='page'] { background: transparent !important; box-shadow: none !important; }
}

/* Compact once the page moves. */
@media (min-width: 60.0625rem) {
  .site-header__inner { transition: min-height 0.35s var(--ease); }
  .site-header .brand__mark, .site-header .brand__tag { transition: width 0.35s var(--ease), height 0.35s var(--ease), opacity 0.25s var(--ease); }
  .site-header.is-compact .site-header__inner { min-height: 4.1rem; }
  .site-header.is-compact .brand__mark { width: 2.5rem; height: 2.5rem; }
  .site-header.is-compact { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 22px 46px -20px rgba(8, 60, 38, 0.45) !important; }
}

/* The action button: a sheen crosses it once on hover. */
.hdr-cta { position: relative; overflow: hidden; }
.hdr-cta::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-20deg);
  opacity: 0;
}
.hdr-cta:hover::after { animation: cta-sheen 0.8s cubic-bezier(0.3, 0, 0.2, 1) 1; }
@keyframes cta-sheen { 0% { opacity: 0; left: -60%; } 25% { opacity: 1; } 100% { opacity: 0; left: 120%; } }

@media (prefers-reduced-motion: reduce) {
  .nav__glider, .site-header__inner, .site-header .brand__mark { transition: none; }
  .hdr-cta:hover::after { animation: none; }
}
[data-motion='off'] .nav__glider, [data-motion='off'] .site-header__inner { transition: none; }
[data-motion='off'] .hdr-cta:hover::after { animation: none; }

/* ==========================================================================
   34. The stage, futuristic: HUD reticle, live pulses, instrument cards
   ========================================================================== */
/* Reticle around the mark */
.sc__hud-guide { fill: none; stroke: rgba(14, 90, 58, 0.18); stroke-width: 1; stroke-dasharray: 2 6; }
.sc__hud-tick { stroke: rgba(14, 90, 58, 0.22); stroke-width: 1; }
.sc__hud-tick--major { stroke: rgba(201, 162, 39, 0.75); stroke-width: 1.8; }
.sc__arc { fill: none; stroke: rgba(34, 181, 115, 0.35); stroke-width: 3; stroke-linecap: round; transition: stroke 0.35s var(--ease), stroke-width 0.35s var(--ease), filter 0.35s var(--ease); }
html[data-theme='dark'] .sc__hud-guide { stroke: rgba(255, 255, 255, 0.14); }
html[data-theme='dark'] .sc__hud-tick { stroke: rgba(255, 255, 255, 0.16); }
html[data-theme='dark'] .sc__arc { stroke: rgba(91, 227, 166, 0.35); }

/* A card lights its quadrant arc and sends light down its channel. */
.sc:has(.sc__slot--1 .sc__card:is(:hover, :focus-visible)) .sc__arc--1,
.sc:has(.sc__slot--2 .sc__card:is(:hover, :focus-visible)) .sc__arc--2,
.sc:has(.sc__slot--3 .sc__card:is(:hover, :focus-visible)) .sc__arc--3,
.sc:has(.sc__slot--4 .sc__card:is(:hover, :focus-visible)) .sc__arc--4 {
  stroke: #22B573;
  stroke-width: 5;
  filter: drop-shadow(0 0 6px rgba(34, 181, 115, 0.8));
}

/* Pulses: a bright dash running from the card into the mark. */
.sc__ch-pulse {
  fill: none;
  stroke: #FFFFFF;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 0.08 1;
  stroke-dashoffset: 0.08;
  opacity: 0;
  filter: drop-shadow(0 0 5px rgba(34, 181, 115, 0.95));
}
html[data-theme='dark'] .sc__ch-pulse { stroke: #CFFFEA; }
@keyframes sc-flow { 0% { stroke-dashoffset: 0.08; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: -1; opacity: 0; } }
.sc.is-pulse .sc__ch-pulse { animation: sc-flow 1.4s cubic-bezier(0.45, 0, 0.25, 1) 1 both; animation-delay: calc(var(--d) * 120ms); }
.sc:has(.sc__slot--1 .sc__card:is(:hover, :focus-visible)) .sc__ch--1 .sc__ch-pulse,
.sc:has(.sc__slot--2 .sc__card:is(:hover, :focus-visible)) .sc__ch--2 .sc__ch-pulse,
.sc:has(.sc__slot--3 .sc__card:is(:hover, :focus-visible)) .sc__ch--3 .sc__ch-pulse,
.sc:has(.sc__slot--4 .sc__card:is(:hover, :focus-visible)) .sc__ch--4 .sc__ch-pulse { animation: sc-flow 1.2s cubic-bezier(0.45, 0, 0.25, 1) infinite; animation-delay: 0s; }

/* The mark's energy ring: green into gold, still. */
.sc__orb::before {
  content: "";
  position: absolute;
  inset: -3.5%;
  border-radius: 50%;
  padding: 3px;
  background: conic-gradient(from 210deg, rgba(34, 181, 115, 0.1), #22B573, #F2C94C, #22B573, rgba(34, 181, 115, 0.1), rgba(255, 255, 255, 0.8), rgba(34, 181, 115, 0.1));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0.85;
  pointer-events: none;
}

/* Instrument cards: a lit rim, corner brackets, an index. */
.sc__card {
  position: relative;
  border: 1px solid transparent !important;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.45)) padding-box,
    linear-gradient(120deg, rgba(255, 255, 255, 0.95), rgba(34, 181, 115, 0.5) 45%, rgba(255, 255, 255, 0.6) 70%, rgba(227, 192, 99, 0.55)) border-box !important;
}
html[data-theme='dark'] .sc__card {
  background:
    linear-gradient(140deg, rgba(30, 44, 37, 0.72), rgba(12, 22, 17, 0.6)) padding-box,
    linear-gradient(120deg, rgba(255, 255, 255, 0.3), rgba(91, 227, 166, 0.5) 45%, rgba(255, 255, 255, 0.08) 70%, rgba(242, 201, 76, 0.45)) border-box !important;
}
.sc__card::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 16px;
  pointer-events: none;
  --b: rgba(14, 138, 82, 0.55);
  background:
    linear-gradient(var(--b), var(--b)) top left / 10px 1.5px no-repeat,
    linear-gradient(var(--b), var(--b)) top left / 1.5px 10px no-repeat,
    linear-gradient(var(--b), var(--b)) top right / 10px 1.5px no-repeat,
    linear-gradient(var(--b), var(--b)) top right / 1.5px 10px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom left / 10px 1.5px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom left / 1.5px 10px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom right / 10px 1.5px no-repeat,
    linear-gradient(var(--b), var(--b)) bottom right / 1.5px 10px no-repeat;
  opacity: 0.7;
}
html[data-theme='dark'] .sc__card::before { --b: rgba(91, 227, 166, 0.6); }
.sc__card-no {
  position: absolute;
  top: 0.55rem;
  inset-inline-end: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(14, 90, 58, 0.55);
}
html[data-theme='dark'] .sc__card-no { color: rgba(91, 227, 166, 0.6); }
/* Right-hand cards are mirrored: the index goes to the outer corner. */
.sc__slot--2 .sc__card-no, .sc__slot--3 .sc__card-no { inset-inline-end: auto; inset-inline-start: 0.85rem; }
.sc__card:hover, .sc__card:focus-visible { box-shadow: var(--st-rim), 0 0 0 1px rgba(34, 181, 115, 0.35), 0 26px 50px -22px rgba(8, 90, 55, 0.5), 0 0 24px -6px rgba(34, 181, 115, 0.45) !important; }

@media (prefers-reduced-motion: reduce) {
  .sc.is-pulse .sc__ch-pulse, .sc .sc__ch-pulse { animation: none !important; opacity: 0; }
}
[data-motion='off'] .sc .sc__ch-pulse { animation: none !important; opacity: 0; }
@media (max-width: 48rem) { .sc__hud { display: none; } .sc__card-no { display: none; } }

/* ==========================================================================
   35. Contrast fixes (WCAG 2.1 AA: 4.5:1 for text, 3:1 for large text)
   ========================================================================== */
/* White text sits on greens dark enough at both ends of the gradient. */
.hdr-cta { background: linear-gradient(150deg, #0B7A48, #075A35); }
.is-satu .desk__line, .desk__line { background: linear-gradient(150deg, #0B7A48, #064F2F); }
.st-door__go { background: linear-gradient(150deg, #0E8A52, #075A35); }
/* Small grey-green text: one step darker in the light theme. */
.is-satu { --st-faint: #4F6B5D; }
html[data-theme='dark'] .is-satu { --st-faint: #8DB3A0; }
:root:not([data-theme='dark']) { --t-faint: #55695F; --lx-faint: #5E6066; }
.st-card__no { color: var(--st-green-deep); }
.st-road__now { color: #FFFFFF; background: #0B6E42; }
html[data-theme='dark'] .st-road__now { color: #04150F; background: #5BE3A6; }
.footer-bottom__time { color: var(--st-dim, var(--dim)); }

/* ==========================================================================
   36. The UMI Connection mark, alive
   --------------------------------------------------------------------------
   A glass sphere of liquid, so it behaves like one: it floats and breathes
   (and its pool of light tightens as it rises), its energy ring turns like
   data in orbit, light glints across the glass now and then, and a ripple
   leaves it whenever live data arrives. Transform and opacity only; all of
   it stops for visitors who ask for less motion.
   ========================================================================== */
.sc__orb img { animation: orb-float 7s ease-in-out infinite; }
.sc__orb:hover img, .sc__orb:focus-visible img { transform: none; scale: 1.04; transition: scale 0.5s cubic-bezier(0.2, 0.8, 0.2, 1.2); }
@keyframes orb-float {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 -6px; }
}
.sc__pool { transform-box: fill-box; transform-origin: center; animation: pool-breathe 7s ease-in-out infinite; }
@keyframes pool-breathe {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.86); opacity: 0.7; }
}

/* The energy ring turns, slowly. */
.sc__orb::before { animation: ring-turn 24s linear infinite; }
@keyframes ring-turn { to { rotate: 360deg; } }

/* A glint crosses the glass about every eight seconds. */
.sc__orb-sheen::before { animation: orb-glint 8s cubic-bezier(0.4, 0, 0.2, 1) 2.5s infinite; }
@keyframes orb-glint {
  0%   { opacity: 0; transform: skewX(-18deg) translateX(0); }
  4%   { opacity: 1; }
  14%  { opacity: 0; transform: skewX(-18deg) translateX(420%); }
  100% { opacity: 0; transform: skewX(-18deg) translateX(420%); }
}

/* A ripple leaves the mark when live data arrives (with the channel pulses). */
.sc__ripple {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(34, 181, 115, 0.7);
  opacity: 0;
  pointer-events: none;
}
.sc.is-pulse .sc__ripple { animation: orb-ripple 1.8s cubic-bezier(0.2, 0.6, 0.3, 1) 0.9s 1 both; }
@keyframes orb-ripple {
  0%   { opacity: 0.9; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.45); }
}
html[data-theme='dark'] .sc__ripple { border-color: rgba(91, 227, 166, 0.75); }

@media (prefers-reduced-motion: reduce) {
  .sc__orb img, .sc__pool, .sc__orb::before, .sc__orb-sheen::before, .sc.is-pulse .sc__ripple { animation: none !important; }
}
[data-motion='off'] :is(.sc__orb img, .sc__pool, .sc__orb::before, .sc__orb-sheen::before, .sc__ripple) { animation: none !important; }
