/* ==========================================================================
   Careers page — Chick-fil-A Raynham
   Tokens, header, footer, buttons, cards, steps, banner and reveals all
   live in theme.css. Only page-specific layout and flourishes belong here.
   ========================================================================== */

/* ---------- Hero ---------- */
.careers-hero .page-hero__lede { margin-bottom: 30px; }

/* Quick-fact chips under the hero actions */
.hero-facts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .95rem;
  font-weight: 600;
}

.hero-facts li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-facts li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--butter);
  box-shadow: 0 0 0 3px var(--butter-tint);
}

/* Portrait photo (1280x1600) — give it a taller frame than the default 4:3 */
.careers-hero__media { position: relative; }

.careers-hero .page-hero__media img {
  aspect-ratio: 4 / 5;
  max-height: 640px;
  object-position: center 30%;
}

.careers-hero__sticker {
  position: absolute;
  top: -14px;
  left: -10px;
  z-index: 2;
  transform: rotate(-6deg);
}

/* ---------- Benefits ---------- */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.perk h3 { font-size: 1.3rem; }
.perk p { font-size: .98rem; }

/* ---------- Roles ---------- */
.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 32px);
  max-width: 1020px;
  margin: 0 auto;
}

.role {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(28px, 3.4vw, 40px);
  overflow: hidden;
}

/* Soft butter wash in the corner of each role card */
.role::after {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--butter-tint), transparent 70%);
  pointer-events: none;
  transition: transform .6s var(--ease);
}

.role--lead::after { background: radial-gradient(circle, var(--red-tint), transparent 70%); }
.role:hover::after { transform: scale(1.35); }

.role__tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 7px 14px;
  border-radius: var(--pill);
  background: var(--butter-tint);
  color: var(--ink);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.role--lead .role__tag { background: var(--red-tint); color: var(--red-deep); }

.role h3 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  margin-bottom: 14px;
}

.role__summary {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}

.role__list {
  position: relative;
  z-index: 1;
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 30px;
  color: var(--ink-2);
  font-size: .96rem;
}

.role__list li {
  position: relative;
  padding-left: 28px;
}

.role__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .3em;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--red);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='m7.5 12.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='%23000'/%3E%3Cpath d='m7.5 12.5 3 3 6-7' fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.role .btn { position: relative; z-index: 1; margin-top: auto; }

/* ---------- Core values ---------- */
.values-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}

.values-intro h2 {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  margin-bottom: 18px;
}

.values-intro p {
  color: var(--ink-2);
  font-size: 1.08rem;
  max-width: 44ch;
  margin-bottom: 24px;
}

.values-list {
  list-style: none;
  display: grid;
  gap: 14px;
}

.value {
  display: grid;
  grid-template-columns: 84px 1fr;
  align-items: center;
  gap: 22px;
  padding: 20px 26px 20px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  box-shadow: var(--shadow-sm);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s ease;
}

.value:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.value img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  transition: transform .5s var(--spring);
}

.value:hover img { transform: rotate(-6deg) scale(1.08); }

.value h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.value p { color: var(--ink-2); }

/* ---------- How to apply ---------- */
.apply-steps { list-style: none; }

.apply-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  margin-top: clamp(32px, 4vw, 48px);
}

.apply-cta__note {
  font-size: .92rem;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .perks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .roles-grid { grid-template-columns: 1fr; max-width: 640px; }

  .values-grid { grid-template-columns: 1fr; gap: 36px; }
  .values-intro p { max-width: 58ch; }

  .careers-hero .page-hero__media img { aspect-ratio: 4 / 3; max-height: none; }
  .careers-hero__sticker { left: 12px; top: 14px; }
}

@media (max-width: 640px) {
  .perks-grid { grid-template-columns: 1fr; }

  .page-hero__actions .btn,
  .role .btn,
  .apply-cta .btn { width: 100%; }

  .value {
    grid-template-columns: 64px 1fr;
    gap: 16px;
    padding: 18px;
  }

  .value img { width: 64px; height: 64px; }
  .value h3 { font-size: 1.4rem; }
  .value:hover { transform: none; }

  .careers-hero .page-hero__media img { aspect-ratio: 1; }
}
