@property --copy-drift {
  syntax: "<length>";
  inherits: true;
  initial-value: 0px;
}

@property --scene-opacity {
  syntax: "<number>";
  inherits: true;
  initial-value: 1;
}

@property --page-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

@property --page3-progress {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

:root {
  --bg-a: #ffffff;
  --bg-b: #f6f3ec;
  --bg-c: #ffffff;
  --text: #1b1309;
  --muted: rgba(27, 19, 9, 0.62);
  --face: #ffd84d;
  --face-deep: #f4a91d;
  --ink: #1b1309;
  --scene-opacity: 1;
  --copy-drift: 0px;
  --page-progress: 0;
  --page3-progress: 0;
  color-scheme: light;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition:
    --copy-drift 360ms cubic-bezier(0.22, 0.7, 0.2, 1),
    --scene-opacity 360ms ease;
}

* {
  box-sizing: border-box;
}

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

html,
body {
  height: 100%;
}

body {
  overflow-x: hidden;
  min-width: 320px;
  margin: 0;
  background: var(--bg-a);
  color: var(--text);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  background: linear-gradient(180deg, var(--bg-a), var(--bg-b) 52%, var(--bg-c));
  content: "";
  transition: background 520ms ease;
}

body[data-mode="awake"] {
  --face: #ffde58;
  --face-deep: #ec8f22;
}

body[data-mode="focus"] {
  --face: #ffe169;
  --face-deep: #dba52f;
}

body[data-mode="glow"] {
  --face: #ffe96d;
  --face-deep: #f1b433;
}

body[data-mode="reveal"] {
  --face: #ffd33d;
  --face-deep: #f2a119;
}

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

#saint-atmosphere {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.saint-scroll {
  position: relative;
  height: 100vh;
  height: 100svh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.saint-stage {
  position: fixed;
  inset: 0;
  z-index: 4;
  display: grid;
  height: 100vh;
  height: 100svh;
  padding: clamp(16px, 3vw, 34px);
  overflow: hidden;
  place-items: center;
  pointer-events: none;
}

.topbar {
  position: fixed;
  top: clamp(16px, 3vw, 28px);
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-50%);
}

.nav-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border: 1px solid rgba(27, 19, 9, 0.06);
  border-radius: 999px;
  background: rgba(246, 243, 236, 0.85);
  box-shadow: 0 1px 2px rgba(27, 19, 9, 0.04);
  backdrop-filter: blur(10px);
}

.nav-pill-highlight {
  position: absolute;
  top: 6px;
  left: 0;
  z-index: 0;
  height: calc(100% - 12px);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(27, 19, 9, 0.1);
  transition: transform 320ms cubic-bezier(0.22, 0.7, 0.2, 1), width 320ms cubic-bezier(0.22, 0.7, 0.2, 1);
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  margin-right: 6px;
  border-radius: 50%;
  overflow: hidden;
  place-items: center;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav-link {
  position: relative;
  z-index: 1;
  padding: 9px 18px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  transition: color 200ms ease;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link-active {
  color: var(--text);
}

.saint-wrap {
  position: fixed;
  left: 50%;
  z-index: 5;
  transform: translate3d(calc(-50% + (var(--copy-drift) * -0.02)), 0, 0);
}

.saint-face {
  --face-size: clamp(250px, 42vw, 560px);
  position: relative;
  display: grid;
  width: var(--face-size);
  aspect-ratio: 1;
  border-radius: 50%;
  place-items: center;
  transform: perspective(900px) rotateY(var(--tilt-y, 0deg)) rotateX(var(--tilt-x, 0deg))
    scale(calc(1 - var(--page-progress) * 0.5 - var(--page3-progress) * 0.43));
  transform-style: preserve-3d;
  will-change: transform;
}

.saint-face:not(.is-mini) {
  animation: saint-breathe 6s ease-in-out infinite;
}

.saint-face.is-mini {
  animation: saint-float 4s ease-in-out infinite;
}

@keyframes saint-breathe {
  0%,
  100% {
    scale: 1;
  }
  50% {
    scale: 1.02;
  }
}

@keyframes saint-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10%;
  }
}

.halo {
  position: absolute;
  inset: -7%;
  border-radius: 50%;
  pointer-events: none;
}

