@font-face {
  font-family: "SURVIVANT";
  src: url("/assets/fonts/survivant/survi___.ttf") format("truetype");
  font-display: swap;
}

:root {
  --paper: #f5f0e8;
  --paper-2: #ede7d9;
  --paper-3: #ddd6c8;
  --paper-4: #cfc7b8;
  --ink: #1a1a14;
  --ink-2: #27271f;
  --ink-3: #3d3a34;
  --muted: #686456;
  --muted-2: #8e8a7e;
  --moss: #3b6d11;
  --moss-2: #4d8a16;
  --moss-3: #eaf3de;
  --amber: #ba7517;
  --amber-2: #f0a12f;
  --rust: #7a2e12;
  --max-w: 1100px;
  --radius: 10px;
  --shadow-soft: 0 8px 24px rgba(26, 26, 20, 0.06);
  --shadow-card: 0 4px 14px rgba(26, 26, 20, 0.05);
  --border: 1px solid var(--paper-3);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  line-height: 1.68;
}

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

a {
  color: var(--moss);
  text-decoration: none;
}

a:hover {
  color: var(--moss-2);
}

.wrap {
  width: min(calc(100% - 32px), var(--max-w));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 999;
  background: #fff;
  color: var(--ink);
  padding: 10px 14px;
  border-radius: 8px;
  border: var(--border);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(245, 240, 232, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: var(--border);
}

.topbar-inner {
  width: min(calc(100% - 32px), var(--max-w));
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  min-width: 0;
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: var(--border);
  background: var(--paper-2);
  flex-shrink: 0;
}

.logo-name {
  font-family: 'SURVIVANT', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 0;
  color: #102B15;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border: 1px solid var(--paper-3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  line-height: 1;
}

.lang-switch a,
.lang-switch span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lang-switch span {
  color: var(--ink);
}

.lang-switch a {
  color: var(--muted);
}

.nav a {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}

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

.nav a.play-badge,
.nav a.play-badge:hover {
  color: #fff;
}

.button,
.button-secondary,
.play-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 9px;
  font-weight: 600;
  transition: 160ms ease;
  border: 1px solid transparent;
  cursor: pointer;
}

.button,
.play-badge {
  background: var(--moss);
  color: #fff;
  border-color: var(--moss);
}

.button:hover,
.play-badge:hover {
  background: var(--moss-2);
  border-color: var(--moss-2);
  color: #fff;
  transform: translateY(-1px);
}

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

.button-secondary:hover {
  background: var(--paper-2);
  border-color: var(--paper-4);
  color: var(--ink);
}

.android-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.banner {
  background: rgba(186, 117, 23, 0.08);
  border-bottom: 1px solid rgba(186, 117, 23, 0.18);
  color: var(--muted);
  font-size: 0.92rem;
}

.banner .wrap {
  padding-top: 10px;
  padding-bottom: 10px;
}

.banner strong {
  color: var(--amber);
}

main {
  display: block;
}

.section {
  padding: 54px 0;
}

.section+.section {
  border-top: var(--border);
}

.eyebrow {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--moss-2);
  margin-bottom: 12px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

h1,
h2 {
  font-family: 'Lora', Georgia, serif;
}

h1 {
  font-size: clamp(2.35rem, 5vw, 4.1rem);
  margin-bottom: 14px;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--moss);
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin-bottom: 10px;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

p {
  margin: 0;
}

.lead {
  color: var(--muted);
  font-size: 1.03rem;
  max-width: 70ch;
}

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

.hero {
  padding: 50px 0 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 360px);
  gap: 34px;
  align-items: start;
}

.hero-sub {
  font-size: 1.12rem;
  color: var(--ink-3);
  max-width: 44ch;
  margin-bottom: 14px;
  font-weight: 500;
}

.hero-copy p {
  max-width: 68ch;
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-copy p+p {
  margin-top: 10px;
}

.hero-context-link {
  font-weight: 600;
}

.hero-standout {
  margin-top: 18px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-2);
}

