/**
 * About Us — premium “alive” layout (glass, bento, alternating bands)
 */

body.page-inner {
  --about-serif: 'Plus Jakarta Sans', system-ui, sans-serif;
  --about-radius: 24px;
  --about-radius-sm: 16px;
  --about-cream: #f7f5f0;
  --about-glass: rgba(255, 255, 255, 0.78);
}

body.page-inner .section-heading,
body.page-inner .page-hero-premium__title {
  font-family: var(--about-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
}
body.page-inner .about-block-title,
body.page-inner .about-client-item__title {
  font-family: var(--font);
}

/* Wider page — less empty space on left/right (matches header on About Us) */
body.page-inner {
  --about-page-width: min(var(--mmco-container, 1440px), calc(100% - 2 * var(--mmco-gutter, 2rem)));
  --about-page-pad: var(--mmco-gutter, 2rem);
}

body.page-inner .site-header .header-inner.container,
body.page-inner .container {
  width: 100%;
  max-width: var(--mmco-container, 1440px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--mmco-gutter, 2rem);
  padding-right: var(--mmco-gutter, 2rem);
  box-sizing: border-box;
}

/* Body uses full container width — no extra narrow column */
body.page-inner .about-content-wrap,
body.page-inner .about-wide-wrap {
  max-width: none;
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

body.page-inner .about-intro-copy.about-content-wrap {
  max-width: none;
}

/* Ambient glow blobs per section */
.about-section-glow {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  z-index: 0;
}
.about-section-glow--right {
  width: 420px;
  height: 420px;
  top: -80px;
  right: -120px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.35), transparent 70%);
}
.about-section-glow--left {
  width: 380px;
  height: 380px;
  bottom: -60px;
  left: -100px;
  background: radial-gradient(circle, rgba(27, 29, 34, 0.12), transparent 70%);
}
.about-section-glow--center {
  width: 500px;
  height: 300px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(212, 160, 23, 0.2), transparent 65%);
}

body.page-inner .section {
  position: relative;
  overflow: hidden;
}

.about-glass-panel {
  background: var(--about-glass);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--about-radius);
  padding: 1.75rem 2rem;
  box-shadow:
    0 4px 24px rgba(27, 29, 34, 0.06),
    0 24px 48px rgba(27, 29, 34, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* ——— Hero (light SFPI-style inner page) ——— */
body.page-inner.has-inner-hero {
  background:
    radial-gradient(ellipse 90% 55% at 88% 8%, rgba(212, 160, 23, 0.12), transparent 50%),
    radial-gradient(ellipse 70% 45% at 12% 0%, rgba(27, 29, 34, 0.04), transparent 45%),
    #f8f9fb;
}

.about-page-hero {
  position: relative;
  padding: clamp(2rem, 4vw, 2.75rem) 0 clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.about-page-hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, #f8fafc 0%, #eef2f7 55%, #f5f3ef 100%);
  z-index: 0;
}
.about-page-hero__circle {
  position: absolute;
  top: -20%;
  right: -8%;
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(35, 38, 45, 0.14), rgba(27, 29, 34, 0.06) 55%, transparent 70%);
  pointer-events: none;
}
.about-page-hero__inner {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
}
.about-page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}
.about-page-hero__crumb {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(27, 29, 34, 0.04);
}
.about-page-hero__category {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(27, 29, 34, 0.05);
}
.about-page-hero__category-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-muted);
}
.about-page-hero__title {
  font-family: var(--font);
  font-size: clamp(2rem, 4.8vw, 3.15rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.85rem;
}
.about-page-hero__accent {
  width: min(280px, 45%);
  height: 5px;
  border-radius: 999px;
  margin-bottom: 1.15rem;
  background: linear-gradient(90deg, var(--navy-light) 0%, var(--gold) 55%, var(--gold-light) 100%);
}
.about-page-hero__sub {
  margin: 0 0 1.5rem;
  max-width: 40rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-muted);
  font-weight: 500;
}
.about-page-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.page-hero-premium .page-hero-badges,
.about-doc-hero .page-hero-badges {
  margin-top: 1.25rem;
}
.about-page-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(27, 29, 34, 0.07);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.about-page-hero__badge:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 160, 23, 0.4);
  box-shadow: 0 8px 22px rgba(27, 29, 34, 0.1);
}
.about-page-hero__badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.65rem;
  height: 1.65rem;
  border-radius: 50%;
  background: rgba(27, 29, 34, 0.06);
  color: var(--navy-light);
  flex-shrink: 0;
}
.about-page-hero__badge-icon svg {
  display: block;
}

