/* Shared marketing and policy overrides. Linked last in <head>. */

:root {
  --fl-h1: 48px;
  --fl-h2: 32px;
  --fl-h3: 24px;
  --fl-h4: 20px;
  --fl-body: 16px;
}

body.elementor-kit-1243 {
  --e-global-color-text: #000000;
  --e-global-typography-primary-font-family: "Noto Sans Georgian";
  --e-global-typography-secondary-font-family: "Noto Sans Georgian";
  --e-global-typography-text-font-family: "Noto Sans Georgian";
  --e-global-typography-accent-font-family: "Noto Sans Georgian";
  --e-global-typography-text-font-weight: 500;
}

/* One typeface everywhere: Noto Sans Georgian. This supersedes the theme's
   Jura headings, Inter base, and Roboto button/nav typography. */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Noto Sans Georgian", sans-serif !important;
}

body,
input,
select,
textarea,
button {
  font-family: "Noto Sans Georgian", sans-serif !important;
}

.wp-block-navigation,
.wp-block-navigation-item__content,
.elementor-button,
.wp-block-button__link,
.aa-button,
.has-roboto-font-family,
.has-jura-font-family {
  font-family: "Noto Sans Georgian", sans-serif !important;
}

/* Plain links get the same face; WordPress otherwise sets them in Roboto
   with a direct `a:where(...)` rule that beats inherited fonts. */
a {
  font-family: "Noto Sans Georgian", sans-serif !important;
}

#aa-page,
#offerings-page {
  font-family: "Noto Sans Georgian", sans-serif !important;
}

/* Filled buttons use the near-brand orange with white labels sized as
   WCAG large text (19px bold), where white on #F06800 passes AA at 3.14:1.
   All topic tabs share the size so the selected tab does not shift layout. */
.elementor-button,
#aa-page .aa-button,
#offerings-page .aa-button,
#offerings-page button[type="submit"],
#contact-form button[type="submit"],
#aa-page .aa-tab {
  font-size: 19px !important;
  font-weight: 700 !important;
}

.elementor-button,
#aa-page .aa-button,
#offerings-page .aa-button,
#offerings-page button[type="submit"],
#contact-form button[type="submit"],
#aa-page .aa-tab[aria-selected="true"] {
  background-color: #F06800 !important;
  border-color: #F06800 !important;
  color: #FFFFFF !important;
}

.elementor-button:hover,
#aa-page .aa-button:hover,
#offerings-page .aa-button:hover,
#offerings-page button[type="submit"]:hover,
#contact-form button[type="submit"]:hover,
#aa-page .aa-tab[aria-selected="true"]:hover {
  background-color: #E86100 !important;
  border-color: #E86100 !important;
  color: #FFFFFF !important;
}

.elementor-widget-text-editor {
  font-size: var(--fl-body);
}

/* Body copy is Noto Sans Georgian at medium weight. Headings, buttons, and labels keep their own type. */
.elementor-widget-text-editor p,
.elementor-widget-text-editor li,
.elementor-image-box-description,
.entry-content p:not(.aa-eyebrow),
.entry-content li,
#aa-page,
#offerings-page,
.auguston-page,
#aa-page p:not(.aa-eyebrow),
#aa-page li,
#offerings-page p,
#offerings-page li,
.auguston-page p,
.auguston-page li {
  font-family: "Noto Sans Georgian", sans-serif !important;
}

.elementor-widget-text-editor p,
.elementor-widget-text-editor li,
.elementor-image-box-description,
.entry-content p:not(.aa-eyebrow),
.entry-content li,
#aa-page p:not(.aa-eyebrow),
#aa-page li,
#offerings-page p,
#offerings-page li,
.auguston-page p,
.auguston-page li {
  font-weight: 500 !important;
}

/* Interior heroes share one pattern: vertically centered stack, left-aligned text.
   Home is intentionally left taller and stays centered. */
.elementor-element-4ae27b1,
.elementor-element-b258aa7,
.elementor-element-5f8cca5,
.elementor-element-3dca0aa,
.elementor-element-80b7bb2,
.elementor-element-11155f7e,
.elementor-element-f977e71 {
  box-sizing: border-box;
  min-height: 440px !important;
  align-items: stretch !important;
  justify-content: center !important;
  text-align: left !important;
}

.elementor-element-4ae27b1 .elementor-heading-title,
.elementor-element-4ae27b1 .elementor-widget-text-editor,
.elementor-element-b258aa7 .elementor-heading-title,
.elementor-element-b258aa7 .elementor-widget-text-editor,
.elementor-element-5f8cca5 .elementor-heading-title,
.elementor-element-5f8cca5 .elementor-widget-text-editor,
.elementor-element-3dca0aa .elementor-heading-title,
.elementor-element-3dca0aa .elementor-widget-text-editor,
.elementor-element-80b7bb2 .elementor-heading-title,
.elementor-element-80b7bb2 .elementor-widget-text-editor,
.elementor-element-11155f7e .elementor-heading-title,
.elementor-element-11155f7e .elementor-widget-text-editor,
.elementor-element-f977e71 .elementor-heading-title,
.elementor-element-f977e71 .elementor-widget-text-editor {
  text-align: left !important;
}

