/* AgencyHut standardized design system
   Source: final generated AgencyHut HTML pages in design_files/stitch_enterprise_dev_success.
   Rule: blocks use these classes; pages do not invent local styling.
*/

:root {
  --ah-surface-container: #eceef0;
  --ah-on-tertiary-container: #fdfcff;
  --ah-surface-container-highest: #e0e3e5;
  --ah-outline: #707881;
  --ah-on-primary: #ffffff;
  --ah-outline-variant: #bfc7d2;
  --ah-inverse-on-surface: #eff1f3;
  --ah-on-primary-fixed: #001d31;
  --ah-on-background: #191c1e;
  --ah-surface-container-high: #e6e8ea;
  --ah-on-secondary-fixed: #131b2e;
  --ah-on-surface: #191c1e;
  --ah-secondary-fixed-dim: #bec6e0;
  --ah-secondary: #565e74;
  --ah-on-primary-fixed-variant: #004b73;
  --ah-surface-container-lowest: #ffffff;
  --ah-background: #f7f9fb;
  --ah-surface-tint: #006398;
  --ah-primary-container: #007bb9;
  --ah-error: #ba1a1a;
  --ah-inverse-primary: #93ccff;
  --ah-on-error-container: #93000a;
  --ah-surface-variant: #e0e3e5;
  --ah-surface-dim: #d8dadc;
  --ah-on-secondary-fixed-variant: #3f465c;
  --ah-primary-fixed: #cce5ff;
  --ah-on-error: #ffffff;
  --ah-inverse-surface: #2d3133;
  --ah-secondary-fixed: #dae2fd;
  --ah-secondary-container: #dae2fd;
  --ah-tertiary-container: #66768d;
  --ah-on-secondary-container: #5c647a;
  --ah-surface-bright: #f7f9fb;
  --ah-primary-fixed-dim: #93ccff;
  --ah-on-tertiary-fixed-variant: #38485d;
  --ah-on-primary-container: #fdfcff;
  --ah-primary: #006194;
  --ah-error-container: #ffdad6;
  --ah-on-secondary: #ffffff;
  --ah-surface-container-low: #f2f4f6;
  --ah-tertiary-fixed: #d3e4fe;
  --ah-on-surface-variant: #3f4850;
  --ah-tertiary-fixed-dim: #b7c8e1;
  --ah-on-tertiary: #ffffff;
  --ah-tertiary: #4d5d73;
  --ah-surface: #f7f9fb;

  --ah-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ah-container: 1280px;
  --ah-gutter: 24px;
  --ah-xs: 8px;
  --ah-sm: 16px;
  --ah-md: 24px;
  --ah-lg: 40px;
  --ah-xl: 64px;

  --ah-radius-default: 0.125rem;
  --ah-radius-lg: 0.25rem;
  --ah-radius-xl: 0.5rem;
  --ah-radius-full: 0.75rem;

  --ah-shadow-card: 0 12px 40px rgba(0, 0, 0, 0.08);
  --ah-shadow-card-hover: 0 22px 60px rgba(0, 97, 148, 0.10);
  --ah-shadow-glass: 0 4px 30px rgba(0, 0, 0, 0.10);
}

* { box-sizing: border-box; }

body {
  background: var(--ah-surface);
  color: var(--ah-on-surface);
  font-family: var(--ah-font);
  margin: 0;
  overflow-x: hidden;
}

body .wp-site-blocks { min-height: 100vh; }

/* Links inherit color and carry no underline by default; the Tailwind design
   layer (preflight + utilities) controls link appearance. Long-form content
   pages opt back into readable typography via .ah-prose below. */
a { color: inherit; text-decoration: none; }

img { max-width: 100%; height: auto; }

/* ---------------------------------------------------------------------------
   Site polish & micro-interactions (Apple/Stripe-style restraint).
   GPU-accelerated (opacity/transform only); gated behind reduced-motion.
--------------------------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection { background: var(--ah-primary); color: #fff; }

/* Accessible, on-brand focus ring (keyboard users only). */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--ah-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Sticky header earns a subtle shadow + opacity once scrolled. */
.glass-header { transition: background-color 0.3s ease, box-shadow 0.3s ease; }
.glass-header.ah-scrolled {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* Hero bubble-slider: copy crossfade + nav dots. */
.ah-slide-copy { transition: opacity 0.4s ease, transform 0.4s ease; }
.ah-slide-copy.is-out { opacity: 0; transform: translateY(10px); }
.ah-hero-dot {
  width: 9px; height: 9px; border-radius: 9999px;
  background: var(--ah-outline-variant);
  transition: width 0.35s ease, background-color 0.35s ease;
}
.ah-hero-dot.is-active { width: 30px; background: var(--ah-primary); }

/* FAQ accordion chevron. */
.ah-faq-icon { transition: transform 0.3s ease; }
.ah-faq.is-open .ah-faq-icon { transform: rotate(180deg); }

/* Honeycomb logo slider — pure CSS (hexagon clip-path + transform marquee).
   No JS/charting lib; GPU-accelerated, paints instantly. Two interlocking
   staggered rows of hex tiles slide right -> left and loop seamlessly. */
.ah-honeycomb {
  position: relative;
  overflow: hidden;
  /* Reserve vertical room so the magnify never clips or reflows the page. */
  padding: 60px 0 96px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
/* Outer row: holds the honeycomb stagger. */
.ah-honeycomb__row {
  position: relative;
}
/* Tessellation: pointy-top hexes nest with a 3/4-height vertical overlap and a
   half-width horizontal offset on alternate rows — touching, no gaps/overlap. */
.ah-honeycomb__row:not(:first-child) { margin-top: -24px; }
.ah-honeycomb__row:nth-child(even) { margin-left: 42px; }
.ah-honeycomb__row:has(.ah-hex:hover) { z-index: 20; }
/* Inner track: the horizontal marquee, alternating direction per row. */
.ah-honeycomb__track {
  display: flex;
  gap: 0;
  width: max-content;
  will-change: transform;
  animation: ah-honeycomb 90s linear infinite;
}
.ah-honeycomb:hover .ah-honeycomb__track { animation-play-state: paused; }
@keyframes ah-honeycomb {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ah-hex {
  --ah-hex-color: #999;
  position: relative;
  flex: 0 0 auto;
  width: 84px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ah-hex:hover { z-index: 40; }

/* The cell is what scales (fixed size keeps the hexagon undistorted). The
   magnified comb simply rises above its neighbours; they stay put. */
.ah-hex__cell {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.34, 1.4, 0.5, 1);
}
.ah-hex:hover .ah-hex__cell { transform: scale(2); }
.ah-hex__bg {
  position: absolute;
  inset: 0;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--ah-hex-color);
}
.ah-hex__bg::after {
  content: "";
  position: absolute;
  inset: 2.5px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: var(--ah-surface-container-lowest);
  transition: background 0.3s ease;
}
/* On hover the cell fills with its brand colour and the logo flips to white. */
.ah-hex:hover .ah-hex__bg::after { background: var(--ah-hex-color); }
.ah-hex__logo {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  object-fit: contain;
  transition: filter 0.3s ease;
}
.ah-hex:hover .ah-hex__logo { filter: brightness(0) invert(1); }
/* Tiny centred title, dropped below the magnified cell (not scaled). */
.ah-hex__label {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 62px);
  z-index: 3;
  white-space: nowrap;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ah-hex-color);
  background: rgba(255, 255, 255, 0.5);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease 0.1s;
}
.ah-hex:hover .ah-hex__label { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .ah-honeycomb__track { animation: none; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Scroll-reveal: the .ah-reveal class is added by JS only to below-the-fold
     sections, so no-JS and above-the-fold content is never hidden. */
  .ah-reveal {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.6s ease-out,
      transform 0.6s ease-out;
  }
  .ah-reveal.ah-in { opacity: 1; transform: none; }
}

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

/* Readable typography for long-form/legal content (preflight resets defaults). */
.ah-prose { color: var(--ah-on-surface-variant); font-size: 16px; line-height: 1.7; }
.ah-prose > * + * { margin-top: 1.1em; }
.ah-prose h2 { color: var(--ah-on-surface); font-size: 24px; font-weight: 700; line-height: 1.3; margin-top: 2em; }
.ah-prose h3 { color: var(--ah-on-surface); font-size: 18px; font-weight: 700; margin-top: 1.6em; }
.ah-prose p { margin-top: 1.1em; }
.ah-prose ul { list-style: disc; padding-left: 1.4em; }
.ah-prose ol { list-style: decimal; padding-left: 1.4em; }
.ah-prose li { margin-top: 0.4em; }
.ah-prose a { color: var(--ah-primary); text-decoration: underline; text-underline-offset: 0.18em; }
.ah-prose strong { color: var(--ah-on-surface); font-weight: 700; }

.ah-container,
.ah-section > .wp-block-group__inner-container,
.ah-hero > .wp-block-group__inner-container {
  margin-inline: auto;
  max-width: var(--ah-container);
  padding-inline: var(--ah-gutter);
  width: 100%;
}

.ah-site-header {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid color-mix(in srgb, var(--ah-outline-variant) 30%, transparent);
  position: sticky;
  top: 0;
  z-index: 50;
}

.ah-site-header__inner {
  align-items: center;
  display: flex;
  gap: var(--ah-md);
  justify-content: space-between;
  min-height: 80px;
  padding-inline: var(--ah-gutter);
}

.ah-site-title a,
.ah-brand-text {
  color: var(--ah-primary);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.4;
  text-decoration: none;
  text-transform: uppercase;
}

.ah-site-nav,
.ah-site-nav .wp-block-navigation__container {
  align-items: center;
  display: flex;
  gap: var(--ah-lg);
}

.ah-site-nav a,
.ah-footer-nav a {
  color: var(--ah-secondary);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}

.ah-site-nav a:hover,
.ah-footer-nav a:hover { color: var(--ah-primary); }

.ah-nav-cta a,
.wp-block-button.ah-button-primary .wp-block-button__link,
.ah-button-primary a,
.ah-button-primary {
  background: var(--ah-primary) !important;
  border: 1px solid var(--ah-primary) !important;
  border-radius: var(--ah-radius-xl) !important;
  color: var(--ah-on-primary) !important;
  display: inline-flex;
  font-size: 20px;
  font-weight: 700;
  gap: var(--ah-xs);
  justify-content: center;
  line-height: 1.4;
  padding: var(--ah-sm) var(--ah-lg) !important;
  text-decoration: none !important;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.ah-nav-cta a {
  font-size: 14px;
  line-height: 1;
  padding: 10px var(--ah-sm) !important;
}

.wp-block-button.ah-button-primary .wp-block-button__link:hover,
.ah-button-primary:hover {
  box-shadow: 0 20px 40px rgba(0, 97, 148, 0.25);
  opacity: 0.94;
  transform: translateY(-1px);
}

.wp-block-button.ah-button-secondary .wp-block-button__link,
.ah-button-secondary a,
.ah-button-secondary {
  background: rgba(255, 255, 255, 0.50) !important;
  backdrop-filter: blur(8px);
  border: 1px solid color-mix(in srgb, var(--ah-outline) 40%, transparent) !important;
  border-radius: var(--ah-radius-xl) !important;
  color: var(--ah-on-surface) !important;
  display: inline-flex;
  font-size: 20px;
  font-weight: 700;
  justify-content: center;
  line-height: 1.4;
  padding: var(--ah-sm) var(--ah-lg) !important;
  text-decoration: none !important;
}

.wp-block-button.ah-button-secondary .wp-block-button__link:hover,
.ah-button-secondary:hover {
  background: var(--ah-surface-container-lowest) !important;
  border-color: var(--ah-outline) !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.wp-block-button.ah-button-light .wp-block-button__link {
  background: var(--ah-on-primary) !important;
  border: 1px solid var(--ah-on-primary) !important;
  border-radius: var(--ah-radius-xl) !important;
  color: var(--ah-on-surface) !important;
  font-size: 20px;
  font-weight: 700;
  padding: var(--ah-sm) var(--ah-lg) !important;
}

.ah-main { margin-top: 0; }

.ah-section {
  padding-block: var(--ah-xl);
}

.ah-section--white { background: var(--ah-surface-container-lowest); }
.ah-section--surface { background: var(--ah-surface); }
.ah-section--alt { background: color-mix(in srgb, var(--ah-surface-container-low) 30%, transparent); }
.ah-section--border { border-block: 1px solid color-mix(in srgb, var(--ah-outline-variant) 30%, transparent); }
.ah-section--cta { text-align: center; }
.ah-section--cta .ah-lead { margin-inline: auto; }

/* Section bands — corporate rhythm, hairline dividers, consistent padding. */
.ah-band {
  position: relative;
  padding-block: clamp(3.5rem, 7vw, 5.25rem);
}
.ah-band--tight { padding-block: clamp(2.5rem, 5vw, 3.5rem); }
.ah-band--hero {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
/* Home hero — split photo fills section height when viewport shrinks */
#ah-hero {
  display: flex;
  flex-direction: column;
  min-height: max(90vh, 90dvh);
}
#ah-hero .ah-hero-inner {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  min-height: max(90vh, 90dvh);
  width: 100%;
}
.ah-hero-backdrop {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: none;
  pointer-events: none;
}
@media (min-width: 1024px) {
  .ah-hero-backdrop { display: flex; }
}
.ah-hero-backdrop__left { flex: 1 1 54%; }
.ah-hero-photo {
  flex: 0 0 46%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.ah-hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
/* What We Do fallback split hero — image column tracks viewport height */
.ah-wwd-split-hero {
  min-height: max(80vh, 80dvh);
}
@media (min-width: 1024px) {
  .ah-wwd-split-hero { align-items: stretch; }
}
.ah-wwd-split-hero__media {
  position: relative;
  min-height: clamp(12rem, 38vh, 28rem);
  overflow: hidden;
}
@media (min-width: 1024px) {
  .ah-wwd-split-hero__media {
    min-height: 0;
    height: auto;
    align-self: stretch;
  }
}
.ah-wwd-split-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.ah-band--hero::after {
  content: '';
  position: absolute;
  left: max(var(--ah-gutter), calc(50% - 640px));
  right: max(var(--ah-gutter), calc(50% - 640px));
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ah-outline-variant) 55%, transparent), transparent);
  pointer-events: none;
}
.ah-band--divider-top::before {
  content: '';
  position: absolute;
  top: 0;
  left: max(var(--ah-gutter), calc(50% - 640px));
  right: max(var(--ah-gutter), calc(50% - 640px));
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--ah-outline-variant) 60%, transparent), transparent);
  pointer-events: none;
}
.ah-band--primary.ah-band--divider-top::before,
.ah-band--cta.ah-band--divider-top::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
}
.ah-band--border-y {
  border-block: 1px solid color-mix(in srgb, var(--ah-outline-variant) 35%, transparent);
}
.ah-band--white { background: var(--ah-surface-container-lowest); }
.ah-band--surface { background: var(--ah-surface); }
.ah-band--alt { background: color-mix(in srgb, var(--ah-surface-container-low) 45%, transparent); }
.ah-band--primary { background: var(--ah-primary); }
.ah-band--cta { text-align: center; }

