/* B05: annotated editorial adjustments, scoped to current inner pages. */
body.fluid-pages .brand-hero-about .about-door-art {
  width: 100%; max-width: 460px; margin: 0; transform: none;
}
body.fluid-pages .about-door-art img { display: block; width: 100%; height: auto; }
body.fluid-pages .name-story .prose { display: block; max-width: 860px; margin-inline: auto; }
body.fluid-pages .name-story .prose > .eyebrow { display: block; margin-bottom: 24px; }
body.fluid-pages .identity-mark { width: min(100%, 520px); margin: 0 0 32px; }
body.fluid-pages .identity-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
body.fluid-pages .name-story .prose h3 { margin: 0 0 30px; font-size: clamp(30px, 3.8vw, 50px); }
body.fluid-pages .name-story .prose p { max-width: 42em; }

/* Two paired thoughts, four phrases with one consistent measure. */
body.fluid-pages #teacher-roles-title { display: grid; gap: 12px; font-size: clamp(24px, 3.4vw, 44px); line-height: 1.55; letter-spacing: -.035em; }
body.fluid-pages #teacher-roles-title .teaching-pair { display: grid; grid-template-columns: 5.2em 4.2em; gap: 1em; align-items: baseline; }
body.fluid-pages #teacher-roles-title .teaching-pair > span { display: block; font-size: inherit; font-weight: 300; white-space: nowrap; }
/* Four classroom ideas share a baseline, heading scale and reading width. */
body.fluid-pages .philosophy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 68px 8%; }
body.fluid-pages .philosophy .content-grid,
body.fluid-pages .philosophy .belief-list { display: contents; }
body.fluid-pages .philosophy .belief { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 20px; margin: 0; }
body.fluid-pages .philosophy .belief-number { margin: 9px 0 0; }
body.fluid-pages .philosophy .belief h3 { font-size: clamp(25px, 2.6vw, 33px); margin: 0 0 22px; line-height: 1.5; }
body.fluid-pages .philosophy .belief p { font-size: 16px; line-height: 2; }

/* Values have two levels: a clear name, then a single quiet reading voice. */
body.fluid-pages .values-section .value-list { gap: 60px; }
body.fluid-pages .values-section .value-list article { grid-template-columns: 24px minmax(0, .7fr) minmax(0, 1.3fr); column-gap: 5%; padding: 16px 0; }
body.fluid-pages .values-section .value-number { margin-top: 10px; font-size: 12px; }
body.fluid-pages .values-section .value-list article > h3 { font-size: clamp(27px, 3vw, 38px); line-height: 1.5; font-weight: 300; letter-spacing: .02em; margin: 0; }
body.fluid-pages .values-section .value-list article > div { padding-top: 4px; }
body.fluid-pages .values-section .value-list p,
body.fluid-pages .values-section .value-list p.value-lead { font-size: 17px; font-weight: 400; line-height: 1.95; color: var(--fluid-text); margin: 0; }
body.fluid-pages .values-section .value-list p.value-lead { color: var(--fluid-ink); margin-bottom: 10px; }

