:root {
  --font-geist-sans: Arial;
  --font-geist-mono: "Courier New";
  --ink: #111232;
  --muted: #62667d;
  --paper: #fbfbff;
  --purple: #6b4dff;
  --cyan: #20d8e7;
  --pink: #ff5baa;
  --orange: #ff8d4d;
  --yellow: #ffcf4d;
  --pointer-x: 50vw;
  --pointer-y: 50vh;
  --hero-x: 0px;
  --hero-y: 0px;
  --scroll-progress: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 8%, rgba(112, 90, 255, 0.09), transparent 31rem),
    radial-gradient(circle at 89% 14%, rgba(35, 220, 231, 0.1), transparent 30rem),
    var(--paper);
  color: var(--ink);
  font-family: var(--font-geist-sans), "Noto Sans Thai", "Leelawadee UI",
    Tahoma, sans-serif;
}

.noscript-note {
  margin: 100px auto 0;
  width: min(90%, 720px);
  padding: 16px 20px;
  color: #6b4dff;
  border: 1px solid rgba(107, 77, 255, 0.2);
  border-radius: 16px;
  background: white;
  text-align: center;
}

button,
a {
  font: inherit;
}

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

button {
  color: inherit;
}

::selection {
  background: #7760ff;
  color: white;
}

.cursor-glow {
  position: fixed;
  z-index: 1;
  width: 26rem;
  height: 26rem;
  left: var(--pointer-x);
  top: var(--pointer-y);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(101, 75, 255, 0.08), transparent 67%);
  pointer-events: none;
}

.scroll-meter {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: calc(var(--scroll-progress) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--pink), var(--cyan));
  box-shadow: 0 0 16px rgba(107, 77, 255, 0.7);
}