.ah-band-head {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.ah-band-eyebrow {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ah-primary);
  margin-bottom: 0.65rem;
}
.ah-band--primary .ah-band-eyebrow,
.ah-band--cta .ah-band-eyebrow {
  color: color-mix(in srgb, var(--ah-on-primary) 75%, transparent);
}

.ah-hero {
  background: var(--ah-surface-container-lowest);
  min-height: 85vh;
  overflow: hidden;
  padding-block: var(--ah-xl);
  position: relative;
}

.ah-hero--split::before {
  background: var(--ah-surface);
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: 50%;
  z-index: 0;
}

.ah-hero--split::after {
  background:
    linear-gradient(90deg, rgba(247,249,251,0.92), rgba(247,249,251,0.10)),
    radial-gradient(circle at 70% 30%, rgba(0,97,148,0.12), transparent 34%),
    linear-gradient(135deg, var(--ah-primary-fixed), var(--ah-surface-container-high));
  content: "";
  inset: 0 0 0 50%;
  position: absolute;
  z-index: 0;
}

.ah-hero > * { position: relative; z-index: 1; }

.ah-hero__grid,
.ah-two-col {
  align-items: center;
  display: grid;
  gap: var(--ah-lg);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
}

.ah-stack > * + * { margin-top: var(--ah-md); }

.ah-eyebrow,
.ah-kicker,
.ah-badge {
  color: var(--ah-primary);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.ah-eyebrow,
.ah-badge {
  background: color-mix(in srgb, var(--ah-primary) 10%, transparent);
  border-radius: var(--ah-radius-full);
  display: inline-block;
  margin-bottom: var(--ah-md);
  padding: 6px var(--ah-sm);
}

.ah-hero__title,
.ah-display {
  color: var(--ah-on-surface);
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--ah-lg);
}

