/* The Discovery Collective — shared site styles */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,600;0,700;0,900;1,400&display=swap');

:root {
  --ink: #1B2A33;
  --ink-deep: #16232B;
  --text: #33424C;
  --muted: #55636C;
  --teal: #2B6E86;
  --teal-dark: #1f5567;
  --sky: #6FB8E0;
  --sky-tint: #EFF6FA;
  --cream: #FBF8F3;
  --line: #EAE4DA;
  --white: #ffffff;
  --footer-bg: #16232B;
  --footer-text: #C7D6DC;
  --footer-link: #8FCBEB;
  --shadow: 0 1px 3px rgba(27, 42, 51, 0.08);
  --radius: 12px;
  --container: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Source Sans 3', 'Source Sans Pro', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

h1, h2, h3 { color: var(--ink); font-weight: 700; margin: 0; text-wrap: pretty; }
h1 { font-size: 40px; line-height: 1.2; }
h2 { font-size: 28px; line-height: 1.3; }
h3 { font-size: 18px; line-height: 1.4; }
p { margin: 0; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Header / nav */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand span { font-size: 17px; font-weight: 700; letter-spacing: .02em; color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--teal); }
.nav-links a[aria-current="page"] {
  color: var(--teal);
  border-bottom-color: var(--teal);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  background: var(--teal);
  color: #fff;
}
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn.btn-dark { background: var(--ink); }
.btn.btn-dark:hover { background: #0f181e; }
.btn-sm { padding: 10px 20px; font-size: 14px; }

.nav-toggle { display: none; }
.nav-toggle-label {
  display: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-label svg { width: 26px; height: 26px; }

/* Sections */
.section { padding: 72px 24px; }
.section-tight { padding: 56px 24px; }
.text-center { text-align: center; }
.eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--teal);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.eyebrow-sm { font-size: 13px; letter-spacing: .1em; }

.bg-sky { background: var(--sky); }
.bg-sky-tint { background: var(--sky-tint); }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-ink p, .bg-ink .eyebrow { color: inherit; }

.lede { font-size: 18px; line-height: 1.6; color: var(--muted); }
.lede-lg { font-size: 19px; }

.max-narrow { max-width: 640px; margin: 0 auto; }
.max-med { max-width: 780px; margin: 0 auto; }
.max-wide { max-width: 900px; margin: 0 auto; }

.stack { display: flex; flex-direction: column; gap: 16px; }
.cluster { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* Cards */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 16px; margin-bottom: 8px; }
.card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.icon-row { display: flex; align-items: center; gap: 10px; }
.icon-row span { font-size: 16px; font-weight: 700; color: var(--ink); }

.fit-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 18px; }
.fit-item:last-child { margin-bottom: 0; }
.fit-item p { font-size: 15px; color: var(--text); line-height: 1.5; }

/* Steps */
.step { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700; font-size: 15px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.step h3 { font-size: 16px; margin-bottom: 4px; }
.step p { font-size: 14.5px; color: var(--muted); }

/* Schedule rows */
.schedule-row {
  display: flex; align-items: center; gap: 24px;
  padding: 16px 22px; border-radius: 10px;
}
.schedule-row:nth-child(odd) { background: var(--sky-tint); }
.schedule-time { width: 140px; font-weight: 700; color: var(--ink); font-size: 15px; flex-shrink: 0; }
.schedule-bar { width: 4px; align-self: stretch; border-radius: 2px; background: var(--line); }
.schedule-text { font-size: 15px; color: var(--text); }

/* Footer */
.site-footer {
  background: var(--footer-bg);
  padding: 40px 24px;
}
.footer-wrap {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.footer-brand span { color: var(--footer-text); font-size: 14px; }
.footer-links { display: flex; gap: 28px; font-size: 14px; flex-wrap: wrap; }
.footer-links a { color: var(--footer-text); }
.footer-links a:hover { color: var(--footer-link); }
.footer-links a.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  padding: 0;
  color: var(--footer-text);
}
.footer-links a.footer-icon svg { width: 18px; height: 18px; display: block; }
.footer-links a.footer-icon:hover { background: var(--footer-link); color: var(--footer-bg); }

/* Photo circle */
.photo-circle { border-radius: 50%; object-fit: cover; }

/* Responsive */
@media (max-width: 880px) {
  h1 { font-size: 32px; }
  .section { padding: 48px 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 12px 24px 20px;
    display: none;
  }
  .nav-links a { width: 100%; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav-links a[aria-current="page"] { border-bottom: 1px solid var(--line); }
  .nav-links .btn { width: 100%; justify-content: center; margin-top: 8px; }
  .nav-toggle-label { display: block; }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .meet-guide { flex-direction: column; text-align: center; }
}
