:root {
  --bg-dark: #0f1012;
  --text-main: #f2f0eb;
  --text-muted: #bcb7ac;
  --panel-bg: rgba(19, 20, 23, 0.38);
  --panel-border: rgba(255, 255, 255, 0.18);
  --ease-architectural: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-strategy-morph: cubic-bezier(0.68, 0, 0.22, 1);
  --transition-main: 1550ms var(--ease-architectural);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--text-main);
}

body {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: 0.01em;
}

.lang-toggle {
  position: fixed;
  top: 1.02rem;
  right: 1.18rem;
  z-index: 40;
  color: rgba(242, 236, 226, 0.9);
  text-decoration: none;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.2rem 0.32rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(8, 9, 12, 0.34);
  backdrop-filter: blur(4px);
  border-radius: 0.18rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease-architectural), border-color 260ms var(--ease-architectural);
}

body.lang-toggle-visible .lang-toggle {
  opacity: 1;
  pointer-events: auto;
}

.lang-toggle:hover,
.lang-toggle:focus-visible {
  outline: none;
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.46);
}

.hero-rays,
.hero-birds {
  position: fixed;
  inset: -8%;
  pointer-events: none;
  z-index: 2;
  opacity: 0;
  transition: opacity 720ms var(--ease-architectural);
}

.hero-rays {
  mix-blend-mode: screen;
  background:
    radial-gradient(62% 92% at 8% 10%, rgba(255, 176, 92, 0.2), rgba(255, 176, 92, 0) 67%),
    radial-gradient(56% 78% at 82% 14%, rgba(255, 150, 70, 0.16), rgba(255, 150, 70, 0) 72%),
    linear-gradient(112deg, rgba(255, 172, 88, 0.18) 0%, rgba(255, 172, 88, 0.06) 24%, rgba(255, 172, 88, 0) 56%),
    linear-gradient(126deg, rgba(255, 154, 74, 0.14) 0%, rgba(255, 154, 74, 0.04) 26%, rgba(255, 154, 74, 0) 58%);
  filter: blur(5px) saturate(1.2) brightness(1.05);
  transform: translate3d(0, 0, 0) scale(1.02);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: heroRaysDrift 18000ms ease-in-out infinite alternate,
             heroRaysPulse 18000ms ease-in-out infinite;
  will-change: transform, opacity, filter;
}

.hero-rays::after {
  content: "";
  position: absolute;
  inset: -10%;
  pointer-events: none;
  mix-blend-mode: plus-lighter;
  background:
    radial-gradient(50% 42% at 18% 14%, rgba(255, 155, 74, 0.18), rgba(255, 155, 74, 0) 74%),
    radial-gradient(36% 28% at 30% 18%, rgba(255, 136, 58, 0.14), rgba(255, 136, 58, 0) 78%),
    linear-gradient(120deg, rgba(255, 146, 66, 0.1) 0%, rgba(255, 146, 66, 0) 54%);
  opacity: 0;
  filter: blur(7.4px) saturate(1.08) brightness(1.01);
  transform: translate3d(-1.2%, -0.8%, 0) scale(1.02);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  animation: heroSunBreak 70000ms ease-in-out infinite;
}

.hero-birds {
  inset: 0;
  overflow: hidden;
  mix-blend-mode: normal;
}

.bird-flock {
  position: absolute;
  display: block;
  width: 150px;
  height: 40px;
  opacity: 0;
  filter: blur(1.1px) contrast(1.02) saturate(0.66);
  will-change: transform, opacity;
}

.bird {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 999px;
  background: rgba(18, 24, 30, 0.72);
  opacity: 0.68;
  --bird-bob: 1.4px;
  animation: birdMicroBob 2600ms ease-in-out infinite alternate;
}

.bird::before,
.bird::after {
  display: none;
}

.bird--1 { left: 8px; top: 20px; }
.bird--2 { left: 24px; top: 16px; }
.bird--3 { left: 42px; top: 24px; }
.bird--4 { left: 60px; top: 14px; }
.bird--5 { left: 80px; top: 22px; }
.bird--6 { left: 98px; top: 18px; }
.bird--7 { left: 116px; top: 26px; }
.bird--8 { left: 132px; top: 15px; }
.bird--9 { left: 144px; top: 21px; }

.bird--1 { animation-duration: 2300ms; animation-delay: -180ms; --bird-bob: 1.6px; }
.bird--2 { animation-duration: 2800ms; animation-delay: -620ms; --bird-bob: 1.9px; }
.bird--3 { animation-duration: 2500ms; animation-delay: -320ms; --bird-bob: 1.7px; }
.bird--4 { animation-duration: 3000ms; animation-delay: -760ms; --bird-bob: 2.1px; }
.bird--5 { animation-duration: 2400ms; animation-delay: -420ms; --bird-bob: 1.5px; }
.bird--6 { animation-duration: 2700ms; animation-delay: -980ms; --bird-bob: 1.8px; }
.bird--7 { animation-duration: 2550ms; animation-delay: -540ms; --bird-bob: 1.6px; }
.bird--8 { animation-duration: 2900ms; animation-delay: -840ms; --bird-bob: 2px; }
.bird--9 { animation-duration: 2450ms; animation-delay: -260ms; --bird-bob: 1.7px; }

.bird-flock--a {
  top: 22%;
  left: -22%;
  transform: scale(0.54);
  animation: heroBirdsFlockPass 66000ms linear infinite;
  animation-delay: 3s;
}

body.on-hero-atmosphere .hero-rays {
  opacity: 0.64;
}

body.on-preslide .hero-birds {
  opacity: 1;
}

