/* =========================================================
   AACA design system (V3)
   Tokens, base typography, utilities, chrome.
   Section-specific styles live in each block's style.css.
   Selectors are scoped under body.aaca-v3 to avoid collisions
   with Astra parent-theme styles (e.g. .footer).
   ========================================================= */

/* V3 tokens are scoped to body.aaca-v3 (specificity 0,1,1) rather than
   :root (0,1,0). The v2 design system also declares :root { --ink: ... }
   and loads later in <link> order — without this scope bump, v2 wins
   the cascade and v3 colors resolve to v2's hex values. */
body.aaca-v3 {
  /* Navy family */
  --ink-strip:    #002047;
  --ink:          oklch(0.21 0.055 252);
  --ink-soft:     oklch(0.30 0.045 252);
  --ink-rule:     oklch(0.36 0.035 252);
  --ink-deep:     oklch(0.16 0.025 252);

  --paper:        oklch(0.97 0.012 90);
  --cream:        oklch(0.94 0.020 88);
  --cream-deep:   oklch(0.90 0.025 86);

  --bronze:       oklch(0.66 0.130 65);
  --bronze-deep:  oklch(0.55 0.115 60);

  --text:         oklch(0.25 0.025 250);
  --muted:        oklch(0.50 0.020 250);

  --rule:         oklch(0.86 0.018 85);
  --rule-strong:  oklch(0.74 0.020 85);
  --rule-dark:    oklch(0.30 0.025 252);

  /* Adobe Fonts kit slugs (Freight + Halyard). */
  --serif-hero:    "freight-big-pro", "freight-display-pro", "freight-text-pro", "Iowan Old Style", Georgia, serif;
  --serif-display: "freight-display-pro", "freight-text-pro", "Iowan Old Style", Georgia, serif;
  --serif-sub:     "freight-text-pro", "freight-display-pro", "Iowan Old Style", Georgia, serif;
  --serif-text:    "freight-text-pro", "Iowan Old Style", Georgia, serif;
  --serif:         var(--serif-display);
  --sans:          "halyard-text", "Halyard Text", -apple-system, "Helvetica Neue", Arial, sans-serif;

  --measure: 66ch;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 12px;
  --space-lg: 16px;
  --space-xl: 24px;
  --space-2xl: 32px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  --space-5xl: 96px;
  --space-6xl: 144px;
}

/* ============== Base typography (v3 scope) ==============
   Only Astra-specific selectors get !important — those are the ones the
   parent theme/customizer aggressively styles. Generic h1-h6 / p are left
   without !important so block-specific rules (hero__title using
   var(--serif-hero), colophon__body using var(--serif-text), etc.) can win.
   Body inherits the sans family so plain text without a block class also
   renders correctly. */
body.aaca-v3 {
  font-family: var(--sans);
}

body.aaca-v3 .entry-title,
body.aaca-v3 .site-title,
body.aaca-v3 .ast-builder-html-element,
body.aaca-v3 .wp-block-heading {
  font-family: var(--serif-display) !important;
}

/* WP Customizer "Additional CSS" antidote.
   The customizer adds inline-CSS rules like
     h1, .heading-one { font-size: 102px !important }
     h2:not(.widget_nav_menu h2) { font-size: 51px !important; margin: 0 !important; max-width: 100% !important }
     .entry-content :where(h2):not(.widget_nav_menu h2) { font-weight: 400 !important }
   The last form has specificity (0,2,1) because `.entry-content` is an
   ancestor of all WP page content. To beat that on v3 pages, we need
   selectors at specificity ≥ (0,3,0). The block-name ancestry below
   (`body.aaca-v3 .entry-content`) is (0,3,0) and beats the customizer
   without polluting individual block CSS files with workaround chains. */
body.aaca-v3 .entry-content .hero__title,
body.aaca-v3 .entry-content .meeting__title,
body.aaca-v3 .entry-content .section__title,
body.aaca-v3 .entry-content .pillar__title,
body.aaca-v3 .entry-content .dir-entry__title,
body.aaca-v3 .entry-content .journal__face-title,
body.aaca-v3 .entry-content .page-hero__title,
body.aaca-v3 .entry-content .bylaws__article-title,
body.aaca-v3 .entry-content .committee__title,
body.aaca-v3 .entry-content .leader-hero__name,
body.aaca-v3 .entry-content .officer-card__name,
body.aaca-v3 .entry-content .member-card__title,
body.aaca-v3 .entry-content .schedule__detail h3,
body.aaca-v3 .entry-content .prose h2,
body.aaca-v3 .entry-content .prose h3,
body.aaca-v3 .hero__title,
body.aaca-v3 .meeting__title,
body.aaca-v3 .section__title,
body.aaca-v3 .pillar__title,
body.aaca-v3 .dir-entry__title,
body.aaca-v3 .journal__face-title,
body.aaca-v3 .page-hero__title,
body.aaca-v3 .bylaws__article-title,
body.aaca-v3 .committee__title,
body.aaca-v3 .leader-hero__name,
body.aaca-v3 .officer-card__name,
body.aaca-v3 .member-card__title,
body.aaca-v3 .schedule__detail h3,
body.aaca-v3 .prose h2,
body.aaca-v3 .prose h3 {
  margin: 0 !important;
  max-width: none !important;
}

/* Restore design margins per heading. These selectors are higher
   specificity (0,3,0) than the customizer's (0,2,1), so they win the
   margin-bottom battle without conflict from the reset above. */
body.aaca-v3 .entry-content .hero__title { margin: 0 0 clamp(28px, 4.5vh, 44px) !important; }
body.aaca-v3 .entry-content .meeting__title { margin: 0 0 24px !important; }
body.aaca-v3 .entry-content .define__head .section__title { margin-top: 6px !important; }
body.aaca-v3 .entry-content .section__title { max-width: 22ch !important; }
body.aaca-v3 .entry-content .journal__copy h2.section__title { max-width: 16ch !important; }
/* journal__face-title uses margin-top: auto for vertical-bottom alignment
   inside the cover flex column. The global margin reset above wiped it;
   restore it here at higher specificity. */
body.aaca-v3 .entry-content .journal__face-title { margin: auto 0 0 !important; }

/* Heading font props the customizer hijacks (font-weight, font-size,
   line-height, letter-spacing). Set per-heading at 0,3,0 specificity. */
