.brand-layout {
  align-items: flex-start;
  padding-top: clamp(2rem, 4vh, 3.25rem);
}

.brand-content {
  width: min(1040px, 100%);
  animation: slide-up 0.9s ease-out;
}

.brand-header {
  margin-bottom: 2rem;
}

.brand-back-link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.brand-back-link:hover {
  color: var(--ink);
}

.brand-kicker {
  margin: 0;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
}

.brand-header h1 {
  margin: 0.35rem 0 0.3rem;
  font-size: clamp(2rem, 5.8vw, 4rem);
  line-height: 1.05;
}

.brand-subtitle {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
}

.brand-section {
  margin: 2.2rem 0;
}

.brand-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
}

.logo-grid,
.type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.logo-grid--left {
  grid-template-columns: minmax(0, 360px);
  justify-content: start;
}

.brand-card {
  border: 1px solid rgba(170, 199, 209, 0.22);
  border-radius: 0.9rem;
  background: rgba(7, 38, 58, 0.52);
  padding: 1rem;
}

.logo-frame {
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(170, 199, 209, 0.2);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.logo-frame--square {
  aspect-ratio: 1 / 1;
}

.logo-frame--wide {
  aspect-ratio: 16 / 7;
}

.logo-frame--light {
  background: #f0f4f8;
  border-color: rgba(0, 60, 113, 0.15);
}

.logo-frame img {
  padding: 1.5rem;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.asset-links {
  margin-top: 0.75rem;
  font-size: 0.83rem;
  display: flex;
  gap: 1rem;
}

.asset-links a {
  color: #93c5fd;
  text-decoration: none;
}

.asset-links a:hover {
  text-decoration: underline;
}

.colors-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.color-chip {
  border: 1px solid rgba(170, 199, 209, 0.24);
  border-radius: 0.8rem;
  background: #003c71;
  color: #fff;
  min-height: 94px;
  display: grid;
  place-items: center;
  gap: 0.2rem;
  cursor: pointer;
}

.color-chip--navy {
  background: #003c71;
  color: #fff;
}

.color-chip--white {
  background: #ffffff;
  color: #000000;
  border-color: rgba(0, 60, 113, 0.2);
}

.color-chip--black {
  background: #000000;
  color: #ffffff;
}

.color-chip span {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
}

.color-chip small {
  opacity: 0.9;
}

.brand-help {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.type-label {
  margin: 0 0 0.4rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.type-sample {
  margin: 0;
  font-size: clamp(1.1rem, 2.6vw, 2rem);
}

.type-sample--sora {
  font-family: "Sora", sans-serif;
  font-weight: 700;
}

.type-sample--grotesk {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 500;
}

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

  .colors-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
