/* ==========================================================================
   BIG FM Experiences — Main Stylesheet
   ========================================================================== */

:root {
  --clr-primary: #175caa;       /* BIG Experiences blue */
  --clr-primary-dark: #0f3f78;
  --clr-teal: #17a9d0;
  --clr-yellow: #ece815;
  --clr-dark: #0d0d0f;
  --clr-dark-2: #17171a;
  --clr-light: #ffffff;
  --clr-off: #f7f6f4;
  --clr-text: #26262b;
  --clr-text-muted: #6b6b72;
  --clr-border: #e7e5e1;
  --font: 'Poppins', sans-serif;
  --container: 1240px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--clr-text);
  background: var(--clr-light);
  line-height: 1.6;
  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 24px; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.15; }

.section { padding: 90px 0; }
.section-off { background: var(--clr-off); }
.section-dark { background: var(--clr-dark); color: var(--clr-light); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-primary);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 18px;
}
.section-title span { color: var(--clr-primary); }

/* Colorful gradient sweep once the heading scrolls into view */
.section-title.colorful span {
  background: linear-gradient(90deg,
    var(--clr-primary) 0%,
    var(--clr-teal) 35%,
    #f0c419 60%,
    var(--clr-teal) 80%,
    var(--clr-primary) 100%);
  background-size: 250% 100%;
  background-position: 100% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-sweep 3.5s ease-in-out infinite;
}
@keyframes gradient-sweep {
  0%, 100% { background-position: 100% 0; }
  50%      { background-position: 0 0; }
}
/* Sections on dark/blue backgrounds get a lighter blend */
.section-dark .section-title.colorful span,
.contact-section .section-title.colorful span {
  background: linear-gradient(90deg, var(--clr-yellow) 0%, var(--clr-teal) 50%, var(--clr-yellow) 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .section-title.colorful span { animation: none; }
}

.section-lead {
  color: var(--clr-text-muted);
  max-width: 640px;
  font-size: 16px;
  margin-bottom: 30px;
}

.btn-primary {
  display: inline-block;
  background: var(--clr-primary);
  color: #fff;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .5px;
  border: 2px solid var(--clr-primary);
  transition: .25s;
}
.btn-primary:hover { background: transparent; color: var(--clr-primary); }

.btn-outline {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  border: 2px solid var(--clr-dark);
  font-weight: 600;
  font-size: 14px;
  transition: .25s;
}
.btn-outline:hover { background: var(--clr-dark); color: #fff; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 999;
  background: #fff;
  border-bottom: 1px solid var(--clr-border);
  box-shadow: 0 2px 14px rgba(13,13,15,.06);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo-img { height: 64px; width: auto; display: block; }
.footer-logo .logo-img { height: 72px; }

.desktop-nav ul { display: flex; align-items: center; gap: 32px; }
.desktop-nav a { color: var(--clr-text); font-size: 14px; font-weight: 500; transition: .2s; }
.desktop-nav a:hover { color: var(--clr-primary); }
.btn-nav-contact {
  background: var(--clr-primary);
  color: #fff !important;
  padding: 10px 22px !important;
  border-radius: 50px;
}
.btn-nav-contact:hover { background: var(--clr-primary-dark) !important; color: #fff !important; }

.nav-brand-logo {
  display: flex;
  align-items: center;
  padding-left: 22px;
  margin-left: 6px;
  border-left: 1px solid var(--clr-border);
}
.nav-brand-logo img { display: block; }
.mobile-nav-brand {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--clr-border);
  display: flex;
  justify-content: center;
}
@media (max-width: 1240px) {
  .desktop-nav ul { gap: 24px; }
  .nav-brand-logo { padding-left: 16px; }
  .nav-brand-logo img { max-height: 40px !important; }
}

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 30px; height: 24px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { width: 26px; height: 2px; background: var(--clr-primary); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer — sibling of <header>, so it owns its own stacking context */
.mobile-nav {
  display: none;
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(82vw, 330px);
  background: #fff;
  padding: 0 24px calc(24px + env(safe-area-inset-bottom));
  transform: translateX(102%);
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: -14px 0 44px rgba(13,13,15,.25);
  z-index: 10001;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0 22px;
  border-bottom: 1px solid var(--clr-border);
  margin-bottom: 14px;
}
.nav-close {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  background: none; color: var(--clr-primary);
  font-size: 24px; line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
}
.mobile-nav ul { display: flex; flex-direction: column; }
.mobile-nav ul li { width: 100%; }
.mobile-nav ul a {
  display: block;
  padding: 14px 2px;
  color: var(--clr-text);
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--clr-border);
  transition: color .2s, padding-left .2s;
}
.mobile-nav ul a:hover, .mobile-nav ul a:active { color: var(--clr-primary); padding-left: 8px; }
.mobile-nav-cta { display: block; text-align: center; margin-top: 22px; }

.nav-backdrop {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.nav-backdrop.open { opacity: 1; visibility: visible; }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100vh - 80px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: #000;
}
.hero video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 35%, rgba(0,0,0,.78) 100%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px 48px;
}
.hero-content .hero-sub strong { color: var(--clr-teal); font-weight: 700; }
.hero-content h1 {
  font-size: clamp(32px, 5.5vw, 58px);
  font-weight: 800;
  margin-bottom: 8px;
}
.hero-content .hero-sub {
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 300;
  color: #e8e8ea;
}

/* Hero sound toggle */
.sound-toggle {
  position: absolute;
  right: 24px; bottom: 24px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,.4);
  background: rgba(13,13,15,.5);
  backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--font);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .4px;
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s;
}
.sound-toggle:hover {
  background: var(--clr-yellow);
  border-color: var(--clr-yellow);
  color: #062f57;
  transform: translateY(-2px);
}
.sound-toggle .icon-unmuted { display: none; }
.sound-toggle.is-unmuted .icon-muted { display: none; }
.sound-toggle.is-unmuted .icon-unmuted { display: block; }
@media (max-width: 640px) {
  .sound-toggle { right: 14px; bottom: 14px; padding: 9px 14px; font-size: 11.5px; }
  .sound-toggle .sound-toggle-text { display: none; }
}