body.aaca-v3 .entry-content .hero__title {
  font-family: var(--serif-hero) !important;
  font-weight: 400 !important;
  font-size: clamp(2.5rem, 5.4vw, 5rem) !important;
  line-height: 1.0 !important;
  letter-spacing: -0.02em !important;
}
body.aaca-v3 .entry-content .meeting__title {
  font-family: var(--serif-hero) !important;
  font-weight: 500 !important;
  font-size: clamp(2.4rem, 5vw, 4.4rem) !important;
  line-height: 1.04 !important;
  letter-spacing: -0.014em !important;
}
body.aaca-v3 .entry-content .section__title {
  font-family: var(--serif-display) !important;
  font-weight: 500 !important;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.010em !important;
}
body.aaca-v3 .entry-content .pillar__title {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.5rem, 2vw, 1.85rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.006em !important;
}
body.aaca-v3 .entry-content .dir-entry__title {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.5rem, 2vw, 1.85rem) !important;
  line-height: 1.15 !important;
  /* No letter-spacing override — inherit -0.006em from .display class. */
}
body.aaca-v3 .entry-content .journal__face-title {
  font-family: var(--serif-display) !important;
  font-weight: 500 !important;
  font-size: clamp(2.2rem, 3.4vw, 2.9rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.012em !important;
}

/* Round-2 interior-page headings — restore design margins + font props at
   (0,3,0) specificity so they beat customizer "Additional CSS" rules. */
body.aaca-v3 .entry-content .page-hero__title { margin: 0 0 clamp(20px, 3vh, 32px) !important; max-width: 22ch !important; }
body.aaca-v3 .entry-content .bylaws__article-title { margin: 0 0 24px !important; }

body.aaca-v3 .entry-content .page-hero__title {
  font-family: var(--serif-hero) !important;
  font-weight: 400 !important;
  font-size: clamp(2rem, 4.4vw, 3.6rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.014em !important;
}
body.aaca-v3 .entry-content .bylaws__article-title {
  font-family: var(--serif-display) !important;
  font-weight: 500 !important;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.008em !important;
}
body.aaca-v3 .entry-content .committee__title {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.4rem, 1.9vw, 1.7rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.005em !important;
}
body.aaca-v3 .entry-content .leader-hero__name {
  font-family: var(--serif-display) !important;
  font-weight: 500 !important;
  font-size: clamp(2rem, 3.4vw, 2.8rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.012em !important;
}
body.aaca-v3 .entry-content .leader-hero__name { margin: 0 0 8px !important; }
body.aaca-v3 .entry-content .officer-card__name {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.15rem, 1.45vw, 1.3rem) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.005em !important;
}
body.aaca-v3 .entry-content .member-card__title {
  font-family: var(--serif-display) !important;
  font-weight: 500 !important;
  font-size: clamp(1.6rem, 2.4vw, 2rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -0.008em !important;
}
body.aaca-v3 .entry-content .schedule__detail h3 {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.15rem, 1.4vw, 1.3rem) !important;
  line-height: 1.2 !important;
}
body.aaca-v3 .entry-content .schedule__detail h3 { margin: 0 0 6px !important; }
body.aaca-v3 .entry-content .prose h2 {
  font-family: var(--serif-display) !important;
  font-weight: 500 !important;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.008em !important;
  margin-top: 2em !important;
}
body.aaca-v3 .entry-content .prose h3 {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.2rem, 1.6vw, 1.4rem) !important;
  line-height: 1.2 !important;
  margin-top: 1.6em !important;
}

body.aaca-v3 {
  color: var(--text);
  background: var(--paper);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "liga", "calt";
}

body.aaca-v3 ::selection { background: var(--ink); color: var(--cream); }

/* Astra/parent default underlines every <a>. Strip in v3 — components
   opt back in via explicit border-bottom (e.g. .nav__links a:hover). */
body.aaca-v3 a,
body.aaca-v3 a:hover,
body.aaca-v3 a:focus,
body.aaca-v3 a:visited,
body.aaca-v3 .masthead a,
body.aaca-v3 .nav a,
body.aaca-v3 .footer a {
  text-decoration: none !important;
}

/* ============== Full-width page chrome ==============
   The homepage and any page using the Astra "Page Builder" template
   needs to render edge-to-edge so the v3 blocks own their own padding
   via .shell. Astra otherwise wraps content in .ast-container with a
   max-width that constrains the layout on wide displays. */

body.home,
body.ast-page-builder-template,
body.aaca-v2-fullwidth,
body.aaca-v3-fullwidth {
  --ast-container-default-xl-width: 100%;
  --ast-container-default-lg-width: 100%;
  --ast-container-default-md-width: 100%;
  --ast-container-default-sm-width: 100%;
  --ast-container-default-xs-width: 100%;
  --wp--style--global--content-size: 100%;
  --wp--style--global--wide-size: 100%;
}

body.home #page,
body.home .site,
body.home #content,
body.home .site-content,
body.home .ast-container,
body.home .site-content > .ast-container,
body.home .ast-row,
body.home #primary,
body.home .content-area,
body.home main#main,
body.home .site-main,
body.home article.post,
body.home article.page,
body.home .entry-content,
body.ast-page-builder-template #page,
body.ast-page-builder-template .site,
body.ast-page-builder-template #content,
body.ast-page-builder-template .site-content,
body.ast-page-builder-template .ast-container,
body.ast-page-builder-template .ast-row,
body.ast-page-builder-template #primary,
body.ast-page-builder-template .content-area,
body.ast-page-builder-template main#main,
body.ast-page-builder-template .site-main,
body.ast-page-builder-template article.post,
body.ast-page-builder-template article.page,
body.ast-page-builder-template .entry-content,
body.aaca-v2-fullwidth #page,
body.aaca-v2-fullwidth .site,
body.aaca-v2-fullwidth #content,
body.aaca-v2-fullwidth .site-content,
body.aaca-v2-fullwidth .ast-container,
body.aaca-v2-fullwidth .ast-row,
body.aaca-v2-fullwidth #primary,
body.aaca-v2-fullwidth .content-area,
body.aaca-v2-fullwidth main#main,
body.aaca-v2-fullwidth .site-main,
body.aaca-v2-fullwidth article.post,
body.aaca-v2-fullwidth article.page,
body.aaca-v2-fullwidth .entry-content,
body.aaca-v3-fullwidth #page,
body.aaca-v3-fullwidth .site,
body.aaca-v3-fullwidth #content,
body.aaca-v3-fullwidth .site-content,
body.aaca-v3-fullwidth .ast-container,
body.aaca-v3-fullwidth .ast-row,
body.aaca-v3-fullwidth #primary,
body.aaca-v3-fullwidth .content-area,
body.aaca-v3-fullwidth main#main,
body.aaca-v3-fullwidth .site-main,
body.aaca-v3-fullwidth article.post,
body.aaca-v3-fullwidth article.page,
body.aaca-v3-fullwidth .entry-content {
  max-width: none !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
}

body.home #content,
body.home .site-content,
body.home #primary,
body.home main#main,
body.home .site-main,
body.home article.page,
body.home article.post,
body.home .entry-content,
body.ast-page-builder-template #content,
body.ast-page-builder-template .site-content,
body.ast-page-builder-template #primary,
body.ast-page-builder-template main#main,
body.ast-page-builder-template .site-main,
body.ast-page-builder-template article.page,
body.ast-page-builder-template article.post,
body.ast-page-builder-template .entry-content,
body.aaca-v2-fullwidth #content,
body.aaca-v2-fullwidth .site-content,
body.aaca-v2-fullwidth #primary,
body.aaca-v2-fullwidth main#main,
body.aaca-v2-fullwidth .site-main,
body.aaca-v2-fullwidth article.page,
body.aaca-v2-fullwidth article.post,
body.aaca-v2-fullwidth .entry-content,
body.aaca-v3-fullwidth #content,
body.aaca-v3-fullwidth .site-content,
body.aaca-v3-fullwidth #primary,
body.aaca-v3-fullwidth main#main,
body.aaca-v3-fullwidth .site-main,
body.aaca-v3-fullwidth article.page,
body.aaca-v3-fullwidth article.post,
body.aaca-v3-fullwidth .entry-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.home > main#main,
body.ast-page-builder-template > main#main,
body.aaca-v2-fullwidth > main#main,
body.aaca-v3-fullwidth > main#main,
body.home main#main,
body.ast-page-builder-template main#main,
body.aaca-v2-fullwidth main#main,
body.aaca-v3-fullwidth main#main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.home .entry-content > *,
body.ast-page-builder-template .entry-content > *,
body.aaca-v2-fullwidth .entry-content > *,
body.aaca-v3-fullwidth .entry-content > * {
  max-width: none !important;
}

/* Hide Astra's title bars / page meta — design blocks supply their own. */
body.home .entry-header,
body.home header.entry-header,
body.home .entry-header > *,
body.home .entry-title,
body.home h1.entry-title,
body.home h1.page-title,
body.home .ast-archive-title,
body.home .ast-archive-description,
body.home .ast-page-title-bar,
body.home .ast-page-title-bar-wrap,
body.home .ast-page-header,
body.home .ast-page-header-section,
body.home .ast-archive-header,
body.home .entry-banner,
body.home .ast-the-content-page-title,
body.home .post-thumb-img-content,
body.home .ast-single-post-order,
body.home .ast-breadcrumbs-wrapper,
body.home .breadcrumb-trail,
body.home .ast-blog-single-element,
body.home .page-header,
body.ast-page-builder-template .entry-header,
body.ast-page-builder-template header.entry-header,
body.ast-page-builder-template .entry-header > *,
body.ast-page-builder-template .entry-title,
body.ast-page-builder-template h1.entry-title,
body.ast-page-builder-template h1.page-title,
body.ast-page-builder-template .ast-page-title-bar,
body.ast-page-builder-template .ast-page-title-bar-wrap,
body.ast-page-builder-template .ast-page-header,
body.ast-page-builder-template .ast-page-header-section,
body.ast-page-builder-template .ast-the-content-page-title,
body.ast-page-builder-template .ast-breadcrumbs-wrapper,
body.ast-page-builder-template .page-header,
body.aaca-v2-fullwidth .entry-header,
body.aaca-v2-fullwidth header.entry-header,
body.aaca-v2-fullwidth .entry-header > *,
body.aaca-v2-fullwidth .entry-title,
body.aaca-v2-fullwidth h1.entry-title,
body.aaca-v2-fullwidth h1.page-title,
body.aaca-v2-fullwidth .ast-archive-title,
body.aaca-v2-fullwidth .ast-archive-description,
body.aaca-v2-fullwidth .ast-page-title-bar,
body.aaca-v2-fullwidth .ast-page-title-bar-wrap,
body.aaca-v2-fullwidth .ast-page-header,
body.aaca-v2-fullwidth .ast-page-header-section,
body.aaca-v2-fullwidth .ast-archive-header,
body.aaca-v2-fullwidth .entry-banner,
body.aaca-v2-fullwidth .ast-the-content-page-title,
body.aaca-v2-fullwidth .post-thumb-img-content,
body.aaca-v2-fullwidth .ast-single-post-order,
body.aaca-v2-fullwidth .ast-breadcrumbs-wrapper,
body.aaca-v2-fullwidth .breadcrumb-trail,
body.aaca-v2-fullwidth .ast-blog-single-element,
body.aaca-v2-fullwidth .page-header,
body.aaca-v3-fullwidth .entry-header,
body.aaca-v3-fullwidth header.entry-header,
body.aaca-v3-fullwidth .entry-header > *,
body.aaca-v3-fullwidth .entry-title,
body.aaca-v3-fullwidth h1.entry-title,
body.aaca-v3-fullwidth h1.page-title,
body.aaca-v3-fullwidth .ast-archive-title,
body.aaca-v3-fullwidth .ast-archive-description,
body.aaca-v3-fullwidth .ast-page-title-bar,
body.aaca-v3-fullwidth .ast-page-title-bar-wrap,
body.aaca-v3-fullwidth .ast-page-header,
body.aaca-v3-fullwidth .ast-page-header-section,
body.aaca-v3-fullwidth .ast-archive-header,
body.aaca-v3-fullwidth .entry-banner,
body.aaca-v3-fullwidth .ast-the-content-page-title,
body.aaca-v3-fullwidth .post-thumb-img-content,
body.aaca-v3-fullwidth .ast-single-post-order,
body.aaca-v3-fullwidth .ast-breadcrumbs-wrapper,
body.aaca-v3-fullwidth .breadcrumb-trail,
body.aaca-v3-fullwidth .ast-blog-single-element,
body.aaca-v3-fullwidth .page-header {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.home .site-content,
body.ast-page-builder-template .site-content,
body.aaca-v2-fullwidth .site-content,
body.aaca-v3-fullwidth .site-content {
  padding: 0 !important;
}

body.home .ast-no-sidebar.ast-separate-container .entry-content,
body.home.ast-separate-container .entry-content,
body.home.ast-separate-container #primary,
body.ast-page-builder-template.ast-separate-container .entry-content,
body.ast-page-builder-template.ast-separate-container #primary,
body.aaca-v2-fullwidth.ast-separate-container .entry-content,
body.aaca-v2-fullwidth.ast-separate-container #primary,
body.aaca-v3-fullwidth.ast-separate-container .entry-content,
body.aaca-v3-fullwidth.ast-separate-container #primary {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

/* ============== Shell / shared utilities ==============
   Scoped under .aaca-v3 (the block wrapper class) instead of body.aaca-v3
   so these styles also apply inside the Gutenberg editor preview. */
.aaca-v3 .shell {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 56px);
}
.aaca-v3 .shell--wide   { max-width: 1480px; }
.aaca-v3 .shell--narrow { max-width: 920px; }

body.aaca-v3 .skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 18px;
  z-index: 1000;
  font-size: 13px;
  letter-spacing: 0.08em;
  font-family: var(--sans) !important;
}
body.aaca-v3 .skip-link:focus,
body.aaca-v3 .skip-link:focus-visible {
  left: 0;
  outline: 2px solid var(--bronze);
}

