/* Talent Star Mark — plantilla maestra de perfil profesional · Misión 2B */

.talent-profile-page {
  --profile-ink: #05070c;
  --profile-ink-soft: #0a0d14;
  --profile-paper: #f1eee7;
  --profile-paper-muted: #b9b7b0;
  --profile-line: rgba(255, 255, 255, .14);
  --profile-line-soft: rgba(255, 255, 255, .08);
  --profile-gold: var(--gold, #edc45d);
  --profile-max: 1640px;
  --profile-reading: 760px;
  --profile-section-space: clamp(72px, 8vw, 140px);
  background: var(--profile-ink);
}

.talent-profile-page::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, .04), transparent 22%, transparent 78%, rgba(0, 0, 0, .35));
}

.talent-profile-page main,
.talent-profile-page .profile-footer,
.talent-profile-page dialog {
  position: relative;
  z-index: 1;
}

/* La barra flotante debe permanecer fuera del flujo del documento. */
.talent-profile-page .profile-sticky-actions {
  z-index: 72;
}

.profile-background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
  background:
    linear-gradient(125deg, rgba(237, 196, 93, .025), transparent 31%),
    linear-gradient(180deg, #060810 0%, #03050a 62%, #010207 100%);
}

.profile-background span {
  position: absolute;
  display: block;
  width: 44vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(237, 196, 93, .18), transparent);
  transform-origin: center;
}

.profile-background span:first-child {
  top: 18%;
  right: -8%;
  transform: rotate(-28deg);
}

.profile-background span:last-child {
  bottom: 22%;
  left: -12%;
  transform: rotate(21deg);
  opacity: .55;
}

.profile-shell {
  width: min(var(--profile-max), calc(100% - clamp(32px, 5vw, 96px)));
  margin-inline: auto;
}

.profile-header {
  --page-width: 1600px;
}

.profile-header .directory-brand__wordmark {
  letter-spacing: .12em;
}

.profile-header .header-cta {
  white-space: nowrap;
}

.category-breadcrumb {
  color: rgba(245, 247, 255, .58);
  font-size: .76rem;
  letter-spacing: .04em;
}

.category-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.category-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.category-breadcrumb li:not(:last-child)::after {
  color: rgba(237, 196, 93, .64);
  content: "/";
}

.category-breadcrumb a {
  transition: color .18s ease;
}

.category-breadcrumb a:hover {
  color: var(--profile-paper);
}

.profile-hero {
  min-height: 100svh;
  padding: clamp(104px, 9vw, 138px) 0 clamp(44px, 5vw, 78px);
  overflow: clip;
}

.profile-breadcrumb-wrap {
  margin-bottom: clamp(18px, 2vw, 30px);
}

.profile-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(430px, .9fr);
  align-items: center;
  gap: clamp(44px, 6vw, 110px);
}

.profile-hero__media {
  position: relative;
  min-height: 680px;
  height: min(76svh, 900px);
  margin: 0;
  overflow: hidden;
  background: #d7d2c9;
  isolation: isolate;
}

.profile-hero__media::before {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08);
}

.profile-hero__media::after {
  position: absolute;
  inset: 56% 0 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  background: linear-gradient(180deg, transparent, rgba(3, 5, 10, .28));
}

.profile-hero__media picture,
.profile-hero__media img {
  width: 100%;
  height: 100%;
}

.profile-hero__media img {
  object-fit: cover;
  object-position: 50% 35%;
  transform: scale(1.001);
  transition: transform .8s var(--ease-out);
}

body[data-motion="on"] .profile-hero__media:hover img {
  transform: scale(1.018);
}

.profile-hero__media-caption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: baseline;
  gap: .45rem;
  color: #fff;
  font-size: .68rem;
  font-weight: 720;
  letter-spacing: .15em;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0, 0, 0, .5);
}

.profile-hero__media-caption strong {
  color: var(--profile-gold);
  font-size: 1.15rem;
  letter-spacing: .02em;
}

.profile-hero__content {
  position: relative;
  display: grid;
  align-content: center;
  min-width: 0;
}

.profile-hero__status-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem 1rem;
  margin-bottom: clamp(20px, 2vw, 34px);
}

