:root {
  --bg: #ffffff;
  --bg-soft: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --dark: #0f172a;
  --dark-2: #020617;
  --white: #ffffff;
  --accent: #e07b39;
  --max: 1180px;
  --radius: 28px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
audio { width: 100%; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 2rem), var(--max)); margin: 0 auto; }
.section { padding: 5rem 0; }
.section-border { border-bottom: 1px solid var(--border); }
.section-alt { background: var(--bg-soft); }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(248,250,252,.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 0; }
.brand { font-weight: 700; letter-spacing: -.02em; }
.brand-sub, .muted-copy, .section-note { color: var(--muted); }
.nav { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.nav a { font-size: .95rem; }
.hero { padding: 4.5rem 0 5rem; }
.hero-grid, .two-col, .agency-grid, .two-card-grid { display: grid; gap: 2rem; }
.hero-grid { grid-template-columns: 1.15fr .85fr; align-items: start; }
.two-col { grid-template-columns: .9fr 1.1fr; }
.about-grid { display: grid; grid-template-columns: 280px 1fr 1fr; gap: 2.5rem; align-items: start; }
.headshot-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 20px; }
.two-card-grid { grid-template-columns: 1fr 1fr; }
.eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .22em; font-weight: 700; color: var(--accent); }
.eyebrow-dark { color: #cbd5e1; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.1; }
h1, h2 { font-family: 'DM Serif Display', Georgia, serif; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); max-width: 14ch; margin-top: 1rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: .75rem; }
h3 { font-size: 1.25rem; }
p { margin: 1rem 0 0; color: var(--muted); }
.lead { font-size: 1.125rem; max-width: 64ch; }
.button-row { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 2rem; }
.top-gap { margin-top: 1.5rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; padding: .95rem 1.25rem;
  border-radius: 14px; font-weight: 600; border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.button-dark { background: var(--dark); color: var(--white); }
.button-dark:hover { background: #1e293b; transform: scale(1.02); box-shadow: 0 4px 14px rgba(15,23,42,.2); }
.button-light { background: var(--white); border-color: var(--border); }
.button-light:hover { transform: scale(1.02); box-shadow: 0 4px 14px rgba(15,23,42,.08); }
.button-white { background: var(--white); color: var(--dark); }
.button-white:hover { transform: scale(1.02); }
.button-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.stats-grid, .demo-grid, .testimonial-grid, .client-grid, .service-grid, .info-grid { display: grid; gap: 1rem; }
.stats-grid { grid-template-columns: repeat(3, 1fr); margin-top: 2rem; }
.stat-card, .pill-card, .bullet-item, .contact-item, .coming-soon {
  border: 1px solid var(--border); border-radius: 20px; background: var(--bg-soft);
}
.stat-card { padding: 1.1rem 1rem; }
.stat-card strong { display: block; font-size: 1.8rem; }
.stat-card span { color: var(--muted); font-size: .95rem; }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
}
.featured-card h2 { margin-top: .5rem; }
.audio-wrap { margin-top: 1.25rem; border: 1px solid var(--border); background: var(--bg-soft); border-radius: 20px; padding: 1rem; }
.bullet-list { display: grid; gap: .8rem; margin-top: 1.25rem; }
.bullet-item { padding: .95rem 1rem; background: var(--white); }
.client-grid { grid-template-columns: repeat(3, 1fr); margin-top: 1rem; }
.client-pill { align-items: center; text-align: center; justify-content: center; }
.client-logo { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; }
.pill-card { padding: 1rem; display: flex; flex-direction: column; gap: .3rem; }
.section-head { display: flex; justify-content: space-between; gap: 2rem; align-items: end; margin-bottom: 1.5rem; }
.demo-grid, .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.demo-card p, .testimonial-card p { min-height: 5rem; }
.coming-soon { padding: 1rem; margin-top: 1.25rem; color: var(--muted); }
.video-section-head { margin-bottom: 1.5rem; }
.video-section-head h2 { margin-top: .5rem; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.video-card h3 { margin-bottom: 1rem; }
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; margin-top: .25rem; }
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.service-grid { grid-template-columns: repeat(2, 1fr); margin-top: 1rem; }
.specs-section { background: var(--dark-2); color: var(--white); }
.specs-head { margin-bottom: 2rem; }
.specs-head h2 { color: var(--white); margin-top: .5rem; }
.specs-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  border: 1px solid rgba(255,255,255,.1); border-radius: 20px; overflow: hidden;
}
.spec-item { padding: 1.75rem 1.5rem; border-right: 1px solid rgba(255,255,255,.1); }
.spec-item:last-child { border-right: none; }
.spec-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; color: rgba(255,255,255,.4); margin-bottom: .6rem; }
.spec-value { font-weight: 600; color: var(--white); font-size: .95rem; }
.services-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.spec-pill {
  padding: .6rem 1.1rem; border-radius: 99px;
  border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.75);
  font-size: .875rem; font-weight: 500;
}
.testimonial-card strong { display: block; margin-top: 1rem; }
.stars {
  font-size: 1.35rem;
  letter-spacing: .1em;
  color: #f59e0b;
  text-shadow: 0 0 8px rgba(245,158,11,.5), 0 2px 4px rgba(180,83,9,.25);
  margin-bottom: .5rem;
}
.agency-grid { grid-template-columns: .8fr 1.2fr; align-items: center; }
.agency-logo-wrap {
  display: flex; align-items: center; justify-content: center; min-height: 280px;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 24px; padding: 2rem;
}
.agency-logo { max-height: 160px; width: auto; }
.info-grid { grid-template-columns: repeat(2, 1fr); margin-top: 1.25rem; }
.info-grid .full { grid-column: 1 / -1; }
.contact-section { background: var(--bg-soft); }
.contact-inner { max-width: 620px; margin: 0 auto; text-align: center; }
.contact-lead { font-size: 1.1rem; max-width: 52ch; margin: 1rem auto 0; }
.contact-email-link {
  display: inline-block; margin-top: 2rem;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text); text-decoration: underline;
  text-decoration-color: var(--accent); text-underline-offset: 6px;
  transition: color .2s ease;
}
.contact-email-link:hover { color: var(--accent); }
.contact-btns { justify-content: center; margin-top: 1.75rem; }
.contact-tags {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: .6rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--border);
}
.contact-tags span {
  font-size: .8rem; color: var(--muted);
  padding: .4rem .9rem; border: 1px solid var(--border); border-radius: 99px;
}
/* Card hover lift */
.card { transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: 0 8px 24px rgba(15,23,42,.09); transform: translateY(-2px); }
.agency-card:hover, .contact-card { transform: none; box-shadow: none; }

