:root {
  --night: #05080F;
  --deep: #0A1120;
  --gold: #E6B863;
  --gold-hi: #F3CD86;
  --paper: #EFE8DA;
  --mist: #8E97A8;
  --dim: #5E6878;
  --rule: rgba(239, 232, 218, 0.10);
  --display: "Gloock", "Iowan Old Style", Georgia, serif;
  --text: "Instrument Sans", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gutter: clamp(20px, 5vw, 72px);
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh;
  background: radial-gradient(120% 80% at 70% 10%, #0B1426 0%, var(--night) 55%) fixed, var(--night);
  color: var(--paper);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
::selection { background: var(--gold); color: var(--night); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
body.is-dragging { cursor: grabbing; user-select: none; }

/* Globe stage sits behind everything */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.globe-canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 1.4s var(--ease); }
.has-globe .globe-canvas { opacity: 1; }
.globe-labels { position: absolute; inset: 0; overflow: hidden; }
.glabel {
  position: absolute; left: 0; top: 0; opacity: 0; white-space: nowrap;
  font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(239, 232, 218, .78);
  margin: -6px 0 0 14px; padding: 6px 8px; border-radius: 6px;
  background: rgba(5, 8, 15, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 0 0 1px rgba(239, 232, 218, .08);
  transition: color .3s, box-shadow .3s; will-change: transform, opacity;
}
.glabel b { font-weight: 500; }
.glabel i { font-style: normal; color: var(--gold); margin-left: 8px; }
.glabel--live { color: var(--paper); box-shadow: inset 0 0 0 1px rgba(230, 184, 99, .35); translate: calc(-100% - 30px) 0; }
.glabel.is-focus { color: var(--paper); box-shadow: inset 0 0 0 1px rgba(230, 184, 99, .6); }
.no-webgl .stage { background: radial-gradient(40vmin 40vmin at 72% 48%, rgba(92, 134, 214, .22), transparent 70%), radial-gradient(4px 4px at 72% 48%, var(--gold), transparent); }

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

main, .foot, .bar { position: relative; z-index: 2; }

/* Header */
.bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-between; align-items: center;
  padding: max(16px, env(safe-area-inset-top)) var(--gutter) 16px;
  transition: background-color .4s, backdrop-filter .4s, padding .4s;
}
.bar.is-scrolled { background: rgba(5, 8, 15, .6); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--rule); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 400 21px/1 var(--display); text-decoration: none; letter-spacing: .01em; }
.wordmark svg { width: 26px; height: 26px; color: var(--paper); }
.bar-nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); font-size: 14px; }
.bar-nav a { color: var(--mist); text-decoration: none; transition: color .2s; }
.bar-nav a:hover { color: var(--paper); }
.bar-nav .bar-cta { color: var(--paper); padding: 9px 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(239, 232, 218, .2); transition: box-shadow .2s, background .2s; }
.bar-nav .bar-cta:hover { background: rgba(239, 232, 218, .06); box-shadow: inset 0 0 0 1px rgba(239, 232, 218, .45); }

/* Screens: on laptops each section fills the viewport and the page snaps between them. */
.snap { position: relative; min-height: 100svh; }
@media (min-width: 901px) and (min-height: 600px) {
  html { scroll-snap-type: y mandatory; }
  .snap { scroll-snap-align: start; height: 100vh; min-height: 620px; }
}

/* Hero */
.hero {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 2vw;
  padding: 84px var(--gutter) 64px; touch-action: pan-y;
}
.hero-copy { position: relative; z-index: 3; max-width: 600px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 clamp(16px, 3vh, 26px);
  font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
  padding: 8px 13px 8px 11px; border-radius: 999px; background: rgba(230, 184, 99, .08); box-shadow: inset 0 0 0 1px rgba(230, 184, 99, .22);
}
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(230, 184, 99, .6); animation: pulse 2.2s infinite; flex: none; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(230, 184, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(230, 184, 99, 0); } }