h1,
h2,
h3,
.eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  letter-spacing: 0.06em;
}

h1,
h2 {
  margin: 0 0 1.2rem;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.slide--1 .glass-panel h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.1;
  letter-spacing: 0.06em;
}

h3 {
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

p,
li {
  color: var(--text-muted);
}

ul,
ol {
  margin: 0;
  padding-left: 1.1rem;
}

.eyebrow {
  margin: 0 0 0.5rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #d7d0c2;
}

.eyebrow__separator {
  display: inline-block;
  margin: 0 0.4rem;
  color: rgba(214, 206, 191, 0.58);
}

.eyebrow__category {
  color: rgba(214, 206, 191, 0.72);
  letter-spacing: 0.05em;
}

.subtitle {
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verna-wordmark {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.12rem;
  pointer-events: none;
  transition: top 1300ms var(--ease-architectural), transform 1300ms var(--ease-architectural), opacity 260ms ease;
}

body.wordmark-instant .verna-wordmark,
body.wordmark-instant .verna-wordmark__title,
body.wordmark-instant .verna-wordmark__subtitle {
  transition: none !important;
}

body.on-preslide .verna-wordmark {
  opacity: 1;
  top: 35.5%;
  transform: translate(-50%, -50%);
}

body.on-preslide .mini-map,
body.on-preslide .mini-map-current-floating {
  opacity: 0;
  pointer-events: none;
}

body.wordmark-animating .verna-wordmark {
  opacity: 1;
}

body.on-preslide.wordmark-animating .verna-wordmark {
  top: 1.25rem;
  transform: translateX(-50%);
}

body.wordmark-animating.wordmark-to-preslide .verna-wordmark {
  top: 35.5%;
  transform: translate(-50%, -50%);
}

.verna-wordmark__title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1;
  white-space: nowrap;
  transform-origin: center center;
  transition: transform 1300ms var(--ease-architectural);
}

.verna-wordmark__subtitle {
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(0.58rem, 0.8vw, 0.72rem);
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1;
  transform-origin: center center;
  transition: transform 1300ms var(--ease-strategy-morph);
}

body.on-preslide .verna-wordmark__title {
  transform: scale(4.2);
}

body.on-preslide .verna-wordmark__subtitle {
  transform: translateY(2.75rem) scale(2.05);
}

body.on-preslide.wordmark-animating .verna-wordmark__title,
body.on-preslide.wordmark-animating .verna-wordmark__subtitle {
  transform: none;
}

body.on-preslide.wordmark-animating .verna-wordmark__title {
  transition-delay: 0ms;
}

body.on-preslide.wordmark-animating .verna-wordmark__subtitle {
  transition-delay: 260ms;
}

body.wordmark-animating.wordmark-to-preslide .verna-wordmark__title {
  transform: scale(4.2);
  transition-delay: 260ms;
}

body.wordmark-animating.wordmark-to-preslide .verna-wordmark__subtitle {
  transform: translateY(2.75rem) scale(2.05);
  transition-delay: 0ms;
}

.mini-map {
  position: fixed;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  overflow-x: visible;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-block: var(--mini-map-pad-block, 0);
  padding-inline: calc(var(--mini-map-pad-inline, 0px) + 10px);
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  z-index: 30;
}

.mini-map::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.mini-map__item {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  padding: 0;
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  min-width: 2.8rem;
  min-height: 2.8rem;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.28);
  color: #dfd8ca;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.09em;
  cursor: pointer;
  transition: all 500ms var(--ease-architectural), opacity 420ms var(--ease-architectural), filter 420ms var(--ease-architectural), transform 420ms var(--ease-architectural);
  scroll-snap-align: center;
}

.mini-map__item--group-start {
  margin-top: 0.5rem;
}

.mini-map__item--group-start::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.36rem;
  width: 1.2rem;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  pointer-events: none;
  opacity: 0.52;
}

.mini-map__item--group-start[data-slide-target="1"] {
  margin-top: 0;
}

.mini-map__item--group-start[data-slide-target="1"]::before {
  display: none;
}

.mini-map__item.is-out-of-range {
  opacity: 0.08;
  filter: blur(3px);
  transform: scale(0.86);
  pointer-events: auto;
}

.mini-map__item.window-4 {
  opacity: 0.42;
  filter: blur(1.6px);
  transform: scale(0.9);
}

.mini-map__item.window-3 {
  opacity: 0.58;
  filter: blur(1px);
  transform: scale(0.94);
}

.mini-map__item.window-2 {
  opacity: 0.74;
  filter: blur(0.5px);
  transform: scale(0.97);
}

.mini-map__item.window-1 {
  opacity: 0.9;
  filter: blur(0.2px);
  transform: scale(0.99);
}

.mini-map__item.window-0 {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

.mini-map__item:hover,
.mini-map__item:focus-visible {
  border-color: rgba(255, 255, 255, 0.45);
  outline: none;
}

.mini-map__item.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  animation: minimapPulse 3200ms ease-in-out infinite;
}

.mini-map__item--appendix {
  opacity: 0.66;
  border-color: rgba(255, 255, 255, 0.18);
}

.mini-map__item::after {
  display: none;
}

.mini-map__current {
  display: none !important;
}

.mini-map-current-floating {
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(0, -50%);
  display: inline-flex;
  flex-direction: column;
  gap: 0.08rem;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(8, 9, 12, 0.72);
  color: #e7e0d2;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  padding: 0.42rem 0.62rem;
  z-index: 34;
  opacity: 1;
  transition: opacity 450ms var(--ease-architectural), transform 450ms var(--ease-architectural);
}

