/* ============================================================
   People & Culture page — matches about-redesign / products vibe
   Relies on tokens + base from about-redesign.css
   ============================================================ */

/* ---------- Hero ---------- */
.pc-hero {
  padding-top: 172px;
}

.pc-hero .about-shell {
  width: min(1220px, 100%);
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: clamp(34px, 4.5vw, 72px);
  align-items: center;
}

.pc-hero h1 {
  margin-top: 22px;
  font-size: clamp(46px, 4.8vw, 80px);
  line-height: 1.02;
}

.pc-hero h1 em {
  color: var(--about-orange);
  font-family: var(--about-display) !important;
  font-style: normal;
}

.pc-hero-lede {
  margin-top: 26px;
  max-width: 520px;
  font-size: 19px;
  color: var(--about-muted);
}

.pc-hero-media {
  position: relative;
  height: 528px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--about-shadow);
}

.pc-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pc-hero-badge {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  padding: 20px 24px;
  border-radius: 16px;
  background: rgba(31, 12, 25, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
}

.pc-hero-badge strong {
  display: block;
  font-family: var(--about-display);
  font-size: 19px;
}

.pc-hero-badge span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

/* ---------- Section heads ---------- */
.pc-head {
  max-width: 800px;
  margin-bottom: 44px;
}

.pc-head h2 {
  margin-top: 14px;
}

.pc-head .pc-sub {
  margin-top: 16px;
  color: var(--about-muted);
  font-size: 18px;
  line-height: 1.5;
}

/* ---------- Culture (copy + values + media) ---------- */
.pc-culture-grid {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: clamp(34px, 4vw, 70px);
  align-items: center;
}

.pc-culture-copy h2 {
  margin-bottom: 22px;
}

.pc-culture-copy > p {
  max-width: 560px;
  color: var(--about-muted);
  font-size: 16px;
  line-height: 1.6;
}

.pc-culture-copy > p + p {
  margin-top: 14px;
}

.pc-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.pc-value {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--about-line);
  color: var(--about-ink);
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 16px 40px rgba(72, 38, 18, 0.06);
}

.pc-value .line-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
}

.pc-culture-media {
  height: 500px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--about-shadow);
}

.pc-culture-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Why join (heading left, reasons list right) ---------- */
.pc-why .about-shell {
  display: block;
}

.pc-why-head {
  max-width: 720px;
  margin-bottom: clamp(34px, 4vw, 54px);
}

.pc-why-head .section-kicker {
  margin-bottom: 18px;
}

.pc-why-head h2 {
  max-width: 20ch;
}

.pc-why-head p {
  margin-top: 18px;
  color: var(--about-muted);
  font-size: 17px;
  line-height: 1.55;
}

.pc-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.2vw, 20px);
}

.pc-why-tile {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  min-height: 236px;
  padding: clamp(26px, 2.2vw, 36px);
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--about-line);
  box-shadow: var(--about-shadow);
}

