/* =============================================================
   Balouch Foods — heritage-luxury design system
   Emerald & copper · Fraunces + Manrope · responsive first
   ============================================================= */

/* ---------- fonts ---------- */
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-400-italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-400-normal.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-500-normal.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-600-normal.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-700-normal.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('../fonts/manrope-latin-800-normal.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }

/* ---------- tokens ---------- */
:root {
  --g950: #071F16;
  --g900: #0B2E22;
  --g800: #0F3D2E;
  --g700: #14503C;
  --g600: #1C5C45;
  --copper: #B87333;
  --copper-400: #C98A4B;
  --copper-300: #DFA96C;
  --copper-200: #EFCB9E;
  --cream: #F7F1E5;
  --cream-50: #FBF7EE;
  --sand: #EFE5D2;
  --sand-300: #E2D3B8;
  --ink: #12261E;
  --ink-60: rgba(18, 38, 30, .64);
  --wa: #25D366;

  --serif: 'Fraunces', 'Georgia', serif;
  --sans: 'Manrope', -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 34px;
  --shadow-1: 0 6px 24px rgba(7, 31, 22, .10);
  --shadow-2: 0 18px 50px rgba(7, 31, 22, .18);
  --shadow-deep: 0 30px 80px rgba(4, 18, 13, .45);
  --wrap: 1240px;
  --gutter: clamp(18px, 4vw, 40px);
  --sec-pad: clamp(64px, 9vw, 130px);
  --header-h: 78px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16.5px; line-height: 1.65;
  color: var(--ink); background: var(--cream-50);
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper); }
:focus-visible { outline: 3px solid var(--copper-400); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text { position: absolute !important; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 10001; background: var(--g800); color: var(--cream); padding: 10px 18px; border-radius: 8px; clip-path: none; width: auto; height: auto; }

.bf-wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.bf-wrap--narrow { max-width: 820px; }
.bf-wrap--medium { max-width: 1000px; }
.bf-section { padding-block: var(--sec-pad); position: relative; }
.bf-section--cream { background: var(--cream); }
.bf-section--dark { background: var(--g900); color: var(--cream); }
.bf-section--deep { background: var(--g950); color: var(--cream); }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.12; margin: 0 0 .5em; color: var(--g900); letter-spacing: -.01em; }
.bf-section--dark h1, .bf-section--dark h2, .bf-section--dark h3,
.bf-section--deep h1, .bf-section--deep h2, .bf-section--deep h3 { color: var(--cream); }
.bf-h1 { font-size: clamp(2.3rem, 5.4vw, 4rem); }
.bf-h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); max-width: 22ch; }
.bf-h2--light { color: var(--cream); }
.bf-h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1.1em; }

.bf-kicker {
  font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .22em;
  color: var(--g600); margin: 0 0 14px; display: flex; align-items: center; gap: 12px;
}
.bf-kicker--copper { color: var(--copper-300); }
.bf-kicker-rule { width: 44px; height: 2px; background: currentColor; display: inline-block; opacity: .8; }

/* ---------- buttons ---------- */
.bf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--sans); font-weight: 700; font-size: .98rem; line-height: 1;
  padding: 16px 28px; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.bf-btn--lg { padding: 19px 34px; font-size: 1.04rem; }
