/* ===== PERFORMANCE OPTIMIZATION ===== */

/* Font loading optimization - prevent FOIT (Flash of Invisible Text) */
@font-face {
  font-family: 'Playfair Display';
  font-display: swap; /* Show fallback font immediately, swap when custom font loads */
}

@font-face {
  font-family: 'Inter';
  font-display: swap;
}

/* TODO BEFORE LAUNCH: Minify CSS
 * Use: https://cssminifier.com
 * Or CLI: npx csso style.css -o style.min.css
 * Update HTML links to style.min.css
 */

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  --bg-primary: #0A0A0A;
  --text-primary: #E8E8E8;
  --accent-gold: #E8C547; /* Lightened from #D4AF37 for AAA contrast compliance */
  --accent-wine: #6B2737;
  --accent-sage: #8B9D83;
  --accent-steel: #4A5F7A;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Repeated RGBA values */
  --bg-subtle: rgba(232, 232, 232, 0.02);
  --bg-card: rgba(232, 232, 232, 0.03);
  --bg-input: rgba(232, 232, 232, 0.05);
  --bg-icon: rgba(232, 232, 232, 0.1);
  --border-subtle: rgba(232, 232, 232, 0.1);
  --border-input: rgba(232, 232, 232, 0.2);

  /* Current page accent (overridden by page classes) */
  --current-accent: var(--accent-gold);
}

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

/* ===== GLOBAL STYLES ===== */
html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Film grain/noise texture overlay for experimental aesthetic - animated */
body::before {
  content: "";
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: overlay;
  animation: grain 8s steps(10) infinite;
  will-change: transform;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -10%); }
  20% { transform: translate(-15%, 5%); }
  30% { transform: translate(7%, -25%); }
  40% { transform: translate(-5%, 25%); }
  50% { transform: translate(-15%, 10%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 15%); }
  80% { transform: translate(3%, 35%); }
  90% { transform: translate(-10%, 10%); }
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* ===== IMAGE CONSTRAINTS ===== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Unified image treatment - grayscale with color on hover */
.project-media img,
.album-art,
.about-image img,
.thesis-image img {
  filter: grayscale(100%) contrast(110%);
  transition: filter 0.5s ease;
}

.project-card:hover .project-media img,
.release-card:hover .album-art,
.about-image:hover img,
.thesis-feature:hover .thesis-image img {
  filter: grayscale(0%) contrast(100%);
}

.headshot-placeholder,
.about-image img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.album-art,
.project-media {
  width: 100%;
  max-width: 600px;
  height: auto;
  aspect-ratio: 1; /* For album covers */
  object-fit: cover; /* Prevent stretching */
}

.project-media {
  aspect-ratio: 16/9; /* For project screenshots */
}

/* ===== UTILITY CLASSES ===== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* .sr-only removed - use .visually-hidden instead */

/* Skip Link for Accessibility */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--accent-gold);
  color: var(--bg-primary);
  padding: 0.75rem 1rem;
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
  border-radius: 0 0 4px 0;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid var(--text-primary);
  outline-offset: 2px;
}

/* Mask Reveal Animation for Premium Text Entrance */
.mask-reveal {
  overflow: hidden;
}

.mask-reveal > * {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
}

/* Enhanced Focus Styles for Accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus,
.btn:focus {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Focus-visible for keyboard-only focus */
a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
input:focus:not(:focus-visible),
select:focus:not(:focus-visible),
textarea:focus:not(:focus-visible) {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 2px;
}

/* Navigation focus styles */
.nav-links a:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 4px;
}

/* Reusable card base with glassmorphism */
.card-base {
  background: rgba(232, 232, 232, 0.03);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
}

/* Reusable grid patterns */
.grid-3col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* ===== TYPOGRAPHY ===== */
h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 1.2;
  letter-spacing: -0.03em; /* Tight editorial tracking for authority */
  position: relative;
  transition: all 0.3s ease;
}

h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  letter-spacing: -0.025em; /* Tight editorial tracking */
}

h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: -0.015em;
}

/* Glitch typography effect on hover for h1 headings */

h1:hover {
  text-shadow:
    0.02em 0 0 rgba(232, 197, 71, 0.5),
    -0.02em 0 0 rgba(107, 39, 55, 0.5);
  animation: glitch 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes glitch {
  0%, 100% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 1px);
  }
  40% {
    transform: translate(2px, -1px);
  }
  60% {
    transform: translate(-1px, 2px);
  }
  80% {
    transform: translate(1px, -2px);
  }
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent-gold);
  color: var(--bg-primary);
  position: relative;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Magnetic button effect will be handled by JavaScript */
.btn-primary.magnetic {
  transition: transform 0.2s ease-out;
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--accent-gold);
  color: var(--accent-gold);
}

.btn-secondary:hover {
  background: var(--accent-gold);
  color: var(--bg-primary);
}

/* ===== DESKTOP NAVIGATION ===== */
#mainNav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(232, 232, 232, 0.08);
  transition: all 0.4s ease;
  will-change: height; /* Performance optimization for collapse animation */
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.4s ease;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-gold);
  transition: font-size 0.4s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.nav-links a {
  color: var(--text-primary);
  font-size: 0.95rem;
  pointer-events: auto;
  letter-spacing: 0.5px;
  position: relative;
}

.nav-links a:hover {
  color: var(--accent-gold);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold);
  transition: width 0.3s ease;
}

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