/* ——— Intro (cream + bento stats) ——— */
.about-intro-section {
  background: var(--about-cream);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 4rem);
}
.about-intro-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr minmax(260px, 320px);
  gap: 1.5rem;
  align-items: stretch;
}
.about-intro-copy p {
  margin: 0 0 1.15rem;
  color: var(--text);
  line-height: 1.8;
  font-size: 1.03rem;
}
.about-intro-copy p:last-child {
  margin-bottom: 0;
}
.about-intro-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  align-content: start;
}
.about-stat-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--about-radius-sm);
  box-shadow: 0 8px 28px rgba(27, 29, 34, 0.07);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}
.about-stat-card:hover {
  border-color: rgba(212, 160, 23, 0.45);
  box-shadow: 0 16px 40px rgba(27, 29, 34, 0.12);
  transform: translateY(-5px) scale(1.02);
}
.about-stat-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-muted), rgba(27, 29, 34, 0.05));
  color: var(--gold);
}
.about-stat-card strong {
  font-size: 1.05rem;
  color: var(--navy);
  font-family: var(--about-serif);
}
.about-stat-card span {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.about-accred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.about-accred-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 14px rgba(27, 29, 34, 0.2);
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.about-accred-pill:hover {
  transform: translateY(-2px);
  background: var(--navy-light);
  box-shadow: 0 8px 20px rgba(27, 29, 34, 0.25);
}

/*  Offices (white band, side title + cards)  */
.about-offices-section {
  background: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.about-offices-layout {
  display: grid;
  grid-template-columns: minmax(9rem, 11rem) 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}
.about-offices-side {
  text-align: left;
  padding-top: 0.35rem;
}
.about-offices-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}
body.page-inner .about-offices-side .section-heading {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.2;
}
body.page-inner .about-offices-side .section-heading::after {
  display: none;
}
.about-offices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
  position: relative;
  z-index: 1;
}
.about-office-card {
  position: relative;
  padding: 1.75rem 1.85rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--about-radius);
  box-shadow: 0 12px 40px rgba(27, 29, 34, 0.08);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.about-office-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--navy-light));
  opacity: 0;
  transition: opacity 0.35s;
}
.about-office-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(27, 29, 34, 0.14);
}
.about-office-card:hover::before {
  opacity: 1;
}
.about-office-card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold-muted), rgba(27, 29, 34, 0.04));
  color: var(--gold);
  margin-bottom: 1rem;
}
.about-office-card h3 {
  font-family: var(--about-serif);
  font-size: 1.2rem;
  color: var(--navy);
}
.about-office-card__tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: var(--gold-muted);
  border-radius: 6px;
}
.about-office-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
}
.about-offices-cta {
  margin: clamp(1.5rem, 3vw, 2rem) 0 0;
  text-align: left;
}
.google-map-embed__frame {
  display: block;
  width: 100%;
  height: clamp(220px, 32vw, 320px);
  border: 0;
}
.google-map-embed--contact {
  border-radius: var(--about-radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
}

/*  Milestones road (infographic-style winding path)  */
body.page-inner .timeline-section--about {
  background: linear-gradient(180deg, #e8eaee 0%, #f4f5f7 42%, #fff 42%, #fff 100%);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0 clamp(2rem, 4vw, 3rem);
  overflow: hidden;
}

/*  About lower sections (Nature ? CTA)  */
.about-lower {
  padding: clamp(2.75rem, 5vw, 3.75rem) 0;
  position: relative;
}
.about-nature-section,
.about-industries-section {
  background: #fff;
}
.about-clients-section {
  background: var(--about-cream);
}
.about-keywords-section {
  background: #f0f2f6;
  padding-bottom: clamp(2rem, 4vw, 2.75rem);
}

body.page-inner .about-block-head {
  text-align: left;
  max-width: 42rem;
  margin: 0 0 1.5rem;
}
body.page-inner .about-block-head .section-heading::after,
body.page-inner .about-block-head .about-block-title::after {
  display: none;
}
body.page-inner .about-block-head--compact {
  margin-bottom: 1.1rem;
}
.about-block-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
  font-family: var(--font);
}
.about-block-title {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.about-block-lead {
  margin: 0.65rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-light);
  font-family: var(--font);
}

.about-prose {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #3d4f63;
  font-weight: 450;
  letter-spacing: 0.01em;
}
.about-prose-panel {
  padding: 1.65rem 1.85rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--about-radius);
  border-left: 4px solid var(--gold);
  box-shadow: 0 10px 36px rgba(27, 29, 34, 0.06);
}
.about-industries-section .about-prose-panel {
  background: linear-gradient(180deg, #fff 0%, var(--about-cream) 100%);
}

/* Client list */
.about-client-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.about-client-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1.15rem;
  align-items: start;
  padding: 1.5rem 1.65rem;
  background: #fff;
  border: 1px solid rgba(27, 29, 34, 0.08);
  border-radius: var(--about-radius);
  box-shadow: 0 8px 28px rgba(27, 29, 34, 0.06);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}
