/* Tile 2 — Important Documents & Information
   Ivory camellia, sage, olive, parchment, antique gold, warm wood.
   Scoped to body.pwl-tile2 so Tile 1 lavender is untouched.
*/

body.pwl-tile2 {
  --pwl-lavender: #5d6b49;
  --pwl-lavender-bright: #7d8b66;
  --pwl-plum: #3c4a32;
  --pwl-plum-rich: #4d5c3e;
  --pwl-hero-plum: #24301c;
  --pwl-hero-plum-soft: #3e4e34;
  --pwl-page-parchment: #f3eee4;
  --pwl-tile2-gold: #8d7748;
  --pwl-tile2-olive: #3e4c34;
  --pwl-tile2-sage: #5c6a46;
  --pwl-tile2-ink: #2c3328;
  --pwl-tile2-sprig: url("../images/Preparing%20with%20Love/tile2/pwl-tile2-camellia-sprig.jpg");
  --pwl-tile2-camellia: url("../images/Preparing%20with%20Love/tile2/pwl-tile2-margin-camellia.jpg");
  --pwl-tile2-key: url("../images/Preparing%20with%20Love/tile2/pwl-tile2-margin-key.jpg");
  --pwl-tile2-folio: url("../images/Preparing%20with%20Love/tile2/pwl-tile2-margin-folio.jpg");
}

body.pwl-lesson-prototype.pwl-tile2 {
  --pwl-middle-fill: none;
  --pwl-page-parchment: #f3eee4;
  --pwl-hero-height: clamp(20rem, 56.25vw, 51rem);
  --pwl-hero-type-top: 37%;
  background: #f3eee4;
}

