/* ══════════════════════════════════════
   THEME VARIABLES
══════════════════════════════════════ */
:root {
  --gold: #c9a84c;
  --gold2: #e8c87a;
  --rust: #c45a2a;
  --sage: #5a7a6a;
  --slate: #2a2a35;
}
[data-theme="dark"] {
  --bg: #0f0d0a;
  --bg2: #141210;
  --bg3: #0e0c0a;
  --surface: rgba(245, 240, 232, 0.04);
  --surface2: rgba(245, 240, 232, 0.06);
  --border: rgba(245, 240, 232, 0.08);
  --border2: rgba(245, 240, 232, 0.12);
  --text: #f5f0e8;
  --text2: rgba(245, 240, 232, 0.65);
  --text3: rgba(245, 240, 232, 0.32);
  --muted: #7a7060;
  --skills-bg: #f5f0e8;
  --skills-text: #0f0d0a;
  --skills-item: rgba(15, 13, 10, 0.05);
  --skills-hover: #0f0d0a;
  --skills-htext: #e8c87a;
  --skills-border: rgba(15, 13, 10, 0.12);
  --num-ghost: rgba(245, 240, 232, 0.04);
  --toggle-bg: rgba(245, 240, 232, 0.08);
  --toggle-icon: #f5f0e8;
}
[data-theme="light"] {
  --bg: #f5f0e8;
  --bg2: #ede8df;
  --bg3: #e6e0d5;
  --surface: rgba(15, 13, 10, 0.04);
  --surface2: rgba(15, 13, 10, 0.06);
  --border: rgba(15, 13, 10, 0.1);
  --border2: rgba(15, 13, 10, 0.14);
  --text: #0f0d0a;
  --text2: rgba(15, 13, 10, 0.65);
  --text3: rgba(15, 13, 10, 0.35);
  --muted: #6b6050;
  --skills-bg: #0f0d0a;
  --skills-text: #f5f0e8;
  --skills-item: rgba(245, 240, 232, 0.07);
  --skills-hover: #f5f0e8;
  --skills-htext: #0f0d0a;
  --skills-border: rgba(245, 240, 232, 0.15);
  --num-ghost: rgba(15, 13, 10, 0.04);
  --toggle-bg: rgba(15, 13, 10, 0.07);
  --toggle-icon: #0f0d0a;
}

/* ══════════════════════════════════════
   RESET & BASE
══════════════════════════════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

.slide,
.site-footer {
  scroll-snap-align: start;
}
body {
  font-family: "Syne", sans-serif;
  background: var(--bg);
  color: var(--text);
  cursor: none;
  transition:
    background 0.4s,
    color 0.4s;
}

/* ══════════════════════════════════════
   THEME TOGGLE
══════════════════════════════════════ */
.theme-toggle {
  position: fixed;
  top: 2rem;
  right: 2.5rem;
  z-index: 200;
  width: 42px;
  height: 42px;
  background: var(--toggle-bg);
  border: 1px solid var(--border2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    background 0.3s,
    border-color 0.3s,
    transform 0.2s;
  backdrop-filter: blur(8px);
}
.theme-toggle:hover {
  background: rgba(201, 168, 76, 0.15);
  border-color: rgba(201, 168, 76, 0.4);
  transform: scale(1.08);
}
.theme-toggle svg {
  width: 18px;
  height: 18px;
  stroke: var(--toggle-icon);
  fill: none;
  stroke-width: 1.5;
  transition: opacity 0.3s;
}
.icon-sun {
  display: none;
}
.icon-moon {
  display: block;
}
[data-theme="light"] .icon-sun {
  display: block;
}
[data-theme="light"] .icon-moon {
  display: none;
}

/* ── CURSOR ── */
.cursor {
  position: fixed;
  width: 12px;
  height: 12px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    transform 0.1s,
    width 0.25s,
    height 0.25s;
  mix-blend-mode: difference;
}
.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition:
    transform 0.18s ease-out,
    width 0.3s,
    height 0.3s;
}
body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 6px;
  height: 6px;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 52px;
  height: 52px;
}