.profile-demo-badge,
.profile-representation {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0;
  color: rgba(245, 247, 255, .7);
  font-size: .7rem;
  font-weight: 760;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profile-demo-badge > span:first-child {
  width: 7px;
  height: 7px;
  border: 1px solid var(--profile-gold);
  border-radius: 50%;
  background: rgba(237, 196, 93, .18);
}

.profile-representation {
  color: var(--profile-gold);
}

.profile-category-line {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .8rem;
  color: var(--profile-paper-muted);
  font-size: clamp(.78rem, 1vw, .92rem);
  font-weight: 680;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-hero h1 {
  display: grid;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(4.7rem, 7.7vw, 9.5rem);
  font-weight: 680;
  line-height: .76;
  letter-spacing: -.07em;
  text-transform: uppercase;
}

.profile-hero h1 span:last-child {
  margin-left: clamp(20px, 4vw, 72px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(245, 247, 255, .72);
}

.profile-positioning {
  max-width: 680px;
  margin: clamp(24px, 3vw, 42px) 0 0;
  color: var(--profile-paper);
  font-family: var(--font-display);
  font-size: clamp(1.22rem, 2vw, 1.9rem);
  font-weight: 520;
  line-height: 1.25;
  letter-spacing: -.025em;
}

.profile-short-description {
  max-width: 650px;
  margin: 1rem 0 0;
  color: var(--profile-paper-muted);
  font-size: clamp(.9rem, 1.1vw, 1.03rem);
  line-height: 1.7;
}

.profile-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: clamp(26px, 3vw, 42px) 0 0;
  padding: 0;
  border-top: 1px solid var(--profile-line);
  border-bottom: 1px solid var(--profile-line);
}

.profile-hero__facts > div {
  min-width: 0;
  padding: 15px 18px 16px 0;
}

.profile-hero__facts > div + div {
  padding-left: 18px;
  border-left: 1px solid var(--profile-line);
}

.profile-hero__facts dt,
.profile-measurement-grid dt,
.profile-fact-sheet dt {
  color: rgba(245, 247, 255, .48);
  font-size: .64rem;
  font-weight: 780;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.profile-hero__facts dd {
  margin: .35rem 0 0;
  color: var(--profile-paper);
  font-size: .83rem;
  line-height: 1.35;
}

.profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.profile-actions--hero {
  margin-top: clamp(24px, 3vw, 38px);
}

.profile-actions--hero .primary-button,
.profile-actions--hero .secondary-button,
.profile-actions--hero .profile-icon-action {
  min-height: 52px;
  border-radius: 0;
}

.profile-actions--hero .primary-button {
  flex: 1 1 240px;
  max-width: 330px;
  padding-inline: 1.2rem;
}

.profile-actions--hero .secondary-button {
  flex: 0 1 auto;
  gap: .55rem;
  padding-inline: 1rem;
  cursor: pointer;
}

.profile-actions--hero .secondary-button svg,
.profile-icon-action svg,
.profile-comp-card__actions svg,
.profile-sticky-actions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-icon-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 48px;
  padding: .7rem .85rem;
  border: 1px solid transparent;
  color: var(--profile-paper-muted);
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.profile-icon-action:hover {
  border-color: var(--profile-line);
  color: var(--profile-paper);
  background: rgba(255, 255, 255, .03);
}

.profile-selection-action[aria-disabled="true"],
.profile-sticky-actions__select[aria-disabled="true"] {
  color: rgba(245, 247, 255, .6);
}

.profile-demo-notice {
  display: grid;
  grid-template-columns: minmax(130px, .75fr) minmax(0, 1.7fr);
  gap: 18px;
  margin-top: 24px;
  padding: 15px 0 0;
  border-top: 1px solid rgba(237, 196, 93, .26);
}

.profile-demo-notice strong {
  color: var(--profile-gold);
  font-size: .72rem;
  line-height: 1.45;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-demo-notice p {
  margin: 0;
  color: rgba(245, 247, 255, .58);
  font-size: .74rem;
  line-height: 1.55;
}

.profile-hero__utility-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  margin-top: 20px;
}

.profile-hero__utility-links a {
  position: relative;
  color: var(--profile-paper);
  font-size: .75rem;
  font-weight: 730;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-hero__utility-links a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 1px;
  background: var(--profile-gold);
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform .22s var(--ease-out);
  content: "";
}

.profile-hero__utility-links a:hover::after {
  transform: scaleX(1);
}

/* Measurements */
.profile-measurements {
  border-top: 1px solid var(--profile-line);
  border-bottom: 1px solid var(--profile-line);
  background: rgba(255, 255, 255, .015);
}

.profile-measurements__inner {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(0, 4fr);
  align-items: stretch;
}

.profile-measurements__head {
  display: flex;
  align-items: center;
  padding: 24px clamp(18px, 2vw, 32px) 24px 0;
  border-right: 1px solid var(--profile-line);
}

.profile-measurements__head .eyebrow {
  margin: 0;
  line-height: 1.5;
}

.profile-measurement-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(88px, 1fr));
  margin: 0;
}

.profile-measurement-grid > div {
  display: grid;
  align-content: center;
  min-height: 112px;
  padding: 20px clamp(12px, 1.4vw, 22px);
}

.profile-measurement-grid > div + div {
  border-left: 1px solid var(--profile-line-soft);
}

.profile-measurement-grid dd {
  margin: .52rem 0 0;
  color: var(--profile-paper);
  font-family: var(--font-display);
  font-size: clamp(.82rem, 1.1vw, 1rem);
  font-weight: 650;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Section navigation */
.profile-section-nav {
  position: sticky;
  top: 82px;
  z-index: 38;
  border-bottom: 1px solid var(--profile-line);
  background: rgba(5, 7, 12, .94);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.profile-section-nav .profile-shell {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-section-nav a {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 62px;
  padding: .75rem clamp(10px, 1.6vw, 24px);
  border-right: 1px solid var(--profile-line-soft);
  color: rgba(245, 247, 255, .56);
  font-size: .74rem;
  font-weight: 720;
  letter-spacing: .08em;
  text-transform: uppercase;
  transition: color .18s ease, background .18s ease;
}

.profile-section-nav a:first-child {
  border-left: 1px solid var(--profile-line-soft);
}

.profile-section-nav a > span:first-child {
  color: var(--profile-gold);
  font-size: .62rem;
}

.profile-section-nav a:hover,
.profile-section-nav a[aria-current="true"] {
  color: var(--profile-paper);
  background: rgba(255, 255, 255, .03);
}

.profile-section-nav a[aria-current="true"] {
  box-shadow: inset 0 -2px var(--profile-gold);
}

/* Shared editorial section */
.profile-editorial-section {
  scroll-margin-top: 150px;
  padding: var(--profile-section-space) 0;
  border-bottom: 1px solid var(--profile-line-soft);
}

.profile-section-heading {
  max-width: 980px;
  margin-bottom: clamp(34px, 5vw, 72px);
}

.profile-section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, .65fr);
  align-items: end;
  max-width: none;
  gap: 36px;
}

.profile-section-heading .eyebrow {
  margin-bottom: .8rem;
}

.profile-section-heading h2,
.profile-professional h2,
.profile-comp-card h2 {
  margin: 0;
  color: var(--profile-paper);
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 7.5rem);
  font-weight: 620;
  line-height: .88;
  letter-spacing: -.06em;
}

.profile-section-heading__aside {
  display: grid;
  gap: 22px;
  padding-bottom: .35rem;
}

.profile-section-heading__aside > p:first-child {
  max-width: 470px;
  margin: 0;
  color: var(--profile-paper-muted);
  line-height: 1.65;
}

.profile-media-count {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  margin: 0;
  color: rgba(245, 247, 255, .48);
  font-size: .68rem;
  font-weight: 720;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.profile-media-count strong {
  color: var(--profile-gold);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 560;
}

/* Portfolio */
.profile-portfolio {
  background: linear-gradient(180deg, rgba(255, 255, 255, .012), transparent 35%);
}

.profile-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: clamp(10px, 1.2vw, 20px);
}

.profile-media-item {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  background: #15171c;
}

.profile-media-item button {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}

.profile-media-item picture,
.profile-media-item img {
  width: 100%;
  height: 100%;
}

.profile-media-item img {
  object-fit: cover;
  background: #15171c;
  transition: transform .55s var(--ease-out), opacity .28s ease;
}

.profile-media-item button:hover img,
.profile-media-item button:focus-visible img {
  transform: scale(1.025);
}

.profile-media-item__caption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 56px 18px 16px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7));
  font-size: .72rem;
  font-weight: 680;
  line-height: 1.35;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s var(--ease-out);
}

