/* ============================================================
   TABULA RASA — careers.css
   ============================================================ */

/* Hero perks */
.hero-perks { display: flex; flex-direction: column; gap: 0; }
.hero-perk { display: flex; align-items: center; gap: 1.2rem; padding: 1.1rem 1.4rem; border: 1px solid rgba(255,255,255,0.08); border-bottom: none; background: rgba(255,255,255,0.03); }
.hero-perk:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.perk-icon { width: 38px; height: 38px; flex-shrink: 0; background: rgba(201,168,76,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.perk-icon svg { width: 16px; height: 16px; stroke: var(--gold); fill: none; stroke-width: 2; }
.perk-title { font-size: 0.88rem; font-weight: 600; color: var(--white); margin-bottom: 0.15rem; }
.perk-desc { font-size: 0.75rem; color: rgba(255,255,255,0.45); font-weight: 300; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn-gold { background: var(--gold); color: var(--navy); padding: 0.9rem 2.2rem; font-size: 0.82rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; font-weight: 700; border: 2px solid var(--gold); transition: all 0.22s; }
.btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-1px); }

/* Team faces strip */
.faces-strip { background: var(--navy-mid); padding: 1.8rem 2.5rem; display: flex; align-items: center; justify-content: center; gap: 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.face-wrap { margin-left: -0.8rem; }
.face-wrap:first-child { margin-left: 0; }
.face-wrap img { width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--navy-mid); object-fit: cover; display: block; transition: transform 0.2s; }
.face-wrap img:hover { transform: scale(1.12) translateY(-3px); z-index: 10; position: relative; }
.faces-label { margin-left: 1.5rem; font-size: 0.84rem; color: rgba(255,255,255,0.65); font-weight: 300; }
.faces-label strong { color: var(--white); font-weight: 600; }

/* Mission section */
.mission-section { background: var(--white); padding: 7rem 0; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
.mission-copy h2 { font-family: 'Playfair Display', serif; font-size: 2.3rem; font-weight: 700; color: var(--navy); line-height: 1.2; margin: 0.8rem 0 1.5rem; }
.mission-copy p { font-size: 0.97rem; color: var(--text-soft); line-height: 1.85; font-weight: 300; margin-bottom: 1.2rem; }
.values-pillars { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border: 1px solid var(--border); margin-top: 2.5rem; }
.value-pillar { padding: 1.4rem 1.2rem; text-align: center; border-right: 1px solid var(--border); position: relative; transition: background 0.2s; }
.value-pillar:last-child { border-right: none; }
.value-pillar:hover { background: var(--off-white); }
.value-pillar::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2rem; height: 3px; background: var(--gold); }
.value-pillar-name { font-family: 'Playfair Display', serif; font-size: 1.05rem; font-weight: 600; color: var(--navy); margin-top: 0.8rem; }
.value-pillar-sub { font-size: 0.74rem; color: var(--text-soft); font-weight: 300; margin-top: 0.2rem; }
.mission-image { position: relative; }
.mission-img-frame { position: relative; padding: 1.5rem 1.5rem 1.5rem 0; }
.mission-img-frame::before { content: ''; position: absolute; top: 0; right: 0; width: 72%; height: 72%; border: 2px solid var(--gold); z-index: 0; }
.mission-img-frame::after { content: ''; position: absolute; bottom: 0; left: 0; width: 72%; height: 72%; background: var(--navy); z-index: 0; }
.mission-img-frame img { position: relative; z-index: 2; width: 100%; height: 420px; object-fit: cover; object-position: top; display: block; box-shadow: 0 24px 60px rgba(11,31,58,0.2); }
.mission-badge { position: absolute; bottom: 1.5rem; right: -1rem; z-index: 10; background: var(--gold); padding: 1.1rem 1.4rem; text-align: center; }
.mission-badge-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.mission-badge-txt { font-size: 0.62rem; color: rgba(11,31,58,0.72); text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-top: 0.2rem; }

/* Perks grid */
.perks-section { background: var(--navy); padding: 7rem 0; }
.perks-header { text-align: center; margin-bottom: 4rem; }
.perks-header h2 { font-family: 'Playfair Display', serif; font-size: 2.3rem; font-weight: 700; color: var(--white); margin: 0.8rem 0; }
.perks-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid rgba(255,255,255,0.08); }
.perk-card { padding: 2.8rem 2.2rem; border-right: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08); position: relative; transition: background 0.25s; }
.perk-card:nth-child(3n) { border-right: none; }
.perk-card:nth-child(n+4) { border-bottom: none; }
.perk-card:hover { background: rgba(201,168,76,0.05); }
.perk-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s ease; }
.perk-card:hover::before { transform: scaleX(1); }
.perk-card-icon { width: 48px; height: 48px; background: rgba(201,168,76,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.4rem; }
.perk-card-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 2; }
.perk-card h3 { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 600; color: var(--white); margin-bottom: 0.6rem; }
.perk-card p { font-size: 0.86rem; color: rgba(255,255,255,0.5); line-height: 1.65; font-weight: 300; }

