/* Abyss: an additive layer. The Regular composition, type and copy stay the base;
   one fixed world sits beneath the page and shows through its open navy ground. */
html{background-color:#16233a}
body{background:transparent;isolation:isolate}
/* the designed still ground: a fixed composited layer (not background-attachment:fixed, which repaints on every scroll) */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background-color:#16233a;
  background-image:radial-gradient(ellipse at 12% 30%,#1f3150 0,rgba(31,49,80,0) 55%),radial-gradient(ellipse at 88% 85%,rgba(247,195,95,.14) 0,rgba(247,195,95,0) 42%),radial-gradient(ellipse at 50% 120%,#566072 0,rgba(86,96,114,0) 45%)}
#abyss-world{position:fixed;inset:0;width:100%;height:100%;z-index:0;pointer-events:none;display:block}
html.abyss-static #abyss-world{display:none}
main,.footer{position:relative;z-index:1}
/* the bars are already 90% opaque; a backdrop blur over a live canvas re-filters every frame */
.header,.callbar{-webkit-backdrop-filter:none;backdrop-filter:none;background:rgba(22,35,58,.94)}
main{background:transparent}

/* open ground: the photographs stay vivid, the world reads around their edges */
.hero,.page-plate{background:transparent}
.hero-bg{opacity:.9}
.page-plate img{opacity:.9}
.section:not(.warm):not(.pale){background:transparent;color:var(--on-dark)}
.section:not(.warm):not(.pale)>.wrap{background:rgba(22,35,58,.9);border-radius:var(--card);padding-top:40px;padding-bottom:40px}
.section:not(.warm):not(.pale) :is(h2,h3,.lede,.note,p,li,summary,td){color:var(--on-dark)}
.section:not(.warm):not(.pale) .ticks li{border-bottom-color:var(--rule-dark)}
.section:not(.warm):not(.pale) .ticks li::before{border-color:var(--sun)}
.section:not(.warm):not(.pale) .table td,.section:not(.warm):not(.pale) .table th{border-color:var(--rule-dark);color:var(--on-dark)}
.section:not(.warm):not(.pale) details{border-color:var(--rule-dark)}
.section:not(.warm):not(.pale) summary::after{border-color:rgba(255,255,255,.35)}
.section:not(.warm):not(.pale) .steps li{border-top-color:var(--rule-dark)}
.section:not(.warm):not(.pale) .steps li::before{color:var(--sun)}
.section:not(.warm):not(.pale) .card{color:var(--ink)}
.section:not(.warm):not(.pale) .card :is(h2,h3,p,li){color:inherit}
.section:not(.warm):not(.pale) .card .ticks li{border-bottom-color:var(--line)}
.section:not(.warm):not(.pale) .card .ticks li::before{border-color:var(--night)}
.section:not(.warm):not(.pale) a:not(.btn){color:#fff}
.section:not(.warm):not(.pale) .btn-primary{background:#fff;color:var(--night)}
.section:not(.warm):not(.pale) .btn-ghost{color:#fff;border-color:rgba(255,255,255,.45)}
.section:not(.warm):not(.pale) .answer{color:var(--on-dark-2)}
.film,.locations{background:rgba(22,35,58,.8)}
.care{background:transparent}
.care-head,.care-foot{background:rgba(22,35,58,.86);color:var(--on-dark)}
.care-head h2,.care-head .lede,.care-foot .note{color:var(--on-dark)}
.care-band:nth-child(odd) .care-body{background:rgba(22,35,58,.72)}
.care-band:nth-child(even) .care-body{background:rgba(31,49,80,.86)}
.day{background:color-mix(in srgb,var(--sky) 86%,transparent)}
.footer{background:rgba(22,35,58,.94)}
.section.pale,.proof{background:rgba(246,247,249,.97)}

/* the phone menu lists every page; on desktop the training dropdown already carries them */
.nav .phone-extra{display:none}

/* the TV spot: a real frame from it stands in until the visitor asks for YouTube's player */
.play-film{position:absolute;inset:0;z-index:1;display:flex;align-items:flex-end;justify-content:flex-start;gap:14px;width:100%;
  padding:28px;border:0;cursor:pointer;color:#fff;font-weight:600;font-size:17px;text-align:left;
  background:linear-gradient(0deg,rgba(22,35,58,.85),rgba(22,35,58,0) 55%),url(media/grooming-work.webp) 0 0/cover no-repeat}
.play-film::before{content:"";flex:none;width:64px;height:64px;border-radius:50%;background:var(--sun) no-repeat 54% 50%/22px 22px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M2 1l7 4-7 4z' fill='%2316233a'/%3E%3C/svg%3E");
  transition:transform var(--t-fast) var(--ease)}
.play-film:hover::before,.play-film:focus-visible::before{transform:scale(1.08)}

/* the live readout: section number, scroll share and the real heading of the section in view */
#abyss-hud{position:fixed;bottom:18px;left:18px;z-index:35;pointer-events:none;max-width:min(440px,calc(100vw - 36px));display:flex;gap:14px;align-items:center;
  padding:9px 14px;background:rgba(22,35,58,.92);color:#f5f6f8;border:1px solid #566072;border-radius:12px;font:11px/1.4 var(--mono);letter-spacing:.03em}
#abyss-hud[hidden],html.abyss-static #abyss-hud{display:none}
#abyss-progress{color:#f7c35f;flex-shrink:0}
#abyss-zone{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body:has(.nav-open) #abyss-hud,body:has(input:focus,select:focus,textarea:focus) #abyss-hud{visibility:hidden}

:focus-visible{outline:3px solid #f7c35f;outline-offset:5px}
html.noanim *,html.abyss-static *{animation:none!important;scroll-behavior:auto!important}
.no-js .nav{display:block!important}
.no-js .nav .phone-extra{display:list-item}
.no-js .menu-btn{display:none!important}
.no-js .header{position:relative;border-radius:24px}
.no-js .header-in{flex-wrap:wrap;height:auto;padding:12px 18px}
.no-js .nav ul{flex-wrap:wrap}

@media (max-width:767px){
  #abyss-hud{bottom:88px;font-size:10px;max-width:calc(100vw - 24px);left:12px;padding:6px 10px}
  .hero-bg{opacity:.84}
  .section:not(.warm):not(.pale)>.wrap{border-radius:0}
  .play-film{padding:16px;font-size:15px}
  .play-film::before{width:52px;height:52px}
  .day-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:6px}
  .day-tab{min-width:0;padding:8px 2px}
  .day-time{font-size:12px}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Still/manual photo strip when motion is unavailable; direct pause is persistent. */
.rail{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.rail:focus-within .rail-track,.rail.rail-touch .rail-track,.rail.rail-paused .rail-track{animation-play-state:paused}.rail-toggle{display:block;margin:0 auto;padding:10px 18px;min-height:44px;background:var(--sun);color:var(--night);border:0;border-radius:0 0 12px 12px;font:inherit;cursor:pointer}.rail-toggle[hidden]{display:none}html.no-js .rail-track,html.noanim .rail-track,html.motion-paused .rail-track{animation:none}html.no-js .rail-run[aria-hidden],html.noanim .rail-run[aria-hidden],html.motion-paused .rail-run[aria-hidden]{display:none}
