@import url('https://fonts.googleapis.com/css2?family=Cabinet+Grotesk:wght@400;500;700;800;900&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@400;500&display=swap');

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#FAF9F5;
  --fg:#131F1A;
  --muted:#505E56;
  --accent:#FF5C39;
  --accent2:#1E4E59;
  --blue:#3B82F6;
  --fd:'Cabinet Grotesk',sans-serif;
  --fs:'Instrument Serif',serif;
  --fm:'JetBrains Mono',monospace;
}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--fg);font-family:var(--fd);overflow-x:hidden;cursor:none;position:relative}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.035;
  pointer-events: none;
  z-index: 99996;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
a, button, .project-item, .cert-card, .contact-card, .btn, input, textarea { cursor: none }

/* ── AMBIENT BACKGROUND GLOW ── */
.ambient-glow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: var(--bg);
}
.blob-1, .blob-2, .blob-3 {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  mix-blend-mode: multiply;
  opacity: 0.28;
  pointer-events: none;
  will-change: transform;
}
.blob-1 {
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, var(--accent) 0%, rgba(255, 92, 57, 0) 70%);
  top: -10%;
  left: -10%;
  animation: float-blob-1 25s ease-in-out infinite alternate;
}
.blob-2 {
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, #f0c896 0%, rgba(240, 200, 150, 0) 70%);
  bottom: -5%;
  right: -5%;
  animation: float-blob-2 30s ease-in-out infinite alternate;
}
.blob-3 {
  width: 45vw;
  height: 45vw;
  background: radial-gradient(circle, #aed5bf 0%, rgba(174, 213, 191, 0) 70%);
  top: 40%;
  left: 45%;
  animation: float-blob-3 28s ease-in-out infinite alternate;
}

@keyframes float-blob-1 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(8vw, 12vh) scale(1.1); }
  100% { transform: translate(-5vw, 6vh) scale(0.95); }
}
@keyframes float-blob-2 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-10vw, -8vh) scale(0.9); }
  100% { transform: translate(4vw, -15vh) scale(1.05); }
}
@keyframes float-blob-3 {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-6vw, 10vh) scale(1.15); }
  100% { transform: translate(8vw, -5vh) scale(0.9); }
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: rgba(19, 31, 26, 0.12);
  border-radius: 5px;
  border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ── BOOT INTRO OVERLAY ── */
#intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 99997;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .9s cubic-bezier(.76,0,.24,1);
}
#intro-overlay.exit {
  transform: translateY(-100%);
  pointer-events: none;
}
.intro-inner {
  font-family: var(--fm);
  width: min(560px, 90vw);
  padding: 0 1rem;
}
.intro-logo {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(2rem, 6vw, 3.5rem);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg);
  margin-bottom: 2.5rem;
  animation: iLogo .5s cubic-bezier(.25,.46,.45,.94) both;
}
.intro-logo span {
  color: var(--accent);
}
@keyframes iLogo {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: none; }
}
.boot-lines {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  min-height: 175px;
}
.boot-line {
  font-size: .75rem;
  color: var(--muted);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity .22s ease, transform .22s ease;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.boot-line.show {
  opacity: 1;
  transform: none;
}
.b-prompt {
  color: var(--accent2);
  flex-shrink: 0;
}
.b-cmd {
  color: var(--fg);
  letter-spacing: .02em;
}
.b-ok {
  color: var(--accent);
  margin-left: auto;
  flex-shrink: 0;
  font-size: .68rem;
  letter-spacing: .06em;
}
.intro-bar-wrap {
  margin-top: 2rem;
  height: 2px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.intro-bar {
  height: 100%;
  background: var(--accent);
  width: 0%;
}
.intro-pct {
  font-size: .63rem;
  color: var(--muted);
  margin-top: .45rem;
  text-align: right;
  letter-spacing: .1em;
}
.intro-ready {
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1rem;
  opacity: 0;
  transition: opacity .4s;
}
.intro-ready.show {
  opacity: 1;
}

/* ── CUSTOM CURSOR (HUD PRECISION CROSSHAIR) ── */
#c1 {
  position: fixed;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%) rotate(0deg);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              width 0.25s, 
              height 0.25s;
}
#c1::before, #c1::after {
  content: '';
  position: absolute;
  background: var(--accent);
  transition: background-color 0.25s, transform 0.25s;
}
/* Horizontal line of crosshair */
#c1::before {
  top: 50%;
  left: 0;
  width: 100%;
  height: 1.5px;
  transform: translateY(-50%);
}
/* Vertical line of crosshair */
#c1::after {
  left: 50%;
  top: 0;
  width: 1.5px;
  height: 100%;
  transform: translateX(-50%);
}