body.aaca-v3 a:focus-visible,
body.aaca-v3 button:focus-visible,
.aaca-v3 a:focus-visible,
.aaca-v3 button:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 4px;
}

.aaca-v3 .smallcaps {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
  font-size: 0.75em;
}

.aaca-v3 .measure { max-width: var(--measure); }

/* Notice — italic boxed disclaimer used on bylaws + leadership. Higher
   specificity (0,3,0) so it beats `.aaca-v3 .prose p` when nested inside
   a prose wrapper. */
.aaca-v3 .notice,
.aaca-v3 .prose .notice {
  font-family: var(--serif-text) !important;
  font-style: italic;
  color: var(--ink-soft);
  font-size: 0.98rem !important;
  line-height: 1.5;
  border: 1px solid var(--rule);
  padding: clamp(16px, 2.4vw, 22px) clamp(20px, 3vw, 28px) !important;
  max-width: 65ch !important;
  margin: 0 !important;
}
.aaca-v3 .notice em,
.aaca-v3 .prose .notice em { color: var(--bronze-deep); font-style: italic; }
/* Spacing modifiers for notices placed at top/bottom of bylaws stack. */
.aaca-v3 .notice--mb-lg { margin-bottom: 32px !important; }
.aaca-v3 .notice--mt-lg { margin-top: 48px !important; }

/* ============== PROSE — long-form editorial flow (shared) ============== */
.aaca-v3 .prose {
  font-family: var(--sans);
  color: var(--text);
  font-size: clamp(1rem, 1.05vw, 1.08rem) !important;
  line-height: 1.65;
  max-width: 65ch !important;
}
.aaca-v3 .editorial--ink .prose { color: oklch(0.86 0.012 88); }
.aaca-v3 .prose > * + * { margin-top: 1em; }
.aaca-v3 .prose p,
.aaca-v3 .prose ul,
.aaca-v3 .prose ol { margin-bottom: 0 !important; }
.aaca-v3 .prose li { margin-top: 0.4em !important; line-height: 1.6; }
.aaca-v3 .prose ul,
.aaca-v3 .prose ol { padding-left: 1.4em !important; margin-top: 1em; }
.aaca-v3 .prose ul li::marker { color: var(--bronze-deep); }
.aaca-v3 .prose a {
  color: var(--ink);
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
}
.aaca-v3 .editorial--ink .prose a { color: var(--cream); border-bottom-color: var(--rule-dark); }
.aaca-v3 .prose a:hover { color: var(--bronze-deep); border-bottom-color: var(--bronze); }
.aaca-v3 .editorial--ink .prose a:hover { color: var(--bronze); }
.aaca-v3 .prose p em,
.aaca-v3 .prose li em { font-style: italic; color: var(--ink); }
.aaca-v3 .editorial--ink .prose p em,
.aaca-v3 .editorial--ink .prose li em { color: var(--cream); }
.aaca-v3 .prose blockquote {
  border-left: 2px solid var(--bronze);
  padding: 6px 0 6px 24px;
  margin: 1.6em 0 !important;
  position: static !important;
  font-family: var(--serif-text) !important;
  font-style: italic;
  font-size: 1.1em !important;
  line-height: 1.55;
  color: var(--ink);
}
.aaca-v3 .editorial--ink .prose blockquote { color: var(--cream); }
/* wpautop wraps blockquote content in <p> — strip the inner margin so the
 * blockquote keeps demo's compact height. */
.aaca-v3 .prose blockquote p { margin: 0 !important; padding: 0 !important; font-size: inherit !important; line-height: inherit !important; }

/* Prose tables, figures and two-up grids (meeting pages: fee tables,
 * schedule thumbnails, hotel lists). Placed before the legacy auto-skin so
 * legacy pages keep their own table rules. */
.aaca-v3 .prose img { max-width: 100%; height: auto; }
.aaca-v3 .prose .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.aaca-v3 .prose table {
  width: 100%;
  border: 0 !important;
  margin: 0 !important;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.45;
}
.aaca-v3 .prose th,
.aaca-v3 .prose td {
  text-align: left;
  padding: 10px 16px 10px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--rule) !important;
  vertical-align: top;
}
.aaca-v3 .prose th {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--bronze-deep);
  border-bottom-color: var(--rule-strong) !important;
}
.aaca-v3 .prose td small { display: block; color: var(--muted); font-size: 0.85em; }
.aaca-v3 .prose .prose-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}
.aaca-v3 .prose .prose-grid > * { margin: 0 !important; }
.aaca-v3 .prose .prose-grid p { margin-top: 0.35em !important; }
.aaca-v3 .prose .prose-grid h3 { margin-top: 0 !important; }
.aaca-v3 .prose figure { margin: 0; }
.aaca-v3 .prose figure a { border-bottom: 0 !important; display: block; }
.aaca-v3 .prose figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.aaca-v3 .prose figcaption {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 10px;
}
.aaca-v3 .prose .prose-portrait {
  float: left;
  width: min(200px, 40%);
  margin: 0.3em 28px 16px 0;
}
.aaca-v3 .prose::after { content: ""; display: table; clear: both; }
@media (max-width: 720px) {
  .aaca-v3 .prose .prose-grid { grid-template-columns: 1fr; }
  .aaca-v3 .prose .prose-portrait { float: none; width: min(220px, 70%); margin: 0 0 20px; }
}