.profile-media-item__caption strong {
  color: var(--profile-gold);
  font-size: .65rem;
  letter-spacing: .12em;
}

.profile-media-item button:hover .profile-media-item__caption,
.profile-media-item button:focus-visible .profile-media-item__caption {
  opacity: 1;
  transform: translateY(0);
}

.profile-portfolio-grid .profile-media-item:nth-child(1) {
  grid-column: 1 / span 7;
  grid-row: span 2;
  aspect-ratio: 7 / 8.2;
}

.profile-portfolio-grid .profile-media-item:nth-child(2),
.profile-portfolio-grid .profile-media-item:nth-child(3) {
  grid-column: 8 / span 5;
  aspect-ratio: 5 / 4;
}

.profile-portfolio-grid .profile-media-item:nth-child(4),
.profile-portfolio-grid .profile-media-item:nth-child(5),
.profile-portfolio-grid .profile-media-item:nth-child(6),
.profile-portfolio-grid .profile-media-item:nth-child(7) {
  grid-column: span 3;
  aspect-ratio: 3 / 4;
}

.profile-portfolio-grid .profile-media-item:nth-child(1) img {
  object-position: 50% 42%;
}

.profile-portfolio-grid .profile-media-item:nth-child(2) img {
  object-position: 50% 28%;
}

.profile-portfolio-grid .profile-media-item:nth-child(3) img {
  object-position: 50% 38%;
}

/* Digitals */
.profile-digitals {
  color: #15171b;
  background: var(--profile-paper);
}

.profile-digitals .eyebrow,
.profile-digitals .profile-media-count strong {
  color: #8a6818;
}

.profile-digitals .profile-section-heading h2 {
  color: #0a0c11;
}

.profile-digitals .profile-section-heading__aside > p:first-child,
.profile-digitals .profile-media-count {
  color: rgba(10, 12, 17, .62);
}

.profile-digitals-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 16px);
}

.profile-digitals-grid .profile-media-item {
  aspect-ratio: 4 / 5;
  background: #d9d6d0;
}

.profile-digitals-grid .profile-media-item__caption {
  color: #fff;
}

/* Professional information */
.profile-professional {
  background:
    linear-gradient(90deg, transparent 49.95%, rgba(255, 255, 255, .045) 50%, transparent 50.05%),
    #05070c;
}

.profile-professional__layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(26px, 4vw, 72px);
}

.profile-section-number {
  margin: 0 0 clamp(46px, 7vw, 90px);
  color: rgba(237, 196, 93, .3);
  font-family: var(--font-display);
  font-size: clamp(5rem, 9vw, 10rem);
  font-weight: 520;
  line-height: .7;
  letter-spacing: -.08em;
}

.profile-biography {
  grid-column: 1 / span 7;
  padding-right: clamp(0px, 4vw, 68px);
}

.profile-biography h3,
.profile-fact-sheet h3,
.profile-skills h3,
.profile-specialties h3 {
  margin: 0;
  color: var(--profile-paper);
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 3.3rem);
  font-weight: 580;
  line-height: 1;
  letter-spacing: -.045em;
}

.profile-biography #profileBiography {
  display: grid;
  gap: 1.15rem;
  max-width: var(--profile-reading);
  margin-top: clamp(28px, 4vw, 48px);
}

.profile-biography #profileBiography p {
  margin: 0;
  color: var(--profile-paper-muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.8;
}

.profile-biography #profileBiography p:first-child::first-letter {
  float: left;
  margin: .08em .15em 0 0;
  color: var(--profile-gold);
  font-family: var(--font-display);
  font-size: 4.4em;
  line-height: .75;
}

.profile-fact-sheet {
  grid-column: 8 / span 5;
  align-self: end;
  padding: clamp(26px, 3vw, 46px) 0 0 clamp(0px, 2vw, 36px);
  border-top: 1px solid var(--profile-line);
}

.profile-fact-sheet dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: clamp(26px, 3vw, 44px) 0 0;
}

.profile-fact-sheet dl > div {
  min-height: 92px;
  padding: 18px 16px 18px 0;
  border-top: 1px solid var(--profile-line-soft);
}

.profile-fact-sheet dl > div:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--profile-line-soft);
}

.profile-fact-sheet dd {
  margin: .55rem 0 0;
  color: var(--profile-paper);
  font-size: .9rem;
  line-height: 1.45;
}

.profile-skills,
.profile-specialties {
  grid-column: span 6;
  display: grid;
  grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 28px;
  margin-top: clamp(38px, 5vw, 80px);
  padding-top: clamp(26px, 3vw, 42px);
  border-top: 1px solid var(--profile-line);
}

.profile-skill-list,
.profile-specialty-list {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}

.profile-skill-list span,
.profile-specialty-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: .6rem .85rem;
  border: 1px solid var(--profile-line);
  color: var(--profile-paper);
  font-size: .75rem;
  line-height: 1.2;
}

.profile-specialty-list span {
  border-color: rgba(237, 196, 93, .25);
  color: #e9d7a2;
}

/* Comp card */
.profile-comp-card {
  background: #0a0c12;
}

.profile-comp-card__layout {
  display: grid;
  grid-template-columns: minmax(350px, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: clamp(48px, 8vw, 138px);
}

.profile-comp-card__visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 740px;
  overflow: hidden;
  background: #16181e;
}

.profile-comp-card__visual picture,
.profile-comp-card__visual img {
  width: 100%;
  height: 100%;
}

.profile-comp-card__visual img {
  object-fit: cover;
  object-position: 50% 28%;
  filter: grayscale(1) contrast(1.04);
}

