/* ============================================================
   BrijCode — About Hero
   Full-bleed person media + centered copy + glass dock
   Soft fade into the light About Why section
   Scoped under .about-page / .about-hero
   ============================================================ */

.about-page {
  --ah-ink: var(--ink-deep, #0f2233);
  --ah-ink-mid: var(--ink-mid, #16304a);
  --ah-ink-deep: var(--ink-deeper, #0a1826);
  --ah-marigold: var(--marigold, #f29a1f);
  --ah-white: #ffffff;
  --ah-muted: rgba(242, 246, 249, 0.78);
  --ah-cream: #f7f4ef;

  /* How much phone peeks above the dock — smaller = less overlap with copy
     try: 180px, 220px, 260px */
  --ah-phone-visible: clamp(235px, 37vh, 307px);

  /* Nudge phone down from dock line — keep between 0–80px
     higher = slightly lower on screen */
  --ah-phone-offset: 6px;

  /* Tablet/mobile dock */
  --ah-phone-offset-tablet: 10px;

  background: var(--ah-ink-deep);
  color: var(--ah-white);
  overflow-x: clip;
}

.about-hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding:
    calc(88px + 2vh)
    clamp(20px, 4vw, 48px)
    clamp(120px, 18vh, 180px);
  overflow: hidden;
  box-sizing: border-box;
  background: var(--ah-ink-deep);
}

/* ---- Visible grid behind video ---- */

.about-hero__grid {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  --ah-grid-color: rgba(221, 230, 237, 0.14);
  background-image:
    linear-gradient(var(--ah-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--ah-grid-color) 1px, transparent 1px);
  background-size: 44px 44px;
  background-position: center top;
  opacity: 1;
}

/* ---- Left-side person media (behind copy) ---- */

.about-hero__media {
  position: absolute;
  top: 2%;
  left: -6%;
  bottom: 0;
  z-index: 1;
  width: min(62vw, 780px);
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, #000 48%, rgba(0, 0, 0, 0.55) 72%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 48%, rgba(0, 0, 0, 0.55) 72%, transparent 100%);
}

.about-hero__person-media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% center;
  transform: scale(1.06);
  transform-origin: left center;
  filter: saturate(1.05) brightness(1.05);
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse 58% 62% at 18% 42%, rgba(242, 154, 31, 0.16) 0%, transparent 62%),
    radial-gradient(ellipse 70% 55% at 72% 30%, rgba(15, 34, 51, 0.12) 0%, transparent 60%),
    linear-gradient(
      90deg,
      rgba(10, 24, 38, 0.08) 0%,
      rgba(10, 24, 38, 0.18) 38%,
      rgba(10, 24, 38, 0.52) 68%,
      rgba(10, 24, 38, 0.82) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 24, 38, 0.28) 0%,
      rgba(15, 34, 51, 0.06) 42%,
      rgba(10, 24, 38, 0.45) 100%
    );
}

.about-hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: clamp(140px, 24vh, 220px);
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(247, 244, 239, 0) 0%,
    rgba(247, 244, 239, 0.55) 48%,
    var(--ah-cream) 100%
  );
}

/* ---- Centered content (desktop) ---- */

.about-hero__inner {
  position: relative;
  z-index: 4;
  width: 100%;
}

.about-hero__content {
  position: relative;
  z-index: 1;
  width: min(92vw, 920px);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.about-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 clamp(18px, 2.6vh, 28px);
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.about-hero__badge-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--ah-ink-deep);
  color: var(--ah-white);
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.about-hero__badge-text {
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-size: 0.78rem;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.about-hero__title {
  margin: 0 0 clamp(14px, 2vh, 20px);
  max-width: 880px;
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-weight: 800;
  font-size: clamp(2.35rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ah-white);
  text-wrap: balance;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.28);
}

.about-hero__title-line {
  display: block;
}

.about-hero__title-line--accent {
  color: var(--ah-marigold);
}

.about-hero__lede {
  margin: 0 0 clamp(22px, 3vh, 32px);
  max-width: 840px;
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  line-height: 1.55;
  color: var(--ah-muted);
  text-wrap: balance;
}

.about-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.about-hero__btn {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.about-hero__btn--primary {
  background: var(--ah-white);
  color: var(--ah-ink);
  border: 2px solid var(--ah-white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.about-hero__btn--primary:hover,
.about-hero__btn--primary:focus-visible {
  background: var(--ah-marigold);
  border-color: var(--ah-marigold);
  color: var(--ah-ink);
  outline: none;
}

.about-hero__btn--secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--ah-white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.about-hero__btn--secondary:hover,
.about-hero__btn--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--ah-white);
  outline: none;
}

/* ---- Bottom glass dock ---- */

.about-hero__dock {
  position: absolute;
  left: 50%;
  bottom: clamp(4px, 1vh, 56px);
  z-index: 5;
  width: min(96vw, 720px);
  overflow: visible;
  transform: translateX(-50%);
  pointer-events: none;
}

.about-hero__dock-stage {
  position: relative;
  width: clamp(196px, 20vw, 285px);
  min-height: var(--ah-phone-visible);
  margin: 0 auto;
  transform: translateY(var(--ah-phone-offset));
}

.about-hero__dock-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: min(42vw, 198px);
  max-width: 198px;
  padding: 13px 15px;
  border-radius: 18px;
  background: rgba(12, 28, 44, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
  pointer-events: auto;
}

.about-hero__dock-dot {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--ah-marigold);
  box-shadow: 0 0 0 4px rgba(242, 154, 31, 0.18);
}

.about-hero__dock-copy {
  min-width: 0;
}

.about-hero__dock-label {
  margin: 0 0 3px;
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(242, 154, 31, 0.95);
}

.about-hero__dock-value {
  margin: 0;
  font-family: var(--font-display, "Bricolage Grotesque", sans-serif);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255, 255, 255, 0.94);
}

.about-hero__dock-card--left-top {
    top: 24%;
    right: 63%;
}

.about-hero__dock-card--right-middle {
    top: 76%;
    left: 71%;
    transform: translateY(-50%);
}

.about-hero__dock-card--left-bottom {
    bottom: 3%;
    right: 69%;
}

/* Legacy modifiers */
.about-hero__dock-card--left {
  top: clamp(6px, 3vh, 18px);
  right: calc(100% + clamp(6px, 0.8vw, 12px));
}

.about-hero__dock-card--right {
  top: 50%;
  left: calc(100% + clamp(6px, 0.8vw, 12px));
  transform: translateY(-50%);
}

.about-hero__dock-media {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 285px;
  height: var(--ah-phone-visible);
  margin: 0 auto;
  overflow: hidden;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}

.about-hero__dock-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: transparent;
}

.about-hero__dock-media .about-hero__dock-image {
  object-position: top center;
}