.ah-page-title {
  color: var(--ah-on-surface);
  font-size: clamp(42px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 var(--ah-md);
}

.ah-section h2,
.ah-headline-lg {
  color: var(--ah-on-surface);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0 0 var(--ah-md);
}

.ah-section h3,
.ah-headline-sm {
  color: var(--ah-on-surface);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 var(--ah-sm);
}

.ah-hero__lead,
.ah-lead {
  color: color-mix(in srgb, var(--ah-on-surface-variant) 90%, transparent);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: var(--ah-xl);
  max-width: 680px;
}

.ah-body,
.ah-section p,
.ah-section li {
  color: var(--ah-on-surface-variant);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.ah-muted { color: var(--ah-secondary); }

.ah-card-grid,
.ah-grid-3 {
  display: grid;
  gap: var(--ah-md);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ah-grid-2 {
  display: grid;
  gap: var(--ah-md);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ah-card,
.ah-panel,
.ah-tier,
.ah-service-card,
.ah-ticket-card,
.ah-approval-card,
.ah-bento-card {
  background: color-mix(in srgb, var(--ah-surface-bright) 50%, transparent);
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 50%, transparent);
  border-radius: var(--ah-radius-xl);
  padding: var(--ah-lg);
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease, background 300ms ease;
}

.ah-card:hover,
.ah-service-card:hover,
.ah-tier:hover,
.ah-bento-card:hover {
  border-color: color-mix(in srgb, var(--ah-primary) 30%, transparent);
  box-shadow: var(--ah-shadow-card-hover);
  transform: translateY(-6px);
}

.ah-card--white,
.ah-panel,
.ah-tier,
.ah-service-card,
.ah-ticket-card,
.ah-approval-card {
  background: var(--ah-surface-container-lowest);
}

.ah-card--dark {
  background: var(--ah-inverse-surface);
  border-color: color-mix(in srgb, var(--ah-on-primary) 12%, transparent);
  color: var(--ah-inverse-on-surface);
}

.ah-card--dark h3,
.ah-card--dark p { color: var(--ah-inverse-on-surface); }

.ah-glass,
.ah-hero-card,
.ah-callout,
.ah-form-shell {
  background: rgba(255, 255, 255, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.50);
  border-radius: var(--ah-radius-xl);
  box-shadow: var(--ah-shadow-card);
  padding: var(--ah-lg);
  position: relative;
}

.ah-glow {
  background: color-mix(in srgb, var(--ah-primary-fixed-dim) 10%, transparent);
  border-radius: 999px;
  filter: blur(44px);
  height: 16rem;
  position: absolute;
  right: -5rem;
  top: -5rem;
  width: 16rem;
  z-index: 0;
}

.ah-stat-number,
.ah-price {
  color: var(--ah-primary);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: var(--ah-xs) 0;
}

.ah-label {
  color: var(--ah-secondary);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.ah-icon {
  color: var(--ah-primary);
  font-size: 44px;
  line-height: 1;
}

.ah-progress-track {
  background: color-mix(in srgb, var(--ah-primary) 20%, transparent);
  border-radius: 999px;
  height: 6px;
  overflow: hidden;
  width: 128px;
}

.ah-progress-bar {
  background: var(--ah-primary);
  height: 100%;
  width: 33.333%;
}

.ah-check-list,
.ah-clean-list {
  margin: 0;
  padding-left: 1.2rem;
}

.ah-check-list li,
.ah-clean-list li { margin-block: var(--ah-xs); }

.ah-form-grid {
  display: grid;
  gap: var(--ah-sm);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ah-field,
.ah-form-shell input,
.ah-form-shell select,
.ah-form-shell textarea,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
  background: var(--ah-surface-container-lowest) !important;
  border: 1px solid var(--ah-outline-variant) !important;
  border-radius: var(--ah-radius-xl) !important;
  color: var(--ah-on-surface) !important;
  font-family: var(--ah-font) !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
  min-height: 50px;
  padding: var(--ah-sm) !important;
  width: 100%;
}

.ah-field {
  align-items: center;
  display: flex;
  color: var(--ah-secondary) !important;
}

.ah-field--wide { grid-column: 1 / -1; }

.ah-step-dots {
  display: flex;
  gap: var(--ah-xs);
  justify-content: center;
  margin-bottom: var(--ah-lg);
}

.ah-step-dot {
  background: var(--ah-outline-variant);
  border-radius: 999px;
  height: 8px;
  width: 16px;
}

.ah-step-dot.is-active {
  background: var(--ah-primary);
  width: 32px;
}

.ah-account-grid {
  display: grid;
  gap: var(--ah-md);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ah-account-grid .ah-panel:first-child { grid-column: 1 / -1; }

.woocommerce-account .woocommerce,
.woocommerce .woocommerce-MyAccount-content,
.woocommerce .woocommerce-MyAccount-navigation {
  border-color: var(--ah-outline-variant) !important;
  color: var(--ah-on-surface-variant);
  font-family: var(--ah-font);
}

.woocommerce .button,
.woocommerce a.button,
.woocommerce button.button {
  background: var(--ah-primary) !important;
  border-radius: var(--ah-radius-xl) !important;
  color: var(--ah-on-primary) !important;
  font-weight: 700 !important;
}

.ah-site-footer {
  background: var(--ah-surface-container-lowest);
  border-top: 1px solid color-mix(in srgb, var(--ah-outline-variant) 50%, transparent);
  color: var(--ah-secondary);
  padding-block: var(--ah-lg);
}

.ah-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: var(--ah-xl);
}
@media (min-width: 640px) {
  .ah-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem 1.25rem;
  }
  .ah-footer-col--brand,
  .ah-footer-col--contact {
    grid-column: 1 / -1;
  }
}
@media (min-width: 768px) {
  .ah-footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ah-xl);
  }
  .ah-footer-col--brand,
  .ah-footer-col--contact {
    grid-column: auto;
  }
}

.ah-footer-heading {
  margin: 0 0 0.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ah-on-surface);
}
@media (min-width: 768px) {
  .ah-footer-heading {
    margin-bottom: var(--ah-md);
  }
}

.ah-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ah-footer-links a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.875rem;
  line-height: 1.35;
  color: var(--ah-on-surface-variant);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.ah-footer-links a:hover {
  color: var(--ah-primary);
}
@media (min-width: 768px) {
  .ah-footer-links a {
    padding: 0.3rem 0;
  }
}

.ah-footer-social {
  margin-top: 0.75rem;
}
@media (min-width: 768px) {
  .ah-footer-social {
    margin-top: var(--ah-lg);
  }
}

.ah-footer-title {
  color: var(--ah-on-surface);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 var(--ah-xs);
}

.ah-footer-legal {
  border-top: 1px solid color-mix(in srgb, var(--ah-outline-variant) 50%, transparent);
  font-size: 14px;
  margin-top: var(--ah-lg);
  padding-top: var(--ah-md);
}

@media (max-width: 980px) {
  .ah-hero__grid,
  .ah-two-col,
  .ah-grid-2,
  .ah-grid-3,
  .ah-card-grid,
  .ah-account-grid,
  .ah-form-grid {
    grid-template-columns: 1fr;
  }

  .ah-hero--split::after { display: none; }
  .ah-hero--split::before { width: 100%; }

  .ah-site-header__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--ah-sm);
    padding-block: var(--ah-sm);
  }

  .ah-site-nav,
  .ah-site-nav .wp-block-navigation__container {
    flex-wrap: wrap;
    gap: var(--ah-sm);
  }

  .ah-hero__title,
  .ah-display { font-size: 48px; }
}

/* Tailwind design-port layer: extracted from the high-fidelity AgencyHut HTML pages. */
.material-symbols-outlined {
  display: inline-block;
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
}

.ah-design-home .ah-section { padding-block: var(--ah-xl); }
.ah-design-home .ah-center { text-align: center; }
.ah-design-home .ah-center .ah-lead { margin-inline: auto; }
.ah-design-home .ah-section-heading { margin-bottom: var(--ah-xl); }

.ah-design-hero {
  align-items: center;
  background: var(--ah-surface-container-lowest);
  display: flex;
  min-height: 85vh;
  overflow: hidden;
  padding-block: 0;
  position: relative;
}

.ah-design-hero__backdrop { display: flex; inset: 0; position: absolute; z-index: 0; }
.ah-design-hero__left-bg { background: var(--ah-surface); flex: 1 1 50%; }
.ah-design-hero__image-wrap { flex: 1 1 50%; min-height: 85vh; overflow: hidden; position: relative; }
.ah-design-hero__image-wrap img { height: 100%; object-fit: cover; width: 100%; }
.ah-design-hero__image-wrap::after { background: color-mix(in srgb, var(--ah-primary) 5%, transparent); content: ""; inset: 0; position: absolute; }

.ah-design-hero__content {
  align-items: center;
  display: grid;
  gap: var(--ah-lg);
  grid-template-columns: minmax(0, 1fr) minmax(320px, 1fr);
  margin-inline: auto;
  max-width: var(--ah-container);
  padding: var(--ah-xl) var(--ah-gutter);
  position: relative;
  width: 100%;
  z-index: 1;
}

.ah-design-hero__copy { max-width: 680px; }
.ah-design-eyebrow {
  background: color-mix(in srgb, var(--ah-primary) 10%, transparent);
  border-radius: 999px;
  color: var(--ah-primary);
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1;
  margin-bottom: var(--ah-md);
  padding: 8px var(--ah-sm);
  text-transform: uppercase;
}
.ah-design-hero .ah-hero__title { font-size: clamp(48px, 6vw, 80px); margin-bottom: var(--ah-lg); }
.ah-design-actions, .ah-design-cta-actions { display: flex; flex-wrap: wrap; gap: var(--ah-sm); }

.ah-design-stat-card, .ah-design-phase-card {
  background: color-mix(in srgb, var(--ah-surface-bright) 50%, transparent);
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 50%, transparent);
  border-radius: 1rem;
  padding: var(--ah-lg);
  text-align: center;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}
.ah-design-stat-card:hover, .ah-design-phase-card:hover, .ah-design-partner-card:hover { border-color: color-mix(in srgb, var(--ah-primary) 30%, transparent); box-shadow: var(--ah-shadow-card-hover); transform: translateY(-6px); }
.ah-design-icon { color: var(--ah-primary); display: inline-flex; font-size: 48px; justify-content: center; margin-bottom: var(--ah-sm); }
.ah-design-icon--large { font-size: 64px; font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 48; margin-bottom: var(--ah-lg); }

.ah-design-model-head { align-items: end; display: flex; gap: var(--ah-md); justify-content: space-between; margin-bottom: var(--ah-xl); }
.ah-design-model-head > div:first-child { max-width: 680px; }
.ah-design-partner-card { align-items: flex-start; border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 60%, transparent); border-radius: var(--ah-radius-xl); display: flex; gap: var(--ah-md); padding: var(--ah-md); transition: border-color 300ms ease, background 300ms ease, transform 300ms ease, box-shadow 300ms ease; }
.ah-design-partner-card:hover { background: color-mix(in srgb, var(--ah-surface-container-low) 30%, transparent); }
.ah-design-partner-card h4 { color: var(--ah-on-surface); font-size: 14px; font-weight: 800; letter-spacing: 0.06em; margin: 0 0 var(--ah-xs); text-transform: uppercase; }
.ah-design-partner-card p { margin: 0; }

