/* ─────────────────────────────────────────────────────────────────────────────
   FOCAL AGENCIES — Shared Stylesheet
   Fonts: Playfair Display · Syne · DM Sans
   Palette: Ivory · Ink · Navy · Vermillion
───────────────────────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&family=Bebas+Neue&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }
a { color: inherit; }

/* ── TOKENS ── */
:root {
  --ivory:      #F7F3EC;
  --ivory-d:    #EDE8DF;
  --ivory-dd:   #DDD8CF;
  --cream:      #FBF9F5;
  --ink:        #0E0D0B;
  --ink-80:     rgba(14,13,11,0.80);
  --ink-60:     rgba(14,13,11,0.60);
  --ink-40:     rgba(14,13,11,0.40);
  --ink-20:     rgba(14,13,11,0.20);
  --ink-10:     rgba(14,13,11,0.10);
  --navy:       #0B1221;
  --navy-l:     #12203A;
  --vermil:     #C13B1F;
  --vermil-l:   #D9583A;
  --vermil-xl:  #E8704F;
  --blue:       #1A4FCC;
  --blue-l:     #2563EB;
  --white:      #FFFFFF;

  --f-display:  'Bebas Neue', 'Syne', sans-serif;
  --f-heading:  'Syne', sans-serif;
  --f-label:    'Syne', sans-serif;
  --f-body:     'DM Sans', system-ui, sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:    cubic-bezier(0.4, 0, 1, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-sm:  0 1px 3px rgba(14,13,11,0.06), 0 1px 2px rgba(14,13,11,0.04);
  --shadow-md:  0 4px 16px rgba(14,13,11,0.08), 0 2px 6px rgba(14,13,11,0.05);
  --shadow-lg:  0 12px 40px rgba(14,13,11,0.12), 0 4px 12px rgba(14,13,11,0.06);
}

/* ── BASE ── */
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--ivory); }
::-webkit-scrollbar-thumb { background: var(--vermil); }
::selection { background: var(--vermil); color: #fff; }

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px;
  height: 72px;
  background: rgba(251,249,245,0.88);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background 0.3s;
}
.site-nav.scrolled {
  border-color: var(--ivory-d);
  background: rgba(251,249,245,0.96);
}

.nav-logo {
  font-family: var(--f-label);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  display: flex; align-items: center; gap: 2px;
}
.nav-logo .dot { color: var(--vermil); font-size: 22px; line-height: 0; position: relative; top: 2px; }

.nav-center {
  display: flex; align-items: center; gap: 4px;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-link {
  font-family: var(--f-label);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-60);
  text-decoration: none;
  padding: 7px 14px;
  border-radius: 40px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover { color: var(--ink); background: var(--ivory); }
.nav-link.active { color: var(--ink); background: var(--ivory-d); }

.nav-right {
  display: flex; align-items: center; gap: 16px;
  flex-shrink: 0;
}
.nav-cta {
  font-family: var(--f-label);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  padding: 10px 22px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--vermil); }
.nav-cta svg { transition: transform 0.2s; }
.nav-cta:hover svg { transform: translateX(3px); }

.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; border: none; background: none;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed; top: 72px; left: 0; right: 0; z-index: 199;
  background: var(--cream);
  border-bottom: 1px solid var(--ivory-d);
  padding: 24px 24px 32px;
  flex-direction: column; gap: 4px;
  box-shadow: var(--shadow-lg);
}
.mobile-menu.open { display: flex; }
.mobile-menu .nav-link { font-size: 14px; padding: 12px 16px; border-radius: 4px; }
.mobile-menu .nav-cta { margin-top: 12px; justify-content: center; }

