/* Brand ID Boat: shared screen identity, independent of document/PDF templates. */
:root{--bib-orange:#f18949;--bib-ink:#303234;--bib-paper:#f4f4f2;--bib-border:#deded9;--bib-link:#9b451b}
body.brand-shell{background:var(--bib-paper);color:var(--bib-ink);font-family:Arial,Helvetica,sans-serif}
.brand-shell h1,.brand-shell h2{letter-spacing:-.025em;color:var(--bib-ink)}
.brand-shell h1{line-height:1.2}
.brand-shell>div>nav:first-child{border-top:4px solid var(--bib-orange);box-shadow:0 4px 22px #30323406}
.bib-identity{display:inline-flex;align-items:center;gap:10px;color:var(--bib-ink)!important;white-space:nowrap;text-decoration:none}
.bib-identity img{width:40px;height:40px;object-fit:contain}
.bib-identity strong{display:block;font-size:14px;letter-spacing:.05em;line-height:1.25}
.bib-identity small{display:block;color:#626466;font-size:10px;font-weight:400;letter-spacing:.03em}
.brand-shell :is(.bg-blue-600,.bg-indigo-600){background:var(--bib-orange);color:#252729;border-color:var(--bib-orange)}
.brand-shell :is(.hover\:bg-blue-700,.hover\:bg-indigo-700):hover{background:#f7a16c;color:#252729}
.brand-shell :is(.text-blue-600,.text-blue-700,.text-indigo-600,.text-indigo-700){color:var(--bib-link)}
.brand-shell :is(.bg-blue-50,.bg-indigo-50){background:#fff2e9}
.brand-shell :is(.border-blue-600,.border-blue-500,.border-indigo-500){border-color:var(--bib-orange)}
.brand-shell :is(.bg-white.rounded-lg,.bg-white.rounded-xl){border-radius:16px;border-color:var(--bib-border);box-shadow:0 4px 18px #30323406}
.brand-shell :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--bib-link);outline-offset:3px}
.brand-shell :is(button,a){transition:background-color .16s,color .16s,box-shadow .16s}
.brand-shell button:not(:disabled){cursor:pointer}
.brand-shell input[type=checkbox]{accent-color:var(--bib-link);width:17px;height:17px;flex-shrink:0}
.brand-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]),.brand-shell select,.brand-shell textarea{border-radius:8px}
.brand-shell main>h1:first-child,.brand-shell main>div>h1:first-child{border-left:4px solid var(--bib-orange);padding-left:14px}
.brand-shell footer{background:#303234}
.bib-privacy{display:block;padding:14px;border:1px solid #e4d8cf;border-radius:10px;background:#fff8f2;color:#525252;font-size:13px;line-height:1.55}
.bib-privacy label{display:flex;align-items:flex-start;gap:10px;cursor:pointer}.bib-privacy input{margin-top:3px}.bib-privacy a{color:var(--bib-link);text-decoration:underline}
.bib-gallery{background:#fff;border:1px solid var(--bib-border);border-radius:18px;overflow:hidden}
.bib-gallery-stage{position:relative;background:#eeefec}.bib-gallery-open{display:block;cursor:zoom-in}.bib-gallery-photo{width:100%;height:clamp(240px,42vw,470px);object-fit:contain}
.bib-gallery-hint{position:absolute;bottom:14px;right:14px;background:#fffef4ee;border:1px solid #ddd9d0;padding:8px 12px;border-radius:30px;font-size:12px;color:#303234;pointer-events:none}
.bib-gallery-counter{position:absolute;top:14px;right:14px;border-radius:20px;background:#252729cc;color:white;padding:5px 10px;font-size:12px;pointer-events:none}
.bib-gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border-radius:50%;background:#252729c9;color:white;font-size:28px}.bib-gallery-arrow[data-step="-1"]{left:12px}.bib-gallery-arrow[data-step="1"]{right:12px}
.bib-gallery-thumbs{display:flex;gap:8px;overflow-x:auto;padding:12px;scrollbar-width:thin;scrollbar-color:#f18949 #eee}
.bib-gallery-thumbs button{flex-shrink:0;padding:3px;border:2px solid transparent;border-radius:10px}.bib-gallery-thumbs button[aria-current=true]{border-color:var(--bib-orange)}.bib-gallery-thumbs img{width:70px;height:56px;object-fit:cover;border-radius:6px}
.bib-lightbox{padding:0;border:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;background:#171a1c;color:#fff;overflow:hidden}
.bib-lightbox::backdrop{background:#171a1c}.bib-lightbox[open]{display:flex;flex-direction:column}
.bib-lightbox-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px max(12px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left));border-bottom:1px solid #ffffff26;flex-shrink:0}
.bib-lightbox-bar span{margin-right:auto;font-size:13px}.bib-lightbox button{min-width:44px;min-height:44px;border-radius:8px;border:1px solid #ffffff55;background:#ffffff14;color:#fff;padding:8px 12px}
.bib-lightbox button:hover{background:#ffffff30}.bib-lightbox-stage{flex:1;min-height:0;overflow:auto;display:flex;align-items:center;justify-content:center;overscroll-behavior:contain}
.bib-lightbox-stage img{max-width:100%;max-height:100%;object-fit:contain;cursor:zoom-in}
.bib-lightbox-stage.is-zoomed{display:block}.bib-lightbox-stage.is-zoomed img{width:200%;max-width:none;max-height:none;cursor:zoom-out}
.bib-lightbox-bottom{display:flex;align-items:center;justify-content:center;gap:16px;padding:10px 12px max(10px,env(safe-area-inset-bottom));flex-shrink:0}.bib-lightbox-bottom span{font-size:12px;color:#ddd}
@media(max-width:640px){.brand-shell input:not([type=checkbox]):not([type=radio]),.brand-shell select,.brand-shell textarea{font-size:16px}.bib-gallery-hint{font-size:11px}.bib-lightbox-bar{gap:6px}.bib-lightbox-bar span{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bib-lightbox-bar button{font-size:12px}.bib-identity strong{font-size:12px}.bib-identity img{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.brand-shell *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

.bib-wordmark-accent{color:#9b451b}.bib-identity strong{letter-spacing:-.025em;font-size:16px}.bib-identity small{letter-spacing:.035em}
.brand-shell .hero-gradient{background:radial-gradient(ellipse at 80% 15%,#f1894930,transparent 52%),linear-gradient(125deg,#252729,#3d4042)}
.brand-shell .hero-gradient :is(h1,h2){color:white}.brand-shell .hero-gradient .text-blue-300{color:#f7ad7f}.brand-shell .hero-gradient .text-blue-100{color:#e9e5e0}
@media(max-width:640px){.bib-identity strong{font-size:14px}.bib-identity small{font-size:9px}.brand-shell .hero-gradient{padding-top:110px}}

/* Spacious screen layout and the nautical identity shared with Brand ID Boat. */
body.brand-shell{background:radial-gradient(ellipse at 100% 0,#f1894914,transparent 38rem),#f5f5f2}
.brand-shell main{width:100%;max-width:none;min-width:0;padding-inline:clamp(12px,1.8vw,36px)}
.brand-shell>div>nav:first-child>div:first-child{padding-inline:clamp(12px,1.8vw,36px)}
.brand-shell>div>nav:first-child>div:first-child>div{min-height:80px}
.bib-identity{gap:11px;line-height:1}
.bib-identity img{width:58px;height:58px;filter:drop-shadow(0 3px 5px #25272915)}
.bib-identity strong{font-family:Georgia,'Times New Roman',serif;font-size:25px;font-weight:700;letter-spacing:.08em;line-height:1.05}
.bib-identity small{font-size:9px;letter-spacing:.055em;line-height:1.5}
.bib-identity .bib-brand-kicker{font-size:10px;font-weight:700;letter-spacing:.23em;color:#4c4c4c}
.bib-wordmark-accent{color:#f18949}
.brand-shell footer .bib-identity,.brand-shell footer .bib-identity :is(small,strong){color:#f4f4f2!important}
.brand-shell :is(.bg-white.rounded-lg,.bg-white.rounded-xl){border-radius:20px;box-shadow:0 5px 24px #30323407}
.brand-shell :is(a.bg-blue-600,button.bg-blue-600,a.bg-indigo-600,button.bg-indigo-600){border-radius:10px;font-weight:600;box-shadow:0 4px 12px #f1894925}
.brand-shell :is(a.bg-blue-600,button.bg-blue-600,a.bg-indigo-600,button.bg-indigo-600):hover{box-shadow:0 6px 18px #f1894940}
.brand-shell main h2{font-weight:700}
.brand-shell main .group{transition:transform .2s,box-shadow .2s}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.brand-shell main .group:hover{transform:translateY(-3px);box-shadow:0 12px 28px #30323412}}
.brand-shell .bib-gallery{border-radius:24px;box-shadow:0 8px 30px #3032340b}
.brand-shell .bib-gallery-stage{background:radial-gradient(ellipse at 50% 45%,#fff,#eeefec)}
.brand-shell .bib-gallery-photo{height:clamp(280px,46vw,680px)}
.brand-shell .bib-gallery-thumbs{padding:16px;gap:12px}
.brand-shell .bib-gallery-thumbs img{width:88px;height:65px}
.brand-shell .hero-gradient{min-height:80svh;display:flex;align-items:center;position:relative;overflow:hidden}
.brand-shell .hero-gradient::after{content:'';position:absolute;width:65vw;height:65vw;border:1px solid #f1894929;border-radius:50%;right:-30vw;top:-30vw;pointer-events:none;box-shadow:0 0 0 70px #f1894905,0 0 0 140px #f1894904}
@media(min-width:1280px){.brand-shell main>.bib-boat-detail{grid-template-columns:minmax(0,1fr) minmax(340px,420px)}.brand-shell main>.bib-boat-detail>.lg\:col-span-2{grid-column:span 1}}
@media(max-width:640px){.bib-identity img{width:44px;height:44px}.bib-identity strong{font-size:21px}.bib-identity .bib-brand-kicker{font-size:8px}.bib-identity small{font-size:8px}.brand-shell>div>nav:first-child>div:first-child>div{min-height:72px}.brand-shell .bib-gallery{border-radius:16px}.brand-shell .bib-gallery-photo{height:300px}.brand-shell .bib-gallery-thumbs{padding:10px}.brand-shell .hero-gradient{min-height:85svh}}
