/* Being Human — shared styles */
:root {
  --bg: #FBF6EF;
  --ink: #3B2E28;
  --ink-soft: #5E4D44;
  --ink-muted: #6B5A50;
  --accent: #B5573A;
  --peach: #F2B8A0;
  --line: #EDE2D6;
  --line-strong: #E6D6C8;
  --card: #FFFFFF;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: 'Nunito', system-ui, sans-serif; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
h1, h2 { margin: 0; font-weight: 600; }
p { margin: 0; }

.page { min-height: 100vh; display: flex; flex-direction: column; }

/* Header */
.site-header {
  max-width: 1040px; width: 100%; margin: 0 auto; padding: 28px 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; }
.logo { height: 34px; width: auto; display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 24px; font-size: 16px; font-weight: 600; }
.nav a { text-decoration: none; padding: 10px 4px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--peach); }

/* Main */
main {
  flex-grow: 1; max-width: 760px; width: 100%; margin: 0 auto; padding: 96px 24px 80px;
  display: flex; flex-direction: column; gap: 32px;
}
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 6px; }
.section { border-top: 1px solid var(--line); padding-top: 32px; }

h1 { letter-spacing: -0.01em; font-size: clamp(40px, 5vw, 56px); line-height: 1.05; }
h1.hero { font-size: clamp(44px, 7vw, 72px); line-height: 1.02; }
h2 { font-size: 22px; }

/* Homepage hero: text left, next event right */
main.wide { max-width: 1040px; }
.hero-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 72px; align-items: start; }
.hero-split h1.hero { font-size: clamp(40px, 4.6vw, 58px); }
.next-event { display: flex; flex-direction: column; gap: 16px; }
.next-event .event { align-self: stretch; }
.event-link { margin-top: 6px; font-size: 16px; font-weight: 700; color: var(--accent); text-decoration: none; }
.event-link:hover { text-decoration: underline; }
.hero-split .lede { margin-top: 8px; }
@media (max-width: 800px) { .hero-split { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 600px) { main { padding-top: 32px; } }
.lede { font-size: 19px; line-height: 1.65; color: var(--ink-soft); }
.body { font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.small { font-size: 15px; line-height: 1.55; color: var(--ink-soft); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }
.card { border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.card h2 { font-size: 20px; }
.sage { background: #EAF2E3; }
.lilac { background: #EFEAF7; }
.butter { background: #FCEFD9; }
.peach { background: #FBE6DC; }

/* Profiles (About page) */
.profiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.profile {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px;
  background: rgba(255, 255, 255, 0.5); border: 1px solid var(--line); border-radius: 18px;
}
.profile-photo {
  flex: none; width: 72px; height: 72px; border-radius: 50%; object-fit: cover;
  background: var(--line); color: var(--ink-muted); display: grid; place-items: center;
  font-weight: 700; font-size: 20px;
}
.profile-name { font-size: 18px; font-weight: 700; }
.profile-role { font-size: 14px; font-weight: 700; color: var(--accent); }
.profile-bio { margin-top: 6px; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }

/* Event */
.event {
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 24px;
  display: flex; align-items: center; gap: 22px;
}
.cal {
  flex: none; width: 76px; border-radius: 14px; overflow: hidden; text-align: center;
  background: var(--card); border: 1.5px solid var(--line-strong);
  box-shadow: 0 2px 0 var(--line);
}
.cal-month {
  display: block; background: var(--peach); color: var(--ink); padding: 5px 0;
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.cal-day { display: block; font-size: 32px; font-weight: 700; line-height: 1; padding: 9px 0 11px; }
.event-info { display: flex; flex-direction: column; gap: 4px; }
.event-date { font-size: 20px; font-weight: 700; line-height: 1.3; }
.event-meta { font-size: 17px; color: var(--ink-soft); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { text-decoration: none; font-weight: 600; font-size: 16px; font-family: inherit; padding: 14px 24px; border-radius: 999px; cursor: pointer; display: inline-block; }
.btn-primary { background: var(--ink); color: var(--bg); border: none; }
.btn-primary:hover { background: #2A201B; color: var(--bg); }

/* Form */
.form { display: flex; flex-direction: column; gap: 20px; }
.form label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 16px; }
.field {
  font: inherit; font-weight: 400; font-size: 17px; color: var(--ink); width: 100%;
  background: var(--card); border: 1.5px solid var(--line-strong); border-radius: 14px; padding: 14px 16px;
}
.field:focus { outline: 2px solid var(--peach); outline-offset: 1px; }
textarea.field { min-height: 160px; resize: vertical; line-height: 1.55; }
.form-status { font-size: 16px; color: var(--ink-soft); min-height: 1.5em; }

/* Animated side figures (walkers.js) */
.walker {
  display: none; position: fixed; top: 50%; transform: translateY(-50%);
  width: calc((100vw - 1040px) / 2); height: 300px; pointer-events: none; z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.walker.left { left: 0; }
.walker.right { right: 0; }
.walker svg { display: block; overflow: visible; }
@media (min-width: 1380px) { .walker { display: block; } }
@media (prefers-reduced-motion: reduce) { .walker { display: none !important; } }

/* Footer */
.site-footer {
  max-width: 1040px; width: 100%; margin: 0 auto; padding: 24px; border-top: 1px solid var(--line);
  font-size: 14px; color: var(--ink-muted); display: flex; flex-wrap: wrap; justify-content: center; text-align: center; gap: 12px;
}

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