/* ============== Legacy-content auto-skin ==============
 * `.aaca-v3-legacy` is the wrapper added by the the_content filter when a
 * page/post has no v3 blocks. Extends `.prose` with rules for content
 * patterns the design system doesn't otherwise expect: h1, images, tables,
 * figures, embeds. Keeps the page readable and on-brand without manual
 * conversion. */
.aaca-v3 .prose.aaca-v3-legacy { max-width: 75ch !important; }
.aaca-v3 .aaca-v3-legacy h1 {
  font-family: var(--serif-hero) !important;
  font-weight: 400 !important;
  font-size: clamp(2rem, 4.4vw, 3.6rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.014em !important;
  color: var(--ink) !important;
  text-wrap: balance;
  margin: 0 0 clamp(20px, 3vh, 32px) !important;
  max-width: 22ch !important;
}
.aaca-v3 .aaca-v3-legacy h1 em { font-style: italic; color: var(--bronze-deep); }
.aaca-v3 .aaca-v3-legacy h4,
.aaca-v3 .aaca-v3-legacy h5,
.aaca-v3 .aaca-v3-legacy h6 {
  font-family: var(--serif-sub);
  font-weight: 500;
  color: var(--ink);
  margin-top: 1.4em;
  line-height: 1.25;
}
.aaca-v3 .aaca-v3-legacy h4 { font-size: 1.15rem; }
.aaca-v3 .aaca-v3-legacy h5 { font-size: 1.05rem; }
.aaca-v3 .aaca-v3-legacy h6 {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.85rem;
  color: var(--bronze-deep);
}
.aaca-v3 .aaca-v3-legacy img,
.aaca-v3 .aaca-v3-legacy figure {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5em 0;
}
.aaca-v3 .aaca-v3-legacy figure img { margin: 0; }
.aaca-v3 .aaca-v3-legacy figcaption {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 8px;
  text-align: center;
}
.aaca-v3 .aaca-v3-legacy hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2em 0;
}
.aaca-v3 .aaca-v3-legacy table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5em 0;
  font-family: var(--sans);
  font-size: 0.95rem;
}
.aaca-v3 .aaca-v3-legacy th,
.aaca-v3 .aaca-v3-legacy td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
}
.aaca-v3 .aaca-v3-legacy th {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--bronze-deep);
  font-weight: 600;
  border-bottom: 1px solid var(--rule-strong);
}
.aaca-v3 .aaca-v3-legacy code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.92em;
  background: var(--cream);
  padding: 2px 6px;
  border: 1px solid var(--rule);
}
.aaca-v3 .aaca-v3-legacy pre {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.88rem;
  background: var(--ink-deep);
  color: var(--cream);
  padding: 18px 22px;
  margin: 1.5em 0;
  overflow-x: auto;
  line-height: 1.55;
}
.aaca-v3 .aaca-v3-legacy pre code {
  background: transparent;
  padding: 0;
  border: 0;
  color: inherit;
}
.aaca-v3 .aaca-v3-legacy iframe,
.aaca-v3 .aaca-v3-legacy video,
.aaca-v3 .aaca-v3-legacy embed,
.aaca-v3 .aaca-v3-legacy object {
  max-width: 100%;
  display: block;
  margin: 1.5em auto;
}
.aaca-v3 .aaca-v3-legacy .wp-block-embed,
.aaca-v3 .aaca-v3-legacy .wp-block-image,
.aaca-v3 .aaca-v3-legacy .wp-block-gallery {
  margin: 1.5em 0;
}

/* ============== Legacy button skinning ==============
 * `.theme-custom-button` is the child theme's legacy button class used by
 * many old blocks (hero-block, feature-block, dual-side-content-block,
 * information-box, contact-form-grid, form-grid-block) and templates
 * (single-job, job-post-list, event-list). Re-skin every instance under
 * the v3 body class so the button reads as a v3 primary CTA (ink-strip
 * fill, cream text, uppercase, square corners).
 *
 * `.theme-custom-button-outline` is the secondary variant used in
 * single-job and event-list templates — render as the bordered outline
 * pattern from the v3 hero CTA. */
body.aaca-v3 a.theme-custom-button,
body.aaca-v3 button.theme-custom-button,
body.aaca-v3 .theme-custom-button {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--cream) !important;
  background: var(--ink-strip) !important;
  padding: 12px 22px 13px !important;
  border: 1px solid var(--ink-strip) !important;
  border-radius: 0 !important;
  white-space: nowrap;
  text-decoration: none !important;
  line-height: 1.2 !important;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
body.aaca-v3 a.theme-custom-button:hover,
body.aaca-v3 button.theme-custom-button:hover,
body.aaca-v3 .theme-custom-button:hover {
  background: var(--bronze-deep) !important;
  border-color: var(--bronze-deep) !important;
  color: var(--cream) !important;
}

body.aaca-v3 a.theme-custom-button-outline,
body.aaca-v3 button.theme-custom-button-outline,
body.aaca-v3 .theme-custom-button-outline {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--ink) !important;
  background: transparent !important;
  padding: 12px 22px 13px !important;
  border: 1px solid var(--ink) !important;
  border-radius: 0 !important;
  white-space: nowrap;
  text-decoration: none !important;
  line-height: 1.2 !important;
  transition: background 200ms ease, color 200ms ease;
}
body.aaca-v3 a.theme-custom-button-outline:hover,
body.aaca-v3 button.theme-custom-button-outline:hover,
body.aaca-v3 .theme-custom-button-outline:hover {
  background: var(--ink) !important;
  color: var(--cream) !important;
}

/* Default WordPress block-button + Astra .ast-button / .ast-custom-button
 * also exist scattered across legacy content. Re-skin them to match. */
body.aaca-v3 .wp-block-button .wp-block-button__link,
body.aaca-v3 .wp-block-buttons .wp-block-button__link,
body.aaca-v3 a.ast-button,
body.aaca-v3 button.ast-button,
body.aaca-v3 a.ast-custom-button,
body.aaca-v3 button.ast-custom-button,
body.aaca-v3 input[type="submit"]:not(.gform_button):not(.contact-form__submit),
body.aaca-v3 input[type="button"]:not(.gform_button):not(.contact-form__submit) {
  display: inline-flex !important;
  align-items: center;
  gap: 12px;
  font-family: var(--sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--cream) !important;
  background: var(--ink-strip) !important;
  padding: 12px 22px 13px !important;
  border: 1px solid var(--ink-strip) !important;
  border-radius: 0 !important;
  text-decoration: none !important;
  line-height: 1.2 !important;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
body.aaca-v3 .wp-block-button .wp-block-button__link:hover,
body.aaca-v3 .wp-block-buttons .wp-block-button__link:hover,
body.aaca-v3 a.ast-button:hover,
body.aaca-v3 button.ast-button:hover,
body.aaca-v3 a.ast-custom-button:hover,
body.aaca-v3 button.ast-custom-button:hover,
body.aaca-v3 input[type="submit"]:not(.gform_button):not(.contact-form__submit):hover,
body.aaca-v3 input[type="button"]:not(.gform_button):not(.contact-form__submit):hover {
  background: var(--bronze-deep) !important;
  border-color: var(--bronze-deep) !important;
  color: var(--cream) !important;
}
body.aaca-v3 .wp-block-button.is-style-outline .wp-block-button__link {
  color: var(--ink) !important;
  background: transparent !important;
  border-color: var(--ink) !important;
}
body.aaca-v3 .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--ink) !important;
  color: var(--cream) !important;
}

/* ============== Legacy ACF block re-skin ==============
 * Old child-theme blocks (heading-block, hero-block, feature-block,
 * information-block, dual-side-content-block, form-grid-block,
 * box-grid-block, etc.) render their own raw markup outside our
 * `.aaca-v3` wrappers. Without overrides they read full-width with
 * pre-v3 typography. This block constrains them to the v3 .shell width,
 * applies Freight + Halyard, and uses the v3 color tokens — so legacy
 * pages immediately fit the design language without content rewrites.
 *
 * Class names match what the block render templates output (see
 * blocks/<name>/render.php).
 */
/* Outer-section pattern: full-bleed background (100% width, no max-width)
 * with edge padding only. Each block's INNER content (.department-container,
 * .heroblock-left-side, .body-text-area's children, etc.) gets the
 * max-1480px treatment via dedicated inner selectors below. This preserves
 * the v3 design language's edge-to-edge color blocking. */