#c2 {
  display: none; /* Disable trailing circular movement entirely */
}

/* Hover States */
body:has(a:hover) #c1, 
body:has(button:hover) #c1, 
body:has(.project-item:hover) #c1, 
body:has(.service-item:hover) #c1, 
body:has(.contact-link:hover) #c1, 
body:has(.hero-terminal:hover) #c1,
body.cursor-hover #c1 {
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%) rotate(45deg); /* Rotates to an 'x' target lock */
}

body:has(a:hover) #c1::before, body:has(a:hover) #c1::after,
body:has(button:hover) #c1::before, body:has(button:hover) #c1::after,
body:has(.project-item:hover) #c1::before, body:has(.project-item:hover) #c1::after,
body:has(.service-item:hover) #c1::before, body:has(.service-item:hover) #c1::after,
body:has(.contact-link:hover) #c1::before, body:has(.contact-link:hover) #c1::after,
body:has(.hero-terminal:hover) #c1::before, body:has(.hero-terminal:hover) #c1::after,
body.cursor-hover #c1::before, body.cursor-hover #c1::after {
  background: var(--accent2); /* Color shifts to Deep Peacock Teal */
}

/* Click States */
body.cursor-click #c1 {
  transform: translate(-50%, -50%) rotate(180deg) scale(0.7);
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 500;
  padding: 1.4rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  mix-blend-mode: difference;
}
.n-logo {
  font-family: var(--fd);
  font-weight: 900;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: -.03em;
}
.n-logo span {
  color: var(--accent);
}
.n-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}
.n-links a {
  font-size: .75rem;
  color: #fff;
  text-decoration: none;
  font-family: var(--fm);
  letter-spacing: .1em;
  opacity: .5;
  transition: opacity .2s;
  text-transform: uppercase;
}
.n-links a:hover, .n-links a.active {
  opacity: 1;
}
.n-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1 }
  50% { opacity: .3 }
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  mix-blend-mode: difference;
  cursor: none;
}
.hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: #fff;
  transition: .3s;
}

/* ── HERO ── */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 3rem 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(18, 18, 20, .05);
}
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(100px, 15vw, 240px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(19, 31, 26, 0.05);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  letter-spacing: -.05em;
  z-index: 0;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.85;
}
.hero-content-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
  margin-bottom: 2rem;
  gap: 4rem;
}
.hero-content-left {
  flex: 1;
  opacity: 0;
  transform: translateY(16px);
}
.hero-content-right {
  flex: 0 0 420px;
  opacity: 0;
  transform: translateY(16px);
}
.hero-bottom {
  opacity: 0;
  transform: translateY(16px);
}

body.hero-ready .hero-content-left {
  animation: hIn .65s ease .1s forwards;
}
body.hero-ready .hero-content-right {
  animation: hIn .75s ease .2s forwards;
}
body.hero-ready .hero-bottom {
  animation: hIn .65s ease .3s forwards;
}
@keyframes hIn {
  to { opacity: 1; transform: none; }
}

