/* ============================================================
   BREEN CONSULTING — BRAND GUIDE
   Shared CSS for multi-page brand documentation

   Imports the canonical design system, then adds guide-specific
   styles for documentation layout, spec tables, live examples,
   logo grids, colour swatches, and navigation.
   ============================================================ */

@import url('breen-design-system.css');

/* ============================================================
   GUIDE OVERRIDES — body padding for fixed nav
   ============================================================ */

body {
  padding-top: 64px; /* space for fixed site-nav */
}

/* Site navigation now lives in breen-design-system.css §19 */

/* ============================================================
   COVER / HERO (index page)
   ============================================================ */

.cover {
  background: linear-gradient(165deg, var(--bc-navy) 0%, #0F2847 50%, var(--bc-navy-light) 100%);
  position: relative;
  overflow: hidden;
  margin-top: -64px;
  padding: 200px 0 100px;  /* fixed vertical spacing — no flex needed */
}
.cover::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cover::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.3), transparent);
}
.cover-content {
  position: relative;
  z-index: 1;
}

.cover-title {
  font-family: 'Mercury Display Bold', 'Mercury Display', Georgia, serif;
  font-weight: 700;
  font-size: 4rem;
  color: var(--bc-white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  -webkit-text-stroke: 0.4px;
  margin-bottom: 24px;
}
.cover-rule {
  width: 64px;
  height: 2px;
  background: var(--bc-blue);
  margin-bottom: 24px;
}
.cover-subtitle {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--bc-blue-light);
  margin-bottom: 8px;
}
.cover-meta {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--bc-gray-400);
  margin-top: 48px;
}

/* ============================================================
   GUIDE LAYOUT (content pages)
   ============================================================ */

.guide-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 40px;
}

.guide-section {
  padding: var(--space-4xl) 0;
  border-bottom: 1px solid var(--bc-gray-200);
}
.guide-section:last-child { border-bottom: none; }

.section-number {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bc-blue-light);
  margin-bottom: 12px;
}

.guide-section h2 {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--bc-navy);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
  line-height: 1.2;
}

.section-rule {
  width: 48px;
  height: 2px;
  background: var(--bc-blue);
  margin: 16px 0 24px;
}

.guide-section h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--bc-navy);
  margin: var(--space-2xl) 0 var(--space-md);
}

.guide-section p {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--bc-gray-600);
  margin-bottom: var(--space-md);
  max-width: 680px;
}

.guide-section p.note {
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--bc-gray-500);
  background: var(--bc-gray-100);
  border-left: 3px solid var(--bc-blue);
  padding: 12px 16px;
  margin: var(--space-lg) 0;
  max-width: 100%;
}

/* ============================================================
   PAGE HEADER (for non-cover pages)
   ============================================================ */

.page-header {
  background: var(--bc-navy);
  padding: var(--space-3xl) 0 var(--space-2xl);
  position: relative;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.3), transparent);
}
.page-header .guide-container {
  position: relative;
  z-index: 1;
}
.page-header-overline {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bc-blue-light);
  margin-bottom: 12px;
}
.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 400;
  color: var(--bc-white);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  line-height: 1.2;
}
.page-header p {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--bc-gray-400);
  max-width: 560px;
  line-height: 1.7;
}

/* ============================================================
   SPEC TABLES
   ============================================================ */

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0 var(--space-xl);
  font-size: 0.8125rem;
}
.spec-table thead th {
  background: var(--bc-navy);
  color: var(--bc-white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: 10px 14px;
}
.spec-table tbody td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--bc-gray-200);
  vertical-align: top;
}
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table tbody tr:hover { background: var(--bc-gray-100); }
.spec-table .prop {
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--bc-navy);
  white-space: nowrap;
}
.spec-table .val {
  font-family: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;
  font-size: 0.75rem;
  color: var(--bc-gray-600);
}
.spec-table .notes {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--bc-gray-500);
}

/* ============================================================
   COLOUR SWATCHES (bar-style)
   ============================================================ */

.colour-group {
  margin: var(--space-md) 0 var(--space-2xl);
}
.colour-group h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bc-gray-500);
  margin-bottom: var(--space-sm);
}
.swatch-row {
  display: flex;
  gap: 2px;
  margin-bottom: 2px;
}
.swatch {
  flex: 1;
  padding: 20px 14px 12px;
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.6875rem;
  border-radius: 0;
}
.swatch .token {
  display: block;
  font-size: 0.625rem;
  margin-bottom: 4px;
  opacity: 0.7;
}
.swatch .hex {
  display: block;
  font-weight: 600;
}
.swatch-light { color: var(--bc-navy); }
.swatch-dark  { color: var(--bc-white); }

/* ============================================================
   COLOUR CARDS (card-style swatches)
   ============================================================ */

