
/* =========================================
   DESIGN SYSTEM
   ========================================= */

:root {
  color-scheme: dark;

  --bg: #08090d;
  --bg-soft: #0c0e14;
  --surface: #11131c;
  --surface-hover: #171a27;
  --border: rgba(255, 255, 255, 0.09);

  --text: #f1f2f8;
  --muted: #9799ab;
  --subtle: #65687b;

  --violet: #a78bfa;
  --purple: #8b5cf6;
  --cyan: #5ee7f7;
  --orange: #ffad7a;
  --green: #8df5bf;

  --font: "Space Grotesk", sans-serif;
  --mono: "DM Mono", monospace;

  --container: 1180px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #08090d;
  background: var(--cyan);
}

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

button {
  font: inherit;
}

img,
svg {
  max-width: 100%;
}

button,
a {
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 5px;
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  position: relative;
}

.section-pad {
  padding-block: 120px;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.055em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5.4vw, 4.8rem);
  line-height: 1.05;
  font-weight: 600;
}

p {
  color: var(--muted);
}

.gradient-text {
  color: transparent;
  background: linear-gradient(
    110deg,
    #bba6ff 5%,
    #9a7bff 45%,
    #65e8f7 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

.outline-text {
  color: transparent;
  -webkit-text-stroke: 1px rgba(228, 224, 255, 0.7);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.13;
  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='.92' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
}

/* =========================================
   HEADER / NAVIGATION
   ========================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(8, 9, 13, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.nav {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.22rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.brand-symbol {
  color: var(--cyan);
  font-size: 1.65rem;
  line-height: 1;
}

.brand-dot {
  color: var(--violet);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links > a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color 180ms ease;
}

.nav-links > a:hover {
  color: var(--text);
}

.nav-links .nav-cta {
  padding: 11px 17px;
  border: 1px solid rgba(167, 139, 250, 0.4);
  border-radius: 7px;
  color: var(--text);
  transition:
    background 180ms ease,
    border-color 180ms ease;
}

.nav-links .nav-cta:hover {
  background: rgba(167, 139, 250, 0.1);
  border-color: var(--violet);
}

.nav-cta span {
  margin-left: 8px;
  color: var(--cyan);
}

.menu-toggle {
  display: none;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: transform 180ms ease;
}

/* =========================================
   HERO
   ========================================= */

.hero {
  display: flex;
  min-height: min(790px, calc(100svh - 82px));
  align-items: center;
  padding-block: 70px 90px;
  isolation: isolate;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 30px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  animation: rise-in 800ms ease both;
}

.eyebrow,
.section-index,
.section-kicker,
.strip-label,
.art-label,
.art-coordinate,
.visual-topline,
.visual-number,
.project-tags,
.expertise-number,
.fact-number,
.contact-link small,
.footer-right a,
.projects-footer > span,
.scroll-indicator {
  font-family: var(--mono);
  font-size: 0.67rem;
  letter-spacing: 0.09em;
}

.eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 11px;
  margin-bottom: 27px;
  color: #b6b8ca;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 13px rgba(141, 245, 191, 0.7);
  animation: status-pulse 2.2s infinite;
}

.hero h1 {
  margin: 0;
  font-size: clamp(4rem, 7.3vw, 6.9rem);
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 0.99;
}

.hero-description {
  max-width: 475px;
  margin-block: 28px 30px;
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-description strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.88rem;
  font-weight: 600;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #08090d;
  background: linear-gradient(110deg, #c0adff, #8eabff 60%, #7ce8f5);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.12);
}

.button-primary:hover {
  box-shadow: 0 0 35px rgba(139, 92, 246, 0.27);
}

.button-ghost {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.06);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 23px;
  margin-top: 44px;
  color: var(--muted);
  font-size: 0.76rem;
}

.meta-symbol {
  margin-right: 6px;
  color: var(--cyan);
}

.hero-art {
  position: relative;
  display: grid;
  width: 100%;
  max-width: 510px;
  aspect-ratio: 1 / 1.04;
  place-items: center;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 48% 48% 15px 15px;
  background:
    radial-gradient(ellipse at 50% 47%,
      rgba(111, 76, 199, 0.15),
      transparent 47%),
    linear-gradient(145deg, #11121b 0%, #090a11 70%);
  isolation: isolate;
  animation: rise-in 1000ms 150ms ease both;
}

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

.hero-art::after {
  position: absolute;
  width: 75%;
  aspect-ratio: 1;
  border: 1px solid rgba(167, 139, 250, 0.14);
  border-radius: 50%;
  content: "";
}

.art-label {
  position: absolute;
  right: 22px;
  left: 22px;
  display: flex;
  justify-content: space-between;
  color: #7e8196;
  font-size: 0.58rem;
}

.art-label-top {
  top: 22px;
}

.art-label-bottom {
  bottom: 22px;
}

.art-index {
  color: var(--cyan);
}

.art-orbit {
  position: absolute;
  width: 64%;
  aspect-ratio: 1;
  border: 1px solid rgba(183, 160, 255, 0.42);
  border-radius: 50%;
}

.orbit-one {
  transform: rotateX(67deg) rotate(-25deg);
  animation: orbit-spin 24s linear infinite;
}

.orbit-two {
  width: 75%;
  border-color: rgba(94, 231, 247, 0.42);
  transform: rotateY(66deg) rotate(25deg);
  animation: orbit-spin 30s linear infinite reverse;
}

.orbit-three {
  width: 57%;
  border-color: rgba(255, 173, 122, 0.36);
  transform: rotateX(68deg) rotate(65deg);
  animation: orbit-spin 20s linear infinite;
}

.art-core {
  position: relative;
  display: grid;
  width: 36%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(212, 200, 255, 0.8);
  border-radius: 48% 52% 62% 38% / 44% 37% 63% 56%;
  background: linear-gradient(
    145deg,
    rgba(176, 139, 255, 0.3),
    rgba(94, 231, 247, 0.08) 65%,
    rgba(8, 9, 13, 0.7)
  );
  box-shadow:
    0 0 35px rgba(139, 92, 246, 0.23),
    inset 0 0 30px rgba(167, 139, 250, 0.2);
  animation: core-morph 9s ease-in-out infinite;
}

.core-inner {
  width: 43%;
  aspect-ratio: 1;
  border: 1px solid rgba(94, 231, 247, 0.9);
  border-radius: 50%;
  background: rgba(94, 231, 247, 0.13);
  box-shadow: 0 0 25px rgba(94, 231, 247, 0.32);
}

.art-cross {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid var(--cyan);
  transform: rotate(45deg);
  box-shadow: 0 0 15px rgba(94, 231, 247, 0.4);
}

.cross-one {
  top: 28%;
  right: 23%;
}

.cross-two {
  bottom: 27%;
  left: 23%;
  border-color: var(--violet);
}

.art-coordinate {
  position: absolute;
  color: #77798e;
  font-size: 0.56rem;
}

.coordinate-one {
  top: 32%;
  left: 11%;
  transform: rotate(-90deg);
}

.coordinate-two {
  right: 9%;
  bottom: 32%;
  transform: rotate(90deg);
}

.hero-glow {
  position: absolute;
  z-index: -1;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.12;
  pointer-events: none;
}

.hero-glow-one {
  top: 10%;
  left: -230px;
  background: var(--purple);
}

.hero-glow-two {
  right: -220px;
  bottom: 0;
  background: #176d9a;
}

.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: max(32px, calc((100% - var(--container)) / 2));
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--subtle);
  font-size: 0.57rem;
}

