/* ==========================================================================
   Cross Timbers Development — styles.css
   Static site design system. Edit brand tokens in :root.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------- */
:root {
  /* Brand palette (derived from CTD logo) */
  --ink: #231f20;          /* charcoal / near-black wordmark */
  --ink-soft: #34302f;
  --gold: #a59f49;         /* olive-gold accent — decorative/large only */
  --gold-deep: #7e7930;    /* darker gold that passes AA on light bg */
  --forest: #3b5323;       /* primary action / brand green */
  --forest-deep: #2b3d19;
  --sage: #6b7f4e;
  --cream: #faf8f3;        /* warm page background */
  --cream-2: #f2ede1;      /* alt section background */
  --line: #e4ddcf;         /* hairline borders */
  --white: #ffffff;

  /* Text */
  --text: #211d1e;
  --text-muted: #5d5a54;
  --text-on-dark: #f4f1ea;
  --text-on-dark-muted: #c7c3b6;

  /* Type */
  --font-head: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(35,31,32,.06), 0 4px 14px rgba(35,31,32,.05);
  --shadow-md: 0 10px 30px rgba(35,31,32,.10);
  --shadow-lg: 0 24px 60px rgba(35,31,32,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset / base -------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--forest-deep); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--gold-deep); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.28rem; letter-spacing: -0.01em; }
p { margin: 0 0 1rem; text-wrap: pretty; }
ul { margin: 0 0 1rem; padding-left: 1.2rem; }

/* ---- Utilities ----------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 40px); }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.bg-cream-2 { background: var(--cream-2); }
.bg-ink { background: var(--ink); color: var(--text-on-dark); }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: var(--white); }
.bg-forest { background: linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%); color: var(--text-on-dark); }
.bg-forest h2, .bg-forest h3 { color: var(--white); }
.center { text-align: center; }
.measure { max-width: 62ch; }
.measure-narrow { max-width: 48ch; }
.prose-block { max-width: 40rem; margin-inline: auto; text-align: center; }
.prose-block .eyebrow { justify-content: center; }
.prose-block.prose-left { text-align: left; }
.prose-block.prose-left .eyebrow { justify-content: flex-start; }
.mx-auto { margin-inline: auto; }
.eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: .8rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 .9rem; display: inline-flex; align-items: center; gap: .6rem;
}
.bg-ink .eyebrow, .bg-forest .eyebrow { color: var(--gold); }
.eyebrow::before { content: ""; width: 26px; height: 2px; background: currentColor; opacity: .8; }
.center .eyebrow { justify-content: center; }
.lead { font-size: 1.18rem; color: var(--text-muted); }
.bg-ink .lead, .bg-forest .lead { color: var(--text-on-dark-muted); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  --btn-bg: var(--forest); --btn-fg: #fff; --btn-bd: var(--forest);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1;
  padding: 15px 26px; border-radius: 999px; cursor: pointer;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease);
  box-shadow: var(--shadow-sm);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn--primary { --btn-bg: var(--forest); --btn-bd: var(--forest); }
.btn--primary:hover { --btn-bg: var(--forest-deep); --btn-bd: var(--forest-deep); }
.btn--gold { --btn-bg: var(--gold); --btn-fg: var(--ink); --btn-bd: var(--gold); }
.btn--gold:hover { --btn-bg: #b4ae57; color: var(--ink); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: rgba(35,31,32,.25); box-shadow: none; }
.btn--outline:hover { --btn-bg: var(--ink); color: #fff; --btn-bd: var(--ink); }
.btn--on-dark { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,.4); box-shadow: none; }
.btn--on-dark:hover { --btn-bg: #fff; color: var(--ink); --btn-bd: #fff; }
.btn .arrow { transition: transform .2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---- Header / nav -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,243,.85); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 74px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 40px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .98rem; color: var(--ink);
  text-decoration: none; padding: 9px 14px; border-radius: 8px; transition: background .15s, color .15s;
}
.nav-links a:hover { background: var(--cream-2); color: var(--forest-deep); }
.nav-links a[aria-current="page"] { color: var(--forest-deep); }
.nav-links a[aria-current="page"]::after { content: ""; display: block; height: 2px; background: var(--gold); margin-top: 3px; border-radius: 2px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-cta { padding: 11px 20px; font-size: .95rem; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1.5px solid var(--line); background: var(--white);
  border-radius: 10px; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px;
  position: relative; transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); border-bottom: 1px solid var(--line);
    padding: 12px clamp(20px,5vw,40px) 20px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { text-align: center; }
  .nav-links a:not(.btn) { display: inline-block; padding: 13px 12px; border-radius: 8px; text-align: center; }
  .nav-links a[aria-current="page"]::after { width: 30px; margin-inline: auto; }
  .nav-actions .nav-cta { display: none; }
  .nav-links .nav-cta-mobile { display: inline-flex; margin-top: 8px; }
  .nav-links a.btn { color: var(--btn-fg); }
  /* CTA keeps its green; "pop" comes from the lift + shadow, not a color change */
  .nav-links a.btn:hover { background: var(--forest); color: #fff; }
}
.nav-cta-mobile { display: none; }

