/* Presentation layer — concept deck / leave-behind language.
   Live briefing: index.html, sources.html, how-this-was-made.html.
   Churchyard records start at records.html (theme.css + demo.css). */

:root {
  --pres-teal: #173c43;
  --pres-teal-deep: #122f34;
  --pres-teal-mid: #2e6f73;
  --pres-ink: #243447;
  --pres-slate: #5b6b7c;
  --pres-gold: #c99b3b;
  --pres-terracotta: #8e4f2a;
  --pres-sage: #7d8f69;
  --pres-cream: #fbf7ef;
  --pres-cream-deep: #f8f3e8;
  --pres-mint: #e9efe8;
  --pres-mist: #e5ecec;
  --pres-white: #ffffff;
  --pres-font: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --pres-serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --pres-display: 2.5rem;
  --pres-display-lh: 1.15;
  --pres-section: 1.5rem;
  --pres-section-lh: 1.3;
  --pres-body: 1.25rem;
  --pres-body-lh: 1.55;
  --pres-secondary: 1.125rem;
  --pres-kicker: 0.875rem;
  --pres-wrap: min(68rem, calc(100% - 2.5rem));
  --pres-radius: 12px;
  --pres-focus: 3px solid var(--pres-gold);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.pres {
  margin: 0;
  font-family: var(--pres-font);
  font-size: var(--pres-body);
  line-height: var(--pres-body-lh);
  color: var(--pres-ink);
  background: var(--pres-cream);
}

.pres-wrap {
  width: var(--pres-wrap);
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  z-index: 200;
  padding: 0.5rem 0.85rem;
  background: var(--pres-white);
  color: var(--pres-teal);
  border: 2px solid var(--pres-teal);
  outline: none;
}

.pres :focus {
  outline: none;
}
.pres :focus-visible {
  outline: 3px solid var(--pres-teal);
  outline-offset: 3px;
}
.pres-hero :focus-visible,
.pres-header :focus-visible,
.pres-cta :focus-visible,
.pres-footer :focus-visible,
.pres-compare :focus-visible {
  outline-color: var(--pres-gold);
}
.pres-deck-bar :focus-visible {
  outline-color: var(--pres-cream);
}

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

/* Internal compare strip — not part of the parish visual language */
.pres-compare {
  background: #111827;
  color: #e5e7eb;
  font-size: 0.95rem;
  line-height: 1.4;
  position: sticky;
  top: 0;
  z-index: 50;
}
.pres-compare .pres-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: center;
  padding: 0.55rem 0;
}
.pres-compare p {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}
.pres-compare ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.pres-compare a {
  color: #dbeafe;
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 0.15rem;
}
.pres-compare a:hover {
  text-decoration: underline;
}
.pres-compare a[aria-current="page"] {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
}

/* Mode chip: briefing vs records */
.pres-mode {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0.15rem 0.7rem;
  border: 1px solid var(--pres-gold);
  border-radius: 999px;
  color: var(--pres-gold);
  font-size: var(--pres-kicker);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pres-mode a {
  color: inherit;
  text-decoration: none;
}
.pres-mode a:hover,
.pres-mode a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.pres-mode--on-cream {
  color: var(--pres-teal);
  border-color: var(--pres-teal);
}
.pres-mode--records {
  color: #141816;
  border-color: #c5bfb4;
  background: #f5f3ef;
  font-family: var(--pres-serif);
  letter-spacing: 0.08em;
}

/* Hero header (leave-behind) */
.pres-hero {
  background: var(--pres-teal);
  color: var(--pres-white);
  padding: 2.25rem 0 2.5rem;
}
.pres-hero h1 {
  margin: 1rem 0 0.75rem;
  font-size: var(--pres-display);
  line-height: var(--pres-display-lh);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pres-white);
}
.pres-hero__place {
  display: block;
}
@media (min-width: 52rem) {
  .pres-hero__place {
    white-space: nowrap;
  }
}
.pres-hero .pres-lede {
  margin: 0;
  max-width: 40rem;
  color: var(--pres-mist);
  font-size: var(--pres-body);
  line-height: var(--pres-body-lh);
}

