:root {
  --ink: #111315;
  --muted: #5b626b;
  --line: #d8dde3;
  --paper: #fbfaf7;
  --panel: #ffffff;
  --accent: #0f766e;
  --accent-dark: #0a4f49;
  --warm: #f2b84b;
  --rose: #d95f59;
  --shadow: 0 20px 50px rgba(17, 19, 21, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html.scroll-locked,
body.scroll-locked {
  height: 100%;
  overflow: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 20%, rgba(242, 184, 75, 0.16), transparent 28rem),
    linear-gradient(180deg, #fbfaf7 0%, #f3f6f5 48%, #fbfaf7 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body.home-page {
  --ink: #ffffff;
  --muted: #78716c;
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(6, 5, 10, 0.74);
  --accent: #d43d17;
  --accent-dark: #d43d17;
  --warm: #e5d011;
  --rose: #f87171;
  --shadow: 0 26px 52px rgba(15, 12, 10, 0.35), 0 3px 10px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.14);
  background: #06050a;
  color: var(--ink);
  min-height: 100svh;
  overflow-x: hidden;
}

body.home-page.scroll-locked {
  position: fixed;
  inset: 0;
  width: 100%;
}

body.home-page::before {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 50% 15%, rgba(120, 113, 108, 0.2), transparent 22rem),
    radial-gradient(circle at 14% 48%, rgba(212, 61, 23, 0.2), transparent 20rem),
    linear-gradient(180deg, rgba(6, 5, 10, 0.12), rgba(6, 5, 10, 0.76));
}

.home-page main,
.home-page .site-footer {
  position: relative;
  z-index: 2;
}

.home-page .site-header {
  z-index: 10;
}

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

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

.glass-filter {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
nav,
.actions,
.contact-band,
.cv-contact {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0.6rem;
  font-weight: 800;
}

nav {
  gap: 0.35rem;
}

nav a {
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  padding: 0.55rem 0.7rem;
}

nav a:hover {
  background: rgba(15, 118, 110, 0.08);
  color: var(--ink);
}

.home-page .site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 5, 10, 0.72);
}

.home-page nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

.section {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 5rem 0;
}

.portal-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1fr);
  gap: 64px;
  align-items: center;
  min-height: calc(100svh - 74px);
  padding-top: 64px;
  padding-bottom: 64px;
}

.portal-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.portal-copy h1 {
  max-width: 8ch;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.92;
}

.portal-lead {
  max-width: 45ch;
  margin-bottom: 0;
  color: #78716c;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.025em;
  line-height: 1.65;
}

.portal-actions,
.axiom-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.engage-button {
  display: block;
  width: 264px;
  height: 78px;
  border-radius: 24px;
  padding: 7px;
  background: linear-gradient(180deg, #3c3f46 0%, #15171b 55%, #2a2d33 100%);
  box-shadow: var(--shadow), inset 0 -2px 8px rgba(0, 0, 0, 0.9);
  transition: transform 300ms cubic-bezier(0.34, 1.4, 0.5, 1), box-shadow 300ms ease;
}

.engage-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 62px rgba(15, 12, 10, 0.46), 0 5px 18px rgba(212, 61, 23, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.engage-button:active {
  transform: translateY(1px) scale(0.985);
}

.engage-button:focus-visible,
.axiom-button:focus-visible,
.northgrid-button:focus-visible {
  outline: 2px solid #d43d17;
  outline-offset: 5px;
}

.engage-button-surface {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  border-radius: 17px;
  background:
    linear-gradient(180deg, rgba(229, 208, 17, 0.92), rgba(212, 61, 23, 0.94)),
    #d43d17;
  color: #292524;
  padding: 0 24px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
}

.engage-button-surface span:last-child {
  color: rgba(41, 37, 36, 0.62);
  font-size: 0.82rem;
}

.portal-status {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
  width: min(100%, 450px);
  margin: 32px 0 0;
}

.portal-status div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: rgba(6, 5, 10, 0.68);
  padding: 16px;
  box-shadow: var(--shadow);
}

.portal-status dt {
  color: #d43d17;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.portal-status dd {
  margin-top: 7px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 500;
}

.portal-visual {
  position: relative;
  min-height: 540px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: #06050a;
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.portal-field,
.axiom-field,
.northgrid-field,
.smoke-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.portal-fallback {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(120, 113, 108, 0.38) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.38;
}

.portal-readout {
  position: absolute;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.portal-readout div {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 17px;
  background: rgba(6, 5, 10, 0.7);
  padding: 14px;
  backdrop-filter: blur(12px);
}

.portal-readout span {
  color: #d43d17;
  font-size: 0.74rem;
  font-weight: 700;
}

.portal-readout p {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
}

.axiom-presence,
.northgrid-page {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.axiom-presence {
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 50% 10%, rgba(79, 70, 229, 0.2), transparent 28rem),
    #050505;
  color: #ffffff;
}

.axiom-grid-fallback {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.12;
  transform: perspective(520px) rotateX(63deg) translateY(160px);
  transform-origin: bottom center;
}

.axiom-field,
.northgrid-field {
  z-index: 0;
}

.axiom-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 96px 32px;
}

.axiom-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
  gap: 48px;
  width: min(1180px, 100%);
  min-height: 620px;
  margin: 0 auto;
  border: 1px solid transparent;
  border-radius: 16px;
  background:
    linear-gradient(rgba(15, 23, 42, 0.48), rgba(15, 23, 42, 0.26)) padding-box,
    linear-gradient(to right bottom, rgba(79, 70, 229, 0.6), rgba(255, 255, 255, 0.2), rgba(79, 70, 229, 0.1)) border-box;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.3), 0 100px 80px rgba(0, 0, 0, 0.12);
  padding: 48px;
  backdrop-filter: blur(12px);
}

