/* Jonathan D. Rudolph — Website Styles */

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --slate: #4a5568;
  --slate-light: #718096;
  --gold: #c9a84c;
  --gold-light: #d4b96a;
  --white: #ffffff;
  --off-white: #f7f8fa;
  --border: #e2e6ec;
  --text: #2d3748;
  --text-light: #4a5568;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
  --max-width: 1100px;
}

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

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

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

/* ---- NAV ---- */

.nav {
  background: var(--navy);
  padding: 0 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

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

.nav-logo span {
  color: var(--gold);
  font-weight: 400;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ---- HERO ---- */

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

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

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 1.5rem;
  font-family: var(--font-serif);
}

.hero .description {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  max-width: 650px;
  margin: 0 auto 2rem;
}

.hero .cta-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}

.hero .cta-btn:hover {
  background: var(--gold-light);
}

/* ---- CREDENTIAL BAR ---- */

.credentials-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
}

.credentials-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 3rem;
}

.credential {
  font-size: 0.85rem;
  color: var(--slate);
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

.credential strong {
  color: var(--navy);
}

/* ---- SECTIONS ---- */

.section {
  padding: 4rem 2rem;
}

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

.section-alt {
  background: var(--off-white);
}

.section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}

.section h3:first-child {
  margin-top: 0;
}

.section p {
  color: var(--text-light);
  margin-bottom: 1rem;
  max-width: 750px;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header p {
  margin: 0 auto;
  max-width: 650px;
}

/* ---- SERVICES GRID ---- */

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2rem;
  transition: border-color 0.2s;
}

.section-alt .service-card {
  background: var(--white);
}

.service-card:hover {
  border-color: var(--gold);
}

.service-card h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--slate-light);
}

/* ---- LANE LABEL ---- */

.lane-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  margin-bottom: 1.5rem;
}

.lane-primary {
  background: var(--navy);
  color: var(--gold);
}

.lane-secondary {
  background: var(--off-white);
  color: var(--navy);
  border: 1px solid var(--border);
}

/* ---- ABOUT: TIMELINE ---- */

.timeline {
  margin: 2rem 0;
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.timeline-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.timeline-role {
  font-weight: 600;
  color: var(--navy);
  min-width: 220px;
}

.timeline-detail {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ---- ABOUT: CREDENTIALS LIST ---- */

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

.cred-item {
  padding: 1.25rem;
  background: var(--off-white);
  border-radius: 4px;
  border-left: 3px solid var(--gold);
}

.cred-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.cred-item span {
  font-size: 0.9rem;
  color: var(--slate-light);
}

/* ---- CONTACT ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-method {
  margin-bottom: 1.5rem;
}

.contact-method strong {
  display: block;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.contact-method a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
}

.contact-method a:hover {
  text-decoration: underline;
}

.contact-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 0.35rem;
  margin-top: 1rem;
}

.contact-form label:first-child {
  margin-top: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.contact-form button {
  margin-top: 1.25rem;
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: var(--gold-light);
}

/* ---- FOOTER ---- */

.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.85rem;
}

.footer a {
  color: var(--gold);
  text-decoration: none;
}

/* ---- BAR ADMISSIONS ---- */

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

.bar-list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-light);
}

.bar-list li:last-child {
  border-bottom: none;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 2rem 2rem;
    gap: 1rem;
  }

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

  .nav-toggle {
    display: block;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .hero .subtitle {
    font-size: 1.05rem;
  }

  .credentials-inner {
    gap: 1rem 2rem;
  }

  .credential {
    font-size: 0.8rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .timeline-item {
    flex-direction: column;
    gap: 0.25rem;
  }

  .timeline-role {
    min-width: auto;
  }
}