/* Compact header for inner pages */
.pres-header {
  background: var(--pres-teal);
  color: var(--pres-white);
  padding: 1rem 0 1.15rem;
}
.pres-header__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.pres-brand {
  margin: 0;
  font-size: var(--pres-secondary);
  font-weight: 700;
}
.pres-brand a {
  color: var(--pres-white);
  text-decoration: none;
}
.pres-brand a:hover {
  text-decoration: underline;
}

.pres-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
.pres-header .pres-nav {
  margin-top: 0.35rem;
}
.pres-hero .pres-nav {
  margin-top: 1.35rem;
  gap: 0.25rem 1.75rem;
}
.pres-hero .pres-nav a {
  font-size: var(--pres-section);
  font-weight: 700;
}
.pres-nav a {
  color: var(--pres-white);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: var(--pres-secondary);
  border-bottom: 2px solid transparent;
}
.pres-nav a:hover {
  border-bottom-color: var(--pres-gold);
}
.pres-nav a[aria-current="page"] {
  border-bottom-color: var(--pres-gold);
  font-weight: 700;
}

.pres-kicker {
  margin: 0 0 0.5rem;
  font-size: var(--pres-kicker);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pres-teal);
}
.pres-hero .pres-kicker {
  color: var(--pres-gold);
}

.pres-main a {
  color: var(--pres-teal);
  font-weight: 600;
}
.pres-main a:hover {
  text-decoration: underline;
}
.pres-main .pres-btn {
  color: var(--pres-teal-deep);
  font-weight: 700;
  text-decoration: none;
}

.pres-main {
  padding: 2rem 0 3rem;
}

.pres-intro {
  margin: 0 0 2rem;
  color: var(--pres-ink);
}
.pres-intro p {
  margin: 0 0 0.85rem;
  max-width: 46rem;
}
.pres-intro p:last-child {
  margin-bottom: 0;
}

.pres-cue {
  background: var(--pres-mint);
  border-left: 5px solid var(--pres-gold);
  border-radius: 0 var(--pres-radius) var(--pres-radius) 0;
  padding: 0.9rem 1.15rem;
  margin: 0 0 2rem;
  max-width: 46rem;
}
.pres-cue p {
  margin: 0;
}

