/*
Theme Name: Admin Army
Theme URI: https://adminarmy.com
Author: Ricky B
Description: Custom WordPress theme for Admin Army — operational responsibility for the back office.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
License URI: https://adminarmy.com/legal
Text Domain: adminarmy-wp-theme
*/


/* ══════════════════════════════════════
   DESIGN SYSTEM — Custom Properties
   Extracted from HTML prototypes
   ══════════════════════════════════════ */

:root {
  /* ── Brand Colours ── */
  --aat-navy:          #2e4a6b;
  --aat-grey:          #c5c8ce;
  --aat-bronze:        #b89368;

  /* ── Navy Scale ── */
  --aat-navy-deep:     #1e3350;
  --aat-navy-mid:      #253d5a;
  --aat-navy-light:    #3d5f85;

  /* ── Bronze Scale ── */
  --aat-bronze-light:  #c9a87e;
  --aat-bronze-dark:   #a07d52;
  --aat-bronze-glow:   rgba(184, 147, 104, 0.15);

  /* ── Backgrounds ── */
  --aat-bg:            #f5f2ee;
  --aat-bg-surface:    #eceae6;
  --aat-bg-dark:       #2e4a6b;
  --aat-bg-darker:     #1e3350;
  --aat-bg-darkest:    #162840;

  /* ── Text ── */
  --aat-text:          #1e3350;
  --aat-text-2:        #5a6270;
  --aat-text-3:        #8f939b;
  --aat-text-inv:      #f5f2ee;

  /* ── Borders ── */
  --aat-border:        #d4d0ca;
  --aat-border-dk:     #3d5f85;

  /* ── Typography ── */
  --aat-font:          'Montserrat', sans-serif;

  /* ── Easing ── */
  --aat-ease:          cubic-bezier(0.25, 0.1, 0.25, 1);
  --aat-ease-out:      cubic-bezier(0.16, 1, 0.3, 1);
  --aat-ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-Index Scale ── */
  --aat-z-breakout:    5;
  --aat-z-sidebar:     10;
  --aat-z-nav:         100;
  --aat-z-mobile-menu: 200;
  --aat-z-overlay:     300;
  --aat-z-scroll-bar:  10000;
  --aat-z-cursor:      99999;
}


/* ══════════════════════════════════════
   RESET & BASE
   ══════════════════════════════════════ */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--aat-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
  color: var(--aat-text);
  background: var(--aat-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}


/* ══════════════════════════════════════
   WORDPRESS OVERRIDES
   ══════════════════════════════════════ */

.wp-site-blocks {
  padding: 0 !important;
}

body.page,
body.home,
body.single {
  background: var(--aat-bg) !important;
}


/* ══════════════════════════════════════
   CUSTOM CURSOR
   ══════════════════════════════════════ */

.aat-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--aat-bronze);
  border-radius: 50%;
  pointer-events: none;
  z-index: var(--aat-z-cursor);
  mix-blend-mode: difference;
  transition: width 0.3s var(--aat-ease), height 0.3s var(--aat-ease), opacity 0.3s;
  transform: translate(-50%, -50%);
  opacity: 0;
}

.aat-cursor-dot.visible {
  opacity: 1;
}

.aat-cursor-dot.expanded {
  width: 48px;
  height: 48px;
  background: rgba(184, 147, 104, 0.15);
  border: 1px solid rgba(184, 147, 104, 0.4);
}


/* ══════════════════════════════════════
   SCROLL PROGRESS BAR
   ══════════════════════════════════════ */

.aat-scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  background: var(--aat-bronze);
  z-index: var(--aat-z-scroll-bar);
  width: 0%;
  will-change: width;
}


/* ══════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════ */

.aat-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--aat-z-nav);
  background: rgba(30, 51, 80, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 147, 104, 0.08);
  transition: all 0.4s var(--aat-ease);
}

.aat-nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  transition: height 0.4s var(--aat-ease);
}

.aat-nav.scrolled .aat-nav-inner {
  height: 52px;
}

.aat-nav-logo img {
  height: 40px;
  width: auto;
  transition: height 0.4s var(--aat-ease);
}

.aat-nav.scrolled .aat-nav-logo img {
  height: 24px;
}

.aat-nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.aat-nav-links a {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--aat-grey);
  transition: color 0.3s var(--aat-ease);
  white-space: nowrap;
  position: relative;
}

.aat-nav-links a::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--aat-bronze);
  transform: scaleX(0);
  transition: transform 0.3s var(--aat-ease);
}

.aat-nav-links a:hover {
  color: var(--aat-text-inv);
}

.aat-nav-links a:hover::after,
.aat-nav-links a.active::after {
  transform: scaleX(1);
}

.aat-nav-links a.active {
  color: var(--aat-text-inv);
}

.aat-nav-cta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aat-navy-deep);
  background: var(--aat-bronze);
  padding: 0.5rem 1.2rem;
  white-space: nowrap;
  transition: all 0.3s var(--aat-ease);
}

.aat-nav-cta:hover {
  background: var(--aat-bronze-light);
}

.aat-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: calc(var(--aat-z-nav) + 1);
}

.aat-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--aat-text-inv);
  margin: 6px 0;
  transition: all 0.3s var(--aat-ease);
}
/* ═══════════════════════════════════════════
   NAV — DROPDOWN SUB-MENUS
   Desktop only — mobile menu handles children
   ═══════════════════════════════════════════ */

.aat-nav-links li.has-sub {
  position: relative;
}

.aat-nav-sub {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 260px;
  margin: 0;
  padding: 0.5rem 0;
  list-style: none;

  background: rgba(12, 22, 36, 0.92);
  border: 1px solid rgba(184, 147, 104, 0.25);
  border-radius: 8px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
  z-index: 1000;
}

.aat-nav-links li.has-sub:hover > .aat-nav-sub,
.aat-nav-links li.has-sub:focus-within > .aat-nav-sub {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Bridge — keeps hover state when cursor crosses the gap to the dropdown */
.aat-nav-links li.has-sub::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
  display: none;
}
.aat-nav-links li.has-sub:hover::after,
.aat-nav-links li.has-sub:focus-within::after {
  display: block;
}

.aat-nav-sub li {
  list-style: none;
}

.aat-nav-sub a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: #c5c8cd;
  font-size: 0.95rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 150ms ease, background 150ms ease;
}

.aat-nav-sub a:hover,
.aat-nav-sub a:focus {
  color: #ffffff;
  background: rgba(184, 147, 104, 0.08);
}

/* Hide on mobile — mobile menu handles children separately */
@media (max-width: 900px) {
  .aat-nav-sub {
    display: none;
  }
}


/* ═══════════════════════════════════════════
   MOBILE MENU
   ═══════════════════════════════════════════ */

.aat-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--aat-navy-deep);
  z-index: var(--aat-z-mobile-menu);
  padding: 6rem 2rem 2rem;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.4s var(--aat-ease), transform 0.4s var(--aat-ease);
}

.aat-mobile-menu.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.aat-mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.aat-mobile-menu a {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--aat-grey);
  padding: 0.75rem 0;
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 147, 104, 0.08);
  transition: color 0.3s var(--aat-ease);
}

.aat-mobile-menu a:hover,
.aat-mobile-menu a.active {
  color: var(--aat-text-inv);
}

.aat-mobile-menu .aat-mobile-sub {
  padding-left: 1.5rem;
  gap: 0;
}

.aat-mobile-menu .aat-mobile-sub a {
  font-size: 0.85rem;
  font-weight: 500;
}


/* ══════════════════════════════════════
   CONTAINER
   ══════════════════════════════════════ */

.aat-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}


/* ══════════════════════════════════════
   SECTION LABELS
   ══════════════════════════════════════ */

