html.wod17-live,
body.wod17-live {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  background: #f7f3ee !important;
}

/* Once JS moves the landing page directly under body, hide EVERYTHING else from the WP theme/page builder. */
body.wod17-live > *:not(#wod17-root):not(script):not(style):not(link) {
  display: none !important;
}

#wod17-root,
#wod17-root * { box-sizing: border-box; }

#wod17-root {
  --bg: #f7f3ee;
  --text: #191512;
  --muted: #5f5952;
  --line: #dfd6ca;
  --gold: #c88412;
  --gold2: #b87506;
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483000 !important;
  width: 100vw !important;
  height: 100dvh !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: none !important;
  overflow: hidden !important;
  background:
    radial-gradient(circle at 77% 35%, rgba(220,203,179,.14), transparent 34%),
    linear-gradient(180deg,#faf7f2 0%,#f5f0e9 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

#wod17-root button,
#wod17-root input { font: inherit; }

#wod17-root .wod17-frame {
  width: 100%;
  height: 100%;
  padding: 0 clamp(26px,3.4vw,66px) clamp(22px,2.8vw,42px);
  overflow: hidden;
}

#wod17-root .wod17-header {
  height: clamp(78px,9vh,98px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

#wod17-root .wod17-brand-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

#wod17-root .wod17-brand {
  color: var(--text);
  text-decoration: none;
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(30px,2.3vw,44px);
  line-height: 1;
  letter-spacing: -.035em;
  white-space: nowrap;
}
#wod17-root .wod17-brand span { color: var(--gold); }

#wod17-root .wod17-beta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(235,224,208,.78);
  color: #895e19;
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}
#wod17-root .wod17-beta i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}

#wod17-root .wod17-top-cta,
#wod17-root .wod17-main-cta,
#wod17-root .wod17-form button,
#wod17-root .wod17-beta-access {
  appearance: none;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg,#d79118,#c57f0a);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(197,127,10,.16);
  transition: transform .18s ease, box-shadow .18s ease;
}
#wod17-root .wod17-top-cta:hover,
#wod17-root .wod17-main-cta:hover,
#wod17-root .wod17-form button:hover,
#wod17-root .wod17-beta-access:hover {
  transform: translateY(-1px);
  box-shadow: 0 15px 29px rgba(197,127,10,.21);
}
#wod17-root .wod17-top-cta { padding: 15px 24px; font-size: 15px; }

#wod17-root .wod17-hero {
  height: calc(100dvh - clamp(78px,9vh,98px));
  display: grid;
  grid-template-columns: minmax(390px,40%) minmax(0,60%);
  gap: clamp(32px,4vw,70px);
  align-items: center;
  padding: clamp(20px,3.3vh,38px) 0 clamp(22px,3.8vh,42px);
}

#wod17-root .wod17-copy {
  min-width: 0;
  padding-left: clamp(0px,.5vw,8px);
}

#wod17-root .wod17-copy h1 {
  margin: 0 0 clamp(20px,2.6vh,30px);
  font-family: Georgia,"Times New Roman",serif;
  font-size: clamp(56px,5vw,84px);
  line-height: .98;
  letter-spacing: -.052em;
  font-weight: 400;
}
#wod17-root .wod17-copy h1 em { color: var(--gold); font-style: italic; }

#wod17-root .wod17-copy p {
  margin: 0 0 18px;
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(17px,1.18vw,21px);
  line-height: 1.48;
  letter-spacing: -.012em;
}
#wod17-root .wod17-copy strong {
  display: block;
  max-width: 650px;
  color: #29241f;
  font-size: clamp(16px,1.06vw,19px);
  line-height: 1.45;
}
#wod17-root .wod17-main-cta {
  min-width: 300px;
  padding: 18px 30px;
  margin-top: clamp(22px,2.8vh,32px);
  font-size: 17px;
}

#wod17-root .wod17-showcase {
  width: 100%;
  min-width: 0;
  align-self: center;
}

#wod17-root .wod17-carousel {
  position: relative;
  width: 100%;
}

/* The stage is exactly the same 16:9 ratio as every supplied source image. */
#wod17-root .wod17-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: #f2ece4;
  border: 1px solid rgba(217,205,190,.88);
  box-shadow: 0 22px 48px rgba(43,31,18,.10);
}

#wod17-root .wod17-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity .42s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f2ece4;
}
#wod17-root .wod17-slide.is-active { opacity: 1; visibility: visible; }

/* EXACT full source image: no cover, no zoom, no crop, no reconstruction. */
#wod17-root .wod17-slide img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: 50% 50% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  transform: none !important;
}

