/* Visitor Acceptance of a Hybrid Human-AI Walking Tour, ENTER27
   Palette: Valletta limestone, dark grey ink, Knights' red (human) and blue (hybrid).
   Type: Atkinson Hyperlegible throughout (regular 400, bold 700).
   Scale: 200 (hero number) / 96 / 60 / 40 / 28 / 24 */

body {
  --ink: #1E1E1E;
  --ink-soft: #565656;
  --paper: #F6F1E6;
  --paper-deep: #EAE1CE;
  --line: #D9CFBA;
  --card: #FFFFFF;
  --red: #8E1F24;
  --red-soft: #C98A7C;
  --blue: #2F6AA3;
  --blue-soft: #8FB2D3;
  --neutral: #B9B09C;
  --on-dark: #F6F1E6;
  --on-dark-soft: #C6C6C6;
  font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
  color: #1E1E1E;
}

section {
  counter-increment: page;
  padding: 128px 128px 160px;
  background: #F6F1E6;
  display: flex;
  flex-direction: column;
  color: #1E1E1E;
}

h1, h2, h3 { font-family: 'Atkinson Hyperlegible', Arial, sans-serif; }

/* ---------- shared pieces ---------- */

.eyebrow {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
}

.title {
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-top: 16px;
}

.head { margin-bottom: 48px; }

.lead {
  font-size: 40px;
  line-height: 1.3;
  color: var(--ink);
}

.text {
  font-size: 28px;
  line-height: 1.4;
  color: var(--ink-soft);
}

.small {
  font-size: 24px;
  line-height: 1.4;
  color: var(--ink-soft);
}

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

.num {
  font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
  font-size: 200px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -4px;
  color: var(--ink);
  animation: rise 0.5s ease-out both;
}

.num-mid {
  font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
  color: var(--ink);
}