.aat-section-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.aat-section-label::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--aat-bronze);
}

.aat-section-label-light {
  color: var(--aat-bronze-light);
}

.aat-section-label-light::before {
  background: var(--aat-bronze-light);
}


/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */

.aat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--aat-font);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--aat-ease);
  position: relative;
  overflow: hidden;
}

.aat-btn .arrow {
  transition: transform 0.3s var(--aat-ease);
}

.aat-btn:hover .arrow {
  transform: translateX(4px);
}

.aat-btn-primary {
  background: var(--aat-bronze);
  color: var(--aat-navy-deep);
}

.aat-btn-primary:hover {
  background: var(--aat-bronze-dark);
  transform: translateY(-2px);
}

.aat-btn-secondary {
  background: transparent;
  color: var(--aat-navy);
  border: 2px solid var(--aat-navy);
}

.aat-btn-secondary:hover {
  background: var(--aat-navy);
  color: var(--aat-text-inv);
}

.aat-btn-ghost {
  background: transparent;
  color: var(--aat-bronze);
  border: 1px solid rgba(184, 147, 104, 0.4);
}

.aat-btn-ghost:hover {
  background: var(--aat-bronze);
  color: var(--aat-navy-deep);
  border-color: var(--aat-bronze);
}


/* ══════════════════════════════════════
   REVEAL ANIMATION UTILITY
   ══════════════════════════════════════ */

.aat-r {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--aat-ease-out), transform 0.8s var(--aat-ease-out);
}

.aat-r.v {
  opacity: 1;
  transform: translateY(0);
}

.aat-r-d1 { transition-delay: 0.1s; }
.aat-r-d2 { transition-delay: 0.2s; }
.aat-r-d3 { transition-delay: 0.3s; }


/* ══════════════════════════════════════
   HERO — Shared across templates
   ══════════════════════════════════════ */

.aat-hero {
  min-height: 100vh;
  background: var(--aat-bg-darkest);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}

.aat-hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.aat-hero-grid canvas {
  width: 100%;
  height: 100%;
}

.aat-hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(22, 40, 64, 0.4) 0%, transparent 70%),
    linear-gradient(180deg, rgba(22, 40, 64, 0.6) 0%, rgba(22, 40, 64, 0.3) 50%, rgba(22, 40, 64, 0.8) 100%);
  pointer-events: none;
  z-index: 1;
}

.aat-hero-content {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  padding-top: 72px;
}

.aat-hero-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(20px);
  animation: aat-heroReveal 0.8s var(--aat-ease-out) 0.3s forwards;
}

.aat-hero-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--aat-bronze);
}

.aat-hero h1 {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  font-weight: 900;
  color: var(--aat-text-inv);
  letter-spacing: -0.04em;
  line-height: 1.02;
  margin-bottom: 2.5rem;
  max-width: 900px;
}

.aat-hero h1 .line {
  display: block;
  overflow: hidden;
}

.aat-hero h1 .line-inner {
  display: block;
  opacity: 0;
  transform: translateY(100%);
  animation: aat-lineReveal 0.9s var(--aat-ease-out) forwards;
}

.aat-hero h1 .line:nth-child(1) .line-inner { animation-delay: 0.5s; }
.aat-hero h1 .line:nth-child(2) .line-inner { animation-delay: 0.65s; }
.aat-hero h1 .line:nth-child(3) .line-inner { animation-delay: 0.8s; }

.aat-hero h1 .accent {
  color: var(--aat-bronze);
}

.aat-hero-intro {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--aat-grey);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  animation: aat-heroReveal 0.8s var(--aat-ease-out) 1.1s forwards;
}

.aat-hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(20px);
  animation: aat-heroReveal 0.8s var(--aat-ease-out) 1.3s forwards;
}

/* Side stat strip — homepage only */
.aat-hero-stats {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  opacity: 0;
  animation: aat-heroReveal 0.8s var(--aat-ease-out) 1.6s forwards;
}

.aat-hero-stat {
  text-align: right;
  padding-right: 1.5rem;
  border-right: 2px solid var(--aat-bronze);
}

.aat-hero-stat .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--aat-text-inv);
  line-height: 1;
  letter-spacing: -0.02em;
}

.aat-hero-stat .label {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aat-grey);
  margin-top: 0.3rem;
}

/* Scroll indicator */
.aat-hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  animation: aat-heroReveal 0.8s var(--aat-ease-out) 2s forwards;
}

.aat-hero-scroll span {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--aat-grey);
}

.aat-hero-scroll .scroll-line {
  width: 1px;
  height: 40px;
  background: var(--aat-border-dk);
  position: relative;
  overflow: hidden;
}

.aat-hero-scroll .scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--aat-bronze);
  animation: aat-scrollPulse 2s var(--aat-ease) infinite;
}

/* Sub-page hero variant — shorter */
.aat-hero--sub {
  min-height: 85vh;
}

.aat-hero--sub h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  max-width: 800px;
  margin-bottom: 2rem;
}

.aat-hero--sub .aat-hero-intro {
  font-size: 1.05rem;
}

.aat-hero--sub .aat-hero-intro strong {
  color: var(--aat-text-inv);
  font-weight: 600;
}


/* ══════════════════════════════════════
   KEYFRAMES
   ══════════════════════════════════════ */

@keyframes aat-heroReveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes aat-lineReveal {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes aat-scrollPulse {
  0%   { top: -100%; }
  50%  { top: 100%; }
  100% { top: 100%; }
}

@keyframes aat-gridShift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

@keyframes aat-gridDrift {
  0%   { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

@keyframes aat-linkShimmer {
  to { transform: translateX(100%); }
}

@keyframes aat-emphGlow {
  0%   { opacity: 0; }
  50%  { opacity: 1; }
  100% { opacity: 0.3; }
}


/* ══════════════════════════════════════
   HOMEPAGE — Pain Section
   ══════════════════════════════════════ */

.aat-s-pain {
  padding: 7rem 0;
  position: relative;
}

.aat-pain-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 5rem;
  align-items: start;
}

.aat-pain-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--aat-navy);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.aat-pain-text p {
  font-size: 1rem;
  color: var(--aat-text-2);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.aat-pain-text p:last-of-type {
  margin-bottom: 0;
}

.aat-pain-aside {
  background: var(--aat-navy);
  padding: 2.5rem;
  position: relative;
  margin-top: 3rem;
}

.aat-pain-aside::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--aat-bronze);
}

.aat-pain-aside blockquote {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--aat-text-inv);
  line-height: 1.65;
  font-style: normal;
}

.aat-pain-aside cite {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  margin-top: 1rem;
}


/* ══════════════════════════════════════
   HOMEPAGE — Responsibility Section
   ══════════════════════════════════════ */

.aat-s-resp {
  background: var(--aat-navy);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.aat-s-resp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(184, 147, 104, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 147, 104, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: aat-gridShift 20s linear infinite;
  pointer-events: none;
}

.aat-s-resp > * {
  position: relative;
  z-index: 2;
}

.aat-resp-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: start;
}

.aat-resp-main h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--aat-text-inv);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.aat-resp-main p {
  font-size: 1rem;
  color: var(--aat-grey);
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 520px;
}

.aat-resp-main .aat-btn {
  margin-top: 1rem;
}

.aat-resp-rules {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.aat-rule-card {
  padding: 2rem 2rem 2rem 2.5rem;
  border-left: 2px solid var(--aat-border-dk);
  position: relative;
  transition: border-color 0.4s var(--aat-ease);
}

.aat-rule-card:hover {
  border-color: var(--aat-bronze);
}

.aat-rule-card .rule-num {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  margin-bottom: 0.5rem;
}

.aat-rule-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--aat-text-inv);
  line-height: 1.35;
  margin-bottom: 0.5rem;
}

