/* ==========================================================================
   St. Dominic School - site header & footer theme
   Colors and fonts follow the original site: school green, warm beige, Montserrat.
   Edit the variables below to adjust the look everywhere.
   ========================================================================== */
:root {
  --sd-green: #04644c;        /* main school green (menu bar on the old site) */
  --sd-green-600: #03553f;
  --sd-green-800: #023a2c;
  --sd-green-900: #012a20;
  --sd-green-950: #011f18;
  --sd-accent: #4dd972;       /* bright green used for links on the old site */
  --sd-beige: #d9d6c9;        /* old header background */
  --sd-cream: #f6f4ee;
  --sd-ink: #1c2622;
  --sd-muted: #5b6662;
  --sd-line: rgba(4, 100, 76, .14);
  --sd-radius: 14px;
  --sd-shadow: 0 18px 40px -12px rgba(1, 42, 32, .28), 0 4px 12px -4px rgba(1, 42, 32, .12);
  --sd-font-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --sd-font-body: "Roboto", "Segoe UI", Arial, sans-serif;
  --sd-wrap: 1240px;
  --sd-header-h: 88px;
  --sd-ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- shared ---------- */
.sd-wrap { width: 100%; max-width: var(--sd-wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }
.sd-header *, .sd-footer *, .sd-drawer * { box-sizing: border-box; }
.sd-ico { width: 18px; height: 18px; flex: none; display: inline-block; vertical-align: middle; }
.sd-ico--xs { width: 12px; height: 12px; margin-left: 4px; opacity: .75; }
.sd-skip { position: absolute; left: -9999px; top: 8px; z-index: 10001; background: #fff; color: var(--sd-green) !important; padding: 10px 16px; border-radius: 8px; font: 600 14px var(--sd-font-head); }
.sd-skip:focus { left: 12px; }
.sd-eyebrow { margin: 0 0 6px; font: 700 11px/1.2 var(--sd-font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--sd-green); }
.sd-eyebrow--light { color: var(--sd-accent); }

.sd-btn,
.sd-header a.sd-btn, .sd-footer a.sd-btn, .sd-drawer a.sd-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 14px/1 var(--sd-font-head); letter-spacing: .03em; text-decoration: none;
  padding: 14px 24px; border-radius: 999px; border: 2px solid transparent;
  transition: transform .2s var(--sd-ease), box-shadow .2s var(--sd-ease), background-color .2s, color .2s, border-color .2s;
  white-space: nowrap; cursor: pointer;
}
.sd-btn:hover { transform: translateY(-1px); }
.sd-btn--primary, .sd-header a.sd-btn--primary, .sd-drawer a.sd-btn--primary { background: var(--sd-green); color: #fff; box-shadow: 0 6px 16px -6px rgba(4, 100, 76, .55); }
.sd-btn--primary:hover, .sd-header a.sd-btn--primary:hover, .sd-drawer a.sd-btn--primary:hover { background: var(--sd-green-800); color: #fff; box-shadow: 0 10px 20px -8px rgba(4, 100, 76, .6); }
.sd-drawer a.sd-btn--ghost { background: var(--sd-cream); color: var(--sd-green); }
.sd-footer a.sd-btn--light { background: #fff; color: var(--sd-green-800); }
.sd-footer a.sd-btn--light:hover { background: var(--sd-cream); color: var(--sd-green-900); }
.sd-footer a.sd-btn--outline-light { border-color: rgba(255, 255, 255, .55); color: #fff; }
.sd-footer a.sd-btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.sd-btn--block { width: 100%; }

/* ---------- header ---------- */
.sd-header { position: sticky; top: 0; z-index: 1000; font-family: var(--sd-font-body); }
.admin-bar .sd-header { top: 0; }

.sd-topbar { background: var(--sd-green-900); color: rgba(255, 255, 255, .82); font-size: 13px; line-height: 1; max-height: 44px; overflow: hidden; transition: max-height .3s var(--sd-ease); }
.sd-topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.sd-topbar ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.sd-topbar li { display: flex; align-items: center; gap: 7px; white-space: nowrap; }
.sd-topbar .sd-ico { width: 15px; height: 15px; color: var(--sd-accent); }
.sd-header .sd-topbar a { color: rgba(255, 255, 255, .86); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; font: 500 13px var(--sd-font-body); transition: color .2s; }
.sd-header .sd-topbar a:hover { color: #fff; }
.sd-topbar__links { gap: 18px !important; }
.sd-topbar__links li + li { position: relative; }
.sd-topbar__links li + li::before { content: ""; position: absolute; left: -9px; width: 1px; height: 12px; background: rgba(255, 255, 255, .22); }
.sd-header .sd-topbar a.sd-social { width: 26px; height: 26px; justify-content: center; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.sd-header .sd-topbar a.sd-social:hover { background: var(--sd-accent); color: var(--sd-green-900); }
.sd-header .sd-topbar a.sd-social .sd-ico { color: inherit; width: 14px; height: 14px; }

.sd-mainbar { background: rgba(246, 244, 238, .97); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--sd-line); position: relative; transition: box-shadow .3s var(--sd-ease); }
.sd-mainbar::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--sd-green-800), var(--sd-green) 45%, var(--sd-accent)); }
.sd-mainbar__inner { display: flex; align-items: center; gap: 14px; height: var(--sd-header-h); transition: height .3s var(--sd-ease); }
.sd-header .sd-wrap, .sd-footer .sd-wrap { max-width: 1440px; }
.sd-brand { flex: none; display: block; line-height: 0; margin-right: auto; }
.sd-brand img { height: 56px; width: auto; max-width: 100%; transition: height .3s var(--sd-ease); }

.sd-header.is-scrolled .sd-topbar { max-height: 0; }
.sd-header.is-scrolled .sd-mainbar { box-shadow: 0 10px 28px -14px rgba(1, 42, 32, .35); }
.sd-header.is-scrolled .sd-mainbar__inner { height: 70px; }
.sd-header.is-scrolled .sd-brand img { height: 46px; }

/* main menu */
.sd-nav { height: 100%; }
.sd-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: stretch; height: 100%; }
.sd-menu__item { position: relative; display: flex; align-items: center; }
.sd-header a.sd-menu__link {
  position: relative; display: flex; align-items: center; gap: 4px; height: 100%; padding: 0 10px; white-space: nowrap;
  font: 600 13px/1 var(--sd-font-head); letter-spacing: .06em; text-transform: uppercase;
  color: var(--sd-green-800); text-decoration: none; transition: color .2s;
}
.sd-header a.sd-menu__link::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 22px; height: 2px; border-radius: 2px;
  background: var(--sd-green); transform: scaleX(0); transform-origin: center; transition: transform .25s var(--sd-ease);
}
.sd-header.is-scrolled a.sd-menu__link::after { bottom: 16px; }
.sd-menu__item:hover > a.sd-menu__link, .sd-menu__item.is-open > a.sd-menu__link, .sd-menu__item:focus-within > a.sd-menu__link { color: var(--sd-green); }
.sd-menu__item:hover > a.sd-menu__link::after, .sd-menu__item.is-open > a.sd-menu__link::after,
.sd-menu__item.is-active > a.sd-menu__link::after { transform: scaleX(1); }
.sd-menu__item.is-active > a.sd-menu__link { color: var(--sd-green); }
.sd-ico--chev { width: 14px; height: 14px; transition: transform .25s var(--sd-ease); opacity: .7; }
.sd-menu__item:hover .sd-ico--chev, .sd-menu__item.is-open .sd-ico--chev { transform: rotate(180deg); }
.sd-header button.sd-menu__toggle { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; border: 0; background: none; }
.sd-header button.sd-menu__toggle:focus-visible { position: static; width: 22px; height: 22px; clip: auto; margin-left: -8px; color: var(--sd-green); outline: 2px solid var(--sd-accent); border-radius: 4px; }

/* dropdown panels */
.sd-panel {
  position: absolute; top: calc(100% - 10px); left: 50%; min-width: 250px; z-index: 20;
  background: #fff; border-radius: var(--sd-radius); box-shadow: var(--sd-shadow); border: 1px solid var(--sd-line);
  padding: 10px; opacity: 0; visibility: hidden; transform: translate(-50%, 10px);
  transition: opacity .2s var(--sd-ease), transform .25s var(--sd-ease), visibility 0s .25s;
}
.sd-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; } /* hover bridge */
.sd-menu__item:hover > .sd-panel, .sd-menu__item.is-open > .sd-panel, .sd-menu__item:focus-within > .sd-panel {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.sd-panel.align-left { left: 0; transform: translate(0, 10px); }
.sd-menu__item:hover > .sd-panel.align-left, .sd-menu__item.is-open > .sd-panel.align-left, .sd-menu__item:focus-within > .sd-panel.align-left { transform: translate(0, 0); }
.sd-panel.align-right { left: auto; right: 0; transform: translate(0, 10px); }
.sd-menu__item:hover > .sd-panel.align-right, .sd-menu__item.is-open > .sd-panel.align-right, .sd-menu__item:focus-within > .sd-panel.align-right { transform: translate(0, 0); }

.sd-drop { list-style: none; margin: 0; padding: 0; }
.sd-panel--wide { min-width: 460px; }
.sd-panel--wide .sd-drop { display: grid; grid-template-columns: 1fr 1fr; column-gap: 6px; }
.sd-drop a, .sd-mega__loose a, .sd-mega__col li a {
  display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 9px;
  font: 500 14.5px/1.3 var(--sd-font-body); color: var(--sd-ink) !important; text-decoration: none;
  transition: background-color .15s, color .15s, padding-left .2s var(--sd-ease);
}
.sd-drop a:hover, .sd-mega__loose a:hover, .sd-mega__col li a:hover { background: var(--sd-cream); color: var(--sd-green) !important; padding-left: 18px; }
.sd-drop li.is-active > a, .sd-mega__loose li.is-active > a, .sd-mega__col li.is-active > a { background: rgba(4, 100, 76, .08); color: var(--sd-green) !important; font-weight: 600; box-shadow: inset 3px 0 0 var(--sd-green); }

/* mega menu */
.sd-panel--mega { padding: 0; width: min(960px, calc(100vw - 48px)); overflow: hidden; }
.sd-mega { display: grid; grid-template-columns: 250px 1fr; }
.sd-mega__intro { background: linear-gradient(160deg, var(--sd-cream), #ece8dc); padding: 26px 20px 20px 26px; border-right: 1px solid var(--sd-line); }
.sd-mega__title { margin: 0 0 12px; font: 700 24px/1.15 var(--sd-font-head); color: var(--sd-green-800); }
.sd-header a.sd-link-arrow { display: inline-flex; align-items: center; gap: 6px; font: 600 13px var(--sd-font-head); color: var(--sd-green); text-decoration: none; letter-spacing: .03em; }
.sd-header a.sd-link-arrow .sd-ico { width: 15px; height: 15px; transition: transform .2s var(--sd-ease); }
.sd-header a.sd-link-arrow:hover .sd-ico { transform: translateX(4px); }
.sd-mega__loose { list-style: none; margin: 18px -14px 0; padding: 14px 0 0; border-top: 1px solid var(--sd-line); }
.sd-mega__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 6px 8px; padding: 20px; align-content: start; }
.sd-mega__col ul { list-style: none; margin: 0; padding: 0; }
.sd-header a.sd-mega__head { display: block; padding: 8px 14px 6px; font: 700 12px/1.2 var(--sd-font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--sd-green) !important; text-decoration: none; }
.sd-header a.sd-mega__head:hover { color: var(--sd-green-900) !important; text-decoration: underline; text-underline-offset: 3px; }
.sd-mega__col li a { font-size: 14px; padding: 8px 14px; }

.sd-cta { flex: none; }
.sd-header .sd-cta { padding: 13px 22px; }

/* burger + drawer */
.sd-header button.sd-burger {
  display: none; align-items: center; gap: 8px; flex: none; height: 44px; padding: 0 14px; margin: 0;
  border: 1px solid var(--sd-line); border-radius: 999px; background: #fff; color: var(--sd-green-800);
  font: 600 13px var(--sd-font-head); letter-spacing: .05em; text-transform: uppercase; cursor: pointer;
}
.sd-header button.sd-burger:hover { background: var(--sd-green); color: #fff; border-color: var(--sd-green); }

.sd-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 1002; width: min(400px, 90vw); background: #fff;
  display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s var(--sd-ease);
  box-shadow: -20px 0 40px -20px rgba(1, 42, 32, .4); font-family: var(--sd-font-body); visibility: hidden;
}
.sd-drawer.is-open { transform: translateX(0); visibility: visible; }
.sd-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--sd-line); background: var(--sd-cream); }
.sd-drawer__head img { height: 42px; width: auto; }
.sd-drawer button.sd-drawer__close { width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: var(--sd-green-800); display: grid; place-items: center; cursor: pointer; padding: 0; box-shadow: 0 2px 6px rgba(1, 42, 32, .12); }
.sd-drawer__nav { flex: 1; overflow-y: auto; padding: 8px 10px 16px; -webkit-overflow-scrolling: touch; }
.sd-dmenu { list-style: none; margin: 0; padding: 0; }
.sd-dmenu__row { display: flex; align-items: center; }
.sd-drawer .sd-dmenu__row > a { flex: 1; display: block; padding: 13px 12px; font: 600 15px/1.3 var(--sd-font-head); color: var(--sd-green-800); text-decoration: none; border-radius: 10px; }
.sd-drawer .sd-dmenu--sub .sd-dmenu__row > a { font: 500 15px/1.3 var(--sd-font-body); color: var(--sd-ink); padding: 10px 12px; }
.sd-drawer .sd-dmenu__row > a:hover { background: var(--sd-cream); }
.sd-drawer .is-current > .sd-dmenu__row > a { color: var(--sd-green); background: rgba(4, 100, 76, .08); box-shadow: inset 3px 0 0 var(--sd-green); }
.sd-drawer button.sd-dmenu__toggle { flex: none; width: 42px; height: 42px; border: 0; border-radius: 10px; background: transparent; color: var(--sd-green); display: grid; place-items: center; cursor: pointer; padding: 0; }
.sd-drawer button.sd-dmenu__toggle:hover { background: var(--sd-cream); }
.sd-drawer button.sd-dmenu__toggle .sd-ico { transition: transform .25s var(--sd-ease); }
.sd-drawer button.sd-dmenu__toggle[aria-expanded="true"] .sd-ico { transform: rotate(180deg); }
.sd-dmenu--sub { display: none; margin: 0 0 6px 12px; padding-left: 8px; border-left: 2px solid var(--sd-line); }
.sd-dmenu__item.is-expanded > .sd-dmenu--sub { display: block; }
.sd-dmenu > .sd-dmenu__item { border-bottom: 1px solid rgba(4, 100, 76, .07); }
.sd-dmenu--sub > .sd-dmenu__item { border-bottom: 0; }
.sd-dmenu--util { margin-top: 10px; padding-top: 8px; }
.sd-drawer .sd-dmenu--util .sd-dmenu__row > a { font: 500 14px var(--sd-font-body); color: var(--sd-muted); padding: 9px 12px; }
.sd-drawer__foot { padding: 16px 18px 22px; display: grid; gap: 10px; border-top: 1px solid var(--sd-line); background: #fff; }
.sd-overlay { position: fixed; inset: 0; z-index: 1001; background: rgba(1, 31, 24, .45); backdrop-filter: blur(2px); opacity: 0; transition: opacity .3s; }
.sd-overlay.is-visible { opacity: 1; }
html.sd-lock, html.sd-lock body { overflow: hidden; }

/* ---------- footer ---------- */
.sd-footer { font-family: var(--sd-font-body); color: rgba(255, 255, 255, .78); margin-top: 0; }
.sd-cta-band {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1000px 360px at 85% -40%, rgba(77, 217, 114, .28), transparent 60%),
              radial-gradient(700px 300px at 0% 120%, rgba(217, 214, 201, .16), transparent 60%),
              linear-gradient(120deg, var(--sd-green) 0%, var(--sd-green-800) 100%);
}
.sd-cta-band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .05); }
.sd-cta-band__inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 56px; }
.sd-footer h2.sd-cta-band__title { margin: 0 0 10px; font: 700 clamp(24px, 3.2vw, 36px)/1.15 var(--sd-font-head); color: #fff; letter-spacing: -.01em; }
.sd-cta-band__text { margin: 0; max-width: 620px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .85); }
.sd-cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

