/* --- Base Variables --- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --deep: #071B33;
  --dark: #0B2545;
  --mid: #134074;
  --white: #FFFFFF;
  --ink: #071B33;

  --text-secondary: rgba(255, 255, 255, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.15);
  --border-glow: #134074;
  /* using --mid with opacity */

  --font-sans: 'Outfit', sans-serif;
  --font-tech: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-serif: 'Fraunces', serif;

  /* Brass accent for the editorial About section (thin rules, photo frame) */
  --gold: #C8A45C;

  /* Original fonts for nav */
  --font-nav-sans: 'Inter', sans-serif;
}

/* --- Reset & Global --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-secondary);
  background-color: var(--ink);
  line-height: 1.6;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-tech);
  color: var(--white);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

p {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.lead {
  font-size: clamp(1.1rem, 1.5vw, 1.25rem);
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* --- Layout Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Anchor jumps land below the sticky header instead of hidden behind it */
[id] {
  scroll-margin-top: 96px;
}

section {
  padding: 3.5rem 0;
  position: relative;
}

.center {
  text-align: center;
}

/* --- Ambient Glow Orbs --- */
.glow-orb-top {
  position: absolute;
  top: 10%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(2, 62, 138, 0.25) 0%, transparent 70%);
  /* --deep */
  pointer-events: none;
  z-index: 0;
}

.glow-orb-left {
  position: absolute;
  top: 50%;
  left: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0, 80, 157, 0.15) 0%, transparent 70%);
  /* --mid */
  pointer-events: none;
  z-index: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-family: var(--font-tech);
  font-weight: 500;
  font-size: 0.95rem;
  text-align: center;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.btn-primary:not(#site-header .btn-primary) {
  background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(2, 62, 138, 0.3);
  font-weight: 600;
}

.btn-primary:not(#site-header .btn-primary):hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 80, 157, 0.45);
}

.btn-white {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--border-subtle);
}

.btn-white:hover {
  border-color: var(--mid);
  background-color: rgba(2, 62, 138, 0.1);
  box-shadow: 0 0 15px rgba(0, 80, 157, 0.2);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-subtle);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--mid);
  background-color: rgba(2, 62, 138, 0.1);
  box-shadow: 0 0 15px rgba(0, 80, 157, 0.2);
  transform: translateY(-2px);
}

/* --- Header / Nav (UNTOUCHED) --- */
#site-header {
  position: sticky;
  top: 0;
  background-color: var(--white);
  z-index: 1000;
  font-family: var(--font-nav-sans);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.logo img {
  height: 48px;
}

#site-nav {
  display: flex;
}

@keyframes popClick {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15) translateY(-3px);
  }

  100% {
    transform: scale(1) translateY(0);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-links a {
  color: #023E8A;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.4rem 0.75rem;
  border-radius: 20px;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}

.nav-links a:hover {
  color: #FFFFFF;
  background-color: #071B33;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 14px rgba(7, 27, 51, 0.4);
  opacity: 1;
}

.nav-links a:active,
.nav-links a.pop-anim {
  animation: popClick 0.4s ease-in-out;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

#site-header .btn-primary {
  background-color: #071B33;
  color: var(--white);
  border-radius: 30px;
  background-image: none;
  border: 1px solid #071B33;
  box-shadow: 0 4px 14px rgba(7, 27, 51, 0.35);
  font-family: var(--font-nav-sans);
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

#site-header .btn-primary:hover {
  background-color: #0B2545;
  color: var(--white);
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 6px 20px rgba(7, 27, 51, 0.6);
}

#site-header .btn-primary:active,
#site-header .btn-primary.pop-anim {
  animation: popClick 0.4s ease-in-out;
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  padding: 5px;
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--ink);
  transition: 0.3s;
}

#menu-toggle.active .hamburger:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

#menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

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

.mobile-only {
  display: none;
}

/* --- Hero --- */
.hero-section {
  padding: 8rem 0;
  display: flex;
  align-items: center;
  position: relative;
}

/* Cloudflare Stream hero background video (streams remotely, never stored locally) */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--deep);
  container-type: size;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Scale to cover the hero at the video's 16:9 aspect; overflow is clipped */
  width: max(100cqw, calc(100cqh * 16 / 9));
  height: max(100cqh, calc(100cqw * 9 / 16));
  border: 0;
  pointer-events: none;
}

/* Dark overlay kept above the video, below the hero content, for readability */
.hero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: linear-gradient(rgba(7, 27, 51, 0.7), rgba(7, 27, 51, 0.8));
}

.hero-bg-watermark {
  display: none;
  /* Tech aesthetic prefers clean glow over watermark */
}

.hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  margin: 1.5rem 0;
}

