/* About Autism — single-page Wix mockup
   Tokens lifted directly from About Autism Brand Essentials. */

:root {
  --navy:#0F2A5C;
  --navy-deep:#091a3d;
  --navy-hover:#1A3F7A;
  --sky:#3FB4E5;
  --ink:#0B1220;
  --slate:#5B6573;
  --slate-2:#8a93a1;
  --mist:#EEF2F7;
  --paper:#FAFBFC;
  --line:#E2E7EE;

  /* spectrum — used ONCE, as the logo arc */
  --orange:#E8782A;
  --yellow:#F2C200;
  --green:#2BA84A;
  --blue:#1F6FB8;
  --indigo:#3B2E8C;
  --red:#D8332A;
}

.site, .site * { box-sizing: border-box; }
.site {
  font-family: 'Inter', system-ui, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01","cv11";
  width: 100%;
  font-size: 18px;
  line-height: 1.55;
}

/* --- Container ---------------------------------------------------- */
.site .wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.site.is-mobile .wrap { padding-left: 20px; padding-right: 20px; }

/* --- Atoms -------------------------------------------------------- */
.site .eyebrow {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  color: var(--sky);
  margin: 0 0 16px;
}
.site .eyebrow.on-paper { color: var(--navy); }

.site h1.display {
  font-size: 60px;
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
  max-width: 14ch;
}
.site.is-mobile h1.display { font-size: 38px; line-height: 1.04; letter-spacing: -0.02em; max-width: none; }

.site h2.section-title {
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
}
.site.is-mobile h2.section-title { font-size: 30px; }

.site h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.005em;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.site .lede {
  font-size: 19px;
  line-height: 1.55;
  color: var(--slate);
  max-width: 48ch;
  text-wrap: pretty;
  margin: 0;
  font-weight: 400;
}
.site.is-mobile .lede { font-size: 17px; max-width: none; }

.site p { margin: 0; text-wrap: pretty; }
.site .body { font-size: 18px; line-height: 1.55; color: var(--ink); }
.site .small { font-size: 14px; line-height: 1.55; color: var(--slate); }

.site .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

/* --- Buttons ------------------------------------------------------ */
.site .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 4px;
  font-family: inherit;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  transition: background-color .12s ease, color .12s ease, transform .06s ease;
}
.site .btn-primary { background: var(--navy); color: #fff; }
.site .btn-primary:hover { background: var(--navy-hover); }
.site .btn-secondary {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.site .btn-secondary:hover { background: var(--navy); color:#fff; }
.site .btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 0;
  padding: 0 8px;
  height: auto;
}
.site .btn-ghost::after {
  content: "→";
  margin-left: 8px;
  transition: transform .12s ease;
}
.site .btn-ghost:hover::after { transform: translateX(4px); }
.site .btn-on-navy { background: #fff; color: var(--navy); }
.site .btn-on-navy:hover { background: var(--mist); }
.site .btn:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
}

/* --- Spectrum arc (decorative; brand-allowed only as logo accent) -- */
.site .arc {
  height: 8px;
  width: 280px;
  max-width: 100%;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  gap: 0;
}
.site .arc > span {
  display: block;
  height: 100%;
}
.site .arc > span:first-child { border-radius: 999px 0 0 999px; }
.site .arc > span:last-child  { border-radius: 0 999px 999px 0; }

/* --- Skip link ---------------------------------------------------- */
.site .skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  border-radius: 4px;
  font-weight: 600;
  z-index: 100;
}
.site .skip:focus { left: 8px; }

/* --- Top bar ------------------------------------------------------ */
.site .topbar {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250,251,252,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site .topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.site .brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 800; color: var(--navy);
  text-decoration: none;
}
.site .brand img { height: 52px; width: auto; display: block; }
.site .nav {
  display: flex; align-items: center; gap: 28px;
  margin-left: 16px;
}
.site .nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .12s, border-color .12s;
}
.site .nav a:hover { color: var(--navy); border-bottom-color: var(--sky); }
.site .topbar-cta { display: flex; align-items: center; gap: 16px; }
.site .topbar-cta .btn { height: 44px; padding: 0 18px; font-size: 14px; }

.site .menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff; border-radius: 4px;
  align-items: center; justify-content: center;
  color: var(--navy);
}
.site.is-mobile .nav { display: none; }
.site.is-mobile .topbar-cta .btn-on-navy { display: none; }
.site.is-mobile .menu-btn { display: inline-flex; }
.site.is-mobile .topbar .wrap { height: 64px; }
.site.is-mobile .brand img { height: 36px; }

/* --- Sections ----------------------------------------------------- */
.site section { padding: 96px 0; }
.site.is-mobile section { padding: 56px 0; }
.site .alt { background: var(--mist); }

/* --- Hero --------------------------------------------------------- */
.site .hero {
  padding-top: var(--hero-pt, 120px);
  padding-bottom: var(--hero-pb, 128px);
}
.site.is-mobile .hero {
  padding-top: calc(var(--hero-pt, 80px) * 0.5);
  padding-bottom: calc(var(--hero-pb, 96px) * 0.5);
}
.site .hero .grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--hero-gap, 64px);
  align-items: start;
}
.site.is-mobile .hero .grid { grid-template-columns: 1fr; gap: 32px; }

.site .hero .copy { display: grid; gap: 20px; }
.site .hero h1 .light {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: var(--sky);
  font-size: 0.55em;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.site .hero .postscript {
  margin: -6px 0 0;
}
.site .hero .postscript .light {
  font-family: 'Inter', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--sky);
  font-size: 22px;
  letter-spacing: -0.005em;
  line-height: 1.2;
}
.site.is-mobile .hero .postscript .light { font-size: 18px; }

.site .hero .trust-line {
  position: relative;
  display: block;
  padding-left: 20px;
  font-size: 14px;
  color: var(--slate);
  font-weight: 500;
  line-height: 1.4;
}
.site .hero .trust-line b {
  color: var(--ink);
  font-weight: 600;
}
.site .hero .trust-dot {
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(43,168,74,.15);
}

.site .hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.site .hero .arc { margin-top: 0; }
.site .hero .lede {
  font-size: 18px;
  max-width: 52ch;
}

.site .hero .reassure {
  display: flex; flex-wrap: wrap; gap: 18px 24px;
  margin-top: 12px;
}
.site .hero .reassure .item {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; color: var(--slate);
}
.site .hero .reassure .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sky);
}

/* --- Video card --------------------------------------------------- */
.site .video-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: var(--video-ar, 16 / 10);
  background: var(--navy);
  box-shadow:
    0 1px 0 rgba(15,42,92,.06),
    0 24px 60px -24px rgba(15,42,92,.25);
}
.site .video-card .placeholder {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.045) 0 14px,
      rgba(255,255,255,0) 14px 28px),
    linear-gradient(180deg, #0F2A5C 0%, #091a3d 100%);
  display: grid;
  place-items: center;
}
.site .video-card .play {
  width: 88px; height: 88px;
  border-radius: 50%;
  background: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 32px rgba(0,0,0,.25);
  position: relative; z-index: 2;
}
.site .video-card .play::after {
  content: "";
  width: 0; height: 0;
  border-left: 22px solid var(--navy);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.site .video-card .meta {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 16px 20px;
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,.85);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  z-index: 2;
}
.site .video-card .meta::before {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 70%;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,.55) 100%);
  z-index: -1;
}
.site .video-card .cc {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.16);
  padding: 4px 10px; border-radius: 3px;
  font-size: 11px;
}

/* --- About / Origin ---------------------------------------------- */
.site .about .grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: start;
}
.site.is-mobile .about .grid { grid-template-columns: 1fr; gap: 32px; }
.site .about .copy { display: grid; gap: 22px; }
.site .about .copy h2 { margin-bottom: 8px; }
.site .about .signature {
  margin-top: 12px;
  font-size: 14px;
  color: var(--slate);
}
.site .about .signature strong { color: var(--navy); font-size: 16px; display:block; margin-bottom:2px;}
.site .about .credentials {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 12px;
}
.site .about .credentials span {
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
}

/* striped photo placeholder per brand */
.site .photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg,
      rgba(15,42,92,.05) 0 12px,
      rgba(15,42,92,.02) 12px 24px),
    var(--mist);
  border: 1px solid var(--line);
  display: grid;
  place-items: end start;
  padding: 18px;
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--slate);
}
.site .photo::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(15,42,92,.18);
  border-radius: 4px;
  pointer-events: none;
}
.site .photo .ph-tag {
  position: relative;
  z-index: 2;
  background: #fff;
  padding: 6px 10px;
  border-radius: 3px;
  border: 1px solid var(--line);
}
.site .about .photo { aspect-ratio: 4 / 5; }

/* --- About: left column wraps photo + signature + link --------- */
.site .about .about-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-self: start;
}
.site .about .about-left .signature {
  margin-top: 4px;
}
.site .about .about-left .about-link {
  margin-top: -4px;
}
.site.is-mobile .about .about-left { gap: 16px; }

/* --- Services ---------------------------------------------------- */
.site .services .heading {
  display: grid;
  gap: 18px;
  align-items: start;
  margin-bottom: 56px;
}
.site.is-mobile .services .heading {
  gap: 16px;
  margin-bottom: 32px;
}
.site .services .heading .section-title { margin: 0; }

/* Large editorial anchor: full-width statement between heading + cards */
.site .services .services-anchor {
  margin: 6px 0 0;
  position: relative;
  padding-left: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.28;
  letter-spacing: -0.01em;
  color: var(--ink);
  max-width: 38ch;
  text-wrap: pretty;
}
.site .services .services-anchor .sa-mark {
  position: absolute;
  left: 0;
  top: -0.02em;
  font-style: normal;
  font-weight: 500;
  font-size: 32px;
  color: var(--sky);
  line-height: 1;
  letter-spacing: -0.04em;
}
.site.is-mobile .services .services-anchor {
  font-size: 22px;
  padding-left: 30px;
  max-width: none;
}
.site.is-mobile .services .services-anchor .sa-mark {
  font-size: 24px;
}

.site .service-grid {
  display: grid;
  grid-template-columns: 5fr 3.5fr 3.5fr;
  gap: 24px;
}
.site.is-mobile .service-grid { grid-template-columns: 1fr; gap: 16px; }

.site .service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.site .service > .more { margin-top: auto; }
.site .service:hover {
  border-color: var(--sky);
  box-shadow: 0 12px 32px -16px rgba(15,42,92,.18);
  transform: translateY(-2px);
}
.site .service .num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--slate);
}
.site .service h3 { margin: 0; }
.site .service ul {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.site .service ul li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
}
.site .service ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 10px;
  width: 12px; height: 2px;
  background: var(--sky);
  border-radius: 2px;
}
.site .service .more {
  margin-top: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
}
.site .service .more::after { content: "→"; transition: transform .12s; }
.site .service:hover .more::after { transform: translateX(3px); }

/* --- Services: all card CTAs = solid brand primary button ------------
   Every service card action shares the same .btn-primary tokens
   (height/radius/font) as the rest of the site's solid buttons,
   stretched full-width within the card. */
.site .service .more {
  margin-top: auto;
  align-self: stretch;
  justify-content: center;
  height: 52px;
  padding: 0 24px;
  border-radius: 4px;
  background: var(--navy);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.site .service .more:hover { background: var(--navy-hover); }
.site .service:hover .more::after { transform: translateX(3px); }

/* --- Book feature ------------------------------------------------ */
.site .book {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.site .book::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(63,180,229,.22), rgba(63,180,229,0) 70%);
  pointer-events: none;
}
.site .book .grid {
  display: grid;
  grid-template-columns: 7fr 6fr;
  gap: 80px;
  align-items: center;
}
.site.is-mobile .book .grid { grid-template-columns: 1fr; gap: 40px; }
.site .book h2 { color: #fff; }
.site .book .eyebrow { color: var(--sky); }
.site .book .copy { display: grid; gap: 22px; }
.site .book .copy p { color: rgba(255,255,255,.85); }
.site .book .ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.site .book .meta-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 14px;
  color: rgba(255,255,255,.7);
}
.site .book .meta-list strong { color: #fff; font-weight: 600; }

/* funky book stage */
.site .book-stage {
  position: relative;
  perspective: 1400px;
  perspective-origin: 60% 40%;
  height: 480px;
  display: grid;
  place-items: center;
}
.site.is-mobile .book-stage { height: 380px; }

.site .book-floor {
  position: absolute;
  left: 50%;
  bottom: 40px;
  transform: translateX(-50%);
  width: 380px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 70%);
  filter: blur(2px);
}

