/*
Theme Name: TAC Consultancy
Theme URI: https://www.tacconsultancy.com/
Author: TAC Consultancy
Author URI: https://www.tacconsultancy.com/
Description: A sales-focused, SEO-optimised one-page theme for TAC Consultancy — senior contract consulting, commercial advisory and procurement support led by Troy Chapman. All section content is editable from Appearance → Customize (no plugin required), with optional ACF support and sensible defaults out of the box.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tac-consultancy
Tags: one-page, business, custom-colors, sticky-post, translation-ready
*/

/* ===== TAC Consultancy — corporate buttoned-up ===== */

:root {
  --navy: #14253F;
  --navy-deep: #0B1830;
  --navy-soft: #1E3656;
  --burgundy: #7A1F2E;
  --burgundy-soft: #9A2C3D;
  --gold: #B89263;
  --cream: #F4EFE6;
  --paper: #FFFFFF;
  --paper-2: #FFFFFF;
  --ink: #14253F;
  --ink-soft: #3A4760;
  --muted: #6C6458;
  --rule: rgba(20,37,63,0.14);
  --rule-strong: rgba(20,37,63,0.22);

  --serif: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --max: 1240px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Prevent any full-bleed element (ticker, logos) from causing sideways
     scroll on mobile. `clip` does not create a scroll container, so the
     sticky header keeps working. */
  overflow-x: clip;
}

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: #fff; padding: 8px 12px; z-index: 100; }

/* ===== Type ===== */
.display, .h-display, h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.012em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}
.display { font-size: clamp(40px, 5.4vw, 72px); letter-spacing: -0.018em; }
.display em { font-style: italic; font-weight: 500; color: var(--burgundy); }
.h-display { font-size: clamp(30px, 3.6vw, 46px); }
h3 { font-size: 19px; font-weight: 600; line-height: 1.25; letter-spacing: -0.005em; }

.lede {
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
}
.lede.tight { max-width: none; }

.eyebrow, .kicker, .sectors-label, .eng-tag, .exp-meta, .exp-client {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
}
.kicker { color: var(--burgundy); margin: 0 0 18px; }
.kicker.on-dark { color: var(--gold); }
.kicker.kicker-lg { font-size: 16px; letter-spacing: 0.22em; margin-bottom: 28px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-soft); margin: 0 0 22px; }
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--burgundy);
  box-shadow: 0 0 0 4px rgba(122,31,46,0.14);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 20px;
  border-radius: 2px;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { padding: 16px 26px; font-size: 15px; }