h1 { margin: 0; font: 400 clamp(40px, min(5.4vw, 10vh), 84px)/.98 var(--display); letter-spacing: -0.022em; }
h1 .line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
h1 .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.2s var(--ease); }
h1 .line:nth-child(2) > span { transition-delay: .1s; }
h1 em { font-style: italic; background: linear-gradient(100deg, var(--gold-hi), var(--gold) 40%, #C98F3E); -webkit-background-clip: text; background-clip: text; color: transparent; padding-right: .08em; }
.is-ready h1 .line > span { transform: none; }

.lede, .actions, .eyebrow { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-ready .eyebrow { opacity: 1; transform: none; }
.is-ready .lede { opacity: 1; transform: none; transition-delay: .35s; }
.is-ready .actions { opacity: 1; transform: none; transition-delay: .5s; }
.lede { margin: clamp(16px, 3vh, 26px) 0 0; max-width: 31em; color: var(--mist); font-size: clamp(16px, 1.25vw, 18px); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(20px, 4vh, 34px); }

.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; font: 600 15px/1 var(--text); text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s, background-color .3s, color .3s;
}
.btn i { font-style: normal; transition: transform .35s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn--primary { background: var(--gold); color: var(--night); box-shadow: 0 10px 40px -12px rgba(230, 184, 99, .55); }
.btn--primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:hover { box-shadow: 0 14px 50px -10px rgba(230, 184, 99, .7); }
.btn--quiet { color: var(--paper); box-shadow: inset 0 0 0 1px rgba(239, 232, 218, .2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn--quiet:hover { box-shadow: inset 0 0 0 1px rgba(239, 232, 218, .5); }

.globe-slot { pointer-events: auto; touch-action: pan-y; cursor: grab; }
.globe-slot--hero, .globe-slot--cities { height: min(60vh, 42vw); aspect-ratio: 1; justify-self: center; } /* same size on both screens */

.hud {
  position: absolute; left: var(--gutter); right: var(--gutter); bottom: 22px;
  display: flex; gap: 28px; align-items: center;
  font: 400 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim);
  opacity: 0; transition: opacity 1.2s 1.2s;
}
.is-ready .hud { opacity: 1; }
.hud-time { color: var(--mist); }
.hud-hint { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; }
.hud-hint::before { content: ""; width: 26px; height: 1px; background: currentColor; }

/* Section type */
.kicker { margin: 0 0 clamp(10px, 2vh, 18px); font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
h2 { margin: 0; font: 400 clamp(28px, min(3.4vw, 6.4vh), 54px)/1.04 var(--display); letter-spacing: -0.018em; max-width: 17ch; }
h3 { margin: 0; font: 400 24px/1.15 var(--display); }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease) var(--d, 0ms), transform 1s var(--ease) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }

/* Cities: globe left, list right */
.cities {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 72px);
  padding: 76px var(--gutter) 36px;
}
.cities-panel { max-width: 620px; }
.cities-panel h2 { font-size: clamp(26px, min(2.7vw, 5vh), 42px); max-width: 19ch; }
.city-list { list-style: none; margin: clamp(16px, 3.4vh, 32px) 0 0; padding: 0; }
.city {
  position: relative; display: flex; align-items: baseline; gap: 14px;
  padding: clamp(9px, 1.7vh, 15px) 14px; border-top: 1px solid var(--rule); cursor: pointer; outline: none;
  transition: background-color .4s;
}
.city:last-child { border-bottom: 1px solid var(--rule); }
.city::before { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--gold); transition: width .7s var(--ease); }
.city.is-active::before, .city:hover::before, .city:focus-visible::before { width: 100%; }
.city.is-active, .city:hover { background: linear-gradient(90deg, rgba(230, 184, 99, .07), transparent 75%); }
.city-n { font: 400 11px/1 var(--mono); color: var(--dim); width: 1.8em; flex: none; }
.city-name { font: 400 clamp(20px, min(2vw, 3.6vh), 30px)/1.1 var(--display); color: var(--mist); transition: color .4s; }
.city.is-active .city-name, .city:hover .city-name { color: var(--paper); }
.city-country { font-size: 13px; color: var(--dim); margin-right: auto; }
.city-coord { font: 400 11px/1 var(--mono); color: var(--dim); letter-spacing: .04em; white-space: nowrap; }
.city-status { font: 500 10.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); white-space: nowrap; min-width: 9.5em; text-align: right; }
.is-live .city-status a { display: inline-flex; align-items: center; gap: 7px; color: var(--gold); text-decoration: none; padding: 7px 11px; border-radius: 999px; background: rgba(230, 184, 99, .1); box-shadow: inset 0 0 0 1px rgba(230, 184, 99, .3); }
.is-live .city-status a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2.2s infinite; }
.is-live .city-status a:hover { background: rgba(230, 184, 99, .18); }
.glabel.is-receiving { color: var(--paper); box-shadow: inset 0 0 0 1px rgba(230, 184, 99, .7), 0 0 24px -4px rgba(230, 184, 99, .6); }

