/* ===== MyMenoMap — design system (matched to live site) ===== */
:root {
  --green: #d9ebc4;
  --teal: #36636b;
  --cream: #fcfcf8;
  --cream2: #f5f4ed;
  --dark: #2e2e2e;
  --maxw: 1280px;
  --radius-pill: 300px;
  --font: "Cabin", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.6;
  color: var(--dark);
  background: var(--green);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--font); font-weight: 400; line-height: 1.12; margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--dark); color: var(--green); padding: 14px 20px; border-radius: var(--radius-pill); z-index: 1000; }
.skip-link:focus { left: 12px; top: 12px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  padding: 16px 30px;
  line-height: 1.1;
  border-radius: var(--radius-pill);
  background: var(--dark);
  color: var(--cream);
  transition: opacity .2s ease, transform .1s ease;
}
.btn:hover { opacity: .88; }
.btn:active { transform: translateY(1px); }

/* ===== Header (solid teal, cream text) ===== */
.site-header { background: var(--teal); color: var(--cream); }
.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { font-size: 1.7rem; font-weight: 600; color: var(--cream); text-decoration: none; white-space: nowrap; }
.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a:not(.btn) { color: var(--cream); text-decoration: none; font-size: 1.05rem; padding-bottom: 2px; }
.nav-desktop a:not(.btn):hover { opacity: .8; }
.nav-desktop a.active:not(.btn) { border-bottom: 2px solid var(--cream); }

.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; background: transparent; border: none; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; width: 26px; background: var(--cream); transition: transform .25s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { display: none; flex-direction: column; padding: 4px 28px 20px; background: var(--teal); }
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--cream); text-decoration: none; padding: 14px 2px; border-bottom: 1px solid rgba(252,252,248,.18); }
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a.active { font-weight: 700; }

/* ===== Sections & color blocks ===== */
.section { padding: 84px 28px; }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.bg-green { background: var(--green); color: var(--dark); }
.bg-teal { background: var(--teal); color: var(--cream); }
.bg-cream { background: var(--cream); color: var(--dark); }
.bg-cream2 { background: var(--cream2); color: var(--dark); }

.section h1 { font-size: clamp(2.6rem, 5vw, 4rem); }
.section h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: .5em; }
.section h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.lead { font-size: 1.15rem; }

.btn-row { margin-top: 30px; }

/* ===== Hero (image + overlay) ===== */
.hero {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-color: var(--teal);
  color: var(--cream);
  padding: 90px 28px;
}
.hero::before { content: ""; position: absolute; inset: 0; }
.hero--teal::before { background: rgba(54, 99, 107, .35); }
.hero--dark::before { background: rgba(46, 46, 46, .4); }
.hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero h1 { color: var(--cream); font-size: clamp(2.6rem, 6vw, 5rem); max-width: 16ch; margin-bottom: .35em; }
.hero p { color: var(--cream); font-size: clamp(1.2rem, 2.3vw, 1.7rem); max-width: 30ch; margin: 0; }
.hero .btn-row { margin-top: 34px; }

/* ===== Two-column ===== */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two-col.center-v { align-items: center; }
.two-col img { width: 100%; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }

/* lead-in list (Mirror:, Squats: ... and Why Join bullets) */
.lead-list { margin: 0; }
.lead-list p { margin: 0 0 1.1em; }
.lead-list .lead-label { font-weight: 700; }

.bullets { margin: 0; padding-left: 1.2em; }
.bullets li { margin-bottom: 1.1em; }
.bullets .lead-label { font-weight: 700; }

/* ===== Testimonials ===== */
.testimonials { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 44px; }
.testimonial { background: var(--cream2); padding: 32px; }
.testimonial .who { font-size: clamp(1.5rem, 2vw, 1.9rem); margin-bottom: .5em; color: var(--dark); }
.testimonial p { margin: 0; }