/* Collapsed nav state */
#mainNav.nav-collapsed {
  /* Height and layout changes handled by GSAP or JS fallback */
}

/* Nav shape indicator (shows in collapsed state) */
.nav-shape {
  display: inline-block;
  font-size: 1.2em;
  margin-left: 0.5rem;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

#mainNav.nav-collapsed .nav-shape {
  opacity: 1;
  transform: scale(1);
}

.nav-shape:hover {
  transform: scale(1.1);
}

/* Page-specific nav shape colors */
body.home .nav-shape { color: var(--accent-gold); }
body.research .nav-shape { color: var(--accent-wine); }
body.music .nav-shape { color: var(--accent-sage); }
body.tech .nav-shape { color: var(--accent-steel); }
body.knowledge .nav-shape { color: var(--accent-gold); }
body.post-research .nav-shape,
body[data-category="research"] .nav-shape { color: var(--accent-wine); }
body.post-music .nav-shape,
body[data-category="music"] .nav-shape { color: var(--accent-sage); }
body.post-tech .nav-shape,
body[data-category="tech"] .nav-shape { color: var(--accent-steel); }
body.about .nav-shape { color: var(--accent-gold); }
body.services .nav-shape { color: var(--accent-gold); }
body.contact .nav-shape { color: var(--accent-gold); }

/* ===== HERO SECTION ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 2rem 4rem;
}

.hero h1 {
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

.tagline {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.subtitle {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  opacity: 0.8;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero Background Shapes Animation */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.shape {
  position: absolute;
  opacity: 0.08;
  border: 2px solid currentColor;
}

/* Shape size variations */
.shape-large {
  transform: scale(1.5);
}

.shape-medium {
  transform: scale(1);
}

.shape-small {
  transform: scale(0.5);
}

.shape-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 2px solid currentColor;
}

.shape-square {
  width: 200px;
  height: 200px;
  border: 2px solid currentColor;
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 173px solid currentColor;
}

.shape-hexagon {
  width: 200px;
  height: 115px;
  background: currentColor;
  position: relative;
}

.shape-hexagon::before,
.shape-hexagon::after {
  content: "";
  position: absolute;
  width: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
}

.shape-hexagon::before {
  bottom: 100%;
  border-bottom: 58px solid currentColor;
}

.shape-hexagon::after {
  top: 100%;
  border-top: 58px solid currentColor;
}

.shape-pentagon {
  width: 200px;
  height: 200px;
  border: 2px solid currentColor;
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
}

/* Varied colors and positions for each shape instance */
.shape:nth-child(1) { color: var(--accent-gold); top: 10%; left: 5%; animation: float1 80s infinite ease-in-out; }
.shape:nth-child(2) { color: var(--accent-wine); top: 60%; right: 10%; animation: float2 100s infinite ease-in-out; }
.shape:nth-child(3) { color: var(--accent-sage); top: 30%; right: 15%; animation: float3 90s infinite ease-in-out; }
.shape:nth-child(4) { color: var(--accent-steel); top: 70%; left: 15%; animation: float4 110s infinite ease-in-out; }
.shape:nth-child(5) { color: var(--accent-gold); top: 15%; right: 30%; animation: float5 95s infinite ease-in-out; }
.shape:nth-child(6) { color: var(--accent-wine); top: 80%; left: 40%; animation: float1 85s infinite ease-in-out; }
.shape:nth-child(7) { color: var(--accent-sage); top: 5%; left: 50%; animation: float2 105s infinite ease-in-out; }
.shape:nth-child(8) { color: var(--accent-steel); top: 45%; right: 5%; animation: float3 95s infinite ease-in-out; }
.shape:nth-child(9) { color: var(--accent-gold); top: 25%; left: 25%; animation: float4 88s infinite ease-in-out; }
.shape:nth-child(10) { color: var(--accent-wine); top: 55%; right: 40%; animation: float5 102s infinite ease-in-out; }
.shape:nth-child(11) { color: var(--accent-sage); top: 35%; left: 60%; animation: float1 92s infinite ease-in-out; }
.shape:nth-child(12) { color: var(--accent-steel); top: 85%; right: 25%; animation: float2 98s infinite ease-in-out; }
.shape:nth-child(13) { color: var(--accent-gold); top: 20%; left: 75%; animation: float3 87s infinite ease-in-out; }
.shape:nth-child(14) { color: var(--accent-wine); top: 65%; left: 70%; animation: float4 103s infinite ease-in-out; }
.shape:nth-child(15) { color: var(--accent-sage); top: 50%; right: 55%; animation: float5 97s infinite ease-in-out; }

@keyframes float1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(30px, -40px) rotate(5deg); }
  50% { transform: translate(-20px, -60px) rotate(-3deg); }
  75% { transform: translate(40px, -30px) rotate(7deg); }
}

@keyframes float2 {
  0%, 100% { transform: translate(0, 0) rotate(15deg); }
  25% { transform: translate(-40px, 30px) rotate(20deg); }
  50% { transform: translate(30px, 50px) rotate(10deg); }
  75% { transform: translate(-25px, 20px) rotate(25deg); }
}

@keyframes float3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-35px, 45px) rotate(-8deg); }
  66% { transform: translate(45px, -35px) rotate(8deg); }
}

@keyframes float4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(25px, -35px) rotate(-6deg); }
  50% { transform: translate(-30px, -50px) rotate(6deg); }
  75% { transform: translate(35px, -25px) rotate(-4deg); }
}

