/* ─────────────────────────────────────────────
   RESET & ROOT
───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* ── Backgrounds ─── */
  --bg:               #fbfbfd;
  --bg-secondary:     #f5f5f7;
  --bg-tertiary:      #e8e8ed;

  /* ── Surfaces ─── */
  --surface:          rgba(255, 255, 255, 0.82);
  --surface-raised:   #ffffff;

  /* ── Text ─── */
  --label:            #1d1d1f;
  --label-2:          #6e6e73;
  --label-3:          #aeaeb2;

  /* ── Borders ─── */
  --separator:        rgba(0, 0, 0, 0.08);
  --separator-opaque: #d2d2d7;

  /* ── Accent ─── */
  --accent:           #df5430;
  --accent-hover:     #c94a28;
  --accent-soft:      rgba(223, 84, 48, 0.09);

  /* ── Blue ─── */
  --blue:             #0071e3;
  --blue-hover:       #0077ed;

  /* ── Radii ─── */
  --r-sm:  10px;
  --r-md:  18px;
  --r-lg:  24px;
  --r-xl:  32px;

  /* ── Transitions ─── */
  --ease-out:    cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-apple:  cubic-bezier(0.22, 1, 0.36, 1);
}


/* ─────────────────────────────────────────────
   BASE
───────────────────────────────────────────── */
html {
  font-size: 17px;
  scroll-behavior: smooth;
  scroll-padding-top: 52px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont,
               'SF Pro Display', 'SF Pro Text',
               'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--label);
  line-height: 1.5;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}


/* ─────────────────────────────────────────────
   NAV
───────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 28px;
  background: var(--surface);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 0.5px solid var(--separator);
  transition: background 0.35s ease;
  animation: navSlideDown 0.7s var(--ease-apple) 0.05s both;
}

.nav-logo {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--label);
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--label-2);
  font-size: 0.8rem;
  font-weight: 400;
  padding: 0 15px;
  transition: color 0.18s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--label); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-left: 8px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.nav-right { display: flex; align-items: center; gap: 14px; }


/* ─────────────────────────────────────────────
   HAMBURGER
───────────────────────────────────────────── */
.nav-hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 6px 4px;
  min-width: 44px;
  min-height: 44px;
  background: none;
  border: none;
  line-height: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--label);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.25s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ─────────────────────────────────────────────
   MOBILE NAV DRAWER
───────────────────────────────────────────── */
.nav-drawer {
  display: none;
  position: fixed;
  top: 52px;
  left: 0; right: 0;
  z-index: 190;
  background: var(--surface);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 0.5px solid var(--separator-opaque);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-drawer.open { max-height: 420px; }

.nav-drawer-inner { padding: 12px 28px 28px; }

.nav-drawer-links { list-style: none; }
.nav-drawer-links li { border-bottom: 0.5px solid var(--separator); }
.nav-drawer-links li:last-child { border-bottom: none; }
.nav-drawer-links a {
  display: block;
  padding: 15px 0;
  font-size: 1rem;
  font-weight: 400;
  color: var(--label);
  letter-spacing: -0.018em;
  transition: color 0.15s;
}
.nav-drawer-links a:hover { color: var(--label-2); }

.nav-drawer-cta {
  display: block;
  margin-top: 18px;
  background: var(--accent);
  color: #fff;
  padding: 14px 24px;
  min-height: 44px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  transition: background 0.2s ease;
}
.nav-drawer-cta:hover { background: var(--accent-hover); }




/* ─────────────────────────────────────────────
   BUTTONS
───────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: -0.012em;
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.22s ease, box-shadow 0.22s ease;
}
.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 20px rgba(223, 84, 48, 0.28);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--blue);
  font-family: inherit;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: -0.012em;
  padding: 14px 4px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: color 0.15s ease, gap 0.22s ease;
}
.btn-secondary:hover { color: var(--blue-hover); gap: 8px; }
.btn-arrow { font-size: 1.05rem; line-height: 1; }


/* ─────────────────────────────────────────────
   SECTION COMMONS
───────────────────────────────────────────── */
.section-inner { max-width: 1020px; margin: 0 auto; }

.eyebrow {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.032em;
  color: var(--label);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--label-2);
  max-width: 480px;
  line-height: 1.62;
  letter-spacing: -0.007em;
}