.hero-support {
  margin-top: 8px;
}

.hero-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.hero-link-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(59, 109, 17, 0.16);
  background: var(--moss-3);
  color: var(--moss);
  font-size: 0.84rem;
  font-weight: 700;
}

.hero-link-chip:hover {
  color: var(--moss-2);
  border-color: rgba(59, 109, 17, 0.28);
  background: #f1f7e9;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.85rem;
}

.hero-stats span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-stats span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero-side {
  display: grid;
  gap: 18px;
}

.card {
  background: var(--paper-2);
  border: var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.hero-icon-card {
  overflow: hidden;
  padding: 18px;
}

.hero-icon-card img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border-radius: 12px;
}

.quote-card {
  padding: 20px;
}

.quote-card p:first-child {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.02rem;
  color: var(--ink-3);
  font-style: italic;
  border-left: 3px solid var(--moss);
  padding-left: 14px;
  margin-bottom: 10px;
}

.quote-attr {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-art-card {
  display: grid;
  gap: 10px;
}

.hero-art-carousel {
  position: relative;
  aspect-ratio: 59 / 80;
  border-radius: 12px;
  overflow: hidden;
  background: var(--paper);
}

.hero-art-slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  animation: hero-art-fade 25s linear infinite;
}

.hero-art-slide--interactive {
  cursor: pointer;
}

.hero-art-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
}

.hero-art-slide:nth-child(1) {
  animation-name: hero-art-fade-first;
  animation-delay: 0s;
}

.hero-art-slide:nth-child(2) {
  animation-delay: 8s;
}

.hero-art-slide:nth-child(3) {
  animation-delay: 13.5s;
}

.hero-art-slide:nth-child(4) {
  animation-delay: 19s;
}

.hero-art-card.is-paused .hero-art-slide {
  animation-play-state: paused;
}

.hero-art-card.is-active .hero-art-slide--interactive {
  opacity: 1;
  visibility: visible;
  z-index: 3;
}

.hero-art-hotspot-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hero-art-hotspot-hit {
  fill: transparent;
  stroke: transparent;
  stroke-width: 40;
  pointer-events: stroke;
  cursor: pointer;
}

.hero-art-hotspot-glow,
.hero-art-hotspot-ring {
  fill: transparent;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  pointer-events: none;
}

.hero-art-hotspot-glow {
  stroke: rgba(242, 244, 247, 0.34);
  stroke-width: 16;
  filter: blur(5px);
}

.hero-art-hotspot-ring {
  stroke: #dfe4ea;
  stroke-width: 4.5;
  stroke-dasharray: var(--trace-length, 1000);
  stroke-dashoffset: var(--trace-length, 1000);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.28));
}

