:root {
  --gutter:clamp(1rem,4vw,4rem);
  color-scheme:light;
  --paper:#f5f7fa;
  --ink:#131e30;
  --muted:#455368;
  --line:#cbd4e0;
  --accent:#2439a8;
  --serif:"Segoe UI",Arial,sans-serif;
  --sans:"Segoe UI",Arial,sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:1rem;
}

body {
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font:1rem/1.58 var(--sans);
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
  color:inherit;
  cursor:pointer;
}

a:focus-visible,button:focus-visible {
  outline:3px solid #394ecc;
  outline-offset:4px;
}

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

h1,h2,h3,h4,p {
  margin:0;
}

.wrap {
  width:min(calc(100% - 2 * var(--gutter)),76rem);
  margin-inline:auto;
}

.mast,.mast nav,.brand,.index,.cover-top,.cover-bottom,.gallery-tools,.caption,.demo-head,.vpn-brand,footer {
  display:flex;
  align-items:center;
}

.mast {
  gap:1.3rem;
  min-height:4.7rem;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
}

.mast nav {
  margin-left:auto;
  gap:1.5rem;
  font-size:.94rem;
}

.brand {
  gap:.44rem;
  font:700 clamp(1.03rem,2.1vw,1.52rem)/1.1 var(--sans);
  letter-spacing:-.045em;
}

.button {
  background:var(--ink);
  color:#fff;
  border-radius:7px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.77rem 1.22rem;
  font-weight:600;
}

.button.small {
  font-size:.875rem;
  padding:.54rem .95rem;
}

.clay {
  background:var(--accent);
}

.button:hover {
  filter:brightness(1.13);
}

.skip {
  position:absolute;
  top:-8rem;
  left:1rem;
  background:white;
  padding:.65rem;
  z-index:5;
}

.skip:focus {
  top:1rem;
}

.hero {
  padding:clamp(1.7rem,4.7vw,4.7rem) 0;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);
  gap:6.5%;
  align-items:center;
}

.kicker,.mono {
  font:600 .83rem/1.4 Consolas,"Courier New",monospace;
  text-transform:uppercase;
  letter-spacing:.07em;
}

.kicker {
  display:flex;
  gap:.7rem;
  align-items:center;
  color:var(--accent);
  margin-bottom:1.05rem;
}

.kicker i {
  height:1px;
  width:1.6rem;
  background:currentColor;
}

h1,h2,.vpn-story h3 {
  font-family:var(--sans);
  font-weight:660;
  line-height:1.06;
  letter-spacing:-.048em;
  text-wrap:balance;
}

h1 {
  font-size:clamp(2.32rem,6vw,5.6rem);
  max-width:12ch;
}

h1 em,h2 em {
  color:var(--accent);
  font-weight:inherit;
  font-style:normal;
}

.intro>p:not(.kicker) {
  max-width:32rem;
  margin:1.3rem 0 1.55rem;
  color:var(--muted);
  font-size:clamp(1rem,1.3vw,1.15rem);
}

