@font-face {
  font-family: 'Glacial Indifference';
  src: url('fonts/glacial-indifference/GlacialIndifference-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Glacial Indifference';
  src: url('fonts/glacial-indifference/GlacialIndifference-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Times New Normal';
  src: url('fonts/Times New Normal Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* --- DESIGN SYSTEM TOKENS --- */
:root {
  --bg-primary: #121212;
  --bg-secondary: #161616;
  --bg-tertiary: #1f1f1f;
  
  --text-primary: #ffffff;
  --text-secondary: #bcbcbc;
  --text-muted: #555555;
  
  --color-accent: #d6ff00; /* Volt Green */
  --color-accent-rgb: 214, 255, 0;
  --color-border: rgba(255, 255, 255, 0.08);
  
  --font-sans: 'Glacial Indifference', system-ui, -apple-system, sans-serif;
  --font-serif: 'Times New Normal', 'Times New Roman', Times, Georgia, serif;
  
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  
  --header-height: 90px;
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* --- BASE & RESET --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
  width: 6px;
}

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

::-webkit-scrollbar-thumb {
  background: #333333;
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.05;
}

p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.editorial-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--text-primary);
}

.text-accent {
  color: var(--color-accent);
}

/* --- CONTAINER & UTILITIES --- */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 25px;
  }
}

.section-padding {
  padding: 140px 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 40px 0;
  }
}

/* Section Titles (Asymmetric/Editorial Layout) */
.section-header {
  margin-bottom: 20px;
  position: relative;
  padding-left: 24px;
}

.section-header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--color-accent);
  border-radius: 10px;
}

.section-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
}

.section-title {
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-family: var(--font-serif);
  text-transform: none;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* --- BUTTONS (Soft, Rounded, Bespoke, Non-AI style) --- */
.cta-button {
  background-color: var(--color-accent);
  color: var(--bg-primary);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  border: 1px solid var(--color-accent);
  display: inline-block;
  cursor: pointer;
}

.cta-button:hover {
  background-color: transparent;
  color: var(--color-accent);
  box-shadow: 0 0 25px rgba(214, 255, 0, 0.2);
}

.secondary-button {
  background-color: transparent;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  padding: 16px 36px;
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
  cursor: pointer;
}

.secondary-button:hover {
  border-color: var(--text-primary);
  background-color: rgba(255, 255, 255, 0.05);
}

/* --- HEADER & NAVIGATION (Glassmorphism & Fine lines) --- */
header {
  position: fixed;
  top: 24px;
  left: 24px;
  right: 24px;
  max-width: 1200px;
  margin: 0 auto;
  height: 76px;
  z-index: 1000;
  background: rgba(18, 18, 18, 0.65);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  transition: var(--transition-smooth);
}

header.scrolled {
  top: 12px;
  left: 16px;
  right: 16px;
  height: 68px;
  background: rgba(18, 18, 18, 0.92);
  border: 1px solid rgba(214, 255, 0, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

header .nav-container {
  max-width: 100%;
  padding: 0 24px;
  margin: 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  height: 45%;
}

.logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 48px;
}

.nav-item a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  transition: var(--transition-fast);
  position: relative;
  padding: 10px 0;
}

.nav-item a:hover,
.nav-item.active a {
  color: var(--text-primary);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item a:hover::after,
.nav-item.active a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta .cta-button {
  padding: 10px 20px;
  font-size: 0.75rem;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 1001;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--text-primary);
  position: absolute;
  left: 0;
  transition: var(--transition-smooth);
}

.mobile-toggle span:nth-child(1) {
  top: 0px;
}

.mobile-toggle span:nth-child(2) {
  top: 9px;
}

.mobile-toggle span:nth-child(3) {
  top: 18px;
}

.mobile-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--color-accent);
}

.mobile-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--color-accent);
}

@media (max-width: 900px) {
  header {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 70px !important;
    border-radius: 0 !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    background: rgba(18, 18, 18, 0.95) !important;
  }
  
  header.scrolled {
    top: 0 !important;
    height: 70px !important;
  }

  header .nav-container {
    padding: 0 24px !important;
  }

  header nav {
    display: contents;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    justify-content: center;
    gap: 35px;
    transition: right 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-item a {
    font-size: 1.2rem;
  }
}

/* --- HERO SECTION (FULL SECTION BACKGROUND VIDEO) --- */
#hero {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #000;
}

/* Video Canvas */
.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  /* Dark matte mask to isolate the text and fade the background - balanced middle ground */
  background:
    linear-gradient(90deg, rgba(18, 18, 18, 0.85) 0%, rgba(18, 18, 18, 0.38) 50%, rgba(18, 18, 18, 0.78) 100%),
    linear-gradient(0deg, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.18) 100%);
  z-index: 2;
}

