/* ============================================================
   Ohio University Brand Stylesheet
   Colors:
     Cutler Green:    #00694E  (primary / dominant)
     Under the Elms: #024230  (dark accent)
     Trillium White: #F9F7ED  (warm off-white background)
     Cupola White:   #FFFFFF
     Putnam:         #756E65  (secondary text / borders)
     Sycamore:       #E7ECC3  (light accent badge)
   Font: Zilla Slab (Google Fonts — OU approved web font)
   ============================================================ */

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

body {
  font-family: 'Zilla Slab', Georgia, serif;
  background-color: #F9F7ED;
  color: #1a1a1a;
  line-height: 1.65;
}

/* ── Header ── */
header {
  background-color: #00694E;
  color: #ffffff;
  padding: 0 2rem;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 1rem 0;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.ou-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ou-logo-link img {
  height: 48px;
  width: auto;
  filter: brightness(0) invert(1);
}

.header-divider {
  width: 1px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.4);
  flex-shrink: 0;
}

.header-dept {
  font-size: 0.9rem;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.header-dept strong {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

/* ── Navigation ── */
nav {
  background-color: #024230;
}

nav ul {
  max-width: 1100px;
  margin: 0 auto;
  list-style: none;
  display: flex;
}

nav ul li a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  transition: background-color 0.15s;
}

nav ul li a:hover,
nav ul li a.active {
  background-color: #00694E;
}

/* ── Breadcrumb (module pages) ── */
.breadcrumb {
  background-color: #f0ece3;
  border-bottom: 1px solid #d8d3c8;
  padding: 0 2rem;
}

.breadcrumb-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.55rem 0;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #756E65;
}

.breadcrumb-inner a {
  color: #00694E;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumb-inner a:hover {
  text-decoration: underline;
}

/* ── Hero / Project title band ── */
.hero {
  background-color: #024230;
  color: #ffffff;
  padding: 2.5rem 2rem;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-inner .project-label,
.hero-inner .module-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.4rem;
}

.hero-inner h1 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.25;
}

/* ── Main content ── */
main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}

section + section {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #c8c3bb;
}

section h2 {
  font-size: 1.3rem;
  color: #00694E;
  margin-bottom: 1rem;
}

/* ── Intro ── */
.intro p {
  max-width: 72ch;
  font-size: 1.05rem;
  color: #2c2c2c;
}

/* ── Team cards ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}

.team-card {
  background-color: #ffffff;
  border: 1px solid #ddd9d0;
  border-top: 3px solid #00694E;
  padding: 1.1rem 1.25rem;
  border-radius: 2px;
}

.team-card .role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #756E65;
  margin-bottom: 0.4rem;
}

.team-card .name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.team-card .name a {
  color: #024230;
  text-decoration: none;
}

.team-card .name a:hover {
  color: #00694E;
  text-decoration: underline;
}

.team-card .title {
  font-size: 0.875rem;
  color: #4a4a4a;
  font-style: italic;
}

/* ── Modules table (index page) ── */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background-color: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

thead {
  background-color: #00694E;
  color: #ffffff;
}

thead th {
  text-align: left;
  padding: 0.8rem 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
  text-transform: uppercase;
}

tbody tr {
  border-bottom: 1px solid #e0dbd2;
  transition: background-color 0.1s;
}

tbody tr:last-child {
  border-bottom: none;
}

tbody tr:hover {
  background-color: #eef5f2;
}

tbody td {
  padding: 0.85rem 1rem;
  vertical-align: top;
}

.module-num {
  font-weight: 600;
  color: #00694E;
  white-space: nowrap;
  width: 3rem;
}

.module-title-cell {
  font-weight: 600;
}

.module-title-cell a {
  color: #024230;
  text-decoration: none;
}

.module-title-cell a:hover {
  color: #00694E;
  text-decoration: underline;
}

.bloom-cell {
  white-space: nowrap;
  font-size: 0.875rem;
  color: #4a4a4a;
}

.module-status {
  white-space: nowrap;
}

/* ── Badges ── */
.badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.badge-development {
  background-color: #E7ECC3;
  color: #3a4010;
}

.badge-planned {
  background-color: #f0ece3;
  color: #756E65;
}

.badge-complete {
  background-color: #d0ede5;
  color: #024230;
}

/* ── Module page: metadata strip ── */
.module-meta {
  background-color: #ffffff;
  border: 1px solid #ddd9d0;
  border-left: 4px solid #00694E;
  padding: 1.25rem 1.5rem;
  margin-bottom: 0;
}

.meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.meta-item .meta-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #756E65;
  margin-bottom: 0.25rem;
}

.meta-item .meta-value {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1a1a1a;
}

/* ── Module page: content sections ── */
.module-content-section ul {
  margin-top: 0.5rem;
  padding-left: 1.5rem;
}

.module-content-section ul li {
  margin-bottom: 0.35rem;
  font-size: 1rem;
}

.placeholder-notice {
  background-color: #f0ece3;
  border-left: 3px solid #756E65;
  padding: 0.9rem 1.1rem;
  color: #4a4a4a;
  font-style: italic;
  font-size: 0.95rem;
  max-width: 60ch;
}

/* ── Footer ── */
footer {
  background-color: #024230;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  padding: 1.5rem 2rem;
}

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

footer a {
  color: rgba(255, 255, 255, 0.9);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .ou-logo-link img { height: 36px; }
  .hero-inner h1 { font-size: 1.3rem; }
  .module-title-cell, .bloom-cell { min-width: 0; }
  .footer-inner { flex-direction: column; text-align: center; }
  .meta-grid { gap: 1rem; }
}