.cover {
  min-height:24rem;
  aspect-ratio:1.22;
  isolation:isolate;
  overflow:hidden;
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:clamp(1.5rem,2.7vw,3rem);
  background:radial-gradient(ellipse at 86% 0%,#135767 0,transparent 58%),linear-gradient(120deg,#0b171f,#0a252e 62%,#12272c);
  border-radius:1rem;
  color:#eff4ed;
}

.cover:after {
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(#b8d3c729 .7px,transparent 1px);
  background-size:7px 7px;
  z-index:-1;
}

.cover-top,.cover-bottom {
  justify-content:space-between;
}

.cover-top img {
  border-radius:13px;
  border:1px solid #748e94;
}

.cover-top .mono {
  color:#d4c59f;
}

.cover-type {
  font:700 clamp(3.4rem,7vw,7.2rem)/1 var(--sans);
  letter-spacing:-.065em;
  text-shadow:0 3px 20px #061820;
}

.cover-type em {
  font-style:normal;
  font-weight:450;
  color:#e2c481;
}

.cover-type span {
  display:block;
  margin:.85rem 0 0;
  font:500 .97rem/1.4 var(--sans);
  letter-spacing:0;
  color:#d4dedb;
}

.cover-bottom {
  gap:1rem;
  font-size:.87rem;
}

.cover-line {
  flex:1;
  background:#86a7a667;
  height:1px;
}

.cover-symbol {
  font:2rem/1 var(--serif);
  color:#e2c481;
}

.index {
  border-block:1px solid var(--line);
  gap:clamp(1rem,3vw,3rem);
  padding:1.05rem 0;
}

.index .mono {
  color:var(--muted);
  margin-right:auto;
}

.index a,.under {
  font-weight:600;
}

.under {
  display:inline-block;
  border-bottom:1px solid currentColor;
}

.under:hover,.index a:hover,.mast nav>a:not(.button):hover {
  color:var(--accent);
}

.case,.project,.about {
  padding-block:clamp(3.7rem,6.2vw,6.5rem);
}

h2 {
  font-size:clamp(2.05rem,4.6vw,4.4rem);
}

h2 span {
  color:var(--accent);
}

.case-head,.about {
  display:grid;
  grid-template-columns:minmax(0,.94fr) minmax(0,1fr);
  gap:6%;
  align-items:end;
}

.case-head {
  margin-bottom:2.1rem;
}

.case-head>p,.about>div>p {
  color:var(--muted);
  font-size:1.05rem;
  line-height:1.7;
}

.vpn-showcase {
  color:#edf4f2;
  background:radial-gradient(ellipse at 73% 10%,#21404a,transparent 53%),linear-gradient(115deg,#101d24,#12252b);
  border-radius:1rem;
  display:grid;
  grid-template-columns:minmax(0,.76fr) minmax(0,1fr);
  gap:7%;
  align-items:center;
  padding:clamp(1.4rem,4vw,4.1rem);
}

.vpn-story>.mono {
  color:#d6bd8b;
}

.vpn-story h3 {
  font-size:clamp(1.75rem,3.8vw,3.6rem);
  margin:1rem 0;
}

.vpn-story h3 em {
  font-weight:inherit;
  font-style:normal;
  color:#e1c487;
}

.vpn-story>p:not(.mono) {
  color:#c1cdca;
  max-width:26rem;
}

.switches {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  margin-top:1.5rem;
}

.switches button,.gallery-tools button {
  border:1px solid #536a70;
  border-radius:2rem;
  background:transparent;
  color:inherit;
  padding:.45rem .85rem;
  font-size:.9rem;
}

.switches button[aria-pressed=true] {
  color:#12272e;
  background:#e6cf9e;
  border-color:#e6cf9e;
}

.demo {
  min-width:0;
  background:linear-gradient(145deg,#131e25,#101318);
  border:1px solid #46616c;
  border-radius:15px;
  box-shadow:0 15px 40px #040e145c;
  align-self:stretch;
}

.demo-head {
  border-bottom:1px solid #334148;
  justify-content:space-between;
  padding:.85rem 1.15rem;
}

.vpn-brand {
  gap:.6rem;
  font-size:1.15rem;
  font-weight:750;
}

.vpn-brand img {
  border-radius:10px;
}

.demo-head a,.bot-links a {
  font-size:.9rem;
  color:#bce4f2;
  text-decoration:underline;
  text-underline-offset:3px;
}

.pane {
  padding:1.3rem;
  min-height:20.8rem;
}

.pane[hidden] {
  display:none;
}

.gold-tag,.blue-tag {
  display:inline-block;
  border:1px solid #6c6045;
  border-radius:2rem;
  padding:.28rem .7rem;
  font-size:.83rem;
  font-weight:650;
  color:#edd291;
  background:#383328;
}

.blue-tag {
  background:#18333d;
  border-color:#365b66;
  color:#b5e3ee;
}

.account,.server-row,.copy-sample {
  display:flex;
  align-items:center;
  gap:1rem;
}

.account {
  margin:1rem 0;
}

.ring {
  display:grid;
  place-items:center;
  flex:none;
  width:5.65rem;
  aspect-ratio:1;
  border:5px solid #dcbf7c;
  border-radius:50%;
  box-shadow:0 0 19px #d3b37349,inset 0 0 14px #d3b37329;
  font-size:2.7rem;
  line-height:1;
}

.account strong,.pane h4 {
  display:block;
  font-size:1.35rem;
}

.demo small {
  display:block;
  color:#aab8bd;
  font-size:.875rem;
}

.mini-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.45rem;
}

.mini-grid>div,.choices>b,.copy-sample,.action-sample {
  background:#10151a;
  border:1px solid #303a41;
  border-radius:9px;
  padding:.6rem .8rem;
}

.masked {
  letter-spacing:.1em;
}

.action-sample {
  background:#25262d;
  text-align:center;
  margin-top:.7rem;
  font-weight:650;
}

.demo-note,.pane>p {
  color:#b6c1c6;
  font-size:.94rem;
}

.demo-note {
  margin-top:.7rem;
}

.pane h4 {
  margin:1.15rem 0 .45rem;
}

.cyan,.bot-open {
  background:#204957;
  border-color:#426a77;
}

.choices {
  margin-top:.55rem;
  text-align:center;
  font-size:.88rem;
}

.copy-sample {
  justify-content:space-between;
  color:#abc4cf;
  font-size:.86rem;
  margin-top:.65rem;
}

.server-row {
  padding:.8rem 0;
  border-bottom:1px solid #334044;
}

.server-row>span {
  margin-left:auto;
  color:#8ce4a9;
  font-size:.85rem;
}

.flag {
  width:24px;
  height:16px;
  border-radius:3px;
  flex-shrink:0;
}

.nl {
  background:linear-gradient(#c13a4a 33%,#fff 33% 66%,#305aa0 66%);
}

.de {
  background:linear-gradient(#181919 33%,#da4644 33% 66%,#f2c740 66%);
}

.bot-pane {
  text-align:center;
}

.bot-pane>img {
  margin:.5rem auto;
  border-radius:20px;
}

.bot-open {
  display:inline-flex;
  margin:1rem auto;
  padding:.55rem 1rem;
  border-radius:8px;
  font-weight:600;
}

.bot-links {
  display:flex;
  gap:1rem;
  justify-content:center;
}

.notes {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:4%;
  margin:1.8rem 0;
}

.notes>div {
  border-top:1px solid var(--line);
  padding-top:1rem;
}

.notes h4,.about h3 {
  font:650 1.24rem/1.3 var(--sans);
  letter-spacing:-.024em;
  margin-bottom:.6rem;
}

.notes p,.contact p:not(.kicker) {
  color:var(--muted);
}

.project {
  border-top:1px solid var(--line);
}

.game {
  background:#edf1f8;
}

.game .gallery {
  --frame:#e6b393;
  --frame-ink:#382d26;
}

.atlas .gallery {
  --frame:#b7d1ca;
  --frame-ink:#1f3836;
}

.gallery {
  background:var(--frame);
  color:var(--frame-ink);
  padding:1.15rem clamp(.8rem,2.5vw,2.2rem) .9rem;
  border-radius:14px;
}

.gallery-tools,.caption {
  justify-content:space-between;
  gap:.75rem;
}

.gallery-tools {
  margin:0 0 1rem;
}

.gallery-tools>div {
  display:flex;
  gap:.45rem;
}

.gallery-tools button {
  border-color:currentColor;
}

.gallery-tools button[aria-pressed=true] {
  color:white;
  background:var(--frame-ink);
  border-color:var(--frame-ink);
}

.shot {
  display:block;
  width:100%;
  padding:0;
  border:1px solid #0003;
  border-radius:9px;
  background:var(--paper);
  overflow:hidden;
  cursor:zoom-in;
}

.shot img {
  width:100%;
  height:auto;
}

.caption {
  font-size:.9rem;
  margin-top:.7rem;
}

.caption .zoom {
  background:transparent;
  border:1px solid currentColor;
  border-radius:7px;
  justify-content:center;
  gap:.45rem;
  padding:.45rem .75rem;
  line-height:1.2;
}
.zoom svg { width:1rem; height:1rem; fill:none; stroke:currentColor; stroke-width:1.6; }
.caption .zoom:hover { background:#ffffff50; }

.about {
  align-items:start;
  border-top:1px solid var(--line);
}

.about>div>p+p {
  margin-top:.75rem;
}

.contact {
  background:#e7edf7;
  border-block:1px solid var(--line);
  padding:4rem 0;
}

.contact .wrap {
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(17rem, .75fr);
  align-items:center;
  gap:clamp(2rem, 6vw, 6rem);
}

.contact p:not(.kicker) {
  margin-top:1.1rem;
  max-width:30rem;
}

.contact-links {
  display:grid;
  width:100%;
  max-width:27rem;
  justify-self:end;
  border:1px solid #c1ccdc;
  border-radius:12px;
  background:#fafcff;
}

.contact-links a {
  display:grid;
  grid-template-columns:2.5rem minmax(0,1fr);
  gap:.85rem;
  align-items:center;
  padding:1rem clamp(.8rem,2vw,1.35rem);
}
.contact-links a:first-child { border-radius:11px 11px 0 0; }
.contact-links a + a { border-top:1px solid #d5deea; border-radius:0 0 11px 11px; }
.contact-links a:hover, .contact-links a:focus-visible { background:#edf2ff; }
.contact-links svg {
  width:2.5rem;
  height:2.5rem;
  padding:.55rem;
  border-radius:9px;
  color:var(--accent);
  background:#e6ecfa;
  fill:none;
  stroke:currentColor;
  stroke-width:1.55;
  stroke-linejoin:round;
  stroke-linecap:round;
}
.contact-links strong, .contact-links small { display:block; line-height:1.4; }
.contact-links small { color:var(--muted); font-size:.94rem; margin-top:.12rem; }

footer {
  justify-content:space-between;
  padding:1.5rem 0;
  font-size:.9rem;
}

footer .brand {
  font-size:1.4rem;
}

.brand {
  white-space:nowrap;
  gap:.55rem;
}

.brand img {
  flex:none;
}

.hero>* {
  min-width:0;
}

.cover {
  width:100%;
}

.cover-top .mono {
  text-transform:none;
  letter-spacing:.03em;
}

.kicker i {
  width:1rem;
  height:3px;
  border-radius:4px;
  flex-shrink:0;
}

.languages {
  display:flex;
  align-items:center;
  border:1px solid var(--line);
  border-radius:8px;
  padding:2px;
}

.languages a {
  min-width:2.75rem;
  min-height:2.75rem;
  display:grid;
  place-items:center;
  font-size:.875rem;
  font-weight:650;
  border-radius:5px;
}

.languages a[aria-current=page] {
  background:#e2e8ff;
  color:#20349a;
}

.menu-toggle {
  display:none;
}

.second-bio {
  margin-top:1.5rem;
}

.case-head {
  align-items:center;
}

.case-head>p {
  max-width:56ch;
}

.case-head h2 {
  line-height:1.08;
  letter-spacing:-.04em;
}

.case-head p,.notes p,.caption span {
  text-wrap:pretty;
}

.notes h4 {
  max-width:28ch;
}

.index {
  flex-wrap:wrap;
}

.index a,.mast nav a,footer a,.zoom,.under,.demo-head a,.bot-links a {
  min-height:2.75rem;
  display:inline-flex;
  align-items:center;
}

.under {
  border:0;
  text-decoration:underline;
  text-underline-offset:.32em;
}

.switches button,.gallery-tools button {
  min-height:2.75rem;
  line-height:1.25;
}

.gallery-tools>div {
  flex-wrap:wrap;
}

.caption span {
  flex:1;
  min-width:0;
}

.caption {
  font-size:.95rem;
  line-height:1.45;
}

.account>div,.mini-grid>* {
  min-width:0;
  overflow-wrap:anywhere;
}

.notes {
  gap:clamp(1rem,3vw,3rem);
}

.contact-links {
  min-width:0;
}

.contact-links a {
  overflow-wrap:anywhere;
}

.atlas-preview {
  display:none;
}

.atlas .gallery {
  --frame:#d7e9e6;
  --frame-ink:#193f46;
}

.atlas .notes>div {
  border-top:2px solid #88b8af;
}

.atlas .case-head .kicker {
  color:#28665e;
}

dialog {
  background:var(--paper);
  color:var(--ink);
  border:0;
  border-radius:12px;
  padding:clamp(.65rem,2vw,1.25rem);
  width:min(90rem,96vw);
  max-width:96vw;
  max-height:94vh;
  max-height:94dvh;
  overflow:auto;
}

dialog[open] {
  display:flex;
  flex-direction:column;
  gap:.65rem;
}

dialog::backdrop {
  background:#07101bd9;
}

.viewer-toolbar {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:.8rem;
}

.viewer-toolbar button {
  min-height:2.75rem;
  border-radius:6px;
  border:1px solid var(--line);
  padding:.5rem .85rem;
  background:white;
}

.viewer-toolbar form button,.viewer-toolbar button[aria-pressed=true] {
  color:white;
  background:var(--ink);
}

.viewer-stage {
  min-height:0;
  overflow:auto;
  overscroll-behavior:contain;
  border-radius:5px;
  background:#dce1e8;
}

.viewer-stage img {
  width:auto;
  height:auto;
  max-height:68vh;
  max-width:100%;
  margin:auto;
}

.viewer-stage.actual img {
  width:auto;
  max-width:none;
  max-height:none;
  margin:0;
}

.viewer-stage.actual {
  max-height:68vh;
}

dialog p {
  font-size:.95rem;
  line-height:1.4;
}

html:has(dialog[open]) {
  overflow:hidden;
}

@media(min-width:65rem) {
  .gallery {
    display:grid;
    grid-template-columns:minmax(12rem,.65fr) minmax(0,3fr);
    gap:1.2rem;
    padding:1.6rem;
  }
  .gallery-tools {
    display:block;
    align-self:start;
  }
  .gallery-tools>div {
    display:grid;
    justify-items:stretch;
    gap:.7rem;
    margin-top:1rem;
  }
  .caption {
    grid-column:2;
    margin:0;
  }
}

@media(max-width:54rem) {
  .switches {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .hero {
    gap:4%;
  }
  .cover {
    min-height:18rem;
  }
  .vpn-showcase {
    gap:1.5rem;
    padding:1.5rem;
  }
  .case-head,.about {
    gap:1.5rem;
  }
  .pane {
    padding:1rem;
  }
  .gallery-tools {
    flex-wrap:wrap;
  }
  .index {
    gap:1.2rem;
  }
}

@media(max-width:44rem) {
  .mast {
    position:relative;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto auto;
    gap:.35rem;
    min-height:4rem;
    padding:.4rem 0;
  }
  .mast>.brand {
    grid-column:1;
    grid-row:1;
    justify-self:start;
  }
  .brand img {
    width:1.7rem;
    height:1.7rem;
  }
  .mast .languages {
    grid-row:1;
    grid-column:2;
  }
  .mast .menu-toggle:not([hidden]) {
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    grid-column:3;
    grid-row:1;
    border:1px solid var(--line);
    border-radius:7px;
    background:white;
    width:2.75rem;
    height:2.75rem;
  }
  .menu-toggle span {
    width:1rem;
    height:2px;
    background:var(--ink);
  }
  .menu-toggle[aria-expanded=true] span:first-child {
    transform:translateY(3.5px) rotate(45deg);
  }
  .menu-toggle[aria-expanded=true] span:last-child {
    transform:translateY(-3.5px) rotate(-45deg);
  }
  .mast nav {
    grid-column:1/-1;
    grid-row:2;
    margin:0;
    justify-content:space-between;
    gap:.5rem;
    padding:.4rem 0;
  }
  .menu-toggle[aria-expanded=false]:not([hidden])+nav {
    display:none;
  }
  .mast nav>a {
    padding:.35rem .7rem;
  }
  .mast nav .small {
    min-height:2.75rem;
  }
  .hero,.case-head,.vpn-showcase,.about {
    grid-template-columns:minmax(0,1fr);
  }
  .hero {
    gap:1.35rem;
  }
  .hero h1 {
    max-width:15ch;
    font-size:clamp(2.2rem,7.7vw,3.2rem);
  }
  .intro>p:not(.kicker) {
    margin:.9rem 0 1.05rem;
    line-height:1.55;
  }
  .kicker {
    margin-bottom:.65rem;
  }
  .cover {
    min-height:12.5rem;
    aspect-ratio:2.15;
    padding:1.1rem 1.25rem;
  }
  .cover-top img {
    width:2.35rem;
    height:2.35rem;
  }
  .cover-type span {
    margin:.4rem 0 0;
  }
  .cover-type {
    font-size:clamp(3.05rem,10vw,4.5rem);
  }
  .cover-bottom {
    gap:.65rem;
  }
  .index {
    gap:.2rem 1.2rem;
    padding:.55rem 0;
  }
  .index>.mono {
    flex-basis:100%;
  }
  .index a {
    font-size:.93rem;
  }
  .case,.project,.about,.contact {
    padding-block:clamp(2.35rem,6vw,3.3rem);
  }
  .case-head {
    gap:.7rem;
    margin-bottom:1.2rem;
  }
  .case-head>p,.about>div>p {
    font-size:1rem;
    line-height:1.6;
  }
  .vpn-showcase {
    padding:1rem;
    gap:1.15rem;
  }
  .vpn-story h3 {
    margin:.55rem 0;
  }
  .switches {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:.45rem;
    margin-top:1rem;
  }
  .switches button,.gallery-tools button {
    border-radius:7px;
    padding:.5rem .55rem;
  }
  .demo-head {
    padding:.65rem .8rem;
  }
  .vpn-brand {
    font-size:1rem;
    gap:.4rem;
  }
  .vpn-brand img {
    width:2rem;
    height:2rem;
  }
  .pane {
    padding:.85rem;
    min-height:0;
  }
  .ring {
    width:4.8rem;
  }
  .account {
    gap:.75rem;
  }
  .mini-grid>div,.choices>b,.copy-sample,.action-sample {
    padding:.55rem .6rem;
  }
  .bot-links {
    flex-wrap:wrap;
    gap:.55rem;
  }
  .server-row {
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    gap:.1rem .6rem;
  }
  .server-row>span {
    grid-column:2;
    margin:0;
  }
  .notes {
    grid-template-columns:minmax(0,1fr);
    gap:1rem;
    margin:1.4rem 0 .6rem;
  }
  .notes>div {
    padding-top:.8rem;
  }
  .notes h4 {
    margin-bottom:.35rem;
  }
  .gallery {
    padding:.8rem;
  }
  .gallery-tools {
    display:grid;
    gap:.55rem;
    margin-bottom:.75rem;
  }
  .gallery-tools>div {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .caption {
    display:grid;
    grid-template-columns:minmax(0,1fr) 2.75rem;
    align-items:center;
    gap:.6rem;
    margin-top:.7rem;
  }
  .caption span {
    flex:1 1 100%;
  }
  .caption .zoom { width:2.75rem; padding:0; }
  .zoom .zoom-label { display:none; }
  .contact .wrap {
    grid-template-columns:minmax(0,1fr);
    gap:1.25rem;
  }
  .contact-links { justify-self:start; }
  .about {
    gap:1rem;
  }
  footer {
    gap:.8rem;
  }
  footer .brand {
    font-size:1rem;
  }
  .atlas .shot>img {
    display:none;
  }
  .atlas-preview:not([hidden]) {
    display:grid;
    text-align:left;
    background:#11252d;
    color:#eef8f7;
    padding:clamp(.9rem,4vw,1.55rem);
    font-family:var(--sans);
    font-size:1rem;
    line-height:1.35;
  }
  .diagram-title {
    font-size:1.07rem;
    font-weight:650;
    letter-spacing:0;
    border-bottom:1px solid #40565e;
    margin-bottom:1rem;
    padding-bottom:.7rem;
  }
  .route-node {
    display:grid;
    grid-template-columns:3rem 1fr;
    align-items:center;
    gap:.75rem;
  }
  .route-node b {
    padding:.45rem .15rem;
    text-align:center;
    border-radius:5px;
    background:#213e49;
    color:#bbf6eb;
  }
  .route-link {
    margin-left:1.45rem;
    border-left:2px solid #74bfae;
    padding:.25rem .7rem;
    color:#c3d6d6;
    font: .875rem/1.3 Consolas,monospace;
  }
  .message-row {
    display:grid;
    grid-template-columns:minmax(0, 1fr) auto;
    gap:.15rem .65rem;
    padding:.55rem 0;
    padding-inline-start:1rem;
    position:relative;
    border-bottom:1px solid #40565e;
  }
  .message-row:last-child {
    border-bottom:0;
  }
  .message-row strong {
    font-weight:600;
  }
  .message-row>span {
    color:#a7d6c9;
    font-size:.875rem;
  }
  .message-row b {
    grid-column:1/-1;
    font: .875rem/1.4 Consolas,monospace;
    color:#c7d7e5;
  }
}

@media(max-width:22rem) {
  :root {
    --gutter:.75rem;
  }
  .mast .brand {
    font-size:1rem;
    gap:.3rem;
  }
  .mast .brand img {
    width:1.5rem;
    height:1.5rem;
  }
  .mast {
    gap:.2rem;
  }
  .languages a {
    padding:0;
  }
  .vpn-showcase {
    padding:.75rem;
  }
  .index {
    gap:.05rem .8rem;
  }
  .index a {
    font-size:.875rem;
  }
  .mini-grid {
    grid-template-columns:minmax(0,1fr);
  }
  .account strong {
    font-size:1.14rem;
  }
  .ring {
    width:4.1rem;
  }
  .bot-links {
    display:grid;
    justify-items:center;
  }
  .kicker {
    letter-spacing:.045em;
  }
}

@supports(padding:max(0px)) {
  body {
    padding-left:env(safe-area-inset-left);
    padding-right:env(safe-area-inset-right);
    padding-bottom:env(safe-area-inset-bottom);
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
}

.diagram-caption { display: none; }
@media (max-width: 44rem) {
  .atlas .caption > span:first-child { display: none; }
  .atlas .caption .diagram-caption { display: block; }
}
@media (max-width: 20rem) {
  .mast .brand { white-space: normal; min-width: 0; max-width: 100%; }
}

.team {
  padding-block: clamp(2.5rem, 6vw, 6rem);
  border-top: 1px solid var(--line);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
  margin-top: clamp(1.25rem, 3vw, 2.3rem);
}
.profile { min-width: 0; }
.profile-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 9px;
  margin-bottom: 1rem;
}
.profile-photo.hillside { object-position: center 54%; }
.profile h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); line-height: 1.15; margin-bottom: .45rem; }
.profile p { line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; }
.personal-text p { margin-top: .75rem; }
.material-list:empty, .personal-text:empty { display: none; }
.material-list { list-style: none; margin: .55rem 0 0; padding: 0; }
.material-list a { display: inline-block; padding-block: .5rem; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; overflow-wrap: anywhere; }
.contact p + p { margin-top: .75rem; }
.contact p strong { color: var(--ink); }

/* The cover traces a packet arriving at a station and leaving on the next link. */
.signal-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  fill: none;
  stroke-linecap: round;
}
.signal-contours { stroke: #8db4a8; stroke-opacity: .3; }
.signal-rails { stroke: #a7cfb6; stroke-opacity: .65; }
.signal-packets { stroke-width: 3; }
.signal-packets use { opacity: 0; stroke-dasharray: 12 110; }
.incoming { stroke: #9af4d6; }
.outgoing { stroke: #f3d284; }
.signal-station { fill: #ffdfa0; stroke: #172f32; stroke-width: 2; }
.signal-echo { stroke: #eacc88; opacity: .48; }

@keyframes packet-run {
  0% { opacity: 0; stroke-dashoffset: 13; }
  12% { opacity: 1; }
  88% { opacity: 1; }
  100% { opacity: 0; stroke-dashoffset: -100; }
}
@keyframes station-echo {
  from { opacity: .9; transform: scale(.45); }
  to { opacity: 0; transform: scale(2.4); }
}
@keyframes screen-arrive {
  from { opacity: .63; transform: translateY(5px); }
  to { opacity: 1; transform: none; }
}
@keyframes route-hop {
  0%, 100% { opacity: 0; }
  35% { opacity: .85; }
}
@keyframes core-scan {
  from { opacity: 0; transform: translateX(-100%); }
  20%, 72% { opacity: .85; }
  to { opacity: 0; transform: translateX(100%); }
}

@media (prefers-reduced-motion: no-preference) {
  .cover.motion-visible .incoming { animation: packet-run 1.25s ease-in-out .1s 2; }
  .cover.motion-visible .outgoing { animation: packet-run 1.25s ease-out 1.23s 2; }
  .cover.motion-visible .signal-echo { animation: station-echo 1.25s ease-out 1.23s 2; }
  .motion-visible .pane:not([hidden]),
  .shot.motion-visible:not(.screen-changing) > img { animation: screen-arrive .25s ease-out; }

  .game .shot { position: relative; }
  .game .shot.motion-visible:not(.screen-changing)::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 3px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(90deg, transparent 10%, #ea6842 48%, #fff1bd 60%, transparent 85%);
    animation: core-scan .9s ease-out;
  }
  .switches button, .gallery-tools button, .button { transition: transform .15s ease-out; }
  .switches button:active, .gallery-tools button:active, .button:active { transform: scale(.97); }
  .motion-visible .route-node b { position: relative; }
  .motion-visible .route-node b::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 4px;
    border: 2px solid #93f4d0;
    opacity: 0;
    animation: route-hop .65s ease-out var(--hop-delay, 0s);
  }
  .motion-visible .message-row::before {
    content: "";
    position: absolute;
    inset-inline-start: .125rem;
    inset-block: .65rem;
    width: 3px;
    border-radius: 2px;
    background: #93f4d0;
    pointer-events: none;
    opacity: 0;
    animation: route-hop .65s ease-out var(--hop-delay, 0s);
  }
  .atlas-preview .route-node:nth-of-type(4), .atlas-preview .message-row:nth-of-type(3) { --hop-delay: .32s; }
  .atlas-preview .route-node:nth-of-type(6), .atlas-preview .message-row:nth-of-type(4) { --hop-delay: .64s; }
}
@media (prefers-reduced-motion: no-preference) {
  .case-head.motion-visible h2 { animation: screen-arrive .36s ease-out; }
}

.makers {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: clamp(.85rem, 2vw, 1.65rem);
  font-weight: 600;
  font-size: .94rem;
  color: var(--muted);
}
.makers:hover { color: var(--accent); }
.maker-photos { display: flex; padding-inline-end: .1rem; }
.maker-photos img {
  width: 2rem;
  height: 2rem;
  border: 2px solid var(--paper);
  border-radius: 50%;
  object-fit: cover;
}
.maker-photos img + img { margin-inline-start: -.45rem; }
