:root {
  --primary: #2f5d50;
  --accent: #c47a2c;
  --cream: #f7f4ec;
  --paper: #ffffff;
  --dark: #1f2e2a;
  --muted: #445a54;
  --shadow: 0 10px 24px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.55;
}

a { color: inherit; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: ui-serif, Georgia, "Times New Roman", serif;
  letter-spacing: .2px;
  margin: 0 0 12px 0;
}

h1 { font-size: clamp(2.1rem, 3.6vw, 3.2rem); line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 2.4vw, 2.3rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 12px 0; color: var(--muted); font-size: 1.05rem; }

.site-header { background: var(--paper); border-bottom: 1px solid rgba(0,0,0,0.08); }
.utility-bar {
  background: var(--primary);
  color: #fff;
  padding: 8px 18px;
  font-size: .95rem;
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}
.utility-bar a { color: #fff; text-decoration: none; opacity: .95; }
.utility-bar a:hover { opacity: 1; text-decoration: underline; }
.utility-bar .u-strong { font-weight: 800; }

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 18px 10px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #21463d);
  position: relative;
  box-shadow: 0 8px 18px rgba(47,93,80,.25);
}
.brand-mark:after {
  content: "";
  position: absolute;
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--accent);
  right: 8px; top: 8px;
}
.brand-name { font-weight: 900; font-family: ui-serif, Georgia, serif; font-size: 1.35rem; color: var(--dark); }
.brand-tag { display: block; font-size: .92rem; color: var(--muted); margin-top: 2px; }

.nav-toggle {
  display: none;
  background: var(--paper);
  border: 1px solid rgba(0,0,0,.15);
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 700;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-menu > li > a {
  text-decoration: none;
  font-weight: 800;
  color: var(--dark);
  padding: 10px 10px;
  border-radius: 10px;
}
.nav-menu > li > a:hover {
  background: rgba(47,93,80,.08);
  text-decoration: none;
}

.has-dropdown { position: relative; }
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--paper);
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 10px;
  list-style: none;
  display: none;
  z-index: 40;
}
.dropdown a {
  display: block;
  padding: 10px 10px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  color: var(--dark);
}
.dropdown a:hover {
  background: rgba(196,122,44,.10);
  text-decoration: none;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  display: block;
}

.torn-band {
  height: 34px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAwIiBoZWlnaHQ9IjQ4IiB2aWV3Qm94PSIwIDAgMTIwMCA0OCI+CjxwYXRoIGZpbGw9IiNmN2Y0ZWMiIGQ9Ik0wLDE4IEM2MCwxMCAxMjAsMjggMTgwLDIwIEMyNDAsMTIgMzAwLDM0IDM2MCwyNCBDNDIwLDE0IDQ4MCwzNiA1NDAsMjIgQzYwMCw4IDY2MCwzMCA3MjAsMTggQzc4MCw2IDg0MCwyOCA5MDAsMTYgQzk2MCw0IDEwMjAsMjYgMTA4MCwxNCBDMTE0MCwyIDExNzAsMjAgMTIwMCwxMCBMMTIwMCw0OCBMMCw0OCBaIi8+Cjwvc3ZnPg==");
  background-repeat: repeat-x;
  background-size: 1200px 48px;
}

.hero {
  position: relative;
  overflow: hidden;
  background: #000;
}
.slide {
  display: none;
  position: relative;
}
.slide img {
  width: 100%;
  height: min(68vh, 560px);
  object-fit: cover;
  filter: contrast(1.02) saturate(1.03);
}
.slide.active { display: block; }

.hero-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 22px 18px 26px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.55));
}
.hero-overlay-inner {
  max-width: 1200px;
  margin: 0 auto;
  color: #fff;
}
.hero-overlay h1 { color: #fff; margin-bottom: 10px; }
.hero-overlay p { color: rgba(255,255,255,.9); max-width: 60ch; }

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.35);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  border-color: transparent;
  color: #fff;
}
.btn-primary:hover { text-decoration: none; filter: brightness(1.02); }
.btn-ghost {
  background: rgba(255,255,255,.10);
  color: #fff;
}
.btn-ghost:hover { text-decoration: none; background: rgba(255,255,255,.16); }

/* Slider controls */
.slider-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.slider-arrow {
  pointer-events: auto;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(0,0,0,.35);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
}
.slider-arrow:hover { background: rgba(0,0,0,.5); }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }

.slider-dots {
  pointer-events: auto;
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.20);
}
.dot {
  width: 10px; height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  cursor: pointer;
}
.dot.active { background: var(--accent); }

.section {
  padding: 52px 18px;
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}
.section-title p { margin: 0; }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.card {
  background: var(--paper);
  padding: 18px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.06);
}
.card h3 { margin-bottom: 8px; }
.card p { margin: 0; }

.card a.card-link {
  display: inline-flex;
  margin-top: 14px;
  font-weight: 900;
  text-decoration: none;
  color: var(--primary);
}
.card a.card-link:hover { text-decoration: underline; }

.site-footer {
  background: var(--primary);
  color: #fff;
  margin-top: 44px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 18px 22px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 10px;
  font-family: ui-serif, Georgia, serif;
}
.footer-col p { color: rgba(255,255,255,.9); }
.footer-col ul { padding-left: 18px; margin: 0; }
.footer-col li { margin: 6px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.18);
  padding: 14px 18px 18px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.9);
}

/* Mobile */
@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    display: none;
    position: absolute;
    right: 18px;
    top: 86px;
    background: var(--paper);
    border: 1px solid rgba(0,0,0,0.10);
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: 10px;
    width: min(92vw, 360px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    z-index: 60;
  }
  .nav-menu.open { display: flex; }
  .has-dropdown .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 10px;
  }
  .has-dropdown.open .dropdown { display: block; }
  .nav-menu > li > a { padding: 12px; }
}


/* Section Rhythm */
.section-alt {
  background: #ffffff;
  padding: 60px 18px;
}

.section-green {
  background: rgba(47,93,80,0.08);
  padding: 60px 18px;
}

/* Department Grid */
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.dept-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.dept-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
}

.dept-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.dept-card-content {
  padding: 18px;
}

.dept-card-content h3 {
  margin-bottom: 8px;
}

.dept-card-content p {
  font-size: 0.98rem;
}


/* Department media placeholders */
.dept-media{
  width:100%;
  height:180px;
  background: linear-gradient(135deg, rgba(47,93,80,0.18), rgba(196,122,44,0.18));
  display:block;
}
.dept-card img{width:100%;height:180px;object-fit:cover;display:block;}


/* ===== Homepage Upgrade ===== */

.hero-overlay-inner h1 {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 900;
}

.hero-overlay-inner .hero-sub {
  font-size: 1.2rem;
  margin-top: 6px;
  color: rgba(255,255,255,.92);
}

.section-home {
  padding: 80px 18px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

.value-block {
  background: #ffffff;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

.value-block h3 {
  margin-bottom: 10px;
}

.cta-strip {
  background: var(--primary);
  color: #fff;
  padding: 70px 18px;
  text-align: center;
}

.cta-strip h2 {
  color: #fff;
  margin-bottom: 14px;
}

