/* Builder sections: text and pictures (statement, statement-picture, lines, text, picture, video, checks). Owner: FRONTEND (builder). */

/* ======================= statement ======================= */
.bk-st .lit { max-width: 24ch; }

/* ======================= statement-picture (kit .duo) ======================= */
.bk-sp .duo { position: relative; }
.bk-sp__t { font-size: clamp(1.9rem, 4.4vw, 3.5rem); font-weight: 700; letter-spacing: -.03em; max-width: 18ch; }
.bk-solo { grid-template-columns: minmax(0, 1fr); }
/* tilt: a frameless picture tilts like the kit's .shot */
.tilt > .bk-pic { transform: rotateY(calc(-26deg + var(--v) * 20deg)) rotateX(calc(12deg - var(--v) * 9deg)) translateY(calc((1 - var(--v)) * 70px)); opacity: calc(.25 + var(--v) * .75); transform-origin: 60% 50%; }
/* slide: the picture (framed or not) glides in from its side and floats */
.bk-slide > * { transform: translateX(calc((1 - var(--v)) * -22%)) rotate(calc((1 - var(--v)) * -5deg)); opacity: calc(.15 + var(--v) * .85); animation: kit-bob 6s ease-in-out infinite; }
.duo.flip .bk-slide > * { transform: translateX(calc((1 - var(--v)) * 22%)) rotate(calc((1 - var(--v)) * 5deg)); }
/* calm: a smaller picture resting on the glow */
.bk-calm > * { width: min(100%, 460px); margin-inline: auto; }
/* shutter with a white frame */
.reveal .bk-win--frame { background: #fff; padding: 6px; }
.reveal .bk-win--frame img { border-radius: 10px; }
/* very tall pictures never take more than a screen */
.bk-sp .vis img { max-height: 82vh; object-fit: cover; object-position: top; }

/* ======================= lines (kit .row) ======================= */
.bk-lines__t { margin-bottom: clamp(24px, 4vw, 44px); }
.bk-lines .row :is(h2, h3) { text-wrap: balance; }
.bk-lines .row__head { min-width: 0; }
.bk-lines .bk-more { margin-top: 28px; }

/* ======================= text (legal reading column) ======================= */
.bk-text__in { margin-inline: auto; }
.bk-text__t { margin: 0 0 .9em; font: 700 clamp(1.9rem, 4vw, 3rem)/1.1 var(--font-display); letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
.bk-rich > :first-child { margin-top: 0; }
.bk-rich > :last-child { margin-bottom: 0; }
.bk-rich h2 { margin: 1.8em 0 .6em; font: 700 clamp(1.35rem, 2.4vw, 1.75rem)/1.25 var(--font-display); letter-spacing: -.01em; color: var(--ink); }
.bk-rich blockquote { margin: 1.4em 0; padding-left: 1.1em; border-left: 3px solid var(--mint); color: var(--ink); font-size: 1.15em; }
.bk-rich img { display: block; max-width: 100%; height: auto; border-radius: 12px; }
.bk-rich hr { margin: 2em 0; border: 0; border-top: 1px solid var(--line); }

/* ======================= picture ======================= */
.bk-picb__fig { position: relative; margin: 0; display: grid; justify-items: center; perspective: 1600px; }
.bk-picb__fig::before { content: ""; position: absolute; inset: 10% 6%; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 216, 193, .3), rgba(0, 216, 193, 0) 70%); filter: blur(34px); pointer-events: none; }
.bk-picb__pic { position: relative; width: 100%; max-width: 1040px; transform-origin: 50% 100%; transform: rotateX(calc((1 - var(--v)) * 18deg)) scale(calc(.92 + var(--v) * .08)); opacity: calc(.3 + var(--v) * .7); }
.bk-picb--tablet .bk-picb__pic { max-width: 720px; }
.bk-picb--phone .bk-picb__pic { max-width: 300px; }
.bk-picb--frame .bk-picb__pic, .bk-picb--none .bk-picb__pic { width: max-content; max-width: 100%; }
.bk-picb--frame .bk-picb__pic img, .bk-picb--none .bk-picb__pic img { width: auto; max-width: min(100%, 1040px); max-height: 82vh; margin-inline: auto; }
.bk-cap { position: relative; margin-top: 22px; max-width: 60ch; text-align: center; font: 500 clamp(.95rem, 1.3vw, 1.08rem)/1.5 var(--font-display); color: var(--soft); }

/* ======================= video ======================= */
.bk-vid__hd { display: grid; justify-items: center; text-align: center; }
.bk-vid__hd .bk-para { margin-inline: auto; }
.bk-vid__t { margin: 0; font: 700 clamp(2rem, 5vw, 4rem)/1.06 var(--font-display); letter-spacing: -.03em; max-width: 18ch; }
.bk-vid__media { position: relative; max-width: 1040px; margin: clamp(32px, 5vw, 60px) auto 0; transform: scale(calc(.9 + var(--v) * .1)); opacity: calc(.3 + var(--v) * .7); }
.bk-vid__media::before { content: ""; position: absolute; inset: 6% 2%; background: radial-gradient(50% 50% at 50% 50%, rgba(0, 216, 193, .34), rgba(0, 216, 193, 0) 70%); filter: blur(30px); pointer-events: none; }
.bk-vid__shot img, .bk-vid__blank { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: top; border-radius: 10px; }
.bk-vid__blank { background: radial-gradient(60% 70% at 50% 50%, #12302b, #050d0b); }
.bk-play .icon { width: 26px; height: 26px; margin-left: 5px; color: #fff; }

/* ======================= checks ======================= */
.bk-ck__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.bk-ck--solo { grid-template-columns: minmax(0, 1fr); max-width: calc(860px + 2 * var(--gutter)); }
.bk-ck__hd { position: sticky; top: clamp(24px, 8vh, 80px); }
.bk-ck__t { font-size: clamp(2rem, 4.6vw, 3.8rem); font-weight: 700; letter-spacing: -.03em; max-width: 14ch; }
.bk-ck__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.bk-ck__list li { display: flex; align-items: flex-start; gap: 16px; padding-block: clamp(14px, 2vw, 22px); border-bottom: 1px solid var(--line); font: 600 clamp(1.15rem, 2vw, 1.6rem)/1.3 var(--font-display); letter-spacing: -.01em; color: var(--ink);
    transform: translateX(calc((1 - var(--v)) * 40px)); opacity: calc(.3 + var(--v) * .7); }
.bk-ck__list .icon { width: .8em; height: .8em; margin-top: .25em; color: var(--mint); }
.bk-ck__list span { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 760px) {
    .bk-ck__grid { grid-template-columns: minmax(0, 1fr); }
    .bk-ck__hd { position: static; }
}
