/* Brianna Meller WP — site layer (tokens, base, chrome). Components consume these tokens and never
   redeclare them. Contrast pairs are computed in docs/design-system.md; add a row before using a new pair. */

@font-face{font-family:"Newsreader";src:url("fonts/newsreader-roman.woff2") format("woff2");font-weight:300 600;font-style:normal;font-display:swap;}
@font-face{font-family:"Newsreader";src:url("fonts/newsreader-italic.woff2") format("woff2");font-weight:300 500;font-style:italic;font-display:swap;}
@font-face{font-family:"Jost";src:url("fonts/jost.woff2") format("woff2");font-weight:300 600;font-style:normal;font-display:swap;}

/* ==== tokens ============================================================ */
:root{
  --bmw-linen-0:#FFFDF9; --bmw-linen-50:#FBF8F2; --bmw-linen-100:#F6F0E7;
  --bmw-oat-200:#EFE5D6; --bmw-blush-200:#F1DFD3; --bmw-backdrop:#E6D9D1;
  --bmw-sand-300:#E2D4C2; --bmw-sand-400:#CDB9A0;
  --bmw-ink-900:#22271F; --bmw-ink-700:#3E4741; --bmw-ink-500:#5B655E;
  --bmw-sage-950:#1F332B; --bmw-sage-900:#2E4A40; --bmw-sage-700:#3E6455; --bmw-sage-500:#628474;
  --bmw-sage-300:#A9C0B2; --bmw-sage-200:#CFDDD3; --bmw-sage-100:#E5EDE6;
  --bmw-ochre-700:#6F542A; --bmw-ochre-400:#C39A5A; --bmw-ochre-300:#D9B98A; --bmw-ochre-200:#EBD9B9;
  --bmw-white:#FFFFFF;

  /* roles (remapped by .bmw-tone-dark) */
  --bmw-bg:var(--bmw-linen-50);
  --bmw-text:var(--bmw-ink-900);
  --bmw-text-2:var(--bmw-ink-700);
  --bmw-heading:var(--bmw-sage-900);
  --bmw-link:var(--bmw-sage-700);
  --bmw-link-hover:var(--bmw-sage-900);
  --bmw-accent:var(--bmw-ochre-700);
  --bmw-mark:var(--bmw-ochre-400);        /* decorative only: rules, quote marks, underlines */
  --bmw-rule:var(--bmw-sand-300);
  --bmw-ring:var(--bmw-ochre-700);

  --bmw-serif:"Newsreader","Iowan Old Style","Palatino Linotype",Georgia,serif;
  --bmw-sans:"Jost","Avenir Next","Segoe UI",system-ui,sans-serif;

  --bmw-fs-display:clamp(2.6rem,1.15rem + 4.7vw,5.75rem);
  --bmw-fs-h2:clamp(2rem,1.25rem + 2.7vw,3.625rem);
  --bmw-fs-h3:clamp(1.375rem,1.15rem + .7vw,1.75rem);
  --bmw-fs-quote:clamp(1.625rem,1.05rem + 2.1vw,3rem);
  --bmw-fs-lede:clamp(1.125rem,1rem + .45vw,1.375rem);
  --bmw-fs-body:clamp(1rem,.96rem + .18vw,1.125rem);
  --bmw-fs-small:.9375rem;

  --bmw-s-1:.25rem; --bmw-s-2:.5rem; --bmw-s-3:.75rem; --bmw-s-4:1rem; --bmw-s-5:1.5rem;
  --bmw-s-6:2rem; --bmw-s-7:3rem; --bmw-s-8:4rem; --bmw-s-9:6rem; --bmw-s-10:8rem;
  --bmw-section-y:clamp(4.5rem,2.75rem + 6.5vw,9.5rem);
  --bmw-gutter:clamp(1.25rem,.4rem + 3.4vw,3.5rem);
  --bmw-max:1320px;

  --bmw-r-pill:999px; --bmw-r-sm:4px;
  --bmw-r-corner:clamp(1.5rem,1rem + 2.5vw,4rem);   /* one corner, top-right: tiles and thumbnails */
  --bmw-r-arc:clamp(5rem,2rem + 12vw,14rem);        /* one corner, bottom-left: lead portraits */

  --bmw-shadow-lift:0 2px 6px rgba(34,39,31,.06),0 30px 60px -30px rgba(34,39,31,.34);

  --bmw-ease:cubic-bezier(.2,.7,.2,1);
  --bmw-ease-out:cubic-bezier(.16,1,.3,1);
  --bmw-t-fast:160ms;

  --bmw-header-h:84px;
  --bmw-target:48px;
}
/* Blocksy's default palette is blue (#2872fa/#1559ed) and styles every a:hover the site does not. Its own inline
   :root rule prints after this file, so these win on specificity (:root:root) and no blue can leak through anywhere. */
:root:root{--theme-link-initial-color:var(--bmw-sage-700);--theme-link-hover-color:var(--bmw-sage-900);
  --theme-palette-color-1:var(--bmw-sage-700);--theme-palette-color-2:var(--bmw-sage-900);--theme-icon-hover-color:var(--bmw-sage-900);}

@media (max-width:1099px){:root{--bmw-header-h:68px;}}

