:root {
  --ink: #1c2927;
  --muted: #62716d;
  --paper: #f8f5ee;
  --white: #ffffff;
  --line: #ddd8ca;
  --sage: #dce9df;
  --green: #245947;
  --green-dark: #143c32;
  --blue: #315d73;
  --coral: #bd684d;
  --gold: #d7a947;
  --shadow: 0 18px 48px rgba(28, 41, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(215, 169, 71, 0.16), transparent 28%),
    radial-gradient(circle at 88% 2%, rgba(49, 93, 115, 0.14), transparent 30%),
    linear-gradient(180deg, #fbfaf6 0%, var(--paper) 54%, #eef5f0 100%);
  color: var(--ink);
}

a {
  color: inherit;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(221, 216, 202, 0.82);
  backdrop-filter: blur(16px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.76rem;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--green);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover {
  background: var(--sage);
}

.hero {
  padding: clamp(56px, 9vw, 104px) 24px 44px;
}

.hero-inner {
  position: relative;
  max-width: 1060px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(37, 78, 100, 0.96), rgba(49, 93, 115, 0.9)),
    var(--blue);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: var(--white);
}

.hero-inner::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  pointer-events: none;
}

.hero-inner::after {
  content: "";
  position: absolute;
  right: clamp(22px, 6vw, 72px);
  bottom: -34px;
  width: clamp(160px, 24vw, 280px);
  height: clamp(160px, 24vw, 280px);
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 255, 255, 0.16) 18% 20%, transparent 20% 38%, rgba(255, 255, 255, 0.16) 38% 40%, transparent 40% 58%, rgba(255, 255, 255, 0.16) 58% 60%, transparent 60%),
    linear-gradient(0deg, transparent 0 18%, rgba(255, 255, 255, 0.16) 18% 20%, transparent 20% 38%, rgba(255, 255, 255, 0.16) 38% 40%, transparent 40% 58%, rgba(255, 255, 255, 0.16) 58% 60%, transparent 60%);
  opacity: 0.64;
  transform: rotate(-7deg);
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.panel h2 {
  margin: 0;
  letter-spacing: 0;
}

.hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 8vw, 6.7rem);
  line-height: 0.95;
}

.tagline {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  color: #f6e7bd;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 700;
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.08rem;
  line-height: 1.65;
}

.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  max-width: 1150px;
  margin: 0 auto 72px;
  padding: 0 24px;
}

.panel {
  position: relative;
  min-width: 0;
  padding: clamp(24px, 4vw, 34px);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(28, 41, 39, 0.08);
}

.panel-wide {
  grid-column: span 1;
}

.panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--green), var(--blue), var(--coral));
  border-radius: 8px 8px 0 0;
}

.accent-panel::before {
  background: linear-gradient(90deg, var(--coral), var(--gold), var(--green));
}

.section-heading {
  display: grid;
  gap: 8px;
}

.section-heading h2,
.panel h2 {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.section-heading p,
.panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.student-grid {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.link-grid a,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
  padding: 13px 14px;
  border: 1px solid rgba(36, 89, 71, 0.14);
  border-radius: 8px;
  background: #edf6f0;
  color: var(--green-dark);
  text-decoration: none;
  font-weight: 800;
  line-height: 1.1;
  transition:
    transform 150ms ease,
    background 150ms ease,
    border-color 150ms ease,
    box-shadow 150ms ease;
}

.link-grid a::after,
.button::after {
  content: "+";
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-left: 10px;
  border-radius: 999px;
  background: rgba(36, 89, 71, 0.12);
  color: var(--green);
  font-size: 0.95rem;
}

.link-grid a:hover,
.button:hover {
  transform: translateY(-2px);
  background: #dfeee6;
  border-color: rgba(36, 89, 71, 0.28);
  box-shadow: 0 10px 20px rgba(28, 41, 39, 0.08);
}

.small-panel {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  align-items: flex-start;
}

.small-panel p:not(.section-label) {
  margin-top: 12px;
}

.button {
  justify-content: center;
  gap: 8px;
  margin-top: auto;
  background: var(--green-dark);
  color: var(--white);
  border-color: var(--green-dark);
}

.button::after {
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
}

.button-secondary {
  margin-top: 10px;
  background: transparent;
  color: var(--coral);
  border-color: var(--coral);
}

.button-secondary::after {
  background: rgba(189, 104, 77, 0.12);
  color: var(--coral);
}

.button-secondary:hover {
  background: rgba(189, 104, 77, 0.08);
  border-color: var(--coral);
  box-shadow: 0 10px 20px rgba(189, 104, 77, 0.12);
}

table {
  width: 100%;
  margin-top: 20px;
  overflow: hidden;
  background: white;
  border: 1px solid var(--line);
  border-collapse: collapse;
  border-radius: 8px;
}

th,
td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
}

th {
  background: var(--sage);
}

tr:nth-child(even) {
  background: #fbfaf7;
}

@media (max-width: 800px) {
  .navbar {
    position: static;
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .nav-links {
    justify-content: center;
  }

  .hero {
    padding-top: 28px;
  }

  .hero-inner {
    padding: 34px 24px;
  }

  .hero-inner::before {
    inset: 12px;
  }

  .home-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .logo {
    font-size: 1rem;
  }

  .nav-links a {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.86rem;
  }

  .hero h1 {
    font-size: 2.65rem;
  }

  .hero-text {
    font-size: 1rem;
  }

  .home-layout {
    padding: 0 16px;
  }

  .link-grid {
    grid-template-columns: 1fr;
  }
}
