/* Titan Geotechnical Engineering — site styles
   Mobile-first. One font family (Archivo) with system fallback. */

:root {
  --navy-950: #061433;
  --navy-900: #0b1f4f;
  --navy-800: #12307a;
  --navy-700: #1d44a8;
  --ink: #141b29;
  --muted: #4c5866;
  --paper: #faf8f4;
  --paper-2: #f1ece3;
  --white: #ffffff;
  --line: #ddd5c8;
  --line-dark: rgba(255, 255, 255, 0.16);
  --amber: #d38a3a;
  --amber-hover: #e09a4c;
  --amber-text: #94531a;      /* accent text on light backgrounds (AA) */
  --brand: #00339c;           /* logo blue */
  --brand-light: #9db7ff;     /* logo blue, readable on dark navy */
  --amber-light: #f0b878;     /* accent text on navy (AA) */
  --needs-bg: #fff1a8;
  --needs-ink: #5a4300;
  --ok: #1f6b3a;
  --err: #a32121;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow: 0 1px 2px rgba(19, 38, 58, 0.06), 0 6px 20px rgba(19, 38, 58, 0.07);
  --wrap: 1180px;
  --gutter: 16px;
  --header-h: 68px;
  --callbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  font-variant-numeric: tabular-nums;
  padding-bottom: var(--callbar-h);
}
@media (min-width: 900px) { body { padding-bottom: 0; } }

img, svg { display: block; max-width: 100%; }
a { color: var(--navy-800); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--amber-text); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; margin: 0 0 0.6em; color: var(--navy-900); font-weight: 750; }
h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }

.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--amber); color: var(--navy-950); padding: 10px 16px; border-radius: var(--radius); font-weight: 700; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }
.wrap--narrow { max-width: 860px; }

/* Placeholder highlight — easy to spot, impossible to miss before launch */
mark.needs { background: var(--needs-bg); color: var(--needs-ink); padding: 0.05em 0.3em; border-radius: 3px; font-weight: 600; font-size: 0.92em; box-decoration-break: clone; -webkit-box-decoration-break: clone; }

