/* Synthetic Futures
   Navy base, magenta signal, Fraunces display over Manrope text. */

:root {
  --navy: #13233b;
  --navy-deep: #0d1a2d;
  --ink: #1a2433;
  --body: #49576b;
  --quiet: #7a889b;
  --line: #dfe5ed;
  --mist: #eef2f7;
  --white: #ffffff;
  --signal: #d6246e;
  --signal-dark: #b01a5a;

  --display: 'Fraunces', Georgia, serif;
  --text: 'Manrope', system-ui, -apple-system, sans-serif;

  --measure: 64ch;
  --gutter: 1.5rem;
  --wide: 1120px;
  --narrow: 720px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--text);
  color: var(--body);
  background: var(--white);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--signal); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--signal-dark); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 2px;
}

.wide { max-width: var(--wide); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: var(--narrow); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Ticker ---------- */

.ticker {
  background: var(--navy-deep);
  color: #b9c6d8;
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: slide 38s linear infinite;
}
.ticker-track span { padding: 0 2.5rem; }
.ticker-track span::before {
  content: "";
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--signal);
  margin-right: .9rem;
  vertical-align: middle;
}
@keyframes slide { to { transform: translateX(-100%); } }

/* ---------- Masthead ---------- */

.masthead {
  border-bottom: 1px solid var(--line);
  background: var(--white);
  padding: 0;
}
.masthead .wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 76px;
  max-width: var(--wide);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 34px;
  line-height: 1;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
  padding: 0;
  margin: 0;
}

.wordmark-mark {
  width: 40px;
  height: 25px;
  flex-shrink: 0;
  margin-top: 2px;
}
.wordmark:hover { color: var(--navy); }
.masthead nav { display: flex; gap: 2rem; }
.masthead nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.masthead nav a:hover { color: var(--signal); }
.masthead nav a[aria-current="page"] {
  color: var(--signal);
  border-bottom: 2px solid var(--signal);
  padding-bottom: 2px;
}

/* ---------- Hero ---------- */

.hero { padding: 4rem var(--gutter) 3.5rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 300px;
  gap: 3.5rem;
  align-items: center;
}
.eyebrow {
  font-size: 14px;
  font-weight: 600;
  color: var(--signal);
  margin-bottom: 1rem;
}
h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(40px, 5.2vw, 60px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 1.5rem;
}
.lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero-photo {
  border-radius: 4px;
  overflow: hidden;
  background: var(--mist);
  aspect-ratio: 4 / 5;
  max-width: 300px;
  margin-left: auto;
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }

.hero-figure { margin: 0; }
.hero-figure figcaption {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--quiet);
  margin-top: .75rem;
  max-width: 40ch;
}

/* ---------- Buttons ---------- */

.button {
  display: inline-block;
  background: var(--signal);
  color: var(--white);
  font-weight: 600;
  font-size: 16px;
  padding: .85rem 1.6rem;
  border-radius: 3px;
  text-decoration: none;
  transition: background .15s;
}
.button:hover { background: var(--signal-dark); color: var(--white); }
.button.ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}
.button.ghost:hover { background: var(--mist); color: var(--navy); }
.buttons { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Sections ---------- */

section { padding: 4.5rem 0; }
section.tinted { background: var(--mist); }
section.dark { background: var(--navy); color: #c3cfdf; }
section.dark h2, section.dark h3 { color: var(--white); }

h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1.25rem;
  max-width: 22ch;
}

/* A page whose first section is its opening needs a little more air above it,
   and its h1 sized as a section heading rather than as a hero. */
section.opening { padding-top: 3.5rem; }
h1.section-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 3.6vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1.25rem;
  max-width: 22ch;
}

h3 {
  font-family: var(--text);
  font-weight: 700;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: .4rem;
}
p { max-width: var(--measure); margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
.section-lead { font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 54ch; margin-bottom: 1.25rem; }

/* ---------- Facts panel ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem 2.5rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
  margin-top: 2.5rem;
}
.fact-label { font-size: 14px; color: var(--quiet); margin-bottom: .2rem; }
.fact-value { font-size: 17px; font-weight: 600; color: var(--navy); line-height: 1.4; }
section.dark .facts { border-color: rgba(255,255,255,0.18); }
section.dark .fact-label { color: #93a6bd; }
section.dark .fact-value { color: var(--white); }


/* ---------- Persona card ---------- */

.opening-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3.5rem;
  align-items: center;
}

