/* PKS Campus — single stylesheet, no build step. */

:root {
  --navy: #041337;
  --navy-2: #0b2154;
  --ink: #0d1530;
  --muted: #555e74;
  --line: #e2e5ec;
  --tint: #f4f5f8;
  --white: #ffffff;
  --accent: #f2c14e;
  --accent-ink: #2a1f00;
  --on-navy-muted: #b5bdd1;

  --radius: 14px;
  --container: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
  --section-y: clamp(64px, 9vw, 112px);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.2rem;
  font-weight: 650;
}

p {
  margin: 0 0 1em;
}

a {
  color: inherit;
}

address {
  font-style: normal;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 8px;
}

.skip-link:focus {
  left: 8px;
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow-dark {
  color: var(--navy-2);
}

.lead {
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  color: var(--on-navy-muted);
  max-width: 34em;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 650;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--accent);
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #f6cf6f;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-small {
  padding: 8px 16px;
  font-size: 0.95rem;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(4, 19, 55, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand img {
  width: 103px;
  height: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a:not(.btn) {
  color: var(--on-navy-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 550;
}

.nav a:not(.btn):hover {
  color: var(--white);
}

@media (max-width: 640px) {
  .nav-hide-sm {
    display: none;
  }
}

/* Hero */

.hero {
  background: radial-gradient(
      1200px 600px at 85% -10%,
      rgba(64, 102, 196, 0.35),
      transparent 60%
    ),
    var(--navy);
  color: var(--white);
  padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 104px);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.hero-media {
  margin: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.55);
}

@media (max-width: 860px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media img {
    aspect-ratio: 16 / 10;
  }
}

/* Stats */

.stats {
  background: var(--navy-2);
  color: var(--white);
}

.stats-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 28px 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.stat:first-child {
  border-left: 0;
  padding-left: 0;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.stat-label {
  font-size: 0.95rem;
  color: var(--on-navy-muted);
}

@media (max-width: 640px) {
  .stats-inner {
    grid-template-columns: 1fr;
  }

  .stat,
  .stat:first-child {
    padding: 18px 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .stat:first-child {
    border-top: 0;
  }
}

/* Sections */

.section {
  padding: var(--section-y) 0;
}

.section-tint {
  background: var(--tint);
}

.about {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(24px, 6vw, 80px);
}

.prose {
  color: var(--muted);
  font-size: 1.08rem;
}

.prose h3 {
  color: var(--ink);
  margin-top: 2em;
  margin-bottom: 1em;
}

@media (max-width: 860px) {
  .about {
    grid-template-columns: 1fr;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 550;
  color: var(--ink);
  background: var(--white);
}

/* Location cards */

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}

.card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 22px 24px 24px;
}

.card-body h3 {
  margin: 0;
}

.card-body address {
  color: var(--muted);
}

.card-link {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-2);
  text-decoration: none;
}

.card-link:hover {
  text-decoration: underline;
}

.card-credit {
  margin: 4px 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--muted);
}

.card-credit a {
  color: inherit;
}

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* Tenants */

.tenants {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.tenant {
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.tenant:hover {
  border-color: var(--navy-2);
  box-shadow: 0 12px 30px -16px rgba(4, 19, 55, 0.35);
}

.tenant-logo {
  display: flex;
  align-items: center;
  height: 44px;
  margin-bottom: 12px;
}

.tenant-logo img {
  width: auto;
  height: 34px;
  max-width: 160px;
  object-fit: contain;
  object-position: left center;
}

.tenant-name {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.tenant-desc {
  color: var(--muted);
}

.tenant-url {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-2);
}

@media (max-width: 1024px) {
  .tenants {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .tenants {
    grid-template-columns: 1fr;
  }
}

/* Contact */

.contact {
  background: var(--navy);
  color: var(--white);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.contact-list {
  display: grid;
  gap: 24px;
  margin: 0;
  padding: 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
}

.contact-list dt {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-navy-muted);
}

.contact-list dd {
  margin: 4px 0 0;
  font-size: 1.15rem;
  font-weight: 600;
}

.contact-list a {
  text-decoration: none;
}

.contact-list a:hover {
  text-decoration: underline;
}

@media (max-width: 860px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

/* Footer */

.site-footer {
  background: #020b22;
  color: var(--on-navy-muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  text-decoration: none;
}

.footer-inner a:hover {
  color: var(--white);
}

/* 404 */

.not-found {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--navy);
  color: var(--white);
  padding: 64px 0;
}

.not-found .lead {
  margin: 0 auto 32px;
}