.mini-map-current-floating.is-hover-preview {
  border-color: rgba(255, 255, 255, 0.16);
}

.mini-map-current-floating__single {
  font-size: 0.76rem;
}

.mini-map-hover-floating {
  position: fixed;
  left: 0;
  top: 0;
  transform: translate(0, -50%);
  display: inline-flex;
  flex-direction: column;
  gap: 0.04rem;
  white-space: nowrap;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(8, 9, 12, 0.56);
  color: rgba(226, 218, 204, 0.82);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  padding: 0.34rem 0.52rem;
  z-index: 34;
  opacity: 0;
  transition: opacity 340ms var(--ease-architectural), transform 340ms var(--ease-architectural);
}

.mini-map-hover-floating.is-visible {
  opacity: 0.74;
}

.mini-map-hover-floating__title {
  font-size: 0.74rem;
}

.mini-map-hover-floating__category {
  font-size: 0.56rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(205, 196, 181, 0.64);
}

.mini-map-current-floating__active {
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: rgba(213, 204, 190, 0.7);
}

.mini-map-current-floating__hover {
  display: inline-flex;
  flex-direction: column;
  gap: 0.04rem;
}

.mini-map-current-floating__hover-title {
  font-size: 0.76rem;
  color: rgba(231, 223, 209, 0.84);
}

.mini-map-current-floating__hover-category {
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(207, 198, 183, 0.62);
}

.slide-index-trigger {
  position: fixed;
  right: 1.18rem;
  bottom: 1.18rem;
  z-index: 36;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.46;
  font-size: 1rem;
  line-height: 1;
  border-radius: 999px;
  cursor: pointer;
  transition: opacity 420ms var(--ease-architectural), color 420ms var(--ease-architectural), transform 420ms var(--ease-architectural);
}

.audio-toggle {
  position: fixed;
  right: 3.66rem;
  bottom: 1.18rem;
  z-index: 36;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  opacity: 0.46;
  font-size: 0.96rem;
  line-height: 1;
  border-radius: 999px;
  cursor: pointer;
  overflow: visible;
  transition: opacity 420ms var(--ease-architectural), color 420ms var(--ease-architectural), transform 420ms var(--ease-architectural);
}

.audio-toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1.18rem;
  height: 1.5px;
  border-radius: 999px;
  background: rgba(232, 223, 210, 0.92);
  transform: translate(-50%, -50%) rotate(-35deg) scaleX(0.84);
  opacity: 0;
  transition: opacity 240ms var(--ease-architectural);
  pointer-events: none;
}

.audio-toggle:hover,
.audio-toggle:focus-visible {
  outline: none;
  color: rgba(255, 255, 255, 1);
  opacity: 0.9;
}

.audio-toggle.is-muted {
  opacity: 0.32;
  color: rgba(226, 218, 205, 0.72);
}

.audio-toggle.is-muted::after {
  opacity: 0.96;
}

.slide-index-trigger:hover,
.slide-index-trigger:focus-visible {
  outline: none;
  color: rgba(255, 255, 255, 1);
  opacity: 0.9;
}

.slide-index-panel {
  position: fixed;
  right: 1.18rem;
  bottom: 3.9rem;
  z-index: 36;
  width: min(440px, calc(100vw - 2.36rem));
  max-height: min(74vh, 700px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 9, 12, 0.9);
  backdrop-filter: blur(8px);
  border-radius: 0.42rem;
  padding: 0.66rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  pointer-events: none;
  transition: opacity 420ms var(--ease-architectural), transform 420ms var(--ease-architectural);
}

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

.slide-index-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.slide-index-panel__header p {
  margin: 0;
  color: rgba(233, 226, 214, 0.86);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.slide-index-close {
  border: 0;
  background: transparent;
  color: rgba(233, 226, 214, 0.78);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.slide-index-close:hover,
.slide-index-close:focus-visible {
  outline: none;
  color: rgba(255, 255, 255, 0.96);
}

.slide-index-list {
  overflow-y: auto;
  display: grid;
  gap: 0.25rem;
  padding-right: 0.2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(225, 216, 202, 0.42) rgba(255, 255, 255, 0.04);
}

.slide-index-list::-webkit-scrollbar {
  width: 8px;
}

.slide-index-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.04);
  border-radius: 999px;
}

.slide-index-list::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, rgba(226, 217, 202, 0.52), rgba(214, 204, 189, 0.34));
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.slide-index-list::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, rgba(236, 227, 212, 0.68), rgba(220, 210, 195, 0.46));
}

.slide-index-item {
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(229, 221, 208, 0.86);
  text-align: left;
  padding: 0.46rem 0.56rem;
  font: inherit;
  cursor: pointer;
  transition: border-color 260ms var(--ease-architectural), background 260ms var(--ease-architectural), color 260ms var(--ease-architectural);
}

.slide-index-item:hover,
.slide-index-item:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.98);
}

