:root{--paper:#f7f6f1;--ink:#273329;--olive:#45543b;--line:#d9dcd2;--muted:#58615b;--rose:#ad777d;--white:#fff;--max:1100px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:17px/1.65 system-ui,-apple-system,'Segoe UI',sans-serif}h1,h2,h3,.serif{font-family:Georgia,'Times New Roman',serif;font-weight:400;line-height:1.13}h1{font-size:clamp(2.8rem,6vw,5.2rem);letter-spacing:-.035em;margin:.35em 0}h2{font-size:clamp(2rem,3.5vw,3.1rem);margin:0 0 .5em}h3{font-size:1.55rem;margin:.35em 0}p{margin:.3em 0 1em}a{color:var(--olive);text-underline-offset:4px}a:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible{outline:3px solid var(--rose);outline-offset:4px}.wrap{max-width:var(--max);padding:0 26px;margin:auto}.site-header{border-bottom:1px solid var(--line);background:#fcfbf8}.header-inner{display:flex;align-items:center;gap:25px;min-height:104px}.brand img{display:block;width:155px;height:auto}.nav{display:flex;gap:17px;flex-wrap:wrap;align-items:center;margin-left:auto}.nav a{font-size:.78rem;text-decoration:none;white-space:nowrap;color:var(--ink)}.nav a:hover,.nav a[aria-current=page]{text-decoration:underline;text-underline-offset:7px}.menu-button{display:none}.eyebrow{font-size:.72rem;letter-spacing:.16em;text-transform:uppercase;font-weight:700;color:var(--olive)}.hero{padding:72px 0 78px;border-bottom:1px solid var(--line)}.hero-inner{max-width:780px}.hero .intro{max-width:590px;font-size:1.17rem;color:var(--muted)}.button{display:inline-flex;align-items:center;gap:14px;border:1px solid var(--olive);background:var(--olive);color:white;padding:11px 20px;border-radius:3px;text-decoration:none;font-size:.92rem}.button:hover{background:#293827}.text-link{font-weight:600;text-decoration:none;border-bottom:1px solid currentColor;padding-bottom:3px}.pathways{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:30px 0}.path{display:flex;flex-direction:column;padding:23px 22px 20px;border:1px solid rgba(255,255,255,.25);border-radius:10px;background:#596552;text-decoration:none;color:#fff;min-height:210px;box-shadow:0 3px 12px rgba(39,51,41,.09);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.path:hover{transform:translateY(-4px);border-color:rgba(255,255,255,.65);box-shadow:0 10px 22px rgba(39,51,41,.16)}.path h3{font-size:1.65rem;margin:.2em 0 .45em}.path p{font-size:.91rem;color:rgba(255,255,255,.82);margin:0 0 20px}.path .arrow{display:grid;place-items:center;width:42px;height:42px;margin-top:auto;border-radius:50%;background:#cbd3c2;color:var(--olive);transition:background-color .2s ease,transform .2s ease}.path .arrow svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.path:hover .arrow{background:#bac6ae;transform:translateX(3px)}.path:focus-visible{outline-offset:3px}section.block{padding:70px 0;border-bottom:1px solid var(--line)}.section-top{display:flex;justify-content:space-between;align-items:baseline;gap:20px}.section-top a{white-space:nowrap}.articles{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}.article-card img{width:100%;height:185px;object-fit:cover;display:block;border-radius:3px}.article-card p{font-size:.93rem;color:var(--muted)}.article-card a{font-size:.93rem}.article-card h3{font-size:1.5rem}.feature{display:grid;grid-template-columns:minmax(0, .85fr) minmax(0,1fr);align-items:center;gap:75px}.feature .portrait{display:block; border-radius: 15px;width:100%;height:auto;max-width:430px;margin:auto}.feature blockquote{font:italic clamp(1.5rem,3vw,2.25rem)/1.35 Georgia,serif;margin:18px 0}.feature .quote-note{color:var(--muted)}.resource-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px}.resource-card{padding:26px;border:1px solid var(--line);background:#fbfaf6}.resource-card small{letter-spacing:.1em;color:var(--rose);font-weight:700}.resource-card h3{margin:12px 0}.resource-card p{font-size:.95rem}.philosophy{display:grid;grid-template-columns:1.2fr .8fr;gap:50px;align-items:center}.philosophy img{width:100%;border-radius:3px}.site-footer{padding:52px 0 32px;background:#eaece5}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:35px}.footer-grid a{display:block;margin:6px 0}.fineprint{font-size:.78rem;color:var(--muted);margin-top:35px}.page-intro{padding:65px 0 32px}.page-intro p{max-width:700px;color:var(--muted);font-size:1.1rem}.simple-list{display:grid;grid-template-columns:repeat(2,1fr);gap:20px;padding-bottom:75px}.simple-list article{border-top:1px solid var(--line);padding:24px 0}.simple-list p{color:var(--muted)}.about-photo{width:100%;max-width:700px;display:block;margin:25px 0}.content-width{max-width:760px}.content-width h2{margin-top:1.2em}.contact-list{list-style:none;padding:0}.contact-list li{margin:12px 0}.tag{font-size:.8rem;color:var(--rose);text-transform:uppercase;letter-spacing:.08em}.skip{position:absolute;left:-10000px;top:0;background:white;padding:12px;z-index:9}.skip:focus{left:12px}@media(max-width:850px){.header-inner{min-height:90px}.brand img{width:128px}.menu-button{display:block;margin-left:auto;border:1px solid var(--line);background:transparent;padding:9px 12px;color:var(--ink);font-size:1rem}.nav{display:none;position:absolute;top:90px;left:0;right:0;z-index:4;background:#fcfbf8;padding:20px 26px;border-bottom:1px solid var(--line);flex-direction:column;align-items:flex-start}.nav.open{display:flex}.pathways{grid-template-columns:repeat(2,1fr)}.path:nth-child(2){border-right:0}.path:nth-child(3),.path:nth-child(4){border-top:1px solid var(--line)}.path:nth-child(3){padding-left:0}.articles{grid-template-columns:repeat(2,1fr)}.feature{gap:30px}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.wrap{padding:0 20px}.hero{padding:48px 0}.pathways,.articles,.feature,.resource-grid,.philosophy,.simple-list,.footer-grid{grid-template-columns:1fr}.path{padding:18px 0;border-right:0;border-top:1px solid var(--line);min-height:0}.path:first-child{border-top:0}.path:nth-child(2){border-top:1px solid var(--line)}.path:nth-child(4){border-top:1px solid var(--line)}section.block{padding:48px 0}.section-top{align-items:flex-start;flex-direction:column}.feature .portrait{max-width:390px}.articles{gap:36px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Fluid homepage hero: text and artwork share desktop space, stack on smaller screens. */
.hero {
  padding: 32px 0;
  background-color: var(--paper);
  background-image: linear-gradient(90deg, var(--paper) 0%, var(--paper) 30%, rgba(247,246,241,.94) 37%, rgba(247,246,241,.62) 43%, transparent 56%), url("../assets/cygnets.webp");
  background-position: center, calc(50% + 350px) center;
  background-repeat: no-repeat;
  background-size: cover, auto 100%;
}
.hero-inner { max-width: var(--max); }
.hero h1 { max-width: 540px; font-size: clamp(2.2rem, 4vw, 4rem); }
.hero .eyebrow, .hero .intro, .hero-inner > p { max-width: 46%; }
.hero-inner > p:last-child { margin-bottom: 0; }
@media (max-width: 1150px) {
  .hero { padding: 32px 0 0; background-image: none; }
  .hero::after {
    content: "";
    display: block;
    height: clamp(180px, 32vw, 320px);
    margin-top: 16px;
    background: linear-gradient(var(--paper), transparent 30%), url("../assets/cygnets.webp") center / cover no-repeat;
  }
  .hero .eyebrow, .hero .intro, .hero-inner > p { max-width: 100%; }
  .hero h1 { max-width: 100%; }
}
@media (max-width: 600px) {
  .hero { padding-top: 28px; }
  .hero h1 { font-size: clamp(2rem, 7.5vw, 2.5rem); }
  .hero .intro { font-size: 1.05rem; }
}
.stories-photo {
  display: block;
  width: min(100%, 860px);
  height: auto;
  margin: 0 auto 42px;
  border-radius: 4px;
}

.article-card img {
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
}

.article-card {
  display: flex;
  flex-direction: column;
}

.article-card .article-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 12px;
  text-decoration: none;
}