/* ── HERO TERMINAL ── */
.hero-terminal {
  width: 100%;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  font-family: var(--fm);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(19, 31, 26, 0.03), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.hero-terminal:hover {
  border-color: rgba(255, 92, 57, 0.3);
  box-shadow: 0 20px 45px rgba(255, 92, 57, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.6);
}
.terminal-bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .8rem 1.2rem;
  border-bottom: 1px solid rgba(19, 31, 26, 0.06);
  background: rgba(19, 31, 26, 0.02);
}
.t-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.t-dot:nth-child(1) { background: #ff5f57; }
.t-dot:nth-child(2) { background: #febc2e; }
.t-dot:nth-child(3) { background: #28c840; }
.terminal-title {
  margin-left: .5rem;
  font-size: .65rem;
  color: rgba(18, 18, 20, 0.4);
  letter-spacing: 0.05em;
}
.terminal-body {
  padding: 1.5rem;
  text-align: left;
}
.t-line {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: .55rem;
  font-size: .75rem;
}
.t-prompt {
  color: var(--accent2);
}
.t-cmd {
  color: var(--fg);
}
.t-output {
  color: rgba(19, 31, 26, 0.7);
  padding-left: 1rem;
  margin-bottom: .85rem;
  font-size: .7rem;
  line-height: 1.6;
}
.t-tag {
  display: inline-block;
  background: rgba(255, 92, 57, 0.04);
  border: 1px solid rgba(255, 92, 57, 0.12);
  color: var(--accent);
  padding: 0.1rem 0.5rem;
  margin: 0.1rem 0.1rem;
  font-size: .65rem;
  border-radius: 4px;
}
.t-available {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: #28c840;
  font-size: .7rem;
}
.t-available::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 6px #28c840;
  animation: pd 2s ease infinite;
}
@keyframes pd {
  0%, 100% { opacity: 1 }
  50% { opacity: .3 }
}
.hero-tag {
  font-family: var(--fm);
  font-size: .68rem;
  color: var(--accent);
  letter-spacing: .15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-tag::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--accent);
}
.hero-name {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 7.5rem);
  line-height: .95;
  letter-spacing: -.04em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}
.hero-name span {
  font-family: var(--fs);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  text-transform: none;
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, .06);
  padding-top: 1.5rem;
  flex-wrap: wrap;
  gap: 2rem;
}
.hero-desc {
  font-size: .95rem;
  color: rgba(19, 31, 26, 0.7);
  max-width: 440px;
  line-height: 1.7;
  font-weight: 400;
}
.hero-btns {
  display: flex;
  gap: 1rem;
}
.btn-a {
  background: var(--accent);
  color: #000;
  font-family: var(--fd);
  font-weight: 700;
  font-size: .85rem;
  padding: .75rem 1.8rem;
  border-radius: 100px;
  border: none;
  cursor: none;
  transition: transform .2s, box-shadow .2s;
  letter-spacing: -.01em;
  text-decoration: none;
  display: inline-block;
}
.btn-a:hover {
  transform: scale(1.04);
  box-shadow: 0 0 40px rgba(255, 92, 57, .3);
}
.btn-b {
  background: transparent;
  color: rgba(18, 18, 20, .6);
  font-family: var(--fd);
  font-weight: 500;
  font-size: .85rem;
  padding: .75rem 1.8rem;
  border-radius: 100px;
  border: 1px solid rgba(18, 18, 20, .12);
  cursor: none;
  transition: all .2s;
  text-decoration: none;
  display: inline-block;
}
.btn-b:hover {
  border-color: rgba(18, 18, 20, .4);
  color: var(--fg);
}
.scroll-hint {
  position: absolute;
  right: 3rem;
  bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--fm);
  font-size: .6rem;
  color: rgba(19, 31, 26, .5);
  letter-spacing: .1em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(19, 31, 26, .25), transparent);
  animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top }
  50% { transform: scaleY(1); transform-origin: top }
  51% { transform: scaleY(1); transform-origin: bottom }
  100% { transform: scaleY(0); transform-origin: bottom }
}