.bmw-tone-linen{background:var(--bmw-linen-50);}
.bmw-tone-paper{background:var(--bmw-linen-0);}
.bmw-tone-oat{background:var(--bmw-oat-200);}
.bmw-tone-blush{background:var(--bmw-blush-200);}
.bmw-tone-sage{background:var(--bmw-sage-100);}
.bmw-tone-dark{background:var(--bmw-sage-950);
  --bmw-text:var(--bmw-sage-200); --bmw-text-2:var(--bmw-sage-200); --bmw-heading:var(--bmw-linen-50);
  --bmw-link:var(--bmw-linen-50); --bmw-link-hover:var(--bmw-ochre-200); --bmw-accent:var(--bmw-ochre-300);
  --bmw-rule:rgba(205,185,160,.35); --bmw-ring:var(--bmw-ochre-300);}

/* ==== base ============================================================= */
html{background:var(--bmw-linen-50);scroll-padding-top:calc(var(--bmw-header-h) + 1rem);-webkit-text-size-adjust:100%;}
html body{margin:0;background:var(--bmw-linen-50);color:var(--bmw-ink-900);font-family:var(--bmw-sans);
  font-size:var(--bmw-fs-body);line-height:1.65;font-weight:400;overflow-x:clip;overflow-wrap:break-word;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;}
body :where(h1,h2,h3,h4){font-family:var(--bmw-serif);font-weight:400;color:var(--bmw-heading);font-optical-sizing:auto;text-wrap:balance;margin:0;}
body :where(p,li,dd,figcaption,blockquote){text-wrap:pretty;}
.ca-component,.ca-component *{box-sizing:border-box;}
.ca-component{color:var(--bmw-text);}
.ca-component :where(p,ul,ol,dl,dd,figure,blockquote){margin:0;}
:where(.ca-component) img{display:block;max-width:100%;height:auto;}
:where(.ca-component) blockquote{margin:0;padding:0;border:0;quotes:none;}
/* Blocksy's entry content adds bottom margins to headings, paragraphs and lists; components own their rhythm
   (they space with margin-top and gap), so only the bottom margin is reset here. */
.ca-component h1,.ca-component h2,.ca-component h3,.ca-component h4,.ca-component p,.ca-component ul,.ca-component ol,
.ca-component dl,.ca-component figure,.ca-component figcaption,.ca-component blockquote{margin-bottom:0;}
:where(.ca-component) blockquote::before,:where(.ca-component) blockquote::after{content:none;}
/* WCAG 3.1.4: <abbr title> carries expansions (bmw-content.php) without the browser's dotted underline, so text looks as before */
abbr[title]{text-decoration:none;border-bottom:0;}
/* ADV-04: a sticky side panel taller than the window scrolls with the page (site.js) */
.bmw-unstick{position:static!important;}
.bmw-visually-hidden,.screen-reader-text:not(:focus){position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important;}

/* focus: always visible, 3px ochre ring (>=5.4:1 on every light surface, 7.2:1 ochre-300 on dark) */
html body :is(a,button,summary,input,select,textarea,[tabindex]):focus-visible{outline:3px solid var(--bmw-ring);outline-offset:3px;border-radius:var(--bmw-r-sm);}
/* pill controls keep their shape under the ring (the rule above outranks a bare .bmw-btn, and squared them on focus) */
html body :is(.bmw-btn,.bmw-menu-btn,.wp-block-button__link):focus-visible{border-radius:var(--bmw-r-pill);}

/* skip link (Blocksy prints it at wp_body_open) */
.skip-link.screen-reader-text:focus{position:fixed!important;top:.75rem;left:.75rem;z-index:1000;width:auto;height:auto;clip:auto;
  padding:.8rem 1.4rem;background:var(--bmw-sage-950);color:var(--bmw-linen-50);border-radius:var(--bmw-r-pill);
  font:500 1rem/1.2 var(--bmw-sans);text-decoration:underline;outline:3px solid var(--bmw-ochre-300);outline-offset:2px;}

/* ==== Blocksy shell on component pages ================================ */
.bmw-components #main-container > main,.bmw-components .ct-container-full,.bmw-components .ct-container-full > article,
.bmw-components .entry-content{padding:0!important;margin:0!important;max-width:none!important;width:100%;}
.bmw-components .ct-container-full{--theme-content-vertical-spacing:0px;}
.bmw-components .entry-content > *{max-width:none!important;margin-block:0!important;}
/* Blocksy's constrained entry content narrows every child (--theme-block-width) with auto margins; sections are full-bleed */
.bmw-components .entry-content > .ca-component{width:100%!important;margin-inline:0!important;}
.bmw-components .hero-section,.bmw-components .entry-header,.bmw-components .page-title,.bmw-components .ct-breadcrumbs{display:none!important;}
body:not(.bmw-has-hero) #main-container > main{padding-top:var(--bmw-header-h)!important;}

/* ==== shared helpers =================================================== */
.bmw-wrap{width:100%;max-width:var(--bmw-max);margin-inline:auto;padding-inline:var(--bmw-gutter);}
.bmw-section{padding-block:var(--bmw-section-y);}
.bmw-h2{font-family:var(--bmw-serif);font-size:var(--bmw-fs-h2);font-weight:380;line-height:1.06;letter-spacing:-.018em;color:var(--bmw-heading);}
.bmw-h3{font-family:var(--bmw-serif);font-size:var(--bmw-fs-h3);font-weight:450;line-height:1.2;letter-spacing:-.005em;color:var(--bmw-heading);}
.bmw-lede{font-size:var(--bmw-fs-lede);line-height:1.55;color:var(--bmw-text-2);max-width:52ch;}
.bmw-label{font-family:var(--bmw-sans);font-size:var(--bmw-fs-small);font-weight:500;line-height:1.4;letter-spacing:.01em;color:var(--bmw-accent);}
.bmw-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.875rem 1.5rem;}

