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

:root {
  --bg: #070707;
  --white: #f0efea;
  --dim: rgba(240, 239, 234, .44);
  --dimmer: rgba(240, 239, 234, .18);
  --line: rgba(240, 239, 234, .08);
  --serif: 'EB Garamond', serif;
  --sans: 'Syne', sans-serif;
  --mono: 'Syne Mono', monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* ══ SCROLL PROGRESS ══ */
#sprog {
  position: fixed;
  top: 0;
  left: 0;
  height: 1px;
  background: var(--white);
  z-index: 9000;
  width: 0%;
  transition: width .1s linear;
}

/* ══ CURSOR ══ */
#cdot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}

#cring {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(240, 239, 234, .3);
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .45s var(--ease), height .45s var(--ease), border-color .3s;
}

body.ch #cring {
  width: 80px;
  height: 80px;
  border-color: rgba(240, 239, 234, .5);
}

body.ch #cdot {
  opacity: 0;
}

body.ck #cring {
  width: 28px;
  height: 28px;
}

/* Cursor text label */
#clabel {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9997;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--white);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity .3s;
  white-space: nowrap;
}

body.ch #clabel {
  opacity: 1;
}

/* ══ LOADER ══ */
#loader {
  position: fixed;
  inset: 0;
  z-index: 8000;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
}

#loader.out {
  animation: loaderOut .8s var(--ease) forwards;
}

@keyframes loaderOut {
  to {
    transform: translateY(-100%);
  }
}

.ld-name {
  font-family: var(--serif);
  font-size: clamp(40px, 6vw, 72px);
  font-style: italic;
  overflow: hidden;
}

.ld-name span {
  display: block;
  animation: slideUp 1s var(--ease) .1s both;
}

@keyframes slideUp {
  from {
    transform: translateY(110%);
  }

  to {
    transform: translateY(0);
  }
}

.ld-track {
  width: 220px;
  height: 1px;
  background: rgba(240, 239, 234, .1);
  overflow: hidden;
}

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

.ld-pct {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dimmer);
  letter-spacing: .18em;
}

/* ══ NAV ══ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 56px;
  transition: all .4s var(--ease);
}

nav.scrolled {
  padding: 16px 56px;
  background: rgba(7, 7, 7, .88);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  position: relative;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width .4s var(--ease);
}

.logo:hover::after {
  width: 100%;
}

.nav-r {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: .4;
  position: relative;
  transition: opacity .3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--white);
  transition: width .35s var(--ease);
}

.nav-links a:hover {
  opacity: 1;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Nav social icons */
.nav-socials {
  display: flex;
  gap: 16px;
  align-items: center;
}

.nav-soc {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  opacity: .4;
  transition: opacity .3s, transform .3s var(--ease);
}

.nav-soc:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.nav-soc svg {
  width: 15px;
  height: 15px;
  fill: var(--white);
}

.nav-cta {
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  padding: 10px 24px;
  border: 1px solid rgba(240, 239, 234, .3);
  position: relative;
  overflow: hidden;
  transition: color .4s;
}

.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--white);
  transform: translateY(101%);
  transition: transform .4s var(--ease);
}

.nav-cta:hover {
  color: var(--bg);
}

.nav-cta:hover::before {
  transform: translateY(0);
}

.nav-cta span {
  position: relative;
  z-index: 1;
}

/* ══ HERO ══ */
#hero {
  height: 100vh;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 56px 150px;
}

.h-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 15%, rgba(7, 7, 7, .55) 65%, rgba(7, 7, 7, .98) 100%), linear-gradient(145deg, #111 0%, #1c1c1c 50%, #0c0c0c 100%);
}

.h-noise {
  position: absolute;
  inset: 0;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.h-grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .016) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .016) 1px, transparent 1px);
  background-size: 88px 88px;
  mask-image: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .2) 30%, rgba(0, 0, 0, .06) 70%, transparent);
}

/* Floating orbs */
.h-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.h-orb1 {
  width: 500px;
  height: 500px;
  top: 5%;
  right: 2%;
  background: radial-gradient(circle, rgba(255, 255, 255, .014) 0%, transparent 70%);
  border: 1px solid rgba(255, 255, 255, .03);
}

