/* =====================================================
   Utile Accountancy — shared stylesheet
   Used by every page on the site.
   Selectors are written so unused classes are harmless.
   ===================================================== */

:root {
  --utile-blue: #2da9de;
  --utile-navy: #29364e;
  --utile-orange: #f6ad55;
  --utile-deep: #000321;
  --utile-grey: #565a7c;
  --utile-offwhite: #f6f6ff;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
body {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  color: var(--utile-navy);
  -webkit-font-smoothing: antialiased;
  /* Clip any stray horizontal overflow (ambient glows, map iframes, hero visuals)
     without creating a new scroll context, so position: sticky keeps working. */
  overflow-x: clip;
  max-width: 100vw;
}

/* Eyebrow — plain small-caps label */
.eyebrow { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--utile-grey); }
.eyebrow--light { color: rgba(255,255,255,0.72); }

.stat-index { font-size: 12px; letter-spacing: 0.12em; color: rgba(255,255,255,0.55); font-weight: 500; }

.glass { background: rgba(255,255,255,0.08); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border: 1px solid rgba(255,255,255,0.18); }
.glass-dark { background: rgba(0,3,33,0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.glass-light { background: rgba(255,255,255,0.72); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(41,54,78,0.08); }

/* Primary button */
.btn-primary { background: var(--utile-orange); color: #fff; padding: 14px 26px; border-radius: 10px; font-weight: 600; transition: all 200ms ease; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; box-shadow: 0 4px 12px rgba(246,173,85,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(246,173,85,0.45); }
.btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(45,169,222,0.4); }

.btn-secondary { background: transparent; color: var(--utile-navy); padding: 13px 24px; border-radius: 10px; border: 2px solid var(--utile-navy); font-weight: 600; transition: all 200ms ease; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.btn-secondary:hover { background: var(--utile-navy); color: #fff; }
.btn-secondary:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(45,169,222,0.4); }

.btn-ghost { background: transparent; color: #fff; padding: 13px 24px; border-radius: 10px; border: 2px solid rgba(255,255,255,0.35); font-weight: 600; transition: all 200ms ease; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.btn-ghost:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(45,169,222,0.5); }

.lift { transition: transform 200ms ease, box-shadow 200ms ease; }
.lift:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,3,33,0.08); }

/* FAQ accordion */
details.faq { border-bottom: 1px solid rgba(86,90,124,0.18); padding: 20px 0; }
details.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-weight: 600; font-size: 18px; color: var(--utile-navy); }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary .plus { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--utile-offwhite); display: grid; place-items: center; transition: transform 200ms ease, background 200ms ease; color: var(--utile-navy); }
details.faq[open] summary .plus { transform: rotate(45deg); background: var(--utile-orange); color: #fff; }
details.faq p { margin-top: 12px; color: var(--utile-grey); max-width: 68ch; }

.caption-strip { background: rgba(0,3,33,0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* Nav link */
.nav-link { position: relative; padding: 6px 0; color: var(--utile-navy); font-weight: 500; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--utile-orange); transform: scaleX(0); transform-origin: left; transition: transform 200ms ease; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* Focus ring default */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid rgba(45,169,222,0.5); outline-offset: 2px; border-radius: 6px; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; transform: none !important; scroll-behavior: auto !important; }
}

[hidden] { display: none !important; }

.logo-dark { filter: brightness(0); }

/* Sticky nav scroll state */
.site-header { transition: background-color 300ms ease, box-shadow 300ms ease, border-color 300ms ease; }
.site-header .nav-row { transition: height 300ms ease; }
.site-header .logo-dark { transition: height 300ms ease; }
.site-header.is-scrolled { background-color: rgba(255,255,255,0.95); box-shadow: 0 6px 20px rgba(0,3,33,0.06); border-bottom-color: transparent; }
.site-header.is-scrolled .nav-row { height: 64px; }
.site-header.is-scrolled .logo-dark { height: 22px; }
@media (min-width: 768px) {
  .site-header.is-scrolled .logo-dark { height: 24px; }
}

/* =====================================================
   MOBILE NAV — animated burger + full-screen panel
   ===================================================== */
.nav-toggle {
  position: relative;
  z-index: 60;
  width: 44px; height: 44px;
  margin-right: -4px;
  display: grid; place-items: center;
  background: transparent;
  color: var(--utile-navy);
  border: 0; padding: 0; cursor: pointer;
}
.nav-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(45,169,222,0.4);
  border-radius: 10px;
}
.nav-toggle-bars {
  display: block;
  position: relative;
  width: 24px; height: 16px;
}
.nav-toggle-bars > span {
  position: absolute;
  left: 0; right: 0;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: top 400ms cubic-bezier(0.6, 0, 0.4, 1) 100ms,
              bottom 400ms cubic-bezier(0.6, 0, 0.4, 1) 100ms,
              transform 400ms cubic-bezier(0.6, 0, 0.4, 1),
              opacity 200ms ease 200ms;
  transform-origin: center;
}
.nav-toggle-bars > span:nth-child(1) { top: 0; }
.nav-toggle-bars > span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle-bars > span:nth-child(3) { bottom: 0; }

/* Open state — hamburger becomes an X */
.nav-toggle[aria-expanded="true"] .nav-toggle-bars > span {
  transition: top 400ms cubic-bezier(0.6, 0, 0.4, 1),
              bottom 400ms cubic-bezier(0.6, 0, 0.4, 1),
              transform 400ms cubic-bezier(0.6, 0, 0.4, 1) 100ms,
              opacity 100ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars > span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars > span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars > span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
}

/* Full-screen mobile nav panel.
   z-index 30 sits BELOW the sticky header (z-40) so the burger button
   inside the header stays clickable to close the menu.
   padding-top on .mobile-nav-inner clears the header strip. */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 30;
  background: #fff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-12px);
  transition: opacity 400ms ease, transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}
.mobile-nav::before {
  content: "";
  position: absolute;
  top: -100px; right: -80px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(246,173,85,0.18), rgba(45,169,222,0.08) 50%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 600ms ease 150ms;
}
.mobile-nav[data-open] {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.mobile-nav[data-open]::before { opacity: 1; }
/* Desktop: fully remove the mobile nav from layout */
@media (min-width: 1024px) {
  .mobile-nav { display: none !important; }
}
.mobile-nav-inner {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 88px 28px 40px;
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  z-index: 1;
}
@media (min-width: 480px) {
  .mobile-nav-inner { padding: 100px 36px 48px; }
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mobile-nav-links a {
  font-size: 30px;
  font-weight: 600;
  color: var(--utile-navy);
  letter-spacing: -0.015em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 450ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1),
              color 200ms ease;
  position: relative;
  padding-left: 0;
  text-decoration: none;
}
@media (min-width: 480px) { .mobile-nav-links a { font-size: 34px; } }
.mobile-nav-links a:hover { color: var(--utile-blue); }
.mobile-nav-links a[aria-current="page"] {
  color: var(--utile-blue);
  padding-left: 20px;
}
.mobile-nav-links a[aria-current="page"]::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--utile-orange);
  transform: translateY(-50%);
  box-shadow: 0 0 0 3px rgba(246,173,85,0.25);
}

.mobile-nav[data-open] .mobile-nav-links a {
  opacity: 1;
  transform: translateY(0);
}
/* Staggered reveal — :nth-child keeps the markup clean */
.mobile-nav[data-open] .mobile-nav-links a:nth-child(1) { transition-delay: 150ms; }
.mobile-nav[data-open] .mobile-nav-links a:nth-child(2) { transition-delay: 215ms; }
.mobile-nav[data-open] .mobile-nav-links a:nth-child(3) { transition-delay: 280ms; }
.mobile-nav[data-open] .mobile-nav-links a:nth-child(4) { transition-delay: 345ms; }
.mobile-nav[data-open] .mobile-nav-links a:nth-child(5) { transition-delay: 410ms; }
.mobile-nav[data-open] .mobile-nav-links a:nth-child(6) { transition-delay: 475ms; }

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 40px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 450ms cubic-bezier(0.2, 0.8, 0.2, 1),
              transform 450ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.mobile-nav[data-open] .mobile-nav-footer {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 540ms;
}
.mobile-nav-footer .btn-primary {
  width: 100%;
  justify-content: center;
  padding: 16px 26px;
  font-size: 16px;
}
.mobile-nav-contact {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(41,54,78,0.08);
  display: flex; flex-direction: column; gap: 10px;
  font-size: 15px;
  color: var(--utile-grey);
}
.mobile-nav-contact a {
  color: var(--utile-navy);
  font-weight: 500;
  transition: color 200ms ease;
}
.mobile-nav-contact a:hover { color: var(--utile-blue); }
.mobile-nav-hours {
  font-size: 13px;
  color: var(--utile-grey);
}

/* Body scroll lock while menu is open */
body.mobile-nav-open { overflow: hidden; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bars > span { transition: opacity 100ms ease !important; }
  .mobile-nav,
  .mobile-nav-links a,
  .mobile-nav-footer { transition: opacity 200ms ease !important; transform: none !important; }
  .mobile-nav[data-open],
  .mobile-nav[data-open] .mobile-nav-links a,
  .mobile-nav[data-open] .mobile-nav-footer { transition-delay: 0ms !important; transform: none !important; }
  .mobile-nav::before { display: none; }
}

