/* ============================================================
   T. Walker Co. — homepage redesign
   Restrained indigo system · Inter Tight · Space Grotesk accents
   ============================================================ */

:root {
  /* Brand */
  --indigo:        #0f1e83;
  --indigo-700:    #0c1868;
  --indigo-900:    #070b1e;
  --indigo-950:    #040823;
  --indigo-light:  #9bbcf4;
  --indigo-tint:   #eef2fd;
  --indigo-tint-2: #f6f8fe;

  /* Gold (from logo) */
  --gold:        #e3af5b;
  --gold-bright: #eec078;
  --gold-deep:   #c8934180;
  --gold-ink:    #3a2c12;

  /* Neutrals */
  --ink:      #0d1220;
  --body:     #3b4256;
  --muted:    #6b7280;
  --line:     #e6e8ef;
  --line-2:   #eff1f6;
  --white:    #ffffff;
  --paper:    #fbfbfd;

  /* Type */
  --font: "Inter Tight", system-ui, -apple-system, Segoe UI, sans-serif;
  --mono: "Space Grotesk", "Inter Tight", sans-serif;

  /* Radius + shadow */
  --r-sm: 4px;
  --r:    6px;
  --r-lg: 10px;
  --shadow-sm: 0 1px 2px rgba(13,18,32,.05), 0 2px 8px rgba(13,18,32,.04);
  --shadow:    0 12px 30px -12px rgba(15,30,131,.18), 0 4px 12px rgba(13,18,32,.05);

  /* Layout */
  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --section-y: clamp(64px, 9vw, 120px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--font);
  color: var(--body);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.12; letter-spacing: -0.02em; font-weight: 700; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--indigo); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); position: relative; }
.section--muted { background: var(--paper); }
.section--tint { background: linear-gradient(180deg, var(--indigo-tint-2), #eef2fd); border-top: 1px solid #e7ecfb; border-bottom: 1px solid #e7ecfb; }
.section--paper { background: var(--paper); border-top: 1px solid var(--line-2); }

/* soft decorative accent for a plain white section */
.section--accent::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(155,188,244,.14), transparent 60%),
    radial-gradient(50% 40% at 0% 100%, rgba(227,175,91,.07), transparent 60%);
}
.section--accent > .container { position: relative; z-index: 1; }

.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { max-width: 680px; margin-inline: auto; text-align: center; }
.section__head--center .eyebrow--gold { justify-content: center; }
.section__head h2 { font-size: clamp(28px, 4vw, 44px); margin-top: 8px; }
.section__lead { margin-top: 16px; font-size: 1.05rem; color: var(--muted); }

.eyebrow {
  font-family: var(--mono);
  font-size: .8rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--indigo);
}
.eyebrow--light { color: var(--indigo-light); }
.eyebrow--gold { color: var(--gold); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow--gold::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.hl { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  background: var(--indigo); color: #fff;
  padding: 10px 18px; border-radius: 4px; border: 1px solid var(--indigo);
  font-weight: 600; font-size: .94rem; letter-spacing: -0.01em;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 6px 16px -12px rgba(15,30,131,.7);
}
.btn:hover { background: var(--indigo-700); transform: translateY(-1px); box-shadow: 0 10px 20px -12px rgba(15,30,131,.75); }
.btn:focus-visible { outline: 3px solid var(--indigo-light); outline-offset: 2px; }
.btn--sm { padding: 8px 14px; font-size: .88rem; }
.btn--lg { padding: 12px 22px; font-size: .98rem; }
.btn--full { width: 100%; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); box-shadow: none; }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.7); }
.btn--gold {
  background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 700;
  box-shadow: 0 8px 20px -8px rgba(227,175,91,.6);
}
.btn--gold:hover { background: var(--gold-bright); border-color: var(--gold-bright); box-shadow: 0 12px 26px -8px rgba(227,175,91,.75); }
.btn--gold:focus-visible { outline-color: var(--gold-bright); }

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(7,11,30,.86);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom-color: rgba(255,255,255,.1);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.8);
}