.about-client-item:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 160, 23, 0.35);
  box-shadow: 0 16px 40px rgba(27, 29, 34, 0.1);
}
.about-client-item__num {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--gold);
  padding-top: 0.2rem;
}
.about-client-item__title {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--navy);
}
.about-client-item__sublist {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}
.about-client-item__sublist li {
  margin-bottom: 0.35rem;
  font-family: var(--font);
  font-size: 0.98rem;
  line-height: 1.65;
  color: #4a5d72;
}
.about-client-item__body .about-prose {
  font-size: 1rem;
}

/* Keywords */
.about-keywords-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}
.about-keyword-chip {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  color: #4a5d72;
  padding: 0.45rem 0.85rem;
  background: #fff;
  border: 1px solid rgba(27, 29, 34, 0.1);
  border-radius: 8px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.about-keyword-chip:hover {
  color: var(--navy);
  border-color: rgba(212, 160, 23, 0.45);
  background: var(--gold-muted);
}

/* CTA  charcoal full-bleed (match site theme; override legacy navy) */
body.page-inner .about-cta-section.cta-section,
body.page-inner .cta-section {
  padding: clamp(3rem, 6vw, 4.75rem) 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% -10%, rgba(197, 160, 40, 0.18), transparent 55%),
    linear-gradient(165deg, #1c1e22 0%, #2B2D31 55%, #34383f 100%) !important;
  width: 100%;
  max-width: none;
  margin: 0;
  border-radius: 0;
}
body.page-inner .cta-section .cta-box {
  border-radius: 0 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  overflow: hidden;
}
body.page-inner .cta-section .cta-box h2,
body.page-inner .cta-section .cta-box p,
body.page-inner .cta-section .cta-heading,
body.page-inner .cta-section .cta-text {
  color: #fff !important;
}
body.page-inner .cta-section .btn-primary,
body.page-inner .cta-section .btn-gold {
  background: var(--gold);
  color: #1a1a1a;
  font-weight: 700;
  border: none;
  box-shadow: 0 8px 28px rgba(197, 160, 40, 0.35);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
body.page-inner .cta-section .btn-primary:hover,
body.page-inner .cta-section .btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(197, 160, 40, 0.5);
  background: var(--gold-light);
}

/* Stagger entrance */
body.page-inner .about-stat-card,
body.page-inner .about-office-card,
body.page-inner .about-client-item,
body.page-inner .milestone-node {
  opacity: 0;
  transform: translateY(20px);
}
body.page-inner.is-ready .about-stat-card.visible,
body.page-inner.is-ready .about-office-card.visible,
body.page-inner.is-ready .about-client-item.visible,
body.page-inner.is-ready .milestone-node.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .about-intro-stats {
    grid-template-columns: 1fr 1fr;
  }
  .about-offices-layout {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .about-offices-grid {
    grid-template-columns: 1fr;
  }
  .about-client-item {
    grid-template-columns: 2.5rem 1fr;
    padding: 1.25rem 1.35rem;
  }
  .about-page-hero__badges {
    gap: 0.45rem;
  }
  .about-page-hero__badge {
    font-size: 0.78rem;
    padding: 0.5rem 0.85rem;
  }
  body.page-inner .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body.page-inner {
    --about-page-width: 100%;
    --about-page-pad: 20px;
  }
  .about-glass-panel {
    padding: 1.25rem 1.35rem;
  }
  .about-intro-stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.page-inner .about-stat-card,
  body.page-inner .about-office-card,
  body.page-inner .about-client-item,
  body.page-inner .milestone-node {
    opacity: 1;
    transform: none;
  }
}

/*  Services page (creative / bento)  */
body.page-inner .services-offerings-section {
  background: linear-gradient(180deg, #f8f9fb 0%, var(--about-cream) 12%, var(--about-cream) 100%);
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}
body.page-inner .services-about-link {
  display: inline-block;
  margin-top: 0.65rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--gold);
}
body.page-inner .services-about-link:hover {
  color: var(--navy);
}
body.page-inner .services-offerings-layout {
  display: grid;
  grid-template-columns: minmax(11rem, 16rem) 1fr;
  gap: clamp(1.5rem, 4vw, 2.75rem);
  align-items: start;
  position: relative;
  z-index: 1;
}
body.page-inner .services-offerings-side {
  position: sticky;
  top: 6rem;
  padding-top: 0.25rem;
}
body.page-inner .services-offerings-side .section-heading {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  margin: 0 0 0.75rem;
}
body.page-inner .services-offerings-side .section-heading::after {
  display: none;
}
body.page-inner .services-offerings-lead {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-muted);
}

