:root {
  --bg: #e7ded0;
  --paper: #f8f1e7;
  --ink: #19161a;
  --muted: rgba(25, 22, 26, 0.62);
  --line: rgba(25, 22, 26, 0.1);
  --sand: #dcc7ae;
  --gold: #d79b38;
  --brick: #c75d2c;
  --rose: #d9a7aa;
  --teal: #6c9f9b;
  --blue: #21498d;
  --charcoal: #242733;
  --shadow: 0 28px 70px rgba(28, 23, 18, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.85), transparent 30%),
    linear-gradient(135deg, #efe4d7 0%, #ddd0c0 45%, #eadfcf 100%);
  color: var(--ink);
  font-family: "Gill Sans", "Trebuchet MS", "Segoe UI", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.18;
  mix-blend-mode: soft-light;
}

button {
  font: inherit;
}

.deck-shell {
  position: relative;
  min-height: 100vh;
}

.deck-ui,
.deck-nav {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.8rem;
  pointer-events: none;
}

.deck-ui {
  top: 0;
}

.deck-nav {
  bottom: 0;
  gap: 1rem;
}

.deck-ui__brand,
.deck-counter {
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.deck-ui__meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ui-button {
  pointer-events: auto;
  border: 1px solid rgba(25, 22, 26, 0.18);
  background: rgba(248, 241, 231, 0.72);
  color: var(--ink);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 180ms ease, background 180ms ease;
}

.ui-button:hover {
  transform: translateY(-2px);
  background: rgba(255, 249, 242, 0.88);
}

.progress-track {
  flex: 1;
  max-width: 26rem;
  height: 4px;
  border-radius: 999px;
  background: rgba(25, 22, 26, 0.12);
  overflow: hidden;
}

.progress-bar {
  display: block;
  width: 5.88%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brick), var(--gold));
  transition: width 300ms ease;
}

.deck {
  position: relative;
  min-height: 100vh;
}

.slide {
  position: absolute;
  inset: 0;
  padding: 5.8rem 5rem 5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(1.5rem) scale(0.985);
  transition: opacity 320ms ease, transform 320ms ease;
}

.slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.slide__inner {
  position: relative;
  width: 100%;
  height: calc(100vh - 10.8rem);
  overflow: hidden;
  border-radius: 2rem;
  background:
    linear-gradient(180deg, rgba(255, 251, 246, 0.9), rgba(244, 234, 222, 0.82)),
    var(--paper);
  border: 1px solid rgba(25, 22, 26, 0.08);
  box-shadow: var(--shadow);
}

.eyebrow,
.section-number {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

h1,
h2 {
  margin: 0;
  font-family: "Baskerville Old Face", "Palatino Linotype", "Book Antiqua", serif;
  font-weight: 400;
  line-height: 0.92;
}

h1 {
  font-size: clamp(4rem, 8vw, 7.8rem);
}

h2 {
  font-size: clamp(2.4rem, 4.3vw, 4.2rem);
  margin-bottom: 1.5rem;
}

p {
  margin: 0;
  line-height: 1.45;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 4rem);
  background:
    radial-gradient(circle at top right, rgba(231, 192, 166, 0.5), transparent 26%),
    linear-gradient(135deg, rgba(255, 252, 248, 0.95), rgba(241, 227, 212, 0.92));
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  max-width: 42rem;
}

.hero-kicker {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 34rem;
}

.info-card {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
  margin-top: 1rem;
  padding: 1.35rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 247, 238, 0.78);
  border: 1px solid rgba(25, 22, 26, 0.08);
}

.info-card__label,
.info-card__value {
  display: block;
}

