/* ============================================
   BUREAU BRUT — Design System (Neo-Brutalist)
   Direction : Typographie brute · Toulouse
   Typographie : Bureau Brut typefaces (TEST versions)
   Utilisation autorisée — projet scolaire non-commercial
   ============================================ */

/* ── @font-face — Bureau Brut typefaces ──────────────── */

/* BrutGrotesque — interface & UI */
@font-face { font-family: 'BrutGrotesque'; src: url('BureauBrut-TESTVersions/BrutGrotesque/BrutGrotesqueTEST-Extralight.otf') format('opentype'); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: 'BrutGrotesque'; src: url('BureauBrut-TESTVersions/BrutGrotesque/BrutGrotesqueTEST-ExtralightItalic.otf') format('opentype'); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: 'BrutGrotesque'; src: url('BureauBrut-TESTVersions/BrutGrotesque/BrutGrotesqueTEST-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'BrutGrotesque'; src: url('BureauBrut-TESTVersions/BrutGrotesque/BrutGrotesqueTEST-LightItalic.otf') format('opentype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'BrutGrotesque'; src: url('BureauBrut-TESTVersions/BrutGrotesque/BrutGrotesqueTEST-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'BrutGrotesque'; src: url('BureauBrut-TESTVersions/BrutGrotesque/BrutGrotesqueTEST-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'BrutGrotesque'; src: url('BureauBrut-TESTVersions/BrutGrotesque/BrutGrotesqueTEST-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'BrutGrotesque'; src: url('BureauBrut-TESTVersions/BrutGrotesque/BrutGrotesqueTEST-MediumItalic.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: 'BrutGrotesque'; src: url('BureauBrut-TESTVersions/BrutGrotesque/BrutGrotesqueTEST-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'BrutGrotesque'; src: url('BureauBrut-TESTVersions/BrutGrotesque/BrutGrotesqueTEST-BoldItalic.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }

/* Droulers — titres éditoriaux & display */
@font-face { font-family: 'Droulers'; src: url('BureauBrut-TESTVersions/Droulers/DroulersTEST-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Droulers'; src: url('BureauBrut-TESTVersions/Droulers/DroulersTEST-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }

/* DroulersClarendon — spécimen slab */
@font-face { font-family: 'DroulersClarendon'; src: url('BureauBrut-TESTVersions/DroulersClarendon/DroulersClarendonTEST-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DroulersClarendon'; src: url('BureauBrut-TESTVersions/DroulersClarendon/DroulersClarendonTEST-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'DroulersClarendon'; src: url('BureauBrut-TESTVersions/DroulersClarendon/DroulersClarendonTEST-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'DroulersClarendon'; src: url('BureauBrut-TESTVersions/DroulersClarendon/DroulersClarendonTEST-BoldItalic.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }

/* OstiaAntica — spécimen serif */
@font-face { font-family: 'OstiaAntica'; src: url('BureauBrut-TESTVersions/OstiaAntica/OstiaAnticaTEST-Light.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'OstiaAntica'; src: url('BureauBrut-TESTVersions/OstiaAntica/OstiaAnticaTEST-LightItalic.otf') format('opentype'); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: 'OstiaAntica'; src: url('BureauBrut-TESTVersions/OstiaAntica/OstiaAnticaTEST-Book.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'OstiaAntica'; src: url('BureauBrut-TESTVersions/OstiaAntica/OstiaAnticaTEST-BookItalic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }

/* Matorral — spécimen sans variable */
@font-face { font-family: 'Matorral'; src: url('BureauBrut-TESTVersions/Matorral/MatorralTEST-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Matorral'; src: url('BureauBrut-TESTVersions/Matorral/MatorralTEST-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Matorral'; src: url('BureauBrut-TESTVersions/Matorral/MatorralTEST-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Matorral'; src: url('BureauBrut-TESTVersions/Matorral/MatorralTEST-MediumItalic.otf') format('opentype'); font-weight: 500; font-style: italic; font-display: swap; }

/* RomanGrotesque — grotesque à proportions classiques */
@font-face { font-family: 'RomanGrotesque'; src: url('BureauBrut-TESTVersions/RomanGrotesque/RomanGrotesqueTEST-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'RomanGrotesque'; src: url('BureauBrut-TESTVersions/RomanGrotesque/RomanGrotesqueTEST-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'RomanGrotesque'; src: url('BureauBrut-TESTVersions/RomanGrotesque/RomanGrotesqueTEST-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }

/* Round — sans géométrique arrondi */
@font-face { font-family: 'Round'; src: url('BureauBrut-TESTVersions/Round/RoundTEST-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Round'; src: url('BureauBrut-TESTVersions/Round/RoundTEST-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Round'; src: url('BureauBrut-TESTVersions/Round/RoundTEST-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }

/* RoundCondensed — condensé arrondi */
@font-face { font-family: 'RoundCondensed'; src: url('BureauBrut-TESTVersions/RoundCondensed/RoundCondensedTEST-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'RoundCondensed'; src: url('BureauBrut-TESTVersions/RoundCondensed/RoundCondensedTEST-Medium.otf') format('opentype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'RoundCondensed'; src: url('BureauBrut-TESTVersions/RoundCondensed/RoundCondensedTEST-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }

/* RoundUltra — ultra arrondi display */
@font-face { font-family: 'RoundUltra'; src: url('BureauBrut-TESTVersions/RoundUltra/RoundUltraTEST-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'RoundUltra'; src: url('BureauBrut-TESTVersions/RoundUltra/RoundUltraTEST-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'RoundUltra'; src: url('BureauBrut-TESTVersions/RoundUltra/RoundUltraTEST-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }

/* BoogyBrut — display expressif */
@font-face { font-family: 'BoogyBrut'; src: url('BureauBrut-TESTVersions/BoogyBrut/BoogyBrutTEST-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'BoogyBrut'; src: url('BureauBrut-TESTVersions/BoogyBrut/BoogyBrutTEST-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'BoogyBrutPoster'; src: url('BureauBrut-TESTVersions/BoogyBrut/BoogyBrutPosterTEST-Black.otf') format('opentype'); font-weight: 900; font-style: normal; font-display: swap; }

/* Totentanz — blackletter contemporain */
@font-face { font-family: 'Totentanz'; src: url('BureauBrut-TESTVersions/Totentanz/TotentanzTEST-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Totentanz'; src: url('BureauBrut-TESTVersions/Totentanz/TotentanzTEST-Slanted.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }

/* Traulha — serif éditorial multiaxe */
@font-face { font-family: 'Traulha'; src: url('BureauBrut-TESTVersions/Traulha/TraulhaTEST-Regulara.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Traulha'; src: url('BureauBrut-TESTVersions/Traulha/TraulhaTEST-Italica.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Traulha'; src: url('BureauBrut-TESTVersions/Traulha/TraulhaTEST-Lineara.otf') format('opentype'); font-weight: 300; font-style: normal; font-display: swap; }

/* Bourrasque — sans expérimental directionnel */
@font-face { font-family: 'Bourrasque'; src: url('BureauBrut-TESTVersions/Bourrasque/BourrasqueTEST-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'BourrasqueEst'; src: url('BureauBrut-TESTVersions/Bourrasque/BourrasqueTEST-45Est.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }

/* ── Tokens ──────────────────────────────────────── */
:root {
  /* Color palette */
  --bb-bg:          #f0ede6;
  --bb-surface:     #e8e4dc;
  --bb-surface-2:   #dedad1;
  --bb-black:       #111009;
  --bb-cream:       #111009;   /* alias kept for compatibility */
  --bb-mid:         #6b6158;
  --bb-faint:       #9e9188;
  --bb-accent:      #c94b18;
  --bb-accent-dim:  rgba(201,75,24,.10);
  --bb-accent-glow: rgba(201,75,24,.20);

  /* Neo-brutalist structure */
  --bb-border:      3px solid #111009;
  --bb-border-w:    3px;
  --bb-shadow:      6px 6px 0 0 #111009;
  --bb-shadow-md:   8px 8px 0 0 #111009;
  --bb-shadow-lg:   12px 12px 0 0 #111009;
  --bb-radius:      10px;
  --bb-radius-pill: 100px;

  /* Lines (kept for backward compat) */
  --bb-line:        rgba(17,16,9,.08);
  --bb-line-mid:    rgba(17,16,9,.20);

  /* Typography */
  --font-serif: 'OstiaAntica',   Georgia, serif;
  --font-sans:  'BrutGrotesque', system-ui, sans-serif;

  /* Motion */
  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:      300ms;

  /* Layout */
  --pad-x:  64px;
  --max-w:  1440px;
  --radius: 10px;
}

/* ── Reset / Base ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bb-bg);
  color: var(--bb-black);
  line-height: 1.6;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

button { font-family: inherit; cursor: pointer; }

/* Custom selection */
::selection { background: var(--bb-black); color: var(--bb-bg); }

/* Scrollbar */
::-webkit-scrollbar { width: 0; background: transparent; }

/* ── Scroll Reveal ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.visible   { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .26s; }
.reveal.d4 { transition-delay: .36s; }
.reveal.d5 { transition-delay: .48s; }

/* ── Navigation ──────────────────────────────────── */
/* Pill-shaped nav floating at top-center */
.bb-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: fit-content;
  max-width: calc(100% - 32px);
  background: var(--bb-bg);
  border: var(--bb-border);
  border-radius: var(--bb-radius-pill);
  padding: 6px 6px 6px 28px;
  display: flex;
  align-items: center;
  gap: 4px;
  box-shadow: var(--bb-shadow);
  transition: box-shadow var(--dur);
  white-space: nowrap;
}

/* No visual change on scroll — already styled */
.bb-nav.scrolled { box-shadow: 4px 4px 0 0 var(--bb-black); }

.bb-nav-logo {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bb-black);
  padding-right: 20px;
  border-right: 2px solid var(--bb-black);
  margin-right: 4px;
}

.bb-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.bb-nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bb-mid);
  border-radius: var(--bb-radius-pill);
  transition: background .2s, color .2s;
}
.bb-nav-links a:hover,
.bb-nav-links a[style] { background: var(--bb-black); color: var(--bb-bg) !important; }

.bb-nav-right {
  display: flex;
  align-items: center;
  margin-left: 4px;
  padding-left: 8px;
}

.bb-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 20px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--bb-accent);
  color: var(--bb-bg);
  border: var(--bb-border);
  border-radius: var(--bb-radius-pill);
  box-shadow: 3px 3px 0 0 var(--bb-black);
  transition: box-shadow var(--dur), transform var(--dur);
}
.bb-nav-back:hover {
  box-shadow: none;
  transform: translate(2px, 2px);
  color: var(--bb-bg);
}

/* Portfolio back link — fixed top-right, outside nav */
.bb-portfolio-back {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 9px 20px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  background: var(--bb-accent);
  color: var(--bb-bg);
  border: var(--bb-border);
  border-radius: var(--bb-radius-pill);
  box-shadow: 3px 3px 0 0 var(--bb-black);
  transition: box-shadow var(--dur), transform var(--dur);
}
.bb-portfolio-back:hover {
  box-shadow: none;
  transform: translate(2px, 2px);
  color: var(--bb-bg);
}
@media (max-width: 640px) {
  .bb-portfolio-back { display: none; }
}

/* Burger */
.bb-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--bb-black);
  border-radius: 8px;
  padding: 8px;
  margin-left: 4px;
}
.bb-burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--bb-black);
  transition: transform .3s, opacity .3s;
}
.bb-nav.menu-open .bb-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.bb-nav.menu-open .bb-burger span:nth-child(2) { opacity: 0; }
.bb-nav.menu-open .bb-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.bb-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bb-bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.bb-mobile-nav.open { display: flex; }
.bb-mobile-nav a {
  font-family: var(--font-sans);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--bb-black);
  padding: 16px 40px;
  border: var(--bb-border);
  border-radius: var(--bb-radius-pill);
  box-shadow: var(--bb-shadow);
  transition: box-shadow var(--dur), transform var(--dur);
}
.bb-mobile-nav a:hover {
  box-shadow: none;
  transform: translate(3px, 3px);
}

/* ── Buttons ─────────────────────────────────────── */
.bb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--bb-accent);
  color: var(--bb-bg);
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: var(--bb-border);
  border-radius: var(--bb-radius-pill);
  cursor: pointer;
  box-shadow: 4px 4px 0 0 var(--bb-black);
  transition: box-shadow var(--dur), transform var(--dur);
  text-decoration: none;
}
.bb-btn:hover {
  box-shadow: none;
  transform: translate(2px, 2px);
  color: var(--bb-bg);
}
.bb-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

.bb-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: transparent;
  color: var(--bb-black);
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: var(--bb-border);
  border-radius: var(--bb-radius-pill);
  cursor: pointer;
  box-shadow: 4px 4px 0 0 var(--bb-black);
  transition: box-shadow var(--dur), transform var(--dur);
  text-decoration: none;
}
.bb-btn-outline:hover {
  box-shadow: none;
  transform: translate(2px, 2px);
}
.bb-btn-outline:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

.bb-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: transparent;
  color: var(--bb-mid);
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 2px solid var(--bb-line-mid);
  border-radius: var(--bb-radius-pill);
  cursor: pointer;
  transition: border-color var(--dur), color var(--dur), background var(--dur);
  text-decoration: none;
}
.bb-btn-ghost:hover {
  border-color: var(--bb-black);
  color: var(--bb-black);
  background: var(--bb-surface);
}

/* ── Eyebrow / Label ─────────────────────────────── */
.bb-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bb-accent);
  margin-bottom: 20px;
}
.bb-eyebrow::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--bb-accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Section helpers ─────────────────────────────── */
.bb-section { padding: 100px var(--pad-x); max-width: var(--max-w); margin: 0 auto; }

.bb-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
  gap: 32px;
}

.bb-section-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--bb-black);
}

/* ── Ticker ──────────────────────────────────────── */
.bb-ticker {
  overflow: hidden;
  border-top: var(--bb-border);
  border-bottom: var(--bb-border);
  padding: 20px 0;
  white-space: nowrap;
  background: var(--bb-black);
  transform: rotate(-2deg) scale(1.05);
  position: relative;
  z-index: 2;
  margin: 16px 0;
}
.bb-ticker-inner {
  display: inline-flex;
  animation: bb-tick 28s linear infinite;
}
.bb-ticker-inner:hover { animation-play-state: paused; }
.bb-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 28px;
  font-family: var(--font-sans);
  font-size: clamp(.9rem, 1.5vw, 1.2rem);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--bb-bg);
}
.bb-ticker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bb-accent);
  flex-shrink: 0;
}
@keyframes bb-tick {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── HERO (index.html) ───────────────────────────── */
.bb-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  padding: 120px var(--pad-x) 80px;
  gap: 48px;
  position: relative;
}

.bb-hero-content { position: relative; z-index: 2; }

/* Eyebrow badge */
.bb-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--bb-accent);
  color: var(--bb-bg);
  padding: 9px 22px;
  border: var(--bb-border);
  border-radius: var(--bb-radius-pill);
  box-shadow: 4px 4px 0 0 var(--bb-black);
  margin-bottom: 36px;
  transform: rotate(-1.5deg);
  width: fit-content;
}
.bb-hero-eyebrow-line { display: none; }
.bb-hero-eyebrow-text {
  font-size: .68rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--bb-bg);
}

.bb-hero-title {
  font-family: var(--font-sans);
  font-size: clamp(4rem, 9vw, 11.5rem);
  font-weight: 700;
  line-height: .88;
  letter-spacing: -.05em;
  text-transform: uppercase;
  color: var(--bb-black);
  margin-bottom: 36px;
}

.bb-hero-sub {
  font-size: .9rem;
  color: var(--bb-mid);
  line-height: 1.75;
  max-width: 380px;
  margin-bottom: 44px;
  font-weight: 400;
}

.bb-hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hero typographic composition — bordered card */
.bb-hero-visual {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  user-select: none;
  background: transparent;
}

.bb-typo-comp {
  position: absolute;
  inset: 0;
}
.bb-typo-comp span {
  position: absolute;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--bb-black);
  line-height: 1;
  pointer-events: none;
}
.bb-tc-a {
  font-size: clamp(10rem, 22vw, 26rem);
  opacity: .06;
  top: -8%;
  right: -8%;
  letter-spacing: -.04em;
}
.bb-tc-b {
  font-size: clamp(4rem, 10vw, 12rem);
  opacity: .12;
  bottom: 10%;
  left: 8%;
  letter-spacing: -.03em;
}
.bb-tc-d {
  font-size: clamp(3rem, 7vw, 8rem);
  opacity: .09;
  top: 20%;
  left: 20%;
  letter-spacing: -.02em;
}
.bb-tc-e {
  font-size: clamp(1.5rem, 4vw, 4.5rem);
  opacity: .06;
  bottom: 28%;
  right: 10%;
}
.bb-tc-c {
  font-size: .6rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-style: normal;
  font-family: var(--font-sans);
  opacity: .35;
  top: 35%;
  left: 5%;
  transform: rotate(-90deg);
  transform-origin: left center;
  color: var(--bb-accent);
  font-weight: 700;
}
.bb-tc-line {
  position: absolute;
  background: rgba(17,16,9,.15);
}
.bb-tc-line-v {
  width: 2px;
  height: 55%;
  top: 22%;
  left: 9%;
}
.bb-tc-line-h {
  width: 38%;
  height: 2px;
  top: 50%;
  right: 0;
}

/* Scroll hint */
.bb-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: var(--pad-x);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}
.bb-scroll-hint-line {
  width: 36px;
  height: 2px;
  background: var(--bb-accent);
  animation: bb-hint 2.2s ease-in-out infinite;
}
.bb-scroll-hint-text {
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bb-mid);
  font-weight: 700;
}
@keyframes bb-hint {
  0%, 100% { opacity: .35; width: 26px; }
  50%       { opacity: 1;   width: 46px; }
}

/* ── Featured Projects (index.html) ─────────────── */
.bb-featured {
  padding: 80px var(--pad-x) 100px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.bb-feat-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  height: 640px;
}

.bb-feat-card {
  position: relative;
  overflow: hidden;
  border: var(--bb-border);
  border-radius: var(--bb-radius);
  background: var(--bb-surface);
  cursor: pointer;
  box-shadow: var(--bb-shadow);
  transition: box-shadow var(--dur), transform var(--dur);
}
.bb-feat-card:hover {
  box-shadow: var(--bb-shadow-md);
  transform: translateY(-3px) translateX(-2px);
}
.bb-feat-card.span-2 { grid-row: span 2; }

/* CSS Art compositions */
.bb-art-01 { background: #141b2e; }
.bb-art-01::before {
  content: 'Aa';
  position: absolute;
  font-family: var(--font-serif);
  font-size: clamp(6rem, 14vw, 18rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(240,237,230,.05);
  line-height: 1;
  top: -10px;
  right: -10px;
  pointer-events: none;
}
.bb-art-01-bands {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  display: flex;
  height: 8px;
}
.bb-art-01-bands span:nth-child(1) { flex: 3; background: #2d3f7a; }
.bb-art-01-bands span:nth-child(2) { flex: 1; background: var(--bb-accent); }
.bb-art-01-bands span:nth-child(3) { flex: 2; background: rgba(240,237,230,.08); }

.bb-art-02 { background: #1c1a14; }
.bb-art-02::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 26px, rgba(240,237,230,.03) 26px, rgba(240,237,230,.03) 27px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(240,237,230,.02) 60px, rgba(240,237,230,.02) 61px);
}
.bb-art-02::after {
  content: 'Édi-\Atorial';
  position: absolute;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.6rem;
  font-weight: 300;
  color: rgba(240,237,230,.08);
  bottom: 20px;
  right: 20px;
  text-align: right;
  line-height: 1.1;
  pointer-events: none;
}

.bb-art-03 { background: #151d14; }
.bb-art-03::before {
  content: 'ABCDEFG';
  position: absolute;
  font-family: var(--font-sans);
  font-size: 3.8rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: rgba(240,237,230,.05);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
}
.bb-art-03-dot {
  position: absolute;
  top: 24px; left: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bb-accent);
  opacity: .65;
  border: 2px solid rgba(240,237,230,.3);
}

/* Info overlay */
.bb-feat-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(17,16,9,.7) 0%, transparent 100%);
}
.bb-feat-cat {
  font-size: .58rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bb-accent);
  margin-bottom: 6px;
  font-weight: 700;
}
.bb-feat-name {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  color: #f0ede6;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.bb-feat-year {
  font-size: .58rem;
  color: rgba(240,237,230,.55);
  margin-top: 4px;
  font-weight: 700;
  letter-spacing: .1em;
}

/* ── Services (index.html) ───────────────────────── */
.bb-services {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px var(--pad-x);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.bb-service {
  background: var(--bb-bg);
  border: var(--bb-border);
  border-radius: var(--bb-radius);
  padding: 48px 36px;
  box-shadow: var(--bb-shadow);
  transition: box-shadow var(--dur), transform var(--dur);
  position: relative;
  overflow: hidden;
}
.bb-service:hover {
  box-shadow: var(--bb-shadow-md);
  transform: translateY(-3px) translateX(-2px);
}
.bb-service-num {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: rgba(17,16,9,.06);
  line-height: 1;
  margin-bottom: 20px;
  font-family: var(--font-sans);
}
.bb-service-title {
  font-family: var(--font-sans);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--bb-black);
  margin-bottom: 16px;
  line-height: 1.05;
}
.bb-service-desc {
  font-size: .85rem;
  color: var(--bb-mid);
  line-height: 1.75;
}

/* ── Manifeste ───────────────────────────────────── */
.bb-manifeste {
  background: var(--bb-black);
  color: var(--bb-bg);
  padding: 100px var(--pad-x);
  border-top: var(--bb-border);
  border-bottom: var(--bb-border);
  text-align: center;
}
.bb-manifeste blockquote {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 6rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--bb-bg);
  max-width: 960px;
  margin: 0 auto;
}
.bb-manifeste blockquote em { color: var(--bb-accent); font-style: normal; }
.bb-manifeste-attr {
  margin-top: 36px;
  font-size: .62rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: rgba(240,237,230,.35);
  font-weight: 700;
}

/* ── Page Header ─────────────────────────────────── */
.bb-page-header {
  padding: 160px var(--pad-x) 60px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.bb-page-title {
  font-family: var(--font-sans);
  font-size: clamp(4rem, 10vw, 12rem);
  font-weight: 700;
  line-height: .85;
  letter-spacing: -.06em;
  text-transform: uppercase;
  color: var(--bb-black);
  margin-bottom: 28px;
}
.bb-page-desc {
  font-size: .9rem;
  color: var(--bb-mid);
  line-height: 1.75;
  max-width: 540px;
  border-left: 4px solid var(--bb-accent);
  padding-left: 20px;
}

/* ── Filter Tabs ─────────────────────────────────── */
.bb-filters {
  padding: 32px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: var(--bb-border);
}
.bb-filter-tab {
  padding: 8px 20px;
  background: none;
  border: var(--bb-border);
  border-radius: var(--bb-radius-pill);
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bb-mid);
  cursor: pointer;
  box-shadow: 3px 3px 0 0 var(--bb-black);
  transition: all .2s;
}
.bb-filter-tab:hover {
  color: var(--bb-black);
  background: var(--bb-surface);
}
.bb-filter-tab.active {
  color: var(--bb-bg);
  background: var(--bb-black);
  box-shadow: none;
  transform: translate(2px, 2px);
}

/* ── Project Grid (projets.html) ─────────────────── */
.bb-proj-list {
  padding: 48px var(--pad-x) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 300px;
  gap: 16px;
}

.bb-proj-item {
  position: relative;
  overflow: hidden;
  background: var(--bb-surface);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  border: var(--bb-border);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow);
  transition: box-shadow var(--dur), transform var(--dur);
}
.bb-proj-item:hover {
  box-shadow: var(--bb-shadow-md);
  transform: translateY(-3px) translateX(-2px);
}
.bb-proj-item.wide   { grid-column: span 2; }
.bb-proj-item.hidden { display: none; }

.bb-proj-item-art {
  position: absolute;
  inset: 0;
  transition: transform .65s var(--ease);
}
.bb-proj-item:hover .bb-proj-item-art { transform: scale(1.03); }

/* Individual art styles */
.bb-pi-01 .bb-proj-item-art { background: #141b2e; }
.bb-pi-01 .bb-proj-item-art::before {
  content: 'Aa'; position: absolute;
  font-family: var(--font-serif); font-style: italic; font-size: 10rem; font-weight: 300;
  color: rgba(240,237,230,.06); bottom: -10px; right: -5px; line-height: 1; pointer-events: none;
}
.bb-pi-01 .bb-pi-stripe { position: absolute; top: 0; left: 0; bottom: 0; width: 8px; background: #2d3f7a; }

.bb-pi-02 .bb-proj-item-art { background: #1e1714; }
.bb-pi-02 .bb-proj-item-art::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 22px, rgba(240,237,230,.03) 22px, rgba(240,237,230,.03) 23px);
}
.bb-pi-02 .bb-pi-txt {
  position: absolute; font-family: var(--font-serif); font-style: italic; font-size: 2.2rem;
  font-weight: 300; color: rgba(240,237,230,.1); bottom: 16px; right: 16px; text-align: right; line-height: 1.2;
}

.bb-pi-03 .bb-proj-item-art { background: #16201a; }
.bb-pi-03 .bb-proj-item-art::before {
  content: 'ABCDE'; position: absolute;
  font-family: var(--font-sans); font-size: 3.2rem; font-weight: 700;
  letter-spacing: .06em; color: rgba(240,237,230,.05); top: 50%; left: 50%;
  transform: translate(-50%, -50%); white-space: nowrap; pointer-events: none;
}
.bb-pi-03 .bb-pi-dot {
  position: absolute; top: 20px; left: 20px;
  width: 36px; height: 36px; border-radius: 50%; background: var(--bb-accent); opacity: .6;
}

.bb-pi-04 .bb-proj-item-art { background: #1a1012; }
.bb-pi-04 .bb-proj-item-art::before {
  content: 'M'; position: absolute;
  font-family: var(--font-serif); font-size: 18rem; font-weight: 300; font-style: italic;
  color: rgba(240,237,230,.04); top: -40px; right: -20px; line-height: 1; pointer-events: none;
}
.bb-pi-04 .bb-pi-band { position: absolute; bottom: 0; left: 0; right: 0; height: 8px; background: #8c1a2a; }

.bb-pi-05 .bb-proj-item-art { background: #1e1b0e; }
.bb-pi-05 .bb-proj-item-art::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(200,170,40,.07) 0%, transparent 60%);
}
.bb-pi-05 .bb-pi-ring {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 80px; height: 80px; border-radius: 50%; border: 2px solid rgba(200,170,40,.25);
}
.bb-pi-05 .bb-pi-ring-2 {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border-radius: 50%; border: 2px solid rgba(200,170,40,.4);
}

.bb-pi-06 .bb-proj-item-art { background: #16141e; }
.bb-pi-06 .bb-proj-item-art::before {
  content: 'Velin'; position: absolute;
  font-family: var(--font-serif); font-size: 4.5rem; font-weight: 300; font-style: italic;
  color: rgba(240,237,230,.08); bottom: 16px; left: 20px; line-height: 1; pointer-events: none;
}
.bb-pi-06 .bb-pi-line { position: absolute; top: 24px; left: 20px; right: 20px; height: 2px; background: rgba(240,237,230,.08); }

.bb-pi-07 .bb-proj-item-art { background: #1a0f0d; }
.bb-pi-07 .bb-proj-item-art::before {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent, transparent 20px, rgba(201,75,24,.05) 20px, rgba(201,75,24,.05) 21px);
}

.bb-pi-08 .bb-proj-item-art { background: #131519; }
.bb-pi-08 .bb-proj-item-art::before {
  content: '01'; position: absolute;
  font-family: var(--font-sans); font-size: 5rem; font-weight: 700;
  color: rgba(240,237,230,.05); top: 50%; left: 50%;
  transform: translate(-50%, -50%); pointer-events: none;
}
.bb-pi-08 .bb-pi-corner {
  position: absolute; top: 0; right: 0;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 60px 60px 0;
  border-color: transparent rgba(201,75,24,.25) transparent transparent;
}

/* Generic pi-txt — typographic element inside art cell */
.bb-pi-txt {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-style: italic;
  font-size: 2.5rem;
  font-weight: 300;
  color: rgba(240,237,230,.1);
  text-align: right;
  line-height: 1.2;
  pointer-events: none;
}

/* Info overlay */
.bb-proj-item-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(17,16,9,.7) 0%, transparent 50%);
}
.bb-proj-item-name {
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #f0ede6;
  margin-bottom: 4px;
}
.bb-proj-item-meta {
  font-size: .58rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bb-accent);
  font-weight: 700;
}

/* ── Tester Bar ──────────────────────────────────── */
.bb-tester-bar {
  position: sticky;
  top: 72px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0;
  height: 56px;
  max-width: calc(var(--max-w) - 2 * var(--pad-x));
  margin: 0 auto;
  background: var(--bb-bg);
  border: var(--bb-border);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow);
  overflow: hidden;
}

.bb-tester-input-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  border-right: var(--bb-border);
  height: 100%;
}
.bb-tester-pencil { color: var(--bb-mid); font-size: .85rem; flex-shrink: 0; }

.bb-tester-inline {
  flex: 1;
  min-width: 0;
  background: none;
  border: none;
  color: var(--bb-black);
  font-family: var(--font-sans);
  font-size: .85rem;
  font-weight: 500;
  outline: none;
}
.bb-tester-inline::placeholder { color: var(--bb-faint); }

.bb-tester-sep {
  width: var(--bb-border-w);
  height: 100%;
  background: var(--bb-black);
  flex-shrink: 0;
}

.bb-preset-btns {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
  padding: 0 16px;
  border-right: var(--bb-border);
  height: 100%;
  align-items: center;
}
.bb-preset-btn {
  padding: 6px 14px;
  background: none;
  border: 2px solid transparent;
  border-radius: var(--bb-radius-pill);
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--bb-mid);
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.bb-preset-btn:hover { color: var(--bb-black); border-color: var(--bb-black); }
.bb-preset-btn.active {
  color: var(--bb-bg);
  background: var(--bb-black);
  border-color: var(--bb-black);
}

/* Size slider */
.bb-bar-size {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  flex-shrink: 0;
  border-right: var(--bb-border);
  height: 100%;
}
.bb-bar-size-val {
  font-size: .68rem;
  font-weight: 700;
  color: var(--bb-mid);
  min-width: 36px;
  text-align: right;
  white-space: nowrap;
}
input[type="range"].bb-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 3px;
  background: var(--bb-black);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
input[type="range"].bb-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--bb-accent);
  border: 2px solid var(--bb-black);
  cursor: pointer;
}

/* Italic toggle */
.bb-tester-italic {
  padding: 0 16px;
  height: 100%;
  background: none;
  border: none;
  border-right: var(--bb-border);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: var(--bb-mid);
  cursor: pointer;
  transition: color .2s, background .2s;
  flex-shrink: 0;
}
.bb-tester-italic:hover { color: var(--bb-black); background: var(--bb-surface); }
.bb-tester-italic.active { color: var(--bb-accent); background: var(--bb-surface); }

/* Filter tabs (inline in tester bar) */
.bb-bar-filters {
  display: flex;
  align-items: center;
  gap: 0;
  padding-left: 8px;
  height: 100%;
}
.bb-bar-filter-tab {
  padding: 0 16px;
  height: 100%;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  font-family: var(--font-sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bb-mid);
  cursor: pointer;
  transition: color .18s, border-color .18s;
  white-space: nowrap;
}
.bb-bar-filter-tab:hover { color: var(--bb-black); }
.bb-bar-filter-tab.active { color: var(--bb-black); border-bottom-color: var(--bb-accent); }

/* ── Font Specimens + Inline Preview ─────────────── */
.bb-fonts-grid {
  padding: 40px var(--pad-x) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.bb-font-card {
  background: var(--bb-bg);
  padding: 36px 44px 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  border: var(--bb-border);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow);
  transition: box-shadow var(--dur), transform var(--dur);
  text-align: left;
  color: inherit;
}
.bb-font-card.hidden { display: none; }
.bb-font-card:hover {
  box-shadow: var(--bb-shadow-md);
  transform: translateY(-3px) translateX(-2px);
}

.bb-font-preview {
  flex: 1;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 20px;
}
.bb-preview-specimen {
  display: block;
  font-size: 52px;
  font-weight: 300;
  color: var(--bb-black);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  transition: font-style .2s, font-weight .2s, font-size .1s;
}

/* Specimen font classes */
.bb-specimen-droulers     { font-family: 'Droulers',          serif;      font-weight: 400; }
.bb-specimen-droulers-it  { font-family: 'Droulers',          serif;      font-style: italic; font-weight: 400; }
.bb-specimen-droulers-cl  { font-family: 'DroulersClarendon', serif;      font-weight: 400; }
.bb-specimen-droulers-cl-it{ font-family: 'DroulersClarendon', serif;     font-style: italic; font-weight: 400; }
.bb-specimen-ostia        { font-family: 'OstiaAntica',       serif;      font-weight: 400; }
.bb-specimen-traulha      { font-family: 'Traulha',           serif;      font-weight: 400; }
.bb-specimen-traulha-it   { font-family: 'Traulha',           serif;      font-style: italic; font-weight: 400; }
.bb-specimen-bgrotesk     { font-family: 'BrutGrotesque',     sans-serif; font-weight: 500; }
.bb-specimen-bgrotesk-xl  { font-family: 'BrutGrotesque',     sans-serif; font-weight: 200; letter-spacing: .04em; }
.bb-specimen-roman-grot   { font-family: 'RomanGrotesque',    sans-serif; font-weight: 500; }
.bb-specimen-matorral     { font-family: 'Matorral',          sans-serif; font-weight: 500; }
.bb-specimen-round        { font-family: 'Round',             sans-serif; font-weight: 400; }
.bb-specimen-round-cond   { font-family: 'RoundCondensed',    sans-serif; font-weight: 500; }
.bb-specimen-round-ultra  { font-family: 'RoundUltra',        sans-serif; font-weight: 700; }
.bb-specimen-boogy        { font-family: 'BoogyBrut',         sans-serif; font-weight: 700; }
.bb-specimen-boogy-post   { font-family: 'BoogyBrutPoster',   sans-serif; font-weight: 900; }
.bb-specimen-totentanz    { font-family: 'Totentanz',         serif;      font-weight: 400; }
.bb-specimen-bourrasque   { font-family: 'Bourrasque',        sans-serif; font-weight: 400; }
.bb-specimen-bourrasque-e { font-family: 'BourrasqueEst',     sans-serif; font-weight: 400; }
/* Legacy aliases */
.bb-specimen-sans       { font-family: 'BrutGrotesque',     sans-serif; font-weight: 500; }
.bb-specimen-serif      { font-family: 'DroulersClarendon', serif;      font-style: italic; font-weight: 400; }
.bb-specimen-serif-med  { font-family: 'Droulers',          serif;      font-style: italic; font-weight: 400; }
.bb-specimen-sans-light { font-family: 'BrutGrotesque',     sans-serif; font-weight: 200; letter-spacing: .04em; }
.bb-specimen-serif-reg  { font-family: 'OstiaAntica',       serif;      font-style: normal; font-weight: 400; }
.bb-specimen-sans-med   { font-family: 'Matorral',          sans-serif; font-weight: 500; }

/* Card footer */
.bb-font-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-top: var(--bb-border);
  padding-top: 16px;
}
.bb-font-card-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--bb-black);
  margin-bottom: 5px;
}
.bb-font-type-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.bb-font-type   { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--bb-accent); }
.bb-font-styles { font-size: .64rem; font-weight: 500; color: var(--bb-mid); }
.bb-font-year   { font-size: .64rem; font-weight: 500; color: var(--bb-mid); }

