:root {
  --ink: #17324d;
  --muted: #607286;
  --surface: #ffffff;
  --soft: #f4f7f9;
  --line: #dbe4ea;
  --accent: #3f7f86;
  --accent-dark: #2e6269;
  --warm: #d9a66f;
  --shadow: 0 16px 45px rgba(23, 50, 77, .10);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--surface); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: flex; align-items: center; gap: 8px; }
.brand-mark { width: 52px; height: 30px; display: grid; place-items: center; flex: 0 0 52px; background: transparent; }
.brand-mark img { display: block; width: 52px; height: 30px; object-fit: contain; }
.brand strong { display: block; letter-spacing: .08em; font-size: 1.1rem; }
.brand small { display: block; color: var(--muted); font-size: .7rem; max-width: 245px; line-height: 1.2; }
.main-nav { display: flex; align-items: center; justify-content: flex-end; gap: 4px; flex: 1; margin-left: 20px; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.main-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; padding: 8px 10px; border-radius: 8px; transition: background .18s ease, color .18s ease; }
.main-nav a:hover { background: rgba(83,51,71,.07); }
.main-nav a:hover { color: var(--accent-dark); }
.nav-cta { min-width: 126px; margin-left: 8px; padding: 9px 22px !important; border-radius: 9px !important; background: var(--ink); color: white !important; }
.nav-cta:hover { background: var(--accent-dark) !important; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; }
.hero { padding: 88px 0; background: linear-gradient(135deg, #edf5f5 0%, #f8fafb 62%, #fff 100%); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 64px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .13em; font-weight: 800; font-size: .72rem; color: var(--accent-dark); }
h1, h2, h3 { line-height: 1.15; margin-top: 0; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); max-width: 760px; margin-bottom: 24px; letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.03em; }
.hero-copy { color: var(--muted); font-size: 1.15rem; max-width: 690px; }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 20px; border-radius: 999px; font-weight: 800; border: 1px solid transparent; cursor: pointer; }
.button.primary { background: var(--ink); color: white; }
.button.secondary { background: white; border-color: var(--line); }
.hero-card { background: white; border: 1px solid var(--line); border-radius: 28px; padding: 38px; box-shadow: var(--shadow); }
.hero-card-icon { font-size: 2rem; margin-bottom: 24px; }
.hero-card h2 { font-size: 2rem; }
.hero-card p { color: var(--muted); }
.hero-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-stat-row strong, .hero-stat-row span { display: block; }
.hero-stat-row span { color: var(--muted); font-size: .8rem; }
.pathways, .info-section, .resource-preview { padding: 90px 0; }
.section-heading { margin-bottom: 34px; }
.section-heading p, .section-note { color: var(--muted); max-width: 700px; }
.card-grid.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.path-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.path-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--soft); margin-bottom: 20px; }
.path-card p { color: var(--muted); }
.card-link { font-weight: 800; color: var(--accent-dark); }
.calendar-section { padding: 90px 0; background: var(--soft); }
.section-heading.split { display: flex; justify-content: space-between; gap: 40px; align-items: end; }
.calendar-filters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.filter { border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 13px; cursor: pointer; font-size: .82rem; }
.filter.active { background: var(--ink); color: white; border-color: var(--ink); }
.calendar-layout { display: grid; grid-template-columns: 1.55fr .75fr; gap: 18px; align-items: start; }
.calendar-panel, .event-panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 25px rgba(23,50,77,.05); }
.calendar-panel { padding: 22px; }
.calendar-toolbar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; text-align: center; margin-bottom: 18px; }
.calendar-toolbar h3 { margin: 0; font-size: 1.25rem; }
.icon-button { width: 40px; height: 40px; border: 1px solid var(--line); background: white; border-radius: 50%; cursor: pointer; font-size: 1.5rem; }
.calendar-weekdays, .calendar-grid { display: grid; grid-template-columns: repeat(7,1fr); }
.calendar-weekdays { color: var(--muted); font-size: .75rem; font-weight: 800; text-transform: uppercase; text-align: center; margin-bottom: 6px; }
.calendar-grid { gap: 5px; }
.calendar-day { min-height: 86px; border: 1px solid transparent; background: #fbfcfd; border-radius: 12px; padding: 9px; text-align: left; cursor: pointer; position: relative; }
.calendar-day:hover { border-color: var(--accent); }
.calendar-day.outside { color: #a7b3bd; background: #fafafa; }
.calendar-day.today { box-shadow: inset 0 0 0 2px var(--warm); }
.calendar-day.selected { border-color: var(--ink); background: #eef5f5; }
.day-number { font-weight: 800; }
.event-dot-row { display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.event-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.event-dot.professional { background: var(--ink); }
.event-dot.patient { background: var(--warm); }
.event-dot.community { background: #718b73; }
.event-panel { min-height: 420px; padding: 26px; position: sticky; top: 98px; }
.event-panel-head { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 12px; }
.event-panel-head h3 { margin: 5px 0 0; font-size: 1.55rem; }
.event-card { padding: 18px 0; border-bottom: 1px solid var(--line); }
.event-card:last-child { border-bottom: 0; }
.event-meta { color: var(--accent-dark); font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.event-card h4 { margin: 5px 0; font-size: 1.05rem; }
.event-card p { color: var(--muted); margin: 6px 0 14px; font-size: .9rem; }
.event-detail { display: inline-block; font-weight: 800; font-size: .88rem; color: var(--accent-dark); }
.empty-state { color: var(--muted); padding: 30px 0; }
.info-grid, .feature-grid, .patient-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.info-section { border-bottom: 1px solid var(--line); }
.info-grid p, .feature-copy p, .patient-grid p { color: var(--muted); font-size: 1.05rem; }
.feature-section { padding: 90px 0; background: var(--ink); color: white; }
.feature-section .eyebrow { color: #b7d7d7; }
.feature-list { display: grid; gap: 12px; }
.feature-list div { padding: 22px; border: 1px solid rgba(255,255,255,.18); border-radius: 14px; }
.feature-list strong, .feature-list span { display: block; }
.feature-list span { color: #c5d1dc; margin-top: 4px; }
.patient-section { padding: 90px 0; background: #f7f2ea; }
.patient-section .eyebrow { color: #8b633d; }
.resource-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.resource-pills span { background: white; border: 1px solid #e6d9ca; padding: 11px 15px; border-radius: 999px; }
.resource-search { display: flex; gap: 10px; max-width: 760px; }
.resource-search input { flex: 1; min-height: 50px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; outline: none; }
.site-footer { background: #102638; color: white; padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr .7fr; gap: 50px; }
.footer-grid p { color: #b8c7d3; }
.footer-grid strong { display: block; margin-bottom: 10px; }
.footer-grid a { display: block; color: #d7e1e8; margin: 5px 0; }
.footer-brand { font-size: 1.4rem; font-weight: 900; letter-spacing: .12em; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 40px; padding-top: 18px; color: #9fb0bd; font-size: .8rem; }
.footer-bottom .footer-legal { margin-left: 8px; }
.footer-bottom .footer-legal a { display: inline; color: inherit; margin: 0; text-decoration: none; }
.footer-bottom .footer-legal a:hover { text-decoration: underline; }
@media (max-width: 900px) {
  .main-nav { gap: 10px; font-size: .76rem; }
  .hero-grid, .calendar-layout, .info-grid, .feature-grid, .patient-grid { grid-template-columns: 1fr; }
  .event-panel { position: static; }
  .card-grid.three { grid-template-columns: 1fr; }
  .section-heading.split { align-items: start; flex-direction: column; }
  .calendar-filters { justify-content: flex-start; }
}
@media (max-width: 700px) {
  .container { width: min(100% - 24px, 1160px); }
  .nav-wrap { min-height: 68px; }
  .menu-toggle { display: block; }
  .main-nav { display: none; position: absolute; left: 12px; right: 12px; top: 68px; background: white; border: 1px solid var(--line); border-radius: 14px; padding: 12px; box-shadow: var(--shadow); flex-direction: column; align-items: stretch; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 12px; }
  .nav-cta { text-align: center; margin-left: 0; min-width: 0; }
  .brand small { display: none; }
  .hero { padding: 58px 0; }
  h1 { font-size: 2.55rem; }
  .hero-card { padding: 26px; }
  .hero-stat-row { grid-template-columns: 1fr; gap: 10px; }
  .pathways, .calendar-section, .info-section, .feature-section, .patient-section, .resource-preview { padding: 60px 0; }
  .calendar-panel { padding: 12px; }
  .calendar-day { min-height: 58px; padding: 7px 5px; border-radius: 9px; font-size: .82rem; }
  .calendar-weekdays { font-size: .62rem; }
  .event-dot-row { margin-top: 6px; }
  .calendar-filters { gap: 6px; }
  .filter { font-size: .72rem; padding: 7px 10px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .resource-search { flex-direction: column; }
  .resource-search .button { width: 100%; }
}

/* GOOSWA visual refresh: warm cream + plum palette */
:root {
  --ink: #533347;
  --muted: #6d5866;
  --surface: #f7f4f0;
  --soft: #eee8e7;
  --line: #d9ced3;
  --accent: #533347;
  --accent-dark: #43283a;
  --warm: #b08b72;
  --shadow: 0 16px 45px rgba(83, 51, 71, .10);
}
body { color: var(--ink); background: var(--surface); }
.site-header { background: rgba(247,244,240,.96); border-bottom-color: var(--line); }
.main-nav a:hover, .card-link, .event-meta, .event-detail { color: var(--accent-dark); }
.nav-cta { background: var(--ink); color: #fff; }
.hero { padding: 68px 0 82px; background: linear-gradient(110deg, #f7f4f0 0%, #f2ecea 55%, #e8dfdc 100%); }
.hero-grid { grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: stretch; }
.eyebrow { color: var(--accent-dark); }
h1, h2, h3, h4 { color: var(--ink); }
.hero-copy { color: var(--ink); font-size: 1.04rem; }
.hero-actions { margin-top: 28px; }
.button.primary { background: var(--ink); color: #fff; }
.button.secondary { background: transparent; border-color: var(--ink); color: var(--ink); }
.hero-card { min-height: 100%; padding: 0; display: flex; align-items: flex-start; justify-content: center; background: transparent; border: 0; box-shadow: none; }
.hero-card img { display: block; width: min(100%, 520px); height: auto; max-height: 760px; object-fit: contain; box-shadow: 0 12px 28px rgba(83,51,71,.12); }
.hero-card-icon, .hero-card h2, .hero-card p, .hero-stat-row { display: none; }
.pathways, .info-section, .resource-preview { background: var(--surface); }
.path-card { border-color: var(--line); background: #faf8f6; }
.card-icon { background: var(--soft); }
.calendar-section { background: #eee8e7; }
.calendar-panel, .event-panel { border-color: var(--line); box-shadow: 0 8px 25px rgba(83,51,71,.05); }
.filter { border-color: var(--line); background: #faf8f6; color: var(--ink); }
.filter.active, .calendar-day.selected { background: var(--ink); color: #fff; border-color: var(--ink); }
.calendar-day:hover { border-color: var(--accent); }
.calendar-day.today { box-shadow: inset 0 0 0 2px var(--warm); }
.feature-section { background: #f0e9e7; color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-section .eyebrow { color: var(--accent-dark); }
.feature-list div { border-color: var(--line); background: rgba(255,255,255,.25); }
.feature-list span, .info-grid p, .feature-copy p, .patient-grid p, .hero-card p { color: var(--muted); }
.patient-section { background: #f7f1ed; }
.patient-section .eyebrow { color: var(--accent-dark); }
.site-footer { background: var(--ink); color: #fff; }
.footer-grid p { color: #e1d5dc; }
.footer-grid a { color: #f0e7ec; }
.footer-bottom { color: #d1c0ca; border-top-color: rgba(255,255,255,.18); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card img { width: min(100%, 430px); max-height: none; }
}


/* Board member cards */
.board-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; margin-top:34px; }
.board-card { background:#faf8f6; border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; box-shadow:0 8px 24px rgba(83,51,71,.06); }
.member-photo { aspect-ratio:1/1; background:#eee8e7; display:grid; place-items:center; border-bottom:1px solid var(--line); color:var(--muted); font-size:.78rem; text-transform:uppercase; letter-spacing:.12em; overflow:hidden; }
.member-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.member-info { padding:22px; }
.member-info h3 { margin:0 0 8px; }
.member-info strong { color:var(--accent-dark); display:block; margin-bottom:8px; }
.member-info p { color:var(--muted); margin:0; line-height:1.55; }
.patient-copy h3 { margin-top:0; color:var(--ink); font-size:1.35rem; }
@media (max-width:900px) { .board-grid { grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px) { .board-grid { grid-template-columns:1fr; } }


/* Calendar section */
.calendar-section {
  padding: 5rem 2rem;
}
.calendar-section .section-heading {
  max-width: 760px;
  margin: 0 auto 2rem;
}
.calendar-placeholder {
  max-width: 760px;
  min-height: 180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(74, 44, 61, 0.16);
  padding: 2rem;
  text-align: center;
}


/* Calendar heading alignment */
.calendar-section .calendar-heading {
  max-width: 760px;
  margin: 0 0 2rem;
  text-align: left;
}

/* RSVP modal */
.rsvp-modal { display:none; position:fixed; inset:0; z-index:1000; }
.rsvp-modal.open { display:grid; place-items:center; }
.rsvp-backdrop { position:absolute; inset:0; background:rgba(31,22,29,.52); backdrop-filter:blur(2px); }
.rsvp-dialog { position:relative; z-index:1; width:min(92vw, 520px); max-height:90vh; overflow:auto; background:#fff; border:1px solid var(--line); border-radius:20px; padding:32px; box-shadow:0 24px 70px rgba(30,20,28,.22); }
.rsvp-dialog h3 { margin:7px 0 6px; font-size:1.8rem; }
.rsvp-event-name { margin:0 0 22px; color:var(--muted); font-weight:700; }
.rsvp-close { position:absolute; top:12px; right:14px; border:0; background:transparent; color:var(--muted); font-size:2rem; line-height:1; cursor:pointer; }
.rsvp-form { display:grid; gap:15px; }
.rsvp-form label { display:grid; gap:6px; font-weight:750; }
.rsvp-form input { width:100%; border:1px solid var(--line); border-radius:10px; padding:12px 13px; background:#faf8f6; color:var(--ink); outline:none; }
.rsvp-form input:focus { border-color:var(--accent); box-shadow:0 0 0 3px rgba(83,51,71,.10); }
.rsvp-status { min-height:1.4em; color:var(--muted); font-size:.9rem; }
.rsvp-status.error { color:#9b3c3c; }
.rsvp-status.success { color:#3f7050; }
.rsvp-note { margin:18px 0 0; color:var(--muted); font-size:.78rem; line-height:1.5; }
.event-rsvp-button { margin-top:12px; }
.event-rsvp-button.button { padding:10px 15px; font-size:.88rem; }
