/* Brand guidelines page — builds on tokens.css + styles.css */
.bsection { padding-block: clamp(3.5rem, 8vw, 6.5rem); border-top: 1px solid var(--line); }
.bsection:first-of-type { border-top: 0; }
.bhead { max-width: 720px; margin-bottom: 2.5rem; }
.bhead h2 { margin-block: .6rem .8rem; }
.bhead p { color: var(--muted); font-size: 1.1rem; }
.bnum { font-family: var(--font-display); color: var(--lime); font-size: var(--fs-small); letter-spacing: .14em; }

/* Mission / vision */
.statement { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.18; letter-spacing: -0.02em; max-width: 900px; }
.statement .lime { color: var(--lime); }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.mv-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; }
.mv-card h3 { margin-bottom: .75rem; }
.mv-card p { color: var(--muted); }
@media (max-width: 760px) { .mv-grid { grid-template-columns: 1fr; } }

/* Values */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.value { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.value .vk { font-family: var(--font-display); font-weight: 700; font-size: 1.8rem; color: var(--lime); }
.value h3 { font-size: 1.15rem; margin-block: .8rem .5rem; }
.value p { color: var(--muted); font-size: .95rem; }
@media (max-width: 900px) { .values { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .values { grid-template-columns: 1fr; } }

/* Voice do/don't */
.voice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.voice-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; background: var(--surface-2); }
.voice-col h3 { display: flex; align-items: center; gap: .5rem; margin-bottom: 1rem; }
.voice-col ul { list-style: none; display: grid; gap: .7rem; }
.voice-col li { color: var(--muted); padding-left: 1.4rem; position: relative; }
.voice-col li::before { position: absolute; left: 0; font-weight: 700; }
.voice-do li::before { content: "✓"; color: var(--lime); }
.voice-dont li::before { content: "✕"; color: #ff7a6b; }
@media (max-width: 760px) { .voice-grid { grid-template-columns: 1fr; } }

/* Logo display tiles */
.logo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.logo-tile { border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; min-height: 220px; justify-content: center; }
.logo-tile.on-dark { background: var(--ink); }
.logo-tile.on-light { background: var(--off-white); }
.logo-tile img { max-width: 70%; height: auto; max-height: 90px; }
.logo-tile .tilelabel { font-size: var(--fs-small); color: var(--muted); }
.logo-tile.on-light .tilelabel { color: #5d665e; }
.dl-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.dl { font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .03em; padding: .45rem .85rem; border: 1px solid var(--line); border-radius: 999px; color: var(--off-white); transition: border-color .2s var(--ease), color .2s var(--ease); }
.dl:hover { border-color: var(--lime); color: var(--lime); }
@media (max-width: 760px) { .logo-grid { grid-template-columns: 1fr; } }

/* Clear space / misuse */
.misuse { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.misuse figure { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.misuse .mfill { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; background: var(--ink); overflow: hidden; }
.misuse .mfill img { width: 96px; height: auto; }
.misuse figcaption { padding: .75rem 1rem; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); }
.misuse .bad .mfill { position: relative; }
.misuse .bad figcaption { color: #ff9a8f; }
@media (max-width: 760px) { .misuse { grid-template-columns: repeat(2, 1fr); } }

/* Colour palette */
.swatches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.swatch { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; cursor: pointer; background: var(--surface-2); text-align: left; }
.swatch .chip { height: 120px; }
.swatch .meta { padding: 1rem 1.1rem; }
.swatch .name { font-family: var(--font-display); font-weight: 600; }
.swatch .hex { color: var(--muted); font-size: .9rem; letter-spacing: .03em; display: inline-flex; align-items: center; gap: .4rem; margin-top: .2rem; }
.swatch .role { color: var(--muted); font-size: .82rem; margin-top: .35rem; }
.swatch .copied { color: var(--lime); }
@media (max-width: 820px) { .swatches { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .swatches { grid-template-columns: 1fr; } }

/* Typography specimens */
.type-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.type-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; background: var(--surface-2); }
.type-card .tname { font-size: var(--fs-small); color: var(--lime); letter-spacing: .12em; text-transform: uppercase; }
.type-card .tbig { font-size: 4rem; line-height: 1; margin-block: 1rem .75rem; }
.type-card.display .tbig { font-family: var(--font-display); font-weight: 700; letter-spacing: -.03em; }
.type-card.body .tbig { font-family: var(--font-body); font-weight: 600; }
.type-card .tset { color: var(--muted); }
.type-card .tspec { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) { .type-grid { grid-template-columns: 1fr; } .type-card .tbig { font-size: 3rem; } }

/* Download-all banner */
.kit { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; background: linear-gradient(160deg, var(--surface), var(--surface-2)); border: 1px solid var(--lime); border-radius: var(--radius); padding: 2.25rem; }
.kit h3 { font-size: 1.5rem; }
.kit p { color: var(--muted); margin-top: .35rem; }

/* simple back-nav tweak */
.nav__back { font-size: .95rem; color: var(--muted); }
.nav__back:hover { color: var(--lime); }
