/* ═══════════════════════════════════════════════
   Àṣẹ Haus Careers — Frontend Styles
   Palette: cream #F5F1E8 | gold #C9A961 | black #0A0A0A | charcoal #2A2A2A | terracotta #C67B5C
   ═══════════════════════════════════════════════ */

:root {
  --cream:       #F5F1E8;
  --cream-dark:  #EDE8DA;
  --gold:        #C9A961;
  --gold-light:  #DFC58A;
  --gold-dark:   #A8893F;
  --black:       #0A0A0A;
  --charcoal:    #2A2A2A;
  --terra:       #C67B5C;
  --muted:       rgba(10,10,10,0.55);
  --serif:       'Cormorant Garamond', 'Libre Baskerville', Georgia, serif;
  --sans:        'Inter', -apple-system, sans-serif;
  --radius:      4px;
  --transition:  0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset / Scope ── */
.ashe-careers-wrap * { box-sizing: border-box; }
.ashe-careers-wrap { font-family: var(--sans); color: var(--charcoal); background: var(--cream); }

/* ── Careers Listing ── */
.ashe-careers-hero {
  background: var(--black);
  color: var(--cream);
  padding: 90px 40px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.ashe-careers-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 40px,
    rgba(201,169,97,0.04) 40px,
    rgba(201,169,97,0.04) 41px
  );
  pointer-events: none;
}
.ashe-careers-hero .eyebrow {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.ashe-careers-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.15;
  margin-bottom: 20px;
}
.ashe-careers-hero p {
  color: rgba(245,241,232,0.72);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.ashe-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2px;
  background: rgba(10,10,10,0.08);
  border-top: 2px solid rgba(10,10,10,0.08);
}

.ashe-role-card {
  background: var(--cream);
  padding: 56px 48px;
  position: relative;
  transition: background var(--transition);
  text-decoration: none;
  color: inherit;
  display: block;
}
.ashe-role-card:hover { background: var(--black); color: var(--cream); }
.ashe-role-card .role-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: block;
}
.ashe-role-card h2 {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  margin-bottom: 16px;
  line-height: 1.2;
}
.ashe-role-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  transition: color var(--transition);
  margin-bottom: 28px;
}
.ashe-role-card:hover p { color: rgba(245,241,232,0.65); }
.ashe-role-card .apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  transition: all var(--transition);
}
.ashe-role-card:hover .apply-btn {
  color: var(--gold);
  border-color: var(--gold);
}

/* ── Application Form Shell ── */
.ashe-app-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 20px 20px 80px;
  background: var(--cream);
  min-height: 100vh;
}

/* ── Progress Bar ── */
.ashe-progress-shell {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid rgba(10,10,10,0.08);
  padding: 14px 0 12px;
  margin-bottom: 48px;
}
.ashe-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.ashe-progress-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.ashe-progress-step {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--charcoal);
}
.ashe-progress-bar-track {
  height: 2px;
  background: rgba(10,10,10,0.1);
  border-radius: 2px;
  overflow: hidden;
}
.ashe-progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 2px;
  transition: width 0.5s ease;
  width: 0%;
}

/* ── Form Steps ── */
.ashe-step {
  display: none;
  animation: ashe-fade-in 0.4s ease;
}
.ashe-step.active { display: block; }

@keyframes ashe-fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.ashe-step-title {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 300;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.2;
}
.ashe-step-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.65;
}

/* ── Form Fields ── */
.ashe-field-group {
  margin-bottom: 28px;
}
.ashe-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) { .ashe-field-row { grid-template-columns: 1fr; } }

.ashe-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.ashe-label span { color: var(--terra); margin-left: 3px; }

.ashe-input, .ashe-select, .ashe-textarea {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid rgba(10,10,10,0.12);
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--charcoal);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
}
.ashe-input:focus, .ashe-select:focus, .ashe-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,97,0.12);
}
.ashe-textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.ashe-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C9A961' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; cursor: pointer; }

/* ── Checkbox Grid ── */
.ashe-check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}
.ashe-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid rgba(10,10,10,0.1);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.85rem;
}
.ashe-check-item:hover { border-color: var(--gold); background: rgba(201,169,97,0.05); }
.ashe-check-item input[type="checkbox"] { display: none; }
.ashe-check-item .check-box {
  width: 18px; height: 18px;
  border: 1.5px solid rgba(10,10,10,0.25);
  border-radius: 3px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.ashe-check-item.checked { border-color: var(--gold); background: rgba(201,169,97,0.08); }
.ashe-check-item.checked .check-box {
  background: var(--gold);
  border-color: var(--gold);
}
.ashe-check-item.checked .check-box::after {
  content: '';
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-1px);
}

/* ── Pay Slider ── */
.ashe-pay-display {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.ashe-pay-period {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 24px;
  font-weight: 400;
}
.ashe-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: rgba(10,10,10,0.12);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}
.ashe-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(201,169,97,0.4);
  transition: transform var(--transition);
}
.ashe-slider::-webkit-slider-thumb:hover { transform: scale(1.2); }
.ashe-slider::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: none;
}
.ashe-slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 10px;
}

/* ── Office Hours Display ── */
.ashe-office-hours-card {
  background: var(--black);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 32px;
  position: relative;
  overflow: hidden;
}
.ashe-office-hours-card::before {
  content: '◈';
  position: absolute;
  right: 24px; top: 20px;
  font-size: 3rem;
  color: var(--gold);
  opacity: 0.15;
}
.ashe-oh-label {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
  font-weight: 600;
}
.ashe-oh-agency-time {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 300;
  margin-bottom: 6px;
}
.ashe-oh-local-time {
  font-size: 1.1rem;
  color: rgba(245,241,232,0.7);
  margin-bottom: 4px;
}
.ashe-oh-note {
  font-size: 0.8rem;
  color: rgba(245,241,232,0.5);
  margin-top: 10px;
  line-height: 1.6;
}
.ashe-oh-local-label {
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 16px;
  margin-bottom: 4px;
  display: block;
}

