/* ============================================================
   LANZLIONARYS — PORTFOLIO  |  Full Rewrite
============================================================ */
:root {
  --bg: #000;
  --surf: #070707;
  --b1: rgba(255, 255, 255, .06);
  --b2: rgba(255, 255, 255, .12);
  --txt: #e0e0e0;
  --dim: #505050;
  --wh: #fff;
  --gr: rgba(120, 220, 120, .9);
  --grd: linear-gradient(135deg, #fff 0%, #888 50%, #444 100%);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden
}

body {
  background: var(--bg);
  color: var(--txt);
  font-family: 'Syne', sans-serif;
  overflow-x: hidden;
  cursor: none
}

/* ── LOADER ── */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity .5s, visibility .5s
}

#loader.gone {
  opacity: 0;
  visibility: hidden;
  pointer-events: none
}

.ld-ring {
  width: 40px;
  height: 40px;
  position: relative
}

.ld-ring div {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: #fff;
  animation: spin 1.2s cubic-bezier(.5, 0, .5, 1) infinite
}

.ld-ring div:nth-child(1) {
  animation-delay: -.45s
}

.ld-ring div:nth-child(2) {
  animation-delay: -.3s;
  border-top-color: rgba(255, 255, 255, .4)
}

.ld-ring div:nth-child(3) {
  animation-delay: -.15s;
  border-top-color: rgba(255, 255, 255, .2)
}

.ld-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: .4em
}

.ld-bar-wrap {
  width: 200px;
  height: 1px;
  background: rgba(255, 255, 255, .08);
  overflow: hidden
}

.ld-bar {
  height: 100%;
  width: 0;
  background: var(--grd)
}

.ld-pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: .15em
}

/* ── CANVAS / CURSOR ── */
#shader-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none
}

#cursor-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  position: fixed;
  z-index: 9998;
  pointer-events: none;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference
}

#cursor-ring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  position: fixed;
  z-index: 9997;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .3s, height .3s
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 64px;
  transition: all .4s
}

nav.scrolled {
  backdrop-filter: blur(24px);
  background: transparent;
  border-bottom: 1px solid var(--b1);
  padding: 16px 64px
}

.nav-logo {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #fff;
  text-decoration: none;
  letter-spacing: .1em
}

.nav-slash {
  color: var(--dim)
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
  align-items: center
}

.nav-links a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--dim);
  text-decoration: none;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s;
  position: relative
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #fff;
  transition: width .3s
}

.nav-links a:not(.nav-cta):hover {
  color: #fff
}

.nav-links a:not(.nav-cta):hover::after {
  width: 100%
}

.nav-cta {
  padding: 9px 22px;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff !important;
  border-radius: 2px;
  transition: all .25s !important
}

.nav-cta:hover {
  background: #fff !important;
  color: #000 !important
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: none;
  padding: 4px;
  z-index: 501
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
  display: block
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg)
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0
}

.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg)
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 499;
  background: rgba(0, 0, 0, .97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s
}

.mobile-menu.open {
  display: flex;
  opacity: 1;
  pointer-events: all
}

.mobile-menu a {
  font-family: 'JetBrains Mono', monospace;
  font-size: 20px;
  color: var(--txt);
  text-decoration: none;
  letter-spacing: .15em;
  text-transform: uppercase
}

.mobile-cta {
  padding: 14px 40px;
  border: 1px solid rgba(255, 255, 255, .3);
  color: #fff !important
}

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 130px 64px 80px;
  position: relative;
  z-index: 10
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center
}

.hero-text {
  max-width: 600px
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--gr);
  border: 1px solid rgba(120, 220, 120, .2);
  padding: 7px 16px;
  border-radius: 100px;
  background: rgba(120, 220, 120, .04);
  animation: fadeUp .7s ease both
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gr);
  border-radius: 50%;
  animation: pulse 2s infinite
}

.hero-greeting {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .3em;
  text-transform: uppercase;
  margin: 20px 0 12px;
  animation: fadeUp .7s .1s ease both;
  opacity: 0
}