/* ── FOOTER ── */
.site-footer {
  background: var(--ink);
  padding: 80px 52px 40px;
  color: rgba(255,255,255,0.5);
}
.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 36px;
}
.footer-logo {
  font-family: var(--f-label);
  font-size: 18px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: #fff; margin-bottom: 14px;
  text-decoration: none; display: inline-block;
}
.footer-logo .dot { color: var(--vermil-l); }
.footer-tagline {
  font-size: 14px; font-weight: 300; line-height: 1.7;
  max-width: 270px; margin-bottom: 28px;
}
.footer-socials {
  display: flex; gap: 12px;
}
.footer-social {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  font-size: 13px; font-family: var(--f-label); font-weight: 700;
}
.footer-social:hover { border-color: var(--vermil-l); color: var(--vermil-l); }
.footer-col-title {
  font-family: var(--f-label);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.25); margin-bottom: 20px;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px; font-weight: 300;
  color: rgba(255,255,255,0.5); text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: rgba(255,255,255,0.22);
  font-family: var(--f-label); letter-spacing: 0.04em;
}
.footer-bottom a { color: rgba(255,255,255,0.22); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.5); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-label);
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  border: none; outline: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--vermil); color: #fff;
  padding: 15px 36px; border: 2px solid var(--vermil);
}
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }

.btn-dark {
  background: var(--ink); color: #fff;
  padding: 15px 36px; border: 2px solid var(--ink);
}
.btn-dark:hover { background: var(--vermil); border-color: var(--vermil); }

.btn-outline {
  background: transparent; color: var(--ink);
  padding: 14px 32px; border: 2px solid var(--ink-20);
}
.btn-outline:hover { border-color: var(--ink); }

.btn-outline-white {
  background: transparent; color: #fff;
  padding: 14px 32px; border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,0.07); }

.btn-lg { padding: 18px 48px; font-size: 13px; }
.btn-sm { padding: 10px 22px; font-size: 11px; }

/* ── TYPOGRAPHY ── */
.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.display-xl { font-size: clamp(80px, 12vw, 180px); }
.display-lg { font-size: clamp(64px, 9vw, 120px); }
.display-md { font-size: clamp(48px, 6.5vw, 88px); }
.display-sm { font-size: clamp(36px, 4.5vw, 60px); }

/* Syne-weight headings for section titles */
.heading {
  font-family: var(--f-heading);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}
.heading-xl { font-size: clamp(40px, 5vw, 72px); }
.heading-lg { font-size: clamp(30px, 3.8vw, 54px); }
.heading-md { font-size: clamp(22px, 2.8vw, 38px); }
.heading-sm { font-size: clamp(18px, 2vw, 26px); }

.label {
  font-family: var(--f-label);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--vermil);
  display: flex; align-items: center; gap: 12px;
}
.label::before {
  content: '';
  display: inline-block; width: 28px; height: 2px;
  background: currentColor; flex-shrink: 0;
}
.label-plain { display: inline; }
.label-plain::before { display: none; }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
.reveal-left.in-view { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(28px); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
.reveal-right.in-view { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.96); transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out); }
.reveal-scale.in-view { opacity: 1; transform: scale(1); }

.d1 { transition-delay: 0.08s !important; }
.d2 { transition-delay: 0.16s !important; }
.d3 { transition-delay: 0.24s !important; }
.d4 { transition-delay: 0.32s !important; }
.d5 { transition-delay: 0.40s !important; }

