:root {
  color-scheme: light;
  --bg: #eef5ff;
  --bg-2: #fff0fd;
  --surface: rgba(255,255,255,.82);
  --surface-solid: #ffffff;
  --ink: #080b19;
  --muted: #3d4560;
  --line: rgba(26,54,122,.25);
  --cyan: #20dfff;
  --blue: #246bff;
  --green: #45ef9b;
  --lime: #a9ff39;
  --yellow: #ffe94f;
  --pink: #ff4fd8;
  --purple: #8558ff;
  --orange: #ff7654;
  --glow: rgba(65,124,255,.22);
  --shadow: 0 18px 50px rgba(48,74,130,.14);
  --radius: 24px;
  --radius-small: 16px;
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --max: 1180px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #020315;
  --bg-2: #090329;
  --surface: rgba(4,6,30,.84);
  --surface-solid: #050719;
  --ink: #f9fbff;
  --muted: #c8cbe3;
  --line: rgba(35,225,255,.45);
  --cyan: #20f0ff;
  --blue: #176eff;
  --green: #00f6b6;
  --lime: #dfff3f;
  --yellow: #fff33b;
  --pink: #ff36df;
  --purple: #9b4dff;
  --orange: #ff6c72;
  --glow: rgba(255,46,222,.28);
  --shadow: 0 0 0 1px rgba(27,234,255,.25), 0 0 28px rgba(255,48,222,.12);
  --display: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(255,105,224,.33), transparent 24rem),
    radial-gradient(circle at 92% 5%, rgba(43,177,255,.34), transparent 28rem),
    radial-gradient(circle at 40% 55%, rgba(179,255,103,.18), transparent 25rem),
    linear-gradient(135deg, var(--bg), var(--bg-2));
  font-family: var(--body);
  line-height: 1.45;
  transition: color .25s ease, background .35s ease;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at 74% 10%, rgba(112,38,255,.22), transparent 27rem),
    radial-gradient(circle at 18% 2%, rgba(255,30,205,.13), transparent 23rem),
    linear-gradient(180deg, #020315 0%, #05071b 55%, #020315 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .24;
  background-image: radial-gradient(rgba(21,29,63,.65) .7px, transparent .7px);
  background-size: 11px 11px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
html[data-theme="dark"] body::before {
  opacity: .18;
  background-image: radial-gradient(rgba(66,241,255,.9) .7px, transparent .7px);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.shell { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }

.site-header {
  position: sticky;
  top: 12px;
  z-index: 50;
  margin-top: 12px;
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--surface-solid) 78%, transparent);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px) saturate(1.35);
}
html[data-theme="dark"] .site-header {
  border-color: rgba(26,222,255,.6);
  box-shadow: 0 0 0 1px rgba(0,0,0,.8) inset, 0 0 24px rgba(0,216,255,.13);
}

