/* ============================================================
   FUTURE SKILLS LAB — styles.css
   Editorial engineering-event design system.
   Palette: deep navy / electric blue / workshop yellow / off-white / charcoal
   ============================================================ */

:root {
  /* palette */
  --paper: #f6f3ec;
  --paper-2: #eeeade;
  --ink: #0d1526;
  --navy: #0a1430;
  --navy-2: #101f42;
  --charcoal: #222a3a;
  --blue: #1f6bff;
  --blue-soft: #4b88ff;
  --yellow: #ffb400;
  --orange: #ff7a1a;
  --line: rgba(13, 21, 38, 0.16);
  --line-strong: rgba(13, 21, 38, 0.4);
  --line-onDark: rgba(246, 243, 236, 0.18);

  /* type */
  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Space Grotesk", "Helvetica Neue", sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;

  --maxw: 1180px;
  --radius: 10px;
  --nav-h: 64px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 42px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.05; }
p { margin: 0 0 0.9em; }
ul, ol, dl, figure, fieldset { margin: 0; padding: 0; }
fieldset { border: 0; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--font-mono); letter-spacing: 0.02em; }

/* ---------- shared type helpers ---------- */
.hl-yellow { color: var(--yellow); font-style: normal; }
.hl-blue { color: var(--blue); font-style: normal; }
.accent-dot { color: var(--yellow); font-style: normal; }
.lead { font-size: 1.18rem; line-height: 1.55; }
.mono-tag {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--charcoal);
  border: 1px solid var(--line-strong);
  display: inline-block;
  padding: 5px 10px;
  margin: 0 0 22px;
  background: rgba(255, 255, 255, 0.55);
}

.chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 9px;
  letter-spacing: 0.1em;
}
.chip--blue { background: var(--blue); color: #fff; }
.chip--yellow { background: var(--yellow); color: var(--ink); }
.chip--ink { background: var(--ink); color: var(--paper); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
  padding: 15px 26px;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  position: relative;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); }
.btn:active { transform: translate(0, 0); box-shadow: none; }
.btn--primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn--primary:hover { box-shadow: 4px 4px 0 var(--ink); }
.btn--yellow { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn--yellow:hover { box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.55); }
.btn--ghost { background: transparent; }
.section--dark .btn--ghost { border-color: var(--paper); color: var(--paper); }
.section--dark .btn--ghost:hover { box-shadow: 4px 4px 0 rgba(246, 243, 236, 0.4); }
.btn--xl { font-size: 1.05rem; padding: 20px 34px; }
.btn--nav { padding: 10px 16px; font-size: 0.78rem; background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.btn__arrow { transition: transform 0.15s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- ticker ---------- */
.ticker {
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  border-bottom: 3px solid var(--yellow);
  height: 42px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
}
.ticker__inner {
  display: flex;
  gap: 28px;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  animation: ticker 40s linear infinite;
  padding-left: 10px;
}
.ticker__inner span:nth-child(even) { color: var(--yellow); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 42px; left: 0; right: 0;
  z-index: 50;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.nav__logo-mark {
  width: 26px; height: 26px;
  background: var(--navy);
  position: relative;
  border-radius: 5px;
  flex: 0 0 auto;
}
.nav__logo-mark::before {
  content: ""; position: absolute; left: 5px; right: 5px; top: 7px; height: 7px;
  background: var(--yellow); border-radius: 2px;
}
.nav__logo-mark::after {
  content: ""; position: absolute; left: 5px; right: 5px; bottom: 5px; height: 4px;
  background: var(--blue); border-radius: 2px;
}
.nav__logo-text { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: 0.04em; color: var(--ink); }
.nav__logo-text em { font-style: normal; color: var(--blue); }
.nav__links { display: flex; gap: 22px; }
.nav__links a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav__links a:hover { color: var(--blue); border-bottom-color: var(--yellow); }
.nav__burger { display: none; background: none; border: 2px solid var(--ink); width: 44px; height: 40px; padding: 8px; flex-direction: column; justify-content: space-between; }
.nav__burger span { display: block; height: 2px; background: var(--ink); }

/* language switcher */
.lang-switch { display: flex; border: 2px solid var(--ink); overflow: hidden; flex: 0 0 auto; }
.lang-switch button {
  background: transparent;
  border: 0;
  padding: 8px 11px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--charcoal);
  border-inline-end: 1px solid var(--line);
  min-width: 40px;
}
.lang-switch button:last-child { border-inline-end: 0; }
.lang-switch button:hover { color: var(--blue); background: rgba(31, 107, 255, 0.08); }
.lang-switch button.is-active { background: var(--ink); color: var(--yellow); }

/* ---------- sections ---------- */
main { padding-top: calc(var(--nav-h) + 42px); }
.section { padding: 92px 0; position: relative; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--navy); color: var(--paper); }
.section--dark a { color: inherit; }
.section--stripes::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 12px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 16px, var(--ink) 16px 32px);
}