.article-link .arrow {
  display: grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #cbd3c2;
  color: var(--olive);
  transition: background-color .2s ease, transform .2s ease;
}

.article-link .arrow svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.article-link:hover .arrow {
  background: #bac6ae;
  transform: translateX(3px);
}

@media (max-width: 850px) {
  .path:nth-child(n) {
    padding: 23px 22px 20px;
    border: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .path:nth-child(n) {
    min-height: 190px;
    padding: 22px;
  }
}

.path {
  border-color: var(--line);
  background: #fcfbf8;
  color: inherit;
  box-shadow: 0 3px 12px rgba(39, 51, 41, .045);
}

.path p {
  color: var(--muted);
}

.path:hover {
  border-color: var(--olive);
  box-shadow: 0 10px 22px rgba(39, 51, 41, .1);
}

.pathways {
  padding-right: 18px;
  padding-left: 18px;
  border-radius: 14px;
  background: #e8eadf;
}

@media (max-width: 600px) {
  .pathways {
    padding-right: 14px;
    padding-left: 14px;
  }
}

.pathways {
  position: relative;
  z-index: 0;
  isolation: isolate;
  border-radius: 0;
  background: transparent;
}

.pathways::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #e8eadf;
  box-shadow: 0 0 0 100vmax #e8eadf;
  clip-path: inset(0 -100vmax);
  content: "";
}

