/* ============================================
   BUREAU BRUT — Design System
   Direction : Claire / Éditorial
   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 {
  --bb-bg:          #f0ede6;   /* was #111009 — now cream background */
  --bb-surface:     #e8e4dc;   /* was #1a1916 — slightly darker cream for cards/surfaces */
  --bb-surface-2:   #dedad1;   /* was #222018 — darker surface variant */
  --bb-cream:       #111009;   /* was #f0ede6 — now used as dark text color */
  --bb-mid:         #6b6158;   /* was #8c857c — warm dark mid tone, good contrast on cream */
  --bb-faint:       #9e9188;   /* was #807a74 — lighter for secondary text on cream bg */
  --bb-accent:      #c94b18;   /* keep — orange accent */
  --bb-accent-dim:  rgba(201,75,24,.10);
  --bb-accent-glow: rgba(201,75,24,.20);
  --bb-line:        rgba(17,16,9,.08);    /* was rgba(240,237,230,.06) — now dark lines on light bg */
  --bb-line-mid:    rgba(17,16,9,.15);   /* was rgba(240,237,230,.12) */

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

  --ease:     cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur:      350ms;
  --pad-x:    64px;
  --max-w:    1440px;
  --radius:   3px;
}

/* ── 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-cream);
  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; }

/* ── 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 ──────────────────────────────────── */
.bb-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  padding: 0 var(--pad-x);
  transition: background .45s var(--ease), box-shadow .45s var(--ease);
}
.bb-nav.scrolled {
  background: rgba(240,237,230,.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--bb-line-mid);
}

.bb-nav-logo {
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bb-cream);
  min-width: 140px;
}

.bb-nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.bb-nav-links a {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bb-mid);
  transition: color .25s;
}
.bb-nav-links a:hover { color: var(--bb-cream); }

.bb-nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 140px;
  justify-content: flex-end;
}

.bb-nav-back {
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bb-faint);
  transition: color .25s;
}
.bb-nav-back:hover { color: var(--bb-cream); }

/* Burger */
.bb-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.bb-burger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--bb-cream);
  transition: transform .3s, opacity .3s;
}
.bb-nav.menu-open .bb-burger span:nth-child(1) { transform: translateY(6px) 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(-6px) 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: 28px;
}
.bb-mobile-nav.open { display: flex; }
.bb-mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--bb-cream);
  opacity: .75;
  transition: opacity .2s;
}
.bb-mobile-nav a:hover { opacity: 1; }

/* ── Buttons ─────────────────────────────────────── */
.bb-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 28px;
  background: var(--bb-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background .25s, box-shadow .25s, transform .2s;
  text-decoration: none;
}
.bb-btn:hover {
  background: #d8531e;
  box-shadow: 0 8px 28px var(--bb-accent-glow);
  transform: translateY(-1px);
}

.bb-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 28px;
  background: transparent;
  color: var(--bb-cream);
  font-family: var(--font-sans);
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .16em;
  text-transform: uppercase;
  border: 1px solid var(--bb-line-mid);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color .25s, color .25s;
  text-decoration: none;
}
.bb-btn-outline:hover { border-color: var(--bb-cream); }

.bb-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  background: transparent;
  color: var(--bb-mid);
  font-family: var(--font-sans);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
  transition: color .25s, border-color .25s;
  text-decoration: none;
}
.bb-btn-ghost:hover {
  color: var(--bb-cream);
  border-bottom-color: var(--bb-accent);
}

/* ── Ticker ──────────────────────────────────────── */
.bb-ticker {
  overflow: hidden;
  border-top: 1px solid var(--bb-line);
  border-bottom: 1px solid var(--bb-line);
  padding: 14px 0;
  white-space: nowrap;
}
.bb-ticker-inner {
  display: inline-flex;
  animation: bb-tick 30s linear infinite;
}
.bb-ticker-inner:hover { animation-play-state: paused; }
.bb-ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bb-faint);
}
.bb-ticker-dot {
  width: 4px;
  height: 4px;
  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: end;
  padding: 120px var(--pad-x) 80px;
  gap: 64px;
  position: relative;
}

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

.bb-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}
.bb-hero-eyebrow-line {
  width: 32px;
  height: 1px;
  background: var(--bb-accent);
}
.bb-hero-eyebrow-text {
  font-size: .58rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--bb-accent);
}

.bb-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 7.5vw, 9rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -.02em;
  hyphens: none;
  color: var(--bb-cream);
  margin-bottom: 36px;
}

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

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

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

