/* ============================================
   RONAN TILLOTSON PORTFOLIO
   Flat Minimal Design System
   ============================================ */

/* Distinctive typography - Bebas Neue for display, DM Sans for body */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */

:root {
  /* Colors - Apple-Style Clean Minimal */
  --color-void: #000000;
  --color-gold: #FF9500;
  --color-bg: #000000;
  --color-bg-light: rgba(255, 255, 255, 0.04);
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-text: #FFFFFF;
  --color-text-secondary: rgba(255, 255, 255, 0.65);
  --color-text-headline: #FF9500;
  --color-accent: #FF9500;
  --color-border: rgba(255, 149, 0, 0.25);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-blur: blur(12px);
  
  /* Typography - Bold display, clean body */
  --font-display: 'Bebas Neue', Impact, system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --spacing-section: 10rem;
  --spacing-container: 4rem;
  
  /* Easing Functions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.0, 0, 0.2, 1);
}

/* ============================================
   BASE STYLES
   ============================================ */

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

/* Prevent white flash during fast scrolling */
html,
body {
  background: var(--color-bg) !important;
}

/* Ensure all sections have background to prevent white gaps */
section {
  background-color: var(--color-void);
}

/* Prevent horizontal overflow */
img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* Ensure containers don't overflow */
section,
.container,
[class*="container"] {
  overflow-x: hidden;
}

/* Exception: Allow overflow for post-it note containers and projects */
/* Using class-based fallback for browsers without :has() support */
.projects-container,
.postit-container,
.marketplace-container {
  overflow-x: visible;
  overflow-y: visible;
}

/* Modern browsers with :has() support */
@supports selector(:has(*)) {
  [class*="container"]:has(.postit-notes-wrapper),
  [class*="container"]:has(.marketplace-postit-wrapper) {
    overflow-x: visible;
    overflow-y: visible;
  }
}

/* Skip to Content Link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 10002;
  padding: 1rem 2rem;
  background: var(--color-gold);
  color: var(--color-void);
  text-decoration: none;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transition: top 0.3s var(--ease);
}

.skip-to-content:focus {
  top: 0;
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scroll-padding-top: 100px;
  width: 100%;
  max-width: 100vw;
  background: var(--color-bg);
  min-height: 100%;
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  
  * {
    scroll-behavior: inherit;
  }
}

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
}

/* ============================================
   EMBERS ANIMATION
   ============================================ */

.embers-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ember {
  position: absolute;
  bottom: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: 0;
  animation: floatUp linear infinite;
}

/* Fire color variations - simplified for 15 embers */
.ember-1, .ember-4, .ember-7, .ember-10, .ember-13 {
  background: radial-gradient(circle, #FFD700 0%, #FFA500 50%, transparent 100%);
  box-shadow: 0 0 12px #FFD700, 0 0 24px #FFA500, 0 0 36px rgba(255, 215, 0, 0.5);
  width: 5px;
  height: 5px;
}

.ember-2, .ember-5, .ember-8, .ember-11, .ember-14 {
  background: radial-gradient(circle, #FF8C00 0%, #FF4500 50%, transparent 100%);
  box-shadow: 0 0 12px #FF8C00, 0 0 24px #FF4500, 0 0 36px rgba(255, 69, 0, 0.5);
  width: 6px;
  height: 6px;
}

.ember-3, .ember-6, .ember-9, .ember-12, .ember-15 {
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  box-shadow: 0 0 12px var(--color-gold), 0 0 24px rgba(255, 174, 46, 0.5);
  width: 5px;
  height: 5px;
}

/* Ember positions - spread across screen width */
.ember-1 { left: 5%; animation-duration: 11s; animation-delay: 0s; }
.ember-2 { left: 12%; animation-duration: 13s; animation-delay: 0.3s; }
.ember-3 { left: 20%; animation-duration: 15s; animation-delay: 0.6s; }
.ember-4 { left: 28%; animation-duration: 12s; animation-delay: 0.9s; }
.ember-5 { left: 35%; animation-duration: 14s; animation-delay: 0.2s; }
.ember-6 { left: 42%; animation-duration: 16s; animation-delay: 0.5s; }
.ember-7 { left: 50%; animation-duration: 13s; animation-delay: 0.8s; }
.ember-8 { left: 58%; animation-duration: 15s; animation-delay: 0.1s; }
.ember-9 { left: 65%; animation-duration: 17s; animation-delay: 0.4s; }
.ember-10 { left: 72%; animation-duration: 12s; animation-delay: 0.7s; }
.ember-11 { left: 78%; animation-duration: 14s; animation-delay: 1s; }
.ember-12 { left: 84%; animation-duration: 16s; animation-delay: 0.35s; }
.ember-13 { left: 90%; animation-duration: 13s; animation-delay: 0.65s; }
.ember-14 { left: 95%; animation-duration: 15s; animation-delay: 0.95s; }
.ember-15 { left: 3%; animation-duration: 17s; animation-delay: 0.25s; }

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0;
  }
  3% {
    opacity: 1;
  }
  15% {
    opacity: 1;
  }
  50% {
    transform: translateX(calc(var(--drift, 0) * 1px)) scale(1.15);
    opacity: 0.85;
  }
  85% {
    opacity: 0.6;
  }
  100% {
    transform: translateY(-100vh) translateX(calc(var(--drift, 0) * 1px)) scale(0.4);
    opacity: 0;
  }
}

/* Horizontal drift variation for natural movement */
.ember-1 { --drift: 15; }
.ember-2 { --drift: -20; }
.ember-3 { --drift: 25; }
.ember-4 { --drift: -18; }
.ember-5 { --drift: 22; }
.ember-6 { --drift: -25; }
.ember-7 { --drift: 18; }
.ember-8 { --drift: -22; }
.ember-9 { --drift: 20; }
.ember-10 { --drift: -15; }
.ember-11 { --drift: 28; }
.ember-12 { --drift: -20; }
.ember-13 { --drift: 24; }
.ember-14 { --drift: -18; }
.ember-15 { --drift: 19; }

/* Hide Scrollbar - Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 0;
  display: none;
}

/* Hide Scrollbar - Firefox */
* {
  scrollbar-width: none;
}

/* Using default system cursor for better usability */

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Clean Reveal Animation - Apple Style */
@keyframes echoReveal {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subtle fade up for elements */
.echo-animation {
  position: relative;
}


/* ============================================
   NAVIGATION
   ============================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.5rem var(--spacing-container);
  background: rgba(2, 0, 5, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 174, 46, 0.08);
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  transform: translateY(-100%);
  opacity: 0;
}

nav.visible {
  transform: translateY(0);
  opacity: 1;
}

nav.scrolled {
  padding: 0.4rem var(--spacing-container);
  border-bottom: 1px solid rgba(255, 174, 46, 0.15);
  background: rgba(2, 0, 5, 0.85);
}

.nav-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1800px;
  margin: 0 auto;
  gap: 2rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  white-space: nowrap;
  flex-wrap: nowrap;
}

.nav-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s var(--ease);
  padding: 0.5rem 0.75rem;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width 0.3s var(--ease), opacity 0.3s var(--ease);
  opacity: 0;
  box-shadow: 0 0 10px rgba(255, 149, 0, 0.5);
}

.nav-links a:hover {
  color: var(--color-gold);
  text-shadow: 0 0 15px rgba(255, 149, 0, 0.4);
  transform: translateY(-2px);
}

.nav-links a:hover::after {
  width: 80%;
  opacity: 1;
}

.nav-links a.active {
  color: var(--color-gold);
  text-shadow: 0 0 20px rgba(255, 149, 0, 0.6);
}

.nav-links a.active::after {
  width: 80%;
  opacity: 1;
}

.nav-links a:focus {
  outline: none;
}

.nav-links a:focus-visible {
  outline: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--color-text);
  transition: all 0.3s var(--ease);
  display: block;
}

.hamburger:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

.hamburger:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 4px;
  border-radius: 4px;
}


/* ============================================
   HERO SECTION - Bold Poster-Style Design
   ============================================ */

.hero {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem var(--spacing-container) 4rem;
  position: relative;
  background: var(--color-bg);
  overflow: visible;
  isolation: isolate;
  text-align: center;
}

/* Transparent Overlay Elements for Depth - Apple Style */
.hero-overlays {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 150;
  overflow: visible;
}

.overlay-shape {
  position: absolute;
  border: 1px solid rgba(255, 149, 0, 0.15);
  animation: floatOverlay 25s ease-in-out infinite;
}

/* Large circle that overlaps the name - creates depth */
.overlay-circle-1 {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  top: 15%;
  left: 8%;
  background: radial-gradient(circle, rgba(255, 149, 0, 0.03) 0%, transparent 60%);
  opacity: 0.6;
  animation-delay: 0s;
  animation-duration: 20s;
  z-index: 150;
}

/* Medium circle on right side */
.overlay-circle-2 {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  bottom: 25%;
  right: 5%;
  background: radial-gradient(circle, rgba(255, 149, 0, 0.025) 0%, transparent 60%);
  opacity: 0.5;
  animation-delay: 3s;
  animation-duration: 22s;
  z-index: 150;
}

/* Small accent circle */
.overlay-circle-3 {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  top: 60%;
  right: 20%;
  background: radial-gradient(circle, rgba(255, 149, 0, 0.04) 0%, transparent 60%);
  opacity: 0.4;
  animation-delay: 5s;
  animation-duration: 18s;
  z-index: 150;
}

/* Rectangle that partially covers text */
.overlay-rect-1 {
  width: 350px;
  height: 350px;
  border-radius: 4px;
  top: 25%;
  left: 55%;
  background: linear-gradient(135deg, rgba(255, 149, 0, 0.02) 0%, transparent 80%);
  transform: rotate(12deg);
  opacity: 0.5;
  animation-delay: 2s;
  animation-duration: 24s;
  z-index: 150;
}

/* Smaller rectangle accent */
.overlay-rect-2 {
  width: 200px;
  height: 200px;
  border-radius: 4px;
  bottom: 20%;
  left: 10%;
  background: linear-gradient(45deg, rgba(255, 149, 0, 0.02) 0%, transparent 80%);
  transform: rotate(-8deg);
  opacity: 0.4;
  animation-delay: 4s;
  animation-duration: 26s;
  z-index: 150;
}

@keyframes floatOverlay {
  0%, 100% {
    transform: translate(0, 0) rotate(var(--base-rotation, 0deg));
  }
  33% {
    transform: translate(20px, -15px) rotate(calc(var(--base-rotation, 0deg) + 3deg));
  }
  66% {
    transform: translate(-15px, 10px) rotate(calc(var(--base-rotation, 0deg) - 2deg));
  }
}

.overlay-rect-1 { --base-rotation: 12deg; }
.overlay-rect-2 { --base-rotation: -8deg; }
.hero-container {
  max-width: 1600px;
  width: 100%;
  position: relative;
  z-index: 100;
  text-align: center;
  isolation: isolate;
  overflow: visible;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 100;
  isolation: isolate;
  overflow: visible;
  padding: 2rem 0;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

/* Eyebrow - Vibrant rotating text that grabs attention */
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: echoReveal 0.8s 0.2s var(--ease-out) forwards;
  position: relative;
  z-index: 200;
  text-shadow: 0 0 30px rgba(255, 149, 0, 0.6), 0 0 60px rgba(255, 149, 0, 0.3);
  padding: 0.5rem 1rem;
  white-space: nowrap;
  flex-wrap: nowrap;
}

/* Rotating text smooth transition with glow */
#rotatingText {
  display: inline-block;
  transition: opacity 0.5s var(--ease);
  min-width: 320px;
  text-align: center;
  color: var(--color-gold);
  font-weight: 700;
  white-space: nowrap;
}

#rotatingText.fade-out {
  opacity: 0;
}

