:root {
  --bg: #f4f7fb;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --ink: #0f223c;
  --muted: #5b6f86;
  --line: rgba(12, 37, 66, 0.1);
  --blue-deep: #08192f;
  --blue-mid: #0f5fc6;
  --blue-bright: #23b7f3;
  --blue-soft: #dff4ff;
  --glow: linear-gradient(135deg, #0f5fc6 0%, #33c8f6 100%);
  --shadow: 0 30px 70px rgba(8, 25, 47, 0.12);
  --radius: 26px;
  --radius-sm: 18px;
  --container: 1200px;
}

/* Reference-page direction from Pages mockups */
:root {
  --agp-blue: #075cff;
  --agp-ink: #071228;
  --agp-muted: #3f4859;
  --agp-line: #dbe7fb;
  --agp-soft: #f7fbff;
  --agp-card-shadow: 0 18px 44px rgba(20, 57, 114, 0.1);
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: transparent;
  box-shadow: 0 8px 28px rgba(24, 55, 96, 0.04);
}

.header-row {
  min-height: 92px;
}

.brandmark img {
  width: 62px;
  height: 62px;
}

.brandmark strong {
  font-family: "Fraunces", Georgia, serif;
  color: var(--agp-ink);
  font-size: 1.35rem;
  font-weight: 700;
}

.brandmark small {
  color: #1f2937;
  font-size: 0.92rem;
}

.site-nav {
  flex: 1;
  justify-content: flex-end;
}

.site-nav ul {
  align-items: center;
  gap: clamp(16px, 2.3vw, 34px);
}

.site-nav a {
  color: #071228;
  font-size: 0.98rem;
  font-weight: 700;
}

.site-nav a.is-active {
  position: relative;
  color: var(--agp-blue);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 42px;
  height: 2px;
  background: var(--agp-blue);
  transform: translateX(-50%);
}

.advisor-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin-left: 16px;
  padding: 0 24px;
  border: 1.5px solid #071228;
  border-radius: 999px;
  color: var(--agp-ink);
  white-space: nowrap;
}

.advisor-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: transparent;
}

.agp-reference-page {
  color: var(--agp-ink);
  background:
    linear-gradient(110deg, rgba(7, 92, 255, 0.04), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.agp-reference-page main {
  overflow: clip;
}

.agp-reference-page .container {
  width: min(calc(100% - 64px), 1480px);
}

.agp-reference-page .eyebrow {
  margin-bottom: 18px;
  color: var(--agp-blue);
  font-size: 0.86rem;
  letter-spacing: 0.24em;
}

.agp-reference-page h1,
.agp-reference-page h2 {
  font-family: "Fraunces", Georgia, serif;
  color: var(--agp-ink);
  letter-spacing: 0;
}

.agp-reference-page h1 {
  max-width: 13ch;
  font-size: clamp(3.5rem, 5.7vw, 6.4rem);
  line-height: 0.98;
}

.agp-reference-page h1 em,
.agp-reference-page h2 em {
  color: var(--agp-blue);
  font-style: normal;
}

.agp-reference-page p {
  color: var(--agp-muted);
  font-size: 1.18rem;
  line-height: 1.6;
}

.agp-reference-page .btn {
  min-height: 58px;
  border-radius: 999px;
  font-size: 1rem;
}

.agp-reference-page .btn-primary {
  background: linear-gradient(135deg, #0058ff, #0997ff);
  box-shadow: 0 16px 34px rgba(0, 91, 255, 0.28);
}

.agp-reference-page .btn-secondary {
  border-color: #7d8798;
  background: rgba(255, 255, 255, 0.84);
}

.agp-hero-home {
  position: relative;
  min-height: calc(100vh - 92px);
  padding: 56px 0 40px;
  background:
    radial-gradient(circle at 72% 28%, rgba(11, 117, 255, 0.11), transparent 22%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.agp-hero-layout {
  display: grid;
  grid-template-columns: minmax(400px, 0.88fr) minmax(520px, 1.12fr);
  gap: 34px;
  align-items: center;
}

.agp-hero-copy {
  position: relative;
  z-index: 2;
}

.agp-hero-copy p {
  max-width: 620px;
  margin-top: 26px;
}

.agp-hero-person {
  position: relative;
  min-height: 650px;
}

.agp-hero-person img {
  position: absolute;
  right: -7vw;
  bottom: -40px;
  width: min(760px, 62vw);
  max-width: none;
  filter: drop-shadow(0 28px 42px rgba(19, 47, 91, 0.12));
}

.agp-quote-stack {
  position: absolute;
  left: clamp(22px, 3.4vw, 56px);
  top: 128px;
  z-index: 3;
  display: grid;
  gap: 18px;
  width: min(280px, 18vw);
}

.agp-quote-card,
.agp-info-card,
.agp-step-card,
.agp-side-card,
.agp-person-card,
.agp-article-card,
.agp-featured-insight,
.agp-contact-card,
.agp-contact-grid,
.agp-bottom-cta,
.agp-framework-cta,
.agp-subscribe {
  border: 1px solid var(--agp-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--agp-card-shadow);
}

.agp-quote-card {
  padding: 24px;
}

.agp-quote-card strong {
  display: block;
  color: var(--agp-blue);
  font-family: Georgia, serif;
  font-size: 3rem;
  line-height: 0.7;
}

.agp-quote-card p {
  margin-top: 10px;
  color: #202938;
  font-size: 0.95rem;
  line-height: 1.55;
}

.agp-quote-card span,
.agp-quote-card small {
  display: block;
  margin-top: 18px;
  color: #0b65d8;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.agp-quote-card small {
  margin-top: 5px;
  text-transform: none;
}

.home-reference-page .agp-hero-copy {
  margin-left: clamp(120px, 18vw, 300px);
  text-align: center;
}

.home-reference-page .agp-hero-copy h1 {
  max-width: 15ch;
}

.agp-proof.section {
  padding: 56px 0 80px;
}

.agp-page-hero,
.agp-insights-hero,
.agp-contact-page {
  position: relative;
  padding: 70px 0 22px;
}

.agp-centered-hero {
  max-width: 1120px;
  text-align: center;
}

.agp-centered-hero h1,
.agp-centered-hero p {
  margin-left: auto;
  margin-right: auto;
}

.agp-centered-hero h1 {
  max-width: 18ch;
}

.agp-centered-hero p {
  max-width: 780px;
  margin-top: 24px;
}

.agp-two-column,
.agp-contact-layout,
.agp-insights-layout {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(520px, 1.05fr);
  gap: 46px;
  align-items: center;
}

.agp-soft-photo {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  border-radius: 0;
}

.agp-soft-photo img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(0.72) contrast(1.05);
  mask-image: linear-gradient(90deg, transparent 0%, black 22%, black 72%, transparent 100%);
}

.agp-card-section {
  padding: 22px 0 70px;
}

.agp-framework-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 46px;
}

.agp-step-card {
  position: relative;
  min-height: 270px;
  padding: 34px 28px;
  text-align: center;
}

.agp-step-card:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -46px;
  top: 50%;
  width: 46px;
  height: 2px;
  background: var(--agp-blue);
}

.agp-step-card h2 {
  margin-top: 22px;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.42rem;
}

.agp-step-card h2 strong {
  color: var(--agp-blue);
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.28rem;
}

.agp-step-card p,
.agp-info-card p,
.agp-person-card p,
.agp-article-card p,
.agp-contact-card p {
  margin-top: 14px;
  font-size: 0.98rem;
}

.agp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border: 1px solid #a8c7ff;
  border-radius: 999px;
  background: #eef5ff;
}

.agp-icon::before {
  color: var(--agp-blue);
  font-size: 2rem;
  font-weight: 800;
}

.agp-icon-step::before,
.agp-icon-brain::before {
  content: "*";
}

.agp-icon-people::before,
.agp-icon-person::before {
  content: "o";
}

.agp-icon-gear::before {
  content: "+";
}

.agp-icon-light::before {
  content: "!";
}

.agp-icon-trend::before {
  content: "/";
}

.agp-icon-briefcase::before,
.agp-icon-book::before {
  content: "[]";
  font-size: 1.25rem;
}

.agp-framework-cta,
.agp-bottom-cta,
.agp-subscribe {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(280px, 420px) auto auto;
  gap: 22px;
  align-items: center;
  margin-top: 28px;
  padding: 20px 28px;
}

.agp-framework-cta h2,
.agp-bottom-cta h2,
.agp-subscribe p {
  font-family: "Fraunces", Georgia, serif;
  color: var(--agp-ink);
  font-size: 1.55rem;
  line-height: 1.2;
}

.agp-framework-cta p,
.agp-subscribe p {
  margin-top: 6px;
  font-size: 1rem;
}

.agp-framework-cta img {
  height: 88px;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.agp-help-layout,
.agp-team-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 28px;
}

.agp-help-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.agp-info-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  min-height: 164px;
  padding: 28px;
}

.agp-info-card h2 {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1.18rem;
  line-height: 1.2;
}

.agp-side-card {
  padding: 34px;
}

.agp-side-card h2 {
  font-size: 2rem;
}

.agp-side-card ul {
  display: grid;
  gap: 0;
  padding: 20px 0 0;
  margin: 0;
  list-style: none;
}

.agp-side-card li {
  position: relative;
  padding: 20px 0 20px 48px;
  border-bottom: 1px solid var(--agp-line);
  color: #202938;
  font-weight: 600;
}

.agp-side-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  color: var(--agp-blue);
  background: #eef5ff;
}

.agp-bottom-cta {
  grid-template-columns: minmax(0, 1fr) auto auto;
  max-width: 1280px;
}

.agp-team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.agp-person-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  min-height: 158px;
  padding: 22px;
}

.agp-person-card img {
  width: 92px;
  height: 92px;
  border-radius: 999px;
  object-fit: cover;
}

.agp-person-card span,
.agp-article-card span,
.agp-featured-insight span {
  display: inline-flex;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--agp-blue);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  background: #eaf2ff;
}

.agp-person-card h2 {
  margin-top: 8px;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 1rem;
}

.agp-person-card .team-role {
  color: #1d2d4c;
  font-weight: 700;
}

.agp-insights-layout {
  grid-template-columns: minmax(420px, 0.86fr) minmax(620px, 1.14fr);
  align-items: end;
}

.agp-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.agp-filter-row a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid #bfc8d8;
  border-radius: 999px;
  color: #111827;
  font-weight: 700;
}

.agp-filter-row a.is-active {
  border-color: var(--agp-blue);
  background: var(--agp-blue);
  color: #fff;
}

.agp-featured-insight {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(300px, 1.15fr);
  gap: 22px;
  min-height: 320px;
  padding: 34px;
  overflow: hidden;
}

.agp-featured-insight h2 {
  margin-top: 18px;
  font-size: 2.2rem;
}

.agp-featured-insight a,
.agp-article-card a {
  display: inline-flex;
  margin-top: 20px;
  color: var(--agp-blue);
  font-weight: 800;
}

.agp-featured-insight img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border-radius: 18px;
  object-fit: cover;
}

.agp-article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.agp-article-card {
  display: flex;
  flex-direction: column;
  min-height: 390px;
  padding: 16px;
}

.agp-article-card img {
  width: 100%;
  height: 132px;
  border-radius: 14px;
  object-fit: cover;
}

.agp-article-card span {
  margin-top: 14px;
}

.agp-article-card h2 {
  margin-top: 14px;
  font-size: 1.45rem;
}

.agp-article-card a {
  margin-top: auto;
}

.agp-subscribe {
  grid-template-columns: auto minmax(0, 1fr) auto;
  max-width: 1040px;
}

.agp-contact-page {
  min-height: calc(100vh - 92px);
  padding-bottom: 60px;
}

.agp-contact-layout {
  grid-template-columns: minmax(620px, 0.92fr) minmax(420px, 1.08fr);
  align-items: start;
}

.agp-contact-copy h1 {
  max-width: 16ch;
}

.agp-contact-grid {
  display: grid;
  grid-template-columns: minmax(330px, 1fr) minmax(300px, 0.8fr);
  gap: 28px;
  margin-top: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.agp-contact-grid .site-form,
.agp-contact-card {
  padding: 30px;
  border: 1px solid var(--agp-line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--agp-card-shadow);
}

.agp-contact-grid .form-grid {
  grid-template-columns: 1fr;
}

.agp-contact-grid label {
  color: #071228;
  font-weight: 800;
}

.agp-contact-grid input,
.agp-contact-grid textarea {
  min-height: 48px;
  margin-top: 8px;
  border-color: #cad5e8;
  border-radius: 12px;
  background: #fff;
}

.agp-contact-grid textarea {
  min-height: 112px;
}

.agp-contact-grid button {
  width: 100%;
  margin-top: 18px;
}

.agp-contact-side {
  display: grid;
  gap: 22px;
}

.agp-contact-card h2 {
  font-size: 1.7rem;
}

.agp-contact-card a {
  color: var(--agp-blue);
  font-weight: 800;
}

.agp-contact-card .btn {
  margin-top: 20px;
  color: var(--agp-blue);
}

.agp-contact-visual {
  position: sticky;
  top: 112px;
  min-height: 660px;
  overflow: hidden;
}

.agp-contact-visual img {
  position: absolute;
  right: -120px;
  top: 0;
  width: 760px;
  max-width: none;
}

@media (max-width: 1280px) {
  .advisor-link {
    display: none;
  }

  .agp-quote-stack {
    display: none;
  }

  .home-reference-page .agp-hero-copy {
    margin-left: 0;
  }

  .agp-framework-steps,
  .agp-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agp-step-card:not(:last-child)::after {
    display: none;
  }

  .agp-framework-cta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .agp-framework-cta img {
    display: none;
  }
}

@media (max-width: 980px) {
  .header-row {
    min-height: 76px;
  }

  .brandmark img {
    width: 48px;
    height: 48px;
  }

  .brandmark strong {
    font-size: 1rem;
  }

  .site-nav.is-open {
    background: rgba(255, 255, 255, 0.98);
  }

  .site-nav a.is-active::after {
    display: none;
  }

  .agp-reference-page .container {
    width: min(calc(100% - 32px), 1480px);
  }

  .agp-hero-layout,
  .agp-two-column,
  .agp-insights-layout,
  .agp-contact-layout,
  .agp-help-layout,
  .agp-team-layout {
    grid-template-columns: 1fr;
  }

  .agp-hero-person {
    min-height: 420px;
    order: -1;
  }

  .agp-hero-person img,
  .agp-contact-visual img {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
  }

  .agp-contact-visual {
    display: none;
  }

  .agp-help-grid,
  .agp-team-list {
    grid-template-columns: 1fr;
  }

  .agp-bottom-cta,
  .agp-subscribe {
    grid-template-columns: 1fr;
  }
}

/* Compact responsive sizing pass. */
.agp-reference-page .container,
.youtube-page .container,
.site-header .container {
  width: min(calc(100% - 48px), 1240px);
}

.header-row,
.youtube-showcase-body .header-row {
  min-height: 76px;
}

.brandmark {
  gap: 10px;
}

.brandmark img {
  width: 46px;
  height: 46px;
}

.brandmark strong {
  font-size: 1.05rem;
}

.brandmark small {
  font-size: 0.78rem;
}

.site-nav ul {
  gap: clamp(12px, 1.5vw, 22px);
}

.site-nav a {
  font-size: 0.88rem;
}

.advisor-link {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.86rem;
}

.agp-reference-page h1,
.youtube-intro h1 {
  font-size: clamp(2.8rem, 4.2vw, 4.7rem);
  line-height: 1;
}

.agp-reference-page h2 {
  font-size: clamp(1.55rem, 2.2vw, 2.45rem);
}

.agp-reference-page p,
.youtube-intro p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.agp-reference-page .eyebrow,
.youtube-eyebrow,
.youtube-category {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
}

.agp-reference-page .btn,
.youtube-subscribe-button {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.86rem;
}

.agp-hero-home {
  min-height: auto;
  padding: 28px 0 20px;
}

.agp-hero-layout {
  grid-template-columns: minmax(420px, 0.95fr) minmax(390px, 1.05fr);
  min-height: 520px;
  gap: 20px;
}

.home-reference-page .agp-hero-copy {
  width: min(580px, 100%);
  margin-left: 105px;
  padding-top: 8px;
}

.home-reference-page .agp-hero-copy h1 {
  max-width: 15ch;
  font-size: clamp(3rem, 4.2vw, 4.8rem);
}

.home-reference-page .agp-hero-copy p {
  max-width: 540px;
  margin-top: 18px;
}

.home-reference-page .hero-actions {
  gap: 12px;
  margin-top: 24px;
}

.agp-quote-stack {
  top: 104px;
  width: 210px;
  gap: 12px;
}

.agp-quote-card {
  min-height: 138px;
  padding: 16px;
  border-radius: 16px;
}

.agp-quote-card strong {
  font-size: 2.2rem;
}

.agp-quote-card p {
  margin-top: 6px;
  font-size: 0.72rem;
  line-height: 1.45;
}

.agp-quote-card span,
.agp-quote-card small {
  margin-top: 10px;
  font-size: 0.58rem;
}

.agp-hero-person {
  min-height: 520px;
}

.agp-hero-person img {
  right: -70px;
  bottom: -46px;
  width: min(560px, 46vw);
}

.agp-page-hero,
.agp-insights-hero,
.agp-contact-page {
  padding-top: 36px;
  padding-bottom: 12px;
}

.agp-centered-hero h1 {
  max-width: 19ch;
  font-size: clamp(3rem, 4vw, 4.6rem);
}

.agp-centered-hero p {
  max-width: 620px;
  margin-top: 16px;
}

.agp-card-section {
  padding: 12px 0 46px;
}

.agp-framework-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}