.persona-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(19, 35, 59, 0.06);
}
.persona-head {
  background: var(--navy);
  color: var(--white);
  padding: 1.25rem 1.35rem;
  display: flex;
  gap: .9rem;
  align-items: center;
}
.persona-initials {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display);
  font-size: 17px;
  flex-shrink: 0;
}
.persona-name { font-family: var(--display); font-size: 19px; line-height: 1.2; }
.persona-role { font-size: 13px; color: #b9c6d8; line-height: 1.4; margin-top: 2px; }

.persona-body { padding: 1.25rem 1.35rem 1.35rem; }
.persona-flag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--signal);
  background: #fdeaf2;
  border: 1px solid #f6c4d8;
  border-radius: 99px;
  padding: 2px 10px;
  margin-bottom: 1rem;
}
.persona-label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .3rem;
}
.persona-list { list-style: none; margin-bottom: .9rem; }
.persona-list li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--body);
  padding-left: 1rem;
  position: relative;
  margin-bottom: .35rem;
}
.persona-list li::before {
  content: "";
  position: absolute; left: 0; top: .6rem;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--signal);
}
.persona-quote {
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: .25rem;
}
.persona-stage {
  font-size: 12.5px;
  color: var(--quiet);
  margin-top: 1.1rem;
  padding-top: .9rem;
  border-top: 1px solid var(--line);
}
.persona-stage strong { color: var(--navy); font-weight: 700; }

.persona-caption {
  font-size: 13px;
  color: var(--quiet);
  margin-top: .85rem;
  line-height: 1.5;
  max-width: 33ch;
}

@media (max-width: 860px) {
  .opening-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .persona-card { max-width: 360px; }
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.card { display: flex; flex-direction: column; }
.card p:last-child { margin-top: auto; }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.75rem;
}
.card p { font-size: 16px; margin-bottom: 0; }
.card .card-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--signal);
  margin-bottom: .75rem;
}


/* ---------- Quotes ---------- */

.quotes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.quote {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
}
.quote blockquote {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1rem;
  flex: 1;
}
.quote cite {
  font-style: normal;
  font-size: 13.5px;
  color: var(--quiet);
  line-height: 1.45;
}
.quote cite::before {
  content: "";
  display: block;
  width: 26px;
  height: 2px;
  background: var(--signal);
  margin-bottom: .7rem;
}
.survey-note {
  font-size: 13.5px;
  color: var(--quiet);
  margin-top: 1.75rem;
  line-height: 1.55;
  max-width: 70ch;
}

/* ---------- List ---------- */

.plain-list { list-style: none; max-width: var(--measure); }
.plain-list li {
  padding: .9rem 0 .9rem 1.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.plain-list li:last-child { border-bottom: none; }
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 1.55rem;
  width: 6px; height: 6px;
  background: var(--signal);
  border-radius: 50%;
}
section.dark .plain-list li { border-color: rgba(255,255,255,0.15); }

/* ---------- Exchange ---------- */

.exchange {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2.25rem 0 1rem;
  max-width: 660px;
}
.turn-group { display: flex; flex-direction: column; max-width: 88%; }
.turn-group.mine { align-self: flex-end; align-items: flex-end; }
.turn-group.theirs { align-self: flex-start; align-items: flex-start; }

.turn-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--quiet);
  margin: 0 .25rem .4rem;
}

.turn {
  font-size: 16.5px;
  line-height: 1.55;
  padding: .95rem 1.25rem;
  border-radius: 16px;
  margin: 0;
}
.turn.mine {
  background: var(--navy);
  color: #ffffff;
  border-bottom-right-radius: 4px;
}
.turn.theirs {
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(19, 35, 59, 0.05);
}
.caption { font-size: 14px; color: var(--quiet); }

/* ---------- Split ---------- */

.split {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: start;
}
.split-photo { border-radius: 4px; overflow: hidden; background: var(--mist); aspect-ratio: 3 / 2; max-width: 300px; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Footer ---------- */

footer {
  background: var(--navy-deep);
  color: #9cacc1;
  padding: 3.5rem 0 2.5rem;
  font-size: 15px;
}
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
footer h4 { font-family: var(--text); font-size: 14px; font-weight: 700; color: var(--white); margin-bottom: .9rem; }
footer ul { list-style: none; }
footer li { margin-bottom: .5rem; }
footer a { color: #9cacc1; text-decoration: none; }
footer a:hover { color: var(--white); }
.footer-blurb { color: #9cacc1; max-width: 34ch; font-size: 15px; }
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 13px;
  line-height: 1.8;
  color: #7d8da2;
}
.footer-legal p { max-width: 80ch; }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-grid, .split { grid-template-columns: 1fr; gap: 2rem; }
  .hero-photo { aspect-ratio: 3 / 2; max-width: 100%; margin-left: 0; }
  .split-photo { max-width: 260px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .masthead nav { gap: 1.25rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  section { padding: 3rem 0; }
  .masthead .wide { height: auto; padding-top: 1rem; padding-bottom: 1rem; flex-direction: column; align-items: flex-start; gap: .75rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .lead { font-size: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; padding-left: 0; }
}
