@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/manrope-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --canvas: #f5f3ef;
  --canvas-strong: #ece9e3;
  --surface: #ffffff;
  --surface-soft: #faf9f7;
  --ink: #25233b;
  --ink-soft: #3e3b54;
  --muted: #6c6979;
  --line: #ddd9d2;
  --line-strong: #c7c1b7;
  --accent: #5548a7;
  --accent-dark: #403484;
  --accent-soft: #eeeafd;
  --warm: #d76847;
  --mint: #72b9a6;
  --map-water: #cfe4e8;
  --shadow-sm: 0 8px 26px rgba(37, 35, 59, 0.08);
  --shadow-lg: 0 28px 80px rgba(37, 35, 59, 0.14);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --page-gutter: clamp(20px, 4.5vw, 72px);
  --font: "Manrope Variable", "Avenir Next", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-variation-settings: "wght" 450;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
select,
input {
  font: inherit;
}

button,
a,
select {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

:focus-visible {
  outline: 3px solid var(--warm);
  outline-offset: 3px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  z-index: 3000;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  padding: 10px 15px;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 1000;
  top: 0;
  border-bottom: 1px solid rgba(199, 193, 183, 0.78);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(100%, 1540px);
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 58px);
  margin: 0 auto;
  padding: 14px var(--page-gutter);
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 25px;
  font-variation-settings: "wght" 760;
  letter-spacing: -0.055em;
  line-height: 1;
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  border-radius: 9px 9px 9px 3px;
  background: var(--accent);
  transform: rotate(-8deg);
}

.brand-mark span {
  position: absolute;
  inset: 8px;
  border: 2px solid #fff;
  border-radius: 50%;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-right: auto;
}

.header-nav a {
  color: var(--ink-soft);
  font-size: 13px;
  font-variation-settings: "wght" 610;
  text-decoration: none;
}

.header-nav a:hover {
  color: var(--accent);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.leader-link,
.member-link,
.language-field select {
  min-height: 42px;
  border-radius: 999px;
  font-size: 13px;
  font-variation-settings: "wght" 650;
}

.leader-link {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  padding: 9px 16px;
  text-decoration: none;
}

.leader-link:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.language-field select {
  max-width: 128px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink);
  padding: 8px 28px 8px 13px;
  cursor: pointer;
}

.member-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 17px;
  cursor: pointer;
}

.member-link:hover {
  background: var(--accent-dark);
}

main {
  width: min(100%, 1540px);
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: clamp(50px, 7vw, 112px);
  padding: clamp(62px, 7vw, 108px) var(--page-gutter) clamp(60px, 7vw, 100px);
}

.intro-copy {
  max-width: 780px;
}

.eyebrow,
.section-label,
.location-kicker,
.detail-eyebrow,
.fact-label,
.leader-label {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 11px;
  font-variation-settings: "wght" 740;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--accent);
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 6px rgba(215, 104, 71, 0.12);
}

h1,
.finder h2,
.how-it-works h2,
.detail-title,
.member-dialog h2 {
  font-variation-settings: "wght" 680;
  letter-spacing: -0.055em;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(48px, 5vw, 78px);
  line-height: 1.01;
}

.intro-text {
  max-width: 630px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.6;
}

.location-panel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
}

.location-panel-top {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 16px;
  align-items: start;
  padding: clamp(26px, 3vw, 38px);
}

.location-symbol {
  position: relative;
  width: 38px;
  height: 38px;
  grid-row: span 2;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
}

.location-symbol::before,
.location-symbol::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid var(--mint);
  border-radius: 50%;
  animation: location-pulse 2.8s ease-out infinite;
}

.location-symbol::after {
  animation-delay: 1.4s;
}

.location-symbol span {
  position: absolute;
  z-index: 1;
  inset: 15px;
  border-radius: 50%;
  background: var(--mint);
}

@keyframes location-pulse {
  from { transform: scale(0.35); opacity: 1; }
  to { transform: scale(1.55); opacity: 0; }
}

.location-kicker {
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.62);
}