body.aaca-v3 .heading-block,
body.aaca-v3 .hero-block,
body.aaca-v3 .feature-block,
body.aaca-v3 .information-block,
body.aaca-v3 .text-area-block,
body.aaca-v3 .body-text-area,
body.aaca-v3 .section-body-text,
body.aaca-v3 .dual-side-content-block,
body.aaca-v3 .form-grid-block,
body.aaca-v3 .box-grid-block,
body.aaca-v3 .collective-block,
body.aaca-v3 .info-links-block,
body.aaca-v3 .multi-images-block,
body.aaca-v3 .dual-images-block,
body.aaca-v3 .process-block,
body.aaca-v3 .tag-line-block,
body.aaca-v3 .contact-form-grid,
body.aaca-v3 .team-container,
body.aaca-v3 .full-screen-video {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(60px, 9vh, 120px) clamp(20px, 4vw, 56px) !important;
  box-sizing: border-box;
}
/* Default background color tier — paper for most, accent backgrounds keep
 * their tone (cream / ink-deep) edge-to-edge. */
body.aaca-v3 .heading-block,
body.aaca-v3 .hero-block,
body.aaca-v3 .feature-block,
body.aaca-v3 .text-area-block,
body.aaca-v3 .body-text-area,
body.aaca-v3 .section-body-text,
body.aaca-v3 .dual-side-content-block,
body.aaca-v3 .form-grid-block,
body.aaca-v3 .box-grid-block,
body.aaca-v3 .collective-block,
body.aaca-v3 .info-links-block,
body.aaca-v3 .multi-images-block,
body.aaca-v3 .dual-images-block,
body.aaca-v3 .process-block,
body.aaca-v3 .tag-line-block,
body.aaca-v3 .contact-form-grid { background: var(--paper); }
body.aaca-v3 .team-container.full-bg-light,
body.aaca-v3 .information-block { background: var(--cream); }
body.aaca-v3 .full-screen-video { background: var(--ink-deep); }

/* Inner content max-width — applies to the children that hold actual
 * copy / grids. Shell-style 1480px cap, centered. */
body.aaca-v3 .heading-block > *,
body.aaca-v3 .body-text-area > *,
body.aaca-v3 .section-body-text > *,
body.aaca-v3 .text-area-block > *,
body.aaca-v3 .information-block > .information-item,
body.aaca-v3 .information-block > *,
body.aaca-v3 .department-container,
body.aaca-v3 .feature-block,
body.aaca-v3 .box-grid-block,
body.aaca-v3 .form-grid-block,
body.aaca-v3 .dual-side-content-block,
body.aaca-v3 .hero-block > *,
body.aaca-v3 .collective-block > *,
body.aaca-v3 .info-links-block > *,
body.aaca-v3 .process-block > *,
body.aaca-v3 .tag-line-block > *,
body.aaca-v3 .multi-images-block > *,
body.aaca-v3 .dual-images-block > * {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}
body.aaca-v3 .heading-block,
body.aaca-v3 .heading-block.light {
  padding-top: clamp(48px, 7vh, 88px) !important;
  padding-bottom: clamp(24px, 4vh, 40px) !important;
  border-bottom: 1px solid var(--rule) !important;
}
body.aaca-v3 .heading-block h1,
body.aaca-v3 .heading-block h2,
body.aaca-v3 .heading-block .h1,
body.aaca-v3 .heading-block .heading-one {
  font-family: var(--serif-hero) !important;
  font-weight: 400 !important;
  font-size: clamp(2rem, 4.4vw, 3.6rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.014em !important;
  color: var(--ink) !important;
  margin: 0 !important;
  max-width: none !important;
  text-wrap: balance;
}
body.aaca-v3 .heading-block.border-bottom { border-bottom: 1px solid var(--rule) !important; }
body.aaca-v3 .heading-block.border-top    { border-top: 1px solid var(--rule) !important; }

/* hero-block / text-hero-section: 2-col image+content split. The legacy
 * render outputs `<section class="hero-block image-right">` (or
 * `image-left`) with `<div class="heroblock-left-side padding-left">`
 * and `<div class="heroblock-right-side padding-right">`. Re-style as
 * a v3 mission-split-style 2-col grid. */
body.aaca-v3 .hero-block {
  display: grid !important;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start !important;
  background: var(--paper);
}
body.aaca-v3 .hero-block.image-left  { direction: rtl; }
body.aaca-v3 .hero-block.image-left > * { direction: ltr; }
body.aaca-v3 .heroblock-left-side,
body.aaca-v3 .heroblock-right-side {
  padding: 0 !important;
  flex: none !important;
}
body.aaca-v3 .heroblock-right-side.border-left {
  border-left: 1px solid var(--rule) !important;
  padding-left: clamp(20px, 3vw, 40px) !important;
}
body.aaca-v3 .heroblock-right-side img,
body.aaca-v3 .hero-block .right-image,
body.aaca-v3 .hero-block .left-image {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
}
body.aaca-v3 .hero-block .heading-four,
body.aaca-v3 .hero-block .h4 {
  font-family: var(--sans) !important;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px !important;
  color: var(--bronze-deep) !important;
  font-weight: 600 !important;
  margin: 0 0 18px !important;
  line-height: 1.2 !important;
}
body.aaca-v3 .hero-block h1,
body.aaca-v3 .hero-block h2 {
  font-family: var(--serif-hero) !important;
  font-weight: 400 !important;
  font-size: clamp(2rem, 4.4vw, 3.6rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.014em !important;
  color: var(--ink) !important;
  margin: 0 0 clamp(20px, 3vh, 32px) !important;
  max-width: 22ch !important;
  text-wrap: balance;
}
body.aaca-v3 .hero-block h3 {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.5rem, 2vw, 1.85rem) !important;
  line-height: 1.15 !important;
  color: var(--ink) !important;
  margin: 1.4em 0 0.5em !important;
}
body.aaca-v3 .hero-block p,
body.aaca-v3 .body-text-area p {
  font-family: var(--sans) !important;
  font-size: clamp(1rem, 1.05vw, 1.08rem) !important;
  line-height: 1.65 !important;
  color: var(--text) !important;
  margin: 0 0 1em !important;
  max-width: 65ch;
}
body.aaca-v3 .body-text-area h1,
body.aaca-v3 .body-text-area h2 {
  font-family: var(--serif-display) !important;
  font-weight: 500 !important;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem) !important;
  line-height: 1.15 !important;
  color: var(--ink) !important;
  margin: 1.6em 0 0.5em !important;
}
body.aaca-v3 .body-text-area h3 {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.2rem, 1.6vw, 1.4rem) !important;
  line-height: 1.2 !important;
  color: var(--ink) !important;
  margin: 1.4em 0 0.5em !important;
}
body.aaca-v3 .body-text-area h3 strong,
body.aaca-v3 .body-text-area h2 strong { font-weight: 500; }
body.aaca-v3 .body-text-area a {
  color: var(--ink) !important;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
}
body.aaca-v3 .body-text-area a:hover { color: var(--bronze-deep) !important; border-bottom-color: var(--bronze); }

/* feature-block: original is a multi-card grid (legacy CSS uses
 * .feature-item / .feature-title / .feature-text). Re-skin as a v3-style
 * pillars grid. */
body.aaca-v3 .feature-block {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(28px, 4vw, 64px);
}
body.aaca-v3 .feature-item {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
body.aaca-v3 .feature-block .feature-title {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.5rem, 2vw, 1.85rem) !important;
  line-height: 1.15 !important;
  color: var(--ink) !important;
  margin: 0 !important;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule-strong);
}
body.aaca-v3 .feature-block .feature-text,
body.aaca-v3 .feature-block .feature-text p {
  font-family: var(--sans) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: var(--text) !important;
}

/* information-block / information-box: small grid of card-like items
 * (the .information-pair pair-pass collapses these in our converter,
 * but unconverted instances need styling too). */
body.aaca-v3 .information-block,
body.aaca-v3 .information-box {
  display: block !important;
  background: var(--cream);
}
body.aaca-v3 .information-block .information-item,
body.aaca-v3 .information-box .information-item {
  padding: clamp(24px, 3.5vw, 36px) 0;
  border-bottom: 1px solid var(--rule);
}
body.aaca-v3 .information-block h2,
body.aaca-v3 .information-block h3,
body.aaca-v3 .information-box h2,
body.aaca-v3 .information-box h3 {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.4rem, 1.9vw, 1.7rem) !important;
  color: var(--ink) !important;
  margin: 0 0 8px !important;
}
body.aaca-v3 .information-block p,
body.aaca-v3 .information-box p {
  font-family: var(--sans) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: var(--text) !important;
  margin: 0 0 12px !important;
}