/* Viewport-filling sections */
.fill-viewport {
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
}
@media (min-width: 768px) {
  .fill-viewport { min-height: calc(100vh - 80px); min-height: calc(100svh - 80px); }
}
@media (max-height: 640px) { .fill-viewport { min-height: auto; } }

/* Hero section */
.hero-section {
  min-height: calc(100vh - 64px);
  min-height: calc(100svh - 64px);
}
@media (min-width: 768px) {
  .hero-section { min-height: calc(100svh - 80px); }
}
@media (min-width: 1024px) {
  .hero-section {
    height: calc(100svh - 80px);
    min-height: 640px;
    max-height: 900px;
  }
}

.hero-visual { height: clamp(320px, 50svh, 460px); }
@media (min-width: 768px) { .hero-visual { height: clamp(420px, 62svh, 600px); } }
@media (min-width: 1024px) { .hero-visual { height: clamp(480px, 70svh, 680px); } }

/* --- Mobile hero reorder: stat card sits between sub and CTAs on mobile only --- */
@media (max-width: 1023px) {
  .hero-section .hero-copy-wrap {
    display: contents;
  }
  .hero-section .hero-copy-wrap > .eyebrow { order: 1; }
  .hero-section .hero-copy-wrap > h1 { order: 2; }
  .hero-section .hero-copy-wrap > p { order: 3; }
  .hero-section .hero-visual-wrap { order: 4; margin-top: 1.5rem; }
  /* 1st inner <div> = CTAs ; 2nd = micro-proof */
  .hero-section .hero-copy-wrap > div:first-of-type { order: 5; margin-top: 1.5rem; }
  .hero-section .hero-copy-wrap > div:last-of-type  { order: 6; margin-top: 1.25rem; }
}

/* Hero — cursor spotlight */
.hero-visual { --mx: 50%; --my: 50%; transition: transform 400ms ease; }
.cursor-spot { background: radial-gradient(400px circle at var(--mx) var(--my), rgba(246,173,85,0.25), transparent 60%); }
.hero-visual:hover .cursor-spot { opacity: 1; }

.hero-stat-card { transition: transform 400ms cubic-bezier(.2,.8,.2,1), box-shadow 400ms ease; }
.hero-visual:hover .hero-stat-card { transform: translateY(-3px); }
.hero-stat-card .stat-cell { transition: transform 300ms ease, color 300ms ease; }
.hero-stat-card .stat-cell:hover { transform: translateY(-2px); }

/* Google pill */
.hero-pill {
  position: relative; overflow: hidden;
  transition: transform 250ms cubic-bezier(.2,.8,.2,1), box-shadow 250ms ease, padding-right 250ms ease;
}
.hero-pill::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.65) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform 1000ms ease; pointer-events: none;
}
.hero-visual:hover .hero-pill::after,
.hero-pill:hover::after { transform: translateX(110%); }
.hero-pill:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 28px rgba(0,3,33,0.18), 0 0 0 4px rgba(246,173,85,0.18); }
.hero-pill:focus-visible { outline: none; box-shadow: 0 14px 28px rgba(0,3,33,0.18), 0 0 0 4px rgba(45,169,222,0.5); }
.hero-pill .hero-pill-g { transition: transform 400ms cubic-bezier(.2,.8,.2,1); }
.hero-pill:hover .hero-pill-g { transform: rotate(-8deg) scale(1.1); }
.hero-pill .hero-pill-stars { transition: filter 300ms ease, letter-spacing 300ms ease; }
.hero-pill:hover .hero-pill-stars { filter: drop-shadow(0 0 6px rgba(246,173,85,0.6)); letter-spacing: 0.02em; }
.hero-pill .hero-pill-ext { max-width: 0; opacity: 0; overflow: hidden; transition: max-width 300ms ease, opacity 300ms ease, margin-left 300ms ease; margin-left: 0; }
.hero-pill:hover .hero-pill-ext { max-width: 16px; opacity: 1; margin-left: 4px; }

/* Rolodex */
.rolodex { transition: transform 250ms ease, box-shadow 250ms ease; }
.rolodex:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(0,3,33,0.14); }
.rolodex-avatars > img { transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
.rolodex:hover .rolodex-avatars > img:nth-child(1) { transform: translateX(-6px) rotate(-4deg); }
.rolodex:hover .rolodex-avatars > img:nth-child(2) { transform: translateY(-3px); }
.rolodex:hover .rolodex-avatars > img:nth-child(3) { transform: translateX(6px) rotate(4deg); }
.rolodex-arrow { transition: transform 250ms ease; }
.rolodex:hover .rolodex-arrow { transform: translateX(4px); }

/* CTA arrow nudge */
.btn-primary svg, .btn-secondary svg { transition: transform 250ms ease; }
.btn-primary:hover svg, .btn-secondary:hover svg { transform: translateX(3px); }

/* Hero stars twinkle */
.hero-section .text-utile-orange { transition: text-shadow 400ms ease; }
.hero-section .max-w-xl:hover .text-utile-orange { text-shadow: 0 0 18px rgba(246,173,85,0.5); }

/* ─── Trust-bar brand cards ─── */
.brand-card {
  background: #fff; border: 1px solid rgba(86,90,124,0.08); border-radius: 14px;
  padding: 18px 14px; display: grid; place-items: center; min-height: 96px;
  box-shadow: 0 1px 2px rgba(0,3,33,0.03); position: relative; overflow: hidden;
  transition: transform 300ms cubic-bezier(.2,.8,.2,1), box-shadow 300ms ease, border-color 300ms ease;
}
@media (min-width: 768px) { .brand-card { min-height: 110px; padding: 22px 18px; } }
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 18px 35px rgba(0,3,33,0.08); border-color: rgba(246,173,85,0.4); }
.brand-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(246,173,85,0.10) 50%, transparent 70%);
  transform: translateX(-110%); transition: transform 800ms ease; pointer-events: none;
}
.brand-card:hover::after { transform: translateX(110%); }
.brand-logo {
  width: auto; max-width: 85%; max-height: 34px; object-fit: contain;
  filter: grayscale(1); opacity: 0.55;
  transition: filter 350ms ease, opacity 350ms ease, transform 400ms cubic-bezier(.2,.8,.2,1);
}
@media (min-width: 768px) { .brand-logo { max-height: 42px; } }
.brand-logo--square { max-height: 56px; }
@media (min-width: 768px) { .brand-logo--square { max-height: 64px; } }
.brand-card:hover .brand-logo { filter: grayscale(0); opacity: 1; transform: scale(1.06); }

/* ─── Audience cards ─── */
.audience-card {
  position: relative; display: block; background: #fff;
  border: 1px solid rgba(86,90,124,0.10); border-radius: 18px;
  padding: 28px 24px 24px; overflow: hidden;
  transition: transform 350ms cubic-bezier(.2,.8,.2,1), box-shadow 350ms ease, border-color 350ms ease;
}
@media (min-width: 768px) { .audience-card { padding: 32px 28px 28px; } }
.audience-card::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(246,173,85,0) 0%, rgba(246,173,85,0.05) 45%, rgba(45,169,222,0.06) 100%);
  opacity: 0; transition: opacity 400ms ease; pointer-events: none;
}
.audience-card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--utile-orange), var(--utile-blue));
  transform: scaleX(0); transform-origin: left;
  transition: transform 500ms cubic-bezier(.2,.8,.2,1); pointer-events: none;
}
.audience-card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(0,3,33,0.09); border-color: rgba(45,169,222,0.20); }
.audience-card:hover::before { opacity: 1; }
.audience-card:hover::after { transform: scaleX(1); }
.audience-card:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(45,169,222,0.4); border-color: rgba(45,169,222,0.5); }

.audience-icon {
  position: relative; z-index: 1; width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; color: var(--utile-blue);
  background: linear-gradient(135deg, rgba(45,169,222,0.10), rgba(45,169,222,0.04));
  box-shadow: inset 0 0 0 1px rgba(45,169,222,0.12);
  transition: transform 450ms cubic-bezier(.2,.8,.2,1), color 300ms ease, background 400ms ease, box-shadow 400ms ease;
}
.audience-card:hover .audience-icon {
  transform: rotate(-6deg) scale(1.08); color: #fff;
  background: linear-gradient(135deg, var(--utile-orange), var(--utile-blue));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18), 0 8px 20px rgba(246,173,85,0.25);
}
.audience-tag {
  position: absolute; top: 24px; right: 24px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--utile-grey); opacity: 0.55; font-weight: 600;
  transition: color 300ms ease, opacity 300ms ease;
}
.audience-card:hover .audience-tag { color: var(--utile-orange); opacity: 1; }
.audience-title {
  position: relative; z-index: 1; margin-top: 22px;
  font-size: 20px; font-weight: 600; color: var(--utile-navy); letter-spacing: -0.01em;
}
.audience-desc {
  position: relative; z-index: 1; margin-top: 8px;
  font-size: 14px; line-height: 1.55; color: var(--utile-grey);
}
.audience-cta {
  position: relative; z-index: 1; margin-top: 20px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; color: var(--utile-navy);
}
.audience-arrow { transition: transform 300ms cubic-bezier(.2,.8,.2,1); }
.audience-card:hover .audience-arrow { transform: translateX(5px); }
.audience-card:hover .audience-cta { color: var(--utile-blue); }

