.afra-editorial-menu[hidden],
.afra-ai__panel[hidden],
[hidden] {
  display: none !important;
}

.afra-footer-column .afra-legal-preview {
  color: var(--afra-muted);
  cursor: not-allowed;
  display: inline-flex;
  font-size: 0.84rem;
  line-height: 1.5;
  opacity: 0.72;
}

form[data-preview-state="inactive"]::before {
  border-block-end: 1px solid rgba(207, 230, 250, 0.16);
  color: var(--afra-muted);
  content: "Preview only · WordPress integration is not active";
  display: block;
  font-size: 0.78rem;
  line-height: 1.5;
  margin-block-end: 1.2rem;
  padding-block-end: 0.8rem;
}

html[lang="nl"] form[data-preview-state="inactive"]::before {
  content: "Alleen voorbeeld · De WordPress-koppeling is niet actief";
}

html[lang="fa"] form[data-preview-state="inactive"]::before {
  content: "فقط پیش‌نمایش · اتصال WordPress فعال نیست";
}

form[data-preview-state="inactive"] button[disabled],
button[data-afra-notifications][disabled],
[data-preview-action="inactive"] {
  cursor: not-allowed;
  opacity: 0.58;
}

[data-preview-action="inactive"] {
  pointer-events: none;
}

.afra-portal-form input[disabled],
[data-afra-ai-remember][disabled] {
  cursor: not-allowed;
  opacity: 0.68;
}

/* Repair the inherited twelve-column cascade on exported interior pages. */
.afra-company-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(2.25rem, 6vw, 6rem);
  grid-template-columns: minmax(0, 1.08fr) minmax(20rem, 0.92fr);
}

.afra-company-hero__grid > *,
.afra-company-layout > *,
.afra-form-layout > * {
  grid-column: auto;
  min-width: 0;
}

.afra-company-hero__grid > :first-child > p:not(.afra-eyebrow) {
  max-width: 38rem;
}

.afra-company-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(18rem, 0.85fr);
}

.afra-form-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

.afra-form-layout > * {
  align-self: stretch;
}

.afra-portal-languages {
  justify-content: flex-start;
  margin-block-start: 1.5rem;
}

@media (max-width: 900px) {
  .afra-company-hero__grid,
  .afra-company-layout,
  .afra-form-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-company-hero__mark {
    justify-self: center;
    max-width: 32rem;
    min-height: 0;
    width: 100%;
  }
}

@media (max-width: 540px) {
  .afra-company-hero__grid {
    gap: 2rem;
  }

  .afra-company-hero__mark {
    max-width: 23rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }
}

/* Afra Labs V4.6: English-first typography, quiet blue accents, and repaired section geometry. */
:root {
  --afra-cyan: #587a9a;
  --afra-focus: #93b1cc;
  --afra-v46-accent: #7894ad;
  --afra-v46-accent-strong: #315f91;
  --afra-v46-accent-light: #2b5278;
}

.afra-site-main h1,
.afra-site-main h2,
.afra-site-main h3,
.afra-site-main strong {
  text-wrap: balance;
}

.afra-site-main p,
.afra-site-main li,
.afra-site-main blockquote {
  text-wrap: pretty;
}

.afra-site-main .afra-eyebrow,
.afra-operating-story__copy .afra-eyebrow,
.afra-brand-map__root small,
.afra-brand-map__layer > header span,
.afra-brand-node__copy small,
.afra-timeline--editorial button > span,
.afra-consultation-card header span,
.afra-testimonial-card__index,
.afra-global__copy .afra-eyebrow {
  color: var(--afra-v46-accent) !important;
}

html[data-theme="light"] .afra-site-main .afra-eyebrow,
html[data-theme="light"] .afra-brand-map__root small,
html[data-theme="light"] .afra-brand-map__layer > header span,
html[data-theme="light"] .afra-brand-node__copy small,
html[data-theme="light"] .afra-timeline--editorial button > span,
html[data-theme="light"] .afra-consultation-card header span,
html[data-theme="light"] .afra-testimonial-card__index {
  color: var(--afra-v46-accent-light) !important;
}

/* Brand Architecture uses one continuous dot system and keeps its connector below the holding identity. */
.afra-brand-architecture[data-afra-brand-architecture] {
  background-color: #030914;
  background-image: radial-gradient(circle, rgba(112, 151, 184, 0.14) 1px, transparent 1.25px);
  background-position: 0 0;
  background-size: 32px 32px;
}

.afra-brand-architecture__heading {
  margin-block-end: 0;
  padding-block-end: clamp(1rem, 2vw, 2rem);
}

.afra-brand-map[data-afra-brand-map] {
  padding-block-start: clamp(2.5rem, 4.2vw, 4rem);
}

.afra-brand-map__dots {
  display: none;
}

.afra-brand-map[data-afra-brand-map]::before {
  background:
    radial-gradient(circle at var(--afra-dot-x, 50%) var(--afra-dot-y, 30%), rgba(51, 98, 145, 0.13), transparent 13rem),
    radial-gradient(circle at var(--afra-dot-x, 50%) var(--afra-dot-y, 30%), transparent 0 4.6rem, rgba(123, 158, 188, 0.12) 4.7rem 4.76rem, transparent 4.9rem);
}

.afra-brand-map__progress {
  background: rgba(120, 148, 174, 0.22);
  top: clamp(13.75rem, 16vw, 15rem);
  z-index: 0;
}

.afra-brand-map__progress span {
  background: linear-gradient(#315f91, #7894ad);
  box-shadow: 0 0 18px rgba(49, 95, 145, 0.38);
}

.afra-brand-map__root,
.afra-brand-map__layers,
.afra-brand-map__private {
  position: relative;
  z-index: 1;
}

.afra-brand-map[data-afra-brand-map] .afra-brand-map__root {
  margin-block-end: clamp(3.4rem, 5.5vw, 5.5rem);
}

html[data-theme="light"] .afra-brand-architecture[data-afra-brand-architecture] {
  background-color: #f3f6f9;
  background-image: radial-gradient(circle, rgba(43, 82, 120, 0.12) 1px, transparent 1.25px);
}

/* Operating imagery is kept clean: no decorative line may cross the generated art. */
.afra-operating-story__beam {
  display: none !important;
}

.afra-operating-story__number {
  color: rgba(197, 211, 224, 0.1);
  z-index: 1;
}

.afra-operating-story__copy .afra-eyebrow {
  letter-spacing: 0.1em;
}

/* The timeline indicator remains fully inside the rail from the first to final phase. */
.afra-timeline-section--v4 {
  overflow: clip;
}

.afra-timeline--editorial {
  overflow: visible;
  padding-block: 0.15rem 0.8rem;
}

.afra-timeline--editorial::before {
  background: rgba(120, 148, 174, 0.28);
}

.afra-timeline--editorial::after {
  background: #315f91;
  border: 4px solid #d8e3ec;
  box-shadow: 0 0 0 7px rgba(49, 95, 145, 0.14), 0 0 22px rgba(49, 95, 145, 0.38);
  box-sizing: border-box;
  contain: none;
  height: 22px;
  inset-inline-start: 10px;
  top: 2px;
  width: 22px;
}

.afra-timeline--editorial button::before {
  background: #06101d;
  border-color: #7894ad;
}

.afra-timeline--editorial button:hover::before,
.afra-timeline--editorial .is-active button::before {
  background: #315f91;
  box-shadow: 0 0 0 7px rgba(49, 95, 145, 0.14);
}

/* Leadership portraits breathe slowly before any pointer interaction. */
.afra-leader-story figure img {
  animation: afra-portrait-breathe 11s ease-in-out infinite alternate;
  scale: 1.012;
  transform-origin: center 42%;
}

@keyframes afra-portrait-breathe {
  from { scale: 1.012; }
  to { scale: 1.045; }
}

/* Global Collaboration is a full-bleed image field with live routes above the geography. */
.afra-global--immersive,
html[data-theme="light"] .afra-global--immersive {
  min-height: max(44rem, 100svh);
}

.afra-global__backdrop {
  filter: saturate(0.92) contrast(1.04);
  object-position: center;
}

.afra-global__veil {
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.93) 0%, rgba(2, 7, 17, 0.72) 30%, rgba(2, 7, 17, 0.22) 56%, rgba(2, 7, 17, 0.1) 100%),
    rgba(2, 7, 17, 0.1);
}

.afra-global__latitude path {
  fill: none;
  stroke: rgba(125, 153, 181, 0.13);
  stroke-dasharray: 3 14;
  stroke-width: 1;
}

.afra-global__routes path {
  stroke: rgba(91, 132, 177, 0.58);
  stroke-dasharray: 0.028 0.034;
  stroke-width: 1.35;
}

.afra-global__routes path:nth-child(2n) {
  stroke: rgba(205, 166, 105, 0.5);
}

.afra-global__moving-points circle {
  fill: #d7e5ef;
  filter: drop-shadow(0 0 6px rgba(114, 164, 207, 0.72));
}

.afra-global__copy {
  backdrop-filter: blur(16px) saturate(110%);
  background: linear-gradient(120deg, rgba(3, 11, 24, 0.52), rgba(3, 11, 24, 0.18));
  border: 1px solid rgba(139, 168, 194, 0.14);
  border-inline-start-color: rgba(139, 168, 194, 0.35);
  border-radius: 0 30px 30px 0;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  max-width: 36rem;
}

.afra-global__copy h2,
html[data-theme="light"] .afra-global--immersive h2 {
  font-size: clamp(3.1rem, 5.4vw, 6rem);
  max-width: 9ch;
}

/* Nine consultation pathways receive a wider, calmer browsing canvas. */
.afra-consultation {
  padding-block: clamp(6.5rem, 10vw, 10rem);
}

.afra-consultation__viewport {
  margin-block-start: clamp(3rem, 5vw, 5rem);
  max-width: 1180px;
  padding-block: 1.25rem 3rem;
}

.afra-consultation__track {
  gap: clamp(1rem, 1.6vw, 1.4rem);
}

.afra-consultation-card {
  flex-basis: clamp(320px, 31vw, 390px);
  min-height: 440px;
  padding: clamp(1.6rem, 2.4vw, 2.15rem);
}

.afra-consultation-card h3 {
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  margin-block-start: 2.5rem;
}

.afra-consultation-card > p {
  font-size: 0.86rem;
}

.afra-consultation-card li {
  font-size: 0.76rem;
}

/* Testimonials use editorial quote marks and a deliberate left-aligned reading edge. */
.afra-testimonial-slide {
  position: relative;
}

.afra-testimonial-slide blockquote,
html[data-theme="light"] .afra-testimonial-slide blockquote {
  margin-inline: 0;
  max-width: 24ch;
  padding-inline: clamp(0.7rem, 2vw, 1.4rem);
  text-align: justify;
  text-align-last: left;
}

.afra-testimonial-slide footer {
  justify-content: flex-start;
  text-align: left;
}

.afra-testimonial-quote-mark {
  color: rgba(124, 158, 189, 0.42);
  font-family: Georgia, serif;
  font-size: clamp(4rem, 7vw, 7.2rem);
  line-height: 0.65;
  pointer-events: none;
  position: absolute;
}

.afra-testimonial-quote-mark--open {
  inset-block-start: clamp(3.3rem, 6vw, 5.5rem);
  inset-inline-start: clamp(1rem, 2vw, 1.8rem);
}

.afra-testimonial-quote-mark--close {
  inset-block-end: clamp(4.5rem, 7vw, 6.2rem);
  inset-inline-end: clamp(1rem, 2vw, 1.8rem);
}

/* FAQ is intentionally compact at the target 80% desktop viewing scale. */
.afra-faq--v4 {
  padding-block: clamp(2.8rem, 4.5vw, 4.5rem);
}

.afra-faq--v4 .afra-editorial-heading h2 {
  font-size: clamp(2.35rem, 4vw, 4.4rem);
}

.afra-faq--v4 .afra-faq-list {
  margin-block-start: clamp(1.5rem, 2.5vw, 2.5rem);
  max-width: 1080px;
}

.afra-faq--v4 .afra-faq-item button {
  padding-block: 0.72rem;
}

.afra-faq--v4 .afra-faq-item h3,
.afra-faq--v4 .afra-faq-item button {
  font-size: clamp(0.84rem, 1.05vw, 1rem);
}

.afra-faq--v4 .afra-faq-item button > span:last-child {
  color: #234f7e;
  font-size: 1.05rem;
}

.afra-faq--v4 .afra-faq-answer p {
  font-size: 0.78rem;
  padding-block-end: 0.75rem;
}

/* Internal portal: sixty-percent form column, forty-percent fitted visual. */
.afra-portal-card {
  grid-template-columns: minmax(0, 3fr) minmax(340px, 2fr);
  max-width: 1320px;
}

.afra-portal-copy {
  align-content: center;
  padding: clamp(2rem, 4.6vw, 4.75rem);
}

.afra-portal-copy > p,
.afra-portal-form,
.afra-portal-theme-controls {
  max-width: 580px;
}

.afra-portal-copy h1 {
  font-size: clamp(2.7rem, 4.4vw, 4.8rem);
  max-width: 12ch;
}

.afra-portal-symbol {
  filter: drop-shadow(0 16px 34px rgba(36, 89, 145, 0.26));
  height: 76px;
  width: 76px;
}

.afra-portal-art.afra-portal-art--single {
  display: block;
  isolation: isolate;
  min-height: min(820px, calc(100svh - 4rem));
  overflow: hidden;
  padding: 0;
  position: relative;
}

.afra-portal-art--single::before {
  display: none;
}

.afra-portal-art--single .afra-portal-art__image {
  filter: saturate(0.92) contrast(1.03) brightness(0.94) !important;
  height: 100% !important;
  inset: 0;
  object-fit: cover;
  object-position: 52% center;
  position: absolute;
  width: 100% !important;
  z-index: 0;
}

.afra-portal-art__veil {
  background: linear-gradient(180deg, rgba(2, 8, 18, 0.06), rgba(2, 8, 18, 0.08) 52%, rgba(2, 8, 18, 0.78));
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.afra-portal-art--single .afra-portal-brand {
  inset-block-start: clamp(1.4rem, 3vw, 2.5rem);
  z-index: 3;
}

.afra-portal-art--single .afra-portal-brand > img {
  filter: drop-shadow(0 12px 28px rgba(45, 97, 151, 0.28));
  height: 52px !important;
  width: 52px !important;
}

.afra-portal-art__caption {
  display: grid;
  gap: 0.45rem;
  inset-block-end: clamp(1.6rem, 4vw, 3.25rem);
  inset-inline: clamp(1.5rem, 4vw, 3rem);
  position: absolute;
  z-index: 3;
}

.afra-portal-art__caption span {
  color: #9aafc1;
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.afra-portal-art__caption strong {
  color: #f3f6f9;
  font-size: clamp(1.6rem, 2.5vw, 2.7rem);
  line-height: 1.02;
  max-width: 12ch;
}

.afra-portal-art__caption small {
  color: rgba(228, 236, 243, 0.64);
  max-width: 34ch;
}

.afra-portal-theme-controls {
  align-items: center;
  border-block-start: 1px solid rgba(137, 166, 191, 0.16);
  justify-content: space-between;
  padding-block-start: 1rem;
}

.afra-portal-theme-controls > span,
.afra-menu-preferences--theme > span {
  color: #8499ac;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .afra-brand-map__progress {
    top: 13.8rem;
  }

  .afra-consultation__viewport {
    max-width: 100%;
  }

  .afra-portal-card {
    grid-template-columns: 1fr;
  }

  .afra-portal-art.afra-portal-art--single {
    min-height: 520px;
    order: -1;
  }
}

@media (max-width: 620px) {
  .afra-brand-map__progress {
    top: 15.4rem;
  }

  .afra-consultation-card {
    flex-basis: min(86vw, 340px);
    min-height: 420px;
  }

  .afra-testimonial-slide blockquote {
    text-align: left;
  }
}

@media (prefers-reduced-motion: reduce) {
  .afra-leader-story figure img,
  .afra-global__routes path {
    animation: none !important;
  }
}

/* Afra Labs V4.1: cinematic holding, Gestalt rhythm, and company identities. */
:root {
  --afra-copy-wide: 68ch;
  --afra-copy-reading: 58ch;
  --afra-section-space: clamp(5.5rem, 9vw, 10rem);
  --afra-gutter: clamp(1.25rem, 4vw, 4rem);
}

html {
  scroll-padding-top: 9rem;
}

body {
  font-kerning: normal;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
}

.afra-site-main h1,
.afra-site-main h2,
.afra-site-main h3,
.afra-site-main strong {
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.afra-site-main h1,
.afra-site-main h2,
.afra-site-main h3,
.afra-site-main p,
.afra-site-main ol,
.afra-site-main ul,
.afra-site-main dl {
  margin-block-start: 0;
}

.afra-site-main p,
.afra-site-main li,
.afra-site-main dd {
  line-height: 1.72;
  text-wrap: pretty;
}

.afra-site-main .afra-eyebrow {
  letter-spacing: 0.12em;
  line-height: 1.35;
}

.afra-shell {
  max-width: 1320px;
  padding-inline: var(--afra-gutter);
}

/* Home: generated production hero. */
.afra-hero--cinematic {
  align-items: end;
  background: #010409;
  display: grid;
  isolation: isolate;
  min-height: max(49rem, 100svh);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.afra-hero-cinematic__image,
.afra-hero-cinematic__veil {
  inset: 0;
  position: absolute;
}

.afra-hero-cinematic__image {
  background-image: url("/assets/images/holding/afralabs-hero-cinematic.webp");
  background-position: 58% center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: saturate(0.94) contrast(1.05);
  transform: scale(1.015);
  z-index: -3;
}

.afra-hero-cinematic__veil {
  background:
    linear-gradient(90deg, rgba(1, 4, 9, 0.98) 0%, rgba(1, 4, 9, 0.9) 28%, rgba(1, 4, 9, 0.38) 58%, rgba(1, 4, 9, 0.12) 100%),
    linear-gradient(0deg, rgba(1, 4, 9, 0.94) 0%, transparent 38%, rgba(1, 4, 9, 0.32) 100%);
  z-index: -2;
}

[dir="rtl"] .afra-hero-cinematic__veil {
  background:
    linear-gradient(270deg, rgba(1, 4, 9, 0.98) 0%, rgba(1, 4, 9, 0.9) 28%, rgba(1, 4, 9, 0.38) 58%, rgba(1, 4, 9, 0.12) 100%),
    linear-gradient(0deg, rgba(1, 4, 9, 0.94) 0%, transparent 38%, rgba(1, 4, 9, 0.32) 100%);
}

[dir="rtl"] .afra-hero-cinematic__image {
  transform: scaleX(-1) scale(1.015);
}

.afra-hero-cinematic__content {
  align-items: end;
  display: grid;
  gap: clamp(3rem, 7vw, 8rem);
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  min-height: max(49rem, 100svh);
  padding-block: clamp(9rem, 17vh, 13rem) clamp(7rem, 11vh, 9rem);
  position: relative;
  width: 100%;
  z-index: 2;
}

.afra-hero-cinematic__copy {
  max-width: 59rem;
}

.afra-hero--cinematic .afra-eyebrow {
  color: #72eaff;
  margin-block-end: clamp(1.5rem, 3vw, 2.5rem);
}

.afra-hero--cinematic h1 {
  color: #f7fbff;
  font-size: clamp(4.2rem, 8.2vw, 8.8rem);
  font-weight: 480;
  letter-spacing: -0.065em;
  line-height: 0.88;
  margin-block-end: clamp(2rem, 4vw, 3.4rem);
  max-width: 9ch;
}

[dir="rtl"] .afra-hero--cinematic h1[lang="en"] {
  margin-inline-end: auto;
  text-align: left;
}

.afra-hero-cinematic__statement {
  color: rgba(232, 242, 252, 0.78);
  font-size: clamp(1.02rem, 1.35vw, 1.28rem);
  margin-block-end: 2.2rem;
  max-width: 62ch;
}

.afra-hero-cinematic__logic {
  align-self: end;
  backdrop-filter: blur(18px);
  background: rgba(2, 10, 20, 0.48);
  border-block: 1px solid rgba(179, 227, 255, 0.2);
  margin: 0;
}

.afra-hero-cinematic__logic div {
  align-items: baseline;
  border-block-end: 1px solid rgba(179, 227, 255, 0.13);
  display: grid;
  gap: 1rem;
  grid-template-columns: 2.6rem 1fr;
  padding: 1.1rem 0;
}

.afra-hero-cinematic__logic div:last-child {
  border-block-end: 0;
}

.afra-hero-cinematic__logic dt {
  color: #5edfff;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.afra-hero-cinematic__logic dd {
  color: rgba(238, 247, 255, 0.76);
  font-size: 0.82rem;
  margin: 0;
}

/* Home: visual brand architecture and protected-core separation. */
.afra-brand-architecture {
  background: #edf1f2;
  color: #07111d;
  padding-block: var(--afra-section-space);
}

.afra-brand-architecture .afra-eyebrow {
  color: #12628b;
}

.afra-brand-architecture__heading {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 6vw, 7rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
  margin-block-end: clamp(4rem, 7vw, 7rem);
}

.afra-brand-architecture__heading h2 {
  color: #07111d;
  font-size: clamp(2.7rem, 5.6vw, 6.2rem);
  font-weight: 500;
  line-height: 0.98;
  margin-block: 1.2rem 0;
  max-width: 12ch;
}

.afra-brand-architecture__heading > p {
  color: #445363;
  margin: 0;
  max-width: 55ch;
}

.afra-brand-map {
  background: #f8fafb;
  border: 1px solid rgba(7, 17, 29, 0.16);
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2rem, 5vw, 4.5rem);
  position: relative;
}

.afra-brand-map::before {
  background-image:
    linear-gradient(rgba(7, 17, 29, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 17, 29, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: -1;
}

.afra-brand-map__spine {
  background: linear-gradient(#0b6a97, rgba(11, 106, 151, 0.18));
  inset-block: 9.5rem 13rem;
  inset-inline-start: 50%;
  position: absolute;
  width: 1px;
  z-index: -1;
}

.afra-brand-map__root {
  align-items: center;
  display: grid;
  grid-column: 1 / -1;
  justify-items: center;
  margin-block-end: clamp(4rem, 7vw, 6rem);
  text-align: center;
}

.afra-brand-map__root > span {
  align-items: center;
  background: #020916;
  border: 1px solid rgba(10, 124, 177, 0.4);
  border-radius: 50%;
  box-shadow: 0 2rem 5rem rgba(1, 19, 36, 0.18);
  display: grid;
  height: 9rem;
  justify-items: center;
  margin-block-end: 1.35rem;
  width: 9rem;
}

.afra-brand-map__root img {
  height: 7rem;
  object-fit: contain;
  width: 7rem;
}

.afra-brand-map__root small,
.afra-brand-node__copy small {
  color: #2a708f;
  font-size: 0.68rem;
  font-style: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.afra-brand-map__root strong {
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.1;
  margin-block: 0.35rem 0.2rem;
}

.afra-brand-map__root em {
  color: #596672;
  font-size: 0.82rem;
  font-style: normal;
}

.afra-brand-map__companies {
  display: grid;
  gap: 1px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.afra-brand-map__companies::before {
  background: #7c9bad;
  content: "";
  height: 1px;
  inset-inline: calc(16.666% - 0.5px);
  inset-block-start: -2rem;
  position: absolute;
}

.afra-brand-map__companies li {
  background: rgba(255, 255, 255, 0.86);
  border-block-start: 2px solid var(--brand-accent);
  min-width: 0;
  position: relative;
}

.afra-brand-map__companies li::before {
  background: #7c9bad;
  content: "";
  height: 2rem;
  inset-block-start: -2rem;
  inset-inline-start: 50%;
  position: absolute;
  width: 1px;
}

.afra-brand-map__companies a {
  align-items: center;
  color: #07111d;
  display: grid;
  gap: 1rem;
  grid-template-columns: 4.6rem minmax(0, 1fr) auto;
  min-height: 9.8rem;
  padding: clamp(1.1rem, 2.2vw, 1.8rem);
  text-decoration: none;
  transition: background 300ms ease, transform 300ms ease;
}

.afra-brand-map__companies a:hover,
.afra-brand-map__companies a:focus-visible {
  background: color-mix(in srgb, var(--brand-accent) 8%, #fff);
  transform: translateY(-3px);
}

.afra-brand-node__image {
  align-items: center;
  background: #030a15;
  display: grid;
  height: 4.6rem;
  justify-items: center;
  width: 4.6rem;
}

.afra-brand-node__image img {
  height: 3.7rem;
  object-fit: contain;
  width: 3.7rem;
}

.afra-brand-node__copy {
  display: grid;
  min-width: 0;
}

.afra-brand-node__copy strong {
  font-size: 1.02rem;
  margin-block: 0.24rem;
}

.afra-brand-node__copy em {
  color: #5b6670;
  display: -webkit-box;
  font-size: 0.74rem;
  font-style: normal;
  line-height: 1.5;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.afra-brand-map__companies a > i {
  color: #196e98;
  font-style: normal;
}

.afra-brand-map__private {
  align-items: center;
  background: #07111d;
  color: #eef7fb;
  display: grid;
  gap: clamp(1rem, 2vw, 2rem);
  grid-column: 3 / 11;
  grid-template-columns: auto minmax(0, 1fr) auto;
  margin-block-start: clamp(4rem, 7vw, 6rem);
  padding: clamp(1.2rem, 2vw, 1.8rem);
  text-decoration: none;
}

.afra-private-core__lock {
  align-items: center;
  border: 1px solid rgba(120, 222, 255, 0.32);
  display: grid;
  height: 3.7rem;
  justify-items: center;
  position: relative;
  width: 3.7rem;
}

.afra-private-core__lock::before {
  border: 1px solid #6cdfff;
  border-block-end: 0;
  border-radius: 1rem 1rem 0 0;
  content: "";
  height: 0.82rem;
  inset-block-start: 0.82rem;
  position: absolute;
  width: 0.9rem;
}

.afra-private-core__lock i {
  background: #6cdfff;
  height: 0.85rem;
  inset-block-start: 1.7rem;
  position: absolute;
  width: 1.2rem;
}

.afra-brand-map__private span:nth-child(2) {
  display: grid;
}

.afra-brand-map__private small {
  color: #69dfff;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.afra-brand-map__private strong {
  font-size: 0.86rem;
  font-weight: 480;
  margin-block-start: 0.3rem;
}

.afra-brand-map__private em {
  color: #e9f9ff;
  font-size: 0.78rem;
  font-style: normal;
  white-space: nowrap;
}

/* Company shell: one platform, nine distinct experiential systems. */
.afra-company-experience {
  --company-bg: #030914;
  --company-surface: #071321;
  --company-surface-2: #0b1928;
  --company-ink: #f4f8fb;
  --company-muted: #9aaebe;
  --company-line: rgba(202, 230, 247, 0.16);
  background: var(--company-bg);
  color: var(--company-ink);
}

body:has(.afra-company-experience) .afra-site-header {
  background: rgba(1, 4, 9, 0.96) !important;
  border-block-end: 1px solid rgba(207, 230, 250, 0.14);
}

body:has(.afra-company-experience) .afra-site-header .afra-brand-lockup,
body:has(.afra-company-experience) .afra-site-header .afra-desktop-nav a,
body:has(.afra-company-experience) .afra-site-header .afra-language-switcher a,
body:has(.afra-company-experience) .afra-site-header .afra-header-portal,
body:has(.afra-company-experience) .afra-site-header .afra-nav-toggle {
  color: #f3f8fc !important;
}

.afra-company-experience--venture {
  --company-bg: #03100d;
  --company-surface: #071b16;
  --company-surface-2: #0b261f;
  --company-ink: #f2fff9;
  --company-muted: #9fbcb0;
  --company-line: rgba(121, 255, 196, 0.18);
}

.afra-company-experience--evidence {
  --company-bg: #030813;
  --company-surface: #081329;
  --company-surface-2: #0d1d37;
  --company-ink: #f3f7ff;
  --company-muted: #a2b2cc;
  --company-line: rgba(144, 183, 255, 0.2);
}

.afra-company-experience--pathway {
  --company-bg: #eee9dc;
  --company-surface: #f8f4e9;
  --company-surface-2: #e5dcc8;
  --company-ink: #17140d;
  --company-muted: #6e6656;
  --company-line: rgba(71, 59, 34, 0.2);
}

.afra-company-experience--catalog {
  --company-bg: #edf4f3;
  --company-surface: #f9fcfb;
  --company-surface-2: #dfeceb;
  --company-ink: #092224;
  --company-muted: #547073;
  --company-line: rgba(9, 66, 70, 0.18);
}

.afra-company-experience--diagnostic {
  --company-bg: #f0f8f7;
  --company-surface: #fbfffe;
  --company-surface-2: #dff2ef;
  --company-ink: #06211e;
  --company-muted: #4c6e69;
  --company-line: rgba(5, 81, 71, 0.16);
}

.afra-company-experience--blueprint {
  --company-bg: #080518;
  --company-surface: #100b26;
  --company-surface-2: #18103a;
  --company-ink: #f7f4ff;
  --company-muted: #b0a7cb;
  --company-line: rgba(174, 154, 255, 0.2);
}

.afra-company-experience--impact {
  --company-bg: #f4eeee;
  --company-surface: #fffafa;
  --company-surface-2: #eadcdc;
  --company-ink: #2a1114;
  --company-muted: #795b60;
  --company-line: rgba(101, 35, 44, 0.18);
}

.afra-company-experience--routes {
  --company-bg: #090702;
  --company-surface: #151006;
  --company-surface-2: #241a09;
  --company-ink: #fff9eb;
  --company-muted: #b7a989;
  --company-line: rgba(245, 173, 36, 0.2);
}

.afra-company-local-nav {
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--company-bg) 88%, transparent);
  border-block-end: 1px solid var(--company-line);
  color: var(--company-ink);
  inset-block-start: 4.9rem;
  position: sticky;
  z-index: 30;
}

.afra-company-local-nav .afra-shell {
  align-items: center;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  min-height: 4.2rem;
}

.afra-company-local-nav__brand {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 0.7rem;
  text-decoration: none;
}

.afra-company-local-nav__brand img {
  background: #020812;
  height: 2.1rem;
  object-fit: contain;
  width: 2.1rem;
}

.afra-company-local-nav__brand strong {
  font-size: 0.84rem;
  white-space: nowrap;
}

.afra-company-local-nav .afra-shell > div {
  display: flex;
  gap: clamp(1rem, 2vw, 2rem);
}

.afra-company-local-nav .afra-shell > div a {
  color: var(--company-muted);
  font-size: 0.74rem;
  text-decoration: none;
  transition: color 220ms ease;
}

.afra-company-local-nav .afra-shell > div a:hover,
.afra-company-local-nav .afra-shell > div a:focus-visible {
  color: var(--brand-accent);
}

.afra-company-experience-hero {
  background:
    radial-gradient(circle at 75% 30%, color-mix(in srgb, var(--brand-accent) 15%, transparent), transparent 35%),
    var(--company-bg);
  min-height: calc(100svh - 4rem);
  overflow: hidden;
  position: relative;
}

.afra-company-experience-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 8vw, 9rem);
  grid-template-columns: minmax(0, 1.03fr) minmax(22rem, 0.97fr);
  min-height: calc(100svh - 8.5rem);
  padding-block: clamp(6rem, 12vw, 10rem) clamp(4rem, 7vw, 7rem);
}

.afra-company-experience-hero__copy {
  max-width: 48rem;
}

.afra-company-experience .afra-eyebrow {
  color: color-mix(in srgb, var(--brand-accent) 86%, var(--company-ink));
}

.afra-company-experience-hero h1 {
  color: var(--company-ink);
  font-size: clamp(4rem, 8vw, 8.3rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
  margin-block: 1.4rem 2rem;
  max-width: 10ch;
}

.afra-company-experience-hero__headline {
  color: var(--company-ink);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.35 !important;
  margin-block-end: 1.2rem;
  max-width: 38ch;
}

.afra-company-experience-hero__summary {
  color: var(--company-muted);
  margin-block-end: 2.2rem;
  max-width: var(--afra-copy-reading);
}

.afra-company-experience .afra-button--primary {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  color: #02070a;
}

.afra-company-experience .afra-button--secondary {
  background: transparent;
  border-color: var(--company-line);
  color: var(--company-ink);
}

.afra-company-brand-stage {
  aspect-ratio: 1 / 1;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--brand-accent) 10%, transparent), transparent 42%),
    var(--company-surface);
  border: 1px solid var(--company-line);
  display: grid;
  isolation: isolate;
  max-width: 38rem;
  overflow: hidden;
  place-items: center;
  position: relative;
  width: 100%;
}

.afra-company-brand-stage::before {
  background-image:
    linear-gradient(var(--company-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--company-line) 1px, transparent 1px);
  background-size: 12.5% 12.5%;
  content: "";
  inset: 0;
  opacity: 0.45;
  position: absolute;
  z-index: -2;
}

.afra-company-brand-stage__mark {
  align-items: center;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--company-bg) 70%, transparent);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 42%, var(--company-line));
  border-radius: 50%;
  display: grid;
  height: clamp(12rem, 22vw, 18rem);
  justify-items: center;
  position: relative;
  width: clamp(12rem, 22vw, 18rem);
  z-index: 3;
}