.profile-comp-card__visual::after {
  position: absolute;
  inset: 0;
  content: "";
  border: 1px solid rgba(255, 255, 255, .16);
  background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .36));
}

.profile-comp-card__monogram {
  position: absolute;
  right: 18px;
  bottom: 12px;
  z-index: 2;
  color: rgba(255, 255, 255, .86);
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 8.5rem);
  font-weight: 500;
  line-height: .8;
  letter-spacing: -.08em;
}

.profile-comp-card__content {
  max-width: 760px;
}

.profile-comp-card__content .profile-section-number {
  margin-bottom: clamp(42px, 6vw, 76px);
}

.profile-comp-card__content > p:not(.eyebrow):not(.profile-section-number):not(.profile-comp-card__note) {
  max-width: 620px;
  margin: clamp(26px, 4vw, 44px) 0 0;
  color: var(--profile-paper-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.profile-comp-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 32px;
}

.profile-comp-card__actions a {
  gap: .65rem;
  min-height: 52px;
  border-radius: 0;
}

.profile-comp-card__note {
  max-width: 560px;
  margin: 20px 0 0;
  color: rgba(245, 247, 255, .46);
  font-size: .74rem;
  line-height: 1.55;
}

/* Related and empty sections */
.profile-related {
  padding: var(--profile-section-space) 0;
}

.profile-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 42px;
}

/* Sticky actions */
.profile-sticky-actions {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
  z-index: 72;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(980px, calc(100% - 36px));
  min-height: 66px;
  margin-inline: auto;
  padding: 7px 8px 7px 7px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(7, 9, 15, .96);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .42);
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(100% + 28px));
  transition: opacity .2s ease, transform .28s var(--ease-out);
}

.profile-sticky-actions.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.profile-sticky-actions__identity {
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 0;
}

.profile-sticky-actions__identity img {
  width: 48px;
  height: 52px;
  object-fit: cover;
  object-position: 50% 30%;
}

.profile-sticky-actions__identity > span {
  display: grid;
  min-width: 0;
}

.profile-sticky-actions__identity strong {
  overflow: hidden;
  color: var(--profile-paper);
  font-family: var(--font-display);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-sticky-actions__identity small {
  color: rgba(245, 247, 255, .52);
  font-size: .66rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.profile-sticky-actions__controls {
  display: flex;
  align-items: stretch;
  gap: .45rem;
}

.profile-sticky-actions__select,
.profile-sticky-actions__controls a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  min-height: 48px;
  padding: .65rem .9rem;
  font-size: .74rem;
  font-weight: 760;
  cursor: pointer;
}

.profile-sticky-actions__select {
  border: 1px solid var(--profile-line);
  color: var(--profile-paper);
}

.profile-sticky-actions__controls a {
  color: #07101a;
  background: linear-gradient(135deg, var(--gold-bright), var(--profile-gold));
}

body.profile-sticky-visible .whatsapp-fab {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}

.profile-footer {
  padding-bottom: 100px;
}

/* Gallery dialog */
.profile-gallery-dialog {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  overflow: hidden;
  background: #020306;
}

.profile-gallery-dialog::backdrop {
  background: #020306;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.profile-gallery-viewer {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  height: 100dvh;
  background: #020306;
}

.profile-gallery-viewer > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
  padding: max(14px, env(safe-area-inset-top)) clamp(16px, 3vw, 46px) 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.profile-gallery-viewer > header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
}

.profile-gallery-viewer > header .eyebrow {
  margin: 0 0 .15rem;
  font-size: .6rem;
}

.profile-gallery-viewer > header p:last-child {
  margin: .12rem 0 0;
  color: rgba(245, 247, 255, .55);
  font-size: .7rem;
}

.profile-gallery-viewer__tools {
  display: flex;
  gap: .5rem;
}

.profile-gallery-viewer__stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
  overflow: hidden;
  touch-action: pan-y pinch-zoom;
}

.profile-gallery-viewer__stage picture {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 18px clamp(68px, 8vw, 132px);
}

.profile-gallery-viewer__stage img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 80px rgba(0, 0, 0, .35);
  cursor: zoom-in;
  transition: transform .24s var(--ease-out);
}

.profile-gallery-viewer__stage.is-zoomed {
  display: block;
  overflow: auto;
}

.profile-gallery-viewer__stage.is-zoomed picture {
  width: max-content;
  min-width: 100%;
  height: max-content;
  min-height: 100%;
  padding: 48px 90px;
}

.profile-gallery-viewer__stage.is-zoomed img {
  width: min(1300px, 92vw);
  max-width: none;
  height: auto;
  max-height: none;
  cursor: zoom-out;
}

.profile-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 72px;
  border: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  background: rgba(4, 5, 9, .7);
  transform: translateY(-50%);
  cursor: pointer;
}

.profile-gallery-nav--prev { left: clamp(12px, 2vw, 32px); }
.profile-gallery-nav--next { right: clamp(12px, 2vw, 32px); }

.profile-gallery-nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-gallery-viewer > footer {
  display: grid;
  grid-template-columns: minmax(220px, .45fr) minmax(0, 1.55fr);
  align-items: center;
  gap: 24px;
  min-height: 112px;
  padding: 12px clamp(16px, 3vw, 46px) max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .1);
}

.profile-gallery-viewer > footer > div:first-child {
  display: grid;
  gap: .2rem;
}

.profile-gallery-viewer > footer strong {
  color: var(--profile-paper);
  font-size: .86rem;
}

.profile-gallery-viewer > footer span {
  color: rgba(245, 247, 255, .48);
  font-size: .68rem;
}

.profile-gallery-filmstrip {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.profile-gallery-filmstrip button {
  flex: 0 0 auto;
  width: 52px;
  height: 64px;
  padding: 0;
  border: 1px solid transparent;
  opacity: .52;
  cursor: pointer;
  transition: opacity .18s ease, border-color .18s ease;
}

.profile-gallery-filmstrip button[aria-current="true"] {
  border-color: var(--profile-gold);
  opacity: 1;
}

.profile-gallery-filmstrip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.has-modal-open {
  overflow: hidden;
}

/* Progressive reveal */
.js body[data-motion="on"] .profile-page-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .5s ease, transform .65s var(--ease-out);
}

