/* ============================================================
   Parker-Lambert — Shared Stylesheet
   /css/parker-lambert.css
   ============================================================ */

/* ── FONTS (local) ── */
@font-face {
  font-family: 'Manrope';
  font-weight: 300 800;
  font-display: swap;
  src: url('/fonts/Manrope-VariableFont_wght.woff') format('woff');
}
@font-face {
  font-family: 'BBH Sans Hegarty';
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/BBHHegarty-Regular.woff') format('woff');
}

/* ── VARIABLES ── */
:root {
  --cobalt:   #2347e8;
  --cobalt2:  #1a38c4;
  --amber:    #f0a500;
  --white:    #ffffff;
  --offwhite: #f7f8fc;
  --ink:      #0f1535;
  --muted:    #6b7a99;
  --border:   rgba(15,21,53,.1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: 'Manrope', sans-serif;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── DOT GRID ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(15,21,53,.06) 1px, transparent 1px);
  background-size: 28px 28px;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 88px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,21,53,.08);
}
.nav-logo { display: flex; align-items: center; text-decoration: none; }
.nav-logo img { height: 52px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 12px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(15,21,53,.65); transition: color .2s;
}
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  display: inline-block; padding: 9px 22px;
  background: var(--cobalt); color: var(--white) !important;
  border-radius: 100px; font-size: 12px !important;
  font-weight: 700 !important; letter-spacing: .08em;
  transition: background .2s, transform .15s !important;
}
.nav-cta:hover { background: var(--cobalt2) !important; transform: scale(1.02); }

/* ── HAMBURGER ── */
.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 6px;
  background: none; border: none; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .3s ease, opacity .3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ── */
.mobile-menu {
  display: none; position: fixed; top: 88px; left: 0; right: 0; z-index: 99;
  background: rgba(255,255,255,.98); backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,21,53,.08);
  flex-direction: column; padding: 16px 24px 24px; gap: 4px;
  transform: translateY(-8px); opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}
.mobile-menu.open { display: flex; transform: translateY(0); opacity: 1; }
.mobile-menu a {
  font-size: 14px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  color: rgba(15,21,53,.6); padding: 12px 0;
  border-bottom: 1px solid rgba(15,21,53,.06); transition: color .2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--ink); }
.mobile-menu .mobile-cta {
  margin-top: 8px; text-align: center; padding: 14px;
  background: var(--cobalt); color: var(--white) !important;
  border-radius: 100px; border: none;
}
.mobile-menu .mobile-cta:hover { background: var(--cobalt2); }

/* ── SECTION LABELS ── */
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--cobalt); margin-bottom: 8px;
}
.section-title {
  font-family: 'BBH Sans Hegarty', 'Manrope', sans-serif; font-weight: 400;
  font-size: clamp(28px, 3.5vw, 48px); line-height: 1.05;
  letter-spacing: .06em; text-transform: none;
  color: var(--ink); margin-bottom: 48px;
}