.blog-block {
  position: relative;
  z-index: 0;
  isolation: isolate;
}

.blog-block::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: #e8eadf;
  box-shadow: 0 0 0 100vmax #e8eadf;
  clip-path: inset(0 -100vmax);
  content: "";
}

.pathways {
  position: relative;
  left: 50%;
  width: min(1250px, calc(100vw - 80px));
  transform: translateX(-50%);
}

.path {
  height: 210px;
  min-height: 0;
}

.pathways .path:nth-child(n) {
  display: grid;
  grid-template-rows: auto 1fr 42px;
  padding: 18px 22px 16px;
}

.pathways .path h3 {
  margin: 0 0 8px;
}

.pathways .path p {
  margin: 0;
}

.path .arrow {
  flex: 0 0 42px;
  background: var(--olive);
  color: #fff;
}

.path:hover .arrow {
  background: #35412e;
}

@media (max-width: 850px) {
  .pathways {
    left: auto;
    width: 100%;
    transform: none;
  }
}

@media (max-width: 1150px) {
  .pathways {
    left: auto;
    width: 100%;
    transform: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .pathways {
    grid-template-columns: 1fr;
  }

  .pathways .path:nth-child(n) {
    height: 210px;
    min-height: 0;
    padding: 16px 20px;
  }
}

.feature .eyebrow {
  color: var(--rose);
  font-size: 0.9rem;
}

.pathways .path:nth-child(n) {
  display: flex;
  height: auto;
  min-height: 0;
  padding: 0;
  overflow: hidden;
}

.path-image {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.path-image-placeholder {
  background: linear-gradient(135deg, #e8eadf, #d9dfd1);
}

.pathways .path-content {
  display: grid;
  flex: 1;
  grid-template-rows: auto 1fr 42px;
  padding: 18px 22px 16px;
}

.pathways .path-content h3 {
  margin: 0 0 8px;
}

.pathways .path-content p {
  margin: 0 0 12px;
}

.story-site {
  --story-ivory: #F8F6F0;
  --story-sage: #E7EADD;
  --story-olive: #344633;
  --story-pink: #D5A5A1;
  --story-charcoal: #292D28;
  background: var(--story-ivory);
  color: var(--story-charcoal);
}

.story-site .site-header {
  background: var(--story-ivory);
  border-color: var(--story-sage);
}

.story-site .nav a {
  color: var(--story-charcoal);
}

.story-site .site-footer {
  background: var(--story-sage);
}

.story-intro-banner {
  position: relative;
  isolation: isolate;
  padding: 76px 0 66px;
  color: var(--story-ivory);
}

.story-intro-banner::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--story-olive);
  box-shadow: 0 0 0 100vmax var(--story-olive);
  clip-path: inset(0 -100vmax);
  content: "";
}

.story-intro {
  max-width: 772px;
}

.story-intro h1 {
  max-width: 720px;
  margin-top: 0;
  color: var(--story-ivory);
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.story-intro .story-subtitle {
  margin-top: 16px;
  color: var(--story-sage);
  font: italic 1.25rem/1.5 Georgia, 'Times New Roman', serif;
}

.story-reading-area {
  background: var(--story-ivory);
}

.story-page {
  max-width: 772px;
  padding: 42px 26px 72px;
  color: var(--story-charcoal);
  font-size: 1.12rem;
  line-height: 1.85;
}

.story-page section {
  padding: 30px 0 16px;
}

.story-page h2 {
  margin: 0 0 24px;
  color: var(--story-olive);
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
}

.story-page p {
  max-width: none;
  margin: 0 0 1.25em;
}

.story-page strong {
  color: var(--story-olive);
}

.story-page .story-highlight strong {
  color: var(--story-pink);
}

.story-page .story-ending {
  position: relative;
  z-index: 0;
  isolation: isolate;
  margin-top: 30px;
  padding: 36px 26px 28px;
}

.story-page .story-ending::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--story-sage);
  box-shadow: 0 0 0 100vmax var(--story-sage);
  clip-path: inset(0 -100vmax);
  content: "";
}