.bf-btn--copper { background: linear-gradient(135deg, var(--copper-400), var(--copper)); color: #fff !important; box-shadow: 0 10px 26px rgba(184, 115, 51, .38); }
.bf-btn--copper:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(184, 115, 51, .48); }
.bf-btn--ghost { background: rgba(247, 241, 229, .07); color: var(--cream) !important; border-color: rgba(247, 241, 229, .38); backdrop-filter: blur(6px); }
.bf-btn--ghost:hover { border-color: var(--cream); transform: translateY(-2px); }
.bf-btn--ghost-dark { background: transparent; color: var(--g800) !important; border-color: rgba(15, 61, 46, .35); }
.bf-btn--ghost-dark:hover { border-color: var(--g800); transform: translateY(-2px); }
.bf-btn--wa { background: var(--wa); color: #05341A !important; box-shadow: 0 10px 26px rgba(37, 211, 102, .3); }
.bf-btn--wa:hover { transform: translateY(-2px); }
.bf-link { font-weight: 700; text-decoration: none; color: var(--g700); border-bottom: 2px solid var(--copper-300); padding-bottom: 2px; }
.bf-link:hover { color: var(--copper); }

.bf-pill { display: inline-flex; gap: 8px; align-items: baseline; background: #fff; border: 1px solid var(--sand-300); border-radius: 999px; padding: 9px 18px; font-size: .92rem; box-shadow: var(--shadow-1); }
.bf-pill strong { color: var(--g700); text-transform: uppercase; font-size: .72rem; letter-spacing: .12em; }

/* ---------- topbar ---------- */
.bf-topbar { background: var(--g950); color: rgba(247, 241, 229, .85); font-size: .82rem; position: relative; z-index: 60; }
.bf-topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; }
.bf-topbar__note { margin: 0; display: flex; align-items: center; gap: 9px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.bf-topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 3px rgba(37, 211, 102, .22); flex: none; }
.bf-topbar__links { display: flex; gap: 18px; flex: none; }
.bf-topbar__links a { color: var(--copper-200); text-decoration: none; }
.bf-topbar__links a:hover { color: #fff; }

/* ---------- header ---------- */
.bf-header {
  position: sticky; top: 0; z-index: 50; transition: background .3s ease, box-shadow .3s ease;
  background: linear-gradient(180deg, rgba(7, 31, 22, .82), rgba(7, 31, 22, .58));
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.bf-header.is-solid { background: rgba(7, 31, 22, .96); box-shadow: 0 10px 30px rgba(4, 18, 13, .35); }
.bf-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }

.bf-logo { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.bf-logo svg { flex: none; }
.bf-logo__text { display: grid; line-height: 1.05; }
.bf-logo__name { font-family: var(--serif); font-weight: 700; font-size: 1.32rem; color: var(--cream); letter-spacing: .01em; }
.bf-logo__sub { font-size: .62rem; font-weight: 800; letter-spacing: .34em; text-transform: uppercase; color: var(--copper-300); }

.bf-nav { display: flex; align-items: center; gap: 26px; }
.bf-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.bf-nav__list a {
  display: block; padding: 10px 14px; color: rgba(247, 241, 229, .88); text-decoration: none;
  font-weight: 600; font-size: .95rem; border-radius: 9px; transition: color .2s, background .2s;
}
.bf-nav__list a:hover, .bf-nav__list .current-menu-item > a, .bf-nav__list .current_page_item > a { color: #fff; background: rgba(247, 241, 229, .09); }
.bf-nav__cta { flex: none; padding: 13px 24px; }

.bf-burger { display: none; background: none; border: 0; width: 46px; height: 46px; cursor: pointer; position: relative; z-index: 70; }
.bf-burger span { display: block; width: 24px; height: 2px; background: var(--cream); margin: 5px auto; border-radius: 2px; transition: transform .3s ease, opacity .3s ease; }
.bf-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bf-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.bf-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.bf-hero {
  position: relative; min-height: calc(100svh - 38px); display: flex; align-items: center;
  background: radial-gradient(120% 90% at 70% 10%, #10402f 0%, var(--g900) 45%, var(--g950) 100%);
  color: var(--cream); overflow: clip;
  margin-top: calc(-1 * var(--header-h));
  padding-top: calc(var(--header-h) + 40px); padding-bottom: 90px;
}
.bf-hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.bf-hero__veil {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 18% 30%, rgba(7, 31, 22, .72) 0%, transparent 70%),
    linear-gradient(180deg, rgba(7, 31, 22, .35) 0%, transparent 30%, transparent 62%, rgba(7, 31, 22, .88) 100%);
}
.bf-hero__in { position: relative; z-index: 2; max-width: 780px; margin-left: 0; }
.bf-hero__kicker { color: var(--copper-300); font-size: .82rem; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.bf-hero__title { color: var(--cream); font-size: clamp(2.6rem, 6.6vw, 5rem); margin-bottom: 22px; }
.bf-hero__line { display: block; }
.bf-hero__line--serif { font-style: italic; font-weight: 400; color: var(--copper-300); }
.bf-hero__sub { font-size: clamp(1.02rem, 1.5vw, 1.18rem); color: rgba(247, 241, 229, .82); max-width: 56ch; margin-bottom: 34px; }
.bf-hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 46px; }
.bf-hero__facts { list-style: none; display: flex; gap: clamp(20px, 4vw, 48px); padding: 26px 0 0; margin: 0; border-top: 1px solid rgba(247, 241, 229, .16); flex-wrap: wrap; }
.bf-hero__facts li { display: grid; gap: 2px; }
.bf-hero__facts strong { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--copper-300); }
.bf-hero__facts span { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(247, 241, 229, .6); font-weight: 600; }
.bf-hero__scroll {
  position: absolute; right: var(--gutter); bottom: 30px; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 9px;
  color: rgba(247, 241, 229, .65); font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; text-decoration: none;
}
.bf-hero__mouse { width: 24px; height: 38px; border: 2px solid rgba(247, 241, 229, .5); border-radius: 14px; position: relative; }
.bf-hero__mouse::after { content: ''; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 3px; background: var(--copper-300); animation: bf-wheel 1.8s ease-in-out infinite; }
@keyframes bf-wheel { 0%, 100% { transform: translateY(0); opacity: 1; } 55% { transform: translateY(11px); opacity: 0; } }

/* ---------- cert ribbon ---------- */
.bf-ribbon { background: var(--copper); color: #2C1503; overflow: hidden; padding: 13px 0; transform: rotate(0deg); }
.bf-ribbon__track { display: flex; width: max-content; animation: bf-marquee 30s linear infinite; }
.bf-ribbon__track span { display: flex; align-items: center; gap: 26px; padding-right: 26px; font-weight: 800; font-size: .84rem; letter-spacing: .18em; text-transform: uppercase; white-space: nowrap; }
.bf-ribbon__track i { font-style: normal; opacity: .55; }
@keyframes bf-marquee { to { transform: translateX(-50%); } }

/* ---------- story ---------- */
.bf-story__grid { display: grid; grid-template-columns: minmax(320px, 5fr) 6fr; gap: clamp(34px, 6vw, 90px); align-items: center; }
.bf-story__imgwrap { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 4 / 5; }
.bf-story__imgwrap img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.bf-story__imgwrap::after { content: ''; position: absolute; inset: 0; border-radius: inherit; border: 1px solid rgba(184, 115, 51, .35); pointer-events: none; }
.bf-story__badge {
  position: absolute; left: 18px; bottom: 18px; background: rgba(7, 31, 22, .82); color: var(--cream);
  backdrop-filter: blur(8px); padding: 14px 20px; border-radius: var(--r-md); display: grid; gap: 2px;
  border: 1px solid rgba(247, 241, 229, .14);
}
.bf-story__badge strong { font-family: var(--serif); font-size: 1.05rem; }
.bf-story__badge span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-300); font-weight: 700; }
.bf-counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 34px; margin: 30px 0 26px; }
.bf-counter strong { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.5rem); color: var(--copper); line-height: 1; }
.bf-counter span { font-size: .85rem; color: var(--ink-60); font-weight: 600; }

