@font-face {
  font-family: Fredoka;
  src: url('/assets/fonts/fredoka.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito Sans';
  src: url('/assets/fonts/nunito-sans.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
:root {
  --cream: #fff;
  --white: #fff;
  --ink: #302837;
  --muted: #5b5260;
  --brand: #f58220;
  --brand-hover: #e87117;
  --primary: #b2460b;
  --primary-dark: #873008;
  --primary-tint: #ffe1c6;
  --primary-bg: #fff4ea;
  --accent: #62456b;
  --accent-dark: #47304f;
  --accent-tint: #e7ddec;
  --line: #dfd6e0;
  --radius: 0.45rem;
  --focus: #683b91;
  color-scheme: light;
  font-size: 17px;
  scroll-padding-top: 1.5rem;
  /* Keep focused and linked content clear of the floating Accessibility button. */
  scroll-padding-bottom: 5.5rem;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  flex: none;
}
a {
  color: var(--primary);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 0.08em;
}
a:hover {
  color: var(--primary-dark);
}
button,
input,
select {
  font: inherit;
}
button,
summary,
input {
  accent-color: var(--primary);
}
button,
summary {
  cursor: pointer;
}
button:disabled {
  cursor: default;
}
button {
  color: inherit;
}
h1,
h2,
h3,
h4 {
  font-family: 'Nunito Sans', 'Segoe UI', Arial, sans-serif;
  line-height: 1.18;
  font-weight: 800;
  margin: 0 0 1rem;
  text-wrap: pretty;
}
h1 {
  font-size: 3.4rem;
  letter-spacing: 0;
}
h2 {
  font-size: 2.25rem;
  letter-spacing: 0;
}
h3 {
  font-size: 1.2rem;
}
p {
  margin: 0 0 1rem;
}
p:last-child {
  margin-bottom: 0;
}
ul,
ol {
  padding-left: 1.3rem;
}
li {
  padding-left: 0.2rem;
  margin: 0.4rem 0;
}
address {
  font-style: normal;
}
iframe {
  border: 0;
  width: 100%;
  max-width: 100%;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
main:focus {
  outline: none;
}
[hidden] {
  display: none !important;
}
.icon {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  vertical-align: middle;
}
.container {
  max-width: 1376px;
  padding-inline: clamp(1.2rem, 4.4vw, 4rem);
  margin-inline: auto;
}
.section {
  padding-block: 4.5rem;
}
.white-section {
  background: var(--white);
}
.soft-section {
  background: var(--primary-bg);
}
.narrow {
  max-width: 760px;
  margin-inline: auto;
}
.small {
  font-size: 0.86rem;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: 0;
  left: 1rem;
  z-index: 1000;
  transform: translateY(-140%);
  padding: 0.8rem 1rem;
  background: var(--white);
  color: var(--ink);
  border: 2px solid var(--focus);
  border-radius: 0 0 0.5rem 0.5rem;
}
.skip-link:focus {
  transform: translateY(0);
}
.review-banner {
  background: #f6f4f7;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}
.review-banner > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  padding-block: 0.5rem;
}
.review-banner a {
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 1.6rem;
  flex-shrink: 0;
}
.review-banner-body {
  margin-left: 0.5rem;
}
.review-banner .icon {
  width: 1rem;
  height: 1rem;
}
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.header-inner {
  max-width: 1440px;
  margin-inline: auto;
  padding: 0.9rem clamp(1.2rem, 3.2vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--primary);
  flex-shrink: 0;
}
.brand > span {
  font-family: Fredoka, sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}
.brand img {
  width: 3.5rem;
  height: 3.5rem;
  object-fit: contain;
  border-radius: 0.5rem;
  background: #fff;
}
/* Supervisor feedback, October 7: the logo alone, a little larger. */
.site-header .brand img {
  width: 4.25rem;
  height: 4.25rem;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2rem);
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 3px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  list-style: none;
}
.nav-link::-webkit-details-marker {
  display: none;
}
.main-nav > a[aria-current],
.nav-group-current > .nav-link {
  color: var(--primary);
  border-color: var(--brand);
}
.nav-link:hover {
  color: var(--primary);
}
.nav-caret {
  width: 1rem;
  height: 1rem;
  transition: transform 0.15s;
}
.nav-group[open] .nav-caret {
  transform: rotate(180deg);
}
.nav-group {
  position: relative;
}
/* Services lists every service, so its menu spans the header instead. */
.nav-group-wide {
  position: static;
}
.nav-list {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: -1rem;
  z-index: 30;
  width: max-content;
  min-width: 14rem;
  max-width: 22rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 12px 40px #1f2a2e22;
}
.nav-list-wide {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: min(46rem, calc(100vw - 2.4rem));
  max-width: none;
  columns: 2;
  column-gap: 0.5rem;
}
.nav-list li {
  break-inside: avoid;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 0.6rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
}
.nav-list a:hover {
  background: var(--primary-bg);
  color: var(--primary-dark);
}
.nav-list a[aria-current] {
  background: var(--primary-bg);
  color: var(--primary);
  box-shadow: inset 3px 0 0 var(--brand);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
/* Supervisor feedback, October 7: a language button with a short list, as on
   pupacenter.org. */
.language-menu {
  position: relative;
}
.mobile-language {
  display: none;
}
.language-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2.6rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 2rem;
  background: var(--white);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  list-style: none;
  white-space: nowrap;
}
.language-toggle::-webkit-details-marker {
  display: none;
}
.language-toggle:hover,
.language-menu[open] > .language-toggle {
  border-color: var(--accent);
  background: var(--accent-tint);
}
.language-toggle .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--accent);
}
.language-toggle .icon:last-child {
  width: 0.9rem;
  height: 0.9rem;
  color: var(--muted);
  transition: transform 0.15s;
}
.language-menu[open] > .language-toggle .icon:last-child {
  transform: rotate(180deg);
}
.language-list {
  position: absolute;
  top: calc(100% + 0.4rem);
  right: 0;
  z-index: 30;
  width: max-content;
  min-width: 11rem;
  margin: 0;
  padding: 0.4rem;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 12px 40px #1f2a2e22;
}
.language-list li {
  margin: 0;
  padding: 0;
}
.language-link {
  display: block;
  padding: 0.55rem 0.8rem;
  border-radius: 0.6rem;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.language-link:hover {
  background: var(--primary-bg);
  color: var(--primary-dark);
}
.language-link[aria-current] {
  background: var(--primary-bg);
  color: var(--primary);
  box-shadow: inset 3px 0 0 var(--brand);
}
.utility-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.6rem 0.8rem;
  min-height: 2.6rem;
  border-radius: 2rem;
  font-size: 0.78rem;
  font-weight: 800;
  list-style: none;
}
.utility-button::-webkit-details-marker {
  display: none;
}
.utility-button .icon {
  color: var(--accent);
  width: 1rem;
  height: 1rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3rem;
  padding: 0.75rem 1.3rem;
  border: 2px solid transparent;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.94rem;
  line-height: 1.45;
  text-align: center;
}
.button-primary {
  background: var(--brand);
  color: var(--ink);
  border-color: var(--primary);
}
.button-primary:hover {
  background: var(--brand-hover);
  color: var(--ink);
}
.button-secondary {
  background: var(--white);
  color: var(--accent);
  border-color: var(--accent);
}
.button-secondary:hover {
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}
.header-contact {
  min-height: 2.6rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.78rem;
}
.button-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
/* Supervisor feedback, October 7, following pupacenter.org: stand-alone links
   (with an arrow, in cards, menus, and the footer) show no underline until hovered;
   links inside sentences keep their underline, so they never rely on color alone.
   "Highlight links" in the Accessibility panel underlines every link. */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.94rem;
  font-weight: 800;
  min-height: 2.5rem;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
}
.menu-toggle {
  display: none;
}
.access-menu {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 40;
}
/* October 7: only the icon shows, as on pupacenter.org; the name stays for
   screen readers and as a tooltip. */
