/* About page: Meet the Crew. Scoped to #ph-crew so About page styles stay intact. */
#ph-crew {
  --phc-sheet: #111111;
  --phc-card: #f4efe6;
  --phc-ink: #141414;
  --phc-muted: #4a4a4a;
  --phc-name-size: clamp(26px, 3vw, 34px);
  --phc-name-leading: 0.95;
}
#ph-crew-board,
#ph-crew-board * { box-sizing: border-box; }

#ph-crew-board .phc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px 18px;
}
#ph-crew-board .phc-card {
  position: relative;
  min-width: 0;
  background: var(--phc-card, #f4efe6);
  color: var(--phc-ink);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
#ph-crew-board .phc-card.is-wide { grid-column: 1 / -1; }

#ph-crew-board .phc-pose {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #000;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
#ph-crew-board .phc-card.is-wide .phc-pose { aspect-ratio: 1200 / 665; }
#ph-crew-board .phc-pose picture {
  display: block;
  width: 100%;
  height: 100%;
}
#ph-crew-board .phc-pose img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  border: 0;
}

#ph-crew-board .phc-card.is-wide { container-type: inline-size; }
#ph-crew-board .phc-nameplate { margin: 0; padding: 6px 12px 18px; }
#ph-crew-board .phc-name {
  font-family: var(--font-display, "Bebas Neue", Arial, Helvetica, sans-serif);
  font-size: var(--phc-name-size);
  line-height: var(--phc-name-leading);
  letter-spacing: 0.5px;
  margin: 0;
  font-weight: 400;
  color: var(--phc-ink);
}
#ph-crew-board .phc-role {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: #1a1a1a;
}
#ph-crew-board .phc-contact {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 1px 0 0;
}
#ph-crew-board .phc-contact a {
  display: block;
  padding: 0;
  color: #0a5f86;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 14px;
  line-height: 1.25;
  word-break: break-word;
  background: none;
}
#ph-crew-board .phc-contact a:hover,
#ph-crew-board .phc-contact a:focus-visible { color: #000; }

#ph-crew-board .phc-prod-tag {
  --phc-tag-size: clamp(12px, 3.24cqi, 34px);
  position: absolute;
  top: 0.353em;
  left: 0.353em;
  z-index: 2;
  background: rgba(0,0,0,0.72);
  color: #fff;
  font-family: var(--font-display, "Bebas Neue", Arial, Helvetica, sans-serif);
  font-size: var(--phc-tag-size);
  font-weight: 400;
  letter-spacing: 0.015em;
  text-transform: uppercase;
  padding: 0.235em 0.412em;
  border-radius: 0.118em;
  border: 1px solid rgba(255,255,255,0.28);
  line-height: var(--phc-name-leading, 0.95);
  white-space: nowrap;
}
#ph-crew-board .phc-prod-caption { padding: 4px 0 18px; }
#ph-crew-board .phc-prod-people {
  position: relative;
  width: 100%;
  min-height: 54px;
}
#ph-crew-board .phc-prod-person {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
}
#ph-crew-board .phc-prod-name {
  display: block;
  font-family: var(--font-display, "Bebas Neue", Arial, Helvetica, sans-serif);
  font-size: clamp(14px, 5.2cqi, 34px);
  line-height: 0.95;
  letter-spacing: 0.5px;
  font-weight: 400;
  color: #141414;
  text-transform: uppercase;
  white-space: nowrap;
}
#ph-crew-board .phc-prod-mail {
  display: block;
  margin-top: 1px;
  font-size: 14px;
  line-height: 1.25;
  color: #0a5f86;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
  background: none;
}
#ph-crew-board .phc-prod-mail:hover,
#ph-crew-board .phc-prod-mail:focus-visible { color: #000; }
#ph-crew-board .phc-prod-emails {
  display: none;
  margin: 2px 8px 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.25;
}
#ph-crew-board .phc-prod-emails a {
  color: #0a5f86;
  text-decoration: underline;
  text-underline-offset: 2px;
  display: inline-block;
  padding: 0 6px;
  font-size: 14px;
  background: none;
}
#ph-crew-board .phc-prod-emails a:hover,
#ph-crew-board .phc-prod-emails a:focus-visible { color: #000; }