.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-cream);
  line-height: 1;
  pointer-events: none;
}
/* Large background "A" */
.bb-tc-a {
  font-size: clamp(10rem, 22vw, 26rem);
  opacity: .055;
  top: -8%;
  right: -8%;
  letter-spacing: -.04em;
}
/* Mid "b" */
.bb-tc-b {
  font-size: clamp(4rem, 10vw, 12rem);
  opacity: .14;
  bottom: 10%;
  left: 8%;
  letter-spacing: -.03em;
}
/* Large "g" */
.bb-tc-d {
  font-size: clamp(3rem, 7vw, 8rem);
  opacity: .1;
  top: 20%;
  left: 20%;
  letter-spacing: -.02em;
}
/* Small faint letterform */
.bb-tc-e {
  font-size: clamp(1.5rem, 4vw, 4.5rem);
  opacity: .07;
  bottom: 28%;
  right: 10%;
}
/* Vertical label */
.bb-tc-c {
  font-size: .6rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  font-style: normal;
  font-family: var(--font-sans);
  opacity: .3;
  top: 35%;
  left: 5%;
  transform: rotate(-90deg);
  transform-origin: left center;
  color: var(--bb-accent);
}
/* Structural lines */
.bb-tc-line {
  position: absolute;
  background: var(--bb-line-mid);
}
.bb-tc-line-v {
  width: 1px;
  height: 55%;
  top: 22%;
  left: 9%;
}
.bb-tc-line-h {
  width: 38%;
  height: 1px;
  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: 1px;
  background: var(--bb-accent);
  animation: bb-hint 2.2s ease-in-out infinite;
}
.bb-scroll-hint-text {
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bb-faint);
}
@keyframes bb-hint {
  0%, 100% { opacity: .35; width: 26px; }
  50%       { opacity: 1;   width: 46px; }
}

/* ── 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-serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--bb-cream);
}
.bb-eyebrow {
  display: block;
  font-size: .58rem;
  font-weight: 400;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--bb-accent);
  margin-bottom: 14px;
}

/* ── Featured Projects (index.html) ─────────────── */
.bb-featured {
  padding: 64px 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: 14px;
  height: 620px;
}

.bb-feat-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bb-surface);
  cursor: pointer;
  transition: transform .5s var(--ease);
}
.bb-feat-card:hover { transform: translateY(-3px); }
.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(17,16,9,.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: 7px;
}
.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(17,16,9,.12); }

.bb-art-02 { background: #1c1a14; }
.bb-art-02::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 26px, rgba(17,16,9,.04) 26px, rgba(17,16,9,.04) 27px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(17,16,9,.025) 60px, rgba(17,16,9,.025) 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(17,16,9,.1);
  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: 600;
  letter-spacing: .05em;
  color: rgba(17,16,9,.055);
  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;
}

/* Info overlay — always visible, no gradient */
.bb-feat-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 24px;
}
.bb-feat-cat {
  font-size: .55rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bb-accent);
  margin-bottom: 6px;
}
.bb-feat-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 300;
  color: #f0ede6;
  line-height: 1.15;
}
.bb-feat-year {
  font-size: .58rem;
  color: rgba(240,237,230,.6);
  margin-top: 4px;
}

/* ── Services (index.html) ───────────────────────── */
.bb-services {
  border-top: 1px solid var(--bb-line);
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--bb-line);
}
.bb-service {
  background: var(--bb-bg);
  padding: 56px var(--pad-x) 56px;
}
.bb-service-num {
  font-size: .58rem;
  letter-spacing: .22em;
  color: var(--bb-faint);
  margin-bottom: 28px;
  display: block;
}
.bb-service-title {
  font-family: var(--font-serif);
  font-size: 1.9rem;
  font-weight: 300;
  color: var(--bb-cream);
  margin-bottom: 16px;
  line-height: 1.05;
}
.bb-service-desc {
  font-size: .82rem;
  color: var(--bb-mid);
  line-height: 1.75;
}

/* ── Manifeste ───────────────────────────────────── */
.bb-manifeste {
  padding: 80px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  border-top: 1px solid var(--bb-line);
  border-bottom: 1px solid var(--bb-line);
}
.bb-manifeste blockquote {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 5rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -.02em;
  color: var(--bb-cream);
  max-width: 900px;
}
.bb-manifeste blockquote em { color: var(--bb-accent); font-style: normal; }
.bb-manifeste-attr {
  margin-top: 28px;
  font-size: .58rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bb-faint);
}