/* Modern Text Box Styling - Removed boxes, using expressive styling instead */
.text-box {
  position: relative;
  z-index: 10;
}

/* Hero Title - Massive Apple-Style Typography */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(6rem, 22vw, 20rem);
  font-weight: 400;
  line-height: 0.85;
  letter-spacing: 0.02em;
  margin-bottom: 2rem;
  text-transform: uppercase;
  position: relative;
  opacity: 0;
  animation: echoReveal 1s 0.4s var(--ease-out) forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 100;
  isolation: isolate;
}

.title-line {
  display: block;
  color: var(--color-gold);
  position: relative;
  z-index: 100;
}

/* Create depth by having first name behind some overlays, last name in front */
.title-line:first-child {
  z-index: 100;
}

.title-line:last-child {
  z-index: 200;
}

/* Text Masking - Clean single color with subtle glow */
.text-masked {
  color: var(--color-gold);
  position: relative;
  z-index: 100;
  isolation: isolate;
  opacity: 0;
  animation: echoReveal 1s 0.4s var(--ease-out) forwards;
}

.text-masked::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(255, 149, 0, 0.15) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* Vertical spacing between RONAN and TILLOTSON */
.hero-title .title-line + .title-line {
  margin-top: 0.1em;
}

/* Subtitle - Eye-catching, positioned lower with embossed effect */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  margin-top: 4rem;
  margin-bottom: 2rem;
  opacity: 0;
  animation: echoReveal 0.8s 0.6s var(--ease-out) forwards;
  max-width: 100%;
  width: 100%;
  z-index: 100;
  position: relative;
  padding: 0 1rem;
  text-align: center;
  line-height: 1.5;
  box-sizing: border-box;
  /* Embossed effect - light from top-left, shadow on bottom-right */
  text-shadow: 
    -1px -1px 0 rgba(255, 255, 255, 0.6),
    1px 1px 0 rgba(0, 0, 0, 0.5),
    -2px -2px 4px rgba(255, 255, 255, 0.3),
    2px 2px 4px rgba(0, 0, 0, 0.3);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  display: block;
  margin-left: auto;
  margin-right: auto;
  word-spacing: normal;
}

