/* ============================================================
   irwan.world — one-page world hub
   Dark editorial theme · display serif (Fraunces) + mono (IBM Plex Mono)
   Per-section accent: Nias = teal · P15 = Hanzi red · Infra = terminal blue
   ============================================================ */

/* ---- self-hosted fonts (latin subset, OFL) ---- */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/Fraunces-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/Fraunces-700.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/IBMPlexMono-600.woff2') format('woff2');
}

/* ---- tokens ---- */
:root {
  --bg: #0b0f14;
  --bg2: #0d1319;
  --panel: #10161f;
  --line: rgba(255, 255, 255, 0.09);
  --text: #e9e7e1;
  --muted: #9aa4af;
  --faint: #67717c;

  --teal: #2dd4bf;
  --red: #e5484d;
  --blue: #7aa2f7;

  --accent: var(--teal);

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --mono: 'IBM Plex Mono', Consolas, 'Courier New', monospace;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --cjk: 'Noto Serif CJK SC', 'Noto Serif SC', 'SimSun', 'MS Mincho', serif;

  --wrap: 1140px;
  --pad: clamp(20px, 5vw, 48px);
}

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

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

::selection { background: rgba(45, 212, 191, 0.3); }

a { color: inherit; }

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--teal);
  color: #06231f;
  font: 600 0.8rem var(--mono);
  border-radius: 6px;
}
.skip:focus { left: 8px; }

