:root {
  --paper: #f4f0e7;
  --paper-deep: #ebe4d6;
  --ink: #0b1520;
  --ink-soft: #53606b;
  --night: #07111c;
  --night-surface: #111c28;
  --light: #e4edf5;
  --light-muted: rgba(228, 237, 245, 0.56);
  --gold: #b28a2e;
  --gold-deep: #735817;
  --gold-soft: #d6bd78;
  --line-paper: rgba(11, 21, 32, 0.13);
  --line-dark: rgba(255, 255, 255, 0.1);
  --danger: #dc8f8f;
  --success: #53a879;
  --header-height: 66px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { min-width: 320px; background: var(--paper); color-scheme: light; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 6px;
  background: var(--night);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}
.skip-link:focus { transform: none; }

.hiring-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(20px, 4vw, 54px);
  border-bottom: 1px solid var(--line-paper);
  background: rgba(244, 240, 231, 0.94);
  backdrop-filter: blur(14px);
}

.hiring-header--dark {
  border-bottom-color: var(--line-dark);
  background: rgba(7, 17, 28, 0.96);
  color: var(--light);
}

.brand-link { display: inline-flex; align-items: center; text-decoration: none; }
.brand-link img { display: block; width: 154px; height: auto; }
.hiring-header--dark .brand-link img { filter: invert(1); }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #6a706f;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
}
.hiring-header--dark .header-back { color: rgba(228, 237, 245, 0.64); }

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px;
  border: 1px solid var(--line-paper);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.44);
}
.hiring-header--dark .language-switcher { border-color: var(--line-dark); background: rgba(255, 255, 255, 0.04); }
.language-switcher a {
  min-width: 42px;
  padding: 7px 9px;
  border-radius: 5px;
  color: #76766f;
  text-align: center;
  text-decoration: none;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.language-switcher a[aria-current="page"] { background: var(--night); color: #fff; }
.hiring-header--dark .language-switcher a { color: rgba(228, 237, 245, 0.58); }
.hiring-header--dark .language-switcher a[aria-current="page"] { background: var(--gold); color: #fff; }

.hiring-main { min-height: calc(100svh - var(--header-height)); }

.hub-shell {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(520px, 1.12fr);
}

.hub-intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(44px, 7vw, 100px);
  border-inline-end: 1px solid var(--line-paper);
}

.section-label {
  margin: 0 0 18px;
  color: #9a7423;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hub-intro h1,
.role-title,
.pending-title,
.application-frame h1 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hub-intro > p:not(.section-label) {
  max-width: 530px;
  margin: 25px 0 0;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.7;
}

.hub-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.hub-proof span {
  padding: 8px 10px;
  border: 1px solid var(--line-paper);
  border-radius: 5px;
  color: #687066;
  font-size: 10px;
  font-weight: 800;
}

.role-list {
  display: grid;
  align-content: center;
  padding: clamp(32px, 5vw, 76px);
  background: var(--night);
  color: var(--light);
}

.role-list-label {
  margin: 0 0 16px;
  color: rgba(228, 237, 245, 0.42);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line-dark);
  text-decoration: none;
}
.role-card:first-child { border-top: 1px solid var(--line-dark); }
.role-card::before {
  content: "";
  position: absolute;
  inset: -1px -18px;
  z-index: 0;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0);
  transition: background-color 180ms ease, transform 180ms ease;
}
.role-card:hover::before,
.role-card:focus-visible::before { background: rgba(255, 255, 255, 0.045); transform: translateX(4px); }
.role-card > * { position: relative; z-index: 1; }
.role-card small { display: block; margin-bottom: 8px; color: var(--gold-soft); font-size: 9px; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.role-card h2 { margin: 0; font-size: clamp(24px, 2.8vw, 38px); letter-spacing: -0.035em; }
.role-card p { max-width: 520px; margin: 10px 0 0; color: var(--light-muted); font-size: 13px; line-height: 1.6; }
.role-card-arrow { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid rgba(210, 182, 111, 0.3); border-radius: 50%; color: var(--gold-soft); }
.role-card:hover .role-card-arrow,
.role-card:focus-visible .role-card-arrow { border-color: var(--gold-soft); transform: translateX(3px); }
.role-card-arrow { transition: transform 180ms ease, border-color 180ms ease; }

.role-page { background: var(--paper); }
.role-overview {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  grid-template-columns: minmax(360px, 0.87fr) minmax(560px, 1.13fr);
}
.role-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(38px, 5.4vw, 82px);
  border-inline-end: 1px solid var(--line-paper);
}
.role-title { font-size: clamp(42px, 5.7vw, 76px); }
.role-summary { max-width: 560px; margin: 25px 0 0; color: var(--ink-soft); font-size: 16px; line-height: 1.72; }
.role-facts { display: flex; flex-wrap: wrap; gap: 9px; margin: 26px 0 0; }
.role-facts span { padding: 8px 10px; border: 1px solid var(--line-paper); border-radius: 5px; color: #5f665f; font-size: 10px; font-weight: 800; }
.primary-link,
.primary-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  padding: 0 24px;
  border: 1px solid #8e6c21;
  border-radius: 7px;
  background: linear-gradient(180deg, var(--gold), var(--gold-deep));
  box-shadow: 0 10px 24px rgba(115, 88, 23, 0.16);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 900;
}
.role-hero .primary-link { margin-top: 30px; }
.role-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 30px; }
.role-actions .primary-link { margin-top: 0; }
.secondary-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 0 5px;
  color: #5e665f;
  font-size: 12px;
  font-weight: 850;
  text-decoration-color: rgba(178, 138, 46, 0.58);
  text-underline-offset: 5px;
}
.primary-link:hover,
.primary-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.primary-button:disabled { cursor: wait; opacity: 0.62; transform: none; }