/* text-area-block: usually `.section-text` div wrapping prose. */
body.aaca-v3 .text-area-block,
body.aaca-v3 .section-text {
  background: var(--paper);
}
body.aaca-v3 .text-area-block h1,
body.aaca-v3 .text-area-block h2,
body.aaca-v3 .section-text h2 {
  font-family: var(--serif-display) !important;
  font-weight: 500 !important;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem) !important;
  line-height: 1.15 !important;
  color: var(--ink) !important;
  margin: 1.6em 0 0.5em !important;
}
body.aaca-v3 .text-area-block h3,
body.aaca-v3 .section-text h3 {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.2rem, 1.6vw, 1.4rem) !important;
  line-height: 1.2 !important;
  color: var(--ink) !important;
  margin: 1.4em 0 0.5em !important;
}
body.aaca-v3 .text-area-block p,
body.aaca-v3 .section-text p {
  font-family: var(--sans) !important;
  font-size: clamp(1rem, 1.05vw, 1.08rem) !important;
  line-height: 1.65 !important;
  color: var(--text) !important;
  margin: 0 0 1em !important;
  max-width: 65ch;
}
body.aaca-v3 .text-area-block a,
body.aaca-v3 .section-text a {
  color: var(--ink) !important;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
}

/* dual-side-content-block: split image+text section. */
body.aaca-v3 .dual-side-content-block {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
body.aaca-v3 .dual-side-content-block .left-side,
body.aaca-v3 .dual-side-content-block .right-side {
  padding: 0 !important;
}
body.aaca-v3 .dual-side-content-block img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--rule);
}

/* box-grid-block: 3-up CTA grid. */
body.aaca-v3 .box-grid-block {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  border-top: 1px solid var(--rule-strong);
  border-bottom: 1px solid var(--rule-strong);
}
body.aaca-v3 .box-grid-item {
  padding: clamp(28px, 4vw, 40px) !important;
  border-right: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
body.aaca-v3 .box-grid-item:last-child { border-right: none; }
body.aaca-v3 .box-grid-item .box-title,
body.aaca-v3 .box-grid-item h3 {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.2rem, 1.6vw, 1.4rem) !important;
  color: var(--ink) !important;
  margin: 0 !important;
}

/* form-grid-block: sidebar form layout. */
body.aaca-v3 .form-grid-block {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
  background: var(--paper);
}
body.aaca-v3 .form-grid-block img { width: 100%; height: auto; display: block; }

/* video-block: dark hero with play button. */
body.aaca-v3 .video-block {
  background: var(--ink-deep);
  position: relative;
  padding: 0 !important;
  margin: 0 auto !important;
  max-width: 1480px !important;
}
body.aaca-v3 .full-screen-video { background: var(--ink-deep); }

/* member-list / team-container: legacy people-grid layout. Re-skin to
 * mirror the v3 .officers grid (auto-fit columns + bordered photo +
 * Halyard role / Freight name). */
body.aaca-v3 .department-container { max-width: none; margin: 0 auto; }
body.aaca-v3 .department-title,
body.aaca-v3 .team-container .department-title,
body.aaca-v3 .team-title {
  font-family: var(--serif-display) !important;
  font-weight: 500 !important;
  font-size: clamp(1.5rem, 2.2vw, 1.95rem) !important;
  line-height: 1.15 !important;
  color: var(--ink) !important;
  margin: 0 0 clamp(20px, 3vh, 32px) !important;
  text-wrap: balance;
}
body.aaca-v3 .department-members-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(28px, 3.5vw, 40px);
  margin-top: clamp(24px, 4vh, 40px);
  padding: 0 !important;
  list-style: none;
}
body.aaca-v3 .member-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-strong);
  background: transparent;
}
body.aaca-v3 .member-image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 4px;
  background: transparent;
  border: 0;
}
body.aaca-v3 .member-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  display: block;
  margin: 0 !important;
  border: 0 !important;
}
body.aaca-v3 .member-info { display: flex; flex-direction: column; gap: 4px; }
body.aaca-v3 .member-name,
body.aaca-v3 .member-name-role .member-name {
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem) !important;
  line-height: 1.2 !important;
  color: var(--ink) !important;
  letter-spacing: -0.005em !important;
  text-decoration: none !important;
  border: 0 !important;
}
body.aaca-v3 .member-role {
  font-family: var(--sans) !important;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px !important;
  color: var(--bronze-deep) !important;
  font-weight: 600 !important;
  margin: 0 !important;
}
body.aaca-v3 .member-position,
body.aaca-v3 .member-meta {
  font-family: var(--serif-text) !important;
  font-style: italic;
  color: var(--ink-soft) !important;
  font-size: 0.92rem !important;
  margin: 0 !important;
}

/* Responsive collapse — single-column at narrow widths. */
@media (max-width: 880px) {
  body.aaca-v3 .hero-block,
  body.aaca-v3 .dual-side-content-block,
  body.aaca-v3 .form-grid-block { grid-template-columns: 1fr !important; }
  body.aaca-v3 .heroblock-right-side.border-left {
    border-left: none !important;
    padding-left: 0 !important;
    border-top: 1px solid var(--rule) !important;
    padding-top: clamp(24px, 4vh, 40px) !important;
  }
}

/* ---- Legacy re-skin hardening (2026-08) -------------------------------
 * Fixes for the half-finished auto-skin on un-ported pages. Every selector
 * is prefixed body.aaca-v3 so it outguns the legacy block sheets on
 * specificity (both sides use !important; legacy sheets enqueue later, so
 * specificity is the only lever). No legacy CSS files are edited. */

/* F1 — kill the legacy 180px dead band above headings. The legacy sheets
 * put the page's top spacing ON the h1/h2 (180px desktop / 96px mobile);
 * v3 container spacing already handles rhythm. Covers theme-heading-block
 * and add-member's .team-container h1 (same 180px inside a media query). */
body.aaca-v3 .heading-block h1,
body.aaca-v3 .heading-block h2 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
body.aaca-v3 .team-container h1 {
  font-family: var(--serif-hero) !important;
  font-weight: 400 !important;
  font-size: clamp(2rem, 4.4vw, 3.6rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.014em !important;
  color: var(--ink) !important;
  padding: 0 !important;
  margin: 0 0 clamp(20px, 3vh, 32px) !important;
  text-wrap: balance;
}

/* F3 — info-links-block (CAT page etc.): remove the hard-coded 508px band,
 * top-align both columns, retitle the left side to hero type, and give the
 * right-side links the v3 prose-link treatment. */
body.aaca-v3 .info-links-block .info-link-heading {
  height: auto !important;
  min-height: 0 !important;
}
body.aaca-v3 .info-links-block .info-link-heading .info-links-left-side,
body.aaca-v3 .info-links-block .info-link-heading .info-links-right-side {
  justify-content: flex-start !important;
  padding: 0 !important;
}
body.aaca-v3 .info-links-block .info-link-heading .info-links-right-side {
  border-left: 1px solid var(--rule) !important;
  padding-left: clamp(20px, 3vw, 40px) !important;
}
body.aaca-v3 .info-links-block .info-link-heading .info-links-left-side span {
  font-family: var(--serif-hero) !important;
  font-weight: 400 !important;
  font-size: clamp(2rem, 4.4vw, 3.6rem) !important;
  line-height: 1.05 !important;
  letter-spacing: -0.014em !important;
  color: var(--ink) !important;
  text-wrap: balance;
}
body.aaca-v3 .info-links-block .info-links-right-side a {
  font-family: var(--sans) !important;
  font-size: clamp(1rem, 1.05vw, 1.08rem) !important;
  line-height: 1.5 !important;
  color: var(--ink) !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--rule-strong);
  padding-bottom: 1px;
  width: fit-content;
}
body.aaca-v3 .info-links-block .info-links-right-side a:hover {
  color: var(--bronze-deep) !important;
  border-bottom-color: var(--bronze);
}
body.aaca-v3 .info-links-block .sub-link li a { font-size: 0.9rem !important; }
@media (max-width: 920px) {
  body.aaca-v3 .info-links-block .info-link-heading .info-links-right-side {
    border-left: 0 !important;
    padding-left: 0 !important;
  }
}

/* F4 — neutralize legacy `.dark` theme classes. The re-skin forces light
 * backgrounds but the legacy sheets force color:#fff on li/ul/ol/blockquote
 * (and spans), leaving white-on-light text. Revert everything inside a
 * `.dark` container to the v3 ink/text tokens, and pin the containers to
 * light backgrounds so the two can never disagree. */