.h-orb2 {
  width: 300px;
  height: 300px;
  bottom: 20%;
  left: 10%;
  background: radial-gradient(circle, rgba(255, 255, 255, .008) 0%, transparent 70%);
}

/* Big initials */
.h-init {
  position: absolute;
  top: 46%;
  right: -10px;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(200px, 26vw, 380px);
  color: rgba(255, 255, 255, .018);
  font-style: italic;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.04em;
}

.h-scroll {
  position: absolute;
  bottom: 72px;
  right: 56px;
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dimmer);
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 18px;
  animation: bounce 3s ease-in-out infinite;
}

.h-scroll::before {
  content: '';
  width: 1px;
  height: 68px;
  background: linear-gradient(to bottom, transparent, var(--dimmer));
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

.h-text {
  position: relative;
  z-index: 2;
}

.h-eye {
  font-size: 11px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  opacity: 0;
  animation: fadeUp .8s var(--ease) .4s forwards;
}

.h-eye::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--dimmer);
}

/* Split headline — each word animates */
h1.hh {
  font-family: var(--serif);
  font-size: clamp(68px, 9.8vw, 150px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.025em;
}

h1.hh .hw {
  display: inline-block;
  overflow: hidden;
}

h1.hh .hw span {
  display: inline-block;
  transform: translateY(110%);
  animation: slideUp 1s var(--ease) both;
}

h1.hh em {
  font-style: italic;
}

h1.hh .hw:nth-child(1) span {
  animation-delay: .55s;
}

h1.hh .hw:nth-child(2) span {
  animation-delay: .7s;
}

h1.hh .hw:nth-child(3) span {
  animation-delay: .85s;
}

.h-sub {
  margin-top: 32px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--dim);
  max-width: 480px;
  opacity: 0;
  animation: fadeUp .8s var(--ease) 1.05s forwards;
}

.h-ctas {
  margin-top: 44px;
  display: flex;
  gap: 20px;
  align-items: center;
  opacity: 0;
  animation: fadeUp .8s var(--ease) 1.2s forwards;
}

.btn-p {
  padding: 13px 34px;
  background: var(--white);
  color: var(--bg);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: color .4s var(--ease);
  display: inline-block;
}

.btn-p::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bg);
  transform: translateY(101%);
  transition: transform .45s var(--ease);
}

.btn-p:hover {
  color: var(--white);
}

.btn-p:hover::before {
  transform: translateY(0);
}

.btn-p span {
  position: relative;
  z-index: 1;
}

.btn-g {
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color .3s, gap .35s var(--ease);
}

.btn-g:hover {
  color: var(--white);
  gap: 18px;
}

/* Hero tags */
.h-tags {
  position: absolute;
  bottom: 72px;
  left: 56px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp .7s var(--ease) 1.35s forwards;
}

.h-tag {
  padding: 6px 15px;
  border-radius: 100px;
  border: 1px solid rgba(240, 239, 234, .12);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dimmer);
  transition: all .3s;
}

.h-tag:hover {
  border-color: rgba(240, 239, 234, .4);
  color: var(--white);
}

/* ══ MARQUEE ══ */
.marquee-wrap {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: mq 22s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.mqi {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 28px;
  white-space: nowrap;
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--white);
}

.mqdot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(240, 239, 234, .2);
}

@keyframes mq {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ══ DIVIDER ══ */
hr.d {
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ══ WORK SECTIONS ══ */
.ws {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  padding: 56px;
}

.ws-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(7, 7, 7, .06) 0%, rgba(7, 7, 7, .44) 55%, rgba(7, 7, 7, .95) 100%);
  z-index: 1;
}

.ws-img {
  position: absolute;
  inset: 0;
  z-index: 0;
  transition: transform .9s var(--ease);
}

.ws:hover .ws-img {
  transform: scale(1.04);
}

.ws-ph {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #141414 0%, #1e1e1e 60%, #0e0e0e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ws-ph-t {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .04);
  padding: 18px 32px;
}

.ws-num {
  font-family: var(--serif);
  font-size: clamp(88px, 12vw, 152px);
  color: rgba(255, 255, 255, .042);
  font-style: italic;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  top: 56px;
  right: 56px;
  z-index: 2;
  user-select: none;
}

.ws-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 52px;
  position: relative;
  z-index: 3;
}