.sd-footer__main { background: var(--sd-green-900); padding: 64px 0 48px; }
.sd-footer__grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px 32px; }
.sd-footer__brand img { width: 240px; max-width: 100%; height: auto; display: block; }
.sd-footer__tagline { margin: 16px 0 20px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .72); max-width: 320px; }
.sd-footer__contact { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.sd-footer__contact li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.sd-footer__contact .sd-ico { color: var(--sd-accent); margin-top: 2px; }
.sd-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; transition: color .2s; }
.sd-footer a:hover { color: #fff; }
.sd-footer__social { display: flex; gap: 10px; }
.sd-footer a.sd-social--round { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; transition: background-color .2s, transform .2s var(--sd-ease), color .2s; }
.sd-footer a.sd-social--round:hover { background: var(--sd-accent); color: var(--sd-green-900); transform: translateY(-2px); }
.sd-footer h3.sd-footer__heading { margin: 4px 0 18px; font: 700 13px/1.2 var(--sd-font-head); letter-spacing: .14em; text-transform: uppercase; color: #fff; position: relative; padding-bottom: 12px; }
.sd-footer h3.sd-footer__heading::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--sd-accent); }
.sd-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sd-footer__col a { font-size: 15px; line-height: 1.4; display: inline-block; transition: color .2s, transform .2s var(--sd-ease); }
.sd-footer__col a:hover { transform: translateX(3px); }
.sd-footer__bottom { background: var(--sd-green-950); font-size: 13.5px; }
.sd-footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; flex-wrap: wrap; }
.sd-footer__bottom p { margin: 0; color: rgba(255, 255, 255, .6); }
.sd-footer__bottom ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 22px; }
.sd-footer__bottom a { color: rgba(255, 255, 255, .7); }
.sd-footer button.sd-totop { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; transition: background-color .2s, border-color .2s; }
.sd-footer button.sd-totop:hover { background: var(--sd-accent); border-color: var(--sd-accent); color: var(--sd-green-900); }

/* focus styles */
.sd-header a:focus-visible, .sd-footer a:focus-visible, .sd-drawer a:focus-visible,
.sd-header button:focus-visible, .sd-footer button:focus-visible, .sd-drawer button:focus-visible { outline: 2px solid var(--sd-accent); outline-offset: 2px; }