/* ─── Service tier cards (homepage) ─── */
.tier-card {
  position: relative; border: 1px solid rgba(86,90,124,0.10);
  transition: transform 350ms cubic-bezier(.2,.8,.2,1), box-shadow 350ms ease, border-color 350ms ease;
}
.tier-card:hover { transform: translateY(-6px); box-shadow: 0 24px 45px rgba(0,3,33,0.09); border-color: rgba(45,169,222,0.18); }
.tier-card--featured { border-color: rgba(246,173,85,0.45); box-shadow: 0 12px 30px rgba(246,173,85,0.12), 0 4px 10px rgba(0,3,33,0.04); }
.tier-card--featured:hover { transform: translateY(-8px); box-shadow: 0 28px 55px rgba(246,173,85,0.18), 0 6px 16px rgba(0,3,33,0.06); border-color: rgba(246,173,85,0.7); }
.tier-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--utile-orange), #ef8f3a); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 999px; box-shadow: 0 6px 14px rgba(246,173,85,0.35); white-space: nowrap;
}
.tier-label {
  display: inline-block; font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--utile-blue); padding: 4px 10px; border-radius: 999px;
  background: rgba(45,169,222,0.08); border: 1px solid rgba(45,169,222,0.15);
}
.tier-card--featured .tier-label { color: var(--utile-orange); background: rgba(246,173,85,0.10); border-color: rgba(246,173,85,0.2); }
.tier-card .btn-primary { width: 100%; }

/* ─── Process timeline ─── */
.process-timeline { position: relative; }
.process-track { position: absolute; left: 6%; right: 6%; top: 42px; height: 4px; z-index: 0; }
.process-track-bg { position: absolute; inset: 0; background: rgba(86,90,124,0.18); border-radius: 999px; }
.process-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--utile-orange), var(--utile-blue));
  border-radius: 999px; transform-origin: left; transform: scaleX(0);
  transition: transform 2200ms cubic-bezier(.2,.8,.2,1);
}
.process-section.is-in-view .process-fill { transform: scaleX(1); }
.process-track-v { position: absolute; left: 40px; top: 20px; bottom: 20px; width: 3px; z-index: 0; }
.process-track-bg-v { position: absolute; inset: 0; background: rgba(86,90,124,0.18); border-radius: 999px; }
.process-fill-v {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, var(--utile-orange), var(--utile-blue));
  border-radius: 999px; transform-origin: top; transform: scaleY(0);
  transition: transform 2200ms cubic-bezier(.2,.8,.2,1);
}
.process-section.is-in-view .process-fill-v { transform: scaleY(1); }
.process-card { position: relative; z-index: 1; display: flex; flex-direction: row; align-items: flex-start; gap: 24px; padding: 0; }
@media (min-width: 1024px) { .process-card { flex-direction: column; align-items: center; text-align: center; } }
.process-node {
  --node-border: rgba(86,90,124,0.20);
  flex: none; width: 84px; height: 84px; border-radius: 50%;
  background: #fff; border: 3px solid var(--node-border);
  display: grid; place-items: center; position: relative; z-index: 2;
  filter: drop-shadow(0 2px 6px rgba(0,3,33,0.06));
  transition:
    transform 260ms cubic-bezier(.2,.8,.2,1),
    border-color 350ms ease,
    filter 320ms ease,
    background 280ms ease;
}
.process-node-inner { font-size: 22px; font-weight: 700; letter-spacing: 0.04em; color: var(--utile-navy); transition: color 260ms ease; }
.process-card:nth-child(1) .process-node.is-active { --node-border: var(--utile-orange); }
.process-card:nth-child(2) .process-node.is-active { --node-border: rgba(246,173,85,0.9); }
.process-card:nth-child(3) .process-node.is-active { --node-border: rgba(45,169,222,0.9); }
.process-card:nth-child(4) .process-node.is-active { --node-border: var(--utile-blue); }
.process-section .process-card:hover .process-node {
  --node-border: rgba(255,255,255,0.85);
  transform: scale(1.10);
  background: linear-gradient(135deg, var(--utile-orange), var(--utile-blue));
  filter:
    drop-shadow(0 4px 12px rgba(246,173,85,0.35))
    drop-shadow(0 10px 24px rgba(45,169,222,0.25));
}
.process-section .process-card:hover .process-node-inner { color: #fff; }
.process-body { flex: 1; padding-top: 4px; }
@media (min-width: 1024px) { .process-body { margin-top: 20px; padding: 0 12px; max-width: 260px; } }
.process-label { font-size: 20px; font-weight: 600; color: var(--utile-navy); letter-spacing: -0.01em; transition: color 300ms ease; }
.process-card:hover .process-label { color: var(--utile-blue); }
.process-desc { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--utile-grey); }

/* ─── Pillars donut ─── */
.pillars-segment {
  transition:
    stroke-dasharray 1400ms cubic-bezier(.2,.8,.2,1),
    stroke-width 420ms cubic-bezier(.2,.8,.2,1),
    filter 420ms ease,
    opacity 380ms ease;
}
.pillars-section.is-in-view .pillars-segment-1 { stroke-dasharray: 125.66 502.65; transition-delay: 0ms, 0s, 0s, 0s; }
.pillars-section.is-in-view .pillars-segment-2 { stroke-dasharray: 125.66 502.65; transition-delay: 250ms, 0s, 0s, 0s; }
.pillars-section.is-in-view .pillars-segment-3 { stroke-dasharray: 125.66 502.65; transition-delay: 500ms, 0s, 0s, 0s; }
.pillars-section.is-in-view .pillars-segment-4 { stroke-dasharray: 125.66 502.65; transition-delay: 750ms, 0s, 0s, 0s; }
.pillars-section:has(.pillar-item:hover) .pillars-segment { opacity: 0.45; }
.pillars-section:has(.pillar-item[data-segment="1"]:hover) .pillars-segment-1 { opacity: 1; stroke-width: 36; filter: drop-shadow(0 8px 18px rgba(246,173,85,0.55)) brightness(1.08); }
.pillars-section:has(.pillar-item[data-segment="2"]:hover) .pillars-segment-2 { opacity: 1; stroke-width: 36; filter: drop-shadow(0 8px 18px rgba(45,169,222,0.55)) brightness(1.08); }
.pillars-section:has(.pillar-item[data-segment="3"]:hover) .pillars-segment-3 { opacity: 1; stroke-width: 36; filter: drop-shadow(0 8px 18px rgba(16,185,129,0.55)) brightness(1.08); }
.pillars-section:has(.pillar-item[data-segment="4"]:hover) .pillars-segment-4 { opacity: 1; stroke-width: 36; filter: drop-shadow(0 8px 18px rgba(225,29,72,0.55)) brightness(1.08); }
.pillar-item { display: flex; align-items: flex-start; gap: 16px; padding: 6px 0; border-radius: 10px; cursor: default; transition: transform 280ms cubic-bezier(.2,.8,.2,1); }
.pillar-item:hover { transform: translateX(6px); }
.pillar-item:hover .pillar-title { color: var(--utile-blue); }
.pillar-dot {
  flex: none; width: 14px; height: 14px; border-radius: 50%;
  background: var(--dot, var(--utile-navy)); margin-top: 6px;
  box-shadow: 0 0 0 4px rgba(255,255,255,0.9), 0 0 0 5px color-mix(in srgb, var(--dot, var(--utile-navy)) 20%, transparent);
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), box-shadow 280ms ease;
}
.pillar-item:hover .pillar-dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.9), 0 0 0 6px color-mix(in srgb, var(--dot, var(--utile-navy)) 40%, transparent);
}
.pillar-title { font-size: 18px; font-weight: 600; color: var(--utile-navy); letter-spacing: -0.005em; transition: color 280ms ease; }
.pillar-desc { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--utile-grey); max-width: 52ch; }
@media (prefers-reduced-motion: reduce) {
  .pillars-segment { transition: none; stroke-dasharray: 125.66 502.65; }
  .pillars-section:has(.pillar-item:hover) .pillars-segment { opacity: 1; stroke-width: 30; filter: none; }
}

/* ─── Tax calculator ─── */
.calc-chip { position: relative; cursor: pointer; }
.calc-chip-body { display: block; padding: 14px 16px; border-radius: 12px; background: var(--utile-offwhite); border: 1px solid rgba(86,90,124,0.15); transition: border-color 220ms ease, background 220ms ease, transform 220ms ease; text-align: center; }
.calc-chip-title { display: block; font-weight: 600; color: var(--utile-navy); font-size: 14px; }
.calc-chip-sub   { display: block; font-size: 11px; color: var(--utile-grey); margin-top: 2px; }
.calc-chip:hover .calc-chip-body { border-color: rgba(45,169,222,0.35); background: #fff; }
.calc-chip input:checked + .calc-chip-body { border-color: var(--utile-blue); background: #fff; box-shadow: 0 0 0 3px rgba(45,169,222,0.15); }
.calc-chip input:focus-visible + .calc-chip-body { box-shadow: 0 0 0 4px rgba(45,169,222,0.4); }
.calc-slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: linear-gradient(90deg, var(--utile-orange), var(--utile-blue)); border-radius: 999px; outline: none; cursor: pointer; }
.calc-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--utile-navy); box-shadow: 0 2px 8px rgba(0,3,33,0.15); cursor: grab; transition: transform 200ms ease, box-shadow 200ms ease; }
.calc-slider::-webkit-slider-thumb:active { cursor: grabbing; transform: scale(1.1); box-shadow: 0 6px 16px rgba(0,3,33,0.25); }
.calc-slider::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--utile-navy); box-shadow: 0 2px 8px rgba(0,3,33,0.15); cursor: grab; }
.calc-slider:focus-visible { box-shadow: 0 0 0 4px rgba(45,169,222,0.3); }
.calc-select { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(86,90,124,0.2); background: var(--utile-offwhite); font-size: 14px; color: var(--utile-navy); cursor: pointer; transition: border-color 220ms ease, background 220ms ease; }
.calc-select:hover { border-color: rgba(45,169,222,0.35); background: #fff; }
.calc-select:focus { border-color: var(--utile-blue); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(45,169,222,0.2); }
.calc-result { position: relative; background: linear-gradient(135deg, var(--utile-navy), var(--utile-deep)); color: #fff; border-radius: 20px; padding: 28px; overflow: hidden; box-shadow: 0 18px 45px rgba(0,3,33,0.18); }
@media (min-width: 768px) { .calc-result { padding: 32px; } }
.calc-result::before { content: ""; position: absolute; top: -60px; right: -60px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(246,173,85,0.35), transparent 70%); pointer-events: none; }
.calc-result::after { content: ""; position: absolute; bottom: -40px; left: -40px; width: 160px; height: 160px; background: radial-gradient(circle, rgba(45,169,222,0.25), transparent 70%); pointer-events: none; }
.calc-result > * { position: relative; z-index: 1; }
.calc-result .btn-ghost { border-color: rgba(255,255,255,0.3); }
.calc-result .btn-ghost:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }

