/* =============================================
   ABOUT PAGE STYLES
   ============================================= */

/* Article Link */
.article-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--blue-light);
  border-left: 4px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin-top: 24px;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}
.article-link i { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.article-link:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue-dark);
}

/* ---------- TEAM PHOTO CAROUSEL ---------- */
.team-gallery-section {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: #08101f;
}
.team-gallery-section > .container {
  position: relative;
  max-width: none;
  padding: 0;
}
.team-gallery-heading {
  position: absolute;
  top: clamp(36px, 7vw, 82px);
  left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  right: max(24px, calc((100vw - 1200px) / 2 + 24px));
  z-index: 4;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  color: var(--white);
  pointer-events: none;
}
.team-gallery-heading h2 { max-width: 720px; color: var(--white); }
.team-gallery-heading p { max-width: 420px; color: rgba(255,255,255,0.82); padding-bottom: 4px; }
.team-carousel { position: relative; }
.team-carousel-viewport {
  position: relative;
  width: 100%;
  height: clamp(620px, 82vh, 840px);
  overflow: hidden;
  background: #0a1020;
}
.team-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.025);
  transition: opacity 0.65s ease, transform 1.1s cubic-bezier(0.22,1,0.36,1), visibility 0.65s;
}
.team-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(4,10,25,0.55) 0%, rgba(4,10,25,0.08) 34%, transparent 55%),
    linear-gradient(to top, rgba(4,10,25,0.68) 0%, rgba(4,10,25,0.08) 42%, transparent 66%);
  z-index: 2;
}
.team-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); z-index: 1; }
.team-slide img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 60%; }
.team-slide:nth-child(2) img { object-position: center 68%; }
.team-slide:nth-child(3) img { object-position: center 62%; }
.team-slide:nth-child(4) img { object-position: center 58%; }
.team-slide:nth-child(5) img { object-position: center 30%; }
.team-slide:nth-child(6) img { object-position: center 25%; }
.team-slide figcaption {
  position: absolute;
  left: max(24px, calc((100vw - 1200px) / 2 + 24px));
  bottom: clamp(74px, 8vw, 104px);
  z-index: 3;
  max-width: 620px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
}
.team-carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.48);
  border-radius: 50%;
  color: var(--white);
  background: rgba(8,16,35,0.44);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.team-carousel-arrow:hover { background: var(--pink); border-color: var(--pink); }
.team-carousel-prev { left: max(20px, calc((100vw - 1320px) / 2)); }
.team-carousel-next { right: max(20px, calc((100vw - 1320px) / 2)); }
.team-carousel-footer {
  position: absolute;
  right: max(24px, calc((100vw - 1200px) / 2 + 24px));
  bottom: 42px;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
}
.team-carousel-dots { display: flex; align-items: center; gap: 8px; }
.team-carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.55);
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.team-carousel-dot.is-active { width: 34px; background: var(--pink); }
.team-carousel-count { color: rgba(255,255,255,0.72); font-family: var(--font-head); font-size: 0.82rem; letter-spacing: 1px; }
.team-carousel-count strong { color: var(--white); font-size: 1rem; }

