/* === Bluestockings Fellowship — Global Styles === */
/* Same family as City Aligned (DM Sans + Fraunces), with Kapakana as the
   display face and the Bluestockings "blue" foregrounded. */

:root {
  /* Palette */
  --white: #ffffff;
  --baby-blue-ice: #a2bfec;
  --dusty-mauve: #987284;
  --light-coral: #ee7674;
  --midnight-violet: #240115;

  /* Semantic */
  --bg: #ffffff;
  --bg-tint: #eef2fb;        /* pale baby-blue wash */
  --text: #240115;
  --muted: #6b5560;
  --accent: #ee7674;         /* coral — CTAs, links (ties to City Aligned) */
  --accent-dark: #d65150;
  --blue: #a2bfec;
  --blue-deep: #5f7fc0;      /* readable periwinkle — labels, the brand mark */
  --mauve: #987284;
  --border: #e7e8ef;
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === Typography === */

h1, h2, h3 {
  font-family: 'Fraunces', serif;
  font-weight: 400;
  line-height: 1.2;
}

/* Kapakana — the Bluestockings display face */
.display {
  font-family: 'Kapakana', cursive;
  font-weight: 400;
  letter-spacing: 0.01em;
}

h1 {
  font-size: 3rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  max-width: 38em;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: justify;
  hyphens: auto;
}

/* Keep centered/intro text centered; narrow cards stay left, not justified */
.hero .tagline,
.page-title p,
.text-center p {
  text-align: center;
}

.role-card p,
.founder p {
  text-align: left;
}

a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

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

/* === Layout === */

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container--wide {
  max-width: 960px;
}

/* === Header / Nav === */

.site-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.site-logo {
  font-family: 'Kapakana', cursive;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text);
  border-bottom: none;
}

.site-logo:hover {
  border-bottom: none;
  color: var(--blue-deep);
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  font-size: 0.9rem;
}

.site-nav a {
  color: var(--text);
  opacity: 0.6;
  transition: opacity 0.2s;
  border-bottom: none;
}

.site-nav a:hover,
.site-nav a.active {
  opacity: 1;
  border-bottom: none;
}

/* === Hero === */

.hero {
  background: var(--bg-tint);
  padding: 5rem 0 4rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero .tagline {
  max-width: 30em;
  margin: 0 auto 2rem;
  font-size: 1.15rem;
  color: var(--muted);
}

.hero .kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-deep);
  margin-bottom: 1.25rem;
}

.hero .kicker a {
  color: inherit;
  border-bottom: 1px solid currentColor;
}

.hero .kicker a:hover {
  color: var(--text);
}

/* === Sections === */

section {
  padding: 3.5rem 0;
}

section + section {
  border-top: 1px solid var(--border);
}

.lede {
  font-size: 1.15rem;
  line-height: 1.6;
}

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

.tint {
  background: var(--bg-tint);
}

/* === Page title === */

.page-title {
  background: var(--bg-tint);
  padding: 4rem 0 3rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-title h1 {
  font-size: 4rem;
  margin-bottom: 0.5rem;
}

.page-title p {
  max-width: 34em;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.05rem;
}

/* === Two-role cards === */

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

.role-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  background: var(--white);
}

.role-card .role-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

.role-tag--core {
  background: var(--blue-deep);
  color: var(--white);
}

.role-tag--capstone {
  background: var(--bg-tint);
  color: var(--blue-deep);
  border: 1px solid var(--blue);
}

.role-card h3 {
  margin-bottom: 0.5rem;
}

.role-card p {
  margin-bottom: 0;
}

/* === Curriculum / numbered list === */

.steps {
  list-style: none;
  counter-reset: step;
  margin-top: 1.5rem;
}

.steps li {
  position: relative;
  padding: 0 0 1.5rem 3rem;
  max-width: 40em;
}

.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--bg-tint);
  color: var(--blue-deep);
  font-family: 'Fraunces', serif;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steps li strong {
  display: block;
  font-family: 'Fraunces', serif;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

/* === Plain feature list === */

.feature-list {
  list-style: none;
  margin-top: 1rem;
}

.feature-list li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  max-width: 40em;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

/* === Info blocks === */

.info-block {
  padding: 2.5rem 0;
}

.info-block + .info-block {
  border-top: 1px solid var(--border);
}

.info-block h2 {
  color: var(--blue-deep);
  font-size: 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.info-block p {
  font-size: 1.05rem;
  line-height: 1.7;
}

/* === Founder === */

.founder {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  max-width: 40em;
  margin: 1.5rem auto 0;
  text-align: left;
}

.founder img {
  width: 110px;
  height: 110px;
  flex: 0 0 auto;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 50%;
  border: 2px solid var(--border);
}

.founder p {
  margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
  .founder {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* === Form === */

.form-field {
  margin-bottom: 1.75rem;
}

.form-field label {
  display: block;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-field .hint {
  display: block;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.15rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--text);
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--white);
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-deep);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.hidden {
  display: none;
}

/* === CTA Button === */

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border: 1px solid var(--text);
  border-radius: 4px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  text-decoration: none;
  border-bottom: 1px solid var(--text);
}

.btn:hover {
  background: var(--text);
  color: var(--white);
  border-bottom-color: var(--text);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  border-bottom-color: var(--accent);
}

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

/* === Footer === */

.site-footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

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

.site-footer a:hover {
  color: var(--accent);
  border-bottom-color: transparent;
}

/* === Utility === */

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.measure { max-width: 40em; }
.measure-center { max-width: 40em; margin-left: auto; margin-right: auto; }

/* === Responsive === */

@media (max-width: 600px) {
  html { font-size: 16px; }

  h1 { font-size: 2.2rem; }

  .hero { padding: 3.5rem 0 2.5rem; }
  .hero h1 { font-size: 3.2rem; }

  .page-title { padding: 3rem 0 2rem; }
  .page-title h1 { font-size: 3rem; }

  .site-nav { gap: 1rem; }

  .steps li { padding-left: 2.75rem; }
}
