/* Jenkins Property — Light editorial (Quiet Landmark sync)
   Field #F8F9FB / Charcoal #1C2020 / Yellow #F4B800.
   Stop cards match jp-site doors + expand-proof soft borders.
*/
body.theme-light-editorial {
  --cream: #F8F9FB;
  --ink: #1C2020;
  --ink-muted: #5A6066;
  --ink-faint: #8C9298;
  --yellow-soft: #F4B800;
  --yellow: #F4B800;
  --charcoal: #1C2020;
  --chrome: #C4CAD2;
  --rule: rgba(28, 32, 32, 0.10);
  --rule-soft: rgba(28, 32, 32, 0.06);
  --shadow-quiet: 0 4px 22px rgba(28, 32, 32, 0.05);
  --radius: 4px;
  --nav-h: 60px;
  color: var(--ink);
  background: var(--cream);
}

/* Soft rooms — cooled & quieter so the page field stays fresher */
body.theme-light-editorial .page-blueprint__base {
  background-image: url("../assets/bg-soft-light-rooms.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  opacity: 0.09;
  filter: saturate(0.45) brightness(1.08) hue-rotate(195deg) contrast(0.95);
}
body.theme-light-editorial .page-blueprint__hot {
  display: block;
  background-image: url("../assets/bg-soft-light-rooms.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: scroll;
  opacity: 0;
  filter: saturate(1.1) brightness(1.05) sepia(0.08) hue-rotate(8deg);
  -webkit-mask-image: radial-gradient(
    circle 170px at var(--bp-x, -400px) var(--bp-y, -400px),
    #000 0%,
    rgba(0, 0, 0, 0.65) 42%,
    rgba(0, 0, 0, 0.2) 68%,
    transparent 84%
  );
  mask-image: radial-gradient(
    circle 170px at var(--bp-x, -400px) var(--bp-y, -400px),
    #000 0%,
    rgba(0, 0, 0, 0.65) 42%,
    rgba(0, 0, 0, 0.2) 68%,
    transparent 84%
  );
}
body.theme-light-editorial.is-blueprint-hot .page-blueprint__hot {
  opacity: 0.18;
}
body.theme-light-editorial .page-blueprint__fade {
  -webkit-mask-image: none !important;
  mask-image: none !important;
  background: none !important;
  opacity: 1 !important;
}
body.theme-light-editorial .page-blueprint__base::after {
  content: none;
}
body.theme-light-editorial .page-blueprint::after {
  content: none;
}
body.theme-light-editorial .cover {
  background: linear-gradient(180deg, rgba(248,249,251,0.72) 0%, rgba(248,249,251,0.22) 55%, transparent 100%);
}
/* stop__card palette set below (QL doors) */
@media (min-width: 900px) and (hover: hover) and (pointer: fine) {
  body.theme-light-editorial .page-blueprint__base,
  body.theme-light-editorial .page-blueprint__hot {
    background-attachment: fixed;
    background-position: center center;
  }
}
@media (max-width: 899px) {
  body.theme-light-editorial .page-blueprint__base,
  body.theme-light-editorial .page-blueprint__hot {
    background-image: url("../assets/bg-soft-light-rooms-mobile.jpg");
    background-attachment: scroll;
    background-size: cover;
    background-position: center 30%;
  }
}

/* ---------- Light header ---------- */
body.theme-light-editorial .site-header {
  background: #1C2020;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: rgba(255, 255, 255, 0.72);
  border-bottom: none;
  box-shadow: none;
}
body.theme-light-editorial .site-header__meta { color: rgba(255, 255, 255, 0.55); }
body.theme-light-editorial .site-header__meta strong { color: rgba(255, 255, 255, 0.88); }
body.theme-light-editorial .site-header__meta strong::after {
  background: var(--yellow);
  width: 4px; height: 4px;
}

/* ---------- Fresh cool cover ---------- */
body.theme-light-editorial .cover {
  min-height: min(88vh, 780px);
  min-height: min(88dvh, 780px);
  padding: calc(var(--nav-h) + 3rem) 1.5rem 3.5rem;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(248,249,251,0.72) 0%, rgba(248,249,251,0.25) 55%, transparent 100%);
  overflow: hidden;
}
body.theme-light-editorial .cover__content {
  background: transparent; border: none; box-shadow: none; border-radius: 0; max-width: 36rem;
}
body.theme-light-editorial .cover__wordmark { height: 44px; margin-bottom: 1.25rem; }
body.theme-light-editorial .cover__draft {
  background: transparent; border: 1px solid var(--rule); color: var(--ink-muted);
  border-radius: 0; letter-spacing: 0.14em; font-size: 0.68rem;
}
body.theme-light-editorial .cover__line {
  color: var(--ink); font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.55rem); line-height: 1.2;
  letter-spacing: -0.015em; max-width: 16ch;
}
body.theme-light-editorial .cover__sub {
  color: var(--ink-muted); font-size: 1.02rem; line-height: 1.65; max-width: 40ch;
}
body.theme-light-editorial .cover__cta {
  border-radius: 2px; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.76rem;
  padding: 0.9rem 1.6rem; background: var(--charcoal); border-color: var(--charcoal);
  color: #fff; box-shadow: none; animation: none;
}
body.theme-light-editorial .cover__media {
  clip-path: none; -webkit-clip-path: none; border-radius: 0;
  box-shadow: var(--shadow-quiet); outline: 1px solid var(--rule-soft);
  aspect-ratio: 4 / 3; width: min(100%, 560px); margin: 2rem auto 0;
}
body.theme-light-editorial .cover__veil {
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(248,249,251,0.65));
}
@media (min-width: 900px) {
  body.theme-light-editorial .cover {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr);
    gap: 3.25rem; align-items: center;
    padding-left: max(3rem, calc((100% - 1180px) / 2 + 1.25rem));
    padding-right: max(3rem, calc((100% - 1180px) / 2 + 1.25rem));
  }
  body.theme-light-editorial .cover__media {
    width: 100%; margin: 0; min-height: 400px; aspect-ratio: 5 / 4;
  }
}