/* Fullscreen Container layout */
.hero-container-full {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 50px;
  display: flex;
  align-items: center;
  height: 100%;
}

@media (max-width: 768px) {
  .hero-container-full {
    padding: 0 25px;
  }
}

.hero-editorial-overlay {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 650px;
}

.coordinates {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
  letter-spacing: 0.15em;
  margin-bottom: 15px;
  font-weight: 700;
  display: none;
}

.hero-massive-title {
  font-size: clamp(4.5rem, 13vw, 8.5rem);
  font-weight: 300;
  line-height: 0.8;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  font-family: var(--font-serif);
  text-transform: none;
}

.hero-sub-logo {
  font-size: 1.8rem;
  color: var(--color-accent);
  letter-spacing: 0.25em;
  margin-bottom: 25px;
  font-family: var(--font-sans);
  font-weight: 700;
  display: block;
  padding-left: 5px;
}

.hero-identity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.hero-identity-name {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-identity-sep {
  color: var(--text-muted);
}

.hero-journal-entry {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 520px;
}

.hero-action-row {
  display: flex;
  gap: 20px;
}

@media (max-width: 480px) {
  .hero-action-row {
    flex-direction: column;
    width: 100%;
  }

  .hero-action-row .cta-button,
  .hero-action-row .secondary-button {
    text-align: center;
  }
}

/* Video Control UI overlay */
.video-controls-ui {
  position: absolute;
  bottom: 45px;
  right: 50px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 4;
  display: none;
}

@media (max-width: 768px) {
  .video-controls-ui {
    bottom: 30px;
    right: 25px;
  }
}

.control-icon-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

.control-icon-btn:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
  box-shadow: 0 0 10px rgba(214, 255, 0, 0.2);
}

.control-icon-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.video-status-text {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  font-weight: 700;
}

/* --- ABOUT SECTION (Asymmetric Magazine Layout) --- */
#about {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 100px;
  align-items: center;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.about-media {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  box-shadow: 25px 25px 0px rgba(214, 255, 0, 0.04);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-info {
  display: flex;
  flex-direction: column;
}

.about-bio {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-bio p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.about-quote {
  margin-top: 45px;
  padding-left: 25px;
  position: relative;
}

.about-quote::before {
  content: '“';
  position: absolute;
  top: -15px;
  left: 5px;
  font-size: 4.5rem;
  font-family: var(--font-serif);
  color: rgba(214, 255, 0, 0.1);
  line-height: 1;
  z-index: 1;
}

.about-quote::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--color-accent);
  border-radius: 10px;
}

/* --- FIELD NOTES (Asymmetric Metric Grid) --- */
#focus-metrics {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  display: none;
}

.metrics-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
}

@media (max-width: 850px) {
  .metrics-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

.metric-item {
  text-align: left;
  position: relative;
}

.metric-value {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--color-accent);
  font-family: var(--font-sans);
  line-height: 1;
  margin-bottom: 15px;
  letter-spacing: -0.02em;
}

.metric-label {
  font-size: 0.8rem;
  color: var(--text-primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
}

.metric-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- PORTFOLIO GALLERY (Framed prints styling) --- */
#portfolio {
  background-color: var(--bg-primary);
}

.portfolio-tabs {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 50px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: var(--bg-primary);
  background: var(--color-accent);
}

.portfolio-grid-wrapper {
  position: relative;
  min-height: 500px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
  pointer-events: none;
}

.gallery-grid.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}

@media (max-width: 992px) {
  .gallery-grid {
    gap: 25px;
  }
}

/* Grid Layout definitions for unique visual cadence */
.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-lg);
}

/* Gallery Grid sizes (Pitch and Beyond unified layout) */
/* aspect-ratio per slot matches each photo's real dimensions so object-fit: cover
   doesn't have to crop away the top/bottom to force it into a mismatched box */
.pitch-grid .gallery-item:nth-child(1),
.beyond-grid .gallery-item:nth-child(1) {
  grid-column: span 8;
  aspect-ratio: 2060 / 1740;
}

.pitch-grid .gallery-item:nth-child(2),
.beyond-grid .gallery-item:nth-child(2) {
  grid-column: span 4;
  aspect-ratio: 2 / 3;
}

.pitch-grid .gallery-item:nth-child(3),
.beyond-grid .gallery-item:nth-child(3) {
  grid-column: span 4;
  aspect-ratio: 2 / 3;
}

