/* The only live-page component styled here is the additive shared masthead. */
.wim-header {
  position: relative;
  z-index: 120;
  min-height: 84px;
  background: #f7f8f2;
  color: #173e35;
  border-bottom: 1px solid rgba(23, 62, 53, .09);
}
.wim-header .nav {
  min-height: 84px;
  width: min(1440px, 100%);
  margin-inline: auto;
  padding: 0 clamp(22px, 4.2vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.wim-brand { flex: 0 0 auto; text-decoration: none; }
.wim-context {
  margin-left: auto;
  margin-right: clamp(14px, 3vw, 48px);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .01em;
  color: #496158;
}
.wim-trigger, .wim-fallback > summary {
  border: 0;
  background: transparent;
  color: #173e35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 12px 0 12px 12px;
  min-height: 48px;
  cursor: pointer;
  font-family: inherit;
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: .015em;
  border-radius: 0;
}
.wim-trigger-icon { width: 29px; height: 20px; position: relative; display: inline-block; }
.wim-trigger-icon::before, .wim-trigger-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 29px;
  height: 1.5px;
  background: currentColor;
  transition: transform 220ms ease;
}
.wim-trigger-icon::before { top: 5px; }
.wim-trigger-icon::after { bottom: 5px; width: 21px; left: auto; right: 0; }
.wim-trigger-icon i { display: none; }
.wim-trigger:hover .wim-trigger-icon::before { transform: translateX(-3px); }
.wim-trigger:hover .wim-trigger-icon::after { transform: translateX(3px); }
.wim-trigger:focus-visible, .wim-fallback > summary:focus-visible { outline: 2px solid #173e35; outline-offset: 5px; }
.wim-trigger[hidden], .wim-fallback[hidden] { display: none !important; }
.wim-fallback { position: relative; margin-left: auto; }
.wim-fallback > summary { list-style: none; }
.wim-fallback > summary::-webkit-details-marker { display: none; }
.wim-fallback > nav {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(320px, 88vw);
  padding: 16px;
  background: #f7f8f2;
  border: 1px solid #cbd3cc;
  box-shadow: 0 16px 30px #173e3517;
  display: grid;
  gap: 2px;
  max-height: min(70vh, 560px);
  overflow-y: auto;
}
.wim-fallback > nav a { display: block; padding: 10px; color: #173e35; text-decoration: none; font-size: 1rem; }
.wim-fallback > nav a:hover, .wim-fallback > nav a:focus-visible { background: #e8ede6; }
.wim-fallback-primary a { font-weight: 650; }
.wim-fallback-more { border-top: 1px solid #cbd3cc; margin-top: 8px; padding-top: 8px; }
.wim-fallback-more > summary { min-height: 44px; padding: 12px 10px; color: #496158; font-size: .9375rem; font-weight: 500; cursor: pointer; }
.wim-fallback-more > summary:focus-visible { outline: 2px solid #173e35; outline-offset: -2px; }
.wim-fallback-secondary a { min-height: 44px; font-weight: 400; }

/* Keep the existing campaign in its own row, including when its stylesheet loads later. */
body > #wandoras-site-header.wim-header + .night10-bar {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin: 0;
  background: #161616;
  color: #f7f8ef;
}
body > #wandoras-site-header.wim-header + .night10-bar[hidden] { display: none; }
body > #wandoras-site-header.wim-header + .night10-bar .night10-bar-inner {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(44px, 1fr) max-content max-content minmax(44px, 1fr);
  align-items: center;
  gap: 0 14px;
  width: min(100%, 1440px);
  min-width: 0;
  min-height: 44px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 48px);
}
body > #wandoras-site-header.wim-header + .night10-bar .night10-bar-copy {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0;
  color: #f7f8ef;
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
}
body > #wandoras-site-header.wim-header + .night10-bar .night10-bar-copy > strong {
  display: inline;
  color: #ebd85c;
  font-size: inherit;
  font-weight: 750;
  white-space: nowrap;
}
body > #wandoras-site-header.wim-header + .night10-bar .night10-bar-link {
  grid-column: 3;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: #f7f8ef;
  font-size: 14px;
  line-height: 1.3;
  white-space: nowrap;
}
body > #wandoras-site-header.wim-header + .night10-bar .night10-bar-dismiss {
  grid-column: 4;
  grid-row: 1;
  align-self: center;
  justify-self: end;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  color: #f7f8ef;
  font-size: 22px;
}
body > #wandoras-site-header.wim-header + .night10-bar .night10-bar-link:hover,
body > #wandoras-site-header.wim-header + .night10-bar .night10-bar-dismiss:hover { color: #ebd85c; }
body[data-section-landing-page] > #wandoras-site-header.wim-header + .night10-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 121;
}
@media (max-width: 700px) {
  body > #wandoras-site-header.wim-header + .night10-bar .night10-bar-inner {
    grid-template-columns: minmax(0, 1fr) max-content 44px;
    gap: 0 8px;
    padding-inline: 14px;
  }
  body > #wandoras-site-header.wim-header + .night10-bar .night10-bar-copy { grid-column: 1; }
  body > #wandoras-site-header.wim-header + .night10-bar .night10-bar-link { grid-column: 2; }
  body > #wandoras-site-header.wim-header + .night10-bar .night10-bar-dismiss { grid-column: 3; }
}