.afra-company-brand-stage__mark img {
  height: 76%;
  object-fit: contain;
  width: 76%;
}

.afra-company-brand-stage > p {
  background: color-mix(in srgb, var(--company-bg) 82%, transparent);
  border-block-start: 1px solid var(--company-line);
  bottom: 0;
  color: var(--company-muted);
  inset-inline: 0;
  margin: 0;
  padding: 1.15rem 1.4rem;
  position: absolute;
  text-align: center;
  z-index: 5;
}

.afra-company-brand-stage__system {
  inset: 0;
  position: absolute;
  z-index: 1;
}

.afra-company-brand-stage__system span,
.afra-company-brand-stage__system i {
  display: block;
  position: absolute;
}

/* Signal / business control logic. */
.afra-company-experience--signal .afra-company-brand-stage__system span {
  background: linear-gradient(90deg, transparent, var(--brand-accent), transparent);
  height: 1px;
  inset-inline-start: 8%;
  top: calc(17% + var(--line, 0) * 17%);
  width: 84%;
}

.afra-company-experience--signal .afra-company-brand-stage__system span:nth-child(1) { --line: 0; width: 56%; }
.afra-company-experience--signal .afra-company-brand-stage__system span:nth-child(2) { --line: 1; inset-inline-start: 24%; width: 68%; }
.afra-company-experience--signal .afra-company-brand-stage__system span:nth-child(3) { --line: 2; width: 78%; }
.afra-company-experience--signal .afra-company-brand-stage__system span:nth-child(4) { --line: 3; inset-inline-start: 31%; width: 58%; }

.afra-company-experience--signal .afra-company-brand-stage__system i {
  border: 1px solid var(--brand-accent);
  height: 46%;
  inset-inline-start: 50%;
  top: 13%;
  transform: skewX(-18deg);
  width: 18%;
}

/* Venture / stacked stages. */
.afra-company-experience--venture .afra-company-brand-stage__system span {
  border: 1px solid color-mix(in srgb, var(--brand-accent) 70%, transparent);
  border-radius: 18%;
  height: 34%;
  left: 50%;
  top: 42%;
  transform: translate(-50%, -50%) rotate(calc((var(--step) - 1.5) * 13deg));
  width: 34%;
}

.afra-company-experience--venture .afra-company-brand-stage__system span:nth-child(1) { --step: 0; }
.afra-company-experience--venture .afra-company-brand-stage__system span:nth-child(2) { --step: 1; }
.afra-company-experience--venture .afra-company-brand-stage__system span:nth-child(3) { --step: 2; }
.afra-company-experience--venture .afra-company-brand-stage__system span:nth-child(4) { --step: 3; }

/* Evidence / research matrix. */
.afra-company-experience--evidence .afra-company-brand-stage__system span {
  background: var(--brand-accent);
  border-radius: 50%;
  box-shadow: 0 0 1.8rem color-mix(in srgb, var(--brand-accent) 62%, transparent);
  height: 0.72rem;
  width: 0.72rem;
}

.afra-company-experience--evidence .afra-company-brand-stage__system span:nth-child(1) { inset: 18% auto auto 20%; }
.afra-company-experience--evidence .afra-company-brand-stage__system span:nth-child(2) { inset: 22% 18% auto auto; }
.afra-company-experience--evidence .afra-company-brand-stage__system span:nth-child(3) { inset: auto auto 22% 18%; }
.afra-company-experience--evidence .afra-company-brand-stage__system span:nth-child(4) { inset: auto 19% 19% auto; }
.afra-company-experience--evidence .afra-company-brand-stage__system i { border: 1px solid var(--brand-accent); inset: 16%; transform: rotate(45deg); }

/* Academy / ascending learning path. */
.afra-company-experience--pathway .afra-company-brand-stage__system span {
  background: color-mix(in srgb, var(--brand-accent) 22%, var(--company-surface));
  border-block-start: 2px solid var(--brand-accent);
  bottom: calc(15% + var(--step) * 12%);
  height: 13%;
  inset-inline-start: calc(8% + var(--step) * 17%);
  width: 26%;
}

.afra-company-experience--pathway .afra-company-brand-stage__system span:nth-child(1) { --step: 0; }
.afra-company-experience--pathway .afra-company-brand-stage__system span:nth-child(2) { --step: 1; }
.afra-company-experience--pathway .afra-company-brand-stage__system span:nth-child(3) { --step: 2; }
.afra-company-experience--pathway .afra-company-brand-stage__system span:nth-child(4) { --step: 3; }

/* Medical equipment / precise catalogue modules. */
.afra-company-experience--catalog .afra-company-brand-stage__system span {
  border: 1px solid color-mix(in srgb, var(--brand-accent) 70%, var(--company-line));
  height: 25%;
  width: 25%;
}

.afra-company-experience--catalog .afra-company-brand-stage__system span:nth-child(1) { inset: 13% auto auto 13%; }
.afra-company-experience--catalog .afra-company-brand-stage__system span:nth-child(2) { inset: 13% 13% auto auto; }
.afra-company-experience--catalog .afra-company-brand-stage__system span:nth-child(3) { inset: auto auto 16% 13%; }
.afra-company-experience--catalog .afra-company-brand-stage__system span:nth-child(4) { inset: auto 13% 16% auto; }

/* Lab / diagnostic rings. */
.afra-company-experience--diagnostic .afra-company-brand-stage__system span {
  border: 1px solid color-mix(in srgb, var(--brand-accent) 76%, transparent);
  border-radius: 50%;
  height: calc(28% + var(--ring) * 14%);
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%);
  width: calc(28% + var(--ring) * 14%);
}

.afra-company-experience--diagnostic .afra-company-brand-stage__system span:nth-child(1) { --ring: 0; }
.afra-company-experience--diagnostic .afra-company-brand-stage__system span:nth-child(2) { --ring: 1; }
.afra-company-experience--diagnostic .afra-company-brand-stage__system span:nth-child(3) { --ring: 2; }
.afra-company-experience--diagnostic .afra-company-brand-stage__system span:nth-child(4) { --ring: 3; }

/* Biomedical engineering / technical blueprint. */
.afra-company-experience--blueprint .afra-company-brand-stage__system span {
  border-color: var(--brand-accent);
  border-style: solid;
  opacity: 0.72;
}

.afra-company-experience--blueprint .afra-company-brand-stage__system span:nth-child(1) { border-width: 1px 0 0 1px; height: 30%; inset: 14% auto auto 14%; width: 30%; }
.afra-company-experience--blueprint .afra-company-brand-stage__system span:nth-child(2) { border-width: 1px 1px 0 0; height: 30%; inset: 14% 14% auto auto; width: 30%; }
.afra-company-experience--blueprint .afra-company-brand-stage__system span:nth-child(3) { border-width: 0 0 1px 1px; height: 30%; inset: auto auto 16% 14%; width: 30%; }
.afra-company-experience--blueprint .afra-company-brand-stage__system span:nth-child(4) { border-width: 0 1px 1px 0; height: 30%; inset: auto 14% 16% auto; width: 30%; }

/* Charity / overlapping circles of participation. */
.afra-company-experience--impact .afra-company-brand-stage__system span {
  border: 1px solid color-mix(in srgb, var(--brand-accent) 64%, transparent);
  border-radius: 50%;
  height: 38%;
  width: 38%;
}

.afra-company-experience--impact .afra-company-brand-stage__system span:nth-child(1) { inset: 17% auto auto 18%; }
.afra-company-experience--impact .afra-company-brand-stage__system span:nth-child(2) { inset: 17% 18% auto auto; }
.afra-company-experience--impact .afra-company-brand-stage__system span:nth-child(3) { inset: auto auto 17% 18%; }
.afra-company-experience--impact .afra-company-brand-stage__system span:nth-child(4) { inset: auto 18% 17% auto; }

/* Trading / global routes. */
.afra-company-experience--routes .afra-company-brand-stage__system span {
  border: 1px solid var(--brand-accent);
  border-radius: 50%;
  height: calc(30% + var(--route) * 12%);
  left: 50%;
  top: 46%;
  transform: translate(-50%, -50%) rotate(calc(var(--route) * 17deg));
  width: calc(70% - var(--route) * 8%);
}

.afra-company-experience--routes .afra-company-brand-stage__system span:nth-child(1) { --route: 0; border-inline-start-color: transparent; }
.afra-company-experience--routes .afra-company-brand-stage__system span:nth-child(2) { --route: 1; border-block-end-color: transparent; }
.afra-company-experience--routes .afra-company-brand-stage__system span:nth-child(3) { --route: 2; border-inline-end-color: transparent; }
.afra-company-experience--routes .afra-company-brand-stage__system span:nth-child(4) { --route: 3; border-block-start-color: transparent; }

.afra-company-experience-hero__audience {
  align-items: center;
  border-block: 1px solid var(--company-line);
  display: grid;
  gap: 1.4rem;
  grid-template-columns: auto minmax(0, 1fr) minmax(3rem, 0.2fr);
  min-height: 5.5rem;
}

.afra-company-experience-hero__audience span {
  color: var(--brand-accent);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.afra-company-experience-hero__audience strong {
  color: var(--company-ink);
  font-size: 0.88rem;
  letter-spacing: 0;
}

.afra-company-experience-hero__audience i {
  background: linear-gradient(90deg, var(--brand-accent), transparent);
  height: 1px;
}

.afra-company-capabilities,
.afra-company-pathways,
.afra-company-journal {
  padding-block: var(--afra-section-space);
}

.afra-company-capabilities {
  background: var(--company-bg);
}

.afra-company-pathways {
  background: var(--company-surface);
}

.afra-company-journal {
  background: var(--company-bg);
}

.afra-company-section-heading {
  align-items: end;
  display: grid;
  gap: clamp(2rem, 7vw, 8rem);
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  margin-block-end: clamp(3rem, 6vw, 6rem);
}

.afra-company-section-heading h2,
.afra-company-method h2,
.afra-company-final h2 {
  color: var(--company-ink);
  font-size: clamp(2.5rem, 5vw, 5.6rem);
  font-weight: 500;
  line-height: 0.98;
  margin-block: 1.1rem 0;
  max-width: 13ch;
}

.afra-company-section-heading > p,
.afra-company-method p,
.afra-company-final p {
  color: var(--company-muted);
  margin: 0;
  max-width: var(--afra-copy-reading);
}

.afra-company-section-heading > a {
  color: var(--company-ink);
  font-size: 0.82rem;
  justify-self: start;
  text-decoration-color: var(--brand-accent);
  text-underline-offset: 0.35rem;
}

.afra-company-capability-system {
  align-items: stretch;
  display: grid;
  gap: clamp(1.5rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1.4fr) minmax(18rem, 0.6fr);
}

.afra-company-capability-system ol {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.afra-company-capability-system li {
  align-content: space-between;
  border: 1px solid var(--company-line);
  display: grid;
  gap: 2.8rem;
  min-height: 12rem;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  position: relative;
  transition: background 280ms ease, transform 280ms ease;
}

.afra-company-capability-system li:hover {
  background: color-mix(in srgb, var(--brand-accent) 9%, var(--company-surface));
  transform: translateY(-3px);
}

.afra-company-capability-system li span {
  color: var(--brand-accent);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

.afra-company-capability-system li strong {
  color: var(--company-ink);
  font-size: clamp(1.1rem, 1.7vw, 1.5rem);
  line-height: 1.2;
}

.afra-company-capability-system li i {
  background: var(--brand-accent);
  height: 1px;
  inset-block-end: 0;
  inset-inline-start: 0;
  position: absolute;
  width: 38%;
}

.afra-company-capability-system aside {
  align-content: end;
  background:
    radial-gradient(circle at 70% 20%, color-mix(in srgb, var(--brand-accent) 18%, transparent), transparent 40%),
    var(--company-surface);
  border: 1px solid var(--company-line);
  display: grid;
  gap: 2rem;
  min-height: 24rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.afra-company-capability-system aside img {
  height: 5.4rem;
  object-fit: contain;
  width: 5.4rem;
}

.afra-company-capability-system aside p {
  color: var(--company-muted);
  font-size: 0.86rem;
  margin: 0;
}

/* Layout rhythm changes per company identity. */
.afra-company-experience--venture .afra-company-capability-system li:nth-child(2),
.afra-company-experience--venture .afra-company-capability-system li:nth-child(3) {
  transform: translateY(1.3rem);
}

.afra-company-experience--pathway .afra-company-capability-system ol {
  grid-template-columns: 1fr;
}

.afra-company-experience--pathway .afra-company-capability-system li {
  align-items: center;
  gap: 1.5rem;
  grid-template-columns: 3rem 1fr;
  min-height: 6.5rem;
}

.afra-company-experience--catalog .afra-company-capability-system li,
.afra-company-experience--diagnostic .afra-company-capability-system li {
  background: var(--company-surface);
}

.afra-company-experience--diagnostic .afra-company-capability-system li {
  border-radius: 50%;
  min-height: 15rem;
  place-content: center;
  text-align: center;
}

.afra-company-experience--blueprint .afra-company-capability-system ol {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.afra-company-experience--blueprint .afra-company-capability-system li {
  min-height: 19rem;
}

.afra-company-experience--impact .afra-company-capability-system li {
  border-radius: 9rem 9rem 0 0;
  padding-block-start: 3.5rem;
}

.afra-company-experience--routes .afra-company-capability-system ol {
  grid-template-columns: 1fr;
}

.afra-company-experience--routes .afra-company-capability-system li {
  align-items: center;
  gap: 1.4rem;
  grid-template-columns: 3rem minmax(0, 1fr) 20%;
  min-height: 6.5rem;
}

.afra-company-experience--routes .afra-company-capability-system li i {
  inset: auto;
  position: static;
  width: 100%;
}

.afra-company-pathway-grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.afra-company-pathway-grid > a {
  background: var(--company-bg);
  border-block-start: 2px solid var(--brand-accent);
  color: var(--company-ink);
  display: grid;
  min-height: 18rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  text-decoration: none;
  transition: background 300ms ease, color 300ms ease;
}

.afra-company-pathway-grid > a:hover,
.afra-company-pathway-grid > a:focus-visible {
  background: var(--brand-accent);
  color: #061015;
}

.afra-company-pathway-grid > a > span {
  color: var(--brand-accent);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.afra-company-pathway-grid > a:hover > span,
.afra-company-pathway-grid > a:focus-visible > span {
  color: currentColor;
}

.afra-company-pathway-grid strong {
  align-self: center;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.2;
  max-width: 22ch;
}

.afra-company-pathway-grid em {
  align-self: end;
  font-size: 0.78rem;
  font-style: normal;
}

.afra-company-method {
  background: var(--company-surface-2);
  border-block: 1px solid var(--company-line);
  padding-block: clamp(4rem, 7vw, 7rem);
}

.afra-company-method__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 8vw, 9rem);
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr);
}

.afra-company-method ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.afra-company-method li {
  border-block-start: 1px solid var(--brand-accent);
  display: grid;
  gap: 2.6rem;
  padding: 1.2rem 1rem 0;
  position: relative;
}

.afra-company-method li::before {
  background: var(--brand-accent);
  border: 5px solid var(--company-surface-2);
  border-radius: 50%;
  content: "";
  height: 0.9rem;
  inset-block-start: -0.48rem;
  inset-inline-start: 0;
  width: 0.9rem;
}

.afra-company-method li span {
  color: var(--brand-accent);
  font-size: 0.68rem;
}

.afra-company-method li strong {
  color: var(--company-ink);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  line-height: 1.2;
}

.afra-company-journal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.afra-company-journal-card {
  background: var(--company-surface);
  border: 1px solid var(--company-line);
  color: var(--company-ink);
  display: grid;
  grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.2fr);
  min-height: 28rem;
  text-decoration: none;
}

.afra-company-journal-card__visual {
  background:
    radial-gradient(circle at 62% 42%, color-mix(in srgb, var(--brand-accent) 42%, transparent), transparent 28%),
    linear-gradient(135deg, var(--company-surface-2), var(--company-bg));
  border-inline-end: 1px solid var(--company-line);
  overflow: hidden;
  position: relative;
}

.afra-company-journal-card__visual i {
  border: 1px solid color-mix(in srgb, var(--brand-accent) 62%, transparent);
  border-radius: 50%;
  height: calc(32% + var(--journal-ring) * 16%);
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%) rotate(calc(var(--journal-ring) * 18deg));
  width: calc(32% + var(--journal-ring) * 16%);
}

.afra-company-journal-card__visual i:nth-child(1) { --journal-ring: 0; }
.afra-company-journal-card__visual i:nth-child(2) { --journal-ring: 1; }
.afra-company-journal-card__visual i:nth-child(3) { --journal-ring: 2; }

.afra-company-journal-card__copy {
  align-content: center;
  display: grid;
  padding: clamp(2rem, 5vw, 5rem);
}

.afra-company-journal-card__copy small {
  color: var(--brand-accent);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.afra-company-journal-card__copy strong {
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 1.02;
  margin-block: 1.4rem 1.6rem;
  max-width: 15ch;
}

.afra-company-journal-card__copy p {
  color: var(--company-muted);
  max-width: var(--afra-copy-reading);
}

.afra-company-journal-card__copy em {
  color: var(--company-ink);
  font-size: 0.82rem;
  font-style: normal;
  margin-block-start: 2rem;
}

.afra-company-final {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--brand-accent) 12%, transparent), transparent 55%),
    var(--company-surface);
  border-block-start: 1px solid var(--company-line);
  padding-block: clamp(5rem, 9vw, 9rem);
}