.info-card__label {
  margin-bottom: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.info-card__value {
  font-size: 1.05rem;
}

.hero-art {
  position: relative;
  min-height: 100%;
}

.shape,
.art-piece {
  position: absolute;
}

.shape--circle {
  width: 25rem;
  height: 25rem;
  border-radius: 50%;
  right: 1rem;
  top: 1rem;
  background: radial-gradient(circle at 30% 30%, rgba(255, 243, 224, 0.9), rgba(215, 155, 56, 0.9));
}

.shape--arch {
  width: 18rem;
  height: 28rem;
  right: 7rem;
  bottom: 2rem;
  border-radius: 18rem 18rem 0 0;
  background: linear-gradient(180deg, rgba(34, 73, 141, 0.95), rgba(17, 27, 55, 0.96));
}

.shape--panel {
  width: 18rem;
  height: 14rem;
  left: 2rem;
  top: 7rem;
  border-radius: 1.5rem;
  background:
    linear-gradient(135deg, rgba(255, 252, 246, 0.75), rgba(217, 167, 170, 0.88)),
    var(--rose);
  transform: rotate(-8deg);
}

.shape--swatch {
  border-radius: 1.25rem;
  box-shadow: 0 18px 34px rgba(20, 18, 18, 0.18);
}

.shape--swatch-a {
  width: 9rem;
  height: 12rem;
  left: 8rem;
  bottom: 2rem;
  background: linear-gradient(165deg, #294a89, #101a35);
  transform: rotate(-10deg);
}

.shape--swatch-b {
  width: 8rem;
  height: 11rem;
  left: 16rem;
  bottom: 5rem;
  background: linear-gradient(180deg, #d3b08c, #b97745);
  transform: rotate(14deg);
}

.shape--swatch-c {
  width: 7rem;
  height: 10rem;
  left: 23rem;
  bottom: 2rem;
  background: linear-gradient(180deg, #f1d88d, #daa130);
  transform: rotate(-2deg);
}

.hero-note {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.hero-note span {
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 247, 238, 0.65);
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.media-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 1.2rem;
  padding: 1.3rem;
  background: linear-gradient(160deg, rgba(20, 20, 24, 0.96), rgba(55, 45, 44, 0.9));
}

.media-grid--reverse {
  grid-template-columns: 0.75fr 1.25fr;
}

.media-frame,
.gallery-card {
  position: relative;
  min-width: 0;
  min-height: 0;
  border-radius: 1.4rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(252, 247, 240, 0.95), rgba(226, 213, 196, 0.95));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.2);
}

.media-frame img,
.gallery-card img,
.media-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.media-frame--video {
  background: #14131a;
}

.gallery {
  display: grid;
  gap: 1.2rem;
  padding: 1.4rem;
  background:
    linear-gradient(135deg, rgba(255, 249, 242, 0.94), rgba(235, 223, 209, 0.88));
}

.gallery--duo {
  grid-template-columns: 0.92fr 1.08fr;
}

.gallery--mosaic {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 1.4fr 1fr;
}

.gallery-card--hero {
  grid-column: span 2;
}

.illusion-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 0.52fr;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 4rem);
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(223, 173, 87, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(255, 250, 244, 0.95), rgba(241, 229, 215, 0.92));
}

.wheel-block {
  position: relative;
  width: min(30vw, 24rem);
  aspect-ratio: 1;
  margin-inline: auto;
}

.color-wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.95) 0 18%, transparent 19%),
    conic-gradient(
      #f4da4c 0deg 35deg,
      #f0b645 35deg 70deg,
      #e57d39 70deg 110deg,
      #cc4d45 110deg 150deg,
      #b0495a 150deg 190deg,
      #7e549e 190deg 230deg,
      #405ea9 230deg 270deg,
      #4ca2cd 270deg 305deg,
      #84bdb2 305deg 332deg,
      #afd164 332deg 360deg
    );
  box-shadow: inset 0 0 0 1.8rem rgba(255, 250, 244, 0.64), 0 24px 50px rgba(75, 61, 45, 0.12);
}

.wheel-label {
  position: absolute;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 247, 238, 0.92);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.wheel-label--warm {
  right: -0.2rem;
  top: 0.8rem;
}

.wheel-label--cool {
  left: -0.4rem;
  bottom: 1rem;
}

.illusion-copy {
  max-width: 34rem;
}