.slide-index-item.is-active {
  border-color: rgba(255, 255, 255, 0.36);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.slide-index-item__meta {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(214, 205, 190, 0.68);
  margin-bottom: 0.2rem;
}

.slide-index-item__title {
  display: block;
  font-size: 0.83rem;
  line-height: 1.34;
}

.mini-map {
  transition: opacity 520ms var(--ease-architectural), filter 520ms var(--ease-architectural);
}

body.ui-hidden .mini-map {
  opacity: 0;
  pointer-events: none;
}

body.ui-hidden .slide-index-trigger,
body.ui-hidden .audio-toggle,
body.ui-hidden .slide-index-panel {
  opacity: 0;
  pointer-events: none;
}

body.index-menu-open .mini-map,
body.index-menu-open .mini-map-current-floating {
  opacity: 0;
  pointer-events: none;
}

body.ui-hidden .mini-map-current-floating,
body.minimap-auto-hidden .mini-map-current-floating {
  opacity: 0;
  pointer-events: none;
}

body.minimap-auto-hidden .mini-map {
  opacity: 0;
  filter: blur(1px);
}

.presentation {
  position: relative;
  z-index: 1;
  display: flex;
  width: calc(var(--slide-count, 11) * 100vw);
  height: 100vh;
  transform: translateX(0);
  transition: transform var(--transition-main);
}

body.panel-only-transition .presentation {
  transition: none !important;
}

.shared-bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1) translate3d(0, 0, 0);
  transition: opacity 420ms var(--ease-architectural);
  will-change: transform, opacity;
}

body.shared-bg-instant .shared-bg-layer {
  transition: none !important;
}

body.panel-only-transition .shared-bg-layer {
  transition: none;
}

.shared-bg-layer--group-234 {
  background-image: url("../images/key of house.png");
}

.shared-bg-layer--group-56 {
  background-image: url("../images/cipresse.png");
}

.shared-bg-layer--group-78 {
  background-image: url("../images/stones close up.png");
}

.shared-bg-layer--group-1011 {
  background-image: url("../images/verna-book.png");
}

.shared-bg-layer--group-1819 {
  background-image: url("../images/agency.png");
}

.shared-bg-layer--group-2225 {
  background-image: url("../images/ruin-inside.png");
}

.shared-bg-layer--group-234::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(10, 11, 13, 0.72), rgba(10, 11, 13, 0.35) 48%, rgba(10, 11, 13, 0.74));
  opacity: 0.82;
  pointer-events: none;
}

body.use-shared-bg-234 .shared-bg-layer--group-234 {
  opacity: 1;
  animation: sharedBgGroup234Drift 30000ms ease-in-out infinite alternate;
}

body.use-shared-bg-56 .shared-bg-layer--group-56 {
  opacity: 1;
  animation: sharedBgGroup56Drift 30000ms ease-in-out infinite alternate;
}

body.use-shared-bg-78 .shared-bg-layer--group-78 {
  opacity: 1;
  animation: sharedBgGroup78Drift 30000ms ease-in-out infinite alternate;
}

body.use-shared-bg-1011 .shared-bg-layer--group-1011 {
  opacity: 1;
  animation: sharedBgGroup1011Drift 30000ms ease-in-out infinite alternate;
}

body.use-shared-bg-1819 .shared-bg-layer--group-1819 {
  opacity: 1;
  animation: sharedBgGroup1920Drift 30000ms ease-in-out infinite alternate;
}

body.use-shared-bg-2225 .shared-bg-layer--group-2225 {
  opacity: 1;
  animation: sharedBgGroup2425Drift 30000ms ease-in-out infinite alternate;
}

.shared-bg-layer--group-56::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(10, 11, 13, 0.72), rgba(10, 11, 13, 0.35) 48%, rgba(10, 11, 13, 0.74));
  opacity: 0.82;
  pointer-events: none;
}

.shared-bg-layer--group-78::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(10, 11, 13, 0.72), rgba(10, 11, 13, 0.35) 48%, rgba(10, 11, 13, 0.74));
  opacity: 0.82;
  pointer-events: none;
}

.shared-bg-layer--group-1011::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(10, 11, 13, 0.72), rgba(10, 11, 13, 0.35) 48%, rgba(10, 11, 13, 0.74));
  opacity: 0.82;
  pointer-events: none;
}

.shared-bg-layer--group-1819::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(10, 11, 13, 0.72), rgba(10, 11, 13, 0.35) 48%, rgba(10, 11, 13, 0.74));
  opacity: 0.82;
  pointer-events: none;
}

.shared-bg-layer--group-2225::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(10, 11, 13, 0.72), rgba(10, 11, 13, 0.35) 48%, rgba(10, 11, 13, 0.74));
  opacity: 0.82;
  pointer-events: none;
}

.preslide-content,
.glass-panel,
.scroll-arrow {
  position: relative;
  z-index: 6;
}

.slide {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 7.5rem 2rem 2.25rem 2rem;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  isolation: isolate;
}

.glass-panel.is-scrollable {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.glass-panel.is-scrollable::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.scroll-arrow {
  position: absolute;
  right: var(--panel-arrow-right, 1rem);
  color: rgba(255, 255, 255, 0.96);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.72rem;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 420ms var(--ease-architectural);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.22);
  z-index: 6;
}

.scroll-arrow--up {
  top: 7.9rem;
}

.scroll-arrow--down {
  bottom: 2.35rem;
}

.slide.is-active.panel-can-scroll-up .scroll-arrow--up,
.slide.is-active.panel-can-scroll-down .scroll-arrow--down {
  opacity: 1;
  animation: scrollArrowPulse 1850ms ease-in-out infinite;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transform: scale(1) translate3d(0, 0, 0);
  transition: transform var(--bg-drift-duration, 900ms) ease-in-out;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  z-index: -2;
}

.slide.is-active::before,
.slide.is-exiting::before {
  --bg-drift-duration: 30000ms;
  transform: scale(1.06) translate3d(-1.4%, -0.9%, 0);
}

.slide--0.is-active::before,
.slide--0.is-exiting::before {
  --bg-drift-duration: 34000ms;
  transform: scale(1.1) translate3d(-2.1%, -1.3%, 0);
  transition: none;
  animation: slide0KenBurns 34000ms ease-in-out infinite alternate;
}

