:root {
  color-scheme: dark;
  --black: #050505;
  --ink: #11100d;
  --milk: #f5efe5;
  --sand: #b8ad9b;
  --stone: #817865;
  --gold: #d4b16b;
  --olive: #1d251d;
  --glass: rgba(245, 239, 229, 0.13);
  --line: rgba(245, 239, 229, 0.2);
  --dark-line: rgba(17, 16, 13, 0.16);
  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--black);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--black);
  color: var(--milk);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
}

body.loaded .loader {
  opacity: 0;
  pointer-events: none;
  transform: scale(1.06);
}

img {
  display: block;
  max-width: 100%;
}

a,
button {
  color: inherit;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

a {
  text-decoration: none;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: #bdb5a4;
  transition: opacity 900ms var(--ease), transform 1200ms var(--ease);
}

.loader-word {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  color: white;
  font-size: clamp(2rem, 6vw, 5.4rem);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}

.loader-word i {
  width: clamp(90px, 12vw, 172px);
  height: clamp(46px, 6vw, 78px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 62% 45%, rgba(255, 255, 255, 0.92), transparent 12%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(83, 72, 55, 0.24)),
    url("../images/lash-sculpture.png") center / cover;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.12;
  mix-blend-mode: soft-light;
  background-image:
    radial-gradient(circle at 20% 30%, #fff 0 1px, transparent 1px),
    radial-gradient(circle at 72% 60%, #fff 0 1px, transparent 1px);
  background-size: 41px 41px, 67px 67px;
}

#stage-3d {
  position: fixed;
  z-index: 18;
  right: 8vw;
  top: 50%;
  width: min(42vw, 560px);
  height: min(42vw, 560px);
  transform: translateY(-50%);
  pointer-events: none;
  mix-blend-mode: screen;
}

.scroll-progress {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.scroll-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #fff5df, var(--gold), #8f7b52);
}

.chrome {
  position: fixed;
  inset: 0;
  z-index: 70;
  pointer-events: none;
  color: white;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.chrome a {
  pointer-events: auto;
}

.corner-link {
  position: absolute;
  left: 28px;
  top: 28px;
}

.corner-link.right {
  left: auto;
  right: 28px;
}

.brand-sigil {
  position: absolute;
  left: 50%;
  top: 22px;
  transform: translateX(-50%);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  letter-spacing: 0;
  text-transform: none;
}

.corner-bottom {
  position: absolute;
  left: 28px;
  bottom: 28px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.corner-bottom.right {
  left: auto;
  right: 28px;
}

.corner-bottom span {
  opacity: 0.55;
}

.experience {
  position: relative;
  height: 340svh;
  overflow: visible;
  background: #0b0b09;
}

.hero-stage {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}

.slides,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.05);
  transition: opacity 900ms var(--ease), visibility 900ms var(--ease), transform 1500ms var(--ease);
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide::before,
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.slide::before {
  background:
    radial-gradient(circle at 72% 52%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5) 58%, rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.52), rgba(0, 0, 0, 0.08) 48%, rgba(0, 0, 0, 0.34));
}

.slide[data-tone="light"]::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.34), transparent 45%, rgba(0, 0, 0, 0.1)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.22));
}

.slide[data-tone="dark"]::before {
  background:
    radial-gradient(circle at 76% 42%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.72) 64%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.22) 58%, rgba(0, 0, 0, 0.42));
}

.slide::after {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 28%, rgba(0, 0, 0, 0.58));
}