/* ---- Hero ---------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; background: var(--cream); }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 80% at 88% -10%, rgba(107,127,78,.18), transparent 60%),
    radial-gradient(50% 60% at -10% 110%, rgba(165,159,73,.14), transparent 60%);
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 7vw, 92px); }
.hero h1 { margin-bottom: .35em; }
.hero .lead { font-size: 1.24rem; max-width: 40ch; }
.hero-cta { margin-top: 30px; }
.hero-trust { margin-top: 28px; font-size: .92rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.hero-figure {
  position: relative; aspect-ratio: 4/5; border-radius: 20px; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(35,31,32,0) 35%, rgba(35,31,32,.55) 100%),
    linear-gradient(150deg, var(--sage) 0%, var(--forest) 48%, var(--forest-deep) 100%);
  box-shadow: var(--shadow-lg); border: 1px solid rgba(35,31,32,.06);
}
.hero-figure .figure-mark { position: absolute; inset: 0; display: grid; place-items: center; opacity: .16; }
.hero-figure .figure-mark svg { width: 62%; height: auto; }
.hero-figure .figure-mark img { width: 52%; height: auto; }
.hero-figure .figure-cap {
  position: absolute; left: 22px; right: 22px; bottom: 20px; color: #fff;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
}
.hero-figure .figure-cap small { display: block; font-weight: 400; opacity: .82; font-family: var(--font-body); font-size: .82rem; margin-top: 2px; }
.hero-figure--photo { background: var(--cream-2); }
.hero-figure--photo .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; z-index: 0; }
.hero-figure--photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(35,31,32,0) 52%, rgba(35,31,32,.62) 100%); }
.hero-figure--photo .figure-cap { z-index: 2; }

/* ---- Positioning statement bar ------------------------------------------ */
.statement-bar { background: var(--ink); color: var(--text-on-dark); padding-block: 24px; }
.statement-bar p { margin: 0 auto; max-width: 66ch; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.05rem, 2.1vw, 1.32rem); line-height: 1.45; letter-spacing: -.01em; }
.statement-bar strong { color: var(--gold); font-weight: 800; }

