/* ============================================
   Pratyusha Portfolio — Custom Styles
   Growez-inspired warm palette
   ============================================ */

:root {
  --bg-primary: #000000;
  --bg-secondary: #0e0e0e;
  --bg-card: #141414;
  --accent-orange: #d96d48;
  --accent-orange-light: #f4a261;
  --accent-cream: #f3e5ab;
  --text-primary: #ffffff;
  --text-muted: #a1a1aa;
  --text-dark: #0e0e0e;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* Typography system: Manrope (headings, nav, buttons) + DM Sans (body, labels, metadata) */

/* --- Base & Reset --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-primary);
  background-image: linear-gradient(180deg, #000000 0%, #0e0e0e 100%);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

::selection {
  background: rgba(217, 109, 72, 0.35);
  color: #fff;
}

/* --- Ambient Background --- */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
}

.ambient-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.45;
  animation: float 20s ease-in-out infinite;
}

.ambient-bg__orb--orange {
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(217, 109, 72, 0.2) 0%, transparent 70%);
  top: -10%;
  right: -5%;
  animation-delay: 0s;
}

.ambient-bg__orb--warm {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.12) 0%, transparent 70%);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes borderFlash {
  0% { box-shadow: 0 0 0 0 rgba(217, 109, 72, 0.6); }
  50% { box-shadow: 0 0 20px 4px rgba(217, 109, 72, 0.4); }
  100% { box-shadow: 0 0 0 0 rgba(217, 109, 72, 0); }
}

@keyframes glow {
  0% { opacity: 0.4; }
  100% { opacity: 0.8; }
}

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217, 109, 72, 0.15);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

.navbar__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.navbar__logo {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  transition: opacity 0.3s ease;
}

.navbar__logo:hover {
  opacity: 0.8;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.navbar__link {
  position: relative;
  padding: 8px 20px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.navbar__link:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.15) 0px,
    rgba(255, 255, 255, 0.15) 2px,
    transparent 2px,
    transparent 4px
  );
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--accent-orange-light);
}

.navbar__actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

/* --- Copy Button / Pill --- */
.copy-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: 'Manrope', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  overflow: hidden;
  border: none;
}

/* Primary — cream CTA (Get started style) */
.copy-btn--primary {
  color: var(--text-dark);
  background: var(--accent-cream);
}

.copy-btn--primary:hover {
  background: #ffe9a8;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(243, 229, 171, 0.25);
}

/* Secondary — white pill (Contact us style) */
.copy-btn--secondary {
  color: var(--text-dark);
  background: #ffffff;
}

.copy-btn--secondary:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

.copy-btn.copied {
  animation: borderFlash 0.6s ease-out;
}

.copy-btn--primary.copied {
  box-shadow: 0 0 0 2px var(--accent-orange);
}

.copy-btn--secondary.copied {
  box-shadow: 0 0 0 2px var(--accent-orange);
}

.copy-btn--icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 9999px;
}

.copy-btn__tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 4px 10px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-orange);
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  white-space: nowrap;
}

.copy-btn__tooltip.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.copy-btn__tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--accent-orange);
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hamburger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hamburger__line {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

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

.hamburger.open .hamburger__line:nth-child(2) {
  opacity: 0;
}

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

/* --- Mobile Menu --- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(0, 0, 0, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 100px 32px 32px;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__link {
  display: block;
  padding: 16px 0;
  font-size: 1.5rem;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s ease;
}

.mobile-menu__link:hover {
  color: #fff;
}

.mobile-menu__actions {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- Hero Section --- */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 96px 24px 80px;
  overflow: hidden;
}

.hero__horizon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 280px;
  background: linear-gradient(
    to top,
    rgba(217, 109, 72, 0.18) 0%,
    rgba(217, 109, 72, 0.06) 35%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 0;
}

.hero__card {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(320px, 1.15fr);
  gap: 56px;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 48px 56px;
  box-shadow: none;
}

.hero__image-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: none;
  border: none;
  box-shadow: none;
}