/* Every hero text starts on the shared content column: 1140px with a 20px gutter. */
.elementor-element-4ae27b1,
.elementor-element-b258aa7,
.elementor-element-5f8cca5,
.elementor-element-3dca0aa,
.elementor-element-74748b4,
.elementor-element-80b7bb2,
.elementor-element-11155f7e,
.elementor-element-f977e71 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.elementor-element-4ae27b1 > .e-con-inner,
.elementor-element-b258aa7 > .e-con-inner,
.elementor-element-5f8cca5 > .e-con-inner,
.elementor-element-3dca0aa > .e-con-inner,
.elementor-element-74748b4 > .e-con-inner,
.elementor-element-80b7bb2 > .e-con-inner,
.elementor-element-11155f7e > .e-con-inner,
.elementor-element-f977e71 > .e-con-inner {
  max-width: 1140px !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

.elementor-element-4ae27b1 > .e-con-inner .e-con,
.elementor-element-b258aa7 > .e-con-inner .e-con,
.elementor-element-5f8cca5 > .e-con-inner .e-con,
.elementor-element-3dca0aa > .e-con-inner .e-con,
.elementor-element-74748b4 > .e-con-inner .e-con,
.elementor-element-80b7bb2 > .e-con-inner .e-con,
.elementor-element-11155f7e > .e-con-inner .e-con,
.elementor-element-f977e71 > .e-con-inner .e-con {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* About pre-title matches the orange label on the other heroes. */
.elementor-element-4ae27b1 .elementor-element-c6bd647,
.elementor-element-4ae27b1 .elementor-element-c6bd647 p {
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  line-height: normal !important;
  color: #FB6D00 !important;
}

/* Completeness Guarantee, Guide, and Resources pre-titles match the orange label on the other heroes. */
.elementor-element-7a1c9e2,
.elementor-element-7a1c9e2 p,
.elementor-element-7b2d4e6,
.elementor-element-7b2d4e6 p,
.elementor-element-7c3e5f1,
.elementor-element-7c3e5f1 p {
  font-family: "Noto Sans Georgian", sans-serif;
  font-size: 1rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  line-height: normal !important;
  color: #FB6D00 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Orange eyebrows share the Academic label spec: semibold with slight tracking. */
.elementor-element-7175f90,
.elementor-element-7175f90 p,
.elementor-element-e75a0ce,
.elementor-element-e75a0ce p,
.elementor-element-fd331d4,
.elementor-element-fd331d4 p,
.elementor-element-5b7e7ae,
.elementor-element-5b7e7ae p,
.elementor-element-64df7af,
.elementor-element-64df7af p,
.elementor-element-4811766,
.elementor-element-4811766 p,
.auguston-page .eyebrow {
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  /* Explicit orange, like the About/Completeness labels above:
     without it, dark mode's text recolor turns these white. */
  color: #FB6D00 !important;
}

/* Hero subtitles share one style: white, medium-large, regular weight. */
.elementor-element-483b017,
.elementor-element-483b017 p,
.elementor-element-4ae27b1 .elementor-element-d27129f,
.elementor-element-4ae27b1 .elementor-element-d27129f p,
.elementor-element-f9990ac,
.elementor-element-f9990ac p,
.elementor-element-e6d40d7,
.elementor-element-e6d40d7 p,
.elementor-element-097e05f,
.elementor-element-097e05f p,
#aa-page .aa-hero-copy > p:not(.aa-eyebrow):not(.aa-actions),
#offerings-page .aa-hero .aa-intro {
  font-family: "Noto Sans Georgian", sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  color: #FFFFFF !important;
}

.elementor-element-f9990ac {
  max-width: 760px;
}

/* Services hero: the Emergeneering link uses the brand orange, matching the eyebrow. */
.elementor-element-f9990ac a {
  color: #FB6D00 !important;
}

/* Completeness Guarantee bibliography: links are underlined so they read as links, not just colored text. */
.elementor-element-8363df3 a {
  text-decoration: underline !important;
}

/* The Guide subtitle sits on a light column, so it keeps navy at the standard subtitle size. */
.elementor-element-62a2b78 .elementor-heading-title {
  font-family: "Noto Sans Georgian", sans-serif !important;
  font-size: 20px !important;
  font-weight: 400 !important;
  font-style: normal !important;
  line-height: 1.45 !important;
  color: #041F38 !important;
}

@media (prefers-color-scheme: dark) {
  .elementor-element-62a2b78 .elementor-heading-title {
    color: #e6e6e6 !important;
  }
}

/* About subtitle paragraph carries no top margin; the hero stack gap sets the spacing. */
.elementor-element-4ae27b1 .elementor-element-d27129f p {
  margin-top: 0 !important;
}

/* Emergeneering is a row: keep the columns vertically centered, and left-align the title. */
.elementor-element-74748b4 {
  box-sizing: border-box;
  min-height: 440px !important;
  align-items: center !important;
  justify-content: center !important;
}

.elementor-element-74748b4 .elementor-heading-title,
.elementor-element-74748b4 .elementor-widget-text-editor {
  text-align: left !important;
}

.auguston-hero {
  box-sizing: border-box;
  min-height: 440px !important;
  justify-content: center;
}

#aa-page .aa-hero,
#offerings-page .aa-hero {
  display: flex;
  flex-direction: column;
  align-items: stretch !important;
  justify-content: center !important;
  min-height: 440px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  text-align: left;
}

.auguston-hero {
  text-align: left;
}

/* Custom heroes share the same left edge and give titles the full column. */
.auguston-page {
  padding-left: 20px !important;
  padding-right: 20px !important;
}

#aa-page .aa-hero-copy,
#offerings-page .aa-hero-copy {
  max-width: none !important;
}

#aa-page .aa-hero-copy > p:not(.aa-eyebrow):not(.aa-actions),
#offerings-page .aa-hero .aa-intro {
  max-width: 760px;
}

.elementor-element-4ae27b1 > .e-con-inner,
.elementor-element-b258aa7 > .e-con-inner,
.elementor-element-74748b4 > .e-con-inner,
.elementor-element-5f8cca5 > .e-con-inner,
.elementor-element-3dca0aa > .e-con-inner,
.elementor-element-80b7bb2 > .e-con-inner,
.elementor-element-11155f7e > .e-con-inner,
.elementor-element-f977e71 > .e-con-inner,
.elementor-element-fc8d47a {
  justify-content: center !important;
}

/* The Guarantee title carries page-level 1em/2em margins that dwarf the stack gap. */
.elementor-3473 .elementor-element-63e9eea h1 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Wrapped headlines break into even lines instead of a long line plus an orphan. */
.elementor-widget-heading .elementor-heading-title,
.elementor-widget-text-editor h1,
#aa-page h1,
#offerings-page h1,
.auguston-page h1 {
  text-wrap: balance;
}

/* Hero titles carry no artificial width limits. */
.elementor-element-965bd29 {
  --container-widget-width: 100%;
  width: 100% !important;
  max-width: none !important;
}

.elementor-element-6bf34d5 > .elementor-widget-container,
.elementor-element-8c78545 > .elementor-widget-container {
  padding-right: 0 !important;
}

/* Home title keeps its pre-cleanup treatment: centered, with the side
   margins relaxed from 13rem to 7rem at desktop width. */