.axiom-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}

.axiom-kicker,
.northgrid-kicker {
  margin-bottom: 0;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.axiom-kicker {
  color: rgba(255, 255, 255, 0.72);
}

.axiom-copy h2 {
  max-width: 8ch;
  margin-bottom: 16px;
  font-family: "Bebas Neue", Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  font-size: 5.5rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 0.9;
}

.axiom-copy p {
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
  line-height: 1.65;
}

.axiom-button,
.northgrid-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 9999px;
  font-weight: 700;
  transition: color 300ms ease, background 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.axiom-button {
  min-height: 48px;
  background: #4f46e5;
  color: #ffffff;
  padding: 0 24px;
}

.axiom-button:hover {
  background: #ffffff;
  color: #0f172a;
}

.axiom-text-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 700;
}

.axiom-text-link:hover {
  color: #ffffff;
}

.axiom-stack {
  display: grid;
  gap: 8px;
}

.axiom-stack div {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(248, 249, 250, 0.08);
  padding: 32px;
}

.axiom-stack span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 24px;
  border-radius: 9999px;
  background: rgba(79, 70, 229, 0.3);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
}

.axiom-stack h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 1.15rem;
}

.axiom-stack p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.55;
}

.northgrid-page {
  display: grid;
  place-items: center;
  padding: 40px;
  background:
    radial-gradient(circle at 76% 12%, rgba(248, 113, 113, 0.22), transparent 20rem),
    radial-gradient(circle at 18% 80%, rgba(251, 191, 36, 0.18), transparent 18rem),
    #fafafa;
  color: #ffffff;
}

.northgrid-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  border-radius: 24.8px;
  padding: 1px;
  background: rgba(15, 23, 42, 0.92);
  box-shadow: 0 32px 112px rgba(84, 62, 170, 0.16), 0 12.8px 32px rgba(222, 232, 255, 0.45);
}

.northgrid-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(23, 20, 39, 0.92);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(24px);
}

.northgrid-card::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(180deg, transparent, rgba(16, 16, 16, 0.9), transparent),
    radial-gradient(circle at 58% 20%, rgba(139, 92, 246, 0.2), transparent 22rem);
}

.northgrid-topline,
.northgrid-dashboard {
  position: relative;
  z-index: 1;
}

.northgrid-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px;
}

.northgrid-topline p {
  margin-bottom: 0;
  color: #e4e4e7;
  font-size: 0.88rem;
  font-weight: 650;
}

.northgrid-button {
  min-height: 44px;
  background: #fafafa;
  color: #020617;
  padding: 0 16px;
  font-size: 0.88rem;
}

.northgrid-button:hover {
  box-shadow: 0 12px 26px rgba(250, 250, 250, 0.18);
  transform: translateY(-1px);
}

.northgrid-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.75fr);
  gap: 16px;
  padding: 40px;
}

.northgrid-copy {
  display: flex;
  min-height: 460px;
  flex-direction: column;
  justify-content: end;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.04);
  padding: 40px;
}

.northgrid-kicker {
  color: #fbbf24;
}

.northgrid-copy h2 {
  max-width: 9ch;
  margin: 16px 0;
  color: #ffffff;
  font-size: 4.75rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
}

.northgrid-copy p {
  max-width: 44ch;
  margin-bottom: 0;
  color: #e4e4e7;
  font-size: 1.125rem;
  line-height: 1.55;
}

.northgrid-metrics,
.northgrid-panels {
  display: grid;
  gap: 8px;
}

.northgrid-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column: 1 / -1;
}

.northgrid-metrics article,
.northgrid-panels article {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
  padding: 16px;
}

.northgrid-metrics span {
  color: #e4e4e7;
  font-size: 0.78rem;
  font-weight: 650;
}

