:root {
  color-scheme: dark;
  --black: #050505;
  --surface: #0b0d0c;
  --surface-2: #101311;
  --white: #f4f7f6;
  --mint: #cff0ec;
  --mint-bright: #8df1e4;
  --muted: #8d9996;
  --line: rgba(207, 240, 236, 0.14);
  --page: 1180px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--black);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--black);
  color: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font-weight: 700;
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

/* ICEFAM profile */

.profile-icefam {
  background:
    radial-gradient(circle at 70% -10%, rgba(116, 231, 214, 0.1), transparent 38rem),
    linear-gradient(180deg, #080a09 0, var(--black) 46rem);
}

.profile-ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(207, 240, 236, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 240, 236, 0.035) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(to bottom, #000, transparent 62rem);
  pointer-events: none;
}

.profile-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), var(--page));
  margin-inline: auto;
}

.profile-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.network-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.network-brand img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.network-brand span {
  display: inline-flex;
  align-items: baseline;
  color: var(--white);
  font-size: 17px;
  letter-spacing: -0.04em;
}

.network-brand strong { font-weight: 800; }
.network-brand em { color: var(--mint); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }

.profile-header nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.profile-header nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.profile-header nav a:hover { color: var(--white); }

.profile-header nav .nav-pill {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  color: var(--white);
}

.profile-header nav .nav-pill:hover { border-color: rgba(207, 240, 236, 0.35); background: rgba(207, 240, 236, 0.06); }

.identity-card {
  margin: 52px 0 80px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(9, 11, 10, 0.94);
  box-shadow: 0 50px 130px rgba(0, 0, 0, 0.45);
}

.identity-banner {
  position: relative;
  display: flex;
  min-height: 244px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 50% 105%, rgba(143, 244, 232, 0.14), transparent 50%),
    linear-gradient(135deg, #101412 0%, #080a09 50%, #101412 100%);
}

.identity-banner::before,
.identity-banner::after {
  position: absolute;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(207, 240, 236, 0.08);
  border-radius: 50%;
  content: "";
}

.identity-banner::before { left: -285px; top: -255px; }
.identity-banner::after { right: -285px; bottom: -305px; }