.bmw-btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:var(--bmw-target);padding:.7rem 1.6rem;
  border-radius:var(--bmw-r-pill);border:1.5px solid transparent;font:500 1rem/1.25 var(--bmw-sans);letter-spacing:.005em;
  text-decoration:none;text-align:center;cursor:pointer;transition:background-color var(--bmw-t-fast) var(--bmw-ease),color var(--bmw-t-fast) var(--bmw-ease),border-color var(--bmw-t-fast) var(--bmw-ease);}
.bmw-btn--primary{background:var(--bmw-sage-700);color:var(--bmw-white);}
.bmw-btn--primary:hover{background:var(--bmw-sage-900);color:var(--bmw-white);}
.bmw-btn--primary:active{background:var(--bmw-sage-950);}
.bmw-btn--secondary{background:transparent;color:var(--bmw-sage-900);border-color:var(--bmw-sage-700);}
.bmw-btn--secondary:hover{background:var(--bmw-sage-100);color:var(--bmw-sage-900);}
.bmw-tone-dark .bmw-btn--primary{background:var(--bmw-linen-50);color:var(--bmw-sage-950);}
.bmw-tone-dark .bmw-btn--primary:hover{background:var(--bmw-sage-100);color:var(--bmw-sage-950);}
.bmw-tone-dark .bmw-btn--secondary{color:var(--bmw-linen-50);border-color:var(--bmw-ochre-300);}
.bmw-tone-dark .bmw-btn--secondary:hover{background:rgba(251,248,242,.08);color:var(--bmw-linen-50);}

.bmw-link,.bmw-prose a,.ca-component p a{color:var(--bmw-link);font-weight:500;text-decoration:underline;text-decoration-thickness:1px;
  text-underline-offset:.24em;text-decoration-color:color-mix(in srgb,currentColor 50%,transparent);
  transition:color var(--bmw-t-fast) var(--bmw-ease),text-decoration-color var(--bmw-t-fast) var(--bmw-ease);}
.bmw-link:hover,.bmw-prose a:hover,.ca-component p a:hover{color:var(--bmw-link-hover);text-decoration-color:currentColor;}
.bmw-link{display:inline-flex;align-items:center;min-height:44px;}
/* a standalone link ends on a drawn arrow (a mask, so it has no text for assistive tech) that leads on hover */
.bmw-link::after{content:"";flex:none;width:.95em;height:.95em;margin-left:.45em;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 8h12M9.5 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 8h12M9.5 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  transition:transform .3s var(--bmw-ease);}
.bmw-link:hover::after{transform:translateX(.2em);}
@media (forced-colors:active){.bmw-link::after{forced-color-adjust:none;background:LinkText;}}

/* ==== header =========================================================== */
.bmw-header{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(251,248,242,.95);
  border-bottom:1px solid var(--bmw-sand-300);transition:background-color .45s var(--bmw-ease),border-color .45s var(--bmw-ease);}
@supports (backdrop-filter:blur(1px)){.bmw-header{background:rgba(251,248,242,.86);backdrop-filter:saturate(120%) blur(14px);}}
body.bmw-has-hero:not(.bmw-scrolled):not(.bmw-menu-open) .bmw-header{background:transparent;border-bottom-color:transparent;backdrop-filter:none;}
/* backdrop-filter makes the header the containing block of the fixed menu panel (it would clip to 68px) */
body.bmw-menu-open .bmw-header{background:var(--bmw-linen-50);backdrop-filter:none;-webkit-backdrop-filter:none;}
.admin-bar .bmw-header{top:32px;}
@media (max-width:782px){.admin-bar .bmw-header{top:46px;}}
.bmw-header__bar{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;min-height:var(--bmw-header-h);}
.bmw-header__home{display:inline-flex;align-items:center;min-height:var(--bmw-target);text-decoration:none;color:inherit;flex:0 1 auto;min-width:0;}
.bmw-lockup{display:flex;flex-direction:column;line-height:1;min-width:0;}
.bmw-lockup__name{font-family:var(--bmw-serif);font-style:italic;font-weight:420;font-size:clamp(1.45rem,1.25rem + .6vw,1.75rem);letter-spacing:-.01em;color:var(--bmw-sage-900);}
/* 1.4.4: the logo may shrink when large text or zoom leaves the bar too little room (it never grows past its size) */
.bmw-lockup__img{display:block;height:auto;max-height:clamp(2.6rem,2.2rem + 1vw,3.25rem);width:auto;max-width:100%;}
.bmw-footer .bmw-lockup__img{max-height:clamp(3rem,2.6rem + 1.2vw,3.75rem);}
@media (max-width:360px){.bmw-lockup__img{max-height:2.35rem;}}
.bmw-lockup__sub{margin-top:.38rem;font-family:var(--bmw-sans);font-weight:500;font-size:.6875rem;letter-spacing:.2em;text-transform:uppercase;color:var(--bmw-sage-700);}