/* ------------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.25em;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  border-radius: var(--radius); border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn svg { flex: none; }
.btn--lg { min-height: 54px; padding: 0.8em 1.5em; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn--accent { background: var(--amber); color: var(--navy-950); }
.btn--accent:hover { background: var(--amber-hover); color: var(--navy-950); }
.btn--primary { background: var(--navy-900); color: var(--white); }
.btn--primary:hover { background: var(--navy-800); color: var(--white); }
.btn--outline { border-color: var(--navy-900); color: var(--navy-900); background: transparent; }
.btn--outline:hover { background: var(--navy-900); color: var(--white); }
.btn--ghost-light { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn--ghost-light:hover { border-color: var(--white); background: rgba(255,255,255,.08); color: var(--white); }

.textlink { display: inline-flex; align-items: center; gap: .35em; font-weight: 700; color: var(--navy-800); min-height: 44px; }
.textlink:hover { color: var(--amber-text); }

/* ------------------------------------------------------------------- Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); min-height: 44px; }
.brand__mark { width: auto; height: 52px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-stretch: 125%; font-size: 1.75rem; letter-spacing: 0.02em; text-transform: uppercase; color: var(--brand); padding-bottom: 3px; border-bottom: 2px solid var(--brand); }
.brand__sub { font-size: 0.6rem; font-weight: 700; color: var(--ink); letter-spacing: 0.06em; text-transform: uppercase; margin-top: 3px; white-space: nowrap; }
@media (max-width: 359px) { .brand__sub { display: none; } }

.nav-toggle { width: 48px; height: 48px; display: inline-grid; place-items: center; background: none; border: 0; cursor: pointer; border-radius: var(--radius); color: var(--navy-900); }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { display: block; width: 24px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

.nav { display: none; }
.nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  max-height: calc(100vh - var(--header-h)); overflow-y: auto; padding: 8px var(--gutter) 20px;
}
.nav__list { list-style: none; margin: 0; padding: 0; }
.nav__list > li > a, .nav__subtoggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 52px; padding: 0 4px; font: inherit; font-weight: 650; color: var(--navy-900);
  text-decoration: none; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left;
}
.nav__subtoggle svg { transition: transform .2s; }
.nav__subtoggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__sub { list-style: none; margin: 0; padding: 4px 0 8px 12px; display: none; }
.nav__subtoggle[aria-expanded="true"] + .nav__sub { display: block; }
.nav__sub a { display: flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a[aria-current="page"], .nav__subtoggle[data-current] { color: var(--amber-text); }
.nav__cta { display: grid; gap: 10px; margin-top: 16px; }
.nav__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-weight: 700; text-decoration: none; color: var(--navy-900); border: 2px solid var(--line); border-radius: var(--radius); }

@media (min-width: 1100px) {
  .nav-toggle { display: none; }
  .nav, .nav.is-open { display: flex; align-items: center; gap: 28px; position: static; padding: 0; box-shadow: none; border: 0; max-height: none; overflow: visible; background: none; }
  .nav__list { display: flex; gap: 4px; }
  .nav__list > li { position: relative; }
  .nav__list > li > a, .nav__subtoggle { border: 0; min-height: 44px; padding: 0 12px; gap: 4px; width: auto; font-size: 0.98rem; }
  .nav__list > li > a:hover, .nav__subtoggle:hover { color: var(--amber-text); }
  .nav__sub {
    position: absolute; top: calc(100% + 8px); left: 0; width: 340px; padding: 8px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  }
  .nav__sub a { padding: 0 12px; border-radius: var(--radius); }
  .nav__sub a:hover { background: var(--paper-2); color: var(--navy-900); }
  .nav__cta { display: flex; align-items: center; gap: 16px; margin: 0; }
  .nav__phone { border: 0; min-height: 44px; }
}

/* --------------------------------------------------------------- Hero areas */
.hero, .page-hero { position: relative; background: var(--navy-900); color: #e9eef3; overflow: hidden; isolation: isolate; }
.hero__topo, .page-hero__topo {
  position: absolute; inset: 0; z-index: -1;
  background: url("/assets/img/topo.svg") center / 1400px auto repeat;
  opacity: 0.55;
}
/* Soil strata bands along the bottom edge — hard-edged layers, not a gradient */
.hero::after, .page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 14px;
  background: linear-gradient(to bottom, #8a5a2b 0 4px, #b07a43 4px 8px, #6b4524 8px 11px, #d38a3a 11px 14px);
}
.hero__inner { display: grid; gap: 40px; padding-top: 56px; padding-bottom: 72px; align-items: center; }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.35fr 1fr; padding-top: 96px; padding-bottom: 112px; gap: 64px; } }
.hero h1, .page-hero h1 { color: var(--white); }
.hero h1 { max-width: 14ch; }
.hero__sub, .page-hero__sub { font-size: clamp(1.08rem, 2.2vw, 1.3rem); line-height: 1.55; color: #d3dbe4; max-width: 38em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__ctas--center { justify-content: center; }
@media (max-width: 479px) { .hero__ctas .btn { width: 100%; } }

.eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); margin-bottom: 0.8em; }
.eyebrow--light { color: var(--amber-light); }

.page-hero .wrap { padding-top: 28px; padding-bottom: 64px; }
@media (min-width: 900px) { .page-hero .wrap { padding-top: 40px; padding-bottom: 88px; } }
.page-hero h1 { max-width: 22ch; font-size: clamp(2rem, 5vw, 3.1rem); }

