/* ===== Flock brand tokens ===== */
:root {
  --navy: #152135;
  --navy-soft: #1f2e47;
  --navy-tint: #eef0f3;
  --yellow: #FFD200;
  --yellow-soft: #FCD21F;
  --white: #ffffff;
  --gray: #5b6472;
  --gray-light: #8891a0;
  --border: #e4e7ec;
  --max: 1120px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 1000;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 12px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
  .hero-video-bg { display: none; }
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Anton', 'Poppins', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
  margin: 0 0 16px;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; letter-spacing: 0.3px; }

p { margin: 0 0 16px; color: var(--gray); }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

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

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo img { height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--yellow);
}

.nav-links .btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover { transform: translateY(-2px); }
button.btn { font-family: inherit; }

.btn-primary {
  background: var(--yellow);
  color: var(--navy);
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(255, 210, 0, 0.4); }

.btn-outline-light {
  border-color: var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); }

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

/* ===== Sections ===== */
section { padding: 88px 0; }
.section-tight { padding: 56px 0; }

.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy p { color: #c7cddb; }
.bg-navy h1, .bg-navy h2, .bg-navy h3 { color: var(--white); }

.bg-tint { background: var(--navy-tint); }

.eyebrow {
  display: inline-block;
  color: var(--navy);
  background: var(--yellow);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 18px;
}

.bg-navy .eyebrow { background: var(--yellow); color: var(--navy); }

/* ===== Hero ===== */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero p.lead {
  font-size: 1.2rem;
  color: #c7cddb;
  max-width: 600px;
}

.hero-cta { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero-dot {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #FFF8C9, var(--yellow-soft) 60%, #E0A800 100%);
  opacity: 0.9;
}

/* ===== Hero video banner ===== */
.hero-video {
  min-height: 640px;
  display: flex;
  align-items: center;
  padding: 160px 0 120px;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(21,33,53,0.92) 0%, rgba(21,33,53,0.75) 45%, rgba(21,33,53,0.45) 100%);
  z-index: 1;
}

@media (max-width: 860px) {
  .hero-video { min-height: 520px; padding: 128px 0 88px; }
  .hero-overlay { background: rgba(21,33,53,0.82); }
}

.video-toggle {
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(21,33,53,0.55);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.video-toggle:hover { background: rgba(21,33,53,0.8); }
.video-toggle svg { width: 16px; height: 16px; }

/* ===== Grids & cards ===== */
.grid {
  display: grid;
  gap: 28px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.card-navy {
  background: var(--navy-soft);
  color: var(--white);
  border-radius: var(--radius);
  padding: 32px;
}
.card-navy p { color: #c7cddb; }

.card-yellow {
  background: var(--yellow);
  color: var(--navy);
  border-radius: var(--radius);
  padding: 32px;
}
.card-yellow p { color: var(--navy); }
.card-yellow h1,
.card-yellow h2,
.card-yellow h3,
.card-yellow h4 { color: var(--navy); }

.card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-family: 'Anton', sans-serif;
  font-size: 1.1rem;
  margin-bottom: 18px;
}

.quote-block {
  border-left: 4px solid var(--yellow);
  padding-left: 28px;
  font-size: 1.4rem;
  font-style: italic;
  max-width: 760px;
  margin: 0 auto;
}
.bg-navy .quote-block { color: var(--white); }

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.headshot-frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 6px solid var(--yellow);
  max-width: 340px;
  margin: 0 auto;
}

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  background: var(--navy-tint);
  color: var(--navy);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

/* ===== Portfolio ===== */
.category-card h3 { margin-bottom: 6px; }
.category-card .cat-label {
  color: var(--yellow-soft);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.client-list { list-style: none; padding: 0; margin: 16px 0 0; }
.client-list li {
  padding: 10px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.95rem;
  color: var(--white);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.client-list li span.tag {
  color: var(--gray-light);
  font-size: 0.82rem;
  font-weight: 400;
  text-align: right;
}

.card-yellow .cat-label { color: var(--navy); opacity: 0.7; }
.card-yellow .client-list li {
  color: var(--navy);
  border-top-color: rgba(21, 33, 53, 0.15);
}
.card-yellow .client-list li span.tag { color: rgba(21, 33, 53, 0.8); }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}

form input, form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-family: inherit;
  font-size: 0.95rem;
  margin-bottom: 16px;
  background: var(--white);
  color: var(--navy);
}

form label {
  font-size: 0.85rem;
  font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

form input:focus, form textarea:focus {
  outline: none;
  border-color: var(--yellow);
}

.contact-detail { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.contact-detail .icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--navy);
  color: #c7cddb;
  padding: 56px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-logo img { height: 30px; margin-bottom: 12px; }
.footer-logo p { color: var(--white); }

.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-links h4 {
  font-family: 'Poppins', sans-serif;
  text-transform: none;
  font-size: 0.85rem;
  color: var(--yellow);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: #c7cddb;
  padding: 5px 0;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--gray-light);
  flex-wrap: wrap;
  gap: 8px;
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border);
    display: none;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { width: 100%; padding: 10px 0; }
  .nav-toggle { display: block; }
  .nav-links .btn { margin: 12px 0 0; }

  .two-col, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}

@media (max-width: 560px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 96px 0 72px; }
  .footer-top { flex-direction: column; }
}

/* ===== Contact modal ===== */
.contact-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(21, 33, 53, 0.65);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.contact-modal-overlay.open { display: flex; }

.contact-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 560px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  position: relative;
  padding: 44px 32px 32px;
}

.contact-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--navy-tint);
  color: var(--navy);
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-modal-close:hover { background: var(--yellow); }