.story-page .story-final {
  margin-top: 30px;
  font: 1.45rem/1.5 Georgia, 'Times New Roman', serif;
}

.story-back-link {
  display: inline-block;
  margin-top: 12px;
}

@media (max-width: 600px) {
  .story-intro-banner {
    padding: 56px 0 48px;
  }

  .story-page {
    padding: 28px 20px 48px;
  }

  .story-page section {
    padding-top: 26px;
  }

  .story-page .story-ending {
    padding: 28px 20px 20px;
  }

  .pathways .path:nth-child(n) {
    height: auto;
    padding: 0;
  }
}

.resource-overview h2 a {
  color: inherit;
  text-decoration: none;
}

.resource-overview h2 a:hover {
  text-decoration: underline;
}

.play-book-site {
  --book-ivory: #F8F6F0;
  --book-sage: #E7EADD;
  --book-olive: #344633;
  --book-pink: #D5A5A1;
  --book-charcoal: #292D28;
  background: var(--book-ivory);
  color: var(--book-charcoal);
}

.play-book-site .site-header {
  background: var(--book-ivory);
  border-color: var(--book-sage);
}

.play-book-site .nav a {
  color: var(--book-charcoal);
}

.play-book-site .site-footer {
  background: var(--book-sage);
}

.play-book-hero {
  position: relative;
  isolation: isolate;
  padding: 70px 0 76px;
  color: var(--book-ivory);
}

.play-book-hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: var(--book-olive);
  box-shadow: 0 0 0 100vmax var(--book-olive);
  clip-path: inset(0 -100vmax);
  content: "";
}

.play-book-intro {
  max-width: 850px;
}

.play-book-breadcrumb {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--book-sage);
  text-decoration: none;
}

.play-book-breadcrumb:hover {
  text-decoration: underline;
}

.play-book-intro .eyebrow {
  display: block;
  color: var(--book-pink);
}