/* ─── Tax-guide multi-step form ─── */
.tg-multi { position: relative; overflow: hidden; }
.tg-progress { display: flex; gap: 8px; align-items: center; }
.tg-dot { flex: 1; height: 4px; border-radius: 999px; background: rgba(86,90,124,0.18); transition: background 350ms ease; }
.tg-dot--active { background: linear-gradient(90deg, var(--utile-orange), var(--utile-blue)); }
.tg-step { display: none; animation: tgStepIn 350ms cubic-bezier(.2,.8,.2,1); }
.tg-step[data-tg-active] { display: block; }
@keyframes tgStepIn {
  from { opacity: 0; transform: translateX(16px); }
  to   { opacity: 1; transform: translateX(0); }
}
.tg-label { display: block; font-size: 13px; font-weight: 600; color: var(--utile-navy); }
.tg-input { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(86,90,124,0.25); font-size: 15px; color: var(--utile-navy); background: var(--utile-offwhite); transition: border-color 220ms ease, background 220ms ease, box-shadow 220ms ease; }
.tg-input::placeholder { color: rgba(86,90,124,0.55); }
.tg-input:hover { border-color: rgba(45,169,222,0.35); background: #fff; }
.tg-input:focus { outline: none; background: #fff; border-color: var(--utile-blue); box-shadow: 0 0 0 4px rgba(45,169,222,0.18); }
.tg-input:invalid:not(:placeholder-shown) { border-color: rgba(225,29,72,0.5); }
.tg-step--success { text-align: center; padding: 16px 4px 8px; }
.tg-success-icon { width: 60px; height: 60px; margin: 0 auto; border-radius: 50%; background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(45,169,222,0.1)); color: #10b981; display: grid; place-items: center; box-shadow: 0 8px 18px rgba(16,185,129,0.15); }
.tg-step-count { letter-spacing: 0.14em; }
.tg-multi.is-complete .tg-step-count,
.tg-multi.is-complete .tg-progress,
.tg-multi.is-complete .tg-privacy { display: none; }

/* ─── Reviews marquee ─── */
.marquee-rows {
  display: flex; flex-direction: column; gap: 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
@media (min-width: 768px) { .marquee-rows { gap: 20px; } }
.marquee-row { overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 16px; }
@media (min-width: 768px) { .marquee-track { gap: 20px; } }
.marquee-set { display: flex; gap: 16px; flex: none; }
@media (min-width: 768px) { .marquee-set { gap: 20px; } }
@keyframes marqueeLeft  { from { transform: translateX(0); }      to { transform: translateX(calc(-50% - 10px)); } }
@keyframes marqueeRight { from { transform: translateX(calc(-50% - 10px)); } to { transform: translateX(0); } }
.marquee-track--left  { animation: marqueeLeft  60s linear infinite; }
.marquee-track--right { animation: marqueeRight 55s linear infinite; }
.marquee-row:hover .marquee-track { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .marquee-track--left, .marquee-track--right { animation: none; }
}
.review-card {
  flex: none; width: 320px; background: var(--utile-offwhite); border-radius: 16px;
  padding: 22px 24px; border: 1px solid rgba(86,90,124,0.08);
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease, background 300ms ease;
}
@media (min-width: 768px) { .review-card { width: 360px; padding: 26px 28px; } }
.review-card:hover { transform: translateY(-3px); background: #fff; border-color: rgba(45,169,222,0.25); box-shadow: 0 18px 35px rgba(0,3,33,0.07); }
.review-stars { color: var(--utile-orange); letter-spacing: 1px; font-size: 16px; }
.review-card blockquote { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--utile-navy); }
.review-card figcaption { margin-top: 14px; display: flex; align-items: baseline; gap: 6px; font-size: 13px; color: var(--utile-grey); }
.review-card .review-name { font-weight: 600; color: var(--utile-navy); }
.review-card .review-role::before { content: "·"; margin-right: 4px; color: var(--utile-grey); }

/* ─── Featured-testimonial quote glyph ─── */
.quote-glyph {
  font-family: 'IBM Plex Sans', system-ui, sans-serif;
  font-weight: 700; font-size: 120px; line-height: 0.6;
  color: var(--utile-orange); text-align: center; user-select: none;
  margin: 0 auto; padding-top: 28px;
}
@media (min-width: 768px) {
  .quote-glyph { font-size: 160px; padding-top: 36px; }
}

/* =====================================================
   Services page — unique components
   ===================================================== */

/* Hero right column: stack of tier preview cards */
.services-hero-stack {
  display: flex; flex-direction: column; gap: 12px;
  max-width: 460px; margin: 0 auto; width: 100%;
}
.hero-tier-card {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 22px; border-radius: 16px;
  background: #fff; border: 1px solid rgba(86,90,124,0.12);
  box-shadow: 0 6px 16px rgba(0,3,33,0.05);
  transition: transform 280ms cubic-bezier(.2,.8,.2,1), box-shadow 280ms ease, border-color 280ms ease, background 280ms ease;
  position: relative; overflow: hidden;
  text-decoration: none;
}
.hero-tier-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(180deg, var(--utile-orange), var(--utile-blue));
  transform: scaleY(0); transform-origin: top;
  transition: transform 380ms cubic-bezier(.2,.8,.2,1);
}
.hero-tier-card:hover { transform: translateX(-6px); box-shadow: 0 18px 40px rgba(0,3,33,0.10); border-color: rgba(45,169,222,0.30); }
.hero-tier-card:hover::before { transform: scaleY(1); }
.hero-tier-card--featured {
  background: linear-gradient(135deg, #fff, rgba(246,173,85,0.08));
  border-color: rgba(246,173,85,0.40);
  box-shadow: 0 10px 24px rgba(246,173,85,0.15);
}
.hero-tier-card--featured:hover {
  border-color: rgba(246,173,85,0.7);
  box-shadow: 0 22px 45px rgba(246,173,85,0.22);
}
.hero-tier-body { flex: 1; min-width: 0; }
.hero-tier-badge {
  display: inline-block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--utile-blue); font-weight: 600;
  padding: 3px 8px; border-radius: 999px;
  background: rgba(45,169,222,0.08); border: 1px solid rgba(45,169,222,0.15);
}
.hero-tier-card--featured .hero-tier-badge { color: var(--utile-orange); background: rgba(246,173,85,0.12); border-color: rgba(246,173,85,0.25); }
.hero-tier-name { font-size: 17px; font-weight: 600; color: var(--utile-navy); margin-top: 8px; letter-spacing: -0.005em; }
.hero-tier-tagline { font-size: 13px; color: var(--utile-grey); margin-top: 4px; line-height: 1.45; }
.hero-tier-arrow { flex: none; color: var(--utile-grey); transition: transform 280ms cubic-bezier(.2,.8,.2,1), color 280ms ease; }
.hero-tier-card:hover .hero-tier-arrow { transform: translateX(6px); color: var(--utile-blue); }

/* Tier detail sections */
.service-detail { position: relative; overflow: hidden; scroll-margin-top: 100px; }
.service-detail-card {
  background: #fff;
  border: 1px solid rgba(86,90,124,0.10);
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: 0 4px 12px rgba(0,3,33,0.04);
}
@media (min-width: 768px) {
  .service-detail-card { padding: 44px 40px; }
}
.service-detail-card--featured {
  border-color: rgba(246,173,85,0.35);
  box-shadow: 0 18px 45px rgba(246,173,85,0.12), 0 4px 12px rgba(0,3,33,0.04);
  position: relative;
}
.service-detail-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(45,169,222,0.12), rgba(45,169,222,0.04));
  color: var(--utile-blue);
  box-shadow: inset 0 0 0 1px rgba(45,169,222,0.15);
}
.service-detail-card--featured .service-detail-icon {
  background: linear-gradient(135deg, rgba(246,173,85,0.18), rgba(246,173,85,0.06));
  color: var(--utile-orange);
  box-shadow: inset 0 0 0 1px rgba(246,173,85,0.25);
}
.service-detail-check {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(16,185,129,0.15), rgba(16,185,129,0.05));
  color: #10b981; display: grid; place-items: center; margin-top: 2px;
}
.service-detail-bestfor {
  background: var(--utile-offwhite);
  border: 1px solid rgba(86,90,124,0.08);
  border-radius: 14px;
  padding: 20px 22px;
}