.halo-inner {
  inset: 1%;
  background:
    radial-gradient(circle at 36% 28%, rgba(255, 255, 255, 0.44), transparent 0 18%, transparent 32%),
    radial-gradient(circle at 50% 64%, var(--face), var(--face-deep));
  box-shadow:
    inset 0 7px 20px rgba(255, 255, 255, 0.25),
    inset 0 -18px 34px rgba(119, 65, 7, 0.24);
}

.face-core {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
}

.brow,
.eye,
.mouth,
.glasses,
.headphone-band,
.headphone-cup,
.spark {
  position: absolute;
  display: block;
  background: var(--ink);
  transition:
    width 360ms ease,
    height 360ms ease,
    border-radius 360ms ease,
    opacity 360ms ease,
    transform 480ms cubic-bezier(0.2, 0.8, 0.2, 1),
    background 360ms ease,
    border-color 360ms ease,
    box-shadow 360ms ease;
}

.brow {
  top: 32%;
  width: 17%;
  height: 4.6%;
  border-radius: 999px;
}

.brow-left {
  left: 30%;
  transform: rotate(-5deg);
}

.brow-right {
  right: 30%;
  transform: rotate(5deg);
}

.eye {
  top: 46%;
  width: 9.5%;
  height: 9.5%;
  border-radius: 50%;
  background: #000;
  translate: var(--glint-x, 0px) var(--glint-y, 0px);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1), background 220ms ease,
    border-radius 220ms ease, height 220ms ease;
}

.eye-left {
  left: 34.5%;
  transform: rotate(8deg);
}

.eye-right {
  right: 34.5%;
  transform: rotate(-8deg);
}

.eye-glint {
  display: none;
}

.mouth {
  left: 50%;
  top: 64%;
  width: 33%;
  height: 16%;
  background: transparent;
  transform: translateX(-50%);
  overflow: visible;
}

.mouth path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 9;
  stroke-linecap: round;
}

.glasses {
  left: 50%;
  top: 44%;
  width: 48%;
  height: 9%;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--ink) 0 41%, transparent 41% 59%, var(--ink) 59% 100%);
  box-shadow:
    inset 6px -6px 0 rgba(255, 255, 255, 0.16),
    inset -6px -6px 0 rgba(255, 255, 255, 0.16);
  opacity: 0;
  transform: translateX(-50%) scale(0.6);
}

.headphone-band {
  left: 50%;
  top: -8%;
  width: 68%;
  height: 50%;
  border: min(11px, calc(var(--face-size) * 0.03)) solid var(--ink);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: transparent;
  opacity: 0;
  transform: translateX(-50%) scale(0.7);
}

.headphone-cup {
  width: 13%;
  height: 23%;
  top: 39%;
  border-radius: 40% 40% 46% 46%;
  background: var(--ink);
  box-shadow: inset 0 -6px 0 rgba(255, 255, 255, 0.14);
  opacity: 0;
}

.headphone-cup-left {
  left: 3%;
  transform: scale(0.6);
}

.headphone-cup-right {
  right: 3%;
  transform: scale(0.6);
}

.spark {
  width: 3.4%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.68);
  opacity: 0;
}

.spark-one {
  left: 24%;
  top: 23%;
}

.spark-two {
  right: 24%;
  top: 58%;
}

.spark-three {
  left: 49%;
  top: 76%;
}

.scene-text {
  position: absolute;
  left: 50%;
  top: clamp(96px, 16vh, 180px);
  z-index: 6;
  width: min(720px, calc(100% - 34px));
  opacity: calc(var(--scene-opacity) * (1 - var(--page-progress)));
  text-align: center;
  transform: translate3d(-50%, calc((var(--copy-drift) * -0.16) - (var(--page-progress) * 220%)), 0);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
p {
  text-wrap: balance;
}

h1,
h2 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.95;
}

h1 {
  font-family: "Baloo 2", "Inter", system-ui, sans-serif;
  font-size: clamp(2.7rem, 7.2vw, 6.7rem);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.catchphrase {
  max-width: 560px;
  margin: 14px auto 0;
  color: var(--muted);
  font-family: "Baloo 2", "Inter", system-ui, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
  line-height: 1.4;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 24px;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  pointer-events: auto;
  box-shadow: 0 6px 18px rgba(27, 19, 9, 0.18);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27, 19, 9, 0.24);
}