/* Contact information is selectable text, with no simulated social buttons. */
body.fluid-pages .contact-information { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 10%; margin-bottom: 100px; }
body.fluid-pages .contact-information h2 { font-size: clamp(28px, 3.8vw, 44px); line-height: 1.5; margin: 0; }
body.fluid-pages .contact-information dl { display: grid; gap: 28px; margin: 0; }
body.fluid-pages .contact-information dl > div { display: grid; grid-template-columns: 5em minmax(0, 1fr); column-gap: 24px; align-items: baseline; }
body.fluid-pages .contact-information dt { color: var(--fluid-muted); font-size: 14px; line-height: 1.8; }
body.fluid-pages .contact-information dd { margin: 0; font-size: clamp(19px, 2vw, 25px); line-height: 1.7; overflow-wrap: anywhere; color: var(--fluid-ink); user-select: text; }
body.fluid-pages .cooperation-reading { max-width: 840px; margin: 0 0 0 auto; }
body.fluid-pages .cooperation-reading > .eyebrow { color: var(--fluid-pink); font-size: 12px; }
body.fluid-pages .cooperation-reading h2 { font-size: clamp(30px, 4vw, 48px); margin: 22px 0 28px; }
body.fluid-pages .cooperation-reading > p { font-size: 17px; line-height: 2; color: var(--fluid-text); margin: 0 0 18px; max-width: 39em; }
body.fluid-pages .cooperation-links { display: flex; flex-wrap: wrap; gap: 16px 34px; margin-top: 32px; }
body.fluid-pages .cooperation-links a { font-size: 15px; min-height: 44px; padding: 10px 0; text-decoration: underline; text-decoration-color: #a5a092; text-underline-offset: 7px; }

/* The two project groups exchange opposite corners. The whole card morphs. */
body.fluid-pages .plus-page #practice .plus-project-entry { border-radius: 5px 42px 5px 42px; }
body.fluid-pages .plus-page #collaboration .plus-project-entry { border-radius: 42px 5px 42px 5px; }
body.fluid-pages .plus-page .plus-project-entry { transition: border-radius 700ms var(--fluid-ease), background 400ms; }
body.fluid-pages .plus-page .plus-project-entry::before { border-radius: inherit; transition: opacity 400ms; }
body.fluid-pages .plus-page #collaboration .plus-open-mark { color: #969287; background: transparent; transition: color 300ms, transform 600ms; }
body.fluid-pages .plus-page #practice .plus-project-entry:has(:focus-visible) { border-radius: 42px 5px 42px 5px; }
body.fluid-pages .plus-page #collaboration .plus-project-entry:has(:focus-visible) { border-radius: 5px 42px 5px 42px; }
body.fluid-pages .plus-page #collaboration .plus-project-entry:has(:focus-visible) .plus-open-mark { color: var(--fluid-ink); }
@media (hover: hover) {
  body.fluid-pages .plus-page #practice .plus-project-entry:hover { border-radius: 42px 5px 42px 5px; }
  body.fluid-pages .plus-page #collaboration .plus-project-entry:hover { border-radius: 5px 42px 5px 42px; }
  body.fluid-pages .plus-page .plus-project-entry:hover::before { border-radius: inherit; }
  body.fluid-pages .plus-page #collaboration .plus-project-entry:hover .plus-open-mark { color: var(--fluid-ink); }
}

/* B06: six image spines open smoothly; reading stays below the pictures. */
body.fluid-pages .material-choices { display: flex; gap: 8px; height: clamp(330px, 38vw, 470px); margin: 0 0 30px; }
body.fluid-pages .material-choice { position: relative; isolation: isolate; flex: 1 1 0%; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 28px 5px 28px 5px; background: var(--fluid-paper); color: var(--fluid-ink); font: inherit; cursor: pointer; transition: flex-grow 720ms cubic-bezier(.22,.75,.2,1), border-radius 720ms cubic-bezier(.22,.75,.2,1); }
body.fluid-pages .material-choice:nth-child(even) { border-radius: 5px 28px 5px 28px; }
body.fluid-pages .material-choice[aria-selected="true"] { flex-grow: 3; border-radius: 5px 40px 5px 24px; }
body.fluid-pages .material-choice img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
body.fluid-pages .material-choice::after { content: ""; position: absolute; inset: 30% 0 0; background: linear-gradient(transparent, #f4f1e8e8 78%, #f4f1e8f5); }
body.fluid-pages .material-choice span { position: absolute; z-index: 1; left: 50%; bottom: 24px; transform: translateX(-50%); writing-mode: vertical-rl; text-orientation: upright; white-space: nowrap; font-size: 18px; font-weight: 300; line-height: 1.2; letter-spacing: .08em; }
body.fluid-pages .material-choice:focus-visible { outline: 2px solid var(--fluid-pink); outline-offset: 3px; }
body.fluid-pages .material-views { min-height: 115px; }
body.fluid-pages .material-view { margin-bottom: 28px; }
body.fluid-pages .material-library.is-ready .material-view { margin: 0; }
body.fluid-pages .material-view[hidden] { display: none; }
body.fluid-pages .material-view-copy { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 6%; align-items: baseline; }
body.fluid-pages .material-view h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 300; line-height: 1.5; margin: 0; }
body.fluid-pages .material-view p { font-size: 16px; color: var(--fluid-text); line-height: 1.95; margin: 0; max-width: 38em; }
body.fluid-pages .space-materials .materials-support { margin-top: 24px; }
body.fluid-pages .children-space-gallery .desk-stack { aspect-ratio: 4 / 3; }
body.fluid-pages .children-space-gallery .stack-frame img { object-fit: cover; padding: 0; }
body.fluid-pages .children-space-gallery .space-gallery-note { margin-top: 28px; }
body.fluid-pages .space-photo-pending { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: #e9e6dc; }
body.fluid-pages .space-photo-pending > span { font-size: clamp(22px, 2.7vw, 34px); font-weight: 300; color: var(--fluid-muted); }
body.fluid-pages .space-photo-pending > small { font-size: 12px; color: var(--fluid-muted); }

/* Lose the rectangular image backdrop while keeping its grounded shadows. */
body.fluid-pages .street-corner { background: var(--fluid-paper); }
body.fluid-pages .street-corner img { mix-blend-mode: multiply; mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 86%, transparent); mask-composite: intersect; -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 86%, transparent); -webkit-mask-composite: source-in; }
body.fluid-pages .visit-address-row { display: flex; flex-wrap: wrap; align-items: center; column-gap: 20px; row-gap: 2px; }
body.fluid-pages .visit-address-row p { margin: 0; }
body.fluid-pages .arrival-map-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; font-size: 13px; color: var(--fluid-ink); text-decoration: none; white-space: nowrap; }
body.fluid-pages .arrival-map-link:hover { color: var(--fluid-pink); }
body.fluid-pages .arrival-map-link svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
body.fluid-pages .web-footer nav { flex-wrap: wrap; gap: 18px 28px; }