.hero-art-hotspot-fill {
  fill: rgba(226, 232, 240, 0.08);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.hero-art-card.is-active .hero-art-hotspot-fill {
  opacity: 1;
}

.hero-art-card.is-active .hero-art-hotspot-glow {
  animation: hero-art-pulse 2000ms ease-in-out infinite;
  opacity: 1;
}

.hero-art-card.is-active .hero-art-hotspot-ring {
  opacity: 1;
  animation: hero-art-trace 1600ms ease forwards, hero-art-pulse 2000ms ease-in-out 1600ms infinite;
}

.hero-art-info {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 4;
  padding: 14px 16px 16px;
  border-radius: 14px;
  background: rgba(245, 240, 232, 0.95);
  border: 1px solid rgba(59, 109, 17, 0.14);
  box-shadow: 0 18px 34px rgba(26, 26, 20, 0.16);
  color: var(--ink);
  opacity: 0;
  transform: translateY(10px) scale(0.995);
  transition: opacity 260ms ease, transform 260ms ease;
  pointer-events: none;
}

.hero-art-info.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hero-art-info-kicker {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 6px;
}

.hero-art-info h4 {
  font-size: 0.98rem;
  margin-bottom: 6px;
  color: var(--ink);
}

.hero-art-info p {
  margin: 0;
  font-size: 0.83rem;
  line-height: 1.5;
  color: var(--ink-3);
}

.hero-art-info p + p {
  margin-top: 8px;
}

.hero-art-info-tip {
  color: var(--moss);
}

.hero-art-info-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 999px;
  background: rgba(59, 109, 17, 0.1);
  color: var(--ink);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.hero-art-credit {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
}

@keyframes hero-art-fade {
  0% {
    opacity: 0;
    visibility: hidden;
    animation-timing-function: ease-out;
  }

  0.6% {
    opacity: 1;
    visibility: visible;
  }

  21.4% {
    opacity: 1;
    visibility: visible;
    animation-timing-function: ease-in;
  }

  22%,
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* Slide 1 stays visible longer than the rest */
@keyframes hero-art-fade-first {
  0% {
    opacity: 0;
    visibility: hidden;
    animation-timing-function: ease-out;
  }

  0.6% {
    opacity: 1;
    visibility: visible;
  }

  31.4% {
    opacity: 1;
    visibility: visible;
    animation-timing-function: ease-in;
  }

  32%,
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes hero-art-trace {
  from {
    stroke-dashoffset: var(--trace-length, 1000);
  }

  to {
    stroke-dashoffset: 0;
  }
}

@keyframes hero-art-pulse {
  0%,
  100% {
    opacity: 0.42;
  }

  50% {
    opacity: 1;
  }
}

@keyframes app-shot-fade {
  0%,
  45%,
  100% {
    opacity: 0;
  }

  6%,
  39% {
    opacity: 1;
  }
}

@keyframes app-shot-dot {
  0%,
  45%,
  100% {
    transform: scale(1);
    background: rgba(59, 109, 17, 0.22);
  }

  6%,
  39% {
    transform: scale(1.18);
    background: var(--moss);
  }
}

.preview {
  padding-top: 12px;
}

.difference-panel {
  display: grid;
  gap: 18px;
  padding: 28px;
  border-radius: 16px;
  border: 1px solid rgba(59, 109, 17, 0.16);
  background:
    linear-gradient(180deg, rgba(234, 243, 222, 0.72) 0%, rgba(245, 240, 232, 0.92) 100%);
  box-shadow: var(--shadow-card);
}

.difference-panel p {
  max-width: 72ch;
  color: var(--ink-3);
}

.difference-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.difference-list li {
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(59, 109, 17, 0.14);
  color: var(--ink-2);
  font-size: 0.9rem;
  line-height: 1.5;
}

.preview-device {
  margin: 0 auto;
  width: min(100%, 980px);
}

.preview-frame {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(31, 31, 24, 0.14);
  box-shadow: 0 20px 44px rgba(26, 26, 20, 0.14);
  background: #fff;
}

.preview-frame img {
  width: 100%;
  height: auto;
}

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

.grid-card {
  background: var(--paper-2);
  border: var(--border);
  border-radius: 10px;
  padding: 18px;
  transition: 160ms ease;
}

.grid-card:hover {
  transform: translateY(-2px);
  background: var(--moss-3);
  border-color: rgba(59, 109, 17, 0.25);
}

.grid-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.land-band {
  background: var(--ink-2);
  color: var(--paper);
}

.land-band .section {
  padding: 56px 0;
  border-top: 0;
}

.land-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.96fr);
  gap: 32px;
  align-items: start;
}

.land-grid > div:first-child {
  max-width: 62ch;
}

.land-band .eyebrow {
  color: rgba(99, 153, 34, 0.95);
}

.land-band h2 {
  color: var(--paper);
}

.land-band p {
  color: rgba(245, 240, 232, 0.78);
}

.land-band p+p {
  margin-top: 12px;
}

.owid-figure {
  margin: 0;
  display: grid;
  gap: 12px;
  width: 100%;
}

.owid-card {
  background: #f5f2ec;
  border: 1px solid #ddd4ca;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.owid-scroll {
  overflow: visible;
}

.owid-expand {
  position: relative;
  cursor: zoom-in;
}

.owid-expand-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  border: 1px solid rgba(79, 74, 68, 0.18);
  background: rgba(245, 242, 236, 0.96);
  color: #4f4a44;
  border-radius: 999px;
  padding: 6px 10px;
  font: 600 0.72rem 'Space Grotesk', sans-serif;
  letter-spacing: 0.02em;
  cursor: pointer;
}

