:root {
  color-scheme: light;
  --bg: #f7efe4;
  --bg-soft: #fffaf3;
  --bg-elevated: #fffdf8;
  --surface: rgba(255, 251, 245, 0.76);
  --surface-strong: rgba(255, 248, 240, 0.92);
  --surface-solid: #fff9f2;
  --text: #26170f;
  --muted: rgba(71, 45, 25, 0.76);
  --muted-soft: rgba(95, 64, 39, 0.56);
  --line: rgba(182, 139, 89, 0.2);
  --line-strong: rgba(182, 139, 89, 0.34);
  --gold: #b77d43;
  --gold-soft: #d7a56d;
  --shadow: 0 32px 96px rgba(98, 67, 36, 0.14);
  --shadow-soft: 0 18px 44px rgba(112, 78, 40, 0.1);
  --hero-progress: 0;
  --hero-lag-x: 0;
  --hero-lag-y: 0;
  --hero-lag-rotate: 0;
  --content-width: min(92rem, calc(100vw - 2.5rem));
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(225, 189, 146, 0.38), transparent 34%),
    radial-gradient(circle at 82% 16%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #fffdf8 0%, #f8efe3 44%, #f3e6d6 100%);
  overflow-x: hidden;
}

body.is-preloading {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -12rem;
  right: -10rem;
  width: 36rem;
  height: 36rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 235, 205, 0.82), transparent 68%);
  filter: blur(26px);
}

body::after {
  left: -8rem;
  bottom: 12rem;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(218, 183, 140, 0.4), transparent 72%);
  filter: blur(30px);
}

a {
  color: inherit;
  text-decoration: none;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 1rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(180deg, rgba(253, 247, 239, 0.98), rgba(244, 230, 212, 0.96));
  transition:
    opacity 0.7s ease,
    visibility 0.7s ease;
}

.preloader::before,
.preloader::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.preloader::before {
  width: min(42vw, 26rem);
  height: min(42vw, 26rem);
  top: 8vh;
  right: 10vw;
  background: radial-gradient(circle, rgba(234, 199, 152, 0.42), transparent 70%);
  filter: blur(24px);
}

.preloader::after {
  width: min(34vw, 22rem);
  height: min(34vw, 22rem);
  bottom: 10vh;
  left: 8vw;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.86), transparent 66%);
  filter: blur(24px);
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  position: relative;
  width: min(34rem, calc(100vw - 2rem));
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.92), rgba(255, 247, 237, 0.78));
  backdrop-filter: blur(18px);
  box-shadow: 0 28px 80px rgba(113, 76, 35, 0.14);
  overflow: hidden;
}

.preloader__inner::before {
  content: "";
  position: absolute;
  inset: 1rem;
  border-radius: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  pointer-events: none;
}

.preloader__inner::after {
  content: "";
  position: absolute;
  inset: -15% 18% auto;
  height: 11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 244, 229, 0.84), transparent 72%);
  filter: blur(18px);
  animation: pulse 6s ease-in-out infinite;
  pointer-events: none;
}

.preloader__eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.preloader__headline {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.8rem, 7vw, 5.1rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.04em;
}

.preloader__headline span {
  display: block;
  opacity: 0;
  transform: translate3d(0, 1.35rem, 0);
  animation: preloader-copy-in 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.preloader__headline span:last-child {
  color: var(--gold);
  animation-delay: 0.12s;
}

.preloader__meter {
  position: relative;
  z-index: 1;
  margin-top: 1.75rem;
  width: 100%;
  height: 0.5rem;
  padding: 0.1rem;
  border-radius: 999px;
  background: rgba(184, 141, 89, 0.12);
  overflow: hidden;
}

.preloader__meter-fill {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, #f1d2a5, #b77d43);
  box-shadow: 0 0 28px rgba(191, 131, 66, 0.32);
}

.preloader__meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preloader__meta strong {
  color: var(--text);
  font-size: 0.92rem;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.experience {
  position: relative;
  --sequence-scroll-span: 520vh;
}

.experience-track {
  position: relative;
  height: var(--sequence-scroll-span);
}

.experience-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
  background:
    linear-gradient(180deg, rgba(255, 252, 248, 0.94), rgba(249, 239, 226, 0.8) 34%, rgba(242, 228, 210, 0.94) 100%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.82), transparent 62%);
}