.brand {
  position: relative;
  min-width: 205px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  isolation: isolate;
}
.brand__halo {
  position: absolute;
  inset: 3px 0;
  border-radius: 999px;
  padding: 3px;
  background: linear-gradient(105deg, #4fefff, #85ff58, #fff15d, #ff75d8, #7a63ff, #4fefff);
  box-shadow: 0 0 18px rgba(83,188,255,.28);
  z-index: -2;
}
.brand__halo::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: inherit;
  background: color-mix(in srgb, var(--surface-solid) 86%, transparent);
  z-index: -1;
}
html[data-theme="dark"] .brand__halo::after { background: #020315; }
.brand__word {
  font-family: var(--display);
  font-size: 29px;
  line-height: 1;
  font-style: italic;
  font-weight: 1000;
  letter-spacing: -.06em;
  color: #061127;
  text-shadow: 1px 1px 0 #fff;
  transform: skewX(-8deg);
}
html[data-theme="dark"] .brand__word {
  background: linear-gradient(180deg, #edff55 0 22%, #66ffbc 27% 43%, #38dcff 45% 60%, #756aff 62% 77%, #ff50dc 79% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 12px rgba(45,225,255,.28);
}

.site-nav { display: flex; align-items: center; justify-content: center; gap: 22px; }
.site-nav a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  padding: 8px 2px;
  position: relative;
}
.site-nav a::after {
  content: "";
  position: absolute;
  height: 2px;
  left: 0; right: 100%; bottom: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  transition: right .2s ease;
}
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { right: 0; }

.site-header__actions { display: flex; align-items: center; gap: 10px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 3px 0 var(--ink);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--ink); }
.button--compact { min-height: 44px; padding-inline: 18px; background: linear-gradient(135deg, var(--lime), var(--green)); color: #07111d; }
.button--primary { background: linear-gradient(120deg, var(--lime), var(--green)); color: #07111d; }
.button--ghost { background: color-mix(in srgb, var(--surface-solid) 70%, transparent); }
html[data-theme="dark"] .button { border-color: rgba(255,255,255,.9); box-shadow: 0 0 14px rgba(255,48,220,.18); }
html[data-theme="dark"] .button--compact,
html[data-theme="dark"] .button--primary { background: linear-gradient(110deg, var(--pink), #ff74ef); color: #090313; border-color: var(--pink); box-shadow: 0 0 19px rgba(255,47,219,.45); }

.theme-toggle {
  appearance: none;
  border: 0;
  background: none;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 3px;
}
.theme-toggle__label { font-family: var(--mono); font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.theme-toggle__track {
  width: 42px;
  height: 22px;
  padding: 3px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--pink));
}
.theme-toggle__thumb {
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #071126;
  transition: transform .2s ease;
}
html[data-theme="dark"] .theme-toggle__thumb { transform: translateX(19px); }
html[data-theme="dark"] .theme-toggle__track { background: linear-gradient(90deg, var(--cyan), var(--purple)); }

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: 24px;
  padding-block: 70px 44px;
}
.hero__copy { position: relative; z-index: 2; }
.pill-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 19px; }
.pill {
  border: 1.5px solid color-mix(in srgb, var(--blue) 55%, var(--ink));
  border-radius: 999px;
  padding: 5px 10px;
  font: 800 11px/1 var(--mono);
  text-transform: uppercase;
  background: color-mix(in srgb, var(--surface-solid) 62%, transparent);
}
html[data-theme="dark"] .pill { border-color: var(--cyan); box-shadow: 0 0 8px rgba(36,231,255,.18); }
.hero h1 {
  max-width: 690px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(58px, 7.7vw, 102px);
  line-height: .86;
  letter-spacing: -.07em;
  font-style: italic;
  font-weight: 1000;
  text-wrap: balance;
}
html[data-theme="dark"] .hero h1 {
  font-size: clamp(53px, 7vw, 90px);
  line-height: .9;
  letter-spacing: -.075em;
  font-style: normal;
  text-transform: uppercase;
  background: linear-gradient(180deg, #51ffc2 0 31%, #5ee8ff 32% 48%, #ff49db 52% 85%, #b063ff 88%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 10px rgba(255,49,220,.12));
}
.hero__lede { max-width: 620px; margin: 24px 0 26px; font-size: clamp(18px, 2vw, 23px); line-height: 1.35; font-weight: 600; color: var(--muted); }
html[data-theme="dark"] .hero__lede { font-family: var(--mono); font-size: clamp(16px, 1.45vw, 19px); }
.button-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__art { min-width: 0; position: relative; }
.hero-graphic { width: 100%; overflow: visible; }
.theme-art--dark { display: none; }
html[data-theme="dark"] .theme-art--light { display: none; }
html[data-theme="dark"] .theme-art--dark { display: block; }
.hero-stars path, .hero-stars circle { stroke: #101833; fill: var(--yellow); stroke-width: 4; stroke-linecap: round; }
.hero-clouds ellipse { fill: rgba(255,255,255,.91); stroke: rgba(71,132,229,.24); stroke-width: 2; }
.wire-grid path { stroke: #0c6eff; stroke-width: 2; opacity: .9; }
.dark-stars circle { fill: var(--pink); }.dark-stars path { stroke: var(--cyan); stroke-width: 3; }
.hero__art::after {
  content: "Technology for people, not the other way around.";
  position: absolute;
  right: 2%;
  bottom: 6%;
  width: 180px;
  transform: rotate(-7deg);
  font: 800 17px/1.15 "Comic Sans MS", "Bradley Hand", cursive;
  color: #19213f;
  z-index: 5;
  pointer-events: none;
}
html[data-theme="dark"] .hero__art::after {
  right: 1%;
  top: 15%;
  bottom: auto;
  color: #fff;
  text-shadow: 0 0 10px var(--pink);
}


.section-shell {
  margin-bottom: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
html[data-theme="dark"] .section-shell {
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(7,10,34,.94), rgba(3,4,20,.94));
  border-color: rgba(33,226,255,.35);
}
.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(240px, 430px);
  gap: 28px;
  align-items: end;
  margin-bottom: 25px;
}
.section-heading--tight { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); }
.section-heading h2, .page-hero h1, .cta h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 1000;
  font-style: italic;
  letter-spacing: -.055em;
  line-height: .95;
}
.section-heading h2 { font-size: clamp(34px, 4.5vw, 58px); }
.section-heading > p { margin: 0; color: var(--muted); font-size: 17px; }
.eyebrow {
  width: max-content;
  max-width: 100%;
  margin: 0 0 8px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--blue) 52%, var(--line));
  border-radius: 999px;
  font: 900 11px/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  background: color-mix(in srgb, var(--surface-solid) 65%, transparent);
}
html[data-theme="dark"] .eyebrow { border-color: var(--cyan); color: var(--cyan); background: #04051a; }
.text-link { justify-self: end; font-weight: 900; text-decoration-thickness: 2px; text-underline-offset: 4px; }

.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.service-card {
  position: relative;
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  padding: 20px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.64);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.service-card:nth-child(1) { background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,232,144,.66)); }
.service-card:nth-child(2) { background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(255,188,233,.62)); }
.service-card:nth-child(3) { background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(149,231,255,.66)); }
.service-card:nth-child(4) { background: linear-gradient(145deg, rgba(255,255,255,.86), rgba(184,255,201,.66)); }
html[data-theme="dark"] .service-card {
  min-height: 300px;
  border-radius: 9px;
  background: #04051a;
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(18,223,255,.09), inset 0 0 30px rgba(95,46,255,.05);
}
html[data-theme="dark"] .service-card:nth-child(odd) { border-color: var(--pink); }
.service-card__icon { width: 92px; height: 92px; display: grid; place-items: center; }
.service-icon { width: 88px; height: 88px; overflow: visible; }
.icon-stroke { stroke: #071126; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.icon-fill--yellow { fill: var(--yellow); }.icon-fill--pink { fill: #ff67ce; }.icon-fill--cyan { fill: #41dfff; }
.icon-cut { fill: #fff; stroke: #071126; stroke-width: 4; }
html[data-theme="dark"] .service-icon { filter: drop-shadow(0 0 8px rgba(255,40,221,.4)); }
html[data-theme="dark"] .icon-stroke { stroke: #f5f7ff; }
html[data-theme="dark"] .icon-cut { fill: #04051a; stroke: #f5f7ff; }
.service-card h3 { margin: 0 0 7px; font: 1000 21px/1 var(--display); letter-spacing: -.04em; }
html[data-theme="dark"] .service-card h3 { color: var(--pink); }
html[data-theme="dark"] .service-card:nth-child(even) h3 { color: var(--green); }
.service-card p { margin: 0; color: var(--muted); font-size: 14px; }
.card-arrow {
  align-self: end;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1.5px solid var(--ink);
  border-radius: 50%;
  text-decoration: none;
  font-weight: 900;
}
html[data-theme="dark"] .card-arrow { border-color: var(--cyan); color: var(--cyan); }

.founders-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.founder-card {
  display: grid;
  grid-template-columns: 43% 1fr;
  min-height: 245px;
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  background: rgba(255,255,255,.68);
}
html[data-theme="dark"] .founder-card { border-radius: 8px; border-color: var(--purple); background: #04051a; box-shadow: 0 0 14px rgba(255,46,221,.12); }
.founder-card__image { min-height: 100%; display: flex; align-items: end; background: linear-gradient(135deg, rgba(38,178,255,.18), rgba(255,68,220,.15)); }
.founder-avatar { width: 100%; height: 100%; object-fit: cover; }
.founder-card__copy { padding: 20px; display: flex; flex-direction: column; align-items: start; justify-content: center; }
.micro { margin: 0 0 4px; font: 800 10px/1.2 var(--mono); text-transform: uppercase; color: var(--muted); letter-spacing: .05em; }
.founder-card h3 { margin: 0 0 10px; font: 1000 25px/1 var(--display); letter-spacing: -.045em; }
.founder-card p:not(.micro) { margin: 0 0 14px; color: var(--muted); font-size: 14px; }
.founder-card a { margin-top: auto; font-weight: 900; text-underline-offset: 4px; }

.work-grid, .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.work-card, .article-card {
  overflow: hidden;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.68);
}
html[data-theme="dark"] .work-card, html[data-theme="dark"] .article-card { border-radius: 8px; background: #04051a; border-color: rgba(255,55,221,.72); }
.work-card:nth-child(2), .article-card:nth-child(2) { border-color: color-mix(in srgb, var(--cyan) 65%, var(--line)); }
.work-card__graphic { padding: 10px 10px 0; }
.card-graphic { width: 100%; border-radius: 12px; }
.work-card__copy { padding: 14px 16px 17px; }
.work-card h3, .article-card h3 { margin: 0 0 6px; font: 1000 20px/1.05 var(--display); letter-spacing: -.04em; }
.work-card p, .article-card p { margin: 0; color: var(--muted); font-size: 13px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag-row span { padding: 4px 8px; border: 1px solid var(--line); border-radius: 999px; font: 800 9px/1 var(--mono); }
html[data-theme="dark"] .tag-row span { border-color: var(--pink); color: var(--pink); }

.article-card { display: grid; grid-template-columns: 145px 1fr; min-height: 150px; }
.article-card__graphic { padding: 10px 0 10px 10px; align-self: stretch; display: grid; place-items: center; }
.article-graphic { width: 100%; height: 100%; min-height: 110px; object-fit: cover; }
.article-card__copy { padding: 15px; }
.article-card h3 a { text-decoration: none; }
.article-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.article-card p:not(.micro) { margin-top: 7px; }

.cta {
  position: relative;
  min-height: 220px;
  margin-block: 30px 36px;
  padding: 34px 38px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(105deg, rgba(117,219,255,.7), rgba(255,190,246,.7), rgba(222,255,136,.65));
  box-shadow: var(--shadow);
}
html[data-theme="dark"] .cta {
  border-radius: 10px;
  border-color: var(--cyan);
  background:
    linear-gradient(0deg, rgba(4,6,26,.86), rgba(4,6,26,.86)),
    linear-gradient(90deg, #00bde8, #ff29d6);
  box-shadow: 0 0 25px rgba(255,35,217,.15);
}
.cta__planet { width: 170px; }
.cta h2 { font-size: clamp(40px, 4vw, 60px); }
.cta p:not(.eyebrow) { margin: 8px 0 0; color: var(--muted); font-weight: 600; }

.site-footer { margin-top: 24px; padding-block: 0 34px; }
.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.site-footer .brand { min-width: 155px; height: 42px; }
.site-footer .brand__word { font-size: 22px; }
.site-footer__links { display: flex; justify-content: center; gap: 18px; font-size: 13px; font-weight: 800; }
.site-footer__links a { text-decoration: none; }
.site-footer p { margin: 0; max-width: 290px; text-align: right; color: var(--muted); font-size: 12px; }

.page-hero { padding-block: 100px 48px; max-width: 980px; }
.page-hero h1 { font-size: clamp(62px, 9vw, 116px); }
html[data-theme="dark"] .page-hero h1 { color: var(--green); text-shadow: 0 0 15px rgba(0,245,182,.12); }
.lede { max-width: 760px; margin: 22px 0 0; font-size: clamp(20px, 2.3vw, 28px); color: var(--muted); font-weight: 600; }
.prose {
  max-width: 780px;
  margin-bottom: 80px;
  font-size: 18px;
  line-height: 1.72;
}
.prose--wide { max-width: 930px; }
.prose h2 {
  margin: 2.2em 0 .55em;
  font: 1000 clamp(30px, 4vw, 48px)/1 var(--display);
  letter-spacing: -.05em;
}
.prose h3 { margin-top: 2em; font: 900 25px/1.1 var(--display); }
.prose p { color: var(--muted); }
.prose a { font-weight: 800; text-underline-offset: 4px; }
.prose code { font-family: var(--mono); padding: 2px 6px; border-radius: 6px; background: color-mix(in srgb, var(--surface-solid) 65%, var(--pink) 6%); }

.article { padding-top: 92px; }
.article__header { max-width: 880px; margin-bottom: 50px; }
.article__header h1 { margin: 0; font: 1000 clamp(52px, 8vw, 92px)/.94 var(--display); letter-spacing: -.065em; font-style: italic; }
html[data-theme="dark"] .article__header h1 { color: var(--pink); }
.article__meta { display: flex; gap: 16px; margin-top: 20px; font: 800 12px/1.2 var(--mono); color: var(--muted); }

@media (max-width: 1040px) {
  .site-header { grid-template-columns: auto 1fr; }
  .site-nav { order: 3; grid-column: 1 / -1; justify-content: flex-start; overflow-x: auto; padding: 0 4px 2px; }
  .site-header__actions { justify-self: end; }
  .hero { grid-template-columns: 1fr; padding-top: 56px; }
  .hero__art { max-width: 700px; margin-inline: auto; }
  .hero__scribble { display: none !important; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .work-grid, .article-grid { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 180px 1fr; }
  .cta { grid-template-columns: 130px 1fr; }
  .cta > .button { grid-column: 2; justify-self: start; }
}

@media (max-width: 740px) {
  .shell { width: min(100% - 20px, var(--max)); }
  .site-header { top: 6px; margin-top: 6px; padding: 8px 9px; gap: 10px; border-radius: 17px; }
  .brand { min-width: 145px; height: 42px; }
  .brand__word { font-size: 22px; }
  .site-header__actions .button { display: none; }
  .theme-toggle__label { display: none; }
  .site-nav { gap: 16px; }
  .site-nav a { font-size: 12px; }
  .hero { min-height: auto; padding-block: 58px 28px; }
  .hero h1 { font-size: clamp(50px, 15vw, 74px); }
  .hero__lede { font-size: 17px; }
  .hero__art { margin-top: -8px; }
  .section-shell { padding: 20px; border-radius: 19px; }
  .section-heading, .section-heading--tight { grid-template-columns: 1fr; gap: 12px; align-items: start; }
  .text-link { justify-self: start; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .founders-grid { grid-template-columns: 1fr; }
  .founder-card { grid-template-columns: 1fr; }
  .founder-card__image { max-height: 260px; }
  .article-card { grid-template-columns: 1fr; }
  .article-card__graphic { padding: 10px 10px 0; }
  .article-graphic { height: 160px; }
  .cta { grid-template-columns: 1fr; padding: 24px; }
  .cta__planet { width: 130px; }
  .cta > .button { grid-column: auto; }
  .site-footer__inner { grid-template-columns: 1fr; justify-items: start; }
  .site-footer__links { justify-content: flex-start; flex-wrap: wrap; }
  .site-footer p { text-align: left; }
  .page-hero { padding-top: 72px; }
}

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

/* --------------------------------------------------------------------------
   Interactive WebGL hero
   -------------------------------------------------------------------------- */
.hero-webgl {
  position: relative;
  width: 100%;
  min-height: 500px;
  aspect-ratio: 1 / .92;
  isolation: isolate;
  cursor: grab;
  touch-action: none;
}
.hero-webgl:active { cursor: grabbing; }
.hero-webgl__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  opacity: 0;
  transition: opacity .35s ease;
}
.hero-webgl[data-webgl-ready="true"] .hero-webgl__canvas { opacity: 1; }

/* Konami: visual debug/simulation layer. The 3D object has its own overdrive. */
.konami-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 1000;
  translate: -50% 20px;
  opacity: 0;
  pointer-events: none;
  padding: 10px 15px;
  border: 1px solid var(--cyan);
  border-radius: 6px;
  background: #020315;
  color: var(--lime);
  box-shadow: 0 0 30px rgba(32,240,255,.28);
  font: 900 12px/1 var(--mono);
  letter-spacing: .09em;
  transition: opacity .18s ease, translate .18s ease;
}
.konami-toast.is-visible { opacity: 1; translate: -50% 0; }
html.konami-active body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .13;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(255,255,255,.32) 4px);
  mix-blend-mode: overlay;
}
html.konami-active .section-shell,
html.konami-active .site-header {
  outline: 1px dashed color-mix(in srgb, var(--pink) 70%, transparent);
  outline-offset: 4px;
}

@media (max-width: 900px) {
  .hero-webgl { min-height: 390px; aspect-ratio: 1.12 / 1; }
}

@media (max-width: 700px) {
}

@media (prefers-reduced-motion: reduce) {
  .hero-webgl__canvas,
  .konami-toast { transition: none; }
}

/* --------------------------------------------------------------------------
   Hidden Hidden theme
   -------------------------------------------------------------------------- */
html[data-theme="hidden"] {
  color-scheme: dark;
  --bg: #160b1f;
  --bg-2: #2a1020;
  --surface: rgba(34,16,42,.88);
  --surface-solid: #1d1028;
  --ink: #fff4de;
  --muted: #e4c7d7;
  --line: rgba(255,132,45,.48);
  --cyan: #9d6cff;
  --blue: #834fff;
  --green: #79b84a;
  --lime: #9cd35d;
  --yellow: #ffd56b;
  --pink: #d850a7;
  --purple: #8d5cff;
  --orange: #ff842d;
  --glow: rgba(255,117,35,.25);
  --shadow: 0 0 0 1px rgba(255,126,38,.16), 0 12px 38px rgba(5,0,8,.38);
  --display: "Arial Black", "Helvetica Neue", Arial, sans-serif;
}

html[data-theme="hidden"] body {
  background:
    radial-gradient(circle at 82% 9%, rgba(255,119,33,.20), transparent 25rem),
    radial-gradient(circle at 16% 2%, rgba(127,74,210,.24), transparent 26rem),
    radial-gradient(circle at 50% 75%, rgba(114,50,116,.18), transparent 24rem),
    linear-gradient(180deg, #15091d 0%, #241027 54%, #100817 100%);
}

html[data-theme="hidden"] body::before {
  opacity: .18;
  background-image: radial-gradient(rgba(255,143,61,.72) .8px, transparent .8px);
  background-size: 13px 13px;
}

html[data-theme="hidden"] .site-header,
html[data-theme="hidden"] .section-shell,
html[data-theme="hidden"] .cta,
html[data-theme="hidden"] .page-hero,
html[data-theme="hidden"] .post-body {
  border-color: rgba(255,132,45,.42);
  box-shadow: 0 0 0 1px rgba(0,0,0,.45) inset, 0 0 28px rgba(255,111,32,.10);
}

html[data-theme="hidden"] .brand__halo::after { background: #1b0d24; }
html[data-theme="hidden"] .brand__word {
  background: linear-gradient(180deg, #ffe27b 0 24%, #ff9a3b 25% 54%, #b061ff 56% 78%, #8fd35e 80% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 12px rgba(255,122,33,.25);
}

html[data-theme="hidden"] .button--compact,
html[data-theme="hidden"] .button--primary {
  background: linear-gradient(115deg, #ff9a38, #ff6f1f);
  color: #1b0918;
  border-color: #ff9a38;
  box-shadow: 0 0 18px rgba(255,116,28,.28);
}

html[data-theme="hidden"] .hero h1 {
  background: linear-gradient(180deg, #ffe081 0 28%, #ff9a3d 30% 64%, #bf66ff 66% 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 18px rgba(255,112,30,.18));
}

html[data-theme="hidden"] .hero__art::after {
  color: #ffe7b0;
  text-shadow: 0 0 12px rgba(255,118,32,.5);
}

html[data-theme="hidden"] .eyebrow,
html[data-theme="hidden"] .pill {
  border-color: #ff8a2f;
  color: #ffd56b;
  background: rgba(31,12,34,.72);
}

html[data-theme="hidden"] .theme-toggle__track {
  border-color: #ff8a2f;
  background: linear-gradient(90deg, #ff8a2f, #5a2a75);
  box-shadow: 0 0 12px rgba(255,126,36,.28);
}

html[data-theme="hidden"] .theme-toggle__thumb {
  background: #ffd56b;
  box-shadow: 0 0 8px rgba(255,213,107,.45);
}

/* Hidden page decorations. DOM is always present, but hidden outside the secret theme. */
.hidden-decor {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  overflow: hidden;
}
html[data-theme="hidden"] .hidden-decor { display: block; }

.bat {
  position: absolute;
  width: clamp(34px, 4vw, 64px);
  height: auto;
  opacity: .82;
  filter: drop-shadow(0 2px 3px rgba(255,119,32,.22));
  will-change: transform;
  animation: hidden-bat-flight 13s linear infinite;
}
.bat--1 { top: 12%; left: -9%; animation-duration: 14s; animation-delay: -2s; --bat-rise: -8vh; --bat-scale: .8; }
.bat--2 { top: 27%; left: -13%; animation-duration: 19s; animation-delay: -11s; --bat-rise: 11vh; --bat-scale: .62; }
.bat--3 { top: 49%; left: -12%; animation-duration: 16s; animation-delay: -7s; --bat-rise: -13vh; --bat-scale: 1.0; }
.bat--4 { top: 68%; left: -10%; animation-duration: 22s; animation-delay: -16s; --bat-rise: 8vh; --bat-scale: .55; }
.bat--5 { top: 8%; left: -16%; animation-duration: 24s; animation-delay: -13s; --bat-rise: 15vh; --bat-scale: .46; }
.bat--6 { top: 80%; left: -12%; animation-duration: 18s; animation-delay: -4s; --bat-rise: -10vh; --bat-scale: .72; }

@keyframes hidden-bat-flight {
  0%   { transform: translate3d(-8vw, 0, 0) scale(var(--bat-scale)) rotate(-5deg); }
  22%  { transform: translate3d(26vw, var(--bat-rise), 0) scale(var(--bat-scale)) rotate(8deg); }
  48%  { transform: translate3d(58vw, 0, 0) scale(var(--bat-scale)) rotate(-7deg); }
  74%  { transform: translate3d(88vw, var(--bat-rise), 0) scale(var(--bat-scale)) rotate(6deg); }
  100% { transform: translate3d(124vw, 0, 0) scale(var(--bat-scale)) rotate(-4deg); }
}

.spider-line {
  position: absolute;
  top: -8vh;
  width: 1px;
  height: 32vh;
  background: rgba(24,17,25,.58);
  transform-origin: top center;
  animation: hidden-spider-line 6s ease-in-out infinite alternate;
}
.spider-line::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 1px;
  height: 100%;
  background: rgba(0,0,0,.55);
}
.spider-line .spider {
  position: absolute;
  left: -18px;
  bottom: -25px;
  width: 38px;
  height: auto;
  filter: drop-shadow(0 2px 2px rgba(255,128,40,.12));
}
.spider-line--1 { left: 8%; animation-duration: 7.4s; animation-delay: -1s; }
.spider-line--2 { left: 31%; height: 25vh; animation-duration: 5.7s; animation-delay: -3.2s; }
.spider-line--3 { left: 72%; height: 35vh; animation-duration: 8.6s; animation-delay: -5.1s; }
.spider-line--4 { left: 92%; height: 22vh; animation-duration: 6.8s; animation-delay: -2.3s; }

@keyframes hidden-spider-line {
  from { transform: translateY(-18vh); }
  to   { transform: translateY(52vh); }
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme="hidden"] .bat,
  html[data-theme="hidden"] .spider-line { animation: none; }
  html[data-theme="hidden"] .bat { display: none; }
  html[data-theme="hidden"] .spider-line { transform: translateY(18vh); }
}