/* ─────────────────────────────────────────────
   HERO
───────────────────────────────────────────── */
.hero {
  padding: 100px 40px 120px;
  max-width: 1040px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--label);
  margin-bottom: 24px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 .word {
  display: inline-block;
  animation: wordReveal 0.75s var(--ease-apple) both;
  animation-delay: calc(0.16s + var(--word-i, 0) * 0.055s);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--label-2);
  max-width: 540px;
  margin: 0 auto 40px;
  line-height: 1.62;
  letter-spacing: -0.007em;
  animation: fadeUp 0.7s var(--ease-apple) both 0.62s;
}

.hero > .eyebrow {
  margin-bottom: 18px;
  animation: fadeUp 0.65s var(--ease-apple) both 0.08s;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  animation: fadeUp 0.7s var(--ease-apple) both 0.75s;
}

.hero-trust {
  font-size: 0.78rem;
  color: var(--label-2);
  letter-spacing: -0.005em;
  animation: fadeUp 0.7s var(--ease-apple) both 0.86s;
}

.yt-embed-wrap {
  margin-top: 48px;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 0.5px solid var(--separator);
  aspect-ratio: 16 / 9;
  background: #111;
  animation: fadeUp 0.85s var(--ease-apple) both 0.96s;
  box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}
.yt-embed-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}


/* ─────────────────────────────────────────────
   WORK SECTION
───────────────────────────────────────────── */
.work-section {
  background: var(--bg-secondary);
  padding: 140px 40px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.video-card {
  border-radius: var(--r-lg);
  aspect-ratio: 16 / 9;
  position: relative;
  cursor: pointer;
  border: 0.5px solid rgba(0,0,0,0.10);
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  transition: transform 0.38s var(--ease-out),
              box-shadow 0.38s ease;
  isolation: isolate;
}

.video-card-inner {
  position: absolute;
  inset: 0;
  clip-path: inset(0 round var(--r-lg));
  background: var(--bg-tertiary);
  display: flex;
  align-items: flex-end;
  padding: 18px;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 52px rgba(0,0,0,0.14);
}
.video-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--r-lg);
}