.play-book-intro h1 {
  margin-top: 12px;
  color: var(--book-ivory);
}

.play-book-subtitle {
  max-width: 700px;
  margin: 0 0 24px;
  color: var(--book-sage);
  font: italic 1.35rem/1.55 Georgia, 'Times New Roman', serif;
}

.play-book-details {
  padding: 54px 0 74px;
  background: var(--book-ivory);
}

.play-book-content {
  max-width: 850px;
}

.play-book-content section {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.play-book-content h2 {
  margin-bottom: 20px;
  color: var(--book-olive);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}

.play-book-content p {
  max-width: 760px;
  margin-bottom: 1.1em;
  color: var(--book-charcoal);
  font-size: 1.2rem;
  line-height: 1.75;
}

.play-book-content p:last-child {
  margin-bottom: 0;
}

.play-book-content .play-book-statement {
  color: var(--book-olive);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.35rem;
  line-height: 1.55;
}

.play-book-content .play-book-status {
  margin-top: 24px;
  padding: 28px;
  border: 0;
  border-radius: 8px;
  background: var(--book-sage);
}

.play-book-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  margin-top: 34px;
}

.play-book-site .button {
  border-color: var(--book-olive);
  background: var(--book-olive);
}

.play-book-site .button:hover {
  background: #293827;
}

.play-book-site .text-link {
  color: var(--book-olive);
}

@media (max-width: 600px) {
  .play-book-hero {
    padding: 52px 0 58px;
  }

  .play-book-details {
    padding: 38px 0 52px;
  }

  .play-book-content section {
    padding: 24px 0;
  }

  .play-book-content .play-book-status {
    padding: 24px 20px;
  }

  .play-book-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
}

.unnecessary-page .unnecessary-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.unnecessary-page .unnecessary-hero-inner {
  position: static;
  display: block;
  min-height: clamp(390px, 43vw, 540px);
}

.unnecessary-page .unnecessary-hero-copy {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: var(--max);
  margin: auto;
  padding: 68px 26px;
}

.unnecessary-page .unnecessary-hero-copy h1 {
  max-width: 540px;
  margin: 14px 0 18px;
  color: var(--ink);
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.unnecessary-page .unnecessary-hero-copy p {
  max-width: 440px;
  color: var(--muted);
  font: clamp(1.15rem, 2vw, 1.45rem)/1.5 Georgia, 'Times New Roman', serif;
}

.unnecessary-page .unnecessary-hero-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.unnecessary-page .unnecessary-hero-projector {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
  transform: scaleX(-1);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 55%);
  mask-image: linear-gradient(to right, transparent 0%, #000 55%);
}

.unnecessary-page .unnecessary-features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 28px;
  padding-top: 28px;
  padding-bottom: 54px;
}