/* ---------------- Intro split (gallery left / text right) ---------------- */
.intro-split { padding: 90px 0; }
.intro-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.intro-gallery-col { display: block; }
.single-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(23,92,170,.2);
}
.single-frame-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.single-frame-track::-webkit-scrollbar { display: none; }
.single-frame-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: start;
}
.single-frame-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.single-frame-dots .sf-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: var(--clr-border);
  cursor: pointer; padding: 0; transition: .2s;
}
.single-frame-dots .sf-dot.active { background: var(--clr-primary); width: 22px; border-radius: 5px; }
.intro-text-col h2 { font-size: clamp(26px, 4vw, 40px); margin-bottom: 22px; }
.intro-text-col h2 span { color: var(--clr-primary); }
.intro-text-col p { color: var(--clr-text-muted); font-size: 16px; margin-bottom: 16px; }

/* scroll-reveal (JS toggles .in-view) */
[data-animate] { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
[data-animate].in-view { opacity: 1; transform: translateY(0); }
.intro-gallery-col.in-view { transform: translateX(0); }
.intro-gallery-col { transform: translateX(-24px); }
.intro-text-col { transform: translateX(24px); }
.intro-text-col.in-view, .intro-gallery-col.in-view { transform: translate(0,0); }

/* ---------------- What We Do (services grid) ---------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* Hover-reveal card: title at rest, full copy on hover/focus */
.service-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  min-height: 380px;
  color: #fff;
  isolation: isolate;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1), box-shadow .45s;
  outline: none;
}
.service-card.in-view { opacity: 1; transform: translateY(0); }
.service-card:nth-child(1) { transition-delay: 0s; }
.service-card:nth-child(2) { transition-delay: .08s; }
.service-card:nth-child(3) { transition-delay: .16s; }
.service-card:nth-child(4) { transition-delay: .24s; }
.service-card:nth-child(5) { transition-delay: .32s; }
.service-card:nth-child(6) { transition-delay: .4s; }
.service-card:hover, .service-card:focus-visible {
  box-shadow: 0 26px 50px rgba(6,91,171,.3);
  transition-delay: 0s;
}
.service-card:focus-visible { outline: 3px solid var(--clr-yellow); outline-offset: 3px; }

.service-media { position: absolute; inset: 0; z-index: 0; }
.service-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(.2,.8,.2,1);
}
.service-card:hover .service-media img,
.service-card:focus-visible .service-media img { transform: scale(1.08); }

/* Resting face — dark scrim + title pinned to the bottom */
.service-face {
  position: absolute; inset: 0;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, rgba(13,13,15,0) 35%, rgba(13,13,15,.88) 100%);
  transition: opacity .45s ease;
}
.service-face h3 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* Reveal panel — slides up over the card */
.service-reveal {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 28px;
  background: linear-gradient(160deg, rgba(6,91,171,.96) 0%, rgba(10,58,110,.97) 100%);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .45s ease, transform .5s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.service-reveal h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 14px;
}
.service-reveal p {
  font-size: 14.2px;
  line-height: 1.7;
  color: #e3eefb;
  margin-bottom: 20px;
}
.service-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #062f57;
  background: var(--clr-yellow);
  padding: 11px 22px;
  border-radius: 50px;
  transition: gap .3s, transform .3s, box-shadow .3s;
}
.service-link:hover { gap: 13px; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.28); }