.slide--0:not(.is-active):not(.is-exiting)::before {
  animation: none;
}

.slide:not(.is-active):not(.is-exiting)::before {
  --bg-drift-duration: 900ms;
  transform: scale(1) translate3d(0, 0, 0);
}

.slide.has-bg-continuity::before {
  transition: none !important;
  transform: var(--bg-continuity-transform, scale(1) translate3d(0, 0, 0)) !important;
}

body.use-shared-bg-234 .slide--identity-anchor::before,
body.use-shared-bg-234 .slide--12::before,
body.use-shared-bg-234 .slide--2::before {
  opacity: 0;
}

body.use-shared-bg-234 .slide--identity-anchor,
body.use-shared-bg-234 .slide--12,
body.use-shared-bg-234 .slide--2 {
  background-image: none !important;
}

body.use-shared-bg-234 .slide--identity-anchor .slide__overlay,
body.use-shared-bg-234 .slide--12 .slide__overlay,
body.use-shared-bg-234 .slide--2 .slide__overlay {
  display: none;
}

body.use-shared-bg-56 .slide--25::before,
body.use-shared-bg-56 .slide--13::before {
  opacity: 0;
}

body.use-shared-bg-56 .slide--25,
body.use-shared-bg-56 .slide--13 {
  background-image: none !important;
}

body.use-shared-bg-56 .slide--25 .slide__overlay,
body.use-shared-bg-56 .slide--13 .slide__overlay {
  display: none;
}

body.use-shared-bg-78 .slide--structural-model::before,
body.use-shared-bg-78 .slide--protection-logic::before {
  opacity: 0;
}

body.use-shared-bg-78 .slide--structural-model,
body.use-shared-bg-78 .slide--protection-logic {
  background-image: none !important;
}

body.use-shared-bg-78 .slide--structural-model .slide__overlay,
body.use-shared-bg-78 .slide--protection-logic .slide__overlay {
  display: none;
}

body.use-shared-bg-1011 .slide--7::before,
body.use-shared-bg-1011 .slide--9::before {
  opacity: 0;
}

body.use-shared-bg-1011 .slide--7,
body.use-shared-bg-1011 .slide--9 {
  background-image: none !important;
}

body.use-shared-bg-1011 .slide--7 .slide__overlay,
body.use-shared-bg-1011 .slide--9 .slide__overlay {
  display: none;
}

body.use-shared-bg-1819 .slide--3::before,
body.use-shared-bg-1819 .slide--14::before {
  opacity: 0;
}

body.use-shared-bg-1819 .slide--3,
body.use-shared-bg-1819 .slide--14 {
  background-image: none !important;
}

body.use-shared-bg-1819 .slide--3 .slide__overlay,
body.use-shared-bg-1819 .slide--14 .slide__overlay {
  display: none;
}

body.use-shared-bg-2225 .slide--16::before,
body.use-shared-bg-2225 .slide--17::before {
  opacity: 0;
}

body.use-shared-bg-2225 .slide--16,
body.use-shared-bg-2225 .slide--17 {
  background-image: none !important;
}

body.use-shared-bg-2225 .slide--16 .slide__overlay,
body.use-shared-bg-2225 .slide--17 .slide__overlay {
  display: none;
}

.slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(10, 11, 13, 0.72), rgba(10, 11, 13, 0.35) 48%, rgba(10, 11, 13, 0.74));
  z-index: -1;
  opacity: 0.82;
}

.slide__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.14;
  mix-blend-mode: soft-light;
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0px, rgba(255, 255, 255, 0.018) 1px, rgba(0, 0, 0, 0.014) 1px, rgba(0, 0, 0, 0.014) 2px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 1px, rgba(0, 0, 0, 0.01) 1px, rgba(0, 0, 0, 0.01) 2px);
}

.slide.is-active .slide__overlay {
  animation: overlayFadeIn var(--overlay-enter-ms, 1250ms) var(--ease-architectural) both;
}

.slide.is-static-entry .slide__overlay {
  animation: none;
  opacity: 0.82;
}

.slide--0 .slide__overlay {
  display: none;
}

.preslide-content {
  width: min(980px, 100%);
  margin: auto;
  text-align: center;
  padding: 2rem;
}

.slide--0 .preslide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 60vh;
}

.preslide-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 500;
  font-size: clamp(3.5rem, 11vw, 8.4rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
}

.preslide-subtitle {
  margin: 0.45rem 0 1.1rem;
  font-family: "Inter", sans-serif;
  font-weight: 300;
  font-size: clamp(0.95rem, 2.2vw, 1.35rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.84);
}

.preslide-text {
  margin: 0 auto;
  max-width: 820px;
  color: rgba(235, 230, 220, 0.84);
  font-size: clamp(0.98rem, 1.7vw, 1.22rem);
}


