/* Authority profile system
   About EN/ES and the connected organizer evidence layer. */

body[data-design-page="authority-profile"] {
  --authority-paper: #f2eee6;
  --authority-ink: #11131b;
  --authority-night: #0b0d16;
  --authority-panel: #151823;
  --authority-coral: #e8614d;
  --authority-mint: #9ce1cf;
  --authority-line: rgba(255, 255, 255, .14);
  background: var(--authority-night);
}

body[data-design-page="authority-profile"] cite {
  font-style: normal;
}

body[data-design-page="authority-profile"] :where(.bento, .journey, .timeline-section, .research, .gallery, .projects, .about-numbers) {
  display: none;
}

body[data-design-page="authority-profile"] .nav {
  min-height: 76px;
  padding-block: 14px;
  background: rgba(11, 13, 22, .86);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  backdrop-filter: blur(18px);
}

body[data-design-page="authority-profile"] .nav__logo {
  color: #fff;
}

body[data-design-page="authority-profile"] .about-hero {
  min-height: 820px;
  padding: 132px 0 84px;
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    var(--authority-night);
  background-size: 64px 64px, 64px 64px, auto;
}

body[data-design-page="authority-profile"] .about-hero::before {
  inset: auto 0 0 auto;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, var(--authority-night), transparent 38%);
  z-index: 2;
}

body[data-design-page="authority-profile"] .about-hero::after {
  inset: auto max(24px, calc((100vw - var(--mw)) / 2)) 46px auto;
  width: min(34vw, 430px);
  height: auto;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(11, 13, 22, .78);
  color: rgba(255, 255, 255, .72);
  content: "RESEARCH / MEDIA / STAGE\A EVIDENCE INDEX 2026";
  font: 700 .64rem/1.75 var(--ff-head);
  letter-spacing: .14em;
  white-space: pre;
  backdrop-filter: blur(14px);
}

body[data-design-page="authority-profile"] .about-hero__inner {
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  gap: clamp(36px, 6vw, 92px);
  align-items: center;
}

body[data-design-page="authority-profile"] .about-hero__badge {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--authority-coral);
  font-size: .69rem;
  letter-spacing: .16em;
}

body[data-design-page="authority-profile"] .about-hero__name {
  max-width: 760px;
  margin-top: 24px;
  font-size: clamp(3.5rem, 6.4vw, 6.6rem);
  line-height: .92;
  letter-spacing: -.07em;
  text-wrap: balance;
}

body[data-design-page="authority-profile"] .about-hero__name .line2 {
  color: var(--authority-coral);
}

body[data-design-page="authority-profile"] .about-hero__bio {
  max-width: 680px;
  margin-top: 32px;
  padding-left: 20px;
  border-left: 2px solid var(--authority-coral);
  color: #d4d8e4;
  font-size: 1.03rem;
  line-height: 1.75;
}

body[data-design-page="authority-profile"] .about-hero__links {
  margin-top: 30px;
}

body[data-design-page="authority-profile"] .about-hero__links .btn {
  min-height: 50px;
  border-radius: 2px;
}

body[data-design-page="authority-profile"] .about-hero__evidence {
  max-width: 720px;
  margin-top: 32px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

body[data-design-page="authority-profile"] .about-hero__evidence a {
  color: #aeb6c9;
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body[data-design-page="authority-profile"] .about-hero__photo-wrap {
  height: 590px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 0;
  background: #1a1d27;
  clip-path: polygon(11% 0, 100% 0, 100% 89%, 84% 100%, 0 100%, 0 12%);
}

body[data-design-page="authority-profile"] .about-hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 24%;
  filter: grayscale(.7) contrast(1.08);
}

body[data-design-page="authority-profile"] .about-hero__photo-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 52%, rgba(11, 13, 22, .85));
  content: "";
  pointer-events: none;
}

body[data-design-page="authority-profile"] .decision-card {
  right: 22px;
  bottom: 26px;
  z-index: 3;
  border-radius: 0;
  background: rgba(11, 13, 22, .9);
}

body[data-design-page="authority-profile"] .corporate-proof {
  padding: 76px 0;
  background: var(--authority-paper);
  color: #555a65;
}

body[data-design-page="authority-profile"] .corporate-proof__heading,
body[data-design-page="authority-profile"] .proof-metric__number,
body[data-design-page="authority-profile"] .proof-quote blockquote,
body[data-design-page="authority-profile"] .stage-line__name {
  color: var(--authority-ink);
}

body[data-design-page="authority-profile"] .corporate-proof__heading {
  max-width: 780px;
  font-size: clamp(2.5rem, 4.8vw, 4.9rem);
  line-height: .98;
  letter-spacing: -.055em;
}

body[data-design-page="authority-profile"] .corporate-proof__metrics {
  gap: 0;
  border-top: 1px solid rgba(17, 19, 27, .18);
  border-bottom: 1px solid rgba(17, 19, 27, .18);
}

body[data-design-page="authority-profile"] .proof-metric {
  padding: 22px 20px 22px 0;
  border-right: 1px solid rgba(17, 19, 27, .18);
}

