/* WOLF CWSP — NC State Campus Writing and Speaking Program
   Clean, modern, accessible. System fonts. NC State red. */

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

:root {
  --red: #CC0000;
  --red-dark: #990000;
  --black: #1a1a1a;
  --gray-dark: #444;
  --gray-mid: #767676;
  --gray-light: #f4f4f4;
  --white: #ffffff;
  --max-width: 1100px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.65;
}

a { color: var(--red); text-decoration: underline; }
a:hover { color: var(--red-dark); }

/* ── NAV ── */

.site-header {
  background: var(--black);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 60px;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-logo span {
  color: var(--red);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 0;
  margin-left: auto;
}

.nav-links a {
  display: block;
  padding: 0 1rem;
  height: 60px;
  line-height: 60px;
  color: #ccc;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.nav-links a.active {
  border-bottom: 2px solid var(--red);
}

/* ── HERO ── */

.hero {
  background: var(--red);
  color: var(--white);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 2.25rem;
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: background 0.15s, color 0.15s;
}

.btn-white {
  background: var(--white);
  color: var(--red);
}

.btn-white:hover {
  background: #f0f0f0;
  color: var(--red-dark);
}

.btn-red {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}

.btn-red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
}

/* ── PAGE HEADER (non-hero pages) ── */

.page-header {
  background: var(--gray-light);
  border-bottom: 3px solid var(--red);
  padding: 3rem 1.5rem 2.5rem;
}

.page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--gray-dark);
  font-size: 1.05rem;
  max-width: 620px;
}

/* ── CONTENT ── */

.content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.content-narrow {
  max-width: 720px;
}

/* ── CARDS ── */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.card {
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
}

.card p {
  color: var(--gray-dark);
  font-size: 0.95rem;
  flex: 1;
}

/* ── PHASES ── */

.phases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0;
  margin-top: 2.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

.phase {
  padding: 2rem 1.75rem;
  border-right: 1px solid #e0e0e0;
}

.phase:last-child { border-right: none; }

.phase-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-bottom: 0.5rem;
}

.phase h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.phase p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  line-height: 1.6;
}

/* ── SECTION DIVIDER ── */

.section {
  padding: 3rem 1.5rem;
}

.section-alt {
  background: var(--gray-light);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section p {
  color: var(--gray-dark);
  max-width: 680px;
  font-size: 1rem;
}

/* ── RESOURCE LIST ── */

.resource-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.resource-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  background: var(--white);
}

.resource-list li:hover {
  border-color: var(--red);
}

.resource-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.resource-body strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.resource-body p {
  font-size: 0.9rem;
  color: var(--gray-dark);
  margin: 0;
  max-width: none;
}

/* ── STEPS ── */

.steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-num {
  counter-increment: step;
  background: var(--red);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 700;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.step-num::before {
  content: counter(step);
}

.step-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.step-body p {
  font-size: 0.95rem;
  color: var(--gray-dark);
  max-width: none;
}

/* ── CONTACT ── */

.contact-block {
  background: var(--black);
  color: var(--white);
  border-radius: 4px;
  padding: 2.5rem;
  margin-top: 2.5rem;
}

.contact-block h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contact-block p {
  color: #ccc;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  max-width: none;
}

.contact-block a {
  color: #ff9999;
}

/* ── FOOTER ── */

.site-footer {
  background: var(--gray-light);
  border-top: 1px solid #e0e0e0;
  padding: 2rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-mid);
}

.site-footer a { color: var(--gray-mid); }

/* ── PROSE ── */

.prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.prose p {
  margin-bottom: 1rem;
  color: var(--gray-dark);
}

.prose ul {
  margin: 0.75rem 0 1rem 1.5rem;
  color: var(--gray-dark);
}

.prose li {
  margin-bottom: 0.4rem;
}

/* ── RESPONSIVE ── */

@media (max-width: 700px) {
  .nav-links a { padding: 0 0.6rem; font-size: 0.8rem; }
  .phase { border-right: none; border-bottom: 1px solid #e0e0e0; }
  .phase:last-child { border-bottom: none; }
}