.space-noise {
  position: fixed;
  inset: 0;
  z-index: 50;
  opacity: 0.035;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.stars i {
  --size: calc(2px + (var(--i) % 3) * 1px);
  position: absolute;
  width: var(--size);
  height: var(--size);
  left: calc((var(--i) * 29 + 7) % 100 * 1%);
  top: calc((var(--i) * 43 + 9) % 100 * 1%);
  border-radius: 50%;
  background: hsl(calc(var(--i) * 19 + 190) 90% 65%);
  box-shadow: 0 0 10px currentColor;
  animation: twinkle calc(2.8s + (var(--i) % 5) * 0.6s) ease-in-out infinite;
  animation-delay: calc(var(--i) * -0.19s);
}

main {
  position: relative;
  z-index: 2;
}

.site-header {
  position: absolute;
  z-index: 30;
  top: 0;
  left: 50%;
  width: min(100% - 48px, 1440px);
  height: 102px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: white;
  font-size: 17px;
  font-weight: 800;
  border-radius: 14px;
  background: linear-gradient(145deg, #806bff, #5a36e9 55%, #28c7e1);
  box-shadow:
    0 10px 25px rgba(91, 54, 233, 0.27),
    inset 0 1px 1px rgba(255, 255, 255, 0.55);
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 11px;
}

.brand > span:last-child,
.footer-brand > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong,
.footer-brand strong {
  font-size: 12px;
  letter-spacing: 0.16em;
}

.brand small,
.footer-brand small {
  color: #787b91;
  font-size: 10px;
  letter-spacing: 0.06em;
}

.main-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px;
  border: 1px solid rgba(32, 34, 75, 0.08);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 10px 30px rgba(47, 40, 100, 0.06);
  backdrop-filter: blur(18px);
}

.main-nav a {
  padding: 9px 17px;
  color: #5d6075;
  font-size: 13px;
  border-radius: 99px;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.main-nav a:hover {
  color: var(--ink);
  background: white;
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sound-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 41px;
  padding: 0 15px;
  color: #54586e;
  cursor: pointer;
  border: 1px solid rgba(32, 34, 75, 0.09);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(18px);
  font-size: 11px;
  font-weight: 650;
  transition: 0.25s ease;
}

.sound-button:hover,
.sound-button.active {
  color: white;
  border-color: transparent;
  background: var(--ink);
  box-shadow: 0 10px 30px rgba(17, 18, 50, 0.19);
}

.sound-bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 15px;
}

.sound-bars i {
  display: block;
  width: 2px;
  height: 5px;
  border-radius: 5px;
  background: currentColor;
}

.sound-button.active .sound-bars i {
  animation: sound-wave 0.8s ease-in-out infinite alternate;
}

.sound-button.active .sound-bars i:nth-child(2) {
  animation-delay: -0.35s;
}

.sound-button.active .sound-bars i:nth-child(3) {
  animation-delay: -0.57s;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: 820px;
  height: 100svh;
  max-height: 1000px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(450px, 0.92fr);
  align-items: center;
  gap: 3vw;
  padding: 120px max(6vw, calc((100vw - 1420px) / 2)) 65px;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -4;
  inset: 0;
  background:
    linear-gradient(rgba(100, 95, 150, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 95, 150, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -3;
  width: 44rem;
  height: 44rem;
  right: 3%;
  top: 13%;
  border: 1px solid rgba(115, 83, 255, 0.11);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(107, 77, 255, 0.025),
    0 0 0 140px rgba(40, 205, 224, 0.02);
  animation: slow-spin 40s linear infinite;
}

.hero-aurora {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(4px);
  pointer-events: none;
}

.aurora-one {
  width: 40rem;
  height: 40rem;
  right: -8rem;
  top: -14rem;
  background: radial-gradient(circle, rgba(46, 220, 229, 0.18), transparent 68%);
}

.aurora-two {
  width: 34rem;
  height: 34rem;
  left: -12rem;
  bottom: -17rem;
  background: radial-gradient(circle, rgba(255, 96, 175, 0.13), transparent 68%);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 735px;
  padding-left: clamp(0px, 2vw, 28px);
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  padding: 7px 12px 7px 9px;
  color: #5c5f78;
  border: 1px solid rgba(36, 40, 80, 0.1);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.13em;
  box-shadow: 0 9px 30px rgba(57, 47, 117, 0.06);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #19d3a1;
  box-shadow: 0 0 0 4px rgba(25, 211, 161, 0.13);
  animation: pulse-dot 2s ease-out infinite;
}

.hero h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(3.7rem, 6.15vw, 7.25rem);
  font-weight: 760;
  line-height: 0.99;
  letter-spacing: -0.065em;
}

.hero h1 span,
.mindset-grid h2 span,
.projects-heading h2 span,
.about-copy h2 span {
  color: transparent;
  background: linear-gradient(100deg, #6c4cff 8%, #e552c7 54%, #1abfd1 95%);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-lead {
  margin: 27px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.85;
}

.hero-lead strong {
  color: #30324d;
  font-weight: 720;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 31px;
}

.primary-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  min-width: 185px;
  padding: 7px 7px 7px 21px;
  color: white;
  border-radius: 99px;
  background: var(--ink);
  box-shadow: 0 15px 35px rgba(17, 18, 50, 0.2);
  font-size: 14px;
  font-weight: 700;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.primary-button::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg, var(--purple), var(--pink));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.primary-button span,
.primary-button b {
  position: relative;
  z-index: 1;
}

.primary-button b {
  display: grid;
  place-items: center;
  width: 37px;
  height: 37px;
  color: var(--ink);
  border-radius: 50%;
  background: white;
  font-size: 18px;
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(91, 54, 233, 0.27);
}

.primary-button:hover::before {
  opacity: 1;
}

.text-button {
  color: #46495f;
  font-size: 13px;
  font-weight: 650;
  border-bottom: 1px solid #c6c8d3;
  padding: 7px 0;
  transition: color 0.2s ease;
}

.text-button span {
  margin-left: 5px;
}

.text-button:hover {
  color: var(--purple);
}

.hero-stats {
  display: flex;
  gap: 42px;
  margin-top: 36px;
}

.hero-stats > div {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hero-stats strong {
  font-size: 2rem;
  letter-spacing: -0.05em;
}

.hero-stats span {
  color: #787b8e;
  font-size: 10px;
  line-height: 1.45;
}

.hero-visual {
  position: relative;
  z-index: 2;
  align-self: end;
  justify-self: center;
  width: min(39vw, 590px);
  height: calc(100% - 45px);
  max-height: 810px;
  min-height: 660px;
  transform: translate(var(--hero-x), var(--hero-y));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portrait-halo {
  position: absolute;
  z-index: -2;
  width: 104%;
  aspect-ratio: 1;
  left: -2%;
  top: 11%;
  border-radius: 50%;
  background:
    conic-gradient(
      from 180deg,
      rgba(111, 77, 255, 0.18),
      rgba(255, 94, 177, 0.2),
      rgba(38, 221, 231, 0.21),
      rgba(111, 77, 255, 0.18)
    );
  filter: blur(1px);
  box-shadow: inset 0 0 90px 60px var(--paper);
  animation: halo-breathe 5s ease-in-out infinite;
}

.portrait-frame {
  position: absolute;
  overflow: hidden;
  left: 7%;
  right: 7%;
  bottom: 0;
  height: 94%;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 48% 48% 11% 11% / 31% 31% 8% 8%;
  background:
    radial-gradient(circle at 50% 20%, white, rgba(246, 244, 255, 0.83) 55%, #eeeffc);
  box-shadow:
    0 45px 85px rgba(38, 33, 91, 0.16),
    0 0 0 7px rgba(255, 255, 255, 0.36),
    inset 0 0 0 1px rgba(111, 77, 255, 0.12);
}

.portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(116, 79, 255, 0.08), transparent 18%, transparent 82%, rgba(30, 215, 229, 0.09)),
    linear-gradient(to top, rgba(111, 77, 255, 0.12), transparent 26%);
  pointer-events: none;
  mix-blend-mode: multiply;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 45%;
  filter: saturate(0.98) contrast(1.01);
}

.scan-line {
  position: absolute;
  z-index: 3;
  left: 4%;
  right: 4%;
  top: -15%;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(41, 224, 235, 0.75), transparent);
  box-shadow: 0 0 18px rgba(41, 224, 235, 0.5);
  animation: scan 6s linear infinite;
  pointer-events: none;
}

.orbit {
  position: absolute;
  z-index: 4;
  inset: 15% -8% auto;
  height: 54%;
  border: 1px dashed rgba(95, 69, 221, 0.21);
  border-radius: 50%;
  pointer-events: none;
  animation: slow-spin 20s linear infinite;
}

.orbit i {
  position: absolute;
  width: 10px;
  height: 10px;
  left: 10%;
  top: 25%;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 15px var(--pink);
}

.orbit span {
  position: absolute;
  right: 6%;
  top: 15%;
  padding: 6px 9px;
  color: #6e4ef0;
  border: 1px solid rgba(105, 73, 238, 0.17);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.orbit-two {
  inset: 27% -2% auto;
  height: 36%;
  animation-duration: 15s;
  animation-direction: reverse;
  transform: rotate(-12deg);
}

.orbit-two i {
  left: auto;
  right: 8%;
  top: 64%;
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
}

.orbit-two span {
  left: 9%;
  right: auto;
  top: 73%;
  color: #0d9faf;
}

.floating-chip {
  position: absolute;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(44, 35, 107, 0.15);
  backdrop-filter: blur(15px);
  animation: chip-float 4.2s ease-in-out infinite;
}

.floating-chip > span {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  color: white;
  border-radius: 10px;
  background: linear-gradient(145deg, #795cff, #d955c8);
  box-shadow: 0 7px 20px rgba(107, 77, 255, 0.25);
}

.floating-chip div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.floating-chip small {
  color: #888b9f;
  font-size: 7px;
  letter-spacing: 0.12em;
}

.floating-chip strong {
  font-size: 10px;
}

.chip-left {
  left: -4%;
  top: 40%;
}

.chip-right {
  right: -5%;
  top: 26%;
  animation-delay: -2.2s;
}

.chip-right > span {
  background: linear-gradient(145deg, #16c8d5, #4c7df3);
}

.hero-signature {
  position: absolute;
  z-index: 9;
  right: 4%;
  bottom: 5%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: white;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.hero-signature span {
  font-family: cursive;
  font-size: 2rem;
  transform: rotate(-6deg);
}

.hero-signature small {
  font-size: 8px;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.scroll-cue {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 25px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #888a9c;
  font-size: 7px;
  font-weight: 750;
  letter-spacing: 0.22em;
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 28px;
  overflow: hidden;
  background: #d4d5df;
}

.scroll-cue i::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 12px;
  top: -12px;
  left: 0;
  background: var(--purple);
  animation: scroll-line 1.8s ease-in-out infinite;
}

.mindset-section,
.projects-section,
.about-section {
  position: relative;
  z-index: 2;
}

.mindset-section {
  padding: clamp(95px, 12vw, 170px) max(7vw, calc((100vw - 1320px) / 2));
  color: white;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 100%, rgba(111, 77, 255, 0.28), transparent 37rem),
    radial-gradient(circle at 90% 20%, rgba(31, 210, 222, 0.13), transparent 28rem),
    #111232;
}

.mindset-section::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  right: -180px;
  top: -180px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 255, 255, 0.02),
    0 0 0 140px rgba(255, 255, 255, 0.015);
}

.section-kicker {
  color: #878aa5;
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.2em;
}

.mindset-section .section-kicker {
  color: #8e8fad;
}

.mindset-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.75fr;
  gap: 8vw;
  align-items: end;
  margin-top: 38px;
}

.mindset-grid h2,
.projects-heading h2,
.about-copy h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.3vw, 5.7rem);
  line-height: 1.12;
  letter-spacing: -0.055em;
}