.colour-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0 var(--space-2xl);
}
.colour-card {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--bc-gray-200);
  background: var(--bc-white);
}
.colour-card-swatch {
  height: 100px;
}
.colour-card-info {
  padding: 12px 14px;
}
.colour-card-name {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--bc-navy);
  margin-bottom: 2px;
}
.colour-card-hex {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.6875rem;
  color: var(--bc-gray-500);
}
.colour-card-token {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.625rem;
  color: var(--bc-gray-400);
  margin-top: 2px;
}

.sub-brand-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}

/* ============================================================
   CODE BLOCKS
   ============================================================ */

.code-block {
  background: var(--bc-gray-800);
  color: #E2E8F0;
  padding: 20px 24px;
  border-radius: 6px;
  font-family: 'JetBrains Mono', 'SF Mono', 'Menlo', monospace;
  font-size: 0.75rem;
  line-height: 1.8;
  overflow-x: auto;
  margin: var(--space-md) 0 var(--space-xl);
}
.code-block .comment { color: #64748B; }
.code-block .property { color: #93C5FD; }
.code-block .value { color: #86EFAC; }
.code-block .selector { color: #FDE68A; }
.code-block .string { color: #FCA5A5; }

/* ============================================================
   TYPOGRAPHY SPECIMENS
   ============================================================ */

.type-specimen {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--bc-gray-100);
}
.type-specimen:last-child { border-bottom: none; }
.type-specimen .sample {
  margin-bottom: 8px;
}
.type-specimen .meta {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.6875rem;
  color: var(--bc-gray-400);
}

.type-specimen-enhanced {
  border: 1px solid var(--bc-gray-200);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: var(--space-lg);
}
.type-specimen-enhanced .sample-area {
  padding: var(--space-2xl) var(--space-xl);
  background: var(--bc-white);
}
.type-specimen-enhanced .sample-area.dark {
  background: var(--bc-navy);
}
.type-specimen-enhanced .meta-bar {
  background: var(--bc-gray-100);
  padding: 10px var(--space-xl);
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.6875rem;
  color: var(--bc-gray-500);
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--bc-gray-200);
}
.type-specimen-enhanced .meta-bar .label {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bc-blue);
}

/* ============================================================
   LOGO DISPLAY GRIDS
   ============================================================ */

.logo-display-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin: var(--space-lg) 0;
}
.logo-display-card {
  padding: var(--space-3xl);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-display-card.dark {
  background: var(--bc-navy);
  border-radius: 6px;
}
.logo-display-card.light {
  background: var(--bc-white);
  border: 1px solid var(--bc-gray-200);
  border-radius: 6px;
}
.logo-display-label {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--bc-gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--space-sm);
  text-align: center;
}

.sub-brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.sub-brand-logo-card {
  background: var(--bc-navy);
  padding: var(--space-xl) var(--space-lg);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   ICON DISPLAY
   ============================================================ */

.icon-size-grid {
  display: flex;
  align-items: end;
  gap: var(--space-xl);
  margin: var(--space-lg) 0;
  padding: var(--space-2xl);
  background: var(--bc-white);
  border: 1px solid var(--bc-gray-200);
  border-radius: 6px;
}
.icon-size-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}
.icon-size-item .icon-size-label {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.625rem;
  color: var(--bc-gray-500);
  text-align: center;
}

.icon-sub-brand-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.icon-sub-brand-cell {
  background: var(--bc-white);
  border: 1px solid var(--bc-gray-200);
  padding: var(--space-lg);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}
.icon-sub-brand-cell .sub-brand-name {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 500;
  color: var(--bc-gray-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   COMPACT / COLLAPSED LOGO DISPLAY
   ============================================================ */

.compact-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.compact-logo-card {
  background: var(--bc-navy);
  padding: var(--space-xl) var(--space-lg);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.compact-logo-card.light {
  background: var(--bc-white);
  border: 1px solid var(--bc-gray-200);
}

/* ============================================================
   COMPARISON TABLE (Print vs Web)
   ============================================================ */

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-md) 0 var(--space-xl);
  font-size: 0.8125rem;
}
.comparison-table thead th {
  background: var(--bc-navy);
  color: var(--bc-white);
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: left;
  padding: 10px 14px;
}
.comparison-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--bc-gray-200);
  vertical-align: top;
}
.comparison-table .label {
  font-weight: 500;
  color: var(--bc-navy);
}
.comparison-table .web {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.75rem;
  color: var(--bc-gray-600);
}
.comparison-table .print {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.75rem;
  color: var(--bc-gray-500);
}

/* ============================================================
   LIVE EXAMPLE CONTAINERS
   ============================================================ */

