:root {
  /* Pulled directly from Findin's own src/app/globals.css dark-mode tokens,
     not the portfolio site's palette - this page should look like Findin. */
  color-scheme: dark;
  --paper: #1b1f1c;
  --paper-dim: #151815;
  --paper-raised: #232723;
  --ink: #ece7da;
  --ink-soft: #c7c2b0;
  --ink-faint: #9aa19a;
  --line: #383d37;
  --line-soft: #2b302a;
  --amber: #d2a43f;
  --amber-soft: #e3bd66;
  --geography: #6fa8bd;
  --taxonomy: #7fa286;
  --time: #c98564;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

.wrap {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 18px 0;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
}

.brand img {
  height: 22px;
  width: 22px;
  border-radius: 5px;
}

.nav-links {
  display: flex;
  gap: 22px;
  color: var(--ink-faint);
  font-size: 14px;
}

.hero {
  padding: 56px 0 20px;
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1.05fr 1fr;
  align-items: end;
}

.eyebrow {
  color: var(--amber);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.geography {
  color: var(--geography);
}

.eyebrow.taxonomy {
  color: var(--taxonomy);
}

.eyebrow.time {
  color: var(--time);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", Georgia, serif;
  line-height: 1.05;
  color: var(--ink);
}

h1 {
  margin-top: 12px;
  font-size: clamp(46px, 7vw, 76px);
}

h2 {
  font-size: clamp(28px, 4vw, 38px);
}

h3 {
  font-family: "Inter", ui-sans-serif, sans-serif;
  font-size: 16px;
  font-weight: 600;
}

p {
  margin: 0;
}

.lead {
  margin-top: 18px;
  max-width: 520px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.5;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: var(--paper-raised);
  color: var(--ink-soft);
  font-size: 13px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 20px;
  background: var(--ink);
  color: var(--paper);
  font-weight: 650;
  text-decoration: none;
  font-size: 14px;
}

.button.secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.shot {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-raised);
  box-shadow: 0 20px 46px -24px rgba(0, 0, 0, 0.6);
}

.shot figcaption {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-faint);
  font-size: 13px;
}

section {
  padding: 60px 0;
  border-top: 1px solid var(--line);
}

section:first-of-type,
.hero {
  border-top: 0;
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 28px;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.55;
}

.grid {
  display: grid;
  gap: 16px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-raised);
  padding: 20px;
}

.card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.fact {
  border-left: 2px solid var(--line);
  padding-left: 14px;
}

.fact p:first-child {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
}

.fact p:last-child {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.diagram-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: center;
}

.diagram-flow + .diagram-flow {
  margin-top: 10px;
}

.diagram-flow .node {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-raised);
  padding: 14px;
  font-size: 14px;
  color: var(--ink);
}

.diagram-flow .node span {
  display: block;
  margin-top: 4px;
  color: var(--ink-faint);
  font-size: 12px;
}

.diagram-flow .arrow {
  color: var(--amber);
  text-align: center;
  font-size: 18px;
}

.decision {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.decision:first-child {
  border-top: 0;
  padding-top: 0;
}

.decision p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.55;
}

.kicker {
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker.geography {
  color: var(--geography);
}

.kicker.taxonomy {
  color: var(--taxonomy);
}

.kicker.time {
  color: var(--time);
}

.list-plain {
  margin: 0;
  padding-left: 18px;
  color: var(--ink-soft);
}

.list-plain li {
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.5;
}

.note {
  color: var(--ink-faint);
  font-size: 13px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 44px;
  color: var(--ink-faint);
  font-size: 13px;
}

@media (max-width: 760px) {
  .wrap {
    width: min(100% - 28px, 1100px);
  }

  .nav-links {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .lead {
    font-size: 17px;
  }

  section {
    padding: 44px 0;
  }

  .two,
  .three,
  .four {
    grid-template-columns: 1fr;
  }

  .diagram-flow {
    grid-template-columns: 1fr;
  }

  .diagram-flow .arrow {
    transform: rotate(90deg);
  }
}