body.aaca-v3 .information-block.dark,
body.aaca-v3 .team-container.dark {
  background: var(--cream) !important;
  color: var(--text) !important;
}
body.aaca-v3 :is(.section-body-text.dark, .information-body-text.dark) {
  background: transparent !important;
  color: var(--text) !important;
}
body.aaca-v3 :is(.section-body-text.dark, .information-body-text.dark, .information-block.dark, .team-container.dark) :is(p, li, ol, ul, blockquote, span) {
  color: var(--text) !important;
}
body.aaca-v3 :is(.section-body-text.dark, .information-body-text.dark, .information-block.dark, .team-container.dark) :is(h1, h2, h3, h4, h5, h6) {
  color: var(--ink) !important;
}
body.aaca-v3 .team-container.dark .bullet-circle { background: var(--ink) !important; }
/* Auto-skin gap: the re-skin recolors p/h1-h3/a inside .body-text-area but
 * never list/quote elements — they kept legacy colors and system fonts. */
body.aaca-v3 .body-text-area :is(li, ul, ol, blockquote) {
  color: var(--text) !important;
  font-family: var(--sans) !important;
  font-size: clamp(1rem, 1.05vw, 1.08rem) !important;
  line-height: 1.65 !important;
}

/* F5 — information-box: the earlier re-skin styled `.information-item`,
 * which the render never emits (it outputs .information-box >
 * .information-box-title + .information-box-detail > .details-title +
 * .details-paragraph). Re-point at the real markup: ruled single-column
 * rows, serif-sub titles, small-caps detail labels. Neutralize the legacy
 * odd/even 2-col borders + padding, which assume the grid v3 removed. */
body.aaca-v3 .information-block .information-box {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  padding: clamp(28px, 4vh, 44px) 0 !important;
  border-bottom: 1px solid var(--rule);
}
body.aaca-v3 .information-block .information-box:first-child { padding-top: 0 !important; }
body.aaca-v3 .information-block .information-box:last-child {
  border-bottom: 0;
  padding-bottom: 0 !important;
}
body.aaca-v3 .information-block .information-box:nth-child(odd) {
  border-right: 0 !important;
  padding-right: 0 !important;
}
body.aaca-v3 .information-block .information-box:nth-child(even) { padding-left: 0 !important; }
body.aaca-v3 .information-block .border-bottom-odd::after { content: none !important; }
body.aaca-v3 .information-block .information-box .information-box-title {
  display: block !important;
  font-family: var(--serif-sub) !important;
  font-weight: 500 !important;
  font-size: clamp(1.4rem, 1.9vw, 1.7rem) !important;
  line-height: 1.2 !important;
  color: var(--ink) !important;
  padding: 0 0 clamp(14px, 2vh, 20px) !important;
  margin: 0 !important;
}
body.aaca-v3 .information-block .information-box .information-box-detail {
  padding: 14px 0 !important;
}
body.aaca-v3 .information-block .information-box .information-box-detail.padding-top {
  border-top: 1px solid var(--rule) !important;
}
body.aaca-v3 .information-block .information-box .details-title {
  display: block !important;
  font-family: var(--sans) !important;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: var(--bronze-deep) !important;
  padding: 0 0 6px !important;
  margin: 0 !important;
}
body.aaca-v3 .information-block .information-box .details-paragraph .paragraph,
body.aaca-v3 .information-block .information-box .details-paragraph p {
  font-family: var(--sans) !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: var(--text) !important;
  margin: 0 !important;
}

/* Prose-embedded aligned images (e.g. the CAT committee logo): float on
 * wide screens, stack centered on narrow ones so text never squeezes. */
.aaca-v3 .prose img.alignright {
  float: right;
  margin: 0 0 20px 28px;
  max-width: min(220px, 45%);
  height: auto;
}
@media (max-width: 720px) {
  .aaca-v3 .prose img.alignright {
    float: none;
    display: block;
    margin: 0 auto 24px;
  }
}

/* ============== Editorial section atom (shared) ============== */
.aaca-v3 section.editorial {
  padding: clamp(60px, 9vh, 120px) 0;
  position: relative;
}
.aaca-v3 .editorial--cream { background: var(--cream); }
.aaca-v3 .editorial--ink {
  background: var(--ink-deep);
  color: var(--cream);
}
.aaca-v3 .editorial--ink a { color: var(--cream); }
.aaca-v3 .editorial--ink p { color: oklch(0.88 0.01 88); }

.aaca-v3 .section__label {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 11.5px;
  color: var(--bronze-deep);
  font-weight: 500;
  margin-bottom: 14px;
  display: block;
}
.aaca-v3 .editorial--ink .section__label { color: var(--bronze); }

.aaca-v3 .section__title {
  font-family: var(--serif-display);
  font-weight: 500 !important;
  font-size: clamp(2.2rem, 3.8vw, 3.2rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.010em !important;
  color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
}
.aaca-v3 .editorial--ink .section__title { color: var(--cream); }
.aaca-v3 .section__title em { font-style: italic; color: var(--bronze-deep); }
.aaca-v3 .editorial--ink .section__title em { color: var(--bronze); }

.aaca-v3 .display {
  font-family: var(--serif-display);
  font-feature-settings: "kern", "liga", "lnum";
  letter-spacing: -0.006em;
}

.aaca-v3 .rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }
.aaca-v3 .editorial--ink .rule { border-top-color: var(--rule-dark); }

/* Strip default link decoration for in-block content (works in editor preview). */
.aaca-v3 a,
.aaca-v3 a:hover,
.aaca-v3 a:focus,
.aaca-v3 a:visited {
  text-decoration: none;
}

/* ============== ANNOUNCEMENT STRIP (masthead) ============== */
body.aaca-v3 .masthead {
  background: var(--ink-strip);
  color: var(--cream);
  border-bottom: 1px solid var(--rule-dark);
  font-family: var(--sans);
}
body.aaca-v3 .masthead__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.6vw, 20px);
  padding: 11px 0;
  flex-wrap: wrap;
}
body.aaca-v3 .masthead__label {
  color: var(--bronze);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 11px;
  white-space: nowrap;
}
body.aaca-v3 .masthead__sep {
  width: 1px;
  height: 14px;
  background: oklch(1 0 0 / 0.2);
  display: inline-block;
}
body.aaca-v3 .masthead__body {
  color: oklch(0.92 0.02 88);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.005em;
}
body.aaca-v3 .masthead__dot {
  color: var(--bronze);
  margin: 0 4px;
  font-weight: 600;
}
body.aaca-v3 .masthead__link {
  margin-left: auto;
  color: var(--bronze);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.04em;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
  white-space: nowrap;
  transition: border-color 200ms ease, color 200ms ease;
}
body.aaca-v3 .masthead__link:hover {
  border-bottom-color: var(--bronze);
  color: oklch(0.78 0.13 65);
}
@media (max-width: 720px) {
  body.aaca-v3 .masthead__sep { display: none; }
  body.aaca-v3 .masthead__link { margin-left: 0; }
}

/* ============== HEADER / NAV ============== */
body.aaca-v3 .nav {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: relative;
}
body.aaca-v3 .nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  padding: 26px 0;
}
body.aaca-v3 .nav__inner > nav { display: contents; }

