/* briopost.com shared header and footer (every page except the home and features pages, whose own sheets carry the
   same rules). Cut from assets/features.css (the approved design, 2026-11-19); keep the two in step. */
.d5,.d6,.skip{--paper:#f6f4ef;--fs-body:1.0625rem;--mid:#121433;--ink2:#34376a;--spark:#ff5b2e;--card:#fcfbf8;--h100:#e8e9f6;--line:rgba(18,20,51,.14)}
.d5{--mid: #121433;
  --ink2: #34376a;
  --spark: #ff5b2e;
  --spark-tint: #ffb59c;
  --paper: #f6f4ef;
  --card: #fcfbf8;
  --h50: #f3f3fa;
  --h100: #e8e9f6;
  --h200: #d9dbf1;
  --h300: #c3c6e9;
  --h400: #a6aadb;
  --h500: #7c81c4;
  --h700: #464a8c;
  --line: rgba(18, 20, 51, .14);
  
  --sw-c: #aeb1e0;
  --sw-g: #ffab8c;
  --sw-t: #d3d5f0;
  --sw-p: #7c81c4;
  --ff-d: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --ff-b: "Inter", ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --gut: clamp(16px, 4vw, 64px);
  --shadow-1: 0 1px 2px rgba(18, 20, 51, .06), 0 8px 24px -8px rgba(18, 20, 51, .18);
  --shadow-2: 0 2px 4px rgba(18, 20, 51, .06), 0 24px 48px -16px rgba(18, 20, 51, .28);
  color-scheme: light;}
.d5 *,.d5 *::before,.d5 *::after{box-sizing: border-box;}
.d5{-webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--h500) var(--h100);}
@media (prefers-reduced-motion: reduce){
.d5{scroll-behavior: auto;}
}
.d5{margin: 0; font-family: var(--ff-b); font-size: 1.0625rem; line-height: 1.6; color: var(--mid);
  background: var(--h100); overflow-x: clip; font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;}
.d5 img{max-width: 100%; height: auto; display: block;}
.d5 [hidden]{display: none !important;}
.d5 a{color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px;}
.d5 ::selection{background: var(--h300); color: var(--mid);}
.d5 :focus-visible{outline: 3px solid var(--mid); outline-offset: 3px; border-radius: 6px;}
.d5 ul{margin: 0; padding: 0; list-style: none;}
.d5 button{font: inherit; color: inherit;}
.d5 .ico{width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none;}
.d5 .wrap{width: 100%; max-width: 1640px; margin-inline: auto; padding-inline: var(--gut);}
.d5 .btn{display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em;
  border: 0; border-radius: 999px; font-weight: 650; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;}
