/* Top bar, 17 November 2026.
   Replaces the left sidebar (marketing feedback forwarded by Poppy: the side
   menu and its scrolling subject list felt dated). The same bar is used at
   every width. From 860px up it shows the links; at 859px and below the links
   move into a full-page menu that drops from the top. Linked last on every
   page by scripts/build.mjs so it overrides the older sidebar rules. */
:root{--top-bar-height:76px}
 :root{--rail:0px}
 /* Always reserve the scrollbar's width, so the bar does not jump sideways
    between short and long pages or when a menu or form locks scrolling. */
 html{scroll-padding-top:calc(var(--top-bar-height) + 24px);scrollbar-gutter:stable}
 body{padding:0!important}
 main{padding-top:var(--top-bar-height)}
 .site-header{display:none!important}

 .top-bar{
  display:block;position:fixed;inset:0 0 auto;z-index:60;height:var(--top-bar-height);
  background:var(--brand-blue);color:var(--brand-shell,#faf7f0);
  isolation:isolate;
  font-family:var(--font-body);
  transition:background-color .25s ease,box-shadow .25s ease;
 }
 .top-bar.is-raised{box-shadow:0 6px 24px rgba(16,43,71,.18)}
 .top-bar-inner{
  display:flex;align-items:center;gap:clamp(16px,2.2vw,36px);
  height:100%;max-width:1440px;margin:0 auto;padding:0 clamp(20px,3vw,48px);box-sizing:border-box;
 }
 .top-bar-brand{display:flex;align-items:center;flex:0 0 auto;width:clamp(150px,13vw,184px);height:60px}
 .top-bar-brand img{display:block;width:100%;height:auto;object-fit:contain;color:var(--brand-shell)}

 .top-navigation{display:flex;align-items:center;height:100%;gap:clamp(2px,.6vw,10px);margin-left:auto;min-width:0}
 .top-navigation>a,.top-nav-trigger{
  display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 clamp(8px,.9vw,14px);
  border:0;border-radius:var(--brand-radius);background:transparent;color:var(--brand-shell,#faf7f0);cursor:pointer;
  font:500 15px/1 var(--font-body);letter-spacing:.01em;text-decoration:none;white-space:nowrap;
  transition:background-color .18s ease;
 }
 .top-navigation>a:hover,.top-nav-trigger:hover,.top-nav-trigger[aria-expanded=true]{background:rgba(var(--brand-shell-rgb,250,247,240),.14)}
 /* The current page is marked by the line only. Its weight never changes, so
    no link changes width and the bar sits in exactly the same place on every page. */
 .top-navigation>a,.top-nav-trigger{align-self:center;position:relative;min-height:36px;border-radius:var(--brand-radius)}
 .top-navigation>a[aria-current=page]::after,.top-nav-trigger.is-current::after{
  content:'';position:absolute;bottom:0;inset-inline:var(--brand-radius);
  height:2px;background:currentColor;pointer-events:none;
 }
 .top-nav-trigger svg{transition:transform .18s ease}
 .top-nav-trigger[aria-expanded=true] svg{transform:rotate(180deg)}
 .top-bar :is(a,button):focus-visible{outline:2px solid var(--brand-shell,#faf7f0);outline-offset:2px}

 .top-nav-group{position:relative;height:100%;display:flex;align-items:center}
 .top-nav-panel{
  position:absolute;top:100%;left:0;z-index:2;
  display:grid;gap:2px;min-width:230px;padding:10px;box-sizing:border-box;
  max-height:calc(100dvh - var(--top-bar-height) - 12px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;
  border:1px solid var(--brand-divider-strong);border-radius:12px;background:var(--brand-shell,#faf7f0);color:var(--brand-ink);
  box-shadow:0 18px 48px rgba(16,43,71,.2);
 }
 .top-nav-panel[hidden]{display:none}
 /* Invisible bridge so the pointer can travel from the trigger to the panel. */
 .top-nav-panel::before{content:'';position:absolute;inset:-16px 0 auto;height:16px}
 .top-nav-panel a{
  display:flex;align-items:center;min-height:40px;padding:0 12px;border-radius:6px;
  color:var(--brand-ink);font:400 15px/1.2 var(--font-body);text-decoration:none;white-space:nowrap;
 }
 /* Hover in the nav only adds the tint. The text colour never changes. */
 .top-nav-panel a:hover{background:var(--brand-pale)}
 .top-nav-panel a[aria-current=page]{background:var(--brand-pale);font-weight:600}
 .top-nav-panel :is(a,button):focus-visible{outline:2px solid var(--brand-focus);outline-offset:1px}

 /* Centre the card under Subjects. The middle translation is half the card's
    own width; the two limits shift it just enough to clear a window edge. */
 .top-nav-panel-wide{
  --panel-edge-left:max(16px,env(safe-area-inset-left));
  --panel-edge-right:max(16px,env(safe-area-inset-right));
  left:50%;transform:translateX(clamp(calc(var(--panel-edge-left) - var(--subject-space-left,50vw)),-50%,calc(var(--subject-space-right,50vw) - var(--panel-edge-right) - 100%)));
  grid-template-columns:repeat(5,minmax(0,max-content));gap:12px 14px;padding:18px 16px 12px;
  width:max-content;max-width:calc(var(--subject-space-left,50vw) + var(--subject-space-right,50vw) - var(--panel-edge-left) - var(--panel-edge-right));
 }
 .top-nav-panel-wide::before{content:none}
 .top-nav-panel-wide :is(p,a){white-space:normal;overflow-wrap:anywhere}
 .top-nav-column p{max-width:18ch}
 .top-nav-column{display:grid;align-content:start;gap:2px}
 .top-nav-column p{margin:0 0 6px;padding:0 12px;color:var(--brand-ink-heading);font:var(--weight-heading,600) 16px/1.3 var(--font-display)}
 /* The rule above "View all subjects" is a separate line, so the link keeps the
    same rounded, centred hover tint as every other row. */
 .top-nav-all{position:relative;grid-column:1/-1;justify-content:center;margin-top:21px;min-height:44px!important;color:var(--brand-blue-deep)!important;font-weight:600!important}
 .top-nav-all::before{content:'';position:absolute;inset:-11px 0 auto;height:1px;background:var(--brand-divider);pointer-events:none}

 .top-bar-cta{
  display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-height:44px;padding:0 18px;
  border:1px solid var(--brand-shell,#faf7f0);border-radius:var(--brand-radius);background:var(--brand-shell,#faf7f0);color:var(--brand-ink-heading);
  font:600 15px/1 var(--font-body);text-decoration:none;white-space:nowrap;
  transition:transform .18s ease,box-shadow .18s ease,background-color .18s ease;
 }
 .top-bar-cta:hover{background:var(--brand-wash);box-shadow:0 6px 18px rgba(8,31,54,.28);transform:translateY(-1px)}

 /* Full-bleed heroes start at the top of the window. Text-first pages keep
    room for the fixed controls. The fade itself is common to every layout. */
 :is(
  body:has(main>:is(.hp-hero,.home-hero,.journey-hero,.local-hero,.about-welcome,.neuro-page-hero,.subject-visual-hero,.contact-hero)),
  body[data-page=enquire],
  body:has(main>article>.article-hero),
  body:has(main>.events-index>.events-hero),
  body:has(main>.testimonials-intro>.testimonials-hero),
  body[data-page=meet-the-team]
 ){
  --nav-fade-extension:clamp(48px,6vw,82px);
  & main{padding-top:0}
 }
 /* Carry the split hero's background under the nav while its inset copy and
    photographs keep the same clearance as other editorial layouts. */
 main:has(>:is(.team-introduction,.partnership-introduction)){padding-top:0}
 main>:is(.team-introduction,.partnership-introduction){
  border-top:var(--top-bar-height) solid transparent;background-origin:border-box;background-clip:border-box;background-repeat:no-repeat;
 }
 /* Testimonials: the family photograph is a full-width hero under the bar, with
    the Google Reviews lockup over the photograph and the intro line beneath it. */
 body[data-page=testimonials] .testimonials-intro{padding-top:0}
 .testimonials-hero{position:relative;width:100vw;height:clamp(420px,52vw,720px);margin:0 0 clamp(28px,3.4vw,44px) calc(50% - 50vw);overflow:hidden;background:#e4d9d0}
 .testimonials-hero-photo{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 45%;border-radius:0!important}
 /* A pale fade lifts the darker corners of the wall so the ink logo, links and
    menu button keep at least 4.5:1 contrast at every width. */
 @media(max-width:700px){.testimonials-hero-photo{object-position:60% 45%}}
 /* A soft pale fade at the top of the photograph keeps the Google Reviews
    lockup and the ink navigation readable over it. */
 .testimonials-hero::after{
  content:'';position:absolute;inset:0 0 auto;height:clamp(120px,18vh,170px);pointer-events:none;
  background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(255,255,255,.68) 40%,rgba(255,255,255,.3) 70%,transparent);
 }
 .testimonials-hero .google-review-source{
  z-index:1;position:absolute;left:clamp(20px,6vw,96px);top:calc(var(--top-bar-height) + 24px);
  width:max-content;margin:0;padding:0;background:transparent;
 }
 /* Meet the team: the science lesson photograph fills the hero under the bar,
    with the heading and intro over a dark fade at the bottom. */
 body[data-page=meet-the-team] .team-introduction{
  position:relative;isolation:isolate;display:grid;align-items:end;min-height:var(--page-hero-height);
  padding:calc(var(--top-bar-height) + 32px) var(--gutter) clamp(32px,4vw,64px);border-top:0;box-sizing:border-box;
  overflow:hidden;background:rgb(var(--brand-scrim));
 }
 .team-introduction .team-hero-photo{position:absolute;inset:0;z-index:-2;width:100%;height:100%;max-width:none;object-fit:cover;object-position:50% 18%;border-radius:0!important}
 .team-introduction::after{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(to top,rgba(var(--brand-scrim),.92),rgba(var(--brand-scrim),.7) 30%,rgba(var(--brand-scrim),.48) 44%,rgba(var(--brand-scrim),0) 68%)}
 body[data-page=meet-the-team] .team-introduction>.team-hero-copy{display:block;width:100%}
 @media(max-width:700px){.team-introduction::after{background:linear-gradient(to top,rgba(var(--brand-scrim),.9),rgba(var(--brand-scrim),.66) 44%,rgba(var(--brand-scrim),.5) 60%,rgba(var(--brand-scrim),0) 80%)}}
 body[data-page=meet-the-team] .top-bar{--nav-fade-opacity:.8}
 .team-introduction .team-hero-copy :is(h1,p){color:var(--brand-shell)}
 .team-introduction .team-hero-copy h1{max-width:none}
 .team-introduction .team-hero-copy p{max-width:55ch;margin-bottom:0}
 body[data-page=contact] .contact-hero{padding-top:calc(var(--top-bar-height) + 24px)}
 body[data-page=enquire] main{padding-top:calc(var(--top-bar-height) + 32px)!important}

 /* One hero size on every page except the homepage: the About page's size
    (720px, or 620px on phones). Photo heroes take it exactly; heroes that hold
    a form or copy take it as their minimum so nothing is ever cut off. */
 :root{--page-hero-height:720px}
 @media(max-width:700px){:root{--page-hero-height:620px}}
 .blog-hero,.events-hero,.testimonials-hero{height:var(--page-hero-height)!important;aspect-ratio:auto!important}
 .subject-visual-hero,body[data-page=contact] .contact-hero{min-height:var(--page-hero-height)!important;box-sizing:border-box}

 /* Match the navigation to the photograph and its existing tone. The dark
    wash stays translucent so the garden and other photo details show through. */
 .top-bar{
  --nav-fade-rgb:var(--brand-shell-rgb);
  --nav-fade-opacity:.2;
  --nav-top-ink:var(--brand-ink-heading);
  --nav-top-hover:color-mix(in srgb,var(--nav-top-ink) 8%,transparent);
 }
 @media(min-width:860px){
  body:is([data-page=contact],[data-page=enquire]) .top-bar{--nav-fade-opacity:.68}
 }
 :is(
  body:has(main>:is(.hp-hero,.home-hero,.journey-hero,.local-hero,.neuro-page-hero)),
  body:has(main>.events-index>.events-hero),
  body:has(main>article>.article-hero)
 ) .top-bar{
  --nav-fade-rgb:var(--brand-scrim);
  --nav-fade-opacity:.82;
  --nav-top-ink:var(--brand-shell);
  --nav-top-hover:color-mix(in srgb,var(--nav-top-ink) 15%,transparent);
 }
 html:not(:has(#mobile-navigation[open]:not(.is-closing))) .top-bar:not(.is-raised){
  background:transparent;color:var(--nav-top-ink);box-shadow:none;
  & :is(.top-bar-brand img,.top-navigation>a,.top-nav-trigger,.menu-toggle.icon-button){color:var(--nav-top-ink)}
  & :is(.top-navigation>a,.top-nav-trigger,.menu-toggle.icon-button):hover,& .top-nav-trigger[aria-expanded=true]{background:var(--nav-top-hover)}
  & :is(.top-bar-brand,.top-navigation>a,.top-nav-trigger,.menu-toggle,.top-bar-cta):focus-visible{outline-color:var(--nav-top-ink)}
  &::before{opacity:var(--nav-fade-opacity)}
 }
 .top-bar::before{
  content:'';position:absolute;inset:0 0 auto;z-index:-1;height:calc(var(--top-bar-height) + var(--nav-fade-extension,0px));
  opacity:0;pointer-events:none;transition:opacity .25s ease;
  background:linear-gradient(180deg,
   rgb(var(--nav-fade-rgb)) 0,
   rgba(var(--nav-fade-rgb),.96) 30%,
   rgba(var(--nav-fade-rgb),.85) 45%,
   rgba(var(--nav-fade-rgb),.54) 62%,
   rgba(var(--nav-fade-rgb),.2) 80%,
   rgba(var(--nav-fade-rgb),.05) 92%,
   rgba(var(--nav-fade-rgb),0) 100%);
 }
 @media(prefers-reduced-motion:reduce){.top-bar::before{transition:none}}
 .top-bar-brand img{transition:filter .25s ease}
 .top-navigation>a,.top-nav-trigger,.top-bar-cta{transition:background-color .18s ease,color .25s ease,border-color .25s ease,transform .18s ease,box-shadow .18s ease}

 /* The old sidebar panels were anchored to the rail. */
 .subjects-panel{left:0}
@media(min-width:860px) and (max-width:1179px){
 .top-bar-inner{gap:8px;padding:0 12px}
 .top-bar-brand{width:clamp(108px,12vw,140px);height:52px}
 .top-navigation{gap:0}
 .top-navigation>a,.top-nav-trigger{font-size:13.5px;padding:0 6px;gap:4px}
 .top-bar-cta{font-size:13.5px;padding:0 10px}
}
@media(min-width:860px) and (max-width:1180px){
 .top-nav-panel-wide{grid-template-columns:repeat(3,minmax(0,max-content))}
}
@media(prefers-reduced-motion:reduce){
 .top-bar,.top-bar-cta,.top-nav-trigger svg,.top-navigation>a,.top-nav-trigger{transition:none}
 .top-bar-cta:hover{transform:none}
}

/* The enquiry title is now "Book a virtual coffee with Poppy": let it wrap, and
   show one supporting line beneath it on the first step only. */
[data-trial-enquiry="true"]:not([data-dialog-expanded="true"])>h2{
 margin-bottom:10px!important;font-size:clamp(24px,2.3vw,32px)!important;line-height:1.12!important;
 white-space:normal!important;text-wrap:balance!important;
}
.enquiry-note{margin:0 0 20px;color:inherit;font:400 15px/1.5 var(--font-body)}
[data-trial-enquiry="true"]:not([data-dialog-expanded="true"])>.enquiry-note{color:var(--brand-shell,#faf7f0)!important}
.enquiry-note[hidden]{display:none}

/* Enquiry form dialog: always centred, with a light shade over the page that
   fades in and out. The step-height animation is in enquiry-form.js. */
.trial-dialog{position:fixed;inset:auto;top:50%;left:50%;margin:0;translate:-50% -50%}
.trial-dialog::backdrop{background:rgba(10,29,49,.26);animation:enquiry-shade 180ms cubic-bezier(.2,.8,.2,1) both}
.trial-dialog.is-closing::backdrop{background:rgba(10,29,49,0);transition:background-color 180ms cubic-bezier(.2,.8,.2,1)}
@keyframes enquiry-shade{from{background:rgba(10,29,49,0)}to{background:rgba(10,29,49,.26)}}
.trial-dialog-content [data-enquiry-surface]>h2{white-space:normal!important;text-wrap:balance!important}
@media(prefers-reduced-motion:reduce){.trial-dialog::backdrop{animation:none;transition:none}}

/* The close button belongs to the form card: it fades in and out with it and
   never lingers after the card has gone. */
.trial-dialog .trial-dialog-close{animation:enquiry-close-in 180ms cubic-bezier(.2,.8,.2,1) both;transition:opacity 180ms cubic-bezier(.2,.8,.2,1),color 180ms cubic-bezier(.2,.8,.2,1)}
.trial-dialog.is-closing .trial-dialog-close{opacity:0;animation:none}
@keyframes enquiry-close-in{from{opacity:0}}

/* Hover never adds an underline anywhere on the site. Links change colour or
   tint quietly instead, on the standard quick timing. */
a:hover,button:hover{text-decoration:none!important}
:is(main,footer) a{transition:color 180ms cubic-bezier(.2,.8,.2,1),opacity 180ms cubic-bezier(.2,.8,.2,1),background-color 180ms cubic-bezier(.2,.8,.2,1)}
@media(hover:hover) and (pointer:fine){
 /* Hover never fades text: fading lowers contrast. Links on a light background
    deepen in colour; links on the brand-colour footer nudge sideways. */
 main a:not([class]):hover,.reviews-intro a:hover,.review-inline-read:hover,.enquiry-privacy-link:hover{color:var(--brand-blue-deep)}
 .footer-inner a,.footer-bottom a{transition:translate 180ms cubic-bezier(.2,.8,.2,1)}
 .footer-inner a:not(.footer-brand,.footer-tta-link):hover,.footer-bottom a:hover{translate:3px 0}
}
@media(prefers-reduced-motion:reduce){
 .trial-dialog .trial-dialog-close{animation:none;transition:none}
 :is(main,footer) a{transition:none}
}

/* Narrow screens: the same bar with the logo, the call to action and a menu
   button. The menu is a full page in the brand colour that drops from the top;
   the bar stays in place above it and its button becomes the close button. */
.top-bar .menu-toggle.icon-button{display:none}
@media(min-width:860px){.navigation-dialog{display:none!important}}
@media(max-width:859px){
 :root{--top-bar-height:68px}
 .top-navigation{display:none}
 .top-bar-inner{gap:8px;padding:0 10px 0 16px}
 .top-bar-brand{width:136px;height:54px;margin-right:auto}
 .top-bar-cta{min-height:40px;padding:0 12px;font-size:13px}
 .top-bar .menu-toggle.icon-button{
  display:grid;place-items:center;flex:0 0 44px;width:44px;min-width:44px;height:44px;padding:0;
  border:0;border-radius:var(--brand-radius);background:transparent;color:var(--brand-shell,#faf7f0);cursor:pointer;
  transition:background-color .18s ease;
 }
 .top-bar .menu-toggle.icon-button:hover{background:rgba(var(--brand-shell-rgb,250,247,240),.14)}
 html:has(#mobile-navigation[open]){overflow:hidden}
 html:has(#mobile-navigation[open]:not(.is-closing)) .top-bar{background:var(--brand-blue)!important;box-shadow:none!important}

 .navigation-dialog{
  position:fixed;inset:0;z-index:59;width:100vw;max-width:none;height:100dvh;max-height:none;
  margin:0;padding:0;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none;
 }
 .navigation-dialog>.navigation-dialog-header{display:none}
 .navigation-dialog::before{content:none}
 .navigation-dialog>nav{
  display:flex;flex-direction:column;width:100%;height:100dvh;max-height:none;box-sizing:border-box;
  margin:0;padding:calc(var(--top-bar-height) + 20px) 24px 40px;overflow-y:auto;overscroll-behavior:contain;
  border:0;background:var(--brand-blue);box-shadow:none;
  transform:translateY(-100%);transition:transform .28s cubic-bezier(.2,.8,.2,1);
 }
 .navigation-dialog.is-visible>nav{transform:translateY(0)}
 .navigation-dialog.is-closing>nav{transform:translateY(-100%)}
 #mobile-navigation nav>a,#mobile-navigation nav>button{
  display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;width:100%;min-height:54px;box-sizing:border-box;
  margin:0;padding:0 4px;border:0;border-radius:var(--brand-radius);background:none;
  color:var(--brand-shell,#faf7f0);font:var(--weight-heading,600) 25px/1.2 var(--font-display)!important;letter-spacing:0;
  text-align:left;text-decoration:none;cursor:pointer;
  opacity:0;translate:0 -10px;
  transition:opacity .24s ease,translate .24s cubic-bezier(.2,.8,.2,1),color .18s ease,padding-left .18s ease;
 }
 #mobile-navigation.is-visible nav>a,#mobile-navigation.is-visible nav>button{opacity:1;translate:0 0}
 .navigation-dialog.is-visible>nav>:nth-child(1){transition-delay:78ms}
 .navigation-dialog.is-visible>nav>:nth-child(2){transition-delay:96ms}
 .navigation-dialog.is-visible>nav>:nth-child(3){transition-delay:114ms}
 .navigation-dialog.is-visible>nav>:nth-child(4){transition-delay:132ms}
 .navigation-dialog.is-visible>nav>:nth-child(5){transition-delay:150ms}
 .navigation-dialog.is-visible>nav>:nth-child(6){transition-delay:168ms}
 .navigation-dialog.is-visible>nav>:nth-child(7){transition-delay:186ms}
 .navigation-dialog.is-visible>nav>:nth-child(8){transition-delay:204ms}
 .navigation-dialog.is-visible>nav>:nth-child(9){transition-delay:222ms}
 .navigation-dialog.is-visible>nav>:nth-child(10){transition-delay:240ms}
 .navigation-dialog.is-visible>nav>:nth-child(11){transition-delay:258ms}
 .navigation-dialog.is-visible>nav>:nth-child(12){transition-delay:276ms}
 .navigation-dialog.is-visible>nav>:nth-child(13){transition-delay:294ms}
 .navigation-dialog.is-visible>nav>:nth-child(14){transition-delay:312ms}
 #mobile-navigation nav>:is(a,button):is(:hover,:focus-visible){padding-left:10px}
 #mobile-navigation nav>a[aria-current=page],#mobile-navigation nav>button[aria-current=page]{color:var(--brand-shell,#faf7f0)}
 #mobile-navigation .nav-wipe-label{color:inherit}
 #mobile-navigation .nav-wipe-label::after{content:none}
 #mobile-navigation .nav-wipe-base{clip-path:none!important;font-weight:inherit}
 #mobile-navigation nav svg{color:currentColor;width:22px;height:22px}
 #mobile-navigation .nav-subject-list{
  display:block;flex:0 0 auto;margin:2px 0 14px;padding:8px 4px 4px;border:0;
 }
 #mobile-navigation .nav-subject-list[hidden]{display:none}
 #mobile-navigation .nav-subject-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 20px}
 #mobile-navigation .nav-subject-group{min-width:0}
 #mobile-navigation .nav-subject-group p{
  margin:0 0 6px;color:var(--brand-shell,#faf7f0);font:var(--weight-heading,600) 15px/1.3 var(--font-display);letter-spacing:.01em;
 }
 #mobile-navigation .nav-subject-list a{
  display:flex;align-items:center;min-height:42px;padding:0;white-space:normal;
  color:var(--brand-shell,#faf7f0);font:400 16px/1.3 var(--font-body);letter-spacing:0;text-decoration:none;
  transition:padding-left .18s ease;
 }
 #mobile-navigation .nav-subject-list a:is(:hover,:focus-visible){padding-left:6px}
 #mobile-navigation .nav-subject-all-mobile{
  justify-content:center;margin-top:20px;padding-top:12px!important;border-top:1px solid rgba(var(--brand-shell-rgb,250,247,240),.28);
  font-weight:600!important;text-align:center;
 }
 #mobile-navigation :is(a,button):focus-visible{outline:2px solid var(--brand-shell,#faf7f0);outline-offset:2px}
}
@media(max-width:359px){
 #mobile-navigation .nav-subject-groups{grid-template-columns:1fr;gap:18px}
}
@media(max-width:400px){
 .top-bar-inner{gap:4px;padding:0 6px 0 12px}
 .top-bar-cta{padding:0 9px;font-size:12px}
}
@media(max-width:500px){
 .top-bar .top-bar-cta{flex:0 1 162px;white-space:normal;line-height:1.15;text-align:center;text-wrap:balance}
 .top-bar-brand{flex:0 1 136px;min-width:72px}
}
@media(min-width:860px) and (max-width:1023px){
 .top-bar .top-bar-cta{max-width:155px;white-space:normal;line-height:1.15;text-align:center;text-wrap:balance}
}
@media(prefers-reduced-motion:reduce){
 .navigation-dialog>nav,#mobile-navigation nav>a,#mobile-navigation nav>button{transition:none!important;translate:none!important}
}
