:root {
  --ink: #101820;
  --paper: #f7f3ea;
  --stone: #e2d7c7;
  --bronze: #a86f3d;
  --cyan: #24b7c8;
  --red: #b53a2e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--ink);
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.deck {
  overflow: hidden;
}

.slide {
  position: relative;
  min-height: 100svh;
  padding: clamp(22px, 4vw, 54px);
  scroll-snap-align: start;
  overflow: hidden;
}

.topbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 250, 240, .78);
  font-size: .86rem;
}

.wordmark {
  font-weight: 820;
  color: #fffaf0;
}

.cover {
  color: #fffaf0;
  background:
    radial-gradient(circle at 74% 30%, rgba(36, 183, 200, .2), transparent 24rem),
    linear-gradient(135deg, #101820 0%, #17252f 46%, #2f211a 100%);
}

.cover__grid {
  display: grid;
  grid-template-columns: minmax(320px, 1.1fr) minmax(260px, .7fr);
  align-items: center;
  gap: 56px;
  width: min(1180px, 100%);
  min-height: calc(100svh - 170px);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--cyan);
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 820;
  letter-spacing: .16em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  max-width: 880px;
  margin-bottom: 0;
  font-size: clamp(3.2rem, 7vw, 7.4rem);
  line-height: .92;
}

.cover__note {
  position: absolute;
  left: clamp(22px, 4vw, 54px);
  bottom: clamp(22px, 4vw, 54px);
  max-width: 720px;
  margin: 0;
  color: rgba(255, 250, 240, .72);
  line-height: 1.55;
}

.cover__artifact {
  position: relative;
  min-height: 430px;
  border: 1px solid rgba(255, 250, 240, .18);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, .1), rgba(255, 250, 240, .03)),
    repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 250, 240, .08) 35px);
}

.artifact__letter {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255, 250, 240, .88);
  font-family: Georgia, serif;
  font-size: 12rem;
}

.artifact__line {
  position: absolute;
  inset: 16% 47%;
  background: var(--red);
  transform: rotate(34deg);
}

.orb {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(36, 183, 200, .62);
}

.orb--one {
  width: 190px;
  height: 190px;
  right: 28px;
  top: 24px;
}

.orb--two {
  width: 120px;
  height: 120px;
  left: 30px;
  bottom: 34px;
}

.territory {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(320px, 1fr);
  grid-template-rows: auto 1fr auto;
  gap: 28px 48px;
  background: var(--paper);
}

.slide__header {
  grid-column: 1 / 2;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.5rem, 5.6vw, 6.4rem);
  line-height: .9;
}

.brandbook {
  grid-column: 1 / 2;
  display: grid;
  align-self: start;
  gap: 1px;
  border: 1px solid rgba(16, 24, 32, .15);
  background: rgba(16, 24, 32, .15);
}

.brandbook article {
  padding: 20px;
  background: rgba(255, 250, 240, .72);
}

.brandbook .thesis {
  background: #fffaf0;
}