.northgrid-metrics strong {
  display: block;
  margin: 8px 0 4px;
  color: #ffffff;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}

.northgrid-metrics p,
.northgrid-panels p {
  margin-bottom: 0;
  color: #e4e4e7;
  font-size: 0.86rem;
  line-height: 1.45;
}

.northgrid-chart {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  align-items: end;
  gap: 6px;
  min-height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    rgba(255, 255, 255, 0.04);
  background-size: 100% 25%;
  padding: 20px;
}

.northgrid-chart span {
  display: block;
  height: var(--bar);
  min-height: 30px;
  border-radius: 9999px 9999px 8px 8px;
  background: linear-gradient(180deg, #f87171, #fbbf24);
  box-shadow: 0 14px 24px rgba(248, 113, 113, 0.18);
}

.northgrid-panels {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-column: 1 / -1;
}

.northgrid-panels h3 {
  margin-bottom: 8px;
  color: #ffffff;
}

.smoke-projects {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #080808;
  color: #ffffff;
  padding: 64px 32px;
}

.smoke-field {
  z-index: 0;
  background: #080808;
}

.smoke-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 18%, rgba(212, 61, 23, 0.18), transparent 24rem),
    radial-gradient(circle at 76% 76%, rgba(79, 70, 229, 0.2), transparent 28rem),
    linear-gradient(180deg, rgba(8, 8, 8, 0.1), rgba(8, 8, 8, 0.72));
}

.smoke-shell {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(8, 8, 8, 0.48);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  padding: 40px;
  backdrop-filter: blur(18px);
}

.smoke-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.6fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 32px;
}

.smoke-kicker {
  grid-column: 1 / -1;
  margin-bottom: 0;
  color: #d43d17;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.smoke-heading h2 {
  max-width: 9ch;
  margin-bottom: 0;
  color: #ffffff;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.9;
}

.smoke-heading p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 1rem;
  line-height: 1.7;
}

.smoke-project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.smoke-project-grid article {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
  padding: 24px;
  transition: border-color 300ms ease, background 300ms ease, transform 300ms ease;
}

.smoke-project-grid article:hover {
  border-color: rgba(212, 61, 23, 0.48);
  background: rgba(212, 61, 23, 0.12);
  transform: translateY(-2px);
}

.smoke-project-grid span {
  margin-bottom: auto;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
  font-weight: 800;
}

.smoke-project-grid h3 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 1.25rem;
}

.smoke-project-grid p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.9rem;
}

.smoke-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  color: #080808;
  padding: 0 22px;
  font-weight: 800;
  transition: background 300ms ease, transform 300ms ease, box-shadow 300ms ease;
}

.smoke-button:hover {
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(212, 61, 23, 0.18);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.62fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100svh - 74px);
  padding-top: 3rem;
}

.flow-art {
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 34rem),
    #06050a;
  isolation: isolate;
}

.flow-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100svh;
  overflow: visible;
  padding: 2rem 1rem;
  perspective: 1000px;
  perspective-origin: center 18%;
}

.flow-panel:nth-child(1) {
  z-index: 1;
}

.flow-panel:nth-child(2) {
  z-index: 2;
}

.flow-panel:nth-child(3) {
  z-index: 3;
}

.flow-panel:nth-child(4) {
  z-index: 4;
}

.flow-panel:nth-child(5) {
  z-index: 5;
}

.flow-panel:nth-child(6) {
  z-index: 6;
}

.flow-panel:nth-child(7) {
  z-index: 7;
}

.flow-panel:nth-child(8) {
  z-index: 8;
}

.flow-panel:nth-child(1) .flow-inner {
  border-color: rgba(255, 120, 64, 0.72);
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 218, 92, 0.35), transparent 28rem),
    linear-gradient(135deg, #fd5200 0%, #c73511 58%, #190705 100%);
  color: #ffffff;
}

.flow-panel:nth-child(2) .flow-inner {
  border-color: rgba(255, 255, 255, 0.18);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.14), transparent 24rem),
    linear-gradient(135deg, #252525 0%, #0f0f0f 54%, #020202 100%);
  color: #ffffff;
}

.flow-panel:nth-child(3) .flow-inner {
  border-color: rgba(245, 240, 232, 0.68);
  background:
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.72), transparent 24rem),
    linear-gradient(135deg, #f5f0e8 0%, #d8d1c4 62%, #8b8378 100%);
  color: #080808;
}

.flow-panel:nth-child(4) .flow-inner {
  border-color: rgba(92, 124, 255, 0.78);
  background:
    radial-gradient(circle at 82% 12%, rgba(95, 129, 255, 0.55), transparent 26rem),
    linear-gradient(135deg, #1a3de8 0%, #071c74 60%, #030614 100%);
  color: #ffffff;
}

.flow-panel:nth-child(5) .flow-inner {
  border-color: rgba(236, 72, 153, 0.54);
  background:
    radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.32), transparent 28rem),
    linear-gradient(135deg, #42123b 0%, #22112f 54%, #07040d 100%);
  color: #ffffff;
}

