/*
 * Muxirela / Career Atlas
 * Editorial Swiss layout, warm paper, ink typography,
 * Decision Coral route markers, and intentional asymmetry.
 */

:root {
  --paper: #f5f0e7;
  --paper-deep: #e9e1d3;
  --ink: #13243a;
  --ink-soft: #405066;
  --coral: #f05a47;
  --coral-dark: #c84232;
  --sage: #a8b8a3;
  --sage-pale: #dfe7dc;
  --white: #fffdf8;
  --line: rgba(19, 36, 58, 0.16);
  --shadow: 0 24px 70px rgba(28, 38, 47, 0.12);
  --display: "Syne", sans-serif;
  --body: "Manrope", sans-serif;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.34;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.035'/%3E%3C/svg%3E");
}

::selection {
  color: var(--white);
  background: var(--coral);
}

h1,
h2,
h3,
h4,
.navbar-brand,
.display-type {
  font-family: var(--display);
}

h1,
h2,
h3 {
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

p {
  color: var(--ink-soft);
}

a {
  color: inherit;
}

.site-shell {
  width: min(100% - 40px, 1380px);
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.3rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 26px;
  height: 2px;
  content: "";
  background: var(--coral);
}

.section-kicker {
  max-width: 680px;
  margin-bottom: 3.5rem;
}

.section-title {
  max-width: 960px;
  margin-bottom: 1.2rem;
  font-size: clamp(2.35rem, 5.2vw, 5.15rem);
}

.section-lead {
  max-width: 720px;
  margin: 0;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.atlas-main > section {
  position: relative;
}

.station-label {
  position: absolute;
  top: 34px;
  left: max(8px, calc((100vw - 1380px) / 2 - 42px));
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-soft);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.station-label::after {
  width: 1px;
  height: 54px;
  content: "";
  border-left: 1px dashed var(--coral);
}

.recognition .station-label,
.principles .station-label {
  color: rgba(255,255,255,.64);
}

.btn {
  --bs-btn-border-radius: 0;
  min-height: 52px;
  padding: 0.82rem 1.25rem;
  border-width: 1px;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  transition: transform 160ms var(--ease-out), background-color 180ms var(--ease-out), color 180ms var(--ease-out), border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.btn:active {
  transform: scale(0.97);
}

.btn-coral {
  color: #fff;
  border-color: var(--coral);
  background: var(--coral);
}

.btn-coral:hover,
.btn-coral:focus-visible {
  color: #fff;
  border-color: var(--coral-dark);
  background: var(--coral-dark);
  box-shadow: 8px 8px 0 var(--ink);
  transform: translate(-3px, -3px);
}

.btn-ink {
  color: var(--white);
  border-color: var(--ink);
  background: var(--ink);
}

.btn-ink:hover,
.btn-ink:focus-visible {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.btn-outline-ink {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

.btn-outline-ink:hover,
.btn-outline-ink:focus-visible {
  color: var(--white);
  background: var(--ink);
}

.route-number {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  color: #fff;
  border-radius: 50%;
  background: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1040;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 240, 231, 0.98);
  backdrop-filter: blur(18px);
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(245, 240, 231, 0.94);
  box-shadow: 0 10px 32px rgba(19, 36, 58, 0.07);
}

.navbar {
  min-height: 86px;
  padding-block: 0.8rem;
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 2rem;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.06em;
}

.navbar-brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-link,
.nav-scroll {
  padding: 0.8rem 0.65rem !important;
  color: var(--ink) !important;
  border: 0;
  background: transparent;
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-link::after,
.nav-scroll::after {
  display: block;
  width: 0;
  height: 2px;
  margin-top: 3px;
  content: "";
  background: var(--coral);
  transition: width 180ms var(--ease-out);
}

.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-scroll:hover::after,
.nav-scroll:focus-visible::after {
  width: 100%;
}

.navbar-toggler {
  width: 48px;
  height: 48px;
  padding: 0;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 0;
  box-shadow: none !important;
}

/* Hero */
.hero {
  position: relative;
  padding: 150px 0 84px;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: -10vw;
  bottom: 18px;
  width: 42vw;
  height: 42vw;
  content: "";
  opacity: 0.4;
  border: 1px dashed var(--sage);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
}

.hero h1 {
  max-width: 810px;
  margin: 0 0 1.8rem;
  font-size: clamp(3.3rem, 6.4vw, 6.9rem);
}

.hero h1 em {
  display: block;
  color: var(--coral);
  font-style: normal;
}

.hero-copy {
  max-width: 675px;
  margin-bottom: 2.1rem;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2rem;
  color: var(--ink-soft);
  font-size: 0.84rem;
}

.hero-note i {
  color: var(--coral);
}

.hero-visual {
  position: relative;
}

.hero-image-wrap {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-image-wrap::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 62%, rgba(19, 36, 58, 0.34));
}

.hero-image {
  width: 100%;
  height: 590px;
  object-fit: cover;
}

.coordinate-label {
  position: absolute;
  top: 22px;
  right: -18px;
  z-index: 2;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transform: rotate(3deg);
}

.decision-card {
  position: absolute;
  bottom: -38px;
  left: -54px;
  z-index: 3;
  width: min(330px, 78%);
  padding: 1.45rem;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 10px 10px 0 var(--coral);
}

.decision-card small {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--coral-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.decision-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.2;
}

/* Recognition strip */
.recognition {
  position: relative;
  z-index: 4;
  padding: 96px 0;
  color: var(--white);
  background: var(--ink);
}

.recognition-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 7vw, 8rem);
}

.recognition h2 {
  margin: 0;
  font-size: clamp(2.7rem, 5.7vw, 5.65rem);
}

.recognition h2 span {
  color: var(--coral);
}

.situation-list {
  border-top: 1px solid rgba(255,255,255,.2);
}

.situation-item {
  display: grid;
  grid-template-columns: 70px 1fr auto;
  align-items: start;
  gap: 1rem;
  padding: 1.4rem 0;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.2);
}

.situation-item span {
  color: var(--coral);
  font-weight: 800;
}

.situation-item p {
  margin: 0;
  color: rgba(255,255,255,.76);
  font-size: 1.05rem;
}

.situation-item i {
  font-size: 1.2rem;
}

/* Programs */
.programs {
  padding: 128px 0;
  background-image: linear-gradient(rgba(19,36,58,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(19,36,58,.035) 1px, transparent 1px);
  background-size: 32px 32px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}

.program-card {
  position: relative;
  min-height: 500px;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  overflow: hidden;
  border: 1px solid var(--ink);
  background: var(--white);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.program-card:nth-child(1) {
  grid-column: span 5;
}

.program-card:nth-child(2) {
  grid-column: span 4;
  margin-top: 56px;
  background: var(--sage-pale);
}

.program-card:nth-child(3) {
  grid-column: span 3;
  min-height: 460px;
  background: var(--paper-deep);
}

.program-card:hover {
  z-index: 2;
  box-shadow: 12px 12px 0 var(--ink);
  transform: translate(-5px, -5px);
}

.program-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 3.5rem;
  place-items: center;
  color: var(--white);
  border-radius: 50%;
  background: var(--ink);
  font-size: 1.35rem;
}

.program-card h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3vw, 3.1rem);
}