/* Open roles */
.roles-section { background: var(--off-white); padding: 7rem 0; }
.roles-header { text-align: center; margin-bottom: 4rem; }
.roles-header h2 { font-family: 'Playfair Display', serif; font-size: 2.3rem; font-weight: 700; color: var(--navy); margin: 0.8rem 0 1rem; }
.roles-header p { font-size: 0.97rem; color: var(--text-soft); font-weight: 300; line-height: 1.75; max-width: 54ch; margin: 0 auto; }
.role-filters { display: flex; gap: 0.7rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3rem; }
.role-filter-btn { font-size: 0.73rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; padding: 0.5rem 1.2rem; border: 1px solid var(--border); background: var(--white); color: var(--text-soft); cursor: pointer; transition: all 0.18s; font-family: 'Outfit', sans-serif; }
.role-filter-btn:hover { border-color: var(--gold); color: var(--gold); }
.role-filter-btn.active { background: var(--navy); color: var(--white); border-color: var(--navy); }
.roles-list { display: flex; flex-direction: column; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.role-card { background: var(--white); padding: 2rem 2.4rem; display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; transition: background 0.2s; }
.role-card:hover { background: var(--off-white); }
.role-card.hidden { display: none; }
.role-title { font-family: 'Playfair Display', serif; font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.role-meta { display: flex; gap: 0.7rem; flex-wrap: wrap; align-items: center; margin-bottom: 0.8rem; }
.role-tag { font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; padding: 0.28rem 0.75rem; }
.role-tag.dept { background: rgba(201,168,76,0.1); color: var(--gold); }
.role-tag.type { background: rgba(11,31,58,0.06); color: var(--navy); }
.role-tag.location { background: rgba(74,94,117,0.08); color: var(--text-soft); }
.role-summary { font-size: 0.88rem; color: var(--text-soft); line-height: 1.65; font-weight: 300; max-width: 70ch; }
.role-apply-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--navy); color: var(--white); padding: 0.75rem 1.6rem; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; font-weight: 600; border: 2px solid var(--navy); transition: all 0.22s; white-space: nowrap; flex-shrink: 0; }
.role-apply-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.no-roles { background: var(--white); padding: 4rem 2rem; text-align: center; display: none; }
.no-roles p { font-size: 0.95rem; color: var(--text-soft); font-weight: 300; }

/* Team quotes */
.testimonials-section { background: var(--navy); padding: 7rem 0; }
.testimonials-header { text-align: center; margin-bottom: 4rem; }
.testimonials-header h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--white); margin: 0.8rem 0; }
.team-quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.team-quote-card { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08); padding: 2.2rem; position: relative; transition: background 0.25s; }
.team-quote-card:hover { background: rgba(255,255,255,0.07); }
.team-quote-card::before { content: '\201C'; position: absolute; top: 1rem; right: 1.5rem; font-family: 'Playfair Display', serif; font-size: 4.5rem; line-height: 1; color: var(--gold); opacity: 0.2; }
.team-quote-text { font-size: 0.9rem; color: rgba(255,255,255,0.72); line-height: 1.75; font-weight: 300; font-style: italic; margin-bottom: 1.6rem; }
.team-quote-divider { width: 2rem; height: 2px; background: var(--gold); margin-bottom: 1rem; }
.team-face { display: flex; align-items: center; gap: 0.9rem; }
.team-face img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(201,168,76,0.3); }
.team-face-name { font-size: 0.85rem; font-weight: 600; color: var(--white); }
.team-face-role { font-size: 0.74rem; color: rgba(255,255,255,0.4); font-weight: 300; }