/* ── Studio / About ──────────────────────────────── */
.bb-studio-hero {
  padding: 160px var(--pad-x) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: var(--bb-border);
}
.bb-studio-hero-quote {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 6.5rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--bb-black);
  max-width: 900px;
}
.bb-studio-hero-quote em { color: var(--bb-accent); font-style: normal; }

.bb-studio-intro {
  padding: 80px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  border-bottom: var(--bb-border);
}
.bb-studio-intro-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--bb-black);
  letter-spacing: -.03em;
  text-transform: uppercase;
  padding-top: 6px;
}
.bb-studio-intro-body p {
  font-size: .88rem;
  color: var(--bb-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

/* Valeurs */
.bb-valeurs {
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: var(--bb-border);
}
.bb-valeurs-head {
  padding: 80px var(--pad-x) 48px;
}
.bb-valeurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding: 0 var(--pad-x) 80px;
}
.bb-valeur {
  background: var(--bb-bg);
  border: var(--bb-border);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow);
  padding: 44px 32px;
  transition: box-shadow var(--dur), transform var(--dur);
}
.bb-valeur:hover {
  box-shadow: var(--bb-shadow-md);
  transform: translateY(-2px) translateX(-2px);
}
.bb-valeur-num {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: rgba(17,16,9,.08);
  margin-bottom: 16px;
  display: block;
  font-family: var(--font-sans);
  line-height: 1;
}
.bb-valeur-name {
  font-family: var(--font-sans);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--bb-black);
  margin-bottom: 14px;
  line-height: 1.05;
}
.bb-valeur-desc {
  font-size: .8rem;
  color: var(--bb-mid);
  line-height: 1.75;
}