/* ── Availability Grid ── */
.ashe-avail-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 24px;
}
@media (max-width: 500px) { .ashe-avail-grid { grid-template-columns: repeat(4, 1fr); } }
.ashe-day-btn {
  padding: 10px 6px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(10,10,10,0.1);
  border-radius: var(--radius);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--charcoal);
  letter-spacing: 0.05em;
}
.ashe-day-btn:hover { border-color: var(--gold); }
.ashe-day-btn.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ── Quiz Section ── */
.ashe-quiz-wrapper {
  position: relative;
}
.ashe-anti-cheat-banner {
  background: var(--black);
  color: var(--cream);
  padding: 14px 20px;
  border-radius: var(--radius);
  margin-bottom: 32px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}
.ashe-anti-cheat-banner .icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  color: var(--gold);
}

.ashe-quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.ashe-quiz-counter {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}
.ashe-quiz-timer {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
  font-style: italic;
}

.ashe-question-card {
  background: #fff;
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 20px;
}
.ashe-q-category {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 14px;
}
.ashe-q-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--black);
  line-height: 1.6;
  margin-bottom: 28px;
}
.ashe-q-points {
  font-size: 0.68rem;
  color: var(--muted);
  margin-bottom: 20px;
  font-weight: 500;
}

/* MCQ Options */
.ashe-mcq-options { display: flex; flex-direction: column; gap: 10px; }
.ashe-mcq-option {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 18px;
  background: var(--cream);
  border: 1.5px solid rgba(10,10,10,0.1);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.9rem;
  line-height: 1.55;
}
.ashe-mcq-option:hover { border-color: var(--gold); background: rgba(201,169,97,0.05); }
.ashe-mcq-option.selected {
  border-color: var(--gold);
  background: rgba(201,169,97,0.1);
}
.ashe-opt-key {
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
  font-size: 0.8rem;
  margin-top: 1px;
  min-width: 16px;
}

/* Ordering drag */
.ashe-ordering-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ashe-order-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--cream);
  border: 1.5px solid rgba(10,10,10,0.1);
  border-radius: var(--radius);
  cursor: grab;
  user-select: none;
  transition: all var(--transition);
  font-size: 0.88rem;
}
.ashe-order-item:active { cursor: grabbing; }
.ashe-order-item.drag-over { border-color: var(--gold); background: rgba(201,169,97,0.08); }
.ashe-order-handle { color: var(--muted); font-size: 1.1rem; flex-shrink: 0; }
.ashe-order-num {
  width: 26px; height: 26px;
  background: var(--gold);
  color: var(--black);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Scenario textarea */
.ashe-scenario-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 12px;
  font-style: italic;
}
.ashe-word-count {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 6px;
  text-align: right;
}
.ashe-word-count.over { color: var(--terra); }

/* ── Navigation Buttons ── */
.ashe-nav-btns {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(10,10,10,0.08);
}
.ashe-btn-back {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px 0;
  transition: color var(--transition);
}
.ashe-btn-back:hover { color: var(--charcoal); }
.ashe-btn-next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--cream);
  border: none;
  padding: 14px 32px;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}
.ashe-btn-next:hover { background: var(--charcoal); }
.ashe-btn-next:disabled { opacity: 0.45; cursor: not-allowed; }
.ashe-btn-submit {
  background: var(--gold);
  color: var(--black);
}
.ashe-btn-submit:hover { background: var(--gold-dark); }

/* ── Success Screen ── */
.ashe-success-screen {
  text-align: center;
  padding: 80px 40px;
}
.ashe-success-icon {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 24px;
}
.ashe-success-screen h2 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--black);
  margin-bottom: 16px;
}
.ashe-success-screen p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Tab-switch warning ── */
.ashe-tab-warning {
  position: fixed;
  inset: 0;
  background: rgba(10,10,10,0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  display: none;
}
.ashe-tab-warning-box {
  background: var(--cream);
  padding: 48px;
  max-width: 440px;
  text-align: center;
  border-radius: var(--radius);
}
.ashe-tab-warning-box h3 {
  font-family: var(--serif);
  font-size: 1.6rem;
  color: var(--black);
  margin-bottom: 12px;
}
.ashe-tab-warning-box p {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.65;
}
.ashe-tab-warning-count {
  font-size: 0.75rem;
  color: var(--terra);
  font-weight: 600;
}

/* ── Error messages ── */
.ashe-field-error {
  font-size: 0.75rem;
  color: var(--terra);
  margin-top: 6px;
  display: none;
}
.ashe-field-error.visible { display: block; }

/* ── Stars/rating ── */
.ashe-rating-group {
  display: flex;
  gap: 8px;
}
.ashe-rating-star {
  font-size: 1.6rem;
  cursor: pointer;
  color: rgba(10,10,10,0.15);
  transition: color var(--transition), transform var(--transition);
}
.ashe-rating-star.active, .ashe-rating-star:hover { color: var(--gold); transform: scale(1.15); }

/* ── Section divider ── */
.ashe-section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 40px 0 32px;
}
.ashe-section-divider span {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}
.ashe-section-divider::before, .ashe-section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(10,10,10,0.1);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .ashe-app-wrap { padding: 12px 14px 60px; }
  .ashe-question-card { padding: 22px 18px; }
  .ashe-nav-btns { gap: 12px; }
  .ashe-btn-next { padding: 12px 22px; }
}