.ah-design-expect { align-items: center; display: grid; gap: var(--ah-xl); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ah-design-image-card { border-radius: 1rem; box-shadow: 0 24px 70px rgba(0,0,0,0.20); min-height: 520px; overflow: hidden; position: relative; }
.ah-design-image-card img { height: 100%; min-height: 520px; object-fit: cover; transition: transform 700ms ease; width: 100%; }
.ah-design-image-card:hover img { transform: scale(1.05); }
.ah-design-image-card::after { background: color-mix(in srgb, var(--ah-primary) 10%, transparent); content: ""; inset: 0; position: absolute; }
.ah-design-check-list { display: grid; gap: var(--ah-md); list-style: none; margin: 0 0 var(--ah-xl); padding: 0; }
.ah-design-check-list li { align-items: flex-start; color: var(--ah-on-surface); display: flex; font-size: 18px; font-weight: 600; gap: var(--ah-sm); line-height: 1.6; }
.ah-design-check-list .material-symbols-outlined { color: var(--ah-primary); font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24; margin-top: 2px; }

.ah-design-quote { background: var(--ah-surface-container-lowest); border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 60%, transparent); border-radius: 1rem; box-shadow: var(--ah-shadow-card); overflow: hidden; padding: var(--ah-lg); position: relative; }
.ah-design-quote__mark { color: color-mix(in srgb, var(--ah-primary) 5%, transparent); font-size: 120px; left: -8px; position: absolute; top: -16px; }
.ah-design-avatar { align-items: center; background: color-mix(in srgb, var(--ah-primary) 10%, transparent); border-radius: 999px; color: var(--ah-primary); display: inline-flex; height: 48px; justify-content: center; width: 48px; }
.ah-design-author { align-items: center; display: flex; gap: var(--ah-sm); margin-top: var(--ah-md); position: relative; z-index: 1; }

.ah-design-blue-cta { background: var(--ah-primary); color: var(--ah-on-primary); overflow: hidden; position: relative; text-align: center; }
.ah-design-blue-cta::before { background-image: linear-gradient(rgba(255,255,255,0.16) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.16) 1px, transparent 1px); background-size: 48px 48px; content: ""; inset: 0; opacity: 0.35; position: absolute; }
.ah-design-blue-cta > * { position: relative; z-index: 1; }
.ah-design-blue-cta h2, .ah-design-blue-cta p { color: var(--ah-on-primary); }
.ah-design-blue-cta .ah-button-secondary { color: var(--ah-on-primary) !important; border-color: rgba(255,255,255,0.35) !important; background: transparent !important; }
.ah-design-blue-cta .ah-button-primary { background: var(--ah-on-primary) !important; color: var(--ah-primary) !important; border-color: var(--ah-on-primary) !important; }

@media (max-width: 980px) {
  .ah-design-hero__backdrop { display: none; }
  .ah-design-hero { background: var(--ah-surface); }
  .ah-design-hero__content, .ah-design-expect { grid-template-columns: 1fr; }
  .ah-design-model-head { align-items: flex-start; flex-direction: column; }
  .ah-design-image-card, .ah-design-image-card img { min-height: 360px; }
}

/* ============================================================
   Engagement lifecycle — interactive powerline flow (D3)
   ============================================================ */
.ah-flow-tabs {
  position: relative;
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.3rem;
  background: var(--ah-surface-container);
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 60%, transparent);
  border-radius: 9999px;
}
.ah-flow-tab {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 0;
  border-radius: 9999px;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--ah-on-surface-variant);
  transition: color 0.35s ease;
}
.ah-flow-tab .material-symbols-outlined { font-size: 1.15rem; }
.ah-flow-tab[aria-selected="true"] { color: var(--ah-primary); font-weight: 700; }
.ah-flow-tab-glider {
  position: absolute;
  z-index: 1;
  top: 0.3rem;
  left: 0;
  width: 0;
  height: calc(100% - 0.6rem);
  background: var(--ah-surface-container-lowest);
  border-radius: 9999px;
  box-shadow: 0 4px 14px -4px rgba(0, 0, 0, 0.2);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.ah-flow-stage { position: relative; }

.ah-flow-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.ah-flow-track.is-back { display: none; }

.ah-flow-card {
  position: relative;
  overflow: hidden;
  text-align: left;
  cursor: pointer;
  background: var(--ah-surface-bright);
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 60%, transparent);
  border-radius: 1.25rem;
  padding: 1.75rem;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.45s ease,
    border-color 0.45s ease, background-color 0.45s ease;
}
.ah-flow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ah-primary) 16%, transparent), transparent 62%);
  transition: opacity 0.45s ease;
}
.ah-flow-card:hover,
.ah-flow-card.is-active {
  border-color: color-mix(in srgb, var(--ah-primary) 45%, transparent);
  background: var(--ah-primary-fixed);
}
.ah-flow-card.is-active {
  box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--ah-primary) 55%, transparent);
}
.ah-flow-card.is-active::before { opacity: 1; }
.ah-flow-card > * { position: relative; }
.ah-flow-icon { color: var(--ah-primary); margin-bottom: 1rem; transition: transform 0.45s ease; }
.ah-flow-icon .material-symbols-outlined { font-size: 2.5rem; }
.ah-flow-card.is-active .ah-flow-icon { transform: scale(1.08); }
.ah-flow-num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ah-primary);
  margin-bottom: 0.4rem;
}
.ah-flow-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ah-on-surface);
  margin-bottom: 0.55rem;
}
.ah-flow-desc { font-size: 0.92rem; line-height: 1.55; color: var(--ah-on-surface-variant); }
.ah-flow-node {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 9999px;
  background: var(--ah-outline-variant);
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.ah-flow-card.is-active .ah-flow-node {
  background: var(--ah-primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--ah-primary) 22%, transparent);
}

.ah-flow-wire { display: none; }

.ah-flow-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.ah-flow-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  cursor: pointer;
  color: var(--ah-on-surface);
  background: var(--ah-surface-container-lowest);
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 70%, transparent);
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.ah-flow-arrow:hover {
  background: var(--ah-primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px -10px color-mix(in srgb, var(--ah-primary) 55%, transparent);
}
.ah-flow-dots { display: flex; align-items: center; gap: 0.5rem; }
.ah-flow-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: var(--ah-outline-variant);
  cursor: pointer;
  transition: width 0.35s ease, background-color 0.35s ease;
}
.ah-flow-dot.is-active { width: 28px; background: var(--ah-primary); }

@keyframes ah-flow-enter {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.ah-flow-track.is-enter .ah-flow-card { animation: ah-flow-enter 0.5s cubic-bezier(0.4, 0, 0.2, 1) backwards; }
.ah-flow-track.is-enter .ah-flow-card:nth-child(2) { animation-delay: 0.06s; }
.ah-flow-track.is-enter .ah-flow-card:nth-child(3) { animation-delay: 0.12s; }
.ah-flow-track.is-enter .ah-flow-card:nth-child(4) { animation-delay: 0.18s; }

/* ============================================================
   Entanglement hero — two sliders that scrub the message
   ============================================================ */
/* Confined to parent hero section — never covers the rest of the page. */
.ah-entangle-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.ah-ent-track { height: 7rem; max-width: 42rem; margin: 0 auto 0.5rem; }
.ah-ent-copy { transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1); }
.ah-ent-copy.is-out { opacity: 0; transform: translateY(8px); }
/* Reserve height for the tallest message so swapping copy never reflows the page
   (copy only swaps on desktop drag; touch keeps the default). Centre vertically so
   shorter messages don't leave an odd gap. */