.sec-head { margin-bottom: 52px; max-width: 780px; }
.sec-head__num {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sec-head__num::after { content: ""; height: 1px; background: var(--line-strong); flex: 1; max-width: 130px; }
.sec-head--onDark .sec-head__num { color: var(--yellow); }
.sec-head--onDark .sec-head__num::after { background: var(--line-onDark); }
.sec-head__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5.4vw, 3.6rem);
  letter-spacing: 0.015em;
  text-transform: uppercase;
}
.sec-head__sub { margin-top: 16px; font-size: 1.05rem; color: inherit; opacity: 0.85; max-width: 620px; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(31, 107, 255, 0.09), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.hero::before {
  /* dotted engineering grid */
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(13, 21, 38, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: linear-gradient(to bottom, transparent 0%, #000 18%, #000 82%, transparent 100%);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  padding-top: 74px;
  padding-bottom: 60px;
  position: relative;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6.4vw, 4.9rem);
  text-transform: uppercase;
  letter-spacing: 0.012em;
  line-height: 1.02;
  margin: 0 0 26px;
}
.hero__title span { display: block; }
.hero__sub { font-size: 1.12rem; max-width: 480px; color: var(--charcoal); margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero__flags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--charcoal);
}

/* hero visual w/ annotations */
.hero__visual { position: relative; }
.hero__robot-frame {
  position: relative;
  border: 2px solid var(--ink);
  background: var(--navy);
  box-shadow: 10px 10px 0 rgba(13, 21, 38, 0.14);
}
.hero__robot-frame img { width: 100%; }
.annot {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 3px 7px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
}
.annot i { width: 7px; height: 7px; background: var(--yellow); border: 1px solid var(--ink); display: inline-block; }
.annot--tl { top: 12px; left: -14px; }
.annot--tr { top: 42px; right: -12px; }
.annot--bl { bottom: 46px; left: -18px; }
.annot--br { bottom: 12px; right: -10px; }
.hero__status {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  color: #7dff9b;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border: 1px solid var(--ink);
}
.hero__visual-cap { margin-top: 12px; font-size: 0.7rem; letter-spacing: 0.1em; color: var(--charcoal); text-align: right; }

/* info rail */
.rail {
  border-top: 2px solid var(--ink);
  background: var(--paper);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
}
.rail__item {
  padding: 20px 10px 18px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.rail__item:last-child { border-right: 0; }
.rail__item b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1;
}
.rail__item span { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; color: var(--charcoal); }
.rail__item--price { background: var(--yellow); }
.rail__item--price span { color: var(--ink); }

/* ============================================================
   CONCEPT
   ============================================================ */
.concept__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 52px; align-items: start; }
.concept__nots { border-left: 3px solid var(--yellow); padding: 14px 0 8px 20px; margin: 22px 0; }
.concept__nots p { margin: 0 0 8px; font-size: 0.86rem; }
.strike { color: var(--charcoal); opacity: 0.75; }
.check { color: var(--blue); font-weight: 600; }
.concept__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.concept__photos figure:first-child { grid-column: 1 / -1; }
.concept__photos img { border: 2px solid var(--ink); width: 100%; object-fit: cover; }
.concept__photos figcaption { font-size: 0.66rem; letter-spacing: 0.12em; margin-top: 6px; color: var(--charcoal); }

.journey {
  margin-top: 64px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 8px;
}
.journey__step {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 7px 13px;
  border: 1px solid var(--ink);
  background: #fff;
}
.journey__step:nth-child(1) { background: var(--yellow); }
.journey__step:last-child { background: var(--blue); color: #fff; border-color: var(--blue); }
.journey__arrow { color: var(--blue); font-weight: 700; }

/* ============================================================
   SPEC SHEET
   ============================================================ */
.specs__table { border: 1px solid var(--line-onDark); }
.specs__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--line-onDark);
}
.specs__row:last-child { border-bottom: 0; }
.specs__row dt {
  padding: 15px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--yellow);
  border-right: 1px solid var(--line-onDark);
  display: flex;
  align-items: center;
}
.specs__row dd { margin: 0; padding: 15px 20px; font-size: 1rem; }
.specs__row:nth-child(odd) { background: rgba(255, 255, 255, 0.025); }

/* ============================================================
   JOIN
   ============================================================ */
