/* ─────────── Careers page ─────────── */

/* Hero — cooler blue opening */
.careers-hero {
  background:
    radial-gradient(circle at 18% 18%, rgba(60, 130, 255, 0.22), transparent 45%),
    radial-gradient(circle at 82% 72%, rgba(232, 180, 74, 0.18), transparent 40%),
    radial-gradient(circle at 55% 105%, rgba(14, 159, 142, 0.22), transparent 55%),
    linear-gradient(160deg, #0a1c36 0%, #0f3352 55%, #0b1824 100%);
}
.careers-hero h1 {
  font-size: clamp(2.8rem, 8vw, 5.2rem); line-height: 1.06; margin-bottom: 16px;
}
.careers-hero .hero-sub { max-width: 680px; color: #cfe0ee; }

/* Open Roles */
.roles-empty {
  max-width: 860px; margin: 0 auto; text-align: center;
  background: linear-gradient(135deg, rgba(14, 159, 142, 0.07), rgba(232, 180, 74, 0.06));
  border: 1.5px dashed rgba(14, 159, 142, 0.35);
  border-radius: 26px; padding: 54px 30px 48px;
}
.roles-empty .re-badge { display: inline-block; font-size: 2.5rem; animation: reFloat 3.6s ease-in-out infinite; }
@keyframes reFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.roles-empty h3 { font-family: "Playfair Display", serif; font-size: clamp(1.5rem, 3.4vw, 2rem); color: var(--ink); margin: 14px 0 10px; }
.roles-empty p { color: var(--muted); font-size: 1.05rem; line-height: 1.7; max-width: 520px; margin: 0 auto 24px; }
.roles-empty p strong { color: var(--teal); }
.hire-note { text-align: center; margin-top: 28px; color: var(--muted); font-size: 0.95rem; }
.hire-note a { color: var(--teal); font-weight: 600; }
.hire-note a:hover { color: var(--gold); }

/* Future role cards (populated as openings are posted) */
.roles-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 26px; max-width: 1120px; margin: 0 auto;
}
.role-card {
  background: var(--card); border: 1px solid rgba(11, 24, 36, 0.08); border-radius: 22px;
  padding: 28px; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.role-card:hover { transform: translateY(-6px); box-shadow: 0 28px 60px -22px rgba(11, 24, 36, 0.4); }
.role-card .rc-tag {
  display: inline-block; background: linear-gradient(135deg, var(--teal), var(--teal-dark)); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 13px; border-radius: 20px; margin-bottom: 14px;
}
.role-card .rc-tag.temp { background: linear-gradient(135deg, var(--gold), #d9992b); color: var(--dark); }
.role-card h3 { font-family: "Playfair Display", serif; font-size: 1.4rem; color: var(--ink); margin-bottom: 6px; }
.role-card .rc-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: 0.88rem; margin: 4px 0 14px; }
.role-card .rc-meta span { position: relative; }
.role-card .rc-meta span + span::before { content: "·"; margin-right: 12px; color: var(--gold); }
.role-card p { color: var(--muted); font-size: 0.97rem; line-height: 1.65; margin-bottom: 18px; }
.role-card .rc-apply { color: var(--teal); font-weight: 600; font-size: 0.95rem; }
.role-card .rc-apply:hover { color: var(--gold); }
.role-card--link { width: 100%; text-align: left; cursor: pointer; font-family: inherit; color: inherit; }
.role-card--link:hover .rc-apply { color: var(--gold); }

.practicum-body { text-align: left; }
.practicum-body p { color: var(--muted); line-height: 1.7; margin: 12px 0; }
.practicum-body h4 { font-family: "Playfair Display", serif; color: var(--ink); }
.practicum-note {
  margin-top: 20px; padding: 16px 18px; border-left: 4px solid var(--gold);
  background: rgba(232, 180, 74, 0.1); border-radius: 12px; color: var(--muted); line-height: 1.65;
}
.practicum-app { margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(11, 24, 36, 0.1); }
.practicum-app h3 { font-family: "Playfair Display", serif; font-size: 1.5rem; color: var(--ink); margin-bottom: 18px; }
#practicum.scroll-focus { box-shadow: 0 28px 60px -22px rgba(14, 159, 142, 0.4); }

@media (max-width: 520px) {
  .roles-empty { padding: 40px 20px 36px; }
}

/* ─── Application quick-apply form ─── */
.apply-card {
  background: var(--card); border: 1px solid rgba(11, 24, 36, 0.08);
  border-radius: 22px; padding: 32px; box-shadow: var(--shadow);
}
.apply-head { text-align: left; margin-bottom: 22px; }
.apply-head h3 { font-family: "Playfair Display", serif; font-size: 1.6rem; color: var(--ink); }
.apply-head p { color: var(--muted); margin-top: 4px; }
.role-details { text-align: left; }
.role-details h3 { font-family: "Playfair Display", serif; font-size: 1.35rem; color: var(--ink); margin: 26px 0 10px; }
.role-details h3:first-of-type { margin-top: 0; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }
.float-field { position: relative; display: block; margin-bottom: 18px; }
.float-field input, .float-field textarea {
  width: 100%; font-family: "Inter", sans-serif; font-size: 1rem; padding: 18px 14px 8px;
  border: 2px solid rgba(11, 24, 36, 0.12); border-radius: 14px; background: var(--bg);
  color: var(--ink); transition: border-color 0.3s, box-shadow 0.3s; resize: none;
}
.float-field span {
  position: absolute; left: 14px; top: 18px; color: var(--muted); pointer-events: none;
  transition: all 0.25s var(--ease); font-size: 0.95rem;
}
.float-field input:focus, .float-field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(14, 159, 142, 0.12); }
.float-field input:focus ~ span, .float-field input:not(:placeholder-shown) ~ span,
.float-field textarea:focus ~ span, .float-field textarea:not(:placeholder-shown) ~ span {
  top: 8px; font-size: 0.72rem; font-weight: 700; color: var(--teal); text-transform: uppercase; letter-spacing: 0.5px;
}
.give-label { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--muted); }

.vp-options { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 22px; }
.vp-opt {
  position: relative; display: inline-flex; align-items: center; margin: 0;
  padding: 11px 16px; border: 2px solid rgba(11, 24, 36, 0.12); border-radius: 40px;
  background: var(--bg); color: var(--ink); font-size: 0.92rem; font-weight: 600;
  cursor: pointer; user-select: none; transition: all 0.3s var(--ease);
}
.vp-opt:hover { border-color: var(--teal); transform: translateY(-2px); }
.vp-opt input { position: absolute; opacity: 0; pointer-events: none; }
.vp-opt::before {
  content: ""; display: inline-block; width: 10px; height: 10px;
  border: 2px solid rgba(11, 24, 36, 0.25); border-radius: 3px; margin-right: 9px;
  transition: all 0.25s var(--ease);
}
.vp-opt:has(input:checked) { border-color: var(--teal); background: rgba(14, 159, 142, 0.08); box-shadow: 0 8px 20px rgba(14, 159, 142, 0.14); }
.vp-opt:has(input:checked)::before { background: var(--teal); border-color: var(--teal); box-shadow: inset 0 0 0 2px #fff; }

.vp-file {
  display: flex; align-items: center; gap: 16px; cursor: pointer;
  padding: 18px 20px; border: 2px dashed rgba(11, 24, 36, 0.25); border-radius: 16px;
  background: var(--bg); margin-bottom: 24px; transition: border-color 0.3s, background 0.3s;
}
.vp-file:hover, .vp-file.has-file { border-color: var(--teal); background: rgba(14, 159, 142, 0.06); }
.vp-file input { position: absolute; opacity: 0; pointer-events: none; width: 0; height: 0; }
.vp-file-ico { font-size: 1.5rem; }
.vp-file-text { display: grid; gap: 2px; min-width: 0; text-align: left; }
.vp-file-text strong { color: var(--ink); font-size: 0.95rem; }
.vp-file-text small { color: var(--muted); font-size: 0.8rem; }

.vp-submit { width: 100%; margin-top: 4px; }
.thank-you { text-align: center; padding: 22px 6px 6px; animation: stepIn 0.6s var(--ease); }
.heart-burst {
  font-size: 3rem; display: inline-block; animation: reFloat 3.6s ease-in-out infinite;
  filter: drop-shadow(0 8px 18px rgba(11, 24, 36, 0.25));
}
.thank-you h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 12px; color: var(--ink); }
.thank-you h2 span { background: linear-gradient(90deg, var(--teal), var(--gold)); background-clip: text; -webkit-background-clip: text; color: transparent; }
.thank-you p { color: var(--muted); max-width: 460px; margin: 0 auto; }
.thank-you .btn { margin-top: 26px; }