.slide--0 { background-image: url("../images/hero.png"); }
.slide--1 { background-image: url("../images/hero.png"); }
.slide--2 { background-image: url("../images/key of house.png"); }
.slide--3 { background-image: url("../images/agency.png"); }
.slide--4 { background-image: url("../images/commune.png"); }
.slide--5 { background-image: url("../images/commune.png"); }
.slide--6 { background-image: url("../images/commune.png"); }
.slide--7 { background-image: url("../images/verna-book.png"); }
.slide--8 { background-image: url("../images/small-event.png"); }
.slide--9 { background-image: url("../images/verna-book.png"); }
.slide--10 { background-image: url("../images/closeup-marmer.png"); }
.slide--11 { background-image: url("../images/blue-hour.png"); }
.slide--12 { background-image: url("../images/key of house.png"); }
.slide--13 { background-image: url("../images/cipresse.png"); }
.slide--14 { background-image: url("../images/agency.png"); }
.slide--16 { background-image: url("../images/ruin-inside.png"); }
.slide--17 { background-image: url("../images/ruin-inside.png"); }
.slide--18 { background-image: url("../images/verna-book.png"); }
.slide--19 { background-image: url("../images/closeup-door.png"); }
.slide--20 { background-image: url("../images/blue-hour-umbrian-villa.png"); }
.slide--21 { background-image: url("../images/business-card.png"); }
.slide--22 { background-image: url("../images/renovated-house.png"); }
.slide--23 { background-image: url("../images/house-car.png"); }
.slide--24 { background-image: url("../images/event.png"); }
.slide--25 { background-image: url("../images/cipresse.png"); }
.slide--26 { background-image: url("../images/closeup-marmer.png"); }
.slide--27 { background-image: url("../images/wooden-table.png"); }
.slide--visual-transition { background-image: url("../images/closeup-ceiling.png"); }
.slide--identity-anchor { background-image: url("../images/key of house.png"); }
.slide--structural-model { background-image: url("../images/stones close up.png"); }
.slide--protection-logic { background-image: url("../images/stones close up.png"); }
.slide--closing-note { background-image: url("../images/sunset.png"); }
.slide--narrative-guardrails { background-image: url("../images/living room spatious.png"); }
.slide--authority-intro { background-image: url("../images/hero.png"); }
.slide--introduction-intro { background-image: url("../images/hero.png"); }
.slide--qualification-intro { background-image: url("../images/hero.png"); }

.slide--visual-transition .slide__overlay {
  display: none;
}

.slide--authority-intro .slide__overlay {
  background: linear-gradient(130deg, rgba(8, 14, 24, 0.76), rgba(12, 20, 34, 0.4) 48%, rgba(7, 13, 23, 0.78));
  opacity: 0.84;
}

.slide--introduction-intro .slide__overlay {
  background: linear-gradient(130deg, rgba(24, 14, 10, 0.74), rgba(39, 24, 14, 0.4) 48%, rgba(28, 16, 11, 0.76));
  opacity: 0.84;
}

.slide--qualification-intro .slide__overlay {
  background: linear-gradient(130deg, rgba(10, 11, 13, 0.72), rgba(10, 11, 13, 0.35) 48%, rgba(10, 11, 13, 0.74));
  opacity: 0.82;
}

@keyframes sharedBgGroup234Drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.7%, -1.1%, 0);
  }
}

@keyframes sharedBgGroup56Drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.7%, -1.1%, 0);
  }
}

@keyframes sharedBgGroup78Drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.7%, -1.1%, 0);
  }
}

@keyframes sharedBgGroup1011Drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.7%, -1.1%, 0);
  }
}

@keyframes sharedBgGroup1920Drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.7%, -1.1%, 0);
  }
}

@keyframes sharedBgGroup2425Drift {
  from {
    transform: scale(1) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(-1.7%, -1.1%, 0);
  }
}

.glass-panel {
  position: relative;
  width: min(940px, 100%);
  max-height: calc(100vh - 9.75rem);
  padding: clamp(2rem, 4vw, 4rem);
  border: 1px solid var(--panel-border);
  background: var(--panel-bg);
  backdrop-filter: blur(18px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-gutter: stable both-edges;
  scrollbar-width: none;
  -ms-overflow-style: none;
  opacity: 0;
  transform: translateY(12px);
}

.glass-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.slide.is-revealing .glass-panel {
  animation: panelEnter var(--panel-enter-ms, 1250ms) var(--ease-architectural) both;
}

.slide.is-static-entry .glass-panel {
  animation: none;
  opacity: 1;
  transform: none;
}

.slide.is-exiting .glass-panel {
  animation: panelExit var(--panel-exit-ms, 1050ms) var(--ease-architectural) both;
}

.slide.is-transition-prep .glass-panel {
  animation: none !important;
  opacity: 0 !important;
  transform: translateY(12px) !important;
}

.glass-panel > * {
  opacity: 0;
  transform: translateY(8px);
}

.slide.is-transition-prep .glass-panel > * {
  animation: none !important;
  opacity: 0 !important;
  transform: translateY(8px) !important;
}

.slide.is-revealing .glass-panel > * {
  animation: contentReveal var(--content-reveal-ms, 700ms) var(--ease-architectural) both;
}

.slide.is-static-entry .glass-panel > * {
  animation: none;
  opacity: 1;
  transform: none;
  filter: none;
}

.slide.is-exiting .glass-panel > * {
  animation: contentExit var(--content-exit-ms, 520ms) var(--ease-architectural) both;
}

.slide.is-revealing .glass-panel > *:nth-child(1) { animation-delay: 90ms; }
.slide.is-revealing .glass-panel > *:nth-child(2) { animation-delay: 180ms; }
.slide.is-revealing .glass-panel > *:nth-child(3) { animation-delay: 250ms; }
.slide.is-revealing .glass-panel > *:nth-child(4) { animation-delay: 320ms; }
.slide.is-revealing .glass-panel > *:nth-child(5) { animation-delay: 390ms; }
.slide.is-revealing .glass-panel > *:nth-child(6) { animation-delay: 460ms; }
.slide.is-revealing .glass-panel > *:nth-child(7) { animation-delay: 530ms; }
.slide.is-revealing .glass-panel > *:nth-child(8) { animation-delay: 600ms; }
.slide.is-revealing .glass-panel > *:nth-child(9) { animation-delay: 670ms; }
.slide.is-revealing .glass-panel > *:nth-child(10) { animation-delay: 740ms; }

.slide.is-revealing .glass-panel > .expand-content {
  animation: none;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.flow {
  display: grid;
  justify-items: start;
  row-gap: 0.15rem;
  margin-bottom: 1rem;
}

.flow div {
  padding: 0.2rem 0;
  color: #ded8ca;
}

.flow span {
  color: rgba(255, 255, 255, 0.7);
}

.do-dont-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.95rem;
}

.do-dont-toggle {
  margin-top: 0.95rem;
}

.do-dont-grid.do-dont-collapsible {
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  overflow: hidden;
  transform: translateY(-8px);
  filter: blur(1.5px);
  transition: max-height 780ms var(--ease-architectural), opacity 700ms var(--ease-architectural), margin-top 780ms var(--ease-architectural), transform 700ms var(--ease-architectural), filter 700ms var(--ease-architectural);
}

.do-dont-grid.do-dont-collapsible.is-open {
  max-height: 65vh;
  opacity: 1;
  margin-top: 0.95rem;
  transform: translateY(0);
  filter: blur(0);
}

.do-dont-grid h3 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(231, 223, 210, 0.9);
}