.experience-sticky::before,
.experience-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.experience-sticky::before {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 26%, rgba(255, 244, 229, 0.42) 74%, rgba(240, 225, 205, 0.72) 100%);
  z-index: 1;
}

.experience-sticky::after {
  background-image:
    linear-gradient(rgba(181, 138, 88, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181, 138, 88, 0.08) 1px, transparent 1px);
  background-size: 8rem 8rem;
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.18) 24%, transparent 100%);
  opacity: 0.34;
  z-index: 1;
}

.ambient-layer {
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(84px);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
  animation: drift 12s ease-in-out infinite;
}

.ambient-layer--left {
  left: 2vw;
  top: 18vh;
  width: min(24vw, 18rem);
  height: min(36vw, 24rem);
  background: linear-gradient(180deg, rgba(224, 184, 141, 0.38), rgba(224, 184, 141, 0));
}

.ambient-layer--right {
  right: 5vw;
  bottom: 12vh;
  width: min(20vw, 16rem);
  height: min(26vw, 20rem);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0));
  animation-delay: -4s;
}

.topbar {
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--content-width);
  transform: translateX(-50%);
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brandmark__name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brandmark__line {
  display: inline-block;
  width: 3.5rem;
  height: 1px;
  background: linear-gradient(90deg, rgba(183, 125, 67, 0.86), transparent);
}

.topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.topbar-link,
.theme-toggle__track {
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.topbar-link {
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease;
}

.topbar-link:hover,
.topbar-link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.66);
}

.theme-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
}

.theme-toggle__track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 0.35rem;
  width: 7.5rem;
  padding: 0.3rem;
  overflow: hidden;
}

.theme-toggle__label {
  position: relative;
  z-index: 1;
  text-align: center;
  transition: color 0.3s ease;
}

.theme-toggle__thumb {
  position: absolute;
  top: 0.3rem;
  bottom: 0.3rem;
  left: 0.3rem;
  width: calc(50% - 0.3rem);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 245, 232, 0.98), rgba(240, 210, 171, 0.95));
  box-shadow: 0 12px 26px rgba(179, 126, 63, 0.16);
  transition:
    transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.34s ease;
}

.theme-toggle[aria-pressed="true"] .theme-toggle__thumb {
  transform: translateX(100%);
  background: linear-gradient(135deg, rgba(98, 76, 130, 0.92), rgba(30, 28, 40, 0.96));
}

.theme-toggle[aria-pressed="true"] .theme-toggle__label--light,
.theme-toggle:not([aria-pressed="true"]) .theme-toggle__label--night {
  color: var(--muted-soft);
}

.theme-toggle[aria-pressed="true"] .theme-toggle__label--night,
.theme-toggle:not([aria-pressed="true"]) .theme-toggle__label--light {
  color: var(--text);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  width: var(--content-width);
  height: 100%;
  margin: 0 auto;
  isolation: isolate;
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  background:
    linear-gradient(90deg, rgba(255, 252, 248, 0.96) 0%, rgba(255, 249, 242, 0.86) 22%, rgba(255, 249, 240, 0.2) 56%, rgba(244, 232, 218, 0.72) 100%),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.7), transparent 54%);
  pointer-events: none;
  z-index: 2;
}

.copy-panel {
  grid-column: 1;
  grid-row: 1;
  align-self: center;
  position: relative;
  z-index: 4;
  max-width: 37rem;
  padding-top: 6.4rem;
  padding-bottom: 8.2rem;
  padding-right: clamp(1rem, 4vw, 3rem);
}