@media (min-width: 1025px) {
  .elementor-element-c74cdc3 > .elementor-widget-container {
    margin-left: 7rem !important;
    margin-right: 7rem !important;
  }
}

/* Home hero follows the Academic Applications pattern: the photo is an
   absolutely positioned image covering the hero, not an Elementor background. */
.elementor-element-0fe5775 {
  position: relative;
  overflow: hidden !important;
  box-sizing: border-box;
  min-height: 440px !important;
  justify-content: center !important;
  background-color: #041F38 !important;
  background-image: none !important;
}

.elementor-element-0fe5775 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: none !important;
}

/* The scoped selector and !important beat Elementor's `.elementor img` sizing. */
.elementor-element-0fe5775 > .fl-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.elementor-element-0fe5775 > .fl-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Navy wash over the bridge photo so the white headline stays readable;
   hero content siblings carry z-index:1 later in the DOM and paint above. */
.elementor-element-0fe5775::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 48, 0.42);
  z-index: 1;
}

.elementor-element-0fe5775 > :not(.fl-hero-photo) {
  position: relative;
  z-index: 1;
}

/* Services hero uses the workshop photo in natural color, not an
   Elementor background; the Home hero's navy tone is an overlay here,
   stronger behind the left-aligned text and lighter over the photo. */
.elementor-element-3dca0aa {
  position: relative;
  overflow: hidden !important;
  background-color: #041F38 !important;
  background-image: none !important;
}

.elementor-element-3dca0aa > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: none !important;
}

.elementor-element-3dca0aa > .fl-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.elementor-element-3dca0aa > .fl-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Focal point pushed down so the foreground laptop screen fills
     more of the hero band. */
  object-position: 50% 72%;
}

.elementor-element-3dca0aa::before {
  content: "";
  position: absolute;
  inset: 0;
  /* !important: Elementor's higher-specificity overlay color would
     otherwise paint the pseudo-element solid and hide the photo. */
  background: linear-gradient(90deg, rgba(10, 28, 48, 0.72), rgba(10, 28, 48, 0.58) 55%, rgba(10, 28, 48, 0.45)) !important;
  opacity: 1 !important;
  z-index: 1;
}

.elementor-element-3dca0aa > .e-con-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .elementor-element-3dca0aa::before {
    background: rgba(10, 28, 48, 0.68) !important;
  }
}

/* Problem hero uses the bridge simulator photo in natural color.
   The overlay is black, not the Services navy: navy over this photo's
   red lighting reads purple. Same strengths, neutral color. */
.elementor-element-b258aa7 {
  position: relative;
  overflow: hidden !important;
  background-color: #041F38 !important;
  background-image: none !important;
}

.elementor-element-b258aa7 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: none !important;
}

.elementor-element-b258aa7 > .fl-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.elementor-element-b258aa7 > .fl-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Focal point panned down to the lower screens and consoles;
     the overhead displays and windows sit above the band. */
  object-position: 50% 98%;
}

.elementor-element-b258aa7::before {
  content: "";
  position: absolute;
  inset: 0;
  /* !important: Elementor's higher-specificity overlay color would
     otherwise paint the pseudo-element solid and hide the photo. */
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.58) 55%, rgba(0, 0, 0, 0.45)) !important;
  opacity: 1 !important;
  z-index: 1;
}

.elementor-element-b258aa7 > .e-con-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .elementor-element-b258aa7::before {
    background: rgba(0, 0, 0, 0.68) !important;
  }

  /* Phones pan down to the lower screens too. */
  .elementor-element-b258aa7 > .fl-hero-photo img {
    object-position: 50% 98%;
  }
}

/* Emergeneering hero uses the over-the-shoulder MP Ember photo in
   natural color with the Services navy overlay treatment. */
.elementor-element-74748b4 {
  position: relative;
  overflow: hidden !important;
  background-color: #041F38 !important;
  background-image: none !important;
}

.elementor-element-74748b4 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: none !important;
}

.elementor-element-74748b4 > .fl-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.elementor-element-74748b4 > .fl-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Focal point on the laptop screen and hand; panned up at wide
     widths so more of the screen shows. The background belt is
     cropped out of the file, so panning up cannot reveal it. */
  object-position: 50% 62%;
}

.elementor-element-74748b4::before {
  content: "";
  position: absolute;
  inset: 0;
  /* !important: Elementor's higher-specificity overlay color would
     otherwise paint the pseudo-element solid and hide the photo. */
  background: linear-gradient(90deg, rgba(10, 28, 48, 0.72), rgba(10, 28, 48, 0.58) 55%, rgba(10, 28, 48, 0.45)) !important;
  opacity: 1 !important;
  z-index: 1;
}

.elementor-element-74748b4 > .e-con-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .elementor-element-74748b4::before {
    background: rgba(10, 28, 48, 0.68) !important;
  }

  /* Phones pan down to the hand on the keyboard too. */
  .elementor-element-74748b4 > .fl-hero-photo img {
    object-position: 50% 88%;
  }
}

/* Monterey Phoenix hero uses the trace graphic in natural color
   with a black overlay tint (same strengths as the Services navy
   gradient, neutral color like the Problem hero). */
.elementor-element-5f8cca5 {
  position: relative;
  overflow: hidden !important;
  background-color: #041F38 !important;
  background-image: none !important;
}

.elementor-element-5f8cca5 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: none !important;
}

.elementor-element-5f8cca5 > .fl-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.elementor-element-5f8cca5 > .fl-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Slightly low so both credit captions stay in the band. */
  object-position: 50% 56%;
}

.elementor-element-5f8cca5::before {
  content: "";
  position: absolute;
  inset: 0;
  /* !important: Elementor's higher-specificity overlay color would
     otherwise paint the pseudo-element solid and hide the photo. */
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.58) 55%, rgba(0, 0, 0, 0.45)) !important;
  opacity: 1 !important;
  z-index: 1;
}

.elementor-element-5f8cca5 > .e-con-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .elementor-element-5f8cca5::before {
    background: rgba(0, 0, 0, 0.68) !important;
  }

  /* Left-aligned so the left trace's caption is not clipped. */
  .elementor-element-5f8cca5 > .fl-hero-photo img {
    object-position: 0% 50%;
  }
}

/* Contact hero uses the session photo in natural color with the
   Services navy overlay treatment. */