.mindset-copy {
  padding-bottom: 7px;
}

.mindset-copy p {
  margin: 0;
  color: #bbbdd0;
  font-size: 0.98rem;
  line-height: 1.9;
}

.mindset-copy p + p {
  margin-top: 21px;
}

.principle-track {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 90px;
  padding-top: 27px;
  color: #f7f7ff;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.principle-track i {
  color: var(--pink);
  font-style: normal;
}

.projects-section {
  padding: clamp(95px, 10vw, 145px) max(6vw, calc((100vw - 1360px) / 2));
  background:
    radial-gradient(circle at 100% 0, rgba(43, 213, 228, 0.11), transparent 32rem),
    radial-gradient(circle at 0 45%, rgba(255, 91, 170, 0.08), transparent 34rem),
    #f7f7fd;
}

.projects-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.projects-heading h2 {
  margin-top: 24px;
}

.projects-heading > p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.filters {
  display: flex;
  gap: 8px;
  margin: 48px 0 30px;
  padding-bottom: 17px;
  border-bottom: 1px solid #dbdce7;
}

.filters button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  color: #727589;
  cursor: pointer;
  border: 1px solid transparent;
  border-radius: 99px;
  background: transparent;
  font-size: 12px;
  font-weight: 650;
  transition: 0.2s ease;
}