.location-value {
  margin-bottom: 25px;
  font-size: clamp(19px, 2vw, 25px);
  font-variation-settings: "wght" 620;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

.location-button {
  grid-column: 2;
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  justify-self: start;
  border: 0;
  border-radius: 999px;
  background: var(--mint);
  color: #162e2a;
  padding: 12px 19px;
  font-size: 13px;
  font-variation-settings: "wght" 720;
  cursor: pointer;
}

.location-button:hover {
  background: #90cdbd;
}

.location-button:disabled {
  cursor: progress;
  opacity: 0.65;
}

.target-icon {
  position: relative;
  width: 15px;
  height: 15px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.target-icon::before {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: currentColor;
}

.city-browser {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.04);
  padding: 20px clamp(26px, 3vw, 38px) 24px;
}

.city-browser > p {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-variation-settings: "wght" 670;
}

.city-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.city-chip {
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  padding: 8px 13px;
  font-size: 12px;
  cursor: pointer;
}

.city-chip:hover,
.city-chip.is-active {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}

.finder {
  display: grid;
  grid-template-columns: minmax(0, 1.42fr) minmax(370px, 0.58fr);
  gap: clamp(28px, 3.5vw, 54px);
  align-items: start;
  padding: clamp(48px, 5.5vw, 82px) var(--page-gutter) clamp(72px, 7vw, 112px);
  border-top: 1px solid var(--line);
  background: var(--surface-soft);
}

.discovery-column {
  min-width: 0;
}

.finder-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 28px;
}

.finder h2,
.how-it-works h2 {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 52px);
  line-height: 1.06;
}

.scan-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 12px;
}

.scan-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 5px rgba(215, 104, 71, 0.12);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 18px;
}

.filter-chip {
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-soft);
  padding: 9px 16px;
  font-size: 12px;
  font-variation-settings: "wght" 610;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-chip.is-active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.map-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.activity-map {
  position: relative;
  overflow: hidden;
  min-height: 515px;
  border-bottom: 1px solid var(--line);
  background: #e8ece7;
  cursor: grab;
  isolation: isolate;
  touch-action: none;
  user-select: none;
}

.activity-map.is-dragging {
  cursor: grabbing;
}

.map-tile-layer,
.map-marker-layer {
  position: absolute;
  inset: 0;
}

.map-tile-layer {
  z-index: 1;
  background: linear-gradient(135deg, #e3e9e4, #dce7e8);
}

.map-marker-layer {
  z-index: 4;
  pointer-events: none;
}

.map-tile {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  pointer-events: none;
}

.map-pin {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: transparent;
  padding: 0;
  transform: translate(-50%, -100%);
  pointer-events: auto;
  cursor: pointer;
}

.map-scan-radius {
  position: absolute;
  z-index: 0;
  display: block;
  border: 2px solid rgba(85, 72, 167, 0.58);
  border-radius: 50%;
  background: rgba(85, 72, 167, 0.12);
  transform: translate(-50%, -50%);
}

.map-scan-radius > span {
  position: absolute;
  top: 12px;
  right: 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--accent-dark);
  padding: 4px 7px;
  font-size: 9px;
  font-variation-settings: "wght" 760;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.map-pin-number {
  position: relative;
  z-index: 0;
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-variation-settings: "wght" 780;
}

.map-pin-number::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 9px;
  background: var(--ink);
  box-shadow: 0 7px 20px rgba(37, 35, 59, 0.26);
  transform: rotate(-45deg);
}

.map-pin.is-selected .map-pin-number::before {
  background: var(--warm);
  transform: rotate(-45deg) scale(1.08);
}

.map-pin-label {
  max-width: 190px;
  overflow: hidden;
  border: 1px solid rgba(37, 35, 59, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  padding: 8px 11px;
  font-size: 11px;
  font-variation-settings: "wght" 690;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.map-user-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 5px solid #fff;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px var(--accent), 0 0 0 12px rgba(85, 72, 167, 0.17);
  transform: translate(-50%, -50%);
}

.map-controls {
  position: absolute;
  z-index: 10;
  top: 14px;
  right: 14px;
  display: grid;
  overflow: hidden;
  border: 1px solid rgba(37, 35, 59, 0.15);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.map-controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 0;
  background: #fff;
  color: var(--ink);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.map-controls button + button {
  border-top: 1px solid var(--line);
}

.map-controls button:hover {
  background: var(--accent-soft);
}

.map-attribution {
  position: absolute;
  z-index: 10;
  right: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  margin: 0;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.9);
  color: #4f4c5a;
  padding: 4px 7px;
  font-size: 9px;
  line-height: 1.3;
  backdrop-filter: blur(8px);
}

.map-attribution a:hover {
  color: var(--accent);
}

.map-empty {
  position: absolute;
  z-index: 9;
  top: 50%;
  left: 50%;
  width: min(390px, calc(100% - 54px));
  margin: 0;
  border: 1px solid rgba(37, 35, 59, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  padding: 18px 20px;
  font-size: 14px;
  text-align: center;
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow-sm);
}

.map-empty[hidden] {
  display: none;
}

.map-caption {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  color: var(--muted);
  padding: 13px 15px;
  font-size: 11px;
}

.caption-mark {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--warm);
}