.access-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  padding: 0;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 6px 20px #2a17334d;
  font-size: 0.9rem;
  font-weight: 800;
  list-style: none;
}
.access-toggle::-webkit-details-marker {
  display: none;
}
.access-toggle .icon {
  width: 1.6rem;
  height: 1.6rem;
}
.access-toggle:hover,
.access-menu[open] > .access-toggle {
  background: var(--accent-dark);
}
.access-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.75rem);
  width: min(22rem, calc(100vw - 2rem));
  max-height: calc(100vh - 7rem);
  max-height: calc(100dvh - 7rem);
  overflow: auto;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.3rem;
  box-shadow: 0 12px 40px #1f2a2e22;
  font-size: 0.95rem;
  /* Keep controls roomy in both states so the spacing toggle does not reflow them. */
  line-height: 1.9;
  letter-spacing: 0.04em;
  word-spacing: 0.1em;
}
.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.panel-title {
  font-family: Fredoka, sans-serif;
  font-size: 1.3rem;
  line-height: 1.3;
  margin: 0;
}
.panel-close {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
}
.panel-close .icon {
  width: 1.2rem;
  height: 1.2rem;
}
.read-aloud {
  width: 100%;
  margin-bottom: 0.6rem;
  font-size: 0.83rem;
  padding: 0.6rem 0.8rem;
}
.read-aloud .icon {
  width: 1.1rem;
  height: 1.1rem;
}
.read-aloud[aria-pressed='true'] {
  background: var(--accent);
  color: var(--white);
}
.access-panel > .text-link {
  margin-top: 0.4rem;
}
.reading-now {
  background: var(--primary-bg);
  outline: 3px solid var(--brand);
  outline-offset: 4px;
  border-radius: 0.2rem;
}
.access-panel fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 1rem;
  min-width: 0;
}
.access-panel legend {
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.size-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.size-options label {
  border: 1px solid var(--line);
  padding: 0.5rem;
  border-radius: 0.5rem;
  display: flex;
  gap: 0.25rem;
  align-items: center;
  font-size: 0.8rem;
}
.preference-toggles label {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  min-height: 2.7rem;
  cursor: pointer;
}
.access-panel input {
  width: 1.05rem;
  height: 1.05rem;
  flex-shrink: 0;
}
.reset-button {
  font-size: 0.83rem;
  padding: 0.6rem 0.8rem;
  width: 100%;
}
.home-hero {
  padding-block: 4.7rem 5rem;
  background: var(--primary-bg);
  border-bottom: 0.5rem solid var(--brand);
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.5rem;
  align-items: center;
}
.eyebrow {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-copy h1 {
  margin-bottom: 1.5rem;
  max-width: 18ch;
  overflow-wrap: anywhere;
}
.primary-text {
  color: var(--primary);
}
.accent-text {
  color: var(--accent);
}
.hero-description {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}
.hero-copy .button-row {
  gap: 0.8rem;
}
.hero-copy .button {
  font-size: 0.9rem;
}
.hero-visual {
  min-width: 0;
  margin: 0;
}
.hero-image-frame {
  position: relative;
  padding: 0 1rem 1.4rem 0;
}
.hero-image-frame:before {
  content: '';
  position: absolute;
  inset: 1.5rem 0 0 1.5rem;
  border-radius: 7rem 1.25rem 1.25rem 1.25rem;
  background: var(--brand);
}
.hero-visual figcaption {
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}
.photo-placeholder {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem;
  min-height: 17rem;
  text-align: center;
  background: #f3f8f7;
  border: 2px dashed #83b7b2;
  border-radius: 7rem 1.25rem 1.25rem 1.25rem;
  color: var(--primary);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}
.photo-placeholder > .icon {
  width: 2rem;
  height: 2rem;
}
.photo-placeholder .pending {
  font-size: 0.76rem;
}
.hero-photo {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 7rem 1.25rem 1.25rem 1.25rem;
  background: var(--primary-tint);
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 1.8rem;
}
.support-card {
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  padding: 1.5rem;
}
.support-card h3 {
  color: var(--accent);
  font-size: 1.13rem;
}
.support-card p {
  font-size: 0.9rem;
  color: var(--muted);
}
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.section-heading p {
  max-width: 650px;
  color: var(--muted);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.3rem;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  min-height: 12rem;
}
.service-card:hover {
  color: var(--ink);
  border-color: var(--primary);
}
.service-card h2,
.service-card h3 {
  font-size: 1.1rem;
  margin: 1rem 0 0.65rem;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}
.service-read-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}
.service-card:hover .service-read-more {
  text-decoration: underline;
}
.service-card:nth-child(even) .icon-chip {
  background: var(--accent-tint);
  color: var(--accent);
}
.service-directory {
  padding-top: 2.5rem;
}
.icon-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.75rem;
  background: var(--primary-tint);
  color: var(--primary);
}
.card-arrow {
  margin-top: auto;
  align-self: flex-end;
  color: var(--primary);
}
.card-arrow > .icon {
  width: 1rem;
  height: 1rem;
}
.service-card-cta {
  background: var(--primary);
  color: var(--white);
  justify-content: center;
}
.service-card-cta:hover {
  background: var(--primary);
  color: var(--white);
  border-color: transparent;
}
.service-card-cta h2,
.service-card-cta h3 {
  margin-top: 0;
}
.service-card-cta p,
.service-card-cta a {
  color: var(--white);
}
.service-card-cta .text-link {
  font-size: 0.8rem;
}
.approach-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}
.approach-grid p {
  font-size: 0.9rem;
  color: var(--muted);
}
.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 1rem;
}
.values-section {
  background: var(--brand);
  color: var(--ink);
}
.values-section .section-heading {
  align-items: center;
}
.values-section a {
  color: inherit;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
}
.value-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: var(--white);
  color: var(--ink);
  border-top: 3px solid var(--accent);
  padding: 1.4rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 800;
}
.value-letter {
  font-family: Fredoka, sans-serif;
  font-size: 2.4rem;
  line-height: 1.1;
  color: var(--primary);
  margin-bottom: 0.4rem;
}
/* pupacenter.org comparison, item 6 (October 6): Temenos at a glance on Home. */
.glance-section {
  padding-block: 2.6rem 0;
}
.glance-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.glance-item {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.4rem;
  margin: 0;
  padding: 1.2rem 1.4rem;
  border-top: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--primary-bg);
}
.glance-value {
  font-family: Fredoka, sans-serif;
  font-size: 2.6rem;
  font-weight: 600;
  line-height: 1;
  color: var(--primary);
}
.glance-value-text {
  font-size: 1.55rem;
  line-height: 1.15;
}
.glance-label {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--ink);
}
@media (max-width: 900px) {
  .glance-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
/* On phones each figure sits beside its label, so long words never squeeze into a
   narrow tile, even with the largest text size. */
@media (max-width: 480px) {
  .glance-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.6rem;
  }
  .glance-item {
    flex-flow: row wrap;
    justify-content: flex-start;
    align-items: baseline;
    gap: 0.15rem 0.6rem;
    padding: 0.8rem 1rem;
  }
  .glance-value {
    font-size: 2rem;
  }
  .glance-value-text {
    font-size: 1.3rem;
  }
}
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  margin-block: 2rem 1.3rem;
}
.location-card {
  display: grid;
  grid-template-columns: 34% 1fr;
  gap: 1.2rem;
  padding: 1.3rem;
  background: var(--cream);
  border-radius: var(--radius);
  align-items: center;
}
.map-panel {
  min-width: 0;
  min-height: 11rem;
  border: 1.5px dashed #83b7b2;
  background: var(--primary-bg);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  gap: 0.8rem;
  color: var(--primary);
}
.map-panel .pending {
  font-size: 0.72rem;
}
.map-panel > span {
  color: var(--primary-dark);
}
.map-panel iframe {
  border-radius: 0.7rem;
  height: 19rem;
}
.map-panel:has(iframe) {
  padding: 0;
  border: 0;
}
/* Home cards: an embedded map sits above the address rather than in a narrow column. */
.location-card:has(iframe) {
  grid-template-columns: 1fr;
  align-content: start;
}
.location-card .map-panel iframe {
  height: 14rem;
}
.location-copy h3 {
  font-size: 1.15rem;
}
.location-copy address,
.location-copy p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.location-copy .text-link {
  font-size: 0.83rem;
}
.location-hours {
  margin-bottom: 0.6rem;
}
.hours-list {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0;
}
.hours-list li {
  position: relative;
  padding-left: 1rem;
  margin: 0.15rem 0;
}
.hours-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
}
/* Supervisor feedback, October 7: the Contact page follows pupacenter.org/contact/:
   ways to reach Temenos on the left, the two locations on the right. */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.contact-cards li {
  margin: 0;
  padding: 0;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  color: var(--ink);
  text-decoration: none;
}
.contact-card:hover {
  color: var(--ink);
  border-color: var(--primary);
}
.contact-card .icon-chip {
  flex: none;
}
.contact-card > .icon {
  color: var(--primary);
}
.contact-card-text {
  flex: 1;
  min-width: 0;
}
.contact-card-text strong {
  display: block;
  font-size: 1.08rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}