.agp-step-card {
  min-height: 210px;
  padding: 22px 18px;
  border-radius: 18px;
}

.agp-step-card:not(:last-child)::after {
  right: -24px;
  width: 24px;
}

.agp-icon {
  width: 52px;
  height: 52px;
}

.agp-icon::before {
  font-size: 1.35rem;
}

.agp-step-card h2 {
  margin-top: 14px;
  font-size: 1.05rem;
}

.agp-step-card h2 strong {
  font-size: 0.98rem;
}

.agp-step-card p,
.agp-info-card p,
.agp-person-card p,
.agp-article-card p,
.agp-contact-card p {
  margin-top: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.agp-framework-cta,
.agp-bottom-cta,
.agp-subscribe {
  min-height: auto;
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 18px;
  gap: 16px;
}

.agp-framework-cta {
  grid-template-columns: auto minmax(0, 1fr) minmax(220px, 300px) auto auto;
}

.agp-framework-cta h2,
.agp-bottom-cta h2,
.agp-subscribe p {
  font-size: 1.18rem;
}

.agp-framework-cta img {
  height: 64px;
}

.agp-two-column,
.agp-insights-layout {
  grid-template-columns: minmax(360px, 0.92fr) minmax(420px, 1.08fr);
  gap: 24px;
}

.agp-two-column .agp-hero-copy h1,
.agp-insights-layout .agp-hero-copy h1,
.agp-contact-copy h1 {
  font-size: clamp(3rem, 4.2vw, 4.65rem);
}

.agp-soft-photo {
  min-height: 260px;
}

.agp-soft-photo img {
  height: 300px;
}

.agp-help-layout,
.agp-team-layout {
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 18px;
}

.agp-help-grid {
  gap: 12px;
}

.agp-info-card {
  min-height: 124px;
  padding: 18px;
  gap: 14px;
  border-radius: 16px;
}

.agp-info-card h2 {
  font-size: 0.98rem;
}

.agp-side-card {
  padding: 22px;
  border-radius: 18px;
}

.agp-side-card h2 {
  font-size: 1.45rem;
}

.agp-side-card li {
  padding: 14px 0 14px 36px;
  font-size: 0.86rem;
}

.agp-side-card li::before {
  top: 11px;
  width: 24px;
  height: 24px;
}

.agp-person-card {
  grid-template-columns: 70px minmax(0, 1fr);
  min-height: 122px;
  padding: 16px;
  gap: 14px;
  border-radius: 16px;
}

.agp-person-card img {
  width: 70px;
  height: 70px;
}

.agp-person-card h2 {
  margin-top: 6px;
  font-size: 0.92rem;
}

.agp-person-card span,
.agp-article-card span,
.agp-featured-insight span {
  padding: 4px 8px;
  font-size: 0.58rem;
}

.agp-featured-insight {
  min-height: 245px;
  padding: 22px;
  border-radius: 18px;
}

.agp-featured-insight h2 {
  margin-top: 12px;
  font-size: 1.55rem;
}

.agp-featured-insight img {
  min-height: 200px;
  border-radius: 14px;
}

.agp-filter-row {
  gap: 8px;
  margin-top: 20px;
}

.agp-filter-row a {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.78rem;
}

.agp-article-grid {
  gap: 14px;
}

.agp-article-card {
  min-height: 310px;
  padding: 12px;
  border-radius: 16px;
}

.agp-article-card img {
  height: 104px;
  border-radius: 12px;
}

.agp-article-card h2 {
  margin-top: 10px;
  font-size: 1.1rem;
}

.agp-contact-layout {
  grid-template-columns: minmax(520px, 1fr) minmax(320px, 0.72fr);
  gap: 18px;
}

.agp-contact-copy h1 {
  max-width: 14ch;
}

.agp-contact-grid {
  grid-template-columns: minmax(320px, 1fr) minmax(260px, 0.75fr);
  gap: 18px;
  margin-top: 24px;
}

.agp-contact-grid .site-form,
.agp-contact-card {
  padding: 20px;
  border-radius: 16px;
}

.agp-contact-grid input,
.agp-contact-grid textarea {
  min-height: 42px;
  border-radius: 10px;
}

.agp-contact-grid textarea {
  min-height: 90px;
}

.agp-contact-visual {
  min-height: 500px;
}

.agp-contact-visual img {
  right: -108px;
  width: 560px;
}

.youtube-hero {
  padding-top: 12px;
}

.youtube-hero-grid {
  grid-template-columns: minmax(360px, 0.86fr) minmax(450px, 1.14fr);
  gap: 24px;
}

.youtube-intro h1 {
  max-width: 13ch;
  font-size: clamp(2.7rem, 4.1vw, 4.5rem);
}

.youtube-intro p {
  max-width: 500px;
  font-size: 0.92rem;
}

.youtube-filter-row {
  gap: 6px;
  margin-top: 18px;
}

.youtube-filter {
  min-height: 32px;
  padding: 0 12px;
  font-size: 0.72rem;
}

.youtube-feature {
  min-height: 235px;
  border-radius: 18px;
}

.youtube-feature-media img {
  min-height: 235px;
}

.youtube-feature-copy {
  padding: 24px 18px 16px;
}

.youtube-feature-copy h2 {
  font-size: 1.45rem;
}

.youtube-feature-copy p {
  font-size: 0.82rem;
}

.youtube-video-section {
  padding-top: 12px;
}

.youtube-video-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.youtube-video-card {
  border-radius: 14px;
}

.youtube-thumb {
  height: 108px;
}

.youtube-card-body {
  min-height: 164px;
  padding: 12px;
}

.youtube-card-body h2 {
  font-size: 0.86rem;
}

.youtube-card-body p {
  font-size: 0.7rem;
}

.youtube-subscribe-panel {
  min-height: 62px;
  padding: 10px 18px;
}

.youtube-subscribe-panel h2 {
  font-size: 0.95rem;
}

@media (max-width: 1180px) {
  .agp-quote-stack,
  .advisor-link {
    display: none;
  }

  .home-reference-page .agp-hero-copy {
    margin-left: 0;
  }

  .agp-hero-layout,
  .agp-two-column,
  .agp-insights-layout,
  .agp-contact-layout,
  .youtube-hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .agp-framework-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .agp-step-card:not(:last-child)::after {
    display: none;
  }

  .agp-help-grid,
  .agp-article-grid,
  .youtube-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .agp-framework-cta {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .agp-framework-cta img {
    display: none;
  }
}

@media (max-width: 900px) {
  .agp-reference-page .container,
  .youtube-page .container,
  .site-header .container {
    width: min(calc(100% - 28px), 1240px);
  }

  .header-row,
  .youtube-showcase-body .header-row {
    min-height: 68px;
  }

  .brandmark img {
    width: 40px;
    height: 40px;
  }

  .brandmark strong {
    font-size: 0.92rem;
  }

  .brandmark small {
    display: none;
  }

  .agp-hero-layout,
  .agp-two-column,
  .agp-insights-layout,
  .agp-contact-layout,
  .agp-contact-grid,
  .agp-help-layout,
  .agp-team-layout,
  .youtube-hero-grid {
    grid-template-columns: 1fr;
  }

  .agp-hero-home,
  .agp-page-hero,
  .agp-insights-hero,
  .agp-contact-page {
    padding-top: 28px;
  }

  .agp-hero-person {
    order: -1;
    min-height: 280px;
  }

  .agp-hero-person img {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 430px);
    margin: 0 auto;
  }

  .home-reference-page .agp-hero-copy,
  .home-reference-page .agp-hero-copy p {
    width: 100%;
    text-align: left;
  }

  .home-reference-page .agp-hero-copy h1,
  .agp-centered-hero,
  .agp-centered-hero h1,
  .agp-centered-hero p {
    margin-left: 0;
    margin-right: 0;
    text-align: left;
  }

  .home-reference-page .hero-actions {
    justify-content: flex-start;
  }

  .agp-soft-photo {
    min-height: 190px;
    order: -1;
  }

  .agp-soft-photo img {
    height: 220px;
  }

  .agp-framework-steps,
  .agp-help-grid,
  .agp-team-list,
  .agp-article-grid,
  .youtube-video-grid {
    grid-template-columns: 1fr;
  }

  .agp-bottom-cta,
  .agp-subscribe,
  .agp-featured-insight,
  .youtube-feature,
  .youtube-subscribe-panel {
    grid-template-columns: 1fr;
  }

  .agp-bottom-cta .btn,
  .agp-subscribe .btn,
  .agp-contact-grid .btn {
    width: 100%;
  }

  .agp-contact-visual {
    display: none;
  }

  .youtube-feature-media {
    aspect-ratio: 16 / 9;
  }

  .youtube-feature-media img {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .agp-reference-page h1,
  .youtube-intro h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
  }

  .agp-reference-page h2 {
    font-size: 1.42rem;
  }

  .agp-reference-page .hero-actions,
  .youtube-filter-row {
    flex-direction: column;
    align-items: stretch;
  }

  .agp-reference-page .btn,
  .youtube-filter,
  .youtube-subscribe-button {
    width: 100%;
  }

  .agp-info-card,
  .agp-person-card {
    grid-template-columns: 1fr;
  }

  .agp-person-card img {
    width: 64px;
    height: 64px;
  }

  .agp-article-card,
  .youtube-card-body {
    min-height: 0;
  }

  .youtube-thumb {
    height: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 680px) {
  .agp-reference-page h1 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .agp-reference-page p {
    font-size: 1rem;
  }

  .agp-hero-home,
  .agp-page-hero,
  .agp-insights-hero,
  .agp-contact-page {
    padding-top: 42px;
  }

  .home-reference-page .agp-hero-copy {
    text-align: left;
  }

  .agp-hero-person {
    min-height: 300px;
  }

  .agp-framework-steps,
  .agp-article-grid,
  .agp-contact-grid,
  .agp-featured-insight {
    grid-template-columns: 1fr;
  }

  .agp-info-card,
  .agp-person-card {
    grid-template-columns: 1fr;
  }

  .agp-soft-photo {
    min-height: 240px;
  }

  .agp-soft-photo img {
    height: 260px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(35, 183, 243, 0.12), transparent 32%),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 100%);
}

body.modal-open {
  overflow: hidden;
}

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

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

main {
  overflow: hidden;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(244, 247, 251, 0.92);
  border-bottom: 1px solid rgba(12, 37, 66, 0.06);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 68px;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brandmark img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brandmark strong,
.brandmark small {
  display: block;
}

.brandmark strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brandmark small {
  color: var(--muted);
  margin-top: 3px;
  line-height: 1.25;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav ul {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 24px;
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0;
  width: 42px;
  height: 42px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 6px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: #fff;
  background: var(--glow);
  box-shadow: 0 16px 32px rgba(15, 95, 198, 0.22);
}

.btn-free-assessment {
  min-height: 58px;
  padding: 0 30px;
  font-size: 1.02rem;
}

.btn-secondary,
.btn-nav {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(8, 25, 47, 0.12);
}

.btn-nav {
  width: 224px;
  min-height: 52px;
  justify-content: flex-start;
  padding: 0 24px;
  line-height: 1.25;
}

.hero-section {
  padding: 84px 0 56px;
  background:
    radial-gradient(circle at 70% 15%, rgba(35, 183, 243, 0.2), transparent 24%),
    linear-gradient(180deg, #08192f 0%, #102949 48%, #f4f7fb 48%, #f4f7fb 100%);
}

.hero-grid,
.page-hero-grid,
.split-section,
.contact-layout,
.assessment-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  align-items: center;
}

.hero-copy {
  color: #f1f8ff;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--blue-bright);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  overflow-wrap: normal;
}

h1,
.page-hero h1 {
  max-width: 11ch;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(3rem, 5vw, 5.7rem);
  font-weight: 700;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.25rem);
  letter-spacing: -0.03em;
}

h3 {
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
  overflow-wrap: break-word;
}

.hero-lead,
.page-hero-copy,
.section-copy {
  margin-top: 22px;
  font-size: 1.12rem;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-action-break {
  flex-basis: 100%;
  width: fit-content;
}

.signal-row,
.benefit-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}

.signal-row div,
.benefit-row div {
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.signal-row strong,
.benefit-row div {
  display: block;
  color: #fff;
  font-weight: 700;
}

.cta-panel-light .benefit-row div {
  color: var(--ink);
  background: rgba(15, 95, 198, 0.06);
  border: 1px solid rgba(15, 95, 198, 0.08);
}

.signal-row span {
  display: block;
  margin-top: 8px;
  color: rgba(241, 248, 255, 0.78);
  line-height: 1.6;
}

.hero-visual,
.page-visual {
  position: relative;
}

.hero-canvas,
.visual-panel,
.cta-panel,
.contact-card,
.contact-panel {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-canvas {
  min-height: 640px;
  padding: 36px;
  background:
    linear-gradient(145deg, rgba(6, 22, 40, 0.95), rgba(14, 51, 89, 0.8)),
    radial-gradient(circle at 20% 30%, rgba(35, 183, 243, 0.3), transparent 25%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-halo,
.visual-orbit,
.hero-lines,
.visual-grid {
  position: absolute;
  inset: auto;
}

.hero-halo {
  top: 72px;
  right: 68px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 183, 243, 0.4), transparent 68%);
  filter: blur(8px);
}

.hero-lines,
.visual-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(circle at center, black 34%, transparent 82%);
}

.hero-card,
.hero-metric,
.visual-content,
.premium-card,
.masterclass-card,
.pathway-card,
.team-card,
.article-card,
.detail-panel {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card {
  position: absolute;
  right: 36px;
  bottom: 112px;
  width: min(360px, calc(100% - 72px));
  padding: 28px;
  color: #fff;
}

.hero-card span,
.hero-metric small,
.visual-content span,
.masterclass-card span,
.pathway-card span,
.article-card span {
  display: inline-block;
  color: #8bdfff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card strong,
.hero-metric strong,
.visual-content strong {
  display: block;
  margin-top: 14px;
  font-size: 1.5rem;
  color: #fff;
  line-height: 1.35;
}

.hero-card p,
.hero-metric p,
.visual-content p {
  margin-top: 14px;
  color: rgba(241, 248, 255, 0.82);
}

.hero-metric {
  position: absolute;
  width: 220px;
  padding: 20px 22px;
  color: #fff;
}

.metric-top {
  left: 36px;
  top: 40px;
}

.metric-bottom {
  left: 36px;
  bottom: 36px;
}

.section,
.page-hero {
  padding: 110px 0;
}

.section-alt,
.page-hero {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.68) 0%, rgba(232, 241, 250, 0.72) 100%);
}

.page-hero {
  padding-top: 82px;
  padding-bottom: 72px;
}

.page-hero h1 {
  max-width: 12ch;
}

.visual-panel {
  min-height: 430px;
  padding: 38px;
  background: linear-gradient(145deg, #091a30, #133359);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.visual-orbit {
  border-radius: 999px;
  border: 1px solid rgba(139, 223, 255, 0.24);
}

.orbit-a {
  width: 220px;
  height: 220px;
  right: 24px;
  top: 24px;
}

.orbit-b {
  width: 320px;
  height: 320px;
  right: -42px;
  top: -22px;
}

.visual-content {
  position: absolute;
  left: 38px;
  right: 38px;
  bottom: 38px;
  padding: 28px;
  color: #fff;
}

.narrow-intro {
  max-width: 760px;
  text-align: center;
  margin-bottom: 42px;
}

.narrow-intro p {
  margin-top: 18px;
  font-size: 1.08rem;
}

.card-grid,
.masterclass-grid,
.team-grid,
.testimonial-grid,
.article-grid,
.journey-grid,
.detail-grid,
.pathway-grid,
.framework-rail {
  display: grid;
  gap: 22px;
}

.card-grid > *,
.masterclass-grid > *,
.team-grid > *,
.testimonial-grid > *,
.article-grid > *,
.journey-grid > *,
.detail-grid > *,
.pathway-grid > *,
.framework-rail > * {
  min-width: 0;
}

.card-grid-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.card-grid-4,
.article-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.masterclass-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.team-grid,
.testimonial-grid,
.pathway-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.journey-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.framework-rail {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.framework-rail article {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 120px;
  padding: 22px 24px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 22px 55px rgba(8, 25, 47, 0.08);
}

.framework-rail article h3 {
  margin-top: 0;
}

.framework-rail article:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -30px;
  z-index: 2;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, rgba(35, 183, 243, 0.12), rgba(35, 183, 243, 0.95));
  transform: translateY(-50%);
}

.framework-rail article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: calc(50% - 8px);
  right: -31px;
  z-index: 3;
  width: 16px;
  height: 16px;
  border-top: 2px solid var(--blue-bright);
  border-right: 2px solid var(--blue-bright);
  transform: rotate(45deg);
}

.container.article-grid {
  width: min(calc(100% - 40px), 1320px);
}

.article-grid {
  gap: 24px;
}

.premium-card,
.masterclass-card,
.pathway-card,
.team-card,
.testimonial-card,
.article-card,
.detail-panel,
.stack-panel article,
.journey-grid article,
.framework-flow article,
.contact-panel,
.contact-card,
.cta-panel-light {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  min-height: 100%;
}

.flip-card {
  min-height: 230px;
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  min-height: 230px;
  transition: transform 560ms ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card:focus .flip-card-inner,
.flip-card:focus-within .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backface-visibility: hidden;
  box-shadow: 0 18px 44px rgba(8, 25, 47, 0.08);
  text-align: center;
}

.flip-card-front h3 {
  margin-top: 0;
}

.flip-card-back {
  background: #2090DD;
  transform: rotateY(180deg);
}

.flip-card-back p {
  color: #fff;
  line-height: 1.65;
}

.stack-panel {
  display: grid;
  gap: 18px;
}

.premium-card h3,
.masterclass-card h3,
.pathway-card h3,
.team-card h3,
.testimonial-card h3,
.article-card h2,
.journey-grid h3,
.framework-flow h3,
.detail-panel h2 {
  margin-top: 12px;
}

.article-card h2 {
  font-size: clamp(1.65rem, 1.75vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.article-card p {
  font-size: 0.98rem;
  line-height: 1.65;
}

.framework-band {
  background: linear-gradient(180deg, #08192f 0%, #102949 100%);
}

.framework-band .narrow-intro h2,
.framework-band .narrow-intro p,
.framework-band .narrow-intro .eyebrow,
.framework-flow article h3,
.framework-flow article p,
.framework-flow article span {
  color: #f1f8ff;
}

.framework-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px minmax(0, 1fr) 50px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.framework-flow article {
  min-height: 250px;
  padding: 32px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.flow-arrow {
  position: relative;
  height: 2px;
  background: linear-gradient(90deg, rgba(139, 223, 255, 0.1), rgba(139, 223, 255, 0.9));
}

.flow-arrow::after {
  content: "";
  position: absolute;
  top: -5px;
  right: -2px;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 8px solid #8bdfff;
}

.masterclass-card a,
.article-card a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--blue-mid);
  font-weight: 700;
}

.article-card a {
  margin-top: auto;
  padding-top: 22px;
}

.journey-grid article,
.framework-head,
.framework-stack {
  background: transparent;
}

.framework-head {
  margin-bottom: 24px;
  text-align: center;
}

.journey-grid article span,
.framework-flow article span {
  color: var(--blue-bright);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin: 0 auto 18px;
  display: block;
  object-fit: cover;
  object-position: center;
  background: var(--glow);
}

.team-card {
  text-align: center;
}

.testimonial-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  width: fit-content;
  height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  color: var(--blue-deep);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(35, 183, 243, 0.14);
}

.testimonial-quote {
  margin: 0 0 20px;
  font-size: 1.02rem;
  line-height: 1.8;
  color: var(--ink);
}

.testimonial-card {
  text-align: center;
}

.testimonial-person {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 600;
}

.team-role {
  margin-top: 10px;
}

.team-toggle {
  margin-top: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--blue-mid);
  font-weight: 700;
  cursor: pointer;
}

.team-bio {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 220ms ease;
}

.team-bio p {
  overflow: hidden;
}

.team-card.is-open .team-bio {
  grid-template-rows: 1fr;
  margin-top: 16px;
}

.proof-strip-section {
  padding-top: 24px;
}

.proof-strip-wrap {
  display: grid;
  gap: 22px;
  min-width: 0;
}

.proof-strip {
  min-width: 0;
  overflow: hidden;
  padding: 24px 0;
  border-top: 1px solid rgba(12, 37, 66, 0.1);
  border-bottom: 1px solid rgba(12, 37, 66, 0.1);
}

.proof-strip h2 {
  width: 100%;
  max-width: 28ch;
  margin: 0 auto 16px;
  text-align: center;
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

.proof-marquee {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.proof-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: proof-scroll 34s linear infinite;
}

.proof-track-reverse {
  animation-direction: reverse;
  animation-duration: 28s;
}

.proof-track span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #102247;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.78);
}

.proof-track span:nth-child(even) {
  border-color: #2090DD;
  color: #fff;
  background: #2090DD;
}

.proof-marquee:hover .proof-track {
  animation-play-state: paused;
}

@keyframes proof-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .proof-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: auto;
  }

  .flip-card-inner {
    transition: none;
  }
}