.copy-panel::before {
  content: none;
}

.prelabel {
  margin: 0 0 1.15rem;
  color: var(--muted-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.copy-stage {
  position: relative;
  min-height: 24rem;
}

.phase-card {
  --type-progress: 0;
  --type-progress-body: 0;
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translate3d(0, 2.2rem, 0) scale(0.985);
  filter: blur(14px);
  pointer-events: none;
  transition:
    opacity 0.55s ease,
    transform 0.78s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
  will-change: opacity, transform, filter;
}

.phase-card.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.eyebrow,
.description {
  opacity: 0;
  transform: translate3d(0, 1rem, 0);
  transition:
    opacity 0.5s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.phase-card.is-active .eyebrow,
.phase-card.is-active .description {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.phase-card.is-active .description {
  transition-delay: 0.16s;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.headline {
  margin: 0;
  max-width: 11ch;
  position: relative;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3.8rem, 7vw, 7.6rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-wrap: balance;
  clip-path: inset(0 calc((1 - var(--type-progress)) * 100%) 0 0);
}

.headline-word {
  display: inline-block;
  margin-right: 0.18em;
  opacity: 0;
  transform: translate3d(0, 1.25rem, 0);
  filter: blur(8px);
  transition:
    opacity 0.5s ease,
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.6s ease;
  transition-delay: calc(var(--word-index, 0) * 60ms);
}

.headline-word:last-child {
  margin-right: 0;
}

.phase-card.is-active .headline-word {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

.headline-word:nth-last-child(-n + 2) {
  color: var(--gold);
}

.description {
  margin: 1.4rem 0 0;
  max-width: 32rem;
  position: relative;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.8;
  clip-path: inset(0 calc((1 - var(--type-progress-body)) * 100%) 0 0);
}

.phase-card .headline::after,
.phase-card .description::after {
  content: "";
  position: absolute;
  top: 0.08em;
  bottom: 0.08em;
  left: calc(var(--type-progress) * 100%);
  width: 2px;
  background: currentColor;
  opacity: calc(1 - var(--type-progress));
  animation: caret-blink 0.85s steps(1) infinite;
}

.phase-card .description::after {
  left: calc(var(--type-progress-body) * 100%);
  width: 1px;
  opacity: calc(1 - var(--type-progress-body));
}

.phase-card:not(.is-active) .headline::after,
.phase-card:not(.is-active) .description::after {
  opacity: 0;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2.1rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  margin-top: 1.6rem;
  color: var(--muted-soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-notes span {
  position: relative;
}

.hero-notes span + span::before {
  content: "";
  position: absolute;
  left: -0.62rem;
  top: 50%;
  width: 0.18rem;
  height: 0.18rem;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 2px solid rgba(183, 125, 67, 0.32);
  outline-offset: 3px;
}

.button--primary {
  color: #fffaf2;
  background: linear-gradient(135deg, #c58a49, #a56a33);
  box-shadow: 0 18px 40px rgba(179, 126, 63, 0.24);
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow: 0 24px 46px rgba(179, 126, 63, 0.28);
}

.button--secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.48);
  color: var(--text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: rgba(183, 125, 67, 0.42);
  background: rgba(255, 255, 255, 0.68);
}

.signal-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.signal-pill {
  min-width: 9rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.58), rgba(255, 247, 239, 0.32));
  backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.54),
    var(--shadow-soft);
}

.signal-pill strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.signal-pill span {
  display: block;
  margin-top: 0.35rem;
  color: var(--muted-soft);
  font-size: 0.8rem;
  line-height: 1.55;
}

.canvas-shell {
  position: absolute;
  inset: 0;
  left: 50%;
  width: 100vw;
  height: 100%;
  margin-left: -50vw;
  aspect-ratio: auto;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
  border: 0;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.72), rgba(244, 231, 214, 0.84) 58%, rgba(232, 215, 194, 0.98) 100%);
}

.canvas-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(250, 240, 228, 0.12) 44%, rgba(235, 219, 198, 0.32) 100%),
    radial-gradient(circle at center, transparent 42%, rgba(245, 230, 211, 0.48) 100%);
}

.canvas-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.48), transparent 24%, transparent 72%, rgba(255, 255, 255, 0.28)),
    radial-gradient(circle at 18% 16%, rgba(255, 241, 220, 0.56), transparent 32%);
  opacity: calc(0.42 + (var(--hero-lag-y) * 0.12));
  pointer-events: none;
  z-index: 2;
  transform: translate3d(calc(var(--hero-lag-x) * -1rem), calc(var(--hero-lag-y) * -0.8rem), 0);
}