/* ---- header ---- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 20, 0.92);
  border-bottom: 1px solid var(--line);
}

.head-in {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 58px;
}

.brand {
  font: 600 0.95rem var(--mono);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
}
.brand:hover { color: var(--teal); }

.nav {
  display: flex;
  gap: 4px;
  margin-inline-end: auto;
  flex-wrap: wrap;
}
.nav a {
  font: 400 0.78rem var(--mono);
  color: var(--muted);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); }

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  margin-inline-start: auto;
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  font: 600 0.72rem var(--mono);
  padding: 7px 12px;
  cursor: pointer;
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] {
  background: var(--teal);
  color: #06231f;
}

@media (max-width: 760px) {
  .nav { display: none; }
}

/* ---- hero ---- */
.hero {
  position: relative;
  min-height: calc(100vh - 58px);
  min-height: calc(100svh - 58px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(48px, 9vh, 110px) 28px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

#globe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

@media (max-width: 860px) {
  #globe { opacity: 0.45; }
}

.hero-in {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.kicker {
  font: 600 0.75rem var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
}
.kicker::before {
  content: "— ";
  color: var(--faint);
}

.hero-title {
  font: 700 clamp(3rem, 9vw, 5.4rem)/1.02 var(--serif);
  letter-spacing: -0.015em;
  margin: 0 0 26px;
}
.hero-title .tld { color: var(--teal); }

.hero-tag {
  font: 600 clamp(1.25rem, 3vw, 1.75rem)/1.35 var(--serif);
  color: var(--text);
  margin: 0 0 18px;
  max-width: 24ch;
}

.hero-sub {
  font: 400 clamp(1rem, 1.6vw, 1.1rem)/1.7 var(--sans);
  color: var(--muted);
  margin: 0 0 38px;
  max-width: 52ch;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-block;
  font: 600 0.82rem var(--mono);
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 10px;
  border: 1px solid var(--teal);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}
.btn-solid {
  background: var(--teal);
  color: #06231f;
}
.btn-solid:hover { background: #44e0cd; border-color: #44e0cd; }
.btn-ghost {
  background: transparent;
  color: var(--teal);
}
.btn-ghost:hover {
  background: rgba(45, 212, 191, 0.1);
  border-color: #44e0cd;
}

.hero-index {
  position: relative;
  z-index: 1;
  display: flex;
  gap: clamp(18px, 4vw, 44px);
  flex-wrap: wrap;
  margin-top: clamp(40px, 8vh, 90px);
  font: 400 0.72rem var(--mono);
  letter-spacing: 0.14em;
  color: var(--faint);
}
.hero-index span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.dot-teal { background: var(--teal); }
.dot-red { background: var(--red); }
.dot-blue { background: var(--blue); }

/* ---- sections ---- */
.sec {
  border-bottom: 1px solid var(--line);
  padding-block: clamp(72px, 12vh, 128px);
  background: var(--bg);
}
.sec:nth-of-type(even) { background: var(--bg2); }

.sec-nias   { --accent: var(--teal); }
.sec-p15    { --accent: var(--red); }
.sec-infra  { --accent: var(--blue); }
.sec-contact{ --accent: var(--teal); }

.sec h2 {
  font: 600 clamp(1.9rem, 4.2vw, 2.75rem)/1.12 var(--serif);
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  max-width: 22ch;
}

.lead {
  font: 400 clamp(1.02rem, 1.7vw, 1.13rem)/1.75 var(--sans);
  color: var(--muted);
  max-width: 62ch;
  margin: 0 0 12px;
}
.lead strong, .lead .em { color: var(--text); font-weight: 600; }

.sub {
  font: 600 0.78rem var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--faint);
  margin: 56px 0 18px;
}
.sub::before { content: "— "; color: var(--accent); }

/* ---- stats ---- */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
  gap: 12px;
  margin-top: 40px;
}

.stat {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 20px 18px 22px;
  overflow: hidden;
}
.stat::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  opacity: 0.85;
}
.stat-v {
  display: block;
  font: 600 clamp(1.55rem, 2.7vw, 2.05rem)/1.1 var(--mono);
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-v.is-accent { color: var(--accent); }
.stat-v .u { font-size: 0.72em; color: var(--accent); }
.stat-l {
  display: block;
  margin-top: 8px;
  font: 400 0.78rem/1.5 var(--sans);
  color: var(--muted);
}

.note {
  font: 400 0.8rem/1.6 var(--mono);
  color: var(--faint);
  margin: 18px 0 0;
  max-width: 60ch;
}
.note::before { content: "» "; color: var(--accent); }

/* ---- app cards ---- */
.apps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.app {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 26px 22px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.app:hover { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); transform: translateY(-2px); }

.app-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  margin-bottom: 18px;
}
.app-ic svg { width: 22px; height: 22px; }

.app h3 {
  font: 600 1.18rem/1.3 var(--serif);
  margin: 0 0 10px;
}
.app p {
  font: 400 0.92rem/1.7 var(--sans);
  color: var(--muted);
  margin: 0 0 16px;
}
.tags {
  font: 600 0.68rem var(--mono);
  letter-spacing: 0.16em;
  color: var(--faint);
}
.tags i { color: var(--accent); font-style: normal; }

/* ---- provenance ---- */
.prov {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 26px;
  padding: 22px 24px;
  background: color-mix(in srgb, var(--accent) 6%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  max-width: 760px;
}
.prov-ic { color: var(--accent); flex: 0 0 auto; margin-top: 2px; }
.prov-ic svg { width: 22px; height: 22px; }
.prov h3 {
  font: 600 0.78rem var(--mono);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}
.prov p {
  font: 400 0.9rem/1.7 var(--sans);
  color: var(--muted);
  margin: 0;
}

/* ---- P15 ---- */
.p15-head {
  display: flex;
  gap: clamp(28px, 6vw, 72px);
  align-items: flex-start;
  flex-wrap: wrap;
}
.p15-title { flex: 1 1 480px; min-width: 0; }

.p15-hanzi {
  font-family: var(--cjk);
  color: var(--red);
  white-space: nowrap;
}

.sutra {
  margin: 0;
  display: grid;
  grid-template-columns: auto auto;
  gap: 10px 18px;
  justify-items: center;
  align-items: center;
  padding: 30px 26px;
  background: var(--panel);
  border: 1px solid color-mix(in srgb, var(--red) 35%, var(--line));
  border-radius: 14px;
  position: relative;
}
.sutra::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid color-mix(in srgb, var(--red) 18%, transparent);
  border-radius: 9px;
  pointer-events: none;
}
.sutra .hz {
  font: 700 clamp(2rem, 4.5vw, 2.9rem)/1.15 var(--cjk);
  color: var(--red);
}
.sutra .py {
  font: 600 0.78rem var(--mono);
  color: #6ea8ff;
  letter-spacing: 0.04em;
}
.sutra-cap {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  text-align: center;
  font: 400 0.62rem var(--mono);
  letter-spacing: 0.3em;
  color: var(--faint);
}

/* standards grid */
.std-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.std {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.std-ic { color: var(--red); margin-bottom: 12px; }
.std-ic svg { width: 20px; height: 20px; }
.std h4 {
  font: 600 1rem var(--serif);
  margin: 0 0 6px;
}
.std p {
  font: 400 0.84rem/1.65 var(--sans);
  color: var(--muted);
  margin: 0;
}

/* benchmark */
.bench {
  margin-top: 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 28px 24px;
  max-width: 780px;
}
.bench h3 {
  font: 600 1.05rem var(--serif);
  margin: 0 0 22px;
}
.bench-row {
  display: grid;
  grid-template-columns: 130px 1fr 64px;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
}
.b-name { font: 600 0.8rem var(--mono); color: var(--text); }
.b-track {
  height: 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.b-fill {
  height: 100%;
  width: 0;
  border-radius: 6px;
  transition: width 0.9s cubic-bezier(0.22, 0.8, 0.3, 1);
}
.b-fill.b-ok   { background: var(--teal); }
.b-fill.b-fail { background: var(--red); }
.bench.in .b-fill { width: var(--w); }
.b-val { font: 600 0.85rem var(--mono); text-align: right; color: var(--text); }
.b-note {
  font: 400 0.72rem var(--mono);
  color: var(--faint);
  margin: -6px 0 18px 144px;
}
.finding {
  font: 400 0.9rem/1.7 var(--sans);
  color: var(--muted);
  border-top: 1px dashed var(--line);
  padding-top: 16px;
  margin: 4px 0 0;
  max-width: 64ch;
}
.finding::before { content: "※ "; color: var(--red); }
.finding strong { color: var(--text); }

.status {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 26px;
}
.chip {
  font: 600 0.72rem var(--mono);
  letter-spacing: 0.08em;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--red) 45%, var(--line));
  color: var(--muted);
}
.chip-solid {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* ---- infra ---- */
.infra-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
  max-width: 760px;
}
.infra-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px 20px;
}
.li-ic {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: color-mix(in srgb, var(--blue) 12%, transparent);
}
.li-ic svg { width: 19px; height: 19px; }
.infra-list p {
  margin: 4px 0 0;
  font: 400 0.92rem/1.7 var(--sans);
  color: var(--muted);
}
.infra-list strong { color: var(--text); font-weight: 600; }

