/* Extra motion layered on the liquid portrait hero and the sections below it. */

/* Top row inside the hero: role + live Miami clock */
.ab-hero-top { position: absolute; z-index: 2; left: 5vw; right: 5vw; top: calc(var(--nav-h) + 22px); display: flex; justify-content: space-between; gap: 16px;
  font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.82); pointer-events: none; }
.ab-hero-clock b { font-weight: 600; font-variant-numeric: tabular-nums; color: #fff; }
.ab-live-dot { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 1px;
  box-shadow: 0 0 0 0 rgba(213,230,155,.7); animation: ab-live 2s ease-out infinite; }
@keyframes ab-live { 0% { box-shadow: 0 0 0 0 rgba(213,230,155,.7); } 100% { box-shadow: 0 0 0 10px rgba(213,230,155,0); } }

/* Scroll cue on the right edge */
.ab-scroll-cue { position: absolute; z-index: 3; right: 5vw; top: 50%; translate: 0 -50%; display: flex; flex-direction: column; align-items: center; gap: 12px;
  color: #fff; text-decoration: none; font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.ab-scroll-cue span { writing-mode: vertical-rl; }
.ab-scroll-cue i { width: 1px; height: 64px; background: rgba(255,255,255,.3); position: relative; overflow: hidden; }
.ab-scroll-cue i::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--accent); animation: ab-drip 1.8s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes ab-drip { 0% { transform: translateY(-100%); } 100% { transform: translateY(260%); } }

/* Name letters */
.ab-hero-name .ab-l { display: inline-block; transform-origin: 50% 100%; will-change: transform;
  transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .7s ease; transition-delay: var(--ld, 0ms); }
.ab-hero.ab-letters-hidden .ab-l { transform: translateY(70%) rotate(6deg); opacity: 0; }
.ab-hero.ab-letters-live .ab-l { transition: transform .35s cubic-bezier(.2,.8,.2,1); transition-delay: 0ms; }

/* Rotating tagline word */
.ab-rotator { display: inline-block; transition: opacity .45s ease, filter .45s ease, transform .45s cubic-bezier(.2,.8,.2,1); }
.ab-rotator.ab-out { opacity: 0; filter: blur(6px); transform: translateY(-.35em); }
.ab-rotator.ab-pre { opacity: 0; filter: blur(6px); transform: translateY(.35em); transition: none; }

/* Scroll-linked depth: --hp goes 0 → 1 while the hero scrolls away */
.ab-hero { --hp: 0; }
.ab-hero-lede { transform: translateY(calc(var(--hp) * -90px)); opacity: calc(1 - var(--hp) * 1.1); }
.ab-hero-top, .ab-scroll-cue { opacity: calc(1 - var(--hp) * 1.6); }
.ab-hero-shade::after { content: ""; position: absolute; inset: 0; background: #172c46; opacity: calc(var(--hp) * .55); }

/* About section: copy and pills arrive in sequence */
.ab-about.ab-stage .hero-intro-sub, .ab-about.ab-stage .pill { opacity: 0; transform: translateY(18px); }
.ab-about .hero-intro-sub, .ab-about .pill { transition: opacity .7s ease, transform .8s cubic-bezier(.2,.8,.2,1), background-color .3s ease, color .3s ease; transition-delay: var(--pd, 0ms); }
.ab-about.ab-stage.ab-on .hero-intro-sub, .ab-about.ab-stage.ab-on .pill { opacity: 1; transform: none; }
.ab-about .pill { cursor: default; }
.ab-about .pill:hover { transform: translateY(-3px) rotate(-2deg); background: var(--blue); color: #fff; transition-delay: 0ms; }

@media (max-width: 740px) {
  .ab-hero-top { left: 24px; right: 24px; top: calc(var(--nav-h) + 16px); }
  .ab-hero-role { display: none; }
  .ab-scroll-cue { display: none; }
}

.motion-paused .ab-live-dot, .motion-paused .ab-scroll-cue i::after { animation: none; }
.motion-paused .motion-paused .ab-hero-lede { transform: none; }
.motion-paused .ab-hero-lede, .motion-paused .ab-hero-top, .motion-paused .ab-scroll-cue { opacity: 1; }
.motion-paused .ab-hero-shade::after { opacity: 0; }
@media (prefers-reduced-motion: reduce) {
  .ab-live-dot, .ab-scroll-cue i::after { animation: none; }
  .ab-hero-lede, .ab-hero-name .ab-l { transform: none !important; }
  .ab-hero-lede, .ab-hero-top, .ab-scroll-cue { opacity: 1; }
  .ab-hero-shade::after { opacity: 0; }
}

/* About intro spacing: align with nav gutter and give the pills room above the marquee */
.ab-about { padding: 96px max(5vw, 24px) 104px; }
.ab-about .hero-intro { margin-top: 0; }
.ab-about .hero-intro-headline { margin-bottom: 28px; }
.ab-about .hero-pills { margin-top: 36px; }
@media (max-width: 740px) {
  .ab-about { padding: 64px 24px 72px; }
  .ab-about .hero-intro-headline { margin-bottom: 20px; }
  .ab-about .hero-pills { margin-top: 28px; }
}

/* About: two columns — text on the left, round portrait with name on the right */
section.ab-about { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 96px); }
.ab-about > .hero-intro { grid-column: 1; grid-row: 1; min-width: 0; }
.ab-about > .ab-about-portrait { grid-column: 2; grid-row: 1; margin: 0; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.ab-about-photo { width: clamp(180px, 22vw, 320px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 0 0 10px var(--accent), 0 24px 50px -20px rgba(23, 44, 70, .35); }
.ab-about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(1); transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.ab-about-portrait:hover .ab-about-photo img { transform: scale(1.04); }
.ab-about-name { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.ab-about-name-main { font-family: var(--display); font-weight: 500; font-size: clamp(20px, 2vw, 28px); letter-spacing: -.01em; color: var(--navy); line-height: 1.1; }
.ab-about-name-main em { font-style: italic; color: var(--blue); }
.ab-about-name-role { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #6b7686; }
/* Only stack on small phones */
@media (max-width: 640px) {
  section.ab-about { grid-template-columns: 1fr; }
  .ab-about > .ab-about-portrait { grid-column: 1; grid-row: 2; }
  .ab-about-photo { width: 200px; }
}