.slide-copy {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.mini {
  margin: 0 0 18px;
  color: rgba(255, 245, 223, 0.82);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.slide-copy .mini {
  position: absolute;
  left: clamp(24px, 7vw, 96px);
  bottom: clamp(198px, 24svh, 248px);
  margin: 0;
}

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

h1,
h2 {
  margin-bottom: 22px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.92;
}

h1 {
  font-size: clamp(3.8rem, 7.5vw, 8.2rem);
}

.slide-copy h2 {
  font-size: clamp(3.8rem, 7.2vw, 8rem);
}

.slide-copy p:not(.mini) {
  position: absolute;
  left: clamp(24px, 7vw, 96px);
  bottom: clamp(104px, 14svh, 150px);
  max-width: 560px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
}

.slide-copy h1,
.slide-copy h2 {
  position: absolute;
  max-width: min(680px, 39vw);
}

.slide[data-index="01"] .slide-copy h1,
.slide[data-index="03"] .slide-copy h2 {
  top: clamp(170px, 26svh, 250px);
  right: clamp(32px, 5vw, 80px);
  max-width: min(540px, 35vw);
  font-size: clamp(3.35rem, 6.35vw, 6.9rem);
}

.slide[data-index="02"] .slide-copy h2 {
  top: clamp(190px, 28svh, 270px);
  left: clamp(40px, 7vw, 128px);
  max-width: min(760px, 50vw);
  font-size: clamp(3.15rem, 6.1vw, 6.75rem);
}

.slide-label {
  position: absolute;
  z-index: 4;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2rem, 4.3vw, 4.4rem);
  letter-spacing: -0.06em;
}

.label-left {
  left: 15vw;
  top: 18svh;
}

.label-right {
  right: 15vw;
  bottom: 18svh;
}

.slide[data-index="01"] .label-left,
.slide[data-index="03"] .label-left {
  left: auto;
  right: clamp(220px, 30vw, 480px);
  top: clamp(118px, 16svh, 170px);
}

.slide[data-index="01"] .label-right,
.slide[data-index="03"] .label-right {
  right: clamp(120px, 18vw, 280px);
  bottom: clamp(110px, 14svh, 160px);
}

.slide[data-index="02"] .label-left {
  left: clamp(110px, 16vw, 300px);
  top: clamp(120px, 17svh, 180px);
}

.slide[data-index="02"] .label-right {
  right: clamp(210px, 27vw, 430px);
  bottom: clamp(110px, 16svh, 180px);
}

.floating-card {
  position: absolute;
  left: 50%;
  top: 52%;
  z-index: 35;
  width: min(18vw, 230px);
  min-width: 156px;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.floating-card img {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 24px 84px rgba(0, 0, 0, 0.42);
}

.floating-card span {
  display: block;
  margin-top: 12px;
  color: white;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  letter-spacing: 0.22em;
  text-align: center;
  text-transform: uppercase;
}

.slide-nav {
  position: absolute;
  z-index: 45;
  left: 50%;
  bottom: 26px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.slide-nav button {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  transition: transform 220ms var(--ease), background 220ms var(--ease), color 220ms var(--ease);
}

.slide-nav button.active {
  color: var(--ink);
  background: var(--milk);
  transform: scale(1.08);
}

.slide-nav span {
  font-size: 0.72rem;
  font-weight: 900;
}

.book-now {
  position: absolute;
  right: 28px;
  bottom: 92px;
  z-index: 48;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  color: var(--ink);
  background: var(--milk);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
  transition: transform 240ms var(--ease);
}

.book-now:hover,
.book-now:focus-visible {
  transform: scale(1.05) rotate(-2deg);
}

.book-now span {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.book-now strong {
  margin-top: -30px;
  font-size: 1.05rem;
}

.manifest {
  position: relative;
  min-height: 145svh;
  overflow: hidden;
  background: #050505;
}

.manifest img {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  object-fit: cover;
  opacity: 0.72;
}

.manifest::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.86), rgba(0, 0, 0, 0.2) 56%, rgba(0, 0, 0, 0.78)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), #050505 96%);
}

.manifest-copy {
  position: absolute;
  z-index: 3;
  left: clamp(24px, 8vw, 110px);
  top: 34svh;
  width: min(940px, calc(100vw - 48px));
}

.manifest-copy h2,
.treatment-intro h2,
.contact-copy h2 {
  font-size: clamp(3.3rem, 8vw, 9rem);
}

.manifest-lines {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.38);
  font-size: clamp(3rem, 10vw, 12rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  text-transform: lowercase;
}

.manifest-lines span {
  position: absolute;
}

.manifest-lines span:nth-child(1) {
  right: 4vw;
  top: 20svh;
}

.manifest-lines span:nth-child(2) {
  left: 5vw;
  bottom: 35svh;
}

.manifest-lines span:nth-child(3) {
  right: 8vw;
  bottom: 12svh;
}

.treatments {
  position: relative;
  padding: 18svh clamp(22px, 7vw, 96px);
  background:
    radial-gradient(circle at 82% 16%, rgba(212, 177, 107, 0.18), transparent 28%),
    linear-gradient(180deg, #050505, #10100d 48%, #050505);
}

.treatment-intro {
  max-width: 1060px;
  margin-bottom: 12svh;
}

.treatment-reel {
  display: grid;
  grid-template-columns: repeat(3, minmax(260px, 1fr));
  gap: 14px;
}

.treatment-scene {
  min-height: 72svh;
  padding: clamp(24px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(245, 239, 229, 0.12), rgba(245, 239, 229, 0.03)),
    rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(18px);
  transition: transform 420ms var(--ease), background 420ms var(--ease), border-color 420ms var(--ease);
}

.treatment-scene:hover {
  transform: translateY(-10px);
  border-color: rgba(212, 177, 107, 0.5);
  background:
    radial-gradient(circle at 80% 14%, rgba(212, 177, 107, 0.22), transparent 28%),
    rgba(255, 255, 255, 0.05);
}

.treatment-scene span {
  display: block;
  margin-bottom: 22svh;
  color: var(--gold);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(2.8rem, 6vw, 5.6rem);
}

.treatment-scene h3 {
  max-width: 430px;
  margin-bottom: 18px;
  font-size: clamp(1.9rem, 3vw, 3.4rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.treatment-scene p {
  max-width: 440px;
  color: rgba(245, 239, 229, 0.66);
  font-size: 1rem;
}

.treatment-scene i {
  display: inline-flex;
  margin-top: 22px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--milk);
  font-style: normal;
  font-weight: 900;
}

.ritual {
  position: relative;
  min-height: 100svh;
  padding: 16svh clamp(22px, 7vw, 96px);
  color: var(--ink);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent 32%),
    #d8ccbb;
  overflow: hidden;
}

.ritual-word {
  position: absolute;
  left: -4vw;
  top: -6vw;
  color: rgba(17, 16, 13, 0.08);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(10rem, 26vw, 28rem);
  letter-spacing: -0.08em;
}

.ritual-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  min-height: 66svh;
  border: 1px solid var(--dark-line);
  background: var(--dark-line);
}

.ritual-grid div {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(24px, 4vw, 44px);
  background: rgba(245, 239, 229, 0.34);
}

.ritual-grid span {
  margin-bottom: auto;
  color: rgba(17, 16, 13, 0.5);
  font-weight: 900;
}

.ritual-grid h3 {
  margin-bottom: 12px;
  font-size: clamp(1.5rem, 2.4vw, 2.4rem);
  letter-spacing: -0.05em;
}

.ritual-grid p {
  color: rgba(17, 16, 13, 0.62);
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: clamp(28px, 7vw, 110px);
  align-items: center;
  min-height: 100svh;
  padding: 16svh clamp(22px, 7vw, 96px) 12svh;
  background:
    radial-gradient(circle at 80% 35%, rgba(212, 177, 107, 0.18), transparent 24%),
    #050505;
}

.contact-copy {
  max-width: 900px;
}

.contact-copy p:not(.mini) {
  max-width: 640px;
  color: rgba(245, 239, 229, 0.68);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
}

.contact-panel {
  display: grid;
  gap: 10px;
}

.contact-panel a {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(245, 239, 229, 0.78);
  font-weight: 800;
  text-align: center;
}

.contact-panel .big-booksy {
  min-height: 300px;
  border-radius: 50%;
  color: var(--ink);
  background:
    radial-gradient(circle at 32% 22%, rgba(255, 255, 255, 0.7), transparent 18%),
    linear-gradient(135deg, var(--milk), #cfb278);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  font-weight: 400;
  letter-spacing: -0.06em;
}

.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  #stage-3d {
    right: -12vw;
    width: 70vw;
    height: 70vw;
    opacity: 0.72;
  }

  .corner-bottom {
    display: none;
  }

  .slide-copy {
    inset: 0;
  }

  h1,
  .slide-copy h2 {
    font-size: clamp(3.5rem, 12vw, 6.8rem);
  }

  .slide-copy h1,
  .slide-copy h2,
  .slide[data-index="01"] .slide-copy h1,
  .slide[data-index="02"] .slide-copy h2,
  .slide[data-index="03"] .slide-copy h2 {
    top: auto;
    right: 24px;
    bottom: 200px;
    left: 24px;
    max-width: calc(100vw - 48px);
  }

  .slide-copy .mini {
    left: 24px;
    bottom: 390px;
  }

  .slide-copy p:not(.mini) {
    left: 24px;
    bottom: 112px;
    max-width: min(560px, calc(100vw - 48px));
  }

  .floating-card {
    left: auto;
    right: 24px;
    top: 36%;
    transform: none;
    width: min(34vw, 180px);
  }

  .label-left,
  .label-right {
    display: none;
  }

  .treatment-reel,
  .ritual-grid,
  .contact {
    grid-template-columns: 1fr;
  }

  .treatment-scene {
    min-height: auto;
  }

  .treatment-scene span {
    margin-bottom: 12svh;
  }
}