.site .book-3d {
  position: relative;
  width: 280px;
  height: 380px;
  transform-style: preserve-3d;
  transform: rotateY(-22deg) rotateX(6deg);
  animation: bookFloat 7s ease-in-out infinite;
}
.site.is-mobile .book-3d { width: 220px; height: 300px; transform: rotateY(-18deg) rotateX(4deg); }

@keyframes bookFloat {
  0%, 100% { transform: rotateY(-22deg) rotateX(6deg) translateY(0); }
  50%      { transform: rotateY(-19deg) rotateX(4deg) translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
  .site .book-3d { animation: none; }
}

.site .book-cover {
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, #163a78 0%, #0F2A5C 55%, #091a3d 100%);
  border-radius: 2px 8px 8px 2px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    8px 18px 40px rgba(0,0,0,.45);
  padding: 32px 28px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: #fff;
  overflow: hidden;
}
.site .book-cover::after {
  content:"";
  position:absolute;
  left:6px; top:0; bottom:0;
  width: 6px;
  background: linear-gradient(90deg, rgba(0,0,0,.4), rgba(0,0,0,0));
}
.site .book-cover .bc-eyebrow {
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 700;
}
.site .book-cover .bc-title {
  font-size: 28px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 800;
  margin-top: 10px;
  text-wrap: balance;
}
.site.is-mobile .book-cover .bc-title { font-size: 22px; }
.site .book-cover .bc-sub {
  font-size: 12px;
  color: rgba(255,255,255,.75);
  font-style: italic;
  margin-top: 8px;
  line-height: 1.4;
}
.site .book-cover .bc-arc {
  height: 4px;
  border-radius: 999px;
  margin: 18px 0;
  background: linear-gradient(90deg,
    var(--orange) 0%, var(--yellow) 22%, var(--green) 42%,
    var(--blue) 62%, var(--indigo) 80%, var(--red) 100%);
}
.site .book-cover .bc-imagery {
  flex: 1;
  position: relative;
  border-radius: 4px;
  background:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.06) 0 10px,
      rgba(255,255,255,0) 10px 20px),
    rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  display: grid; place-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}
.site .book-cover .bc-author {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.9);
  letter-spacing: 0.02em;
}
.site .book-cover .bc-author small {
  display:block;
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 700;
  margin-bottom: 2px;
}
.site .book-pages {
  position: absolute;
  top: 4px; bottom: 4px;
  right: -10px;
  width: 14px;
  background: linear-gradient(90deg, #f6f4ee 0%, #d8d4c4 100%);
  border-radius: 0 2px 2px 0;
  transform: rotateY(90deg);
  transform-origin: left center;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.site .book-back {
  position: absolute;
  inset: 0;
  background: #091a3d;
  transform: translateZ(-12px);
  border-radius: 2px 8px 8px 2px;
}

/* --- Free guide / lead magnet ----------------------------------- */
.site .guide .card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: center;
  box-shadow: 0 1px 0 rgba(15,42,92,.04);
}
.site.is-mobile .guide .card { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
.site .guide .pdf {
  position: relative;
  aspect-ratio: 3 / 4;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow:
    0 1px 0 rgba(0,0,0,.04),
    0 24px 40px -20px rgba(15,42,92,.25);
  padding: 28px 24px 20px;
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 12px;
  overflow: hidden;
  transform: rotate(-2deg);
}
.site .guide .pdf::before {
  content:"";
  position: absolute;
  top: 0; right: 0;
  width: 32px; height: 32px;
  background:
    linear-gradient(225deg, transparent 50%, var(--mist) 50%);
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.site .guide .pdf .pdf-eyebrow {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sky);
  font-weight: 700;
}
.site .guide .pdf .pdf-title {
  font-size: 22px;
  line-height: 1.1;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.015em;
}
.site .guide .pdf .pdf-body {
  display: grid;
  gap: 8px;
  align-content: start;
  margin-top: 6px;
}
.site .guide .pdf .pdf-line {
  height: 7px;
  background: var(--mist);
  border-radius: 2px;
}
.site .guide .pdf .pdf-line.short { width: 70%; }
.site .guide .pdf .pdf-line.tiny { width: 40%; height: 5px; background: var(--line); }
.site .guide .pdf .pdf-foot {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.site .guide .copy { display: grid; gap: 18px; }
.site .guide .form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 8px;
}
.site.is-mobile .guide .form { grid-template-columns: 1fr; }
.site .guide .form input {
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
}
.site .guide .form input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(63,180,229,.3);
}
.site .guide .privacy {
  font-size: 13px;
  color: var(--slate);
}

/* --- Webinars / Events ------------------------------------------ */
.site .events .heading { margin-bottom: 40px; display: grid; gap: 16px; }
.site .events .heading .row {
  display: flex; justify-content: space-between; align-items: end; gap: 32px;
}
.site.is-mobile .events .heading .row { flex-direction: column; align-items: flex-start; }
.site .event-list { display: grid; gap: 16px; }
.site .event {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 32px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: 8px;
  padding: 24px 28px;
  transition: border-left-color .12s, transform .12s, box-shadow .12s;
}
.site.is-mobile .event {
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 20px;
}
.site .event:hover {
  border-left-color: var(--sky);
  box-shadow: 0 8px 24px -12px rgba(15,42,92,.18);
}
.site .event .date {
  display: grid;
  text-align: left;
}
.site .event .date .d {
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.site .event .date .m {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 700;
  margin-top: 6px;
}
.site .event .info { display: grid; gap: 6px; }
.site .event .info h3 { font-size: 18px; line-height: 1.3; }
.site .event .info .when {
  font-size: 14px;
  color: var(--slate);
  display: flex; gap: 14px; flex-wrap: wrap;
}
.site .event .info .when b { color: var(--ink); font-weight: 600; }
.site .event .info .pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  color: var(--navy);
  font-weight: 600;
  width: fit-content;
  margin-bottom: 2px;
}
.site .event .info .pill::before {
  content:"";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
}

/* --- Testimonials ----------------------------------------------- */
.site .praise .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.site.is-mobile .praise .grid { grid-template-columns: 1fr; gap: 16px; }
.site .quote {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  display: grid;
  gap: 20px;
  position: relative;
}
.site .quote .mark {
  font-family: 'Inter', serif;
  font-size: 56px;
  line-height: 0.5;
  color: var(--sky);
  font-weight: 700;
  height: 16px;
}
.site .quote p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
}
.site .quote .who {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.site .quote .avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(135deg,
      rgba(15,42,92,.08) 0 6px,
      rgba(15,42,92,.02) 6px 12px),
    var(--mist);
  border: 1px solid var(--line);
  flex-shrink: 0;
}
.site .quote .who .name {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.site .quote .who .role {
  font-size: 13px;
  color: var(--slate);
}
.site .quote .li {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: #0A66C2;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  border-radius: 3px;
  font-family: 'Inter', sans-serif;
}

/* --- Contact ----------------------------------------------------- */
.site .contact .grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 72px;
  align-items: start;
}
.site.is-mobile .contact .grid { grid-template-columns: 1fr; gap: 32px; }
.site .contact .info { display: grid; gap: 22px; align-content: start; }
.site .contact .info .item {
  display: grid; gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.site .contact .info .item:last-child { border-bottom: 0; }
.site .contact .info .label { color: var(--slate); }
.site .contact .info .value {
  font-size: 18px;
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
}

.site .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 36px;
}
.site.is-mobile .form-grid {
  grid-template-columns: 1fr;
  padding: 24px;
  gap: 14px;
}
.site .field { display: grid; gap: 6px; }
.site .field.span-2 { grid-column: 1 / -1; }
.site .field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
.site .field label .req { color: var(--red); margin-left: 2px; }
.site .field .hint { font-size: 12px; color: var(--slate); }
.site .field input,
.site .field textarea,
.site .field select {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 2px solid var(--line);
  border-radius: 4px;
  font: inherit;
  font-size: 16px;
  background: #fff;
  color: var(--ink);
}
.site .field textarea {
  height: auto;
  min-height: 140px;
  padding: 14px 16px;
  resize: vertical;
  font-family: inherit;
  line-height: 1.5;
}
.site .field input:focus,
.site .field textarea:focus,
.site .field select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(63,180,229,.3);
}
.site .checkbox {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}
.site .checkbox input {
  width: 20px; height: 20px;
  margin: 1px 0 0;
  accent-color: var(--navy);
  flex-shrink: 0;
}
.site .submit-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.site.is-mobile .submit-row { flex-direction: column-reverse; align-items: stretch; }
.site .submit-row .small { margin: 0; }
.site .submit-row .btn { width: auto; }
.site.is-mobile .submit-row .btn { width: 100%; }

/* --- Footer ----------------------------------------------------- */
.site footer {
  background: var(--navy);
  color: #fff;
  padding: 64px 0 32px;
}
.site footer .grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.site.is-mobile footer .grid { grid-template-columns: 1fr; gap: 32px; }
.site footer .brand-block { display: grid; gap: 16px; max-width: 320px; }
.site footer .brand-block img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}
.site footer .brand-block p { font-size: 14px; color: rgba(255,255,255,.75); }
.site footer h4 {
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: none;
  font-weight: 700;
  color: rgba(255,255,255,.6);
  margin: 0 0 16px;
}
.site footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site footer ul a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
}
.site footer ul a:hover { color: var(--sky); }
.site footer .bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px;
  gap: 24px;
  flex-wrap: wrap;
}
.site footer .bottom .small { color: rgba(255,255,255,.55); }
.site footer .bottom .legal {
  display: flex; gap: 20px;
  font-size: 13px;
}
.site footer .bottom .legal a {
  color: rgba(255,255,255,.75);
  text-decoration: none;
}
.site footer .bottom .legal a:hover { color: #fff; }

/* ============================================================
   Refinements — added in v2 design pass
   ============================================================ */

/* --- Topbar: nav-style text link replaces ghost button ---------- */
.site .nav-text-link {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: color .12s, border-color .12s;
  white-space: nowrap;
}
.site .nav-text-link:hover { color: var(--navy); border-bottom-color: var(--sky); }
.site .nav-text-link span { transition: transform .12s; display: inline-block; margin-left: 2px; color: var(--sky); }
.site .nav-text-link:hover span { transform: translateX(3px); }
.site.is-mobile .nav-text-link { display: none; }

/* --- Hero asymmetric right column ------------------------------ */
.site .hero-aside {
  position: relative;
  display: grid;
  gap: 16px;
  align-self: start;
  margin-top: 24px;
}
.site.is-mobile .hero-aside { margin-right: 0; margin-top: 0; }

.site .hero-aside .video-card {
  aspect-ratio: 16 / 10;
}

.site .hero-aside-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  font-style: italic;
  max-width: 280px;
  margin-left: auto;
  text-align: right;
  padding-right: 6px;
  opacity: 0.85;
}
.site .hero-aside-mark {
  font-style: normal;
  color: var(--sky);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
  font-weight: 700;
}
.site.is-mobile .hero-aside-note {
  margin-left: 0;
  text-align: left;
  padding-right: 0;
}

/* --- About: structured fact list (replaces credential chips) --- */
.site .about .fact-list {
  margin: 6px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: 56ch;
}
.site .about .fact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.site .about .fact-row:last-child {
  border-bottom: 1px solid var(--line);
}
.site .about .fact-row dt {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--slate);
  line-height: 1.4;
}
.site .about .fact-row dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 400;
  text-wrap: pretty;
}
.site .about .fact-row .fact-note {
  color: var(--slate);
  font-style: italic;
  font-weight: 400;
}
.site .about .fact-row .fact-sep {
  color: var(--slate-2);
  margin: 0 4px;
}
.site.is-mobile .about .fact-row {
  padding: 12px 0;
}
.site.is-mobile .about .fact-row dd { font-size: 15px; }

/* Legacy credentials chips: hide (kept selector for safety) */
.site .about .credentials { display: none; }

/* --- Services: first-person header note (legacy: now anchor) --- */
.site .services .heading .first-person { display: none; }

/* --- Services: big background numeral (removed) ---------------- */
.site .service { position: relative; }
.site .service .num-big { display: none; }