.d5 .btn-spark{background: var(--spark); color: var(--mid); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 22px -10px rgba(204, 64, 24, .7);}
.d5 .btn-spark:hover{transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 14px 26px -10px rgba(204, 64, 24, .8); background: #ff6a40;}
.d5 .btn-small{min-height: 42px; padding: .55em 1.1em; font-size: .95rem;}
.d5 .btn:disabled{opacity: .55; cursor: not-allowed; transform: none;}
.d5 .site-head{position: relative; z-index: 20; background: #d6d8f0;}
.d5 .head-row{display: flex; align-items: center; gap: 28px; min-height: 84px;}
.d5 .logo img{width: 150px; height: auto;}
.d5 .nav{margin-left: 24px;}
.d5 .nav ul{display: flex; gap: clamp(14px, 2vw, 34px);}
.d5 .nav a{text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; background: linear-gradient(var(--spark), var(--spark)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease);}
.d5 .nav a:hover{background-size: 100% 2px;}
.d5 .head-actions{margin-left: auto; display: flex; align-items: center; gap: 22px;}
.d5 .signin-link{font-weight: 550; text-decoration: none;}
.d5 .signin-link:hover{text-decoration: underline;}
.d5 .menu-btn{display: none; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); font-weight: 600; cursor: pointer;}
.d5 .menu-panel{position: absolute; left: var(--gut); right: var(--gut); top: 76px; background: var(--card); border-radius: 22px; box-shadow: var(--shadow-2); padding: 18px;}
.d5 .menu-panel ul{display: grid; gap: 2px; margin-bottom: 14px;}
.d5 .menu-panel a:not(.btn){display: block; padding: 12px 10px; border-radius: 10px; text-decoration: none; font-weight: 550; font-size: 1.1rem;}
.d5 .menu-panel a:not(.btn):hover{background: var(--h100);}
.d5 .menu-panel .btn{width: 100%;}
@media (max-width: 1080px){
.d5 .nav,.d5 .signin-link,.d5 .head-actions > .btn{display: none;}
.d5 .menu-btn{display: inline-flex;}
}
@media (max-width: 480px){
.d5 .head-row{min-height: 72px;}
.d5 .logo img{width: 130px;}
}
@media (min-width: 1700px){
.d5{font-size: 1.125rem;}
}
@media (prefers-reduced-motion: reduce){
.d5 *,.d5 *::before,.d5 *::after{animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important;}
}
.d5 .site-head{box-shadow: inset 0 -1px 0 var(--line);}
.d6{--orange: #FF5B2E;
  --spark-tint: #FFB59C;
  --midnight: #121433;
  --deep: #0C0E26;
  --paper: #F6F4EF;
  --card: #FCFBF8;
  --h50: #F3F3FA;
  --h100: #E8E9F6;
  --h200: #D9DBF1;
  --h300: #C3C6E9;
  --h400: #A6AADB;
  --h500: #7C81C4;
  --h700: #464A8C;
  --paper-2: var(--h200);
  --haze: var(--h500);
  --haze-deep: var(--h700);  
  --ink: #121433;
  --ink-2: #34376A;          
  --on-dark-2: #C6C8E4;      
  --rule: rgba(18, 20, 51, .14);
  --rule-strong: rgba(18, 20, 51, .9);
  --white: #FFFFFF;
  --focus: var(--midnight);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --display: "Bricolage", "Inter", system-ui, sans-serif;
  --text: "Inter", system-ui, sans-serif;
  --wrap: 1760px;
  --gutter: clamp(16px, 4.6vw, 88px);
  --radius: 12px;
  --shadow-sheet: 0 28px 50px -24px rgba(18, 20, 51, .45), 0 6px 14px -6px rgba(18, 20, 51, .2);
  --shadow-card: 0 18px 40px -22px rgba(12, 14, 38, .45), 0 3px 8px -4px rgba(12, 14, 38, .18);
  color-scheme: light;}
.d6 *,.d6 *::before,.d6 *::after{box-sizing: border-box;}
.d6{-webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--h700) var(--h100);}
@media (prefers-reduced-motion: reduce){
.d6{scroll-behavior: auto;}
}
.d6{margin: 0; background: var(--h100); color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text); font-feature-settings: "ss01", "cv11";
  overflow-x: clip; caret-color: var(--orange);}
.d6 ::selection{background: var(--midnight); color: var(--h50);}
.d6 img{display: block; max-width: 100%; height: auto;}
.d6 a{color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .22em; text-decoration-color: var(--orange);}
.d6 a:hover{text-decoration-thickness: 3px;}
.d6 button,.d6 input,.d6 select{font: inherit; color: inherit;}
.d6 button{cursor: pointer;}
.d6 h2,.d6 h3{font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 0; text-wrap: balance; font-variation-settings: "opsz" 96;}
.d6 p{margin: 0; text-wrap: pretty;}
.d6 ul{margin: 0; padding: 0; list-style: none;}
.d6 :focus-visible{outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px;}
.d6 .sr-only{position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;}
.d6 .wrap{width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter);}
.d6 .btn{display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: 0 22px;
  border: 0; border-radius: 10px; font-weight: 650; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);}
