/* asad.au: glass theme, ported from byronbyte (site-glass/custom.css). Static CSS, no build step. */

:root {
  --klein: #3d5afe;
  --klein-soft: #889afb;
  --coral: #ff6b5e;
  --coral-soft: #fc9188;
  --ink: #0f1218;
  --mist: #eef0f3;
  --text: #1f2530;
  --muted: #4a5261;
  --green: #22c55e;
  --font-body: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-code: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip; /* the tilted hero mockup and the floating chips may project a few px past the edge on phones */
  background: var(--mist);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, ul { margin: 0; }
ul { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--klein); outline-offset: 3px; border-radius: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.wrap { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.page { position: relative; z-index: 1; display: flex; min-height: 100vh; flex-direction: column; }

/* ---------- Ground: aurora mesh + grain ---------- */
.mesh {
  position: fixed; inset: -10%; z-index: 0; pointer-events: none;
  background-color: var(--mist);
  background-image:
    radial-gradient(42% 38% at 12% 12%, rgba(61, 90, 254, 0.42) 0%, rgba(61, 90, 254, 0) 70%),
    radial-gradient(38% 34% at 88% 18%, rgba(255, 107, 94, 0.40) 0%, rgba(255, 107, 94, 0) 70%),
    radial-gradient(34% 30% at 78% 58%, rgba(137, 154, 251, 0.34) 0%, rgba(137, 154, 251, 0) 70%),
    radial-gradient(36% 32% at 16% 72%, rgba(252, 145, 136, 0.30) 0%, rgba(252, 145, 136, 0) 70%),
    radial-gradient(40% 36% at 55% 96%, rgba(61, 90, 254, 0.28) 0%, rgba(61, 90, 254, 0) 70%);
  background-size: 120% 120%;
  background-position: 0% 0%, 100% 0%, 100% 50%, 0% 100%, 50% 100%;
  animation: mesh-drift 40s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes mesh-drift { 0% { transform: translate3d(0, 0, 0); } 100% { transform: translate3d(-4%, -3%, 0); } }
.grain {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Glass material ---------- */
.glass {
  position: relative;
  background: rgba(255, 255, 255, 0.40);
  -webkit-backdrop-filter: blur(28px) saturate(1.8);
  backdrop-filter: blur(28px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), inset 0 -1px 0 rgba(15, 18, 24, 0.03), 0 24px 70px -36px rgba(15, 18, 24, 0.35);
}
.glass-strong { background: rgba(255, 255, 255, 0.62); }
.glass-soft { background: rgba(255, 255, 255, 0.24); border-color: rgba(255, 255, 255, 0.45); }
.glass-ink {
  position: relative;
  background: rgba(15, 18, 24, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f6f3eb;
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.10), 0 40px 100px -50px rgba(15, 18, 24, 0.8);
}
.lift { transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s ease, border-color .4s ease, background-color .4s ease; }
.lift:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(61, 90, 254, 0.35);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 34px 80px -34px rgba(61, 90, 254, 0.40), 0 0 0 1px rgba(61, 90, 254, 0.10);
}
/* cursor-follow glow (JS sets --mx/--my) */
.glow::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .35s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 90, 254, 0.16), rgba(255, 107, 94, 0.08) 45%, transparent 70%);
}
.glow:hover::after { opacity: 1; }
/* shine border: a soft light that travels around the card edge (Magic UI ShineBorder look) */
.shine::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; padding: var(--shine-w, 1px);
  background-image: radial-gradient(transparent, transparent, var(--klein), var(--coral), #ffffff, transparent, transparent);
  background-size: 300% 300%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
  animation: shine var(--shine-dur, 14s) infinite linear;
}
@keyframes shine { 0% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } 100% { background-position: 0% 0%; } }