/* ── NAV DOTS ── */
.nav-dots {
  position: fixed;
  right: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border2);
  border: none;
  cursor: none;
  transition:
    background 0.3s,
    transform 0.3s;
  padding: 0;
}
.nav-dot.active {
  background: var(--gold);
  transform: scale(1.5);
}
.nav-dot:hover {
  background: var(--gold2);
}

/* ── SLIDE BASE ── */
.slide {
  height: 100vh;
  scroll-snap-align: start;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── SLIDE COUNTER ── */
.slide-counter {
  position: fixed;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--text3);
  z-index: 100;
  transition: color 0.4s;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#slide-hero {
  background: var(--bg);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 80% 60% at 70% 50%,
      rgba(201, 168, 76, 0.12) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 40% at 10% 80%,
      rgba(196, 90, 42, 0.08) 0%,
      transparent 50%
    );
  transition: opacity 0.4s;
}
[data-theme="light"] .hero-bg {
  background:
    radial-gradient(
      ellipse 80% 60% at 70% 50%,
      rgba(201, 168, 76, 0.2) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse 40% 40% at 10% 80%,
      rgba(196, 90, 42, 0.12) 0%,
      transparent 50%
    );
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}
.hero-lines {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 79px,
    rgba(128, 120, 100, 0.04) 79px,
    rgba(128, 120, 100, 0.04) 80px
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1240px;
  padding: 0 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-left .eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.2s forwards;
}
.hero-left h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(5rem, 9vw, 9rem);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.02em;
  color: var(--text);
  opacity: 0;
  animation: fadeUp 0.9s 0.35s forwards;
}
.hero-left h1 em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}
.hero-left .role {
  margin-top: 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0;
  animation: fadeUp 0.8s 0.5s forwards;
}
.hero-right {
  opacity: 0;
  animation: fadeIn 1s 0.7s forwards;
}
.hero-tagline {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 3rem;
  border-left: 1px solid var(--gold);
  padding-left: 2rem;
}
.hero-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.hero-contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "DM Mono", monospace;
  font-size: 0.8rem;
  color: var(--text3);
}
.hero-contact-item a {
  color: var(--text3);
  text-decoration: none;
  transition: color 0.2s;
}
.hero-contact-item a:hover {
  color: var(--gold);
}
.contact-dot {
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
}
.scroll-label {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--text3);
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

/* ══════════════════════════════════════
   ABOUT
══════════════════════════════════════ */
#slide-about {
  background: var(--bg2);
}
.about-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 80% at 100% 50%,
    rgba(90, 122, 106, 0.1) 0%,
    transparent 60%
  );
}
.about-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  padding: 0 6rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8rem;
  align-items: center;
}
.about-label-vert {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.about-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 9rem;
  font-weight: 300;
  color: var(--num-ghost);
  line-height: 1;
  margin-bottom: -2rem;
  user-select: none;
}
.about-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 2.5rem;
}
.about-title em {
  font-style: italic;
  color: var(--gold);
}
.about-body {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text2);
  max-width: 600px;
  margin-bottom: 3rem;
}
.about-body strong {
  color: var(--text);
  font-weight: 600;
}
.about-stats {
  display: flex;
  gap: 4rem;
}
.stat-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}

/* ══════════════════════════════════════
   SKILLS
══════════════════════════════════════ */
#slide-skills {
  background: var(--skills-bg);
  color: var(--skills-text);
  transition:
    background 0.4s,
    color 0.4s;
}
.skills-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 20% 50%,
    rgba(201, 168, 76, 0.1) 0%,
    transparent 60%
  );
}
.skills-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  padding: 0 6rem;
}
.slide-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.slide-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.8rem, 4vw, 5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--skills-text);
  margin-bottom: 4rem;
  transition: color 0.4s;
}
.slide-heading em {
  font-style: italic;
  color: var(--rust);
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.skill-col-title {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--skills-border);
  transition: border-color 0.4s;
}
.skill-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.skill-item {
  font-family: "Syne", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--skills-text);
  padding: 0.7rem 1.2rem;
  background: var(--skills-item);
  border-radius: 6px;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
  cursor: default;
}
.skill-item:hover {
  background: var(--skills-hover);
  color: var(--skills-htext);
  border-color: var(--skills-hover);
}
[data-theme="dark"] .skill-item.highlight {
  background: #0f0d0a;
  color: #e8c87a;
}
[data-theme="light"] .skill-item.highlight {
  background: rgba(201, 168, 76, 0.15);
  color: var(--rust);
  border-color: rgba(201, 168, 76, 0.3);
}

