/* ==========================================================================
   Burp Productions — About Us page additions
   Loaded AFTER css/style.css. Reuses the same :root tokens
   (--bg, --bg-raised, --ink, --ink-dim, --gold, --line, --accent, --font)
   so this page stays visually inline with index.html. Only new components
   introduced by the About page live here.
   ========================================================================== */

/* ---------- WIDER CONTENT COLUMN ----------
   style.css's default .wrap caps out at 1280px, which reads narrow on large
   screens for a page this copy-heavy. .about-wrap is applied alongside
   .wrap on both the hero content and <main> so the hero and every section
   below it (story, milestones, values, team, stats, cta) widen together
   and stay aligned with each other. */
.about-wrap {
  max-width: 1440px;
}

@media (max-width: 1024px) {
  .about-wrap {
    max-width: 100%;
  }
}

/* ---------- ABOUT HERO (static image instead of showreel video) ---------- */
.about-hero {
  padding: 56px 0 0;
  position: relative;
  height: 92vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #232323 0%, #0d0d0d 60%);
}

.about-hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.25) brightness(.6);
}

.about-hero-bg .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 6, 6, .25) 0%, rgba(6, 6, 6, .15) 40%, rgba(6, 6, 6, .92) 100%);
}

.about-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 64px;
}

.about-hero .bracket {
  top: -64px;
  left: 0;
}

.about-title {
  font-weight: 500;
  /* font-size: clamp(48px, 8vw, 104px); */
  font-size: clamp(32px, 5vw, 64px);
  line-height: .98;
  letter-spacing: -.01em;
  text-transform: lowercase;
  max-width: 900px;
}

.about-hero-sub {
  max-width: 480px;
  margin-top: 22px;
  color: var(--ink-dim);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- STORY / MISSION ---------- */
.story {
  padding: 130px 0 90px;
  position: relative;
}

.story .bracket {
  top: 0;
  left: 48px;
}

.story-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
}

.story-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.story-label::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.story h2 {
  font-weight: 500;
  font-size: clamp(26px, 3.4vw, 40px);
  line-height: 1.22;
  letter-spacing: -.01em;
  max-width: 420px;
}

.story-copy p {
  color: var(--ink-dim);
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: 20px;
  max-width: 560px;
}

.story-copy strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- MILESTONES TIMELINE (signature element) ---------- */
.milestones {
  padding: 40px 0 130px;
  position: relative;
}

.milestones-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.milestones-head h2 {
  font-family: var(--font);
  font-weight: 400;
  text-transform: lowercase;
  font-size: clamp(24px, 3.4vw, 34px);
}

.milestones-head p {
  color: var(--ink-dim);
  font-size: 13.5px;
  max-width: 280px;
  text-align: right;
}

.m-line {
  position: relative;
  padding-left: 40px;
}

.m-line::before {
  content: '';
  position: absolute;
  top: 6px;
  bottom: 6px;
  left: 5px;
  width: 1px;
  background: var(--line);
}

.m-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.m-item:first-child {
  border-top: none;
}

.m-item::before {
  content: '';
  position: absolute;
  top: 34px;
  left: -40px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}

.m-year {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--ink-dim);
  padding-top: 3px;
}

.m-body h4 {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  margin-bottom: 6px;
}

.m-body p {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.65;
  max-width: 560px;
}

/* ---------- VALUES / APPROACH (reuses .service-row rhythm) ---------- */
.values {
  padding: 0 0 140px;
}

.values .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 20px;
}

.values .head h3 {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
}

.values .head p {
  color: var(--ink-dim);
  font-size: 13.5px;
  max-width: 280px;
  text-align: right;
}

.value-row {
  display: grid;
  grid-template-columns: 60px 1fr 1.2fr;
  align-items: center;
  gap: 24px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  transition: padding-left .35s ease;
}

.value-row:last-child {
  border-bottom: 1px solid var(--line);
}

.value-row:hover {
  padding-left: 16px;
  background: rgba(255, 255, 255, .02);
}

.value-idx {
  color: var(--ink-dim);
  font-size: 14px;
}

.value-name {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
}

.value-desc {
  font-size: 13.5px;
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 380px;
}

/* ============ TEAM (ported verbatim from services.css) ============ */
.team {
  padding: 20px 0 130px;
}

.team-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 44px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}

.team-title {
  font-family: var(--font);
  font-weight: 400;
  text-transform: lowercase;
  font-size: clamp(34px, 5vw, 56px);
  margin-top: 10px;
}

