/* Editorial portfolio. Work, offer and acceptance have distinct visual treatments. */
.bf4-cover, .bf4-close, .bf4-index, .bf4-brief-lead, .bf4-pass-title {
  display: grid;
  align-items: center;
  gap: clamp(18px, 3vw, 48px);
}
.bf4-cover {
  margin: clamp(16px, 2.2vw, 32px) 0 0;
  grid-template-columns: minmax(0,1.05fr) minmax(0,1fr);
  background: #e9e0f3;
  color: #261e31;
  gap: 0;
  border-radius: 14px;
  overflow: hidden;
}
.bf4-cover-copy { padding: clamp(22px, 3.5vw, 55px); }
.bf4-eyeline, .bf4-still-top, .bf4-still-caption small, .bf4-card-focus small, .bf4-current-frame > span,
.bf4-counter small, .bf4-reference-ticket small, .bf4-signature small {
  font: 700 10px/16px var(--sans);
  text-transform: uppercase;
  letter-spacing: .105em;
}
.bf4-eyeline { color: #663a86; display: flex; gap: 10px; align-items: center; }
.bf4-aperture { width: 20px; height: 18px; border: 1.5px solid currentColor; display: inline-block; position: relative; }
.bf4-aperture::before { content: ''; position: absolute; inset: 3px; border: 1px solid currentColor; border-radius: 50%; }
.bf4-cover h1, .bf4-pass-title h1, .bf4-index h1, .bf4-brief-lead h1 {
  font: 700 clamp(36px, 4.3vw, 68px)/.99 var(--display);
  color: var(--ink);
  letter-spacing: -.055em;
  margin: 12px 0;
}
.bf4-cover h1 { color: inherit; margin-top: clamp(17px,2vw,34px); }
.bf4-cover h1 em { display: block; color: #713c97; font: italic 500 1.07em/.98 Georgia, serif; letter-spacing: -.045em; margin-top: .05em; }
.bf4-cover p, .bf4-pass-title p, .bf4-index p, .bf4-brief-lead p, .bf4-close p {
  font: 400 clamp(15px,1.2vw,18px)/1.5 var(--sans);
  max-width: 53ch;
  margin: 0;
}
.bf4-cover p { color: #51475d; margin: 17px 0 24px; }
.bf4-cover .bf-search { padding: 5px; gap: 5px; background: #fffcff; border-color: #ad96c3; }
.bf4-cover .bf-search input { color: #261d2f; }
.bf4-cover .bf-search input::placeholder { color: #62556e; }
.bf4-cover .bf-search svg { stroke: #675775; }
.bf4-cover .bf-search .bf-button { color: #fff; background: #68428c; border-color: #68428c; }
.bf4-cover-still { position: relative; isolation: isolate; align-self: stretch; min-height: clamp(290px,30vw,430px); color: #fff; background: #293831; }
.bf4-cover-still > .bf-art, .bf4-compare-still .bf-art { display: block; width: 100%; height: 100%; }
.bf4-cover-still > .bf-art { position: absolute; inset: 0; z-index: -2; }
.bf4-cover-still::after { content: ''; position: absolute; z-index: -1; inset: 0; background: linear-gradient(180deg,#17111d50 0%,transparent 30%,transparent 48%,#110e18d6 100%); }
.bf4-still-top, .bf4-still-caption { position: absolute; inset-inline: clamp(16px,2vw,28px); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bf4-still-top { top: 18px; }
.bf4-still-top span { color: #fff; background: #211c25c7; border: 1px solid #ffffff7a; padding: 3px 8px; }
.bf4-still-caption { bottom: 20px; align-items: end; }
.bf4-still-caption small { color: #f2e6ff; }
.bf4-still-caption strong { display: block; color: white; font: 650 clamp(22px,2.3vw,36px)/1.1 var(--display); letter-spacing: -.035em; }
.bf4-still-caption i, .bf4-reference-ticket > i { display: grid; place-items: center; min-width: 38px; height: 38px; color: #fff; border: 1px solid #ffffffab; border-radius: 50%; font: normal 22px/1 var(--sans); }
.bf4-cover-still:hover .bf4-still-caption i { color: #241a30; background: white; }
.bf4-cover-still:focus-visible { outline-offset: -4px; outline-color: #fff; }
.bf4-intents { display: grid; grid-template-columns: minmax(170px,.67fr) minmax(0,2.6fr); align-items: center; gap: 20px; margin: clamp(24px,3.6vw,51px) 0; }
.bf4-narrow-title h2, .bf4-close h2, .bf4-focusbox h2, .bf4-choose h2 {
  margin: 5px 0 0;
  color: var(--ink);
  font: 650 clamp(21px,2.35vw,34px)/1.11 var(--display);
  letter-spacing: -.045em;
}
.bf4-intent-list { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.bf4-intent { display: grid; grid-template-columns: 45px minmax(0,1fr) 13px; gap: 9px; align-items: center; padding: 9px; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 6px; }
.bf4-intent:hover, .bf4-reference-ticket:hover { border-color: var(--accent); }
.bf4-intent strong, .bf4-intent small, .bf4-reference-ticket strong, .bf4-reference-ticket > span > span { display: block; }
.bf4-intent strong { font: 650 15px/18px var(--display); letter-spacing: -.025em; }
.bf4-intent small { margin-top: 3px; font: 400 12px/16px var(--sans); color: var(--muted); }
.bf4-intent i { align-self: start; font: normal 16px/16px var(--sans); color: var(--accent); }
.bf4-small-still { display: block; height: 52px; overflow: hidden; border-radius: 3px; }
.bf4-close { grid-template-columns: minmax(0,1fr) auto; margin: clamp(26px,4vw,55px) 0; padding: clamp(22px,3vw,42px); border-radius: 10px; background: #32273c; color: #fff; }
.bf4-close .bf-label { color: #d4acef; }
.bf4-close h2 { color: #fff; max-width: 28ch; margin-bottom: 8px; }
.bf4-close p { color: #e2dae9; }
.bf4-close > div:last-child { display: grid; align-content: center; justify-items: start; }
.bf4-close .bf-button { color: #2c1e35; border-color: #edcffb; background: #edcffb; }
.bf4-light-link { display: inline-flex; align-items: center; min-height: 44px; color: #f1defe; text-decoration: underline; text-underline-offset: 4px; }
.bf4-index, .bf4-brief-lead, .bf4-passhead { margin: clamp(15px,2.5vw,37px) 0 clamp(12px,2vw,26px); }
.bf4-index, .bf4-brief-lead { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); border-block: 1px solid var(--line); padding: clamp(20px,3vw,42px) 0; }
.bf4-index h1, .bf4-brief-lead h1, .bf4-pass-title h1 { font-size: clamp(34px,3.5vw,56px); }
.bf4-index p, .bf4-pass-title p, .bf4-brief-lead p { color: var(--muted); }
.bf4-index-search small { display: block; padding: 6px 2px 0; color: var(--muted); }
.bf4-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.bf4-gallery-controls .bf-topics { margin: 0; padding: 0; border: 0; }
.bf4-segments { display: flex; align-items: center; gap: 2px; padding: 3px; flex-wrap: wrap; border-radius: 8px; background: var(--paper); border: 1px solid var(--line); }
.bf4-segments a { display: inline-flex; gap: 5px; align-items: center; min-height: 44px; color: var(--muted); padding: 5px 9px; border: 1px solid transparent; border-radius: 5px; font: 600 13px/18px var(--sans); }
.bf4-segments a:hover, .bf4-segments a[aria-current] { background: var(--surface); border-color: var(--line); color: var(--accent); }
.bf4-segments small { font: 600 11px/16px var(--sans); }
.bf4-card-focus { margin: 14px 0; padding-left: 11px; border-left: 2px solid var(--accent); color: var(--ink); font: 400 14px/20px var(--sans); }
.bf4-card-focus small { display: block; color: var(--accent); }
.bf4-work .bf-card-art { aspect-ratio: 2.04; }
.bf4-work .bf-card-term { font-size: 13px; }
.bf4-work .bf-card-actions { margin-top: 12px; }
.bf4-passhead > .bf-back { margin: 0; }
.bf4-pass-title { grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr); padding-top: 8px; }
.bf4-signature { display: flex; gap: 12px; align-items: center; padding: 10px 0 10px 18px; border-left: 2px solid var(--accent); }
.bf4-signature .bf-avatar { width: 46px; height: 46px; }
.bf4-signature div>* { display: block; }
.bf4-signature small { color: var(--muted); }
.bf4-signature a { width: fit-content; color: var(--ink); font: 650 17px/22px var(--display); }
.bf4-signature a:hover { text-decoration: underline; }
.bf4-signature div > span { color: var(--muted); font: 400 14px/20px var(--sans); }
.bf4-passport { align-items: start; gap: 16px; }
.bf4-passport .bf-aside { gap: 14px; }
.bf4-negative { padding: clamp(10px,1.25vw,20px); border-radius: 8px; color: #f3ecfa; background: #211c28; }
.bf4-negative .bf-cover-frame { border-radius: 2px; }
.bf4-negative figcaption { color: #e2dbe9; }
.bf4-negative figcaption strong, .bf4-negative figcaption a { color: #ead5ff; }
.bf4-negative .bf-frames { margin-bottom: 0; }
.bf4-negative .bf-frames a.active { outline-color: #cd99fe; }
.bf4-provenance { margin-top: 12px; border-block: 1px solid var(--line); }
.bf4-provenance summary { align-content: center; min-height: 48px; padding: 6px; color: var(--ink); font: 600 15px/20px var(--sans); cursor: pointer; }
.bf4-provenance dl { margin: 0; }
.bf4-focusbox, .bf4-contract { padding: clamp(17px,2.1vw,29px); border-radius: 8px; }
.bf4-focusbox { border: 1px solid var(--line); background: var(--soft); }
.bf4-focusbox p { color: var(--ink); margin: 10px 0 16px; }
.bf4-current-frame { margin-bottom: 12px; border-top: 1px solid var(--line); padding-top: 10px; font: 400 14px/20px var(--sans); }
.bf4-current-frame > span { display: block; color: var(--accent); }
.bf4-contract { background: var(--surface); }
.bf4-contract h2 { color: var(--ink); font-size: 22px; line-height: 1.17; }
.bf4-contract .bf-card-actions { margin-top: 8px; }
.bf4-contract .bf-dl { margin-bottom: 0; }
.bf4-counter { justify-self: end; display: grid; gap: 4px; border-left: 2px solid var(--accent); padding-left: 18px; }
.bf4-counter strong { color: var(--ink); font: 650 40px/1.1 var(--display); letter-spacing: -.055em; }
.bf4-counter strong span { font-size: .55em; color: var(--muted); font-weight: 400; }
.bf4-counter small { color: var(--muted); }
.bf4-compare-empty { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; background: var(--soft); }
.bf4-compare-empty p { max-width: 58ch; }
.bf4-compare-still { overflow: hidden; aspect-ratio: 3.4; max-height: 90px; margin-bottom: 10px; border-radius: 3px; }
.bf4-choose { display: grid; grid-template-columns: minmax(70px,.38fr) minmax(0,1fr); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.bf4-choose > div:last-child { padding: 16px; }
.bf4-choose h2 { font-size: 22px; }
.bf4-choose-art { overflow: hidden; }
.bf4-choose p { font: 400 14px/21px var(--sans); color: var(--muted); }
.bf4-brief-lead { padding-top: 0; border-top: 0; }
.bf4-brief-lead .bf-back { margin-bottom: 0; }
.bf4-reference-ticket { display: grid; grid-template-columns: 86px minmax(0,1fr) 28px; gap: 12px; align-items: center; align-self: center; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; padding: 9px; }
.bf4-ticket-image { display: block; height: 76px; overflow: hidden; border-radius: 3px; }
.bf4-reference-ticket small { color: var(--accent); }
.bf4-reference-ticket strong { color: var(--ink); margin-top: 3px; font: 650 18px/22px var(--display); }
.bf4-reference-ticket > span > span { color: var(--muted); font: 400 13px/17px var(--sans); }
.bf4-reference-ticket > i { min-width: 24px; height: 24px; color: var(--accent); border-color: var(--line); font-size: 15px; }
@media (max-width: 1080px) {
  .bf4-intents { grid-template-columns: minmax(0,1fr); gap: 12px; }
  .bf4-narrow-title h2 { margin-top: 0; }
}
@media (max-width: 880px) {
  .bf4-cover-copy { padding: 22px; }
  .bf4-pass-title { grid-template-columns: minmax(0,1fr) minmax(175px,.6fr); }
  .bf4-index, .bf4-brief-lead { grid-template-columns: minmax(0,1fr) minmax(0,.8fr); }
}
@media (max-width: 730px) {
  .bf4-cover, .bf4-index, .bf4-close, .bf4-brief-lead, .bf4-pass-title { grid-template-columns: minmax(0,1fr); }
  .bf4-cover-copy { padding: clamp(17px,4.8vw,30px); }
  .bf4-cover h1 em { display: inline; }
  .bf4-cover-still { min-height: 0; aspect-ratio: 2.25; }
  .bf4-still-top { top: 10px; }
  .bf4-still-caption { bottom: 14px; }
  .bf4-cover p { margin: 10px 0 15px; }
  .bf4-close, .bf4-index, .bf4-brief-lead, .bf4-pass-title { gap: 13px; }
  .bf4-gallery-controls .bf-topics { gap: 4px; }
  .bf4-index .bf-search { max-width: none; }
  .bf4-intent-list { grid-template-columns: minmax(0,1fr); }
  .bf4-small-still { height: 40px; }
  .bf4-intent { grid-template-columns: 52px minmax(0,1fr) 20px; padding: 6px; }
  .bf4-intent i { align-self: center; }
  .bf4-counter { justify-self: start; align-items: center; display: flex; gap: 9px; padding-left: 9px; }
  .bf4-counter strong { font-size: 25px; }
  .bf4-signature { padding-block: 4px; }
  .bf4-choose { grid-template-columns: 82px minmax(0,1fr); }
  .bf4-compare-still { aspect-ratio: 2.7; }
  .bf4-index-search small { font-size: 12px; }
  .bf4-passport .bf4-negative .bf-cover-frame { aspect-ratio: 1.45; }
}
@media (max-width: 420px) {
  .bf4-cover-still { aspect-ratio: 1.85; }
  .bf4-gallery-controls .bf-topics { gap: 2px; }
  .bf4-gallery-controls .bf-topic { padding-inline: 6px; }
  .bf4-reference-ticket { grid-template-columns: 64px minmax(0,1fr) 22px; gap: 8px; }
  .bf4-ticket-image { height: 58px; }
  .bf4-segments a { padding-inline: 5px; }
  .bf4-signature small { letter-spacing: .05em; }
  .bf4-compare-empty { align-items: start; }
}
:root[data-theme=dark] .bf4-cover { background: #33273f; color: #f6edfa; }
:root[data-theme=dark] .bf4-cover h1 em, :root[data-theme=dark] .bf4-eyeline { color: #deb5f3; }
:root[data-theme=dark] .bf4-cover p { color: #e4d8ec; }