.hero-content p {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

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

.eyebrow {
  font-family: var(--font-mono);
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: inline-block;
  margin-bottom: 0.75rem;
  opacity: 0.8;
}

.hero-arrow {
  background: transparent;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
  padding: 1rem;
}

.hero-arrow:hover {
  opacity: 1;
}

/* --- Cards & Stat Items (Zero-Lag 60fps GPU Accelerated Hover & Touch) --- */
.card,
.contact-card,
.stat-item {
  background-color: rgba(7, 27, 51, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2.5rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease !important;
  position: relative;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
}

/* Shiny Light Sweep Sheen on Hover & Touch Finger (GPU Hardware Accelerated) */
.card::after,
.service-card::after,
.contact-card::after,
.stat-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.5) 50%,
      transparent 100%);
  transform: translateX(-150%) skewX(-25deg);
  pointer-events: none;
  z-index: 5;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.card:hover,
.service-card:hover,
.contact-card:hover,
.stat-item:hover,
.card:active,
.service-card:active,
.contact-card:active,
.stat-item:active,
.card.active-touch,
.service-card.active-touch,
.contact-card.active-touch,
.stat-item.active-touch {
  border-color: #FFFFFF !important;
  transform: translateY(-5px) scale(1.03) translateZ(0) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(2, 62, 138, 0.6) !important;
  z-index: 10;
}

.card:hover::after,
.service-card:hover::after,
.contact-card:hover::after,
.stat-item:hover::after,
.card:active::after,
.service-card:active::after,
.contact-card:active::after,
.stat-item:active::after,
.card.active-touch::after,
.service-card.active-touch::after,
.contact-card.active-touch::after,
.stat-item.active-touch::after {
  transform: translateX(180%) skewX(-25deg);
}

.card h3,
.service-card h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* --- About --- */
.about-section {
  position: relative;
}

/* Centered serif statement + short brass rule, per the editorial reference */
.about-head {
  text-align: center;
  margin-bottom: 4.5rem;
}

.about-statement {
  font-family: var(--font-serif);
  text-transform: uppercase;
  font-weight: 600;
  font-size: clamp(2rem, 4.2vw, 3.5rem);
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--white);
  margin-bottom: 1.6rem;
}

.about-rule {
  display: block;
  width: 72px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Video frame: thin brass border, gently rounded, portrait ratio. The
   Cloudflare Stream iframe fills this frame using cover math so a landscape
   source still fills the 4/5 shape without distortion. */
.about-media img,
.about-video {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(200, 164, 92, 0.55);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.about-video {
  position: relative;
  overflow: hidden;
  background: var(--deep);
  container-type: size;
}

.about-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  /* Source is 9:16 portrait, so cover the 4/5 frame by matching its width and
     letting the height overflow (cropped top/bottom). */
  width: max(100cqw, calc(100cqh * 9 / 16));
  height: max(100cqh, calc(100cqw * 16 / 9));
  border: 0;
}

/* Our own sound toggle, pinned inside the visible frame (the Stream player's
   bar sits outside the crop). Only appears when the browser forces a muted
   start; a tap unlocks audio. */
.about-sound {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 27, 51, 0.7);
  border: 1px solid rgba(200, 164, 92, 0.55);
  color: var(--white);
  cursor: pointer;
}

.about-sound[hidden] {
  display: none;
}

.about-sound svg {
  width: 20px;
  height: 20px;
}

.about-sound .icon-on {
  display: none;
}

.about-sound[aria-pressed="true"] .icon-on {
  display: block;
}

.about-sound[aria-pressed="true"] .icon-off {
  display: none;
}

/* Desktop: the 4/5 crop shows only ~70% of this 9:16 clip, which magnifies it
   enough to look soft on large screens. A taller 7/10 frame shows ~80% of the
   clip (less zoom, sharper), and the width cap keeps hi-dpi displays from
   upscaling past the 1080p source. */
@media (min-width: 993px) {
  .about-video {
    aspect-ratio: 7 / 10;
    max-width: 560px;
  }
}

.about-tick {
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 2.2rem;
}

.about-copy p {
  margin-bottom: 1.5rem;
}

.about-divider {
  display: block;
  height: 1px;
  background: var(--border-subtle);
  margin-top: 2.5rem;
}

/* Merged stats block, set in the copy column beside the photo */
.about-stats {
  margin-top: 2.75rem;
}

.about-stats-head {
  text-align: left;
  margin-bottom: 2.25rem;
}

.about-stats-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  color: var(--white);
}

/* Mission & Vision, folded into About as editorial prose blocks */
.about-purpose {
  margin-top: 5.5rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 4.5rem;
}

.about-purpose-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.about-purpose-head .eyebrow {
  font-size: 1rem;
}

