.identity-row {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(215, 173, 85, 0.15), transparent 23%),
    linear-gradient(105deg, #ffffff 0%, #fffdf8 58%, #faf2e5 100%);
  border-bottom: 0;
}

.identity-row::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #6b091d 0%, #d7ad55 38%, #f0d98e 50%, #d7ad55 62%, #6b091d 100%);
}

.identity-row::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -165px;
  right: -105px;
  width: 355px;
  height: 355px;
  border: 1px solid rgba(137, 12, 37, 0.07);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(137, 12, 37, 0.018), 0 0 0 84px rgba(137, 12, 37, 0.012);
  pointer-events: none;
}

.identity-row .identity-inner {
  position: relative;
  z-index: 1;
  min-height: 128px;
}

.identity-row .brand {
  position: relative;
  padding: 12px 0;
  transition: transform 0.28s ease;
}

.identity-row .brand:hover {
  transform: translateY(-2px);
}

.identity-row .brand-logo {
  padding: 3px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(137, 12, 37, 0.09);
  border-radius: 50%;
  filter: drop-shadow(0 8px 15px rgba(92, 7, 29, 0.16));
  transition: filter 0.28s ease, transform 0.28s ease;
}

.identity-row .brand:hover .brand-logo {
  filter: drop-shadow(0 11px 20px rgba(92, 7, 29, 0.22));
  transform: scale(1.025);
}

.identity-row .brand-copy {
  position: relative;
  min-width: 0;
  padding-left: 18px;
}

.identity-row .brand-copy::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 3px;
  background: linear-gradient(180deg, #7b0d27, #d7ad55 58%, transparent);
  border-radius: 999px;
}

.identity-row .brand-copy h1 {
  margin: 0;
  color: #7c0c27;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: 0.25px;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9);
}

.identity-row .brand-copy__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
  color: #9b6c06;
  font-size: 0.56rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 1.25px;
  text-transform: uppercase;
}

.identity-row .brand-copy__eyebrow i {
  color: #890c25;
  font-size: 0.64rem;
}

.identity-row .brand-copy__details {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  margin: 8px 0 0;
}

.identity-row .brand-copy__affiliation {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #505d70;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.15px;
}

.identity-row .brand-copy__affiliation i {
  flex: 0 0 auto;
  color: #c7952f;
  font-size: 0.68rem;
}

.identity-row .brand-copy__accreditation {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  color: #7a4d00;
  background: linear-gradient(90deg, rgba(240, 202, 114, 0.27), rgba(240, 202, 114, 0.1));
  border: 1px solid rgba(194, 145, 44, 0.25);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-size: 0.58rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.35px;
  white-space: nowrap;
}

.identity-row .brand-copy__accreditation i {
  color: #a66b00;
}

.identity-row .brand-copy__accreditation b {
  padding-left: 5px;
  border-left: 1px solid rgba(122, 77, 0, 0.25);
  font-size: inherit;
}

.identity-row .admission-cta {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(110, 7, 31, 0.24);
}

.identity-row .admission-cta::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -65%;
  width: 38%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.34), transparent);
  transform: skewX(-18deg);
  transition: left 0.55s ease;
}

.identity-row .admission-cta:hover::after {
  left: 125%;
}

@media (max-width: 900px) {
  .identity-row .identity-inner { min-height: 94px; }
  .identity-row .brand { gap: 11px; padding: 8px 0; }
  .identity-row .brand-logo { width: 64px; height: 64px; flex-basis: 64px; }
  .identity-row .brand-copy { padding-left: 12px; }
  .identity-row .brand-copy h1 { font-size: clamp(1.12rem, 4vw, 1.55rem); }
  .identity-row .brand-copy__eyebrow { margin-bottom: 3px; font-size: 0.48rem; }
  .identity-row .brand-copy__details { gap: 5px 8px; margin-top: 5px; }
  .identity-row .brand-copy__affiliation { font-size: 0.59rem; }
  .identity-row .brand-copy__accreditation { padding: 3px 7px; font-size: 0.49rem; }
}

@media (max-width: 560px) {
  .identity-row .identity-inner { min-height: 82px; }
  .identity-row .brand { gap: 8px; }
  .identity-row .brand-logo { width: 52px; height: 52px; flex-basis: 52px; }
  .identity-row .brand-copy { padding-left: 9px; }
  .identity-row .brand-copy::before { width: 2px; }
  .identity-row .brand-copy h1 { font-size: clamp(0.92rem, 4.6vw, 1.15rem); letter-spacing: 0; }
  .identity-row .brand-copy__eyebrow { display: none; }
  .identity-row .brand-copy__details { display: grid; justify-items: start; gap: 3px; margin-top: 4px; }
  .identity-row .brand-copy__affiliation { max-width: 230px; font-size: 0.5rem; }
  .identity-row .brand-copy__accreditation { padding: 2px 6px; font-size: 0.43rem; }
}

@media (max-width: 400px) {
  .identity-row .brand-copy__affiliation { display: none; }
  .identity-row .brand-copy h1 { font-size: 0.94rem; }
}

/* Compact identity typography used by the original TPS homepage. */
.identity-row .brand-copy h1 {
  margin: 0;
  color: #7c0c27;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.85rem, 3vw, 2.42rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0.45px;
  text-shadow: 0 2px 0 rgba(255, 255, 255, 0.9);
}

.identity-row .brand-copy p {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 8px 0 0;
  color: #505d70;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15px;
}

.identity-row .brand-copy p::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  background: #d7ad55;
  border: 2px solid #f8e8bc;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #c7952f;
}

.identity-row .brand-copy > small {
  width: max-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  margin-top: 7px;
  padding: 4px 9px;
  color: #7a4d00;
  background: linear-gradient(90deg, rgba(240, 202, 114, 0.2), rgba(240, 202, 114, 0.07));
  border: 1px solid rgba(194, 145, 44, 0.2);
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.35px;
}

@media (max-width: 900px) {
  .identity-row .brand-copy h1 { font-size: clamp(1.12rem, 4vw, 1.55rem); }
  .identity-row .brand-copy p { margin-top: 5px; font-size: 0.64rem; }
  .identity-row .brand-copy > small { margin-top: 5px; padding: 3px 7px; font-size: 0.52rem; }
}

@media (max-width: 560px) {
  .identity-row .brand-copy h1 { font-size: clamp(0.92rem, 4.6vw, 1.15rem); letter-spacing: 0; }
  .identity-row .brand-copy p { max-width: 240px; font-size: 0.53rem; line-height: 1.3; }
  .identity-row .brand-copy p::before { width: 5px; height: 5px; flex-basis: 5px; border-width: 1px; }
  .identity-row .brand-copy > small { width: fit-content; font-size: 0.46rem; }
}

@media (max-width: 400px) {
  .identity-row .brand-copy p { display: none; }
  .identity-row .brand-copy > small { white-space: normal; border-radius: 6px; }
}