/* ---------- section head + chips ---------- */
.bf-section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; margin-bottom: clamp(30px, 4vw, 52px); flex-wrap: wrap; }
.bf-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.bf-filter--archive { margin-bottom: 38px; }
.bf-chip {
  font: inherit; font-weight: 700; font-size: .86rem; letter-spacing: .02em;
  background: #fff; color: var(--g800); border: 1.5px solid var(--sand-300);
  padding: 9px 18px; border-radius: 999px; cursor: pointer; transition: all .2s ease;
}
.bf-chip:hover { border-color: var(--copper-400); }
.bf-chip.is-active { background: var(--g800); border-color: var(--g800); color: var(--cream); }

/* ---------- product cards ---------- */
.bf-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.bf-cards--three { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.bf-card {
  position: relative; display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: #fff; border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-1);
  transform-style: preserve-3d; will-change: transform;
  transition: box-shadow .3s ease;
  border: 1px solid rgba(226, 211, 184, .6);
}
.bf-card:hover { box-shadow: var(--shadow-2); }
.bf-card.is-hidden { display: none; }
.bf-card__glare {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; border-radius: inherit;
  background: radial-gradient(420px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 236, 200, .38), transparent 42%);
  transition: opacity .25s ease; mix-blend-mode: soft-light;
}
.bf-card:hover .bf-card__glare { opacity: 1; }
.bf-card__imgwrap { aspect-ratio: 4 / 3; overflow: hidden; background: linear-gradient(135deg, var(--sand), var(--cream)); }
.bf-card__imgwrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s cubic-bezier(.2, .6, .2, 1); }
.bf-card:hover .bf-card__imgwrap img { transform: scale(1.07); }
.bf-card__body { padding: 20px 22px 22px; display: grid; gap: 6px; }
.bf-card__title { font-family: var(--serif); font-weight: 700; font-size: 1.18rem; color: var(--g900); }
.bf-card__sub { font-size: .875rem; color: var(--ink-60); }
.bf-card__go { margin-top: 8px; font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--copper); display: inline-flex; gap: 7px; align-items: center; }
.bf-card__go i { font-style: normal; transition: transform .25s ease; }
.bf-card:hover .bf-card__go i { transform: translateX(5px); }