.scroll-line {
  width: 37px;
  height: 1px;
  background: var(--violet);
}

/* =========================================
   INTERESTS STRIP
   ========================================= */

.intro-strip {
  position: relative;
  z-index: 1;
  border-block: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.018);
}

.intro-strip-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.strip-label {
  flex-shrink: 0;
  color: var(--subtle);
}

.strip-items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  color: #c2c3d1;
  font-size: 0.83rem;
}

.strip-separator {
  color: var(--violet);
  font-size: 0.72rem;
}

/* =========================================
   SECTION HEADINGS
   ========================================= */

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.section-index {
  color: var(--cyan);
}

.section-kicker {
  color: var(--subtle);
  text-align: right;
}

/* =========================================
   ABOUT
   ========================================= */

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 100px;
  padding-top: 72px;
}

.about-title {
  position: relative;
  align-self: start;
}

.about-mark {
  position: relative;
  display: grid;
  width: 145px;
  aspect-ratio: 1;
  margin-top: 70px;
  place-items: center;
  border: 1px solid rgba(167, 139, 250, 0.3);
  border-radius: 50%;
  color: #b9a4ff;
  font-size: 3rem;
  font-weight: 600;
}

.about-mark::before,
.about-mark::after {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(94, 231, 247, 0.2);
  border-radius: 50%;
  content: "";
}