/* Comparison table */
.compare-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  background: #fff; border-radius: 18px; overflow: hidden;
  border: 1px solid rgba(86,90,124,0.10);
  box-shadow: 0 4px 12px rgba(0,3,33,0.04);
}
.compare-table thead th {
  padding: 18px 14px; text-align: center;
  font-size: 13px; font-weight: 600; color: var(--utile-navy);
  background: var(--utile-offwhite);
  border-bottom: 1px solid rgba(86,90,124,0.10);
}
.compare-table thead th:first-child { text-align: left; }
.compare-table thead th.compare-featured {
  background: linear-gradient(180deg, rgba(246,173,85,0.14), rgba(246,173,85,0.04));
  color: var(--utile-orange);
  position: relative;
}
.compare-table tbody td {
  padding: 14px; text-align: center;
  font-size: 14px; color: var(--utile-navy);
  border-bottom: 1px solid rgba(86,90,124,0.06);
}
.compare-table tbody td:first-child { text-align: left; font-weight: 500; color: var(--utile-navy); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table tbody tr:hover td { background: rgba(45,169,222,0.03); }
.compare-check { color: #10b981; display: inline-block; }
.compare-dash { color: rgba(86,90,124,0.30); display: inline-block; }
.compare-featured-col { background: rgba(246,173,85,0.04); }

/* =====================================================
   ABOUT PAGE
   ===================================================== */

/* --- Hero: The Utile Pledge card (right column) --- */
.pledge-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 30px 26px;
  box-shadow: 0 22px 50px rgba(0,3,33,0.14), 0 3px 8px rgba(0,3,33,0.05);
  border: 1px solid rgba(41,54,78,0.06);
  overflow: hidden;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 400ms ease, border-color 400ms ease;
}
.pledge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 70px rgba(0,3,33,0.18), 0 6px 14px rgba(0,3,33,0.06);
  border-color: rgba(45,169,222,0.22);
}
@media (min-width: 768px) {
  .pledge-card { padding: 40px 36px; border-radius: 28px; }
}
@media (min-width: 1024px) {
  .pledge-card { padding: 44px 42px; }
}
/* Ambient brand glow in the top-right corner */
.pledge-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(246,173,85,0.14), rgba(45,169,222,0.06) 50%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}
/* Everything inside the card sits above the glow */
.pledge-card > * { position: relative; z-index: 1; }

.pledge-headline {
  margin-top: 14px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--utile-navy);
}
@media (min-width: 768px) { .pledge-headline { font-size: 30px; } }
@media (min-width: 1280px) { .pledge-headline { font-size: 34px; } }

.pledge-underline {
  margin-top: 14px;
  height: 2px;
  width: 56px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--utile-orange), var(--utile-blue));
}

.pledge-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pledge-item { display: flex; gap: 14px; align-items: flex-start; }
.pledge-check {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(246,173,85,0.22) 0%, rgba(45,169,222,0.16) 100%);
  display: grid;
  place-items: center;
  color: var(--utile-orange);
  margin-top: 2px;
  box-shadow: inset 0 0 0 1px rgba(246,173,85,0.18);
  transition: transform 400ms ease, box-shadow 400ms ease;
}
.pledge-check svg { width: 15px; height: 15px; }
.pledge-card:hover .pledge-check {
  transform: scale(1.06);
  box-shadow: inset 0 0 0 1px rgba(246,173,85,0.38);
}

.pledge-lead {
  display: block;
  font-weight: 600;
  color: var(--utile-navy);
  font-size: 15px;
  letter-spacing: -0.005em;
}
.pledge-copy {
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--utile-grey);
  max-width: 46ch;
}

.pledge-signature {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(41,54,78,0.08);
  display: flex;
  align-items: center;
  gap: 14px;
}
.pledge-dash {
  flex: none;
  width: 24px;
  height: 2px;
  background: var(--utile-orange);
  border-radius: 2px;
}
/* Wrap carries the rotation + hover lift so the clip-path animation inside stays clean */
.pledge-sign-wrap {
  position: relative;
  display: inline-block;
  transform: rotate(-1.5deg);
  transform-origin: left center;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pledge-card:hover .pledge-sign-wrap {
  transform: rotate(-1.5deg) translateX(2px);
}

.pledge-sign-text {
  font-family: 'Caveat', 'Brush Script MT', cursive;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--utile-navy);
  line-height: 1;
  white-space: nowrap;
  display: inline-block;
  transition: color 400ms ease;
}
@media (min-width: 768px) { .pledge-sign-text { font-size: 26px; } }
@media (min-width: 1280px) { .pledge-sign-text { font-size: 28px; } }
.pledge-card:hover .pledge-sign-text { color: var(--utile-deep); }

/* Writing animation — JS adds .pre-write to hide, then .is-writing to animate */
.pledge-sign-wrap.pre-write .pledge-sign-text { clip-path: inset(0 100% 0 -2px); }
.pledge-sign-wrap.is-writing .pledge-sign-text {
  animation: pledge-sign-write 1700ms cubic-bezier(0.25, 0.5, 0.3, 1) forwards;
}
@keyframes pledge-sign-write {
  0%   { clip-path: inset(0 100% 0 -2px); }
  100% { clip-path: inset(0 -2px 0 -2px); }
}

/* Pen tip that rides the reveal edge */
.pledge-pen-tip {
  position: absolute;
  top: 55%;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--utile-orange);
  box-shadow: 0 0 12px rgba(246,173,85,0.9), 0 0 4px rgba(246,173,85,1);
  transform: translate(-50%, -50%);
  opacity: 0;
  pointer-events: none;
}
.pledge-sign-wrap.is-writing .pledge-pen-tip {
  animation: pledge-sign-pen 1700ms cubic-bezier(0.25, 0.5, 0.3, 1) forwards;
}
@keyframes pledge-sign-pen {
  0%   { left: 0%;   opacity: 0; }
  6%   { opacity: 1; }
  92%  { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.pledge-seal {
  margin-left: auto;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--utile-orange) 0%, var(--utile-orange) 45%, transparent 46%);
  box-shadow: 0 0 0 3px rgba(246,173,85,0.22);
  transition: box-shadow 400ms ease, transform 400ms ease;
}
.pledge-card:hover .pledge-seal {
  box-shadow: 0 0 0 5px rgba(246,173,85,0.3);
  transform: scale(1.1);
}

/* --- Founder pull-quote card --- */
.founder-pullquote {
  position: relative;
  background: linear-gradient(145deg, var(--utile-navy) 0%, var(--utile-deep) 100%);
  color: #fff;
  border-radius: 20px;
  padding: 40px 32px 32px;
  box-shadow: 0 20px 50px rgba(0,3,33,0.25);
  overflow: hidden;
}
.founder-pullquote::after {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(246,173,85,0.25), transparent 70%);
  pointer-events: none;
}
.founder-pullquote-mark {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 110px;
  font-weight: 700;
  color: var(--utile-orange);
  line-height: 0.6;
  margin-bottom: 8px;
}
.founder-pullquote-text {
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  margin: 0;
}
@media (min-width: 1024px) {
  .founder-pullquote-text { font-size: 22px; }
}
.founder-signature {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
  display: flex;
  align-items: center;
  gap: 14px;
}
.founder-signature img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.25);
  flex: none;
}
.founder-signature-name { font-weight: 600; color: #fff; font-size: 15px; }
.founder-signature-role { font-size: 13px; color: rgba(255,255,255,0.6); }

/* --- Value-proof rows (Modern · Dynamic · Proactive) --- */
.value-proof-row {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 2px 8px rgba(0,3,33,0.05), 0 1px 2px rgba(0,3,33,0.04);
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  transition: box-shadow 300ms ease, transform 300ms ease;
  border: 1px solid rgba(41,54,78,0.05);
}
.value-proof-row:hover {
  box-shadow: 0 12px 30px rgba(0,3,33,0.10), 0 2px 6px rgba(0,3,33,0.04);
  transform: translateY(-2px);
}
@media (min-width: 768px) {
  .value-proof-row {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    padding: 36px 40px;
    align-items: center;
  }
}
.value-proof-row--alt {
  background: linear-gradient(135deg, rgba(45,169,222,0.05) 0%, rgba(246,173,85,0.04) 100%);
  border-color: rgba(45,169,222,0.12);
}
.value-proof-left { position: relative; padding-top: 8px; }
.value-proof-index {
  position: absolute;
  top: -4px; right: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(86,90,124,0.5);
  font-feature-settings: "tnum";
}
.value-proof-headline {
  margin-top: 10px;
  font-size: 22px;
  font-weight: 600;
  color: var(--utile-navy);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
@media (min-width: 1024px) {
  .value-proof-headline { font-size: 26px; }
}
.value-proof-copy {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--utile-grey);
  max-width: 48ch;
}
.value-proof-right {
  position: relative;
  padding: 20px 22px;
  background: var(--utile-offwhite);
  border-radius: 14px;
  border-left: 3px solid var(--utile-orange);
  margin: 0;
}
.value-proof-row--alt .value-proof-right {
  background: rgba(255,255,255,0.65);
  border-left-color: var(--utile-blue);
}
.value-proof-quote { color: var(--utile-orange); opacity: 0.9; margin-bottom: 10px; }
.value-proof-row--alt .value-proof-quote { color: var(--utile-blue); }
.value-proof-quote-text {
  font-size: 15px;
  line-height: 1.55;
  color: var(--utile-navy);
  font-weight: 500;
  margin: 0;
  font-style: italic;
}
.value-proof-attr {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--utile-grey);
  font-weight: 500;
}