/* ---------- process ---------- */
.bf-process { overflow: clip; }
.bf-process__viewport { margin-top: clamp(30px, 4vw, 56px); }
.bf-process__track {
  display: flex; gap: clamp(18px, 2.4vw, 30px); list-style: none; margin: 0;
  padding: 6px var(--gutter) 26px; width: max-content;
  counter-reset: step;
}
.bf-step {
  width: clamp(250px, 26vw, 330px); flex: none;
  background: linear-gradient(165deg, rgba(247, 241, 229, .07), rgba(247, 241, 229, .028));
  border: 1px solid rgba(247, 241, 229, .13); border-radius: var(--r-lg);
  padding: 26px 26px 30px; position: relative; backdrop-filter: blur(4px);
}
.bf-step::after { content: ''; position: absolute; right: -22px; top: 50%; width: 22px; height: 1px; background: linear-gradient(90deg, rgba(223, 169, 108, .6), transparent); }
.bf-step:last-child::after { display: none; }
.bf-step__num { font-family: var(--serif); font-size: 2.6rem; font-weight: 700; color: transparent; -webkit-text-stroke: 1.4px var(--copper-300); line-height: 1; display: block; margin-bottom: 14px; }
.bf-step__title { color: var(--cream); font-size: 1.3rem; margin-bottom: 8px; }
.bf-step__text { color: rgba(247, 241, 229, .68); font-size: .93rem; margin: 0; }

/* ---------- globe ---------- */
.bf-globe__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.bf-globe__lead { color: rgba(247, 241, 229, .78); max-width: 48ch; }
.bf-globe__markets { list-style: none; padding: 0; margin: 24px 0 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.bf-globe__markets li { position: relative; padding-left: 22px; color: rgba(247, 241, 229, .88); font-weight: 600; font-size: .95rem; }
.bf-globe__markets li::before { content: '◆'; position: absolute; left: 0; color: var(--copper-300); font-size: .7rem; top: 4px; }
.bf-globe__stage { position: relative; aspect-ratio: 1; max-width: 640px; margin-inline: auto; width: 100%; }
.bf-globe__stage::before { content: ''; position: absolute; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(28, 92, 69, .16), transparent 62%); filter: blur(34px); }
#bf-globe-canvas { position: relative; width: 100% !important; height: 100% !important; }

/* ---------- quality ---------- */
.bf-quality__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(16px, 2.4vw, 26px); }
.bf-quality__card { background: #fff; border-radius: var(--r-lg); border: 1px solid rgba(226, 211, 184, .7); padding: 30px 28px; box-shadow: var(--shadow-1); }
.bf-quality__stat { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.2rem); color: var(--copper); font-weight: 700; display: block; margin-bottom: 10px; }
.bf-quality__card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.bf-quality__card p { margin: 0; font-size: .92rem; color: var(--ink-60); }