.about-mark::after {
  inset: -10px 22px;
  border-color: rgba(167, 139, 250, 0.22);
  transform: rotate(45deg);
}

.about-mark-orbit {
  position: absolute;
  top: -5px;
  right: 20px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 15px var(--cyan);
}

.about-content .lead {
  margin-bottom: 24px;
  color: var(--text);
  font-size: clamp(1.25rem, 2.2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.5;
}

.about-content > p:not(.lead) {
  margin-bottom: 18px;
  font-size: 0.94rem;
  line-height: 1.95;
}

.about-facts {
  display: grid;
  gap: 0;
  margin-top: 38px;
  border-top: 1px solid var(--border);
}

.fact {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 14px;
  padding-block: 23px;
  border-bottom: 1px solid var(--border);
}

.fact-number {
  padding-top: 3px;
  color: var(--violet);
}

.fact h3 {
  margin-bottom: 5px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.fact p {
  margin-bottom: 0;
  font-size: 0.85rem;
}

/* =========================================
   PROJECTS
   ========================================= */

.projects-section {
  overflow: hidden;
  border-block: 1px solid rgba(255, 255, 255, 0.035);
  background: #0b0c12;
}

.projects-intro,
.expertise-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 45px;
  padding-block: 60px 44px;
}

.projects-intro > p,
.expertise-intro > p {
  max-width: 330px;
  margin-bottom: 8px;
  font-size: 0.9rem;
  line-height: 1.9;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 35px 24px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #101118;
  transition:
    transform 250ms ease,
    border-color 250ms ease,
    background 250ms ease;
}

.project-card:hover {
  transform: translateY(-5px);
  border-color: rgba(167, 139, 250, 0.3);
  background: #12141d;
}

.project-featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 300px;
  overflow: hidden;
  place-items: center;
  isolation: isolate;
}

.project-card:not(.project-featured) .project-visual {
  min-height: 280px;
}

.project-visual::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 30px 30px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 95%);
}

.visual-purple {
  background:
    radial-gradient(ellipse at 50% 50%,
      rgba(142, 94, 255, 0.22), transparent 62%),
    #11101b;
}

.visual-cyan {
  background:
    radial-gradient(ellipse at 50% 50%,
      rgba(48, 177, 209, 0.18), transparent 62%),
    #0b1419;
}

.visual-orange {
  background:
    radial-gradient(ellipse at 50% 50%,
      rgba(255, 145, 91, 0.18), transparent 62%),
    #18110f;
}

.visual-topline {
  position: absolute;
  top: 20px;
  right: 20px;
  left: 20px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #88889f;
  font-size: 0.56rem;
}

.visual-number {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.62rem;
}

/* Abstract logic diagram */

.logic-art {
  position: relative;
  width: 270px;
  height: 205px;
}

.logic-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 52px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(192, 173, 255, 0.6);
  border-radius: 50%;
  color: #e3d9ff;
  background: rgba(139, 92, 246, 0.14);
  box-shadow: 0 0 25px rgba(139, 92, 246, 0.13);
  font-family: var(--mono);
  font-size: 0.86rem;
}

.node-a {
  top: 20px;
  left: 15px;
}

.node-b {
  top: 20px;
  right: 15px;
}

.node-c {
  bottom: 38px;
  left: 48px;
}

.node-d {
  right: 40px;
  bottom: 38px;
  border-color: rgba(94, 231, 247, 0.6);
  color: var(--cyan);
  background: rgba(94, 231, 247, 0.07);
}