/* App + live concierge */
.app {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 5vw, 90px);
  padding: 84px var(--gutter) 40px;
}
.app-copy p { margin: clamp(12px, 2.4vh, 20px) 0 clamp(18px, 3.4vh, 28px); color: var(--mist); max-width: 30em; }
/* Home page without the chat demo (2026-10-26): one centered column. */
.app--solo { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
.app--solo .app-copy p, .app--solo .stats { margin-left: auto; margin-right: auto; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: clamp(24px, 5.5vh, 52px) 0 0; border-top: 1px solid var(--rule); max-width: 560px; }
.stats div { padding: 18px 16px 0 0; }
.stats div + div { padding-left: 16px; border-left: 1px solid var(--rule); }
.stats dt { font: 400 clamp(28px, min(3vw, 5.4vh), 44px)/1 var(--display); letter-spacing: -0.02em; color: var(--paper); font-variant-numeric: tabular-nums; }
.stats dd { margin: 8px 0 0; color: var(--mist); font-size: 13.5px; line-height: 1.4; }

.chat {
  position: relative; display: flex; flex-direction: column; height: min(62vh, 520px); min-height: 360px; width: 100%; max-width: 520px; justify-self: end;
  padding: 14px 14px 12px; border-radius: 22px;
  background: linear-gradient(160deg, rgba(20, 30, 52, .82), rgba(9, 14, 26, .92));
  box-shadow: inset 0 0 0 1px rgba(239, 232, 218, .08), 0 40px 80px -30px rgba(0, 0, 0, .7), 0 0 120px -40px rgba(230, 184, 99, .25);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.chat-head { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px 11px; border-bottom: 1px solid var(--rule); }
.chat-title { display: inline-flex; align-items: center; gap: 9px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.chat-sub { font: 400 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--dim); }
/* Faint watermark so visitors know the chat is a live demo. Fades once they ask something. */
.chat-mark { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-58%); display: flex; flex-direction: column; align-items: center; gap: 14px; pointer-events: none; text-align: center; transition: opacity .8s var(--ease); }
.chat-mark b { font: 400 clamp(46px, 5.4vw, 78px)/.9 var(--display); letter-spacing: -0.01em; text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(230, 184, 99, .11); background: linear-gradient(180deg, rgba(230, 184, 99, .045), rgba(230, 184, 99, .01)); -webkit-background-clip: text; background-clip: text; }
.chat-mark span { font: 500 10.5px/1 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(230, 184, 99, .19); }
.has-chat .chat-mark { opacity: 0; }
.chat-log { position: relative; z-index: 1; flex: 1; overflow-y: auto; padding: 12px 2px 4px; scrollbar-width: thin; scrollbar-color: rgba(239,232,218,.15) transparent; overscroll-behavior: contain; }
.msg { display: flex; flex-direction: column; margin: 0 0 8px; animation: msg-in .45s var(--ease) both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.msg p { margin: 0; padding: 8px 13px; border-radius: 16px; max-width: 86%; font-size: 14px; line-height: 1.42; }
.msg small { margin: 4px 0 0 4px; color: var(--dim); font-size: 12.5px; }
.msg--me { align-items: flex-end; }
.msg--me p { background: var(--gold); color: var(--night); border-bottom-right-radius: 6px; }
.msg--bot p { align-self: flex-start; background: rgba(239, 232, 218, .07); box-shadow: inset 0 0 0 1px rgba(239, 232, 218, .07); border-bottom-left-radius: 6px; }
.msg--bot a { color: var(--gold); }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--mist); animation: blink 1.1s infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.pcards { display: grid; gap: 6px; margin-top: 6px; max-width: 86%; }
.pcard { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border-radius: 12px; text-decoration: none; background: rgba(239, 232, 218, .045); box-shadow: inset 0 0 0 1px rgba(239, 232, 218, .08); transition: background .2s, box-shadow .2s; }
.pcard:hover { background: rgba(230, 184, 99, .08); box-shadow: inset 0 0 0 1px rgba(230, 184, 99, .35); }
.pcard img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex: none; background: var(--deep); }
.pcard span { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.pcard b { font-weight: 600; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard small { color: var(--mist); font-size: 11.5px; text-transform: capitalize; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard i { font-style: normal; color: var(--gold); }
.chat-handoff { display: inline-flex; margin-top: 8px; padding: 10px 16px; border-radius: 999px; background: var(--gold); color: var(--night); font-weight: 600; font-size: 14px; text-decoration: none; align-self: flex-start; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 6px 0 10px; min-height: 40px; }
.chat-chips button {
  font: 500 12.5px/1 var(--text); color: var(--paper); padding: 8px 12px; border-radius: 999px; border: 0; cursor: pointer;
  background: rgba(239, 232, 218, .05); box-shadow: inset 0 0 0 1px rgba(239, 232, 218, .16); transition: background .2s, box-shadow .2s, color .2s;
  animation: msg-in .4s var(--ease) both;
}
.chat-chips button:hover { background: rgba(230, 184, 99, .12); box-shadow: inset 0 0 0 1px rgba(230, 184, 99, .5); color: var(--gold-hi); }
.chat-form { display: flex; gap: 8px; align-items: center; padding: 4px 4px 4px 16px; border-radius: 999px; background: rgba(5, 8, 15, .6); box-shadow: inset 0 0 0 1px rgba(239, 232, 218, .14); transition: box-shadow .2s; }
.chat-form:focus-within { box-shadow: inset 0 0 0 1px rgba(230, 184, 99, .55), 0 0 0 4px rgba(230, 184, 99, .08); }
.chat-form.is-done { opacity: .5; }
.chat-field { position: relative; flex: 1; display: flex; }
.chat-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--paper); font: 400 14.5px/1.2 var(--text); padding: 9px 0; caret-color: var(--gold); }
.chat-ghost { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; color: var(--dim); font-size: 14.5px; white-space: nowrap; overflow: hidden; }
.is-typing .chat-ghost { display: none; }
.caret { width: 2px; height: 1.15em; margin-left: 2px; background: var(--gold); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.chat-send { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--gold); color: var(--night); transition: transform .2s, background .2s; }
.chat-send:hover { background: var(--gold-hi); transform: scale(1.05); }
.chat-send svg { width: 17px; height: 17px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Closing screen: pillars, then the footer */
.closing { display: flex; flex-direction: column; justify-content: space-between; padding: 0; }
.closing-body { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 84px var(--gutter) 32px; }
.closing-lede { margin: clamp(10px, 2vh, 16px) 0 0; color: var(--mist); max-width: 36em; }
.pillars { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: clamp(22px, 4.5vh, 44px); }
.pillars b { display: block; margin-top: clamp(14px, 3vh, 26px); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.pillars article {
  position: relative; padding: 26px 26px 30px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(180deg, rgba(239, 232, 218, .045), rgba(239, 232, 218, .01));
  box-shadow: inset 0 0 0 1px var(--rule);
  transition: box-shadow .4s, transform .5s var(--ease);
}
.pillars article::after { content: ""; position: absolute; inset: 0; background: radial-gradient(300px 160px at var(--mx, 50%) var(--my, 0%), rgba(230, 184, 99, .12), transparent 70%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.pillars article[data-ask] { cursor: pointer; }
.pillars article[data-ask]:hover { box-shadow: inset 0 0 0 1px rgba(230, 184, 99, .3); transform: translateY(-4px); }
.pillars article[data-ask]:hover::after { opacity: 1; }
.pillars span { font: 400 11px/1 var(--mono); color: var(--dim); letter-spacing: .14em; text-transform: uppercase; }
.pillars h3 { margin-top: clamp(18px, 4.5vh, 40px); }
.pillars p { margin: 10px 0 0; color: var(--mist); font-size: 15px; max-width: 24em; }

/* Footer: small, but the entity and address are always present (Apple and D-U-N-S check them). */
.foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px;
  padding: 22px var(--gutter) max(22px, env(safe-area-inset-bottom)); border-top: 1px solid var(--rule);
  font-size: 12px; color: var(--dim);
}
.foot-mark { font: 400 18px/1 var(--display); color: var(--paper); text-decoration: none; }
.foot-entity { margin: 0; white-space: nowrap; }
.foot-entity span { margin: 0 6px; opacity: .6; }
.foot-nav { display: flex; gap: 20px; margin-left: auto; white-space: nowrap; }
.foot-nav a { color: var(--mist); text-decoration: none; }
.foot-nav a:hover { color: var(--paper); }
.page-legal .foot { margin-top: 100px; }

/* Legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 140px var(--gutter) 0; }
.legal h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; }
.legal .updated { margin: 18px 0 48px; font: 400 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.legal h2 { font-size: clamp(24px, 2.6vw, 30px); max-width: none; margin: 48px 0 12px; }
.legal p, .legal li { color: #C9CCD3; font-size: 16px; }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--paper); font-weight: 600; }
.legal a { color: var(--gold); }
.legal .summary { padding: 22px 24px; border-radius: 18px; background: rgba(230, 184, 99, .06); box-shadow: inset 0 0 0 1px rgba(230, 184, 99, .18); }
.legal .summary p { margin: 0; color: var(--paper); }

/* v3 pitch slides: problem, how it works, team, contact */
.slide-body { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; min-height: inherit; height: 100%; padding: 84px var(--gutter) 48px; }
.slide h2 { max-width: 20ch; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); margin-top: clamp(28px, 6vh, 64px); max-width: 1180px; }
.trio article { padding-top: 22px; border-top: 1px solid var(--rule); }
.trio b { display: block; font: 400 clamp(30px, min(3.2vw, 6vh), 50px)/1 var(--display); letter-spacing: -0.02em; color: var(--paper); }
.trio p { margin: 14px 0 0; color: var(--mist); max-width: 26em; }

.flow { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: clamp(28px, 6vh, 60px) 0 0; padding: 0; max-width: 1180px; counter-reset: step; }
.flow li { position: relative; padding: 26px 26px 30px; border-radius: 22px; background: linear-gradient(180deg, rgba(239, 232, 218, .045), rgba(239, 232, 218, .01)); box-shadow: inset 0 0 0 1px var(--rule); }
.flow li + li::before { content: "→"; position: absolute; left: -14px; top: 50%; translate: -50% -50%; color: var(--gold); font-size: 15px; }
.flow span { font: 400 11px/1 var(--mono); color: var(--gold); letter-spacing: .14em; }
.flow h3 { margin-top: clamp(16px, 4vh, 36px); }
.flow p { margin: 10px 0 0; color: var(--mist); font-size: 15px; max-width: 26em; }
.slide-note { margin: clamp(20px, 4vh, 36px) 0 0; color: var(--dim); font: 400 12px/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; max-width: 60em; }

.path { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: clamp(16px, 3vh, 24px) 0 0; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.path span { padding: 8px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(239, 232, 218, .16); }
.path span:last-child { color: var(--night); background: var(--gold); box-shadow: none; }
.path i { font-style: normal; color: var(--gold); }
.cities-lede { margin: clamp(10px, 2vh, 16px) 0 0; color: var(--mist); max-width: 30em; }

.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: clamp(28px, 6vh, 60px); max-width: 1180px; }
.people article { padding: 24px 24px 28px; border-radius: 22px; background: linear-gradient(180deg, rgba(239, 232, 218, .045), rgba(239, 232, 218, .01)); box-shadow: inset 0 0 0 1px var(--rule); }
.people .face { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(230, 184, 99, .3), rgba(230, 184, 99, .05)); box-shadow: inset 0 0 0 1px rgba(230, 184, 99, .3); }
.people h3 { margin-top: 20px; }
.people span { display: block; margin-top: 6px; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.people p { margin: 12px 0 0; color: var(--mist); font-size: 15px; }
.people--solo { grid-template-columns: minmax(0, 760px); }
.people--solo article { padding: 30px 32px 34px; }
.people--solo p { font-size: 16px; max-width: 40em; }
.people .face { display: grid; place-items: center; font: 400 22px/1 var(--display); color: var(--gold-hi); }
/* Draft cards stay visibly unfinished until real people and lines are in. */
.people .is-draft { box-shadow: inset 0 0 0 1px rgba(230, 184, 99, .25); background: repeating-linear-gradient(135deg, rgba(230, 184, 99, .025) 0 10px, transparent 10px 20px); }
.people .is-draft h3, .people .is-draft p { color: var(--dim); font-style: italic; }

.end .closing-body h2 { font-size: clamp(36px, min(4.6vw, 8.4vh), 72px); max-width: 14ch; }

/* Deck rail: slide markers on the right edge, like a pitch deck. */
.deck-rail { position: fixed; right: 22px; top: 50%; translate: 0 -50%; z-index: 20; display: flex; flex-direction: column; gap: 4px; }
.deck-rail a { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 5px 0; text-decoration: none; font: 500 10px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.deck-rail a span { opacity: 0; translate: 6px 0; transition: opacity .3s, translate .3s var(--ease); white-space: nowrap; }
.deck-rail a i { width: 14px; height: 1px; background: currentColor; transition: width .4s var(--ease), background .3s; }
.deck-rail:hover a span { opacity: 1; translate: 0 0; }
.deck-rail:hover { background: linear-gradient(90deg, transparent, rgba(5, 8, 15, .85) 30%); padding-left: 40px; }
.deck-rail a.is-on { color: var(--gold); }
.deck-rail a.is-on i { width: 28px; }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; align-content: start; padding-top: 100px; padding-bottom: 40px; }
  .globe-slot--hero { width: 100%; height: auto; margin: 10px 0 0; }
  .hud { position: static; grid-column: 1; margin-top: 8px; flex-wrap: wrap; gap: 10px 18px; }
  .hud-hint { display: none; }
  .cities { grid-template-columns: 1fr; padding-top: 80px; }
  .globe-slot--cities { width: 100%; height: auto; max-width: 440px; }
  .chat { max-width: none; justify-self: stretch; }
  .city-coord { display: none; }
  .app { grid-template-columns: 1fr; padding-top: 80px; }
  .chat { height: 560px; }
  .pillars { grid-template-columns: 1fr 1fr; }
  .trio, .flow, .people { grid-template-columns: 1fr; }
  .flow li + li::before { content: "↓"; left: 50%; top: -7px; }
  .deck-rail { display: none; }
  .foot-entity { white-space: normal; }
  .foot-nav { margin-left: 0; flex-wrap: wrap; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .bar-nav a:not(.bar-cta) { display: none; }
  .city { padding: 12px 8px; gap: 10px; }
  .city-country { display: none; }
  .city-name { margin-right: auto; }
  .city-status { min-width: 0; }
  .stats dd { font-size: 12.5px; }
  .pillars { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  h1 .line > span { transform: none; }
  .lede, .actions, .eyebrow, .hud, .reveal { opacity: 1; transform: none; }
}