.program-card p {
  margin-bottom: 1.5rem;
}

.route-spec {
  display: grid;
  gap: 0.7rem;
  margin: 0 0 4.2rem;
}

.route-spec div {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 0.75rem;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--line);
}

.route-spec dt {
  color: var(--coral-dark);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.route-spec dd {
  margin: 0;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
}

.program-meta {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Scenario explorer */
.scenarios {
  padding: 120px 0;
  background: var(--white);
}

.scenario-shell {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--ink);
}

.scenario-menu {
  padding: clamp(1.6rem, 4vw, 3.8rem);
  color: var(--white);
  background: var(--ink);
}

.scenario-menu .eyebrow {
  color: var(--white);
}

.scenario-menu h2 {
  margin-bottom: 2.5rem;
  font-size: clamp(2.2rem, 4.5vw, 4.5rem);
}

.scenario-tabs {
  display: grid;
  gap: 0.65rem;
}

.scenario-tab {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 0;
  color: rgba(255,255,255,.68);
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
  background: transparent;
  text-align: left;
  transition: color 180ms var(--ease-out), padding-left 180ms var(--ease-out);
}

.scenario-tab:hover,
.scenario-tab.is-active {
  padding-left: 8px;
  color: var(--white);
}

.scenario-tab.is-active .tab-index {
  color: #fff;
  background: var(--coral);
}

.tab-index {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--ink);
  border-radius: 50%;
  background: var(--sage);
  font-size: 0.72rem;
  font-weight: 800;
}