.principle {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-top: 22px;
  max-width: 760px;
  padding: 20px 22px;
  background: color-mix(in srgb, var(--blue) 6%, var(--panel));
  border: 1px solid color-mix(in srgb, var(--blue) 32%, var(--line));
  border-left: 3px solid var(--blue);
  border-radius: 12px;
}
.principle p {
  margin: 5px 0 0;
  font: 600 0.95rem/1.65 var(--serif);
  color: var(--text);
}

/* flow diagram */
.flow {
  display: flex;
  align-items: stretch;
  gap: 10px;
  flex-wrap: wrap;
}
.fnode {
  flex: 1 1 150px;
  min-width: 130px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.f-l {
  font: 400 0.64rem var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.f-v {
  font: 600 0.92rem var(--mono);
  color: var(--text);
  overflow-wrap: anywhere;
}
.fnode.f-public { border-top-color: var(--teal); }
.fnode.f-public .f-v { color: var(--teal); }
.farrow {
  align-self: center;
  font: 600 1.2rem var(--mono);
  color: var(--blue);
}
.farrow .a-d { display: none; }

@media (max-width: 640px) {
  .flow { flex-direction: column; }
  .farrow { text-align: center; }
  .farrow .a-r { display: none; }
  .farrow .a-d { display: inline; }
  .bench-row { grid-template-columns: 105px 1fr 52px; }
  .b-note { margin-left: 119px; }
}

/* ---- contact ---- */
.contact-rows {
  margin-top: 34px;
  display: grid;
  gap: 10px;
  max-width: 560px;
}
.crow {
  display: flex;
  gap: 22px;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.c-l {
  flex: 0 0 92px;
  font: 400 0.68rem var(--mono);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--faint);
}
.c-v {
  font: 600 clamp(1.05rem, 2.4vw, 1.35rem) var(--mono);
  color: var(--text);
}
a.c-v {
  text-decoration: none;
  color: var(--teal);
  border-bottom: 1px dashed color-mix(in srgb, var(--teal) 55%, transparent);
}
a.c-v:hover { border-bottom-style: solid; }

/* ---- footer ---- */
.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 26px;
}
.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.site-foot p {
  margin: 0;
  font: 400 0.72rem var(--mono);
  letter-spacing: 0.04em;
  color: var(--faint);
}
.totop {
  font: 600 0.8rem var(--mono);
  color: var(--muted);
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 12px;
}
.totop:hover { color: var(--text); border-color: var(--muted); }

/* ============================================================
   v1.1 additions — preloader · scroll reveal · hero entrance ·
   services · pipeline · network · micro-interactions
   ============================================================ */

/* ---- preloader ---- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.55s ease, visibility 0s linear 0s;
}
#preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}
.pl-in { display: grid; justify-items: center; gap: 16px; }
.pl-brand { font: 600 1.05rem var(--mono); color: var(--text); }
.pl-brand span { color: var(--teal); }
.pl-bar {
  width: 180px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.pl-fill {
  display: block;
  height: 100%;
  width: 0;
  background: var(--teal);
  animation: plFill 1.15s cubic-bezier(0.3, 0.6, 0.4, 1) forwards;
}
@keyframes plFill { to { width: 100%; } }
.pl-txt {
  font: 400 0.66rem var(--mono);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---- hero entrance (plays when preloader lifts) ---- */
html.js .hero-in > *, html.js .hero-index { opacity: 0; }
html.js body.is-loaded .hero-in > * { animation: heroIn 0.75s cubic-bezier(0.22, 0.8, 0.3, 1) both; }
html.js body.is-loaded .hero-in > :nth-child(1) { animation-delay: 0.05s; }
html.js body.is-loaded .hero-in > :nth-child(2) { animation-delay: 0.15s; }
html.js body.is-loaded .hero-in > :nth-child(3) { animation-delay: 0.25s; }
html.js body.is-loaded .hero-in > :nth-child(4) { animation-delay: 0.38s; }
html.js body.is-loaded .hero-in > :nth-child(5) { animation-delay: 0.5s; }
html.js body.is-loaded .hero-index { animation: heroIn 0.8s cubic-bezier(0.22, 0.8, 0.3, 1) 0.62s both; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* ---- scroll reveal ---- */
html.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 0.8, 0.3, 1);
  transition-delay: var(--d, 0s);
}
html.js .reveal.in { opacity: 1; transform: none; }