.example-block {
  margin: var(--space-xl) 0;
  border: 1px solid var(--bc-gray-200);
  border-radius: 6px;
  overflow: hidden;
}
.example-block .example-label {
  background: var(--bc-gray-100);
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bc-blue);
  border-bottom: 1px solid var(--bc-gray-200);
}
.example-block .example-render {
  padding: var(--space-2xl);
}
.example-block .example-render.dark {
  background: var(--bc-navy);
}
.example-block .example-render.dark-gradient {
  background: linear-gradient(165deg, #0B1D32 0%, #0F2847 50%, #1E3A5F 100%);
}
.example-block .example-render.light {
  background: var(--bc-offwhite);
}

/* -- Example: Nav bar ---------------------------------------- */
.ex-nav {
  background: rgba(11, 29, 50, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 72px;
  display: flex;
  align-items: center;
  padding: 0 32px;
  border-radius: 4px;
  max-width: 100%;
}
.ex-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.ex-nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.ex-nav-links a {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--bc-gray-300);
  text-decoration: none;
  transition: color 0.2s;
}
.ex-nav-links a:hover { color: var(--bc-white); }

/* -- Example: Hero ------------------------------------------- */
.ex-hero {
  position: relative;
  overflow: hidden;
  padding: 72px 40px 56px;
  border-radius: 4px;
  text-align: left;
}
.ex-hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(37,99,235,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.ex-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(37,99,235,0.3), transparent);
}
.ex-hero-overline {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bc-blue-light);
  margin-bottom: 24px;
}
.ex-hero-h1 {
  font-family: 'Mercury Display Bold', 'Mercury Display', Georgia, serif;
  font-weight: 700;
  font-size: 3rem;
  -webkit-text-stroke: 0.4px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--bc-white);
  max-width: 550px;
  margin-bottom: 16px;
}
.ex-hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 32px;
}

/* -- Example: Buttons ---------------------------------------- */
.ex-btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
}
.ex-btn-primary {
  background: var(--bc-blue);
  color: var(--bc-white);
  border-radius: 0;
}
.ex-btn-primary:hover {
  background: #1D4ED8;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.ex-btn-outline {
  background: transparent;
  color: var(--bc-white);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 0;
}
.ex-btn-outline:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}
.ex-btn::after {
  content: ' \2192';
  display: inline-block;
  transition: transform 0.2s;
}
.ex-btn:hover::after {
  transform: translateX(3px);
}

/* -- Example: Cards ------------------------------------------ */
.ex-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}
.ex-card-light {
  background: var(--bc-white);
  padding: var(--space-2xl);
  border: 1px solid var(--bc-gray-200);
  transition: all 0.3s ease;
}
.ex-card-light:hover {
  border-color: var(--bc-gray-300);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.ex-card-dark {
  background: var(--bc-navy-mid);
  padding: var(--space-2xl);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.3s ease;
}
.ex-card-dark:hover {
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.ex-card-icon {
  width: 48px; height: 48px;
  background: rgba(37,99,235,0.1);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bc-blue-light);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}
.ex-card-h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 8px;
}
.ex-card-p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  line-height: 1.6;
  max-width: 100%;
}
.ex-card-dark .ex-card-p {
  color: rgba(255,255,255,0.5);
}

/* -- Example: Grids ------------------------------------------ */
.ex-grid-placeholder {
  height: 80px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--bc-gray-500);
  background: var(--bc-gray-100);
  border: 1px dashed var(--bc-gray-300);
}

/* -- Example: Testimonial ------------------------------------ */
.ex-testimonial {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.ex-testimonial blockquote {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--bc-navy);
  margin-bottom: var(--space-lg);
}
.ex-testimonial cite {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 500;
  color: var(--bc-gray-600);
  display: block;
}
.ex-testimonial cite span {
  display: block;
  font-weight: 400;
  color: var(--bc-gray-400);
  font-size: 0.8125rem;
  margin-top: 2px;
}

/* -- Example: Approach steps --------------------------------- */
.ex-approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}
.ex-approach-step .step-num {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 400;
  color: var(--bc-blue);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 8px;
}
.ex-approach-step h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--bc-white);
  margin-bottom: 8px;
}
.ex-approach-step p {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--bc-gray-400);
  line-height: 1.6;
  max-width: 100%;
}

/* -- Example: CTA -------------------------------------------- */
.ex-cta {
  text-align: center;
  padding: 48px 40px;
  border-radius: 4px;
}
.ex-cta h2 {
  font-family: var(--font-serif) !important;
  font-size: 2rem !important;
  font-weight: 400 !important;
  color: var(--bc-white) !important;
  margin-bottom: 12px !important;
}
.ex-cta p {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.6);
  max-width: 420px;
  margin: 0 auto 24px;
  text-align: center;
}
.ex-cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