.elementor-element-f977e71 {
  position: relative;
  overflow: hidden !important;
  background-color: #041F38 !important;
  background-image: none !important;
}

.elementor-element-f977e71 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: none !important;
}

.elementor-element-f977e71 > .fl-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.elementor-element-f977e71 > .fl-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.elementor-element-f977e71::before {
  content: "";
  position: absolute;
  inset: 0;
  /* !important: Elementor's higher-specificity overlay color would
     otherwise paint the pseudo-element solid and hide the photo. */
  background: linear-gradient(90deg, rgba(10, 28, 48, 0.72), rgba(10, 28, 48, 0.58) 55%, rgba(10, 28, 48, 0.45)) !important;
  opacity: 1 !important;
  z-index: 1;
}

.elementor-element-f977e71 > .e-con-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .elementor-element-f977e71::before {
    background: rgba(10, 28, 48, 0.68) !important;
  }
}

/* Completeness Guarantee hero: decorative dot grid with the orange
   scope circle, not an Elementor background; the shared navy overlay
   sits over it, stronger behind the left-aligned text. On mobile the
   focal point shifts to the circle (centroid at 72% of the frame). */
.elementor-element-80b7bb2 {
  position: relative;
  overflow: hidden !important;
  background-color: #041F38 !important;
  background-image: none !important;
}

.elementor-element-80b7bb2 > .elementor-motion-effects-container > .elementor-motion-effects-layer {
  background-image: none !important;
}

.elementor-element-80b7bb2 > .fl-hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
}

.elementor-element-80b7bb2 > .fl-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.elementor-element-80b7bb2::before {
  content: "";
  position: absolute;
  inset: 0;
  /* !important: Elementor's higher-specificity overlay color would
     otherwise paint the pseudo-element solid and hide the photo. */
  background: linear-gradient(90deg, rgba(10, 28, 48, 0.72), rgba(10, 28, 48, 0.58) 55%, rgba(10, 28, 48, 0.45)) !important;
  opacity: 1 !important;
  z-index: 1;
}

.elementor-element-80b7bb2 > .e-con-inner {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  .elementor-element-80b7bb2::before {
    background: rgba(10, 28, 48, 0.68) !important;
  }

  .elementor-element-80b7bb2 > .fl-hero-photo img {
    /* Center the orange circle (at 72% of the frame) in the
       narrow viewport. */
    object-position: 80% 50%;
  }
}

/* Completeness Guarantee "technical teams" section: formerly two
   duplicated sections (light/dark, hide-in-dark/hide-in-light) whose
   copy drifted apart. Now one section; dark mode only swaps the
   background photo, matching the old dark variant. The body runs
   full width in both schemes (the old light variant kept a 370px
   right padding for the photo; the text stays legible over it). */
.elementor-element-64bc7c4 > .elementor-widget-container {
  padding-right: 0 !important;
}

@media (prefers-color-scheme: dark) {
  .elementor-element-3ef1091 {
    background-image: url("/assets/images/Firelight-Logic-10-8-dark.png") !important;
  }

  /* The old dark variant's heading ran larger (3rem / 1.5rem) than
     the light one's standardized 24px / 20px; keep its sizes. The
     page-class prefix outranks the standardization rules below. */
  .elementor-3473 .elementor-element-1e2fa13,
  .elementor-3473 .elementor-element-1e2fa13 p {
    font-size: 3rem !important;
  }
}

@media (prefers-color-scheme: dark) and (max-width: 767px) {
  .elementor-3473 .elementor-element-1e2fa13,
  .elementor-3473 .elementor-element-1e2fa13 p {
    font-size: 1.5rem !important;
  }
}

@media (prefers-color-scheme: dark) and (min-width: 1025px) {
  .elementor-element-3ef1091 {
    background-position: 0px -23px !important;
  }
}

/* Completeness Guarantee: the three-panel scope graphic replaces the
   phoenix seal, and the section stacks: the intro paragraph as its own
   full-width block, then "What scope-complete means", then the graphic
   at full width so its card text stays legible. The seal's circular
   mask comes off. */
.elementor-element-3e79eb4 img {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* The three scope cards as separate images: side by side on wide
   screens (gap echoes the 32px spacing baked into the source strip),
   stacked full-width on mobile so the card text stays legible.
   Grid, not flex: rows size to content, so no browser can shrink a
   card below its image height and clip it (seen in Safari with a
   column flex stack). */
.fl-scope-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.fl-scope-cards picture {
  display: block;
  min-width: 0;
}

.fl-scope-cards img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  .fl-scope-cards {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
  }

  .fl-scope-cards picture {
    width: 100%;
    max-width: 26rem;
  }
}

.elementor-element-1b03b3b > .e-con-inner {
  flex-direction: column !important;
}

.elementor-element-10dc458,
.elementor-element-e90f812 {
  --width: 100% !important;
  width: 100% !important;
  /* In the stacked (column) layout, a 100% flex-basis caps these at
     the row's height and lets the card stack overflow into the next
     section; size to content instead and never shrink. */
  flex-basis: auto !important;
  flex-shrink: 0 !important;
  height: auto !important;
}

/* The card widget itself must not shrink below its stacked images. */
.elementor-element-e90f812 .elementor-element-3e79eb4 {
  flex: 0 0 auto !important;
}

/* Mobile: take this section out of flex sizing entirely. As flex
   items, the card column and widget were sized from the images'
   intrinsic 320px-wide height (1680px) while the stacked grid lays
   out taller (1833px), so the third card overflowed into the quote
   section below. Block layout always sizes to actual content. */
@media (max-width: 767px) {
  .elementor-element-1b03b3b > .e-con-inner {
    display: block !important;
  }

  .elementor-element-e90f812 {
    display: block !important;
  }
}

/* The intro reads as its own block above the heading. */
.elementor-element-7b0b165 {
  /* Tighter margins around the lead block (was 2rem below): the
     column gap alone spaces it from the heading. */
  margin-bottom: 0 !important;
  /* Lead paragraph: a step up from body text so it reads as a
     stand-out block, without competing with the headings. */
  font-size: 1.25rem !important;
  line-height: 1.55 !important;
}

/* The spacer above the lead block leaves the flow entirely;
   container padding already gives the block its top breathing room. */
.elementor-element-9edcb05 {
  display: none !important;
}