/* ---------- SPARES SHOP ---------- */
.spares-section {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.spares-layout {
  position: static;
  display: block;
}
.spares-copy { position: relative; z-index: 5; width: 45%; }
.spares-copy h2 { margin-bottom: 20px; }
.spares-copy > p { color: var(--grey); margin-bottom: 14px; }
.spares-points { margin: 26px 0 30px; display: grid; gap: 12px; }
.spares-points li { display: flex; align-items: flex-start; gap: 11px; color: var(--dark-2); font-weight: 600; }
.spares-points i { color: var(--pink); margin-top: 5px; }
.spares-carousel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 64%;
  min-width: 0;
  overflow: hidden;
  background: #08101f;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.14) 9%, #000 34%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.14) 9%, #000 34%);
}
.spares-carousel::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(to right, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.5) 14%, transparent 38%);
}
.spares-carousel-viewport { position: relative; height: 100%; }
.spares-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.035);
  transition: opacity 0.65s ease, transform 1.1s cubic-bezier(0.22,1,0.36,1), visibility 0.65s;
}
.spares-slide.is-active { opacity: 1; visibility: visible; transform: scale(1); z-index: 1; }
.spares-slide img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }
.spares-slide figcaption {
  position: absolute;
  left: 38%;
  bottom: 82px;
  z-index: 3;
  max-width: 56%;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-weight: 800;
}
.spares-slide::after,
.spares-carousel-shade {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.spares-slide::after {
  z-index: 2;
  background: linear-gradient(to top, rgba(4,10,25,0.82) 0%, rgba(4,10,25,0.18) 42%, transparent 68%);
}
.spares-carousel-shade {
  z-index: 2;
  background: linear-gradient(105deg, rgba(13,35,105,0.18), transparent 48%, rgba(214,22,107,0.12));
}
.spares-carousel-label {
  position: absolute;
  top: 22px;
  left: 38%;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,0.28);
  border-radius: 999px;
  color: var(--white);
  background: rgba(6,14,34,0.32);
  backdrop-filter: blur(10px);
  font-size: 0.75rem;
  font-weight: 700;
}
.spares-carousel-label i { color: var(--pink); }
.spares-carousel-controls {
  position: absolute;
  left: 38%;
  right: 22px;
  bottom: 20px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
}
.spares-carousel-arrow {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
}
.spares-carousel-arrow:hover { background: var(--pink); border-color: var(--pink); }
.spares-carousel-dots { display: flex; align-items: center; gap: 6px; flex: 1; }
.spares-carousel-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.46);
  cursor: pointer;
  transition: width 0.3s, background 0.3s;
}
.spares-carousel-dot.is-active { width: 24px; background: var(--pink); }
.spares-carousel-count { color: rgba(255,255,255,0.68); font-family: var(--font-head); font-size: 0.72rem; white-space: nowrap; }
.spares-carousel-count strong { color: var(--white); font-size: 0.9rem; }

/* ---------- STORY FILM ---------- */
.story-film-section {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: radial-gradient(circle at 82% 18%, rgba(26,62,191,0.44), transparent 38%), #08101f;
}
.story-film-section::before {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  left: -180px;
  bottom: -220px;
  background: rgba(214,22,107,0.18);
  filter: blur(10px);
}
.story-film-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 54px;
}
.story-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: #ff73b2;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}
.story-film-copy h2 { color: var(--white); margin-bottom: 18px; }
.story-film-copy p { color: rgba(255,255,255,0.72); }
.story-runtime { display: flex; align-items: center; gap: 9px; margin-top: 24px; color: rgba(255,255,255,0.9); font-weight: 700; font-size: 0.86rem; }
.story-runtime i { color: var(--pink); font-size: 1.1rem; }
.story-video-shell {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: #000;
  box-shadow: 0 28px 70px rgba(0,0,0,0.42);
  border: 1px solid rgba(255,255,255,0.12);
  aspect-ratio: 16 / 9;
}
.story-video-shell video { width: 100%; height: 100%; display: block; object-fit: cover; }
.story-play-button {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  color: var(--white);
  background: linear-gradient(0deg, rgba(4,10,25,0.48), rgba(4,10,25,0.08));
  cursor: pointer;
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1.4px;
}
.story-play-button span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--pink);
  box-shadow: 0 0 0 12px rgba(255,255,255,0.13), 0 14px 30px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.story-play-button span i { margin-left: 4px; }
.story-play-button:hover span { transform: scale(1.08); box-shadow: 0 0 0 16px rgba(255,255,255,0.12), 0 16px 34px rgba(0,0,0,0.36); }
.story-play-button[hidden] { display: none; }

/* ---------- VISION / MISSION ---------- */
.vm-section {
  background: var(--grey-light);
  padding: 90px 0;
}
.vm-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vm-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.vm-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--pink));
  transform: scaleX(0);
  transition: transform 0.35s;
}
.vm-card:hover::after { transform: scaleX(1); }
.vm-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.vm-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition);
}
.vm-icon i { font-size: 1.5rem; color: var(--pink); transition: var(--transition); }
.vm-card:hover .vm-icon { background: var(--pink); }
.vm-card:hover .vm-icon i { color: var(--white); }
.vm-card h3 { margin-bottom: 14px; }
.vm-card p { color: var(--grey); font-size: 0.92rem; line-height: 1.75; }