/* Ensure eyebrow stays above overlays with vibrant styling */
.hero-eyebrow {
  z-index: 200;
}

.hero-eyebrow .eyebrow-icon {
  color: var(--color-gold);
  font-size: 0.5em;
  filter: drop-shadow(0 0 10px rgba(255, 149, 0, 0.8));
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.15);
  }
}


/* Meta Information - Two-line Grid with Divider */
.hero-meta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.1vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--color-text-secondary);
  opacity: 0;
  animation: fadeIn 0.5s 0.8s var(--ease-out) forwards;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 1.125rem 2.5rem;
  border-radius: 100px;
  border: 1px solid rgba(255, 174, 46, 0.2);
  z-index: 1;
  position: relative;
}

.meta-item {
  display: inline-block;
}

.meta-divider {
  color: var(--color-gold);
  font-weight: 700;
  opacity: 0.5;
}

/* ============================================
   SECTION HEADERS - Clean Simple Design
   ============================================ */

.section-header {
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 0;
  position: relative;
  text-transform: uppercase;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 0;
}

/* ============================================
   SECTION DIVIDERS
   ============================================ */

/* Section Divider - Simple Gold Line */
.about-section,
.projects-section,
.photography-section,
.contact-section {
  border-top: 1px solid rgba(255, 174, 46, 0.2);
  position: relative;
}

.about-section {
  min-height: auto;
  padding: calc(var(--spacing-section) * 0.8) var(--spacing-container);
  background: var(--color-void);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

/* Subtle atmospheric glow behind about section */
.about-section::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.about-section::after {
  display: none;
}

.about-container {
  max-width: 1800px;
  width: 100%;
  max-width: min(1800px, 100%);
  margin: 0 auto;
  position: relative;
  z-index: 2;
  overflow-x: hidden;
}

.about-container .section-header {
  margin-bottom: 2rem;
}

.about-container .section-title {
  font-size: clamp(4rem, 12vw, 10rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--color-gold);
  margin-bottom: 0;
  position: relative;
  text-transform: uppercase;
}

.about-container .section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 0;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.about-left {
  display: flex;
  flex-direction: column;
  padding-right: 0;
  padding-left: 6rem;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
  padding-right: 0;
  height: 100%;
}

/* About Items */
.about-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), all 0.3s var(--ease);
  padding: 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 174, 46, 0.2);
  border-left: 4px solid var(--color-gold);
  border-radius: 18px;
  margin-bottom: 1.25rem;
  position: relative;
  width: 100%;
  max-width: 100%;
  z-index: 1;
  overflow: hidden;
}

/* Subtle glow behind about items */
.about-item::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}

/* All items aligned - no staggered effect */
.about-item:nth-child(1),
.about-item:nth-child(2),
.about-item:nth-child(3),
.about-item:nth-child(4) {
  transform: translateY(20px) translateX(0);
}

.about-item:last-child {
  margin-bottom: 0;
}

.about-item.visible {
  opacity: 1;
}

.about-item.visible:nth-child(1),
.about-item.visible:nth-child(2),
.about-item.visible:nth-child(3),
.about-item.visible:nth-child(4) {
  transform: translateY(0) translateX(0);
}

.about-item:hover {
  border-color: var(--color-gold);
  border-left-color: var(--color-gold);
}

.about-item:hover::before {
  opacity: 0.5;
}

.about-item:hover:nth-child(1),
.about-item:hover:nth-child(2),
.about-item:hover:nth-child(3),
.about-item:hover:nth-child(4) {
  transform: translateY(0) translateX(0);
}

.about-item-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-gold);
  margin: 0;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-transform: uppercase;
}

.about-item-text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  color: var(--color-text);
  font-weight: 400;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  width: auto;
  max-width: 100%;
  letter-spacing: 0.01em;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Add subtle color accents to key phrases */
.about-item-text strong,
.about-item-text em {
  color: var(--color-text);
  font-weight: 600;
  font-style: normal;
}

.about-right {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  position: relative;
  width: 100%;
  max-width: 100%;
  padding-left: 2rem;
  overflow: visible;
}

.about-image-wrapper {
  position: relative;
  width: 90%;
  max-width: 90%;
  height: 120%;
  overflow: visible;
  margin: 0;
  margin-left: auto;
  display: flex;
  align-items: stretch;
  padding: 8px;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-radius: 18px;
  border: 1px solid var(--color-gold);
  transition: transform 0.3s var(--ease), opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  flex: 1;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
}

.about-image-wrapper img.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-image-wrapper img.visible:hover {
  transform: translateY(0) scale(1.02);
  border-color: var(--color-gold);
  cursor: pointer;
}

.about-image-wrapper img {
  cursor: pointer;
  transition: transform 0.3s var(--ease), opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), border-color 0.3s var(--ease);
}