/* Soft orange glow — no box, no hard edges */
.hero__image-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 62%;
  background: radial-gradient(
    ellipse at center,
    rgba(255, 140, 0, 0.42) 0%,
    rgba(244, 162, 97, 0.22) 38%,
    rgba(217, 109, 72, 0.08) 58%,
    transparent 75%
  );
  filter: blur(52px);
  z-index: 0;
  pointer-events: none;
  border: none;
  box-shadow: none;
  opacity: 0.9;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero__image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 440px;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: none;
  border: none;
  box-shadow: none;
  filter: none;
  transform: scale(1);
  transform-origin: center center;
  will-change: transform;
  -webkit-user-drag: none;
  user-select: none;
}

.hero__image-col:hover .hero__image {
  transform: scale(1.02);
}

.hero__image-col:hover .hero__image-glow {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.06);
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.hero__text {
  max-width: 520px;
}

.hero__glow {
  position: absolute;
  top: -60px;
  right: -20px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(217, 109, 72, 0.15) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  animation: glow 4s ease-in-out infinite alternate;
}

.hero__label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--accent-orange);
  padding: 8px 16px;
  border-radius: 9999px;
  margin-bottom: 24px;
}

.hero__heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero__highlight {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cream) 0%, var(--accent-orange-light) 45%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subheading {
  font-family: var(--font-heading);
  font-size: clamp(1.0625rem, 2vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero__description {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 0;
}

.hero__meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(217, 109, 72, 0.2);
}

.hero__meta-label {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-orange-light);
  margin-bottom: 8px;
}

.hero__meta-value {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* Hidden only while JS prepares entrance animation */
html.js-preload .hero__image {
  opacity: 0;
  transform: scale(0.96);
}

/* --- Skills Marquee --- */
.skills {
  position: relative;
  z-index: 2;
  padding: 64px 0;
  overflow: hidden;
}

.skills__header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 24px;
}

.skills__title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.skills__title::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--accent-orange);
  border-radius: 50%;
  margin-right: 12px;
  vertical-align: middle;
}

.skills__marquee-wrap {
  position: relative;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.skills__marquee {
  display: flex;
  width: max-content;
  animation: marquee 45s linear infinite;
}

.skills__marquee:hover {
  animation-play-state: paused;
}

.skills__track {
  display: flex;
  gap: 20px;
  padding: 8px 8px;
}

.skill-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  white-space: nowrap;
  transition: all 0.4s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.skill-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(217, 109, 72, 0.12) 0%, transparent 100%);
  pointer-events: none;
}

.skill-card:hover {
  background: #1a1a1a;
  border-color: rgba(217, 109, 72, 0.35);
  box-shadow: 0 0 32px rgba(217, 109, 72, 0.15);
  transform: translateY(-2px);
}

.skill-card__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.skill-card__icon svg {
  width: 32px;
  height: 32px;
}

.skill-card__label {
  font-size: 1.0625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Text Highlight (inline accent) --- */
.text-highlight {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-cream) 0%, var(--accent-orange-light) 50%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- About Section --- */
.about {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 12vw, 120px) 24px;
  scroll-margin-top: 80px;
}

.about__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about .projects__title {
  margin-bottom: 24px;
}

.about__text {
  font-size: clamp(1.0625rem, 2.2vw, 1.25rem);
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 1.5rem;
}

.about__text:last-child {
  margin-bottom: 0;
}

.section-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.section-heading {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 32px;
}

/* --- Contact Section (Cinematic) --- */
.contact {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(96px, 14vw, 160px) 24px clamp(80px, 10vw, 120px);
  scroll-margin-top: 80px;
  overflow: hidden;
}

.contact__ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.contact__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  animation: contactDrift 28s ease-in-out infinite;
}

.contact__orb--1 {
  width: min(560px, 80vw);
  height: min(560px, 80vw);
  background: radial-gradient(circle, rgba(217, 109, 72, 0.22) 0%, transparent 70%);
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.contact__orb--2 {
  width: min(480px, 70vw);
  height: min(480px, 70vw);
  background: radial-gradient(circle, rgba(244, 162, 97, 0.14) 0%, transparent 70%);
  bottom: 5%;
  right: -8%;
  animation-delay: -14s;
}

.contact__horizon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(217, 109, 72, 0.25) 30%,
    rgba(244, 162, 97, 0.35) 50%,
    rgba(217, 109, 72, 0.25) 70%,
    transparent 100%
  );
  opacity: 0.6;
}