.illusion-copy p {
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
  margin-top: 1rem;
}

.illusion-bars {
  display: grid;
  gap: 1rem;
}

.illusion-swatch {
  height: 10rem;
  border-radius: 1.5rem;
}

.illusion-swatch--warm {
  background: linear-gradient(135deg, #f3cd50, #d96d32, #b33a30);
}

.illusion-swatch--neutral {
  background:
    linear-gradient(135deg, rgba(255, 251, 246, 0.8), rgba(217, 205, 190, 0.84)),
    #d7cab8;
}

.illusion-swatch--cool {
  background: linear-gradient(135deg, #87b1c8, #4368a9, #213156);
}

.essay-grid,
.quote-grid,
.pinterest-grid {
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  height: 100%;
}

.essay-grid {
  grid-template-columns: 1.06fr 0.94fr;
}

.slide--reverse .essay-grid {
  grid-template-columns: 0.94fr 1.06fr;
}

.slide--reverse .essay-copy {
  order: 2;
}

.slide--reverse .essay-art {
  order: 1;
}

.essay-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  max-width: 42rem;
}

.lead-paragraph {
  font-size: clamp(1.18rem, 2vw, 1.45rem);
}

.statement-stack {
  display: grid;
  gap: 1rem;
}

.statement-stack--compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.statement-card {
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  background: rgba(255, 250, 244, 0.75);
  border: 1px solid rgba(25, 22, 26, 0.08);
  backdrop-filter: blur(10px);
}

.statement-card--list ul {
  margin: 0.7rem 0 0 1rem;
  padding: 0;
}

.statement-card--list li + li {
  margin-top: 0.35rem;
}

.essay-art {
  position: relative;
  min-height: 100%;
  border-radius: 1.8rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 26%),
    linear-gradient(135deg, rgba(219, 199, 180, 0.7), rgba(239, 232, 221, 0.85));
  border: 1px solid rgba(25, 22, 26, 0.06);
  overflow: hidden;
}

.essay-art--layers .art-piece--slab {
  width: 42%;
  height: 72%;
  left: 11%;
  top: 14%;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(210, 177, 129, 0.95), rgba(170, 133, 91, 0.9));
  transform: rotate(-7deg);
}

.essay-art--layers .art-piece--mesh {
  width: 42%;
  height: 42%;
  right: 9%;
  top: 12%;
  border-radius: 50%;
  background:
    repeating-linear-gradient(45deg, rgba(36, 39, 51, 0.74), rgba(36, 39, 51, 0.74) 5px, rgba(108, 159, 155, 0.6) 5px, rgba(108, 159, 155, 0.6) 10px);
}

.essay-art--layers .art-piece--arc {
  width: 58%;
  height: 58%;
  right: -6%;
  bottom: -8%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(33, 73, 141, 0.9), rgba(24, 31, 55, 0.92));
}

.essay-art--layers .art-piece--tab {
  width: 26%;
  height: 30%;
  left: 40%;
  bottom: 12%;
  border-radius: 1.4rem;
  background: linear-gradient(180deg, rgba(222, 101, 67, 0.9), rgba(183, 63, 43, 0.92));
  transform: rotate(12deg);
}

.essay-art--swing .art-piece--soft {
  width: 58%;
  height: 26%;
  left: 8%;
  top: 16%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(226, 190, 161, 0.9), rgba(239, 221, 203, 0.9));
}

.essay-art--swing .art-piece--hard {
  width: 28%;
  height: 62%;
  right: 14%;
  bottom: 12%;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(29, 39, 58, 0.95), rgba(50, 71, 112, 0.92));
  transform: rotate(8deg);
}

.essay-art--swing .art-piece--needle {
  width: 56%;
  height: 0.28rem;
  left: 20%;
  top: 54%;
  background: rgba(25, 22, 26, 0.72);
  transform: rotate(-24deg);
}