.filters button span {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 99px;
  background: rgba(100, 104, 130, 0.08);
  font-size: 8px;
}

.filters button:hover {
  color: var(--ink);
  background: white;
}

.filters button.active {
  color: white;
  border-color: var(--ink);
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(17, 18, 50, 0.15);
}

.filters button.active span {
  background: rgba(255, 255, 255, 0.16);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  perspective: 1200px;
}

.project-card {
  --card-rx: 0deg;
  --card-ry: 0deg;
  --card-x: 50%;
  --card-y: 50%;
  position: relative;
  min-height: 415px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid rgba(36, 38, 78, 0.09);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 60px rgba(42, 35, 100, 0.07);
  transform: rotateX(var(--card-rx)) rotateY(var(--card-ry));
  transform-style: preserve-3d;
  transition:
    transform 0.14s ease-out,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.project-card:hover {
  z-index: 5;
  border-color: color-mix(in srgb, var(--card-accent) 38%, white);
  box-shadow: 0 28px 70px color-mix(in srgb, var(--card-accent) 16%, transparent);
}

.card-violet {
  --card-accent: #7459ff;
  --card-accent-soft: #e7e1ff;
}

.card-cyan {
  --card-accent: #17c8d4;
  --card-accent-soft: #d9f9f8;
}

.card-pink {
  --card-accent: #f352a6;
  --card-accent-soft: #ffe0ef;
}

.card-orange {
  --card-accent: #ff8448;
  --card-accent-soft: #ffe7d9;
}

.card-blue {
  --card-accent: #4e78f4;
  --card-accent-soft: #dfe6ff;
}

.card-yellow {
  --card-accent: #e3a91a;
  --card-accent-soft: #fff0bd;
}

.card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at var(--card-x) var(--card-y),
    color-mix(in srgb, var(--card-accent) 18%, transparent),
    transparent 34%
  );
  transition: opacity 0.25s ease;
}

.project-card:hover .card-glow {
  opacity: 1;
}

.card-top,
.card-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-number {
  color: #9a9cad;
  font-family: var(--font-geist-mono), monospace;
  font-size: 10px;
}

.launch-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--card-accent);
  border: 1px solid color-mix(in srgb, var(--card-accent) 20%, white);
  border-radius: 50%;
  background: white;
  font-size: 16px;
  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.project-card:hover .launch-icon {
  color: white;
  background: var(--card-accent);
  transform: rotate(10deg) scale(1.08);
}