body[data-design-page="authority-profile"] .proof-metric:last-child {
  border-right: 0;
  padding-left: 20px;
}

body[data-design-page="authority-profile"] .proof-quote {
  border-color: rgba(17, 19, 27, .2);
  border-radius: 0;
  background: transparent;
}

body[data-design-page="authority-profile"] .stage-line {
  border-color: rgba(17, 19, 27, .2);
}

/* Evidence atlas ------------------------------------------------------ */

.authority-atlas {
  position: relative;
  overflow: hidden;
  padding: 104px 0;
  background: #10131c;
}

.authority-atlas::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 12%, rgba(232, 97, 77, .16), transparent 28%),
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px);
  background-size: auto, 100% 72px;
  content: "";
  pointer-events: none;
}

.authority-atlas__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.55fr);
  gap: clamp(44px, 7vw, 104px);
  width: min(calc(100% - 64px), var(--mw));
  margin-inline: auto;
}

.authority-atlas__intro {
  position: sticky;
  top: 110px;
  align-self: start;
}

.authority-atlas__eyebrow {
  display: block;
  color: var(--authority-coral);
  font: 700 .68rem/1.3 var(--ff-head);
  letter-spacing: .16em;
  text-transform: uppercase;
}

.authority-atlas h2 {
  margin-top: 20px;
  font-size: clamp(2.8rem, 5.4vw, 5.4rem);
  line-height: .93;
  letter-spacing: -.065em;
}

.authority-atlas__intro p {
  margin-top: 26px;
  color: #abb3c6;
  font-size: .98rem;
  line-height: 1.72;
}

.authority-atlas__progress {
  position: relative;
  width: 1px;
  height: 148px;
  margin-top: 34px;
  overflow: hidden;
  background: rgba(255, 255, 255, .16);
}

.authority-atlas__progress::after {
  position: absolute;
  inset: 0;
  background: var(--authority-coral);
  content: "";
  transform: scaleY(var(--authority-progress, 0));
  transform-origin: top;
}

.authority-atlas__items {
  display: grid;
  gap: 1px;
  background: var(--authority-line);
  border: 1px solid var(--authority-line);
}

.authority-card {
  position: relative;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
  min-height: 176px;
  padding: 30px;
  overflow: hidden;
  background: var(--authority-panel);
  color: #dce1eb;
  transition: background 220ms ease, transform 220ms ease;
}

.authority-card:hover,
.authority-card:focus-within {
  z-index: 1;
  background: #1a1e2a;
  transform: translateX(-8px);
}

.authority-card__index {
  color: var(--authority-coral);
  font: 700 .68rem/1.2 var(--ff-head);
  letter-spacing: .15em;
}

.authority-card__type {
  display: block;
  margin-bottom: 12px;
  color: var(--authority-mint);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.authority-card h3 {
  max-width: 620px;
  font-size: clamp(1.4rem, 2.5vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: -.04em;
}

.authority-card p {
  max-width: 690px;
  margin-top: 14px;
  color: #aeb6c8;
  font-size: .9rem;
  line-height: 1.65;
}

.authority-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 18px;
}

.authority-card__links a,
.authority-card__arrow {
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(232, 97, 77, .7);
  text-underline-offset: 5px;
}

.authority-card__arrow {
  text-decoration: none;
}

.authority-card--visual {
  grid-template-columns: 112px minmax(0, 1fr) 190px;
}

.authority-card__media {
  width: 190px;
  height: 116px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
}

.authority-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.55) contrast(1.08);
  transition: filter 360ms ease, transform 700ms cubic-bezier(.22, 1, .36, 1);
}

.authority-card:hover .authority-card__media img {
  filter: grayscale(0) contrast(1.04);
  transform: scale(1.045);
}

.authority-atlas__note {
  grid-column: 2;
  margin-top: 26px;
  padding-left: 18px;
  border-left: 2px solid var(--authority-coral);
  color: #9ea7ba;
  font-size: .82rem;
  line-height: 1.6;
}

body[data-design-page="authority-profile"] .executive-brief,
body[data-design-page="authority-profile"] .career-arc,
body[data-design-page="authority-profile"] .credentials,
body[data-design-page="authority-profile"] .about-faq {
  padding-block: 92px;
}

body[data-design-page="authority-profile"] .executive-brief {
  background: #19100f;
}

body[data-design-page="authority-profile"] .executive-outcome,
body[data-design-page="authority-profile"] .career-chapter,
body[data-design-page="authority-profile"] .credential-card,
body[data-design-page="authority-profile"] .about-faq__item {
  border-radius: 0;
}

body[data-design-page="authority-profile"] .career-arc {
  background: var(--authority-paper);
}

body[data-design-page="authority-profile"] .career-arc :where(h2, h3),
body[data-design-page="authority-profile"] .career-arc__intro strong {
  color: var(--authority-ink);
}

body[data-design-page="authority-profile"] .career-chapter {
  border-color: rgba(17, 19, 27, .18);
  background: transparent;
}

body[data-design-page="authority-profile"] .credentials {
  background: #10131c;
}