.canvas-glow {
  position: absolute;
  inset: 12% 20% 8%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 222, 178, 0.5), rgba(255, 222, 178, 0) 65%);
  filter: blur(56px);
  pointer-events: none;
  z-index: 0;
  animation: pulse 8s ease-in-out infinite;
}

.sequence-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 1;
  transform:
    translate3d(
      calc((var(--hero-progress) * 1.1rem) + (var(--hero-lag-x) * 1.1rem)),
      calc((var(--hero-progress) * -0.7rem) - (var(--hero-lag-y) * 0.68rem)),
      0
    )
    scale(calc(1.04 + (var(--hero-progress) * 0.04) + (var(--hero-lag-y) * 0.02)))
    rotate(calc(var(--hero-lag-rotate) * 0.4deg));
  transform-origin: center center;
  will-change: transform;
}

.loading-indicator {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(183, 125, 67, 0.16);
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.7);
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.loading-indicator strong {
  color: var(--gold);
  font-size: 0.8rem;
}

.loading-indicator.is-ready {
  opacity: 0.7;
}

.loading-indicator.is-hidden {
  opacity: 0;
  transform: translateY(-10px);
}

.progress-rail {
  position: absolute;
  left: 50%;
  bottom: 1.55rem;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.95rem;
  width: min(28rem, calc(100% - 3rem));
  transform: translateX(-50%);
}

.progress-label,
.progress-count {
  color: var(--muted-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}

.progress-track {
  flex: 1;
  height: 2px;
  background: rgba(183, 125, 67, 0.18);
  overflow: hidden;
  border-radius: 999px;
}

.progress-fill {
  height: 100%;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(239, 205, 157, 0.3), rgba(183, 125, 67, 0.95));
}

.phase-rail {
  position: absolute;
  left: 50%;
  bottom: 6rem;
  z-index: 6;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  width: var(--content-width);
  transform: translateX(-50%);
}

.phase-marker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--muted-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    color 0.3s ease,
    transform 0.3s ease;
}

.phase-marker::before {
  content: "";
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  border: 1px solid rgba(183, 125, 67, 0.24);
  background: rgba(183, 125, 67, 0.08);
}

.phase-marker.is-active {
  color: var(--gold);
  transform: translateY(-2px);
}

.phase-marker.is-active::before {
  background: linear-gradient(135deg, #f3d7a7, #c79758);
  border-color: transparent;
  box-shadow: 0 0 18px rgba(243, 215, 167, 0.28);
}

.scroll-prompt {
  position: absolute;
  right: max(1.25rem, calc((100vw - var(--content-width)) / 2));
  bottom: 6rem;
  z-index: 6;
  color: var(--muted-soft);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  animation: nudge 2.8s ease-in-out infinite;
}

.scroll-prompt.is-hidden {
  opacity: 0;
  transform: translateY(10px);
}

.products-showcase {
  position: relative;
  width: 100vw;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.76), transparent 24%),
    linear-gradient(180deg, #fff8f1 0%, #f7edde 32%, #f1e3d2 100%);
  z-index: 2;
}

.showcase-media-global {
  position: sticky;
  top: 0;
  width: 50vw;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
  transform: translateX(0);
  will-change: transform;
}

