/* ============================================================
   OXALIS — OUR PEOPLE PAGE CSS
   Built from Figma: Our People page
   ============================================================ */

/* ─── PAGE WRAPPER ─────────────────────────────────────────── */
.ox-people-page {
  background: #13252A;
}

/* ─── SECTION 1: HERO ───────────────────────────────────────── */
.ox-people-hero {
  background: #13252A;
  position: relative;
  min-height: 650px;
  overflow: hidden;
}
.ox-people-hero__graphic {
  position: absolute;
  right: 169px;
  top: 156px;
  width: 551px;
  height: auto;
  pointer-events: none;
}
.ox-people-hero__lockup {
  position: absolute;
  width: 559px;
  left: 179px;
  top: 214px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.ox-people-hero__h1 {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 68px;
  line-height: 105%;
  letter-spacing: -0.02em;
  color: #F3F4F4;
  margin: 0;
  width: 559px;
}
.ox-people-hero__divider {
  width: 100%;
  height: 1px;
  background: rgba(243,244,244,0.25);
  border: none;
  margin: 0;
}
.ox-people-hero__intro {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #F3F4F4;
  margin: 0;
  width: 559px;
}
/* spacer so section stretches to hold lockup */
.ox-people-hero__spacer {
  height: 650px;
  display: block;
}

/* ─── PULL QUOTE (dark variant) ─────────────────────────────── */
.ox-people-quote {
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-people-quote--dark {
  background: #13252A;
}
.ox-people-quote--light {
  background: #FAF4E5;
}
.ox-people-quote__box {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px;
  gap: 24px;
  width: 100%;
  border: 1px solid #717C7F;
}
.ox-people-quote--dark .ox-people-quote__box {
  background: #1F3035;
}
.ox-people-quote--light .ox-people-quote__box {
  background: #FAEDDA;
}
.ox-people-quote__text {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 24px;
  line-height: 160%;
  margin: 0;
  width: 100%;
}
.ox-people-quote--dark .ox-people-quote__text {
  color: #F3F4F4;
}
.ox-people-quote--light .ox-people-quote__text {
  color: #13252A;
}
.ox-people-quote__attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.ox-people-quote__name {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 105%;
  margin: 0;
}
.ox-people-quote--dark .ox-people-quote__name {
  color: #F3F4F4;
}
.ox-people-quote--light .ox-people-quote__name {
  color: #13252A;
}
.ox-people-quote__title {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  margin: 0;
}
.ox-people-quote--dark .ox-people-quote__title {
  color: #F3F4F4;
}
.ox-people-quote--light .ox-people-quote__title {
  color: #13252A;
}

/* ─── SECTION 3: FULL-WIDTH TEAM PHOTO ──────────────────────── */
.ox-people-photo {
  background: #13252A;
  padding: 0 179px;
  box-sizing: border-box;
}
.ox-people-photo__img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid #717C7F;
}

/* ─── SECTION 4: OUR TEAM GRID ──────────────────────────────── */
.ox-people-team {
  background: #13252A;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-people-team__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}
.ox-people-team__h2 {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  text-transform: capitalize;
  color: #F3F4F4;
  margin: 0;
}
/* 3-column wrapping grid (Figma: 5 rows × 3, gap 30px horiz / 24px vert) */
.ox-people-team__grid {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  align-content: flex-start;
  gap: 24px 30px;
  width: 100%;
}
/* Each card: photo + flare overlay + name/title below */
.ox-people-team__card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: calc(33.333% - 20px); /* 3 cols with 30px gap */
}
.ox-people-team__photo-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* square */
  overflow: hidden;
  background: #1F3035;
}
.ox-people-team__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Orange gradient flare at bottom of photo */
.ox-people-team__flare {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #FF6600 0%, #FBD0AC 100%);
}
.ox-people-team__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 12px;
  width: 100%;
}
.ox-people-team__name {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 105%;
  color: #F3F4F4;
  margin: 0;
}
.ox-people-team__title {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 160%;
  color: #F3F4F4;
  margin: 0;
}