/* ---------- journal ---------- */
.bf-journal__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(18px, 2.6vw, 30px); }
.bf-post { display: grid; gap: 9px; text-decoration: none; color: inherit; background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid rgba(226, 211, 184, .6); box-shadow: var(--shadow-1); transition: transform .3s ease, box-shadow .3s ease; padding-bottom: 22px; }
.bf-post:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.bf-post__imgwrap { aspect-ratio: 16 / 9; overflow: hidden; background: var(--sand); margin-bottom: 6px; }
.bf-post__imgwrap img { width: 100%; height: 100%; object-fit: cover; }
.bf-post__meta { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); padding: 0 22px; }
.bf-post__meta--single { color: var(--ink-60); padding: 0; letter-spacing: .04em; text-transform: none; font-weight: 600; font-size: .95rem; }
.bf-post__title { font-family: var(--serif); font-weight: 700; font-size: 1.22rem; line-height: 1.28; color: var(--g900); padding: 0 22px; }
.bf-post__excerpt { font-size: .92rem; color: var(--ink-60); padding: 0 22px; }

/* ---------- CTA band ---------- */
.bf-cta { position: relative; background: linear-gradient(135deg, var(--g800), var(--g950) 70%); color: var(--cream); padding-block: clamp(70px, 9vw, 120px); overflow: clip; }
.bf-cta--slim { padding-block: clamp(54px, 7vw, 84px); }
.bf-cta__pattern { position: absolute; inset: 0; opacity: .5; background-image: radial-gradient(rgba(223, 169, 108, .18) 1.5px, transparent 1.5px); background-size: 34px 34px; mask-image: radial-gradient(75% 90% at 50% 50%, #000 30%, transparent 100%); }
.bf-cta__in { position: relative; text-align: center; max-width: 720px; }
.bf-cta__in p { color: rgba(247, 241, 229, .8); font-size: 1.06rem; }
.bf-cta__in .bf-h2 { margin-inline: auto; }
.bf-cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }

/* ---------- page hero (inner pages) ---------- */
.bf-pagehero { background: linear-gradient(160deg, var(--g900) 0%, var(--g800) 100%); color: var(--cream); padding: calc(48px) 0 clamp(48px, 7vw, 84px); position: relative; overflow: clip; }
.bf-pagehero::after { content: ''; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%; border: 1px solid rgba(223, 169, 108, .25); }
.bf-pagehero::before { content: ''; position: absolute; right: -80px; top: -180px; width: 420px; height: 420px; border-radius: 50%; border: 1px dashed rgba(223, 169, 108, .18); }
.bf-pagehero .bf-h1 { color: var(--cream); max-width: 20ch; }
.bf-pagehero__sub { color: rgba(247, 241, 229, .78); max-width: 62ch; font-size: 1.05rem; margin: 0; }
.bf-crumbs { font-size: .84rem; color: rgba(247, 241, 229, .6); margin-bottom: 18px; }
.bf-crumbs a { color: var(--copper-300); text-decoration: none; }
.bf-crumbs a:hover { text-decoration: underline; }

/* ---------- product single ---------- */
.bf-product__grid { display: grid; grid-template-columns: minmax(320px, 5fr) 6fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.bf-product__media { position: relative; margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); transform-style: preserve-3d; }
.bf-product__img { width: 100%; object-fit: cover; aspect-ratio: 4 / 3.4; }
.bf-product__chips { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 30px; }
.bf-specs { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-1); font-size: .95rem; }
.bf-specs th, .bf-specs td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--sand); }
.bf-specs tr:last-child th, .bf-specs tr:last-child td { border-bottom: 0; }
.bf-specs th { width: 38%; color: var(--g700); font-weight: 700; background: var(--cream-50); }
.tq-rfq-row { margin-top: 28px; }