/* Team */
.bb-team {
  padding: 80px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: var(--bb-border);
}
.bb-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.bb-team-avatar {
  width: 100%;
  aspect-ratio: 4/5;
  border: var(--bb-border);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow);
  background: var(--bb-surface);
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}
.bb-team-avatar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, var(--bb-surface-2) 0%, var(--bb-surface) 100%);
}
.bb-team-avatar::after {
  content: '';
  position: absolute;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(17,16,9,.06);
  border: 2px solid rgba(17,16,9,.12);
  top: 50%; left: 50%;
  transform: translate(-50%, -58%);
}
.bb-team-avatar-initials {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  font-family: var(--font-sans);
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -.04em;
  color: rgba(17,16,9,.08);
  text-align: right;
  line-height: 1;
}
.bb-team-name {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: var(--bb-black);
  margin-bottom: 5px;
}
.bb-team-role {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bb-accent);
  margin-bottom: 12px;
}
.bb-team-bio {
  font-size: .8rem;
  color: var(--bb-mid);
  line-height: 1.75;
}

/* Enseignement */
.bb-enseignement {
  padding: 80px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  border-bottom: var(--bb-border);
}
.bb-ens-schools {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bb-ens-school {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .82rem;
  color: var(--bb-mid);
}
.bb-ens-school::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bb-accent);
  flex-shrink: 0;
}