.cta-section {
  padding-top: 40px;
}

.assessment-page .assessment-hero {
  overflow: hidden;
}

.assessment-page .assessment-dashboard {
  overflow: hidden;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.assessment-page .assessment-dashboard img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center;
}

.assessment-note {
  max-width: 58ch;
  margin-top: 18px;
  color: #42607e;
  font-size: 0.95rem;
  font-weight: 600;
}

.assessment-three-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.assessment-steps .premium-card {
  position: relative;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 800;
  background: #2090DD;
  box-shadow: 0 12px 26px rgba(32, 144, 221, 0.24);
}

.assessment-card-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: #2090DD;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.assessment-frame-shell {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
}

.assessment-frame-shell.is-open {
  display: block;
}

.assessment-frame-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 47, 0.72);
}

.assessment-frame-panel {
  position: absolute;
  inset: 5vh 4vw;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 36px 90px rgba(8, 25, 47, 0.34);
}

.assessment-frame-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}

.assessment-frame-title {
  color: var(--ink);
  font-weight: 800;
}

.assessment-frame-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.assessment-frame-open,
.assessment-frame-close {
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  color: #fff;
  font: inherit;
  font-weight: 800;
  background: #2090DD;
  cursor: pointer;
}

.assessment-frame-open {
  text-decoration: none;
}

.assessment-frame-close {
  min-width: 42px;
}

.assessment-frame-panel iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cta-panel {
  padding: 56px;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(35, 183, 243, 0.22), transparent 28%),
    linear-gradient(145deg, #08192f 0%, #113763 100%);
}

.cta-panel p,
.cta-panel h2,
.cta-panel .eyebrow {
  color: #fff;
}

.cta-panel-light h2,
.cta-panel-light p,
.contact-card h2,
.contact-panel h2 {
  color: var(--ink);
}

.contact-card {
  isolation: isolate;
  background:
    linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)),
    linear-gradient(90deg, rgba(32, 144, 221, 0.12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(32, 144, 221, 0.12) 1px, transparent 1px);
  background-size: auto, 42px 42px, 42px 42px;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 14%, rgba(32, 144, 221, 0.18), transparent 26%),
    radial-gradient(circle at 84% 78%, rgba(35, 183, 243, 0.16), transparent 30%);
  pointer-events: none;
}

.contact-card .eyebrow {
  display: block;
  color: #2090DD;
  text-align: center;
}

.contact-card h2 {
  position: relative;
  text-align: center;
}

.contact-card h2::after {
  content: "";
  display: block;
  width: 84px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #2090DD, #23b7f3);
}

.contact-card .site-form {
  text-align: center;
}

.contact-card .form-grid {
  text-align: left;
}

.cta-panel-light.cta-panel-white h2,
.cta-panel-light.cta-panel-white p,
.cta-panel-light.cta-panel-white .eyebrow {
  color: #fff;
}

.site-form {
  margin-top: 26px;
}

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

.form-grid label {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 600;
}

.full-width {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(12, 37, 66, 0.14);
  border-radius: 16px;
  padding: 15px 16px;
  font: inherit;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.86);
}

.contact-card input,
.contact-card select,
.contact-card textarea {
  border-color: rgba(32, 144, 221, 0.22);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-card input:focus,
.contact-card select:focus,
.contact-card textarea:focus {
  outline: 0;
  border-color: #2090DD;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(32, 144, 221, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-card .btn-primary {
  margin-top: 12px;
  background: linear-gradient(135deg, #2090DD 0%, #23b7f3 100%);
  box-shadow: 0 18px 38px rgba(32, 144, 221, 0.28);
}

textarea {
  resize: vertical;
}

.contact-points,
.footer-links,
.detail-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
}

.contact-points li,
.detail-list li,
.footer-links li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.contact-points strong {
  display: block;
  margin-bottom: 6px;
}

.contact-panel {
  text-align: center;
}

.contact-panel .contact-points {
  max-width: 420px;
  margin-right: auto;
  margin-left: auto;
}

.site-footer {
  padding: 72px 0 32px;
  background: #08192f;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 520px);
  justify-content: center;
  gap: 32px;
  text-align: center;
}

.brandmark-footer {
  justify-content: center;
}

.site-footer,
.site-footer p,
.site-footer h3,
.site-footer a,
.footer-bottom {
  color: rgba(241, 248, 255, 0.82);
}

.brandmark-footer strong {
  color: #fff;
}

.page-hero strong,
.footer-bottom strong {
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.flash-banner {
  padding: 12px 0;
  font-weight: 700;
}

.flash-success {
  background: #dff8eb;
  color: #0b6033;
}

.flash-error {
  background: #ffe5e5;
  color: #842626;
}

.modal-shell {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 40;
}

.modal-shell.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 25, 47, 0.7);
}

.modal-card {
  position: relative;
  width: min(calc(100% - 32px), 760px);
  margin: 9vh auto 0;
  padding: 34px;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--shadow);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(8, 25, 47, 0.06);
  font-size: 1.5rem;
  cursor: pointer;
}