.service-card:hover .service-reveal,
.service-card:focus-within .service-reveal,
.service-card:focus-visible .service-reveal {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.service-card:hover .service-face,
.service-card:focus-within .service-face,
.service-card:focus-visible .service-face { opacity: 0; }

/* Touch devices have no hover — show the reveal panel permanently */
@media (hover: none) {
  .service-card { min-height: 340px; }
  .service-face { opacity: 0; }
  .service-reveal { opacity: 1; transform: none; pointer-events: auto; }
}

/* ---------------- Stats ---------------- */
.stats-band {
  position: relative;
  background: #065bab;
  background-image: linear-gradient(135deg, #065bab 0%, #0a4a8a 100%);
  color: #fff;
  padding: 90px 0;
  overflow: hidden;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../images/halftone-dots.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: .3;
  pointer-events: none;
  z-index: 0;
}
.stats-band .container { position: relative; z-index: 1; }
.stats-heading { text-align: center; margin-bottom: 54px; color: #fff; }
.stats-heading span { color: var(--clr-yellow); }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  text-align: center;
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stat-item {
  padding: 26px 14px;
  border-radius: 16px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(2px);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), background .35s, border-color .35s;
}
.stat-item:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.13);
  border-color: rgba(236,232,21,.5);
}
.stat-num {
  font-size: clamp(46px, 6.5vw, 82px);
  font-weight: 900;
  color: var(--clr-yellow);
  line-height: 1.05;
  min-height: 1.05em;
  letter-spacing: -1px;
  text-shadow: 0 6px 22px rgba(0,0,0,.22);
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-label {
  font-size: 13.5px;
  font-weight: 600;
  color: #e2eefc;
  margin-top: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

/* Odometer — digits roll up into place */
.odometer {
  display: inline-flex;
  align-items: flex-start;
  height: 1.05em;
  overflow: hidden;
  vertical-align: bottom;
}
.odo-col {
  display: block;
  height: 1.05em;
  overflow: hidden;
}
.odo-strip {
  display: block;
  transform: translateY(0);
  transition: transform 2.2s cubic-bezier(.16, .84, .28, 1);
  will-change: transform;
}
.odo-digit {
  display: block;
  height: 1.05em;
  line-height: 1.05;
  text-align: center;
}

/* ---------------- Rotating circular halftone decoration ---------------- */
/* The circle is centred exactly on the section's top-left corner, so only
   the quarter that falls inside the section is visible while it spins. */
.has-round-deco { position: relative; overflow: hidden; }
.has-round-deco > *:not(.round-deco) { position: relative; z-index: 1; }
.round-deco {
  --deco-size: 460px;
  position: absolute;
  width: var(--deco-size);
  height: var(--deco-size);
  object-fit: contain;
  /* centred on a corner: exactly one quarter shows */
  top: calc(var(--deco-size) / -2);
  transform-origin: 50% 50%;
  transform: rotate(0deg);
  opacity: 0;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: opacity 1.1s ease;
}
.round-deco--left  { left: calc(var(--deco-size) / -2); }
.round-deco--right { right: calc(var(--deco-size) / -2); left: auto; }
/* legacy single-class usage falls back to the left corner */
.round-deco:not(.round-deco--right) { left: calc(var(--deco-size) / -2); }
.round-deco.in-view {
  opacity: .95;
  animation: spin-slow 34s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .round-deco.in-view { animation: none; }
}
@media (max-width: 980px) {
  .round-deco { --deco-size: 340px; }
}
@media (max-width: 560px) {
  .round-deco { --deco-size: 240px; }
  .round-deco.in-view { opacity: .6; }
}

/* ---------------- Verticals ---------------- */
.verticals-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
@media (max-width: 1240px) {
  .verticals-grid { grid-template-columns: repeat(3, 1fr); }
}
.vertical-card {
  background: var(--clr-off);
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  padding: 34px 24px 30px;
  text-align: center;
}
.vertical-card h3 { font-size: 17px; margin-bottom: 12px; letter-spacing: .3px; }
.vertical-card p { font-size: 13.5px; color: var(--clr-text-muted); line-height: 1.65; }
.vertical-card .vertical-logo {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--clr-border);
  margin: 0 auto 22px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(23,92,170,.12);
  transition: transform .3s;
}
.vertical-card:hover .vertical-logo { transform: translateY(-4px); }
.vertical-card .vertical-logo img { max-width: 68%; max-height: 68%; object-fit: contain; }
.vertical-card .vertical-logo--photo img { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: cover; }

.vertical-card.is-clickable {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  cursor: pointer;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s, background .35s;
}
.vertical-card.is-clickable:hover {
  transform: translateY(-7px);
  background: #fff;
  border-color: transparent;
  box-shadow: 0 20px 42px rgba(6,91,171,.18);
}
.vertical-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--clr-primary);
  transition: gap .3s;
}
.vertical-card.is-clickable:hover .vertical-link { gap: 10px; }