.role-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: center;
  gap: clamp(28px, 4vw, 58px);
  padding: clamp(38px, 5.4vw, 82px);
  background: var(--night);
  color: var(--light);
}
.detail-block h2 { margin: 0 0 20px; color: var(--gold-soft); font-size: 10px; font-weight: 900; letter-spacing: 0.14em; text-transform: uppercase; }
.detail-block ul { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.detail-block li { position: relative; padding-inline-start: 17px; color: rgba(228, 237, 245, 0.74); font-size: 13px; line-height: 1.58; }
.detail-block li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.7em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.role-note { grid-column: 1 / -1; margin: 4px 0 0; padding-top: 18px; border-top: 1px solid var(--line-dark); color: rgba(228, 237, 245, 0.62); font-size: 11px; line-height: 1.65; }
.role-note strong { color: var(--gold-soft); }

.role-reality,
.role-company,
.role-process {
  width: 100%;
  padding: clamp(72px, 9vw, 132px) clamp(24px, 7vw, 104px);
}
.role-reality { background: var(--paper-deep); }
.role-section-heading { width: min(720px, 100%); }
.role-section-heading h2,
.role-company h2 {
  margin: 0;
  color: var(--night);
  font-size: clamp(34px, 4.8vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.05em;
}
.role-section-heading > p:not(.section-label) {
  max-width: 660px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}
.reality-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 76px);
  margin-top: clamp(42px, 6vw, 76px);
  padding-top: 30px;
  border-top: 1px solid var(--line-paper);
}
.reality-columns h3 { margin: 0 0 19px; color: #8d681c; font-size: 11px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; }
.reality-columns ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.reality-columns li { position: relative; padding-inline-start: 16px; color: #57615f; font-size: 13px; line-height: 1.55; }
.reality-columns li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.66em; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); }
.role-company {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(420px, 1.28fr);
  gap: clamp(46px, 8vw, 120px);
  background: var(--night);
  color: var(--light);
}
.role-company h2 { max-width: 540px; color: var(--light); }
.role-company > div:last-child { align-self: end; max-width: 760px; }
.role-company > div:last-child p { margin: 0; color: rgba(228, 237, 245, 0.68); font-size: 15px; line-height: 1.8; }
.role-company > div:last-child p + p { margin-top: 18px; }
.role-process { background: var(--paper); }
.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: clamp(44px, 6vw, 72px) 0 0;
  padding: 0;
  border-top: 1px solid var(--line-paper);
  border-bottom: 1px solid var(--line-paper);
  list-style: none;
}
.process-list li { min-height: 190px; padding: 28px 24px 30px; border-inline-end: 1px solid var(--line-paper); }
.process-list li:last-child { border-inline-end: 0; }
.process-list span { display: block; color: var(--gold); font-size: 10px; font-weight: 900; letter-spacing: 0.12em; }
.process-list strong { display: block; margin-top: 25px; color: var(--night); font-size: 16px; }
.process-list small { display: block; margin-top: 10px; color: var(--ink-soft); font-size: 12px; line-height: 1.58; }
.process-promise { max-width: 650px; margin: 27px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.role-process .primary-link { margin-top: 28px; }
.mobile-apply-bar { display: none; }

.pending-shell {
  min-height: calc(100svh - var(--header-height));
  display: grid;
  place-items: center;
  padding: 42px 24px;
  text-align: center;
}
.pending-content { width: min(690px, 100%); }
.pending-title { font-size: clamp(42px, 6vw, 78px); }
.pending-content > p:not(.section-label) { max-width: 560px; margin: 24px auto 0; color: var(--ink-soft); font-size: 16px; line-height: 1.72; }
.pending-content .primary-link { margin-top: 30px; }

.application-page { background: var(--night); color: var(--light); }
.application-page .hiring-main { position: relative; min-height: calc(100svh - var(--header-height)); }
.application-shell { min-height: calc(100svh - var(--header-height)); }

.application-stage {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 82px 24px 118px;
  background-color: var(--night);
  background-image: linear-gradient(rgba(255, 255, 255, 0.004) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.004) 1px, transparent 1px);
  background-size: 60px 60px;
}
.application-stage--paper { background: var(--paper); color: var(--ink); }
.application-frame { position: relative; z-index: 1; width: min(640px, 100%); }
.application-frame h1 { max-width: 640px; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.08; }
.application-frame .section-label { margin-bottom: 12px; }
.application-lede { max-width: 590px; margin: 18px 0 0; color: var(--light-muted); font-size: 14px; line-height: 1.72; }
.application-stage--paper .application-lede { color: var(--ink-soft); }
.application-aside { margin: 15px 0 0; color: inherit; font-size: 11px; line-height: 1.6; opacity: 0.5; }
.application-frame > .primary-button { margin-top: 28px; }