.banner-grid {
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(207, 240, 236, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(207, 240, 236, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at center, #000, transparent 75%);
}

.identity-banner img {
  position: relative;
  width: min(58%, 390px);
  height: auto;
}

.identity-banner p {
  position: relative;
  margin: 11px 0 0;
  color: #76817e;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.identity-body { padding: 0 52px 52px; }

.identity-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.identity-avatar {
  width: 134px;
  height: 134px;
  margin-top: -67px;
  padding: 7px;
  border-radius: 36px;
  background: #090b0a;
  box-shadow: 0 0 0 1px var(--line), 0 24px 50px rgba(0, 0, 0, 0.34);
}

.identity-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 30px;
  object-fit: cover;
}

.primary-profile-link,
.bureau-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--mint);
  color: #07100f;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.primary-profile-link:hover,
.bureau-button:hover { background: #e8faf8; transform: translateY(-2px); }

.identity-copy { max-width: 760px; padding-top: 27px; }

.profile-context,
.section-heading > p,
.network-map > div > p {
  margin: 0 0 10px;
  color: #66716e;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.identity-copy h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 720;
  letter-spacing: -0.055em;
  line-height: 1;
}

.verified-mark {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border-radius: 50%;
  background: var(--mint);
  color: #07100f;
  font-size: 12px;
  font-weight: 900;
}

.profile-handle { margin: 8px 0 0; color: #7d8885; font-size: 16px; }

.profile-bio {
  max-width: 680px;
  margin: 23px 0 0;
  color: #c1c9c7;
  font-size: 17px;
  letter-spacing: -0.018em;
  line-height: 1.55;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 25px;
  margin-top: 22px;
  color: #75807d;
  font-size: 12px;
}

.profile-meta a { color: var(--mint); text-underline-offset: 3px; }

.identity-tabs {
  display: flex;
  gap: 30px;
  margin-top: 42px;
  border-bottom: 1px solid var(--line);
}

.identity-tabs a {
  position: relative;
  padding: 0 0 16px;
  color: #6d7774;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.identity-tabs a:hover,
.identity-tabs a.is-active { color: var(--white); }
.identity-tabs a.is-active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: var(--mint); content: ""; }

.official-links,
.network-map {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 62px;
  padding: 62px 0;
}

.section-heading h2,
.network-map h2 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 620;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.section-heading h2 em,
.network-map h2 em {
  color: var(--mint);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.link-list {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
}

.link-list > a {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  gap: 15px;
  align-items: center;
  min-height: 86px;
  padding: 15px 19px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: background 180ms ease;
}

.link-list > a:last-child { border-bottom: 0; }
.link-list > a:hover { background: rgba(207, 240, 236, 0.05); }

.link-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 13px;
  color: var(--mint);
  font-size: 18px;
}

.link-list span:nth-child(2) { display: grid; gap: 5px; }
.link-list small { color: #6e7976; font-size: 9px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.link-list strong { font-size: 13px; font-weight: 650; }
.link-list b { color: #5c6764; font-size: 16px; }

.network-map { border-top: 1px solid var(--line); padding-bottom: 6px; }
.network-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }

.network-nodes a {
  min-height: 174px;
  padding: 23px;
  border-right: 1px solid var(--line);
  text-decoration: none;
  transition: background 180ms ease;
}

.network-nodes a:last-child { border-right: 0; }
.network-nodes a:hover { background: rgba(207, 240, 236, 0.045); }
.network-nodes small { display: block; color: #66716e; font-size: 8px; font-weight: 750; letter-spacing: 0.13em; text-transform: uppercase; }
.network-nodes strong { display: block; margin-top: 38px; color: var(--mint); font-size: 15px; }
.network-nodes span { display: block; margin-top: 7px; color: #7b8683; font-size: 10px; line-height: 1.45; }

.profile-footer {
  display: flex;
  min-height: 94px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  color: #596360;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-footer a { color: #919b98; text-decoration: none; }
.profile-footer a:hover { color: var(--mint); }

/* Continuity Bureau profile */

.profile-bureau {
  --brass: #d8c18f;
  --brass-bright: #f2dfae;
  --bureau-line: rgba(216, 193, 143, 0.2);
  background:
    radial-gradient(circle at 50% -10%, rgba(216, 193, 143, 0.08), transparent 34rem),
    #070806;
  color: #eeeadd;
}

.bureau-noise,
.bureau-lines {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.bureau-noise {
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.bureau-lines {
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(216, 193, 143, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(216, 193, 143, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 75%);
}

.bureau-header,
.profile-bureau main,
.bureau-footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 56px), 1240px);
  margin-inline: auto;
}

.bureau-header {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bureau-line);
}

.bureau-brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
}

.bureau-seal {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--brass);
  border-radius: 50%;
  color: var(--brass);
  font-size: 19px;
}

.bureau-brand > span:last-child { display: grid; gap: 3px; }
.bureau-brand small { color: #706958; font-size: 7px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase; }
.bureau-brand strong { color: #e8e2d2; font-family: Georgia, "Times New Roman", serif; font-size: 16px; font-weight: 400; letter-spacing: 0.03em; }

.bureau-header > p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #776f5d;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.bureau-header > p i,
.dossier-status strong i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 13px rgba(216, 193, 143, 0.7);
}

.dossier-hero {
  position: relative;
  display: grid;
  min-height: 430px;
  grid-template-columns: auto 1fr auto;
  gap: 40px;
  align-items: center;
  border-bottom: 1px solid var(--bureau-line);
}

.dossier-code {
  position: absolute;
  top: 30px;
  left: 0;
  color: #5f594b;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.15em;
}

.dossier-mark {
  position: relative;
  display: grid;
  width: 166px;
  height: 166px;
  place-items: center;
}

.dossier-mark > span {
  position: absolute;
  inset: 0;
  border: 1px solid var(--bureau-line);
  border-radius: 50%;
}

.dossier-mark > span::before,
.dossier-mark > span::after {
  position: absolute;
  inset: 13px;
  border: 1px solid rgba(216, 193, 143, 0.1);
  border-radius: 50%;
  content: "";
}

.dossier-mark > span::after { inset: 30px; }

.dossier-mark img {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  border-radius: 30px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.dossier-titleblock > p {
  margin: 0 0 13px;
  color: var(--brass);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dossier-titleblock h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(56px, 8vw, 104px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.9;
}

.dossier-titleblock > span { display: block; margin-top: 19px; color: #797363; font-size: 12px; }

.dossier-status {
  align-self: end;
  min-width: 142px;
  margin-bottom: 58px;
  padding: 15px 0 0;
  border-top: 1px solid var(--bureau-line);
}

.dossier-status small { display: block; color: #676152; font-size: 7px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.dossier-status strong { display: flex; align-items: center; gap: 9px; margin-top: 8px; color: #c9bea3; font-size: 11px; font-weight: 600; }

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--bureau-line);
}

.dossier-grid > article {
  min-height: 430px;
  padding: 42px;
  border-right: 1px solid var(--bureau-line);
  border-bottom: 1px solid var(--bureau-line);
}

.dossier-grid article > header {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #6d6656;
}

.dossier-grid article > header span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 1px solid var(--bureau-line);
  border-radius: 50%;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 7px;
}

.dossier-grid article > header p { margin: 0; font-size: 8px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }

.dossier-summary h2 {
  margin: 48px 0 0;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 560;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.dossier-summary h2 em { color: var(--brass); font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.dossier-summary > p { max-width: 560px; margin: 24px 0 0; color: #96907e; font-size: 13px; line-height: 1.7; }
.dossier-summary .bureau-button { margin-top: 28px; background: var(--brass); color: #14120d; }
.dossier-summary .bureau-button:hover { background: var(--brass-bright); }

.record-table dl { margin: 39px 0 0; }
.record-table dl div { display: grid; grid-template-columns: 0.7fr 1fr; gap: 20px; padding: 18px 0; border-top: 1px solid var(--bureau-line); }
.record-table dt { color: #6e6858; font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.record-table dd { margin: 0; color: #cbc4b2; font-size: 12px; text-align: right; }
.record-table a { color: var(--brass); text-decoration: none; }

.signal-directory > div { margin-top: 39px; border-top: 1px solid var(--bureau-line); }
.signal-directory > div a { display: grid; grid-template-columns: 1fr auto; gap: 5px 14px; min-height: 88px; align-content: center; border-bottom: 1px solid var(--bureau-line); text-decoration: none; }
.signal-directory > div a:hover strong { color: var(--brass-bright); }
.signal-directory small { color: #676152; font-size: 7px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.signal-directory strong { color: var(--brass); font-size: 13px; font-weight: 600; transition: color 180ms ease; }
.signal-directory b { grid-row: 1 / 3; grid-column: 2; align-self: center; color: #625c4d; font-size: 15px; }

.continuity-diagram {
  position: relative;
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  margin: 38px auto 0;
  border: 1px solid var(--bureau-line);
  border-radius: 50%;
}

.continuity-diagram::before,
.continuity-diagram::after { position: absolute; inset: 27px; border: 1px solid rgba(216, 193, 143, 0.13); border-radius: 50%; content: ""; }
.continuity-diagram::after { inset: 58px; background: rgba(216, 193, 143, 0.05); }
.continuity-diagram span { position: relative; z-index: 2; color: var(--brass); font-family: "SFMono-Regular", Consolas, monospace; font-size: 8px; letter-spacing: 0.08em; }
.continuity-diagram i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 10px rgba(216, 193, 143, 0.7); }
.continuity-diagram i:nth-child(1) { top: 15px; left: 92px; }
.continuity-diagram i:nth-child(2) { right: 23px; top: 72px; }
.continuity-diagram i:nth-child(3) { bottom: 23px; left: 51px; }
.continuity-diagram i:nth-child(4) { left: 14px; top: 100px; }
.continuity-note > p { max-width: 440px; margin: 25px auto 0; color: #8b8575; font-size: 11px; line-height: 1.65; text-align: center; }

.bureau-footer {
  display: flex;
  min-height: 108px;
  align-items: center;
  justify-content: space-between;
  color: #625c4e;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.bureau-footer nav { display: flex; gap: 22px; }
.bureau-footer a { color: #8b826e; text-decoration: none; }
.bureau-footer a:hover { color: var(--brass); }

@media (max-width: 900px) {
  .official-links,
  .network-map { grid-template-columns: 1fr; gap: 32px; }
  .network-nodes { grid-template-columns: 1fr; }
  .network-nodes a { min-height: 122px; border-right: 0; border-bottom: 1px solid var(--line); }
  .network-nodes a:last-child { border-bottom: 0; }
  .network-nodes strong { margin-top: 24px; }

  .dossier-hero { grid-template-columns: auto 1fr; }
  .dossier-status { position: absolute; right: 0; bottom: 0; }
  .dossier-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .profile-shell { width: min(calc(100% - 28px), var(--page)); }
  .profile-header { min-height: 76px; }
  .profile-header nav > a:not(.nav-pill) { display: none; }
  .network-brand span { font-size: 15px; }
  .identity-card { margin-top: 26px; border-radius: 20px; }
  .identity-banner { min-height: 185px; }
  .identity-banner img { width: 72%; }
  .identity-banner p { font-size: 7px; }
  .identity-body { padding: 0 22px 34px; }
  .identity-avatar { width: 100px; height: 100px; margin-top: -50px; padding: 5px; border-radius: 27px; }
  .identity-avatar img { border-radius: 23px; }
  .primary-profile-link { min-height: 41px; margin-top: 17px; padding-inline: 15px; font-size: 11px; }
  .identity-copy { padding-top: 24px; }
  .profile-bio { font-size: 15px; }
  .identity-tabs { margin-top: 34px; }
  .official-links,
  .network-map { padding: 46px 0; }
  .link-list > a { grid-template-columns: 38px 1fr auto; padding-inline: 13px; }
  .link-icon { width: 36px; height: 36px; border-radius: 11px; }
  .profile-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; }

  .bureau-header,
  .profile-bureau main,
  .bureau-footer { width: min(calc(100% - 28px), 1240px); }
  .bureau-header { min-height: 86px; }
  .bureau-header > p { display: none; }
  .dossier-hero { min-height: 460px; grid-template-columns: 1fr; gap: 22px; align-content: center; text-align: center; }
  .dossier-code { left: 50%; transform: translateX(-50%); white-space: nowrap; }
  .dossier-mark { width: 130px; height: 130px; margin: 34px auto 0; }
  .dossier-mark img { width: 88px; height: 88px; border-radius: 24px; }
  .dossier-titleblock h1 { font-size: clamp(50px, 17vw, 74px); }
  .dossier-status { position: static; min-width: 0; justify-self: center; align-self: auto; margin: 5px 0 0; text-align: left; }
  .dossier-grid > article { min-height: 0; padding: 34px 24px 40px; }
  .record-table dl div { grid-template-columns: 1fr; gap: 8px; }
  .record-table dd { text-align: left; }
  .bureau-footer { min-height: 128px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 18px; }
  .bureau-footer nav { flex-wrap: wrap; gap: 14px; }
}

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