.btn-primary {
  background: var(--navy); color: #fff;
  border-color: var(--navy);
}
.btn-primary:hover { background: var(--burgundy); border-color: var(--burgundy); }
.btn-ghost {
  background: transparent; color: var(--navy);
  border-color: var(--rule-strong);
}
.btn-ghost:hover { border-color: var(--navy); background: rgba(20,37,63,0.04); }
.btn-gold {
  background: var(--gold); color: var(--navy-deep);
  border-color: var(--gold);
}
.btn-gold:hover { background: #c89e6c; border-color: #c89e6c; }
.btn-outline-light {
  background: transparent; color: var(--cream);
  border-color: rgba(244,239,230,0.4);
}
.btn-outline-light:hover { border-color: var(--cream); background: rgba(244,239,230,0.06); }

/* Icon-only round CTA buttons */
.btn-icon {
  width: 60px; height: 60px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.btn-icon svg { display: block; }
.btn-icon:hover { transform: translateY(-2px); }
.btn-icon-primary {
  background: var(--navy); color: #fff; border: 1px solid var(--navy);
  box-shadow: 0 12px 24px -12px rgba(20,37,63,0.45);
}
.btn-icon-primary:hover { background: var(--burgundy); border-color: var(--burgundy); }
.btn-icon-ghost {
  background: #fff; color: var(--navy); border: 1px solid var(--rule-strong);
}
.btn-icon-ghost:hover { border-color: var(--navy); background: #fafafa; color: var(--burgundy); }
.btn-icon-burgundy {
  background: var(--burgundy); color: #fff; border: 1px solid var(--burgundy);
  box-shadow: 0 12px 24px -12px rgba(122,31,46,0.45);
}
.btn-icon-burgundy:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-icon-gold {
  background: var(--gold); color: var(--navy-deep); border: 1px solid var(--gold);
  box-shadow: 0 16px 40px -16px rgba(184,146,99,0.6);
}
.btn-icon-gold:hover { background: #c89e6c; border-color: #c89e6c; }
.cta-section .btn-icon-gold { width: 72px; height: 72px; }
.btn-icon-outline-light {
  width: 72px; height: 72px;
  background: transparent; color: var(--cream); border: 1px solid rgba(244,239,230,0.5);
}
.btn-icon-outline-light:hover { border-color: var(--cream); background: rgba(244,239,230,0.06); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding-top: 14px; padding-bottom: 14px;
}
.header-inner .brand { justify-self: start; }
.header-inner .nav { justify-self: center; }
.header-inner .header-cta { justify-self: end; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img, .brand .brand-logo { height: 84px; width: auto; object-fit: contain; display: block; }
.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; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--serif); font-size: 18px; font-weight: 600; color: var(--navy); letter-spacing: -0.005em; }
.brand-sub { font-family: var(--sans); font-size: 10.5px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--burgundy); margin-top: 3px; }
.nav { display: flex; gap: 32px; }
/* Close button inside drawer — desktop hides it */
.nav-close { display: none; }
/* CTA buttons inside the nav drawer — desktop hides them */
.nav-cta { display: none; }
/* Burger toggle — hidden on desktop */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--rule-strong);
  border-radius: 2px;
  cursor: pointer;
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  transition: border-color .2s ease, background .2s ease;
}
.nav-toggle:hover { border-color: var(--navy); background: rgba(20,37,63,0.04); }
.nav-toggle-bar {
  display: block;
  width: 22px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .2s ease, opacity .15s ease;
  transform-origin: center;
}
.nav-toggle.is-open .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