/* ── CTA STRIP ── */
.cta-strip {
  position: relative; z-index: 1;
  background: var(--offwhite);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px; text-align: center; overflow: hidden;
}
.cta-strip::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 100%, rgba(35,71,232,.05) 0%, transparent 70%);
}
.cta-strip-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; color: var(--cobalt); margin-bottom: 16px;
  position: relative; z-index: 1;
}
.cta-strip h2 {
  font-family: 'BBH Sans Hegarty', 'Manrope', sans-serif; font-weight: 400;
  font-size: clamp(32px, 5vw, 64px); line-height: 1.0;
  letter-spacing: .06em; text-transform: none;
  color: var(--ink); max-width: 700px; margin: 0 auto 16px;
  position: relative; z-index: 1;
}
.cta-strip p {
  font-size: 16px; color: #4a5568; max-width: 460px;
  margin: 0 auto 36px; line-height: 1.6;
  position: relative; z-index: 1;
}
.cta-strip-btn {
  display: inline-block; padding: 16px 44px;
  background: var(--cobalt); color: var(--white);
  font-family: 'BBH Sans Hegarty', 'Manrope', sans-serif;
  font-size: 18px; letter-spacing: .08em; text-transform: uppercase;
  border-radius: 100px; text-decoration: none;
  transition: background .2s, transform .15s;
  position: relative; z-index: 1;
}
.cta-strip-btn:hover { background: var(--cobalt2); transform: scale(1.02); }
.cta-strip-secondary {
  display: block; margin-top: 16px; font-size: 13px;
  color: #4a5568; text-decoration: underline;
  text-underline-offset: 3px; position: relative; z-index: 1;
}
.cta-strip-secondary:hover { color: var(--ink); }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 56px 48px 32px;
}
.footer-grid {
  max-width: 1400px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.footer-col-heading {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink);
  margin-bottom: 16px;
}
.footer-col-subheading {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: #3d4a5c;
  margin: 20px 0 10px;
}
.footer-nav { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-nav a {
  font-size: 13px; color: #3d4a5c; text-decoration: none; transition: color .2s;
  line-height: 1.4;
}
.footer-nav a:hover { color: var(--cobalt); }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.footer-logo { display: flex; align-items: center; text-decoration: none; }
.footer-logo img { height: 52px; }
.footer-blurb { font-size: 13px; line-height: 1.7; color: #3d4a5c; max-width: 280px; }
.footer-schedule-btn {
  display: inline-block; padding: 10px 24px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; transition: border-color .2s, color .2s;
}
.footer-schedule-btn:hover { border-color: var(--cobalt); color: var(--cobalt); }
.footer-bottom {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding-top: 20px; flex-wrap: wrap;
}
.footer-bottom a {
  font-size: 12px; color: #3d4a5c; text-decoration: none; transition: color .2s;
}
.footer-bottom a:hover { color: var(--ink); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ── SHARED JS (hamburger) — include parker-lambert.js for behaviour ── */

/* ── FPO PLACEHOLDER ── */
.fpo {
  width: 100%; height: 100%;
  background: #d0d4de;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 6px;
}
.fpo-label {
  font-family: 'Manrope', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: #8a93a8;
}
.fpo-note {
  font-family: 'Manrope', sans-serif; font-size: 10px; font-weight: 500;
  color: #a0a8bb; letter-spacing: .04em; max-width: 160px;
  text-align: center; line-height: 1.4;
}

/* ── SERVICE CARDS ── */
.services-section {
  position: relative; z-index: 1;
  background: var(--white);
  padding: 80px 48px 100px;
}
.services-inner { max-width: 1400px; margin: 0 auto; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.services-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.service-card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  text-decoration: none; color: inherit; overflow: hidden;
  transition: transform .3s cubic-bezier(.25,.46,.45,.94), box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(15,21,53,.1); z-index: 2; }
.service-card:hover .service-img img { transform: scale(1.04); }
.service-card:hover .service-arrow { transform: translate(3px,-3px); }
.service-img { height: 180px; overflow: hidden; background: var(--offwhite); }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.25,.46,.45,.94); opacity: .9; }
.service-body { padding: 20px 20px 0; flex: 1; display: flex; flex-direction: column; }
.service-title { font-size: 16px; font-weight: 800; color: var(--ink); line-height: 1.3; margin-bottom: 8px; }
.service-desc { font-size: 16px; line-height: 1.6; color: rgba(15,21,53,.72); flex: 1; }
.service-footer { display: flex; align-items: center; justify-content: flex-end; padding: 12px 20px 16px; }
.service-arrow {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--cobalt); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: transform .2s ease;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .cta-strip { padding: 60px 24px; }
  footer { padding: 40px 24px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .services-section { padding: 60px 24px 80px; }
  .services-grid,
  .services-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .service-arrow { background: transparent; color: var(--cobalt); width: auto; height: auto; }
}
@media (max-width: 480px) {
  .services-grid,
  .services-grid.cols-3 { grid-template-columns: 1fr; }
}

/* ── DARK HERO (shared: privacy policy, jobs, pricing, about, etc.) ── */
.dark-hero { background: var(--ink); padding: 140px 48px 60px; }
.dark-hero-inner { max-width: 860px; margin: 0 auto; }
.dark-hero-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 20px;
  opacity: 0; animation: fadeUp .6s ease .1s forwards;
}
.dark-hero h1 {
  font-family: 'BBH Sans Hegarty', 'Manrope', sans-serif; font-weight: 400;
  font-size: clamp(32px, 4vw, 56px); line-height: .95;
  letter-spacing: .04em; text-transform: uppercase; color: var(--white);
  margin-bottom: 20px;
  opacity: 0; animation: fadeUp .7s ease .2s forwards;
}
.dark-hero-sub {
  font-size: 16px; font-weight: 500; color: rgba(255,255,255,.7);
  opacity: 0; animation: fadeUp .6s ease .35s forwards;
}
@media (max-width: 600px) {
  .dark-hero { padding-left: 24px; padding-right: 24px; }
}