.about-purpose-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  color: var(--white);
}

.purpose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3.5rem;
}

.purpose-block .about-tick {
  margin-bottom: 1.4rem;
}

.purpose-block h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  margin-bottom: 1rem;
}

/* --- Mission & Vision --- */
.bg-tint {
  /* No white tint in dark theme */
}

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

.value-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.pill {
  font-family: var(--font-mono);
  background: rgba(7, 27, 51, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
  padding: 0.75rem 1.75rem;
  border-radius: 30px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

/* Shiny Light Sweep on Hover */
.pill::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 255, 255, 0.7) 50%,
      transparent 100%);
  transform: skewX(-25deg);
  transition: none;
}

.pill:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 0 20px rgba(7, 27, 51, 0.8), 0 0 10px rgba(255, 255, 255, 0.5);
}

.pill:hover::after {
  left: 150%;
  transition: left 0.65s ease-in-out;
}

/* --- Services --- */

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.service-card {
  position: relative;
  min-height: 480px;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  isolation: isolate;
  background: #111;
  color: #fff;
  display: flex;
  align-items: flex-end;
}

/* Background image */
.service-card::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: 0;

  background-image: var(--service-image);
  background-size: cover;
  background-position: center;

  filter: blur(3px);
  transform: scale(1.05);

  transition: transform 0.8s ease, filter 0.8s ease;
}

/* Hero-style dark overlay */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, 0.82) 0%,
      rgba(0, 0, 0, 0.62) 45%,
      rgba(0, 0, 0, 0.38) 100%);
}

/* Keep image subtle */
.service-card:hover::before {
  transform: scale(1.08);
  filter: blur(2px);
}

/* Content */
.service-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 3rem;
  max-width: 800px;
}

.service-number {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  margin-bottom: 1.2rem;
  color: rgba(255, 255, 255, 0.7);
}

.service-card h3 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  color: #fff;
  max-width: 700px;
}

.service-card p {
  max-width: 600px;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  font-size: 1rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.service-link span {
  font-size: 1.1rem;
}

.service-link:hover {
  gap: 0.9rem;
}

/* Remove old multi-column positioning */
.service-strategy,
.service-identity,
.service-social,
.service-content-creation,
.service-campaign,
.service-pr,
.service-media {
  grid-column: 1;
  min-height: 480px;
}

/* Mobile */
@media (max-width: 576px) {

  .services-grid {
    gap: 1rem;
  }

  .service-card {
    min-height: 420px;
  }

  .service-content {
    padding: 2rem 1.5rem;
  }

  .service-card h3 {
    font-size: 2rem;
  }
}

.service-card p {
  max-width: 520px;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.6;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.service-link span {
  font-size: 1.1rem;
}

.service-link:hover {
  gap: 0.9rem;
}

/* Editorial layout */

.service-strategy {
  grid-column: span 7;
  min-height: 520px;
}

.service-identity {
  grid-column: span 5;
  min-height: 520px;
}

.service-social {
  grid-column: span 5;
  min-height: 460px;
}

.service-content-creation {
  grid-column: span 7;
  min-height: 460px;
}

.service-campaign {
  grid-column: span 7;
  min-height: 500px;
}

.service-pr {
  grid-column: span 5;
  min-height: 500px;
}

.service-media {
  grid-column: 3 / span 8;
  min-height: 460px;
}

/* Tablet */
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-strategy,
  .service-identity,
  .service-social,
  .service-content-creation,
  .service-campaign,
  .service-pr,
  .service-media {
    grid-column: 1;
    min-height: 450px;
  }

  .service-media {
    grid-column: 1 / -1;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-strategy,
  .service-identity,
  .service-social,
  .service-content-creation,
  .service-campaign,
  .service-pr,
  .service-media {
    grid-column: 1;
    min-height: 400px;
  }

  .service-content {
    padding: 1.5rem;
  }
}


/* --- Advantage --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.25rem 1.75rem;
  position: relative;
  z-index: 2;
}

/* Flat editorial stats: strip the shared card box, keep only number + label */
.stats-grid .stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  box-shadow: none;
  transform: none;
}

.stats-grid .stat-item::before,
.stats-grid .stat-item::after {
  content: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 3vw, 2.9rem);
  font-weight: 600;
  line-height: 1;
  margin-bottom: 0.7rem;
  color: var(--white);
}