/* ---- Brand slogan -------------------------------------------------------- */
.slogan-xl { font-size: clamp(1.9rem, 4.6vw, 3.05rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 auto .5em; max-width: 24ch; }
.slogan-xl .hl { color: var(--gold); }
.footer-slogan { font-family: var(--font-head); font-weight: 700; font-style: italic; color: var(--gold); font-size: 1.05rem; letter-spacing: .01em; margin: 0 0 12px; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-figure { aspect-ratio: 16/11; order: -1; }
}

/* ---- Generic section heading -------------------------------------------- */
.section-head { max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head h2 { text-wrap: balance; }
.section-head.center { margin-inline: auto; }

/* ---- Cards / grids ------------------------------------------------------- */
.grid { display: grid; gap: 22px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d8cfba; }
.card h3 { margin-bottom: .35em; }
.card p { color: var(--text-muted); margin-bottom: 0; font-size: .98rem; }
.card-icon {
  width: 46px; height: 46px; border-radius: 11px; display: grid; place-items: center; margin-bottom: 16px;
  background: linear-gradient(150deg, rgba(107,127,78,.18), rgba(165,159,73,.18)); color: var(--forest-deep);
}
.card-icon svg { width: 24px; height: 24px; }
.card h4 { font-size: 1.16rem; margin: 0 0 .35em; }

/* ---- Service phases ------------------------------------------------------ */
.phase { margin-top: clamp(38px, 5.5vw, 58px); }
.phase:first-of-type { margin-top: clamp(26px, 4vw, 40px); }
.phase-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 6px 24px; margin-bottom: 24px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.phase-titlewrap { display: flex; align-items: baseline; gap: 13px; }
.phase-head .num { font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--gold-deep); letter-spacing: .04em; }
.phase-head h3 { margin: 0; font-size: clamp(1.35rem, 2.4vw, 1.55rem); }
.phase-head .phase-tag { color: var(--text-muted); font-weight: 600; font-family: var(--font-head); font-size: .98rem; margin-left: 6px; }
.phase-head .sub { margin: 0; color: var(--text-muted); font-size: .95rem; max-width: 38rem; text-wrap: balance; }

/* ---- Problem / empathy list --------------------------------------------- */
.painlist { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.painlist li { display: flex; gap: 14px; align-items: flex-start; }
.painlist .dot { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: rgba(165,159,73,.16); color: var(--gold-deep); margin-top: 2px; }
.painlist .dot svg { width: 17px; height: 17px; }
.painlist strong { display: block; color: var(--ink); font-family: var(--font-head); }
.painlist span.t { color: var(--text-muted); font-size: .96rem; }

/* ---- Split feature ------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 60px); align-items: center; }
.split--narrow-img { grid-template-columns: 1.1fr .9fr; }
@media (max-width: 860px) { .split, .split--narrow-img { grid-template-columns: 1fr; } }
.media-panel {
  border-radius: 18px; aspect-ratio: 5/4; box-shadow: var(--shadow-md); position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--cream-2), #e7e0d0);
  border: 1px solid var(--line);
}
.media-panel.green { background: linear-gradient(150deg, var(--sage), var(--forest-deep)); }
.media-panel .pm { position: absolute; inset: 0; display: grid; place-items: center; opacity: .15; }
.media-panel .pm svg { width: 55%; }

/* ---- Process steps ------------------------------------------------------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 6px; text-align: center; }
.step .num {
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; color: var(--gold);
  width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--gold);
  display: grid; place-items: center; margin: 0 auto 16px; background: rgba(165,159,73,.08);
}
.bg-forest .step .num, .bg-ink .step .num { color: var(--gold); border-color: rgba(165,159,73,.6); }
.step h3 { font-size: 1.12rem; margin-bottom: .3em; }
.step p { color: var(--text-muted); font-size: .95rem; margin: 0; }
.bg-forest .step p, .bg-ink .step p { color: var(--text-on-dark-muted); }

/* ---- Stats band ---------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat .n { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 4vw, 2.9rem); color: var(--white); line-height: 1; letter-spacing: -.02em; }
.stat .n .gold { color: var(--gold); }
.stat .l { color: var(--text-on-dark-muted); font-size: .95rem; margin-top: 10px; }

/* ---- Service areas ------------------------------------------------------- */
.areas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-pill {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 20px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: var(--ink); box-shadow: var(--shadow-sm);
}
.area-pill svg { width: 17px; height: 17px; color: var(--forest); }

/* ---- Capability matrix --------------------------------------------------- */
.matrix { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); }
.matrix-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 1px solid var(--line); }
.matrix-row:last-child { border-bottom: 0; }
.matrix-row > div { padding: 18px 22px; }
.matrix-row .from { background: var(--cream); border-right: 1px solid var(--line); font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.matrix-row .to { color: var(--text-muted); font-size: .98rem; }
.matrix-head .from, .matrix-head .to { background: var(--ink); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 600px) { .matrix-row { grid-template-columns: 1fr; } .matrix-row .from { border-right: 0; border-bottom: 1px solid var(--line); } }

/* ---- Experience cards ---------------------------------------------------- */
.exp-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.exp-card .tag { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); background: rgba(165,159,73,.14); padding: 5px 11px; border-radius: 999px; }
.exp-card .band { height: 8px; background: linear-gradient(90deg, var(--forest), var(--gold)); }
.exp-card .exp-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: linear-gradient(150deg, var(--forest), var(--forest-deep)); border-bottom: 3px solid var(--gold); }
.exp-card .exp-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.exp-card .exp-media--brand { display: grid; place-items: center; }
.exp-card .exp-media--brand .leaf-wm { width: 78px; height: auto; opacity: .22; }
.exp-card .body { padding: 26px; }
.exp-card h3 { margin: 14px 0 .4em; }
.exp-card .role { color: var(--text-muted); font-size: .92rem; margin-bottom: 14px; }
.exp-card .takeaway { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .95rem; }
.exp-card .takeaway strong { font-family: var(--font-head); color: var(--forest-deep); }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band { position: relative; overflow: hidden; }
.cta-band .container { position: relative; z-index: 1; }
.cta-band .pm { position: absolute; right: 36px; top: 14%; bottom: 14%; opacity: .12; z-index: 0; display: grid; place-items: center; }
.cta-band .pm svg { height: 100%; width: auto; max-height: 360px; }
.cta-band .pm img { height: 100%; width: auto; max-height: 360px; }
.cta-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.cta-inner h2 { margin-bottom: 0; max-width: 24ch; margin-inline: auto; }
.cta-inner p { margin: 0 auto; max-width: 50ch; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--text-on-dark-muted); padding-block: 56px 28px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
@media (max-width: 980px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr; gap: 26px; } }
.footer-brand { display: inline-flex; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: auto; height: 52px; }
.footer-brand .wm { font-family: var(--font-head); font-weight: 800; color: #fff; font-size: 1.05rem; line-height: 1; letter-spacing: .01em; }
.footer-brand .wm small { display: block; font-weight: 600; letter-spacing: .26em; font-size: .62rem; color: var(--gold); margin-top: 4px; }
.site-footer p { font-size: .95rem; max-width: 38ch; }
.footer-col h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-col a { color: var(--text-on-dark-muted); text-decoration: none; font-size: .96rem; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; padding-top: 24px; font-size: .85rem; color: var(--text-on-dark-muted); }
.footer-bottom .disclaimer { max-width: 70ch; opacity: .8; }
.footer-bottom a { color: var(--text-on-dark-muted); }
.footer-bottom a:hover { color: var(--gold); }

/* ---- Forms --------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.reassure { display: grid; gap: 18px; margin-top: 22px; }
.reassure li { list-style: none; display: flex; gap: 13px; align-items: flex-start; }
.reassure .ck { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--forest); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.reassure .ck svg { width: 14px; height: 14px; }
ul.reassure { padding: 0; margin: 0; list-style: none; }
.contact-direct { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.contact-direct a { font-family: var(--font-head); font-weight: 600; color: var(--ink); text-decoration: none; display: inline-flex; gap: 9px; align-items: center; }
.contact-direct a:hover { color: var(--gold-deep); }
.contact-direct svg { width: 18px; height: 18px; color: var(--forest); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: 7px; }
.field .req { color: var(--gold-deep); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--text);
  padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream);
  transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest); background: #fff; box-shadow: 0 0 0 4px rgba(59,83,35,.12);
}
.field textarea { min-height: 120px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }
.form-status { display: none; padding: 14px 16px; border-radius: 10px; font-size: .96rem; margin-bottom: 18px; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(59,83,35,.10); color: var(--forest-deep); border: 1px solid rgba(59,83,35,.25); }
.form-status.err { background: rgba(176,58,46,.08); color: #8f2d24; border: 1px solid rgba(176,58,46,.3); }
.form-card .btn { width: 100%; }

/* ---- Misc ---------------------------------------------------------------- */
.values { display: grid; gap: 18px; }
.value-item { display: flex; gap: 16px; align-items: flex-start; }
.value-item .vi { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(59,83,35,.10); color: var(--forest); }
.value-item .vi svg { width: 22px; height: 22px; }
.value-item h3 { font-size: 1.12rem; margin-bottom: .2em; }
.value-item p { color: var(--text-muted); margin: 0; font-size: .97rem; }

.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.facts .ck { flex: 0 0 auto; color: var(--gold-deep); margin-top: 3px; }
.facts .ck svg { width: 18px; height: 18px; }

/* ---- FAQ accordion ------------------------------------------------------- */
.faq-list { max-width: 46rem; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: center; align-items: center; gap: 16px; padding: 22px 34px; position: relative; text-align: center; font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--ink); transition: color .15s; }
.faq-item summary:hover { color: var(--forest-deep); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-family: var(--font-head); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--gold-deep); }
.faq-item[open] summary::after { content: "\2212"; }
.faq-item summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
.faq-item .faq-a { padding: 0 4px 24px; text-align: center; }
.faq-item .faq-a p { margin: 0 auto; color: var(--text-muted); max-width: 62ch; }

