/* ============================================
   GREYBIRD MEDIA — Brand Stylesheet
   Brand Color 01: #DD5A3A (terra cotta)
   Brand Color 02: #687D85 (blue-grey)
   Brand Color 03: #000000
   Brand Color 04: #FFFFFF
   Primary Font:   Bebas Neue (heading / Bebas Kai substitute)
   Script Font:    Caveat (accent / Cosmodrome substitute)
   Body Font:      Inter
   ============================================ */

:root {
  --terra: #DD5A3A;
  --terra-dark: #c44e31;
  --terra-light: #e6745a;
  --terra-glow: rgba(221, 90, 58, 0.2);

  --blue-grey: #687D85;
  --blue-grey-dark: #4e6069;
  --blue-grey-light: #8fa3ab;

  --charcoal: #2d3436;
  --charcoal-deep: #1a1e1f;
  --charcoal-surface: #353b3d;

  --cream: #f5f2ee;
  --cream-dark: #ebe7e1;
  --white: #ffffff;
  --black: #000000;

  --text-dark: #1a1a1a;
  --text-body: #4a4a4a;
  --text-muted: #888888;
  --text-light: #f0f0f0;
  --text-light-muted: #a8b0b3;

  --font-heading: 'Bebas Neue', 'Impact', sans-serif;
  --font-script: 'Caveat', cursive;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --container: 1200px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--cream);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
}

.section {
  padding: clamp(80px, 10vw, 140px) 0;
}

/* --- Section Themes --- */
.section-dark {
  background: var(--charcoal);
  color: var(--text-light);
}

.section-light {
  background: var(--cream);
  color: var(--text-dark);
}

/* --- Script Accent (Cosmodrome substitute) --- */
.script-accent {
  font-family: var(--font-script);
  color: var(--terra);
  font-weight: 600;
  font-style: normal;
}

/* --- Preloader --- */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s;
}

#preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: 200px;
  animation: loaderFade 1.4s var(--ease-smooth) infinite;
}

@keyframes loaderFade {
  0%, 100% { opacity: 0.3; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1); }
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}

.navbar.scrolled {
  background: rgba(245, 242, 238, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.navbar.scrolled .nav-link { color: var(--text-body); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--terra); }
.navbar.scrolled .hamburger-line { background: var(--charcoal); }

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { z-index: 1001; }

.nav-logo-img {
  height: 40px;
  width: auto;
  transition: opacity 0.3s;
}

.nav-logo:hover .nav-logo-img { opacity: 0.8; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px; right: 16px;
  height: 2px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-smooth);
}

.nav-link:hover,
.nav-link.active { color: var(--white); }
.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active { color: var(--terra); }

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

.nav-cta {
  background: var(--terra) !important;
  color: var(--white) !important;
  border-radius: 6px;
  padding: 10px 24px !important;
  margin-left: 12px;
  transition: background 0.3s, transform 0.3s var(--ease-bounce), box-shadow 0.3s;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--terra-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--terra-glow);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease-smooth), opacity 0.3s;
}

.nav-toggle.active .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active .hamburger-line:nth-child(2) { opacity: 0; }
.nav-toggle.active .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal-deep);
  overflow: hidden;
}

/* YouTube video background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-video-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vh;
  min-width: 177.78vh; /* 16:9 ratio */
  min-height: 56.25vw;
  transform: translate(-50%, -50%);
  border: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.60) 40%,
    rgba(0,0,0,0.75) 70%,
    rgba(0,0,0,0.90) 100%
  );
  z-index: 1;
  transition: opacity 1.2s var(--ease-smooth);
}

/* Hero intro animation — starts hidden, JS reveals after 3s */
.hero-hidden {
  opacity: 0 !important;
}

.hero-overlay.hero-visible {
  opacity: 1;
}

.hero-content.hero-visible {
  opacity: 1;
}

.scroll-indicator.hero-visible {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 20px 100px;
  max-width: 880px;
  margin: 0 auto;
  transition: opacity 1s var(--ease-smooth);
}

.hero-location {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-grey-light);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.hero-title {
  margin-bottom: 28px;
}

