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

:root {
  --navy:    #0d2240;
  --navy-mid:#163352;
  --gold:    #c8932a;
  --gold-lt: #e8b448;
  --cream:   #f5f0e8;
  --white:   #ffffff;
  --text:    #1a2a3a;
  --muted:   #5a6a7a;
  --border:  rgba(200,147,42,0.25);
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--cream);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

a { color: inherit; }

.banner {
  background: var(--gold);
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  padding: 7px 16px;
}

nav.topnav {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  padding: 10px 24px;
  position: sticky; top: 0; z-index: 100;
}

.nav-inner {
  max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}

.nav-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Playfair Display', serif;
  color: var(--white);
  font-weight: 700; font-size: 1.05rem;
  text-decoration: none;
}

.nav-brand-seal {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.05);
}

.nav-brand-seal svg { width: 18px; height: 18px; }

.nav-links {
  display: flex; gap: 4px; list-style: none;
  flex-wrap: wrap; align-items: center;
}

.nav-links > li > a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.04em;
  padding: 8px 12px; border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  display: inline-block;
}

.nav-links > li > a:hover,
.nav-links > li > a.current { color: var(--gold-lt); background: rgba(255,255,255,0.06); }

.nav-links .has-sub { position: relative; }

.nav-links .has-sub > a::after {
  content: ' ▾'; font-size: 0.7em; opacity: 0.6;
}

.submenu {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 8px;
  min-width: 240px;
  padding: 8px 0;
  box-shadow: 0 12px 32px rgba(13,34,64,0.18);
  list-style: none;
  opacity: 0; visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.nav-links .has-sub:hover .submenu,
.nav-links .has-sub:focus-within .submenu {
  opacity: 1; visibility: visible; transform: translateY(0);
}

.submenu a {
  color: var(--navy);
  font-weight: 500;
  padding: 8px 16px;
  display: block;
  font-size: 0.88rem;
  text-decoration: none;
}

.submenu a:hover { background: var(--cream); color: var(--gold); }

.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 60%, #1e4570 100%);
  padding: 56px 24px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(200,147,42,0.18) 0%, transparent 70%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 30 L30 60 L0 30 Z' fill='none' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero > * { position: relative; z-index: 1; }

.seal {
  width: 104px; height: 104px;
  margin: 0 auto 20px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  animation: fadeDown 0.7s ease both;
}

.seal svg { width: 58px; height: 58px; opacity: 0.85; }

.seal-ring {
  position: absolute; inset: -10px;
  border-radius: 50%;
  border: 1px solid rgba(200,147,42,0.35);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%,100% { transform: scale(1);    opacity: 0.5; }
  50%      { transform: scale(1.04); opacity: 1;   }
}

.hero-label {
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold-lt);
  font-weight: 600; margin-bottom: 8px;
  animation: fadeDown 0.7s 0.1s ease both; opacity: 0;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 900; color: var(--white);
  line-height: 1.05; letter-spacing: -0.01em;
  animation: fadeDown 0.7s 0.2s ease both; opacity: 0;
}

.hero h1 span { color: var(--gold-lt); }

.hero-sub {
  font-size: 1rem; color: rgba(255,255,255,0.65);
  margin-top: 10px; letter-spacing: 0.04em; font-weight: 300;
  animation: fadeDown 0.7s 0.3s ease both; opacity: 0;
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.divider {
  width: 64px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  margin: 20px auto 0; border-radius: 2px;
  animation: fadeDown 0.7s 0.35s ease both; opacity: 0;
}

.hero.compact { padding: 44px 24px 52px; }
.hero.compact .seal { width: 80px; height: 80px; margin-bottom: 16px; }
.hero.compact .seal svg { width: 44px; height: 44px; }
.hero.compact h1 { font-size: clamp(1.9rem, 5vw, 3rem); }

.feature-wrap {
  padding: 0 16px; margin-top: -36px;
  position: relative; z-index: 10;
  animation: riseUp 0.65s 0.5s ease both; opacity: 0;
}

@keyframes riseUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.feature-card {
  max-width: 820px; margin: 0 auto;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 12px 48px rgba(13,34,64,0.15);
  border-top: 4px solid var(--gold);
  padding: 40px 40px 36px;
  text-align: center;
}

.feature-eyebrow {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}

.feature-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3.2vw, 2.1rem);
  color: var(--navy); line-height: 1.2; font-weight: 700;
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 1rem; color: var(--muted);
  line-height: 1.7; max-width: 600px;
  margin: 0 auto 22px;
}

.btn-primary {
  display: inline-block;
  background: var(--navy); color: var(--white);
  padding: 14px 30px; border-radius: 8px;
  text-decoration: none;
  font-weight: 700; font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  border: 2px solid var(--navy);
}

.btn-primary:hover {
  background: var(--gold); border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(13,34,64,0.2);
}

.btn-ghost {
  display: inline-block;
  background: transparent; color: var(--navy);
  padding: 12px 26px; border-radius: 8px;
  text-decoration: none;
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  border: 2px solid var(--gold);
  transition: background 0.18s ease, color 0.18s ease;
}

.btn-ghost:hover { background: var(--gold); color: var(--navy); }