/* The old between-columns spacer becomes a modest vertical gap. */
.elementor-element-c112ba6 {
  --spacer-size: 2rem !important;
}

/* The compositional-rules text (bc3fa65) moved below the cards,
   before the quote section; give it air above. */
.elementor-element-bc3fa65 {
  margin-top: 2rem !important;
}


/* The old hero spacers would push the stack below the photo band. */
.elementor-element-1d62b92,
.elementor-element-7fbe4a1 {
  display: none !important;
}

@media (max-width: 781px) {
  .elementor-element-0fe5775 {
    min-height: 360px !important;
  }

  /* Shrink the hero logo instead of letting it crowd the title out. */
  .elementor-element-dec75f7 img {
    width: 84px !important;
    height: auto !important;
  }
}

/* The Resources title was trapped in a half-width column. */
@media (min-width: 768px) {
  .elementor-element-202d6484 {
    --width: 100% !important;
    width: 100% !important;
    flex-basis: 100% !important;
  }

  /* Emergeneering text uses the full hero column; the empty spacer column goes away. */
  .elementor-element-fc8d47a {
    --width: 100% !important;
    width: 100% !important;
    flex-basis: 100% !important;
  }

  .elementor-element-a16545d {
    display: none !important;
  }
}

/* The Emergeneering subtitle wraps like the other hero text: balanced lines. */
.elementor-element-e6d40d7 p {
  text-wrap: balance;
}

/* Standard heroes stack pre-title, title, and subtitle with one rhythm. */
.elementor-element-4ae27b1 > .e-con-inner,
.elementor-element-b258aa7 > .e-con-inner,
.elementor-element-5f8cca5 > .e-con-inner,
.elementor-element-3dca0aa > .e-con-inner,
.elementor-element-80b7bb2 > .e-con-inner,
.elementor-element-11155f7e > .e-con-inner,
.elementor-element-f977e71 > .e-con-inner {
  --row-gap: 16px;
}

.elementor-element-4ae27b1 .elementor-widget-spacer,
.elementor-element-b258aa7 .elementor-widget-spacer,
.elementor-element-74748b4 .elementor-widget-spacer,
.elementor-element-5f8cca5 .elementor-widget-spacer,
.elementor-element-3dca0aa .elementor-widget-spacer,
.elementor-element-80b7bb2 .elementor-widget-spacer,
.elementor-element-11155f7e .elementor-widget-spacer,
.elementor-element-f977e71 .elementor-widget-spacer {
  --spacer-size: 0px !important;
}

.elementor-element-4ae27b1 .elementor-spacer-inner,
.elementor-element-b258aa7 .elementor-spacer-inner,
.elementor-element-74748b4 .elementor-spacer-inner,
.elementor-element-5f8cca5 .elementor-spacer-inner,
.elementor-element-3dca0aa .elementor-spacer-inner,
.elementor-element-80b7bb2 .elementor-spacer-inner,
.elementor-element-11155f7e .elementor-spacer-inner,
.elementor-element-f977e71 .elementor-spacer-inner {
  height: 0 !important;
}

/* About, Mikhail Auguston, and the Critical Infrastructure Guide keep their heading sizes. */
body.page-id-2860 .elementor-widget-heading h1,
body.page-id-2860 .elementor-widget-text-editor h1 {
  font-size: var(--fl-h1) !important;
  line-height: 1.15 !important;
}

/* No Elementor-era margins survive on hero titles. */
.elementor-element-4ae27b1 h1,
.elementor-element-b258aa7 h1,
.elementor-element-74748b4 h1,
.elementor-element-5f8cca5 h1,
.elementor-element-3dca0aa h1,
.elementor-element-80b7bb2 h1,
.elementor-element-11155f7e h1,
.elementor-element-f977e71 h1 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body:not(.page-id-2860):not(.page-id-1469) .elementor-widget-heading h1,
body:not(.page-id-2860):not(.page-id-1469) .elementor-widget-text-editor h1,
#aa-page h1.elementor-heading-title,
#offerings-page h1.elementor-heading-title {
  font-size: var(--fl-h1) !important;
  line-height: 1.15 !important;
}

body:not(.page-id-2860):not(.page-id-1469) .elementor-widget-heading h2,
body:not(.page-id-2860):not(.page-id-1469) .elementor-widget-text-editor h2,
#aa-page h2,
#offerings-page h2 {
  font-size: var(--fl-h2) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

body:not(.page-id-2860):not(.page-id-1469) .elementor-widget-heading h3,
body:not(.page-id-2860):not(.page-id-1469) .elementor-widget-text-editor h3,
body:not(.page-id-2860):not(.page-id-1469) .elementor-image-box-title,
#aa-page h3,
#offerings-page h3 {
  font-size: var(--fl-h3) !important;
  line-height: 1.3 !important;
}

body:not(.page-id-2860):not(.page-id-1469) .elementor-widget-heading h4,
body:not(.page-id-2860):not(.page-id-1469) .elementor-widget-text-editor h4 {
  font-size: var(--fl-h4) !important;
  line-height: 1.35 !important;
}

body.home .elementor-widget-text-editor.elementor-element-c74cdc3 h1 {
  font-size: 56px !important;
  font-weight: 500 !important;
  line-height: 1.15 !important;
}

/* Hero titles share one weight and style: medium, upright. */
.elementor-widget-heading h1.elementor-heading-title,
.elementor-widget-text-editor h1,
#aa-page h1.elementor-heading-title,
#offerings-page h1.elementor-heading-title {
  font-weight: 500 !important;
  font-style: normal !important;
}

.elementor-element-a304764,
.elementor-element-a304764 p {
  font-size: 40px !important;
  line-height: 1.2 !important;
}

.elementor-element-1e2fa13,
.elementor-element-1e2fa13 p {
  font-size: 24px !important;
  line-height: 1.3 !important;
}

.elementor-element-9895318 p,
.elementor-element-c403e6d p {
  font-family: "Noto Sans Georgian", sans-serif !important;
  font-size: var(--fl-body) !important;
  font-weight: 500 !important;
  font-style: normal !important;
  line-height: 1.6 !important;
}

/* Prevent guide intro: a heading widget whose export used a plain <p>, so it
   now carries a real h2 at the live size (24px/600 orange, in the AA
   large-text shade on light backgrounds via the orange tier above). */