.title-top {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7.5vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.05;
  background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 40%, #ffffff 60%, #f0e6e0 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroTextShimmer 6s ease-in-out infinite;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

@keyframes heroTextShimmer {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

.title-script {
  display: block;
  font-family: var(--font-script);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 600;
  background: linear-gradient(135deg, var(--terra) 0%, #f4845f 35%, var(--terra-light) 50%, #ffb088 65%, var(--terra) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroTextShimmer 6s ease-in-out infinite;
  line-height: 1.1;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--text-light-muted);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

/* Hero text staggered reveal — triggered by JS adding .hero-visible to .hero-content */
.hero-content.hero-visible .hero-location {
  opacity: 1; transform: translateY(0); transition-delay: 0.1s;
}
.hero-content.hero-visible .title-top:nth-child(1) {
  opacity: 1; transform: translateY(0); transition-delay: 0.25s;
}
.hero-content.hero-visible .title-top:nth-child(2) {
  opacity: 1; transform: translateY(0); transition-delay: 0.4s;
}
.hero-content.hero-visible .title-script {
  opacity: 1; transform: translateY(0); transition-delay: 0.55s;
}
.hero-content.hero-visible .hero-subtitle {
  opacity: 1; transform: translateY(0); transition-delay: 0.7s;
}
.hero-content.hero-visible .hero-actions {
  opacity: 1; transform: translateY(0); transition-delay: 0.85s;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  transition: opacity 0.7s var(--ease-out) 1s;
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--terra), transparent);
  animation: scrollPulse 2s var(--ease-smooth) infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.8; }
  50% { transform: scaleY(0.4); opacity: 0.2; }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all 0.35s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

/* Shimmer sweep on hover */
.btn::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,0.15) 40%,
    rgba(255,255,255,0.3) 50%,
    rgba(255,255,255,0.15) 60%,
    transparent 100%
  );
  transition: none;
}

.btn:hover::after {
  animation: btnShimmer 0.7s ease forwards;
}

@keyframes btnShimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.btn-primary {
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-dark) 50%, var(--terra) 100%);
  background-size: 200% 100%;
  color: var(--white);
}

.btn-primary:hover {
  background-position: 100% center;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px var(--terra-glow), 0 0 20px rgba(221, 90, 58, 0.15);
}

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

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

.btn-ghost:hover {
  border-color: var(--terra);
  color: var(--terra);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(221, 90, 58, 0.12);
}

.btn-outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.15);
}

.btn-outline-dark:hover {
  border-color: var(--terra);
  color: var(--terra);
  transform: translateY(-2px);
}

.btn-full { width: 100%; justify-content: center; }

/* --- Section Headers --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--terra);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section-dark .section-title { color: var(--white); }
.section-light .section-title { color: var(--charcoal); }

.section-subtitle {
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-dark .section-subtitle { color: var(--text-light-muted); }
.section-light .section-subtitle { color: var(--text-body); }

/* --- Services (dark bg) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  position: relative;
  background: var(--cream);
  border-radius: 12px;
  padding: 48px 32px 40px;
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s var(--ease-smooth);
  overflow: hidden;
}

/* Top accent bar */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--terra), var(--terra-light), var(--terra));
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-smooth);
}

/* Warm glow wash behind the card on hover */
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(ellipse at 30% 20%, rgba(221, 90, 58, 0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-smooth);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow:
    0 28px 60px rgba(0,0,0,0.35),
    0 0 30px rgba(221, 90, 58, 0.08);
}

.service-card:hover::before {
  transform: scaleX(1);
  animation: barGradient 2s linear infinite;
}

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

@keyframes barGradient {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}

/* Giant clipped number — overflows and clips at card edge */
.service-number {
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: var(--font-heading);
  font-size: 10rem;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(0, 0, 0, 0.04);
  pointer-events: none;
  transition: color 0.5s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.service-card:hover .service-number {
  color: rgba(221, 90, 58, 0.1);
  transform: scale(1.1) rotate(-3deg);
}

.service-icon-wrap {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  color: var(--terra);
  margin-bottom: 20px;
  transition: transform 0.5s var(--ease-bounce), color 0.4s, filter 0.4s;
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.15) rotate(-5deg);
  filter: drop-shadow(0 4px 12px rgba(221, 90, 58, 0.3));
}

.service-icon-wrap svg { width: 100%; height: 100%; }

.service-title {
  position: relative;
  z-index: 1;
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
  color: var(--charcoal);
}