/* ── MARQUEE ── */
.marquee {
  padding: .9rem 0;
  border-top: 1px solid rgba(18, 18, 20, .05);
  border-bottom: 1px solid rgba(18, 18, 20, .05);
  overflow: hidden;
  background: rgba(255, 92, 57, .02);
}
.m-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: mq 25s linear infinite;
}
.m-track:hover {
  animation-play-state: paused;
}
@keyframes mq {
  from { transform: translateX(0) }
  to { transform: translateX(-50%) }
}
.m-item {
  font-family: var(--fm);
  font-size: .7rem;
  color: rgba(19, 31, 26, .5);
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.m-item::after {
  content: '✦';
  color: var(--accent);
  font-size: .5rem;
}

/* ── WORKS ── */
.works {
  padding: 6rem 3rem;
  position: relative;
  border-bottom: 1px solid rgba(18, 18, 20, .05);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 4rem;
}
.s-num {
  font-family: var(--fm);
  font-size: .65rem;
  color: rgba(18, 18, 20, .4);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.s-title {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(2.5rem, 4vw, 4rem);
  letter-spacing: -.04em;
  line-height: 1;
}
.s-title em {
  font-family: var(--fs);
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  text-transform: none;
}
.s-link {
  font-family: var(--fm);
  font-size: .7rem;
  color: rgba(18, 18, 20, .4);
  text-decoration: none;
  letter-spacing: .08em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.s-link:hover {
  color: var(--accent);
}
.s-link::after {
  content: '→';
  transition: transform .2s;
}
.s-link:hover::after {
  transform: translateX(4px);
}

/* PROJECT LIST */
.project-list {
  border-top: 1px solid rgba(18, 18, 20, .08);
}
.project-item {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
  border-bottom: 1px solid rgba(18, 18, 20, .08);
  cursor: none;
  position: relative;
  overflow: hidden;
  transition: padding-left .3s ease;
}
.project-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  background: var(--accent);
  opacity: .05;
  transition: width .4s ease;
}
.project-item:hover::before {
  width: 100%;
}
.project-item:hover {
  padding-left: .75rem;
}
.p-num {
  font-family: var(--fm);
  font-size: .65rem;
  color: rgba(18, 18, 20, .4);
  letter-spacing: .1em;
}
.p-info {}
.p-name {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -.02em;
  margin-bottom: .3rem;
  transition: color .2s;
}
.project-item:hover .p-name {
  color: var(--accent);
}
.p-desc {
  font-size: .8rem;
  color: var(--muted);
  font-weight: 400;
}
.p-tags {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.p-tag {
  font-family: var(--fm);
  font-size: .6rem;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(18, 18, 20, .08);
  color: rgba(18, 18, 20, .6);
  background: rgba(18, 18, 20, .03);
  letter-spacing: .05em;
}
.p-year {
  font-family: var(--fm);
  font-size: .68rem;
  color: rgba(18, 18, 20, .4);
  letter-spacing: .05em;
  white-space: nowrap;
}

/* PROJECT HOVER IMAGE */
.proj-hover-img {
  position: fixed;
  pointer-events: none;
  z-index: 400;
  border-radius: 12px;
  overflow: hidden;
  opacity: 0;
  transform: scale(.9) rotate(-2deg);
  transition: opacity .3s, transform .3s;
  width: 220px;
  height: 150px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  box-shadow: 0 15px 35px rgba(19, 31, 26, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ── ABOUT ── */
.about {
  padding: 6rem 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
  background: rgba(19, 31, 26, .01);
  border-bottom: 1px solid rgba(19, 31, 26, .05);
}
.about-left {}
.big-quote {
  font-family: var(--fs);
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.35;
  color: rgba(18, 18, 20, .85);
  margin: 2rem 0;
  font-weight: 400;
}
.big-quote strong {
  font-family: var(--fd);
  font-style: normal;
  font-weight: 900;
  background: var(--accent);
  color: #fff;
  padding: 0 8px;
  border-radius: 4px;
}
.about-body {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 400;
  margin-bottom: 1.5rem;
}
.about-right {}
.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(19, 31, 26, .06);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(19, 31, 26, 0.02);
}
.stat-cell {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.5rem;
  text-align: center;
}
.stat-big {
  font-family: var(--fd);
  font-weight: 900;
  font-size: 2.5rem;
  letter-spacing: -.04em;
  color: var(--accent);
  line-height: 1;
}
.stat-small {
  font-size: .72rem;
  color: rgba(18, 18, 20, .5);
  margin-top: .3rem;
  font-family: var(--fm);
  letter-spacing: .05em;
}
.service-list {
  list-style: none;
}
.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(18, 18, 20, .08);
  font-size: .85rem;
  color: rgba(18, 18, 20, .6);
  cursor: none;
  transition: color .2s;
}
.service-item:hover {
  color: var(--fg);
}
.service-item span:last-child {
  font-family: var(--fm);
  font-size: .65rem;
  color: rgba(18, 18, 20, .4);
}

/* ── SKILLS ORBIT ── */
.skills-section {
  padding: 6rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(18, 18, 20, .05);
}
.orbit-wrap {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 4rem auto;
}
.orbit-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-weight: 900;
  font-size: .9rem;
  color: #fff;
  letter-spacing: -.03em;
  z-index: 10;
  box-shadow: 0 0 60px rgba(255, 92, 57, 0.25);
}
.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px dashed rgba(19, 31, 26, 0.12);
  transform: translate(-50%, -50%);
}
.orbit-ring-1 {
  width: 220px;
  height: 220px;
  animation: spin 12s linear infinite;
}
.orbit-ring-2 {
  width: 340px;
  height: 340px;
  animation: spin 20s linear infinite reverse;
}
.orbit-ring-3 {
  width: 400px;
  height: 400px;
  animation: spin 28s linear infinite;
}
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg) }
  to { transform: translate(-50%, -50%) rotate(360deg) }
}
@keyframes spin-reverse {
  from { transform: translate(-50%, -50%) rotate(0deg) }
  to { transform: translate(-50%, -50%) rotate(-360deg) }
}
.orbit-skill-wrap {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 5;
}
.orbit-ring-1 .orbit-skill-wrap {
  animation: spin-reverse 12s linear infinite;
}
.orbit-ring-2 .orbit-skill-wrap {
  animation: spin 20s linear infinite;
}
.orbit-ring-3 .orbit-skill-wrap {
  animation: spin-reverse 28s linear infinite;
}
.orbit-skill {
  display: inline-block;
  font-family: var(--fm);
  font-size: .68rem;
  font-weight: 600;
  color: var(--fg);
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 100px;
  white-space: nowrap;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(19, 31, 26, 0.02);
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.orbit-skill:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 8px 20px rgba(255, 92, 57, 0.25);
  transform: scale(1.15);
}

