/* ===== shared inner-page pieces (loaded after site.css) ===== */

/* title band: her hero scene loops behind the page title (as on the live
   site's inner pages), poster first so it is never blank */
.page-hero { position: relative; min-height: clamp(360px, 26vw, 760px); display: grid; place-items: center; text-align: center; overflow: hidden; padding: 0; color: #fff; background: var(--plum-deep); }
.page-hero video, .page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(40,10,40,.10), rgba(40,10,40,.30)); }
.page-hero .inner { position: relative; z-index: 1; padding: 70px 16px; }
.page-hero h1 { font: 700 clamp(40px, 6vw, 68px)/1.05 var(--ui); text-shadow: 0 2px 24px rgba(20,5,20,.55), 1px 1px 0 rgba(60,20,60,.5); }
.page-hero .sub { font: 400 clamp(22px, 3vw, 34px)/1.15 Derivia, serif; color: var(--aqua); margin: 12px 0 0; text-shadow: 1px 1px 1px rgb(78,0,81), 0 2px 16px rgba(20,10,30,.6); }

/* long-form text */
.prose { max-width: 740px; }
.prose.center { margin-inline: auto; }
.prose p, .prose li { color: var(--ink); }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 48px 0 14px; }
.prose h3 { font-size: 22px; margin: 34px 0 10px; color: var(--plum); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 6px 0; }
.prose blockquote { margin: 28px 0; padding: 22px 28px; border-left: 4px solid var(--gold); background: #fff; border-radius: 0 var(--r) var(--r) 0; box-shadow: var(--shadow); font: italic 19px/1.6 var(--body); color: var(--plum-deep); }
.prose a { color: var(--plum); font-weight: 600; }
.lead { font-size: 20px; line-height: 1.6; color: var(--muted); }

/* grouping */
.panel { background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 36px 40px; }
.panel.plum { background: var(--plum); color: #fff; }
.panel.plum .eyebrow { color: var(--gold); }
.panel.plum p { color: rgba(255,255,255,.86); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.photo-r { border-radius: var(--r-lg); box-shadow: var(--shadow-up); width: 100%; object-fit: cover; }
.price { font: 700 30px/1 var(--ui); color: var(--plum); }
.price small { font: 500 15px var(--ui); color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 18px 0; }
.checks li { position: relative; padding-left: 30px; margin: 10px 0; }
.checks li::before { content: ""; position: absolute; left: 0; top: .45em; width: 16px; height: 16px; border-radius: 50%; background: var(--aqua); box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--aqua); }
.wash { background: var(--wash); }
.tight { padding: 64px 0; }

/* phone menu */
@media (max-width: 1100px) {
  body.menu-open .nav { display: flex; position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--plum); padding: 8px 16px 20px; max-height: calc(100vh - 84px); overflow: auto; box-shadow: var(--shadow-up); }
  body.menu-open .nav > li > a { padding: 14px 8px; border-radius: 10px; font-size: 17px; }
  body.menu-open .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 6px 12px; margin: 0; min-width: 0; }
  body.menu-open .sub a { color: rgba(255,255,255,.85); }
  body.menu-open .sub a small { color: rgba(255,255,255,.6); }
  body.menu-open .sub a:hover { background: rgba(255,255,255,.08); }
}
@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; gap: 28px; }
  .panel { padding: 26px 22px; }
  .page-hero { min-height: 280px; }
}

/* the CHALICE app in a phone frame: <div class="device"><img src="/img/app-….jpg"></div> */
.device { position: relative; aspect-ratio: 9 / 16; border-radius: 36px; background: #1b0d19; padding: 9px; box-shadow: 0 30px 60px rgba(50,32,56,.28), inset 0 0 0 2px rgba(255,255,255,.10); }
.device img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; }
.devices { position: relative; display: flex; justify-content: center; align-items: flex-end; }
.devices .device { width: 46%; }
.devices .device.back { position: absolute; width: 40%; bottom: 7%; }
.devices .device.back.l { left: 1%; }
.devices .device.back.r { right: 1%; }
.devices .device.front { position: relative; z-index: 1; }
