/* =========================================================
   まなびしんまち / Manabi Shinmachi
   Design language carried from the Canva 事業計画書:
   soft watercolor pastels, deep teal headings, cream/peach
   frame, pink + sky-blue + soft-yellow accents, rounded type.
   ========================================================= */

:root {
  /* Core palette (sampled from the deck) */
  --teal:        #146b7e;
  --teal-dark:   #0e4f5e;
  --teal-soft:   #4a97a6;
  --peach:       #fbe3b6;
  --peach-line:  #f4c982;
  --pink:        #f4a9c7;
  --pink-strong: #e75c86;
  --sky:         #b6dfe8;
  --sky-deep:    #8fcbd8;
  --yellow:      #fce7ad;
  --orange:      #f18a5d;

  --ink:         #35474f;   /* body text */
  --ink-soft:    #5c6b72;
  --cream:       #fffaf1;   /* page background */
  --white:       #ffffff;
  --card:        #ffffff;

  --maxw: 1080px;
  --radius: 22px;
  --radius-lg: 34px;
  --shadow: 0 14px 40px -18px rgba(20, 107, 126, 0.35);
  --shadow-soft: 0 8px 24px -14px rgba(20, 107, 126, 0.28);

  --font-jp: "Zen Maru Gothic", "M PLUS Rounded 1c",
             "Hiragino Maru Gothic ProN", "Hiragino Sans",
             "Yu Gothic", "Meiryo", sans-serif;
  --font-en: "Quicksand", "Zen Maru Gothic", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body[data-lang="en"] { font-family: var(--font-en); line-height: 1.7; }

/* ---- language visibility toggle ---- */
.nb { white-space: nowrap; }
.en { display: none; }
body[data-lang="en"] .jp { display: none; }
body[data-lang="en"] .en { display: revert; }

img { max-width: 100%; display: block; }
a { color: var(--teal); }

.wrap { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

h1, h2, h3 { color: var(--teal-dark); line-height: 1.4; font-weight: 700; }

.section { padding: 84px 0; position: relative; }
.section:nth-of-type(even) { background: linear-gradient(180deg, #fffdf8, #fff6ea); }

.eyebrow {
  display: inline-block;
  color: var(--pink-strong);
  font-weight: 700;
  letter-spacing: .12em;
  font-size: .82rem;
  margin: 0 0 10px;
}
.section-title { font-size: clamp(1.6rem, 4vw, 2.3rem); margin: 0 0 14px; }
.section-lead  { color: var(--ink-soft); max-width: 60ch; margin: 0 0 40px; }

/* =======================  HEADER  ======================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 250, 241, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(244, 201, 130, 0.5);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 18px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .mark { width: 30px; height: auto; flex: 0 0 auto; }
.brand b { color: var(--teal-dark); font-size: 1.12rem; letter-spacing: .02em; }
.brand small { display: block; color: var(--teal-soft); font-size: .62rem; letter-spacing: .18em; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink);
  padding: 8px 12px; border-radius: 999px; font-size: .92rem; font-weight: 500;
}
.nav a:hover { background: var(--sky); color: var(--teal-dark); }

.lang-toggle {
  border: 1.5px solid var(--peach-line); background: var(--white);
  border-radius: 999px; padding: 6px 12px; cursor: pointer;
  font-weight: 700; color: var(--teal-dark); font-family: var(--font-en);
  font-size: .82rem;
}
.lang-toggle:hover { background: var(--yellow); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; font-weight: 700;
  font-family: inherit; font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--pink-strong); color: #fff; box-shadow: var(--shadow-soft); }
.btn-primary:hover { box-shadow: 0 12px 26px -12px rgba(231,92,134,.7); }
.btn-ghost { background: var(--white); color: var(--teal-dark); border: 1.5px solid var(--peach-line); }
.btn-line  { background: #06c755; color: #fff; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

.nav-toggle { display: none; }

/* =======================  HERO  ======================= */
.hero {
  position: relative; overflow: hidden;
  padding: 70px 0 90px;
  background:
    radial-gradient(60% 55% at 82% 12%, rgba(182,223,232,.55), transparent 60%),
    radial-gradient(45% 40% at 8% 88%, rgba(244,169,199,.45), transparent 60%),
    var(--cream);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero .badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow); color: var(--teal-dark);
  padding: 7px 16px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  box-shadow: var(--shadow-soft);
}
.hero h1 { font-size: clamp(2rem, 5.2vw, 3.2rem); margin: 20px 0 8px; letter-spacing: .01em; }
.hero .sub { font-size: 1.12rem; color: var(--teal); font-weight: 700; margin: 0 0 18px; }
.hero p.lede { color: var(--ink-soft); font-size: 1.02rem; margin: 0 0 28px; max-width: 44ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-note { margin-top: 16px; font-size: .85rem; color: var(--ink-soft); }

.hero-art {
  position: relative; aspect-ratio: 1 / 1;
  border-radius: 30% 70% 62% 38% / 42% 40% 60% 58%;
  background: linear-gradient(150deg, var(--sky) 0%, #cfeaf0 45%, var(--peach) 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 5px solid #fff;
}
.hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }

/* watercolor confetti blobs */
.blob { position: absolute; border-radius: 46% 54% 60% 40% / 55% 45% 55% 45%; filter: blur(.3px); opacity: .9; z-index: 0; }
.blob.pink { background: var(--pink); }
.blob.sky  { background: var(--sky); }
.blob.yellow { background: var(--yellow); }
.blob.peach { background: var(--peach); }

/* =======================  ABOUT  ======================= */
.about-quote {
  font-size: clamp(1.3rem, 3.4vw, 1.9rem); color: var(--teal-dark);
  font-weight: 700; line-height: 1.6; margin: 0 auto 34px; max-width: 24ch; text-align: center;
}
.about-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.about-cols p { margin: 0; color: var(--ink-soft); }
.about-cols .t { color: var(--teal); font-weight: 700; display: block; margin-bottom: 6px; }
.about-feature { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: center; }
.about-photo { margin: 0; }
.about-photo img {
  width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center 28%;
  border-radius: var(--radius-lg); box-shadow: var(--shadow); border: 6px solid #fff;
}
.about-photo figcaption { text-align: center; color: var(--ink-soft); font-size: .82rem; margin-top: 12px; }
.about-points p { margin: 0 0 20px; color: var(--ink-soft); }
.about-points p:last-child { margin-bottom: 0; }
.about-points .t { color: var(--teal); font-weight: 700; display: block; margin-bottom: 4px; }
@media (max-width: 860px) {
  .about-feature { grid-template-columns: 1fr; gap: 26px; }
  .about-photo { max-width: 360px; margin-inline: auto; }
}

/* =======================  STATS  ======================= */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat {
  background: var(--card); border-radius: var(--radius); padding: 28px 24px;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(244,201,130,.4);
}
.stat .num { font-family: var(--font-en); font-size: 2.4rem; font-weight: 700; color: var(--pink-strong); line-height: 1; }
.stat .lab { font-weight: 700; color: var(--teal-dark); margin: 8px 0 4px; }
.stat .src { font-size: .74rem; color: var(--ink-soft); }
.stats-note { margin-top: 20px; font-size: .8rem; color: var(--ink-soft); }

/* =======================  FACTS GRID  ======================= */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 16px; }
.fact {
  background: var(--card); border-radius: var(--radius); padding: 22px;
  box-shadow: var(--shadow-soft); text-align: center; border: 1px solid rgba(182,223,232,.6);
}
.fact .ico { font-size: 1.8rem; }
.fact .k { display: block; color: var(--teal-soft); font-size: .82rem; font-weight: 700; margin: 8px 0 2px; }
.fact .v { color: var(--teal-dark); font-weight: 700; font-size: 1.12rem; }
.fact .v small { display:block; font-size:.72rem; color:var(--ink-soft); font-weight:500; }

/* =======================  TIMELINE  ======================= */
.timeline { max-width: 640px; margin-inline: auto; position: relative; padding-left: 10px; }
.tl-item { display: grid; grid-template-columns: 92px 1fr; gap: 18px; align-items: start; padding: 14px 0; }
.tl-time { font-family: var(--font-en); font-weight: 700; color: var(--pink-strong); text-align: right; }
.tl-body { position: relative; padding-left: 24px; border-left: 3px solid var(--peach-line); padding-bottom: 6px; }
.tl-body::before { content:""; position:absolute; left:-9px; top:6px; width:15px; height:15px; border-radius:50%; background:var(--sky-deep); border:3px solid #fff; }
.tl-body b { color: var(--teal-dark); }
.tl-item:last-child .tl-body { border-color: transparent; }
.schedule-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 44px; align-items: center; }
.sched-photo {
  margin: 0; width: 100%; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow); border: 6px solid #fff;
}
.sched-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 25%; }
@media (max-width: 860px) {
  .schedule-layout { grid-template-columns: 1fr; gap: 28px; }
  .sched-photo { max-width: 340px; margin-inline: auto; }
}

/* Temporary flag: images that still need a face blurred/censored before launch */
.flag-censor {
  position: relative; border: 8px solid #f2c200; border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.flag-censor img { display: block; }
.flag-censor .flag-label {
  position: absolute; top: 0; left: 0; z-index: 2;
  background: #f2c200; color: #5a4600; font-weight: 700; font-size: .72rem;
  padding: 5px 12px; border-bottom-right-radius: 12px; letter-spacing: .02em;
}

/* =======================  PROGRAMS  ======================= */
.prog { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.pcard {
  background: var(--card); border-radius: var(--radius); padding: 26px 22px;
  box-shadow: var(--shadow-soft); border-top: 5px solid var(--sky-deep);
}
.pcard:nth-child(3n+1){ border-top-color: var(--pink); }
.pcard:nth-child(3n+2){ border-top-color: var(--peach-line); }
.pcard .ico { font-size: 2rem; }
.pcard h3 { margin: 10px 0 6px; font-size: 1.15rem; }
.pcard p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* =======================  PRICING  ======================= */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; align-items: stretch; }
.pricecard {
  background: var(--card); border-radius: var(--radius-lg); padding: 30px 26px;
  box-shadow: var(--shadow-soft); border: 2px solid rgba(244,201,130,.5);
  display: flex; flex-direction: column; position: relative;
}
.pricecard.feature { border-color: var(--pink-strong); box-shadow: var(--shadow); }
.pricecard .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--pink-strong); color: #fff; font-size: .74rem; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.pricecard .plan { color: var(--teal-soft); font-weight: 700; font-size: .92rem; }
.pricecard .amt { font-family: var(--font-en); font-size: 2.2rem; font-weight: 700; color: var(--teal-dark); margin: 6px 0 2px; }
.pricecard .amt span { font-size: 1rem; }
.pricecard .per { color: var(--pink-strong); font-weight: 700; font-size: .9rem; }
.pricecard ul { list-style: none; padding: 0; margin: 16px 0 0; color: var(--ink-soft); font-size: .9rem; }
.pricecard ul li { padding: 5px 0 5px 22px; position: relative; }
.pricecard ul li::before { content:"✿"; position:absolute; left:0; color:var(--pink); }
.price-note { margin-top: 22px; font-size: .82rem; color: var(--ink-soft); }
.offer-callout {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(120deg, #fff2f6, #fff8ec);
  border: 2px solid var(--pink); border-radius: var(--radius);
  padding: 18px 22px; margin: 0 0 28px; box-shadow: var(--shadow-soft);
}
.offer-callout .offer-ico { font-size: 2rem; flex: 0 0 auto; }
.offer-callout b { color: var(--pink-strong); font-size: 1.15rem; display: block; }
.offer-callout .offer-sub { color: var(--ink-soft); font-size: .9rem; }
.offer-note {
  margin-top: 18px; background: #f0f8fb; border: 1.5px solid var(--sky-deep);
  border-radius: var(--radius); padding: 14px 18px; color: var(--ink-soft); font-size: .92rem; line-height: 1.7;
}
.offer-note b { color: var(--teal-dark); }
.offer-note p { margin: 0 0 8px; }
.offer-note p:last-child { margin-bottom: 0; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge-free { background: var(--pink-strong); color: #fff; }

/* =======================  FAQ  ======================= */
.faq { max-width: 760px; margin-inline: auto; }
.faq details {
  background: var(--card); border-radius: var(--radius); margin-bottom: 12px;
  box-shadow: var(--shadow-soft); border: 1px solid rgba(182,223,232,.6); overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 18px 22px; font-weight: 700; color: var(--teal-dark);
  list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; color: var(--pink-strong); font-weight: 700; }
.faq details[open] summary::after { content: "－"; }
.faq .a { padding: 0 22px 18px; color: var(--ink-soft); }

/* =======================  RESERVE / CONTACT  ======================= */
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 34px; align-items: start; }
.form { background: var(--card); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-soft); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; color: var(--teal-dark); margin-bottom: 6px; font-size: .9rem; }
.field .req { color: var(--pink-strong); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 14px; border: 1.5px solid #e4d9c4;
  font-family: inherit; font-size: 1rem; background: #fffdf9; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky-deep); box-shadow: 0 0 0 3px rgba(143,203,216,.35); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.days { display: flex; gap: 10px; flex-wrap: wrap; }
.days label { display: inline-flex; align-items: center; gap: 6px; font-weight: 500; background:#fff8ec; padding: 8px 14px; border-radius: 999px; border:1.5px solid #eeddc0; cursor:pointer; }
.ctype { display: flex; flex-wrap: wrap; gap: 10px; }
.ctype label { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); background: #fff8ec; padding: 11px 15px; border-radius: 14px; border: 1.5px solid #eeddc0; cursor: pointer; flex: 1 1 210px; }
.ctype label:has(input:checked) { border-color: var(--pink-strong); background: #fff2f6; color: var(--teal-dark); }
.ctype input[type="radio"] { flex: 0 0 auto; width: 18px; height: 18px; min-width: 18px; margin: 0; padding: 0; accent-color: var(--pink-strong); }
.ctype label .jp, .ctype label .en { flex: 1; }
.form-note { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status {
  margin-top: 14px; padding: 14px 16px; border-radius: 14px; font-weight: 700;
  font-size: .95rem; line-height: 1.6;
}
.form-status.sending { background: var(--sky); color: var(--teal-dark); }
.form-status.success { background: #e5f6ec; color: #1f7a4d; border: 1.5px solid #9bd8b4; }
.form-status.error   { background: #fdeceb; color: #c0392b; border: 1.5px solid #f3b4ad; }

.contact-cards .cc {
  display: flex; align-items: center; gap: 14px;
  background: var(--card); border-radius: var(--radius); padding: 18px 20px; margin-bottom: 14px;
  box-shadow: var(--shadow-soft); text-decoration: none; color: var(--ink); border: 1px solid rgba(244,201,130,.4);
}
.contact-cards .cc:hover { background: #fff8ec; }
.contact-cards .cc .ico { font-size: 1.5rem; width: 40px; height:40px; display:grid; place-items:center; border-radius: 12px; background: var(--sky); }
.contact-cards .cc.line .ico { background: #06c755; }
.contact-cards .cc b { color: var(--teal-dark); display:block; }
.contact-cards .cc span { font-size: .82rem; color: var(--ink-soft); }
.pending { color: var(--pink-strong); font-weight:700; font-size:.8rem; }

/* =======================  TEACHER / INSTRUCTOR  ======================= */
.teacher { display: grid; grid-template-columns: .82fr 1.18fr; gap: 44px; align-items: start; }
.teacher-photo {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 6px solid #fff; aspect-ratio: 4 / 5;
}
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 28%; }
.teacher .name { font-size: 1.7rem; margin: 0 0 2px; }
.teacher .role { color: var(--pink-strong); font-weight: 700; margin: 0 0 18px; }
.teacher p { color: var(--ink-soft); margin: 0; }
.teacher .story p { margin: 0 0 14px; }
.teacher .pull {
  border-left: 4px solid var(--pink); padding: 8px 0 8px 20px; margin: 4px 0 18px;
  color: var(--teal-dark); font-weight: 700; font-size: 1.18rem; line-height: 1.75;
}
.teacher .tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.teacher .tags span { background: var(--sky); color: var(--teal-dark); font-weight: 700; font-size: .84rem; padding: 7px 15px; border-radius: 999px; }
@media (max-width: 860px) {
  .teacher { grid-template-columns: 1fr; gap: 24px; }
  .teacher-photo { max-width: 300px; margin-inline: auto; }
}

/* =======================  ACCESS / MAP  ======================= */
.access-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.access-card {
  display: flex; gap: 14px; background: var(--card); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-soft); border: 1px solid rgba(244,201,130,.4);
  margin-bottom: 14px;
}
.access-card .ico { font-size: 1.6rem; }
.access-card .k { color: var(--teal-soft); font-weight: 700; font-size: .82rem; }
.access-card .addr { font-size: 1.15rem; color: var(--teal-dark); font-weight: 700; margin: 4px 0 0; }
.access-card p { margin: 4px 0 0; color: var(--ink-soft); }
.access-card p b { color: var(--teal-dark); }
.map-embed {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow);
  border: 3px solid #fff; min-height: 360px;
}
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* =======================  AVAILABILITY CALENDAR  ======================= */
.cal-card {
  background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  border: 1px solid rgba(244,201,130,.4); padding: 26px; margin-bottom: 16px;
}
.cal-note { text-align: center; font-size: .82rem; color: var(--ink-soft); margin: 0; }
.cal-loading, .cal-fallback { text-align: center; padding: 40px 16px; color: var(--ink-soft); }
.cal-fallback p { margin: 0 0 16px; font-weight: 700; color: var(--teal-dark); }

.cal-head { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 12px; }
.cal-nav {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%; cursor: pointer;
  border: 1.5px solid var(--sky-deep); background: #fff; color: var(--teal-dark);
  font-size: 1.2rem; line-height: 1; display: grid; place-items: center;
}
.cal-nav:hover:not(:disabled) { background: var(--sky); }
.cal-nav:disabled { opacity: .35; cursor: default; }
.cal-month { font-size: 1.4rem; font-weight: 700; color: var(--teal-dark); min-width: 8em; text-align: center; }

.cal-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 16px; margin-bottom: 18px; }
.cal-legend-item { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; color: var(--ink-soft); }
.cal-swatch { width: 14px; height: 14px; border-radius: 4px; flex: 0 0 auto; }

.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); }
.cal-dow { text-align: center; padding: 8px 0; font-weight: 700; font-size: .85rem; color: var(--teal-soft); }
.cal-dow.is-sun { color: var(--pink-strong); }
.cal-dow.is-sat { color: var(--sky-deep); }
.cal-day { min-height: 78px; border: 1px solid #efe7d8; padding: 6px 7px; position: relative; }
.cal-daynum { font-size: .85rem; color: var(--ink); font-weight: 500; }
.cal-day.is-sun .cal-daynum { color: var(--pink-strong); }
.cal-day.is-sat .cal-daynum { color: var(--sky-deep); }
.cal-day.is-blank { background: #fcfaf5; }
.cal-day.is-other .cal-daynum { color: #cfc7b8; }
.cal-day.is-past { opacity: .45; }
.cal-day.is-today { box-shadow: inset 0 0 0 2px var(--sky-deep); }
.cal-day.is-selectable { cursor: pointer; }
.cal-day.is-selectable:hover { background: #fbfdfe; }
.cal-day.is-selected { box-shadow: inset 0 0 0 2px var(--pink-strong); border-color: var(--pink-strong); }

.cal-chip {
  display: inline-block; margin-top: 5px; font-size: .72rem; font-weight: 700;
  padding: 3px 8px; border-radius: 999px; line-height: 1.3; white-space: nowrap;
}
.cal-chip.open { background: #e7f4f8; color: var(--teal-dark); }
.cal-chip.few  { background: #fdf2cf; color: #c9721f; }
.cal-chip.full { background: #fce3ec; color: var(--pink-strong); }
.cal-chip.off  { background: #efe9dd; color: #8a8175; }
.cal-tag { display: block; margin-top: 3px; font-size: .66rem; font-weight: 700; line-height: 1.35; }
.cal-tag.opening { color: var(--pink-strong); }
.cal-tag.note { color: var(--teal-soft); font-weight: 500; }
.cal-list-row .cal-tag { display: inline-block; margin: 2px 0 0 8px; }

.cal-selbar {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  margin-top: 16px; padding: 16px 20px; border-radius: 18px;
  background: #eaf6f9; border: 1.5px solid var(--sky-deep);
}
.cal-selbar-text { font-weight: 700; color: var(--teal-dark); font-size: 1.15rem; }
.cal-selbar-text b { color: var(--pink-strong); }

/* mobile list (hidden on desktop) */
.cal-list { display: none; flex-direction: column; gap: 8px; }
.cal-list-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px; border-radius: 14px; border: 1.5px solid #efe7d8; background: #fff;
}
.cal-list-row .cal-list-date { font-weight: 700; color: var(--teal-dark); }
.cal-list-row.is-selectable { cursor: pointer; }
.cal-list-row.is-selectable:hover { background: #fbfdfe; }
.cal-list-row.is-selected { border-color: var(--pink-strong); box-shadow: 0 0 0 1px var(--pink-strong); }
.cal-list-row.is-muted { opacity: .6; }

/* =======================  LEGAL / PRIVACY  ======================= */
.legal { max-width: 760px; }
.legal-date { color: var(--ink-soft); font-size: .85rem; margin: -6px 0 20px; }
.legal-lead { color: var(--ink-soft); margin: 0 0 30px; }
.legal h2 { font-size: 1.15rem; margin: 30px 0 8px; }
.legal p { color: var(--ink-soft); margin: 0 0 10px; }
.legal ul { color: var(--ink-soft); padding-left: 1.2em; margin: 0 0 12px; }
.legal ul li { padding: 3px 0; }
.legal a { color: var(--teal); font-weight: 700; }

/* =======================  FOOTER  ======================= */
.site-footer { background: var(--teal-dark); color: #dff1f4; padding: 50px 0 30px; }
.site-footer a { color: #bfe6ee; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font-size: 1rem; }
.site-footer p, .site-footer li { color: #cfe7ec; font-size: .9rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { padding: 4px 0; }
.footer-brand b { color:#fff; font-size: 1.2rem; }
.footer-logo {
  display: block; width: 234px; max-width: 72%; height: auto; margin-bottom: 16px;
  background: #fffaf1; border-radius: 22px; padding: 16px 20px;
  box-shadow: 0 8px 22px -12px rgba(0, 0, 0, 0.45);
}
.copyright { text-align: center; margin-top: 34px; font-size: .78rem; color: #9cc7cf; }

/* =======================  RESPONSIVE  ======================= */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { max-width: 340px; margin: 6px auto 0; order: -1; }
  .about-cols { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .access-grid { grid-template-columns: 1fr; }
  .map-embed { min-height: 300px; }
  .cal-grid { display: none; }
  .cal-list { display: flex; }
  .cal-card { padding: 16px; }
  .cal-selbar { flex-direction: column; align-items: stretch; text-align: center; }
  .cal-selbar .btn { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .site-footer ul li a { display: inline-block; padding: 6px 2px; }
  .nav {
    position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--cream); padding: 12px 20px 20px; gap: 2px;
    border-bottom: 1px solid var(--peach-line); box-shadow: var(--shadow-soft);
    transform: translateY(-120%); transition: transform .25s ease; z-index: 40;
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 12px; }
  .nav .btn { margin-top: 8px; justify-content: center; }
  .nav-toggle {
    display: inline-grid; place-items: center; margin-left: auto;
    width: 42px; height: 42px; border-radius: 12px; border: 1.5px solid var(--peach-line);
    background: #fff; cursor: pointer; font-size: 1.2rem; color: var(--teal-dark);
  }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* ---- phone-specific polish (framing + decorative blobs) ---- */
@media (max-width: 600px) {
  /* the watercolor blobs are edge decoration on desktop; on a narrow screen
     they can drift under text, so hide them on phones */
  .hero .blob { display: none; }
  .hero { padding: 46px 0 58px; }
  /* tighter vertical rhythm so sections feel framed, not floaty, on phones */
  .section { padding: 52px 0; }
  .section-lead { margin-bottom: 28px; }
}
