/* Adthix — main.css (Phase 1). System font stack only; no external fonts. */
:root {
  --navy: #001A4B;
  --deep-navy: #011F43;
  --orange: #FE6B03;
  --orange-hover: #E05E00;
  --orange-soft: #FFF1E4;
  --bg: #FFFFFF;
  --alt: #F4F6F9;
  --muted: #5A6B84;
  --border: #E2E8F0;
  --text: #001A4B;
  --heading: #001A4B;
  --green: #16A34A;
  --red: #DC2626;
  --radius: 8px;
  --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
/* Dark theme MUST come after :root — same specificity (0,1,0), so the
   later block wins. (Bug found 2026-11-27: it was first, so :root's light
   values overrode it and the site always looked light.) */
[data-theme="dark"] {
  --bg: #0A1830;
  --alt: #10233F;
  --muted: #A9BCD9;
  --border: #223C66;
  --text: #EAF0FA;
  --heading: #FFFFFF;
  --orange-soft: #2C1C08;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-stack);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; color: var(--heading); margin: 0 0 12px; }
h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 16px; }
ul, ol { margin: 0 0 16px; padding-left: 20px; }
.container { max-width: 1220px; margin: 0 auto; padding: 0 40px; }
.container-narrow { max-width: 760px; margin: 0 auto; }
.section { padding: 80px 0; }
.section-alt { background: var(--alt); }
.section-title { text-align: center; font-size: 2rem; }
.section-intro { text-align: center; color: var(--muted); max-width: 640px; margin: 0 auto 40px; }
.section-more { text-align: center; margin-top: 32px; }
.section-cta { text-align: center; padding: 24px 0 8px; }
.lead { font-size: 1.15rem; color: var(--muted); }
.empty-state { color: var(--muted); text-align: center; font-size: 1.1rem; padding: 24px 0; }
.text-link { font-weight: 600; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; color: #fff; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.4;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-hover); color: #fff; }
.btn-secondary { background: transparent; border-color: var(--text); color: var(--text); }
.btn-secondary:hover { background: var(--text); color: var(--bg); }
.btn-secondary-light { border-color: #fff; color: #fff; }
.btn-secondary-light:hover { background: #fff; color: var(--navy); }
.btn-call { background: transparent; border-color: var(--orange); color: var(--orange); display: inline-flex; align-items: center; gap: 6px; }
.btn-call:hover { background: var(--orange); color: #fff; }
.cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 24px; min-height: 72px; }
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand-logo { height: 44px; width: auto; } /* legacy: header now uses .brand-lockup */
.main-nav { margin: 0; justify-self: center; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link { display: inline-block; padding: 10px 12px; color: var(--text); font-weight: 600; border-radius: var(--radius); white-space: nowrap; }
.main-nav { flex-shrink: 0; }
.nav-link:hover, .nav-link.is-active { color: var(--orange); text-decoration: none; background: var(--alt); }
.nav-item-has-dropdown { position: relative; }
.nav-dropdown-toggle { background: none; border: 0; font: inherit; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.nav-caret { transition: transform .2s ease; }
.nav-item-has-dropdown:hover .nav-caret, .nav-item-has-dropdown:focus-within .nav-caret, .nav-item-has-dropdown.open .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute; top: 100%; left: 0; min-width: 280px;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(0, 26, 75, .16);
  list-style: none; margin: 0; padding: 8px;
  display: none;
}
.nav-item-has-dropdown:hover .nav-dropdown, .nav-item-has-dropdown:focus-within .nav-dropdown, .nav-item-has-dropdown.open .nav-dropdown { display: block; }
.nav-dropdown .nav-link { display: block; padding: 10px 12px; }
.nav-dropdown-all { border-top: 1px solid var(--border); }

/* Anthropic-style mega menu (Chief, 2026-11-27; three groups from
   2026-11-28): a dropdown with more than one menu group renders as a
   three-column panel (Resources: about | explore | connect). The panel
   aligns to the right edge so it never overflows the viewport on the
   right. */
.nav-dropdown.nav-mega { min-width: 520px; left: auto; right: 0; padding: 12px; }
.nav-dropdown.nav-mega--left { left: 0; right: auto; }
.nav-mega-groups { display: grid; grid-template-columns: 1fr 1fr 1fr; }
.nav-mega-groups--2 { grid-template-columns: 1fr 1fr; }
.nav-mega-group { padding: 4px; }
.nav-mega-group + .nav-mega-group { border-left: 1px solid var(--border); }
.nav-mega-group ul { list-style: none; margin: 0; padding: 0; }
.nav-mega-group h5 { margin: 0 0 6px; padding: 0 12px; font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.nav-mega-group .nav-link { display: block; padding: 10px 12px; white-space: normal; }
.nav-mega .nav-desc { display: block; font-size: .82rem; font-weight: 400; line-height: 1.45; color: var(--muted); margin-top: 2px; white-space: normal; }
.nav-mega-foot { border-top: 1px solid var(--border); padding: 10px 4px 2px; margin-top: 6px; }
.nav-mega-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--orange); padding: 8px 12px; border-radius: var(--radius); }
.nav-mega-link:hover { text-decoration: none; background: var(--alt); }

/* Book a Free Call + the theme toggle before it: 10px corners, never a
   full pill (Chief, 2026-11-27). The book button never wraps its label. */
.header-book, .theme-toggle { border-radius: 10px; }
.header-book { white-space: nowrap; flex-shrink: 0; }
.book-short { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: 0; justify-self: end; }
.drawer-toggle { display: none; background: none; border: 1px solid var(--border); border-radius: var(--radius); width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.hamburger { display: flex; flex-direction: column; gap: 5px; width: 20px; }
.hamburger span { display: block; height: 2px; background: var(--text); border-radius: 2px; }

/* Mobile drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(1, 31, 67, .55); z-index: 150; }
.mobile-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: var(--bg); z-index: 160; overflow-y: auto;
  box-shadow: -8px 0 32px rgba(0, 26, 75, .25); padding: 0 0 32px;
}
.drawer-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--border); position: sticky; top: 0; background: var(--bg); }
.drawer-logo { border-radius: 6px; }
.drawer-title { font-weight: 800; font-size: 1.15rem; color: var(--text); }
.drawer-close { margin-left: auto; background: none; border: 0; font-size: 2rem; line-height: 1; width: 44px; height: 44px; cursor: pointer; color: var(--text); }
.drawer-group-label { font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 20px 20px 8px; margin: 0; }
.drawer-list { list-style: none; margin: 0; padding: 0 12px; }
.drawer-link { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 10px 12px; color: var(--text); font-weight: 600; border-radius: var(--radius); }
.drawer-link:hover, .drawer-link.is-active { background: var(--alt); color: var(--orange); text-decoration: none; }
.drawer-link svg { color: var(--orange); flex-shrink: 0; }
.drawer-link-cta { color: var(--orange); }
body.drawer-open { overflow: hidden; }

/* Hero (PR #6: artifact design — "We turn ad spend into measurable growth") */
.hero { background: var(--deep-navy); color: #fff; position: relative; overflow: hidden; padding: 54px 0 76px; }
.hero-grid { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.2px); background-size: 26px 26px; opacity: .5; -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 88%); mask-image: linear-gradient(to bottom, black 30%, transparent 88%); }
.hero-orbs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: orb-float 14s ease-in-out infinite alternate; will-change: transform; }
.orb-1 { width: 420px; height: 420px; background: var(--orange); top: -120px; right: -60px; }
.orb-2 { width: 320px; height: 320px; background: #2E5AAC; bottom: -100px; left: -80px; animation-delay: -5s; }
@keyframes orb-float { from { transform: translate(0, 0) scale(1); } to { transform: translate(-24px, 28px) scale(1.08); } }
.hero .swoosh { position: absolute; pointer-events: none; }
.swoosh-tl { top: 0; left: 0; width: 430px; height: 190px; }
.swoosh-br { bottom: 0; right: 0; width: 520px; height: 220px; }
/* Connected dot flow (artifact): a line draws itself from dot to dot
   across the hero while each dot lights up in turn, then repeats. */
.dot-flow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dot-flow path { fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 100; stroke-dashoffset: 100; opacity: 0; }
.dot-flow circle { fill: var(--orange); opacity: .25; transform-box: fill-box; transform-origin: center; animation: flow-dot 6s ease-in-out infinite; }
@keyframes flow-draw { from { stroke-dashoffset: 100; opacity: 0; } 15% { opacity: .9; } to { stroke-dashoffset: 0; opacity: .9; } }
@keyframes flow-dot { 0%, 100% { opacity: .25; transform: scale(.7); } 9% { opacity: 1; transform: scale(1.55); } 22% { opacity: .85; transform: scale(1); } 84% { opacity: .85; transform: scale(1); } 95% { opacity: .25; transform: scale(.7); } }
@media (prefers-reduced-motion: no-preference) { .dot-flow path { animation: flow-draw 6s ease-in-out infinite; } }
@media (prefers-reduced-motion: reduce) { .dot-flow path { stroke-dashoffset: 0; opacity: .4; } .dot-flow circle { animation: none; opacity: .8; } }
.hero-inner { position: relative; display: grid; grid-template-columns: 1.12fr .88fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2rem, 5.4vw, 3.35rem); font-weight: 900; letter-spacing: -.015em; margin-bottom: 18px; }
.hero h1 .accent { color: var(--orange); }
.hero .lede { color: rgba(255,255,255,.85); font-size: clamp(1.05rem, 2.2vw, 1.25rem); max-width: 680px; margin: 0 0 30px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctas .btn { padding: 10px 18px; font-size: .95rem; }
.hero-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 30px; }
.hero-chip { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.25); color: #fff; font-weight: 600; font-size: .78rem; padding: 5px 11px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; min-height: 32px; white-space: nowrap; }
.hero-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }
/* Hero video slot: reserved for the founder / chairman / co-founder
   interview video. Placeholder only until the real video exists. */
.video-slot { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--navy); border: 1px solid rgba(255,255,255,.2); box-shadow: 0 18px 44px rgba(0,0,0,.35); display: flex; align-items: center; justify-content: center; }
.video-slot::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.2px); background-size: 24px 24px; opacity: .5; }
.video-slot::after { content: ""; position: absolute; right: -80px; bottom: -110px; width: 320px; height: 320px; border-radius: 50%; background: rgba(254,107,3,.22); filter: blur(50px); }
.video-slot .v-inner { position: relative; z-index: 1; text-align: center; padding: 26px; }
.video-slot .play { width: 74px; height: 74px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; box-shadow: 0 14px 34px rgba(254,107,3,.4); }
.video-slot .play svg { width: 28px; height: 28px; fill: #fff; margin-left: 4px; }
.video-slot h3 { color: #fff; font-size: 1.18rem; font-weight: 800; margin-bottom: 8px; }
.video-slot p { color: rgba(255,255,255,.75); font-size: .95rem; max-width: 340px; margin: 0 auto; }
/* Marquee (artifact): a strip below the hero, not inside it. */
.marquee { overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg); padding: 15px 0; }
.marquee-track { display: flex; gap: 54px; width: max-content; align-items: center; animation: scroll-x 30s linear infinite; }
.marquee-track span { font-weight: 800; font-size: .98rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; display: inline-flex; align-items: center; gap: 54px; }
.marquee-track span::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex: none; }
@keyframes scroll-x { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }
.cursor-glow { position: fixed; width: 320px; height: 320px; border-radius: 50%; pointer-events: none; z-index: 1; background: radial-gradient(circle, rgba(254,107,3,.14) 0%, transparent 65%); transform: translate(-50%, -50%); opacity: 0; transition: opacity .3s ease; display: none; }
@media (pointer: fine) { .cursor-glow { display: block; } }