.flow-panel:nth-child(6) .flow-inner {
  border-color: rgba(34, 197, 94, 0.44);
  background:
    radial-gradient(circle at 76% 20%, rgba(22, 163, 74, 0.28), transparent 24rem),
    linear-gradient(135deg, #0d3b2e 0%, #10251f 54%, #030806 100%);
  color: #f5fff8;
}

.flow-panel:nth-child(7) .flow-inner {
  border-color: rgba(125, 211, 252, 0.42);
  background:
    radial-gradient(circle at 18% 20%, rgba(125, 211, 252, 0.28), transparent 24rem),
    linear-gradient(135deg, #243447 0%, #101827 54%, #030712 100%);
  color: #ffffff;
}

.flow-panel:nth-child(8) .flow-inner {
  border-color: rgba(251, 113, 133, 0.5);
  background:
    radial-gradient(circle at 82% 72%, rgba(251, 113, 133, 0.32), transparent 24rem),
    linear-gradient(135deg, #5c1824 0%, #280912 58%, #080205 100%);
  color: #ffffff;
}

.flow-panel:last-child {
  min-height: 100svh;
}

.flow-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1024px, calc(100% - 2rem));
  min-height: min(760px, calc(100svh - 4rem));
  overflow: hidden;
  border: 4px solid rgba(108, 108, 108, 0.82);
  border-radius: 30px;
  box-shadow:
    0 0 #0000004d,
    0 9px 20px #0000004a,
    0 37px 37px #00000042,
    0 84px 50px #00000026,
    0 149px 60px #0000000a,
    0 233px 65px #00000003;
  padding: clamp(1.6rem, 4.8vw, 4rem);
  transform-origin: center top;
  transform-style: preserve-3d;
  will-change: transform;
}

.flow-inner::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.14), transparent 22rem);
  opacity: 0.8;
}

.flow-inner > * {
  position: relative;
  z-index: 1;
}

.flow-kicker {
  margin-bottom: 0;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-rule {
  border-top: 1px solid currentColor;
  opacity: 0.58;
}

.flow-title {
  max-width: 15ch;
  margin-bottom: 0;
  font-size: clamp(3rem, 7.2vw, 6rem);
  font-weight: 950;
  line-height: 0.86;
  text-transform: uppercase;
}

.flow-copy {
  max-width: 62ch;
  margin-bottom: 0;
  color: currentColor;
  font-size: 1.18rem;
  line-height: 1.35;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.2rem);
}

.flow-grid-dense {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.7rem, 1.8vw, 1.1rem);
}

.flow-grid > div {
  border-top: 1px solid currentColor;
  padding-top: 0.8rem;
}

.flow-grid h3 {
  margin-bottom: 0.45rem;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.flow-grid-dense h3 {
  margin-bottom: 0.35rem;
  font-size: 0.82rem;
}

.flow-grid p {
  margin-bottom: 0;
  color: currentColor;
  opacity: 0.75;
}

.flow-grid-dense p {
  font-size: 0.86rem;
  line-height: 1.35;
}

.flow-grid a {
  color: currentColor;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3.1rem, 9vw, 7.4rem);
  letter-spacing: 0;
  line-height: 0.9;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: 0;
  line-height: 1;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.15rem;
  letter-spacing: 0;
}

.lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.actions {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.button,
button {
  border: 1px solid var(--ink);
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.8rem 1.05rem;
  font: inherit;
  font-weight: 800;
}

.button.primary,
button {
  background: var(--ink);
  color: white;
}

.button.secondary {
  background: transparent;
}

.home-page .button.primary {
  border-color: white;
  background: white;
  color: #050505;
}

.home-page .button.secondary {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.05);
  color: white;
}

.home-page .button.secondary:hover {
  background: rgba(255, 255, 255, 0.11);
}

.home-page .button,
.home-page button,
.engage-button,
.axiom-button,
.northgrid-button,
.smoke-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.24);
  transition:
    border-color 700ms cubic-bezier(0.175, 0.885, 0.32, 2.2),
    border-radius 700ms cubic-bezier(0.175, 0.885, 0.32, 2.2),
    box-shadow 700ms cubic-bezier(0.175, 0.885, 0.32, 2.2),
    color 700ms cubic-bezier(0.175, 0.885, 0.32, 2.2),
    padding 700ms cubic-bezier(0.175, 0.885, 0.32, 2.2),
    transform 700ms cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.home-page .button::before,
.home-page button::before,
.engage-button::before,
.axiom-button::before,
.northgrid-button::before,
.smoke-button::before,
.home-page .button::after,
.home-page button::after,
.engage-button::after,
.axiom-button::after,
.northgrid-button::after,
.smoke-button::after {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  content: "";
}