.red { color: var(--red); }
.blue { color: var(--blue); }

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.foot {
  position: absolute;
  left: 128px;
  right: 128px;
  bottom: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.foot-l {
  font-size: 24px;
  max-width: 1500px;
  line-height: 1.3;
  color: var(--ink-soft);
}

.foot-n {
  font-size: 24px;
  color: var(--ink-soft);
}

.foot-n::after { content: counter(page); }

.row { display: flex; gap: 48px; }
.col { display: flex; flex-direction: column; }
.grow { flex: 1; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fig {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rule {
  border-top: 2px solid var(--line);
  width: 100%;
}

/* ---------- cover and closing (dark) ---------- */

.cover {
  background: #1E1E1E;
  color: #F6F1E6;
  padding: 128px;
  justify-content: space-between;
}

.cover .eyebrow { color: #E0A79A; }

.cover-title {
  font-size: 96px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--on-dark);
  margin-top: 32px;
  width: 1400px;
}

.cover-rule {
  border-top: 4px solid #B5373C;
  width: 160px;
  margin-bottom: 40px;
}

.cover-authors {
  font-size: 40px;
  line-height: 1.3;
  color: var(--on-dark);
}

.cover-meta {
  font-size: 28px;
  line-height: 1.4;
  color: var(--on-dark-soft);
  margin-top: 12px;
}

.cover .small { color: var(--on-dark-soft); }

.qr {
  width: 260px;
  height: 260px;
  border: 2px dashed #C6C6C6;
  border-radius: 12px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.end { align-items: flex-end; }

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

/* Scrims over photos follow the text: a light even tint, then a gradient that is
   darkest on the side the text sits on and lets the photo show on the other. */

.scrim-base {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  background: rgba(18, 18, 18, 0.22);
}

/* text on the left: dark at the left edge, clearing towards the right */
.scrim-left {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 1080px;
  background: linear-gradient(90deg, rgba(18, 18, 18, 0.84) 0%, rgba(18, 18, 18, 0.72) 60%, rgba(18, 18, 18, 0.12) 100%);
}

/* text along the bottom edge: a fade up from the bottom */
.scrim-bottom {
  position: absolute;
  left: 0;
  top: 560px;
  width: 1920px;
  height: 520px;
  background: linear-gradient(0deg, rgba(18, 18, 18, 0.78) 0%, rgba(18, 18, 18, 0) 100%);
}

/* logos along the top edge: a short fade down from the top */
.scrim-top {
  position: absolute;
  left: 0;
  top: 0;
  width: 1920px;
  height: 340px;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.60) 0%, rgba(18, 18, 18, 0) 100%);
}

.cover-photo { padding: 88px 128px 80px; }

.logo-row { display: flex; align-items: center; gap: 72px; }

.photo-slide {
  padding: 0;
  background: #1E1E1E;
  justify-content: flex-end;
}

/* caption at the bottom: dark at the bottom edge, fading up into the photo */
.caption-band {
  padding: 150px 128px 56px;
  background: linear-gradient(0deg, rgba(18, 18, 18, 0.94) 0%, rgba(18, 18, 18, 0.82) 48%, rgba(18, 18, 18, 0) 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}

.caption-band .eyebrow { color: #E0A79A; }

/* page number on full-image slides: same spot as the footer number elsewhere */
.photo-n {
  position: absolute;
  right: 128px;
  bottom: 64px;
  font-size: 24px;
  color: #C6C6C6;
}
.photo-n::after { content: counter(page); }
.photo-n-close { bottom: 28px; }
.caption-band .caption { max-width: 1500px; }

.caption {
  font-size: 40px;
  line-height: 1.3;
  color: #F6F1E6;
}

.pcard {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pcard-body {
  padding: 24px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qr-tile {
  width: 244px;
  height: 244px;
  background: #FFFFFF;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.statement {
  background: #8E1F24;
  color: #F6F1E6;
  padding: 128px;
  justify-content: center;
}

.statement .eyebrow { color: #F2CFC5; }

.statement .num {
  font-size: 360px;
  letter-spacing: -8px;
  color: var(--on-dark);
}

.statement-line {
  font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
  font-size: 96px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--on-dark);
}

.statement-sub {
  font-size: 40px;
  line-height: 1.3;
  color: #F2CFC5;
  margin-top: 24px;
}

.deep { background: #EAE1CE; }

/* ---------- stat tiles ---------- */

.stat-label {
  font-size: 28px;
  line-height: 1.35;
  color: var(--ink-soft);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}

/* ---------- lists ---------- */

.points {
  font-size: 40px;
  line-height: 1.3;
  color: var(--ink);
  padding-left: 44px;
}

.points li { margin-top: 40px; }

.tick-row { display: flex; align-items: center; gap: 24px; }

.tick { width: 48px; height: 48px; color: var(--red); }

.gap-s { gap: 24px; }
.gap-m { gap: 32px; }
.gap-l { gap: 48px; }
.center { align-items: center; }
.between { justify-content: space-between; }

.question {
  border-top: 2px solid var(--line);
  padding-top: 32px;
  font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

/* ---------- chat exchange ---------- */

.chat {
  background: #232323;
  border-radius: 24px;
  padding: 48px 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.chat-user {
  align-self: flex-end;
  background: #383838;
  border-radius: 16px;
  padding: 16px 28px;
  font-size: 28px;
  color: #F3F1EC;
}

.chat-bot {
  font-size: 28px;
  line-height: 1.4;
  color: #F3F1EC;
}

.chat-quote {
  font-size: 28px;
  line-height: 1.4;
  font-style: italic;
  color: #F3F1EC;
}

.chat-name {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #9FD8B4;
}

.grid2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.card-title {
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
}

.tight { padding: 32px; }

/* ---------- system flow ---------- */

.flow { display: flex; align-items: stretch; gap: 20px; }

.flow-card {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-arrow { display: flex; align-items: center; }

.arrow { width: 48px; height: 24px; background: var(--neutral); }

.parts {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
}

.part {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
  font-size: 28px;
  line-height: 1.35;
  color: var(--ink);
}

/* ---------- bar charts ---------- */

.bars {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0 32px;
}

.span2 { grid-column: span 2; }

.g-red { border-top: 6px solid #8E1F24; padding-top: 16px; }
.g-neutral { border-top: 6px solid #B9B09C; padding-top: 16px; }
.g-blue { border-top: 6px solid #2F6AA3; padding-top: 16px; }

.bar-cell {
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--ink);
}

.bar-val {
  font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.bar { width: 100%; border-radius: 6px 6px 0 0; }

.bar-label {
  font-size: 28px;
  line-height: 1.3;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 16px;
}

.group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.group-pct {
  font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
  font-size: 96px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -2px;
}

.group-label {
  font-size: 28px;
  line-height: 1.3;
  color: var(--ink-soft);
}

.fill-red { background: var(--red); }
.fill-red-soft { background: var(--red-soft); }
.fill-neutral { background: var(--neutral); }
.fill-blue-soft { background: var(--blue-soft); }
.fill-blue { background: var(--blue); }
.fill-ink { background: var(--ink); }

/* horizontal bars (correlations) */

.hgrid {
  display: grid;
  grid-template-columns: 620px 1fr 1fr;
  gap: 44px 48px;
  align-items: center;
}

.hhead {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hname {
  font-size: 40px;
  line-height: 1.2;
  color: var(--ink);
}

.hbar-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hbar { height: 44px; border-radius: 0 6px 6px 0; }

.hval {
  font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.hval-ns {
  font-family: 'Atkinson Hyperlegible', Arial, sans-serif;
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink-soft);
}

.muted { color: var(--ink-soft); }

/* segmented bar (trust) */

.seg-bar {
  display: flex;
  width: 100%;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
}

.seg-labels { display: flex; width: 100%; margin-top: 20px; }

.seg-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 24px;
}

/* tables */

.table {
  width: 100%;
  font-size: 32px;
  color: var(--ink);
}

.table-head { background: var(--paper-deep); }

.table-l { font-size: 40px; }
.table-s { font-size: 24px; }