/* ---------------- Testimonials ---------------- */
.testimonials-section {
  position: relative;
  background: var(--clr-off);
  overflow: hidden;
}
.testimonial-viewport { overflow: hidden; padding: 8px 0 4px; }
.testimonial-track {
  display: flex;
  gap: 24px;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.t-card {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 3);
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 18px;
  padding: 38px 32px 30px;
  margin: 0;
  transition: transform .4s, box-shadow .4s, border-color .4s;
  overflow: hidden;
}
.t-card::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--clr-primary), var(--clr-teal), var(--clr-yellow));
  opacity: 0;
  transition: opacity .4s;
}
.t-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(6,91,171,.15);
  border-color: transparent;
}
.t-card:hover::after { opacity: 1; }

.t-mark {
  position: absolute;
  top: -18px; right: 18px;
  font-family: Georgia, serif;
  font-size: 120px;
  line-height: 1;
  color: var(--clr-primary);
  opacity: .1;
  pointer-events: none;
}
.t-stars { display: flex; gap: 3px; color: #f0b429; margin-bottom: 16px; }
.t-card blockquote {
  font-size: 15.5px;
  line-height: 1.8;
  color: var(--clr-text);
  margin: 0 0 24px;
}
.t-card figcaption {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--clr-border);
}
.t-avatar {
  width: 46px; height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-teal));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .5px;
  display: flex; align-items: center; justify-content: center;
}
.t-person { display: flex; flex-direction: column; }
.t-person strong { font-size: 15px; color: var(--clr-text); }
.t-person small { font-size: 12.8px; color: var(--clr-text-muted); margin-top: 2px; }

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 34px;
}
.t-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--clr-border);
  background: #fff;
  color: var(--clr-primary);
  font-size: 15px;
  cursor: pointer;
  transition: .25s;
}
.t-arrow:hover { background: var(--clr-primary); color: #fff; border-color: var(--clr-primary); }
.t-dots { display: flex; gap: 8px; }
.t-dots .t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--clr-border);
  padding: 0;
  cursor: pointer;
  transition: .25s;
}
.t-dots .t-dot.active { background: var(--clr-primary); width: 24px; border-radius: 5px; }

@media (max-width: 980px) {
  .t-card { flex: 0 0 calc((100% - 24px) / 2); }
}
@media (max-width: 640px) {
  .t-card { flex: 0 0 100%; padding: 32px 24px 26px; }
}

/* ---------------- Contact ---------------- */
.contact-section {
  background: var(--clr-dark);
  color: #fff;
  padding: 90px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 20px; }
.contact-info p { color: #c9c9cd; margin-bottom: 26px; }
.contact-detail { margin-bottom: 18px; }
.contact-detail .label { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--clr-yellow); }
.contact-section .eyebrow { color: var(--clr-yellow); }
.contact-detail .value { font-size: 16px; }

.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
  color: #fff;
  font-family: var(--font);
  font-size: 14px;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #8a8a90; }
.contact-form button { align-self: flex-start; }

/* ---------------- Footer ---------------- */
.site-footer { background: #065bab; color: #e5e5e8; position: relative; overflow: hidden; }
.footer-wave {
  position: absolute;
  top: 0; left: 0; width: 100%;
  height: auto;
  opacity: .3;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.footer-cta, .footer-main, .footer-bottom { position: relative; z-index: 1; }
.footer-cta { text-align: center; padding: 70px 24px 56px; border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-cta h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 26px; color: #fff; }
.footer-cta h2 span { color: var(--clr-yellow); }
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-brand .footer-logo { justify-content: center; }
.footer-brand .footer-social { margin-top: 24px; }
.footer-brand .social-icons { justify-content: center; }
.footer-brand .follow-label { text-align: center; }

/* Footer contact — icon + label + value, higher contrast */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
}
.fc-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  color: var(--clr-yellow);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, border-color .25s;
}
.footer-contact-item:hover .fc-icon {
  background: var(--clr-yellow);
  border-color: var(--clr-yellow);
  color: #065bab;
}
.fc-text { display: flex; flex-direction: column; }
.fc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--clr-yellow);
  margin-bottom: 5px;
}
.fc-value {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #ffffff;
}
.fc-link { transition: color .25s; }
.fc-link:hover { color: var(--clr-yellow); text-decoration: underline; }