/* Header scroll shadow */
.site-header { transition: box-shadow .3s ease; }
.site-header.scrolled { box-shadow: 0 2px 16px rgba(15,23,42,.08); }

/* Active nav link */
.nav a.active { color: var(--accent); font-weight: 600; }
.nav a:not(.button):hover { color: var(--accent); }

/* Back to top */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 40;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--dark); color: var(--white); border: none;
  font-size: 1.1rem; cursor: pointer;
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
  box-shadow: 0 4px 12px rgba(15,23,42,.2);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }

/* Custom audio player */
.audio-player {
  display: flex; align-items: center; gap: .75rem;
  margin-top: 1.25rem; padding: .85rem 1rem;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: 20px;
}
.ap-btn {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  background: var(--dark); color: var(--white); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s ease;
}
.ap-btn:hover { background: #1e293b; }
.ap-progress {
  flex: 1; height: 4px; background: var(--border); border-radius: 2px;
  cursor: pointer; position: relative;
}
.ap-fill { height: 100%; background: var(--accent); border-radius: 2px; width: 0%; }
.ap-time { font-size: .8rem; color: var(--muted); flex-shrink: 0; min-width: 2.5rem; text-align: right; }

/* Video facade */
.video-facade { cursor: pointer; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; }
.play-btn-facade {
  position: absolute; inset: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,.32); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background .2s ease;
}
.video-facade:hover .play-btn-facade { background: rgba(0,0,0,.52); }

/* Testimonial mobile scroll snap */
/* Hamburger toggle */
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px; z-index: 30;
}
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scroll fade-in */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Client logo polish */
.client-logo { mix-blend-mode: multiply; }

.site-footer { border-top: 1px solid var(--border); padding: 1.75rem 0; background: var(--bg-soft); }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-copy { color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: var(--muted); font-size: .9rem; }
.footer-links a:hover { color: var(--text); }
@media (max-width: 980px) {
  .hero-grid, .two-col, .two-card-grid, .agency-grid, .about-grid { grid-template-columns: 1fr; }
  .headshot-img { aspect-ratio: 4 / 3; }
  .client-grid, .demo-grid, .stats-grid, .video-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .service-grid, .info-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .spec-item:last-child { border-bottom: none; }
  .section-head { align-items: start; flex-direction: column; }
  .nav-toggle { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: .25rem; padding: 1rem;
    background: rgba(248,250,252,.98); border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
  }
  .nav.open { display: flex; }
  .nav .button { text-align: center; }
  .site-header { position: sticky; }
}