.unnecessary-page .unnecessary-feature {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.unnecessary-page .unnecessary-feature > img {
  display: block;
  width: 100%;
  max-height: 300px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.unnecessary-page .unnecessary-feature-copy {
  min-width: 0;
  padding: 10px 0;
}

.unnecessary-page .unnecessary-feature-copy h2 {
  margin: 10px 0;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
}

.unnecessary-page .unnecessary-feature-copy p {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .unnecessary-page .unnecessary-hero-inner {
    min-height: 470px;
  }

  .unnecessary-page .unnecessary-hero-copy {
    padding: 48px 20px;
  }

  .unnecessary-page .unnecessary-hero-copy h1 {
    max-width: 420px;
    font-size: clamp(2.35rem, 10vw, 3.2rem);
  }

  .unnecessary-page .unnecessary-hero-art {
    top: 110px;
  }

  .unnecessary-page .unnecessary-features {
    grid-template-columns: 1fr;
    gap: 10px;
    padding-top: 14px;
    padding-bottom: 34px;
  }

  .unnecessary-page .unnecessary-feature {
    grid-template-columns: minmax(0, .72fr) minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
  }

  .unnecessary-page .unnecessary-feature-copy h2 {
    font-size: clamp(1.55rem, 6vw, 2rem);
  }

  .unnecessary-page .unnecessary-feature > img {
    max-height: none;
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 480px) {
  .unnecessary-page .unnecessary-feature {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .unnecessary-page .unnecessary-feature > img {
    width: min(100%, 310px);
    aspect-ratio: 4 / 3;
  }

  .unnecessary-page .unnecessary-feature-copy {
    padding: 0;
  }
}

/* Compact homepage hero while preserving the card layout. */
@media (min-width: 1151px) {
  .hero { padding: 32px 0; }
}

/* Reference-inspired books background, scoped to the resource introduction. */
.resource-section .resource-intro {
  position:relative;
  isolation:isolate;
  padding-left:38%;
  background:var(--paper);
}
.resource-section .resource-intro::before {
  content:"";
  position:absolute;
  inset:0 auto 0 0;
  width:45%;
  background:url("../assets/4.png") 25% center / auto 100% no-repeat;
  opacity:.9;
  mask-image:linear-gradient(to right,#000 55%,transparent),linear-gradient(to bottom,#000 88%,transparent);
  mask-composite:intersect;
  -webkit-mask-image:linear-gradient(to right,#000 35%,transparent),linear-gradient(to bottom,#000 88%,transparent);
  -webkit-mask-composite:source-in;
  pointer-events:none;
  z-index:0;
}
.resource-section .resource-intro > * { position:relative; z-index:1; }
@media(max-width:850px) {
  .resource-section .resource-grid { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:480px) {
  .resource-section .resource-intro { padding-left:0; }
  .resource-section .resource-intro::before {
    position:relative;
    display:block;
    width:100%;
    height:200px;
    margin-bottom:20px;
    background-size:contain;
    background-position:left center;
  }
}

/* Blended sensory-play background in the homepage project card. */
.resource-section .resource-card {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  padding-right:36%;
}
.resource-section .resource-card::before {
  content:"";
  position:absolute;
  inset:0 0 0 auto;
  width:42%;
  background:url("../assets/play_to_connect_photo_from_screenshot.png") right center / cover no-repeat;
  mask-image:linear-gradient(to right,transparent,#000 55%);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 55%);
  pointer-events:none;
  z-index:0;
}
.resource-section .resource-card > * { position:relative; z-index:1; }
@media(max-width:480px) {
  .resource-section .resource-card { padding:26px; }
  .resource-section .resource-card::before {
    position:relative;
    display:block;
    width:100%;
    height:180px;
    margin-bottom:20px;
    background-size:contain;
    background-position:right center;
  }
}

/* Full-height layout for the Under the Pink Hat department. */
body.pink-hat-department {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.pink-hat-department > main { flex: 1 0 auto; }
.pink-hat-department > .site-header,
.pink-hat-department > .site-footer { flex-shrink: 0; }

/* Full-height layout for the Life & Work department. */
body.life-work-department {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.life-work-department > main { flex: 1 0 auto; }
.life-work-department > .site-header,
.life-work-department > .site-footer { flex-shrink: 0; }

/* Full-height layout for the Books & Resources department. */
body.books-resources-department {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}
.books-resources-department > main { flex: 1 0 auto; }
.books-resources-department > .site-header,
.books-resources-department > .site-footer { flex-shrink: 0; }

/* Under the Pink Hat hero artwork. */
.pink-hat-department .pink-hat-intro {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:40px;
}
.pink-hat-intro-copy { min-width:0; }
.pink-hat-department .pink-hat-intro h1 { font-size:clamp(2rem,3.5vw,3.4rem); }
.pink-hat-intro-image { display:block; width:100%; height:auto; border-radius:4px; }
@media(max-width:700px) {
  .pink-hat-department .pink-hat-intro { grid-template-columns:minmax(0,1fr); gap:24px; }
}

/* Blend the artwork into the hero and keep the desktop title together. */
.pink-hat-intro-image {
  mask-image:linear-gradient(to right,transparent,#000 28%);
  -webkit-mask-image:linear-gradient(to right,transparent,#000 58%);
}
@media(min-width:701px) {
  .pink-hat-department .pink-hat-intro { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); gap:32px; }
  .pink-hat-department .pink-hat-intro h1 { white-space:nowrap; }
}

/* Let the desktop artwork fade beneath the edge of the hero copy. */
@media(min-width:701px) {
  .pink-hat-department .pink-hat-intro {
    grid-template-columns:minmax(0,1fr);
    gap:0;
    isolation:isolate;
  }
  .pink-hat-department .pink-hat-intro-copy {
    grid-area:1 / 1;
    position:relative;
    z-index:1;
    width:65%;
  }
  .pink-hat-department .pink-hat-intro-copy p { max-width:440px; }
  .pink-hat-department .pink-hat-intro-image {
    grid-area:1 / 1;
    justify-self:end;
    width:68%;
    max-height:340px;
    object-fit:cover;
    position:relative;
    z-index:0;
    mask-image:linear-gradient(to right,transparent,rgba(0,0,0,.12) 22%,#000 62%);
    -webkit-mask-image:linear-gradient(to right,transparent,rgba(0,0,0,.12) 22%,#000 62%);
  }
}

/* Life & Work hero follows the Pink Hat artwork treatment. */
.life-work-department .life-work-intro {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:center;
  gap:0;
  isolation:isolate;
}
.life-work-intro-copy { grid-area:1 / 1; position:relative; z-index:1; width:65%; min-width:0; }
.life-work-department .life-work-intro h1 { font-size:clamp(2rem,3.5vw,3.4rem); }
.life-work-department .life-work-intro p { max-width:440px; }
.life-work-intro-image {
  grid-area:1 / 1;
  justify-self:end;
  display:block;
  width:68%;
  height:auto;
  max-height:340px;
  object-fit:cover;
  border-radius:4px;
  position:relative;
  z-index:0;
  mask-image:linear-gradient(to right,transparent,rgba(0,0,0,.12) 22%,#000 62%);
  -webkit-mask-image:linear-gradient(to right,transparent,rgba(0,0,0,.12) 22%,#000 62%);
}
@media(max-width:700px) {
  .life-work-department .life-work-intro { gap:24px; }
  .life-work-intro-copy { grid-area:auto; width:100%; }
  .life-work-intro-image { grid-area:auto; width:100%; max-height:none; }
}

/* Books & Resources hero follows the Pink Hat artwork treatment. */
.books-resources-department .books-resources-intro {
  display:grid;
  grid-template-columns:minmax(0,1fr);
  align-items:center;
  gap:0;
  isolation:isolate;
}
.books-resources-intro-copy { grid-area:1 / 1; position:relative; z-index:1; width:65%; min-width:0; }
.books-resources-department .books-resources-intro h1 { font-size:clamp(2rem,3.5vw,3.4rem); }
.books-resources-department .books-resources-intro p { max-width:440px; }
.books-resources-intro-image {
  grid-area:1 / 1;
  justify-self:end;
  display:block;
  width:68%;
  height:auto;
  max-height:340px;
  object-fit:cover;
  border-radius:4px;
  position:relative;
  z-index:0;
  mask-image:linear-gradient(to right,transparent,rgba(0,0,0,.12) 22%,#000 62%);
  -webkit-mask-image:linear-gradient(to right,transparent,rgba(0,0,0,.12) 22%,#000 62%);
}
@media(max-width:700px) {
  .books-resources-department .books-resources-intro { gap:24px; }
  .books-resources-intro-copy { grid-area:auto; width:100%; }
  .books-resources-intro-image { grid-area:auto; width:100%; max-height:none; }
}

/* Parent-page links wrap naturally and provide a generous touch target. */
.return-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  max-width: 100%;
  min-height: 44px;
  padding-block: .5rem;
  font-size: .95rem;
  line-height: 1.5;
  text-align: left;
}
.return-link > span { flex-shrink: 0; }