/* --- Team contact cards --- */
.team-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .team-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
}

.team-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,3,33,0.08), 0 1px 3px rgba(0,3,33,0.05);
  border: 1px solid rgba(41,54,78,0.06);
  transition: box-shadow 400ms ease, transform 400ms ease, border-color 400ms ease;
  transform-style: preserve-3d;
  will-change: transform;
  display: flex;
  flex-direction: column;
}
.team-card:hover {
  box-shadow: 0 24px 50px rgba(0,3,33,0.14), 0 4px 10px rgba(0,3,33,0.06);
  border-color: rgba(45,169,222,0.25);
}

.team-card-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(180deg, var(--utile-offwhite), rgba(45,169,222,0.08));
}
.team-card-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}
.team-card:hover .team-card-photo { transform: scale(1.03); }

.team-card-photo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(45,169,222,0.28), transparent 55%);
  opacity: 0;
  transition: opacity 500ms ease;
  pointer-events: none;
}
.team-card:hover .team-card-photo-glow { opacity: 1; }

.team-card-meta {
  padding: 22px 24px 20px;
  position: relative;
}
.team-card-name {
  font-size: 22px;
  font-weight: 600;
  color: var(--utile-navy);
  letter-spacing: -0.01em;
}
.team-card-role {
  margin-top: 4px;
  font-size: 13px;
  color: var(--utile-blue);
  font-weight: 500;
}
.team-card-tag {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(41,54,78,0.08);
  font-size: 13px;
  color: var(--utile-grey);
  line-height: 1.5;
  font-style: italic;
}

/* Body (always visible on desktop) */
.team-card-body {
  padding: 0 24px 24px;
  border-top: 1px solid rgba(41,54,78,0.08);
  padding-top: 20px;
}
.team-card-bio {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--utile-grey);
}
.team-card-chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.team-card-chip {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(45,169,222,0.08);
  color: var(--utile-navy);
  border: 1px solid rgba(45,169,222,0.18);
}
.team-card-actions {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.team-card-cta {
  flex: 1;
  padding: 12px 18px;
  font-size: 14px;
  justify-content: center;
}
.team-card-linkedin {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--utile-offwhite);
  border: 1px solid rgba(41,54,78,0.08);
  display: grid;
  place-items: center;
  color: var(--utile-navy);
  transition: all 200ms ease;
}
.team-card-linkedin:hover {
  background: #0A66C2;
  color: #fff;
  border-color: #0A66C2;
  transform: translateY(-1px);
}
.team-card-linkedin:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(45,169,222,0.4);
}
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Office map frame --- */
.office-map-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,3,33,0.14);
  border: 1px solid rgba(41,54,78,0.08);
  background: var(--utile-offwhite);
  aspect-ratio: 4 / 3;
  min-height: 320px;
}
.office-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  border: 0;
  display: block;
  filter: saturate(0.85) contrast(1.02);
}

/* --- Reduced-motion safety net for about page --- */
@media (prefers-reduced-motion: reduce) {
  .team-card,
  .team-card-photo,
  .team-card-photo-glow,
  .value-proof-row,
  .pledge-card,
  .pledge-check,
  .pledge-sign-wrap,
  .pledge-sign-text,
  .pledge-seal { transition: none !important; }
  .team-card,
  .team-card:hover .team-card-photo,
  .pledge-card:hover,
  .pledge-card:hover .pledge-check,
  .pledge-card:hover .pledge-seal { transform: none !important; }
  .pledge-card:hover .pledge-sign-wrap { transform: rotate(-1.5deg) !important; }
  /* Text is always visible, never animated */
  .pledge-sign-wrap.pre-write .pledge-sign-text,
  .pledge-sign-wrap.is-writing .pledge-sign-text { clip-path: none !important; animation: none !important; }
  .pledge-pen-tip { display: none !important; }
}

/* =====================================================
   TAX GUIDE PAGE
   ===================================================== */

/* --- Hero: "Inside this free download" offer card --- */
.offer-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 30px 26px;
  box-shadow: 0 22px 50px rgba(0,3,33,0.14), 0 3px 8px rgba(0,3,33,0.05);
  border: 1px solid rgba(41,54,78,0.06);
  overflow: hidden;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 400ms ease, border-color 400ms ease;
}
@media (min-width: 768px) { .offer-card { padding: 40px 36px; border-radius: 28px; } }
@media (min-width: 1024px) { .offer-card { padding: 44px 42px; } }
.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 70px rgba(0,3,33,0.18), 0 6px 14px rgba(0,3,33,0.06);
  border-color: rgba(45,169,222,0.22);
}
.offer-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(246,173,85,0.16), rgba(45,169,222,0.06) 50%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.offer-card > * { position: relative; z-index: 1; }

.offer-card-title {
  margin-top: 14px;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--utile-navy);
}
@media (min-width: 768px) { .offer-card-title { font-size: 30px; } }
@media (min-width: 1280px) { .offer-card-title { font-size: 34px; } }

.offer-card-underline {
  margin-top: 14px;
  height: 2px; width: 56px; border-radius: 2px;
  background: linear-gradient(90deg, var(--utile-orange), var(--utile-blue));
}

.offer-card-list { margin: 26px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.offer-card-item { display: flex; gap: 14px; align-items: flex-start; }
.offer-card-icon {
  flex: none;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(246,173,85,0.22), rgba(45,169,222,0.16));
  display: grid; place-items: center;
  color: var(--utile-orange);
  box-shadow: inset 0 0 0 1px rgba(246,173,85,0.18);
  transition: transform 400ms ease, box-shadow 400ms ease;
}
.offer-card-icon svg { width: 20px; height: 20px; }
.offer-card:hover .offer-card-icon {
  transform: scale(1.06);
  box-shadow: inset 0 0 0 1px rgba(246,173,85,0.4);
}
.offer-card-name { font-weight: 600; color: var(--utile-navy); font-size: 15px; letter-spacing: -0.005em; }
.offer-card-desc { margin-top: 3px; font-size: 14px; line-height: 1.55; color: var(--utile-grey); max-width: 46ch; }

.offer-card-divider {
  margin: 26px 0 22px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41,54,78,0.14), transparent);
}

.offer-card-price {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.offer-card-price-label {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--utile-grey);
}
.offer-card-price-strike {
  display: inline-block;
  margin-top: 4px;
  font-size: 22px; font-weight: 600;
  color: var(--utile-grey);
  text-decoration: line-through;
  text-decoration-color: var(--utile-orange);
  text-decoration-thickness: 2px;
}
.offer-card-price-now {
  font-size: 22px; font-weight: 700;
  color: var(--utile-navy);
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--utile-orange), var(--utile-blue));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.offer-card-trust {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--utile-grey);
}
.offer-card-trust svg { color: var(--utile-orange); flex: none; }

/* --- VSL frame --- */
.vsl-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #000;
  box-shadow:
    0 30px 60px rgba(0,0,0,0.5),
    0 0 0 1px rgba(246,173,85,0.25),
    0 0 80px rgba(45,169,222,0.15);
}
.vsl-frame video { display: block; }

/* --- Three pillars --- */
.pillar-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 32px 26px 28px;
  border: 1px solid rgba(41,54,78,0.06);
  box-shadow: 0 4px 14px rgba(0,3,33,0.06), 0 1px 3px rgba(0,3,33,0.04);
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 400ms ease, border-color 400ms ease;
  overflow: hidden;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0,3,33,0.12), 0 4px 10px rgba(0,3,33,0.05);
  border-color: rgba(45,169,222,0.2);
}
.pillar-card--featured {
  background: linear-gradient(135deg, rgba(246,173,85,0.05), rgba(45,169,222,0.04));
  border-color: rgba(246,173,85,0.18);
}
.pillar-card-index {
  position: absolute;
  top: 22px; right: 24px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; color: rgba(86,90,124,0.5);
  font-feature-settings: "tnum";
}
.pillar-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(246,173,85,0.18), rgba(45,169,222,0.14));
  display: grid; place-items: center;
  color: var(--utile-orange);
  box-shadow: inset 0 0 0 1px rgba(246,173,85,0.16);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pillar-card-icon svg { width: 24px; height: 24px; }
.pillar-card:hover .pillar-card-icon { transform: scale(1.08) rotate(-3deg); }
.pillar-card-title {
  margin-top: 22px;
  font-size: 22px; font-weight: 600;
  color: var(--utile-navy);
  letter-spacing: -0.01em; line-height: 1.25;
}
.pillar-card-copy {
  margin-top: 10px;
  font-size: 15px; line-height: 1.6;
  color: var(--utile-grey);
}