.wim-dialog {
  --wim-view-w: 100vw;
  --wim-view-h: 100dvh;
  --wim-panel-gap: calc(var(--wim-view-h) * .075);
  --wim-ivory: #f7f8ef;
  --wim-yellow: #ebd85c;
  --wim-ease: cubic-bezier(.18, .85, .22, 1);
  position: fixed;
  inset: 0;
  width: var(--wim-view-w);
  height: var(--wim-view-h);
  max-width: none;
  max-height: none;
  padding: 0;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  border: none;
  background: #161616;
  color: var(--wim-ivory);
  font-family: Outfit, Manrope, system-ui, sans-serif;
  isolation: isolate;
  text-align: left;
}
.wim-dialog:not([open]) { display: none; }
.wim-dialog::backdrop { background: #161616; }
.wim-dialog *, .wim-dialog *::before, .wim-dialog *::after { box-sizing: border-box; }
.wim-dialog :where(a) { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
.wim-dialog :where(button) { font: inherit; -webkit-tap-highlight-color: transparent; }
.wim-dialog a:focus-visible, .wim-dialog button:focus-visible, .wim-dialog summary:focus-visible { outline: 2px solid var(--wim-yellow); outline-offset: 7px; }
.wim-top {
  position: absolute;
  inset: 0 0 auto;
  height: 100px;
  padding: 0 5.8vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 250ms ease, transform 500ms var(--wim-ease);
}
.wim-home { font-size: clamp(25px, 2.6vw, 37px); font-weight: 750; letter-spacing: -.065em; line-height: 1; }
.wim-brand-dot { color: var(--wim-yellow); }
.wim-origin { color: #d4d4d1; font-size: .8125rem; font-weight: 400; letter-spacing: .025em; }
.wim-close {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  background: transparent;
  color: var(--wim-ivory);
  border: 0;
  padding: 12px 0 12px 12px;
  min-height: 48px;
  cursor: pointer;
  font-size: .9375rem;
}
.wim-close-icon { display: inline-block; position: relative; width: 28px; height: 28px; }
.wim-close-icon::before, .wim-close-icon::after { content: ''; position: absolute; top: 13px; left: 0; width: 28px; height: 1.5px; background: currentColor; }
.wim-close-icon::before { transform: rotate(45deg); }
.wim-close-icon::after { transform: rotate(-45deg); }
.wim-scene { position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 50%; overflow: hidden; }
.wim-stage {
  position: absolute;
  inset: 0;
  width: var(--wim-view-w);
  height: var(--wim-view-h);
  transform-origin: 50% 50%;
  transform-style: preserve-3d;
  transform: translate3d(0, 0, 0) rotateY(0deg);
  transition: transform 850ms var(--wim-ease);
  will-change: transform;
}
.wim-track {
  --wim-index: 0;
  display: flex;
  flex-direction: column;
  gap: var(--wim-panel-gap);
  width: 100%;
  transform: translate3d(0, calc(var(--wim-index) * -1 * (var(--wim-view-h) + var(--wim-panel-gap))), 0);
  transition: transform 900ms cubic-bezier(.22, 1, .36, 1);
  transform-style: preserve-3d;
  will-change: transform;
}
.wim-panel {
  position: relative;
  flex: 0 0 var(--wim-view-h);
  height: var(--wim-view-h);
  width: var(--wim-view-w);
  overflow: hidden;
  background: #202020;
  box-shadow: 0 28px 90px #0003;
  backface-visibility: hidden;
  transform: translateZ(0);
  isolation: isolate;
}
.wim-panel-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.wim-panel::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, #070707c7, #07070733 55%, #0707071a); }
.wim-panel-copy { position: absolute; z-index: 2; left: 10%; right: 9%; bottom: 13%; }
.wim-panel-kicker { margin: 0 0 22px; font-size: 15px; font-weight: 550; line-height: 1.5; letter-spacing: .15em; text-transform: uppercase; }
.wim-panel-title { max-width: 1050px; margin: 0; font-size: clamp(45px, 6.7vw, 110px); font-weight: 650; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
.wim-panel-description { max-width: 600px; margin: 25px 0 0; font-size: clamp(18px, 1.7vw, 26px); line-height: 1.55; color: #f3f6ecd9; }
.wim-panel-image-note { position: absolute; z-index: 5; right: 6%; bottom: 4%; max-width: 70%; margin: 0; color: #fff; font-size: 14px; line-height: 1.4; text-shadow: 0 1px 5px #000; }
.wim-panel[data-kind="wandra"]::before { background: linear-gradient(90deg, #101010db, #1010101a), linear-gradient(0deg, #10101080, transparent 80%); }
.wim-panel[data-kind="wandra"] .wim-panel-kicker { color: #f2dd65; }
.wim-snapshot { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; background: #f7f8f2; }
.wim-has-snapshot .wim-panel-copy, .wim-has-snapshot .wim-panel-image-note { visibility: hidden; }
.wim-panel-shade { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; background: linear-gradient(90deg, #0707079c, #07070722 52%, transparent 80%); transition: opacity 600ms ease; }
.wim-left-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #161616b0, #16161655 22%, transparent 54%); opacity: 0; pointer-events: none; transition: opacity 500ms ease; }
.wim-navigation {
  position: absolute;
  z-index: 4;
  left: calc(6vw - 8px);
  top: 50%;
  transform: translateY(calc(-50% + 18px));
  width: min(57vw, 820px);
  max-height: calc(var(--wim-view-h) - 200px);
  padding: 8px 14px 8px 8px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #f7f8ef55 transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 350ms ease, transform 650ms var(--wim-ease);
}
.wim-primary-navigation { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(18px, 2.4vh, 24px); width: 100%; }
.wim-page-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  position: relative;
  max-width: 100%;
  padding: 5px 0;
  font-size: clamp(30px, min(4.2vw, 7vh), 68px);
  line-height: 1.13;
  font-weight: 650;
  letter-spacing: -.035em;
  text-transform: uppercase;
  text-shadow: 0 2px 24px #0003;
  transition: color 200ms ease, opacity 200ms ease, transform 350ms var(--wim-ease);
}
.wim-page-label { position: relative; }
.wim-page-label::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 100%; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform 450ms var(--wim-ease); }
/* Keep titles free of focus boxes after mobile taps or initial dialog focus.
   Keyboard focus remains distinct from the thinner preview underline. */
.wim-dialog .wim-page-link:focus { outline: none; }
.wim-dialog .wim-page-link:focus-visible .wim-page-label::after { height: 3px; bottom: -7px; transform: scaleX(1); }
.wim-page-link.wim-previewed { color: var(--wim-yellow); transform: translateX(8px); }
.wim-page-link.wim-previewed .wim-page-label::after { transform: scaleX(1); }
.wim-page-link:not(.wim-previewed) { color: #f7f8efd9; }
.wim-page-link:hover { color: var(--wim-ivory); }
.wim-page-link.wim-previewed:hover { color: var(--wim-yellow); }
.wim-ai-tag { border: 1px solid #e9d65b70; border-radius: 50%; min-width: 31px; height: 31px; display: inline-flex; align-items: center; justify-content: center; color: var(--wim-yellow); font-size: 11px; letter-spacing: .04em; font-weight: 600; line-height: 1; text-shadow: none; }
.wim-more { width: 100%; max-width: 590px; margin-top: clamp(16px, 2.2vh, 26px); padding-top: 8px; border-top: 1px solid #f7f8ef38; }
.wim-more-toggle { display: inline-flex; align-items: center; gap: 18px; min-height: 44px; padding: 6px 0; color: #f7f8efd9; font-size: 1rem; font-weight: 500; line-height: 1.4; letter-spacing: .02em; list-style: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.wim-more-toggle::-webkit-details-marker { display: none; }
.wim-more-toggle:hover { color: var(--wim-yellow); }
.wim-more-icon { position: relative; width: 14px; height: 14px; }
.wim-more-icon::before, .wim-more-icon::after { content: ''; position: absolute; width: 12px; height: 1.5px; top: 6px; left: 1px; background: currentColor; transition: transform 200ms ease; }
.wim-more-icon::after { transform: rotate(90deg); }
.wim-more[open] .wim-more-icon::after { transform: rotate(0deg); }
.wim-secondary-navigation { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 2px 28px; margin-top: 6px; }
.wim-secondary-navigation .wim-page-link { justify-self: start; gap: 10px; min-height: 44px; padding: 9px 0; font-size: 1.0625rem; font-weight: 450; line-height: 1.35; letter-spacing: 0; text-transform: none; }
.wim-secondary-navigation .wim-ai-tag { min-width: 26px; height: 26px; font-size: 12px; }
.wim-bottom { position: absolute; inset: auto 5.8vw 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; z-index: 5; opacity: 0; transform: translateY(12px); transition: opacity 350ms ease, transform 600ms var(--wim-ease); }
.wim-details { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.wim-detail-kicker { font-size: 11px; letter-spacing: .15em; text-transform: uppercase; color: #d4d4d1; }
.wim-detail-title { max-width: 60vw; font-size: clamp(14px, 1.25vw, 18px); line-height: 1.35; font-weight: 400; color: #f7f8ef; }
.wim-dialog[data-state="open"] .wim-stage { transform: translate3d(6vw, 0, -420px) rotateY(10deg); }
.wim-dialog[data-state="open"] .wim-navigation { opacity: 1; transform: translateY(-50%); pointer-events: auto; transition-delay: 130ms; }
.wim-dialog[data-state="open"] .wim-top { opacity: 1; transform: translateY(0); transition-delay: 120ms; }
.wim-dialog[data-state="open"] .wim-bottom { opacity: 1; transform: translateY(0); transition-delay: 220ms; }
.wim-dialog[data-state="open"] .wim-panel-shade, .wim-dialog[data-state="open"] .wim-left-shade { opacity: 1; }
.wim-dialog[data-state="closing"] .wim-stage, .wim-dialog[data-state="navigating"] .wim-stage { transform: translate3d(0, 0, 0) rotateY(0deg); transition-duration: 680ms; }
.wim-dialog[data-state="closing"] .wim-track, .wim-dialog[data-state="navigating"] .wim-track { transition-duration: 650ms; }
.wim-dialog[data-state="closing"] .wim-navigation, .wim-dialog[data-state="navigating"] .wim-navigation { transform: translateY(calc(-50% - 15px)); transition-duration: 220ms; }
.wim-no-transition { transition: none !important; }
.wim-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (max-height: 740px) and (min-width: 701px) {
  .wim-top { height: 78px; }
  .wim-page-link { padding-block: 3px; font-size: clamp(30px, min(3.8vw, 6.4vh), 50px); }
  .wim-navigation { max-height: calc(var(--wim-view-h) - 168px); }
  .wim-primary-navigation { gap: 18px; }
  .wim-bottom { bottom: 20px; }
  .wim-detail-title { font-size: 14px; }
}

@media (max-width: 900px) and (min-width: 701px) {
  .wim-origin { display: none; }
  .wim-navigation { width: 66vw; }
  .wim-page-link { font-size: clamp(30px, 4.2vw, 38px); }
}

@media (max-width: 700px) {
  .wim-header, .wim-header .nav { min-height: 68px; }
  .wim-header .nav { padding-inline: 20px; gap: 14px; }
  .wim-context { display: none; }
  .wim-trigger { gap: 13px; font-size: .875rem; }
  .wim-top { height: 78px; padding-inline: 24px; }
  .wim-home { font-size: 27px; }
  .wim-origin { display: none; }
  .wim-close { gap: 11px; font-size: .875rem; }
  .wim-close-icon { width: 24px; height: 24px; }
  .wim-close-icon::before, .wim-close-icon::after { width: 24px; top: 11px; }
  .wim-scene { perspective: 650px; perspective-origin: 50% 45%; }
  .wim-dialog[data-state="open"] .wim-stage { transform: translate3d(23vw, -3vh, -330px) rotateY(12deg); }
  .wim-navigation { left: 16px; top: 49%; width: calc(100% - 32px); max-height: calc(var(--wim-view-h) - 180px); }
  .wim-primary-navigation { gap: clamp(10px, 1.8vh, 14px); }
  .wim-page-link { min-height: 44px; padding-block: 5px; font-size: clamp(26px, min(7.4vw, 5.8vh), 42px); line-height: 1.15; gap: 12px; letter-spacing: -.025em; }
  .wim-page-link.wim-previewed { transform: translateX(5px); }
  .wim-ai-tag { min-width: 25px; height: 25px; font-size: 9px; }
  .wim-more { margin-top: 16px; padding-top: 6px; }
  .wim-secondary-navigation { grid-template-columns: 1fr; gap: 2px; margin-top: 4px; }
  .wim-panel-copy { left: 9%; bottom: 15%; right: 8%; }
  .wim-panel-title { font-size: clamp(42px, 11vw, 72px); }
  .wim-panel-kicker { margin-bottom: 15px; font-size: 12px; }
  .wim-panel-description { font-size: 17px; }
  .wim-left-shade { background: linear-gradient(90deg, #161616c9, #16161666 42%, transparent 95%); }
  .wim-bottom { inset: auto 24px max(24px, env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 16px; }
  .wim-detail-title { max-width: 100%; font-size: 14px; }
  .wim-detail-kicker { font-size: 10px; }
}

@media (max-width: 700px) and (max-height: 680px) {
  .wim-top { height: 64px; }
  .wim-navigation { top: 49%; max-height: calc(var(--wim-view-h) - 156px); }
  .wim-primary-navigation { gap: 10px; }
  .wim-page-link { font-size: clamp(25px, 7.3vw, 32px); padding-block: 3px; }
  .wim-bottom { bottom: 15px; gap: 10px; }
  .wim-details { gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .wim-dialog *, .wim-dialog *::before, .wim-dialog *::after, .wim-trigger-icon::before, .wim-trigger-icon::after { transition-duration: 0ms !important; transition-delay: 0ms !important; animation: none !important; scroll-behavior: auto !important; }
  .wim-dialog[data-state="open"] .wim-stage { transform: translate3d(6vw, 0, -420px); }
  .wim-track { will-change: auto; }
}