/* ---- micro-interactions ---- */
.btn:active, .totop:active, .lang button:active { transform: scale(0.97); }
.stat, .std, .pipe { transition: border-color 0.18s ease, transform 0.18s ease; }
.stat:hover, .std:hover, .pipe:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--line));
  transform: translateY(-2px);
}

/* ---- services ---- */
.sec-services { --accent: var(--teal); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.svc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 24px 22px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.svc:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  transform: translateY(-3px);
}
.svc-ic {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
}
.svc-ic svg { width: 22px; height: 22px; }
.svc h3 { font: 600 1.05rem/1.3 var(--serif); margin: 16px 0 8px; }
.svc p { font: 400 0.88rem/1.65 var(--sans); color: var(--muted); margin: 0; }

.sec-cta {
  margin-top: 36px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ---- dataset pipeline ---- */
.pipe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
}
.pipe {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
}
.p-n { font: 600 0.72rem var(--mono); letter-spacing: 0.18em; color: var(--accent); }
.pipe h4 { font: 600 1rem var(--serif); margin: 10px 0 6px; }
.pipe p { font: 400 0.84rem/1.65 var(--sans); color: var(--muted); margin: 0; }

/* ---- network ---- */
.sec-network { --accent: var(--teal); }
.net-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 40px;
}
.net-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  transition: border-color 0.18s ease, transform 0.18s ease;
}
.net-card:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  transform: translateY(-3px);
}
.net-brand { font: 600 1.08rem var(--mono); color: var(--text); }
.net-card > p { font: 400 0.88rem/1.65 var(--sans); color: var(--muted); margin: 0; flex: 1; }
.net-link {
  font: 600 0.78rem var(--mono);
  letter-spacing: 0.06em;
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px dashed color-mix(in srgb, var(--teal) 55%, transparent);
  align-self: flex-start;
}
.net-link:hover { border-bottom-style: solid; }

/* ---- reduced-motion overrides (keep everything visible) ---- */
@media (prefers-reduced-motion: reduce) {
  html.js .hero-in > *, html.js .hero-index {
    opacity: 1 !important;
    animation: none !important;
    transform: none !important;
  }
  html.js .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .pl-fill { animation: none !important; width: 100% !important; }
}