.afra-company-final .afra-shell {
  align-items: end;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.afra-company-final h2 {
  max-width: 16ch;
}

@media (max-width: 1100px) {
  .afra-hero-cinematic__content,
  .afra-brand-architecture__heading,
  .afra-company-experience-hero__grid,
  .afra-company-section-heading,
  .afra-company-capability-system,
  .afra-company-method__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-hero-cinematic__logic {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .afra-hero-cinematic__logic div {
    border-block-end: 0;
    border-inline-end: 1px solid rgba(179, 227, 255, 0.13);
    grid-template-columns: 2.3rem 1fr;
    padding-inline: 1rem;
  }

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

  .afra-brand-map__companies::before,
  .afra-brand-map__companies li::before,
  .afra-brand-map__spine {
    display: none;
  }

  .afra-brand-map__private {
    grid-column: 2 / 12;
  }

  .afra-company-experience-hero__grid {
    padding-block-start: 7rem;
  }

  .afra-company-brand-stage {
    justify-self: center;
    max-width: 42rem;
  }

  .afra-company-capability-system aside {
    min-height: 18rem;
  }

  .afra-company-experience--blueprint .afra-company-capability-system ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  :root {
    --afra-section-space: clamp(4.5rem, 14vw, 7rem);
  }

  .afra-hero--cinematic {
    min-height: max(46rem, 100svh);
  }

  .afra-hero-cinematic__image {
    background-position: 66% center;
  }

  .afra-hero-cinematic__veil {
    background: linear-gradient(90deg, rgba(1, 4, 9, 0.97), rgba(1, 4, 9, 0.72) 68%, rgba(1, 4, 9, 0.38));
  }

  [dir="rtl"] .afra-hero-cinematic__veil {
    background: linear-gradient(270deg, rgba(1, 4, 9, 0.97), rgba(1, 4, 9, 0.72) 68%, rgba(1, 4, 9, 0.38));
  }

  .afra-hero--cinematic h1 {
    font-size: clamp(3.6rem, 14vw, 6rem);
  }

  .afra-hero-cinematic__logic {
    grid-template-columns: 1fr;
  }

  .afra-hero-cinematic__logic div {
    border-block-end: 1px solid rgba(179, 227, 255, 0.13);
    border-inline-end: 0;
  }

  .afra-brand-map__companies,
  .afra-company-capability-system ol,
  .afra-company-experience--blueprint .afra-company-capability-system ol,
  .afra-company-pathway-grid,
  .afra-company-method ol {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-brand-map__private {
    grid-column: 1 / -1;
    grid-template-columns: auto 1fr;
  }

  .afra-brand-map__private > em {
    grid-column: 2;
  }

  .afra-company-local-nav {
    inset-block-start: 4.3rem;
    overflow-x: auto;
  }

  .afra-company-local-nav .afra-shell {
    min-width: max-content;
  }

  .afra-company-experience-hero h1 {
    font-size: clamp(3.4rem, 14vw, 6.2rem);
  }

  .afra-company-capability-system li,
  .afra-company-experience--blueprint .afra-company-capability-system li {
    min-height: 10rem;
  }

  .afra-company-experience--diagnostic .afra-company-capability-system li {
    border-radius: 0;
    min-height: 10rem;
    place-content: initial;
    text-align: initial;
  }

  .afra-company-experience--venture .afra-company-capability-system li:nth-child(2),
  .afra-company-experience--venture .afra-company-capability-system li:nth-child(3) {
    transform: none;
  }

  .afra-company-pathway-grid > a {
    min-height: 14rem;
  }

  .afra-company-method li {
    min-height: 7rem;
  }

  .afra-company-journal-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-company-journal-card__visual {
    aspect-ratio: 16 / 9;
    border-block-end: 1px solid var(--company-line);
    border-inline-end: 0;
  }

  .afra-company-final .afra-shell {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 540px) {
  .afra-hero-cinematic__content {
    padding-block-end: 7.5rem;
  }

  .afra-hero--cinematic h1 {
    font-size: clamp(3.2rem, 16vw, 4.8rem);
    line-height: 0.92;
  }

  .afra-brand-architecture__heading h2,
  .afra-company-section-heading h2,
  .afra-company-method h2,
  .afra-company-final h2 {
    font-size: clamp(2.4rem, 12vw, 3.8rem);
  }

  .afra-brand-map {
    padding-inline: 0.8rem;
  }

  .afra-brand-map__companies a {
    grid-template-columns: 3.8rem minmax(0, 1fr) auto;
  }

  .afra-brand-node__image {
    height: 3.8rem;
    width: 3.8rem;
  }

  .afra-brand-node__image img {
    height: 3rem;
    width: 3rem;
  }

  .afra-brand-map__private {
    margin-inline: 0.8rem;
  }

  .afra-company-local-nav__brand strong {
    max-width: 11rem;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .afra-company-experience-hero__grid {
    padding-block-start: 5rem;
  }

  .afra-company-experience-hero h1 {
    font-size: clamp(3.1rem, 16vw, 4.8rem);
  }

  .afra-company-experience-hero__audience {
    grid-template-columns: 1fr;
    padding-block: 1.3rem;
  }

  .afra-company-experience-hero__audience i {
    display: none;
  }

  .afra-company-brand-stage__mark {
    height: 11rem;
    width: 11rem;
  }

  .afra-company-capability-system aside {
    min-height: 15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .afra-hero-cinematic__image,
  [dir="rtl"] .afra-hero-cinematic__image,
  .afra-brand-map__companies a,
  .afra-company-capability-system li {
    transform: none !important;
    transition: none !important;
  }
}

/* Afra Labs V4.2: light/dark system, scroll narratives, and rounded glass controls. */
:root[data-theme="dark"] {
  color-scheme: dark;
}

:root[data-theme="light"] {
  --afra-bg: #f4f6f8;
  --afra-bg-2: #ffffff;
  --afra-ink: #07111d;
  --afra-muted: #526274;
  --afra-line: rgba(7, 17, 29, 0.15);
  --afra-glass: rgba(255, 255, 255, 0.76);
  --afra-focus: #075ebd;
  --afra-v4-black: #f4f6f8;
  --afra-v4-midnight: #f8fafc;
  --afra-v4-navy: #e9eef4;
  --afra-v4-paper: #ffffff;
  --afra-v4-paper-ink: #07111d;
  --afra-v4-hairline: rgba(7, 17, 29, 0.14);
  color-scheme: light;
}

html,
body,
.afra-site-main,
.afra-site-main > section,
.afra-header-frame,
.afra-editorial-menu__panel,
.afra-editorial-footer {
  transition: background-color 520ms var(--afra-v4-ease), color 520ms var(--afra-v4-ease), border-color 520ms var(--afra-v4-ease);
}

html[data-theme="light"] body {
  background: #f4f6f8;
  color: #07111d;
}

.afra-theme-wipe {
  background: var(--theme-color);
  clip-path: circle(0 at var(--theme-x) var(--theme-y));
  inset: 0;
  pointer-events: none;
  position: fixed;
  transition: clip-path 720ms cubic-bezier(0.7, 0, 0.2, 1);
  z-index: 99999;
}

.afra-theme-wipe.is-active {
  clip-path: circle(150vmax at var(--theme-x) var(--theme-y));
}

/* Header controls */
.afra-language-menu {
  position: relative;
}

.afra-language-trigger,
.afra-theme-toggle {
  align-items: center;
  appearance: none;
  backdrop-filter: blur(18px) saturate(130%);
  background: rgba(7, 21, 40, 0.52);
  border: 1px solid rgba(164, 204, 236, 0.22);
  border-radius: 999px;
  color: #f7fbff;
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: background 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.afra-language-trigger {
  gap: 0.52rem;
  min-width: 72px;
  padding-inline: 0.75rem;
}

.afra-language-trigger:hover,
.afra-theme-toggle:hover {
  background: rgba(25, 73, 135, 0.56);
  border-color: rgba(129, 183, 232, 0.46);
  transform: translateY(-1px);
}

.afra-language-trigger strong {
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.08em;
}

.afra-language-trigger__globe {
  border: 1px solid currentColor;
  border-radius: 50%;
  height: 13px;
  opacity: 0.74;
  position: relative;
  width: 13px;
}

.afra-language-trigger__globe::before,
.afra-language-trigger__globe::after {
  content: "";
  inset: 2px 4px;
  position: absolute;
}

.afra-language-trigger__globe::before {
  border-inline: 1px solid currentColor;
  border-radius: 50%;
}

.afra-language-trigger__globe::after {
  border-block-start: 1px solid currentColor;
  inset: 5px 1px auto;
}

.afra-language-trigger > i {
  border-block-end: 1px solid currentColor;
  border-inline-end: 1px solid currentColor;
  height: 5px;
  opacity: 0.65;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 260ms ease;
  width: 5px;
}

.afra-language-menu.is-open .afra-language-trigger > i {
  transform: rotate(225deg) translate(-1px, -1px);
}

.afra-language-popover {
  backdrop-filter: blur(28px) saturate(135%);
  background: rgba(3, 11, 24, 0.94);
  border: 1px solid rgba(168, 207, 238, 0.22);
  border-radius: 22px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  inset-block-start: calc(100% + 0.7rem);
  inset-inline-end: 0;
  min-width: 210px;
  padding: 0.55rem;
  position: absolute;
  z-index: 30;
}

.afra-language-popover > span {
  color: rgba(232, 243, 252, 0.5);
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
  padding: 0.65rem 0.75rem 0.45rem;
  text-transform: uppercase;
}

.afra-language-popover a {
  align-items: center;
  border-radius: 14px;
  color: rgba(240, 247, 252, 0.76);
  display: flex;
  font-size: 0.78rem;
  justify-content: space-between;
  min-height: 42px;
  padding-inline: 0.75rem;
  text-decoration: none;
}

.afra-language-popover a:hover,
.afra-language-popover a[aria-current="true"] {
  background: rgba(30, 83, 158, 0.24);
  color: #fff;
}

.afra-language-popover small {
  color: #72aee9;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

.afra-theme-toggle {
  padding: 0;
  width: 58px;
}

.afra-theme-toggle__track {
  background: rgba(118, 161, 205, 0.22);
  border-radius: 999px;
  height: 22px;
  overflow: hidden;
  position: relative;
  width: 40px;
}

.afra-theme-toggle__track i {
  background: #edf6ff;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(130, 203, 255, 0.65);
  height: 16px;
  inset-block-start: 3px;
  inset-inline-start: 3px;
  position: absolute;
  transition: transform 420ms var(--afra-v4-ease), background 420ms ease, box-shadow 420ms ease;
  width: 16px;
  z-index: 2;
}

.afra-theme-toggle__track b {
  border: 1px solid rgba(4, 18, 32, 0.72);
  border-radius: 50%;
  height: 4px;
  inset-block-start: 6px;
  inset-inline-start: 7px;
  opacity: 0;
  position: absolute;
  transition: opacity 300ms ease;
  width: 4px;
  z-index: 3;
}

.afra-theme-toggle[aria-pressed="true"] .afra-theme-toggle__track i {
  background: #ffce5b;
  box-shadow: 0 0 16px rgba(255, 187, 46, 0.7);
  transform: translateX(18px);
}

[dir="rtl"] .afra-theme-toggle[aria-pressed="true"] .afra-theme-toggle__track i {
  transform: translateX(-18px);
}

html[data-theme="light"] .afra-language-trigger,
html[data-theme="light"] .afra-theme-toggle {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(7, 17, 29, 0.13);
  color: #0a1a2b;
}

html[data-theme="light"] .afra-language-popover {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(7, 17, 29, 0.12);
  box-shadow: 0 24px 70px rgba(17, 39, 66, 0.16);
}

html[data-theme="light"] .afra-language-popover > span,
html[data-theme="light"] .afra-language-popover a {
  color: #536476;
}

html[data-theme="light"] .afra-language-popover a:hover,
html[data-theme="light"] .afra-language-popover a[aria-current="true"] {
  background: #eaf1f8;
  color: #07111d;
}

html[data-theme="light"] .afra-header-frame,
html[data-theme="light"] .afra-is-scrolled .afra-header-frame {
  backdrop-filter: blur(22px) saturate(135%);
  background: rgba(248, 250, 252, 0.88);
  border-color: rgba(7, 17, 29, 0.12);
  box-shadow: 0 12px 36px rgba(23, 46, 76, 0.08);
}

html[data-theme="light"] .afra-luxury-header .afra-brand-lockup,
html[data-theme="light"] .afra-luxury-header .afra-desktop-nav a,
html[data-theme="light"] .afra-luxury-header .afra-header-portal,
html[data-theme="light"] .afra-luxury-header .afra-nav-toggle {
  color: #07111d !important;
}

/* Rounded brand controls */
.afra-button,
.afra-flow-button,
.afra-header-portal,
.afra-menu-portal,
.afra-footer-portal,
.afra-back-top,
.afra-editorial-cta,
.afra-ai__launcher,
.afra-finder-options span {
  border-radius: 999px !important;
}

.afra-button {
  backdrop-filter: blur(16px) saturate(125%);
  border-color: rgba(145, 185, 226, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 30px rgba(0, 0, 0, 0.1);
  min-height: 50px;
  padding-inline: 1.45rem;
}

.afra-button--primary {
  background: linear-gradient(135deg, #165dce 0%, #263c91 100%);
  border-color: #2f63b9;
  color: #f7fbff;
}

.afra-button--secondary,
.afra-button--ghost,
.afra-button--portal {
  background: rgba(19, 43, 78, 0.44);
  border-color: rgba(148, 190, 231, 0.3);
  color: #f2f7fc;
}

.afra-flow-button::before {
  background: #234fa7;
  border-radius: 999px;
}

.afra-flow-button:hover {
  border-color: #4e7dd2;
  color: #fff;
}

html[data-theme="light"] .afra-button--secondary,
html[data-theme="light"] .afra-button--ghost,
html[data-theme="light"] .afra-button--portal {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(18, 60, 110, 0.2);
  color: #0e376c;
}

/* Four-scene hero */
.afra-hero--slider {
  background: #010409;
  min-height: max(49rem, 100svh);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.afra-hero-slides,
.afra-hero-slide,
.afra-hero-slide__image,
.afra-hero-slide__veil {
  inset: 0;
  position: absolute;
}

.afra-hero-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 1100ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.afra-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.afra-hero-slide__image {
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.045);
  transition: transform 8s ease;
  width: 100%;
}

.afra-hero-slide.is-active .afra-hero-slide__image {
  transform: scale(1);
}

[dir="rtl"] .afra-hero-slide__image {
  transform: scaleX(-1) scale(1.045);
}

[dir="rtl"] .afra-hero-slide.is-active .afra-hero-slide__image {
  transform: scaleX(-1) scale(1);
}

.afra-hero-slide__veil {
  background:
    linear-gradient(90deg, rgba(1, 4, 9, 0.97) 0%, rgba(1, 4, 9, 0.84) 31%, rgba(1, 4, 9, 0.25) 68%, rgba(1, 4, 9, 0.08) 100%),
    linear-gradient(0deg, rgba(1, 4, 9, 0.92), transparent 55%);
}

[dir="rtl"] .afra-hero-slide__veil {
  background:
    linear-gradient(270deg, rgba(1, 4, 9, 0.97) 0%, rgba(1, 4, 9, 0.84) 31%, rgba(1, 4, 9, 0.25) 68%, rgba(1, 4, 9, 0.08) 100%),
    linear-gradient(0deg, rgba(1, 4, 9, 0.92), transparent 55%);
}

.afra-hero-slide__content {
  align-content: end;
  display: grid;
  min-height: max(49rem, 100svh);
  padding-block: clamp(9rem, 17vh, 13rem) clamp(8.5rem, 14vh, 11rem);
  position: relative;
  z-index: 3;
}

.afra-hero-slide__content .afra-eyebrow,
.afra-hero-slide__content h2,
.afra-hero-slide__content > p,
.afra-hero-slide__content .afra-actions {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms var(--afra-v4-ease), transform 800ms var(--afra-v4-ease);
}

.afra-hero-slide.is-active .afra-hero-slide__content .afra-eyebrow,
.afra-hero-slide.is-active .afra-hero-slide__content h2,
.afra-hero-slide.is-active .afra-hero-slide__content > p,
.afra-hero-slide.is-active .afra-hero-slide__content .afra-actions {
  opacity: 1;
  transform: none;
}

.afra-hero-slide.is-active .afra-hero-slide__content h2 { transition-delay: 90ms; }
.afra-hero-slide.is-active .afra-hero-slide__content > p { transition-delay: 170ms; }
.afra-hero-slide.is-active .afra-hero-slide__content .afra-actions { transition-delay: 240ms; }

.afra-hero-slide__content .afra-eyebrow {
  color: #83c5ff;
  margin-block-end: 1.3rem;
}

.afra-hero-slide__content h2 {
  color: #f7fbff;
  font-size: clamp(3.8rem, 7.5vw, 8.2rem);
  font-weight: 470;
  line-height: 0.9;
  margin-block: 0 2rem;
  max-width: 10ch;
}

.afra-hero-slide__content > p {
  color: rgba(234, 243, 251, 0.76);
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  margin-block-end: 2rem;
  max-width: 58ch;
}

.afra-hero-controls {
  align-items: center;
  bottom: 2rem;
  display: flex;
  gap: 0.7rem;
  inset-inline-start: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 7;
}

[dir="rtl"] .afra-hero-controls {
  transform: translateX(50%);
}

.afra-hero-control,
.afra-hero-pagination button {
  appearance: none;
  background: rgba(4, 17, 35, 0.56);
  border: 1px solid rgba(164, 204, 236, 0.24);
  color: rgba(241, 248, 253, 0.8);
  cursor: pointer;
}

.afra-hero-control {
  align-items: center;
  backdrop-filter: blur(16px);
  border-radius: 50%;
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.afra-hero-pagination {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(4, 17, 35, 0.48);
  border: 1px solid rgba(164, 204, 236, 0.18);
  border-radius: 999px;
  display: flex;
  gap: 0.25rem;
  padding: 0.32rem;
}

.afra-hero-pagination button {
  align-items: center;
  border: 0;
  border-radius: 999px;
  display: flex;
  gap: 0.45rem;
  height: 34px;
  padding-inline: 0.62rem;
}

.afra-hero-pagination button span {
  font-size: 0.58rem;
}

.afra-hero-pagination button i {
  background: currentColor;
  border-radius: 999px;
  height: 2px;
  opacity: 0.35;
  transition: width 400ms var(--afra-v4-ease), opacity 400ms ease;
  width: 8px;
}

.afra-hero-pagination button[aria-current="true"] {
  background: rgba(47, 93, 159, 0.5);
  color: #fff;
}

.afra-hero-pagination button[aria-current="true"] i {
  opacity: 1;
  width: 24px;
}

html[data-theme="light"] .afra-hero--slider {
  background: #edf1f4;
}

html[data-theme="light"] .afra-hero-slide__image {
  filter: saturate(0.72) brightness(1.12) contrast(0.86);
}

html[data-theme="light"] .afra-hero-slide__veil {
  background:
    linear-gradient(90deg, rgba(247, 249, 251, 0.98) 0%, rgba(247, 249, 251, 0.9) 34%, rgba(247, 249, 251, 0.4) 68%, rgba(247, 249, 251, 0.13) 100%),
    linear-gradient(0deg, rgba(247, 249, 251, 0.9), transparent 55%);
}

html[data-theme="light"][dir="rtl"] .afra-hero-slide__veil {
  background:
    linear-gradient(270deg, rgba(247, 249, 251, 0.98) 0%, rgba(247, 249, 251, 0.9) 34%, rgba(247, 249, 251, 0.4) 68%, rgba(247, 249, 251, 0.13) 100%),
    linear-gradient(0deg, rgba(247, 249, 251, 0.9), transparent 55%);
}

html[data-theme="light"] .afra-hero-slide__content h2 {
  color: #07111d;
}

html[data-theme="light"] .afra-hero-slide__content > p {
  color: #445566;
}

html[data-theme="light"] .afra-hero-slide__content .afra-eyebrow {
  color: #075ebd;
}

html[data-theme="light"] .afra-hero-control,
html[data-theme="light"] .afra-hero-pagination {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(7, 17, 29, 0.14);
  color: #153655;
}

/* Scroll-reactive holding introduction */
.afra-editorial-intro--motion {
  min-height: 135vh;
  overflow: clip;
}

.afra-holding-motion-grid {
  align-items: start;
  display: grid;
  gap: clamp(3rem, 8vw, 9rem);
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
}

.afra-holding-motion-copy {
  padding-block-start: clamp(1rem, 7vh, 6rem);
}

.afra-holding-motion-copy h2 {
  font-size: clamp(3rem, 6.4vw, 7rem);
  line-height: 0.94;
  max-width: 11ch;
}

.afra-holding-motion-copy > p {
  color: #41505e;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  margin-block: 2.2rem 3rem;
}

.afra-holding-motion-copy ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.afra-holding-motion-copy li {
  border-block-start: 1px solid rgba(7, 17, 29, 0.16);
  color: #1b2c3c;
  display: grid;
  gap: 1rem;
  grid-template-columns: 2rem 1fr;
  padding-block: 1rem;
}

.afra-holding-motion-copy li span {
  color: #075ebd;
  font-size: 0.68rem;
}

.afra-holding-motion-stage {
  align-self: start;
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 50% 50%, rgba(14, 92, 182, 0.12), transparent 42%),
    radial-gradient(circle, rgba(14, 76, 137, 0.12) 1px, transparent 1.2px);
  background-size: auto, 22px 22px;
  border: 1px solid rgba(7, 57, 109, 0.13);
  border-radius: 48px;
  overflow: hidden;
  position: sticky;
  top: 105px;
}

.afra-holding-motion-stage__halo,
.afra-holding-motion-stage__ring,
.afra-holding-motion-stage__core,
.afra-holding-motion-stage__nodes {
  inset: 50% auto auto 50%;
  position: absolute;
  transform: translate(-50%, -50%);
}

[dir="rtl"] .afra-holding-motion-stage__halo,
[dir="rtl"] .afra-holding-motion-stage__ring,
[dir="rtl"] .afra-holding-motion-stage__core,
[dir="rtl"] .afra-holding-motion-stage__nodes {
  transform: translate(50%, -50%);
}

.afra-holding-motion-stage__halo {
  background: radial-gradient(circle, rgba(21, 113, 213, 0.26), transparent 66%);
  filter: blur(22px);
  height: 68%;
  opacity: 0.68;
  width: 68%;
}

.afra-holding-motion-stage__ring {
  border: 1px solid rgba(13, 92, 182, 0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(var(--holding-rotate, 0deg)) scale(var(--holding-scale, 0.86));
  transition: transform 80ms linear;
}

[dir="rtl"] .afra-holding-motion-stage__ring {
  transform: translate(50%, -50%) rotate(var(--holding-rotate, 0deg)) scale(var(--holding-scale, 0.86));
}

.afra-holding-motion-stage__ring--one {
  height: 54%;
  width: 54%;
}

.afra-holding-motion-stage__ring--two {
  border-style: dashed;
  height: 76%;
  transform: translate(-50%, -50%) rotate(var(--holding-rotate-reverse, 0deg)) scale(var(--holding-scale, 0.86));
  width: 76%;
}

[dir="rtl"] .afra-holding-motion-stage__ring--two {
  transform: translate(50%, -50%) rotate(var(--holding-rotate-reverse, 0deg)) scale(var(--holding-scale, 0.86));
}

.afra-holding-motion-stage__core {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(2, 15, 32, 0.86);
  border: 1px solid rgba(59, 132, 210, 0.4);
  border-radius: 50%;
  box-shadow: 0 28px 70px rgba(10, 43, 82, 0.24);
  display: grid;
  height: 31%;
  justify-items: center;
  width: 31%;
  z-index: 3;
}

.afra-holding-motion-stage__core img {
  height: 78%;
  object-fit: contain;
  width: 78%;
}

.afra-holding-motion-stage__nodes {
  height: 1px;
  transform: translate(-50%, -50%) rotate(var(--holding-rotate, 0deg));
  transition: transform 80ms linear;
  width: 1px;
  z-index: 2;
}

[dir="rtl"] .afra-holding-motion-stage__nodes {
  transform: translate(50%, -50%) rotate(var(--holding-rotate, 0deg));
}

.afra-holding-motion-stage__nodes i {
  background: linear-gradient(135deg, #125fc7, #61a9e9);
  border: 3px solid rgba(255, 255, 255, 0.84);
  border-radius: 50%;
  box-shadow: 0 0 0 9px rgba(20, 91, 172, 0.1), 0 8px 24px rgba(16, 55, 99, 0.22);
  height: 13px;
  left: -6px;
  position: absolute;
  top: -6px;
  transform: rotate(var(--node-angle)) translateY(var(--holding-spread-neg, -112px));
  width: 13px;
}

html[data-theme="dark"] .afra-editorial-intro--motion {
  background: #050c16;
  color: #f3f7fb;
}

html[data-theme="dark"] .afra-holding-motion-copy h2,
html[data-theme="dark"] .afra-holding-motion-copy li {
  color: #f2f7fb;
}

html[data-theme="dark"] .afra-holding-motion-copy > p {
  color: #9fb0c2;
}

html[data-theme="dark"] .afra-holding-motion-copy li {
  border-color: rgba(185, 214, 241, 0.16);
}

html[data-theme="dark"] .afra-holding-motion-stage {
  background:
    radial-gradient(circle at 50% 50%, rgba(20, 108, 208, 0.22), transparent 42%),
    radial-gradient(circle, rgba(115, 175, 228, 0.11) 1px, transparent 1.2px),
    #030914;
  border-color: rgba(157, 201, 238, 0.16);
}

html[data-theme="light"] .afra-holding-motion-stage__core {
  background: rgba(245, 249, 252, 0.88);
}

/* Layered dotted brand architecture */
.afra-brand-architecture[data-afra-brand-architecture] {
  --brand-fill: 0%;
  background: #030914;
  color: #f3f7fb;
  overflow: clip;
}

.afra-brand-architecture[data-afra-brand-architecture] .afra-brand-architecture__heading h2 {
  color: #f3f7fb;
}

.afra-brand-architecture[data-afra-brand-architecture] .afra-brand-architecture__heading > p {
  color: #9eafc0;
}

.afra-brand-map[data-afra-brand-map] {
  background: rgba(5, 15, 29, 0.58);
  border: 1px solid rgba(150, 197, 237, 0.16);
  border-radius: 48px;
  display: block;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 5rem);
  position: relative;
}

.afra-brand-map[data-afra-brand-map]::before {
  content: none;
}

.afra-brand-map__dots {
  background-image: radial-gradient(circle, rgba(139, 191, 235, 0.18) 1px, transparent 1.4px);
  background-size: 25px 25px;
  inset: 0;
  mask-image: linear-gradient(to bottom, black, rgba(0, 0, 0, 0.65) 72%, transparent);
  pointer-events: none;
  position: absolute;
  z-index: -2;
}

.afra-brand-map__progress {
  background: rgba(135, 184, 225, 0.17);
  bottom: 7.5rem;
  inset-inline-start: 50%;
  position: absolute;
  top: 9rem;
  width: 1px;
  z-index: -1;
}

.afra-brand-map__progress span {
  background: linear-gradient(#286cc3, #6da9df);
  box-shadow: 0 0 22px rgba(62, 140, 220, 0.55);
  display: block;
  height: var(--brand-fill);
  width: 100%;
}

.afra-brand-map[data-afra-brand-map] .afra-brand-map__root {
  align-items: center;
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-block-end: clamp(4rem, 7vw, 7rem);
  position: relative;
  text-align: start;
}

.afra-brand-map[data-afra-brand-map] .afra-brand-map__root > span {
  background: rgba(1, 9, 20, 0.92);
  border: 1px solid rgba(99, 164, 223, 0.35);
  border-radius: 50%;
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.24);
  height: 7.5rem;
  margin: 0;
  width: 7.5rem;
}

.afra-brand-map[data-afra-brand-map] .afra-brand-map__root img {
  height: 6rem;
  width: 6rem;
}

.afra-brand-map__root > div {
  display: grid;
}

.afra-brand-map__root strong {
  color: #f4f8fc;
}

.afra-brand-map__root em {
  color: #99aabd;
}

.afra-brand-map__layers {
  display: grid;
  gap: 1.4rem;
}

.afra-brand-map__layer {
  background: rgba(9, 25, 45, 0.52);
  border: 1px solid rgba(153, 199, 235, 0.13);
  border-radius: 32px;
  opacity: 0.2;
  padding: 1rem;
  transform: translateY(38px) scale(0.985);
  transition: opacity 760ms var(--afra-v4-ease), transform 760ms var(--afra-v4-ease), border-color 760ms ease;
}

.afra-brand-map__layer.is-active {
  border-color: rgba(83, 151, 216, 0.35);
  opacity: 1;
  transform: none;
}

.afra-brand-map__layer > header {
  align-items: center;
  display: flex;
  gap: 1rem;
  padding: 0.4rem 0.55rem 0.85rem;
}

.afra-brand-map__layer > header span {
  color: #71a8dc;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.afra-brand-map__layer > header i {
  background: linear-gradient(90deg, rgba(86, 151, 213, 0.5), transparent);
  height: 1px;
  transform: scaleX(0);
  transform-origin: inline-start;
  transition: transform 900ms var(--afra-v4-ease) 180ms;
  width: 100%;
}

.afra-brand-map__layer.is-active > header i {
  transform: scaleX(1);
}

.afra-brand-map__layer ol {
  display: grid;
  gap: 0.8rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.afra-brand-map__layer li {
  min-width: 0;
}

.afra-brand-map__layer li a {
  align-items: center;
  background: rgba(2, 11, 24, 0.64);
  border: 1px solid rgba(161, 204, 239, 0.12);
  border-radius: 24px;
  color: #f4f8fc;
  display: grid;
  gap: 0.9rem;
  grid-template-columns: 3.75rem minmax(0, 1fr) auto;
  min-height: 126px;
  padding: 1rem;
  text-decoration: none;
  transition: background 300ms ease, border-color 300ms ease, transform 300ms var(--afra-v4-ease);
}

.afra-brand-map__layer li a:hover {
  background: color-mix(in srgb, var(--brand-accent) 9%, rgba(2, 11, 24, 0.8));
  border-color: color-mix(in srgb, var(--brand-accent) 42%, transparent);
  transform: translateY(-3px);
}

.afra-brand-map__layer .afra-brand-node__image {
  background: rgba(1, 8, 18, 0.84);
  border: 1px solid color-mix(in srgb, var(--brand-accent) 34%, transparent);
  border-radius: 18px;
  height: 3.75rem;
  width: 3.75rem;
}

.afra-brand-map__layer .afra-brand-node__image img {
  height: 3rem;
  width: 3rem;
}

.afra-brand-map__layer .afra-brand-node__copy strong {
  color: #f4f8fc;
}

.afra-brand-map__layer .afra-brand-node__copy em {
  color: #8799ab;
}

.afra-brand-map[data-afra-brand-map] .afra-brand-map__private {
  background: rgba(10, 28, 49, 0.72);
  border: 1px solid rgba(113, 176, 229, 0.2);
  border-radius: 24px;
  margin: clamp(3rem, 6vw, 5rem) auto 0;
  max-width: 880px;
}

.afra-brand-map[data-afra-brand-map] .afra-private-core__lock {
  border-radius: 16px;
}

html[data-theme="light"] .afra-brand-architecture[data-afra-brand-architecture] {
  background: #f4f6f8;
  color: #07111d;
}

html[data-theme="light"] .afra-brand-architecture[data-afra-brand-architecture] .afra-brand-architecture__heading h2,
html[data-theme="light"] .afra-brand-map__root strong,
html[data-theme="light"] .afra-brand-map__layer .afra-brand-node__copy strong {
  color: #07111d;
}

html[data-theme="light"] .afra-brand-architecture[data-afra-brand-architecture] .afra-brand-architecture__heading > p,
html[data-theme="light"] .afra-brand-map__root em,
html[data-theme="light"] .afra-brand-map__layer .afra-brand-node__copy em {
  color: #526274;
}

html[data-theme="light"] .afra-brand-map[data-afra-brand-map],
html[data-theme="light"] .afra-brand-map__layer,
html[data-theme="light"] .afra-brand-map__layer li a {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(7, 17, 29, 0.12);
  color: #07111d;
}

/* Operating imagery */
.afra-operating-story__visual {
  margin: 0;
}

.afra-operating-story__visual::after {
  background: linear-gradient(180deg, transparent 48%, rgba(1, 6, 14, 0.62));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.afra-operating-story__visual img {
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms var(--afra-v4-ease), filter 520ms ease;
  width: 100%;
}

.afra-operating-story:hover .afra-operating-story__visual img {
  transform: scale(1.025);
}

.afra-operating-story__number,
.afra-operating-story__beam {
  z-index: 2;
}

html[data-theme="light"] .afra-operating-editorial {
  background: #ffffff;
  color: #07111d;
}

html[data-theme="light"] .afra-operating-editorial h2,
html[data-theme="light"] .afra-operating-editorial h3,
html[data-theme="light"] .afra-operating-story__copy li strong {
  color: #07111d;
}

html[data-theme="light"] .afra-operating-editorial p,
html[data-theme="light"] .afra-operating-story__copy li span {
  color: #526274;
}

/* Animated facts with differentiated surfaces */
.afra-facts--editorial dl {
  border: 0;
  gap: 1rem;
}

.afra-facts--editorial dl > div {
  border: 1px solid rgba(7, 17, 29, 0.1);
  border-radius: 32px;
  min-height: 290px;
  overflow: hidden;
  padding: clamp(1.5rem, 2.4vw, 2.3rem);
  position: relative;
}

.afra-facts--editorial dl > div::before {
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "";
  height: 180px;
  inset-block-end: -105px;
  inset-inline-end: -70px;
  opacity: 0.08;
  position: absolute;
  width: 180px;
}

.afra-facts--editorial dl > div:nth-child(1) { background: #ffffff; }
.afra-facts--editorial dl > div:nth-child(2) { background: #e7eef5; }
.afra-facts--editorial dl > div:nth-child(3) { background: #dce7f0; }
.afra-facts--editorial dl > div:nth-child(4) { background: #0a2d5b; }
.afra-facts--editorial dl > div:nth-child(4) dt,
.afra-facts--editorial dl > div:nth-child(4) dd,
.afra-facts--editorial dl > div:nth-child(4) [data-afra-counter] { color: #f4f8fc !important; }

.afra-facts--editorial dd {
  font-size: clamp(3.15rem, 5.5vw, 6.4rem);
  letter-spacing: -0.065em;
}

/* Bidirectional scroll timeline dot */
.afra-timeline--editorial {
  position: relative;
}

.afra-timeline--editorial::after {
  background: #2b80dc;
  border: 4px solid #d7efff;
  border-radius: 50%;
  box-shadow: 0 0 0 8px rgba(43, 128, 220, 0.12), 0 0 25px rgba(55, 152, 240, 0.68);
  content: "";
  height: 18px;
  inset-inline-start: 9px;
  position: absolute;
  top: 0;
  transform: translate(-50%, var(--timeline-dot-y, 0));
  transition: transform 200ms linear;
  width: 18px;
  z-index: 4;
}

[dir="rtl"] .afra-timeline--editorial::after {
  transform: translate(50%, var(--timeline-dot-y, 0));
}

.afra-timeline--editorial li {
  opacity: 0.42;
  transition: opacity 450ms ease, transform 450ms var(--afra-v4-ease);
}

.afra-timeline--editorial li.is-active {
  opacity: 1;
  transform: translateX(8px);
}

[dir="rtl"] .afra-timeline--editorial li.is-active {
  transform: translateX(-8px);
}

html[data-theme="light"] .afra-timeline-section--v4 {
  background: #edf2f6;
  color: #07111d;
}

html[data-theme="light"] .afra-timeline-section--v4 h2,
html[data-theme="light"] .afra-timeline-section--v4 strong,
html[data-theme="light"] .afra-timeline-section--v4 button {
  color: #07111d;
}

html[data-theme="light"] .afra-timeline-section--v4 p,
html[data-theme="light"] .afra-timeline-section--v4 small {
  color: #526274;
}

/* Refined global map */
.afra-global--v5 {
  background:
    radial-gradient(circle at 75% 45%, rgba(24, 91, 171, 0.2), transparent 34%),
    #020711;
  overflow: hidden;
  padding-block: clamp(6rem, 11vw, 11rem);
}

.afra-global-v5__grid {
  align-items: center;
  display: grid;
  gap: clamp(3rem, 7vw, 8rem);
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.28fr);
}

.afra-global-v5__copy h2 {
  font-size: clamp(3rem, 5.2vw, 6rem);
  line-height: 0.94;
}

.afra-world-map--v5 {
  background: #020711;
  border: 1px solid rgba(126, 183, 232, 0.2);
  border-radius: 32px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.afra-world-map__image {
  display: block;
  height: auto;
  width: 100%;
}

.afra-world-map--v5 .afra-world-map__motion {
  aspect-ratio: 1672 / 941;
  filter: drop-shadow(0 0 12px rgba(79, 164, 238, 0.28));
  inset: 0 0 auto;
  overflow: hidden;
  position: absolute;
  width: 100%;
}

.afra-world-map--v5 .afra-world-map__routes path {
  animation: afra-world-route 7s linear infinite;
  fill: none;
  stroke: rgba(81, 159, 231, 0.66);
  stroke-dasharray: 0.05 0.04;
  stroke-linecap: round;
  stroke-width: 1.2;
}

.afra-world-map--v5 .afra-world-map__routes path:nth-child(2n) {
  animation-duration: 9s;
  stroke: rgba(220, 164, 80, 0.58);
}

.afra-world-map--v5 .afra-world-map__base circle:last-of-type,
.afra-world-map__moving-points circle {
  fill: #8ed5ff;
}

.afra-world-map--v5 .afra-map-pulse {
  animation: afra-map-pulse 2.8s ease-out infinite;
  fill: rgba(35, 124, 214, 0.13);
  stroke: rgba(105, 183, 245, 0.4);
}

.afra-world-map--v5 text {
  fill: #b6d8f4;
  font-family: var(--font-latin);
  font-size: 12px;
}

.afra-world-map--v5 figcaption {
  background: rgba(2, 7, 17, 0.88);
  border-block-start: 1px solid rgba(126, 183, 232, 0.13);
  color: #91a5b8;
  font-size: 0.72rem;
  margin: 0;
  padding: 1rem 1.2rem;
}

@keyframes afra-world-route {
  to { stroke-dashoffset: -1; }
}

@keyframes afra-map-pulse {
  0% { opacity: 0.85; transform: scale(0.65); }
  70%, 100% { opacity: 0; transform: scale(1.45); }
}

html[data-theme="light"] .afra-global--v5 {
  background:
    radial-gradient(circle at 75% 45%, rgba(40, 107, 184, 0.13), transparent 34%),
    #f7f9fb;
  color: #07111d;
}

html[data-theme="light"] .afra-global--v5 h2 {
  color: #07111d;
}

html[data-theme="light"] .afra-global--v5 p {
  color: #526274;
}

html[data-theme="light"] .afra-global--v5 .afra-eyebrow {
  color: #075ebd;
}

html[data-theme="light"] .afra-world-map--v5 figcaption {
  color: #c2d2e0;
}

html[data-theme="light"] .afra-world-map--v5 {
  border-color: rgba(17, 55, 94, 0.18);
  box-shadow: 0 28px 80px rgba(25, 53, 82, 0.15);
}

/* Apple-like insight cards with real imagery */
.afra-insight-stories {
  gap: 1rem;
}

.afra-insight-story {
  border: 1px solid rgba(7, 17, 29, 0.1);
  border-radius: 32px;
  box-shadow: 0 22px 60px rgba(29, 51, 77, 0.08);
}

.afra-insight-story__visual::before,
.afra-insight-story__visual::after {
  display: none;
}

.afra-insight-story__visual img {
  height: 100%;
  object-fit: cover;
  transition: transform 1000ms var(--afra-v4-ease), filter 500ms ease;
  width: 100%;
}

.afra-insight-story:hover .afra-insight-story__visual img {
  transform: scale(1.035);
}

html[data-theme="light"] .afra-insights-editorial,
html[data-theme="light"] .afra-leadership-editorial,
html[data-theme="light"] .afra-faq--v4 {
  background: #ffffff;
}

/* Honest testimonial placeholder, ready for approved copy */
.afra-testimonials {
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 100, 190, 0.18), transparent 32rem),
    #030914;
  padding-block: clamp(6rem, 11vw, 11rem);
}

.afra-testimonial-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: clamp(3.5rem, 7vw, 7rem);
}

.afra-testimonial-grid article {
  backdrop-filter: blur(18px);
  background: rgba(9, 27, 50, 0.58);
  border: 1px solid rgba(147, 195, 234, 0.17);
  border-radius: 30px;
  min-height: 320px;
  padding: 1.5rem;
  position: relative;
}

.afra-testimonial-card__index {
  color: #6da9df;
  font-size: 0.62rem;
  letter-spacing: 0.11em;
}

.afra-testimonial-card__avatar {
  align-items: center;
  background: rgba(30, 80, 139, 0.2);
  border: 1px solid rgba(120, 184, 235, 0.24);
  border-radius: 50%;
  display: grid;
  height: 72px;
  justify-items: center;
  margin-block: 3rem 2rem;
  width: 72px;
}

.afra-testimonial-card__avatar i {
  border: 1px solid #7bb9ed;
  border-radius: 50%;
  height: 22px;
  position: relative;
  width: 22px;
}

.afra-testimonial-card__avatar i::after {
  border: 1px solid #7bb9ed;
  border-radius: 50% 50% 0 0;
  content: "";
  height: 16px;
  inset-block-start: 25px;
  inset-inline-start: -7px;
  position: absolute;
  width: 34px;
}

.afra-testimonial-grid article p {
  color: #dce8f2;
  font-size: 1.05rem;
}

.afra-testimonial-grid article small {
  color: #8196a9;
}

html[data-theme="light"] .afra-testimonials {
  background:
    radial-gradient(circle at 20% 0%, rgba(37, 100, 190, 0.1), transparent 32rem),
    #edf2f6;
  color: #07111d;
}

html[data-theme="light"] .afra-testimonials h2,
html[data-theme="light"] .afra-testimonial-grid article p {
  color: #07111d;
}

html[data-theme="light"] .afra-testimonials .afra-editorial-heading > p,
html[data-theme="light"] .afra-testimonial-grid article small {
  color: #526274;
}

html[data-theme="light"] .afra-testimonial-grid article {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(7, 17, 29, 0.11);
}

/* Remaining light surfaces across the public site */
html[data-theme="light"] .afra-engagement,
html[data-theme="light"] .afra-finder-section--v4,
html[data-theme="light"] .afra-page-hero,
html[data-theme="light"] .afra-section,
html[data-theme="light"] .afra-section--quiet,
html[data-theme="light"] .afra-company-final {
  background: #f4f6f8;
  color: #07111d;
}

html[data-theme="light"] .afra-engagement h2,
html[data-theme="light"] .afra-engagement h3,
html[data-theme="light"] .afra-finder-section--v4 h2,
html[data-theme="light"] .afra-finder-section--v4 strong,
html[data-theme="light"] .afra-page-hero h1,
html[data-theme="light"] .afra-section h2,
html[data-theme="light"] .afra-panel h2,
html[data-theme="light"] .afra-company-final h2 {
  color: #07111d;
}

html[data-theme="light"] .afra-engagement p,
html[data-theme="light"] .afra-engagement li,
html[data-theme="light"] .afra-finder-section--v4 p,
html[data-theme="light"] .afra-page-hero p,
html[data-theme="light"] .afra-section p,
html[data-theme="light"] .afra-company-final p {
  color: #526274;
}

html[data-theme="light"] .afra-panel,
html[data-theme="light"] .afra-form,
html[data-theme="light"] .afra-company-finder__tool {
  background: #ffffff;
  border-color: rgba(7, 17, 29, 0.12);
  color: #07111d;
}

html[data-theme="light"] .afra-editorial-menu__panel {
  background:
    linear-gradient(115deg, rgba(202, 221, 240, 0.48), transparent 43%),
    #f8fafc;
  color: #07111d;
}

html[data-theme="light"] .afra-editorial-menu__panel a,
html[data-theme="light"] .afra-editorial-menu__panel button {
  color: #07111d;
}

html[data-theme="light"] .afra-company-experience {
  --company-bg: #f4f6f8 !important;
  --company-surface: #ffffff !important;
  --company-surface-2: #e7edf3 !important;
  --company-ink: #07111d !important;
  --company-muted: #526274 !important;
  --company-line: rgba(7, 17, 29, 0.14) !important;
}

html[data-theme="light"] body:has(.afra-company-experience) .afra-site-header {
  background: rgba(248, 250, 252, 0.92) !important;
  border-color: rgba(7, 17, 29, 0.12);
}

html[data-theme="light"] body:has(.afra-company-experience) .afra-site-header .afra-brand-lockup,
html[data-theme="light"] body:has(.afra-company-experience) .afra-site-header .afra-desktop-nav a,
html[data-theme="light"] body:has(.afra-company-experience) .afra-site-header .afra-header-portal,
html[data-theme="light"] body:has(.afra-company-experience) .afra-site-header .afra-nav-toggle {
  color: #07111d !important;
}

html[data-theme="light"] .afra-editorial-footer {
  background: #e8edf2;
  color: #07111d;
}

html[data-theme="light"] .afra-editorial-footer h2,
html[data-theme="light"] .afra-editorial-footer a,
html[data-theme="light"] .afra-footer-wordmark,
html[data-theme="light"] .afra-editorial-footer .afra-footer-column h2 {
  color: #07111d;
}

html[data-theme="light"] .afra-editorial-footer p,
html[data-theme="light"] .afra-editorial-footer .afra-footer-column a,
html[data-theme="light"] .afra-footer-column .afra-legal-preview {
  color: #526274;
}

.afra-portal-theme-controls {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  margin-block-start: 1.25rem;
}

@media (max-width: 1100px) {
  .afra-desktop-nav {
    display: none;
  }

  .afra-header-frame {
    grid-template-columns: 1fr auto;
  }

  .afra-holding-motion-grid,
  .afra-global-v5__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-editorial-intro--motion {
    min-height: auto;
  }

  .afra-holding-motion-stage {
    max-width: 680px;
    position: relative;
    top: auto;
    width: 100%;
  }

  .afra-brand-map__layer ol {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 780px) {
  .afra-header-portal {
    display: none;
  }

  .afra-luxury-header .afra-header-actions {
    gap: 0.45rem;
  }

  .afra-language-trigger {
    min-width: 58px;
    padding-inline: 0.6rem;
  }

  .afra-language-trigger__globe {
    display: none;
  }

  .afra-theme-toggle {
    width: 48px;
  }

  .afra-nav-toggle {
    border: 1px solid var(--afra-v4-hairline);
    border-radius: 999px;
    padding-inline: 0.8rem;
  }

  [dir="rtl"] .afra-nav-toggle {
    padding-inline: 0.8rem;
  }

  .afra-nav-toggle__label {
    display: none;
  }

  .afra-hero-slide__content {
    align-content: end;
    padding-block: 7.5rem 10.5rem;
  }

  .afra-hero-slide__content h2 {
    font-size: clamp(3rem, 14vw, 5.2rem);
  }

  .afra-hero-slide__content .afra-actions {
    align-items: stretch;
    flex-direction: column;
    width: 100%;
  }

  .afra-hero-slide__content .afra-button {
    justify-content: space-between;
    width: 100%;
  }

  .afra-hero-controls {
    bottom: 3rem;
  }

  .afra-hero-control {
    display: none;
  }

  .afra-hero-pagination button span {
    display: none;
  }

  .afra-hero-pagination button {
    padding-inline: 0.55rem;
  }

  .afra-brand-map[data-afra-brand-map] {
    border-radius: 30px;
    padding: 1rem;
  }

  .afra-brand-map[data-afra-brand-map] .afra-brand-map__root {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .afra-brand-map__layer {
    border-radius: 24px;
  }

  .afra-brand-map__layer li a {
    grid-template-columns: 3.2rem minmax(0, 1fr) auto;
  }

  .afra-brand-map__layer .afra-brand-node__image {
    height: 3.2rem;
    width: 3.2rem;
  }

  .afra-brand-map__layer .afra-brand-node__image img {
    height: 2.5rem;
    width: 2.5rem;
  }

  .afra-brand-map[data-afra-brand-map] .afra-brand-map__private {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .afra-brand-map[data-afra-brand-map] .afra-brand-map__private > em {
    grid-column: 1 / -1;
  }

  .afra-operating-story,
  .afra-operating-story:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-operating-story:nth-child(even) .afra-operating-story__visual {
    order: 0;
  }

  .afra-operating-story__visual {
    min-height: 68vw;
  }

  .afra-facts--editorial dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .afra-facts--editorial dl > div {
    min-height: 220px;
  }

  .afra-insight-stories,
  .afra-testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
  }

  .afra-insight-story--featured {
    grid-row: auto;
  }

  .afra-insight-story,
  .afra-insight-story--featured {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto;
  }
}

@media (max-width: 520px) {
  .afra-language-popover {
    inset-inline-end: -4.2rem;
  }

  .afra-holding-motion-stage {
    border-radius: 28px;
  }

  .afra-holding-motion-stage__nodes i {
    transform: rotate(var(--node-angle)) translateY(var(--holding-spread-mobile, -81px));
  }

  .afra-facts--editorial dl {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .afra-theme-wipe,
  .afra-hero-slide,
  .afra-hero-slide__image,
  .afra-hero-slide__content > *,
  .afra-brand-map__layer,
  .afra-brand-map__layer > header i,
  .afra-operating-story__visual img,
  .afra-world-map__routes path,
  .afra-map-pulse {
    animation: none !important;
    transition: none !important;
  }

  .afra-brand-map__layer {
    opacity: 1;
    transform: none;
  }
}

/* Afra Labs V4.3: menu-contained preferences, glass controls, and editorial sliders. */
.afra-luxury-header .afra-header-actions > .afra-language-menu,
.afra-luxury-header .afra-header-actions > .afra-theme-toggle {
  display: none !important;
}

.afra-menu-preferences {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  position: relative;
}

.afra-menu-preferences .afra-language-popover {
  inset-block-end: calc(100% + 0.7rem);
  inset-block-start: auto;
  inset-inline-end: 0;
}

.afra-menu-preferences .afra-language-trigger,
.afra-menu-preferences .afra-theme-toggle {
  background: rgba(12, 34, 63, 0.62);
}

html[data-theme="light"] .afra-menu-preferences .afra-language-trigger,
html[data-theme="light"] .afra-menu-preferences .afra-theme-toggle {
  background: rgba(255, 255, 255, 0.72);
}

/* Hero: only two controls, held at the visual midpoint. */
.afra-hero-controls {
  bottom: auto;
  box-sizing: border-box;
  inset-block-start: 50%;
  inset-inline: 0;
  justify-content: space-between;
  padding-inline: 1rem;
  pointer-events: none;
  transform: translateY(-50%);
  width: 100%;
}

[dir="rtl"] .afra-hero-controls {
  transform: translateY(-50%);
}

.afra-hero-pagination {
  display: none !important;
}

.afra-hero-control {
  backdrop-filter: blur(22px) saturate(145%);
  background: rgba(8, 27, 52, 0.56);
  border-color: rgba(164, 204, 236, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 18px 44px rgba(0, 0, 0, 0.18);
  display: inline-flex !important;
  height: 52px;
  pointer-events: auto;
  transition: background 280ms ease, border-color 280ms ease, transform 280ms ease;
  width: 52px;
}

.afra-hero-control:hover {
  background: rgba(25, 71, 137, 0.72);
  border-color: rgba(144, 192, 235, 0.62);
  transform: scale(1.05);
}

/* Leadership label contrast. */
.afra-leadership-editorial .afra-editorial-heading > .afra-eyebrow {
  color: #173653;
  font-weight: 720;
}

html[data-theme="light"] .afra-leadership-editorial .afra-editorial-heading > .afra-eyebrow {
  color: #144f9f;
  text-shadow: 0 10px 28px rgba(20, 79, 159, 0.16);
}

/* One coherent glass-control language across the experience. */
.afra-button,
.afra-flow-button,
.afra-header-portal,
.afra-menu-portal,
.afra-footer-portal,
.afra-back-top,
.afra-editorial-cta,
.afra-ai__launcher {
  backdrop-filter: blur(20px) saturate(145%) !important;
  background: rgba(18, 45, 82, 0.62) !important;
  border: 1px solid rgba(151, 191, 229, 0.34) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), inset 0 -1px 0 rgba(2, 12, 27, 0.2), 0 14px 36px rgba(1, 8, 20, 0.14) !important;
}

.afra-button--primary,
.afra-portal-form .afra-button--primary {
  background: rgba(29, 78, 163, 0.82) !important;
  border-color: rgba(113, 158, 224, 0.6) !important;
  color: #fff !important;
}

.afra-button--secondary,
.afra-button--ghost,
.afra-button--portal {
  background: rgba(12, 36, 70, 0.58) !important;
}

.afra-flow-button::before {
  background: rgba(61, 105, 190, 0.44) !important;
}

.afra-button:hover,
.afra-header-portal:hover,
.afra-menu-portal:hover,
.afra-footer-portal:hover,
.afra-back-top:hover,
.afra-editorial-cta:hover {
  background: rgba(36, 83, 160, 0.78) !important;
  border-color: rgba(145, 185, 236, 0.68) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 18px 42px rgba(9, 34, 77, 0.2) !important;
}

html[data-theme="light"] .afra-button,
html[data-theme="light"] .afra-header-portal,
html[data-theme="light"] .afra-menu-portal,
html[data-theme="light"] .afra-footer-portal,
html[data-theme="light"] .afra-back-top,
html[data-theme="light"] .afra-editorial-cta {
  background: rgba(255, 255, 255, 0.66) !important;
  border-color: rgba(31, 73, 128, 0.22) !important;
  color: #123b70 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 14px 36px rgba(29, 61, 105, 0.1) !important;
}

html[data-theme="light"] .afra-button--primary,
html[data-theme="light"] .afra-portal-form .afra-button--primary {
  background: rgba(27, 75, 159, 0.88) !important;
  border-color: rgba(38, 88, 173, 0.55) !important;
  color: #fff !important;
}

/* Company finder: deeper brand blue, visible hover, and tactile glass chips. */
.afra-finder-section--v4 .afra-finder-options span {
  backdrop-filter: blur(18px) saturate(145%);
  background: rgba(19, 50, 88, 0.48);
  border: 1px solid rgba(142, 184, 224, 0.28);
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 28px rgba(0, 0, 0, 0.08);
  color: rgba(232, 241, 250, 0.82);
  transform: translateY(0);
  transition: background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, color 260ms ease, transform 260ms ease;
}

.afra-finder-section--v4 .afra-finder-options label:hover span {
  background: rgba(32, 78, 147, 0.66);
  border-color: rgba(126, 172, 226, 0.62);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.13), 0 16px 34px rgba(2, 18, 42, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.afra-finder-section--v4 .afra-finder-options input:checked + span {
  background: rgba(24, 73, 164, 0.9);
  border-color: rgba(105, 151, 220, 0.82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 16px 38px rgba(8, 43, 102, 0.28);
  color: #fff;
}

html[data-theme="light"] .afra-finder-section--v4 .afra-finder-options span {
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(30, 72, 126, 0.18);
  color: #24445f;
}

html[data-theme="light"] .afra-finder-section--v4 .afra-finder-options label:hover span {
  background: rgba(226, 236, 248, 0.88);
  border-color: rgba(35, 83, 153, 0.38);
  color: #123b70;
}

html[data-theme="light"] .afra-finder-section--v4 .afra-finder-options input:checked + span {
  background: rgba(25, 73, 161, 0.9);
  border-color: rgba(25, 73, 161, 0.72);
  color: #fff;
}

/* Testimonial carousel — sample content remains explicitly unattributed. */
.afra-testimonial-slider {
  margin-block-start: clamp(3.5rem, 7vw, 7rem);
}

.afra-testimonial-track {
  min-height: clamp(390px, 45vw, 560px);
  position: relative;
}

.afra-testimonial-slide {
  align-content: space-between;
  backdrop-filter: blur(22px) saturate(135%);
  background: rgba(9, 27, 50, 0.58);
  border: 1px solid rgba(147, 195, 234, 0.2);
  border-radius: clamp(30px, 4vw, 48px);
  display: grid;
  inset: 0;
  opacity: 0;
  overflow: hidden;
  padding: clamp(1.5rem, 5vw, 4.8rem);
  pointer-events: none;
  position: absolute;
  transform: translateX(34px) scale(0.985);
  transition: opacity 620ms var(--afra-v4-ease), transform 720ms var(--afra-v4-ease);
}

.afra-testimonial-slide::before {
  background: radial-gradient(circle, rgba(76, 133, 211, 0.24), transparent 66%);
  content: "";
  height: 32rem;
  inset-block-start: -16rem;
  inset-inline-end: -8rem;
  position: absolute;
  width: 32rem;
}

.afra-testimonial-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: none;
  z-index: 2;
}

.afra-testimonial-slide blockquote {
  color: #eef5fb;
  font-size: clamp(2rem, 4.4vw, 5.2rem);
  font-weight: 480;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: clamp(2.5rem, 7vw, 6rem) 0 3rem;
  max-width: 18ch;
  position: relative;
  text-wrap: balance;
}

.afra-testimonial-slide footer {
  align-items: center;
  display: flex;
  gap: 1rem;
  position: relative;
}

.afra-testimonial-slide footer > span:last-child {
  display: grid;
  gap: 0.3rem;
}

.afra-testimonial-slide footer strong {
  color: #e8f1fa;
  font-size: 0.84rem;
}

.afra-testimonial-slide footer small {
  color: #8299ad;
  font-size: 0.7rem;
}

.afra-testimonial-slide .afra-testimonial-card__avatar {
  flex: 0 0 auto;
  height: 58px;
  margin: 0;
  width: 58px;
}

.afra-testimonial-slide .afra-testimonial-card__avatar i {
  height: 18px;
  width: 18px;
}

.afra-testimonial-slide .afra-testimonial-card__avatar i::after {
  height: 13px;
  inset-block-start: 21px;
  inset-inline-start: -6px;
  width: 28px;
}

.afra-testimonial-controls {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
  margin-block-start: 1rem;
}

.afra-testimonial-controls button,
.afra-portal-slider-controls button {
  align-items: center;
  backdrop-filter: blur(18px) saturate(140%);
  background: rgba(18, 45, 82, 0.58);
  border: 1px solid rgba(151, 191, 229, 0.3);
  border-radius: 50%;
  color: #eff6fc;
  cursor: pointer;
  display: inline-flex;
  height: 46px;
  justify-content: center;
  transition: background 260ms ease, border-color 260ms ease, transform 260ms ease;
  width: 46px;
}

.afra-testimonial-controls button:hover,
.afra-portal-slider-controls button:hover {
  background: rgba(39, 85, 160, 0.78);
  border-color: rgba(145, 185, 236, 0.66);
  transform: scale(1.05);
}

.afra-testimonial-controls > span,
.afra-portal-slider-controls > span {
  color: #7893ab;
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  min-width: 4.5rem;
  text-align: center;
}

html[data-theme="light"] .afra-testimonial-slide {
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(20, 55, 97, 0.12);
  box-shadow: 0 24px 70px rgba(25, 53, 89, 0.1);
}

html[data-theme="light"] .afra-testimonial-slide blockquote,
html[data-theme="light"] .afra-testimonial-slide footer strong {
  color: #0b1f34;
}

html[data-theme="light"] .afra-testimonial-controls button {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(20, 55, 97, 0.18);
  color: #174477;
}

/* Portal carousel with official Afra Labs overlay. */
.afra-portal-card {
  backdrop-filter: blur(28px) saturate(125%);
  background: rgba(5, 15, 29, 0.74);
  border-color: rgba(138, 179, 219, 0.2);
  border-radius: 38px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.3);
}

.afra-portal-art[data-afra-portal-slider] {
  background: #06101d;
  display: block;
  isolation: isolate;
  min-height: min(820px, calc(100svh - 4rem));
  overflow: hidden;
  padding: 0;
  position: relative;
}

.afra-portal-art[data-afra-portal-slider]::before {
  background: linear-gradient(180deg, rgba(2, 8, 18, 0.18), rgba(2, 8, 18, 0.04) 42%, rgba(2, 8, 18, 0.9));
  pointer-events: none;
  z-index: 3;
}

.afra-portal-slides,
.afra-portal-slide,
.afra-portal-slide > img {
  inset: 0;
  position: absolute;
}

.afra-portal-slide {
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.035);
  transition: opacity 950ms var(--afra-v4-ease), transform 7s ease;
}

.afra-portal-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

.afra-portal-slide > img {
  filter: brightness(1.06) saturate(0.98) contrast(1.04) !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  width: 100% !important;
}

.afra-portal-slide:first-child > img {
  filter: brightness(1.16) saturate(0.98) contrast(1.05) !important;
}

.afra-portal-slide figcaption {
  display: grid;
  gap: 0.45rem;
  inset-block-end: 6.6rem;
  inset-inline: clamp(1.5rem, 5vw, 3.5rem);
  position: absolute;
  z-index: 5;
}

.afra-portal-slide figcaption span {
  color: #7fb2e5;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.afra-portal-slide figcaption strong {
  color: #f4f8fc;
  font-size: clamp(1.8rem, 3.4vw, 3.4rem);
  font-weight: 510;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 13ch;
  text-shadow: 0 10px 32px rgba(0, 0, 0, 0.48);
}

.afra-portal-slide figcaption small {
  color: rgba(230, 240, 249, 0.66);
  font-size: 0.78rem;
  max-width: 36ch;
}

.afra-portal-brand {
  align-items: center;
  backdrop-filter: blur(22px) saturate(140%);
  background: rgba(4, 17, 35, 0.5);
  border: 1px solid rgba(154, 197, 236, 0.2);
  border-radius: 26px;
  display: flex;
  gap: 0.9rem;
  inset-block-start: clamp(1.5rem, 5vw, 3rem);
  inset-inline-start: 50%;
  padding: 0.8rem 1rem;
  position: absolute;
  transform: translateX(-50%);
  z-index: 6;
}

[dir="rtl"] .afra-portal-brand {
  transform: translateX(50%);
}

.afra-portal-brand > img {
  filter: drop-shadow(0 14px 35px rgba(20, 100, 220, 0.34));
  height: 54px !important;
  margin: 0;
  width: 54px !important;
}

.afra-portal-brand > span {
  display: grid;
  gap: 0.18rem;
  min-width: max-content;
}

.afra-portal-brand strong {
  color: #f6f9fc;
  font-size: 0.78rem;
  font-weight: 560;
  letter-spacing: 0.18em;
}

.afra-portal-brand small {
  color: rgba(227, 238, 248, 0.58);
  font-size: 0.58rem;
}

.afra-portal-slider-controls {
  align-items: center;
  display: flex;
  gap: 0.6rem;
  inset-block-end: 1.5rem;
  inset-inline-end: clamp(1.5rem, 5vw, 3rem);
  position: absolute;
  z-index: 6;
}

.afra-portal-slider-controls button {
  height: 42px;
  width: 42px;
}

html[data-theme="light"] .afra-portal-card {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(20, 55, 97, 0.12);
  box-shadow: 0 30px 90px rgba(24, 52, 87, 0.15);
}

@media (max-width: 780px) {
  .afra-hero-controls {
    padding-inline: 0.8rem;
  }

  .afra-hero-control {
    height: 46px;
    width: 46px;
  }

  .afra-menu-preferences .afra-language-trigger__globe {
    display: block;
  }

  .afra-testimonial-track {
    min-height: 520px;
  }

  .afra-testimonial-slide blockquote {
    font-size: clamp(1.8rem, 8.6vw, 3.2rem);
  }
}

@media (max-width: 700px) {
  .afra-menu-preferences .afra-language-popover {
    inset-inline-end: 0;
  }

  .afra-portal-art[data-afra-portal-slider] {
    min-height: 570px;
  }

  .afra-portal-slide figcaption {
    inset-block-end: 6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .afra-testimonial-slide,
  .afra-portal-slide,
  .afra-hero-control,
  .afra-finder-section--v4 .afra-finder-options span {
    transition: none !important;
  }
}

/* Afra Labs V4.4: compact desktop rhythm, header language access, and editorial refinement. */
.afra-luxury-header .afra-header-actions > .afra-language-menu {
  display: block !important;
  z-index: 3;
}

.afra-luxury-header .afra-header-actions > .afra-theme-toggle {
  display: none !important;
}

.afra-header-actions .afra-language-trigger {
  background: rgba(7, 21, 40, 0.42);
  height: 38px;
  min-width: 66px;
}

.afra-header-actions .afra-language-popover {
  inset-block-start: calc(100% + 0.8rem);
}

.afra-menu-preferences--theme {
  align-items: center;
  display: flex;
  gap: 0;
}

.afra-menu-preferences--theme .afra-theme-toggle {
  background: rgba(12, 34, 63, 0.5);
}

/* Utility navigation is text-led, not button-led. */
.afra-menu-portal,
.afra-footer-portal,
.afra-back-top,
.afra-button--portal {
  backdrop-filter: none !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: rgba(225, 236, 246, 0.76) !important;
  min-height: auto !important;
  padding: 0 !important;
  text-decoration: none;
  text-underline-offset: 0.32em;
}

.afra-menu-portal:hover,
.afra-footer-portal:hover,
.afra-back-top:hover,
.afra-button--portal:hover {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #ffffff !important;
  text-decoration: underline;
}

html[data-theme="light"] .afra-menu-portal,
html[data-theme="light"] .afra-footer-portal,
html[data-theme="light"] .afra-back-top,
html[data-theme="light"] .afra-button--portal {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  color: #174477 !important;
}

.afra-button--portal::before {
  display: none !important;
}

/* Selected insights: ordered, quiet, and consistently Apple-like. */
.afra-insights-editorial {
  background: #f4f4f6;
  color: #07090d;
}

.afra-insights-editorial .afra-eyebrow,
.afra-insights-editorial h2,
.afra-insight-story__copy strong {
  color: #07090d !important;
}

.afra-insights-editorial .afra-eyebrow {
  font-weight: 720;
}

.afra-insights-all {
  align-items: center;
  color: #075ebd;
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 650;
  gap: 0.45rem;
  justify-self: end;
  text-decoration: none;
}

.afra-insights-all span {
  transition: transform 280ms ease;
}

.afra-insights-all:hover span {
  transform: translate(3px, -3px);
}

.afra-insight-stories {
  align-items: stretch;
  display: grid;
  gap: clamp(1rem, 1.6vw, 1.4rem);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr);
  margin-block-start: clamp(2.75rem, 5vw, 4.5rem);
}

.afra-insight-story,
.afra-insight-story--featured {
  background: #ffffff;
  border: 1px solid rgba(7, 17, 29, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 48px rgba(22, 42, 68, 0.07);
  display: grid;
  grid-column: auto;
  grid-row: auto;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
  overflow: hidden;
  transform: translateY(0);
  transition: box-shadow 420ms ease, transform 420ms var(--afra-v4-ease);
}

.afra-insight-story:hover {
  box-shadow: 0 28px 70px rgba(22, 42, 68, 0.12);
  transform: translateY(-5px);
}

.afra-insight-story__visual {
  aspect-ratio: 4 / 3;
  min-height: 0;
}

.afra-insight-story__copy {
  padding: clamp(1.25rem, 2vw, 1.8rem);
}

.afra-insight-story__copy small {
  color: #52708b;
}

.afra-insight-story__copy strong {
  font-size: clamp(1.2rem, 1.55vw, 1.6rem);
  line-height: 1.12;
  margin-block: 0.75rem;
}

.afra-insight-story__copy p {
  color: #536274;
  font-size: 0.84rem;
}

html[data-theme="light"] .afra-insights-editorial {
  background: #f4f4f6;
}

/* Testimonial: a compact aligned carousel over approved Afra holding imagery. */
.afra-testimonials,
html[data-theme="light"] .afra-testimonials {
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.98) 0%, rgba(2, 8, 18, 0.9) 38%, rgba(2, 8, 18, 0.48) 72%, rgba(2, 8, 18, 0.7) 100%),
    url('/assets/images/holding/hero-01-holding.webp') center / cover no-repeat;
  color: #f4f8fc;
  isolation: isolate;
  padding-block: clamp(4.5rem, 7vw, 6.5rem);
  position: relative;
}

.afra-testimonials__layout {
  align-items: end;
  display: grid;
  gap: clamp(2.5rem, 6vw, 6rem);
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
}

.afra-testimonials__heading {
  align-self: start;
  max-width: 28rem;
}

.afra-testimonials__heading .afra-eyebrow {
  color: #8bc7fa;
}

.afra-testimonials__heading h2,
html[data-theme="light"] .afra-testimonials__heading h2 {
  color: #f4f8fc;
  font-size: clamp(2.5rem, 4vw, 4.6rem);
  max-width: 9ch;
}

.afra-testimonials__heading > p:last-child,
html[data-theme="light"] .afra-testimonials__heading > p:last-child {
  color: rgba(226, 238, 248, 0.68);
  font-size: 0.9rem;
  margin-inline: 0;
  max-width: 34rem;
}

.afra-testimonial-slider {
  margin-block-start: 0;
  min-width: 0;
}

.afra-testimonial-track {
  min-height: clamp(300px, 29vw, 370px);
}

.afra-testimonial-slide,
html[data-theme="light"] .afra-testimonial-slide {
  align-content: space-between;
  background: rgba(5, 17, 33, 0.7);
  border-color: rgba(159, 201, 237, 0.24);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  padding: clamp(1.5rem, 3vw, 2.7rem);
}

.afra-testimonial-slide blockquote,
html[data-theme="light"] .afra-testimonial-slide blockquote {
  color: #eef5fb;
  font-size: clamp(1.55rem, 2.5vw, 2.8rem);
  line-height: 1.08;
  margin: clamp(1.5rem, 3vw, 2.5rem) 0 2rem;
  max-width: 22ch;
}

.afra-testimonial-slide footer strong,
html[data-theme="light"] .afra-testimonial-slide footer strong {
  color: #e8f1fa;
}

.afra-testimonial-slide .afra-testimonial-card__avatar {
  height: 48px;
  width: 48px;
}

.afra-testimonial-controls {
  margin-block-start: 0.8rem;
}

/* Desktop sections use an intentional eighty-percent visual rhythm without shrinking body copy. */
@media (min-width: 1100px) {
  :root {
    --afra-gutter: clamp(1rem, 3.2vw, 3.2rem);
    --afra-section-space: clamp(4.4rem, 7.2vw, 8rem);
  }

  .afra-shell {
    max-width: 1180px;
  }

  .afra-editorial-heading h2 {
    font-size: clamp(2.4rem, 4.4vw, 5.1rem);
  }

  .afra-hero--slider,
  .afra-hero-slide__content {
    min-height: clamp(42rem, 80svh, 52rem);
  }

  .afra-hero-slide__content {
    padding-block: clamp(7.2rem, 13.6vh, 10.4rem) clamp(6.8rem, 11.2vh, 8.8rem);
  }

  .afra-hero-slide__content h2 {
    font-size: clamp(3.2rem, 6vw, 6.55rem);
  }

  .afra-facts--editorial dl > div {
    min-height: 232px;
    padding: clamp(1.25rem, 1.9vw, 1.85rem);
  }

  .afra-facts--editorial dd {
    font-size: clamp(2.8rem, 4.4vw, 5.1rem);
  }
}

@media (max-width: 900px) {
  .afra-insight-stories {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-testimonials__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-testimonials__heading {
    max-width: 38rem;
  }

  .afra-testimonials__heading h2 {
    max-width: 12ch;
  }
}

@media (max-width: 520px) {
  .afra-header-actions .afra-language-popover {
    inset-inline-end: 0;
  }

  .afra-header-actions .afra-language-trigger {
    min-width: 58px;
  }

  .afra-testimonials {
    background-position: 62% center;
  }

  .afra-testimonial-track {
    min-height: 420px;
  }
}

/* Afra Labs V4.5: full-field scenes, unbounded architecture, and compact pathways. */

/* Hero controls belong to the image edge, while the visual fills the viewport. */
.afra-hero-controls.afra-shell {
  inset-inline: 0;
  margin-inline: 0;
  max-width: none;
  padding-inline: clamp(1rem, 2.2vw, 2.75rem);
  width: 100%;
}

@media (min-width: 1100px) {
  .afra-hero--slider,
  .afra-hero-slide__content {
    min-height: max(49rem, 100svh);
  }

  .afra-hero-slide__content {
    padding-block: clamp(8.2rem, 15vh, 11.5rem) clamp(7.4rem, 12.5vh, 10rem);
  }
}

/* Brand Architecture: dotted field without an enclosing chart boundary. */
.afra-brand-architecture[data-afra-brand-architecture] {
  background-color: #030914;
  background-image: radial-gradient(circle, rgba(126, 176, 218, 0.16) 1px, transparent 1.35px);
  background-size: 25px 25px;
  position: relative;
}

.afra-brand-map[data-afra-brand-map] {
  background: transparent;
  border: 0;
  border-radius: 0;
  box-sizing: border-box;
  max-width: none;
  overflow: visible;
  padding: clamp(3.5rem, 6vw, 6.5rem) max(var(--afra-gutter), calc((100vw - 1180px) / 2));
  width: 100%;
}

.afra-brand-map[data-afra-brand-map]::before {
  background:
    radial-gradient(circle at var(--afra-dot-x, 50%) var(--afra-dot-y, 30%), rgba(49, 126, 205, 0.2), transparent 15rem),
    radial-gradient(circle at var(--afra-dot-x, 50%) var(--afra-dot-y, 30%), transparent 0 5.5rem, rgba(122, 188, 235, 0.18) 5.65rem 5.72rem, transparent 5.9rem);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  transition: background-position 180ms linear;
  z-index: -1;
}

.afra-brand-map__dots {
  inset-inline: 0;
  mask-image: linear-gradient(to bottom, transparent, black 14%, black 88%, transparent);
  opacity: 0.82;
}

.afra-brand-map__layer,
.afra-brand-map__layer.is-active {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.afra-brand-map__layer > header {
  padding-inline: 0;
}

.afra-brand-map__layer li a {
  backdrop-filter: blur(18px) saturate(125%);
  background: rgba(4, 16, 31, 0.68);
  border-color: rgba(148, 194, 232, 0.14);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045), 0 18px 52px rgba(0, 0, 0, 0.12);
}

html[data-theme="light"] .afra-brand-architecture[data-afra-brand-architecture] {
  background-color: #f3f6f9;
  background-image: radial-gradient(circle, rgba(27, 73, 125, 0.14) 1px, transparent 1.35px);
}

html[data-theme="light"] .afra-brand-map[data-afra-brand-map] {
  background: transparent;
  border: 0;
}

html[data-theme="light"] .afra-brand-map__layer,
html[data-theme="light"] .afra-brand-map__layer.is-active {
  background: transparent;
  border: 0;
}

/* Contain the bidirectional timeline indicator inside its own section. */
.afra-timeline-section--v4,
.afra-timeline--editorial {
  overflow: clip;
}

.afra-timeline--editorial::after {
  contain: layout paint;
}

/* Leadership portrait depth responds to both scrolling and the pointer. */
.afra-leader-story figure {
  isolation: isolate;
  position: relative;
}

.afra-leader-story figure::after {
  background: linear-gradient(145deg, transparent 48%, rgba(14, 67, 119, 0.12));
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.afra-leader-story figure img {
  min-height: 112%;
  transform: translate3d(var(--portrait-pointer-x, 0), calc(var(--portrait-scroll-y, 0px) + var(--portrait-pointer-y, 0px)), 0) scale(1.075);
  transition: transform 850ms var(--afra-v4-ease), filter 500ms ease;
  will-change: transform;
}

.afra-leader-story:hover figure img {
  filter: saturate(1.05) contrast(1.02);
  transform: translate3d(var(--portrait-pointer-x, 0), calc(var(--portrait-scroll-y, 0px) + var(--portrait-pointer-y, 0px)), 0) scale(1.105);
}

/* Global Collaboration: generated map and motion are the section background. */
.afra-global--immersive,
html[data-theme="light"] .afra-global--immersive {
  background: #020711;
  color: #f4f8fc;
  display: block;
  isolation: isolate;
  min-height: max(46rem, 100svh);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.afra-global__backdrop,
.afra-global__veil,
.afra-global__motion {
  inset: 0;
  position: absolute;
}

.afra-global__backdrop {
  height: 108%;
  inset: -4%;
  object-fit: cover;
  object-position: center;
  transform: translate3d(var(--global-pointer-x, 0), calc(var(--global-scroll-y, 0px) + var(--global-pointer-y, 0px)), 0) scale(1.045);
  transition: transform 900ms var(--afra-v4-ease);
  width: 108%;
  will-change: transform;
  z-index: -3;
}

.afra-global__veil {
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.86) 0%, rgba(2, 7, 17, 0.44) 33%, transparent 62%),
    rgba(2, 7, 17, 0.1);
  pointer-events: none;
  z-index: -2;
}

[dir="rtl"] .afra-global__veil {
  background:
    linear-gradient(270deg, rgba(2, 7, 17, 0.86) 0%, rgba(2, 7, 17, 0.44) 33%, transparent 62%),
    rgba(2, 7, 17, 0.1);
}

.afra-global__motion {
  filter: drop-shadow(0 0 13px rgba(77, 157, 225, 0.3));
  height: 100%;
  pointer-events: none;
  width: 100%;
  z-index: -1;
}

.afra-global__routes path {
  animation: afra-world-route 8s linear infinite;
  fill: none;
  stroke: rgba(93, 172, 238, 0.5);
  stroke-dasharray: 0.035 0.025;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.afra-global__routes path:nth-child(2n) {
  animation-duration: 10.5s;
  stroke: rgba(226, 174, 91, 0.46);
}

.afra-global__moving-points circle {
  fill: #9bd7ff;
  filter: drop-shadow(0 0 7px #62b8f8);
}

.afra-global__content {
  align-items: center;
  display: grid;
  min-height: max(46rem, 100svh);
  position: relative;
  z-index: 2;
}

.afra-global__copy {
  backdrop-filter: blur(10px) saturate(115%);
  background: rgba(2, 9, 20, 0.18);
  border-inline-start: 1px solid rgba(133, 188, 232, 0.26);
  max-width: 34rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.afra-global__copy h2,
html[data-theme="light"] .afra-global--immersive h2 {
  color: #f4f8fc;
  font-size: clamp(3.3rem, 6vw, 6.6rem);
  line-height: 0.91;
  max-width: 8.5ch;
}

.afra-global__copy > p:not(.afra-eyebrow),
html[data-theme="light"] .afra-global--immersive .afra-global__copy > p:not(.afra-eyebrow) {
  color: rgba(224, 237, 247, 0.72);
  font-size: 0.94rem;
  max-width: 45ch;
}

.afra-global__copy .afra-eyebrow,
html[data-theme="light"] .afra-global--immersive .afra-eyebrow {
  color: #8bc8f5;
}

/* Compact luxury consultation card slider. */
.afra-consultation {
  background:
    radial-gradient(circle at 80% 20%, rgba(35, 92, 160, 0.16), transparent 30rem),
    #020711;
  overflow: hidden;
  padding-block: clamp(5rem, 8vw, 8rem);
}

.afra-consultation__heading {
  align-items: end;
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1fr) auto;
}

.afra-consultation__heading > div:first-child {
  max-width: 45rem;
}

.afra-consultation__heading h2 {
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: 0.95;
}

.afra-consultation__heading > div:first-child > p:last-child {
  color: #8fa4b8;
  font-size: 0.92rem;
  max-width: 46rem;
}

.afra-consultation__controls {
  align-items: center;
  display: flex;
  gap: 0.65rem;
}

.afra-consultation__controls button {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(14, 42, 76, 0.58);
  border: 1px solid rgba(139, 186, 226, 0.25);
  border-radius: 50%;
  color: #eaf3fb;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  transition: background 260ms ease, transform 260ms ease;
  width: 44px;
}

.afra-consultation__controls button:hover {
  background: rgba(34, 79, 143, 0.72);
  transform: scale(1.05);
}

.afra-consultation__controls > span {
  color: #728ba3;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  min-width: 4.5rem;
  text-align: center;
}

.afra-consultation__viewport {
  margin-block-start: clamp(2.5rem, 5vw, 4.5rem);
  max-width: 860px;
  overflow: hidden;
  padding-block: 1rem 2rem;
}

.afra-consultation__track {
  display: flex;
  gap: 1rem;
  transition: transform 680ms var(--afra-v4-ease);
  width: max-content;
  will-change: transform;
}

.afra-consultation-card {
  backdrop-filter: blur(22px) saturate(125%);
  background: rgba(8, 25, 47, 0.68);
  border: 1px solid rgba(140, 190, 231, 0.15);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.15);
  box-sizing: border-box;
  cursor: pointer;
  display: flex;
  flex: 0 0 clamp(285px, 28vw, 360px);
  flex-direction: column;
  min-height: 390px;
  opacity: 0.58;
  padding: clamp(1.35rem, 2.2vw, 1.9rem);
  transform: scale(0.97);
  transition: opacity 420ms ease, transform 520ms var(--afra-v4-ease), border-color 420ms ease, background 420ms ease;
}

.afra-consultation-card.is-active {
  background: rgba(13, 38, 70, 0.82);
  border-color: rgba(116, 174, 224, 0.36);
  opacity: 1;
  transform: none;
}

.afra-consultation-card header {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.afra-consultation-card header span {
  color: #82b7e5;
  font-size: 0.68rem;
}

.afra-consultation-card header small {
  color: #70869a;
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.afra-consultation-card h3 {
  color: #f0f6fb;
  font-size: clamp(1.55rem, 2.15vw, 2.2rem);
  font-weight: 510;
  line-height: 1.02;
  margin-block: 2.2rem 1rem;
}

.afra-consultation-card > p {
  color: #95a9bb;
  font-size: 0.82rem;
  line-height: 1.65;
}

.afra-consultation-card ul {
  color: #b4c4d2;
  list-style: none;
  margin: 1.3rem 0 1.6rem;
  padding: 0;
}

.afra-consultation-card li {
  border-block-start: 1px solid rgba(154, 197, 233, 0.12);
  font-size: 0.72rem;
  line-height: 1.5;
  padding-block: 0.65rem;
}

.afra-consultation-card > a {
  align-items: center;
  color: #dfeaf4;
  display: flex;
  font-size: 0.72rem;
  font-weight: 620;
  gap: 0.55rem;
  justify-content: space-between;
  margin-block-start: auto;
  text-decoration: none;
}

.afra-consultation-card > a i {
  color: #76aee0;
  font-style: normal;
}

html[data-theme="light"] .afra-consultation {
  background: #edf2f6;
  color: #07111d;
}

html[data-theme="light"] .afra-consultation h2 {
  color: #07111d;
}

html[data-theme="light"] .afra-consultation-card {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(20, 55, 97, 0.12);
}

html[data-theme="light"] .afra-consultation-card.is-active {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(35, 83, 145, 0.28);
}

html[data-theme="light"] .afra-consultation-card h3,
html[data-theme="light"] .afra-consultation-card > a {
  color: #0b1f34;
}

html[data-theme="light"] .afra-consultation-card > p,
html[data-theme="light"] .afra-consultation-card ul {
  color: #526274;
}

/* Keep the testimonial artwork fitted to the complete viewport section. */
.afra-testimonials,
html[data-theme="light"] .afra-testimonials {
  align-items: center;
  background-position: center;
  display: grid;
  min-height: calc(100svh + clamp(6rem, 10vw, 9rem));
}

/* FAQ is intentionally tighter; controls use the holding navy. */
.afra-faq--v4 {
  padding-block: clamp(3.8rem, 6vw, 6.25rem);
}

.afra-faq--v4 .afra-editorial-heading h2 {
  font-size: clamp(2.7rem, 4.7vw, 5.2rem);
  max-width: 9ch;
}

.afra-faq--v4 .afra-faq-list {
  margin-block-start: clamp(2rem, 3.5vw, 3.5rem);
}

.afra-faq--v4 .afra-faq-item button {
  min-height: 0;
  padding-block: 1rem;
}

.afra-faq--v4 .afra-faq-item h3,
.afra-faq--v4 .afra-faq-item button {
  font-size: clamp(0.92rem, 1.25vw, 1.16rem);
}

.afra-faq--v4 .afra-faq-item button > span:last-child {
  color: #173f70;
  font-size: 1.25rem;
  font-weight: 650;
}

.afra-faq--v4 .afra-faq-answer p {
  font-size: 0.84rem;
  max-width: 66ch;
  padding-block-end: 1rem;
}

/* Footer invitation: balanced typography and a compact, aligned CTA. */
.afra-footer-invitation {
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  grid-template-columns: minmax(0, 1fr) auto;
}

.afra-footer-invitation .afra-eyebrow {
  color: #6f9bc2;
  font-size: 0.64rem;
  letter-spacing: 0.14em;
}

.afra-footer-invitation h2 {
  color: #dbe8f4;
  font-size: clamp(3rem, 6.2vw, 6.8rem);
  line-height: 0.92;
  max-width: 9ch;
}

.afra-footer-invitation .afra-editorial-cta {
  align-items: center;
  background: rgba(13, 38, 70, 0.62) !important;
  border: 1px solid rgba(135, 183, 224, 0.3) !important;
  border-radius: 999px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 16px 38px rgba(0, 0, 0, 0.15) !important;
  color: #e8f2fa !important;
  font-size: 0.78rem;
  gap: 0.8rem;
  justify-self: end;
  min-height: 46px;
  padding: 0.65rem 1.05rem !important;
  white-space: nowrap;
}

.afra-footer-invitation .afra-editorial-cta span:last-child {
  color: #7eb1dd;
}

/* Menu: quieter hierarchy, smaller type, and no fluorescent accents. */
.afra-editorial-menu__panel {
  background:
    radial-gradient(circle at 80% 10%, rgba(30, 68, 108, 0.16), transparent 34rem),
    #030b16;
  grid-template-rows: 68px minmax(0, 1fr) 68px;
}

.afra-editorial-menu__body {
  gap: clamp(2.5rem, 5vw, 6rem);
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  padding-block: clamp(1.5rem, 3vh, 2.5rem);
}

.afra-editorial-menu .afra-eyebrow {
  color: #718aa2;
  font-size: 0.62rem;
}

.afra-editorial-menu .afra-nav-list a {
  color: #dfe8f1;
  font-size: clamp(1.55rem, 2.2vw, 2.65rem);
  gap: 0.85rem;
  line-height: 1.04;
  padding-block: 0.5rem;
}

.afra-editorial-menu .afra-nav-list a > span {
  color: #6f92b0;
  font-size: 0.56rem;
}

.afra-editorial-menu .afra-nav-list a:hover {
  color: #ffffff;
}

.afra-editorial-menu__companies a {
  color: #d2dde7;
  font-size: 0.82rem;
  min-height: 64px;
  padding: 0.45rem 0.8rem;
}

.afra-editorial-menu__companies img {
  height: 30px;
  width: 30px;
}

.afra-editorial-menu__companies i,
.afra-menu-portal span:last-child {
  color: #7398b8;
}

.afra-editorial-menu__companies a:hover {
  background: rgba(88, 129, 168, 0.08);
  color: #ffffff;
}

.afra-menu-close {
  border-color: rgba(143, 180, 212, 0.22);
  color: #d8e4ee;
  height: 38px;
  width: 38px;
}

@media (max-width: 900px) {
  .afra-consultation__heading {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-consultation__controls {
    justify-content: flex-start;
  }

  .afra-global__backdrop {
    object-position: 64% center;
  }

  .afra-global__copy {
    max-width: min(31rem, 88vw);
  }
}

@media (max-width: 780px) {
  .afra-brand-map[data-afra-brand-map] {
    border-radius: 0;
    padding-inline: var(--afra-gutter);
  }

  .afra-editorial-menu__body {
    display: block;
  }

  .afra-editorial-menu .afra-nav-list a {
    font-size: clamp(1.4rem, 6vw, 2.35rem);
  }

  .afra-editorial-menu__companies a {
    min-height: 54px;
  }

  .afra-footer-invitation {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-footer-invitation .afra-editorial-cta {
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .afra-global__backdrop,
  .afra-global__routes path,
  .afra-leader-story figure img,
  .afra-consultation__track,
  .afra-consultation-card {
    animation: none !important;
    transition: none !important;
  }
}

/* Afra Labs V4.7: final cascade repairs after the legacy theme layers. */
.afra-brand-architecture[data-afra-brand-architecture] {
  background-image: radial-gradient(circle, rgba(112, 151, 184, 0.12) 1px, transparent 1.3px);
  background-size: 34px 34px;
}

.afra-brand-map[data-afra-brand-map]::before {
  background:
    radial-gradient(circle at var(--afra-dot-x, 50%) var(--afra-dot-y, 30%), rgba(50, 91, 132, 0.11), transparent 14rem),
    radial-gradient(circle at var(--afra-dot-x, 50%) var(--afra-dot-y, 30%), transparent 0 5.2rem, rgba(118, 153, 184, 0.1) 5.3rem 5.37rem, transparent 5.5rem);
}

.afra-brand-map__progress {
  background: rgba(120, 148, 174, 0.22);
  bottom: 7.5rem;
  top: calc(clamp(3.5rem, 6vw, 6.5rem) + 9rem);
  z-index: 0;
}

.afra-brand-map__progress span {
  background: linear-gradient(#315f91, #7894ad);
  box-shadow: 0 0 18px rgba(49, 95, 145, 0.38);
}

.afra-brand-map__root,
.afra-brand-map__layers,
.afra-brand-map__private {
  position: relative;
  z-index: 1;
}

.afra-timeline-section--v4 {
  overflow: clip;
}

.afra-timeline--editorial {
  overflow: visible;
}

.afra-timeline--editorial::after {
  background: #315f91;
  border: 4px solid #d8e3ec;
  box-shadow: 0 0 0 7px rgba(49, 95, 145, 0.14), 0 0 22px rgba(49, 95, 145, 0.38);
  box-sizing: border-box;
  contain: none;
  height: 22px;
  inset-inline-start: 10px;
  top: 2px;
  width: 22px;
}

.afra-consultation__viewport {
  max-width: 1180px;
}

.afra-consultation-card {
  flex-basis: clamp(315px, 31vw, 390px);
  min-height: 440px;
}

.afra-testimonial-slide blockquote,
html[data-theme="light"] .afra-testimonial-slide blockquote {
  margin-inline: auto;
  max-width: 24ch;
  text-align: left;
  text-wrap: pretty;
}

.afra-faq--v4 {
  padding-block: clamp(3rem, 4.8vw, 5rem);
}

.afra-faq--v4 .afra-editorial-heading h2 {
  font-size: clamp(2.5rem, 4.2vw, 4.5rem);
}

.afra-faq--v4 .afra-faq-list {
  margin-block-start: clamp(1.5rem, 2.7vw, 2.75rem);
}

.afra-faq--v4 .afra-faq-item button {
  padding-block: 0.82rem;
}

.afra-faq--v4 .afra-faq-item h3,
.afra-faq--v4 .afra-faq-item button {
  font-size: clamp(0.88rem, 1.1vw, 1.06rem);
}

@media (max-width: 780px) {
  .afra-brand-map__progress {
    top: calc(var(--afra-gutter) + 11.5rem);
  }

  .afra-consultation-card {
    flex-basis: min(86vw, 350px);
  }
}

/* Afra Labs V4.9: complete visual systems, editorial pathways, and marquee proof. */
.afra-brand-architecture[data-afra-brand-architecture] {
  background: #030914 !important;
  background-image: none !important;
  isolation: isolate;
  overflow: clip;
  position: relative;
}

.afra-brand-architecture__canvas {
  height: 100%;
  inset: 0;
  opacity: 0.92;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.afra-brand-architecture__heading,
.afra-brand-map[data-afra-brand-map] {
  position: relative;
  z-index: 1;
}

.afra-brand-map[data-afra-brand-map] {
  background: transparent !important;
  border: 0 !important;
}

.afra-brand-map[data-afra-brand-map]::before {
  background:
    radial-gradient(circle at var(--afra-dot-x, 50%) var(--afra-dot-y, 30%), rgba(71, 112, 151, 0.15), transparent 11rem),
    radial-gradient(circle at var(--afra-dot-x, 50%) var(--afra-dot-y, 30%), transparent 0 5rem, rgba(139, 169, 196, 0.14) 5.08rem 5.16rem, transparent 5.3rem) !important;
}

.afra-brand-map__layer {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.afra-brand-map__layer > header i {
  background: linear-gradient(90deg, rgba(105, 139, 170, 0.28), transparent);
}

html[data-theme="light"] .afra-brand-architecture[data-afra-brand-architecture] {
  background: #eef3f7 !important;
}

html[data-theme="light"] .afra-brand-architecture__canvas {
  filter: contrast(0.86) saturate(0.72);
  opacity: 0.5;
}

.afra-operating-editorial {
  background: #020711;
  color: #f4f7fa;
  overflow: clip;
}

.afra-operating-editorial__overview,
.afra-operating-editorial__cap {
  isolation: isolate;
  min-height: clamp(35rem, 78svh, 52rem);
  overflow: hidden;
  position: relative;
}

.afra-operating-editorial__overview > img,
.afra-operating-editorial__cap > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transform: scale(1.015);
  transition: transform 1400ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  z-index: -2;
}

.afra-operating-editorial__overview:hover > img,
.afra-operating-editorial__cap:hover > img {
  transform: scale(1.04);
}

.afra-operating-editorial__overview-veil {
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.94) 0%, rgba(2, 7, 17, 0.72) 39%, rgba(2, 7, 17, 0.2) 70%, rgba(2, 7, 17, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 7, 17, 0.2), rgba(2, 7, 17, 0.76));
  inset: 0;
  position: absolute;
  z-index: -1;
}

.afra-operating-editorial__overview-copy {
  align-content: end;
  display: grid;
  min-height: inherit;
  padding-block: clamp(7rem, 14vh, 10rem) clamp(4rem, 8vh, 6.5rem);
}

.afra-operating-editorial__overview-copy h2 {
  color: #f6f8fb;
  font-size: clamp(3.5rem, 6vw, 7rem);
  line-height: 0.94;
  margin: 1rem 0 1.4rem;
  max-width: 9.5ch;
}

.afra-operating-editorial__overview-copy > p:last-of-type {
  color: #9eafc0;
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  max-width: 48rem;
}

.afra-operating-editorial__overview-copy ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  list-style: none;
  margin: clamp(2rem, 4vw, 3.5rem) 0 0;
  padding: 0;
}

.afra-operating-editorial__overview-copy li {
  backdrop-filter: blur(14px);
  background: rgba(8, 26, 46, 0.46);
  border: 1px solid rgba(126, 163, 195, 0.22);
  border-radius: 999px;
  color: #c9d7e3;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.72rem 1rem;
  text-transform: uppercase;
}

.afra-operating-stories {
  border-block: 1px solid rgba(126, 163, 195, 0.16);
}

.afra-operating-story {
  background: #020711;
  min-height: clamp(38rem, 78svh, 52rem);
}

.afra-operating-story__visual {
  min-height: inherit;
}

.afra-operating-story__visual::after {
  background: linear-gradient(180deg, transparent 58%, rgba(1, 6, 14, 0.32));
}

.afra-operating-story__copy {
  align-content: center;
}

.afra-operating-story__copy .afra-eyebrow {
  color: #7c94aa !important;
}

.afra-operating-editorial__cap {
  min-height: clamp(28rem, 56svh, 40rem);
}

.afra-operating-editorial__cap::after {
  background: linear-gradient(90deg, rgba(2, 7, 17, 0.92), rgba(2, 7, 17, 0.36) 58%, rgba(2, 7, 17, 0.66));
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.afra-operating-editorial__cap .afra-shell {
  align-content: end;
  display: grid;
  min-height: inherit;
  padding-block: clamp(4rem, 8vw, 7rem);
}

.afra-operating-editorial__cap strong {
  color: #eef4f9;
  font-size: clamp(2rem, 4.1vw, 4.8rem);
  font-weight: 430;
  line-height: 1;
  max-width: 16ch;
}

.afra-global--immersive,
html[data-theme="light"] .afra-global--immersive {
  background: #020711;
  min-height: clamp(42rem, 92svh, 58rem);
}

.afra-global__backdrop {
  filter: saturate(0.82) contrast(1.08) brightness(0.82);
  object-position: center;
  transform: translate3d(var(--global-pointer-x, 0), calc(var(--global-scroll-y, 0px) + var(--global-pointer-y, 0px)), 0) scale(1.045);
}

.afra-global__veil {
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.92) 0%, rgba(2, 7, 17, 0.74) 31%, rgba(2, 7, 17, 0.16) 58%, rgba(2, 7, 17, 0.1) 100%),
    rgba(2, 7, 17, 0.1);
}

.afra-global__dot-field {
  background-image: radial-gradient(circle, rgba(151, 181, 207, 0.22) 1px, transparent 1.2px);
  background-size: 26px 26px;
  inset: 0;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.28), transparent 42%, rgba(0, 0, 0, 0.08));
  opacity: 0.34;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.afra-global__motion {
  opacity: 0.84;
  z-index: 2;
}

.afra-global__routes path {
  animation-duration: 7.5s;
  stroke-dasharray: 0.018 0.04;
  stroke-linecap: round;
  stroke-width: 1.25;
}

.afra-global__node-halo {
  animation: afra-global-node 3.2s ease-out infinite;
  animation-delay: var(--node-delay);
  fill: none;
  opacity: 0.5;
  stroke: rgba(149, 192, 228, 0.66);
  stroke-width: 1;
}

.afra-global__node-core {
  fill: #d9e9f6;
  filter: drop-shadow(0 0 6px rgba(106, 166, 218, 0.9));
}

@keyframes afra-global-node {
  0% { opacity: 0.65; transform: scale(0.45); }
  75%, 100% { opacity: 0; transform: scale(1.75); }
}

.afra-global__content {
  z-index: 3;
}

.afra-global__copy {
  backdrop-filter: blur(22px) saturate(112%);
  background: rgba(3, 11, 24, 0.7);
  border: 1px solid rgba(151, 181, 207, 0.19);
  border-inline-start-color: rgba(151, 181, 207, 0.42);
  border-radius: 0 32px 32px 0;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
  max-width: 35rem;
  padding: clamp(2rem, 4vw, 3.8rem);
}

.afra-global__copy h2,
html[data-theme="light"] .afra-global--immersive h2 {
  font-size: clamp(3rem, 5.3vw, 6.2rem);
  max-width: 8.4ch;
}

.afra-consultation {
  background:
    radial-gradient(circle at 50% 55%, rgba(29, 65, 102, 0.2), transparent 34rem),
    #030a15;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(6rem, 9vw, 9rem);
  position: relative;
}

.afra-consultation__heading {
  align-items: end;
  grid-template-columns: minmax(0, 1fr) auto;
}

.afra-consultation__heading > div:first-child {
  max-width: 60rem;
}

.afra-consultation__heading h2 {
  font-size: clamp(3rem, 5.7vw, 6.4rem);
}

.afra-consultation__status {
  color: #8398ab;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  padding-block-end: 0.45rem;
}

.afra-consultation__viewport,
.afra-consultation__viewport.afra-shell {
  box-sizing: border-box;
  margin-block-start: clamp(2.5rem, 4.5vw, 4.5rem);
  max-width: none !important;
  overflow: hidden;
  padding-block: 1.5rem 2.5rem;
  padding-inline: 0 !important;
  width: 100%;
}

.afra-consultation__track {
  align-items: stretch;
  box-sizing: content-box;
  gap: clamp(1rem, 1.7vw, 1.5rem);
  transition: transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  width: max-content;
}

.afra-consultation-card {
  background: rgba(3, 13, 26, 0.88);
  border: 1px solid rgba(128, 159, 186, 0.18);
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
  flex: 0 0 clamp(320px, 30vw, 410px);
  min-height: 420px;
  opacity: 0.42;
  overflow: hidden;
  padding: clamp(1.55rem, 2.4vw, 2.15rem);
  position: relative;
  transform: scale(0.94);
  transition: opacity 620ms ease, transform 720ms cubic-bezier(0.16, 1, 0.3, 1), border-color 500ms ease, box-shadow 500ms ease;
}

.afra-consultation-card::before {
  animation: afra-consultation-beam 9s linear infinite;
  background: conic-gradient(from 0deg, transparent 0 68%, rgba(105, 153, 197, 0.04) 72%, rgba(153, 197, 231, 0.72) 79%, rgba(45, 91, 137, 0.12) 86%, transparent 92%);
  content: "";
  inset: -72%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 500ms ease;
  z-index: 0;
}

.afra-consultation-card::after {
  background: linear-gradient(145deg, rgba(8, 25, 45, 0.97), rgba(3, 12, 24, 0.98));
  border-radius: 25px;
  content: "";
  inset: 1px;
  pointer-events: none;
  position: absolute;
  z-index: 0;
}

.afra-consultation-card > * {
  position: relative;
  z-index: 1;
}

.afra-consultation-card:hover {
  opacity: 0.76;
}

.afra-consultation-card.is-active {
  border-color: rgba(129, 169, 204, 0.42);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3), 0 0 52px rgba(43, 88, 130, 0.12);
  opacity: 1;
  transform: scale(1);
}

.afra-consultation-card.is-active::before {
  opacity: 1;
}

@keyframes afra-consultation-beam {
  to { transform: rotate(1turn); }
}

.afra-consultation-card h3 {
  font-size: clamp(1.75rem, 2.3vw, 2.55rem);
  font-weight: 430;
  margin-block-start: clamp(2.5rem, 5vh, 4rem);
}

.afra-consultation-card > p {
  color: #91a2b3;
  font-size: 0.82rem;
}

.afra-consultation-card li {
  color: #8da0b2;
  font-size: 0.72rem;
}

.afra-consultation-card > a {
  color: #c9d8e5;
}

.afra-consultation__controls {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 5;
}

.afra-consultation__controls button {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(6, 19, 34, 0.76);
  border: 1px solid rgba(129, 169, 204, 0.34);
  border-radius: 50%;
  color: #e6eef5;
  cursor: pointer;
  display: flex;
  height: 58px;
  justify-content: center;
  pointer-events: auto;
  position: absolute;
  top: 64%;
  transition: background 300ms ease, border-color 300ms ease, transform 300ms ease;
  width: 58px;
}

.afra-consultation__controls button:hover {
  background: rgba(24, 56, 88, 0.92);
  border-color: rgba(160, 195, 224, 0.66);
  transform: scale(1.06);
}

.afra-consultation__controls button:first-child { left: max(1rem, var(--afra-gutter)); }
.afra-consultation__controls button:last-child { right: max(1rem, var(--afra-gutter)); }

.afra-testimonials--marquee,
html[data-theme="light"] .afra-testimonials--marquee {
  background:
    linear-gradient(90deg, rgba(2, 8, 18, 0.98) 0%, rgba(2, 8, 18, 0.85) 42%, rgba(2, 8, 18, 0.54) 100%),
    url('/assets/images/holding/hero-01-holding.webp') center / cover no-repeat;
  color: #f4f8fc;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(5rem, 8vw, 8rem);
}

.afra-testimonials--marquee .afra-testimonials__heading {
  max-width: 54rem;
}

.afra-testimonials--marquee .afra-testimonials__heading h2 {
  color: #f4f8fc;
  font-size: clamp(2.8rem, 5vw, 5.8rem);
  max-width: 12ch;
}

.afra-testimonials--marquee .afra-testimonials__heading > p:last-child {
  color: #9eb0c1;
  max-width: 46rem;
}

.afra-testimonial-marquee {
  margin-block-start: clamp(2.75rem, 5vw, 5rem);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  overflow: hidden;
}

.afra-testimonial-marquee__row {
  display: flex;
  overflow: hidden;
  width: max-content;
}

.afra-testimonial-marquee__row + .afra-testimonial-marquee__row {
  margin-block-start: 1rem;
}

.afra-testimonial-marquee__group {
  animation: afra-testimonial-marquee 34s linear infinite;
  display: flex;
  flex-shrink: 0;
  gap: 1rem;
  min-width: max-content;
  padding-inline-end: 1rem;
}

.afra-testimonial-marquee__row--reverse .afra-testimonial-marquee__group {
  animation-direction: reverse;
  animation-duration: 38s;
}

.afra-testimonial-marquee:hover .afra-testimonial-marquee__group,
.afra-testimonial-marquee:focus-within .afra-testimonial-marquee__group {
  animation-play-state: paused;
}

@keyframes afra-testimonial-marquee {
  to { transform: translateX(-100%); }
}

.afra-testimonial-marquee-card {
  backdrop-filter: blur(16px) saturate(112%);
  background: linear-gradient(145deg, rgba(7, 23, 42, 0.82), rgba(3, 12, 24, 0.72));
  border: 1px solid rgba(137, 174, 205, 0.2);
  border-radius: 22px;
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.18);
  box-sizing: border-box;
  display: grid;
  gap: 1rem;
  min-height: 176px;
  padding: 1.15rem 1.25rem;
  transition: background 350ms ease, border-color 350ms ease, transform 350ms ease;
  width: clamp(280px, 24vw, 350px);
}

.afra-testimonial-marquee-card:hover {
  background: linear-gradient(145deg, rgba(13, 36, 62, 0.93), rgba(5, 19, 36, 0.9));
  border-color: rgba(151, 191, 224, 0.42);
  transform: translateY(-3px);
}

.afra-testimonial-marquee-card header {
  align-items: center;
  display: grid;
  gap: 0.7rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.afra-testimonial-marquee-card header > span:nth-child(2) {
  display: grid;
}

.afra-testimonial-marquee-card header strong {
  color: #e9f1f8;
  font-size: 0.72rem;
}

.afra-testimonial-marquee-card header small,
.afra-testimonial-marquee-card header em {
  color: #7f94a7;
  font-size: 0.58rem;
  font-style: normal;
}

.afra-testimonial-marquee-card blockquote {
  color: #cbd8e4;
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0;
  max-width: none;
  text-align: left;
}

.afra-testimonial-marquee-card blockquote span {
  color: #6f91af;
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.afra-portal-body {
  background: #02060d;
}

.afra-portal-shell {
  align-items: center;
  display: grid;
  min-height: 100svh;
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.afra-portal-card {
  border: 1px solid rgba(126, 162, 193, 0.22);
  border-radius: 30px;
  box-shadow: 0 36px 120px rgba(0, 0, 0, 0.36);
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr) !important;
  height: min(760px, calc(100svh - 2.5rem));
  margin: auto;
  max-width: 1040px !important;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.afra-portal-copy {
  align-content: center;
  gap: 0.65rem;
  grid-column: 2;
  grid-row: 1;
  overflow-y: auto;
  padding: clamp(1.75rem, 3vw, 2.5rem) !important;
}

.afra-portal-copy h1 {
  font-size: clamp(2.15rem, 3.15vw, 3rem) !important;
  margin-block: 0.3rem 0.2rem;
  max-width: 13ch;
}

.afra-portal-copy > p {
  color: #91a4b7;
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.afra-portal-symbol {
  height: 46px !important;
  width: 46px !important;
}

.afra-portal-copy .afra-eyebrow {
  margin: 0;
}

.afra-portal-form {
  gap: 0.65rem;
}

.afra-portal-form[data-preview-state="inactive"]::before {
  margin-block-end: 0.45rem;
  padding-block-end: 0.55rem;
}

.afra-portal-form label > span:first-child {
  font-size: 0.72rem;
}

.afra-portal-form input,
.afra-password-field,
.afra-password-field input {
  min-height: 46px;
}

.afra-portal-form .afra-button--primary {
  min-height: 46px;
}

.afra-portal-form__note,
.afra-form__note {
  font-size: 0.64rem;
}

.afra-portal-copy > .afra-form__note {
  margin: 0;
}

.afra-portal-theme-controls {
  display: none;
}

.afra-portal-art.afra-portal-art--single {
  grid-column: 1;
  grid-row: 1;
  min-height: 100% !important;
}

.afra-portal-art--single .afra-portal-art__image {
  object-position: 50% 64%;
}

.afra-portal-art--single .afra-portal-brand {
  inset-inline: 1.5rem auto;
  transform: none;
}

.afra-portal-art__caption strong {
  font-size: clamp(1.4rem, 2vw, 2.1rem);
}

@media (max-width: 900px) {
  .afra-operating-editorial__overview-copy h2 { max-width: 10ch; }
  .afra-global__backdrop { object-position: 62% center; }
  .afra-global__copy { max-width: min(32rem, calc(100vw - 2rem)); }
  .afra-consultation__controls button { top: 67%; }
  .afra-portal-card { grid-template-columns: 1fr !important; height: auto; max-width: 720px !important; }
  .afra-portal-copy { grid-column: 1; grid-row: 2; overflow: visible; }
  .afra-portal-art.afra-portal-art--single { grid-column: 1; grid-row: 1; min-height: 310px !important; }
  .afra-portal-art--single .afra-portal-brand { inset-block-start: 1rem; }
  .afra-portal-art__caption { inset-block-end: 1.25rem; }
}

@media (max-width: 620px) {
  .afra-operating-editorial__overview { min-height: 43rem; }
  .afra-operating-editorial__overview > img { object-position: 66% center; }
  .afra-operating-editorial__overview-copy h2 { font-size: clamp(3rem, 14vw, 4.5rem); }
  .afra-operating-editorial__overview-copy ul { display: grid; grid-template-columns: 1fr; }
  .afra-operating-story { min-height: 0; }
  .afra-operating-story__visual { min-height: 29rem; }
  .afra-operating-editorial__cap { min-height: 28rem; }
  .afra-global--immersive { min-height: 48rem; }
  .afra-global__copy { border-radius: 24px; margin-inline: 1rem; padding: 1.5rem; }
  .afra-global__copy h2 { font-size: clamp(2.75rem, 13vw, 4.4rem); }
  .afra-consultation { padding-block: 5rem; }
  .afra-consultation__heading { grid-template-columns: 1fr; }
  .afra-consultation__status { margin-block-start: 1.25rem; }
  .afra-consultation-card { flex-basis: min(82vw, 340px); min-height: 410px; }
  .afra-consultation__controls button { height: 48px; top: 71%; width: 48px; }
  .afra-consultation__controls button:first-child { left: 0.5rem; }
  .afra-consultation__controls button:last-child { right: 0.5rem; }
  .afra-testimonial-marquee { mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
  .afra-testimonial-marquee-card { width: 280px; }
  .afra-portal-shell { padding: 0; }
  .afra-portal-card { border: 0; border-radius: 0; min-height: 100svh; }
  .afra-portal-copy { padding: 2rem 1.25rem 3rem !important; }
}

@media (prefers-reduced-motion: reduce) {
  .afra-brand-architecture__canvas { display: none; }
  .afra-consultation-card::before,
  .afra-global__node-halo,
  .afra-testimonial-marquee__group { animation: none !important; }
  .afra-testimonial-marquee__row { flex-wrap: wrap; width: 100%; }
  .afra-testimonial-marquee__group[aria-hidden="true"] { display: none; }
}

/* Afra Labs V5.0: compact footer, human proof, global framing, portal motion, and responsive controls. */
.afra-luxury-header .afra-header-actions > .afra-theme-toggle {
  display: inline-flex !important;
  flex: 0 0 auto;
}

.afra-theme-toggle {
  height: 40px;
  width: 42px;
}

.afra-theme-toggle__track {
  background: transparent;
  border-radius: 50%;
  height: 28px;
  overflow: visible;
  width: 28px;
}

.afra-theme-toggle__track > i,
.afra-theme-toggle__track > b {
  display: none;
}

.afra-theme-toggle__icon {
  color: #dce9f4;
  display: grid;
  inset: 0;
  place-items: center;
  position: absolute;
  transform: rotate(0) scale(1);
  transition: opacity 300ms ease, transform 420ms var(--afra-v4-ease);
}

.afra-theme-toggle__icon svg {
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 18px;
}

.afra-theme-toggle__icon--sun {
  color: #9a6a12;
  opacity: 0;
  transform: rotate(-55deg) scale(0.62);
}

.afra-theme-toggle[aria-pressed="true"] .afra-theme-toggle__icon--moon {
  opacity: 0;
  transform: rotate(48deg) scale(0.62);
}

.afra-theme-toggle[aria-pressed="true"] .afra-theme-toggle__icon--sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

html[data-theme="light"] .afra-theme-toggle__icon--sun {
  color: #78500b;
}

.afra-menu-preferences--theme .afra-theme-toggle {
  margin-inline-start: auto;
}

.afra-editorial-intro--motion {
  min-height: 118vh;
}

.afra-holding-motion-grid {
  align-items: start;
  gap: clamp(3rem, 6vw, 7rem);
  grid-template-columns: minmax(0, 0.7fr) minmax(460px, 1.3fr);
}

.afra-holding-motion-copy {
  max-width: 32rem;
  padding-block-start: clamp(1rem, 5vh, 4rem);
  text-align: left;
}

.afra-holding-motion-copy h2 {
  font-size: clamp(2.8rem, 5.1vw, 5.8rem);
  max-width: 9.5ch;
}

.afra-holding-motion-copy > p {
  font-size: clamp(0.95rem, 1.05vw, 1.1rem);
  line-height: 1.65;
  margin-block: 1.75rem 2.25rem;
  max-width: 42ch;
}

.afra-holding-motion-copy li {
  font-size: 0.82rem;
}

.afra-holding-motion-stage {
  justify-self: end;
  max-width: 730px;
  width: 100%;
}

.afra-brand-architecture[data-afra-brand-architecture] {
  padding-block-start: clamp(3rem, 5vw, 5.5rem);
}

.afra-brand-architecture > .afra-sr-only + .afra-brand-map {
  margin-block-start: 0;
}

.afra-global--immersive,
html[data-theme="light"] .afra-global--immersive {
  min-height: clamp(42rem, 82svh, 54rem);
}

.afra-global__backdrop {
  filter: saturate(0.82) contrast(1.08) brightness(0.82);
  height: 84%;
  inset: 8% 1.5% 8% 25%;
  object-fit: contain;
  object-position: center;
  transform: translate3d(var(--global-pointer-x, 0), calc(var(--global-scroll-y, 0px) + var(--global-pointer-y, 0px)), 0) scale(0.97);
  width: 73.5%;
  z-index: 0;
}

.afra-global__veil {
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.78) 0%, rgba(2, 7, 17, 0.38) 35%, rgba(2, 7, 17, 0.08) 67%, rgba(2, 7, 17, 0.18) 100%),
    linear-gradient(180deg, rgba(2, 7, 17, 0.16), rgba(2, 7, 17, 0.3));
  z-index: 1;
}

.afra-global__motion {
  height: 84%;
  inset: 8% 1.5% 8% 25%;
  opacity: 0.72;
  width: 73.5%;
  z-index: 2;
}

.afra-global__dot-field {
  z-index: 1;
}

.afra-global__content.afra-shell {
  max-width: none;
  min-height: inherit;
  padding-inline: clamp(1rem, 2vw, 2.4rem);
  width: 100%;
}

.afra-global__copy {
  backdrop-filter: blur(30px) saturate(128%);
  background: rgba(3, 11, 24, 0.46);
  border: 1px solid rgba(151, 181, 207, 0.22);
  border-radius: 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  margin-inline-start: 0;
  max-width: min(31rem, 34vw);
  padding: clamp(1.65rem, 3vw, 3rem);
}

.afra-global__copy h2,
html[data-theme="light"] .afra-global--immersive h2 {
  font-size: clamp(2.85rem, 4.7vw, 5.35rem);
  max-width: 8.8ch;
}

.afra-global__copy > p:not(.afra-eyebrow) {
  font-size: clamp(0.78rem, 0.9vw, 0.92rem);
}

.afra-testimonial-card__avatar {
  background: rgba(7, 24, 44, 0.72);
  border: 1px solid rgba(135, 190, 232, 0.34);
  border-radius: 50%;
  display: block;
  height: 52px;
  overflow: hidden;
  width: 52px;
}

.afra-testimonial-card__avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.afra-testimonial-marquee-card blockquote {
  text-wrap: pretty;
}

.afra-portal-art.afra-portal-art--slider {
  background: #030b18;
  grid-column: 1;
  grid-row: 1;
  min-height: 100% !important;
  overflow: hidden;
  position: relative;
}

.afra-portal-art__slides,
.afra-portal-art__slide {
  inset: 0;
  position: absolute;
}

.afra-portal-art__slide {
  margin: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 900ms ease;
}

.afra-portal-art__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.afra-portal-art__slide > img {
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  transform: scale(1.035);
  transition: transform 5.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.afra-portal-art__slide.is-active > img {
  transform: scale(1);
}

.afra-portal-art__slide figcaption {
  display: none;
}

.afra-portal-art--slider .afra-portal-art__veil {
  background: linear-gradient(180deg, rgba(2, 7, 17, 0.2), rgba(2, 7, 17, 0.05) 52%, rgba(2, 7, 17, 0.82));
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.afra-portal-art--slider .afra-portal-brand {
  inset-block-start: 1.25rem;
  inset-inline: 1.25rem auto;
  transform: none;
  z-index: 3;
}

.afra-portal-art__controls {
  align-items: center;
  display: flex;
  gap: 0.65rem;
  inset-block-end: 1.25rem;
  inset-inline-end: 1.25rem;
  position: absolute;
  z-index: 4;
}

.afra-portal-art__controls button {
  align-items: center;
  appearance: none;
  backdrop-filter: blur(16px);
  background: rgba(4, 15, 29, 0.58);
  border: 1px solid rgba(152, 189, 219, 0.28);
  border-radius: 50%;
  color: #edf5fb;
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.afra-portal-art__controls > span {
  color: rgba(220, 234, 244, 0.72);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
}

.afra-editorial-footer {
  padding-block-start: clamp(3.5rem, 6vw, 6rem);
}

@media (max-width: 1180px) {
  .afra-holding-motion-grid {
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1.22fr);
  }

  .afra-global__copy {
    max-width: min(29rem, 39vw);
  }
}

@media (max-width: 1024px) {
  .afra-holding-motion-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-editorial-intro--motion {
    min-height: auto;
  }

  .afra-holding-motion-copy {
    max-width: 42rem;
  }

  .afra-holding-motion-stage {
    justify-self: end;
    max-width: 650px;
    position: relative;
    top: auto;
  }

  .afra-global__backdrop,
  .afra-global__motion {
    inset-inline: 15% 0;
    width: 85%;
  }

  .afra-global__copy {
    max-width: min(29rem, 48vw);
  }

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

@media (max-width: 780px) {
  .afra-luxury-header .afra-header-actions > .afra-theme-toggle {
    height: 38px;
    width: 38px;
  }

  .afra-holding-motion-copy h2 {
    font-size: clamp(2.7rem, 11vw, 4.6rem);
  }

  .afra-holding-motion-stage {
    border-radius: 30px;
    justify-self: center;
  }

  .afra-brand-map[data-afra-brand-map] {
    padding-inline: clamp(1rem, 4vw, 1.5rem);
  }

  .afra-global--immersive,
  html[data-theme="light"] .afra-global--immersive {
    min-height: 46rem;
  }

  .afra-global__backdrop,
  .afra-global__motion {
    height: 62%;
    inset: 2% 0 auto 0;
    opacity: 0.62;
    width: 100%;
  }

  .afra-global__content.afra-shell {
    align-items: end;
    padding-block: 2rem;
  }

  .afra-global__copy {
    margin-inline: 0;
    max-width: min(31rem, 100%);
    width: 100%;
  }

  .afra-global__copy h2,
  html[data-theme="light"] .afra-global--immersive h2 {
    font-size: clamp(2.7rem, 12vw, 4.35rem);
  }

  .afra-portal-card {
    grid-template-columns: minmax(0, 1fr) !important;
    height: auto;
    max-width: 720px !important;
  }

  .afra-portal-art.afra-portal-art--slider {
    grid-column: 1;
    grid-row: 1;
    min-height: 330px !important;
  }

  .afra-portal-copy {
    grid-column: 1;
    grid-row: 2;
    overflow: visible;
  }

  .afra-portal-art--slider .afra-portal-brand {
    inset-block-start: 0.9rem;
    inset-inline-start: 0.9rem;
  }

  .afra-portal-art__controls {
    inset-block-end: 0.9rem;
    inset-inline-end: 0.9rem;
  }

  .afra-testimonial-marquee-card {
    width: min(82vw, 320px);
  }
}

@media (max-width: 540px) {
  .afra-header-frame {
    padding-inline: 0.85rem;
  }

  .afra-luxury-header .afra-header-actions {
    gap: 0.3rem;
  }

  .afra-nav-toggle {
    height: 38px;
    padding-inline: 0.72rem;
  }

  .afra-brand-lockup strong {
    font-size: 0.72rem;
  }

  .afra-brand-lockup img {
    height: 30px;
    width: 30px;
  }

  .afra-footer-directory,
  .afra-footer-utilities {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-footer-utilities > p {
    justify-self: start;
  }

  .afra-portal-art.afra-portal-art--slider {
    min-height: 280px !important;
  }

  .afra-portal-art--slider .afra-portal-brand span {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .afra-portal-art__slide,
  .afra-portal-art__slide > img,
  .afra-theme-toggle__icon {
    transition: none !important;
  }
}

/* Afra Labs V5.1: complete world-map framing and responsive section rhythm. */
.afra-leadership-editorial {
  padding-block-end: 0;
}

.afra-global--immersive + .afra-insights-editorial {
  padding-block-start: 0;
}

.afra-global--immersive,
html[data-theme="light"] .afra-global--immersive {
  background: #020711;
  box-shadow: 0 -1px 0 #020711, 0 1px 0 #020711;
  min-height: clamp(44rem, 86svh, 58rem);
  overflow: hidden;
  padding: 0;
}

.afra-global__map-stage {
  aspect-ratio: 2 / 1;
  inset-inline-end: clamp(0.75rem, 1.8vw, 2.5rem);
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: min(68vw, 96rem);
  z-index: 0;
}

.afra-global__map-stage .afra-global__backdrop,
.afra-global__map-stage .afra-global__motion {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.afra-global__map-stage .afra-global__backdrop {
  filter: saturate(0.88) contrast(1.08) brightness(0.88);
  object-fit: contain;
  object-position: center;
  transform: translate3d(var(--global-pointer-x, 0), calc(var(--global-scroll-y, 0px) + var(--global-pointer-y, 0px)), 0) scale(0.995);
  z-index: 0;
}

.afra-global__map-stage .afra-global__motion {
  filter: drop-shadow(0 0 12px rgba(77, 157, 225, 0.26));
  opacity: 0.48;
  z-index: 1;
}

.afra-global__veil {
  background:
    linear-gradient(90deg, rgba(2, 7, 17, 0.92) 0%, rgba(2, 7, 17, 0.62) 25%, rgba(2, 7, 17, 0.12) 52%, rgba(2, 7, 17, 0.08) 78%, rgba(2, 7, 17, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 7, 17, 0.2), rgba(2, 7, 17, 0.08) 50%, rgba(2, 7, 17, 0.28));
  inset: 0;
  position: absolute;
  z-index: 1;
}

[dir="rtl"] .afra-global__veil {
  background:
    linear-gradient(270deg, rgba(2, 7, 17, 0.92) 0%, rgba(2, 7, 17, 0.62) 25%, rgba(2, 7, 17, 0.12) 52%, rgba(2, 7, 17, 0.08) 78%, rgba(2, 7, 17, 0.28) 100%),
    linear-gradient(180deg, rgba(2, 7, 17, 0.2), rgba(2, 7, 17, 0.08) 50%, rgba(2, 7, 17, 0.28));
}

.afra-global__dot-field {
  z-index: 2;
}

.afra-global__content.afra-shell {
  align-items: center;
  box-sizing: border-box;
  min-height: inherit;
  padding: clamp(1.25rem, 2.5vw, 2.75rem);
  position: relative;
  width: 100%;
  z-index: 3;
}

.afra-global__copy {
  backdrop-filter: blur(30px) saturate(128%);
  background: rgba(3, 11, 24, 0.5);
  border: 1px solid rgba(151, 181, 207, 0.24);
  border-radius: clamp(1.25rem, 2vw, 1.75rem);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.24);
  box-sizing: border-box;
  margin: 0;
  max-width: min(31rem, 36vw);
  padding: clamp(1.5rem, 2.7vw, 2.8rem);
}

.afra-global__copy h2,
html[data-theme="light"] .afra-global--immersive h2 {
  font-size: clamp(2.8rem, 4.55vw, 5.25rem);
  hyphens: none;
  max-width: 11.5ch;
  overflow-wrap: normal;
  text-wrap: balance;
  word-break: normal;
}

.afra-global__copy > p:not(.afra-eyebrow) {
  font-size: clamp(0.8rem, 0.9vw, 0.94rem);
  max-width: 43ch;
}

@media (min-width: 1800px) {
  .afra-global__map-stage {
    width: min(70vw, 100rem);
  }

  .afra-global__copy {
    max-width: 32rem;
  }
}

@media (max-width: 1180px) {
  .afra-global__map-stage {
    width: 64vw;
  }

  .afra-global__copy {
    max-width: min(28rem, 44vw);
  }
}

@media (max-width: 900px) and (min-width: 821px) {
  .afra-global--immersive,
  html[data-theme="light"] .afra-global--immersive {
    min-height: 42rem;
  }

  .afra-global__map-stage {
    inset-inline-end: 0.5rem;
    width: 62vw;
  }

  .afra-global__copy {
    max-width: min(24rem, 44vw);
    padding: 1.5rem;
  }

  .afra-global__copy h2,
  html[data-theme="light"] .afra-global--immersive h2 {
    font-size: clamp(2.65rem, 6vw, 4rem);
  }
}

@media (max-width: 820px) {
  .afra-global--immersive,
  html[data-theme="light"] .afra-global--immersive {
    display: grid;
    grid-template-rows: auto auto;
    min-height: 0;
  }

  .afra-global__map-stage {
    align-self: start;
    grid-row: 1;
    inset: auto;
    position: relative;
    top: auto;
    transform: none;
    width: 100%;
    z-index: 0;
  }

  .afra-global__content.afra-shell {
    align-items: stretch;
    grid-row: 2;
    min-height: 0;
    padding: 0 clamp(1rem, 4vw, 1.5rem) clamp(1rem, 4vw, 1.5rem);
  }

  .afra-global__copy {
    margin-block-start: clamp(-1.5rem, -2vw, -0.75rem);
    max-width: none;
    width: 100%;
  }

  .afra-global__copy h2,
  html[data-theme="light"] .afra-global--immersive h2 {
    font-size: clamp(2.65rem, 10vw, 4.4rem);
    max-width: 10ch;
  }
}

@media (max-width: 540px) {
  .afra-global__copy {
    backdrop-filter: blur(24px) saturate(120%);
    border-radius: 1.25rem;
    padding: 1.25rem;
  }

  .afra-global__copy h2,
  html[data-theme="light"] .afra-global--immersive h2 {
    font-size: clamp(2.35rem, 11.5vw, 3.7rem);
  }

  .afra-global__copy .afra-button {
    justify-content: center;
    width: 100%;
  }
}

@media (max-width: 900px) and (max-height: 600px) and (orientation: landscape) {
  .afra-global--immersive,
  html[data-theme="light"] .afra-global--immersive {
    min-height: 34rem;
  }

  .afra-global__map-stage {
    inset-inline-end: 0.5rem;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58vw;
  }

  .afra-global__content.afra-shell {
    display: grid;
    min-height: inherit;
    padding: 1rem;
  }

  .afra-global__copy {
    margin: 0;
    max-width: min(23rem, 43vw);
    padding: 1.2rem;
    width: auto;
  }

  .afra-global__copy h2,
  html[data-theme="light"] .afra-global--immersive h2 {
    font-size: clamp(2.25rem, 5.4vw, 3.4rem);
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .afra-global__map-stage .afra-global__backdrop {
    transform: none;
  }
}

/* Afra Labs V6: focused section rhythm, member access, and complete company experiences. */
.afra-account-link {
  align-items: center;
  backdrop-filter: blur(18px) saturate(130%);
  background: rgba(7, 21, 40, 0.5);
  border: 1px solid rgba(164, 204, 236, 0.22);
  border-radius: 50%;
  color: #eaf4fb;
  display: inline-flex;
  height: 48px;
  justify-content: center;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
  width: 48px;
}

.afra-account-link svg {
  fill: none;
  height: 19px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 19px;
}

.afra-account-link:hover,
.afra-account-link:focus-visible {
  background: rgba(12, 43, 76, 0.78);
  border-color: rgba(115, 185, 239, 0.58);
  transform: translateY(-2px);
}

html[data-theme="light"] .afra-account-link {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(7, 17, 29, 0.15);
  color: #173855;
}

.afra-menu-account {
  align-items: center;
  border-block-start: 1px solid rgba(148, 183, 214, 0.16);
  color: #eaf4fb;
  display: flex;
  justify-content: space-between;
  padding: 0.9rem 0;
}

/* Remove the framed shell from The Holding visual and let it occupy the far-right field. */
.afra-editorial-intro--motion {
  min-height: 0;
  padding-block: clamp(4rem, 7vw, 7rem);
}

.afra-holding-motion-grid {
  align-items: center;
  grid-template-columns: minmax(0, 0.72fr) minmax(430px, 1.28fr);
}

.afra-holding-motion-copy {
  padding-block-start: 0;
}

.afra-holding-motion-stage,
html[data-theme="dark"] .afra-holding-motion-stage,
html[data-theme="light"] .afra-holding-motion-stage {
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  justify-self: end;
  max-width: 700px;
  overflow: visible;
  position: relative;
  top: auto;
  transform: translateX(clamp(1.5rem, 4.4vw, 5.5rem));
  width: min(47vw, 700px);
}

/* Tight, deliberate Global Collaboration framing with no blank bands. */
.afra-leadership-editorial,
.afra-leadership-editorial + .afra-global--immersive,
.afra-global--immersive + .afra-insights-editorial {
  margin-block: 0;
}

.afra-global--immersive,
html[data-theme="light"] .afra-global--immersive {
  min-height: clamp(36rem, 70svh, 46rem);
}

.afra-global__content.afra-shell {
  padding: clamp(1rem, 2vw, 2rem);
}

.afra-global__copy {
  max-width: min(30rem, 34vw);
  padding: clamp(1.4rem, 2.25vw, 2.35rem);
}

.afra-global__copy h2,
html[data-theme="light"] .afra-global--immersive h2 {
  font-size: clamp(2.65rem, 4.2vw, 4.8rem);
  max-width: 11.5ch;
}

/* Full company-page system. */
.afra-company-experience-hero {
  overflow: clip;
  padding-block: clamp(4.5rem, 7vw, 7.5rem) clamp(2rem, 4vw, 4rem);
}

.afra-company-experience-hero__grid {
  align-items: center;
  gap: clamp(2.5rem, 5vw, 6rem);
  grid-template-columns: minmax(0, 0.78fr) minmax(480px, 1.22fr);
}

.afra-company-experience-hero__copy {
  position: relative;
  z-index: 2;
}

.afra-company-experience-hero__visual {
  aspect-ratio: 2 / 1;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 40%, rgba(180, 214, 241, 0.16));
  border-radius: clamp(1.5rem, 3vw, 3.25rem);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
  margin: 0;
  min-height: 0;
  min-width: 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.afra-company-experience-hero__visual > img {
  height: 100%;
  object-fit: cover;
  transform: scale(1.015);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.afra-company-experience-hero__visual:hover > img {
  transform: scale(1.045);
}

.afra-company-experience-hero__veil {
  background: linear-gradient(180deg, transparent 38%, rgba(2, 8, 18, 0.92));
  inset: 0;
  position: absolute;
}

.afra-company-experience-hero__visual figcaption {
  align-items: center;
  bottom: clamp(1rem, 2vw, 1.75rem);
  display: flex;
  gap: 1rem;
  inset-inline: clamp(1rem, 2vw, 1.75rem);
  position: absolute;
  z-index: 2;
}

.afra-company-experience-hero__visual figcaption > span {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(3, 12, 25, 0.64);
  border: 1px solid rgba(192, 220, 242, 0.22);
  border-radius: 1.15rem;
  display: grid;
  flex: 0 0 68px;
  height: 68px;
  justify-items: center;
}

.afra-company-experience-hero__visual figcaption img {
  height: 48px;
  object-fit: contain;
  width: 48px;
}

.afra-company-experience-hero__visual figcaption div {
  display: grid;
  gap: 0.35rem;
}

.afra-company-experience-hero__visual figcaption small {
  color: color-mix(in srgb, var(--brand-accent) 74%, #dcebf7);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.afra-company-experience-hero__visual figcaption strong {
  color: #f4f8fb;
  font-size: clamp(0.82rem, 1vw, 1rem);
  font-weight: 550;
  max-width: 37ch;
}

.afra-company-experience--venture .afra-company-experience-hero__visual {
  border-radius: 4rem 1.5rem 4rem 1.5rem;
}

.afra-company-experience--evidence .afra-company-experience-hero__visual,
.afra-company-experience--blueprint .afra-company-experience-hero__visual {
  border-radius: 1rem;
}

.afra-company-experience--pathway .afra-company-experience-hero__visual {
  border-radius: 7rem 7rem 1.5rem 1.5rem;
}

.afra-company-progress {
  background:
    radial-gradient(circle at 82% 8%, color-mix(in srgb, var(--brand-accent) 16%, transparent), transparent 24rem),
    #07101c;
  padding-block: clamp(4.5rem, 7vw, 8rem);
}

.afra-company-progress__grid {
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: clamp(2rem, 4vw, 4rem);
}

.afra-company-progress__grid article {
  background: rgba(4, 15, 29, 0.76);
  border: 1px solid rgba(147, 184, 214, 0.16);
  min-height: 20rem;
  padding: clamp(1.5rem, 2.7vw, 2.75rem);
  transition: background 260ms ease, border-color 260ms ease, transform 260ms ease;
}

.afra-company-progress__grid article:first-child {
  border-radius: 1.5rem 0 0 1.5rem;
}

.afra-company-progress__grid article:last-child {
  border-radius: 0 1.5rem 1.5rem 0;
}

.afra-company-progress__grid article:hover {
  background: color-mix(in srgb, var(--brand-accent) 10%, rgba(4, 15, 29, 0.92));
  border-color: color-mix(in srgb, var(--brand-accent) 52%, rgba(147, 184, 214, 0.2));
  transform: translateY(-6px);
}

.afra-company-progress__grid header {
  align-items: center;
  color: color-mix(in srgb, var(--brand-accent) 75%, #cfe5f6);
  display: flex;
  font-size: 0.65rem;
  justify-content: space-between;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.afra-company-progress__grid h3 {
  color: #f2f7fb;
  font-size: clamp(1.45rem, 2.2vw, 2.3rem);
  font-weight: 460;
  line-height: 1.08;
  margin: clamp(2.5rem, 5vw, 5rem) 0 1rem;
  max-width: 13ch;
}

.afra-company-progress__grid p {
  color: #9fb1c1;
  font-size: 0.88rem;
  line-height: 1.7;
}

.afra-company-capability-system__visual {
  border-radius: 1.5rem;
  min-height: 32rem;
  overflow: hidden;
  padding: 0;
  position: relative;
}

.afra-company-capability-system__visual > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.afra-company-capability-system__visual::after {
  background: linear-gradient(180deg, rgba(3, 10, 22, 0.08), rgba(3, 10, 22, 0.92));
  content: "";
  inset: 0;
  position: absolute;
}

.afra-company-capability-system__visual > span {
  align-items: flex-start;
  bottom: 0;
  display: grid;
  gap: 1rem;
  inset-inline: 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: absolute;
  z-index: 1;
}

.afra-company-capability-system__visual > span img {
  height: 64px;
  object-fit: contain;
  width: 64px;
}

.afra-company-capability-system__visual > span p {
  color: #d3e0ea;
  max-width: 42ch;
}

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

.afra-company-journal-card {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr;
  min-height: 34rem;
  min-width: 0;
  overflow: hidden;
}

.afra-company-journal-card__visual {
  aspect-ratio: 16 / 9;
  border-block-end: 1px solid var(--company-line);
  border-inline-end: 0;
  min-width: 0;
}

.afra-company-journal-card__copy {
  align-content: start;
  min-width: 0;
  padding: clamp(1.4rem, 2.4vw, 2.2rem);
}

.afra-company-journal-card__copy small,
.afra-company-journal-card__copy strong,
.afra-company-journal-card__copy p,
.afra-company-journal-card__copy em {
  max-width: 100%;
  overflow-wrap: anywhere;
}

.afra-company-journal-card__copy strong {
  font-size: clamp(1.45rem, 2.25vw, 2.25rem);
  margin-block: 1rem 1.1rem;
}

.afra-company-journal-card__copy em {
  margin-block-start: 1.4rem;
}

.afra-company-journal-card__visual {
  isolation: isolate;
}

.afra-company-journal-card__visual img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: var(--journal-position, center);
  position: absolute;
  transition: transform 720ms cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
  z-index: -2;
}

.afra-company-journal-card__visual::after {
  background: linear-gradient(180deg, rgba(2, 8, 18, 0.08), rgba(2, 8, 18, 0.7));
  content: "";
  inset: 0;
  position: absolute;
  z-index: -1;
}

.afra-company-journal-card:hover .afra-company-journal-card__visual img {
  transform: scale(1.055);
}

.afra-company-journal-card--published {
  grid-column: span 1;
}

/* Dedicated account gateway. */
body:has(.afra-account-experience) {
  background: #020711;
}

body:has(.afra-account-experience) .afra-site-header,
body:has(.afra-account-experience) .afra-editorial-footer,
body:has(.afra-account-experience) .afra-ai {
  display: none;
}

.afra-account-experience {
  background: #020711;
  color: #eef5fa;
  min-height: 100svh;
}

.afra-account-gateway {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(30rem, 0.92fr);
  min-height: 100svh;
}

.afra-account-gateway__art {
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.afra-account-gateway__art > img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.afra-account-gateway__veil {
  background:
    linear-gradient(180deg, rgba(2, 7, 17, 0.16), rgba(2, 7, 17, 0.38) 50%, rgba(2, 7, 17, 0.96)),
    linear-gradient(90deg, rgba(2, 7, 17, 0.08), rgba(2, 7, 17, 0.38));
  inset: 0;
  position: absolute;
}

.afra-account-gateway__back {
  align-items: center;
  color: rgba(232, 243, 251, 0.82);
  display: inline-flex;
  font-size: 0.76rem;
  gap: 0.65rem;
  inset: 2rem auto auto 2rem;
  position: absolute;
  z-index: 3;
}

.afra-account-gateway__brand {
  align-items: center;
  display: flex;
  gap: 1rem;
  inset: 2rem 2rem auto auto;
  position: absolute;
  z-index: 3;
}

.afra-account-gateway__brand img {
  height: 48px;
  width: 48px;
}

.afra-account-gateway__brand span {
  display: grid;
  gap: 0.2rem;
}

.afra-account-gateway__brand strong {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

.afra-account-gateway__brand small {
  color: rgba(198, 218, 234, 0.66);
  font-size: 0.6rem;
}

.afra-account-gateway__story {
  bottom: clamp(2rem, 6vw, 6rem);
  left: clamp(2rem, 6vw, 6rem);
  max-width: 38rem;
  position: absolute;
  right: clamp(2rem, 6vw, 6rem);
  z-index: 3;
}

.afra-account-gateway__story h2 {
  color: #f2f7fb;
  font-size: clamp(2.6rem, 5vw, 5.4rem);
  font-weight: 430;
  letter-spacing: -0.055em;
  line-height: 0.96;
  margin: 1rem 0 1.5rem;
  max-width: 10ch;
}

.afra-account-gateway__story > p:not(.afra-eyebrow) {
  color: #b0c1cf;
  line-height: 1.7;
  max-width: 49ch;
}

.afra-account-gateway__story ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
}

.afra-account-gateway__story li {
  backdrop-filter: blur(16px);
  background: rgba(6, 22, 40, 0.54);
  border: 1px solid rgba(153, 195, 227, 0.2);
  border-radius: 999px;
  color: #d5e4ee;
  font-size: 0.68rem;
  padding: 0.55rem 0.8rem;
}

.afra-account-gateway__panel {
  align-items: center;
  background:
    radial-gradient(circle at 85% 12%, rgba(24, 112, 205, 0.16), transparent 23rem),
    #050b14;
  display: grid;
  justify-items: center;
  padding: clamp(2rem, 5vw, 5rem);
}

.afra-account-gateway__panel-inner {
  max-width: 32rem;
  width: 100%;
}

.afra-account-gateway__panel h1 {
  color: #f2f7fb;
  font-size: clamp(3rem, 5.4vw, 5rem);
  font-weight: 430;
  letter-spacing: -0.06em;
  line-height: 0.96;
  margin: 1rem 0 1.4rem;
}

.afra-account-gateway__lead,
.afra-account-member > p {
  color: #9eb0bf;
  line-height: 1.7;
}

.afra-auth-primary,
.afra-auth-register {
  align-items: center;
  border-radius: 1rem;
  display: flex;
  margin-block-start: 2rem;
  min-height: 4.8rem;
  padding: 0.85rem 1rem;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}

.afra-auth-primary {
  background: linear-gradient(135deg, #0a5fc3, #167ed8);
  border: 1px solid rgba(145, 207, 252, 0.5);
  box-shadow: 0 20px 54px rgba(8, 92, 183, 0.22);
  color: white;
  gap: 0.9rem;
}

.afra-auth-primary:hover,
.afra-auth-primary:focus-visible,
.afra-auth-register:hover,
.afra-auth-register:focus-visible {
  transform: translateY(-3px);
}

.afra-auth-primary__icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.75rem;
  display: flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.afra-auth-primary__icon svg,
.afra-account-member__avatar svg {
  fill: none;
  height: 22px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 22px;
}

.afra-auth-primary > span:nth-child(2) {
  display: grid;
  flex: 1;
  gap: 0.15rem;
}

.afra-auth-primary small {
  font-size: 0.62rem;
  opacity: 0.72;
}

.afra-auth-primary strong {
  font-size: 0.95rem;
  font-weight: 620;
}

.afra-auth-providers {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-block-start: 0.75rem;
}

.afra-auth-providers span {
  align-items: center;
  background: rgba(9, 23, 40, 0.58);
  border: 1px solid rgba(149, 187, 216, 0.16);
  border-radius: 0.75rem;
  color: #d6e3ec;
  display: flex;
  font-size: 0.7rem;
  gap: 0.45rem;
  justify-content: center;
  padding: 0.7rem 0.5rem;
}

.afra-auth-providers b {
  color: #78b8ec;
  font-size: 0.72rem;
}

.afra-auth-note {
  color: #728697;
  font-size: 0.67rem;
  line-height: 1.6;
  margin-block-start: 0.8rem;
}

.afra-auth-divider {
  align-items: center;
  color: #708394;
  display: flex;
  font-size: 0.67rem;
  gap: 1rem;
  margin-block: 1.7rem 0;
}

.afra-auth-divider::before,
.afra-auth-divider::after {
  background: rgba(149, 187, 216, 0.16);
  content: "";
  flex: 1;
  height: 1px;
}

.afra-auth-register {
  border: 1px solid rgba(139, 185, 222, 0.24);
  color: #e7f0f7;
  justify-content: space-between;
  margin-block-start: 0.75rem;
  min-height: 3.7rem;
}

.afra-account-foundation {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block-start: 1.6rem;
}

.afra-account-foundation article {
  border-block-start: 1px solid rgba(144, 181, 211, 0.18);
  padding-block-start: 1rem;
}

.afra-account-foundation article > span {
  color: #4a93d6;
  font-size: 0.62rem;
}

.afra-account-foundation strong {
  color: #dce8f0;
  display: block;
  font-size: 0.75rem;
  margin-block: 0.7rem 0.45rem;
}

.afra-account-foundation p {
  color: #718697;
  font-size: 0.65rem;
  line-height: 1.55;
}

.afra-account-member__avatar {
  align-items: center;
  background: rgba(12, 83, 156, 0.2);
  border: 1px solid rgba(100, 171, 229, 0.4);
  border-radius: 50%;
  color: #8bc7f4;
  display: flex;
  height: 72px;
  justify-content: center;
  margin-block: 1.4rem;
  width: 72px;
}

.afra-account-member h1 span {
  color: #6db6eb;
}

.afra-account-member__email {
  color: #70b3e5 !important;
  font-size: 0.78rem;
  margin-block: -0.4rem 1.5rem;
}

@media (max-width: 1180px) {
  .afra-holding-motion-stage {
    transform: translateX(2rem);
  }

  .afra-company-experience-hero__grid {
    gap: 2.5rem;
    grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1.08fr);
  }

  .afra-company-experience-hero__visual {
    min-height: 0;
  }

  .afra-account-gateway {
    grid-template-columns: minmax(0, 1fr) minmax(28rem, 0.9fr);
  }
}

@media (max-width: 960px) {
  .afra-editorial-intro--motion {
    padding-block: 4rem;
  }

  .afra-holding-motion-grid,
  .afra-company-experience-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-holding-motion-stage {
    justify-self: end;
    max-width: 620px;
    transform: none;
    width: min(88vw, 620px);
  }

  .afra-company-experience-hero__copy {
    max-width: 44rem;
  }

  .afra-company-experience-hero__visual {
    min-height: 0;
  }

  .afra-company-progress__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-company-progress__grid article {
    min-height: 0;
  }

  .afra-company-progress__grid article:first-child {
    border-radius: 1.25rem 1.25rem 0 0;
  }

  .afra-company-progress__grid article:last-child {
    border-radius: 0 0 1.25rem 1.25rem;
  }

  .afra-company-progress__grid h3 {
    margin-block-start: 2.5rem;
    max-width: 18ch;
  }

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

  .afra-account-gateway {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-account-gateway__art {
    min-height: min(46rem, 62svh);
  }

  .afra-account-gateway__panel {
    min-height: 38rem;
    padding-block: 5rem;
  }
}

@media (max-width: 820px) {
  .afra-account-link,
  .afra-luxury-header .afra-header-actions > .afra-theme-toggle {
    height: 38px;
    width: 38px;
  }

  .afra-global--immersive,
  html[data-theme="light"] .afra-global--immersive {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  .afra-company-experience-hero {
    padding-block-start: 3rem;
  }

  .afra-company-experience-hero__visual {
    aspect-ratio: 1.35 / 1;
    border-radius: 1.5rem !important;
  }

  .afra-company-experience-hero__visual figcaption {
    align-items: flex-start;
  }

  .afra-company-experience-hero__visual figcaption strong {
    font-size: 0.75rem;
  }

  .afra-company-experience-hero__visual figcaption > span {
    flex-basis: 54px;
    height: 54px;
  }

  .afra-company-experience-hero__visual figcaption img {
    height: 38px;
    width: 38px;
  }

  .afra-company-capability-system__visual {
    min-height: 24rem;
  }

  .afra-company-journal-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .afra-account-gateway__art {
    min-height: 34rem;
  }

  .afra-account-gateway__brand {
    inset: 1rem 1rem auto auto;
  }

  .afra-account-gateway__brand span {
    display: none;
  }

  .afra-account-gateway__back {
    inset: 1.25rem auto auto 1.25rem;
  }

  .afra-account-gateway__story {
    bottom: 2rem;
    left: 1.25rem;
    right: 1.25rem;
  }

  .afra-account-gateway__story h2 {
    font-size: clamp(2.6rem, 13vw, 4.3rem);
  }

  .afra-account-gateway__story ul {
    display: none;
  }

  .afra-account-gateway__panel {
    min-height: 0;
    padding: 3.5rem 1.25rem;
  }

  .afra-auth-providers,
  .afra-account-foundation {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  .afra-account-link,
  .afra-luxury-header .afra-header-actions > .afra-theme-toggle {
    height: 36px;
    width: 36px;
  }

  .afra-luxury-header .afra-header-actions {
    gap: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .afra-company-experience-hero__visual > img,
  .afra-company-journal-card__visual img {
    transition: none;
  }
}