@media (max-width: 1200px) {
  .about-section {
    min-height: auto;
    padding: var(--spacing-section) var(--spacing-container);
  }
  
  .about-layout { 
    grid-template-columns: 1fr; 
    gap: 4rem; 
  }
  
  .about-left {
    padding-right: 0;
    padding-left: 2rem;
  }
  
  .about-content {
    gap: 2rem;
  }
  
  .about-right {
    padding-left: 0;
    justify-content: center;
  }
  
  .about-image-wrapper {
    aspect-ratio: 3 / 4;
    width: 85%;
    max-width: 85%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .about-section {
    padding: 5rem var(--spacing-container);
    align-items: flex-start;
    overflow: visible;
  }
  
  .about-container .section-header {
    margin-bottom: 2.5rem;
  }
  
  .about-content {
    gap: 1.5rem;
  }
  
  .about-left {
    padding-left: 0;
    padding-right: 0;
  }
  
  .about-item {
    padding: 1.25rem;
  }
  
  .about-item-heading {
    font-size: clamp(1.25rem, 4vw, 1.75rem);
  }
  
  .about-item-text {
    font-size: clamp(0.95rem, 3vw, 1.125rem);
  }
  
  .about-image-wrapper {
    aspect-ratio: 3 / 4;
    width: 85%;
    max-width: 85%;
    margin: 0 auto;
  }
  
  .about-right {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .nav-container {
    gap: 0.5rem;
    justify-content: flex-end;
  }
  
  .nav-links {
    gap: 0.75rem;
    justify-content: flex-end;
  }
  
  .nav-links a {
    font-size: 0.65rem;
    flex-shrink: 0;
  }
  
  .about-section { 
    padding: 4rem var(--spacing-container); 
    align-items: flex-start;
    overflow: visible;
  }
  
  .about-container .section-title { 
    font-size: clamp(3rem, 12vw, 5rem);
  }
  
  .about-container .section-title::after {
    width: 60px;
    height: 2px;
    bottom: -0.5rem;
  }
  
  .about-content {
    gap: 2rem;
  }
  
  .about-left {
    padding-left: 0;
    padding-right: 0;
  }
  
  .about-item {
    padding: 1rem;
  }
  
  .contact-text-main {
    white-space: normal;
    text-align: center;
  }
}
/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects-section {
  padding: var(--spacing-section) var(--spacing-container);
  background: var(--color-void);
  position: relative;
  overflow: visible;
}

/* Allow overflow for post-it note projects - class-based fallback */
.projects-section {
  overflow: visible;
}

/* Subtle atmospheric glow behind projects section */
.projects-section::before {
  content: '';
  position: absolute;
  bottom: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

.projects-section::after {
  display: none;
}

.projects-container {
  max-width: min(1800px, 100%);
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  overflow: visible !important;
  overflow-x: visible !important;
  overflow-y: visible !important;
  contain: none;
}

/* Projects container overflow - no :has() dependency */

/* Sequential Toyfight.co-Style Layout */
.projects-sequential {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 4rem;
  overflow: visible;
}

/* Individual Project Item */
.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 60vh;
  padding: 4rem 0;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  position: relative;
  will-change: opacity, transform;
  overflow: visible;
}

.project-item.visible {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

/* Media Left Layout */
.project-item.media-left {
  grid-template-areas: "media text";
}

.project-item.media-left .project-media {
  grid-area: media;
}

.project-item.media-left .project-text {
  grid-area: text;
}

/* Media Right Layout */
.project-item.media-right {
  grid-template-areas: "text media";
}

.project-item.media-right .project-media {
  grid-area: media;
}

.project-item.media-right .project-text {
  grid-area: text;
}

/* Project Media – shared container with enhanced styling */
.project-media {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2.5rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 174, 46, 0.2);
  transition: all 0.3s var(--ease);
  overflow: hidden;
  z-index: 1;
}

/* Subtle glow behind project media */
.project-media::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -30px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  filter: blur(80px);
  opacity: 0.08;
  z-index: -1;
  pointer-events: none;
}

/* Exclude post-it note wrappers from enhanced styling */
.project-media .postit-notes-wrapper,
.project-media .marketplace-postit-wrapper {
  position: relative;
  z-index: 2;
}

/* Override project-media styling for post-it note containers */
.project-media.postit-media {
  background: transparent;
  padding: 3rem 2rem;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: visible;
}

.project-media.postit-media::before,
.project-media.postit-media::after {
  display: none;
}

.project-media.postit-media:hover {
  transform: none;
  border: none;
  box-shadow: none;
}

/* Fallback using :has() for modern browsers */
@supports selector(:has(*)) {
  .project-item:has(.postit-notes-wrapper) .project-media,
  .project-item:has(.marketplace-postit-wrapper) .project-media {
    background: transparent;
    padding: 3rem 2rem;
    border-radius: 0;
    border: none;
    box-shadow: none;
    overflow: visible;
  }
  
  .project-item:has(.postit-notes-wrapper) .project-media::before,
  .project-item:has(.marketplace-postit-wrapper) .project-media::before {
    display: none;
  }
  
  .project-item:has(.postit-notes-wrapper) .project-media:hover,
  .project-item:has(.marketplace-postit-wrapper) .project-media:hover {
    transform: none;
    border: none;
    box-shadow: none;
  }
}

.project-media:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.project-media:hover::before {
  opacity: 0.5;
}

/* Overlapping postcard-style videos */
.stacked-video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 2;
}

.stacked-video-wrapper .video-card {
  position: relative;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 174, 46, 0.3);
  transition: all 0.3s var(--ease);
  z-index: 2;
}

.stacked-video-wrapper .video-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
}

.stacked-video-wrapper .video-card-primary {
  aspect-ratio: 16 / 9;
}

.stacked-video-wrapper .video-card-secondary {
  aspect-ratio: 16 / 9;
}

.stacked-video-wrapper .project-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Single media (SQL video, etc.) */
.project-media > .project-video,
.project-media > .project-image {
  position: relative;
  width: 100%;
  max-width: 900px;
  aspect-ratio: 16 / 9;
  min-height: 400px;
  border-radius: 12px;
  object-fit: contain;
  overflow: visible;
  border: 1px solid rgba(255, 149, 0, 0.3);
  transition: all 0.3s var(--ease);
  z-index: 2;
  background: #000;
  display: block;
}

/* Ensure video is visible and loaded */
.project-video {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto;
}

/* Video error state */
.project-video:not([src])::after,
.project-video[poster]::after {
  content: 'Video loading...';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-gold);
  font-size: 0.9rem;
  z-index: 10;
}

.project-media > .project-video:hover,
.project-media > .project-image:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
}


/* Natrol image - Uses general project-media styling, inherits all styles from .project-media */

.natrol-bg .project-image {
  aspect-ratio: auto;
  object-fit: contain;
  height: auto;
  max-height: 500px;
  border-radius: 12px;
  position: relative;
  z-index: 2;
  transition: all 0.3s var(--ease);
  cursor: pointer;
}

.natrol-bg .project-media:hover {
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.natrol-bg .project-media:hover .project-image {
  transform: scale(1.01);
}

/* Project Text Content */
.project-text {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 174, 46, 0.2);
  border-radius: 18px;
  z-index: 1;
  position: relative;
}

.project-year {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
  text-transform: none;
  margin-bottom: 0.75rem;
  display: inline-block;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--color-gold);
  border-radius: 6px;
  order: -2;
  white-space: normal;
  line-height: 1.5;
  color: var(--color-gold);
}

.project-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1;
  color: var(--color-gold);
  margin: 0 0 1rem 0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}


.project-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.8;
  color: var(--color-text);
  margin: 0;
  font-weight: 400;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.project-tags .tag {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 0.9vw, 0.875rem);
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  background: var(--color-bg-light);
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  color: var(--color-text);
  transition: all 0.3s var(--ease);
  letter-spacing: 0.03em;
  box-shadow: 0 1px 4px var(--shadow-soft);
}

