:root {
  --navy: #102e48;
  --navy-dark: #09243b;
  --teal: #226b61;
  --ink: #142e44;
  --muted: #4d6473;
  --line: #d9e4e7;
  --wash: #f0f6f3;
  --paper-warm: #f8faf7;
  --logo-red: #a6303b;
  --wordmark-red: #8b2732;
  --shadow: 0 8px 24px #18394a0c;
  --wrap: 1240px;
}

body { line-height: 1.7; }
main { background: #fff; display: flow-root; }
.preview-strip {
  background: #edf4f4;
  color: #385968;
  font-size: .75rem;
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 83px; gap: 22px; }
.brand { gap: 11px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  background: #fbf0f0;
  border: 1px solid #ead2d4;
  border-radius: 10px;
  color: var(--logo-red);
  font-size: 1.46rem;
  letter-spacing: -.13em;
  padding-right: .1em;
}
.brand strong { color: var(--wordmark-red); font-size: 1.64rem; letter-spacing: -.07em; }
.brand strong span {
  font-size: 1.34rem;
  font-weight: 750;
  letter-spacing: -.064em;
  margin-left: 3px;
}
#site-nav { gap: clamp(14px, 1.6vw, 25px); }
.nav-parent { font-size: 1.12rem; font-weight: 720; }
.header-call { border-radius: 9px; font-size: .95rem; background: var(--navy); }
.submenu { top: 65px; }
.submenu a { font-size: .91rem; }
.section-visual {
  height: clamp(245px, 23.4vw, 337px);
  overflow: hidden;
  background: #edf0eb;
}
.section-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}
.section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  padding-top: 44px;
}
.section-layout.with-section-nav { grid-template-columns: 216px minmax(0, 1fr); gap: clamp(25px, 4.1vw, 60px); }
.section-nav {
  display: grid;
  border-block: 1px solid var(--line);
}
.section-nav a {
  display: flex;
  align-items: center;
  padding: 10px 15px;
  min-height: 46px;
  color: var(--navy);
  font-size: .98rem;
  word-break: keep-all;
}
.section-nav a + a { border-top: 1px solid var(--line); }
.section-nav a:first-child { font-weight: 730; }
.section-nav a:hover { background: var(--paper-warm); }
.section-nav a[aria-current="page"] {
  background: var(--wash);
  box-shadow: inset 3px 0 var(--teal);
  color: #1b5b52;
  font-weight: 740;
}
.section-nav a:focus-visible { outline-offset: -3px; }
.section-content { min-width: 0; }
.section-location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 8px;
  color: var(--muted);
  font-size: .875rem;
  margin-bottom: 10px;
}
.section-location a { text-decoration: underline; text-underline-offset: 3px; }
.section-location [aria-current="page"] { color: var(--ink); }
.pagehead { padding: 24px 0 22px; border-bottom: 1px solid var(--line); }
.pagehead h1 {
  color: var(--navy);
  font-size: clamp(34px, 2.95vw, 42px);
  line-height: 1.31;
  font-weight: 720;
  margin: 0;
}
.pagehead h1 + p { margin-top: 9px; color: var(--muted); font-size: 1rem; }
.pagehead .eyebrow { letter-spacing: .01em; font-size: .875rem; margin-bottom: 4px; }
.section-content > .pagehead { padding-top: 0; background: #fff; }
.section-content > .pagehead > .wrap, .section-content > .section.wrap { width: 100%; }
.section-content > .section { padding-top: 30px; padding-bottom: 62px; line-height: 1.7; }
.section-content > .section.narrow { margin-inline: 0; }
.section-content > .section h2 { font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.35; }
.section-content .intro-grid { gap: clamp(17px, 3vw, 38px); }
.section-content .intro-grid p, .section-content .info-card p, .section-content .steps p { font-size: 1rem; line-height: 1.7; }
.section-content .steps li { gap: 17px; }
.section-content .steps h3 { font-size: 1.125rem; }
.section-content .contact-data dt { font-size: .93rem; }
.section-content .contact-data dd { font-size: 1rem; }
.intro-photo { border-radius: 8px; }
.institution-services, .service-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.institution-services > .institution-group:only-child { grid-column: 1 / -1; }
.institution-group { border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.institution-overview > .institution-group { margin-top: 14px; }
.institution-group h2 { margin: 0 0 12px; }
.institution-group .facts { grid-template-columns: minmax(100px, max-content) minmax(0, 1fr); margin: 0; }
.institution-group .facts dt, .institution-group .facts dd { padding: 10px 8px; overflow-wrap: anywhere; }
.service-overview { display: grid; grid-template-columns: minmax(0, 1.24fr) minmax(0, 1fr); gap: 14px; }
.service-overview .intro-photo { height: clamp(245px, 24vw, 320px); }
.service-overview .intro-photo img { display: block; }
.service-summary { display: grid; align-content: center; padding: clamp(16px, 3vw, 31px); background: #f3f6f3; border-radius: 8px; }
.service-summary p { margin: 0; font-size: 1.06rem; line-height: 1.75; }
.service-details { margin-top: 25px; gap: 6px 22px; }
.service-details .info-card { padding: 17px 0 12px; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.service-details h2 { margin: 0 0 5px; }
.service-details .info-card p { margin: 0; }
.service-details .text-link { min-height: 44px; }
.service-routine { margin-top: 18px; padding: 20px; border-radius: 10px; background: #f3f6f3; }
.service-routine h2 { margin: 0 0 6px; }
.routine-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; }
.section-content .routine-steps li { gap: 7px; padding: 11px 0; border-top: 1px solid var(--line); border-bottom: 0; }
.routine-steps li > span { min-width: 30px; font-size: 1.35rem; }
.service-guide .related-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; margin-top: 20px; }
.service-guide .related-links a { gap: 8px; min-height: 48px; padding: 9px; }
.fee-lead { font-size: 1.07rem; line-height: 1.75; }
.fee-details { margin: 20px 0 23px; border-top: 2px solid var(--navy); }
.fee-details > div { display: grid; grid-template-columns: minmax(96px, 23%) minmax(0, 1fr); border-bottom: 1px solid var(--line); }
.fee-details dt, .fee-details dd { padding: 11px 13px; margin: 0; }
.fee-details dt { font-weight: 700; background: #f3f6f3; }
.fee-sources { margin-top: 24px; }
.fee-sources h2, .fee-sources p { margin-bottom: 7px; }
.fee-sources ul { padding-left: 1.25em; }
.fee-sources li + li { margin-top: 9px; }
.eyebrow { color: var(--teal); }
.text-link { border-bottom-color: #9aafba; }
.btn { background: var(--navy); border-color: var(--navy); }
footer { background: var(--navy-dark); padding: 23px 0; }
.footer-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 17px;
  border-bottom: 1px solid #355367;
  margin-bottom: 15px;
}
.community-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-height: 44px;
  padding: 6px 13px;
  border: 1px solid #68869a;
  border-radius: 8px;
  color: #f4f9fc;
  font-size: .9rem;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.community-link:hover { background: #23475e; }
.community-link:focus-visible { outline: 2px solid #c2f0dc; outline-offset: 2px; }
.footer-compact { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; }
.footer-compact .footer-brand { font-size: .95rem; margin-bottom: 2px; }
.footer-compact p, .footer-utility { font-size: .83rem; color: #cfdee4; margin: 0; }
.footer-utility { display: flex; flex-wrap: wrap; gap: 8px 17px; }
.footer-utility a { display: inline-flex; align-items: center; min-height: 38px; }

.home-hero {
  display: grid;
  grid-template-areas: "hero";
  min-height: clamp(510px, 49vw, 650px);
  background: var(--navy);
}
.hero-copy {
  grid-area: hero;
  align-self: end;
  position: relative;
  z-index: 2;
  margin-block: 0;
  padding-block: 30px 53px;
  pointer-events: none;
}
.hero-copy h1 {
  color: #fff;
  font-size: clamp(36px, 3.45vw, 48px);
  font-weight: 600;
  line-height: 1.31;
  letter-spacing: -.051em;
  word-break: keep-all;
  margin: 0 0 20px;
  text-shadow: 0 2px 10px #061826b3;
}
.hero-copy h1 strong { display: block; color: #f07a24; font-weight: 760; overflow-wrap: anywhere; }
.hero-copy a { pointer-events: auto; }
.home-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.home-button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .93rem;
  font-weight: 730;
  white-space: nowrap;
}
.home-button svg { width: 17px; height: 17px; }
.home-button.light { background: white; color: var(--navy); }
.home-button.light:hover { background: #e4f4f1; }
.home-button.outline { border-color: #a5c3c8; color: white; }
.home-button.outline:hover { background: #ffffff18; }
.home-button.solid { background: var(--navy); color: white; }
.home-button.solid:hover { background: #234b65; }
.hero-gallery { grid-area: hero; min-width: 0; position: relative; background: #173b48; }
.hero-gallery::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 78% 63% at 11% 100%, #08213aeb, transparent 98%),
              linear-gradient(to top, #092135e8, #0921357a 22%, transparent 54%);
}
.hero-frames, .hero-frame { position: absolute; inset: 0; margin: 0; }
.hero-frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-frame-1 img { object-position: 52% 25%; }
.hero-frame-2 img { object-position: 56% 43%; }
.hero-frame-3 img { object-position: 46% 47%; }
.hero-frame-4 img { object-position: 49% 44%; }
.hero-frame-5 img { object-position: 63% 47%; }
.hero-frame:not([hidden]) { animation: photo-in .34s ease-out; }
@keyframes photo-in { from { opacity: .45; } to { opacity: 1; } }
.hero-image-note {
  position: absolute;
  top: 15px;
  left: 15px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 5px;
  background: #09243be8;
  color: white;
  font-size: .73rem;
}
.hero-controls {
  position: absolute;
  inset: auto max(18px, calc((100% - var(--wrap)) / 2)) 23px auto;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 4px;
  border-radius: 10px;
  background: #09243bf5;
  color: white;
  box-shadow: 0 2px 16px #0003;
}
.hero-controls span { padding: 0 7px; font-size: .87rem; font-variant-numeric: tabular-nums; }
.hero-controls button {
  display: grid;
  min-width: 44px;
  min-height: 44px;
  place-items: center;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: white;
  font-size: .85rem;
  font-weight: 650;
}
.hero-controls button:hover { background: #ffffff26; }
.hero-controls button:focus-visible, .home-hero a:focus-visible, .visit-contact a:focus-visible {
  outline: 2px solid #b2efde;
  outline-offset: 2px;
}
.hero-controls svg { width: 20px; height: 20px; }
[data-hero-previous] svg { transform: rotate(180deg); }

.home-news { padding: 55px 0 52px; border-block: 1px solid var(--line); }
.home-section { padding: 58px 0; }
.home-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 23px;
}
.home-heading h2, .visit-contact h2 {
  font-size: clamp(1.75rem, 2.8vw, 2.5rem);
  line-height: 1.3;
  letter-spacing: -.05em;
  margin: 0;
}
.news-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 28px;
}
.news-shortcuts a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 51px;
  padding: 9px 14px;
  border: 1px solid #cbd9d8;
  border-radius: 5px;
  color: #173e3b;
  font-weight: 680;
}
.news-shortcuts a:hover { background: var(--wash); }
.news-shortcuts svg { width: 17px; height: 17px; flex-shrink: 0; }
.home-updates h3 { font-size: 1.13rem; margin: 0 0 10px; }
.notice-list { border-top: 1px solid #a4b8bb; }
.notice-list > a { padding: 13px 3px; }
.notice-list strong { font-size: 1.03rem; font-weight: 620; overflow-wrap: anywhere; }
.notice-list time { font-size: .9rem; }
.notice-badge { background: #eaf2ef; color: #215749; }
.notice-attachment {
  white-space: nowrap;
  padding: 1px 6px;
  border: 1px solid #b4cfcb;
  border-radius: 4px;
  color: #215749;
  background: #f0f6f3;
  font-size: .75rem;
  font-weight: 650;
}

.facility-band { background: #f5f6f3; border-bottom: 1px solid var(--line); }
.facility-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 11px; }
.facility-tabs button {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 8px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--navy);
  font-size: 1rem;
}
.facility-tabs button[aria-selected="true"] { background: var(--navy); color: white; }
.facility-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
}
.facility-photo { height: clamp(300px, 43vw, 525px); }
.facility-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.facility-copy {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding: 12px 19px;
}
.facility-copy h3 { font-size: 1.13rem; margin: 0; }
.facility-copy .text-link { min-height: 44px; }
.facility-garden {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  align-items: center;
  gap: 16px;
  margin: 0 19px;
  padding: 14px 0 18px;
  border-top: 1px solid var(--line);
}
.facility-garden h3 { margin: 0 0 3px; }
.facility-garden .text-link { min-height: 44px; }
.facility-garden-photo { height: clamp(175px, 21vw, 245px); overflow: hidden; border-radius: 8px; }
.facility-garden-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center bottom; }
.gallery-group + .gallery-group { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.gallery-garden { margin: 20px 0; padding-top: 17px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.gallery-garden h3 { margin: 0 0 10px; }
.gallery-garden .zoom img { object-position: center bottom; }
.facility-gallery .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.facility-gallery .gallery-grid figure:first-child { grid-column: 1 / -1; }
.facility-gallery .gallery-grid .zoom { display: block; height: auto; aspect-ratio: 4 / 3; }
.facility-gallery .gallery-grid figure:first-child .zoom { aspect-ratio: 2.1 / 1; }
.facility-gallery .gallery-grid img { display: block; }
.post-attachments { margin: 26px 0 18px; }
.post-attachments h2 { margin-bottom: 10px; }
.post-attachments ul { list-style: none; padding: 0; margin: 0; }
.post-attachments .file-link { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; overflow-wrap: anywhere; }
.post-attachments .file-link span { min-width: 0; }
.attachment-editor { border-color: #b3ccca; border-radius: 10px; background: #f4f9f7; }
.attachment-editor legend { color: var(--navy); font-weight: 750; }
.attachment-editor #post-files {
  display: block;
  max-width: 100%;
  width: 100%;
  border: 1px dashed #9dbbb7;
  border-radius: 7px;
  padding: 7px;
  background: white;
  color: var(--navy);
}
.attachment-editor #post-files::file-selector-button {
  min-height: 39px;
  padding: 6px 12px;
  border: 0;
  border-radius: 6px;
  margin-right: 8px;
  background: var(--navy);
  color: white;
  font: inherit;
  cursor: pointer;
}
.attachment-editor .upload-item { min-width: 0; background: white; }
.attachment-editor .upload-item p { margin: 6px 0; overflow-wrap: anywhere; }
.attachment-editor .upload-item button { padding-inline: 7px; }
.attachment-editor .upload-item button:disabled { opacity: .55; cursor: default; }
.attachment-editor [role="status"], .attachment-editor [role="alert"] { margin: 7px 0 0; font-size: .9rem; overflow-wrap: anywhere; }
.attachment-editor [role="alert"] { color: #a12733; white-space: pre-line; }
.attachment-editor p:empty, .attachment-editor .upload-preview:empty { display: none; }
.visit-contact {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f4f6f2;
  color: var(--navy);
}
.visit-photo { min-height: 300px; }
.visit-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.visit-copy { align-self: center; padding: clamp(22px, 4vw, 54px); }
.visit-contact p { color: var(--muted); margin: 9px 0 17px; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.visit-contact .home-button.outline { border-color: #a2b5ba; color: var(--navy); }
.visit-contact .home-button.outline:hover { background: #eaf2ef; }
.visit-contact a:focus-visible { outline-color: var(--teal); }

@media (max-width: 1240px) {
  .header-inner { gap: 15px; }
  .brand strong { font-size: 1.52rem; }
  .brand strong span { font-size: 1.15rem; }
  .nav-parent { font-size: 1.03rem; }
}
@media (max-width: 1050px) {
  .header-inner { min-height: 76px; }
  .brand strong { font-size: 1.62rem; }
  .brand strong span { font-size: 1.23rem; }
  .nav-parent { font-size: 1.09rem; }

}
@media (max-width: 900px) {
  .section-layout.with-section-nav { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .section-nav { display: flex; flex-wrap: wrap; gap: 3px 6px; padding: 6px 0; }
  .section-nav a { min-height: 44px; border-radius: 5px; padding: 7px 9px; font-size: .95rem; }
  .section-nav a + a { border-top: 0; }
  .section-nav a[aria-current="page"] { box-shadow: inset 0 -2px var(--teal); }
  .home-hero { grid-template-areas: "photo" "copy"; min-height: 0; background: #f4f6f2; border-bottom: 1px solid var(--line); }
  .hero-gallery { grid-area: photo; aspect-ratio: 4 / 3; max-height: 485px; }
  .hero-gallery::after { display: none; }
  .hero-copy { grid-area: copy; padding: 21px 0 25px; }
  .hero-copy h1 { color: var(--navy); font-size: clamp(1.69rem, 5.3vw, 2rem); text-shadow: none; margin-bottom: 13px; }
  .hero-copy h1 strong { color: #a94508; }
  .hero-copy .home-button.light { background: var(--navy); color: white; }
  .hero-copy .home-button.light:hover { background: #234b65; }
  .hero-copy .home-button.outline { border-color: #a2b5ba; color: var(--navy); }
  .hero-copy .home-button.outline:hover { background: #eaf2ef; }
  .hero-copy a:focus-visible { outline-color: var(--teal); }
}
@media (max-width: 767px) {
  .section-visual { height: clamp(145px, 41vw, 195px); }
  .section-layout { padding-top: 24px; }
  .pagehead { padding-bottom: 15px; }
  .pagehead h1 { font-size: clamp(1.69rem, 5.1vw, 2rem); }
  .section-content > .section { padding-top: 20px; padding-bottom: 42px; }
  .service-overview { grid-template-columns: 1fr; gap: 15px; }
  .service-overview .intro-photo { height: min(66vw, 330px); min-height: 0; }
  .institution-services, .service-details, .routine-steps { grid-template-columns: minmax(0, 1fr); }
  .institution-group { padding: 13px; }
  .service-details { margin-top: 18px; }
  .service-routine { padding: 15px; }
  .routine-steps { gap: 0; }
  footer { padding: 20px 0 78px; }
  .header-inner { min-height: 72px; gap: 6px; }
  .brand { gap: 8px; }
  .brand-mark { width: 36px; height: 36px; font-size: 1.27rem; }
  .brand strong { font-size: 1.4rem; }
  .brand strong span { font-size: .94rem; margin: 2px 0 0; }
  .nav-open #site-nav { grid-template-columns: 1fr 1fr; gap: 17px; }
  .hero-controls { inset: auto 9px 9px auto; padding: 2px; }
  .hero-image-note { top: 9px; left: 9px; }
  .home-news, .home-section { padding: 32px 0 36px; }
  .home-heading { margin-bottom: 15px; }
  .news-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-bottom: 20px; }
  .news-shortcuts a { min-height: 45px; padding: 7px 9px; font-size: .95rem; }
  .notice-list > a { display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 4px 8px; }
  .notice-list strong { min-width: 0; }
  .notice-list time { grid-column: 2; margin-left: 0; font-size: .875rem; }
  .notice-list .notice-attachment { grid-column: 3; grid-row: 2; }
  .notice-list svg { grid-column: 3; grid-row: 1; justify-self: end; }
  .facility-photo { height: auto; aspect-ratio: 4 / 3; }
  .facility-copy { padding: 8px 13px; }
  .facility-garden { grid-template-columns: minmax(0, 1fr); margin: 0 13px; gap: 9px; }
  .facility-garden-photo { height: auto; aspect-ratio: 1.65; }
  .facility-gallery .gallery-grid { grid-template-columns: 1fr; gap: 14px; }
  .facility-gallery .gallery-grid figure:first-child .zoom { aspect-ratio: 4 / 3; }
  .facility-tabs button { padding: 7px 4px; font-size: .91rem; }
  .visit-contact { grid-template-columns: 1fr; }
  .visit-photo { min-height: 0; aspect-ratio: 1.65; }
  .visit-copy { padding: 19px 16px; }
  .attachment-editor .upload-preview { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-frame:not([hidden]) { animation: none; }
}