/* ── EXPERIENCE ── */
.experience {
  padding: 6rem 3rem;
  border-bottom: 1px solid rgba(18, 18, 20, .05);
}
.git-timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
/* Continuous vertical axis pipeline line */
.git-timeline::before {
  content: '';
  position: absolute;
  left: 40px; /* centers on the 80px left spacer column */
  top: 15px;
  bottom: 15px;
  width: 4px;
  background: linear-gradient(to bottom, rgba(255, 92, 57, 0.2), rgba(194, 144, 79, 0.2), rgba(30, 78, 89, 0.2));
  border-radius: 2px;
  z-index: 1;
}

.git-timeline-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center; /* centers the node and card vertically */
  position: relative;
}

.git-graph-spacer {
  width: 80px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2; /* draws nodes on top of the vertical line */
}

/* Git Nodes */
.git-node {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  border: 3px solid rgba(19, 31, 26, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(19, 31, 26, 0.03);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.node-icon {
  font-size: 1.05rem;
  line-height: 1;
  filter: grayscale(0.2);
  transition: filter 0.3s, transform 0.3s;
}

/* Branch Specific Border Colors */
.git-node[data-branch="exp"] {
  border-color: var(--accent);
}
.git-node[data-branch="lead"] {
  border-color: #C2904F;
}
.git-node[data-branch="edu"] {
  border-color: var(--accent2);
}

/* Row Hover States */
.git-timeline-row:hover .git-node {
  transform: scale(1.18);
  background: rgba(255, 255, 255, 0.85);
}
.git-timeline-row:hover .git-node[data-branch="exp"] {
  box-shadow: 0 0 20px rgba(255, 92, 57, 0.25), 0 4px 15px rgba(255, 92, 57, 0.1);
}
.git-timeline-row:hover .git-node[data-branch="lead"] {
  box-shadow: 0 0 20px rgba(194, 144, 79, 0.25), 0 4px 15px rgba(194, 144, 79, 0.1);
}
.git-timeline-row:hover .git-node[data-branch="edu"] {
  box-shadow: 0 0 20px rgba(30, 78, 89, 0.25), 0 4px 15px rgba(30, 78, 89, 0.1);
}

.git-timeline-row:hover .node-icon {
  filter: grayscale(0);
  transform: scale(1.1) rotate(4deg);
}

/* Commit Cards */
.commit-card {
  position: relative;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(19, 31, 26, 0.02), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: visible; /* show connector line */
  display: flex;
  flex-direction: column;
}
.commit-card[data-branch="exp"] {
  border-left: 3px solid var(--accent);
}
.commit-card[data-branch="lead"] {
  border-left: 3px solid #C2904F;
}
.commit-card[data-branch="edu"] {
  border-left: 3px solid var(--accent2);
}

.commit-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.6);
}
.commit-card[data-branch="exp"]:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(255, 92, 57, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}
.commit-card[data-branch="lead"]:hover {
  border-color: #C2904F;
  box-shadow: 0 15px 35px rgba(194, 144, 79, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}
.commit-card[data-branch="edu"]:hover {
  border-color: var(--accent2);
  box-shadow: 0 15px 35px rgba(30, 78, 89, 0.08), inset 0 1px 1px rgba(255, 255, 255, 0.7);
}

/* Horizontal Connector Lines */
.commit-card::before {
  content: '';
  position: absolute;
  left: -22px;
  top: 50%;
  transform: translateY(-50%) scaleX(0.7);
  width: 22px;
  height: 3px;
  background: rgba(19, 31, 26, 0.08);
  transform-origin: right;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.commit-card[data-branch="exp"]::before {
  background: rgba(255, 92, 57, 0.15);
}
.commit-card[data-branch="lead"]::before {
  background: rgba(194, 144, 79, 0.15);
}
.commit-card[data-branch="edu"]::before {
  background: rgba(30, 78, 89, 0.15);
}

.git-timeline-row:hover .commit-card::before {
  transform: translateY(-50%) scaleX(1);
}
.git-timeline-row:hover .commit-card[data-branch="exp"]::before {
  background: var(--accent);
}
.git-timeline-row:hover .commit-card[data-branch="lead"]::before {
  background: #C2904F;
}
.git-timeline-row:hover .commit-card[data-branch="edu"]::before {
  background: var(--accent2);
}

/* Header style like git commit */
.commit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.5rem;
  background: rgba(19, 31, 26, 0.02);
  border-bottom: 1px solid rgba(19, 31, 26, 0.05);
  font-family: var(--fm);
  font-size: 0.7rem;
}
.commit-hash {
  color: var(--muted);
  font-weight: 500;
}
.commit-branch-tag {
  padding: 0.1rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
}
.commit-branch-tag.exp {
  background: rgba(255, 92, 57, 0.06);
  border: 1px solid rgba(255, 92, 57, 0.15);
  color: var(--accent);
}
.commit-branch-tag.lead {
  background: rgba(194, 144, 79, 0.06);
  border: 1px solid rgba(194, 144, 79, 0.15);
  color: #C2904F;
}
.commit-branch-tag.edu {
  background: rgba(30, 78, 89, 0.06);
  border: 1px solid rgba(30, 78, 89, 0.15);
  color: var(--accent2);
}

.commit-body {
  padding: 1.5rem;
}
.commit-meta {
  font-family: var(--fm);
  font-size: 0.68rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.commit-msg {
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
}
.commit-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 0.2rem;
}
.commit-details li {
  font-size: 0.8rem;
  color: rgba(19, 31, 26, 0.75);
  line-height: 1.6;
  position: relative;
  padding-left: 14px;
}
.commit-details li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--fm);
  font-weight: 700;
  font-size: 0.8rem;
}
.commit-card[data-branch="edu"] .commit-details li::before {
  color: var(--accent2);
}
.commit-card[data-branch="lead"] .commit-details li::before {
  color: #C2904F;
}