.bmw-nav__list{list-style:none;margin:0;padding:0;}
.bmw-nav__link{display:inline-flex;align-items:center;gap:.35rem;min-height:44px;padding:0;border:0;background:none;cursor:pointer;
  font:500 .96875rem/1.2 var(--bmw-sans);color:var(--bmw-sage-900);text-decoration:none;position:relative;}
.bmw-nav__link::after{content:"";position:absolute;left:0;right:0;bottom:8px;height:1.5px;background:var(--bmw-mark);transform:scaleX(0);transform-origin:left;transition:transform .3s var(--bmw-ease);}
.bmw-nav__link:hover::after{transform:scaleX(1);}
.bmw-nav__link[aria-current="page"]{text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:.45em;text-decoration-color:var(--bmw-sage-700);}
.bmw-nav__chev{transition:transform .25s var(--bmw-ease);}
.bmw-nav__split{display:inline-flex;align-items:center;gap:.1rem;}
.bmw-nav__toggle--chev{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:44px;padding:0;margin-right:-.4rem;border:0;border-radius:var(--bmw-r-sm);background:none;color:var(--bmw-sage-900);cursor:pointer;}
.bmw-nav__toggle--chev:hover{background:var(--bmw-sage-100);}
.bmw-nav__item--sub.is-open .bmw-nav__chev{transform:rotate(180deg);}
.bmw-nav__sub{list-style:none;margin:0;padding:.5rem;}
.bmw-nav__sublink{display:flex;align-items:center;min-height:44px;padding:.5rem .9rem;border-radius:var(--bmw-r-sm);
  font:450 1rem/1.3 var(--bmw-sans);color:var(--bmw-sage-900);text-decoration:none;}
.bmw-nav__sublink:hover{background:var(--bmw-sage-100);}
.bmw-nav__sublink[aria-current="page"]{text-decoration:underline;text-underline-offset:.3em;}
.bmw-js .bmw-nav__sub{display:none;}
.bmw-nav__item--sub.is-open > .bmw-nav__sub{display:block;}
html:not(.bmw-js) .bmw-nav__item--sub:is(:hover,:focus-within) > .bmw-nav__sub{display:block;}
.bmw-nav-panel__note{display:none;}

.bmw-menu-btn{display:none;align-items:center;gap:.7rem;min-height:var(--bmw-target);min-width:var(--bmw-target);padding:0 .25rem 0 .9rem;
  border:1.5px solid var(--bmw-sage-700);border-radius:var(--bmw-r-pill);background:transparent;cursor:pointer;
  font:500 .9375rem/1 var(--bmw-sans);color:var(--bmw-sage-900);}
.bmw-menu-btn__icon{position:relative;display:block;width:38px;height:38px;}
.bmw-menu-btn__icon i{position:absolute;left:10px;right:10px;height:1.5px;background:currentColor;transition:transform .3s var(--bmw-ease),top .3s var(--bmw-ease);}
.bmw-menu-btn__icon i:first-child{top:15px;}
.bmw-menu-btn__icon i:last-child{top:22px;}
.bmw-menu-open .bmw-menu-btn__icon i:first-child{top:18.5px;transform:rotate(45deg);}
.bmw-menu-open .bmw-menu-btn__icon i:last-child{top:18.5px;transform:rotate(-45deg);}

/* Full navigation from 1100px, unless site.js found it does not fit (html.bmw-nav-compact: a long menu item,
   large default text, zoom); then the compact rules below apply at any width. Without JS the media queries decide. */
@media (min-width:1100px){
  html:not(.bmw-nav-compact) .bmw-nav-panel{display:flex;align-items:center;gap:2.25rem;}
  html:not(.bmw-nav-compact) .bmw-nav__list{display:flex;align-items:center;gap:1.9rem;}
  html:not(.bmw-nav-compact) .bmw-nav__item--sub{position:relative;}
  html:not(.bmw-nav-compact) .bmw-nav__sub{position:absolute;top:calc(100% + .35rem);left:-1rem;min-width:15.5rem;background:var(--bmw-linen-0);
    border:1px solid var(--bmw-sand-300);border-radius:var(--bmw-r-sm) 1.25rem var(--bmw-r-sm) var(--bmw-r-sm);box-shadow:var(--bmw-shadow-lift);}
  html:not(.bmw-nav-compact) .bmw-header__cta{padding-inline:1.35rem;}
}
@media (max-width:1099px){
  .bmw-menu-btn{display:inline-flex;}
  .bmw-js .bmw-nav-panel{position:fixed;left:0;right:0;bottom:0;top:var(--bmw-header-h);overflow-y:auto;overscroll-behavior:contain;
    padding:1.5rem var(--bmw-gutter) 3rem;background:var(--bmw-linen-50);border-top:1px solid var(--bmw-sand-300);
    visibility:hidden;opacity:0;transform:translateY(-6px);transition:opacity .3s var(--bmw-ease),transform .3s var(--bmw-ease),visibility 0s linear .3s;}
  .admin-bar.bmw-js .bmw-nav-panel{top:calc(var(--bmw-header-h) + 46px);}
  .bmw-menu-open .bmw-nav-panel{visibility:visible;opacity:1;transform:none;transition:opacity .3s var(--bmw-ease),transform .3s var(--bmw-ease),visibility 0s;}
  html:not(.bmw-js) .bmw-menu-btn{display:none;}
  html:not(.bmw-js) .bmw-header{position:static;}
  html:not(.bmw-js) .bmw-header__bar{flex-wrap:wrap;}
  .bmw-nav__item{border-bottom:1px solid var(--bmw-sand-300);}
  .bmw-nav__split{display:flex;width:100%;}
  .bmw-nav__split .bmw-nav__link{flex:1;}
  .bmw-nav__toggle--chev{min-width:60px;min-height:60px;margin:0;}
  .bmw-nav__link{width:100%;justify-content:space-between;min-height:60px;font-family:var(--bmw-serif);font-weight:400;font-size:1.75rem;letter-spacing:-.01em;}
  .bmw-nav__link::after{display:none;}
  .bmw-nav__sub{padding:0 0 1rem;}
  .bmw-nav__sublink{padding-inline:0;font-size:1.0625rem;}
  .bmw-header__cta{display:flex;width:100%;margin-top:2rem;}
  .bmw-nav-panel__note{display:block;margin:1rem 0 0;color:var(--bmw-ink-700);font-size:1rem;}
  .bmw-nav-panel__note a{color:var(--bmw-sage-900);font-weight:500;}
  .bmw-menu-open{overflow:hidden;}
}
html.bmw-nav-compact .bmw-menu-btn{display:inline-flex;}
html.bmw-nav-compact .bmw-nav-panel{position:fixed;left:0;right:0;bottom:0;top:var(--bmw-header-h);overflow-y:auto;overscroll-behavior:contain;
  padding:1.5rem var(--bmw-gutter) 3rem;background:var(--bmw-linen-50);border-top:1px solid var(--bmw-sand-300);
  visibility:hidden;opacity:0;transform:translateY(-6px);transition:opacity .3s var(--bmw-ease),transform .3s var(--bmw-ease),visibility 0s linear .3s;}