body.pwl-lesson-prototype.pwl-tile2 main.page.pwl-lesson-page {
  background: #f3ecdf;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-page-wash {
  background-color: #f3ecdf;
  background-image:
    radial-gradient(ellipse 42% 18% at 14% 8%, rgba(255, 250, 242, 0.65), transparent 70%),
    radial-gradient(ellipse 36% 16% at 88% 30%, rgba(176, 158, 128, 0.09), transparent 72%),
    radial-gradient(ellipse 32% 14% at 10% 58%, rgba(150, 136, 110, 0.06), transparent 70%),
    radial-gradient(ellipse 40% 18% at 84% 78%, rgba(186, 168, 138, 0.08), transparent 74%),
    linear-gradient(180deg, #f7f2e8 0%, #f3ecdf 34%, #efe4d2 68%, #e9decc 100%);
  background-repeat: no-repeat;
  background-size: auto;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-page-wash::before {
  opacity: 0.14;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  background-repeat: repeat;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-page-wash::after {
  left: 0;
  width: 100%;
  transform: none;
  background: radial-gradient(ellipse 80% 70% at 50% 30%, rgba(255, 250, 242, 0.22), transparent 72%);
}

/* Broader body composition. Prose stays a comfortable measure. */
body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-shell {
  width: min(100% - 2rem, 74rem);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-stack {
  max-width: 74rem;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel p,
body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel h3,
body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel ul,
body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel ol {
  max-width: 42rem;
}

/* Side-framed archive. Live type sits in the quiet center parchment. */
body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero {
  background: #f4efe4;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__art {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 90%, transparent 100%);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__image {
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  -webkit-mask-image: none;
  mask-image: none;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__inner {
  width: min(30rem, 40%);
  transform: translate(calc(-50% + 5.8vw), -50%);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__inner::before {
  width: min(40rem, 130%);
  height: 18rem;
  top: 48%;
  background: radial-gradient(
    ellipse 68% 62% at 50% 46%,
    rgba(255, 251, 244, 0.42) 0%,
    rgba(248, 242, 230, 0.16) 46%,
    transparent 72%
  );
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__backdrop {
  top: -0.18em;
  color: rgba(112, 120, 96, 0.05);
  font-size: clamp(5rem, 15vw, 13rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  line-height: 0.72;
  text-shadow: none;
  mix-blend-mode: multiply;
  transform: translateX(-50%) scaleX(1.18);
  transform-origin: center top;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__program {
  color: #3c4a32;
  text-shadow:
    0 0 14px rgba(255, 252, 246, 0.98),
    0 1px 0 rgba(255, 252, 246, 0.85);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__masthead {
  padding-bottom: clamp(3.7rem, 5.6vw, 4.7rem);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__flourish {
  width: min(16.5rem, 74%);
  margin: 0.2rem auto 0.25rem;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__chapter {
  margin-top: 0.15rem;
  color: #31402a;
  text-shadow:
    0 0 14px rgba(255, 252, 246, 0.96),
    0 1px 0 rgba(255, 252, 246, 0.8);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__conversation {
  max-width: 16em;
  color: #1c2816;
  font-weight: 600;
  text-shadow:
    0 0 14px rgba(255, 252, 246, 0.98),
    0 1px 0 rgba(255, 252, 246, 0.8);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__progress {
  color: #24301c;
  text-shadow: 0 0 10px rgba(255, 252, 248, 0.98), 0 1px 0 rgba(255, 252, 248, 0.9);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__progress::before,
body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__progress::after {
  color: rgba(141, 119, 72, 0.85);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-section-divider {
  width: min(14.5rem, 68%);
}

/* Journal sheets as heirloom cards — rounded double frame in sage and antique gold. */
body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel {
  position: relative;
  margin: 0.45rem auto;
  background-color: #faf6ef;
  border: 2px solid rgba(93, 109, 76, 0.55);
  border-radius: 12px;
  box-shadow: 0 6px 14px rgba(61, 76, 56, 0.1);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel::before {
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(180deg, rgba(255, 252, 246, 0.97) 0%, rgba(246, 241, 230, 0.94) 100%);
  background-repeat: no-repeat;
  background-size: auto;
  background-position: center;
  -webkit-mask-image: none;
  mask-image: none;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel::after {
  display: block !important;
  content: "" !important;
  position: absolute;
  inset: 5px;
  z-index: 2;
  border: 1px solid rgba(141, 119, 72, 0.42) !important;
  border-radius: 8px;
  pointer-events: none;
  background: none;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel h2,
body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel--opening h2,
body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel h3,
body.pwl-tile2 .pwl-chapter-hero__title,
body.pwl-tile2 .pwl-chapter-intro__heading,
body.pwl-tile2 .pwl-chapter-contents__heading {
  color: #3f4e34;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel p {
  color: var(--pwl-tile2-ink);
}

/* Family Documentation Map — one quarter down, drifting off the left edge. */
body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-manuscript {
  overflow-x: clip;
  padding-bottom: 0;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-docmap,
body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-gentle {
  position: absolute;
  z-index: 2;
  left: -6rem;
  width: 26rem;
  height: auto;
  pointer-events: none;
  user-select: none;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-docmap {
  top: 25%;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-gentle {
  top: 75%;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-legacy {
  position: absolute;
  z-index: 2;
  right: -6rem;
  width: 26rem;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Early documents vignette — right margin beside Caring for the People. */
body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-documents {
  position: absolute;
  z-index: 2;
  width: 28rem;
  height: auto;
  pointer-events: none;
  user-select: none;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-secure {
  position: absolute;
  z-index: 2;
  width: 24rem;
  height: auto;
  pointer-events: none;
  user-select: none;
}
body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-peace {
  position: absolute;
  z-index: 2;
  left: 12rem;
  right: auto;
  width: 20rem;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Flower ribbons cap each side picture and meet the hero and footer edges. */
body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-bloom {
  position: absolute;
  z-index: 5;
  width: 13.5rem;
  height: auto;
  pointer-events: none;
  user-select: none;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-bloom.is-frame {
  width: 17rem;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-bloom.is-frame[data-pwl-bloom="hero"] {
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 10%, #000 26%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.35) 10%, #000 26%);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-bloom.is-frame[data-pwl-bloom="close"] {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}

/* A varied garland joining the hero, side pictures, and footer.
   It sits behind the four side pictures so those stay visible. */
body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-vine {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-vine .is-vine-piece {
  position: absolute;
  height: auto;
  pointer-events: none;
  user-select: none;
}

/* Side florals from the page frame, repeated at natural size down both margins. */
body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-keepsakes {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-side {
  position: absolute;
  display: block;
  height: auto;
  width: 18rem;
  pointer-events: none;
  user-select: none;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-side.is-left {
  left: 0.35rem;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-side.is-right {
  right: 0.35rem;
}

/* Conversation name index — quiet, not an app menu. */
body.pwl-tile2 .pwl-tile2-conversations {
  width: min(52rem, 100%);
  margin: 0.35rem auto 1.35rem;
  padding: 0.15rem 0 0.2rem;
  border-top: 1px solid rgba(141, 119, 72, 0.28);
  border-bottom: 1px solid rgba(141, 119, 72, 0.28);
}

body.pwl-tile2 .pwl-tile2-conversations summary {
  cursor: pointer;
  list-style: none;
  text-align: center;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-style: italic;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  color: var(--pwl-tile2-olive);
  padding: 0.45rem 0.4rem;
}

body.pwl-tile2 .pwl-tile2-conversations summary::-webkit-details-marker {
  display: none;
}

body.pwl-tile2 .pwl-tile2-conversations summary::after {
  content: " ·";
  color: var(--pwl-tile2-gold);
}

body.pwl-tile2 .pwl-tile2-conversations[open] summary::after {
  content: "";
}

body.pwl-tile2 .pwl-tile2-conversations ol {
  list-style: none;
  margin: 0.15rem 0 0.55rem;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.28rem 1.25rem;
}

body.pwl-tile2 .pwl-tile2-conversations a,
body.pwl-tile2 .pwl-tile2-conversations .is-forthcoming {
  display: block;
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 1.02rem;
  line-height: 1.35;
  text-decoration: none;
}

body.pwl-tile2 .pwl-tile2-conversations a {
  color: #31402a;
}

body.pwl-tile2 .pwl-tile2-conversations a:hover,
body.pwl-tile2 .pwl-tile2-conversations a:focus-visible {
  color: #1f2a1a;
  outline: none;
}

body.pwl-tile2 .pwl-tile2-conversations .is-current a {
  color: var(--pwl-tile2-olive);
  font-style: italic;
}

body.pwl-tile2 .pwl-tile2-conversations .is-forthcoming {
  color: rgba(110, 102, 88, 0.72);
  font-style: italic;
}

body.pwl-tile2 .pwl-tile2-pull {
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-style: italic;
  font-size: clamp(1.22rem, 2.2vw, 1.42rem) !important;
  line-height: 1.45 !important;
  text-align: center;
  color: #3a4a32 !important;
  margin-top: 0.35rem !important;
  margin-bottom: 1.15rem !important;
}

/* A Loving Word of Caution — correspondence, not an alert. */
body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel.pwl-tile2-note {
  margin-top: 0.4rem;
  padding: clamp(1.6rem, 3vw, 2.2rem) clamp(1.15rem, 3vw, 1.8rem) clamp(1.7rem, 3vw, 2.3rem);
  background-color: #f8f3e8;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel.pwl-tile2-note::before {
  opacity: 1;
  background-image: linear-gradient(180deg, rgba(252, 247, 236, 0.98), rgba(246, 240, 226, 0.94));
}

/* Document examples — heirloom papers, same words. */
body.pwl-tile2 .pwl-tile2-record {
  width: min(46rem, 100%);
  margin: 0.85rem auto 1rem;
  padding: 0.95rem 1.1rem 0.45rem 1.15rem;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.96), rgba(246, 240, 226, 0.9));
  border: 1.5px solid rgba(93, 109, 76, 0.42);
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 4px rgba(250, 246, 239, 0.92),
    inset 0 0 0 5px rgba(141, 119, 72, 0.32);
}

body.pwl-tile2 .pwl-tile2-record p:first-child {
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-size: 1.28rem;
  font-style: italic;
  letter-spacing: 0.02em;
  color: #31402a;
  margin-bottom: 0.45rem;
}

body.pwl-tile2 .pwl-tile2-ask {
  font-family: "Cormorant Garamond", Baskerville, Georgia, serif;
  font-style: italic;
  font-size: clamp(1.18rem, 2.1vw, 1.34rem) !important;
  line-height: 1.45 !important;
  text-align: center;
  color: #31402a !important;
  margin-bottom: 0.55rem !important;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel.pwl-tile2-assume {
  padding-top: 1.4rem;
  padding-bottom: 1.5rem;
  background-image: linear-gradient(90deg, rgba(141, 119, 72, 0.16), rgba(141, 119, 72, 0.16));
  background-repeat: no-repeat;
  background-size: 2px 68%;
  background-position: left 8% center;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel.pwl-tile2-ledger ul {
  margin-top: 0.35rem;
  padding: 0.85rem 1rem 0.9rem 1.35rem;
  list-style: none;
  background: linear-gradient(180deg, rgba(255, 251, 244, 0.78), rgba(239, 233, 216, 0.55));
  border-top: 1px solid rgba(141, 119, 72, 0.35);
  border-bottom: 1px solid rgba(141, 119, 72, 0.35);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel.pwl-tile2-ledger li {
  position: relative;
  padding-left: 0.85rem;
  color: var(--pwl-tile2-ink);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel.pwl-tile2-ledger li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: #8d7748;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel--practice {
  background: none;
  background-color: #faf6ef;
  box-shadow: 0 6px 14px rgba(61, 76, 56, 0.1);
}

body.pwl-tile2 .pwl-chapter-progress__box.is-filled {
  background: linear-gradient(160deg, #c8b88a 0%, #7f8d64 55%, #4d5b3c 100%);
  border-color: rgba(62, 74, 48, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 1px rgba(141, 119, 72, 0.18);
}

body.pwl-tile2 .pwl-chapter-progress__box {
  border-color: rgba(93, 107, 73, 0.42);
}

body.pwl-tile2 .pwl-chapter-progress__box[aria-current="step"] {
  box-shadow: 0 0 0 2px rgba(253, 249, 244, 0.95), 0 0 0 3px rgba(141, 119, 72, 0.55);
}

body.pwl-tile2 .pwl-chapter-progress__box + .pwl-chapter-progress__box::before {
  background: linear-gradient(90deg, rgba(125, 139, 102, 0.22), rgba(141, 119, 72, 0.45));
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(1.35rem, 3.2vw, 2.6rem);
  width: min(100% - 2rem, 48rem);
  margin-left: auto;
  margin-right: auto;
}

body.pwl-tile2 .pwl-lesson-nav__btn {
  color: #3c4a32;
  border-color: rgba(93, 107, 73, 0.32);
  background: rgba(253, 249, 244, 0.92);
}

body.pwl-tile2 .pwl-lesson-nav__btn:hover,
body.pwl-tile2 .pwl-lesson-nav__btn:focus-visible {
  background: #f4f1e6;
  border-color: rgba(141, 119, 72, 0.5);
  color: #2f3b28;
}

body.pwl-tile2 .pwl-lesson-nav__btn--primary {
  background: linear-gradient(180deg, #7f8d64 0%, #4d5b3c 100%);
  border-color: rgba(62, 74, 48, 0.4);
  color: #fdf9f4;
}

body.pwl-tile2 .pwl-lesson-nav__btn--primary:hover,
body.pwl-tile2 .pwl-lesson-nav__btn--primary:focus-visible {
  background: linear-gradient(180deg, #8d9a72 0%, #5a6848 100%);
  color: #fff;
}

body.pwl-tile2 .pwl-chapter-contents__link {
  border-color: rgba(93, 107, 73, 0.28);
  color: #3c4a32;
}

body.pwl-tile2 .pwl-chapter-contents__link:hover,
body.pwl-tile2 .pwl-chapter-contents__link:focus-visible {
  border-color: rgba(141, 119, 72, 0.55);
  box-shadow: 0 4px 12px rgba(77, 91, 60, 0.12);
}

/* Heirloom Anchor — set into the page, not dropped on empty cream. */
body.pwl-lesson-prototype.pwl-tile2 .gh-heirloom-anchor {
  position: relative;
  margin-top: clamp(2.8rem, 6vw, 4rem);
  padding-top: 1.25rem;
}

body.pwl-lesson-prototype.pwl-tile2 .gh-heirloom-anchor::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 8%;
  z-index: -1;
  width: min(40rem, 118%);
  height: 88%;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 48%, rgba(255, 250, 240, 0.95) 0%, rgba(236, 226, 204, 0.45) 46%, transparent 72%);
  pointer-events: none;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-close {
  width: 100vw;
  max-width: 100vw;
  margin: clamp(1.25rem, 3vw, 2rem) 0 0 calc(50% - 50vw);
  line-height: 0;
  position: relative;
  z-index: 1;
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-close img {
  display: block;
  width: 100%;
  height: auto;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 8%, #000 18%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 8%, #000 18%, #000 100%);
}

body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-close-fade {
  display: none;
}

body.pwl-tile2 .footer.pwl-landing-footer,
body.pwl-tile2 .footer.pwl-landing-footer.gh-home-footer {
  background-color: #3d4c38 !important;
  background-image: linear-gradient(180deg, #5d6d4c 0%, #3d4c38 22%, #31402e 100%) !important;
  background: linear-gradient(180deg, #5d6d4c 0%, #3d4c38 22%, #31402e 100%) !important;
}

body.pwl-chapter-site.pwl-tile2 main.page.pwl-chapter-page {
  background:
    linear-gradient(180deg, rgba(247, 243, 234, 0.88) 0%, rgba(243, 238, 228, 0.96) 78%, #e4ead8 100%),
    radial-gradient(ellipse 32rem 18rem at 12% 8%, rgba(125, 139, 102, 0.14), transparent 70%);
}

body.pwl-chapter-site.pwl-tile2 .pwl-chapter-hero::after {
  content: "";
  display: block;
  width: min(8.5rem, 38%);
  height: 8.5rem;
  margin: 0.15rem auto 0;
  background: var(--pwl-tile2-sprig) center / contain no-repeat;
  mix-blend-mode: multiply;
  opacity: 0.92;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(circle at 50% 48%, #000 36%, transparent 68%);
  mask-image: radial-gradient(circle at 50% 48%, #000 36%, transparent 68%);
}

@media (max-width: 1100px) {
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-docmap,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-gentle,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-peace,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-legacy,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-documents,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-secure {
    width: 16rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-docmap,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-gentle {
    left: -5rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-legacy {
    right: -5rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-peace {
    left: 8rem;
    right: auto;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-bloom {
    width: 9.5rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-bloom.is-frame {
    width: 12rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-side {
    width: 8.25rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-side.is-left {
    left: -2.15rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-side.is-right {
    right: -2.15rem;
  }
}

@media (max-width: 800px) {
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-docmap,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-gentle,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-peace,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-legacy,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-documents,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-secure,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-keepsakes,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-bloom:not(.is-frame),
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-vine {
    display: none;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-bloom.is-frame {
    width: 8.5rem;
  }
}

@media (max-width: 760px) {
  body.pwl-tile2 .pwl-tile2-conversations ol {
    grid-template-columns: 1fr;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel.pwl-tile2-assume {
    background-position: left 0.2rem center;
  }

  body.pwl-chapter-site.pwl-tile2 .pwl-chapter-hero::after {
    width: min(5.5rem, 36%);
    height: 5.5rem;
  }
}

@media (max-width: 1200px) {
  body.pwl-lesson-prototype.pwl-tile2 {
    --pwl-hero-height: clamp(22rem, 56.25vw, 42rem);
    --pwl-hero-type-top: 40%;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__inner {
    width: min(28rem, 48%);
    transform: translate(calc(-50% + 2.2vw), -50%);
  }
}

@media (max-width: 900px) {
  body.pwl-lesson-prototype.pwl-tile2 {
    --pwl-hero-height: clamp(24rem, 62vw, 36rem);
    --pwl-hero-type-top: 47%;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__image {
    height: 100%;
    object-position: center center;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__inner {
    width: min(24rem, 70%);
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 700px) {
  body.pwl-lesson-prototype.pwl-tile2 {
    --pwl-hero-height: clamp(26rem, 118vw, 34rem);
    --pwl-hero-type-top: 46%;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__image {
    height: 100%;
    object-position: center center;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__inner {
    width: min(22rem, 88%);
    transform: translate(-50%, -50%);
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__masthead {
    padding-bottom: clamp(3.6rem, 16vw, 4.8rem);
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__backdrop {
    top: -0.06em;
    font-size: clamp(3rem, 17vw, 4.6rem);
    letter-spacing: 0.07em;
    color: rgba(112, 120, 96, 0.055);
    transform: translateX(-50%) scaleX(1.06);
  }
}

/* Half-screen / tablet landscape only. Desktop above 1100px and phone below 768px stay as they are. */
@media (min-width: 768px) and (max-width: 1100px) {
  body.pwl-lesson-prototype.pwl-tile2 {
    --pwl-hero-height: clamp(19.25rem, 33vw, 23.5rem);
    --pwl-hero-type-top: 47%;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__image {
    height: 100%;
    object-position: center 46%;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__inner {
    z-index: 6;
    width: min(15.5rem, 30%);
    transform: translate(calc(-50% + clamp(2.75rem, 8vw, 4.5rem)), -50%);
    text-align: center;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__inner::before {
    width: min(24rem, 112%);
    height: 12.5rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero__backdrop {
    top: -0.2em;
    font-size: clamp(3.8rem, 12.5vw, 7.6rem);
    letter-spacing: 0.12em;
    color: rgba(112, 120, 96, 0.05);
    transform: translateX(-50%) scaleX(1.12);
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__masthead {
    margin-top: 0;
    padding-bottom: clamp(1.35rem, 2.6vw, 2rem);
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__program {
    font-size: clamp(0.6rem, 1vw, 0.72rem);
    letter-spacing: 0.16em;
    transform: none;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__flourish {
    width: min(7.75rem, 44%);
    margin: 0.05rem auto 0.1rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__chapter {
    font-size: clamp(0.74rem, 1.25vw, 0.96rem);
    margin-bottom: 0.15rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__conversation {
    max-width: 11.5em;
    font-size: clamp(1rem, 1.85vw, 1.32rem);
    margin-bottom: 0.25rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-heirloom-hero .pwl-lesson-hero__progress {
    font-size: clamp(0.66rem, 1.15vw, 0.78rem);
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-lesson-shell {
    width: min(100% - clamp(3.25rem, 7.5vw, 6.5rem), 52rem);
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-stack {
    max-width: 52rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel {
    position: relative;
    z-index: 4;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel p,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel h3,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel ul,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-journal-panel ol {
    max-width: 40rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-docmap,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-gentle,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-peace,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-legacy,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-documents,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-secure,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-keepsakes,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-vine,
  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-bloom:not([hidden]) {
    display: block;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-bloom:not(.is-frame) {
    width: clamp(3.15rem, 4.6vw, 4.35rem);
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-bloom.is-frame {
    width: clamp(3.6rem, 5.4vw, 5rem);
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-side {
    width: clamp(2.35rem, 3.4vw, 3.35rem);
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-side.is-left {
    left: -2.15rem;
  }

  body.pwl-lesson-prototype.pwl-tile2 .pwl-tile2-side.is-right {
    right: -2.15rem;
  }
}

