/* Converge — static site v1. Navy/cream/gold palette per WEBSITE-BRAINSTORM.md build log (2026-09-08). */

:root {
  --navy-900: #0a1a2c;
  --navy-800: #12283f;
  --navy-700: #1b3a5c;
  --navy-200: #c7d3de;
  --navy-100: #dfe7ee;
  --navy-50:  #eff3f7;

  --gold:      #b08d57;
  --gold-deep: #8a6a2f;
  --gold-100:  #f1e4c8;

  --cream:    #faf6ef;
  --surface:  #f3ede2;
  --border:   #e6dfd1;

  --ink:      #1a2430;
  --ink-soft: #5c6773;
  --white:    #ffffff;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-pill: 999px;

  --shadow-card: 0 2px 20px rgba(10, 26, 44, 0.08);

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.5;
}

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

.container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Nav ---------- */
.nav { background: var(--cream); border-bottom: 1px solid var(--border); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 12px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
}
.logo-mark { display: inline-flex; flex-shrink: 0; }
.logo-mark svg { width: 30px; height: 30px; display: block; }

/* Stacked lockup (icon above wordmark) — used in the footer brand column */
.logo-stack { display: inline-flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.logo-stack .logo-mark svg { width: 48px; height: 48px; }
.logo-stack .logo-text {
  font-family: var(--font);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}

.nav-collapse { display: flex; align-items: center; gap: 28px; }
.nav-links { display: flex; align-items: center; gap: 24px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav-links a { font-size: 15px; font-weight: 600; color: var(--ink-soft); }
.nav-links a:hover { color: var(--navy-700); }
.nav-links a.active { color: var(--navy-900); box-shadow: inset 0 -2px 0 var(--gold); padding-bottom: 2px; }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions a.btn-ghost { color: var(--ink-soft); }
.nav-actions a.btn-ghost:hover { color: var(--navy-900); }

/* Mobile menu (pure CSS, no JS): checkbox-driven disclosure.
   Markup order matters: the checkbox must precede .nav-collapse in the DOM
   for the `~` sibling selector below to work. */
.nav-toggle-input { display: none; }
.nav-toggle-label { display: none; cursor: pointer; padding: 6px; }
.nav-toggle-label svg { width: 24px; height: 24px; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-pill);
  padding: 13px 26px;
  border: none;
  cursor: pointer;
}
.btn-primary { background: var(--navy-700); color: var(--white); }
.btn-secondary { background: var(--white); color: var(--navy-700); border: 1.5px solid var(--navy-200); }
.btn-invert { background: var(--white); color: var(--navy-900); }
.btn-ghost { background: transparent; color: var(--ink); padding: 10px 16px; }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; text-align: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ---------- Type / layout ---------- */
/* Longhand on purpose: a shorthand `padding: 56px 0` here would zero out
   .container's horizontal padding on any element carrying both classes
   (nearly every page wrapper), since equal-specificity shorthand rules
   overwrite all four sides in source order. (Review finding #3.) */
.section { padding-top: 56px; padding-bottom: 56px; }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy-800);
  background: var(--navy-50);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}
h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; margin: 0 0 16px; color: var(--navy-900); }
h1 { font-size: 42px; line-height: 1.15; }
h2 { font-size: 28px; line-height: 1.2; }
h3 { font-size: 19px; line-height: 1.3; }
p { margin: 0 0 16px; color: var(--ink-soft); font-size: 16px; }
.lead { font-size: 18px; color: var(--ink-soft); }
.center { text-align: center; }
/* Long-form paragraphs read better left-aligned even inside a centered block
   (a centered headline can sit above left-aligned body copy). Review finding #6. */
.prose { text-align: left; }
.muted { color: var(--ink-soft); }
.tagline { font-style: italic; color: var(--ink-soft); font-size: 15px; margin-top: -8px; }

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

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.todo {
  background: var(--gold-100);
  color: var(--gold-deep);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 13.5px;
  font-weight: 600;
  margin: 0 0 16px;
}

.note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 0 0 20px;
}

/* ---------- Forms (static — no JS, no submission) ---------- */
.form-panel {
  max-width: 420px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 32px;
}
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 15px;
  padding: 11px 13px;
  border: none;
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
}
.form-foot { font-size: 14px; color: var(--ink-soft); text-align: center; margin-top: 16px; }