/* ── MARQUEE ── */
.marquee-wrap {
  background: var(--ink); padding: 16px 0;
  overflow: hidden; position: relative;
}
.marquee-track {
  display: flex; width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-item {
  font-family: var(--f-label);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  padding: 0 36px; white-space: nowrap;
}
.marquee-item b { color: var(--vermil-l); }

/* ── SECTION SPACING ── */
.section { padding: 120px 52px; }
.section-sm { padding: 80px 52px; }
.section-lg { padding: 160px 52px; }
.section-navy { background: var(--navy); }
.section-ivory { background: var(--ivory); }

/* ── DIVIDER ── */
.divider { border: none; border-top: 1px solid var(--ivory-d); margin: 0; }

/* ── PAGE HERO (shared) ── */
.page-hero {
  padding: 160px 52px 100px;
  position: relative; overflow: hidden;
  background: var(--cream);
}
.page-hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 60% at 80% 20%, rgba(193,59,31,0.055) 0%, transparent 55%),
    radial-gradient(ellipse 35% 40% at 10% 90%, rgba(26,79,204,0.04) 0%, transparent 50%);
}
.page-hero-label { margin-bottom: 22px; }
.page-hero-title {
  font-family: var(--f-display);
  font-size: clamp(48px, 6.5vw, 92px);
  font-weight: 900; line-height: 0.97;
  letter-spacing: -0.025em;
  color: var(--ink); max-width: 840px;
}
.page-hero-title em { font-style: italic; color: var(--vermil); }
.page-hero-sub {
  font-size: 18px; font-weight: 300;
  color: var(--ink-60); line-height: 1.7;
  max-width: 520px; margin-top: 28px;
}

/* ── CTA BAND ── */
.cta-band {
  background: var(--navy);
  padding: 110px 52px;
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr auto;
  gap: 60px; align-items: center;
}
.cta-band::before {
  content: '';
  position: absolute; top: -160px; right: -160px;
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(193,59,31,0.16) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band-title {
  font-family: var(--f-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 900; line-height: 1.05;
  letter-spacing: -0.02em; color: #fff;
}
.cta-band-title em { font-style: italic; color: var(--vermil-l); }
.cta-band-sub { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.45); margin-top: 14px; max-width: 540px; line-height: 1.7; }
.cta-band-actions { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; flex-shrink: 0; }
.cta-note { font-size: 11.5px; color: rgba(255,255,255,0.28); font-family: var(--f-label); letter-spacing: 0.06em; text-align: center; }

/* ── STATS ROW ── */
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--ivory);
  border-top: 1px solid var(--ivory-d);
  border-bottom: 1px solid var(--ivory-d);
}
.stat-cell {
  padding: 52px 44px;
  border-right: 1px solid var(--ivory-d);
}
.stat-cell:last-child { border-right: none; }
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 900; line-height: 1;
  letter-spacing: -0.03em; color: var(--ink);
}
.stat-num sup { font-size: 0.42em; color: var(--vermil); vertical-align: super; font-weight: 700; }
.stat-lbl {
  font-family: var(--f-label);
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-40); margin-top: 10px; max-width: 160px; line-height: 1.5;
}

/* ── CARD BASE ── */
.card {
  background: var(--cream);
  border: 1px solid var(--ivory-d);
  transition: border-color 0.25s, transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.card:hover {
  border-color: var(--ivory-dd);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

/* ── ANIMATIONS KEYFRAMES ── */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes slideUpClip {
  from { transform: translateY(100%); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .site-nav { padding: 0 28px; }
  .section, .section-sm, .section-lg { padding-left: 28px; padding-right: 28px; }
  .page-hero { padding: 140px 28px 80px; }
  .cta-band { padding: 80px 28px; }
  .site-footer { padding: 64px 28px 36px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 44px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { border-right: none; border-bottom: 1px solid var(--ivory-d); }
  .stat-cell:nth-child(odd) { border-right: 1px solid var(--ivory-d); }
  .stat-cell:last-child { border-bottom: none; }
  .nav-center { display: none; }
  .nav-toggle { display: flex; }
  .nav-right .nav-cta { display: none; }
}

@media (max-width: 640px) {
  .site-nav { padding: 0 20px; height: 64px; }
  .section { padding: 72px 20px; }
  .section-sm { padding: 56px 20px; }
  .section-lg { padding: 88px 20px; }
  .page-hero { padding: 110px 20px 64px; }
  .cta-band { padding: 64px 20px; grid-template-columns: 1fr; }
  .cta-band-actions { width: 100%; }
  .site-footer { padding: 52px 20px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .mobile-menu { top: 64px; }
}