.service-description {
  position: relative;
  z-index: 1;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-features {
  position: relative;
  z-index: 1;
  margin-bottom: 24px;
}

.service-features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.85rem;
  color: var(--text-body);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.service-features li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--terra);
  border-radius: 50%;
  transition: transform 0.3s var(--ease-bounce);
}

.service-card:hover .service-features li { color: var(--charcoal); }
.service-card:hover .service-features li::before { transform: scale(1.4); }

.service-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terra);
  transition: gap 0.4s var(--ease-bounce), color 0.3s, letter-spacing 0.3s;
}

.service-link:hover {
  gap: 14px;
  color: var(--terra-dark);
  letter-spacing: 0.12em;
}

.service-link span {
  transition: transform 0.3s var(--ease-bounce);
}

.service-card:hover .service-link span {
  transform: translateX(4px);
}

/* Additional Services */
.additional-services {
  margin-top: 60px;
  text-align: center;
}

.additional-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-light-muted);
  margin-bottom: 20px;
}

.additional-grid {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.additional-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--charcoal-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 50px;
  font-size: 0.8rem;
  color: var(--text-light-muted);
  transition: all 0.3s;
}

.additional-item:hover {
  border-color: var(--blue-grey);
  color: var(--white);
  transform: translateY(-2px);
}

.additional-item svg { color: var(--blue-grey-light); transition: color 0.3s; }
.additional-item:hover svg { color: var(--terra); }

/* --- About (light bg, centered layout) --- */
.about-body {
  max-width: 720px;
  margin: -20px auto 48px;
  text-align: center;
}

.about-body p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  text-align: center;
  padding: 36px 24px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s, border-color 0.4s;
  position: relative;
  overflow: hidden;
}

.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--terra), var(--terra-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-smooth);
}

.value-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1);
  border-color: rgba(221, 90, 58, 0.12);
}

.value-card:hover::before { transform: scaleX(1); }

.value-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(221, 90, 58, 0.08);
  border-radius: 12px;
  color: var(--terra);
  margin: 0 auto 16px;
  transition: all 0.4s var(--ease-bounce);
}

.value-card:hover .value-icon {
  background: var(--terra);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 8px 20px rgba(221, 90, 58, 0.25);
}

.value-card strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  color: var(--charcoal);
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.6;
}

.contact-title {
  text-align: left;
}

.contact-title .script-accent {
  font-size: 1.2em;
}

/* --- Stats Banner --- */
.stats-banner {
  padding: 60px 0;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(40px, 8vw, 100px);
}

.stat-item { text-align: center; }

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 5vw, 4.5rem);
  color: var(--terra);
  line-height: 1;
}

.stat-plus {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 3rem);
  color: var(--terra);
}

.stat-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin-top: 8px;
}

/* --- Work / Portfolio (light bg) --- */
.work {
  position: relative;
  overflow: hidden;
}

/* Animated background texture — layered drifting gradients */
.work-bg-texture {
  position: absolute;
  inset: -60%;
  width: 220%;
  height: 220%;
  background-image:
    radial-gradient(ellipse 600px 400px at 20% 30%, rgba(221, 90, 58, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 500px 500px at 80% 70%, rgba(104, 125, 133, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 700px 300px at 60% 20%, rgba(221, 90, 58, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 400px 600px at 30% 80%, rgba(104, 125, 133, 0.07) 0%, transparent 55%);
  animation: textureDrift 18s ease-in-out infinite alternate;
  pointer-events: none;
}

/* Second texture layer for depth */
.work-bg-texture::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 300px at 70% 40%, rgba(221, 90, 58, 0.05) 0%, transparent 100%),
    radial-gradient(circle 400px at 25% 60%, rgba(104, 125, 133, 0.06) 0%, transparent 100%);
  animation: textureDrift2 25s ease-in-out infinite alternate-reverse;
}

@keyframes textureDrift {
  0% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(-3%, 2%) rotate(0.8deg); }
  50% { transform: translate(2%, -2%) rotate(-0.5deg); }
  75% { transform: translate(-1%, 3%) rotate(0.3deg); }
  100% { transform: translate(1%, -1%) rotate(-0.2deg); }
}

@keyframes textureDrift2 {
  0% { transform: translate(2%, -1%) rotate(0.3deg); }
  50% { transform: translate(-2%, 2%) rotate(-0.6deg); }
  100% { transform: translate(1%, 1%) rotate(0.4deg); }
}