/* ---------- TEAM ---------- */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
/* Alternate: even cards flip photo to right */
.team-card:nth-child(even) {
  flex-direction: row-reverse;
}
.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.team-img-wrap {
  width: 340px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}
.team-card:hover .team-img-wrap img {
  transform: scale(1.04);
}
/* Accent bar on the photo edge */
.team-img-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--pink), var(--blue));
}
.team-card:nth-child(even) .team-img-wrap::after {
  right: auto;
  left: 0;
}
/* Name badge overlaid at bottom of photo */
.team-img-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(8,12,24,0.85) 0%, transparent 100%);
  padding: 32px 24px 18px;
  color: var(--white);
}
.team-img-badge h3 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--white);
}
.team-img-badge .team-role {
  background: var(--pink);
  color: var(--white);
  border-radius: 3px;
}
.team-img-placeholder i {
  font-size: 5rem;
  color: rgba(255,255,255,0.30);
}
.team-info {
  padding: 40px 44px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.team-name-role {
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 16px;
}
.team-name-role h3 { margin-bottom: 4px; font-size: 1.3rem; }
.team-role {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  margin-right: 6px;
}
.team-trade {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--pink-light);
  color: var(--pink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.team-trade i { font-size: 0.75rem; }
.team-info p { color: var(--grey); font-size: 0.9rem; margin-bottom: 14px; }
.team-quote {
  border-left: 3px solid var(--pink);
  padding-left: 18px;
  margin-top: 20px;
  color: var(--dark-2);
  font-style: italic;
  font-size: 0.9rem;
  line-height: 1.7;
}
.team-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-head);
  font-weight: 700;
  font-style: normal;
  color: var(--pink);
  font-size: 0.85rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
  .team-gallery-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .team-gallery-heading p { max-width: 600px; }
  .spares-section { min-height: 0; }
  .spares-copy { width: 100%; }
  .spares-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    margin-top: 40px;
    border-radius: 18px;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .spares-carousel::after { display: none; }
  .spares-carousel-label { left: 22px; }
  .spares-slide figcaption { left: 28px; max-width: 70%; }
  .spares-carousel-controls { left: 22px; }
  .story-film-layout { grid-template-columns: 1fr; gap: 40px; }
  .story-film-copy { max-width: 650px; }
  .vm-grid { grid-template-columns: 1fr 1fr; }
  .team-card,
  .team-card:nth-child(even) { flex-direction: column; }
  .team-img-wrap { width: 100%; height: 360px; }
  .team-img-wrap::after { width: 100%; height: 4px; top: auto; bottom: 0; right: 0; left: 0; }
  .team-card:nth-child(even) .team-img-wrap::after { left: 0; }
  .team-info { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .team-carousel-viewport { height: max(540px, 72vh); }
  .team-gallery-heading { top: 30px; }
  .team-gallery-heading p { font-size: 0.88rem; line-height: 1.55; }
  .team-slide figcaption { bottom: 82px; font-size: 1.25rem; }
  .team-carousel-footer { left: 24px; right: 24px; bottom: 28px; justify-content: space-between; }
  .team-carousel-arrow { width: 42px; height: 42px; }
  .team-carousel-prev { left: 12px; }
  .team-carousel-next { right: 12px; }
  .team-slide::before {
    content: '';
    position: absolute;
    inset: -24px;
    z-index: 0;
    background: var(--team-image) center / cover no-repeat;
    filter: blur(18px) brightness(0.55);
    transform: scale(1.08);
  }
  .team-slide img {
    position: relative;
    z-index: 1;
    object-fit: contain;
    object-position: center;
  }
  .spares-carousel { border-radius: 14px; }
  .spares-carousel-viewport { height: 380px; }
  .spares-slide figcaption { left: 20px; bottom: 76px; max-width: 80%; }
  .spares-carousel-controls { left: 16px; right: 16px; gap: 8px; }
  .spares-carousel-dots { gap: 4px; }
  .spares-carousel-dot { width: 6px; height: 6px; }
  .spares-carousel-dot.is-active { width: 18px; }
  .story-play-button span { width: 58px; height: 58px; }
  .vm-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .team-slide,
  .spares-slide { transition: opacity 0.01s linear; transform: none; }
}