/* Contact */
.bb-contact {
  padding: 80px var(--pad-x) 100px;
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.bb-contact-title {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5.5vw, 7rem);
  font-weight: 700;
  letter-spacing: -.05em;
  text-transform: uppercase;
  color: var(--bb-black);
  line-height: .9;
  margin-bottom: 32px;
}
.bb-contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bb-accent);
  border: var(--bb-border);
  border-radius: var(--bb-radius-pill);
  padding: 12px 28px;
  box-shadow: 4px 4px 0 0 var(--bb-black);
  transition: box-shadow var(--dur), transform var(--dur), color var(--dur);
}
.bb-contact-email:hover {
  box-shadow: none;
  transform: translate(2px, 2px);
  color: var(--bb-accent);
}
.bb-contact-right p {
  font-size: .85rem;
  color: var(--bb-mid);
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── Fonte Product Page ──────────────────────────── */
.bb-fonte-hero {
  padding: 120px var(--pad-x) 0;
  max-width: var(--max-w);
  margin: 0 auto;
}
.bb-fonte-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bb-fonte-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bb-mid);
  margin-bottom: 48px;
}
.bb-fonte-breadcrumb a { color: var(--bb-mid); transition: color .2s; }
.bb-fonte-breadcrumb a:hover { color: var(--bb-black); }