/* ---------- Vote / list rows ---------- */
.vote-card { background: var(--white); border-radius: var(--radius-md); padding: 22px; margin-bottom: 16px; box-shadow: var(--shadow-card); }
.vote-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.vote-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
}
.vote-option.leading { background: var(--navy-100); box-shadow: inset 3px 0 0 var(--navy-700); }
.opt-name { font-weight: 700; font-size: 15px; }
.opt-sub { font-size: 13px; color: var(--ink-soft); }
.vote-count { font-weight: 800; color: var(--navy-700); font-size: 15px; white-space: nowrap; }
.pill { font-size: 12px; font-weight: 700; color: var(--gold-deep); background: var(--gold-100); border-radius: var(--radius-pill); padding: 5px 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; background: var(--surface); border-radius: var(--radius-pill); padding: 6px 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); padding: 40px 0 28px; margin-top: 40px; }
.site-footer .logo { color: var(--white); }
.site-footer p { color: rgba(255,255,255,0.6); }
.footer-grid { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 28px; margin-bottom: 28px; }
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: rgba(255,255,255,0.45); margin-bottom: 10px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.85); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.45);
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px; flex-wrap: wrap; gap: 10px;
}

/* ---------- Team (simple name+role strip, no per-person bios) ---------- */
.team-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.team-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-card);
  padding: 8px 18px 8px 8px;
}
.team-pill .avatar {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover;
  color: var(--white); font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.team-pill .name { font-weight: 700; font-size: 14px; }
.team-pill .role { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- Page header (trip-context pages: bold title + subtitle + avatar stack) ---------- */
.page-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.avatar-stack { display: flex; align-items: center; }
.avatar-stack .mini-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 12px;
  border: 2px solid var(--cream);
  margin-left: -10px;
}
.avatar-stack .mini-avatar:first-child { margin-left: 0; }
.avatar-stack .mini-avatar.more { background: var(--navy-100); color: var(--navy-800); }

.divider { height: 1px; background: var(--border); margin: 28px 0; border: none; }
.legal-body { max-width: 720px; }
.legal-body h3 { margin-top: 24px; }

/* ---------- Photography ---------- */
.hero-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; }
.hero-photo { position: relative; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.hero-photo img { width: 100%; height: 380px; object-fit: cover; }
.hero-photo::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(10,26,44,0.85) 0%, rgba(10,26,44,0.2) 45%, rgba(10,26,44,0) 68%);
}
.hero-photo-caption {
  position: absolute; z-index: 2; left: 20px; right: 20px; bottom: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.hero-photo-caption .name { color: var(--white); font-weight: 700; font-size: 15px; }
.hero-photo-caption .sub { color: rgba(255,255,255,0.75); font-size: 12px; margin-top: 2px; }

.photo-strip { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); margin: 40px 0; }
.photo-strip img { width: 100%; height: 260px; object-fit: cover; }

.card-photo { width: 100%; height: 140px; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 16px; }

.thumb { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; flex-shrink: 0; margin-right: 14px; }
.vote-option { align-items: center; }

.photo-card { border-radius: var(--radius-md); overflow: hidden; background: var(--white); box-shadow: var(--shadow-card); }
.photo-card img { width: 100%; height: 150px; object-fit: cover; }
.photo-card-body { padding: 16px 18px 18px; }

.split-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); background: var(--white); }
.split-panel .split-photo { position: relative; min-height: 100%; }
.split-panel .split-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; }
.split-panel .split-form { padding: 40px; }
.split-panel .split-form .form-panel { box-shadow: none; padding: 0; max-width: none; }

@media (max-width: 800px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  .hero-split, .split-panel { grid-template-columns: 1fr; }
  /* Shorter on phones so the form isn't pushed below the fold (review finding #7) */
  .split-panel .split-photo img { min-height: 140px; }
  .split-panel .split-form { padding: 28px 24px; }

  /* Mobile nav: hide the inline links/actions, reveal via hamburger checkbox */
  .nav-toggle-label { display: block; }
  .nav-collapse {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    width: 100%;
    padding: 12px 0 4px;
  }
  .nav-toggle-input:checked ~ .nav-collapse { display: flex; }
  .nav-links { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav-links a { display: block; padding: 8px 0; width: 100%; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 8px; width: 100%; padding-top: 8px; }
}