/* ─── CAREERS SECTION (light frame) ─────────────────────────── */
.ox-people-careers {
  background: #FAF4E5;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-people-careers__header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 0 54px;
  gap: 12px;
}
.ox-people-careers__h2 {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  text-transform: capitalize;
  color: #13252A;
  margin: 0;
}
.ox-people-careers__intro {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #13252A;
  margin: 0;
}
.ox-people-careers__deck {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  margin-bottom: 16px;
}
.ox-people-careers__card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px 16px 0 24px;
  gap: 24px;
  flex: 1;
  height: 358px;
  background: #FAF4E5;
  border: 1px solid #717C7F;
  margin-right: -1px;
}
.ox-people-careers__card-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.ox-people-careers__card-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}
.ox-people-careers__card-title {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 22px;
  line-height: 120%;
  letter-spacing: -0.02em;
  color: #13252A;
  margin: 0;
}
.ox-people-careers__card-divider {
  width: 100%;
  height: 1px;
  background: #717C7F;
  border: none;
  margin: 0;
}
.ox-people-careers__card-body {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 21px;
  color: #13252A;
  margin: 0;
}
.ox-people-careers__cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  background: #FAE6CE;
  border: 1px solid #FF6600;
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 80px;
}
.ox-people-careers__cta-label {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 16px;
  line-height: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #13252A;
}
.ox-people-careers__cta:hover { background: #f5d5b0; }

/* ─── CONTACT FORM (dark) ────────────────────────────────────── */
.ox-people-form {
  background: #13252A;
  padding: 0 179px;
  box-sizing: border-box;
  display: flow-root;
}
.ox-people-form__inner {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0 0 80px;
}
.ox-people-form__header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  margin-top: 32px;
}
.ox-people-form__h2 {
  font-family: 'Tenez', serif;
  font-weight: 400;
  font-size: 46px;
  line-height: 105%;
  text-transform: capitalize;
  color: #F3F4F4;
  margin: 0;
}
.ox-people-form__intro {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 160%;
  color: #F3F4F4;
  margin: 0;
}
.ox-people-form__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.ox-people-form__row {
  display: flex;
  flex-direction: row;
  gap: 24px;
  width: 100%;
}
.ox-people-form__field {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.ox-people-form__label {
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  font-size: 14px;
  line-height: 105%;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F3F4F4;
}
.ox-people-form__input {
  box-sizing: border-box;
  width: 100%;
  height: 34px;
  background: #1F3035;
  border: 1px solid #717C7F;
  color: #F3F4F4;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  padding: 0 12px;
  outline: none;
}
.ox-people-form__input:focus { border-color: #FF6600; }
.ox-people-form__textarea {
  box-sizing: border-box;
  width: 100%;
  height: 129px;
  background: #1F3035;
  border: 1px solid #717C7F;
  color: #F3F4F4;
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  padding: 12px;
  outline: none;
  resize: vertical;
}
.ox-people-form__textarea:focus { border-color: #FF6600; }
.ox-people-form__submit {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  gap: 12px;
  background: #1F3035;
  border: 1px solid #FF6600;
  cursor: pointer;
  text-decoration: none;
}
.ox-people-form__submit-label {
  font-family: 'Figtree', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #F3F4F4;
}
.ox-people-form__submit:hover { background: #263e44; }

/* ============================================================
   Responsive — added 2026-05-06, follows unified scale
   1100 / 900 / 600 / 480
   ============================================================ */

/* ─── 1100px: small desktop / large tablet ─────────────────── */
@media (max-width: 1100px) {
  .ox-people-hero { min-height: 500px; }
  .ox-people-hero__graphic {
    right: 40px;
    top: 120px;
    width: 400px;
  }
  .ox-people-hero__lockup {
    left: 80px;
    top: 160px;
    width: 450px;
  }
  .ox-people-hero__h1 {
    font-size: 52px;
    width: 100%;
  }
  .ox-people-hero__intro { width: 100%; }
  .ox-people-hero__spacer { height: 500px; }

  .ox-people-quote { padding: 0 80px; }
  .ox-people-photo { padding: 0 80px; }
  .ox-people-team { padding: 0 80px; }
  .ox-people-careers { padding: 0 80px; }
  .ox-people-form { padding: 0 80px; }
}

/* ─── 900px: tablet — collapse grids ──────────────────────── */
@media (max-width: 900px) {
  .ox-people-hero { min-height: 420px; }
  .ox-people-hero__graphic {
    right: 20px;
    top: 100px;
    width: 320px;
    opacity: 0.4;
  }
  .ox-people-hero__lockup {
    left: 48px;
    top: 120px;
    width: calc(100% - 96px);
  }
  .ox-people-hero__h1 { font-size: 46px; }
  .ox-people-hero__spacer { height: 420px; }

  .ox-people-quote { padding: 0 48px; }
  .ox-people-photo { padding: 0 48px; }
  .ox-people-team { padding: 0 48px; }
  .ox-people-careers { padding: 0 48px; }
  .ox-people-form { padding: 0 48px; }

  /* Team grid: 2 columns */
  .ox-people-team__card { width: calc(50% - 15px); }
  .ox-people-team__h2 { font-size: 38px; }

  /* Careers: still row but tighter */
  .ox-people-careers__card { height: auto; min-height: 280px; }
  .ox-people-careers__h2 { font-size: 38px; }

  /* Form heading */
  .ox-people-form__h2 { font-size: 38px; }

  /* Quote text */
  .ox-people-quote__text { font-size: 20px; }
  .ox-people-quote__name { font-size: 28px; }
}

/* ─── 600px: phablet — stack everything ───────────────────── */
@media (max-width: 600px) {
  /* Hero: switch to document flow */
  .ox-people-hero {
    min-height: auto;
    padding: 120px 24px 48px;
  }
  .ox-people-hero__graphic {
    position: absolute;
    right: -40px;
    top: 60px;
    width: 260px;
    opacity: 0.25;
  }
  .ox-people-hero__lockup {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }
  .ox-people-hero__h1 {
    font-size: 38px;
    width: 100%;
  }
  .ox-people-hero__intro {
    font-size: 16px;
    width: 100%;
  }
  .ox-people-hero__spacer { display: none; }

  /* Section padding */
  .ox-people-quote { padding: 0 24px; }
  .ox-people-photo { padding: 0 24px; }
  .ox-people-team { padding: 0 24px; }
  .ox-people-careers { padding: 0 24px; }
  .ox-people-form { padding: 0 24px; }

  /* Quote */
  .ox-people-quote__box { padding: 24px; }
  .ox-people-quote__text { font-size: 18px; }
  .ox-people-quote__name { font-size: 24px; }
  .ox-people-quote__title { font-size: 16px; }

  /* Team grid: 2 columns */
  .ox-people-team__card { width: calc(50% - 12px); }
  .ox-people-team__grid { gap: 20px 24px; }
  .ox-people-team__h2 { font-size: 32px; }
  .ox-people-team__name { font-size: 18px; }

  /* Careers: stack cards */
  .ox-people-careers__deck {
    flex-direction: column;
    gap: 16px;
  }
  .ox-people-careers__card {
    height: auto;
    min-height: auto;
    margin-right: 0;
    padding: 24px;
  }
  .ox-people-careers__h2 { font-size: 32px; }
  .ox-people-careers__header { padding-bottom: 32px; }
  .ox-people-careers__cta { margin-bottom: 48px; min-height: 44px; }

  /* Form: stack rows */
  .ox-people-form__row {
    flex-direction: column;
    gap: 24px;
  }
  .ox-people-form__h2 { font-size: 32px; }
  .ox-people-form__inner { padding-bottom: 48px; }
  .ox-people-form__input { height: 44px; }
  .ox-people-form__submit { min-height: 44px; }
}

/* ─── 480px: mobile — priority target ─────────────────────── */
@media (max-width: 480px) {
  .ox-people-hero { padding: 100px 16px 32px; }
  .ox-people-hero__graphic {
    right: -60px;
    top: 40px;
    width: 200px;
  }
  .ox-people-hero__h1 { font-size: 32px; }
  .ox-people-hero__lockup { gap: 16px; }

  /* Section padding */
  .ox-people-quote { padding: 0 16px; }
  .ox-people-photo { padding: 0 16px; }
  .ox-people-team { padding: 0 16px; }
  .ox-people-careers { padding: 0 16px; }
  .ox-people-form { padding: 0 16px; }

  /* Quote */
  .ox-people-quote__box { padding: 16px; gap: 16px; }
  .ox-people-quote__text { font-size: 16px; }
  .ox-people-quote__name { font-size: 22px; }
  .ox-people-quote__title { font-size: 14px; }

  /* Team grid: 2 columns still — cards are compact enough */
  .ox-people-team__card { width: calc(50% - 8px); }
  .ox-people-team__grid { gap: 16px; }
  .ox-people-team__h2 { font-size: 28px; }
  .ox-people-team__name { font-size: 16px; }
  .ox-people-team__title { font-size: 12px; }

  /* Careers */
  .ox-people-careers__card { padding: 20px 16px; gap: 16px; }
  .ox-people-careers__card-title { font-size: 18px; }
  .ox-people-careers__h2 { font-size: 28px; }

  /* Form */
  .ox-people-form__h2 { font-size: 28px; }
  .ox-people-form__inner { padding-bottom: 32px; }
}