@media (max-width: 700px) {
  body.fluid-pages .philosophy { grid-template-columns: 1fr; gap: 46px; }
  body.fluid-pages .philosophy .belief { grid-template-columns: 22px minmax(0, 1fr); gap: 18px; }
  body.fluid-pages .philosophy .belief h3 { font-size: 27px; margin-bottom: 19px; }
  body.fluid-pages .brand-hero-about .about-door-art { width: 76%; max-width: 330px; margin: 0 0 0 auto; }
  body.fluid-pages .identity-mark { margin-bottom: 26px; max-width: 420px; }
  body.fluid-pages .name-story .prose h3 { font-size: 30px; margin-bottom: 25px; }
  body.fluid-pages #teacher-roles-title { font-size: clamp(23px, 5.4vw, 32px); gap: 14px; margin-bottom: 36px; }
  body.fluid-pages #teacher-roles-title .teaching-pair { gap: .65em; }
  body.fluid-pages .values-section .value-list { gap: 42px; }
  body.fluid-pages .values-section .value-list article { grid-template-columns: 24px minmax(0, 1fr); gap: 12px 16px; padding: 0; }
  body.fluid-pages .values-section .value-list article > h3 { font-size: 29px; }
  body.fluid-pages .values-section .value-list article > div { grid-column: 2; padding: 0; }
  body.fluid-pages .values-section .value-list p,
  body.fluid-pages .values-section .value-list p.value-lead { font-size: 16px; line-height: 1.95; }
  body.fluid-pages .contact-information { grid-template-columns: 1fr; gap: 28px; margin-bottom: 70px; }
  body.fluid-pages .contact-information dl { gap: 23px; }
  body.fluid-pages .contact-information dl > div { grid-template-columns: 4em minmax(0, 1fr); column-gap: 22px; }
  body.fluid-pages .contact-information dd { font-size: 20px; }
  body.fluid-pages .cooperation-reading > p { font-size: 16px; }
  body.fluid-pages .cooperation-links { display: grid; gap: 12px; justify-content: start; }
  body.fluid-pages .material-choices { gap: 4px; height: 330px; margin-bottom: 25px; }
  body.fluid-pages .material-choice { border-radius: 20px 3px 20px 3px; }
  body.fluid-pages .material-choice:nth-child(even) { border-radius: 3px 20px 3px 20px; }
  body.fluid-pages .material-choice[aria-selected="true"] { border-radius: 3px 28px 3px 18px; }
  body.fluid-pages .material-choice span { font-size: 15px; bottom: 19px; }
  body.fluid-pages .material-views { min-height: 174px; }
  body.fluid-pages .material-view-copy { grid-template-columns: 1fr; gap: 14px; }
  body.fluid-pages .material-view h3 { font-size: 27px; }
  body.fluid-pages .material-view p { font-size: 15px; }
  body.fluid-pages .web-footer nav { gap: 16px 24px; }
}
@media (max-width: 360px) {
  body.fluid-pages .material-choices { height: 300px; gap: 3px; }
  body.fluid-pages .material-choice span { font-size: 14px; }
  body.fluid-pages .material-views { min-height: 215px; }
  body.fluid-pages #teacher-roles-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  body.fluid-pages .plus-page .plus-project-entry,
  body.fluid-pages .plus-page .plus-project-entry::before,
  body.fluid-pages .material-choice { transition: none; }
}
