/* ---------- Section Headings Alignment & Sizing ---------- */
.section__eyebrow {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  letter-spacing: 0.02em;
}

.section__head.text-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin-inline: auto;
  margin-bottom: var(--space-6);
}

.section__head.text-center .section__eyebrow {
  display: block;
  text-align: center;
  margin-inline: auto;
  margin-bottom: var(--space-1);
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
}

.section__head.text-center .section__title {
  text-align: center;
  margin-inline: auto;
  line-height: 1.05;
}

.section__head.text-center p {
  text-align: center;
  margin-inline: auto;
}

/* ---------- Hero 2-Column Split ---------- */
.careers-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: clamp(var(--space-5), 5vw, var(--space-8));
  align-items: center;
  text-align: left;
}

.careers-hero-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.careers-hero-left .page-hero__title {
  margin-inline: 0;
  text-align: left;
  line-height: 1.05;
}

.careers-hero-left p {
  margin-inline: 0;
  text-align: left;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.9);
  margin-top: var(--space-2);
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  line-height: 1.6;
}

.careers-hero-cta {
  display: flex;
  gap: var(--space-3);
  flex-wrap: wrap;
  margin-top: var(--space-5);
}

.careers-hero-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.careers-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-left: 4px solid var(--brand-yellow);
  padding: var(--space-4) var(--space-5);
  border-radius: var(--radius-md);
  text-align: left;
  transition: transform 0.25s ease, background 0.25s ease;
}

.careers-stat:hover {
  transform: translateX(4px);
  background: rgba(0, 0, 0, 0.38);
}

.careers-stat__label {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-yellow);
}

.careers-stat__val {
  font-family: var(--font-display);
  font-size: 1.85rem;
  color: #ffffff;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.careers-stat__desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 2px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .careers-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .careers-hero-left {
    align-items: center;
    text-align: center;
  }

  .careers-hero-left .page-hero__title,
  .careers-hero-left p {
    text-align: center;
    margin-inline: auto;
  }

  .careers-hero-cta {
    justify-content: center;
  }
}

/* ---------- Crew Perks 3-Item Highlights ---------- */
.crew-perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-6);
  max-width: 960px;
  margin-inline: auto;
  margin-top: var(--space-4);
}

.crew-perk-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2);
  padding: var(--space-2);
}

.crew-perk-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--brand-white);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-orange);
  margin-bottom: var(--space-2);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.crew-perk-item:hover .crew-perk-icon {
  transform: translateY(-4px) scale(1.08);
  background: var(--brand-orange);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(255, 87, 34, 0.25);
}

.crew-perk-icon svg {
  width: 24px;
  height: 24px;
}

.crew-perk-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  color: var(--brand-ink);
  letter-spacing: 0.02em;
  margin: 0;
}

.crew-perk-desc {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  max-width: 32ch;
}

/* ---------- Career Ladder / Horizontal Rail ---------- */
.ladder-rail-wrapper {
  position: relative;
  width: 100%;
}

.ladder-rail {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: var(--space-3) 4px var(--space-4);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--brand-orange) rgba(0, 0, 0, 0.08);
}

.ladder-rail::-webkit-scrollbar {
  height: 6px;
}

.ladder-rail::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-pill);
}

.ladder-rail::-webkit-scrollbar-thumb {
  background: var(--brand-orange);
  border-radius: var(--radius-pill);
}

.ladder-rail .ladder-card {
  flex: 0 0 320px;
  max-width: 340px;
  scroll-snap-align: start;
}

@media (max-width: 640px) {
  .ladder-rail .ladder-card {
    flex: 0 0 280px;
  }
}

.ladder-card {
  position: relative;
  background: var(--brand-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.ladder-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-orange);
}

.ladder-rail__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-4);
}

.ladder-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-white);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.ladder-nav-btn:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: var(--shadow-md);
}

.ladder-nav-btn svg {
  width: 20px;
  height: 20px;
}

.ladder-rail__hint {
  font-size: 1.2rem;
  color: var(--brand-orange);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ladder-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  gap: var(--space-2);
}

.ladder-card__num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--brand-orange);
  line-height: 1;
}

.ladder-card__timeline {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: #fff3e0;
  color: #d84315;
  white-space: nowrap;
}

.ladder-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: var(--space-2);
  color: var(--brand-ink);
  letter-spacing: 0.02em;
}

.ladder-card__desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.55;
  flex: 1;
}

.ladder-card--highlight {
  background: var(--brand-ink);
  color: var(--brand-white);
  border-color: #333;
}

.ladder-card--highlight .ladder-card__num {
  color: var(--brand-yellow);
}

.ladder-card--highlight .ladder-card__title {
  color: var(--brand-white);
}

.ladder-card--highlight .ladder-card__desc {
  color: rgba(255, 255, 255, 0.8);
}

.ladder-card--highlight .ladder-card__timeline {
  background: rgba(255, 193, 7, 0.2);
  color: var(--brand-yellow);
}

/* ---------- 3D Spinning Perks Carousel ---------- */
#benefits {
  overflow-x: clip;
}

.perks-spinner-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--space-2) 0 var(--space-4);
  user-select: none;
}