.showcase-media-global::before {
  content: "";
  position: absolute;
  inset: 10% 9%;
  border-radius: 2.6rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.88), rgba(245, 231, 214, 0.46) 62%, transparent 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 30px 90px rgba(113, 77, 35, 0.12);
  pointer-events: none;
  z-index: 0;
}

.showcase-media-global::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 40%, rgba(241, 225, 206, 0.64) 100%);
  pointer-events: none;
  z-index: 2;
}

.product-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
  will-change: opacity, transform;
  z-index: 1;
}

.product-canvas.is-active {
  opacity: 1;
}

.showcase-scroll-track {
  position: relative;
  z-index: 2;
  margin-top: -100vh;
}

.product-section {
  position: relative;
  width: 100vw;
  min-height: 200vh;
  display: flex;
  pointer-events: none;
  content-visibility: auto;
  contain-intrinsic-size: 1200px;
}

.product-info {
  width: 50vw;
  padding: 15vh 6vw;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  pointer-events: auto;
}

.product-info::before {
  content: "";
  position: absolute;
  inset: 12vh 4vw 12vh 0;
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 248, 239, 0.44));
  border: 1px solid rgba(182, 139, 89, 0.14);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  z-index: -1;
}

.product-section[data-product-section="1"] .product-info,
.product-section[data-product-section="3"] .product-info {
  margin-left: 50vw;
}

.product-section[data-product-section="2"] .product-info,
.product-section[data-product-section="4"] .product-info {
  margin-left: 0;
}