.bb-fonte-hero-specimen {
  overflow: hidden;
  padding-bottom: 32px;
}
.bb-fonte-big-specimen {
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(4rem, 10vw, 12rem);
  font-weight: 700;
  letter-spacing: -.05em;
  text-transform: uppercase;
  color: var(--bb-black);
  line-height: .9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bb-fonte-hero-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-top: var(--bb-border);
  flex-wrap: wrap;
}
.bb-fonte-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bb-fonte-meta-badge {
  padding: 6px 16px;
  border: var(--bb-border);
  border-radius: var(--bb-radius-pill);
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bb-mid);
  box-shadow: 3px 3px 0 0 var(--bb-black);
}
.bb-fonte-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.bb-fonte-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

/* Waterfall */
.bb-fonte-waterfall {
  border-bottom: var(--bb-border);
}
.bb-fonte-waterfall-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.bb-fonte-style-row {
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 2px solid var(--bb-line-mid);
}
.bb-fonte-style-row:last-child { border-bottom: none; }
.bb-wf-label {
  flex-shrink: 0;
  min-width: 160px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bb-mid);
}
.bb-wf-text {
  font-size: 2.2rem;
  font-weight: inherit;
  color: var(--bb-black);
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  display: block;
}

/* Glyphs */
.bb-fonte-glyphs {
  border-bottom: var(--bb-border);
  padding: 80px 0;
}
.bb-fonte-glyphs-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.bb-fonte-section-head { margin-bottom: 48px; }
.bb-fonte-section-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--bb-black);
  line-height: 1;
}
.bb-fonte-alphabet {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bb-fonte-alphabet span {
  font-size: 1.5rem;
  color: var(--bb-black);
  line-height: 1.5;
  letter-spacing: .08em;
}

/* Specs */
.bb-fonte-details {
  border-bottom: var(--bb-border);
  padding: 80px 0;
}
.bb-fonte-details-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad-x); }
.bb-fonte-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 0;
}
.bb-fonte-spec {
  background: var(--bb-bg);
  border: var(--bb-border);
  border-radius: var(--bb-radius);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 4px 4px 0 0 var(--bb-black);
}
.bb-fonte-spec:last-child:nth-child(odd) { grid-column: span 2; }
.bb-fonte-spec-label {
  font-size: .64rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bb-accent);
}
.bb-fonte-spec-val {
  font-size: .88rem;
  color: var(--bb-black);
  line-height: 1.5;
  font-weight: 500;
}