.scenario-content {
  position: relative;
  display: grid;
  min-height: 610px;
  padding: clamp(2rem, 5vw, 5.2rem);
  align-content: end;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.scenario-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: transform 650ms var(--ease-in-out), opacity 250ms var(--ease-out);
}

.scenario-content:hover .scenario-bg {
  transform: scale(1.025);
}

.scenario-content::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(19,36,58,.08) 20%, rgba(19,36,58,.94) 88%);
}

.scenario-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.scenario-copy small {
  display: inline-block;
  margin-bottom: 1rem;
  color: #ffd4ce;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.scenario-copy h3 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4.5vw, 4.7rem);
}

.scenario-copy p {
  margin-bottom: 1.4rem;
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
}

.scenario-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.scenario-tag {
  padding: 0.5rem 0.7rem;
  border: 1px solid rgba(255,255,255,.36);
  font-size: 0.72rem;
  font-weight: 700;
}

/* Route process */
.process {
  position: relative;
  padding: 136px 0;
  overflow: hidden;
  background-image: radial-gradient(rgba(19,36,58,.08) .8px, transparent .8px);
  background-size: 18px 18px;
}

.process-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: start;
  gap: clamp(3rem, 8vw, 9rem);
}

.process-visual {
  position: sticky;
  top: 125px;
}

.process-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.process-caption {
  width: 80%;
  margin: -34px 0 0 auto;
  padding: 1.2rem 1.35rem;
  color: var(--white);
  background: var(--ink);
  font-size: 0.82rem;
}

.route-list {
  position: relative;
}

.route-list::before {
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 20px;
  content: "";
  border-left: 1px dashed var(--coral);
}

.route-step {
  position: relative;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 1.5rem;
  padding: 0 0 3.8rem;
}

.route-step:last-child {
  padding-bottom: 0;
}

.route-step h3 {
  margin-bottom: 0.6rem;
  font-size: clamp(1.5rem, 2.5vw, 2.4rem);
}

.route-step p {
  margin: 0;
}

.route-output {
  display: inline-flex;
  margin-top: 0.9rem;
  padding: 0.4rem 0.65rem;
  color: var(--ink);
  background: var(--sage-pale);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Toolkit */
.toolkit {
  padding: 120px 0;
  background: var(--paper-deep);
}

.toolkit-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.3rem;
}

.toolkit-photo {
  position: relative;
  min-height: 600px;
  overflow: hidden;
}

.toolkit-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.toolkit-photo figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2rem;
  color: var(--white);
  background: linear-gradient(transparent, rgba(19,36,58,.9));
}

.toolkit-photo strong {
  display: block;
  max-width: 560px;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 3rem);
  line-height: 1.05;
}

.deliverables {
  display: grid;
  gap: 1rem;
}

.deliverable {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 1rem;
  padding: 1.5rem;
  border-top: 1px solid var(--ink);
  background: var(--white);
}

.deliverable:last-child {
  border-bottom: 1px solid var(--ink);
}

.deliverable i {
  font-size: 1.5rem;
}