.video-card-bg       { position: absolute; inset: 0; background: linear-gradient(145deg, #1c1c2e 0%, #2d2d44 100%); }
.video-card-bg.green { background: linear-gradient(145deg, #0d2318 0%, #1a3d28 100%); }
.video-card-bg.dark  { background: linear-gradient(145deg, #111113 0%, #1c1c1e 100%); }
.video-card-bg.gold  { background: linear-gradient(145deg, #1f1000 0%, #3a2000 100%); }

.video-card-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.76) 0%, transparent 58%);
  pointer-events: none;
  z-index: 2;
}

.video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  transition: transform 0.45s var(--ease-out);
}
.video-card:hover .video-thumb { transform: scale(1.04); }

.yt-play    { z-index: 3; }
.share-icon { z-index: 3; }
.video-meta { z-index: 3; }

.yt-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  width: 48px; height: 48px;
  background: rgba(255, 0, 0, 0.84);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.28s var(--ease-spring), background 0.2s ease;
}
.video-card:hover .yt-play {
  background: #ff0000;
  transform: translate(-50%, -55%) scale(1.1);
}
.yt-play svg { fill: white; margin-left: 3px; }

.video-meta {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}
.video-avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.65rem; color: white; font-weight: 600;
  flex-shrink: 0;
  border: 0.5px solid rgba(255,255,255,0.14);
  overflow: hidden;
}
.video-avatar img { width: 100%; height: 100%; object-fit: cover; }
.video-title   { font-size: 0.73rem; font-weight: 500; color: rgba(255,255,255,0.92); line-height: 1.38; }
.video-creator { font-size: 0.63rem; color: rgba(255,255,255,0.48); margin-top: 2px; }

.share-icon {
  position: absolute;
  top: 14px; right: 14px;
  width: 30px; height: 30px;
  background: rgba(255,255,255,0.10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 0.5px solid rgba(255,255,255,0.10);
  transition: background 0.2s ease;
}
.video-card:hover .share-icon { background: rgba(255,255,255,0.2); }


/* ─────────────────────────────────────────────
   SERVICES SECTION
───────────────────────────────────────────── */
.services-section {
  background: var(--bg);
  padding: 140px 40px;
}

.services-grid {
  margin-top: 36px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 0.5px solid var(--separator-opaque);
  box-shadow: 0 2px 24px rgba(0,0,0,0.05);
}

.service-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  padding: 32px 30px;
  border-bottom: 0.5px solid var(--separator-opaque);
  align-items: start;
  background: var(--surface-raised);
  transition: background 0.5s var(--ease-apple),
              box-shadow 0.5s var(--ease-apple);
}
.service-item:last-child { border-bottom: none; }
.service-item:hover      { background: var(--bg-secondary); }

.service-item.service-active {
  background: var(--accent-soft) !important;
  box-shadow: inset 3px 0 0 var(--accent);
}

.service-num {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--label-3);
  padding-top: 3px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}
.service-name {
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin-bottom: 7px;
  color: var(--label);
}
.service-desc {
  font-size: 0.88rem;
  color: var(--label-2);
  line-height: 1.68;
}


/* ─────────────────────────────────────────────
   CLIENTS SECTION
───────────────────────────────────────────── */
.clients-section {
  background: var(--bg-secondary);
  padding: 140px 40px;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 52px;
}

.client-card {
  background: var(--surface-raised);
  border-radius: var(--r-md);
  padding: 24px 22px;
  border: 0.5px solid var(--separator-opaque);
  transition: transform 0.32s var(--ease-out),
              box-shadow 0.32s ease;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.08);
}
.client-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--r-md);
}
.client-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255,255,255,0.18) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.client-card:hover::before { opacity: 1; }
.client-card > * { position: relative; z-index: 1; }

.client-avatar {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--bg-secondary);
  margin-bottom: 16px;
  overflow: hidden;
  border: 0.5px solid var(--separator);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 600;
  color: var(--label-2);
  flex-shrink: 0;
}
.client-avatar img { width: 100%; height: 100%; object-fit: cover; }
.client-name { font-weight: 600; font-size: 0.88rem; letter-spacing: -0.012em; margin-bottom: 4px; color: var(--label); }
.client-role { font-size: 0.75rem; color: var(--label-2); margin-bottom: 12px; line-height: 1.42; }
.client-stat { font-size: 0.8rem; font-weight: 600; color: var(--label); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }


/* ─────────────────────────────────────────────
   TESTIMONIALS SECTION
───────────────────────────────────────────── */
.testimonials-section {
  background: var(--bg);
  padding: 140px 40px;
}

.quotes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 52px;
}

.quote-card {
  background: var(--surface-raised);
  border: 0.5px solid var(--separator-opaque);
  border-radius: var(--r-lg);
  padding: 28px 26px 24px;
  transition: transform 0.32s var(--ease-out),
              box-shadow 0.32s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.07);
}
.quote-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: var(--r-lg);
}
.quote-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at var(--glare-x, 50%) var(--glare-y, 50%),
    rgba(255,255,255,0.16) 0%,
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 0;
}
.quote-card:hover::before { opacity: 1; }
.quote-card > * { position: relative; z-index: 1; }

.quote-mark {
  font-size: 1.8rem;
  color: var(--label-3);
  opacity: 0.6;
  line-height: 1;
  margin-bottom: 14px;
  font-family: 'Georgia', 'Times New Roman', serif;
}
.quote-text {
  font-size: 0.88rem;
  line-height: 1.70;
  color: var(--label);
  margin-bottom: 20px;
  letter-spacing: -0.004em;
  flex: 1;
}
.quote-divider {
  border: none;
  border-top: 0.5px solid var(--separator-opaque);
  margin-bottom: 18px;
}
.quote-author  { display: flex; align-items: center; gap: 11px; }
.quote-avatar  {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  border: 0.5px solid var(--separator);
  flex-shrink: 0;
  overflow: hidden;
}
.quote-avatar img { width: 100%; height: 100%; object-fit: cover; }
.quote-name { font-weight: 600; font-size: 0.82rem; color: var(--label); letter-spacing: -0.012em; }
.quote-role { font-size: 0.72rem; color: var(--label-3); margin-top: 2px; }