#ah-ent-title { min-height: 2.6em; }
#ah-ent-sub { min-height: 5em; }
.ah-ent-you-word { color: #6c5ce7; font-weight: 700; }
.ah-ent-client-word { color: #11a597; font-weight: 700; }
.ah-entangle-hint { display: none; }
@media (pointer: fine) {
  .ah-entangle-canvas { pointer-events: none; }
  .ah-entangle-hint { display: block; }
}

/* Edge-drag expansion: hero section grows when you pull a particle
   to the boundary, then snaps back on release. */
/* ============================================================
   Contact "Abduct the Services" — UFO night scene (Act 1)
   ============================================================ */
.ah-ufo-hero { position: relative; min-height: 100vh; display: flex; align-items: flex-start; overflow: hidden; background: #05030f; }
.ah-ufo-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ah-ufo-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; touch-action: pan-y; }
.ah-ufo-content { z-index: 2; padding-top: 12vh; }
/* soft fade at the hero's bottom so it melts into the homeworld below */
.ah-ufo-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 140px; background: linear-gradient(180deg, rgba(188,220,243,0), #bcdcf3); z-index: 3; pointer-events: none; }
.ah-ufo-hud {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.05rem; border-radius: 9999px;
  background: rgba(125, 180, 255, 0.12);
  border: 1px solid rgba(125, 180, 255, 0.32);
  color: #dce8ff; font-weight: 600; font-size: 0.9rem;
  backdrop-filter: blur(4px);
}
.ah-ufo-count { font-weight: 800; color: #fff; font-size: 1.05rem; }
.ah-ufo-skip { color: #bcd4ff; border-bottom: 1px solid transparent; transition: color 0.25s ease, border-color 0.25s ease; }
.ah-ufo-skip:hover { color: #fff; border-bottom-color: #7db4ff; }
/* completion state: field is empty, show the "go to your homeworld" call-out */
.ah-ufo-done { display: none; }
.ah-ufo-hero.is-complete .ah-ufo-intro { display: none; }
.ah-ufo-hero.is-complete .ah-ufo-done { display: block; }
.ah-ufo-go {
  pointer-events: auto; display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 2rem; border-radius: 9999px; font-weight: 700; font-size: 1rem;
  background: linear-gradient(135deg, #7db4ff, #6c5ce7); color: #fff;
  box-shadow: 0 14px 32px -10px rgba(124, 92, 231, 0.65); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ah-ufo-go:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(124, 92, 231, 0.8); }
/* full-viewport overlay for the ship's journey/landing/deposit across the scroll */
.ah-ufo-overlay { position: fixed; inset: 0; z-index: 55; pointer-events: none; }
.ah-ufo-hero.is-warped .ah-ufo-scene,
.ah-ufo-hero.is-warped .ah-ufo-canvas { opacity: 0; transition: opacity 0.9s ease; }
.ah-ufo-hero.is-warped .ah-ufo-content { opacity: 0; transition: opacity 0.6s ease; }
.ah-ufo-grass { transform-box: fill-box; transform-origin: 50% 100%; animation: ah-ufo-sway 6s ease-in-out infinite alternate; }
@keyframes ah-ufo-sway { from { transform: rotate(-1.1deg); } to { transform: rotate(1.1deg); } }
@media (prefers-reduced-motion: reduce) { .ah-ufo-grass { animation: none; } }

/* ============================================================
   Contact Act 3 — the AgencyHut homeworld (daytime, brand-light)
   ============================================================ */
.ah-alien { position: relative; overflow: hidden; margin-top: 0;
  background:
    radial-gradient(circle at 82% 14%, rgba(255,250,224,0.9), rgba(255,250,224,0) 20%),
    linear-gradient(180deg, #bcdcf3 0%, #dcf0fc 46%, #eef4ea 100%);
}
.ah-alien-note .material-symbols-outlined { line-height: 1; }

/* stage: pyramid LEFT, containment stands RIGHT (desktop); stacked on mobile */
.ah-slot-label { text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.72rem; font-weight: 700; color: #5f7493; text-align: center; margin-bottom: 1rem; }
.ah-alien-stage {
  position: relative; display: grid; gap: 1.5rem 2.5rem; align-items: center; margin-bottom: 2.5rem;
  grid-template-columns: 1fr; grid-template-areas: "pyr" "deck";
}
.ah-pyramid { grid-area: pyr; width: 100%; max-width: 400px; height: auto; margin: 0 auto; filter: drop-shadow(0 16px 24px rgba(40,70,110,0.18)); }
.ah-slot-deck { grid-area: deck; }
.ah-slot-array { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem 0.75rem; justify-items: center; }
.ah-alien-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
@media (min-width: 768px) { .ah-slot-array { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .ah-alien-stage { grid-template-columns: minmax(0, 460px) 1fr; grid-template-areas: "pyr deck"; gap: 2.5rem 3rem; }
  .ah-pyramid { max-width: 460px; }
  .ah-slot-array { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.ah-slot { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.25rem; cursor: pointer; padding: 0.4rem 0.3rem; border-radius: 0.75rem; transition: background-color 0.25s ease; }
.ah-slot:hover { background: rgba(0,97,148,0.06); }
.ah-slot-input { position: absolute; opacity: 0; pointer-events: none; }
.ah-slot-orb {
  width: 54px; height: 54px; border-radius: 9999px; display: flex; align-items: center; justify-content: center;
  border: 2px dashed #b8c6da; background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}
.ah-slot-orb img { width: 28px; height: 28px; object-fit: contain; opacity: 0.3; filter: grayscale(1); transition: opacity 0.3s ease, filter 0.3s ease; }
.ah-slot-abbr { font-weight: 800; font-size: 0.9rem; color: #9fb0c6; }
/* the stand/pedestal under each orb */
.ah-slot-stand { width: 34px; height: 14px; background: #cdd9e8; clip-path: polygon(16% 0, 84% 0, 100% 100%, 0 100%); margin-top: 2px; box-shadow: 0 2px 4px rgba(40,70,110,0.18); }
.ah-slot-name { font-size: 0.68rem; font-weight: 600; color: #5f7493; text-align: center; line-height: 1.15; margin-top: 0.15rem; }
.ah-slot-input:checked ~ .ah-slot-orb {
  border-style: solid; border-color: var(--orb, #006194);
  background: color-mix(in srgb, var(--orb, #006194) 16%, #ffffff);
  box-shadow: 0 6px 18px -4px color-mix(in srgb, var(--orb, #006194) 55%, transparent);
}
.ah-slot-input:checked ~ .ah-slot-orb img { opacity: 1; filter: none; }
.ah-slot-input:checked ~ .ah-slot-orb .ah-slot-abbr { color: var(--orb, #006194); }
.ah-slot-input:checked ~ .ah-slot-name { color: #16324a; }
.ah-slot-input:focus-visible ~ .ah-slot-orb { outline: 2px solid var(--ah-primary); outline-offset: 3px; }
.ah-slot.is-landed .ah-slot-orb { animation: ah-slot-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes ah-slot-pop { 0% { transform: scale(0.4); opacity: 0.4; } 60% { transform: scale(1.14); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ah-slot.is-landed .ah-slot-orb { animation: none; } }

/* light form card */
.ah-alien-fields { position: relative; z-index: 2; background: #ffffff; border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 50%, transparent); border-radius: 1.25rem; box-shadow: 0 24px 60px -28px rgba(20,50,90,0.28); padding: 2rem; }
@media (min-width: 768px) { .ah-alien-fields { padding: 2.5rem 3rem; } }
.ah-af-grid { display: grid; grid-template-columns: 1fr; gap: 0 1.5rem; }
@media (min-width: 768px) { .ah-af-grid { grid-template-columns: 1fr 1fr; } }
.ah-af { margin-bottom: 1.4rem; }
.ah-af label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--ah-on-surface-variant); margin-bottom: 0.4rem; }
.ah-af input, .ah-af select, .ah-af textarea {
  width: 100%; background: var(--ah-surface-container-low); border: 0; border-bottom: 1px solid var(--ah-outline-variant);
  color: var(--ah-on-surface); padding: 0.65rem 0.6rem; border-radius: 0.4rem 0.4rem 0 0; transition: border-color 0.25s ease;
}
.ah-af textarea { resize: none; }
.ah-af input:focus, .ah-af select:focus, .ah-af textarea:focus { outline: none; border-bottom-color: var(--ah-primary); }
.ah-af--full { margin-bottom: 1.4rem; }
.ah-af-submit {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-top: 0.5rem;
  padding: 1rem 2.6rem; border: 0; border-radius: 9999px; cursor: pointer;
  background: var(--ah-primary); color: #fff; font-weight: 700; font-size: 1rem;
  box-shadow: 0 14px 32px -12px color-mix(in srgb, var(--ah-primary) 65%, transparent); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.ah-af-submit:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -14px color-mix(in srgb, var(--ah-primary) 75%, transparent); }
.ah-af-submit:active { transform: translateY(0); }

/* ============================================================
   What We Do — engineering backbone circuit board hero
   ============================================================ */
.ah-circuit { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; background: #04121f; }
.ah-circuit-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.ah-circuit-content { position: relative; z-index: 5; width: 100%; padding-top: 8vh; padding-bottom: 8vh; }
.ah-circuit-content .max-w-xl { pointer-events: auto; position: relative; z-index: 1; }
.ah-circuit-fallback { display: none; }

/* Tailwind build omits pointer-events-auto unless scanned; keep for interactive hero layers. */
.pointer-events-auto { pointer-events: auto; }

.ah-flow-track-title { display: none; }

/* Mode toggle (interactive <-> simple) */
.ah-flow-mode {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.05rem;
  border-radius: 9999px;
  background: transparent;
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 70%, transparent);
  color: var(--ah-on-surface-variant);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.ah-flow-mode:hover { border-color: var(--ah-primary); color: var(--ah-primary); }
.ah-flow-mode .material-symbols-outlined { font-size: 1.1rem; }
@media (min-width: 1024px) {
  .ah-flow-mode { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
}

/* Simple / backwards-compatible view: two titled rows of static cards. */
[data-ah-flow].is-simple .ah-flow-tabs,
[data-ah-flow].is-simple .ah-flow-nav,
[data-ah-flow].is-simple .ah-flow-wire { display: none; }
[data-ah-flow].is-simple .ah-flow-mode { position: static; transform: none; }
[data-ah-flow].is-simple .ah-flow-stage { perspective: none; min-height: 0; height: auto !important; }
[data-ah-flow].is-simple .ah-flow-track {
  position: static;
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
  cursor: default;
  opacity: 1 !important;
  filter: none !important;
  transform: none !important;
}
@media (min-width: 640px) { [data-ah-flow].is-simple .ah-flow-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { [data-ah-flow].is-simple .ah-flow-track { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
[data-ah-flow].is-simple .ah-flow-track-title {
  display: block;
  grid-column: 1 / -1;
  margin-bottom: 0.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ah-primary);
}
[data-ah-flow].is-simple .ah-flow-card {
  position: static !important;
  width: auto !important;
  transform: none !important;
  cursor: default;
  border-style: solid !important;
  border-width: 1px !important;
  border-color: color-mix(in srgb, var(--ah-outline-variant) 60%, transparent) !important;
  background: var(--ah-surface-bright) !important;
  box-shadow: none !important;
}
[data-ah-flow].is-simple .ah-flow-card::before { display: none; }
[data-ah-flow].is-simple .ah-flow-card:hover {
  border-color: color-mix(in srgb, var(--ah-primary) 45%, transparent) !important;
}
[data-ah-flow].is-simple .ah-flow-node { display: none; }

/* Desktop: 3D circuit board — draggable nodes, wires follow, dual depth planes */
@media (min-width: 1024px) {
  .ah-flow-stage {
    perspective: 1500px;
    perspective-origin: 50% 42%;
    min-height: 30rem;
    overflow: hidden;
  }
  .ah-flow-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, color-mix(in srgb, var(--ah-outline-variant) 60%, transparent) 1.2px, transparent 1.4px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(ellipse 78% 80% at 50% 46%, #000 52%, transparent 100%);
            mask-image: radial-gradient(ellipse 78% 80% at 50% 46%, #000 52%, transparent 100%);
    opacity: 0.65;
  }
  .ah-flow-wire {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 15;
    pointer-events: none;
  }

  .ah-flow-track {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 10;
    pointer-events: none; /* the full-bleed plane must not block the other plane */
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
  }
  .ah-flow-track.is-front { z-index: 20; display: block; transform: translateY(48px) scale(1); opacity: 1; }
  .ah-flow-track.is-back {
    z-index: 10;
    display: block;
    transform: translateY(-66px) scale(0.82);
    opacity: 0.62;
    filter: grayscale(0.4);
    cursor: pointer;
  }
  .ah-flow-track.is-back:hover { transform: translateY(-72px) scale(0.84); opacity: 0.82; filter: grayscale(0.1); }
  .ah-flow-track.is-back .ah-flow-card {
    cursor: pointer;
    box-shadow: none;
    background: var(--ah-surface-container-low);
    border-style: dashed;
    border-width: 2px;
    border-color: color-mix(in srgb, var(--ah-primary) 55%, transparent);
  }
  .ah-flow-track.is-back .ah-flow-card:hover {
    background: var(--ah-surface-container-low);
    border-color: color-mix(in srgb, var(--ah-primary) 80%, transparent);
  }

  .ah-flow-card {
    position: absolute;
    top: 0;
    left: 0;
    cursor: grab;
    will-change: transform;
    touch-action: none;
    pointer-events: auto; /* cards (and the pill) catch clicks; their plane does not */
    z-index: 1;
  }
  .ah-flow-card.is-active { z-index: 5; }
  .ah-flow-card.is-swapping { transition: none; }
  .ah-flow-card.is-dragging {
    cursor: grabbing;
    z-index: 30;
    transition: none;
    box-shadow: 0 24px 44px -22px color-mix(in srgb, var(--ah-primary) 55%, transparent);
  }

}

@media (prefers-reduced-motion: reduce) {
  .ah-flow-track,
  .ah-flow-card,
  .ah-flow-tab-glider,
  .ah-flow-wire .ah-wire-prog { transition: none !important; }
  .ah-flow-track.is-enter .ah-flow-card { animation: none !important; }
}

/* ── Home — stats band, backbone model, partner grid ─────────────────── */
.ah-home-stats-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 30%, transparent 80%);
}
@media (prefers-reduced-motion: no-preference) {
  .ah-home-stats.ah-in .ah-stat-card {
    animation: ah-home-stat-in 0.55s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  }
  .ah-home-stats.ah-in .ah-stat-card:nth-child(1) { animation-delay: 0.04s; }
  .ah-home-stats.ah-in .ah-stat-card:nth-child(2) { animation-delay: 0.1s; }
  .ah-home-stats.ah-in .ah-stat-card:nth-child(3) { animation-delay: 0.16s; }
  .ah-home-stats.ah-in .ah-stat-card:nth-child(4) { animation-delay: 0.22s; }
}
@keyframes ah-home-stat-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.ah-bbm-section {
  position: relative;
  overflow: hidden;
  overflow-anchor: none;
}
.ah-bbm-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 20%, color-mix(in srgb, var(--ah-primary) 7%, transparent), transparent 40%),
    radial-gradient(circle at 92% 80%, color-mix(in srgb, var(--ah-primary) 5%, transparent), transparent 35%);
}

.ah-bbm-accordion {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow-anchor: none;
}
@media (min-width: 768px) {
  .ah-bbm-accordion:not(.is-stack) {
    flex-direction: row;
    align-items: stretch;
    gap: 0.5rem;
    height: 26rem;
    min-height: 26rem;
    max-height: 26rem;
    overflow: hidden;
  }
}

.ah-bbm-panel {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 55%, transparent);
  border-radius: 1rem;
  overflow: hidden;
  transition: flex 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.35s ease;
}
@media (min-width: 768px) {
  .ah-bbm-accordion:not(.is-stack) .ah-bbm-panel {
    flex: 0 0 5.25rem;
    min-width: 5.25rem;
    height: 26rem;
    min-height: 26rem;
    max-height: 26rem;
  }
  .ah-bbm-accordion:not(.is-stack) .ah-bbm-panel.is-open {
    flex: 1 1 0;
    min-width: 0;
  }
}
.ah-bbm-panel.is-open {
  border-color: color-mix(in srgb, var(--ah-primary) 45%, transparent);
  box-shadow: 0 24px 52px -26px color-mix(in srgb, var(--ah-primary) 55%, transparent);
}
.ah-bbm-panel:not(.is-open):hover {
  border-color: color-mix(in srgb, var(--ah-primary) 28%, transparent);
  box-shadow: 0 12px 32px -20px color-mix(in srgb, var(--ah-primary) 35%, transparent);
}
@media (min-width: 768px) {
  .ah-bbm-panel:not(.is-open) {
    background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--ah-surface-container-low) 65%, #fff) 100%);
  }
  .ah-bbm-panel:not(.is-open)::after {
    content: '';
    position: absolute;
    inset: 1.25rem auto 1.25rem 0;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: color-mix(in srgb, var(--ah-primary) 22%, var(--ah-outline-variant));
    transition: background 0.25s ease, width 0.25s ease;
  }
  .ah-bbm-panel:not(.is-open):hover::after {
    width: 4px;
    background: var(--ah-primary);
  }
}

.ah-bbm-trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  text-align: inherit;
  color: inherit;
  font: inherit;
}
@media (min-width: 768px) {
  .ah-bbm-accordion:not(.is-stack) .ah-bbm-trigger {
    position: absolute;
    inset: 0;
    z-index: 2;
    height: 100%;
  }
  .ah-bbm-accordion:not(.is-stack) .ah-bbm-panel.is-open .ah-bbm-trigger {
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
  }
}
.ah-bbm-trigger:focus-visible {
  outline: 2px solid var(--ah-primary);
  outline-offset: -2px;
}

.ah-bbm-collapsed {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.25rem;
  width: 100%;
  position: relative;
}
@media (min-width: 768px) {
  .ah-bbm-accordion:not(.is-stack) .ah-bbm-collapsed {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    min-height: 0;
    padding: 1.35rem 0.75rem 1.5rem;
    gap: 1rem;
  }
  .ah-bbm-accordion:not(.is-stack) .ah-bbm-panel.is-open .ah-bbm-collapsed { display: none; }
}
.ah-bbm-panel.is-open .ah-bbm-collapsed { display: none; }

.ah-bbm-phase-num {
  flex-shrink: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ah-primary);
  background: color-mix(in srgb, var(--ah-primary) 9%, transparent);
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ah-primary) 14%, transparent);
}
@media (min-width: 768px) {
  .ah-bbm-phase-num {
    writing-mode: horizontal-tb;
    transform: none;
  }
}

.ah-bbm-collapsed-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--ah-primary) 8%, #fff);
  border: 1px solid color-mix(in srgb, var(--ah-primary) 12%, transparent);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
@media (min-width: 768px) {
  .ah-bbm-collapsed-icon-wrap {
    width: 3.25rem;
    height: 3.25rem;
    margin-block: auto;
  }
  .ah-bbm-panel:not(.is-open):hover .ah-bbm-collapsed-icon-wrap {
    background: color-mix(in srgb, var(--ah-primary) 14%, #fff);
    border-color: color-mix(in srgb, var(--ah-primary) 28%, transparent);
    transform: scale(1.05);
  }
}

.ah-bbm-collapsed-icon {
  font-size: 1.45rem !important;
  color: var(--ah-primary);
  background: none;
  border-radius: 0;
  padding: 0;
}
@media (min-width: 768px) {
  .ah-bbm-collapsed-icon { font-size: 1.75rem !important; }
}

.ah-bbm-collapsed-title {
  flex: 1;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ah-on-surface);
  text-align: left;
}
@media (min-width: 768px) {
  .ah-bbm-collapsed-title {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    text-align: center;
    font-size: 0.8rem;
    line-height: 1.3;
    max-height: 11rem;
    overflow: hidden;
    color: var(--ah-on-surface-variant);
  }
  .ah-bbm-panel:not(.is-open):hover .ah-bbm-collapsed-title {
    color: var(--ah-on-surface);
  }
}

.ah-bbm-collapsed-expand {
  display: none;
  flex-shrink: 0;
  font-size: 1.25rem !important;
  color: color-mix(in srgb, var(--ah-primary) 45%, var(--ah-outline-variant));
  transition: color 0.25s ease, transform 0.25s ease;
}
@media (min-width: 768px) {
  .ah-bbm-collapsed-expand {
    display: block;
    transform: rotate(90deg);
  }
  .ah-bbm-panel:not(.is-open):hover .ah-bbm-collapsed-expand {
    color: var(--ah-primary);
    transform: rotate(90deg) translateX(2px);
  }
}

.ah-bbm-body { overflow: hidden; }
@media (max-width: 767px) {
  .ah-bbm-body[hidden] { display: none; }
  .ah-bbm-body:not([hidden]) {
    animation: ah-bbm-body-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .ah-bbm-panel.is-open .ah-bbm-trigger { display: none; }
}
@media (min-width: 768px) {
  .ah-bbm-accordion:not(.is-stack) .ah-bbm-body {
    position: absolute;
    inset: 0;
    z-index: 1;
    flex: none;
    min-width: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(8px);
    transition: opacity 0.45s ease 0.1s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, visibility 0s linear 0.45s;
  }
  .ah-bbm-accordion:not(.is-stack) .ah-bbm-panel.is-open .ah-bbm-body {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    z-index: 3;
    transition: opacity 0.45s ease 0.1s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, visibility 0s linear 0s;
  }
}

.ah-bbm-body-inner {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .ah-bbm-accordion:not(.is-stack) .ah-bbm-body-inner {
    flex-direction: row;
    align-items: stretch;
    height: 100%;
    min-height: 0;
  }
}

.ah-bbm-media {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  min-height: 11rem;
}
@media (min-width: 768px) {
  .ah-bbm-accordion:not(.is-stack) .ah-bbm-media {
    width: 42%;
    height: 100%;
    min-height: 0;
  }
}
.ah-bbm-media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 11rem;
}
@media (min-width: 768px) {
  .ah-bbm-accordion:not(.is-stack) .ah-bbm-media-img {
    min-height: 0;
    height: 100%;
  }
}
.ah-bbm-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, color-mix(in srgb, var(--ah-primary) 18%, transparent), transparent 55%),
              linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}
.ah-bbm-media-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  background: color-mix(in srgb, var(--ah-primary) 88%, transparent);
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
}

.ah-bbm-content {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
}
@media (min-width: 768px) {
  .ah-bbm-accordion:not(.is-stack) .ah-bbm-content {
    flex: 1;
    min-width: 0;
    min-height: 0;
    padding: 1.75rem 1.75rem 1.75rem 1.5rem;
    gap: 1rem;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

.ah-bbm-content-head {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.ah-bbm-content-icon {
  flex-shrink: 0;
  font-size: 2.25rem !important;
  color: var(--ah-primary);
  background: color-mix(in srgb, var(--ah-primary) 10%, transparent);
  border-radius: 0.75rem;
  padding: 0.45rem;
}

.ah-bbm-lead { margin: 0; }

.ah-bbm-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.ah-bbm-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ah-on-surface);
}
.ah-bbm-points .material-symbols-outlined {
  flex-shrink: 0;
  font-size: 1.05rem;
  color: var(--ah-primary);
  margin-top: 0.1rem;
  font-variation-settings: 'FILL' 1;
}

.ah-bbm-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ah-primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.ah-bbm-link:hover { gap: 0.55rem; text-decoration: underline; }
.ah-bbm-link .material-symbols-outlined { font-size: 1.05rem; }

@keyframes ah-bbm-body-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .ah-bbm-panel,
  .ah-bbm-body { transition: none !important; animation: none !important; }
  .ah-bbm-body { transform: none !important; opacity: 1 !important; }
  .ah-bbm-collapsed-icon-wrap,
  .ah-bbm-collapsed-expand,
  .ah-bbm-panel:not(.is-open)::after { transition: none !important; }
}

/* Mobile: stacked cards — full content, no accordion interaction. */
.ah-bbm-accordion.is-stack {
  flex-direction: column;
  gap: 1.25rem;
  min-height: 0;
}
.ah-bbm-accordion.is-stack .ah-bbm-panel {
  flex: none !important;
  min-width: 0 !important;
  min-height: 0;
  border-radius: 1rem;
  box-shadow: 0 10px 36px -20px rgba(15, 23, 42, 0.14);
}
.ah-bbm-accordion.is-stack .ah-bbm-panel.is-open {
  box-shadow: 0 12px 40px -18px rgba(15, 23, 42, 0.16);
}
.ah-bbm-accordion.is-stack .ah-bbm-trigger { display: none !important; }
.ah-bbm-accordion.is-stack .ah-bbm-body,
.ah-bbm-accordion.is-stack .ah-bbm-body[hidden] {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;
  position: relative !important;
  pointer-events: auto !important;
}
.ah-bbm-accordion.is-stack .ah-bbm-body-inner {
  min-height: 0;
  padding: 0;
}
.ah-bbm-accordion.is-stack .ah-bbm-media {
  width: 100%;
  min-height: 10.5rem;
}
.ah-bbm-accordion.is-stack .ah-bbm-media-img {
  min-height: 10.5rem;
  max-height: 14rem;
}
.ah-bbm-accordion.is-stack .ah-bbm-content {
  padding: 1.35rem 1.35rem 1.5rem;
}
.ah-bbm-section.is-stack .ah-bbm-hint { display: none; }

.ah-partner-grid {
  position: relative;
  overflow: hidden;
}
.ah-partner-grid::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 12% 40%, color-mix(in srgb, var(--ah-primary) 6%, transparent), transparent 42%),
    radial-gradient(circle at 88% 60%, color-mix(in srgb, var(--ah-primary) 5%, transparent), transparent 38%);
}
.ah-partner-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6px 24px -16px rgba(15, 23, 42, 0.1);
}
.ah-partner-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--ah-primary);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.ah-partner-card:hover::before { transform: scaleY(1); }
.ah-partner-card .material-symbols-outlined {
  transition: transform 0.35s ease;
}
.ah-partner-card:hover .material-symbols-outlined {
  transform: scale(1.12);
}

/* How It Works — operating model panel (image bleeds into copy, no extra chrome) */
.ah-hiw-labor__panel {
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 45%, transparent);
  background: var(--ah-surface-container-lowest);
  box-shadow: 0 18px 48px -32px rgba(15, 23, 42, 0.22);
}
.ah-hiw-labor__media {
  position: relative;
  min-height: clamp(15rem, 42vw, 32.5rem);
  overflow: hidden;
  background: var(--ah-surface-container-low);
}
.ah-hiw-labor__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 38%;
  filter: saturate(0.9) contrast(1.03);
}
.ah-hiw-labor__media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 52%, color-mix(in srgb, var(--ah-surface-container-lowest) 88%, transparent) 100%),
    linear-gradient(135deg, color-mix(in srgb, var(--ah-primary) 10%, transparent), transparent 55%);
}
@media (min-width: 1024px) {
  .ah-hiw-labor__media::after {
    background:
      linear-gradient(90deg, transparent 0%, transparent 42%, color-mix(in srgb, var(--ah-surface-container-lowest) 94%, transparent) 78%, var(--ah-surface-container-lowest) 100%),
      linear-gradient(180deg, color-mix(in srgb, var(--ah-primary) 7%, transparent), transparent 42%);
  }
}
.ah-hiw-labor__caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 35%, transparent);
  background: color-mix(in srgb, var(--ah-surface-container-lowest) 82%, transparent);
  backdrop-filter: blur(8px);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ah-on-surface-variant);
}
.ah-hiw-labor__caption .material-symbols-outlined {
  font-size: 0.95rem;
  color: var(--ah-primary);
}
.ah-hiw-labor__copy {
  padding: clamp(1.5rem, 3vw, 2.5rem);
}
@media (min-width: 1024px) {
  .ah-hiw-labor__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(2rem, 3.5vw, 2.75rem);
  }
}
.ah-hiw-labor__lanes {
  border-radius: 0.85rem;
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 35%, transparent);
  overflow: hidden;
}
.ah-hiw-labor__lane {
  padding: 1.15rem 1.25rem;
  background: var(--ah-surface-container-lowest);
}
.ah-hiw-labor__lane--us {
  background: color-mix(in srgb, var(--ah-surface-container-low) 72%, var(--ah-surface-container-lowest));
  border-top: 1px solid color-mix(in srgb, var(--ah-outline-variant) 28%, transparent);
}
.ah-hiw-labor__lane ul {
  list-style: none;
}

@media (prefers-reduced-motion: reduce) {
  .ah-home-stats.ah-in .ah-stat-card { animation: none !important; }
}

/* ── Pricing hero — live rate + included receipt ─────────────────────── */
.ah-pricing-hero {
  --ah-prc-stagger: 65ms;
  background: linear-gradient(168deg, #faf8ff 0%, #f0f3ff 42%, #e8edff 100%);
}

.ah-pricing-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.ah-pricing-hero-bg--photo {
  background-image: var(--ah-pricing-photo);
  background-size: cover;
  background-position: center;
}
.ah-pricing-hero-bg--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(168deg, rgba(250, 248, 255, 0.94) 0%, rgba(240, 243, 255, 0.9) 45%, rgba(232, 237, 255, 0.82) 100%);
}
.ah-pricing-hero-bg--photo .ah-pricing-hero-gridlines,
.ah-pricing-hero-bg--photo .ah-pricing-hero-glow {
  z-index: 1;
}
.ah-pricing-hero-gridlines {
  position: absolute;
  inset: -1px;
  background-image:
    linear-gradient(color-mix(in srgb, var(--ah-primary) 7%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--ah-primary) 7%, transparent) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 68% 42%, #000 20%, transparent 72%);
          mask-image: radial-gradient(ellipse 90% 80% at 68% 42%, #000 20%, transparent 72%);
  opacity: 0.55;
}
.ah-pricing-hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.ah-pricing-hero-glow--a {
  width: 520px; height: 520px;
  top: -120px; right: -80px;
  background: color-mix(in srgb, var(--ah-primary) 14%, transparent);
}
.ah-pricing-hero-glow--b {
  width: 420px; height: 420px;
  bottom: -100px; left: 18%;
  background: color-mix(in srgb, #0d9b6e 10%, transparent);
}

.ah-pricing-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .ah-pricing-hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 3rem;
  }
}

/* Page hero copy — dark canvas variants (circuit, UFO, etc.) */
.ah-hero-on-dark .ah-hero-eyebrow { color: #bcd4ff; }
.ah-hero-on-dark .ah-hero-title { color: #f4f8ff; }
.ah-hero-on-dark .ah-hero-accent { color: #7db4ff; }
.ah-hero-on-dark .ah-hero-lead { color: #c5d3ea; }

.ah-prc-pill-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 45%, transparent);
  backdrop-filter: blur(8px);
  max-width: 100%;
}
.ah-prc-pill {
  flex: 0 1 auto;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ah-on-surface-variant);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.ah-prc-pill:hover { color: var(--ah-primary); background: rgba(255, 255, 255, 0.7); }
.ah-prc-pill.is-active {
  background: var(--ah-primary);
  color: var(--ah-on-primary);
  box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--ah-primary) 65%, transparent);
  transform: translateY(-1px);
}

.ah-pricing-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
}
.ah-pricing-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ah-on-surface-variant);
}
.ah-pricing-trust .material-symbols-outlined {
  font-size: 1.05rem;
  color: var(--ah-primary);
}