.deliverable h3 {
  margin-bottom: 0.4rem;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.deliverable p {
  margin: 0;
  font-size: 0.93rem;
}

/* Principles / no fake testimonials */
.principles {
  padding: 120px 0;
  color: var(--white);
  background: #20354a;
}

.principles .eyebrow,
.principles p {
  color: var(--white);
}

.principles .eyebrow::before {
  background: var(--coral);
}

.principles .principle-row > span {
  color: #ff8879;
}

.principle-row {
  display: grid;
  grid-template-columns: 0.35fr 1.05fr 1.6fr;
  gap: 1.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid rgba(255,255,255,.46);
}

.principle-row:last-child {
  border-bottom: 1px solid rgba(255,255,255,.46);
}

.principle-row span {
  font-weight: 800;
}

.principle-row h3 {
  margin: 0;
  font-size: 1.4rem;
}

.principle-row p {
  margin: 0;
  color: rgba(255,255,255,.82);
}

/* FAQ */
.faq-section {
  padding: 124px 0;
  background: var(--white);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.faq-intro {
  position: sticky;
  top: 125px;
  align-self: start;
}

.faq-intro h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

.faq-search {
  position: relative;
  margin-top: 2rem;
}

.faq-search i {
  position: absolute;
  top: 50%;
  left: 1rem;
  color: var(--ink-soft);
  transform: translateY(-50%);
}

.faq-search input {
  min-height: 55px;
  padding-left: 3rem;
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--paper);
  font-size: 1rem;
}

.accordion {
  --bs-accordion-border-color: var(--line);
  --bs-accordion-border-radius: 0;
  --bs-accordion-inner-border-radius: 0;
  --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(240,90,71,.22);
  --bs-accordion-active-bg: var(--paper);
  --bs-accordion-active-color: var(--ink);
}

.accordion-item {
  border-right: 0;
  border-left: 0;
  background: transparent;
}

.accordion-button {
  padding: 1.45rem 0;
  color: var(--ink);
  background: transparent;
  font-family: var(--display);
  font-size: clamp(1.12rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}

.accordion-button:not(.collapsed) {
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.accordion-body {
  padding: 0 3rem 1.6rem 0;
  color: var(--ink-soft);
}

.faq-empty {
  display: none;
  padding: 2rem;
  border: 1px dashed var(--ink);
  text-align: center;
}

/* Contact */
.contact {
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

.contact::before {
  position: absolute;
  top: -240px;
  right: -220px;
  width: 620px;
  height: 620px;
  content: "";
  border: 1px dashed var(--coral);
  border-radius: 50%;
}

.contact-shell {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  border: 1px solid var(--ink);
  background: var(--white);
  box-shadow: 16px 16px 0 var(--sage);
}

.contact-panel {
  position: relative;
  padding: clamp(2rem, 5vw, 5rem);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.contact-panel .eyebrow,
.contact-panel p {
  color: rgba(255,255,255,.78);
}

.contact-panel h2 {
  margin-bottom: 1.3rem;
  font-size: clamp(2.65rem, 5vw, 5.4rem);
}

.contact-coordinate {
  position: relative;
  display: grid;
  gap: 0.75rem;
  margin-top: 2.3rem;
  padding: 2rem 1.5rem 1.5rem;
  border: 1px dashed rgba(255,255,255,.42);
  background-image: radial-gradient(rgba(255,255,255,.18) .8px, transparent .8px);
  background-size: 18px 18px;
}

.contact-coordinate::before {
  position: absolute;
  top: -10px;
  left: 22px;
  width: 19px;
  height: 19px;
  content: "";
  border: 5px solid var(--ink);
  border-radius: 50%;
  background: var(--coral);
}

.contact-coordinate span,
.contact-coordinate small {
  color: #ffd4ce;
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-coordinate strong {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  line-height: 1.2;
}

.contact-details {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.contact-details a,
.contact-details span {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--white);
  text-decoration: none;
}

.contact-details i {
  color: var(--coral);
}

.contact-form-wrap {
  padding: clamp(2rem, 5vw, 5rem);
}

.form-label {
  margin-bottom: 0.55rem;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-control,
.form-select {
  min-height: 54px;
  border: 0;
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--coral);
  box-shadow: 0 2px 0 var(--coral);
  background: transparent;
}

textarea.form-control {
  min-height: 120px;
}

.form-check-input {
  border-color: var(--ink);
  border-radius: 0 !important;
}

.form-check-input:checked {
  border-color: var(--coral);
  background-color: var(--coral);
}

.form-hint {
  font-size: 0.77rem;
}

/* Footer */
.site-footer {
  padding: 70px 0 28px;
  color: var(--white);
  background: #0c192a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-brand p {
  max-width: 440px;
  margin: 1rem 0 0;
  color: rgba(255,255,255,.64);
}

.footer-title {
  margin-bottom: 1rem;
  color: var(--sage);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.55rem;
}

.footer-links a {
  color: rgba(255,255,255,.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--coral);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  color: rgba(255,255,255,.48);
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: 0.76rem;
}

/* Cookie */
.cookie-banner {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1055;
  width: min(430px, calc(100% - 44px));
  padding: 1.4rem;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.2);
  background: var(--ink);
  box-shadow: 12px 12px 0 var(--coral);
}

.cookie-banner p {
  margin-bottom: 1rem;
  color: rgba(255,255,255,.76);
  font-size: 0.84rem;
}

.cookie-actions {
  display: flex;
  gap: 0.7rem;
}

.cookie-actions button {
  min-height: 42px;
  padding: 0.55rem 0.85rem;
  font-size: 0.75rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 580ms var(--ease-out), transform 580ms var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1199.98px) {
  .station-label {
    display: none;
  }

  .hero-grid,
  .recognition-grid,
  .process-grid,
  .faq-layout {
    gap: 4rem;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(380px, 0.85fr);
  }

  .program-card:nth-child(1),
  .program-card:nth-child(2) {
    grid-column: span 6;
  }

  .program-card:nth-child(3) {
    grid-column: span 12;
    min-height: 430px;
  }
}

@media (max-width: 991.98px) {
  .navbar > .site-shell {
    flex-wrap: wrap;
  }

  .navbar-brand {
    order: 1;
  }

  .navbar-toggler {
    order: 2;
  }

  .navbar-collapse {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    margin-top: 0.8rem;
    padding: 1.2rem;
    border: 1px solid var(--ink);
    background: var(--paper);
    box-shadow: 8px 8px 0 var(--coral);
  }

  .nav-link,
  .nav-scroll {
    width: 100%;
    text-align: left;
  }

  .hero-grid,
  .recognition-grid,
  .scenario-shell,
  .process-grid,
  .toolkit-grid,
  .faq-layout,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero-content {
    max-width: 860px;
  }

  .hero-image-wrap {
    min-height: 520px;
  }

  .hero-image {
    height: 520px;
  }

  .decision-card {
    left: 24px;
  }

  .program-card:nth-child(2) {
    margin-top: 0;
  }

  .scenario-content {
    min-height: 540px;
  }

  .process-visual,
  .faq-intro {
    position: relative;
    top: auto;
  }

  .toolkit-photo {
    min-height: 520px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  .site-shell {
    width: min(100% - 28px, 1380px);
  }

  .hero,
  .programs,
  .scenarios,
  .process,
  .toolkit,
  .principles,
  .faq-section,
  .contact {
    padding-block: 84px;
  }

  .hero {
    padding-top: 125px;
  }

  .hero-grid {
    gap: 3rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 15vw, 5rem);
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-image-wrap,
  .hero-image {
    height: 420px;
    min-height: 420px;
  }

  .coordinate-label {
    right: 10px;
  }

  .decision-card {
    bottom: -28px;
    left: 12px;
  }

  .recognition {
    padding-block: 78px;
  }

  .situation-item {
    grid-template-columns: 44px 1fr;
  }

  .situation-item i {
    display: none;
  }

  .program-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .program-card:nth-child(1),
  .program-card:nth-child(2),
  .program-card:nth-child(3) {
    grid-column: auto;
    min-height: 410px;
  }

  .scenario-menu,
  .scenario-content,
  .contact-panel,
  .contact-form-wrap {
    padding: 2rem 1.35rem;
  }

  .scenario-content {
    min-height: 500px;
  }

  .scenario-tab {
    grid-template-columns: 38px 1fr;
  }

  .scenario-tab i {
    display: none;
  }

  .process-caption {
    width: 92%;
  }

  .toolkit-photo {
    min-height: 430px;
  }

  .principle-row {
    grid-template-columns: 46px 1fr;
  }

  .principle-row p {
    grid-column: 2;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .navbar-brand {
    font-size: 1.15rem;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .decision-card {
    width: calc(100% - 24px);
  }

  .cookie-banner {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    padding: 0.8rem 0.9rem;
    box-shadow: 6px 6px 0 var(--coral);
  }

  .cookie-banner strong {
    margin-bottom: 0.25rem !important;
    font-size: 0.76rem;
  }

  .cookie-banner p {
    margin-bottom: 0.55rem;
    font-size: 0.68rem;
    line-height: 1.4;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 0.5rem;
  }

  .cookie-actions button {
    min-height: 36px;
    padding: 0.45rem 0.35rem;
    font-size: 0.66rem;
  }
}

/* Legal and 404 pages keep the same Career Atlas language without duplicating the landing layout. */
.subpage-header {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.subpage-header .site-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.back-link {
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;
}

.back-link:hover {
  color: var(--coral-dark);
}

.legal-hero {
  padding: 96px 0 62px;
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  max-width: 1000px;
  margin-bottom: 1.25rem;
  font-size: clamp(3rem, 8vw, 7.4rem);
}

.legal-meta {
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.legal-content {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 9rem);
  padding: 72px 0 110px;
}

.legal-aside {
  align-self: start;
  padding-top: 1.2rem;
  border-top: 3px solid var(--coral);
}

.legal-aside p {
  margin: 0;
  font-size: 0.88rem;
}

.legal-copy {
  max-width: 820px;
}

.legal-copy section {
  margin-bottom: 3.5rem;
}

.legal-copy h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

.legal-copy h3 {
  margin: 1.8rem 0 0.7rem;
  font-size: 1.2rem;
  letter-spacing: -0.025em;
}

.legal-copy li {
  margin-bottom: 0.6rem;
  color: var(--ink-soft);
}

.legal-callout {
  padding: 1.4rem;
  border-left: 5px solid var(--coral);
  background: var(--white);
}

.legal-callout p {
  margin: 0;
}

.not-found-page {
  display: grid;
  min-height: 100vh;
  grid-template-columns: 1.06fr 0.94fr;
}

.not-found-copy {
  display: grid;
  padding: clamp(2rem, 7vw, 7rem);
  align-content: center;
}

.not-found-code {
  display: block;
  margin-bottom: 1rem;
  color: var(--coral);
  font-family: var(--display);
  font-size: clamp(5rem, 16vw, 13rem);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.75;
}

.not-found-copy h1 {
  max-width: 700px;
  margin-bottom: 1.3rem;
  font-size: clamp(2.5rem, 5vw, 5rem);
}

.not-found-copy p {
  max-width: 620px;
  font-size: 1.08rem;
}

.not-found-map {
  position: relative;
  display: grid;
  min-height: 100%;
  padding: 3rem;
  place-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.not-found-map::before,
.not-found-map::after {
  position: absolute;
  content: "";
  border: 1px dashed rgba(255,255,255,.36);
  border-radius: 50%;
}

.not-found-map::before {
  width: 70%;
  aspect-ratio: 1;
}

.not-found-map::after {
  width: 38%;
  aspect-ratio: 1;
}

.lost-marker {
  position: relative;
  z-index: 2;
  display: grid;
  width: 116px;
  height: 116px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 18px rgba(240,90,71,.16);
  font-size: 2.5rem;
}

@media (max-width: 767.98px) {
  .subpage-header .site-shell,
  .legal-content,
  .not-found-page {
    grid-template-columns: 1fr;
  }

  .legal-content {
    display: grid;
    padding-top: 44px;
  }

  .not-found-map {
    min-height: 40vh;
  }
}