.pitch-grid .gallery-item:nth-child(4),
.beyond-grid .gallery-item:nth-child(4) {
  grid-column: span 8;
  aspect-ratio: 3 / 2;
}

.pitch-grid .gallery-item:nth-child(5),
.beyond-grid .gallery-item:nth-child(5) {
  grid-column: span 4;
  aspect-ratio: 2646 / 3372;
}

.pitch-grid .gallery-item:nth-child(6),
.beyond-grid .gallery-item:nth-child(6) {
  grid-column: span 8;
  aspect-ratio: 3 / 2;
}

.pitch-grid .gallery-item:nth-child(7),
.beyond-grid .gallery-item:nth-child(7) {
  grid-column: span 8;
  aspect-ratio: 3 / 2;
}

.pitch-grid .gallery-item:nth-child(8),
.beyond-grid .gallery-item:nth-child(8) {
  grid-column: span 4;
  aspect-ratio: 3010 / 4000;
}

@media (max-width: 768px) {

  .pitch-grid .gallery-item,
  .beyond-grid .gallery-item {
    grid-column: span 12 !important;
    aspect-ratio: 4 / 3 !important;
  }

  .beyond-grid .gallery-item:nth-child(3) {
    aspect-ratio: 4 / 3 !important;
  }

  .gallery-item[data-id="sports-5"] img {
    object-position: 100% 70%;
  }

  .gallery-item[data-id="sports-8"] img {
    object-position: 100% 30%;
  }
}

.gallery-item-inner {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-item-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  background: linear-gradient(0deg, rgba(18, 18, 18, 0.95) 0%, rgba(18, 18, 18, 0.4) 70%, transparent 100%);
  z-index: 3;
  transform: translateY(15px);
  opacity: 0;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-item-info {
  transform: translateY(0);
  opacity: 1;
}

.item-category {
  font-size: 0.7rem;
  color: var(--color-accent);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 4px;
  display: block;
}

.item-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.item-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-style: italic;
}

/* Hover scales on placeholder content */
.gallery-item:hover .placeholder-media {
  transform: scale(1.04);
}

/* --- CONTACT SECTION --- */
#contact {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 100px;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 70px;
  }
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-pitch {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 50px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 35px;
  margin-bottom: 50px;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-method-icon {
  width: 40px;
  height: 40px;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
}

.contact-method-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.contact-method-content h4 {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.contact-method-content p,
.contact-method-content a {
  font-size: 1rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition-fast);
}

.contact-method-content a:hover {
  color: var(--color-accent);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-handle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.social-handle:hover {
  color: var(--color-accent);
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
}

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

.social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: 0 0 15px rgba(214, 255, 0, 0.2);
  transform: translateY(-3px);
}

/* Contact Form (Bespoke industrial styling) */
.contact-form-wrapper {
  background-color: var(--bg-tertiary);
  padding: 60px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 35px 25px;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  position: relative;
  width: 100%;
}

.form-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text-primary);
  outline: none;
  transition: var(--transition-fast);
}

.form-label {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), color 0.4s ease;
  transform-origin: left;
}

/* Float label interaction with new padded inputs */
.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
  transform: translateY(-28px) scale(0.8);
  color: var(--color-accent);
}

.form-input:focus {
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.05);
}