html.bmw-nav-compact .admin-bar .bmw-nav-panel{top:calc(var(--bmw-header-h) + 46px);}
html.bmw-nav-compact body.bmw-menu-open .bmw-nav-panel{visibility:visible;opacity:1;transform:none;transition:opacity .3s var(--bmw-ease),transform .3s var(--bmw-ease),visibility 0s;}
html.bmw-nav-compact .bmw-nav__item{border-bottom:1px solid var(--bmw-sand-300);}
html.bmw-nav-compact .bmw-nav__split{display:flex;width:100%;}
html.bmw-nav-compact .bmw-nav__split .bmw-nav__link{flex:1;}
html.bmw-nav-compact .bmw-nav__toggle--chev{min-width:60px;min-height:60px;margin:0;}
html.bmw-nav-compact .bmw-nav__link{width:100%;justify-content:space-between;min-height:60px;font-family:var(--bmw-serif);font-weight:400;font-size:1.75rem;letter-spacing:-.01em;}
html.bmw-nav-compact .bmw-nav__link::after{display:none;}
html.bmw-nav-compact .bmw-nav__sub{padding:0 0 1rem;}
html.bmw-nav-compact .bmw-nav__sublink{padding-inline:0;font-size:1.0625rem;}
html.bmw-nav-compact .bmw-header__cta{display:flex;width:100%;margin-top:2rem;}
html.bmw-nav-compact .bmw-nav-panel__note{display:block;margin:1rem 0 0;color:var(--bmw-ink-700);font-size:1rem;}
html.bmw-nav-compact .bmw-nav-panel__note a{color:var(--bmw-sage-900);font-weight:500;}
html.bmw-nav-compact body.bmw-menu-open{overflow:hidden;}
@media (max-width:360px){.bmw-lockup__name{font-size:1.3rem;}.bmw-lockup__sub{font-size:.625rem;letter-spacing:.14em;}}
@media (max-width:420px){.bmw-menu-btn__label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}
  .bmw-menu-btn{padding:0;justify-content:center;}}

/* ==== footer =========================================================== */
.bmw-footer{background:var(--bmw-linen-100);color:var(--bmw-ink-700);padding-top:clamp(3.5rem,2rem + 5vw,6.5rem);font-size:1rem;}
.bmw-footer a{color:var(--bmw-sage-900);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:.25em;transition:text-decoration-color var(--bmw-t-fast);}
.bmw-footer a:hover{text-decoration-color:currentColor;}
.bmw-footer__grid{display:grid;gap:3rem 4rem;grid-template-columns:1fr;}
@media (min-width:760px){.bmw-footer__grid{grid-template-columns:1fr 1fr;}}
@media (min-width:1100px){.bmw-footer__grid{grid-template-columns:1.25fr 1fr 1fr;}}
.bmw-footer__home{display:inline-flex;min-height:var(--bmw-target);text-decoration:none!important;}
.bmw-footer__about{margin:1.25rem 0 .5rem;max-width:38ch;line-height:1.6;}
.bmw-footer__book{margin:0;}
.bmw-footer .bmw-link{color:var(--bmw-sage-700);text-decoration-color:color-mix(in srgb,currentColor 50%,transparent);}
.bmw-footer__h{font-family:var(--bmw-serif);font-size:1.375rem;font-weight:450;color:var(--bmw-sage-900);margin:0 0 1rem;}
.bmw-footer__list{list-style:none;margin:0;padding:0;display:grid;gap:0 1.5rem;}
.bmw-footer__list--two{grid-template-columns:repeat(2,minmax(0,1fr));}
.bmw-footer__list a{display:inline-flex;align-items:center;min-height:40px;}
.bmw-footer__facts{margin:0;display:grid;gap:.9rem;}
.bmw-footer__facts div{display:grid;gap:.1rem;}
.bmw-footer__facts dt{font-size:.875rem;color:var(--bmw-ink-700);}
.bmw-footer__facts dd{margin:0;color:var(--bmw-ink-900);}
.bmw-footer__facts dd a{display:inline-flex;min-height:32px;align-items:center;}
.bmw-footer__email{overflow-wrap:anywhere;}
.bmw-footer__portal{margin:1.25rem 0 0;}
.bmw-footer .bmw-footer__portal a{display:inline-block;padding-block:.2rem;text-decoration-color:color-mix(in srgb,currentColor 55%,transparent);font-weight:500;} /* a link inside a sentence is never colour-only (1.4.1); padded to a 24px+ target */
.bmw-footer__base{position:relative;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem 2rem;
  margin-top:clamp(3rem,2rem + 3vw,5rem);padding-block:1.25rem 1.75rem;font-size:.9375rem;}