.pres-section {
  margin: 0 0 2.25rem;
}
.pres-section__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-size: var(--pres-section);
  line-height: var(--pres-section-lh);
  font-weight: 700;
  color: var(--pres-teal);
}
.pres-section__title::before {
  content: "";
  width: 5px;
  height: 1.15em;
  background: var(--pres-gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.pres-section__lede {
  margin: -0.35rem 0 1.15rem;
  color: var(--pres-slate);
  max-width: 42rem;
}

.pres-grid {
  display: grid;
  gap: 1rem;
}
.pres-grid--3 {
  grid-template-columns: repeat(3, 1fr);
}
.pres-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.pres-card {
  background: var(--pres-white);
  border-radius: var(--pres-radius);
  padding: 1.15rem 1.2rem 1.25rem;
}
.pres-card--mint {
  background: var(--pres-mint);
}
.pres-card--mist {
  background: var(--pres-mist);
}
.pres-card--sage {
  background: #eef1e6;
  background: color-mix(in srgb, var(--pres-sage) 20%, var(--pres-cream));
}
.pres-card--warm {
  background: #f4ead3;
  background: color-mix(in srgb, var(--pres-gold) 22%, var(--pres-cream));
}
.pres-card--bar {
  border-left: 6px solid var(--pres-gold);
}
.pres-card h2,
.pres-card h3 {
  margin: 0.35rem 0 0.4rem;
  font-size: var(--pres-secondary);
  font-weight: 700;
  color: var(--pres-teal);
}
.pres-card p {
  margin: 0;
  color: var(--pres-ink);
  font-size: var(--pres-secondary);
  line-height: 1.45;
}

.pres-more {
  margin: 1rem 0 0;
}
.pres-more a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.pres-page-title {
  margin: 0 0 1rem;
  font-size: var(--pres-display);
  line-height: var(--pres-display-lh);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pres-teal);
}

.pres-source {
  background: var(--pres-white);
  border-radius: var(--pres-radius);
  padding: 1.25rem 1.35rem 1.4rem;
  margin: 0 0 1rem;
  scroll-margin-top: 1.25rem;
}
.pres-source:target {
  box-shadow: inset 0 0 0 2px var(--pres-gold);
}
.pres-source__head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  margin: 0 0 1rem;
}
.pres-source__head .pres-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}
.pres-source h3 {
  margin: 0 0 0.35rem;
  font-size: var(--pres-section);
  line-height: var(--pres-section-lh);
  font-weight: 700;
  color: var(--pres-teal);
}
.pres-source__head h3 {
  margin-bottom: 0.2rem;
}
.pres-source__meta {
  margin: 0;
  color: var(--pres-slate);
  font-size: var(--pres-secondary);
}
.pres-source dl {
  margin: 0;
}
.pres-source dt {
  margin: 0.9rem 0 0;
  font-size: var(--pres-kicker);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pres-teal);
}
.pres-source dt:first-child {
  margin-top: 0;
}
.pres-source dd {
  margin: 0.25rem 0 0;
}
.pres-source__cite,
.pres-pack__cite {
  margin: 0.85rem 0 0;
}
.pres-source__cite a,
.pres-pack__cite a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.pres-pack-list {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.15rem;
}
.pres-pack-list > li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.pres-pack__icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.pres-pack__kind {
  margin: 0 0 0.2rem;
  font-size: var(--pres-kicker);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pres-teal);
}
.pres-pack__title {
  margin: 0;
  font-weight: 700;
  color: var(--pres-ink);
}
.pres-pack__meta,
.pres-pack__note,
.pres-pack__rights {
  margin: 0.3rem 0 0;
  color: var(--pres-ink);
}
.pres-pack__meta,
.pres-pack__rights {
  color: var(--pres-slate);
  font-size: var(--pres-secondary);
}

.pres-icon {
  display: block;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.35rem;
}

.pres-later .pres-card h3 {
  color: var(--pres-slate);
}
.pres-later-note {
  margin: 0.75rem 0 0;
  font-size: var(--pres-kicker);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pres-terracotta);
}

/* Dark CTA: enter the records */
.pres-cta {
  background: var(--pres-teal);
  color: var(--pres-white);
  padding: 2rem 0 2.25rem;
}
.pres-cta h2 {
  margin: 0 0 0.6rem;
  font-size: var(--pres-section);
  color: var(--pres-white);
}
.pres-cta p {
  margin: 0 0 1.15rem;
  max-width: 40rem;
  color: var(--pres-mist);
}
.pres-cta__box {
  background: var(--pres-teal-deep);
  border-radius: var(--pres-radius);
  padding: 1.15rem 1.25rem;
}

.pres-record-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}
.pres-record-list a {
  display: block;
  background: var(--pres-white);
  color: var(--pres-ink);
  text-decoration: none;
  border-radius: 8px;
  padding: 0.85rem 1rem;
  min-height: 44px;
}
.pres-record-list a:hover {
  box-shadow: inset 0 0 0 2px var(--pres-gold);
}
.pres-record-list .kicker {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pres-teal-mid);
  margin-bottom: 0.15rem;
}
.pres-record-list .title {
  display: block;
  font-weight: 700;
  color: var(--pres-teal);
  font-size: var(--pres-secondary);
}
.pres-record-list .meta {
  display: block;
  color: var(--pres-slate);
  font-size: 1rem;
  margin-top: 0.15rem;
}