.ah-pricing-hero-stage {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .ah-pricing-hero-stage { align-items: flex-end; }
}

.ah-pricing-rate-block {
  position: relative;
  width: 100%;
  max-width: 28rem;
  text-align: center;
}
@media (min-width: 1024px) { .ah-pricing-rate-block { text-align: right; max-width: 100%; } }

.ah-pricing-rate-ghost {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-58%);
  margin: 0;
  font-size: clamp(5.5rem, 16vw, 11rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: color-mix(in srgb, var(--ah-primary) 9%, transparent);
  pointer-events: none;
  user-select: none;
  font-variant-numeric: tabular-nums;
}
@media (max-width: 1023px) {
  .ah-pricing-rate-ghost { left: 50%; right: auto; transform: translate(-50%, -58%); }
}

.ah-pricing-rate-from {
  position: relative;
  margin: 0 0 0.15rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ah-on-surface-variant);
}
@media (min-width: 1024px) {
  .ah-pricing-rate-from { text-align: right; }
}

.ah-pricing-savings-card {
  text-align: center;
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 45%, transparent);
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(250,248,255,0.85));
}
.ah-pricing-savings-icon {
  font-size: 1.75rem !important;
  color: var(--ah-primary);
  margin-bottom: 0.35rem;
}
.ah-pricing-savings-value {
  margin: 0 0 0.25rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ah-primary);
  font-variant-numeric: tabular-nums;
}
.ah-pricing-savings-label {
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ah-on-background);
}
.ah-pricing-savings-note {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--ah-on-surface-variant);
}

