/* UFF-LSSC static site styles — plain CSS, no build step required. */

:root {
  --white: #ffffff;
  --ink: #191b1f;
  --text: #2b2f36;
  --muted: #6b7280;
  --primary: #2f7fe0;
  --sky: #a5dcf7;
  --sky-soft: #e5f3fc;
  --border: #e2e6ec;
  --radius: 0.5rem;
  --shadow-card: 0 8px 24px -12px rgba(20, 40, 80, 0.35);
  --shadow-lift: 0 18px 40px -18px rgba(20, 40, 80, 0.45);
  --display: "Nunito", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
  --sans: "Nunito Sans", ui-sans-serif, system-ui, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}

h1 { font-size: 2.5rem; line-height: 1.05; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.band-sky { background: var(--sky); }
.band-sky-soft { background: var(--sky-soft); }
.section { padding: 3.5rem 0; }
.section-sm { padding: 3rem 0; }
.center { text-align: center; }
.stack > * + * { margin-top: 1.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-14 { margin-top: 3.5rem; }
.lead { font-size: 1.125rem; color: #3d434c; }
.muted { color: var(--muted); font-size: 0.875rem; }
.italic { font-style: italic; }

.rule-blue {
  height: 6px;
  width: 6rem;
  background: var(--primary);
  border-radius: 999px;
  margin-top: 0.5rem;
}

.link-blue { color: var(--primary); font-weight: 700; text-decoration: none; }
.link-blue:hover { text-decoration: underline; }

/* Buttons */
.btn-solid,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 800;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn-solid { background: var(--primary); color: #fff; }
.btn-solid:hover { transform: translateY(-2px); filter: brightness(1.06); }
.btn-outline { border: 2px solid var(--ink); color: var(--ink); padding: calc(0.75rem - 2px) calc(1.5rem - 2px); }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
}
.header-inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.header-logo img { height: 3rem; width: auto; }
.main-nav { display: none; gap: 1.5rem; align-items: center; }
.main-nav a {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.875rem;
  color: #4b5159;
  text-decoration: none;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.header-cta { display: none; font-size: 0.875rem; }
.header-rule { height: 4px; background: var(--primary); }

/* Grids */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

/* News cards */
.news-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.news-card img {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: contain;
  background: #fff;
  padding: 1rem;
}
.news-body {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}
.news-body p:last-child { font-size: 0.9375rem; line-height: 1.7; }

/* Rows */
.row-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  padding: 1.25rem;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.row-link:hover { border-color: var(--primary); background: #f7f9fc; }
.row-title { font-family: var(--display); font-weight: 800; font-size: 1.125rem; color: var(--ink); display: block; }
.row-detail { font-size: 0.875rem; color: var(--muted); display: block; }
.row-arrow { font-family: var(--display); font-size: 1.25rem; color: var(--primary); }

/* Officer cards */
.officer-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
  text-align: center;
}
.officer-role {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary);
}
.officer-name { font-family: var(--display); font-weight: 900; font-size: 1.375rem; color: var(--ink); margin-top: 0.5rem; }

/* Media */
.video-frame { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-card); }
.video-frame iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; background: var(--ink); }
.shadow-img { border-radius: var(--radius); box-shadow: var(--shadow-card); }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #fff; }
.org-logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 2.5rem; margin-top: 2rem; }
.org-logos img { height: 3rem; width: auto; object-fit: contain; }
.footer-bottom {
  max-width: 72rem;
  margin: 0 auto;
  padding: 2rem 1rem 6rem;
  font-size: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; font-family: var(--display); font-weight: 800; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--primary); }

/* Mobile tab bar */
.tab-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
}
.tab-bar a {
  flex: 1;
  padding: 0.75rem 0;
  text-align: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #5b6169;
  text-decoration: none;
}
.tab-bar a.active { color: var(--primary); }
.tab-bar a.tab-join { background: var(--primary); color: #fff; }

@media (min-width: 640px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.25rem; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .header-cta { display: inline-flex; }
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .main-nav { display: flex; }
  .tab-bar { display: none; }
  .footer-bottom { padding-bottom: 2rem; }
  .hero { align-items: center; }
  .hero-text { text-align: left; }
  .hero-actions { justify-content: flex-start; }
}

@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.hero { display: grid; gap: 2rem; grid-template-columns: 1fr; align-items: center; padding: 3rem 0; }
@media (min-width: 768px) { .hero { grid-template-columns: 1fr 1fr; padding: 4rem 0; } }
.hero-text { text-align: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.75rem; }
.hero img { max-width: 28rem; margin: 0 auto; }