.team-sub {
  max-width: 340px;
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.65;
}

/* -- founders: two large feature cards -- */
.team-founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  background: var(--line);
  margin-bottom: 3px;
}

/* -- crew: four cards, single row by default -- */
.team-crew {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: var(--line);
}

.team-card {
  position: relative;
  overflow: hidden;
  background: var(--bg-raised);
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.team-card--founder {
  min-height: 640px;
}

.team-idx {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 3;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--ink-dim);
  letter-spacing: .06em;
}

/* -- full-bleed photo layer -- */
.team-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(155deg, #1c1c1c, #0a0a0a);
}

.team-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1) brightness(.75) contrast(1.05);
  transform: scale(1.04);
  transition: filter .5s ease, transform .6s ease;
}

.team-card:hover .team-photo-img {
  filter: grayscale(0) brightness(.9) contrast(1.05);
  transform: scale(1.1);
}

/* -- fallback shown until a real photo file exists at the expected path -- */
.team-photo-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo-fallback span {
  font-family: var(--font);
  font-weight: 400;
  font-size: clamp(64px, 8vw, 96px);
  color: var(--ink);
  opacity: .16;
  letter-spacing: .02em;
  transition: opacity .4s ease;
}

.team-card:hover .team-photo-fallback span {
  opacity: .26;
}

/* -- corner brackets, viewfinder motif, echoing the rest of the site -- */
.team-bracket {
  position: absolute;
  z-index: 2;
  width: 22px;
  height: 22px;
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}

.team-bracket::before,
.team-bracket::after {
  content: "";
  position: absolute;
  background: var(--accent);
}

.team-bracket.tl { top: 18px; left: 18px; }
.team-bracket.tl::before { top: 0; left: 0; width: 2px; height: 100%; }
.team-bracket.tl::after  { top: 0; left: 0; width: 100%; height: 2px; }

.team-bracket.br { bottom: 18px; right: 18px; transform: scale(-1, -1); }
.team-bracket.br::before { top: 0; left: 0; width: 2px; height: 100%; }
.team-bracket.br::after  { top: 0; left: 0; width: 100%; height: 2px; }

.team-card:hover .team-bracket {
  opacity: .9;
}

/* -- scrim + meta, anchored to the bottom like a cast/credit card -- */
.team-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 38%, rgba(10, 10, 10, .55) 68%, rgba(6, 6, 6, .96) 100%);
}

.team-meta {
  position: relative;
  z-index: 2;
  padding: 28px 28px 30px;
}

.team-card--founder .team-meta {
  padding: 44px 46px 46px;
}

.team-meta h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px;
}

.team-card--founder .team-meta h3 {
  font-size: clamp(26px, 2.4vw, 32px);
}

.team-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
}

.team-card--founder .team-role {
  font-size: 12.5px;
  margin-bottom: 14px;
}

.team-card--founder .team-bio {
  font-size: 15px;
  max-width: 420px;
}

.team-bio {
  color: var(--ink-dim);
  font-size: 13.5px;
  line-height: 1.65;
  max-width: 340px;
  margin: 0;
}

.team-crew .team-card {
  min-height: 360px;
}

/* ---- team responsive (ported from services.css breakpoints) ---- */
@media (min-width: 1025px) and (max-width: 1440px) {
  .team-crew {
    grid-template-columns: repeat(4, 1fr);
  }

  .team-crew .team-card {
    min-height: 280px;
  }

  .team-crew .team-meta {
    padding: 20px 20px 22px;
  }

  .team-crew .team-meta h3 {
    font-size: 14.5px;
  }

  .team-crew .team-photo-fallback span {
    font-size: clamp(44px, 5vw, 64px);
  }
}

@media (min-width: 601px) and (max-width: 1024px) {
  .team-crew {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-crew .team-card {
    min-height: 320px;
  }
}

@media (max-width: 600px) {
  .team-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .team-founders,
  .team-crew {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .values .head,
  .milestones-head,
  .team-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .values .head p,
  .milestones-head p,
  .team-sub {
    text-align: left;
    max-width: 100%;
  }
}

@media (max-width: 900px) {
  .about-title {
    font-size: clamp(40px, 11vw, 64px);
  }

  .value-row {
    grid-template-columns: 40px 1fr;
    row-gap: 10px;
  }

  .value-desc {
    grid-column: 2 / 3;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .m-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .m-item::before {
    left: -40px;
  }
}