body.theme-light-editorial .btn--primary {
  background: var(--charcoal); border-color: var(--charcoal); color: #fff; border-radius: 2px;
}
body.theme-light-editorial .btn--primary:hover,
body.theme-light-editorial .btn--primary:focus-visible {
  background: #2a3030; border-color: #2a3030;
}
body.theme-light-editorial .stop__continue.btn--primary { animation: none; }

body.theme-light-editorial .path-stage { background: transparent; padding-top: 3.5rem; }

/* Stop cards — Quiet Landmark doors / expand-proof soft boxes */
body.theme-light-editorial .stop__card {
  background: #fff;
  border: 1px solid rgba(196, 202, 210, 0.7);
  border-radius: 0.4rem;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.theme-light-editorial .stop.is-active .stop__card,
body.theme-light-editorial .stop.is-open .stop__card {
  border-color: #C4CAD2;
  border-top: 1px solid #C4CAD2;
  box-shadow: 0 8px 24px rgba(28, 32, 32, 0.05);
  transform: none;
}
body.theme-light-editorial .stop__title { color: var(--ink); letter-spacing: -0.015em; font-weight: 700; }
body.theme-light-editorial .stop__teaser,
body.theme-light-editorial .stop__panel { color: var(--ink-muted); }
body.theme-light-editorial .stop__eyebrow { color: var(--ink-faint); letter-spacing: 0.1em; }
body.theme-light-editorial .stop.is-open .stop__eyebrow,
body.theme-light-editorial .stop.is-active .stop__eyebrow { color: var(--ink-muted); }
body.theme-light-editorial .stop.is-open .stop__eyebrow::before,
body.theme-light-editorial .stop.is-active .stop__eyebrow::before {
  background: var(--yellow); height: 3px; width: 16px; border-radius: 1px;
  vertical-align: middle;
}
body.theme-light-editorial .stop__expand-hint {
  color: var(--charcoal);
  border-bottom-color: var(--yellow);
}
/* Problem / proof — expand-proof field cards */
body.theme-light-editorial .problem {
  background: #F8F9FB;
  border: 1px solid rgba(196, 202, 210, 0.9);
  border-left: 3px solid var(--charcoal);
  border-radius: 0.4rem;
  padding: 0.95rem 1rem 1.05rem;
}
body.theme-light-editorial .proof {
  background: #F8F9FB;
  border: 1px solid rgba(196, 202, 210, 0.9);
  border-radius: 0.4rem;
  padding: 0.95rem 1rem 1.05rem;
}
body.theme-light-editorial .problem__label,
body.theme-light-editorial .proof__label { color: var(--ink-faint); }
body.theme-light-editorial .proof__label { color: var(--charcoal); }
body.theme-light-editorial .problem p,
body.theme-light-editorial .proof > p { color: var(--ink); }
body.theme-light-editorial .video-placeholder__note--vr {
  background: #F8F9FB;
  border: 1px solid rgba(196, 202, 210, 0.7);
  border-radius: 0.4rem;
  color: var(--ink-muted);
}
@media (min-width: 900px) {
  body.theme-light-editorial .path-svg__track { stroke: rgba(28,32,32,0.12); stroke-width: 1.5; }
  body.theme-light-editorial .path-svg__progress { stroke: var(--yellow); stroke-width: 2; filter: none; }
}
body.theme-light-editorial .stop__node {
  border-color: rgba(196, 202, 210, 0.9); background: #fff; color: var(--ink-muted);
  border-radius: 999px;
}
body.theme-light-editorial .stop.is-active .stop__node,
body.theme-light-editorial .stop.is-open .stop__node {
  background: var(--charcoal); border-color: var(--charcoal); color: #fff;
}
body.theme-light-editorial .site-footer {
  background: #1C2020; color: rgba(255,255,255,0.72); border-top: none;
}
body.theme-light-editorial .site-footer p { color: rgba(255,255,255,0.55); }

/* Stop 9 toolset list */
body.theme-light-editorial .proof-list--tools li {
  margin-bottom: 0.45rem;
}
body.theme-light-editorial .proof-list--tools strong {
  color: var(--charcoal);
  font-weight: 700;
}

/* ---------- Cover hero cycle ---------- */
body.theme-light-editorial .cover__media--cycle {
  position: relative;
  display: block;
  overflow: hidden;
}
body.theme-light-editorial .cover__cycle {
  position: absolute;
  inset: 0;
  background: #ECEFF3;
}
body.theme-light-editorial .cover__cycle-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.1s ease;
  pointer-events: none;
}
body.theme-light-editorial .cover__cycle-img.is-active {
  opacity: 1;
  z-index: 1;
}
body.theme-light-editorial .cover__media--cycle .cover__veil {
  z-index: 2;
  position: absolute;
  left: 0; right: 0; bottom: 0;
}
/* keep aspect box when absolute imgs */
body.theme-light-editorial .cover__media--cycle::before {
  content: "";
  display: block;
  padding-top: 75%;
}
@media (min-width: 900px) {
  body.theme-light-editorial .cover__media--cycle::before {
    padding-top: 80%;
    min-height: 400px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.theme-light-editorial .cover__cycle-img {
    transition: none;
  }
}