/* ---------- prose ---------- */
.bf-prose { font-size: 1.05rem; }
.bf-prose > * + * { margin-top: 1.05em; }
.bf-prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); margin-top: 1.7em; }
.bf-prose h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); margin-top: 1.5em; }
.bf-prose ul, .bf-prose ol { padding-left: 1.3em; }
.bf-prose li { margin-bottom: .45em; }
.bf-prose blockquote { border-left: 3px solid var(--copper-400); margin: 1.4em 0; padding: .3em 0 .3em 1.2em; font-family: var(--serif); font-style: italic; font-size: 1.15em; color: var(--g800); }
.bf-prose table { width: 100%; border-collapse: collapse; background: #fff; box-shadow: var(--shadow-1); border-radius: var(--r-sm); overflow: hidden; font-size: .95rem; }
.bf-prose table th, .bf-prose table td { padding: 11px 15px; border-bottom: 1px solid var(--sand); text-align: left; }
.bf-prose table th { background: var(--g800); color: var(--cream); }
.bf-prose img { border-radius: var(--r-md); }
.bf-featured { margin: -40px 0 0; }
.bf-featured__img { border-radius: var(--r-lg); box-shadow: var(--shadow-2); width: 100%; }
.bf-section--post { padding-top: clamp(36px, 5vw, 60px); }

/* post CTA + nav */
.bf-postcta { display: flex; gap: 26px; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--g900); color: var(--cream); border-radius: var(--r-lg); padding: 30px 34px; margin-top: 54px; }
.bf-postcta h2 { color: var(--cream); font-size: 1.35rem; margin-bottom: 6px; }
.bf-postcta p { margin: 0; color: rgba(247, 241, 229, .75); font-size: .95rem; max-width: 46ch; }
.bf-postnav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; font-weight: 700; }
.bf-postnav a { text-decoration: none; color: var(--g700); max-width: 44%; }
.bf-postnav a:hover { color: var(--copper); }
.bf-pagination { margin-top: 46px; text-align: center; }
.bf-pagination .nav-links { display: inline-flex; gap: 8px; }
.bf-pagination .page-numbers { padding: 10px 16px; background: #fff; border-radius: 10px; text-decoration: none; border: 1px solid var(--sand-300); font-weight: 700; }
.bf-pagination .page-numbers.current { background: var(--g800); color: var(--cream); border-color: var(--g800); }

/* ---------- about ---------- */
.bf-vm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 3vw, 30px); }
.bf-vm__card { background: linear-gradient(165deg, rgba(247, 241, 229, .08), rgba(247, 241, 229, .03)); border: 1px solid rgba(247, 241, 229, .14); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 44px); }
.bf-vm__icon { font-size: 1.6rem; color: var(--copper-300); display: block; margin-bottom: 14px; }
.bf-vm__card h2 { color: var(--cream); font-size: 1.5rem; }
.bf-vm__card p { color: rgba(247, 241, 229, .78); margin: 0; }
.bf-certgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; }
.bf-cert { background: #fff; border: 1px solid rgba(226, 211, 184, .7); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-1); }
.bf-cert__badge { display: inline-block; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; color: var(--g800); border: 2px solid var(--copper-400); border-radius: 999px; padding: 7px 18px; margin-bottom: 12px; }
.bf-cert p { margin: 0; font-size: .89rem; color: var(--ink-60); }

/* ---------- contact ---------- */
.bf-contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-bottom: clamp(36px, 6vw, 64px); }
.bf-contactcard { display: grid; gap: 4px; background: #fff; border: 1px solid rgba(226, 211, 184, .7); border-radius: var(--r-lg); padding: 26px; text-decoration: none; color: inherit; box-shadow: var(--shadow-1); transition: transform .25s ease, box-shadow .25s ease; }
.bf-contactcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.bf-contactcard--static:hover { transform: none; }
.bf-contactcard__label { font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--copper); }
.bf-contactcard h2 { font-size: 1.3rem; margin: 2px 0; }
.bf-contactcard p { margin: 0; color: var(--ink-60); font-size: .95rem; word-break: break-word; }
.bf-contactcard__go { margin-top: 10px; font-weight: 700; color: var(--g700); font-size: .9rem; }
.bf-contact__grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(26px, 4vw, 54px); align-items: start; }
.bf-contact__map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-2); aspect-ratio: 4 / 4.6; position: sticky; top: calc(var(--header-h) + 20px); }
.bf-contact__map iframe { width: 100%; height: 100%; border: 0; }