/* ══════════════════════════════════════
   EXPERIENCE
══════════════════════════════════════ */
#slide-experience {
  background: var(--bg3);
}
.exp-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 100%,
    rgba(196, 90, 42, 0.08) 0%,
    transparent 60%
  );
}
.exp-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  padding: 0 6rem;
}
.exp-content .slide-eyebrow {
  color: var(--rust);
}
.exp-content .slide-heading {
  color: var(--text);
}
.exp-content .slide-heading em {
  color: var(--rust);
}
.exp-cards {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.3rem;
}
.exp-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.3s,
    background 0.4s;
}
.exp-card:hover {
  border-color: rgba(196, 90, 42, 0.35);
}
.exp-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--rust), transparent);
}
.exp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(196, 90, 42, 0.12);
  border: 1px solid rgba(196, 90, 42, 0.25);
  color: var(--rust);
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1.2rem;
  text-transform: uppercase;
}
.exp-badge.current {
  background: rgba(90, 122, 106, 0.15);
  border-color: rgba(90, 122, 106, 0.35);
  color: var(--sage);
}
.exp-co {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}
.exp-pos {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.exp-points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.exp-points li {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text2);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.5;
}
.exp-points li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--rust);
  font-size: 0.9rem;
}

/* ══════════════════════════════════════
   LIVE WORKS
══════════════════════════════════════ */
#slide-works {
  background: var(--bg2);
}
.works-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 60% at 80% 20%,
    rgba(201, 168, 76, 0.08) 0%,
    transparent 55%
  );
}
.works-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  padding: 0 6rem;
}
.works-content .slide-heading {
  color: var(--text);
  margin-bottom: 3rem;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.8rem 1.5rem;
  text-decoration: none;
  display: block;
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
  position: relative;
  overflow: hidden;
}
.work-card::after {
  content: "↗";
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 0.85rem;
  color: var(--gold);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.work-card:hover {
  background: rgba(201, 168, 76, 0.07);
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateY(-3px);
}
.work-card:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}
.work-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.work-url {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  color: var(--gold);
  opacity: 0.7;
}

/* ══════════════════════════════════════
   LANDING PAGES
══════════════════════════════════════ */
#slide-landing {
  background: var(--bg3);
  overflow: hidden;
}
.landing-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 50% 60% at 20% 50%,
    rgba(90, 122, 106, 0.08) 0%,
    transparent 55%
  );
}
.landing-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  padding: 0 6rem;
}
.landing-content .slide-eyebrow {
  color: var(--sage);
}
.landing-content .slide-heading {
  color: var(--text);
  margin-bottom: 1rem;
}
.landing-content .slide-heading em {
  color: var(--sage);
}
.landing-sub {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.landing-marquee-wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}
.marquee-row {
  display: flex;
  gap: 1rem;
  animation: marqueeLeft 30s linear infinite;
}
.marquee-row.reverse {
  animation: marqueeRight 35s linear infinite;
}
.marquee-chip {
  flex-shrink: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.7rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 200px;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.marquee-chip:hover {
  background: rgba(90, 122, 106, 0.1);
  border-color: rgba(90, 122, 106, 0.3);
}
.chip-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text);
}
.chip-url {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  color: var(--sage);
  opacity: 0.8;
}