.footer-social { margin-top: 22px; }
.follow-label { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: #a9c8ea; margin-bottom: 12px; }
.social-icons { display: flex; gap: 12px; margin-top: 0; }
.social-icons a {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  transition: .25s;
}
.social-icons a:hover {
  background: var(--clr-yellow);
  border-color: var(--clr-yellow);
  color: #065bab;
  transform: translateY(-3px);
}

.footer-main {
  max-width: var(--container);
  margin: 0 auto;
  padding: 50px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 30px;
}
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #cfe0f4; font-size: 14px; transition: .2s; }
.footer-col ul a:hover { color: var(--clr-yellow); }
.footer-label { font-size: 12px; text-transform: uppercase; color: #a9c8ea; margin-top: 12px; }
.footer-col p { font-size: 14px; color: #e2edfa; margin-bottom: 4px; }
.footer-logo { margin-bottom: 14px; }

.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 12.5px;
  color: #a9c8ea;
}
.footer-bottom a { color: var(--clr-yellow); }

/* ---------------- Inner page hero (used by sub pages) ---------------- */
.page-hero {
  position: relative;
  background: #065bab;
  background-image: linear-gradient(135deg, #065bab 0%, #0a4a8a 100%);
  color: #fff;
  padding: 80px 0 70px;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../images/halftone-dots.png');
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  opacity: .35;
  pointer-events: none;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,91,171,.55) 0%, rgba(6,91,171,.25) 55%, rgba(6,91,171,0) 100%);
  pointer-events: none;
  z-index: 0;
}
.page-hero h1 { font-size: clamp(30px, 5vw, 48px); margin-bottom: 10px; position: relative; z-index: 1; }
.page-hero .breadcrumb { color: #cfe0f4; font-size: 14px; position: relative; z-index: 1; }
.page-hero .breadcrumb a { color: var(--clr-yellow); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero .container { position: relative; z-index: 1; }

/* ---------------- Services accordion (single-row, expanding) ---------------- */
.services-accordion {
  display: flex;
  gap: 12px;
  height: 460px;
}
.svc-panel {
  display: block;
  color: #fff;
  text-decoration: none;
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  border-radius: 16px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  color: #fff;
  outline: none;
  transition: flex-grow .55s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
}
.svc-panel.is-open {
  flex-grow: 4.6;
  box-shadow: 0 24px 50px rgba(6,91,171,.3);
}
/* whole block is the click target */
.svc-panel.is-open:hover { box-shadow: 0 28px 58px rgba(6,91,171,.42); }
.svc-panel:not(.is-open):hover .svc-panel-vtitle { color: var(--clr-yellow); }
.svc-panel.is-open:hover .service-link { gap: 12px; transform: translateY(-2px); }
.svc-panel:focus-visible { outline: 3px solid var(--clr-yellow); outline-offset: 3px; }

.svc-panel-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(13,13,15,.15) 0%, rgba(13,13,15,.88) 100%);
  transition: background .5s;
}
.svc-panel.is-open .svc-panel-scrim {
  background: linear-gradient(150deg, rgba(6,91,171,.9) 0%, rgba(10,45,86,.94) 100%);
}

/* Collapsed state — title reads vertically */
.svc-panel-collapsed {
  position: absolute; inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 26px 12px;
  opacity: 1;
  transition: opacity .35s ease;
}
.svc-panel-vtitle {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .6px;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0,0,0,.5);
}
.svc-panel.is-open .svc-panel-collapsed { opacity: 0; pointer-events: none; }

/* Expanded state */
.svc-panel-open {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 38px 34px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .45s ease .15s, transform .5s cubic-bezier(.2,.8,.2,1) .15s;
}
.svc-panel.is-open .svc-panel-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.svc-panel-heading {
  display: block;
  font-size: clamp(22px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
}
.svc-panel-tag {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--clr-yellow);
  margin-bottom: 12px;
}
.svc-panel-desc {
  display: block;
  font-size: 14.5px;
  line-height: 1.75;
  color: #e3eefb;
  margin-bottom: 22px;
  max-width: 60ch;
}

/* Tablet: two rows of three, still compact */
@media (max-width: 1100px) {
  .services-accordion { height: 400px; }
  .svc-panel-open { padding: 30px 26px; }
  .svc-panel-desc { font-size: 13.5px; }
}

/* Mobile: stack vertically, expand downward */
@media (max-width: 860px) {
  .services-accordion {
    flex-direction: column;
    height: auto;
    gap: 10px;
  }
  .svc-panel {
    flex: none;
    height: 88px;
    transition: height .5s cubic-bezier(.2,.8,.2,1), box-shadow .4s;
  }
  .svc-panel.is-open { height: 400px; }
  .svc-panel-collapsed {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 0 24px;
  }
  .svc-panel-vtitle {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 16px;
    white-space: normal;
  }
  .svc-panel-open { padding: 26px 24px; }
  .svc-panel-desc { font-size: 13.5px; margin-bottom: 18px; }
}

.svc-panel .service-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap .3s, transform .3s, box-shadow .3s;
}