.bmw-footer__copy{display:inline-flex;align-items:center;gap:.85rem;}
.bmw-footer__mark{display:block;width:auto;height:2.25rem;flex:none;}
.bmw-footer__base::before{content:"";position:absolute;top:0;left:var(--bmw-gutter);right:var(--bmw-gutter);height:1px;background:var(--bmw-sand-300);}
.bmw-footer__copy{margin:0;}
.bmw-footer__legal{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:0 1.5rem;}
.bmw-footer__legal a{display:inline-flex;align-items:center;min-height:40px;}

/* ==== prose: legal pages (core blocks) and blog posts ================= */
.bmw-components .entry-content > .bmw-page-body{width:100%;max-width:var(--bmw-max)!important;margin-inline:auto!important;
  padding:clamp(2.5rem,2rem + 2vw,4rem) var(--bmw-gutter) var(--bmw-section-y)!important;box-sizing:border-box;}
/* rhythm: a prose intro that runs straight into a linen section does not stack its bottom padding on the section's */
.bmw-components .entry-content > .bmw-page-body:has(+ .ca-component.bmw-tone-linen){padding-bottom:0!important;}
.bmw-page-body > *{max-width:68ch;}
.bmw-prose{max-width:68ch;}
.bmw-prose > *{margin-bottom:0;}
.bmw-prose > * + *{margin-top:1.1em;}
.bmw-prose :where(p,li){line-height:1.75;}
.bmw-prose :where(p,li) > a{padding-block:.14em;}   /* inline links: a 24px+ target without changing the line height */
.bmw-prose h2{font-size:clamp(1.625rem,1.2rem + 1.4vw,2.25rem);line-height:1.15;letter-spacing:-.01em;margin-top:2em;}
.bmw-prose h3{font-size:1.375rem;line-height:1.25;margin-top:1.6em;}
.bmw-prose :where(h2,h3){scroll-margin-top:calc(var(--bmw-header-h) + 1.5rem);}
.bmw-prose :where(h2,h3) + *{margin-top:.6em;}
.bmw-prose strong{font-weight:600;color:var(--bmw-ink-900);}
.bmw-prose ul,.bmw-prose ol{padding-left:1.25rem;}
.bmw-prose li + li{margin-top:.4em;}
.bmw-prose li::marker{color:var(--bmw-ochre-700);}
.bmw-prose :where(figure){margin:2em 0 0;}
.bmw-prose img{display:block;max-width:100%;height:auto;border-radius:0 1.25rem 0 0;}
.bmw-prose figcaption{margin-top:.6rem;font-size:var(--bmw-fs-small);line-height:1.5;color:var(--bmw-ink-700);}
.bmw-prose blockquote{margin:2em 0 0;padding:0 0 0 1.25rem;border-left:2px solid var(--bmw-ochre-400);font-family:var(--bmw-serif);font-style:italic;font-size:1.375rem;line-height:1.45;color:var(--bmw-sage-900);}
.bmw-prose hr{height:1px;margin:2.5em 0;border:0;background:var(--bmw-sand-300);}
/* PR-1.3.1-a: a bold-only line that labels the text under it is a real H4 (privacy policy), set exactly like the bold
   paragraph it replaces: Jost 600 at body size, ink-900, the paragraph's leading and wrapping */
.bmw-prose h4{font-family:var(--bmw-sans);font-size:inherit;font-weight:600;font-style:normal;line-height:1.75;letter-spacing:normal;
  text-transform:none;color:var(--bmw-ink-900);text-wrap:pretty;}
/* PR-1.3.1-b: a list written as run-in paragraphs ("Eat. …", "Sleep. …") keeps its list semantics and looks like those
   paragraphs: no indent, paragraph spacing, the number marker kept (WebKit drops list semantics without one) but unseen */
.bmw-prose ol.bmw-runin{padding-left:0;padding-inline-start:0;list-style-position:outside;}
.bmw-prose ol.bmw-runin > li{margin:0;}
.bmw-prose ol.bmw-runin > li + li{margin-top:1.1em;}
.bmw-prose ol.bmw-runin > li::marker{content:"";color:transparent;font-size:0;}
.bmw-prose .wp-block-buttons{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.5em;}
.bmw-prose .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:var(--bmw-target);padding:.7rem 1.6rem;
  border:1.5px solid var(--bmw-sage-700);border-radius:var(--bmw-r-pill);background:transparent;color:var(--bmw-sage-900);font:500 1rem/1.25 var(--bmw-sans);text-decoration:none;}