.contact-card-text > span {
  display: block;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.contact-card-whatsapp {
  background: var(--brand);
  border-color: var(--brand);
}
.contact-card-whatsapp:hover {
  background: var(--brand-hover);
  border-color: var(--primary);
}
.contact-card-whatsapp .icon-chip {
  background: var(--white);
  color: var(--primary-dark);
}
.contact-card-whatsapp .contact-card-text > span,
.contact-card-whatsapp > .icon {
  color: var(--ink);
}
.contact-start {
  padding: 1.5rem;
  background: var(--primary-bg);
  border-radius: 1.2rem;
}
.contact-start h2 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}
.contact-start p {
  font-size: 0.95rem;
}
.contact-start .text-link {
  margin-top: 0.5rem;
}
.contact-visit > h2 {
  margin-bottom: 0.8rem;
}
.contact-visit > .prose {
  color: var(--muted);
  margin-bottom: 0.5rem;
}
.visit-location {
  padding-top: 1.6rem;
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.visit-location h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.visit-location address,
.visit-location p {
  color: var(--muted);
  margin-bottom: 0.6rem;
}
.visit-location .map-panel {
  margin-top: 1rem;
}
.visit-location .map-panel iframe {
  height: 17rem;
}
.contact-social-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.contact-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 3rem;
  height: 3rem;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--white);
  color: var(--accent);
}
.contact-icon:hover {
  background: var(--accent-tint);
  color: var(--accent-dark);
  border-color: var(--accent-dark);
}
.site-footer {
  background: var(--ink);
  color: #e8edee;
  padding: 3.8rem 0 5.5rem;
  font-size: 0.86rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
}
.footer-brand {
  color: #fff;
  margin-bottom: 1rem;
}
.footer-brand > span {
  font-size: 1.3rem;
}
.footer-brand img {
  width: 3rem;
  height: 3rem;
}
.site-footer p {
  color: #c7d0d3;
}
.site-footer a {
  color: #e8edee;
}
.site-footer nav,
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
}
.site-footer nav a {
  padding-block: 0.25rem;
  min-height: 1.8rem;
  overflow-wrap: anywhere;
  text-decoration: none;
}
.site-footer nav a:hover {
  text-decoration: underline;
}
/* Supervisor feedback, October 7: the footer's "Let's Talk" row, as pupacenter.org's
   "Get in Touch": the approved sentence, a large WhatsApp button, round icons. */