/* ---------- TradeQuote form skin ---------- */
.tq-form { --tq-accent: var(--copper); --tq-ink: var(--g800); background: #fff; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); border: 1px solid rgba(226, 211, 184, .7); box-shadow: var(--shadow-1); }
.tq-form input, .tq-form select, .tq-form textarea { border-radius: 10px; }
.tq-submit { border-radius: 999px; padding: 15px 30px; }

/* ---------- footer ---------- */
.bf-footer { position: relative; background: var(--g950); color: rgba(247, 241, 229, .78); padding: clamp(56px, 7vw, 90px) 0 34px; overflow: clip; }
.bf-footer__glow { position: absolute; top: -180px; left: 50%; transform: translateX(-50%); width: 720px; height: 340px; background: radial-gradient(closest-side, rgba(28, 92, 69, .5), transparent); filter: blur(30px); pointer-events: none; }
.bf-footer__grid { position: relative; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1.4fr; gap: clamp(28px, 4vw, 54px); padding-bottom: 44px; border-bottom: 1px solid rgba(247, 241, 229, .12); }
.bf-footer__brand p { font-size: .95rem; margin: 18px 0; max-width: 34ch; }
.bf-footer__certs { display: flex; flex-wrap: wrap; gap: 8px; }
.bf-footer__certs span { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; border: 1px solid rgba(223, 169, 108, .4); color: var(--copper-300); border-radius: 999px; padding: 5px 12px; }
.bf-footer h3 { color: var(--cream); font-size: 1.05rem; margin-bottom: 16px; }
.bf-footer__menu, .bf-footer__contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.bf-footer a { color: rgba(247, 241, 229, .78); text-decoration: none; }
.bf-footer a:hover { color: var(--copper-300); }
.bf-footer__cta p { font-size: .93rem; }
.bf-footer__base { display: flex; justify-content: space-between; gap: 14px; padding-top: 22px; font-size: .84rem; color: rgba(247, 241, 229, .5); flex-wrap: wrap; }
.bf-footer__base p { margin: 0; }
.bf-footer__credit { display: block; font-size: .72rem; opacity: .55; margin-top: 3px; }
.bf-footer__credit a { color: inherit; }

/* ---------- 404 ---------- */
.bf-404__in { text-align: center; padding-block: 40px; }
.bf-404__code { font-family: var(--serif); font-size: clamp(5rem, 16vw, 9rem); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--copper-400); margin: 0 0 10px; }
.bf-404 .bf-cta__btns { justify-content: center; }

/* ---------- reveal base (JS enhances) ---------- */
html.bf-js [data-reveal] { opacity: 0; transform: translateY(26px); }
html.bf-js.bf-reduced [data-reveal], html:not(.bf-js) [data-reveal] { opacity: 1; transform: none; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1100px) {
  .bf-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  .bf-nav {
    position: fixed; inset: 0; z-index: 60; flex-direction: column; justify-content: center; align-items: center; gap: 10px;
    background: linear-gradient(160deg, var(--g900), var(--g950));
    opacity: 0; visibility: hidden; transform: translateY(-14px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
  }
  .bf-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .bf-nav__list { flex-direction: column; gap: 4px; text-align: center; }
  .bf-nav__list a { font-family: var(--serif); font-size: 1.6rem; padding: 12px 22px; }
  .bf-nav__cta { margin-top: 18px; }
  .bf-burger { display: block; }
  body.bf-nav-open { overflow: hidden; }

  .bf-story__grid { grid-template-columns: 1fr; }
  .bf-story__media { max-width: 520px; }
  .bf-globe__grid { grid-template-columns: 1fr; }
  .bf-globe__stage { max-width: 480px; }
  .bf-product__grid { grid-template-columns: 1fr; }
  .bf-product__media { max-width: 560px; }
  .bf-contact__grid { grid-template-columns: 1fr; }
  .bf-contact__map { position: static; aspect-ratio: 16 / 10; }
  .bf-vm__grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .bf-topbar__links { display: none; }
  .bf-hero { padding-bottom: 74px; }
  .bf-hero__cta .bf-btn { width: 100%; }
  .bf-hero__facts { gap: 18px 26px; }
  .bf-hero__scroll { display: none; }
  .bf-counters { grid-template-columns: 1fr 1fr; gap: 16px 18px; }
  .bf-cards { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
  .bf-globe__markets { grid-template-columns: 1fr; }
  .bf-postcta { padding: 24px; }
  .bf-footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .bf-footer__base { flex-direction: column; }
  .bf-section__head { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 380px) {
  .bf-cards { grid-template-columns: 1fr; }
}

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bf-ribbon__track { animation: none; flex-wrap: wrap; width: auto; }
  .bf-hero__mouse::after { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- print ---------- */
@media print {
  .bf-topbar, .bf-header, .bf-footer, .bf-cta, .bf-hero__canvas, #tq-chat-root { display: none !important; }
}