/* ─────────────────────────────────────────────
   CTA / CONTACT SECTION
───────────────────────────────────────────── */
.cta-section {
  background: var(--bg-secondary);
  padding: 160px 40px;
  text-align: center;
}
.cta-inner {
  max-width: 1020px;
  margin: 0 auto;
}

.cta-inner > .eyebrow { margin-bottom: 20px; }

.cta-title {
  font-size: clamp(2.1rem, 4.8vw, 4rem);
  font-weight: 600;
  color: var(--label);
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.cta-sub {
  color: var(--label-2);
  font-size: 1.05rem;
  max-width: 480px;
  margin: 0 auto 48px;
  line-height: 1.62;
  letter-spacing: -0.007em;
}

.calendly-wrap {
  max-width: 820px;
  margin: 0 auto;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 0.5px solid var(--separator-opaque);
  box-shadow: 0 4px 36px rgba(0,0,0,0.07);
}
.calendly-inline-widget {
  width: 100%;
  min-width: 320px;
  height: 900px;
  scrollbar-width: none;
}
.calendly-inline-widget::-webkit-scrollbar { display: none; }
.calendly-inline-widget iframe {
  scrollbar-width: none;
}
.calendly-inline-widget iframe::-webkit-scrollbar { display: none; }


/* ─────────────────────────────────────────────
   FOOTER
───────────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 0.5px solid var(--separator-opaque);
}

.footer-top {
  max-width: 1020px;
  margin: 0 auto;
  padding: 60px 28px 36px;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) repeat(3, auto);
  gap: 52px;
  align-items: start;
}

.footer-logo    { color: var(--label); font-weight: 600; font-size: 0.92rem; letter-spacing: -0.018em; margin-bottom: 10px; }
.footer-tagline { color: var(--label-3); font-size: 0.75rem; line-height: 1.6; max-width: 200px; }

.footer-col h4 {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--label);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col-links { display: flex; flex-direction: column; gap: 10px; }
.footer-col-links a {
  color: var(--label-2);
  font-size: 0.76rem;
  line-height: 1.4;
  letter-spacing: -0.004em;
  transition: color 0.15s ease;
}
.footer-col-links a:hover { color: var(--label); }

.footer-bottom {
  max-width: 1020px;
  margin: 0 auto;
  padding: 20px 28px;
  border-top: 0.5px solid var(--separator-opaque);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-copy  { color: var(--label-3); font-size: 0.72rem; letter-spacing: -0.004em; }
.footer-legal { display: flex; gap: 22px; }
.footer-legal a {
  color: var(--label-3);
  font-size: 0.72rem;
  transition: color 0.15s ease;
}
.footer-legal a:hover { color: var(--label-2); }


/* ─────────────────────────────────────────────
   VIDEO MODAL
───────────────────────────────────────────── */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.video-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
}

.video-modal-shell {
  position: relative;
  width: 100%;
  max-width: 1020px;
  z-index: 1;
  transform: scale(0.94) translateY(10px);
  transition: transform 0.35s var(--ease-spring), opacity 0.3s ease;
  opacity: 0;
}
.video-modal.open .video-modal-shell {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.video-modal-player {
  aspect-ratio: 16 / 9;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 100px rgba(0,0,0,0.7),
              0  0   0 0.5px rgba(255,255,255,0.08);
}
.video-modal-player iframe {
  width: 100%;
  height: 100%;
  display: block;
}

.video-modal-close {
  position: absolute;
  top: -48px;
  right: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 0.5px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.video-modal-close:hover {
  background: rgba(255,255,255,0.22);
  transform: scale(1.08);
}


/* ─────────────────────────────────────────────
   SCROLL CAROUSEL (mobile only)
───────────────────────────────────────────── */
.scroll-carousel-wrap { position: relative; margin-top: 52px; }

.scroll-carousel-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 56px;
  pointer-events: none;
  z-index: 2;
}

.scroll-dots {
  display: none;
  justify-content: center;
  gap: 5px;
  margin-top: 22px;
}
.scroll-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--separator-opaque);
  transition: width 0.35s var(--ease-spring),
              background 0.25s ease,
              border-radius 0.35s ease;
  cursor: pointer;
}
.scroll-dot.active {
  width: 20px;
  border-radius: 999px;
  background: var(--label);
}