/* ── HERO TAGLINE (amber subhead used in dark hero pages) ── */
.hero-tagline {
  font-family: 'BBH Sans Hegarty', 'Manrope', sans-serif; font-weight: 400;
  font-size: clamp(20px, 2.2vw, 34px); line-height: 1.1;
  letter-spacing: .04em; color: var(--amber); margin-bottom: 20px;
  opacity: 0; animation: fadeUp .7s ease .28s forwards;
}

/* ── FAQ ── */
.faq-q {
  font-family: 'Manrope', sans-serif; font-weight: 700;
  font-size: 15px; color: var(--ink); line-height: 1.4;
  margin-bottom: 10px;
}
.faq-a {
  font-size: 16px; line-height: 1.75; color: rgba(15,21,53,.72);
}
.faq-a a { color: var(--cobalt); text-decoration: none; }
.faq-a a:hover { text-decoration: underline; }
/* .faq-answer is the <details> variant used on some pages */
.faq-answer {
  font-size: 16px; line-height: 1.75; color: rgba(15,21,53,.72);
  padding: 0 0 20px;
}
.faq-answer a { color: var(--cobalt); text-decoration: none; }
.faq-answer a:hover { text-decoration: underline; }

/* ── BODY COPY ── */
/* Standard prose style. Use .body-copy on any container whose
   direct <p> children should get the default body text treatment.
   Also exposes .body-copy p + p for paragraph spacing. */
.body-copy {
  font-size: 16px;
  line-height: 1.8;
  color: rgba(15,21,53,.72);
}
.body-copy p + p { margin-top: 16px; }
.body-copy a { color: var(--cobalt); text-decoration: none; }
.body-copy a:hover { text-decoration: underline; }
.body-copy strong { color: var(--ink); font-weight: 700; }
.body-copy em { font-style: italic; }

