/* Independent interactions and small accessibility improvements.
   The original school's page-specific visual styles live in /styles/. */
html { scroll-behavior: smooth; }
body { margin: 0; }
[hidden] { display: none !important; }
.ha-nav { font: 400 14px/1.5 'Open Sans', arial, sans-serif; color: #151515; }
.ha-nav ul { list-style: none; margin: 0; padding: 0; }
.ha-nav > ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px 24px; }
.ha-nav a, .ha-nav summary { display: block; padding: 0; text-decoration: none; cursor: pointer; color: inherit; white-space: nowrap; }
.ha-nav > ul > li > a, .ha-nav > ul > li > details > summary { text-transform: uppercase; letter-spacing: .214em; font-weight: 400; }
.ha-nav a:hover, .ha-nav summary:hover { color: #6e7368; }
.ha-nav details { position: relative; }
.ha-nav summary { list-style: none; }
.ha-nav summary::after { content: '▾'; margin-left: 7px; }
.ha-nav summary::-webkit-details-marker { display: none; }
.ha-nav details > ul { position: absolute; top: 100%; left: -18px; z-index: 100; min-width: 220px; padding: 12px 18px; background: white; box-shadow: 0 6px 24px #0002; border: 1px solid #e8e9e6; }
.ha-nav details > ul a { white-space: normal; padding: 9px 0; }
.ha-nav [aria-current="page"] { color: #151515; }
.ha-nav > ul > li > a[aria-current="page"], .ha-nav summary.ha-current { border-bottom: 1px solid #878a85; padding-bottom: 4px; margin-bottom: -5px; }
.ha-nav details > ul [aria-current="page"] { text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 1536px) { .ha-nav { font-size: 16px; } }
.ha-account { color: #676a65; font: 14px 'Open Sans', Arial, sans-serif; text-decoration: none; padding: 12px; }
.ha-mobile-drawer { position: fixed !important; inset: 0 !important; z-index: 10000 !important; background: #fff; color: #151515; overflow: auto; padding: 22px 26px 60px; font: 18px 'Open Sans', Arial, sans-serif; }
.ha-mobile-drawer nav { max-width: 620px; margin: 25px auto; }
.ha-mobile-drawer ul { list-style: none; padding: 0; margin: 0; }
.ha-mobile-drawer nav > ul > li { border-bottom: 1px solid #e6e8e3; }
.ha-mobile-drawer a, .ha-mobile-drawer summary { display: block; padding: 15px 0; color: inherit; text-decoration: none; cursor: pointer; }
.ha-mobile-drawer details ul { padding-left: 20px; font-size: 16px; }
.ha-mobile-close { display: block; margin-left: auto; border: 1px solid #c8cbc5; padding: 10px 15px; background: white; font: inherit; cursor: pointer; }
.ha-gallery { position: relative; width: 100%; margin: auto; }
.ha-photo-link { display: contents; }
.ha-photo-link img { cursor: zoom-in; }
.ha-slide { margin: 0; text-align: center; }
.ha-slide > a { display: block; background: #f7f7f5; }
.ha-slide img { display: block; width: 100%; height: 600px; object-fit: contain; margin: 0 auto; }
.ha-slide figcaption { min-height: 40px; padding: 12px 16px; font: 16px/1.5 'Open Sans', Arial, sans-serif; color: #575757; }
.ha-gallery-controls { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 8px 0 18px; font: 14px 'Open Sans', Arial, sans-serif; }
.ha-gallery-controls button { border: 1px solid #c8cbc5; background: white; color: #292c28; border-radius: 50%; width: 44px; height: 44px; cursor: pointer; font-size: 18px; }
.ha-thumbnails { display: flex; gap: 6px; overflow: auto; padding: 4px 0 12px; scrollbar-width: thin; }
.ha-thumb { flex: 0 0 80px; height: 62px; border: 2px solid transparent; padding: 2px; background: white; cursor: pointer; opacity: .65; }
.ha-thumb[aria-pressed="true"] { border-color: #626f5c; opacity: 1; }
.ha-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ha-more details > ul { left: auto; right: -18px; }
.ha-pdfjs { width: 100%; margin-top: 20px; }
.ha-pdfjs-page { border: 1px solid #ddd; background: #fff; box-shadow: 0 1px 4px #0001; }
.ha-pdfjs-page canvas { display: block; width: 100%; height: auto; }
.ha-pdfjs-controls { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 12px 0 4px; font: 14px 'Open Sans', Arial, sans-serif; color: #6e7368; }
.ha-pdfjs-controls button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; padding: 10px 6px; }
.ha-pdfjs-controls button:hover { color: #151515; }
.ha-pdf { width: 100%; height: min(850px, 85vh); min-height: 420px; border: 1px solid #ddd; display: block; margin-top: 20px; }
.ha-review-badge { position: fixed; bottom: 12px; right: 14px; z-index: 900; font: 12px 'Open Sans', Arial, sans-serif; }
.ha-review-badge a { display: block; color: #fff; background: #344b3bea; border-radius: 20px; padding: 9px 14px; text-decoration: none; box-shadow: 0 2px 8px #0002; }
.ha-skip { position: fixed; top: -100px; left: 20px; background: #fff; color: #000; padding: 14px; z-index: 20000; }
.ha-skip:focus { top: 10px; }
.ha-service-note { padding: 24px; border: 1px solid #c8cbc5; margin: 20px 0; font: 16px/1.7 'Open Sans', Arial, sans-serif; }
.x .accordion-answer:not([hidden]) { display: block !important; height: auto !important; max-height: none !important; }
.accordion-question[aria-expanded="true"] .accordion-icon { transform: rotate(180deg); }
.x a:focus-visible, .x button:focus-visible, summary:focus-visible, .ha-gallery:focus-visible { outline: 3px solid #556e42 !important; outline-offset: 4px; }
@media (max-width: 767px) { .ha-slide img { height: 340px; } .ha-thumb { flex-basis: 64px; height: 52px; } .ha-review-badge { bottom: 8px; right: 8px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print { .ha-review-badge, .ha-nav, .ha-account, [data-mobile-toggle], .ha-gallery-controls, .ha-thumbnails { display: none !important; } .ha-slide[hidden], .accordion-answer[hidden] { display: block !important; } .ha-pdf { height: 600px; } }