/* ---- Lead magnet --------------------------------------------------------- */
.guide-row { display: flex; gap: 40px; align-items: center; justify-content: center; max-width: 860px; margin: 34px auto 0; text-align: left; }
.guide-cover { width: 230px; height: auto; border-radius: 10px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); flex: 0 0 auto; }
.guide-row .form-card { flex: 1 1 360px; max-width: 420px; }
.lead-success h3 { margin-bottom: .4em; }
.lead-success p { color: var(--text-muted); }
.lead-success .btn { width: 100%; margin-top: 8px; }
@media (max-width: 720px) {
  .guide-row { flex-direction: column; gap: 26px; }
  .guide-cover { width: 188px; }
  .guide-row .form-card { width: 100%; max-width: 420px; }
}

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---- Mobile: center content for visual consistency ---------------------- */
@media (max-width: 600px) {
  .hero-inner > div:not(.hero-figure),
  .split > div,
  .section-head,
  .prose-block,
  .card,
  .step,
  .exp-card .body,
  .contact-aside,
  .cta-inner,
  .cta-inner > div { text-align: center; }

  .eyebrow { justify-content: center; }
  .btn-row,
  .hero-trust,
  .cta-inner { justify-content: center; }
  .hero-figure .figure-cap { text-align: center; }

  .section-head,
  .lead, .measure, .measure-narrow,
  .cta-inner h2, .cta-inner p { margin-inline: auto; }

  .card-icon, .step .num { margin-inline: auto; }

  .phase-head { justify-content: center; text-align: center; }
  .phase-titlewrap { justify-content: center; }

  /* Icon-leading lists → icon centered on top, text centered below */
  .painlist li,
  .value-item,
  .reassure li { flex-direction: column; align-items: center; text-align: center; }
  .painlist .dot, .value-item .vi, .reassure .ck { margin-top: 0; }

  .facts li { justify-content: center; }

  .contact-direct, .contact-direct a { justify-content: center; }

  /* Capability matrix cells centered when stacked */
  .matrix-row > div { text-align: center; }

  /* Center the header logo; hamburger stays pinned right */
  .brand { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
  .nav-actions { margin-left: auto; }

  /* Footer centered on mobile */
  .footer-top { text-align: center; }
  .footer-brand { justify-content: center; }
  .site-footer p { margin-inline: auto; }
  .footer-bottom { justify-content: center; text-align: center; }
}
