/* Additive links and transitions. The existing homepage, nav and intro keep their styles. */
@view-transition { navigation: auto; }
#sandford-nav { view-transition-name: sandford-nav; }
::view-transition-old(root) { animation: sfd-page-out .35s ease both; }
::view-transition-new(root) { animation: sfd-page-in .35s cubic-bezier(.2,.7,.2,1) both; }
::view-transition-group(sandford-nav),
::view-transition-new(sandford-nav) { animation: none; }
/* The previous page's nav is dropped at once. Leaving it up for the length of the
   transition is what flashed a light bar over dark headers when switching pages. */
::view-transition-old(sandford-nav) { display: none; }
@keyframes sfd-page-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes sfd-page-in { from { opacity: 0; transform: translateY(8px); } }
html:is(.sfh-intro-pending,.sfh-intro-playing,.sfh-nav-revealing)::view-transition-old(root),
html:is(.sfh-intro-pending,.sfh-intro-playing,.sfh-nav-revealing)::view-transition-new(root) { animation: none; }
/* ---- Daily Bite launcher: a fin button that opens into a labelled pill on the homepage ---- */
.sfd-fin {
  position: fixed; right: 24px; bottom: max(24px,env(safe-area-inset-bottom)); z-index: 401;
  display: flex; align-items: center; box-sizing: border-box; height: 60px; padding: 6px;
  border-radius: 999px; background: transparent; color: #002633; text-decoration: none;
  transition: transform .2s ease, background-color .3s ease, box-shadow .3s ease;
}
.sfd-fin-icon {
  position: relative; flex: none; display: grid; place-items: center; box-sizing: border-box;
  width: 48px; height: 48px; padding: 9px; border: 1px solid #96b4ae; border-radius: 50%;
  background: #002633; color: #f3f0e7; box-shadow: 0 3px 14px #00263333;
}
.sfd-fin-icon svg { display: block; width: 100%; height: 100%; }
.sfd-fin-text {
  display: grid; max-width: 0; padding: 0; overflow: hidden; opacity: 0; white-space: nowrap; text-align: left;
  transition: max-width .35s ease, padding .35s ease, opacity .25s ease;
}
.sfd-fin-text b { font: 400 19px/1.15 Georgia,"Times New Roman",serif; letter-spacing: -.01em; }
.sfd-fin-text small { font: 12px/1.4 Arial,sans-serif; color: #3d5a60; }
.sfd-fin-go {
  flex: none; display: none; place-items: center; width: 36px; height: 36px; margin-right: 6px;
  border-radius: 50%; background: #a4d5c7; font: 17px/1 Arial,sans-serif;
}
.sfd-fin.is-open { background: #f3f0e7; box-shadow: 0 8px 26px #00000059; }
.sfd-fin.is-open .sfd-fin-icon { border-color: #002633; box-shadow: none; }
.sfd-fin.is-open .sfd-fin-text { max-width: 250px; padding: 0 16px 0 12px; opacity: 1; }
.sfd-fin.is-open .sfd-fin-go { display: grid; }
@media(hover:hover) {
  .sfd-fin:hover { transform: translateY(-3px); background: #f3f0e7; box-shadow: 0 8px 26px #00000059; }
  .sfd-fin:hover .sfd-fin-text { max-width: 250px; padding: 0 16px 0 12px; opacity: 1; }
}
.sfd-fin:focus-visible { outline: 3px solid #00796b; outline-offset: 4px; }
.sfd-fin [data-sfd-done] {
  position: absolute; right: -5px; top: -6px; display: grid; place-items: center;
  width: 21px; height: 21px; border: 2px solid #f3f0e7; border-radius: 50%;
  background: #236b57; color: #fff; font: 700 13px/1 Arial,sans-serif;
}
.sfd-fin[hidden],.sfd-fin [hidden] { display: none !important; }
html:is(.sfh-intro-pending,.sfh-intro-playing,.sfh-nav-revealing) .sfd-fin { visibility: hidden; }
@media(max-width:480px) {
  .sfd-fin { right: 12px; bottom: max(14px,env(safe-area-inset-bottom)); height: 56px; padding: 5px; }
  .sfd-fin-icon { width: 46px; height: 46px; }
  .sfd-fin.is-open .sfd-fin-text { max-width: 190px; }
}
@media(prefers-reduced-motion:reduce) {
  @view-transition { navigation: none; }
  ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*) { animation: none !important; }
  .sfd-fin,.sfd-fin-text { transition: none; }
}
/* ---- v4.10.0 refinement: clean hero, Project Sandford wordmark, matching page headers ---- */
/* one light background tone across the homepage; sections are separated by hairlines */
.sfh--editorial :is(.sfh-sharks,.sfh-school){background:var(--sh-paper,#f3f0e7)}
.sfh--editorial .sfh-school{border-bottom:1px solid #d1dbd0}
/* readable minimum text sizes */
.sfh--editorial :is(.sfh-editorial-copy p,.sfh-school-story p,.sfh-path-line,.sfh-closing>p){font-size:15px}
.sfh--editorial :is(.sfh-text-link,.sfh-source,.sfh-signin){font-size:14px}
.sfh--editorial .sfh-closing-foot{font-size:13px}
.sfh--editorial .sfh-label{font-size:12px}
.sfh--editorial .sfh-path-top{margin-bottom:8px}
/* wordmark */
#sandford-nav .nav-brand-text .sf-brand-project{display:block;margin-bottom:4px;font:600 10px/1 Arial,sans-serif;letter-spacing:.2em;text-transform:uppercase;opacity:.82}
/* dark page headers run up behind the navigation, so the nav always matches the band below it */
body.sandford-experience .sfe-screen :is(.lb-hero,.hof-hero,.rw-hero,.sports-hero){margin-top:-80px!important;padding-top:128px!important}
@media(max-width:768px){
  body.sandford-experience .sfe-screen :is(.lb-hero,.hof-hero,.rw-hero,.sports-hero){margin-top:-72px!important;padding-top:112px!important}
  }
/* ---- v4.11.0: navigation colour without waiting for a script ----
   Dark-header pages carry body.sf-hero-dark from the server, so at the top of the page the nav
   is light-on-transparent on the very first paint. Once the page moves under it (html.sf-scrolled)
   the nav becomes a solid bar in whichever tone sits beneath it. */
html:not(.sf-scrolled) body.sf-hero-dark #sandford-nav{--sf-nav-ink:#f3f0e7!important;background:transparent!important}
html.sf-scrolled body:is(.sandford-experience,.sandford-home-page) #sandford-nav[data-sf-nav-tone="paper"]{background:rgba(243,240,231,.97)!important;box-shadow:0 1px 0 #d3dad2!important}
html.sf-scrolled body:is(.sandford-experience,.sandford-home-page) #sandford-nav[data-sf-nav-tone="ocean"]{background:#002633!important;box-shadow:0 1px 0 rgba(164,213,199,.18)!important}