.crumbs ol { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 0.9rem; color: #b9c5d1; }
.crumbs li + li::before { content: "/"; margin: 0 8px; opacity: .6; }
.crumbs a { color: #d8e1ea; display: inline-flex; min-height: 24px; align-items: center; }
.crumbs a:hover { color: var(--amber-light); }

/* Illustrative boring log */
.borelog { margin: 0; background: rgba(255,255,255,.04); border: 1px solid var(--line-dark); border-radius: var(--radius-lg); padding: 20px; max-width: 460px; justify-self: center; width: 100%; }
.borelog__col { border-left: 2px solid rgba(255,255,255,.5); margin-left: 34px; }
.borelog__layer { position: relative; display: flex; align-items: center; padding: 0 0 0 76px; border-bottom: 1px solid rgba(0,0,0,.25); }
.borelog__layer::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 60px; }
.borelog__layer .d { position: absolute; left: -38px; top: -0.7em; width: 28px; text-align: right; font-size: 0.8rem; color: #b9c5d1; font-variant-numeric: tabular-nums; }
.borelog__layer .t { font-size: 0.92rem; color: #e9eef3; }
.l1 { height: 48px; } .l1::before { background: #c9a774 radial-gradient(#8c6c3e 1px, transparent 1.4px) 0 0 / 8px 8px; }
.l2 { height: 72px; } .l2::before { background: #b88a4f radial-gradient(#6e4f28 1.6px, transparent 2px) 0 0 / 11px 11px; }
.l3 { height: 84px; } .l3::before { background: #8c6a4a repeating-linear-gradient(0deg, transparent 0 7px, rgba(0,0,0,.28) 7px 8px); }
.l4 { height: 64px; } .l4::before { background: #d9cdb5 repeating-linear-gradient(45deg, transparent 0 6px, rgba(0,0,0,.22) 6px 7px); }
.l5 { height: 70px; } .l5::before { background: #a98758 radial-gradient(#6f5531 1px, transparent 1.4px) 0 0 / 6px 6px; }
.borelog figcaption { margin-top: 14px; font-size: 0.82rem; color: #b9c5d1; line-height: 1.45; }
@media (max-width: 959px) { .borelog { display: none; } }

/* ---------------------------------------------------------------- Trust bar */
.trustbar { background: var(--white); border-bottom: 1px solid var(--line); }
.trustbar__list { list-style: none; margin: 0 auto; display: grid; gap: 10px; padding-top: 20px; padding-bottom: 20px; }
.trustbar__list li { display: flex; align-items: center; gap: 10px; font-weight: 650; color: var(--navy-900); font-size: 0.98rem; }
.trustbar__list svg { color: var(--brand); flex: none; }
@media (min-width: 900px) { .trustbar__list { grid-template-columns: repeat(3, auto); justify-content: space-between; } }

/* ----------------------------------------------------------------- Sections */
.section { padding: 64px 0; }
@media (min-width: 900px) { .section { padding: 96px 0; } }
.section--alt { background: var(--paper-2); }
.section--center { text-align: center; padding: 96px 0 120px; }
.section--tight-top { padding-top: 40px; }
.section__head { max-width: 760px; margin-bottom: 40px; }
.lede { font-size: 1.15rem; color: var(--muted); }
.note { font-size: 0.95rem; color: var(--muted); border-left: 3px solid var(--amber); padding-left: 14px; }

.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.5em; }

.two-col { display: grid; gap: 40px; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
  .two-col--even { grid-template-columns: 1fr 1fr; }
  .two-col__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* -------------------------------------------------------------------- Cards */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .cards--services { grid-template-columns: repeat(3, 1fr); } .cards--when { grid-template-columns: repeat(3, 1fr); } }
.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--muted); margin: 0; }
.card__icon { color: var(--brand); margin-bottom: 16px; }
.card--link { display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s, transform .15s; }
.card--link h3 a { color: var(--navy-900); text-decoration: none; }
.card--link h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card--link:hover { border-color: var(--navy-700); box-shadow: var(--shadow); }
.card--link:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.card--link h3 a:focus-visible { outline: none; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; font-weight: 700; color: var(--navy-800); }
.card--link:hover .card__more { color: var(--amber-text); }
.card--cta { background: var(--navy-900); border-color: var(--navy-900); color: #dbe3ec; display: flex; flex-direction: column; align-items: flex-start; }
.card--cta h3 { color: var(--white); }
.card--cta p { color: #cbd5e0; margin-bottom: 20px; }
.card--cta .btn { margin-top: auto; }

/* ------------------------------------------------------------ Who we serve */
.split { display: grid; gap: 20px; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 24px; } }
.split__panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; align-items: flex-start; }
@media (min-width: 900px) { .split__panel { padding: 40px; } }
.split__panel h3 { font-size: 1.5rem; }
.split__panel .btn { margin-top: auto; }
.split__panel--dark { background: var(--navy-900); border-color: var(--navy-900); color: #dbe3ec; }
.split__panel--dark h3 { color: var(--white); }
.split__panel--dark .ticks svg { color: var(--amber-light); }

.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { flex: none; color: var(--brand); margin-top: 3px; }
.ticks--lg li { padding: 10px 0; border-bottom: 1px solid var(--line); gap: 12px; }
.ticks--lg { gap: 0; }
.plain-list { padding-left: 1.2em; }

/* -------------------------------------------------------------------- Steps */
.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { position: relative; padding: 28px 24px 24px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--navy-900); border-radius: var(--radius-lg); }
.step__n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--amber); color: var(--navy-950); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }
.step p { color: var(--muted); margin: 0; }

/* ---------------------------------------------------------------- Timeline */
.timeline { list-style: none; padding: 0; margin: 0 0 20px; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 24px 24px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--paper); border: 3px solid var(--amber); }
.timeline__when { display: block; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.timeline h3 { margin: 2px 0 4px; font-size: 1.1rem; }
.timeline p { margin: 0; color: var(--muted); }

/* ---------------------------------------------------------- Photo slots */
.photo-slot { margin: 0; }
.photo-slot__frame {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center;
  aspect-ratio: 4 / 3; padding: 20px; border-radius: var(--radius-lg);
  background: #e7e1d6 repeating-linear-gradient(135deg, transparent 0 14px, rgba(19,38,58,.045) 14px 15px);
  border: 2px dashed #b9ad99; color: #5a4e3c; font-size: 0.9rem; font-weight: 600; line-height: 1.4;
}
.photo-slot--tall .photo-slot__frame { aspect-ratio: 4 / 5; }
.photo-slot figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }
.media-row { display: grid; gap: 20px; }
@media (min-width: 700px) { .media-row { grid-template-columns: 1fr 1fr; } .media-row--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------------------------------------------------------------------- FAQ */
.faq { display: grid; gap: 10px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.faq__item summary { list-style: none; cursor: pointer; padding: 18px 56px 18px 20px; position: relative; min-height: 56px; display: flex; align-items: center; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; color: var(--amber-text); line-height: 1; }
.faq__item[open] summary::after { content: "\2013"; }
.faq__item summary h3 { margin: 0; font-size: 1.08rem; }
.faq__a { padding: 0 20px 20px; color: var(--ink); }
.faq__a > :last-child { margin-bottom: 0; }
.faq__a ul { padding-left: 1.2em; }
.faq__a li { margin-bottom: .4em; }
.faq--collapsed [data-faq-extra] { display: none; }
.faq__more-wrap { margin-top: 24px; text-align: center; }

/* ----------------------------------------------------------------- CTA band */
.cta-band { background: var(--navy-950); color: #d3dbe4; position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/assets/img/topo.svg") right center / 1200px auto repeat; opacity: .35; }
.cta-band__inner { display: grid; gap: 28px; padding-top: 64px; padding-bottom: 64px; align-items: center; }
@media (min-width: 960px) { .cta-band__inner { grid-template-columns: 1.3fr 1fr; padding-top: 80px; padding-bottom: 80px; } }
.cta-band h2 { color: var(--white); }
.cta-band p { margin: 0; max-width: 38em; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 960px) { .cta-band__actions { justify-content: flex-end; } }
@media (max-width: 479px) { .cta-band__actions .btn { width: 100%; } }

/* ----------------------------------------------------------- Homeowners */
.callout { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--amber); border-radius: var(--radius-lg); padding: 24px; }
.explainers { display: grid; gap: 20px; }
@media (min-width: 800px) { .explainers { grid-template-columns: 1fr 1fr; gap: 24px; } }
.explainer { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.explainer p { color: var(--ink); }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); }
.table-wrap:focus-visible { outline-offset: 4px; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 0.98rem; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { background: var(--navy-900); color: var(--white); font-size: 1.05rem; }
.compare tbody th { width: 22%; color: var(--navy-900); background: var(--paper); font-weight: 700; }
.compare td[colspan] { background: #fbf3e8; }

/* --------------------------------------------------------- Professionals */
.creds { display: grid; gap: 0; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); overflow: hidden; }
@media (min-width: 800px) { .creds:not(.creds--compact) { grid-template-columns: 1fr 1fr; } }
.creds > div { padding: 16px 20px; border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .creds:not(.creds--compact) > div:nth-child(odd) { border-right: 1px solid var(--line); } .creds:not(.creds--compact) > div:nth-last-child(-n+2) { border-bottom: 0; } }
.creds > div:last-child { border-bottom: 0; }
.creds dt { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.creds dd { margin: 4px 0 0; font-weight: 600; color: var(--navy-900); }
.agency-list { list-style: none; padding: 0; }
.agency-list li { padding: 12px 0 12px 16px; border-left: 3px solid var(--amber); margin-bottom: 10px; background: var(--white); padding-right: 12px; border-radius: 0 var(--radius) var(--radius) 0; }

/* ------------------------------------------------------------------ About */
.about { display: grid; gap: 40px; }
@media (min-width: 900px) { .about { grid-template-columns: 340px 1fr; gap: 64px; align-items: start; } .about__photo { position: sticky; top: calc(var(--header-h) + 24px); } }
.about__bio { max-width: 720px; }

/* --------------------------------------------------------- Contact & form */
.contact { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact { grid-template-columns: 380px 1fr; gap: 48px; align-items: start; } }
.bigcall { display: flex; align-items: center; gap: 16px; padding: 20px 22px; background: var(--amber); color: var(--navy-950); border-radius: var(--radius-lg); text-decoration: none; margin-bottom: 12px; }
.bigcall:hover { background: var(--amber-hover); color: var(--navy-950); }
.bigcall svg { width: 32px; height: 32px; flex: none; }
.bigcall__label { display: block; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.bigcall__num { display: block; font-size: 1.7rem; font-weight: 800; letter-spacing: -0.01em; }
.bigmail { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 20px; border: 2px solid var(--line); border-radius: var(--radius-lg); background: var(--white); font-weight: 650; text-decoration: none; color: var(--navy-900); word-break: break-all; }
.bigmail svg { flex: none; }
.contact__block { margin-top: 28px; }
.contact__block h2 { font-size: 1.25rem; }
.area-list { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; }
.area-list li { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.area-list svg { color: var(--brand); width: 18px; height: 18px; flex: none; }
.mini-steps { padding-left: 1.3em; }
.mini-steps li { margin-bottom: 8px; }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 20px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 36px; } }
.qform__h { font-size: 1.6rem; }
.qform__intro { color: var(--muted); }
.qform__req { font-size: 0.9rem; color: var(--muted); }
.qform__req span, .req { color: var(--err); }
.qform__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .qform__grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { margin: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 650; margin-bottom: 6px; color: var(--navy-900); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid #a99f90; border-radius: var(--radius);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='18' height='18'%3E%3Cpath fill='none' stroke='%2313263a' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--amber); outline-offset: 0; border-color: var(--navy-900); }
.field [aria-invalid="true"] { border-color: var(--err); background: #fff7f7; }
.field__hint { font-size: 0.88rem; color: var(--muted); margin: 6px 0 0; }
.field__err { font-size: 0.9rem; color: var(--err); font-weight: 600; margin: 6px 0 0; }
.field--radios { border: 0; padding: 0; }
.field--radios { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.field--radios legend { width: 100%; }
.radio { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 500; cursor: pointer; }
.radio input { width: 20px; height: 20px; accent-color: var(--navy-900); margin: 0; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.qform__actions { margin-top: 24px; }
.qform__alt { font-size: 0.92rem; color: var(--muted); margin: 14px 0 0; text-align: center; }
.qform__status:empty { display: none; }
.qform__status { margin-top: 20px; padding: 16px 18px; border-radius: var(--radius); font-weight: 600; }
.qform__status.is-error { background: #fdecec; color: var(--err); border: 1px solid #f0bcbc; }
.qform.is-sending button[type="submit"] { opacity: .7; cursor: progress; }

.qform-success { text-align: center; padding: 24px 8px; }
.qform-success__icon { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; background: #e5f2e9; color: var(--ok); }
.qform-success__icon svg { width: 32px; height: 32px; }
.qform-success h2 { font-size: 1.6rem; }
.qform-success p { color: var(--muted); }

.link-grid { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr 1fr; max-width: 520px; margin: 24px auto 0; }
.link-grid a { display: flex; align-items: center; justify-content: center; min-height: 52px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); font-weight: 650; text-decoration: none; }

/* ------------------------------------------------------------------- Footer */
.site-footer { background: var(--navy-950); color: #b9c5d1; font-size: 0.95rem; }
.site-footer__grid { display: grid; gap: 32px; padding-top: 56px; padding-bottom: 40px; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; } }
.site-footer__name { color: var(--white); font-weight: 800; font-size: 1.1rem; }
.site-footer__h { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer a { color: #dbe3ec; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; }
.site-footer a:hover { color: var(--amber-light); text-decoration: underline; }
.site-footer__area { display: flex; gap: 8px; align-items: flex-start; }
.site-footer__area svg { flex: none; color: var(--amber-light); margin-top: 3px; }
.site-footer__contact a { word-break: break-all; }
.site-footer__contact svg { flex: none; color: var(--amber-light); }
.site-footer__note { margin-top: 12px; }
.site-footer__legal { border-top: 1px solid var(--line-dark); padding-top: 20px; padding-bottom: 24px; display: grid; gap: 4px; font-size: 0.85rem; }
.site-footer__legal p { margin: 0; }
@media (min-width: 900px) { .site-footer__legal { grid-template-columns: 1fr auto; } }

/* ---------------------------------------------------- Sticky mobile call bar */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr; height: var(--callbar-h);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 16px rgba(11, 23, 36, .18);
}
.callbar a { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; font-size: 1.05rem; text-decoration: none; }
.callbar__call { background: var(--amber); color: var(--navy-950); }
.callbar__quote { background: var(--navy-900); color: var(--white); }
.callbar a:hover { color: inherit; filter: brightness(1.05); }
@media (min-width: 900px) { .callbar { display: none; } }

@media print {
  .site-header, .callbar, .cta-band, .hero__topo, .page-hero__topo { display: none !important; }
  body { padding: 0; background: #fff; }
}

/* Real photos (replace photo-slot placeholders) */
.photo { margin: 0; }
.photo img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); background: var(--paper-2); }
.photo--tall img { aspect-ratio: 4 / 5; }
.photo figcaption { font-size: 0.88rem; color: var(--muted); margin-top: 8px; }

/* ------------------------------------------------------- Brand additions */
.site-footer__logo { display: inline-flex !important; align-items: center; gap: 12px; margin-bottom: 12px; text-decoration: none !important; }
.site-footer__logo img { width: auto; height: 60px; background: #fff; border-radius: 10px; padding: 5px; }
.site-footer__wm { display: block; color: #fff; font-weight: 800; font-stretch: 125%; font-size: 1.5rem; letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.site-footer__wm-sub { display: block; color: #c9d4e6; font-size: .62rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-top: 4px; }
.site-footer__tag { color: #fff; font-weight: 650; }

.tagline { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .82rem; color: var(--amber-light); margin: 22px 0 0; }

/* Projects we cover */
.projects { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .projects { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .projects { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
@media (min-width: 1200px) { .projects { grid-template-columns: repeat(6, 1fr); } }
.projects li { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px 12px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); font-weight: 650; color: var(--navy-900); line-height: 1.25; }
.projects svg { width: 40px; height: 40px; color: var(--brand); }
.section--brand { background: var(--navy-900); color: #d3dbe4; position: relative; isolation: isolate; overflow: hidden; }
.section--brand::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("/assets/img/topo.svg") center / 1400px auto repeat; opacity: .4; }
.section--brand h2 { color: #fff; }
.section--brand .eyebrow { color: var(--brand-light); }
.section--brand .lede { color: #c9d4e6; }
.section--brand .projects li { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #fff; }
.section--brand .projects svg { color: var(--amber-light); }

/* Business card */
.bizcard { margin: 0; }
.bizcard a { display: block; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.bizcard img { width: 100%; height: auto; display: block; }
.bizcard figcaption { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.about__logo { width: 200px; height: auto; margin: 0 auto 24px; }
.nav .btn[aria-current="page"] { color: var(--navy-950); }
.opt { font-weight: 500; color: var(--muted); font-size: .92em; }
.file-input { display: block; width: 100%; min-height: 50px; padding: 10px; font: inherit; font-size: .95rem; border: 1.5px dashed #a99f90; border-radius: var(--radius); background: var(--paper); cursor: pointer; }
.file-input::file-selector-button { font: inherit; font-weight: 700; margin-right: 12px; padding: 8px 14px; min-height: 40px; border: 0; border-radius: var(--radius); background: var(--navy-900); color: #fff; cursor: pointer; }
.file-input:focus { outline: 3px solid var(--amber); outline-offset: 0; }
.file-list { list-style: none; padding: 0; margin: 8px 0 0; font-size: .92rem; }
.file-list li { padding: 6px 10px; background: var(--paper-2); border-radius: var(--radius); margin-bottom: 4px; word-break: break-all; }

/* Hero field photo (desktop only — mobile gets a 1px placeholder via <picture>) */
.hero__photo { margin: 0; justify-self: end; width: 100%; max-width: 440px; }
.hero__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); border: 4px solid rgba(255,255,255,.12); box-shadow: 0 20px 50px rgba(0,0,0,.35); background: var(--navy-800); }
.hero__photo figcaption { margin-top: 10px; font-size: .85rem; color: #b9c5d1; }
@media (max-width: 959px) { .hero__photo { display: none; } }

/* Upload progress */
.upload-progress { margin-top: 14px; }
.upload-progress progress { display: block; width: 100%; height: 12px; border: 0; border-radius: 999px; overflow: hidden; background: var(--paper-2); appearance: none; -webkit-appearance: none; }
.upload-progress progress::-webkit-progress-bar { background: var(--paper-2); border-radius: 999px; }
.upload-progress progress::-webkit-progress-value { background: var(--brand); border-radius: 999px; transition: width .2s; }
.upload-progress progress::-moz-progress-bar { background: var(--brand); border-radius: 999px; }
.upload-progress__txt { display: block; margin-top: 6px; font-size: .92rem; font-weight: 600; color: var(--navy-900); text-align: center; }