.js body[data-motion="on"] .profile-page-reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Tablet */
@media (max-width: 1180px) {
  .profile-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(390px, .82fr);
    gap: 42px;
  }

  .profile-hero__media {
    min-height: 620px;
    height: 72svh;
  }

  .profile-hero h1 {
    font-size: clamp(4.2rem, 8.6vw, 7.4rem);
  }

  .profile-hero__facts {
    grid-template-columns: 1fr;
  }

  .profile-hero__facts > div {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    align-items: baseline;
    padding: 10px 0;
  }

  .profile-hero__facts > div + div {
    padding-left: 0;
    border-top: 1px solid var(--profile-line-soft);
    border-left: 0;
  }

  .profile-hero__facts dd {
    margin: 0;
  }

  .profile-demo-notice {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .profile-measurements__inner {
    grid-template-columns: 1fr;
  }

  .profile-measurements__head {
    padding: 20px 0 0;
    border-right: 0;
  }

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

  .profile-measurement-grid > div {
    min-height: 96px;
  }

  .profile-measurement-grid > div:nth-child(5) {
    border-left: 0;
  }

  .profile-measurement-grid > div:nth-child(n+5) {
    border-top: 1px solid var(--profile-line-soft);
  }

  .profile-portfolio-grid .profile-media-item:nth-child(1) {
    grid-column: 1 / span 8;
  }

  .profile-portfolio-grid .profile-media-item:nth-child(2),
  .profile-portfolio-grid .profile-media-item:nth-child(3) {
    grid-column: 9 / span 4;
  }

  .profile-portfolio-grid .profile-media-item:nth-child(n+4) {
    grid-column: span 6;
    aspect-ratio: 4 / 5;
  }

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

  .profile-professional__layout {
    gap: 40px;
  }

  .profile-biography {
    grid-column: 1 / span 7;
  }

  .profile-fact-sheet {
    grid-column: 8 / span 5;
  }
}