body:not(.page-id-2860):not(.page-id-1469) .elementor-widget-heading.elementor-element-45ad590 h2.elementor-heading-title {
  font-size: 24px !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

@media (max-width: 767px) {
  body:not(.page-id-2860):not(.page-id-1469) .elementor-widget-heading.elementor-element-45ad590 h2.elementor-heading-title {
    font-size: 20px !important;
  }
}

.elementor-element-f7858ca,
.elementor-element-f7858ca p {
  font-family: "Noto Sans Georgian", sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  line-height: 34px !important;
}

.elementor-element-80c8eab,
.elementor-element-80c8eab p {
  font-family: "Noto Sans Georgian", sans-serif !important;
  font-size: var(--fl-body) !important;
  font-weight: 500 !important;
  line-height: 1.6 !important;
}

@media (max-width: 781px) {
  :root {
    --fl-h1: 32px;
    --fl-h2: 26px;
    --fl-h3: 20px;
    --fl-h4: 18px;
  }

  .elementor-element-4ae27b1,
  .elementor-element-b258aa7,
  .elementor-element-74748b4,
  .elementor-element-5f8cca5,
  .elementor-element-3dca0aa,
  .elementor-element-80b7bb2,
  .elementor-element-11155f7e,
  .elementor-element-f977e71,
  #aa-page .aa-hero,
  #offerings-page .aa-hero,
  .auguston-hero {
    min-height: 360px !important;
  }

  .elementor-element-483b017,
  .elementor-element-483b017 p,
  .elementor-element-4ae27b1 .elementor-element-d27129f,
  .elementor-element-4ae27b1 .elementor-element-d27129f p,
  .elementor-element-f9990ac,
  .elementor-element-f9990ac p,
  .elementor-element-e6d40d7,
  .elementor-element-e6d40d7 p,
  .elementor-element-097e05f,
  .elementor-element-097e05f p,
  #aa-page .aa-hero-copy > p:not(.aa-eyebrow):not(.aa-actions),
  #offerings-page .aa-hero .aa-intro {
    font-size: 18px !important;
  }

  .elementor-element-62a2b78 .elementor-heading-title {
    font-size: 18px !important;
  }

  body.home .elementor-widget-text-editor.elementor-element-c74cdc3 h1 {
    font-size: 36px !important;
  }

  .elementor-element-a304764,
  .elementor-element-a304764 p {
    font-size: 28px !important;
  }

  .elementor-element-1e2fa13,
  .elementor-element-1e2fa13 p {
    font-size: 20px !important;
  }
}

/* Light backgrounds: body copy is black. Heroes, navy bands, and orange accents keep their own colors. */
@media not (prefers-color-scheme: dark) {
  .elementor-element-c729128,
  .elementor-element-98becf2,
  .elementor-element-793acf8,
  .elementor-element-7564715,
  .elementor-element-bd6102f,
  .elementor-element-8e720d1,
  .elementor-element-8906823,
  .elementor-element-8965e39,
  .elementor-element-8965e39 p,
  .elementor-element-8965e39 strong,
  .elementor-element-6906766,
  .elementor-element-6906766 p,
  .elementor-element-6906766 strong,
  .elementor-element-1c6dd2d8,
  .elementor-element-75dcc561,
  .elementor-element-f55cf8c,
  .elementor-element-f55cf8c p,
  .elementor-1586 .elementor-image-box-description,
  .elementor-5056 .elementor-image-box-description {
    color: #000000 !important;
  }

  /* Orange text on light backgrounds, two tiers of the same hue: large
     headings only need 3:1 and stay near-brand; small text (eyebrows,
     links) needs 4.5:1 and uses a saturated burnt orange. On dark
     backgrounds #FB6D00 already passes and stays. */
  .elementor-element-e59543c,
  .elementor-element-6d7626e,
  .elementor-element-6d7626e .elementor-heading-title,
  .elementor-element-d060453,
  .elementor-element-d060453 .elementor-heading-title,
  .elementor-element-6451113,
  .elementor-element-6451113 .elementor-heading-title,
  .elementor-element-022ad9f,
  .elementor-element-022ad9f .elementor-heading-title,
  .elementor-element-1691c68 .elementor-heading-title,
  .elementor-element-a8144be .elementor-heading-title,
  .elementor-element-45ad590 .elementor-heading-title {
    color: #F06800 !important;
  }

  .elementor-element-fd331d4,
  .elementor-element-fd331d4 p,
  .elementor-element-7b2d4e6,
  .elementor-element-7b2d4e6 p,
  .auguston-page .eyebrow,
  .auguston-page .quote,
  .auguston-page a,
  .elementor-element-8906823 a,
  .elementor-element-68ee12f a,
  .elementor-element-1d70f18 a,
  .elementor-element-8363df3 a,
  .elementor-element-c729128 a,
  .elementor-element-9895318 .elementor-heading-title {
    color: #BF4E00 !important;
  }

  .auguston-page {
    color: #000000;
  }

  .auguston-page p:not(.quote):not(.eyebrow):not(.years),
  .auguston-page li {
    color: #000000;
  }
}

/* "Start with your system" shares the boxed paragraph column. */
.elementor-1586 .elementor-element.elementor-element-1691c68 {
  box-sizing: border-box;
  width: 100%;
  padding-left: var(--container-default-padding-left, 10px);
  padding-right: var(--container-default-padding-right, 10px);
}

.elementor-1586 .elementor-element.elementor-element-1691c68 > .elementor-widget-container {
  width: 100%;
  max-width: var(--content-width, min(100%, var(--container-max-width, 1140px)));
  margin-left: auto;
  margin-right: auto;
  padding: 0 !important;
}

.elementor-1586 .elementor-element.elementor-element-1691c68 .elementor-heading-title {
  text-align: left;
}