/* Bento grid */
.services-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
}
.services-bento-group {
  position: relative;
  padding: 1.5rem 1.6rem 1.35rem;
  background: #fff;
  border: 1px solid rgba(27, 29, 34, 0.08);
  border-radius: var(--about-radius);
  box-shadow: 0 10px 36px rgba(27, 29, 34, 0.07);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s, border-color 0.3s;
}
.services-bento-group::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--navy-light));
  opacity: 0.85;
}
.services-bento-group:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 160, 23, 0.4);
  box-shadow: 0 20px 48px rgba(27, 29, 34, 0.12);
}
.services-bento-group--wide {
  grid-column: 1 / -1;
}
.services-bento-group__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.1rem;
}
.services-bento-group__icon-wrap {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--gold-muted), rgba(27, 29, 34, 0.04));
  color: var(--gold);
  border: 1px solid rgba(212, 160, 23, 0.25);
}
.services-group-icon {
  display: block;
}
.services-bento-group__num {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.services-bento-group__title {
  margin: 0;
  font-family: var(--font);
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.services-bento-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.services-bento-group--wide .services-bento-group__list {
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.5rem 1rem;
}
.services-bento-group__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #4a5d72;
}
.services-bento-check {
  flex-shrink: 0;
  width: 1.35rem;
  height: 1.35rem;
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold-muted);
  color: var(--gold);
}

/* CPD featured card */
.services-cpd-feature {
  grid-column: 1 / -1;
  position: relative;
  border-radius: var(--about-radius);
  overflow: visible;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3354 45%, #243f66 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 56px rgba(27, 29, 34, 0.28);
  transition: transform 0.45s var(--ease-out), box-shadow 0.45s;
}
.services-cpd-feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px rgba(27, 29, 34, 0.35);
}
.services-cpd-feature__glow {
  position: absolute;
  width: 320px;
  height: 320px;
  top: -40%;
  right: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.35), transparent 68%);
  pointer-events: none;
}
.services-cpd-feature__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.5rem);
  color: #fff;
  box-sizing: border-box;
}
.services-cpd-feature__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.services-cpd-feature__icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--gold);
  flex-shrink: 0;
}
.services-cpd-feature__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
  max-width: 44rem;
}
.services-cpd-feature__inner .services-group-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
  stroke: var(--gold);
}
.services-cpd-feature__badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(212, 160, 23, 0.2);
  border: 1px solid rgba(212, 160, 23, 0.45);
  color: #fde9a8;
}
.services-cpd-feature__title {
  margin: 0;
  font-family: var(--about-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: #fff;
}
.services-cpd-feature__text,
.services-cpd-feature__inner p {
  margin: 0;
  max-width: 42rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}
.services-cpd-feature__link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.25rem;
  padding: 0.65rem 0;
  min-height: 44px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold);
  transition: gap 0.25s, color 0.2s;
}
.services-cpd-feature__link:hover {
  gap: 0.65rem;
  color: #fde9a8;
}

