/* ================================================================
   CAREERS — Page-Specific Styles (v2)
   ================================================================ */

/* ── HERO ──────────────────────────────────────────────────────── */
.cr-hero {
  background: var(--black);
  padding: clamp(120px, 14vw, 180px) 0 clamp(72px, 8vw, 120px);
  text-align: center;
}
.cr-hero-big {
  font-family: var(--font-heading);
  font-size: clamp(64px, 10vw, 120px);
  font-weight: 200;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1;
  margin: 0 auto 24px;
}
.cr-hero-sub {
  font-family: var(--font-heading);
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 auto 40px;
  max-width: 800px;
  line-height: 1.35;
}
.cr-hero-body {
  font-family: var(--font-body);
  font-size: clamp(17px, 1.8vw, 20px);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255,255,255,0.72);
  max-width: 760px;
  margin: 0 auto;
}

/* ── TEAM MISSION (LIGHT) ───────────────────────────────────────── */
.cr-mission {
  background: #faf7f2;
  padding: clamp(72px, 9vw, 120px) 0;
}
.cr-mission-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 5%;
}
.cr-mission-heading {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 200;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.1;
  margin-bottom: 40px;
}
.cr-mission-body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 300;
  line-height: 1.85;
  color: #444;
  margin-bottom: 22px;
}
.cr-mission-body:last-child { margin-bottom: 0; }


/* ── OPEN ROLES (DARK) ───────────────────────────────────────────── */
.cr-roles {
  background: #0a0a0a;
  padding: clamp(72px, 9vw, 120px) 0;
}
.cr-roles-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto clamp(48px, 6vw, 80px);
  padding: 0 5%;
}
.cr-roles-headline {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 200;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
}
.cr-roles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 5%;
}
.cr-role-card {
  background: #faf7f2;
  border: 1px solid rgba(212,168,83,0.2);
  border-radius: 8px;
  padding: clamp(28px, 3.5vw, 44px);
  transition: border-color 0.3s, background 0.3s;
}
.cr-role-card:hover {
  border-color: rgba(212,168,83,0.5);
  background: #f3efe8;
}
.cr-role-title {
  font-family: var(--font-heading);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 14px;
  line-height: 1.3;
}
.cr-role-body {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.4vw, 16px);
  font-weight: 300;
  line-height: 1.8;
  color: #555;
}

/* ── THRIVE (LIGHT) ──────────────────────────────────────────────── */
.cr-thrive {
  background: #fff;
  padding: clamp(72px, 9vw, 120px) 0;
}
.cr-thrive-inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 5%;
}
.cr-thrive-headline {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 200;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.1;
  margin-bottom: 48px;
}
.cr-thrive-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
}
.cr-thrive-list li {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 300;
  color: #333;
  line-height: 1.65;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.cr-thrive-list li:first-child { border-top: 1px solid rgba(0,0,0,0.08); }
.cr-thrive-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 8px;
}

/* ── LOCATION — image left, text right ───────────────────────────── */
.cr-location {
  position: relative;
  overflow: hidden;
  min-height: clamp(420px, 55vw, 680px);
  background: var(--black);
  display: flex;
  align-items: center;
}
.cr-location-img {
  position: absolute;
  left: 0;
  top: 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  display: block;
}
.cr-location-gradient {
  position: absolute;
  left: 0;
  top: 0;
  width: 78%;
  height: 100%;
  background: linear-gradient(to right, transparent 25%, var(--black) 68%);
  z-index: 1;
}
.cr-location-content {
  position: relative;
  z-index: 2;
  margin-left: auto;
  width: 46%;
  padding: clamp(48px, 6vw, 80px) clamp(32px, 5vw, 72px) clamp(48px, 6vw, 80px) 0;
}
.cr-location-headline {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 200;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.cr-location-body {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 36px;
  max-width: 400px;
}
.cr-location-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cr-location-tag {
  background: rgba(212,168,83,0.1);
  border: 1px solid rgba(212,168,83,0.3);
  border-radius: 100px;
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ── APPLICATION FORM (LIGHT) ────────────────────────────────────── */
.cr-apply {
  background: #faf7f2;
  padding: clamp(72px, 9vw, 120px) 0;
}
.cr-apply-inner {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 5%;
}
.cr-apply-headline {
  font-family: var(--font-heading);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 200;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #111;
  line-height: 1.1;
  margin-bottom: 12px;
}
.cr-apply-sub {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.7vw, 19px);
  font-weight: 300;
  color: #666;
  margin-bottom: 56px;
  line-height: 1.65;
}
.cr-form-group {
  margin-bottom: 28px;
}
.cr-form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #222;
  margin-bottom: 10px;
}
.cr-form-input,
.cr-form-textarea {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: 4px;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: #111;
  box-sizing: border-box;
  transition: border-color 0.25s;
  -webkit-appearance: none;
}
.cr-form-input:focus,
.cr-form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.cr-form-textarea {
  resize: vertical;
  min-height: 140px;
  line-height: 1.65;
}
.cr-form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.cr-form-divider {
  margin: 48px 0 36px;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.1);
}
.cr-form-section-label {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 200;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 8px;
}
.cr-form-section-hint {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: #888;
  margin-bottom: 32px;
}

/* Rating scale */
.cr-rating-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.cr-rating-row:first-of-type { border-top: 1px solid rgba(0,0,0,0.07); }
.cr-rating-skill {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  color: #222;
  min-width: 240px;
  flex-shrink: 0;
}
.cr-rating-scale {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}
.cr-scale-end {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: #aaa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.cr-scale-end--low { padding-right: 12px; }
.cr-scale-end--high { padding-left: 12px; }
.cr-scale-numbers {
  display: flex;
  gap: 4px;
  flex: 1;
}
.cr-scale-numbers label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  flex: 1;
}
.cr-scale-numbers label span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  color: #bbb;
  line-height: 1;
  transition: color 0.2s;
}
.cr-scale-numbers label input[type="radio"] {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  cursor: pointer;
  margin: 0;
}
.cr-scale-numbers label:has(input:checked) span {
  color: #D4A853;
  font-weight: 700;
}

/* Source radio */
.cr-source-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}
.cr-source-option {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  color: #333;
}
.cr-source-option input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
  margin: 0;
}

/* Submit button */
.cr-submit-btn {
  display: inline-block;
  background: var(--accent);
  color: #000;
  padding: 22px 64px;
  border: none;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(212,168,83,0.3);
  margin-top: 48px;
  width: 100%;
}
.cr-submit-btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(212,168,83,0.4);
}

/* ── REVEAL ANIMATION ─────────────────────────────────────────────── */
.cr-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.cr-reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ───────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .cr-roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cr-form-row-2 {
    grid-template-columns: 1fr;
  }
  .cr-rating-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .cr-rating-skill {
    min-width: unset;
  }
  .cr-rating-scale {
    width: 100%;
  }
  /* Location: stack on tablet */
  .cr-location {
    min-height: unset;
    flex-direction: column;
    align-items: stretch;
  }
  .cr-location-img {
    position: relative;
    width: 100%;
    height: clamp(280px, 55vw, 420px);
  }
  .cr-location-gradient {
    display: none;
  }
  .cr-location-content {
    width: 100%;
    padding: clamp(40px, 6vw, 64px) 5%;
    background: var(--black);
  }
}
@media (max-width: 560px) {
  .cr-roles-grid {
    grid-template-columns: 1fr;
  }
  .cr-role-card {
    padding: 28px 24px;
  }
  .cr-scale-numbers label span {
    font-size: 10px;
  }
}
