/* ── Brighton AI — Shared Stylesheet ─────────────────────────────────────── */

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

:root {
  --navy:   #1A1F3A;
  --coral:  #F04E2F;
  --warm:   #F7F5F1;
  --white:  #FFFFFF;
  --text:   #1A1A2E;
  --muted:  #6B7180;
  --border: rgba(0,0,0,0.1);
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── NAV ──────────────────────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  height: 60px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: inline-block;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
  border: 1.5px solid rgba(26,31,58,0.3);
  padding: 5px 9px;
  border-radius: 2px;
  line-height: 1;
}

.nav-logo em {
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s;
}

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

.nav-links a.active { font-weight: 500; }

.btn-nav {
  display: inline-flex;
  align-items: center;
  background: var(--coral);
  color: white;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
  text-decoration: none;
}

.btn-nav:hover { opacity: 0.88; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── BUTTONS ──────────────────────────────────────────────────────────────── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--coral);
  color: white;
  font-size: 15px;
  font-weight: 500;
  padding: 12px 24px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-primary:hover { opacity: 0.88; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--navy);
  font-size: 15px;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: 100px;
  border: 2px solid var(--navy);
  cursor: pointer;
  transition: all 0.15s;
}

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

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
}

/* ── STRIP ────────────────────────────────────────────────────────────────── */

.strip {
  background: var(--coral);
  padding: 0.8rem 2rem;
  display: flex;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
  overflow: hidden;
}

.strip-item {
  font-size: 13px;
  font-weight: 500;
  color: white;
  white-space: nowrap;
}

.strip-div {
  width: 1px;
  height: 14px;
  background: rgba(255,255,255,0.35);
  flex-shrink: 0;
}

/* ── PAGE HERO (shared) ───────────────────────────────────────────────────── */

.page-hero {
  background: var(--navy);
  padding: 4rem 2rem 3.5rem;
}

.page-hero-inner { max-width: 760px; }

.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 1.25rem;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: white;
  margin-bottom: 1.25rem;
}

.page-hero h1 em {
  color: var(--coral);
  font-style: normal;
}

.page-hero p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 2rem;
}

.ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ── SECTIONS ─────────────────────────────────────────────────────────────── */

.section {
  padding: 4rem 2rem;
}

.section.warm { background: var(--warm); }
.section.navy { background: var(--navy); color: white; }

.section-inner { max-width: 1000px; margin: 0 auto; }

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.6rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.section.navy .section-title { color: white; }

.section-sub {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.section.navy .section-sub { color: rgba(255,255,255,0.6); }

/* ── CARDS GRID ───────────────────────────────────────────────────────────── */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

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

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: var(--warm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.card p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
}

/* ── BORDERED CARDS GRID (no gaps, shared borders) ────────────────────────── */

.bordered-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.bordered-card {
  background: var(--white);
  padding: 1.5rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.bordered-card:last-child { border-right: none; }

/* ── EVENTS LIST ──────────────────────────────────────────────────────────── */

.events-list { display: flex; flex-direction: column; }

.event-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}

.event-item:first-child { border-top: 1px solid var(--border); }

.event-date {
  flex-shrink: 0;
  width: 50px;
  text-align: center;
}

.event-day {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--coral);
  line-height: 1;
}

.event-month {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.event-body { flex: 1; }

.event-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}

.event-meta {
  font-size: 13px;
  color: var(--muted);
}

.event-tag {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--warm);
  color: var(--muted);
  border: 1px solid var(--border);
  flex-shrink: 0;
  align-self: flex-start;
  margin-top: 2px;
}

.event-desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--muted);
  margin-top: 6px;
  max-width: 620px;
}

.event-link {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--coral);
}

/* ── PILL TAGS ────────────────────────────────────────────────────────────── */

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 2rem;
}

.pill {
  font-size: 13px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid var(--border);
  color: var(--muted);
  background: var(--white);
}

.pill.highlight {
  background: var(--coral);
  color: white;
  border-color: var(--coral);
}

/* ── EMAIL SIGNUP ─────────────────────────────────────────────────────────── */

.signup-form {
  display: flex;
  gap: 8px;
  max-width: 440px;
}

.signup-input {
  flex: 1;
  padding: 12px 18px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 100px;
  color: white;
  font-size: 14px;
  outline: none;
  transition: border-color 0.15s;
}

.signup-input::placeholder { color: rgba(255,255,255,0.4); }
.signup-input:focus { border-color: rgba(255,255,255,0.5); }

.signup-btn {
  background: var(--coral);
  color: white;
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.signup-btn:hover { opacity: 0.88; }

.signup-note {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  margin-top: 0.75rem;
}

/* ── CONTACT FORM ─────────────────────────────────────────────────────────── */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 540px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--coral); }

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

.form-submit {
  align-self: flex-start;
}

/* ── PROSE ────────────────────────────────────────────────────────────────── */

.prose {
  max-width: 640px;
}

.prose p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.01em;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.5rem 0 0.5rem;
}

.prose ul {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.prose li {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.prose a { color: var(--coral); }
.prose a:hover { text-decoration: underline; }

/* ── TWO-COLUMN LAYOUT ────────────────────────────────────────────────────── */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ── FOOTER ───────────────────────────────────────────────────────────────── */

.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 2rem;
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-logo-mark {
  display: inline-block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--navy);
  border: 1.5px solid rgba(26,31,58,0.25);
  padding: 4px 8px;
  border-radius: 2px;
  line-height: 1;
}

.footer-logo-mark em {
  color: var(--muted);
  font-style: normal;
  font-weight: 600;
}

.footer-logo-tagline {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: var(--muted);
  padding-left: 1px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  width: 100%;
  font-size: 12px;
  color: var(--muted);
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* ── RESPONSIVE ───────────────────────────────────────────────────────────── */

@media (max-width: 700px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 1rem 2rem;
    gap: 1rem;
  }
  .nav-toggle { display: flex; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .bordered-card { border-right: none; }
  .page-hero { padding: 3rem 1.25rem 2.5rem; }
  .section { padding: 3rem 1.25rem; }
  .strip { gap: 1rem; }
}