@media (max-width: 640px) {
  .chrome {
    font-size: 0.68rem;
  }

  .corner-link {
    left: 18px;
    top: 18px;
  }

  .corner-link.right {
    right: 18px;
  }

  .brand-sigil {
    top: 48px;
    font-size: 1.08rem;
  }

  .slide img {
    object-position: center;
  }

  .slide[data-tone="warm"] img {
    object-position: 38% center;
  }

  .slide[data-tone="dark"] img {
    object-position: 64% center;
  }

  .slide-copy {
    inset: 0;
  }

  .mini {
    margin-bottom: 12px;
    font-size: 0.68rem;
  }

  h1,
  .slide-copy h2 {
    margin-bottom: 16px;
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .slide-copy h1,
  .slide-copy h2,
  .slide[data-index="01"] .slide-copy h1,
  .slide[data-index="02"] .slide-copy h2,
  .slide[data-index="03"] .slide-copy h2 {
    right: 18px;
    bottom: 202px;
    left: 18px;
    max-width: calc(100vw - 36px);
  }

  .slide-copy .mini {
    left: 18px;
    bottom: 380px;
  }

  .slide-copy p:not(.mini) {
    left: 18px;
    bottom: 116px;
    max-width: min(260px, calc(100vw - 126px));
    font-size: 0.96rem;
  }

  .floating-card {
    top: 18svh;
    right: 18px;
    width: 128px;
  }

  .floating-card span {
    font-size: 0.9rem;
  }

  .book-now {
    right: 16px;
    bottom: 76px;
    width: 86px;
    height: 86px;
  }

  .book-now strong {
    margin-top: -22px;
    font-size: 0.92rem;
  }

  .slide-nav {
    bottom: 18px;
  }

  .manifest {
    min-height: 118svh;
  }

  .manifest-copy {
    left: 18px;
    top: 32svh;
    width: calc(100vw - 36px);
  }

  .manifest-copy h2,
  .treatment-intro h2,
  .contact-copy h2 {
    font-size: clamp(3rem, 14vw, 5rem);
  }

  .manifest-lines {
    display: none;
  }

  .treatments,
  .ritual,
  .contact {
    padding-left: 18px;
    padding-right: 18px;
  }

  .treatment-reel {
    gap: 10px;
  }

  .treatment-scene {
    border-radius: 26px;
  }

  .ritual-grid {
    min-height: auto;
  }

  .ritual-grid div {
    min-height: 260px;
  }

  .contact-panel .big-booksy {
    min-height: 230px;
  }
}

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

  .loader {
    display: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
