/* Border Sense · shared portfolio structure with its own warm coral accent */
:root{--bs-accent:#cd7858;--bs-accent-bright:#e99b72;--bs-ink:#27252b;--bs-muted:#68717a;--bs-paper:#fffaf6;--bs-line:#eadcd5}
.bs-page{font-family:Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:#fffaf7;color:var(--bs-ink)}.bs-page *{box-sizing:border-box}.bs-page a{transition:color .2s ease}.bs-main{padding:128px 30px 0}.bs-wrap{max-width:1180px;margin:0 auto}.bs-back{display:inline-block;margin-bottom:46px;font-size:13px;color:#786a67;text-decoration:none}.bs-back:hover{color:var(--bs-accent)}.bs-section{margin-bottom:142px;scroll-margin-top:105px}.bs-eyebrow,.bs-index{font-size:11px;letter-spacing:.17em;font-weight:700;line-height:1.5;color:var(--bs-accent);display:block}.bs-hero-grid{display:grid;grid-template-columns:.94fr 1.06fr;gap:58px;align-items:center;margin-top:20px}.bs-hero h1{font-size:clamp(60px,9.2vw,136px);letter-spacing:-.078em;font-weight:760;line-height:.98;margin:0 0 30px;white-space:nowrap}.bs-hero h1 span{color:var(--bs-accent)}.bs-statement{font-size:clamp(26px,3.1vw,40px);line-height:1.22;letter-spacing:-.045em;margin:0 0 25px;font-weight:460}.bs-statement em,.bs-head h2 em{font-style:normal;color:var(--bs-accent)}.bs-lede{font-size:16px;color:#5c616a;line-height:1.8;max-width:500px}.bs-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.bs-chips span{border:1px solid #ead5c9;border-radius:999px;background:#fff2e9;padding:8px 12px;font-size:11px;color:#946c58}.bs-hero-photo{margin:0;min-width:0}.bs-hero-photo img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;object-position:center;border-radius:20px}.bs-hero-photo figcaption,.bs-page figcaption{font-size:12px;font-weight:400;color:#94827d;line-height:1.5;margin-top:12px}.bs-overview-meta{margin-top:80px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-block:1px solid var(--bs-line)}.bs-overview-meta>div{padding:27px 24px;border-right:1px solid var(--bs-line)}.bs-overview-meta>div:first-child{padding-left:0}.bs-overview-meta>div:last-child{border:0}.bs-overview-meta small,.bs-three article>span,.bs-finding small{font-size:11px;letter-spacing:.12em;font-weight:700;color:#b27055}.bs-overview-meta p{font-size:15px;line-height:1.62;color:#39404a;margin:14px 0 0}.bs-head{max-width:820px;margin-bottom:36px}.bs-head h2{font-size:clamp(36px,5vw,62px);letter-spacing:-.058em;line-height:1.12;font-weight:660;margin:16px 0 18px}.bs-head>p{font-size:16px;line-height:1.82;color:#647079;max-width:770px}.bs-wide-figure{margin:0}.bs-wide-figure img{width:100%;max-height:355px;object-fit:cover;object-position:center;border-radius:18px;display:block}.bs-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:32px}.bs-three article{padding:25px;background:white;border:1px solid var(--bs-line);border-radius:15px}.bs-three h3{font-size:22px;letter-spacing:-.035em;margin:13px 0}.bs-three p{font-size:14px;line-height:1.72;color:#677079;margin:0}.bs-research-grid{display:grid;grid-template-columns:1fr 1.2fr;gap:20px}.bs-finding{border:1px solid var(--bs-line);border-radius:18px;padding:32px;background:#fff}.bs-finding .bs-number{font-size:clamp(78px,10vw,128px);font-weight:740;letter-spacing:-.08em;line-height:1;color:var(--bs-accent);margin:24px 0 10px}.bs-number span{font-size:.42em}.bs-finding h3{font-size:24px;letter-spacing:-.03em;line-height:1.3;margin:12px 0}.bs-finding p{font-size:13px;line-height:1.75;color:#74747b}.bs-barrier{border-top:1px solid #efe4dd;padding:16px 0}.bs-barrier b{font-size:15px;font-weight:650}.bs-barrier p{margin:5px 0 0}.bs-evidence{margin-top:24px;display:grid;grid-template-columns:.72fr 1.28fr;gap:36px;align-items:center;padding:28px;border-radius:17px;background:#f8efea}.bs-evidence h3{font-size:27px;letter-spacing:-.045em;line-height:1.2}.bs-evidence p{font-size:14px;line-height:1.75;color:#6c6260}.bs-evidence figure{margin:0}.bs-evidence img{width:100%;border-radius:12px;display:block;background:#15151d}.bs-strategy{background:#29252b;color:#f9ede5;border-radius:25px;padding:56px}.bs-strategy .bs-head p{color:#c4b8b3}.bs-strategy .bs-index{color:#f6b18c}.bs-stages{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.bs-stages article{border:1px solid #64524b;background:#3b3235;border-radius:16px;padding:24px;min-height:260px;display:flex;flex-direction:column}.bs-stage-top{display:flex;justify-content:space-between;font-size:11px;font-weight:650;letter-spacing:.1em;color:#f6b18c}.bs-stages h3{font-size:25px;letter-spacing:-.045em;margin:39px 0 8px}.bs-stages p{font-size:14px;line-height:1.7;color:#d6cac6;margin:0}.bs-stage-foot{margin-top:auto;padding-top:25px;color:#ffc9a9;font-size:12px}.bs-principle{margin-top:20px;padding:22px 25px;border-left:3px solid #e89d77;background:#453636;border-radius:0 10px 10px 0}.bs-principle strong{font-size:11px;letter-spacing:.13em;color:#ffbc96}.bs-principle p{margin:8px 0 0;font-size:17px;line-height:1.5;max-width:850px}.bs-flow{display:flex;gap:8px;align-items:stretch}.bs-flow-node{flex:1;min-width:0;border:1px solid #e8d8d0;border-radius:14px;padding:22px;background:white}.bs-flow-node small{font-size:10px;letter-spacing:.13em;color:var(--bs-accent);font-weight:750}.bs-flow-node h3{font-size:18px;line-height:1.25;margin:14px 0 8px}.bs-flow-node p{font-size:13px;color:#6b6a6a;line-height:1.6}.bs-flow-arrow{align-self:center;color:var(--bs-accent);font-size:22px}.bs-secondary-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:26px;align-items:center;margin-top:45px}.bs-secondary-grid figure{margin:0;min-width:0}.bs-secondary-grid img{display:block;width:100%;border:1px solid #e9e1dd;border-radius:15px}.bs-flow-notes{padding:28px;border:1px solid #efe4de;border-radius:15px}.bs-flow-notes h3{font-size:24px;letter-spacing:-.03em}.bs-flow-notes p{font-size:14px;line-height:1.7;color:#6f7278}.bs-feature{display:grid;grid-template-columns:.65fr 1.35fr;gap:38px;align-items:center;margin-bottom:60px}.bs-feature>div{min-width:0}.bs-feature h3{font-size:clamp(28px,3.2vw,40px);line-height:1.16;letter-spacing:-.04em}.bs-feature p{font-size:15px;line-height:1.8;color:#647079}.bs-feature figure{margin:0;min-width:0}.bs-feature img{display:block;width:100%;max-height:490px;object-fit:contain;background:#201c20;border-radius:18px}.bs-feature-points{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}.bs-feature-points span{background:#fff0e3;color:#a2694e;border-radius:99px;padding:8px 12px;font-size:12px}.bs-onboard{grid-template-columns:1.25fr .75fr}.bs-onboard img{max-height:300px}.bs-caveat{font-size:13px!important;color:#906d5f!important}.bs-outcomes{margin-bottom:55px}.bs-page .shared-project-nav{border-top:1px solid #e6d8d1;padding:30px 0 12px;display:flex;justify-content:space-between;gap:16px}.bs-page .shared-project-nav a{font-size:15px;color:#776a68;text-decoration:none;font-weight:570}.bs-page .shared-project-nav a:hover{color:var(--bs-accent)}.bs-toc{position:fixed;z-index:22;top:50%;transform:translateY(-50%);left:max(17px,calc((100vw - 1610px)/2 + 22px));width:176px;display:grid;gap:0;padding:4px 0;background:transparent}.bs-toc>span{font-size:11px;letter-spacing:.12em;color:#af9386;font-weight:760;margin-bottom:16px}.bs-toc a{font-size:13px;text-decoration:none;color:#9b8b86;border-left:1px solid #d5c5bd;padding:12px 12px;line-height:1.25;transition:color .2s,border-color .2s,background .2s}.bs-toc a:hover{color:#c67d5a}.bs-toc a.active{border-left:3px solid var(--bs-accent);color:#b76b49;font-weight:700;padding-left:10px}.bs-reveal{opacity:1;transform:none}.bs-motion-ready .bs-reveal:not(.is-visible){opacity:0;transform:translateY(27px)}.bs-motion-ready .bs-reveal{transition:opacity .8s ease,transform .8s cubic-bezier(.22,1,.36,1)}.bs-motion-ready .bs-reveal.is-visible{opacity:1;transform:none}@media(min-width:1430px){.bs-wrap{max-width:1170px;margin-left:max(230px,calc((100vw - 1170px)/2))}.bs-toc{left:max(22px,calc((100vw - 1580px)/2 + 26px))}}@media(max-width:1340px){.bs-toc{display:none}.bs-wrap{max-width:1120px}}@media(max-width:850px){.bs-main{padding:115px 20px 0}.bs-hero-grid,.bs-research-grid,.bs-evidence,.bs-secondary-grid,.bs-feature,.bs-onboard{grid-template-columns:1fr}.bs-hero h1{font-size:clamp(55px,11vw,100px)}.bs-hero-photo img{aspect-ratio:16/10}.bs-overview-meta,.bs-three,.bs-stages{grid-template-columns:1fr}.bs-overview-meta>div{border-right:0;border-bottom:1px solid var(--bs-line);padding:20px 0}.bs-overview-meta>div:last-child{border:0}.bs-strategy{padding:32px 22px}.bs-section{margin-bottom:100px}.bs-flow{display:grid;grid-template-columns:1fr}.bs-flow-arrow{justify-self:center;transform:rotate(90deg)}.bs-feature{gap:16px}.bs-onboard figure{order:2}.bs-onboard>div{order:1}}@media(prefers-reduced-motion:reduce){.bs-motion-ready .bs-reveal:not(.is-visible){opacity:1;transform:none}.bs-motion-ready .bs-reveal{transition:none}}/* Hero title must fit its column on regular desktop widths. */
.bs-hero h1{font-size:clamp(54px,6.2vw,87px);white-space:normal;overflow-wrap:normal}
@media(max-width:850px){.bs-hero h1{font-size:clamp(50px,10vw,78px)}}


/* V79 — warm editorial canvas, matching Border Sense rather than AI Room blue */
html:has(body.bs-page){background:#fff7f0}
body.bs-page{background:radial-gradient(ellipse 72% 42% at 48% 4%,#fff1e5 0%,#fff8f3 70%,transparent 100%),#fff8f3!important;color:#29282c}
body.bs-page .header{background:transparent!important}
body.bs-page .brand-dot{color:#d57957}
body.bs-page .pillnav a:hover,body.bs-page .pillnav a:focus-visible{color:#c86c4a}
body.bs-page .footer{background:#fff7f0;border-color:#eadacf}
body.bs-page .bs-main{background:transparent}
/* Consistent floating sticky chapter index, and a single moving progress marker. */
body.bs-page .bs-toc{--bs-active-top:0px;--bs-active-height:42px;--bs-scroll-progress:0%;isolation:isolate;padding-left:0}
body.bs-page .bs-toc::before{content:"";position:absolute;left:0;top:33px;bottom:4px;width:1px;background:#ddcdc5;z-index:-1}
body.bs-page .bs-toc::after{content:"";position:absolute;left:0;top:var(--bs-active-top);height:var(--bs-active-height);width:3px;border-radius:3px;background:#d47752;transform:translateZ(0);transition:top .32s cubic-bezier(.2,.8,.2,1),height .32s ease;pointer-events:none}
body.bs-page .bs-toc a{border-left:0!important;color:#827872;padding:12px 15px!important;transition:color .22s ease,transform .22s ease,font-weight .22s ease}
body.bs-page .bs-toc a:hover{color:#bb704f;transform:translateX(3px)}
body.bs-page .bs-toc a.active{color:#b95734!important;font-weight:700!important;background:linear-gradient(90deg,#f7e1d6 0,transparent 95%)}
body.bs-page .bs-toc a:focus-visible{outline:2px solid #d47752;outline-offset:3px}
/* Larger, coherent reveals across all content areas rather than a subset. */
body.bs-page.bs-motion-ready .bs-reveal{transition:opacity .82s cubic-bezier(.2,.75,.2,1),transform .82s cubic-bezier(.2,.75,.2,1),filter .82s ease}
body.bs-page.bs-motion-ready .bs-reveal:not(.is-visible){opacity:0;transform:translate3d(0,34px,0);filter:blur(3px)}
body.bs-page.bs-motion-ready .bs-reveal.is-visible{opacity:1;transform:translate3d(0,0,0);filter:blur(0)}
@media(min-width:1350px){body.bs-page .bs-toc{display:grid}}
@media(max-width:1349px){body.bs-page .bs-toc{display:none}}
@media(prefers-reduced-motion:reduce){body.bs-page.bs-motion-ready .bs-reveal,body.bs-page.bs-motion-ready .bs-reveal:not(.is-visible){opacity:1!important;transform:none!important;filter:none!important;transition:none!important}}

/* V80 — genuine web-native case study elements, no slide composites */
.bs-context-story{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.bs-context-story article{min-height:260px;border:1px solid #ead8ce;border-radius:20px;padding:31px;background:linear-gradient(145deg,#fff,#fff0e6);display:flex;flex-direction:column;justify-content:end}
.bs-story-id,.bs-persona-number{font-size:11px;letter-spacing:.14em;font-weight:700;color:#b96848}
.bs-context-story h3{font-size:27px;letter-spacing:-.045em;line-height:1.15;margin:22px 0 8px;font-weight:650}
.bs-context-story p{font-size:15px;line-height:1.6;color:#6a6262;margin:0}
.bs-persona-section{margin-top:36px;border-top:1px solid #eadbd3;padding-top:32px}
.bs-persona-heading h3{font-size:29px;letter-spacing:-.04em;font-weight:650;margin:12px 0}
.bs-persona-heading p{font-size:14px;line-height:1.7;color:#6c6b70;max-width:780px}
.bs-persona-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:24px}
.bs-persona-grid article{background:#fff;border:1px solid #eedfd6;border-radius:17px;padding:27px;min-height:270px;display:flex;flex-direction:column}
.bs-persona-grid h4{font-size:23px;letter-spacing:-.035em;font-weight:650;margin:15px 0 8px}
.bs-persona-grid p{font-size:14px;line-height:1.7;color:#6c6870}
.bs-persona-signal{font-size:11px;color:#9c745f;margin-top:auto;border-top:1px solid #f1e3db;padding-top:15px}
.bs-persona-signal strong{display:block;font-size:14px;color:#aa613e;margin-top:5px;font-weight:650}
.bs-flow-support{display:grid;grid-template-columns:.8fr 1.2fr;gap:45px;align-items:start;margin-top:48px}
.bs-flow-support h3{font-size:28px;line-height:1.24;letter-spacing:-.04em;margin:12px 0}
.bs-flow-support p{font-size:14px;line-height:1.75;color:#6b6870}
.bs-touchpoints{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.bs-touchpoints article{border:1px solid #eddbd2;border-radius:15px;padding:20px;background:#fff}
.bs-touchpoints article>span{display:block;font-size:12px;color:#bb7657;font-weight:700;margin-bottom:12px}
.bs-touchpoints strong{font-size:17px;font-weight:650}.bs-touchpoints p{margin:8px 0 0;font-size:13px}
.bs-feature:not(.bs-onboard){grid-template-columns:.85fr .64fr .64fr;gap:22px;align-items:center}
.bs-feature:not(.bs-onboard) figure{min-width:0;text-align:center}
.bs-feature:not(.bs-onboard) figure img{width:100%;height:430px;object-fit:contain;object-position:center;background:#292528;border-radius:18px;padding:12px}
.bs-feature:not(.bs-onboard) figure figcaption{text-align:center}
.bs-onboard{grid-template-columns:1.25fr .75fr;gap:35px}
.bs-onboarding-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.bs-onboard-step{background:#fff;border:1px solid #ecdcd2;border-radius:16px;padding:23px}
.bs-onboard-step>span{color:#bc7857;font-size:12px;font-weight:700}
.bs-onboard-step h4{font-weight:650;font-size:19px;letter-spacing:-.025em;margin:14px 0 5px}
.bs-onboard-step p{font-size:13px;line-height:1.6;color:#68636a;margin:0}
@media(max-width:1040px){.bs-context-story,.bs-persona-grid{grid-template-columns:1fr 1fr}.bs-feature:not(.bs-onboard){grid-template-columns:1fr 1fr}.bs-feature:not(.bs-onboard)>div{grid-column:1/-1}.bs-flow-support{grid-template-columns:1fr}}
@media(max-width:650px){.bs-context-story,.bs-persona-grid,.bs-touchpoints,.bs-onboarding-steps,.bs-feature:not(.bs-onboard){grid-template-columns:1fr}.bs-context-story article{min-height:210px}.bs-feature:not(.bs-onboard)>div{grid-column:auto}.bs-feature:not(.bs-onboard) figure img{max-width:330px;margin:auto}.bs-onboard{grid-template-columns:1fr}}

/* V81: native image presentation and aligned case-study design */
html:has(body.bs-page),body.bs-page{background:#fff8f2!important;background-image:radial-gradient(ellipse 72% 37% at 50% 0%,#ffeadb 0%,#fff8f2 72%,transparent 100%)!important}
body.bs-page .bs-toc a.active{background:transparent!important}
body.bs-page .bs-toc::before{background:#e4cec1!important}
body.bs-page .bs-toc::after{background:#d47855!important}
.bs-experience-hero{display:grid;grid-template-columns:.72fr 1.28fr;gap:32px;align-items:center;padding:34px;border:1px solid #f0dccf;border-radius:26px;background:#fff0e4}
.bs-experience-copy h3,.bs-gallery-intro h3,.bs-visual-note h3{font-size:clamp(28px,3.1vw,40px);line-height:1.14;letter-spacing:-.045em;margin:15px 0}
.bs-experience-copy p,.bs-gallery-intro p,.bs-visual-note p{color:#66646a;font-size:15px;line-height:1.75}
.bs-device-stage{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:center}
.bs-device-stage figure,.bs-device-gallery figure{margin:0;min-width:0;text-align:center}
.bs-device-stage img{width:100%;max-height:440px;object-fit:contain;display:block;margin:auto;filter:drop-shadow(0 12px 22px #a8806335)}
.bs-gallery-section{margin-top:95px}.bs-gallery-intro{max-width:670px;margin-bottom:26px}
.bs-device-gallery{display:grid;gap:18px;align-items:start;padding:26px 23px;border:1px solid #efdbcf;border-radius:24px;background:linear-gradient(155deg,#fff3e7,#fffaf6)}
.bs-device-gallery--four{grid-template-columns:repeat(4,minmax(0,1fr))}.bs-device-gallery--three{grid-template-columns:repeat(3,minmax(0,1fr))}
.bs-device-gallery figure{display:flex;flex-direction:column;align-items:center;gap:12px}
.bs-device-gallery img{width:auto;height:390px;max-width:100%;object-fit:contain;display:block;border-radius:13px}
.bs-social-gallery img{height:410px}.bs-wire-gallery img{height:300px}
.bs-device-gallery figcaption,.bs-device-stage figcaption{margin:0!important;text-align:center;font-size:12px!important;color:#92786d!important}
.bs-visual-note{margin-top:100px;background:#fff0e4;border-radius:24px;padding:25px 35px;display:grid;grid-template-columns:230px 1fr;gap:38px;align-items:center}
.bs-visual-note img{width:100%;height:220px;object-fit:contain}
@media(max-width:950px){.bs-experience-hero{grid-template-columns:1fr}.bs-device-gallery--four{grid-template-columns:repeat(2,minmax(0,1fr))}.bs-device-gallery--three{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.bs-experience-hero,.bs-device-gallery{padding:18px}.bs-device-gallery{gap:22px 10px}.bs-device-gallery img,.bs-social-gallery img{height:245px}.bs-wire-gallery img{height:220px}.bs-visual-note{grid-template-columns:1fr;padding:24px}.bs-device-stage img{max-height:300px}.bs-gallery-section{margin-top:65px}}

/* V82: fix the actual source of the inherited blue/lilac top wash.
   Global style.css creates its gradient in body::before, above the body's background;
   changing body background alone cannot override that overlay. */
html:has(> body.bs-page){background-color:#fff8f2!important;}
body.bs-page{background-color:#fff8f2!important;background-image:none!important;}
body.bs-page::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:660px;
  z-index:0;
  pointer-events:none;
  background:radial-gradient(ellipse 56% 78% at 16% 7%,rgba(255,209,171,.35),transparent 83%),radial-gradient(ellipse 46% 70% at 91% 5%,rgba(252,221,206,.38),transparent 87%),linear-gradient(180deg,#fff6ee 0%,#fff8f2 95%,rgba(255,248,242,0) 100%)!important;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 67%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,#000 67%,transparent 100%);
}
body.bs-page .bs-toc a.active{background:none!important;}

/* V83: coherent product image treatment and hover-tracking sidebar */
body.bs-page .bs-toc::after{top:var(--bs-indicator-top,var(--bs-active-top));height:var(--bs-indicator-height,var(--bs-active-height));transition:top .25s cubic-bezier(.2,.8,.2,1),height .25s ease}
body.bs-page .bs-toc a:hover{transform:none!important;background:transparent!important;color:#c56845!important}
body.bs-page .bs-toc a.active{background:transparent!important}
body.bs-page .bs-hero-photo img{object-fit:contain;aspect-ratio:auto;background:transparent;box-shadow:none!important;filter:none!important}
body.bs-page .bs-experience-hero{background:#fff5eb;box-shadow:none!important}
body.bs-page .bs-device-stage{gap:36px;justify-items:center;align-items:end}
body.bs-page .bs-device-stage figure,body.bs-page .bs-device-gallery figure{width:100%;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:10px;min-width:0}
body.bs-page .bs-device-stage img,body.bs-page .bs-device-gallery img{margin:0 auto!important;object-fit:contain!important;object-position:center!important;filter:none!important;box-shadow:none!important;background:transparent!important;border:0!important;max-width:100%}
body.bs-page .bs-device-stage img{height:420px!important;width:100%!important}
body.bs-page .bs-device-gallery{align-items:end;justify-items:stretch;column-gap:26px;row-gap:28px;background:#fff7f0!important;box-shadow:none!important}
body.bs-page .bs-device-gallery img{height:360px!important;width:100%!important;border-radius:0!important}
body.bs-page .bs-wire-gallery{background:#fffaf7!important}
body.bs-page .bs-wire-gallery img{height:300px!important}
body.bs-page .bs-social-gallery img{height:410px!important}
body.bs-page .bs-gallery-section{margin-top:80px}
body.bs-page .bs-gallery-section .bs-gallery-intro{margin-bottom:28px}
@media(max-width:850px){body.bs-page .bs-device-stage{gap:12px}body.bs-page .bs-device-stage img{height:310px!important}body.bs-page .bs-device-gallery img{height:260px!important}body.bs-page .bs-social-gallery img{height:290px!important}body.bs-page .bs-wire-gallery img{height:240px!important}}
@media(max-width:540px){body.bs-page .bs-device-stage img{height:250px!important}body.bs-page .bs-device-gallery img{height:230px!important}body.bs-page .bs-social-gallery img{height:245px!important}}

/* V85 — sidebar uses one shared moving marker for scroll selection and hover preview. */
@media (min-width:1350px){
  body.bs-page .bs-toc{isolation:isolate;--bs-indicator-top:45px;--bs-indicator-height:43px}
  body.bs-page .bs-toc::after{
    top:var(--bs-indicator-top)!important;
    height:var(--bs-indicator-height)!important;
    width:3px;
    transition:top .3s cubic-bezier(.22,1,.36,1),height .3s ease!important;
  }
  body.bs-page .bs-toc a{
    background:transparent!important;
    transform:none!important;
    padding:12px 15px!important;
    font-weight:450;
    transition:color .22s ease,font-weight .22s ease!important;
  }
  body.bs-page .bs-toc a.active{color:#b95734!important;font-weight:700!important}
  body.bs-page .bs-toc.is-previewing a.active:not(.is-hover-preview){color:#827872!important;font-weight:450!important}
  body.bs-page .bs-toc a:is(:hover,.is-hover-preview,:focus-visible){color:#b95734!important;font-weight:700!important;background:transparent!important}
}
@media(prefers-reduced-motion:reduce){body.bs-page .bs-toc::after{transition:none!important}}

/* V86 — original research-to-interaction case study */
.bs-research-mini{margin-top:23px;border-top:1px solid #ead8ca;padding-top:17px;display:grid;gap:5px;color:#5b4539;font-size:14px}.bs-research-mini small{color:#96857d;font-size:12px}.bs-synthesis-grid,.bs-mechanism-grid,.bs-safety-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.bs-synthesis-grid article,.bs-mechanism-grid article,.bs-safety-grid article{border:1px solid #ecd8cc;background:#fffdfb;border-radius:20px;padding:27px;min-width:0}.bs-synthesis-grid small,.bs-mechanism-grid article>span,.bs-safety-grid article>span{font-size:11px;letter-spacing:.11em;font-weight:750;color:#b66c4f}.bs-synthesis-grid h3,.bs-safety-grid h3{font-size:22px;line-height:1.2;margin:15px 0 12px}.bs-synthesis-grid p,.bs-mechanism-grid p,.bs-safety-grid p{font-size:15px;line-height:1.65;color:#72665e}.bs-synthesis-grid b{font-size:13px;display:block;color:#bc7052;margin-top:20px}.bs-thesis{margin:42px 0 0;padding:33px 40px;border-left:4px solid #d47b59;background:#fff0e6;border-radius:0 20px 20px 0}.bs-thesis span{font-size:11px;color:#b86946;letter-spacing:.13em;font-weight:750}.bs-thesis p{font-size:clamp(23px,2.5vw,34px);line-height:1.35;color:#342e2b;margin:14px 0 0}.bs-mechanisms{margin-top:94px}.bs-mechanism-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:32px}.bs-mechanism-grid h4{font-size:21px;margin:15px 0 10px}.bs-decision-row{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:30px}.bs-decision-row article{background:#fff0e5;border-radius:19px;padding:28px}.bs-decision-row b{font-size:12px;letter-spacing:.08em;color:#a85c3d}.bs-decision-row p{line-height:1.6;color:#64564f}.bs-safety-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:25px}.bs-caution{margin-top:24px;font-size:13px;line-height:1.6;color:#8c7264}.bs-section{scroll-margin-top:100px}@media(max-width:920px){.bs-synthesis-grid,.bs-mechanism-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:620px){.bs-synthesis-grid,.bs-mechanism-grid,.bs-safety-grid,.bs-decision-row{grid-template-columns:1fr}.bs-thesis{padding:22px}.bs-mechanisms{margin-top:65px}}

/* V87 — improved readability + non-disruptive device hover motion */
body.bs-page .bs-mechanism-grid article,
body.bs-page .bs-safety-grid article,
body.bs-page .bs-synthesis-grid article{
  color:#2f2b2a;
}
body.bs-page .bs-mechanism-grid h4{
  color:#2a2726;
  font-weight:650;
}
body.bs-page .bs-mechanism-grid p{
  color:#5f5753;
}
body.bs-page .bs-mechanism-grid article{
  transition:transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease, border-color .28s ease;
}
body.bs-page .bs-mechanism-grid article:hover{
  transform:translateY(-4px);
  border-color:#e2c4b3;
  box-shadow:0 16px 36px rgba(107,78,58,.08);
}

body.bs-page .bs-device-stage figure,
body.bs-page .bs-device-gallery figure{
  position:relative;
  overflow:visible;
  isolation:isolate;
}
body.bs-page .bs-device-stage img,
body.bs-page .bs-device-gallery img{
  transform:translateZ(0) scale(1);
  transform-origin:center bottom;
  transition:transform .35s cubic-bezier(.22,1,.36,1), filter .35s ease;
  will-change:transform;
}
body.bs-page .bs-device-stage figure:hover img,
body.bs-page .bs-device-stage figure:focus-within img,
body.bs-page .bs-device-gallery figure:hover img,
body.bs-page .bs-device-gallery figure:focus-within img{
  transform:translateZ(0) scale(1.06);
}
body.bs-page .bs-device-stage figure:hover figcaption,
body.bs-page .bs-device-stage figure:focus-within figcaption,
body.bs-page .bs-device-gallery figure:hover figcaption,
body.bs-page .bs-device-gallery figure:focus-within figcaption{
  color:#b56645 !important;
}

body.bs-page .bs-visual-note p + p{
  margin-top:14px;
}
body.bs-page .bs-visual-subpoints{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:22px;
}
body.bs-page .bs-visual-subpoints span{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:8px 12px;
  background:#fff7f1;
  border:1px solid #efd5c7;
  color:#98654c;
  font-size:12px;
  font-weight:560;
}

@media (prefers-reduced-motion:reduce){
  body.bs-page .bs-mechanism-grid article,
  body.bs-page .bs-device-stage img,
  body.bs-page .bs-device-gallery img{
    transition:none !important;
  }
  body.bs-page .bs-mechanism-grid article:hover,
  body.bs-page .bs-device-stage figure:hover img,
  body.bs-page .bs-device-gallery figure:hover img{
    transform:none !important;
    box-shadow:none !important;
  }
}

/* V88 · visual refinement: typographic hierarchy, comfortable interaction, and restrained motion */
body.bs-page{
  --bs-text-strong:#2b2929;
  --bs-text-copy:#554e4a;
  --bs-hairline:#ead8cc;
}
body.bs-page .bs-head{max-width:870px;margin-bottom:40px}
body.bs-page .bs-head h2{color:var(--bs-text-strong);text-wrap:balance}
body.bs-page .bs-head>p{color:#5a585a;font-size:16px;line-height:1.75}
body.bs-page .bs-gallery-intro{max-width:800px;margin-bottom:30px}
body.bs-page .bs-gallery-intro p{max-width:720px;color:#5d5958}
body.bs-page .bs-mechanism-grid{gap:20px}
body.bs-page .bs-mechanism-grid article{
  display:flex;flex-direction:column;min-height:238px;
  background:#fffaf6;border-color:#e8d4c7;
  padding:31px 30px 30px;
  box-shadow:0 3px 12px rgba(78,52,39,.025);
}
body.bs-page .bs-mechanism-grid article>span{
  display:block;font-size:12px;font-weight:750;letter-spacing:.105em;color:#b05b3b;
}
body.bs-page .bs-mechanism-grid h4{
  color:#272321!important;font-size:clamp(20px,1.7vw,25px);
  letter-spacing:-.025em;line-height:1.25;margin:19px 0 12px;
  text-wrap:balance;
}
body.bs-page .bs-mechanism-grid p{
  color:#554d48!important;font-size:15px;line-height:1.67;margin:0;
}
body.bs-page .bs-mechanism-grid article:hover{
  transform:translateY(-5px);border-color:#dba989;
  box-shadow:0 15px 30px rgba(102,65,43,.09);
}
body.bs-page .bs-synthesis-grid h3,
body.bs-page .bs-safety-grid h3{color:#302a28}
body.bs-page .bs-synthesis-grid p,
body.bs-page .bs-safety-grid p{color:#5d544f}
body.bs-page .bs-device-gallery{
  gap:28px 18px!important;padding:36px 28px!important;
  border-color:#ead9cc;background:#fff7f1!important;
  overflow:visible;
}
body.bs-page .bs-device-gallery figure,
body.bs-page .bs-device-stage figure{
  z-index:0;
  transition:z-index 0s;
}
body.bs-page .bs-device-gallery figure:hover,
body.bs-page .bs-device-stage figure:hover{z-index:2}
body.bs-page .bs-device-gallery img,
body.bs-page .bs-device-stage img{
  transform-origin:50% 50%;
  transition:transform .36s cubic-bezier(.2,.76,.2,1) !important;
  will-change:auto;
}
body.bs-page .bs-device-gallery figure:hover img,
body.bs-page .bs-device-stage figure:hover img{
  transform:scale(1.055) !important;
}
body.bs-page .bs-device-gallery figcaption,
body.bs-page .bs-device-stage figcaption{
  padding-top:3px!important;color:#76665e!important;
  font-size:13px!important;line-height:1.5!important;
}
body.bs-page .bs-experience-hero{
  background:#fff2e7!important;
  border:1px solid #eed8c8;
  padding:clamp(24px,3vw,42px);
  gap:clamp(20px,3vw,40px);
}
body.bs-page .bs-experience-copy h3{color:var(--bs-text-strong)}
body.bs-page .bs-experience-copy p{color:var(--bs-text-copy)}
body.bs-page .bs-visual-note{
  background:linear-gradient(120deg,#ffead8,#fff3e8);
  border:1px solid #ebd7c9;
  padding:35px 42px;
  gap:30px;
}
body.bs-page .bs-visual-note h3{color:#302825}
body.bs-page .bs-visual-note p{color:#574f4a}
body.bs-page .bs-visual-note img{object-position:center}
@media(max-width:920px){
  body.bs-page .bs-mechanism-grid article{min-height:0}
  body.bs-page .bs-device-gallery{padding:23px 20px!important}
}
@media(max-width:620px){
  body.bs-page .bs-mechanism-grid{grid-template-columns:1fr;gap:14px}
  body.bs-page .bs-mechanism-grid article{padding:23px}
  body.bs-page .bs-device-gallery{gap:22px 10px!important;padding:22px 12px!important}
  body.bs-page .bs-visual-note{padding:24px;gap:14px}
  body.bs-page .bs-device-gallery figure:hover img,
  body.bs-page .bs-device-stage figure:hover img{transform:scale(1.025)!important}
}
@media(hover:none){
  body.bs-page .bs-device-gallery figure:hover img,
  body.bs-page .bs-device-stage figure:hover img{transform:none!important}
}
@media(prefers-reduced-motion:reduce){
  body.bs-page .bs-device-gallery figure:hover img,
  body.bs-page .bs-device-stage figure:hover img,
  body.bs-page .bs-mechanism-grid article:hover{transform:none!important}
}

/* V89 · strategy section contrast fix */
body.bs-page .bs-strategy .bs-head h2{
  color:#fff4ec;
}
body.bs-page .bs-strategy .bs-head h2 em{
  color:#f19a73;
}
body.bs-page .bs-strategy .bs-head > p{
  color:#efe1d9;
  max-width:920px;
}
body.bs-page .bs-strategy .bs-stages article{
  background:#3a3135;
  border-color:#74625b;
}
body.bs-page .bs-strategy .bs-stages h3{
  color:#fff3eb;
}
body.bs-page .bs-strategy .bs-stages p{
  color:#eadcd6;
}
body.bs-page .bs-strategy .bs-stage-foot{
  color:#ffcfb2;
}
body.bs-page .bs-strategy .bs-principle{
  background:#4a3a3d;
  border-left-color:#f0a078;
}
body.bs-page .bs-strategy .bs-principle p{
  color:#fff0e7;
}

/* V90 — Border Sense web-brand rose, original application screens unchanged */
body.bs-page{--bs-accent:#C46F88!important;--bs-accent-soft:#FBEAF0!important}
body.bs-page .brand-dot,body.bs-page .bs-index,body.bs-page .bs-eyebrow{color:#B55473!important}
body.bs-page .bs-hero h1 span,body.bs-page .bs-head h2 em,body.bs-page .bs-statement em{color:#BA6680!important}
body.bs-page .bs-toc::after{background:#C46F88!important}
body.bs-page .bs-toc a.active,body.bs-page .bs-toc a:is(:hover,.is-hover-preview,:focus-visible){color:#A9516B!important}
body.bs-page .bs-chips span{background:#FFF0F4;border-color:#EAC8D1;color:#9D5870}
body.bs-page .bs-principle{border-left-color:#C46F88}
body.bs-page .bs-visual-note{background:linear-gradient(120deg,#FFF0F3,#FFF7F0)!important}
body.bs-page .bs-mechanism-grid article:hover{border-color:#C46F88!important}
body.bs-page .bs-device-gallery figure:hover figcaption{color:#A9516B!important}
body.bs-page::before{background:radial-gradient(ellipse 55% 65% at 18% 0%,rgba(255,227,233,.65),transparent 84%),radial-gradient(ellipse 52% 70% at 83% 0%,rgba(255,234,221,.58),transparent 90%),linear-gradient(180deg,#fff9fa,rgba(255,249,247,0))!important}

/* V92 — correct lingering orange page surfaces; keep app screenshots untouched. */
html:has(> body.bs-page),body.bs-page{
  background:#fff8fb!important;
  background-color:#fff8fb!important;
  background-image:none!important;
}
body.bs-page::before{
  background:radial-gradient(ellipse 56% 70% at 18% 2%,rgba(248,210,225,.55),transparent 85%),radial-gradient(ellipse 49% 68% at 87% 3%,rgba(243,220,238,.48),transparent 88%),linear-gradient(180deg,#fff6fa 0%,rgba(255,248,251,0) 100%)!important;
}
body.bs-page .footer{background:#fff8fb!important;border-color:#efdce5!important}
body.bs-page .bs-experience-hero{background:#fff0f5!important;border-color:#edcfdb!important}
body.bs-page .bs-device-gallery{background:linear-gradient(155deg,#fff1f6,#fffafd)!important;border-color:#eed9e3!important}
body.bs-page .bs-evidence{background:#f9eef3!important}
body.bs-page .bs-context-story article{background:linear-gradient(145deg,#fff,#fff1f6)!important;border-color:#eddae3!important}
body.bs-page .bs-visual-note{background:linear-gradient(120deg,#fff0f5,#fff8fb)!important}

/* V93 — warm-neutral portfolio canvas, restrained rose identity.
   Scope intentionally limited to Border Sense website; source app images untouched. */
html:has(> body.bs-page), body.bs-page{
  --bs-accent:#B85478!important;
  --bs-accent-soft:#F8EAF0!important;
  --bs-paper:#FCFAF8;
  --bs-line:#E9DFDA;
  background-color:#FCFAF8!important;
  background-image:none!important;
}
body.bs-page::before{
  background:linear-gradient(180deg,rgba(252,250,248,.9),rgba(252,250,248,0))!important;
  opacity:1!important;
}
body.bs-page .footer{background:#FCFAF8!important;border-color:#E9DFDA!important}
body.bs-page .bs-device-gallery,
body.bs-page .bs-wire-gallery{
  background:#F3EDE8!important;
  border-color:#E9DFDA!important;
  box-shadow:none!important;
}
body.bs-page .bs-experience-hero,
body.bs-page .bs-evidence,
body.bs-page .bs-visual-note{
  background:#F3EDE8!important;
  border-color:#E9DFDA!important;
  box-shadow:none!important;
}
body.bs-page .bs-context-story article{
  background:#F8F4F1!important;
  border-color:#E9DFDA!important;
}
body.bs-page .bs-chips span,
body.bs-page .bs-feature-points span{
  background:#F8EAF0!important;
  border-color:#E9D5DE!important;
  color:#96506B!important;
}
body.bs-page .bs-index,
body.bs-page .bs-eyebrow,
body.bs-page .brand-dot,
body.bs-page .bs-overview-meta small,
body.bs-page .bs-three article>span,
body.bs-page .bs-finding small,
body.bs-page .bs-synthesis-grid small,
body.bs-page .bs-mechanism-grid article>span,
body.bs-page .bs-safety-grid article>span{
  color:#B85478!important;
}
body.bs-page .bs-hero h1 span,
body.bs-page .bs-head h2 em,
body.bs-page .bs-statement em,
body.bs-page .bs-finding .bs-number{color:#B85478!important}
body.bs-page .bs-toc::after{background:#B85478!important}
body.bs-page .bs-toc a.active,
body.bs-page .bs-toc a:is(:hover,.is-hover-preview,:focus-visible){color:#A34868!important}
body.bs-page .bs-thesis{background:#F8EFF2!important;border-left-color:#B85478!important}
body.bs-page .bs-thesis span,
body.bs-page .bs-synthesis-grid b,
body.bs-page .bs-decision-row b{color:#A34868!important}
body.bs-page .bs-decision-row article{background:#F6F0ED!important}
body.bs-page .bs-research-mini{border-color:#E9DFDA!important}
body.bs-page .bs-feature figure img,
body.bs-page .bs-device-gallery img{
  box-shadow:none!important;
}

/* V94 - Distinguish the wireframes from the following hi-fi NORTH card */
body.bs-page .bs-gallery-section:has(.bs-wire-gallery) { margin-bottom: clamp(64px, 7vw, 108px) !important; }
body.bs-page .bs-gallery-section:has(.bs-wire-gallery) + .bs-experience-hero { margin-top: 0 !important; }
@media(max-width:680px) {body.bs-page .bs-gallery-section:has(.bs-wire-gallery) {margin-bottom: 64px !important;} }