/* CTA */
.bb-fonte-cta {
  border-bottom: var(--bb-border);
  padding: 80px 0;
}
.bb-fonte-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ── Footer ──────────────────────────────────────── */
.bb-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x) 48px;
  border-top: var(--bb-border);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto auto;
  column-gap: 40px;
  row-gap: 0;
}

.bb-footer::before {
  content: "Bureau Brut";
  grid-column: 1 / -1;
  grid-row: 1;
  display: block;
  font-family: var(--font-sans);
  font-size: clamp(4rem, 12vw, 16rem);
  font-weight: 700;
  letter-spacing: -.06em;
  line-height: .85;
  text-transform: uppercase;
  color: var(--bb-black);
  padding: 60px 0 40px;
  border-bottom: var(--bb-border);
  margin-bottom: 32px;
}

.bb-footer-copy {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bb-mid);
  white-space: nowrap;
}
.bb-footer-links {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.bb-footer-ext {
  grid-column: 3;
  grid-row: 2;
  display: flex;
  gap: 4px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}
.bb-footer-links a,
.bb-footer-ext a {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bb-mid);
  padding: 6px 14px;
  border: 2px solid transparent;
  border-radius: var(--bb-radius-pill);
  transition: border-color var(--dur), color var(--dur), background var(--dur);
}
.bb-footer-links a:hover,
.bb-footer-ext a:hover {
  border-color: var(--bb-black);
  color: var(--bb-black);
  background: var(--bb-surface);
}
.bb-footer-proto {
  grid-column: 1 / -1;
  grid-row: 3;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid var(--bb-line-mid);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bb-faint);
}
.bb-footer-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bb-accent);
  display: inline-block;
  flex-shrink: 0;
}

