@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;500;600;700&family=Source+Sans+3:wght@400;600;700&display=swap');

:root {
  --ink: #252b35;
  --muted: #667085;
  --red: #ae1f29;
  --red-dark: #8f1b24;
  --magenta: #d66bdc;
  --yellow: #f2c400;
  --orange: #ee6d38;
  --green: #26a568;
  --line: #d9dde4;
}

.reveal {
  background: #fff;
  color: var(--ink);
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-size: 30px;
}

.reveal .slides {
  text-align: left;
}

.reveal .slides section {
  box-sizing: border-box;
  padding: 44px 72px 55px;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4 {
  color: var(--red-dark);
  font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
}
.reveal h2 {
  font-size: 1.55em;
  margin: 0 0 0.55em;
}

.reveal h3 {
  font-size: 1.15em;
  margin: 0 0 0.35em;
}

.reveal h4 {
  color: var(--ink);
  font-size: 0.82em;
  margin: 0 0 0.2em;
}

.reveal p {
  line-height: 1.22;
  margin: 0.45em 0;
}

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

.reveal a {
  color: var(--red-dark);
}

.reveal .slide-number {
  color: var(--red-dark);
  background: transparent;
  font-size: 0.55em;
}

.reveal .footer {
  color: var(--muted);
  font-size: 0.5em;
}

#title-slide {
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, #fff 0 58%, #fff8f8 100%);
  padding-left: 120px !important;
  border-left: 13px solid var(--red-dark);
}
#title-slide h1 {
  font-size: 2.65em;
  margin-bottom: 0.08em;
}

#title-slide .subtitle {
  color: var(--ink);
  font-size: 1.15em;
  max-width: 800px;
}

#title-slide .author {
  color: var(--muted);
  font-size: 0.68em;
  margin-top: 1.7em;
}

.profile-card,
.objective-panel {
  border: 3px solid var(--line);
  border-radius: 24px;
  padding: 34px 42px;
  background: #fff;
  box-shadow: 0 8px 0 rgba(174,31,41,0.06);
}
.profile-card {
  max-width: 960px;
  margin: 100px auto 0;
  border-color: var(--magenta);
}

.profile-card h3 {
  color: var(--red-dark);
  font-size: 1.45em;
}

.profile-card p {
  max-width: 850px;
}

.profile-meta {
  color: var(--muted);
  font-size: 0.72em;
  margin-top: 1.3em;
}

.project-intro {
  position: relative;
  min-height: 620px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 18px 0 28px;
  text-align: center;
}

.project-statement {
  position: absolute;
  top: 25%;
  left: 50%;
  max-width: 980px;
  width: calc(100% - 40px);
  margin: 0 auto;
  transform: translate(-50%, -50%);
  font-size: 1.32em;
  line-height: 1.25;
  text-align: center;
  transition: transform 0.6s ease, margin 0.6s ease;
}

