:root {
  color-scheme: light;
  --blue: #4285f4;
  --blue-deep: #0b57d0;
  --red: #ea4335;
  --yellow: #f9ab00;
  --green: #34a853;
  --ink: #202124;
  --muted: #5f6368;
  --line: #dadce0;
  --paper: #f8f9fa;
  --surface: #ffffff;
  --dark: #11120f;
  --dark-surface: #191a16;
  --dark-line: #34362f;
  --dark-muted: #aeb2a8;
  --shell: 1180px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow-soft: 0 20px 60px rgb(32 33 36 / 10%);
  --ease-out: cubic-bezier(0.2, 0.72, 0.2, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

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

button {
  color: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 780px;
  margin-bottom: 26px;
  font-size: clamp(4rem, 9vw, 7.8rem);
  font-weight: 680;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 5.5vw, 4.9rem);
  font-weight: 660;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

p {
  color: var(--muted);
}

::selection {
  color: var(--ink);
  background: #fce8b2;
}

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

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #fff;
  background: var(--blue-deep);
  border-radius: 8px;
  transform: translateY(-180%);
  transition: transform 180ms var(--ease-out);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.section-shell {
  width: min(calc(100% - 40px), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: clamp(88px, 11vw, 150px);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 10px max(20px, calc((100vw - var(--shell)) / 2));
  background: rgb(248 249 250 / 88%);
  border-bottom: 1px solid rgb(218 220 224 / 75%);
  backdrop-filter: saturate(150%) blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 34px;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.brand-mark img {
  width: 28px;
  height: auto;
}

.brand-name {
  font-size: 1.02rem;
  font-weight: 680;
  letter-spacing: -0.02em;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 34px);
}

.desktop-nav a,
.site-footer nav a {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 560;
  text-decoration: none;
  transition: color 160ms var(--ease-standard);
}

.desktop-nav a:hover,
.site-footer nav a:hover {
  color: var(--ink);
}

.header-cta {
  min-height: 42px;
  padding: 9px 17px;
  color: #fff;
  background: var(--ink);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease-standard);
}

.header-cta:hover {
  background: var(--blue-deep);
  transform: translateY(-1px);
}

.header-cta:active,
.button:active,
.path-card a:active,
.program-card a:active,
.conduct-links a:active {
  transform: scale(0.985);
}

.mobile-nav {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(330px, 0.82fr);
  gap: clamp(56px, 7vw, 100px);
  align-items: center;
  min-height: calc(100svh - 72px);
  padding-block: clamp(84px, 11vw, 150px);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 72px;
  right: 0;
  width: min(50vw, 720px);
  height: min(70vw, 760px);
  background:
    radial-gradient(circle at 35% 35%, rgb(66 133 244 / 12%), transparent 42%),
    radial-gradient(circle at 70% 50%, rgb(52 168 83 / 9%), transparent 36%),
    radial-gradient(circle at 60% 80%, rgb(249 171 0 / 9%), transparent 34%);
  content: "";
  pointer-events: none;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eyebrow-dark {
  color: #8ab4f8;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgb(52 168 83 / 12%);
}

.hero-lede {
  max-width: 700px;
  margin-bottom: 34px;
  color: #4c5055;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.button-row,
.card-actions,
.conduct-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 650;
  text-decoration: none;
  transition: transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), background-color 180ms var(--ease-standard), border-color 180ms var(--ease-standard);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--blue-deep);
  box-shadow: 0 8px 24px rgb(11 87 208 / 20%);
}

.button-primary:hover {
  background: #0842a0;
  box-shadow: 0 12px 30px rgb(11 87 208 / 26%);
}

.button-secondary {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.button-secondary:hover {
  border-color: #a8aaad;
  box-shadow: 0 8px 22px rgb(32 33 36 / 8%);
}

.hero-promises {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding: 0;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  list-style: none;
}

.hero-promises li {
  position: relative;
  padding-left: 18px;
}

.hero-promises li::before {
  position: absolute;
  top: 0.67em;
  left: 0;
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  content: "";
}

.next-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.next-card::after {
  position: absolute;
  right: -110px;
  bottom: -130px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgb(66 133 244 / 13%), transparent 66%);
  content: "";
  pointer-events: none;
}

.next-card-accent {
  position: absolute;
  top: 0;
  right: 34px;
  left: 34px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 5px;
  overflow: hidden;
  border-radius: 0 0 5px 5px;
}

.next-card-accent span:nth-child(1) { background: var(--blue); }
.next-card-accent span:nth-child(2) { background: var(--red); }
.next-card-accent span:nth-child(3) { background: var(--yellow); }
.next-card-accent span:nth-child(4) { background: var(--green); }

.card-kicker,
.program-status,
.resource-type {
  margin-bottom: 16px;
  color: var(--blue-deep);
  font-size: 0.74rem;
  font-weight: 760;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.date-lockup {
  display: inline-grid;
  min-width: 74px;
  margin-bottom: 28px;
  padding: 9px 12px 10px;
  color: #fff;
  background: var(--red);
  border-radius: 12px;
  text-align: center;
}

.date-lockup span {
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.14em;
}

.date-lockup strong {
  font-size: 1.8rem;
  line-height: 1;
}

.next-card h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.event-meta {
  margin-bottom: 3px;
  font-size: 0.92rem;
}

.next-card > p:not(.card-kicker) {
  margin: 25px 0;
}

.card-actions {
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: space-between;
}

.card-actions a {
  color: var(--blue-deep);
  font-weight: 680;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.card-actions > span {
  color: var(--muted);
  font-size: 0.78rem;
}

.outcome-strip {
  color: #fff;
  background: var(--ink);
}

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

.outcome-grid p {
  position: relative;
  padding: 25px 20px 25px 28px;
  margin: 0;
  color: #eef0ec;
  border-right: 1px solid #3c4043;
  font-size: 0.9rem;
  font-weight: 620;
}

.outcome-grid p:first-child {
  padding-left: 0;
}

.outcome-grid p:last-child {
  border-right: 0;
}

.outcome-grid p::before {
  position: absolute;
  top: 50%;
  left: 8px;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
}

.outcome-grid p:nth-child(2)::before { background: var(--red); }
.outcome-grid p:nth-child(3)::before { background: var(--yellow); }
.outcome-grid p:nth-child(4)::before { background: var(--green); }
.outcome-grid p:first-child::before { display: none; }

.explorer {
  overflow: hidden;
  padding-block: clamp(88px, 10vw, 135px);
  color: #f2f3ef;
  background:
    radial-gradient(circle at 74% 42%, rgb(66 133 244 / 10%), transparent 28%),
    var(--dark);
}

.explorer-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 50px;
}

.explorer-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.explorer-heading > p {
  margin: 0 0 10px;
  color: var(--dark-muted);
  font-size: 1.05rem;
}

.explorer-shell {
  display: grid;
  grid-template-columns: minmax(310px, 0.72fr) minmax(0, 1.28fr);
  gap: 22px;
  align-items: stretch;
}

.event-panel,
.globe-frame,
.selected-event {
  background: rgb(25 26 22 / 82%);
  border: 1px solid var(--dark-line);
  border-radius: var(--radius-md);
}

.event-panel {
  display: flex;
  min-height: 690px;
  max-height: 760px;
  flex-direction: column;
  padding: 22px;
}

.field-group label {
  display: block;
  margin-bottom: 8px;
  color: #e9ebe6;
  font-size: 0.82rem;
  font-weight: 650;
}

.search-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding-inline: 14px;
  background: #10110e;
  border: 1px solid #45483f;
  border-radius: 13px;
}

.search-field span {
  color: #9aa096;
  font-size: 1.25rem;
}

.search-field input {
  width: 100%;
  color: #f5f6f2;
  background: transparent;
  border: 0;
  outline: 0;
}

.search-field:focus-within {
  border-color: #8ab4f8;
  box-shadow: 0 0 0 3px rgb(138 180 248 / 18%);
}

.search-field input::placeholder {
  color: #868b83;
}

.event-filters,
.resource-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.filter-chip,
.resource-chip {
  min-height: 38px;
  padding: 7px 13px;
  color: #c9cdc4;
  background: #20221d;
  border: 1px solid #41443b;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 650;
  cursor: pointer;
  transition: color 160ms var(--ease-standard), background-color 160ms var(--ease-standard), border-color 160ms var(--ease-standard), transform 160ms var(--ease-out);
}

.filter-chip:hover,
.resource-chip:hover {
  color: #fff;
  border-color: #73796d;
  transform: translateY(-1px);
}

.filter-chip.is-active {
  color: #11120f;
  background: #f1f3ef;
  border-color: #f1f3ef;
}

.result-status {
  margin: 18px 0 10px;
  color: #aeb2a8;
  font-size: 0.77rem;
}

.event-list {
  flex: 1;
  padding: 0 5px 0 0;
  margin: 0;
  overflow: auto;
  list-style: none;
  scrollbar-color: #565a50 transparent;
  scrollbar-width: thin;
}

.event-result-item {
  position: relative;
  margin-bottom: 8px;
  border: 1px solid transparent;
  border-radius: 14px;
  transition: background-color 160ms var(--ease-standard), border-color 160ms var(--ease-standard), transform 180ms var(--ease-out);
}

.event-result-item:hover {
  background: #21231e;
  transform: translateX(2px);
}

.event-result-item.is-selected {
  background: #262820;
  border-color: #62675b;
}

.event-result {
  display: block;
  width: 100%;
  padding: 14px 42px 13px 14px;
  color: inherit;
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

.event-result-date {
  display: block;
  margin-bottom: 5px;
  color: #aeb2a8;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.event-result-title {
  display: block;
  overflow: hidden;
  color: #f1f3ef;
  font-size: 0.93rem;
  font-weight: 630;
  line-height: 1.28;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-result-location {
  display: block;
  margin-top: 5px;
  color: #969b92;
  font-size: 0.78rem;
}

.event-result-link {
  position: absolute;
  top: 50%;
  right: 13px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: #c9cdc4;
  border-radius: 50%;
  text-decoration: none;
  transform: translateY(-50%);
}

.event-result-link:hover {
  color: #11120f;
  background: #f1f3ef;
}

.empty-results {
  padding: 30px 14px;
  color: #aeb2a8;
  text-align: center;
}

.globe-column {
  display: grid;
  grid-template-rows: minmax(560px, 1fr) auto auto;
  gap: 12px;
  min-width: 0;
}

.globe-frame {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background: #0b0c0a;
  isolation: isolate;
}

.globe-frame::after {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(180deg, rgb(11 12 10 / 12%) 55%, rgb(11 12 10 / 65%) 100%);
  content: "";
  pointer-events: none;
}

.community-globe {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.community-globe canvas {
  cursor: grab;
}

.community-globe canvas:active {
  cursor: grabbing;
}

.globe-loading,
.globe-fallback {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 36px;
  color: #c9cdc4;
  background: radial-gradient(circle at center, #1b2330, #0b0c0a 70%);
  text-align: center;
}

.globe-fallback strong {
  color: #fff;
  font-size: 1.1rem;
}

.globe-fallback p {
  max-width: 430px;
  color: #aeb2a8;
}

.globe-loader {
  width: 34px;
  height: 34px;
  border: 3px solid #41443b;
  border-top-color: #8ab4f8;
  border-radius: 50%;
  animation: globe-spin 800ms linear infinite;
}

@keyframes globe-spin {
  to { transform: rotate(1turn); }
}

.globe-controls {
  position: absolute;
  z-index: 4;
  top: 14px;
  right: 14px;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  max-width: min(320px, calc(100% - 28px));
}

.globe-controls button {
  min-width: 42px;
  min-height: 42px;
  padding: 7px 12px;
  color: #eef0ec;
  background: rgb(25 26 22 / 90%);
  border: 1px solid #4a4d44;
  border-radius: 11px;
  font-size: 0.82rem;
  font-weight: 650;
  cursor: pointer;
  backdrop-filter: blur(12px);
  transition: background-color 160ms var(--ease-standard), border-color 160ms var(--ease-standard), transform 160ms var(--ease-out);
}

.globe-controls button:hover {
  background: #2e312a;
  border-color: #73796d;
  transform: translateY(-1px);
}

.globe-controls button[aria-pressed="true"] {
  color: #11120f;
  background: #f1f3ef;
}

.map-key {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 34px;
  left: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  width: fit-content;
  max-width: calc(100% - 28px);
  padding: 9px 12px;
  color: #c9cdc4;
  background: rgb(17 18 15 / 84%);
  border: 1px solid #3a3d36;
  border-radius: 10px;
  font-size: 0.7rem;
  pointer-events: none;
  backdrop-filter: blur(12px);
}

.map-key span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.key-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.key-local { background: var(--red); }
.key-ai { background: var(--yellow); }
.key-devfest { background: var(--blue); }
.key-workshop { background: var(--green); }

.maplibregl-ctrl-bottom-right {
  z-index: 5;
  color: #aeb2a8;
}

.maplibregl-ctrl-attrib {
  color: #aeb2a8;
  background: rgb(17 18 15 / 78%) !important;
}

.maplibregl-ctrl-attrib a {
  color: #dce0d7;
}

.selected-event {
  position: relative;
  min-height: 160px;
  padding: 22px 24px;
  overflow: hidden;
}

.selected-event::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--selected-color, var(--blue));
  content: "";
}

.selected-event h3 {
  margin-bottom: 8px;
  color: #f1f3ef;
}

.selected-event p {
  margin-bottom: 7px;
  color: #aeb2a8;
}

.selected-event .card-kicker {
  color: #8ab4f8;
}

.selected-event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 16px;
  font-size: 0.82rem;
}

.selected-event a {
  display: inline-flex;
  margin-top: 7px;
  color: #8ab4f8;
  font-weight: 650;
  text-underline-offset: 4px;
}

.data-note {
  margin: 0;
  color: #8e938a;
  font-size: 0.76rem;
}

.data-note a {
  color: #c5d9fb;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 52px;
}

.section-heading h2 {
  margin-bottom: 20px;
}

.section-heading > p:last-child,
.split-heading p,
.local-event .section-heading > p:last-child {
  font-size: 1.08rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.event-layout {
  display: grid;
  grid-template-columns: minmax(310px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(45px, 8vw, 100px);
  align-items: start;
}

.event-detail-card {
  padding: clamp(28px, 4vw, 44px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.event-detail-card h3 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.event-facts {
  margin: 28px 0 32px;
}

.event-facts div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  padding-block: 14px;
  border-top: 1px solid var(--line);
}

.event-facts div:last-child {
  border-bottom: 1px solid var(--line);
}

.event-facts dt {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.event-facts dd {
  margin: 0;
  font-weight: 580;
}

.event-expectations {
  border-top: 1px solid var(--line);
}

.event-expectations article {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 24px;
  padding-block: 30px;
  border-bottom: 1px solid var(--line);
}

.event-expectations p {
  margin-bottom: 0;
}

.number {
  color: var(--blue-deep);
  font-size: 0.78rem;
  font-weight: 760;
}

.section-muted {
  background: #eef3f8;
}

.split-heading {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: clamp(50px, 10vw, 130px);
  align-items: start;
}

.split-heading h2 {
  margin-bottom: 0;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 70px;
}

.value-grid article {
  min-height: 250px;
  padding: 28px;
  background: rgb(255 255 255 / 72%);
  border: 1px solid #d4dce5;
  border-radius: var(--radius-md);
}

.value-grid p {
  margin-bottom: 0;
}

.value-accent {
  display: block;
  width: 34px;
  height: 5px;
  margin-bottom: 44px;
  border-radius: 999px;
}

.value-accent.blue { background: var(--blue); }
.value-accent.red { background: var(--red); }
.value-accent.yellow { background: var(--yellow); }
.value-accent.green { background: var(--green); }

.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.program-card {
  position: relative;
  min-height: 330px;
  padding: clamp(30px, 4vw, 46px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.program-card h3 {
  max-width: 390px;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.program-card p:not(.program-status) {
  max-width: 500px;
}

.program-card a,
.path-card a {
  position: absolute;
  bottom: 36px;
  left: clamp(30px, 4vw, 46px);
  color: var(--ink);
  font-weight: 680;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.program-intro { background: #e8f0fe; }
.program-ai { background: #fef7e0; }
.program-devfest { background: #fce8e6; }
.program-workshops { background: #e6f4ea; }
.program-ai .program-status { color: #945e00; }
.program-devfest .program-status { color: #b3261e; }
.program-workshops .program-status { color: #137333; }

.slides-note {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 50px;
  align-items: center;
  margin-top: 16px;
  padding: 30px 36px;
  border: 1px dashed #aeb4bb;
  border-radius: var(--radius-md);
}

.slides-note h3,
.slides-note p {
  margin-bottom: 0;
}

.resource-section {
  color: #f1f3ef;
  background: #17201b;
}

.resource-section .section-heading > p:last-child {
  color: #adb8b0;
}

.resource-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.resource-filters {
  margin-top: 0;
}

.resource-chip {
  color: #c9d2cb;
  background: #202b24;
  border-color: #3c4b41;
}

.resource-chip.is-active {
  color: #17201b;
  background: #d8eadc;
  border-color: #d8eadc;
}

.resource-status {
  flex: 0 0 auto;
  margin: 0;
  color: #9da9a0;
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.resource-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  padding: 28px;
  color: #f1f3ef;
  background: #202b24;
  border: 1px solid #39463d;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: transform 200ms var(--ease-out), background-color 180ms var(--ease-standard), border-color 180ms var(--ease-standard);
}

.resource-card:hover {
  background: #26342b;
  border-color: #6d8072;
  transform: translateY(-3px);
}

.resource-card h3 {
  color: #f1f3ef;
  font-size: 1.4rem;
}

.resource-card p {
  color: #aebbb1;
}

.resource-type {
  color: #9fc7a9;
}

.text-link {
  margin-top: auto;
  color: #c9e6d0;
  font-size: 0.88rem;
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.path-card {
  position: relative;
  min-height: 360px;
  padding: 30px 28px;
  background: #fff;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.path-card:nth-child(1) { border-top: 4px solid var(--blue); }
.path-card:nth-child(2) { border-top: 4px solid var(--red); }
.path-card:nth-child(3) { border-top: 4px solid var(--yellow); }
.path-card:nth-child(4) { border-top: 4px solid var(--green); }

.path-number {
  display: block;
  margin-bottom: 50px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 740;
}

.path-card a {
  right: 28px;
  bottom: 28px;
  left: 28px;
  color: var(--blue-deep);
}

.conduct-section {
  color: #f1f3ef;
  background: var(--ink);
}

.conduct-layout {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: clamp(60px, 11vw, 150px);
  align-items: center;
}

.conduct-layout h2 {
  margin-bottom: 0;
}

.conduct-layout p {
  color: #bdc1c6;
  font-size: 1.05rem;
}

.conduct-links {
  flex-direction: column;
  align-items: flex-start;
  margin-top: 28px;
}

.conduct-links a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  color: #f1f3ef;
  border: 1px solid #5f6368;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 620;
  text-decoration: none;
  transition: color 160ms var(--ease-standard), background-color 160ms var(--ease-standard), transform 160ms var(--ease-out);
}

.conduct-links a:hover {
  color: var(--ink);
  background: #f1f3ef;
  transform: translateX(2px);
}

.site-footer {
  padding-block: 62px 28px;
  color: #d7dad6;
  background: #10110e;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr 0.7fr;
  gap: 60px;
  padding-bottom: 48px;
}

.footer-brand {
  color: #f1f3ef;
}

.footer-tagline {
  max-width: 330px;
  margin: 16px 0 0;
  color: #969b92;
}

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer nav a {
  color: #b4b9b0;
}

.site-footer nav a:hover {
  color: #fff;
}

.disclaimer {
  display: grid;
  grid-template-columns: 1.5fr 0.7fr;
  gap: 60px;
  padding-top: 25px;
  border-top: 1px solid #34362f;
}

.disclaimer p {
  margin: 0;
  color: #8e938a;
  font-size: 0.72rem;
}

.disclaimer a {
  color: #bac4b9;
}

.motion-ready [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
}

.motion-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out);
}

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

  .site-header {
    grid-template-columns: auto 1fr auto auto;
  }

  .mobile-nav {
    position: relative;
    display: block;
  }

  .mobile-nav summary {
    min-height: 42px;
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.86rem;
    font-weight: 650;
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    display: grid;
    min-width: 220px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: var(--shadow-soft);
  }

  .mobile-nav nav a {
    padding: 10px 12px;
    border-radius: 9px;
    text-decoration: none;
  }

  .mobile-nav nav a:hover {
    background: var(--paper);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .next-card {
    max-width: 720px;
  }

  .explorer-heading,
  .split-heading,
  .conduct-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .explorer-shell {
    grid-template-columns: minmax(280px, 0.65fr) minmax(0, 1.35fr);
  }

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

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

@media (max-width: 800px) {
  .section-shell {
    width: min(calc(100% - 28px), var(--shell));
  }

  .site-header {
    grid-template-columns: auto 1fr auto;
    gap: 10px;
    padding-inline: 14px;
  }

  .header-cta {
    display: none;
  }

  .mobile-nav {
    grid-column: 3;
  }

  .hero {
    padding-block: 78px 92px;
  }

  h1 {
    font-size: clamp(3.7rem, 18vw, 6rem);
  }

  .hero::before {
    width: 100vw;
    height: 700px;
  }

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

  .outcome-grid p {
    padding-left: 24px;
    border-bottom: 1px solid #3c4043;
  }

  .outcome-grid p:first-child {
    padding-left: 24px;
  }

  .outcome-grid p:first-child::before {
    display: block;
  }

  .explorer-shell,
  .event-layout {
    grid-template-columns: 1fr;
  }

  .event-panel {
    min-height: 520px;
    max-height: 620px;
  }

  .globe-column {
    grid-template-rows: minmax(58svh, 540px) auto auto;
  }

  .globe-frame {
    min-height: 540px;
  }

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

  .slides-note {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .resource-controls {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-grid,
  .disclaimer {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 560px) {
  .brand-name {
    font-size: 0.94rem;
  }

  .section {
    padding-block: 78px;
  }

  .button-row,
  .button {
    width: 100%;
  }

  .hero-promises {
    display: grid;
  }

  .next-card {
    padding: 29px 24px;
    border-radius: 22px;
  }

  .outcome-grid,
  .value-grid,
  .resource-grid,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .outcome-grid p {
    border-right: 0;
  }

  .event-panel {
    padding: 16px;
  }

  .globe-column {
    grid-template-rows: minmax(54svh, 460px) auto auto;
  }

  .globe-frame {
    min-height: 460px;
  }

  .globe-controls {
    left: 12px;
    justify-content: flex-start;
    max-width: calc(100% - 24px);
  }

  .globe-controls button {
    min-height: 44px;
  }

  .map-key {
    display: grid;
    grid-template-columns: repeat(2, auto);
  }

  .event-expectations article {
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }

  .program-card {
    min-height: 350px;
  }

  .path-card {
    min-height: 310px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  .motion-ready [data-reveal] {
    opacity: 0;
    transform: none;
  }

  .motion-ready [data-reveal].is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 180ms linear;
  }
}

@media (forced-colors: active) {
  .status-dot,
  .value-accent,
  .key-dot,
  .next-card-accent span {
    forced-color-adjust: none;
  }
}