/* Cards & grids */
.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 28px; box-shadow: 0 2px 10px rgba(0, 26, 75, .05); }
.card h2, .card h3 { margin-bottom: 8px; }
.card h2 a, .card h3 a { color: var(--heading); }
.card h2 a:hover, .card h3 a:hover { color: var(--orange); text-decoration: none; }
.card p { color: var(--muted); }
.service-card { display: flex; flex-direction: column; }
.service-card .text-link { margin-top: auto; padding-top: 12px; }
.case-category { color: var(--orange); font-weight: 700; font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; }

/* CTA bands */
.cta-band { background: var(--navy); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); }
.cta-inner { text-align: center; max-width: 720px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 8px; }

/* About intro / pillars */
.about-intro-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about-intro-inner .section-title { text-align: left; }
.about-banner { margin: 40px 0 0; }
.about-banner img { border-radius: 12px; width: 100%; }

/* About gallery (Chief, 2026-11-27): admin-uploaded photos only. */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery-item { margin: 0; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.gallery-item figcaption { margin-top: 8px; font-size: .9rem; color: var(--muted); }

/* Process */
.process-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.process-steps li { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 24px 20px; }
.process-steps h3 { font-size: 1.05rem; }
.process-steps p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }
.step-no { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; margin-bottom: 12px; }

