/* Sonder City — shared pitch-deck styles
   Aural Vision */

:root {
  --bg: #0b0a08;
  --bg-raised: #131110;
  --ink: #ece4d6;
  --ink-dim: #a89e8c;
  --ink-faint: #6b6357;
  --amber: #c9a568;
  --amber-dim: #8a7350;
  --trauma-blue: #4f7280;
  --hope-rose: #c98a7a;
  --rule: #2a2620;
  --placeholder-border: #4a4438;
  --placeholder-bg: rgba(201, 165, 104, 0.05);
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Consolas", "SF Mono", Menlo, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  position: relative;
}

/* film grain + vignette wash over the whole page, echoing the memory_reveal
   compositor's own halation/vignette/grain filters */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 499;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.55) 100%);
}

/* ---------- top nav ---------- */

.topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: linear-gradient(to bottom, rgba(11,10,8,0.92), rgba(11,10,8,0));
  backdrop-filter: blur(2px);
}

.topnav .brand {
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
}

.topnav .brand span { color: var(--amber); }

.topnav .links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.topnav .links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.topnav .links a:hover,
.topnav .links a.active {
  color: var(--amber);
  border-bottom-color: var(--amber-dim);
}

/* ---------- slide progress dots ---------- */

.progress {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.progress a {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink-faint);
  opacity: 0.5;
  transition: opacity 0.2s, background 0.2s, transform 0.2s;
}

.progress a:hover,
.progress a.active {
  background: var(--amber);
  opacity: 1;
  transform: scale(1.3);
}

@media (max-width: 900px) {
  .progress { display: none; }
}

/* ---------- slides ---------- */

.deck {
  scroll-snap-type: y proximity;
}

.slide {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 10vw 100px;
  position: relative;
  scroll-snap-align: start;
  border-bottom: 1px solid var(--rule);
}

.slide.center { align-items: center; text-align: center; }

.slide-kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

.slide-kicker .num {
  color: var(--ink-faint);
  margin-right: 10px;
}

.slide h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.12;
  margin: 0 0 20px;
  color: var(--ink);
}

.slide h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
  margin: 0 0 16px;
  color: var(--ink);
}

.slide .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-dim);
  max-width: 46em;
  margin: 0 0 24px;
}

.slide p {
  color: var(--ink-dim);
  max-width: 52em;
  font-size: 16px;
}

.slide-max {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
}

/* ---------- placeholder / fill-in blocks ---------- */

.fill {
  border: 1px dashed var(--placeholder-border);
  background: var(--placeholder-bg);
  border-radius: 6px;
  padding: 18px 20px;
  margin: 14px 0;
}

.fill-label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dim);
  margin-bottom: 8px;
  display: block;
}

.fill p {
  color: var(--ink-faint);
  font-style: italic;
  font-size: 14.5px;
  margin: 0;
}

/* ---------- guidance notes (deck-building instructions, not deck content) ---------- */

.note {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.7;
  color: var(--ink-faint);
  border-left: 2px solid var(--rule);
  padding: 10px 0 10px 16px;
  max-width: 48em;
  margin-top: 10px;
}

/* ---------- grids / cards ---------- */

.grid {
  display: grid;
  gap: 20px;
  width: 100%;
  margin-top: 10px;
}

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

@media (max-width: 900px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 22px;
}

.card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  margin: 0 0 10px;
  color: var(--amber);
}

.card p {
  font-size: 14.5px;
  color: var(--ink-dim);
  margin: 0;
}

.tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--amber);
  padding: 3px 9px;
  border-radius: 3px;
  margin: 0 6px 6px 0;
}

.tag.blue { background: var(--trauma-blue); }
.tag.rose { background: var(--hope-rose); }

/* ---------- ordered numbered list (budget, timeline etc) ---------- */

.stat-row {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.stat {
  min-width: 140px;
}

.stat .num {
  font-family: var(--serif);
  font-size: 36px;
  color: var(--amber);
  display: block;
}

.stat .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

table.deck-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 14.5px;
}

table.deck-table th {
  text-align: left;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border-bottom: 1px solid var(--rule);
  padding: 8px 12px 8px 0;
}

table.deck-table td {
  border-bottom: 1px solid var(--rule);
  padding: 12px 12px 12px 0;
  color: var(--ink-dim);
}

table.deck-table td.k {
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- footer / contact slide ---------- */

.contact-block {
  margin-top: 30px;
}

.contact-block .row {
  font-family: var(--mono);
  font-size: 14px;
  color: var(--ink-dim);
  margin-bottom: 6px;
}

.contact-block .row .k {
  color: var(--amber-dim);
  display: inline-block;
  min-width: 110px;
}

/* ---------- video reel ---------- */

.hero-video {
  width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: #000;
  display: block;
}

.video-caption {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 10px;
}

.video-card video {
  width: 100%;
  border-radius: 6px;
  background: #000;
  display: block;
  margin-bottom: 10px;
}

.video-card p {
  font-size: 13px;
  color: var(--ink-dim);
  margin: 0;
}

/* ---------- landing page specific ---------- */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}

.hero .super {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 22px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 400;
  margin: 0;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.hero h1 span { color: var(--amber); }

.hero .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(16px, 2vw, 20px);
  color: var(--ink-dim);
  margin-top: 18px;
}

.deck-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 900px;
  width: 100%;
  margin-top: 60px;
}

@media (max-width: 700px) {
  .deck-grid { grid-template-columns: 1fr; }
}

.deck-tile {
  display: block;
  text-decoration: none;
  background: var(--bg-raised);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 28px 26px;
  text-align: left;
  transition: border-color 0.2s, transform 0.2s;
}

.deck-tile:hover {
  border-color: var(--amber-dim);
  transform: translateY(-2px);
}

.deck-tile .tile-kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 10px;
}

.deck-tile h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  color: var(--ink);
  margin: 0 0 8px;
}

.deck-tile p {
  font-size: 13.5px;
  color: var(--ink-faint);
  margin: 0;
}

.footer-note {
  margin-top: 70px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-faint);
  text-align: center;
  max-width: 40em;
}
