/* /boost/ : the mini site for wrap businesses (shared in posts). Uses the site's colours and fonts from /site/site.css. */
html { scroll-padding-top: 76px; }
.bo-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; width: auto; margin: 0; padding: 0 clamp(16px, 2.5vw, 32px); }
.bo-links { display: flex; align-items: center; gap: 28px; }
.bo-links a:not(.btn) { font-size: 14px; font-weight: 600; text-decoration: none; text-transform: uppercase; letter-spacing: .06em; }
.bo-links .btn { padding: 11px 20px; font-size: 14px; white-space: nowrap; }
.bo h2 { font-size: clamp(46px, 6vw, 84px); line-height: .95; text-wrap: balance; }
.bo section { padding: clamp(64px, 9vw, 112px) 0; }
.bo-lead { font-size: 18px; max-width: 56ch; margin-top: 16px; color: var(--muted); }
.bo-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.bo-dark { background: #0d0d0e; color: var(--white); }
.bo-dark h1, .bo-dark h2, .bo-dark h3 { color: var(--white); }
.bo-dark .bo-lead { color: var(--white); }
.bo-dark .bo-line { border-color: rgba(247,245,240,.6); color: var(--white); background: none; }
.bo-dark .bo-line:hover { background: var(--white); color: var(--ink); }
.bo-light { background: var(--white); }

/* Hero: the astronaut wrapping, with the headline beneath */
.bo .bo-hero { padding: 0 0 clamp(48px, 6vw, 80px); }
.bo-film { margin: 0; position: relative; overflow: hidden; background: #cfcfcd; height: min(52vh, 56.25vw); min-height: 220px; }
.bo-film img, .bo-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 68%; }
.bo-film video { opacity: 0; transition: opacity .5s ease; }
.bo-film video.on { opacity: 1; }
.bo-hero-copy { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; padding-top: clamp(28px, 4vw, 52px); }
.bo-hero h1 { font-size: clamp(60px, 8.6vw, 124px); line-height: .88; }
.bo-hero h1 em { font-style: normal; color: var(--maroon); }
.bo-power { margin-top: 18px; font-weight: 600; }
.bo-hero .bo-lead { margin-top: 0; }

/* Drag to wrap it */
.bo-split { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.bo-ba { position: relative; aspect-ratio: 1600 / 1073; border-radius: var(--radius); overflow: hidden; --x: 50%; user-select: none; -webkit-user-select: none; }
.bo-ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.bo-ba .after { clip-path: inset(0 0 0 var(--x)); }
.bo-ba-bar { position: absolute; top: 0; bottom: 0; left: var(--x); width: 3px; margin-left: -1.5px; background: var(--maroon); pointer-events: none; }
.bo-ba-bar::after { content: '\2039\00a0\203a'; position: absolute; left: 50%; top: 50%; width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: var(--ink); font: 700 24px/1 Inter, sans-serif; padding-bottom: 3px; }
.bo-ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.bo-ba:has(:focus-visible) { outline: 3px solid var(--maroon); outline-offset: 3px; }
.bo-tag { position: absolute; bottom: 14px; padding: 5px 10px; border-radius: 6px; font-size: 13px; font-weight: 700; pointer-events: none; }
.bo-tag.l { left: 14px; background: var(--white); color: var(--ink); }
.bo-tag.r { right: 14px; background: var(--maroon); color: var(--ink); }
.bo-pick { display: flex; flex-direction: column; margin-top: 28px; border-top: 1px solid var(--line); }
.bo-pick button { font: 600 16px/1.3 Inter, sans-serif; text-align: left; padding: 15px 0 15px 14px; border: 0; border-bottom: 1px solid var(--line); background: none; color: var(--ink); cursor: pointer; }
.bo-pick button span { display: block; font-weight: 400; font-size: 14px; color: var(--muted); }
.bo-pick button[aria-pressed=true] { background: var(--maroon); }
.bo-pick button[aria-pressed=true] span { color: var(--ink); }
.bo-pick button:focus-visible { outline: 2px solid var(--ink); }

/* How it works: vehicle + design = wrapped */
.bo-sum { display: grid; grid-template-columns: minmax(0,1fr) 40px minmax(0,1fr) 40px minmax(0,1.5fr); align-items: center; margin-top: 44px; }
.bo-sum figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1600/1073; background: var(--grey); }
.bo-sum img { width: 100%; height: 100%; object-fit: cover; }
.bo-op { text-align: center; font: 300 46px/1 'CG Heading', Oswald, sans-serif; }
.bo-swatch { width: 100%; height: 100%; background: #9df005; }
.bo-steps { list-style: none; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr); gap: 40px; margin-top: 28px; }
.bo-steps h3 { font-size: 32px; }
.bo-steps p { margin-top: 8px; color: var(--muted); max-width: 40ch; }

/* What it does for the business: film beside words, sides swapped each time */
.bo-rows { margin-top: clamp(40px, 5vw, 64px); }
.bo-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.bo-row + .bo-row { margin-top: clamp(48px, 7vw, 96px); }
.bo-row.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.bo-row.flip > :first-child { order: 2; }
.bo-row h3 { font-size: clamp(36px, 4vw, 54px); }
.bo-row p { margin-top: 14px; font-size: 17px; max-width: 46ch; }
.bo-clip { position: relative; margin: 0; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #222; }
.bo-clip video, .bo-clip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bo-clip video { opacity: 0; }
.bo-clip video.on { opacity: 1; }

/* A wrap business's own page, drawn in HTML */
.bo-site { border-radius: 12px; overflow: hidden; background: var(--white); color: var(--ink); }
.bo-site-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #d9d6cf; font-size: 13px; }
.bo-site-bar i { width: 10px; height: 10px; border-radius: 50%; background: #a9a59c; }
.bo-site-bar span { margin-left: 10px; }
.bo-site-top { padding: 14px 18px; background: #14532d; color: #fff; font-weight: 800; }
.bo-site-foot { padding: 10px 18px; font-size: 13px; }
.bo-site img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }

/* Examples */
.bo-can { columns: 2; column-gap: 56px; margin-top: 32px; padding-left: 20px; }
.bo-can li { break-inside: avoid; padding: 6px 0; font-size: 17px; }
.bo-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin-top: 40px; }
.bo-grid figure { margin: 0; }
.bo-grid img { width: 100%; height: auto; aspect-ratio: 800/537; object-fit: cover; }
.bo-grid figcaption { padding: 8px 2px 16px; font-size: 14px; }

.bo-end .wrap { display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,1fr); gap: 24px 64px; align-items: end; }
.bo-end p a { color: inherit; font-weight: 600; }
.bo-call { margin-top: 18px; }
.bo-foot { padding: 28px 0; font-size: 13px; background: var(--bg); }
.bo-foot p + p { margin-top: 8px; color: var(--muted); }
.bo-foot a { font-weight: 600; margin-right: 14px; }

@media (max-width: 860px) {
  .bo-links a:not(.btn) { display: none; }
  .bo-hero-copy, .bo-split, .bo-row, .bo-row.flip, .bo-end .wrap { grid-template-columns: minmax(0,1fr); }
  .bo-row.flip > :first-child { order: 0; }
  .bo-film { height: 56.25vw; }
  .bo-sum { grid-template-columns: minmax(0,1fr) 32px minmax(0,1fr); row-gap: 8px; }
  .bo-sum > :nth-child(4), .bo-sum > :nth-child(5) { grid-column: 1 / -1; }
  .bo-steps { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .bo-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .bo-cta .btn { flex: 1 1 auto; }
}
@media (max-width: 560px) { .bo-can { columns: 1; } }

/* Desktop hero: words on the left, the whole film (never cropped) running to the right-hand edge */
@media (min-width: 861px) {
  .bo .bo-hero { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(28px, 3.5vw, 56px); padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 72px) max(16px, calc((100vw - 1180px) / 2)); }
  .bo-film { order: 2; height: auto; aspect-ratio: 16/9; border-radius: var(--radius) 0 0 var(--radius); }
  .bo-hero-copy { width: auto; margin: 0; padding: 0; grid-template-columns: minmax(0, 1fr); }
  .bo-hero h1 { font-size: clamp(60px, 7vw, 108px); }
}
.bo-foot .wrap > p:first-child { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.bo-foot a { margin-right: 0; }