.contact__cursor-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217, 109, 72, 0.08) 0%, transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.6s ease;
  z-index: 0;
}

.contact.is-active .contact__cursor-glow {
  opacity: 1;
}

.contact__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  width: 100%;
}

.contact__label {
  display: block;
  margin-bottom: 32px;
}

.contact__headline {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 28px;
}

.contact__headline-line {
  display: block;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  color: var(--text-primary);
}

.contact__headline-line--accent {
  background: linear-gradient(135deg, var(--accent-cream) 0%, var(--accent-orange-light) 40%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-top: 0.05em;
}

.contact__subtext {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.55);
  max-width: 540px;
  margin: 0 auto 56px;
}

.contact__links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto;
}

.contact-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition:
    background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.contact-link::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(217, 109, 72, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: rgba(255, 255, 255, 0.045);
  border-color: rgba(217, 109, 72, 0.35);
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(217, 109, 72, 0.08);
  outline: none;
}

.contact-link:hover::before,
.contact-link:focus-visible::before {
  opacity: 1;
}

.contact-link__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--accent-orange-light);
  transition: background 0.4s ease, color 0.4s ease, transform 0.4s ease;
}

.contact-link:hover .contact-link__icon,
.contact-link:focus-visible .contact-link__icon {
  background: rgba(217, 109, 72, 0.15);
  color: var(--accent-cream);
  transform: scale(1.05);
}

.contact-link__content {
  flex: 1;
  min-width: 0;
}

.contact-link__label {
  display: block;
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 4px;
}

.contact-link__value {
  display: block;
  font-size: clamp(0.9375rem, 2vw, 1.0625rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.contact-link__action {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-orange-light);
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-link__action--arrow {
  font-size: 1.25rem;
  text-transform: none;
  letter-spacing: 0;
}

.contact-link:hover .contact-link__action,
.contact-link:focus-visible .contact-link__action {
  opacity: 1;
  transform: translateX(3px);
}

.contact-link .copy-btn__tooltip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  padding: 6px 12px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent-orange);
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.contact-link .copy-btn__tooltip.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.contact-link.copied .contact-link__action {
  color: var(--accent-cream);
}

@keyframes contactDrift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(24px, -18px) scale(1.04); }
  66% { transform: translate(-16px, 12px) scale(0.97); }
}

/* Legacy page-section (unused) */
.page-section {
  position: relative;
  z-index: 2;
  padding: 80px 24px;
  scroll-margin-top: 80px;
}

.page-section__inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.page-section__title {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.page-section__title::before {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  background: var(--accent-orange);
  border-radius: 50%;
  margin: 0 auto 12px;
}

.page-section__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.section-text {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.5);
}

.contact__card {
  margin-top: 40px;
  padding: 48px 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* --- Footer --- */
.footer {
  position: relative;
  z-index: 2;
  padding: 32px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
}

.footer__text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .navbar__nav,
  .navbar__actions {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero__card {
    grid-template-columns: 1fr;
    padding: 32px 28px;
    gap: 36px;
  }

  .hero__image-col {
    order: -1;
    max-width: 360px;
    margin: 0 auto;
  }

  .hero__image {
    max-width: 100%;
  }

  .hero__content {
    text-align: center;
    align-items: center;
  }

  .hero__text {
    max-width: 100%;
  }

  .hero__description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__meta {
    width: 100%;
    max-width: 400px;
  }

  .hero__glow {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 100px 16px 64px;
  }

  .hero__card {
    padding: 24px 20px;
    border-radius: 16px;
    gap: 28px;
  }

  .hero__image {
    max-width: 100%;
  }

  .hero__meta {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .copy-btn--email .copy-btn__text {
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .about,
  .contact {
    padding: 64px 16px;
  }

  .contact {
    min-height: auto;
    padding-bottom: 80px;
  }

  .contact__headline-line {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .contact__links {
    max-width: 100%;
  }

  .contact-link {
    padding: 16px 18px;
  }

  .contact-link__value {
    white-space: normal;
    word-break: break-all;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html.js-preload .hero__image {
    opacity: 1 !important;
    transform: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .skills__marquee {
    animation: none;
  }

  .contact__orb {
    animation: none;
  }

  .contact__cursor-glow {
    display: none;
  }
}