.product-eyebrow,
.product-title,
.product-desc {
  opacity: 0;
  transform: translate3d(0, 1.2rem, 0);
  transition:
    opacity 0.55s ease,
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-section.is-visible .product-eyebrow,
.product-section.is-visible .product-title,
.product-section.is-visible .product-desc {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.product-title {
  transition-delay: 0.08s;
}

.product-desc {
  transition-delay: 0.16s;
}

.product-eyebrow {
  margin: 0 0 1rem;
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.product-title {
  margin: 0 0 1.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.product-desc {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

.product-media-mobile {
  display: none;
}

.order-section {
  position: relative;
  padding: clamp(5rem, 10vw, 8rem) 0 5rem;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.74), transparent 24%),
    linear-gradient(180deg, #f5eadb 0%, #f0e2d0 100%);
  content-visibility: auto;
  contain-intrinsic-size: 960px;
}

.order-shell {
  width: var(--content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(1.8rem, 4vw, 3.5rem);
  align-items: start;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(182, 139, 89, 0.16);
  border-radius: 2rem;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.82), rgba(255, 247, 238, 0.58));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.order-eyebrow {
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.order-title {
  margin: 0;
  max-width: 8ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(3rem, 5vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
}

.order-description {
  max-width: 26rem;
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
}

.order-form {
  display: grid;
  gap: 1rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-field {
  display: grid;
  gap: 0.55rem;
}

.form-field span {
  color: var(--muted-soft);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 3.5rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(182, 139, 89, 0.18);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
  font: inherit;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.form-field textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--muted-soft);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(183, 125, 67, 0.42);
  box-shadow: 0 0 0 4px rgba(183, 125, 67, 0.1);
  background: rgba(255, 255, 255, 0.8);
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.4rem;
}

.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-status.is-success {
  color: var(--gold);
}

body[data-theme="night"] {
  --bg: #111015;
  --bg-soft: #19171d;
  --bg-elevated: #1d1a22;
  --surface: rgba(24, 21, 31, 0.74);
  --surface-strong: rgba(25, 22, 33, 0.92);
  --surface-solid: #16141b;
  --text: #f7efe7;
  --muted: rgba(236, 225, 212, 0.8);
  --muted-soft: rgba(218, 202, 184, 0.58);
  --line: rgba(214, 176, 118, 0.18);
  --line-strong: rgba(214, 176, 118, 0.34);
  --gold: #dfb37a;
  --gold-soft: #f1c792;
  --shadow: 0 32px 108px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 18px 44px rgba(0, 0, 0, 0.2);
  background:
    radial-gradient(circle at top left, rgba(103, 72, 38, 0.36), transparent 34%),
    radial-gradient(circle at 80% 14%, rgba(94, 83, 136, 0.2), transparent 26%),
    linear-gradient(180deg, #0f0d12 0%, #131118 44%, #19151b 100%);
}

body[data-theme="night"]::before {
  background: radial-gradient(circle, rgba(81, 60, 114, 0.54), transparent 70%);
}

body[data-theme="night"]::after {
  background: radial-gradient(circle, rgba(176, 128, 70, 0.28), transparent 72%);
}

body[data-theme="night"] .preloader {
  background:
    radial-gradient(circle at top, rgba(57, 51, 71, 0.72), transparent 30%),
    linear-gradient(180deg, rgba(20, 18, 26, 0.98), rgba(16, 14, 20, 0.96));
}

body[data-theme="night"] .preloader__inner,
body[data-theme="night"] .product-info::before,
body[data-theme="night"] .order-shell,
body[data-theme="night"] .loading-indicator,
body[data-theme="night"] .topbar-link,
body[data-theme="night"] .theme-toggle__track {
  background: linear-gradient(180deg, rgba(26, 22, 33, 0.92), rgba(20, 17, 27, 0.76));
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.26);
}

body[data-theme="night"] .experience-sticky {
  background:
    linear-gradient(180deg, rgba(17, 15, 22, 0.94), rgba(18, 16, 24, 0.8) 34%, rgba(24, 20, 29, 0.94) 100%),
    radial-gradient(circle at center, rgba(46, 37, 58, 0.68), transparent 62%);
}

body[data-theme="night"] .experience-sticky::before {
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.02) 24%, rgba(58, 44, 76, 0.52) 74%, rgba(16, 13, 22, 0.82) 100%);
}

body[data-theme="night"] .experience-sticky::after {
  background-image:
    linear-gradient(rgba(214, 176, 118, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 176, 118, 0.05) 1px, transparent 1px);
}

body[data-theme="night"] .canvas-shell,
body[data-theme="night"] .product-media-mobile {
  background:
    radial-gradient(circle at center, rgba(49, 41, 62, 0.74), rgba(22, 20, 29, 0.92) 58%, rgba(14, 13, 18, 0.98) 100%);
}

body[data-theme="night"] .canvas-shell::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(94, 80, 117, 0.12) 44%, rgba(10, 10, 14, 0.36) 100%),
    radial-gradient(circle at center, transparent 42%, rgba(10, 10, 15, 0.52) 100%);
}

body[data-theme="night"] .canvas-shell::after {
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0.12), transparent 24%, transparent 72%, rgba(255, 255, 255, 0.08)),
    radial-gradient(circle at 18% 16%, rgba(248, 212, 165, 0.16), transparent 32%);
}

