:root {
  color-scheme: light;
  --pm-ink: #2b211e;
  --pm-copy: #665d58;
  --pm-muted: #827771;
  --pm-paper: #fbf7f1;
  --pm-surface: #fffdfb;
  --pm-soft: #f5ece3;
  --pm-accent: #aa4a27;
  --pm-accent-dark: #81331c;
  --pm-gold: #d98a28;
  --pm-line: #e5d9cd;
  --pm-success: #4f7865;
  --pm-serif: Georgia, "Times New Roman", serif;
  --pm-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --pm-shadow: 0 20px 58px rgba(73, 51, 38, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--pm-ink);
  background: var(--pm-paper);
  font: 16px/1.65 var(--pm-sans);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
a { color: inherit; }
img { max-width: 100%; }
.pm-container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.pm-narrow { width: min(800px, calc(100% - 40px)); margin: 0 auto; }
.pm-public-main { min-height: 55vh; }
.pm-eyebrow {
  margin: 0 0 12px;
  color: var(--pm-accent);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.pm-display, .pm-section-title, .pm-card-title {
  color: var(--pm-ink);
  font-family: var(--pm-serif);
  font-weight: 400;
  letter-spacing: -.035em;
}
.pm-display {
  margin: 0;
  max-width: 920px;
  font-size: clamp(46px, 6.6vw, 82px);
  line-height: .99;
}
.pm-section-title {
  margin: 0;
  font-size: clamp(34px, 4.5vw, 54px);
  line-height: 1.04;
}
.pm-lede {
  margin: 20px 0 0;
  max-width: 690px;
  color: var(--pm-copy);
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.62;
}
.pm-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}
.pm-button-primary {
  color: #fff;
  background: var(--pm-accent);
  box-shadow: 0 10px 24px rgba(170, 74, 39, .18);
}
.pm-button-primary:hover { background: var(--pm-accent-dark); }
.pm-button-secondary {
  border-color: var(--pm-line);
  color: var(--pm-ink);
  background: var(--pm-surface);
}
.pm-button-full { width: 100%; }
.pm-text-link {
  color: var(--pm-accent-dark);
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

/* Shared public header */
.pm-header {
  position: relative;
  z-index: 40;
  border-bottom: 1px solid var(--pm-line);
  background: rgba(251, 247, 241, .96);
}
.pm-header-inner {
  min-height: 102px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.pm-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.pm-logo img { display: block; width: 230px; height: auto; }
.pm-desktop-nav { display: flex; align-items: center; gap: clamp(20px, 2.8vw, 40px); }
.pm-desktop-nav a {
  position: relative;
  color: #554943;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}
.pm-desktop-nav a:hover, .pm-desktop-nav a[aria-current="page"] { color: var(--pm-accent-dark); }
.pm-desktop-nav .pm-nav-account {
  min-height: 43px;
  padding: 9px 17px;
  border: 1px solid #d9cabd;
  border-radius: 999px;
  background: #fff;
}
.pm-mobile-nav { display: none; }
.pm-menu-button {
  width: 46px;
  height: 42px;
  padding: 8px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.pm-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 6px 0;
  border-radius: 4px;
  background: var(--pm-ink);
}
.pm-mobile-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 12px 20px 22px;
  border-bottom: 1px solid var(--pm-line);
  background: var(--pm-surface);
  box-shadow: 0 18px 30px rgba(65, 45, 34, .09);
}
.pm-mobile-panel.is-open { display: grid; }
.pm-mobile-panel a {
  padding: 13px 4px;
  border-bottom: 1px solid #eee5dc;
  color: var(--pm-ink);
  font-weight: 750;
  text-decoration: none;
}
.pm-mobile-panel a:last-child { border: 0; }

/* Homepage */
.pm-home-hero {
  position: relative;
  overflow: hidden;
  min-height: min(780px, calc(100vh - 102px));
  display: flex;
  align-items: center;
  padding: clamp(72px, 10vw, 132px) 0 clamp(72px, 9vw, 116px);
  background:
    linear-gradient(
      90deg,
      rgba(251, 247, 241, .99) 0%,
      rgba(251, 247, 241, .95) 34%,
      rgba(251, 247, 241, .72) 49%,
      rgba(251, 247, 241, .12) 68%,
      rgba(251, 247, 241, 0) 78%
    ),
    url("images/public-home-hero-v1.jpg") center center / cover no-repeat;
}
.pm-home-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(78, 50, 34, .03), transparent 30%, rgba(255, 250, 244, .05));
}
.pm-home-hero .pm-container { position: relative; z-index: 1; }
.pm-home-hero .pm-display { max-width: 790px; font-size: clamp(48px, 5vw, 72px); }
.pm-home-hero .pm-lede { max-width: 680px; color: #514641; }
.pm-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.pm-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--pm-line);
  border-bottom: 1px solid var(--pm-line);
}
.pm-trust-row div { padding: 30px 34px; border-right: 1px solid var(--pm-line); }
.pm-trust-row div:last-child { border-right: 0; }
.pm-trust-row strong { display: block; margin-bottom: 5px; font-family: var(--pm-serif); font-size: 23px; font-weight: 400; }
.pm-trust-row span { color: var(--pm-copy); font-size: 14px; }
.pm-section { padding: clamp(72px, 9vw, 116px) 0; }
.pm-section-soft { background: #f4ece4; }
.pm-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 34px;
}
.pm-section-head p { max-width: 540px; margin: 0; color: var(--pm-copy); }
.pm-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.pm-process-card, .pm-editorial-card, .pm-category-card, .pm-review-card {
  border: 1px solid var(--pm-line);
  border-radius: 19px;
  background: var(--pm-surface);
}
.pm-process-card { min-height: 265px; padding: 30px; }
.pm-process-number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 42px;
  border: 1px solid #d5c4b5;
  border-radius: 50%;
  color: var(--pm-accent-dark);
  font-family: var(--pm-serif);
  font-size: 21px;
}
.pm-process-card h3 { margin: 0 0 10px; font: 400 27px/1.1 var(--pm-serif); }
.pm-process-card p { margin: 0; color: var(--pm-copy); }
.pm-editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pm-editorial-card { overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.pm-editorial-card:hover { transform: translateY(-3px); box-shadow: var(--pm-shadow); }
.pm-editorial-image { display: block; aspect-ratio: 16/10; overflow: hidden; background: #eaded2; }
.pm-editorial-image img { width: 100%; height: 100%; object-fit: cover; }
.pm-editorial-copy { padding: 24px; }
.pm-editorial-copy small { color: var(--pm-accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pm-editorial-copy h3 { margin: 9px 0; font: 400 27px/1.13 var(--pm-serif); }
.pm-editorial-copy h2 { margin: 9px 0; font: 400 27px/1.13 var(--pm-serif); }
.pm-editorial-copy h2 a { color: var(--pm-ink); text-decoration: none; }
.pm-editorial-copy h2 a:hover { color: var(--pm-accent-dark); }
.pm-editorial-copy p { margin: 0; color: var(--pm-copy); font-size: 14px; }
.pm-editorial-byline {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--pm-line);
  color: var(--pm-muted);
  font-size: 13px;
}
.pm-editorial-byline a {
  color: var(--pm-accent-dark);
  font-weight: 800;
  text-underline-offset: 3px;
}
.pm-category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pm-category-card { display: flex; min-height: 124px; flex-direction: column; justify-content: space-between; padding: 21px; text-decoration: none; }
.pm-category-card span { color: var(--pm-accent); }
.pm-category-card strong { font-family: var(--pm-serif); font-size: 21px; font-weight: 400; line-height: 1.2; }
.pm-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pm-review-card { padding: 28px; }
.pm-review-card .pm-stars { color: #c57422; letter-spacing: .12em; }
.pm-review-card blockquote { margin: 20px 0; color: #493f3a; font: 400 20px/1.5 var(--pm-serif); }
.pm-review-card cite { color: var(--pm-copy); font-size: 14px; font-style: normal; font-weight: 700; }
.pm-closing-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
  padding: clamp(36px, 6vw, 62px);
  border: 1px solid #e4d2c5;
  border-radius: 24px;
  color: var(--pm-ink);
  background:
    radial-gradient(circle at 100% 0, rgba(176, 83, 45, .08), transparent 38%),
    linear-gradient(135deg, #fffaf6 0%, #f7e9de 100%);
  box-shadow: 0 18px 46px rgba(67, 43, 32, .07);
}
.pm-closing-cta h2 { margin: 0; color: var(--pm-ink); font: 400 clamp(34px, 4vw, 50px)/1.05 var(--pm-serif); }
.pm-closing-cta p { margin: 12px 0 0; color: var(--pm-copy); }

/* Library and lists */
.pm-page-hero { padding: clamp(62px, 8vw, 100px) 0 54px; }
.pm-page-hero .pm-display { max-width: 940px; font-size: clamp(43px, 6vw, 72px); }
.pm-photo-hero {
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 70px 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.pm-photo-hero .pm-container { width: min(1180px, calc(100% - 40px)); }
.pm-photo-hero .pm-display { max-width: 690px; font-size: clamp(43px, 5.8vw, 70px); }
.pm-photo-hero .pm-lede { max-width: 610px; color: #514741; }
.pm-assessments-hero {
  background-image:
    linear-gradient(90deg, rgba(251, 247, 241, .99) 0%, rgba(251, 247, 241, .94) 34%, rgba(251, 247, 241, .47) 59%, rgba(251, 247, 241, .06) 100%),
    url("images/public-assessments-hero-v1.jpg");
}
.pm-about-hero {
  background-image:
    linear-gradient(90deg, rgba(251, 247, 241, .99) 0%, rgba(251, 247, 241, .93) 34%, rgba(251, 247, 241, .42) 58%, rgba(251, 247, 241, .04) 100%),
    url("images/public-about-hero-v1.jpg");
}
.pm-blog-hero {
  background-image:
    linear-gradient(90deg, rgba(251, 247, 241, .99) 0%, rgba(251, 247, 241, .93) 34%, rgba(251, 247, 241, .45) 59%, rgba(251, 247, 241, .05) 100%),
    url("images/public-blog-hero-v1.jpg");
}
.pm-blog-category-hero {
  background-image:
    linear-gradient(90deg, rgba(251, 247, 241, .99) 0%, rgba(251, 247, 241, .94) 35%, rgba(251, 247, 241, .45) 60%, rgba(251, 247, 241, .04) 100%),
    url("images/public-blog-category-hero-v1.jpg");
}
.pm-contact-hero {
  background-image:
    linear-gradient(90deg, rgba(251, 247, 241, .99) 0%, rgba(251, 247, 241, .94) 33%, rgba(251, 247, 241, .43) 58%, rgba(251, 247, 241, .04) 100%),
    url("images/public-contact-hero-v1.jpg");
}
.pm-library-hero { padding-top: clamp(50px, 6vw, 72px); padding-bottom: 44px; }
.pm-library-hero .pm-display { max-width: 820px; font-size: clamp(42px, 5.3vw, 64px); }
.pm-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 760px;
  margin-top: 30px;
  padding: 8px;
  border: 1px solid var(--pm-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 40px rgba(76, 54, 41, .07);
}
.pm-search-form input {
  min-width: 0;
  min-height: 50px;
  padding: 10px 14px;
  border: 0;
  outline: 0;
  color: var(--pm-ink);
  background: transparent;
}
.pm-popular-topics { display: flex; flex-wrap: wrap; gap: 9px; }
.pm-topic-pill {
  padding: 10px 14px;
  border: 1px solid var(--pm-line);
  border-radius: 999px;
  background: #fff;
  color: #574942;
  font-size: 14px;
  text-decoration: none;
}
.pm-library-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 34px; align-items: start; }
.pm-library-index {
  position: sticky;
  top: 24px;
  padding: 22px;
  border: 1px solid var(--pm-line);
  border-radius: 17px;
  background: #fff;
}
.pm-library-index strong { display: block; margin-bottom: 13px; }
.pm-library-index a { display: block; padding: 6px 0; color: var(--pm-copy); font-size: 14px; text-decoration: none; }
.pm-library-index a:hover { color: var(--pm-accent); }
.pm-library-group {
  margin-bottom: 14px;
  border: 1px solid var(--pm-line);
  border-radius: 18px;
  background: var(--pm-surface);
}
.pm-library-group summary {
  position: relative;
  padding: 24px 58px 24px 25px;
  cursor: pointer;
  list-style: none;
}
.pm-library-group summary::-webkit-details-marker { display: none; }
.pm-library-group summary:after {
  content: "+";
  position: absolute;
  top: 23px;
  right: 24px;
  color: var(--pm-accent);
  font-size: 24px;
}
.pm-library-group[open] summary:after { content: "−"; }
.pm-library-group summary h2 { margin: 0; font: 400 28px/1.15 var(--pm-serif); }
.pm-library-group summary p { margin: 8px 0 0; color: var(--pm-copy); font-size: 14px; }
.pm-library-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  padding: 0 25px 25px;
}
.pm-library-links a {
  padding: 13px 15px;
  border-radius: 11px;
  color: #493c36;
  background: #f7f1eb;
  text-decoration: none;
}
.pm-library-links a:hover { background: #f0e2d6; }
.pm-content-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.pm-list-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 38px; }
.pm-list-pagination a, .pm-list-pagination span { padding: 9px 13px; border: 1px solid var(--pm-line); border-radius: 10px; background: #fff; text-decoration: none; }
.pm-list-pagination .current { color: #fff; border-color: var(--pm-accent); background: var(--pm-accent); }

/* Editorial/About/Contact */
.pm-story {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(42px, 8vw, 104px);
  padding: 74px 0;
  border-top: 1px solid var(--pm-line);
}
.pm-story-copy h2 { margin: 0 0 20px; font: 400 clamp(34px, 4vw, 50px)/1.08 var(--pm-serif); }
.pm-story-copy p { color: var(--pm-copy); }
.pm-principles { display: grid; gap: 1px; border: 1px solid var(--pm-line); background: var(--pm-line); }
.pm-principle { padding: 24px; background: var(--pm-surface); }
.pm-principle strong { display: block; margin-bottom: 6px; font-family: var(--pm-serif); font-size: 22px; font-weight: 400; }
.pm-principle span { color: var(--pm-copy); }
.pm-contact-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 60px;
  padding-top: clamp(68px, 8vw, 104px);
  padding-bottom: 100px;
}
.pm-contact-note { color: var(--pm-copy); }
.pm-form-card {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--pm-line);
  border-radius: 22px;
  background: var(--pm-surface);
  box-shadow: var(--pm-shadow);
}
.pm-field { margin-bottom: 18px; }
.pm-field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 800; }
.pm-field input, .pm-field select, .pm-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  border: 1px solid #d7c9bd;
  border-radius: 11px;
  color: var(--pm-ink);
  background: #fff;
}
.pm-field textarea { min-height: 150px; resize: vertical; }
.pm-error, .errorlist {
  margin: 7px 0 0;
  padding: 0;
  color: #9d3623;
  font-size: 13px;
  list-style: none;
}
.pm-success {
  margin-bottom: 22px;
  padding: 15px 17px;
  border: 1px solid #b8cfc3;
  border-radius: 12px;
  color: #365b49;
  background: #f0f7f3;
}

/* Article */
.pm-article-shell { width: min(850px, calc(100% - 40px)); margin: 0 auto; }
.pm-article-header { padding: clamp(62px, 9vw, 112px) 0 44px; text-align: center; }
.pm-article-header .pm-display { margin: 0 auto; max-width: 1000px; font-size: clamp(42px, 6.3vw, 72px); }
.pm-article-meta { margin-top: 22px; color: var(--pm-muted); font-size: 14px; }
.pm-article-meta a { color: var(--pm-accent-dark); font-weight: 800; text-underline-offset: 3px; }
.pm-article-hero {
  width: min(1120px, calc(100% - 40px));
  max-height: 620px;
  margin: 0 auto 54px;
  overflow: hidden;
  border-radius: 22px;
  background: #e9ded4;
}
.pm-article-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pm-article-body { color: #453b36; font-size: 18px; line-height: 1.78; }
.pm-article-body h2, .pm-article-body h3 { color: var(--pm-ink); font-family: var(--pm-serif); font-weight: 400; line-height: 1.16; }
.pm-article-body h2 { margin: 52px 0 18px; font-size: 38px; }
.pm-article-body h3 { margin: 38px 0 14px; font-size: 28px; }
.pm-article-body img { height: auto; border-radius: 15px; }
.pm-article-body a { color: var(--pm-accent-dark); }
.pm-article-author {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 26px;
  align-items: center;
  margin: 56px 0;
  padding: 30px;
  border: 1px solid var(--pm-line);
  border-radius: 20px;
  background: #fffaf6;
}
.pm-article-author-photo {
  width: 112px;
  height: 112px;
  overflow: hidden;
  border-radius: 50%;
  background: #eaded2;
}
.pm-article-author-photo img { width: 100%; height: 100%; object-fit: cover; }
.pm-article-author-no-photo { grid-template-columns: 1fr; }
.pm-article-author .pm-eyebrow { margin-bottom: 6px; }
.pm-article-author h2 { margin: 0 0 4px; font: 400 30px/1.08 var(--pm-serif); }
.pm-article-author h2 a { color: var(--pm-ink); text-decoration: none; }
.pm-article-author-title { margin: 0 0 10px !important; color: var(--pm-accent-dark) !important; font-weight: 800; }
.pm-article-author p { margin: 0 0 12px; color: var(--pm-copy); }
.pm-article-cta { margin: 58px 0; padding: 36px; border-radius: 20px; background: #f2e8df; text-align: center; }
.pm-article-cta h2 { margin: 0 0 10px; font: 400 36px/1.08 var(--pm-serif); }
.pm-article-cta p { margin: 0 auto 22px; max-width: 620px; color: var(--pm-copy); }

/* Author profiles */
.pm-person-hero { padding: clamp(62px, 8vw, 108px) 0; }
.pm-person-layout {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: clamp(42px, 7vw, 92px);
  align-items: center;
}
.pm-person-layout-no-photo { grid-template-columns: minmax(0, 850px); }
.pm-person-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 24px;
  background: #eaded2;
  box-shadow: var(--pm-shadow);
}
.pm-person-photo img { width: 100%; height: 100%; object-fit: cover; }
.pm-person-copy .pm-display { max-width: 760px; font-size: clamp(46px, 6vw, 72px); }
.pm-person-role { margin: 18px 0 0; color: var(--pm-accent-dark); font-size: 18px; font-weight: 800; }
.pm-person-copy .pm-lede { margin-top: 16px; }
.pm-person-credentials { margin-top: 20px; color: var(--pm-copy); }
.pm-person-credentials p { margin: 0 0 8px; }
.pm-expert-facts { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.pm-expert-facts span {
  padding: 9px 13px;
  border: 1px solid #d8c7ba;
  border-radius: 999px;
  color: #68483b;
  background: #fffaf6;
  font-size: 13px;
  font-weight: 800;
}
.pm-person-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pm-person-links a {
  padding: 9px 13px;
  border: 1px solid var(--pm-line);
  border-radius: 999px;
  color: var(--pm-accent-dark);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.pm-person-about { border-top: 1px solid var(--pm-line); }
.pm-person-bio { margin-top: 24px; color: var(--pm-copy); font-size: 18px; line-height: 1.78; }
.pm-person-bio p { margin: 0 0 20px; }
.pm-empty-state {
  padding: 36px;
  border: 1px solid var(--pm-line);
  border-radius: 19px;
  background: #fff;
}
.pm-empty-state h3 { margin: 0 0 8px; font: 400 29px/1.12 var(--pm-serif); }
.pm-empty-state p { margin: 0; color: var(--pm-copy); }

/* Ask Parenting Mentor */
.pm-ask-page {
  min-height: calc(100vh - 103px);
  padding: clamp(46px, 7vw, 88px) 0;
  background:
    radial-gradient(circle at 84% 4%, rgba(216, 150, 83, .16), transparent 34rem),
    var(--pm-paper);
}
.pm-ask-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(38px, 7vw, 86px); align-items: center; }
.pm-ask-copy .pm-display { font-size: clamp(42px, 5.7vw, 68px); }
.pm-ask-photo-hero {
  --pm-ask-hero-image: url("images/public-ask-hero-v1.jpg");
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 66px 0 112px;
  background: var(--pm-paper);
}
.pm-ask-photo-hero:before,
.pm-ask-photo-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pm-ask-photo-hero:before {
  inset: 0;
  background: var(--pm-ask-hero-image) center / cover no-repeat;
}
.pm-ask-photo-hero:after {
  background: linear-gradient(90deg, rgba(251, 247, 241, .99) 0%, rgba(251, 247, 241, .94) 34%, rgba(251, 247, 241, .45) 59%, rgba(251, 247, 241, .05) 100%);
}
.pm-ask-photo-hero > .pm-container {
  position: relative;
  z-index: 1;
}
.pm-ask-photo-hero .pm-ask-copy { max-width: 610px; }
.pm-ask-photo-hero .pm-lede { color: #514741; }
.pm-ask-hero-newborn { --pm-ask-hero-image: url("images/public-ask-newborn-hero-v1.jpg"); }
.pm-ask-hero-preschool { --pm-ask-hero-image: url("images/public-ask-preschool-hero-v1.jpg"); }
.pm-ask-hero-elementary { --pm-ask-hero-image: url("images/public-ask-elementary-hero-v1.jpg"); }
.pm-ask-hero-middle-school { --pm-ask-hero-image: url("images/public-ask-middle-school-hero-v1.jpg"); }
.pm-ask-hero-adult-child { --pm-ask-hero-image: url("images/public-ask-adult-child-hero-v1.jpg"); }
.pm-ask-form-section {
  position: relative;
  z-index: 2;
  margin-top: -70px;
  padding-bottom: clamp(70px, 9vw, 112px);
}
.pm-ask-form-section .pm-ask-card { background: rgba(255, 253, 251, .99); }
.pm-ask-card {
  padding: clamp(27px, 4vw, 45px);
  border: 1px solid var(--pm-line);
  border-radius: 24px;
  background: rgba(255, 253, 251, .98);
  box-shadow: var(--pm-shadow);
}
.pm-ask-card h2 { margin: 0 0 10px; font: 400 clamp(28px, 3vw, 38px)/1.1 var(--pm-serif); }
.pm-ask-card > p { margin: 0 0 24px; color: var(--pm-copy); }
.pm-ask-card textarea { min-height: 170px; font-size: 17px; }
.pm-character-row { display: flex; justify-content: space-between; gap: 18px; margin: 7px 0 20px; color: var(--pm-muted); font-size: 12px; }
.pm-auth-choice {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px;
  border-radius: 12px;
  background: var(--pm-soft);
}
.pm-auth-choice label { position: relative; cursor: pointer; }
.pm-auth-choice input { position: absolute; opacity: 0; }
.pm-auth-choice span { display: block; padding: 10px; border-radius: 8px; text-align: center; font-weight: 800; }
.pm-auth-choice input:checked + span { background: #fff; box-shadow: 0 2px 8px rgba(65, 44, 32, .08); }
.pm-google-shell { min-height: 44px; display: flex; justify-content: center; }
.pm-divider { display: flex; align-items: center; gap: 12px; margin: 19px 0; color: var(--pm-muted); font-size: 12px; }
.pm-divider:before, .pm-divider:after { content: ""; height: 1px; flex: 1; background: var(--pm-line); }
.pm-context-preview {
  margin-bottom: 26px;
  padding: 17px 19px;
  border-radius: 13px;
  background: #f5eee7;
}
.pm-context-preview small { display: block; margin-bottom: 5px; color: var(--pm-accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.pm-context-preview p { margin: 0; color: #514640; }
.pm-code-input input { text-align: center; font-size: 24px; letter-spacing: .24em; font-variant-numeric: tabular-nums; }
.pm-quiet-action { margin-top: 17px; text-align: center; }
.pm-quiet-action button { border: 0; color: var(--pm-accent-dark); background: transparent; font-weight: 750; cursor: pointer; }
.pm-child-options { display: grid; gap: 10px; margin: 14px 0 24px; }
.pm-child-option { display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--pm-line); border-radius: 12px; background: #fff; cursor: pointer; }
.pm-child-option input { width: 20px; height: 20px; accent-color: var(--pm-accent); }
.pm-confirm { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; color: var(--pm-copy); font-size: 14px; }
.pm-confirm input { width: 20px; height: 20px; flex: 0 0 auto; accent-color: var(--pm-accent); }

/* Footer */
.pm-footer { padding: 68px 0 26px; color: #eaded8; background: #30231f; }
.pm-footer-top { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 60px; padding-bottom: 52px; }
.pm-footer-logo { width: 210px; filter: brightness(0) invert(1); opacity: .96; }
.pm-footer-brand p { max-width: 390px; color: #cdbeb7; }
.pm-footer h2 { margin: 0 0 14px; color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.pm-footer nav { display: grid; gap: 9px; }
.pm-footer nav a { color: #d9ccc5; text-decoration: none; }
.pm-footer nav a:hover { color: #fff; }
.pm-footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 22px; border-top: 1px solid #55443d; color: #a99992; font-size: 13px; }

*:focus-visible { outline: 3px solid rgba(42, 105, 141, .32); outline-offset: 3px; }

@media (max-width: 900px) {
  .pm-desktop-nav { display: none; }
  .pm-mobile-nav { display: block; }
  .pm-process-grid, .pm-editorial-grid, .pm-review-grid { grid-template-columns: 1fr 1fr; }
  .pm-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-library-layout { grid-template-columns: 1fr; }
  .pm-library-index { position: static; }
  .pm-content-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pm-ask-layout, .pm-contact-layout { grid-template-columns: 1fr; }
  .pm-story { grid-template-columns: 1fr; gap: 32px; }
  .pm-photo-hero, .pm-ask-photo-hero { background-position: 67% center; }
}

@media (max-width: 640px) {
  .pm-container, .pm-narrow, .pm-article-shell, .pm-article-hero { width: min(100% - 30px, 1180px); }
  .pm-header-inner { min-height: 68px; }
  .pm-logo img { width: 190px; max-width: 64vw; }
  .pm-display { font-size: clamp(39px, 11.2vw, 54px); }
  .pm-home-hero {
    min-height: calc(100svh - 68px);
    align-items: flex-end;
    padding: 180px 0 52px;
    background:
      linear-gradient(
        180deg,
        rgba(251, 247, 241, .2) 0%,
        rgba(251, 247, 241, .44) 25%,
        rgba(251, 247, 241, .9) 54%,
        rgba(251, 247, 241, .99) 78%
      ),
      url("images/public-home-hero-v1.jpg") 72% center / cover no-repeat;
  }
  .pm-home-hero .pm-display { max-width: 100%; font-size: clamp(39px, 11vw, 52px); }
  .pm-home-hero .pm-lede { font-size: 17px; line-height: 1.55; }
  .pm-photo-hero {
    min-height: 620px;
    align-items: flex-end;
    padding: 210px 0 48px;
    background-position: 69% center;
    background-size: cover;
  }
  .pm-photo-hero .pm-display,
  .pm-library-hero .pm-display { max-width: 100%; font-size: clamp(38px, 10.2vw, 49px); }
  .pm-photo-hero .pm-lede { font-size: 17px; line-height: 1.52; }
  .pm-assessments-hero,
  .pm-about-hero,
  .pm-blog-hero,
  .pm-blog-category-hero,
  .pm-contact-hero {
    background-image:
      linear-gradient(180deg, rgba(251, 247, 241, .12) 0%, rgba(251, 247, 241, .26) 28%, rgba(251, 247, 241, .9) 60%, rgba(251, 247, 241, .99) 82%),
      var(--pm-mobile-hero-image);
  }
  .pm-assessments-hero { --pm-mobile-hero-image: url("images/public-assessments-hero-v1.jpg"); }
  .pm-about-hero { --pm-mobile-hero-image: url("images/public-about-hero-v1.jpg"); }
  .pm-blog-hero { --pm-mobile-hero-image: url("images/public-blog-hero-v1.jpg"); }
  .pm-blog-category-hero { --pm-mobile-hero-image: url("images/public-blog-category-hero-v1.jpg"); }
  .pm-contact-hero { --pm-mobile-hero-image: url("images/public-contact-hero-v1.jpg"); }
  .pm-library-hero { padding-top: 210px; padding-bottom: 44px; }
  .pm-ask-photo-hero {
    min-height: 0;
    align-items: flex-start;
    padding: 128px 0 88px;
  }
  .pm-ask-photo-hero:before {
    background-position: 72% center;
  }
  .pm-ask-photo-hero:after {
    background:
      linear-gradient(180deg, rgba(251, 247, 241, .08) 0%, rgba(251, 247, 241, .28) 24%, rgba(251, 247, 241, .88) 55%, rgba(251, 247, 241, .98) 100%),
      linear-gradient(90deg, rgba(251, 247, 241, .62) 0%, rgba(251, 247, 241, .34) 72%, rgba(251, 247, 241, .12) 100%);
  }
  .pm-ask-photo-hero .pm-ask-copy { max-width: 100%; }
  .pm-ask-photo-hero .pm-lede { margin-top: 16px; font-size: 17px; line-height: 1.5; }
  .pm-ask-form-section { margin-top: -58px; }
  .pm-hero-actions { display: grid; }
  .pm-trust-row { grid-template-columns: 1fr; }
  .pm-trust-row div { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--pm-line); }
  .pm-trust-row div:last-child { border-bottom: 0; }
  .pm-section-head { display: block; }
  .pm-section-head p { margin-top: 15px; }
  .pm-process-grid, .pm-editorial-grid, .pm-review-grid, .pm-content-grid { grid-template-columns: 1fr; }
  .pm-category-grid { grid-template-columns: 1fr 1fr; }
  .pm-process-card { min-height: 0; }
  .pm-process-number { margin-bottom: 24px; }
  .pm-closing-cta { grid-template-columns: 1fr; }
  .pm-search-form { grid-template-columns: 1fr; }
  .pm-search-form .pm-button { width: 100%; }
  .pm-library-index { display: none; }
  .pm-library-links { grid-template-columns: 1fr; }
  .pm-library-group summary h2 { font-size: 24px; }
  .pm-footer-top { grid-template-columns: 1fr; gap: 34px; }
  .pm-footer-bottom { display: grid; }
  .pm-ask-page { padding-top: 38px; }
  .pm-ask-copy .pm-display { font-size: clamp(39px, 10.5vw, 52px); }
  .pm-ask-card { padding: 25px 20px; border-radius: 19px; }
  .pm-auth-choice { grid-template-columns: 1fr; }
  .pm-article-body { font-size: 17px; }
  .pm-article-body h2 { font-size: 32px; }
  .pm-article-author { grid-template-columns: 76px minmax(0, 1fr); gap: 18px; padding: 24px 20px; }
  .pm-article-author-photo { width: 76px; height: 76px; }
  .pm-person-layout { grid-template-columns: 1fr; gap: 32px; }
  .pm-person-photo { width: min(78vw, 330px); }
  .pm-person-copy .pm-display { font-size: clamp(40px, 12vw, 58px); }
}
