/* Content pages, news, shop, BFK theme and imported-content blocks. site.css holds the shared system (tokens, header, footer, homepage). */

.skip { position: absolute; left: -9999px; top: 0; background: var(--white); color: var(--black); padding: 10px 14px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
.boot { min-height: 60vh; display: grid; place-items: center; color: var(--dim); font: 600 13px var(--display); letter-spacing: .2em; text-transform: uppercase; }
/* First-load loader (index.html): small homepage wheel with the family logos, 0.5s each */
.boot:has(.boot-wheel) { background: radial-gradient(ellipse at center, rgba(0,0,0,0) 0%, rgba(0,0,0,.35) 40%, rgba(0,0,0,.92) 100%); }   /* dark vignette around the wheel */
.boot-wheel { position: relative; width: 170px; height: 170px; }
.boot-wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.boot-wheel circle { fill: none; stroke: #fff; transform-box: view-box; transform-origin: 410px 410px; }
.boot-wheel .r1 { animation: bf-about-ccw 6s linear infinite; }
.boot-wheel .r2 { animation: bf-about-cw 8s linear infinite; }
.boot-wheel .r3 { animation: bf-about-ccw 10s linear infinite; }
.boot-wheel .r4 { animation: bf-about-cw 12s linear infinite; }
.boot-wheel img { position: absolute; left: 50%; top: 50%; width: 46px; max-width: none; transform: translate(-50%, -50%); opacity: 0; animation: boot-logo 3s infinite; animation-delay: calc(var(--i) * .5s); }
.boot-wheel img.wide { width: 58px; }
@keyframes boot-logo { 0%, 16.6% { opacity: 1; } 16.7%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .boot-wheel circle, .boot-wheel img { animation: none; }
  .boot-wheel img:first-of-type { opacity: 1; }
}
#app:focus { outline: none; }

/* ---------- BFK theme: yellow is BFK's accent ---------- */
.site-bfk .kicker { color: var(--yellow); }
html.hover .site-bfk .nav-btn:hover, .site-bfk .nav-btn[aria-expanded="true"] { color: var(--yellow); }
.site-bfk .mega { border-top-color: var(--yellow); }
html.hover .site-bfk .mega-links a:hover, .site-bfk .mega-links a:focus-visible { border-left-color: var(--yellow); }
.site-bfk header.site .logo img { height: 34px; }
.site-bfk .brand-menu { border-top-color: var(--yellow); }
.site-bfk .brand-menu a[aria-current="page"] { border-left-color: var(--yellow); }
.site-bfk footer { border-top-color: var(--yellow); }
.site-bfk .hero h1 .y { color: var(--yellow); font-weight: 800; }
.site-bfk .slash { background: var(--yellow); }
.site-bfk .tab i { background: var(--yellow); }
.site-bfk .page-hero::after { background: var(--yellow); }
.hero-bfk { min-height: 560px; }
.hero-bfk .hero-copy { padding-bottom: 64px; }
.bfk-pillars { background: var(--coal); }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.pillars > div { border-top: 4px solid var(--yellow); padding-top: 18px; }
.pillars h3 { font-size: 28px; margin: 10px 0 10px; }
.pillars p { color: var(--dim); margin: 0; }

/* ---------- page title band ---------- */
.page-hero { position: relative; background: var(--black); overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 1; padding-block: 72px 56px; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--red); }
.page-hero h1 { font-size: clamp(40px, 6vw, 80px); font-weight: 800; margin-top: 12px; max-width: 18ch; }
.page-hero.has-image .wrap { padding-block: 140px 56px; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.page-hero.has-image::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(0deg, rgba(14,10,10,.95), rgba(14,10,10,.2)); }
.page-lede { color: #cfcac8; font-size: 18px; max-width: 60ch; margin: 16px 0 0; }
.page-hero .hero-ctas { margin-top: 24px; }
.page-hero-rows { margin-top: 18px; color: #e6e2e0; max-width: 72ch; }
.page-hero-rows .b-text { color: inherit; }
.page-hero code { color: var(--white); }
/* Branded title band: logo over the hero image, plus a section dropdown (Grippul tools) */
.page-hero.has-logo .page-hero-img { opacity: .85; }
.page-hero.has-logo::before { z-index: 1; background: linear-gradient(90deg, rgba(14,10,10,.92), rgba(14,10,10,.72) 50%, rgba(14,10,10,.1) 82%), linear-gradient(0deg, rgba(14,10,10,.7), rgba(14,10,10,0) 50%); }
.page-hero.has-logo h1 { font-size: clamp(38px, 4.6vw, 64px); max-width: none; }
.page-hero.has-logo .kicker { display: none; }
.page-hero.has-logo .wrap { padding-block: 72px 56px; }   /* same height as the plain title band */
.page-hero.tall { min-height: min(78vh, 760px); display: flex; align-items: flex-end; }
.page-hero.tall .wrap { width: 100%; padding-block: 140px 64px; }
.page-hero-title { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 12px; }
.page-hero-title h1 { margin-top: 0; }
.page-hero-logo { display: block; height: clamp(20px, 2.4vw, 32px); width: auto; }
.page-hero.has-menu { overflow: visible; z-index: 2; }
.section-menu { position: relative; display: inline-block; margin-top: 28px; }
.section-menu summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px; background: var(--white); color: var(--black); font: 700 14px var(--display); letter-spacing: .14em; text-transform: uppercase; }
.section-menu summary::-webkit-details-marker { display: none; }
.section-menu summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
.section-menu[open] summary::after { transform: translateY(2px) rotate(-135deg); }
html.hover .section-menu summary:hover, .section-menu[open] summary { background: var(--red); color: var(--white); }
.section-menu ul { position: absolute; top: 100%; left: 0; min-width: 100%; width: max-content; margin: 6px 0 0; padding: 8px 0; list-style: none; background: var(--white); box-shadow: 0 16px 40px rgba(0,0,0,.35); z-index: 20; }
.section-menu li a { display: block; padding: 10px 22px; color: var(--black); font: 600 14px var(--display); letter-spacing: .1em; text-transform: uppercase; }
html.hover .section-menu li a:hover { color: var(--red); }
.section-menu li a[aria-current="page"] { color: var(--red); box-shadow: inset 4px 0 0 var(--red); }
.back { display: inline-block; margin-bottom: 18px; font: 600 13px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
html.hover .back:hover { color: var(--white); }

/* ---------- imported content, on a light page ---------- */
.page-body { background: var(--grey); color: var(--ink); padding-block: 56px 80px; }
.page-body .wrap.narrow { max-width: 820px; }
.page-body { overflow-x: clip; }   /* old-site embeds sometimes use full-viewport widths */
.b-row { display: grid; grid-template-columns: repeat(var(--cols, 12), minmax(0, 1fr)); gap: 24px 32px; margin-bottom: 24px; align-items: start; }
.b-col { grid-column: span var(--span, 12); min-width: 0; display: grid; gap: 18px; align-content: start; }
.b-col > .b-row { margin-bottom: 0; }
.b-text { font-weight: 400; font-size: 17px; line-height: 1.7; color: #2e2927; overflow-wrap: anywhere; }
.b-text h1, .b-text h2, .b-text h3, .b-text h4 { color: var(--ink); margin: 1.2em 0 .5em; line-height: 1.1; }
.b-text h1 { font-size: clamp(34px, 4vw, 52px); }
.b-text h2 { font-size: clamp(28px, 3vw, 40px); }
.b-text h3 { font-size: clamp(22px, 2.2vw, 28px); }
.b-text h4 { font-size: 18px; letter-spacing: .06em; }
.b-text > :first-child { margin-top: 0; }
.b-text p { margin: 0 0 1em; }
.b-text a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.b-text ul, .b-text ol { padding-left: 1.3em; margin: 0 0 1em; }
.b-text li { margin-bottom: .35em; }
.b-text blockquote { margin: 1em 0; padding-left: 18px; border-left: 4px solid var(--red); font-style: italic; }
.b-text img { max-width: 100%; height: auto; }
.b-text table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.b-text td, .b-text th { border-bottom: 1px solid #cfcbc7; padding: 8px 10px; text-align: left; }
.b-image { margin: 0; }
.b-image img { width: 100%; height: auto; border-radius: 4px; display: block; }
.b-image figcaption { font-size: 14px; color: #5f5856; margin-top: 8px; }
.b-image figcaption b { display: block; color: var(--ink); font-family: var(--display); text-transform: uppercase; letter-spacing: .04em; }
.b-videowrap { display: grid; gap: 8px; }
.b-video { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
.b-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.b-video-link { font: 600 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.b-cap { font-size: 14px; color: #5f5856; }
.b-button { margin: 0; }
.b-map { background: var(--white); border-radius: 4px; padding: 20px; display: grid; gap: 8px; justify-items: start; }
.b-map b { font: 700 18px var(--display); text-transform: uppercase; }
.b-map .btn.line { color: var(--ink); border-color: var(--ink); }
.b-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; }
.b-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 4px; }
.b-gallery:has(figure) { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.b-gallery figure { margin: 0; }
.b-gallery figure img { aspect-ratio: 2 / 3; }
.b-gallery figcaption { margin-top: 10px; font-size: 14px; line-height: 1.55; color: inherit; opacity: .78; }
.b-credit { margin: 14px 0 0; font: 600 12px var(--display); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.b-rule { border: 0; border-top: 1px solid #cfcbc7; margin: 8px 0; }
.b-embed { min-width: 0; overflow-x: auto; color: #222; font-family: var(--body); }
.b-embed img { max-width: 100%; height: auto; }
/* old-site embeds carry their own styling; reset ours so they look like they did */
.b-embed h1, .b-embed h2, .b-embed h3, .b-embed h4 { text-transform: none; font-family: inherit; line-height: 1.2; }
.b-embed button { font: inherit; cursor: pointer; }
.page-body .btn.line { color: var(--ink); border-color: var(--ink); }
html.hover .page-body .btn.line:hover { background: var(--ink); color: var(--white); }

/* Beast Fingers Climbing content pages were black on the old site, and its tools are styled for that */
.site-bfc .page-body { background: #000; color: #e9e5e3; }
.site-bfc .b-text { color: #d9d4d2; }
.site-bfc .b-text h1, .site-bfc .b-text h2, .site-bfc .b-text h3, .site-bfc .b-text h4, .site-bfc .b-image figcaption b { color: var(--white); }
.site-bfc .b-text a, .site-bfc .b-video-link { color: var(--red-text); }
.site-bfc .b-text td, .site-bfc .b-text th { border-bottom-color: rgba(255,255,255,.15); }
.site-bfc .b-image figcaption, .site-bfc .b-cap { color: var(--dim); }
.site-bfc .b-rule { border-top-color: rgba(255,255,255,.15); }
.site-bfc .b-embed { color: #fff; }
.site-bfc .b-map { background: var(--coal); }
.site-bfc .b-map .btn.line, .site-bfc .page-body .btn.line { color: var(--white); border-color: rgba(255,255,255,.7); }
html.hover .site-bfc .page-body .btn.line:hover { background: var(--white); color: var(--black); }

/* forms */
.b-form { background: var(--white); color: var(--ink); border-radius: 6px; padding: 24px; display: grid; gap: 18px; }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.f-field { display: grid; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.f-wide, .f-section { grid-column: 1 / -1; }
.f-field label, .f-field legend { font: 600 12px var(--display); letter-spacing: .12em; text-transform: uppercase; color: #3d3735; }
.f-field label span, .f-field legend span { color: var(--red); }
.f-field small { color: #6b6461; font-size: 13px; margin-top: -4px; }
.f-field input, .f-field select, .f-field textarea { font: 400 16px var(--body); color: var(--ink); background: #f6f5f3; border: 1px solid #cfcbc7; border-radius: 3px; padding: 11px 12px; width: 100%; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: 2px solid var(--red); outline-offset: 1px; border-color: transparent; }
.f-opt { display: flex; align-items: center; gap: 8px; font: 400 15px var(--body); text-transform: none; letter-spacing: 0; color: var(--ink); margin-top: 4px; }
.f-opt input { width: auto; }
.f-section { margin: 10px 0 0; padding-top: 14px; border-top: 1px solid #e2dfdc; font: 700 16px var(--display); text-transform: uppercase; color: var(--ink); }
.f-hp { position: absolute; left: -5000px; }
.b-form .btn { justify-self: start; }
.f-status { margin: 0; color: #1f6d3a; font-weight: 500; }
.f-status.bad { color: var(--red); }
@media (max-width: 560px) { .f-grid { grid-template-columns: 1fr; } }

/* ---------- news ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.news-list { grid-template-columns: repeat(3, 1fr); }
.post .pt p { margin: 10px 0 0; color: var(--dim); font-size: 14px; }
.pi-empty { width: 100%; height: 100%; display: grid; place-items: center; background: var(--steel); font: 800 40px var(--display); color: rgba(255,255,255,.15); }
.article-hero h1 { max-width: 24ch; font-size: clamp(34px, 5vw, 64px); }
.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding-block: 40px 72px; }
.article-nav a { display: grid; gap: 6px; padding: 18px; border: 1px solid rgba(255,255,255,.15); border-radius: 4px; }
html.hover .article-nav a:hover { border-color: var(--white); }
.article-nav a.r { text-align: right; }
.article-nav small { font: 600 11px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--dim); }
.article-nav b { font: 700 18px/1.2 var(--display); text-transform: uppercase; }

/* ---------- shop / product ---------- */
.shop-page .products { margin-top: 0; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.shop-category-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; }
.shop-category-filter { min-height: 42px; padding: 10px 16px; border: 1px solid #b8b4b1; border-radius: 2px; background: transparent; color: var(--ink); font: 700 12px/1.2 var(--display); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.shop-category-filter.is-active { border-color: var(--red); background: var(--red); color: var(--white); }
html.hover .shop-category-filter:not(.is-active):hover { border-color: var(--ink); background: #f3f1ef; color: var(--ink); }
.shop-page .prod[hidden] { display: none !important; }
.shop-page .prod-category { display: block; width: fit-content; margin: 0 0 7px; padding: 4px 7px; border: 1px solid rgba(255,255,255,.22); color: var(--red-text); font: 700 10px/1.2 var(--display); letter-spacing: .14em; text-transform: uppercase; }
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.g-main { background: var(--white); border-radius: 6px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; }
.g-main img { max-width: 100%; max-height: 100%; object-fit: contain; }
.g-thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.g-thumbs button { width: 72px; height: 72px; padding: 4px; background: var(--white); border: 2px solid transparent; border-radius: 4px; cursor: pointer; }
.g-thumbs button[aria-current] { border-color: var(--red); }
.g-thumbs img { width: 100%; height: 100%; object-fit: contain; }
.p-info h1 { font-size: clamp(34px, 4vw, 56px); margin: 10px 0 14px; }
.p-price { font: 700 28px var(--display); color: var(--red-text); margin-bottom: 18px; }
.tag-out { font-style: normal; font: 600 12px var(--display); letter-spacing: .12em; background: var(--steel); color: var(--white); padding: 4px 8px; border-radius: 2px; vertical-align: middle; margin-left: 8px; }
.p-excerpt { color: #d9d4d2; }
.p-excerpt h1, .p-excerpt h2, .p-excerpt h3, .p-excerpt h4 { color: var(--white); }
.p-excerpt a { color: var(--red-text); }
.p-buy { margin-top: 24px; }
.buy-note { margin: 0; color: #d9d4d2; border-left: 3px solid var(--red); padding-left: 12px; }

/* ---------- preview switcher (only on preview links) ---------- */
#preview-bar { position: fixed; z-index: 70; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); display: flex; align-items: center; gap: 4px; padding: 4px; background: rgba(255,255,255,.96); color: #111; border-radius: 999px; box-shadow: 0 10px 30px rgba(0,0,0,.45); font: 600 12px var(--display); letter-spacing: .06em; max-width: calc(100vw - 24px); }
#preview-bar span { padding: 0 10px; text-transform: uppercase; letter-spacing: .16em; color: #777; }
#preview-bar a { padding: 8px 12px; border-radius: 999px; color: #111; white-space: nowrap; }
#preview-bar a[aria-current="true"] { background: #111; color: #fff; }

@media (max-width: 1020px) {
  .news-list { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: 1fr; gap: 28px; }
  .pillars { grid-template-columns: 1fr; }
  .b-row { grid-template-columns: 1fr; }
  .b-col { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .util .wrap > span { display: none; }
  .news-list { grid-template-columns: 1fr; }
  .article-nav { grid-template-columns: 1fr; }
  .page-hero .wrap { padding-block: 48px 40px; }
  #preview-bar span { display: none; }
  #preview-bar a { padding: 8px 10px; font-size: 11px; }
}
@media (max-width: 760px) {
  .page-hero-title { flex-direction: column; align-items: flex-start; gap: 22px; }
  .page-hero-logo { order: -1; height: auto; width: min(420px, 70vw); }
}
@media (max-width: 560px) {
  .page-hero.has-logo .wrap { padding-block: 48px 40px; }
  .page-hero.tall { min-height: 70vh; }
  .page-hero.tall .wrap { padding-block: 96px 48px; }
}
@media (max-width: 360px) { .util nav { gap: 8px; } .util { font-size: 12px; } }


/* ---------- Beast Fingers contact page ---------- */
.page-body .b-row:has(.b-form[data-form="BFC Contact"]) {
  align-items: stretch;
  column-gap: clamp(28px, 4vw, 64px);
}
.b-form[data-form="BFC Contact"] {
  background: transparent;
  color: var(--white);
  border-radius: 0;
  padding: 0;
  gap: 24px;
}
.contact-form-heading { margin-bottom: 6px; }
.contact-form-heading .kicker { display: block; margin-bottom: 14px; }
.contact-form-heading h2 { font-size: clamp(34px, 4vw, 54px); margin: 0 0 14px; }
.contact-form-heading p { color: #bdb7b4; max-width: 54ch; margin: 0; font-size: 16px; line-height: 1.7; }
.b-form[data-form="BFC Contact"] .f-grid { gap: 20px 22px; }
.b-form[data-form="BFC Contact"] .f-field label {
  color: #e9e5e3;
  font-size: 11px;
  letter-spacing: .16em;
}
.b-form[data-form="BFC Contact"] .f-field input,
.b-form[data-form="BFC Contact"] .f-field select,
.b-form[data-form="BFC Contact"] .f-field textarea {
  color: var(--white);
  background: #171313;
  border: 1px solid #403838;
  border-radius: 2px;
  padding: 13px 14px;
}
.b-form[data-form="BFC Contact"] .f-field input::placeholder,
.b-form[data-form="BFC Contact"] .f-field textarea::placeholder { color: #8f8784; }
.b-form[data-form="BFC Contact"] .f-field input:focus,
.b-form[data-form="BFC Contact"] .f-field select:focus,
.b-form[data-form="BFC Contact"] .f-field textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-color: transparent;
}
.b-form[data-form="BFC Contact"] .f-field textarea { min-height: 150px; resize: vertical; }
.b-form[data-form="BFC Contact"] .btn { min-width: 170px; justify-content: center; }
.contact-info {
  display: grid;
  gap: 0;
  padding-top: 4px;
  text-align: right;
}
.contact-item {
  display: grid;
  justify-items: end;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,.16);
}
.contact-item:first-child { padding-top: 0; border-top: 0; }
.contact-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: var(--white);
}
.contact-label svg, .contact-link svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
  color: var(--red-text);
}
.contact-label strong {
  font: 700 12px/1.2 var(--display);
  letter-spacing: .16em;
}
.contact-item p {
  color: #c6bfbc;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.contact-item > a:not(.contact-link) {
  color: var(--white);
  font-size: 14px;
  overflow-wrap: anywhere;
}
.contact-item .contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--red-text);
  font: 600 11px var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-link svg { width: 16px; height: 16px; }
.contact-hours { width: 100%; max-width: 290px; margin: 0; display: grid; gap: 8px; }
.contact-hours > div { display: flex; justify-content: space-between; gap: 14px; font-size: 12px; line-height: 1.5; }
.contact-hours dt { color: #c6bfbc; }
.contact-hours dd { margin: 0; color: var(--white); font-weight: 500; white-space: nowrap; }
.contact-note { color: #9f9794; font-size: 12px; line-height: 1.5; }
html.hover .contact-item a:hover { color: var(--white); }
@media (max-width: 1020px) {
  .page-body .b-row:has(.b-form[data-form="BFC Contact"]) { row-gap: 48px; }
  .contact-info { text-align: left; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .contact-item { justify-items: start; text-align: left; }
  .contact-label { justify-content: flex-start; }
  .contact-item:first-child { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.16); }
  .contact-hours { max-width: 100%; }
}
@media (max-width: 560px) {
  .b-form[data-form="BFC Contact"] .f-grid { grid-template-columns: 1fr; }
  .contact-info { grid-template-columns: 1fr; }
  .contact-item { padding: 18px 0; }
  .contact-item:first-child { padding-top: 0; border-top: 0; }
}

/* ---------- glossary (Grippul research) ---------- */
.glossary { margin-top: 24px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.14); }
.glossary h2 { font: 800 clamp(30px, 3.4vw, 44px)/1 var(--display); text-transform: uppercase; margin: 0 0 28px; }
.glossary dl { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 48px; margin: 0; }
.glossary dl > div { padding-top: 14px; border-top: 1px solid rgba(255,255,255,.1); }
.glossary dt { font: 700 15px/1.3 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--red-text); margin-bottom: 6px; }
.glossary dd { margin: 0; font-size: 15px; line-height: 1.65; opacity: .85; }
@media (max-width: 760px) { .glossary dl { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- product detail: light purchase panel, dark supporting content below ---------- */
/* Keep the existing Barlow / Montserrat type system; only correct contrast and product-page layout. */
.product-page {
  background: #fff;
  color: #211c1a;
  padding-block: clamp(36px, 5vw, 68px) clamp(56px, 7vw, 88px);
}
.product-page .wrap { max-width: 1240px; }
.product-page .back {
  color: #655d59;
  margin-bottom: clamp(22px, 3vw, 36px);
  transition: color .18s ease;
}
html.hover .product-page .back:hover { color: var(--red); }
.product-page .product {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}
.product-page .gallery { min-width: 0; }
.product-page .g-main {
  background: #f4f3f1;
  border: 1px solid #e7e3e0;
  border-radius: 3px;
  aspect-ratio: 1 / 1;
}
.product-page .g-main img { width: 100%; height: 100%; object-fit: contain; }
.product-page .g-thumbs { gap: 10px; margin-top: 12px; }
.product-page .g-thumbs button {
  width: clamp(58px, 7vw, 82px);
  height: clamp(58px, 7vw, 82px);
  background: #f7f6f4;
  border: 1px solid #e3dfdc;
  border-radius: 3px;
  transition: border-color .18s ease, background .18s ease;
}
.product-page .g-thumbs button[aria-current] { border: 2px solid var(--red); background: #fff; }
.product-page .p-info { min-width: 0; padding-top: 4px; }
.product-page .p-info .kicker { color: #b51c17; }
.product-page .p-info h1 {
  color: #171313;
  font-size: clamp(36px, 4.3vw, 62px);
  line-height: .98;
  letter-spacing: -.025em;
  margin: 12px 0 18px;
  text-wrap: balance;
}
.product-page .p-price {
  color: #c51f19;
  font-size: clamp(26px, 2.5vw, 34px);
  line-height: 1.1;
  margin-bottom: 22px;
  font-variant-numeric: tabular-nums;
}
.product-page .tag-out { background: #211c1a; color: #fff; }
.product-page .p-excerpt,
.product-page .p-excerpt p,
.product-page .p-excerpt li { color: #403936; }
.product-page .p-excerpt { font-size: 16px; line-height: 1.75; }
.product-page .p-excerpt h1,
.product-page .p-excerpt h2,
.product-page .p-excerpt h3,
.product-page .p-excerpt h4 { color: #171313; line-height: 1.12; }
.product-page .p-excerpt h2 { font-size: clamp(24px, 2.6vw, 32px); }
.product-page .p-excerpt h3 { font-size: 22px; }
.product-page .p-excerpt a { color: #b51c17; }
.product-page .p-buy { margin-top: 28px; }
.product-page .buy-note {
  color: #403936;
  border-left-color: var(--red);
  padding: 12px 0 12px 16px;
  line-height: 1.65;
}
.product-page .buy-note b { color: #171313; }
.product-page .p-info .btn { min-width: 168px; justify-content: center; }
@media (max-width: 1020px) {
  .product-page .product { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 30px; }
}
@media (max-width: 760px) {
  .product-page { padding-block: 32px 52px; }
  .product-page .product { grid-template-columns: 1fr; gap: 30px; }
  .product-page .p-info { padding-top: 0; }
  .product-page .p-info h1 { max-width: 18ch; }
}
@media (prefers-reduced-motion: reduce) {
  .product-page .back, .product-page .g-thumbs button { transition: none; }
}



/* Product information hierarchy: keep the purchase decision clear and details readable. */
.product-page .p-summary { display: grid; gap: 0; }
.product-page .p-excerpt > :last-child { margin-bottom: 0; }
.product-page .p-excerpt p { margin-bottom: .8em; }
.product-page .p-excerpt ul,
.product-page .p-excerpt ol { padding-left: 1.25em; margin: .5em 0 1em; }
.product-page .p-excerpt li { padding-left: .15em; margin-bottom: .35em; }
.product-page .p-excerpt h2,
.product-page .p-excerpt h3,
.product-page .p-excerpt h4 { margin: 1em 0 .45em; }
.product-page .p-buy {
  border-top: 1px solid #e6e1de;
  padding-top: 22px;
  margin-top: 26px;
}
.product-page .p-buy .btn { min-height: 48px; padding-inline: 28px; }
.product-page .g-thumbs button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}
.product-details .b-row:last-child { margin-bottom: 0; }
.product-details .b-col { gap: 22px; }
.product-details .b-text { max-width: 76ch; }
.product-details .b-text h2 { margin-top: .25em; }
.product-details .b-text h2 + p,
.product-details .b-text h3 + p { margin-top: 0; }
.product-expanded-content { white-space: pre-line; }
.page-body + .product-expanded-section { padding-top: 0; }   /* follows the page content without a double gap */
@media (max-width: 760px) {
  .product-page .p-buy { margin-top: 22px; padding-top: 20px; }
  .product-page .p-buy .btn { width: 100%; }
  .product-page .g-thumbs { gap: 8px; }
}

/* ---------- bottom of Grippul pages: products + photo strip ---------- */
.grip-shop { background: var(--black); border-top: 1px solid rgba(255,255,255,.08); }
.grip-shop .head h2 { font-size: clamp(32px, 4vw, 52px); }
.grip-products { margin-top: 0; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .grip-products { grid-template-columns: 1fr; } }

/* long Grippul titles wrap (logo drops below) instead of running into the hero artwork */
@media (min-width: 761px) { .page-hero.has-logo .page-hero-title { max-width: 66%; } }

/* ---------- one type system inside imported content ----------
   Old-site embeds bring their own fonts (Inter, Helvetica Neue, Arial, bare sans-serif).
   Inside page content everything uses the site's body font; headings use the display font. */
.page-body .b-embed,
.page-body .b-embed :where(*:not(svg, svg *, i, [class*="icon"])) { font-family: var(--body) !important; }
.page-body :is(.b-embed, .b-text) :is(h1, h2, h3, h4, h5, h6),
.page-body :is(.b-embed, .b-text) :is(h1, h2, h3, h4, h5, h6) * { font-family: var(--display) !important; }
.page-body .b-embed :is(input, select, textarea, button) { font-family: var(--body) !important; }
/* buttons placed inside text blocks keep the button look, not the red underlined text-link look */
.page-body .b-text a.btn { color: var(--white); text-decoration: none; }
.page-body .b-text a.btn.line { color: var(--white); }

/* ---------- interactive timeline (Grippul history) ----------
   The whole lineup stays in view (an evolution chart on a baseline); the chosen model rises and
   glows, and the story slide below follows it. Click, hover (mouse), arrows, keyboard or swipe. */
.tl { color: var(--white); padding-block: 8px 24px; min-width: 0; width: 100%; }
.tl-title { font: 800 clamp(36px, 5vw, 64px)/1 var(--display) !important; text-transform: uppercase; text-align: center; margin: 0; }
.tl-intro { text-align: center; color: var(--dim); margin: 14px auto 0; max-width: 52ch; }

.tl-rail { --p: 0; --n: 5; position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); align-items: end; list-style: none; margin: 40px 0 36px; padding: 0 0 4px; }
.tl-rail::before, .tl-rail::after { content: ""; position: absolute; left: calc(50% / var(--n)); bottom: 62px; height: 3px; border-radius: 3px; }
.tl-rail::before { right: calc(50% / var(--n)); background: rgba(255,255,255,.14); }
.tl-rail::after { width: calc((100% - 100% / var(--n)) * var(--p)); background: var(--red); transition: width .5s cubic-bezier(.3,.7,.2,1); }
.tl-rail li { position: relative; z-index: 1; display: flex; justify-content: center; }
.tl-rail button { display: grid; justify-items: center; gap: 0; background: none; border: 0; color: var(--dim); cursor: pointer; padding: 0 4px; font: inherit; width: 100%; }
.tl-thumb { position: relative; display: block; height: clamp(64px, 10vw, 130px); width: 100%; margin-bottom: 14px; }
.tl-thumb img { position: absolute; left: 0; right: 0; bottom: 0; margin: 0 auto; max-height: 100%; max-width: 92%; width: auto; height: auto; object-fit: contain; filter: grayscale(1) brightness(.55); opacity: .7; transform: translateY(6px) scale(.86); transform-origin: 50% 100%; transition: transform .45s cubic-bezier(.3,.7,.2,1), filter .35s, opacity .35s; }
.tl-rail i { width: 18px; height: 18px; border-radius: 50%; background: #1c1717; border: 3px solid rgba(255,255,255,.3); transition: transform .25s, background .25s, border-color .25s, box-shadow .25s; }
.tl-rail b { margin-top: 10px; font: 800 20px/1 var(--display); letter-spacing: .02em; transition: color .25s; }
.tl-rail small { margin-top: 4px; font: 600 11px var(--display); letter-spacing: .16em; text-transform: uppercase; }
.tl-rail button.past i { background: var(--red); border-color: var(--red); }
.tl-rail button.past .tl-thumb img { filter: grayscale(.6) brightness(.75); opacity: .85; }
.tl-rail button[aria-current] i { background: var(--red); border-color: var(--white); transform: scale(1.35); box-shadow: 0 0 0 7px rgba(227,32,27,.22); }
.tl-rail button[aria-current] .tl-thumb img { filter: none; opacity: 1; transform: translateY(-4px) scale(1.08); filter: drop-shadow(0 14px 24px rgba(227,32,27,.45)); }
.tl-rail button[aria-current] b, .tl-rail button[aria-current] small { color: var(--white); }
html.hover .tl-rail button:not([aria-current]):hover .tl-thumb img { filter: none; opacity: 1; transform: translateY(0) scale(.95); }
html.hover .tl-rail button:hover b { color: var(--white); }
.tl-rail button:focus-visible { outline: 2px solid var(--red); outline-offset: 4px; border-radius: 4px; }

.tl-track { display: grid; grid-auto-flow: column; grid-auto-columns: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; border-radius: 8px; }
.tl-track::-webkit-scrollbar { display: none; }
.tl-track:focus-visible { box-shadow: 0 0 0 2px var(--red); }
.tl-slide { scroll-snap-align: start; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(20px, 3vw, 36px); background: linear-gradient(135deg, #171111, #0b0808); }
.tl-media { position: relative; display: grid; place-items: center; aspect-ratio: 1; border-radius: 6px; overflow: hidden; background: radial-gradient(circle at 50% 55%, rgba(227,32,27,.35), rgba(227,32,27,0) 62%), #0e0a0a; }
.tl-year { position: absolute; inset: auto 0 2% 0; text-align: center; font: 800 clamp(90px, 15vw, 210px)/.8 var(--display); color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.14); letter-spacing: -.02em; user-select: none; }
.tl-media img { position: relative; max-width: 70%; max-height: 78%; width: auto; height: auto; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0,0,0,.6)); }
.tl-kicker { font: 600 12px var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--red-text); }
.tl-copy h3 { font: 800 clamp(40px, 5vw, 72px)/.95 var(--display) !important; text-transform: uppercase; margin: 10px 0 14px; }
.tl-spec { font: 600 15px/1.5 var(--display) !important; letter-spacing: .04em; color: var(--white); border-left: 3px solid var(--red); padding-left: 14px; margin: 0 0 18px; }
.tl-story p { color: #cfc9c6; font-size: 15px; line-height: 1.75; margin: 0 0 12px; }
.tl-story a { color: var(--red-text); font-weight: 600; }
.tl-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 14px; }
.tl-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: none; color: var(--white); font-size: 18px; cursor: pointer; transition: background .2s, opacity .2s; }
html.hover .tl-nav button:not(:disabled):hover { background: var(--red); border-color: var(--red); }
.tl-nav button:disabled { opacity: .3; cursor: default; }
.tl-close { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; padding-top: 40px; border-top: 1px solid rgba(255,255,255,.12); }
.tl-close h3 { color: var(--red-text); font-size: 26px; margin: 0 0 14px; }
.tl-close p { color: #cfc9c6; }
@media (max-width: 760px) {
  .tl-slide { grid-template-columns: 1fr; align-items: start; align-content: start; }
  .tl-media { aspect-ratio: 4 / 3; }
  .tl-rail { margin: 28px -6px 22px; }
  .tl-rail::before, .tl-rail::after { bottom: 33px; }
  .tl-rail i { width: 14px; height: 14px; border-width: 2px; }
  .tl-rail b { font-size: 14px; margin-top: 8px; }
  .tl-rail small { display: none; }
  .tl-thumb { margin-bottom: 10px; }
  .tl-close { grid-template-columns: 1fr; gap: 28px; }
}


/* ---------- Grippūl history: editorial story system ---------- */
.site-bfc .page-body .b-col:has(.gh-intro) { gap: 0; }
.site-bfc .page-body .b-text:has(.gh-intro),
.site-bfc .page-body .b-text:has(.gh-timeline),
.site-bfc .page-body .b-text:has(.gh-changes),
.site-bfc .page-body .b-text:has(.gh-pullquote),
.site-bfc .page-body .b-text:has(.gh-closing) { color: inherit; }

.gh-intro,
.gh-timeline,
.gh-changes,
.gh-pullquote,
.gh-closing {
  width: auto;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(20px, calc((100vw - 1240px) / 2 + 20px));
}
.gh-intro {
  display: grid;
  grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr);
  gap: clamp(32px, 7vw, 108px);
  align-items: start;
  padding-block: clamp(76px, 10vw, 142px);
  background: var(--black);
  color: var(--white);
}
.gh-intro-label { padding-top: 10px; }
.gh-intro h2 {
  max-width: 13ch;
  font-size: clamp(44px, 7vw, 94px);
  line-height: .9;
  letter-spacing: -.035em;
  margin: 0 0 34px;
}
.gh-origin-story { max-width: 72ch; }
.gh-origin-story p {
  color: #c9c3c0;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.8;
  margin: 0 0 18px;
}
.gh-origin-story p:last-child { margin-bottom: 0; }

/* Five generations: a quiet product baseline and one focused dark detail panel. */
.gh-timeline {
  padding-block: clamp(68px, 9vw, 120px);
  background: var(--grey);
  color: var(--ink);
}
.gh-timeline-head { max-width: 900px; margin: 0 auto 42px; }
.gh-timeline-head .kicker { color: #bd1d17; margin: 0 0 14px; }
.gh-timeline-head h2 {
  font-size: clamp(42px, 6.6vw, 84px);
  line-height: .9;
  letter-spacing: -.035em;
  margin: 0 0 18px;
}
.gh-timeline-head > p:last-child {
  max-width: 58ch;
  margin: 0;
  color: #5b5450;
  font-size: 16px;
  line-height: 1.7;
}
.gh-rail {
  display: grid;
  grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr));
  align-items: stretch;
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  border-top: 1px solid #c8c3bf;
  border-bottom: 1px solid #c8c3bf;
}
.gh-rail li { min-width: 0; }
.gh-model {
  display: grid;
  grid-template-rows: auto minmax(88px, 132px) auto auto;
  align-content: stretch;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 18px 12px 20px;
  border: 0;
  border-right: 1px solid #c8c3bf;
  background: transparent;
  color: #615a56;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.gh-rail li:last-child .gh-model { border-right: 0; }
.gh-model-no {
  font: 600 11px/1 var(--display);
  letter-spacing: .18em;
  color: #8d8580;
}
.gh-model-image {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  min-width: 0;
  min-height: 0;
  margin: 10px 0 16px;
  border-bottom: 1px solid #c8c3bf;
}
.gh-model-image img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform .25s ease, filter .25s ease;
}
.gh-model-year {
  font: 800 clamp(19px, 2.3vw, 29px)/1 var(--display);
  color: #2a2421;
  font-variant-numeric: tabular-nums;
}
.gh-model-name {
  display: block;
  margin-top: 7px;
  font: 600 11px/1.35 var(--display);
  letter-spacing: .09em;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.gh-model[aria-current="true"] { background: rgba(255,255,255,.55); color: var(--ink); }
.gh-model[aria-current="true"] .gh-model-no,
.gh-model[aria-current="true"] .gh-model-year { color: var(--red); }
.gh-model[aria-current="true"] .gh-model-image { border-bottom: 2px solid var(--red); }
html.hover .gh-model:hover { background: rgba(255,255,255,.6); color: var(--ink); }
html.hover .gh-model:hover .gh-model-image img,
.gh-model[aria-current="true"] .gh-model-image img { transform: translateY(-3px); }
.gh-model:focus-visible { outline: 2px solid var(--red); outline-offset: -4px; }

.gh-detail {
  max-width: 1200px;
  margin: clamp(28px, 4vw, 48px) auto 0;
  padding: clamp(24px, 5vw, 58px);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: linear-gradient(135deg, #211b1b, #0e0a0a 78%);
  color: var(--white);
}
.gh-detail-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}
.gh-detail-index {
  margin: 0 0 12px;
  color: var(--red-text);
  font: 600 11px/1.3 var(--display);
  letter-spacing: .18em;
  text-transform: uppercase;
}
.gh-detail-heading h3 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: .94;
  letter-spacing: -.02em;
}
.gh-tabs { display: flex; gap: 6px; flex-shrink: 0; }
.gh-tabs button {
  min-width: 76px;
  padding: 11px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 2px;
  background: transparent;
  color: #c9c3c0;
  font: 600 12px var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
}
.gh-tabs button[aria-selected="true"] {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}
.gh-detail-panel {
  max-width: 82ch;
  color: #d0c9c6;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.gh-detail-panel[hidden], .gh-tabs button[hidden] { display: none; }
.gh-detail-panel p { margin: 0 0 14px; }
.gh-detail-panel p:last-child { margin-bottom: 0; }
.gh-detail-panel a { color: var(--red-text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Four engineering changes, set like an editorial index with fine rules. */
.gh-changes {
  padding-block: clamp(76px, 10vw, 136px);
  background: var(--black);
  color: var(--white);
}
.gh-section-heading { max-width: 800px; margin-bottom: clamp(40px, 6vw, 72px); }
.gh-section-heading .kicker { margin: 0 0 16px; }
.gh-section-heading h2 {
  font-size: clamp(44px, 7vw, 92px);
  line-height: .9;
  letter-spacing: -.035em;
}
.gh-change-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.gh-change-grid article {
  min-width: 0;
  min-height: 260px;
  padding: 26px clamp(16px, 2.5vw, 32px) 32px;
  border-right: 1px solid rgba(255,255,255,.16);
}
.gh-change-grid article:first-child { padding-left: 0; }
.gh-change-grid article:last-child { border-right: 0; padding-right: 0; }
.gh-change-grid article > span {
  display: block;
  margin-bottom: clamp(38px, 5vw, 72px);
  color: var(--red-text);
  font: 600 12px var(--display);
  letter-spacing: .2em;
}
.gh-change-grid h3 {
  margin: 0 0 12px;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1;
}
.gh-change-grid p {
  margin: 0;
  color: #bcb5b2;
  font-size: 14px;
  line-height: 1.75;
}

/* The original hangboard contrast becomes a full-width pull quote. */
.gh-pullquote {
  padding-block: clamp(76px, 11vw, 150px);
  background: var(--coal);
  color: var(--white);
}
.gh-pullquote .kicker { margin: 0 0 30px; }
.gh-pullquote blockquote {
  max-width: 1120px;
  margin: 0;
  padding-left: clamp(20px, 4vw, 48px);
  border-left: 4px solid var(--red);
  font: 800 clamp(32px, 5.5vw, 70px)/1.03 var(--display);
  letter-spacing: -.025em;
  text-wrap: balance;
}

/* Closing statement and the two original legacy/evolution narratives. */
.gh-closing {
  padding-block: clamp(84px, 12vw, 160px);
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.gh-closing > .kicker { margin: 0 0 24px; }
.gh-closing > h2 {
  max-width: 1000px;
  margin: 0 auto clamp(44px, 6vw, 72px);
  font-size: clamp(52px, 9vw, 116px);
  line-height: .86;
  letter-spacing: -.045em;
}
.gh-closing-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 5vw, 68px);
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}
.gh-closing-copy > div { border-top: 1px solid rgba(255,255,255,.2); padding-top: 22px; }
.gh-closing-copy h3 {
  margin: 0 0 14px;
  color: var(--red-text);
  font-size: clamp(23px, 2.7vw, 32px);
}
.gh-closing-copy p { margin: 0 0 14px; color: #c9c3c0; font-size: 15px; line-height: 1.8; }
.gh-closing-copy p:last-child { margin-bottom: 0; }
.gh-closing-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 40px;
}
.gh-closing-actions .btn.line {
  color: var(--white);
  border-color: rgba(255,255,255,.65);
}
.gh-research-link {
  padding: 12px 8px;
  color: #c9c3c0;
  font: 600 12px var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
}
html.hover .gh-research-link:hover { color: var(--white); }
@media (max-width: 760px) {
  .gh-intro { grid-template-columns: 1fr; gap: 24px; }
  .gh-intro h2 { max-width: 15ch; }
  .gh-rail { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .gh-model { padding: 14px 6px 16px; grid-template-rows: auto minmax(62px, 90px) auto auto; }
  .gh-model-no { font-size: 9px; letter-spacing: .1em; }
  .gh-model-image { margin: 8px 0 12px; }
  .gh-model-name { font-size: 9px; letter-spacing: .02em; }
  .gh-detail-heading { align-items: flex-start; flex-direction: column; }
  .gh-change-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gh-change-grid article { min-height: 220px; padding: 22px 18px 26px; border-bottom: 1px solid rgba(255,255,255,.16); }
  .gh-change-grid article:first-child { padding-left: 18px; }
  .gh-change-grid article:nth-child(2) { border-right: 0; }
  .gh-change-grid article:nth-child(3) { border-bottom: 0; padding-left: 18px; }
  .gh-change-grid article:nth-child(4) { border-right: 0; border-bottom: 0; padding-right: 18px; }
  .gh-change-grid article > span { margin-bottom: 38px; }
  .gh-closing-copy { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .gh-model { padding-inline: 3px; grid-template-rows: auto minmax(48px, 70px) auto auto; }
  .gh-model-year { font-size: 17px; }
  .gh-model-name { font-size: 8px; line-height: 1.25; }
  .gh-detail { border-radius: 12px; }
  .gh-tabs button { min-width: 68px; padding: 10px 12px; }
  .gh-change-grid article { padding-inline: 12px; }
  .gh-change-grid article:first-child,
  .gh-change-grid article:nth-child(3) { padding-left: 12px; }
  .gh-change-grid article:nth-child(4) { padding-right: 12px; }
  .gh-closing-actions { align-items: stretch; flex-direction: column; }
  .gh-closing-actions .btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .gh-model, .gh-model-image img, .gh-tabs button { transition: none; }
}

/* ---------- History detail panel as an engineering drawing ----------
   Square sheet, faint drafting grid, corner registration marks, a framed FIG with crosshairs and
   dimension lines, a numbered spec sheet with hairlines, and a title block. */
.gh-detail {
  --line: rgba(255,255,255,.14); --faint: rgba(255,255,255,.05);
  position: relative; border-radius: 0; border: 1px solid var(--line);
  background:
    linear-gradient(var(--faint) 1px, transparent 1px) 0 0 / 24px 24px,
    linear-gradient(90deg, var(--faint) 1px, transparent 1px) 0 0 / 24px 24px,
    #0f0b0b;
}
.gh-detail::before, .gh-detail::after { content: ""; position: absolute; width: 18px; height: 18px; border: 0 solid rgba(255,255,255,.55); pointer-events: none; }
.gh-detail::before { top: 10px; left: 10px; border-top-width: 1px; border-left-width: 1px; }
.gh-detail::after { bottom: 10px; right: 10px; border-bottom-width: 1px; border-right-width: 1px; }
.gh-detail-heading { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.gh-tabs button { border-radius: 0; }
.gh-detail-body { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 56px); align-items: start; }

.gh-drawing { position: relative; margin: 0; aspect-ratio: 1; border: 1px solid var(--line); display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 46%, rgba(227,32,27,.16), rgba(227,32,27,0) 58%); }
.gh-drawing::before, .gh-drawing::after { content: ""; position: absolute; background: rgba(255,255,255,.12); }
.gh-drawing::before { left: 50%; top: 8%; bottom: 20%; width: 1px; }      /* vertical centre line */
.gh-drawing::after { top: 46%; left: 8%; right: 8%; height: 1px; }        /* horizontal centre line */
.gh-drawing img { position: absolute; z-index: 1; left: 0; right: 0; top: 44px; bottom: 64px; margin: auto; max-width: 64%; max-height: calc(100% - 118px); width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.6)); }
.gh-fig { position: absolute; top: 12px; left: 14px; font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .14em; color: var(--red-text); }
.gh-dim { position: absolute; border-color: rgba(255,255,255,.35); border-style: solid; }
.gh-dim-x { left: 17%; right: 17%; top: 6%; height: 8px; border-width: 0 1px; }                 /* width callout */
.gh-dim-x::after { content: ""; position: absolute; left: 0; right: 0; top: 4px; border-top: 1px dashed rgba(255,255,255,.3); }
.gh-dim-y { top: 14%; bottom: 26%; right: 6%; width: 8px; border-width: 1px 0; }                 /* height callout */
.gh-dim-y::after { content: ""; position: absolute; top: 0; bottom: 0; left: 4px; border-left: 1px dashed rgba(255,255,255,.3); }
.gh-titleblock { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 2fr 1fr 1fr; border-top: 1px solid var(--line); background: rgba(14,10,10,.85); }
.gh-titleblock span { padding: 8px 12px; font: 600 9px/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.gh-titleblock span + span { border-left: 1px solid var(--line); }
.gh-titleblock { z-index: 2; }
.gh-titleblock span { min-width: 0; }
.gh-titleblock b { display: block; margin-top: 4px; font: 700 14px/1 var(--display); letter-spacing: .06em; color: var(--white); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.gh-detail-panels { min-width: 0; }
.gh-detail-panel { max-width: none; }
.gh-sheet { margin: 0; border-top: 1px solid var(--line); }
.gh-sheet > div { display: grid; grid-template-columns: 34px minmax(96px, 30%) 1fr; gap: 12px; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); }
.gh-sheet-no { font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: var(--red-text); letter-spacing: .08em; }
.gh-sheet dt { font: 600 11px/1.3 var(--display); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.gh-sheet dd { margin: 0; font: 700 clamp(16px, 1.6vw, 20px)/1.25 var(--display); letter-spacing: .02em; color: var(--white); }
.gh-note { margin: 18px 0 0 !important; padding: 12px 14px; border: 1px dashed var(--line); font-size: 14px !important; line-height: 1.65 !important; color: #b9b2ae; }
.gh-note span { display: inline-block; margin-right: 10px; font: 600 10px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .16em; text-transform: uppercase; color: var(--red-text); }
@media (max-width: 760px) {
  .gh-detail { border-radius: 0; }
  .gh-detail-body { grid-template-columns: 1fr; }
  .gh-drawing { aspect-ratio: 1; }
  .gh-titleblock b { font-size: 12px; }
  .gh-sheet > div { grid-template-columns: 28px 1fr; }
  .gh-sheet dd { grid-column: 2; }
}
/* ~20% shorter drawing panel: wider-than-tall frame, tighter padding */
.gh-detail { padding: clamp(20px, 3.6vw, 42px); }
.gh-detail-heading { margin-bottom: 22px; padding-bottom: 16px; }
.gh-detail-heading h3 { font-size: clamp(32px, 4.2vw, 54px); }
.gh-drawing { aspect-ratio: 5 / 4; }
.gh-drawing img { top: 36px; bottom: 56px; max-height: calc(100% - 102px); }
.gh-sheet > div { padding: 11px 0; }
@media (max-width: 760px) { .gh-drawing { aspect-ratio: 4 / 3; } }
/* selector row sits flush on the drawing panel (shared edge, no gap) */
.gh-detail { margin-top: 0; border-top: 0; }
.gh-rail { border-bottom: 0; }

/* ---------- History origin: chapter titles (left) switch the story (right) ---------- */
.site-bfc .page-body .b-col:has(.gh-chapters) { gap: 0; }
.gh-chapter-list { display: grid; margin-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
.gh-chapter-list button { display: grid; grid-template-columns: 30px 1fr; grid-template-rows: auto auto; column-gap: 10px; text-align: left; padding: 18px 0 18px 14px; border: 0; border-bottom: 1px solid rgba(255,255,255,.14); border-left: 3px solid transparent; background: none; color: #8f8784; cursor: pointer; font: inherit; transition: color .2s, border-color .2s, background .2s; }
.gh-ch-no { grid-row: 1 / 3; padding-top: 4px; font: 600 11px/1 var(--display); letter-spacing: .14em; color: #6f6865; }
.gh-ch-title { font: 700 clamp(17px, 1.6vw, 21px)/1.15 var(--display); letter-spacing: .02em; text-transform: uppercase; }
.gh-ch-years { margin-top: 6px; font: 600 12px/1 var(--display); letter-spacing: .14em; color: #6f6865; }
.gh-chapter-list button[aria-selected="true"] { color: var(--white); border-left-color: var(--red); background: linear-gradient(90deg, rgba(227,32,27,.10), rgba(227,32,27,0)); }
.gh-chapter-list button[aria-selected="true"] .gh-ch-no, .gh-chapter-list button[aria-selected="true"] .gh-ch-years { color: var(--red-text); }
html.hover .gh-chapter-list button:hover { color: var(--white); }
.gh-chapter-list button:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }
.gh-chapter[hidden] { display: none; }
.gh-chapter { animation: ghChIn .35s ease; }
@keyframes ghChIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .gh-chapter { animation: none; } }
.gh-chapters > * { min-width: 0; }
@media (max-width: 760px) {
  .gh-chapter-list { margin-top: 16px; }
  .gh-chapter-list button { grid-template-columns: 26px 1fr auto; grid-template-rows: auto; align-items: baseline; padding: 12px 0 12px 10px; }
  .gh-ch-no { grid-row: auto; padding-top: 0; }
  .gh-ch-title { font-size: 16px; }
  .gh-ch-years { margin-top: 0; padding-right: 4px; }
}

/* ---------- health disclaimer (Grippul pages) ---------- */
.disclaimer { margin: clamp(40px, 6vw, 72px) 0 clamp(24px, 4vw, 48px); padding: 22px clamp(18px, 3vw, 28px); border: 1px solid rgba(255,255,255,.14); border-left: 3px solid var(--red); background: rgba(255,255,255,.03); }
.disclaimer b { display: block; margin-bottom: 8px; font: 600 11px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--red-text); }
.disclaimer p { margin: 0; max-width: 90ch; font-size: 13px !important; line-height: 1.7; color: #a9a29e; }
.page-body .b-text:has(> .disclaimer) { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(16px, 3vw, 32px); }
.page-body .b-text > .disclaimer { margin: 0; }

/* ---------- product pages: schematic look ----------
   Large engineering lines (no grid squares): construction and centre lines across the image frame,
   dimension lines with end ticks, corner marks, a FIG label; specs as numbered rows with hairlines. */
.product-page .gallery { position: relative; }
.product-page .g-main { position: relative; border-radius: 0; border: 1px solid #cfc9c5; background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(23,19,19,.10) calc(50% - .5px), rgba(23,19,19,.10) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(0deg, transparent calc(50% - .5px), rgba(23,19,19,.10) calc(50% - .5px), rgba(23,19,19,.10) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(135deg, transparent calc(50% - .5px), rgba(23,19,19,.05) calc(50% - .5px), rgba(23,19,19,.05) calc(50% + .5px), transparent calc(50% + .5px)),
    #fff; }
.product-page .g-main::before, .product-page .g-main::after { content: ""; position: absolute; width: 22px; height: 22px; border: 0 solid #171313; pointer-events: none; }
.product-page .g-main::before { top: 10px; left: 10px; border-top-width: 1.5px; border-left-width: 1.5px; }
.product-page .g-main::after { bottom: 10px; right: 10px; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.product-page .g-main img { position: relative; z-index: 1; }
.product-page .gallery::before { content: "FIG. 01"; position: absolute; z-index: 2; top: 14px; right: 16px; font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .16em; color: #b51c17; }
/* dimension line under the image: |———————| */
.product-page .gallery::after { content: ""; display: block; height: 9px; margin: 12px 0 4px; border-left: 1px solid #8f8784; border-right: 1px solid #8f8784;
  background: linear-gradient(#8f8784, #8f8784) center / 100% 1px no-repeat; }
.product-page .g-thumbs button { border-radius: 0; }

/* spec lists: numbered rows with hairlines */
.product-page .p-excerpt ul { list-style: none; margin: 0 0 22px; padding: 0; counter-reset: spec; border-top: 1px solid #d6d0cc; }
.product-page .p-excerpt li { counter-increment: spec; display: grid; grid-template-columns: 34px 1fr; align-items: baseline; padding: 10px 0; border-bottom: 1px solid #d6d0cc; }
.product-page .p-excerpt li::before { content: counter(spec, decimal-leading-zero); font: 600 11px/1 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; color: #b51c17; letter-spacing: .06em; }
.product-page .p-excerpt li p { margin: 0; }
/* section labels (PACKAGE INCLUDES, FEATURES) */
.product-page .p-excerpt p:has(> strong:only-child), .product-page .p-excerpt > h3:not(:has(a)) { margin: 22px 0 10px; font: 600 11px/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .18em; text-transform: uppercase; color: #171313; }
.product-page .p-excerpt p:has(> strong:only-child) strong { font-weight: 600; }
/* resource links: separate outlined buttons */
.product-page .p-excerpt p:has(> a + a), .product-page .p-excerpt li p:has(> a + a) { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.product-page .p-excerpt p:has(> a + a) > a { display: inline-flex; align-items: center; padding: 9px 14px; border: 1px solid #171313; color: #171313; text-decoration: none; font: 600 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; transition: background .2s, color .2s; }
.product-page .p-excerpt p:has(> a + a) > a :is(strong, u) { font-weight: inherit; text-decoration: none; }
html.hover .product-page .p-excerpt p:has(> a + a) > a:hover { background: #171313; color: #fff; }
/* the closing footnote reads as a drawing note */
.product-page .p-excerpt > p:last-child:not(:has(> a + a)) { margin-top: 14px; padding: 10px 12px; border: 1px dashed #cfc9c5; font-size: 13px; line-height: 1.6; color: #5b5450; }
.product-page .p-excerpt li > * { grid-column: 2; }
.product-page .g-main { background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(23,19,19,.16) calc(50% - .5px), rgba(23,19,19,.16) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(0deg, transparent calc(50% - .5px), rgba(23,19,19,.16) calc(50% - .5px), rgba(23,19,19,.16) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(135deg, transparent calc(50% - .5px), rgba(23,19,19,.07) calc(50% - .5px), rgba(23,19,19,.07) calc(50% + .5px), transparent calc(50% + .5px)),
    linear-gradient(45deg, transparent calc(50% - .5px), rgba(23,19,19,.07) calc(50% - .5px), rgba(23,19,19,.07) calc(50% + .5px), transparent calc(50% + .5px)),
    #fff; }
.product-page .g-main img { mix-blend-mode: multiply; }   /* white photo backgrounds let the construction lines through */
.product-page .p-buy .btn.line { color: #171313; border-color: #171313; }
html.hover .product-page .p-buy .btn.line:hover { background: #171313; color: #fff; }

/* product pages: text on black matches the tool pages (Montserrat Light 14px, white; Barlow bold lead lines) */
.product-details .b-text, .product-details .b-text p:not(.b-credit), .product-details .b-text li { font-weight: 300; font-size: 14px; line-height: 1.65; color: var(--white); }
.product-details .b-text strong { font-weight: 600; }
/* the opening line (a paragraph that is entirely bold) reads as a Barlow lead, like the tool pages' headings */
.product-details .b-text > p:first-child:has(> strong:only-child) { font: 700 18.72px/1.4 var(--display); letter-spacing: .01em; }
.product-details .b-text > p:first-child:has(> strong:only-child) strong { font-weight: inherit; }
.product-details .b-gallery figcaption { font-size: 14px; font-weight: 300; line-height: 1.55; color: #e9e5e3; opacity: 1; }
/* "get notified" jump: brief highlight on the footer signup form */
.news-flash { animation: newsFlash 1.6s ease; }
@keyframes newsFlash { 0%, 60% { box-shadow: 0 0 0 3px var(--red); } 100% { box-shadow: 0 0 0 3px rgba(227,32,27,0); } }
@media (prefers-reduced-motion: reduce) { .news-flash { animation: none; outline: 3px solid var(--red); } }

/* Compact shared Grippūl band for BFC product pages; tool-page hero dimensions remain unchanged. */
.page-hero.has-logo.compact .wrap { padding-block: 40px 34px; }
.page-hero.compact .page-hero-title { margin-top: 8px; }
.page-hero.compact .section-menu { margin-top: 16px; }
@media (max-width: 760px) {
  .page-hero.compact .page-hero-title { gap: 14px 28px; }
}
@media (max-width: 560px) {
  .page-hero.has-logo.compact .wrap { padding-block: 29px 24px; }
}

/* BFC shop: a clean white catalog with a quiet outline around each product. */
.site-bfc .shop-page { background: var(--white); color: var(--ink); }
.site-bfc .shop-page .prod { border: 1px solid #e2dfdc; border-radius: 4px; box-shadow: none; }
.site-bfc .shop-page .prod .pimg { padding: 0; overflow: hidden; }
.site-bfc .shop-page .prod .pimg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.site-bfc .shop-page .prod .pimg img.is-portrait { object-fit: cover; object-position: center top; }
.site-bfc .shop-page .prod .pimg .flag { z-index: 1; }
.site-bfc .shop-page .prod .info { border-top-color: #e2dfdc; }
html.hover .site-bfc .shop-page .prod:hover { border-color: var(--red); box-shadow: none; }

/* Product purchase summaries: keep legacy product copy readable and consistent.
   The shared .b-text rules are intended for long-form details, not the compact buy panel. */
.site-bfc .product-page .p-excerpt {
  color: #d9d4d2;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.site-bfc .product-page .p-excerpt > :first-child { margin-top: 0; }
.site-bfc .product-page .p-excerpt p { margin: 0 0 10px; }
.site-bfc .product-page .p-excerpt h1,
.site-bfc .product-page .p-excerpt h2,
.site-bfc .product-page .p-excerpt h3,
.site-bfc .product-page .p-excerpt h4 {
  color: var(--white);
  font-family: var(--display);
  line-height: 1.2;
  margin: 14px 0 7px;
}
.site-bfc .product-page .p-excerpt h1 { font-size: 24px; }
.site-bfc .product-page .p-excerpt h2 { font-size: 21px; }
.site-bfc .product-page .p-excerpt h3 { font-size: 18px; }
.site-bfc .product-page .p-excerpt h4 { font-size: 15px; }
.site-bfc .product-page .p-excerpt ul,
.site-bfc .product-page .p-excerpt ol { padding-left: 18px; margin: 0 0 12px; }
.site-bfc .product-page .p-excerpt li { margin-bottom: 4px; }
.site-bfc .product-page .p-excerpt a { color: var(--red-text); text-decoration: underline; text-underline-offset: 2px; }

/* keep the schematic spec rows over the compact-summary defaults (flush rows, dark section labels) */
.site-bfc .product-page .p-excerpt ul { padding-left: 0; margin: 0 0 22px; }
.site-bfc .product-page .p-excerpt li { margin-bottom: 0; }
.site-bfc .product-page .p-excerpt > h3:not(:has(a)) { margin: 22px 0 10px; color: #171313; font: 600 11px/1.2 ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; letter-spacing: .18em; text-transform: uppercase; }
/* shop cards: a long name pushes the price onto its own line instead of off the card */
.site-bfc .shop-page .prod .info { flex-wrap: wrap; row-gap: 4px; }
.site-bfc .shop-page .prod .price { margin-left: auto; }


/* ---------- Beast Fingers About: editorial sections and interactive wheel ---------- */
.about-page { width: 100%; overflow: clip; background: var(--black); color: var(--white); }
.about-page .about-wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: 24px; }
.about-page .about-hero { position: relative; isolation: isolate; min-height: 620px; height: min(76vh, 720px); overflow: hidden; background: #090707; }
.about-page .about-slides, .about-page .about-hero-shade { position: absolute; inset: 0; }
.about-page .about-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.about-page .about-slides img.is-active { opacity: 1; }
.about-page .about-hero-shade { z-index: 0; background: linear-gradient(90deg, rgba(14,10,10,.72), rgba(14,10,10,.48) 42%, rgba(14,10,10,.12) 76%), linear-gradient(0deg, rgba(14,10,10,.25), transparent 40%); }
.about-page .about-hero-copy { position: relative; z-index: 3; width: min(560px, 47%); margin-left: max(24px, calc((100vw - 1240px) / 2 + 24px)); padding-top: clamp(120px, 16vh, 190px); }
.about-page .about-hero-copy .kicker { margin-bottom: 20px; color: #ff5b51; font-size: 11px; }
.about-page .about-hero h1 { max-width: 8.7ch; font-size: clamp(48px, 6vw, 84px); line-height: .94; letter-spacing: -.015em; font-weight: 800; }
.about-page .about-hero h1 strong { color: var(--red-text); font-weight: inherit; }
.about-page .bf-wheel { position: absolute; z-index: 1; left: 66%; top: 50%; width: 820px; height: 820px; transform: translate(-50%,-50%) scale(var(--wheel-scale,1)); transform-origin: center; pointer-events: none; }
.about-page .bf-wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.about-page .bf-wheel circle { fill: none; stroke: #fff; transform-box: view-box; transform-origin: 410px 410px; }
.about-page .bf-wheel .r1 { animation: bf-about-ccw 60s linear infinite; }
.about-page .bf-wheel .r2 { animation: bf-about-cw 80s linear infinite; }
.about-page .bf-wheel .r3 { animation: bf-about-ccw 100s linear infinite; }
.about-page .bf-wheel .r4 { animation: bf-about-cw 120s linear infinite; }
.about-page .bf-wheel img { position: absolute; left: 50%; top: 50%; width: 220px; max-width: none; transform: translate(-50%,-50%); }
@keyframes bf-about-ccw { to { transform: rotate(-360deg); } }
@keyframes bf-about-cw { to { transform: rotate(360deg); } }
.about-page .about-hero-index { position: absolute; z-index: 3; left: 24px; bottom: 22px; display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.78); font: 600 10px/1 var(--display); letter-spacing: .18em; }
.about-page .about-hero-index i { display: inline-block; width: 22px; height: 2px; background: var(--red); }
.about-page .about-band { padding-block: clamp(64px, 8vw, 112px); }
.about-page .about-origin, .about-page .about-values { background: var(--grey); color: var(--ink); }
.about-page .about-programs, .about-page .about-facility { background: var(--black); color: var(--white); }
.about-page .about-label { margin: 0; color: var(--red-text); font: 700 11px/1.3 var(--display); letter-spacing: .22em; text-transform: uppercase; }
.about-page .about-origin-grid { display: grid; grid-template-columns: minmax(150px, .7fr) minmax(0, 1.6fr); gap: clamp(30px, 7vw, 110px); }
.about-page .about-origin h2, .about-page .about-section-head h2 { max-width: 17ch; margin: 0 0 28px; font-size: clamp(36px, 4.8vw, 64px); line-height: .98; letter-spacing: -.015em; }
.about-page .about-section-head h2 span { color: var(--red); }
.about-page .about-copy { font-size: 15px; line-height: 1.85; font-weight: 400; }
.about-page .about-copy p { max-width: 72ch; margin: 0 0 14px; }
.about-page .about-copy p:last-child { margin-bottom: 0; }
.about-page .about-copy strong { font-weight: 700; }
.about-page .about-milestones { display: grid; grid-template-columns: 1fr 1fr; margin-top: 34px; border-top: 1px solid rgba(27,23,23,.22); }
.about-page .about-milestones > div { display: flex; align-items: baseline; gap: 15px; padding: 18px 16px 0 0; }
.about-page .about-milestones b { color: var(--red); font: 800 30px/1 var(--display); }
.about-page .about-milestones span { font-size: 12px; font-weight: 600; }
.about-page .about-section-head { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(0,1.6fr); gap: clamp(30px,7vw,110px); align-items: start; margin-bottom: 34px; }
.about-page .about-section-head h2 { margin: -7px 0 0; }
.about-page .about-program-tabs { display: flex; gap: 0; overflow-x: auto; border-top: 1px solid rgba(255,255,255,.2); border-bottom: 1px solid rgba(255,255,255,.2); scrollbar-width: thin; scrollbar-color: var(--red) transparent; }
.about-page .about-program-tabs button { flex: 1 0 auto; min-height: 68px; padding: 12px 18px; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #c6c0be; cursor: pointer; font: 700 13px/1.25 var(--display); letter-spacing: .045em; text-align: left; }
.about-page .about-program-tabs button[aria-selected="true"] { color: var(--white); border-bottom-color: var(--red); background: rgba(255,255,255,.035); }
html.hover .about-page .about-program-tabs button:hover { color: var(--white); }
.about-page .about-program-panels { border-bottom: 1px solid rgba(255,255,255,.2); }
.about-page .about-program-panel { display: grid; grid-template-columns: minmax(0,1fr) minmax(220px,.7fr); gap: 48px; align-items: center; min-height: 290px; padding: 38px 0 44px; }
.about-page .about-program-panel[hidden] { display: none; }
.about-page .about-program-no { margin: 0 0 14px; color: var(--red-text); font: 600 11px/1 var(--display); letter-spacing: .15em; }
.about-page .about-program-panel h3 { margin-bottom: 18px; font-size: clamp(30px, 3.8vw, 48px); line-height: 1; }
.about-page .about-program-copy .about-copy { max-width: 66ch; color: #d5cfcd; }
.about-page .about-program-logo { display: grid; place-items: center; min-height: 170px; padding: 28px; border: 1px solid rgba(255,255,255,.12); background: radial-gradient(ellipse at center, #292323 0%, #100d0d 72%); }
body.site-bfk .about-page .about-program-logo { border-color: rgba(0,0,0,.12); background: radial-gradient(ellipse at center, #fff 0%, #f4f2ef 72%); }
.about-page .about-program-logo img { width: min(100%, 300px); max-height: 110px; object-fit: contain; }
.about-page .about-text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; color: inherit; font: 700 12px/1.4 var(--display); letter-spacing: .13em; text-transform: uppercase; border-bottom: 1px solid var(--red); padding-bottom: 8px; }
.about-page .about-text-link span { color: var(--red-text); font-size: 16px; }
html.hover .about-page .about-text-link:hover { color: var(--red-text); }
.about-page .about-values .about-section-head { margin-bottom: 44px; }
.about-page .about-value-grid { display: grid; grid-template-columns: repeat(var(--value-cols, 4), minmax(0,1fr)); border-top: 1px solid rgba(27,23,23,.22); border-left: 1px solid rgba(27,23,23,.22); }
.about-page .about-value-grid article { min-height: 230px; padding: 22px 20px 24px; border-right: 1px solid rgba(27,23,23,.22); border-bottom: 1px solid rgba(27,23,23,.22); }
.about-page .about-value-no { display: block; margin-bottom: 36px; color: var(--red); font: 800 28px/1 var(--display); }
.about-page .about-value-grid h3 { margin-bottom: 12px; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.05; }
.about-page .about-value-grid p { margin: 0; font-size: 13px; line-height: 1.7; }
.about-page .about-facility-head { display: grid; grid-template-columns: minmax(150px,.7fr) minmax(0,1.6fr); gap: clamp(30px,7vw,110px); align-items: start; margin-bottom: 40px; }
.about-page .about-facility blockquote { margin: -10px 0 0; max-width: 24ch; font: 700 clamp(28px, 4vw, 54px)/1.08 var(--display); letter-spacing: -.015em; }
.about-page .about-photo-mosaic { display: grid; grid-template-columns: 1.15fr 1fr 1fr; grid-template-rows: 220px 190px; gap: 10px; }
.about-page .about-facility-photo { margin: 0; min-width: 0; overflow: hidden; background: var(--coal); }
.about-page .about-facility-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-page .about-facility-photo-1 { grid-row: span 2; }
.about-page .about-facility-photo-4 { grid-column: 2; }
.about-page .about-facility-photo-5 { grid-column: 3; }
.about-page .about-closing { padding-block: clamp(74px, 10vw, 132px); text-align: center; background: var(--grey); color: var(--ink); }
.about-page .about-closing .about-label { margin-bottom: 22px; }
.about-page .about-closing h2 { max-width: 18ch; margin: 0 auto; font-size: clamp(42px, 6.6vw, 86px); line-height: .96; letter-spacing: -.02em; }
.about-page .about-closing-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 34px; }
.about-page .about-closing .btn.line { color: var(--ink); border-color: var(--ink); }
html.hover .about-page .about-closing .btn.line:hover { background: var(--ink); color: var(--white); }
.about-page .about-closing .about-text-link { margin-top: 0; }
@media (max-width: 900px) {
  .about-page .about-hero-copy { width: 44%; }
  .about-page .about-hero h1 { font-size: clamp(44px, 6.2vw, 66px); }
  .about-page .about-origin-grid, .about-page .about-section-head, .about-page .about-facility-head { grid-template-columns: 1fr 2fr; gap: 32px; }
  .about-page .about-value-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .about-page .about-value-grid article { min-height: 190px; }
  .about-page .about-photo-mosaic { grid-template-rows: 180px 150px; }
}
@media (max-width: 760px) {
  .about-page .about-hero { height: 520px; min-height: 520px; }
  .about-page .about-hero-shade { background: linear-gradient(180deg, rgba(14,10,10,.08), rgba(14,10,10,.12) 35%, rgba(14,10,10,.82) 100%); }
  .about-page .bf-wheel { left: auto; right: -130px; top: 28%; --wheel-scale: .5; }
  .about-page .about-hero-copy { position: absolute; left: 0; right: 0; bottom: 24px; width: auto; margin: 0; padding: 0 22px; }
  .about-page .about-hero-copy .kicker { margin-bottom: 10px; font-size: 9px; }
  .about-page .about-hero h1 { max-width: 13ch; font-size: clamp(32px, 8.5vw, 48px); line-height: .98; }
  .about-page .about-hero-index { display: none; }
  .about-page .about-wrap { padding-inline: 20px; }
  .about-page .about-origin-grid, .about-page .about-section-head, .about-page .about-facility-head { grid-template-columns: 1fr; gap: 22px; }
  .about-page .about-origin h2, .about-page .about-section-head h2 { margin-bottom: 20px; font-size: clamp(36px, 9vw, 52px); }
  .about-page .about-section-head { margin-bottom: 28px; }
  .about-page .about-program-tabs button { min-height: 60px; padding-inline: 14px; font-size: 12px; }
  .about-page .about-program-panel { grid-template-columns: 1fr; gap: 28px; padding-block: 30px; }
  .about-page .about-program-logo { min-height: 130px; }
  .about-page .about-program-logo img { max-height: 82px; }
  .about-page .about-value-grid article { padding: 18px 14px 20px; min-height: 200px; }
  .about-page .about-value-no { margin-bottom: 26px; }
  .about-page .about-value-grid h3 { font-size: 19px; }
  .about-page .about-photo-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 190px 140px 140px; gap: 8px; }
  .about-page .about-facility-photo-1 { grid-column: 1 / -1; grid-row: auto; }
  .about-page .about-facility-photo-3 { grid-column: 1 / -1; }
  .about-page .about-facility-photo-4, .about-page .about-facility-photo-5 { grid-column: auto; }
  .about-page .about-facility blockquote { margin-top: 0; font-size: clamp(30px, 7.5vw, 42px); }
  .about-page .about-closing-actions { flex-direction: column; align-items: stretch; }
  .about-page .about-closing-actions .btn, .about-page .about-closing-actions .about-text-link { justify-content: center; }
}
@media (max-width: 390px) {
  .about-page .about-hero h1 { font-size: 31px; }
  .about-page .about-value-grid article { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .about-page .bf-wheel circle { animation: none !important; }
  .about-page .about-slides img { transition: none !important; }
}
/* About review fixes: the page's grid column sizes to its widest content (446px page on a 390px phone); full-bleed to the footer; hero text clear of the wheel */
.b-col:has(> .about-page) { grid-template-columns: minmax(0, 1fr); }
.b-row:has(> .b-col > .about-page) { margin-bottom: 0; }
.about-page .about-hero-copy { width: min(440px, 38%); }
.about-page .about-hero h1 { max-width: none; font-size: clamp(40px, 4.2vw, 58px); line-height: .98; }
.about-page .bf-wheel { left: 70%; }
@media (min-width: 761px) and (max-width: 1100px) { .about-page .bf-wheel { --wheel-scale: .8; } .about-page .about-hero-copy { width: 40%; } }
@media (max-width: 760px) {
  .about-page .bf-wheel { left: 50%; }
  .about-page .about-hero-copy { width: auto; }
  .about-page .about-hero h1 { font-size: clamp(30px, 8.5vw, 40px); }
  .about-page .about-facility-photo-3 { grid-column: auto; }
}


/* ---------- BFC shopping cart ---------- */
.bfc-cart-link, .bfc-cart-button { position: relative; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 42px; height: 42px; padding: 5px; color: var(--white); background: transparent; border: 0; cursor: pointer; }
.bfc-cart-link { margin-left: 2px; }
.bfc-cart-count { position: absolute; top: -1px; right: -2px; display: grid; place-items: center; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 50px; background: var(--red); color: #fff; font: 700 10px/1 var(--body); box-shadow: 0 0 0 2px var(--black); }
.bfc-cart-count[hidden] { display: none; }
.bfc-cart-button { order: 3; }
.bfc-cart-button svg, .bfc-cart-link svg { display: block; }
html.hover .bfc-cart-link:hover, html.hover .bfc-cart-button:hover { color: var(--red-text); }
.bfc-cart-drawer[hidden] { display: none; }
.bfc-cart-drawer { position: fixed; inset: 0; z-index: 1000; display: flex; justify-content: flex-end; color: var(--white); }
.bfc-cart-shade { position: absolute; inset: 0; background: rgba(0,0,0,.68); }
.bfc-cart-panel { position: relative; display: flex; flex-direction: column; width: min(520px, 100%); height: 100%; padding: 26px; overflow: auto; background: #151111; border-left: 1px solid rgba(255,255,255,.14); box-shadow: -20px 0 60px rgba(0,0,0,.3); }
.bfc-cart-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.15); }
.bfc-cart-head h2 { font-size: 28px; }
.bfc-cart-close { border: 0; background: none; color: white; font-size: 32px; line-height: 1; cursor: pointer; }
.bfc-cart-content { display: flex; flex: 1; flex-direction: column; padding-top: 20px; }
.bfc-cart-items, .bfc-cart-page-items { display: grid; gap: 18px; }
.bfc-cart-item { display: grid; grid-template-columns: 68px minmax(0,1fr) auto; align-items: start; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,.12); }
.bfc-cart-thumb { width: 68px; aspect-ratio: 1; display: grid; place-items: center; overflow: hidden; background: #292424; }
.bfc-cart-thumb img { width: 100%; height: 100%; object-fit: contain; }
.bfc-cart-item-info { display: grid; gap: 4px; min-width: 0; }
.bfc-cart-item-info b { line-height: 1.3; }
.bfc-cart-item-info > span, .bfc-cart-note { color: var(--dim); font-size: 12px; }
.bfc-cart-qty { display: flex; align-items: center; gap: 10px; margin-top: 7px; font-size: 13px; }
.bfc-cart-qty button { min-width: 26px; height: 26px; border: 1px solid rgba(255,255,255,.25); background: transparent; color: white; cursor: pointer; }
.bfc-cart-qty .bfc-cart-remove { width: auto; border: 0; color: var(--dim); text-decoration: underline; }
.bfc-cart-item > strong { font-size: 13px; white-space: nowrap; }
.bfc-cart-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.15); font-size: 18px; }
.bfc-cart-note { line-height: 1.5; margin: 12px 0; }
.bfc-cart-checkout { width: 100%; justify-content: center; margin-top: 12px; }
.bfc-cart-checkout:disabled { opacity: .6; cursor: not-allowed; }
.bfc-cart-empty { margin: 20px 0; color: var(--dim); }
.bfc-cart-page { min-height: 45vh; background: var(--black); padding: 42px 0 80px; }
.bfc-cart-page .wrap { max-width: 900px; }
.bfc-cart-page-items .bfc-cart-item { padding: 20px 0; }
.bfc-cart-page .bfc-cart-total { margin-top: 26px; }
.prod-link { display: block; }
.prod-add { margin: 0 16px 18px; width: calc(100% - 32px); justify-content: center; }
.cart-offer { cursor: pointer; font: 700 12px/1.2 var(--body); letter-spacing: .05em; }
@media (max-width: 1020px) { .bfc-cart-button { margin-left: auto; } }
@media (max-width: 560px) {
  .bfc-cart-panel { padding: 20px 16px; }
  .bfc-cart-item { grid-template-columns: 56px minmax(0,1fr); }
  .bfc-cart-thumb { width: 56px; }
  .bfc-cart-item > strong { grid-column: 2; }
}


/* Product variant selector */
.product-variant-select { display: grid; gap: .45rem; max-width: 360px; margin: 1rem 0; font-weight: 600; }
.product-variant-select select { width: 100%; min-height: 44px; padding: .65rem .8rem; border: 1px solid var(--line, #ccc); border-radius: 6px; background: var(--surface, #fff); color: inherit; font: inherit; }


/* Product-page quantity selector: compact, accessible, and aligned with the red/black brand. */
.product-page .product-quantity {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 220px; margin: 0 0 14px; color: #171313; font-weight: 600;
}
.product-page .product-quantity-control { display: inline-flex; align-items: center; border: 1px solid #b8b0ac; background: #fff; color: #171313; }
.product-page .product-quantity-control button { display: grid; place-items: center; width: 38px; height: 40px; padding: 0; border: 0; background: transparent; color: #171313; font: 600 22px/1 var(--display); cursor: pointer; }
.product-page .product-quantity-control button:focus-visible, .product-page .product-quantity-control input:focus-visible { outline: 2px solid #e3201b; outline-offset: 2px; z-index: 1; }
.product-page .product-quantity-control input { box-sizing: border-box; width: 44px; height: 40px; padding: 0; border: 0; border-left: 1px solid #e0dcda; border-right: 1px solid #e0dcda; border-radius: 0; background: #fff; color: #171313; text-align: center; font: 600 15px/1 var(--display); appearance: textfield; -moz-appearance: textfield; }
.product-page .product-quantity-control input::-webkit-inner-spin-button, .product-page .product-quantity-control input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
html.hover .product-page .product-quantity-control button:hover { background: #f0e9e6; }
.product-page .product-quantity + .btn { margin-top: 0; }


/* BFK competition page: compact in-hero anchors to the BFTI sections. */
.about-page .about-hero-section-links { display:flex; flex-wrap:wrap; gap:8px 18px; margin-top:26px; max-width:580px; }
.about-page .about-hero-section-links a { color:#fff; font:700 12px/1.3 var(--display); letter-spacing:.12em; text-transform:uppercase; padding:8px 0; border-bottom:2px solid rgba(255,255,255,.35); transition:border-color .2s,color .2s; }
.about-page .about-hero-section-links a:hover, .about-page .about-hero-section-links a:focus-visible { color:var(--red-text); border-bottom-color:var(--red); }
.about-page .about-band[id] { scroll-margin-top:92px; }
@media(max-width:700px) { .about-page .about-hero-section-links { gap:4px 14px; margin-top:20px; } .about-page .about-hero-section-links a { font-size:11px; } }


/* ---------- BFK contact page: BFC layout, adapted for the light page ---------- */
.b-form[data-form="BFK Contact"] {
  background: #fff;
  color: #211c1a;
  border: 1px solid #e7e3e0;
  border-radius: 3px;
  padding: clamp(22px, 3vw, 36px);
  gap: 24px;
  box-shadow: 0 8px 28px rgba(20,16,12,.045);
}
.b-form[data-form="BFK Contact"] .f-grid { gap: 20px 22px; }
.b-form[data-form="BFK Contact"] .f-field label {
  color: #3d3735;
  font-size: 11px;
  letter-spacing: .16em;
}
.b-form[data-form="BFK Contact"] .f-field input,
.b-form[data-form="BFK Contact"] .f-field select,
.b-form[data-form="BFK Contact"] .f-field textarea {
  color: #211c1a;
  background: #f6f5f3;
  border: 1px solid #d8d3cf;
  border-radius: 2px;
  padding: 13px 14px;
}
.b-form[data-form="BFK Contact"] .f-field input::placeholder,
.b-form[data-form="BFK Contact"] .f-field textarea::placeholder { color: #817975; }
.b-form[data-form="BFK Contact"] .f-field input:focus,
.b-form[data-form="BFK Contact"] .f-field select:focus,
.b-form[data-form="BFK Contact"] .f-field textarea:focus {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
  border-color: transparent;
}
.b-form[data-form="BFK Contact"] .f-field textarea { min-height: 150px; resize: vertical; }
.b-form[data-form="BFK Contact"] .btn { min-width: 170px; justify-content: center; }
.b-form[data-form="BFK Contact"] .contact-form-heading h2 { color: #171313; }
.b-form[data-form="BFK Contact"] .contact-form-heading p { color: #625a56; }
.b-form[data-form="BFK Contact"] .contact-form-heading .kicker { color: #8a6b00; }
.site-bfk .page-body .b-row:has(.b-form[data-form="BFK Contact"]) {
  align-items: stretch;
  column-gap: clamp(28px, 4vw, 64px);
}
.site-bfk .contact-info {
  display: grid;
  gap: 0;
  padding-top: 4px;
  text-align: right;
}
.site-bfk .contact-item {
  display: grid;
  justify-items: end;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid #e4dfda;
}
.site-bfk .contact-item:first-child { padding-top: 0; border-top: 0; }
.site-bfk .contact-label {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  color: #211c1a;
}
.site-bfk .contact-label svg, .site-bfk .contact-link svg { width: 21px; height: 21px; flex: 0 0 auto; color: #8a6b00; }
.site-bfk .contact-label strong { font: 700 12px/1.2 var(--display); letter-spacing: .16em; }
.site-bfk .contact-item p { color: #625a56; font-size: 14px; line-height: 1.7; margin: 0; }
.site-bfk .contact-item > a:not(.contact-link) { color: #211c1a; font-size: 14px; overflow-wrap: anywhere; }
.site-bfk .contact-item .contact-link { display: inline-flex; align-items: center; gap: 8px; color: #6f5600; font: 600 11px var(--display); letter-spacing: .12em; text-transform: uppercase; }
.site-bfk .contact-link svg { width: 16px; height: 16px; }
.site-bfk .contact-hours { width: 100%; max-width: 290px; margin: 0; display: grid; gap: 8px; }
.site-bfk .contact-hours > div { display: flex; justify-content: space-between; gap: 14px; font-size: 12px; line-height: 1.5; }
.site-bfk .contact-hours dt { color: #625a56; }
.site-bfk .contact-hours dd { margin: 0; color: #211c1a; font-weight: 600; white-space: nowrap; }
.site-bfk .contact-note { color: #746b66; font-size: 12px; line-height: 1.5; }
html.hover .site-bfk .contact-item a:hover { color: #8a6b00; }
@media (max-width: 1020px) {
  .site-bfk .page-body .b-row:has(.b-form[data-form="BFK Contact"]) { row-gap: 48px; }
  .site-bfk .contact-info { text-align: left; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .site-bfk .contact-item { justify-items: start; text-align: left; }
  .site-bfk .contact-label { justify-content: flex-start; }
  .site-bfk .contact-item:first-child { padding-top: 22px; border-top: 1px solid #e4dfda; }
  .site-bfk .contact-hours { max-width: 100%; }
}
@media (max-width: 560px) {
  .b-form[data-form="BFK Contact"] .f-grid { grid-template-columns: 1fr; }
  .site-bfk .contact-info { grid-template-columns: 1fr; }
  .site-bfk .contact-item { padding: 18px 0; }
  .site-bfk .contact-item:first-child { padding-top: 0; border-top: 0; }
}


/* BFC product checkout: branded, focused, and stacked with the server summary first on phones. */
.bfc-checkout-page .bfc-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  align-items: start;
  gap: 22px;
}
.bfc-checkout-form {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  gap: 16px;
  min-width: 0;
}
.bfc-checkout-summary {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 22px;
  min-width: 0;
  padding: 22px;
  background: var(--coal);
  border: 1px solid rgba(255,255,255,.14);
}
.bfc-checkout-summary h2,
.bfc-checkout-form .checkout-card h2 {
  margin-bottom: 16px;
  font-size: 24px;
}
.bfc-checkout-form .checkout-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: var(--coal);
  border: 1px solid rgba(255,255,255,.14);
}
.bfc-checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
}
.bfc-checkout-form input,
.bfc-checkout-form select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--white);
  background: #0e0a0a;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 2px;
  font: 400 14px var(--body);
}
.bfc-checkout-form input:focus-visible,
.bfc-checkout-form select:focus-visible,
.bfc-checkout-form button:focus-visible,
.bfc-checkout-rate input:focus-visible {
  outline: 2px solid var(--red-text);
  outline-offset: 3px;
}
.bfc-checkout-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.bfc-checkout-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.bfc-checkout-rates {
  display: grid;
  gap: 0;
  margin: 6px 0;
  padding: 0;
  border: 0;
}
.bfc-checkout-rates legend {
  margin-bottom: 8px;
  font: 600 12px var(--display);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.bfc-checkout-rate {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px !important;
  padding: 12px 0;
  border-top: 1px solid rgba(255,255,255,.15);
  cursor: pointer;
}
.bfc-checkout-rate span { display: grid; gap: 2px; }
.bfc-checkout-rate small,
.bfc-checkout-summary .checkout-footnote,
.bfc-checkout-form .checkout-footnote { color: var(--dim); font-size: 12px; font-weight: 400; }
.bfc-checkout-rate input[type="radio"] {
  width: 18px;
  min-height: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  accent-color: var(--red);
}
.bfc-checkout-summary-items,
.bfc-checkout-totals {
  margin: 0;
  padding: 0;
  list-style: none;
}
.bfc-checkout-summary-items li,
.bfc-checkout-totals > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.bfc-checkout-totals { margin-top: 10px; }
.bfc-checkout-totals dt { color: var(--dim); }
.bfc-checkout-totals dd { margin: 0; text-align: right; }
.bfc-checkout-grand-total { font-weight: 700; font-size: 18px; }
.bfc-checkout-message { margin: 12px 0 0; color: var(--dim); font-size: 13px; }
.bfc-checkout-message.is-error { color: #ff827b; }
.bfc-checkout-message.is-success { color: #a4e1b0; }
.bfc-checkout-form [data-checkout-payment-card] > [data-payment-element] { min-height: 150px; }
.bfc-checkout-form button:disabled { cursor: not-allowed; opacity: .55; }
@media (max-width: 760px) {
  .bfc-checkout-page .bfc-checkout-layout { display: flex; flex-direction: column; }
  .bfc-checkout-summary { position: static; order: -1; width: 100%; }
  .bfc-checkout-form { width: 100%; }
}
@media (max-width: 520px) {
  .bfc-checkout-form .checkout-card,
  .bfc-checkout-summary { padding: 16px; }
  .bfc-checkout-fields { grid-template-columns: 1fr; }
}
/* Order confirmation (checkout step 5) */
.bfc-order-confirmed { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.bfc-order-confirmed .bfc-checkout-summary { position: static; }
.bfc-order-item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bfc-order-item img { width: 48px; height: 48px; object-fit: cover; flex: none; background: var(--steel); }
.bfc-order-next h2 { margin: 0 0 8px; font-size: 20px; }
.bfc-order-next p { margin: 0 0 20px; }
@media (max-width: 760px) { .bfc-order-confirmed { grid-template-columns: 1fr; } }
/* Membership checkout: hidden buttons stay hidden; the waiver is a normal checkbox row */
.bfc-checkout-form [hidden] { display: none !important; }
.bfc-checkout-form .checkout-toggle { grid-template-columns: 20px 1fr; align-items: start; gap: 12px; font-weight: 500; line-height: 1.5; }
.bfc-checkout-form .checkout-toggle input[type="checkbox"] { width: 20px; height: 20px; min-height: 20px; margin: 2px 0 0; padding: 0; accent-color: var(--red); }
.bfc-checkout-form .checkout-toggle a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