.flow-progress { position: absolute; top: 0; right: 0; left: 0; min-height: 54px; text-align: center; }
.progress-track { height: 3px; overflow: hidden; background: rgba(255, 255, 255, 0.07); }
.progress-track span { display: block; height: 100%; background: var(--gold); transition: width 420ms cubic-bezier(0.22, 1, 0.36, 1); }
.flow-progress > span { display: block; padding-top: 15px; color: rgba(228, 237, 245, 0.44); font-size: 9px; font-weight: 800; letter-spacing: 0.08em; }

.question-card h1 { margin-top: 10px; font-size: clamp(24px, 3.5vw, 34px); letter-spacing: -0.035em; }
.question-card.is-entering-forward { animation: questionInRight 300ms cubic-bezier(0.22, 0.72, 0.18, 1) both; }
.question-card.is-entering-back { animation: questionInLeft 300ms cubic-bezier(0.22, 0.72, 0.18, 1) both; }
.question-card.is-leaving-forward { animation: questionOutLeft 220ms ease both; }
.question-card.is-leaving-back { animation: questionOutRight 220ms ease both; }
.question-card.is-invalid { animation: invalidShake 420ms ease; }

.text-input,
.text-area {
  width: 100%;
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  outline: none;
  background: var(--night-surface);
  color: #fff;
  font-size: 15px;
  line-height: 1.55;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.text-input { min-height: 52px; }
.text-area { min-height: 138px; resize: vertical; }
.text-input::placeholder,
.text-area::placeholder { color: rgba(228, 237, 245, 0.28); }
.text-input:focus,
.text-area:focus { border-color: var(--gold-soft); box-shadow: 0 0 0 3px rgba(178, 138, 46, 0.14); }

.choice-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-top: 24px; }
.choice-list--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice-button {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(228, 237, 245, 0.62);
  text-align: start;
  font-size: 13px;
  font-weight: 800;
  transition: transform 150ms ease, border-color 150ms ease, background-color 150ms ease;
}
.choice-button i { width: 15px; height: 15px; flex: 0 0 auto; border: 2px solid rgba(214, 189, 120, 0.35); border-radius: 50%; }
.choice-button:hover,
.choice-button.is-selected { border-color: var(--gold); color: var(--light); }
.choice-button.is-selected { background: rgba(178, 138, 46, 0.12); transform: translateY(-1px); }
.choice-button.is-selected i { border: 4px solid var(--night-surface); background: var(--gold); box-shadow: 0 0 0 2px var(--gold); }