body[data-design-page="authority-profile"] .credentials__grid {
  gap: 1px;
  overflow: hidden;
  background: var(--authority-line);
  border: 1px solid var(--authority-line);
  border-radius: 0;
}

body[data-design-page="authority-profile"] .credential-card {
  border: 0;
  background: var(--authority-panel);
}

body[data-design-page="authority-profile"] .about-faq {
  background: var(--authority-paper);
}

body[data-design-page="authority-profile"] .about-faq :where(h2, h3) {
  color: var(--authority-ink);
}

body[data-design-page="authority-profile"] .about-faq__item {
  border-color: rgba(17, 19, 27, .2);
  background: transparent;
}

body[data-design-page="authority-profile"] .about-cta {
  position: relative;
  overflow: hidden;
  padding-block: 90px;
  background: var(--authority-coral);
}

body[data-design-page="authority-profile"] .about-cta :where(.label, h2, p) {
  color: #120d0c !important;
  -webkit-text-fill-color: currentColor;
}

body[data-design-page="authority-profile"] .about-cta .grad-coral {
  background: none;
  color: #120d0c;
  -webkit-text-fill-color: currentColor;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .12em;
}

body[data-design-page="authority-profile"] .about-cta .btn--primary {
  background: var(--authority-night);
}

body[data-design-page="authority-profile"] .about-cta .btn--secondary {
  border-color: rgba(18, 13, 12, .35);
  background: transparent;
  color: #120d0c;
}

html.authority-motion-ready body[data-design-page="authority-profile"] .about-hero__photo-wrap {
  clip-path: polygon(11% 0, 11% 0, 0 12%, 0 12%);
  opacity: 0;
  transform: translateY(24px);
}

html.authority-motion-play body[data-design-page="authority-profile"] .about-hero__photo-wrap {
  clip-path: polygon(11% 0, 100% 0, 100% 89%, 84% 100%, 0 100%, 0 12%);
  opacity: 1;
  transform: none;
  transition: clip-path 900ms cubic-bezier(.22, 1, .36, 1), opacity 420ms ease, transform 700ms cubic-bezier(.22, 1, .36, 1);
}

html.authority-motion-ready .authority-card[data-authority-reveal] {
  opacity: 0;
  transform: translateY(28px);
}

html.authority-motion-ready .authority-card[data-authority-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 520ms ease, transform 720ms cubic-bezier(.22, 1, .36, 1), background 220ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

@media (max-width: 960px) {
  body[data-design-page="authority-profile"] .about-hero__inner,
  .authority-atlas__inner {
    grid-template-columns: 1fr;
  }

  body[data-design-page="authority-profile"] .about-hero__photo-wrap {
    height: 500px;
  }

  body[data-design-page="authority-profile"] .about-hero::after {
    display: none;
  }

  .authority-atlas__intro {
    position: static;
  }

  .authority-atlas__progress {
    width: 100%;
    height: 1px;
  }

  .authority-atlas__progress::after {
    transform: scaleX(var(--authority-progress, 0));
    transform-origin: left;
  }

  .authority-atlas__note {
    grid-column: 1;
  }
}

@media (max-width: 680px) {
  body[data-design-page="authority-profile"] .nav {
    min-height: 64px;
  }

  body[data-design-page="authority-profile"] .about-hero {
    min-height: 0;
    padding: 102px 0 64px;
  }

  body[data-design-page="authority-profile"] .about-hero__inner {
    gap: 36px;
    padding-inline: 20px;
  }

  body[data-design-page="authority-profile"] .about-hero__name {
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  body[data-design-page="authority-profile"] .about-hero__bio {
    font-size: .94rem;
  }

  body[data-design-page="authority-profile"] .about-hero__links {
    display: grid;
  }

  body[data-design-page="authority-profile"] .about-hero__photo-wrap {
    height: 430px;
  }

  body[data-design-page="authority-profile"] .corporate-proof,
  body[data-design-page="authority-profile"] .executive-brief,
  body[data-design-page="authority-profile"] .career-arc,
  body[data-design-page="authority-profile"] .credentials,
  body[data-design-page="authority-profile"] .about-faq,
  .authority-atlas {
    padding-block: 68px;
  }

  .authority-atlas__inner {
    width: min(calc(100% - 40px), var(--mw));
    gap: 34px;
  }

  .authority-atlas h2 {
    font-size: clamp(2.6rem, 13vw, 4rem);
  }

  .authority-card,
  .authority-card--visual {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 20px;
  }

  .authority-card:hover,
  .authority-card:focus-within {
    transform: none;
  }

  .authority-card__media {
    width: 100%;
    height: 190px;
  }

  .authority-card__arrow {
    position: absolute;
    top: 24px;
    right: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.authority-motion-ready body[data-design-page="authority-profile"] .about-hero__photo-wrap,
  html.authority-motion-ready .authority-card[data-authority-reveal] {
    clip-path: none;
    opacity: 1;
    transform: none;
    transition: none;
  }

  .authority-card__media img,
  .authority-atlas__progress::after {
    transition: none;
  }
}