/* --- Review cards (tax-guide trio) --- */
.review-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  border: 1px solid rgba(41,54,78,0.06);
  box-shadow: 0 4px 14px rgba(0,3,33,0.06);
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  transition: transform 400ms ease, box-shadow 400ms ease, border-color 400ms ease;
  margin: 0;
}
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,3,33,0.10);
  border-color: rgba(45,169,222,0.2);
}
.review-card--featured {
  background: linear-gradient(135deg, rgba(246,173,85,0.04), rgba(45,169,222,0.03));
  border-color: rgba(246,173,85,0.2);
}
.review-card-stars {
  color: var(--utile-orange);
  font-size: 14px;
  letter-spacing: 2px;
}
.review-card-headline {
  margin-top: 10px;
  font-size: 17px;
  font-weight: 600;
  color: var(--utile-navy);
  letter-spacing: -0.005em;
}
.review-card-quote {
  margin: 12px 0 22px;
  font-size: 14.5px; line-height: 1.6;
  color: var(--utile-grey);
  flex: 1;
}
.review-card-attribution {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(41,54,78,0.08);
  text-align: left;
  width: 100%;
}
.review-card-avatar,
.review-card-photo {
  width: 44px; height: 44px;
  border-radius: 50%;
  flex: none;
}
.review-card-avatar {
  background: linear-gradient(135deg, var(--utile-blue), var(--utile-navy));
  color: #fff;
  display: grid; place-items: center;
  font-weight: 600; font-size: 13px;
  letter-spacing: 0.03em;
}
.review-card-photo { object-fit: cover; }
.review-card-name { font-weight: 600; color: var(--utile-navy); font-size: 14px; }
.review-card-role { font-size: 12px; color: var(--utile-grey); margin-top: 1px; }

/* --- §5 Offer stack (the big conversion block) --- */
.offer-stack { position: relative; }
.offer-stack-heading {
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--utile-navy);
}
.offer-stack-list { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.offer-stack-item {
  display: flex; gap: 18px; align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid rgba(41,54,78,0.08);
  border-radius: 14px;
  transition: transform 300ms ease, border-color 300ms ease;
}
.offer-stack-item:hover {
  transform: translateX(4px);
  border-color: rgba(45,169,222,0.3);
}
.offer-stack-num {
  flex: none;
  font-size: 20px; font-weight: 700;
  color: var(--utile-orange);
  letter-spacing: -0.02em;
  font-feature-settings: "tnum";
  min-width: 2.5ch;
}
.offer-stack-name { font-size: 16px; font-weight: 600; color: var(--utile-navy); letter-spacing: -0.005em; }
.offer-stack-tag { margin-top: 2px; font-size: 12px; color: var(--utile-grey); }

.offer-stack-divider {
  margin: 32px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41,54,78,0.14), transparent);
}

.offer-stack-inclusions { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.offer-stack-inclusions li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; line-height: 1.5;
  color: var(--utile-navy);
}
.offer-stack-inclusions li svg { color: #10b981; flex: none; margin-top: 4px; }

/* Price burst */
.price-burst {
  margin-top: 32px;
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(246,173,85,0.12), rgba(45,169,222,0.08));
  border: 1px solid rgba(246,173,85,0.25);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.price-burst-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--utile-grey);
}
.price-burst-number { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.price-burst-was {
  font-size: 20px; font-weight: 600;
  color: var(--utile-grey);
  text-decoration: line-through;
  text-decoration-color: var(--utile-orange);
  text-decoration-thickness: 2px;
}
.price-burst-now {
  font-size: 22px; font-weight: 700;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--utile-orange), var(--utile-blue));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Risk reversal badge */
.risk-badge {
  margin-top: 16px;
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: #fff;
  border: 1px dashed rgba(16,185,129,0.4);
  border-radius: 12px;
}
.risk-badge svg { flex: none; color: #10b981; }
.risk-badge-title { font-size: 14px; font-weight: 600; color: var(--utile-navy); }
.risk-badge-sub { font-size: 12px; color: var(--utile-grey); margin-top: 2px; }

/* Reduced-motion: neutralise the new tax-guide hovers */
@media (prefers-reduced-motion: reduce) {
  .offer-card,
  .offer-card-icon,
  .pillar-card,
  .pillar-card-icon,
  .review-card,
  .offer-stack-item { transition: none !important; }
  .offer-card:hover,
  .offer-card:hover .offer-card-icon,
  .pillar-card:hover,
  .pillar-card:hover .pillar-card-icon,
  .review-card:hover,
  .offer-stack-item:hover { transform: none !important; }
}

/* =====================================================
   REVIEWS PAGE
   ===================================================== */

/* Hero aggregate stats card */
.reviews-stat-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 30px 26px;
  box-shadow: 0 22px 50px rgba(0,3,33,0.14), 0 3px 8px rgba(0,3,33,0.05);
  border: 1px solid rgba(41,54,78,0.06);
  overflow: hidden;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 400ms ease, border-color 400ms ease;
}
@media (min-width: 768px) { .reviews-stat-card { padding: 40px 36px; border-radius: 28px; } }
@media (min-width: 1024px) { .reviews-stat-card { padding: 44px 42px; } }
.reviews-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 70px rgba(0,3,33,0.18), 0 6px 14px rgba(0,3,33,0.06);
  border-color: rgba(45,169,222,0.22);
}
.reviews-stat-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(246,173,85,0.14), rgba(45,169,222,0.06) 50%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.reviews-stat-card > * { position: relative; z-index: 1; }

.reviews-stat-google {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--utile-grey);
  padding: 6px 12px;
  background: rgba(241, 243, 246, 0.6);
  border-radius: 999px;
}

.reviews-stat-big {
  margin-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(41,54,78,0.08);
  text-align: left;
}
.reviews-stat-score {
  font-size: 64px;
  font-weight: 700;
  color: var(--utile-navy);
  line-height: 1;
  letter-spacing: -0.03em;
  font-feature-settings: "tnum";
}
@media (min-width: 1024px) { .reviews-stat-score { font-size: 72px; } }
.reviews-stat-stars {
  margin-top: 6px;
  font-size: 22px;
  color: var(--utile-orange);
  letter-spacing: 3px;
}
.reviews-stat-label {
  margin-top: 8px;
  font-size: 13px; font-weight: 500;
  color: var(--utile-grey);
}

.reviews-stat-grid {
  margin-top: 22px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.reviews-stat-cell {
  padding: 16px 18px;
  background: var(--utile-offwhite);
  border-radius: 14px;
  border: 1px solid rgba(41,54,78,0.06);
}
.reviews-stat-cell--alt {
  background: linear-gradient(135deg, rgba(246,173,85,0.10), rgba(45,169,222,0.07));
  border-color: rgba(246,173,85,0.18);
}
.reviews-stat-num {
  font-size: 26px; font-weight: 700;
  color: var(--utile-navy);
  letter-spacing: -0.01em;
  line-height: 1;
  font-feature-settings: "tnum";
}
.reviews-stat-tag {
  margin-top: 6px;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--utile-grey);
}

.reviews-stat-cta {
  margin-top: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--utile-blue);
  transition: color 200ms ease;
}
.reviews-stat-cta:hover { color: var(--utile-navy); }

/* Featured trio cards */
.featured-review-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px;
  border: 1px solid rgba(41,54,78,0.06);
  box-shadow: 0 4px 14px rgba(0,3,33,0.06);
  display: flex; flex-direction: column;
  margin: 0;
  transition: transform 400ms ease, box-shadow 400ms ease, border-color 400ms ease;
}
.featured-review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0,3,33,0.14);
  border-color: rgba(45,169,222,0.25);
}
.featured-review-card--primary {
  background: linear-gradient(135deg, rgba(246,173,85,0.06), rgba(45,169,222,0.04));
  border-color: rgba(246,173,85,0.22);
}
.featured-review-theme {
  display: inline-flex; align-self: flex-start;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--utile-orange);
  padding: 5px 10px;
  background: rgba(246,173,85,0.12);
  border-radius: 999px;
  margin-bottom: 16px;
}
.featured-review-stars {
  color: var(--utile-orange);
  font-size: 15px; letter-spacing: 2px;
}
.featured-review-headline {
  margin-top: 12px;
  font-size: 22px; font-weight: 600;
  color: var(--utile-navy);
  line-height: 1.25; letter-spacing: -0.01em;
}
.featured-review-quote {
  margin: 14px 0 22px;
  font-size: 15px; line-height: 1.65;
  color: var(--utile-grey);
  flex: 1;
}
.featured-review-attribution {
  display: flex; align-items: center; gap: 14px;
  padding-top: 16px;
  border-top: 1px solid rgba(41,54,78,0.08);
}
.featured-review-photo {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
  ring: 2px solid #fff;
}
.featured-review-name { font-weight: 600; color: var(--utile-navy); font-size: 15px; }
.featured-review-role { font-size: 12px; color: var(--utile-grey); margin-top: 2px; }

/* Masonry grid (CSS columns, no JS) */
.reviews-masonry {
  column-count: 1;
  column-gap: 20px;
}
@media (min-width: 640px) { .reviews-masonry { column-count: 2; column-gap: 22px; } }
@media (min-width: 1024px) { .reviews-masonry { column-count: 3; column-gap: 24px; } }