.project-icon {
  position: relative;
  width: 97px;
  height: 97px;
  display: grid;
  place-items: center;
  margin: 27px 0 25px;
  color: var(--card-accent);
  border-radius: 30px;
  background: linear-gradient(145deg, white, var(--card-accent-soft));
  box-shadow:
    0 18px 35px color-mix(in srgb, var(--card-accent) 14%, transparent),
    inset 0 1px 2px white;
  font-size: 1.5rem;
  font-weight: 780;
  transform: translateZ(25px) rotate(-4deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.project-icon::before,
.project-icon::after {
  content: "";
  position: absolute;
  border: 1px solid color-mix(in srgb, var(--card-accent) 25%, transparent);
  border-radius: inherit;
}

.project-icon::before {
  inset: 8px;
}

.project-icon::after {
  width: 7px;
  height: 7px;
  right: 9px;
  top: 9px;
  border-radius: 50%;
  background: var(--card-accent);
  box-shadow: 0 0 10px var(--card-accent);
}

.project-card:hover .project-icon {
  transform: translateZ(35px) rotate(5deg) scale(1.06);
}

.card-copy {
  position: relative;
  z-index: 2;
  flex: 1;
  transform: translateZ(12px);
}

.card-copy small {
  color: var(--card-accent);
  font-size: 8px;
  font-weight: 780;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.card-copy h3 {
  margin: 7px 0 9px;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.card-copy p {
  margin: 0;
  color: #707387;
  font-size: 0.78rem;
  line-height: 1.75;
}

.card-footer {
  margin-top: 20px;
  padding-top: 15px;
  border-top: 1px solid rgba(53, 55, 91, 0.08);
  font-size: 8px;
}

.card-footer span {
  color: #9a9cad;
}

.card-footer strong {
  color: var(--card-accent);
  font-size: 9px;
}

.about-section {
  min-height: 740px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.8fr 1.1fr;
  align-items: center;
  gap: 9vw;
  padding: 110px max(8vw, calc((100vw - 1250px) / 2));
  color: white;
  background:
    radial-gradient(circle at 22% 50%, rgba(51, 219, 228, 0.19), transparent 26rem),
    radial-gradient(circle at 80% 90%, rgba(234, 69, 169, 0.14), transparent 34rem),
    #101129;
}

.about-orb {
  position: relative;
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(30vw, 410px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow:
    0 0 0 45px rgba(255, 255, 255, 0.025),
    0 0 0 90px rgba(255, 255, 255, 0.015),
    inset 0 0 75px rgba(101, 80, 245, 0.29);
}

.about-orb::before {
  content: "";
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: conic-gradient(
    from 30deg,
    #7a5dff,
    #e550b7,
    #1fd3dc,
    #7a5dff
  );
  filter: blur(1px);
  animation: slow-spin 12s linear infinite;
}

.about-orb::after {
  content: "";
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  background: #12132f;
  box-shadow: inset 0 0 80px rgba(120, 89, 255, 0.3);
}

.about-orb span {
  position: relative;
  z-index: 3;
  font-size: clamp(5rem, 8vw, 8rem);
  font-weight: 800;
  text-shadow:
    0 0 25px rgba(124, 93, 255, 0.8),
    0 0 70px rgba(31, 211, 220, 0.35);
}

.about-orb i {
  position: absolute;
  z-index: 4;
  width: 12px;
  height: 12px;
  left: 1%;
  top: 48%;
  border: 2px solid #101129;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 15px var(--pink);
}

.about-orb i:last-child {
  left: auto;
  right: 9%;
  top: 16%;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
}

.about-copy {
  max-width: 720px;
}

.about-copy h2 {
  margin-top: 26px;
}

.about-copy > p {
  max-width: 640px;
  margin: 29px 0 0;
  color: #bcbdd0;
  line-height: 1.9;
}

.about-links {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.about-links a {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 13px 17px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-weight: 650;
  transition: 0.25s ease;
}

.about-links a span {
  color: var(--cyan);
}

.about-links a:hover {
  color: #101129;
  border-color: white;
  background: white;
  transform: translateY(-2px);
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 34px max(5vw, calc((100vw - 1420px) / 2));
  border-top: 1px solid #e4e4ec;
  background: #fbfbff;
}

footer p {
  color: #8b8d9f;
  font-size: 10px;
  letter-spacing: 0.08em;
}

footer > a {
  font-size: 11px;
  font-weight: 700;
}

footer > a span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-left: 7px;
  color: white;
  border-radius: 50%;
  background: var(--ink);
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card.reveal {
  transition:
    opacity 0.65s ease,
    transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.15;
    transform: scale(0.7);
  }
  50% {
    opacity: 0.75;
    transform: scale(1.25);
  }
}

@keyframes sound-wave {
  to {
    height: 14px;
  }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 0 0 rgba(25, 211, 161, 0.35);
  }
  75%,
  100% {
    box-shadow: 0 0 0 7px rgba(25, 211, 161, 0);
  }
}

@keyframes slow-spin {
  to {
    rotate: 360deg;
  }
}

@keyframes halo-breathe {
  0%,
  100% {
    transform: scale(0.96);
    opacity: 0.72;
  }
  50% {
    transform: scale(1.03);
    opacity: 1;
  }
}

@keyframes scan {
  to {
    top: 115%;
  }
}

@keyframes chip-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes scroll-line {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(45px);
  }
}

@media (max-width: 1100px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(370px, 0.78fr);
  }

  .hero h1 {
    font-size: clamp(3.5rem, 7vw, 5.4rem);
  }

  .chip-left {
    left: -9%;
  }

  .chip-right {
    right: -9%;
  }

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

@media (max-width: 820px) {
  .site-header {
    width: calc(100% - 30px);
    height: 80px;
  }

  .brand small,
  .sound-button > span:last-child {
    display: none;
  }

  .sound-button {
    width: 41px;
    justify-content: center;
    padding: 0;
  }

  .menu-button {
    display: flex;
    width: 41px;
    height: 41px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    border: 1px solid rgba(32, 34, 75, 0.09);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.76);
  }

  .menu-button i {
    width: 14px;
    height: 1px;
    background: var(--ink);
  }

  .main-nav {
    top: 68px;
    left: auto;
    right: 0;
    transform: none;
    opacity: 0;
    visibility: hidden;
    flex-direction: column;
    align-items: stretch;
    min-width: 155px;
    border-radius: 18px;
    transition: 0.2s ease;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(6px);
  }

  .hero {
    height: auto;
    min-height: 1050px;
    max-height: none;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 20px;
    padding: 118px 20px 65px;
  }

  .hero-copy {
    padding: 0;
  }

  .hero h1 {
    font-size: clamp(3.25rem, 13vw, 5rem);
  }

  .hero-lead br {
    display: none;
  }

  .hero-visual {
    width: min(86vw, 520px);
    height: 630px;
    min-height: 0;
    align-self: auto;
    margin: 5px auto 0;
  }

  .portrait-frame {
    left: 8%;
    right: 8%;
    height: 100%;
  }

  .chip-left {
    left: -1%;
  }

  .chip-right {
    right: -1%;
  }

  .scroll-cue {
    display: none;
  }

  .mindset-grid,
  .about-section {
    grid-template-columns: 1fr;
  }

  .mindset-grid {
    gap: 40px;
  }

  .principle-track {
    overflow: hidden;
    justify-content: flex-start;
    gap: 28px;
  }

  .principle-track span {
    white-space: nowrap;
  }

  .projects-heading {
    display: block;
  }

  .projects-heading > p {
    margin-top: 26px;
  }

  .about-section {
    gap: 100px;
  }

  .about-orb {
    width: min(70vw, 370px);
  }
}

@media (max-width: 580px) {
  .brand strong {
    font-size: 10px;
  }

  .hero {
    min-height: 970px;
    padding-left: 17px;
    padding-right: 17px;
  }

  .hero h1 {
    font-size: clamp(2.95rem, 13.5vw, 4.3rem);
  }

  .hero-lead {
    font-size: 0.94rem;
    line-height: 1.75;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .primary-button {
    width: 100%;
  }

  .text-button {
    margin-left: 4px;
  }

  .hero-stats {
    margin-top: 25px;
  }

  .hero-visual {
    width: 94vw;
    height: 540px;
    margin-left: -3vw;
  }

  .floating-chip {
    transform: scale(0.86);
  }

  .chip-left {
    left: -4%;
    top: 44%;
    transform-origin: left;
  }

  .chip-right {
    right: -3%;
    top: 21%;
    transform-origin: right;
  }

  .hero-signature {
    right: 9%;
  }

  .mindset-section,
  .projects-section,
  .about-section {
    padding-left: 17px;
    padding-right: 17px;
  }

  .mindset-grid h2,
  .projects-heading h2,
  .about-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .principle-track {
    margin-top: 65px;
  }

  .filters {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filters button {
    white-space: nowrap;
  }

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

  .project-card {
    min-height: 390px;
  }

  .about-section {
    min-height: 900px;
  }

  .about-links {
    align-items: stretch;
    flex-direction: column;
  }

  .about-links a {
    justify-content: space-between;
  }

  footer {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }

  .hero-visual,
  .project-card {
    transform: none !important;
  }
}