.hero-name {
  font-size: clamp(48px, 8vw, 120px);
  font-weight: 800;
  line-height: .88;
  letter-spacing: -.03em;
  margin-bottom: 16px;
  animation: fadeUp .7s .2s ease both;
  opacity: 0
}

.glitch {
  position: relative;
  display: inline-block
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0
}

.glitch::before {
  color: rgba(255, 255, 255, .6);
  animation: glitchA 5s 2s infinite
}

.glitch::after {
  color: rgba(140, 140, 140, .5);
  animation: glitchB 5s 2s infinite
}

.hero-hl {
  background: var(--grd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.hero-title {
  font-size: clamp(14px, 2vw, 20px);
  font-weight: 600;
  color: var(--dim);
  margin-bottom: 24px;
  animation: fadeUp .7s .3s ease both;
  opacity: 0
}

.typing-cursor {
  color: #fff;
  animation: blink .8s step-end infinite
}

.hero-desc {
  max-width: 500px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--dim);
  margin-bottom: 44px;
  animation: fadeUp .7s .4s ease both;
  opacity: 0
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp .7s .5s ease both;
  opacity: 0
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: #fff;
  color: #000;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: .06em;
  transition: all .3s
}

.btn-primary:hover {
  box-shadow: 0 0 50px rgba(255, 255, 255, .12), 0 16px 40px rgba(0, 0, 0, .6);
  transform: translateY(-4px)
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  border: 1px solid var(--b2);
  color: var(--txt);
  font-size: 13px;
  text-decoration: none;
  border-radius: 2px;
  letter-spacing: .06em;
  transition: all .3s
}

.btn-outline:hover {
  border-color: #fff;
  color: #fff;
  transform: translateY(-4px)
}

.hero-stats {
  display: flex;
  gap: 52px;
  margin-top: 68px;
  flex-wrap: wrap;
  animation: fadeUp .7s .65s ease both;
  opacity: 0
}

.stat-num {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #fff 40%, var(--dim));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.stat-plus {
  background: var(--grd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text
}

.stat-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-top: 5px
}

.scroll-cue {
  position: absolute;
  bottom: 40px;
  left: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  animation: fadeUp .7s 1.2s ease both;
  opacity: 0
}

.scroll-cue span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  color: var(--dim);
  letter-spacing: .2em;
  text-transform: uppercase
}

.scroll-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, #fff, transparent);
  animation: scrollP 2.2s ease-in-out infinite
}

/* ── SPLINE VIEWER ── */
.hero-robot {
  display: flex;
  justify-content: center;
  align-items: center
}

.spline-wrap {
  position: relative;
  width: 100%;
  max-width: 640px;
  height: 640px
}

spline-viewer {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important
}

/* Watermark cover terminal */
.wm-cover {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 214px;
  background: rgba(2, 2, 2, .92);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 10px;
  padding: 9px 13px 10px;
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04)
}

.wm-dots {
  display: flex;
  gap: 5px;
  margin-bottom: 8px
}

.wm-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%
}

.wm-dots span:nth-child(1) {
  background: #2a2a2a
}

.wm-dots span:nth-child(2) {
  background: #242424
}

.wm-dots span:nth-child(3) {
  background: #1e1e1e
}

.wm-code {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  line-height: 1.55;
  white-space: nowrap
}

.wm-code .w {
  color: rgba(255, 255, 255, .8)
}

.wm-code .d {
  color: rgba(255, 255, 255, .25)
}

.blink {
  animation: blink 1s step-end infinite;
  color: rgba(255, 255, 255, .6)
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--b1);
  border-bottom: 1px solid var(--b1);
  background: rgba(5, 5, 5, .9);
  position: relative;
  z-index: 10
}

.marquee-track {
  display: flex;
  gap: 44px;
  animation: marquee 28s linear infinite;
  width: max-content
}

.mq {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--dim);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px
}

.mq::before {
  content: '';
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  opacity: .4;
  flex-shrink: 0
}

/* ── ABOUT ── */
#about {
  background: transparent;
  padding: 120px 64px;
  position: relative;
  z-index: 10
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center
}

