@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Newsreader:opsz,wght@6..72,480;6..72,560;6..72,640&display=swap");

:root {
  --ink: #14181f;
  --ink-soft: #3c4450;
  --paper: #f3f0e8;
  --paper-2: #e7e1d6;
  --white: #fbf9f4;
  --forest: #1c4a3a;
  --forest-deep: #102e24;
  --brass: #a68456;
  --brass-ink: #6d522c;
  --brass-2: #c6a36a;
  --line: #ddd6c8;
  --cover: #0c1016;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --pad-x: clamp(20px, 4.2vw, 76px);
  --top: 72px;
  --dock: 76px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.45;
}

body.on-cover {
  background: var(--cover);
  color: var(--white);
}

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

button, a { font: inherit; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--white);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.topbar {
  position: fixed;
  z-index: 5;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px var(--pad-x) 0;
  pointer-events: none;
}

.brand, .top-meta {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 18px;
  height: 2px;
  background: var(--brass-2);
  display: inline-block;
}

.brand-sub {
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.06em;
}

body.on-cover .brand-sub,
body.on-cover .top-meta {
  color: rgba(251, 249, 244, 0.72);
}

.viewport {
  height: 100dvh;
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  transition: opacity 0.42s var(--ease), transform 0.42s var(--ease), visibility 0.42s;
  background: var(--paper);
}

.slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  z-index: 1;
}

.slide-body {
  height: 100%;
  overflow: auto;
  padding: calc(var(--top) + 12px) var(--pad-x) calc(var(--dock) + 18px);
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 16px;
}

h1 {
  font-size: clamp(2.35rem, 5.5vw, 4.7rem);
  max-width: 14ch;
  color: var(--white);
}

h2 {
  font-size: clamp(1.85rem, 3.5vw, 3.15rem);
  max-width: 18em;
  color: var(--ink);
}

.eyebrow, .kicker {
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass-2);
}

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

.lede, .lead {
  margin: 0;
  max-width: 38rem;
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  color: var(--ink-soft);
}

.lede { color: rgba(251, 249, 244, 0.86); max-width: 36rem; }

.slide-cover { background: var(--cover); color: var(--white); }

.cover-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
}

.cover-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 10, 14, 0.88) 0%, rgba(8, 10, 14, 0.72) 42%, rgba(8, 10, 14, 0.18) 100%),
    linear-gradient(180deg, rgba(8, 10, 14, 0.35) 0%, rgba(8, 10, 14, 0) 28%, rgba(8, 10, 14, 0.45) 100%);
}

.cover-body { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: flex-end; }

.cover-logos,
.logo-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.cover-logos { margin: 0 0 18px; }

.cover-wordmark,
.wordmark-ink {
  width: auto;
  max-width: min(520px, 78vw);
}

.cover-wordmark { height: 20px; }

.wordmark-ink { height: 26px; }

.cover-mark,
.logo-row .mark {
  object-fit: cover;
  flex: none;
}

.cover-mark { width: 52px; height: 52px; }

.logo-row .mark { width: 84px; height: 84px; }

.slide-cover h1 {
  font-size: clamp(2rem, 4vw, 3.65rem);
  max-width: 15ch;
}

.cover-credit {
  margin: 16px 0 0;
  max-width: 36rem;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(251, 249, 244, 0.62);
}

.logo-row { margin: 2px 0 16px; }

.photo-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  gap: 12px;
  margin: 0;
}

.photo-grid figure { margin: 0; }

.photo-grid img {
  width: 100%;
  height: min(32vh, 300px);
  object-fit: cover;
  background: var(--paper-2);
}

.photo-grid figcaption {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.cover-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 240px));
  gap: 18px 32px;
  margin: 28px 0 0;
}

.cover-facts dt {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass-2);
  margin-bottom: 4px;
}

.cover-facts dd { margin: 0; font-size: 1rem; }

.facts {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  max-width: 920px;
}

.facts li {
  padding: 18px 22px 18px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fact-label, .point-k, .card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest);
}

.fact-value { font-size: 1.12rem; font-weight: 600; }

.note, .source, .aside {
  margin: 18px 0 0;
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 200px));
  gap: 16px 28px;
  margin: 22px 0 0;
}

.metrics p { margin: 0; }

.metrics strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.55rem);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1;
}

.metrics span {
  display: block;
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.source a { color: var(--forest); }

.industries {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  counter-reset: ind;
}

.industries li {
  counter-increment: ind;
  background: var(--white);
  border-top: 2px solid var(--forest);
  padding: 16px 14px 18px;
  min-height: 108px;
  font-weight: 600;
  line-height: 1.3;
}

.industries li::before {
  content: counter(ind, decimal-leading-zero);
  display: block;
  margin-bottom: 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--brass-ink);
  font-weight: 700;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: end;
}

.points {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}

.points li {
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.point-k { display: block; margin-bottom: 4px; }

.exhibit {
  margin: 0;
}

.exhibit img {
  width: 100%;
  height: min(52vh, 460px);
  object-fit: cover;
  object-position: 68% 40%;
  background: var(--paper-2);
}

.exhibit figcaption {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
  max-width: 880px;
}

.card {
  background: var(--white);
  padding: 18px 18px 16px;
  border-top: 2px solid var(--forest);
}

.card-title {
  margin: 6px 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  letter-spacing: -0.02em;
}

.card-text { margin: 0; color: var(--ink-soft); }

.steps {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 880px;
}

.steps li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.steps strong { display: block; color: var(--ink); font-weight: 700; }

.step-n {
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--brass-ink);
  padding-top: 4px;
}

