:root {
  /* Palette: warm neutrals + deep teal + one terracotta accent for actions (2026 direction).
     Swap these tokens per client; everything else follows. */
  --brand: #1F5C63;        /* deep teal */
  --brand-deep: #16444A;   /* header, date badges */
  --brand-soft: #DCE8E6;   /* soft teal tint */
  --accent: #B4472F;       /* terracotta: buttons and calls to action only */
  --accent-deep: #963822;
  --highlight: #E8C27A;    /* honey gold */
  --highlight-deep: #D9AC55;
  --ink: #2B2622;          /* warm charcoal */
  --muted: #6B625A;
  --line: #E4DED3;
  --paper: #FFFFFF;
  --bg: #F4F1EA;           /* close to Pantone 2026 Cloud Dancer */
  --radius: 14px;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-head: "Fraunces", Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: var(--brand); }
a:hover { color: var(--brand-deep); }
.wrap { width: min(1600px, 100% - 80px); margin-inline: auto; }
@media (max-width: 900px) { .wrap { width: calc(100% - 32px); } }
[hidden] { display: none !important; }
h1, h2, h3, .cal-title { font-family: var(--font-head); letter-spacing: -.01em; }
.month-head { font-family: var(--font-body); }
.muted { color: var(--muted); }

/* demo bar */
.demo-bar { background: var(--highlight); color: var(--ink); font-size: 13px; text-align: center; padding: 7px 16px; }
.demo-bar a { color: var(--ink); font-weight: 700; }

/* header */
.site-head { background: var(--brand-deep); }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--highlight); color: var(--brand-deep); display: grid; place-items: center; font: 800 18px var(--font-head); }
.brand-name { font: 700 20px/1.1 var(--font-head); letter-spacing: -.01em; }
.brand-name small { display: block; font: 600 11px var(--font-body); letter-spacing: .14em; text-transform: uppercase; opacity: .75; margin-top: 3px; }
.head-nav { display: flex; align-items: center; gap: 22px; }
.head-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; white-space: nowrap; }
.head-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--highlight); }
.head-nav a.btn { box-shadow: none; }

/* buttons */
.btn { display: inline-block; padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; text-align: center; border: 2px solid var(--brand); background: var(--brand); color: #fff; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
.btn-accent, .head-nav .btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover, .head-nav .btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--brand); }
.btn-ghost:hover { background: var(--brand); color: #fff; }
.btn-block { display: block; width: 100%; }

/* hero */
.hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(232,194,122,.28), transparent 60%), linear-gradient(135deg, var(--brand-deep), var(--brand)); color: #fff; padding: 48px 0 56px; }
.hero-sm { padding: 36px 0 40px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 700; color: var(--highlight); margin: 0 0 6px; }
.hero h1 { font-size: clamp(30px, 4.8vw, 48px); line-height: 1.1; margin: 0 0 12px; font-weight: 700; }
.lede { font-size: 18px; max-width: 680px; margin: 0; opacity: .92; }