/* ── Page Header ─────────────────────────────────── */
.bb-page-header {
  padding: 140px var(--pad-x) 60px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--bb-line);
}
.bb-page-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7.5vw, 8rem);
  font-weight: 300;
  line-height: .88;
  letter-spacing: -.03em;
  color: var(--bb-cream);
  margin-bottom: 22px;
}
.bb-page-desc {
  font-size: .88rem;
  color: var(--bb-mid);
  line-height: 1.75;
  max-width: 540px;
}

/* ── Filter Tabs ─────────────────────────────────── */
.bb-filters {
  padding: 36px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--bb-line);
}
.bb-filter-tab {
  padding: 7px 18px;
  background: none;
  border: 1px solid transparent;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bb-faint);
  cursor: pointer;
  transition: all .2s;
}
.bb-filter-tab:hover { color: var(--bb-cream); border-color: var(--bb-line-mid); }
.bb-filter-tab.active {
  color: var(--bb-bg);
  background: var(--bb-cream);
  border-color: var(--bb-cream);
}

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

.bb-proj-item {
  position: relative;
  overflow: hidden;
  background: var(--bb-surface);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.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.04); }

/* 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(17,16,9,.07); 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: 7px; 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(17,16,9,.035) 22px, rgba(17,16,9,.035) 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(17,16,9,.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: 600;
  letter-spacing: .06em; color: rgba(17,16,9,.06); 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(17,16,9,.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: 6px; 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: 1px solid rgba(200,170,40,.2);
}
.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: 1px solid rgba(200,170,40,.35);
}

.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(17,16,9,.09); 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: 1px; background: rgba(17,16,9,.1); }

.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,.04) 20px, rgba(201,75,24,.04) 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: 600;
  color: rgba(17,16,9,.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;
}

/* Info overlay — always visible, no gradient */
.bb-proj-item-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bb-proj-item-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 300;
  color: #f0ede6;
  margin-bottom: 4px;
}
.bb-proj-item-meta {
  font-size: .56rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bb-accent);
}

/* ── Tester Bar (Fontshare-style, sticky) ────────── */
.bb-tester-bar {
  position: sticky;
  top: 60px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 0;
  height: 52px;
  max-width: calc(var(--max-w) - 2 * var(--pad-x));
  margin: 0 auto;
  background: var(--bb-surface);
  border-bottom: 1px solid var(--bb-line-mid);
}

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

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

.bb-tester-sep {
  width: 1px;
  height: 22px;
  background: var(--bb-line-mid);
  margin: 0 16px;
  flex-shrink: 0;
}

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

/* Size slider (in bar) */
.bb-bar-size {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  flex-shrink: 0;
  border-right: 1px solid var(--bb-line-mid);
  height: 100%;
}
.bb-bar-size-val {
  font-size: .68rem;
  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: 2px;
  background: var(--bb-line-mid);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}
input[type="range"].bb-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--bb-accent);
  cursor: pointer;
}

/* Italic toggle (in bar) */
.bb-tester-italic {
  padding: 0 14px;
  height: 100%;
  background: none;
  border: none;
  border-right: 1px solid var(--bb-line-mid);
  font-family: var(--font-serif);
  font-size: .9rem;
  font-style: italic;
  color: var(--bb-faint);
  cursor: pointer;
  transition: color .2s;
  flex-shrink: 0;
}
.bb-tester-italic:hover { color: var(--bb-cream); }
.bb-tester-italic.active { color: var(--bb-accent); }

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

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

.bb-font-card {
  background: var(--bb-surface);
  padding: 36px 44px 28px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: background .3s;
  display: flex;
  flex-direction: column;
  min-height: 230px;
  border: none;
  text-align: left;
  color: inherit;
}
.bb-font-card.hidden { display: none; }
.bb-font-card:hover  { background: var(--bb-surface-2); }

/* Preview text area (large, top of card) */
.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-cream);
  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 — one per Bureau Brut typeface family */
/* Serifs */
.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; }
/* Sans */
.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; }
/* Display */
.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 (used by existing cards) */
.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 (metadata) */
.bb-font-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--bb-line);
  padding-top: 16px;
}
.bb-font-card-label {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .08em;
  color: var(--bb-cream);
  margin-bottom: 5px;
}
.bb-font-type-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.bb-font-type   { font-size: .64rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bb-accent); }
.bb-font-styles { font-size: .68rem; color: var(--bb-faint); }
.bb-font-year   { font-size: .68rem; color: var(--bb-faint); }

