:root {
  --brand-red: #b81222;
  --brand-red-dark: #84101a;
  --brand-gold: #f7c928;
  --brand-orange: #e86800;
  --ink: #22252a;
  --muted: #667085;
  --surface: #ffffff;
  --surface-soft: #fffaf0;
  --border: #ead8b1;
  --shadow: 0 18px 45px rgba(90, 38, 0, 0.11);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 5% 0%, rgba(247, 201, 40, .20), transparent 28rem),
    linear-gradient(180deg, #fffdf8 0%, #fff 42%, #fff8ea 100%);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.72;
}

a { color: var(--brand-red); text-decoration: none; }
a:hover { text-decoration: underline; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 10px 14px;
  background: #fff;
  color: #000;
  z-index: 9999;
}
.skip-link:focus { left: 12px; top: 12px; }

.site-header {
  background: linear-gradient(135deg, var(--brand-red-dark), var(--brand-red) 58%, #d52b1e);
  color: #fff;
  border-bottom: 5px solid var(--brand-gold);
  box-shadow: 0 8px 30px rgba(93, 12, 22, .22);
}

.header-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.logo-wrap {
  width: 112px;
  height: 112px;
  flex: 0 0 112px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  border: 4px solid var(--brand-gold);
  box-shadow: 0 9px 26px rgba(0,0,0,.20);
  overflow: hidden;
}
.logo-wrap img {
  width: 94px;
  height: auto;
  display: block;
}

.school-name {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.65rem, 3vw, 2.55rem);
  line-height: 1.15;
  letter-spacing: .02em;
}
.school-location {
  margin: 7px 0 0;
  color: #fff7cb;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: .9rem;
}

.header-contact {
  text-align: right;
  flex: 0 0 auto;
}
.header-contact span {
  display: block;
  color: #ffeab0;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 3px;
}
.header-contact a {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 800;
}

.policy-nav {
  background: rgba(70, 4, 11, .97);
}
.nav-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.policy-nav a {
  color: #fff;
  padding: 13px 16px;
  white-space: nowrap;
  font-size: .94rem;
  font-weight: 700;
  border-bottom: 3px solid transparent;
}
.policy-nav a:hover,
.policy-nav a.active {
  color: var(--brand-gold);
  border-bottom-color: var(--brand-gold);
  text-decoration: none;
  background: rgba(255,255,255,.05);
}

.hero {
  width: min(1180px, calc(100% - 32px));
  margin: 42px auto 0;
  padding: clamp(28px, 5vw, 58px);
  border-radius: 24px;
  background:
    linear-gradient(100deg, rgba(255,255,255,.98), rgba(255,250,230,.96)),
    repeating-linear-gradient(135deg, rgba(184,18,34,.025) 0 12px, transparent 12px 24px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -95px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 48px solid rgba(247, 201, 40, .18);
}
.eyebrow {
  margin: 0 0 8px;
  color: var(--brand-orange);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 820px;
  color: var(--brand-red-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 6vw, 4.4rem);
  line-height: 1.05;
}
.hero p {
  max-width: 760px;
  margin: 18px 0 0;
  color: #4c4f55;
  font-size: 1.06rem;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ecdcae;
  color: #5d4932;
  font-size: .86rem;
  font-weight: 700;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 58px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 28px;
  align-items: start;
}

.policy-card,
.sidebar-card {
  background: var(--surface);
  border: 1px solid #eee2c9;
  border-radius: var(--radius);
  box-shadow: 0 12px 34px rgba(56, 32, 2, .07);
}
.policy-card { padding: clamp(24px, 5vw, 52px); }
.policy-card section + section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid #f0e5d0;
}
.policy-card h2 {
  color: var(--brand-red-dark);
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 3vw, 1.9rem);
  line-height: 1.25;
}
.policy-card h3 {
  color: #4c2528;
  margin: 24px 0 8px;
  font-size: 1.08rem;
}
.policy-card p { margin: 0 0 14px; }
.policy-card ul,
.policy-card ol { padding-left: 1.3rem; }
.policy-card li + li { margin-top: 7px; }

.notice {
  margin: 0 0 28px;
  padding: 18px 20px;
  border-left: 5px solid var(--brand-gold);
  border-radius: 0 12px 12px 0;
  background: #fff8dc;
  color: #5e4a1f;
}

.sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 18px;
}
.sidebar-card { padding: 22px; }
.sidebar-card h2 {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  color: var(--brand-red-dark);
}
.sidebar-card p { margin: 0 0 10px; color: var(--muted); }
.sidebar-card a.button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 8px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--brand-red);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}
.sidebar-card a.button:hover { background: var(--brand-red-dark); }
.toc a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid #f2eadb;
  color: #4c4f55;
  font-size: .9rem;
}
.toc a:last-child { border-bottom: 0; }

.policy-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 58px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.policy-tile {
  padding: 28px;
  min-height: 220px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid #eedfc0;
  box-shadow: 0 12px 34px rgba(56, 32, 2, .07);
  display: flex;
  flex-direction: column;
}
.policy-tile .tile-number {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff3b5;
  color: var(--brand-red);
  display: grid;
  place-items: center;
  font-weight: 900;
}
.policy-tile h2 {
  margin: 17px 0 7px;
  color: var(--brand-red-dark);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}
.policy-tile p { color: var(--muted); margin: 0 0 18px; }
.policy-tile a {
  margin-top: auto;
  font-weight: 800;
}

.site-footer {
  background: #2c090d;
  color: #f7eee7;
  border-top: 5px solid var(--brand-gold);
}
.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.footer-inner strong { color: #fff; }
.footer-inner p { margin: 3px 0; }
.footer-links { text-align: right; }
.footer-links a { color: #ffe47a; margin-left: 14px; }

.back-to-top {
  display: inline-block;
  margin-top: 22px;
  font-weight: 800;
}

@media (max-width: 880px) {
  .header-inner { align-items: flex-start; }
  .header-contact { display: none; }
  .page-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15px; }
  .header-inner { min-height: auto; padding: 16px 0; }
  .logo-wrap { width: 82px; height: 82px; flex-basis: 82px; }
  .logo-wrap img { width: 71px; }
  .brand { gap: 13px; }
  .school-name { font-size: 1.45rem; }
  .school-location { font-size: .7rem; }
  .hero { margin-top: 24px; padding: 28px 22px; }
  .hero::after { display: none; }
  .policy-grid { grid-template-columns: 1fr; }
  .sidebar { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { text-align: left; }
  .footer-links a { margin: 0 12px 0 0; display: inline-block; }
}

@media print {
  body { background: #fff; font-size: 11pt; }
  .site-header, .policy-nav, .hero, .sidebar, .site-footer, .back-to-top { display: none !important; }
  .page-shell { width: 100%; margin: 0; display: block; }
  .policy-card { box-shadow: none; border: 0; padding: 0; }
  .policy-card section + section { break-before: auto; }
  a { color: #000; text-decoration: none; }
}