/* --- Services: featured card variant --------------------------- */
.site .service-featured {
  border-color: var(--navy);
  background: #fff;
}
.site .service .num .most-requested {
  display: inline-block;
  margin-left: 8px;
  background: var(--navy);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  vertical-align: middle;
}

/* --- Services: hand-annotated stat block ----------------------- */
.site .service-stat {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 10px 14px;
  align-items: center;
  margin-top: 8px;
  padding: 14px 16px;
  background: #fff;
  border: 1px dashed var(--sky);
  border-radius: 6px;
  transform: rotate(-0.6deg);
  position: relative;
}
.site .service-stat::before {
  content: "";
  position: absolute;
  left: -6px; top: -6px;
  width: 14px; height: 14px;
  background: var(--sky);
  border-radius: 50%;
  opacity: 0.18;
}
.site .service-stat .ss-arrow {
  font-size: 22px;
  color: var(--sky);
  font-weight: 700;
  line-height: 1;
}
.site .service-stat .ss-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1;
  font-family: 'Inter', sans-serif;
}
.site .service-stat .ss-label {
  font-size: 12px;
  line-height: 1.3;
  color: var(--slate);
  letter-spacing: 0.02em;
}

/* Make card 01 visually taller via extra row of content */
.site .service-grid { align-items: stretch; }

/* --- Book: single CTA + typographic note ----------------------- */
.site .book .book-ctas {
  display: grid;
  gap: 14px;
  margin-top: 8px;
  justify-items: start;
}
.site .book .book-cta { padding: 0 32px; }
.site .book .book-cta-note {
  font-size: 14px;
  color: rgba(255,255,255,.7);
  font-style: italic;
  margin: 0;
}
.site .book .book-cta-note a {
  color: var(--sky);
  text-decoration: none;
  border-bottom: 1px solid rgba(63,180,229,.4);
  padding-bottom: 1px;
  font-style: italic;
  transition: border-color .12s;
}
.site .book .book-cta-note a:hover { border-bottom-color: var(--sky); }

/* --- Book: meta annotation ------------------------------------- */
.site .book .meta-list .meta-aside {
  display: block;
  font-size: 12px;
  font-style: italic;
  color: rgba(255,255,255,.55);
  font-weight: 400;
  margin-top: 2px;
  letter-spacing: 0.01em;
}

/* --- Guide: document mockup with visible content --------------- */
.site .guide .pdf .pdf-section {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 8px 0 4px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.site .guide .pdf .pdf-section:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}
.site .guide .pdf .pdf-numeral {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  font-weight: 600;
  color: var(--sky);
  letter-spacing: 0.08em;
}
.site .guide .pdf .pdf-section-head {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.005em;
}

/* --- Events: pill row + filling-fast variant ------------------- */
.site .event .event-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.site .event .event-pills .pill { margin-bottom: 0; }
.site .event .pill-hot {
  background: rgba(216,51,42,.08);
  border-color: rgba(216,51,42,.25);
  color: var(--red);
}
.site .event .pill-hot::before {
  background: var(--red);
  animation: hot-pulse 2s ease-in-out infinite;
}
@keyframes hot-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.3); opacity: 0.7; }
}

/* --- Testimonials: variable heights + org tag ------------------ */
.site .praise .grid {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.site.is-mobile .praise .grid { grid-template-columns: 1fr; }

.site .quote {
  height: 100%;
  padding: 28px 28px 24px;
  gap: 18px;
  align-content: start;
  grid-template-rows: auto auto 1fr auto;
}
.site .quote blockquote {
  margin: 0;
}
.site .quote blockquote p {
  font-style: normal;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  text-wrap: pretty;
}
.site .quote .mark {
  font-family: 'Inter', Georgia, serif;
  font-size: 64px;
  line-height: 0.4;
  height: 22px;
  color: var(--sky);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.site .quote .used-tag {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sky);
  padding: 0 0 14px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site .quote .who {
  margin-top: auto;
}

.site .quote .who .role .org {
  color: var(--ink);
  font-weight: 600;
}

/* --- Contact: open textarea promoted to first ------------------ */
.site .contact .form-grid .field:first-child textarea {
  min-height: 180px;
}

/* --- Footer: personal closing note + larger logo --------------- */
.site footer .footer-logo {
  height: 120px;
  width: auto;
  display: block;
  margin-bottom: 4px;
  /* Knockout to white on the navy footer — transparent PNG keeps the
     surround clean, the filter just flips the inked pixels to white. */
  filter: brightness(0) invert(1);
}
.site.is-mobile footer .footer-logo { height: 88px; }

.site footer .footer-personal {
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,.92);
  line-height: 1.45;
  margin-top: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.12);
  position: relative;
}
.site footer .footer-personal .fp-rule {
  display: inline-block;
  width: 32px; height: 2px;
  background: var(--sky);
  position: absolute;
  top: -1px; left: 0;
}

/* ============================================================
   v3 — review-pass additions
   ============================================================ */

/* --- Hero: worked-with strip beneath CTA ---------------------- */
.site .hero .worked-with {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.site .hero .worked-with .ww-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  font-weight: 700;
}
.site .hero .worked-with .ww-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  align-items: center;
}
.site .hero .worked-with .ww-list li {
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.005em;
  padding: 0 14px 0 0;
  margin-right: 14px;
  border-right: 1px solid var(--line);
  line-height: 1.2;
}
.site .hero .worked-with .ww-list li:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
  color: var(--slate);
  font-weight: 500;
  font-style: italic;
}
.site.is-mobile .hero .worked-with .ww-list li {
  font-size: 13px;
  padding-right: 10px;
  margin-right: 10px;
}

/* --- About: portrait placeholder w/ schematic face ------------ */
.site .about .photo {
  background:
    radial-gradient(circle at 50% 38%, rgba(15,42,92,.18) 0%, rgba(15,42,92,.06) 22%, rgba(15,42,92,0) 32%),
    repeating-linear-gradient(135deg,
      rgba(15,42,92,.05) 0 12px,
      rgba(15,42,92,.02) 12px 24px),
    var(--mist);
  align-content: end;
}
.site .about .photo .photo-mark {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  display: flex;
  justify-content: space-between;
}
.site .about .photo .photo-eye {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.35;
}

/* --- About: text link to full story --------------------------- */
.site .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border-bottom: 1px solid var(--sky);
  padding-bottom: 2px;
  width: fit-content;
  margin-top: 6px;
  transition: gap .12s, color .12s;
}
.site .text-link span { color: var(--sky); transition: transform .12s; display: inline-block; }
.site .text-link:hover { color: var(--navy-hover); }
.site .text-link:hover span { transform: translateX(3px); }

/* --- Book: price chip + lede ---------------------------------- */
.site .book-stage { height: 540px; }
.site.is-mobile .book-stage { height: 380px; }
.site .book-3d {
  width: 320px;
  height: 440px;
}
.site.is-mobile .book-3d { width: 220px; height: 300px; }

@keyframes bookFloat {
  0%, 100% { transform: rotateY(-22deg) rotateX(6deg) translateY(0); }
  50%      { transform: rotateY(-19deg) rotateX(4deg) translateY(-10px); }
}

.site .book-lede {
  color: rgba(255,255,255,.88);
  font-size: 21px;
  line-height: 1.45;
  text-wrap: pretty;
  max-width: 46ch;
}
.site.is-mobile .book-lede { font-size: 17px; }

.site .book-price {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  background: rgba(63,180,229,.12);
  border: 1px solid rgba(63,180,229,.32);
  border-radius: 8px;
  width: fit-content;
  margin-top: 4px;
}
.site .book-price .bp-amount {
  font-size: 30px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1;
}
.site .book-price .bp-divider {
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,.2);
}
.site .book-price .bp-formats {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}

/* --- Book: subtitle under title ------------------------------- */
.site .book .book-subtitle {
  font-family: 'Inter', system-ui, sans-serif;
  font-style: italic;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.3;
  color: rgba(255,255,255,.7);
  margin: -10px 0 0;
  max-width: 46ch;
}
.site.is-mobile .book .book-subtitle { font-size: 17px; }

/* --- Book: format pricing list -------------------------------- */
.site .book .format-list {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.site.is-mobile .book .format-list { grid-template-columns: 1fr; }

.site .book .format {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 16px 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  min-height: 104px;
}
.site .book .format.format-feat {
  background: rgba(135,201,247,.08);
  border-color: rgba(135,201,247,.45);
}

.site .book .format .fmt-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.site .book .format .fmt-name {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(255,255,255,.75);
}
.site .book .format.format-feat .fmt-name { color: var(--sky); }
.site .book .format .fmt-flag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  padding: 3px 7px;
  border: 1px solid rgba(135,201,247,.5);
  border-radius: 999px;
  white-space: nowrap;
}
.site .book .format .fmt-price {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  line-height: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site .book .format .fmt-sub {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,.6);
  line-height: 1.2;
}

/* --- Book: right column wrapper (stage + next-book) ---------- */
.site .book .book-right {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  justify-content: center;
  gap: 8px;
}
.site .book .book-right .next-book {
  margin-top: 0;
}

/* --- Book: ASIN as monospace ---------------------------------- */
.site .book .mono-asin {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #fff;
  font-weight: 500;
}

/* --- Events: trust line under heading ------------------------- */
.site .events .events-trust {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--slate);
  margin: 4px 0 0;
}
.site .events .events-trust b { color: var(--ink); font-weight: 700; }
.site .events .events-trust .et-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(43,168,74,.15);
  flex-shrink: 0;
}

/* --- Contact: privacy line ------------------------------------ */
.site .privacy-line {
  margin-top: -4px;
  padding-top: 4px;
  border-top: 1px solid var(--line);
}
.site .privacy-line .small {
  font-size: 13px;
  color: var(--slate);
}
.site .privacy-line .small .lock {
  color: var(--green);
  font-weight: 700;
  margin-right: 4px;
}
.site .privacy-line .req { color: var(--red); }

/* Make required-field markers more visible site-wide */
.site .field .req {
  display: inline-block;
  color: #fff;
  background: var(--red);
  font-size: 11px;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: 2px;
  font-weight: 700;
}

/* --- Footer: social icons ------------------------------------- */
.site footer .bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}
.site.is-mobile footer .bottom {
  grid-template-columns: 1fr;
  justify-items: start;
  text-align: left;
}
.site footer .bottom .legal { justify-self: end; }
.site.is-mobile footer .bottom .legal { justify-self: start; }

.site footer .social {
  display: flex;
  gap: 8px;
  justify-self: center;
}
.site.is-mobile footer .social { justify-self: start; }
.site footer .social-link {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.1);
  transition: background-color .12s, color .12s, border-color .12s;
}
.site footer .social-link:hover {
  background: var(--sky);
  color: var(--navy);
  border-color: var(--sky);
}
.site footer .social-link:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
}

/* ============================================================
   v4 — hero layout + real portrait + next-book pre-order
   ============================================================ */

/* --- Hero: worked-with promoted to full-width credibility band --- */
.site .worked-with-band {
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 32px;
}
.site .worked-with-band .ww-label {
  flex-shrink: 0;
}
.site .worked-with-band .ww-list {
  flex: 1 1 auto;
  justify-content: flex-start;
  gap: 0;
}
.site.is-mobile .worked-with-band { margin-top: 32px; padding-top: 20px; gap: 12px 16px; }

/* When the band lives outside .copy, the existing .hero .worked-with rules
   targeted at .copy still apply — keep its inner list/labels but neutralise
   the grid styling. */
.site .hero .worked-with-band { margin-top: 56px; }

/* --- Hero: square video card (1:1 default) --- */
.site .hero-aside { margin-top: 0; }
.site .video-card { aspect-ratio: var(--video-ar, 1 / 1); }
.site .video-card .play { width: 96px; height: 96px; }

/* --- About: real portrait (clean studio shot, no overlays) --- */
.site .about .photo-real {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: var(--mist);
  border: 1px solid var(--line);
  padding: 0;
  display: block;
}
.site .about .photo-real::before { content: none; }
.site .about .photo-real::after { content: none; }
.site .about .photo-real img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 22%;
  display: block;
  filter: none;
  -webkit-mask-image: none;
          mask-image: none;
}

/* --- Book: cover slot for a real image --- */
.site .book-cover.book-cover-img {
  padding: 0;
  display: block;
  overflow: hidden;
}
.site .book-cover.book-cover-img image-slot {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 0;
}