.form-submit-btn {
  background-color: var(--color-accent);
  color: var(--bg-primary);
  border: 1px solid var(--color-accent);
  padding: 18px 36px;
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 0 15px rgba(214, 255, 0, 0.1);
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.form-submit-btn:hover {
  background-color: transparent;
  color: var(--color-accent);
  box-shadow: 0 0 25px rgba(214, 255, 0, 0.3);
}

/* Success Toast Overlay */
.submit-success-msg {
  display: none;
  background-color: rgba(214, 255, 0, 0.05);
  border: 1px solid var(--color-accent);
  padding: 15px;
  color: var(--color-accent);
  text-align: center;
  font-weight: 700;
  margin-top: 20px;
  border-radius: var(--radius-md);
}

/* --- FOOTER --- */
footer {
  background-color: var(--bg-primary);
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

.footer-logo {
  height: 36px;
}

.footer-logo img {
  height: 100%;
  width: auto;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.back-to-top {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.back-to-top:hover {
  color: var(--color-accent);
}

.back-to-top svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transform: rotate(-90deg);
}

/* --- DIALOG MODAL / LIGHTBOX --- */
dialog {
  border: none;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  margin: auto;
  outline: none;
  z-index: 1002;
}

dialog::backdrop {
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.dialog-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dialog-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 2.2rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-fast);
}

.dialog-close:hover {
  color: var(--color-accent);
}

/* Modal Content Types */
.modal-video-container {
  width: 80vw;
  aspect-ratio: 16 / 9;
  max-width: 1000px;
  background-color: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.modal-video-container iframe,
.modal-video-container video {
  width: 100%;
  height: 100%;
  border: none;
}

.modal-image-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.modal-img-placeholder {
  display: flex;
  max-width: 85vw;
  max-height: 75vh;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.modal-img-placeholder img {
  width: auto;
  height: auto;
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
}

.modal-caption {
  color: var(--text-primary);
  text-align: center;
  max-width: 600px;
}

.modal-caption h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.modal-caption p {
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
}

/* Prevent body scroll when dialog is open */
body.modal-open {
  overflow: hidden;
}

/* --- MOTION & TRANSITION EFFECTS (CSS View-Timelines) --- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes fade-in-up {
      from {
        opacity: 0;
        transform: translateY(40px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes scale-up {
      from {
        opacity: 0.5;
        scale: 0.96;
      }

      to {
        opacity: 1;
        scale: 1;
      }
    }

    .reveal-scroll {
      animation: fade-in-up auto linear forwards;
      animation-timeline: view();
      animation-range: entry 5% entry 35%;
    }

    .reveal-scale {
      animation: scale-up auto linear forwards;
      animation-timeline: view();
      animation-range: entry 0% entry 30%;
    }
  }
}

/* Fallback class added via Javascript when view() isn't supported */
.reveal-observer {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-observer.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- BEAUTIFUL CSS/SVG PLACEHOLDERS --- */
.placeholder-media {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: var(--transition-smooth);
}

/* Grid background overlay for action elements */
.placeholder-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(18, 18, 18, 0.1) 0%, rgba(18, 18, 18, 0.75) 100%),
    radial-gradient(circle at center, transparent 35%, rgba(18, 18, 18, 0.3) 100%);
  z-index: 1;
}

.placeholder-content {
  z-index: 2;
  text-align: center;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.placeholder-icon {
  width: 44px;
  height: 44px;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.55;
  transition: var(--transition-smooth);
}

.placeholder-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.gallery-item:hover .placeholder-icon {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(214, 255, 0, 0.3));
}

.placeholder-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* Background gradient styling for specific assets (Raw textures) */
.bg-hero-placeholder {
  background:
    linear-gradient(225deg, rgba(214, 255, 0, 0.08) 0%, rgba(18, 18, 18, 0.95) 75%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 15px),
    #131313;
}

.bg-stephanie-placeholder {
  background:
    linear-gradient(135deg, rgba(214, 255, 0, 0.02) 0%, rgba(18, 18, 18, 0.98) 85%),
    radial-gradient(circle at top right, #1d1e22 0%, #121212 100%);
  border: 1px dashed rgba(255, 255, 255, 0.1);
}

.bg-action-1 {
  background:
    linear-gradient(to top, rgba(18, 18, 18, 0.92), transparent),
    radial-gradient(ellipse at bottom, rgba(214, 255, 0, 0.1) 0%, transparent 60%),
    #141913;
  /* Dark moss pitch tone */
}

.bg-action-2 {
  background:
    linear-gradient(to top, rgba(18, 18, 18, 0.92), transparent),
    radial-gradient(circle at 20% 30%, rgba(214, 255, 0, 0.05) 0%, transparent 50%),
    #18191d;
  /* Shadow stadium blue grey tone */
}

.bg-action-3 {
  background:
    linear-gradient(to top, rgba(18, 18, 18, 0.92), transparent),
    linear-gradient(135deg, #1b1213 0%, #121212 100%);
  /* Crimson stadium shade */
}

.bg-action-4 {
  background:
    linear-gradient(to top, rgba(18, 18, 18, 0.92), transparent),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 0%, transparent 70%),
    #141619;
  /* Dark graphite tone */
}

.bg-niche-1 {
  background:
    linear-gradient(to top, rgba(18, 18, 18, 0.92), transparent),
    #1f1c19;
  /* Soft clay portrait tone */
}

.bg-niche-2 {
  background:
    linear-gradient(to top, rgba(18, 18, 18, 0.92), transparent),
    linear-gradient(45deg, #151515 0%, #252525 100%);
  /* Ash grey photography tone */
}

.bg-niche-3 {
  background:
    linear-gradient(to top, rgba(18, 18, 18, 0.92), transparent),
    radial-gradient(circle at 80% 20%, rgba(214, 255, 0, 0.03) 0%, transparent 50%),
    #1d1916;
  /* Warm sand beach tone */
}

/* --- REAL IMAGES INTEGRATION --- */
.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
  display: block;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.about-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}