/* ---------- responsive ---------- */
@media (max-width: 1480px) {
  .sd-header a.sd-menu__link { padding: 0 8px; font-size: 12.5px; letter-spacing: .04em; }
  .sd-header a.sd-menu__link::after { left: 8px; right: 8px; }
  .sd-header .sd-cta { padding: 12px 18px; font-size: 13px; }
  .sd-brand img { height: 50px; }
  .sd-mainbar__inner { gap: 12px; }
}
@media (max-width: 1340px) {
  .sd-header a.sd-menu__link .sd-ico--chev { display: none; }
  .sd-header a.sd-menu__link { padding: 0 7px; font-size: 12px; letter-spacing: .03em; }
  .sd-brand img { height: 44px; }
}
@media (max-width: 1180px) {
  .sd-nav { display: none; }
  .sd-header button.sd-burger { display: inline-flex; }
  .sd-hide-md { display: none !important; }
}
@media (max-width: 980px) {
  .sd-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .sd-footer__brand { grid-column: 1 / -1; }
  .sd-cta-band__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  :root { --sd-header-h: 72px; }
  .sd-topbar__info li:first-child { display: none; }
  .sd-topbar__links li:not(:last-child) { display: none; }
  .sd-topbar__links li + li::before { display: none; }
  .sd-brand img { height: 42px; }
  .sd-header.is-scrolled .sd-mainbar__inner { height: 62px; }
  .sd-header.is-scrolled .sd-brand img { height: 38px; }
  .sd-header a.sd-cta { display: none; }
  .sd-cta-band__inner { padding-top: 44px; padding-bottom: 44px; }
  .sd-footer__main { padding: 48px 0 36px; }
  .sd-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .sd-wrap { padding: 0 16px; }
  .sd-footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .sd-header button.sd-burger span { display: none; }
  .sd-header button.sd-burger { width: 44px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .sd-header *, .sd-footer *, .sd-drawer, .sd-drawer * { transition: none !important; }
}
@media print {
  .sd-topbar, .sd-nav, .sd-cta, .sd-burger, .sd-drawer, .sd-overlay, .sd-cta-band { display: none !important; }
  .sd-header { position: static; }
}

/* ---------- neutralise the old theme's link hover (italic + underline) inside header/footer ---------- */
html body .sd-header a:hover, html body .sd-footer a:hover, html body .sd-drawer a:hover,
html body .sd-header a:focus, html body .sd-footer a:focus, html body .sd-drawer a:focus { font-style: normal; text-decoration: none; }
html body .sd-header a.sd-menu__link:hover, html body .sd-header a.sd-mega__head:hover { text-transform: uppercase; font-weight: 600; }
html body .sd-header a.sd-mega__head:hover { font-weight: 700; }
html body .sd-drop a:hover, html body .sd-mega__col li a:hover, html body .sd-mega__loose a:hover,
html body .sd-header .sd-topbar a:hover { font-weight: 500; text-transform: none; }
html body .sd-footer a, html body .sd-footer a:hover { font-weight: 400; text-transform: none; }
html body .sd-footer a.sd-btn, html body .sd-footer a.sd-btn:hover, html body .sd-header a.sd-btn:hover, html body .sd-drawer a.sd-btn:hover { font-weight: 600; }
html body .sd-drawer .sd-dmenu__row > a:hover { font-weight: 600; text-transform: none; }
html body .sd-drawer .sd-dmenu--sub .sd-dmenu__row > a:hover, html body .sd-drawer .sd-dmenu--util .sd-dmenu__row > a:hover { font-weight: 500; }
.sd-footer__bottom a, .sd-footer__bottom p { font-size: 13.5px !important; font-family: var(--sd-font-body) !important; }
.sd-footer__col a { font-family: var(--sd-font-head); }
/* keep the mobile menu above the floating call button */
.sd-drawer { z-index: 2147483001; }
.sd-overlay { z-index: 2147483000; }
html.sd-lock #callnowbutton { display: none !important; }

/* ==========================================================================
   Homepage hero + quick links (templates/home-hero.php, data/home.json)
   ========================================================================== */
.sd-hero, .sd-quick { font-family: var(--sd-font-body); }
.sd-hero *, .sd-quick * { box-sizing: border-box; }
.sd-hero { position: relative; overflow: hidden; background: var(--sd-cream); padding: 64px 0 104px; }
.sd-hero__bg { position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(700px 420px at 92% 10%, rgba(4, 100, 76, .10), transparent 65%),
    radial-gradient(520px 380px at 0% 100%, rgba(217, 214, 201, .9), transparent 70%),
    linear-gradient(180deg, #faf9f5, var(--sd-cream)); }
.sd-hero__bg::after { content: ""; position: absolute; inset: 0; opacity: .5;
  background-image: radial-gradient(rgba(4, 100, 76, .10) 1px, transparent 1px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 100%); mask-image: linear-gradient(90deg, transparent 40%, #000 100%); }
.sd-hero .sd-wrap { max-width: 1320px; }
.sd-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; }

.sd-hero__copy { position: relative; display: grid; }
.sd-hero__slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .6s var(--sd-ease), transform .7s var(--sd-ease), visibility 0s .7s; align-self: center; }
.sd-hero__slide.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .1s, .1s, 0s; }
.sd-hero__kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 700 12.5px/1 var(--sd-font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--sd-green); }
.sd-hero__kicker span { width: 34px; height: 2px; border-radius: 2px; background: var(--sd-accent); }
.sd-hero h1.sd-hero__title, .sd-hero h2.sd-hero__title { margin: 0 0 18px; font: 700 clamp(30px, 3.2vw, 44px)/1.14 var(--sd-font-head); letter-spacing: -.02em; color: var(--sd-green-900); text-transform: none; }
.sd-hero__text { margin: 0 0 8px; font-size: 18.5px; line-height: 1.6; color: var(--sd-muted); max-width: 520px; }
.sd-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sd-hero a.sd-btn { text-decoration: none; }
.sd-hero a.sd-btn--primary { background: var(--sd-green); color: #fff; box-shadow: 0 10px 22px -10px rgba(4, 100, 76, .7); }
.sd-hero a.sd-btn--primary:hover { background: var(--sd-green-800); color: #fff; }
.sd-hero a.sd-btn--primary .sd-ico { width: 16px; height: 16px; transition: transform .2s var(--sd-ease); }
.sd-hero a.sd-btn--primary:hover .sd-ico { transform: translateX(3px); }
.sd-hero a.sd-btn--ghost-dark { border-color: rgba(4, 100, 76, .35); color: var(--sd-green-800); background: transparent; }
.sd-hero a.sd-btn--ghost-dark:hover { border-color: var(--sd-green); background: #fff; color: var(--sd-green); }

.sd-hero__tabs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 44px; }
.sd-hero button.sd-hero__tab { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 6px; padding: 12px 0 0; text-align: left; color: var(--sd-muted); }
.sd-hero__num { font: 700 12px/1 var(--sd-font-head); letter-spacing: .08em; color: rgba(4, 100, 76, .55); }
.sd-hero__tablabel { font: 600 13px/1.25 var(--sd-font-head); color: var(--sd-muted); transition: color .2s; }
.sd-hero__bar { position: relative; display: block; height: 3px; border-radius: 3px; background: rgba(4, 100, 76, .14); overflow: hidden; order: -1; }
.sd-hero__bar i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left; background: var(--sd-green); border-radius: 3px; }
.sd-hero button.sd-hero__tab.is-active .sd-hero__tablabel, .sd-hero button.sd-hero__tab:hover .sd-hero__tablabel { color: var(--sd-green-900); }
.sd-hero button.sd-hero__tab.is-active .sd-hero__num { color: var(--sd-green); }
.sd-hero button.sd-hero__tab.is-done .sd-hero__bar i { transform: scaleX(1); }
.sd-hero button.sd-hero__tab.is-active .sd-hero__bar i { animation: sd-progress var(--sd-hero-dur, 7s) linear forwards; }
.sd-hero.is-paused button.sd-hero__tab.is-active .sd-hero__bar i { animation-play-state: paused; }
.sd-hero button.sd-hero__tab:focus-visible { outline: 2px solid var(--sd-accent); outline-offset: 4px; border-radius: 4px; }
@keyframes sd-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.sd-hero__media { position: relative; }
.sd-hero__media::before { content: ""; position: absolute; right: -22px; top: -22px; width: 58%; height: 70%; border-radius: 28px;
  background: linear-gradient(135deg, var(--sd-green), var(--sd-green-800)); }
.sd-hero__media::after { content: ""; position: absolute; left: -26px; bottom: -26px; width: 120px; height: 120px; border-radius: 50%;
  border: 14px solid rgba(77, 217, 114, .35); }
.sd-hero__frame { position: relative; z-index: 1; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: #dcd8cb;
  box-shadow: 0 30px 60px -24px rgba(1, 42, 32, .45); }
.sd-hero .sd-hero__img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover; opacity: 0; transform: scale(1.06);
  transition: opacity .9s var(--sd-ease), transform 7s linear; }
.sd-hero__img.is-active { opacity: 1; transform: scale(1); }
.sd-hero a.sd-hero__badge { position: absolute; z-index: 2; left: -28px; bottom: 34px; display: flex; align-items: center; gap: 12px;
  padding: 14px 18px 14px 14px; border-radius: 16px; background: #fff; color: var(--sd-ink); text-decoration: none;
  box-shadow: var(--sd-shadow); transition: transform .25s var(--sd-ease); max-width: 300px; }
.sd-hero a.sd-hero__badge:hover { transform: translateY(-3px); }
.sd-hero__badge-ico { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: rgba(4, 100, 76, .1); color: var(--sd-green); }
.sd-hero__badge strong { display: block; font: 700 15px/1.2 var(--sd-font-head); color: var(--sd-green-900); }
.sd-hero__badge small { display: block; margin-top: 3px; font-size: 13px; line-height: 1.35; color: var(--sd-muted); }

/* quick links */
.sd-quick { position: relative; z-index: 2; margin-top: -52px; padding-bottom: 48px; }
.sd-quick .sd-wrap { max-width: 1320px; }
.sd-quick__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sd-quick a.sd-quick__card { display: flex; align-items: center; gap: 16px; padding: 22px 22px; border-radius: 18px; background: #fff;
  border: 1px solid var(--sd-line); box-shadow: 0 16px 36px -22px rgba(1, 42, 32, .35); text-decoration: none; color: var(--sd-ink);
  transition: transform .25s var(--sd-ease), box-shadow .25s var(--sd-ease), border-color .25s; }
.sd-quick a.sd-quick__card:hover { transform: translateY(-4px); border-color: rgba(4, 100, 76, .35); box-shadow: 0 24px 44px -22px rgba(1, 42, 32, .45); }
.sd-quick__ico { width: 54px; height: 54px; flex: none; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--sd-green), var(--sd-green-800)); color: #fff; }
.sd-quick__txt { flex: 1; min-width: 0; }
.sd-quick__txt strong { display: block; font: 700 16px/1.25 var(--sd-font-head); color: var(--sd-green-900); }
.sd-quick__txt small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.4; color: var(--sd-muted); }
.sd-quick__go { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--sd-cream); color: var(--sd-green); transition: background-color .2s, color .2s; }
.sd-quick a.sd-quick__card:hover .sd-quick__go { background: var(--sd-green); color: #fff; }
html body .sd-quick a:hover, html body .sd-hero a:hover { text-decoration: none; font-style: normal; }
html body .sd-hero a.sd-btn:hover { font-weight: 600; text-transform: none; }
html body .sd-quick a:hover, html body .sd-hero a.sd-hero__badge:hover { font-weight: 400; }

@media (max-width: 1100px) {
  .sd-hero__grid { gap: 40px; }
  .sd-hero__tablabel { font-size: 12px; }
}
@media (max-width: 900px) {
  .sd-hero { padding: 28px 0 92px; }
  .sd-hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .sd-hero__media { order: -1; margin: 0 8px; }
  .sd-hero__media::before { right: -8px; top: -10px; }
  .sd-hero__media::after { display: none; }
  .sd-hero a.sd-hero__badge { position: relative; left: auto; bottom: auto; margin: -26px 16px 0 auto; width: max-content; max-width: calc(100% - 32px); padding: 10px 14px 10px 10px; }
  .sd-hero__badge-ico { width: 36px; height: 36px; }
  .sd-hero__badge strong { font-size: 14px; }
  .sd-hero__badge small { font-size: 12.5px; }
  .sd-hero__copy { padding-top: 18px; }
  .sd-quick__grid { grid-template-columns: 1fr; gap: 12px; }
  .sd-quick { margin-top: -44px; }
}
@media (max-width: 560px) {
  .sd-hero__tabs { gap: 8px; margin-top: 32px; }
  .sd-hero__tablabel { display: none; }
  .sd-hero__text { font-size: 16.5px; }
  .sd-hero a.sd-hero__badge { max-width: calc(100% - 24px); }
}
@media (prefers-reduced-motion: reduce) {
  .sd-hero__slide, .sd-hero__img { transition: none !important; }
  .sd-hero button.sd-hero__tab.is-active .sd-hero__bar i { animation: none; transform: scaleX(1); }
}

/* Show page sections immediately (the old site hid them until its animation script ran) */
.elementor-invisible { visibility: visible !important; }
.elementor-element.animated { animation: none !important; }

/* ==========================================================================
   Homepage lower sections (templates/home-sections.php)
   ========================================================================== */
.sd-ig, .sd-duo { font-family: var(--sd-font-body); }
.sd-ig *, .sd-duo * { box-sizing: border-box; }
.sd-ig .sd-wrap, .sd-duo .sd-wrap { max-width: 1320px; }
.sd-ig { padding: 72px 0 64px; background: #fff; }
.sd-ig__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.sd-ig__who { display: flex; align-items: center; gap: 20px; }
.sd-ig__avatar { width: 72px; height: 72px; border-radius: 50%; flex: none; object-fit: cover; padding: 3px; background: linear-gradient(135deg, var(--sd-accent), var(--sd-green)); }
.sd-ig h2.sd-ig__title, .sd-duo h2 { margin: 0; font: 700 clamp(26px, 2.6vw, 36px)/1.15 var(--sd-font-head); letter-spacing: -.015em; color: var(--sd-green-900); text-transform: none; }
.sd-ig__intro { margin: 8px 0 0; max-width: 640px; color: var(--sd-muted); font-size: 16px; line-height: 1.55; }
.sd-ig a.sd-btn { flex: none; text-decoration: none; }
.sd-ig a.sd-btn--primary { background: var(--sd-green); color: #fff; }
.sd-ig a.sd-btn--primary:hover { background: var(--sd-green-800); color: #fff; }
.sd-ig__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sd-ig a.sd-ig__post { position: relative; display: block; aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: var(--sd-cream); box-shadow: 0 14px 30px -20px rgba(1, 42, 32, .5); }
.sd-ig .sd-ig__post img { width: 100% !important; height: 100% !important; max-width: none; object-fit: cover; display: block; transition: transform .5s var(--sd-ease); }
.sd-ig a.sd-ig__post:hover img, .sd-ig a.sd-ig__post:focus-visible img { transform: scale(1.06); }
.sd-ig__badge { position: absolute; top: 12px; right: 12px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: rgba(1, 31, 24, .55); color: #fff; backdrop-filter: blur(4px); }
.sd-ig__over { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 18px;
  background: linear-gradient(180deg, transparent 35%, rgba(1, 31, 24, .88)); color: #fff; opacity: 0; transition: opacity .3s var(--sd-ease); }
.sd-ig a.sd-ig__post:hover .sd-ig__over, .sd-ig a.sd-ig__post:focus-visible .sd-ig__over { opacity: 1; }
.sd-ig__cap { font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.sd-ig__more { display: inline-flex; align-items: center; gap: 6px; font: 600 12.5px var(--sd-font-head); letter-spacing: .05em; text-transform: uppercase; color: var(--sd-accent); }
.sd-ig__more .sd-ico { width: 15px; height: 15px; }

.sd-duo { padding: 8px 0 88px; background: linear-gradient(180deg, #fff 0, #fff 30%, var(--sd-cream) 30%); }
.sd-duo__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 28px; align-items: stretch; }
.sd-welcome { position: relative; display: flex; flex-direction: column; justify-content: center; overflow: hidden; border-radius: 24px; padding: 44px 40px; color: rgba(255, 255, 255, .88);
  background: radial-gradient(600px 300px at 110% -10%, rgba(77, 217, 114, .28), transparent 60%), linear-gradient(140deg, var(--sd-green), var(--sd-green-900));
  box-shadow: 0 30px 60px -30px rgba(1, 42, 32, .6); }
.sd-welcome::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 240px; height: 240px; border-radius: 50%; border: 36px solid rgba(255, 255, 255, .06); }
.sd-duo h2.sd-welcome__title { color: #fff; margin-bottom: 14px; }
.sd-welcome__text { margin: 0 0 26px; font-size: 17px; line-height: 1.6; max-width: 460px; }
.sd-welcome__facts { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 14px; }
.sd-welcome__facts li { display: flex; gap: 14px; align-items: center; }
.sd-welcome__facts .sd-ico { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--sd-accent); }
.sd-welcome__facts strong { display: block; font: 700 12px/1.2 var(--sd-font-head); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); margin-bottom: 3px; }
.sd-welcome__facts span { font-size: 16.5px; color: #fff; }
.sd-duo .sd-welcome__facts a { color: #fff; text-decoration: none; font-weight: 600; }
.sd-welcome__actions { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 12px; }
.sd-duo a.sd-btn { text-decoration: none; }
.sd-duo a.sd-btn--light { background: #fff; color: var(--sd-green-800); }
.sd-duo a.sd-btn--light:hover { background: var(--sd-cream); color: var(--sd-green-900); }
.sd-duo a.sd-btn--outline-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.sd-duo a.sd-btn--outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, .08); color: #fff; }
.sd-duo a.sd-btn .sd-ico { width: 16px; height: 16px; }

.sd-awards { border-radius: 24px; padding: 40px 40px 34px; background: #fff; border: 1px solid var(--sd-line); box-shadow: 0 24px 50px -32px rgba(1, 42, 32, .45); }
.sd-awards__head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 24px; }
.sd-awards__trophy { width: 56px; height: 56px; flex: none; border-radius: 16px; display: grid; place-items: center; color: #9a6b00; background: linear-gradient(135deg, #fff3c4, #f3d777); }
.sd-awards__trophy svg { width: 28px; height: 28px; }
.sd-duo h2.sd-awards__title { font-size: clamp(22px, 2.1vw, 28px); }
.sd-awards__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.sd-awards__list li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 14px; background: var(--sd-cream); transition: transform .2s var(--sd-ease), background-color .2s; }
.sd-awards__list li:hover { transform: translateX(4px); background: #efece2; }
.sd-awards__medal { width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; }
.is-gold .sd-awards__medal { background: linear-gradient(135deg, #fff1b8, #f0cf58); color: #8a5d00; }
.is-bronze .sd-awards__medal { background: linear-gradient(135deg, #f6dcc6, #d99a62); color: #7a3f12; }
.sd-awards__who { flex: 1; min-width: 0; }
.sd-awards__who strong { display: block; font: 700 15.5px/1.3 var(--sd-font-head); color: var(--sd-green-900); }
.sd-awards__who small { display: block; margin-top: 2px; font-size: 14px; color: var(--sd-muted); }
.sd-awards__place { flex: none; font: 700 11.5px/1 var(--sd-font-head); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; }
.is-gold .sd-awards__place { background: #fbeaa6; color: #7a5200; }
.is-bronze .sd-awards__place { background: #f3dcc8; color: #7a3f12; }
.sd-duo a.sd-link-arrow { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--sd-font-head); color: var(--sd-green); text-decoration: none; }
.sd-duo a.sd-link-arrow .sd-ico { width: 16px; height: 16px; transition: transform .2s var(--sd-ease); }
.sd-duo a.sd-link-arrow:hover .sd-ico { transform: translateX(4px); }
html body .sd-ig a:hover, html body .sd-duo a:hover { text-decoration: none; font-style: normal; text-transform: none; }
html body .sd-ig a.sd-btn:hover, html body .sd-duo a.sd-btn:hover, html body .sd-duo a.sd-link-arrow:hover { font-weight: 600; }

@media (max-width: 980px) {
  .sd-ig__head { flex-direction: column; align-items: flex-start; }
  .sd-ig__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .sd-duo__grid { grid-template-columns: 1fr; }
  .sd-duo { background: var(--sd-cream); padding-top: 32px; }
}
@media (max-width: 560px) {
  .sd-ig { padding: 48px 0; }
  .sd-ig__who { align-items: flex-start; }
  .sd-ig__avatar { width: 56px; height: 56px; }
  .sd-welcome, .sd-awards { padding: 30px 22px; border-radius: 20px; }
  .sd-ig__over { display: none; }
  .sd-awards__list li { padding: 12px; gap: 12px; }
  .sd-awards__place { font-size: 10px; padding: 6px 8px; letter-spacing: .05em; }
}

/* ==========================================================================
   Inner pages - common layout (templates/page-shell.php)
   ========================================================================== */
html body main.sd-page, html body main.sd-page.site-main { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; font-family: var(--sd-font-body); color: var(--sd-ink); background: #fff; }
.sd-page *, .sd-page *::before, .sd-page *::after { box-sizing: border-box; }

/* ---------- live icons: lines draw in, then breathe ---------- */
.sd-licon { width: 26px; height: 26px; display: block; overflow: visible; }
.sd-licon * { stroke-dasharray: 1; stroke-dashoffset: 0; }
.sd-js .sd-reveal .sd-licon *, .sd-js .sd-phero .sd-licon * { stroke-dashoffset: 1; }
.sd-js .sd-reveal.is-in .sd-licon *, .sd-js .sd-phero.is-in .sd-licon * { animation: sd-draw 1.1s var(--sd-ease) forwards; }
.sd-js .sd-reveal.is-in .sd-licon *:nth-child(2), .sd-js .sd-phero.is-in .sd-licon *:nth-child(2) { animation-delay: .12s; }
.sd-js .sd-reveal.is-in .sd-licon *:nth-child(3), .sd-js .sd-phero.is-in .sd-licon *:nth-child(3) { animation-delay: .24s; }
.sd-js .sd-reveal.is-in .sd-licon *:nth-child(n+4), .sd-js .sd-phero.is-in .sd-licon *:nth-child(n+4) { animation-delay: .36s; }
@keyframes sd-draw { to { stroke-dashoffset: 0; } }
@keyframes sd-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-8px) rotate(-2deg); } }
@keyframes sd-wiggle { 0%, 100% { transform: rotate(0) scale(1); } 30% { transform: rotate(-9deg) scale(1.08); } 60% { transform: rotate(6deg) scale(1.08); } }
@keyframes sd-pulse { 0% { box-shadow: 0 0 0 0 rgba(77, 217, 114, .45); } 100% { box-shadow: 0 0 0 26px rgba(77, 217, 114, 0); } }
@keyframes sd-orb { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(30px, -20px) scale(1.08); } }

/* ---------- reveal on scroll ---------- */
.sd-js .sd-reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--sd-ease), transform .7s var(--sd-ease); }
.sd-js .sd-reveal.is-in { opacity: 1; transform: none; }

/* ---------- page hero ---------- */
.sd-phero { position: relative; overflow: hidden; color: #fff; isolation: isolate;
  background: radial-gradient(900px 420px at 85% -20%, rgba(77, 217, 114, .22), transparent 60%), linear-gradient(135deg, var(--sd-green) 0%, var(--sd-green-800) 55%, var(--sd-green-950) 100%); }
.sd-phero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1.2px); background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 60%); mask-image: linear-gradient(90deg, transparent 0, #000 60%); }
.sd-phero__orb { position: absolute; border-radius: 50%; filter: blur(2px); animation: sd-orb 14s ease-in-out infinite; }
.sd-phero__orb--a { width: 340px; height: 340px; right: -80px; bottom: -190px; border: 48px solid rgba(255, 255, 255, .05); }
.sd-phero__orb--b { width: 140px; height: 140px; right: 30%; top: -70px; background: radial-gradient(circle, rgba(77, 217, 114, .25), transparent 70%); animation-duration: 18s; animation-direction: reverse; }
.sd-phero__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-top: 56px; padding-bottom: 64px; min-height: 250px; }
.sd-phero__text { min-width: 0; }
.sd-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; font: 500 13px/1.4 var(--sd-font-body); }
.sd-crumbs li { display: inline-flex; align-items: center; color: rgba(255, 255, 255, .92); }
.sd-crumbs li + li::before { content: ""; width: 6px; height: 6px; margin: 0 12px; border-top: 1.5px solid rgba(255, 255, 255, .45); border-right: 1.5px solid rgba(255, 255, 255, .45); transform: rotate(45deg); }
html body .sd-crumbs a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; }
html body .sd-crumbs a:hover { color: var(--sd-accent); text-decoration: none; font-style: normal; }
.sd-phero__kicker { margin: 0 0 10px; font: 700 12px/1.2 var(--sd-font-head); letter-spacing: .18em; text-transform: uppercase; color: var(--sd-accent); }
html body h1.sd-phero__title { margin: 0; color: #fff; font: 700 clamp(30px, 4.2vw, 52px)/1.08 var(--sd-font-head); letter-spacing: -.02em; text-transform: none; max-width: 820px; }
.sd-phero__badge { flex: none; width: 132px; height: 132px; border-radius: 34px; display: grid; place-items: center; color: var(--sd-accent);
  background: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .15); backdrop-filter: blur(6px);
  animation: sd-float 6s ease-in-out infinite, sd-pulse 2.8s ease-out 1s 3; }
.sd-licon--hero { width: 60px; height: 60px; stroke-width: 1.5; }

/* ---------- section sub-navigation ---------- */
.sd-subnav { background: #fff; border-bottom: 1px solid var(--sd-line); box-shadow: 0 10px 24px -22px rgba(1, 42, 32, .5); }
.sd-subnav__list { list-style: none; margin: 0; padding: 14px 0; display: flex; flex-wrap: wrap; gap: 8px; }
/* on narrow screens the row scrolls sideways, with a fade showing there is more */
@media (max-width: 900px) {
  .sd-subnav__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-right: 26px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
}
.sd-subnav__list::-webkit-scrollbar { display: none; }
.sd-subnav__list li { flex: none; }
html body .sd-subnav a.sd-subnav__link { display: inline-flex; align-items: center; padding: 9px 16px; border-radius: 999px; white-space: nowrap;
  font: 600 13.5px/1 var(--sd-font-head); color: var(--sd-green-800); text-decoration: none; background: var(--sd-cream); border: 1px solid transparent;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--sd-ease); }
html body .sd-subnav a.sd-subnav__link:hover { background: #fff; border-color: var(--sd-green); color: var(--sd-green); text-decoration: none; font-style: normal; transform: translateY(-1px); }
html body .sd-subnav a.sd-subnav__link.is-current { background: var(--sd-green); color: #fff; box-shadow: 0 6px 14px -6px rgba(4, 100, 76, .6); }

/* ---------- page body: modern reading layout for the existing content ---------- */
.sd-page__body { padding: 64px 0 72px; }
.sd-page .page-content { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sd-page .page-content > .elementor { margin: 0 -10px; }
.sd-page .e-con { --container-max-width: 1200px; }
.sd-page .elementor-widget-text-editor, .sd-page .page-content > p, .sd-page .page-content > ul, .sd-page .page-content > ol {
  font: 400 17px/1.75 var(--sd-font-body); color: #34413c; }
.sd-page .elementor-widget-text-editor p, .sd-page .page-content p { margin: 0 0 1.05em; }
.sd-page .elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.sd-page .elementor-widget-text-editor p:empty, .sd-page .elementor-widget-text-editor p:has(> br:only-child) { display: none; }
/* A bold line on its own reads as a heading */
.sd-page .elementor-widget-text-editor p > b:only-child, .sd-page .elementor-widget-text-editor p > strong:only-child {
  display: block; margin-top: .6em; font: 700 clamp(20px, 1.8vw, 24px)/1.3 var(--sd-font-head); color: var(--sd-green-900); letter-spacing: -.01em; }
.sd-page .elementor-widget-text-editor p:first-child > b:only-child, .sd-page .elementor-widget-text-editor p:first-child > strong:only-child { margin-top: 0; }
.sd-page .elementor-widget-text-editor p > b:only-child::after, .sd-page .elementor-widget-text-editor p > strong:only-child::after {
  content: ""; display: block; width: 44px; height: 3px; margin-top: 12px; border-radius: 3px; background: linear-gradient(90deg, var(--sd-accent), var(--sd-green)); }
html body .sd-page .page-content h1, html body .sd-page .page-content h2, html body .sd-page .page-content h3, html body .sd-page .page-content h4 {
  font-family: var(--sd-font-head); color: var(--sd-green-900); letter-spacing: -.01em; line-height: 1.25; text-transform: none; }
html body .sd-page .page-content h2 { font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; }
html body .sd-page .page-content h3 { font-size: clamp(20px, 1.9vw, 24px); font-weight: 700; }
html body .sd-page .page-content h4 { font-size: 18px; font-weight: 600; }
.sd-page .elementor-widget-text-editor ul, .sd-page .elementor-widget-text-editor ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.sd-page .elementor-widget-text-editor li { margin: .35em 0; }
.sd-page .elementor-widget-text-editor li::marker { color: var(--sd-green); }
html body .sd-page .page-content a:not(.sd-btn):not(.elementor-button) { color: var(--sd-green); text-decoration: underline; text-decoration-color: rgba(4, 100, 76, .35); text-underline-offset: 3px; text-decoration-thickness: 1.5px; font-style: normal; transition: color .2s, text-decoration-color .2s; }
html body .sd-page .page-content a:not(.sd-btn):not(.elementor-button):hover { color: var(--sd-green-800); text-decoration-color: var(--sd-accent); font-style: normal; text-transform: none; }

/* images */
.sd-page .elementor-widget-image img, .sd-page .page-content > p img, .sd-page .wp-block-image img {
  border: 0 !important; border-radius: 20px !important; box-shadow: 0 26px 50px -28px rgba(1, 42, 32, .55) !important; }
.sd-page .elementor-widget-image .elementor-widget-container { overflow: visible; }
.sd-page .elementor-widget-image a img { transition: transform .5s var(--sd-ease), box-shadow .5s var(--sd-ease); }
.sd-page .elementor-widget-image a:hover img { transform: translateY(-4px); }
.sd-page figcaption, .sd-page .widget-image-caption { margin-top: 10px; font-size: 14px; color: var(--sd-muted); text-align: center; }

/* icon lists -> tidy checklist cards */
.sd-page .elementor-icon-list-items { display: grid; gap: 10px; }
.sd-page .elementor-icon-list-items .elementor-icon-list-item { margin: 0 !important; padding: 12px 16px !important; border-radius: 14px; background: var(--sd-cream); align-items: flex-start !important; transition: transform .2s var(--sd-ease), background-color .2s; }
.sd-page .elementor-icon-list-items .elementor-icon-list-item:hover { transform: translateX(4px); background: #efece2; }
.sd-page .elementor-icon-list-items .elementor-icon-list-item::after { display: none !important; }
.sd-page .elementor-icon-list-icon { flex: none; width: 28px; height: 28px; margin-right: 12px; border-radius: 50%; display: grid !important; place-items: center; background: var(--sd-green); }
.sd-page .elementor-icon-list-icon svg, .sd-page .elementor-icon-list-icon i { fill: #fff !important; color: #fff !important; width: 13px !important; height: 13px !important; font-size: 13px !important; }
.sd-page .elementor-icon-list-text { font: 500 16px/1.5 var(--sd-font-body); color: var(--sd-ink) !important; padding-top: 2px; }

/* carousels */
.sd-page .elementor-widget-media-carousel .swiper-slide, .sd-page .elementor-widget-image-carousel .swiper-slide, .sd-page .elementor-carousel-image { border-radius: 18px; overflow: hidden; }
.sd-page .swiper-pagination-bullet-active { background: var(--sd-green) !important; }
.sd-page .elementor-swiper-button { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--sd-green) !important; box-shadow: var(--sd-shadow); }
.sd-page .elementor-swiper-button svg { fill: var(--sd-green) !important; width: 18px; }

/* tables (TablePress rosters & schedules) */
.sd-page .tablepress { border-collapse: separate !important; border-spacing: 0; width: 100%; border: 1px solid var(--sd-line); border-radius: 16px; overflow: hidden; font: 400 15px/1.45 var(--sd-font-body); box-shadow: 0 18px 40px -30px rgba(1, 42, 32, .45); }
.sd-page .tablepress thead th, .sd-page .tablepress tfoot th { background: var(--sd-green) !important; color: #fff !important; font: 600 13px/1.3 var(--sd-font-head); letter-spacing: .04em; text-transform: uppercase; padding: 14px 16px !important; border: 0 !important; }
.sd-page .tablepress td { padding: 12px 16px !important; border: 0 !important; border-top: 1px solid var(--sd-line) !important; background: #fff; }
.sd-page .tablepress tbody tr:nth-child(even) td { background: #fbfaf6 !important; }
.sd-page .tablepress tbody tr:hover td { background: #eef7f1 !important; }
.sd-page .tablepress-table-name, .sd-page .tablepress-table-description { font-family: var(--sd-font-head); color: var(--sd-green-900); }
.sd-page .dataTables_wrapper, .sd-page .tablepress-scroll-wrapper { overflow-x: auto; }

/* document / link cards (e.g. Forms page) */
.sd-page p.sd-doc { margin: 0 0 12px !important; }
html body .sd-page .page-content p.sd-doc a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--sd-line); text-decoration: none; color: var(--sd-ink); box-shadow: 0 10px 26px -22px rgba(1, 42, 32, .6); transition: transform .25s var(--sd-ease), box-shadow .25s var(--sd-ease), border-color .25s; }
html body .sd-page .page-content p.sd-doc a:hover { transform: translateY(-2px); border-color: var(--sd-green); box-shadow: 0 18px 34px -22px rgba(1, 42, 32, .6); text-decoration: none; }
.sd-doc__ico { flex: none; width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: #e7f5ec; color: var(--sd-green); }
.sd-doc__txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sd-doc__txt strong { font: 700 16px/1.35 var(--sd-font-head); color: var(--sd-green-900); }
.sd-doc__desc { font: 400 15px/1.5 var(--sd-font-body); color: var(--sd-muted); margin: 2px 0 4px; }
html body .sd-page p.sd-doc a, html body .sd-page p.sd-doc a * { text-decoration: none !important; }
.sd-doc__txt small { font: 600 11px/1 var(--sd-font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--sd-muted); }
.sd-page .sd-doc__go { color: var(--sd-green); transition: transform .25s var(--sd-ease); }
.sd-page p.sd-doc a:hover .sd-doc__go { transform: translateX(4px); }
.sd-page p.sd-doc a:hover .sd-doc__ico .sd-licon { animation: sd-wiggle .6s ease; }

/* staff directory + staff profile (Team plugin markup) */
.sd-page .sptp-member { border-radius: 18px !important; overflow: hidden; background: #fff; border: 1px solid var(--sd-line) !important; box-shadow: 0 16px 36px -28px rgba(1, 42, 32, .55); transition: transform .3s var(--sd-ease), box-shadow .3s var(--sd-ease); }
.sd-page .sptp-member:hover { transform: translateY(-4px); box-shadow: 0 26px 46px -28px rgba(1, 42, 32, .6); }
.sd-page .sptp-member-avatar-img img { transition: transform .5s var(--sd-ease); }
.sd-page .sptp-member:hover .sptp-member-avatar-img img { transform: scale(1.04); }
.sd-page .sptp-member-name h2, .sd-page .sptp-name { font-family: var(--sd-font-head) !important; color: var(--sd-green-900) !important; }
.sd-page .sptp-profession-text { font-family: var(--sd-font-body) !important; color: var(--sd-muted) !important; font-weight: 500 !important; }
.sd-page .sptp-single-post { max-width: 980px; margin: 0 auto; padding: 0 24px; }
.sd-page .sptp-single-post .sptp-list-style { display: grid; grid-template-columns: minmax(220px, 340px) 1fr; gap: 40px; align-items: center; padding: 28px; border-radius: 24px; background: var(--sd-cream); }
.sd-page .sptp-single-post .sptp-member-avatar-area, .sd-page .sptp-single-post .sptp-member-avatar, .sd-page .sptp-single-post .swiper-container { width: 100% !important; max-width: none !important; margin: 0 !important; }
.sd-page .sptp-single-post img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 24px 44px -26px rgba(1, 42, 32, .6); display: block; }
.sd-page .sptp-single-post .sptp-info { flex-direction: column; align-items: flex-start; }
.sd-page .sptp-single-post .sptp-info, .sd-page .sptp-single-post .sptp-info * { text-align: left !important; }
.sd-page .sptp-single-post .sptp-info::before { content: "Faculty & Staff"; margin-bottom: 10px; font: 700 11px/1 var(--sd-font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--sd-green); }
.sd-page .sptp-single-post .sptp-name { margin: 0 0 8px !important; font-size: clamp(26px, 3vw, 36px) !important; line-height: 1.15; }
.sd-page .sptp-single-post .sptp-profession-text { margin: 0 !important; font-size: 18px !important; }
.sd-page .sptp_gallery_image_caption { display: none; }
.sd-page .sptp-content:empty { display: none; }

/* calendar plugin */
.sd-page .sugar-calendar-event-list-block, .sd-page .sc-frontend-single-event { font-family: var(--sd-font-body); }

/* ---------- coming soon (pages with no content yet) ---------- */
.sd-soon { max-width: 720px; margin: 0 auto; text-align: center; padding: 48px 32px; border-radius: 28px; background: var(--sd-cream); border: 1px dashed rgba(4, 100, 76, .3); }
.sd-soon__ico { width: 76px; height: 76px; margin: 0 auto 20px; border-radius: 22px; display: grid; place-items: center; background: #fff; color: var(--sd-green); box-shadow: var(--sd-shadow); }
.sd-soon__ico .sd-licon { width: 36px; height: 36px; }
.sd-soon__ico .sd-licon { animation: sd-wiggle 2.4s ease-in-out 1.2s infinite; }
html body .sd-soon h2 { margin: 0 0 10px; font: 700 clamp(22px, 2.4vw, 28px)/1.2 var(--sd-font-head); color: var(--sd-green-900); text-transform: none; }
.sd-soon p { margin: 0 auto 24px; max-width: 520px; color: var(--sd-muted); font-size: 17px; line-height: 1.6; }
.sd-soon__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
html body .sd-soon a.sd-btn { text-decoration: none; font-style: normal; }
.sd-btn--ghost { background: #fff; color: var(--sd-green); border-color: var(--sd-line); }
html body .sd-soon a.sd-btn--ghost:hover { border-color: var(--sd-green); color: var(--sd-green); }
.sd-soon .sd-btn .sd-ico { width: 16px; height: 16px; }

/* ---------- keep exploring ---------- */
.sd-explore { padding: 64px 0 80px; background: linear-gradient(180deg, var(--sd-cream), #fff); border-top: 1px solid var(--sd-line); }
html body h2.sd-explore__title { margin: 0 0 26px; font: 700 clamp(22px, 2.2vw, 28px)/1.2 var(--sd-font-head); color: var(--sd-green-900); text-transform: none; letter-spacing: -.01em; }
.sd-explore__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
html body .sd-explore a.sd-card { position: relative; height: 100%; display: flex; align-items: center; gap: 14px; padding: 18px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--sd-line);
  text-decoration: none; color: var(--sd-green-900); box-shadow: 0 12px 30px -26px rgba(1, 42, 32, .7); overflow: hidden;
  transition: opacity .7s var(--sd-ease), transform .35s var(--sd-ease), box-shadow .35s var(--sd-ease), border-color .35s; }
html body .sd-explore a.sd-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--sd-green), var(--sd-green-800)); opacity: 0; transition: opacity .35s var(--sd-ease); z-index: 0; }
html body .sd-explore a.sd-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 22px 40px -22px rgba(1, 42, 32, .7); text-decoration: none; font-style: normal; color: #fff; }
html body .sd-explore a.sd-card:hover::before { opacity: 1; }
.sd-card > * { position: relative; z-index: 1; }
.sd-card__ico { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #e7f5ec; color: var(--sd-green); transition: background-color .35s, color .35s; }
.sd-card:hover .sd-card__ico { background: rgba(255, 255, 255, .14); color: var(--sd-accent); }
.sd-card:hover .sd-card__ico .sd-licon { animation: sd-wiggle .6s ease; }
.sd-card__label { flex: 1; min-width: 0; font: 600 15.5px/1.3 var(--sd-font-head); }
.sd-card__go { color: var(--sd-green); transition: transform .3s var(--sd-ease), color .3s; }
.sd-card:hover .sd-card__go { color: #fff; transform: translateX(4px); }

/* ---------- reading progress ---------- */
.sd-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 1100; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--sd-accent), #b8f5c9); pointer-events: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .sd-phero__badge { width: 96px; height: 96px; border-radius: 26px; }
  .sd-licon--hero { width: 44px; height: 44px; }
  .sd-page .sptp-single-post .sptp-list-style { grid-template-columns: 1fr; }
  .sd-page .sptp-single-post .sptp-info { align-items: center; }
  .sd-page .sptp-single-post .sptp-info, .sd-page .sptp-single-post .sptp-info * { text-align: center !important; }
  .sd-page .sptp-single-post .sptp-member-avatar-area { max-width: 320px !important; margin: 0 auto !important; }
}
@media (max-width: 640px) {
  .sd-phero__inner { padding-top: 32px; padding-bottom: 40px; min-height: 0; align-items: flex-end; }
  .sd-phero__badge { width: 64px; height: 64px; border-radius: 18px; align-self: flex-start; order: -1; display: none; }
  .sd-crumbs ol { margin-bottom: 14px; font-size: 12.5px; }
  .sd-page__body { padding: 40px 0 48px; }
  .sd-page .elementor-widget-text-editor { font-size: 16.5px; }
  .sd-explore { padding: 44px 0 56px; }
  .sd-explore__grid { grid-template-columns: 1fr; gap: 10px; }
  .sd-soon { padding: 36px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .sd-js .sd-reveal { opacity: 1; transform: none; transition: none; }
  .sd-licon *, .sd-js .sd-reveal .sd-licon *, .sd-js .sd-phero .sd-licon * { stroke-dashoffset: 0 !important; animation: none !important; }
  .sd-phero__badge, .sd-phero__orb, .sd-soon__ico .sd-licon { animation: none !important; }
}

/* ==========================================================================
   Live icons everywhere: the lines draw themselves in, and react to hover
   ========================================================================== */
.sd-js .sd-ico *, .sd-js .sd-quick__ico svg *, .sd-js .sd-hero__badge-ico svg *, .sd-js .sd-awards__medal svg *, .sd-js .sd-ig__badge svg * {
  stroke-dasharray: 1; stroke-dashoffset: 1; animation: sd-draw .9s var(--sd-ease) forwards; }
.sd-js .sd-ico *:nth-child(2), .sd-js .sd-quick__ico svg *:nth-child(2) { animation-delay: .1s; }
.sd-js .sd-ico *:nth-child(n+3), .sd-js .sd-quick__ico svg *:nth-child(n+3) { animation-delay: .2s; }
/* shapes that are filled rather than drawn shouldn't fade in */
.sd-js .sd-ico [fill="currentColor"], .sd-js .sd-quick__ico svg [fill="currentColor"], .sd-js .sd-awards__medal svg [fill="currentColor"] { stroke-dasharray: none; stroke-dashoffset: 0; animation: none; }

.sd-topbar a:hover .sd-ico, .sd-footer__contact li:hover .sd-ico, .sd-social:hover .sd-ico,
.sd-welcome__facts li:hover .sd-ico, .sd-drawer a:hover > .sd-ico, .sd-totop:hover .sd-ico,
.sd-doc a:hover .sd-doc__ico .sd-licon, .sd-awards__list li:hover .sd-awards__medal svg,
.sd-quick__card:hover .sd-quick__ico svg, .sd-hero__badge:hover .sd-hero__badge-ico svg { animation: sd-wiggle .6s ease; }
.sd-page .elementor-icon-list-icon { transition: transform .25s var(--sd-ease); }
.sd-page .elementor-icon-list-item:hover .elementor-icon-list-icon { transform: scale(1.12) rotate(-8deg); }
@media (prefers-reduced-motion: reduce) {
  .sd-js .sd-ico *, .sd-js .sd-quick__ico svg *, .sd-js .sd-hero__badge-ico svg *, .sd-js .sd-awards__medal svg *, .sd-js .sd-ig__badge svg * { stroke-dashoffset: 0; animation: none !important; }
}

/* ==========================================================================
   Rebuilt pages: accreditation, history, staff directory, directions
   ========================================================================== */
.sd-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sd-page .sd-acc, .sd-page .sd-hist, .sd-page .sd-dir, .sd-page .sd-dir2 { font-family: var(--sd-font-body); color: #34413c; }
html body .sd-page h2.sd-acc__h, html body .sd-page .sd-dir__h, html body .sd-page .sd-dir2__h {
  margin: 0 0 18px; font: 700 clamp(21px, 2.1vw, 27px)/1.25 var(--sd-font-head); color: var(--sd-green-900); text-transform: none; letter-spacing: -.01em; }

/* ---------- accreditation ---------- */
.sd-acc__intro { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: center; padding: 34px; border-radius: 24px; background: var(--sd-cream); margin-bottom: 44px; }
.sd-acc__logos { display: grid; gap: 18px; }
.sd-acc__logo { display: grid; place-items: center; padding: 16px 20px; background: #fff; border-radius: 16px; box-shadow: 0 14px 30px -24px rgba(1, 42, 32, .6); }
.sd-acc__logo img { max-width: 100%; height: auto; display: block; }
.sd-acc__introtxt p { margin: 0 0 14px; font-size: 17.5px; line-height: 1.7; }
.sd-acc__facts { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; }
.sd-acc__facts li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--sd-line); }
.sd-acc__facts .sd-licon { width: 24px; height: 24px; color: var(--sd-green); flex: none; }
.sd-acc__facts span { display: flex; flex-direction: column; font-size: 13.5px; color: var(--sd-muted); }
.sd-acc__facts strong { font: 700 15px var(--sd-font-head); color: var(--sd-green-900); }

.sd-tabs__bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 26px; }
html body .sd-page button.sd-tabs__btn { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; padding: 14px 20px; border: 1px solid var(--sd-line); border-radius: 16px; background: #fff; cursor: pointer;
  font: 700 17px/1 var(--sd-font-head); color: var(--sd-green-900); transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--sd-ease); }
html body .sd-page button.sd-tabs__btn small { font: 500 12.5px/1.2 var(--sd-font-body); color: var(--sd-muted); }
html body .sd-page button.sd-tabs__btn:hover { transform: translateY(-2px); border-color: var(--sd-green); }
html body .sd-page button.sd-tabs__btn.is-active { background: var(--sd-green); color: #fff; border-color: var(--sd-green); box-shadow: 0 12px 26px -14px rgba(4, 100, 76, .7); }
html body .sd-page button.sd-tabs__btn.is-active small { color: rgba(255, 255, 255, .8); }
.sd-tabs__panel { animation: sd-fadein .45s var(--sd-ease); }
@keyframes sd-fadein { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.sd-tabs__lead { margin: 0 0 26px; font-size: 17px; line-height: 1.75; max-width: 900px; }
.sd-acc__grid { list-style: none; margin: 0 0 48px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.sd-acc__card { position: relative; padding: 22px 22px 22px 66px; border-radius: 18px; background: #fff; border: 1px solid var(--sd-line); box-shadow: 0 16px 34px -30px rgba(1, 42, 32, .7); transition: transform .25s var(--sd-ease), box-shadow .25s var(--sd-ease); }
.sd-acc__card:hover { transform: translateY(-3px); box-shadow: 0 24px 40px -28px rgba(1, 42, 32, .7); }
.sd-acc__num { position: absolute; left: 20px; top: 20px; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #e7f5ec; color: var(--sd-green); font: 700 13px var(--sd-font-head); }
.sd-acc__card strong { display: block; margin-bottom: 6px; font: 700 16px/1.3 var(--sd-font-head); color: var(--sd-green-900); }
.sd-acc__card > span:not(.sd-acc__num) { font-size: 15px; line-height: 1.6; color: #4a5a54; }

/* ---------- shared gallery + lightbox ---------- */
.sd-gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.sd-gallery--wide { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
html body .sd-page button.sd-gallery__item { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 16px; overflow: hidden; cursor: zoom-in; background: var(--sd-cream); box-shadow: 0 16px 32px -26px rgba(1, 42, 32, .8); }
.sd-gallery__item img { display: block; width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--sd-ease); }
.sd-gallery--wide .sd-gallery__item img { aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 10px; }
.sd-gallery__item:hover img { transform: scale(1.05); }
.sd-gallery__zoom { position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(1, 31, 24, .6); backdrop-filter: blur(3px); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s var(--sd-ease); }
.sd-gallery__zoom .sd-licon { width: 17px; height: 17px; }
.sd-gallery__item:hover .sd-gallery__zoom, .sd-gallery__item:focus-visible .sd-gallery__zoom, .sd-tl__shot:hover .sd-gallery__zoom { opacity: 1; transform: none; }
.sd-lightbox { position: fixed; inset: 0; z-index: 1200; display: grid; place-items: center; padding: 32px; background: rgba(1, 25, 19, .88); backdrop-filter: blur(6px); animation: sd-fadein .25s var(--sd-ease); }
.sd-lightbox__fig { margin: 0; max-width: min(1100px, 92vw); max-height: 88vh; display: flex; flex-direction: column; gap: 14px; }
.sd-lightbox__fig img { max-width: 100%; max-height: 68vh; object-fit: contain; border-radius: 16px; background: #fff; }
.sd-lightbox figcaption { color: rgba(255, 255, 255, .88); font-size: 14.5px; line-height: 1.6; max-width: 820px; }
html body .sd-lightbox button.sd-lightbox__x { position: absolute; top: 18px; right: 20px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: grid; place-items: center; }
html body .sd-lightbox button.sd-lightbox__x:hover { background: rgba(255, 255, 255, .18); }

/* ---------- history timeline ---------- */
.sd-hist__intro { margin-bottom: 52px; }
.sd-hist__lead { margin: 0 0 26px; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.7; color: #2f3c37; max-width: 900px; }
.sd-hist__stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.sd-hist__stats li { padding: 20px; border-radius: 18px; background: linear-gradient(145deg, var(--sd-green), var(--sd-green-800)); color: #fff; text-align: center; box-shadow: 0 20px 40px -28px rgba(1, 42, 32, .9); }
.sd-hist__stats strong { display: block; font: 700 clamp(26px, 3vw, 34px)/1 var(--sd-font-head); color: var(--sd-accent); }
.sd-hist__stats span { display: block; margin-top: 6px; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }

.sd-tl { list-style: none; position: relative; margin: 0 0 56px; padding: 0; }
.sd-tl::before { content: ""; position: absolute; left: 50%; top: 6px; bottom: 6px; width: 2px; margin-left: -1px; background: linear-gradient(180deg, var(--sd-accent), var(--sd-green) 20%, var(--sd-green) 80%, transparent); }
.sd-tl__item { position: relative; width: 50%; padding: 0 56px 34px 0; }
.sd-tl__item.is-right { margin-left: 50%; padding: 0 0 34px 56px; }
.sd-tl__dot { position: absolute; top: 6px; right: -22px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--sd-green); border: 2px solid var(--sd-green); box-shadow: 0 0 0 6px #fff, 0 12px 24px -14px rgba(1, 42, 32, .8); z-index: 1; }
.sd-tl__item.is-right .sd-tl__dot { right: auto; left: -22px; }
.sd-tl__dot .sd-licon { width: 21px; height: 21px; }
.sd-tl__card { padding: 24px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--sd-line); box-shadow: 0 18px 38px -30px rgba(1, 42, 32, .75); transition: transform .3s var(--sd-ease), box-shadow .3s var(--sd-ease); }
.sd-tl__item:hover .sd-tl__card { transform: translateY(-3px); box-shadow: 0 26px 44px -28px rgba(1, 42, 32, .75); }
.sd-tl__year { display: inline-block; margin-bottom: 8px; padding: 5px 12px; border-radius: 999px; background: var(--sd-green); color: #fff; font: 700 12.5px/1 var(--sd-font-head); letter-spacing: .08em; }
html body .sd-page h3.sd-tl__title { margin: 0 0 10px; font: 700 19px/1.3 var(--sd-font-head); color: var(--sd-green-900); text-transform: none; }
.sd-tl__card p { margin: 0; font-size: 15.5px; line-height: 1.7; color: #4a5a54; }
html body .sd-page button.sd-tl__shot { position: relative; display: block; width: 100%; margin-top: 16px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--sd-cream); }
.sd-tl__shot img { display: block; width: 100%; height: 200px; object-fit: cover; transition: transform .5s var(--sd-ease); }
.sd-tl__shot:hover img { transform: scale(1.04); }

.sd-hist__closing { position: relative; margin: 0 0 56px; padding: 40px; border-radius: 24px; color: #fff; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0, rgba(77, 217, 114, .25), transparent 60%), linear-gradient(140deg, var(--sd-green), var(--sd-green-900)); }
.sd-hist__closing-ico { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border-radius: 18px; background: rgba(255, 255, 255, .12); color: var(--sd-accent); }
.sd-hist__closing-ico .sd-licon { width: 30px; height: 30px; }
html body .sd-page .sd-hist__closing h2 { margin: 0 0 12px; font: 700 clamp(22px, 2.2vw, 28px)/1.2 var(--sd-font-head); color: #fff; text-transform: none; }
.sd-hist__closing p { margin: 0; max-width: 780px; font-size: 16.5px; line-height: 1.75; color: rgba(255, 255, 255, .88); }
.sd-hist__archive { margin-bottom: 46px; }
.sd-hist__hint { margin: -8px 0 18px; font-size: 14.5px; color: var(--sd-muted); }

/* ---------- staff directory ---------- */
.sd-dir__tools { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.sd-dir__search { position: relative; flex: 1 1 280px; max-width: 420px; }
.sd-dir__searchico { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--sd-green); pointer-events: none; }
html body .sd-page .sd-dir__search input { width: 100%; padding: 14px 18px 14px 48px; border-radius: 999px; border: 1px solid var(--sd-line); background: #fff; font: 400 15.5px var(--sd-font-body); color: var(--sd-ink); box-shadow: 0 12px 28px -26px rgba(1, 42, 32, .8); transition: border-color .2s, box-shadow .2s; }
html body .sd-page .sd-dir__search input:focus { outline: none; border-color: var(--sd-green); box-shadow: 0 0 0 4px rgba(4, 100, 76, .12); }
.sd-dir__filters { display: flex; flex-wrap: wrap; gap: 8px; }
html body .sd-page button.sd-dir__filter { padding: 10px 18px; border-radius: 999px; border: 1px solid transparent; background: var(--sd-cream); cursor: pointer;
  font: 600 13.5px/1 var(--sd-font-head); color: var(--sd-green-800); transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--sd-ease); }
html body .sd-page button.sd-dir__filter:hover { transform: translateY(-1px); border-color: var(--sd-green); }
html body .sd-page button.sd-dir__filter.is-active { background: var(--sd-green); color: #fff; }
.sd-dir__count { margin: 0 0 26px; font-size: 14px; color: var(--sd-muted); }
.sd-dir__h { margin-top: 12px; }
.sd-dir__grid { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(215px, 1fr)); gap: 18px; }
html body .sd-page a.sd-person { display: flex; flex-direction: column; height: 100%; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--sd-line); text-decoration: none;
  box-shadow: 0 18px 36px -30px rgba(1, 42, 32, .8); transition: opacity .7s var(--sd-ease), transform .3s var(--sd-ease), box-shadow .3s var(--sd-ease), border-color .3s; }
html body .sd-page a.sd-person:hover { transform: translateY(-5px); border-color: var(--sd-green); box-shadow: 0 28px 48px -28px rgba(1, 42, 32, .8); text-decoration: none; }
.sd-dir__cell { display: flex; }
.sd-person__photo { display: block; overflow: hidden; background: var(--sd-cream); }
.sd-person__photo.is-crest img { object-fit: contain; padding: 26px; background: linear-gradient(160deg, #fff, var(--sd-cream)); }
.sd-person__body { flex: 1; }
.sd-person__photo img { display: block; width: 100%; height: 240px; object-fit: cover; object-position: center 18%; transition: transform .6s var(--sd-ease); }
.sd-person:hover .sd-person__photo img { transform: scale(1.05); }
.sd-person__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; }
.sd-person__body strong { font: 700 15.5px/1.3 var(--sd-font-head); color: var(--sd-green-900); }
.sd-person__body small { font-size: 13.5px; line-height: 1.45; color: var(--sd-muted); }
.sd-person__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font: 600 12.5px var(--sd-font-head); color: var(--sd-green); opacity: 0; transform: translateY(4px); transition: opacity .25s, transform .25s var(--sd-ease); }
.sd-person__go .sd-ico { width: 15px; height: 15px; }
.sd-person:hover .sd-person__go, .sd-person:focus-visible .sd-person__go { opacity: 1; transform: none; }
.sd-dir__cell.is-hidden { display: none; }
.sd-dir__section.is-hidden { display: none; }
.sd-dir__empty { padding: 30px; border-radius: 18px; background: var(--sd-cream); text-align: center; color: var(--sd-muted); }
html body .sd-page .sd-dir__empty button { border: 0; background: none; color: var(--sd-green); font: 600 15px var(--sd-font-head); cursor: pointer; text-decoration: underline; }

/* ---------- directions ---------- */
.sd-dir2__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 34px; align-items: start; }
.sd-dir2__info { padding: 34px; border-radius: 24px; background: var(--sd-cream); }
html body .sd-page .sd-dir2__h { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; }
.sd-dir2__h + p { margin-top: 0; }
.sd-dir2__h .sd-licon { width: 26px; height: 26px; color: var(--sd-green); }
.sd-dir2__info p { margin: 0 0 18px; font-size: 16.5px; line-height: 1.7; }
.sd-dir2__addr { margin: 0 0 20px; padding: 16px 20px; border-radius: 14px; background: #fff; border-left: 4px solid var(--sd-accent); font: 600 17px/1.5 var(--sd-font-head); font-style: normal; color: var(--sd-green-900); }
.sd-dir2__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
html body .sd-page .sd-dir2__actions a.sd-btn { text-decoration: none; }
.sd-dir2__note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--sd-line); font-size: 15.5px !important; }
.sd-dir2__note .sd-licon { flex: none; width: 22px; height: 22px; color: var(--sd-green); }
.sd-dir2__map { position: relative; border-radius: 24px; overflow: hidden; box-shadow: 0 26px 50px -30px rgba(1, 42, 32, .8); border: 1px solid var(--sd-line); }
.sd-page .sd-dir2__map iframe { display: block; width: 100%; height: 420px; border: 0; }
html body .sd-page a.sd-dir2__maplink { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font: 600 14px var(--sd-font-head); color: var(--sd-green); text-decoration: none; }
html body .sd-page a.sd-dir2__maplink:hover { color: var(--sd-green-800); text-decoration: none; }

@media (max-width: 980px) {
  .sd-acc__intro { grid-template-columns: 1fr; gap: 26px; padding: 26px; }
  .sd-acc__logos { grid-template-columns: 1fr 1fr; }
  .sd-tl::before { left: 21px; }
  .sd-tl__item, .sd-tl__item.is-right { width: 100%; margin-left: 0; padding: 0 0 28px 62px; }
  .sd-tl__dot, .sd-tl__item.is-right .sd-tl__dot { left: 0; right: auto; }
  .sd-dir2__grid { grid-template-columns: 1fr; }
  .sd-page .sd-dir2__map iframe { height: 340px; }
}
@media (max-width: 640px) {
  .sd-acc__grid { grid-template-columns: 1fr; }
  .sd-dir__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
  .sd-person__photo img { height: 180px; }
  .sd-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .sd-hist__closing { padding: 28px 22px; }
  .sd-dir2__info { padding: 24px 20px; }
  .sd-page .sd-dir2__map iframe { height: 260px; }
  .sd-lightbox { padding: 16px; }
}

/* ==========================================================================
   Live sports feed (schedule + standings from CYO-LA)
   ========================================================================== */
.sd-page .sd-sport { margin-top: 26px; font-family: var(--sd-font-body); }
.sd-sport__head { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-end; justify-content: space-between; padding-bottom: 20px; border-bottom: 1px solid var(--sd-line); margin-bottom: 26px; }
html body .sd-page h2.sd-sport__title { margin: 0; font: 700 clamp(24px, 2.4vw, 32px)/1.2 var(--sd-font-head); color: var(--sd-green-900); text-transform: none; }
.sd-sport__stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.sd-sport__stats li { min-width: 92px; padding: 12px 16px; border-radius: 14px; background: var(--sd-cream); text-align: center; }
.sd-sport__stats strong { display: block; font: 700 22px/1 var(--sd-font-head); color: var(--sd-green); }
.sd-sport__stats span { display: block; margin-top: 4px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--sd-muted); }

.sd-sport__next { display: flex; gap: 18px; align-items: center; padding: 22px 26px; margin-bottom: 30px; border-radius: 20px; color: #fff;
  background: radial-gradient(500px 240px at 100% 0, rgba(77, 217, 114, .25), transparent 60%), linear-gradient(135deg, var(--sd-green), var(--sd-green-900)); }
.sd-sport__nextico { flex: none; width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--sd-accent); }
.sd-sport__nextico .sd-licon { width: 26px; height: 26px; }
.sd-sport__nextlabel { margin: 0 0 4px; font: 700 11px/1 var(--sd-font-head); letter-spacing: .16em; text-transform: uppercase; color: var(--sd-accent); }
.sd-sport__nextline { margin: 0 0 4px; font-size: 18px; color: #fff; }
.sd-sport__nextline strong { font-family: var(--sd-font-head); }
.sd-sport__nextplace { margin: 0; display: flex; align-items: center; gap: 7px; font-size: 14px; color: rgba(255, 255, 255, .82); }
html body .sd-page .sd-sport__nextplace a { color: rgba(255, 255, 255, .92); text-decoration: underline; text-underline-offset: 3px; }

.sd-sport__block { margin-bottom: 38px; }
.sd-sport__blockhead { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 16px; }
html body .sd-page h3.sd-sport__h { margin: 0 0 16px; font: 700 20px/1.2 var(--sd-font-head); color: var(--sd-green-900); text-transform: none; }
.sd-sport__blockhead h3.sd-sport__h { margin: 0; }
.sd-sport__tabs { display: flex; gap: 6px; }
html body .sd-page button.sd-sport__tab { padding: 8px 15px; border: 1px solid transparent; border-radius: 999px; background: var(--sd-cream); cursor: pointer; font: 600 13px/1 var(--sd-font-head); color: var(--sd-green-800); transition: background-color .2s, color .2s; }
html body .sd-page button.sd-sport__tab.is-active { background: var(--sd-green); color: #fff; }

.sd-sched { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sd-sched__row { display: grid; grid-template-columns: 82px 1fr auto; gap: 18px; align-items: center; padding: 14px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--sd-line); transition: transform .2s var(--sd-ease), box-shadow .2s var(--sd-ease), border-color .2s; }
.sd-sched__row:hover { transform: translateX(3px); border-color: rgba(4, 100, 76, .35); box-shadow: 0 16px 30px -26px rgba(1, 42, 32, .8); }
.sd-sched__row.is-hidden { display: none; }
.sd-sched__date { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 8px 6px; border-radius: 12px; background: var(--sd-cream); line-height: 1.15; }
.sd-sched__date small { font: 600 11px var(--sd-font-head); letter-spacing: .08em; text-transform: uppercase; color: var(--sd-muted); }
.sd-sched__date strong { font: 700 16px var(--sd-font-head); color: var(--sd-green-900); }
.sd-sched__date em { font-style: normal; font-size: 11.5px; color: var(--sd-muted); }
.sd-sched__match { min-width: 0; }
.sd-sched__teams { display: block; font: 600 16.5px/1.3 var(--sd-font-head); color: var(--sd-green-900); }
.sd-sched__where { display: inline-block; margin-right: 4px; font: 700 11.5px var(--sd-font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--sd-green); }
.sd-sched__meta { display: block; margin-top: 3px; font-size: 13.5px; color: var(--sd-muted); }
html body .sd-page .sd-sched__meta a { color: var(--sd-muted); text-decoration: underline; text-decoration-color: rgba(4, 100, 76, .3); }
html body .sd-page .sd-sched__meta a:hover { color: var(--sd-green); }
.sd-sched__result { display: flex; align-items: center; gap: 10px; }
.sd-sched__badge { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font: 700 13px var(--sd-font-head); color: #fff; background: var(--sd-muted); }
.sd-sched__badge.is-w { background: var(--sd-green); }
.sd-sched__badge.is-l { background: #b5473f; }
.sd-sched__badge.is-t { background: #a08a3c; }
.sd-sched__score { font: 700 17px var(--sd-font-head); color: var(--sd-green-900); }
.sd-sched__soon { padding: 7px 12px; border-radius: 999px; background: var(--sd-cream); font: 600 12.5px var(--sd-font-head); color: var(--sd-green-800); white-space: nowrap; }
.sd-sport__none { padding: 22px; border-radius: 14px; background: var(--sd-cream); text-align: center; color: var(--sd-muted); }

.sd-standings__scroll { overflow-x: auto; border-radius: 16px; border: 1px solid var(--sd-line); box-shadow: 0 18px 38px -32px rgba(1, 42, 32, .7); }
html body .sd-page table.sd-standings { width: 100%; border-collapse: collapse; background: #fff; font: 400 14.5px/1.4 var(--sd-font-body); margin: 0; }
html body .sd-page .sd-standings th, html body .sd-page .sd-standings td { padding: 12px 14px; text-align: center; border: 0; border-top: 1px solid var(--sd-line); white-space: nowrap; }
html body .sd-page .sd-standings thead th { border-top: 0; background: var(--sd-green); color: #fff; font: 600 12px var(--sd-font-head); letter-spacing: .06em; text-transform: uppercase; }
html body .sd-page .sd-standings tbody th[scope="row"] { text-align: left; font: 600 15px var(--sd-font-head); color: var(--sd-green-900); }
.sd-standings tbody tr:nth-child(even) td, .sd-standings tbody tr:nth-child(even) th { background: #fbfaf6; }
html body .sd-page .sd-standings tr.is-ours td, html body .sd-page .sd-standings tr.is-ours th { background: #e7f5ec; }
.sd-standings__us { display: inline-block; margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--sd-green); color: #fff; font: 700 10.5px var(--sd-font-head); letter-spacing: .08em; text-transform: uppercase; }
.sd-sport__source { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--sd-muted); }
.sd-sport__source .sd-licon { width: 18px; height: 18px; color: var(--sd-green); flex: none; }
html body .sd-page .sd-sport__source a { color: var(--sd-green); }

@media (max-width: 760px) {
  .sd-sport__head { align-items: flex-start; }
  .sd-sport__stats { width: 100%; }
  .sd-sport__stats li { flex: 1; min-width: 0; padding: 10px 8px; }
  .sd-sched__row { grid-template-columns: 64px 1fr; gap: 12px; padding: 12px 14px; }
  .sd-sched__result { grid-column: 2; justify-content: flex-start; }
  .sd-sport__next { flex-direction: column; align-items: flex-start; gap: 14px; padding: 20px; }
}

/* ==========================================================================
   Admissions / Financial aid / Nondiscrimination
   ========================================================================== */
.sd-page .sd-adm, .sd-page .sd-fa, .sd-page .sd-nd { font-family: var(--sd-font-body); color: #34413c; }
.sd-adm__top { display: grid; grid-template-columns: 1fr .9fr; gap: 40px; align-items: center; margin-bottom: 52px; }
.sd-adm__lead { margin: 0 0 22px; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.7; color: #2f3c37; }
.sd-adm__cta { display: flex; flex-wrap: wrap; gap: 12px; }
html body .sd-page .sd-adm a.sd-btn, html body .sd-page .sd-fa a.sd-btn { text-decoration: none; }
.sd-adm__openhouse { display: flex; gap: 14px; align-items: center; margin: 24px 0 0; padding: 16px 20px; border-radius: 16px; background: var(--sd-cream); }
.sd-adm__openhouse .sd-licon { width: 26px; height: 26px; color: var(--sd-green); flex: none; }
.sd-adm__openhouse span { display: flex; flex-direction: column; font-size: 15.5px; color: var(--sd-ink); }
.sd-adm__openhouse strong { font: 700 12px var(--sd-font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--sd-green); }
.sd-adm__photo img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 28px 54px -30px rgba(1, 42, 32, .7); display: block; }

.sd-steps { list-style: none; counter-reset: step; margin: 0 0 52px; padding: 0; display: grid; gap: 14px; }
.sd-steps__item { position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 20px; align-items: flex-start; padding: 24px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--sd-line); box-shadow: 0 18px 38px -32px rgba(1, 42, 32, .8); transition: transform .25s var(--sd-ease), box-shadow .25s var(--sd-ease); }
.sd-steps__item:hover { transform: translateY(-3px); box-shadow: 0 26px 44px -30px rgba(1, 42, 32, .8); }
.sd-steps__ico { grid-row: 1; grid-column: 1; width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: #e7f5ec; color: var(--sd-green); }
.sd-steps__ico .sd-licon { width: 28px; height: 28px; }
.sd-steps__item:hover .sd-steps__ico .sd-licon { animation: sd-wiggle .6s ease; }
.sd-steps__num { position: absolute; top: 16px; right: 20px; font: 700 34px/1 var(--sd-font-head); color: rgba(4, 100, 76, .12); }
html body .sd-page .sd-steps__body h3 { margin: 0 0 8px; font: 700 19px/1.3 var(--sd-font-head); color: var(--sd-green-900); text-transform: none; }
.sd-steps__body p { margin: 0 0 12px; font-size: 16px; line-height: 1.7; color: #4a5a54; max-width: 760px; }
html body .sd-page a.sd-link-arrow { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--sd-font-head); color: var(--sd-green); text-decoration: none; }
html body .sd-page a.sd-link-arrow:hover { color: var(--sd-green-800); text-decoration: none; }
.sd-page a.sd-link-arrow .sd-ico { width: 15px; height: 15px; transition: transform .2s var(--sd-ease); }
.sd-page a.sd-link-arrow:hover .sd-ico { transform: translateX(3px); }

.sd-adm__ages { margin-bottom: 40px; }
.sd-adm__agegrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.sd-adm__agegrid li { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: 18px; background: var(--sd-cream); }
.sd-adm__agebadge { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--sd-green); }
.sd-adm__agegrid strong { font: 700 16.5px var(--sd-font-head); color: var(--sd-green-900); }
.sd-adm__agegrid span { font-size: 15px; line-height: 1.6; color: #4a5a54; }
.sd-adm__note { display: flex; gap: 12px; align-items: flex-start; padding: 18px 22px; border-radius: 16px; background: #fff; border: 1px solid var(--sd-line); font-size: 15.5px; line-height: 1.6; }
.sd-adm__note .sd-licon, .sd-fa__help .sd-licon { flex: none; width: 22px; height: 22px; color: var(--sd-green); }

.sd-fa__intro { margin-bottom: 44px; }
.sd-fa__help { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 0; padding: 18px 22px; border-radius: 16px; background: var(--sd-cream); font-size: 16px; line-height: 1.6; }
.sd-fa__block { margin-bottom: 46px; }
.sd-fa__cycles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.sd-fa__cycles li { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 26px 24px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--sd-line); box-shadow: 0 18px 36px -32px rgba(1, 42, 32, .8); }
.sd-fa__cycles span.sd-fa__cyclenum { color: #fff; }
.sd-fa__cyclenum { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--sd-green); color: #fff; font: 700 15px var(--sd-font-head); }
.sd-fa__cycles strong { font: 700 17px/1.3 var(--sd-font-head); color: var(--sd-green-900); }
.sd-fa__cycles span { font-size: 15px; line-height: 1.6; color: #4a5a54; }
.sd-fa__cycles small { display: flex; gap: 8px; align-items: flex-start; margin-top: auto; padding-top: 12px; font-size: 13.5px; color: var(--sd-muted); }
.sd-fa__cycles small .sd-licon { width: 16px; height: 16px; flex: none; color: var(--sd-green); }
.sd-fa__gintro { margin: 0 0 20px; font-size: 16.5px; line-height: 1.7; max-width: 820px; }
.sd-fa__picker { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 20px; }
.sd-fa__pickerlabel { font: 700 12px var(--sd-font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--sd-muted); }
.sd-fa__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
html body .sd-page button.sd-fa__size { width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--sd-line); background: #fff; cursor: pointer; font: 700 16px var(--sd-font-head); color: var(--sd-green-900); transition: background-color .2s, color .2s, transform .2s var(--sd-ease); }
html body .sd-page button.sd-fa__size:hover { transform: translateY(-2px); border-color: var(--sd-green); }
html body .sd-page button.sd-fa__size.is-active { background: var(--sd-green); color: #fff; border-color: var(--sd-green); }
.sd-fa__levels { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.sd-fa__levels li { padding: 22px; border-radius: 18px; text-align: center; background: linear-gradient(145deg, var(--sd-green), var(--sd-green-800)); color: #fff; }
.sd-fa__mission { display: block; font: 700 11.5px var(--sd-font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--sd-accent); }
.sd-fa__levels strong { display: block; margin: 8px 0 6px; font: 700 clamp(24px, 2.6vw, 32px)/1 var(--sd-font-head); }
.sd-fa__per { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .78); }
.sd-fa__fullscroll { overflow-x: auto; border-radius: 16px; border: 1px solid var(--sd-line); margin-bottom: 16px; }
html body .sd-page table.sd-fa__table tr.is-active th, html body .sd-page table.sd-fa__table tr.is-active td { background: #e7f5ec; }
.sd-fa__fine { margin: 0 0 8px; font-size: 13.5px; line-height: 1.6; color: var(--sd-muted); }
.sd-fa__docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
html body .sd-page .sd-fa__docs a { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--sd-line); text-decoration: none; color: var(--sd-ink); box-shadow: 0 10px 26px -24px rgba(1, 42, 32, .7); transition: transform .25s var(--sd-ease), border-color .25s; }
html body .sd-page .sd-fa__docs a:hover { transform: translateY(-2px); border-color: var(--sd-green); }
.sd-fa__docs a:hover .sd-doc__ico .sd-licon { animation: sd-wiggle .6s ease; }
.sd-fa__closingcta { margin: 22px 0 0; }
html body .sd-page .sd-hist__closing a.sd-btn--light { background: #fff; color: var(--sd-green-800); text-decoration: none; }

.sd-nd__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: start; }
.sd-nd__list { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 16px; }
.sd-nd__list li { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 24px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--sd-line); box-shadow: 0 16px 36px -32px rgba(1, 42, 32, .8); }
.sd-nd__ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: #e7f5ec; color: var(--sd-green); }
.sd-nd__ico .sd-licon { width: 26px; height: 26px; }
html body .sd-page .sd-nd__list h2 { margin: 0 0 8px; font: 700 18px/1.3 var(--sd-font-head); color: var(--sd-green-900); text-transform: none; }
.sd-nd__list p { margin: 0; font-size: 16px; line-height: 1.7; color: #4a5a54; }
.sd-nd__note { display: flex; gap: 12px; align-items: center; padding: 18px 22px; border-radius: 16px; background: var(--sd-cream); font-size: 15.5px; }
.sd-nd__note .sd-licon { width: 22px; height: 22px; color: var(--sd-green); flex: none; }
.sd-nd__photo img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 28px 54px -30px rgba(1, 42, 32, .7); display: block; }

@media (max-width: 900px) {
  .sd-adm__top, .sd-nd__grid { grid-template-columns: 1fr; gap: 26px; }
  .sd-steps__item { grid-template-columns: 52px 1fr; gap: 16px; padding: 20px; }
  .sd-steps__ico { width: 52px; height: 52px; }
  .sd-steps__num { font-size: 26px; top: 12px; right: 14px; }
}

/* ==========================================================================
   Team pages (roster, coaches, schedule, photo gallery)
   ========================================================================== */
.sd-page .sd-team { font-family: var(--sd-font-body); color: #34413c; }
.sd-team__hero { position: relative; display: grid; grid-template-columns: 1.35fr .85fr; gap: 0; border-radius: 26px; overflow: hidden; margin-bottom: 30px; background: var(--sd-cream); box-shadow: 0 30px 60px -40px rgba(1, 42, 32, .8); }
.sd-team__hero.is-plain { grid-template-columns: 1fr; }
html body .sd-page button.sd-team__photo { position: relative; display: block; width: 100%; height: 100%; min-height: 260px; padding: 0; border: 0; cursor: zoom-in; background: #0d2b22; overflow: hidden; }
.sd-team__photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--sd-ease); }
.sd-team__photo:hover img { transform: scale(1.03); }
.sd-team__panel { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 34px 32px; color: #fff;
  background: radial-gradient(420px 220px at 100% 0, rgba(77, 217, 114, .22), transparent 60%), linear-gradient(140deg, var(--sd-green), var(--sd-green-900)); }
html body .sd-page h2.sd-team__name { margin: 0; font: 700 clamp(22px, 2.4vw, 30px)/1.15 var(--sd-font-head); color: #fff; text-transform: none; letter-spacing: -.01em; }
.sd-team__facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sd-team__facts li { min-width: 84px; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .1); text-align: center; }
.sd-team__facts strong { display: block; font: 700 21px/1 var(--sd-font-head); color: var(--sd-accent); }
.sd-team__facts span { display: block; margin-top: 4px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.sd-team__coachline { display: flex; gap: 10px; align-items: flex-start; margin: 4px 0 0; font-size: 14.5px; line-height: 1.5; color: rgba(255, 255, 255, .86); }
.sd-team__coachline .sd-licon { flex: none; width: 20px; height: 20px; color: var(--sd-accent); }
.sd-team__note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 26px; padding: 16px 20px; border-radius: 16px; background: #fff8e6; border: 1px solid #f0dfae; font-size: 15.5px; line-height: 1.6; color: #6b5626; }
.sd-team__note .sd-licon { flex: none; width: 22px; height: 22px; color: #a8822c; }
.sd-team__block { margin-bottom: 40px; }
html body .sd-page h2.sd-team__h { margin: 0 0 18px; font: 700 clamp(20px, 2vw, 26px)/1.2 var(--sd-font-head); color: var(--sd-green-900); text-transform: none; }
.sd-team .sd-sport { margin-top: 0; }
.sd-team .sd-sport__blockhead h2.sd-team__h { margin: 0; }

.sd-roster { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.sd-roster__card { height: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 14px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--sd-line); text-align: center;
  box-shadow: 0 14px 30px -28px rgba(1, 42, 32, .8); transition: transform .25s var(--sd-ease), box-shadow .25s var(--sd-ease), border-color .25s; }
.sd-roster__card:hover { transform: translateY(-4px); border-color: var(--sd-green); box-shadow: 0 24px 40px -28px rgba(1, 42, 32, .8); }
/* photos are shown whole - never cropped */
.sd-roster__pic { position: relative; width: 100%; aspect-ratio: 3 / 4; margin-bottom: 12px; border-radius: 16px; display: grid; place-items: center;
  background: linear-gradient(160deg, #eef7f1, var(--sd-cream)); }
.sd-roster__pic img { width: 100%; height: 100%; object-fit: contain; border-radius: 14px; transition: transform .45s var(--sd-ease); }
.sd-roster__card:hover .sd-roster__pic img { transform: scale(1.03); }
.sd-roster__initials { font: 700 40px var(--sd-font-head); color: var(--sd-green); opacity: .75; }
.sd-roster__num { position: absolute; right: 8px; top: 8px; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center;
  background: var(--sd-green); color: #fff; font: 700 14px var(--sd-font-head); border: 2px solid #fff; box-shadow: 0 6px 14px -8px rgba(1, 42, 32, .9); }
.sd-roster__name { font: 700 15px/1.3 var(--sd-font-head); color: var(--sd-green-900); display: flex; align-items: center; justify-content: center; min-height: 2.6em; }
.sd-roster__grade { font-size: 12.5px; color: var(--sd-muted); }

.sd-coaches { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.sd-coaches li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 16px; background: var(--sd-cream); transition: transform .2s var(--sd-ease), background-color .2s; }
.sd-coaches li:hover { transform: translateX(3px); background: #efece2; }
.sd-coaches li:hover .sd-licon { animation: sd-wiggle .6s ease; }
.sd-coaches__ico { flex: none; width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: #fff; color: var(--sd-green); }
.sd-coaches__body { display: flex; flex-direction: column; min-width: 0; }
.sd-coaches__body strong { font: 700 15.5px/1.3 var(--sd-font-head); color: var(--sd-green-900); }
.sd-coaches__body small { font-size: 12.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--sd-muted); }

@media (max-width: 900px) {
  .sd-team__hero { grid-template-columns: 1fr; }
  html body .sd-page button.sd-team__photo { min-height: 200px; max-height: 320px; }
  .sd-team__panel { padding: 26px 22px; }
}
@media (max-width: 560px) {
  .sd-roster { grid-template-columns: repeat(auto-fill, minmax(145px, 1fr)); gap: 12px; }
  .sd-roster__initials { font-size: 32px; }
}

/* ==========================================================================
   Homepage: this week's games
   ========================================================================== */
.sd-week { font-family: var(--sd-font-body); padding: 26px 0; color: #fff;
  background: radial-gradient(700px 300px at 15% -40%, rgba(77, 217, 114, .22), transparent 60%), linear-gradient(120deg, var(--sd-green-900), var(--sd-green)); }
.sd-week * { box-sizing: border-box; }
.sd-week__inner { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; }
.sd-week__head { display: flex; align-items: center; gap: 14px; }
.sd-week__ico { flex: none; width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: rgba(255, 255, 255, .12); color: var(--sd-accent); }
.sd-week__ico .sd-licon { width: 26px; height: 26px; }
html body h2.sd-week__title { margin: 0; font: 700 clamp(18px, 1.8vw, 22px)/1.15 var(--sd-font-head); color: #fff; text-transform: none; white-space: nowrap; }
.sd-week__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.sd-week__list::-webkit-scrollbar { display: none; }
.sd-week__list li { flex: 1 1 0; min-width: 210px; max-width: 360px; }
html body a.sd-week__game { display: flex; gap: 12px; align-items: center; height: 100%; padding: 12px 14px; border-radius: 16px; text-decoration: none;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: #fff; transition: background-color .25s, transform .25s var(--sd-ease), border-color .25s; }
html body a.sd-week__game:hover { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .3); transform: translateY(-2px); text-decoration: none; font-style: normal; color: #fff; }
.sd-week__day { flex: none; width: 52px; padding: 8px 4px; border-radius: 12px; background: rgba(0, 0, 0, .2); text-align: center; line-height: 1.15; }
.sd-week__day strong { display: block; font: 700 13px var(--sd-font-head); color: var(--sd-accent); letter-spacing: .06em; text-transform: uppercase; }
.sd-week__day span { display: block; font-size: 12.5px; color: rgba(255, 255, 255, .85); }
.sd-week__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sd-week__team { display: flex; align-items: center; gap: 6px; font: 700 11px var(--sd-font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--sd-accent); }
.sd-week__team .sd-licon { width: 15px; height: 15px; }
.sd-week__match { font: 600 15px/1.25 var(--sd-font-head); color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-week__meta { font-size: 12.5px; color: rgba(255, 255, 255, .72); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body a.sd-week__all { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 11px 18px; border-radius: 999px; white-space: nowrap;
  font: 600 13.5px var(--sd-font-head); color: var(--sd-green-900); background: #fff; text-decoration: none; transition: transform .2s var(--sd-ease); }
html body a.sd-week__all:hover { transform: translateY(-2px); color: var(--sd-green-900); text-decoration: none; font-style: normal; }
.sd-week__all .sd-ico { width: 15px; height: 15px; }
@media (max-width: 1100px) {
  .sd-week__inner { grid-template-columns: 1fr; gap: 16px; }
  .sd-week__list li { min-width: 200px; }
  html body a.sd-week__all { justify-self: start; }
}

/* ==========================================================================
   PTO page
   ========================================================================== */
.sd-page .sd-pto { font-family: var(--sd-font-body); color: #34413c; }
.sd-pto__top { margin-bottom: 46px; }
.sd-pto__purpose { margin-top: 30px; }
.sd-pto__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.sd-pto__list li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--sd-cream); font-size: 15.5px; line-height: 1.6; transition: transform .2s var(--sd-ease), background-color .2s; }
.sd-pto__list li:hover { transform: translateX(3px); background: #efece2; }
.sd-pto__tick { flex: none; width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: #fff; color: var(--sd-green); }
.sd-pto__tick .sd-licon { width: 19px; height: 19px; }
.sd-pto__block { margin-bottom: 46px; }
.sd-pto__note { display: flex; gap: 12px; align-items: center; margin: -6px 0 22px; padding: 16px 20px; border-radius: 14px; background: #e7f5ec; font-size: 15.5px; color: var(--sd-green-900); }
.sd-pto__note .sd-licon { width: 22px; height: 22px; color: var(--sd-green); flex: none; }
.sd-pto__intro { margin: 0 0 20px; font-size: 16.5px; line-height: 1.7; max-width: 860px; }
.sd-pto__board { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.sd-pto__member { display: flex; gap: 14px; align-items: center; padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--sd-line);
  box-shadow: 0 16px 34px -30px rgba(1, 42, 32, .8); transition: transform .25s var(--sd-ease), box-shadow .25s var(--sd-ease), border-color .25s; }
.sd-pto__member:hover { transform: translateY(-3px); border-color: var(--sd-green); box-shadow: 0 24px 40px -28px rgba(1, 42, 32, .8); }
.sd-pto__member:hover .sd-licon { animation: sd-wiggle .6s ease; }
.sd-pto__ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #e7f5ec; color: var(--sd-green); }
.sd-pto__who { display: flex; flex-direction: column; min-width: 0; }
.sd-pto__who strong { font: 700 16px/1.3 var(--sd-font-head); color: var(--sd-green-900); }
.sd-pto__who small { margin-top: 2px; font: 600 11.5px var(--sd-font-head); letter-spacing: .1em; text-transform: uppercase; color: var(--sd-muted); }
.sd-pto__projects { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sd-pto__projects li { display: flex; gap: 16px; align-items: center; padding: 15px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--sd-line); font-size: 15.5px; line-height: 1.55; }
.sd-pto__num { flex: none; font: 700 15px var(--sd-font-head); color: var(--sd-accent); }

/* ==========================================================================
   Programme pages (faith, technology, music, electives, PE ...)
   ========================================================================== */
.sd-page .sd-prog { font-family: var(--sd-font-body); color: #34413c; }
.sd-prog__lead { margin-bottom: 34px; }
.sd-prog__lead p { margin: 0 0 16px; font-size: clamp(17px, 1.8vw, 20px); line-height: 1.75; color: #2f3c37; max-width: 900px; }
html body .sd-page h2.sd-prog__h { margin: 0 0 16px; font: 700 clamp(21px, 2.1vw, 27px)/1.25 var(--sd-font-head); color: var(--sd-green-900); text-transform: none; letter-spacing: -.01em; }
.sd-prog__intro { margin: -6px 0 20px; font-size: 16.5px; line-height: 1.7; max-width: 900px; color: #4a5a54; }
.sd-prog__block { margin-bottom: 44px; }
.sd-prog__badge { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 30px; padding: 10px 18px; border-radius: 999px; background: #e7f5ec;
  font: 600 14px var(--sd-font-head); color: var(--sd-green-800); }
.sd-prog__badge .sd-licon { width: 20px; height: 20px; color: var(--sd-green); }
.sd-prog__stats { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }
.sd-prog__stats li { padding: 20px; border-radius: 18px; text-align: center; background: linear-gradient(145deg, var(--sd-green), var(--sd-green-800)); color: #fff; box-shadow: 0 20px 40px -30px rgba(1, 42, 32, .9); }
.sd-prog__stats strong { display: block; font: 700 clamp(22px, 2.6vw, 30px)/1 var(--sd-font-head); color: var(--sd-accent); }
.sd-prog__stats span { display: block; margin-top: 6px; font-size: 12.5px; letter-spacing: .05em; text-transform: uppercase; color: rgba(255, 255, 255, .82); }

.sd-prog__cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 16px; }
.sd-prog__cards li { display: flex; flex-direction: column; padding: 26px 24px; border-radius: 20px; background: #fff; border: 1px solid var(--sd-line);
  box-shadow: 0 18px 38px -32px rgba(1, 42, 32, .8); transition: transform .25s var(--sd-ease), box-shadow .25s var(--sd-ease), border-color .25s; }
.sd-prog__cards li:hover { transform: translateY(-4px); border-color: var(--sd-green); box-shadow: 0 26px 46px -30px rgba(1, 42, 32, .8); }
.sd-prog__cards li:hover .sd-prog__ico .sd-licon { animation: sd-wiggle .6s ease; }
.sd-prog__ico { width: 50px; height: 50px; margin-bottom: 14px; border-radius: 15px; display: grid; place-items: center; background: #e7f5ec; color: var(--sd-green); }
.sd-prog__ico .sd-licon { width: 25px; height: 25px; }
html body .sd-page .sd-prog__cards h3 { margin: 0 0 8px; font: 700 18px/1.3 var(--sd-font-head); color: var(--sd-green-900); text-transform: none; }
.sd-prog__cards p { margin: 0 0 10px; font-size: 15.5px; line-height: 1.7; color: #4a5a54; }
.sd-prog__cards li a.sd-link-arrow { margin-top: auto; }

.sd-prog__check { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.sd-prog__check li { display: flex; gap: 12px; align-items: center; padding: 14px 18px; border-radius: 14px; background: var(--sd-cream); font-size: 15.5px; color: var(--sd-ink);
  transition: transform .2s var(--sd-ease), background-color .2s; }
.sd-prog__check li:hover { transform: translateX(3px); background: #efece2; }
.sd-prog__tick { flex: none; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: #fff; color: var(--sd-green); }
.sd-prog__tick .sd-licon { width: 18px; height: 18px; }

.sd-prog__split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 36px; align-items: center; margin-bottom: 44px; }
.sd-prog__splittext p { margin: 0 0 14px; font-size: 16.5px; line-height: 1.75; color: #4a5a54; }
html body .sd-page .sd-prog__splittext a.sd-btn { margin-top: 6px; text-decoration: none; }
html body .sd-page button.sd-prog__splitimg { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 22px; overflow: hidden; cursor: zoom-in; background: var(--sd-cream);
  box-shadow: 0 28px 54px -32px rgba(1, 42, 32, .8); }
.sd-prog__splitimg img { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: cover; transition: transform .5s var(--sd-ease); }
.sd-prog__splitimg:hover img { transform: scale(1.03); }
.sd-prog__note { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 34px; padding: 18px 22px; border-radius: 16px; background: var(--sd-cream); font-size: 15.5px; line-height: 1.7; }
.sd-prog__note .sd-licon { flex: none; width: 22px; height: 22px; color: var(--sd-green); }

@media (max-width: 900px) {
  .sd-prog__split { grid-template-columns: 1fr; gap: 22px; }
  .sd-prog__cards { grid-template-columns: 1fr; }
}

/* ---------- programme page: people, name lists, hubs, steps, tables ---------- */
.sd-people { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.sd-people__card { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 16px 14px 18px; border-radius: 20px; background: #fff; border: 1px solid var(--sd-line);
  box-shadow: 0 16px 34px -30px rgba(1, 42, 32, .8); transition: transform .25s var(--sd-ease), box-shadow .25s var(--sd-ease), border-color .25s; }
.sd-people__card:hover { transform: translateY(-4px); border-color: var(--sd-green); box-shadow: 0 24px 42px -28px rgba(1, 42, 32, .8); }
.sd-people__pic { width: 100%; aspect-ratio: 3 / 4; margin-bottom: 12px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(160deg, #eef7f1, var(--sd-cream)); }
.sd-people__pic { overflow: hidden; }
.sd-people__pic img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; border-radius: 14px; transition: transform .5s var(--sd-ease); }
.sd-people__card:hover .sd-people__pic img { transform: scale(1.04); }
.sd-people__initials { font: 700 38px var(--sd-font-head); color: var(--sd-green); opacity: .75; }
.sd-people__role { font: 700 11px var(--sd-font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--sd-green); }
.sd-people__name { margin-top: 4px; font: 700 15.5px/1.3 var(--sd-font-head); color: var(--sd-green-900); }
.sd-people__bio { margin-top: 10px; width: 100%; text-align: left; }
.sd-people__bio summary { cursor: pointer; font: 600 13px var(--sd-font-head); color: var(--sd-green); list-style: none; text-align: center; }
.sd-people__bio summary::-webkit-details-marker { display: none; }
.sd-people__bio[open] summary { margin-bottom: 8px; }
.sd-people__bio p { margin: 0; font-size: 14px; line-height: 1.65; color: #4a5a54; }

.sd-namelist { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 8px; }
.sd-namelist li { display: flex; gap: 10px; align-items: center; padding: 11px 14px; border-radius: 12px; background: var(--sd-cream); font-size: 14.5px; color: var(--sd-ink); }
.sd-namelist .sd-licon { width: 17px; height: 17px; flex: none; color: var(--sd-green); }

.sd-hub { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 14px; }
html body .sd-page a.sd-hub__card { position: relative; display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--sd-line);
  text-decoration: none; color: var(--sd-green-900); box-shadow: 0 14px 32px -28px rgba(1, 42, 32, .8); overflow: hidden;
  transition: transform .25s var(--sd-ease), box-shadow .25s var(--sd-ease), border-color .25s; }
html body .sd-page a.sd-hub__card:hover { transform: translateY(-4px); border-color: var(--sd-green); box-shadow: 0 24px 42px -26px rgba(1, 42, 32, .8); text-decoration: none; }
.sd-hub__card:hover .sd-hub__ico .sd-licon { animation: sd-wiggle .6s ease; }
.sd-hub__ico { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #e7f5ec; color: var(--sd-green); }
.sd-hub__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.sd-hub__body strong { font: 700 16px/1.3 var(--sd-font-head); }
.sd-hub__body small { font-size: 14px; line-height: 1.55; color: var(--sd-muted); }
.sd-hub__go { flex: none; margin-top: 12px; color: var(--sd-green); transition: transform .25s var(--sd-ease); }
.sd-hub__card:hover .sd-hub__go { transform: translateX(4px); }

.sd-steplist { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: 10px; }
.sd-steplist li { display: flex; gap: 16px; align-items: flex-start; padding: 16px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--sd-line); font-size: 15.5px; line-height: 1.65; color: #4a5a54; }
.sd-steplist__n { flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--sd-green); color: #fff; font: 700 13px var(--sd-font-head); }
html body .sd-page h3.sd-prog__tabletitle { margin: 22px 0 10px; font: 700 16px var(--sd-font-head); color: var(--sd-green-900); text-transform: none; }