/* --- Book section: next-up pre-order strip --- */
.site .next-book {
  margin-top: 28px;
  padding: 18px 20px;
  border-radius: 10px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.14);
  border-left: 3px solid var(--sky);
  display: grid;
  gap: 12px;
  position: relative;
}
.site .next-book .nb-flag {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--sky);
  font-weight: 700;
}
.site .next-book .nb-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
}
.site.is-mobile .next-book .nb-row {
  grid-template-columns: auto 1fr;
}
.site.is-mobile .next-book .nb-cta { grid-column: 1 / -1; }

/* Tiny spine — visually echoes the main cover, hints "same series" */
.site .next-book .nb-spine {
  width: 14px;
  height: 64px;
  border-radius: 1px 3px 3px 1px;
  background: linear-gradient(140deg, #163a78 0%, #0F2A5C 55%, #091a3d 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    2px 4px 10px rgba(0,0,0,.35);
  position: relative;
  flex-shrink: 0;
}
.site .next-book .nb-spine::before {
  content: "";
  position: absolute;
  left: 2px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(90deg, rgba(0,0,0,.4), rgba(0,0,0,0));
}
.site .next-book .nb-spine::after {
  content: "";
  position: absolute;
  top: 8px; left: 3px; right: 3px;
  height: 2px;
  background: linear-gradient(90deg,
    var(--orange) 0%, var(--yellow) 22%, var(--green) 42%,
    var(--blue) 62%, var(--indigo) 80%, var(--red) 100%);
  border-radius: 999px;
  opacity: .9;
}
.site .next-book .nb-cover {
  width: 64px;
  height: 94px;
  object-fit: cover;
  border-radius: 2px 4px 4px 2px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    2px 4px 12px rgba(0,0,0,.4);
  flex-shrink: 0;
  display: block;
}
.site .next-book .nb-meta { min-width: 0; }
.site .next-book .nb-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.site .next-book .nb-sub {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin-top: 2px;
  line-height: 1.3;
}
.site .next-book .nb-cta {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

/* ============================================================
   Story modal — opens when "Read Stephen's full story" clicked
   ============================================================ */

/* Hidden source content: stays in DOM (SEO + a11y), invisible */
.story-source[hidden] { display: none !important; }

/* Overlay fills viewport, dims page, centres dialog */
.story-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 42, 92, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  padding: 4vh 4vw;
  animation: storyOverlayFadeIn 180ms ease-out;
}
@keyframes storyOverlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Dialog: max-width readable column, scrollable if long */
.story-modal {
  width: min(720px, 100%);
  max-height: 90vh;
  background: #FAFBFC;
  color: #0F2A5C;
  border-radius: 12px;
  box-shadow: 0 32px 80px -20px rgba(0,0,0,0.45);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  animation: storyDialogIn 220ms cubic-bezier(.2,.7,.2,1);
  font-family: 'Inter', system-ui, sans-serif;
}
@keyframes storyDialogIn {
  from { opacity: 0; transform: translateY(8px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

/* Header: title + close button, sticky so close always visible */
.story-modal .sm-head {
  position: relative;
  padding: 22px 64px 18px 28px;
  border-bottom: 1px solid #E2E7EE;
  background: #fff;
}
.story-modal .sm-eyebrow {
  margin: 0 0 4px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B7280;
  font-weight: 600;
}
.story-modal .sm-title {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: #0F2A5C;
}

/* Close button — large hit target, top right */
.story-modal .sm-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #E2E7EE;
  background: #fff;
  color: #0F2A5C;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .12s, border-color .12s;
}
.story-modal .sm-close:hover { background: #EEF2F7; }
.story-modal .sm-close:focus-visible {
  outline: 2px solid #3FB4E5;
  outline-offset: 2px;
}

/* Scrollable body for long stories */
.story-modal .sm-body {
  overflow-y: auto;
  padding: 24px 28px 32px;
  -webkit-overflow-scrolling: touch;
}
.story-modal .sm-body:focus { outline: none; }

/* Story typography — editorial, generous line-height */
.story-modal .sm-body .story-lede {
  font-size: 19px;
  line-height: 1.5;
  color: #0F2A5C;
  margin: 0 0 8px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.story-modal .sm-body h3 {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6B7280;
  margin: 28px 0 8px;
  font-weight: 700;
}
.story-modal .sm-body p {
  font-size: 16px;
  line-height: 1.65;
  color: #1F2937;
  margin: 0 0 14px;
  text-wrap: pretty;
}
.story-modal .sm-body p i { color: #0F2A5C; }
.story-modal .sm-body a {
  color: #0F2A5C;
  text-decoration: underline;
  text-decoration-color: #3FB4E5;
  text-underline-offset: 3px;
}
.story-modal .sm-body .story-signoff {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #E2E7EE;
  font-style: italic;
  color: #374151;
}

/* In-story figure */
.story-modal .sm-body .story-figure {
  margin: 22px 0 24px;
}
.story-modal .sm-body .story-figure-img {
  aspect-ratio: 16 / 9;
  background:
    repeating-linear-gradient(135deg,
      rgba(15,42,92,0.06) 0 10px,
      rgba(15,42,92,0.03) 10px 20px),
    #EEF2F7;
  border: 1px solid #E2E7EE;
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #6B7280;
  font-size: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  letter-spacing: 0.06em;
}
.story-modal .sm-body .story-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.4;
  color: #6B7280;
  font-style: italic;
}

/* Mobile: fill more of the screen, edge-to-edge feel */
@media (max-width: 640px) {
  .story-modal-overlay { padding: 0; }
  .story-modal {
    max-height: 100vh;
    height: 100vh;
    width: 100%;
    border-radius: 0;
  }
  .story-modal .sm-head { padding: 18px 60px 14px 20px; }
  .story-modal .sm-title { font-size: 20px; }
  .story-modal .sm-body { padding: 18px 20px 28px; }
  .story-modal .sm-body .story-lede { font-size: 17px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .story-modal-overlay,
  .story-modal { animation: none; }
}

/* ============================================================
   WCAG 2.2 AA + neurodiversity audit fixes
   ============================================================ */

/* --- G1: Colour contrast -------------------------------------- */

/* (1) Hero "Plain talk about autism." — deep teal for ≥4.5:1 on off-white */
.site .hero .postscript .light { color: #006b6b; }

/* (2) Credential fact-block labels — darken to ≥4.5:1 on white */
.site .about .fact-row dt { color: #374151; }

/* (3) Testimonial eyebrow labels — darken (sentence-case in JSX) */
.site .quote .used-tag { color: var(--navy); }

/* (4) "Most requested" badge — already navy/white (≥14:1); enforce darkest navy */
.site .service .num .most-requested { background: #0A1F47; }

/* (5) Footer — bump mid-grey text and links to ≥4.5:1 on navy */
.site footer .brand-block p   { color: rgba(255, 255, 255, 0.92); }
.site footer .footer-personal { color: rgba(255, 255, 255, 0.96); }
.site footer .bottom .small   { color: rgba(255, 255, 255, 0.88); }
.site footer .bottom .legal a { color: rgba(255, 255, 255, 0.92); }
.site footer ul a             { color: rgba(255, 255, 255, 0.96); }

/* --- G2: Focus indicators ------------------------------------- */
/* Global visible focus ring on every interactive element.
   Wins over component-level overrides via !important. */
.site a:focus-visible,
.site button:focus-visible,
.site input:focus-visible,
.site select:focus-visible,
.site textarea:focus-visible,
.site summary:focus-visible,
.site [tabindex]:focus-visible,
.story-modal a:focus-visible,
.story-modal button:focus-visible {
  outline: 3px solid #1e2e4a !important;
  outline-offset: 3px !important;
  border-radius: 4px;
}

/* --- G6: Typography & readability (dyslexia) ------------------ */

/* (23) Strip italic from body emphasis + decorative italic spans.
   Replace with weight 600 so emphasis remains visible. */
.site .hero .postscript .light,
.site .hero h1 .light,
.site .services .services-anchor,
.site footer .footer-personal,
.site .about .fact-row .fact-note,
.site .signature em,
.site p i, .site p em,
.site .body i, .site .body em {
  font-style: normal;
}
.site p i, .site p em,
.site .body i, .site .body em,
.site .hero .postscript .light,
.site .services .services-anchor {
  font-weight: 600;
}

/* (24,25) Site-wide readable body settings */
.site p,
.site .body,
.site li,
.site dd,
.site label,
.site .form input,
.site .form-grid input,
.site .form-grid textarea,
.site .form-grid select {
  line-height: 1.6;
  letter-spacing: 0.02em;
  word-spacing: 0.1em;
}
/* Don't punish headings or tight UI text with relaxed spacing */
.site h1, .site h2, .site h3, .site h4,
.site .display, .site .section-title,
.site .eyebrow, .site .pill, .site .num,
.site .btn, .site .fmt-name, .site .fmt-flag,
.site footer h4 {
  letter-spacing: revert;
  word-spacing: normal;
}

/* (26,27) Bump small label sizes to ≥14px for dyslexia/AA */
.site .about .fact-row dt { font-size: 14px; }
.site .quote .used-tag    { font-size: 14px; letter-spacing: 0.04em; text-transform: none; color: var(--navy); }
.site .service .num       { font-size: 14px; }

/* --- G7: Skip link — visually hidden until focused, then banner */
.site .skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.site .skip:focus,
.site .skip:focus-visible {
  position: absolute;
  left: 8px;
  top: 8px;
  width: auto;
  height: auto;
  clip: auto;
  clip-path: none;
  white-space: normal;
  z-index: 1000;
  background: #0F2A5C;
  color: #fff;
  padding: 12px 18px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  outline: 3px solid #3FB4E5 !important;
  outline-offset: 2px !important;
}

/* --- G7: Scroll-spy active nav item --------------------------- */
.site .nav a[aria-current="true"],
.site .nav a.is-active {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--sky);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

/* --- G8: Progressive disclosure inside service cards ---------- */
.site .service-details {
  margin: 4px 0 0;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.site .service-details > summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  min-height: 44px;
}
.site .service-details > summary::-webkit-details-marker { display: none; }
.site .service-details > summary::after {
  content: "↓";
  transition: transform .15s ease;
  display: inline-block;
}
.site .service-details[open] > summary::after {
  transform: rotate(180deg);
}
.site .service-details > .sd-content {
  margin-top: 10px;
  display: grid;
  gap: 10px;
}
/* Smaller version of the stat when inside an open card */
.site .service .service-stat.is-compact {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.site .service .service-stat.is-compact .ss-num { font-size: 24px; }
.site .service .service-stat.is-compact .ss-label { font-size: 11px; }

/* --- G9: Webinar — relative-date pill + add-to-calendar btn --- */
.site .event .info .rel-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-right: 8px;
}
.site .event .actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
.site .event .add-to-cal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 10px 14px;
  min-height: 44px;
  border-radius: 8px;
  background: transparent;
  border: 1px solid var(--line);
}
.site .event .add-to-cal:hover { background: var(--mist); }

/* --- G5: Forms ------------------------------------------------ */

/* (22) 44px minimum touch targets on every form control */
.site .field input,
.site .field select,
.site .field textarea,
.site .guide .form input,
.site .guide .form button,
.site .form-grid button,
.site .field .checkbox input[type="checkbox"] {
  min-height: 44px;
}
.site .field .checkbox input[type="checkbox"] {
  min-width: 22px;
  min-height: 22px;
}
.site .field .checkbox {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* "(required)" word marker replaces colour-only red square */
.site .field .req-word {
  font-size: 13px;
  font-weight: 600;
  color: #8B0F1A;
  margin-left: 6px;
  font-style: normal;
}

/* Privacy + required notice ABOVE the form */
.site .form-grid .form-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink);
  background: #F4F7FB;
  border: 1px solid #DCE3EE;
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 8px;
}
.site .form-grid .form-notice .fn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--navy);
  margin-top: 1px;
}
.site .form-grid .form-notice b { color: var(--navy); }

/* Inline error message (hidden by default, shown via .is-invalid) */
.site .field .field-error {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #8B0F1A;
}
.site .field.is-invalid .field-error { display: inline-flex; }
.site .field .field-error::before {
  content: "⚠";
  font-size: 14px;
  line-height: 1;
}

/* Guide email — visible label */
.site .guide .form .visible-label {
  display: block;
  grid-column: 1 / -1;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 6px;
}

/* --- G10: Reduced motion (global) ----------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}


/* --- AA: Nav dropdown (Services) -------------------------------- */
/* Brand-matched dropdown. Works in both the home page hand-coded nav
   and the Elementor header. */
.aa-nav-dropdown,
[data-id="151a42f"] {
  position: relative;
  display: inline-flex;
  align-items: center;
}
#primary-nav .aa-nav-dropdown-toggle,
button.aa-nav-dropdown-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 6px 2px !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--ink) !important;
  line-height: inherit !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer;
  transition: color .12s, border-color .12s;
  min-height: 0 !important;
  height: auto !important;
  width: auto !important;
}
#primary-nav .aa-nav-dropdown-toggle:focus,
button.aa-nav-dropdown-toggle:focus { outline: none !important; box-shadow: none !important; }
#primary-nav .aa-nav-dropdown-toggle:focus-visible,
button.aa-nav-dropdown-toggle:focus-visible { outline: 2px solid var(--sky) !important; outline-offset: 4px; }
#primary-nav .aa-nav-dropdown:hover .aa-nav-dropdown-toggle,
#primary-nav .aa-nav-dropdown:focus-within .aa-nav-dropdown-toggle,
button.aa-nav-dropdown-toggle:hover,
button.aa-nav-dropdown-toggle:focus {
  background: transparent !important;
  background-color: transparent !important;
  color: var(--navy) !important;
  border-color: transparent transparent var(--sky) transparent !important;
}
.aa-nav-dropdown-toggle::after,
[data-id="151a42f"] > [data-id="c8afcd6"]::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: .6;
  transition: transform .15s ease, opacity .15s ease;
}
.aa-nav-dropdown:hover .aa-nav-dropdown-toggle::after,
[data-id="151a42f"]:hover > [data-id="c8afcd6"]::after {
  opacity: 1;
  transform: translateY(0) rotate(225deg);
}
.aa-nav-dropdown-menu,
[data-id="aa-services-menu"] {
  position: absolute;
  top: calc(100% + 6px);
  left: -12px;
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15,42,92,0.10), 0 2px 6px rgba(15,42,92,0.04);
  padding: 8px;
  display: none;
  flex-direction: column;
  z-index: 50;
  /* invisible bridge to keep hover stable */
}
.aa-nav-dropdown::before {
  content: "";
  position: absolute;
  inset: 100% 0 -6px 0;
  height: 12px;
  pointer-events: none;
}
.aa-nav-dropdown:hover::before { pointer-events: auto; }
.aa-nav-dropdown:hover > .aa-nav-dropdown-menu,
.aa-nav-dropdown:focus-within > .aa-nav-dropdown-menu,
[data-id="151a42f"]:hover > [data-id="aa-services-menu"],
[data-id="151a42f"]:focus-within > [data-id="aa-services-menu"] {
  display: flex;
}
.aa-nav-dropdown-menu > a,
[data-id="aa-services-menu"] > a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  border-radius: 6px;
  border-bottom: 0;
  transition: background-color .12s, color .12s;
}
.aa-nav-dropdown-menu > a:hover,
.aa-nav-dropdown-menu > a:focus-visible,
[data-id="aa-services-menu"] > a:hover,
[data-id="aa-services-menu"] > a:focus-visible {
  background: var(--mist);
  color: var(--navy);
  outline: none;
  border-bottom-color: transparent;
}
[data-id="aa-services-menu"] > a p {
  margin: 0;
  font-weight: 500;
  font-size: 15px;
  color: inherit;
  line-height: 1.2;
}
/* Cancel the global .nav a underline-on-hover for the dropdown toggle row */
#primary-nav .aa-nav-dropdown .aa-nav-dropdown-menu a { border-bottom: 0; }
#primary-nav .aa-nav-dropdown .aa-nav-dropdown-menu a:hover { border-bottom: 0; }

