:root {
  --usc-cardinal: #990000;
  --usc-gold: #ffcc00;
  --ink: #1c1c1c;
  --muted: #5e5e5e;
  --line: #ded8ce;
  --paper: #fffdf7;
  --surface: #ffffff;
  --soft-cardinal: #f8ece8;
  --charcoal: #282828;
  --shadow: 0 22px 50px rgba(32, 24, 19, 0.14);
  --max: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--ink);
  color: #fff;
  padding: 0.7rem 1rem;
  border-radius: 4px;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 247, 0.96);
  border-bottom: 1px solid rgba(153, 0, 0, 0.16);
  backdrop-filter: blur(16px);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 4vw, 2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1 1 auto;
  min-width: 0;
}

.brand-mark {
  flex: 0 0 auto;
  width: 3.25rem;
  height: 3.25rem;
  overflow: hidden;
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-copy,
.brand-school,
.brand-program {
  display: block;
}

.brand-copy {
  min-width: 0;
}

.brand-school {
  color: #111;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 1.85vw, 2.1rem);
  line-height: 0.95;
}

.brand-school span {
  color: var(--usc-cardinal);
}

.brand-program {
  margin-top: 0.32rem;
  color: var(--usc-cardinal);
  font-size: clamp(0.98rem, 1.25vw, 1.45rem);
  font-weight: 900;
  line-height: 1.05;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.7rem);
  color: var(--charcoal);
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 0.35rem 0;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  color: var(--usc-cardinal);
}

.text-link:hover,
.text-link:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.nav-links a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 3px;
  content: "";
  background: var(--usc-cardinal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.nav-links a.is-active {
  color: var(--usc-cardinal);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 4.25rem;
  height: 3.5rem;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  touch-action: manipulation;
}

.nav-toggle:hover,
.nav-toggle:active,
.nav-toggle:focus {
  background: transparent;
}

.nav-toggle span[aria-hidden] {
  position: relative;
  display: block;
  width: 1.65rem;
  height: 2px;
  background: #003a5f;
  transition: background 160ms ease;
}

.nav-toggle span[aria-hidden]::before,
.nav-toggle span[aria-hidden]::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  content: "";
  background: #003a5f;
  transition: transform 220ms ease;
}

.nav-toggle span[aria-hidden]::before {
  transform: translateY(-8px);
}

.nav-toggle span[aria-hidden]::after {
  transform: translateY(8px);
}

.nav-toggle[aria-expanded="true"] span[aria-hidden] {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] span[aria-hidden]::before {
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span[aria-hidden]::after {
  transform: rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.82fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1rem, 4vw, 2rem) clamp(2rem, 5vw, 4rem);
}

.hero > * {
  min-width: 0;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--usc-cardinal);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 20ch;
  margin-bottom: 1rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4.3vw, 3.35rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 42rem;
  color: #3e3e3e;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 700;
  line-height: 1.32;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.85rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 4px;
  font-weight: 800;
}

.button-primary {
  color: #fff;
  background: var(--usc-cardinal);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #7f0000;
}

.button-secondary {
  color: var(--usc-cardinal);
  background: #fff;
  border-color: rgba(153, 0, 0, 0.32);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: var(--usc-cardinal);
}

.hero-visual {
  position: relative;
  min-height: 30rem;
  overflow: hidden;
  background: #2c1f1c;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 30rem;
  object-fit: cover;
}

.metric-panel {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: min(20rem, calc(100% - 2.4rem));
  padding: 1rem;
  color: #fff;
  background: rgba(28, 28, 28, 0.84);
  border-left: 5px solid var(--usc-gold);
  backdrop-filter: blur(10px);
}

.metric-panel strong,
.metric-panel span {
  display: block;
}