.home-page .button::before,
.home-page button::before,
.engage-button::before,
.axiom-button::before,
.northgrid-button::before,
.smoke-button::before {
  z-index: -2;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px) saturate(1.3);
  filter: url("#glass-distortion");
}

.home-page .button::after,
.home-page button::after,
.engage-button::after,
.axiom-button::after,
.northgrid-button::after,
.smoke-button::after {
  z-index: -1;
  background:
    radial-gradient(circle at 24% 12%, rgba(255, 255, 255, 0.52), transparent 36%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.1) 42%, rgba(255, 255, 255, 0.18));
  box-shadow:
    inset 2px 2px 1px rgba(255, 255, 255, 0.5),
    inset -1px -1px 1px rgba(255, 255, 255, 0.45);
}

.home-page .button > *,
.home-page button > *,
.engage-button > *,
.axiom-button > *,
.northgrid-button > *,
.smoke-button > * {
  position: relative;
  z-index: 1;
}

.home-page .button:hover,
.home-page button:hover,
.engage-button:hover,
.axiom-button:hover,
.northgrid-button:hover,
.smoke-button:hover {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.24), 0 0 30px rgba(255, 255, 255, 0.12);
  transform: translateY(-2px);
}

.home-page .button:active,
.home-page button:active,
.engage-button:active,
.axiom-button:active,
.northgrid-button:active,
.smoke-button:active {
  transform: translateY(1px) scale(0.985);
}

.engage-button {
  background: rgba(255, 255, 255, 0.12);
}

.engage-button-surface {
  position: relative;
  z-index: 1;
  background: transparent;
  color: #ffffff;
}

.engage-button-surface span:last-child {
  color: rgba(255, 255, 255, 0.64);
}

.axiom-button,
.northgrid-button,
.smoke-button {
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.axiom-button:hover,
.northgrid-button:hover,
.smoke-button:hover {
  color: #ffffff;
}

.home-page .button:focus-visible,
.home-page button:focus-visible,
.engage-button:focus-visible,
.axiom-button:focus-visible,
.northgrid-button:focus-visible,
.smoke-button:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 5px;
}

.portal-start {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  width: 100%;
  min-height: 100svh;
  margin: 0;
  overflow: hidden;
  background: #06050a;
  padding-top: 64px;
  padding-bottom: 64px;
}

.portal-start::before {
  position: absolute;
  inset: 0;
  display: block;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 72%);
  opacity: 0.38;
}

.portal-start::after {
  position: absolute;
  inset: -20%;
  pointer-events: none;
  content: "";
  background:
    repeating-linear-gradient(
      118deg,
      transparent 0,
      transparent 42px,
      rgba(255, 255, 255, 0.05) 43px,
      transparent 45px
    );
  opacity: 0.2;
  transform: translate3d(0, 0, 0);
  animation: portalScan 14s linear infinite;
}

.portal-orbit-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}

.portal-nav {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(6, 5, 10, 0.54);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.portal-nav a {
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.55rem 0.7rem;
}

.portal-nav a:hover {
  background: rgba(255, 255, 255, 0.11);
  color: #ffffff;
}

.portal-enter {
  opacity: 0;
  z-index: 1;
  animation: portalButtonIn 700ms cubic-bezier(0.175, 0.885, 0.32, 2.2) 1050ms forwards;
}

.text-flip {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: calc(100vw - 32px);
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.65rem, 9vw, 7rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  overflow: hidden;
  padding: 0;
  text-shadow: 0 18px 52px rgba(0, 0, 0, 0.55);
  transform-origin: center;
  animation: textContainerIn 700ms cubic-bezier(0.34, 1.4, 0.5, 1) both;
}

.text-flip span {
  display: inline-block;
  opacity: 0;
  filter: blur(12px);
  transform: translateY(12px) rotateX(80deg) scale(0.96);
  animation: textCharIn 520ms ease-out forwards;
  animation-delay: calc(160ms + (var(--i) * 34ms));
}

.portal-start .engage-button {
  z-index: 2;
  width: min(360px, calc(100vw - 32px));
  height: 86px;
  border: 4px solid rgba(108, 108, 108, 0.82);
  border-radius: 30px;
  background: #222222;
  box-shadow:
    0 0 #0000004d,
    0 9px 20px #0000004a,
    0 37px 37px #00000042,
    0 84px 50px #00000026,
    0 149px 60px #0000000a,
    0 233px 65px #00000003;
  padding: 8px;
  text-shadow: none;
  transform: perspective(1000px) rotateX(20deg) scale(1.05);
  transform-origin: center top;
  transition:
    border-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms cubic-bezier(0.34, 1.4, 0.5, 1);
}

.portal-start .engage-button::before,
.portal-start .engage-button::after {
  display: none;
}

.portal-start .engage-button:hover {
  border-color: rgba(180, 180, 180, 0.96);
  background: #222222;
  box-shadow:
    0 0 #0000004d,
    0 12px 24px #0000004a,
    0 44px 44px #00000042,
    0 92px 54px #00000026,
    0 149px 60px #0000000a,
    0 233px 65px #00000003;
  transform: perspective(1000px) rotateX(0) scale(1);
}

.portal-start .engage-button:active {
  transform: perspective(1000px) rotateX(0) scale(0.985);
}

.portal-start .engage-button-surface {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 30%),
    #111111;
  color: #ffffff;
  padding: 0 24px;
  gap: 16px;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.2;
}