@media (max-width: 880px) {
  .aa-nav-dropdown-menu,
  [data-id="151a42f"] > [data-id="aa-services-menu"] {
    position: static;
    box-shadow: none;
    border: none;
    padding: 4px 0 4px 16px;
    min-width: 0;
    background: transparent;
  }
  .aa-nav-dropdown:hover > .aa-nav-dropdown-menu,
  [data-id="151a42f"]:hover > [data-id="aa-services-menu"] { display: flex; }
}

/* --- AA: Blog cards & archive ----------------------------------- */
.aa-post-card,
[data-id="card1"] {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.aa-post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(15,42,92,0.10);
  border-color: #cdd6e3;
}
.aa-post-card .elementor-widget-theme-post-featured-image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.aa-post-card .elementor-widget { margin: 0; }
.aa-post-card .elementor-widget-theme-post-featured-image { margin: 0 0 4px; }
.aa-post-card .aa-post-card-pill { padding: 12px 18px 0; }
.aa-post-card .aa-post-card-pill ul,
.aa-post-card .aa-post-card-pill .elementor-icon-list-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.aa-post-card .aa-post-card-pill a,
.aa-post-card .aa-post-card-pill .elementor-post-info__terms-list-item {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy);
  background: var(--mist);
  padding: 4px 10px;
  border-radius: 999px;
  text-decoration: none;
}
.aa-post-card .aa-post-card-pill a:hover { background: #e3e9f2; }
.aa-post-card .aa-post-card-title { padding: 0 18px; }
.aa-post-card .aa-post-card-title .elementor-heading-title {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.aa-post-card .aa-post-card-title a { color: inherit; text-decoration: none; }
.aa-post-card .aa-post-card-title a:hover { color: var(--navy-hover); text-decoration: underline; text-decoration-color: var(--sky); text-underline-offset: 4px; }
.aa-post-card .aa-post-card-excerpt { padding: 0 18px; }
.aa-post-card .aa-post-card-excerpt p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--slate);
  margin: 0;
}
.aa-post-card .aa-post-card-meta { padding: 0 18px 18px; }
.aa-post-card .aa-post-card-meta .elementor-icon-list-items {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 8px; align-items: center;
  font-size: 13px; color: var(--slate-2);
}
.aa-post-card .aa-post-card-meta .elementor-icon-list-item { margin: 0; }

/* Archive title + eyebrow + grid spacing */
.elementor-widget-theme-archive-title.aa-h1 .elementor-heading-title {
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  color: var(--navy);
  margin: 0;
}
.aa-eyebrow-paper {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sky);
  margin: 0;
}

/* --- AA: Single post ------------------------------------------- */
.aa-h1 .elementor-heading-title,
.aa-h1.elementor-widget-heading .elementor-heading-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--navy);
  font-weight: 800;
}
.aa-h2 .elementor-heading-title { font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--navy); font-weight: 700; }
.aa-h3 .elementor-heading-title { font-size: 1.25rem; color: var(--navy); font-weight: 700; }
.aa-author-block,
[data-id="sgauth"] { background: var(--mist) !important; border-radius: 12px; padding: 24px !important; }
[data-id="sgauth"] .aa-author-avatar img { border-radius: 999px; width: 96px; height: 96px; object-fit: cover; }
.aa-author-avatar img { border-radius: 999px; width: 96px; height: 96px; object-fit: cover; }
.aa-newsletter-slot { font-family: inherit; }


/* --- AA: Brand header overrides (kill Elementor/theme cascade) -- */
body .topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  background: rgba(250,251,252,.92) !important;
  backdrop-filter: blur(10px) !important;
  border-bottom: 1px solid var(--line) !important;
  padding: 12px 0 !important;
  margin: 0 !important;
}
body .topbar .wrap {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  flex-wrap: nowrap !important;
}
body .topbar .brand {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  text-decoration: none !important;
}
body .topbar .brand img {
  height: 52px !important;
  width: auto !important;
  max-width: none !important;
  display: block !important;
}
body .topbar #primary-nav.nav {
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
  margin: 0 0 0 16px !important;
  flex: 1 1 auto !important;
  flex-wrap: nowrap !important;
}
body .topbar #primary-nav.nav a {
  color: var(--ink) !important;
  background: transparent !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  padding: 6px 2px !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  transition: color .12s, border-color .12s !important;
  white-space: nowrap !important;
}
body .topbar #primary-nav.nav a:hover {
  color: var(--navy) !important;
  border-bottom-color: var(--sky) !important;
  background: transparent !important;
}
body .topbar .topbar-cta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 16px !important;
  flex: 0 0 auto !important;
}
body .topbar .topbar-cta .nav-text-link {
  color: var(--ink) !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  white-space: nowrap !important;
  background: transparent !important;
  border: 0 !important;
}
body .topbar .topbar-cta .btn.btn-primary {
  display: inline-flex !important;
  align-items: center !important;
  background: var(--navy) !important;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 10px 18px !important;
  border-radius: 8px !important;
  border: 0 !important;
  white-space: nowrap !important;
  transition: background-color .12s !important;
}
body .topbar .topbar-cta .btn.btn-primary:hover {
  background: var(--navy-hover) !important;
  color: #fff !important;
}
body .topbar .topbar-cta .menu-btn {
  display: none !important;
  background: transparent !important;
  border: 0 !important;
  color: var(--ink) !important;
  padding: 8px !important;
  cursor: pointer !important;
}
@media (max-width: 880px) {
  body .topbar #primary-nav.nav { display: none !important; }
  body .topbar .topbar-cta .nav-text-link { display: none !important; }
  body .topbar .topbar-cta .menu-btn { display: inline-flex !important; }
}
/* Dropdown toggle button — neutralize theme/elementor button styles */
body .topbar #primary-nav.nav .aa-nav-dropdown {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}
body .topbar #primary-nav.nav button.aa-nav-dropdown-toggle {
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ink) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  padding: 6px 2px !important;
  margin: 0 !important;
  cursor: pointer !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  height: auto !important;
  min-height: 0 !important;
  width: auto !important;
  line-height: inherit !important;
}
body .topbar #primary-nav.nav button.aa-nav-dropdown-toggle:hover,
body .topbar #primary-nav.nav .aa-nav-dropdown:hover button.aa-nav-dropdown-toggle,
body .topbar #primary-nav.nav .aa-nav-dropdown:focus-within button.aa-nav-dropdown-toggle {
  background: transparent !important;
  color: var(--navy) !important;
  border-bottom-color: var(--sky) !important;
}
body .topbar #primary-nav.nav button.aa-nav-dropdown-toggle:focus { outline: none !important; box-shadow: none !important; }
body .topbar #primary-nav.nav button.aa-nav-dropdown-toggle:focus-visible {
  outline: 2px solid var(--sky) !important;
  outline-offset: 4px !important;
}
body .topbar #primary-nav.nav .aa-nav-dropdown-menu {
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: -12px !important;
  display: none !important;
  flex-direction: column !important;
  min-width: 220px !important;
  background: #fff !important;
  border: 1px solid var(--line) !important;
  border-radius: 10px !important;
  box-shadow: 0 12px 32px rgba(15,42,92,.10), 0 2px 6px rgba(15,42,92,.04) !important;
  padding: 8px !important;
  z-index: 60 !important;
}
body .topbar #primary-nav.nav .aa-nav-dropdown:hover .aa-nav-dropdown-menu,
body .topbar #primary-nav.nav .aa-nav-dropdown:focus-within .aa-nav-dropdown-menu {
  display: flex !important;
}
body .topbar #primary-nav.nav .aa-nav-dropdown-menu a {
  display: block !important;
  padding: 10px 14px !important;
  border-radius: 6px !important;
  border-bottom: 0 !important;
  color: var(--ink) !important;
  background: transparent !important;
  text-decoration: none !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  white-space: nowrap !important;
}
body .topbar #primary-nav.nav .aa-nav-dropdown-menu a:hover {
  background: var(--mist) !important;
  color: var(--navy) !important;
  border-bottom: 0 !important;
}

/* --- AA: Hide Hello Biz theme chrome on non-home pages --------- */
body:not(.home) #site-header,
body:not(.home) #site-footer,
body:not(.home) .site-branding {
  display: none !important;
}
/* Make sure the brand footer (rendered via wp_footer) is visible & full width */
body:not(.home) > footer[style*="padding: 64px"],
body:not(.home) footer.aa-site-footer {
  display: block !important;
}

