/* Signal / a personal editorial identity */
:root {
  --bg: #08090e;
  --text: #f3f1f8;
  --muted: #9794a5;
  --accent: #c2a8ff;
}
body {
  background: #08090e;
}
body:before {
  background: radial-gradient(ellipse at 85% 14%, #49207424, transparent 35%);
}
#field {
  opacity: 0.16;
}
.ambient {
  opacity: 0.05;
}
header {
  padding: 25px 5%;
  max-width: 1500px;
}
.brand-icon {
  border-radius: 8px !important;
  background: #15101f !important;
}
nav a {
  position: relative;
  padding: 8px 0;
}
nav a:after {
  content: "";
  position: absolute;
  height: 1px;
  width: 0;
  background: #c2a8ff;
  bottom: 0;
  left: 0;
  transition: width 0.25s;
}
nav a:hover:after {
  width: 100%;
}
.hero {
  max-width: none;
  grid-template-columns: 1.08fr 1fr;
  padding: 75px 5% 24px;
  gap: 20px;
  min-height: 850px;
  align-items: center;
}
.hero:before {
  display: none;
}
.hero:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 90px;
  left: 56%;
  width: 1px;
  background: linear-gradient(transparent, #b99ae41c, transparent);
  pointer-events: none;
}
.hero-copy {
  padding: 0;
  z-index: 3;
}
.eyebrow {
  margin: 0 0 20px;
  letter-spacing: 3px;
  color: #8b7b9c;
  font-size: 8px;
}
.hero-name {
  font-size: 8px;
  letter-spacing: 2.6px;
  color: #b5a4c7;
  margin: 0 0 24px;
}
h1 {
  font-size: clamp(75px, 9.8vw, 144px);
  line-height: 0.83;
  letter-spacing: -7px;
  font-weight: 600;
  margin: 0 0 32px;
}
h1 em {
  color: #c7aeef;
  background: none;
  -webkit-text-stroke: 0;
  position: relative;
}
.name-dot {
  color: #78d4d6;
}
.hero-subtitle {
  font-size: 15px;
  letter-spacing: 0.7px;
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}
.hero-subtitle span:not(.role-line) {
  padding: 0;
  color: #51465f;
}
.role-line {
  display: inline-block;
  width: 25px;
  height: 1px;
  background: #ae87e9;
}
.intro {
  font-size: 13px;
  line-height: 1.95;
  max-width: 410px;
}
.hero-actions {
  margin-top: 25px;
}
.primary {
  background: #d3b8ff;
  color: #170d29;
  border: 0;
  box-shadow: none;
  font-size: 11px;
}
.primary:hover {
  background: #e2ceff;
  box-shadow: 0 0 30px #bd90f72a;
}
.hero-foot {
  font-size: 7px;
  margin-top: 30px;
  color: #857392;
  gap: 12px;
}
.portrait-stage {
  max-width: 570px;
  width: 112%;
  aspect-ratio: 0.95;
  justify-self: center;
  margin-right: -5%;
  z-index: 2;
}
.portrait-window {
  inset: 0 0 9%;
  border-radius: 50%;
  box-shadow: none;
}
.portrait-window img {
  filter: saturate(0.85) contrast(1.1);
  mask-image: radial-gradient(
    ellipse at 50% 48%,
    #000 50%,
    #000c 66%,
    transparent 77%
  );
}
.portrait-halo {
  inset: -8%;
  background: radial-gradient(ellipse, #8d3eff22, transparent 65%);
  filter: blur(30px);
}
.portrait-outline {
  inset: 0 0 9%;
  border-color: #bba0df12;
}
.portrait-index {
  right: 2%;
  top: 29%;
  color: #8f719d;
  font-size: 7px;
  letter-spacing: 3px;
}
.portrait-signature {
  left: 4%;
  bottom: 17%;
  font-size: clamp(32px, 4vw, 58px);
  padding: 10px 20px;
  background: none;
  color: #ede0ff;
  letter-spacing: -2px;
}
.portrait-signature span {
  font-size: 6px;
  margin: 0 0 10px;
  letter-spacing: 3px;
  color: #be9fd7;
}
.portrait-caption {
  left: 7%;
  right: 7%;
  bottom: 5%;
  font-size: 6px;
  letter-spacing: 2px;
}
.hero-proof {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 35px;
  border-top: 1px solid #b8a6cc24;
  border-bottom: 1px solid #b8a6cc24;
  position: relative;
  z-index: 3;
}
.hero-proof a {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 23px 25px;
  border-right: 1px solid #b8a6cc24;
  transition: background 0.3s;
}
.hero-proof a:first-child {
  padding-left: 0;
}
.hero-proof a:last-child {
  border: 0;
}
.hero-proof strong {
  font:
    400 40px "Space Grotesk",
    sans-serif;
  letter-spacing: -2px;
  color: #cab5df;
}
.hero-proof span {
  font: 7px/1.8 monospace;
  letter-spacing: 1.5px;
  color: #9f8eaf;
}
.hero-proof b {
  font:
    18px "Space Grotesk",
    sans-serif;
  color: #826692;
  margin-left: auto;
}
.hero-proof a:hover {
  background: #b895e806;
}
.hero-proof a:hover b {
  color: #d4bbf4;
}
.scroll-note {
  border: 0;
  padding-top: 15px;
}
.section {
  padding: 100px 0;
  border-top-color: #b8a6cc24;
}
h2 {
  font-size: clamp(40px, 4.9vw, 65px);
  letter-spacing: -2.8px;
}
.section-heading {
  margin-bottom: 45px;
}
.section-label {
  letter-spacing: 2.5px;
  color: #a48ab8;
  font-size: 8px;
}
.about {
  grid-template-columns: 0.7fr 1.8fr 1fr;
}
.about h2 {
  font-size: clamp(35px, 3.4vw, 48px);
}
.about p {
  font-size: 13px;
}
.identity-seal img {
  width: 95px;
  height: 95px;
}
.focus-grid {
  border: 0;
  gap: 18px;
}
.focus-grid article {
  border: 1px solid #b79acb22 !important;
  border-radius: 5px !important;
  padding: 27px !important;
  background: linear-gradient(145deg, #1c1521aa, #0b0d14aa) !important;
}
.focus-grid article:nth-child(2n) {
  background: linear-gradient(145deg, #121b22aa, #0b0d14aa) !important;
}
.focus-grid article:hover {
  border-color: #b79acb77 !important;
  transform: translateY(-5px);
  box-shadow: 0 18px 30px #0004;
}
.card-number {
  font-size: 9px;
  color: #776084;
}
.card-symbol {
  font-size: 27px;
  color: #b798d7;
  margin-bottom: 28px;
}
.focus-grid h3 {
  font-size: 17px;
}
.focus-grid p {
  min-height: 100px;
}
.timeline article {
  padding: 28px 0 35px;
}
.timeline h3 {
  font-size: 27px;
}
.timeline-date {
  font-size: 7px;
  color: #9a82b0;
}
.case-file summary {
  padding: 30px 5px;
  grid-template-columns: 110px 1fr 45px;
}
.case-heading {
  font-size: 30px;
}
.case-file[open] {
  background: linear-gradient(110deg, #aa70e00c, transparent);
}
.case-open {
  border-radius: 4px;
  color: #a98cc2;
}
.case-body {
  padding-bottom: 35px;
}
.research-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.research-list article {
  border: 1px solid #b798d22b;
  border-radius: 6px;
  overflow: hidden;
  padding: 0;
  background: #0e0e15;
  display: flex;
  flex-direction: column;
}
.paper-visual {
  height: 215px;
  position: relative;
  background:
    radial-gradient(ellipse at 50% 70%, #63389655, transparent 70%), #120e1c;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.paper-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#baa1df09 1px, transparent 1px),
    linear-gradient(90deg, #baa1df09 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(transparent, #000);
}
.paper-code {
  position: absolute;
  left: 22px;
  top: 22px;
  font: 7px monospace;
  letter-spacing: 2px;
  color: #9980b3;
}
.ai-matrix {
  display: flex;
  align-items: center;
  gap: 15px;
  font: 9px monospace;
  letter-spacing: 1px;
  color: #967ca9;
  z-index: 1;
}
.ai-matrix span {
  color: #695077;
}
.ai-matrix b {
  font:
    500 27px "Space Grotesk",
    sans-serif;
  color: #ddc5ff;
  padding: 23px 17px;
  border: 1px solid #b486e977;
  border-radius: 10px;
  box-shadow: 0 0 45px #9652db33;
  background: #231632;
  animation: chip-glow 5s ease-in-out infinite;
}
.paper-visual-label {
  position: absolute;
  bottom: 22px;
  font: 6px monospace;
  letter-spacing: 2px;
  color: #9a7ab1;
}
.crypto-visual {
  background:
    radial-gradient(ellipse at 50% 65%, #214a5e50, transparent 70%), #0b141c;
}
.crypto-mark {
  font:
    500 42px "Space Grotesk",
    sans-serif;
  color: #c3d8e0;
  letter-spacing: -2px;
  z-index: 1;
}
.crypto-mark span {
  color: #65728b;
  padding: 0 16px;
  font-weight: 400;
}
.paper-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.paper-content > .timeline-date {
  font-size: 7px;
  line-height: 1.7;
}
.research-list h3 {
  font-size: 23px;
  line-height: 1.4;
  letter-spacing: -0.7px;
  margin: 18px 0 12px;
}
.research-list p {
  font-size: 11px;
  line-height: 1.8;
  color: #9c87ae;
}
.research-list small {
  font-size: 12px;
  line-height: 1.9;
  color: #9b92a7;
}
.doi {
  font-size: 9px;
  color: #a293bb;
  line-height: 1.8;
  letter-spacing: 0;
}
.paper-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #b79acb22;
  padding-top: 20px;
  margin-top: auto;
  font-size: 11px;
  color: #ddc4fb;
}
.paper-content .doi + .paper-link {
  margin-top: 24px;
}
.paper-content > small {
  margin-bottom: 28px;
}
.paper-link span {
  font-size: 18px;
}
.paper-link:hover {
  color: #8ddbe2;
}
.contact {
  background: radial-gradient(ellipse at 75% 50%, #65399418, transparent 65%);
  padding: 90px 0 65px;
}
.contact h2 {
  font-size: clamp(55px, 7.6vw, 105px);
  line-height: 1;
  letter-spacing: -5px;
}
.contact:after {
  content: "LET’S TALK";
  font-size: clamp(60px, 14vw, 180px);
  font-weight: 600;
  letter-spacing: -6px;
  top: 40%;
  right: -2%;
  color: #ba98db04;
}
.contact-details a {
  color: #bda6ce;
}
.training li {
  font-size: 12px;
}
.in-progress {
  background: #b791de07;
  border: 1px solid #b791de22;
  border-radius: 4px;
  padding: 20px;
}
.in-progress > .mono {
  color: #ba99d2;
}
footer {
  padding: 30px 5%;
}
@keyframes chip-glow {
  50% {
    box-shadow: 0 0 55px #9652db55;
    border-color: #d5b2ff;
  }
}
@media (min-width: 681px) and (max-width: 1000px) {
  .hero {
    padding-top: 65px;
    min-height: 730px;
    grid-template-columns: 1.1fr 1fr;
    gap: 10px;
  }
  h1 {
    font-size: clamp(76px, 10vw, 104px);
    letter-spacing: -5px;
  }
  .hero-name {
    font-size: 6px;
    letter-spacing: 1.3px;
  }
  .hero-subtitle {
    font-size: 11px;
    gap: 7px;
  }
  .intro {
    font-size: 12px;
  }
  .portrait-stage {
    width: 115%;
    margin-right: 0;
  }
  .hero-proof a {
    padding: 18px 14px;
    gap: 12px;
  }
  .hero-proof strong {
    font-size: 32px;
  }
  .hero-proof span {
    font-size: 6px;
  }
  .about {
    grid-template-columns: 1.7fr 1fr;
  }
  .focus-grid {
    gap: 12px;
  }
  .focus-grid article {
    padding: 23px !important;
  }
  .research-list {
    gap: 15px;
  }
  .paper-content {
    padding: 22px;
  }
  .research-list h3 {
    font-size: 20px;
  }
  .case-heading {
    font-size: 25px;
  }
  .case-file summary {
    grid-template-columns: 80px 1fr 35px;
  }
}
@media (max-width: 680px) {
  .hero {
    padding: 45px 6% 20px;
    gap: 20px;
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .hero:after {
    display: none;
  }
  .eyebrow {
    font-size: 7px;
    margin-bottom: 18px;
  }
  .hero-name {
    font-size: 6px;
    letter-spacing: 1.7px;
    margin-bottom: 25px;
  }
  h1 {
    font-size: clamp(75px, 19vw, 126px);
    letter-spacing: -5px;
    line-height: 0.86;
    margin-bottom: 25px;
  }
  .hero-subtitle {
    font-size: 12px;
    gap: 8px;
  }
  .intro {
    font-size: 12px;
    line-height: 1.9;
    max-width: 100%;
  }
  .hero-foot {
    font-size: 6px;
    margin-top: 25px;
  }
  .portrait-stage {
    width: 94%;
    max-width: 410px;
    aspect-ratio: 1;
    justify-self: center;
    margin: 0 0 0;
  }
  .portrait-window {
    inset: 0 0 5%;
  }
  .portrait-signature {
    left: 0;
    bottom: 16%;
    font-size: 40px;
  }
  .portrait-index {
    right: 0;
    font-size: 6px;
  }
  .portrait-caption {
    bottom: 2%;
    font-size: 6px;
  }
  .hero-proof {
    margin-top: 5px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-proof a {
    padding: 18px 10px;
    gap: 12px;
  }
  .hero-proof a:first-child {
    padding-left: 0;
  }
  .hero-proof a:nth-child(2) {
    border: 0;
  }
  .hero-proof a:last-child {
    display: none;
  }
  .hero-proof strong {
    font-size: 32px;
  }
  .hero-proof span {
    font-size: 6px;
  }
  .hero-proof b {
    font-size: 14px;
  }
  .section {
    padding: 60px 0;
  }
  h2 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .about h2 {
    font-size: 36px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .about {
    grid-template-columns: 1fr;
  }
  .focus-grid {
    gap: 10px;
  }
  .focus-grid article {
    padding: 20px 14px !important;
    border: 1px solid #b79acb22 !important;
  }
  .focus-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid #b79acb22 !important;
  }
  .focus-grid article:nth-child(2) {
    border-right: 1px solid #b79acb22 !important;
  }
  .focus-grid h3 {
    font-size: 14px;
    min-height: 40px;
  }
  .focus-grid p {
    font-size: 11px;
    min-height: 113px;
  }
  .case-file summary {
    grid-template-columns: 1fr 30px;
    padding: 24px 0;
    gap: 13px;
  }
  .case-heading {
    font-size: 22px;
  }
  .case-body {
    margin-left: 0;
  }
  .research-list {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .paper-visual {
    height: 200px;
  }
  .paper-content {
    padding: 25px;
  }
  .research-list h3 {
    font-size: 23px;
  }
  .contact h2 {
    font-size: 53px;
    letter-spacing: -3px;
  }
  .contact {
    padding-bottom: 35px;
  }
  .hero-actions {
    gap: 24px;
  }
  .hero-actions .button {
    font-size: 10px;
  }
  header .brand {
    font-size: 9px;
  }
  nav {
    font-size: 10px;
  }
  .timeline h3 {
    font-size: 25px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ai-matrix b {
    animation: none;
  }
}
/* Studio direction: controlled scale, precise hierarchy */
body:before {
  background: radial-gradient(ellipse at 82% 12%, #4a32721c, transparent 32%);
}
.ambient {
  opacity: 0.025;
}
#field {
  opacity: 0.13;
}
.studio-hero {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 55px;
  min-height: auto;
  padding: 32px 5% 0;
  align-items: center;
}
.studio-hero:after {
  display: none;
}
.hero-topline {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #b69ed51e;
  padding-bottom: 24px;
  margin-bottom: 12px;
  font: 7px monospace;
  letter-spacing: 2px;
  color: #83758f;
}
.hero-topline > span:last-child {
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero-topline i {
  width: 4px;
  height: 4px;
  background: #a6c4bc;
  box-shadow: none;
}
.studio-hero .hero-copy {
  padding: 18px 0 30px;
}
.studio-hero .eyebrow {
  font-size: 7px;
  letter-spacing: 1.8px;
  color: #a18cb4;
  margin-bottom: 25px;
}
.studio-hero h1 {
  font-size: clamp(48px, 5.7vw, 76px);
  line-height: 1.07;
  letter-spacing: -3.5px;
  font-weight: 500;
  margin: 0 0 26px;
}
.studio-hero h1 em {
  color: #bca4dc;
  background: none;
  animation: none;
}
.studio-hero .intro {
  max-width: 410px;
  font-size: 13px;
  line-height: 1.95;
}
.studio-hero .hero-actions {
  gap: 25px;
  margin-top: 30px;
}
.studio-hero .button {
  background: #c6b2e5;
  color: #1c1228;
  font-size: 11px;
  border-radius: 3px;
  padding: 15px 19px;
}
.studio-hero .button:hover {
  background: #ddcaf6;
}
.studio-hero .text-link {
  font-size: 11px;
  color: #b3a8bc;
}
.hero-specialties {
  display: flex;
  gap: 15px;
  font: 7px monospace;
  letter-spacing: 2px;
  color: #786787;
  margin-top: 42px;
}
.hero-specialties b {
  font-weight: 400;
  color: #45374e;
}
.signal-composition {
  position: relative;
  isolation: isolate;
  padding: 0 0 5px;
  max-width: 470px;
  width: 100%;
  justify-self: end;
  animation: arrival 1s 0.2s both;
}
.signal-ambient {
  position: absolute;
  inset: 0 -20%;
  background: radial-gradient(ellipse, #8d59bb13, transparent 65%);
  z-index: -1;
  pointer-events: none;
}
.signal-axis {
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: -28px;
  width: 1px;
  background: linear-gradient(transparent, #b798cc33, transparent);
}
.profile-line {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 0 30px;
}
.profile-line img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 28px #7239c020;
  filter: saturate(0.65);
  transition:
    filter 0.4s,
    transform 0.5s;
}
.profile-line:hover img {
  filter: saturate(1);
  transform: rotate(-4deg);
}
.profile-name {
  display: block;
  font:
    500 21px "Space Grotesk",
    sans-serif;
  color: #e3dbea;
  letter-spacing: -0.6px;
}
.profile-handle {
  display: block;
  font: 7px monospace;
  letter-spacing: 1.5px;
  color: #9a82af;
  margin-top: 10px;
}
.profile-mark {
  margin-left: auto;
  color: #9e84b2;
  font-size: 22px;
}
.signal-title {
  display: flex;
  justify-content: space-between;
  font: 6px monospace;
  letter-spacing: 1.8px;
  color: #7f6c8e;
  padding: 17px 0;
  border-top: 1px solid #ac8cc62b;
}
.signal-row {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 21px 0;
  border-top: 1px solid #ad91c21a;
  transition:
    padding 0.3s,
    background 0.3s;
}
.signal-number {
  font: 8px monospace;
  color: #705b80;
}
.signal-row > div {
  flex: 1;
}
.signal-row strong {
  display: block;
  font:
    400 17px "Space Grotesk",
    sans-serif;
  letter-spacing: -0.4px;
  color: #cfc4d8;
}
.signal-row small {
  display: block;
  font-size: 10px;
  color: #807489;
  margin-top: 8px;
}
.signal-arrow {
  font-size: 16px;
  color: #7b628d;
  transition: transform 0.3s;
}
.signal-row:hover {
  padding-left: 10px;
  background: linear-gradient(90deg, #b291d009, transparent);
}
.signal-row:hover .signal-arrow {
  color: #c4a6e0;
  transform: translate(2px, -2px);
}
.signal-bottom {
  border-top: 1px solid #ac8cc62b;
  display: flex;
  align-items: center;
  gap: 9px;
  padding-top: 17px;
  font: 6px monospace;
  letter-spacing: 1.3px;
  color: #7e6d8b;
}
.signal-bottom .live-dot {
  width: 3px;
  height: 3px;
  background: #a6c4bc;
  box-shadow: none;
}
.signal-bottom > span:last-child {
  margin-left: auto;
}
.hero-bottom-strip {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid #aa8ac32a;
  border-bottom: 1px solid #aa8ac32a;
  margin-top: 15px;
  gap: 30px;
}
.hero-bottom-strip a {
  padding: 25px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  position: relative;
}
.hero-bottom-strip a:not(:last-child):after {
  content: "";
  position: absolute;
  right: -15px;
  top: 25%;
  height: 50%;
  width: 1px;
  background: #aa8ac31f;
}
.hero-bottom-strip a > span {
  font: 6px monospace;
  letter-spacing: 1.7px;
  color: #7f698f;
  grid-column: 1/-1;
}
.hero-bottom-strip strong {
  font:
    400 14px "Space Grotesk",
    sans-serif;
  color: #b9adc3;
}
.hero-bottom-strip b {
  font: 11px monospace;
  font-weight: 400;
  color: #9d83ae;
  transition: translate 0.3s;
}
.hero-bottom-strip a:hover b {
  translate: 3px -2px;
}
.hero-bottom-strip a:hover strong {
  color: #e3c9f7;
}
.section {
  padding: 80px 0;
}
.section h2 {
  font-size: clamp(35px, 4.2vw, 54px);
  letter-spacing: -2px;
}
.about {
  border-top: 0;
}
.focus-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid #ac8cc629;
  border-bottom: 1px solid #ac8cc629;
}
.focus-grid article {
  display: grid;
  grid-template-columns: 45px 1fr;
  column-gap: 18px;
  padding: 28px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
}
.focus-grid article:nth-child(2n) {
  background: none !important;
}
.focus-grid article:nth-child(odd) {
  border-right: 1px solid #ac8cc629 !important;
}
.focus-grid article:nth-child(-n + 2) {
  border-bottom: 1px solid #ac8cc629 !important;
}
.focus-grid article:hover {
  transform: none;
  box-shadow: none;
  background: #b28cce05 !important;
}
.card-symbol {
  grid-column: 1;
  grid-row: 1/4;
  font-size: 25px;
  margin: 4px 0;
  color: #9f87b3;
}
.focus-grid h3 {
  grid-column: 2;
  min-height: auto;
  margin: 0 0 12px;
  font-size: 18px;
}
.focus-grid p {
  grid-column: 2;
  min-height: auto;
  font-size: 12px;
  margin: 0;
  line-height: 1.9;
}
.focus-grid .tags {
  grid-column: 2;
  margin-top: 20px;
}
.card-number {
  display: none;
}
.research-list article {
  background: #0b0c12;
  border-radius: 3px;
  border-color: #ac8cc626;
}
.paper-visual {
  height: 150px;
  background-color: #100d18;
}
.ai-matrix b {
  font-size: 23px;
  padding: 15px;
  border-radius: 4px;
  box-shadow: 0 0 25px #9652db22;
}
.crypto-mark {
  font-size: 35px;
}
.paper-content {
  padding: 27px;
}
.research-list h3 {
  font-size: 21px;
  line-height: 1.5;
}
.paper-visual-label {
  font-size: 5px;
  letter-spacing: 1.4px;
  bottom: 16px;
}
.paper-code {
  top: 16px;
  font-size: 6px;
}
.contact h2 {
  font-size: clamp(44px, 6vw, 78px);
  letter-spacing: -3px;
}
.contact:after {
  display: none;
}
.intro-playing .signal-composition {
  animation-play-state: paused;
}
.case-heading {
  font-size: 26px;
}
.timeline h3 {
  font-size: 24px;
}
@media (min-width: 681px) and (max-width: 1000px) {
  .studio-hero {
    gap: 35px;
    padding-top: 25px;
    min-height: auto;
  }
  .studio-hero h1 {
    font-size: clamp(43px, 5.9vw, 61px);
    letter-spacing: -2.7px;
  }
  .studio-hero .intro {
    font-size: 12px;
  }
  .studio-hero .eyebrow {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .profile-line img {
    width: 72px;
    height: 72px;
  }
  .profile-name {
    font-size: 18px;
  }
  .profile-handle {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .signal-row strong {
    font-size: 15px;
  }
  .signal-row small {
    font-size: 9px;
    line-height: 1.8;
  }
  .signal-row {
    gap: 14px;
  }
  .signal-axis {
    left: -18px;
  }
  .hero-bottom-strip strong {
    font-size: 12px;
  }
  .studio-hero .hero-actions {
    gap: 20px;
  }
  .studio-hero .button {
    font-size: 10px;
    padding: 14px 15px;
  }
  .hero-specialties {
    font-size: 6px;
    gap: 10px;
    letter-spacing: 1.5px;
  }
  .focus-grid article {
    padding: 23px !important;
    column-gap: 12px;
    grid-template-columns: 30px 1fr;
  }
  .focus-grid h3 {
    font-size: 16px;
  }
}
@media (max-width: 680px) {
  .studio-hero {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 24px 6% 0;
    min-height: auto;
  }
  .hero-topline {
    font-size: 5px;
    letter-spacing: 1.3px;
    padding-bottom: 18px;
    margin-bottom: 0;
  }
  .studio-hero .hero-copy {
    padding: 8px 0;
  }
  .studio-hero .eyebrow {
    font-size: 6px;
    letter-spacing: 1.4px;
    margin-bottom: 22px;
  }
  .studio-hero h1 {
    font-size: clamp(46px, 11vw, 65px);
    letter-spacing: -2.8px;
    line-height: 1.08;
  }
  .studio-hero .intro {
    font-size: 12px;
    max-width: none;
  }
  .studio-hero .hero-actions {
    gap: 25px;
    margin-top: 25px;
  }
  .studio-hero .button {
    font-size: 10px;
    padding: 15px 18px;
  }
  .hero-specialties {
    font-size: 6px;
    gap: 12px;
    letter-spacing: 1.4px;
    margin-top: 30px;
  }
  .signal-composition {
    max-width: none;
    margin-top: 12px;
  }
  .signal-axis {
    display: none;
  }
  .profile-line {
    padding-bottom: 25px;
    gap: 17px;
  }
  .profile-line img {
    width: 72px;
    height: 72px;
  }
  .profile-name {
    font-size: 21px;
  }
  .profile-handle {
    font-size: 6px;
  }
  .signal-row {
    padding: 20px 0;
  }
  .signal-row strong {
    font-size: 16px;
  }
  .signal-row small {
    font-size: 10px;
    line-height: 1.7;
  }
  .hero-bottom-strip {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 8px;
  }
  .hero-bottom-strip a {
    padding: 19px 0;
    grid-template-columns: 90px 1fr auto;
    align-items: center;
    gap: 12px;
  }
  .hero-bottom-strip a > span {
    grid-column: auto;
    font-size: 5px;
  }
  .hero-bottom-strip a:not(:last-child) {
    border-bottom: 1px solid #aa8ac31a;
  }
  .hero-bottom-strip a:not(:last-child):after {
    display: none;
  }
  .hero-bottom-strip strong {
    font-size: 13px;
  }
  .hero-bottom-strip b {
    font-size: 10px;
  }
  .section {
    padding: 55px 0;
  }
  .section h2 {
    font-size: 36px;
  }
  .focus-grid {
    grid-template-columns: 1fr;
  }
  .focus-grid article {
    padding: 25px 0 !important;
    grid-template-columns: 34px 1fr;
    column-gap: 15px;
    border: 0 !important;
    border-bottom: 1px solid #ac8cc629 !important;
  }
  .focus-grid article:nth-child(odd) {
    border-right: 0 !important;
  }
  .focus-grid article:nth-child(2) {
    border-right: 0 !important;
  }
  .focus-grid article:last-child {
    border-bottom: 0 !important;
  }
  .focus-grid h3 {
    font-size: 18px;
  }
  .focus-grid p {
    font-size: 12px;
  }
  .focus-grid .tags {
    margin-top: 17px;
  }
  .section.contact h2 {
    font-size: 43px;
    letter-spacing: -2px;
  }
  .research-list h3 {
    font-size: 21px;
  }
  .paper-visual {
    height: 160px;
  }
  .case-heading {
    font-size: 21px;
  }
}
/* Restore the atmosphere; simplify the first impression. */
#field {
  opacity: 0.85;
}
.ambient {
  opacity: 0.15;
}
.ambient.second {
  opacity: 0.11;
}
body:before {
  background:
    radial-gradient(ellipse at 80% 18%, #673ac72c, transparent 48%),
    radial-gradient(ellipse at 10% 70%, #085f7429, transparent 50%);
}
.balanced-hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 55px;
  align-items: center;
  min-height: 660px;
  padding: 80px 6% 25px;
}
.balanced-hero:before,
.balanced-hero:after {
  display: none;
}
.balanced-hero .hero-copy {
  padding: 0;
}
.balanced-hero .eyebrow {
  font: 8px monospace;
  letter-spacing: 2.3px;
  color: #a897c6;
  margin-bottom: 28px;
}
.balanced-hero .eyebrow:before {
  display: none;
}
.balanced-hero h1 {
  font-size: clamp(45px, 5.1vw, 69px);
  line-height: 1.09;
  letter-spacing: -3px;
  font-weight: 500;
  margin: 0 0 27px;
}
.balanced-hero h1 em {
  background: linear-gradient(100deg, #c4a2ff, #8c8fff, #65edf0, #c4a2ff);
  background-size: 220% auto;
  background-clip: text;
  color: transparent;
  animation: spectrum 7s linear infinite;
}
.balanced-name {
  font:
    15px/1.8 "Space Grotesk",
    sans-serif;
  color: #e2d8f2;
  margin: 0 0 12px;
}
.balanced-name span {
  display: block;
  font:
    11px/1.8 "DM Sans",
    sans-serif;
  color: #9e91b0;
  margin-top: 3px;
}
.balanced-hero .intro {
  font-size: 13px;
  line-height: 1.9;
  color: #aea2be;
  max-width: 390px;
  margin: 0;
}
.balanced-hero .hero-actions {
  margin-top: 30px;
  gap: 28px;
}
.balanced-hero .button {
  font-size: 11px;
  background: linear-gradient(110deg, #a787f6, #bca3ff);
  box-shadow: 0 8px 35px #9566ed29;
  border: 1px solid #dbc9ff33;
  border-radius: 5px;
  padding: 15px 21px;
}
.balanced-hero .text-link {
  font-size: 11px;
}
.balanced-portrait {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  justify-self: center;
  isolation: isolate;
  animation: arrival 1.2s 0.15s both;
}
.balanced-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  filter: saturate(0.9);
  box-shadow: 0 0 60px #8b45f825;
  animation: balanced-float 8s ease-in-out infinite;
}
.balanced-aura {
  position: absolute;
  inset: -22%;
  border-radius: 50%;
  background: radial-gradient(circle, #8c43ed30, transparent 66%);
  filter: blur(35px);
  z-index: -1;
  animation: halo-breathe 7s ease-in-out infinite;
}
.portrait-alias {
  display: block;
  text-align: center;
  font: 8px monospace;
  letter-spacing: 4px;
  color: #bba2d9;
  margin-top: 23px;
}
.balanced-scroll {
  grid-column: 1/-1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #bda0de24;
  padding-top: 24px;
  margin-top: 45px;
  font: 7px monospace;
  letter-spacing: 2px;
  color: #8d79a3;
}
.balanced-scroll a {
  font-size: 18px;
  color: #c3a5e7;
  animation: balanced-nudge 2s ease-in-out infinite;
}
.intro-playing .balanced-portrait {
  animation-play-state: paused;
}
.section {
  background: none;
}
.focus-grid {
  border-top: 1px solid #ac8cc629;
}
.paper-visual {
  background-color: #120e1c;
}
@keyframes balanced-float {
  50% {
    transform: translateY(-8px);
  }
}
@keyframes balanced-nudge {
  50% {
    translate: 0 5px;
  }
}
@media (min-width: 681px) and (max-width: 1000px) {
  .balanced-hero {
    gap: 35px;
    min-height: 610px;
    padding-top: 65px;
  }
  .balanced-hero h1 {
    font-size: clamp(41px, 5.4vw, 57px);
    letter-spacing: -2.5px;
  }
  .balanced-portrait {
    width: min(100%, 290px);
  }
  .balanced-name {
    font-size: 14px;
  }
  .balanced-hero .intro {
    font-size: 12px;
  }
}
@media (max-width: 680px) {
  .balanced-hero {
    grid-template-columns: 1fr;
    padding: 50px 6% 25px;
    gap: 32px;
    min-height: auto;
  }
  .balanced-hero h1 {
    font-size: clamp(43px, 10.4vw, 62px);
    letter-spacing: -2.7px;
  }
  .balanced-hero .eyebrow {
    font-size: 7px;
    margin-bottom: 23px;
  }
  .balanced-name {
    font-size: 15px;
  }
  .balanced-hero .intro {
    font-size: 12px;
    max-width: 370px;
  }
  .balanced-portrait {
    width: 230px;
    margin: 8px 0 15px;
  }
  .portrait-alias {
    font-size: 7px;
    margin-top: 18px;
  }
  .balanced-scroll {
    margin-top: 8px;
    font-size: 6px;
    letter-spacing: 1px;
  }
  .balanced-hero .hero-actions {
    gap: 25px;
    margin-top: 25px;
  }
  .balanced-hero .button {
    font-size: 10px;
  }
  .balanced-hero .text-link {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .balanced-portrait img,
  .balanced-scroll a {
    animation: none;
  }
}
/* Occasional shooting stars behind the content. */
.meteor-layer {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: -1;
}
.meteor {
  position: absolute;
  width: 180px;
  height: 2px;
  transform-origin: right center;
  background: linear-gradient(
    90deg,
    transparent,
    #a58aff55 45%,
    #b6ceffcc 85%,
    #effcff
  );
  border-radius: 50%;
  filter: drop-shadow(0 0 5px #bcb0ff);
  opacity: 0;
  animation: meteor-fall var(--meteor-time, 1800ms) linear forwards;
}
.meteor:after {
  content: "";
  position: absolute;
  right: 0;
  top: -1px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ecfaff;
  box-shadow: 0 0 9px #b7a5ff;
}
.paused .meteor {
  animation-play-state: paused !important;
}
@keyframes meteor-fall {
  0% {
    opacity: 0;
    transform: translate3d(0, 0, 0) rotate(135deg);
  }
  10% {
    opacity: 0.8;
  }
  70% {
    opacity: 0.65;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--meteor-x, -600px), var(--meteor-y, 600px), 0)
      rotate(135deg);
  }
}
@media (max-width: 680px) {
  .meteor {
    width: 110px;
    height: 1px;
  }
  .meteor:after {
    width: 3px;
    height: 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .meteor-layer {
    display: none;
  }
}
/* Crop the source's black margin inside a circular frame. */
.balanced-portrait {
  overflow: visible;
}
.balanced-portrait img {
  clip-path: circle(47.1% at 48.8% 48.8%);
  transform: scale(1.062) translate(0.5%, 0.5%);
  animation: portrait-cropped-float 8s ease-in-out infinite;
  box-shadow: none;
}
.balanced-portrait:before {
  content: "";
  position: absolute;
  inset: -2%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    transparent 58%,
    #9650ed17 69%,
    transparent 76%
  );
  filter: blur(12px);
  pointer-events: none;
  animation: portrait-soft-glow 7s ease-in-out infinite;
  z-index: -1;
}
.balanced-portrait:after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 0%,
    #e4d3ff 0 1.4px,
    #bba0ff77 2px,
    transparent 7px
  );
  pointer-events: none;
  animation: portrait-orbit-light 18s linear infinite;
  filter: drop-shadow(0 0 4px #bc91ff77);
}
.balanced-portrait:hover:before {
  background: radial-gradient(
    circle,
    transparent 58%,
    #7bdce721 69%,
    transparent 76%
  );
}
@keyframes portrait-cropped-float {
  0%,
  100% {
    transform: translate(0.5%, 0.5%) scale(1.062);
  }
  50% {
    transform: translate(0.5%, calc(0.5% - 5px)) scale(1.062);
  }
}
@keyframes portrait-soft-glow {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 1;
  }
}
@keyframes portrait-orbit-light {
  to {
    rotate: 360deg;
  }
}
@media (prefers-reduced-motion: reduce) {
  .balanced-portrait img,
  .balanced-portrait:before,
  .balanced-portrait:after {
    animation: none;
  }
}
/* Match the orbit to the cropped image's center and floating motion. */
.balanced-portrait {
  animation: portrait-group-float 8s ease-in-out infinite;
}
.balanced-portrait img {
  animation: none;
  transform: translate(0.5%, 0.5%) scale(1.062);
}
.balanced-portrait:after {
  inset: auto;
  left: 50%;
  top: 50%;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: none;
  filter: none;
  animation: portrait-centered-orbit 18s linear infinite;
}
.balanced-portrait:after {
  background: radial-gradient(
    circle at 50% 2px,
    #e4d3ff 0 1.4px,
    #bba0ff77 2px,
    transparent 7px
  );
}
@keyframes portrait-group-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -5px;
  }
}
@keyframes portrait-centered-orbit {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .balanced-portrait,
  .balanced-portrait:after {
    animation: none;
  }
  .balanced-portrait:after {
    transform: translate(-50%, -50%);
  }
}
.balanced-portrait img {
  transform: translate(1.2744%, 1.2744%) scale(1.062);
}
/* Soft light treatment without an orbit. */
.balanced-portrait:after {
  display: none !important;
  animation: none !important;
  background: none !important;
}
.balanced-portrait:before {
  inset: -12%;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    #9061ef1a 30%,
    #9d52ed20 50%,
    #6a4be00b 64%,
    transparent 73%
  );
  filter: blur(23px);
  animation: portrait-aura-breathe 8s ease-in-out infinite;
  z-index: -1;
}
.balanced-portrait:hover:before {
  background: radial-gradient(
    circle,
    #8664ec1a 30%,
    #8b70e927 50%,
    #65d7e80d 64%,
    transparent 73%
  );
}
.balanced-portrait img {
  animation: portrait-soft-shimmer 12s ease-in-out infinite;
  will-change: auto;
}
@keyframes portrait-aura-breathe {
  0%,
  100% {
    opacity: 0.45;
    scale: 0.97;
  }
  50% {
    opacity: 0.85;
    scale: 1.05;
  }
}
@keyframes portrait-soft-shimmer {
  0%,
  68%,
  100% {
    filter: saturate(0.9) brightness(1);
  }
  76% {
    filter: saturate(0.97) brightness(1.09);
  }
  84% {
    filter: saturate(0.9) brightness(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .balanced-portrait:before,
  .balanced-portrait img {
    animation: none;
  }
}
/* Intro avatar: center and crop the source margin inside its own frame. */
.intro-avatar {
  width: 180px;
  height: 180px;
}
.intro-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  clip-path: circle(47.1% at 48.8% 48.8%);
  transform: translate(1.2744%, 1.2744%) scale(1.062);
  box-shadow: none;
}
.intro-avatar:before {
  inset: -12px;
}
.intro-avatar:after {
  inset: -23px;
}
.intro-avatar {
  filter: drop-shadow(0 0 24px #8d45dd33);
}
@media (max-width: 680px) {
  .intro-avatar {
    width: 150px;
    height: 150px;
  }
  .intro-avatar:before {
    inset: -10px;
  }
  .intro-avatar:after {
    inset: -20px;
  }
}
/* Accessible return-to-top control. */
.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 72px;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border: 1px solid #bfa1ef55;
  border-radius: 50%;
  background: linear-gradient(145deg, #2b2041e8, #111525e8);
  backdrop-filter: blur(12px);
  color: #d6c0fc;
  box-shadow:
    0 5px 25px #0005,
    0 0 20px #9d70df0c;
  cursor: pointer;
  z-index: 35;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.3s,
    box-shadow 0.25s,
    border-color 0.25s;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s;
}
.back-to-top:hover {
  border-color: #cbb0ff;
  box-shadow:
    0 5px 25px #0005,
    0 0 22px #9d70df33;
}
.back-to-top:hover svg {
  transform: translateY(-3px);
}
.back-to-top:focus-visible {
  outline: 2px solid #88dce8;
  outline-offset: 4px;
}
.intro-playing .back-to-top {
  visibility: hidden;
  opacity: 0;
}
@media (max-width: 680px) {
  .back-to-top {
    right: 13px;
    bottom: 57px;
    width: 39px;
    height: 39px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top,
  .back-to-top svg {
    transition: none;
  }
}
/* Return control / cut-corner illuminated key. */
.back-to-top {
  width: 49px;
  height: 61px;
  right: 20px;
  bottom: 66px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(145deg, #b18be077, #6dcad044);
  clip-path: polygon(
    11px 0,
    100% 0,
    100% calc(100% - 11px),
    calc(100% - 11px) 100%,
    0 100%,
    0 11px
  );
  box-shadow: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  isolation: isolate;
  color: #d7b8ff;
}
.back-to-top:before {
  content: "";
  position: absolute;
  inset: 1px;
  background: linear-gradient(145deg, #271a38f5, #101926f5);
  clip-path: polygon(
    10px 0,
    100% 0,
    100% calc(100% - 10px),
    calc(100% - 10px) 100%,
    0 100%,
    0 10px
  );
  z-index: -1;
  transition: background 0.3s;
}
.back-to-top .top-key {
  font: 6px monospace;
  letter-spacing: 2px;
  margin-left: 2px;
  color: #b69acd;
  transition: color 0.3s;
}
.back-to-top svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.4;
  color: #d3b5ff;
}
.top-track {
  width: 15px;
  height: 1px;
  background: linear-gradient(90deg, #b18be0, #76d6df);
  margin-top: 2px;
  transition: width 0.3s;
}
.back-to-top:hover {
  box-shadow: none;
  background: linear-gradient(145deg, #d7b4ff, #76e3e9);
}
.back-to-top:hover:before {
  background: linear-gradient(145deg, #3a2652f5, #152b36f5);
}
.back-to-top:hover svg {
  transform: translateY(-2px);
}
.back-to-top:hover .top-track {
  width: 24px;
}
.back-to-top:hover .top-key {
  color: #e4d2f9;
}
.back-to-top:focus-visible {
  outline: 0;
  background: #8de9ed;
}
.back-to-top:focus-visible:before {
  inset: 2px;
}
@media (max-width: 680px) {
  .back-to-top {
    right: 12px;
    bottom: 54px;
    width: 44px;
    height: 55px;
  }
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
  .back-to-top .top-key {
    font-size: 5px;
  }
}
.sound-toggle {
  min-width: 108px;
  text-align: center;
  padding: 11px 15px;
  color: #ceb7ec;
  border-color: #ae8ad64d;
  background: #171124e8;
  cursor: pointer;
  font-size: 9px;
}
.sound-toggle[aria-pressed="true"] {
  color: #9de0e4;
  border-color: #84cfdf66;
}
.sound-panel {
  position: fixed;
  right: 20px;
  bottom: 145px;
  width: 284px;
  padding: 12px;
  background: #12101eef;
  border: 1px solid #b58ce14d;
  border-radius: 10px;
  z-index: 40;
  box-shadow: 0 15px 50px #0008;
  backdrop-filter: blur(15px);
}
.sound-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font: 7px monospace;
  letter-spacing: 1.5px;
  color: #b69bce;
}
.sound-panel-header button {
  border: 0;
  background: none;
  color: #d0bce6;
  font-size: 22px;
  cursor: pointer;
  padding: 0 4px;
}
.sound-panel iframe {
  display: block;
  width: 260px;
  height: 200px;
  border: 0;
  border-radius: 5px;
}
.sound-panel p {
  font-size: 9px;
  color: #9d8aaf;
  line-height: 1.6;
  margin: 9px 0 0;
}
@media (max-width: 680px) {
  .sound-panel {
    right: 12px;
    bottom: 120px;
  }
  .sound-toggle {
    font-size: 8px;
    min-width: 100px;
  }
}
/* Audio dock stays opposite the return-to-top control. */
.motion-toggle.audio-control {
  position: fixed;
  left: 20px;
  right: auto;
  bottom: 20px;
  height: 44px;
  min-width: 140px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  padding: 0 17px;
  background: #151020ed;
  border: 1px solid #b893df66;
  border-radius: 22px;
  color: #d4bceb;
  box-shadow: 0 5px 25px #0007;
  backdrop-filter: blur(18px);
  z-index: 60;
  font: 8px monospace;
  letter-spacing: 1px;
}
.audio-bars {
  display: flex;
  gap: 3px;
  height: 16px;
  align-items: center;
}
.audio-bars i {
  width: 2px;
  height: 5px;
  border-radius: 2px;
  background: #bd9be3;
  box-shadow: none;
  animation: none;
}
.audio-bars i:nth-child(2) {
  height: 13px;
}
.audio-bars i:nth-child(3) {
  height: 9px;
}
.audio-bars i:nth-child(4) {
  height: 6px;
}
.audio-control.is-playing {
  border-color: #86d4dd77;
  color: #a6e5e8;
}
.audio-control.is-playing i {
  background: #93d9e3;
  animation: audio-level 0.9s ease-in-out infinite alternate;
}
.audio-control.is-playing i:nth-child(2) {
  animation-delay: -0.35s;
}
.audio-control.is-playing i:nth-child(3) {
  animation-delay: -0.65s;
}
.audio-control.is-playing i:nth-child(4) {
  animation-delay: -0.2s;
}
.audio-file-picker {
  position: fixed;
  left: 168px;
  bottom: 24px;
  z-index: 60;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid #b893df44;
  border-radius: 50%;
  background: #151020ed;
  color: #bca0d2;
  cursor: pointer;
  backdrop-filter: blur(15px);
}
.audio-file-picker:hover {
  border-color: #b893df;
}
.intro-playing .audio-file-picker {
  visibility: hidden;
}
.back-to-top {
  bottom: 20px !important;
  right: 20px !important;
}
@keyframes audio-level {
  to {
    height: 3px;
  }
}
@media (max-width: 680px) {
  .motion-toggle.audio-control {
    left: 12px;
    bottom: 14px;
    height: 40px;
    min-width: 132px;
    font-size: 7px;
    padding: 0 14px;
  }
  .audio-file-picker {
    left: 152px;
    bottom: 16px;
  }
  .back-to-top {
    right: 12px !important;
    bottom: 14px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .audio-control.is-playing i {
    animation: none;
  }
}
.music-credit {
  display: inline-block;
  margin-top: 9px;
  font-size: 6px;
  color: #776685;
  letter-spacing: 0.5px;
}
/* Header soundtrack switch and theme scrollbar. */
html {
  scrollbar-color: #8e6bb5 #0d0b15;
  scrollbar-width: thin;
}
::-webkit-scrollbar {
  width: 9px;
  height: 9px;
}
::-webkit-scrollbar-track {
  background: #0d0b15;
}
::-webkit-scrollbar-thumb {
  background: #79559c;
  border: 2px solid #0d0b15;
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover {
  background: #af87d2;
}
::-webkit-scrollbar-corner {
  background: #0d0b15;
}
.brand-cluster {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-shrink: 0;
}
.motion-toggle.audio-control {
  position: static !important;
  inset: auto !important;
  height: 34px;
  min-width: 76px;
  width: auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 0 7px;
  background: none !important;
  border: 0;
  border-bottom: 1px solid #b5a0c32b;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  color: #a89bb5;
  font: 9px monospace;
  letter-spacing: 2px;
  transform: none;
  transition:
    color 0.25s,
    border-color 0.25s;
}
.sound-mark {
  width: 19px;
  height: 19px;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  flex-shrink: 0;
}
.sound-speaker {
  stroke: #a18fae;
}
.sound-waves {
  stroke: #9b88a7;
  opacity: 0.5;
}
.sound-slash {
  stroke: #cf82d1;
  stroke-width: 1.7;
  transition: opacity 0.25s;
}
.audio-control.is-playing .sound-slash {
  opacity: 0;
}
.audio-control.is-playing .sound-waves {
  opacity: 1;
  stroke: #b6a0da;
  animation: header-sound-pulse 1.8s ease-in-out infinite;
}
.motion-toggle.audio-control.is-playing {
  color: #d4b9ed;
  border-bottom-color: #b295cf66;
}
.motion-toggle.audio-control:hover {
  color: #e5d1f7;
  border-bottom-color: #c3a2df;
}
.audio-control:focus-visible {
  outline: 1px solid #a994d0;
  outline-offset: 5px;
}
.intro-playing .motion-toggle.audio-control {
  visibility: hidden;
}
header {
  gap: 20px;
}
header nav {
  gap: 20px;
}
@keyframes header-sound-pulse {
  50% {
    opacity: 0.45;
  }
}
@media (min-width: 681px) and (max-width: 1000px) {
  .brand-cluster {
    gap: 16px;
  }
  .motion-toggle.audio-control {
    font-size: 8px;
    min-width: 62px;
    gap: 7px;
  }
  header nav {
    gap: 12px;
    font-size: 10px;
  }
  header .header-link {
    padding: 10px 12px;
  }
  header .header-link span {
    margin-left: 10px;
  }
}
@media (max-width: 680px) {
  .brand-cluster {
    width: 100%;
    justify-content: space-between;
    gap: 15px;
  }
  .motion-toggle.audio-control {
    height: 32px;
    min-width: 70px;
    font-size: 8px;
    gap: 9px;
    padding-bottom: 6px;
  }
  .sound-mark {
    width: 18px;
    height: 18px;
  }
  header nav {
    width: 100%;
    gap: 12px;
    justify-content: space-between;
  }
  .back-to-top {
    bottom: 16px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .audio-control.is-playing .sound-waves {
    animation: none;
  }
}
/* Minimal waveform switch inspired by the supplied reference. */
.motion-toggle.audio-control {
  gap: 17px;
  min-width: 80px;
  height: 34px;
  padding: 0 0 9px;
  color: #b3a0bb;
  font: 9px monospace;
  letter-spacing: 2px;
  border-bottom: 1px solid #b489ba40;
}
.header-wave {
  height: 16px;
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  position: relative;
}
.header-wave i {
  display: block;
  width: 1.5px;
  height: 3px;
  background: #d975cf;
  border-radius: 0;
  box-shadow: none;
  animation: none;
  transform-origin: center;
}
.header-wave i:nth-child(2) {
  height: 7px;
}
.header-wave i:nth-child(3) {
  height: 12px;
}
.header-wave i:nth-child(4) {
  height: 6px;
}
.header-wave i:nth-child(5) {
  height: 4px;
}
.audio-control:not(.is-playing) .header-wave:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 7px;
  height: 1px;
  background: #d975cf;
  transform: rotate(-35deg);
  box-shadow: 0 0 2px #151020;
}
.motion-toggle.audio-control.is-playing {
  color: #e476c3;
  border-bottom-color: #d965b0aa;
}
.audio-control.is-playing .header-wave i {
  background: #ea76c6;
  animation: header-wave-dance 0.7s ease-in-out infinite alternate;
}
.audio-control.is-playing .header-wave i:nth-child(2) {
  animation-delay: -0.4s;
}
.audio-control.is-playing .header-wave i:nth-child(3) {
  animation-delay: -0.15s;
}
.audio-control.is-playing .header-wave i:nth-child(4) {
  animation-delay: -0.55s;
}
.audio-control.is-playing .header-wave i:nth-child(5) {
  animation-delay: -0.3s;
}
.motion-toggle.audio-control:hover {
  color: #f1a1d9;
  border-bottom-color: #ea8bcc;
}
@keyframes header-wave-dance {
  0% {
    transform: scaleY(0.4);
  }
  100% {
    transform: scaleY(1.2);
  }
}
@media (prefers-reduced-motion: reduce) {
  .audio-control.is-playing .header-wave i {
    animation: none;
  }
}
/* Sound switch uses the site's violet palette. */
.motion-toggle.audio-control {
  color: #b6a4cb;
  border-bottom-color: #a58aff40;
}
.header-wave i,
.audio-control:not(.is-playing) .header-wave:after {
  background: #b599e5;
}
.motion-toggle.audio-control.is-playing {
  color: #c8acff;
  border-bottom-color: #a58affaa;
}
.audio-control.is-playing .header-wave i {
  background: #c0a0ff;
}
.motion-toggle.audio-control:hover {
  color: #e0caff;
  border-bottom-color: #c3a3ff;
}