.about-intro {
  min-height: 100svh;
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(64px, 9vw, 112px);
}

.about-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.about-profile {
  position: sticky;
  top: 104px;
}

.about-profile h2 {
  max-width: 9ch;
  margin-bottom: 24px;
  color: #ffffff;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 0.9;
}

.bio-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.bio-facts div,
.journey-list article {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.bio-facts div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 16px;
  padding: 16px;
}

.bio-facts dt,
.journey-list span {
  color: #d43d17;
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.bio-facts dd {
  color: #ffffff;
  font-weight: 750;
}

.journey-panel {
  display: grid;
  gap: 16px;
}

.journey-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.journey-list article {
  min-height: 150px;
  padding: 16px;
  transition:
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.journey-list article:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.09);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-4px) scale(1.01);
}

.journey-list h3 {
  margin: 8px 0;
  color: #ffffff;
  font-size: 1.1rem;
}

.journey-list p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.68);
}

.journey-list p {
  font-size: 0.92rem;
  line-height: 1.45;
}

@keyframes textContainerIn {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(10px) scale(0.96);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes textCharIn {
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) rotateX(0) scale(1);
  }
}

@keyframes portalButtonIn {
  from {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(12px) scale(0.96);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

@keyframes portalScan {
  from {
    transform: translate3d(-5%, -5%, 0);
  }

  to {
    transform: translate3d(5%, 5%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .text-flip,
  .text-flip span,
  .portal-enter,
  .portal-start::after {
    animation: none;
    filter: none;
    opacity: 1;
    transform: none;
  }
}

.identity-panel {
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 4vw, 2rem);
}

.panel-label,
.tag {
  margin: 1.4rem 0 0.35rem;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.panel-title {
  margin-bottom: 1.6rem;
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 850;
  line-height: 1.06;
}

.quick-facts {
  display: grid;
  gap: 0.8rem;
  margin: 0;
}

.quick-facts div {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding-top: 0.8rem;
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  font-weight: 750;
}

.split {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.stack,
.project-grid,
.note-grid,
.link-grid,
.status-board {
  display: grid;
  gap: 1rem;
}

.feature,
.project-card,
.note-card,
.status-board article {
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 8px;
  background: var(--panel);
  padding: 1.2rem;
}

.home-page .identity-panel,
.home-page .feature,
.home-page .project-card,
.home-page .note-card,
.home-page .status-board article,
.home-page .link-grid a,
.home-page .repo-card {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(8, 8, 8, 0.58);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.feature p,
.project-card p,
.note-card p,
.status-board p,
.cv-section p,
.cv-section li {
  color: var(--muted);
}

.small {
  font-size: 1.03rem;
}

.section-heading {
  max-width: 720px;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.project-card a {
  color: var(--accent-dark);
  font-weight: 850;
  margin-top: auto;
  padding-top: 1rem;
}

.tag {
  margin-top: 0;
  color: var(--rose);
}

.note-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.link-grid a {
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 8px;
  background: var(--panel);
  color: var(--accent-dark);
  font-weight: 800;
  min-height: 76px;
  padding: 1rem;
}

.link-grid a:hover,
.project-card a:hover {
  color: var(--ink);
}

.status-board {
  border-top: 1px solid var(--line);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.status-board h3 {
  font-size: 1.35rem;
  line-height: 1.15;
}

.github-panel {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(220px, 0.35fr);
  gap: 1.5rem;
}

.github-stats {
  display: grid;
  gap: 1rem;
}

.github-stats div {
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 8px;
  background: var(--ink);
  color: white;
  padding: 1.1rem;
}

.home-page .github-stats div {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
  color: white;
  backdrop-filter: blur(18px);
}

.github-stats span {
  display: block;
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
}

.github-stats p,
.muted {
  color: var(--muted);
}

.github-stats p {
  color: rgba(255, 255, 255, 0.72);
  margin: 0.4rem 0 0;
}

.github-repos {
  display: grid;
  gap: 1rem;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.repo-card {
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 8px;
  background: var(--panel);
  min-height: 160px;
  padding: 1rem;
}

.repo-card a {
  color: var(--accent-dark);
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 850;
  margin-bottom: 0.6rem;
}

.repo-card p {
  color: var(--muted);
}

.crypto-section {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 2rem;
  padding-bottom: 6rem;
}

.crypto-heading {
  max-width: 780px;
}

.crypto-heading h2 {
  max-width: 11ch;
  color: #ffffff;
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 900;
  line-height: 0.92;
}

.crypto-heading p {
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
}

.crypto-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.crypto-grid article {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 36%),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
  padding: 22px;
  backdrop-filter: blur(18px);
  transition:
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.crypto-grid article:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 36%),
    rgba(255, 255, 255, 0.09);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.crypto-grid span {
  color: #d43d17;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
}

.crypto-grid p {
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.social-end {
  display: flex;
  justify-content: center;
  padding-top: 1rem;
  padding-bottom: 5rem;
}

.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
  color: #ffffff;
  backdrop-filter: blur(18px);
  transition:
    border-color 240ms ease,
    background 240ms ease,
    box-shadow 240ms ease,
    transform 240ms ease;
}

.social-icon-link:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.09);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transform: translateY(-4px);
}

.social-icon-link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.86);
  outline-offset: 5px;
}

.social-icon-link svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.contact-band {
  border-top: 1px solid var(--line);
  justify-content: space-between;
  gap: 1.5rem;
}

.contact-band h2 {
  margin-bottom: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.4rem 0 2rem;
}

.cv-page {
  background: var(--paper);
}

.ideas-page {
  min-height: 100svh;
  background:
    linear-gradient(rgba(17, 19, 21, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, #fbfaf7 0%, #edf4f1 52%, #fbfaf7 100%);
  background-size: 46px 46px, 46px 46px, auto;
}

.ideas-shell {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 5rem;
}

.ideas-hero {
  display: grid;
  min-height: calc(80svh - 74px);
  align-content: center;
  padding: clamp(3rem, 9vw, 7rem) 0;
}

.ideas-hero h1 {
  max-width: 9ch;
  margin-bottom: 1.2rem;
}

.ideas-section {
  border-top: 1px solid rgba(17, 19, 21, 0.14);
  display: grid;
  gap: 1.4rem;
  padding: clamp(2rem, 6vw, 4rem) 0;
}

.ideas-grid,
.ideas-list {
  display: grid;
  gap: 10px;
}

.ideas-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ideas-grid.compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.idea-card,
.ideas-list article {
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.46)),
    rgba(255, 255, 255, 0.68);
  box-shadow: var(--shadow);
  padding: clamp(1rem, 2.5vw, 1.35rem);
}

.idea-card {
  display: flex;
  min-height: 245px;
  flex-direction: column;
}

.idea-card.priority {
  background:
    linear-gradient(135deg, rgba(6, 5, 10, 0.94), rgba(28, 38, 48, 0.9)),
    #111315;
  color: #ffffff;
}

.idea-card span {
  align-self: flex-start;
  margin-bottom: auto;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--accent-dark);
  font-size: 0.76rem;
  font-weight: 900;
  padding: 0.25rem 0.52rem;
  text-transform: uppercase;
}

.idea-card.priority span {
  color: #f2b84b;
}

.idea-card h3,
.ideas-list h3 {
  margin-top: 1.6rem;
}

.idea-card p,
.ideas-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.idea-card.priority p {
  color: rgba(255, 255, 255, 0.72);
}

.ideas-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.final-idea {
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  align-items: start;
}

.idea-steps {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.idea-steps li {
  counter-increment: idea-step;
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.idea-steps li::before {
  content: counter(idea-step, decimal-leading-zero) " / ";
  color: var(--accent-dark);
  font-weight: 900;
}

.cv-shell {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto 4rem;
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 8px;
  background: white;
  box-shadow: var(--shadow);
  padding: clamp(1.4rem, 4vw, 3rem);
}

.cv-hero {
  border-bottom: 2px solid var(--ink);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  padding-bottom: 2rem;
}

.cv-hero h1 {
  max-width: none;
  margin-bottom: 0.7rem;
  font-size: clamp(3.2rem, 8vw, 6rem);
}

.cv-contact {
  align-items: flex-end;
  flex-direction: column;
  justify-content: center;
  gap: 0.35rem;
  color: var(--muted);
  font-weight: 700;
  text-align: right;
}

.cv-section {
  border-bottom: 1px solid var(--line);
  padding: 1.7rem 0;
}

.cv-section h2 {
  margin-bottom: 1rem;
  font-size: 1.35rem;
}

.cv-item {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1rem 0;
}

.cv-item + .cv-item {
  border-top: 1px solid var(--line);
}

.cv-meta h3 {
  margin-bottom: 0.2rem;
}

.cv-meta span {
  color: var(--muted);
  display: block;
  font-weight: 700;
}

.cv-item ul {
  margin: 0;
  padding-left: 1.15rem;
}

.cv-item.compact p {
  margin-bottom: 0;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pill-list li {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-weight: 750;
  padding: 0.45rem 0.7rem;
}

.print-actions {
  padding-top: 1.5rem;
}

@media (max-width: 980px) {
  .portal-hero,
  .axiom-card,
  .northgrid-dashboard,
  .smoke-heading {
    grid-template-columns: 1fr;
  }

  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-profile {
    position: static;
  }

  .portal-hero {
    gap: 32px;
  }

  .portal-copy h1 {
    font-size: 4.75rem;
  }

  .portal-visual,
  .northgrid-copy,
  .northgrid-chart {
    min-height: 420px;
  }

  .axiom-card {
    min-height: auto;
  }

  .axiom-copy h2,
  .northgrid-copy h2 {
    font-size: 4.25rem;
  }

  .northgrid-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .smoke-project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-panel {
    min-height: 100svh;
    padding: 1.5rem 1rem;
  }

  .flow-inner {
    width: min(100%, calc(100% - 2rem));
    min-height: min(720px, calc(100svh - 3rem));
  }

  .flow-title {
    font-size: 4.2rem;
  }

  .flow-copy {
    font-size: 1.05rem;
  }
}

@media (max-width: 760px) {
  .site-header,
  .contact-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  nav a {
    padding-right: 0.42rem;
    padding-left: 0.42rem;
  }

  .portal-nav {
    top: 10px;
    right: 10px;
    left: 10px;
    justify-content: center;
  }

  .portal-nav a {
    padding: 0.5rem 0.55rem;
  }

  .hero,
  .split,
  .project-grid,
  .note-grid,
  .link-grid,
  .status-board,
  .github-panel,
  .github-repos,
  .journey-list,
  .flow-grid,
  .crypto-grid,
  .cv-hero,
  .cv-item,
  .two-column {
    grid-template-columns: 1fr;
  }

  .about-intro {
    min-height: auto;
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .about-profile h2 {
    font-size: 3.2rem;
  }

  .bio-facts div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .portal-hero {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .portal-copy h1 {
    font-size: 3.35rem;
  }

  .portal-lead,
  .northgrid-copy p {
    font-size: 1rem;
  }

  .portal-actions {
    width: 100%;
  }

  .engage-button {
    width: min(264px, 100%);
  }

  .portal-status,
  .portal-readout,
  .northgrid-metrics,
  .northgrid-panels {
    grid-template-columns: 1fr;
  }

  .portal-visual {
    min-height: 460px;
  }

  .portal-readout {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .axiom-shell,
  .northgrid-page,
  .smoke-projects {
    padding: 32px 16px;
  }

  .axiom-card,
  .northgrid-dashboard,
  .northgrid-copy,
  .axiom-stack div,
  .smoke-shell {
    padding: 24px;
  }

  .axiom-copy h2,
  .northgrid-copy h2 {
    font-size: 3.4rem;
  }

  .axiom-actions {
    margin-top: 8px;
  }

  .northgrid-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .northgrid-copy,
  .northgrid-chart {
    min-height: 340px;
  }

  .smoke-project-grid {
    grid-template-columns: 1fr;
  }

  .smoke-project-grid article {
    min-height: 210px;
  }

  .northgrid-chart {
    gap: 4px;
    padding: 16px;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

  .flow-panel {
    min-height: 100svh;
    padding: 1.25rem 0.5rem;
    perspective-origin: center 12%;
  }

  .flow-panel:last-child {
    min-height: 100svh;
  }

  .flow-inner {
    top: auto;
    width: min(100%, calc(100% - 0.75rem));
    min-height: auto;
    border-width: 2px;
    border-radius: 24px;
    padding: 1.25rem;
  }

  .flow-title {
    font-size: 2.45rem;
  }

  .flow-copy {
    font-size: 0.95rem;
  }

  .flow-grid-dense p {
    font-size: 0.84rem;
  }

  .cv-contact {
    align-items: flex-start;
    text-align: left;
  }

  .ideas-hero {
    min-height: auto;
    padding-top: 4rem;
  }

  .ideas-grid,
  .ideas-grid.compact,
  .ideas-list,
  .final-idea {
    grid-template-columns: 1fr;
  }

  .idea-card {
    min-height: 210px;
  }
}

@media print {
  body,
  .cv-page {
    background: white;
  }

  .site-header,
  .print-actions {
    display: none;
  }

  .cv-shell {
    border: 0;
    box-shadow: none;
    margin: 0;
    padding: 0;
    width: 100%;
  }

  .cv-section {
    break-inside: avoid;
    padding: 1rem 0;
  }

  a {
    text-decoration: none;
  }
}