body.nav-open { overflow: hidden; }
.nav a {
  font-size: 16px; font-weight: 700; color: var(--navy);
  text-decoration: none; padding: 6px 0;
  border-bottom: 2px solid transparent;
  letter-spacing: -0.005em;
  transition: color .2s, border-color .2s;
}
.nav a:hover { color: var(--burgundy); border-bottom-color: var(--burgundy); }
.header-cta { font-size: 13px; padding: 10px 16px; }
.header-cta svg { color: var(--gold); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 80px 0 60px;
  background:
    radial-gradient(1100px 600px at 88% -10%, rgba(184,146,99,0.10), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(122,31,46,0.18), transparent 60%),
    var(--navy-deep);
  color: var(--cream);
  border-bottom: 1px solid rgba(244,239,230,0.16);
}
.hero .display { color: var(--cream); }
.hero .display em { color: var(--gold); }
.hero .lede { color: rgba(244,239,230,0.82); }
.hero-grid {
  display: grid; grid-template-columns: 1.25fr 1fr;
  gap: 72px; align-items: start;
}
.hero-copy { padding-top: 8px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-row.center { justify-content: center; }
.lede { margin-top: 22px; }

.hero-proof {
  list-style: none; padding: 0; margin: 56px 0 0;
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 0;
  border-top: 1px solid rgba(244,239,230,0.16);
  border-bottom: 1px solid rgba(244,239,230,0.16);
}
.hero-proof li {
  padding: 28px 28px;
  border-right: 1px solid rgba(244,239,230,0.16);
  display: flex; flex-direction: column; gap: 8px;
  min-height: 140px;
  justify-content: center;
}
.hero-proof li:first-child { padding-left: 0; }
.hero-proof li:last-child { border-right: 0; padding-right: 0; }
.hero-proof strong { font-family: var(--serif); font-size: 28px; font-weight: 600; color: var(--cream); letter-spacing: -0.01em; line-height: 1.1; }
.hero-proof span { font-size: 13px; color: rgba(244,239,230,0.65); line-height: 1.45; max-width: 26ch; }

/* Hero card with photo */
.hero-card { position: relative; }
.hero-photo {
  position: relative;
  background: var(--navy);
  border: 1px solid rgba(244,239,230,0.16);
}
.hero-photo img {
  width: 100%; height: auto;
  display: block;
  filter: grayscale(100%) contrast(1.06) brightness(0.98);
}
.hero-quote {
  margin: 22px 0 0; padding: 0;
  border: 0;
}
.hero-quote p {
  font-family: var(--serif); font-style: italic;
  font-size: 19px; line-height: 1.5; color: rgba(244,239,230,0.92);
  margin: 0;
}
.hero-quote-attr {
  margin-top: 14px;
  display: flex; flex-direction: column; gap: 2px;
}
.attr-name {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: -0.005em;
}
.attr-role {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== Ticker tape ===== */
.ticker {
  margin-top: 72px;
  padding: 22px 0;
  border-top: 1px solid rgba(244,239,230,0.16);
  border-bottom: 1px solid rgba(244,239,230,0.16);
  background: transparent;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 48s linear infinite;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; gap: 64px;
  padding-right: 64px;
  flex-shrink: 0;
  align-items: center;
}
.ticker-list li {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: -0.005em;
  white-space: nowrap;
  position: relative;
  line-height: 1.2;
}
.ticker-list li + li::before {
  content: "";
  position: absolute;
  left: -32px; top: 50%;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  transform: translate(-50%, -50%);
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ===== Section base ===== */
.section { padding: 110px 0; border-bottom: 1px solid var(--rule); }
.section-head { max-width: 560px; }
.section-head.wide { max-width: 760px; margin-bottom: 56px; }
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.centered .section-sub { margin-left: auto; margin-right: auto; }
.section-sub {
  font-family: var(--serif);
  font-size: 19px; line-height: 1.55; color: var(--ink-soft);
  margin: 18px 0 0; max-width: 60ch;
}

/* About — light section */
.about { background: #fff; }
.about .h-display { color: var(--navy); }
.about-body p { color: var(--ink-soft); }
.about-body strong { color: var(--navy); font-weight: 600; }
.about .signature { border-top-color: var(--rule); }
.about .sig-name { color: var(--burgundy); }
.about .sig-sub { color: var(--muted); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1.25fr;
  gap: 80px; align-items: start;
}
.about-body p { margin: 0 0 20px; }
.about-body p:last-of-type { margin-bottom: 32px; }
.about-body strong { color: var(--navy); font-weight: 600; }
.signature {
  margin-top: 36px; padding-top: 24px;
  border-top: 1px solid var(--rule);
  display: flex; flex-direction: column;
}
.sig-name {
  font-family: var(--serif); font-style: italic;
  font-size: 28px; color: var(--burgundy);
  letter-spacing: -0.01em;
}
.sig-sub { font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-top: 6px; }

/* ===== Services ===== */
.services { background: var(--navy-deep); color: var(--cream); border-bottom: 1px solid rgba(244,239,230,0.16); }
.services .h-display { color: var(--cream); }
.services .section-sub { color: rgba(244,239,230,0.78); }
.services-grid {
  list-style: none; padding: 0; margin: 0 0 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  border-top: 1px solid rgba(244,239,230,0.16);
  border-left: 1px solid rgba(244,239,230,0.16);
}
.services-grid-6 { margin-bottom: 64px; }
.services-grid li {
  padding: 36px 32px 40px;
  border-right: 1px solid rgba(244,239,230,0.16);
  border-bottom: 1px solid rgba(244,239,230,0.16);
  background: transparent;
  position: relative;
  transition: background .25s ease;
}
.services-grid li:hover { background: rgba(255,255,255,0.03); }
.services-grid li.srv-feat {
  background: linear-gradient(180deg, rgba(184,146,99,0.10) 0%, transparent 60%);
  border-top: 2px solid var(--gold);
  margin-top: -1px;
}
.services-grid li.srv-feat:hover { background: linear-gradient(180deg, rgba(184,146,99,0.16) 0%, rgba(255,255,255,0.02) 60%); }
.srv-num {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: rgba(244,239,230,0.55);
  display: block; margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.srv-feat .srv-num { color: var(--gold); font-size: 15px; }
.services-grid h3 { color: var(--cream); margin: 0 0 12px; }
.services-grid p { margin: 0; font-size: 15px; color: rgba(244,239,230,0.78); line-height: 1.55; }

/* Also / chip list */
.srv-also {
  display: flex; align-items: baseline; gap: 18px;
  flex-wrap: wrap;
  margin: 0 0 64px;
  padding: 24px 0 0;
}
.srv-also-label {
  font-family: var(--sans); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
}
.srv-chips {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 12px;
}
.srv-chips li {
  font-family: var(--sans); font-size: 13.5px; font-weight: 500;
  color: var(--cream); letter-spacing: 0.01em;
  border: 1px solid rgba(244,239,230,0.28);
  padding: 8px 14px;
  border-radius: 999px;
  background: transparent;
  transition: background .2s, color .2s, border-color .2s;
}
.srv-chips li:hover { background: var(--gold); color: var(--navy-deep); border-color: var(--gold); }

.engagement {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.eng-card {
  background: rgba(255,255,255,0.04);
  color: #fff;
  padding: 36px 36px 40px;
  border: 1px solid rgba(244,239,230,0.22);
}
.eng-card + .eng-card { background: var(--burgundy); border-color: var(--burgundy); }
.eng-card.eng-card-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
  box-shadow: 0 24px 60px -28px rgba(184,146,99,0.55);
}
.eng-card.eng-card-gold .eng-tag { color: var(--burgundy); }
.eng-card.eng-card-gold h3 { color: var(--navy-deep); }
.eng-card.eng-card-gold p { color: rgba(11,24,48,0.82); }
.eng-tag { font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin: 0 0 14px; }
.eng-card h3 { color: #fff; font-family: var(--serif); font-size: 28px; margin: 0 0 12px; font-weight: 500; }
.eng-card p { margin: 0; color: rgba(255,255,255,0.82); font-size: 15.5px; line-height: 1.55; }

/* ===== Process / How I work ===== */
.process { background: #fff; }
.process-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  border-top: 1px solid var(--rule);
  counter-reset: process;
}
.process-grid li {
  padding: 44px 36px 44px 0;
  position: relative;
  border-right: 1px solid var(--rule);
}
.process-grid li:nth-child(n+2) { padding-left: 36px; }
.process-grid li:last-child { border-right: 0; }
.process-grid li::before {
  content: "";
  position: absolute; top: -1px; left: 0;
  width: 56px; height: 2px;
  background: var(--burgundy);
}
.process-grid li:nth-child(n+2)::before { left: 36px; }
.proc-num {
  font-family: var(--serif); font-style: italic;
  font-size: 14px; color: var(--burgundy);
  letter-spacing: 0.04em;
  display: block; margin-bottom: 18px;
}
.process-grid h3 {
  font-family: var(--serif);
  font-size: 32px; font-weight: 500; color: var(--navy);
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  line-height: 1.1;
}
.process-grid p {
  margin: 0; font-size: 15.5px; line-height: 1.6;
  color: var(--ink-soft);
  max-width: 38ch;
}

/* ===== Experience ===== */
.experience { background: var(--navy-deep); color: var(--cream); border-bottom: 1px solid rgba(244,239,230,0.16); }
.experience .h-display { color: var(--cream); }
.experience .section-sub { color: rgba(244,239,230,0.78); }
.experience .kicker { color: var(--gold); }

/* Per-card client logo — sits at the top of each experience card so wide
   brand marks never overlap each other on narrow viewports. */
.exp-logo {
  display: flex;
  align-items: center;
  min-height: 46px;
  margin-bottom: 22px;
}
.exp-logo img {
  max-height: 42px;
  width: auto;
  max-width: 170px;
  opacity: 0.95;
  filter: drop-shadow(0 1px 0 rgba(0,0,0,0.2));
}

.exp-client {
  color: var(--gold);
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: none;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex; align-items: baseline; gap: 8px;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: color .2s, border-color .2s;
}
.exp-client:hover { color: #fff; border-bottom-color: rgba(244,239,230,0.4); }
.exp-arrow {
  font-style: normal;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--gold);
  transition: transform .2s ease;
  display: inline-block;
}
.exp-client:hover .exp-arrow { transform: translate(2px, -2px); color: #fff; }
.exp-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0;
  border-top: 2px solid var(--gold);
  border-bottom: 1px solid rgba(244,239,230,0.16);
}
.exp {
  padding: 36px 32px 40px;
  border-right: 1px solid rgba(244,239,230,0.16);
  display: flex; flex-direction: column;
}
.exp:last-child { border-right: 0; }
.exp header { display: flex; flex-direction: column; gap: 4px; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(244,239,230,0.16); }
.exp-image {
  margin: 0;
  margin-top: auto;
  padding: 32px 0 0;
}
.exp-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  opacity: 0.92;
  border: 1px solid rgba(244,239,230,0.16);
  background: var(--navy);
  transition: opacity .3s ease, transform .6s ease;
}
.exp:hover .exp-image img { opacity: 1; transform: scale(1.03); }
.exp-meta { color: rgba(244,239,230,0.6); }
.exp p { margin: 0 0 14px; font-size: 15px; line-height: 1.6; color: rgba(244,239,230,0.82); }
.exp-outcome {
  padding-top: 14px; margin-top: 14px;
  border-top: 1px dashed rgba(244,239,230,0.22);
  color: var(--cream) !important;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15.5px !important;
}

/* ===== FAQ ===== */
.faq { background: var(--paper-2); }
.faq-grid {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start;
}
.faq-list { border-top: 1px solid var(--rule-strong); }
.faq-list details {
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px;
  font-family: var(--serif); font-size: 22px; font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.005em;
  line-height: 1.3;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 20px; font-weight: 400;
  color: var(--burgundy);
  transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
  margin-top: 2px;
}
.faq-list details[open] summary::after {
  content: "−";
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.faq-body { padding-top: 14px; max-width: 60ch; }
.faq-body p { margin: 0 0 12px; font-size: 16px; color: var(--ink-soft); line-height: 1.6; }
.faq-body p:last-child { margin-bottom: 0; }

/* ===== CTA section ===== */
.cta-section {
  background: var(--navy-deep);
  color: var(--cream);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(700px 400px at 90% 110%, rgba(122,31,46,0.35), transparent 60%),
    radial-gradient(800px 500px at -10% -10%, rgba(184,146,99,0.12), transparent 60%);
  pointer-events: none;
}
.cta-inner { position: relative; text-align: center; max-width: 880px; margin: 0 auto; }
.cta-inner .kicker { margin-bottom: 22px; }
.h-display.on-dark { color: var(--cream); }
.lede.on-dark { color: rgba(244,239,230,0.82); margin: 22px auto 0; max-width: 60ch; }

/* ===== Footer ===== */
.footer { background: #fff; color: var(--muted); padding: 44px 0 36px; border-top: 1px solid var(--rule); }
.footer-inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-logo { display: inline-flex; align-items: center; justify-content: center; }
.footer-logo img { height: 84px; width: auto; object-fit: contain; display: block; }
.footer-fine { margin: 0; font-size: 12.5px; letter-spacing: 0.02em; color: var(--muted); }
.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "brand contact"
    "fine fine";
  gap: 22px 32px;
  align-items: start;
}
.footer-brand { grid-area: brand; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-brand img { height: 76px; width: auto; object-fit: contain; }
.f-sub { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--burgundy); margin: 0; font-weight: 600; }
.footer-contact { grid-area: contact; display: flex; gap: 28px; }
.footer-contact a { color: var(--navy); text-decoration: none; font-size: 14px; border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px; }
.footer-contact a:hover { border-bottom-color: var(--burgundy); color: var(--burgundy); }
.footer-fine {
  grid-area: fine;
  margin: 18px 0 0; padding-top: 22px;
  border-top: 1px solid var(--rule);
  font-size: 12.5px; color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; gap: 56px; }
  .services-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-proof { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-proof li { border-right: 1px solid rgba(244,239,230,0.16); }
  .hero-proof li:nth-child(2) { border-right: 0; padding-right: 0; }
  .hero-proof li:nth-child(3) { padding-left: 0; border-top: 1px solid rgba(244,239,230,0.16); }
  .hero-proof li:nth-child(4) { border-top: 1px solid rgba(244,239,230,0.16); }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid li { padding: 32px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .process-grid li:nth-child(n+2) { padding-left: 0; }
  .process-grid li::before, .process-grid li:nth-child(n+2)::before { left: 0; }
  .process-grid li:last-child { border-bottom: 0; }
  .exp-grid { grid-template-columns: 1fr; }
  .exp { border-right: 0; border-bottom: 1px solid rgba(244,239,230,0.16); }
  .exp:last-child { border-bottom: 0; }

  /* Header switches to: logo — burger — phone */
  .header-inner { grid-template-columns: 1fr auto auto; gap: 12px; }
  .nav-toggle { display: inline-flex; justify-self: end; }
  .nav {
    display: flex;
    position: fixed;
    top: 0; right: 0;
    left: auto;
    width: min(320px, 86vw);
    flex-direction: column;
    gap: 0;
    background: #fff;
    padding: 72px 28px 32px;
    transform: translateX(100%);
    transition: transform .3s ease;
    z-index: 40;
    box-shadow: -24px 0 48px -16px rgba(20,37,63,0.18);
    max-height: 100vh;
    overflow-y: auto;
    border-left: 1px solid var(--rule);
  }
  .nav.is-open { transform: translateX(0); }
  .nav-close {
    display: inline-flex; align-items: center; justify-content: center;
    position: absolute;
    top: 16px; right: 16px;
    width: 40px; height: 40px;
    background: transparent;
    border: 1px solid var(--rule-strong);
    border-radius: 2px;
    color: var(--navy);
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease;
  }
  .nav-close:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
  .nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--rule);
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    color: var(--navy);
    border-bottom-width: 1px;
  }
  .nav a:last-of-type { border-bottom: 0; }
  .nav-cta {
    display: flex;
    gap: 14px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--rule);
  }
  .nav-cta .btn-icon { width: 56px; height: 56px; }

  .section { padding: 80px 0; }
  .hero { padding: 56px 0 40px; }
  .header-cta span { display: none; }
  .header-cta { padding: 10px 12px; }
  .sectors { flex-direction: column; align-items: flex-start; gap: 14px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 22px; }
  .services-grid { grid-template-columns: 1fr; }
  .engagement { grid-template-columns: 1fr; }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof li { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .hero-proof li:last-child { border-bottom: 0; }
  .footer-inner {
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "contact" "fine";
  }
  .footer-contact { flex-direction: column; gap: 8px; }
  .faq-list summary { font-size: 19px; gap: 18px; }
  .display { font-size: clamp(34px, 9vw, 48px); }
}

@media print {
  .site-header, .footer, .cta-section { display: none; }
}