.section {
  max-width: 1040px; margin: 56px auto 0;
  padding: 0 20px;
}

.section-head { text-align: center; margin-bottom: 34px; }

.section-head .eyebrow {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 10px;
}

.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  color: var(--navy); font-weight: 700;
}

.section-head .sub {
  color: var(--muted); margin-top: 8px;
  font-size: 0.98rem; max-width: 600px; margin-left: auto; margin-right: auto;
}

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.dept-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 24px 22px;
  text-decoration: none;
  color: var(--navy);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: 0 2px 8px rgba(13,34,64,0.06);
}

.dept-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(13,34,64,0.13);
  border-color: var(--gold);
}

.dept-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: #fff7e6;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}

.dept-icon svg { width: 22px; height: 22px; }

.dept-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; line-height: 1.25;
  color: var(--navy); font-weight: 700;
}

.dept-card p {
  font-size: 0.85rem; color: var(--muted);
  line-height: 1.55;
}

.dept-more {
  margin-top: auto; color: var(--gold);
  font-weight: 700; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
}

.content {
  max-width: 820px; margin: 0 auto;
  padding: 0 20px;
}

.content h2 {
  font-family: 'Playfair Display', serif;
  color: var(--navy); font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  margin: 32px 0 14px;
}

.content h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy); font-weight: 700;
  font-size: 1.2rem;
  margin: 24px 0 10px;
}

.content p {
  color: var(--text); font-size: 1rem;
  line-height: 1.75; margin-bottom: 14px;
}

.content ul, .content ol {
  margin: 6px 0 16px 22px;
  color: var(--text); line-height: 1.8;
}

.content li { margin-bottom: 4px; }
.content a { color: var(--gold); font-weight: 600; }
.content a:hover { text-decoration: underline; }

.content strong { color: var(--navy); font-weight: 700; }

.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 22px 24px;
  margin: 20px 0;
  box-shadow: 0 2px 10px rgba(13,34,64,0.06);
}

.card h3 {
  margin-top: 0;
  font-family: 'Playfair Display', serif;
  color: var(--navy); font-weight: 700;
  font-size: 1.15rem; margin-bottom: 8px;
}

.kv {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 8px 20px;
  font-size: 0.95rem;
}

.kv dt { color: var(--gold); font-weight: 700; text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.1em; align-self: center; }
.kv dd { color: var(--text); }
.kv a { color: var(--navy); font-weight: 600; text-decoration: none; }
.kv a:hover { color: var(--gold); }

.call-out {
  background: #fff7e6;
  border-left: 4px solid var(--gold);
  padding: 14px 18px;
  border-radius: 6px;
  margin: 16px 0;
  font-size: 0.95rem;
  color: var(--text);
}

.info-strip {
  margin-top: 56px;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 40px 20px;
}

.info-inner {
  max-width: 1040px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.info-item {
  display: flex; gap: 14px; align-items: flex-start;
}

.info-item .ic {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff7e6; border: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
}

.info-item .ic svg { width: 18px; height: 18px; }

.info-item .lbl {
  font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--gold); margin-bottom: 4px;
}

.info-item h4 {
  font-family: 'Playfair Display', serif;
  color: var(--navy); font-size: 1.05rem;
  font-weight: 700; line-height: 1.3;
  margin-bottom: 2px;
}

.info-item a { color: var(--navy); text-decoration: none; }
.info-item a:hover { color: var(--gold); }

.info-item .sm {
  font-size: 0.85rem; color: var(--muted); line-height: 1.5;
}

footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6); text-align: center;
  padding: 38px 20px 28px; font-size: 0.85rem; line-height: 1.8;
}

footer strong { color: var(--gold-lt); }
footer a { color: var(--gold-lt); text-decoration: none; }
footer a:hover { text-decoration: underline; }

.footer-seal {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(200,147,42,0.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}

.footer-links {
  display: flex; gap: 18px; flex-wrap: wrap;
  justify-content: center; margin: 8px 0 14px;
}

.footer-links a { font-size: 0.82rem; letter-spacing: 0.04em; }

.crumbs {
  max-width: 1040px; margin: 0 auto;
  padding: 14px 20px 0;
  font-size: 0.82rem; color: var(--muted);
}

.crumbs a { color: var(--gold); text-decoration: none; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .sep { opacity: 0.5; margin: 0 6px; }

.page-body { padding-bottom: 60px; }

@media (max-width: 720px) {
  .nav-links { gap: 0; justify-content: center; }
  .nav-links > li > a { font-size: 0.78rem; padding: 6px 8px; }
  .submenu {
    position: static; opacity: 1; visibility: visible; transform: none;
    display: none; border-top: none; box-shadow: none;
    background: rgba(255,255,255,0.04); min-width: 0; margin: 4px 0;
    border: none; border-radius: 4px;
  }
  .nav-links .has-sub:hover .submenu,
  .nav-links .has-sub:focus-within .submenu { display: block; }
  .submenu a { color: rgba(255,255,255,0.85); }
  .submenu a:hover { background: rgba(255,255,255,0.1); color: var(--gold-lt); }
  .feature-card { padding: 28px 22px; }
  .kv { grid-template-columns: 1fr; gap: 2px 0; }
  .kv dt { margin-top: 8px; }
}