body.page-inner .services-keywords-section {
  background: linear-gradient(180deg, #f0f2f6 0%, #e8ecf2 100%);
}
body.page-inner .services-keywords-section .about-keyword-chip {
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
}

body.page-inner .services-section {
  background: #fff;
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
body.page-inner .services-page-grid .service-card {
  position: relative;
  border-radius: var(--about-radius-sm);
  background: #fff;
  border: 1px solid var(--border);
  box-shadow: 0 8px 28px rgba(27, 29, 34, 0.07);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s, border-color 0.3s;
}
body.page-inner .services-page-grid .service-card::before {
  content: "";
  display: block;
  height: 4px;
  margin: -2rem -2rem 1.15rem;
  background: linear-gradient(90deg, var(--gold), var(--navy-light));
  opacity: 0.9;
}
body.page-inner .services-page-grid .service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 44px rgba(27, 29, 34, 0.14);
  border-color: rgba(212, 160, 23, 0.4);
}
body.page-inner .services-page-grid .service-icon {
  background: linear-gradient(145deg, var(--gold-muted), rgba(27, 29, 34, 0.05));
  color: var(--navy);
  border: 1px solid rgba(212, 160, 23, 0.2);
  font-family: var(--about-serif);
}

/* CTA deco on services */
.services-cta-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: inherit;
}
.services-cta-deco span {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.services-cta-deco span:nth-child(1) {
  width: 280px;
  height: 280px;
  top: -40%;
  right: -5%;
}
.services-cta-deco span:nth-child(2) {
  width: 180px;
  height: 180px;
  bottom: -30%;
  left: 10%;
}
.services-cta-deco span:nth-child(3) {
  width: 120px;
  height: 120px;
  top: 20%;
  left: 35%;
  border-color: rgba(212, 160, 23, 0.2);
}
body.page-inner .cta-section .cta-box {
  position: relative;
  overflow: hidden;
}

@media (max-width: 900px) {
  body.page-inner .services-offerings-layout {
    grid-template-columns: 1fr;
  }
  body.page-inner .services-offerings-side {
    position: static;
  }
  .services-bento {
    grid-template-columns: 1fr;
  }
  .services-bento-group--wide {
    grid-column: 1;
  }
}
@media (max-width: 640px) {
  body.page-inner .about-intro-grid {
    grid-template-columns: 1fr;
  }
  .services-bento-group--wide .services-bento-group__list {
    grid-template-columns: 1fr;
  }
}

/*  Blog  */
body.page-inner .blog-list-section {
  background: #fff;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
body.page-inner .blog-card {
  border-radius: var(--about-radius-sm);
  background: var(--about-cream);
  border: 1px solid var(--border);
  padding: 1.35rem 1.5rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
body.page-inner .blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(27, 29, 34, 0.1);
}
body.page-inner .blog-article {
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 5vw, 4rem);
}
body.page-inner .blog-article .prose {
  max-width: 52rem;
  margin: 0 auto;
}

/*  Contact (info + map | form)  */
body.page-inner .contact-page {
  background: var(--about-cream);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
body.page-inner .contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: start;
}
body.page-inner .contact-layout__aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
body.page-inner .contact-info,
body.page-inner .contact-map-panel,
body.page-inner .contact-form-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--about-radius);
  padding: 1.75rem 2rem;
  box-shadow: 0 8px 28px rgba(27, 29, 34, 0.06);
}
body.page-inner .contact-map-panel {
  scroll-margin-top: 6rem;
}
body.page-inner .contact-map-panel__title {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  font-family: var(--font);
}
body.page-inner .contact-map-panel__lead {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}
body.page-inner .contact-map-panel__note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
}
body.page-inner .contact-map-panel__note a {
  font-weight: 600;
  color: var(--navy-light);
}
body.page-inner .contact-map-panel__note a:hover {
  color: var(--gold);
}
body.page-inner .contact-info__faq {
  margin-top: 1rem;
}
body.page-inner .contact-form-wrap__title {
  margin: 0 0 1.25rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}