/* ══════════════════════════════════════
   PERSONAL PROJECTS
══════════════════════════════════════ */
#slide-personal {
  background: var(--skills-bg);
  color: var(--skills-text);
  transition:
    background 0.4s,
    color 0.4s;
}
.personal-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 60% 80% at 80% 30%,
    rgba(196, 90, 42, 0.08) 0%,
    transparent 60%
  );
}
.personal-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  padding: 0 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}
.personal-left .slide-heading {
  color: var(--skills-text);
  margin-bottom: 1.5rem;
}
.personal-desc {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.codepen-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: #0f0d0a;
  color: #e8c87a;
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.9rem 1.8rem;
  border-radius: 8px;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.codepen-btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}
.personal-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.proj-card {
  background: var(--skills-item);
  border: 1px solid var(--skills-border);
  border-radius: 14px;
  padding: 2.5rem;
  text-decoration: none;
  display: block;
  color: var(--skills-text);
  transition:
    background 0.25s,
    border-color 0.25s,
    transform 0.25s;
  position: relative;
  overflow: hidden;
}
.proj-card:hover {
  background: #0f0d0a;
  color: #f5f0e8;
  border-color: #0f0d0a;
  transform: translateX(6px);
}
.proj-card-num {
  font-family: "Cormorant Garamond", serif;
  font-size: 4rem;
  font-weight: 300;
  color: rgb(43 43 43 / 5%);
  line-height: 1;
  margin-bottom: -0.8rem;
  transition: color 0.25s;
}
.proj-card:hover .proj-card-num {
  color: rgba(245, 240, 232, 0.06);
}
.proj-card-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.proj-card-desc {
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 0.4rem;
  transition: color 0.25s;
}
.proj-card:hover .proj-card-desc {
  color: rgba(245, 240, 232, 0.5);
}
.proj-card-url {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  color: var(--rust);
  transition: color 0.25s;
}
.proj-card:hover .proj-card-url {
  color: #e8c87a;
}
.proj-arrow {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.8rem;
  color: var(--rust);
  opacity: 0;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.proj-card:hover .proj-arrow {
  opacity: 1;
  transform: translateY(-50%) translateX(4px);
}

/* ══════════════════════════════════════
   EDUCATION
══════════════════════════════════════ */
#slide-education {
  background: var(--bg2);
}
.edu-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 70% 50% at 50% 0%,
    rgba(201, 168, 76, 0.07) 0%,
    transparent 55%
  );
}
.edu-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  padding: 0 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}
.edu-left .slide-eyebrow {
  color: var(--gold);
}
.edu-left .slide-heading {
  color: var(--text);
  margin-bottom: 0;
}
.edu-left .slide-heading em {
  color: var(--gold);
}
.edu-left-body {
  margin-top: 2rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.7;
}
.edu-right {
  display: flex;
  flex-direction: column;
}
.edu-entry {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: start;
}
.edu-year-badge {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  color: var(--gold);
  background: rgba(201, 168, 76, 0.1);
  border: 1px solid rgba(201, 168, 76, 0.2);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  white-space: nowrap;
  margin-top: 0.3rem;
}
.edu-degree-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.edu-school-name {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.edu-result {
  font-size: 0.7rem;
  color: var(--gold);
  font-family: "DM Mono", monospace;
  margin-top: 0.3rem;
  letter-spacing: 0.1em;
}

/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
#slide-contact {
  background: var(--bg);
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse 60% 80% at 100% 0%,
      rgba(201, 168, 76, 0.1) 0%,
      transparent 55%
    ),
    radial-gradient(
      ellipse 40% 40% at 0% 100%,
      rgba(196, 90, 42, 0.06) 0%,
      transparent 50%
    );
}
.contact-content {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  padding: 0 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.contact-left .eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.contact-cta {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 3vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text);
  margin-bottom: 3rem;
}
.contact-cta em {
  font-style: italic;
  color: var(--gold);
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.contact-link-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
}
.contact-link-row:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.25);
  transform: translateX(6px);
}
.clr-icon {
  width: 34px;
  height: 34px;
  background: rgba(201, 168, 76, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.clr-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold);
}
.clr-label {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.1rem;
}
.clr-value {
  font-family: "DM Mono", monospace;
  font-size: 0.78rem;
  color: var(--text);
}