.compact-form {
  margin-top: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .card-grid-5,
  .masterclass-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .card-grid-4,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-card {
    padding: 30px;
  }

  .framework-flow {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    width: 2px;
    height: 42px;
    justify-self: center;
    background: linear-gradient(180deg, rgba(139, 223, 255, 0.1), rgba(139, 223, 255, 0.9));
  }

  .flow-arrow::after {
    top: auto;
    bottom: -2px;
    right: -5px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #8bdfff;
    border-bottom: 0;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .page-hero-grid,
  .split-section,
  .contact-layout,
  .assessment-layout,
  .team-grid,
  .testimonial-grid,
  .journey-grid,
  .detail-grid,
  .pathway-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .signal-row,
  .benefit-row,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .site-nav {
    position: absolute;
    top: 68px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 22px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    width: 100%;
    gap: 14px;
  }

  .site-nav a {
    display: block;
    padding: 8px 0;
  }

  .nav-toggle {
    display: block;
  }

  .hero-canvas {
    min-height: 520px;
  }

  .hero-card,
  .hero-metric {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .page-hero,
  .section {
    padding: 84px 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .container.article-grid {
    width: min(calc(100% - 24px), 1320px);
  }

  .header-row {
    gap: 12px;
    min-height: 78px;
  }

  .brandmark {
    min-width: 0;
    gap: 10px;
  }

  .brandmark img {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
  }

  .brandmark span {
    min-width: 0;
  }

  .brandmark strong {
    font-size: 0.92rem;
    line-height: 1.15;
  }

  .brandmark small {
    display: none;
  }

  .hero-section {
    padding-top: 48px;
  }

  .hero-canvas,
  .visual-panel,
  .cta-panel,
  .contact-card,
  .contact-panel,
  .modal-card {
    padding: 22px;
    border-radius: 24px;
  }
}

/* Framework icons and contact image finishing fixes. */
.agp-framework-icon svg {
  width: 24px !important;
  height: 24px !important;
  fill: none !important;
  stroke: var(--agp-blue) !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.agp-framework-icon::before {
  content: none !important;
}

.agp-step-card .agp-framework-icon {
  margin-inline: auto !important;
}

.agp-contact-visual {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: center !important;
  overflow: visible !important;
  min-height: 420px !important;
}

.agp-contact-visual img {
  position: static !important;
  width: min(100%, 420px) !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  object-fit: contain !important;
}

@media (max-width: 820px) {
  .agp-contact-visual {
    display: none !important;
  }
}

.hero-section {
  padding: 72px 0 64px;
  background:
    linear-gradient(180deg, rgba(9, 25, 48, 0.03) 0%, rgba(9, 25, 48, 0.03) 100%),
    radial-gradient(circle at top right, rgba(35, 183, 243, 0.18), transparent 24%),
    linear-gradient(180deg, #f7fbff 0%, #eef4f9 100%);
}

.hero-copy {
  color: var(--ink);
}

.hero-copy .eyebrow,
.page-hero .eyebrow {
  color: var(--blue-mid);
}

.hero-kicker {
  margin-top: 18px;
  max-width: 58ch;
  font-size: 1rem;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-proof span {
  padding: 10px 14px;
  border: 1px solid rgba(8, 25, 47, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 600;
}

.signal-row div {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(8, 25, 47, 0.08);
}

.signal-row strong {
  color: var(--ink);
}

.signal-row span {
  color: var(--muted);
}

.executive-canvas {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  min-height: 560px;
  padding: 22px;
  background:
    radial-gradient(circle at 100% 0%, rgba(35, 183, 243, 0.18), transparent 30%),
    linear-gradient(145deg, #08192f 0%, #122f52 100%);
}

.canvas-column {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
}

.canvas-column-main {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.canvas-column-main span,
.board-metric small {
  color: #8bdfff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.canvas-column-main strong,
.board-metric strong {
  display: block;
  margin-top: 12px;
  color: #fff;
  line-height: 1.2;
}

.canvas-column-main strong {
  font-size: 2rem;
}

.canvas-column-main p {
  margin-top: 18px;
  color: rgba(241, 248, 255, 0.82);
}

.canvas-column-side {
  display: grid;
  gap: 14px;
  padding: 14px;
}

.board-metric {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 150px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.board-metric strong {
  font-size: 1.1rem;
}

.tension-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.tension-card {
  padding: 24px;
  border-top: 4px solid var(--blue-bright);
  border-radius: 0 0 24px 24px;
  background: rgba(255, 255, 255, 0.78);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(8, 25, 47, 0.08);
}

.tension-card span {
  color: var(--blue-mid);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.tension-card h3 {
  margin-top: 14px;
}

.tension-card p {
  margin-top: 12px;
}

.manifesto-panel {
  display: grid;
  gap: 14px;
}

.manifesto-panel article {
  padding: 22px 24px;
  border-left: 4px solid var(--blue-mid);
  border-radius: 0 20px 20px 0;
  background: rgba(255, 255, 255, 0.85);
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.framework-ribbon {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(139, 223, 255, 0.16);
}

.framework-ribbon article {
  min-height: 280px;
  padding: 32px;
  background: rgba(9, 25, 48, 0.82);
}

.framework-ribbon article span {
  color: #8bdfff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.framework-ribbon article h3 {
  margin-top: 14px;
  color: #fff;
}

.framework-ribbon article p {
  margin-top: 14px;
  color: rgba(241, 248, 255, 0.82);
}

.masterclass-ledger {
  display: grid;
  gap: 14px;
}

.masterclass-ledger-card {
  display: grid;
  grid-template-columns: 0.8fr 1.4fr auto;
  gap: 20px;
  align-items: center;
  padding: 24px 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  box-shadow: 0 12px 32px rgba(8, 25, 47, 0.06);
}

.masterclass-ledger-card span {
  display: inline-block;
  color: var(--blue-mid);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.masterclass-ledger-card h3 {
  margin-top: 10px;
}

.masterclass-ledger-card a {
  color: var(--blue-mid);
  font-weight: 700;
  white-space: nowrap;
}

.page-hero {
  background:
    radial-gradient(circle at top right, rgba(35, 183, 243, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #eef4f9 100%);
}

.page-hero-copy-wrap {
  max-width: 640px;
}

.services-hero .page-hero-grid,
.contact-hero .page-hero-grid,
.about-hero .page-hero-grid,
.masterclasses-hero .page-hero-grid {
  grid-template-columns: 1fr;
}

.services-hero .page-hero-copy-wrap,
.contact-hero .page-hero-copy-wrap,
.about-hero .page-hero-copy-wrap,
.masterclasses-hero .page-hero-copy-wrap {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.services-hero h1,
.services-hero .page-hero-copy,
.contact-hero h1,
.contact-hero .page-hero-copy,
.about-hero h1,
.about-hero .page-hero-copy,
.masterclasses-hero h1,
.masterclasses-hero .page-hero-copy {
  max-width: none;
}

.services-hero .page-visual,
.contact-hero .page-visual,
.about-hero .page-visual,
.masterclasses-hero .page-visual {
  display: none;
}

.services-hero .hero-actions,
.contact-hero .hero-actions,
.about-hero .hero-actions,
.masterclasses-hero .hero-actions {
  justify-content: center;
}

.visual-panel {
  min-height: 420px;
  background:
    radial-gradient(circle at 100% 0%, rgba(35, 183, 243, 0.18), transparent 28%),
    linear-gradient(145deg, #08192f 0%, #123457 100%);
}

.brief-grid {
  position: absolute;
  inset: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}

.visual-brief {
  background: rgba(255, 255, 255, 0.06);
}

.brief-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.brief-points div {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.82rem;
}

@media (max-width: 1100px) {
  .tension-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .masterclass-ledger-card {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .framework-ribbon {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .executive-canvas {
    grid-template-columns: 1fr;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .tension-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 9vw, 4.2rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .signal-row,
  .benefit-row,
  .journey-grid,
  .detail-grid,
  .framework-rail,
  .article-grid,
  .card-grid-4,
  .assessment-three-grid,
  .masterclass-grid {
    grid-template-columns: 1fr;
  }

  .framework-rail {
    gap: 44px;
  }

  .framework-rail article {
    min-height: 0;
    padding: 22px;
  }

  .framework-rail article:not(:last-child)::before {
    top: auto;
    right: 50%;
    bottom: -30px;
    width: 2px;
    height: 38px;
    background: linear-gradient(180deg, rgba(35, 183, 243, 0.12), rgba(35, 183, 243, 0.95));
    transform: none;
  }

  .framework-rail article:not(:last-child)::after {
    top: auto;
    right: calc(50% - 7px);
    bottom: -31px;
    transform: rotate(135deg);
  }

  .visual-content {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 160px;
  }

  .framework-ribbon article {
    min-height: 0;
  }

  .masterclass-ledger-card {
    padding: 22px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .btn {
    min-height: 50px;
    padding: 0 18px;
  }

  .hero-copy,
  .page-hero-copy-wrap,
  .narrow-intro {
    text-align: center;
  }

  .hero-section,
  .page-hero,
  .section {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .hero-kicker,
  .hero-lead,
  .page-hero-copy,
  .section-copy,
  .narrow-intro p {
    font-size: 1rem;
  }

  .hero-proof {
    flex-direction: column;
  }

  .hero-proof,
  .hero-actions {
    justify-content: center;
  }

  .hero-proof span,
  .brief-points div {
    width: 100%;
    text-align: center;
  }

  .proof-strip {
    padding: 20px 0;
  }

  .proof-strip h2 {
    max-width: 20ch;
    font-size: 1.05rem;
  }

  .proof-track span {
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.86rem;
  }

  .assessment-page .assessment-dashboard img {
    min-height: 240px;
  }

  .assessment-frame-panel {
    inset: 2vh 12px;
    border-radius: 18px;
  }

  .assessment-frame-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .assessment-frame-actions {
    width: 100%;
  }

  .assessment-frame-open {
    flex: 1;
    text-align: center;
  }

  .flip-card,
  .flip-card-inner {
    min-height: 0;
    perspective: none;
  }

  .flip-card-inner,
  .flip-card:hover .flip-card-inner,
  .flip-card:focus .flip-card-inner,
  .flip-card:focus-within .flip-card-inner {
    display: grid;
    transform: none;
  }

  .flip-card-face {
    position: static;
    min-height: 0;
    backface-visibility: visible;
  }

  .flip-card-front {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .flip-card-back {
    border-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    transform: none;
  }

  .executive-canvas,
  .canvas-column-main,
  .canvas-column-side,
  .framework-ribbon article,
  .tension-card,
  .manifesto-panel article,
  .masterclass-ledger-card,
  .premium-card,
  .pathway-card,
  .team-card,
  .testimonial-card,
  .article-card,
  .detail-panel,
  .cta-panel,
  .contact-card,
  .contact-panel,
  .visual-panel {
    padding: 20px;
  }

  .visual-panel {
    min-height: 0;
  }

  .brief-grid {
    inset: 16px;
  }

  .visual-content {
    margin-top: 110px;
    padding: 20px;
  }

  .canvas-column-main strong {
    font-size: 1.6rem;
  }

  .board-metric {
    min-height: 120px;
  }

  .narrow-intro {
    margin-bottom: 28px;
  }

  .modal-card {
    margin-top: 4vh;
  }
}

.home-page .hero-section {
  position: relative;
  padding: 88px 0 56px;
  background:
    linear-gradient(90deg, #ffffff 0%, #f7fbff 42%, rgba(235, 244, 255, 0.68) 100%);
}

.home-page .hero-grid {
  grid-template-columns: minmax(360px, 0.84fr) minmax(460px, 1.16fr);
  gap: 18px;
  min-height: 560px;
}

.home-page .hero-copy {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 24px 0 18px;
}

.home-page .hero-copy h1 {
  max-width: 14ch;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(3.4rem, 5.5vw, 6.2rem);
  font-weight: 800;
  letter-spacing: 0;
  color: #071a3d;
}

.home-page .hero-lead {
  max-width: 520px;
  color: #1b3159;
  font-size: 1.14rem;
  line-height: 1.8;
}

.home-page .hero-about-link {
  margin-top: 22px;
  background: #2193DE;
  color: #fff;
  border-color: #2193DE;
  box-shadow: 0 16px 34px rgba(33, 147, 222, 0.26);
}

.home-page .hero-about-link:hover {
  background: #177fc4;
  border-color: #177fc4;
}

.home-page .hero-visual {
  position: absolute;
  z-index: 1;
  inset: 0 0 0 38%;
  overflow: hidden;
  pointer-events: none;
}

.home-page .hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.home-page .hero-visual::before,
.home-page .hero-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.home-page .hero-visual::before {
  inset: 0 auto 0 0;
  width: 45%;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.92) 30%, rgba(255, 255, 255, 0) 100%);
}

.home-page .hero-visual::after {
  inset: auto 0 0 0;
  height: 30%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 100%);
}

.home-page .signal-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  max-width: 760px;
  margin-top: 56px;
}

.home-page .signal-row div {
  display: flex;
  align-items: center;
  min-height: 62px;
  padding: 0 18px;
  border: 0;
  border-right: 1px solid rgba(7, 26, 61, 0.13);
  border-radius: 0;
  background: transparent;
}

.home-page .signal-row div:first-child {
  padding-left: 0;
}

.home-page .signal-row div:last-child {
  border-right: 0;
}

.home-page .signal-row strong {
  color: #102247;
  font-size: 0.78rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .home-page .hero-grid {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-page .hero-visual {
    position: relative;
    inset: auto;
    min-height: 360px;
    order: -1;
    border-radius: 0 0 22px 22px;
  }

  .home-page .hero-visual::before {
    width: 30%;
  }

  .home-page .signal-row {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .home-page .signal-row div {
    min-height: 48px;
    padding: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(7, 26, 61, 0.1);
  }
}

@media (max-width: 767px) {
  .home-page .hero-section {
    padding: 0 0 48px;
    background: linear-gradient(180deg, #f7fbff 0%, #eef4f9 100%);
  }

  .home-page .hero-grid {
    width: 100%;
    gap: 0;
  }

  .home-page .hero-copy {
    width: min(calc(100% - 24px), var(--container));
    margin: 0 auto;
    padding: 30px 0 0;
    text-align: left;
  }

  .home-page .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.45rem, 10.8vw, 3.35rem);
    line-height: 1;
  }

  .home-page .hero-lead {
    max-width: none;
    margin-top: 18px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .home-page .hero-about-link {
    margin-top: 18px;
  }

  .home-page .hero-actions {
    gap: 10px;
    margin-top: 24px;
  }

  .home-page .hero-actions .btn,
  .home-page .hero-about-link {
    width: 100%;
  }

  .home-page .hero-visual {
    min-height: 310px;
    border-radius: 0;
  }

  .home-page .hero-visual img {
    object-position: 68% center;
  }

  .home-page .hero-visual::before {
    display: none;
  }

  .home-page .hero-visual::after {
    height: 34%;
    background: linear-gradient(180deg, rgba(247, 251, 255, 0) 0%, #f7fbff 100%);
  }

  .home-page .section {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  .home-page .narrow-intro {
    text-align: left;
  }

  .home-page .narrow-intro h2,
  .home-page .split-section h2,
  .home-page .cta-panel h2 {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
    line-height: 1.1;
  }

  .home-page .tension-grid,
  .home-page .team-grid {
    gap: 14px;
  }

  .home-page .tension-card,
  .home-page .manifesto-panel article,
  .home-page .team-card {
    border-radius: 18px;
  }

  .home-page .split-section {
    gap: 28px;
  }

  .home-page .manifesto-panel article {
    border-left-width: 3px;
  }

  .home-page .cta-panel {
    text-align: left;
  }
}

.youtube-page {
  background: #f8fbff;
}

.youtube-page .container {
  width: min(calc(100% - 40px), 965px);
}

.youtube-showcase-body .header-row {
  min-height: 62px;
}

.youtube-hero {
  position: relative;
  padding: 0 0 12px;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.youtube-circuit {
  position: absolute;
  left: 0;
  top: 54px;
  width: 104px;
  height: 230px;
  opacity: 0.34;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 18px, rgba(0, 109, 255, 0.18) 18px 20px, transparent 20px),
    linear-gradient(180deg, transparent 0 34px, rgba(0, 109, 255, 0.2) 34px 36px, transparent 36px),
    radial-gradient(circle at 28px 38px, rgba(0, 109, 255, 0.38) 0 3px, transparent 4px),
    radial-gradient(circle at 72px 76px, rgba(0, 109, 255, 0.38) 0 3px, transparent 4px),
    radial-gradient(circle at 42px 126px, rgba(0, 109, 255, 0.38) 0 3px, transparent 4px),
    radial-gradient(circle at 88px 168px, rgba(0, 109, 255, 0.38) 0 3px, transparent 4px);
  background-size: 52px 56px, 58px 62px, auto, auto, auto, auto;
}

.youtube-hero-grid {
  display: grid;
  grid-template-columns: minmax(430px, 0.9fr) minmax(500px, 1fr);
  gap: 18px;
  align-items: start;
}

.youtube-intro {
  min-width: 0;
  padding-top: 8px;
}

.youtube-eyebrow,
.youtube-category {
  display: inline-block;
  color: #006dff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.youtube-intro h1 {
  max-width: 16ch;
  margin-top: 10px;
  font-family: "Fraunces", Georgia, serif;
  color: #050609;
  font-size: clamp(2.18rem, 3.1vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.youtube-intro h1 span {
  position: relative;
  display: inline-block;
  color: #006dff;
}

.youtube-intro h1 span::after {
  content: "";
  position: absolute;
  left: 2%;
  right: 0;
  bottom: -5px;
  height: 11px;
  border-bottom: 5px solid #006dff;
  border-radius: 50%;
  transform: rotate(-1deg);
}

.youtube-intro p {
  max-width: 420px;
  margin-top: 14px;
  color: #39465a;
  font-size: 0.72rem;
  line-height: 1.55;
}

.youtube-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 15px;
}

.youtube-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
  padding: 0 7px;
  border: 1px solid #d8e2ef;
  border-radius: 999px;
  background: #ffffff;
  color: #1f2c3d;
  font-size: 0.47rem;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(19, 38, 68, 0.04);
}

.youtube-filter.is-active {
  border-color: #006dff;
  background: #006dff;
  color: #ffffff;
}

.youtube-feature {
  display: grid;
  grid-template-columns: minmax(288px, 1.08fr) minmax(236px, 0.92fr);
  justify-self: end;
  width: 100%;
  max-width: 532px;
  min-width: 0;
  min-height: 199px;
  overflow: hidden;
  border: 1px solid rgba(10, 39, 80, 0.08);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(16, 42, 84, 0.08);
}

.youtube-feature-media,
.youtube-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  background: #06101f;
}

.youtube-feature-media img,
.youtube-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-feature-media img {
  min-height: 199px;
  object-position: center;
}

.youtube-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 18px 35px rgba(8, 25, 47, 0.18);
  transform: translate(-50%, -50%);
}

.youtube-play::after,
.youtube-button-play::after,
.youtube-subscribe-icon span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid #006dff;
  transform: translate(-40%, -50%);
}

.youtube-feature-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 18px 16px;
}

.youtube-feature-copy h2 {
  max-width: none;
  color: #050609;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.youtube-feature-copy p {
  margin-top: 10px;
  color: #586579;
  font-size: 0.66rem;
  line-height: 1.4;
}

.youtube-spark {
  position: absolute;
  right: 30px;
  top: 34px;
  width: 24px;
  height: 32px;
}

.youtube-spark::before,
.youtube-spark::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 15px;
  border-radius: 999px;
  background: #006dff;
}

.youtube-spark::before {
  left: 5px;
  top: 8px;
  transform: rotate(22deg);
}

.youtube-spark::after {
  right: 4px;
  top: 0;
  transform: rotate(20deg);
}

.youtube-feature-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(10, 39, 80, 0.1);
}

.youtube-feature-meta a,
.youtube-card-link {
  color: #006dff;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.youtube-feature-meta a::after,
.youtube-subscribe-button::after {
  content: "\2197";
  margin-left: 5px;
  font-size: 0.78rem;
}

.youtube-watch-time {
  position: relative;
  padding-left: 22px;
  color: #111827;
  font-size: 0.68rem;
  font-weight: 800;
  white-space: nowrap;
}

.youtube-watch-time::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 2px solid #202938;
  border-radius: 50%;
  transform: translateY(-50%);
}

.youtube-watch-time::after {
  content: "";
  position: absolute;
  left: 7px;
  top: calc(50% - 5px);
  width: 5px;
  height: 6px;
  border-left: 2px solid #202938;
  border-bottom: 2px solid #202938;
}

.youtube-video-section {
  padding: 7px 0 12px;
  background: #f8fbff;
}

.youtube-video-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.youtube-video-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(10, 39, 80, 0.08);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(16, 42, 84, 0.055);
}

.youtube-thumb {
  height: 91px;
  aspect-ratio: auto;
}

.youtube-thumb span {
  position: absolute;
  right: 8px;
  bottom: 8px;
  padding: 4px 7px;
  border-radius: 6px;
  background: rgba(4, 10, 20, 0.78);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
}

.youtube-card-body {
  display: flex;
  flex-direction: column;
  min-height: 116px;
  padding: 7px 12px 8px;
}

.youtube-card-body .youtube-category {
  font-size: 0.52rem;
}

.youtube-card-body h2 {
  margin-top: 5px;
  color: #07090f;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: 0.66rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.youtube-card-body p {
  margin-top: 5px;
  color: #536174;
  font-size: 0.52rem;
  line-height: 1.36;
}

.youtube-card-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 4px;
  line-height: 1;
}

.youtube-card-link::after {
  content: "\203A";
  margin-left: auto;
  color: #006dff;
  font-size: 1.2rem;
  line-height: 0.7;
}

.youtube-subscribe-section {
  padding: 0 0 14px;
  background: #f8fbff;
}

.youtube-subscribe-panel {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 61px;
  overflow: hidden;
  padding: 7px 22px;
  border: 1px solid #bfd7ff;
  border-radius: 14px;
  background:
    radial-gradient(circle at right center, rgba(0, 109, 255, 0.25) 0 2px, transparent 3px) 100% 50% / 16px 16px,
    linear-gradient(170deg, transparent 0 54%, rgba(0, 109, 255, 0.09) 54% 69%, transparent 70%),
    #eef6ff;
}

.youtube-subscribe-icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 13px 24px rgba(16, 42, 84, 0.1);
}

.youtube-subscribe-icon span,
.youtube-button-play {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 36px;
  height: 26px;
  border-radius: 8px;
  background: #006dff;
  transform: translate(-50%, -50%);
}

.youtube-subscribe-icon span::after,
.youtube-button-play::after {
  border-top-width: 6px;
  border-bottom-width: 6px;
  border-left-width: 10px;
  border-left-color: #ffffff;
}

.youtube-subscribe-panel h2 {
  max-width: 760px;
  color: #111827;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  font-size: clamp(0.76rem, 1.05vw, 0.95rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.youtube-subscribe-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 34px;
  padding: 0 18px;
  border-radius: 999px;
  background: #006dff;
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(0, 109, 255, 0.24);
}

.youtube-button-play {
  position: relative;
  left: auto;
  top: auto;
  width: 26px;
  height: 18px;
  background: #ffffff;
  transform: none;
}

.youtube-button-play::after {
  border-left-color: #006dff;
}

@media (max-width: 980px) {
  .youtube-hero-grid {
    grid-template-columns: 1fr;
  }

  .youtube-feature {
    justify-self: center;
    width: min(100%, 540px);
  }

  .youtube-intro h1 {
    max-width: 16ch;
  }

  .youtube-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .youtube-feature {
    grid-template-columns: 1fr;
  }

  .youtube-feature-copy h2 {
    max-width: none;
  }

  .youtube-subscribe-panel {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .youtube-subscribe-button {
    grid-column: 1 / -1;
    width: fit-content;
  }
}

@media (max-width: 680px) {
  .youtube-hero {
    padding-top: 28px;
  }

  .youtube-circuit {
    display: none;
  }

  .youtube-hero-grid {
    width: min(calc(100% - 24px), var(--container));
    gap: 26px;
  }

  .youtube-intro h1 {
    max-width: 100%;
    font-size: clamp(2.55rem, 12vw, 3.6rem);
  }

  .youtube-intro p {
    max-width: 100%;
  }

  .youtube-filter-row {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .youtube-filter {
    flex: 0 0 auto;
  }

  .youtube-feature-copy {
    padding: 30px 24px 24px;
  }

  .youtube-feature {
    width: min(100%, 340px);
    min-height: 0;
  }

  .youtube-feature-media {
    aspect-ratio: 16 / 9;
  }

  .youtube-feature-media img {
    min-height: 0;
  }

  .youtube-feature-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .youtube-video-grid {
    width: min(calc(100% - 24px), var(--container));
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .youtube-card-body {
    min-height: 0;
  }

  .youtube-subscribe-panel {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 22px;
  }

  .youtube-subscribe-button {
    width: 100%;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .brandmark strong {
    font-size: 0.84rem;
  }

  .nav-toggle {
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
  }

  .youtube-intro h1 {
    font-size: clamp(2.25rem, 11vw, 2.85rem);
  }

  .youtube-intro p {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .youtube-filter {
    min-height: 32px;
    padding: 0 16px;
    font-size: 0.8rem;
  }

  .youtube-play {
    width: 54px;
    height: 54px;
  }

  .youtube-feature-copy h2 {
    font-size: 1.32rem;
  }

  .youtube-card-body {
    padding: 16px 18px 18px;
  }

  .youtube-subscribe-panel {
    gap: 16px;
  }
}

/* Late header overrides for the Pages reference direction. */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: transparent;
  box-shadow: 0 8px 28px rgba(24, 55, 96, 0.04);
}

.header-row {
  min-height: 92px;
}

.brandmark img {
  width: 62px;
  height: 62px;
}

.brandmark strong {
  font-family: "Fraunces", Georgia, serif;
  color: var(--agp-ink);
  font-size: 1.35rem;
  font-weight: 700;
}

.brandmark small {
  color: #1f2937;
  font-size: 0.92rem;
}

.site-nav {
  flex: 1;
  justify-content: flex-end;
}

.site-nav ul {
  align-items: center;
  gap: clamp(16px, 2.3vw, 34px);
}

.site-nav a {
  color: #071228;
  font-size: 0.98rem;
  font-weight: 700;
}

.site-nav a.is-active {
  position: relative;
  color: var(--agp-blue);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -18px;
  width: 42px;
  height: 2px;
  background: var(--agp-blue);
  transform: translateX(-50%);
}

.advisor-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  margin-left: 16px;
  padding: 0 24px;
  border: 1.5px solid #071228;
  border-radius: 999px;
  color: var(--agp-ink);
  white-space: nowrap;
}

.advisor-link span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 2px solid currentColor;
  border-radius: 999px;
  color: transparent;
}

@media (max-width: 1280px) {
  .advisor-link {
    display: none;
  }
}

@media (max-width: 980px) {
  .header-row {
    min-height: 76px;
  }

  .brandmark img {
    width: 48px;
    height: 48px;
  }

  .brandmark strong {
    font-size: 1rem;
  }

  .site-nav.is-open {
    background: rgba(255, 255, 255, 0.98);
  }

  .site-nav a.is-active::after {
    display: none;
  }
}

/* Final spacing pass against the supplied Pages references. */
.agp-reference-page .container,
.youtube-page .container {
  width: min(calc(100% - 70px), 1536px);
}

.site-header .container {
  width: min(calc(100% - 70px), 1536px);
}

.header-row {
  min-height: 98px;
  gap: 30px;
}

.site-nav ul {
  gap: clamp(18px, 2.2vw, 36px);
}

.site-nav a {
  font-size: 1rem;
}

.advisor-link {
  min-height: 54px;
  padding: 0 26px;
}

.agp-hero-home {
  min-height: calc(100vh - 98px);
  padding: 34px 0 28px;
}

.agp-hero-layout {
  grid-template-columns: minmax(580px, 1fr) minmax(520px, 0.86fr);
  min-height: 720px;
  gap: 0;
}

.home-reference-page .agp-hero-copy {
  justify-self: center;
  width: min(760px, 100%);
  margin-left: 185px;
  padding-top: 36px;
}

.home-reference-page .agp-hero-copy h1 {
  max-width: 15.5ch;
  margin: 0 auto;
  font-size: clamp(4.15rem, 5.35vw, 6.45rem);
}

.home-reference-page .agp-hero-copy p {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
}

.home-reference-page .hero-actions {
  justify-content: center;
  margin-top: 36px;
}

.agp-quote-stack {
  top: 138px;
  left: clamp(34px, 3.2vw, 56px);
  width: 270px;
  gap: 20px;
}

.agp-quote-card {
  min-height: 198px;
  padding: 26px 24px;
}

.agp-hero-person {
  min-height: 720px;
}

.agp-hero-person img {
  right: -118px;
  bottom: -74px;
  width: 780px;
}

.agp-page-hero,
.agp-insights-hero,
.agp-contact-page {
  padding-top: 54px;
}

.agp-centered-hero h1 {
  max-width: 20ch;
  font-size: clamp(4.25rem, 5.1vw, 6.15rem);
}

.agp-centered-hero p {
  max-width: 760px;
  margin-top: 24px;
}

.agp-card-section {
  padding-top: 18px;
}

.agp-framework-steps {
  gap: 52px;
}

.agp-step-card {
  min-height: 268px;
  padding: 32px 26px 30px;
  border-radius: 24px;
}

.agp-step-card:not(:last-child)::after {
  right: -52px;
  width: 52px;
}

.agp-framework-cta {
  min-height: 124px;
  margin-top: 26px;
}

.agp-two-column {
  grid-template-columns: minmax(520px, 0.9fr) minmax(640px, 1.1fr);
  gap: 34px;
}

.agp-two-column .agp-hero-copy h1 {
  max-width: 12.6ch;
  font-size: clamp(4.25rem, 5.45vw, 6.25rem);
}

.agp-two-column .agp-hero-copy p {
  max-width: 600px;
}

.agp-soft-photo {
  min-height: 360px;
}

.agp-soft-photo img {
  height: 410px;
}

.agp-help-layout {
  grid-template-columns: minmax(0, 1fr) 325px;
  gap: 28px;
  align-items: stretch;
}

.agp-help-grid {
  gap: 18px;
}

.agp-info-card {
  min-height: 160px;
  padding: 26px;
  border-radius: 22px;
}

.agp-side-card {
  border-radius: 22px;
}

.agp-team-layout {
  grid-template-columns: minmax(0, 1fr) 310px;
}

.agp-person-card {
  min-height: 146px;
}

.agp-insights-layout {
  grid-template-columns: minmax(520px, 0.82fr) minmax(640px, 1.18fr);
  gap: 42px;
}

.agp-insights-layout .agp-hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(4.4rem, 5.55vw, 6.2rem);
}

.agp-featured-insight {
  min-height: 325px;
  border-radius: 24px;
}

.agp-article-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.agp-article-card {
  min-height: 372px;
  border-radius: 20px;
}

.agp-contact-layout {
  grid-template-columns: minmax(720px, 1fr) minmax(470px, 0.76fr);
  gap: 24px;
}

.agp-contact-copy h1 {
  max-width: 14ch;
  font-size: clamp(4.5rem, 5.8vw, 6.4rem);
}

.agp-contact-grid {
  grid-template-columns: minmax(430px, 1fr) minmax(320px, 0.74fr);
  gap: 32px;
}

.agp-contact-grid .site-form {
  padding: 28px;
}

.agp-contact-visual {
  min-height: 700px;
}

.agp-contact-visual img {
  right: -170px;
  top: -4px;
  width: 800px;
}

.youtube-showcase-body .header-row {
  min-height: 98px;
}

.youtube-page {
  background: #f8fbff;
}

.youtube-page .container {
  width: min(calc(100% - 70px), 1536px);
}

.youtube-hero {
  padding-top: 22px;
}

.youtube-hero-grid {
  grid-template-columns: minmax(520px, 0.84fr) minmax(650px, 1.16fr);
  gap: 42px;
  align-items: end;
}

.youtube-intro h1 {
  max-width: 13ch;
  font-size: clamp(4.2rem, 5.4vw, 6rem);
  line-height: 0.98;
}

.youtube-intro p {
  max-width: 620px;
  font-size: 1.08rem;
}

.youtube-feature {
  max-width: none;
  min-height: 325px;
  border-radius: 24px;
}

.youtube-feature-media img {
  min-height: 325px;
}

.youtube-feature-copy h2 {
  font-size: clamp(1.8rem, 2.1vw, 2.35rem);
}

.youtube-video-section {
  padding-top: 18px;
}

.youtube-video-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.youtube-video-card {
  border-radius: 18px;
}

.youtube-thumb {
  height: 150px;
}

.youtube-card-body {
  min-height: 220px;
  padding: 18px;
}

.youtube-card-body h2 {
  font-size: 1.18rem;
}

.youtube-card-body p {
  font-size: 0.88rem;
}

.youtube-subscribe-section {
  padding-bottom: 34px;
}

.youtube-subscribe-panel {
  min-height: 76px;
  border-radius: 14px;
}

@media (max-width: 1420px) {
  .home-reference-page .agp-hero-copy {
    margin-left: 0;
  }

  .agp-quote-stack {
    display: none;
  }

  .agp-hero-layout,
  .agp-insights-layout,
  .agp-contact-layout,
  .youtube-hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .youtube-video-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .agp-reference-page .container,
  .youtube-page .container,
  .site-header .container {
    width: min(calc(100% - 32px), 1536px);
  }

  .agp-hero-layout,
  .agp-two-column,
  .agp-insights-layout,
  .agp-contact-layout,
  .youtube-hero-grid {
    grid-template-columns: 1fr;
  }

  .agp-hero-layout {
    min-height: 0;
  }

  .home-reference-page .agp-hero-copy,
  .home-reference-page .agp-hero-copy p {
    text-align: left;
  }

  .home-reference-page .hero-actions {
    justify-content: flex-start;
  }

  .agp-hero-person {
    min-height: 420px;
  }

  .agp-framework-steps,
  .agp-article-grid,
  .youtube-video-grid {
    grid-template-columns: 1fr;
  }

  .youtube-feature {
    grid-template-columns: 1fr;
  }
}

/* FINAL LAPTOP-FRIENDLY SCALE: keep this at the end so it wins. */
.agp-reference-page .container,
.youtube-page .container,
.site-header .container {
  width: min(calc(100% - 44px), 1180px) !important;
}

.header-row,
.youtube-showcase-body .header-row {
  min-height: 70px !important;
}

.brandmark {
  gap: 9px !important;
}

.brandmark img {
  width: 42px !important;
  height: 42px !important;
}

.brandmark strong {
  font-size: 1rem !important;
}

.brandmark small {
  font-size: 0.72rem !important;
}

.site-nav ul {
  gap: 16px !important;
}

.site-nav a {
  font-size: 0.84rem !important;
}

.advisor-link {
  min-height: 40px !important;
  padding: 0 14px !important;
  font-size: 0.82rem !important;
}

.agp-reference-page h1,
.youtube-intro h1 {
  font-size: clamp(2.35rem, 3.35vw, 3.85rem) !important;
  line-height: 1.02 !important;
}

.agp-reference-page h2 {
  font-size: clamp(1.35rem, 1.9vw, 2rem) !important;
  line-height: 1.12 !important;
}

.agp-reference-page h3,
.youtube-card-body h2 {
  font-size: 0.95rem !important;
}

.agp-reference-page p,
.youtube-intro p,
.youtube-feature-copy p {
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
}

.agp-reference-page .eyebrow,
.youtube-eyebrow,
.youtube-category {
  margin-bottom: 12px !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.16em !important;
}

.agp-reference-page .btn,
.youtube-subscribe-button {
  min-height: 40px !important;
  padding: 0 16px !important;
  font-size: 0.8rem !important;
}

.agp-hero-home {
  min-height: auto !important;
  padding: 24px 0 18px !important;
}

.agp-hero-layout {
  grid-template-columns: minmax(380px, 0.92fr) minmax(360px, 1.08fr) !important;
  min-height: 450px !important;
  gap: 16px !important;
}

.home-reference-page .agp-hero-copy {
  width: min(500px, 100%) !important;
  margin-left: 82px !important;
  padding-top: 0 !important;
}

.home-reference-page .agp-hero-copy h1 {
  max-width: 15ch !important;
}

.home-reference-page .agp-hero-copy p {
  max-width: 460px !important;
  margin-top: 14px !important;
}

.home-reference-page .hero-actions {
  gap: 10px !important;
  margin-top: 20px !important;
}

.agp-quote-stack {
  top: 92px !important;
  left: 28px !important;
  width: 180px !important;
  gap: 10px !important;
}

.agp-quote-card {
  min-height: 112px !important;
  padding: 12px !important;
  border-radius: 14px !important;
}

.agp-quote-card strong {
  font-size: 1.7rem !important;
}

.agp-quote-card p {
  margin-top: 4px !important;
  font-size: 0.62rem !important;
  line-height: 1.38 !important;
}

.agp-quote-card span,
.agp-quote-card small {
  margin-top: 7px !important;
  font-size: 0.5rem !important;
}

.agp-hero-person {
  min-height: 450px !important;
}

.agp-hero-person img {
  right: -44px !important;
  bottom: -38px !important;
  width: min(470px, 40vw) !important;
}

.agp-proof.section,
.agp-card-section {
  padding-top: 14px !important;
  padding-bottom: 38px !important;
}

.agp-page-hero,
.agp-insights-hero,
.agp-contact-page {
  padding-top: 30px !important;
  padding-bottom: 10px !important;
}

.agp-centered-hero {
  max-width: 840px !important;
}

.agp-centered-hero p {
  max-width: 540px !important;
  margin-top: 14px !important;
}

.agp-two-column,
.agp-insights-layout,
.youtube-hero-grid {
  grid-template-columns: minmax(330px, 0.9fr) minmax(390px, 1.1fr) !important;
  gap: 20px !important;
}

.agp-soft-photo {
  min-height: 220px !important;
}

.agp-soft-photo img {
  height: 250px !important;
}

.agp-framework-steps {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

.agp-step-card {
  min-height: 172px !important;
  padding: 16px 12px !important;
  border-radius: 14px !important;
}

.agp-step-card:not(:last-child)::after {
  display: none !important;
}

.agp-icon {
  width: 42px !important;
  height: 42px !important;
}

.agp-icon::before {
  font-size: 1.05rem !important;
}

.agp-step-card h2 {
  margin-top: 10px !important;
  font-size: 0.88rem !important;
}

.agp-step-card p,
.agp-info-card p,
.agp-person-card p,
.agp-article-card p,
.agp-contact-card p,
.youtube-card-body p {
  margin-top: 8px !important;
  font-size: 0.72rem !important;
  line-height: 1.45 !important;
}

.agp-framework-cta,
.agp-bottom-cta,
.agp-subscribe {
  min-height: auto !important;
  margin-top: 14px !important;
  padding: 14px 16px !important;
  border-radius: 14px !important;
  gap: 12px !important;
}

.agp-framework-cta {
  grid-template-columns: auto minmax(0, 1fr) minmax(180px, 240px) auto auto !important;
}

.agp-framework-cta img {
  height: 52px !important;
}

.agp-help-layout,
.agp-team-layout {
  grid-template-columns: minmax(0, 1fr) 245px !important;
  gap: 14px !important;
}

.agp-help-grid {
  gap: 10px !important;
}

.agp-info-card {
  min-height: 104px !important;
  padding: 14px !important;
  gap: 10px !important;
  border-radius: 14px !important;
}

.agp-info-card h2 {
  font-size: 0.84rem !important;
}

.agp-side-card {
  padding: 16px !important;
  border-radius: 14px !important;
}

.agp-side-card h2 {
  font-size: 1.2rem !important;
}

.agp-side-card li {
  padding: 11px 0 11px 30px !important;
  font-size: 0.74rem !important;
}

.agp-side-card li::before {
  top: 8px !important;
  width: 22px !important;
  height: 22px !important;
}

.agp-person-card {
  grid-template-columns: 58px minmax(0, 1fr) !important;
  min-height: 104px !important;
  padding: 12px !important;
  gap: 10px !important;
  border-radius: 14px !important;
}

.agp-person-card img {
  width: 58px !important;
  height: 58px !important;
}

.agp-person-card h2 {
  margin-top: 4px !important;
  font-size: 0.82rem !important;
}

.agp-person-card span,
.agp-article-card span,
.agp-featured-insight span {
  padding: 3px 7px !important;
  font-size: 0.52rem !important;
}

.agp-featured-insight {
  min-height: 210px !important;
  padding: 16px !important;
  border-radius: 14px !important;
}

.agp-featured-insight h2 {
  margin-top: 10px !important;
  font-size: 1.25rem !important;
}

.agp-featured-insight img {
  min-height: 170px !important;
  border-radius: 12px !important;
}

.agp-filter-row {
  gap: 6px !important;
  margin-top: 16px !important;
}

.agp-filter-row a,
.youtube-filter {
  min-height: 30px !important;
  padding: 0 11px !important;
  font-size: 0.68rem !important;
}

.agp-article-grid {
  gap: 10px !important;
}

.agp-article-card {
  min-height: 260px !important;
  padding: 10px !important;
  border-radius: 14px !important;
}

.agp-article-card img {
  height: 86px !important;
  border-radius: 10px !important;
}

.agp-article-card h2 {
  margin-top: 8px !important;
  font-size: 0.94rem !important;
}

.agp-contact-layout {
  grid-template-columns: minmax(500px, 1fr) minmax(280px, 0.7fr) !important;
  gap: 14px !important;
}

.agp-contact-grid {
  grid-template-columns: minmax(300px, 1fr) minmax(230px, 0.72fr) !important;
  gap: 14px !important;
  margin-top: 18px !important;
}

.agp-contact-grid .site-form,
.agp-contact-card {
  padding: 16px !important;
  border-radius: 14px !important;
}

.agp-contact-grid input,
.agp-contact-grid textarea {
  min-height: 38px !important;
  border-radius: 9px !important;
  font-size: 0.82rem !important;
}

.agp-contact-grid textarea {
  min-height: 78px !important;
}

.agp-contact-visual {
  min-height: 420px !important;
}

.agp-contact-visual img {
  right: -78px !important;
  width: 460px !important;
}

.youtube-hero {
  padding-top: 8px !important;
}

.youtube-feature {
  min-height: 190px !important;
  border-radius: 14px !important;
}

.youtube-feature-media img {
  min-height: 190px !important;
}

.youtube-feature-copy {
  padding: 18px 14px 12px !important;
}

.youtube-feature-copy h2 {
  font-size: 1.15rem !important;
}

.youtube-video-section {
  padding-top: 10px !important;
}

.youtube-video-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
}

.youtube-video-card {
  border-radius: 12px !important;
}

.youtube-thumb {
  height: 82px !important;
}

.youtube-card-body {
  min-height: 132px !important;
  padding: 10px !important;
}

.youtube-subscribe-panel {
  min-height: 54px !important;
  padding: 8px 14px !important;
}

.youtube-subscribe-panel h2 {
  font-size: 0.82rem !important;
}

@media (max-width: 1180px) {
  .agp-quote-stack,
  .advisor-link {
    display: none !important;
  }

  .home-reference-page .agp-hero-copy {
    margin-left: 0 !important;
  }

  .agp-hero-layout,
  .agp-two-column,
  .agp-insights-layout,
  .agp-contact-layout,
  .youtube-hero-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .agp-framework-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .agp-help-grid,
  .agp-article-grid,
  .youtube-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .agp-reference-page .container,
  .youtube-page .container,
  .site-header .container {
    width: min(calc(100% - 24px), 1180px) !important;
  }

  .brandmark small {
    display: none !important;
  }

  .agp-hero-layout,
  .agp-two-column,
  .agp-insights-layout,
  .agp-contact-layout,
  .agp-contact-grid,
  .agp-help-layout,
  .agp-team-layout,
  .youtube-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .agp-hero-person {
    order: -1 !important;
    min-height: 230px !important;
  }

  .agp-hero-person img {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: min(100%, 340px) !important;
    margin: 0 auto !important;
  }

  .home-reference-page .agp-hero-copy,
  .home-reference-page .agp-hero-copy p,
  .home-reference-page .agp-hero-copy h1,
  .agp-centered-hero,
  .agp-centered-hero h1,
  .agp-centered-hero p {
    text-align: left !important;
  }

  .agp-soft-photo {
    min-height: 170px !important;
    order: -1 !important;
  }

  .agp-soft-photo img {
    height: 190px !important;
  }

  .agp-framework-steps,
  .agp-help-grid,
  .agp-team-list,
  .agp-article-grid,
  .youtube-video-grid {
    grid-template-columns: 1fr !important;
  }

  .agp-bottom-cta,
  .agp-subscribe,
  .agp-featured-insight,
  .youtube-feature,
  .youtube-subscribe-panel {
    grid-template-columns: 1fr !important;
  }

  .agp-contact-visual {
    display: none !important;
  }

  .youtube-feature-media {
    aspect-ratio: 16 / 9 !important;
  }

  .youtube-feature-media img,
  .youtube-thumb {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 16 / 9 !important;
  }
}

@media (max-width: 520px) {
  .agp-reference-page h1,
  .youtube-intro h1 {
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
  }

  .agp-reference-page .hero-actions,
  .youtube-filter-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .agp-reference-page .btn,
  .youtube-filter,
  .youtube-subscribe-button {
    width: 100% !important;
  }

  .agp-info-card,
  .agp-person-card {
    grid-template-columns: 1fr !important;
  }
}

/* ABSOLUTE FINAL CONTACT IMAGE FIX: prevent clipping/cutting. */
.agp-contact-page,
.agp-contact-page .container,
.agp-contact-layout,
.contact-portrait-frame {
  overflow: visible !important;
}

.agp-contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px) !important;
  align-items: center !important;
}

.contact-portrait-frame {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

.contact-portrait-frame .contact-portrait-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: min(100%, 340px) !important;
  max-width: 340px !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  clip-path: none !important;
  transform: none !important;
}

@media (max-width: 900px) {
  .agp-contact-layout {
    grid-template-columns: 1fr !important;
  }

  .contact-portrait-frame {
    display: none !important;
  }
}

/* TRUE FINAL REBUILT CONTACT PAGE. */
.contact-reference-page {
  background: #ffffff !important;
}

.contact-reference-main {
  overflow: hidden !important;
}

.contact-reference-section {
  min-height: calc(100vh - 70px) !important;
  padding: 34px 0 42px !important;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 58%, rgba(245, 250, 255, 0.45) 100%) !important;
}

.contact-reference-layout {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(360px, 0.92fr) minmax(270px, 0.58fr) minmax(390px, 0.9fr) !important;
  gap: 26px !important;
  align-items: end !important;
  width: min(calc(100% - 44px), 1240px) !important;
  min-height: 650px !important;
}

.contact-reference-left {
  align-self: start !important;
  padding-top: 28px !important;
  z-index: 2 !important;
}

.contact-reference-left h1 {
  max-width: 9.5ch !important;
  margin: 0 !important;
  font-family: "Fraunces", Georgia, serif !important;
  color: var(--agp-ink) !important;
  font-size: clamp(3.4rem, 5.2vw, 5.4rem) !important;
  line-height: 0.98 !important;
}

.contact-reference-left h1 em {
  color: var(--agp-blue) !important;
  font-style: normal !important;
}

.contact-reference-left p {
  max-width: 420px !important;
  margin-top: 18px !important;
  color: #4a5263 !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.contact-reference-form,
.contact-reference-card {
  border: 1px solid #dbe7fb !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 16px 38px rgba(28, 63, 116, 0.1) !important;
}

.contact-reference-form {
  display: grid !important;
  gap: 13px !important;
  margin-top: 28px !important;
  padding: 20px !important;
}

.contact-reference-form label {
  display: grid !important;
  gap: 7px !important;
  color: #071228 !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
}

.contact-reference-form input,
.contact-reference-form textarea {
  width: 100% !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  border: 1px solid #cbd7e9 !important;
  border-radius: 12px !important;
  color: #071228 !important;
  font: inherit !important;
  font-size: 0.82rem !important;
  background: #ffffff !important;
  outline: none !important;
}

.contact-reference-form textarea {
  min-height: 88px !important;
  padding-top: 12px !important;
  resize: vertical !important;
}

.contact-reference-form .btn {
  width: 100% !important;
  min-height: 46px !important;
  margin-top: 4px !important;
}

.contact-reference-middle {
  z-index: 3 !important;
  display: grid !important;
  gap: 22px !important;
  align-self: end !important;
  padding-bottom: 40px !important;
}

.contact-reference-card {
  padding: 22px !important;
}

.contact-reference-card p {
  margin: 0 !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid #dbe7fb !important;
  color: #071228 !important;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

.contact-reference-card p:first-child {
  padding-top: 0 !important;
}

.contact-reference-card p:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.contact-reference-card a {
  color: var(--agp-blue) !important;
  font-weight: 800 !important;
}

.contact-reference-talk h2 {
  margin: 0 !important;
  color: var(--agp-ink) !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 1.65rem !important;
  line-height: 1.12 !important;
}

.contact-reference-talk p {
  margin-top: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #596275 !important;
}

.contact-reference-talk .btn {
  min-height: 42px !important;
  margin-top: 18px !important;
  color: var(--agp-blue) !important;
  background: #ffffff !important;
  border-color: var(--agp-blue) !important;
}

.contact-reference-visual {
  align-self: stretch !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  min-height: 650px !important;
  margin-left: -54px !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.contact-reference-visual img {
  display: block !important;
  width: min(45vw, 520px) !important;
  max-width: none !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: right bottom !important;
}

@media (max-width: 1180px) {
  .contact-reference-layout {
    grid-template-columns: minmax(330px, 1fr) minmax(250px, 0.76fr) minmax(300px, 0.8fr) !important;
    gap: 18px !important;
    min-height: 570px !important;
  }

  .contact-reference-left h1 {
    font-size: clamp(3rem, 4.6vw, 4.2rem) !important;
  }

  .contact-reference-visual {
    min-height: 570px !important;
    margin-left: -34px !important;
  }

  .contact-reference-visual img {
    width: min(38vw, 420px) !important;
  }
}

@media (max-width: 920px) {
  .contact-reference-section {
    padding-top: 24px !important;
  }

  .contact-reference-layout {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  .contact-reference-left {
    padding-top: 0 !important;
  }

  .contact-reference-left h1 {
    max-width: 11ch !important;
    font-size: clamp(2.45rem, 9vw, 3.4rem) !important;
  }

  .contact-reference-middle {
    padding-bottom: 0 !important;
  }

  .contact-reference-visual {
    display: none !important;
  }
}

/* AGP AI Culture Transformation Framework section. */
.agp-culture-framework {
  position: relative !important;
  overflow: hidden !important;
  padding: clamp(28px, 4vw, 56px) !important;
  border: 1px solid rgba(7, 92, 255, 0.12) !important;
  border-radius: 28px !important;
  background:
    radial-gradient(circle at 86% 12%, rgba(7, 92, 255, 0.1), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.94)) !important;
  box-shadow: 0 28px 70px rgba(20, 57, 114, 0.1) !important;
}

.agp-culture-bg {
  position: absolute !important;
  inset: 0 !important;
  opacity: 0.36 !important;
  pointer-events: none !important;
  background:
    radial-gradient(circle at 82% 20%, rgba(7, 92, 255, 0.18) 0 2px, transparent 3px),
    radial-gradient(circle at 72% 32%, rgba(7, 92, 255, 0.14) 0 2px, transparent 3px),
    radial-gradient(circle at 90% 42%, rgba(7, 92, 255, 0.12) 0 2px, transparent 3px),
    linear-gradient(120deg, transparent 0 62%, rgba(7, 92, 255, 0.12) 62.1% 62.35%, transparent 62.5%),
    linear-gradient(150deg, transparent 0 70%, rgba(7, 92, 255, 0.1) 70.1% 70.35%, transparent 70.5%),
    linear-gradient(30deg, transparent 0 76%, rgba(7, 92, 255, 0.08) 76.1% 76.35%, transparent 76.5%) !important;
}

.agp-culture-head {
  position: relative !important;
  z-index: 1 !important;
  max-width: 940px !important;
}

.agp-culture-head img {
  width: 54px !important;
  height: 54px !important;
  object-fit: contain !important;
  margin-bottom: 16px !important;
}

.agp-culture-head h2 {
  max-width: 860px !important;
  margin: 0 !important;
  color: #071228 !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: clamp(2.2rem, 4vw, 4rem) !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
}

.agp-culture-subhead {
  max-width: 720px !important;
  margin-top: 16px !important;
  color: #075cff !important;
  font-size: clamp(1rem, 1.6vw, 1.25rem) !important;
  font-weight: 800 !important;
  line-height: 1.45 !important;
}

.agp-culture-intro {
  max-width: 860px !important;
  margin-top: 18px !important;
  color: #3f4859 !important;
  font-size: 0.98rem !important;
  line-height: 1.7 !important;
}

.agp-culture-grid {
  position: relative !important;
  z-index: 1 !important;
  display: grid !important;
  grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: clamp(26px, 4vw, 44px) !important;
}

.agp-culture-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100% !important;
  grid-column: span 2 !important;
  padding: 22px !important;
  border: 1px solid #dbe7fb !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  box-shadow: 0 18px 46px rgba(20, 57, 114, 0.08) !important;
}

.agp-culture-card:nth-child(4),
.agp-culture-card:nth-child(5) {
  grid-column: span 3 !important;
}

.agp-culture-card h3 {
  margin: 16px 0 0 !important;
  color: #071228 !important;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif !important;
  font-size: 1.08rem !important;
  line-height: 1.25 !important;
}

.agp-culture-card p {
  margin-top: 12px !important;
  color: #4a5263 !important;
  font-size: 0.84rem !important;
  line-height: 1.58 !important;
}

.agp-culture-card ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 18px 0 0 !important;
  list-style: none !important;
}

.agp-culture-card li {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 28px !important;
  padding: 5px 10px !important;
  border: 1px solid rgba(7, 92, 255, 0.14) !important;
  border-radius: 999px !important;
  color: #16305f !important;
  font-size: 0.7rem !important;
  font-weight: 800 !important;
  background: #eef5ff !important;
}

.agp-culture-statement {
  position: relative !important;
  z-index: 1 !important;
  margin-top: 24px !important;
  padding: 18px 22px !important;
  border-radius: 18px !important;
  color: #ffffff !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: clamp(1.25rem, 2.2vw, 2rem) !important;
  line-height: 1.18 !important;
  text-align: center !important;
  background: linear-gradient(135deg, #07192f, #075cff) !important;
  box-shadow: 0 18px 42px rgba(7, 92, 255, 0.18) !important;
}

.agp-culture-cta {
  position: relative !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  margin-top: 18px !important;
  padding: 20px 22px !important;
  border: 1px solid #dbe7fb !important;
  border-radius: 18px !important;
  background: #ffffff !important;
}

.agp-culture-cta h3 {
  margin: 0 !important;
  color: #071228 !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: clamp(1.25rem, 2vw, 1.85rem) !important;
  line-height: 1.15 !important;
}

@media (max-width: 1100px) {
  .agp-culture-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .agp-culture-card,
  .agp-culture-card:nth-child(4),
  .agp-culture-card:nth-child(5) {
    grid-column: auto !important;
  }
}

@media (max-width: 760px) {
  .agp-culture-framework {
    padding: 22px !important;
    border-radius: 22px !important;
  }

  .agp-culture-grid {
    grid-template-columns: 1fr !important;
  }

  .agp-culture-cta {
    align-items: stretch !important;
    flex-direction: column !important;
  }

  .agp-culture-cta .btn {
    width: 100% !important;
  }
}



/* Contact reference image crop. */
.agp-contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(460px, 560px) !important;
  gap: 0 !important;
}

.contact-portrait-frame {
  align-self: stretch !important;
  justify-content: flex-end !important;
  margin-left: -70px !important;
  pointer-events: none !important;
}

.contact-portrait-frame .contact-portrait-image {
  width: min(56vw, 560px) !important;
  max-width: 560px !important;
  border-radius: 0 !important;
  filter: none !important;
}

@media (max-width: 1180px) {
  .agp-contact-layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 450px) !important;
  }

  .contact-portrait-frame {
    margin-left: -40px !important;
  }

  .contact-portrait-frame .contact-portrait-image {
    width: min(46vw, 450px) !important;
  }
}

@media (max-width: 900px) {
  .agp-contact-layout {
    grid-template-columns: 1fr !important;
  }

  .contact-portrait-frame {
    display: none !important;
  }
}

/* Who We Help line icons. */
.agp-help-icon svg {
  width: 24px !important;
  height: 24px !important;
  fill: none !important;
  stroke: var(--agp-blue) !important;
  stroke-width: 1.8 !important;
  stroke-linecap: round !important;
  stroke-linejoin: round !important;
}

.agp-help-icon::before {
  content: none !important;
}

/* Rebuilt Contact page to match Pages/Contact Us Page.png. */
.contact-reference-page {
  background: #ffffff !important;
}

.contact-reference-main {
  overflow: hidden !important;
}

.contact-reference-section {
  min-height: calc(100vh - 70px) !important;
  padding: 34px 0 42px !important;
  background:
    linear-gradient(90deg, #ffffff 0%, #ffffff 58%, rgba(245, 250, 255, 0.45) 100%) !important;
}

.contact-reference-layout {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(360px, 0.92fr) minmax(270px, 0.58fr) minmax(390px, 0.9fr) !important;
  gap: 26px !important;
  align-items: end !important;
  width: min(calc(100% - 44px), 1240px) !important;
  min-height: 650px !important;
}

.contact-reference-left {
  align-self: start !important;
  padding-top: 28px !important;
  z-index: 2 !important;
}

.contact-reference-left h1 {
  max-width: 9.5ch !important;
  margin: 0 !important;
  font-family: "Fraunces", Georgia, serif !important;
  color: var(--agp-ink) !important;
  font-size: clamp(3.4rem, 5.2vw, 5.4rem) !important;
  line-height: 0.98 !important;
}

.contact-reference-left h1 em {
  color: var(--agp-blue) !important;
  font-style: normal !important;
}

.contact-reference-left p {
  max-width: 420px !important;
  margin-top: 18px !important;
  color: #4a5263 !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.contact-reference-form,
.contact-reference-card {
  border: 1px solid #dbe7fb !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 16px 38px rgba(28, 63, 116, 0.1) !important;
}

.contact-reference-form {
  display: grid !important;
  gap: 13px !important;
  margin-top: 28px !important;
  padding: 20px !important;
}

.contact-reference-form label {
  display: grid !important;
  gap: 7px !important;
  color: #071228 !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
}

.contact-reference-form input,
.contact-reference-form textarea {
  width: 100% !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  border: 1px solid #cbd7e9 !important;
  border-radius: 12px !important;
  color: #071228 !important;
  font: inherit !important;
  font-size: 0.82rem !important;
  background: #ffffff !important;
  outline: none !important;
}

.contact-reference-form textarea {
  min-height: 88px !important;
  padding-top: 12px !important;
  resize: vertical !important;
}

.contact-reference-form .btn {
  width: 100% !important;
  min-height: 46px !important;
  margin-top: 4px !important;
}

.contact-reference-middle {
  z-index: 3 !important;
  display: grid !important;
  gap: 22px !important;
  align-self: end !important;
  padding-bottom: 40px !important;
}

.contact-reference-card {
  padding: 22px !important;
}

.contact-reference-card p {
  margin: 0 !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid #dbe7fb !important;
  color: #071228 !important;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

.contact-reference-card p:first-child {
  padding-top: 0 !important;
}

.contact-reference-card p:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.contact-reference-card a {
  color: var(--agp-blue) !important;
  font-weight: 800 !important;
}

.contact-reference-talk h2 {
  margin: 0 !important;
  color: var(--agp-ink) !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 1.65rem !important;
  line-height: 1.12 !important;
}

.contact-reference-talk p {
  margin-top: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #596275 !important;
}

.contact-reference-talk .btn {
  min-height: 42px !important;
  margin-top: 18px !important;
  color: var(--agp-blue) !important;
  background: #ffffff !important;
  border-color: var(--agp-blue) !important;
}

.contact-reference-visual {
  align-self: stretch !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  min-height: 650px !important;
  margin-left: -54px !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.contact-reference-visual img {
  display: block !important;
  width: min(45vw, 520px) !important;
  max-width: none !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: right bottom !important;
}

@media (max-width: 1180px) {
  .contact-reference-layout {
    grid-template-columns: minmax(330px, 1fr) minmax(250px, 0.76fr) minmax(300px, 0.8fr) !important;
    gap: 18px !important;
    min-height: 570px !important;
  }

  .contact-reference-left h1 {
    font-size: clamp(3rem, 4.6vw, 4.2rem) !important;
  }

  .contact-reference-visual {
    min-height: 570px !important;
    margin-left: -34px !important;
  }

  .contact-reference-visual img {
    width: min(38vw, 420px) !important;
  }
}

@media (max-width: 920px) {
  .contact-reference-section {
    padding-top: 24px !important;
  }

  .contact-reference-layout {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  .contact-reference-left {
    padding-top: 0 !important;
  }

  .contact-reference-left h1 {
    max-width: 11ch !important;
    font-size: clamp(2.45rem, 9vw, 3.4rem) !important;
  }

  .contact-reference-middle {
    padding-bottom: 0 !important;
  }

  .contact-reference-visual {
    display: none !important;
  }
}

/* Framework CTA cleanup. */
.agp-framework-cta {
  grid-template-columns: auto minmax(260px, 1fr) minmax(170px, 240px) auto auto !important;
  align-items: center !important;
  gap: 18px !important;
  padding: 18px 22px !important;
}

.agp-framework-cta .agp-icon {
  flex: 0 0 auto !important;
}

.agp-framework-cta h2 {
  margin: 0 !important;
  max-width: 430px !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: clamp(1.28rem, 1.75vw, 1.75rem) !important;
  line-height: 1.08 !important;
}

.agp-framework-cta p {
  max-width: 430px !important;
  margin-top: 8px !important;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

.agp-framework-cta img {
  width: 100% !important;
  height: 58px !important;
  border-radius: 10px !important;
  object-fit: cover !important;
}

.agp-framework-cta .btn {
  min-width: max-content !important;
  white-space: nowrap !important;
}

@media (max-width: 1100px) {
  .agp-framework-cta {
    grid-template-columns: auto minmax(0, 1fr) auto auto !important;
  }

  .agp-framework-cta img {
    display: none !important;
  }
}

@media (max-width: 760px) {
  .agp-framework-cta {
    grid-template-columns: 1fr !important;
    justify-items: start !important;
  }

  .agp-framework-cta .btn {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* Footer contrast fix. */
.site-footer {
  padding: 28px 0 18px !important;
  background: #07192f !important;
}

.site-footer .container {
  width: min(calc(100% - 44px), 1180px) !important;
}

.footer-grid {
  grid-template-columns: minmax(0, 460px) !important;
  gap: 14px !important;
}

.brandmark-footer {
  justify-content: center !important;
}

.brandmark-footer img {
  width: 42px !important;
  height: 42px !important;
}

.brandmark-footer strong {
  color: #ffffff !important;
  font-size: 1rem !important;
}

.brandmark-footer small,
.site-footer p,
.site-footer a,
.footer-bottom,
.footer-bottom span,
.footer-bottom strong {
  color: rgba(241, 248, 255, 0.86) !important;
}

.footer-copy {
  max-width: 520px !important;
  margin: 12px auto 0 !important;
  font-size: 0.78rem !important;
  line-height: 1.55 !important;
  text-align: center !important;
}

.footer-bottom {
  margin-top: 16px !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(241, 248, 255, 0.14) !important;
  font-size: 0.76rem !important;
}

@media (max-width: 640px) {
  .site-footer .container {
    width: min(calc(100% - 24px), 1180px) !important;
  }

  .brandmark-footer {
    align-items: center !important;
  }

  .footer-bottom {
    align-items: center !important;
    text-align: center !important;
  }
}

/* TRUE FINAL CONTACT IMAGE FIX: appended after every other rule. */
.agp-contact-page,
.agp-contact-page .container,
.agp-contact-layout,
.contact-portrait-frame {
  overflow: visible !important;
}

.agp-contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px) !important;
  align-items: center !important;
}

.contact-portrait-frame {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  transform: none !important;
}

.contact-portrait-frame .contact-portrait-image {
  position: static !important;
  inset: auto !important;
  display: block !important;
  width: min(100%, 340px) !important;
  max-width: 340px !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  clip-path: none !important;
  transform: none !important;
}

@media (max-width: 900px) {
  .agp-contact-layout {
    grid-template-columns: 1fr !important;
  }

  .contact-portrait-frame {
    display: none !important;
  }
}

/* ABSOLUTE END CONTACT PAGE MATCH TO PAGES/CONTACT US PAGE.PNG */
.contact-reference-page {
  background: #ffffff !important;
}

.contact-reference-main {
  overflow: hidden !important;
}

.contact-reference-section {
  min-height: calc(100vh - 70px) !important;
  padding: 34px 0 42px !important;
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 58%, rgba(245, 250, 255, 0.45) 100%) !important;
}

.contact-reference-layout {
  position: relative !important;
  display: grid !important;
  grid-template-columns: minmax(360px, 0.92fr) minmax(270px, 0.58fr) minmax(390px, 0.9fr) !important;
  gap: 26px !important;
  align-items: end !important;
  width: min(calc(100% - 44px), 1240px) !important;
  min-height: 650px !important;
}

.contact-reference-left {
  align-self: start !important;
  padding-top: 28px !important;
  z-index: 2 !important;
}

.contact-reference-left h1 {
  max-width: 9.5ch !important;
  margin: 0 !important;
  font-family: "Fraunces", Georgia, serif !important;
  color: var(--agp-ink) !important;
  font-size: clamp(3.4rem, 5.2vw, 5.4rem) !important;
  line-height: 0.98 !important;
}

.contact-reference-left h1 em {
  color: var(--agp-blue) !important;
  font-style: normal !important;
}

.contact-reference-left p {
  max-width: 420px !important;
  margin-top: 18px !important;
  color: #4a5263 !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}

.contact-reference-form,
.contact-reference-card {
  border: 1px solid #dbe7fb !important;
  border-radius: 18px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 16px 38px rgba(28, 63, 116, 0.1) !important;
}

.contact-reference-form {
  display: grid !important;
  gap: 13px !important;
  margin-top: 28px !important;
  padding: 20px !important;
}

.contact-reference-form label {
  display: grid !important;
  gap: 7px !important;
  color: #071228 !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
}

.contact-reference-form input,
.contact-reference-form textarea {
  width: 100% !important;
  min-height: 40px !important;
  padding: 0 14px !important;
  border: 1px solid #cbd7e9 !important;
  border-radius: 12px !important;
  color: #071228 !important;
  font: inherit !important;
  font-size: 0.82rem !important;
  background: #ffffff !important;
  outline: none !important;
}

.contact-reference-form textarea {
  min-height: 88px !important;
  padding-top: 12px !important;
  resize: vertical !important;
}

.contact-reference-form .btn {
  width: 100% !important;
  min-height: 46px !important;
  margin-top: 4px !important;
}

.contact-reference-middle {
  z-index: 3 !important;
  display: grid !important;
  gap: 22px !important;
  align-self: end !important;
  padding-bottom: 40px !important;
}

.contact-reference-card {
  padding: 22px !important;
}

.contact-reference-card p {
  margin: 0 !important;
  padding: 16px 0 !important;
  border-bottom: 1px solid #dbe7fb !important;
  color: #071228 !important;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

.contact-reference-card p:first-child {
  padding-top: 0 !important;
}

.contact-reference-card p:last-child {
  padding-bottom: 0 !important;
  border-bottom: 0 !important;
}

.contact-reference-card a {
  color: var(--agp-blue) !important;
  font-weight: 800 !important;
}

.contact-reference-talk h2 {
  margin: 0 !important;
  color: var(--agp-ink) !important;
  font-family: "Fraunces", Georgia, serif !important;
  font-size: 1.65rem !important;
  line-height: 1.12 !important;
}

.contact-reference-talk p {
  margin-top: 10px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #596275 !important;
}

.contact-reference-talk .btn {
  min-height: 42px !important;
  margin-top: 18px !important;
  color: var(--agp-blue) !important;
  background: #ffffff !important;
  border-color: var(--agp-blue) !important;
}

.contact-reference-visual {
  align-self: stretch !important;
  z-index: 1 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: flex-end !important;
  min-height: 650px !important;
  margin-left: -54px !important;
  overflow: visible !important;
  pointer-events: none !important;
}

.contact-reference-visual img {
  display: block !important;
  width: min(45vw, 520px) !important;
  max-width: none !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: right bottom !important;
}

@media (max-width: 1180px) {
  .contact-reference-layout {
    grid-template-columns: minmax(330px, 1fr) minmax(250px, 0.76fr) minmax(300px, 0.8fr) !important;
    gap: 18px !important;
    min-height: 570px !important;
  }

  .contact-reference-left h1 {
    font-size: clamp(3rem, 4.6vw, 4.2rem) !important;
  }

  .contact-reference-visual {
    min-height: 570px !important;
    margin-left: -34px !important;
  }

  .contact-reference-visual img {
    width: min(38vw, 420px) !important;
  }
}

@media (max-width: 920px) {
  .contact-reference-section {
    padding-top: 24px !important;
  }

  .contact-reference-layout {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  .contact-reference-left {
    padding-top: 0 !important;
  }

  .contact-reference-left h1 {
    max-width: 11ch !important;
    font-size: clamp(2.45rem, 9vw, 3.4rem) !important;
  }

  .contact-reference-middle {
    padding-bottom: 0 !important;
  }

  .contact-reference-visual {
    display: none !important;
  }
}

/* FINAL FOOTER NAVIGATION + SOCIALS LAYOUT */
.site-footer {
  padding: 34px 0 18px !important;
  background: #07192f !important;
}

.site-footer .container {
  width: min(calc(100% - 44px), 1180px) !important;
}

.footer-grid {
  display: grid !important;
  grid-template-columns: minmax(280px, 1.4fr) minmax(180px, 0.7fr) minmax(180px, 0.7fr) !important;
  justify-content: stretch !important;
  align-items: start !important;
  gap: 42px !important;
  text-align: left !important;
}

.footer-brand .brandmark-footer {
  justify-content: flex-start !important;
}

.footer-brand .footer-copy {
  max-width: 460px !important;
  margin: 14px 0 0 !important;
  text-align: left !important;
}

.footer-nav h2,
.footer-socials h2 {
  margin: 0 0 14px !important;
  color: #ffffff !important;
  font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
}

.footer-nav ul,
.footer-socials ul {
  display: grid !important;
  gap: 9px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

.footer-nav a,
.footer-socials a {
  display: inline-flex !important;
  color: rgba(241, 248, 255, 0.78) !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  transition: color 160ms ease, transform 160ms ease !important;
}

.footer-nav a:hover,
.footer-socials a:hover {
  color: #ffffff !important;
  transform: translateX(2px) !important;
}

.footer-bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  margin-top: 28px !important;
  padding-top: 14px !important;
  border-top: 1px solid rgba(241, 248, 255, 0.14) !important;
}

@media (max-width: 780px) {
  .site-footer .container {
    width: min(calc(100% - 24px), 1180px) !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .footer-brand .brandmark-footer {
    justify-content: flex-start !important;
  }

  .footer-bottom {
    align-items: flex-start !important;
    flex-direction: column !important;
    text-align: left !important;
  }
}

/* FOOTER POLISH */
.site-footer {
  position: relative !important;
  overflow: hidden !important;
  padding: 44px 0 20px !important;
  background:
    radial-gradient(circle at 82% 0%, rgba(35, 183, 243, 0.16), transparent 28%),
    linear-gradient(180deg, #07192f 0%, #061428 100%) !important;
}

.site-footer::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 0 auto 0 !important;
  height: 1px !important;
  background: linear-gradient(90deg, transparent, rgba(35, 183, 243, 0.7), transparent) !important;
}

.footer-grid {
  position: relative !important;
  z-index: 1 !important;
  padding-bottom: 6px !important;
}

.footer-brand {
  padding-right: 28px !important;
}

.footer-nav,
.footer-socials {
  min-height: 100% !important;
  padding-left: 24px !important;
  border-left: 1px solid rgba(241, 248, 255, 0.12) !important;
}

.footer-nav h2,
.footer-socials h2 {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
}

.footer-nav h2::before,
.footer-socials h2::before {
  content: "" !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 999px !important;
  background: #23b7f3 !important;
  box-shadow: 0 0 16px rgba(35, 183, 243, 0.8) !important;
}

.footer-nav a {
  opacity: 0.88 !important;
}

.footer-socials ul {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
}

.footer-socials a {
  min-height: 34px !important;
  align-items: center !important;
  padding: 0 13px !important;
  border: 1px solid rgba(241, 248, 255, 0.16) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.045) !important;
}

.footer-socials a:hover {
  border-color: rgba(35, 183, 243, 0.55) !important;
  background: rgba(35, 183, 243, 0.1) !important;
  transform: translateY(-1px) !important;
}

.footer-bottom {
  position: relative !important;
  z-index: 1 !important;
  color: rgba(241, 248, 255, 0.68) !important;
}

@media (max-width: 780px) {
  .footer-brand {
    padding-right: 0 !important;
  }

  .footer-nav,
  .footer-socials {
    padding-left: 0 !important;
    padding-top: 22px !important;
    border-left: 0 !important;
    border-top: 1px solid rgba(241, 248, 255, 0.12) !important;
  }
}

/* HOME HERO IMAGE BLEND */
.home-reference-page .agp-hero-home {
  top: auto !important;
  margin-top: 0 !important;
  transform: none !important;
  background:
    radial-gradient(circle at 77% 22%, rgba(35, 183, 243, 0.09), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
}

.home-reference-page .agp-hero-layout {
  transform: none !important;
}

.home-reference-page .agp-hero-person {
  position: relative !important;
  isolation: isolate !important;
  overflow: visible !important;
}

.home-reference-page .agp-hero-person::before {
  content: "" !important;
  position: absolute !important;
  inset: 9% -7% -3% 8% !important;
  z-index: -1 !important;
  border-radius: 44px !important;
  background:
    radial-gradient(circle at 58% 34%, rgba(35, 183, 243, 0.15), transparent 42%),
    radial-gradient(circle at 70% 64%, rgba(0, 114, 255, 0.08), transparent 42%) !important;
  filter: blur(18px) !important;
  opacity: 0.9 !important;
}

.home-reference-page .agp-hero-person::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 2 !important;
  border-radius: 36px !important;
  pointer-events: none !important;
  background:
    linear-gradient(90deg, #f7fbff 0%, rgba(247, 251, 255, 0.72) 4%, rgba(247, 251, 255, 0) 15%, rgba(247, 251, 255, 0) 88%, rgba(247, 251, 255, 0.5) 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(247, 251, 255, 0) 16%, rgba(247, 251, 255, 0) 86%, #f7fbff 100%),
    radial-gradient(circle at 50% 48%, rgba(247, 251, 255, 0) 58%, rgba(247, 251, 255, 0.2) 82%, #f7fbff 100%) !important;
}

.home-reference-page .agp-hero-person img {
  display: block !important;
  max-width: 100% !important;
  border-radius: 36px !important;
  box-shadow: none !important;
  object-fit: cover !important;
  object-position: center !important;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, #000 13%, #000 92%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%),
    radial-gradient(ellipse at 52% 45%, #000 0%, #000 69%, transparent 100%) !important;
  mask-image:
    linear-gradient(to right, transparent 0%, #000 13%, #000 92%, transparent 100%),
    linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%),
    radial-gradient(ellipse at 52% 45%, #000 0%, #000 69%, transparent 100%) !important;
  -webkit-mask-composite: source-in, source-in !important;
  mask-composite: intersect !important;
}

@media (min-width: 901px) {
  .home-reference-page .agp-hero-person {
    min-height: 530px !important;
  }

  .home-reference-page .agp-hero-person img {
    position: absolute !important;
    right: -18px !important;
    top: 42px !important;
    bottom: auto !important;
    width: min(545px, 42vw) !important;
    height: auto !important;
  }

  .home-reference-page .agp-hero-person::after {
    inset: 42px -18px auto auto !important;
    width: min(545px, 42vw) !important;
    aspect-ratio: 1 / 1 !important;
  }
}

@media (max-width: 900px) {
  .home-reference-page .agp-hero-person {
    order: -1 !important;
    min-height: 0 !important;
    width: min(100%, 520px) !important;
    margin: 26px auto 28px !important;
  }

  .home-reference-page .agp-hero-person::before {
    inset: 8% -4% -5% -4% !important;
    border-radius: 28px !important;
    filter: blur(8px) !important;
  }

  .home-reference-page .agp-hero-person img {
    position: relative !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
  }

  .home-reference-page .agp-hero-person::after {
    inset: 0 !important;
    width: auto !important;
    aspect-ratio: auto !important;
  }
}

/* CLIENT LOGO STRIP AND FOOTER SOCIAL ICONS */
.proof-track .client-logo {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-width: 172px !important;
  height: 54px !important;
  padding: 0 18px 0 12px !important;
  border: 1px solid rgba(9, 45, 89, 0.1) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: #061b3a !important;
  box-shadow: 0 12px 32px rgba(8, 33, 64, 0.08) !important;
}

.proof-track .client-logo b {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 10px !important;
  font-family: Arial, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #0067b1, #23b7f3) !important;
}

.proof-track .client-logo em {
  display: block !important;
  font-style: normal !important;
  font-size: 0.82rem !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  white-space: normal !important;
}

.client-logo-nedbank b { background: linear-gradient(135deg, #007a3d, #00a651) !important; }
.client-logo-multichoice b { background: linear-gradient(135deg, #013b7a, #16a8ff) !important; }
.client-logo-crf b { background: linear-gradient(135deg, #182b49, #c6a15b) !important; }
.client-logo-mtn b { color: #111 !important; background: linear-gradient(135deg, #ffd200, #ffef7a) !important; border-radius: 999px !important; }
.client-logo-cbe b { background: linear-gradient(135deg, #022d62, #7aa7d8) !important; }
.client-logo-anglo b { background: linear-gradient(135deg, #006b8f, #8fd6f2) !important; }
.client-logo-rmb b { background: linear-gradient(135deg, #001f49, #557cae) !important; }
.client-logo-schneider b { background: linear-gradient(135deg, #00843d, #62bb46) !important; }
.client-logo-mcdonalds b { color: #ffcf00 !important; background: linear-gradient(135deg, #b00020, #e31b23) !important; }
.client-logo-dhl b { color: #d40511 !important; background: linear-gradient(135deg, #ffcc00, #ffe680) !important; }
.client-logo-bee b { background: linear-gradient(135deg, #111827, #f5b700) !important; }
.client-logo-amax b { background: linear-gradient(135deg, #05264f, #23b7f3) !important; }
.client-logo-visa-request b,
.client-logo-vra b { background: linear-gradient(135deg, #0057ff, #2fd4ff) !important; }

.footer-socials ul {
  gap: 12px !important;
}

.footer-socials .social-icon-link {
  width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  justify-content: center !important;
  padding: 0 !important;
  border-radius: 999px !important;
}

.footer-socials .social-icon-link svg {
  width: 20px !important;
  height: 20px !important;
  fill: currentColor !important;
}

.footer-socials .social-icon-link span {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.proof-track .country-flag {
  min-width: 88px !important;
  height: 64px !important;
  justify-content: center !important;
  padding: 0 22px !important;
  font-size: 2.45rem !important;
  line-height: 1 !important;
  border: 1px solid rgba(9, 45, 89, 0.1) !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, 0.94) !important;
  box-shadow: 0 12px 32px rgba(8, 33, 64, 0.08) !important;
}

/* ASSESSMENT HERO IMAGE POSITION */
.assessment-page .assessment-dashboard {
  transform: translateY(-24px) !important;
}

@media (max-width: 900px) {
  .assessment-page .assessment-dashboard {
    transform: translateY(-10px) !important;
  }
}