/* ─────────────────────────────────────────────
   ANIMATIONS & KEYFRAMES
───────────────────────────────────────────── */
@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

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

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent) 0%, #ff8c6b 100%);
  z-index: 500;
  transform-origin: left center;
  pointer-events: none;
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.75s var(--ease-apple),
              transform 0.75s var(--ease-apple);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ─────────────────────────────────────────────
   RESPONSIVE — 960px
───────────────────────────────────────────── */
@media (max-width: 960px) {
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .quotes-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-top   { grid-template-columns: 1fr 1fr; gap: 36px; }
}


/* ─────────────────────────────────────────────
   RESPONSIVE — 768px
───────────────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; height: 52px; justify-content: space-between; gap: 0; }
  .nav-drawer { top: 52px; }
  .nav-links            { display: none; }
  .nav-right .nav-cta   { display: none; }
  .nav-hamburger        { display: flex; }
  .nav-drawer    { display: block; }

  .hero { padding: 64px 20px 72px; }

  .work-section,
  .services-section,
  .clients-section,
  .testimonials-section { padding: 88px 20px; }
  .cta-section          { padding: 96px 20px; }

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

  .service-item  { grid-template-columns: 48px 1fr; gap: 16px; padding: 24px 20px; }
  .services-grid { border-radius: var(--r-md); }

  .footer-top    { padding: 44px 20px 28px; gap: 28px; }
  .footer-bottom { padding: 18px 20px; flex-direction: column; align-items: flex-start; gap: 6px; }

  .clients-section { padding-right: 0; }
  .clients-section .section-inner { padding-right: 0; }
  .scroll-carousel-wrap::after {
    background: linear-gradient(to right, transparent, var(--bg-secondary));
  }
  .clients-grid {
    display: flex !important;
    flex-direction: row;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
    padding: 4px 20px 4px 0;
    margin-top: 0;
  }
  .clients-grid::-webkit-scrollbar { display: none; }
  .client-card { flex: 0 0 160px; scroll-snap-align: start; }
  .client-card:last-child { margin-right: 20px; }

  .testimonials-section { padding-right: 0; }
  .testimonials-section .section-inner { padding-right: 0; }
  .testimonials-section .scroll-carousel-wrap::after {
    background: linear-gradient(to right, transparent, var(--bg));
  }
  .quotes-grid {
    display: flex !important;
    flex-direction: row;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 10px;
    padding: 4px 20px 4px 0;
    margin-top: 0;
  }
  .quotes-grid::-webkit-scrollbar { display: none; }
  .quote-card { flex: 0 0 calc(100vw - 64px); scroll-snap-align: start; }
  .quote-card:last-child { margin-right: 20px; }

  .scroll-dots { display: flex; }

  .video-modal-close {
    top: -44px;
    width: 34px;
    height: 34px;
  }
  .video-modal { padding: 16px; }
}


/* ─────────────────────────────────────────────
   RESPONSIVE — 480px
───────────────────────────────────────────── */
@media (max-width: 480px) {
  .hero h1       { font-size: 2.2rem; }
  .section-title { font-size: 1.75rem; }
  .client-card   { flex: 0 0 150px; padding: 18px 16px; }
  .quote-card    { flex: 0 0 calc(100vw - 48px); }
}


/* ─────────────────────────────────────────────
   REDUCED MOTION
───────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration:  0.01ms !important;
    animation-delay:     0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .fade-in       { opacity: 1; transform: none; }
  .hero h1 .word { opacity: 1; transform: none; animation: none; }
  .scroll-progress { display: none; }
  html { scroll-behavior: auto; scroll-padding-top: 52px; }
}