.project-lots-wrap {
  position: absolute;
  right: 0;
  bottom: 58px;
  left: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.project-lots-lead {
  margin: 0 auto 14px;
  color: var(--red-dark);
  font-weight: 700;
  text-align: center;
  font-size: 1.08em;
}

.project-lots {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.project-lots > div {
  flex: 1;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  border: none;
  border-left: 1px solid var(--line);
  border-radius: 0;
  padding: 8px 28px;
  background: transparent;
}

.project-lots > div:first-child {
  border-left: none;
}

.project-lots strong {
  color: var(--red-dark);
  display: block;
  font-size: 1.15em;
}

.project-lots span {
  color: var(--ink);
  display: block;
  font-size: 0.95em;
  line-height: 1.22;
}

.lot-people {
  min-height: 72px;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.lot-people img {
  display: block;
  width: auto;
  height: 72px;
  object-fit: contain;
}

.people-legend {
  position: absolute;
  left: 70px;
  bottom: -110px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--muted);
  font-size: 0.52em;
  line-height: 1;
  text-align: left;
}

.people-legend span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  white-space: nowrap;
}

.people-legend img {
  width: auto;
  height: 16px;
}

.experience-layout {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 34px;
  min-height: 660px;
  align-items: stretch;
}

.experience-timeline {
  border-right: 2px solid var(--line);
  padding: 12px 28px 12px 0;
}

.timeline-label {
  color: var(--muted);
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.timeline-item {
  border-left: 5px solid transparent;
  color: var(--muted);
  padding: 15px 16px 16px 20px;
  margin: 0 0 12px;
  opacity: 0.68;
}

.timeline-item.active {
  background: #fff7f7;
  border-left-color: var(--red-dark);
  color: var(--ink);
  opacity: 1;
}

.timeline-item strong,
.timeline-item small {
  display: block;
}

.timeline-item strong {
  color: inherit;
  font-size: 0.92em;
}

.timeline-item small {
  font-size: 0.7em;
  margin-top: 3px;
}

.timeline-date {
  color: var(--red-dark);
  display: block;
  font-size: 0.62em;
  font-weight: 700;
  margin-bottom: 4px;
}

.experience-detail {
  --experience-text-column: 1.2fr;
  --experience-visual-column: 0.8fr;
  display: grid;
  grid-template-columns: var(--experience-text-column) var(--experience-visual-column);
  column-gap: 34px;
  border: 3px solid var(--magenta);
  border-radius: 24px;
  padding: 32px 38px 28px;
  min-height: 600px;
}

.experience-detail h3 {
  grid-column: 1 / -1;
  color: var(--red-dark);
  font-size: 0.95em;
  max-width: 830px;
  margin: 0.15em 0 0.3em;
}

.experience-kicker {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.experience-kicker span {
  display: block;
}

.experience-kicker span + span {
  margin-top: 0.25em;
}

.experience-expertise {
  grid-column: 1;
  margin: 0.15em 0 0.2em;
  color: var(--ink);
  font-size: 0.78em;
}

.experience-expertise strong {
  color: var(--red-dark);
}

.experience-detail ul {
  margin: 0.55em 0 0.9em;
  padding-left: 1.1em;
}

.experience-detail li {
  font-size: 0.75em;
  line-height: 1.22;
  margin: 0.35em 0;
}

.experience-left {
  grid-column: 1;
  align-self: center;
}

.experience-objectives {
  margin: 0 0 0.35em;
  color: var(--red-dark);
  font-size: 0.78em;
  font-weight: 700;
}

.experience-supervision {
  margin: 0.55em 0 0;
  color: var(--ink);
  font-size: 0.68em;
}

.filler-image {
  grid-column: 2;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  font-size: 0.78em;
  height: 360px;
  justify-content: center;
  margin-top: 0.55em;
  text-align: center;
}

.filler-image span {
  color: #98a2b3;
  font-size: 0.75em;
  margin-top: 6px;
}

.filler-image img {
  display: block;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.filler-image img.calypso-image {
  height: 240px;
  max-width: none;
  transform: scale(1.5);
  width: auto;
}

.filler-image img.diffumatch-image {
  height: auto;
  max-width: none;
  transform: scale(1.25);
  width: 280px;
}

.summary-detail {
  display: block;
}

.summary-detail h3 {
  margin-bottom: 1em;
}

.summary-section {
  margin: 0 0 1.05em;
}

.summary-section h4 {
  margin: 0 0 0.25em;
  color: var(--red-dark);
  font-size: 0.95em;
}

.summary-section p {
  margin: 0;
  font-size: 0.9em;
  line-height: 1.25;
}

.publication-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 0.5em;
  text-align: center;
}

.publication-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.publication-stats strong {
  color: var(--red-dark);
  font-size: 2.5em;
  line-height: 1;
}

.publication-stats span {
  color: var(--muted);
  font-size: 0.72em;
  line-height: 1.2;
}

/* -------------------------------------------------------------------------- */
/* PEPR IA                                                                   */
/* -------------------------------------------------------------------------- */

.pepr-slide {
  min-height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 55px 70px 20px;
  box-sizing: border-box;
  text-align: center;
}

.pepr-pillars {
  width: 100%;
  max-width: 1180px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pepr-pillars > div {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--red-dark);
  border-radius: 18px;
  padding: 20px 24px;
  color: var(--red-dark);
  font-size: 1.15em;
  line-height: 1.2;
}

.pepr-context {
  width: 100%;
  max-width: 1190px;
  color: var(--ink);
  font-size: 1.05em;
  line-height: 1.35;
}

.pepr-context p {
  margin: 0 auto 22px;
}

.pepr-context blockquote {
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 35px;
  border-left: 5px solid var(--red-dark);
  color: var(--red-dark);
  font-size: 1.05em;
  font-style: italic;
  line-height: 1.35;
}

.pepr-followup {
  min-height: 670px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 45px 70px 20px;
  box-sizing: border-box;
  text-align: center;
}

.pepr-followup-label {
  width: min(1080px, 100%);
  margin: 0 0 20px;
  color: var(--ink);
  font-size: 1.15em;
  text-align: left;
}

.pepr-project {
  width: min(1120px, 100%);
  margin: 0 0 20px;
  padding: 20px 28px;
  box-sizing: border-box;
  border: 3px solid var(--red-dark);
  border-radius: 16px;
  color: var(--ink);
  font-size: 1.1em;
  line-height: 1.25;
  text-align: left;
}

.pepr-project strong {
  color: var(--red-dark);
}

.pepr-followup-conclusion {
  width: min(1120px, 100%);
  margin: 45px auto 0;
  color: var(--ink);
  font-size: 1.12em;
  line-height: 1.35;
  text-align: center;
}

.pepr-followup-conclusion strong {
  color: var(--red-dark);
}

.pepr-trust-conclusion {
  margin-top: 65px;
  font-size: 1.25em;
}

.pepr-pillars strong {
  color: var(--ink);
}

.pepr-axis-emphasis {
  color: var(--red-dark);
}

.conclusion-slide {
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 90px 20px;
  box-sizing: border-box;
}

.conclusion-slide ul {
  width: min(1160px, 100%);
  margin: 0;
  padding-left: 1.15em;
  color: var(--ink);
  font-size: 1.28em;
  line-height: 1.55;
}

.conclusion-slide li {
  margin: 0.45em 0;
}

.conclusion-slide strong {
  color: var(--red-dark);
}

.scientific-context {
  min-height: 650px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: start;
  gap: 28px;
  padding: 75px 45px 20px;
  box-sizing: border-box;
}

.scientific-lab {
  height: 250px;
  padding: 28px 30px;
  border: 3px solid currentColor;
  border-radius: 18px;
  box-sizing: border-box;
  text-align: center;
}

.scientific-lab h3 {
  margin: 0 0 24px;
  color: currentColor;
  font-size: 1.35em;
}

.scientific-lab p {
  margin: 0;
  color: var(--ink);
  font-size: 0.86em;
  line-height: 1.3;
}

.lab-lva {
  color: var(--red-dark);
}

.lab-lasti,
.lab-lsi {
  color: #2457a6;
}

.genphi-box {
  grid-column: 1 / -1;
  min-height: 95px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border: 3px solid var(--red-dark);
  border-radius: 18px;
  color: var(--red-dark);
  font-size: 1.55em;
}

.genphi-box span {
  color: var(--ink);
  font-size: 0.62em;
}

.genphi-box small {
  color: var(--muted);
  font-size: 0.42em;
}

.genphi-collaboration {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: var(--ink);
  font-size: 1.02em;
  line-height: 1.3;
  text-align: center;
}

.context-slide {
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.context-video {
  display: block;
  width: min(1180px, 92%);
  height: 650px;
  object-fit: contain;
  object-position: center;
  border-radius: 16px;
}

.gen3d-slide {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 35px 70px 18px;
  box-sizing: border-box;
  text-align: center;
}

.gen3d-slide > h3 {
  margin: 12px 0 20px;
  color: var(--ink);
  font-size: 1.12em;
}

.gen3d-slide .state-art-columns {
  width: 100%;
  margin-top: 0;
}

.gen3d-pros-cons {
  width: min(1100px, 100%);
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px 70px;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

.gen3d-pros-cons li {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink);
  font-size: 1.2em;
  line-height: 1.15;
}

.gen3d-pros-cons .positive:nth-child(1) {
  grid-area: 1 / 1 !important;
}

.gen3d-pros-cons .positive:nth-child(2) {
  grid-area: 2 / 1 !important;
}

.gen3d-pros-cons .negative:nth-child(3) {
  grid-area: 1 / 2 !important;
}

.gen3d-pros-cons .negative:nth-child(4) {
  grid-area: 2 / 2 !important;
}

.gen3d-pros-cons li span {
  min-width: 34px;
  font-size: 1.9em;
  font-weight: 700;
  line-height: 0.8;
  text-align: center;
}

.gen3d-pros-cons .positive span {
  color: #2ead67;
}

.gen3d-pros-cons .negative span {
  color: var(--red-dark);
}

.gen3d-pros-cons .positive-sign {
  color: var(--green);
}

.gen3d-pros-cons .negative-sign {
  color: var(--red-dark);
}

.gen3d-question {
  margin: 10px auto 0;
  color: var(--red-dark);
  font-size: 1.25em;
  font-style: italic;
}

.gen3d-context {
  width: min(1190px, 100%);
  color: var(--ink);
  font-size: 1.12em;
  line-height: 1.3;
}

.gen3d-context p {
  margin: 0 auto 14px;
}

.gen3d-context blockquote {
  max-width: 1080px;
  margin: 0 auto;
  padding: 12px 30px;
  border-left: none;
  color: var(--red-dark);
  font-size: 1.08em;
  font-style: italic;
  line-height: 1.3;
}

.ccp-definition {
  margin: 18px auto 0;
  color: #2f6fa3;
  font-size: 1.05em;
  font-weight: 600;
}

.cophi-context-followup {
  margin-top: 28px;
}

.state-art-slide {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 58px 20px;
  box-sizing: border-box;
  text-align: center;
}

.state-art-question {
  margin: 0 0 22px;
  color: var(--red-dark);
  font-size: 1.22em;
  font-style: italic;
}

.state-art-slide > h3 {
  margin: 0 0 28px;
  color: var(--ink);
  font-size: 1.18em;
}

.state-art-columns {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.state-art-card {
  min-height: 270px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px;
  border: 3px solid var(--line);
  border-radius: 18px;
  text-align: left;
}

.state-art-card h4 {
  margin: 0 0 24px;
  color: var(--red-dark);
  font-size: 1.05em;
  text-align: center;
}

.state-art-card p {
  margin: 8px 0;
  font-size: 0.9em;
}

.state-art-card p span {
  display: inline-block;
  width: 30px;
  font-size: 1.45em;
  font-weight: 700;
  text-align: center;
}

.state-art-card .state-positive span {
  color: var(--green);
}

.state-art-card .state-negative span {
  color: var(--red-dark);
}

.project-context-slide {
  min-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 70px 20px;
  box-sizing: border-box;
  text-align: center;
}

.project-context-slide .gen3d-context {
  width: min(1190px, 100%);
}

.lot1-focus-slide {
  position: relative;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 70px 18px;
  box-sizing: border-box;
  text-align: center;
}

.lots-summary-slide {
  min-height: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px 70px 20px;
  box-sizing: border-box;
  text-align: center;
}

.lots-summary-lead {
  margin: 0 0 34px;
  color: var(--ink);
  font-size: 1.35em;
}

.lots-summary-grid {
  width: min(1120px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.lots-summary-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 2px solid var(--red-dark);
  border-radius: 14px;
  color: var(--ink);
  font-size: 1.15em;
}

.lots-summary-card strong {
  color: var(--red-dark);
  font-size: 1.25em;
}

.lot1-focus-statement {
  width: min(1120px, 100%);
  margin: 28px auto 18px;
  color: var(--red-dark);
  font-size: 1.28em;
  line-height: 1.3;
}

.lot1-focus-statement strong {
  font-style: normal;
}

.lot1-focus-goals {
  width: min(760px, 100%);
  margin: 8px auto 0;
  color: var(--ink);
  text-align: left;
}

.lot1-focus-goals h3 {
  position: relative;
  z-index: 3;
  margin: 0 0 14px;
  color: var(--red-dark);
  font-size: 1.12em;
}

.lot1-focus-goals ul {
  margin: 0;
  padding-left: 1.25em;
  font-size: 1.12em;
  line-height: 1.45;
}

.lot1-focus-figure {
  position: absolute;
  top: 245px;
  left: 50%;
  z-index: 2;
  width: min(800px, 70%);
  height: auto;
  transform: translateX(-50%);
  background: white;
}

.lot2-focus-figure {
  top: 280px;
  width: min(700px, 66%);
}

.lot2-focus-slide .lot1-focus-statement {
  margin-top: -5px;
}

.lot2-focus-slide .lot1-focus-goals {
  margin-top: 0;
}

.lot3-focus-figure {
  top: 245px;
  width: min(820px, 72%);
}

.goal-map {
  display: grid;
  grid-template-columns: 460px 600px;
  grid-template-rows: 1.08fr 0.92fr;
  gap: 22px;
  height: 730px;
  max-width: 1082px;
  margin: 20px auto 0;
}

.goal-panel {
  box-sizing: border-box;
  border: 3px solid var(--red-dark);
  border-radius: 20px;
  padding: 20px 24px;
  background: #fff;
  overflow: visible;
  position: relative;
}

.goal-panel h3 {
  color: var(--red-dark);
  font-size: 1.05em;
  margin: 0 0 0.55em;
}

.goal-panel h4 {
  color: var(--ink);
  font-size: 0.9em;
  margin: 0 0 0.45em;
}

.goal-panel-body {
  border: none;
  padding: 14px 22px;
  height: calc(100% - 42px);
  box-sizing: border-box;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.goal-content {
  position: relative;
  z-index: 1;
}

.goal-panel-image {
  display: block;
}

/* -------------------------------------------------------------------------- */
/* LOT 1 — edit this block to style the tall left panel                      */
/* -------------------------------------------------------------------------- */

.goal-lot1 {
  grid-row: 1 / 3;
  border-color: var(--red-dark);
  padding: 20px 24px;
}

.goal-lot1 .goal-panel-body {
  padding: 14px 22px;
}

.goal-lot1 .goal-content h4 {
  font-size: 0.9em;
}

.goal-lot1 .goal-content li {
  font-size: 0.64em;
  line-height: 1.15;
  margin: 0.34em 0;
}

.goal-lot1 .goal-panel-image {
  position: absolute;
  z-index: 2;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  max-width: none;
  max-height: none;
  padding: 0;
  object-fit: fill;
  object-position: center;
  background: #fff;
  border-radius: 0px;
  transform: translate(0px, -12px);
  transform-origin: center;

}

.goal-lot1-html {
  position: absolute;
  top: 38px;
  right: -3px;
  bottom: -3px;
  left: -3px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-sizing: border-box;
  border: none;
  border-radius: 0;
  padding: 12px 16px 14px;
  overflow: hidden;
  text-align: center;
  transform: none;
}

.goal-lot1 .goal-lot1-html {
  top: 68px;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: auto;
  height: auto;
}

.lot1-ccp-box,
.lot1-brief-box {
  box-sizing: border-box;
  border-radius: 14px;
}

.lot1-ccp-box {
  display: grid;
  flex: 1 1 auto;
  min-height: 0;
  grid-template-rows: 50% 10% 40%;
  border: 3px solid var(--magenta);
  padding: 8px 12px 10px;
}

.lot1-object {
  position: relative;
  display: grid;
  min-height: 0;
  grid-template-columns: 35% 65%;
  align-items: center;
  overflow: hidden;
}

.lot1-object img {
  grid-column: 2;
  display: block;
  width: 40%;
  height: auto;
  max-width: none;
  max-height: 92%;
  justify-self: center;
  object-fit: contain;
}

.lot1-object-label {
  grid-column: 1;
  font-size: 0.62em;
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

.lot1-ccp-title {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 0.62em;
  font-weight: 700;
  line-height: 1.1;
  margin: 0;
}

.lot1-cards {
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  align-items: end;
  overflow: visible;
  transform: translateY(-18px);
}

.lot1-cards > div {
  position: relative;
  display: flex;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.lot1-cards img {
  display: block;
  width: 100%;
  height: 55%;
  object-fit: contain;
}

.lot1-cards strong,
.lot1-cards small {
  display: block;
  line-height: 1.05;
}

.lot1-cards strong {
  position: absolute;
  bottom: 84px;
  color: var(--ink);
  font-size: 0.6em;
}

.lot1-cards small {
  position: absolute;
  bottom: 72px;
  color: var(--muted);
  font-size: 0.55em;
}

.lot1-brief-box {
  display: flex;
  flex: 0 0 27%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--orange);
  padding: 8px 18px;
}

.lot1-brief-box strong {
  color: var(--orange);
  font-size: 0.72em;
}

.lot1-brief-box p {
  color: var(--ink);
  font-size: 0.58em;
  font-style: italic;
  line-height: 1.12;
  margin: 8px 0 0;
}

/* -------------------------------------------------------------------------- */
/* LOT 2 — edit this block to style the upper-right panel                    */
/* -------------------------------------------------------------------------- */

.goal-lot2 {
  border-color: var(--red-dark);
}

.goal-lot2 h3 {
  color: var(--red-dark);
  text-align: center;
}

.goal-lot2 .goal-panel-body {
  padding: 8px 22px 14px;
}

.goal-lot2 .goal-content h4 {
  font-size: 0.78em;
  margin-bottom: 0.25em;
}

.goal-lot2 .goal-content li {
  font-size: 0.58em;
  line-height: 1.08;
  margin: 0.24em 0;
}

.goal-lot2 .goal-panel-image {
  position: absolute;
  z-index: 2;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 20px;
  transform: scale(1.08);
  transform-origin: center;
}

.goal-lot2 .goal-lot2-svg {
  top: 52px;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 68px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transform: none;
}

/* -------------------------------------------------------------------------- */
/* LOT 3 — edit this block to style the lower-right panel                    */
/* -------------------------------------------------------------------------- */

.goal-lot3 {
  border-color: var(--red-dark);
}

.goal-lot3 h3 {
  color: var(--red-dark);
  text-align: center;
}

.goal-lot3 .goal-panel-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
}

.goal-lot3 .goal-content h4 {
  font-size: 0.9em;
}

.goal-lot3 .goal-content li {
  font-size: 0.64em;
  line-height: 1.15;
  margin: 0.34em 0;
}

.goal-lot3 .goal-panel-image {
  position: absolute;
  z-index: 2;
  inset: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  padding: 0;
  object-fit: contain;
  object-position: center;
  background: #fff;
  border-radius: 20px;
  transform: scale(1.08);
  transform-origin: center;
}

.goal-lot3 .goal-lot3-svg {
  top: 52px;
  right: 16px;
  bottom: 16px;
  left: 16px;
  width: calc(100% - 32px);
  height: calc(100% - 68px);
  max-width: none;
  max-height: none;
  object-fit: contain;
  object-position: center;
  transform: none;
}

.goal-panel ul {
  display: inline-block;
  margin: 0.6em auto 0;
  padding-left: 1.1em;
  text-align: left;
}

.goal-panel li {
  font-size: 0.64em;
  line-height: 1.15;
  margin: 0.34em 0;
}

.overview-figure {
  display: block;
  width: 89%;
  height: 680px;
  object-fit: contain;
  object-position: center;
  margin: 5px auto 0;
}

.lot-figure,
.lot2-figure,
.lot3-figure {
  display: block;
  width: 100%;
  height: 650px;
  object-fit: contain;
  object-position: center;
  margin: 6px auto 0;
}

.lot2-figure,
.lot3-figure {
  height: 635px;
}

.objective-panel {
  margin-top: 18px;
  padding: 22px 28px 24px;
}

.objective-panel h3 {
  margin-bottom: 0.55em;
}

.lot1-panel {
  border-color: var(--magenta);
}

.lot2-panel {
  border-color: var(--yellow);
}

.lot3-panel {
  border-color: var(--orange);
}

.objective {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.objective h4 {
  color: var(--red-dark);
  font-size: 0.9em;
}

.objective p {
  font-size: 0.8em;
  margin: 0;
}

@media print, screen and (max-width: 1100px) {
  .reveal {
    font-size: 25px;
  }

  .reveal .slides section {
    padding-left: 50px;
    padding-right: 50px;
  }

  .overview-figure,
  .lot-figure,
  .lot2-figure,
  .lot3-figure {
    height: 600px;
  }
}