.work .container {
  position: relative;
  z-index: 1;
}

.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.work-card {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  background: var(--charcoal);
  min-height: 180px;
  transition: transform 0.5s var(--ease-smooth), box-shadow 0.5s;
}

/* Terra cotta bottom accent line */
.work-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 4px;
  background: var(--terra);
  z-index: 5;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-smooth);
}

.work-card:hover::after { transform: scaleX(1); }

.work-tall { grid-row: span 3; }
.work-wide { grid-column: span 2; min-height: 240px; }

/* Thumbnail — Ken Burns slow zoom on hover */
.work-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 4s var(--ease-smooth), filter 0.6s var(--ease-smooth);
  filter: brightness(0.85);
}

.work-card:hover .work-thumb {
  transform: scale(1.08);
  filter: brightness(0.4);
}

/* Play button — bottom-right corner, overlaps info bar, flies in from right */
.work-play {
  position: absolute;
  bottom: 8px;
  right: -80px;
  width: 64px;
  height: 64px;
  z-index: 5;
  opacity: 0;
  transition: right 0.5s var(--ease-bounce), opacity 0.4s var(--ease-smooth);
  pointer-events: none;
  filter: drop-shadow(0 6px 20px rgba(221, 90, 58, 0.4));
}

.work-play svg { width: 100%; height: 100%; }

.work-card:hover .work-play {
  right: 16px;
  opacity: 1;
}

/* Info bar — compact, slides up from bottom */
.work-overlay {
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 3;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 14px 20px 14px 20px;
  transform: translateY(100%);
  transition: transform 0.45s var(--ease-smooth);
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.work-card:hover .work-overlay {
  transform: translateY(0);
}

.work-cat {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--terra);
  margin-bottom: 2px;
}

.work-overlay h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* --- Video Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease-smooth), visibility 0.4s;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  width: 90vw;
  max-width: 1000px;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s var(--ease-bounce);
}

.lightbox.active .lightbox-content {
  transform: scale(1) translateY(0);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease-bounce);
}

.lightbox-close:hover {
  background: var(--terra);
  border-color: var(--terra);
  transform: rotate(90deg);
}

.lightbox-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.work-cta {
  text-align: center;
  margin-top: 40px;
}

/* --- Service Areas (dark bg) --- */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.area-card {
  position: relative;
  text-align: center;
  padding: 56px 28px;
  background: var(--charcoal-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  cursor: default;
  transition: transform 0.5s var(--ease-smooth), border-color 0.5s, box-shadow 0.5s;
}

/* Top accent bar — sweeps in on hover */
.area-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-smooth);
}

/* Subtle inner glow on hover */
.area-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(ellipse at 50% 0%, rgba(221, 90, 58, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease-smooth);
  pointer-events: none;
}

.area-card:hover {
  transform: translateY(-8px);
  border-color: rgba(221, 90, 58, 0.2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

.area-card:hover::before { transform: scaleX(1); }
.area-card:hover::after { opacity: 1; }

/* State silhouette — overlaid on top-left corner, terra cotta fill */
.area-silhouette {
  position: absolute;
  top: -12px;
  left: -12px;
  width: 55px;
  z-index: 10;
  color: var(--terra);
  opacity: 0.75;
  pointer-events: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
  transition: opacity 0.5s var(--ease-smooth), transform 0.5s var(--ease-smooth);
  will-change: transform;
  transform-origin: top left;
}

.area-card:hover .area-silhouette {
  opacity: 0.95;
  transform: scale(1.15);
}

/* Content layered above the silhouette */
.area-card-content {
  position: relative;
  z-index: 1;
}

.area-abbr {
  display: block;
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--terra);
  opacity: 0.85;
  line-height: 1;
  margin-bottom: 8px;
  transition: opacity 0.4s, transform 0.4s var(--ease-bounce);
}

.area-card:hover .area-abbr {
  opacity: 1;
  transform: scale(1.05);
}

.area-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 8px;
  transition: color 0.3s;
}

.area-card:hover h3 { color: var(--terra-light); }

.area-card p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  transition: color 0.3s;
}

.area-card:hover p { color: var(--text-light); }