/*  FAQ  */
body.page-inner .faq-page {
  background: #fff;
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}
body.page-inner .faq-page__inner {
  max-width: none;
}
body.page-inner .faq-search {
  border-radius: 999px;
  border: 1px solid var(--border);
  padding: 0.75rem 1.25rem;
  width: 100%;
  max-width: 28rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 16px rgba(27, 29, 34, 0.05);
}
body.page-inner .faq-accordion__item {
  border-radius: var(--about-radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 0.65rem;
  background: var(--about-cream);
  overflow: hidden;
}
body.page-inner .faq-category__title {
  font-family: var(--about-serif);
  color: var(--navy);
  margin: 2rem 0 1rem;
}

/*  Builder CMS pages (Xero, etc.)  */
body.page-inner .page-content--builder .section:first-child {
  padding-top: 0;
}
body.page-inner .page-content--builder .rich_text.section,
body.page-inner .page-content--builder .about-content-section:not(.about-content-section--intro) {
  background: #fff;
  padding: clamp(2rem, 4vw, 3rem) 0;
}
body.page-inner .page-content--builder .about-content-section .about-prose-panel {
  max-width: none;
}
body.page-inner .page-content--builder .prose,
body.page-inner .page-content--builder .about-prose {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.8;
  color: #3d4f63;
}
body.page-inner .page-content--builder .prose p,
body.page-inner .page-content--builder .about-prose p {
  margin: 0 0 1rem;
}
body.page-inner .page-content--builder .prose h2,
body.page-inner .page-content--builder .prose h3 {
  font-family: var(--font);
  color: var(--navy);
  margin: 1.5rem 0 0.75rem;
}
body.page-inner .page-content--builder .prose ul,
body.page-inner .page-content--builder .prose ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}
body.page-inner .page-content--builder .prose li {
  margin-bottom: 0.35rem;
  line-height: 1.7;
}

/* Intro card after page hero (Xero, etc.)  breathing room + softer panel */
body.page-inner .about-page-hero + .pb-section[data-section-type="rich_text"] {
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}
body.page-inner .page-content--builder .about-content-section--intro {
  background: transparent;
  padding: 0 0 clamp(2.5rem, 5vw, 3.5rem);
}
body.page-inner .page-content--builder .about-content-section--intro .about-content-wrap {
  max-width: 52rem;
}
body.page-inner .about-prose-panel--intro {
  padding: clamp(2rem, 4.5vw, 2.85rem) clamp(2rem, 5vw, 3.25rem);
  background: #fff;
  border: 1px solid rgba(27, 29, 34, 0.08);
  border-left: 1px solid rgba(27, 29, 34, 0.08);
  border-radius: 20px;
  box-shadow:
    0 4px 6px rgba(27, 29, 34, 0.03),
    0 20px 48px rgba(27, 29, 34, 0.08);
}
body.page-inner .about-prose-panel--intro .about-prose p:last-child {
  margin-bottom: 0;
}
body.page-inner .about-prose-panel--intro .about-prose p + p {
  margin-top: 1.15rem;
}

/* Shared CTA on inner pages  styles live above (charcoal full-bleed) */

body.page-inner .service-card,
body.page-inner .blog-card,
body.page-inner .contact-form-wrap,
body.page-inner .contact-info {
  opacity: 0;
  transform: translateY(16px);
}
body.page-inner.is-ready .service-card.visible,
body.page-inner.is-ready .blog-card.visible,
body.page-inner.is-ready .contact-form-wrap.visible,
body.page-inner.is-ready .contact-info.visible {
  opacity: 1;
  transform: translateY(0);
}