/* Beat the global scale-pass .stat-number rule that lands later in this sheet */
.about-stats .stat-number {
  font-size: clamp(2.1rem, 3vw, 2.9rem);
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* --- Contact & Social --- */
.contact-section {
  border-top: 1px solid var(--border-subtle);
}

.contact-card {
  padding: 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  box-shadow: none;
  /* Relies on border */
}

.contact-col h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contact-col p {
  margin-bottom: 0.75rem;
}

.contact-col a {
  color: var(--white);
}

.contact-col a:hover {
  color: var(--mid);
}

.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-links p {
  margin-bottom: 0;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.social-icons a {
  display: inline-flex;
  color: var(--text-secondary);
}

.social-icons a:hover {
  color: var(--mid);
  transform: translateY(-2px);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--ink);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 0 2rem;
  text-align: center;
  position: relative;
}

.footer-logo {
  height: 32px;
  margin: 0 auto 2rem;
}

.quote {
  font-family: var(--font-tech);
  font-style: italic;
  font-size: 1.25rem;
  margin-bottom: 3rem;
}

.copyright {
  font-family: var(--font-mono);
  font-size: 0.85rem;
}



/* --- Fade-In Animation (Bouncy) --- */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-head {
    margin-bottom: 3rem;
  }

  .about-media {
    order: -1;
  }

  .about-media img,
  .about-video {
    max-width: 520px;
    margin: 0 auto;
  }


  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 3rem;
  }

  .contact-card {
    padding: 3rem;
    grid-template-columns: 1fr 1fr;
  }
}

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

  .hero-section {
    padding: 4rem 0 3rem;
  }

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

  .purpose-grid {
    grid-template-columns: 1fr;
    gap: 2.75rem;
  }

  .stats-grid {
    gap: 2.5rem 1.5rem;
  }

  .contact-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

@media (max-width: 992px) {
  #menu-toggle {
    display: flex;
  }

  .nav-right .btn-primary {
    display: none;
  }

  #site-nav {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #site-nav.active {
    max-height: 480px;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
    padding: 1rem 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    font-size: 1.125rem;
  }

  .mobile-only {
    display: block;
    padding: 1rem 2rem;
  }

  .mobile-only .btn {
    width: 100%;
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2.25rem;
  }

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

  .stats-grid {
    gap: 1.75rem 1.25rem;
  }

  .stat-label {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .circle-badge {
    width: 240px;
    height: 240px;
    padding: 3rem;
  }
}

/* =========================================
   SERVICES FINAL STYLE
   ========================================= */

.services-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 24px !important;
  width: 100% !important;
}

/* Every service = full width */
.services-grid .service-card {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  min-height: 480px !important;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #071b33;

  /* NOTE: content-visibility:auto was removed here. It deferred rendering of
     offscreen cards, but each card then rendered on-demand as it scrolled into
     view, producing a ~100ms hitch per card. With the compressed images the
     upfront render cost is negligible, so plain rendering is smoother. */
}

/* Background image */
.services-grid .service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;

  background-image: var(--service-image);
  background-size: cover;
  background-position: center;

  /* Cancel the inherited blur/scale — live filters on full-card layers
     are the main scroll-jank source; the navy overlay hides the need */
  filter: none;
  transform: none;
  transition: none;
}

.services-grid .service-card:hover::before {
  transform: none;
  filter: none;
}

/* Dark navy overlay — keeps white text readable while the photo shows through on the right */
.services-grid .service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  /* Cancel the sheen animation's off-card transform on this pseudo-element */
  transform: none;
  transition: none;

  background: linear-gradient(90deg,
      rgba(7, 27, 51, 0.94) 0%,
      rgba(7, 27, 51, 0.84) 45%,
      rgba(7, 27, 51, 0.62) 100%);
}

/* Content */
.services-grid .service-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 850px;
  padding: 3.5rem;
  color: #fff;
}

/* Number */
.services-grid .service-number {
  display: block;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.7);
}

/* Heading */
.services-grid .service-card h3 {
  margin: 0 0 1rem;
  max-width: 750px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  color: #fff;
}

/* Description */
.services-grid .service-card p {
  max-width: 600px;
  margin: 0 0 1.5rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

/* Link */
.services-grid .service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.services-grid .service-link:hover {
  gap: 0.9rem;
}

/* Mobile */
@media (max-width: 576px) {

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .services-grid .service-card {
    grid-column: 1 / -1 !important;
    min-height: 420px !important;
  }

  .services-grid .service-content {
    padding: 2rem 1.5rem;
  }

  .services-grid .service-card h3 {
    font-size: 2rem;
  }
}

/* =========================================
   OUR WORK GALLERY
   ========================================= */
.section-sub {
  color: var(--text-secondary);
  max-width: 620px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
}

.work-head {
  text-align: center;
  margin-bottom: 2.25rem;
}

.work-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1.1rem;
}

.work-head .section-sub {
  margin-top: 0;
}

.work-main-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 1.25rem;
}

.work-main-btn .btn-short-text {
  display: none;
}

.work-main-btn .btn-full-text {
  display: inline;
}