/* ---------------- Service pages ---------------- */
.service-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.service-tagline {
  font-size: 17px;
  font-weight: 600;
  color: var(--clr-primary);
  margin-bottom: 16px;
}
.service-copy {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--clr-text-muted);
  margin-bottom: 28px;
}
.service-intro-media img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(6,91,171,.18);
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.offering-card {
  position: relative;
  background: var(--clr-off);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  padding: 28px 24px 26px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, background .35s, border-color .35s;
}
.offering-card::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--clr-primary), var(--clr-teal));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .4s ease;
}
.offering-card:hover {
  transform: translateY(-6px);
  background: #fff;
  border-color: transparent;
  box-shadow: 0 18px 38px rgba(6,91,171,.15);
}
.offering-card:hover::before { transform: scaleY(1); }
.offering-num {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: var(--clr-teal);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}
.offering-card h3 {
  font-size: 16.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--clr-text);
}

/* Other services cross-links */
.other-services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.other-service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.other-service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 40px rgba(6,91,171,.18);
  border-color: transparent;
}
.os-media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--clr-off);
}
.os-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.other-service-card:hover .os-media img { transform: scale(1.08); }
.os-body {
  display: flex;
  flex-direction: column;
  padding: 18px 18px 20px;
  flex: 1;
}
.os-body strong {
  font-size: 15px;
  line-height: 1.35;
  color: var(--clr-text);
  margin-bottom: 6px;
}
.os-body small {
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--clr-text-muted);
  flex: 1;
  margin-bottom: 14px;
}
.os-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--clr-primary);
  transition: gap .3s;
}
.other-service-card:hover .os-link { gap: 10px; }

@media (max-width: 1100px) {
  .other-services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 980px) {
  .service-intro-grid { grid-template-columns: 1fr; gap: 36px; }
  .offerings-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .other-services-grid { grid-template-columns: repeat(2, 1fr); }
  .offerings-grid { grid-template-columns: 1fr; }
}

/* ---------------- Gallery page: 3-up coverflow carousel ---------------- */
.coverflow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 30px 0 10px;
}
.cf-stage {
  position: relative;
  flex: 1;
  height: 520px;
  perspective: 1400px;
}
.cf-item {
  position: absolute;
  top: 0; left: 50%;
  width: 400px;
  height: 100%;
  margin-left: -200px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
  transition: transform .5s cubic-bezier(.22,.8,.3,1), opacity .5s ease, visibility .5s;
  cursor: pointer;
}
.cf-item.cf-center {
  box-shadow: 0 26px 55px rgba(23,92,170,.35);
  cursor: default;
}
.cf-item img { width: 100%; height: 100%; object-fit: cover; }

.cf-arrow {
  flex-shrink: 0;
  position: relative;
  z-index: 20;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid var(--clr-border);
  background: #fff;
  font-size: 20px;
  line-height: 1;
  color: var(--clr-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(6,91,171,.12);
  transition: background .25s, color .25s, border-color .25s, transform .25s, box-shadow .25s;
}
.cf-arrow:hover {
  background: var(--clr-primary);
  color: #fff;
  border-color: var(--clr-primary);
  transform: scale(1.08);
  box-shadow: 0 10px 26px rgba(6,91,171,.3);
}
.cf-arrow:active { transform: scale(.96); }
.cf-arrow:focus-visible { outline: 3px solid var(--clr-yellow); outline-offset: 3px; }

.cf-dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.cf-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: none; background: var(--clr-border);
  cursor: pointer; padding: 0;
  transition: .2s;
}
.cf-dot.active { background: var(--clr-primary); width: 22px; border-radius: 5px; }

/* Caption on the centred slide */
.cf-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 34px 20px 18px;
  font-size: 13.5px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.85));
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.cf-item.cf-center .cf-caption { opacity: 1; }
.cf-item.cf-center::after {
  content: '⤢';
  position: absolute;
  top: 14px; right: 14px;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--clr-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px;
  opacity: 0;
  transition: opacity .3s, transform .3s;
}
.cf-item.cf-center:hover::after { opacity: 1; transform: scale(1.08); }

.cf-counter {
  text-align: center;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-muted);
  letter-spacing: 1px;
}
.cf-counter span { color: var(--clr-primary); }