.bmw-prose .wp-block-button__link:hover{background:var(--bmw-sage-100);color:var(--bmw-sage-900);}
.bmw-prose .wp-block-button__link:focus-visible{border-radius:var(--bmw-r-pill);}
.bmw-legal .bmw-legal__updated{font-size:var(--bmw-fs-small);color:var(--bmw-ink-700);}

/* ==== tones: hairlines deepen on the tinted bands ===================== */
.bmw-tone-oat,.bmw-tone-blush,.bmw-tone-sage{--bmw-rule:var(--bmw-sand-400);}
/* the stats row already closes on its own space; a linen section right after it starts closer */
.bmw-stats + .bmw-section.bmw-tone-linen{padding-top:calc(var(--bmw-section-y) * .6);}
.bmw-btn[hidden]{display:none;}

/* ==== blog post ======================================================== */
/* A magazine column: the masthead (bmw-page-hero--article) and the text are centred; the cover sets wider than the
   text so the page opens on the photograph, then narrows to a reading measure. */
.bmw-article__wrap{display:flex;flex-direction:column;align-items:center;padding-top:0;padding-bottom:var(--bmw-section-y);}
.bmw-article__cover{width:100%;max-width:60rem;margin:0 0 clamp(2.75rem,2rem + 2.5vw,4.5rem);overflow:hidden;border-radius:0 var(--bmw-r-corner) 0 0;background:var(--bmw-oat-200);}
.bmw-article__cover img{display:block;width:100%;height:auto;}
.bmw-article__body{width:100%;}
.bmw-article__body > p:first-child{font-size:var(--bmw-fs-lede);line-height:1.6;}
.bmw-author{display:grid;grid-template-columns:auto minmax(0,1fr);gap:1.25rem 1.5rem;align-items:start;width:100%;max-width:68ch;margin-top:clamp(3rem,2.5rem + 2vw,4.5rem);padding-top:2rem;border-top:1px solid var(--bmw-sand-300);}
.bmw-author__img{display:block;width:88px;height:110px;object-fit:cover;object-position:50% 20%;border-radius:0 0 0 44px;}
.bmw-author__title{font-family:var(--bmw-serif);font-size:1.375rem;font-weight:450;line-height:1.3;color:var(--bmw-sage-900);}
.bmw-author p{margin:.5rem 0 0;color:var(--bmw-ink-700);line-height:1.6;}
.bmw-author .bmw-author__links{display:flex;flex-wrap:wrap;gap:0 1.75rem;margin-top:.25rem;}
@media (max-width:420px){.bmw-author{grid-template-columns:1fr;}}

/* ==== search, 404 ====================================================== */
.bmw-search{padding-block:clamp(2.5rem,2rem + 2vw,4rem) var(--bmw-section-y);}
.bmw-searchform{max-width:40rem;}
.bmw-searchform__label{display:block;margin-bottom:.5rem;font-weight:500;color:var(--bmw-ink-900);}
.bmw-searchform__row{display:flex;flex-wrap:wrap;gap:.75rem;}
.bmw-searchform .bmw-searchform__input{flex:1 1 15rem;min-width:0;min-height:var(--bmw-target);margin:0;padding:.6rem 1rem;border:1.5px solid var(--bmw-sage-700);
  border-radius:var(--bmw-r-sm);background:var(--bmw-linen-0);box-shadow:none;font:400 1.0625rem/1.4 var(--bmw-sans);color:var(--bmw-ink-900);}
.bmw-results{list-style:none;max-width:52rem;margin:clamp(2.5rem,2rem + 2vw,3.5rem) 0 0;padding:0;border-bottom:1px solid var(--bmw-sand-300);}
.bmw-result{padding-block:1.4rem;border-top:1px solid var(--bmw-sand-300);}
.bmw-result__type{margin:0;font-size:.875rem;font-weight:500;color:var(--bmw-ochre-700);}
.bmw-result__title{margin-top:.3rem;font-family:var(--bmw-serif);font-size:clamp(1.375rem,1.2rem + .6vw,1.75rem);font-weight:420;line-height:1.25;}
.bmw-result__title a{color:var(--bmw-sage-900);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em;text-decoration-color:color-mix(in srgb,currentColor 40%,transparent);}
.bmw-result__title a:hover{text-decoration-color:currentColor;}
.bmw-result__excerpt{margin:.45rem 0 0;max-width:64ch;color:var(--bmw-ink-700);line-height:1.6;}
.bmw-popular{margin-top:clamp(2.5rem,2rem + 2vw,3.5rem);}
.bmw-popular__title{font-family:var(--bmw-serif);font-size:1.625rem;font-weight:420;line-height:1.2;color:var(--bmw-sage-900);}
.bmw-popular__list{list-style:none;max-width:52rem;margin:1rem 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,15rem),1fr));column-gap:2rem;}
.bmw-popular__list a{display:flex;align-items:center;min-height:52px;border-top:1px solid var(--bmw-sand-300);font-weight:500;color:var(--bmw-sage-900);
  text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.24em;text-decoration-color:transparent;}