/* ===== Dinners ===== */
.dinners { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 44px; }
.dinner { background: var(--cream2); padding: 32px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.dinner .date { font-size: 1.6rem; margin-bottom: .5em; }
.dinner .place { margin-bottom: .3em; }
.dinner .time { margin-bottom: .9em; }
.dinner .topic { margin: 0 0 1em; }
.dinner .note { font-size: 1rem; margin: 0 0 1em; }
.dinner .note:last-of-type { margin-bottom: 1.4em; }
.dinner .btn { margin-top: auto; align-self: center; font-size: .95rem; padding: 13px 26px; }
.dinner .badge { margin-top: auto; align-self: center; background: var(--dark); color: var(--cream); border-radius: var(--radius-pill); padding: 12px 28px; font-weight: 600; }

/* ===== Past events ===== */
.events-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 56px 48px; }
.event-card { display: flex; flex-direction: column; gap: 16px; text-decoration: none; color: var(--dark); }
.event-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.event-card .event-title { font-size: 1.5rem; line-height: 1.25; }
.event-card:hover .event-title { text-decoration: underline; }
@media (max-width: 720px) { .events-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ===== Speakers ===== */
.speakers-intro { max-width: 820px; }
.speakers-grid { display: grid; gap: 56px; grid-template-columns: 1fr; margin-top: 48px; }
.speaker { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.speaker img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.speaker h3 { margin: 0 0 .1em; font-size: clamp(1.6rem, 2.2vw, 2rem); }
.speaker .specialty { text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; font-weight: 700; margin-bottom: 1.2em; }
.speaker .link { font-weight: 600; word-break: break-word; }
.speaker .link a { text-decoration: underline; }
@media (max-width: 640px) { .speaker { grid-template-columns: 1fr; } .speaker img { max-width: 280px; } }

/* ===== Past-event detail pages ===== */
.detail-back { margin-bottom: 1.6em; }
.detail-back a { font-weight: 600; text-decoration: underline; }
.detail h1 { font-size: clamp(2.2rem, 4vw, 3rem); }
.detail-h { font-weight: 400; font-size: clamp(1.4rem, 2.2vw, 1.7rem); margin-top: 1.6em; }
.detail-q { margin: 1.4em 0; padding: 0 0 0 1.1em; border-left: 3px solid var(--teal); font-style: italic; }
.detail-gallery { display: grid; gap: 28px; margin-top: 48px; }
.detail-gallery img { width: 100%; }

/* ===== Our Story photo (circular) ===== */
.story-photo { width: 340px; height: 340px; max-width: 100%; border-radius: 50%; object-fit: cover; margin-top: 1.6em; }

/* ===== Forms ===== */
.form-wrap { max-width: 760px; margin: 0 auto; }
.form-grid { display: grid; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-weight: 600; }
.field .req { color: rgba(46,46,46,.55); font-weight: 400; font-size: .92em; }
.field .hint { font-size: .92rem; opacity: .8; font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 13px 14px;
  border: 1px solid var(--dark);
  border-radius: 0;
  background: #fff;
  color: var(--dark);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--teal); outline-offset: 1px; }
.fieldset { border: none; padding: 0; margin: 0; }
.fieldset > legend { font-weight: 600; margin-bottom: 6px; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px 20px; margin-top: 6px; }
.check { display: flex; align-items: flex-start; gap: 9px; font-weight: 400; }
.check input { width: 18px; height: 18px; margin-top: 4px; border-radius: 0; }
.form-status { margin-top: 18px; padding: 16px 18px; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e3f1d6; color: #2c5a1e; }
.form-status.err { background: #fbe2e2; color: #8a2020; }

/* join two-column (form left, image right) */
.join-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; }
.join-layout .join-photo { position: sticky; top: 24px; }
@media (max-width: 900px) { .join-layout { grid-template-columns: 1fr; } .join-layout .join-photo { position: static; order: -1; } }

/* ===== Footer (cream2, dark text) — links left, brand right ===== */
.site-footer { background: var(--cream2); color: var(--dark); padding: 72px 28px; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
.footer-nav { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.footer-nav a { color: var(--dark); text-decoration: underline; font-weight: 600; font-size: 1.35rem; }
.footer-nav a:hover { opacity: .75; }
.footer-brand { text-align: right; margin-left: auto; }
.footer-company { margin: 0 0 6px; font-weight: 700; font-size: clamp(1.8rem, 3.6vw, 3rem); }
.footer-copy { margin: 0; opacity: .7; font-size: .95rem; }
@media (max-width: 640px) { .footer-brand { text-align: left; margin-left: 0; } }

/* ===== Responsive nav switch ===== */
@media (max-width: 1024px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
}
