/* Image-first opening, inspired by the original Santa's Secret layout. */
.hero.hero-immersive {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  min-height: max(40rem, calc(100svh - 146px));
  padding: 0;
  overflow: hidden;
  background: #26132f;
  color: #fffaf4;
}
.hero-immersive .hero-background {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}
.hero-immersive .hero-video { opacity: 0; pointer-events: none; transition: opacity .35s ease; }
.hero-immersive.has-video-frame .hero-video { opacity: 1; }
.hero-motion-toggle {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #fffaf480;
  border-radius: 999px;
  background: #211027b8;
  color: #fffaf4;
  line-height: 1;
}
.hero-motion-toggle svg { width: 16px; height: 16px; fill: currentColor; }
.hero-motion-toggle[data-state="playing"] .motion-play-icon,
.hero-motion-toggle[data-state="paused"] .motion-pause-icon { display: none; }
.hero-motion-toggle[hidden] { display: none; }
.hero-motion-toggle:hover { background: #211027; }
.hero-motion-toggle:focus-visible { outline: 3px solid #fffaf4; outline-offset: 4px; }
.hero-immersive::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #21102780 0%, #21102738 43%, transparent 75%),
    linear-gradient(0deg, #211027aa, transparent 26%);
  pointer-events: none;
}
.hero-immersive .hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: 4.5rem;
  padding-bottom: 7.5rem;
}
.hero-immersive .hero-copy { width: min(44rem, 100%); }
.hero-immersive .eyebrow {
  color: #f3defc;
  font-size: .75rem;
  letter-spacing: .17em;
  margin-bottom: 1.5rem;
}
.hero-immersive h1 {
  font-size: clamp(3.5rem, 6.4vw, 6.5rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  text-shadow: 0 2px 28px #21102726;
}
.hero-immersive h1 em { color: #e1bcee; }
.hero-immersive .hero-description {
  max-width: 27rem;
  margin-top: 1.6rem;
  color: #f7eef7;
  font-size: 1rem;
  line-height: 1.75;
}
.hero-immersive .hero-actions { gap: 1.6rem; margin-top: 1.75rem; flex-wrap: wrap; }
.hero-immersive .hero-actions .button {
  padding: .9rem 1.6rem;
  min-height: 3.25rem;
  font-size: .875rem;
  background: #faf4ff;
  color: #3d244b;
}
.hero-immersive .hero-actions .button:hover { background: #e1c5f0; }
.hero-immersive .text-link { color: #fffaf4; font-size: .875rem; }
.hero-immersive .text-link:hover { color: #e1bcee; }
.hero-immersive a:focus-visible { outline-color: #fffaf4; }
.hero-footnote {
  position: absolute;
  bottom: 1.85rem;
  inset-inline: 0;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
}
.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: .875rem;
  min-height: 44px;
  font-size: .75rem;
  letter-spacing: .035em;
  color: #f1e1f5;
}
.hero-scroll > span { display: block; width: 1px; height: 2rem; background: #e1bcee; }
.hero-scroll:hover { text-decoration: underline; text-underline-offset: 5px; }
.hero-footnote p { margin-left: auto; text-align: right; font-size: .75rem; line-height: 1.7; }
.hero-footnote p span { color: #eee0f3; }

/* Bottom line: 12px at every width (oo.studio house standard). */
.footer-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  font-size: 12px;
  line-height: 1.4;
}
.footer-legal { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 18px; }
.footer-bottom .footer-legal button { min-height: 44px; padding: 0; font-size: 12px; line-height: 1.4; }
.footer-bottom > a.oo-credit {
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 44px;
  padding: 0;
  font: 600 12px/1.4 var(--sans);
  color: var(--plum);
  text-decoration: none;
  transition: color .3s;
}
.footer-bottom > a.oo-credit:hover { color: var(--teal); text-decoration: none; }
.footer-bottom > a.oo-credit > span { font-size: 12px; margin: 0; font-weight: 400; }
.oo-credit strong { font-weight: 700; }
.oo-credit svg { flex: none; overflow: visible; width: 3em; height: 2em; } /* 36×24 at 12px; scales with the text */
.oo-credit path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.oo-credit .oo-loop { opacity: .35; }
.oo-credit .oo-light { stroke-dasharray: 25 75; stroke-dashoffset: 0; animation: oo-trace 2.4s linear infinite; }
@keyframes oo-trace { to { stroke-dashoffset: -100; } }
@media (prefers-reduced-motion: reduce) {
  .oo-credit .oo-light { animation: none; opacity: 0; }
  .oo-credit .oo-loop { opacity: .7; }
}

/* Owner login: opens the oo.studio support panel (widget binds [data-oo-support]). Styled like "Your privacy".
   It sits on the left with the © (James, 21 Oct 2026), clear of a chat bubble in the bottom-right corner. */
.footer-legal a.footer-owner {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
  color: inherit;
  text-decoration: none;
}
/* Thin dividers between the left-hand items: © | Your privacy | Owner login. */
.footer-legal > * + * { position: relative; }
.footer-legal > * + *::before { content: ""; position: absolute; left: -9px; top: 50%; height: 1em; border-left: 1px solid currentColor; opacity: .35; transform: translateY(-50%); pointer-events: none; }

@media (max-width: 680px) {
  .footer-bottom { grid-template-columns: 44px minmax(0, 1fr) 44px; gap: 4px 8px; }
  .footer-legal { grid-column: 1 / -1; grid-row: 1; justify-content: center; }
  .footer-bottom > a.oo-credit { grid-row: 2; }
}

@media (max-width: 1100px) {
  .hero-immersive h1 { font-size: clamp(3.5rem, 7.1vw, 5.5rem); }
  .hero-immersive .hero-copy { width: min(37rem, 100%); }
}
@media (max-width: 800px) {
  .hero.hero-immersive { min-height: max(39rem, calc(100svh - 120px)); }
  .hero-immersive .hero-inner { padding-top: 4rem; padding-bottom: 7rem; }
  .hero-immersive h1 { font-size: clamp(3.5rem, 8.8vw, 4.8rem); }
  .hero-immersive::before {
    background: linear-gradient(90deg, #211027a6, #21102724), linear-gradient(0deg, #211027b8, transparent 60%);
  }
}
@media (max-width: 580px) {
  .hero.hero-immersive { min-height: max(42rem, calc(100svh - 120px)); }
  .hero-immersive .hero-background { object-position: 61% center; }
  .hero-immersive::before {
    background: linear-gradient(0deg, #211027ed 0%, #21102799 52%, #21102712 100%);
  }
  .hero-immersive .hero-inner { align-items: end; padding-top: 10.5rem; padding-bottom: 6.5rem; }
  .hero-immersive .eyebrow { font-size: .75rem; letter-spacing: .09em; margin-bottom: 1.25rem; }
  .hero-immersive h1 { font-size: clamp(2.75rem, 11.3vw, 4rem); line-height: 1.05; }
  .hero-immersive .hero-description { margin-top: 1.25rem; max-width: 23rem; font-size: 1rem; line-height: 1.65; }
  .hero-immersive .hero-actions { align-items: start; flex-direction: column; gap: 1.15rem; margin-top: 1.5rem; }
  .hero-immersive .hero-actions .button { min-height: 3.125rem; font-size: .875rem; padding: .875rem 1.4rem; }
  .hero-immersive .hero-actions .text-link { font-size: .875rem; }
  .hero-footnote { bottom: 1.2rem; }
  .hero-footnote p { display: none; }
  .hero-scroll { font-size: .75rem; }
  .hero-scroll > span { height: 1.6rem; }
}
/* Very narrow phones: the © line wraps, so drop the dividers rather than leave one dangling. */
@media (max-width: 400px) {
  .footer-legal { flex-direction: column; }
  .footer-legal > * + *::before { display: none; }
}