.aat-rule-card p {
  font-size: 0.88rem;
  color: var(--aat-grey);
  line-height: 1.65;
}


/* ══════════════════════════════════════
   HOMEPAGE — Two Paths
   ══════════════════════════════════════ */

.aat-s-paths {
  padding: 7rem 0;
}

.aat-paths-header {
  max-width: 600px;
  margin-bottom: 3.5rem;
}

.aat-paths-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--aat-navy);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.aat-paths-header p {
  font-size: 1rem;
  color: var(--aat-text-2);
}

.aat-paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.aat-path-card {
  padding: 3rem;
  position: relative;
  transition: all 0.4s var(--aat-ease);
  cursor: default;
  overflow: hidden;
}

.aat-path-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--aat-bronze);
  transition: width 0.4s var(--aat-ease);
}

.aat-path-card:hover::before {
  width: 6px;
}

.aat-path-dark {
  background: var(--aat-navy);
  border: 1px solid var(--aat-border-dk);
}

.aat-path-dark:hover {
  border-color: var(--aat-bronze);
  box-shadow: 0 0 60px rgba(184, 147, 104, 0.08);
}

.aat-path-light {
  background: #fff;
  border: 1px solid var(--aat-border);
}

.aat-path-light:hover {
  border-color: var(--aat-bronze);
  box-shadow: 0 0 60px rgba(184, 147, 104, 0.06);
}

.aat-path-card .path-tag {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  margin-bottom: 1.5rem;
}

.aat-path-dark .path-tag {
  background: rgba(184, 147, 104, 0.15);
  color: var(--aat-bronze-light);
}

.aat-path-light .path-tag {
  background: rgba(46, 74, 107, 0.08);
  color: var(--aat-navy);
}

.aat-path-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.aat-path-dark h3 { color: var(--aat-text-inv); }
.aat-path-light h3 { color: var(--aat-navy); }

.aat-path-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.aat-path-dark p { color: var(--aat-grey); }
.aat-path-light p { color: var(--aat-text-2); }

.aat-path-card .indicator {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  margin-top: auto;
}

.aat-path-light .indicator {
  color: var(--aat-navy);
}


/* ══════════════════════════════════════
   HOMEPAGE — Clients
   ══════════════════════════════════════ */

.aat-s-clients {
  background: var(--aat-bg-surface);
  padding: 7rem 0;
}

.aat-clients-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
}

.aat-clients-header h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--aat-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.aat-clients-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.aat-client-card {
  background: #fff;
  padding: 2.5rem 2rem;
  position: relative;
  border: 1px solid var(--aat-border);
  margin-left: -1px;
  margin-top: -1px;
  transition: all 0.4s var(--aat-ease);
  cursor: default;
}

.aat-client-card:hover {
  z-index: 2;
  background: var(--aat-navy);
  border-color: var(--aat-navy);
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(30, 51, 80, 0.2);
}

.aat-client-card .c-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--aat-border);
  line-height: 1;
  margin-bottom: 1.5rem;
  transition: color 0.4s var(--aat-ease);
}

.aat-client-card:hover .c-num {
  color: var(--aat-bronze);
}

.aat-client-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--aat-navy);
  margin-bottom: 0.75rem;
  line-height: 1.3;
  transition: color 0.4s var(--aat-ease);
}

.aat-client-card:hover h3 {
  color: var(--aat-text-inv);
}

.aat-client-card p {
  font-size: 0.85rem;
  color: var(--aat-text-2);
  line-height: 1.65;
  transition: color 0.4s var(--aat-ease);
}

.aat-client-card:hover p {
  color: var(--aat-grey);
}

.aat-client-card .c-arrow {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--aat-border);
  color: var(--aat-grey);
  font-size: 0.85rem;
  transition: all 0.4s var(--aat-ease);
  opacity: 0;
  transform: translateX(-8px);
}

.aat-client-card:hover .c-arrow {
  opacity: 1;
  transform: translateX(0);
  border-color: var(--aat-bronze);
  color: var(--aat-bronze);
}


/* ══════════════════════════════════════
   HOMEPAGE — Proof / Stats
   ══════════════════════════════════════ */

.aat-s-proof {
  padding: 7rem 0;
}

.aat-proof-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.aat-proof-text h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--aat-navy);
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.aat-proof-text p {
  font-size: 1rem;
  color: var(--aat-text-2);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.aat-proof-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.aat-stat-card {
  padding: 2rem;
  background: var(--aat-bg-surface);
  border: 1px solid var(--aat-border);
  position: relative;
  transition: all 0.4s var(--aat-ease);
}

.aat-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--aat-bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--aat-ease-out);
}

.aat-stat-card.counted::before {
  transform: scaleX(1);
}

.aat-stat-card .stat-num {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--aat-navy);
  line-height: 1;
  letter-spacing: -0.02em;
}

.aat-stat-card .stat-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aat-grey);
  margin-top: 0.4rem;
  margin-bottom: 0.8rem;
}

.aat-stat-card p {
  font-size: 0.82rem;
  color: var(--aat-text-2);
  line-height: 1.6;
}


/* ══════════════════════════════════════
   HOMEPAGE — Final CTA
   ══════════════════════════════════════ */

.aat-s-cta {
  background: var(--aat-bg-darkest);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.aat-s-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(184, 147, 104, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 147, 104, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.aat-s-cta > * {
  position: relative;
  z-index: 2;
}

.aat-cta-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.aat-cta-main h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--aat-text-inv);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.aat-cta-main p {
  font-size: 1rem;
  color: var(--aat-grey);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}

.aat-cta-side {
  border-left: 2px solid var(--aat-border-dk);
  padding-left: 3rem;
}

.aat-cta-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.aat-cta-checklist li {
  font-size: 0.9rem;
  color: var(--aat-grey);
  line-height: 1.6;
  padding-left: 1.5rem;
  position: relative;
}

.aat-cta-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--aat-bronze);
  transform: rotate(45deg);
}


/* ══════════════════════════════════════
   CONTENT PAGE — Layout
   ══════════════════════════════════════ */

.aat-page-wrap {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 4rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

.aat-sidebar {
  position: relative;
  padding-top: 5rem;
  z-index: var(--aat-z-sidebar);
}

.aat-toc {
  position: sticky;
  top: 80px;
  z-index: var(--aat-z-sidebar);
  background: var(--aat-bg);
  padding: 1rem;
  margin: -1rem;
  border-radius: 4px;
}

.aat-toc-label {
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  margin-bottom: 1rem;
}

.aat-toc-list {
  list-style: none;
}

.aat-toc-list a {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--aat-text-3);
  padding: 0.4rem 0 0.4rem 1rem;
  border-left: 2px solid var(--aat-border);
  transition: all 0.3s var(--aat-ease);
  line-height: 1.4;
}

.aat-toc-list a:hover {
  color: var(--aat-text);
  border-color: var(--aat-bronze);
}

.aat-toc-list a.active {
  color: var(--aat-navy);
  font-weight: 700;
  border-color: var(--aat-bronze);
}

.aat-toc-list li {
  position: relative;
}

.aat-toc-list li .toc-pip {
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--aat-bronze);
  opacity: 0;
  transition: opacity 0.4s, transform 0.4s;
  transform: translateY(-50%) scale(0);
}

.aat-toc-list li.is-active .toc-pip {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.aat-main {
  padding: 5rem 0 6rem;
  position: relative;
  z-index: 1;
}


/* ══════════════════════════════════════
   CONTENT PAGE — Sections
   ══════════════════════════════════════ */

.aat-sect {
  margin-bottom: 0;
  scroll-margin-top: 80px;
  padding-bottom: 4rem;
}

.aat-sect-divider {
  width: 100%;
  max-width: 640px;
  height: 1px;
  background: var(--aat-border);
  margin: 0 0 4rem 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--aat-ease-out);
}