/* --- AA: Editorial blog cards v2 -------------------------------- */
.site .elementor-widget-loop-grid .elementor-loop-container {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}
@media (max-width: 1024px) {
  .site .elementor-widget-loop-grid .elementor-loop-container {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 640px) {
  .site .elementor-widget-loop-grid .elementor-loop-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
}

/* Each post-card occupies a full grid item */
.site .e-loop-item,
.site [data-elementor-type="loop-item"] {
  display: flex !important;
  height: 100% !important;
}

/* Card base */
.site .aa-post-card {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  background: #ffffff !important;
  border: 1px solid var(--line) !important;
  border-radius: 16px !important;
  padding: 24px 26px 26px !important;
  gap: 14px !important;
  position: relative !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease !important;
  overflow: hidden !important;
}
.site .aa-post-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--sky));
  opacity: 0;
  transition: opacity .2s ease;
}
.site .aa-post-card:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 18px 36px rgba(15,42,92,.10), 0 4px 10px rgba(15,42,92,.04) !important;
  border-color: #c8d2e2 !important;
}
.site .aa-post-card:hover::before { opacity: 1; }

/* Featured card spans 2 cols, taller, darker on-brand */
.site .e-loop-item.elementor-grid-item-span-2,
.site .e-loop-item:first-child .aa-post-card-featured {
  grid-column: span 2;
}
.site .aa-post-card.aa-post-card-featured {
  background: linear-gradient(135deg, #ffffff 0%, #F4F7FB 100%) !important;
  border: 1px solid var(--line) !important;
  padding: 36px 40px 40px !important;
  gap: 18px !important;
  min-height: 320px !important;
  justify-content: center !important;
}
.site .aa-post-card.aa-post-card-featured::before {
  opacity: 1;
  height: 4px;
  background: var(--navy);
}
@media (max-width: 1024px) {
  .site .e-loop-item.elementor-grid-item-span-2 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .site .e-loop-item.elementor-grid-item-span-2 { grid-column: span 1; }
  .site .aa-post-card.aa-post-card-featured { padding: 28px 24px !important; min-height: 0 !important; }
}

/* Featured tag eyebrow */
.site .aa-post-card .aa-post-card-featured-tag,
.site .aa-post-card .elementor-widget-text-editor:has(.aa-featured-tag) {
  margin: 0 !important;
}
.site .aa-post-card .aa-featured-tag {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: var(--navy) !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}
.site .aa-post-card .aa-featured-tag::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--sky);
}