@keyframes float5 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-30px, -40px) rotate(4deg); }
  40% { transform: translate(40px, 30px) rotate(-5deg); }
  60% { transform: translate(-25px, 45px) rotate(6deg); }
  80% { transform: translate(30px, -35px) rotate(-4deg); }
}

/* ===== PAGE-SPECIFIC HERO ANIMATIONS ===== */

/* Base animation container */
.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* RESEARCH PAGE - Flowfield Particle Animation */
.research-animation {
  opacity: 1;
}

.research-animation canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: blur(0.3px);
  contain: layout style paint;
}

/* MUSIC PAGE - Musical Note Animation */
.music-animation {
  overflow: hidden;
}

.note {
  position: absolute;
  font-size: 3rem;
  color: var(--accent-sage);
  opacity: 0.08;
  animation: floatNote 15s ease-in-out infinite;
}

.note:nth-child(odd) { animation-direction: alternate; }
.note:nth-child(even) { animation-direction: alternate-reverse; }

.note:nth-child(1) { animation-delay: 0s; animation-duration: 14s; }
.note:nth-child(2) { animation-delay: 1s; animation-duration: 16s; }
.note:nth-child(3) { animation-delay: 2s; animation-duration: 15s; }
.note:nth-child(4) { animation-delay: 3s; animation-duration: 17s; }
.note:nth-child(5) { animation-delay: 0.5s; animation-duration: 14.5s; }
.note:nth-child(6) { animation-delay: 1.5s; animation-duration: 16.5s; }
.note:nth-child(7) { animation-delay: 2.5s; animation-duration: 15.5s; }
.note:nth-child(8) { animation-delay: 3.5s; animation-duration: 17.5s; }
.note:nth-child(9) { animation-delay: 0.75s; animation-duration: 14.75s; }
.note:nth-child(10) { animation-delay: 1.75s; animation-duration: 16.75s; }
.note:nth-child(11) { animation-delay: 2.75s; animation-duration: 15.75s; }
.note:nth-child(12) { animation-delay: 3.75s; animation-duration: 17.75s; }
.note:nth-child(13) { animation-delay: 1.25s; animation-duration: 14.25s; }
.note:nth-child(14) { animation-delay: 2.25s; animation-duration: 16.25s; }
.note:nth-child(15) { animation-delay: 3.25s; animation-duration: 15.25s; }
.note:nth-child(16) { animation-delay: 0.25s; animation-duration: 17.25s; }
.note:nth-child(17) { animation-delay: 1.5s; animation-duration: 14.5s; }
.note:nth-child(18) { animation-delay: 2.5s; animation-duration: 16.5s; }

.note-pos-1 { top: 10%; left: 5%; }
.note-pos-2 { top: 30%; left: 15%; }
.note-pos-3 { top: 50%; left: 8%; }
.note-pos-4 { top: 70%; left: 12%; }
.note-pos-5 { top: 20%; right: 10%; }
.note-pos-6 { top: 45%; right: 5%; }
.note-pos-7 { top: 65%; right: 15%; }
.note-pos-8 { top: 85%; right: 8%; }
.note-pos-9 { top: 15%; left: 40%; }
.note-pos-10 { top: 35%; left: 50%; }
.note-pos-11 { top: 55%; left: 45%; }
.note-pos-12 { top: 75%; left: 55%; }
.note-pos-13 { top: 25%; right: 35%; }
.note-pos-14 { top: 60%; right: 40%; }
.note-pos-15 { top: 80%; right: 45%; }
.note-pos-16 { top: 40%; left: 25%; }
.note-pos-17 { top: 90%; left: 70%; }
.note-pos-18 { top: 5%; right: 60%; }

@keyframes floatNote {
  0% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
  50% { transform: translateY(-50px) rotate(15deg); opacity: 0.12; }
  100% { transform: translateY(0) rotate(0deg); opacity: 0.08; }
}

/* TECH PAGE - Deforming Grid Animation */
.tech-animation {
  opacity: 1;
}

.tech-animation canvas {
  width: 100%;
  height: 100%;
  display: block;
  filter: blur(0.25px);
  contain: layout style paint;
}

/* SERVICES PAGE - Blurred Morphing Blobs Animation */
.services-animation {
  overflow: hidden;
}

.blob {
  position: absolute;
  width: 40vw;
  height: 40vw;
  max-width: 650px;
  max-height: 650px;
  min-width: 260px;
  min-height: 260px;

  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  filter: blur(40px);
  opacity: 0.75;
  mix-blend-mode: screen;
  transform-origin: center center;

  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-play-state: running;
}

/* Pause blobs when page is not visible */
body:not(:focus-within) .blob {
  animation-play-state: paused;
}

/* Individual blob colors using portfolio accent colors */
.blob--1 { background: var(--accent-gold); }
.blob--2 { background: var(--accent-wine); }
.blob--3 { background: var(--accent-sage); }
.blob--4 { background: var(--accent-steel); }

/* Blob positioning via nth-child - cleaner than inline styles */
.blob:nth-child(1) {
  --x-start: -10vw; --y-start: -15vh;
  --x-mid: -5vw; --y-mid: -5vh;
  --x-end: 5vw; --y-end: -10vh;
  animation-name: blobDriftA;
  animation-duration: 42s;
  animation-delay: -8s;
}

