/* ==========================================================================
   SINGLE BOAT PAGE  —  hr-boat.css   (needs hr-core.css)
   Hybrid hero (the photo is never written on) + solid identity panel, sales
   layer, overview, engine & sails, equipment, harbour map, keep-browsing.
   ========================================================================== */

@keyframes teaserNudge{0%,100%{transform:rotate(45deg) translate(-1px,-1px)}50%{transform:rotate(45deg) translate(2px,2px)}}

#site {
  /* ==========================================================================
       SINGLE BOAT PAGE
       Hybrid hero: the photo is never written on — identity lives in a solid
       panel that overlaps it. Everything below is data-driven and self-hiding:
       empty fields never render, so a sparsely filled boat still looks finished.
       ========================================================================== */
  .bp{position:relative;background:var(--deep)}
  .bp-eng-strip{margin-top:14px}
  /* sale block 2.9.0 */
  .bp-price-sub{font:600 13px/1.4 system-ui,sans-serif;letter-spacing:.04em;color:rgba(245,242,236,.72);margin:-4px 0 14px}
  .bp-sale-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:14px 24px;margin:28px 0 0;padding:20px 0 0;border-top:1px solid rgba(255,255,255,.12)}
  .bp-sale-facts dt{font:700 10.5px/1 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:rgba(245,242,236,.6);margin-bottom:7px}
  .bp-sale-facts dd{margin:0;font:500 15px/1.4 system-ui,sans-serif;color:var(--mist)}
  .bp-sale-desc{display:grid;gap:1em}
  .bp-sale-desc p{margin:0}
  .bp-enq{display:grid;gap:12px;margin-top:6px}
  .bp-enq-f{display:grid;gap:6px}
  .bp-enq-f > span:first-child{font:700 10.5px/1 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:rgba(245,242,236,.66)}
  .bp-enq input,.bp-enq textarea{width:100%;box-sizing:border-box;font:400 15px/1.45 system-ui,sans-serif;color:var(--mist);background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.18);border-radius:10px;padding:11px 13px;min-height:44px;resize:vertical}
  .bp-enq input:focus,.bp-enq textarea:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(255,179,71,.18)}
  .bp-enq textarea::placeholder{color:rgba(245,242,236,.42)}
  .bp-enq-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
  .bp-enq-acts{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-top:4px}
  .bp-enq-err{font:600 13px/1.4 system-ui,sans-serif;color:#ffb199}
  .bp-enq-msg{margin:0;font:500 14px/1.5 system-ui,sans-serif;color:var(--mist)}
  .bp-enq-msg:empty{display:none}
  .bp-enq-msg.is-bad{color:#ffb199}
  .bp-enq-note{margin:2px 0 0;font:400 12.5px/1.5 system-ui,sans-serif;color:rgba(245,242,236,.6);text-wrap:pretty}
  .bp-enq ~ .foot{margin-top:18px}
  .bp-enq-done{padding:16px 18px;border-radius:12px;background:rgba(255,179,71,.12);font:400 15px/1.5 system-ui,sans-serif;color:var(--mist)}
  .bp-empty-prompt.is-deep{border-color:rgba(245,242,236,.25);color:rgba(245,242,236,.78)}
  .bp-empty-only{display:none}
  .bp.is-editing .bp-empty-only{display:block}
  .bp-empty-prompt{max-width:42ch;padding:18px 22px;border:1.5px dashed rgba(11,42,63,.2);border-radius:14px;color:rgba(11,42,63,.68)}
  /* owner-only placeholders for empty sections: invisible until Edit boat */
  .bp-empty{display:none}
  .bp.is-editing .bp-empty{display:block;padding:clamp(28px,4vw,44px);border-radius:16px;border:1.5px dashed rgba(245,242,236,.22)}
  .bp.is-editing .bp-empty-warm{border-color:rgba(11,42,63,.2)}
  .bp-empty + .bp-empty{margin-top:clamp(24px,3vw,36px)}
  .bp-empty-t{font:600 clamp(24px,2.4vw,32px)/1.15 ui-serif,Georgia,serif;margin:10px 0 0;color:var(--mist)}
  .bp-empty-warm .bp-empty-t{color:var(--ink)}
  .bp-empty-p{font:400 16px/1.55 system-ui,sans-serif;margin:10px 0 0;max-width:52ch;color:rgba(245,242,236,.72);text-wrap:pretty}
  .bp-empty-warm .bp-empty-p{color:rgba(11,42,63,.68)}
  .bp-empty-sec{display:none}
  .bp.is-editing .bp-empty-sec{display:block}
  /* the dark section holding only placeholders vanishes outside edit mode too */
  .sec-deep:has(> .wrap > .bp-empty:only-child),
  .sec-deep:has(> .wrap > .bp-empty + .bp-empty:last-child){display:none}
  .bp.is-editing .sec-deep:has(> .wrap > .bp-empty){display:block}
  .bp-person.is-awaiting .bp-pname{font-style:italic;opacity:.85}
  .bp-av-anchor{background:transparent!important;box-shadow:inset 0 0 0 1.5px rgba(255,179,71,.6)!important;position:relative}
  .bp-av-anchor::after{content:"";position:absolute;inset:9px;background:var(--accent);
    -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Cpath d='M12 7.5V21M7 11h10M4 15a8 8 0 0 0 16 0'/%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 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='5' r='2.5'/%3E%3Cpath d='M12 7.5V21M7 11h10M4 15a8 8 0 0 0 16 0'/%3E%3C/svg%3E") center/contain no-repeat}
  /* starred video in the hero: poster + one play button, plays in place on click */
  .bp-hero-play{position:absolute;left:50%;top:46%;transform:translate(-50%,-50%);z-index:2;width:92px;height:92px;border-radius:50%;
    border:0;padding:0;background:rgba(7,25,40,.42);backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);cursor:pointer;
    box-shadow:0 0 0 1.5px rgba(245,242,236,.55),0 18px 50px rgba(0,0,0,.35);display:grid;place-items:center;transition:transform .2s,background-color .2s}
  .bp-hero-play:hover{transform:translate(-50%,-50%) scale(1.06);background:rgba(7,25,40,.6)}
  .bp-hero-play:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
  .bp-hero-play-ring{display:grid;place-items:center;width:100%;height:100%}
  .bp-hero-play .bp-play-dot{transform:scale(1.7)}
  .bp-hero-vid{position:absolute;inset:0;z-index:4;background:#000}
  .bp-hero-vid iframe,.bp-hero-vid video{position:absolute;inset:0;width:100%;height:100%;border:0}
  .bp-photo.is-playing .bp-hero-play{display:none}
  @media (max-width:700px){.bp-hero-play{width:72px;height:72px}}
  .bp-photo{position:relative;height:clamp(320px,52vw,600px);background:#0d2e44 center/cover no-repeat;overflow:hidden}
  .bp-photo.is-empty{background:linear-gradient(150deg,#16466a,#0B2A3F)}
  .bp-photo .stripe{position:absolute;inset:0;background:repeating-linear-gradient(45deg,rgba(255,255,255,.04) 0 14px,transparent 14px 28px)}
  .bp-photo:after{content:'';position:absolute;left:0;right:0;bottom:0;height:46%;background:linear-gradient(to top,rgba(7,30,46,.92),rgba(7,30,46,0))}
  .bp-photo:before{content:'';position:absolute;left:0;right:0;top:0;height:150px;background:linear-gradient(to bottom,rgba(6,20,31,.55),rgba(6,20,31,0));z-index:1}
  .bp-crumbs{position:absolute;top:calc(var(--nav-h) + 4px);left:0;right:0;z-index:2;display:flex;align-items:center;gap:9px;font:600 11px/1 system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase}
  .bp-crumbs a{color:rgba(245,242,236,.8);text-decoration:none;transition:color .2s}
  .bp-crumbs a:hover{color:var(--accent)}
  .bp-crumbs span{color:rgba(245,242,236,.45)}
  /* A STATUS TAG, not a call to action. Amber pills on this page all mean "press me",
       so the badge borrowed their look and read as a fourth button. Rust, square-ish
       corners and a dot mark it as a label instead — noticed, not clicked. */
  .bp-forsale{position:absolute;top:calc(var(--nav-h) + 4px);right:0;z-index:2;display:inline-flex;align-items:center;gap:8px;
      font:700 10px/1 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;
      color:#F7F1E6;background:var(--rust);padding:8px 12px;border-radius:5px;
      box-shadow:0 6px 18px rgba(4,14,23,.45);text-decoration:none}
  .bp-forsale::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--accent);flex:none}
  /* clears the identity panel, which is pulled up over the photo's bottom strip
       by the same clamp (see .bp-id margin-top) */
  .bp-photo-zoom{position:absolute;bottom:clamp(88px,calc(9vw + 18px),138px);right:0;z-index:2;font:600 11px/1 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:rgba(245,242,236,.85);background:rgba(4,14,23,.55);backdrop-filter:blur(8px);border-radius:100px;padding:11px 17px;cursor:pointer;text-decoration:none;transition:color .2s}
  .bp-photo-zoom:hover{color:var(--accent)}
  .bp-abs-wrap{position:absolute;inset:0;pointer-events:none}
  .bp-abs-wrap .wrap{position:relative;height:100%;pointer-events:none}
  .bp-abs-wrap a, .bp-abs-wrap .bp-forsale, .bp-abs-wrap .bp-photo-zoom{pointer-events:auto}
  /* identity panel — overlaps the photo, carries all the text */
  .bp-id{position:relative;z-index:3;margin-top:clamp(-120px,-9vw,-70px);background:rgba(7,25,40,.97);border:1px solid rgba(255,255,255,.13);border-radius:22px;box-shadow:0 34px 80px rgba(0,0,0,.5);overflow:hidden}
  .bp-id-main{display:grid;grid-template-columns:1fr auto;gap:clamp(24px,4vw,48px);padding:clamp(24px,3.4vw,40px)}
  .bp-hull{font:700 11px/1 system-ui,sans-serif;letter-spacing:.22em;text-transform:uppercase;color:var(--accent)}
  .bp-title{margin:14px 0 0;font-family:ui-serif,Georgia,'Times New Roman',serif;font-weight:600;font-size:clamp(32px,5vw,54px);line-height:1.02;color:var(--mist)}
  .bp-modelline{display:flex;align-items:center;flex-wrap:wrap;gap:10px 14px;margin-top:12px}
  .bp-modelline a, .bp-modelline span{font:600 13px/1 system-ui,sans-serif;color:rgba(245,242,236,.72);text-decoration:none}
  .bp-modelline a{color:var(--accent)}
  .bp-modelline a:hover{color:var(--mist)}
  .bp-dot{width:4px;height:4px;border-radius:50%;background:rgba(245,242,236,.35)}
  .bp-people{display:flex;align-items:center;flex-wrap:wrap;gap:18px 26px;margin-top:26px}
  .bp-person{display:flex;align-items:center;gap:10px;text-decoration:none}
  .bp-person .avatar{width:34px;height:34px;line-height:34px;font-size:13px}
  .bp-role{font:700 9px/1 system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:rgba(245,242,236,.45)}
  .bp-pname{font:600 14px/1.2 system-ui,sans-serif;color:var(--mist);margin-top:5px}
  a.bp-person:hover .bp-pname{color:var(--accent)}
  .bp-id-side{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:20px;min-width:min(260px,38vw)}
  .bp-price-box{text-align:right}
  .bp-price-lbl{font:700 10px/1 system-ui,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:rgba(245,242,236,.5)}
  .bp-price{font-family:ui-serif,Georgia,serif;font-weight:600;font-size:clamp(30px,4vw,44px);line-height:1;color:var(--accent);margin-top:9px}
  .bp-price-note{font:400 11px/1.4 system-ui,sans-serif;color:rgba(245,242,236,.5);margin-top:8px}
  .bp-actions{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center}
  .bp-added{font:600 11px/1 system-ui,sans-serif;letter-spacing:.1em;text-transform:uppercase;color:rgba(245,242,236,.5)}
  /* facts strip along the bottom of the panel */
  .bp-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));border-top:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.025)}
  /* Same rule as .cat-keys in hr-catalogue.css: label top, value bottom, so a
     label that wraps to two lines cannot push its own number a line below the
     rest of the strip. Subgrid, where supported, shares the label row too. */
  .bp-fact{display:flex;flex-direction:column;justify-content:space-between;gap:8px;padding:18px clamp(16px,2vw,24px);border-left:1px solid rgba(255,255,255,.08)}
  @supports (grid-template-rows:subgrid){
    .bp-fact{display:grid;grid-template-rows:subgrid;grid-row:span 2}
  }
  .bp-fact:first-child{border-left:0}
  .bp-fact dt{font:700 9px/1 system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:rgba(245,242,236,.45)}
  .bp-fact dd{margin:8px 0 0;font-family:ui-serif,Georgia,serif;font-weight:600;font-size:19px;line-height:1.1;color:var(--mist);align-self:end}
  .bp-fact dd small{font:600 11px/1 system-ui,sans-serif;color:rgba(245,242,236,.55);margin-left:3px}
  /* generic pieces reused by every boat section */
  .bp-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(28px,4vw,56px);align-items:start}
  .bp-prose{font:400 clamp(15px,1.5vw,16.5px)/1.72 system-ui,sans-serif;color:rgba(11,42,63,.78);white-space:pre-line;text-wrap:pretty}
  .bp-prose.on-deep{color:rgba(245,242,236,.78)}
  .bp-card{background:#fff;border:1px solid rgba(11,42,63,.1);border-radius:18px;box-shadow:0 12px 28px rgba(11,42,63,.1);overflow:hidden}
  .bp-card.on-deep{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.11);box-shadow:none}
  .bp-card h3{margin:0;padding:18px 22px;font:700 10px/1 system-ui,sans-serif;letter-spacing:.2em;text-transform:uppercase;color:var(--rust);border-bottom:1px solid rgba(11,42,63,.1)}
  .bp-card.on-deep h3{color:var(--accent);border-color:rgba(255,255,255,.1)}
  .bp-dl{margin:0;padding:6px 22px 16px}
  /* the Registry card's footer link out to the model's catalogue page: a quiet
     ruled row inside the card, not a button — it is a citation, not an action */
  .bp-ref{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:15px 22px;border-top:1px solid rgba(11,42,63,.1);background:rgba(11,42,63,.028);font:600 11.5px/1.35 system-ui,sans-serif;letter-spacing:.04em;color:var(--rust);text-decoration:none;transition:background .2s,color .2s}
  .bp-ref:hover{background:rgba(194,112,63,.08);color:var(--ink)}
  .bp-ref-arw{flex:none;font-size:13px;transition:transform .2s}
  .bp-ref:hover .bp-ref-arw{transform:translateX(3px)}
  .bp-dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:12px 0;border-bottom:1px solid rgba(11,42,63,.08)}
  .bp-card.on-deep .bp-dl>div{border-color:rgba(255,255,255,.07)}
  .bp-dl>div:last-child{border-bottom:0}
  .bp-dl dt{font:600 12px/1.3 system-ui,sans-serif;color:rgba(11,42,63,.55);flex:none}
  .bp-card.on-deep .bp-dl dt{color:rgba(245,242,236,.5)}
  .bp-dl dd{margin:0;font:600 13.5px/1.35 system-ui,sans-serif;color:var(--ink);text-align:right}
  .bp-card.on-deep .bp-dl dd{color:var(--mist)}
  .bp-dl dd a{color:var(--rust);text-decoration:none}
  .bp-dl dd a:hover{text-decoration:underline}
  .bp-card.on-deep .bp-dl dd a{color:var(--accent)}
  .bp-flagline{display:inline-flex;align-items:center;gap:7px}
  .bp-flagline img{width:20px;height:13px;border-radius:2px;box-shadow:0 0 0 1px rgba(11,42,63,.18)}
  .bp-lock{display:inline-flex;align-items:center;gap:6px;font:600 11px/1 system-ui,sans-serif;color:rgba(11,42,63,.4);text-decoration:none}
  .bp-card.on-deep .bp-lock, .bp-lock.on-deep{color:rgba(245,242,236,.4)}
  .bp-lock:hover{color:var(--rust)}
  .bp-lock.on-deep:hover, .bp-card.on-deep .bp-lock:hover{color:var(--accent)}
  .bp-lock:before{content:'';width:9px;height:11px;border:1.6px solid currentColor;border-radius:2px;border-top-width:0;box-shadow:inset 0 0 0 1px transparent;position:relative}
  .bp-pill{display:inline-flex;align-items:center;gap:7px;font:700 10px/1 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;padding:8px 13px;border-radius:100px;background:rgba(255,179,71,.14);border:1px solid rgba(255,179,71,.4);color:var(--accent)}
  /* gallery */
  .bp-gal{margin-top:clamp(30px,4vw,44px)}
  .bp-gal-main{position:relative;aspect-ratio:16/9;border-radius:20px;overflow:hidden;background:#0d2e44 center/cover no-repeat;box-shadow:0 20px 44px rgba(11,42,63,.22);cursor:zoom-in}
  .bp-thumbs{display:flex;gap:12px;overflow-x:auto;padding:14px 2px 4px;scroll-behavior:smooth}
  .bp-thumb{flex:none;width:104px;aspect-ratio:4/3;border-radius:11px;overflow:hidden;background:#0d2e44 center/cover no-repeat;cursor:pointer;opacity:.55;border:2px solid transparent;transition:opacity .25s,border-color .25s}
  .bp-thumb:hover{opacity:.85}
  .bp-thumb.is-on{opacity:1;border-color:var(--accent)}
  .bp-thumb .play, .bp-vid .play{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
  .bp-thumb{position:relative}
  .bp-play-dot{width:26px;height:26px;border-radius:50%;background:rgba(4,14,23,.6);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center}
  .bp-play-dot:after{content:'';width:0;height:0;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:8px solid var(--mist);margin-left:2px}
  .bp-strip{display:flex;gap:10px;overflow-x:auto;padding:2px}
  .bp-strip .bp-thumb{width:88px}
  .bp-gal-play{top:50%}
  .bp-gal-main iframe, .bp-gal-main video{position:absolute;inset:0;width:100%;height:100%;border:0;background:#000}
  /* lightbox */
  .bp-lb{position:fixed;inset:0;z-index:2000;display:none;align-items:center;justify-content:center;background:rgba(4,12,20,.94);padding:clamp(16px,4vw,48px)}
  .bp-lb.open{display:flex}
  .bp-lb img{max-width:100%;max-height:100%;width:auto;border-radius:8px}
  .bp-lb-close{position:absolute;top:22px;right:26px;font:400 30px/1 system-ui,sans-serif;color:var(--mist);cursor:pointer;opacity:.7}
  .bp-lb-close:hover{opacity:1;color:var(--accent)}
  .bp-lb-nav{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.08);color:var(--mist);display:flex;align-items:center;justify-content:center;font:400 20px/1 system-ui,sans-serif;cursor:pointer}
  .bp-lb-nav:hover{background:var(--accent);color:var(--ink)}
  .bp-lb-prev{left:18px}
  .bp-lb-next{right:18px}
  .bp-lb-count{position:absolute;bottom:20px;left:50%;transform:translateX(-50%);font:600 11px/1 system-ui,sans-serif;letter-spacing:.14em;color:rgba(245,242,236,.6)}
  /* engine */
  .bp-eng{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(26px,4vw,52px);align-items:center}
  .bp-eng-photo{aspect-ratio:4/3;border-radius:20px;background:rgba(255,255,255,.04) center/cover no-repeat;border:1px solid rgba(255,255,255,.1)}
  .bp-eng-name{margin:16px 0 0;font-family:ui-serif,Georgia,serif;font-weight:600;font-size:clamp(26px,3.4vw,38px);line-height:1.04;color:var(--mist)}
  .bp-eng-name a{color:inherit;text-decoration:none}
  .bp-eng-name a:hover{color:var(--accent)}
  /* the reason to follow that link, said plainly: this engine is not just yours */
  .bp-eng-more{display:inline-flex;align-items:baseline;gap:8px;margin-top:14px;
      font:600 12px/1.5 system-ui,sans-serif;letter-spacing:.04em;color:var(--accent);
      text-decoration:none;border-bottom:1px solid rgba(255,179,71,.34);padding-bottom:4px;
      transition:color .2s,border-color .2s}
  .bp-eng-more:hover{color:var(--mist);border-color:var(--mist)}
  .bp-eng-more:after{content:'\2192';font-size:13px}
  /* the container fill is the SECTION colour, and each cell paints its own hairline:
       a part-filled last row then reads as empty space, not as a ghost cell */
  .bp-specgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:1px;margin-top:26px;background:var(--deep);border:1px solid rgba(255,255,255,.1);border-radius:16px;overflow:hidden}
  .bp-spec{background:var(--deep);padding:18px 20px;box-shadow:0 0 0 1px rgba(255,255,255,.1)}
  .bp-spec dt{font:700 9px/1 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:rgba(245,242,236,.45)}
  .bp-spec dd{margin:9px 0 0;font-family:ui-serif,Georgia,serif;font-weight:600;font-size:21px;line-height:1;color:var(--mist)}
  .bp-spec dd small{font:600 11px/1 system-ui,sans-serif;color:rgba(245,242,236,.55);margin-left:4px}
  .bp-spec dd .sm{font:600 14px/1.3 system-ui,sans-serif;font-family:system-ui,sans-serif}
  /* sails table */
  .bp-table{width:100%;border-collapse:collapse;margin-top:8px}
  .bp-table th{text-align:left;padding:0 18px 12px 0;font:700 9px/1 system-ui,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:rgba(245,242,236,.45);border-bottom:1px solid rgba(255,255,255,.12)}
  .bp-table td{padding:16px 18px 16px 0;font:500 14px/1.3 system-ui,sans-serif;color:rgba(245,242,236,.82);border-bottom:1px solid rgba(255,255,255,.07)}
  .bp-table td:first-child{font-family:ui-serif,Georgia,serif;font-weight:600;font-size:17px;color:var(--mist)}
  .bp-table th:last-child, .bp-table td:last-child{text-align:right;padding-right:0}
  /* equipment accordion */
  .bp-acc{display:grid;grid-template-columns:1fr 1fr;gap:14px clamp(20px,3vw,32px);margin-top:clamp(26px,3.5vw,40px);align-items:start}
  .bp-group{background:#fff;border:1px solid rgba(11,42,63,.1);border-radius:16px;overflow:hidden;box-shadow:0 10px 24px rgba(11,42,63,.08)}
  .bp-acc-head{display:flex!important;align-items:center;justify-content:space-between;gap:14px;width:100%;padding:18px 22px!important;background:transparent;border:0;cursor:pointer;text-align:left;font:700 11px/1 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--ink)}
  .bp-acc-head:hover{color:var(--rust)}
  .bp-acc-n{font:600 11px/1 system-ui,sans-serif;letter-spacing:0;color:var(--rust);margin-left:auto}
  .bp-chev{width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);opacity:.55;transition:transform .25s ease;flex:none}
  .bp-acc-head.exp .bp-chev{transform:rotate(-135deg)}
  .bp-acc-body{display:none;padding:0 22px 8px}
  .bp-acc-body.open{display:block}
  .bp-item{display:flex;align-items:baseline;justify-content:space-between;gap:18px;padding:13px 0;border-top:1px solid rgba(11,42,63,.08)}
  .bp-item-lbl{font:600 12px/1.3 system-ui,sans-serif;color:rgba(11,42,63,.55)}
  .bp-item-val{font:600 13.5px/1.35 system-ui,sans-serif;color:var(--ink);text-align:right}
  .bp-item-val a{color:var(--rust);text-decoration:none}
  .bp-item-val a:hover{text-decoration:underline}
  .bp-item-val em{display:block;font:400 11.5px/1.3 system-ui,sans-serif;font-style:normal;color:rgba(11,42,63,.5);margin-top:4px}
  /* location + map */
  .bp-map{height:clamp(300px,34vw,420px);border-radius:20px;overflow:hidden;border:1px solid rgba(255,255,255,.12);background:#0d2e44;z-index:0}
  .bp-map .leaflet-control-attribution{font-size:9px;background:rgba(7,25,40,.7);color:rgba(245,242,236,.5)}
  .bp-map .leaflet-control-attribution a{color:rgba(245,242,236,.7)}
  .bp-coords{font:500 12.5px/1.4 ui-monospace,Menlo,monospace;color:rgba(245,242,236,.7);word-break:break-word;text-align:right}
  .bp-copy{font:600 10px/1 system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;color:var(--accent);cursor:pointer;background:transparent;border:0;padding:6px 0!important;display:block;margin-left:auto!important}
  /* sales block */
  .bp-sale{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(26px,4vw,52px);align-items:start}
  .bp-sale-desc{font:400 15.5px/1.7 system-ui,sans-serif;color:rgba(245,242,236,.8)}
  .bp-sale-desc p{margin:0 0 1em}
  .bp-sale-desc ul{margin:0 0 1em;padding-left:20px}
  .bp-contact{background:linear-gradient(165deg,rgba(255,179,71,.13),rgba(255,255,255,.02));border:1px solid rgba(255,179,71,.3);border-radius:20px;padding:clamp(22px,3vw,32px)}
  .bp-contact h3{margin:0;font-family:ui-serif,Georgia,serif;font-weight:600;font-size:26px;line-height:1.1;color:var(--mist)}
  .bp-contact .who{font:600 13px/1.3 system-ui,sans-serif;color:rgba(245,242,236,.65);margin-top:10px}
  .bp-contact-rows{display:flex;flex-direction:column;gap:10px;margin:22px 0}
  .bp-contact-rows a, .bp-contact-rows .bp-lock{font:600 14px/1 system-ui,sans-serif;color:var(--mist);text-decoration:none;display:inline-flex;align-items:center;gap:9px}
  .bp-contact-rows a:hover{color:var(--accent)}
  .bp-contact .foot{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
  .bp-third{font:600 12px/1 system-ui,sans-serif;color:rgba(245,242,236,.6);text-decoration:none;border-bottom:1px solid rgba(245,242,236,.25);padding-bottom:2px}
  .bp-third:hover{color:var(--accent);border-color:var(--accent)}
  /* the PDF button ships from another plugin — style its classes to match */
  .hr-pdf-btn{display:inline-flex;align-items:center;gap:9px;font:700 11px/1 system-ui,sans-serif!important;letter-spacing:.1em;text-transform:uppercase;color:var(--ink)!important;background:var(--accent)!important;padding:13px 22px!important;border-radius:100px!important;text-decoration:none;box-shadow:0 6px 18px rgba(255,179,71,.4)!important;cursor:pointer;transition:background .3s,color .3s,box-shadow .3s,transform .3s}
  .hr-pdf-btn:hover{background:transparent!important;color:var(--accent)!important;box-shadow:inset 0 0 0 2px var(--accent),0 0 26px rgba(255,179,71,.5)!important;transform:translateY(-2px)}
  .hr-pdf-badge{font:700 9px/1 system-ui,sans-serif!important;letter-spacing:.1em;opacity:.7}
  #hrBoatPdfTemplate{display:none}
  /* sticky sale bar */
  .bp-stick{position:fixed;left:0;right:0;bottom:0;z-index:900;transform:translateY(110%);transition:transform .35s cubic-bezier(.4,0,.2,1);background:rgba(7,25,40,.97);backdrop-filter:blur(14px);border-top:1px solid rgba(255,255,255,.12);box-shadow:0 -12px 40px rgba(0,0,0,.4)}
  .bp-stick.show{transform:translateY(0)}
  .bp-stick .wrap{display:flex;align-items:center;gap:18px;padding-top:13px;padding-bottom:13px}
  .bp-stick-name{font-family:ui-serif,Georgia,serif;font-weight:600;font-size:18px;color:var(--mist);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .bp-stick-price{font-family:ui-serif,Georgia,serif;font-weight:600;font-size:22px;color:var(--accent);margin-left:auto;white-space:nowrap}
  .bp-stick-actions{display:flex;gap:10px;flex:none}
  /* Re-assert serif display faces for the boat page against theme bleed */
  .bp-title, .bp-price, .bp-fact dd, .bp-eng-name, .bp-spec dd, .bp-contact h3, .bp-stick-name, .bp-stick-price, .bp-table td:first-child{font-family:ui-serif,Georgia,'Times New Roman',serif!important}
  .bp-spec dd .sm{font-family:system-ui,-apple-system,sans-serif!important}
  .bp-modelline a, .bp-dl dd a, .bp-item-val a{text-decoration:none!important}
  .bp-acc-head, .bp-copy{background:transparent!important;border:0!important}
  /* absolute children of .wrap are laid out against its padding box, so the
       wrap's own gutter has to be repeated here */
  .bp-crumbs{left:0;right:0;padding:0 clamp(20px,5vw,44px)}
  .bp-forsale, .bp-photo-zoom{right:clamp(20px,5vw,44px)}
  .bp-eng-photo.is-empty{background:repeating-linear-gradient(45deg,rgba(255,255,255,.045) 0 14px,transparent 14px 28px);display:flex;align-items:center;justify-content:center;font:700 10px/1 system-ui,sans-serif;letter-spacing:.2em;color:rgba(245,242,236,.35)}
  .bp-eng.no-photo{grid-template-columns:1fr}
  .bp-photo-zoom{display:flex;align-items:center;gap:11px}
  .bp-zoom-part{cursor:pointer;transition:color .2s}
  .bp-zoom-part:hover{color:var(--accent)}
  .bp-zoom-sep{width:4px;height:4px;border-radius:50%;background:currentColor;opacity:.45}
  /* ---- boat page: theme-bleed isolation ---- */
  /* .bp-forsale is an <a>, so a theme link colour was winning over the tag's text */
  a.bp-forsale, .bp-forsale{color:#F7F1E6!important;background:var(--rust)!important;text-decoration:none!important;border:0!important}
  a.bp-forsale:hover{color:#F7F1E6!important;background:var(--rust)!important;opacity:.88}
  /* themes love to border and stripe tables — strip it all, then re-assert ours */
  .bp-table, .bp-table thead, .bp-table tbody, .bp-table tr{border:0!important;background:transparent!important}
  .bp-table th{border:0!important;border-bottom:1px solid rgba(255,255,255,.12)!important;background:transparent!important;text-align:left!important}
  .bp-table td{border:0!important;border-bottom:1px solid rgba(255,255,255,.07)!important;background:transparent!important;text-align:left!important;vertical-align:baseline}
  .bp-table th:last-child, .bp-table td:last-child{text-align:right!important}
  .bp-dl>div, .bp-item{background:transparent!important}
  /* Without the sales block, the panel used to butt straight into the warm
       section. This keeps the same deep breathing room below it either way. */
  .bp-id-wrap.has-gap{padding-bottom:clamp(60px,8vw,120px)}
  /* "More boats" sits on the deep band now (the log took the warm one before it),
     so its pager needs the light-on-deep treatment. */
  .sec-deep .bp-pg-dir{color:rgba(245,242,236,.5)!important}
  .sec-deep .bp-pg-name{color:var(--mist)!important}
  .sec-deep a.bp-pg:hover .bp-pg-name{color:var(--accent)!important}
  .bp-teaser{margin-top:clamp(44px,6vw,84px)}
  .bp-teaser .sec-eyebrow{margin-bottom:0}
  .bp-teaser .sec-eyebrow.amber{color:var(--accent)!important}
  /* ---- boat page: teaser, gallery fit, gate, share, keep-browsing ---- */
  /* the fold teaser is a link now: eyebrow + a chevron that nudges downward */
  .bp-teaser{display:inline-flex;align-items:center;gap:11px;text-decoration:none}
  .bp-teaser-chev{width:7px;height:7px;border-right:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(45deg);opacity:.85;animation:teaserNudge 2.8s ease-in-out infinite}
  /* ...and its one-way trip down into the eyebrow slot above "Her story" */
  /* display:flex, NOT block. The teaser inside is inline-flex, so a block slot
       builds a LINE BOX around it and the inherited body line-height adds ~12px of
       leading to a 12px eyebrow — which pushed the landed eyebrow lower than the
       plain .sec-eyebrow a listing uses, and made the page drop a few pixels the
       moment the flight ended (the slot's reserved height was the teaser's 12px,
       its auto height was the line box's 24px). Flex has no line box: reserved
       height and final height are the same number. */
  .bp-eb-slot{display:flex;margin-bottom:14px}
  .bp-teaser.is-landing{z-index:5}
  .bp-teaser.is-landing .bp-teaser-chev{opacity:0;animation:none;transition:opacity .3s}
  .bp-teaser.is-home{margin:0}
  /* Wrapping the eyebrow in the teaser anchor had zeroed its margin, leaving only 3px
       between FOR SALE and the sales headline — too little for the fold line to sit
       between them. 30px restores the section's own rhythm and gives the pinned eyebrow
       the same air above the fold as the non-sale teaser has. */
  .bp-teaser.is-static{margin:0 0 30px}
  /* The three panel actions come from three places — our CTA, the PDF plugin's
       button and our Share button — each with its own padding and line box. This
       gives them ONE box, and text-indent cancels the trailing letter-space so the
       uppercase labels sit optically centred. */
  .bp-actions>span{display:contents}
  .bp-actions .cta, .bp-actions .hr-pdf-btn, .bp-actions .bp-share, .bp-actions .btn-ghost{display:inline-flex!important;align-items:center!important;justify-content:center!important;
      min-height:46px!important;padding:0 24px!important;border-radius:100px!important;box-sizing:border-box!important}
  .bp-actions .cta, .bp-actions .hr-pdf-btn{text-indent:.1em}
  .bp-teaser .sec-eyebrow.amber{transition:color .55s .3s}
  .bp-teaser.is-landing .sec-eyebrow.amber{color:var(--rust)!important}
  /* a portrait shot is shown whole rather than centre-cropped to 16:9 */
  .bp-gal-main.is-portrait{background-size:contain;background-color:#08202f}
  /* ==========================================================================
     THE SHIP'S LOG  (warm band, so long entries read well)
     A LOG, not a feed: dated, newest first, no reactions and no counts. The dot's
     colour carries the entry type with no legend, matching the member profile.
     ========================================================================== */
  .bl-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;flex-wrap:wrap}
  .bl-filters{display:flex;flex-wrap:wrap;gap:8px;margin-top:clamp(20px,2.6vw,30px)}
  .bl-fil{font:600 11px/1 system-ui,sans-serif;letter-spacing:.08em;text-transform:uppercase;
      color:rgba(11,42,63,.6);background:transparent;border:1.5px solid rgba(11,42,63,.16);
      border-radius:100px;padding:10px 15px;cursor:pointer;transition:all .2s}
  .bl-fil:hover{border-color:rgba(11,42,63,.4);color:var(--ink)}
  .bl-fil.is-on{background:var(--ink);border-color:var(--ink);color:var(--mist)}
  .bl-fil-n{margin-left:7px;opacity:.55;font-variant-numeric:tabular-nums}

  .bl-log{position:relative;max-width:780px;margin-top:clamp(26px,3.4vw,40px);padding-left:34px}
  .bl-log:before{content:'';position:absolute;left:5px;top:6px;bottom:6px;width:1px;
      background:linear-gradient(to bottom,rgba(11,42,63,.3),rgba(11,42,63,.07))}
  .bl-entry{position:relative;padding-bottom:clamp(26px,3vw,36px)}
  .bl-entry:last-child{padding-bottom:0}
  .bl-entry:before{content:'';position:absolute;left:-33px;top:5px;width:11px;height:11px;
      border-radius:50%;background:var(--warm);box-shadow:0 0 0 1.5px rgba(11,42,63,.3)}
  .bl-entry.is-upgrade:before{background:var(--accent);box-shadow:0 0 0 1.5px rgba(255,179,71,.5)}
  .bl-entry.is-maintenance:before{background:var(--rust);box-shadow:0 0 0 1.5px rgba(194,112,63,.4)}
  .bl-entry.is-voyage:before{background:#2f7fa8;box-shadow:0 0 0 1.5px rgba(47,127,168,.4)}
  .bl-entry.is-milestone:before{background:var(--ink);box-shadow:0 0 0 1.5px rgba(11,42,63,.25)}
  /* A previous owner's entry is the same history, a quieter era. */
  .bl-entry.is-past{opacity:.78}
  .bl-entry.is-past:before{background:transparent;box-shadow:0 0 0 1.5px rgba(11,42,63,.28)}
  .bl-meta{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px}
  .bl-when{font:600 11px/1 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;
      color:rgba(11,42,63,.62);font-variant-numeric:tabular-nums}
  .bl-sys{font:600 9px/1 system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;
      color:rgba(11,42,63,.6);border:1px solid rgba(11,42,63,.22);border-radius:4px;padding:5px 8px}
  .bl-private{font:600 9px/1 system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;
      color:#F7F1E6;background:var(--rust);border-radius:4px;padding:5px 8px}
  .bl-etitle{margin-top:10px;font-family:ui-serif,Georgia,serif;font-weight:600;
      font-size:clamp(17px,1.9vw,21px);line-height:1.28;color:var(--ink)}
  .bl-etext{margin-top:8px;font:400 14px/1.7 system-ui,sans-serif;color:rgba(11,42,63,.72);
      text-wrap:pretty;white-space:pre-line}
  .bl-author{margin-top:10px;font:400 12px/1.4 system-ui,sans-serif;color:rgba(11,42,63,.5)}
  .bl-author a{color:rgba(11,42,63,.7)}
  .bl-author .era{color:rgba(11,42,63,.42)}
  .bl-shots{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
  .bl-shot{width:96px;aspect-ratio:4/3;border-radius:8px;background:#dcd6c9 center/cover no-repeat;
      border:0;padding:0;cursor:zoom-in;transition:transform .25s}
  .bl-shot:hover{transform:scale(1.04)}
  .bl-ask{margin-top:12px;font:600 11px/1 system-ui,sans-serif;letter-spacing:.08em;
      text-transform:uppercase;color:rgba(11,42,63,.5);background:transparent;border:0;padding:0;
      cursor:pointer;transition:color .2s}
  .bl-ask:hover{color:var(--rust)}
  .bl-ask[aria-disabled='true']{cursor:default}
  .bl-empty{margin-top:clamp(24px,3vw,34px);padding:20px 22px;border-radius:14px;max-width:620px;
      background:rgba(11,42,63,.045);border:1px solid rgba(11,42,63,.12);
      font:400 14px/1.65 system-ui,sans-serif;color:rgba(11,42,63,.66)}
  /* the log is capped at eight; the rest is in the page already and opens in
     place, so a thirty-year history never becomes a wall */
  .bl-rest{display:none}
  .bl-rest.is-open{display:block}
  .bl-more{display:inline-flex;align-items:center;gap:9px;margin-top:20px;height:44px;padding:0 20px;
      border:1px solid rgba(11,42,63,.24);border-radius:99px;background:none;cursor:pointer;
      font:700 11px/1 system-ui,sans-serif;letter-spacing:.14em;text-transform:uppercase;
      text-indent:.1em;color:var(--ink);transition:border-color .2s,background .2s}
  .bl-more:hover{border-color:var(--ink);background:rgba(11,42,63,.05)}
  .bl-more:after{content:'\2193';font-size:13px}
  .bl-note{margin-top:clamp(28px,3.6vw,42px);max-width:560px;
      font:400 12px/1.6 system-ui,sans-serif;color:rgba(11,42,63,.5)}
  .bl-gate{margin-top:clamp(24px,3vw,34px);display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;
      padding:18px 20px;border-radius:14px;max-width:620px;
      background:rgba(11,42,63,.045);border:1px solid rgba(11,42,63,.12)}
  .bl-gate p{margin:0;font:500 13px/1.55 system-ui,sans-serif;color:rgba(11,42,63,.66)}
  /* .btn-ghost and .bp-share are written light-on-deep and re-asserted !important in
     the isolation block, so reusing them on the log's WARM band needs an ink
     variant of equal weight. Anywhere a deep-band control lands on cream, it needs
     one of these. */
  .bl-gate .btn-ghost{color:var(--ink)!important;border-color:rgba(11,42,63,.28)!important}
  .bl-gate .btn-ghost:hover{background:var(--ink)!important;color:var(--mist)!important;
      border-color:var(--ink)!important}
  .bp-drawer-foot .bp-share{color:rgba(11,42,63,.62)!important;
      border-color:rgba(11,42,63,.22)!important}
  .bp-drawer-foot .bp-share:hover{color:var(--ink)!important;
      border-color:rgba(11,42,63,.45)!important}

  /* ==========================================================================
     THE DRAWER — a form host, not a log feature.
     Every future owner-only edit on this page opens the same way, so this is
     written generically: .bp-drawer holds whatever form is put inside it.
     ========================================================================== */
  .bp-drawer{position:fixed;top:0;right:0;bottom:0;width:min(520px,100vw);z-index:1300;
      background:var(--mist);box-shadow:-30px 0 80px rgba(4,14,23,.4);
      display:flex;flex-direction:column;transform:translateX(103%);
      transition:transform .38s cubic-bezier(.22,.7,.2,1);visibility:hidden}
  .bp-drawer.is-open{transform:none;visibility:visible}
  .bp-drawer-head{flex:none;display:flex;align-items:flex-start;justify-content:space-between;gap:16px;
      padding:24px 26px 18px;border-bottom:1px solid rgba(11,42,63,.12)}
  .bp-drawer-eyebrow{font:700 10px/1 system-ui,sans-serif;letter-spacing:.2em;text-transform:uppercase;
      color:var(--rust)}
  .bp-drawer-t{margin:10px 0 0;font:600 clamp(21px,2.4vw,26px)/1.15 ui-serif,Georgia,serif;color:var(--ink)}
  .bp-drawer-x{flex:none;width:36px;height:36px;border-radius:50%;border:1px solid rgba(11,42,63,.18);
      background:transparent;color:var(--ink);font:400 20px/1 system-ui,sans-serif;cursor:pointer;
      display:flex;align-items:center;justify-content:center;transition:all .2s}
  .bp-drawer-x:hover{background:var(--ink);color:var(--mist);border-color:var(--ink)}
  .bp-drawer-body{flex:1;min-height:0;overflow:auto;padding:22px 26px;overscroll-behavior:contain}
  .bp-drawer-foot{flex:none;display:flex;align-items:center;justify-content:flex-end;gap:12px;
      padding:16px 26px;border-top:1px solid rgba(11,42,63,.12);background:var(--warm)}
  .bp-drawer-scrim{position:fixed;inset:0;z-index:1290;background:rgba(4,14,23,.5);
      opacity:0;visibility:hidden;transition:opacity .3s}
  .bp-drawer-scrim.is-on{opacity:1;visibility:visible}

  /* fields — plain, because a compose form should look like paper, not chrome */
  .bp-f{display:block;margin-bottom:18px}
  .bp-f>span{display:block;font:600 10px/1 system-ui,sans-serif;letter-spacing:.14em;
      text-transform:uppercase;color:rgba(11,42,63,.6);margin-bottom:8px}
  .bp-f input[type=text], .bp-f input[type=date], .bp-f input[type=number], .bp-f select, .bp-f textarea{
      width:100%;box-sizing:border-box;font:400 15px/1.5 system-ui,sans-serif;color:var(--ink);
      background:#fff;border:1px solid rgba(11,42,63,.2);border-radius:9px;padding:12px 13px}
  .bp-f textarea{min-height:132px;resize:vertical}
  .bp-f input:focus, .bp-f select:focus, .bp-f textarea:focus{outline:none;border-color:var(--rust);
      box-shadow:0 0 0 3px rgba(194,112,63,.14)}
  .bp-f-hint{margin-top:7px;font:400 12px/1.5 system-ui,sans-serif;color:rgba(11,42,63,.5)}
  .bp-f-row{display:flex;gap:12px}
  .bp-f-row>.bp-f{flex:1}
  /* the sub-part selector: only engine entries have one, so the field is absent
     rather than disabled until Engine is chosen — a greyed-out control asks the
     member to wonder what would unlock it */
  .bp-f-part{display:none}
  .bp-f-part.is-on{display:block}
  .bp-check{display:flex;align-items:flex-start;gap:11px;cursor:pointer;margin-bottom:18px;
      padding:14px 15px;border-radius:11px;background:rgba(11,42,63,.04);
      border:1px solid rgba(11,42,63,.12);
      /* not a .bp-f: cancel the field-label casing in case one is ever nested here */
      text-transform:none;letter-spacing:normal}
  /* the armour reset strips appearance off every input, so the box is drawn back */
  .bp-check input[type=checkbox]{margin:1px 0 0;width:18px;height:18px;flex:none;
      appearance:auto!important;-webkit-appearance:checkbox!important;
      accent-color:var(--rust);cursor:pointer;background:#fff;
      border:1px solid rgba(11,42,63,.35);border-radius:4px}
  .bp-check>span{text-transform:none;letter-spacing:normal}
  /* both are BLOCKS: the title sits on its own line with the description under
     it. As inline spans they ran together ("Members onlyPublic by default") and
     the description's margin-top did nothing. */
  .bp-check-t{display:block;font:600 13px/1.3 system-ui,sans-serif;color:var(--ink)}
  .bp-check-d{display:block;margin-top:5px;font:400 12px/1.5 system-ui,sans-serif;color:rgba(11,42,63,.55)}
  /* photo slots: three, deliberately — an entry is a note with evidence, not an album */
  .bp-drops{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
  .bp-drop{position:relative;aspect-ratio:4/3;border-radius:10px;cursor:pointer;
      border:1.5px dashed rgba(11,42,63,.28);background:rgba(11,42,63,.03) center/cover no-repeat;
      display:flex;align-items:center;justify-content:center;transition:all .2s;padding:0}
  .bp-drop:hover{border-color:var(--rust);background-color:rgba(194,112,63,.07)}
  .bp-drop.is-set{border-style:solid;border-color:rgba(11,42,63,.2)}
  .bp-drop.is-busy{opacity:.55;cursor:default}
  .bp-drop-plus{font:300 26px/1 system-ui,sans-serif;color:rgba(11,42,63,.35)}
  .bp-drop-x{position:absolute;top:5px;right:5px;width:22px;height:22px;border-radius:50%;border:0;
      background:rgba(7,25,40,.82);color:#fff;font:400 14px/1 system-ui,sans-serif;cursor:pointer;
      display:flex;align-items:center;justify-content:center}
  .bp-drawer-msg{margin:0 0 16px;padding:12px 14px;border-radius:9px;
      font:500 13px/1.5 system-ui,sans-serif;display:none}
  .bp-drawer-msg.is-bad{display:block;background:rgba(194,112,63,.13);color:#8a3f16;
      border:1px solid rgba(194,112,63,.35)}
  .bp-drawer-msg.is-good{display:block;background:rgba(47,127,168,.12);color:#17506e;
      border:1px solid rgba(47,127,168,.3)}

  .bp-gate{display:flex;flex-wrap:wrap;align-items:center;gap:10px 16px;margin-top:20px;padding:16px 18px;border-radius:13px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12)}
  .bp-gate p{margin:0;font:500 13px/1.5 system-ui,sans-serif;color:rgba(245,242,236,.62)}
  /* the ghost CTA's pill, one step quieter — it is the secondary action */
  .bp-share{font:700 12px/1 system-ui,sans-serif;letter-spacing:.08em;color:rgba(245,242,236,.62);background:transparent;border:1.5px solid rgba(245,242,236,.22);border-radius:100px;padding:14.5px 26px;cursor:pointer;transition:border-color .2s,color .2s}
  .bp-share:hover{border-color:var(--accent);color:var(--accent)}
  /* fixed 4-up (then 2, then 1) so four sister boats never leave an orphan row */
  .bp-more-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(16px,2.2vw,26px)}
  .bp-more-grid .boat-card{width:auto;flex:none}
  .bp-pager{display:flex;justify-content:space-between;gap:18px;margin-top:clamp(30px,4vw,46px);padding-top:22px;border-top:1px solid rgba(11,42,63,.12)}
  .bp-pg{display:flex;flex-direction:column;gap:7px;text-decoration:none;max-width:46%}
  .bp-pg.is-next{align-items:flex-end;text-align:right}
  .bp-pg-dir{font:700 10px/1 system-ui,sans-serif;letter-spacing:.16em;text-transform:uppercase;color:var(--rust)}
  .bp-pg-name{font-family:ui-serif,Georgia,serif;font-weight:600;font-size:19px;line-height:1.15;color:var(--ink)}
  .bp-pg:hover .bp-pg-name{color:var(--rust)}
  /* theme-bleed isolation for the above */
  .bp-teaser{text-decoration:none!important}
  .bp-gate p{color:rgba(245,242,236,.62)!important}
  /* the isolation layer squares off every button, so the pill has to be re-asserted */
  .bp-share{background:transparent!important;border:1.5px solid rgba(245,242,236,.22)!important;border-radius:100px!important;color:rgba(245,242,236,.62)!important}
  .bp-share:hover{border-color:var(--accent)!important;color:var(--accent)!important}
  .bp-pg, .bp-pg:hover{text-decoration:none!important}
  .bp-pg-name{color:var(--ink)!important}
  .bp-pg:hover .bp-pg-name{color:var(--rust)!important}
}

@media(max-width:980px) {
  #site {
    .bp-grid, .bp-eng, .bp-sale{grid-template-columns:1fr}
    .bp-acc{grid-template-columns:1fr}
    .bp-id-main{grid-template-columns:1fr}
    .bp-id-side{align-items:flex-start;min-width:0}
    .bp-price-box, .bp-coords{text-align:left}
    .bp-actions{justify-content:flex-start}
    .bp-copy{margin-left:0!important}
    .bp-more-grid{grid-template-columns:1fr 1fr}
  }
}

@media(max-width:680px) {
  #site {
    .bp-photo{height:clamp(260px,58vw,340px)}
    /* 84px put these under the nav pill, whose bottom edge is at ~86px on a phone. */
    .bp-crumbs{top:108px}
    /* The crumb line owns the top of the photo on a phone — even one wrap would put
       the badge on top of it. Move the tag down to the photo's bottom edge, opposite
       the photo count, where it sits clear of everything. */
    .bp-forsale{top:auto;bottom:74px;left:clamp(20px,5vw,44px);right:auto}
    .bp-id{margin-top:-56px;border-radius:18px}
    .bp-photo-zoom{bottom:74px}
    /* The panel's second half is the commercial half (price, actions). On a phone it
       stacks under the identity, so give it a rule to sit under and a full-width block
       each — the loose right-aligned column read as leftovers. */
    .bp-id-side{width:100%;gap:16px;padding-top:18px;border-top:1px solid rgba(255,255,255,.09)}
    .bp-price-box{width:100%;box-sizing:border-box;padding:15px 17px;border-radius:14px;
        background:rgba(255,179,71,.07);border:1px solid rgba(255,179,71,.2)}
    .bp-price{margin-top:6px;font-size:34px}
    .bp-price-note{margin-top:7px}
    /* One grid, so the buttons stop being three different widths: the primary action
       takes the full row, the secondary pair splits the next one. */
    .bp-actions{display:grid;grid-template-columns:2fr 1fr;gap:10px;width:100%}
    .bp-actions .cta{grid-column:1 / -1}
    .bp-actions .cta, .bp-actions .hr-pdf-btn, .bp-actions .bp-share, .bp-actions .btn-ghost{
        width:100%!important;padding:0 14px!important}
    .bp-fact{border-left:0;border-top:1px solid rgba(255,255,255,.08);padding:15px 20px}
    .bp-facts{grid-template-columns:1fr 1fr}
    /* An odd number of facts left the last one as a half cell beside a gap. Let it
       take the whole row, so the strip always ends on a full line. */
    .bp-facts>.bp-fact:last-child:nth-child(odd){grid-column:1 / -1}
    .bp-stick-name{display:none}
    .bp-table td:first-child{font-size:15px}
  }
}

@media(prefers-reduced-motion:reduce) {
  #site {
    .bp-teaser-chev{animation:none}
  }
}

@media(max-width:560px) {
  #site {
    .bp-more-grid{grid-template-columns:1fr}
    .bp-pager{flex-direction:column;gap:24px}
    .bp-pg{max-width:100%}
    .bp-pg.is-next{align-items:flex-start;text-align:left}
  }
}