.join__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.join__card { border: 2px solid var(--ink); background: #fff; padding: 26px 24px; position: relative; }
.join__card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 6px; background: var(--blue); }
.join__card:nth-child(2)::before { background: var(--yellow); }
.join__card:nth-child(3)::before { background: var(--ink); }
.join__card-title { font-size: 0.78rem; letter-spacing: 0.12em; color: var(--charcoal); margin: 4px 0 18px; }
.tag-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-list li { border: 1px solid var(--line-strong); padding: 5px 11px; font-size: 0.82rem; background: var(--paper); }
.check-list { list-style: none; }
.check-list li { padding: 7px 0 7px 26px; position: relative; border-bottom: 1px dashed var(--line); font-size: 0.94rem; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.join__minors { margin-top: 16px; font-size: 0.7rem; line-height: 1.55; color: var(--charcoal); border-top: 2px solid var(--yellow); padding-top: 10px; }
.join__why { margin-top: 44px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 36px; align-items: center; }
.join__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.join__photos img { border: 2px solid var(--ink); width: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.join__photos figcaption { font-size: 0.6rem; letter-spacing: 0.1em; margin-top: 6px; color: var(--charcoal); }

/* ============================================================
   SKILLS
   ============================================================ */
.skills__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.skills__col { background: #fff; border: 2px solid var(--ink); padding: 26px 24px; }
.skills__label { margin-bottom: 18px; }
.skills__col ul { list-style: none; }
.skills__col li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.skills__col li:last-child { border-bottom: 0; }
.skills__col--tech { border-top: 6px solid var(--blue); }
.skills__col--eng { border-top: 6px solid var(--yellow); }
.skills__col--human { border-top: 6px solid var(--ink); }
.skills__equation {
  margin-top: 46px;
  text-align: center;
  font-size: clamp(1rem, 2.6vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.14em;
}
.skills__equation span { color: var(--blue); margin: 0 10px; }
.skills__equation em { font-style: normal; background: var(--yellow); padding: 4px 14px; }

/* ============================================================
   ENGINEER'S LOOP + CHEAT SHEET
   ============================================================ */
.cycle__track {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  counter-reset: step;
  border: 2px solid var(--ink);
  background: #fff;
}
.cycle__step {
  padding: 22px 16px 20px;
  border-right: 1px solid var(--line);
  position: relative;
}
.cycle__step:last-child { border-right: 0; }
.cycle__step::after {
  content: "→";
  position: absolute;
  right: -9px; top: 20px;
  color: var(--yellow);
  font-weight: 700;
  z-index: 2;
  background: transparent;
}
.cycle__step:last-child::after { content: none; }
.cycle__num { display: block; font-size: 0.72rem; color: var(--blue); letter-spacing: 0.14em; margin-bottom: 10px; }
.cycle__step h3 { font-size: 0.9rem; line-height: 1.3; font-weight: 700; }
.cycle__step--final { background: var(--navy); color: var(--paper); }
.cycle__step--final .cycle__num { color: var(--yellow); }

.cheat { margin-top: 54px; border: 2px solid var(--ink); background: #fff; }
.cheat__head {
  background: var(--ink);
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cheat__badge { background: var(--yellow); color: var(--ink); padding: 2px 9px; font-weight: 600; }
.cheat__body { display: grid; grid-template-columns: 1fr 1.1fr; gap: 34px; padding: 30px 26px; }
.cheat__chain { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 0.8rem; align-content: flex-start; }
.cheat__chain code { border: 1px solid var(--ink); background: var(--paper); padding: 5px 10px; font-weight: 600; }
.cheat__chain span { color: var(--blue); font-weight: 700; transform: rotate(-90deg); }
.cheat__example-label { font-size: 0.72rem; color: var(--charcoal); letter-spacing: 0.1em; margin-bottom: 10px; }
.code {
  background: var(--navy);
  color: #dfe8ff;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.65;
  padding: 20px 22px;
  margin: 0 0 14px;
  overflow-x: auto;
  border-left: 5px solid var(--yellow);
}
.c-kw { color: var(--yellow); font-weight: 600; }
.c-num { color: #7dff9b; }
.c-fn { color: var(--blue-soft); font-weight: 600; }
.cheat__example-note { font-size: 0.92rem; color: var(--charcoal); }

/* ============================================================
   EQUIPMENT
   ============================================================ */
.equip__grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 44px; align-items: center; }
.equip__photo { position: relative; }
.equip__photo img { border: 2px solid var(--paper); width: 100%; }
.equip__photo figcaption { font-size: 0.68rem; letter-spacing: 0.12em; margin-top: 10px; color: var(--yellow); }
.equip__list { list-style: none; border: 1px solid var(--line-onDark); }
.equip__list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-onDark);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  flex-wrap: wrap;
}
.equip__list li:last-child { border-bottom: 0; }
.equip__list b { color: var(--yellow); min-width: 40px; }
.equip__note { margin-left: auto; font-size: 0.68rem; color: var(--blue-soft); letter-spacing: 0.06em; }
.equip__software { margin-top: 44px; max-width: 720px; border-left: 3px solid var(--blue); padding-left: 22px; }
.equip__software-label { font-size: 0.72rem; letter-spacing: 0.14em; color: var(--blue-soft); margin-bottom: 8px; }
.equip__software a { color: var(--blue-soft); }
.equip__highlight { margin-top: 34px; font-size: 1.3rem; font-weight: 700; }

/* ============================================================
   LEVELS / CHALLENGES
   ============================================================ */
.levels__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.level {
  background: var(--navy-2);
  border: 1px solid var(--line-onDark);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, border-color 0.18s ease;
}
.level:hover { transform: translateY(-5px); border-color: var(--yellow); }
.level__img { position: relative; overflow: hidden; border-bottom: 2px solid var(--yellow); }
.level__img img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.level__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.level__tag {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: var(--ink);
  background: var(--yellow);
  align-self: flex-start;
  padding: 3px 10px;
  font-weight: 600;
}
.level__body h3 { font-family: var(--font-display); font-size: 1.45rem; letter-spacing: 0.03em; }
.level__desc { font-size: 0.92rem; opacity: 0.85; margin: 0; flex: 1; }
.level__meta {
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  color: var(--blue-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px dashed var(--line-onDark);
  padding-top: 12px;
}
.level__diff { color: var(--yellow); letter-spacing: 0.2em; }
.level--boss { border: 2px dashed var(--yellow); background: #0c1636; }
.level__tag--boss { background: var(--orange); }
.level__boss-title { letter-spacing: 0.3em !important; color: var(--yellow); }
.level__img--boss img { filter: saturate(0.85); }

/* ============================================================
   MISSION MAP (timeline)
   ============================================================ */
.mission__map { position: relative; padding-left: 74px; max-width: 860px; }
.mission__line {
  position: absolute;
  left: 34px; top: 8px; bottom: 8px;
  width: 6px;
  background:
    repeating-linear-gradient(to bottom, var(--line-strong) 0 10px, transparent 10px 20px);
}
.mission__line-fill {
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 0%;
  background: var(--blue);
  transition: height 0.2s linear;
}
.mission__bot {
  position: absolute;
  left: 50%;
  top: 0%;
  transform: translate(-50%, -10px);
  transition: top 0.2s linear;
  filter: drop-shadow(2px 3px 0 rgba(13, 21, 38, 0.3));
}
.mission__list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.station { position: relative; display: grid; grid-template-columns: 74px 1fr; gap: 18px; align-items: start; }
.station::before {
  content: "";
  position: absolute;
  left: -46px; top: 14px;
  width: 14px; height: 14px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 50%;
  z-index: 1;
}
.station--challenge::before { background: var(--yellow); }
.station--boss::before { background: var(--orange); border-color: var(--orange); }
.station--break::before { background: var(--blue); }
.station--final::before { background: var(--ink); }
.station__time { font-size: 0.82rem; font-weight: 600; color: var(--blue); padding-top: 12px; }
.station__card {
  background: #fff;
  border: 1px solid var(--line-strong);
  border-left: 4px solid var(--ink);
  padding: 14px 18px;
}
.station--challenge .station__card { border-left-color: var(--yellow); background: #fffdf4; }
.station--boss .station__card { border-left-color: var(--orange); border-style: dashed; background: #fff8ef; }
.station--break .station__card { border-left-color: var(--blue); background: #f3f7ff; }
.station--final .station__card { background: var(--navy); color: var(--paper); border-left-color: var(--yellow); }
.station__card h3 { font-size: 1.02rem; font-weight: 700; margin-bottom: 4px; }
.station__card p { margin: 0; font-size: 0.9rem; opacity: 0.85; }

/* ============================================================
   ENGLISH
   ============================================================ */
.english__grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 44px; align-items: start; }
.dialogue { background: var(--navy); color: var(--paper); padding: 30px 28px; border: 2px solid var(--ink); box-shadow: 10px 10px 0 rgba(13, 21, 38, 0.12); }
.dialogue__event { font-size: 0.7rem; letter-spacing: 0.14em; color: var(--orange); margin-bottom: 18px; }
.dialogue__event--ok { color: #7dff9b; margin: 18px 0 0; }
.dialogue__line { font-size: 1.05rem; margin: 0 0 14px; padding-left: 14px; border-left: 3px solid var(--blue); }
.dialogue__line--b { border-left-color: var(--yellow); }
.dialogue__line--c { border-left-color: #7dff9b; }
.dialogue__line .mono { display: block; font-size: 0.64rem; letter-spacing: 0.14em; opacity: 0.6; margin-bottom: 2px; }
.english__activities { display: grid; gap: 14px; }
.eact { background: #fff; border: 1px solid var(--line-strong); border-left: 5px solid var(--yellow); padding: 16px 20px; }
.eact h3 { font-size: 0.8rem; letter-spacing: 0.14em; margin-bottom: 6px; color: var(--ink); }
.eact p { margin: 0; font-size: 0.92rem; color: var(--charcoal); }

/* ============================================================
   MENTORS
   ============================================================ */
.mentors__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 900px; margin: 0 auto; }
.mentor { text-align: center; }
.mentor__tag { font-size: 0.72rem; letter-spacing: 0.14em; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.mentor__badge {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  border: 1px solid var(--line-onDark);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}
.mentor:hover .mentor__badge { transform: translateY(-6px) rotate(-0.5deg); }
.mentor__info { margin-top: 18px; }
.mentor__info h3 { font-family: var(--font-display); font-size: 1.4rem; letter-spacing: 0.05em; }
.mentor__info p { font-size: 0.66rem; letter-spacing: 0.1em; color: var(--blue-soft); margin: 8px auto 0; max-width: 340px; }

/* ============================================================
   INCLUDED
   ============================================================ */
.included__list {
  list-style: none;
  columns: 3;
  column-gap: 40px;
  max-width: 980px;
}
.included__list li {
  break-inside: avoid;
  font-size: 1rem;
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
}

/* ============================================================
   LOCATION
   ============================================================ */
.location__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.location__map img { border: 2px solid var(--ink); width: 100%; }
.location__card { background: #fff; border: 2px solid var(--ink); padding: 34px 30px; box-shadow: 10px 10px 0 rgba(13, 21, 38, 0.12); }
.location__pin { font-size: 0.72rem; letter-spacing: 0.16em; color: var(--blue); margin-bottom: 8px; }
.location__card h3 { font-family: var(--font-display); font-size: 1.9rem; margin-bottom: 8px; }
.location__addr { color: var(--charcoal); margin-bottom: 22px; }
.location__note { margin-top: 18px; font-size: 0.68rem; letter-spacing: 0.1em; color: var(--charcoal); }

/* ============================================================
   PRICING TICKET
   ============================================================ */
.ticket {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  max-width: 880px;
  margin: 0 auto;
  background: var(--paper);
  color: var(--ink);
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.ticket__main { padding: 38px 40px; position: relative; }
.ticket__main::after {
  /* perforation */
  content: "";
  position: absolute;
  right: -1px; top: 0; bottom: 0;
  border-right: 3px dashed rgba(13, 21, 38, 0.35);
}
.ticket__brand { font-size: 1rem; font-weight: 600; letter-spacing: 0.2em; margin-bottom: 4px; }
.ticket__type { font-size: 0.7rem; letter-spacing: 0.12em; color: var(--charcoal); border-bottom: 1px solid var(--line-strong); padding-bottom: 14px; margin-bottom: 18px; }
.ticket__perks { list-style: none; columns: 2; column-gap: 26px; font-size: 0.78rem; letter-spacing: 0.06em; margin-bottom: 20px; }
.ticket__perks li { padding: 5px 0; break-inside: avoid; }
.ticket__serial { font-size: 0.62rem; letter-spacing: 0.16em; color: var(--charcoal); border-top: 1px solid var(--line); padding-top: 12px; }
.ticket__stub {
  background: var(--yellow);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  background-image: radial-gradient(rgba(13, 21, 38, 0.12) 1px, transparent 1px);
  background-size: 14px 14px;
}
.ticket__price { margin: 0; line-height: 1; }
.ticket__price b { font-family: var(--font-display); font-size: 4rem; display: block; }
.ticket__price span { font-family: var(--font-mono); font-size: 0.9rem; letter-spacing: 0.3em; }
.ticket__cap { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; }
.ticket__stub .btn { border-color: var(--ink); background: var(--ink); color: var(--yellow); }
.pricing__note { text-align: center; margin-top: 30px; opacity: 0.8; font-size: 0.95rem; }

/* ============================================================
   NOTES
   ============================================================ */
.notes__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.note { border: 2px solid var(--ink); background: #fff; padding: 26px 26px 22px; }
.note h3 { font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 12px; }
.note p { margin: 0; font-size: 0.95rem; color: var(--charcoal); }
.note--laptop { grid-row: span 2; border-top: 6px solid var(--yellow); }
.note__img { margin: -26px -26px 20px; border-bottom: 2px solid var(--ink); }
.note__img img { width: 100%; object-fit: cover; }
.note:nth-child(3) { border-top: 6px solid var(--blue); }

/* ============================================================
   REGISTRATION
   ============================================================ */
.register__wrap { max-width: 760px; }
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 2px solid var(--ink);
  background: #fff;
  margin-bottom: 28px;
}
.steps__item {
  padding: 13px 8px;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--charcoal);
  border-right: 1px solid var(--line);
  position: relative;
}
.steps__item:last-child { border-right: 0; }
.steps__item span { display: block; font-weight: 600; color: var(--blue); margin-bottom: 2px; }
.steps__item.is-active { background: var(--ink); color: var(--paper); }
.steps__item.is-active span { color: var(--yellow); }
.steps__item.is-done { background: var(--paper-2); }
.steps__item.is-done::after { content: " ✓"; color: var(--blue); font-weight: 700; }

.form { background: #fff; border: 2px solid var(--ink); padding: 34px 32px; box-shadow: 10px 10px 0 rgba(13, 21, 38, 0.1); }
.form__step { display: none; }
.form__step.is-active { display: block; }
.form__legend { font-size: 0.74rem; letter-spacing: 0.16em; color: var(--blue); margin-bottom: 24px; padding: 0; }

.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label, .field__label { display: block; font-weight: 600; font-size: 0.95rem; margin-bottom: 7px; }
.req { color: var(--orange); }
.opt { font-size: 0.68rem; color: var(--charcoal); letter-spacing: 0.06em; }
input[type="text"], input[type="number"], input[type="tel"], input[type="email"], select, textarea {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  padding: 12px 14px;
  border: 2px solid var(--line-strong);
  background: var(--paper);
  color: var(--ink);
  border-radius: 4px;
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(31, 107, 255, 0.18); }
input.is-invalid, select.is-invalid, textarea.is-invalid { border-color: var(--orange); background: #fff7f0; }
textarea { resize: vertical; }
.field__hint { font-size: 0.8rem; color: var(--charcoal); margin: 7px 0 0; }
.field__error { color: #c43c00; font-size: 0.8rem; font-weight: 600; margin: 6px 0 0; min-height: 0; }
.field__error:empty { display: none; }

.minor-alert {
  border: 2px solid var(--orange);
  background: #fff6ec;
  padding: 18px 20px;
  margin-bottom: 20px;
}
.minor-alert .mono { color: var(--orange); font-weight: 600; letter-spacing: 0.12em; font-size: 0.72rem; margin-bottom: 8px; }
.minor-alert p { font-size: 0.9rem; margin-bottom: 12px; }

.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.radio-card {
  border: 2px solid var(--line-strong);
  background: var(--paper);
  padding: 16px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  border-radius: 4px;
  font-size: 0.92rem;
}
.radio-card:has(input:checked) { border-color: var(--blue); background: #f0f5ff; box-shadow: 0 0 0 2px rgba(31, 107, 255, 0.25); }
.radio-card input { margin-top: 3px; accent-color: var(--blue); width: 18px; height: 18px; flex: 0 0 auto; }

.selected-ws {
  border: 2px dashed var(--line-strong);
  background: var(--paper);
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.74rem;
  letter-spacing: 0.06em;
}
.selected-ws b { color: var(--blue); }

.agreements { display: flex; flex-direction: column; gap: 4px; }
.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 9px 4px;
  font-size: 0.92rem;
  cursor: pointer;
  border-bottom: 1px dashed var(--line);
}
.checkbox input { margin-top: 4px; accent-color: var(--blue); width: 18px; height: 18px; flex: 0 0 auto; }
.checkbox--photo { border: 2px solid var(--line-strong); border-radius: 4px; padding: 12px 14px; margin-top: 14px; background: var(--paper); }
.payment-preview {
  margin-top: 22px;
  background: var(--navy);
  color: var(--paper);
  padding: 16px 20px;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}
.payment-preview p { margin: 4px 0; }
.payment-preview b { color: var(--yellow); }

.form__nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.form__nav .btn { flex: 0 0 auto; }
#btnNext, #btnSubmit { margin-left: auto; }

/* success */
.success { margin-top: 10px; }
.success__title { font-size: 1.1rem; font-weight: 600; letter-spacing: 0.08em; margin-bottom: 24px; color: var(--ink); }
.pass {
  background: var(--navy);
  color: var(--paper);
  border-radius: 14px;
  padding: 28px 30px;
  max-width: 460px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 50px rgba(13, 21, 38, 0.4);
  position: relative;
  overflow: hidden;
  animation: passIn 0.5s ease both;
}
@keyframes passIn { from { transform: translateY(24px) rotate(1deg); opacity: 0; } to { transform: none; opacity: 1; } }
.pass::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, var(--blue) 14px 28px);
}
.pass__head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 0.66rem; letter-spacing: 0.14em; color: var(--blue-soft); margin: 8px 0 18px; }
.pass__serial { color: var(--yellow); }
.pass__name { font-family: var(--font-display); font-size: 2rem; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 18px; }
.pass__data { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 0.78rem; margin-bottom: 18px; }
.pass__data dt { color: var(--blue-soft); font-size: 0.62rem; letter-spacing: 0.16em; }
.pass__data dd { margin: 2px 0 0; }
.pass__status { border-top: 1px dashed rgba(255, 255, 255, 0.25); padding-top: 14px; font-size: 0.72rem; letter-spacing: 0.12em; }
.pass__status b { color: var(--orange); }

.success__steps { margin-top: 30px; max-width: 520px; }
.success__one { font-size: 0.8rem; letter-spacing: 0.16em; color: var(--blue); font-weight: 600; margin-bottom: 12px; }
.success__steps ol { padding-left: 22px; margin-bottom: 14px; }
.success__steps li { margin-bottom: 6px; }
.success__lock { font-weight: 600; }
.success__laptop { font-size: 0.74rem; letter-spacing: 0.08em; background: var(--yellow); display: inline-block; padding: 8px 14px; margin-bottom: 20px; }
.btn--wa { display: inline-flex; margin-right: 12px; }

/* ============================================================
   PAYMENT
   ============================================================ */
.paysteps { list-style: none; max-width: 720px; counter-reset: pay; }
.paystep {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 20px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
}
.paystep__num {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--blue);
  border: 2px solid var(--ink);
  width: 58px; height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}
.paystep--final .paystep__num { background: var(--yellow); }
.paystep p { margin: 0; }
.paystep__cfg { display: block; font-size: 0.74rem; color: var(--charcoal); margin-top: 4px; }
.payment__lock { margin-top: 30px; font-weight: 600; letter-spacing: 0.08em; font-size: 0.85rem; background: var(--yellow); display: inline-block; padding: 10px 16px; }
.payment__nocard { margin-top: 16px; font-size: 0.9rem; color: var(--charcoal); max-width: 640px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq__list { max-width: 820px; }
.faq__item { border: 1px solid var(--line-strong); background: #fff; margin-bottom: 10px; }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 17px 20px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-family: var(--font-mono); font-size: 1.2rem; color: var(--blue); flex: 0 0 auto; }
.faq__item[open] summary::after { content: "–"; color: var(--orange); }
.faq__item[open] summary { border-bottom: 1px dashed var(--line); }
.faq__item p { padding: 14px 20px 18px; margin: 0; color: var(--charcoal); }

/* ============================================================
   FINAL CTA
   ============================================================ */
.final__inner { text-align: center; padding-top: 20px; }
.final__kicker { color: var(--yellow); font-size: 0.76rem; letter-spacing: 0.18em; margin-bottom: 22px; }
.final__title { font-family: var(--font-display); font-size: clamp(2.6rem, 7vw, 5rem); text-transform: uppercase; margin-bottom: 34px; }
.final__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin-bottom: 34px;
}
.final__list li { border: 1px solid var(--line-onDark); padding: 8px 15px; font-size: 0.72rem; letter-spacing: 0.12em; }
.final__slogan { font-size: 1.3rem; font-weight: 700; margin-bottom: 8px; }
.final__cap { color: var(--yellow); letter-spacing: 0.16em; font-size: 0.78rem; margin-bottom: 30px; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: rgba(246, 243, 236, 0.75); padding: 34px 0; border-top: 3px solid var(--yellow); }
.footer__inner { display: flex; flex-direction: column; gap: 10px; font-size: 0.7rem; letter-spacing: 0.1em; }
.footer a { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(246, 243, 236, 0.4); }
.footer a:hover { color: var(--yellow); }
.footer__brand b { color: var(--yellow); }

/* ============================================================
   STICKY MOBILE CTA
   ============================================================ */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(13, 21, 38, 0.92);
  backdrop-filter: blur(6px);
  transform: translateY(110%);
  transition: transform 0.25s ease;
  display: none;
}
.sticky-cta.is-visible { transform: translateY(0); }
.sticky-cta__btn { width: 100%; justify-content: center; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker__inner { animation: none; }
  .pass { animation: none; }
  .mission__line-fill, .mission__bot, .level, .btn, .mentor__badge { transition: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .cycle__track { grid-template-columns: repeat(4, 1fr); }
  .cycle__step:nth-child(4)::after { content: none; }
  .cycle__step { border-bottom: 1px solid var(--line); }
  .levels__grid { grid-template-columns: repeat(2, 1fr); }
  .included__list { columns: 2; }
}

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; }
  .hero__visual { max-width: 480px; }
  .annot--tl { left: 8px; }
  .annot--bl { left: 8px; }
  .annot--tr { right: 8px; }
  .annot--br { right: 8px; }
  .rail { grid-template-columns: repeat(5, 1fr); }
  .concept__grid, .english__grid, .equip__grid, .location__grid, .join__why { grid-template-columns: 1fr; }
  .join__grid, .skills__grid { grid-template-columns: 1fr; }
  .mentors__grid { grid-template-columns: 1fr; gap: 56px; }
  .notes__grid { grid-template-columns: 1fr; }
  .note--laptop { grid-row: auto; }
  .cheat__body { grid-template-columns: 1fr; }
  .ticket { grid-template-columns: 1fr; }
  .ticket__main::after { border-right: 0; border-bottom: 3px dashed rgba(13, 21, 38, 0.35); left: 0; right: 0; bottom: -1px; top: auto; }

  .nav__links {
    display: none;
    position: absolute;
    top: var(--nav-h); left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    gap: 0;
    border-bottom: 2px solid var(--ink);
    padding: 8px 0;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 13px 24px; border-bottom: 1px solid var(--line); }
  .nav__burger { display: flex; }
  .btn--nav { display: none; }

  .sticky-cta { display: block; }
}

@media (max-width: 640px) {
  .section { padding: 68px 0; }
  body { font-size: 16px; }
  .cycle__track { grid-template-columns: 1fr 1fr; border: 0; gap: 10px; }
  .cycle__step { border: 2px solid var(--ink); background: #fff; }
  .cycle__step--final { background: var(--navy); color: var(--paper); }
  .cycle__step::after { content: none; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .radio-cards { grid-template-columns: 1fr; }
  .levels__grid { grid-template-columns: 1fr; }
  .included__list { columns: 1; }
  .mission__map { padding-left: 54px; }
  .mission__line { left: 22px; }
  .station { grid-template-columns: 1fr; gap: 4px; }
  .station::before { left: -38px; }
  .station__time { padding-top: 0; }
  .rail__item b { font-size: 1.4rem; }
  .rail__item span { font-size: 0.56rem; }
  .rail__item { padding: 12px 4px 10px; }
  .ticket__perks { columns: 1; }
  .form { padding: 26px 18px; }
  .steps__item { font-size: 0.56rem; padding: 10px 2px; }
  .hero__cta .btn { width: 100%; justify-content: center; }
  .footer__inner { text-align: center; }
}

/* ============================================================
   ARABIC (RTL) SUPPORT
   ============================================================ */
html[lang="ar"] {
  --font-display: "Changa", "Anton", sans-serif;
  --font-body: "IBM Plex Sans Arabic", "Space Grotesk", sans-serif;
}
html[lang="ar"] body { font-family: var(--font-body); }
/* Arabic script must not be letter-spaced — it breaks letter joining */
html[lang="ar"] * { letter-spacing: 0 !important; }
html[lang="ar"] .mono { font-family: "IBM Plex Mono", "IBM Plex Sans Arabic", monospace; }
html[lang="ar"] .hero__title { line-height: 1.18; }
html[lang="ar"] .sec-head__title { line-height: 1.22; font-weight: 700; }
html[lang="ar"] .hero__title,
html[lang="ar"] .sec-head__title,
html[lang="ar"] .final__title,
html[lang="ar"] .level__body h3,
html[lang="ar"] .location__card h3,
html[lang="ar"] .pass__name,
html[lang="ar"] .mentor__info h3,
html[lang="ar"] .rail__item b,
html[lang="ar"] .ticket__price b,
html[lang="ar"] .nav__logo-text { font-family: var(--font-display); font-weight: 700; }

/* ---- mirrored layout details ---- */
[dir="rtl"] .hero__visual-cap { text-align: left; }
[dir="rtl"] .concept__nots { border-left: 0; border-right: 3px solid var(--yellow); padding-left: 0; padding-right: 20px; }
[dir="rtl"] .equip__software { border-left: 0; border-right: 3px solid var(--blue); padding-left: 0; padding-right: 22px; }
[dir="rtl"] .code { border-left: 0; border-right: 5px solid var(--yellow); direction: ltr; text-align: left; }
[dir="rtl"] .cheat__chain { direction: ltr; }
[dir="rtl"] .eact { border-left: 1px solid var(--line-strong); border-right: 5px solid var(--yellow); }
[dir="rtl"] .dialogue__line { border-left: 0; padding-left: 0; border-right: 3px solid var(--blue); padding-right: 14px; }
[dir="rtl"] .dialogue__line--b { border-right-color: var(--yellow); }
[dir="rtl"] .dialogue__line--c { border-right-color: #7dff9b; }
[dir="rtl"] .station__card { border-left: 1px solid var(--line-strong); border-right: 4px solid var(--ink); }
[dir="rtl"] .station--challenge .station__card { border-right-color: var(--yellow); }
[dir="rtl"] .station--boss .station__card { border-right-color: var(--orange); }
[dir="rtl"] .station--break .station__card { border-right-color: var(--blue); }
[dir="rtl"] .station--final .station__card { border-right-color: var(--yellow); }
[dir="rtl"] .mission__map { padding-left: 0; padding-right: 74px; }
[dir="rtl"] .mission__line { left: auto; right: 34px; }
[dir="rtl"] .station::before { left: auto; right: -46px; }
[dir="rtl"] .check-list li { padding-left: 0; padding-right: 26px; }
[dir="rtl"] .check-list li::before { left: auto; right: 0; }
[dir="rtl"] .ticket__main::after { border-right: 0; border-left: 3px dashed rgba(13, 21, 38, 0.35); right: auto; left: -1px; }
[dir="rtl"] .cycle__step { border-right: 0; border-left: 1px solid var(--line); }
[dir="rtl"] .cycle__step:last-child { border-left: 0; }
[dir="rtl"] .cycle__step::after { content: "←"; right: auto; left: -9px; }
[dir="rtl"] .success__steps ol { padding-left: 0; padding-right: 22px; }
[dir="rtl"] .btn:hover { box-shadow: -4px 4px 0 var(--ink); }
[dir="rtl"] .btn--yellow:hover { box-shadow: -4px 4px 0 rgba(0, 0, 0, 0.55); }
[dir="rtl"] .btn:hover .btn__arrow { transform: translateX(-4px); }
[dir="rtl"] .ticker__inner { animation-name: ticker-rtl; }
@keyframes ticker-rtl { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (max-width: 860px) {
  [dir="rtl"] .ticket__main::after { border-left: 0; border-bottom: 3px dashed rgba(13, 21, 38, 0.35); left: 0; right: 0; bottom: -1px; top: auto; }
}
@media (max-width: 640px) {
  [dir="rtl"] .mission__map { padding-right: 54px; }
  [dir="rtl"] .mission__line { right: 22px; }
  [dir="rtl"] .station::before { right: -38px; }
  [dir="rtl"] .cycle__step { border: 2px solid var(--ink); }
  .lang-switch button { padding: 7px 9px; min-width: 34px; font-size: 0.66rem; }
}
[dir="rtl"] .hero__status, [dir="rtl"] .annot, [dir="rtl"] .ticket__serial, [dir="rtl"] .pass__serial { direction: ltr; }
