/* BeaverFlow Night · polish layer (loaded last).
   Rules of the house: no underlined links, never more than three items in a row,
   pictures large enough to read, links to other pages look like something you can press,
   and no section leaves half the screen empty. */

/* ---------- Type scales with the screen ---------- */
@media (min-width: 1600px) { html { font-size: 112.5%; } }
@media (min-width: 2200px) { html { font-size: 125%; } }

/* ---------- Links: colour and shape instead of underlines ---------- */
a, a:hover, a:focus { text-decoration: none !important; }
main p a:not(.btn), main li a:not(.btn), main td a, main h2 a, main h3 a { color: var(--bf-gold); border-bottom: 0; background-image: none; }
main h2 a, main h3 a { color: inherit; }
main a:not(.btn):hover { color: #fff; }
main h2 a:hover, main h3 a:hover, .catalog-product:hover strong { color: var(--bf-gold); }
a:focus-visible { outline: 2px solid var(--bf-gold); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--bf-gold); color: #0e191e; }

/* Links that lead to another page: a pill you can hit with a thumb. */
main .decision-links a, main a.decision-link, main .field-actions a:not(.btn), main .section > .wrap > a, main .section > .wrap > p > a:only-child,
main .panel > a, main .contact-note a, main .legal2-related a, main .path-cross a, main .bf-actions a:not(.btn), main .ab-links a, main .textlink {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 2.9rem; padding: .6rem 1.3rem; margin: 0;
  border: 1px solid color-mix(in srgb, var(--bf-gold) 60%, transparent); border-radius: 999px; background: transparent;
  color: var(--bf-gold); font-size: 1rem; line-height: 1.2; font-weight: 650; letter-spacing: 0; width: fit-content;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
main .decision-links a:hover, main a.decision-link:hover, main .field-actions a:not(.btn):hover, main .section > .wrap > a:hover, main .section > .wrap > p > a:only-child:hover,
main .panel > a:hover, main .contact-note a:hover, main .legal2-related a:hover, main .path-cross a:hover, main .bf-actions a:not(.btn):hover, main .ab-links a:hover, main .textlink:hover {
  background: var(--bf-gold); border-color: var(--bf-gold); color: #0e191e;
}
main .bf-links a, main .path-products a { display: inline-flex; align-items: center; min-height: 2.5rem; padding: .4rem 1rem; border: 1px solid var(--bf-line); border-radius: 999px; font-size: .95rem; font-weight: 650; color: var(--bf-gold); }
main .bf-links a:hover, main .path-products a:hover { border-color: var(--bf-gold); color: #fff; }
main .bf-next a { display: block; padding: .75rem 0; border-top: 1px solid var(--bf-line); font-size: 1rem; }
main .bf-next a:first-child { border-top: 0; padding-top: 0; }
main .panel > a { margin-top: 1.1rem; }
main .field-actions { display: flex; flex-wrap: wrap; gap: .9rem 1rem; align-items: center; }

/* ---------- Never more than three in a row; pictures get the room ---------- */
@media (min-width: 900px) {
  main .grid, main ul.grid, main .bf-points, main .bf-steps, main .ab-values-grid, main .path-index { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  main .grid:has(> :nth-child(2):last-child), main .grid:has(> :nth-child(4):last-child), main ul.grid:has(> :nth-child(4):last-child),
  main .bf-points:has(> :nth-child(2):last-child), main .bf-points:has(> :nth-child(4):last-child), main .bf-steps:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 620px) and (max-width: 899px) {
  main .grid, main ul.grid, main .bf-points, main .path-index { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
main .grid { gap: clamp(1.5rem, 2.4vw, 2.75rem); }
main .grid > article > img, main .journal-entry > img, main .path-index img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: .8rem; display: block; }
main .grid > article h3 { font-size: clamp(1.3rem, 1.6vw, 1.7rem); line-height: 1.2; margin-top: 1.1rem; }
main .grid > article > p:not(.eyebrow) { font-size: 1.05rem; line-height: 1.6; }
main .path-index h2 { font-size: clamp(1.6rem, 2.2vw, 2.4rem); line-height: 1.15; }
main .path-index p { font-size: 1.05rem; }

/* ---------- Product catalogue: three cards a row, picture on top ---------- */
main .bf-catalog .index-group + .index-group { margin-top: clamp(3rem, 5vw, 5rem); }
main .bf-catalog .index-group > h2 { margin-bottom: 1.5rem; }
main .bf-catalog .product-list { display: grid; gap: clamp(1.25rem, 2vw, 2rem); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { main .bf-catalog .product-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { main .bf-catalog .product-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
main .bf-catalog .catalog-product { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; border-radius: .9rem; background: var(--bf-panel); border: 1px solid transparent; transition: border-color .18s ease, transform .18s ease; }
main .bf-catalog .catalog-product:hover { border-color: var(--bf-gold); transform: translateY(-2px); }
main .bf-catalog .catalog-product > img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; display: block; background: var(--bf-panel-2); }
main .bf-catalog .catalog-product > div { padding: 1.3rem 1.5rem 1.6rem; display: grid; gap: .5rem; }
main .bf-catalog .catalog-product strong { font-size: 1.25rem; line-height: 1.25; }
main .bf-catalog .catalog-product p { font-size: 1.05rem; line-height: 1.5; margin: 0; color: var(--bf-text); }
main .bf-catalog .catalog-product small { font-size: .92rem; line-height: 1.5; color: var(--bf-soft); }

/* ---------- Picture + text spreads: balanced halves, button under the text ---------- */
@media (min-width: 800px) {
  main .decision-spread { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; }
  main .decision-spread > img { position: static; aspect-ratio: 16 / 11; border-radius: .9rem; }
  main .decision-spread:not(:has(> img)) article { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); }
}
main .decision-spread article h2 { font-size: clamp(1.7rem, 2.4vw, 2.5rem); }
main .decision-spread article p { font-size: 1.12rem; line-height: 1.65; max-width: none; }
main .decision-links { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
main .decision-links:empty { display: none; }
main .exercise-link { display: flex; justify-content: flex-start; padding-bottom: clamp(2rem, 4vw, 4rem); }

/* ---------- Sections that hold only a heading and a few lines: heading left, text right ---------- */
@media (min-width: 1000px) {
  main .section > .wrap:not(:has(> .grid, > table, > figure, > details, > ul, > ol, > form, > article, > div, > section, > img)) {
    display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); column-gap: clamp(2rem, 5vw, 6rem); row-gap: 1.1rem; align-items: start;
  }
  main .section > .wrap:not(:has(> .grid, > table, > figure, > details, > ul, > ol, > form, > article, > div, > section, > img)) > h2 { grid-column: 1; grid-row: 1 / span 8; margin: 0; }
  main .section > .wrap:not(:has(> .grid, > table, > figure, > details, > ul, > ol, > form, > article, > div, > section, > img)) > :not(h2) { grid-column: 2; margin-top: 0; }
  main .section > .wrap:not(:has(> .grid, > table, > figure, > details, > ul, > ol, > form, > article, > div, > section, > img)) > p { font-size: 1.15rem; line-height: 1.65; max-width: 60ch; }
  /* Long lists of questions and principles run in two columns. */
  main .section > .wrap:has(> details:nth-of-type(4)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 4vw, 4.5rem); align-items: start; }
  main .section > .wrap:has(> details:nth-of-type(4)) > :not(details) { grid-column: 1 / -1; }
}
main details > summary { font-size: 1.1rem; padding-block: 1rem; cursor: pointer; }
main details > p { font-size: 1.05rem; line-height: 1.65; max-width: 62ch; }

/* ---------- Narrative bands use the whole right half ---------- */
main .bf-narrative .bf-cols p { font-size: 1.12rem; }
@media (min-width: 1500px) { main .bf-narrative .bf-cols:has(> p:nth-child(3)) { columns: 2; column-gap: 3rem; } }

/* ---------- Teasers and "next step" blocks ---------- */
main .case-teaser h2, main .case-teaser h2 a { font-size: clamp(1.8rem, 2.6vw, 2.8rem); line-height: 1.12; }
main .case-teaser p:not(.eyebrow) { font-size: 1.1rem; line-height: 1.6; }

/* ---------- Forms and partner blocks fill their section ---------- */
@media (min-width: 1000px) {
  main .page-section:has(> form) { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(2rem, 5vw, 6rem); align-items: start; }
  main .page-section:has(> form) > * { grid-column: 1; }
  main .page-section:has(> form) > form { grid-column: 2; grid-row: 1 / span 6; max-width: none; width: 100%; }
  main .pt-models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; max-width: none; }
}
main .stories-note { font-size: .95rem; }

@media (prefers-reduced-motion: reduce) { main .bf-catalog .catalog-product { transition: none; } main .bf-catalog .catalog-product:hover { transform: none; } }

/* ---------- Second pass ---------- */
@media (min-width: 900px) {
  main .bf-check { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
main .bf-check li { font-size: 1.08rem; }
/* Product screenshots and the "next in the chain" block get real size. */
main .evidence-section .capture { width: 100%; max-width: none; margin-inline: 0; }
@media (min-width: 800px) {
  main .field-next { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  main .field-next img { aspect-ratio: 16 / 9; }
}
main .field-next p:not(.eyebrow) { font-size: 1.12rem; line-height: 1.6; }
main .field-next .decision-links { font-size: 1rem; }
/* Catalogue: four cards make two pairs; a lone last card stretches across the row. */
@media (min-width: 1100px) {
  main .bf-catalog .product-list:has(> :nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  main .bf-catalog .product-list > .catalog-product:last-child:nth-child(3n + 1):not(:nth-child(4)) { grid-column: 1 / -1; flex-direction: row; align-items: stretch; }
  main .bf-catalog .product-list > .catalog-product:last-child:nth-child(3n + 1):not(:nth-child(4)) > img { width: 50%; aspect-ratio: 16 / 7; }
  main .bf-catalog .product-list > .catalog-product:last-child:nth-child(3n + 1):not(:nth-child(4)) > div { align-content: center; padding: 2rem 2.5rem; }
}
main .evidence-section { max-width: min(1720px, 90%); }
@media (max-width: 1399px) { main .evidence-section { max-width: min(1280px, 90%); } }
/* A heading with a single way forward is a compact strip, not a tall empty section. */
main .section:has(> .wrap > a:last-child):not(:has(> .wrap > :nth-child(3))) { padding-block: clamp(2rem, 3.5vw, 3.5rem); }
@media (min-width: 1000px) { main .section:has(> .wrap > a:last-child):not(:has(> .wrap > :nth-child(3))) > .wrap { align-items: center; } main .section:has(> .wrap > a:last-child):not(:has(> .wrap > :nth-child(3))) > .wrap > a { justify-self: start; } }
.launch-privacy { font-size: .95rem !important; color: var(--bf-gold); }
/* Secondary action next to the main button, and paragraphs made only of links. */
main .actions { display: flex; flex-wrap: wrap; gap: .9rem 1rem; align-items: center; }
main .actions a.quiet-link, main .bf-cols p:last-child:has(> a:first-child) a {
  display: inline-flex; align-items: center; min-height: 2.9rem; padding: .6rem 1.3rem; border: 1px solid color-mix(in srgb, var(--bf-gold) 60%, transparent);
  border-radius: 999px; color: var(--bf-gold); font-size: 1rem; font-weight: 650; line-height: 1.2;
}
main .actions a.quiet-link:hover, main .bf-cols p:last-child:has(> a:first-child) a:hover { background: var(--bf-gold); color: #0e191e; }
main .bf-narrative .bf-cols p:last-child:has(> a:first-child) { font-size: 0; display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; break-inside: avoid; }
/* Supporting copy in cards and short stories is never smaller than body text. */
main .section .panel p:not(.eyebrow), main .editorial-story p, main .field-context div p, main .field-lab p, main .path-kit p, main .pt-step p, main .pt-model p, main .ab-value p, main .work-steps p { font-size: 1.06rem; line-height: 1.62; }
main .editorial-story p { max-width: 62ch; }
main .bf-narrative + .bf-catalog, main .bf-narrative + .section { padding-top: 0; border-top: 0; }
main .bf-narrative { padding-block: clamp(3rem, 5vw, 5rem) clamp(2.5rem, 4vw, 4rem); }

/* ---------- Legal pages: contents on the left, text in readable blocks ---------- */
html { scroll-behavior: smooth; }
main .legal2-layout { grid-template-columns: minmax(0, 1fr); gap: 2rem; padding-block: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 1000px) { main .legal2-layout { grid-template-columns: minmax(260px, 22rem) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4.5rem); } main .legal2-toc { position: sticky; top: 5.5rem; } }
main .legal2-toc-inner { padding: 1.5rem 1.25rem; border-radius: .9rem; max-height: calc(100vh - 7rem); overflow: auto; scrollbar-width: thin; scrollbar-color: var(--bf-line) transparent; }
@media (max-width: 999px) { main .legal2-toc-inner { max-height: 22rem; } }
main .legal2-toc-label { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin: 0 0 .9rem .5rem; }
main .legal2-toc nav { display: grid; gap: .1rem; }
main .legal2-toc-link { display: block; padding: .55rem .6rem; border-radius: .5rem; font-size: .98rem; line-height: 1.35; color: var(--bf-soft); }
main .legal2-toc-link:hover { background: var(--bf-panel-2); color: #fff; }
main .legal2-content { display: grid; gap: 1.25rem; min-width: 0; }
main .legal2-section { background: var(--bf-panel); border-radius: .9rem; padding: clamp(1.4rem, 2.4vw, 2.5rem); scroll-margin-top: 5.5rem; }
main .legal2-h2 { font-size: clamp(1.4rem, 1.8vw, 1.9rem); line-height: 1.2; letter-spacing: -.02em; margin: 0 0 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--bf-line); color: var(--bf-gold); }
main .legal2-p, main .legal2-section p, main .legal2-section li { font-size: 1.02rem; line-height: 1.7; color: var(--bf-text); margin: 0 0 .9rem; max-width: none; }
main .legal2-section strong { color: #fff; }
main .legal2-section > :last-child { margin-bottom: 0; }
/* On wide screens a section reads in two columns under its heading, which halves the scroll. */
@media (min-width: 1400px) {
  main .legal2-section:has(> :nth-child(5)) { columns: 2; column-gap: clamp(2rem, 3vw, 3.5rem); }
  main .legal2-section .legal2-h2 { column-span: all; }
  main .legal2-section p, main .legal2-section li, main .legal2-section table { break-inside: avoid; }
}
main .legal2-related { border-radius: .9rem; padding: 1.5rem; display: flex; flex-wrap: wrap; gap: .8rem; }
main .legal2-toggle { all: unset; display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; cursor: pointer; color: inherit; font: inherit; letter-spacing: inherit; }
main .legal2-toggle::after { content: ""; flex: none; width: .6rem; height: .6rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-135deg); transition: transform .2s ease; margin-right: .3rem; }
main .legal2-section.is-closed .legal2-toggle::after { transform: rotate(45deg); }
main .legal2-toggle:focus-visible { outline: 2px solid var(--bf-gold); outline-offset: 6px; border-radius: 4px; }
main .legal2-section.is-closed > :not(h2) { display: none; }
main .legal2-section.is-closed { padding-block: 1.2rem; }
main .legal2-section.is-closed .legal2-h2 { margin: 0; padding: 0; border: 0; color: var(--bf-text); }
main .legal2-section.is-closed:hover .legal2-h2 { color: var(--bf-gold); }
main .legal2-all { justify-self: end; min-height: 2.75rem; padding: .5rem 1.2rem; border: 1px solid var(--bf-line); border-radius: 999px; background: transparent; color: var(--bf-gold); font: 650 .95rem/1.2 inherit; font-family: inherit; cursor: pointer; }
main .legal2-all:hover { border-color: var(--bf-gold); }

/* ---------- Home numbers: one lead tile and six supporting ones ---------- */
main .night-facts { padding-block: clamp(2.5rem, 5vw, 5rem); }
main .night-facts h2 { font-size: clamp(1.5rem, 2vw, 2rem); letter-spacing: -.02em; font-weight: 600; color: var(--bf-text); margin: 0 0 1.5rem; }
main .night-facts ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
main .night-facts li, main .night-facts li:nth-child(n+5), main .night-facts li:last-child {
  grid-column: auto; margin: 0; border: 0; border-radius: .9rem; background: var(--bf-panel); padding: 1.5rem 1.75rem;
  display: grid; grid-template-columns: minmax(5.2rem, auto) minmax(0, 1fr); align-items: center; gap: 1.25rem; position: relative; overflow: hidden;
}
main .night-facts strong { font: 500 clamp(2.8rem, 3.6vw, 4.2rem)/1 Manrope, Arial, sans-serif; letter-spacing: -.05em; color: var(--bf-gold); }
main .night-facts span { font-size: 1.08rem; line-height: 1.45; color: var(--bf-text); max-width: 34ch; }
main .night-facts li::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--bf-gold); transform-origin: left; opacity: .55; }
/* Lead tile: the four standards, with one bar per standard. */
main .night-facts li:first-child { grid-template-columns: minmax(0, 1fr); align-content: space-between; gap: 2rem; padding: clamp(1.75rem, 3vw, 3rem); background: linear-gradient(160deg, var(--bf-panel-2), var(--bf-panel) 70%); min-height: 16rem; }
main .night-facts li:first-child strong { font-size: clamp(7rem, 13vw, 13rem); line-height: .8; letter-spacing: -.07em; }
main .night-facts li:first-child span { font-size: clamp(1.25rem, 1.6vw, 1.6rem); line-height: 1.3; max-width: 22ch; padding-bottom: 1.6rem; }
main .night-facts li:first-child::after { left: clamp(1.75rem, 3vw, 3rem); right: clamp(1.75rem, 3vw, 3rem); bottom: clamp(1.75rem, 3vw, 3rem); height: 6px; opacity: 1; border-radius: 3px;
  background: linear-gradient(90deg, var(--bf-gold) 0 calc(25% - 6px), transparent 0 25%, var(--bf-gold) 0 calc(50% - 6px), transparent 0 50%, var(--bf-gold) 0 calc(75% - 6px), transparent 0 75%, var(--bf-gold) 0); }
@media (min-width: 620px) { main .night-facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); } main .night-facts li:first-child { grid-column: 1 / -1; } }
@media (min-width: 1000px) {
  main .night-facts ul { grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, 1fr)); grid-auto-rows: 1fr; }
  main .night-facts li:first-child { grid-column: 1; grid-row: 1 / span 3; }
}
/* Motion: tiles rise in, numbers count up, the gold lines draw. Everything is visible without it. */
@media (prefers-reduced-motion: no-preference) {
  main .night-facts.is-armed li { opacity: 0; transform: translateY(18px); }
  main .night-facts.is-armed li::after { transform: scaleX(0); }
  main .night-facts.is-armed li:first-child::after { transform: none; clip-path: inset(0 100% 0 0); }
  main .night-facts.is-armed.is-in li { opacity: 1; transform: none; transition: opacity .8s cubic-bezier(.16, 1, .3, 1) calc(var(--i, 0) * 80ms), transform .8s cubic-bezier(.16, 1, .3, 1) calc(var(--i, 0) * 80ms), background-color .2s ease; }
  main .night-facts.is-armed.is-in li::after { transform: scaleX(1); transition: transform 1.1s cubic-bezier(.16, 1, .3, 1) calc(var(--i, 0) * 80ms + .25s); }
  main .night-facts.is-armed.is-in li:first-child::after { clip-path: inset(0 0 0 0); transition: clip-path 1.4s steps(4, end) .35s; }
  main .night-facts li:not(:first-child):hover { background: var(--bf-panel-2); }
}
@media print { main .night-facts.is-armed li { opacity: 1; transform: none; } }

/* ---------- Partner levels: one live level up front, two upcoming ones beside each other ---------- */
main .pt-tiers { display: block; }
main .pt-tier, [data-page="partners"] main .pt-tier { border: 1px solid transparent; border-radius: .9rem; box-shadow: none; background: var(--bf-panel); padding: clamp(1.5rem, 2.6vw, 2.75rem); display: grid; gap: 1.25rem; align-content: start; }
main .pt-tier-head { display: flex; align-items: center; gap: 1rem; }
main .pt-tier-icon { flex: none; width: 3.5rem; height: 3.5rem; border-radius: 50%; display: grid; place-items: center; background: var(--bf-panel-2); color: var(--bf-gold); }
main .pt-tier-icon svg { width: 1.6rem; height: 1.6rem; }
main .pt-tier-head > div:last-child { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; }
main .pt-tier-name { font-size: clamp(1.6rem, 2vw, 2.1rem); line-height: 1.1; letter-spacing: -.02em; margin: 0; font-weight: 600; }
main .pt-tier-badge { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .8rem; border-radius: 999px; font-size: .82rem; line-height: 1.2; font-weight: 650; border: 1px solid var(--bf-line); color: var(--bf-soft); }
main .pt-tier-badge svg { width: .9rem; height: .9rem; }
main .pt-tier-badge--active { background: var(--bf-gold); border-color: var(--bf-gold); color: #0e191e; }
main .pt-tier-desc { font-size: 1.1rem; line-height: 1.6; margin: 0; max-width: 46ch; color: var(--bf-text); }
main .pt-tier-benefits { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
main .pt-tier-benefits li { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .7rem; align-items: start; font-size: 1.04rem; line-height: 1.5; color: var(--bf-text); }
main .pt-tier-check { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--bf-panel-2); color: var(--bf-gold); margin-top: .05rem; }
main .pt-tier-check svg { width: .85rem; height: .85rem; }
/* The level you can join today. */
[data-page="partners"] main .pt-tier--silver { border-color: var(--bf-gold); background: linear-gradient(150deg, var(--bf-panel-2), var(--bf-panel) 65%); grid-template-columns: minmax(0, 1fr); gap: 1.5rem; padding: clamp(1.75rem, 3vw, 3.25rem); }
[data-page="partners"] main .pt-tier--silver .pt-tier-benefits { grid-column: auto; grid-row: auto; margin: 0; }
@media (min-width: 900px) {
  [data-page="partners"] main .pt-tier--silver { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); column-gap: clamp(2rem, 4vw, 5rem); align-items: center; }
  [data-page="partners"] main .pt-tier--silver .pt-tier-head, [data-page="partners"] main .pt-tier--silver .pt-tier-desc { grid-column: 1; }
  [data-page="partners"] main .pt-tier--silver .pt-tier-benefits { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 2rem; padding: clamp(1.25rem, 2vw, 2rem); border-radius: .7rem; background: color-mix(in srgb, var(--bf-bg) 55%, transparent); }
  [data-page="partners"] main .pt-tier--silver .pt-tier-name { font-size: clamp(2rem, 2.8vw, 3rem); }
}
/* Upcoming levels. */
main .future-tiers { margin-top: 1.25rem; border: 0; padding: 0; }
main .future-tiers > summary { list-style: none; display: inline-flex; align-items: center; gap: .7rem; min-height: 2.9rem; padding: .5rem 1.3rem; border: 1px solid var(--bf-line); border-radius: 999px; font-size: 1.02rem; font-weight: 650; color: var(--bf-text); cursor: pointer; }
main .future-tiers > summary::-webkit-details-marker { display: none; }
main .future-tiers > summary::after { content: ""; width: .5rem; height: .5rem; border-right: 2px solid var(--bf-gold); border-bottom: 2px solid var(--bf-gold); transform: rotate(45deg) translateY(-2px); transition: transform .2s ease; }
main .future-tiers[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
main .future-tiers > summary:hover { border-color: var(--bf-gold); }
main .future-tier-list { display: grid; gap: 1.25rem; margin-top: 1.25rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { main .future-tier-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
main .pt-tier.pt-tier--locked { background: transparent; border: 1px dashed var(--bf-line); color: inherit; opacity: 1; }
main .pt-tier--locked .pt-tier-icon { background: var(--bf-panel); color: var(--bf-soft); }
main .pt-tier--locked .pt-tier-check { background: var(--bf-panel); color: var(--bf-soft); }
main .pt-tier--locked .pt-tier-desc, main .pt-tier--locked .pt-tier-benefits li { color: var(--bf-soft); }
@media (min-width: 900px) { [data-page="partners"] main .pt-tier--silver { grid-template-rows: auto 1fr; align-items: start; } [data-page="partners"] main .pt-tier--silver .pt-tier-benefits { align-self: center; } }

/* ---------- Readable fields: dark field, light text, in every state ---------- */
main .form-field input, main .form-field textarea, main .form-field select,
main .pt-form input, main .pt-form textarea, main .pt-form select, main .contact-form input, main .contact-form textarea, main .contact-form select {
  background-color: #0e191e !important; color: #f2f4ed !important; border: 1px solid #6d8183 !important; border-radius: .6rem; color-scheme: dark;
  font-size: 1rem; line-height: 1.4; padding: .85rem 1rem; min-height: 3rem; caret-color: var(--bf-gold);
}
main .form-field input::placeholder, main .form-field textarea::placeholder, main .pt-form input::placeholder, main .pt-form textarea::placeholder,
main .contact-form input::placeholder, main .contact-form textarea::placeholder { color: #9fb0ad !important; opacity: 1; }
main .form-field input:focus, main .form-field textarea:focus, main .form-field select:focus,
main .pt-form input:focus, main .pt-form textarea:focus, main .pt-form select:focus { outline: 2px solid var(--bf-gold); outline-offset: 2px; border-color: var(--bf-gold) !important; }
/* Browser and password-manager autofill paints fields pale; keep them dark with light text. */
main input:-webkit-autofill, main input:-webkit-autofill:hover, main input:-webkit-autofill:focus, main textarea:-webkit-autofill, main select:-webkit-autofill {
  -webkit-text-fill-color: #f2f4ed !important; caret-color: var(--bf-gold);
  -webkit-box-shadow: 0 0 0 1000px #0e191e inset !important; box-shadow: 0 0 0 1000px #0e191e inset !important; transition: background-color 9999s ease-out;
}
main .launch-form input:-webkit-autofill, main .launch-form input:-webkit-autofill:focus { -webkit-text-fill-color: #192c24 !important; -webkit-box-shadow: 0 0 0 1000px #f4f1e6 inset !important; box-shadow: 0 0 0 1000px #f4f1e6 inset !important; }
main .form-field label, main .pt-form label { color: var(--bf-text); font-size: .95rem; }
/* Menu group captions and the skip link. */
.mast .nav-sheet p { color: #a9bdb8; }
.skip, .skip:focus { background: #0e191e; color: var(--bf-gold); border: 1px solid var(--bf-gold); border-radius: .5rem; padding: .6rem 1rem; font-weight: 650; }

/* ---------- Whole card is the link: the picture and the empty space lead where the title leads ---------- */
main .path-index article, main .journal-entry, main .case-teaser, main .field-next, main .grid > article.panel, main .bf-points > article, main .decision-spread:has(.decision-links a:only-child) { position: relative; }
main .path-index article h2 a::after, main .journal-entry h3 a::after, main .case-teaser h2 a::after, main .field-next h2 a::after,
main .grid > article.panel h3 a::after, main .bf-points > article h3 a::after,
main .grid > article.panel:not(:has(h3 a)) > a:only-of-type::after, main .decision-spread .decision-links a:only-child::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
/* Other links inside such a card stay clickable on top of it. */
main .field-next .decision-links a, main .bf-points > article .bf-links a, main .case-teaser p a, main .journal-entry p a { position: relative; z-index: 2; }
main .path-index article, main .journal-entry, main .case-teaser, main .field-next, main .grid > article.panel:has(a) { cursor: pointer; }
main .path-index article img, main .journal-entry > img, main .grid > article.panel > img, main .case-teaser > img, main .field-next > img, main .bf-catalog .catalog-product > img { transition: filter .25s ease, transform .4s cubic-bezier(.16, 1, .3, 1); }
main .path-index article:hover img, main .journal-entry:hover > img, main .grid > article.panel:has(a):hover > img, main .case-teaser:hover > img, main .field-next:hover > img { filter: brightness(1.12); }
main .path-index article:hover h2 a, main .journal-entry:hover h3 a, main .case-teaser:hover h2 a, main .grid > article.panel:hover h3 a { color: var(--bf-gold); }
main .path-index article:has(a:focus-visible), main .journal-entry:has(a:focus-visible), main .case-teaser:has(h2 a:focus-visible), main .field-next:has(h2 a:focus-visible) { outline: 2px solid var(--bf-gold); outline-offset: 6px; border-radius: .9rem; }
@media (prefers-reduced-motion: reduce) { main .path-index article img, main .journal-entry > img, main .grid > article.panel > img, main .case-teaser > img, main .field-next > img { transition: none; } }