.do-dont-grid ul {
  margin: 0;
  padding-left: 1rem;
}

.core-line {
  margin: 0.4rem 0 0;
  color: rgba(231, 224, 212, 0.78);
}

.inline-example-trigger {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  background: none;
  color: var(--text-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1px;
  text-decoration-color: rgba(255, 255, 255, 0.34);
}

.inline-example-trigger:hover,
.inline-example-trigger:focus-visible {
  color: var(--text-main);
  outline: none;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.example-callout {
  border-left: 1px solid var(--panel-border);
  padding-left: 0.75rem;
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.example-callout p {
  margin: 0.45rem 0 0;
}

.example-callout p:first-child {
  margin-top: 0;
}

.not-this-line {
  margin-top: 0.82rem;
  font-size: 0.83rem;
  letter-spacing: 0.02em;
  color: rgba(213, 204, 190, 0.66);
}

.decision-logic-stack {
  margin-top: 0.45rem;
  display: grid;
  gap: 0.78rem;
}

.decision-logic-state {
  transition: opacity 520ms var(--ease-architectural), transform 520ms var(--ease-architectural), max-height 520ms var(--ease-architectural);
}

.decision-logic-state p {
  margin: 0;
}

.decision-logic-state--default {
  opacity: 1;
  transform: translateY(0);
}

.decision-logic-state--bridge {
  opacity: 0;
  transform: translateY(6px);
  max-height: 0;
  overflow: hidden;
}

.slide--25.is-bridge-active .decision-logic-state--bridge {
  opacity: 1;
  transform: translateY(0);
  max-height: 8rem;
}

.slide--25 .decision-logic-state--default .not-this-line {
  margin-top: 1.45rem;
}

.expand-toggle,
.roadmap__phase {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.18);
  color: #e6dfd0;
  padding: 0.6rem 0.9rem;
  margin-top: 0.9rem;
  cursor: pointer;
  font: inherit;
  letter-spacing: 0.02em;
  text-align: left;
  transition: border-color 450ms var(--ease-architectural), background 450ms var(--ease-architectural);
}

.expand-toggle:hover,
.expand-toggle:focus-visible,
.roadmap__phase:hover,
.roadmap__phase:focus-visible {
  border-color: rgba(255, 255, 255, 0.6);
  outline: none;
}

.expand-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-8px);
  filter: blur(1.5px);
  transition: max-height 780ms var(--ease-architectural), opacity 700ms var(--ease-architectural), margin-top 780ms var(--ease-architectural), transform 700ms var(--ease-architectural), filter 700ms var(--ease-architectural);
}

.expand-content.is-open {
  max-height: 60vh;
  opacity: 1;
  margin-top: 0.95rem;
  margin-bottom: 0.7rem;
  transform: translateY(0);
  filter: blur(0);
}

.timeline {
  position: relative;
  list-style: decimal;
  padding-left: 1.3rem;
}

.timeline::before {
  display: none;
}

.slide.is-active .timeline::before {
  animation: none;
}

.timeline__item {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 650ms var(--ease-architectural), transform 650ms var(--ease-architectural);
}

.timeline__item.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.roadmap {
  display: grid;
  gap: 0.3rem;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to { opacity: 0.82; }
}

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

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

@keyframes contentReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes contentExit {
  from {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  to {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(2px);
  }
}

@keyframes timelineDraw {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

@keyframes scrollArrowPulse {
  0%,
  100% {
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.34), 0 0 16px rgba(255, 255, 255, 0.16);
    transform: translateY(0);
  }
  50% {
    text-shadow: 0 0 18px rgba(255, 255, 255, 0.78), 0 0 36px rgba(255, 255, 255, 0.42);
    transform: translateY(-1px);
  }
}

@keyframes minimapPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.18);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(255, 255, 255, 0);
  }
}

@keyframes heroRaysDrift {
  0% {
    transform: translate3d(-2.6%, -1.8%, 0) scale(1.03) rotate(-0.9deg);
    filter: blur(4.8px) saturate(1.2) brightness(0.9);
  }
  50% {
    transform: translate3d(1.8%, 1.2%, 0) scale(1.1) rotate(0.4deg);
    filter: blur(4.2px) saturate(1.42) brightness(1.32);
  }
  100% {
    transform: translate3d(3.3%, 2.2%, 0) scale(1.14) rotate(1.05deg);
    filter: blur(5.1px) saturate(1.3) brightness(1.14);
  }
}