@media (max-width: 768px) {
  .work-main-btn[data-type="socialmedia"] .btn-full-text {
    display: none;
  }

  .work-main-btn[data-type="socialmedia"] .btn-short-text {
    display: inline;
  }
}

.work-main-btn {
  padding: clamp(10px, 2vw, 15px) clamp(24px, 6vw, 50px);
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 2.5vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: transparent;
  color: var(--text-secondary);
  border: 2px solid var(--border-subtle);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-main-btn:hover {
  background: rgba(2, 62, 138, 0.1);
  border-color: var(--mid);
  color: var(--white);
}

.work-main-btn.active {
  background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 100%);
  color: var(--white);
  border-color: var(--mid);
  box-shadow: 0 4px 20px rgba(2, 62, 138, 0.3);
  transform: translateY(-3px);
}

/* Gallery shell: one scroller that switches between a sideways 3D showcase
   ("All") and a masonry grid (a chosen category), reference-style. */
.work-grid-container {
  position: relative;
  min-height: 400px;
}

.work-scroll-progress {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 3px;
  background: rgba(200, 164, 92, 0.15);
  border-radius: 10px;
  overflow: hidden;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-grid-container:has(.work-scroll.horizontal-scroll) .work-scroll-progress {
  opacity: 1;
}

.work-scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, #d4b76a 100%);
  border-radius: 10px;
  transition: width 0.1s ease-out;
  margin: 0 auto;
}

/* Sideways showcase ("All"): cards scroll side-to-side, never down. */
.work-scroll.horizontal-scroll {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 20px 10% 30px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  perspective: 1200px;
  transform-style: preserve-3d;
  position: relative;
  overscroll-behavior-x: none;
  will-change: scroll-position;
}

.work-scroll.horizontal-scroll::-webkit-scrollbar {
  display: none;
}

/* Soft navy fade at both ends of the showcase row. */
.work-scroll.horizontal-scroll::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 27, 51, 0.6) 0%, transparent 15%, transparent 85%, rgba(7, 27, 51, 0.6) 100%);
  pointer-events: none;
  z-index: 10;
}

.work-scroll.horizontal-scroll.grabbing {
  cursor: grabbing;
}

.work-scroll.horizontal-scroll .work-item {
  flex: 0 0 auto;
  height: 400px;
  width: auto;
  aspect-ratio: 4 / 5;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, opacity;
}

.work-scroll.horizontal-scroll .work-item--video.work-item--portrait {
  aspect-ratio: 9 / 16;
}

.work-scroll.horizontal-scroll .work-item--video.work-item--landscape {
  aspect-ratio: 16 / 9;
}

/* Let drag-to-scroll and click reach the tile, not the media inside it. */
.work-scroll.horizontal-scroll .work-item img,
.work-scroll.horizontal-scroll .work-item iframe {
  pointer-events: none;
}

/* Category view: masonry grid, natural heights. */
.work-scroll.grid-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(280px, calc((100% - 40px) / 3)), 1fr));
  gap: 20px;
  overflow: visible;
  align-items: start;
  grid-auto-flow: dense;
  grid-auto-rows: auto;
  cursor: default;
}

@media (max-width: 1200px) {
  .work-scroll.horizontal-scroll {
    padding: 20px 6% 30px;
  }

  .work-scroll.horizontal-scroll .work-item {
    height: 360px;
  }
}

@media (max-width: 1024px) {
  .work-scroll.horizontal-scroll {
    padding: 20px 5% 30px;
    gap: 20px;
    perspective: 1000px;
  }

  .work-scroll.horizontal-scroll .work-item {
    height: 340px;
  }
}

@media (max-width: 992px) {
  .work-scroll.grid-layout {
    grid-template-columns: repeat(auto-fill, minmax(max(240px, calc((100% - 20px) / 2)), 1fr));
  }
}

@media (max-width: 768px) {
  .work-scroll.horizontal-scroll {
    padding: 15px 3% 25px;
    gap: 16px;
    perspective: 800px;
  }

  .work-scroll.horizontal-scroll .work-item {
    height: 320px;
  }
}

@media (max-width: 576px) {
  .work-scroll.grid-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .work-scroll.horizontal-scroll {
    padding: 10px 5% 20px;
    gap: 12px;
    perspective: 600px;
  }

  .work-scroll.horizontal-scroll .work-item {
    height: 260px;
  }
}

/* Category pills (reference-style): centered row that scrolls sideways on
   narrow screens, scrollbar hidden. */
.work-category-scroll-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.work-category-filters {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 20px 0;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  justify-content: center;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: auto;
  max-width: 100%;
}

.work-category-filters::-webkit-scrollbar {
  display: none;
}