.project-tags .tag:hover {
  background: transparent;
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
  opacity: 0.8;
}

/* Post-it Notes Style Layout */
.postit-notes-wrapper {
  position: relative;
  width: 100%;
  max-width: 750px;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 1rem 0;
}

.postit-note {
  position: absolute;
  width: 45%;
  aspect-ratio: 4 / 3;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 4px;
  border: 1px solid var(--color-gold);
  padding: 0;
  transition: all 0.3s var(--ease);
  overflow: hidden;
  cursor: pointer;
}

.postit-note-1 {
  top: 10%;
  left: 5%;
  transform: rotate(-8deg);
  z-index: 4;
}

.postit-note-2 {
  top: 5%;
  left: 45%;
  transform: rotate(12deg);
  z-index: 3;
}

.postit-note-3 {
  top: 50%;
  left: 8%;
  transform: rotate(6deg);
  z-index: 2;
}

.postit-note-4 {
  top: 45%;
  left: 50%;
  transform: rotate(-10deg);
  z-index: 1;
}

.postit-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.postit-note:hover {
  transform: translateY(-4px) rotate(0deg) scale(1.02);
  border-color: var(--color-gold);
  z-index: 10;
}

/* Marketplace Post-it Notes Style Layout - Smaller with full image display */
.marketplace-postit-wrapper {
  position: relative;
  width: 100%;
  max-width: 750px;
  aspect-ratio: 4 / 3;
  margin: 0;
  padding: 1rem 0;
}

.marketplace-postit-note {
  position: absolute;
  width: 45%;
  aspect-ratio: 4 / 3;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 4px;
  border: 1px solid var(--color-gold);
  padding: 0;
  transition: all 0.3s var(--ease);
  overflow: hidden;
  cursor: pointer;
}

.marketplace-postit-note-1 {
  top: 10%;
  left: 5%;
  transform: rotate(-8deg);
  z-index: 4;
}

.marketplace-postit-note-2 {
  top: 5%;
  left: 45%;
  transform: rotate(12deg);
  z-index: 3;
}

.marketplace-postit-note-3 {
  top: 50%;
  left: 8%;
  transform: rotate(6deg);
  z-index: 2;
}

.marketplace-postit-note-4 {
  top: 45%;
  left: 50%;
  transform: rotate(-10deg);
  z-index: 1;
}

.marketplace-postit-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

/* Crop SSB.png more to the right */
.marketplace-postit-note-4 .marketplace-postit-image {
  object-position: right center;
}

.marketplace-postit-note:hover {
  transform: translateY(-4px) rotate(0deg) scale(1.02);
  border-color: var(--color-gold);
  z-index: 10;
}


/* ============================================
   PHOTOGRAPHY SECTION
   ============================================ */

.photography-section {
  padding: var(--spacing-section) var(--spacing-container);
  background: var(--color-void);
  position: relative;
  overflow: hidden;
}

/* Subtle atmospheric glow behind photography section */
.photography-section::before {
  content: '';
  position: absolute;
  top: 15%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.06;
  z-index: 0;
  pointer-events: none;
}

.photography-section::after {
  display: none;
}

.photography-section .section-header {
  max-width: 1800px;
  margin: 0 auto 5rem;
  position: relative;
  z-index: 10;
}

.photo-instruction {
  font-family: var(--font-body);
  font-size: clamp(0.75rem, 1.2vw, 1rem);
  font-weight: 400;
  color: var(--color-gold);
  margin-left: 1.5rem;
  display: inline-block;
  vertical-align: middle;
  letter-spacing: 0.05em;
  position: relative;
  top: -0.2em;
  animation: instructionPulse 3s ease-in-out infinite;
}

.down-arrow {
  margin-left: 0.4rem;
  display: inline-block;
  font-size: 1.5em;
  color: var(--color-gold);
  vertical-align: middle;
  line-height: 1;
}

@keyframes instructionPulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(6px);
    opacity: 0.85;
  }
}

/* Modern Masonry Grid Layout */
.photo-grid {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 100px;
  gap: 1.5rem;
  padding: 2rem 0;
  position: relative;
  z-index: 2;
  width: 100%;
}

/* Mobile: simpler 2-column grid without masonry */
@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 1rem 0;
    grid-auto-rows: auto !important;
  }
  
  .photo-grid img {
    grid-row: span 1 !important;
    aspect-ratio: 1 !important;
    min-height: 0 !important;
  }
}

.photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
  opacity: 0;
  transform: translateY(20px);
  will-change: transform, opacity;
  border: 1px solid var(--color-gold);
  cursor: pointer;
}

/* All images use gold border */
.photo-grid img:nth-child(3n+1),
.photo-grid img:nth-child(3n+2),
.photo-grid img:nth-child(3n) {
  border-color: var(--color-gold);
}

/* Varying Heights for Masonry Effect */
.photo-grid img:nth-child(6n+1),
.photo-grid img:nth-child(6n+4) {
  grid-row: span 4;
}

.photo-grid img:nth-child(6n+2),
.photo-grid img:nth-child(6n+5) {
  grid-row: span 3;
}

.photo-grid img:nth-child(6n+3),
.photo-grid img:nth-child(6n) {
  grid-row: span 3;
}

/* Mobile: simpler 2-column grid without masonry */
@media (max-width: 768px) {
  .photo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 1rem 0;
  }
  
  .photo-grid img {
    grid-row: span 1 !important;
    aspect-ratio: 1;
    height: auto;
  }
}

.photo-grid img.visible {
  opacity: 1;
  transform: translateY(0);
}

.photo-grid img:hover {
  transform: translateY(-4px) scale(1.02) !important;
  border-color: var(--color-gold);
  z-index: 10;
}


/* ============================================
   LIGHTBOX - Apple-Style Bold Controls
   ============================================ */

.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-image {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--color-gold);
}

/* Ultra-Minimal Apple-Style Navigation Controls */
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 200;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10000;
  opacity: 0.9;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.8);
  color: #000;
  opacity: 1;
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.lightbox-close:active,
.lightbox-prev:active,
.lightbox-next:active {
  transform: scale(0.9);
  opacity: 1;
}

.lightbox-close:focus,
.lightbox-prev:focus,
.lightbox-next:focus {
  outline: none;
}

.lightbox-close:focus-visible,
.lightbox-prev:focus-visible,
.lightbox-next:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

/* Close Button - Minimal X */
.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 1.5rem;
  font-weight: 200;
  line-height: 1;
}