body.aaca-v3 .brand {
  display: flex;
  align-items: center;
  color: var(--ink);
}
body.aaca-v3 .brand__logo {
  display: block;
  height: clamp(96px, 12vw, 120px);
  width: auto;
  /* Override the global img { max-width: 100% } reset: when the header row
     runs out of room the grid crushes the brand column and the percentage
     cap squeezes the logo horizontally. The logo must never distort. */
  max-width: none;
  flex-shrink: 0;
}
body.aaca-v3 .brand__wordmark {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
body.aaca-v3 .brand__wordmark-top {
  font-family: var(--serif-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1;
}
body.aaca-v3 .brand__wordmark-sub {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

body.aaca-v3 .nav__links {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2.4vw, 32px);
  list-style: none;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  padding: 0;
}
body.aaca-v3 .nav__links li { list-style: none; }
body.aaca-v3 .nav__links a {
  padding: 4px 0;
  color: var(--ink);
  border-bottom: 1px solid transparent;
}
body.aaca-v3 .nav__links a:hover { border-bottom-color: var(--bronze); }
body.aaca-v3 .nav__links a[aria-current="page"],
body.aaca-v3 .nav__links .current-menu-item > a {
  border-bottom-color: var(--bronze);
  color: var(--bronze-deep);
}

body.aaca-v3 .nav__cta {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--cream) !important;
  background: var(--ink-strip);
  padding: 11px 20px 12px;
  border: 1px solid var(--ink-strip);
  white-space: nowrap;
  transition: background 200ms ease, border-color 200ms ease, color 200ms ease;
}
body.aaca-v3 .nav__cta:hover {
  background: var(--bronze-deep);
  border-color: var(--bronze-deep);
  color: var(--cream) !important;
}

body.aaca-v3 .nav__toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
body.aaca-v3 .nav__toggle span {
  width: 22px;
  height: 1px;
  background: var(--ink);
  display: block;
}

/* ---- Primary-nav dropdowns (desktop: hover / focus-within; click via .is-open) ---- */
body.aaca-v3 .nav__links .menu-item-has-children { position: relative; }
/* stays `inline` like every other top-level link so labels share one baseline;
   the chevron is an inline-block instead of a flex sibling */
body.aaca-v3 .nav__links .menu-item-has-children > a { white-space: nowrap; }
body.aaca-v3 .nav__links .menu-item-has-children > a::after {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  margin-left: 6px;
  vertical-align: middle;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-1px) rotate(45deg);
  opacity: 0.5;
  transition: transform 160ms ease, opacity 160ms ease;
}
body.aaca-v3 .nav__links .menu-item-has-children:hover > a::after,
body.aaca-v3 .nav__links .menu-item-has-children:focus-within > a::after,
body.aaca-v3 .nav__links .menu-item-has-children.is-open > a::after { opacity: 0.9; }

body.aaca-v3 .nav__links .sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--rule);
  box-shadow: 0 20px 44px -22px oklch(0.18 0.035 252 / 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms;
  z-index: 200;
}
/* invisible bridge so the 10px gap between bar and panel doesn't drop hover */
body.aaca-v3 .nav__links .menu-item-has-children > .sub-menu::before {
  content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
body.aaca-v3 .nav__links .menu-item-has-children:hover > .sub-menu,
body.aaca-v3 .nav__links .menu-item-has-children:focus-within > .sub-menu,
body.aaca-v3 .nav__links .menu-item-has-children.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 160ms ease, transform 160ms ease;
}
body.aaca-v3 .nav__links .sub-menu li { list-style: none; }
body.aaca-v3 .nav__links .sub-menu a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 20px;
  border-bottom: 0;
  white-space: nowrap;
  color: var(--ink);
  font-weight: 500;
}
body.aaca-v3 .nav__links .sub-menu a:hover,
body.aaca-v3 .nav__links .sub-menu a:focus { background: var(--cream); color: var(--bronze-deep); border-bottom: 0; }
body.aaca-v3 .nav__links .sub-menu .current-menu-item > a { color: var(--bronze-deep); }
/* second-level flyout to the right */
body.aaca-v3 .nav__links .sub-menu .menu-item-has-children > a { justify-content: space-between; }
body.aaca-v3 .nav__links .sub-menu .menu-item-has-children > a::after { transform: rotate(-45deg); }
body.aaca-v3 .nav__links .sub-menu .sub-menu { top: -9px; left: 100%; }
body.aaca-v3 .nav__links a:focus-visible { outline: 2px solid var(--bronze); outline-offset: 2px; }

/* Below 1600px the masthead and header rows no longer sit inside the wide
   shell's outer margin, so give them the page's side gutter. */
@media (max-width: 1599px) {
  body.aaca-v3 .masthead__inner,
  body.aaca-v3 .nav__inner {
    padding-left: clamp(20px, 4vw, 56px);
    padding-right: clamp(20px, 4vw, 56px);
  }
}

/* Condensed header band. The live menu carries more items than the design
   demo's (Home, Member Login, dropdown carets), so the full-size header only
   fits from 1600px. Between the mobile breakpoint and that point, tighten the
   logo, gaps, and type so the row fits without distorting the logo. Below
   1200px the menu collapses to the toggle; keep that width in sync with
   isNarrow() in assets/custom-submenu.js. */
@media (min-width: 1200px) and (max-width: 1599px) {
  body.aaca-v3 .brand__logo { height: clamp(64px, 7.5vw, 96px); }
  body.aaca-v3 .nav__inner { gap: clamp(12px, 1.8vw, 26px); }
  body.aaca-v3 .nav__links { gap: clamp(7px, 1vw, 14px); font-size: 13px; }
  body.aaca-v3 .nav__cta { padding: 9px 14px 10px; font-size: 12px; }
}

@media (max-width: 1199px) {
  body.aaca-v3 .nav__inner { grid-template-columns: 1fr auto; }
  body.aaca-v3 .nav__links { display: none; }
  body.aaca-v3 .nav__cta { display: none; }
  body.aaca-v3 .nav__toggle { display: flex; }
  body.aaca-v3.menu-open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    padding: 16px clamp(20px, 4vw, 56px) 24px;
    gap: 14px;
    box-shadow: 0 12px 24px -8px oklch(0.18 0.035 252 / 0.18);
  }
  /* mobile: submenus become inline accordions, toggled by tapping the parent */
  body.aaca-v3.menu-open .nav__links > li { display: block; }
  body.aaca-v3.menu-open .nav__links > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }
  body.aaca-v3.menu-open .nav__links .menu-item-has-children > a::after { margin-left: 0; }
  body.aaca-v3.menu-open .nav__links .sub-menu {
    position: static;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    min-width: 0;
    margin: 4px 0 2px;
    padding: 2px 0 2px 16px;
    border: 0;
    border-left: 1px solid var(--rule);
    box-shadow: none;
    background: transparent;
  }
  body.aaca-v3.menu-open .nav__links .menu-item-has-children.is-open > .sub-menu { display: block; }
  body.aaca-v3.menu-open .nav__links .menu-item-has-children.is-open > a::after { transform: translateY(-1px) rotate(-135deg); }
  body.aaca-v3.menu-open .nav__links .sub-menu a { padding: 8px 0; white-space: normal; }
  body.aaca-v3.menu-open .nav__links .sub-menu .sub-menu { position: static; left: auto; top: auto; }
}

/* ============== FOOTER ============== */
body.aaca-v3 .footer {
  background: var(--ink);
  color: oklch(0.85 0.012 88);
  padding: clamp(60px, 9vh, 100px) 0 32px;
}
body.aaca-v3 .footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule-dark);
}
body.aaca-v3 .footer__brand .footer__name {
  font-family: var(--serif-sub);
  font-weight: 500;
  color: var(--cream);
  font-size: 1.4rem;
  line-height: 1.2;
  margin-bottom: 12px;
  max-width: 14ch;
}
body.aaca-v3 .footer__brand .footer__name em {
  font-style: italic;
  color: var(--bronze);
}
body.aaca-v3 .footer__tag {
  font-family: var(--sans);
  font-style: italic;
  color: oklch(0.74 0.012 88);
  font-size: 0.95rem;
  max-width: 28ch;
  line-height: 1.55;
}

/* !important so the label size holds against the site's global h4 rules
 * (Additional CSS sizes every h4 at 25px with padding below 768px). */
body.aaca-v3 .footer__col h4 {
  font-family: var(--sans) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.2em !important;
  font-size: 11px !important;
  line-height: 1.4 !important;
  color: var(--bronze);
  font-weight: 600 !important;
  margin: 0 0 16px !important;
  padding: 0 !important;
}
body.aaca-v3 .footer__col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
}
body.aaca-v3 .footer__col li { list-style: none; }
body.aaca-v3 .footer__col a {
  font-family: var(--sans);
  color: oklch(0.85 0.012 88);
  font-size: 0.93rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
body.aaca-v3 .footer__col a:hover {
  color: var(--bronze);
  border-bottom-color: var(--bronze);
}
body.aaca-v3 .footer__col address {
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.93rem;
  line-height: 1.7;
  color: oklch(0.85 0.012 88);
}
body.aaca-v3 .footer__col address a { color: oklch(0.85 0.012 88); }
body.aaca-v3 .footer__col address p { margin: 0; }

body.aaca-v3 .footer__legal {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 11px;
  color: oklch(0.7 0.012 88);
  flex-wrap: wrap;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
}
body.aaca-v3 .footer__legal a { color: oklch(0.7 0.012 88); }
body.aaca-v3 .footer__legal a:hover { color: var(--bronze); }

@media (max-width: 880px) {
  body.aaca-v3 .footer__inner {
    grid-template-columns: 1fr 1fr;
    row-gap: 40px;
  }
  body.aaca-v3 .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  body.aaca-v3 .footer__inner { grid-template-columns: 1fr; }
}
