/* Mommy & Me — public site.
   Brand: red #E8313F, blue #254C9D, pink #FFDCF8 (sampled from the logo). */

:root {
  --red: #e8313f;
  --red-dark: #c01f2c;
  --blue: #254c9d;
  --blue-deep: #1a3670;
  --pink: #ffdcf8;
  --pink-deep: #f9b1ca;
  --cream: #f5efea;
  --ink: #2c2c36;
  --muted: #7b7b89;
  --line: #e8e5e1;
  --bg: #f8f6f5;
  --surface: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 2px 14px rgba(37, 76, 157, 0.07);
  --wrap: 1180px;
  --tick: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --pink: #3a2438;
    --pink-deep: #5a3654;
    --cream: #262631;
    --ink: #ececf2;
    --muted: #9b9bac;
    --line: #2e2e3d;
    --bg: #14141c;
    --surface: #1e1e29;
    --blue: #a9c2f0;
    --blue-deep: #cbd9f6;
    --red: #ff5a66;
    --shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

/* --- Header --------------------------------------------------------------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  height: 74px;
}

.nav .logo img { height: 40px; width: auto; }

.nav ul {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
  align-items: center;
}

.nav a.link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--blue);
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}
.nav a.link:hover,
.nav a.link[aria-current='page'] {
  border-bottom-color: var(--red);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--cream);
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  color: var(--blue);
  font-size: 18px;
}

@media (max-width: 900px) {
  .nav ul {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    padding: 8px 22px 18px;
  }
  .nav ul.open { display: flex; }
  .nav ul li { padding: 6px 0; }
  .nav-toggle { display: block; }
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 13px 22px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-ghost {
  background: transparent;
  color: var(--blue);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--cream); }
.btn-sm { padding: 9px 15px; font-size: 13.5px; border-radius: 11px; }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(900px 420px at 88% -8%,
      color-mix(in srgb, var(--pink) 70%, transparent), transparent 62%),
    var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 62px 0 66px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 900px) {
  .hero { padding: 40px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--pink);
  color: var(--red-dark);
  font-size: 12.5px;
  font-weight: 800;
  padding: 7px 13px;
  border-radius: 999px;
  margin-bottom: 18px;
}

h1.display {
  font-size: clamp(34px, 5.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -1.2px;
  font-weight: 900;
  color: var(--blue);
  margin: 0 0 16px;
}
h1.display em { color: var(--red); font-style: normal; }

.lede {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 54ch;
  margin: 0 0 26px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 34px;
  flex-wrap: wrap;
}
.hero-stats b {
  display: block;
  font-size: 26px;
  color: var(--blue);
  line-height: 1.1;
}
.hero-stats span { font-size: 13px; color: var(--muted); }

.hero-art {
  aspect-ratio: 1 / 1;
  border-radius: 34px;
  background: linear-gradient(140deg, var(--pink), var(--surface));
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  padding: 12%;
}
.hero-art img { width: 100%; height: auto; }

/* --- Sections ------------------------------------------------------------- */

section.block { padding: 62px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.6px;
  font-weight: 900;
  color: var(--blue);
  margin: 0;
}
.section-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.section-head .spacer { margin-left: auto; }

/* --- Cards ---------------------------------------------------------------- */

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(272px, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .14s ease, box-shadow .14s ease;
}
a.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(37, 76, 157, 0.13);
}

.cover {
  height: 168px;
  position: relative;
  display: grid;
  place-items: center;
  color: #fff;
}
.cover .glyph { font-size: 46px; opacity: .95; }
.cover .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  color: var(--red);
  font-size: 11.5px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
}

.card-body { padding: 17px 18px 19px; display: flex; flex-direction: column;
  flex: 1; }
.card-body h3 {
  margin: 0 0 5px;
  font-size: 17px;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.25;
}
.card-body p { margin: 0; color: var(--muted); font-size: 14px; }

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.chip {
  background: var(--cream);
  color: var(--blue);
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
}
.chip.price { background: var(--pink); color: var(--red-dark); }
.chip.sold { background: var(--line); color: var(--muted); }