.header__inner { display: flex; align-items: center; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; }
.brand__logo { height: 30px; width: auto; display: block; }

.nav { display: flex; gap: clamp(14px, 2vw, 26px); margin-inline: auto; }
.nav a { font-size: .95rem; font-weight: 500; color: rgba(255,255,255,.86); position: relative; padding: 4px 0; transition: color .2s ease; }
.nav a:hover { color: #fff; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.header__cta { display: flex; align-items: center; gap: 16px; }
.phone-link { font-weight: 600; color: #fff; font-size: .95rem; white-space: nowrap; transition: color .2s ease; }
.phone-link:hover { color: var(--gold); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, opacity .2s; }

.mobile-nav { display: none; }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative; color: #fff; isolation: isolate;
  background: var(--indigo-950);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,8,35,.72) 0%, rgba(4,8,35,.55) 40%, rgba(4,8,35,.82) 100%),
    linear-gradient(105deg, rgba(7,11,30,.92) 0%, rgba(7,11,30,.55) 55%, rgba(12,21,80,.35) 100%);
}
.hero__inner {
  position: relative;
  display: grid; grid-template-columns: 1.35fr .9fr; gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(120px, 15vh, 172px);
  padding-bottom: clamp(64px, 9vw, 116px);
}
.hero__copy { max-width: 640px; }
.hero h1 {
  color: #fff; font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; letter-spacing: -0.03em;
  margin-top: 18px;
}
.hero__sub { margin-top: 22px; font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255,255,255,.78); max-width: 30em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__proof { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.rating { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: rgba(255,255,255,.9); }
.rating__stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }
.rating strong { color: #fff; }
.hero__proof-note { font-size: .9rem; color: rgba(255,255,255,.6); }

.hero__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r); padding: 20px 18px; backdrop-filter: blur(6px);
  transition: border-color .2s ease, background .2s ease;
}
.stat:hover { border-color: rgba(227,175,91,.5); background: rgba(255,255,255,.09); }
.stat__num { display: block; font-family: var(--mono); font-size: clamp(1.9rem, 3vw, 2.5rem); font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.stat__plus { color: var(--gold); }
.stat__label { display: block; margin-top: 6px; font-size: .82rem; line-height: 1.4; color: rgba(255,255,255,.68); }

/* ---------- Trust strip ---------- */
.strip { background: var(--indigo-950); color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.08); }
.strip__inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; padding-block: 16px; font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.strip__inner span[aria-hidden] { color: rgba(255,255,255,.32); }

/* ============================================================
   Grids / cards
   ============================================================ */
.grid { display: grid; gap: 18px; }
.grid--services { grid-template-columns: repeat(3, 1fr); }
.grid--work { grid-template-columns: repeat(3, 1fr); }
.grid--reviews { grid-template-columns: repeat(3, 1fr); }
.grid--articles { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px 24px; transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.card::after {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--indigo), var(--indigo-light));
  transform: scaleY(0); transform-origin: top; transition: transform .25s ease;
}
.card__icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 8px;
  background: var(--indigo-tint); color: var(--indigo);
  border: 1px solid #e2e9fb; margin-bottom: 18px;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.card__icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.06rem; margin-bottom: 8px; }