#ph-crew-board .card-socials {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 6px 0 0;
}
#ph-crew-board .card-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(20,20,20,0.28);
  border-radius: 50%;
  color: #141414;
  text-decoration: none;
  background: none;
  flex: 0 0 28px;
}
#ph-crew-board .card-socials .icon { width: 13px; height: 13px; fill: currentColor; display: block; }
/* Hover/focus colors are darker brand variants so they keep >=3:1 on the
   cream card (#0087c2 3.5:1, #ea008a 3.8:1, #8f7300 4.0:1). */
#ph-crew-board .card-socials a:hover,
#ph-crew-board .card-socials a:focus-visible { color: #0087c2; border-color: #0087c2; }
#ph-crew-board .card-socials a[data-network="facebook"]:hover,
#ph-crew-board .card-socials a[data-network="facebook"]:focus-visible,
#ph-crew-board .card-socials a[data-network="youtube"]:hover,
#ph-crew-board .card-socials a[data-network="youtube"]:focus-visible { color: var(--magenta, #ea008a); border-color: var(--magenta, #ea008a); }
#ph-crew-board .card-socials a[data-network="instagram"]:hover,
#ph-crew-board .card-socials a[data-network="instagram"]:focus-visible { color: #8f7300; border-color: #8f7300; }
#ph-crew-board .card-socials a:focus-visible { outline: 2px solid #0087c2; outline-offset: 2px; }

#ph-crew-board .card-wave {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0;
  z-index: 6;
  border-radius: inherit;
}
#ph-crew-board .phc-card.is-waving .card-wave { opacity: 1; }
#ph-crew-board .phc-prod-tag { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  #ph-crew-board .card-wave, #ph-crew-board .pose-wave { display: none !important; }
}

.ab-section .ab-timeline { margin-top: 36px; }

@media (max-width: 900px) {
  #ph-crew-board .phc-grid { grid-template-columns: repeat(2, 1fr); }
}
/* Below ~860px the per-person inboxes under the names no longer fit
   (a ~190px address centered at 14.3% clips at the card edge), so stack
   them in one centered row under the names instead. */
@media (max-width: 860px) {
  #ph-crew-board .phc-prod-mail { display: none; }
  #ph-crew-board .phc-prod-emails { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 8px; }
  /* Reserve the names' real height (they are absolutely positioned and
     scale with the card) so the inbox row never paints through them.
     Floor of 22px keeps the approved phone layout unchanged. */
  #ph-crew-board .phc-prod-people { min-height: max(22px, calc(clamp(14px, 5.2cqi, 34px) * 1.15)); }
}
@media (max-width: 720px) {
  #ph-crew { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 620px) {
  #ph-crew { padding-left: 12px; padding-right: 12px; --phc-name-size: 34px; }
  #ph-crew-board .phc-grid { grid-template-columns: 1fr; }
  #ph-crew-board .phc-card:not(.is-wide) { max-width: 360px; margin: 0 auto; width: 100%; }
}


/* About page only: continue the hero CMY glows down the whole page, no seam.
   Fixed layer (not background-attachment:fixed) so iOS/WebKit keeps the glows. */