.pres-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.55rem 1.15rem;
  background: var(--pres-gold);
  color: var(--pres-teal-deep);
  font-weight: 700;
  text-decoration: none;
  border-radius: 8px;
  font-size: var(--pres-secondary);
}
.pres-btn:hover {
  filter: brightness(1.05);
}
.pres-btn--ghost {
  background: transparent;
  color: var(--pres-white);
  box-shadow: inset 0 0 0 2px var(--pres-gold);
}
.pres-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* Numbered path (deck slide 8) */
.pres-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.pres-steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--pres-white);
  border-top: 5px solid var(--pres-gold);
  border-radius: 0 0 var(--pres-radius) var(--pres-radius);
  padding: 1.1rem 1.2rem;
}
.pres-steps .num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--pres-teal);
  line-height: 1;
}
.pres-steps h2,
.pres-steps h3 {
  margin: 0 0 0.3rem;
  font-size: var(--pres-secondary);
  color: var(--pres-teal);
}
.pres-steps .pres-record-list {
  margin-top: 0.85rem;
}
.pres-grid + .pres-section {
  margin-top: 2rem;
}
.pres-steps p {
  margin: 0;
}

/* Threshold between briefing and records */
.pres-threshold {
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 4px solid var(--pres-gold);
}
.pres-threshold__label {
  margin: 0 0 0.75rem;
  font-size: var(--pres-kicker);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pres-terracotta);
}

/* Framed mimic of the commemorative record style */
.pres-records-frame {
  background: #faf9f7;
  border: 1px solid #ddd8cf;
  border-radius: 2px;
  padding: 1.5rem 1.35rem 1.25rem;
  font-family: "Open Sans", "Segoe UI", Arial, sans-serif;
}
.pres-records-frame .record-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4a524c;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
}
.pres-records-frame h2 {
  margin: 0 0 0.5rem;
  font-family: var(--pres-serif);
  font-weight: 400;
  font-size: 1.375rem;
  color: #141816;
}
.pres-records-frame > p {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  color: #1f2420;
  max-width: 38rem;
}
.pres-records-frame ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #ddd8cf;
}
.pres-records-frame li {
  border-bottom: 1px solid #ddd8cf;
}
.pres-records-frame a {
  display: block;
  padding: 0.85rem 0;
  min-height: 44px;
  color: #3d4f5f;
  text-decoration: none;
}
.pres-records-frame a:hover {
  text-decoration: underline;
}
.pres-records-frame .entry-title {
  font-family: var(--pres-serif);
  font-size: 1.125rem;
  color: #141816;
}
.pres-records-frame .entry-meta {
  display: block;
  margin-top: 0.2rem;
  font-size: 1rem;
  color: #4a524c;
}

/* Timeline (Guise / uncertainty) */
.pres-timeline {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}
.pres-timeline li {
  background: var(--pres-white);
  border-top: 5px solid var(--pres-gold);
  border-radius: 0 0 var(--pres-radius) var(--pres-radius);
  padding: 0.9rem 0.95rem 1rem;
}
.pres-timeline strong {
  display: block;
  font-size: 1.35rem;
  color: var(--pres-teal);
  margin-bottom: 0.25rem;
}
.pres-timeline span {
  display: block;
  font-size: 1rem;
  color: var(--pres-slate);
}

.pres-retain {
  background: var(--pres-mist);
  border-radius: var(--pres-radius);
  padding: 1.1rem 1.25rem;
}
.pres-retain h3 {
  margin: 0 0 0.5rem;
  color: var(--pres-teal);
  font-size: var(--pres-secondary);
}
.pres-retain ul {
  margin: 0;
  padding-left: 1.2rem;
}
.pres-retain li {
  margin: 0 0 0.35rem;
}