/* ---------------- Lightbox ---------------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(8,14,24,.94);
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 70px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-figure { margin: 0; max-width: 100%; max-height: 100%; text-align: center; }
.lb-figure img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 10px;
  box-shadow: 0 30px 70px rgba(0,0,0,.5);
  margin: 0 auto;
}
.lb-figure figcaption {
  margin-top: 16px;
  color: #e2eefc;
  font-size: 14px;
  letter-spacing: .3px;
}
.lb-close {
  position: absolute; top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: none; color: #fff;
  font-size: 26px; line-height: 1;
  cursor: pointer;
  transition: .25s;
}
.lb-close:hover { background: var(--clr-yellow); border-color: var(--clr-yellow); color: #062f57; }
.lb-nav {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.3);
  background: rgba(255,255,255,.06); color: #fff;
  font-size: 17px;
  cursor: pointer;
  transition: .25s;
}
.lb-nav:hover { background: var(--clr-yellow); border-color: var(--clr-yellow); color: #062f57; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

@media (max-width: 640px) {
  .lightbox { padding: 60px 14px; }
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-figure img { max-height: 66vh; }
}

@media (max-width: 760px) {
  .cf-stage { height: 340px; }
  .cf-item { width: 250px; margin-left: -125px; }
  .coverflow { gap: 6px; }
  .cf-arrow { width: 42px; height: 42px; font-size: 15px; }
}
.gallery-masonry {
  columns: 4 220px;
  column-gap: 16px;
}
.gallery-masonry img {
  width: 100%;
  margin-bottom: 16px;
  border-radius: 10px;
  break-inside: avoid;
}

/* ---------------- About page ---------------- */
.about-lead {
  font-size: clamp(15px, 1.7vw, 17.5px);
  color: var(--clr-text-muted);
  line-height: 1.85;
}

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.mv-card {
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 38px 34px;
  transition: transform .3s, box-shadow .3s;
}
.mv-card:hover { transform: translateY(-5px); box-shadow: 0 18px 38px rgba(23,92,170,.14); }
.mv-icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: linear-gradient(135deg, var(--clr-primary), var(--clr-teal));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.mv-card h2 { font-size: 23px; margin-bottom: 12px; }
.mv-card p { color: var(--clr-text-muted); font-size: 15px; line-height: 1.75; }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value-card {
  background: var(--clr-off);
  border: 1px solid var(--clr-border);
  border-radius: 14px;
  padding: 30px 24px;
  text-align: center;
  transition: transform .3s, box-shadow .3s, background .3s;
}
.value-card:hover {
  transform: translateY(-6px);
  background: #fff;
  box-shadow: 0 16px 34px rgba(23,92,170,.13);
}
.value-icon {
  width: 54px; height: 54px; border-radius: 50%;
  background: #fff;
  border: 2px solid var(--clr-primary);
  color: var(--clr-primary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: background .3s, color .3s;
}
.value-card:hover .value-icon { background: var(--clr-primary); color: #fff; }
.value-card h3 { font-size: 17px; margin-bottom: 10px; }
.value-card p { font-size: 13.8px; color: var(--clr-text-muted); line-height: 1.7; }

.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.highlights-grid img {
  width: 100%; height: 240px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform .4s, box-shadow .4s;
}
.highlights-grid img:hover { transform: scale(1.03); box-shadow: 0 16px 34px rgba(0,0,0,.18); }

/* ---------------- Clients marquee ---------------- */
.clients-section { background: #fff; overflow: hidden; }
.marquee {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  /* fade the logos out at both edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-row { overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  will-change: transform;
}
/* Track holds the list 4 times, so -25% lands exactly on the next copy */
.marquee-left  { animation: marquee-left 46s linear infinite; }
.marquee-right { animation: marquee-right 46s linear infinite; }
.marquee-slow  { animation-duration: 58s; }
.marquee-fast  { animation-duration: 38s; }

@keyframes marquee-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-25%); }
}
@keyframes marquee-right {
  from { transform: translateX(-25%); }
  to   { transform: translateX(0); }
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.client-logo {
  flex: 0 0 auto;
  width: 190px;
  height: 92px;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  transition: box-shadow .3s, transform .3s, border-color .3s;
}
.client-logo:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(23,92,170,.16);
}
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee-row { overflow-x: auto; }
}
@media (max-width: 760px) {
  .client-logo { width: 150px; height: 78px; padding: 12px 14px; }
  .marquee { gap: 14px; }
  .marquee-track { gap: 14px; }
  .marquee-left  { animation-duration: 32s; }
  .marquee-right { animation-duration: 32s; }
  .marquee-slow  { animation-duration: 40s; }
  .marquee-fast  { animation-duration: 26s; }
}

