:root {
  --ink: #f7f5ff;
  --muted: #b8b2ce;
  --violet: #5429C8;
  --pink: #42DDF5;
  --cyan: #42DDF5;
  --deep: #080B20;
  --panel: rgba(43, 32, 91, 0.48);
  --line: rgba(219, 211, 255, 0.16);
  --heading-font: "Space Grotesk", sans-serif;
  --body-font: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--deep);
  color: var(--ink);
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.space {
  position: fixed;
  z-index: -1;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 35%, rgba(119, 77, 232, 0.2), transparent 20rem),
    linear-gradient(145deg, #09051c 5%, #17103c 52%, #09051c 100%);
}
.space::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 20%, rgba(3, 1, 15, 0.58) 100%);
}
#stars { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .7; }
.nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: .26;
}
.nebula--one { width: 38vw; height: 38vw; right: -12vw; top: 5vh; background: #8e42e8; }
.nebula--two { width: 30vw; height: 30vw; left: -15vw; bottom: -8vh; background: #335ad1; }

.topbar {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 72px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  background: rgba(9, 5, 28, .34);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.brand > span:last-child > span { color: var(--violet); }
.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.06);
}
.brand-mark img { width: 29px; height: 29px; object-fit: cover; }
.nav { display: flex; align-items: center; gap: 38px; }
.nav a { color: #d5d0e6; font-size: 13px; transition: color .2s; }
.nav a:hover { color: #fff; }
.menu-button { display: none; width: 42px; height: 42px; border: 0; background: transparent; }
.menu-button span { display: block; width: 22px; height: 1px; margin: 6px auto; background: #fff; }
.mobile-nav { display: none; }

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 58% 42%;
  align-items: center;
  overflow: hidden;
  padding: 110px clamp(24px, 9vw, 140px) 60px;
}
.hero::before {
  content: "";
  position: absolute;
  width: 620px;
  height: 620px;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(187, 157, 255, .09);
  border-radius: 50%;
  box-shadow: 0 0 130px rgba(128, 74, 255, .12);
}
.hero-copy { position: relative; z-index: 3; max-width: 710px; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #cfc8e2;
  font-family: var(--body-font);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .14em;
}
.eyebrow > span { width: 28px; height: 1px; background: var(--pink); }
.hero h1 {
  margin: 0;
  font-size: clamp(64px, 7.4vw, 112px);
  line-height: .88;
  letter-spacing: -.075em;
  font-weight: 600;
}
.hero h1 em, .connect h2 em {
  font-family: var(--heading-font);
  font-style: italic;
  font-weight: 400;
  color: #c0a7ff;
}
.intro {
  max-width: 540px;
  margin: 30px 0 36px;
  color: #bdb7d2;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.75;
}
.explore-button, .connect-button {
  width: 245px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 24px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 6px;
  background: rgba(248, 245, 255, .95);
  color: #171129;
  cursor: pointer;
  transition: transform .25s, background .25s;
}
.explore-button:hover, .connect-button:hover { transform: translateY(-3px); background: #fff; }
.explore-button b, .connect-button b {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  background: #1b1533;
  color: #fff;
  font-size: 21px;
  font-weight: 400;
}
.explore-button span, .connect-button span { font-size: 14px; font-weight: 700; }

.hero-orb {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: min(36vw, 510px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 25px 70px rgba(113, 71, 221, .38));
}
.hero-orb::before {
  content: "";
  position: absolute;
  width: 76%;
  height: 76%;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #a39cff, #6740b8 50%, #20133e 72%);
  box-shadow: inset -28px -20px 50px rgba(24, 10, 70, .56), 0 0 55px rgba(136, 98, 255, .28);
  opacity: .24;
}
.hero-orb img { position: relative; z-index: 2; width: 94%; height: 94%; object-fit: contain; animation: float 5s ease-in-out infinite; }
.orbit {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(196, 175, 255, .38);
  border-radius: 50%;
  transform: rotate(-18deg);
}
.orbit--one { width: 118%; height: 48%; }
.orbit--two { width: 78%; height: 118%; transform: rotate(38deg); opacity: .45; }
.projects, .journal, .about, .connect { position: relative; z-index: 2; }
.projects, .journal { padding: 110px clamp(24px, 9vw, 140px); background: rgba(7, 4, 22, .82); }
.projects[hidden] { display: none; }
.projects.is-revealed { animation: revealSection .8s ease both; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 44px; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 1;
  letter-spacing: -.06em;
}
.section-heading .eyebrow { margin: 0 0 8px; order: 2; }
.project-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 18px; }
.project-card { min-width: 0; }
.project-visual {
  position: relative;
  height: 390px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 118, 202, .8), transparent 5%, transparent 12%),
    radial-gradient(circle at 50% 54%, #a889ff 0 8%, transparent 9%),
    linear-gradient(145deg, #33256d, #15102f 60%, #0b0920);
}
.project-visual::before, .project-visual::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 60px rgba(169,139,255,.25);
}
.project-visual::after { width: 270px; height: 90px; transform: translate(-50%, -50%) rotate(-24deg); }
.project-visual--signal { background: radial-gradient(circle at 28% 72%, #58d3ff, transparent 14%), linear-gradient(145deg, #17305e, #1b1642); }
.project-visual--field { background: radial-gradient(circle at 70% 30%, #ff9fcf, transparent 12%), linear-gradient(145deg, #542057, #19132f); }
.project-meta { padding: 18px 2px; }
.project-meta p { margin: 0 0 10px; color: #aaa3bd; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
.project-meta h3 { margin: 0 0 4px; font-size: 20px; }
.project-meta span { color: #918ba5; font-size: 13px; }

.journal { background: linear-gradient(180deg, rgba(12,8,35,.9), rgba(16,10,47,.96)); border-top: 1px solid var(--line); }
.post-list { border-top: 1px solid var(--line); }
.post {
  display: grid;
  grid-template-columns: 180px 1fr 50px;
  align-items: center;
  min-height: 145px;
  border-bottom: 1px solid var(--line);
  transition: background .25s, padding .25s;
}
.post:hover { background: rgba(255,255,255,.025); padding-inline: 14px; }
.post time { color: #9c96ac; font-size: 11px; }
.post p { margin: 0 0 8px; color: var(--violet); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.post h3 { margin: 0; font-size: clamp(20px, 2vw, 30px); }
.post a { justify-self: end; width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }

.about { padding: 120px clamp(24px, 9vw, 140px); background: #09051c; }
.about-card {
  min-height: 480px;
  display: grid;
  grid-template-columns: 42% 58%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(72,52,143,.34), rgba(27,20,68,.75));
}
.about-portrait { display: grid; place-items: end center; background: radial-gradient(circle at 50% 68%, rgba(168,137,255,.25), transparent 36%); }
.about-portrait img { width: 78%; max-height: 440px; object-fit: contain; }
.about-copy { align-self: center; max-width: 600px; padding: 50px 7vw 50px 50px; }
.about-copy h2 { margin: 0 0 20px; font-size: clamp(42px, 5vw, 72px); letter-spacing: -.06em; }
.about-copy > p:not(.eyebrow) { color: #bcb6ce; line-height: 1.8; }
.text-link { display: inline-flex; gap: 24px; margin-top: 20px; padding-bottom: 7px; border-bottom: 1px solid var(--line); font-size: 13px; }

.connect {
  min-height: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(circle at 50% 55%, rgba(128, 86, 225, .24), transparent 25rem),
    linear-gradient(180deg, rgba(9,5,28,.95), #09051c);
  border-top: 1px solid var(--line);
}
.connect .eyebrow { justify-content: center; }
.connect h2 { margin: 0 0 38px; font-size: clamp(54px, 7vw, 92px); line-height: .98; letter-spacing: -.07em; }
.connect-button { width: 260px; }

footer {
  height: 100px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #070416;
  color: #918ba3;
  font-size: 11px;
}
footer p { justify-self: center; }
footer > a:last-child { justify-self: end; }
.brand--footer { font-size: 14px; }
.brand--footer .brand-mark { width: 32px; height: 32px; }
.brand--footer .brand-mark img { width: 24px; height: 24px; }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes revealSection { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .topbar { height: 70px; }
  .nav { display: none; }
  .menu-button { display: block; }
  .mobile-nav {
    position: fixed;
    z-index: 19;
    inset: 70px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    background: rgba(9,5,28,.96);
    font-size: 28px;
    opacity: 0;
    visibility: hidden;
    transition: .25s;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; }
  .hero { grid-template-columns: 1fr; min-height: 760px; padding-top: 120px; }
  .hero-copy { z-index: 5; margin-left: 0; padding: 28px; }
  .hero h1 { font-size: clamp(58px, 13vw, 90px); }
  .hero-orb { position: absolute; right: -13vw; bottom: 2vh; width: 48vw; opacity: .62; }
  .project-grid { grid-template-columns: 1fr 1fr; }
  .project-card--featured { grid-column: 1 / -1; }
  .project-card--featured .project-visual { height: 440px; }
  .about-card { grid-template-columns: 38% 62%; }
}

@media (max-width: 620px) {
  .topbar { padding-inline: 20px; }
  .hero { min-height: 690px; align-items: start; padding: 130px 20px 40px; }
  .hero-copy { padding: 22px 18px; border-radius: 20px; }
  .hero::before { width: 420px; height: 420px; right: -230px; top: 68%; }
  .big-bubble { top: 65%; left: 75%; width: 250px; }
  .hero h1 { font-size: 54px; }
  .intro { max-width: 330px; margin-block: 24px 28px; }
  .hero-orb { width: 310px; right: -170px; bottom: -24px; opacity: .48; }
  .explore-button { width: 230px; height: 62px; }
  .explore-button b { width: 46px; height: 46px; }
  .projects, .journal { padding: 80px 20px; }
  .section-heading { align-items: start; }
  .section-heading h2 { order: 2; font-size: 50px; }
  .section-heading .eyebrow { order: 1; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card--featured { grid-column: auto; }
  .project-visual, .project-card--featured .project-visual { height: 320px; }
  .post { grid-template-columns: 1fr 42px; min-height: 120px; }
  .post time { grid-column: 1; margin-bottom: 8px; }
  .post > div { grid-column: 1; }
  .post a { grid-column: 2; grid-row: 1 / 3; }
  .about { padding: 80px 20px; }
  .about-card { grid-template-columns: 1fr; }
  .about-portrait { height: 310px; }
  .about-portrait img { height: 290px; }
  .about-copy { padding: 36px 24px 44px; }
  .connect { min-height: 520px; padding-inline: 20px; }
  .connect h2 { font-size: 48px; }
  footer { grid-template-columns: 1fr 1fr; padding-inline: 20px; }
  footer p { display: none; }
}

/* Underwater environment */
body { background: var(--deep); }
.space {
  z-index: -1;
  background:
    radial-gradient(ellipse at 76% 32%, rgba(84,41,200,.22), transparent 29rem),
    radial-gradient(ellipse at 16% 78%, rgba(22,123,255,.17), transparent 34rem),
    linear-gradient(145deg, #080B20 4%, #17113D 56%, #080B20 100%);
}
.space::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% var(--light-y, 24%), var(--section-glow, rgba(84, 41, 200, .25)), transparent 38rem),
    linear-gradient(180deg, rgba(8,11,32,.22), rgba(8,11,32,.39));
  transition: background 1.8s ease;
}
.big-bubble {
  position: absolute;
  top: 52%;
  left: 55%;
  width: clamp(220px, 34vw, 460px);
  aspect-ratio: 1;
  border: 1px solid rgba(195,237,255,.43);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.56), transparent 8%),
    radial-gradient(ellipse at 67% 78%, rgba(84,41,200,.18), transparent 38%),
    radial-gradient(ellipse at 52% 43%, rgba(22,123,255,.08), rgba(160,218,255,.045) 58%, rgba(66,221,245,.14));
  box-shadow:
    inset 9px 10px 24px rgba(221,248,255,.12),
    inset -20px -26px 52px rgba(84,41,200,.18),
    0 0 75px rgba(22,123,255,.13);
  animation: big-bubble-float 12s ease-in-out infinite;
  will-change: transform;
}
.big-bubble::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 21%;
  width: 23%;
  height: 7%;
  border-radius: 50%;
  background: rgba(255,255,255,.66);
  filter: blur(7px);
  transform: rotate(-35deg);
}
.big-bubble::after {
  content: "";
  position: absolute;
  inset: 5%;
  border: 1px solid rgba(198,234,255,.15);
  border-radius: 50%;
  transform: rotate(-24deg) scaleX(.9);
}
@keyframes big-bubble-float {
  0%, 100% { transform: translate3d(-50%,-50%,0) translate3d(0,8px,0) scale(.98); }
  50% { transform: translate3d(-50%,-50%,0) translate3d(14px,-23px,0) scale(1.025); }
}
.space::after {
  background:
    linear-gradient(180deg, rgba(8,11,32,.08), transparent 27%, rgba(8,11,32,.2)),
    radial-gradient(ellipse at 50% 48%, transparent 25%, rgba(3,6,23,.34) 100%);
}
.nebula { opacity: .2; will-change: transform; }
.nebula--one { background: #5429C8; transform: translate3d(0, var(--parallax-y, 0px), 0); }
.nebula--two { background: #167BFF; transform: translate3d(0, calc(var(--parallax-y, 0px) * -.55), 0); }
#stars { opacity: .45; }
.bubble-field { position: absolute; inset: 0; overflow: hidden; }
.bubble-field > span {
  position: absolute;
  left: var(--x);
  bottom: -12vh;
  width: var(--size);
  aspect-ratio: 1;
  border: 1px solid rgba(208, 236, 255, .3);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 26% 20%, rgba(255,255,255,.92) 0 2%, rgba(119,224,255,.45) 4%, transparent 21%),
    radial-gradient(ellipse at 74% 77%, rgba(84,41,200,.22), transparent 44%),
    linear-gradient(138deg, rgba(194,242,255,.14), rgba(90,115,255,.05) 45%, rgba(244,178,255,.19));
  box-shadow: inset -3px -4px 8px rgba(34,130,255,.12), inset 2px 2px 5px rgba(255,255,255,.1), 0 0 12px rgba(66,221,245,.08);
  animation: bubble-rise var(--duration) linear var(--delay) infinite;
  will-change: transform;
}
.bubble-field > span::before {
  content: "";
  position: absolute;
  top: 17%;
  left: 21%;
  width: 23%;
  height: 12%;
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  filter: blur(1px);
  transform: rotate(-35deg);
}
.bubble-field > span::after {
  content: "";
  position: absolute;
  right: 16%;
  bottom: 18%;
  width: 18%;
  height: 28%;
  border-right: 1px solid rgba(174,235,255,.58);
  border-radius: 50%;
  transform: rotate(-25deg);
}
@keyframes bubble-rise {
  0% { opacity: 0; transform: translate3d(0, 0, 0) scale(.8); }
  8% { opacity: .55; }
  50% { transform: translate3d(25px, -58vh, 0) scale(1); }
  92% { opacity: .4; }
  100% { opacity: 0; transform: translate3d(-18px, -125vh, 0) scale(.9); }
}

/* Floating glass navigation */
.topbar {
  top: 18px;
  left: 50%;
  width: min(1050px, calc(100% - 48px));
  height: 70px;
  transform: translateX(-50%);
  padding: 8px 10px 8px 18px;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 14, 43, .42);
  box-shadow: none;
  backdrop-filter: blur(22px) saturate(145%);
  -webkit-backdrop-filter: blur(22px) saturate(145%);
  transition: background .35s, border-color .35s, box-shadow .35s, top .35s;
}
.topbar.is-scrolled {
  top: 12px;
  background: rgba(8, 11, 32, .82);
  box-shadow: 0 12px 36px rgba(0,0,0,.2);
}
.brand { flex: 0 0 auto; gap: 9px; font-size: 15px; }
.brand-mark {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-color: rgba(174,195,255,.22);
  background: linear-gradient(145deg, rgba(84,41,200,.38), rgba(22,123,255,.2));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 0 15px rgba(84,41,200,.2);
}
.brand-mark img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  mix-blend-mode: screen;
}
.brand > span:last-child > span { color: #42DDF5; }
.nav {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 15px;
}
.nav-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: #cbcbe0;
  font-size: 12px;
  cursor: pointer;
  transition: color .22s, background .22s, border-color .22s, box-shadow .22s;
}
.nav-link:hover, .nav-link[aria-expanded="true"], .nav-link.is-active {
  color: #fff;
}
.nav-icon {
  width: 19px;
  height: 20px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #b6a4ff;
  transition: color .22s, filter .22s;
}
.nav-icon svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.nav-link:hover .nav-icon, .nav-link.is-active .nav-icon, .nav-link[aria-expanded="true"] .nav-icon {
  color: #42DDF5;
  filter: drop-shadow(0 0 7px rgba(66,221,245,.58));
}
.nav-indicator {
  position: absolute;
  z-index: 0;
  left: 15px;
  bottom: 8px;
  width: var(--indicator-width, 0px);
  height: 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, #5429C8, #42DDF5);
  box-shadow: 0 0 10px rgba(66,221,245,.55);
  transform: translateX(var(--indicator-x, 0px));
  transition: transform .38s cubic-bezier(.2,.8,.2,1), width .38s cubic-bezier(.2,.8,.2,1);
}
.nav-dropdown { position: relative; }
.chevron { color: #9a94b4; font-size: 15px; transition: transform .25s; }
.dropdown-toggle[aria-expanded="true"] .chevron { transform: rotate(180deg); }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 15px);
  left: 50%;
  width: 235px;
  padding: 8px;
  border: 1px solid rgba(194,214,255,.17);
  border-radius: 16px;
  background: rgba(12,14,43,.9);
  box-shadow: 0 18px 45px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(22px);
  transform: translate(-50%, -6px);
  animation: dropdown-in .2s ease both;
}
.dropdown-menu[hidden] { display: none; }
.dropdown-menu a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 13px;
  border-radius: 10px;
  color: #e6e3f4;
  font-size: 12px;
  transition: background .2s, color .2s;
}
.dropdown-menu a:hover { background: rgba(114,91,216,.2); color: #fff; }
.contact-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 19px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid rgba(141,198,255,.28);
  border-radius: 999px;
  background: linear-gradient(115deg, rgba(84,41,200,.4), rgba(22,123,255,.16));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 0 20px rgba(84,41,200,.12);
  color: #fff;
  font-size: 12px;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.contact-link:hover { transform: translateY(-2px); border-color: rgba(66,221,245,.7); box-shadow: 0 0 24px rgba(66,221,245,.18); }
.contact-link span { color: #42DDF5; font-size: 15px; }
.menu-button { flex: 0 0 auto; width: 44px; height: 44px; border: 1px solid rgba(194,214,255,.18); border-radius: 50%; background: rgba(255,255,255,.05); cursor: pointer; }
.menu-button span { transition: transform .25s; }
.menu-button[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { display: none; }

/* Cinematic and scroll-led content */
.skip-link {
  position: fixed;
  z-index: 50;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #080B20;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }
html { scroll-padding-top: 104px; }
.hero { background: radial-gradient(ellipse at 65% 52%, rgba(23,17,61,.05), transparent 60%); }
.hero-copy {
  margin-left: -30px;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid rgba(174,208,255,.17);
  border-radius: 24px;
  background: linear-gradient(112deg, rgba(8,11,32,.72), rgba(8,11,32,.38) 86%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 20px 70px rgba(3,6,23,.12);
  backdrop-filter: blur(9px) saturate(115%);
}
.hero h1, .intro { text-shadow: 0 2px 22px rgba(3,6,23,.28); }
.hero-copy { animation: hero-copy-in .9s .12s both cubic-bezier(.2,.7,.2,1); }
.hero-orb { animation: hero-orb-in 1.2s .22s both cubic-bezier(.2,.7,.2,1); }
.hero-orb img { animation: float 6.5s ease-in-out infinite; }
.projects, .journal {
  background: linear-gradient(180deg, rgba(8,11,32,.66), rgba(10,13,39,.76));
  backdrop-filter: blur(2px);
}
.journal { border-color: rgba(130,168,255,.12); }
.project-visual {
  border-color: rgba(167,196,255,.2);
  border-radius: 14px;
  background:
    radial-gradient(circle at 72% 28%, rgba(66,221,245,.72), transparent 7%, transparent 15%),
    radial-gradient(circle at 50% 54%, #5429C8 0 8%, transparent 9%),
    linear-gradient(145deg, rgba(48,52,124,.8), rgba(18,25,66,.84) 60%, rgba(8,11,32,.94));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
  transition: transform .45s, border-color .35s, box-shadow .35s;
}
.project-card:hover .project-visual { transform: translateY(-5px); border-color: rgba(66,221,245,.48); box-shadow: 0 18px 50px rgba(22,123,255,.14), inset 0 1px 0 rgba(255,255,255,.12); }
.project-visual::before, .project-visual::after { border-color: rgba(192,225,255,.25); }
.project-visual--signal { background: radial-gradient(circle at 28% 72%, rgba(66,221,245,.7), transparent 16%), linear-gradient(145deg, #17305e, #17113D); }
.project-visual--field { background: radial-gradient(circle at 70% 30%, rgba(84,41,200,.72), transparent 18%), linear-gradient(145deg, #272059, #10152e); }
.about { background: linear-gradient(180deg, rgba(8,11,32,.4), rgba(8,11,32,.74)); }
.about-card {
  border-color: rgba(155,189,255,.2);
  border-radius: 18px;
  background: linear-gradient(120deg, rgba(23,17,61,.6), rgba(22,35,86,.44));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 24px 80px rgba(3,6,23,.2);
  backdrop-filter: blur(12px);
}
.about-portrait { background: radial-gradient(circle at 50% 68%, rgba(22,123,255,.22), transparent 45%); }
.connect {
  background: radial-gradient(ellipse at 50% 55%, rgba(84,41,200,.18), transparent 27rem), linear-gradient(180deg, rgba(8,11,32,.45), rgba(8,11,32,.86));
  border-color: rgba(130,168,255,.12);
}
footer { background: rgba(8,11,32,.84); border-color: rgba(130,168,255,.12); backdrop-filter: blur(12px); }
.explore-button, .connect-button { border-radius: 999px; box-shadow: 0 10px 36px rgba(84,41,200,.18); }
.explore-button b, .connect-button b { border-radius: 50%; background: linear-gradient(135deg, #5429C8, #167BFF); }
.explore-button {
  width: auto;
  min-width: 250px;
  height: 60px;
  padding: 7px 8px 7px 22px;
  border-color: rgba(141,198,255,.3);
  background: rgba(12,14,43,.7);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 8px 28px rgba(22,123,255,.14);
  color: var(--ink);
  backdrop-filter: blur(16px);
}
.explore-button:hover {
  border-color: rgba(66,221,245,.68);
  background: linear-gradient(110deg, rgba(84,41,200,.58), rgba(22,123,255,.38));
  box-shadow: 0 0 28px rgba(22,123,255,.2), inset 0 1px 0 rgba(255,255,255,.15);
}
.explore-button b { animation: arrow-drift 1.8s ease-in-out infinite; }
.explore-button:hover b, .explore-button:focus-visible b { animation-play-state: paused; transform: translateX(4px); }
@keyframes arrow-drift {
  0%, 62%, 100% { transform: translateX(0); }
  78% { transform: translateX(4px); }
}
.explore-button span, .contact-link, .nav-link { font-family: var(--heading-font); }
.brand, .hero h1, .section-heading h2, .project-meta h3, .about-copy h2, .connect h2 {
  font-family: var(--heading-font);
}
.connect-button { background: rgba(12,14,43,.7); color: var(--ink); }
.connect-button:hover { background: linear-gradient(110deg, rgba(84,41,200,.58), rgba(22,123,255,.38)); }
section[hidden], footer[hidden], [data-after-explore][hidden] { display: none !important; }
.post a { transition: border-color .25s, color .25s, background .25s, transform .25s; }
.post a:hover { border-color: #42DDF5; color: #42DDF5; background: rgba(22,123,255,.1); transform: translateY(-2px); }
.section-heading, .post, .project-card, .about-card, .connect > .eyebrow, .connect > h2, .connect > .connect-button {
  transition: opacity .65s ease, transform .65s cubic-bezier(.2,.7,.2,1);
}
.js-ready .reveal-on-scroll { opacity: 0; transform: translateY(22px); }
.js-ready .reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }
.project-card:nth-child(2) { transition-delay: .08s; }
.project-card:nth-child(3) { transition-delay: .16s; }
@keyframes hero-copy-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-orb-in { from { opacity: 0; transform: scale(.9) translateY(16px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes dropdown-in { from { opacity: 0; transform: translate(-50%, -2px); } to { opacity: 1; transform: translate(-50%, 0); } }

@media (max-width: 900px) {
  .topbar { top: 12px; width: calc(100% - 32px); height: 64px; padding: 7px 8px 7px 14px; }
  .topbar.is-scrolled { top: 8px; }
  .topbar .nav, .topbar .contact-link { display: none; }
  .menu-button { display: block; }
  .mobile-nav {
    position: fixed;
    z-index: 19;
    top: 85px;
    left: 16px;
    right: 16px;
    bottom: auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    padding: 12px;
    border: 1px solid rgba(194,214,255,.18);
    border-radius: 22px;
    background: rgba(8,11,32,.92);
    box-shadow: 0 18px 50px rgba(0,0,0,.38), inset 0 1px 0 rgba(255,255,255,.08);
    backdrop-filter: blur(24px);
    font-size: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .24s, visibility .24s, transform .24s;
  }
  .mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .mobile-nav a { padding: 14px 16px; border-radius: 12px; color: #e9e9f5; }
  .mobile-nav a:hover, .mobile-nav a.is-active { background: rgba(84,41,200,.2); }
  .mobile-nav a[hidden] { display: none; }
}

@media (max-width: 620px) {
  .topbar { top: 10px; }
  .topbar.is-scrolled { top: 7px; }
  .mobile-nav { top: 79px; }
  .hero { background: radial-gradient(ellipse at 75% 65%, rgba(23,17,61,.12), transparent 65%); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .bubble-field { display: none; }
  .js-ready .reveal-on-scroll { opacity: 1; transform: none; }
}

.ocean-backdrop {
  position: absolute;
  inset: -6%;
  background: url("../../public/images/mascot/background.jpeg") center / cover no-repeat;
  opacity: .31;
  filter: saturate(1.18);
  animation: ocean-drift 38s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes ocean-drift {
  from { transform: scale(1.02) translate3d(-.5%, .3%, 0); }
  to { transform: scale(1.1) translate3d(.8%, -1.2%, 0); }
}

.hero { transform-origin: 78% 50%; }
.hero.is-zooming-right { animation: hero-zoom-right 1.05s cubic-bezier(.68,0,.2,1) both; }
.hero.is-entering-left { animation: hero-enter-left .85s cubic-bezier(.18,.72,.24,1) both; }
.section-picker {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  padding: 142px clamp(24px, 7vw, 112px) 90px;
  background: linear-gradient(180deg, rgba(8,11,32,.32), rgba(8,11,32,.6));
}
.section-picker.is-entering { animation: picker-enter .8s cubic-bezier(.18,.72,.24,1) both; }
.section-picker.is-zooming-up { animation: picker-zoom-up .82s cubic-bezier(.62,0,.22,1) both; pointer-events: none; }
.section-picker.is-zooming-right { animation: picker-zoom-right .78s cubic-bezier(.68,0,.2,1) both; pointer-events: none; }
.picker-heading { width: min(100%, 1120px); margin: 0 auto 34px; }
.picker-heading .eyebrow { margin-bottom: 14px; }
.picker-heading h2 {
  margin: 0;
  font: 600 clamp(38px, 5vw, 66px)/1.02 var(--heading-font);
  letter-spacing: -.055em;
}
.picker-heading > p:last-child { margin: 14px 0 0; color: #c1bfd5; font-size: 15px; }
.interface-grid {
  width: min(100%, 1120px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-inline: auto;
}
.interface-card {
  --card-glow: rgba(84,41,200,.56);
  --card-accent: #bb9cff;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
  padding: 15px;
  overflow: hidden;
  border: 1px solid rgba(182,202,255,.2);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(23,25,66,.66), rgba(8,11,32,.74));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 15px 44px rgba(3,6,23,.22);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease, background .32s ease;
}
.interface-card--journal { --card-glow: rgba(22,123,255,.56); --card-accent: #67ddff; }
.interface-card--about { --card-glow: rgba(183,91,255,.55); --card-accent: #e3a8ff; }
.interface-card--connect { --card-glow: rgba(28,197,228,.48); --card-accent: #42DDF5; }
.interface-card:hover, .interface-card:focus-visible {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--card-accent) 70%, transparent);
  background: linear-gradient(145deg, rgba(31,35,86,.82), rgba(8,11,32,.82));
  box-shadow: 0 20px 55px rgba(22,123,255,.16), inset 0 1px 0 rgba(255,255,255,.13);
}
.interface-card:focus-visible { outline: 2px solid var(--card-accent); outline-offset: 3px; }
.interface-card__type {
  color: #b7b3d0;
  font: 600 10px/1.3 var(--body-font);
  letter-spacing: .1em;
  text-transform: uppercase;
}
.interface-card__scene {
  position: relative;
  height: 190px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(166,183,255,.16);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 70% 22%, var(--card-glow), transparent 44%),
    linear-gradient(145deg, rgba(35,42,100,.72), rgba(9,13,39,.86));
}
.interface-window {
  position: absolute;
  inset: 12px;
  display: block;
  overflow: hidden;
  border: 1px solid rgba(201,218,255,.2);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(8,11,32,.53), rgba(15,21,59,.38));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08);
}
.window-dots { position: absolute; top: 10px; left: 10px; display: flex; gap: 4px; }
.window-dots i { width: 4px; height: 4px; border-radius: 50%; background: rgba(215,225,255,.38); }
.window-dots i:first-child { background: var(--card-accent); box-shadow: 0 0 8px var(--card-accent); }
.scene-orbit {
  position: absolute;
  top: 50%;
  left: 47%;
  width: 126px;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--card-accent) 58%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 35px var(--card-glow), inset 0 0 28px rgba(255,255,255,.06);
  transform: translate(-50%,-50%);
}
.scene-orbit::after {
  content: "";
  position: absolute;
  inset: 18px -24px;
  border: 1px solid rgba(199,226,255,.24);
  border-radius: 50%;
  transform: rotate(-24deg);
}
.mascot-stage {
  position: absolute;
  top: 50%;
  left: 47%;
  width: 76px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(228,237,255,.31);
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,.38), transparent 20%),
    radial-gradient(circle at 68% 72%, var(--card-glow), transparent 65%),
    rgba(167,196,255,.08);
  box-shadow: inset -10px -12px 24px rgba(6,8,35,.3), 0 0 28px var(--card-glow);
  transform: translate(-50%,-50%);
}
.mascot-stage > span {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 0 0 20px 5px var(--card-glow);
}
.mascot-stage > img { width: 90%; height: 90%; object-fit: contain; mix-blend-mode: screen; }
.scene-lines { position: absolute; right: 12px; bottom: 17px; width: 32%; display: grid; gap: 6px; }
.scene-lines i { height: 4px; border-radius: 10px; background: linear-gradient(90deg, var(--card-glow), rgba(170,190,255,.16)); }
.scene-lines i:nth-child(2) { width: 72%; }
.scene-lines i:nth-child(3) { width: 48%; }
.interface-card__details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 1px 2px 3px;
}
.interface-card__details > span { display: grid; gap: 4px; min-width: 0; }
.interface-card__details strong { font: 600 19px/1.15 var(--heading-font); }
.interface-card__details small { color: #aaa9c3; font: 11px/1.4 var(--body-font); }
.interface-card__details > b {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(164,189,255,.22);
  border-radius: 50%;
  background: rgba(84,41,200,.16);
  color: var(--card-accent);
  font-size: 16px;
  font-weight: 400;
  transition: transform .25s, background .25s;
}
.interface-card:hover .interface-card__details > b { transform: rotate(45deg); background: rgba(84,41,200,.34); }
.detail-page { position: relative; min-height: 100vh; padding-top: 122px; }
.detail-page.is-entering-up { animation: detail-enter-up .82s cubic-bezier(.18,.72,.24,1) both; }
.detail-page.is-zooming-up { animation: detail-zoom-up .8s cubic-bezier(.62,0,.22,1) both; pointer-events: none; }
.detail-page.is-zooming-right { animation: detail-zoom-right .78s cubic-bezier(.68,0,.2,1) both; pointer-events: none; }
.view-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 34px;
  padding: 10px 15px;
  border: 1px solid rgba(157,188,255,.22);
  border-radius: 999px;
  background: rgba(12,14,43,.56);
  color: #e3e3f3;
  font: 500 12px var(--heading-font);
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: border-color .2s, color .2s, background .2s;
}
.view-back:hover { border-color: rgba(66,221,245,.58); background: rgba(84,41,200,.24); color: #fff; }
.view-back span { color: #42DDF5; font-size: 16px; }
@keyframes hero-zoom-right {
  to { opacity: 0; filter: blur(7px); transform: translate3d(27vw,0,0) scale(1.62); }
}
@keyframes hero-enter-left {
  from { opacity: 0; filter: blur(5px); transform: translate3d(-8vw,0,0) scale(.92); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) scale(1); }
}
@keyframes picker-enter {
  from { opacity: 0; filter: blur(7px); transform: translate3d(0,12vh,0) scale(.9); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) scale(1); }
}
@keyframes picker-zoom-up {
  to { opacity: 0; filter: blur(7px); transform: translate3d(0,-28vh,0) scale(1.18); }
}
@keyframes detail-zoom-up {
  to { opacity: 0; filter: blur(7px); transform: translate3d(0,-28vh,0) scale(1.18); }
}
@keyframes picker-zoom-right {
  to { opacity: 0; filter: blur(7px); transform: translate3d(25vw,0,0) scale(1.28); }
}
@keyframes detail-zoom-right {
  to { opacity: 0; filter: blur(7px); transform: translate3d(25vw,0,0) scale(1.28); }
}
@keyframes detail-enter-up {
  from { opacity: 0; filter: blur(7px); transform: translate3d(0,24vh,0) scale(.93); }
  to { opacity: 1; filter: blur(0); transform: translate3d(0,0,0) scale(1); }
}

@media (max-width: 1000px) {
  .interface-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
  .section-picker { padding-top: 126px; }
  .interface-card__scene { height: 175px; }
}
@media (max-width: 620px) {
  .ocean-backdrop { inset: -10%; background-position: 54% center; opacity: .28; }
  .big-bubble { top: 68%; left: 72%; width: 260px; }
  .section-picker { padding: 108px 18px 56px; }
  .picker-heading { margin-bottom: 24px; }
  .picker-heading h2 { font-size: 38px; }
  .picker-heading > p:last-child { max-width: 300px; font-size: 13px; }
  .interface-grid { grid-template-columns: 1fr; gap: 12px; }
  .interface-card { display: grid; grid-template-columns: 1fr 115px; column-gap: 12px; row-gap: 8px; padding: 13px; border-radius: 15px; }
  .interface-card__type { grid-column: 1; align-self: end; }
  .interface-card__scene { grid-column: 2; grid-row: 1 / span 2; height: 106px; }
  .interface-window { inset: 7px; }
  .scene-orbit { width: 72px; }
  .mascot-stage { width: 44px; }
  .scene-lines { bottom: 9px; gap: 4px; }
  .scene-lines i { height: 3px; }
  .interface-card__details { grid-column: 1 / -1; }
  .interface-card__details strong { font-size: 17px; }
  .interface-card__details small { font-size: 10px; }
  .detail-page { padding-top: 104px; }
  .view-back { margin-bottom: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .ocean-backdrop { animation: none; }
}