/* --- Contact (light bg) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info .section-tag { text-align: left; }

.contact-text {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 28px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: 10px;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s var(--ease-smooth);
}

.contact-method:hover {
  border-color: rgba(221, 90, 58, 0.2);
  transform: translateX(6px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.contact-method-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(221, 90, 58, 0.08);
  border-radius: 8px;
  color: var(--terra);
  transition: all 0.3s var(--ease-bounce);
}

.contact-method:hover .contact-method-icon {
  background: var(--terra);
  color: var(--white);
  transform: rotate(-3deg);
}

.cm-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cm-value {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--charcoal);
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 36px;
}

.contact-form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.form-group {
  position: relative;
  margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px var(--terra-glow);
}

.form-group label {
  position: absolute;
  left: 16px; top: 14px;
  font-size: 0.9rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s var(--ease-smooth);
  background: var(--cream);
  padding: 0 5px;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--terra);
}

.form-group select {
  width: 100%;
  padding: 14px 16px;
  background: var(--cream);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23888' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select:focus {
  border-color: var(--terra);
  box-shadow: 0 0 0 3px var(--terra-glow);
}

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

/* --- Booking (dark bg) --- */
.booking-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.booking-embed {
  background: var(--charcoal-surface);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 32px 36px;
}

.booking-fallback {
  text-align: center;
  padding: 20px;
}

.booking-fallback p {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  margin-bottom: 14px;
}

/* --- CheckCherry Widget Overrides --- */
.checkcherry__widget__contact-form,
.checkcherry__widget {
  font-family: var(--font-body) !important;
  color: var(--text-light) !important;
}

/* Labels */
.checkcherry__widget .form-label {
  font-family: var(--font-body) !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,0.7) !important;
  letter-spacing: 0.02em;
  margin-bottom: 6px !important;
}

/* Required asterisk */
.checkcherry__widget .form-label span[style*="color: rgb(204, 0, 0)"] {
  color: var(--terra) !important;
}

/* Text inputs, textareas */
.checkcherry__widget .form-control {
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  color: var(--white) !important;
  padding: 12px 14px !important;
  transition: border-color 0.3s, box-shadow 0.3s !important;
}

.checkcherry__widget .form-control:focus {
  background: rgba(255,255,255,0.06) !important;
  border-color: var(--terra) !important;
  box-shadow: 0 0 0 3px rgba(221, 90, 58, 0.15) !important;
  outline: none !important;
}

.checkcherry__widget .form-control::placeholder {
  color: rgba(255,255,255,0.25) !important;
}

/* Select dropdowns */
.checkcherry__widget .form-select {
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  background-color: rgba(255,255,255,0.04) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 8px !important;
  color: var(--white) !important;
  padding: 12px 14px !important;
  transition: border-color 0.3s, box-shadow 0.3s !important;
  appearance: auto;
}

.checkcherry__widget .form-select:focus {
  background-color: rgba(255,255,255,0.06) !important;
  border-color: var(--terra) !important;
  box-shadow: 0 0 0 3px rgba(221, 90, 58, 0.15) !important;
  outline: none !important;
}

.checkcherry__widget .form-select option {
  background: var(--charcoal-deep) !important;
  color: var(--white) !important;
}

/* Field spacing */
.checkcherry__widget .cc_contact-form-field {
  padding: 6px 8px !important;
  margin-bottom: 4px !important;
}

/* Full-name wrapper */
.checkcherry__widget .cc-field-full-name-wrapper {
  padding: 0 8px !important;
  margin-bottom: 4px !important;
}

/* Submit button — match site's terra cotta style */
.checkcherry__widget button[type="submit"].btn {
  font-family: var(--font-heading) !important;
  font-size: 1rem !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  background: linear-gradient(135deg, var(--terra), #c44e31) !important;
  border: none !important;
  border-color: transparent !important;
  border-radius: 8px !important;
  color: var(--white) !important;
  padding: 16px 40px !important;
  margin: 16px 8px 0 !important;
  cursor: pointer;
  transition: transform 0.3s var(--ease-smooth), box-shadow 0.3s !important;
  position: relative;
  overflow: hidden;
}

.checkcherry__widget button[type="submit"].btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 30px rgba(221, 90, 58, 0.35) !important;
}

/* Datepicker inputs */
.checkcherry__widget .react-datepicker__input-container .form-control {
  cursor: pointer;
}