.owid-chart {
  display: block;
  width: 100%;
  min-width: 0;
  height: auto;
  background: #f5f2ec;
}

.owid-caption {
  padding: 14px 18px 18px;
  border-top: 1px solid #ddd4ca;
  font-size: 0.78rem;
  line-height: 1.6;
  color: #6f6a62;
}

.owid-caption a {
  color: #4f4a44;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.owid-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(12, 12, 10, 0.72);
}

.owid-modal.is-open {
  display: flex;
}

.owid-modal-panel {
  width: min(96vw, 1260px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 16px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  background: #f5f2ec;
  position: relative;
}

.owid-modal-close {
  position: sticky;
  top: 12px;
  left: calc(100% - 54px);
  z-index: 3;
  margin: 12px 0 -46px auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(79, 74, 68, 0.18);
  border-radius: 999px;
  background: rgba(245, 242, 236, 0.96);
  color: #4f4a44;
  font: 600 1rem 'Space Grotesk', sans-serif;
  cursor: pointer;
}

.owid-modal-card {
  border-radius: 16px;
  overflow: hidden;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 26px;
  align-items: start;
}

#observations .two-col {
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 36px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 0;
}

.feature-list li {
  padding: 16px 0;
  border-bottom: var(--border);
}

.feature-list li:first-child {
  border-top: var(--border);
}

.feature-list p {
  color: var(--muted);
  font-size: 0.93rem;
}

.shot {
  border-radius: 12px;
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow-card);
  background: #fff;
}

.shot img {
  width: 100%;
  height: auto;
}

.app-shot-grid {
  display: grid;
  gap: 16px;
  justify-items: center;
}

.app-shot-carousel {
  position: relative;
  width: min(100%, 320px);
  margin: 0 auto;
}

.app-shot-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: var(--border);
  box-shadow: var(--shadow-card);
  background: linear-gradient(180deg, #f8f4ee, #f1ebdf);
}

.app-shot-slides {
  position: relative;
  aspect-ratio: 369 / 744;
}

.app-shot-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: app-shot-fade 16s infinite;
}

.app-shot-slide:first-child {
  opacity: 1;
}

.app-shot-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

.app-shot-slide:nth-child(1) {
  animation-delay: 0s;
}

.app-shot-slide:nth-child(2) {
  animation-delay: 8s;
}

.app-shot-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.app-shot-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(59, 109, 17, 0.22);
}

.app-shot-dots span:nth-child(1) {
  animation: app-shot-dot 16s infinite;
}

.app-shot-dots span:nth-child(2) {
  animation: app-shot-dot 16s infinite 8s;
}

.shot--phone {
  max-width: 360px;
  margin: 0 auto;
}

.codex-support {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(234, 243, 222, 0.18);
  border-radius: 16px;
  background: rgba(18, 44, 9, 0.22);
}

.codex-support-copy h3 {
  margin-bottom: 8px;
  color: var(--paper);
  font-size: 1.02rem;
}

.codex-support-copy p {
  margin: 0;
  color: rgba(245, 240, 232, 0.8);
  font-size: 0.92rem;
}

.identify-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.tag-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0 0 16px;
}

.tag-list li {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(59, 109, 17, 0.22);
  background: var(--moss-3);
  color: var(--moss);
}

.warning-pill {
  margin-top: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--rust);
  border: 1px solid rgba(186, 117, 23, 0.3);
  background: rgba(186, 117, 23, 0.12);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
}

.identify-stack {
  background: var(--paper-2);
  border: var(--border);
  border-radius: 12px;
  padding: 12px;
  box-shadow: var(--shadow-card);
}

.identify-stack-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 12px;
}