.work-cat-btn {
  padding: 10px 24px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  border-radius: 25px;
  transition: all 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  flex: 0 0 auto;
}

.work-cat-btn:hover {
  background: rgba(2, 62, 138, 0.1);
  border-color: var(--mid);
  color: var(--white);
  transform: translateY(-2px);
}

.work-cat-btn.active {
  background: linear-gradient(135deg, var(--deep) 0%, var(--mid) 100%);
  color: var(--white);
  border-color: var(--mid);
  font-weight: 600;
}

@media (max-width: 576px) {
  .work-cat-btn {
    padding: clamp(6px, 1.5vw, 8px) clamp(10px, 3vw, 14px);
    font-size: clamp(0.7rem, 2vw, 0.8rem);
  }
}

/* Narrow screens: wrap the pills instead of side-scrolling, so the first
   pill is never clipped out of reach. */
@media (max-width: 768px) {
  .work-category-filters {
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: center;
  }
}

.work-empty {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 1rem 0 0;
}

/* Tiles */
.work-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--mid);
  margin: 0;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}

.work-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
  -webkit-user-drag: none;
}

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

/* Grid view keeps each photo's own proportions (masonry stagger). */
.work-scroll.grid-layout .work-item {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  align-self: start;
}

.work-scroll.grid-layout .work-item img {
  height: auto;
}

/* Video tiles keep the source reel's proportions in grid view. */
.work-scroll.grid-layout .work-item--video.work-item--portrait {
  aspect-ratio: 9 / 16;
}

.work-scroll.grid-layout .work-item--video.work-item--landscape {
  aspect-ratio: 16 / 9;
}

.work-item--video {
  position: relative;
  overflow: hidden;
}

/* Play badge over the poster still — films read as tappable at a glance. */
.work-item-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(7, 27, 51, 0.55);
  border: 1px solid rgba(200, 164, 92, 0.85);
  pointer-events: none;
  transition: transform 0.35s ease, background 0.35s ease;
}

.work-item-play svg {
  width: 20px;
  height: 20px;
  fill: var(--gold);
  margin-left: 3px;
}

.work-item:hover .work-item-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(7, 27, 51, 0.72);
}

@media (max-width: 992px) {
  .work-item {
    border-radius: 10px;
  }
}

@media (max-width: 576px) {
  .work-item {
    border-radius: 8px;
  }

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

  .work-item-play svg {
    width: 16px;
    height: 16px;
  }
}

/* Click-to-open viewer: videos play with sound here, photos show full size. */
.work-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.work-modal[hidden] {
  display: none;
}

.work-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 27, 51, 0.92);
  backdrop-filter: blur(4px);
}

.work-modal-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
}

.work-modal-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(7, 27, 51, 0.7);
  color: var(--white);
  border: 1px solid rgba(200, 164, 92, 0.55);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.work-modal-media {
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-modal-media iframe {
  border: 0;
  border-radius: 12px;
  background: #000;
  display: block;
}

.work-modal-media--portrait iframe {
  height: min(85vh, 160vw);
  aspect-ratio: 9 / 16;
  width: auto;
  max-width: 92vw;
}

.work-modal-media--landscape iframe {
  width: min(92vw, 1100px);
  aspect-ratio: 16 / 9;
  height: auto;
  max-height: 85vh;
}

.work-modal-media img {
  max-width: 92vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* =========================================
   OUR WORK — PIN-LOCKED GALLERIES
   ========================================= */
.work-lock {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  width: 100%;
  min-height: 22rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(160deg, rgba(19, 64, 116, 0.35), rgba(7, 27, 51, 0.9));
  border: 1px solid rgba(200, 164, 92, 0.35);
  border-radius: 16px;
}

/* display:flex above would beat the UA [hidden] rule — keep it truly hidden. */
.work-lock[hidden] {
  display: none;
}

.work-lock-icon {
  width: 3rem;
  height: 3rem;
  color: var(--gold);
}

.work-lock-title {
  margin: 0;
  font-family: var(--font-tech);
  font-size: clamp(1.15rem, 4vw, 1.35rem);
  color: var(--white);
}

.work-lock-text {
  margin: 0;
  max-width: 26rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.work-lock-form {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.3rem;
}

.work-lock-input {
  width: 9rem;
  padding: 0.65rem 0.9rem;
  font-family: var(--font-mono);
  font-size: 1.05rem;
  letter-spacing: 0.35em;
  text-align: center;
  color: var(--white);
  background: rgba(7, 27, 51, 0.85);
  border: 1px solid rgba(200, 164, 92, 0.4);
  border-radius: 8px;
}

.work-lock-input:focus {
  outline: 2px solid rgba(200, 164, 92, 0.6);
  outline-offset: 1px;
}

.work-lock-btn {
  padding: 0.65rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--deep);
  background: var(--gold);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.work-lock-btn:hover {
  background: #dcb870;
  transform: translateY(-2px);
}

.work-lock-error {
  margin: 0;
  font-size: 0.85rem;
  color: #e08a72;
}

.work-lock.shake {
  animation: work-lock-shake 0.35s ease;
}

@keyframes work-lock-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-0.4rem); }
  75% { transform: translateX(0.4rem); }
}