/* Datepicker popup — dark theme */
.checkcherry__widget .react-datepicker,
.react-datepicker {
  font-family: var(--font-body) !important;
  background-color: var(--charcoal-surface) !important;
  border: 1px solid rgba(255,255,255,0.1) !important;
  border-radius: 10px !important;
  color: var(--white) !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5) !important;
}

.react-datepicker__header {
  background-color: var(--charcoal-deep) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 10px 10px 0 0 !important;
}

.react-datepicker__current-month,
.react-datepicker__day-name,
.react-datepicker-time__header {
  color: var(--white) !important;
}

.react-datepicker__day {
  color: rgba(255,255,255,0.7) !important;
  border-radius: 6px !important;
}

.react-datepicker__day:hover {
  background-color: rgba(221, 90, 58, 0.2) !important;
  color: var(--white) !important;
}

.react-datepicker__day--selected,
.react-datepicker__day--keyboard-selected {
  background-color: var(--terra) !important;
  color: var(--white) !important;
}

.react-datepicker__day--disabled {
  color: rgba(255,255,255,0.15) !important;
}

.react-datepicker__navigation-icon::before {
  border-color: rgba(255,255,255,0.5) !important;
}

.react-datepicker__time-container {
  border-left: 1px solid rgba(255,255,255,0.08) !important;
}

.react-datepicker__time-list-item {
  color: rgba(255,255,255,0.7) !important;
}

.react-datepicker__time-list-item:hover {
  background-color: rgba(221, 90, 58, 0.2) !important;
}

.react-datepicker__time-list-item--selected {
  background-color: var(--terra) !important;
  color: var(--white) !important;
}

/* --- Footer --- */
.footer {
  background: var(--charcoal-deep);
  color: var(--text-light-muted);
  padding: 60px 0 0;
  border-top: 1px solid rgba(255,255,255,0.04);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  padding-bottom: 40px;
}

.footer-brand { max-width: 320px; }

.footer-logo-img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.9;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 56px;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 1rem;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 14px;
}

.footer-col a {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light-muted);
  padding: 3px 0;
  transition: color 0.3s, transform 0.3s;
}

.footer-col a:hover {
  color: var(--terra);
  transform: translateX(4px);
}

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

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-light-muted);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.35s; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-values-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .work-tall { grid-row: span 3; }
  .work-wide { grid-column: span 2; }
  .areas-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-top { flex-direction: column; gap: 40px; }
  .footer-links { gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-height: 70px; }

  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: 100%; height: 100vh;
    background: rgba(26, 30, 31, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-smooth);
    z-index: 1000;
  }

  .nav-menu.open { transform: translateX(0); }

  .nav-link {
    font-size: 1.3rem;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7) !important;
  }

  .nav-link:hover,
  .nav-link.active { color: var(--white) !important; }

  .nav-link::after { display: none; }

  .nav-cta {
    margin-left: 0;
    margin-top: 16px;
    font-size: 0.9rem !important;
    padding: 14px 36px !important;
  }

  .stats-grid {
    flex-direction: column;
    gap: 32px;
  }

  .work-grid { grid-template-columns: 1fr; }
  .work-tall { grid-row: span 1; min-height: 220px; }
  .work-wide { grid-column: span 1; }
  .work-card { min-height: 200px; }

  /* Play button always visible on mobile (no hover) */
  .work-play {
    right: 12px;
    bottom: 6px;
    opacity: 0.8;
    width: 52px;
    height: 52px;
  }

  /* Info bar always visible on mobile */
  .work-overlay {
    transform: translateY(0);
    right: 0;
    padding: 10px 16px;
  }

  .work-thumb {
    filter: brightness(0.5);
  }

  /* Lightbox full-width on mobile */
  .lightbox-content { width: 95vw; }
  .lightbox-close { top: -40px; }

  .hero-content { padding: 100px 20px 80px; }

  .footer-links { flex-direction: column; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 6px; }

  .contact-title { text-align: center; }
  .contact-info .section-tag { text-align: center; }

  .booking-embed { padding: 20px 16px; }
  .checkcherry__widget .cc_contact-form-field { padding: 4px 4px !important; }
  .checkcherry__widget button[type="submit"].btn { width: 100% !important; margin: 16px 4px 0 !important; }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn { width: 100%; justify-content: center; max-width: 300px; }

  .additional-grid { flex-direction: column; align-items: center; }

  .work-play { width: 44px; height: 44px; }
}