/* Navigation Arrows - More Visible */
.lightbox-prev,
.lightbox-next {
  width: 48px;
  height: 48px;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* More visible left arrow */
.lightbox-prev::before {
  content: '';
  width: 14px;
  height: 14px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
  margin-left: 3px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev:hover::before {
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
}

.lightbox-prev:active {
  transform: translateY(-50%) scale(0.9);
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
}

/* More visible right arrow */
.lightbox-next::before {
  content: '';
  width: 14px;
  height: 14px;
  border-right: 3px solid currentColor;
  border-top: 3px solid currentColor;
  transform: rotate(45deg);
  margin-right: 3px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-next:hover::before {
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.5));
}

.lightbox-next:active {
  transform: translateY(-50%) scale(0.9);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  min-height: 100vh;
  padding: var(--spacing-section) var(--spacing-container);
  background: var(--color-void);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  text-align: center;
}

/* Subtle atmospheric glow behind contact section */
.contact-section::before {
  content: '';
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
  filter: blur(120px);
  opacity: 0.08;
  z-index: 0;
  pointer-events: none;
}

.contact-section::after {
  display: none;
}

/* Bonfire Container */
.bonfire-container {
  position: absolute;
  bottom: 0;
  left: -20px;
  width: 220px;
  height: 250px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: screen;
  overflow: visible;
  clip-path: none;
}

/* Ensure bonfire glow extends beyond boundaries */
.bonfire-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom left;
  z-index: 2;
  opacity: 0.7;
  transform: translateX(00px) translateY(00px);
  animation: bonfirePulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 25px rgba(255, 140, 0, 0.5));
  overflow: visible;
  clip-path: none;
}

.bonfire-background {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom left;
  filter: brightness(1.3) contrast(1.15);
  z-index: 1;
}

.bonfire-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom left;
  z-index: 2;
  opacity: 0.7;
  transform: translateX(00px) translateY(00px);
  animation: bonfirePulse 3s ease-in-out infinite;
  filter: drop-shadow(0 0 25px rgba(255, 140, 0, 0.5));
}

.bonfire-orb {
  position: absolute;
  bottom: 15px;
  left: 100px;
  width: 22px;
  height: 15px;
  border-radius: 50% 40% 60% 30% / 60% 30% 70% 40%;
  background: radial-gradient(ellipse at center, #FFD700 0%, #FF8C00 35%, rgba(255, 140, 0, 0.5) 65%, transparent 100%);
  box-shadow: 0 0 15px #FFD700, 0 0 25px rgba(255, 140, 0, 0.6), 0 0 35px rgba(255, 215, 0, 0.25);
  animation: bonfireOrb 2.5s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
  filter: blur(1px);
}

@keyframes bonfirePulse {
  0%, 100% {
    opacity: 0.7;
    filter: drop-shadow(0 0 25px rgba(255, 140, 0, 0.5));
  }
  50% {
    opacity: 0.75;
    filter: drop-shadow(0 0 35px rgba(255, 140, 0, 0.6));
  }
}

@keyframes bonfireOrb {
  0%, 100% {
    transform: scale(1) rotate(0deg);
    opacity: 0.8;
    border-radius: 50% 40% 60% 30% / 60% 30% 70% 40%;
    box-shadow: 0 0 20px #FFD700, 0 0 35px rgba(255, 140, 0, 0.7), 0 0 50px rgba(255, 215, 0, 0.3);
  }
  33% {
    transform: scale(1.15) rotate(5deg);
    opacity: 0.9;
    border-radius: 45% 50% 55% 35% / 55% 35% 65% 45%;
    box-shadow: 0 0 25px #FFD700, 0 0 45px rgba(255, 140, 0, 0.8), 0 0 65px rgba(255, 215, 0, 0.4);
  }
  66% {
    transform: scale(1.1) rotate(-3deg);
    opacity: 0.85;
    border-radius: 55% 35% 50% 40% / 50% 40% 60% 35%;
    box-shadow: 0 0 22px #FFD700, 0 0 38px rgba(255, 140, 0, 0.75), 0 0 55px rgba(255, 215, 0, 0.35);
  }
}

/* Bonfire Embers */
.bonfire-embers {
  position: absolute;
  bottom: 22px;
  left: 100px;
  width: 22px;
  height: 22px;
  z-index: 3;
}

.bonfire-ember {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFD700 0%, #FF8C00 50%, transparent 100%);
  box-shadow: 0 0 8px #FFD700, 0 0 16px rgba(255, 140, 0, 0.6);
  animation: bonfireFloatUp linear infinite;
  opacity: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes bonfireFloatUp {
  0% {
    transform: translate(-50%, -50%) translateY(0) translateX(0) scale(1) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  50% {
    opacity: 0.6;
  }
  100% {
    transform: translate(-50%, -50%) translateY(var(--ember-vertical, -150px)) translateX(var(--ember-drift, 0px)) scale(0.2) rotate(var(--ember-rotation, 0deg));
    opacity: 0;
  }
}

/* Mobile adjustments for bonfire */
@media (max-width: 768px) {
  .bonfire-container {
    width: 120px;
    height: 170px;
    opacity: 0.5;
    left: -15px;
    bottom: 0;
  }
  
  .bonfire-embers {
    bottom: 15px;
    left: 70px;
    width: 20px;
    height: 20px;
  }
  
  .bonfire-ember {
    width: 3px;
    height: 3px;
  }
  
  .bonfire-orb {
    bottom: 10px;
    left: 70px;
    width: 18px;
    height: 12px;
  }
}

.contact-content {
  text-align: center;
  max-width: min(1200px, 100%);
  width: 100%;
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  overflow: visible;
  padding: 1rem 0;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-content .section-header {
  margin-bottom: 3rem;
}

.contact-content .section-title {
  font-size: clamp(4rem, 10vw, 9rem);
  margin-bottom: 0;
  text-align: center;
  display: inline-block;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.contact-content .section-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-content .section-title::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  transform: none;
  width: 0.9em;
  height: 4px;
  background: var(--color-gold);
  border-radius: 2px;
}

.contact-text-wrapper {
  margin-bottom: 3.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-text-group {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 100%;
  width: fit-content;
  align-items: center;
}

.contact-text-main {
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  line-height: 1.6;
  color: var(--color-gold);
  font-weight: 400;
  margin: 0;
  padding: 0;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.contact-text-main.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-text-sub {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.25vw, 1.1rem);
  line-height: 1.6;
  color: #FFFFFF;
  font-weight: 500;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  letter-spacing: 0.03em;
}

.contact-text-sub.visible {
  opacity: 1;
  transform: translateY(0);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  overflow: visible;
  transition: all 0.5s var(--ease-out);
}

.email-link-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 100;
}

.email-display {
  font-family: var(--font-body);
  font-size: clamp(0.875rem, 1.2vw, 1rem);
  color: var(--color-gold);
  padding: 0.75rem 1.5rem;
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 174, 46, 0.3);
  border-radius: 12px;
  opacity: 0;
  position: absolute;
  top: calc(100% + 1rem);
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  z-index: 1000;
  transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
  pointer-events: auto;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  cursor: text;
  text-align: center;
  min-width: 200px;
  white-space: nowrap;
}

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

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: 0;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  color: var(--color-text);
  text-decoration: none;
  min-width: auto;
  position: relative;
  overflow: visible;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s var(--ease-out), opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
  z-index: 10;
  margin: 0;
  pointer-events: auto !important;
  cursor: pointer;
  box-shadow: none;
}

.social-link.visible {
  opacity: 1;
  transform: translateY(0);
}

.social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-gold);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.social-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border-radius: 0;
  border: none;
  transition: all 0.3s var(--ease);
  position: relative;
}