.pc-why-tile--feature {
  grid-column: span 2;
  border-color: transparent;
  color: #fff;
  background:
    radial-gradient(circle at 86% 6%, rgba(237, 85, 36, 0.24), transparent 44%),
    linear-gradient(150deg, #7b0f50, #3f0a28);
}

.pc-why-ico {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(237, 85, 36, 0.12);
  color: var(--about-orange);
}

.pc-why-ico svg {
  width: 26px;
  height: 26px;
}

.pc-why-tile--feature .pc-why-ico {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pc-why-num {
  position: absolute;
  top: clamp(18px, 1.8vw, 28px);
  right: clamp(20px, 1.9vw, 30px);
  font-family: var(--about-display);
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 600;
  line-height: 1;
  color: var(--about-maroon);
  opacity: 0.08;
  pointer-events: none;
}

.pc-why-tile--feature .pc-why-num {
  color: #fff;
  opacity: 0.16;
}

.pc-why-tile-text {
  margin-top: auto;
}

.pc-why-tile h3 {
  font-family: var(--about-display) !important;
  color: var(--about-maroon);
  font-size: clamp(20px, 1.5vw, 24px);
  font-weight: 500;
  line-height: 1.14;
}

.pc-why-tile p {
  margin-top: 8px;
  color: var(--about-muted);
  font-size: 15px;
  line-height: 1.55;
}

.pc-why-tile--feature h3 {
  color: #fff;
  font-size: clamp(24px, 2.1vw, 32px);
}

.pc-why-tile--feature p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  max-width: 44ch;
}

/* ---------- Explore opportunities CTA ---------- */
.pc-explore {
  background:
    radial-gradient(circle at 82% 16%, rgba(237, 85, 36, 0.16), transparent 30%),
    linear-gradient(150deg, var(--about-green), #0f3328);
}

.pc-explore .about-shell {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}

.pc-explore .section-kicker {
  color: #f2c9a6;
}

.pc-explore h2 {
  color: #fff !important;
  max-width: 18ch;
}

.pc-explore p {
  margin-top: 16px;
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

.pc-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0 32px;
  min-height: 56px;
  border-radius: 999px;
  background: var(--about-orange);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  white-space: nowrap;
}

.pc-btn:hover {
  transform: translateY(-2px);
}

.pc-btn.ghost {
  background: transparent;
  border: 1px solid var(--about-orange);
  color: var(--about-orange);
}

/* ---------- Workplace integrity ---------- */
.pc-integrity .about-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(26px, 3vw, 46px);
  align-items: center;
  padding: clamp(34px, 4vw, 56px) clamp(28px, 4vw, 60px);
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 20%, rgba(237, 85, 36, 0.16), transparent 26%),
    linear-gradient(150deg, #7b0f50, #3f0a28);
  box-shadow: var(--about-shadow);
}

.pc-integrity-icon {
  width: 84px;
  height: 84px;
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  color: #fff;
}

.pc-integrity-text .section-kicker {
  color: #f2c9a6;
  margin-bottom: 14px;
}

.pc-integrity-text h2 {
  color: #fff !important;
  font-size: clamp(28px, 2.6vw, 38px) !important;
}

.pc-integrity-text p {
  margin-top: 14px;
  max-width: 640px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .pc-hero .about-shell,
  .pc-culture-grid,
  .pc-explore .about-shell {
    grid-template-columns: 1fr;
  }
  .pc-why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pc-hero-media {
    height: 380px;
  }
  .pc-culture-media {
    height: 340px;
  }
  .pc-integrity .about-shell {
    grid-template-columns: auto 1fr;
    gap: 24px;
  }
  .pc-integrity-icon {
    width: 64px;
    height: 64px;
  }
}

@media (max-width: 640px) {
  .pc-hero {
    padding-top: 134px;
  }
  .pc-values {
    grid-template-columns: 1fr;
  }
  .pc-why-grid {
    grid-template-columns: 1fr;
  }
  .pc-why-tile--feature {
    grid-column: auto;
  }
  .pc-integrity .about-shell {
    grid-template-columns: 1fr;
    text-align: left;
  }
}

/* ---------- Card motion: hover + reveal ---------- */
.pc-hero-media,
.pc-culture-media {
  overflow: hidden;
}

.pc-hero-media img,
.pc-culture-media img {
  transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.pc-why-tile,
.pc-value {
  transition:
    transform 360ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 360ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
  .pc-hero-media:hover img,
  .pc-culture-media:hover img {
    transform: scale(1.045);
  }
  .pc-why-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 42px 92px rgba(72, 38, 18, 0.18);
  }
  .pc-value:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 58px rgba(72, 38, 18, 0.12);
  }
}

.motion-ready .pc-why-tile.about-scale,
.motion-ready .pc-value.about-scale,
.motion-ready .pc-hero-media.about-scale,
.motion-ready .pc-culture-media.about-scale {
  transform: translate3d(0, 30px, 0) scale(0.97);
}