html { background-color: #000 !important; }
body {
  background-color: transparent !important;
  background-image: none !important;
}
/* z-index:-1 sits behind in-flow content but in front of the html canvas,
   so do not paint an opaque body background or the glows vanish. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% 20%, rgba(0, 171, 237, 0.18), transparent 45%),
    radial-gradient(circle at 85% 30%, rgba(234, 0, 138, 0.16), transparent 45%),
    radial-gradient(circle at 50% 100%, rgba(247, 210, 0, 0.10), transparent 50%);
}
/* Same glows now live on the page, so drop the hero-only layer (it would be a hard seam). */
.ab-hero::before { display: none !important; }
.ph-footer, .ph-footer__bar { background-color: transparent !important; }
/* Move Meet the Crew up ~40% less top padding; eyebrow removed in markup */
#ph-crew.ab-section { padding-top: 42px; }
@media (max-width: 600px) {
  #ph-crew.ab-section { padding-top: 30px; }
}

/* Hero H1: About + official one-line CMY/white wordmark in the hero H1. */
.ab-hero h1 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.06em 0.22em;
}
.ab-hero h1 .ab-hero-wordmark {
  display: block;
  height: 0.82em;
  width: auto;
  max-width: min(100%, 6.6em);
  margin-top: 0.02em;
}
@media (max-width: 600px) {
  .ab-hero h1 {
    flex-direction: column;
    align-items: center;
    gap: 0.14em;
  }
  .ab-hero h1 .ab-hero-wordmark {
    height: auto;
    width: min(92vw, 22rem);
    max-width: 100%;
  }
}
@property --phc-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
.phc-card .card-glow,
.card .card-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 7;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.45s ease;
  box-sizing: border-box;
  --glow-x: 50%;
  --glow-y: 38%;
  --glow-r: 0px;
  --glow-r-in: 0px;
  -webkit-mask-image: radial-gradient(circle at var(--glow-x) var(--glow-y), #000 0, #000 var(--glow-r-in), transparent var(--glow-r));
  mask-image: radial-gradient(circle at var(--glow-x) var(--glow-y), #000 0, #000 var(--glow-r-in), transparent var(--glow-r));
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.phc-card .card-glow.is-glow-full,
.card .card-glow.is-glow-full {
  -webkit-mask-image: none;
  mask-image: none;
}
.phc-card.is-glowing .card-glow,
.card.is-glowing .card-glow {
  opacity: 1;
  transition: none;
}
.card-glow-blur {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}
.card-glow-bloom {
  filter: blur(7px);
  opacity: 0.72;
}
.card-glow-core {
  filter: blur(3px);
  opacity: 1;
}
.card-glow-band {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-sizing: border-box;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
}
.card-glow-band-bloom { padding: 6px; }
.card-glow-band-core { padding: 4px; }
.card-glow-spin {
  position: absolute;
  inset: -80%;
  /* Continuous CMY loop. Colors sampled from Shelby's photo rim lights
     (hot magenta, electric blue-cyan, glowing gold). Cyan->magenta via
     blue/violet; magenta->yellow via hot pink/orange-gold; short yellow->cyan
     blend. No transparent gaps. */
  background: conic-gradient(
    from var(--phc-angle, 0deg),
    #00c8ff 0deg,
    #00b0ff 38deg,
    #2f6bff 62deg,
    #8128ff 86deg,
    #e010d0 108deg,
    #ff1fb8 125deg,
    #ff2ec4 168deg,
    #ff4e86 198deg,
    #ff8a20 226deg,
    #ffc400 240deg,
    #ffd400 250deg,
    #ffe34a 260deg,
    #ffd400 302deg,
    #ffe34a 308deg,
    #00e4ff 314deg,
    #00c8ff 326deg,
    #00c8ff 360deg
  );
  animation: none;
}
.phc-card.is-glowing .card-glow-spin,
.card.is-glowing .card-glow-spin {
  animation: phc-glow-spin 8s linear infinite;
}
@keyframes phc-glow-spin {
  from { --phc-angle: 0deg; }
  to { --phc-angle: 360deg; }
}
@media (prefers-reduced-motion: reduce) {
  .phc-card.is-glowing .card-glow-spin,
  .card.is-glowing .card-glow-spin { animation: none; }
  .phc-card .card-glow,
  .card .card-glow {
    -webkit-mask-image: none;
    mask-image: none;
  }
}