.aat-sect-divider.drawn {
  transform: scaleX(1);
}

.aat-sect-marker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity 0.6s var(--aat-ease-out), transform 0.6s var(--aat-ease-out);
}

.aat-sect-marker.shown {
  opacity: 1;
  transform: translateX(0);
}

.aat-sect-marker::before {
  content: '';
  width: 0;
  height: 2px;
  background: var(--aat-bronze);
  transition: width 0.5s var(--aat-ease-out) 0.2s;
}

.aat-sect-marker.shown::before {
  width: 20px;
}

.aat-sect-marker span {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--aat-bronze);
}

.aat-sect h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--aat-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 640px;
}

.aat-sect p {
  font-size: 1rem;
  color: var(--aat-text-2);
  line-height: 1.85;
  max-width: 640px;
  margin-bottom: 1rem;
}

.aat-sect p:last-child {
  margin-bottom: 0;
}

.aat-sect p strong {
  color: var(--aat-text);
  font-weight: 600;
}

.aat-sect a.inline-link {
  color: var(--aat-bronze);
  font-weight: 600;
  border-bottom: 1px solid rgba(184, 147, 104, 0.4);
  transition: border-color 0.3s, color 0.3s;
  position: relative;
}

.aat-sect a.inline-link:hover {
  border-color: var(--aat-bronze);
}

.aat-sect a.inline-link::before {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--aat-bronze), transparent);
  transform: translateX(-100%);
  transition: none;
}

.aat-sect a.inline-link:hover::before {
  animation: aat-linkShimmer 0.6s var(--aat-ease) forwards;
}


/* ══════════════════════════════════════
   CONTENT PAGE — Emphasis Block
   ══════════════════════════════════════ */

.aat-emph {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--aat-navy);
  line-height: 1.5;
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--aat-border);
  margin: 2rem 0;
  max-width: 640px;
  position: relative;
  will-change: transform;
}

.aat-emph::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--aat-bronze);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.8s var(--aat-ease-out);
}

.aat-emph.lit::before {
  transform: scaleY(1);
}

.aat-emph.lit::after {
  content: '';
  position: absolute;
  top: 0;
  left: -2px;
  width: 7px;
  height: 100%;
  background: rgba(184, 147, 104, 0.2);
  filter: blur(4px);
  opacity: 0;
  animation: aat-emphGlow 2s var(--aat-ease) 0.8s forwards;
}


/* ══════════════════════════════════════
   CONTENT PAGE — Pull Quote
   ══════════════════════════════════════ */

.aat-pull-quote {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 900;
  color: var(--aat-navy);
  line-height: 1.2;
  letter-spacing: -0.03em;
  max-width: 640px;
  margin: 3.5rem 0;
  padding: 2.5rem 0;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s var(--aat-ease-out), transform 1s var(--aat-ease-out);
}

.aat-pull-quote.v {
  opacity: 1;
  transform: translateY(0);
}

.aat-pull-quote::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--aat-bronze);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--aat-ease-out) 0.3s;
}

.aat-pull-quote.v::before {
  transform: scaleX(1);
}

.aat-pull-quote .pq-muted {
  color: var(--aat-text-3);
  font-weight: 400;
  font-size: 0.45em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: 0.75rem;
}


/* ══════════════════════════════════════
   CONTENT PAGE — Process Flow
   ══════════════════════════════════════ */

.aat-process-flow {
  margin: 3rem 0;
  max-width: 640px;
  position: relative;
}

.aat-process-flow::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--aat-border);
}

.aat-process-flow .flow-line-fill {
  position: absolute;
  left: 19px;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--aat-bronze);
  transition: height 2s var(--aat-ease-out);
}

.aat-process-flow.activated .flow-line-fill {
  height: 100%;
}

.aat-flow-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.25rem 0;
  position: relative;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.6s var(--aat-ease-out), transform 0.6s var(--aat-ease-out);
}

.aat-flow-step.stepped {
  opacity: 1;
  transform: translateX(0);
}

.aat-flow-node {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--aat-border);
  background: var(--aat-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--aat-text-3);
  position: relative;
  z-index: 2;
  transition: border-color 0.5s, color 0.5s, background 0.5s, box-shadow 0.5s;
}

.aat-flow-step.stepped .aat-flow-node {
  border-color: var(--aat-bronze);
  color: var(--aat-bronze);
}

.aat-flow-step.stepped .aat-flow-node:hover {
  background: var(--aat-navy);
  color: var(--aat-text-inv);
  border-color: var(--aat-navy);
  box-shadow: 0 0 0 4px rgba(184, 147, 104, 0.15);
}

.aat-flow-content {
  padding-top: 0.4rem;
}

.aat-flow-content strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--aat-text);
  margin-bottom: 0.35rem;
}

.aat-flow-content span {
  font-size: 0.88rem;
  color: var(--aat-text-2);
  line-height: 1.7;
}


/* ══════════════════════════════════════
   CONTENT PAGE — Scope List
   ══════════════════════════════════════ */

.aat-scope-list {
  list-style: none;
  margin: 2rem 0;
  max-width: 640px;
}

.aat-scope-item {
  padding: 1.25rem 0 1.25rem 1.5rem;
  border-bottom: 1px solid var(--aat-border);
  position: relative;
  font-size: 0.95rem;
  color: var(--aat-text-2);
  line-height: 1.75;
  transition: padding-left 0.4s var(--aat-ease), background 0.3s;
  cursor: default;
}

.aat-scope-item:first-child {
  border-top: 1px solid var(--aat-border);
}

.aat-scope-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.55rem;
  width: 8px;
  height: 2px;
  background: var(--aat-bronze);
  transition: width 0.4s var(--aat-ease), background 0.3s;
}

.aat-scope-item:hover {
  padding-left: 2rem;
  background: rgba(184, 147, 104, 0.03);
}

.aat-scope-item:hover::before {
  width: 14px;
}

.aat-scope-item strong {
  color: var(--aat-text);
  font-weight: 700;
}

.aat-scope-item.scope-reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--aat-ease-out), transform 0.5s var(--aat-ease-out),
              padding-left 0.4s var(--aat-ease), background 0.3s;
}

.aat-scope-item.scope-visible {
  opacity: 1;
  transform: translateY(0);
}


/* ══════════════════════════════════════
   CONTENT PAGE — Rule Break (full-width breakout)
   ══════════════════════════════════════ */

.aat-rule-break {
  background: var(--aat-navy);
  margin: 3rem 0 3rem calc(-50vw + 50%);
  width: 100vw;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: scaleX(0.3);
  transform-origin: left center;
  transition: opacity 0.8s var(--aat-ease-out), transform 1s var(--aat-ease-out);
  z-index: var(--aat-z-breakout);
}

.aat-rule-break.revealed {
  opacity: 1;
  transform: scaleX(1);
}

.aat-rule-break::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(184, 147, 104, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 147, 104, 0.045) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: aat-gridDrift 18s linear infinite;
  pointer-events: none;
}

.aat-rule-break > * {
  position: relative;
  z-index: 2;
}

.aat-rule-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.aat-rule-statement {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 900;
  color: var(--aat-text-inv);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.aat-rule-nonneg {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--aat-bronze);
}

.aat-rule-text p {
  font-size: 0.95rem;
  color: var(--aat-grey);
  line-height: 1.8;
  margin-bottom: 1rem;
  max-width: 100%;
}

.aat-rule-text p:last-child {
  margin-bottom: 0;
}


/* ══════════════════════════════════════
   CONTENT PAGE — Contract Note
   ══════════════════════════════════════ */