.essay-art--relief .art-piece--grain {
  inset: 9% 14% 18% 10%;
  border-radius: 2rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 252, 248, 0.9), transparent 16%),
    repeating-radial-gradient(circle at center, rgba(197, 131, 63, 0.2), rgba(197, 131, 63, 0.2) 6px, rgba(114, 77, 43, 0.12) 6px, rgba(114, 77, 43, 0.12) 12px),
    linear-gradient(180deg, rgba(214, 180, 145, 0.82), rgba(195, 145, 102, 0.76));
}

.essay-art--relief .art-piece--line {
  width: 72%;
  height: 22%;
  left: 14%;
  bottom: 12%;
  border-radius: 1.4rem;
  background: linear-gradient(90deg, rgba(245, 237, 227, 0.94), rgba(107, 159, 155, 0.88));
}

.essay-art--relief .art-piece--fold {
  width: 28%;
  height: 70%;
  right: 10%;
  top: 4%;
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(33, 73, 141, 0.88), rgba(26, 28, 41, 0.94));
}

.essay-art--glow .art-piece--beam {
  inset: 10% 10% 14% 14%;
  border-radius: 2rem;
  background: linear-gradient(140deg, rgba(242, 210, 148, 0.96), rgba(195, 110, 73, 0.92), rgba(45, 61, 96, 0.92));
}

.essay-art--glow .art-piece--gloss {
  width: 58%;
  height: 58%;
  right: -10%;
  top: -6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0));
}

.essay-art--glow .art-piece--shadow {
  width: 52%;
  height: 18%;
  left: 18%;
  bottom: 12%;
  border-radius: 999px;
  background: rgba(25, 22, 26, 0.18);
  filter: blur(12px);
}

.essay-art--balance .art-piece--disk {
  width: 52%;
  height: 52%;
  left: 6%;
  top: 10%;
  border-radius: 50%;
  background: linear-gradient(180deg, rgba(214, 177, 112, 0.92), rgba(192, 143, 79, 0.92));
}

.essay-art--balance .art-piece--block {
  width: 28%;
  height: 68%;
  right: 16%;
  top: 12%;
  border-radius: 1rem;
  background: linear-gradient(180deg, rgba(31, 39, 61, 0.95), rgba(62, 88, 138, 0.88));
}

.essay-art--balance .art-piece--counter {
  width: 48%;
  height: 18%;
  left: 18%;
  bottom: 18%;
  border-radius: 1rem;
  background: linear-gradient(90deg, rgba(214, 135, 94, 0.9), rgba(217, 167, 170, 0.92));
  transform: rotate(-14deg);
}

.essay-art--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1rem;
  padding: 1.4rem;
}

.essay-art--grid .art-piece--sample {
  position: relative;
  border-radius: 1.4rem;
  box-shadow: inset 0 0 0 1px rgba(25, 22, 26, 0.08);
}

.art-piece--sample-a {
  background: repeating-linear-gradient(0deg, rgba(42, 71, 119, 0.84), rgba(42, 71, 119, 0.84) 8px, rgba(228, 223, 214, 0.96) 8px, rgba(228, 223, 214, 0.96) 16px);
}

.art-piece--sample-b {
  background: radial-gradient(circle at 20% 20%, rgba(255, 250, 244, 0.9), rgba(213, 172, 120, 0.9) 45%, rgba(192, 112, 72, 0.86));
}

.art-piece--sample-c {
  background: linear-gradient(135deg, rgba(217, 167, 170, 0.94), rgba(241, 230, 223, 0.96));
}

.art-piece--sample-d {
  background: repeating-linear-gradient(45deg, rgba(25, 22, 26, 0.85), rgba(25, 22, 26, 0.85) 7px, rgba(108, 159, 155, 0.86) 7px, rgba(108, 159, 155, 0.86) 14px);
}

.essay-art--spectrum .art-piece--band {
  left: 16%;
  width: 68%;
  border-radius: 999px;
}

.art-piece--band-dark {
  top: 13%;
  height: 18%;
  background: linear-gradient(90deg, rgba(33, 37, 51, 0.98), rgba(95, 49, 56, 0.96));
}