.d6 .btn:active{transform: translateY(1px);}
.d6 .btn-spark{background: var(--orange); color: var(--midnight);}
.d6 .btn-spark:hover{background: #FF6F47;}
.d6 .btn-wide{width: 100%;}
.d6 .foot{background: var(--midnight); color: var(--h50); padding-block: clamp(44px, 4.5vw, 72px) 28px; --focus: var(--orange);}
.d6 .foot ::selection{background: var(--orange); color: var(--midnight);}
.d6 .foot-grid{display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));}
.d6 .foot-brand img{width: 168px;}
.d6 .foot-brand p{margin-top: 14px; color: var(--on-dark-2);}
.d6 .foot-col .foot-h{font: 700 .875rem/1.2 var(--text); letter-spacing: .02em; color: var(--h400);}
.d6 .foot-col ul{margin-top: 14px; display: grid; gap: 8px;}
.d6 .foot-col a{text-decoration: none;}
.d6 .foot-col a:hover{text-decoration: underline; text-decoration-color: var(--orange);}
.d6 .foot-base{margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(243, 243, 250, .14); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .875rem; color: var(--on-dark-2);}
.defs{position: absolute;}
.src{background: none !important; font-size: var(--fs-body);}
.skip{position: absolute; left: 12px; top: -60px; z-index: 60; background: var(--mid); color: var(--paper); padding: 10px 16px; border-radius: 10px;}
.skip:focus{top: 8px;}
.d5 .btn{display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 48px; padding: .7em 1.35em; border: 0; border-radius: 999px; font: 650 1rem/1.1 var(--ff-b); letter-spacing: 0; text-decoration: none; cursor: pointer; text-transform: none; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s;}
.d5 .btn-small{min-height: 42px; padding: .55em 1.1em; font-size: .95rem;}
.d5 .btn-spark{background: var(--spark); color: var(--mid); box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 10px 22px -10px rgba(204, 64, 24, .7);}
.d5 .btn-spark:hover{transform: translateY(-1px); background: #ff6a40; box-shadow: 0 1px 0 rgba(255, 255, 255, .35) inset, 0 14px 26px -10px rgba(204, 64, 24, .8);}
.site-head svg.ico{stroke-width: 1.75;}
.foot :focus-visible{outline: 3px solid var(--spark); outline-offset: 3px;}
.foot .foot-base{display: grid; gap: 4px; justify-content: start;}
.foot .foot-base .fine{margin: 0; font-size: .8125rem; font-weight: 400; color: #c6c8e4;}
.foot .foot-base .fine-quiet{font-size: .375rem; color: #b3b6dc;}
.site-head .logo{display: inline-flex; align-items: center; min-height: 44px;}
footer.foot .foot-brand img{width:228px;height:auto}footer.foot .foot-brand p{position:relative;padding-bottom:12px;font-size:1.0625rem;color:#f3f3fa;font-weight:600}footer.foot .foot-brand p::after{content:"";position:absolute;left:0;bottom:0;width:40px;height:4px;border-radius:2px;background:#ff5b2e}
@media (max-width: 1080px){
html:not(.js) .d5 .menu-btn{display: none;}
html:not(.js) .d5 .head-row{flex-wrap: wrap; row-gap: 6px;}
html:not(.js) .d5 .nav{display: block; order: 3; flex-basis: 100%; margin: 0;}
html:not(.js) .d5 .nav ul{flex-wrap: wrap; gap: 4px 18px;}
}
/* Footer layout: the brand on its own row, then the link columns; the guide list runs in two columns on wide screens. */
.d6 .foot-brand{grid-column:1/-1}
/* Phones and tablets: two columns, the guide list across both. */
@media (max-width:1099px){.d6 .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:20px;row-gap:32px}.d6 .foot-col-guides{grid-column:1/-1}.d6 .foot-col-guides ul{display:block;columns:2;column-gap:20px}.d6 .foot-col-guides li{break-inside:avoid;margin-bottom:8px}}
@media (max-width:420px){.d6 .foot-col{font-size:.9375rem}}
@media (max-width:1099px){.d6 .foot-col-guides{order:2}.d6 .foot-col:has(#f-tools),.d6 .foot-col:has(#f-for){order:3}}
@media (min-width:1100px){.d6 .foot-grid{grid-template-columns:minmax(0,1fr) minmax(0,2.2fr) repeat(3,minmax(0,1fr));column-gap:clamp(28px,3vw,56px)}.d6 .foot-col-guides{grid-column:auto}.d6 .foot-col-guides ul{display:block;columns:2;column-gap:28px}.d6 .foot-col-guides li{break-inside:avoid;margin-bottom:8px}}
.d6 .foot-col a{display:inline-block;padding-block:3px}

/* Round 1 fixes (F2): touch targets, current page, skip link, short-screen menu, footer grid at 1920 */
.d5 .nav a{display:inline-flex;align-items:center;min-height:44px}
.d5 .nav a[aria-current=page]{background-size:100% 2px}
.d5 .signin-link{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap}
.d5 .menu-panel{max-height:calc(100vh - 92px);max-height:calc(100dvh - 92px);overflow-y:auto;overscroll-behavior:contain}
.d5 .menu-panel a[aria-current=page]:not(.btn){background:var(--h100)}
.d6 .wrap{max-width:1640px;padding-inline:clamp(16px,4vw,64px)}
.d6 .foot-col ul{row-gap:0}
.d6 .foot-col a{display:inline-flex;align-items:flex-start;min-height:44px;padding-block:11px;line-height:1.35}
.d6 .foot-col-guides li{margin-bottom:0}
.d6 .foot-col li{display:flex}
.skip{text-decoration:none;font-weight:700}
.skip:focus{top:92px}
.skip:focus-visible{outline:3px solid var(--mid);outline-offset:3px;box-shadow:0 0 0 6px #fff}

/* Tighter footer (owner, 2026-11-19): a compact link list. Each link is at least 28px tall with its neighbors close,
   which keeps the WCAG 2.2 target-size minimum (24px); the logo and the gaps shrink to match. */
.d6 .foot{padding-block:clamp(36px,3.4vw,52px) 22px}
footer.foot .foot-brand img{width:176px}
footer.foot .foot-brand p{margin-top:10px;padding-bottom:10px;font-size:1rem}
.d6 .foot-grid{row-gap:26px}
.d6 .foot-col ul{margin-top:10px}
.d6 .foot-col a{min-height:28px;padding-block:3px;line-height:1.3;font-size:.9375rem}
.d6 .foot-base{margin-top:28px;padding-top:16px}
@media (max-width:1099px){.d6 .foot-grid{row-gap:24px}.d6 .foot-col a{min-height:32px;padding-block:5px}}

/* The header stays at the top while the page scrolls (owner, 2026-11-19). The header partial wraps it in
   <div class="src d5">, so that wrapper is the sticky element. Without JavaScript the menu links wrap under the logo and
   the header is taller, so it scrolls away as before. Jump links land below the header. */
.src.d5:has(> .site-head){position:sticky;top:0;z-index:50}
html:not(.js) .src.d5:has(> .site-head){position:static}
[id]{scroll-margin-top:100px}
@media (max-width:480px){[id]{scroll-margin-top:88px}}
/* The features page's "On this page" bar sits just under the header. */
@media (min-width:961px){.fx-page .f-nav{top:108px}}
@media (max-width:960px){.fx-page .f-nav{top:84px;z-index:40}#main .fx-page .f-sec{scroll-margin-top:156px}}
@media (max-width:480px){.fx-page .f-nav{top:72px}#main .fx-page .f-sec{scroll-margin-top:144px}}
/* footer logo: soft lavender glow behind the icon (same as the film's logo slides) */
footer.foot .foot-brand a{position:relative;display:inline-block;isolation:isolate}
footer.foot .foot-brand a::before{content:"";position:absolute;z-index:-1;pointer-events:none;left:calc(9.33% - 23.4%);top:50%;width:46.8%;aspect-ratio:1;transform:translateY(-50%);border-radius:50%;background:radial-gradient(circle,rgba(160,166,240,.42) 0%,rgba(140,146,222,.20) 34%,rgba(124,129,196,.06) 56%,rgba(18,20,51,0) 70%)}
/* Launch review fixes (2026-11-29): the form error line reads as an error (it was plain dark bold text at 320 px and on
   the home page): dark red on the light page (about 7:1 on #f6f4ef), a red bar and a "!" badge, so colour is not the only cue. */
.form-msg.is-error{color:#A3221B;font-weight:600;padding-left:12px;border-left:3px solid #A3221B}
.form-msg.is-error::before{content:"!";display:inline-flex;align-items:center;justify-content:center;width:1.25em;height:1.25em;margin-right:8px;border-radius:50%;background:#A3221B;color:#fff;font-size:.8em;font-weight:700;line-height:1;vertical-align:.05em}
#main:focus{outline:none}