/* Locked pill: small padlock glyph after the label. */
.work-cat-btn--locked .work-cat-lock {
  width: 0.8rem;
  height: 0.8rem;
  margin-left: 0.35rem;
  vertical-align: -0.08rem;
}

.work-grid-container.is-locked:has(.work-scroll.horizontal-scroll) .work-scroll-progress,
.work-grid-container.is-locked .work-scroll-progress {
  opacity: 0;
}

@media (max-width: 576px) {
  .work-lock {
    min-height: 18rem;
    padding: 2rem 1.1rem;
    gap: 0.75rem;
  }
}

/* =========================================
   TESTIMONIALS SLIDER
   ========================================= */
.testimonials-section {
  border-top: 1px solid var(--border-subtle);
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin: 0 -2rem;
  padding: 1rem 0;
  /* fade edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.testimonial-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: testimonialScroll 45s linear infinite;
}

.testimonials-slider:hover .testimonial-track {
  animation-play-state: paused;
}

/* Safety net: the marquee must never be hidden by AOS pre-animation styles,
   even if a stale cached page still carries data-aos on the slider. */
.testimonials-slider[data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

@keyframes testimonialScroll {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(var(--loop-shift, -50%), 0, 0);
  }
}

.testimonial-card {
  flex: 0 0 380px;
  background-color: rgba(7, 27, 51, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 15px rgba(2, 62, 138, 0.4);
}

.testimonial-stars {
  display: flex;
  gap: 0.25rem;
  color: #FFB400;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 0;
  flex-grow: 1;
}

.testimonial-author h4 {
  font-family: var(--font-tech);
  font-size: 1.05rem;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.testimonial-author p {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* =========================================
   FORMS (Review + Quote) — shared
   ========================================= */
.review-form,
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-group,
.form-group-full {
  position: relative;
}

.form-group input,
.form-group-full textarea,
.form-group-full select {
  width: 100%;
  background-color: rgba(7, 27, 51, 0.6);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 1.4rem 1.25rem 0.7rem;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form-group input:focus,
.form-group-full textarea:focus,
.form-group-full select:focus {
  border-color: var(--mid);
  box-shadow: 0 0 15px rgba(0, 80, 157, 0.25);
}

.form-group label,
.form-group-full textarea+label {
  position: absolute;
  left: 1.25rem;
  top: 1.05rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
  transition: all 0.2s ease;
}

/* Floating label: rises when focused or filled */
.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group-full textarea:focus+label,
.form-group-full textarea:not(:placeholder-shown)+label {
  top: 0.4rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.85;
}

.group-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.6rem;
}

.form-group-full select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  padding: 1.05rem 1.25rem;
  cursor: pointer;
}

.form-group-full select option {
  background-color: var(--dark);
  color: var(--white);
}

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

/* Date input tweaks */
.form-group input[type="date"] {
  color: var(--white);
  font-family: var(--font-sans);
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.6;
  cursor: pointer;
}

/* Star rating picker */
.star-rating {
  display: flex;
  gap: 0.5rem;
}

.star-rating .star {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.25);
  cursor: pointer;
  padding: 0.15rem;
  transition: color 0.2s ease, transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.star-rating .star.active {
  color: #FFB400;
}

.star-rating .star:hover {
  transform: scale(1.2);
}

/* Submit buttons + messages */
.btn-submit-review,
.btn-submit-quote {
  align-self: flex-start;
  min-width: 200px;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

/* Honeypot spam field — visually hidden but present in the DOM for bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-message {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  min-height: 1.2em;
  letter-spacing: 0.03em;
}

.form-message.success {
  color: #4ADE80;
}

.form-message.error {
  color: #F87171;
}

/* =========================================
   SHARE YOUR EXPERIENCE
   ========================================= */
.share-experience {
  margin-top: 5rem;
  background-color: rgba(7, 27, 51, 0.4);
  border: 1px solid var(--border-subtle);
  border-top: none;
  border-bottom: none;
  border-radius: 6px;
  padding: 3.5rem;
}

.share-header {
  margin-bottom: 2.5rem;
}

.share-header h3 {
  margin-bottom: 0.5rem;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
}

.share-header p {
  max-width: 560px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.7);
}

/* =========================================
   LET'S CREATE TOGETHER
   ========================================= */
.create-section {
  border-top: 1px solid var(--border-subtle);
  background-color: rgba(7, 27, 51, 0.3);
}

.create-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.create-intro h2 {
  margin-bottom: 1.25rem;
}

.create-stats {
  display: flex;
  gap: 3rem;
  margin: 2.5rem 0;
}

.create-stat {
  display: flex;
  flex-direction: column;
}

.create-stat .stat-number {
  font-size: 2.5rem;
}

.whatsapp-btn {
  gap: 0.6rem;
}

.quote-form {
  background-color: rgba(7, 27, 51, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 3rem;
}

/* Arriving via "Explore Service" — brief glow to point at the form */
.quote-form:target {
  animation: formArrivalPulse 1.4s ease-out;
}

@keyframes formArrivalPulse {
  0% {
    border-color: var(--white);
    box-shadow: 0 0 0 rgba(2, 62, 138, 0);
  }

  35% {
    border-color: var(--white);
    box-shadow: 0 0 35px rgba(2, 62, 138, 0.65);
  }

  100% {
    border-color: var(--border-subtle);
    box-shadow: 0 0 0 rgba(2, 62, 138, 0);
  }
}

/* Responsive for new sections */
@media (max-width: 992px) {
  .create-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .share-experience {
    padding: 2.5rem 1.5rem;
    margin-top: 3.5rem;
  }

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

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

  .testimonial-card {
    flex: 0 0 300px;
    padding: 1.5rem;
  }

  .testimonials-slider {
    margin: 0 -1rem;
  }

  .create-stats {
    gap: 2rem;
  }

  .btn-submit-review,
  .btn-submit-quote {
    align-self: stretch;
  }
}

@media (prefers-reduced-motion: reduce) {
  .testimonial-track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
  }

  .testimonial-card {
    flex: 1 1 300px;
  }
}

/* =========================================
   SCALE PASS — bigger type, cards, spacing
   (bold editorial look, navy identity kept)
   ========================================= */
html {
  font-size: 17px;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 4.25rem);
}

h2 {
  font-size: clamp(2.1rem, 3.4vw, 2.9rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
}

p {
  font-size: 1.05rem;
}

.lead {
  font-size: clamp(1.12rem, 1.5vw, 1.3rem);
}

section {
  padding: 4rem 0;
}

.container {
  max-width: 1280px;
}

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

.eyebrow {
  font-size: 0.85rem;
}

.btn {
  padding: 0.95rem 2.25rem;
  font-size: 1rem;
}

.card,
.contact-card,
.stat-item {
  padding: 3.25rem;
}

.stat-number {
  font-size: 3.8rem;
}

.testimonial-card {
  flex: 0 0 400px;
  padding: 2.25rem;
  gap: 1.1rem;
}

.testimonial-stars {
  font-size: 1.15rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.65;
}

.testimonial-author h4 {
  font-size: 1.05rem;
}

.services-grid .service-card {
  min-height: 560px !important;
}

.services-grid .service-content {
  padding: 4.5rem;
}

.services-grid .service-card h3 {
  font-size: clamp(2rem, 3.6vw, 3.25rem);
}

.services-grid .service-card p {
  font-size: 1.05rem;
}

.form-group input,
.form-group-full textarea,
.form-group-full select {
  padding: 1.6rem 1.4rem 0.8rem;
  font-size: 1.05rem;
}

.form-group label,
.form-group-full textarea+label {
  left: 1.4rem;
  top: 1.2rem;
  font-size: 1.05rem;
}

.form-group input:focus+label,
.form-group input:not(:placeholder-shown)+label,
.form-group-full textarea:focus+label,
.form-group-full textarea:not(:placeholder-shown)+label {
  top: 0.5rem;
  font-size: 0.78rem;
}

.form-group-full select {
  padding: 1.2rem 1.4rem;
  background-position: right 1.4rem center;
}

.form-group-full textarea {
  min-height: 150px;
}

.star-rating .star {
  font-size: 2.2rem;
}

.group-label {
  font-size: 0.85rem;
}

.share-experience {
  padding: 4.5rem;
}

.quote-form {
  padding: 4rem;
}

.create-stat .stat-number {
  font-size: 2.6rem;
}

@media (max-width: 992px) {
  .services-grid .service-content {
    padding: 3rem;
  }
}

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

  .testimonial-card {
    flex: 0 0 340px;
    padding: 2rem;
  }

  .share-experience {
    padding: 3rem 1.75rem;
  }

  .quote-form {
    padding: 2.5rem 1.75rem;
  }

  .services-grid .service-content {
    padding: 2.5rem 1.75rem;
  }
}

@media (max-width: 576px) {
  .services-grid .service-card {
    min-height: 460px !important;
  }
}