.art-piece--band-mid {
  top: 40%;
  height: 20%;
  background: linear-gradient(90deg, rgba(205, 102, 72, 0.94), rgba(240, 196, 81, 0.96));
}

.art-piece--band-light {
  top: 68%;
  height: 14%;
  background: linear-gradient(90deg, rgba(255, 251, 244, 0.94), rgba(167, 203, 213, 0.94));
}

.essay-art--polish .art-piece--chrome {
  inset: 12% 16% 40% 10%;
  border-radius: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(90, 112, 160, 0.96), rgba(235, 158, 89, 0.92));
}

.essay-art--polish .art-piece--matte {
  inset: 42% 10% 12% 18%;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(213, 186, 154, 0.9), rgba(180, 151, 121, 0.95));
}

.essay-art--polish .art-piece--flare {
  width: 48%;
  height: 48%;
  right: -8%;
  top: -8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0));
}

.essay-art--contrast .art-piece--stripe {
  width: 18%;
  border-radius: 1rem;
  top: 10%;
  bottom: 10%;
}

.art-piece--stripe-a {
  left: 18%;
  background: linear-gradient(180deg, rgba(25, 22, 26, 0.96), rgba(65, 94, 169, 0.94));
}

.art-piece--stripe-b {
  left: 42%;
  background: linear-gradient(180deg, rgba(243, 214, 96, 0.96), rgba(216, 110, 61, 0.92));
}

.art-piece--stripe-c {
  left: 66%;
  background: linear-gradient(180deg, rgba(241, 237, 230, 0.98), rgba(217, 167, 170, 0.92));
}

.quote-grid {
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 249, 242, 0.95), rgba(241, 225, 228, 0.92));
}

.quote-copy {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

blockquote {
  margin: 0;
  padding-left: 1.4rem;
  border-left: 4px solid rgba(199, 93, 44, 0.6);
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.28rem, 2.1vw, 1.8rem);
  line-height: 1.35;
}

.quote-note {
  font-size: 1.2rem;
}

.quote-panel {
  padding: 2rem;
  border-radius: 2rem;
  background: rgba(248, 224, 232, 0.78);
  border: 1px solid rgba(25, 22, 26, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.quote-panel p {
  font-size: clamp(1.2rem, 2.05vw, 1.72rem);
}

.quote-panel p + p {
  margin-top: 1rem;
}

.pinterest-grid {
  background:
    linear-gradient(135deg, rgba(251, 247, 241, 0.96), rgba(234, 224, 214, 0.94));
}

.pinterest-grid--one {
  grid-template-columns: 1.15fr 1fr 0.82fr;
}

.pinterest-grid--two {
  grid-template-columns: 0.92fr 0.78fr 0.92fr;
}

.pinterest-grid .gallery-card img {
  object-fit: cover;
}

@media (max-width: 1100px) {
  .slide {
    padding: 4.8rem 1.3rem 4.4rem;
  }

  .slide__inner {
    height: calc(100vh - 9.8rem);
    overflow: auto;
  }

  .hero-grid,
  .essay-grid,
  .illusion-grid,
  .quote-grid,
  .gallery--duo,
  .gallery--mosaic,
  .media-grid,
  .media-grid--reverse,
  .pinterest-grid--one,
  .pinterest-grid--two,
  .statement-stack--compact {
    grid-template-columns: 1fr;
  }

  .hero-art,
  .essay-art {
    min-height: 20rem;
  }

  .wheel-block {
    width: min(65vw, 22rem);
  }

  .gallery--mosaic .gallery-card--hero {
    grid-column: auto;
  }

  .progress-track {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .deck-ui,
  .deck-nav {
    padding: 0.9rem 1rem;
  }

  .ui-button {
    padding: 0.6rem 0.85rem;
    font-size: 0.92rem;
  }

  .slide {
    padding: 4.4rem 0.8rem 4rem;
  }

  .slide__inner {
    border-radius: 1.4rem;
  }

  .statement-card,
  .quote-panel {
    padding: 0.9rem;
  }
}