/* tools */
.tools { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin-top: -24px; background: var(--paper); border-radius: var(--radius); padding: 14px 18px; box-shadow: 0 6px 24px rgba(43,38,34,.10); position: relative; }
.views { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; }
.view-btn { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font: 700 14px var(--font-body); color: var(--muted); cursor: pointer; }
.view-btn[aria-selected="true"] { background: var(--brand-deep); color: #fff; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink); padding: 6px 14px; border-radius: 999px; font: 600 14px var(--font-body); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--highlight); border-color: var(--highlight); color: var(--brand-deep); }

/* list */
.view { padding: 28px 0 12px; }
.month-head { font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); margin: 26px 0 12px; }
.month-head:first-child { margin-top: 4px; }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ev-link { display: grid; grid-template-columns: 72px 168px 1fr; gap: 18px; align-items: center; background: var(--paper); border-radius: var(--radius); padding: 14px; text-decoration: none; color: inherit; border: 1px solid var(--line); transition: box-shadow .15s, transform .15s; }
.ev-link:hover { box-shadow: 0 8px 26px rgba(43,38,34,.14); transform: translateY(-1px); color: inherit; }
.ev-date { display: flex; flex-direction: column; align-items: center; line-height: 1.1; background: var(--brand-deep); color: #fff; border-radius: 10px; padding: 10px 0; }
.ev-date .m { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--highlight); font-weight: 700; }
.ev-date .d { font-size: 30px; font-weight: 700; font-family: var(--font-head); }
.ev-date .w { font-size: 12px; opacity: .8; }
.ev-thumb { width: 168px; height: 104px; object-fit: cover; border-radius: 8px; background: var(--bg); }
.ev-thumb-blank { background: linear-gradient(135deg, var(--brand), var(--highlight)); }
.ev-body h3 { margin: 0 0 4px; font-size: 21px; font-weight: 600; line-height: 1.3; color: var(--brand-deep); }
.ev-when { margin: 0; font-weight: 600; font-size: 15px; }
.ev-where { margin: 0; color: var(--muted); font-size: 15px; }
.ev-tags { margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tag { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-deep); }
.tag-repeat { background: #F8E3DA; color: #9A3B26; }
.tag-cost { background: #E6EADD; color: #4B5A3F; }
.ev-list-past .ev-link { opacity: .92; }
.empty { background: var(--paper); border-radius: var(--radius); padding: 24px; border: 1px dashed var(--line); }

/* month grid */
.cal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.cal-title { margin: 0 auto 0 8px; font-size: 24px; color: var(--brand-deep); order: -1; }
.cal-nav, .cal-today { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; height: 40px; min-width: 40px; font: 700 18px var(--font-body); color: var(--brand-deep); cursor: pointer; }
.cal-today { font-size: 14px; padding: 0 16px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); background: var(--line); gap: 1px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cal-dow { background: var(--brand-deep); color: #fff; font-size: 13px; font-weight: 700; text-align: center; padding: 8px 0; }
.cal-day { background: #fff; min-height: 128px; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.cal-day.other { background: #FAF8F4; color: #B3A99E; }
.cal-day.today .cal-num { background: var(--highlight); color: var(--brand-deep); }
.cal-num { font-size: 13px; font-weight: 700; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; }
.cal-ev { display: block; font-size: 12px; line-height: 1.3; font-weight: 600; text-decoration: none; background: var(--brand-soft); color: var(--brand-deep); border-left: 3px solid var(--brand); border-radius: 4px; padding: 3px 6px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cal-ev.is-past { background: #F1EEE8; border-left-color: #C9C0B4; color: var(--muted); }
.cal-ev.cont { background: transparent; border-left-style: dashed; color: var(--muted); font-weight: 400; }
.cal-ev:hover { background: var(--brand-deep); color: #fff; }
.cal-empty { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; background: #F8E3DA; border: 1px solid #EBC3B4; color: #7A2E1C; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 14px; }
.cal-empty p { margin: 0; }
.cal-empty .btn { padding: 8px 16px; font-size: 14px; background: var(--accent); border-color: var(--accent); }
.cal-empty .btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.cal-agenda { display: none; }
.agenda-day { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; margin-bottom: 10px; }
.agenda-day h3 { margin: 0 0 6px; font-size: 15px; color: var(--brand); }
.agenda-day a { display: block; font-weight: 700; color: var(--brand-deep); text-decoration: none; padding: 4px 0; }
.agenda-day small { display: block; font-weight: 400; color: var(--muted); }

/* subscribe + footer */
.subscribe { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; background: var(--paper); border-radius: var(--radius); padding: 24px 28px; margin: 32px auto 48px; border: 1px solid var(--line); }
.subscribe h2 { margin: 0 0 4px; font-size: 22px; color: var(--brand-deep); }
.subscribe p { margin: 0; color: var(--muted); }
.sub-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.site-foot { background: var(--brand-deep); color: #E3ECEA; padding: 22px 0; font-size: 14px; }
.site-foot a { color: var(--highlight); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot-row p { margin: 0; }
.site-foot .muted { color: #A9C2BE; }
.site-foot .staff-link { color: #A9C2BE; text-decoration: underline; }

/* event page */
.event { padding: 24px 0 56px; }
.crumbs { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.passed-note { background: #F8E3DA; border: 1px solid #EBC3B4; color: #7A2E1C; padding: 10px 14px; border-radius: 8px; font-weight: 600; }
.event-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
.event-main h1 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; color: var(--brand-deep); margin: 0 0 8px; }
.event-when { font-size: 18px; font-weight: 700; margin: 0; }
.event-repeat { margin: 4px 0 0; color: #9A3B26; font-weight: 600; }
.event-img { display: block; width: 100%; border-radius: var(--radius); margin: 20px 0; }
.event-desc { background: var(--paper); border-radius: var(--radius); padding: 22px 26px; border: 1px solid var(--line); font-size: 17px; overflow-wrap: anywhere; }
.event-desc > :first-child { margin-top: 0; }
.event-desc > :last-child { margin-bottom: 0; }
.event-side { display: grid; gap: 16px; position: sticky; top: 16px; }
.side-card { background: var(--paper); border-radius: var(--radius); padding: 18px; border: 1px solid var(--line); }
.side-h { font-size: 16px; margin: 0 0 8px; color: var(--brand-deep); }
.facts { margin: 14px 0; }
.facts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-top: 12px; }
.facts dd { margin: 2px 0 0; }
.addcal summary { list-style: none; }
.addcal summary::-webkit-details-marker { display: none; }
.addcal-menu { display: grid; margin-top: 8px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.addcal-menu a { padding: 10px 14px; text-decoration: none; font-weight: 600; border-top: 1px solid var(--line); }
.addcal-menu a:first-child { border-top: 0; }
.addcal-menu a:hover { background: var(--bg); }
.dates { list-style: none; margin: 0; padding: 0; }
.date-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.date-row:first-child { border-top: 0; }
.date-row.is-past { color: #B3A99E; text-decoration: line-through; }
.date-row.is-past .date-add { display: none; }
.date-row:target { background: #F8E3DA; margin: 0 -10px; padding: 10px; border-radius: 8px; }
.date-add { white-space: nowrap; }

/* how it works */
.prose { background: var(--paper); border-radius: var(--radius); padding: 28px 32px; border: 1px solid var(--line); margin: 28px auto 48px; }
.prose h2 { color: var(--brand-deep); margin: 28px 0 8px; }
.prose h2:first-child { margin-top: 0; }
.mock { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 16px 0; max-width: 620px; }
.mock-bar { background: var(--brand-deep); color: #fff; padding: 10px 16px; font-weight: 700; font-size: 14px; display: flex; justify-content: space-between; }
.mock-body { padding: 16px; display: grid; gap: 12px; background: #fbfcfd; }
.mock-field label { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 4px; }
.mock-input { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 8px 10px; font-size: 14px; min-height: 38px; }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 10px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.compare th { background: var(--bg); }

@media (max-width: 860px) {
  .event-grid { grid-template-columns: 1fr; }
  .event-side { position: static; }
  .ev-link { grid-template-columns: 64px 1fr; }
  .ev-thumb { display: none; }
}
@media (max-width: 640px) {
  .head-nav { gap: 14px; }
  .head-nav a:not(.btn) { font-size: 14px; }
  .head-nav .btn { padding: 8px 14px; font-size: 14px; }
  .brand-name { font-size: 17px; }
  .brand-name small { display: none; }
  .hero { padding: 32px 0 44px; }
  .tools { padding: 12px; }
  .cal-grid { display: none; }
  .cal-agenda { display: block; }
  .cal-title { font-size: 20px; }
  .cal-today { display: none; }
  .prose { padding: 20px; }
  .mock-row { grid-template-columns: 1fr; }
  .event-desc { padding: 18px; }
}
@media (max-width: 640px) {
  .head-nav a[href$="/how-it-works/"] { display: none; }
}
@media (max-width: 400px) {
  .head-nav a[href$="/past/"] { display: none; }
}