.blob:nth-child(2) {
  --x-start: 35vw; --y-start: -20vh;
  --x-mid: 40vw; --y-mid: -10vh;
  --x-end: 30vw; --y-end: -5vh;
  opacity: 0.65;
  animation-name: blobDriftB;
  animation-duration: 55s;
  animation-delay: -18s;
}

.blob:nth-child(3) {
  --x-start: 0vw; --y-start: 10vh;
  --x-mid: -5vw; --y-mid: 15vh;
  --x-end: 5vw; --y-end: 20vh;
  opacity: 0.7;
  animation-name: blobDriftA;
  animation-duration: 60s;
  animation-delay: -30s;
}

.blob:nth-child(4) {
  --x-start: 25vw; --y-start: 40vh;
  --x-mid: 20vw; --y-mid: 50vh;
  --x-end: 30vw; --y-end: 55vh;
  opacity: 0.75;
  animation-name: blobDriftB;
  animation-duration: 48s;
  animation-delay: -12s;
}

.blob:nth-child(5) {
  --x-start: -20vw; --y-start: 35vh;
  --x-mid: -15vw; --y-mid: 45vh;
  --x-end: -10vw; --y-end: 50vh;
  opacity: 0.6;
  animation-name: blobDriftA;
  animation-duration: 70s;
  animation-delay: -25s;
}

/* Blob drift animations */
@keyframes blobDriftA {
  0% {
    transform:
      translate3d(var(--x-start), var(--y-start), 0)
      scale(1)
      rotate(0deg);
    border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  }
  50% {
    transform:
      translate3d(var(--x-mid, 0), var(--y-mid, 0), 0)
      scale(1.07)
      rotate(6deg);
    border-radius: 45% 55% 50% 50% / 50% 45% 55% 50%;
  }
  100% {
    transform:
      translate3d(var(--x-end), var(--y-end), 0)
      scale(0.98)
      rotate(-4deg);
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  }
}

@keyframes blobDriftB {
  0% {
    transform:
      translate3d(var(--x-start), var(--y-start), 0)
      scale(1.05)
      rotate(0deg);
    border-radius: 55% 45% 55% 45% / 50% 55% 45% 50%;
  }
  50% {
    transform:
      translate3d(var(--x-mid, 0), var(--y-mid, 0), 0)
      scale(1.15)
      rotate(-8deg);
    border-radius: 60% 40% 45% 55% / 55% 45% 55% 45%;
  }
  100% {
    transform:
      translate3d(var(--x-end), var(--y-end), 0)
      scale(0.96)
      rotate(5deg);
    border-radius: 45% 55% 60% 40% / 40% 60% 45% 55%;
  }
}

/* ABOUT PAGE - Living Typography Background */
.bg-typography {
  position: fixed;
  inset: 0;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: lighten;
}

.bg-typography__word {
  position: absolute;
  font-family: "Playfair Display", "Times New Roman", "Georgia", serif;
  font-size: clamp(10px, 0.9vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.06;
  white-space: nowrap;
  color: var(--text-primary);
  transform: translate3d(0, 0, 0);
  animation-name: driftWord;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-duration: var(--dur, 24s);
  animation-delay: var(--delay, 0s);
  animation-play-state: running;
}

/* Pause typography when page is not visible (document hidden API) */
@media (prefers-reduced-motion: no-preference) {
  body.page-hidden .bg-typography__word {
    animation-play-state: paused;
  }
}

.bg-typography__word--accent {
  opacity: 0.09;
  color: var(--accent-gold);
}

@keyframes driftWord {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(var(--tx, 10px), var(--ty, -10px), 0);
  }
}

/* Mobile optimizations for page animations */
@media (max-width: 768px) {
  .research-animation {
    opacity: 0.7;
  }

  .note {
    font-size: 2rem;
    opacity: 0.06;
  }

  .tech-animation {
    opacity: 0.8;
  }

  .blob {
    width: 50vw;
    height: 50vw;
    min-width: 200px;
    min-height: 200px;
    filter: blur(30px);
    opacity: 0.6;
  }

  /* Hide some blobs on mobile for performance (3 instead of 5) */
  .blob--mobile-hide {
    display: none;
  }

  .bg-typography__word {
    font-size: clamp(8px, 0.7vw, 11px);
    opacity: 0.04;
  }

  .bg-typography__word--accent {
    opacity: 0.06;
  }
}

/* ===== ACCESSIBILITY: Reduced Motion Support ===== */
@media (prefers-reduced-motion: reduce) {
  /* Disable all background animations for users with motion sensitivity */
  .research-animation,
  .tech-animation,
  .services-animation,
  .bg-typography {
    display: none;
  }

  /* Disable blob animations */
  .blob {
    animation: none !important;
    opacity: 0.02 !important;
  }

  /* Disable typography drift */
  .bg-typography__word {
    animation: none !important;
    opacity: 0.02 !important;
  }

  /* Disable musical note animations */
  .note {
    animation: none !important;
    opacity: 0.02 !important;
  }

  /* Keep essential UI animations but reduce duration */
  .category-card,
  .project-card,
  .release-card,
  .package-card,
  .testimonial-card,
  .faq-item,
  .about-card {
    transition-duration: 0.05s !important;
  }

  /* Disable GSAP animations via CSS */
  * {
    animation-duration: 0.01s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01s !important;
  }
}