/* ── Fonte CTA & Others ──────────────────────────── */
.bb-fonte-cta-title {
  font-family: var(--font-sans);
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 700;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--bb-black);
  line-height: .92;
  margin-bottom: 24px;
}
.bb-fonte-cta-title em {
  color: var(--bb-accent);
  font-style: normal;
}
.bb-fonte-cta-desc {
  font-size: .9rem;
  color: var(--bb-mid);
  line-height: 1.75;
  max-width: 480px;
}
.bb-fonte-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.bb-fonte-others {
  padding-bottom: 80px;
}
.bb-fonte-others-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px var(--pad-x) 0;
}
.bb-fonte-others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}
.bb-fonte-other-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: var(--bb-border);
  border-radius: var(--bb-radius);
  box-shadow: var(--bb-shadow);
  overflow: hidden;
  background: var(--bb-bg);
  transition: box-shadow var(--dur), transform var(--dur);
}
.bb-fonte-other-card:hover {
  box-shadow: var(--bb-shadow-md);
  transform: translateY(-3px) translateX(-2px);
}
.bb-fonte-other-preview {
  padding: 40px 32px;
  overflow: hidden;
  min-height: 120px;
  display: flex;
  align-items: flex-end;
  background: var(--bb-surface);
}
.bb-fonte-other-foot {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 32px;
  border-top: var(--bb-border);
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --pad-x: 40px; }

  .bb-hero { grid-template-columns: 1fr; gap: 40px; align-items: start; padding-top: 140px; }
  .bb-hero-visual { min-height: 320px; }
  .bb-scroll-hint { display: none; }

  .bb-feat-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }
  .bb-feat-card.span-2 { grid-row: span 1; height: 280px; }
  .bb-feat-card        { height: 220px; }

  .bb-services { grid-template-columns: 1fr; }

  .bb-proj-list { grid-template-columns: repeat(2, 1fr); }
  .bb-proj-item.wide { grid-column: span 2; }

  .bb-fonts-grid { grid-template-columns: 1fr; }

  .bb-studio-intro { grid-template-columns: 1fr; gap: 40px; }
  .bb-enseignement { grid-template-columns: 1fr; gap: 40px; }
  .bb-contact { grid-template-columns: 1fr; gap: 40px; }

  .bb-valeurs-grid { grid-template-columns: repeat(2, 1fr); }
  .bb-team-grid { grid-template-columns: 1fr 1fr; }

  .bb-fonte-cta-inner { grid-template-columns: 1fr; gap: 40px; }
  .bb-fonte-others-grid { grid-template-columns: 1fr 1fr; }
  .bb-fonte-specs-grid { grid-template-columns: 1fr; }
  .bb-fonte-spec:last-child:nth-child(odd) { grid-column: span 1; }
}

@media (max-width: 768px) {
  :root { --pad-x: 20px; }

  .bb-nav {
    padding: 6px 6px 6px 20px;
    gap: 2px;
  }
  .bb-nav-links { display: none; }
  .bb-nav-right { display: none; }
  .bb-burger { display: flex; }

  .bb-hero-title { font-size: clamp(3rem, 14vw, 5rem); }
  .bb-page-title { font-size: clamp(3rem, 14vw, 5rem); }

  .bb-section-head { flex-direction: column; align-items: flex-start; }

  .bb-proj-list { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .bb-proj-item.wide { grid-column: span 1; }

  .bb-valeurs-grid { grid-template-columns: 1fr; }
  .bb-team-grid { grid-template-columns: 1fr; }

  .bb-footer::before {
    font-size: clamp(3rem, 16vw, 6rem);
    padding: 40px 0 32px;
  }

  .bb-tester-bar { flex-wrap: nowrap; overflow-x: auto; }
  .bb-bar-filters { display: none; }

  .bb-fonte-others-grid { grid-template-columns: 1fr; }
}
