/* ============================================================
   Redwood Vista WSC — shared stylesheet (all pages)
   Branding: navy / teal water-utility palette
   ============================================================ */

/* ── RESET & TOKENS ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy:   #1E3A5F;
  --navy-d: #16293f;
  --teal:   #0D6E6E;
  --teal-d: #0a5a5a;
  --cyan:   #2FA6B5;
  --accent: #4DD0E1;
  --amber:  #B45309;
  --green:  #1A6B3C;
  --red:    #B71C1C;
  --ink:    #1A2330;
  --gray:   #5A6472;
  --line:   #E3E8EF;
  --bg:     #FFFFFF;
  --bg-alt: #F4F7FA;
  --bg-soft:#EAF1F4;
  --radius: 12px;
  --shadow: 0 2px 10px rgba(20,41,63,0.06);
  --shadow-lg: 0 10px 34px rgba(20,41,63,0.13);
  --maxw: 1140px;
}
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { line-height: 1.2; color: var(--navy); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ── ICONS ──────────────────────────────────────────────────── */
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ── ALERT BANNER ───────────────────────────────────────────── */
.alert {
  background: var(--amber); color: #fff; text-align: center;
  padding: 9px 20px; font-size: 0.86rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.alert a { color: #fff; text-decoration: underline; font-weight: 700; }
.alert .ico { stroke: #fff; }

/* ── HEADER / NAV ───────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--navy); box-shadow: 0 2px 12px rgba(0,0,0,0.18); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 11px; color: #fff; font-weight: 800; font-size: 1.08rem; letter-spacing: 0.3px; }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 9px; flex-shrink: 0;
  background: linear-gradient(140deg, var(--teal), var(--accent));
  display: grid; place-items: center;
}
.brand .mark .ico { width: 19px; height: 19px; stroke: #fff; stroke-width: 2.2; }
.brand small { display: block; font-size: 0.66rem; font-weight: 600; color: rgba(255,255,255,0.6); letter-spacing: 0.8px; text-transform: uppercase; margin-top: 1px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.82); font-size: 0.86rem; font-weight: 600;
  padding: 8px 13px; border-radius: 7px; transition: background .18s, color .18s;
}
.nav-links a:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }
.nav-links a.active { color: #fff; background: rgba(77,208,225,0.18); }
.nav-cta { background: var(--teal) !important; color: #fff !important; padding: 8px 16px !important; }
.nav-cta:hover { background: var(--teal-d) !important; }
.nav-toggle { display: none; background: none; border: none; color: #fff; cursor: pointer; padding: 8px; }
.nav-toggle .ico { width: 26px; height: 26px; }

/* ── HERO / PAGE HEADER ─────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #14406b 55%, var(--teal) 130%);
  color: #fff; position: relative; overflow: hidden;
}
.hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 78% 30%, rgba(77,208,225,0.22), transparent 60%); pointer-events: none; }
.hero .wrap { position: relative; z-index: 1; }
.hero-home { padding: 78px 0 86px; text-align: center; }
.hero-home h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 900; max-width: 760px; margin: 0 auto 18px; letter-spacing: -0.5px; }
.hero-home h1 span { color: var(--accent); }
.hero-home p { color: rgba(255,255,255,0.82); font-size: 1.08rem; max-width: 600px; margin: 0 auto 32px; }
.eyebrow { display: inline-block; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.22); color: rgba(255,255,255,0.9); font-size: 0.72rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase; padding: 6px 15px; border-radius: 20px; margin-bottom: 20px; }
.page-head { padding: 54px 0 48px; }
.page-head h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; margin-bottom: 10px; }
.page-head p { color: rgba(255,255,255,0.8); max-width: 620px; font-size: 1.02rem; }
.crumbs { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.crumbs a { color: rgba(255,255,255,0.8); }

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-size: 0.92rem; cursor: pointer; border: none; transition: all .18s; }
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-d); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #eef4f6; }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.55); }
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: #fff; }
.hero-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── SECTIONS ───────────────────────────────────────────────── */
section.block { padding: 64px 0; }
.block.alt { background: var(--bg-alt); }
.sec-tag { font-size: 0.74rem; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.sec-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 900; color: var(--navy); margin-bottom: 12px; }
.sec-desc { color: var(--gray); max-width: 640px; font-size: 1rem; margin-bottom: 38px; }

/* ── CARDS / GRIDS ──────────────────────────────────────────── */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
}
.card.link:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.card h3 { font-size: 1.05rem; font-weight: 800; margin-bottom: 8px; }
.card h4 { font-size: 0.96rem; font-weight: 800; margin-bottom: 6px; }
.card p { color: var(--gray); font-size: 0.9rem; }
.card-ico { width: 46px; height: 46px; border-radius: 11px; background: var(--bg-soft); color: var(--teal); display: grid; place-items: center; margin-bottom: 14px; }
.card-ico .ico { width: 23px; height: 23px; }
.tag { display: inline-block; font-size: 0.7rem; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 3px 9px; border-radius: 20px; background: var(--bg-soft); color: var(--teal); }
.tag.amber { background: #FDF1E3; color: var(--amber); }
.tag.green { background: #E8F5EC; color: var(--green); }
.tag.gray  { background: #EEF1F5; color: var(--gray); }

/* placeholder note */
.placeholder {
  border: 1px dashed #c5cfdb; background: #fbfdff; border-radius: var(--radius);
  padding: 18px 20px; color: var(--gray); font-size: 0.88rem;
}
.placeholder strong { color: var(--amber); }

/* ── BOARD MEMBERS ──────────────────────────────────────────── */
.member { text-align: center; }
.member .avatar { width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 12px; background: linear-gradient(140deg, var(--navy), var(--teal)); color: #fff; display: grid; place-items: center; font-size: 1.5rem; font-weight: 800; }
.member h4 { margin-bottom: 2px; }
.member .role { color: var(--teal); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: .5px; }

/* ── TABLES ─────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
table.data { width: 100%; border-collapse: collapse; background: #fff; }
table.data th, table.data td { padding: 13px 16px; text-align: left; font-size: 0.9rem; border-bottom: 1px solid var(--line); }
table.data th { background: var(--bg-alt); color: var(--navy); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .5px; }
table.data tr:last-child td { border-bottom: none; }
table.data tbody tr:hover { background: var(--bg-alt); }

/* ── DEFINITION / INFO LIST ─────────────────────────────────── */
.info-list { list-style: none; display: grid; gap: 14px; }
.info-list li { display: flex; gap: 13px; align-items: flex-start; }
.info-list .ico { color: var(--teal); width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }
.info-list strong { color: var(--navy); display: block; }
.info-list span { color: var(--gray); font-size: 0.92rem; }

/* ── MAP EMBED ──────────────────────────────────────────────── */
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #e5e7eb; }
.map iframe { width: 100%; height: 400px; border: 0; display: block; }
.cal-embed iframe { width: 100%; height: 600px; border: 0; display: block; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }

/* ── NEXT MEETING CARD ──────────────────────────────────────── */
.next-meeting { background: linear-gradient(135deg, var(--teal), var(--cyan)); color: #fff; border-radius: 16px; padding: 30px 34px; box-shadow: var(--shadow-lg); display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.next-meeting .date-chip { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.3); border-radius: 12px; padding: 14px 20px; text-align: center; flex-shrink: 0; }
.next-meeting .date-chip .m { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.next-meeting .date-chip .d { font-size: 2.2rem; font-weight: 900; line-height: 1; }
.next-meeting h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.next-meeting p { color: rgba(255,255,255,0.9); font-size: 0.94rem; }

/* ── QUICK LINKS / PARTNERS ─────────────────────────────────── */
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 16px; }
.quick { display: flex; flex-direction: column; gap: 10px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.quick:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); text-decoration: none; }
.quick .ico { width: 26px; height: 26px; color: var(--teal); }
.quick strong { color: var(--navy); font-size: 0.98rem; }
.quick span { color: var(--gray); font-size: 0.82rem; }
.partners { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.partner { font-size: 0.85rem; font-weight: 700; color: var(--navy); background: #fff; border: 1px solid var(--line); border-radius: 30px; padding: 9px 18px; box-shadow: var(--shadow); }
.partner:hover { color: var(--teal); }

/* ── FORMS ──────────────────────────────────────────────────── */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.84rem; font-weight: 700; color: var(--navy); }
.field input, .field textarea, .field select {
  padding: 11px 14px; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 0.92rem; background: #fff; color: var(--ink); outline: none;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--teal); box-shadow: 0 0 0 3px rgba(13,110,110,0.12); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer { background: var(--navy-d); color: rgba(255,255,255,0.6); padding: 46px 0 26px; font-size: 0.86rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.site-footer h4 { color: #fff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,0.72); }
.site-footer a:hover { color: var(--accent); }
.site-footer .brand { margin-bottom: 12px; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; text-align: center; font-size: 0.8rem; color: rgba(255,255,255,0.45); }

/* ── UTILITIES ──────────────────────────────────────────────── */
.center { text-align: center; }
.mt-s { margin-top: 14px; } .mt-m { margin-top: 26px; } .mt-l { margin-top: 44px; }
.lead { font-size: 1.06rem; color: var(--gray); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
.prose p { color: var(--gray); margin-bottom: 14px; }
.prose strong { color: var(--navy); }

/* ── TRANSIT / LIVE EMBEDS ──────────────────────────────────── */
.transit-embed iframe { width: 100%; height: 560px; border: 0; display: block; border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.live-badge { display: inline-flex; align-items: center; gap: 7px; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: #fff; background: var(--red); padding: 4px 11px; border-radius: 20px; }
.live-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: livepulse 1.4s infinite; }
@keyframes livepulse { 0%,100% { opacity: 1; } 50% { opacity: .25; } }

/* ── FOOTER PARTNERS BAND ───────────────────────────────────── */
.footer-partners { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-partners .lbl { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.45); }
.footer-partners a { font-size: 0.83rem; font-weight: 700; color: rgba(255,255,255,0.82); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 24px; padding: 7px 15px; }
.footer-partners a:hover { color: #fff; background: rgba(255,255,255,0.12); text-decoration: none; }
.footer-partners img { height: 32px; width: auto; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 880px) {
  .grid-2, .grid-3, .split, .footer-grid { grid-template-columns: 1fr; }
  section.block { padding: 48px 0; }
  .hero-home { padding: 56px 0 62px; }
  .page-head { padding: 40px 0 34px; }
  .cal-embed iframe { height: 480px; }
  .transit-embed iframe { height: 440px; }
  .map iframe { height: 320px; }
  .nav-links {
    position: absolute; top: 64px; left: 0; right: 0; background: var(--navy);
    flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 16px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; border-radius: 8px; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 560px) {
  .wrap { padding: 0 18px; }
  section.block { padding: 40px 0; }
  .hero-home h1 { font-size: 1.9rem; }
  .hero-home p { font-size: 1rem; }
  .card { padding: 20px; }
  .brand small { display: none; }
  .brand { font-size: 1rem; }
  .next-meeting { flex-direction: column; align-items: flex-start; padding: 22px; }
  .next-meeting .date-chip { align-self: stretch; }
  .cal-embed iframe { height: 420px; }
  .transit-embed iframe { height: 400px; }
  table.data th, table.data td { padding: 10px 11px; font-size: 0.84rem; }
  .btn { padding: 11px 18px; font-size: 0.88rem; }
}