@media (prefers-color-scheme: dark) {
  body.elementor-kit-1243 {
    --e-global-color-text: #e6e6e6;
  }

  .elementor-1586 .elementor-image-box-description,
  .elementor-5056 .elementor-image-box-description,
  .elementor-element-f55cf8c,
  .elementor-element-f55cf8c p,
  .elementor-element-c729128,
  .elementor-element-98becf2,
  .elementor-element-793acf8,
  .elementor-element-7564715,
  .elementor-element-bd6102f,
  .elementor-element-8e720d1,
  .elementor-element-8906823,
  .elementor-element-8965e39,
  .elementor-element-8965e39 p,
  .elementor-element-8965e39 strong,
  .elementor-element-6906766,
  .elementor-element-6906766 p,
  .elementor-element-6906766 strong,
  .elementor-element-1c6dd2d8,
  .elementor-element-75dcc561 {
    color: #e6e6e6 !important;
  }

  .auguston-page p:not(.quote):not(.eyebrow):not(.years),
  .auguston-page li {
    color: #e6e6e6 !important;
  }

  .elementor-element-68ee12f a,
  .auguston-page a {
    color: #FB6D00 !important;
  }
}

/* Modest inset around "How organizations work with us". The old 50px spacers are hidden. */
.elementor-element-2e4d119,
.elementor-element-138fe5e {
  display: none !important;
}

.elementor-element-1ae9cc8 > .e-con-inner {
  padding-top: 32px !important;
  padding-bottom: 32px !important;
}

.elementor-element-ee7e606 p:first-child {
  margin-top: 0 !important;
}

/* Home image-and-text rows: center each image on the text beside it. */
.elementor-element-8ac8d49 > .e-con-inner,
.elementor-element-25fa4ee > .e-con-inner,
.elementor-element-b0d3480 > .e-con-inner,
.elementor-element-8f558f3 > .e-con-inner {
  align-items: center !important;
}

.elementor-element-a24e263,
.elementor-element-0ba1a49,
.elementor-element-93f43b5,
.elementor-element-219c612,
.elementor-element-a5205e6 {
  --align-self: center;
  align-self: center !important;
  margin-top: auto !important;
  margin-bottom: auto !important;
}

.elementor-element-a24e263,
.elementor-element-d3ce3fa,
.elementor-element-219c612,
.elementor-element-a5205e6,
.elementor-element-744a911 {
  justify-content: center !important;
}

/* The spacer beside "Who this is for" and the navy band under it were leaving a gap under the text. */
.elementor-element-09957b5,
.elementor-element-b0322df {
  display: none !important;
}

.elementor-element-9386e72 p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.elementor-element-2863ae0 p:last-child {
  margin-bottom: 0 !important;
}

.elementor-element-6906766,
.elementor-element-6906766 p {
  text-align: center !important;
}

/* "Talk to us" and the About navy sentence sit between body text and the section labels. */
.elementor-element-639aaa8,
.elementor-element-639aaa8 p,
.elementor-element-22df802,
.elementor-element-22df802 p {
  font-size: 20px !important;
  line-height: 1.45 !important;
}

.elementor-element-505018c,
.elementor-element-b01c3b9 {
  display: none !important;
}

.elementor-element-f3b5046 > .e-con-inner {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
}

.elementor-element-22df802 p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* The spacer under the arrows was shifting that graphic above the text. */
.elementor-element-a0537d4 {
  --spacer-size: 0px !important;
}

.elementor-element-a0537d4 .elementor-spacer-inner {
  height: 0 !important;
}

/* Shape page only: anchor the hero copy to the bottom of the photo so the
   title sits over the table, clear of the instructor's face at any width,
   and restore the standard gap between title and intro. */
#offerings-page .aa-hero {
  justify-content: flex-end !important;
  min-height: 440px !important;
}

#offerings-page .aa-hero-copy {
  padding-bottom: 2.5rem !important;
}

#offerings-page .aa-hero h1.elementor-heading-title {
  margin-bottom: 1.25rem !important;
}

/* Shape hero photo focus: as the view narrows, shift the crop toward the
   smiling instructor (42% across the panorama) and the screen (60-82%),
   so she sits left of center and the screen stays in frame. */
@media (max-width: 1024px) {
  #offerings-page .aa-hero-photo {
    object-position: 62% 42% !important;
  }
}

@media (max-width: 767px) {
  #offerings-page .aa-hero-photo {
    object-position: 58% 42% !important;
  }
}

@media (max-width: 767px) {
  #offerings-page .aa-hero {
    min-height: 420px !important;
  }

  #offerings-page .aa-hero-copy {
    padding-bottom: 2rem !important;
  }
}

/* The Problem, iceberg section: center the image and text columns
   vertically against each other (same pattern as the Services fix); the
   3rem spacer above the text was doing the old by-eye alignment. The
   50px spacer below the text is hidden too — once the columns stack it
   landed above the image, and a 2rem row gap sets that space instead. */
.elementor-element-bce473c > .e-con-inner {
  align-items: center !important;
}

.elementor-element-8f08019,
.elementor-element-580be73 {
  justify-content: center !important;
}

.elementor-element-146a4e4,
.elementor-element-f5266e8 {
  display: none !important;
}

@media (max-width: 767px) {
  .elementor-element-bce473c > .e-con-inner {
    --row-gap: 2rem !important;
    row-gap: 2rem !important;
  }
}

/* The Problem, "What current methods cover": a little more air above and
   below the text, a tighter title-to-intro gap, and bullets that match the
   white text (markers inherit the list item color, not the white spans). */