.pres-footer {
  background: var(--pres-teal-deep);
  color: var(--pres-mist);
  padding: 1.5rem 0;
}
.pres-footer p {
  margin: 0;
  font-size: 1rem;
  max-width: 42rem;
}
.pres-footer a {
  color: var(--pres-mist);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.pres-footer a:hover,
.pres-footer a:focus-visible {
  color: var(--pres-white);
}
.pres-footer__aside {
  margin-top: 0.75rem;
}

/* Four-stage making-of process */
.pres-process {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
.pres-process > li {
  position: relative;
  margin: 0;
  background: var(--pres-white);
  border-top: 5px solid var(--pres-gold);
  border-radius: 0 0 var(--pres-radius) var(--pres-radius);
  padding: 1.15rem 1.2rem 1.25rem;
}
.pres-process > li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.25rem;
  width: 4px;
  height: 1.25rem;
  background: var(--pres-gold);
  transform: translateX(-50%);
}
.pres-process__num {
  margin: 0 0 0.45rem;
  font-size: 2rem;
  font-weight: 700;
  color: var(--pres-teal);
  line-height: 1;
}
.pres-process h3 {
  margin: 0.45rem 0 0.35rem;
  font-size: var(--pres-secondary);
  color: var(--pres-teal);
}
.pres-process p {
  margin: 0;
  font-size: var(--pres-secondary);
}
.pres-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
}
.pres-chips li {
  margin: 0;
  padding: 0.2rem 0.55rem;
  background: var(--pres-mint);
  color: var(--pres-teal);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 4px;
}

.pres-btn[hidden] {
  display: none !important;
}

.pres-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  filter: none;
}

/* How-this-was-made deck */
.pres-deck-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  --pres-wrap: min(72rem, calc(100% - 2.5rem));
}
.pres-deck-page .pres-header {
  flex-shrink: 0;
}
.pres-deck {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 0;
  padding: 1.25rem 0 1.5rem;
  overflow: auto;
}
.pres-deck__masthead {
  width: var(--pres-wrap);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  margin: 0 0 1rem;
}
.pres-deck__title {
  margin: 0;
  font-size: var(--pres-display);
  line-height: var(--pres-display-lh);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pres-teal);
}
.pres-deck__lede {
  margin: 0;
  max-width: 40rem;
  font-size: var(--pres-body);
  line-height: var(--pres-body-lh);
  color: var(--pres-teal);
}
.pres-slide {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(14rem, 0.95fr);
  gap: 2rem 2.5rem;
  align-items: center;
  width: var(--pres-wrap);
  flex: 1 1 auto;
  min-height: 0;
}
.pres-slide[hidden] {
  display: none;
}
.pres-slide__copy {
  min-width: 0;
}
.pres-slide__visual {
  min-height: 16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pres-white);
  border-top: 5px solid var(--pres-gold);
  border-radius: 0 0 var(--pres-radius) var(--pres-radius);
  padding: 1.25rem 1.35rem;
}
.pres-graphic {
  display: block;
  width: min(100%, 18rem);
  height: auto;
}
.pres-slide__kicker {
  margin: 0 0 0.35rem;
  font-size: var(--pres-kicker);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pres-teal);
}
.pres-slide__num {
  margin: 0;
  font-size: clamp(3.25rem, 10vw, 5.5rem);
  font-weight: 700;
  line-height: 0.9;
  color: var(--pres-teal);
  letter-spacing: -0.04em;
}
.pres-slide__bar {
  display: block;
  width: 4.5rem;
  height: 5px;
  margin: 0.55rem 0 1.1rem;
  background: var(--pres-gold);
  border-radius: 2px;
  transform-origin: left center;
}
.pres-slide__primary {
  margin: 0 0 0.55rem;
  font-size: var(--pres-section);
  line-height: var(--pres-section-lh);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--pres-teal);
}
.pres-slide__secondary {
  margin: 0;
  max-width: 36rem;
  font-size: var(--pres-body);
  line-height: var(--pres-body-lh);
  color: var(--pres-slate);
}
.pres-flow {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 36rem;
}
.pres-flow > li {
  display: grid;
  grid-template-columns: 2.25rem 1fr;
  gap: 0.75rem;
  align-items: center;
  background: var(--pres-white);
  border-left: 6px solid var(--pres-gold);
  border-radius: 0 var(--pres-radius) var(--pres-radius) 0;
  padding: 0.85rem 1.1rem;
}
.pres-flow__num {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--pres-teal);
}
.pres-flow__label {
  font-size: var(--pres-secondary);
  font-weight: 700;
  color: var(--pres-teal);
}
.pres-slide--summary .pres-flow {
  gap: 0.3rem;
  margin-top: 1rem;
}
.pres-slide--summary .pres-flow > li {
  padding: 0.4rem 0.75rem;
  grid-template-columns: 1.6rem 1fr;
}
.pres-slide--summary .pres-flow__num {
  font-size: 1.1rem;
}
.pres-slide--summary .pres-flow__label {
  font-size: 1rem;
}