/* ══════════════════════════════════════
   ENQUIRE FORM
══════════════════════════════════════ */
.enquire-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border2);
  border-radius: 18px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition:
    background 0.4s,
    border-color 0.4s;
}
.enquire-form-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, var(--gold), transparent);
}
.enquire-form-header {
  margin-bottom: 1.8rem;
}
.enquire-label {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.enquire-sub {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text3);
  line-height: 1.5;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.form-row .form-group {
  margin-bottom: 0;
}
.form-label {
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.form-input {
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: "Syne", sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  outline: none;
  width: 100%;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.form-input::placeholder {
  color: var(--text3);
}
.form-input:focus {
  border-color: rgba(201, 168, 76, 0.5);
  background: var(--surface);
}
.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}
.form-input.error {
  border-color: rgba(196, 90, 42, 0.6);
  background: rgba(196, 90, 42, 0.05);
}
.form-submit {
  width: 100%;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: #0f0d0a;
  border: none;
  border-radius: 8px;
  font-family: "Syne", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s,
    opacity 0.2s;
}
.form-submit:hover {
  background: var(--gold2);
  transform: translateY(-2px);
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}
.submit-arrow {
  transition: transform 0.2s;
}
.form-submit:hover .submit-arrow {
  transform: translateX(4px);
}
.enquire-success {
  display: none;
  text-align: center;
  padding: 2rem 0;
}
.success-icon {
  width: 54px;
  height: 54px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold);
  margin: 0 auto 1.2rem;
}
.success-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.6rem;
}
.success-body {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--muted);
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 3.5rem 0 2rem;
  transition:
    background 0.4s,
    border-color 0.4s;
}
.site-footer {
  scroll-snap-align: start;
}
.slide {
  min-height: 100vh;
}
.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 6rem;
}
.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
}
.footer-name em {
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
}
.footer-tagline {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-nav {
  display: flex;
  gap: 0.5rem 2rem;
  flex-wrap: wrap;
}
.footer-nav-link {
  background: none;
  border: none;
  font-family: "Syne", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text3);
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}
.footer-nav-link:hover {
  color: var(--gold);
}
.footer-socials {
  display: flex;
  gap: 1rem;
}
.footer-social-link {
  width: 38px;
  height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
  text-decoration: none;
}
.footer-social-link svg {
  width: 15px;
  height: 15px;
  stroke: var(--text3);
  fill: none;
  stroke-width: 1.5;
  transition: stroke 0.2s;
}
.footer-social-link:hover {
  background: rgba(201, 168, 76, 0.1);
  border-color: rgba(201, 168, 76, 0.3);
}
.footer-social-link:hover svg {
  stroke: var(--gold);
}
.footer-divider {
  height: 1px;
  background: var(--border);
  margin-bottom: 1.8rem;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-copy,
.footer-built {
  font-family: "DM Mono", monospace;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--text3);
}