@media (max-width: 900px) {
  .profile-hero {
    min-height: auto;
  }

  .profile-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr);
  }

  .profile-hero__media {
    min-height: 540px;
  }

  .profile-hero__status-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-actions--hero .primary-button {
    max-width: none;
  }

  .profile-section-heading--split {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .profile-section-heading__aside {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .profile-professional {
    background: #05070c;
  }

  .profile-biography,
  .profile-fact-sheet,
  .profile-skills,
  .profile-specialties {
    grid-column: 1 / -1;
  }

  .profile-biography {
    padding-right: 0;
  }

  .profile-fact-sheet {
    padding-left: 0;
  }

  .profile-skills,
  .profile-specialties {
    grid-template-columns: minmax(180px, .7fr) minmax(0, 1.3fr);
  }

  .profile-comp-card__layout {
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
    gap: 46px;
  }
}

/* Mobile */
@media (max-width: 760px) {
  .talent-profile-page {
    --profile-section-space: 72px;
  }

  .profile-shell {
    width: min(100%, calc(100% - 28px));
  }

  .profile-header .directory-brand__wordmark {
    display: none;
  }

  .profile-hero {
    padding: 82px 0 42px;
  }

  .profile-breadcrumb-wrap {
    margin-bottom: 12px;
  }

  .category-breadcrumb {
    font-size: .67rem;
  }

  .category-breadcrumb li:nth-child(2) {
    display: none;
  }

  .profile-hero__grid {
    display: block;
    width: 100%;
  }

  .profile-hero__media {
    min-height: 0;
    height: min(72svh, 650px);
    aspect-ratio: auto;
  }

  .profile-hero__media::before {
    border-right: 0;
    border-left: 0;
  }

  .profile-hero__media img {
    object-position: 50% 30%;
  }

  .profile-hero__media-caption {
    right: 14px;
    bottom: 122px;
  }

  .profile-hero__content {
    z-index: 3;
    width: calc(100% - 28px);
    margin: -124px auto 0;
    padding: 82px 0 0;
    background: linear-gradient(180deg, transparent 0, rgba(5, 7, 12, .92) 74px, var(--profile-ink) 124px);
  }

  .profile-hero__status-row {
    gap: .5rem;
    margin-bottom: 16px;
  }

  .profile-demo-badge,
  .profile-representation {
    font-size: .62rem;
  }

  .profile-category-line {
    margin-bottom: .55rem;
    font-size: .7rem;
  }

  .profile-hero h1 {
    font-size: clamp(4.05rem, 22vw, 6.7rem);
    line-height: .76;
  }

  .profile-hero h1 span:last-child {
    margin-left: 12vw;
  }

  .profile-positioning {
    margin-top: 24px;
    font-size: 1.22rem;
  }

  .profile-short-description {
    font-size: .9rem;
    line-height: 1.62;
  }

  .profile-hero__facts {
    margin-top: 25px;
  }

  .profile-hero__facts > div {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .profile-actions--hero {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .profile-actions--hero .primary-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .profile-actions--hero .secondary-button {
    justify-content: center;
  }

  .profile-icon-action {
    min-width: 52px;
  }

  .profile-icon-action span {
    display: none;
  }

  .profile-demo-notice {
    margin-top: 22px;
  }

  .profile-hero__utility-links {
    margin-top: 18px;
  }

  .profile-measurements__inner {
    width: 100%;
  }

  .profile-measurements__head {
    padding: 22px 14px 6px;
  }

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

  .profile-measurement-grid > div {
    min-height: 88px;
    padding: 16px 14px;
    border-top: 1px solid var(--profile-line-soft);
  }

  .profile-measurement-grid > div:nth-child(odd) {
    border-left: 0;
  }

  .profile-measurement-grid > div:nth-child(even) {
    border-left: 1px solid var(--profile-line-soft);
  }

  .profile-section-nav {
    top: 72px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .profile-section-nav::-webkit-scrollbar {
    display: none;
  }

  .profile-section-nav .profile-shell {
    display: flex;
    width: max-content;
    min-width: 100%;
  }

  .profile-section-nav a {
    flex: 0 0 auto;
    min-height: 52px;
    padding: .62rem 14px;
    font-size: .64rem;
  }

  .profile-section-nav a > span:first-child {
    font-size: .56rem;
  }

  .profile-editorial-section {
    scroll-margin-top: 126px;
  }

  .profile-section-heading {
    margin-bottom: 32px;
  }

  .profile-section-heading h2,
  .profile-professional h2,
  .profile-comp-card h2 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .profile-section-heading__aside {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-media-count strong {
    font-size: 1.45rem;
  }

  .profile-portfolio .profile-shell,
  .profile-digitals .profile-shell {
    width: 100%;
  }

  .profile-portfolio .profile-section-heading,
  .profile-digitals .profile-section-heading {
    width: calc(100% - 28px);
    margin-inline: auto;
  }

  .profile-portfolio-grid,
  .profile-digitals-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 14px 18px;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }

  .profile-portfolio-grid .profile-media-item,
  .profile-portfolio-grid .profile-media-item:nth-child(n),
  .profile-digitals-grid .profile-media-item {
    flex: 0 0 min(82vw, 430px);
    aspect-ratio: 4 / 5.15;
    scroll-snap-align: start;
  }

  .profile-digitals-grid .profile-media-item {
    flex-basis: min(72vw, 360px);
  }

  .profile-media-item__caption {
    opacity: 1;
    transform: none;
  }

  .profile-section-number {
    margin-bottom: 42px;
    font-size: 6.5rem;
  }

  .profile-professional__layout {
    gap: 0;
  }

  .profile-biography,
  .profile-fact-sheet,
  .profile-skills,
  .profile-specialties {
    grid-column: 1 / -1;
  }

  .profile-biography h3,
  .profile-fact-sheet h3,
  .profile-skills h3,
  .profile-specialties h3 {
    font-size: 2.25rem;
  }

  .profile-biography #profileBiography {
    margin-top: 28px;
  }

  .profile-biography #profileBiography p {
    font-size: .96rem;
    line-height: 1.74;
  }

  .profile-fact-sheet {
    margin-top: 54px;
  }

  .profile-fact-sheet dl > div {
    min-height: 86px;
  }

  .profile-skills,
  .profile-specialties {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 54px;
  }

  .profile-comp-card__layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .profile-comp-card__visual {
    width: min(86%, 420px);
    max-height: none;
    margin-inline: auto;
  }

  .profile-comp-card__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-comp-card__actions a {
    width: 100%;
  }

  .profile-sticky-actions {
    right: max(7px, env(safe-area-inset-right));
    bottom: max(7px, env(safe-area-inset-bottom));
    left: max(7px, env(safe-area-inset-left));
    width: calc(100% - 14px);
    min-height: 60px;
    padding: 6px;
  }

  .profile-sticky-actions__identity img {
    display: none;
  }

  .profile-sticky-actions__identity strong {
    font-size: .86rem;
  }

  .profile-sticky-actions__identity small {
    font-size: .57rem;
  }

  .profile-sticky-actions__controls {
    flex: 1;
    justify-content: flex-end;
  }

  .profile-sticky-actions__select {
    width: 46px;
    min-width: 46px;
    padding: 0;
  }

  .profile-sticky-actions__select span {
    display: none;
  }

  .profile-sticky-actions__controls a {
    padding-inline: .75rem;
    font-size: .68rem;
  }

  .profile-footer {
    padding-bottom: 92px;
  }

  .profile-gallery-viewer > header {
    min-height: 72px;
    padding-inline: 12px;
  }

  .profile-gallery-viewer__stage picture {
    padding: 12px 48px;
  }

  .profile-gallery-nav {
    width: 40px;
    height: 58px;
  }

  .profile-gallery-nav--prev { left: 5px; }
  .profile-gallery-nav--next { right: 5px; }

  .profile-gallery-viewer > footer {
    grid-template-columns: 1fr;
    gap: 9px;
    min-height: 128px;
    padding-inline: 12px;
  }

  .profile-gallery-filmstrip button {
    width: 46px;
    height: 56px;
  }

  .profile-gallery-viewer__stage.is-zoomed picture {
    padding: 32px;
  }

  .profile-gallery-viewer__stage.is-zoomed img {
    width: 160vw;
  }
}

@media (max-width: 430px) {
  .profile-hero__media {
    height: min(70svh, 600px);
  }

  .profile-hero__content {
    margin-top: -112px;
    padding-top: 74px;
  }

  .profile-hero h1 {
    font-size: clamp(3.65rem, 21vw, 5.45rem);
  }

  .profile-hero__facts > div {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .profile-actions--hero .secondary-button span {
    font-size: .68rem;
  }

  .profile-fact-sheet dl {
    grid-template-columns: 1fr;
  }

  .profile-fact-sheet dl > div:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }

  .profile-specialty-list span,
  .profile-skill-list span {
    min-height: 40px;
    font-size: .7rem;
  }

  .profile-sticky-actions__identity small {
    display: none;
  }
}

@media (max-width: 360px) {
  .profile-shell {
    width: calc(100% - 22px);
  }

  .profile-hero__content {
    width: calc(100% - 22px);
  }

  .profile-hero h1 {
    font-size: clamp(3.35rem, 21vw, 4.7rem);
  }

  .profile-demo-badge,
  .profile-representation {
    font-size: .57rem;
  }

  .profile-category-line {
    font-size: .63rem;
  }

  .profile-hero__facts dd {
    font-size: .77rem;
  }

  .profile-actions--hero .secondary-button {
    padding-inline: .75rem;
  }

  .profile-sticky-actions__identity {
    display: none;
  }

  .profile-sticky-actions__controls {
    width: 100%;
  }

  .profile-sticky-actions__controls a {
    flex: 1;
  }
}

@media (min-width: 1780px) {
  .profile-hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(520px, .92fr);
  }

  .profile-hero__media {
    height: min(78svh, 960px);
  }

  .profile-hero h1 {
    font-size: clamp(7rem, 7vw, 10rem);
  }
}

@media (orientation: landscape) and (max-height: 650px) and (max-width: 1024px) {
  .profile-hero {
    padding-top: 82px;
  }

  .profile-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .9fr);
    width: min(var(--profile-max), calc(100% - 32px));
  }

  .profile-hero__media {
    height: calc(100svh - 118px);
    min-height: 430px;
  }

  .profile-hero__content {
    width: auto;
    margin: 0;
    padding: 0;
    background: none;
  }

  .profile-hero h1 {
    font-size: clamp(3.3rem, 8vw, 5.4rem);
  }

  .profile-positioning,
  .profile-short-description,
  .profile-demo-notice,
  .profile-hero__utility-links {
    display: none;
  }

  .profile-hero__facts {
    margin-top: 18px;
  }

  .profile-actions--hero {
    margin-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-hero__media img,
  .profile-media-item img,
  .profile-media-item__caption,
  .profile-sticky-actions,
  .profile-gallery-viewer__stage img,
  .profile-page-reveal {
    transition: none !important;
    transform: none !important;
  }

  .profile-page-reveal {
    opacity: 1 !important;
  }
}