.logic-line {
  position: absolute;
  height: 1px;
  background: rgba(174, 150, 255, 0.6);
  transform-origin: left center;
}

.line-a {
  top: 46px;
  left: 66px;
  width: 137px;
}

.line-b {
  top: 63px;
  left: 61px;
  width: 88px;
  transform: rotate(59deg);
}

.line-c {
  top: 63px;
  right: 59px;
  width: 90px;
  background: rgba(94, 231, 247, 0.65);
  transform: rotate(121deg);
}

.logic-formula {
  position: absolute;
  bottom: 0;
  left: 50%;
  color: #bba6ff;
  font-family: var(--mono);
  font-size: 0.7rem;
  white-space: nowrap;
  transform: translateX(-50%);
}

/* Abstract terminal illustration */

.terminal-art {
  width: min(83%, 400px);
  overflow: hidden;
  border: 1px solid rgba(94, 231, 247, 0.22);
  border-radius: 10px;
  background: rgba(5, 11, 15, 0.82);
  box-shadow: 0 15px 55px rgba(0, 0, 0, 0.25);
  transform: rotate(-3deg);
  transition: transform 300ms ease;
}

.project-card:hover .terminal-art {
  transform: rotate(0deg) scale(1.02);
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 12px;
  border-bottom: 1px solid rgba(94, 231, 247, 0.12);
  background: rgba(94, 231, 247, 0.035);
}

.terminal-header > span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #66687a;
}

.terminal-header > span:first-child {
  background: #ffad7a;
}

.terminal-header > span:nth-child(2) {
  background: #f5da86;
}

.terminal-header > span:nth-child(3) {
  background: #8df5bf;
}

.terminal-header small {
  margin-left: 8px;
  color: #727c89;
  font-family: var(--mono);
  font-size: 0.6rem;
}

.terminal-code {
  padding: 20px 17px;
  font-family: var(--mono);
  font-size: clamp(0.58rem, 1vw, 0.75rem);
  line-height: 1.8;
}

.terminal-code p {
  margin-bottom: 3px;
  color: #c2cbd6;
  white-space: nowrap;
}

.code-purple {
  color: #c2a7ff;
}

.code-green {
  color: #8df5bf;
}

.code-blue {
  color: #5ee7f7;
}

.terminal-code .indent {
  padding-left: 23px;
}

.terminal-code .terminal-prompt {
  margin-top: 12px;
  color: var(--cyan);
}

/* Abstract sphere illustration */

.sphere-art {
  position: relative;
  display: grid;
  width: 185px;
  aspect-ratio: 1;
  place-items: center;
}

.sphere-center {
  width: 52%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 173, 122, 0.85);
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(255, 197, 152, 0.7),
    rgba(255, 126, 83, 0.12) 50%,
    rgba(30, 16, 16, 0.8)
  );
  box-shadow: 0 0 40px rgba(255, 145, 91, 0.18);
}

.sphere-ring {
  position: absolute;
  width: 100%;
  height: 48%;
  border: 1px solid rgba(255, 173, 122, 0.65);
  border-radius: 50%;
  transform: rotate(-30deg);
}

.sphere-ring-two {
  height: 75%;
  transform: rotate(55deg);
}

.sphere-ring-three {
  width: 65%;
  height: 100%;
  border-color: rgba(255, 173, 122, 0.32);
  transform: rotate(35deg);
}

.project-info {
  padding: 28px;
}

.project-featured .project-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(25px, 4vw, 48px);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 17px;
  font-size: 0.6rem;
  letter-spacing: 0;
}

.project-tags span,
.skill-list span {
  padding: 5px 9px;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: #b4b5c6;
  background: rgba(255, 255, 255, 0.025);
}

.project-info h3 {
  margin-bottom: 12px;
  font-size: clamp(1.35rem, 2.4vw, 1.9rem);
  font-weight: 500;
  line-height: 1.25;
}

.project-info > p {
  margin-bottom: 22px;
  font-size: 0.86rem;
  line-height: 1.9;
}

.project-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--text);
  font-size: 0.83rem;
  font-weight: 500;
}

.project-link span,
.text-link span {
  color: var(--cyan);
  transition: transform 180ms ease;
}