#wod17-root .wod17-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  padding: 0;
  border-radius: 50%;
  border: 1px solid #ded3c5;
  background: rgba(255,255,255,.94);
  color: #302922;
  box-shadow: 0 9px 22px rgba(40,28,15,.08);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(8px);
}
#wod17-root .wod17-prev { left: -20px; }
#wod17-root .wod17-next { right: -20px; }

#wod17-root .wod17-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding-top: 18px;
}
#wod17-root .wod17-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d8cfc4;
  cursor: pointer;
}
#wod17-root .wod17-dot.is-active { background: var(--gold); }

#wod17-root .wod17-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483640;
  display: none;
}
#wod17-root .wod17-modal.is-open { display: block; }
#wod17-root .wod17-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,16,12,.54);
  backdrop-filter: blur(8px);
}
#wod17-root .wod17-dialog {
  position: relative;
  width: min(620px,calc(100% - 32px));
  margin: 8vh auto;
  padding: 30px;
  background: #fffaf4;
  border: 1px solid #e2d8cc;
  border-radius: 22px;
  box-shadow: 0 28px 70px rgba(0,0,0,.2);
}
#wod17-root .wod17-x {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  background: transparent;
  color: #6a6258;
  font-size: 32px;
  cursor: pointer;
}
#wod17-root .wod17-eyebrow {
  color: #906923;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .16em;
}
#wod17-root .wod17-dialog h2 {
  margin: 10px 0 10px;
  font-family: Georgia,"Times New Roman",serif;
  font-size: 42px;
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -.035em;
}
#wod17-root .wod17-dialog > p { margin: 0 0 20px; color: var(--muted); font-size: 17px; line-height: 1.5; }
#wod17-root .wod17-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
#wod17-root .wod17-form input {
  width: 100%;
  height: 50px;
  padding: 0 14px;
  border: 1px solid #ddd2c4;
  border-radius: 10px;
  background: #fff;
  color: #2b2520;
  outline: none;
}
#wod17-root .wod17-form input:focus { border-color: rgba(200,132,18,.75); box-shadow: 0 0 0 3px rgba(200,132,18,.10); }
#wod17-root .wod17-form button { width: 100%; height: 54px; margin-top: 14px; font-size: 16px; }
#wod17-root .wod17-message { min-height: 22px; margin-top: 12px; color: #456c4d; font-size: 14px; }
#wod17-root .wod17-form-grid[hidden],
#wod17-root .wod17-form button[hidden],
#wod17-root .wod17-beta-access[hidden] { display: none !important; }
#wod17-root .wod17-beta-access {
  width: 100%;
  min-height: 54px;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
}

@media (max-width: 1180px) {
  body.wod17-live { overflow: auto !important; }
  #wod17-root { overflow-y: auto !important; }
  #wod17-root .wod17-frame { min-height: 100dvh; height: auto; }
  #wod17-root .wod17-hero {
    height: auto;
    min-height: calc(100dvh - 84px);
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 28px;
  }
  #wod17-root .wod17-copy { max-width: 860px; }
  #wod17-root .wod17-copy h1 { font-size: clamp(50px,8vw,76px); }
  #wod17-root .wod17-showcase { padding-bottom: 26px; }
}

@media (max-width: 720px) {
  #wod17-root .wod17-frame { padding: 0 16px 26px; }
  #wod17-root .wod17-header { height: 72px; }
  #wod17-root .wod17-brand { font-size: 27px; }
  #wod17-root .wod17-beta { display: none; }
  #wod17-root .wod17-top-cta { padding: 12px 16px; font-size: 13px; }
  #wod17-root .wod17-hero { min-height: calc(100dvh - 72px); padding-top: 22px; }
  #wod17-root .wod17-copy h1 { font-size: clamp(43px,12vw,62px); }
  #wod17-root .wod17-copy p { font-size: 17px; }
  #wod17-root .wod17-main-cta { width: 100%; min-width: 0; }
  #wod17-root .wod17-stage { border-radius: 16px; }
  #wod17-root .wod17-arrow { width: 44px; height: 44px; font-size: 29px; }
  #wod17-root .wod17-prev { left: 6px; }
  #wod17-root .wod17-next { right: 6px; }
  #wod17-root .wod17-dialog { padding: 24px 18px; }
  #wod17-root .wod17-dialog h2 { font-size: 34px; }
  #wod17-root .wod17-form-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  #wod17-root *, #wod17-root *::before, #wod17-root *::after { transition: none !important; animation: none !important; }
}