.aat-contract-note {
  font-size: 0.95rem;
  color: var(--aat-text-3);
  font-weight: 500;
  max-width: 560px;
  margin-bottom: 4.5rem;
  line-height: 1.8;
  padding-left: 1.25rem;
  border-left: 2px solid transparent;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--aat-ease-out), transform 0.8s var(--aat-ease-out);
}

.aat-contract-note.v {
  opacity: 1;
  transform: translateY(0);
}


/* ══════════════════════════════════════
   PAGE INSIGNIA (watermark)
   ══════════════════════════════════════ */

.aat-page-insignia {
  position: absolute;
  right: -80px;
  top: 320px;
  width: clamp(400px, 42vw, 600px);
  height: clamp(400px, 42vw, 600px);
  pointer-events: none;
  z-index: 0;
}

.aat-page-insignia svg {
  width: 100%;
  height: 100%;
}


/* ══════════════════════════════════════
   SECTION TRANSITION GRADIENT
   ══════════════════════════════════════ */

.aat-sect-transition {
  height: 80px;
  margin: 0;
  position: relative;
  background: linear-gradient(180deg, var(--aat-bg) 0%, var(--aat-bg-surface) 100%);
  opacity: 0;
  transition: opacity 1.5s;
}

.aat-sect-transition.visible {
  opacity: 1;
}

.aat-sect-transition.reverse {
  background: linear-gradient(180deg, var(--aat-bg-surface) 0%, var(--aat-bg) 100%);
}


/* ══════════════════════════════════════
   BOTTOM CTA CARDS (3-up grid)
   ══════════════════════════════════════ */

.aat-page-cta {
  background: var(--aat-bg-darkest);
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.aat-page-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    linear-gradient(rgba(184, 147, 104, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 147, 104, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.aat-page-cta > * {
  position: relative;
  z-index: 2;
}

.aat-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.aat-cta-card {
  padding: 2.5rem;
  border: 1px solid var(--aat-border-dk);
  position: relative;
  display: flex;
  flex-direction: column;
  transform-style: preserve-3d;
  transition: transform 0.4s var(--aat-ease), box-shadow 0.4s var(--aat-ease), border-color 0.4s;
  will-change: transform;
}

.aat-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--aat-bronze);
  transition: width 0.4s var(--aat-ease);
}

.aat-cta-card:hover::before {
  width: 6px;
}

.aat-cta-card:hover {
  border-color: rgba(184, 147, 104, 0.3);
  box-shadow: 0 20px 60px -20px rgba(0, 0, 0, 0.4);
}

.aat-cta-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(135deg, rgba(184, 147, 104, 0.1), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}

.aat-cta-card:hover::after {
  opacity: 1;
}

.aat-cta-tag {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  margin-bottom: 1rem;
}

.aat-cta-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--aat-text-inv);
  line-height: 1.2;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.aat-cta-card p {
  font-size: 0.85rem;
  color: var(--aat-grey);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Button sizes within CTA cards */
.aat-cta-card .aat-btn {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  padding: 0.7rem 1.3rem;
}

.aat-cta-card .aat-btn-secondary {
  border: 1px solid var(--aat-border-dk);
  color: var(--aat-grey);
}

.aat-cta-card .aat-btn-ghost {
  border: 1px solid var(--aat-border-dk);
  color: var(--aat-text-inv);
}

.aat-cta-card:hover .aat-btn .arrow {
  transform: translateX(4px);
}


/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */

.aat-footer {
  background: var(--aat-bg-darker);
  border-top: 2px solid var(--aat-bronze);
  padding: 4rem 0 1.5rem;
}

.aat-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.aat-footer-brand img {
  height: 56px;
  width: auto;
}

.aat-footer-brand p {
  font-size: 0.85rem;
  color: var(--aat-grey);
  line-height: 1.7;
  margin-top: 0.75rem;
}

.aat-ft-title {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  margin-bottom: 0.75rem;
}

.aat-ft-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.aat-ft-links a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--aat-grey);
  transition: color 0.3s var(--aat-ease);
  position: relative;
}

.aat-ft-links a:hover {
  color: var(--aat-text-inv);
}

.aat-ft-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--aat-bronze);
  transition: width 0.3s var(--aat-ease);
}

.aat-ft-links a:hover::after {
  width: 100%;
}

.aat-footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.aat-footer-bar span {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.2);
  font-weight: 500;
}


/* ══════════════════════════════════════
   HUB / ROUTING PAGES
   ══════════════════════════════════════ */

.aat-hub-intro {
  padding: 5rem 0 4rem;
}

.aat-hub-intro p {
  font-size: 1.05rem;
  color: var(--aat-text-2);
  line-height: 1.85;
  max-width: 720px;
  margin-bottom: 1rem;
}

.aat-hub-intro p:last-child {
  margin-bottom: 0;
}

/* Hub framing section — contextual setup before routing */
.aat-hub-frame {
  padding: 0 0 4rem;
}

.aat-hub-frame h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--aat-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.aat-hub-frame p {
  font-size: 1rem;
  color: var(--aat-text-2);
  line-height: 1.85;
  max-width: 720px;
  margin-bottom: 1rem;
}

.aat-hub-frame p:last-child {
  margin-bottom: 0;
}

.aat-hub-frame p strong {
  color: var(--aat-text);
  font-weight: 600;
}

.aat-hub-frame a.inline-link {
  color: var(--aat-bronze);
  font-weight: 600;
  border-bottom: 1px solid rgba(184, 147, 104, 0.4);
  transition: border-color 0.3s, color 0.3s;
}

.aat-hub-frame a.inline-link:hover {
  border-color: var(--aat-bronze);
}

/* Hub routing cards — child page navigation */
.aat-hub-routes {
  padding: 4rem 0 5rem;
  background: var(--aat-bg-surface);
}

.aat-hub-routes-header {
  margin-bottom: 3rem;
}

.aat-hub-routes-header h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--aat-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.aat-hub-routes-header p {
  font-size: 1rem;
  color: var(--aat-text-2);
  line-height: 1.8;
  max-width: 640px;
}

.aat-hub-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.aat-hub-card {
  background: #fff;
  padding: 2.5rem;
  border: 1px solid var(--aat-border);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s var(--aat-ease), box-shadow 0.4s var(--aat-ease), transform 0.4s var(--aat-ease);
}

.aat-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--aat-border);
  transition: background 0.4s var(--aat-ease), width 0.4s var(--aat-ease);
}

.aat-hub-card:hover {
  border-color: rgba(184, 147, 104, 0.3);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

.aat-hub-card:hover::before {
  background: var(--aat-bronze);
  width: 4px;
}

.aat-hub-card .c-num {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--aat-bronze);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.aat-hub-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--aat-navy);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.aat-hub-card p {
  font-size: 0.9rem;
  color: var(--aat-text-2);
  line-height: 1.75;
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.aat-hub-card .c-arrow {
  font-size: 1.2rem;
  color: var(--aat-bronze);
  transition: transform 0.3s var(--aat-ease);
}

.aat-hub-card:hover .c-arrow {
  transform: translateX(6px);
}

/* Full-width single routing card variant */
.aat-hub-card--wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}

.aat-hub-card--wide p {
  margin-bottom: 0;
}

/* Disqualifier list */
.aat-hub-disqualifiers {
  padding: 4rem 0;
}

.aat-hub-disqualifiers h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--aat-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  max-width: 720px;
}

.aat-hub-disqualifiers ul {
  list-style: none;
  max-width: 720px;
}

.aat-hub-disqualifiers li {
  padding: 1rem 0 1rem 1.5rem;
  border-bottom: 1px solid var(--aat-border);
  position: relative;
  font-size: 0.95rem;
  color: var(--aat-text-2);
  line-height: 1.75;
}