.pres-deck-bar {
  flex-shrink: 0;
  padding: 1rem 0 1.15rem;
}
.pres-deck-bar__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}
.pres-deck-bar__row [data-deck-prev] {
  justify-self: start;
}
.pres-deck-bar__next {
  justify-self: end;
  display: flex;
  justify-content: flex-end;
}
.pres-deck-bar__status {
  margin: 0;
  font-size: var(--pres-secondary);
  font-weight: 700;
  color: var(--pres-white);
  font-variant-numeric: tabular-nums;
}
.pres-deck-bar__hint {
  margin: 0.65rem 0 0;
  text-align: center;
  font-size: 1rem;
  color: var(--pres-mist);
}

@keyframes pres-slide-in {
  from {
    opacity: 0;
    transform: translateY(0.7rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pres-slide-nudge {
  from {
    transform: translateY(0.35rem);
  }
  to {
    transform: none;
  }
}
@keyframes pres-bar-grow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}
@keyframes pres-flow-in {
  from {
    opacity: 0;
    transform: translateY(-0.85rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pres-from-left {
  from {
    opacity: 0;
    transform: translateX(-1.1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pres-from-right {
  from {
    opacity: 0;
    transform: translateX(1.1rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes pres-glass {
  from {
    opacity: 0;
    transform: translate(-1.5rem, 0.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.pres-slide.is-active .pres-slide__kicker,
.pres-slide.is-active .pres-slide__primary,
.pres-slide.is-active .pres-slide__secondary {
  animation: pres-slide-nudge 0.45s ease both;
}
.pres-slide.is-active .pres-slide__num {
  animation: pres-slide-in 0.55s ease both;
}
.pres-slide.is-active .pres-slide__bar {
  animation: pres-bar-grow 0.5s ease 0.12s both;
}
.pres-slide.is-active .pres-slide__visual {
  animation: pres-slide-nudge 0.5s ease 0.12s both;
}
.pres-slide.is-active .g-d1 { animation: pres-flow-in 0.4s ease 0.12s both; }
.pres-slide.is-active .g-d2 { animation: pres-flow-in 0.4s ease 0.24s both; }
.pres-slide.is-active .g-d3 { animation: pres-flow-in 0.4s ease 0.36s both; }
.pres-slide.is-active .g-d4 { animation: pres-flow-in 0.4s ease 0.48s both; }
.pres-slide.is-active .g-d5 { animation: pres-flow-in 0.4s ease 0.60s both; }
.pres-slide.is-active .g-d6 { animation: pres-flow-in 0.4s ease 0.72s both; }
.pres-slide.is-active .g-d7 { animation: pres-flow-in 0.4s ease 0.84s both; }
.pres-slide.is-active .g-d8 { animation: pres-flow-in 0.4s ease 0.96s both; }
.pres-slide.is-active .g-d9 { animation: pres-flow-in 0.4s ease 1.08s both; }
.pres-slide.is-active .g-from-left {
  animation: pres-from-left 0.55s ease 0.18s both;
}
.pres-slide.is-active .g-from-right {
  animation: pres-from-right 0.55s ease 0.18s both;
}
.g-ppt,
.g-ppt-lines,
.g-pdf {
  transform-box: fill-box;
}
.g-pdf {
  transform-origin: left center;
}
@keyframes pres-shed {
  from {
    opacity: 0.9;
    transform: translate(-5.2rem, 0.35rem) scale(0.94);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.pres-slide.is-active .g-ppt {
  animation: pres-flow-in 0.5s ease 0.12s both;
}
.pres-slide.is-active .g-ppt-lines {
  animation: pres-flow-in 0.4s ease 0.4s both;
}
.pres-slide.is-active .g-pdf {
  animation: pres-shed 0.75s ease 0.7s both;
}
.pres-slide.is-active .g-glass {
  animation: pres-glass 0.7s ease 0.22s both;
}
.pres-slide.is-active .g-pencil {
  animation: pres-slide-in 0.5s ease 0.35s both;
}
.pres-slide.is-active .g-proj-path {
  animation: pres-flow-in 0.4s ease 0.42s both;
}
.pres-slide.is-active .g-proj-sub-1 {
  animation: pres-slide-in 0.45s ease 0.75s both;
}
.pres-slide.is-active .g-proj-sub-2 {
  animation: pres-slide-in 0.45s ease 0.95s both;
}
.g-plan,
.g-plan-tick-1,
.g-plan-tick-2,
.g-plan-tick-3,
.g-sample {
  transform-box: fill-box;
}
.pres-slide.is-active .g-plan {
  animation: pres-flow-in 0.45s ease 0.12s both;
}
.pres-slide.is-active .g-plan-tick-1 {
  animation: pres-flow-in 0.35s ease 0.7s both;
}
.pres-slide.is-active .g-plan-tick-2 {
  animation: pres-flow-in 0.35s ease 0.95s both;
}
.pres-slide.is-active .g-plan-tick-3 {
  animation: pres-flow-in 0.35s ease 1.2s both;
}
.pres-slide.is-active .g-sample {
  animation: pres-flow-in 0.45s ease 1.5s both;
}
.pres-slide.is-active .g-data-body {
  animation:
    pres-flow-in 0.4s ease 0.5s both,
    pres-data-refresh 0.7s ease 1.85s both;
}
@keyframes pres-data-refresh {
  0% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.pres-slide.is-active .g-data-wrong {
  animation: pres-wrong-flash 1.05s ease 1.1s both;
}
@keyframes pres-wrong-flash {
  0%,
  100% {
    opacity: 0;
  }
  12%,
  72% {
    opacity: 1;
  }
}
.pres-slide.is-active .g-data-edit {
  animation: pres-flow-in 0.35s ease 1.35s both;
}
.pres-slide.is-active .g-chat-frame {
  animation: pres-flow-in 0.45s ease 0.12s both;
}
.pres-slide.is-active .g-chat-input {
  animation: pres-flow-in 0.4s ease 0.28s both;
}
.pres-slide.is-active .g-chat-user {
  animation: pres-from-right 0.4s ease 0.45s both;
}
.pres-slide.is-active .g-chat-ai {
  animation: pres-flow-in 0.45s ease 0.75s both;
}
.pres-slide.is-active .g-chat-user-2 {
  animation: pres-from-right 0.4s ease 1.05s both;
}
.pres-slide.is-active .g-chat-ai-2 {
  animation: pres-flow-in 0.45s ease 1.35s both;
}
.pres-slide.is-active .g-caret {
  animation: pres-caret 1s steps(1) 0.4s infinite;
}
@keyframes pres-caret {
  0%,
  49% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}
.pres-slide.is-active .g-tick-1 { animation: pres-flow-in 0.35s ease 1.05s both; }
.pres-slide.is-active .g-tick-2 { animation: pres-flow-in 0.35s ease 1.28s both; }
.pres-slide.is-active .g-tick-3 { animation: pres-flow-in 0.35s ease 1.51s both; }
.pres-slide.is-active .g-tick-4 { animation: pres-flow-in 0.35s ease 1.74s both; }
.pres-slide.is-active .g-tick-5 { animation: pres-flow-in 0.35s ease 1.97s both; }
.pres-slide--summary.is-active .g-sum-tick-1 { animation: pres-flow-in 0.35s ease 1.40s both; }
.pres-slide--summary.is-active .g-sum-tick-2 { animation: pres-flow-in 0.35s ease 1.55s both; }
.pres-slide--summary.is-active .g-sum-tick-3 { animation: pres-flow-in 0.35s ease 1.70s both; }
.pres-slide--summary.is-active .g-sum-tick-4 { animation: pres-flow-in 0.35s ease 1.85s both; }
.pres-slide--summary.is-active .g-sum-tick-5 { animation: pres-flow-in 0.35s ease 2.00s both; }
.pres-slide--summary.is-active .g-sum-tick-6 { animation: pres-flow-in 0.35s ease 2.15s both; }
.pres-slide--summary.is-active .g-sum-tick-7 { animation: pres-flow-in 0.35s ease 2.30s both; }
.pres-slide--summary.is-active .g-sum-tick-8 { animation: pres-flow-in 0.35s ease 2.45s both; }
.pres-slide--summary.is-active .pres-flow > li:nth-child(1) { animation: pres-flow-in 0.4s ease 0.12s both; }
.pres-slide--summary.is-active .pres-flow > li:nth-child(2) { animation: pres-flow-in 0.4s ease 0.24s both; }
.pres-slide--summary.is-active .pres-flow > li:nth-child(3) { animation: pres-flow-in 0.4s ease 0.36s both; }
.pres-slide--summary.is-active .pres-flow > li:nth-child(4) { animation: pres-flow-in 0.4s ease 0.48s both; }
.pres-slide--summary.is-active .pres-flow > li:nth-child(5) { animation: pres-flow-in 0.4s ease 0.60s both; }
.pres-slide--summary.is-active .pres-flow > li:nth-child(6) { animation: pres-flow-in 0.4s ease 0.72s both; }
.pres-slide--summary.is-active .pres-flow > li:nth-child(7) { animation: pres-flow-in 0.4s ease 0.84s both; }
.pres-slide--summary.is-active .pres-flow > li:nth-child(8) { animation: pres-flow-in 0.4s ease 0.96s both; }
.pres-slide--summary.is-active .pres-flow > li:nth-child(9) { animation: pres-flow-in 0.4s ease 1.08s both; }

@media (max-width: 52rem) {
  .pres-grid--3,
  .pres-grid--2,
  .pres-timeline {
    grid-template-columns: 1fr;
  }
  .pres-hero h1 {
    font-size: 2rem;
  }
  .pres-page-title {
    font-size: 2rem;
  }
  .pres-deck__title {
    font-size: 2rem;
  }
  .pres-slide {
    grid-template-columns: 1fr;
  }
  .pres-slide__visual {
    min-height: 12rem;
    order: 1;
  }
  .pres-deck-bar__row {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }
  .pres-deck-bar__row [data-deck-prev],
  .pres-deck-bar__next {
    justify-self: stretch;
  }
  .pres-deck-bar__next .pres-btn {
    width: 100%;
    justify-content: center;
  }
  .pres-deck-bar__status {
    order: -1;
    text-align: center;
  }
}

@media (min-width: 52rem) {
  .pres-process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .pres-process > li:not(:last-child)::after {
    left: auto;
    right: -1.25rem;
    top: 50%;
    bottom: auto;
    width: 1.25rem;
    height: 4px;
    transform: translateY(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .pres-btn:hover,
  .pres-record-list a:hover {
    filter: none;
  }
  .pres-slide.is-active .pres-slide__kicker,
  .pres-slide.is-active .pres-slide__num,
  .pres-slide.is-active .pres-slide__bar,
  .pres-slide.is-active .pres-slide__primary,
  .pres-slide.is-active .pres-slide__secondary,
  .pres-slide.is-active .pres-slide__visual,
  .pres-slide.is-active .pres-flow > li,
  .pres-slide.is-active .pres-graphic * {
    animation: none;
  }
  .g-caret {
    opacity: 1;
  }
}