/* Responsive Overrides */
@media(max-width: 768px) {
  .git-timeline {
    gap: 1.5rem;
  }
  .git-timeline-row {
    grid-template-columns: 60px 1fr;
  }
  .git-timeline::before {
    left: 30px;
  }
  .git-graph-spacer {
    width: 60px;
  }
  .git-node {
    width: 32px;
    height: 32px;
    border-width: 2px;
  }
  .node-icon {
    font-size: 0.95rem;
  }
  .commit-card::before {
    left: -14px;
    width: 14px;
  }
}

/* ── CERTIFICATIONS ── */
.certifications {
  padding: 6rem 3rem;
  border-bottom: 1px solid rgba(18, 18, 20, .05);
}
.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.cert-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(19, 31, 26, 0.02), inset 0 1px 1px rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all .3s ease;
}
.cert-card:hover {
  border-color: rgba(255, 92, 57, 0.3);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 15px 35px rgba(255, 92, 57, 0.06), inset 0 1px 1px rgba(255, 255, 255, 0.7);
  transform: translateY(-4px);
}
.cert-icon {
  font-size: 2rem;
}
.cert-info h3 {
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: .2rem;
}
.cert-info p {
  font-size: .8rem;
  color: var(--muted);
}
.cert-badge {
  font-family: var(--fm);
  font-size: .6rem;
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255, 92, 57, .2);
  color: var(--accent);
  letter-spacing: .05em;
  text-transform: uppercase;
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  background: rgba(255, 92, 57, 0.04);
}