.pill {
  padding: 7px 18px;
  border-radius: 100px;
  border: 1px solid rgba(240, 239, 234, .15);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  transition: all .35s;
}

.pill.on,
.pill:hover {
  background: rgba(240, 239, 234, .1);
  border-color: rgba(240, 239, 234, .4);
  color: var(--white);
}

.ws-c {
  position: relative;
  z-index: 3;
}

.ws-title {
  font-family: var(--serif);
  font-size: clamp(46px, 7.2vw, 110px);
  font-weight: 400;
  line-height: .97;
  letter-spacing: -.025em;
  margin-bottom: 26px;
}

.ws-title em {
  font-style: italic;
}

.ws-desc {
  font-size: 14px;
  line-height: 1.85;
  color: var(--dim);
  max-width: 540px;
  margin-bottom: 44px;
}

.ws-meta {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}

.ws-stack {
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dimmer);
  display: flex;
  align-items: center;
  gap: 10px;
}

.ws-stack::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--dimmer);
}

.ws-yr {
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.vlink {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 239, 234, .25);
  padding-bottom: 3px;
  transition: gap .3s var(--ease), border-color .3s;
}

.vlink:hover {
  gap: 20px;
  border-color: var(--white);
}

/* ══ SERVICES — tilt card + hover preview ══ */
#services {
  padding: 160px 56px;
  border-top: 1px solid var(--line);
}

.svc-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
  margin-bottom: 96px;
}

.seye {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.seye::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--dimmer);
}

.sh2 {
  font-family: var(--serif);
  font-size: clamp(40px, 5.5vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -.02em;
}

.sh2 em {
  font-style: italic;
}

.svc-intro-r p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--dim);
}

/* Floating cursor preview */
#svc-preview {
  position: fixed;
  width: 260px;
  height: 160px;
  pointer-events: none;
  z-index: 600;
  overflow: hidden;
  opacity: 0;
  transform: translate(-50%, -68%) rotate(-2deg);
  transition: opacity .3s, transform .3s var(--ease);
  border: 1px solid var(--line);
}

#svc-preview.show {
  opacity: 1;
  transform: translate(-50%, -68%) rotate(0deg);
}

.svc-prev-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1a1a, #111);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  letter-spacing: .2em;
  color: rgba(255, 255, 255, .12);
  text-transform: uppercase;
}

.svc-list {
  position: relative;
}

.svc-row {
  display: grid;
  grid-template-columns: 68px 1fr 200px 52px;
  align-items: center;
  gap: 44px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: padding-left .45s var(--ease);
}

.svc-row:first-child {
  border-top: 1px solid var(--line);
}

.svc-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(240, 239, 234, .032), transparent 50%);
  transform: translateX(-100%);
  transition: transform .6s var(--ease);
}

.svc-row:hover::before {
  transform: translateX(0);
}

.svc-row:hover {
  padding-left: 12px;
}

.svc-n {
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
  color: var(--dimmer);
  position: relative;
  z-index: 1;
}

.svc-name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 40px);
  font-weight: 400;
  position: relative;
  z-index: 1;
  transition: letter-spacing .4s var(--ease);
}

.svc-row:hover .svc-name {
  letter-spacing: .01em;
}

.svc-desc {
  font-size: 12px;
  line-height: 1.75;
  color: var(--dimmer);
  position: relative;
  z-index: 1;
}

.svc-arr {
  font-size: 18px;
  color: var(--dimmer);
  display: flex;
  justify-content: flex-end;
  transition: all .35s;
  position: relative;
  z-index: 1;
}

.svc-row:hover .svc-arr {
  color: var(--white);
  transform: translate(5px, -5px);
}

/* ══ ABOUT ══ */
#about {
  padding: 160px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.ab-l .eye {
  font-size: 10px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin-bottom: 52px;
}

.ab-l h2 {
  font-family: var(--serif);
  font-size: clamp(38px, 5vw, 70px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.02em;
}

.ab-l h2 em {
  font-style: italic;
}

.ab-r p {
  font-size: 15px;
  line-height: 1.9;
  color: var(--dim);
}

.ab-r p+p {
  margin-top: 20px;
}

.ab-r strong {
  color: var(--white);
  font-weight: 500;
}

/* Tilt stat cards */
.ab-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 72px;
}