/* Mobile refinement: keep identity visible in the first viewport and avoid floating overlap. */
@media (max-width: 760px) {
  .talent-profile-page .whatsapp-fab {
    display: none;
  }

  .profile-hero__content {
    padding-top: 58px;
  }

  .profile-hero__status-row {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    min-height: 48px;
    margin: 0;
  }
}

@media (max-width: 360px) {
  .profile-hero__grid {
    width: 100%;
  }
}

.profile-gallery-dialog[open] {
  position: fixed;
  inset: 0;
}

.profile-comp-card__visual img {
  filter: none;
}

/* Native dialog top-layer positioning must remain viewport-bound after page scroll. */
.talent-profile-page .selection-dialog[open],
.talent-profile-page .settings-dialog[open] {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  right: max(10px, env(safe-area-inset-right));
  bottom: auto;
  left: auto;
  margin: 0;
}

@media (max-width: 760px) {
  .talent-profile-page .selection-dialog[open],
  .talent-profile-page .settings-dialog[open] {
    top: max(6px, env(safe-area-inset-top));
    right: max(6px, env(safe-area-inset-right));
    left: max(6px, env(safe-area-inset-left));
    width: auto;
  }
}

/* Correction 2C + Mission 3 — profile closing composition */
.profile-comp-card {
  padding: clamp(72px, 6.8vw, 112px) 0;
  border-bottom: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .015), transparent 20%),
    #0a0c12;
}

.profile-comp-card__layout {
  grid-template-columns: minmax(300px, .72fr) minmax(520px, 1.28fr);
  gap: clamp(42px, 6.6vw, 108px);
}

.profile-comp-card__content {
  max-width: 640px;
}

.profile-comp-card__content .profile-section-number {
  margin-bottom: clamp(24px, 3.2vw, 44px);
  color: rgba(245, 247, 255, .12);
  font-size: clamp(5.8rem, 8.4vw, 9.5rem);
}

.profile-comp-card__content > p:not(.eyebrow):not(.profile-section-number):not(.profile-comp-card__note) {
  margin-top: clamp(22px, 2.8vw, 34px);
}

.profile-comp-card__preview {
  position: relative;
  display: block;
  aspect-ratio: 1200 / 776;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .16);
  color: var(--profile-paper);
  background: #11141c;
  box-shadow: 0 34px 88px rgba(0, 0, 0, .42);
  isolation: isolate;
  transform: translateZ(0);
  transition: border-color .2s ease, transform .3s var(--ease-out), box-shadow .3s ease;
}

.profile-comp-card__preview::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 62%, rgba(2, 4, 10, .78));
}

.profile-comp-card__preview picture,
.profile-comp-card__preview img {
  display: block;
  width: 100%;
  height: 100%;
}

.profile-comp-card__preview img {
  object-fit: cover;
}

.profile-comp-card__preview-label {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: rgba(255, 255, 255, .92);
  font-size: .69rem;
  font-weight: 780;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profile-comp-card__preview-label svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--profile-gold);
  stroke-width: 1.55;
}

.profile-comp-card__preview:hover,
.profile-comp-card__preview:focus-visible {
  border-color: rgba(237, 196, 93, .48);
  box-shadow: 0 38px 100px rgba(0, 0, 0, .52);
  transform: translateY(-4px);
}

.profile-comp-card__actions a {
  border-radius: 2px;
}

.profile-closing {
  position: relative;
  overflow: clip;
  padding: clamp(66px, 6.5vw, 104px) 0 clamp(58px, 5.8vw, 90px);
  border-top: 1px solid rgba(237, 196, 93, .2);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(105deg, rgba(237, 196, 93, .075), transparent 36%),
    linear-gradient(180deg, #090b12 0%, #05070c 100%);
}

.profile-closing::after {
  position: absolute;
  top: 50%;
  right: -13vw;
  width: min(42vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(237, 196, 93, .11);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translateY(-50%);
}

.profile-closing__layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, .9fr);
  align-items: end;
  gap: clamp(34px, 7vw, 118px);
}

.profile-closing__copy {
  max-width: 900px;
}

.profile-closing__copy .eyebrow {
  margin-bottom: 18px;
}

.profile-closing h2 {
  max-width: 920px;
  margin: 0;
  color: var(--profile-paper);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 6.5vw, 8rem);
  font-weight: 620;
  line-height: .86;
  letter-spacing: -.065em;
}

.profile-closing__copy > p:last-child {
  max-width: 720px;
  margin: clamp(24px, 3vw, 36px) 0 0;
  color: var(--profile-paper-muted);
  font-size: clamp(.95rem, 1.05vw, 1.08rem);
  line-height: 1.72;
}

.profile-closing__actions {
  display: grid;
  gap: 10px;
  width: min(100%, 470px);
  justify-self: end;
}

.profile-closing__actions a {
  width: 100%;
  min-height: 56px;
  border-radius: 2px;
  text-align: center;
}

.profile-closing__note {
  grid-column: 2;
  max-width: 470px;
  margin: -8px 0 0;
  color: rgba(245, 247, 255, .46);
  font-size: .7rem;
  line-height: 1.55;
  justify-self: end;
}

