/* your BeSt — site-isolated styling. No global element selectors. */
.ybo-page{--ybo-navy:#1e3455;--ybo-blue:#92b7c3;--ybo-gold:#f1c142;--ybo-ink:#102d45;--ybo-paper:#fbfbfa;--ybo-art-width:260px;--ybo-card-ratio:1.65;color:var(--ybo-ink);background:var(--ybo-paper);font-family:"Frutiger LT","Frutiger","Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.5;isolation:isolate;overflow:hidden;width:100%;box-sizing:border-box}
.ybo-page *,.ybo-page *::before,.ybo-page *::after{box-sizing:border-box}
.ybo-page .ybo-shell{max-width:1600px;margin:0 auto;padding:0 clamp(20px,4.5vw,76px)}
.ybo-page h1,.ybo-page h2,.ybo-page p{margin:0;letter-spacing:normal}
.ybo-page a{text-decoration:none}
.ybo-page button{font:inherit;cursor:pointer}
.ybo-hero{position:relative;padding:clamp(66px,9vw,135px) 0 clamp(72px,8vw,115px);min-height:440px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
.ybo-eyebrow{color:var(--ybo-navy);font-size:12px;font-weight:700;letter-spacing:.17em!important;text-transform:uppercase;margin-bottom:26px!important}
.ybo-hero-title{color:var(--ybo-navy);font-size:clamp(74px,12.6vw,188px)!important;font-weight:750;line-height:.86!important;letter-spacing:-.082em!important;overflow-wrap:anywhere}
.ybo-hero-dot{color:var(--ybo-gold)}
.ybo-hero-subtitle{font-size:clamp(23px,3.2vw,42px);font-weight:450;color:var(--ybo-navy);letter-spacing:-.045em!important;margin-top:24px!important}
.ybo-hero-tagline{font-size:clamp(15px,1.7vw,19px);color:#4f6474;margin-top:9px!important}
.ybo-hero-marker{position:absolute;right:2px;bottom:95px;display:flex;gap:0;align-items:flex-end;transform:rotate(-90deg)}
.ybo-hero-marker span{height:30px;width:20px;background:var(--ybo-navy)}.ybo-hero-marker span:nth-child(2){background:var(--ybo-gold)}.ybo-hero-marker span:nth-child(3){background:var(--ybo-blue)}
.ybo-section-caption{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}
.ybo-section-caption h2{color:var(--ybo-navy);font-size:clamp(23px,2.7vw,39px)!important;line-height:1.15!important;font-weight:750;letter-spacing:-.045em!important}
.ybo-section-caption>span,.ybo-section-kicker{color:#637787;font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}
.ybo-flash-section{margin-bottom:clamp(70px,7vw,115px)}
.ybo-flash-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:clamp(12px,2vw,28px)}
.ybo-flash-card{position:relative;display:block;width:100%;aspect-ratio:var(--ybo-card-ratio);border-radius:14px;overflow:hidden;background:#e4e9eb;box-shadow:0 9px 28px rgba(10,37,61,.06);outline-offset:5px}
.ybo-flash-card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .7s cubic-bezier(.2,.75,.25,1),filter .45s}
.ybo-flash-card::after{position:absolute;inset:0;content:"";background:linear-gradient(180deg,transparent 60%,rgba(12,34,47,.14));pointer-events:none}
.ybo-flash-card:hover img,.ybo-flash-card:focus-visible img{transform:scale(1.065)}
.ybo-flash-corner{position:absolute;right:14px;bottom:14px;width:37px;height:37px;border-radius:50%;background:#fff;color:var(--ybo-navy);display:grid;place-items:center;z-index:1;font-size:21px;box-shadow:0 5px 20px rgba(10,37,61,.1)}
.ybo-gallery-section{margin-left:calc(-1 * clamp(20px,4.5vw,76px));margin-right:calc(-1 * clamp(20px,4.5vw,76px));outline:none}
.ybo-gallery-heading-row{padding:0 clamp(20px,4.5vw,76px);align-items:center;margin-bottom:28px}
.ybo-gallery-heading-row .ybo-section-kicker{display:block;margin-bottom:12px}
.ybo-gallery-heading-row p{color:#728190;font-size:14px;margin-top:8px}
.ybo-gallery-controls{display:flex;gap:8px;flex-shrink:0}
.ybo-arrow{width:49px;height:49px;padding:0;border:1px solid #c8d0d5;background:transparent;color:var(--ybo-navy);border-radius:50%;font-size:22px;line-height:1;transition:background .2s,color .2s,transform .2s}
.ybo-arrow:hover{background:var(--ybo-navy);color:white;transform:translateY(-2px)}
.ybo-gallery{position:relative;background:radial-gradient(ellipse at 50% -8%,#fff 0%,#fafafa 48%,#eef0f1 100%);height:clamp(475px,64vw,720px);min-height:500px;overflow:hidden;perspective:1300px;touch-action:pan-y;user-select:none;cursor:grab;isolation:isolate;border-top:1px solid #eef0f2;border-bottom:1px solid #e4e8eb}
.ybo-gallery:active{cursor:grabbing}
.ybo-room-wall{position:absolute;inset:-16% -11% 23%;border-radius:0 0 50% 50% / 0 0 14% 14%;background:radial-gradient(ellipse at 50% 38%,white 13%,#fafbfb 52%,#e7e9e9 95%);box-shadow:inset 0 -26px 31px -30px rgba(41,51,58,.15);z-index:0}
.ybo-room-floor{position:absolute;left:-15%;right:-15%;bottom:-31%;height:60%;border-radius:50% 50% 0 0 / 26% 26% 0 0;background:linear-gradient(180deg,#eee 0%,#fafafa 30%,#f6f6f5 80%);transform:perspective(500px) rotateX(12deg);z-index:0}
.ybo-wall-line{position:absolute;bottom:19%;height:29%;width:114%;left:-7%;fill:none;stroke:#c4cacc;stroke-width:1.05;opacity:.5;z-index:0;pointer-events:none}
.ybo-art-plane{position:absolute;inset:0;z-index:2;transform-style:preserve-3d}
.ybo-artwork{position:absolute;top:44%;left:50%;display:flex;flex-direction:column;width:var(--ybo-art-width);padding:0;background:transparent;border:0;color:var(--ybo-navy);text-align:left;transform-origin:center center;will-change:transform,opacity;outline-offset:8px;transition:filter .25s}
.ybo-artwork:focus-visible{outline:3px solid var(--ybo-gold)}
.ybo-art-frame{display:block;width:100%;aspect-ratio:4/5;overflow:hidden;box-shadow:0 7px 25px rgba(29,40,47,.14),0 1px 4px rgba(29,40,47,.12);background:#f0f0f0;border:9px solid #fff}
.ybo-art-frame img{width:100%;height:100%;display:block;object-fit:cover;pointer-events:none}
.ybo-art-label{display:block;padding:15px 0 0;max-width:100%;text-align:left;white-space:normal}
.ybo-art-label strong{display:block;font-size:13px;font-weight:800;letter-spacing:-.015em;line-height:1.25}
.ybo-art-label small{display:block;margin-top:5px;font-size:9px;color:#6d7880;letter-spacing:.13em;font-weight:700;line-height:1.3}
.ybo-artwork.is-active .ybo-art-frame{box-shadow:0 11px 36px rgba(29,40,47,.16),0 1px 4px rgba(29,40,47,.10)}
.ybo-gallery-instruction{position:absolute;left:clamp(18px,4vw,62px);bottom:34px;z-index:8;font-size:10px;letter-spacing:.13em;font-weight:700;color:#697c8c;pointer-events:none}
.ybo-gallery-instruction span{font-size:24px;vertical-align:middle;margin-left:6px}
.ybo-gallery-counter{position:absolute;right:clamp(18px,4vw,62px);bottom:36px;z-index:8;color:var(--ybo-navy);font-size:12px;letter-spacing:.17em;font-weight:700}
.ybo-gallery-counter span{font-size:21px;font-weight:750}
.ybo-gallery-footer{display:flex;justify-content:space-between;gap:20px;padding:18px clamp(20px,4.5vw,76px) 0;color:#667988;font-size:10px;font-weight:700;letter-spacing:.1em}
.ybo-gallery-section{padding-bottom:clamp(70px,10vw,145px)}
/* Detail overlays the themed site itself, matching the reference split-screen view. */
.ybo-detail[hidden]{display:none!important}
.ybo-detail{position:fixed;inset:0;width:100vw;height:100dvh;z-index:2147483600;overflow-y:auto;overscroll-behavior:contain;background:#fdfdfc;color:var(--ybo-navy);padding:28px clamp(24px,5.7vw,100px) 18px;animation:ybo-detail-arrive .36s ease-out}
.ybo-detail-back{display:inline-flex;align-items:center;gap:14px;border:0;padding:14px 0;background:transparent;color:var(--ybo-navy);font-size:12px;letter-spacing:.1em;font-weight:800}
.ybo-detail-back:hover{text-decoration:underline}
.ybo-detail-layout{max-width:1400px;margin:6vh auto 0;display:grid;grid-template-columns:minmax(250px,1fr) minmax(280px,.96fr);align-items:center;gap:clamp(35px,8vw,135px)}
.ybo-detail-visual{display:flex;justify-content:center;align-items:center;min-height:400px}
.ybo-detail-visual img{display:block;max-height:min(60vh,620px);max-width:100%;aspect-ratio:4/5;object-fit:contain;box-shadow:0 9px 35px rgba(15,35,55,.13);border:10px solid white;background:#fafafa}
.ybo-detail-content{max-width:540px}
.ybo-detail-eyebrow{font-size:11px;letter-spacing:.16em!important;color:#8897a0;text-transform:uppercase;font-weight:700;margin-bottom:35px!important}
.ybo-detail-type{font-size:12px;letter-spacing:.13em!important;color:#778795;text-transform:uppercase;font-weight:700;margin-bottom:10px!important}
.ybo-detail-content h2{font-size:clamp(42px,5vw,85px)!important;line-height:1.02!important;letter-spacing:-.06em!important;font-weight:750;color:var(--ybo-navy);overflow-wrap:break-word}
.ybo-detail-rule{width:60px;height:5px;background:var(--ybo-gold);margin:31px 0}
.ybo-detail-desc{font-size:clamp(15px,1.4vw,19px);line-height:1.65!important;color:#435668;max-width:52ch}
.ybo-detail-links{display:flex;flex-wrap:wrap;gap:14px;margin-top:40px;align-items:center}
.ybo-detail-links a{display:inline-flex;align-items:center;justify-content:center;padding:14px 19px;min-height:47px;font-size:11px;font-weight:750;letter-spacing:.08em;border:1px solid var(--ybo-navy);transition:background .2s,color .2s}
.ybo-detail-primary{background:var(--ybo-navy);color:#fff!important}.ybo-detail-primary:hover{background:#315477}
.ybo-detail-secondary{color:var(--ybo-navy)}.ybo-detail-secondary:hover{background:#e6ecef}
.ybo-detail-navigation{max-width:1400px;margin:48px auto 0;display:flex;justify-content:space-between;gap:10px;border-top:1px solid #e3e8e9;padding-top:16px}
.ybo-detail-navigation button{border:0;background:transparent;font-weight:700;letter-spacing:.1em;font-size:11px;padding:12px 0;color:var(--ybo-navy)}
.ybo-detail-navigation button:hover{text-decoration:underline}
@keyframes ybo-detail-arrive{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:880px){.ybo-hero{min-height:350px;padding:70px 0 90px}.ybo-hero-marker{bottom:40px}.ybo-gallery{height:540px}.ybo-detail-layout{gap:30px;grid-template-columns:.8fr 1fr}.ybo-detail-visual{min-height:310px}}
@media(max-width:640px){.ybo-hero{min-height:310px;padding:64px 0 83px}.ybo-hero-title{font-size:clamp(65px,14vw,100px)!important}.ybo-hero-marker{bottom:35px;right:0}.ybo-hero-marker span{height:22px;width:15px}.ybo-flash-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ybo-flash-card{border-radius:9px}.ybo-flash-corner{right:8px;bottom:8px;width:28px;height:28px;font-size:17px}.ybo-gallery{height:510px;min-height:510px}.ybo-gallery-heading-row{align-items:end;gap:8px}.ybo-gallery-controls{gap:6px}.ybo-arrow{width:38px;height:38px;font-size:18px}.ybo-artwork{top:45%}.ybo-room-floor{bottom:-31%}.ybo-gallery-instruction{font-size:8px;bottom:21px;left:14px}.ybo-gallery-counter{bottom:21px;right:14px}.ybo-gallery-footer{font-size:8px}.ybo-scroll-indicator{display:none}.ybo-detail{padding:12px 22px 28px}.ybo-detail-layout{display:flex;flex-direction:column;gap:22px;margin:4vh 0 0;align-items:stretch}.ybo-detail-visual{min-height:unset}.ybo-detail-visual img{height:auto;max-height:38vh;max-width:min(60vw,300px);border-width:6px}.ybo-detail-eyebrow{margin-bottom:14px!important}.ybo-detail-content h2{font-size:clamp(35px,9vw,53px)!important}.ybo-detail-rule{margin:18px 0}.ybo-detail-links{margin-top:22px}.ybo-detail-navigation{margin-top:26px}.ybo-detail-desc{font-size:14px}.ybo-detail-back{font-size:10px}}
@media(prefers-reduced-motion:reduce){.ybo-page *, .ybo-page *::before,.ybo-page *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
.ybo-detail-links a[hidden]{display:none!important}

.ybo-detail-back:focus-visible{outline:2px solid var(--ybo-gold);outline-offset:6px;border-radius:2px}

/* Full-bleed also when a school theme wraps page content in a narrower container. */
.ybo-page{width:100vw;max-width:none;margin-left:calc(50% - 50vw)}

/* v2.1: compact story, visible card labels, final actions, focus and mobile legibility. */
.ybo-page .ybo-hero{min-height:0;padding:clamp(45px,6vw,85px) 0 clamp(36px,5vw,70px)}
.ybo-page .ybo-eyebrow{margin-bottom:18px!important}
.ybo-page .ybo-hero-title{font-size:clamp(66px,10vw,148px)!important}
.ybo-page .ybo-hero-subtitle{margin-top:15px!important}
.ybo-page .ybo-hero-marker{bottom:50px}
.ybo-page .ybo-flash-section{margin-bottom:clamp(48px,6vw,84px)}
.ybo-page .ybo-flash-item{display:block;color:var(--ybo-navy);min-width:0;outline-offset:4px}
.ybo-page .ybo-flash-card{display:block}
.ybo-page .ybo-flash-item:hover .ybo-flash-card img,.ybo-page .ybo-flash-item:focus-visible .ybo-flash-card img{transform:scale(1.055)}
.ybo-page .ybo-flash-caption{display:flex;justify-content:space-between;align-items:baseline;gap:8px;margin-top:12px;font-size:15px;line-height:1.35}
.ybo-page .ybo-flash-caption strong{font-weight:700}
.ybo-page .ybo-flash-caption span{font-size:12px;color:#4e6374;white-space:nowrap}
.ybo-page .ybo-flash-item:focus-visible{outline:3px solid var(--ybo-gold)}
.ybo-page .ybo-gallery-section{padding-bottom:clamp(38px,5vw,70px)}
.ybo-page .ybo-art-label strong{font-size:clamp(14px,1.3vw,17px)}
.ybo-page .ybo-art-label small{font-size:11px;letter-spacing:.09em}
.ybo-page .ybo-gallery-instruction{font-size:12px;letter-spacing:.075em}
.ybo-page .ybo-gallery-footer{font-size:12px;letter-spacing:.045em}
.ybo-page .ybo-gallery-heading-row p{font-size:16px}
.ybo-page .ybo-arrow{min-width:45px;min-height:45px}
.ybo-page .ybo-cta-section{margin:0 auto clamp(40px,6vw,100px);padding:clamp(28px,4.5vw,60px);border-radius:18px;background:var(--ybo-navy);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:clamp(24px,5vw,80px)}
.ybo-page .ybo-cta-copy{max-width:650px}
.ybo-page .ybo-cta-kicker{font-size:12px;letter-spacing:.12em!important;color:var(--ybo-gold);font-weight:700;margin-bottom:12px!important}
.ybo-page .ybo-cta-copy h2{font-size:clamp(31px,3.4vw,52px)!important;letter-spacing:-.035em!important;color:#fff;line-height:1.12!important}
.ybo-page .ybo-cta-description{margin-top:16px!important;font-size:16px;color:#e6eef5;max-width:52ch;line-height:1.55}
.ybo-page .ybo-cta-actions{display:flex;flex-direction:column;gap:9px;min-width:min(100%,245px)}
.ybo-page .ybo-cta-actions a{display:flex;justify-content:space-between;align-items:center;gap:18px;border:1px solid #a6b7c5;border-radius:6px;padding:14px 17px;color:white;font-weight:700;font-size:14px;line-height:1.35;transition:background .2s,color .2s}
.ybo-page .ybo-cta-actions a:hover{background:#fff;color:var(--ybo-navy)}
.ybo-page .ybo-cta-actions a:focus-visible{outline:3px solid var(--ybo-gold);outline-offset:3px}
.ybo-page .ybo-detail-links a{font-size:13px;line-height:1.35;letter-spacing:.025em}
@media(max-width:880px){.ybo-page .ybo-cta-section{flex-direction:column;align-items:stretch}.ybo-page .ybo-cta-actions{flex-direction:row;flex-wrap:wrap}.ybo-page .ybo-cta-actions a{flex:1 1 170px}}
@media(max-width:640px){
 .ybo-page .ybo-hero{min-height:0;padding:44px 0 58px}
 .ybo-page .ybo-hero-title{font-size:clamp(60px,13vw,86px)!important}
 .ybo-page .ybo-hero-marker{bottom:21px}
 .ybo-page .ybo-flash-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 .ybo-page .ybo-flash-caption{font-size:13px;align-items:start;flex-direction:column;gap:3px}
 .ybo-page .ybo-flash-caption span{font-size:11px}
 .ybo-page .ybo-gallery{height:490px;min-height:490px}
 .ybo-page .ybo-gallery-instruction{font-size:10px;max-width:60%;line-height:1.35}
 .ybo-page .ybo-gallery-footer{font-size:10px}
 .ybo-page .ybo-art-label strong{font-size:15px}
 .ybo-page .ybo-art-label small{font-size:10px}
 .ybo-page .ybo-cta-section{border-radius:12px;padding:24px;margin-bottom:42px}
 .ybo-page .ybo-cta-actions{flex-direction:column}
 .ybo-page .ybo-cta-actions a{min-height:48px;flex:auto}
 .ybo-page .ybo-detail-links a{font-size:12px}
}