.download-button svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.page-two {
  position: relative;
  z-index: 3;
  display: grid;
  height: 100vh;
  height: 100svh;
  padding: clamp(16px, 3vw, 34px);
  place-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.page-two-frame {
  position: relative;
  display: grid;
  width: min(1200px, 100%);
  height: min(640px, 86vh);
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 clamp(24px, 6vw, 80px);
  overflow: hidden;
}

.page-two-content {
  position: relative;
  z-index: 2;
  max-width: 460px;
  opacity: var(--page-progress);
  text-align: left;
  transition: opacity 360ms ease;
}

.page-two-content h2 {
  font-family: "Baloo 2", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.page-two-lead {
  margin: 14px 0 0;
  max-width: 420px;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.18rem);
  font-weight: 600;
  line-height: 1.5;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.feature-icon {
  display: grid;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 216, 77, 0.32), rgba(244, 169, 29, 0.22));
  box-shadow: inset 0 0 0 1px rgba(244, 169, 29, 0.28);
  place-items: center;
}

.feature-icon img {
  display: block;
  width: 24px;
  height: 24px;
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.feature-title {
  color: var(--text);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
  font-weight: 800;
  line-height: 1.2;
}

.feature-desc {
  color: var(--muted);
  font-size: clamp(0.9rem, 1.4vw, 1.02rem);
  font-weight: 500;
  line-height: 1.45;
}

.page-three {
  position: relative;
  z-index: 3;
  display: grid;
  height: 100vh;
  height: 100svh;
  padding: clamp(16px, 3vw, 34px);
  place-items: center;
  gap: clamp(24px, 5vh, 56px);
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.page-three-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: center;
}

.page-three-content h2 {
  font-family: "Baloo 2", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.laptop {
  position: relative;
  width: min(560px, 78%);
  margin: 0 auto;
}

.laptop-screen {
  position: relative;
  aspect-ratio: 16 / 10;
  border: clamp(6px, 1vw, 12px) solid #1b1309;
  border-radius: 14px;
  background: #fdfcf9;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(27, 19, 9, 0.18);
}

.laptop-screen::before {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  width: clamp(60px, 14%, 110px);
  height: clamp(8px, 1.6vw, 16px);
  border-radius: 0 0 10px 10px;
  background: #1b1309;
  content: "";
  transform: translateX(-50%);
}

.laptop-base {
  position: relative;
  width: 116%;
  height: clamp(10px, 1.4vw, 16px);
  margin: 0 auto;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(180deg, #2a1d0f, #1b1309);
  transform: translateX(-50%);
  left: 50%;
}

.laptop-base::after {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 24%;
  height: clamp(6px, 1vw, 10px);
  border-radius: 0 0 6px 6px;
  background: #1b1309;
  content: "";
  transform: translateX(-50%);
}

.screen-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: clamp(10px, 1.6vw, 18px);
}

.screen-dot {
  width: clamp(8px, 1vw, 12px);
  height: clamp(8px, 1vw, 12px);
  border-radius: 50%;
  background: rgba(27, 19, 9, 0.14);
}

.screen-lines {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 clamp(20px, 4vw, 48px);
}

.screen-lines span {
  display: block;
  height: clamp(8px, 1.4vw, 16px);
  border-radius: 999px;
  background: rgba(27, 19, 9, 0.07);
}

.screen-lines span:nth-child(1) {
  width: 70%;
}

.screen-lines span:nth-child(2) {
  width: 88%;
}

.screen-lines span:nth-child(3) {
  width: 52%;
}

.mini-saint-target {
  position: absolute;
  right: clamp(10px, 2.4vw, 24px);
  bottom: clamp(10px, 2.4vw, 24px);
  width: clamp(40px, 8vw, 64px);
  aspect-ratio: 1;
}

/* ---- Random face expressions (picked + timed by script.js) ---- */

/* Shocked — wide eyes, tiny gasping mouth */
.saint-face.expr-shock .eye {
  transform: scale(1.6) translateY(-6%);
}

.saint-face.expr-shock .mouth {
  transform: translateX(-50%) scale(0.42, 1.3);
}

/* Squint >< — eyes snap into facing chevrons */
.saint-face.expr-squint .eye {
  background: var(--ink);
  border-radius: 2px;
  transform: scaleY(0.92);
}

.saint-face.expr-squint .eye-left {
  clip-path: polygon(0% 0%, 38% 0%, 100% 50%, 38% 100%, 0% 100%, 62% 50%);
}

.saint-face.expr-squint .eye-right {
  clip-path: polygon(100% 0%, 62% 0%, 0% 50%, 62% 100%, 100% 100%, 38% 50%);
}

/* Heart eyes */
.saint-face.expr-heart .eye {
  background: #ff3e6c;
  border-radius: 0;
  transform: rotate(-45deg) scale(1.1);
}

.saint-face.expr-heart .eye::before,
.saint-face.expr-heart .eye::after {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ff3e6c;
  content: "";
}

.saint-face.expr-heart .eye::before {
  top: -50%;
  left: 0;
}

.saint-face.expr-heart .eye::after {
  top: 0;
  left: 50%;
}

/* Happy — closed smiling eyes */
.saint-face.expr-happy .eye {
  height: 7%;
  background: transparent;
  border-bottom: min(8px, calc(var(--face-size) * 0.024)) solid var(--ink);
  border-radius: 0 0 90% 90%;
  transform: none;
}

.saint-face.expr-happy .mouth {
  transform: translateX(-50%) scale(1.06);
}

/* Wink — one eye closes, cheeky grin */
.saint-face.expr-wink .eye-left {
  transform: scaleY(0.12);
}

.saint-face.expr-wink .mouth {
  transform: translateX(-50%) scale(1.05) rotate(-3deg);
}

/* Thinking — eyes ponder upward and drift, one squints, lips purse aside */
.saint-face.expr-think .eye {
  animation: saint-think 1.6s ease-in-out infinite;
}

.saint-face.expr-think .eye-right {
  scale: 1 0.55;
}

.saint-face.expr-think .mouth {
  transform: translateX(-66%) scale(0.46, 0.8);
}

@keyframes saint-think {
  0%,
  100% {
    transform: translate(-26%, -36%);
  }
  50% {
    transform: translate(24%, -36%);
  }
}

.page-four {
  position: relative;
  z-index: 3;
  display: grid;
  height: 100vh;
  height: 100svh;
  padding: clamp(16px, 3vw, 34px);
  place-items: center;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.page-four-content {
  position: relative;
  z-index: 2;
  max-width: 560px;
  text-align: center;
}

.page-four-content h2 {
  font-family: "Baloo 2", "Inter", system-ui, sans-serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.page-four-content .catchphrase {
  margin: 14px auto 0;
}

.page-four-content .download-button {
  margin-top: 28px;
}

.site-footer {
  position: relative;
  z-index: 3;
  padding: clamp(32px, 6vw, 64px) clamp(16px, 4vw, 64px);
  border-top: 1px solid rgba(27, 19, 9, 0.08);
  background: var(--bg-a);
  scroll-snap-align: end;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 64px);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  max-width: 280px;
}

.footer-tagline {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 64px);
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 120px;
}

.footer-heading {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 200ms ease;
}

.footer-column a:hover {
  color: var(--text);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: clamp(28px, 5vw, 56px) auto 0;
  padding-top: clamp(20px, 3vw, 28px);
  border-top: 1px solid rgba(27, 19, 9, 0.06);
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  color: var(--muted);
  font-weight: 700;
  transition: color 200ms ease;
}

.footer-social a:hover {
  color: var(--text);
}

body[data-mode="calm"] .brow-left {
  transform: translateY(-16%);
}

body[data-mode="calm"] .brow-right {
  transform: translateY(-16%);
}

body[data-mode="calm"] .eye-left {
  transform: translateY(-14%);
}

body[data-mode="calm"] .eye-right {
  transform: translateY(-14%);
}

body[data-mode="awake"] .saint-face {
  transform: translateY(-1.5%) rotate(-1deg) scale(1.02);
}

body[data-mode="awake"] .eye {
  top: 46%;
  width: 8%;
  height: 8%;
  border-radius: 50%;
}

body[data-mode="awake"] .brow-left {
  transform: translateY(-24%) rotate(4deg);
}

body[data-mode="awake"] .brow-right {
  transform: translateY(-24%) rotate(-4deg);
}

body[data-mode="awake"] .mouth {
  top: 61%;
  width: 17%;
  height: 10%;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
}

body[data-mode="focus"] .saint-face {
  transform: translateY(0) rotate(0deg) scale(0.98);
}

body[data-mode="focus"] .brow-left {
  transform: translateY(12%) rotate(-13deg);
}

body[data-mode="focus"] .brow-right {
  transform: translateY(12%) rotate(13deg);
}

body[data-mode="focus"] .eye {
  top: 48%;
  width: 12%;
  height: 3.4%;
}

body[data-mode="focus"] .mouth {
  top: 62%;
  width: 22%;
  height: 3.8%;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
}

body[data-mode="focus"] .eye,
body[data-mode="focus"] .brow {
  opacity: 0;
  transform: scale(0.4);
}

body[data-mode="focus"] .glasses {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

body[data-mode="glow"] .saint-face {
  transform: translateY(-2%) rotate(1.2deg) scale(1.04);
}

body[data-mode="glow"] .brow-left {
  transform: translateY(-18%) rotate(-8deg);
}

body[data-mode="glow"] .brow-right {
  transform: translateY(-18%) rotate(8deg);
}

body[data-mode="glow"] .eye {
  top: 45.5%;
  width: 9.5%;
  height: 9.5%;
  border-radius: 50%;
  background: #251407;
  box-shadow: inset 0 -3px 0 rgba(255, 255, 255, 0.22);
}

body[data-mode="glow"] .mouth {
  top: 58%;
  width: 34%;
  height: 20%;
  border-width: min(10px, calc(var(--face-size) * 0.028));
}

body[data-mode="glow"] .spark {
  opacity: 1;
}

body[data-mode="glow"] .spark-one {
  transform: translate(-45%, -20%) scale(1.35);
}

body[data-mode="glow"] .spark-two {
  transform: translate(54%, 20%) scale(1.1);
}

body[data-mode="glow"] .spark-three {
  transform: translate(0, 52%) scale(0.75);
}

body[data-mode="glow"] .headphone-band,
body[data-mode="reveal"] .headphone-band {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

body[data-mode="glow"] .headphone-cup,
body[data-mode="reveal"] .headphone-cup {
  opacity: 1;
}

body[data-mode="glow"] .headphone-cup-left,
body[data-mode="glow"] .headphone-cup-right,
body[data-mode="reveal"] .headphone-cup-left,
body[data-mode="reveal"] .headphone-cup-right {
  transform: scale(1);
}

body[data-mode="reveal"] .saint-face {
  transform: translateY(-3%) scale(1.08);
}

body[data-mode="reveal"] .brow {
  top: 31%;
  width: 15%;
}

body[data-mode="reveal"] .eye {
  top: 45%;
  width: 9%;
  height: 9%;
  border-radius: 50%;
}

body[data-mode="reveal"] .mouth {
  top: 59%;
  width: 35%;
  height: 20%;
}

body[data-mode="reveal"] .spark {
  opacity: 1;
}

@media (max-width: 840px) {
  .saint-face {
    --face-size: clamp(214px, 68vw, 340px);
  }

  .scene-text {
    top: clamp(80px, 13vh, 140px);
  }
}

@media (max-width: 840px) {
  .page-two-frame {
    grid-template-columns: 1fr;
    align-content: center;
    justify-items: center;
    text-align: center;
  }

  .page-two-content {
    text-align: center;
    max-width: 100%;
  }

  .page-two-lead {
    margin-inline: auto;
  }

  .feature-list {
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: left;
  }
}

@media (max-width: 560px) {
  .nav-link:not(.nav-link-active) {
    display: none;
  }

  .saint-stage {
    padding: 14px;
  }

  .saint-wrap {
    transform: translate3d(calc(-50% + (var(--copy-drift) * -0.02)), 50%, 0);
  }

  .scene-text {
    top: 88px;
  }

  .scene-text p:last-child {
    font-size: 0.96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