.elementor-element-8fb8a8c > .e-con-inner {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.elementor-element-a1865f5 {
  --row-gap: 0.25rem !important;
  row-gap: 0.25rem !important;
}

.elementor-element-28482b3 {
  margin-bottom: 0 !important;
}

.elementor-element-28482b3 .elementor-heading-title {
  margin-top: 0 !important;
  margin-bottom: 0.25rem !important;
}

.elementor-element-6720f78 {
  margin-top: 0 !important;
}

.elementor-element-6720f78 p:first-child {
  margin-top: 0 !important;
}

.elementor-element-6720f78 li,
.elementor-element-6720f78 li::marker {
  color: #FFFFFF !important;
}

/* The Problem: hand-coded "What must come into view" section (replaces the
   Elementor row whose text stayed locked at 44.762% in narrow views).
   Background stays inherited from the page, as before. */
.fl-view {
  padding: 3rem 0;
}

/* The spacer between the methods band and this section stacked on top of
   the section padding, leaving a double-height white gap. */
.elementor-element-9c1c1f4 {
  display: none !important;
}

/* References band: give it the same top/bottom air as the page's other
   bands (its inner container only had Elementor's minimal default). */
.elementor-element-4e7975c > .e-con-inner {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.fl-view-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.fl-view h2 {
  font-size: var(--fl-h2);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  margin: 0 0 2rem;
}

.fl-view-grid {
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: 3rem;
  align-items: center;
}

.fl-view-copy p {
  font-size: var(--fl-body);
  margin-top: 0;
}

.fl-view-grid img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 560px;
  margin: 0 auto;
}

.fl-view-action {
  text-align: center;
  margin: 2.5rem 0 0;
}

@media (max-width: 767px) {
  .fl-view {
    padding: 2.5rem 0 2rem;
  }

  .fl-view-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .fl-view-grid img {
    max-width: 420px;
  }
}

/* The Problem: hand-coded "Real-World Examples" case tabs (replaces the
   Elementor nested-tabs widget that sat inside a link container). The blue
   gradient is the old section background, preserved. */
.fl-cases {
  background-color: #041F38;
  background-image: linear-gradient(180deg, #004A7F 0%, #041F38 56%);
  color: #FFFFFF;
  padding: 4rem 0;
}

.fl-cases-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.fl-cases h2 {
  color: #FFFFFF;
  font-size: var(--fl-h2);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  margin: 0 0 2rem;
}

.fl-case-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0 0 2rem;
}

.fl-case-tab {
  background-color: #F06800;
  border: 1px solid #F06800;
  border-radius: 4px;
  color: #FFFFFF;
  cursor: pointer;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  padding: 12px 22px;
}

.fl-case-tab:hover {
  background-color: #E86100;
  border-color: #E86100;
}

.fl-case-tab[aria-selected="true"] {
  background-color: #E54D1E;
  border-color: #E54D1E;
  color: #FFFFFF;
}

.fl-case-tab[aria-selected="true"]:hover {
  background-color: #D65400;
  border-color: #D65400;
}

.fl-case-tab:focus-visible {
  outline: 2px solid #FFFFFF;
  outline-offset: 2px;
}

.fl-case-panel {
  max-width: 860px;
  margin: 0 auto;
}

.fl-case-panel p {
  color: #FFFFFF;
  font-size: var(--fl-body);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 767px) {
  .fl-cases {
    padding: 3rem 0;
  }

  .fl-case-tablist {
    gap: 0.5rem;
  }

  .fl-case-tab {
    padding: 10px 16px;
  }
}

/* Auguston hero: the portrait is a cut-out, so a thin blue gradient divider
   runs the full page width across the bottom edge of the photo, like a
   ledge he is standing behind. The hero group is left-aligned to the text
   margin (the shared hero rule centers it, which shifted the bar). */
.auguston-hero {
  justify-content: flex-start !important;
  /* Height hugs the photo so the gap under the bar is set by this margin
     alone — 2.5rem, matching the eyebrow's top margin before "Research
     Projects". The top padding replaces the old vertical-centering air. */
  min-height: 0 !important;
  padding-top: 3rem !important;
  margin-bottom: 2.5rem !important;
}

.auguston-photo {
  position: relative;
  flex: 0 0 auto;
  line-height: 0;
}

.auguston-photo::after {
  content: "";
  position: absolute;
  /* Spans the text column: the photo's left edge is the column's left edge,
     and the column is the 1140px page measure minus its 20px gutters. */
  left: 0;
  bottom: 0;
  width: min(1100px, calc(100vw - 40px));
  height: 14px;
  background: linear-gradient(90deg, #004A7F 0%, #041F38 100%);
  border-radius: 3px 3px 0 0;
}

/* Services "Professional services": the photo and text columns were aligned
   with fixed spacer widgets, which drift apart as the text wraps taller and
   the photo shrinks. Center both columns vertically until they stack. */
.elementor-element-d0d2259 {
  align-items: center !important;
  --row-gap: 2rem !important;
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.elementor-element-1244ece,
.elementor-element-671b7c9 {
  justify-content: center !important;
}

.elementor-element-71c345d,
.elementor-element-9267e6f,
.elementor-element-63ddbe1,
.elementor-element-4df21f9 {
  display: none !important;
}

/* Academic field panel title: brand orange on the pale card is 2.68:1, under
   even the large-text floor; use the AA small-text shade in light mode.
   (In dark mode the card is dark and brand orange passes there.) */
@media not (prefers-color-scheme: dark) {
  #aa-page .aa-field-card .aa-field-name {
    color: #BF4E00 !important;
  }
}

/* Academic lead band: slightly tighter top and bottom spacing. */
#aa-page .aa-lead {
  padding-top: 2.25rem !important;
  padding-bottom: 2.25rem !important;
}

/* Prevent: the "years of experience" block sits on the same blue gradient
   band as About's "Our company name" column, with white text. */
.fl-exp-band {
  background-color: #041F38;
  background-image: linear-gradient(180deg, #004A7F 0%, #041F38 100%);
  box-sizing: border-box;
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 0;
  align-items: stretch;
}

.fl-exp-text {
  flex: 1 1 auto;
  min-width: 0;
  padding: 2.5rem;
}

/* Same treatment as About's logo column: fire photo over deep navy, logo on top. */
.fl-exp-media {
  position: relative;
  overflow: hidden;
  flex: 0 0 35%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0E2333;
}

.fl-exp-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/assets/images/Firelight-Logic-8-13-300x167-1.png");
  background-position: top center;
  background-size: cover;
  opacity: 0.53;
}

.fl-exp-media img {
  position: relative;
  z-index: 1;
  width: min(300px, 80%);
  height: auto;
}

.fl-exp-band p,
.fl-exp-band li,
.fl-exp-band strong,
.fl-exp-band .elementor-heading-title {
  color: #FFFFFF !important;
}

.fl-exp-band ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.fl-exp-band li {
  margin: 0.12rem 0;
  line-height: 1.45;
}

@media (max-width: 767px) {
  .fl-exp-band {
    flex-direction: column;
  }

  .fl-exp-text {
    padding: 1.5rem;
  }

  .fl-exp-media {
    flex: none;
    min-height: 240px;
  }
}

/* Safety net: anything Elementor left hidden waiting for an entrance
   animation (its JS is gone) is simply visible. */
.elementor-invisible {
  visibility: visible !important;
}