.aat-hub-disqualifiers li:first-child {
  border-top: 1px solid var(--aat-border);
}

.aat-hub-disqualifiers li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.35rem;
  width: 8px;
  height: 2px;
  background: var(--aat-bronze);
}

.aat-hub-disqualifiers li strong {
  color: var(--aat-text);
  font-weight: 600;
}

.aat-hub-disqualifiers p {
  font-size: 0.95rem;
  color: var(--aat-text-2);
  line-height: 1.8;
  max-width: 720px;
  margin-top: 1.5rem;
}

/* Hub exit ramp (calm "if none of this sounds like you") */
.aat-hub-exit {
  padding: 3rem 0 4rem;
}

.aat-hub-exit h2 {
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 800;
  color: var(--aat-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.aat-hub-exit p {
  font-size: 1rem;
  color: var(--aat-text-2);
  line-height: 1.85;
  max-width: 720px;
  margin-bottom: 1rem;
}

.aat-hub-exit p:last-child {
  margin-bottom: 0;
}

/* Hub directional section (where to next) */
.aat-hub-direction {
  padding: 4rem 0 5rem;
  background: var(--aat-bg-surface);
}

.aat-hub-direction h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--aat-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.aat-hub-direction p {
  font-size: 1rem;
  color: var(--aat-text-2);
  line-height: 1.85;
  max-width: 720px;
  margin-bottom: 1rem;
}

.aat-hub-direction p:last-child {
  margin-bottom: 0;
}

.aat-hub-direction a.inline-link {
  color: var(--aat-bronze);
  font-weight: 600;
  border-bottom: 1px solid rgba(184, 147, 104, 0.4);
  transition: border-color 0.3s, color 0.3s;
}

.aat-hub-direction a.inline-link:hover {
  border-color: var(--aat-bronze);
}


/* ══════════════════════════════════════
   CONTACT FORM 7 OVERRIDES
   ══════════════════════════════════════ */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
  font-family: var(--aat-font);
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--aat-border);
  background: #fff;
  color: var(--aat-text);
  transition: border-color 0.3s var(--aat-ease);
  width: 100%;
}

.wpcf7 input:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--aat-bronze);
}

.wpcf7 input[type="submit"] {
  font-family: var(--aat-font);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  background: var(--aat-bronze);
  color: var(--aat-navy-deep);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--aat-ease);
}

.wpcf7 input[type="submit"]:hover {
  background: var(--aat-bronze-dark);
}

.wpcf7 select {
  font-family: var(--aat-font);
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--aat-border);
  background: #fff;
  color: var(--aat-text);
  transition: border-color 0.3s var(--aat-ease);
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238f939b' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.wpcf7 select:focus {
  outline: none;
  border-color: var(--aat-bronze);
}

.wpcf7 label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aat-text-2);
  margin-bottom: 0.4rem;
}

.wpcf7 p {
  margin-bottom: 1.25rem;
}

.wpcf7-response-output {
  font-family: var(--aat-font);
  font-size: 0.85rem;
  padding: 1rem;
  margin-top: 1rem;
  border: 1px solid var(--aat-border);
}

.wpcf7 textarea {
  min-height: 160px;
  resize: vertical;
}


/* ══════════════════════════════════════
   PHASE 5 — STANDALONE LAYOUT
   ══════════════════════════════════════ */

.aat-standalone {
  max-width: 720px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
}

.aat-standalone h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  color: var(--aat-navy);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.aat-standalone h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--aat-navy);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.aat-standalone p {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--aat-text-2);
  margin-bottom: 1rem;
  max-width: 640px;
}

.aat-standalone a.inline-link {
  color: var(--aat-bronze);
  font-weight: 600;
  border-bottom: 1px solid rgba(184, 147, 104, 0.4);
  transition: border-color 0.3s, color 0.3s;
}

.aat-standalone a.inline-link:hover {
  border-color: var(--aat-bronze);
}

.aat-standalone-sect {
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--aat-border);
}

.aat-standalone-sect:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
}

.aat-standalone ul {
  list-style: none;
  padding: 0;
}

.aat-standalone ul li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--aat-text-2);
  padding: 0.75rem 0;
  padding-left: 1.5rem;
  position: relative;
  border-top: 1px solid var(--aat-border);
}

.aat-standalone ul li:last-child {
  border-bottom: 1px solid var(--aat-border);
}

.aat-standalone ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background: var(--aat-bronze);
}


/* ══════════════════════════════════════
   PHASE 5 — HERO VARIANT (LIGHTER)
   ══════════════════════════════════════ */

.aat-hero--light {
  min-height: 55vh;
}

.aat-hero--utility {
  min-height: 40vh;
}


/* ══════════════════════════════════════
   PHASE 5 — ENTITY CARDS (SBG)
   ══════════════════════════════════════ */

.aat-entity-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.aat-entity-card {
  background: #fff;
  border: 1px solid var(--aat-border);
  border-left: 3px solid var(--aat-bronze);
  padding: 2rem;
  transition: all 0.3s var(--aat-ease);
}

.aat-entity-card:hover {
  border-color: rgba(184, 147, 104, 0.3);
  border-left-color: var(--aat-bronze);
  border-left-width: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.aat-entity-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--aat-navy);
  margin-bottom: 0.75rem;
}

.aat-entity-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--aat-text-2);
  margin-bottom: 0;
}

.aat-entity-card .aat-entity-link {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  transition: color 0.3s;
}

.aat-entity-card .aat-entity-link:hover {
  color: var(--aat-bronze-dark);
}

.aat-entity-card .aat-entity-infra {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aat-text-3);
}


/* ══════════════════════════════════════
   PHASE 5 — CASE STUDY CARDS (OUTCOMES)
   Summary cards used on /outcomes/ page grid.
   For the case study DETAIL page styling, see
   the CASE STUDY DETAIL PAGE section below.
   ══════════════════════════════════════ */

.aat-case-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.aat-case-card {
  background: #fff;
  border: 1px solid var(--aat-border);
  border-left: 3px solid var(--aat-bronze);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s var(--aat-ease);
}

.aat-case-card:hover {
  border-color: rgba(184, 147, 104, 0.3);
  border-left-color: var(--aat-bronze);
  border-left-width: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.aat-case-tag {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  margin-bottom: 0.75rem;
}

.aat-case-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--aat-navy);
  margin-bottom: 0.75rem;
}

.aat-case-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--aat-text-2);
  flex-grow: 1;
}

.aat-case-card .c-arrow {
  font-size: 0.9rem;
  color: var(--aat-bronze);
  margin-top: 1rem;
  transition: transform 0.3s var(--aat-ease);
}

.aat-case-card:hover .c-arrow {
  transform: translateX(6px);
}


/* ══════════════════════════════════════
   PHASE 5 — ARTICLES GRID (OUTCOMES)
   ══════════════════════════════════════ */

.aat-articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.aat-article-card {
  background: #fff;
  border: 1px solid var(--aat-border);
  padding: 1.75rem;
  transition: all 0.3s var(--aat-ease);
}

.aat-article-card:hover {
  border-color: rgba(184, 147, 104, 0.3);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-3px);
}

.aat-article-card .aat-article-date {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--aat-text-3);
  margin-bottom: 0.5rem;
}

.aat-article-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--aat-navy);
  line-height: 1.35;
}


/* ══════════════════════════════════════
   PHASE 5 — TEAM BIO GRID
   ══════════════════════════════════════ */

.aat-team-group {
  margin-bottom: 3.5rem;
}

.aat-team-group h3 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--aat-border);
}

.aat-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.aat-team-card {
  background: #fff;
  border: 1px solid var(--aat-border);
  padding: 1.75rem;
  transition: all 0.3s var(--aat-ease);
}