.footer-talk {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  padding-block: 2rem;
  border-top: 1px solid #45535a;
}
.footer-talk-copy {
  flex: 1 1 22rem;
  min-width: 0;
}
.footer-talk h2 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.footer-talk p {
  max-width: 36rem;
  font-size: 0.95rem;
}
.footer-talk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
}
.site-footer .footer-whatsapp,
.site-footer .footer-whatsapp:hover {
  color: var(--ink);
}
.footer-whatsapp {
  min-height: 3.5rem;
  padding: 0.85rem 1.7rem;
  border-color: var(--brand);
  font-size: 1.02rem;
}
.footer-whatsapp .icon {
  width: 1.45rem;
  height: 1.45rem;
}
.site-footer .contact-icon {
  border-color: transparent;
  background: rgb(255 255 255 / 0.12);
  color: var(--white);
}
.site-footer .contact-icon:hover {
  border-color: transparent;
  background: rgb(255 255 255 / 0.24);
  color: var(--white);
}
.site-footer :focus-visible {
  outline-color: var(--white);
}
.copyright {
  border-top: 1px solid #45535a;
  padding-top: 1.5rem;
  font-size: 0.74rem;
}
.pending {
  display: inline;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 0.3rem;
  padding: 0.1rem 0.3rem;
  background: #fff0d7;
  color: #663b0e;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.9em;
  overflow-wrap: anywhere;
}
.site-footer .pending {
  background: #fff0d7;
  color: #663b0e;
}
.page-hero {
  padding-block: 3.5rem;
  background: var(--primary-bg);
  border-bottom: 0.5rem solid var(--brand);
}
.page-hero h1 {
  max-width: 950px;
}
.page-hero .eyebrow {
  margin-bottom: 1rem;
}
.page-intro {
  max-width: 830px;
  font-size: 1.12rem;
  color: var(--muted);
}
.page-hero .button-row {
  margin-top: 1.5rem;
}
.article-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 4rem;
  align-items: start;
}
.article-sidebar {
  position: sticky;
  top: 1.5rem;
  border-left: 3px solid var(--accent-tint);
  padding-left: 1.2rem;
}
.article-sidebar h2 {
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.83rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.article-sidebar ol {
  padding: 0;
  margin: 0;
  list-style: none;
}
.article-sidebar li {
  margin: 0;
  padding: 0;
}
.article-sidebar a {
  font-size: 0.84rem;
  display: block;
  padding: 0.4rem 0;
  text-decoration: none;
  color: var(--muted);
}
.article-sidebar a:hover {
  text-decoration: underline;
  color: var(--primary);
}
.article-body {
  max-width: 800px;
  min-width: 0;
}
.prose {
  overflow-wrap: anywhere;
}
.prose > p {
  margin-bottom: 1.15rem;
}
.prose > p:last-child {
  margin-bottom: 0;
}
.prose > h2:not(:first-child) {
  margin-top: 2.2rem;
}
.prose li {
  margin-bottom: 0.5rem;
}
.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9rem;
  margin: 1.5rem 0;
  line-height: 1.55;
  overflow-wrap: break-word;
  hyphens: manual;
}
.table-scroll {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.table-scroll table {
  margin: 0;
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose th,
.prose td {
  text-align: left;
  padding: 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  background: var(--primary-bg);
  font-weight: 900;
  border-bottom: 2px solid var(--accent);
}
.prose td:first-child {
  font-weight: 700;
}
.prose td {
  min-width: 0;
}
.stage-list {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.prose .stage-list > li {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  margin: 0;
  padding: 1.1rem 1.25rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stage-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
}
.stage-list p {
  margin: 0;
}
.prose .stage-title {
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0.3rem 0 0.3rem;
}
.prose code {
  white-space: normal;
  font: inherit;
}
.prose strong {
  font-weight: 800;
}
.article-section {
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 1.5rem;
}
.article-section:last-child {
  border: 0;
  margin: 0;
  padding: 0;
}
.article-section h2 {
  font-size: 1.8rem;
}
.article-section .pending {
  display: inline-block;
  margin-bottom: 1rem;
}
.review-callout {
  padding: 1.5rem;
  border: 1px dashed #be965d;
  background: #fff8eb;
  border-radius: 1rem;
  margin-top: 1.5rem;
}
.review-callout h2,
.review-callout h3 {
  font-size: 1.4rem;
}
.review-callout ul {
  margin-bottom: 0;
}
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.mission-card {
  background: var(--primary-bg);
  padding: 2.5rem;
  border-radius: 1.5rem;
}
.mission-card strong {
  color: var(--primary);
}
.optional-copy > summary {
  padding: 0.7rem;
  cursor: pointer;
}
.optional-copy > .prose {
  padding: 1rem 1rem 0;
  max-width: 800px;
}
/* Supervisor feedback, October 7: smaller, simpler cards like the team section on
   outgrow.id; the full profile opens in a pop-up. */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin-top: 0.5rem;
}
.team-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
  overflow: hidden;
}
.team-card:has(button.team-open:hover) {
  border-color: var(--primary);
}
.portrait {
  width: 100%;
  height: auto;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  background: var(--primary-bg);
}
.team-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem 1.1rem 0.9rem;
}
.team-copy h2,
.team-copy h3 {
  font-size: 1.05rem;
  line-height: 1.3;
  margin-bottom: 0.3rem;
  overflow-wrap: anywhere;
}
.team-role {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  margin-bottom: 0.3rem;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.45;
}
/* Without JavaScript the profile opens below the card, so show the whole line. */
.team-card:has(.team-profile[open]) .team-role {
  display: block;
}
.team-open {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  min-height: 2.6rem;
  padding: 0.4rem 0;
  border: 0;
  background: none;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: left;
  list-style: none;
}
.team-open::-webkit-details-marker {
  display: none;
}
.team-open:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.team-open .icon {
  width: 1rem;
  height: 1rem;
}
/* The whole card opens the profile, as on outgrow.id. */
button.team-open::after {
  content: '';
  position: absolute;
  inset: 0;
}
.team-profile {
  width: 100%;
  margin-top: auto;
}
.team-profile[open] > summary {
  margin-bottom: 0.6rem;
}
.team-profile-body {
  font-size: 0.92rem;
}
.team-copy .small {
  margin-top: 0.6rem;
}
.profile-section {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.profile-section h3,
.profile-section h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.4rem;
}
.profile-section .prose ul {
  margin: 0;
}
.profile-dialog {
  width: min(46rem, calc(100vw - 2rem));
  max-width: none;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  padding: 0;
  border: 0;
  border-radius: 1.4rem;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 24px 60px #1f2a2e40;
  overflow: hidden;
}
.profile-dialog[open] {
  display: flex;
}
.profile-dialog::backdrop {
  background: rgb(48 40 55 / 0.62);
}
html:has(.profile-dialog[open]) {
  overflow: hidden;
}
.profile-dialog-frame {
  --profile-pad: clamp(1.2rem, 4vw, 2.2rem);
  flex: 1;
  min-width: 0;
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0 var(--profile-pad) var(--profile-pad);
}
/* A solid bar holds the close button, so text scrolls under the whole bar
   instead of showing beside the button (October 8). */
