:root {
  --bg: #0C0A09;
  --bg2: #131009;
  --surface: #1A1612;
  --surface2: #221E18;
  --orange: #FF5C1A;
  --gold: #D4A84B;
  --text: #F5F0E8;
  --muted: #7A6E62;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
  line-height: 1.65;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--orange);
  border-radius: 2px;
}

a {
  text-decoration: none;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-25%);
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce-slow {

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

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

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--orange);
  z-index: 1000;
  width: 0;
  transition: width 0.1s ease-out;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

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

#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 3.5rem;
  transition: all 0.4s ease;
}

#nav.scrolled {
  background: rgba(12, 10, 9, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.nav-logo {
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.nav-logo .bold {
  font-family: var(--font-body);
  font-weight: 700;
}

.nav-logo .italic {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--orange);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--orange);
  transition: width 0.3s;
}

.nav-link:hover {
  color: var(--text);
}

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

.nav-cta {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.625rem 1.5rem;
  border: 1px solid var(--orange);
  color: var(--orange);
  border-radius: 9999px;
  transition: background 0.3s, color 0.3s;
}

.nav-cta:hover {
  background: var(--orange);
  color: #fff;
}

.btn-fill {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 2.25rem;
  background: var(--orange);
  color: #fff;
  border-radius: 9999px;
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
}

.btn-fill:hover {
  opacity: 0.85;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px -10px rgba(255, 92, 26, 0.5);
}

.btn-fill:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 2.25rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(245, 240, 232, 0.4);
  border-radius: 9999px;
  transition: border-color 0.3s, color 0.3s, transform 0.3s;
}

.btn-ghost:hover {
  border-color: var(--text);
  color: var(--text);
  transform: translateY(-4px);
}

.btn-ghost:active {
  transform: translateY(0);
}

#home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 7rem 3.5rem 5rem;
  overflow: hidden;
}

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

.orb-1 {
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: rgba(255, 92, 26, 0.1);
  filter: blur(100px);
}

.orb-2 {
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: rgba(212, 168, 75, 0.05);
  filter: blur(100px);
}

.orb-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: rgba(255, 92, 26, 0.05);
  filter: blur(100px);
}

/* Dot grid */
.dot-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(245, 240, 232, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

/* Hero text */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.1s;
}

.hero-badge .line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--orange);
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 8vw, 9.5rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 0.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.25s;
}

.hero-name .accent {
  font-style: italic;
  color: var(--orange);
}

.hero-role {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 240, 232, 0.4);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-desc {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--muted);
  max-width: 500px;
  margin-bottom: 2.75rem;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.55s;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.7s;
}

.hero-socials-top {
  margin-top: 4rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.9s;
}

.social-label-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-label-text {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  white-space: nowrap;
}

.social-label-line {
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.social-icons-group {
  display: flex;
  gap: 0.75rem;
}

.social-icon-top {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  color: var(--muted);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}

.social-icon-top::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--orange), var(--gold));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.social-icon-top svg {
  width: 18px;
  height: 18px;
  position: relative;
  z-index: 1;
  transition: all 0.4s ease;
}

.social-icon-top:hover {
  border-color: transparent;
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(255, 92, 26, 0.3);
}

.social-icon-top:hover::before {
  opacity: 1;
}

.social-icon-top:hover svg {
  color: #fff;
  transform: scale(1.1);
}

.social-name {
  position: absolute;
  background: var(--surface2);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.5rem 0.875rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  pointer-events: none;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  white-space: nowrap;
  z-index: 20;
}

/* Tooltip for Hero Socials */
.social-icon-top .social-name {
  bottom: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
}

.social-icon-top:hover .social-name {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Tooltip for Sidebar Socials */
.sidebar-social .social-name {
  left: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
}

.sidebar-social:hover .social-name {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Social Sidebar - Premium Redesign */
.social-sidebar {
  position: fixed;
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 0.75rem;
  background: rgba(26, 22, 18, 0.4);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 100px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.sidebar-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--muted);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.sidebar-social svg {
  width: 18px;
  height: 18px;
}

.sidebar-social:hover {
  color: var(--orange);
  background: rgba(255, 92, 26, 0.08);
  transform: scale(1.1);
}

.sidebar-social::after {
  content: '';
  position: absolute;
  right: -10px;
  width: 3px;
  height: 3px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}

.sidebar-social:hover::after {
  opacity: 1;
  transform: scale(1);
}

/* Hero image */
.hero-image-wrap {
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.45s;
}

.hero-img-group {
  position: relative;
  width: 380px;
  height: 480px;
}

.hero-img-group:hover .frame-front {
  transform: translate(8px, 8px);
}

.hero-img-group:hover .frame-back {
  transform: translate(-8px, -8px);
}

.frame-front {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 92, 26, 0.3);
  border-radius: 1rem;
  transform: translate(16px, 16px);
  transition: transform 0.5s ease;
}

.frame-back {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  transform: translate(-16px, -16px);
  transition: transform 0.5s ease;
}

.hero-img-container {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.hero-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 0.7s ease;
}

.hero-img-group:hover .hero-img-container img {
  transform: scale(1);
}

.hero-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 10, 9, 0.8) 0%, transparent 50%, transparent 100%);
  opacity: 0.6;
}

.hero-badge-float {
  position: absolute;
  bottom: -24px;
  right: -40px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  animation: bounce-slow 4s ease-in-out infinite;
}

.hero-badge-float .num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--orange);
  font-style: italic;
}

.hero-badge-float .label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.ticker-wrap {
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 1rem 0;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker-group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 0 1.25rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.ticker-group strong {
  color: var(--orange);
  font-weight: 500;
}

.ticker-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 92, 26, 0.3);
}