/* ===== WORK CATEGORIES ===== */
.work-categories {
  padding: 6rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.work-categories h2 {
  text-align: center;
  margin-bottom: 4rem;
  color: var(--accent-gold);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.category-card {
  display: block;
  background: rgba(232, 232, 232, 0.03);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.category-card:hover,
.category-card:focus-within {
  transform: translateY(-8px);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
  will-change: transform; /* Only use when actively animating */
}

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
  background: var(--accent-gold);
  border-radius: 8px;
}

.category-card h3 {
  margin-bottom: 1rem;
  color: var(--accent-gold);
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.category-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
  opacity: 0.9;
}

/* ===== CURRENT FOCUS ===== */
.current-focus {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.current-focus h2 {
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

/* ===== FOOTER ===== */
footer {
  padding: 4rem 2rem 2rem;
  border-top: 1px solid rgba(232, 232, 232, 0.1);
}

.email-signup {
  max-width: 500px;
  margin: 0 auto 3rem;
  text-align: center;
}

.email-signup h3 {
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

/* Override for knowledge article pages to match article theme */
body.post-research .email-signup h3,
body.post-music .email-signup h3,
body.post-tech .email-signup h3 {
  color: var(--page-accent);
}

.email-signup form {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
}

.email-signup input {
  flex: 1;
  padding: 0.8rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: 4px;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.email-signup input:focus {
  outline: none;
  border-color: var(--accent-gold);
}

.form-note {
  font-size: 0.85rem;
  opacity: 0.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-links a {
  color: var(--text-primary);
  transition: color 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social-links a:hover {
  color: var(--accent-gold);
}

.social-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
}

.copyright {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* ===== HAMBURGER & SLIDE-OUT MENU ===== */
body.menu-open {
  overflow: hidden;
}

/* Hamburger button - hidden on desktop, shown on mobile */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0.6rem;
  background: rgba(15, 15, 15, 0.8);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hamburger-btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  transition: transform 0.25s ease, opacity 0.2s ease;
  pointer-events: none;
}

/* Hamburger to X animation */
.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Overlay - covers screen when menu is open */
.slide-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.slide-menu-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Slide menu panel */
.slide-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 86vw;
  height: 100%;
  background: rgba(10, 10, 10, 0.95);
  border-left: 1px solid var(--border-subtle);
  z-index: 9999;
  transform: translateX(30px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  padding-bottom: calc(1.5rem + env(safe-area-inset-bottom));
}

.slide-menu.is-active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Menu header */
.slide-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: calc(1.2rem + env(safe-area-inset-top)) 1.5rem 1.2rem;
  border-bottom: 1px solid var(--border-subtle);
}

.slide-menu-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
}

/* Close button */
.slide-menu-close {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  font-size: 1.6rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.slide-menu-close:hover,
.slide-menu-close:active,
.slide-menu-close:focus-visible {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
  background: rgba(212, 175, 55, 0.08);
}

/* Menu links */
.slide-menu-links {
  list-style: none;
  padding: 1.1rem 0 calc(1.5rem + env(safe-area-inset-bottom));
  margin: 0;
}

.slide-menu-links li {
  border-bottom: 1px solid var(--border-subtle);
}

.slide-menu-links a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.95rem 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  transition: background 0.25s ease, color 0.25s ease, padding-left 0.25s ease,
    border-color 0.25s ease;
  border-left: 3px solid transparent;
}

.slide-menu-links a:hover,
.slide-menu-links a:active,
.slide-menu-links a.active {
  background: rgba(212, 175, 55, 0.1);
  color: var(--accent-gold);
  padding-left: 1.75rem;
  border-left-color: var(--accent-gold);
}

/* ===== RESPONSIVE (MOBILE) ===== */
@media (max-width: 768px) {
  /* Hide desktop nav links */
  .nav-links {
    display: none;
  }

  /* Show hamburger menu */
  .hamburger-btn {
    display: flex;
  }

  /* Adjust hero */
  .hero {
    padding: 6rem 1.5rem 6rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  /* Reduce section padding */
  .work-categories {
    padding: 4rem 1.5rem;
  }

  /* Categories grid - single column */
  .categories-grid {
    grid-template-columns: 1fr;
  }

  /* Email form - stack vertically */
  .email-signup form {
    flex-direction: column;
  }

  /* Social links - compact grid for mobile */
  .social-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem 1rem;
    margin-bottom: 1.5rem;
  }

  .social-links a {
    font-size: 0.85rem;
    flex-direction: column;
    gap: 0.35rem;
  }

  .social-icon {
    width: 24px;
    height: 24px;
  }

    /* Footer breathing room on mobile */
    footer {
      padding-bottom: 4rem;
    }
}

/* ===== RESEARCH PAGE SPECIFIC ===== */
body.research {
  --current-accent: var(--accent-wine);
}

body.research .hero h1 {
  color: var(--accent-wine);
}

body.research h2 {
  color: var(--current-accent);
}

body.research .btn-primary {
  background: var(--current-accent);
}

body.research .btn-primary:hover {
  box-shadow: 0 4px 12px rgba(107, 39, 55, 0.3);
}

.page-subtitle {
  text-align: center;
  font-size: 1.2rem;
  max-width: 700px;
  margin: 1rem auto 0;
  opacity: 0.9;
}

.featured-work {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.thesis-feature {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2rem;
}

.thesis-image {
  aspect-ratio: 1;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.thesis-content h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--current-accent);
}

.thesis-meta {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.thesis-highlights {
  list-style: none;
  margin: 1.5rem 0;
}

.thesis-highlights li {
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.thesis-highlights li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

.research-interests {
  padding: 4rem 2rem;
  background: var(--bg-subtle);
}

.research-interests h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.interests-grid > div {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.interests-grid h3 {
  color: var(--current-accent);
  margin-bottom: 1rem;
}

/* CV Definition List Styling */
.cv-list {
  margin: 1rem 0 1.5rem;
}

.cv-list dt {
  font-weight: 600;
  color: var(--accent-wine);
  margin-top: 1rem;
}

.cv-list dt:first-child {
  margin-top: 0;
}

.cv-list dd {
  margin-left: 0;
  margin-bottom: 0.5rem;
  color: var(--accent-wine);
  opacity: 0.9;
}

.academic-section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.cv-content {
  margin-top: 2rem;
}

.cv-content h3 {
  color: var(--accent-gold);
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.cta-section {
  padding: 4rem 2rem;
  text-align: center;
  background: rgba(107, 39, 55, 0.05);
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Knowledge Base CTA */
.knowledge-cta {
  padding: 4rem 2rem;
  text-align: center;
  background: rgba(212, 175, 55, 0.05);
  border-top: 1px solid rgba(232, 232, 232, 0.1);
}

.knowledge-cta h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-gold);
}

.knowledge-cta p {
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Work Card Styles (for unified Featured Work section) */
.work-card {
  background: rgba(232, 232, 232, 0.03);
  border: 1px solid rgba(232, 232, 232, 0.1);
  border-left: 4px solid var(--accent-wine);
  border-radius: 8px;
  padding: 2.5rem;
  margin-bottom: 2rem;
}

.work-card:last-child {
  margin-bottom: 0;
}

.work-content h3 {
  color: var(--accent-wine);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.work-meta {
  font-size: 0.95rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.work-highlights {
  list-style: none;
  margin: 1rem 0;
}

.work-highlights li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
}

.work-highlights li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
}

@media (max-width: 768px) {
  .thesis-feature {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ===== MUSIC PAGE SPECIFIC ===== */
body.music {
  --current-accent: var(--accent-sage);
}

body.music .hero h1 {
  color: var(--accent-sage);
}

body.music h2 {
  color: var(--current-accent);
}

body.music .btn-primary {
  background: var(--current-accent);
  color: var(--bg-primary);
}

body.music .btn-primary:hover {
  box-shadow: 0 4px 12px rgba(139, 157, 131, 0.3);
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  opacity: 0.9;
}

.discography {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.discography h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.release-card {
  background: rgba(232, 232, 232, 0.03);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.release-card:hover,
.release-card:focus-within {
  transform: translateY(-8px);
  border-color: var(--current-accent);
  will-change: transform; /* Only use when actively animating */
}

.album-art {
  aspect-ratio: 1;
  background: var(--bg-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--current-accent);
}

.release-card h3 {
  padding: 1rem 1.5rem 0.5rem;
  color: var(--current-accent);
}

.release-year {
  padding: 0 1.5rem;
  font-size: 0.9rem;
  opacity: 0.7;
}

.release-desc {
  padding: 0.5rem 1.5rem 1rem;
  font-size: 0.95rem;
  opacity: 0.9;
}

.release-links {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.release-links a {
  font-size: 0.9rem;
  color: var(--current-accent);
  padding: 0.5rem 1rem;
  border: 1px solid var(--current-accent);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.release-links a:hover {
  background: var(--current-accent);
  color: var(--bg-primary);
}

.tools-process {
  padding: 4rem 2rem;
  background: var(--bg-subtle);
  max-width: 1000px;
  margin: 0 auto;
}

.tools-process h2 {
  text-align: left;
  margin-bottom: 1rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-grid > div {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.process-grid h3 {
  color: var(--current-accent);
  margin-bottom: 1rem;
}

.featured-tracks {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.players-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.player-placeholder {
  padding: 3rem;
  background: var(--bg-card);
  border: 1px dashed var(--border-input);
  border-radius: 8px;
  text-align: center;
  opacity: 0.7;
}

.music-services {
  padding: 4rem 2rem;
  text-align: center;
  background: rgba(139, 157, 131, 0.05);
}

.music-services h2 {
  margin-bottom: 1rem;
}

.services-list {
  max-width: 500px;
  margin: 2rem auto;
  text-align: left;
  list-style: none;
}

.services-list li {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--bg-card);
  border-left: 3px solid var(--current-accent);
  border-radius: 4px;
}

/* ===== TECH PAGE SPECIFIC ===== */
body.tech {
  --current-accent: var(--accent-steel);
}

body.tech h2 {
  color: var(--current-accent);
}

body.tech .btn-primary {
  background: var(--current-accent);
  color: var(--text-primary);
}

body.tech .btn-primary:hover {
  box-shadow: 0 4px 12px rgba(74, 95, 122, 0.3);
}

.project-showcases {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.project-showcases h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-top: 3rem;
}

.project-card {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 3rem;
  align-items: center;
}

.project-card:nth-child(even) {
  direction: rtl;
}

.project-card:nth-child(even) > * {
  direction: ltr;
}

.project-media {
  aspect-ratio: 16/9;
  background: rgba(232, 232, 232, 0.05);
  border: 1px solid rgba(232, 232, 232, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--current-accent);
}

.project-content h3 {
  font-size: 1.8rem;
  color: var(--current-accent);
  margin-bottom: 0.5rem;
}

.project-meta {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.project-tech {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.project-tech li {
  padding: 0.4rem 0.8rem;
  background: rgba(74, 95, 122, 0.1);
  border: 1px solid rgba(74, 95, 122, 0.3);
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--current-accent);
}

.project-link {
  display: inline-block;
  color: var(--current-accent);
  font-weight: 600;
  margin-top: 1rem;
  transition: transform 0.3s ease;
}

.project-link:hover {
  transform: translateX(5px);
}

.technical-skills {
  padding: 4rem 2rem;
  background: var(--bg-subtle);
}

.technical-skills h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.skill-category {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.skill-category h3 {
  color: var(--current-accent);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.skill-category ul {
  list-style: none;
}

.skill-category li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.skill-category li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--current-accent);
}

.consulting-cta {
  padding: 4rem 2rem;
  text-align: center;
  background: rgba(74, 95, 122, 0.05);
}

.consulting-cta h2 {
  margin-bottom: 1rem;
}

.consulting-cta > p {
  max-width: 700px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

.consulting-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 2rem auto;
}

.consulting-areas div {
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border-left: 3px solid var(--current-accent);
  border-radius: 4px;
  text-align: left;
}

@media (max-width: 768px) {
  .project-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-card:nth-child(even) {
    direction: ltr;
  }

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

/* ==========================================
   SERVICES PAGE
   ========================================== */

body.services {
  --current-accent: var(--accent-gold);
}

/* Hero CTAs */
.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.services-intro {
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
}

.services-intro .intro-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* Credentials Section */
.credentials {
  padding: 3rem 2rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 4rem;
}

.credentials-list {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.credential-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.credential-item strong {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--current-accent);
  font-weight: 700;
}

.credential-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.portfolio-links {
  text-align: center;
  margin-top: 1.5rem;
}

.portfolio-links p {
  font-size: 1rem;
  color: var(--text-muted);
}

.portfolio-links a {
  color: var(--current-accent);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.portfolio-links a:hover {
  opacity: 0.7;
}

/* Service Packages */
.service-packages {
  padding: 4rem clamp(1.25rem, 4vw, 2rem);
  max-width: 1300px;
  margin: 0 auto 6rem;
}

.service-packages h2 {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.package-card {
  background: rgba(232, 232, 232, 0.03);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2.5rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.package-card:hover,
.package-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--current-accent);
  will-change: transform; /* Only use when actively animating */
}

.package-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-icon);
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.package-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.package-description {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.package-includes {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  flex-grow: 1;
}

.package-includes li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-muted);
  line-height: 1.6;
}

.package-includes li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--current-accent);
  font-weight: 600;
}

.package-pricing {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem 0 0.5rem;
  color: var(--text-primary);
}

.package-pricing .price {
  color: var(--current-accent);
  font-size: 2rem;
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.package-card .btn {
  margin-top: auto;
}

/* Music Package Accent */
.music-package:hover {
  border-color: var(--accent-sage);
}

.music-package .package-includes li::before {
  color: var(--accent-sage);
}

.music-package .price {
  color: var(--accent-sage);
}

/* Research Package Accent */
.research-package:hover {
  border-color: var(--accent-wine);
}

.research-package .package-includes li::before {
  color: var(--accent-wine);
}

.research-package .price {
  color: var(--accent-wine);
}

/* Tech Package Accent */
.tech-package:hover {
  border-color: var(--accent-steel);
}

.tech-package .package-includes li::before {
  color: var(--accent-steel);
}

.tech-package .price {
  color: var(--accent-steel);
}

/* Work Process */
.work-process {
  padding: 4rem clamp(1.25rem, 4vw, 2rem);
  max-width: 1300px;
  margin: 0 auto 6rem;
}

.work-process h2 {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.process-step {
  position: relative;
  padding-top: 3rem;
}

.step-number {
  position: absolute;
  top: 0;
  left: 0;
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--current-accent);
  opacity: 0.3;
  line-height: 1;
}

.process-step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.process-step p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* Testimonials */
.testimonials {
  padding: 4rem clamp(1.25rem, 4vw, 2rem);
  max-width: 1300px;
  margin: 0 auto 6rem;
}

.testimonials h2 {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem;
  transition: border-color 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--current-accent);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.testimonial-author {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Testimonial CTA */
.testimonial-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.testimonial-cta .cta-text {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 600;
}

/* Booking CTA */
.booking-cta {
  padding: 4rem clamp(1.25rem, 4vw, 2rem);
  max-width: 1300px;
  margin: 0 auto 6rem;
  text-align: center;
}

.booking-cta h2 {
  margin-bottom: 1rem;
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.booking-cta > p {
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.125rem;
  color: var(--text-muted);
}

.cta-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
  gap: 3rem;
  margin-top: 3rem;
  text-align: left;
}

.option-calendly,
.option-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2.5rem;
}

.option-calendly h3,
.option-form h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.option-calendly p,
.option-form p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.calendly-embed-placeholder {
  background: var(--bg-subtle);
  border: 2px dashed var(--border-subtle);
  border-radius: 8px;
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-muted);
  margin: 1.5rem 0;
}

.calendly-embed {
  min-width: 320px;
  height: 700px;
}

.embed-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 1rem;
}

/* Inquiry Form */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group label span {
  color: var(--current-accent);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-input);
  border: 1px solid var(--border-input);
  border-radius: 4px;
  padding: 0.875rem 1rem;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--current-accent);
  background: var(--bg-card);
}

/* Enhanced keyboard-only focus indicators */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
  outline: 3px solid var(--current-accent);
  outline-offset: 3px;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23E8E8E8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* Form Status Messages */
.form-status {
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
  display: none;
  font-size: 0.95rem;
}

.form-status--error {
  display: block;
  background: rgba(220, 38, 38, 0.1);
  border: 1px solid rgba(220, 38, 38, 0.3);
  color: #fca5a5;
}

.form-status--success {
  display: block;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

/* FAQ */
.faq {
  padding: 4rem clamp(1.25rem, 4vw, 2rem);
  max-width: 1300px;
  margin: 0 auto 6rem;
}

.faq h2 {
  max-width: 1300px;
  margin-left: auto;
  margin-right: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

.faq-items {
  max-width: 1300px;
  margin: 3rem auto 0;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
}

.faq-item:hover {
  border-color: var(--current-accent);
}

.faq-question {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.faq-answer {
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* FAQ CTA */
.faq-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.faq-cta h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.faq-cta p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* Responsive - Services Page */
@media (max-width: 768px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .cta-options {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 520px) {
  .service-packages {
    padding: 3rem 1.25rem;
    margin-bottom: 4.5rem;
  }

  .packages-grid {
    gap: 1.5rem;
  }

  .package-card {
    padding: 1.75rem;
    border-radius: 10px;
  }

  .package-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
  }

  .package-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.85rem;
  }

  .package-description {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }

  .package-includes {
    margin: 1.25rem 0;
  }

  .package-includes li {
    padding: 0.45rem 0 0.45rem 1.25rem;
  }

  .package-pricing {
    font-size: 1.35rem;
    margin: 1.5rem 0 0.35rem;
  }

  .package-pricing .price {
    font-size: 1.75rem;
  }

  .pricing-note {
    margin-bottom: 1.25rem;
  }
}

/* ==========================================
   ABOUT PAGE
   ========================================== */

body.about {
  --current-accent: var(--accent-gold);
}

.about-intro {
  padding: 3rem 2rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  align-items: start;
}

.about-image {
  position: sticky;
  top: 120px;
}

.headshot-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-input);
  border: 2px solid var(--border-subtle);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--current-accent);
  text-align: center;
  padding: 2rem;
}

.about-text h2 {
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.background-highlights {
  padding: 4rem 2rem;
  background: var(--bg-subtle);
}

.background-highlights h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.highlight-card h3 {
  color: var(--current-accent);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.highlight-card p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.current-work {
  padding: 4rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.current-work h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.current-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.current-item {
  padding: 2rem;
  background: var(--bg-card);
  border-left: 4px solid var(--current-accent);
  border-radius: 8px;
}

.current-item h3 {
  color: var(--current-accent);
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
}

.current-item p {
  line-height: 1.6;
  opacity: 0.9;
  color: var(--text-muted);
}

.values {
  padding: 4rem 2rem;
  background: var(--bg-subtle);
}

.values h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  text-align: center;
}

.value-card h3 {
  color: var(--current-accent);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.value-card p {
  line-height: 1.6;
  opacity: 0.9;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.personal-section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.personal-section h2 {
  margin-bottom: 1.5rem;
}

.personal-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: 0.95;
  color: var(--text-muted);
}

.about-cta {
  padding: 4rem 2rem;
  text-align: center;
  background: rgba(212, 175, 55, 0.05);
}

.about-cta h2 {
  margin-bottom: 1rem;
}

.about-cta > p {
  max-width: 700px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  opacity: 0.9;
  color: var(--text-muted);
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Responsive - About Page */
@media (max-width: 768px) {
  .intro-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    position: static;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .highlights-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   CONTACT PAGE
   ========================================== */

body.contact {
  --current-accent: var(--accent-gold);
}

.contact-methods {
  padding: 3rem 2rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-option {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  text-align: center;
}

.primary-option {
  border: 2px solid var(--current-accent);
  background: rgba(212, 175, 55, 0.05);
}

.contact-option h2 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.contact-option p {
  opacity: 0.9;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-option .btn {
  margin-top: 1rem;
}

.contact-form-section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-form-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 3rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group.half {
  margin-bottom: 0;
}

.checkbox-group {
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--current-accent);
}

.checkbox-group label {
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 0;
}

.contact-form .btn-large {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.form-footer {
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 1.5rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.social-section {
  padding: 4rem 2rem;
  background: var(--bg-subtle);
}

.social-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.social-links-extended {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.social-link {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

.social-link:hover {
  transform: translateY(-5px);
  border-color: var(--current-accent);
  background: var(--bg-input);
}

.social-link .social-icon {
  display: block;
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  object-fit: contain;
}

.social-link .social-icon-placeholder {
  background: var(--current-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-primary);
}

.social-label {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--current-accent);
  margin-bottom: 0.5rem;
}

.social-desc {
  font-size: 0.9rem;
  opacity: 0.8;
  color: var(--text-muted);
}

.availability-section {
  padding: 4rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.availability-section h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.availability-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.availability-item {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
}

.availability-item h3 {
  color: var(--current-accent);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.availability-item p {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Responsive - Contact Page */
@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .availability-info {
    grid-template-columns: 1fr;
  }

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

  .social-links-extended {
    grid-template-columns: 1fr;
  }
}