.identify-column {
  display: grid;
  gap: 12px;
  align-content: start;
}

.mini-card {
  background: #fff;
  border: var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.learn-band,
.tours-band {
  background: var(--moss);
  color: var(--moss-3);
}

.learn-band .section,
.tours-band-in {
  padding: 38px 0;
  border-top: 0;
}

.learn-grid,
.tours-band-in {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.3fr);
  gap: 28px;
  align-items: start;
}

.learn-band h2,
.learn-band h3,
.tours-band h2,
.tours-band h3 {
  color: var(--moss-3);
}

.learn-band p,
.learn-band a,
.tours-band p,
.tours-band a {
  color: rgba(234, 243, 222, 0.84);
}

.tours-band-label {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(234, 243, 222, 0.65);
  margin-bottom: 8px;
}

.tours-band-left,
.tours-band-right {
  display: grid;
  gap: 8px;
}

.tours-band-left p {
  max-width: 56ch;
}

.tours-city-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.tours-city-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(234, 243, 222, 0.2);
  background: rgba(234, 243, 222, 0.1);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tours-projects {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 100%;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(234, 243, 222, 0.16);
  background: rgba(234, 243, 222, 0.08);
  box-shadow: 0 10px 24px rgba(10, 22, 6, 0.12);
  transition: 140ms ease;
}

.project-card:hover {
  transform: translateY(-2px);
  background: rgba(234, 243, 222, 0.14);
  border-color: rgba(234, 243, 222, 0.28);
}

.project-card[data-city="Berlin"] {
  background: linear-gradient(180deg, rgba(234, 243, 222, 0.14) 0%, rgba(234, 243, 222, 0.08) 100%);
  border-color: rgba(234, 243, 222, 0.26);
}

.project-card[data-city="Berlin"]:hover {
  background: linear-gradient(180deg, rgba(234, 243, 222, 0.22) 0%, rgba(234, 243, 222, 0.13) 100%);
  border-color: rgba(234, 243, 222, 0.38);
}

.project-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.project-city {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(234, 243, 222, 0.18);
  border: 1px solid rgba(234, 243, 222, 0.26);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card h4 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
  color: var(--moss-3);
}

.project-card p {
  font-size: 0.92rem;
  color: rgba(234, 243, 222, 0.82);
}

.project-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 18, 5, 0.22);
  color: rgba(234, 243, 222, 0.88);
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #fff;
}

.project-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.project-note {
  font-size: 0.79rem;
  color: rgba(234, 243, 222, 0.62);
  line-height: 1.5;
  margin-top: 20px;
}

.project-note a {
  color: rgba(234, 243, 222, 0.85);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.project-note a:hover {
  color: #fff;
}

.learn-divider,
.tours-divider {
  width: 1px;
  height: 100%;
  background: rgba(234, 243, 222, 0.18);
}

.codex-band {
  background: var(--paper-2);
}

.codex-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: end;
  margin-bottom: 24px;
}

.codex-head p {
  color: var(--muted);
  font-size: 0.95rem;
}

.codex-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  border: var(--border);
  background: var(--paper-3);
  border-radius: 10px;
  overflow: hidden;
}

.codex-card {
  background: var(--paper);
  padding: 22px;
  transition: 160ms ease;
}

.codex-card:hover {
  background: var(--moss-3);
}

.codex-num {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 10px;
}

.codex-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.codex-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.dark-band {
  background: var(--ink-2);
}

.dark-band .section {
  border-top: 0;
}

.dark-band .eyebrow {
  color: rgba(99, 153, 34, 0.95);
}

.dark-band h2 {
  color: var(--paper);
}

.dark-band p {
  color: rgba(245, 240, 232, 0.7);
}

.contrib-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 30px;
}

.action-list {
  display: grid;
  gap: 2px;
}

.action-item {
  background: rgba(245, 240, 232, 0.05);
  border-left: 3px solid transparent;
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  transition: 160ms ease;
}