.stat-card {
  padding: 36px 32px;
  border: 1px solid var(--line);
  transition: border-color .3s;
  will-change: transform;
}

.stat-card:hover {
  border-color: rgba(240, 239, 234, .25);
}

.stat-n {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 400;
  font-style: italic;
  line-height: 1;
}

.stat-l {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--dimmer);
  margin-top: 8px;
}

/* ══ SKILLS ══ */
#skills {
  padding: 160px 56px;
  border-top: 1px solid var(--line);
}

.sk-hdr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: end;
  margin-bottom: 88px;
}

.sk-hdr p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--dim);
}

.sk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--line);
}

.sk-col {
  padding: 48px 40px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .4s;
}

.sk-col:hover {
  background: rgba(240, 239, 234, .015);
}

.sk-num {
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  color: var(--dimmer);
  margin-bottom: 22px;
}

.sk-name {
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  margin-bottom: 32px;
}

.sk-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  transition: color .3s;
}

.sk-item:hover {
  color: var(--white);
}

.sk-itop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 7px;
}

.sk-lbl {
  font-size: 12px;
  color: var(--dim);
  letter-spacing: .03em;
}

.sk-pct {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--dimmer);
}

.sk-track {
  height: 1px;
  background: rgba(240, 239, 234, .07);
  width: 100%;
}

.sk-fill {
  height: 100%;
  background: var(--white);
  width: 0;
  transition: width 1.5s var(--ease);
}

/* ══ CONTACT ══ */
#contact {
  padding: 160px 56px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
  align-items: start;
}

.cl h2 {
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 80px);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -.02em;
}

.cl h2 em {
  font-style: italic;
}

.cl p {
  font-size: 14px;
  line-height: 1.85;
  color: var(--dim);
  margin-top: 32px;
  max-width: 380px;
}

/* Social icon grid */
.soc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 52px;
}

.soc-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color .4s, transform .4s var(--ease);
  aspect-ratio: 1.4/1;
}

.soc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240, 239, 234, .03);
  opacity: 0;
  transition: opacity .4s;
}

.soc-card:hover {
  border-color: rgba(240, 239, 234, .3);
  transform: translateY(-3px);
}

.soc-card:hover::before {
  opacity: 1;
}

.soc-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: border-color .3s, transform .4s var(--ease);
}

.soc-card:hover .soc-icon {
  border-color: rgba(240, 239, 234, .35);
  transform: rotate(12deg);
}

.soc-icon svg {
  width: 16px;
  height: 16px;
  fill: var(--white);
}

.soc-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.soc-label {
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--dimmer);
  display: block;
  margin-bottom: 4px;
}

.soc-val {
  font-family: var(--serif);
  font-size: 15px;
  font-style: italic;
  color: var(--white);
}

.soc-arr {
  font-size: 16px;
  color: var(--dimmer);
  transition: all .35s;
}

.soc-card:hover .soc-arr {
  color: var(--white);
  transform: translate(4px, -4px);
}

/* Contact form */
.cf {
  padding-top: 8px;
}

.frow {
  border-bottom: 1px solid var(--line);
}

.frow:first-child {
  border-top: 1px solid var(--line);
}

.frow label {
  display: block;
  font-size: 9px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--white);
  padding: 18px 0 0;
}

.frow input,
.frow textarea {
  width: 100%;
  background: transparent;
  border: none;
  padding: 10px 0 18px;
  color: var(--white);
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  outline: none;
  resize: none;
  transition: font-size .2s;
}

.frow input:focus,
.frow textarea:focus {
  font-size: 20px;
}

.frow textarea {
  height: 90px;
}

::placeholder {
  color: var(--white);
  font-size: 16px;
}

/* Magnetic submit */
.fsub {
  margin-top: 52px;
  display: flex;
  align-items: center;
  gap: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  cursor: none;
  padding: 0;
  transition: gap .45s var(--ease);
}

.fsub:hover {
  gap: 42px;
}

.fline {
  width: 60px;
  height: 1px;
  background: var(--white);
  transition: width .45s var(--ease);
}

.fsub:hover .fline {
  width: 88px;
}

.fsub-txt {
  position: relative;
  overflow: hidden;
  height: 1.2em;
}

.fsub-a,
.fsub-b {
  display: block;
  transition: transform .4s var(--ease);
}

.fsub-b {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%);
  white-space: nowrap;
}