.aat-team-card:hover {
  border-color: rgba(184, 147, 104, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.aat-team-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--aat-bg-surface);
  border: 2px solid var(--aat-border);
  margin-bottom: 1rem;
  overflow: hidden;
}

.aat-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.aat-team-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--aat-navy);
  margin-bottom: 0.15rem;
}

.aat-team-role {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--aat-text-3);
  margin-bottom: 0.75rem;
}

.aat-team-bio {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--aat-text-2);
}


/* ══════════════════════════════════════
   PHASE 5 — CONTACT DETAILS
   ══════════════════════════════════════ */

.aat-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.aat-contact-form-col h2,
.aat-contact-info-col h2 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--aat-navy);
  margin-bottom: 1.5rem;
}

.aat-contact-group {
  margin-bottom: 2rem;
}

.aat-contact-group h3 {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  margin-bottom: 0.75rem;
}

.aat-contact-group p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--aat-text-2);
}

.aat-contact-group strong {
  color: var(--aat-text);
  font-weight: 600;
}


/* ══════════════════════════════════════
   PHASE 5 — LEGAL LINK CARDS
   ══════════════════════════════════════ */

.aat-legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
  max-width: 640px;
}

.aat-legal-card {
  display: block;
  background: #fff;
  border: 1px solid var(--aat-border);
  border-left: 3px solid var(--aat-bronze);
  padding: 1.75rem 2rem;
  transition: all 0.3s var(--aat-ease);
}

.aat-legal-card:hover {
  border-color: rgba(184, 147, 104, 0.3);
  border-left-color: var(--aat-bronze);
  border-left-width: 4px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.aat-legal-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--aat-navy);
  margin-bottom: 0.4rem;
}

.aat-legal-card p {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--aat-text-2);
  margin: 0;
}


/* ══════════════════════════════════════
   PHASE 5 — MEMBERSHIP LIST
   ══════════════════════════════════════ */

.aat-membership-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.aat-membership-list li {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--aat-text-2);
  padding: 0.6rem 0 0.6rem 1.5rem;
  position: relative;
  border-top: 1px solid var(--aat-border);
}

.aat-membership-list li:last-child {
  border-bottom: 1px solid var(--aat-border);
}

.aat-membership-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 2px;
  background: var(--aat-bronze);
}


/* ══════════════════════════════════════
   PHASE 5 — GENERIC PAGE CONTENT
   ══════════════════════════════════════ */

.aat-page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.aat-page-content h1 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 800; color: var(--aat-navy); margin-bottom: 1.5rem; }
.aat-page-content h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; color: var(--aat-navy); margin: 2.5rem 0 1rem; }
.aat-page-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--aat-navy); margin: 2rem 0 0.75rem; }
.aat-page-content p { font-size: 0.95rem; line-height: 1.8; color: var(--aat-text-2); margin-bottom: 1rem; }
.aat-page-content ul,
.aat-page-content ol { font-size: 0.95rem; line-height: 1.8; color: var(--aat-text-2); margin: 1rem 0; padding-left: 1.5rem; }
.aat-page-content a { color: var(--aat-bronze); border-bottom: 1px solid rgba(184, 147, 104, 0.4); transition: border-color 0.3s; }
.aat-page-content a:hover { border-color: var(--aat-bronze); }
.aat-page-content table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.9rem; }
.aat-page-content th,
.aat-page-content td { padding: 0.75rem 1rem; border: 1px solid var(--aat-border); text-align: left; }
.aat-page-content th { background: var(--aat-bg-surface); font-weight: 700; color: var(--aat-text); }


/* ══════════════════════════════════════
   STANDALONE CTA — Utility page footer navigation
   Used on /contact/, /legal/, /careers/
   ══════════════════════════════════════ */

.aat-standalone-cta {
  background: var(--aat-bg-surface);
  border-top: 1px solid rgba(184, 147, 104, 0.18);
  padding: 3.5rem 0;
  margin-top: 0;
}

.aat-standalone-cta .aat-container {
  max-width: 1280px;
}

.aat-standalone-cta h2 {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--aat-bronze);
  margin: 0 0 1.75rem 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.aat-standalone-cta h2::before,
.aat-standalone-cta h2::after {
  content: '';
  display: block;
  flex: 0 1 60px;
  height: 1px;
  background: rgba(184, 147, 104, 0.3);
}

.aat-standalone-cta-links {
  list-style: none !important;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.aat-standalone-cta-links li {
  list-style: none !important;
  margin: 0;
  padding: 0 1.75rem;
  position: relative;
}

.aat-standalone-cta-links li::marker {
  content: none;
}

.aat-standalone-cta-links li:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 16px;
  background: rgba(184, 147, 104, 0.4);
}

.aat-standalone-cta-links a {
  display: inline-block;
  color: var(--aat-text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.25s var(--aat-ease);
}

.aat-standalone-cta-links a::after {
  content: '';
  position: absolute;
  bottom: 0.15rem;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--aat-bronze);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--aat-ease);
}

.aat-standalone-cta-links a:hover {
  color: var(--aat-bronze);
}

.aat-standalone-cta-links a:hover::after {
  transform: scaleX(1);
}

.aat-standalone-cta-links .cta-desc {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--aat-text-3);
  margin-top: 0.2rem;
  text-transform: none;
  letter-spacing: 0;
}

/* Mobile — stack vertically with hairline dividers */
@media (max-width: 768px) {
  .aat-standalone-cta {
    padding: 3rem 0;
  }
  .aat-standalone-cta-links {
    flex-direction: column;
    gap: 0;
  }
  .aat-standalone-cta-links li {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  .aat-standalone-cta-links li:not(:last-child)::after {
    display: none;
  }
  .aat-standalone-cta-links li:not(:last-child) {
    border-bottom: 1px solid rgba(46, 74, 107, 0.08);
  }
  .aat-standalone-cta-links a {
    display: block;
    padding: 1rem 0;
    width: 100%;
  }
  .aat-standalone-cta-links a::after {
    display: none;
  }
  .aat-standalone-cta-links a:hover {
    background: rgba(184, 147, 104, 0.04);
  }
}


/* ══════════════════════════════════════
   CASE STUDY DETAIL PAGE
   Single case study template (single-case_study.php).
   Hero uses existing .aat-hero / .aat-hero--sub. Sections
   use .aat-sect. CTA grid uses .aat-cta-card. Only the
   below classes are case-study-specific.
   ══════════════════════════════════════ */

/* ── Hero outcome statement ── */
/* Overrides .aat-hero-intro for the case study hero: slightly
   heavier weight, white instead of grey, wider max-width. */
.aat-cs-hero-outcome {
  font-weight: 500;
  color: var(--aat-text-inv);
  max-width: 720px;
}


/* ── Client logo in hero (top-right, subtle letterhead) ── */
/* Positions inside .aat-hero-content (max-width 1280px, centered).
   Sits on a soft cream card so logos designed for light
   backgrounds remain readable on the navy hero. */

.aat-cs-hero-logo {
  position: absolute;
  top: calc(72px + 1rem);
  right: 0;
  z-index: 3;
  background: rgba(245, 242, 238, 0.95);
  padding: 0.85rem 1.25rem;
  border-radius: 2px;
  max-width: 200px;
  opacity: 0;
  transform: translateY(-10px);
  animation: aat-heroReveal 0.8s var(--aat-ease-out) 0.6s forwards;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.aat-cs-hero-logo img {
  width: 100%;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  display: block;
}


/* ── Hero quick-facts row (engagement, geography) ── */

.aat-cs-quickfacts {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(184, 147, 104, 0.25);
  max-width: 720px;
  opacity: 0;
  transform: translateY(20px);
  animation: aat-heroReveal 0.8s var(--aat-ease-out) 1.3s forwards;
}

.aat-cs-quickfact {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.aat-cs-quickfact-label {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--aat-bronze);
}

.aat-cs-quickfact-value {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--aat-text-inv);
}


/* ── Quote block — In [Name]'s Words section ── */
/* Visually quieter than .aat-pull-quote (which is a display-size
   pull quote) and .aat-emph (which is a strong statement with
   animated glow). This is a calm testimonial block. */

.aat-cs-quote-block {
  margin: 1.5rem 0 0;
  padding: 2.25rem 2.5rem 2.25rem 3.5rem;
  background: var(--aat-bg-surface);
  border-left: 3px solid var(--aat-bronze);
  position: relative;
  max-width: 640px;
}

.aat-cs-quote-block::before {
  content: "\201C"; /* left double quotation mark */
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 4rem;
  line-height: 1;
  color: rgba(184, 147, 104, 0.35);
  font-family: Georgia, serif;
  font-weight: 700;
}

.aat-cs-quote-text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--aat-navy);
  font-style: italic;
  font-weight: 400;
}