.activity-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.activity-card {
  display: flex;
  min-width: 0;
  min-height: 158px;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 18px;
  text-align: left;
  box-shadow: 0 3px 10px rgba(37, 35, 59, 0.025);
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.activity-card:hover {
  border-color: #aaa1db;
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.activity-card.is-selected {
  border-color: var(--accent);
  box-shadow: inset 4px 0 0 var(--accent), var(--shadow-sm);
}

.activity-card-top,
.activity-card-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.activity-number,
.activity-distance,
.activity-meta {
  color: var(--muted);
  font-size: 10px;
  font-variation-settings: "wght" 680;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.activity-number {
  color: var(--accent);
}

.activity-card-title {
  display: block;
  max-width: 270px;
  margin: 0 0 6px;
  font-size: 18px;
  font-variation-settings: "wght" 680;
  letter-spacing: -0.03em;
  line-height: 1.24;
}

.activity-card-arrow {
  align-self: end;
  color: var(--accent);
  font-size: 19px;
}

.empty-state {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  color: var(--muted);
  padding: 30px;
  text-align: center;
}

.detail-panel {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 124px);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: clamp(28px, 3.2vw, 46px);
  box-shadow: var(--shadow-sm);
  scrollbar-width: thin;
}

.detail-panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 28px;
  left: 28px;
  height: 4px;
  border-radius: 0 0 5px 5px;
  background: var(--accent);
}

.detail-header {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.detail-eyebrow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.detail-title {
  margin: 0 0 10px;
  font-size: clamp(32px, 3vw, 47px);
  line-height: 1.02;
}

.detail-place {
  margin: 0 0 17px;
  color: var(--accent);
  font-size: 12px;
  font-variation-settings: "wght" 690;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.detail-summary {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.62;
}

.detail-loading {
  min-height: 210px;
}

.key-details {
  padding: 25px 0 0;
  border-bottom: 1px solid var(--line);
}

.key-details > h3,
.course-section h3 {
  margin: 0;
  font-size: 12px;
  font-variation-settings: "wght" 740;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

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

.fact {
  min-height: 118px;
  padding: 21px 14px 19px 0;
  border-bottom: 1px solid var(--line);
}

.fact:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.fact:nth-child(even) {
  padding-left: 17px;
}

.fact:nth-last-child(-n + 2) {
  border-bottom: 0;
}

.fact-label {
  margin-bottom: 8px;
}

.fact-value {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.course-sections {
  border-bottom: 1px solid var(--line);
}

.course-section {
  display: grid;
  grid-template-columns: minmax(118px, 0.72fr) minmax(0, 1.55fr);
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.course-section:last-child {
  border-bottom: 0;
}

.course-section p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-line;
}

.translation-note {
  display: block;
  margin-top: 7px;
  color: var(--accent);
  font-size: 10px;
  font-variation-settings: "wght" 660;
  letter-spacing: 0.02em;
}

.leader-section {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.leader-profile {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 22px;
}

.leader-monogram {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 15px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 14px;
  font-variation-settings: "wght" 750;
}

.leader-name,
.leader-role {
  margin: 0;
}

.leader-name {
  font-size: 15px;
  font-variation-settings: "wght" 680;
}

.leader-role {
  color: var(--muted);
  font-size: 11px;
}

.leader-bio {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.project-card {
  display: flex;
  min-height: 98px;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  background: var(--canvas);
  padding: 12px;
}

.project-card span:first-child {
  color: var(--warm);
  font-size: 10px;
  font-variation-settings: "wght" 720;
}

.project-card span:last-child {
  font-size: 11px;
  font-variation-settings: "wght" 610;
  line-height: 1.3;
}

.detail-actions {
  display: grid;
  gap: 9px;
  padding-top: 26px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-radius: 12px;
  padding: 13px 17px;
  font-size: 13px;
  font-variation-settings: "wght" 680;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
}

.primary-button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.secondary-button {
  border: 1px solid var(--line-strong);
  background: var(--surface);
}

.secondary-button:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.how-it-works {
  display: grid;
  grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(64px, 9vw, 150px);
  padding: clamp(78px, 8vw, 125px) var(--page-gutter);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.principles article {
  padding: 4px 24px 4px 0;
  border-top: 2px solid var(--ink);
}

.principles article + article {
  padding-left: 24px;
  border-left: 1px solid var(--line);
}

.principles span {
  display: inline-block;
  margin: 16px 0 50px;
  color: var(--warm);
  font-size: 12px;
  font-variation-settings: "wght" 720;
}

.principles h3 {
  margin-bottom: 10px;
  font-size: 18px;
  font-variation-settings: "wght" 690;
  letter-spacing: -0.025em;
}

.principles p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 12px;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 36px var(--page-gutter);
  color: var(--muted);
  font-size: 11px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.site-footer p {
  margin: 0;
}

.footer-brand {
  font-size: 20px;
}

.footer-brand .brand-mark {
  width: 23px;
  height: 23px;
  border-radius: 7px 7px 7px 3px;
}

.footer-brand .brand-mark span {
  inset: 7px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.privacy-note {
  max-width: 850px;
  margin: 22px auto 0 !important;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  text-align: center;
}

.member-dialog {
  width: min(90vw, 520px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink);
  padding: 42px;
  box-shadow: var(--shadow-lg);
}

.member-dialog::backdrop {
  background: rgba(37, 35, 59, 0.58);
  backdrop-filter: blur(5px);
}

.member-dialog h2 {
  margin-bottom: 16px;
  font-size: 40px;
  line-height: 1.04;
}

.member-dialog p:not(.section-label) {
  margin-bottom: 28px;
  color: var(--muted);
}

.dialog-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: var(--canvas);
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}

.member-dialog .primary-button {
  width: 100%;
  justify-content: center;
}

.toast {
  position: fixed;
  z-index: 2200;
  right: 20px;
  bottom: 20px;
  max-width: 360px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  padding: 14px 18px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(30px);
  transition: opacity 180ms ease, transform 180ms ease;
}

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

@media (max-width: 1240px) {
  .header-nav {
    display: none;
  }

  .finder {
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.72fr);
  }

  .activity-list {
    grid-template-columns: 1fr;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 72px;
  }
}

@media (max-width: 980px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .location-panel {
    width: min(100%, 680px);
  }

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

  .detail-panel {
    position: relative;
    top: auto;
    max-height: none;
    overflow: visible;
  }

  .activity-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .how-it-works {
    grid-template-columns: 1fr;
    gap: 52px;
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: 68px;
    gap: 12px;
  }

  .brand {
    margin-right: auto;
    font-size: 22px;
  }

  .brand-mark {
    width: 25px;
    height: 25px;
  }

  .leader-link {
    display: none;
  }

  .member-link {
    width: 42px;
    padding: 0;
    justify-content: center;
  }

  .member-link span:first-child {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .language-field select {
    width: 95px;
    max-width: 95px;
  }

  .intro {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(43px, 12.5vw, 64px);
  }

  .location-panel-top {
    grid-template-columns: auto 1fr;
  }

  .location-button {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 4px;
  }

  .finder-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .filter-row,
  .city-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .filter-row::-webkit-scrollbar,
  .city-chips::-webkit-scrollbar {
    display: none;
  }

  .filter-chip,
  .city-chip {
    flex: 0 0 auto;
  }

  .activity-map {
    min-height: 430px;
  }

  .map-pin-label {
    display: none;
  }

  .activity-list {
    grid-template-columns: 1fr;
  }

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

  .fact,
  .fact:nth-child(even),
  .fact:nth-child(odd) {
    min-height: auto;
    padding: 19px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .fact:last-child {
    border-bottom: 0;
  }

  .course-section {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-list {
    grid-template-columns: 1fr;
  }

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

  .principles article,
  .principles article + article {
    padding: 0 0 32px;
    border-top: 2px solid var(--ink);
    border-left: 0;
  }

  .principles span {
    margin-bottom: 28px;
  }

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

  .footer-links {
    justify-content: flex-start;
  }

  .privacy-note {
    text-align: left;
  }
}

@media (max-width: 460px) {
  :root {
    --page-gutter: 17px;
  }

  .header-actions {
    gap: 7px;
  }

  .language-field select {
    width: 86px;
    max-width: 86px;
    padding-left: 10px;
  }

  .location-panel {
    border-radius: 22px;
  }

  .location-symbol {
    width: 32px;
    height: 32px;
  }

  .location-symbol span {
    inset: 12px;
  }

  .finder {
    gap: 22px;
  }

  .activity-map {
    min-height: 390px;
  }

  .map-attribution {
    max-width: calc(100% - 74px);
  }

  .detail-panel {
    padding: 28px 20px;
  }

  .member-dialog {
    width: calc(100vw - 26px);
    padding: 38px 23px 25px;
  }
}

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