/* ── Studio / About ──────────────────────────────── */
.bb-studio-hero {
  padding: 140px var(--pad-x) 80px;
  max-width: var(--max-w);
  margin: 0 auto;
  border-bottom: 1px solid var(--bb-line);
}
.bb-studio-hero-quote {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5.5vw, 6rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.05;
  letter-spacing: -.03em;
  color: var(--bb-cream);
  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: 1px solid var(--bb-line);
}
.bb-studio-intro-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--bb-cream);
  letter-spacing: -.01em;
  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: 1px solid var(--bb-line);
}
.bb-valeurs-head {
  padding: 80px var(--pad-x) 48px;
}
.bb-valeurs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--bb-line);
}
.bb-valeur {
  background: var(--bb-bg);
  padding: 44px 36px;
}
.bb-valeur-num {
  font-size: .56rem;
  letter-spacing: .24em;
  color: var(--bb-accent);
  margin-bottom: 24px;
  display: block;
}
.bb-valeur-name {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--bb-cream);
  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: 1px solid var(--bb-line);
}
.bb-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 52px;
}
.bb-team-avatar {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  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: 1px solid var(--bb-line-mid);
  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-serif);
  font-size: 3.5rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(17,16,9,.06);
  text-align: right;
  line-height: 1;
}
.bb-team-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--bb-cream);
  margin-bottom: 5px;
}
.bb-team-role {
  font-size: .68rem;
  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: 1px solid var(--bb-line);
}
.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: 4px; height: 4px;
  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-serif);
  font-size: clamp(2rem, 4.5vw, 5rem);
  font-weight: 300;
  color: var(--bb-cream);
  line-height: 1;
  letter-spacing: -.02em;
  margin-bottom: 24px;
}
.bb-contact-email {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bb-accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(212,80,26,.4);
  padding-bottom: 2px;
  transition: opacity .2s;
}
.bb-contact-email:hover { opacity: .7; }
.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;
  border-bottom: 1px solid var(--bb-line);
}
.bb-fonte-hero-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.bb-fonte-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bb-faint);
  margin-bottom: 48px;
}
.bb-fonte-breadcrumb a { color: var(--bb-mid); transition: color .2s; }
.bb-fonte-breadcrumb a:hover { color: var(--bb-cream); }

.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, 11rem);
  font-weight: 300;
  color: var(--bb-cream);
  line-height: 1;
  letter-spacing: -.03em;
  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: 1px solid var(--bb-line);
  flex-wrap: wrap;
}
.bb-fonte-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.bb-fonte-meta-badge {
  padding: 5px 14px;
  border: 1px solid var(--bb-line-mid);
  border-radius: 100px;
  font-size: .56rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bb-mid);
}
.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: 1px solid var(--bb-line);
}
.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: 22px 0;
  border-bottom: 1px solid var(--bb-line);
}
.bb-fonte-style-row:last-child { border-bottom: none; }
.bb-wf-label {
  flex-shrink: 0;
  min-width: 160px;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bb-faint);
}
.bb-wf-text {
  font-size: 2.2rem;
  font-weight: inherit;
  color: var(--bb-cream);
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  display: block;
}

/* Glyphs */
.bb-fonte-glyphs {
  border-bottom: 1px solid var(--bb-line);
  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-serif);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--bb-cream);
  line-height: 1;
  letter-spacing: -.02em;
}
.bb-fonte-alphabet {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bb-fonte-alphabet span {
  font-size: 1.5rem;
  color: var(--bb-mid);
  line-height: 1.5;
  letter-spacing: .08em;
}

/* Specs */
.bb-fonte-details {
  border-bottom: 1px solid var(--bb-line);
  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: 1px;
  background: var(--bb-line);
  margin-top: 0;
}
.bb-fonte-spec {
  background: var(--bb-bg);
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bb-fonte-spec:last-child:nth-child(odd) {
  grid-column: span 2;
}
.bb-fonte-spec-label {
  font-size: .64rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--bb-accent);
}
.bb-fonte-spec-val {
  font-size: .85rem;
  color: var(--bb-cream);
  line-height: 1.5;
}

/* CTA */
.bb-fonte-cta {
  border-bottom: 1px solid var(--bb-line);
  padding: 80px var(--pad-x);
}
.bb-fonte-cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.bb-fonte-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 4.5rem);
  font-weight: 300;
  color: var(--bb-cream);
  line-height: 1.05;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.bb-fonte-cta-title em { color: var(--bb-accent); font-style: normal; }