.fsub:hover .fsub-a,
.fsub.sent .fsub-a {
  transform: translateY(-100%);
}

.fsub:hover .fsub-b,
.fsub.sent .fsub-b {
  transform: translateY(0);
}

/* ══ RESEARCH ══ */
#research {
  padding: 140px 56px;
}

.research-card {
  margin-top: 80px;
  border: 1px solid var(--line);
  padding: 52px 56px;
  position: relative;
  transition: border-color .4s;
}

.research-card:hover {
  border-color: rgba(240, 239, 234, .2);
}

.research-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 1px;
  background: var(--white);
}

.rc-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.rc-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--dimmer);
  padding: 6px 14px;
  border: 1px solid var(--line);
}

.rc-title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.2vw, 30px);
  font-weight: 400;
  line-height: 1.35;
  color: var(--white);
  max-width: 820px;
  margin-bottom: 28px;
}

.rc-abstract {
  font-size: 14px;
  line-height: 1.9;
  color: var(--dim);
  max-width: 820px;
  margin-bottom: 48px;
}

.rc-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.rc-authors {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--dimmer);
}

@media(max-width:980px) {
  #research {
    padding: 100px 28px;
  }

  .research-card {
    padding: 36px 28px;
  }

  .rc-foot {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ══ FOOTER ══ */
footer {
  padding: 36px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
}

footer p {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dimmer);
}

.foot-links {
  display: flex;
  gap: 28px;
}

.foot-links a {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dimmer);
  text-decoration: none;
  transition: color .3s;
}

.foot-links a:hover {
  color: var(--white);
}

.back-top {
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--dimmer);
  background: none;
  border: none;
  cursor: none;
  transition: color .3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.back-top:hover {
  color: var(--white);
}

.back-top::before {
  content: '↑';
}

/* ══ ANIMATIONS ══ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal on scroll */
.rv {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.rvl {
  opacity: 0;
  transform: translateX(-36px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.rv.on,
.rvl.on {
  opacity: 1;
  transform: none;
}

.d1 {
  transition-delay: .08s
}

.d2 {
  transition-delay: .16s
}

.d3 {
  transition-delay: .24s
}

.d4 {
  transition-delay: .34s
}

.d5 {
  transition-delay: .44s
}

/* Work section enter */
.ws .ws-pills {
  opacity: 0;
  transition: opacity .7s ease .1s;
}

.ws .ws-c {
  opacity: 0;
  transform: translateY(44px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}

.ws.on .ws-pills,
.ws.on .ws-c {
  opacity: 1;
  transform: translateY(0);
}

/* Scramble char flicker */
@keyframes charFlicker {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .2;
  }
}

/* ══ RESPONSIVE ══ */
@media(max-width:980px) {
  nav {
    padding: 20px 28px;
  }

  nav.scrolled {
    padding: 14px 28px;
  }

  .nav-links,
  .nav-cta,
  .nav-socials {
    display: none;
  }

  #hero {
    padding: 110px 28px 80px;
  }

  .h-init,
  .h-tags {
    display: none;
  }

  .ws {
    padding: 36px 28px;
    min-height: 80vh;
  }

  .ws-num {
    display: none;
  }

  #services,
  #skills {
    padding: 100px 28px;
  }

  .svc-intro,
  .sk-hdr {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .svc-row {
    grid-template-columns: 52px 1fr;
    gap: 18px;
  }

  .svc-desc,
  .svc-arr {
    display: none;
  }

  #about {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 100px 28px;
  }

  .ab-stats {
    grid-template-columns: 1fr 1fr;
  }

  #contact {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 100px 28px;
  }

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

  footer {
    padding: 24px 28px;
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  #cdot,
  #cring,
  #clabel {
    display: none;
  }
}

@media(max-width:600px) {
  .sk-grid {
    grid-template-columns: 1fr;
  }

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

  .ab-stats {
    grid-template-columns: 1fr;
  }
}

/* ── ADDITIONAL UPGRADES ── */
.available-badge {
  display: inline-block;
  background: #00ff8822;
  color: #00ff88;
  border: 1px solid #00ff8844;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  letter-spacing: 0.05em;
  margin-top: 8px;
}

.sk-list {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.8;
  color: var(--dim);
  letter-spacing: 0.03em;
}