/* Brand page only (/brand). Shared chrome stays in style.css.
   Swatch fills are the Academy guide palette (docs/BRAND-DESIGN.md).
   Label ink is the WCAG AA pair (4.5:1 or better): white or slate, except
   Teal Light and Tertiary Text, where both miss 4.5:1 and black clears it
   (6.34:1 and 5.04:1). */

.group-title { margin-top: 1.75em; }

.logo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 22px;
}
.logo-grid.marks { grid-template-columns: repeat(3, 1fr); }
.logo-card {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  padding: 28px 24px;
}
.tile-light { background: #ffffff; }
.tile-paper { background: #F7F4EC; }
.tile-slate { background: #1D2D35; }
.tile img.lockup { width: min(460px, 100%); height: auto; }
.tile img.mark { width: 120px; height: auto; }
.tile img.stack { width: 200px; height: auto; }
.logo-card figcaption {
  padding: 16px 18px 18px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.logo-card h3 { margin: 0 0 .3em; }
.logo-card figcaption p { margin: 0 0 .75em; color: var(--muted); font-size: 1rem; }
.logo-card figcaption a { font-weight: 600; font-size: .95rem; overflow-wrap: anywhere; }

.swatches {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.swatches.neutrals { grid-template-columns: repeat(4, 1fr); }
.swatch {
  margin: 0;
  min-height: 132px;
  padding: 16px 16px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.swatch p { margin: 0; }
.swatch-name { font-weight: 600; font-size: 1.05rem; }
.swatch-hex, .swatch-rgb { font-size: .95rem; }

.swatch-lantern-teal { background: #1A7A8A; color: #ffffff; }
.swatch-teal-dark { background: #135E6B; color: #ffffff; }
.swatch-teal-light { background: #2A9AAF; color: #000000; }
.swatch-lantern-gold { background: #E8B44F; color: #1D2D35; }
.swatch-gold-dark { background: #D49A2A; color: #1D2D35; }
.swatch-gold-light { background: #F4D58D; color: #1D2D35; }
.swatch-medical-blue { background: #2C5F7C; color: #ffffff; }
.swatch-slate { background: #1D2D35; color: #ffffff; }
.swatch-secondary { background: #4A5C66; color: #ffffff; }
.swatch-tertiary { background: #6B7F8C; color: #000000; }
.swatch-bg-secondary { background: #F5F8FA; color: #1D2D35; }
.swatch-bg-tertiary { background: #EDF2F7; color: #1D2D35; }
.swatch-dark { background: #0E3A47; color: #ffffff; }
.swatch-darker { background: #164F5E; color: #ffffff; }
.swatch-border { background: #D5E1E8; color: #1D2D35; }
.swatch-border-secondary { background: #BDD4DE; color: #1D2D35; }
.swatch-white { background: #FFFFFF; color: #1D2D35; }

.specimen {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 28px 20px;
  margin-top: 22px;
}
.specimen .kicker { margin-bottom: 12px; }
.type-display {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 .45em;
  color: var(--slate);
}
.type-regular, .type-semibold, .alphabet.regular, .alphabet.semibold { font-family: var(--body); }
.type-georgia, .alphabet.georgia { font-family: Georgia, "Times New Roman", serif; color: var(--slate); }
.type-georgia { font-size: 1.5rem; line-height: 1.25; margin: 0 0 .55em; }
.alphabet.georgia { font-size: 1.2rem; }
.type-regular { font-weight: 400; font-size: 1.15rem; margin: 0 0 .8em; }
.type-semibold { font-weight: 600; font-size: 1.15rem; margin: 0 0 .8em; }
.alphabet { margin: 0 0 .85em; line-height: 1.55; }
.alphabet.display { font-family: var(--display); font-weight: 600; font-size: 1.35rem; color: var(--slate); }
.alphabet.regular { font-weight: 400; font-size: 1.15rem; }
.alphabet.semibold { font-weight: 600; font-size: 1.15rem; }
.stack { color: var(--muted); font-size: .98rem; margin: 0 0 .55em; }
.specimen-link { margin: 0; }

@media (max-width: 860px) {
  .logo-grid, .logo-grid.marks, .swatches, .swatches.neutrals { grid-template-columns: 1fr 1fr; }
  .specimen { padding: 22px 18px 16px; }
  .tile { min-height: 140px; padding: 22px 16px; }
}

@media (max-width: 520px) {
  .logo-grid, .logo-grid.marks { grid-template-columns: 1fr; }
}