.ah-pricing-rate-row {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.2rem;
  margin-bottom: 0.15rem;
}
.ah-pricing-rate-main {
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.04em;
  color: var(--ah-primary);
  font-variant-numeric: tabular-nums;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}
.ah-pricing-hero-stage.is-switching .ah-pricing-rate-main {
  transform: translateY(-6px) scale(1.03);
}
.ah-pricing-rate-unit {
  font-size: clamp(1.1rem, 2.5vw, 1.65rem);
  font-weight: 700;
  color: var(--ah-on-surface-variant);
  padding-bottom: 0.55rem;
}
.ah-pricing-rate-stack {
  position: relative;
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ah-on-background);
}
.ah-pricing-rate-blurb {
  position: relative;
  margin: 0;
  max-width: 22rem;
  margin-left: auto;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ah-on-surface-variant);
}
@media (max-width: 1023px) {
  .ah-pricing-rate-blurb { margin-left: auto; margin-right: auto; }
}

.ah-pricing-hero.is-ready .ah-pricing-rate-block {
  animation: ah-prc-hero-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ah-pricing-hero.is-ready .ah-pricing-receipt {
  animation: ah-prc-hero-in 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.12s both;
}

.ah-pricing-receipt {
  position: relative;
  width: 100%;
  max-width: 22rem;
  padding: 1.35rem 1.25rem 1.15rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid color-mix(in srgb, var(--ah-outline-variant) 50%, transparent);
  box-shadow: 0 24px 48px -28px rgba(19, 27, 46, 0.28);
  backdrop-filter: blur(10px);
}
@media (min-width: 1024px) {
  .ah-pricing-receipt { transform: translateX(12px); }
}

.ah-pricing-receipt-head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed color-mix(in srgb, var(--ah-outline-variant) 65%, transparent);
}
.ah-pricing-receipt-brand {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ah-primary);
}
.ah-pricing-receipt-meta {
  margin: 0;
  font-size: 0.74rem;
  color: var(--ah-on-surface-variant);
}