/* -- Example: Footer ----------------------------------------- */
.ex-footer {
  background: var(--bc-navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: var(--space-2xl) 32px;
  text-align: center;
  border-radius: 4px;
}
.ex-footer-logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--bc-white);
  margin-bottom: 4px;
}
.ex-footer-sub {
  font-family: var(--font-sans);
  font-size: 0.4rem;
  font-weight: 200;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bc-blue-light);
  margin-bottom: 20px;
}
.ex-footer p {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--bc-gray-400);
  max-width: 100%;
  text-align: center;
}
.ex-footer a {
  color: var(--bc-gray-300);
  text-decoration: none;
  transition: color 0.2s;
}
.ex-footer a:hover { color: var(--bc-white); }

/* -- Example: Accent line & brand note ----------------------- */
.ex-accent-line {
  width: 48px;
  height: 2px;
  background: var(--bc-blue);
  margin: 0 auto;
}

.ex-brand-note {
  background: var(--bc-gray-100);
  border-left: 3px solid var(--bc-blue);
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--bc-gray-600);
  line-height: 1.6;
  max-width: 100%;
}

/* ============================================================
   SPACING SPECIMENS
   ============================================================ */

.spacing-specimen {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}
.spacing-bar {
  height: 24px;
  background: var(--bc-blue);
  opacity: 0.15;
  border-radius: 2px;
}
.spacing-label {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.6875rem;
  color: var(--bc-gray-500);
  white-space: nowrap;
  min-width: 120px;
}

/* ============================================================
   GUIDE FOOTER
   ============================================================ */

.guide-footer {
  background: var(--bc-navy);
  padding: var(--space-2xl) 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.guide-footer p {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--bc-gray-400);
}
.guide-footer a {
  color: var(--bc-gray-400);
  text-decoration: none;
}
.guide-footer a:hover { color: var(--bc-white); }

/* ============================================================
   INDEX PAGE — TOC CARDS
   ============================================================ */

.toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin: var(--space-2xl) 0;
}
.toc-card {
  background: var(--bc-white);
  border: 1px solid var(--bc-gray-200);
  border-radius: 6px;
  padding: var(--space-2xl);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
}
.toc-card:hover {
  border-color: var(--bc-blue-light);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.toc-card-number {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bc-blue-light);
  margin-bottom: 8px;
}
.toc-card h3 {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 400;
  color: var(--bc-navy);
  margin-bottom: 8px;
  line-height: 1.3;
}
.toc-card p {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--bc-gray-500);
  line-height: 1.6;
}

/* Sub-brand architecture (index page) */
.sub-brand-arch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin: var(--space-lg) 0;
}
.sub-brand-arch-card {
  border-radius: 4px;
  padding: var(--space-lg) var(--space-md);
  text-align: center;
  border: 1px solid var(--bc-gray-200);
  background: var(--bc-white);
}
.sub-brand-arch-card .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 auto var(--space-sm);
}
.sub-brand-arch-card .name {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--bc-navy);
  margin-bottom: 2px;
}
.sub-brand-arch-card .hex {
  font-family: 'JetBrains Mono', 'SF Mono', monospace;
  font-size: 0.625rem;
  color: var(--bc-gray-400);
}

/* Page sidebar + page-body layout now lives in breen-design-system.css §19 */

/* Override guide-container max-width when inside page-body */
.page-body .guide-container {
  max-width: 920px;
  padding: 0 var(--space-2xl);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .cover-title { font-size: 2.5rem; }
  .page-header h1 { font-size: 2rem; }
  .guide-section h2 { font-size: 1.75rem; }

  .spec-table { font-size: 0.75rem; }
  .spec-table thead th { font-size: 0.6875rem; padding: 8px 10px; }
  .spec-table tbody td { padding: 8px 10px; }

  .swatch-row { flex-wrap: wrap; }
  .swatch { min-width: 30%; }
  .colour-card-grid { grid-template-columns: repeat(3, 1fr); }
  .sub-brand-card-grid { grid-template-columns: repeat(2, 1fr); }

  .logo-display-grid { grid-template-columns: 1fr; }
  .sub-brand-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .icon-sub-brand-grid { grid-template-columns: repeat(4, 1fr); }
  .compact-logo-grid { grid-template-columns: 1fr 1fr; }

  .toc-grid { grid-template-columns: 1fr; }
  .sub-brand-arch-grid { grid-template-columns: repeat(2, 1fr); }

  .ex-approach-grid { grid-template-columns: 1fr 1fr; }
  .ex-card-row { grid-template-columns: 1fr; }
  .ex-hero-h1 { font-size: 2rem; }

  /* Sidebar collapse now in breen-design-system.css §19 */
}
