/* One-screen experience, using the existing brand palette and typography. */
body.tol-v2-ready { overflow: hidden; }
#root { min-height: 100dvh; }

.tol-v2,
.tol-v2-viewer {
  --v2-ink: #080807;
  --v2-ivory: #f1e7d1;
  --v2-sand: #e6d2ab;
  --v2-gold: #c79848;
  color: var(--v2-ivory);
  font-family: Manrope, Arial, sans-serif;
}

.tol-v2 * ,
.tol-v2-viewer * { box-sizing: border-box; }

.tol-v2 {
  position: fixed;
  inset: 0;
  z-index: 8;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: #17130e;
  touch-action: pan-y;
}

.tol-v2-scene,
.tol-v2-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tol-v2-scene {
  background-image: url('./tree-of-love-desert-v2.webp');
  background-position: center;
  background-size: cover;
  filter: saturate(.86) contrast(1.02);
}

.tol-v2-shade {
  z-index: 1;
  background:
    radial-gradient(ellipse 53% 65% at 50% 43%, #08080726 0%, #08080773 70%, #080807b5 100%),
    linear-gradient(180deg, #080807aa 0%, #08080725 19%, #08080732 49%, #080807ce 100%);
}

.tol-v2-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 4%;
  border-bottom: 1px solid #e6d2ab30;
  background: linear-gradient(#08080799, #08080718);
}

.tol-v2-brand { display: flex; align-items: center; gap: 12px; color: var(--v2-ivory); }
.tol-v2-brand img { width: 44px; height: 44px; object-fit: contain; }
.tol-v2-brand > span { display: grid; gap: 1px; font: 700 20px/.82 "Barlow Condensed", Impact, sans-serif; letter-spacing: .16em; }
.tol-v2-brand small { font: inherit; font-size: 14px; letter-spacing: .18em; }
.tol-v2-join { min-width: 95px; min-height: 46px; padding: 12px 17px; border: 1px solid var(--v2-gold); background: #08080766; color: var(--v2-ivory); font: 600 11px Manrope, sans-serif; letter-spacing: .09em; cursor: pointer; }
.tol-v2-join:hover { background: var(--v2-sand); color: var(--v2-ink); }

.tol-v2-top,
.tol-v2-bottom,
.tol-v2-center,
.tol-v2-carousel,
.tol-v2-heading,
.tol-v2-axis { position: absolute; z-index: 3; }

.tol-v2-heading {
  top: clamp(146px, 21.5dvh, 235px);
  left: 50%;
  width: max-content;
  max-width: 90%;
  margin: 0;
  color: var(--v2-ivory);
  font: 700 clamp(37px, 5.5vw, 76px)/.9 "Barlow Condensed", Impact, sans-serif;
  letter-spacing: .1em;
  text-align: center;
  text-shadow: 0 5px 26px #0009;
  transform: translateX(-50%);
  pointer-events: none;
}

.tol-v2-top {
  top: 110px;
  left: 4%;
  right: 4%;
  display: flex;
  justify-content: space-between;
  color: var(--v2-ivory);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
}

.tol-v2-center {
  top: 52%;
  left: 50%;
  display: grid;
  place-items: center;
  width: min(41dvh, 410px);
  height: min(41dvh, 410px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.tol-v2-axis {
  top: clamp(125px, 17dvh, 190px);
  left: 50%;
  width: max-content;
  margin: 0;
  color: var(--v2-sand);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .26em;
  transform: translateX(-50%);
  pointer-events: none;
}

.tol-v2-medal-halo {
  position: absolute;
  inset: -19%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--tol-v2-glow), .32) 0%, rgba(var(--tol-v2-glow), .14) 36%, rgba(var(--tol-v2-glow), 0) 69%);
  filter: blur(18px);
  transition: background 800ms ease, transform 900ms cubic-bezier(.2, .8, .2, 1);
  animation: tol-v2-breathe 7s ease-in-out infinite alternate;
}

.tol-v2-medal {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(0 16px 28px #0009) drop-shadow(0 0 27px #c7984857);
  transition: transform 250ms ease, filter 700ms ease, opacity 280ms ease;
}

.tol-v2-medal:hover,
.tol-v2-medal:focus-visible { transform: scale(1.035); }
.tol-v2-medal.is-dispersing { opacity: 0; transform: scale(1.1); }

.tol-v2-medal img,
.tol-v2-medal-canvas,
.tol-v2-medal-canvas canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.tol-v2-medal img {
  object-fit: contain;
  filter: sepia(.25) drop-shadow(0 0 20px #d6a05273);
  transform: scale(1.08) rotateY(var(--v2-fallback-turn, 0deg));
  transition: opacity 400ms ease;
}

.tol-v2-medal-canvas {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.24);
  transform-origin: center;
  transition: opacity 600ms ease;
}

/* Keep the glow on a static layer instead of filtering every WebGL frame. */
.tol-v2-medal.has-webgl { filter: none; }
.tol-v2-medal.has-webgl::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 58%, #0009 22%, #c7984824 53%, transparent 72%);
  pointer-events: none;
}
.tol-v2-medal.has-webgl img { opacity: 0; }
.tol-v2-medal.has-webgl .tol-v2-medal-canvas { opacity: 1; }

.tol-v2-carousel {
  top: 73%;
  left: 0;
  width: 100%;
  height: 19%;
  min-height: 120px;
  pointer-events: none;
}

.tol-v2-items { position: relative; width: 100%; height: 100%; }

.tol-v2-menu {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  max-width: 75%;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f7ebd3;
  font-family: "Barlow Condensed", Impact, sans-serif;
  font-size: clamp(55px, 10vw, 144px);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -.045em;
  white-space: nowrap;
  text-shadow: 0 8px 40px #0009;
  cursor: pointer;
  pointer-events: auto;
  transform-origin: center top;
  will-change: transform, opacity;
  transition: color 220ms ease;
}

.tol-v2-menu[data-long="true"] { font-size: clamp(42px, 7.5vw, 103px); }
.tol-v2-menu:hover { color: #fff; opacity: 1; }
.tol-v2-menu:focus-visible,
.tol-v2-medal:focus-visible,
.tol-v2 button:focus-visible,
.tol-v2 a:focus-visible,
.tol-v2-viewer button:focus-visible,
.tol-v2-viewer a:focus-visible { outline: 2px solid var(--v2-sand); outline-offset: 6px; }

.tol-v2-bottom {
  right: 4%;
  bottom: 34px;
  left: 4%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 20px;
}

.tol-v2-bottom p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

.tol-v2-controls { display: flex; align-items: center; gap: 72px; }
.tol-v2-current { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.tol-v2-step,
.tol-v2-discover {
  color: var(--v2-ivory);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .18em;
  white-space: nowrap;
}
.tol-v2-step { padding: 12px 2px; border: 0; background: transparent; cursor: pointer; }
.tol-v2-step::after,
.tol-v2-media-step::after { display: none !important; content: none !important; }
.tol-v2-step:hover,
.tol-v2-discover:hover { color: var(--v2-gold); }
.tol-v2-discover { justify-self: end; padding-bottom: 12px; text-decoration: none; }
.tol-v2-credit { position: absolute; right: 0; bottom: 7px; left: 0; z-index: 3; color: #c5b5989c; font-size: 8px; font-weight: 600; letter-spacing: .13em; text-align: center; pointer-events: none; }

@keyframes tol-v2-breathe { to { transform: scale(1.1); opacity: .72; } }

.tol-v2-viewer {
  position: fixed;
  inset: 0;
  z-index: 101;
  overflow: auto;
  overscroll-behavior: contain;
  background: radial-gradient(ellipse at 50% 25%, #35291a 0%, #17130e 42%, #080807 100%);
  clip-path: circle(0 at var(--origin-x, 50%) var(--origin-y, 50%));
  visibility: hidden;
  pointer-events: none;
  transition: clip-path 900ms cubic-bezier(.76, 0, .24, 1), visibility 0s 900ms;
}

.tol-v2-viewer.is-preparing,
.tol-v2-viewer.is-open { visibility: visible; transition-delay: 0s; }
.tol-v2-viewer.is-open { clip-path: circle(150vmax at var(--origin-x, 50%) var(--origin-y, 50%)); pointer-events: auto; }
.tol-v2-viewer-noise { position: fixed; inset: 0; opacity: .12; background: url('./tree-of-love-desert-v2.webp') center/cover; pointer-events: none; }
.tol-v2-viewer-head,
.tol-v2-viewer-body { position: relative; z-index: 1; }

.tol-v2-viewer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 86px;
  padding: 18px 4%;
  border-bottom: 1px solid #e6d2ab30;
}
.tol-v2-viewer-brand { color: var(--v2-sand); font-family: "Barlow Condensed", sans-serif; font-size: 21px; font-weight: 700; letter-spacing: .14em; }
.tol-v2-viewer-brand small { color: #b9ad97; font: 600 9px Manrope, sans-serif; letter-spacing: .16em; }
.tol-v2-close { display: flex; align-items: center; gap: 10px; padding: 6px 0; border: 0; background: transparent; color: var(--v2-ivory); font: 600 10px Manrope, sans-serif; letter-spacing: .17em; cursor: pointer; }
.tol-v2-close span:first-child { font-size: 30px; font-weight: 300; line-height: .7; }

.tol-v2-viewer-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 1100px);
  min-height: calc(100dvh - 86px);
  margin: auto;
  padding: 20px 4% 24px;
  opacity: 0;
  transform: translateY(30px) scale(.96);
  transition: opacity 550ms ease 170ms, transform 700ms cubic-bezier(.22, 1, .36, 1) 170ms;
}
.tol-v2-viewer.is-open .tol-v2-viewer-body { opacity: 1; transform: translateY(0) scale(1); }
.tol-v2-viewer-intro { text-align: center; }
.tol-v2-viewer-eyebrow { color: var(--v2-gold); font-size: 10px; font-weight: 600; letter-spacing: .25em; }
.tol-v2-viewer-title { margin: 7px 0 0; color: var(--v2-ivory); font-family: "Barlow Condensed", Impact, sans-serif; font-size: clamp(48px, 7vw, 88px); line-height: .86; letter-spacing: -.025em; }
.tol-v2-tabs { display: flex; gap: 30px; justify-content: center; margin: 17px 0 12px; border-bottom: 1px solid #e6d2ab3d; }
.tol-v2-tabs button { min-width: 70px; padding: 8px 2px 10px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: #aaa08f; font: 600 12px Manrope, sans-serif; cursor: pointer; }
.tol-v2-tabs button[aria-selected="true"] { border-bottom-color: var(--v2-gold); color: var(--v2-ivory); }
.tol-v2-tabs button:hover { color: #fff; }

.tol-v2-media { display: grid; place-items: center; width: min(100%, 840px); min-height: 0; }
.tol-v2-figure { position: relative; display: block; width: 100%; height: min(52vh, 540px); margin: 0; padding: 12px; border: 1px solid #c798486b; background: #080807b5; box-shadow: 0 18px 80px #000a, inset 0 0 45px #c7984814; }
.tol-v2-figure::before,
.tol-v2-figure::after { content: ''; position: absolute; width: 19px; height: 19px; border-color: var(--v2-gold); border-style: solid; pointer-events: none; }
.tol-v2-figure::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.tol-v2-figure::after { right: -1px; bottom: -1px; border-width: 0 2px 2px 0; }
.tol-v2-figure img,
.tol-v2-figure video { position: absolute; inset: 12px; display: block; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.tol-v2-figure figcaption { position: absolute; right: 12px; bottom: 12px; left: 12px; padding: 9px 11px; background: linear-gradient(90deg, #080807c9, #08080730); color: var(--v2-ivory); font-size: 10px; font-weight: 600; letter-spacing: .18em; }
.tol-v2-figure figcaption span { color: var(--v2-gold); }
.tol-v2-play { position: absolute; top: 50%; left: 50%; padding: 17px 23px; border: 1px solid #e6d2ab; background: #080807ca; color: var(--v2-ivory); font: 600 11px Manrope, sans-serif; letter-spacing: .14em; white-space: nowrap; transform: translate(-50%, -50%); cursor: pointer; }
.tol-v2-play:hover { background: var(--v2-sand); color: var(--v2-ink); }
.tol-v2-play[hidden] { display: none; }
.tol-v2-empty { display: grid; place-items: center; gap: 10px; width: 100%; min-height: 280px; border: 1px solid #c798485a; background: #08080788; text-align: center; }
.tol-v2-empty span { color: var(--v2-sand); font: 600 17px "Barlow Condensed", sans-serif; letter-spacing: .12em; }
.tol-v2-empty p { margin: 0; color: #b9ad97; font-size: 12px; }

.tol-v2-viewer-foot { display: flex; align-items: center; gap: 34px; padding-top: 17px; }
.tol-v2-media-step { min-width: 44px; padding: 10px 0; border: 0; background: transparent; color: var(--v2-ivory); font: 600 11px Manrope, sans-serif; letter-spacing: .16em; cursor: pointer; }
.tol-v2-media-step:disabled { opacity: .3; cursor: default; }
.tol-v2-media-step:not(:disabled):hover { color: var(--v2-gold); }
.tol-v2-media-count { color: var(--v2-gold); font: 600 11px Manrope, sans-serif; letter-spacing: .16em; white-space: nowrap; }
.tol-v2-story { width: min(100%, 840px); margin-top: 16px; padding: 18px 0 4px; border-top: 1px solid #c7984857; color: var(--v2-ivory); text-align: center; }
.tol-v2-story p { margin: 0 auto 8px; max-width: 660px; font-size: 13px; line-height: 1.7; }
.tol-v2-story small { color: #b9ad97; font-size: 11px; line-height: 1.55; }
.tol-v2-info { display: none; width: min(100%, 840px); margin: 26px auto 20px; color: var(--v2-ivory); font-size: 14px; line-height: 1.75; }
.tol-v2-viewer.is-info .tol-v2-tabs,
.tol-v2-viewer.is-info .tol-v2-media,
.tol-v2-viewer.is-info .tol-v2-viewer-foot,
.tol-v2-viewer.is-info .tol-v2-story { display: none; }
.tol-v2-viewer.is-info .tol-v2-info { display: block; }
.tol-v2-info p { margin: 0 0 16px; }
.tol-v2-info-lead { margin-bottom: 12px !important; color: var(--v2-ivory); font: 600 clamp(24px, 3.5vw, 40px)/1.17 "Barlow Condensed", Impact, sans-serif; letter-spacing: .025em; }
.tol-v2-info-note { color: #c9bda9; font-size: 13px; }
.tol-v2-info-signature { margin-top: 34px !important; color: var(--v2-gold); font-size: 11px; font-weight: 600; letter-spacing: .2em; }
.tol-v2-info-block { margin-top: 32px; padding-top: 22px; border-top: 1px solid #c7984857; }
.tol-v2-info-block h3 { margin: 0 0 15px; color: var(--v2-gold); font: 600 21px "Barlow Condensed", sans-serif; letter-spacing: .1em; }
.tol-v2-info-cta { display: inline-flex; align-items: center; gap: 20px; margin-top: 14px; padding: 16px 20px; border: 1px solid var(--v2-gold); color: var(--v2-ivory); font-size: 11px; font-weight: 600; letter-spacing: .13em; text-decoration: none; }
.tol-v2-info-cta:hover { background: var(--v2-sand); color: var(--v2-ink); }
.tol-v2-days { display: flex; gap: 8px; width: 100%; margin: 30px 0 18px; padding-bottom: 10px; overflow-x: auto; scrollbar-color: var(--v2-gold) #080807; scroll-snap-type: x mandatory; }
.tol-v2-day { flex: 0 0 135px; display: grid; gap: 7px; min-height: 70px; padding: 12px; border: 1px solid #c7984859; background: #0808078c; color: #c9bda9; text-align: left; cursor: pointer; scroll-snap-align: start; }
.tol-v2-day small { color: var(--v2-gold); font-size: 9px; font-weight: 600; letter-spacing: .17em; }
.tol-v2-day span { font: 600 17px/1 "Barlow Condensed", sans-serif; }
.tol-v2-day[aria-selected="true"] { border-color: var(--v2-gold); background: #c7984826; color: #fff; }
.tol-v2-day-panel { padding: 24px; border: 1px solid #c798486b; background: #080807b0; }
.tol-v2-day-panel h3 { display: flex; gap: 15px; align-items: baseline; margin: 0 0 22px; font: 600 32px "Barlow Condensed", sans-serif; }
.tol-v2-day-panel h3 small { color: var(--v2-gold); font: 600 11px Manrope, sans-serif; letter-spacing: .13em; }
.tol-v2-timeline { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.tol-v2-timeline li { display: grid; grid-template-columns: 145px 1fr; gap: 18px; padding: 13px 0; border-top: 1px solid #e6d2ab24; }
.tol-v2-timeline time { color: var(--v2-gold); font-size: 11px; font-weight: 600; letter-spacing: .07em; }
.tol-v2-timeline strong { display: block; color: var(--v2-ivory); font-size: 14px; font-weight: 600; }
.tol-v2-timeline p { margin: 5px 0 0; color: #b9ad97; font-size: 12px; line-height: 1.55; }
.tol-v2-timeline .is-important { padding-left: 10px; border-left: 2px solid var(--v2-gold); background: #c7984815; }
.tol-v2-meals { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.tol-v2-meals span { display: flex; gap: 10px; padding: 12px 14px; border: 1px solid #c7984859; color: var(--v2-gold); font-size: 12px; }
.tol-v2-meals strong { color: var(--v2-ivory); font-weight: 600; }
.tol-v2-services { display: grid; gap: 0; margin: 25px 0; padding: 0; list-style: none; border-top: 1px solid #c7984857; }
.tol-v2-services li { position: relative; padding: 16px 4px 16px 30px; border-bottom: 1px solid #c7984857; }
.tol-v2-services li::before { content: '✦'; position: absolute; top: 17px; left: 2px; color: var(--v2-gold); font-size: 12px; }
.tol-v2-faq { border-top: 1px solid #c7984857; }
.tol-v2-faq details { border-bottom: 1px solid #c7984857; }
.tol-v2-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 2px; font-size: 15px; font-weight: 600; cursor: pointer; list-style: none; }
.tol-v2-faq summary::-webkit-details-marker { display: none; }
.tol-v2-faq summary span { color: var(--v2-gold); font-size: 24px; font-weight: 300; line-height: 1; }
.tol-v2-faq details[open] summary span { transform: rotate(45deg); }
.tol-v2-faq details p { max-width: 690px; margin: 0 0 22px; color: #c9bda9; font-size: 13px; }
.tol-v2-sand { position: fixed; inset: 0; z-index: 102; pointer-events: none; }
.tol-v2-sand[hidden] { display: none; }
body.tol-v2-viewer-open { overflow: hidden; }

@media (max-width: 700px) {
  .tol-v2 { min-height: 0; }
  .tol-v2-scene { background-position: 65% center; }
  .tol-v2-header { height: 78px; padding: 0 6%; }
  .tol-v2-brand { gap: 7px; }
  .tol-v2-brand img { width: 35px; height: 35px; }
  .tol-v2-brand > span { font-size: 18px; }
  .tol-v2-brand small { font-size: 12px; }
  .tol-v2-join { min-width: 79px; min-height: 40px; padding: 9px; font-size: 10px; }
  .tol-v2-top { top: 104px; left: 6%; right: 6%; font-size: 9px; letter-spacing: .13em; }
  .tol-v2-axis { top: clamp(135px, 16.5dvh, 175px); font-size: 9px; letter-spacing: .17em; }
  .tol-v2-heading { top: clamp(160px, 21dvh, 210px); font-size: clamp(36px, 10vw, 61px); letter-spacing: .06em; }
  .tol-v2-center { top: 45.5%; width: min(66vw, 31dvh, 270px); height: min(66vw, 31dvh, 270px); }
  .tol-v2-carousel { top: 64%; height: 17%; min-height: 105px; }
  .tol-v2-menu { font-size: clamp(49px, 12.6vw, 84px); }
  .tol-v2-menu[data-long="true"] { font-size: clamp(42px, 10vw, 65px); }
  .tol-v2-bottom { right: 6%; bottom: 28px; left: 6%; grid-template-columns: 1fr auto; gap: 15px; }
  .tol-v2-bottom p { font-size: 11px; line-height: 1.6; }
  .tol-v2-controls { grid-column: 1 / -1; grid-row: 1; justify-content: center; gap: 54px; }
  .tol-v2-discover { display: none; }
  .tol-v2-viewer-head { min-height: 66px; padding: 12px 6%; }
  .tol-v2-viewer-brand { font-size: 18px; }
  .tol-v2-viewer-brand small { display: none; }
  .tol-v2-viewer-body { min-height: calc(100dvh - 66px); padding: 12px 5% max(20px, env(safe-area-inset-bottom)); }
  .tol-v2-viewer-title { font-size: clamp(44px, 13vw, 72px); }
  .tol-v2-tabs { margin: 13px 0 10px; }
  .tol-v2-figure { height: min(50dvh, 530px); padding: 7px; }
  .tol-v2-figure.is-landscape { height: min(36dvh, 335px); }
  .tol-v2-figure img,
  .tol-v2-figure video { inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); }
  .tol-v2-figure figcaption { right: 7px; bottom: 7px; left: 7px; }
  .tol-v2-empty { min-height: 230px; }
  .tol-v2-info { margin-top: 23px; font-size: 13px; }
  .tol-v2-info-lead { font-size: 29px; }
  .tol-v2-day { flex-basis: 118px; }
  .tol-v2-day-panel { padding: 16px; }
  .tol-v2-day-panel h3 { gap: 9px; font-size: 25px; }
  .tol-v2-timeline li { grid-template-columns: 88px 1fr; gap: 9px; }
  .tol-v2-timeline time { font-size: 10px; }
  .tol-v2-timeline strong { font-size: 12px; }
  .tol-v2-timeline p { font-size: 11px; }
  .tol-v2-story p { font-size: 12px; }
}

@media (max-width: 390px) {
  .tol-v2-menu { font-size: 47px; }
  .tol-v2-bottom p { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .tol-v2-medal-halo { animation: none; }
  .tol-v2-scene,
  .tol-v2-menu,
  .tol-v2-medal,
  .tol-v2-viewer,
  .tol-v2-viewer-body { transition-duration: .01ms !important; transition-delay: 0ms !important; }
}