.social-link i {
  font-size: 2.5rem;
  color: var(--color-gold);
  transition: all 0.3s var(--ease);
  position: relative;
  z-index: 1;
}

.social-link span {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s var(--ease);
  color: var(--color-text-secondary);
}

/* Ensure email link label matches other social links */
.email-link-wrapper .social-link span {
  color: var(--color-text-secondary);
}

.social-link.visible:hover {
  transform: translateY(-2px);
}

.social-link:hover .social-icon-wrapper {
  transform: scale(1.1);
}

.social-link:hover i {
  transform: scale(1.1);
  color: var(--color-gold);
}

.social-link:hover span {
  color: var(--color-gold);
}

.social-link:focus {
  outline: none;
}

.social-link:focus-visible {
  outline: none;
}

.postit-note:focus,
.marketplace-postit-note:focus {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}

.postit-note:focus-visible,
.marketplace-postit-note:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}

.photo-grid img:focus {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}

.photo-grid img:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 4px;
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1200px) {
  .about-container {
    gap: 4rem;
  }
}

@media (max-width: 1024px) {
  :root {
    --spacing-section: 6rem;
    --spacing-container: 2.5rem;
  }
  
  nav {
    padding: 0.75rem 2rem;
  }
  
  .hero {
    padding: 5rem var(--spacing-container) 4rem;
  }
  
  .hero-title {
    font-size: clamp(5rem, 16vw, 12rem);
  }
  
  .hero-eyebrow {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }
  
  #rotatingText {
    min-width: 280px;
    font-size: clamp(0.85rem, 3vw, 1.05rem);
  }
  
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .photo-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }
     
  .project-item {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 2.5rem 0;
  }
  
  .project-item.media-left,
  .project-item.media-right {
    grid-template-areas: "text" "media";
  }
  
  .project-text {
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .project-media {
    padding: 1rem;
  }
  
  .project-year {
    font-size: 0.8rem;
    padding: 0.4rem 0.875rem;
  }
  
  .project-title {
    font-size: clamp(2rem, 5vw, 3rem);
  }
  
  .project-tags .tag {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }
  
  .contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .contact-content {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .contact-text-group {
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .contact-text-main {
    padding: 0;
    text-align: center;
  }
  
  .contact-text-sub {
    padding: 0;
    text-align: center;
  }
  
  .social-links {
    gap: 2rem;
    justify-content: center;
  }
  
  .social-link {
    min-width: auto;
    padding: 0;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-section: 6rem;
    --spacing-container: 2rem;
  }
  
  nav {
    padding: 0.4rem var(--spacing-container);
    background: rgba(2, 0, 5, 0.7);
  }
  
  .nav-container {
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
    padding: 0 0.5rem;
  }
  
  .nav-container::-webkit-scrollbar {
    display: none;
  }
  
  .nav-links {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    flex-direction: row;
    padding: 0;
    gap: 0.25rem;
    transition: none;
    border: none;
    flex-wrap: nowrap;
    justify-content: flex-end;
    white-space: nowrap;
    min-width: max-content;
  }
  
  .nav-links.active {
    right: auto;
  }
  
  .hamburger {
    display: none !important;
  }
  
  .nav-links a {
    font-size: 0.6rem;
    padding: 0.35rem 0.4rem;
    letter-spacing: 0.06em;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
    min-width: fit-content;
  }
  
  .hero-subtitle {
    font-size: clamp(0.5rem, 2.8vw, 0.75rem);
    padding: 0 0.75rem;
    letter-spacing: 0;
    max-width: 100%;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
  }
  
  .hero {
    overflow-x: hidden;
    overflow-y: visible;
  }
}

/* Extra small screens - 375px and below */
@media (max-width: 375px) {
  .nav-container {
    padding: 0 0.25rem;
    gap: 0;
  }
  
  .nav-links {
    gap: 0.15rem;
  }
  
  .nav-links a {
    font-size: 0.55rem;
    padding: 0.3rem 0.3rem;
    letter-spacing: 0.04em;
  }
  
  .project-media {
    height: auto;
    min-height: 300px;
  }
  
  .hero-subtitle {
    font-size: clamp(0.4rem, 2.5vw, 0.65rem);
    padding: 0 0.25rem;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: visible;
    text-align: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
    text-overflow: clip;
  }
  
  .hero-content {
    padding: 0 0.5rem;
  }
  
  .bonfire-container {
    bottom: 0 !important;
    left: -10px;
  }
  
  .hero {
    padding: 5rem var(--spacing-container) 3rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow-x: visible;
    overflow-y: visible;
  }
  
  .hero-container {
    overflow-x: visible;
  }
  
  .hero-content {
    overflow-x: visible;
  }
  
  .hero-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
    overflow: visible;
  }
  
  .hero-content {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.5rem;
    box-sizing: border-box;
    overflow: visible;
  }
  
  .hero-title {
    font-size: clamp(3rem, 15vw, 8rem);
    margin-bottom: 1rem;
    line-height: 0.9;
  }
  
  
  .hero-eyebrow {
    margin-bottom: 1.5rem;
    font-size: clamp(0.7rem, 3vw, 0.9rem);
    padding: 0.5rem 0.75rem;
    letter-spacing: 0.15em;
    gap: 0.5rem;
    white-space: nowrap;
    flex-wrap: nowrap;
    overflow: visible;
  }
  
  #rotatingText {
    min-width: auto;
    font-size: clamp(0.65rem, 3vw, 0.85rem);
    white-space: nowrap;
  }
  
  .hero-subtitle {
    font-size: clamp(0.4rem, 2.5vw, 0.65rem);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding: 0 0.25rem;
    letter-spacing: 0;
    color: #FFFFFF;
    text-align: center;
    line-height: 1.4;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    text-transform: uppercase;
    /* Embossed effect for mobile */
    text-shadow: 
      -1px -1px 0 rgba(255, 255, 255, 0.5),
      1px 1px 0 rgba(0, 0, 0, 0.4),
      -2px -2px 3px rgba(255, 255, 255, 0.25),
      2px 2px 3px rgba(0, 0, 0, 0.25);
    white-space: nowrap;
    overflow: visible;
    font-weight: 600;
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-overflow: clip;
  }
  
  .hero-overlays {
    opacity: 0.4;
  }
  
  .overlay-shape {
    opacity: 0.3;
  }
  
  .overlay-circle-1,
  .overlay-circle-2,
  .overlay-circle-3 {
    width: 100px;
    height: 100px;
  }
  
  .overlay-rect-1,
  .overlay-rect-2 {
    width: 80px;
    height: 80px;
  }
  
  .hero-meta {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .meta-divider {
    display: none;
  }
  
  .photography-section .section-title {
    font-size: clamp(2.5rem, 10vw, 4rem);
    display: flex;
    align-items: baseline;
    flex-wrap: nowrap;
    gap: 0.75rem;
  }
  
  .section-title {
    font-size: clamp(3rem, 12vw, 5rem);
  }
  
  .section-title::after {
    width: 60px;
    height: 2px;
    bottom: -0.5rem;
  }
  
  .photo-instruction {
    display: inline-block;
    margin-left: 0;
    margin-top: 0;
    top: 0;
    font-size: clamp(0.65rem, 2vw, 0.85rem);
    white-space: nowrap;
    vertical-align: baseline;
    flex-shrink: 0;
  }
  
  .photo-instruction .down-arrow {
    font-size: 1.2em;
    margin-left: 0.3rem;
    vertical-align: middle;
  }
  
  .projects-section {
    overflow: visible !important;
  }
  
  .projects-container {
    contain: none !important;
    overflow: visible !important;
    overflow-x: visible !important;
    overflow-y: visible !important;
  }
  
    /* Override global container overflow rule for projects and about */
  .projects-container,
  .about-container {
    overflow-x: visible !important;
    overflow: visible !important;
  }
  
  .projects-sequential {
    overflow: visible !important;
  }
  
  .projects-section .section-header {
    scroll-margin-top: 100px;
  }
  
  .about-section .section-header {
    scroll-margin-top: 100px;
  }
  
  .project-item {
    grid-template-columns: 1fr;
    grid-template-areas: "text" "media" !important;
    gap: 2rem;
    min-height: auto;
    padding: 2.5rem 0;
  }
  
  .project-text {
    gap: 1rem;
    padding: 1.25rem;
  }
  
  .project-year {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
  }
  
  .project-title {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    margin-bottom: 0.5rem;
  }
  
  .project-desc {
    font-size: clamp(0.95rem, 1.1vw, 1.05rem);
    line-height: 1.6;
  }
  
  /* Make post-it notes larger on mobile */
  .postit-note,
  .marketplace-postit-note {
    width: 55% !important;
  }
  
  .postit-notes-wrapper,
  .marketplace-postit-wrapper {
    max-width: 100%;
  }
  
  .project-tags {
    gap: 0.5rem;
    margin-top: 0.75rem;
  }
  
  .project-tags .tag {
    font-size: 0.7rem;
    padding: 0.4rem 0.875rem;
  }
  
  .photo-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem !important;
    padding: 1rem 0;
  }
  
  .photo-grid img {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1 !important;
    grid-row: span 1 !important;
    object-fit: cover !important;
    min-height: 0;
  }
  
  /* Remove masonry effect on mobile - all images same size */
  .photo-grid img:nth-child(6n+1),
  .photo-grid img:nth-child(6n+2),
  .photo-grid img:nth-child(6n+3),
  .photo-grid img:nth-child(6n+4),
  .photo-grid img:nth-child(6n+5),
  .photo-grid img:nth-child(6n) {
    grid-row: span 1 !important;
  }
  
  .contact-section {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--spacing-section) var(--spacing-container);
    padding-bottom: var(--spacing-container);
    position: relative;
  }
  
  .bonfire-container {
    bottom: 0 !important;
  }
  
  .contact-content {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  .contact-content .section-header {
    margin-bottom: 2.5rem;
    text-align: center;
  }
  
  .contact-content .section-title {
    font-size: clamp(3rem, 14vw, 6rem);
    text-align: center;
    margin: 0 auto;
  }
  
  .contact-text-wrapper {
    margin-bottom: 2.5rem;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .contact-text-group {
    gap: 1rem;
  }
  
  .contact-text-main {
    padding: 0;
    font-size: clamp(1rem, 4vw, 1.25rem);
    text-align: center;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
  }
  
  .contact-text-main::before {
    display: none;
  }
  
  .contact-text-sub {
    padding: 0;
    font-size: clamp(0.875rem, 3vw, 1rem);
    color: #FFFFFF;
    font-weight: 500;
    letter-spacing: 0.02em;
  }
  
  .contact-text-group {
    gap: 1rem;
    width: 100%;
    max-width: 100%;
  }
  
  .social-links {
    gap: 2rem;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  
  .email-link-wrapper {
    width: 100%;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    gap: 0;
    position: relative;
    overflow: visible;
    order: 2;
  }
  
  /* Ensure email button itself has no extra margins affecting spacing */
  .email-link-wrapper .social-link {
    margin: 0;
  }
  
  /* On mobile, make email display relative so it doesn't affect spacing */
  .email-display {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 100%;
    z-index: 1000;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out), max-height 0.5s var(--ease-out);
    margin: 0;
  }
  
  .email-display.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    max-height: 200px;
    margin: 0;
  }
  
  /* Ensure all social links have consistent spacing */
  .social-link {
    margin: 0;
  }
  
  /* Order social links for equal spacing */
  .social-links > .social-link:first-child {
    order: 1;
  }
  
  .social-links > .social-link:last-child {
    order: 3;
  }
  
  .social-link {
    min-width: auto;
    width: auto;
    max-width: none;
    padding: 0;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: 0;
    transition: all 0.3s var(--ease);
  }
  
  .social-link:hover {
    transform: translateY(-2px);
  }
  
  .social-icon-wrapper {
    width: 72px;
    height: 72px;
    background: none;
    border: none;
  }
  
  .social-link i {
    font-size: 2.25rem;
    text-shadow: 0 0 15px rgba(255, 174, 46, 0.4), 0 0 30px rgba(255, 174, 46, 0.2);
    filter: drop-shadow(0 0 12px rgba(255, 174, 46, 0.3));
  }
  
  .social-link span {
    font-size: 0.85rem;
    color: var(--color-text-secondary);
  }
  
  /* Ensure email link label matches on mobile */
  .email-link-wrapper .social-link span {
    color: var(--color-text-secondary);
  }
  
}

/* Custom cursor removed for cleaner UX */