body[data-theme="night"] .products-showcase {
  background:
    radial-gradient(circle at top, rgba(60, 54, 74, 0.34), transparent 24%),
    linear-gradient(180deg, #121017 0%, #17131c 32%, #1d1720 100%);
}

body[data-theme="night"] .order-section {
  background:
    radial-gradient(circle at top right, rgba(82, 74, 103, 0.32), transparent 24%),
    linear-gradient(180deg, #1a151d 0%, #151119 100%);
}

body[data-theme="night"] .showcase-media-global::before {
  background: radial-gradient(circle, rgba(38, 31, 49, 0.84), rgba(26, 22, 34, 0.36) 62%, transparent 100%);
}

body[data-theme="night"] .showcase-media-global::after {
  background: radial-gradient(circle at center, transparent 40%, rgba(10, 10, 15, 0.68) 100%);
}

body[data-theme="night"] .form-field input,
body[data-theme="night"] .form-field select,
body[data-theme="night"] .form-field textarea {
  background: rgba(15, 13, 20, 0.72);
  border-color: rgba(214, 176, 118, 0.16);
}

body[data-theme="night"] .form-field input:focus,
body[data-theme="night"] .form-field select:focus,
body[data-theme="night"] .form-field textarea:focus {
  background: rgba(24, 20, 30, 0.92);
  box-shadow: 0 0 0 4px rgba(214, 176, 118, 0.12);
}

body[data-theme="night"] .theme-toggle__thumb {
  background: linear-gradient(135deg, rgba(254, 222, 177, 0.9), rgba(204, 137, 83, 0.92));
}

body[data-theme="night"] .theme-toggle[aria-pressed="true"] .theme-toggle__thumb {
  background: linear-gradient(135deg, rgba(116, 95, 158, 0.94), rgba(40, 36, 54, 0.98));
}

.noscript-note {
  width: min(32rem, calc(100vw - 2rem));
  margin: 0 auto 3rem;
  color: var(--muted);
  text-align: center;
}

@keyframes drift {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(0, -16px, 0) scale(1.05);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.58;
    transform: scale(0.96);
  }

  50% {
    opacity: 0.86;
    transform: scale(1.04);
  }
}

@keyframes nudge {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(5px);
  }
}