.about-robot-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  overflow: hidden
}

.about-robot-wrap spline-viewer {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important
}

.wm-about {
  bottom: 8px
}

.about-p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--dim);
  margin-bottom: 16px
}

.about-p strong {
  color: var(--txt)
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 32px
}

.a-card {
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .07);
  transition: all .3s
}

.a-card:hover {
  border-color: rgba(255, 255, 255, .14);
  transform: translateY(-2px)
}

.a-key {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  color: rgba(255, 255, 255, .3);
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 4px
}

.a-val {
  font-size: 13px;
  color: #fff;
  font-weight: 700
}

/* ── SECTION SHARED ── */
.sec-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, .35);
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 14px
}

.sec-label::before {
  content: '';
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, .25)
}

.sec-title {
  font-size: clamp(30px, 5vw, 66px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 56px
}

.glass-panel {
  padding: 28px 32px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  border: 1px solid rgba(255, 255, 255, .07);
  backdrop-filter: blur(16px);
  max-width: 480px;
  margin: 36px auto 0;
  text-align: center
}

.glass-panel h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px
}

.glass-panel p {
  font-size: 14px;
  color: var(--dim);
  line-height: 1.7;
  margin-bottom: 18px
}

.skill-tags {
  display: flex;
  gap: 7px;
  justify-content: center;
  flex-wrap: wrap
}

.s-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(255, 255, 255, .04);
  color: rgba(255, 255, 255, .55);
  border: 1px solid rgba(255, 255, 255, .08)
}

/* ── SKILLS ── */
#skills {
  background: transparent;
  padding: 120px 64px;
  position: relative;
  overflow: hidden;
  min-height: 680px;
  z-index: 10
}

#paths-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: block
}

.skills-inner {
  position: relative;
  z-index: 1
}

.orbital-wrap {
  text-align: center
}

.orbital-scene {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center
}

#orbital-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0
}

.orbital-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none
}

.oc-icon {
  font-size: 38px;
  transition: all .4s
}

.oc-name {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .15em;
  text-transform: uppercase
}

.orbital-nodes {
  position: absolute;
  inset: 0;
  z-index: 3
}

.orbital-node {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px);
  cursor: default;
  display: flex;
  will-change: transform;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  transition: all .35s;
  transform: translate(-50%, -50%)
  
}

.orbital-node:hover,
.orbital-node.active {
  background: rgba(255, 255, 255, .07);
  border-color: rgba(255, 255, 255, .22);
  transform: translate(-50%, -50%) scale(1.12)
}

.node-icon {
  font-size: 20px;
  line-height: 1
}

.node-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px;
  color: rgba(255, 255, 255, .45);
  letter-spacing: .06em;
  text-transform: uppercase
}

.node-icon-img{
  width:22px;
  height:22px;
  object-fit:contain;
  pointer-events:none;
}

.oc-icon{
  width:56px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.oc-icon img{
  width:48px;
  height:48px;
  object-fit:contain;
  filter:drop-shadow(0 0 15px rgba(255,255,255,.15));
}

/* ── PROJECTS ── */
#projects {
  background: transparent;
  padding: 80px 64px 0;
  position: relative;
  z-index: 10;
  /* overflow visible so fan cards show above contact */
  overflow: visible;
}

/* Fan stage: sits at bottom of #projects, cards float upward freely */
.fan-stage-outer {
  position: relative;
  /* height = card height + lift room */
  height: 460px;
  overflow: visible;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.fan-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 36px 0 80px;
  position: relative;
  z-index: 1;
  background: transparent;
}

.fc-arr {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .13);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s
}

.fc-arr:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .26)
}

#fan-dots {
  display: flex;
  gap: 7px;
  align-items: center
}

.fd {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all .35s
}

.fd.on {
  width: 24px;
  border-radius: 4px;
  background: #fff
}

/* ── CONTACT ── */
#contact {
  background: transparent;
  padding: 120px 64px;
  text-align: center;
  position: relative;
  z-index: 10;
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto
}