.action-item:hover {
  background: rgba(99, 153, 34, 0.13);
  border-left-color: var(--moss-2);
  color: inherit;
}

.action-item h3 {
  color: var(--paper);
  margin-bottom: 4px;
  font-size: 0.98rem;
}

.action-item p {
  font-size: 0.88rem;
  color: rgba(245, 240, 232, 0.56);
}

.arrow {
  color: var(--moss-2);
  font-size: 1.05rem;
  flex-shrink: 0;
  line-height: 1;
  padding-top: 2px;
}

.about-card {
  border-left: 3px solid var(--moss);
  padding-left: 22px;
}

.about-grid {
  display: flex;
  align-items: flex-end;
  gap: 28px;
}

.about-intro-quote {
  margin-bottom: 24px;
}

.about-copy {
  flex: 1;
  min-width: 0;
}

.about-copy p {
  color: var(--muted);
  font-size: 0.98rem;
}

.about-copy p+p {
  margin-top: 12px;
}

.about-closer {
  margin-top: 12px;
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  color: var(--moss);
  font-size: 1.04rem;
}

.about-signature {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.about-signature img {
  width: 96px;
  height: 120px;
  border-radius: 10px;
  object-fit: cover;
  border: var(--border);
}

.about-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
}

.about-role {
  font-size: 0.74rem;
  color: var(--muted);
}

.about-credits {
  margin-top: 18px;
  padding-top: 12px;
  border-top: var(--border);
  font-size: 0.8rem;
  color: var(--muted);
}

.support-card {
  background: var(--moss-3);
  border: 1px solid rgba(59, 109, 17, 0.2);
  border-radius: 12px;
  padding: 28px;
}

.support-card h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.support-card p {
  color: var(--muted);
  max-width: 68ch;
}

.support-lines {
  margin: 20px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
}

.support-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(59, 109, 17, 0.12);
}

.support-line::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--moss-2);
  margin-top: 0.55em;
  flex-shrink: 0;
}

.support-cta {
  display: block;
  margin-top: 20px;
  text-align: center;
}

.support-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.84rem;
}

.faq-card {
  border: var(--border);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, var(--paper-2) 100%);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-head {
  padding: 26px 28px 10px;
}

.faq-head p {
  max-width: 66ch;
  color: var(--muted);
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  padding: 18px 28px;
  border-top: 1px solid rgba(59, 109, 17, 0.12);
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.faq-item p {
  color: var(--muted);
  font-size: 0.93rem;
  margin: 0;
  max-width: 68ch;
}

.disclaimer {
  padding: 18px 0 8px;
  border-top: var(--border);
}

.disclaimer p {
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.disclaimer strong {
  color: var(--ink);
}

.footer {
  border-top: var(--border);
  padding: 22px 0 34px;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 960px) {

  .grid-4,
  .codex-head,
  .difference-list,
  .land-grid,
  .identify-grid,
  .contrib-grid,
  .hero-grid,
  .two-col,
  .app-shot-grid,
  .codex-support {
    grid-template-columns: 1fr;
  }

  #observations .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .learn-grid,
  .tours-band-in {
    grid-template-columns: 1fr;
  }

  .codex-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .learn-divider,
  .tours-divider {
    display: none;
  }

  .identify-stack-grid {
    grid-template-columns: 1fr;
  }

  .shot--phone {
    max-width: 340px;
  }
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: none;
  border: var(--border);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink);
  padding: 0;
  flex-shrink: 0;
}

@media (max-width: 760px) {
  .nav-toggle {
    display: flex;
  }

  .topbar-inner {
    flex-wrap: wrap;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 10px 0 4px;
    border-top: var(--border);
    margin-top: 6px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 6px 0;
    width: 100%;
  }

  .nav a.play-badge {
    display: inline-flex;
    width: auto;
    margin-top: 4px;
  }

  .support-lines {
    grid-template-columns: 1fr;
  }

  .about-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .grid-4,
  .codex-grid,
  .tours-projects {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 36px;
  }

  .section {
    padding: 44px 0;
  }
}