h3 {
  margin-bottom: 8px;
  font-size: .86rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.brandbook p {
  margin-bottom: 0;
  color: rgba(16, 24, 32, .74);
  line-height: 1.5;
}

.visual {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: stretch;
  min-height: 590px;
  border: 1px solid rgba(16, 24, 32, .14);
}

.palette {
  grid-column: 2 / 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.palette i {
  min-height: 54px;
  background: var(--swatch);
  border: 1px solid rgba(16, 24, 32, .12);
}

.visual--augmented {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  padding: 42px;
  background: #101820;
}

.visual--augmented span {
  align-self: end;
  height: calc(120px + var(--i, 1) * 34px);
  background:
    linear-gradient(180deg, rgba(36, 183, 200, .74), rgba(255, 250, 240, .86)),
    #fffaf0;
}

.visual--augmented span:nth-child(2) { --i: 3; }
.visual--augmented span:nth-child(3) { --i: 5; }
.visual--augmented span:nth-child(4) { --i: 2; }
.visual--augmented span:nth-child(5) { --i: 4; }

.visual--olympus {
  position: relative;
  background: linear-gradient(180deg, #fff8e8 0%, #dfc59e 58%, #1b2630 58%);
}

.mountain {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 35%;
  height: 38%;
  background: linear-gradient(135deg, transparent 0 34%, #d8c8a8 34% 60%, transparent 60%);
}

.temple {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 13%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  min-height: 220px;
  border-top: 22px solid #fff8e8;
}

.temple b {
  background: #fff8e8;
}

.visual--loop {
  position: relative;
  display: grid;
  place-items: center;
  background: #f4eee2;
}

.visual--loop::before {
  content: "";
  width: min(72%, 470px);
  aspect-ratio: 1;
  border: 2px solid #101820;
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(36, 183, 200, .12), inset 0 0 0 1px rgba(16, 24, 32, .16);
}

.visual--loop span {
  position: absolute;
  padding: 10px 14px;
  background: #101820;
  color: #fffaf0;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.visual--loop span:nth-child(1) { top: 20%; left: 42%; }
.visual--loop span:nth-child(2) { right: 10%; top: 47%; }
.visual--loop span:nth-child(3) { bottom: 19%; left: 42%; }
.visual--loop span:nth-child(4) { left: 9%; top: 47%; }

.visual--sparta {
  position: relative;
  background:
    linear-gradient(90deg, rgba(157, 47, 34, .2) 0 50%, rgba(214, 177, 108, .18) 50%),
    #22110f;
}

.shield {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(56%, 360px);
  aspect-ratio: .78;
  border: 16px solid #d6b16c;
  border-radius: 50% 50% 44% 44%;
  transform: translate(-50%, -50%);
}

.spear {
  position: absolute;
  left: 49%;
  top: 13%;
  width: 11px;
  height: 74%;
  background: #f6efe3;
  transform: rotate(24deg);
}

.forum {
  position: absolute;
  left: 24%;
  right: 24%;
  bottom: 12%;
  height: 46px;
  border-top: 6px solid #f6efe3;
  border-bottom: 6px solid #f6efe3;
}

.visual--kratos {
  position: relative;
  background:
    linear-gradient(135deg, rgba(181, 58, 46, .18), transparent 38%),
    repeating-linear-gradient(90deg, #e9e1d3 0 68px, #ded4c5 69px 75px);
}

.scar {
  position: absolute;
  left: 39%;
  top: 8%;
  width: 58px;
  height: 84%;
  background: var(--red);
  transform: rotate(29deg);
  box-shadow: 0 0 0 10px rgba(22, 22, 22, .08);
}

.crack {
  position: absolute;
  background: #161616;
  transform-origin: top;
}

.crack--one {
  left: 58%;
  top: 16%;
  width: 5px;
  height: 47%;
  transform: rotate(-20deg);
}

.crack--two {
  left: 28%;
  bottom: 10%;
  width: 4px;
  height: 34%;
  transform: rotate(42deg);
}

.visual--ungovernable {
  position: relative;
  background: #0f1c22;
  overflow: hidden;
}

.visual--ungovernable::before {
  content: "";
  position: absolute;
  inset: 18%;
  border: 1px solid rgba(240, 231, 216, .42);
  transform: rotate(18deg);
}

.visual--ungovernable span {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #39b6b8;
  box-shadow: 0 0 0 12px rgba(57, 182, 184, .12);
}

.visual--ungovernable span:nth-child(1) { left: 18%; top: 20%; }
.visual--ungovernable span:nth-child(2) { right: 24%; top: 18%; background: #f0e7d8; }
.visual--ungovernable span:nth-child(3) { left: 34%; top: 48%; background: #7a8d5a; }
.visual--ungovernable span:nth-child(4) { right: 18%; bottom: 28%; }
.visual--ungovernable span:nth-child(5) { left: 22%; bottom: 18%; background: #f0e7d8; }
.visual--ungovernable span:nth-child(6) { right: 42%; bottom: 12%; background: #7a8d5a; }

.recommendation {
  display: grid;
  align-content: center;
  color: #fffaf0;
  background:
    radial-gradient(circle at 80% 25%, rgba(181, 58, 46, .26), transparent 26rem),
    radial-gradient(circle at 20% 78%, rgba(36, 183, 200, .2), transparent 22rem),
    #101820;
}

.recommendation h2 {
  max-width: 980px;
  margin-bottom: 32px;
}

.formula {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  max-width: 980px;
  margin-bottom: 34px;
}

.formula span {
  padding: 12px 14px;
  border: 1px solid rgba(255, 250, 240, .24);
  background: rgba(255, 250, 240, .08);
  font-weight: 760;
}

.formula b {
  color: var(--cyan);
}

.final-line {
  max-width: 960px;
  color: rgba(255, 250, 240, .82);
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.45;
}

.directions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  max-width: 1050px;
  margin-top: 42px;
  background: rgba(255, 250, 240, .18);
}

.directions article {
  padding: 22px;
  background: #101820;
}

.directions p {
  margin-bottom: 0;
  color: rgba(255, 250, 240, .72);
  line-height: 1.55;
}

@media (max-width: 880px) {
  html {
    scroll-snap-type: none;
  }

  .cover__grid,
  .territory,
  .directions {
    grid-template-columns: 1fr;
  }

  .cover__grid {
    min-height: auto;
    padding: 78px 0 120px;
  }

  .cover__artifact {
    min-height: 260px;
  }

  .artifact__letter {
    font-size: 8rem;
  }

  .cover__note {
    position: relative;
    left: auto;
    bottom: auto;
  }

  .visual,
  .palette {
    grid-column: 1 / 2;
  }

  .visual {
    grid-row: auto;
    min-height: 360px;
  }

  .territory {
    gap: 22px;
  }

  .topbar {
    flex-direction: column;
  }
}