.bb-fonte-cta-desc {
  font-size: .88rem;
  color: var(--bb-mid);
  line-height: 1.8;
}
.bb-fonte-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.bb-fonte-cta-actions button:disabled {
  opacity: .45;
  cursor: not-allowed;
}
.bb-fonte-cta-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .56rem;
  letter-spacing: .1em;
  color: var(--bb-faint);
  margin-top: 4px;
}
.bb-fonte-cta-note-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--bb-accent);
  opacity: .5;
  flex-shrink: 0;
}

/* Other fonts */
.bb-fonte-others { padding: 80px var(--pad-x) 100px; }
.bb-fonte-others-inner { max-width: var(--max-w); margin: 0 auto; }
.bb-fonte-others-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 48px;
}
.bb-fonte-other-card {
  display: flex;
  flex-direction: column;
  background: var(--bb-surface);
  padding: 32px 36px 24px;
  text-decoration: none;
  color: inherit;
  transition: background .3s;
  cursor: pointer;
  min-height: 180px;
}
.bb-fonte-other-card:hover { background: var(--bb-surface-2); }
.bb-fonte-other-preview {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-bottom: 16px;
  overflow: hidden;
}
.bb-fonte-other-foot {
  border-top: 1px solid var(--bb-line);
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bb-fonte-other-foot .bb-font-type {
  font-size: .54rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--bb-mid);
}

/* ── Footer ──────────────────────────────────────── */
.bb-footer {
  border-top: 1px solid var(--bb-line);
  padding: 44px var(--pad-x);
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.bb-footer-copy {
  font-size: .64rem;
  letter-spacing: .08em;
  color: var(--bb-faint);
}
.bb-footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.bb-footer-links a {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bb-faint);
  transition: color .2s;
}
.bb-footer-links a:hover { color: var(--bb-cream); }
.bb-footer-ext {
  display: flex;
  gap: 20px;
  list-style: none;
}
.bb-footer-ext a {
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--bb-faint);
  transition: color .2s;
}
.bb-footer-ext a:hover { color: var(--bb-cream); }
.bb-footer-proto {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .64rem;
  letter-spacing: .06em;
  color: var(--bb-faint);
}
.bb-footer-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bb-accent);
  animation: bb-pulse 2.2s ease-in-out infinite;
}
@keyframes bb-pulse {
  0%, 100% { opacity: .35; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.25); }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 900px) {
  :root { --pad-x: 24px; }
  .bb-fonte-cta-inner    { grid-template-columns: 1fr; gap: 40px; }
  .bb-fonte-specs-grid   { grid-template-columns: 1fr; }
  .bb-fonte-others-grid  { grid-template-columns: 1fr 1fr; }
  .bb-wf-label           { min-width: 110px; }
  .bb-fonte-big-specimen { font-size: clamp(3rem, 8vw, 7rem); }

  .bb-nav-links   { display: none; }
  .bb-nav-back    { display: none; }
  .bb-burger      { display: flex; }

  .bb-hero {
    grid-template-columns: 1fr;
    padding-top: 100px;
    min-height: unset;
    gap: 32px;
  }
  .bb-hero-visual { min-height: 240px; }

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

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

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

  .bb-fonts-grid { grid-template-columns: 1fr; }
  .bb-tester-bar { height: auto; min-height: 52px; flex-wrap: wrap; padding: 8px 24px; gap: 8px; max-width: calc(var(--max-w) - 2 * 24px); }
  .bb-tester-input-wrap { border-right: none; padding-right: 0; width: 100%; }
  .bb-preset-btns { border-right: none; padding: 0; }
  .bb-bar-size { border-right: none; padding: 0; }
  .bb-tester-italic { border-right: none; height: auto; padding: 5px 10px; border: 1px solid var(--bb-line-mid); border-radius: var(--radius); }

  .bb-tester-top { flex-direction: column; align-items: flex-start; }

  .bb-studio-intro  { grid-template-columns: 1fr; gap: 40px; }
  .bb-valeurs-grid  { grid-template-columns: 1fr 1fr; }
  .bb-team-grid     { grid-template-columns: 1fr; max-width: 360px; }
  .bb-enseignement  { grid-template-columns: 1fr; gap: 40px; }
  .bb-contact       { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .bb-proj-list         { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .bb-valeurs-grid      { grid-template-columns: 1fr; }
  .bb-footer            { flex-direction: column; align-items: flex-start; gap: 16px; }
  .bb-bar-filters       { display: flex; width: 100%; overflow-x: auto; padding-bottom: 2px; }
  .bb-fonte-others-grid { grid-template-columns: 1fr; }
  .bb-fonte-style-row   { flex-direction: column; gap: 8px; }
  .bb-fonte-hero-foot   { flex-direction: column; gap: 16px; }
}