.card p { font-size: .93rem; color: var(--muted); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #dbe2f7; }
.card:hover::after { transform: scaleY(1); }
.card:hover .card__icon { background: var(--indigo); color: #fff; border-color: var(--indigo); transform: translateY(-1px); }

/* ---------- Dark section ---------- */
.section--dark {
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(155,188,244,.14), transparent 50%),
    linear-gradient(165deg, var(--indigo-950), var(--indigo-900) 60%, #0b1447);
  color: #fff;
}
.section--dark h2 { color: #fff; }

/* ---------- Projects ---------- */
.project {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r-lg); padding: 28px 24px; display: flex; flex-direction: column;
  transition: transform .18s ease, background .2s ease;
}
.project:hover { transform: translateY(-3px); background: rgba(255,255,255,.06); }
.project__stat { display: flex; flex-direction: column; margin-bottom: 18px; }
.project__stat span { font-family: var(--mono); font-size: clamp(2.4rem, 4vw, 3.1rem); font-weight: 600; color: var(--gold); line-height: 1; letter-spacing: -0.02em; }
.project__stat small { margin-top: 8px; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; color: rgba(255,255,255,.6); }
.project h3 { color: #fff; font-size: 1.14rem; margin-bottom: 10px; }
.project p { font-size: .92rem; color: rgba(255,255,255,.72); }
.project__tags { margin-top: auto; padding-top: 16px; font-family: var(--mono); font-size: .78rem; letter-spacing: .03em; color: var(--indigo-light) !important; }

/* ---------- Reviews ---------- */
.review {
  background: var(--indigo-tint-2); border: 1px solid var(--line-2); border-radius: var(--r);
  padding: 28px 26px; display: flex; flex-direction: column; gap: 20px;
}
.review blockquote { font-size: 1rem; color: var(--ink); line-height: 1.6; position: relative; }
.review blockquote::before { content: "\201C"; font-family: Georgia, serif; font-size: 2.6rem; color: #cdd6f2; line-height: 0; position: absolute; left: -6px; top: 12px; }
.review figcaption { display: flex; flex-direction: column; margin-top: auto; }
.review figcaption strong { color: var(--ink); font-size: .98rem; }
.review figcaption span { font-family: var(--mono); font-size: .78rem; color: var(--muted); letter-spacing: .03em; }

/* ============================================================
   Split (About / Contact)
   ============================================================ */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split__copy h2 { font-size: clamp(28px, 4vw, 42px); margin: 10px 0 18px; }
.split__copy p { margin-bottom: 14px; }
.split__copy .btn { margin-top: 12px; }

.areas { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.areas li {
  background: var(--indigo-tint); border: 1px solid #e2e9fb; border-radius: var(--r-sm);
  padding: 13px 16px; font-weight: 500; color: var(--indigo-700); font-size: .95rem;
  display: flex; align-items: center; gap: 10px;
}
.areas li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--indigo); flex: none; }

/* ---------- FAQ ---------- */
.faq-split { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq-split__aside { position: sticky; top: 100px; }
.faq-split__aside h2 { font-size: clamp(26px, 3.4vw, 38px); margin: 10px 0 16px; }
.faq-split__aside p { color: var(--muted); margin-bottom: 22px; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--r); background: var(--white);
  padding: 4px 22px; transition: border-color .2s ease, box-shadow .2s ease;
}
.faq details[open] { border-color: #d4dcf6; box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--ink);
  font-size: 1.04rem; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; background: var(--indigo); border-radius: 2px; transition: transform .2s ease; }
.faq__icon::before { top: 8px; left: 0; width: 18px; height: 2px; }
.faq__icon::after { left: 8px; top: 0; width: 2px; height: 18px; }
.faq details[open] .faq__icon::after { transform: scaleY(0); }
.faq details p { padding: 0 0 20px; color: var(--muted); font-size: .98rem; }

/* ---------- Articles ---------- */
.post {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  display: flex; flex-direction: column; overflow: hidden;
  transition: transform .18s ease, box-shadow .2s ease, border-color .2s ease;
}
.post:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #dbe2f7; }
.post__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--indigo-tint); }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.post:hover .post__img img { transform: scale(1.04); }
.post__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post__date { font-family: var(--mono); font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; color: var(--indigo); margin-bottom: 12px; }
.post h3 { font-size: 1.1rem; line-height: 1.3; margin-bottom: 10px; }
.post p { font-size: .93rem; color: var(--muted); }
.link-more { margin-top: 18px; font-weight: 600; font-size: .9rem; color: var(--indigo); }

/* ---------- Contact ---------- */
.split--contact { align-items: start; }
.contact-details { list-style: none; padding: 0; margin-top: 26px; display: flex; flex-direction: column; gap: 16px; }
.contact-details li { display: flex; flex-direction: column; gap: 2px; }
.contact-details span { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; color: var(--indigo-light); }
.contact-details strong { color: #fff; font-weight: 500; font-size: 1rem; }
.contact-details a:hover { color: var(--indigo-light); }

.contact-form {
  background: var(--white); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea {
  font: inherit; font-size: .96rem; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--indigo); background: #fff; box-shadow: 0 0 0 3px rgba(15,30,131,.12);
}
.field textarea { resize: vertical; min-height: 108px; }
.form-note { text-align: center; font-size: .86rem; color: var(--muted); margin-top: 2px; }
.form-note a { color: var(--indigo); font-weight: 600; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { background: var(--indigo-950); color: rgba(255,255,255,.66); padding-top: clamp(48px, 6vw, 72px); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: clamp(24px, 4vw, 56px); padding-bottom: 44px; }
.footer__brand .brand { color: #fff; margin-bottom: 18px; }
.footer__logo { height: 34px; width: auto; display: block; }
.footer__brand p { font-size: .92rem; max-width: 34ch; line-height: 1.6; }
.footer__col h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono); font-weight: 500; margin-bottom: 16px; }
.footer__col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: .93rem; }
.footer__col li, .footer__col a { font-size: .93rem; color: rgba(255,255,255,.66); }
.footer__col a:hover { color: #fff; }
.footer__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer__bar a:hover { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .grid--services { grid-template-columns: repeat(2, 1fr); }
  .grid--work, .grid--reviews, .grid--articles { grid-template-columns: 1fr; }
  .hero__inner { grid-template-columns: 1fr; }
  .hero__stats { grid-template-columns: repeat(4, 1fr); }
  .split, .split--contact { grid-template-columns: 1fr; }
  .faq-split { grid-template-columns: 1fr; gap: 28px; }
  .faq-split__aside { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav, .header__cta .phone-link, .header__cta .btn { display: none; }
  .menu-toggle { display: flex; margin-left: auto; }
  body.nav-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .mobile-nav {
    display: flex; flex-direction: column; gap: 4px;
    max-height: 0; overflow: hidden; background: rgba(7,11,30,.97); backdrop-filter: saturate(160%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: max-height .3s ease, border-color .3s ease; padding-inline: var(--gutter);
  }
  body.nav-open .mobile-nav { max-height: 460px; border-bottom-color: rgba(255,255,255,.1); padding-block: 12px; box-shadow: 0 12px 30px -18px rgba(0,0,0,.8); }
  .mobile-nav a { padding: 13px 0; font-weight: 600; color: rgba(255,255,255,.9); border-bottom: 1px solid rgba(255,255,255,.08); }
  .mobile-nav a:last-child { border: 0; margin-top: 10px; }
  .mobile-nav .btn { color: #fff; }

  .hero__stats { grid-template-columns: 1fr 1fr; }
  .grid--services { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__bar { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 420px) {
  .hero__stats { grid-template-columns: 1fr; }
  .areas { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* ============================================================
   Detail pages (services, areas, projects, articles, about)
   ============================================================ */
.dhero {
  position: relative; color: #fff;
  padding-top: clamp(112px, 14vh, 150px); padding-bottom: clamp(40px, 6vw, 64px);
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(155,188,244,.14), transparent 50%),
    linear-gradient(165deg, var(--indigo-950), var(--indigo-900) 60%, #0b1447);
}
.dhero h1 { color: #fff; font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; letter-spacing: -0.03em; margin-top: 14px; max-width: 22ch; }
.dhero__sub { margin-top: 16px; font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(255,255,255,.78); max-width: 60ch; }
.dhero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.breadcrumb { font-family: var(--mono); font-size: .8rem; letter-spacing: .03em; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.breadcrumb a { color: rgba(255,255,255,.75); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: var(--gold); margin: 0 4px; }

/* Rich text */
.prose { color: var(--body); font-size: 1.02rem; line-height: 1.75; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(22px, 3vw, 30px); margin: 1.6em 0 .5em; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.prose h4 { font-size: 1.05rem; margin: 1.2em 0 .3em; }
.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--indigo); }
.prose a { color: var(--indigo); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.prose strong { color: var(--ink); }
.prose img { max-width: 100%; border-radius: var(--r); margin: 1.4em 0; }
.prose blockquote { border-left: 3px solid var(--gold); padding-left: 18px; margin: 1.4em 0; color: var(--ink); font-size: 1.1rem; }

.card--link { text-decoration: none; }
.card--link .link-more { display: inline-block; margin-top: 14px; }

.areas--wide { grid-template-columns: repeat(3, 1fr); }
.area-card { background: var(--indigo-tint); border: 1px solid #e2e9fb; border-radius: var(--r-sm); padding: 16px 18px; font-weight: 600; color: var(--indigo-700); display: flex; align-items: center; gap: 10px; }
.area-card__pin { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }

.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3.2vw, 34px); margin-top: 6px; }
.cta-band p { color: rgba(255,255,255,.72); margin-top: 8px; }
.cta-band__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.contact-details--light span { color: var(--indigo); }
.contact-details--light strong { color: var(--ink); }
.contact-details--light a { color: var(--indigo); }
.contact-details--light a:hover { color: var(--indigo-700); }

.article-meta { font-family: var(--mono); font-size: .82rem; letter-spacing: .03em; color: var(--muted); text-transform: uppercase; margin-bottom: 20px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

@media (max-width: 760px) {
  .areas--wide { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

/* card/link + project-link fixes for generated pages */
.card--link { display: flex; flex-direction: column; }
.project { text-decoration: none; }
.section__more { margin-top: 28px; }
.section__more--center { text-align: center; }

/* ============================================================
   v5 — wider shell, 100vh hero cap, detail main+sidebar layout
   ============================================================ */
:root { --maxw: 1400px; }

/* Home hero: fit within the viewport */
.hero { min-height: 100svh; display: flex; align-items: center; }
.hero__inner { padding-top: clamp(92px, 12vh, 120px); padding-bottom: clamp(40px, 6vh, 60px); }

/* Detail layout: content + sticky sidebar */
.detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: clamp(32px, 4vw, 60px); align-items: start; }
.detail-main { min-width: 0; }
.detail-main .prose, .detail-faqs.prose { max-width: 74ch; }
.detail-faqs { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--line); }
.detail-aside { position: sticky; top: 96px; display: grid; gap: 18px; align-self: start; }

.side-card { border-radius: var(--r); }
.side-card--toc { background: var(--paper); border: 1px solid var(--line); padding: 22px; }
.side-card__label { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--indigo); margin-bottom: 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.toc a { display: block; padding: 7px 10px; border-radius: 5px; font-size: .9rem; color: var(--body); border-left: 2px solid transparent; line-height: 1.35; transition: background .15s, color .15s, border-color .15s; }
.toc a:hover { background: var(--indigo-tint); color: var(--indigo); border-left-color: var(--gold); }

.side-card--cta { background: linear-gradient(165deg, var(--indigo-950), var(--indigo-900)); color: #fff; padding: 28px 26px; }
.side-card--cta h3 { color: #fff; font-size: 1.3rem; margin: 8px 0 10px; letter-spacing: -0.02em; }
.side-card--cta p { color: rgba(255,255,255,.72); font-size: .92rem; }
.side-card__phone { display: block; font-family: var(--mono); font-weight: 600; font-size: 1.5rem; color: #fff; margin: 18px 0 2px; }
.side-card__phone:hover { color: var(--gold); }
.side-card__avail { display: block; font-size: .8rem; color: rgba(255,255,255,.55); margin-bottom: 18px; }

/* Reworked case-study testimonial */
.pullquote { margin: 34px 0 0; padding: 22px 26px; background: var(--indigo-tint-2); border-left: 3px solid var(--gold); border-radius: 0 var(--r) var(--r) 0; max-width: 74ch; }
.pullquote blockquote { font-size: 1.08rem; line-height: 1.6; color: var(--ink); }
.pullquote blockquote p { margin: 0 0 .5em; }
.pullquote blockquote p:last-child { margin-bottom: 0; }
.pullquote figcaption { margin-top: 12px; font-family: var(--mono); font-size: .8rem; letter-spacing: .03em; color: var(--muted); }

@media (max-width: 960px) {
  .detail-layout { grid-template-columns: 1fr; }
  .detail-aside { position: static; }
  .side-card--toc { display: none; }
}

/* ============================================================
   v6 — tighter hero so it fits within 100vh (1080p+)
   ============================================================ */
.hero h1 { font-size: clamp(26px, 4vw, 45px); margin-top: 10px; }   /* -25% */
.hero__inner { gap: clamp(16px, 2.5vw, 36px); }                     /* column gap halved */
.hero__sub { margin-top: 16px; }
.hero__actions { margin-top: 24px; }
.hero__proof { margin-top: 24px; padding-top: 18px; }

/* ============================================================
   v7 — collapsible Table of Contents (accordion) in sidebar
   ============================================================ */
.toc-acc { padding: 0; overflow: hidden; }
.toc-acc > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px;
  padding: 15px 20px; user-select: none;
}
.toc-acc > summary::-webkit-details-marker { display: none; }
.toc-acc .side-card__label { margin-bottom: 0; }
.toc-acc__meta { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--muted); background: var(--indigo-tint); border-radius: 999px; padding: 1px 8px; }
.toc-acc__icon { width: 8px; height: 8px; flex: none; border-right: 2px solid var(--indigo); border-bottom: 2px solid var(--indigo); transform: rotate(45deg); transition: transform .2s ease; margin-bottom: 3px; }
.toc-acc[open] .toc-acc__icon { transform: rotate(-135deg); margin-bottom: -2px; }
.toc-acc[open] > summary { border-bottom: 1px solid var(--line); }
.toc-acc .toc { padding: 8px 12px 12px; max-height: 60vh; overflow-y: auto; }
.toc-acc:hover { border-color: #d4dcf6; }

/* ============================================================
   v8 — About/FAQs use detail layout; Articles "load more";
        trim hero bottom padding + compact stats to fit 100vh
   ============================================================ */
.hidden-post { display: none; }
.load-more-wrap { text-align: center; margin-top: 36px; }

.hero__inner { padding-top: clamp(84px, 10vh, 104px); padding-bottom: clamp(14px, 2vh, 26px); }
.hero__proof { margin-top: 20px; padding-top: 16px; }
.hero__stats { gap: 10px; }
.stat { padding: 15px 16px; }

/* ============================================================
   v9 — refine home hero: de-gold eyebrow + stats, soften heading,
        darken overlay with a directional gradient
   ============================================================ */
.hero .eyebrow--gold { color: rgba(255,255,255,.72); }
.hero .eyebrow--gold::before { background: rgba(255,255,255,.38); }
.hero .hl { color: rgba(227,175,91,.82); }             /* softened gold */
.hero .stat__plus { color: rgba(255,255,255,.5); }     /* was gold */
.hero .stat:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.09); }
.hero::after {
  background:
    linear-gradient(180deg, rgba(4,8,35,.84) 0%, rgba(4,8,35,.7) 45%, rgba(4,8,35,.92) 100%),
    linear-gradient(105deg, rgba(3,6,26,.96) 0%, rgba(7,11,30,.72) 55%, rgba(12,21,80,.46) 100%);
}

/* ============================================================
   v10 — hero sizes to content (no forced 100vh, no centering slack)
   ============================================================ */
.hero { min-height: 0; display: block; }
.hero__inner { padding-top: clamp(92px, 11vh, 116px); padding-bottom: clamp(28px, 4vh, 44px); }

/* ============================================================
   v11 — trust checklist under the hero stat cards (replaces strip band)
   ============================================================ */
.hero__side { display: flex; flex-direction: column; gap: 16px; }
.hero__trust {
  list-style: none; margin: 0; padding: 15px 2px 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.hero__trust li { display: flex; align-items: center; gap: 9px; font-size: .84rem; color: rgba(255,255,255,.72); line-height: 1.3; }
.hero__trust svg { width: 15px; height: 15px; flex: none; color: var(--indigo-light); }
@media (max-width: 420px) { .hero__trust { grid-template-columns: 1fr; } }

/* ============================================================
   v12 — a touch more hero padding; harmonize gold (stars ~= heading)
   ============================================================ */
.hero__inner { padding-top: clamp(108px, 12.5vh, 136px); padding-bottom: clamp(40px, 5.5vh, 62px); }
.hero .rating__stars { color: rgba(227,175,91,.88); }   /* match the softened heading gold */

/* ============================================================
   v13 — Service Areas as service-style cards with a map texture
   ============================================================ */
.area-tile { position: relative; overflow: hidden; }
.area-tile::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  background-image: radial-gradient(rgba(15,30,131,.05) 1px, transparent 1.5px);
  background-size: 15px 15px; opacity: .7;
  -webkit-mask-image: linear-gradient(180deg, #000 0, transparent 78%);
          mask-image: linear-gradient(180deg, #000 0, transparent 78%);
}
.area-tile > * { position: relative; z-index: 1; }

/* ============================================================
   v14 — author box (article pages) + sidebar CTA person avatar
   ============================================================ */
.avatar { position: relative; display: inline-grid; place-items: center; border-radius: 50%; overflow: hidden; background: var(--indigo); color: #fff; font-family: var(--mono); font-weight: 600; flex: none; }
.avatar::before { content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center; letter-spacing: .02em; }
.avatar img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.avatar--sm { width: 44px; height: 44px; font-size: .9rem; }
.avatar--lg { width: 76px; height: 76px; font-size: 1.4rem; }

.side-card__person { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.side-card__person .avatar { border: 2px solid rgba(255,255,255,.25); }
.side-card__person > span { display: flex; flex-direction: column; line-height: 1.25; }
.side-card__person strong { color: #fff; font-size: 1rem; }
.side-card__person > span > span { color: rgba(255,255,255,.6); font-size: .82rem; }

.authorbox { display: flex; gap: 20px; align-items: flex-start; margin-top: 44px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--paper); max-width: 74ch; }
.authorbox .avatar--lg { border: 1px solid var(--line); }
.authorbox__eyebrow { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--indigo); margin-bottom: 6px; }
.authorbox__name { font-weight: 700; color: var(--ink); font-size: 1.1rem; letter-spacing: -0.01em; }
.authorbox__role { color: var(--muted); font-size: .9rem; margin-bottom: 8px; }
.authorbox__bio { color: var(--body); font-size: .95rem; line-height: 1.6; margin: 0; }
@media (max-width: 520px) { .authorbox { flex-direction: column; gap: 14px; } }

/* ============================================================
   v15 — restore CTA eyebrow; small founder photo+name under phone
   ============================================================ */
.avatar--xs { width: 34px; height: 34px; font-size: .78rem; }
.side-card__by { display: flex; align-items: center; gap: 10px; margin: 12px 0 18px; }
.side-card__by .avatar { border: 2px solid rgba(255,255,255,.22); }
.side-card__by > span { display: flex; flex-direction: column; line-height: 1.22; }
.side-card__by strong { color: #fff; font-size: .88rem; font-weight: 600; }
.side-card__by > span > span { color: rgba(255,255,255,.6); font-size: .78rem; }

/* ============================================================
   v16 — "Why T. Walker Co." sidebar checklist card
   ============================================================ */
.side-card--why { background: var(--paper); border: 1px solid var(--line); padding: 22px; }
.why-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.why-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--body); line-height: 1.4; }
.why-list svg { width: 16px; height: 16px; flex: none; color: var(--gold); margin-top: 1px; }