.project-link:hover span,
.text-link:hover span {
  transform: translate(3px, -3px);
}

.projects-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 45px;
  padding-top: 27px;
  border-top: 1px solid var(--border);
}

.projects-footer > span {
  color: var(--subtle);
  font-size: 0.6rem;
}

/* =========================================
   EXPERTISE
   ========================================= */

.expertise-intro {
  padding-bottom: 45px;
}

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

.expertise-card {
  position: relative;
  min-height: 300px;
  padding: 29px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.035),
    rgba(255, 255, 255, 0.008)
  );
  transition:
    border-color 200ms ease,
    background 200ms ease,
    transform 200ms ease;
}

.expertise-card:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 139, 250, 0.27);
  background: linear-gradient(
    145deg,
    rgba(167, 139, 250, 0.07),
    rgba(255, 255, 255, 0.008)
  );
}

.expertise-icon {
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 10px;
  font-size: 1.55rem;
  background: rgba(255, 255, 255, 0.025);
}

.icon-violet {
  color: var(--violet);
}

.icon-cyan {
  color: var(--cyan);
}

.icon-orange {
  color: var(--orange);
}

.icon-green {
  color: var(--green);
}

.expertise-number {
  position: absolute;
  top: 31px;
  right: 29px;
  color: var(--subtle);
}

.expertise-card h3 {
  margin-block: 27px 10px;
  font-size: 1.35rem;
  font-weight: 500;
}

.expertise-card > p {
  max-width: 400px;
  margin-bottom: 24px;
  font-size: 0.87rem;
  line-height: 1.9;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.skill-list span {
  font-family: var(--mono);
  font-size: 0.63rem;
}

/* =========================================
   MANIFESTO
   ========================================= */

.manifesto-section {
  position: relative;
  overflow: hidden;
  padding-block: 125px;
  border-block: 1px solid var(--border);
  background: #0b0c12;
  isolation: isolate;
}

.manifesto-glow {
  position: absolute;
  z-index: -1;
  top: -220px;
  left: 50%;
  width: 600px;
  height: 500px;
  border-radius: 50%;
  background: rgba(116, 74, 220, 0.15);
  filter: blur(110px);
  transform: translateX(-50%);
}

.manifesto-content {
  text-align: center;
}

.manifesto-mark {
  display: block;
  height: 100px;
  margin-top: 30px;
  color: rgba(167, 139, 250, 0.75);
  font-size: 8rem;
  line-height: 1.15;
  font-weight: 500;
}

.manifesto-content h2 {
  font-size: clamp(2.3rem, 5.3vw, 4.6rem);
  line-height: 1.18;
}

.manifesto-content > p {
  margin-top: 25px;
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* =========================================
   CONTACT
   ========================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 90px;
  padding-top: 65px;
}

.contact-copy h2 {
  margin-bottom: 23px;
}

.contact-copy > p {
  max-width: 460px;
  margin-bottom: 30px;
  font-size: 0.94rem;
  line-height: 1.95;
}

.contact-links {
  border-top: 1px solid var(--border);
}

.contact-link {
  display: grid;
  grid-template-columns: 43px 1fr 20px;
  align-items: center;
  gap: 16px;
  padding-block: 23px;
  border-bottom: 1px solid var(--border);
}

.contact-link-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--cyan);
  font-size: 1.1rem;
  transition:
    border-color 180ms ease,
    background 180ms ease;
}

.contact-link:hover .contact-link-icon {
  border-color: rgba(94, 231, 247, 0.45);
  background: rgba(94, 231, 247, 0.06);
}

.contact-link > span:nth-child(2) {
  display: grid;
  gap: 5px;
}

.contact-link small {
  color: var(--subtle);
  font-size: 0.58rem;
}

.contact-link strong {
  overflow-wrap: anywhere;
  font-size: 0.92rem;
  font-weight: 500;
}

.contact-arrow {
  color: #85869b;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.contact-link:hover .contact-arrow {
  color: var(--cyan);
  transform: translate(2px, -2px);
}

/* =========================================
   FOOTER
   ========================================= */