/* ---------- Type ---------- */
.kicker { font-family: var(--font-code); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #5b6472; font-weight: 500; }
.num { font-family: var(--font-code); font-size: 12px; color: var(--klein); letter-spacing: 0.1em; }
.h2 { font-size: clamp(34px, 4.4vw, 56px); font-weight: 700; line-height: 1.02; letter-spacing: -0.032em; color: var(--ink); }
.h3 { font-size: 22px; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }
.lead { font-size: 17px; line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.link { color: var(--klein); font-weight: 600; }
.section { padding-top: clamp(88px, 10vw, 136px); scroll-margin-top: 112px; }
.head { max-width: 42rem; }
.head.center { margin: 0 auto; text-align: center; }
.head .h2 { margin-top: 12px; }
.head .lead { margin-top: 16px; }

/* ---------- Wordmark ---------- */
.wordmark { font-weight: 700; letter-spacing: -0.03em; line-height: 1; display: inline-flex; align-items: baseline; color: var(--ink); font-size: 22px; }
.wordmark .au { color: var(--klein); }
.wordmark .cursor { color: var(--coral); font-weight: 400; margin-left: 1px; animation: blink 1.1s linear infinite; }
@keyframes blink { 0%, 49.99% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ---------- Nav (floating glass pill) ---------- */
.nav-wrap { position: fixed; inset: 16px 0 auto; z-index: 50; display: flex; justify-content: center; padding: 0 16px; }
.nav-inner { width: 100%; max-width: 1024px; }
.nav { display: flex; align-items: center; justify-content: space-between; border-radius: 999px; padding: 8px 8px 8px 20px; }
.nav-links { display: none; align-items: center; gap: 28px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--text); transition: color .2s; }
.nav-links a:hover { color: var(--klein); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.btn-klein { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--klein); color: #fff; padding: 10px 20px; font-size: 14.5px; font-weight: 600; transition: background-color .25s; white-space: nowrap; }
.btn-klein:hover { background: var(--coral); color: #fff; }
.burger { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 999px; color: var(--ink); }
.burger span { position: relative; display: block; width: 20px; height: 14px; }
.burger i { position: absolute; left: 0; width: 20px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s, opacity .25s; }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; } .burger i:nth-child(3) { top: 12px; }
.nav-open .burger i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .burger i:nth-child(2) { opacity: 0; }
.nav-open .burger i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.sheet { display: none; margin-top: 8px; border-radius: 24px; padding: 8px; animation: sheet .28s cubic-bezier(.2,.8,.2,1) both; }
.nav-open .sheet { display: block; }
.sheet a { display: flex; align-items: center; justify-content: space-between; border-radius: 16px; padding: 14px 16px; font-size: 17px; font-weight: 500; color: var(--text); }
.sheet a:hover { background: rgba(255,255,255,.6); color: var(--klein); }
.sheet a::after { content: "→"; color: var(--coral); }
@keyframes sheet { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
@media (min-width: 768px) { .nav-links { display: flex; } .burger, .sheet { display: none !important; } }

/* ---------- Hero ---------- */
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 144px 0 40px; }
@media (min-width: 768px) { .hero { padding-top: 176px; } }
.pill { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 8px 16px; white-space: nowrap; max-width: 100%; }
.pill .dot { width: 8px; height: 8px; border-radius: 999px; background: var(--klein); flex: none; }
@media (max-width: 480px) { .pill { font-size: 10.5px; letter-spacing: 0.08em; padding-left: 12px; padding-right: 12px; } }
.hero h1 { margin-top: 28px; max-width: 56rem; font-size: clamp(44px, 7.4vw, 96px); font-weight: 700; line-height: 0.96; letter-spacing: -0.04em; color: var(--ink); }
.hero .lead { margin-top: 28px; max-width: 36rem; font-size: clamp(17px, 1.6vw, 21px); }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.hero-stage-wrap { margin-top: 64px; width: 100%; }

/* entrance */
.rise { animation: rise .9s cubic-bezier(.2,.8,.2,1) both; }
.rise-2 { animation-delay: .08s; } .rise-3 { animation-delay: .16s; } .rise-4 { animation-delay: .24s; } .rise-5 { animation-delay: .36s; }
@keyframes rise { from { transform: translateY(14px); } to { transform: translateY(0); } }

/* aurora text (Magic UI AuroraText) */
.aurora { position: relative; display: inline-block; }
.aurora > .fx {
  position: relative; display: inline-block;
  background-image: linear-gradient(90deg, var(--klein), #7b8cff, var(--coral), #ffb199, var(--coral), #7b8cff, var(--klein));
  background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
  animation: aurora-flow 12s linear infinite;
  will-change: background-position;
}
/* the colour flows through the letters continuously; no tilt (byronbyte's rotate reads as crooked on a three-word span) */
@keyframes aurora-flow { from { background-position: 0% 50%; } to { background-position: 300% 50%; } }

/* shimmer button (Magic UI ShimmerButton, CSS only) */
.shimmer {
  position: relative; z-index: 0; display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.1); background: var(--klein); color: #fff;
  padding: 14px 28px; font-size: 16px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 24px 60px -24px rgba(61,90,254,.75);
  transition: transform .3s ease-in-out, background-color .3s;
}
.shimmer:hover { color: #fff; }
.shimmer:active { transform: translateY(1px); }
.shimmer .spark { position: absolute; inset: 0; z-index: -2; overflow: hidden; border-radius: inherit; filter: blur(2px); }
.shimmer .spark::before {
  content: ""; position: absolute; inset: -150%;
  background: conic-gradient(from 225deg, transparent 0, #ffffff 90deg, transparent 90deg);
  animation: spin-around 6s linear infinite;
}
.shimmer .spark::after { content: ""; position: absolute; inset: 1px; border-radius: inherit; background: var(--klein); }
.shimmer .hl { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 -8px 10px #ffffff1f; transition: box-shadow .3s; }
.shimmer:hover .hl { box-shadow: inset 0 -6px 10px #ffffff3f; }
@keyframes spin-around {
  0% { transform: translateZ(0) rotate(0); }
  15%, 35% { transform: translateZ(0) rotate(90deg); }
  65%, 85% { transform: translateZ(0) rotate(270deg); }
  100% { transform: translateZ(0) rotate(360deg); }
}
.btn-glass { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 14px 24px; font-size: 16px; font-weight: 600; color: var(--ink); }

/* hero mockup: 3D glass browser + border beam + floating chips */
.stage { position: relative; margin: 0 auto; width: 100%; max-width: 56rem; padding: 16px 8px 24px; perspective: 1600px; }
@media (min-width: 768px) { .stage { padding-left: 40px; padding-right: 40px; } }
.mock {
  position: relative; overflow: hidden; border-radius: 26px; padding: 8px;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -6deg)); transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1); will-change: transform;
}
.mock-inner { overflow: hidden; border-radius: 20px; }
.mock-bar { height: 40px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid rgba(15,18,24,.06); }
.mock-dot { width: 10px; height: 10px; border-radius: 999px; background: rgba(15,18,24,.12); }
.mock-url { margin-left: 8px; flex: 1; height: 24px; border-radius: 999px; background: rgba(255,255,255,.7); border: 1px solid rgba(15,18,24,.06); font-family: var(--font-code); font-size: 11px; color: #6b7280; display: flex; align-items: center; padding: 0 12px; gap: 6px; }
.mock-url i { width: 8px; height: 8px; border-radius: 999px; background: var(--klein); }
/* hero mockup: interconnected system maps (one rendered at a time, arrows + auto-rotate), calm motion */
.mock-app.va { --map-h: 400px; position: relative; padding: 14px 18px 10px; background: rgba(255,255,255,.35); }
.va-stage { transition: opacity .32s ease; }
.va-stage.fade { opacity: 0; }
.va-map { position: relative; height: var(--map-h); }
.va-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.va-wires path { fill: none; stroke: rgba(15,18,24,.12); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.va-wires path.ring { stroke-dasharray: 3 5; stroke: rgba(15,18,24,.10); }
.va-wires path.hub { stroke: rgba(61,90,254,.18); stroke-width: 1.2; }
.va-wires path.flow { stroke: rgba(15,18,24,.26); stroke-width: 1.6; }
.va-wires path.guide { stroke: rgba(15,18,24,.10); stroke-width: 1; stroke-dasharray: 8 8; }
.va-tag { position: absolute; transform: translate(-50%,-50%); font-family: var(--font-code); font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; pointer-events: none; }
.pk { fill: var(--klein); } .pk.c { fill: var(--coral); } .pk.g { fill: var(--green); }
.va-node { position: absolute; transform: translate(-50%,-50%); display: flex; flex-direction: column; gap: 1px; padding: 8px 12px; border-radius: 13px; background: rgba(255,255,255,.86); border: 1px solid rgba(255,255,255,.95); box-shadow: 0 10px 28px -18px rgba(15,18,24,.35), inset 0 1px 0 #fff; font-size: 12.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.va-node em { font-style: normal; font-family: var(--font-code); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.va-node .sub { font-weight: 500; font-size: 11px; color: var(--muted); }
.va-node.hub { border-color: rgba(61,90,254,.4); padding: 11px 16px; font-size: 13.5px; animation: hub-breathe 4s ease-out infinite; }
.va-node.hub em { color: var(--klein); }
.va-node.ai { border-color: rgba(255,107,94,.45); } .va-node.ai em { color: var(--coral); }
.va-node.out { border-color: rgba(34,197,94,.35); } .va-node.out em { color: #15803d; }
.va-node i { position: absolute; top: 9px; right: 9px; width: 6px; height: 6px; border-radius: 999px; background: var(--green); animation: dot-breathe 4s ease-in-out infinite; }
@keyframes hub-breathe { 0% { box-shadow: 0 0 0 0 rgba(61,90,254,.30), 0 18px 40px -22px rgba(61,90,254,.5); } 70% { box-shadow: 0 0 0 12px rgba(61,90,254,0), 0 18px 40px -22px rgba(61,90,254,.5); } 100% { box-shadow: 0 0 0 0 rgba(61,90,254,0), 0 18px 40px -22px rgba(61,90,254,.5); } }
@keyframes dot-breathe { 0%, 100% { opacity: .5; } 50% { opacity: 1; } }
.va-log { margin-top: 10px; height: 86px; overflow: hidden; border-radius: 12px; background: rgba(15,18,24,.9); color: #e3e7ee; font-family: var(--font-code); font-size: 12px; padding: 8px 12px; -webkit-mask-image: linear-gradient(#000 72px, transparent 86px); mask-image: linear-gradient(#000 72px, transparent 86px); }
.va-log ul { display: flex; flex-direction: column; gap: 4px; animation: va-scroll 14s steps(7) infinite; }
.va-log li { height: 18px; line-height: 18px; white-space: nowrap; }
.va-log b { color: #8fd18f; font-weight: 500; } .va-log s { text-decoration: none; color: #889afb; } .va-log u { text-decoration: none; color: #fc9188; }
@keyframes va-scroll { to { transform: translateY(-154px); } }
.mock-app.va .shot-nav { top: 44%; }
/* below 1024px the floating chips sit near the mock's right edge, so the arrows move to the bottom-right corner */
@media (max-width: 1023px) {
  .mock-app.va .shot-nav { top: auto; bottom: 6px; transform: none; width: 32px; height: 32px; font-size: 18px; }
  .mock-app.va .shot-nav.prev { left: auto; right: 46px; } .mock-app.va .shot-nav.next { right: 8px; }
  .va-foot { padding-right: 84px; min-height: 32px; }
}
.va-foot { margin-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.va-title { font-size: 10.5px; }
.va-dots { display: flex; gap: 6px; }
.va-dots .dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(15,18,24,.18); transition: width .3s, background .3s; }
.va-dots .dot.active { width: 22px; background: var(--coral); }
@media (max-width: 767px) {
  .mock-app.va { --map-h: 300px; padding: 10px 8px 14px; }
  .mock { animation: none !important; transform: none !important; } /* the 3D sway makes 8px labels blurry on phones */
  .va-node { padding: 5px 8px; border-radius: 9px; font-size: 9px; gap: 0; box-shadow: none; }
  .va-node em { font-size: 8px; letter-spacing: .06em; } .va-node .sub { display: none; }
  .va-node.hub { padding: 6px 9px; font-size: 9.5px; } .va-node.hub .sub { display: block; font-size: 8.5px; }
  .va-foot { flex-wrap: wrap; padding-right: 0; row-gap: 6px; } .va-title { flex: 1 1 100%; font-size: 9.5px; } .va-dots { padding-right: 84px; min-height: 32px; align-items: center; }
  .va-node i { top: 5px; right: 5px; width: 4px; height: 4px; }
  .va-log { font-size: 9.5px; height: 80px; padding: 6px 9px; -webkit-mask-image: linear-gradient(#000 66px, transparent 80px); mask-image: linear-gradient(#000 66px, transparent 80px); }
  .va-tag { font-size: 7.5px; letter-spacing: .1em; }
}
/* border beam */
.beam-wrap {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; border: 1.5px solid transparent;
  -webkit-mask: linear-gradient(transparent, transparent), linear-gradient(#000, #000);
  -webkit-mask-clip: padding-box, border-box; -webkit-mask-composite: source-in;
  mask: linear-gradient(transparent, transparent), linear-gradient(#000, #000); mask-clip: padding-box, border-box; mask-composite: intersect;
}
.beam { position: absolute; aspect-ratio: 1; width: 240px; background: linear-gradient(to left, var(--klein), var(--coral), transparent); offset-path: rect(0 auto auto 0 round 240px); animation: border-beam 10s linear infinite; }
@keyframes border-beam { from { offset-distance: 0%; } to { offset-distance: 100%; } }
/* chips */
.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 999px;
  font-size: 14px; font-weight: 600; color: var(--ink); white-space: nowrap; animation: float 6s ease-in-out infinite;
}
.chip .ic { width: 30px; height: 30px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: var(--klein); flex: none; }
.chip.coral .ic { background: var(--coral); }
.chip.green .ic { background: var(--green); }
.chip.d2 { animation-delay: -2s; } .chip.d4 { animation-delay: -4s; }
.chip.c1 { left: 4px; top: -8px; } .chip.c2 { right: 4px; top: 44%; } .chip.c3 { bottom: 30px; left: 6%; }
@media (min-width: 768px) { .chip.c1 { left: 0; top: -16px; } .chip.c2 { right: 0; top: calc(38% - 21px); } .chip.c3 { bottom: -18px; left: 14%; } .mock-app.va { padding-bottom: 40px; } }
@media (min-width: 1024px) { .chip.c1 { left: -40px; } .chip.c2 { right: -48px; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes sway { 0% { transform: rotateX(6deg) rotateY(-7deg); } 50% { transform: rotateX(3deg) rotateY(6deg); } 100% { transform: rotateX(7deg) rotateY(-4deg); } }
@media (hover: none) { .mock { animation: sway 12s ease-in-out infinite; } }
@media (max-width: 767px) { @keyframes sway { 0% { transform: rotateX(4deg) rotateY(-3deg); } 50% { transform: rotateX(2deg) rotateY(3deg); } 100% { transform: rotateX(5deg) rotateY(-2deg); } } .mock { --ry: -3deg; --rx: 4deg; } }
@media (max-width: 767px) {
  .stage { perspective: 900px; }
  .chip { font-size: 12px; padding: 7px 11px 7px 7px; gap: 8px; }
  .chip .ic { width: 24px; height: 24px; }
  .chip .ic svg { width: 13px; height: 13px; }
  .chip.c2 { top: auto; bottom: -22px; right: 4px; } .stage { padding-bottom: 64px; } /* on phones the middle chip hangs under the mock, below the green chip, so the console stays readable */
}

/* ---------- Marquee ---------- */
.marquee-wrap { margin-top: 24px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); overflow: hidden; padding: 16px 0; }
.marquee { display: flex; gap: 3rem; width: max-content; animation: marquee 48s linear infinite; }
.marquee-wrap:hover .marquee { animation-play-state: paused; }
.marquee ul { display: flex; gap: 3rem; flex: none; }
.marquee li { display: flex; align-items: center; gap: 3rem; font-size: 12px; }
.marquee li::after { content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--coral); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 1.5rem)); } }

/* ---------- Blur fade (IntersectionObserver adds .in) ---------- */
.bf { opacity: 0; transform: translateY(-6px); filter: blur(6px); transition: opacity .4s ease-out var(--d, .04s), transform .4s ease-out var(--d, .04s), filter .4s ease-out var(--d, .04s); }
.bf.in { opacity: 1; transform: none; filter: blur(0); }
.bf.done { filter: none; transition: none; }

/* ---------- Work ---------- */
.project { margin-top: 48px; border-radius: 26px; padding: 24px; }
@media (min-width: 768px) { .project { padding: 36px; } }
.project-top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 16px; }
.project-name { margin-top: 6px; font-size: clamp(34px, 4vw, 48px); font-weight: 700; letter-spacing: -0.035em; line-height: 1; color: var(--ink); }
.project-name span { color: var(--klein); }
.project-desc { margin-top: 18px; max-width: 46rem; font-size: 17px; line-height: 1.6; color: var(--muted); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 12px; font-family: var(--font-code); font-size: 12px; letter-spacing: 0.02em; color: var(--text); background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.8); }
.highlights { margin-top: 28px; display: grid; gap: 16px; }
@media (min-width: 768px) { .highlights { grid-template-columns: repeat(3, 1fr); } }
.highlight { border-radius: 22px; padding: 22px; }
.highlight .num { display: block; }
.highlight h4 { margin-top: 16px; font-size: 17px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.highlight p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
/* carousel */
.shots { margin-top: 28px; }
.shot-frame { position: relative; overflow: hidden; border-radius: 22px; }
.shot-stage { position: relative; aspect-ratio: 16 / 9.4; background: #fff; }
.shot-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transition: opacity .45s ease; }
.shot-slide.active { opacity: 1; }
.shot-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 999px; font-size: 22px; line-height: 1; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; }
button.shot-nav { background: rgba(255,255,255,.94); border: 1.5px solid rgba(15,18,24,.28); box-shadow: 0 8px 22px -10px rgba(15,18,24,.45), inset 0 1px 0 #fff; font-weight: 600; cursor: pointer; transition: border-color .2s, color .2s, background .2s, transform .2s; }
button.shot-nav:hover { border-color: var(--klein); color: var(--klein); background: #fff; }
button.shot-nav:focus { outline: none; } button.shot-nav:focus-visible { outline: 2px solid var(--klein); outline-offset: 3px; }
.shot-nav.prev { left: 14px; } .shot-nav.next { right: 14px; }
.shot-caption { padding: 14px 18px; font-size: 14px; color: var(--text); border-top: 1px solid rgba(15,18,24,.06); background: rgba(255,255,255,.55); }
.shot-dots { margin-top: 14px; display: flex; justify-content: center; gap: 8px; }
.shot-dots .dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(15,18,24,.18); transition: width .3s, background .3s; }
.shot-dots .dot.active { width: 26px; background: var(--coral); }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 768px) { .about-grid { grid-template-columns: 1fr 1.3fr; gap: 48px; } }
.about-card { border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.about-card p { font-size: 17px; line-height: 1.65; color: var(--text); }
.about-card strong { color: var(--ink); }
.facts { margin-top: 6px; display: grid; gap: 10px; grid-template-columns: repeat(2, 1fr); }
.fact { border-radius: 16px; padding: 12px 14px; }
.fact b { display: block; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; color: var(--klein); }
.fact span { font-size: 12.5px; color: var(--muted); }

/* ---------- Experience: timeline with a running light ---------- */
.timeline { position: relative; display: grid; gap: 18px; padding: 40px 0 0; margin-top: 40px; }
@media (min-width: 768px) { .timeline { grid-template-columns: repeat(3, 1fr); } }
.timeline li { position: relative; border-radius: 24px; padding: 26px 24px 24px; }
.tl-dot { position: absolute; top: -40px; left: 50%; width: 16px; height: 16px; margin-left: -8px; border-radius: 999px; background: #fff; border: 4px solid var(--klein); box-shadow: 0 0 0 5px rgba(61,90,254,.12); }
.tl-track { position: absolute; left: 16.66%; right: 16.66%; top: 7px; height: 2px; background: rgba(15,18,24,.12); border-radius: 999px; overflow: hidden; }
.tl-track i { position: absolute; top: 0; height: 100%; width: 24%; background: linear-gradient(90deg, transparent, var(--klein), var(--coral), transparent); animation: run 3.2s linear infinite; }
@keyframes run { from { left: -25%; } to { left: 105%; } }
.role-date { font-family: var(--font-code); font-size: 12px; letter-spacing: 0.1em; color: var(--klein); }
.role-title { margin-top: 14px; font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.role-org { margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.timeline .tags { margin-top: 16px; }
@media (max-width: 767px) {
  .timeline { padding: 0 0 0 26px; }
  .tl-track { left: 6px; right: auto; top: 40px; bottom: 40px; width: 2px; height: auto; }
  .tl-track i { width: 100%; height: 24%; background: linear-gradient(180deg, transparent, var(--klein), var(--coral), transparent); animation: run-v 3.2s linear infinite; left: 0; }
  @keyframes run-v { from { top: -25%; } to { top: 105%; } }
  .tl-dot { top: 26px; left: -27px; margin-left: 0; }
}

/* ---------- Certifications: ink band ---------- */
.band { border-radius: 32px; padding: 40px 24px; overflow: hidden; }
@media (min-width: 768px) { .band { padding: 56px 48px; } }
.band .kicker { color: rgba(246,243,235,.6); }
.band .h2 { color: #f6f3eb; }
.band .lead { color: rgba(246,243,235,.7); }
.band-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.certs { margin-top: 40px; display: grid; gap: 14px; }
@media (min-width: 640px) { .certs { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .certs { grid-template-columns: repeat(3, 1fr); } }
.cert { display: flex; align-items: center; gap: 14px; border-radius: 20px; padding: 18px 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); color: #f6f3eb; font-weight: 500; font-size: 15px; transition: background .3s, border-color .3s, transform .4s cubic-bezier(.2,.8,.2,1); }
.cert:hover { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.28); transform: translateY(-3px); }
.cert .ic { width: 38px; height: 38px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--klein); color: #fff; flex: none; }
.cert:nth-child(2n) .ic { background: var(--coral); }
.cert small { display: block; font-family: var(--font-code); font-size: 11px; letter-spacing: .1em; color: rgba(246,243,235,.55); margin-top: 3px; }

/* ---------- Contact ---------- */
.cta { border-radius: 32px; padding: 56px 32px; text-align: center; overflow: hidden; }
@media (min-width: 768px) { .cta { padding: 80px 64px; } }
.cta .h2 { margin: 16px auto 0; max-width: 48rem; font-size: clamp(36px, 5.4vw, 68px); }
.cta .lead { margin: 20px auto 0; max-width: 34rem; }
.cta-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }

/* ---------- Footer ---------- */
footer.wrap { padding: 40px 24px 40px; }
#contact { padding-bottom: 0; }
.foot { border-radius: 28px; padding: 32px 28px; }
@media (min-width: 768px) { .foot { padding: 32px 36px; } }
.foot-grid { display: grid; gap: 32px; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-blurb { margin-top: 12px; max-width: 20rem; font-size: 15px; line-height: 1.6; color: var(--muted); }
.foot .kicker { margin-bottom: 12px; }
.foot ul { display: flex; flex-direction: column; gap: 8px; font-size: 15px; font-weight: 500; }
.foot ul a:hover { color: var(--klein); }
.foot-bottom { margin-top: 32px; padding-top: 20px; border-top: 1px solid rgba(15,18,24,.08); display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
@media (min-width: 768px) { .foot-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  .mesh, .chip, .rise, .wordmark .cursor, .aurora > .fx, .shimmer .spark::before, .beam, .marquee, .tl-track i, .mock, .shine::before, .va-node i, .va-node.hub, .va-log ul { animation: none !important; } .pk { display: none; }
  .bf { opacity: 1; transform: none; filter: none; transition: none; }
}