/* Fixed action dock: visible only between the hero and the final action block. */
.profile-sticky-actions,
.talent-profile-page .profile-sticky-actions {
  position: fixed;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  left: max(18px, env(safe-area-inset-left));
  z-index: 72;
  width: min(760px, calc(100% - 36px));
  min-height: 62px;
  padding: 6px 7px 6px 6px;
  border: 1px solid rgba(237, 196, 93, .22);
  border-radius: 999px;
  background: rgba(6, 8, 13, .985);
  box-shadow: 0 20px 66px rgba(0, 0, 0, .48), inset 0 1px rgba(255, 255, 255, .04);
}

.profile-sticky-actions__identity img {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.profile-sticky-actions__identity {
  gap: .7rem;
}

.profile-sticky-actions__identity strong {
  font-size: .94rem;
}

.profile-sticky-actions__controls a {
  min-height: 48px;
  padding-inline: clamp(.95rem, 2.1vw, 1.5rem);
  border-radius: 999px;
  font-size: .7rem;
  letter-spacing: .025em;
}

html.profile-sticky-active {
  scroll-padding-bottom: 92px;
}

/* Compact, deliberate ending instead of a second hero. */
.profile-footer {
  padding: clamp(38px, 4.2vw, 58px) clamp(18px, 3vw, 44px) 24px;
  background: #020309;
}

.profile-footer .site-footer__inner,
.profile-footer .site-footer__bottom {
  width: min(var(--profile-max), 100%);
}

.profile-footer .site-footer__inner {
  grid-template-columns: minmax(210px, .75fr) minmax(390px, 1.55fr) auto;
  align-items: start;
  gap: clamp(24px, 4.5vw, 72px);
}

.profile-footer .site-footer__brand > a {
  display: inline-flex;
  width: 150px;
}

.profile-footer .site-footer__brand img {
  display: block;
  width: 100%;
  height: auto;
}

.profile-footer .site-footer__brand p {
  max-width: 260px;
  margin: 14px 0 0;
  font-size: .78rem;
  line-height: 1.55;
}

.profile-footer .site-footer__nav {
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 2px clamp(16px, 2.5vw, 38px);
}

.profile-footer .site-footer__nav a {
  min-height: 34px;
  font-size: .77rem;
}

.profile-footer .site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
  padding-top: 16px;
}

.profile-footer .site-footer__bottom p {
  margin: 0;
}

.profile-footer .site-footer__bottom p:last-child {
  max-width: 560px;
  text-align: right;
}

@media (max-width: 1100px) {
  .profile-comp-card__layout {
    grid-template-columns: minmax(280px, .76fr) minmax(450px, 1.24fr);
    gap: 44px;
  }

  .profile-closing__layout {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .78fr);
    gap: 44px;
  }

  .profile-footer .site-footer__inner {
    grid-template-columns: minmax(190px, .72fr) minmax(340px, 1.28fr);
  }

  .profile-footer .site-footer__tools {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .profile-comp-card__layout,
  .profile-closing__layout {
    grid-template-columns: 1fr;
  }

  .profile-comp-card__content {
    max-width: 700px;
  }

  .profile-closing__actions,
  .profile-closing__note {
    grid-column: 1;
    width: 100%;
    max-width: 700px;
    justify-self: start;
  }

  .profile-closing__note {
    margin-top: 0;
  }

  .profile-footer .site-footer__inner {
    grid-template-columns: 1fr 1.5fr;
  }
}

@media (max-width: 760px) {
  .profile-comp-card {
    padding: 68px 0 66px;
  }

  .profile-comp-card__layout {
    gap: 36px;
  }

  .profile-comp-card__content .profile-section-number {
    margin-bottom: 20px;
    font-size: 5.2rem;
  }

  .profile-comp-card__preview {
    order: -1;
    width: 100%;
    margin-inline: auto;
  }

  .profile-comp-card__preview-label {
    right: 14px;
    bottom: 12px;
    left: 14px;
    font-size: .61rem;
  }

  .profile-closing {
    padding: 62px 0 58px;
  }

  .profile-closing::after {
    top: 16%;
    right: -40vw;
    width: 94vw;
    transform: none;
  }

  .profile-closing__layout {
    gap: 28px;
  }

  .profile-closing h2 {
    font-size: clamp(3.1rem, 15vw, 5.3rem);
  }

  .profile-closing__copy > p:last-child {
    font-size: .94rem;
  }

  .profile-closing__actions {
    gap: 8px;
  }

  .profile-closing__actions a {
    min-height: 52px;
  }

  .profile-sticky-actions,
  .talent-profile-page .profile-sticky-actions {
    right: max(7px, env(safe-area-inset-right));
    bottom: max(7px, env(safe-area-inset-bottom));
    left: max(7px, env(safe-area-inset-left));
    width: calc(100% - 14px);
    min-height: 58px;
    padding: 5px;
  }

  .profile-sticky-actions__identity img {
    display: block;
    width: 42px;
    height: 42px;
  }

  .profile-sticky-actions__identity strong {
    font-size: .82rem;
  }

  .profile-sticky-actions__identity small {
    display: none;
  }

  .profile-sticky-actions__controls {
    flex: 0 0 auto;
  }

  .profile-sticky-actions__controls a {
    min-height: 46px;
    padding-inline: .85rem;
    font-size: .64rem;
  }

  .profile-footer {
    padding: 38px 16px 20px;
  }

  .profile-footer .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .profile-footer .site-footer__brand > a {
    width: 126px;
  }

  .profile-footer .site-footer__brand p {
    margin-top: 10px;
  }

  .profile-footer .site-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
  }

  .profile-footer .site-footer__tools {
    grid-column: auto;
  }

  .profile-footer .site-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
  }

  .profile-footer .site-footer__bottom p:last-child {
    text-align: left;
  }
}

@media (max-width: 360px) {
  .profile-sticky-actions__identity img {
    display: none;
  }

  .profile-sticky-actions__controls {
    flex: 1;
  }

  .profile-sticky-actions__controls a {
    width: 100%;
  }

  .profile-footer .site-footer__nav {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-comp-card__preview,
  .profile-comp-card__preview:hover,
  .profile-comp-card__preview:focus-visible {
    transition: none !important;
    transform: none !important;
  }
}