/* Open application form */
.open-app-section { background: var(--white); padding: 7rem 0; }
.open-app-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.open-app-copy h2 { font-family: 'Playfair Display', serif; font-size: 2.2rem; font-weight: 700; color: var(--navy); line-height: 1.2; margin: 0.8rem 0 1.4rem; }
.open-app-copy p { font-size: 0.96rem; color: var(--text-soft); line-height: 1.85; font-weight: 300; margin-bottom: 1.2rem; }
.process-steps { display: flex; flex-direction: column; gap: 0; margin-top: 2rem; }
.process-step { display: flex; gap: 1.2rem; align-items: flex-start; padding: 1.2rem 0; border-bottom: 1px solid var(--border); }
.process-step:last-child { border-bottom: none; }
.process-step-num { width: 32px; height: 32px; flex-shrink: 0; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700; color: var(--navy); margin-top: 0.1rem; }
.process-step-title { font-size: 0.88rem; font-weight: 600; color: var(--navy); margin-bottom: 0.2rem; }
.process-step-desc { font-size: 0.82rem; color: var(--text-soft); font-weight: 300; line-height: 1.55; }
.app-form-wrap { background: var(--off-white); border: 1px solid var(--border); position: relative; }
.app-form-wrap::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(to right, var(--gold), var(--gold-lt)); }
.app-form-header { padding: 2.2rem 2.8rem 1.4rem; border-bottom: 1px solid var(--border); }
.app-form-title { font-family: 'Playfair Display', serif; font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 0.35rem; }
.app-form-sub { font-size: 0.86rem; color: var(--text-soft); font-weight: 300; line-height: 1.6; }
.app-form-body { padding: 1.8rem 2.8rem 2.8rem; }
.form-section-title { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 600; margin-bottom: 1.1rem; padding-bottom: 0.55rem; border-bottom: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-label { font-size: 0.67rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text); font-weight: 600; }
.form-label span { color: var(--gold); }
.form-input, .form-select, .form-textarea { background: var(--white); border: 1px solid var(--border); padding: 0.82rem 1rem; font-family: 'Outfit', sans-serif; font-size: 0.9rem; color: var(--text); outline: none; transition: border-color 0.2s, box-shadow 0.2s; width: 100%; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.1); }
.form-input::placeholder, .form-textarea::placeholder { color: #a0b0c0; }
.form-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a5e75' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; }
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.6; }
.form-spacer { margin-top: 1.4rem; }
.file-upload-area { border: 2px dashed var(--border); background: var(--white); padding: 2rem 1.5rem; text-align: center; cursor: pointer; transition: border-color 0.2s; }
.file-upload-area:hover { border-color: var(--gold); }
.file-upload-icon { margin-bottom: 0.6rem; }
.file-upload-icon svg { width: 28px; height: 28px; stroke: var(--text-soft); fill: none; stroke-width: 1.5; }
.file-upload-text { font-size: 0.84rem; color: var(--text-soft); font-weight: 300; line-height: 1.5; }
.file-upload-text strong { color: var(--navy); font-weight: 600; }
.file-upload-input { display: none; }
.form-submit { background: var(--gold); color: var(--navy); border: 2px solid var(--gold); padding: 1rem 2.4rem; font-family: 'Outfit', sans-serif; font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; cursor: pointer; transition: all 0.22s; width: 100%; margin-top: 1rem; }
.form-submit:hover { background: var(--gold-lt); border-color: var(--gold-lt); }
.form-privacy { font-size: 0.74rem; color: var(--text-soft); font-weight: 300; text-align: center; margin-top: 0.9rem; line-height: 1.5; }
.form-success { display: none; text-align: center; padding: 3rem 2rem; }
.form-success-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(201,168,76,0.1); border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; margin: 0 auto 1.5rem; }
.form-success-icon svg { width: 28px; height: 28px; stroke: var(--gold); fill: none; stroke-width: 2; }
.form-success h4 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--navy); margin-bottom: 0.6rem; }
.form-success p { font-size: 0.9rem; color: var(--text-soft); font-weight: 300; line-height: 1.7; max-width: 40ch; margin: 0 auto; }

/* CTA band (light variant for careers) */
.cta-band { background: var(--off-white); padding: 6rem 0; border-top: 1px solid var(--border); }
.cta-band-inner { max-width: 1200px; margin: 0 auto; padding: 0 2.5rem; display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
.cta-band h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.8rem, 2.8vw, 2.6rem); font-weight: 700; color: var(--navy); line-height: 1.25; }
.cta-band h2 em { color: var(--gold); font-style: italic; }
.cta-band p { font-size: 0.96rem; color: var(--text-soft); font-weight: 300; line-height: 1.7; margin-top: 1rem; max-width: 52ch; }
.cta-actions { display: flex; flex-direction: column; gap: 1rem; min-width: 220px; }
.cta-btn-navy { background: var(--navy); color: var(--white); padding: 1rem 2.2rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; font-weight: 700; text-align: center; transition: background 0.2s; display: block; }
.cta-btn-navy:hover { background: var(--navy-lt); }
.cta-btn-border { background: transparent; color: var(--navy); padding: 1rem 2.2rem; font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; font-weight: 600; border: 2px solid var(--navy); text-align: center; transition: all 0.2s; display: block; }
.cta-btn-border:hover { background: var(--navy); color: var(--white); }

/* Responsive */
@media (max-width: 1024px) {
  .mission-grid { grid-template-columns: 1fr; gap: 3rem; }
  .perks-grid { grid-template-columns: repeat(2, 1fr); }
  .perk-card:nth-child(3n) { border-right: 1px solid rgba(255,255,255,0.08); }
  .perk-card:nth-child(2n) { border-right: none; }
  .team-quotes { grid-template-columns: 1fr; }
  .open-app-grid { grid-template-columns: 1fr; }
  .role-card { grid-template-columns: 1fr; gap: 1rem; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 2rem; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 768px) {
  .app-form-header, .app-form-body { padding-left: 1.5rem; padding-right: 1.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .perks-grid { grid-template-columns: 1fr; }
  .values-pillars { grid-template-columns: 1fr; }
  .value-pillar { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ── ROLE INFO (open role card left content) ─────────────── */
.role-info { flex: 1; }
