/* Pixels + Ems: Branding page, version 3 (branding.html). Loaded after pe-next.css.
   An inner page with its own parts: a plain title area, an intro beside a stack of brand sheets, a navy statement, a five-card grid,
   a contents sheet, case files, a three-stop path and open question cards. Same fonts, colors and buttons as the rest of the site.
   Uses the site tokens: --ink, --cream, --navy, --teal, --coral, --red, --amber, --f-display, --f-label. */

/* ---------- Shared pieces ---------- */
.bp-ey { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 600 13px/1 var(--f-label); letter-spacing: .24em; text-transform: uppercase; color: #5A5A5A; }
.bp-ey::before { content: ""; width: 10px; height: 10px; background: var(--coral); flex: none; }
.bp-h2 { margin: 0; font: 800 clamp(30px, 3.8vw, 56px)/1.04 var(--f-display); letter-spacing: -.03em; color: var(--ink); text-transform: none; max-width: 18em; text-wrap: balance; }
.bp-h2 em, .bp-cta h2 em { font: italic 900 1em/1 "Playfair Display", Georgia, serif; letter-spacing: -.01em; }
.bp-h2 em { color: #128C84; }
.bp-hd { display: grid; gap: 16px; justify-items: start; margin-bottom: clamp(28px, 3.5vw, 52px); }
.bp-lede { margin: 0; font: 400 clamp(16px, 1.35vw, 19px)/1.6 var(--f-display); color: #222; max-width: 56ch; }
.bp-cap { margin: 0; font: 600 11px/1.4 var(--f-label); letter-spacing: .16em; text-transform: uppercase; color: #5A5A5A; }
.bp-btn .btn-label, .bp-btn .btn-arrow { background: var(--ink); }
.bp-btn--light { color: var(--ink); }
.bp-btn--light .btn-label, .bp-btn--light .btn-arrow { background: #fff; }
.bp-go { display: inline-flex; align-items: center; gap: 12px; font: 600 13px/1 var(--f-display); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.bp-go i { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; flex: none; transition: background .25s; }
.bp-go svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 2; }
.bp-go:hover i { background: var(--red); }
.bp-go--light { color: #fff; }
.bp-go--light i { background: #fff; }
.bp-go--light svg { stroke: var(--navy); }
.bp-go--light:hover i { background: var(--teal); }
.bp-btn:focus-visible, .bp-go:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.bp-five:focus, .bp-work:focus { outline: 0; }

/* ---------- Title area: the plain page title every inner page opens with (the hero stays on the homepage) ----------
   Parts: crumb (Home / Page) and the page name. Variants: default (light), --navy, --center. */
.bp-title { background: var(--cream); }
.bp-title::after { content: ""; display: block; height: 10px; background: linear-gradient(90deg, var(--coral) 0 25%, var(--red) 25% 50%, var(--amber) 50% 75%, var(--teal) 75% 100%); }
.bp-title > .container { display: grid; gap: 16px; justify-items: start; padding-top: clamp(30px, 3.6vw, 52px); padding-bottom: clamp(30px, 3.6vw, 52px); }
.bp-crumb { display: flex; align-items: center; gap: 10px; margin: 0; font: 600 13px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: #5A5A5A; }
.bp-crumb a { color: #5A5A5A; }
.bp-crumb a:hover { color: var(--ink); }
.bp-crumb i { width: 6px; height: 6px; background: var(--red); flex: none; }
.bp-crumb b { font-weight: 600; color: var(--ink); }
.bp-title h1 { margin: 0; font: 800 clamp(44px, 6vw, 92px)/1 var(--f-display); letter-spacing: -.035em; color: var(--ink); text-transform: none; max-width: none; }
.bp-title--navy { background: var(--navy); }
.bp-title--navy h1, .bp-title--navy .bp-crumb b { color: #fff; }
.bp-title--navy .bp-crumb, .bp-title--navy .bp-crumb a { color: #D9E2EC; }
.bp-title--center > .container { justify-items: center; text-align: center; }

/* ---------- Intro: the page's promise, its buttons and a stack of the work ---------- */
.bp-intro { background: #fff; padding: clamp(56px, 7vw, 104px) 0; }
.bp-intro > .container { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.bp-intro-tx { display: grid; gap: 16px; justify-items: start; }
.bp-intro h2 { margin: 0; font: 800 clamp(38px, 5.2vw, 78px)/1 var(--f-display); letter-spacing: -.035em; color: var(--ink); text-transform: none; max-width: none; }
.bp-intro h2 em { display: block; padding-bottom: .06em; font: italic 900 1em/1 "Playfair Display", Georgia, serif; letter-spacing: -.01em; color: #128C84; }
.bp-kick { margin: 10px 0 0; font: 600 13px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.bp-intro-p { margin: 0; font: 400 clamp(16px, 1.35vw, 19px)/1.6 var(--f-display); color: #222; max-width: 50ch; }
.bp-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin-top: 8px; }

/* The stack of brand sheets (sits beside the statement) */
.bp-stack { position: relative; aspect-ratio: 1 / .9; }
.bp-stack img { position: absolute; width: 46%; height: auto; box-shadow: 0 16px 40px rgba(0, 47, 93, .22); }
.bp-stack img:nth-of-type(1) { left: 1%; top: 9%; transform: rotate(-7deg); }
.bp-stack img:nth-of-type(2) { right: 1%; top: 18%; transform: rotate(6deg); }
.bp-stack img:nth-of-type(3) { left: 27%; top: 1%; transform: rotate(1.5deg); }
.bp-stack i { position: absolute; display: block; }
.bp-stack i:nth-of-type(1) { left: 0; top: 0; width: 22px; height: 22px; background: var(--coral); }
.bp-stack i:nth-of-type(2) { right: 4%; top: 4%; width: 14px; height: 14px; background: var(--teal); }
.bp-stack i:nth-of-type(3) { right: 0; bottom: 6%; width: 28px; height: 28px; background: var(--amber); }
.bp-stack i:nth-of-type(4) { left: 12%; bottom: 0; width: 14px; height: 14px; background: var(--navy); }

/* ---------- Statement ---------- */
.bp-say { background: var(--navy); padding: clamp(64px, 8vw, 120px) 0; }
.bp-say-in { max-width: 1080px; }
.bp-say-big { margin: 0; font: italic 700 clamp(30px, 4.4vw, 64px)/1.1 "Playfair Display", Georgia, serif; color: #fff; text-transform: none; text-wrap: balance; }
.bp-say-big span { display: block; color: var(--coral); }
.bp-say-cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); margin-top: clamp(28px, 3.5vw, 48px); padding-top: clamp(24px, 3vw, 40px); border-top: 2px solid rgba(255, 255, 255, .4); }
.bp-say-cols p { margin: 0; font: 400 clamp(16px, 1.35vw, 19px)/1.65 var(--f-display); color: #D9E2EC; }
.bp-say-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; margin-top: clamp(26px, 3vw, 44px); }
.bp-say-turn { margin: 0; font: 800 clamp(20px, 2.2vw, 30px)/1.25 var(--f-display); letter-spacing: -.01em; color: #fff; }
.bp-say-turn em { font-style: italic; color: var(--teal); }

/* ---------- Five things: a grid of cards ---------- */
.bp-five { background: var(--cream); padding: clamp(64px, 8vw, 120px) 0; }
.bp-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.bp-card { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; background: #fff; border-top: 8px solid var(--coral); box-shadow: 0 12px 30px rgba(0, 47, 93, .07); }
.bp-card--wide { grid-column: span 3; }
.bp-card:nth-of-type(2) { border-top-color: var(--teal); }
.bp-card:nth-of-type(3) { border-top-color: var(--red); }
.bp-card:nth-of-type(4) { border-top-color: var(--amber); }
.bp-card:nth-of-type(5) { border-top-color: var(--navy); }
.bp-card-tx { padding: clamp(20px, 2.2vw, 32px); display: grid; gap: 12px; align-content: start; }
.bp-num { margin: 0; font: 600 12px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: #5A5A5A; }
.bp-card h3 { margin: 0; font: 800 clamp(30px, 3.2vw, 48px)/1 var(--f-display); letter-spacing: -.03em; color: var(--ink); text-transform: none; }
.bp-sub { margin: 0; font: 500 clamp(17px, 1.5vw, 21px)/1.35 var(--f-display); color: #222; }
.bp-tx { margin: 0; font: 400 16px/1.6 var(--f-display); color: #222; }
.bp-chips { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bp-chips li { padding: 7px 12px; background: var(--cream); font: 500 13px/1.2 var(--f-display); color: var(--ink); }
.bp-card-fig { margin: auto 0 0; padding: 0 clamp(20px, 2.2vw, 32px) clamp(20px, 2.2vw, 32px); display: grid; gap: 10px; }
.bp-card-fig img { width: 100%; border: 1px solid #E3E1E6; }
.bp-card--navy { background: var(--navy); }
.bp-card--navy h3, .bp-card--navy .bp-tx, .bp-card--navy .bp-sub { color: #fff; }
.bp-card--navy .bp-num, .bp-card--navy .bp-cap { color: #D9E2EC; }
.bp-card--navy .bp-chips li { background: rgba(255, 255, 255, .12); color: #fff; }
.bp-voice-tr { margin: 0; font: 800 clamp(18px, 1.7vw, 24px)/1.15 var(--f-display); letter-spacing: -.01em; color: #fff; }
.bp-voice { list-style: none; margin: 0; padding: 16px 0 0; border-top: 1px solid rgba(255, 255, 255, .3); display: grid; gap: 10px; }
.bp-voice li { font: italic 700 clamp(20px, 2vw, 28px)/1.25 "Playfair Display", Georgia, serif; color: #fff; }
.bp-voice li::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 14px; background: var(--coral); transform: translateY(-3px); }
.bp-voice li:nth-child(2)::before { background: var(--teal); }
.bp-voice li:nth-child(3)::before { background: var(--amber); }
.bp-stat { margin: 4px 0 0; padding: 12px 14px; background: var(--cream); border-left: 4px solid var(--amber); font: 400 14px/1.5 var(--f-display); color: #222; }
.bp-stat b { font-weight: 800; }
.bp-stat a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--teal); text-decoration-thickness: 2px; text-underline-offset: 3px; }

/* ---------- What you get: a contents sheet ---------- */
.bp-get { background: #E3E1E6; padding: clamp(64px, 8vw, 120px) 0; }
.bp-get > .container { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.bp-get-tx { display: grid; gap: 18px; justify-items: start; align-content: start; }
.bp-get .bp-h2 span { display: block; color: #128C84; }
.bp-sheet { background: #fff; padding: clamp(22px, 3vw, 44px); box-shadow: 0 16px 40px rgba(0, 47, 93, .14); }
.bp-sheet-hd { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 0; padding-bottom: 14px; border-bottom: 2px solid var(--ink); font: 600 12px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--ink); }
.bp-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: clamp(20px, 3vw, 48px); counter-reset: bp; }
.bp-list li { break-inside: avoid; display: flex; gap: 14px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid #E3E1E6; font: 500 clamp(15px, 1.25vw, 18px)/1.35 var(--f-display); color: var(--ink); counter-increment: bp; }
.bp-list li::before { content: counter(bp, decimal-leading-zero); font: 600 12px/1 var(--f-label); letter-spacing: .1em; color: #0E7A73; flex: none; }

/* ---------- The work: case files ---------- */
.bp-work { background: #fff; padding: clamp(64px, 8vw, 120px) 0; }
.bp-case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.bp-case + .bp-case { margin-top: clamp(56px, 7vw, 104px); padding-top: clamp(56px, 7vw, 104px); border-top: 1px solid #D0CED4; }
.bp-case--text-first { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
.bp-board-wrap { display: grid; gap: 12px; }
/* The tall board uses the site's own panning frame (.media--pan): it glides as the page scrolls; without motion it scrolls inside its frame. */
.bp-board { margin: 0; background: #E3E1E6; box-shadow: 0 16px 40px rgba(0, 47, 93, .16); }
/* 11/27 (Zahra): the board scrolls on its own when you scroll over it; the page carries on once you reach its end. */
.bp-board { height: min(80vh, 760px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--ink) #E3E1E6; }
.bp-board img { display: block; width: 100%; height: auto; }
.bp-board:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.bp-info { display: grid; gap: 16px; align-content: start; justify-items: start; }
.bp-info h3 { margin: 0; font: 800 clamp(28px, 3.2vw, 46px)/1.05 var(--f-display); letter-spacing: -.03em; color: var(--ink); text-transform: none; text-wrap: balance; }
.bp-tx-lg { margin: 0; font: 400 17px/1.65 var(--f-display); color: #222; max-width: 54ch; }
.bp-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 0; }
.bp-tags li { font: 400 16px/1.2 var(--f-display); color: var(--ink); }
.bp-tags li + li::before { content: "/"; margin: 0 10px; color: var(--teal); font-weight: 800; }
.bp-grid { list-style: none; margin: 0; padding: 0; width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bp-grid img { width: 100%; border: 1px solid #E3E1E6; }
.bp-cap--gap { margin-top: 14px; }
.bp-next { margin-top: clamp(56px, 7vw, 104px); padding: clamp(24px, 3vw, 40px); background: var(--cream); border-left: 8px solid var(--teal); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 40px; }
.bp-next p { margin: 0; font: 800 clamp(20px, 2.2vw, 30px)/1.2 var(--f-display); letter-spacing: -.01em; color: var(--ink); }
.bp-next em { font-style: italic; color: #128C84; }

/* ---------- How it works: three stops on one line ---------- */
.bp-path { background: var(--cream); padding: clamp(64px, 8vw, 120px) 0; }
.bp-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3.5vw, 56px); }
.bp-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 2px; background: var(--ink); }
.bp-steps li { position: relative; padding-top: 44px; display: grid; gap: 10px; align-content: start; }
.bp-steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 22px; height: 22px; background: var(--coral); }
.bp-steps li:nth-child(2)::before { background: var(--teal); }
.bp-steps li:nth-child(3)::before { background: var(--red); }
.bp-steps h3 { margin: 0; font: 800 clamp(20px, 1.9vw, 26px)/1.2 var(--f-display); color: var(--ink); text-transform: none; }
.bp-steps p { margin: 0; font: 400 16.5px/1.6 var(--f-display); color: #222; max-width: 36ch; }
.bp-path .bp-btn { margin-top: clamp(28px, 3.5vw, 44px); }

/* ---------- Branding questions: open cards, nothing to click ---------- */
.bp-faq { background: #fff; padding: clamp(64px, 8vw, 120px) 0; }
.bp-qa { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 44px); }
.bp-qa > div { display: grid; gap: 12px; align-content: start; padding-top: 22px; border-top: 2px solid var(--ink); }
.bp-qa h3 { margin: 0; font: 800 clamp(19px, 1.7vw, 23px)/1.25 var(--f-display); color: var(--ink); text-transform: none; }
.bp-qa p { margin: 0; font: 400 16.5px/1.65 var(--f-display); color: #222; }
.bp-faq-more { margin: clamp(26px, 3vw, 40px) 0 0; }

/* ---------- Closing band ---------- */
.bp-cta { background: var(--coral); padding: clamp(56px, 7vw, 100px) 0; }
.bp-cta > .container { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 48px; }
.bp-cta h2 { margin: 0; font: 800 clamp(32px, 4.8vw, 72px)/1.02 var(--f-display); letter-spacing: -.03em; text-transform: none; color: var(--ink); max-width: 12em; text-wrap: balance; }
.bp-cta p { margin: 16px 0 0; font: 400 clamp(16px, 1.35vw, 19px)/1.6 var(--f-display); color: var(--ink); max-width: 46ch; }

/* ---------- Footer on this page: no game, so the columns take the full width ---------- */
.pe-ttt-footer.bp-foot .pe-ft-top { grid-template-columns: minmax(0, 1fr); }

@media (max-width: 1000px) {
  .bp-card, .bp-card--wide { grid-column: span 3; }
  .bp-card:nth-of-type(5) { grid-column: span 6; }
}
@media (max-width: 900px) {
  .bp-intro > .container, .bp-get > .container, .bp-case, .bp-case--text-first, .bp-qa { grid-template-columns: 1fr; }
  .bp-stack { max-width: 520px; }
}
@media (max-width: 700px) {
  .bp-card, .bp-card--wide, .bp-card:nth-of-type(5) { grid-column: span 6; }
  .bp-say-cols, .bp-grid, .bp-steps { grid-template-columns: 1fr; }
  .bp-list { columns: 1; }
  .bp-steps::before { left: 10px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .bp-steps li { padding-top: 0; padding-left: 44px; }
  .bp-board { height: 64vh; }
}
@media (prefers-reduced-motion: reduce) { .bp-go i { transition: none; } }