.ah-pricing-line {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  font-size: 0.8rem;
  line-height: 1.4;
  opacity: 0;
  transform: translateY(6px);
}
.ah-pricing-receipt.is-visible .ah-pricing-includes .ah-pricing-line,
.ah-pricing-receipt.is-visible .ah-pricing-receipt-foot .ah-pricing-line {
  animation: ah-prc-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.ah-pricing-line-label { flex: 0 1 auto; color: var(--ah-on-surface); }
.ah-pricing-line-dots {
  flex: 1 1 auto;
  min-width: 0.75rem;
  border-bottom: 1px dotted color-mix(in srgb, var(--ah-outline-variant) 75%, transparent);
  transform: translateY(-2px);
}
.ah-pricing-line-value {
  flex: 0 0 auto;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ah-primary);
}
.ah-pricing-line-value--zero { color: #0d9b6e; font-size: 1rem; }

.ah-pricing-includes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.ah-pricing-includes .ah-pricing-line:nth-child(1) { animation-delay: calc(var(--ah-prc-stagger) * 1); }
.ah-pricing-includes .ah-pricing-line:nth-child(2) { animation-delay: calc(var(--ah-prc-stagger) * 2); }
.ah-pricing-includes .ah-pricing-line:nth-child(3) { animation-delay: calc(var(--ah-prc-stagger) * 3); }
.ah-pricing-includes .ah-pricing-line:nth-child(4) { animation-delay: calc(var(--ah-prc-stagger) * 4); }

.ah-pricing-stamp {
  flex: 0 0 auto;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #0a7a58;
  background: color-mix(in srgb, #0d9b6e 11%, white);
  border: 1px solid color-mix(in srgb, #0d9b6e 26%, transparent);
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
}

.ah-pricing-receipt-foot {
  margin-top: 0.85rem;
  padding-top: 0.75rem;
  border-top: 1px dashed color-mix(in srgb, var(--ah-outline-variant) 65%, transparent);
}
.ah-pricing-receipt-foot .ah-pricing-line { animation-delay: calc(var(--ah-prc-stagger) * 6); }

@keyframes ah-prc-in {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes ah-prc-hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .ah-pricing-rate-main,
  .ah-pricing-hero-stage.is-switching .ah-pricing-rate-main { transition: none; transform: none; }
  .ah-pricing-hero.is-ready .ah-pricing-rate-block,
  .ah-pricing-hero.is-ready .ah-pricing-receipt { animation: none; opacity: 1; }
  .ah-pricing-line { opacity: 1; transform: none; animation: none !important; }
  .ah-prc-pill.is-active { transform: none; }
}

@media (max-width: 1023px) {
  .ah-pricing-receipt { max-width: 100%; transform: none; }
  .ah-prc-pill-bar { border-radius: 1rem; }
}

/* ── Mobile navigation drawer ─────────────────────────────────────── */
.ah-nav-toggle { background: transparent; border: 0; cursor: pointer; line-height: 0; }
html.ah-nav-locked { overflow: hidden; }
.ah-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition: opacity .25s ease, visibility 0s linear .25s;
}
.ah-mobile-nav.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity .25s ease;
}
.ah-mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 18, 31, 0.55);
  backdrop-filter: blur(2px);
}
.ah-mobile-nav__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(82vw, 360px);
  background: #f7f9fb;
  box-shadow: -16px 0 48px rgba(4, 18, 31, 0.22);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transform: translateX(100%);
  transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  overflow-y: auto;
}
.ah-mobile-nav.is-open .ah-mobile-nav__panel { transform: translateX(0); }
.ah-mobile-nav__close {
  align-self: flex-end;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: #1a2530;
  line-height: 0;
  padding: 0.25rem;
  margin-bottom: 0.5rem;
}
.ah-mobile-nav__links { display: flex; flex-direction: column; gap: 0.25rem; }
.ah-mobile-nav__link {
  display: block;
  padding: 0.85rem 0.5rem;
  font-weight: 600;
  font-size: 1.05rem;
  color: #1a2530;
  border-bottom: 1px solid rgba(120, 140, 160, 0.18);
  text-decoration: none;
}
.ah-mobile-nav__link:hover { color: #1f8fd0; }
.ah-mobile-nav__cta { margin-top: 1rem; text-align: center; }
@media (min-width: 768px) {
  .ah-mobile-nav { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ah-mobile-nav, .ah-mobile-nav__panel { transition: none; }
}