#about {
  background: var(--bg2);
  padding: 7rem 3.5rem;
}

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-label .line {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 300;
  line-height: 1;
  color: var(--text);
  margin-bottom: 3.5rem;
}

.section-heading .accent {
  font-style: italic;
  color: var(--orange);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.about-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.2vw, 2rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 1.75rem;
}

.about-desc {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.about-desc strong {
  color: var(--text);
  font-weight: 400;
}

.stats-row {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 600;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 0.25rem;
}

.edu-section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.edu-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1.75rem;
  margin-bottom: 0.875rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.5s, box-shadow 0.5s;
}

.edu-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 92, 26, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.5s;
}

.edu-card:hover {
  border-color: rgba(255, 92, 26, 0.3);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

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

.edu-year {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.625rem;
  position: relative;
  z-index: 1;
}

.edu-school {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.25rem;
  position: relative;
  z-index: 1;
}

.edu-major {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  font-style: italic;
  position: relative;
  z-index: 1;
}

#skills {
  background: var(--bg);
  padding: 7rem 3.5rem;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: auto;
  gap: 0.875rem;
}

.bento-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.25rem;
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.5s, border-color 0.5s, box-shadow 0.5s;
}

.bento-card::after {
  content: '';
  position: absolute;
  top: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 92, 26, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.bento-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 92, 26, 0.25);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6);
}

.bento-card:hover::after {
  opacity: 1;
}

.bento-wide {
  grid-column: span 2;
}

.bento-tall {
  grid-row: span 2;
}

.bento-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 92, 26, 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  margin-bottom: 1.375rem;
}

.bento-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.625rem;
  line-height: 1.2;
}

.bento-desc {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  background: var(--surface2);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  color: var(--muted);
  transition: border-color 0.3s, color 0.3s;
}

.tag:hover {
  border-color: rgba(255, 92, 26, 0.3);
  color: var(--orange);
}

#works {
  background: var(--bg2);
  padding: 7rem 3.5rem;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.work-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: transform 0.5s, border-color 0.5s, box-shadow 0.5s;
  cursor: pointer;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 92, 26, 0.3);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7);
}

.work-thumb {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.work-thumb-1 {
  background: linear-gradient(135deg, #1a0d06, #2a1508);
}

.work-thumb-2 {
  background: linear-gradient(135deg, #091a0d, #0d2514);
}

.work-thumb-3 {
  background: linear-gradient(135deg, #09101a, #0d1825);
}

.work-bg-text,
.work-bg-img {
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 300;
  font-style: italic;
  opacity: 0.4;
  color: var(--text);
  transition: all 0.4s ease;
  user-select: none;
}

.work-bg-img {
  width: 75%;
  height: 75%;
  object-fit: contain;
  filter: brightness(1.1);
}

.work-logo-white {
  width: 100%;
  height: 100%;
}

.work-card:hover .work-bg-text,
.work-card:hover .work-bg-img {
  opacity: 0.7;
  transform: scale(1.08);
  filter: brightness(1.3);
}

.work-num {
  position: absolute;
  top: 1rem;
  right: 1.125rem;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.work-dot {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.3s;
}

.work-card:hover .work-dot {
  opacity: 1;
}

.work-body {
  padding: 1.75rem;
}

.work-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.625rem;
  line-height: 1.3;
  transition: color 0.3s;
}

.work-card:hover .work-title {
  color: var(--orange);
}

.work-desc {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--muted);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 1.25rem;
}

.work-tag {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.625rem;
  background: var(--surface2);
  border-radius: 9999px;
  color: var(--muted);
}

footer {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 7rem 3.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.footer-orb {
  position: absolute;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 92, 26, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.footer-inner {
  position: relative;
  z-index: 10;
}

.footer-pre {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--text);
  margin-bottom: 3rem;
}

.footer-heading .accent {
  font-style: italic;
  color: var(--orange);
}

.footer-email {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(245, 240, 232, 0.35);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: color 0.3s, border-color 0.3s;
  margin-bottom: 1.5rem;
}

.footer-email:hover {
  color: var(--orange);
  border-color: var(--orange);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

.social-link {
  position: relative;
  padding: 0.75rem;
  color: rgba(122, 110, 98, 0.4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 9999px;
  transition: color 0.3s, background 0.3s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-link:hover {
  color: var(--orange);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

.social-link svg {
  width: 16px;
  height: 16px;
}

.social-tooltip {
  position: absolute;
  top: -36px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.55rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--text);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.social-link:hover .social-tooltip {
  opacity: 1;
}

.footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(122, 110, 98, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.footer-love .heart {
  color: var(--orange);
}

@media (max-width: 900px) {
  #nav {
    padding: 1.25rem 1.5rem;
  }

  .social-sidebar {
    display: none;
  }

  .nav-links {
    display: none;
  }

  #home {
    padding: 7rem 1.5rem 5rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
  }

  .hero-socials-top {
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
  }

  .hero-image-wrap {
    justify-content: center;
  }

  .hero-img-group {
    width: 280px;
    height: 350px;
  }

  .hero-badge-float {
    right: -24px;
  }

  #about {
    padding: 5rem 1.5rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  #skills {
    padding: 5rem 1.5rem;
  }

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

  .bento-wide {
    grid-column: span 1;
  }

  .bento-tall {
    grid-row: span 1;
  }

  #works {
    padding: 5rem 1.5rem;
  }

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

  footer {
    padding: 5rem 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-badge .line:last-child {
    display: none;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}