.form-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  border-top: 1px solid var(--line-dark);
  background: rgba(6, 14, 23, 0.96);
}
.application-stage--paper .form-nav { border-color: var(--line-paper); background: rgba(244, 240, 231, 0.96); }
.form-nav-inner { width: min(1100px, calc(100% - 48px)); min-height: 76px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.form-nav-group { display: flex; align-items: center; gap: 9px; }
.secondary-button,
.text-button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 18px;
  border: 1px solid var(--line-dark);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--light);
  font-size: 13px;
  font-weight: 800;
}
.text-button { padding: 0 7px; border: 0; background: transparent; color: rgba(228, 237, 245, 0.56); font-size: 12px; }
.text-button--skip { color: var(--gold-soft); text-decoration: underline; text-decoration-color: rgba(214, 189, 120, 0.42); text-underline-offset: 4px; }
.application-stage--paper .secondary-button { border-color: var(--line-paper); background: rgba(255, 255, 255, 0.45); color: var(--ink); }
.application-stage--paper .text-button { color: var(--ink-soft); }

.review-frame { width: min(760px, 100%); }
.review-frame h1 { font-size: clamp(30px, 4.4vw, 48px); }
.review-list { display: grid; gap: 0; margin: 24px 0 0; border-top: 1px solid var(--line-dark); }
.review-item { display: grid; grid-template-columns: minmax(130px, 0.34fr) 1fr auto; gap: 20px; align-items: start; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.review-item dt { color: var(--gold-soft); font-size: 9px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.review-item dd { margin: 0; color: rgba(228, 237, 245, 0.78); font-size: 12px; line-height: 1.55; white-space: pre-wrap; overflow-wrap: anywhere; }
.review-edit { padding: 0; border: 0; background: transparent; color: rgba(228, 237, 245, 0.5); font-size: 11px; font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.consent-row { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; color: rgba(228, 237, 245, 0.62); font-size: 11px; line-height: 1.55; }
.consent-row input { width: 17px; height: 17px; margin: 0.1em 0 0; accent-color: var(--gold); }
.consent-row a { color: var(--gold-soft); }
.form-error { margin: 15px 0 0; color: var(--danger); font-size: 12px; line-height: 1.5; }
.save-status { margin: 14px 0 0; color: rgba(228, 237, 245, 0.42); font-size: 10px; }

.success-mark { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 25px; border: 1px solid rgba(83, 168, 121, 0.35); border-radius: 50%; color: var(--success); font-size: 21px; }
.success-reference { margin: 23px 0 0; color: var(--ink-soft); font-size: 11px; }

.screen-reader-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
h1[tabindex="-1"]:focus { outline: none; }

.privacy-shell { width: min(100%, 1120px); margin: 0 auto; padding: clamp(72px, 10vw, 132px) 48px 96px; display: grid; grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr); gap: clamp(56px, 8vw, 120px); align-items: start; }
.privacy-intro { position: sticky; top: 110px; }
.privacy-intro h1 { margin: 14px 0 20px; max-width: 540px; color: var(--night); font-size: clamp(46px, 6vw, 78px); line-height: 0.97; letter-spacing: -0.055em; }
.privacy-intro > p:not(.section-label) { margin: 0; max-width: 520px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.privacy-intro small { display: block; margin-top: 28px; color: rgba(9, 23, 35, 0.56); font-size: 12px; letter-spacing: 0.04em; }
.privacy-content { border-top: 1px solid var(--line-paper); }
.privacy-content section { padding: 28px 0 30px; border-bottom: 1px solid var(--line-paper); }
.privacy-content h2 { margin: 0 0 12px; color: var(--night); font-size: 18px; letter-spacing: -0.02em; }
.privacy-content p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.78; }
.privacy-content a { color: var(--night); text-decoration-color: var(--gold); text-underline-offset: 4px; }

[dir="rtl"] .role-card:hover::before,
[dir="rtl"] .role-card:focus-visible::before { transform: translateX(-4px); }
[dir="rtl"] .role-card-arrow svg,
[dir="rtl"] .primary-link svg,
[dir="rtl"] .primary-button svg,
[dir="rtl"] .header-back svg { transform: scaleX(-1); }

.hiring-motion .hiring-header > *,
.hiring-motion .hub-intro > *,
.hiring-motion .role-list > *,
.hiring-motion .role-hero > *,
.hiring-motion .role-details > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms cubic-bezier(0.22, 1, 0.36, 1), transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hiring-motion body.is-ready .hiring-header > *,
.hiring-motion body.is-ready .hub-intro > *,
.hiring-motion body.is-ready .role-list > *,
.hiring-motion body.is-ready .role-hero > *,
.hiring-motion body.is-ready .role-details > * { opacity: 1; transform: none; }
.hiring-motion body.is-ready .hiring-header > :nth-child(2) { transition-delay: 70ms; }
.hiring-motion body.is-ready .hub-intro > :nth-child(2),
.hiring-motion body.is-ready .role-hero > :nth-child(2) { transition-delay: 90ms; }
.hiring-motion body.is-ready .hub-intro > :nth-child(3),
.hiring-motion body.is-ready .role-hero > :nth-child(3),
.hiring-motion body.is-ready .role-details > :nth-child(2) { transition-delay: 160ms; }
.hiring-motion body.is-ready .hub-intro > :nth-child(4),
.hiring-motion body.is-ready .role-hero > :nth-child(4),
.hiring-motion body.is-ready .role-details > :nth-child(3) { transition-delay: 230ms; }
.hiring-motion body.is-ready .role-hero > :nth-child(5) { transition-delay: 300ms; }
.hiring-motion body.is-ready .role-list > :nth-child(2) { transition-delay: 120ms; }
.hiring-motion body.is-ready .role-list > :nth-child(3) { transition-delay: 220ms; }
.hiring-motion [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms cubic-bezier(0.22, 1, 0.36, 1), transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
}
.hiring-motion [data-reveal].is-visible { opacity: 1; transform: none; }

@keyframes questionInRight { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes questionInLeft { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes questionOutLeft { to { opacity: 0; transform: translateX(-20px); } }
@keyframes questionOutRight { to { opacity: 0; transform: translateX(20px); } }
@keyframes invalidShake { 0%, 100% { transform: translateX(0); } 30% { transform: translateX(-7px); } 60% { transform: translateX(7px); } }

@media (max-width: 960px) {
  .hub-shell,
  .role-overview { grid-template-columns: 1fr; }
  .hub-intro,
  .role-hero { min-height: auto; border-inline-end: 0; border-bottom: 1px solid var(--line-paper); }
  .hub-intro { padding-block: 64px; }
  .role-list { padding-block: 48px; }
  .role-hero { padding-block: 54px; }
  .role-details { min-height: auto; padding-block: 48px; }
  .role-company { grid-template-columns: 1fr; gap: 38px; }
  .reality-columns { grid-template-columns: 1fr; gap: 34px; }
  .process-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-list li:nth-child(2) { border-inline-end: 0; }
  .process-list li:nth-child(-n+2) { border-bottom: 1px solid var(--line-paper); }
  .mobile-apply-bar {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 12;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 22px;
    border: 1px solid #8e6c21;
    border-radius: 7px;
    background: linear-gradient(180deg, var(--gold), var(--gold-deep));
    box-shadow: 0 14px 34px rgba(7, 17, 28, 0.24);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
  }
  [dir="rtl"] .mobile-apply-bar { right: auto; left: 18px; }
  .privacy-shell { grid-template-columns: 1fr; gap: 44px; }
  .privacy-intro { position: static; }
}

@media (max-width: 640px) {
  :root { --header-height: 58px; }
  .hiring-header { padding: 0 16px; }
  .brand-link img { width: 122px; }
  .header-back span { display: none; }
  .header-actions { gap: 8px; }
  .language-switcher a { min-width: 37px; padding-inline: 7px; }
  .hub-intro,
  .role-list,
  .role-hero,
  .role-details { padding-inline: 22px; }
  .hub-intro { padding-block: 48px; }
  .hub-intro h1,
  .role-title,
  .pending-title { font-size: clamp(38px, 13vw, 58px); }
  .role-card { grid-template-columns: 1fr auto; padding-block: 25px; }
  .role-card p { font-size: 12px; }
  .role-card-arrow { width: 38px; height: 38px; }
  .role-details { grid-template-columns: 1fr; gap: 34px; }
  .role-note { grid-column: auto; }
  .role-reality,
  .role-company,
  .role-process { padding: 66px 22px; }
  .role-company h2,
  .role-section-heading h2 { font-size: clamp(34px, 11vw, 50px); }
  .process-list { grid-template-columns: 1fr; }
  .process-list li { min-height: 150px; border-inline-end: 0; border-bottom: 1px solid var(--line-paper); }
  .process-list li:nth-child(2) { border-inline-end: 0; }
  .process-list li:last-child { border-bottom: 0; }
  .role-actions { align-items: flex-start; flex-direction: column; gap: 10px; }
  .choice-list--three { grid-template-columns: 1fr; }
  .application-stage { min-height: calc(100svh - var(--header-height)); padding: 74px 18px 105px; }
  .application-frame h1 { font-size: clamp(25px, 8.4vw, 34px); }
  .application-lede { font-size: 13px; }
  .choice-list { grid-template-columns: 1fr; }
  .text-area { min-height: 126px; }
  .form-nav-inner { width: calc(100% - 24px); min-height: 78px; gap: 8px; }
  .form-nav-group { gap: 6px; }
  .secondary-button { min-width: 44px; padding-inline: 12px; }
  .secondary-button span { display: none; }
  .text-button { font-size: 10px; }
  .form-nav .primary-button { min-height: 44px; padding-inline: 15px; font-size: 12px; }
  .review-frame { align-self: start; padding-top: 10px; }
  .review-list { margin-top: 18px; }
  .review-item { grid-template-columns: 1fr auto; gap: 7px 14px; padding-block: 11px; }
  .review-item dd { grid-column: 1 / -1; font-size: 11px; }
  .privacy-shell { padding: 64px 20px 72px; }
  .privacy-intro h1 { font-size: clamp(42px, 13vw, 58px); }
}

@media (max-height: 720px) and (min-width: 961px) {
  .hub-intro,
  .role-list,
  .role-hero,
  .role-details { padding-block: 34px; }
  .hub-intro h1 { font-size: clamp(40px, 4.6vw, 62px); }
  .role-title { font-size: clamp(40px, 4.9vw, 66px); }
  .role-card { padding-block: 22px; }
  .detail-block ul { gap: 9px; }
  .detail-block li { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