.contact-title {
  font-size: clamp(36px, 8vw, 96px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.03em;
  margin-bottom: 20px
}

.contact-hl {
  background: var(--grd);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gShift 4s ease infinite alternate
}

.contact-desc {
  font-size: 15px;
  color: var(--dim);
  line-height: 1.8;
  margin-bottom: 20px
}

.contact-email {
  font-family: 'JetBrains Mono', monospace;
  font-size: clamp(12px, 1.6vw, 16px);
  color: rgba(255, 255, 255, .45);
  margin-bottom: 40px;
  display: inline-block;
  word-break: break-all;
  letter-spacing: .05em
}

.contact-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap
}

.clink {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: var(--txt);
  transition: all .3s
}

.clink:hover {
  color: #fff;
  transform: translateY(-4px)
}

/* ── FOOTER ── */
footer {
  padding: 28px 64px;
  border-top: 1px solid var(--b1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  background: var(--surf)
}

.f-logo,
.f-copy {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--dim)
}

/* ── INLINE LINKS ── */
.a-val .inline-link,
.a-val .inline-link:link,
.a-val .inline-link:visited{
  color:#fff !important;
  text-decoration:none;
  font-weight:700;
  position:relative;
  transition:.3s ease;
}

.a-val .inline-link::after{
  content:'';
  position:absolute;
  left:0;
  bottom:-2px;
  width:0;
  height:1px;
  background:linear-gradient(
    90deg,
    #ffffff,
    #777777,
    #ffffff
  );
  transition:width .3s ease;
}

.a-val .inline-link:hover{
  color:#d0d0d0 !important;
}

.a-val .inline-link:hover::after{
  width:100%;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .8s, transform .8s
}

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

.reveal-l {
  opacity: 0;
  transform: translateX(-44px);
  transition: opacity .9s, transform .9s
}

.reveal-l.visible {
  opacity: 1;
  transform: translateX(0)
}

.reveal-r {
  opacity: 0;
  transform: translateX(44px);
  transition: opacity .9s, transform .9s
}

.reveal-r.visible {
  opacity: 1;
  transform: translateX(0)
}

/* ── RESPONSIVE ── */
@media(max-width:1200px) {
  .spline-wrap {
    max-width: 520px;
    height: 520px
  }
}

@media(max-width:1024px) {

  nav,
  nav.scrolled {
    padding: 18px 32px
  }

  #hero {
    padding: 110px 32px 70px
  }

  .hero-content {
    grid-template-columns: 1fr
  }

  .hero-robot {
    order: -1
  }

  .spline-wrap {
    max-width: 440px;
    height: 440px
  }

  #about,
  #skills,
  #projects,
  #contact {
    padding-left: 32px;
    padding-right: 32px
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 52px
  }

  .about-left {
    max-width: 360px;
    margin: 0 auto
  }

  footer {
    padding: 24px 32px
  }

  .fan-controls {
    padding-bottom: 60px
  }
}

@media(max-width:768px) {
  .nav-links {
    display: none
  }

  .nav-hamburger {
    display: flex
  }

  nav,
  nav.scrolled {
    padding: 16px 20px
  }

  #hero {
    padding: 90px 20px 56px
  }

  .hero-actions {
    flex-direction: column
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
    padding: 14px 20px
  }

  .hero-stats {
    gap: 24px;
    margin-top: 44px
  }

  .scroll-cue {
    left: 20px;
    bottom: 20px
  }

  #about,
  #skills,
  #projects,
  #contact {
    padding-left: 20px;
    padding-right: 20px
  }

  .about-cards {
    grid-template-columns: 1fr
  }

  .orbital-scene {
    width: 300px;
    height: 300px
  }

  .orbital-node {
    width: 60px;
    height: 60px
  }

  .spline-wrap {
    max-width: 100%;
    height: 340px
  }

  .fan-stage-outer {
    height: 380px
  }

  .fan-controls {
    padding-bottom: 48px
  }

  .contact-links {
    flex-direction: column;
    align-items: center
  }

  .clink {
    width: 100%;
    max-width: 300px;
    justify-content: center
  }

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