.card-foot {
  margin-top: auto;
  padding-top: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-lg { font-size: 18px; font-weight: 900; color: var(--red); }
.price-unit { font-size: 12.5px; color: var(--muted); }

/* --- Feature tiles -------------------------------------------------------- */

.tiles {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.tile {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.tile .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--pink);
  color: var(--red);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 14px;
}
.tile h3 { margin: 0 0 6px; font-size: 16.5px; color: var(--blue);
  font-weight: 800; }
.tile p { margin: 0; color: var(--muted); font-size: 14px; }

/* --- Association banner --------------------------------------------------- */

.banner {
  background: linear-gradient(135deg, var(--blue), var(--blue-deep));
  border-radius: 28px;
  padding: 42px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 30px;
  align-items: center;
}
@media (max-width: 820px) {
  .banner { grid-template-columns: 1fr; padding: 30px; }
}
.banner h2 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px);
  font-weight: 900; line-height: 1.15; }
.banner p { margin: 0 0 20px; color: #cbd6ef; }
.banner .pills { display: flex; gap: 9px; flex-wrap: wrap; }
.banner .pills span {
  background: rgba(255, 255, 255, .16);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

/* --- Detail page ---------------------------------------------------------- */

.detail-grid {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: 36px;
  align-items: start;
}
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }

.detail-cover {
  height: 300px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 26px;
}
.detail-cover .glyph { font-size: 84px; }

.booking-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow);
}

.facts { list-style: none; margin: 18px 0 0; padding: 0; }
.facts li {
  display: flex;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}
.facts li:last-child { border-bottom: 0; }
.facts b { color: var(--blue); min-width: 92px; }

.checks { list-style: none; margin: 12px 0 0; padding: 0; }
.checks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--ink);
}
.checks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: var(--pink);
}
/* The tick itself is an SVG mask, so it stays sharp and inherits the brand
   colour rather than depending on a font glyph. */
.checks li::after {
  content: '';
  position: absolute;
  left: 4px;
  top: 7px;
  width: 11px;
  height: 11px;
  background: var(--red);
  -webkit-mask: var(--tick) center / contain no-repeat;
  mask: var(--tick) center / contain no-repeat;
}

.seatbar {
  height: 8px;
  border-radius: 6px;
  background: var(--cream);
  overflow: hidden;
  margin: 10px 0 6px;
}
.seatbar > i { display: block; height: 100%; background: var(--red); }

/* --- Forms ---------------------------------------------------------------- */

.field { margin-bottom: 14px; }
.field label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 6px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 0;
  border-color: var(--red);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 18%, transparent);
}
.field textarea { min-height: 120px; resize: vertical; }

.notice {
  padding: 13px 15px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 16px;
}
.notice.ok { background: #e7f7f0; color: #12805c; }
.notice.err { background: var(--pink); color: var(--red-dark); }

/* --- Gallery -------------------------------------------------------------- */

.gallery {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.gallery .shot {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  display: grid;
  place-items: end start;
  padding: 16px;
  color: #fff;
  font-weight: 800;
  font-size: 14.5px;
}

/* --- Footer --------------------------------------------------------------- */

footer.site {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 46px 0 30px;
  margin-top: 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
footer.site h4 {
  margin: 0 0 12px;
  font-size: 13px;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--muted);
}
footer.site ul { list-style: none; margin: 0; padding: 0; }
footer.site li { margin-bottom: 9px; font-size: 14.5px; }
footer.site a:hover { color: var(--red); }
footer.site img { height: 44px; width: auto; margin-bottom: 12px; }
.copyright {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}

/* Inline SVG icons — set by the `icon()` helper, sized by their container. */
.ico-svg { display: block; flex: none; }
.tile .ico .ico-svg { width: 22px; height: 22px; }
.eyebrow .ico-svg { width: 15px; height: 15px; }
.chip .ico-svg { width: 13px; height: 13px; display: inline-block;
  vertical-align: -2px; margin-right: 3px; }
.cover .glyph .ico-svg,
.detail-cover .glyph .ico-svg { stroke-width: 1.4; opacity: .95; }
.nav-toggle .ico-svg { width: 22px; height: 22px; }

/* --- Member area ---------------------------------------------------------- */

.member-table { width: 100%; border-collapse: collapse; background: var(--surface);
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.member-table th, .member-table td { text-align: left; padding: 12px 14px;
  font-size: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.member-table th { background: var(--cream); color: var(--blue); font-size: 12px;
  text-transform: uppercase; letter-spacing: .5px; }
.member-table tr:last-child td { border-bottom: 0; }
.table-wrap { overflow-x: auto; }