.aat-cs-quote-text p {
  margin: 0 0 0.85rem;
}

.aat-cs-quote-text p:last-child {
  margin-bottom: 0;
}

.aat-cs-quote-footer {
  margin-top: 1.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(184, 147, 104, 0.3);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.aat-cs-quote-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--aat-navy);
  letter-spacing: 0.02em;
}

.aat-cs-quote-role {
  font-size: 0.78rem;
  color: var(--aat-text-2);
  font-style: italic;
}


/* ── Related links section ── */
/* Renders inside .aat-sect — picks up section h2/spacing.
   This styles whatever Rich pastes as a UL in the Gutenberg
   editor for "Where to from here" links. */

.aat-cs-related ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  max-width: 640px;
}

.aat-cs-related li {
  margin: 0 0 0.65rem;
  padding-left: 1.4rem;
  position: relative;
  line-height: 1.6;
  font-size: 0.95rem;
}

.aat-cs-related li::before {
  content: "\2192"; /* right arrow */
  position: absolute;
  left: 0;
  color: var(--aat-bronze);
  font-weight: 700;
}

.aat-cs-related li a {
  color: var(--aat-navy);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(46, 74, 107, 0.2);
  transition: border-color 0.3s var(--aat-ease), color 0.3s var(--aat-ease);
}

.aat-cs-related li a:hover,
.aat-cs-related li a:focus {
  color: var(--aat-bronze);
  border-bottom-color: var(--aat-bronze);
}


/* ── Featured image band (contained on navy) ── */
/* Full-width navy band with bronze hairlines top/bottom and a
   subtle grid pattern. Image is contained (not cropped) and
   capped at 960x540 on desktop — 800x533 sources display at
   native size, avoiding the soft/fuzzy upscaling caused by
   the previous full-bleed cover treatment. */

.aat-cs-photo-band {
  margin: 4rem 0 4rem calc(-50vw + 50%);
  width: 100vw;
  position: relative;
  background: var(--aat-bg-darkest);
  padding: 3.5rem 2rem;
  border-top: 1px solid rgba(184, 147, 104, 0.18);
  border-bottom: 1px solid rgba(184, 147, 104, 0.18);
  text-align: center;
  z-index: var(--aat-z-breakout);
  overflow: hidden;
}

.aat-cs-photo-band::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(rgba(184, 147, 104, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 147, 104, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

.aat-cs-photo-band img,
.aat-cs-photo-band-img {
  position: relative;
  z-index: 2;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 540px;
  margin: 0 auto;
  display: block;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

@media (min-width: 769px) {
  .aat-cs-photo-band img,
  .aat-cs-photo-band-img {
    max-width: 960px;
  }
}


/* ── Tablet — case study refinements ── */
@media (max-width: 1024px) {
  .aat-cs-photo-band {
    padding: 2.5rem 1.5rem;
    margin: 3rem 0 3rem calc(-50vw + 50%);
  }
  .aat-cs-photo-band img,
  .aat-cs-photo-band-img {
    max-height: 440px;
  }
}


/* ── Mobile — case study refinements ── */
@media (max-width: 768px) {
  .aat-cs-hero-logo {
    display: none;
  }
  .aat-cs-quickfacts {
    gap: 1.5rem;
    margin-top: 1.75rem;
    padding-top: 1.25rem;
  }
  .aat-cs-quote-block {
    padding: 1.75rem 1.5rem 1.75rem 2rem;
  }
  .aat-cs-quote-block::before {
    font-size: 3rem;
    top: 0.4rem;
    left: 0.6rem;
  }
  .aat-cs-quote-text {
    font-size: 0.95rem;
  }
  .aat-cs-photo-band {
    padding: 2rem 1rem;
    margin: 2.5rem 0 2.5rem calc(-50vw + 50%);
  }
  .aat-cs-photo-band img,
  .aat-cs-photo-band-img {
    max-height: 320px;
  }
}


/* ══════════════════════════════════════
   RESPONSIVE — 1024px
   ══════════════════════════════════════ */

@media (max-width: 1024px) {
  .aat-hero-stats { display: none; }
  .aat-pain-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .aat-pain-aside { margin-top: 0; }
  .aat-resp-layout { grid-template-columns: 1fr; gap: 3rem; }
  .aat-clients-grid { grid-template-columns: 1fr 1fr; }
  .aat-proof-layout { grid-template-columns: 1fr; gap: 3rem; }
  .aat-cta-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .aat-footer-grid { grid-template-columns: 1fr 1fr; }
  .aat-page-wrap { grid-template-columns: 1fr; gap: 0; }
  .aat-sidebar { display: none; }
  .aat-main { padding-top: 3.5rem; }
  .aat-rule-inner { grid-template-columns: 1fr; gap: 2rem; }
  .aat-cta-grid { grid-template-columns: 1fr; }
  .aat-page-insignia { right: -60px; top: 200px; width: 350px; height: 350px; }
  .aat-cursor-dot { display: none; }
  .aat-hub-card-grid { grid-template-columns: 1fr; }
  .aat-hub-card--wide { grid-template-columns: 1fr; }
  .aat-entity-grid { grid-template-columns: 1fr; }
  .aat-case-grid { grid-template-columns: 1fr; }
  .aat-articles-grid { grid-template-columns: 1fr; }
  .aat-team-grid { grid-template-columns: repeat(2, 1fr); }
  .aat-contact-layout { grid-template-columns: 1fr; gap: 3rem; }
}


/* ══════════════════════════════════════
   RESPONSIVE — 768px
   ══════════════════════════════════════ */

@media (max-width: 768px) {
  .aat-nav-links { display: none; }
  .aat-nav-toggle { display: block; }
  .aat-mobile-menu { display: block; }
  .aat-hero h1 { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .aat-paths-grid { grid-template-columns: 1fr; }
  .aat-clients-grid { grid-template-columns: 1fr; }
  .aat-proof-stats { grid-template-columns: 1fr; }
  .aat-hero-ctas { flex-direction: column; }
  .aat-hero-ctas .aat-btn { justify-content: center; }
  .aat-cta-side { border-left: none; padding-left: 0; border-top: 1px solid var(--aat-border-dk); padding-top: 2rem; }
  .aat-clients-header { flex-direction: column; align-items: flex-start; }
  .aat-footer-grid { grid-template-columns: 1fr; }
  .aat-process-flow::before,
  .aat-process-flow .flow-line-fill { left: 17px; }
  .aat-flow-node { width: 36px; height: 36px; font-size: 0.6rem; }
  .aat-pull-quote { font-size: clamp(1.3rem, 5vw, 1.8rem); }
  .aat-page-insignia { right: -80px; top: 180px; width: 280px; height: 280px; }
  .aat-team-grid { grid-template-columns: 1fr; }
}