.metric-panel strong {
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.metric-kicker {
  margin-bottom: 0.2rem;
  color: var(--usc-gold);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

section {
  padding: clamp(3.75rem, 8vw, 6rem) clamp(1rem, 4vw, 2rem);
}

section[id] {
  scroll-margin-top: 6.5rem;
}

.band {
  background: #fff;
  border-block: 1px solid var(--line);
}

.site-footer {
  width: 100%;
}

.section-heading {
  margin-bottom: clamp(1.75rem, 4vw, 3rem);
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
}

h2 {
  max-width: 18ch;
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 1.28rem;
  line-height: 1.15;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.intro-copy {
  max-width: 45rem;
  color: #3d3d3d;
  font-size: 1.15rem;
}

.intro-copy p:last-child,
.feature-card p:last-child,
.people-layout p:last-child,
.accomplishment-card p:last-child,
.resource-list p:last-child,
.site-footer p:last-child {
  margin-bottom: 0;
}

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

.featured {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: #fff;
  border-block: 1px solid rgba(153, 0, 0, 0.14);
}

.featured .section-heading {
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}

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

.project-card {
  display: flex;
  min-height: 13.5rem;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 7px solid var(--usc-cardinal);
  border-radius: 6px;
  box-shadow: 0 15px 30px rgba(32, 24, 19, 0.06);
}

.project-card:nth-child(2) {
  border-top-color: #545454;
}

.project-card h3 {
  max-width: 34rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.25vw, 1.28rem);
  line-height: 1.18;
}

.project-card p {
  margin-bottom: 0;
  color: #2f2f2f;
  font-size: 1rem;
  line-height: 1.55;
}

.feature-card {
  display: flex;
  min-height: 16rem;
  flex-direction: column;
  justify-content: flex-start;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 7px solid var(--usc-cardinal);
  border-radius: 6px;
  box-shadow: 0 15px 30px rgba(32, 24, 19, 0.06);
}

.feature-card:nth-child(2) {
  border-top-color: #545454;
}

.feature-card:nth-child(3) {
  border-top-color: var(--usc-gold);
}

.tag {
  width: fit-content;
  margin-bottom: 2rem;
  color: var(--usc-cardinal);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.people-layout {
  display: grid;
  gap: clamp(1rem, 2.5vw, 1.75rem);
}

.people {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--paper);
}

.people .section-heading {
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}

.team-intro {
  max-width: 43rem;
  margin-bottom: 0;
  font-size: 1.25rem;
}

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

.team-card {
  display: flex;
  min-height: 15.2rem;
  flex-direction: column;
  overflow: hidden;
  padding: 1.15rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(32, 24, 19, 0.06);
}

.team-card img {
  width: 6.5rem;
  height: 6.5rem;
  margin: 0 auto 1rem;
  object-fit: cover;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--soft-cardinal);
  box-shadow: 0 0 0 1px var(--line);
}

.team-card div {
  padding: 0;
  text-align: center;
}

.team-role {
  min-height: 0;
  margin-bottom: 0;
  color: var(--usc-cardinal);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.team-role-long {
  line-height: 1.35;
  letter-spacing: 0.055em;
}

.team-card h3 {
  margin-bottom: 0.4rem;
}

.accomplishments {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: #fff;
  border-block: 1px solid var(--line);
}

.accomplishments .section-heading {
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}

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

.accomplishment-card {
  padding: 1.35rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--usc-cardinal);
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(32, 24, 19, 0.06);
}

.accomplishment-card:nth-child(2) {
  border-left-color: #3f5f73;
}

.accomplishment-card:nth-child(3) {
  border-left-color: var(--usc-gold);
}

.accomplishment-card:nth-child(4) {
  border-left-color: #545454;
}

.accomplishment-card:nth-child(5) {
  border-left-color: #7f0000;
}

.accomplishment-card:nth-child(6) {
  border-left-color: #0f4b5f;
}

.accomplishment-card:nth-child(7) {
  border-left-color: #b46a00;
}

.accomplishment-card:nth-child(8) {
  border-left-color: #2f6f4e;
}

.accomplishment-card h3 {
  max-width: 34rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-size: clamp(1.05rem, 1.25vw, 1.28rem);
  line-height: 1.18;
}

.accomplishment-card p {
  color: #353535;
  font-size: 1rem;
  line-height: 1.55;
}

.services-section {
  padding-top: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.services-section .section-heading {
  margin-bottom: clamp(1rem, 2vw, 1.4rem);
}

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

.service-card {
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--usc-cardinal);
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(32, 24, 19, 0.06);
}

.service-card:nth-child(2) {
  border-left-color: #0f4b5f;
}

.service-card-wide {
  grid-column: 1 / -1;
  border-left-color: var(--usc-gold);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: clamp(1.1rem, 1.6vw, 1.45rem);
  line-height: 1.18;
}

.service-card ul {
  display: grid;
  gap: 0.5rem;
  padding-left: 1.1rem;
  margin: 0;
}

.service-card li,
.resource-list p {
  color: #353535;
  font-size: 1rem;
  line-height: 1.55;
}

.resource-list {
  display: grid;
  gap: 0.85rem;
}

.resource-list p {
  margin: 0;
}

.site-footer {
  color: #fff;
  background: var(--charcoal);
  box-shadow: 0 0 0 100vmax var(--charcoal);
  clip-path: inset(0 -100vmax);
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(320px, 1.25fr) repeat(2, minmax(220px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1rem, 4vw, 2rem) 2rem;
}

.footer-contact {
  max-width: 24rem;
}

.footer-contact h2 {
  max-width: none;
  margin-bottom: 0.35rem;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.footer-contact p {
  color: var(--usc-gold);
  font-weight: 800;
}

.footer-contact address {
  margin: 1rem 0;
  color: rgba(255, 255, 255, 0.78);
  font-style: normal;
}

.footer-contact a,
.footer-group a {
  color: rgba(255, 255, 255, 0.84);
}

.footer-contact a {
  font-weight: 800;
}

.footer-group h3 {
  margin-bottom: 1rem;
  color: var(--usc-gold);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-group:first-of-type h3 {
  white-space: nowrap;
}

.footer-group ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-group a {
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 2rem) 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0;
}

.footer-contact a:hover,
.footer-contact a:focus-visible,
.footer-group a:hover,
.footer-group a:focus-visible {
  color: var(--usc-gold);
}

@media (max-width: 1280px) {
  .nav-shell {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-block: 0.6rem;
  }

  .brand-school {
    font-size: clamp(1.2rem, 3.4vw, 1.65rem);
  }

  .brand-program {
    margin-top: 0.28rem;
    font-size: clamp(0.9rem, 2.4vw, 1.08rem);
  }

  .nav-toggle {
    display: grid;
    flex: 0 0 auto;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0.75rem clamp(1rem, 4vw, 2rem) 1rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.08);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 0.85rem 0;
  }
}

@media (max-width: 900px) {
  .hero,
  .intro,
  .people-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-inline: clamp(1rem, 4vw, 2rem);
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.4rem, 6.5vw, 3.25rem);
  }

  .feature-grid,
  .project-grid,
  .accomplishment-grid,
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-role {
    min-height: 0;
  }

  .team-role-long {
    font-size: 0.72rem;
    line-height: 1.3;
    letter-spacing: 0.09em;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 1180px) {
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .nav-shell {
    padding-block: 0.45rem;
  }

  .brand {
    gap: 0.65rem;
  }

  .brand-mark {
    width: 2.75rem;
    height: 2.75rem;
  }

  .brand-school {
    font-size: 1rem;
  }

  .brand-program {
    font-size: 0.9rem;
  }

  .nav-toggle {
    width: 3.25rem;
    height: 2.75rem;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.25rem, 9vw, 2.85rem);
  }

  .hero-actions,
  .section-heading-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 23rem;
  }

  .feature-grid,
  .project-grid,
  .accomplishment-grid,
  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .project-card {
    min-height: 15rem;
  }

  .footer-main {
    grid-template-columns: 1fr;
  }
}