.perks-carousel-stage {
  position: relative;
  width: 100%;
  height: 350px;
  perspective: 1100px;
  perspective-origin: 50% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.perks-carousel-ring {
  position: relative;
  width: 290px;
  height: 270px;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.2, 0.85, 0.3, 1);
}

.perk-card--3d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  padding: var(--space-5) var(--space-6);
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform-origin: center center;
  transition: opacity 0.75s cubic-bezier(0.2, 0.85, 0.3, 1), filter 0.75s cubic-bezier(0.2, 0.85, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.perk-card--3d.is-active {
  box-shadow: 0 20px 48px rgba(255, 87, 34, 0.2), 0 4px 14px rgba(0, 0, 0, 0.06);
  border-color: var(--brand-orange);
}

.perk-card__tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange);
}

.perk-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--brand-ink);
  line-height: 1.15;
  margin: 0;
}

.perk-card__desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.perks-spinner-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.spinner-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand-white);
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  color: var(--brand-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.spinner-btn:hover {
  background: var(--brand-orange);
  border-color: var(--brand-orange);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.spinner-btn svg {
  width: 20px;
  height: 20px;
}

.perks-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.perks-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.perks-dot.is-active {
  background: var(--brand-orange);
  width: 24px;
  border-radius: var(--radius-pill);
}

@media (max-width: 768px) {
  .perks-carousel-stage {
    height: 320px;
    perspective: 800px;
  }
  .perks-carousel-ring {
    width: 240px;
    height: 260px;
    transform-style: preserve-3d;
  }
  .perk-card--3d {
    padding: var(--space-4) var(--space-5);
  }
  .perk-card__title {
    font-size: 1.25rem;
  }
  .perk-card__desc {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .perks-carousel-stage {
    height: 300px;
    perspective: 650px;
  }
  .perks-carousel-ring {
    width: 210px;
    height: 250px;
    transform-style: preserve-3d;
  }
  .perk-card--3d {
    padding: var(--space-4);
  }
  .perk-card__title {
    font-size: 1.15rem;
  }
  .perk-card__desc {
    font-size: 0.8rem;
    line-height: 1.4;
  }
}

/* ---------- Sticky Lock Scroll Job Cards ---------- */
.jobs-stack {
  position: relative;
  max-width: 880px;
  margin-inline: auto;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transform-origin: center center;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.25, 1), opacity 0.25s ease;
  will-change: transform, opacity;
}

#process {
  transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.25, 1), transform 0.35s cubic-bezier(0.2, 0.8, 0.25, 1);
  will-change: opacity, transform;
}

.job-card--sticky {
  position: sticky;
  top: calc(110px + (var(--card-index) - 1) * 26px);
  z-index: var(--card-index);
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  padding: var(--space-5) var(--space-6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.09), 0 2px 10px rgba(0, 0, 0, 0.04);
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: 195px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.job-card--sticky:hover {
  border-color: var(--brand-orange);
  box-shadow: 0 22px 50px rgba(255, 87, 34, 0.16), 0 4px 14px rgba(0, 0, 0, 0.06);
}

.job-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
}

.job-card__title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 1;
}

.job-card__num {
  font-size: 1.15rem;
  color: var(--brand-orange);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.job-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  color: var(--brand-ink);
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
}

.job-card__meta {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.job-card__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  flex-wrap: wrap;
}

.job-card__desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  max-width: 54ch;
  flex: 1;
}

.job-card__apply {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .job-card--sticky {
    padding: var(--space-5);
    top: calc(85px + (var(--card-index) - 1) * 16px);
  }
  .job-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-2);
  }
  .job-card__title {
    font-size: 1.45rem;
  }
  .job-card__content {
    flex-direction: column;
    align-items: flex-start;
  }
  .job-card__apply {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ---------- Hiring Steps ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}

.step-card {
  background: var(--brand-cream);
  padding: var(--space-5);
  border-radius: var(--radius-md);
  border-top: 3.5px solid var(--brand-orange);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease;
}

.step-card:hover {
  transform: translateY(-3px);
}

.step-card__num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: var(--brand-orange);
  text-transform: uppercase;
}

.step-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-ink);
  margin: 0;
}

.step-card__desc {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Application Section ---------- */
.apply-box {
  background: var(--brand-ink);
  color: var(--brand-white);
  border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 6vw, var(--space-8));
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.apply-box::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.apply-box .section__eyebrow {
  color: var(--brand-yellow);
}

.apply-box .section__title {
  color: var(--brand-white);
}

.apply-box .form-field label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
  display: block;
}

.apply-box .form-input,
.apply-box .form-select,
.apply-box .form-textarea {
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  width: 100%;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.apply-box .form-select option {
  background: #1e1b16;
  color: #ffffff;
}

.apply-box .form-input:focus,
.apply-box .form-select:focus,
.apply-box .form-textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  background: rgba(255, 255, 255, 0.14);
}

.apply-note {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: var(--space-4);
  line-height: 1.5;
}

.apply-note a {
  color: var(--brand-yellow);
  text-decoration: underline;
}

.apply-note a:hover {
  color: #ffffff;
}