/* Category pill */
.site .aa-post-card .aa-post-card-pill { margin: 0 !important; padding: 0 !important; }
.site .aa-post-card .aa-post-card-pill ul,
.site .aa-post-card .aa-post-card-pill .elementor-icon-list-items {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
.site .aa-post-card .aa-post-card-pill li,
.site .aa-post-card .aa-post-card-pill .elementor-icon-list-item {
  margin: 0 !important;
  padding: 0 !important;
}
.site .aa-post-card .aa-post-card-pill a,
.site .aa-post-card .aa-post-card-pill span.elementor-post-info__terms-list-item {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--navy) !important;
  background: var(--mist) !important;
  padding: 5px 10px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  transition: background-color .15s ease !important;
}
.site .aa-post-card .aa-post-card-pill a:hover { background: #e1e8f3 !important; }

/* Title */
.site .aa-post-card .aa-post-card-title { margin: 0 !important; padding: 0 !important; }
.site .aa-post-card .aa-post-card-title .elementor-heading-title {
  font-family: inherit !important;
  font-size: 20px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  margin: 0 !important;
  letter-spacing: -0.01em !important;
}
.site .aa-post-card .aa-post-card-title a {
  color: inherit !important;
  text-decoration: none !important;
  background-image: linear-gradient(var(--sky), var(--sky));
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .25s ease;
  padding-bottom: 1px;
}
.site .aa-post-card:hover .aa-post-card-title a { background-size: 100% 2px; }

/* Featured title bigger */
.site .aa-post-card .aa-post-card-title-featured .elementor-heading-title {
  font-size: clamp(26px, 2.6vw, 34px) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

/* Excerpt */
.site .aa-post-card .aa-post-card-excerpt { margin: 0 !important; padding: 0 !important; }
.site .aa-post-card .aa-post-card-excerpt p,
.site .aa-post-card .aa-post-card-excerpt .elementor-widget-container > * {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: var(--slate) !important;
  margin: 0 !important;
}
.site .aa-post-card .aa-post-card-excerpt-featured p,
.site .aa-post-card .aa-post-card-excerpt-featured .elementor-widget-container > * {
  font-size: 17px !important;
  line-height: 1.55 !important;
  color: var(--ink) !important;
}

/* Meta row, pushed to bottom */
.site .aa-post-card .aa-post-card-meta {
  margin: auto 0 0 !important;
  padding-top: 6px !important;
}
.site .aa-post-card .aa-post-card-meta ul,
.site .aa-post-card .aa-post-card-meta .elementor-icon-list-items {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  align-items: center !important;
}
.site .aa-post-card .aa-post-card-meta li,
.site .aa-post-card .aa-post-card-meta .elementor-icon-list-item {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 13px !important;
  color: var(--slate-2) !important;
  letter-spacing: .01em !important;
}
.site .aa-post-card .aa-post-card-meta .elementor-icon-list-text { color: var(--slate-2) !important; }

/* Archive header refinements */
.site .elementor-widget-theme-archive-title .elementor-heading-title {
  font-family: inherit !important;
  font-size: clamp(36px, 5vw, 56px) !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  color: var(--navy) !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}
.site [data-id="archeyebrow"] p,
.site .elementor-widget-text-editor .aa-eyebrow-paper {
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .18em !important;
  text-transform: uppercase !important;
  color: var(--sky) !important;
  margin: 0 0 4px !important;
}

/* Pagination */
.site .elementor-pagination {
  margin-top: 48px !important;
  display: flex !important;
  justify-content: center !important;
  gap: 6px !important;
}
.site .elementor-pagination .page-numbers {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 36px !important;
  height: 36px !important;
  padding: 0 10px !important;
  border-radius: 6px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ink) !important;
  background: transparent !important;
  text-decoration: none !important;
  transition: background-color .15s ease, color .15s ease !important;
}
.site .elementor-pagination .page-numbers:hover { background: var(--mist) !important; color: var(--navy) !important; }
.site .elementor-pagination .page-numbers.current { background: var(--navy) !important; color: #fff !important; }

/* --- AA: Editorial cards v2 fixes ------------------------------- */
/* Hide the literal ", " text node Elementor inserts between term links
   while keeping each term pill visible. */
.site .aa-post-card-pill .elementor-post-info__terms-list {
  font-size: 0 !important;
  line-height: 0 !important;
  display: inline-flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
.site .aa-post-card-pill .elementor-post-info__terms-list-item {
  font-size: 11px !important;
  line-height: 1 !important;
}

/* Read CTA */
.site .aa-post-card .aa-post-card-cta { margin: 4px 0 0 !important; padding: 0 !important; }
.site .aa-post-card .aa-post-card-cta .elementor-heading-title {
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .02em !important;
  color: var(--navy) !important;
  margin: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  line-height: 1 !important;
}
.site .aa-post-card .aa-post-card-cta .elementor-heading-title a {
  color: var(--navy) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 14px !important;
  border: 1.5px solid var(--navy) !important;
  border-radius: 999px !important;
  background: transparent !important;
  transition: background-color .15s ease, color .15s ease, transform .15s ease !important;
  white-space: nowrap !important;
}
.site .aa-post-card .aa-post-card-cta .elementor-heading-title a:hover {
  background: var(--navy) !important;
  color: #ffffff !important;
}
.site .aa-post-card:hover .aa-post-card-cta .elementor-heading-title a {
  background: var(--navy) !important;
  color: #ffffff !important;
}
/* Featured CTA: solid filled, larger */
.site .aa-post-card-featured .aa-post-card-cta-featured .elementor-heading-title a {
  background: var(--navy) !important;
  color: #ffffff !important;
  padding: 12px 22px !important;
  font-size: 15px !important;
  border-color: var(--navy) !important;
}
.site .aa-post-card-featured .aa-post-card-cta-featured .elementor-heading-title a:hover {
  background: var(--navy-hover) !important;
  border-color: var(--navy-hover) !important;
  color: #ffffff !important;
}

/* --- AA: Blog body text colour (darker for legibility) ---------- */
/* Card excerpts (index + featured) */
.site .aa-post-card .aa-post-card-excerpt p,
.site .aa-post-card .aa-post-card-excerpt .elementor-widget-container,
.site .aa-post-card .aa-post-card-excerpt .elementor-widget-container > * {
  color: var(--ink) !important;
}
/* Single post body */
.site .elementor-widget-theme-post-content,
.site .elementor-widget-theme-post-content p,
.site .elementor-widget-theme-post-content li,
.site .aa-post-body p,
.site .aa-post-body li {
  color: var(--ink) !important;
}
/* Author block bio in single template */
.site [data-id="sgauth"] p,
.site [data-id="sgatxt"] p {
  color: var(--ink) !important;
}

/* --- AA: Single post paragraph spacing -------------------------- */
.site .elementor-widget-theme-post-content .elementor-widget-container > * + *,
.site .elementor-widget-theme-post-content p + p,
.site .elementor-widget-theme-post-content p,
.site .elementor-widget-theme-post-content ul,
.site .elementor-widget-theme-post-content ol,
.site .elementor-widget-theme-post-content h2,
.site .elementor-widget-theme-post-content h3,
.site .elementor-widget-theme-post-content h4,
.site .elementor-widget-theme-post-content blockquote {
  margin-bottom: 1.4em !important;
}
.site .elementor-widget-theme-post-content p { line-height: 1.7 !important; font-size: 17px !important; }
.site .elementor-widget-theme-post-content h2 { font-size: clamp(22px, 2.4vw, 28px) !important; line-height: 1.25 !important; color: var(--navy) !important; font-weight: 700 !important; margin-top: 1.8em !important; margin-bottom: .6em !important; }
.site .elementor-widget-theme-post-content h3 { font-size: clamp(19px, 2vw, 22px) !important; line-height: 1.3 !important; color: var(--navy) !important; font-weight: 700 !important; margin-top: 1.6em !important; margin-bottom: .5em !important; }
.site .elementor-widget-theme-post-content ul,
.site .elementor-widget-theme-post-content ol { padding-left: 1.4em !important; }
.site .elementor-widget-theme-post-content li { margin-bottom: .5em !important; line-height: 1.65 !important; font-size: 17px !important; }
.site .elementor-widget-theme-post-content blockquote {
  border-left: 3px solid var(--sky) !important;
  padding: .25em 1.25em !important;
  margin-left: 0 !important;
  font-style: italic !important;
  color: var(--navy) !important;
}
.site .elementor-widget-theme-post-content > .elementor-widget-container { max-width: 680px !important; }

/* --- AA: Featured card image (brand SVG placeholder) ------------ */
.site .aa-post-card-featured {
  flex-direction: row !important;
  align-items: stretch !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.site .aa-post-card-featured > .elementor-widget-html.aa-post-card-image-wrap {
  flex: 0 0 42% !important;
  align-self: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
}
.site .aa-post-card-featured .aa-post-card-image-wrap .elementor-widget-container { height: 100% !important; }
.site .aa-post-card-featured .aa-featured-image {
  width: 100% !important;
  height: 100% !important;
  min-height: 320px !important;
  background:
    radial-gradient(circle at 20% 20%, rgba(63,180,229,.55) 0%, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(15,42,92,.55) 0%, transparent 55%),
    linear-gradient(135deg, #0F2A5C 0%, #1F6FB8 55%, #3FB4E5 100%) !important;
  position: relative !important;
}
.site .aa-post-card-featured .aa-featured-image::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px) !important;
  mix-blend-mode: overlay !important;
}
/* Stack content area inside featured */
.site .aa-post-card-featured > .elementor-element:not(.aa-post-card-image-wrap) {
  /* siblings of image become the content column */
}
.site .aa-post-card-featured {
  display: flex !important;
  flex-wrap: nowrap !important;
}
/* Group all non-image children into a content column via a wrapper trick:
   since we can't easily wrap mid-tree, use grid-template instead */
.site .aa-post-card-featured {
  display: grid !important;
  grid-template-columns: 42% 1fr !important;
  grid-template-rows: auto !important;
  align-items: stretch !important;
}
.site .aa-post-card-featured > .aa-post-card-image-wrap {
  grid-row: 1 / -1 !important;
  grid-column: 1 !important;
}
.site .aa-post-card-featured > *:not(.aa-post-card-image-wrap) {
  grid-column: 2 !important;
  margin: 0 !important;
  padding-left: 36px !important;
  padding-right: 36px !important;
}
.site .aa-post-card-featured > *:not(.aa-post-card-image-wrap):first-of-type { padding-top: 36px !important; }
.site .aa-post-card-featured > .aa-post-card-meta { padding-bottom: 36px !important; margin-top: auto !important; }

@media (max-width: 880px) {
  .site .aa-post-card-featured {
    grid-template-columns: 1fr !important;
  }
  .site .aa-post-card-featured > .aa-post-card-image-wrap {
    grid-row: 1 !important;
    grid-column: 1 !important;
  }
  .site .aa-post-card-featured .aa-featured-image { min-height: 180px !important; }
  .site .aa-post-card-featured > *:not(.aa-post-card-image-wrap) {
    grid-column: 1 !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* --- AA: Author + newsletter fixes ------------------------------ */
/* Author name Stephen Simpson - navy */
.site [data-id="sganm"] .elementor-heading-title,
.site [data-id="sgauth"] h3,
.site .aa-author-block h3 {
  color: var(--navy) !important;
  font-weight: 800 !important;
}
/* Newsletter block - inline styles set navy text; force white on the dark slot */
.site .aa-newsletter-slot,
.site .aa-newsletter-slot * {
  color: #ffffff !important;
}
.site .aa-newsletter-slot .aa-eyebrow {
  color: var(--sky) !important;
  opacity: 1 !important;
}
.site .aa-newsletter-slot h3 {
  color: #ffffff !important;
  font-weight: 700 !important;
}
.site .aa-newsletter-slot p {
  color: rgba(255,255,255,.88) !important;
}
.site .aa-newsletter-slot p:last-child {
  color: rgba(255,255,255,.55) !important;
  font-size: 13px !important;
}

/* --- AA: Related posts breakout + 2 cols ----------------------- */
/* Allow the related posts row to break out of the 760px article column */
.site [data-id="sgrelh"],
.site [data-id="sgrel"] {
  width: calc(min(100vw - 48px, 1100px)) !important;
  max-width: 1100px !important;
  margin-left: 50% !important;
  transform: translateX(-50%) !important;
}
.site [data-id="sgrel"] .elementor-loop-container {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 24px !important;
}
@media (max-width: 640px) {
  .site [data-id="sgrel"] .elementor-loop-container {
    grid-template-columns: 1fr !important;
  }
  .site [data-id="sgrelh"],
  .site [data-id="sgrel"] {
    width: calc(100vw - 32px) !important;
  }
}

/* --- AA: Single post header polish ----------------------------- */
/* Category pill works even outside .aa-post-card (single template) */
.site .aa-post-card-pill .elementor-post-info__terms-list {
  font-size: 0 !important;
  line-height: 0 !important;
  display: inline-flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
.site .aa-post-card-pill ul.elementor-icon-list-items,
.site .aa-post-card-pill .elementor-inline-items {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}
.site .aa-post-card-pill .elementor-post-info__terms-list-item,
.site .aa-post-card-pill a.elementor-post-info__terms-list-item {
  display: inline-block !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .12em !important;
  text-transform: uppercase !important;
  color: var(--navy) !important;
  background: var(--mist) !important;
  padding: 5px 10px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: background-color .15s ease !important;
}
.site .aa-post-card-pill .elementor-post-info__terms-list-item:hover {
  background: #e1e8f3 !important;
}

/* Single post H1 + meta refinements */
.site [data-id="sghead"] {
  margin-bottom: 32px !important;
  gap: 16px !important;
}
.site [data-id="sgttl"] .elementor-heading-title {
  font-size: clamp(34px, 5vw, 52px) !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  color: var(--navy) !important;
  margin: 0 !important;
}
.site [data-id="sgmeta"] ul,
.site [data-id="sgmeta"] .elementor-inline-items {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.site [data-id="sgmeta"] li,
.site [data-id="sgmeta"] .elementor-icon-list-item {
  font-size: 14px !important;
  color: var(--slate) !important;
  margin: 0 !important;
}
.site [data-id="sgmeta"] .elementor-icon-list-text { color: var(--slate) !important; font-size: 14px !important; }

/* Featured image area on single (if present) */
.site [data-id="sgimg"] img {
  border-radius: 14px !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 12px 0 32px !important;
}

/* Author block polish */
.site [data-id="sgauth"] {
  background: var(--mist) !important;
  border-radius: 14px !important;
  padding: 28px !important;
  margin: 48px 0 !important;
  border: 1px solid var(--line) !important;
}
.site [data-id="sgaeb"] p,
.site [data-id="sgauth"] .aa-eyebrow-paper {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: var(--sky) !important;
  margin: 0 !important;
}
.site [data-id="sgaimg"] img {
  border-radius: 999px !important;
  width: 96px !important;
  height: 96px !important;
  object-fit: cover !important;
  border: 3px solid #ffffff !important;
  box-shadow: 0 4px 12px rgba(15,42,92,.08) !important;
}

/* Share row spacing */
.site [data-id="sgshr"] {
  margin-top: 32px !important;
  padding-top: 24px !important;
  border-top: 1px solid var(--line) !important;
  align-items: center !important;
}
.site [data-id="sgshrl"] .elementor-heading-title {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: .16em !important;
  text-transform: uppercase !important;
  color: var(--sky) !important;
  margin: 0 !important;
}

/* Related posts heading */
.site [data-id="sgrelh"] .elementor-heading-title {
  font-size: clamp(22px, 2.5vw, 28px) !important;
  font-weight: 800 !important;
  color: var(--navy) !important;
  margin: 0 0 20px !important;
  letter-spacing: -0.01em !important;
}

/* --- AA: Featured card v3 (clean image left, content right) ---- */
.site .aa-post-card-featured {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden !important;
  /* Reset grid rules from older blocks */
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}
.site .aa-post-card-featured > .aa-post-card-image-wrap {
  flex: 0 0 44% !important;
  align-self: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  grid-column: auto !important;
  grid-row: auto !important;
}
.site .aa-post-card-featured > .aa-post-card-image-wrap .elementor-widget-container {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 360px !important;
}
.site .aa-post-card-featured .aa-featured-image {
  flex: 1 1 auto !important;
  width: 100% !important;
  min-height: 360px !important;
  background:
    radial-gradient(circle at 22% 25%, rgba(63,180,229,.55) 0%, transparent 50%),
    radial-gradient(circle at 78% 75%, rgba(15,42,92,.65) 0%, transparent 55%),
    linear-gradient(135deg, #0F2A5C 0%, #1F6FB8 50%, #3FB4E5 100%) !important;
  position: relative !important;
}
.site .aa-post-card-featured .aa-featured-image::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 16px) !important;
  mix-blend-mode: overlay !important;
}
.site .aa-post-card-featured > .aa-post-card-featured-content,
.site .aa-post-card-featured > .elementor-element.aa-post-card-featured-content {
  flex: 1 1 56% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 14px !important;
  padding: 40px 44px !important;
  margin: 0 !important;
  grid-column: auto !important;
}
@media (max-width: 880px) {
  .site .aa-post-card-featured { flex-direction: column !important; }
  .site .aa-post-card-featured > .aa-post-card-image-wrap { flex: 0 0 auto !important; }
  .site .aa-post-card-featured .aa-featured-image { min-height: 200px !important; }
  .site .aa-post-card-featured > .aa-post-card-image-wrap .elementor-widget-container { min-height: 200px !important; }
  .site .aa-post-card-featured > .aa-post-card-featured-content { padding: 28px 24px !important; }
}

/* --- AA: Featured card v4 (horizontal image on top) ------------ */
.site .aa-post-card-featured {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
}
.site .aa-post-card-featured > .aa-post-card-image-wrap {
  flex: 0 0 auto !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}
.site .aa-post-card-featured > .aa-post-card-image-wrap .elementor-widget-container {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
}
.site .aa-post-card-featured .aa-featured-image {
  display: block !important;
  width: 100% !important;
  height: 260px !important;
  min-height: 0 !important;
  background:
    radial-gradient(circle at 18% 30%, rgba(63,180,229,.55) 0%, transparent 50%),
    radial-gradient(circle at 82% 70%, rgba(15,42,92,.65) 0%, transparent 55%),
    linear-gradient(135deg, #0F2A5C 0%, #1F6FB8 50%, #3FB4E5 100%) !important;
  position: relative !important;
}
.site .aa-post-card-featured .aa-featured-image::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 16px) !important;
  mix-blend-mode: overlay !important;
}
.site .aa-post-card-featured > .aa-post-card-featured-content,
.site .aa-post-card-featured > .elementor-element.aa-post-card-featured-content {
  flex: 1 1 auto !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  gap: 14px !important;
  padding: 36px 40px 36px !important;
  margin: 0 !important;
  grid-column: auto !important;
}
@media (max-width: 880px) {
  .site .aa-post-card-featured .aa-featured-image { height: 180px !important; }
  .site .aa-post-card-featured > .aa-post-card-featured-content { padding: 24px !important; }
}

/* --- AA: Featured card v5 (image flush, tighter spacing) ------- */
.site .aa-post-card-featured {
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
}
/* Kill any margin on the image widget wrapper itself */
.site .aa-post-card-featured > .aa-post-card-image-wrap,
.site .aa-post-card-featured > .elementor-element.aa-post-card-image-wrap {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  display: block !important;
}
.site .aa-post-card-featured > .aa-post-card-image-wrap > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  display: block !important;
  line-height: 0 !important;
}
.site .aa-post-card-featured .aa-featured-image {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 240px !important;
  border-radius: 0 !important;
}
/* The navy bar should sit on top of the image, not above an empty strip */
.site .aa-post-card-featured::before {
  z-index: 2 !important;
  height: 4px !important;
}
/* Tighter top padding so first text sits closer to the image */
.site .aa-post-card-featured > .aa-post-card-featured-content,
.site .aa-post-card-featured > .elementor-element.aa-post-card-featured-content {
  padding: 22px 36px 32px !important;
  gap: 12px !important;
}

/* --- AA: Featured banner v6 (full-width, image left) ----------- */
/* Featured card spans all 3 columns at the top of the grid */
.site .e-loop-item:has(> .aa-post-card-featured),
.site .e-loop-item.elementor-grid-item-span-3 {
  grid-column: 1 / -1 !important;
}
/* Standard cards do NOT stretch to fill row */
.site .elementor-widget-loop-grid .elementor-loop-container {
  align-items: start !important;
}

/* Featured banner layout: image LEFT (40%), content RIGHT (60%) */
.site .aa-post-card-featured {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  padding: 0 !important;
  gap: 0 !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  grid-template-columns: none !important;
  grid-template-rows: none !important;
  width: 100% !important;
}
.site .aa-post-card-featured > .aa-post-card-image-wrap,
.site .aa-post-card-featured > .elementor-element.aa-post-card-image-wrap {
  flex: 0 0 40% !important;
  width: 40% !important;
  align-self: stretch !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
}
.site .aa-post-card-featured > .aa-post-card-image-wrap > .elementor-widget-container {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  display: flex !important;
  line-height: 0 !important;
}
.site .aa-post-card-featured .aa-featured-image {
  flex: 1 1 auto !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 280px !important;
  border-radius: 0 !important;
  background:
    radial-gradient(circle at 22% 28%, rgba(63,180,229,.55) 0%, transparent 50%),
    radial-gradient(circle at 78% 72%, rgba(15,42,92,.65) 0%, transparent 55%),
    linear-gradient(135deg, #0F2A5C 0%, #1F6FB8 50%, #3FB4E5 100%) !important;
  position: relative !important;
}
.site .aa-post-card-featured > .aa-post-card-featured-content,
.site .aa-post-card-featured > .elementor-element.aa-post-card-featured-content {
  flex: 1 1 60% !important;
  width: 60% !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  gap: 14px !important;
  padding: 36px 44px !important;
  margin: 0 !important;
  grid-column: auto !important;
}
@media (max-width: 880px) {
  .site .aa-post-card-featured { flex-direction: column !important; }
  .site .aa-post-card-featured > .aa-post-card-image-wrap { flex: 0 0 auto !important; width: 100% !important; }
  .site .aa-post-card-featured .aa-featured-image { min-height: 200px !important; height: 200px !important; }
  .site .aa-post-card-featured > .aa-post-card-featured-content { width: 100% !important; padding: 28px 24px !important; }
}

/* --- AA: Featured banner mobile fix v7 ------------------------- */
@media (max-width: 880px) {
  .site .aa-post-card-featured {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .site .aa-post-card-featured > .aa-post-card-image-wrap,
  .site .aa-post-card-featured > .elementor-element.aa-post-card-image-wrap {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    align-self: auto !important;
  }
  .site .aa-post-card-featured > .aa-post-card-image-wrap > .elementor-widget-container {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    display: block !important;
    line-height: 0 !important;
  }
  .site .aa-post-card-featured .aa-featured-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 200px !important;
    min-height: 200px !important;
    flex: 0 0 auto !important;
    border-radius: 0 !important;
  }
  .site .aa-post-card-featured > .aa-post-card-featured-content,
  .site .aa-post-card-featured > .elementor-element.aa-post-card-featured-content {
    flex: 0 0 auto !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 24px 22px 28px !important;
  }
  /* Mobile blog grid: single column, generous spacing */
  .site .elementor-widget-loop-grid .elementor-loop-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  /* Tighter featured title on mobile */
  .site .aa-post-card .aa-post-card-title-featured .elementor-heading-title {
    font-size: clamp(22px, 6vw, 28px) !important;
  }
}
@media (max-width: 480px) {
  .site .aa-post-card-featured .aa-featured-image { height: 160px !important; min-height: 160px !important; }
  .site .aa-post-card-featured > .aa-post-card-featured-content { padding: 20px 18px 24px !important; }
}

/* --- AA: Mobile polish v8 -------------------------------------- */
@media (max-width: 880px) {
  /* Force hamburger visible on mobile, with proper sizing */
  html body.site .topbar .topbar-cta .menu-btn,
  html body.site .topbar .topbar-cta button.menu-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: 1px solid var(--line) !important;
    border-radius: 8px !important;
    padding: 8px 10px !important;
    color: var(--ink) !important;
    cursor: pointer !important;
    width: 40px !important;
    height: 40px !important;
    min-height: 0 !important;
  }
  html body.site .topbar .topbar-cta .menu-btn svg { display: block !important; }

  /* Tighten the topbar on mobile */
  body.site .topbar { padding: 8px 0 !important; }
  body.site .topbar .wrap { padding: 0 16px !important; gap: 8px !important; }
  body.site .topbar .brand img { height: 40px !important; }
  body.site .topbar .topbar-cta { gap: 8px !important; }
  body.site .topbar .topbar-cta .btn.btn-primary { padding: 8px 14px !important; font-size: 14px !important; }

  /* Kill any large top spacing on the page wrapper / theme chrome */
  body.site:not(.home) main,
  body.site:not(.home) #content,
  body.site:not(.home) .site-main,
  body.site:not(.home) .ehp-default-main,
  body.site:not(.home) #page,
  body.site:not(.home) .elementor-location-archive,
  body.site:not(.home) .elementor-location-single {
    padding-top: 0 !important;
    margin-top: 0 !important;
  }
  /* Archive wrap padding on mobile */
  body.site [data-id="archwrap"] {
    padding: 16px 16px 64px !important;
  }
  body.site [data-id="sgwrap"] {
    padding: 24px 16px 48px !important;
  }
  /* Loop grid mobile spacing */
  body.site .elementor-widget-loop-grid .elementor-loop-container {
    gap: 16px !important;
  }
}

/* --- AA: Kill top gap above archive v9 ------------------------- */
/* Strip every layer of top padding/margin between the topbar and the first card */
body.site:not(.home) .elementor-location-archive,
body.site:not(.home) .elementor-location-archive > .elementor,
body.site:not(.home) [data-elementor-type="archive"],
body.site:not(.home) [data-id="archwrap"],
body.site:not(.home) [data-id="archwrap"] > .e-con-inner,
body.site:not(.home) [data-id="archwrap"] > .elementor-container,
body.site:not(.home) main,
body.site:not(.home) #content,
body.site:not(.home) .site-main,
body.site:not(.home) .ehp-default-main,
body.site:not(.home) #page,
body.site:not(.home) .hfeed,
body.site:not(.home) .ast-container,
body.site:not(.home) .entry-content,
body.site:not(.home) article {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* Mobile: kill any side+top padding too on the outer wrappers */
@media (max-width: 880px) {
  body.site:not(.home) [data-id="archwrap"] {
    padding: 0 12px 48px !important;
  }
  body.site:not(.home) [data-id="archwrap"] > .e-con-inner {
    padding: 0 !important;
  }
}

/* --- AA: 20px top breathing room v10 --------------------------- */
body.site:not(.home) [data-id="archwrap"] {
  padding-top: 20px !important;
}
@media (max-width: 880px) {
  body.site:not(.home) [data-id="archwrap"] {
    padding: 20px 12px 48px !important;
  }
}
/* Book praise — reviews of Autistic Verse (non-italic per brief) */
.site .book-praise blockquote p { font-style: normal; }

/* Hide Hello Biz default header/footer — branded header (.topbar) + footer injected by plugin */
.site-header, .site-footer { display: none !important; }

/* === Native homepage mobile stacking (scoped to .aa-pixel-perfect) === */
@media (max-width: 860px){
  .aa-pixel-perfect .e-con-inner { flex-direction: column !important; }
  .aa-pixel-perfect .e-con > .e-con-inner > .e-con { width: 100% !important; max-width: 100% !important; }
  .aa-pixel-perfect .e-con.e-grid > .e-con-inner { grid-template-columns: 1fr !important; }
  .aa-pixel-perfect .aa-event { grid-template-columns: 1fr !important; gap: 16px !important; }
  .aa-pixel-perfect .aa-event-actions { flex-direction: column !important; align-items: stretch !important; width: 100% !important; }
  .aa-pixel-perfect .aa-btn, .aa-pixel-perfect .aa-cal-link { width: 100% !important; }
  .aa-pixel-perfect .topbar .nav { display: none !important; }
  .aa-pixel-perfect img, .aa-pixel-perfect .video-card { max-width: 100% !important; height: auto !important; }
}

/* Native mobile: force all Elementor grid containers to single column */
@media (max-width: 860px){
  .aa-pixel-perfect .e-con { grid-template-columns: 1fr !important; }
  .aa-pixel-perfect .e-con > .e-con-inner { grid-template-columns: 1fr !important; }
  .aa-pixel-perfect [class*='elementor-element'] { max-width: 100% !important; }
}

/* Native mobile menu toggle */
@media (max-width: 860px){
  .aa-pixel-perfect .menu-btn { display: inline-flex !important; }
  .aa-pixel-perfect .topbar { position: relative; }
  .aa-pixel-perfect.nav-open #primary-nav.nav { display:flex !important; flex-direction:column; align-items:flex-start; position:absolute; top:100%; left:0; right:0; background:#fff; padding:18px 24px; gap:16px; border-bottom:1px solid var(--line); box-shadow:0 10px 30px rgba(0,0,0,.10); z-index:60; }
}

/* Hero eyebrow: slightly larger */
.site .hero .eyebrow { font-size: 18px; }


/* Service modal — spacing around 'Who it is for' pills + stat (added 2026-06-06) */
.aa-doc .aa-doc-for{margin-top:12px;gap:10px;}
.aa-doc .aa-doc-stat{margin-top:26px;padding-top:18px;border-top:1px solid #e9eef5;}


/* Book section — tablet stack (768–1024px): 2-col grid squeezed the 3D book → overflow/clip. Stack + smaller book. (added 2026-06-06) */
@media (min-width:768px) and (max-width:1024px){
  .site .book .grid, .book .grid{grid-template-columns:1fr;gap:40px;}
  .site .book-stage, .book-stage{height:400px;}
  .site .book-3d, .book-3d{width:240px;height:330px;transform:rotateY(-18deg) rotateX(4deg);}
}


/* Hide unverified 340 stat (service card + training modal) until a real figure is confirmed (2026-06-06) */
.site .service-stat, .service-stat, .aa-doc .aa-doc-stat, .aa-doc-stat{display:none !important;}


/* Hide dead LinkedIn social icons (href=#) until a real profile URL exists (2026-06-06) */
footer .social a[aria-label="LinkedIn"], footer a.social-link[aria-label="LinkedIn"]{display:none !important;}

/* AA glow-behind-book (2026-06-06): move blue glow behind 3D book, never clipped; replaces top-right section glow */
.site .book::before{display:none;}
.site .book-stage{overflow:visible;}
.site .book-stage::before{content:"";position:absolute;top:50%;left:50%;width:560px;height:560px;transform:translate(-50%,-50%);background:radial-gradient(circle at center, rgba(63,180,229,.30) 0%, rgba(63,180,229,0) 70%);z-index:0;pointer-events:none;}
.site .book-floor{z-index:1;}
.site .book-3d{position:relative;z-index:2;}
.site.is-mobile .book-stage::before{width:420px;height:420px;}


/* ============================================================
   AA_SUBPAGE_BRAND_V1 — themed sub-pages (legal & simple content)
   Branded topbar+footer already inject via plugin. Here we:
   hide the theme's duplicate chrome and restore brand prose in
   the classic .page-content area. Scoped to non-home themed pages;
   home + Elementor builds untouched.
   ============================================================ */
html{scroll-padding-top:88px;}
body:not(.home) #site-header.site-header{display:none !important;}
body:not(.home) #site-footer.site-footer{display:none !important;}

body.page:not(.home):not(.elementor-page) main#content{width:100%;max-width:860px;margin:0 auto;padding:64px 32px 88px !important;font-family:'Inter',system-ui,Helvetica,Arial,sans-serif;}
body:not(.home) .page-content{max-width:none;}

body:not(.home) .page-content h1,body:not(.home) .page-content .aa-page-title{display:block;font-size:42px;line-height:1.08;letter-spacing:-0.02em;font-weight:700;color:var(--navy);margin:0 0 28px;padding-bottom:20px;border-bottom:1px solid var(--line);text-wrap:balance;}
body:not(.home) .page-content h2{font-size:26px;line-height:1.2;letter-spacing:-0.01em;font-weight:700;color:var(--navy);margin:40px 0 12px;}
body:not(.home) .page-content h3{font-size:20px;font-weight:700;color:var(--navy);margin:28px 0 8px;}

body:not(.home) .page-content p{font-size:18px;line-height:1.65;color:var(--ink);margin:0 0 18px;text-wrap:pretty;}
body:not(.home) .page-content strong{display:inline;font-size:inherit;color:var(--navy);margin:0;font-weight:700;}
body:not(.home) .page-content a{color:var(--navy);font-size:inherit;font-weight:600;padding:0;text-decoration:underline;text-underline-offset:2px;border-bottom:0;}
body:not(.home) .page-content a:hover{color:var(--navy-hover);border-bottom:0;text-decoration:underline;}

body:not(.home) .page-content ul{list-style:disc;display:block;margin:0 0 20px;padding-left:24px;gap:0;}
body:not(.home) .page-content ol{list-style:decimal;display:block;margin:0 0 20px;padding-left:24px;}
body:not(.home) .page-content li{font-size:18px;line-height:1.6;color:var(--ink);padding-left:6px;margin:0 0 8px;}
body:not(.home) .page-content li::before{content:none !important;}
body:not(.home) .page-content li::marker{color:var(--sky);}

@media (max-width:600px){body.page:not(.home):not(.elementor-page) main#content{padding:40px 20px 56px !important;}body:not(.home) .page-content h1{font-size:32px;}body:not(.home) .page-content h2{font-size:22px;}}


/* AA_NO_ITALICS_V1 — client request 2026-06-07: no italics anywhere */
*, *::before, *::after { font-style: normal !important; }


/* === AA_MOBILE_QA_20260607 === */
@media (min-width: 768px) { .site .topbar .nav { flex: 1 1 auto; justify-content: center; margin-left: 0; } }
.site .ww-label { text-transform: none; letter-spacing: 0.01em; }
.site .nb-flag { font-family: 'Inter', system-ui, -apple-system, sans-serif; letter-spacing: 0.01em; }
.site .contact .info .label { text-transform: none; letter-spacing: 0.01em; }
.site .praise.book-praise { padding: 96px 0 0; }
.site.is-mobile .praise.book-praise { padding: 40px 0 56px; }
/* === /AA_MOBILE_QA_20260607 === */

/* AA_MOBILE_QA_FIX2 */
.site .hero .worked-with .ww-label { text-transform: none; letter-spacing: 0.02em; }
.site .next-book .nb-flag { font-family: 'Inter', system-ui, -apple-system, sans-serif; letter-spacing: 0.01em; }