/* ── CONTACT ── */
.contact {
  padding: 6rem 3rem;
  border-bottom: 1px solid rgba(18, 18, 20, .05);
}
.contact-big {
  font-family: var(--fd);
  font-weight: 900;
  font-size: clamp(3rem, 7vw, 7rem);
  line-height: .95;
  letter-spacing: -.05em;
  margin: 2rem 0 3rem;
  text-transform: uppercase;
}
.contact-big em {
  font-family: var(--fs);
  font-style: italic;
  font-weight: 400;
  color: rgba(18, 18, 20, .25);
  text-transform: none;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 2rem;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.contact-link {
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(19, 31, 26, 0.5);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .75rem;
  transition: all .2s;
  letter-spacing: -.02em;
  cursor: none;
}
.contact-link:hover {
  color: var(--accent);
}
.contact-link::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0;
  transition: opacity .2s;
}
.contact-link:hover::before {
  opacity: 1;
}
.email-btn {
  background: var(--accent);
  color: #fff;
  font-family: var(--fd);
  font-weight: 800;
  font-size: 1.1rem;
  padding: 1.2rem 3rem;
  border-radius: 100px;
  border: none;
  cursor: none;
  letter-spacing: -.03em;
  transition: transform .2s, box-shadow .2s;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.email-btn:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 10px 40px rgba(255, 92, 57, 0.35);
}
.email-btn span {
  font-family: var(--fs);
  font-style: italic;
  font-weight: 400;
  font-size: 1.2rem;
}

/* ── FOOTER ── */
footer {
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.f-l {
  font-family: var(--fm);
  font-size: .65rem;
  color: rgba(19, 31, 26, 0.45);
  letter-spacing: .1em;
}
.f-r {
  font-family: var(--fm);
  font-size: .65rem;
  color: rgba(19, 31, 26, 0.45);
  letter-spacing: .1em;
}

/* ── FADE IN (fi) ── */
.fi {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.fi.v {
  opacity: 1;
  transform: translateY(0);
}
.fi-d1 { transition-delay: .1s }
.fi-d2 { transition-delay: .2s }
.fi-d3 { transition-delay: .3s }

/* ── RESPONSIVE MEDIA QUERIES ── */
@media(max-width: 1024px) {
  .hero-content-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .hero-content-right {
    flex: none;
    width: 100%;
    max-width: 500px;
  }
  .about {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width: 768px) {
  nav {
    padding: 1.2rem 1.5rem;
  }
  .n-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .n-links.open {
    display: flex !important;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(250, 249, 245, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 7rem 2rem 2rem;
    gap: 2rem;
    z-index: 499;
    align-items: center;
    justify-content: center;
  }
  .hero {
    height: auto;
    min-height: 100vh;
    justify-content: center;
    padding: 7rem 1.5rem 4rem;
  }
  .works {
    padding: 4rem 1.5rem;
  }
  .about {
    padding: 4rem 1.5rem;
  }
  .skills-section {
    padding: 4rem 1.5rem;
  }
  .experience {
    padding: 4rem 1.5rem;
  }
  .certifications {
    padding: 4rem 1.5rem;
  }
  .contact {
    padding: 4rem 1.5rem;
  }
  footer {
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .project-item {
    grid-template-columns: 40px 1fr auto;
    gap: 1rem;
  }
  .p-tags {
    display: none;
  }
  .scroll-hint {
    display: none;
  }
  .orbit-wrap {
    transform: scale(0.8);
    margin: 1rem auto;
  }
  .timeline::before {
    left: 20px;
    transform: none;
  }
  .timeline-item {
    justify-content: flex-start !important;
  }
  .timeline-dot {
    left: 20px;
    transform: translateX(-50%);
  }
  .timeline-card {
    width: calc(100% - 40px);
    margin-left: 40px !important;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
}