.bmw-popular__list a:hover{text-decoration-color:currentColor;}
/* ADV-03: result pages. The site's inline link style; the current page is plain text marked aria-current */
.bmw-pages{max-width:52rem;margin-top:clamp(2rem,1.5rem + 1.5vw,3rem);}
.bmw-pages__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;align-items:center;gap:.25rem 1rem;}
.bmw-pages .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem;min-height:2.75rem;font-weight:500;}
.bmw-pages a.page-numbers{color:var(--bmw-link);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.24em;
  text-decoration-color:color-mix(in srgb,currentColor 50%,transparent);}
.bmw-pages a.page-numbers:hover{color:var(--bmw-link-hover);text-decoration-color:currentColor;}
.bmw-pages .page-numbers.current{color:var(--bmw-ink-900);}
.bmw-pages .page-numbers.dots{color:var(--bmw-ink-700);font-weight:400;}

/* ==== print: a recipe (or a post) on paper, nothing else ============== */
@media print{
  @page{margin:14mm;}
  html,html body{background:#fff!important;color:#000!important;}
  .bmw-header,.bmw-footer,.skip-link,.bmw-cta,.bmw-crumbs,.bmw-recipes,.bmw-posts,.bmw-recipe__actions,.bmw-page-hero__actions,.bmw-author,.bmw-toc{display:none!important;}
  #main-container > main{padding-top:0!important;}
  .bmw-section,.bmw-recipe-detail,.bmw-article__wrap{padding-block:0!important;}
  .bmw-wrap{max-width:none!important;padding-inline:0!important;}
  .bmw-page-hero__grid{padding:0 0 10pt!important;}
  .bmw-page-hero__grid::after{display:none;}
  .ca-component .bmw-page-hero__title{max-width:none;font-size:24pt;color:#000;}
  .bmw-recipe__photo{max-height:2.3in;aspect-ratio:auto;border-radius:0;}
  .bmw-recipe__grid{display:block!important;margin-top:12pt!important;}
  .bmw-recipe__ingredients{position:static!important;margin-bottom:12pt;padding:0!important;background:none!important;break-inside:avoid;}
  .bmw-recipe__steps li{padding-block:5pt;break-inside:avoid;}
  .bmw-recipe__notes,.bmw-recipe__nutrition{margin-top:12pt!important;break-inside:avoid;}
  .bmw-recipe__panel summary{display:none;}
  a{color:#000!important;text-decoration:none!important;}
  [data-bmw-reveal]{opacity:1!important;transform:none!important;}
  .bmw-link::after{display:none;}
}

/* ==== motion =========================================================== */
/* Gentle reveals: site.js marks heads and cards with data-bmw-reveal and sets html.bmw-reveal only when it can reveal
   them (IntersectionObserver, no reduced motion). Without it, and in print, nothing is hidden. Under 1s, once. */
html.bmw-reveal [data-bmw-reveal]:not(.is-in){opacity:0;transform:translate3d(0,1.5rem,0);}   /* hidden at once, off screen */
html.bmw-reveal [data-bmw-reveal].is-in{transition:opacity .9s var(--bmw-ease-out) var(--bmw-rd,0ms),transform 1s var(--bmw-ease-out) var(--bmw-rd,0ms);}
/* photographs in linked cards lean in slowly on hover or focus, inside their own frame */
:is(.bmw-service__media,.bmw-recipe__media,.bmw-post__media) img{transition:transform 1.2s var(--bmw-ease-out);}
:is(.bmw-service,.bmw-recipe,.bmw-post):is(:hover,:focus-within) :is(.bmw-service__media,.bmw-recipe__media,.bmw-post__media) img{transform:scale(1.04);}
@media (prefers-reduced-motion:reduce){
  html.bmw-reveal [data-bmw-reveal]{opacity:1!important;transform:none!important;}
  :is(.bmw-service,.bmw-recipe,.bmw-post) :is(.bmw-service__media,.bmw-recipe__media,.bmw-post__media) img{transform:none!important;}
  .bmw-link:hover::after{transform:none;}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;transition-delay:0ms!important;scroll-behavior:auto!important;}
}

/* resizing (site.js): no transitions, so the nav panel cannot animate across the page at the breakpoint */
.bmw-resizing .bmw-nav-panel,.bmw-resizing .bmw-nav-panel *,.bmw-resizing .bmw-header{transition:none!important;}

/* Windows high-contrast / forced colours: the drawn icons and the raster logo stay visible (invisible otherwise) */
@media (forced-colors:active){
  .bmw-faq__icon::before,.bmw-faq__icon::after,.bmw-faqg .bmw-faq__icon::before,.bmw-faqg .bmw-faq__icon::after{forced-color-adjust:none!important;background:CanvasText!important;}
  .bmw-menu-btn__icon i{background:ButtonText;}
  .bmw-lockup__img,.bmw-footer__mark{forced-color-adjust:none;background-color:#FBF8F2;border-radius:4px;padding:2px;}
}

/* 1.4.4 / 1.4.10 / 1.4.12: blog card excerpts are clamped to three lines at the design's own settings only. When the
   reader enlarges text or spacing (site.js sets html.bmw-text-adapt) or the view is very narrow (400% zoom), the
   whole excerpt shows. Nothing changes at default settings. */
html.bmw-text-adapt .ca-component .bmw-post:not(.bmw-post--first) .bmw-post__excerpt{display:block;-webkit-line-clamp:unset;line-clamp:none;overflow:visible;}
@media (max-width:360px){.ca-component .bmw-post:not(.bmw-post--first) .bmw-post__excerpt{display:block;-webkit-line-clamp:unset;line-clamp:none;overflow:visible;}}