.motion-ready .pc-why-tile.about-scale.is-visible,
.motion-ready .pc-value.about-scale.is-visible,
.motion-ready .pc-hero-media.about-scale.is-visible,
.motion-ready .pc-culture-media.about-scale.is-visible {
  transform: translate3d(0, 0, 0) scale(1);
}

/* ============================================================
   v27 — Explore as a contained green rectangle + job application form
   ============================================================ */
/* Explore Opportunities: contained rounded green card, not full-bleed */
.pc-explore-card {
  background: transparent !important;
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(40px, 6vw, 80px);
}
.pc-explore-card .about-shell {
  background:
    radial-gradient(circle at 82% 16%, rgba(237, 85, 36, 0.16), transparent 30%),
    linear-gradient(150deg, var(--about-green, #155c46), #0f3328);
  border-radius: 22px;
  padding: clamp(36px, 4vw, 64px);
  box-shadow: 0 30px 80px -50px rgba(15, 51, 40, 0.6);
}

/* ===== Job application modal ===== */
.pc-modal-locked { overflow: hidden; }
.pc-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 40px);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.32s ease, visibility 0s linear 0.32s;
}
.pc-modal.is-open {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.32s ease;
}
.pc-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 10, 18, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.pc-modal__dialog {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #fffdf8;
  border: 1px solid rgba(92, 26, 53, 0.12);
  border-radius: 22px;
  padding: clamp(28px, 4vw, 52px);
  box-shadow: 0 40px 110px -40px rgba(40, 12, 22, 0.6);
  transform: translateY(24px) scale(0.98);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.pc-modal.is-open .pc-modal__dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.pc-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(92, 26, 53, 0.14);
  border-radius: 50%;
  background: #fff;
  color: var(--about-maroon, #5c1a35);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.pc-modal__close:hover {
  background: var(--about-maroon, #5c1a35);
  color: #fff;
  transform: rotate(90deg);
}
.pc-modal__intro { margin-bottom: clamp(22px, 3vw, 32px); padding-right: 40px; }
.pc-modal__intro h2 {
  color: var(--about-maroon, #5c1a35);
  margin-top: 8px;
  font-size: clamp(26px, 3.4vw, 38px);
  line-height: 1.08;
}
.pc-modal__intro p {
  margin-top: 14px;
  max-width: 520px;
  color: rgba(26, 15, 20, 0.7);
  font-size: 15.5px;
  line-height: 1.55;
}
.pc-apply-mail {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  color: var(--about-orange, #e85a1a);
  letter-spacing: 0.02em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.pc-apply-mail:hover { border-bottom-color: currentColor; }
.pc-apply-form { display: block; }
.pc-apply-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.pc-apply-field { display: flex; flex-direction: column; margin-bottom: 18px; }
.pc-apply-field label {
  font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase;
  color: rgba(26,15,20,0.6); font-weight: 600; margin-bottom: 8px;
}
.pc-field-opt { text-transform: none; letter-spacing: 0; font-weight: 500; opacity: 0.7; }
.pc-apply-field input,
.pc-apply-field select,
.pc-apply-field textarea {
  font: inherit;
  padding: 13px 16px;
  border: 1px solid rgba(92,26,53,0.18);
  border-radius: 10px;
  background: #fff;
  color: var(--about-ink, #1a0f14);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.pc-apply-field input:focus,
.pc-apply-field select:focus,
.pc-apply-field textarea:focus {
  outline: none;
  border-color: var(--about-orange, #e85a1a);
  box-shadow: 0 0 0 3px rgba(232,90,26,0.12);
}
.pc-apply-field textarea { resize: vertical; }
.pc-apply-submit {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 6px;
  padding: 14px 28px;
  border: none; border-radius: 100px;
  background: var(--about-orange, #e85a1a); color: #fff;
  font-weight: 600; font-size: 15px; cursor: pointer;
  transition: transform 0.25s, background 0.25s;
}
.pc-apply-submit:hover { background: #d44e12; transform: translateY(-2px); }
@media (max-width: 900px) {
  .pc-apply-shell { grid-template-columns: 1fr; }
  .pc-apply-row { grid-template-columns: 1fr; }
}