.rc {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  background: #fff;
  border-radius: 16px;
  padding: 22px 22px;
  border: 1px solid rgba(41,54,78,0.07);
  box-shadow: 0 2px 8px rgba(0,3,33,0.04);
  margin: 0 0 20px;
  transition: transform 400ms ease, box-shadow 400ms ease, border-color 400ms ease;
  display: inline-block;
  width: 100%;
}
.rc:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,3,33,0.10);
  border-color: rgba(45,169,222,0.22);
}
.rc--featured {
  background: linear-gradient(135deg, rgba(246,173,85,0.05), rgba(45,169,222,0.035));
  border-color: rgba(246,173,85,0.18);
}
.rc-stars { color: var(--utile-orange); font-size: 13px; letter-spacing: 2px; }
.rc-title {
  margin-top: 8px;
  font-size: 16px; font-weight: 600;
  color: var(--utile-navy);
  letter-spacing: -0.005em; line-height: 1.3;
}
.rc-body {
  margin-top: 8px;
  font-size: 13.5px; line-height: 1.55;
  color: var(--utile-grey);
}
.rc-meta {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px solid rgba(41,54,78,0.08);
  display: flex; align-items: center; gap: 10px;
}
.rc-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  font-weight: 600; font-size: 11px;
  letter-spacing: 0.04em;
  flex: none;
}
.rc-avatar--a { background: linear-gradient(135deg, #2da9de, #29364e); }
.rc-avatar--b { background: linear-gradient(135deg, #f6ad55, #e57339); }
.rc-avatar--c { background: linear-gradient(135deg, #10b981, #0b6f50); }
.rc-avatar--d { background: linear-gradient(135deg, #8b5cf6, #4c2ea0); }
.rc-name { font-weight: 600; color: var(--utile-navy); font-size: 13px; line-height: 1.2; }
.rc-role { font-size: 11px; color: var(--utile-grey); margin-top: 1px; line-height: 1.2; }

/* Leave-a-review bridge band */
.leave-review-band {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  padding: 32px 28px;
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(45,169,222,0.18);
  box-shadow: 0 14px 40px rgba(0,3,33,0.08);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.leave-review-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(66,133,244,0.04) 0%, rgba(234,67,53,0.03) 50%, rgba(251,188,5,0.03) 100%);
  pointer-events: none;
}
.leave-review-band > * { position: relative; z-index: 1; }
@media (min-width: 768px) {
  .leave-review-band {
    grid-template-columns: 1fr auto;
    gap: 32px;
    padding: 36px 40px;
  }
}
.leave-review-title {
  margin-top: 10px;
  font-size: 24px;
  font-weight: 600;
  color: var(--utile-navy);
  letter-spacing: -0.01em; line-height: 1.25;
}
@media (min-width: 768px) { .leave-review-title { font-size: 28px; } }
.leave-review-copy {
  margin-top: 10px;
  font-size: 14.5px; line-height: 1.6;
  color: var(--utile-grey);
  max-width: 52ch;
}
.leave-review-cta { flex: none; }

/* =====================================================
   CONTACT PAGE
   ===================================================== */

/* Hero office-status card */
.office-status-card {
  position: relative;
  background: #fff;
  border-radius: 24px;
  padding: 28px 26px;
  box-shadow: 0 22px 50px rgba(0,3,33,0.14), 0 3px 8px rgba(0,3,33,0.05);
  border: 1px solid rgba(41,54,78,0.06);
  overflow: hidden;
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 400ms ease, border-color 400ms ease;
}
@media (min-width: 768px) { .office-status-card { padding: 36px 32px; border-radius: 28px; } }
@media (min-width: 1024px) { .office-status-card { padding: 40px 36px; } }
.office-status-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 34px 70px rgba(0,3,33,0.18), 0 6px 14px rgba(0,3,33,0.06);
  border-color: rgba(45,169,222,0.22);
}
.office-status-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(246,173,85,0.14), rgba(45,169,222,0.06) 50%, transparent 70%);
  pointer-events: none; z-index: 0;
}
.office-status-card > * { position: relative; z-index: 1; }

.office-status-header { display: flex; align-items: center; gap: 10px; }
.office-status-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: #565a7c;
  flex: none;
}
.office-status-dot.is-open {
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16,185,129,0.18);
  animation: office-pulse 2.4s ease-in-out infinite;
}
@keyframes office-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16,185,129,0.18); }
  50%      { box-shadow: 0 0 0 7px rgba(16,185,129,0.08); }
}
.office-status-label {
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--utile-navy);
}
.office-status-dot.is-open ~ .office-status-label {
  color: #10b981;
}
.office-status-sub {
  margin-top: 4px;
  font-size: 12px; color: var(--utile-grey);
}

.office-status-divider {
  margin: 22px 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(41,54,78,0.12), transparent);
}

.office-status-row-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--utile-grey);
}
.office-status-row-value {
  display: block;
  margin-top: 6px;
  font-size: 26px; font-weight: 600;
  color: var(--utile-navy);
  letter-spacing: -0.01em;
  transition: color 200ms ease;
}
.office-status-row-value:hover { color: var(--utile-blue); }
.office-status-row-value--small {
  font-size: 16px;
  word-break: break-all;
}
@media (min-width: 640px) { .office-status-row-value--small { font-size: 17px; word-break: normal; } }
.office-status-row-note {
  margin-top: 4px;
  font-size: 12px; color: var(--utile-grey);
}

.office-status-footer {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500; color: var(--utile-grey);
}
.office-status-footer svg { color: var(--utile-orange); flex: none; }

/* Channel cards */
.channel-card {
  position: relative;
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 20px;
  padding: 28px 26px 24px;
  border: 1px solid rgba(41,54,78,0.06);
  box-shadow: 0 4px 14px rgba(0,3,33,0.06);
  transition: transform 400ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 400ms ease, border-color 400ms ease;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
}
.channel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(0,3,33,0.12);
  border-color: rgba(45,169,222,0.28);
}
.channel-card--featured {
  background: linear-gradient(135deg, rgba(246,173,85,0.06), rgba(45,169,222,0.04));
  border-color: rgba(246,173,85,0.22);
}
.channel-card-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(246,173,85,0.18), rgba(45,169,222,0.14));
  display: grid; place-items: center;
  color: var(--utile-orange);
  box-shadow: inset 0 0 0 1px rgba(246,173,85,0.16);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.channel-card-icon svg { width: 22px; height: 22px; }
.channel-card:hover .channel-card-icon { transform: scale(1.08) rotate(-3deg); }
.channel-card-eyebrow {
  margin-top: 20px;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--utile-grey);
}
.channel-card-title {
  margin-top: 6px;
  font-size: 24px; font-weight: 600;
  color: var(--utile-navy);
  letter-spacing: -0.01em;
  line-height: 1.2;
  word-break: break-word;
}
.channel-card-title--small { font-size: 16px; word-break: break-all; }
@media (min-width: 640px) { .channel-card-title--small { font-size: 17px; word-break: normal; } }
.channel-card-copy {
  margin-top: 10px;
  font-size: 14.5px; line-height: 1.55;
  color: var(--utile-grey);
  flex: 1;
}
.channel-card-arrow {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(41,54,78,0.08);
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--utile-blue);
  transition: gap 300ms ease;
}
.channel-card:hover .channel-card-arrow { gap: 12px; }

/* Contact form */
.contact-form {
  background: #fff;
  border-radius: 20px;
  padding: 26px 24px;
  border: 1px solid rgba(41,54,78,0.06);
  box-shadow: 0 14px 40px rgba(0,3,33,0.08);
}
@media (min-width: 768px) { .contact-form { padding: 34px 32px; border-radius: 24px; } }
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .contact-form-row { grid-template-columns: 1fr 1fr; } }
.tg-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2329364e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}
.tg-textarea {
  min-height: 120px;
  resize: vertical;
  padding-top: 12px;
  padding-bottom: 12px;
  line-height: 1.5;
}

.contact-success {
  margin-top: 24px;
  padding: 24px 22px;
  background: linear-gradient(135deg, rgba(16,185,129,0.08), rgba(45,169,222,0.05));
  border: 1px solid rgba(16,185,129,0.24);
  border-radius: 16px;
  text-align: center;
}
.contact-success-icon {
  display: inline-grid; place-items: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  box-shadow: 0 6px 18px rgba(16,185,129,0.35);
}
.contact-success-title {
  margin-top: 12px;
  font-size: 18px; font-weight: 600;
  color: var(--utile-navy);
  letter-spacing: -0.005em;
}
.contact-success-body {
  margin-top: 8px;
  font-size: 14px; line-height: 1.55;
  color: var(--utile-grey);
}

/* "What happens next" steps */
.enq-steps {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex; flex-direction: column;
  gap: 16px;
}
.enq-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--utile-offwhite);
  border-radius: 12px;
  border: 1px solid rgba(41,54,78,0.05);
}
.enq-step-num {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--utile-orange), var(--utile-blue));
  color: #fff;
  font-weight: 600; font-size: 13px;
  display: grid; place-items: center;
}
.enq-step-title { font-weight: 600; color: var(--utile-navy); font-size: 14.5px; }
.enq-step-body { margin-top: 2px; font-size: 13px; line-height: 1.5; color: var(--utile-grey); }

/* "Getting here" section — slightly different styling from About's dl */
.getting-here-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--utile-navy);
}
.getting-here-val {
  margin-top: 8px;
  font-size: 14px; line-height: 1.55;
  color: var(--utile-grey);
}

/* Reduced-motion for reviews + contact pages */
@media (prefers-reduced-motion: reduce) {
  .reviews-stat-card,
  .featured-review-card,
  .rc,
  .office-status-card,
  .office-status-dot.is-open,
  .channel-card,
  .channel-card-icon { transition: none !important; animation: none !important; }
  .reviews-stat-card:hover,
  .featured-review-card:hover,
  .rc:hover,
  .office-status-card:hover,
  .channel-card:hover,
  .channel-card:hover .channel-card-icon { transform: none !important; }
}