/* Chips */
.filter-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 32px; }
.chip { border: 1px solid var(--border); background: var(--bg); color: var(--text); border-radius: 999px; padding: 10px 20px; font: inherit; font-weight: 600; cursor: pointer; min-height: 44px; }
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Testimonials / certs */
.testimonial-card p { color: var(--text); font-size: 1.05rem; }
.testimonial-card footer { color: var(--muted); font-weight: 600; }
.cert-list { list-style: none; padding: 0; display: grid; gap: 12px; max-width: 640px; margin: 0 auto; }
.cert-list li { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; }

/* FAQ */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item h3 { margin: 0; }
.faq-question { width: 100%; background: none; border: 0; padding: 20px 4px; font: inherit; font-size: 1.05rem; font-weight: 700; color: var(--heading); text-align: left; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; }
.faq-icon { color: var(--orange); font-size: 1.5rem; font-weight: 400; flex-shrink: 0; transition: transform .2s ease; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { padding: 0 4px 20px; color: var(--muted); }
.faq-answer p { margin: 0; }

/* Page hero */
.page-hero { background: var(--deep-navy); color: #fff; padding: 64px 0; }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.85); font-size: 1.1rem; margin-bottom: 0; }
.page-hero .btn { margin-top: 24px; }

/* Checklist */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 16px; }
.checklist svg { color: var(--green); flex-shrink: 0; margin-top: 2px; }

/* Pricing */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 56px; }
.tier-card { text-align: center; position: relative; display: flex; flex-direction: column; align-items: center; }
.tier-card h2 { font-size: 1.4rem; }
.tier-price { font-size: 2.5rem; font-weight: 800; color: var(--heading); margin: 8px 0 20px; }
.tier-price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.tier-popular { border: 2px solid var(--orange); box-shadow: 0 8px 28px rgba(254, 107, 3, .18); }
.popular-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange); color: #fff; font-weight: 700; font-size: .85rem; padding: 6px 14px; border-radius: 999px; white-space: nowrap; }
.table-title { margin-bottom: 24px; }
.compare-table-wrap { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; background: var(--bg); }
.compare-table th, .compare-table td { border: 1px solid var(--border); padding: 14px 16px; text-align: left; }
.compare-table thead th { background: var(--navy); color: #fff; }
.compare-table tbody th { background: var(--alt); }
.compare-cards { display: none; }
.cell-yes { color: var(--green); font-weight: 800; font-size: 1.25rem; }
.cell-no { color: var(--muted); }
.cell-confirm { background: var(--orange); color: #fff; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pricing-note { text-align: center; color: var(--muted); margin-top: 32px; }

/* Case study detail */
.case-screenshot { margin: 0 0 32px; }
.case-screenshot img { border-radius: 12px; border: 1px solid var(--border); }

/* Contact form errors + notes (shared by contact + booking forms) */
.field-error, .form-errors { color: var(--red); font-weight: 600; }
.form-errors { background: #FEF2F2; border: 1px solid var(--red); border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; }
.form-errors ul { margin: 0; }
.form-note { color: var(--muted); font-size: .95rem; margin-top: 16px; }

/* Brief */
.brief-pre { background: var(--alt); border: 1px solid var(--border); border-radius: 12px; padding: 24px; white-space: pre-wrap; word-wrap: break-word; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .95rem; }
.brief-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 24px 0; }
.copy-status { color: var(--green); font-weight: 600; margin: 0; }
.notice-box { background: var(--alt); border: 1px solid var(--border); border-left: 4px solid var(--orange); border-radius: 12px; padding: 28px; margin-bottom: 32px; }

/* Page body (rich text from admin) */
.page-body h2 { margin-top: 32px; }
.page-body p { color: var(--muted); }
.page-body ul { color: var(--muted); }

/* Footer (PR #6: artifact design — brand blurb, socials, contact rows,
   Explore incl. Gallery, Services, Resources, bottom bar). */
.site-footer { background: var(--deep-navy); color: rgba(255,255,255,.85); padding: 60px 0 34px; }
/* Every footer column opens with the same 40px header zone (the logo
   block in the brand column, the heading in the others), so the company
   description line and the first link of Explore / Services / Resources
   all start on the same visual line. */
.foot-grid { display: grid; grid-template-columns: 1.6fr .8fr 1.05fr .9fr; gap: 34px; margin-bottom: 44px; }
.foot-brand { display: flex; align-items: center; height: 40px; margin-bottom: 18px; }
.foot-blurb { max-width: 340px; margin-bottom: 22px; color: rgba(255,255,255,.75); }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 44px; height: 44px; border-radius: 50%; flex: none; border: 1px solid rgba(255,255,255,.28); color: #fff; display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
.socials a:hover { background: var(--orange); border-color: var(--orange); color: #fff; transform: translateY(-2px); text-decoration: none; }
.socials svg { width: 20px; height: 20px; fill: currentColor; }
/* Contact rows under the footer social buttons — one labelled row each
   for email, phone and address. Values render only when they exist. */
.foot-contact { margin-top: 20px; display: grid; gap: 9px; font-size: .95rem; }
.foot-contact .fc-row { display: flex; align-items: center; gap: 10px; min-height: 24px; }
.foot-contact svg { width: 17px; height: 17px; stroke: var(--orange); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.foot-contact .fc-label { color: #fff; font-weight: 700; min-width: 58px; }
.foot-contact .fc-val { color: rgba(255,255,255,.75); }
.foot-contact a { color: rgba(255,255,255,.9); text-decoration: none; font-weight: 600; }
.foot-contact a:hover { color: var(--orange); }
.footer-book { margin: 16px 0 0; font-weight: 700; }
.footer-book a { color: var(--orange); }
.site-footer h4 { color: #fff; font-size: .98rem; margin: 0 0 18px; height: 40px; display: flex; align-items: center; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer ul a { color: rgba(255,255,255,.75); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; padding: 4px 0; }
.site-footer ul a:hover { color: var(--orange); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px 20px; font-size: .92rem; }
.foot-bottom .copy { justify-self: center; }
.foot-bottom .legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; }
.foot-bottom .legal a { color: rgba(255,255,255,.75); text-decoration: none; display: inline-flex; align-items: center; min-height: 36px; }
.foot-bottom .legal a:hover { color: var(--orange); }
.foot-bottom .dev { justify-self: end; text-align: right; }
.foot-bottom .dev a { color: #fff; font-weight: 700; text-decoration: none; }
.foot-bottom .dev a:hover { color: var(--orange); }

/* Scroll reveal (JS adds .js to <html> first; no-JS keeps everything visible) */
html.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
html.js [data-reveal].revealed { opacity: 1; transform: translateY(0); }

/* Breakpoint 900px */
@media (max-width: 900px) {
  /* Book a Free Call stays visible on mobile too (Chief, 2026-11-27) —
     only the text nav hides; the drawer keeps the full link as well. */
  .main-nav { display: none; }
  .drawer-toggle { display: inline-flex; }
  .header-inner { gap: 12px; }
  .header-actions { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: 2.1rem; }
  .card-grid { grid-template-columns: 1fr; }
  .about-intro-inner { grid-template-columns: 1fr; gap: 24px; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .tier-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; margin-bottom: 48px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 48px 0; }
}

/* Breakpoint 600px */
@media (max-width: 600px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.5rem; }
  .container { padding: 0 18px; }
  .brand-logo, .footer-logo { height: 36px; }
  /* Small phones: compact "Book a Call" so logo + toggle + book + menu fit. */
  .header-book { padding: 10px 14px; font-size: .9rem; }
  .book-full { display: none; }
  .book-short { display: inline; }
  .gallery-grid { grid-template-columns: 1fr; }
  .header-inner { gap: 10px; }
  .hero h1 { font-size: 1.85rem; }
  .process-steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .compare-table-wrap { display: none; }
  .compare-cards { display: grid; gap: 16px; }
  .compare-card { background: var(--bg); border: 1px solid var(--border); border-radius: 12px; padding: 20px; }
  .compare-card h3 { font-size: 1.05rem; margin-bottom: 12px; }
  .compare-card dl { margin: 0; }
  .compare-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--border); }
  .compare-row dt { font-weight: 600; color: var(--muted); }
  .compare-row dd { margin: 0; text-align: right; }
  .video-slot .play { width: 56px; height: 56px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee-track { animation: none; }
  html.js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---------- v2: brand lockup, theme toggle, social buttons ---------- */

/* Brand lockup (Chief, 2026-11-27): ONE single wordmark image — Chief's
   reference PNG. A and DTHIX keep the reference proportions (same height
   by construction). NEVER compose the logo from an icon + typed text.
   Dark mode shows the WHITE wordmark (navy parts turned white, orange
   kept); light mode shows the navy wordmark. Height fixed, width auto,
   so the aspect ratio is never distorted. */
.brand-lockup { display: inline-flex; align-items: center; }
.brand-lockup .brand-logo { height: 52px; width: auto; display: block; }
[data-theme="light"] .brand-logo-dark { display: none; }
[data-theme="dark"] .brand-logo-light { display: none; }
.footer-brand .brand-lockup { margin-bottom: 16px; }
.drawer-head .brand-logo { height: 34px; }
@media (max-width: 600px) {
  .brand-lockup .brand-logo { height: 40px; }
}

/* Theme toggle: ONE icon-only button (sun in dark mode, moon in light).
   No "Light"/"Dark" text anywhere. Dark is the default (data-theme="dark"
   is in the markup; the head script restores a saved choice). */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: var(--radius);
  border: 1px solid var(--border); background: transparent;
  color: var(--text); cursor: pointer; flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--orange); color: var(--orange); }
.theme-icon { display: none; }
[data-theme="dark"] .theme-icon-sun { display: block; }
[data-theme="light"] .theme-icon-moon { display: block; }

/* Dark-mode-only tweaks. */
[data-theme="dark"] .chip.is-active { background: var(--orange); border-color: var(--orange); }
[data-theme="dark"] .form-errors { background: #3A1520; }

/* Drawer links: uniform orange dot (nav items are admin-driven, no icons). */
.drawer-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); flex-shrink: 0; }

@media (max-width: 900px) {
  .foot-bottom { grid-template-columns: 1fr; text-align: center; }
  .foot-bottom .dev, .foot-bottom .copy { justify-self: center; text-align: center; }
}

/* ---------- PR #6 — artifact design port: pillars, service cards,
   page head, contact brief form, cases, CTA card ---------- */

/* Pillars (home) */
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pillar { background: var(--bg); border: 1px solid var(--border); border-radius: 16px; padding: 26px 22px; box-shadow: 0 2px 10px rgba(0,26,75,.05); transition: transform .2s ease, box-shadow .2s ease; }
.pillar:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(10,37,64,.12); }
.pillar .ic { width: 52px; height: 52px; border-radius: 13px; background: var(--orange-soft); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.pillar .ic svg { width: 27px; height: 27px; stroke: var(--orange); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 1.06rem; font-weight: 800; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: .95rem; margin-bottom: 0; }

/* Service cards (home + services page) */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.service { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 34px 32px; box-shadow: 0 2px 10px rgba(0,26,75,.05); display: flex; flex-direction: column; transition: transform .2s ease, box-shadow .2s ease; }
.service:hover { transform: translateY(-5px); box-shadow: 0 18px 44px rgba(10,37,64,.12); }
.service .ic { width: 58px; height: 58px; border-radius: 15px; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service .ic svg { width: 30px; height: 30px; stroke: var(--orange); fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.service h2, .service h3 { font-size: 1.32rem; font-weight: 800; margin-bottom: 6px; }
.service h2 a, .service h3 a { color: var(--heading); }
.service h2 a:hover, .service h3 a:hover { color: var(--orange); text-decoration: none; }
.service > p { color: var(--muted); margin-bottom: 20px; }
.ticks { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 18px; }
.ticks li { position: relative; padding-left: 27px; font-size: .96rem; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; background: var(--orange-soft); color: var(--orange); border-radius: 50%; font-size: .72rem; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.service .go, .case .go { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; min-height: 44px; color: var(--orange); }
.service .go:hover, .case .go:hover { text-decoration: underline; }
.service .go svg, .case .go svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* Section head + kicker (artifact) */
.sec-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.kicker { display: inline-block; font-weight: 700; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
[data-theme="dark"] .kicker { color: #FFA25E; }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.45rem); font-weight: 800; letter-spacing: -.01em; margin-bottom: 14px; }
.sec-head p { color: var(--muted); font-size: 1.06rem; }

/* Page head (artifact) */
.page-head { position: relative; overflow: hidden; background: var(--alt); border-bottom: 1px solid var(--border); padding: 58px 0 46px; }
.page-head .container { position: relative; }
.page-head .hero-grid { background-image: radial-gradient(rgba(0,26,75,.12) 1.2px, transparent 1.2px); }
[data-theme="dark"] .page-head .hero-grid { background-image: radial-gradient(rgba(255,255,255,.14) 1.2px, transparent 1.2px); }
.page-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.7rem); font-weight: 900; letter-spacing: -.015em; }
.page-head p { color: var(--muted); max-width: 660px; margin-top: 13px; font-size: 1.06rem; margin-bottom: 0; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: start; }
.contact-copy h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; margin-bottom: 16px; }
.contact-copy p { color: var(--muted); margin-bottom: 16px; }
.contact-points { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 13px; }
.contact-points li { display: flex; gap: 12px; align-items: flex-start; }
.contact-points .n { flex: none; width: 27px; height: 27px; border-radius: 9px; background: var(--navy); color: #fff; font-weight: 800; font-size: .85rem; display: flex; align-items: center; justify-content: center; margin-top: 1px; }
form.brief { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 32px 30px; box-shadow: 0 2px 10px rgba(0,26,75,.05); display: grid; gap: 16px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.f { display: grid; gap: 7px; font-weight: 600; font-size: .92rem; color: var(--heading); }
label.f input, label.f select, label.f textarea { font: inherit; font-weight: 400; color: var(--text); background: var(--bg); border: 1px solid var(--border); border-radius: 11px; padding: 11px 14px; width: 100%; }
label.f textarea { min-height: 104px; resize: vertical; }
label.f input:focus, label.f select:focus, label.f textarea:focus { border-color: var(--orange); outline: 2px solid var(--orange); outline-offset: 0; }

/* Cases (Other Ways) */
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.case { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 32px 30px; box-shadow: 0 2px 10px rgba(0,26,75,.05); display: flex; flex-direction: column; }
.case .tag { display: inline-block; align-self: flex-start; background: var(--orange-soft); color: var(--orange); font-weight: 700; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; padding: 6px 13px; border-radius: 999px; margin-bottom: 18px; }
.case h3 { font-size: 1.18rem; font-weight: 800; margin-bottom: 10px; }
.case > p { color: var(--muted); font-size: .97rem; margin-bottom: 20px; }

/* CTA card (artifact rounded band, used on the contact page) */
.cta-card { background: var(--navy); border-radius: 24px; padding: clamp(34px, 5vw, 56px); text-align: center; position: relative; overflow: hidden; color: #fff; }
.cta-card h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; margin-bottom: 14px; position: relative; }
.cta-card p { color: rgba(255,255,255,.85); max-width: 560px; margin: 0 auto 28px; position: relative; }
.cta-card .btn { position: relative; }
.cta-card .arc { position: absolute; right: -70px; top: -90px; width: 340px; opacity: .9; pointer-events: none; }

/* PR #6 responsive */
@media (max-width: 900px) {
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .services { grid-template-columns: 1fr; }
  .cases { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .pillars { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .ticks { grid-template-columns: 1fr; }
  .video-slot .play { width: 56px; height: 56px; }
}

/* ---------- PR #7 — service detail pages, described mega menus,
   centred header, wider margins, bigger logo ---------- */

/* Service detail: overview + What's included (artifact svc-grid) */
.svc-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 46px; align-items: start; }
.svc-copy h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 16px; }
.svc-copy p { color: var(--muted); font-size: 1.03rem; margin-bottom: 16px; }
.svc-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.svc-includes { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 30px 28px; box-shadow: 0 2px 10px rgba(0,26,75,.05); }
.svc-includes h3 { font-size: 1.15rem; font-weight: 800; margin-bottom: 18px; }
.svc-includes .ticks { grid-template-columns: 1fr; margin-bottom: 0; }

/* Navy section (artifact "Measured On") */
.section-navy { background: var(--deep-navy); color: #fff; }
.section-navy .sec-head h2 { color: #fff; }
.section-navy .sec-head p { color: rgba(255,255,255,.78); }
.section-navy .kicker { color: #FFA25E; }

/* Metric steps (artifact .steps, navy) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 18px; padding: 28px 24px; }
.step .num { font-size: 2rem; font-weight: 800; color: var(--orange); margin-bottom: 12px; }
.step h3 { color: #fff; font-size: 1.06rem; font-weight: 800; margin-bottom: 8px; }
.step p { color: rgba(255,255,255,.78); font-size: .95rem; margin-bottom: 0; }

/* Artifact FAQ accordions (native <details>, no JS needed) */
details.faq { border-bottom: 1px solid var(--border); }
details.faq summary { list-style: none; cursor: pointer; font-weight: 800; font-size: 1.05rem; padding: 18px 6px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--orange); flex: none; transition: transform .2s ease; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p { color: var(--muted); padding: 0 6px 20px; margin: 0; }

/* PR #7 responsive */
@media (max-width: 1100px) {
  /* Desktop nav needs ~1050px (centred nav + longer "Book a Free Strategy
     Call" label + 52px logo); below that the drawer takes over instead of
     a squeezed header. */
  .main-nav { display: none; }
  .drawer-toggle { display: inline-flex; }
}
@media (max-width: 900px) {
  .svc-grid { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .steps { grid-template-columns: 1fr; }
  .svc-includes { padding: 24px 20px; }
}