.profile-dialog-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  justify-content: flex-end;
  margin: 0 calc(-1 * var(--profile-pad));
  padding: 0.75rem 0.75rem 0.5rem;
  background: var(--white);
}
.profile-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
}
.profile-close:hover {
  border-color: var(--accent);
  background: var(--accent-tint);
}
.profile-close .icon {
  width: 1.2rem;
  height: 1.2rem;
}
.profile-dialog-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
  margin-bottom: 1.4rem;
}
.profile-dialog-head .portrait {
  flex: none;
  width: clamp(7rem, 30%, 12rem);
  border-radius: 1rem;
}
.profile-dialog-head > div {
  flex: 1 1 14rem;
  min-width: 0;
}
.profile-dialog-head h2,
.profile-dialog-head h3 {
  font-size: 1.5rem;
  margin-bottom: 0.4rem;
  overflow-wrap: anywhere;
}
.profile-dialog .team-role {
  display: block;
  font-size: 0.95rem;
}
.profile-dialog .team-profile-body {
  font-size: 0.97rem;
}
.profile-quote {
  font-style: italic;
  margin: 1.25rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
  font-size: 0.95rem;
}
.profile-quote p {
  margin: 0;
}
.profile-field > strong,
.profile-field > span {
  display: block;
}
.profile-field > strong {
  margin-bottom: 0.55rem;
}
.disclosure-cue {
  display: block;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.3rem;
}
summary:hover .disclosure-cue {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
summary .when-open,
details[open] > summary .when-closed {
  display: none;
}
details[open] > summary .when-open {
  display: inline;
}
.careers-contact {
  margin-block: 1.5rem 0.8rem;
}
.expertise-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0.4rem 0 0;
  padding: 0;
  list-style: none;
}
.expertise-list li {
  margin: 0;
  background: var(--accent-tint);
  color: var(--accent-dark);
  border-radius: 2rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.4;
}
.explore-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.explore-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  overflow: hidden;
}
.explore-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 1.4rem 1.6rem 1.7rem;
}
.explore-copy h2,
.explore-copy .prose h2 {
  font-size: 1.6rem;
  margin: 0;
}
.explore-copy .prose p {
  margin-block: 0.5rem 0;
}
.explore-copy .button {
  margin-top: auto;
}
/* Ten portraits in two rows match the height of the facility photo beside it. */
.explore-faces {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2px;
  background: var(--white);
}
.explore-faces img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--primary-bg);
}
.explore-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 15 / 8;
  object-fit: cover;
}
.explore-card > .icon-chip {
  margin: 1.6rem 1.6rem 0;
}
.explore-careers > .icon-chip {
  background: var(--accent-tint);
  color: var(--accent);
}
.facility-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.facility-location {
  grid-column: 1 / -1;
}
.facility-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.facility-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1.2rem;
  background: var(--primary-tint);
}
.facility-photo-contain {
  object-fit: contain;
  background: var(--cream);
}
.facility-gallery figure {
  margin: 0;
}
.stories-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1.5rem;
}
.story-card {
  min-width: 0;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.story-card header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
  margin-bottom: 1.2rem;
}
.story-card h2 {
  font-size: 1.6rem;
  margin-bottom: 0.2rem;
}
.story-card header p {
  margin: 0;
}
.story-card blockquote {
  margin: 0;
}
.story-details summary {
  cursor: pointer;
  color: var(--primary-dark);
  font-weight: 800;
  padding: 0.5rem 0;
}
.story-details summary:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.story-details[open] summary {
  margin-bottom: 0.8rem;
}
.story-review {
  margin: 1.2rem 0 0;
}
@media (max-width: 699px) {
  .stories-grid {
    grid-template-columns: 1fr;
  }
}
.review-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.review-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}
.review-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.review-list p {
  font-size: 0.86rem;
  color: var(--muted);
}
.not-found {
  min-height: 45vh;
  max-width: 750px;
  margin: auto;
  text-align: center;
}
.not-found .button {
  margin-top: 1.5rem;
}
:root[data-text-size='large'] {
  font-size: 20px;
}
:root[data-text-size='larger'] {
  font-size: 23px;
}
:root[data-spacing='true'] body {
  line-height: 1.9;
  letter-spacing: 0.04em;
  word-spacing: 0.1em;
}
:root[data-spacing='true'] p:not(.panel-title) {
  margin-bottom: 1.6em;
}
:root[data-links='true'] a {
  text-decoration: underline !important;
  text-decoration-thickness: 2px;
}
:root[data-contrast='true'] {
  --cream: #fff;
  --ink: #000;
  --muted: #222;
  --brand: #ffcf98;
  --brand-hover: #ffc07b;
  --primary: #853500;
  --primary-dark: #682900;
  --accent: #40254b;
  --accent-dark: #2a1733;
  --accent-tint: #ded0e6;
  --line: #444;
  --primary-bg: #fff5eb;
  --primary-tint: #f6ddcb;
  --focus: #310091;
}
:root[data-contrast='true'] .site-footer,
:root[data-contrast='true'] .values-section {
  background: #000;
  color: #fff;
}
:root[data-contrast='true'] .site-footer p {
  color: #fff;
}
:root[data-contrast='true'] .site-footer .contact-icon {
  border-color: #fff;
}
.mobile-contact {
  display: none;
}
.mission-card strong {
  color: var(--primary-dark);
}
.model-figure {
  margin: 1.5rem 0 0.5rem;
}
.model-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.2rem;
  border: 1px solid var(--line);
  background: #fff;
}
.definition-list {
  margin: 1.5rem 0;
}
.definition-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  gap: 1.5rem;
  padding: 1rem;
  border-bottom: 1px solid var(--line);
}
.definition-list > div:nth-child(odd) {
  background: var(--cream);
}
.definition-list dt {
  font-weight: 800;
}
.definition-list dd {
  margin: 0;
}
.assessment-options {
  display: grid;
  gap: 1rem;
}
.assessment-option {
  display: block;
  padding: 1.4rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  text-decoration: none;
  color: var(--ink);
}
.assessment-option:hover {
  border-color: var(--primary);
  color: var(--ink);
}
.assessment-option h3 {
  color: var(--primary);
}
.assessment-option > p {
  font-size: 0.9rem;
}
.assessment-option > .icon {
  color: var(--primary);
}
.assessment-disclosure > summary {
  padding-block: 0.5rem;
  cursor: pointer;
}
.assessment-disclosure > summary h2 {
  display: inline;
  margin: 0;
}
.assessment-disclosure > div {
  padding-top: 1.4rem;
}
.program-components > details {
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}
.program-components summary {
  padding: 0.5rem 0;
  cursor: pointer;
  color: var(--primary);
}
.program-components summary h3 {
  display: inline;
}
.program-components details > div {
  padding-top: 1rem;
}
.program-areas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding: 0 !important;
  list-style: none;
}
.program-areas > li {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-bg);
  border-radius: 0.7rem;
  padding: 1rem;
  font-size: 0.8rem;
  font-weight: 900;
  text-align: center;
}
@media (max-width: 600px) {
  .definition-list > div {
    display: block;
    padding: 1rem;
  }
  .definition-list dt {
    margin-bottom: 0.5rem;
  }
  .program-areas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 700px) {
  .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
}
@media (min-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
@media (max-width: 359px) {
  .team-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 1190px) {
  .header-inner {
    gap: 0.8rem;
  }
  .main-nav {
    gap: 1rem;
  }
  .header-contact {
    display: none;
  }
  .hero-grid {
    gap: 2rem;
  }
  .hero-copy .button-row {
    align-items: flex-start;
  }
  .service-grid {
    gap: 1rem;
  }
  .service-card {
    padding: 1.25rem;
  }
  .approach-grid {
    gap: 1.5rem;
  }
  .location-card {
    grid-template-columns: 1fr;
  }
  .location-card .map-panel {
    min-height: 9rem;
  }
  .article-layout {
    gap: 2rem;
    grid-template-columns: 210px minmax(0, 1fr);
  }
}
@media (max-width: 900px) {
  h1 {
    font-size: 2.8rem;
  }
  h2 {
    font-size: 2rem;
  }
  .section {
    padding-block: 3rem;
  }
  .header-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.6rem 1rem;
  }
  .brand img {
    width: 3rem;
    height: 3rem;
  }
  .site-header .brand img {
    width: 3.5rem;
    height: 3.5rem;
  }
  /* The phone copy of the language button sits in the top row instead. */
  .header-tools {
    display: none;
  }
  .main-nav {
    grid-column: 1/-1;
    grid-row: 2;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-block: 0.25rem 0.5rem;
  }
  .main-nav > .nav-link,
  .nav-group > .nav-link {
    display: flex;
    justify-content: space-between;
    width: 100%;
    min-height: 2.9rem;
    padding: 0.6rem 0.25rem;
    border-bottom: 1px solid var(--line);
  }
  .main-nav > a[aria-current],
  .nav-group-current > .nav-link {
    border-bottom-color: var(--line);
    box-shadow: inset 4px 0 0 var(--brand);
    padding-left: 0.75rem;
  }
  .nav-list,
  .nav-list-wide {
    position: static;
    transform: none;
    width: auto;
    min-width: 0;
    max-width: none;
    columns: 1;
    padding: 0.35rem 0 0.6rem 0.75rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .js .menu-toggle {
    display: flex;
  }
  .js .main-nav[data-expanded='false'] {
    display: none;
  }
  .header-contact {
    display: none;
  }
  .home-hero {
    padding-block: 3rem;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .hero-copy h1 {
    max-width: 22ch;
    font-size: 2.8rem;
  }
  .hero-description {
    max-width: 750px;
  }
  .hero-visual {
    max-width: 700px;
    width: 100%;
    margin: auto;
  }
  .support-grid,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card {
    min-height: 14rem;
  }
  .approach-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }
  .approach-grid > div {
    grid-column: 1/-1;
    max-width: 750px;
  }
  .values-grid {
    gap: 0.6rem;
  }
  .value-tile {
    padding: 1rem 0.7rem;
    font-size: 0.75rem;
  }
  .section-heading {
    flex-direction: column;
  }
  .values-section .section-heading {
    align-items: flex-start;
  }
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .footer-talk {
    flex-direction: column;
    align-items: flex-start;
  }
  .footer-talk-copy {
    flex: initial;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .footer-contact {
    grid-column: 1/-1;
  }
  .article-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .article-sidebar {
    position: static;
    padding: 1.2rem;
    background: var(--cream);
    border-radius: 0.5rem;
  }
  .article-sidebar ol {
    columns: 2;
    column-gap: 1.5rem;
  }
  .article-sidebar li {
    break-inside: avoid;
  }
  .vision-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .service-overview {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }
  .service-overview-title {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
  }
  .service-overview-title h2 {
    margin: 0 0 1rem;
  }
}
@media (max-width: 600px) {
  .container {
    padding-inline: 1.2rem;
  }
  .header-inner {
    padding: 0.7rem 1.1rem;
  }
  .review-banner-body {
    display: none;
  }
  .review-banner {
    font-size: 0.72rem;
  }
  .review-banner > .container {
    padding-inline: 1rem;
  }
  .brand > span {
    font-size: 1.35rem;
  }
  .utility-button {
    font-size: 0.78rem;
    min-height: 2.6rem;
  }
  .section {
    padding-block: 2.7rem;
  }
  .hero-copy h1 {
    font-size: 2.35rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .home-hero .eyebrow {
    font-size: 0.68rem;
  }
  .home-hero .button-row {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-image-frame {
    padding: 0 0.6rem 0.8rem 0;
  }
  .hero-photo {
    border-radius: 1.5rem 1.5rem 4.5rem 1.5rem;
  }
  .hero-image-frame:before {
    inset: 1rem 0 0 1rem;
    border-radius: 1.5rem 1.5rem 4.5rem 1.5rem;
  }
  .support-grid {
    gap: 0.8rem;
  }
  .support-card {
    padding: 1.1rem;
  }
  .support-card h3 {
    font-size: 1rem;
  }
  .support-card p {
    font-size: 0.84rem;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    min-height: 0;
    padding: 1.4rem;
  }
  .service-card h3 {
    font-size: 1.2rem;
  }
  .service-card p {
    font-size: 0.94rem;
  }
  .service-card .card-arrow {
    margin-top: 0.3rem;
  }
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .approach-grid > div {
    grid-column: auto;
  }
  .approach-item {
    position: relative;
    padding-left: 3.3rem;
  }
  .approach-item > .step-number {
    position: absolute;
    left: 0;
    top: 0;
  }
  .values-grid {
    grid-template-columns: 1fr;
  }
  .value-tile {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
    padding: 1rem 1.2rem;
  }
  .value-letter {
    width: 2rem;
    flex-shrink: 0;
    margin: 0;
    font-size: 2.1rem;
  }
  .location-grid,
  .facility-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .facility-gallery {
    grid-template-columns: 1fr;
  }
  .location-card {
    padding: 1.2rem;
    gap: 1rem;
  }
  .location-card {
    grid-template-columns: 1fr;
  }
  .map-panel {
    min-height: 9rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-contact {
    grid-column: auto;
  }
  .page-hero h1 {
    font-size: 2.25rem;
    overflow-wrap: anywhere;
  }
  .page-intro {
    font-size: 1rem;
  }
  .article-sidebar ol {
    columns: 1;
  }
  .article-section h2 {
    font-size: 1.6rem;
  }
  .prose table {
    font-size: 0.84rem;
  }
  .prose th,
  .prose td {
    padding: 0.6rem 0.4rem;
  }
  .explore-grid {
    grid-template-columns: 1fr;
  }
  .team-copy {
    padding: 0.85rem 0.9rem 0.7rem;
  }
  .mission-card {
    padding: 1.5rem;
  }
  .review-columns {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .contact-card {
    padding: 1rem;
  }
  .contact-card > .icon {
    display: none;
  }
  .contact-start {
    padding: 1.2rem;
  }
  .service-overview-title {
    gap: 0.8rem;
  }
  .service-overview-title .icon-chip {
    flex-shrink: 0;
  }
  .service-overview-title h2 {
    font-size: 1.5rem;
  }
  .access-panel {
    right: 0;
  }
  .pending {
    overflow-wrap: anywhere;
  }
}
@media (max-width: 380px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
  .review-banner > .container {
    flex-wrap: wrap;
  }
  .hero-copy h1 {
    font-size: 2.15rem;
  }
  .article-section h2 {
    font-size: 1.45rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
:root[data-motion='true'] *,
:root[data-motion='true'] *::before,
:root[data-motion='true'] *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: minmax(0, 1fr) auto auto auto;
  }
  .mobile-language {
    display: block;
    grid-column: 2;
    grid-row: 1;
    position: static;
  }
  /* On phones the list hangs below the header at its right edge, so it never runs
     off the left side of a narrow screen. */
  .mobile-language .language-list {
    top: calc(100% - 0.4rem);
    right: 1rem;
    max-width: calc(100vw - 2rem);
  }
  .mobile-contact {
    display: inline-flex;
    grid-column: 3;
    grid-row: 1;
    width: 2.6rem;
    min-height: 2.6rem;
    padding: 0.5rem;
  }
  .menu-toggle {
    grid-column: 4;
    grid-row: 1;
  }
  .menu-toggle > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .menu-toggle {
    width: 2.6rem;
    padding: 0.5rem;
  }
  .brand {
    min-width: 0;
  }
  .site-header .brand {
    flex-wrap: wrap;
    row-gap: 0;
  }
}
/* Narrow phones with larger text: the language button takes its own row. */
@media (max-width: 420px) {
  :root[data-text-size='large'] .mobile-language,
  :root[data-text-size='larger'] .mobile-language {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }
  :root[data-text-size='large'] .main-nav,
  :root[data-text-size='larger'] .main-nav {
    grid-row: 3;
  }
}
@page {
  margin: 15mm;
}
@media print {
  .access-menu,
  .header-tools,
  .menu-toggle,
  .mobile-contact,
  .article-sidebar,
  .service-index,
  .service-overview-actions,
  .site-footer,
  .button-row,
  .language-menu,
  .team-open,
  .team-profile > summary,
  .profile-dialog,
  .skip-link {
    display: none !important;
  }
  .review-banner {
    display: block;
    color: #000;
    background: #fff;
    border: 1px solid #777;
    padding: 0.5rem;
    margin-bottom: 1rem;
    break-inside: avoid;
  }
  .review-banner-body {
    display: inline;
  }
  .review-banner a {
    display: none;
  }
  /* Team profiles open in a pop-up on screen; on paper they print under each card. */
  details.team-profile[hidden] {
    display: block !important;
  }
  /* Include collapsed copy in print, including when JavaScript is unavailable. */
  main details::details-content {
    content-visibility: visible;
    display: block;
  }
  main summary {
    display: block;
    list-style: none;
  }
  .site-header {
    position: static;
  }
  .main-nav {
    display: none !important;
  }
  .section {
    padding-block: 1.5rem;
  }
  .container {
    padding: 0;
  }
  .hero-grid,
  .article-layout,
  .vision-grid,
  .team-grid {
    display: block;
  }
  .team-card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }
  .portrait {
    max-height: 15rem;
    object-fit: contain;
  }
  .facility-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .facility-photo,
  .hero-photo {
    max-height: 12rem;
    min-height: 0;
  }
  .article-section {
    break-inside: auto;
  }
  h1,
  h2,
  h3,
  summary {
    break-after: avoid-page;
  }
  body {
    font-size: 11pt;
    background: #fff;
  }
  .pending {
    border: 1px solid #663b0e;
  }
}
/* Short screens (landscape phones, high zoom): the open panel uses the full height
   beside its button, so the button stays visible and a second tap still closes it. */
@media (max-height: 500px) {
  .access-panel {
    right: calc(100% + 0.6rem);
    bottom: 0;
    width: min(22rem, calc(100vw - 6rem));
    max-height: calc(100vh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
  }
}