.steps .is-done .step-n { color: var(--forest); }

.table-wrap { margin-top: 22px; overflow-x: auto; }

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

th, td {
  text-align: left;
  padding: 14px 12px 14px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 700;
}

td { font-weight: 600; }

.status {
  display: inline-block;
  border: 1px solid var(--forest);
  color: var(--forest);
  padding: 4px 8px;
  font-size: 12px;
  letter-spacing: 0.04em;
  font-weight: 700;
}

.status-talk {
  border-color: var(--brass);
  color: #6d522c;
}

.close {
  margin-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  max-width: 980px;
}

.close-name, .close-address { margin: 0; }

.close-name { font-size: 0.92rem; max-width: 46rem; }

.close-address {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--forest);
  color: #f7f4ee;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cta:hover { background: var(--forest-deep); }

.cta:focus-visible,
.nav-btn:focus-visible,
.dot:focus-visible {
  outline: 2px solid var(--brass-2);
  outline-offset: 3px;
}

.dock {
  position: fixed;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: 48px 1fr auto 120px 48px;
  align-items: center;
  gap: 12px;
  padding: 12px var(--pad-x) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(180deg, rgba(243, 240, 232, 0) 0%, rgba(243, 240, 232, 0.92) 36%, var(--paper) 100%);
}

body.on-cover .dock {
  background: linear-gradient(180deg, rgba(12, 16, 22, 0) 0%, rgba(12, 16, 22, 0.78) 40%, rgba(12, 16, 22, 0.94) 100%);
  color: var(--white);
}

.nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 0;
}

body.on-cover .nav-btn {
  background: transparent;
  color: var(--white);
  border-color: rgba(251, 249, 244, 0.35);
}

.nav-btn svg { width: 22px; height: 22px; }

.nav-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dot {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 0;
}

.dot::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  top: 21px;
  height: 2px;
  background: var(--line);
}

body.on-cover .dot::after { background: rgba(251, 249, 244, 0.35); }

.dot[aria-current="true"]::after {
  background: var(--forest);
  height: 3px;
  top: 20px;
}

body.on-cover .dot[aria-current="true"]::after { background: var(--brass-2); }

.count {
  margin: 0;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.count-total { color: var(--ink-soft); font-weight: 500; }

body.on-cover .count-total { color: rgba(251, 249, 244, 0.65); }

.progress {
  height: 2px;
  background: var(--line);
  position: relative;
}

body.on-cover .progress { background: rgba(251, 249, 244, 0.22); }

.progress span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--forest);
  transform-origin: left center;
  transform: scaleX(0.16);
}

body.on-cover .progress span { background: var(--brass-2); }

@media (max-height: 820px) {
  .slide-cover h1 { font-size: clamp(1.7rem, 3.3vw, 2.65rem); }
  .cover-logos { margin-bottom: 8px; }
  .cover-mark { width: 40px; height: 40px; }
  .cover-wordmark { height: 16px; }
  .cover-facts { margin-top: 14px; }
  .cover-credit { margin-top: 8px; font-size: 10px; }
  .slide-cover .lede { font-size: 0.98rem; }
}

@media (max-width: 860px) {
  .facts, .two, .steps, .cover-facts, .split, .industries, .metrics, .photo-grid {
    grid-template-columns: 1fr;
  }

  .photo-grid img { height: 210px; }

  .cover-wordmark { height: 16px; }

  .wordmark-ink { height: 20px; }

  .cover-mark { width: 48px; height: 48px; }

  .logo-row .mark { width: 72px; height: 72px; }

  .industries li { min-height: 0; }

  .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }

  .metrics strong { font-size: 1.55rem; }

  .split { align-items: start; }

  .exhibit img { height: 220px; }

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

  .dock {
    grid-template-columns: 44px 1fr 44px;
    grid-template-areas:
      "prev count next"
      "bar bar bar";
  }

  .nav-btn:first-child { grid-area: prev; }
  .count { grid-area: count; text-align: center; }
  .nav-btn:last-child { grid-area: next; }
  .progress { grid-area: bar; }
  .dots { display: none; }

  h1 { max-width: 12ch; }

  table { min-width: 0; }

  thead { display: none; }

  tr {
    display: block;
    padding: 8px 0 12px;
    border-bottom: 1px solid var(--line);
  }

  td {
    display: block;
    border: 0;
    padding: 4px 0;
  }

  td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ink-soft);
    font-weight: 700;
  }
}

@media (max-width: 420px) {
  .brand-sub, .top-meta { display: none; }
  h1 { font-size: 2.15rem; }
  h2 { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; transform: none; }
}

@media print {
  .topbar, .dock, .skip { display: none !important; }
  .viewport { height: auto; overflow: visible; }
  .slide {
    position: relative;
    inset: auto;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    break-after: page;
    page-break-after: always;
    min-height: 100vh;
    height: auto;
  }
  .slide-body { overflow: visible; height: auto; }
  .cover-photo { position: absolute; }
}
