:root {
  --geo-blue: #2f73d9;
  --geo-blue-soft: #e2efff;
  --geo-ink: #29272d;
  --geo-cream: #fffaf0;
  --geo-green: #0fbc53;
  --geo-green-soft: #e5f8eb;
  --geo-coral: #fd7666;
  --geo-coral-soft: #ffe7e2;
  --geo-yellow: #f6cc24;
  --geo-yellow-soft: #fff5c8;
  --geo-pink: #f35aa5;
  --geo-pink-soft: #ffe5f2;
  --geo-violet: #9267ea;
  --geo-violet-soft: #f2ebff;
  --geo-orange: #f29c45;
  --geo-orange-soft: #fff0dc;
}

.maths-pilot-sidebar.is-geographie {
  background: linear-gradient(180deg, #1f5fb9 0%, var(--geo-blue) 58%, #204f92 100%);
}

.maths-pilot-sidebar.is-geographie nav .is-active {
  border-color: rgba(246, 204, 36, .72);
  color: var(--geo-yellow);
}

.maths-pilot-sidebar.is-geographie .maths-pilot-language span.is-active {
  color: #204f92;
}

.geo-live {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.geo-atlas-proof {
  display: grid;
  width: min(100%, 980px);
  margin: 0 auto;
  gap: 12px;
  color: var(--geo-ink);
  font-family: var(--font-body);
}

.geo-atlas-proof svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  border: 1px solid #e7e3ec;
  border-radius: 30px;
  background: var(--geo-cream);
}

.geo-atlas-proof text {
  fill: var(--geo-ink);
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 820;
}

.geo-atlas-proof figcaption {
  padding-inline: 8px;
  color: #615b67;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.42;
}

.geo-proof-outcome {
  margin: 0;
  padding: 15px 18px;
  border-left: 5px solid var(--geo-blue);
  border-radius: 8px 18px 18px 8px;
  background: var(--geo-blue-soft);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.4;
}

.geo-land,
.geo-mainland,
.geo-island { fill: var(--geo-green-soft); }
.geo-sea { fill: var(--geo-blue-soft); }
.geo-route-base { fill: none; stroke: #c7c1cc; stroke-width: 15; stroke-linecap: round; }
.geo-route-segment { fill: none; stroke-width: 10; stroke-linecap: round; stroke-dasharray: 18 13; }
.geo-route-walk { fill: none; stroke: var(--geo-green); stroke-width: 9; stroke-linecap: round; stroke-dasharray: 7 12; }
.geo-route-bus { fill: none; stroke: var(--geo-coral); stroke-width: 10; stroke-linecap: round; }
.geo-route-ferry { fill: none; stroke: var(--geo-blue); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 22 12; }
.geo-route-base.is-picked,
.geo-route-segment.is-picked,
.geo-route-walk.is-picked,
.geo-route-bus.is-picked,
.geo-route-ferry.is-picked { filter: drop-shadow(0 0 5px rgba(47, 115, 217, .35)); stroke-width: 15; }

.geo-place path,
.geo-place rect,
.geo-school path,
.geo-school rect,
.geo-route-start path { fill: var(--geo-yellow); stroke: var(--geo-ink); stroke-width: 3; stroke-linejoin: round; }
.geo-place text,
.geo-school text,
.geo-route-start text,
.geo-node text,
.geo-port text,
.geo-destination text { font-family: var(--font-display); font-size: 17px; font-weight: 920; }
.geo-place.is-picked path,
.geo-place.is-picked rect { fill: var(--geo-yellow-soft); stroke: var(--geo-blue); stroke-width: 6; }
.geo-node circle { fill: #fff; stroke: var(--geo-blue); stroke-width: 7; }
.geo-node path { fill: none; stroke: var(--geo-ink); stroke-width: 3; }
.geo-node.is-picked circle { fill: var(--geo-yellow); stroke-width: 10; }
.geo-bus rect { fill: var(--geo-coral); stroke: var(--geo-ink); stroke-width: 3; }
.geo-bus circle { fill: var(--geo-ink); }
.geo-bus text { font-family: var(--font-display); font-size: 17px; font-weight: 950; }
.geo-bus.is-picked rect { fill: var(--geo-yellow); }
.geo-motive path { fill: var(--geo-pink-soft); stroke: var(--geo-pink); stroke-width: 4; }
.geo-motive text:first-of-type { font-family: var(--font-display); font-size: 20px; font-weight: 950; }
.geo-motive text:last-of-type { font-size: 14px; letter-spacing: .08em; }
.geo-motive.is-picked path { fill: var(--geo-yellow-soft); stroke: var(--geo-yellow); stroke-width: 7; }
.geo-legend text { font-size: 15px; }

.geo-frequency-line { fill: none; stroke: #d9d3df; stroke-width: 4; stroke-linecap: round; }
.geo-frequency-column circle { stroke: var(--geo-ink); stroke-width: 4; }
.geo-frequency-column.is-daily circle { fill: var(--geo-green-soft); }
.geo-frequency-column.is-weekly circle { fill: var(--geo-yellow-soft); }
.geo-frequency-column.is-occasional circle { fill: var(--geo-pink-soft); }
.geo-frequency-column > text:nth-of-type(-n + 2) { font-family: var(--font-display); font-size: 18px; font-weight: 950; }
.geo-frequency-column > text:nth-of-type(3) { font-family: var(--font-display); font-size: 17px; font-weight: 950; }
.geo-frequency-column > text:nth-last-of-type(-n + 2) { fill: #655f6a; font-size: 15px; }
.geo-frequency-column path { stroke: var(--geo-blue); stroke-width: 6; stroke-linecap: round; }
.geo-frequency-rule { fill: #204f92 !important; font-family: var(--font-display) !important; font-size: 18px !important; font-weight: 950 !important; letter-spacing: .04em; }

.geo-choice-path { fill: none; stroke: var(--geo-blue); stroke-width: 8; stroke-linecap: round; }
.geo-evidence circle { stroke: var(--geo-ink); stroke-width: 3; }
.geo-evidence:nth-of-type(1) circle { fill: var(--geo-yellow-soft); }
.geo-evidence:nth-of-type(2) circle { fill: var(--geo-pink-soft); }
.geo-evidence:nth-of-type(3) circle { fill: var(--geo-green-soft); }
.geo-evidence path { fill: none; stroke: var(--geo-ink); stroke-width: 6; stroke-linecap: round; }
.geo-evidence text:nth-last-of-type(2) { font-family: var(--font-display); font-size: 19px; font-weight: 950; }
.geo-evidence text:last-of-type { font-size: 14px; }
.geo-decision circle:first-child { fill: var(--geo-blue-soft); stroke: var(--geo-blue); stroke-width: 5; }
.geo-decision circle:not(:first-child),
.geo-decision path { fill: none; stroke: var(--geo-ink); stroke-width: 5; }
.geo-decision text { font-family: var(--font-display); font-size: 18px; font-weight: 950; }
.geo-decision text:last-of-type { font-size: 14px; }
.geo-decision.is-picked circle:first-child { fill: var(--geo-yellow); stroke: var(--geo-green); stroke-width: 8; }
.geo-choice-checks text { font-size: 16px; }
.geo-choice-checks path { stroke: #d8d2df; stroke-width: 2; }

.geo-map-france { fill: var(--geo-blue-soft); stroke: var(--geo-blue); stroke-width: 4; stroke-linejoin: round; }
.geo-compass path { fill: var(--geo-yellow); stroke: var(--geo-ink); stroke-width: 3; }
.geo-compass text { font-family: var(--font-display); font-size: 19px; font-weight: 950; }
.geo-network-lines path { fill: none; stroke-width: 8; stroke-linecap: round; }
.geo-network-lines .is-north { stroke: var(--geo-pink); }
.geo-network-lines .is-west { stroke: var(--geo-green); }
.geo-network-lines .is-east { stroke: var(--geo-yellow); }
.geo-network-lines .is-southwest { stroke: var(--geo-blue); }
.geo-network-lines .is-southeast { stroke: var(--geo-coral); }
.geo-network-lines path.is-picked { stroke-width: 16; filter: drop-shadow(0 0 4px rgba(41, 39, 45, .25)); }
.geo-network-nodes circle { fill: #fff; stroke: var(--geo-ink); stroke-width: 4; }
.geo-network-nodes .is-major circle { fill: var(--geo-violet-soft); stroke: var(--geo-violet); stroke-width: 6; }
.geo-network-nodes .is-picked circle { fill: var(--geo-yellow); stroke-width: 9; }
.geo-network-nodes text { font-size: 18px; font-weight: 900; paint-order: stroke; stroke: var(--geo-cream); stroke-width: 5; stroke-linejoin: round; }
.geo-map-legend text:first-of-type { font-family: var(--font-display); font-size: 17px; font-weight: 950; }
.geo-map-legend text:not(:first-of-type) { font-size: 15px; }
.geo-map-legend path { fill: none; stroke: var(--geo-pink); stroke-width: 8; }
.geo-map-legend circle { fill: #fff; stroke: var(--geo-ink); stroke-width: 4; }
.geo-map-legend circle.is-major { fill: var(--geo-violet-soft); stroke: var(--geo-violet); stroke-width: 5; }
.geo-map-legend :is(path, circle).is-picked { stroke: var(--geo-blue); stroke-width: 9; }
.geo-map-legend text.is-picked { fill: #204f92; font-weight: 950; }
.geo-map-note { fill: #6c6671 !important; font-size: 13px !important; font-weight: 820; letter-spacing: .05em; }
.geo-invented-route { fill: none; stroke: var(--geo-coral); stroke-width: 7; stroke-dasharray: 12 12; }
.geo-invented-label { fill: var(--geo-coral) !important; font-family: var(--font-display) !important; font-size: 18px !important; font-weight: 950 !important; }

.geo-shared-baseline { stroke: var(--geo-ink); stroke-width: 3; }
.geo-territory > text:first-child { font-family: var(--font-display); font-size: 16px; font-weight: 950; }
.geo-territory-road { fill: none; stroke: var(--geo-blue); stroke-width: 12; stroke-linecap: round; }
.geo-territory > g circle { fill: var(--geo-yellow); stroke: var(--geo-ink); stroke-width: 3; }
.geo-territory > g path { stroke: var(--geo-ink); stroke-width: 3; }
.geo-territory > g text { font-size: 12px; }
.geo-school rect,
.geo-school path { fill: var(--geo-coral-soft); }
.geo-measures text { font-size: 16px !important; font-weight: 840; }
.geo-territory-legend circle { fill: var(--geo-yellow); stroke: var(--geo-ink); stroke-width: 3; }
.geo-territory-legend path { stroke: var(--geo-blue); stroke-width: 9; }
.geo-territory-legend text { font-size: 15px; }

.geo-port rect { fill: var(--geo-orange); stroke: var(--geo-ink); stroke-width: 3; }
.geo-port path { fill: none; stroke: var(--geo-ink); stroke-width: 4; }
.geo-ferry path { fill: var(--geo-blue); stroke: var(--geo-ink); stroke-width: 3; }
.geo-ferry rect { fill: var(--geo-yellow); stroke: var(--geo-ink); stroke-width: 3; }
.geo-ferry text { font-family: var(--font-display); font-size: 17px; font-weight: 950; }
.geo-destination circle:first-child { fill: var(--geo-pink-soft); stroke: var(--geo-pink); stroke-width: 4; }
.geo-destination circle:nth-child(2) { fill: var(--geo-pink); }
.geo-route-legend text { font-size: 15px; }

.geo-impact-condition { font-family: var(--font-display) !important; font-size: 17px !important; font-weight: 950 !important; }
.geo-impact-condition.is-picked { fill: #204f92 !important; paint-order: stroke; stroke: var(--geo-yellow-soft); stroke-width: 10px; stroke-linejoin: round; }
.geo-impact-axis path { fill: none; stroke: var(--geo-ink); stroke-width: 3; }
.geo-impact-axis text { font-size: 14px; }
.geo-impact-bars text { font-size: 16px; font-weight: 880; }
.geo-impact-bars rect { stroke: transparent; stroke-width: 5; }
.geo-impact-bars .is-tgv rect { fill: var(--geo-green); }
.geo-impact-bars .is-bike rect { fill: var(--geo-yellow); }
.geo-impact-bars .is-car rect { fill: var(--geo-coral); }
.geo-impact-bars .is-plane rect { fill: var(--geo-violet); }
.geo-impact-bars .is-picked rect { stroke: var(--geo-ink); filter: drop-shadow(0 0 5px rgba(41, 39, 45, .25)); }
.geo-impact-source { fill: #655f6a !important; font-size: 13px !important; font-weight: 820 !important; letter-spacing: .03em; }

.geo-mission-words {
  display: grid;
  margin-bottom: 24px;
  padding: 22px;
  gap: 16px;
  border: 1px solid #e2ddea;
  border-radius: 24px;
  background: #fbfafc;
}

.geo-mission-words > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.geo-mission-words > header span,
.geo-mission-words > header strong,
.geo-mission-words article > span {
  color: var(--geo-blue);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
}

.geo-mission-words nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.geo-mission-words nav button {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 8px 12px;
  border: 2px solid #ded8e6;
  border-radius: 16px;
  background: #fff;
  color: var(--geo-ink);
  font-weight: 850;
}

.geo-mission-words nav button.is-current { border-color: var(--geo-blue); background: var(--geo-blue-soft); }
.geo-mission-words nav button.is-seen i { background: var(--geo-green-soft); color: #13723c; }
.geo-mission-words nav i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  background: var(--geo-yellow-soft);
  font-family: var(--font-display);
  font-size: 12px;
  font-style: normal;
  font-weight: 950;
}

.geo-mission-words article {
  padding: 20px;
  border-radius: 20px;
  background: var(--geo-blue-soft);
}

.geo-mission-words article p { margin: 8px 0; font-size: 17px; font-weight: 760; line-height: 1.42; }
.geo-mission-words article small { display: block; color: #56505b; font-size: 14px; font-weight: 730; }
.geo-words-ready,
.geo-words-prompt { margin: 0; font-weight: 820; }
.geo-words-ready { color: #13723c; }
.geo-words-prompt { color: #7a4d00; }

.geo-workspace-form { display: grid; gap: 30px; }
.geo-route-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.geo-route-fields label { display: grid; align-content: start; gap: 9px; }
.geo-route-fields label.is-wide { grid-column: 1 / -1; }
.geo-route-fields label > span { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 850; }
.geo-route-fields label > span i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 10px;
  background: var(--geo-blue-soft);
  color: var(--geo-blue);
  font-family: var(--font-display);
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}
.geo-route-fields input,
.geo-route-fields select,
.geo-route-fields textarea,
.geo-workspace-check select {
  width: 100%;
  min-height: 54px;
  padding: 12px 14px;
  border: 2px solid #dcd6e3;
  border-radius: 15px;
  background: #fff;
  color: var(--geo-ink);
  font: 760 16px/1.35 var(--font-body);
}
.geo-route-fields textarea { min-height: 116px; resize: vertical; }
.geo-workspace-check {
  display: grid;
  padding: 24px;
  gap: 14px;
  border-radius: 24px;
  background: var(--geo-yellow-soft);
}
.geo-workspace-check header span { color: #7a5a00; font-family: var(--font-display); font-size: 12px; font-weight: 950; letter-spacing: .1em; }
.geo-workspace-check h2 { margin: 8px 0 0; font: 950 28px/1 var(--font-display); }
.geo-workspace-check label { display: grid; grid-template-columns: minmax(0, 1fr) 150px; align-items: center; gap: 16px; font-weight: 780; }
.geo-workspace-check button {
  width: max-content;
  min-height: 56px;
  margin-top: 8px;
  padding: 13px 18px;
  border: 0;
  border-radius: 17px;
  background: var(--geo-blue);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 920;
}

.geo-guide-pdf {
  display: grid;
  max-width: 390px;
  margin-top: 20px;
  padding: 16px;
  grid-template-columns: 48px 1fr;
  gap: 3px 12px;
  border: 2px solid rgba(255, 255, 255, .65);
  border-radius: 18px;
  background: rgba(255, 255, 255, .18);
}
.geo-guide-pdf i { grid-row: 1 / 3; display: grid; place-items: center; border-radius: 13px; background: var(--geo-yellow); color: var(--geo-ink); font-family: var(--font-display); font-style: normal; font-weight: 950; }
.geo-guide-pdf strong { align-self: end; font-family: var(--font-display); font-size: 16px; font-weight: 950; }
.geo-guide-pdf small { color: inherit; opacity: .82; }

.geo-family-resources {
  display: grid;
  padding: clamp(34px, 5vw, 64px);
  gap: 28px;
  border: 1px solid #e7e3ec;
  border-radius: 36px;
  background: #fff;
}
.geo-family-resources > header span { color: var(--geo-blue); font-family: var(--font-display); font-size: 12px; font-weight: 950; letter-spacing: .1em; }
.geo-family-resources > header h2 { margin: 10px 0; font: 950 clamp(34px, 4vw, 54px)/.96 var(--font-display); }
.geo-family-resources > header p { margin: 0; color: #5b5560; font-weight: 740; }
.geo-family-repairs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.geo-family-repairs article { padding: 20px; border-left: 5px solid var(--geo-coral); border-radius: 8px 20px 20px 8px; background: var(--geo-coral-soft); }
.geo-family-repairs strong { font-family: var(--font-display); font-size: 17px; font-weight: 920; }
.geo-family-repairs p { margin: 8px 0; color: #5b555f; font-weight: 730; }
.geo-family-repairs small { display: block; font-weight: 820; }
.geo-family-assessment,
.geo-family-sources { display: grid; gap: 12px; }
.geo-family-assessment h3,
.geo-family-sources h3 { margin: 0 0 6px; font: 950 30px/1 var(--font-display); }
.geo-family-assessment article { display: grid; grid-template-columns: 46px 1fr; gap: 14px; padding: 18px; border-radius: 18px; background: var(--geo-blue-soft); }
.geo-family-assessment article > i { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--geo-blue); color: #fff; font-family: var(--font-display); font-style: normal; font-weight: 950; }
.geo-family-assessment article p { margin: 7px 0 0; color: #5b555f; }
.geo-family-sources article { display: grid; padding: 17px; gap: 5px; border-bottom: 1px solid #e7e3ec; }
.geo-family-sources span { color: var(--geo-blue); font-family: var(--font-display); font-size: 12px; font-weight: 950; letter-spacing: .08em; }
.geo-family-sources small { color: #625c68; line-height: 1.4; }
.geo-family-sources a { width: max-content; color: var(--geo-blue); font-weight: 850; }

.geo-summary-destinations { width: min(calc(100% - 34px), 1180px); margin: 24px auto; }

.geography-world { min-height: 100vh; padding-bottom: 70px; background: var(--geo-cream); color: var(--geo-ink); }
.geo-class-hero {
  display: grid;
  width: min(calc(100% - 36px), 1380px);
  min-height: 650px;
  margin: 20px auto 36px;
  grid-template-columns: minmax(0, .82fr) minmax(560px, 1.18fr);
  overflow: hidden;
  border-radius: 42px;
  background: var(--geo-blue-soft);
}
.geo-class-hero__copy { display: flex; padding: clamp(38px, 5vw, 76px); flex-direction: column; justify-content: center; }
.geo-class-hero__copy > span { color: var(--geo-blue); font-family: var(--font-display); font-size: 12px; font-weight: 950; letter-spacing: .12em; }
.geo-class-hero__copy h1 { margin: 16px 0 24px; font: 950 clamp(58px, 6vw, 96px)/.86 var(--font-display); letter-spacing: -.06em; }
.geo-class-hero__copy h1 i { color: var(--geo-blue); font-style: normal; }
.geo-class-hero__copy p { max-width: 620px; color: #56505b; font-size: 19px; font-weight: 750; line-height: 1.45; }
.geo-class-hero__copy button,
.geo-class-deck button { width: max-content; min-height: 56px; padding: 13px 20px; border: 0; border-radius: 18px; background: var(--geo-blue); color: #fff; font-family: var(--font-display); font-size: 15px; font-weight: 920; }
.geo-class-hero__map { position: relative; display: grid; padding: 32px; align-content: center; }
.geo-class-hero__map .geo-atlas-proof { width: 100%; }
.geo-class-hero__map > img { position: absolute; right: -3%; bottom: -8%; width: 42%; max-height: 64%; object-fit: contain; object-position: right bottom; filter: drop-shadow(0 16px 18px rgba(52, 64, 90, .18)); }
.geo-class-deck { display: grid; width: min(calc(100% - 36px), 1380px); margin: 0 auto; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.geo-class-deck article { padding: 28px; border: 1px solid #e4dfe8; border-radius: 28px; background: #fff; }
.geo-class-deck span { color: var(--geo-blue); font-family: var(--font-display); font-size: 11px; font-weight: 950; letter-spacing: .1em; }
.geo-class-deck h2 { margin: 12px 0; font: 950 32px/1 var(--font-display); }
.geo-class-deck p { color: #5b5560; font-weight: 720; line-height: 1.42; }

@media (max-width: 820px) {
  .geo-atlas-proof svg { border-radius: 20px; }
  .geo-atlas-proof text { font-size: 21px; }
  .geo-atlas-proof figcaption { font-size: 12px; }
  .geo-map-note,
  .geo-impact-source { font-size: 16px !important; }
  .geo-route-fields,
  .geo-family-repairs { grid-template-columns: 1fr; }
  .geo-workspace-check label { grid-template-columns: 1fr; }
  .geo-workspace-check button { width: 100%; }
  .geo-class-hero { grid-template-columns: 1fr; }
  .geo-class-hero__map { min-height: 420px; padding: 14px; }
  .geo-class-hero__map > img { width: 38%; }
  .geo-class-deck { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .geo-atlas-proof { gap: 9px; }
  .geo-atlas-proof text { font-size: 23px; }
  .geo-proof-outcome { font-size: 14px; }
  .geo-mission-words { padding: 16px; border-radius: 19px; }
  .geo-mission-words nav { display: grid; }
  .geo-mission-words nav button { width: 100%; }
  .geo-family-resources { padding: 28px 20px; border-radius: 28px; }
  .geo-class-hero { width: calc(100% - 20px); margin-top: 10px; border-radius: 30px; }
  .geo-class-hero__copy { padding: 34px 24px; }
  .geo-class-hero__copy h1 { font-size: clamp(52px, 15vw, 72px); }
  .geo-class-hero__map { min-height: 350px; }
  .geo-class-hero__map > img { display: none; }
  .geo-class-deck { width: calc(100% - 20px); }
}

@media (prefers-reduced-motion: reduce) {
  .geo-atlas-proof * { animation: none !important; transition: none !important; }
}

@media print {
  .geo-live,
  .geo-guide-pdf { display: none !important; }
  .geo-family-resources { border: 0; }
}