/* ── INTRO BAND ── */
.intro-band {
  position: relative; z-index: 1;
  background: var(--offwhite); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 64px 48px;
}
.intro-band-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.intro-band h2 {
  font-family: 'BBH Sans Hegarty', 'Manrope', sans-serif; font-weight: 400;
  font-size: clamp(22px, 2.5vw, 36px); line-height: 1.15;
  letter-spacing: .04em; text-transform: none; color: var(--ink);
}
@media (max-width: 768px) {
  .intro-band { padding: 48px 24px; }
  .intro-band-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ── NEWS CARDS ── */
.news-section {
  position: relative; z-index: 1;
  background: var(--white); border-top: 1px solid var(--border); padding: 80px 48px 100px;
}
.news-inner { max-width: 1400px; margin: 0 auto; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 52px; }
.news-card {
  display: flex; flex-direction: column; background: var(--white);
  border: 1px solid var(--border); text-decoration: none; color: inherit; overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px rgba(15,21,53,.1); }
.news-card:hover .news-img img { transform: scale(1.04); }
.news-img { height: 160px; overflow: hidden; background: var(--offwhite); }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.25,.46,.45,.94); }
.news-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.news-tag { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cobalt); margin-bottom: 10px; }
.news-title { font-size: 16px; font-weight: 700; line-height: 1.4; color: var(--ink); flex: 1; margin-bottom: 16px; }
.news-read-more { font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cobalt); }
@media (max-width: 768px) {
  .news-section { padding: 60px 16px 80px; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) { .news-grid { grid-template-columns: 1fr; } }

/* ── CASE STUDY CARD COMPONENTS (shared) ── */
/* Sub-components reusable across case study cards on any page */
.card-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--cobalt); margin-bottom: 10px;
}
.card-desc {
  font-size: 16px; line-height: 1.6; color: rgba(15,21,53,.72);
  flex: 1; margin-bottom: 24px;
}
.card-stats {
  display: flex; gap: 0; margin-bottom: 24px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.card-stat {
  flex: 1; padding: 14px 0; text-align: center;
  border-right: 1px solid var(--border);
}
.card-stat:last-child { border-right: none; }
@media (max-width: 600px) {
  .card-stats { display: grid; grid-template-columns: 1fr 1fr; }
  .card-stat { border-right: none; border-bottom: 1px solid var(--border); }
  .card-stat:nth-child(odd) { border-right: 1px solid var(--border); }
  .card-stat:nth-last-child(-n+2) { border-bottom: none; }
}
.card-stat-num {
  font-family: 'BBH Sans Hegarty', 'Manrope', sans-serif; font-weight: 300;
  font-size: clamp(20px, 2vw, 26px); line-height: 1;
  color: var(--cobalt); letter-spacing: .02em; display: block;
}
.card-stat-label {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(15,21,53,.65);
  display: block; margin-top: 4px;
}
.card-footer {
  display: flex; align-items: center; justify-content: flex-end;
}
.card-service-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(15,21,53,.65);
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 100px;
}
.card-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--cobalt); color: white;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; transition: transform .2s ease;
}
.card-platform-badge {
  position: absolute; top: 16px; left: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 100px;
  font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.badge-amazon { background: rgba(255,153,0,.15); color: #ff9900; border: 1px solid rgba(255,153,0,.3); }
.badge-faire  { background: rgba(240,165,0,.12);  color: #c88a00; border: 1px solid rgba(240,165,0,.3); }
.badge-ai     { background: rgba(35,71,232,.12);  color: #2347e8; border: 1px solid rgba(35,71,232,.3); }
.badge-google { background: rgba(66,133,244,.12); color: #4285f4; border: 1px solid rgba(66,133,244,.3); }

/* ── SERVICES ROW LABEL ── */
.services-row-label {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(15,21,53,.65); margin: 32px 0 20px; padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.services-row-label:first-child { margin-top: 0; }

/* ── EDITORIAL SECTIONS ── */
.editorial-section {
  position: relative; z-index: 1;
  background: var(--white); border-bottom: 1px solid var(--border);
  padding: 80px 48px;
}
.editorial-section.alt { background: var(--offwhite); }
.editorial-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: start;
}
.editorial-heading {
  font-family: 'BBH Sans Hegarty', 'Manrope', sans-serif; font-weight: 400;
  font-size: clamp(22px, 2.5vw, 36px); line-height: 1.0;
  letter-spacing: .04em; text-transform: none; color: var(--ink);
  position: sticky; top: 108px;
}
.editorial-body h3 {
  font-family: 'BBH Sans Hegarty', 'Manrope', sans-serif; font-weight: 400;
  font-size: clamp(14px, 1.1vw, 17px); letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink); margin: 28px 0 6px;
}
.editorial-body h3:first-child { margin-top: 0; }
.editorial-body ul { list-style: none; margin-top: 12px; }
.editorial-body ul li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 16px; color: rgba(15,21,53,.72); line-height: 1.6; padding: 5px 0;
}
.editorial-body ul li::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--cobalt); flex-shrink: 0; margin-top: 7px;
}
.editorial-body a { color: var(--cobalt); text-decoration: none; }
.editorial-body a:hover { text-decoration: underline; }
@media (max-width: 768px) {
  .editorial-section { padding: 56px 24px; }
  .editorial-inner { grid-template-columns: 1fr; gap: 24px; }
  .editorial-heading { position: static; }
}

/* ── FAQ SECTION ── */
.faq-section {
  background: var(--offwhite); padding: 72px 48px 80px;
  border-top: 1px solid var(--border); position: relative; z-index: 1;
}
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-list { margin-top: 48px; }
.faq-item { border-top: 1px solid var(--border); padding: 24px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
@media (max-width: 768px) {
  .faq-section { padding: 56px 24px 80px; }
}