.site-footer {
  border-top: 1px solid var(--border);
  background: #07080b;
}

.footer-inner {
  display: flex;
  min-height: 105px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-block: 20px;
}

.footer-brand {
  font-size: 1rem;
}

.footer-brand .brand-symbol {
  font-size: 1.4rem;
}

.footer-inner > p {
  margin-bottom: 0;
  font-size: 0.75rem;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--subtle);
  font-family: var(--mono);
  font-size: 0.65rem;
}

.footer-right a {
  transition: color 180ms ease;
}

.footer-right a:hover {
  color: var(--cyan);
}

/* =========================================
   REVEAL ANIMATIONS
   ========================================= */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

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

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes status-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(141, 245, 191, 0.2);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(141, 245, 191, 0);
  }
}

@keyframes orbit-spin {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}

@keyframes core-morph {
  0%, 100% {
    border-radius: 48% 52% 62% 38% / 44% 37% 63% 56%;
    transform: rotate(0deg);
  }
  50% {
    border-radius: 58% 42% 38% 62% / 56% 61% 39% 44%;
    transform: rotate(18deg);
  }
}

/* =========================================
   RESPONSIVE: TABLETS
   ========================================= */

@media (max-width: 1000px) {
  .container {
    width: calc(100% - 48px);
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 15px;
  }

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

  .hero-art {
    width: 100%;
  }

  .hero-meta {
    gap: 10px 15px;
  }

  .about-grid {
    gap: 50px;
  }

  .contact-grid {
    gap: 45px;
  }

  .intro-strip-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-block: 22px;
  }

  .strip-items {
    justify-content: flex-start;
  }
}

/* =========================================
   RESPONSIVE: MOBILE NAVIGATION
   ========================================= */

@media (max-width: 760px) {
  .container {
    width: calc(100% - 40px);
  }

  .section-pad {
    padding-block: 82px;
  }

  .nav {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
    position: relative;
    z-index: 2;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .nav-links {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 22px;
    border-bottom: 1px solid var(--border);
    background: rgba(8, 9, 13, 0.98);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 180ms ease;
  }

  .nav-links.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links > a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-links .nav-cta {
    margin-top: 14px;
    padding: 12px 14px;
    border: 1px solid rgba(167, 139, 250, 0.4);
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding-block: 65px 85px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .hero-description {
    max-width: 550px;
    font-size: 0.96rem;
  }

  .hero-art {
    width: min(100%, 460px);
    justify-self: center;
  }

  .scroll-indicator {
    left: 20px;
    bottom: 22px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .section-kicker {
    text-align: left;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 45px;
  }

  .about-mark {
    width: 95px;
    margin-top: 28px;
    font-size: 2.1rem;
  }

  .projects-intro,
  .expertise-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding-block: 42px 30px;
  }

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

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

  .project-visual,
  .project-card:not(.project-featured) .project-visual {
    min-height: 275px;
  }

  .project-featured .project-info {
    padding: 28px;
  }

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

  .expertise-card {
    min-height: 270px;
  }

  .manifesto-section {
    padding-block: 90px;
  }

  .manifesto-mark {
    height: 75px;
    font-size: 6rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 45px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding-block: 28px;
  }
}

/* =========================================
   RESPONSIVE: SMALL PHONES
   ========================================= */

@media (max-width: 420px) {
  .container {
    width: calc(100% - 32px);
  }

  .hero h1 {
    font-size: clamp(3.45rem, 14vw, 4.2rem);
  }

  .eyebrow {
    font-size: 0.57rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    justify-content: space-between;
  }

  .hero-meta {
    flex-direction: column;
    gap: 7px;
  }

  .strip-items {
    gap: 9px;
    font-size: 0.73rem;
  }

  .project-info {
    padding: 22px;
  }

  .contact-link {
    grid-template-columns: 37px minmax(0, 1fr) 15px;
    gap: 11px;
  }

  .contact-link-icon {
    width: 35px;
    height: 35px;
  }

  .contact-link strong {
    font-size: 0.8rem;
  }

  .footer-right {
    width: 100%;
    justify-content: space-between;
  }
}

/* =========================================
   ACCESSIBILITY: REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
