/* TIHOF — Technology & Innovation Hall of Fame
   Clean, Institutional, High-Performance Static Stylesheet */

:root {
  --bg-body: #FAF9F6;
  --bg-surface: #FFFFFF;
  --bg-dark: #0F172A;
  --bg-dark-elevated: #1E293B;
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-light: #F8FAFC;
  --text-muted: #94A3B8;
  --accent-gold: #B8860B;
  --accent-gold-light: #D4AF37;
  --accent-blue: #0284C7;
  --border-color: #E2E8F0;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
  --max-width: 1160px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, 'Times New Roman', serif;
  line-height: 1.25;
  color: var(--text-primary);
  font-weight: 700;
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: var(--accent-gold);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
}

.brand:hover {
  color: var(--accent-gold-light);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, #D4AF37, #9A6B06);
  color: #0F172A;
  font-family: 'Merriweather', serif;
  font-weight: 900;
  font-size: 1.1rem;
  display: grid;
  place-items: center;
  letter-spacing: -0.5px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Merriweather', serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 1.75rem;
  align-items: center;
}

.nav-links a {
  color: #E2E8F0;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.4rem 0;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-gold-light);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 1.2rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 65%, #172554 100%);
  color: var(--text-light);
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.16) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold-light);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.08);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  color: #FFFFFF;
  font-size: clamp(2.1rem, 4.2vw, 3.25rem);
  max-width: 820px;
  margin-bottom: 1.25rem;
}

.hero p {
  color: #CBD5E1;
  font-size: 1.1rem;
  max-width: 680px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Page Banner (Subpages) */
.page-banner {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 3.75rem 0 3.25rem;
  border-bottom: 3px solid var(--accent-gold-light);
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #CBD5E1;
}

.breadcrumb a:hover {
  color: var(--accent-gold-light);
}

.page-banner h1 {
  color: #FFFFFF;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  margin-bottom: 0.75rem;
}

.page-banner p {
  color: #CBD5E1;
  max-width: 720px;
  font-size: 1.05rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent-gold-light);
  color: #0F172A;
}

.btn-primary:hover {
  background: #E5C158;
  color: #0F172A;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--accent-gold-light);
  color: var(--accent-gold-light);
}

/* Sections & Grids */
.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.75rem;
}

.section-kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-secondary);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Cards */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.5);
}

.card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-gold);
  background: rgba(184, 134, 11, 0.1);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
}

.card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
}

.card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* Stats Bar */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 2.25rem;
  border-radius: var(--radius-md);
  margin-top: -2.5rem;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.stat-item {
  text-align: center;
  padding: 0.5rem;
}

.stat-value {
  display: block;
  font-family: 'Merriweather', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-gold-light);
}

.stat-label {
  font-size: 0.85rem;
  color: #CBD5E1;
}

/* Profile Table / Key Facts */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.info-table th,
.info-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

.info-table th {
  width: 32%;
  background: #F8FAFC;
  color: var(--text-primary);
  font-weight: 600;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

/* Vision & Mission Highlight */
.vm-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-top: 4px solid var(--accent-gold-light);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.vm-list {
  list-style: none;
  margin-top: 1.25rem;
}

.vm-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.9rem;
  color: var(--text-secondary);
}

.vm-list li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-size: 0.8rem;
  top: 0.15rem;
}

/* Contact Form */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  background: #FFFFFF;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.18);
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-status.success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: #CBD5E1;
  padding: 4rem 0 2rem;
  border-top: 3px solid var(--accent-gold-light);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-heading {
  color: #FFFFFF;
  font-family: 'Merriweather', serif;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94A3B8;
}

/* Responsive */
@media (max-width: 960px) {
  .grid-3, .grid-4, .stats-grid, .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #0F172A;
    flex-direction: column;
    padding: 1.25rem 1.5rem 1.75rem;
    gap: 1rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25);
  }

  .nav-links.open {
    display: flex;
  }

  .grid-2, .grid-3, .grid-4, .stats-grid, .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    margin-top: 1.5rem;
  }

  .info-table th, .info-table td {
    display: block;
    width: 100%;
  }
}
