/* /branding/ — the brand book page. Loads after site.css and reuses its custom
   properties (--ink, --red, --muted, --pale, --line), so the book can never drift
   from the interface palette it documents. */

/* The site's headers are two-line: plain text, then the red italic on its own line
   (site.css scopes this to its own section classes; ours must match). Without this,
   the em renders inline and swallows the space before it. */
.brand-section h2 em { display: block; }

.brand-section { padding-top: clamp(48px, 6vw, 80px); }
.brand-contact { padding-bottom: clamp(72px, 9vw, 120px); }

.brand-mission {
  margin: 0 0 24px;
  max-width: 30em;
  border-left: 3px solid var(--red);
  padding-left: 20px;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.45;
}

.brand-variants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.brand-variant { margin: 0; border: 1px solid var(--line); background: var(--pale); }
.brand-variant img { display: block; width: 100%; height: auto; padding: 28px 24px; box-sizing: border-box; }
.brand-variant-navy { background: var(--ink); }
.brand-emblem { max-width: 320px; margin: 0 auto; }
.brand-variant figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  color: var(--muted);
}
.brand-variant figcaption a { color: var(--ink); font-weight: 600; text-decoration: underline; }

.swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
  margin: 32px 0;
  list-style: none;
  padding: 0;
}
.swatch { border: 1px solid var(--line); background: #fff; }
.swatch-chip { height: 84px; }
.swatch-meta { padding: 12px 14px; font-size: 13px; line-height: 1.5; }
.swatch-meta strong { display: block; font-size: 14px; }
.swatch-meta code { font-family: inherit; color: var(--muted); }

.brand-table { width: 100%; border-collapse: collapse; margin: 24px 0 8px; font-size: 15px; }
.brand-table th, .brand-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.brand-table th { font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); }

.brand-rules { margin: 16px 0 0; padding-left: 20px; line-height: 1.75; }
.brand-rules li + li { margin-top: 6px; }

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
  margin: 28px 0 0;
  list-style: none;
  padding: 0;
}
.asset-grid a {
  display: block;
  border: 1px solid var(--line);
  padding: 14px 16px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
}
.asset-grid a span { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.asset-grid a:hover { border-color: #8ea5b5; }