@keyframes heroRaysPulse {
  0%,
  100% {
    opacity: 0.08;
  }
  14% {
    opacity: 0.18;
  }
  38% {
    opacity: 0.52;
  }
  56% {
    opacity: 0.56;
  }
  74% {
    opacity: 0.2;
  }
  88% {
    opacity: 0.1;
  }
}


@keyframes heroSunBreak {
  0%,
  100% {
    opacity: 0;
    filter: blur(8px) brightness(0.98);
    transform: translate3d(-1.2%, -0.8%, 0) scale(1.02);
  }
  24% {
    opacity: 0;
  }
  34% {
    opacity: 0.08;
    filter: blur(7px) brightness(1.06);
  }
  46% {
    opacity: 0.12;
    filter: blur(6.2px) brightness(1.14);
    transform: translate3d(-0.55%, -0.45%, 0) scale(1.04);
  }
  58% {
    opacity: 0.06;
    filter: blur(7.2px) brightness(1.03);
  }
  70% {
    opacity: 0;
  }
}

@keyframes slide0KenBurns {
  0% {
    transform: scale(1.02) translate3d(-0.4%, -0.2%, 0);
  }
  50% {
    transform: scale(1.08) translate3d(-1.3%, -0.8%, 0);
  }
  100% {
    transform: scale(1.14) translate3d(-2.4%, -1.6%, 0);
  }
}


@keyframes heroBirdsFlockPass {
  0% {
    transform: translate3d(0, 0.8vh, 0) scale(0.54) rotate(-0.35deg);
    opacity: 0;
  }
  4% {
    opacity: 0.72;
  }
  28% {
    transform: translate3d(35vw, 0.1vh, 0) scale(0.56) rotate(0.08deg);
    opacity: 0.7;
  }
  52% {
    transform: translate3d(66vw, -0.9vh, 0) scale(0.58) rotate(-0.06deg);
    opacity: 0.66;
  }
  76% {
    transform: translate3d(98vw, -1.2vh, 0) scale(0.6) rotate(0.05deg);
    opacity: 0.56;
  }
  94% {
    transform: translate3d(118vw, -0.6vh, 0) scale(0.62) rotate(-0.04deg);
    opacity: 0.44;
  }
  98% {
    opacity: 0.22;
  }
  100% {
    transform: translate3d(125vw, -0.5vh, 0) scale(0.64) rotate(0.03deg);
    opacity: 0;
  }
}

@keyframes birdMicroBob {
  0% {
    transform: translateY(calc(var(--bird-bob, 1.4px) * -1));
  }
  100% {
    transform: translateY(var(--bird-bob, 1.4px));
  }
}

@media (max-width: 960px) {
  .slide {
    padding: 6.6rem 1.25rem 4.9rem;
  }

  .glass-panel {
    width: 100%;
    max-height: calc(100vh - 11.5rem);
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .do-dont-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .mini-map {
    flex-direction: row;
    left: 50%;
    top: auto;
    bottom: 0.9rem;
    transform: translateX(-50%);
    padding-block: 0.5rem;
    padding-inline: calc(max(0.5rem, var(--mini-map-pad-inline, 0px)) + 10px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(8, 9, 12, 0.52);
    backdrop-filter: blur(8px);
    max-width: calc(100vw - 1.5rem);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
  }

  .mini-map-current-floating {
    font-size: 0.68rem;
  }

  .slide-index-trigger {
    right: 0.82rem;
    bottom: 0.82rem;
    width: 1.96rem;
    height: 1.96rem;
    font-size: 0.92rem;
  }

  .audio-toggle {
    right: 3.12rem;
    bottom: 0.82rem;
    width: 1.96rem;
    height: 1.96rem;
    font-size: 0.88rem;
  }

  .slide-index-panel {
    right: 0.82rem;
    left: auto;
    bottom: 3.26rem;
    width: min(440px, calc(100vw - 1.64rem));
    max-height: min(62vh, 520px);
  }

  .mini-map__item--group-start {
    margin-top: 0;
    margin-left: 0.55rem;
  }

  .mini-map__item--group-start::before {
    left: -0.34rem;
    top: 50%;
    width: 1px;
    height: 1.2rem;
    transform: translateY(-50%);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
  }

  .mini-map__item--group-start[data-slide-target="1"] {
    margin-left: 0;
  }

  .scroll-arrow {
    font-size: 1.32rem;
    right: max(var(--panel-arrow-right, 0.65rem), 0.65rem);
  }

  .scroll-arrow--up {
    top: 6.95rem;
  }

  .scroll-arrow--down {
    bottom: 5.2rem;
  }

  .verna-wordmark {
    top: 2.55rem;
    gap: 0.08rem;
  }

  .verna-wordmark__title {
    font-size: 1.06rem;
    letter-spacing: 0.43em;
    margin-right: -0.43em;
  }

  .verna-wordmark__subtitle {
    font-size: 0.56rem;
    letter-spacing: 0.3em;
    margin-right: -0.3em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .presentation,
  .mini-map__item,
  .expand-content,
  .timeline__item,
  .expand-toggle,
  .roadmap__phase,
  .slide::before,
  .slide__overlay,
  .glass-panel,
  .glass-panel > *,
  .timeline::before,
  .mini-map,
  .scroll-arrow,
  .hero-rays,
  .hero-rays::after,
  .hero-birds,
  .bird-flock,
  .bird,
  .bird::before,
  .bird::after {
    transition: none;
    animation: none;
  }

  .slide::before,
  .glass-panel,
  .glass-panel > *,
  .timeline::before,
  .timeline__item {
    transform: none;
    opacity: 1;
  }
}