/* ══════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.3;
    transform: scaleY(1);
  }
  50% {
    opacity: 1;
    transform: scaleY(1.3);
  }
}
@keyframes marqueeLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@keyframes marqueeRight {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}
.reveal-delay-4 {
  transition-delay: 0.4s;
}
.reveal-delay-5 {
  transition-delay: 0.5s;
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (≤900px)
══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-content,
  .personal-content,
  .edu-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 2.5rem;
  }
  .about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 2.5rem;
  }
  .about-label-vert {
    writing-mode: horizontal-tb;
    transform: none;
  }
  .skills-content,
  .exp-content,
  .works-content,
  .landing-content {
    padding: 0 2.5rem;
  }
  .skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .exp-cards {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .works-grid {
    grid-template-columns: 1fr 1fr;
  }
  .nav-dots {
    right: 1rem;
  }
  .footer-inner {
    padding: 0 2.5rem;
  }
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  .theme-toggle {
    right: 1.5rem;
  }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (≤600px)
══════════════════════════════════════ */
@media (max-width: 600px) {
  .cursor,
  .cursor-ring {
    display: none;
  }
  body {
    cursor: auto;
  }
  html {
    scroll-snap-type: y proximity;
  }
  .slide {
    height: auto;
    min-height: 100svh;
    padding: 5rem 0 4rem;
    align-items: flex-start;
  }
  .nav-dots {
    right: 0.6rem;
    gap: 0.7rem;
  }
  .nav-dot {
    width: 5px;
    height: 5px;
  }
  .slide-counter {
    bottom: 1rem;
    font-size: 0.65rem;
  }
  .theme-toggle {
    top: 1.2rem;
    right: 1.2rem;
    width: 36px;
    height: 36px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1.5rem;
  }
  .hero-left .eyebrow {
    font-size: 0.7rem;
    margin-bottom: 1.2rem;
  }
  .hero-left h1 {
    font-size: clamp(3.8rem, 16vw, 6rem);
    line-height: 0.9;
  }
  .hero-left .role {
    font-size: 0.8rem;
    margin-top: 1.5rem;
  }
  .hero-tagline {
    font-size: 1.15rem;
    padding-left: 1.2rem;
    margin-bottom: 2rem;
  }
  .hero-contacts {
    gap: 0.8rem;
  }
  .hero-contact-item {
    font-size: 0.72rem;
  }
  .hero-scroll-hint {
    bottom: 1.5rem;
  }
  .about-content {
    padding: 0 1.5rem;
    gap: 1.5rem;
  }
  .about-label-vert {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.65rem;
  }
  .about-num {
    font-size: 5rem;
    margin-bottom: -1rem;
  }
  .about-title {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }
  .about-body {
    font-size: 1.15rem;
    line-height: 1.7;
  }
  .about-stats {
    gap: 2rem;
    flex-wrap: wrap;
  }
  .stat-num {
    font-size: 2.5rem;
  }
  .skills-content {
    padding: 0 1.5rem;
  }
  .slide-heading {
    font-size: clamp(2rem, 9vw, 3rem);
    margin-bottom: 2.5rem;
  }
  .skills-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .skill-col-title {
    font-size: 0.62rem;
    margin-bottom: 1rem;
  }
  .skill-item {
    font-size: 0.82rem;
    padding: 0.55rem 0.9rem;
  }
  .exp-content {
    padding: 0 1.5rem;
  }
  .exp-cards {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .exp-card {
    padding: 2rem 1.5rem;
  }
  .exp-co {
    font-size: 1.7rem;
  }
  .exp-points li {
    font-size: 1rem;
  }
  .works-content {
    padding: 0 1.5rem;
  }
  .works-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
  }
  .work-card {
    padding: 1.2rem 1rem;
  }
  .work-name {
    font-size: 0.78rem;
  }
  .work-url {
    font-size: 0.6rem;
  }
  .landing-content {
    padding: 0 1.5rem;
  }
  .landing-sub {
    font-size: 0.95rem;
  }
  .marquee-chip {
    min-width: 160px;
    padding: 0.55rem 1rem;
  }
  .personal-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }
  .personal-desc {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  .proj-card {
    padding: 1.8rem 1.4rem;
  }
  .proj-card-num {
    font-size: 3rem;
  }
  .proj-card-name {
    font-size: 1rem;
  }
  .edu-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1.5rem;
  }
  .edu-degree-name {
    font-size: 1.2rem;
  }
  .edu-entry {
    padding: 1.8rem 0;
    gap: 1rem;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1.5rem;
    align-items: start;
  }
  .contact-cta {
    font-size: clamp(2rem, 8vw, 3rem);
    margin-bottom: 2rem;
  }
  .contact-link-row {
    padding: 1rem 1.2rem;
    gap: 1rem;
  }
  .clr-value {
    font-size: 0.72rem;
    word-break: break-all;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .site-footer {
    padding: 2.5rem 0 1.5rem;
  }
  .footer-inner {
    padding: 0 1.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .footer-name {
    font-size: 1.6rem;
  }
}