/* ---------------- Instagram section ---------------- */
.instagram-section { background: var(--clr-off); }
.instagram-section.ig-white { background: #fff; }
.ig-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.ig-avatar {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid transparent;
  background-image: linear-gradient(#fff, #fff), linear-gradient(135deg, #0a66c2, #17a9d0);
  background-origin: border-box;
  background-clip: content-box, border-box;
  display: flex; align-items: center; justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}
.ig-avatar img { max-width: 78%; max-height: 78%; object-fit: contain; }
.ig-meta { flex: 1; min-width: 200px; }
.ig-handle { font-size: 20px; font-weight: 700; color: var(--clr-text); transition: color .2s; }
.ig-handle:hover { color: var(--clr-primary); }
.ig-meta p { font-size: 14px; color: var(--clr-text-muted); margin-top: 4px; }
.sf-follow {
  background: #0a66c2 !important;
  border-color: #0a66c2 !important;
  color: #fff !important;
  flex-shrink: 0;
}
.sf-follow:hover { background: #084d92 !important; border-color: #084d92 !important; }

.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ig-tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  display: block;
}
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.ig-tile:hover img { transform: scale(1.08); }
.ig-tile-overlay {
  position: absolute; inset: 0;
  background: rgba(10,102,194,.75);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity .3s;
}
.ig-tile:hover .ig-tile-overlay { opacity: 1; }

.ig-embed-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }

@media (max-width: 980px) {
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-embed-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
  .ig-embed-grid { grid-template-columns: 1fr; }
  .ig-header { justify-content: center; text-align: center; }
  .ig-meta { min-width: 100%; }
  .ig-follow { width: 100%; text-align: center; }
}

/* ---------------- News / Blog cards ---------------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .35s;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 46px rgba(6,91,171,.16);
  border-color: transparent;
}
.news-card .news-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--clr-off);
}
.news-card .news-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.news-card:hover .news-thumb img { transform: scale(1.07); }
.news-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--clr-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 50px;
}
.news-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.news-card-body .date {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--clr-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.news-card-body h3 { font-size: 17.5px; line-height: 1.4; margin: 10px 0 12px; }
.news-card-body h3 a { color: var(--clr-text); transition: color .25s; }
.news-card-body h3 a:hover { color: var(--clr-primary); }
.news-card-body p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--clr-text-muted);
  margin-bottom: 18px;
  flex: 1;
}
.news-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--clr-primary);
  transition: gap .3s, color .25s;
}
.news-link:hover { gap: 11px; color: var(--clr-primary-dark); }

.news-thumb--placeholder {
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ---------------- Generic content page ---------------- */
.content-page { padding: 70px 0; }
.content-page h2 { font-size: 26px; margin: 30px 0 14px; }
.content-page p { margin-bottom: 14px; color: var(--clr-text-muted); }
.content-page ul { margin: 0 0 14px 20px; list-style: disc; color: var(--clr-text-muted); }
.content-page ul li { margin-bottom: 6px; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .verticals-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Nav collapses earlier so 7 links never crowd on tablets */
@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .logo-img { height: 52px; }
}

@media (max-width: 980px) {
  .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .intro-split-grid { grid-template-columns: 1fr; gap: 40px; }
  .intro-gallery-col, .intro-text-col { transform: translateY(24px); }
  .intro-gallery-col.in-view, .intro-text-col.in-view { transform: translateY(0); }
  /* service/inner two-column blocks stack */
  .section .container[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; gap: 30px !important; }
}

@media (max-width: 760px) {
  .logo-img { height: 46px; }
  .section { padding: 60px 0; }
  .intro-split { padding: 60px 0; }
  .page-hero { padding: 60px 0 50px; }
  .services-grid { grid-template-columns: 1fr; }
  .verticals-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; text-align: center; }
  .footer-main .logo { justify-content: center; }
  .footer-main .social-icons { justify-content: center; }
  .gallery-masonry { columns: 2 140px; }
  .news-grid { grid-template-columns: 1fr; }
  .contact-form button { align-self: stretch; text-align: center; }

  /* Show the whole landscape video frame — no tall crop on phones */
  .hero {
    aspect-ratio: 16 / 9;
    max-height: none;
    align-items: flex-end;
  }
  .hero video { object-fit: contain; background: #000; }
  .hero::after {
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,.8) 100%);
  }
  .hero-content { padding: 0 18px 20px; }
  .hero-content h1 { font-size: clamp(20px, 5.4vw, 30px); }
  .hero-content .hero-sub { font-size: clamp(12px, 3.2vw, 15px); }
}

/* Phone landscape: keep the video frame in view without overflowing the screen */
@media (max-width: 940px) and (orientation: landscape) {
  .hero {
    aspect-ratio: 16 / 9;
    max-height: calc(100vh - 70px);
  }
  .hero video { object-fit: contain; }
  .hero-content { padding: 0 20px 18px; }
  .hero-content h1 { font-size: clamp(18px, 4vw, 30px); margin-bottom: 4px; }
  .hero-content .hero-sub { font-size: clamp(11px, 2.2vw, 15px); }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  .highlights-grid { grid-template-columns: 1fr; }
  .highlights-grid img { height: 210px; }
  .mv-card { padding: 30px 24px; }
  .container { padding: 0 16px; }
  .header-inner { padding: 12px 16px; }
  .logo-img { height: 40px; }
  .verticals-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px 12px; }
  .gallery-masonry { columns: 1; }
  .single-frame { aspect-ratio: 3 / 2; }
  .cf-stage { height: 240px; }
  .cf-item { width: 190px; margin-left: -95px; }
  .vertical-card { padding: 28px 18px 24px; }
  .vertical-card .vertical-logo { width: 84px; height: 84px; }
  .testimonial-card, .news-card-body { padding: 22px; }
  .footer-cta { padding: 56px 18px 44px; }
  .btn-primary { padding: 12px 26px; font-size: 13.5px; }
}