@keyframes preloader-copy-in {
  from {
    opacity: 0;
    transform: translate3d(0, 1.35rem, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes caret-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid::before {
    background:
      linear-gradient(180deg, rgba(255, 252, 248, 0.5) 0%, rgba(255, 249, 241, 0.48) 28%, rgba(248, 237, 225, 0.82) 76%, rgba(244, 231, 216, 0.96) 100%),
      radial-gradient(circle at center, rgba(255, 255, 255, 0.62), transparent 54%);
  }

  .copy-panel {
    align-self: end;
    max-width: 100%;
    padding-top: 7.5rem;
    padding-bottom: 9.4rem;
  }

  .copy-panel::before {
    inset: 4.5rem 0.75rem 5.8rem -0.5rem;
  }

  .copy-stage {
    min-height: 20rem;
  }

  .headline {
    max-width: 12ch;
    font-size: clamp(3.2rem, 9vw, 5.4rem);
  }

  .canvas-shell {
    inset: 0;
  }

  .phase-rail {
    bottom: 5.1rem;
    width: calc(100vw - 2rem);
  }

  .scroll-prompt {
    left: 50%;
    right: auto;
    bottom: 1.8rem;
    transform: translateX(-50%);
    width: calc(100vw - 2rem);
    text-align: center;
  }

  .scroll-prompt.is-hidden {
    transform: translateX(-50%) translateY(10px);
  }

  .order-shell {
    grid-template-columns: 1fr;
  }

  .order-title {
    max-width: none;
  }
}

@media (max-width: 720px) {
  :root {
    --content-width: calc(100vw - 1rem);
  }

  html {
    scroll-behavior: auto;
  }

  .experience {
    --sequence-scroll-span: 520vh;
  }

  .preloader {
    padding: 0.75rem;
  }

  .preloader__inner {
    border-radius: 1.5rem;
    padding: 1.65rem;
  }

  .preloader__headline {
    font-size: clamp(2.2rem, 11vw, 3.6rem);
  }

  .preloader__meta {
    gap: 0.6rem;
    align-items: flex-start;
    flex-direction: column;
  }

  .experience-sticky {
    display: flex;
    flex-direction: column;
    background:
      linear-gradient(180deg, rgba(255, 252, 248, 0.38) 0%, rgba(250, 240, 228, 0.18) 18%, rgba(242, 229, 212, 0.52) 100%),
      #f7efe4;
  }

  .ambient-layer,
  .hero-grid::before,
  .canvas-shell::before,
  .canvas-shell::after,
  .canvas-glow,
  .loading-indicator,
  .progress-rail,
  .phase-rail,
  .scroll-prompt {
    display: none;
  }

  .topbar {
    position: relative;
    top: auto;
    left: auto;
    width: calc(100vw - 1rem);
    margin: 0.9rem auto 0;
    padding-top: 0;
    transform: none;
    align-items: center;
    gap: 0.75rem;
  }

  .brandmark__name {
    font-size: 1.05rem;
    letter-spacing: 0.12em;
  }

  .brandmark__line {
    width: 1.8rem;
  }

  .topbar-meta {
    display: none;
  }

  .hero-grid {
    position: relative;
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: 100%;
    margin: 0;
  }

  .copy-panel {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    align-self: end;
    position: relative;
    z-index: 4;
    width: calc(100vw - 1rem);
    max-width: 28rem;
    margin: 0 auto;
    padding: 0 0 3rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .copy-panel::before {
    inset: auto;
    top: auto;
    left: auto;
    width: 0;
    height: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .copy-stage {
    min-height: 16rem;
  }

  .prelabel {
    margin-bottom: 0.75rem;
    color: rgba(95, 64, 39, 0.64);
    font-size: 0.64rem;
    letter-spacing: 0.18em;
  }

  .eyebrow {
    margin-bottom: 0.65rem;
    font-size: 0.72rem;
  }

  .headline {
    max-width: 8ch;
    font-size: clamp(2.4rem, 11vw, 3.6rem);
    line-height: 0.94;
  }

  .description {
    max-width: 22rem;
    margin-top: 0.9rem;
    color: rgba(71, 45, 25, 0.72);
    font-size: 0.9rem;
    line-height: 1.6;
  }

  .signal-row {
    display: none;
  }

  .hero-notes {
    gap: 0.55rem 0.85rem;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }

  .action-row {
    display: flex;
    margin-top: 1.35rem;
  }

  .button {
    min-height: 3.05rem;
    padding: 0.9rem 1.1rem;
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }

  .button--primary {
    width: 100%;
  }

  .button--secondary {
    display: none;
  }

  .canvas-shell {
    position: absolute;
    inset: 0;
    grid-column: 1;
    grid-row: 1;
    left: 50%;
    width: 100vw;
    height: 100%;
    margin-left: -50vw;
    background:
      radial-gradient(circle at center, rgba(255, 255, 255, 0.7), rgba(244, 231, 214, 0.94) 58%, rgba(232, 215, 194, 1) 100%);
    overflow: hidden;
  }

  .sequence-canvas {
    transform:
      translate3d(
        calc((var(--hero-progress) * 0.28rem) + (var(--hero-lag-x) * 0.24rem)),
        calc((var(--hero-progress) * -0.24rem) - (var(--hero-lag-y) * 0.18rem)),
        0
      )
      scale(calc(1.035 + (var(--hero-progress) * 0.012) + (var(--hero-lag-y) * 0.006)))
      rotate(calc(var(--hero-lag-rotate) * 0.12deg));
  }

  .action-row {
    margin-top: 1.5rem;
    padding-bottom: 0.4rem;
  }

  .products-showcase {
    padding-top: 4rem;
  }

  .showcase-media-global {
    display: none;
  }

  .showcase-scroll-track {
    margin-top: 0;
  }

  .product-section {
    min-height: 0;
    height: auto;
    flex-direction: column;
    margin-bottom: 6rem;
  }

  .product-section[data-product-section] .product-info {
    margin-left: 0;
    width: 100%;
    padding: 2.5rem 1.5rem 0;
  }

  .product-info::before {
    inset: 1rem 0.85rem -0.5rem;
  }

  .product-media-mobile {
    display: block;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    aspect-ratio: 4 / 5;
    position: relative;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.68), #f3e6d6);
    overflow: hidden;
  }

  .product-media-mobile .product-canvas {
    opacity: 1;
    object-fit: cover;
  }

  .product-title {
    font-size: 2.6rem;
  }

  .product-desc {
    font-size: 1rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-actions {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
