/* KOBA CHALK — site.css
   Tone: warm paper base + charcoal chalkboard + pastel chalk accents (from the logo & kappa mascot) */

:root {
  /* base */
  --paper: #fdf4e7;
  --paper-deep: #f8e6d0;
  --peach: #f9dcbf;
  --orange: #ee9a4d;
  --orange-deep: #b5561d;      /* text/buttons on light: 5.3:1 with white */
  /* chalkboard */
  --board: #2b2d2c;
  --board-soft: #373a38;
  --chalk: #fffaf0;
  /* pastel chalk (from the logo letters) */
  --coral: #ef7f74;
  --mustard: #f1c45a;
  --mint: #7fc9a6;
  --lilac: #ab8cbb;
  --teal: #62bfb2;
  --ink: #2f2b27;
  --muted: #6f675e;
  --line: rgba(47, 43, 39, .14);

  --round: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Noto Sans JP", sans-serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  /* spacing scale (8px base) */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px;
  --gutter: clamp(20px, 5vw, 40px);
  --content: 1120px;
  --section: clamp(64px, 9vw, 112px);
  --radius: 24px;
  --radius-sm: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-family: var(--round); font-weight: 700; line-height: 1.5; letter-spacing: .03em; }
ol, ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; z-index: 100; top: -60px; left: 16px; padding: 10px 18px; border-radius: 999px; color: var(--chalk); background: var(--board); }
.skip-link:focus { top: 12px; }

.container { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.content-narrow { max-width: 880px; }
.center { display: flex; justify-content: center; margin-top: var(--s5); }

/* ---------- header ---------- */
.site-header {
  position: sticky; z-index: 50; top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(253, 244, 231, .94);
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
  width: min(var(--content), calc(100% - var(--gutter) * 2)); min-height: 84px; margin-inline: auto;
}
.brand { display: inline-flex; flex-shrink: 0; }
.brand-logo {
  width: auto; height: 56px; padding: 6px 14px;
  border-radius: var(--radius-sm); background: var(--board); object-fit: contain;
}
.main-nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-family: var(--round); font-size: 14px; font-weight: 700; }
.main-nav a { position: relative; padding: 8px 0; white-space: nowrap; }
.main-nav a:not(.nav-contact)::after {
  position: absolute; right: 0; bottom: 0; left: 0; height: 4px; border-radius: 4px;
  background: var(--coral); content: ""; transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.main-nav a:not(.nav-contact):hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.main-nav .nav-contact { padding: 10px 20px; border-radius: 999px; color: #fff; background: var(--orange-deep); transition: background .2s, transform .2s; }
.main-nav .nav-contact:hover { background: var(--board); transform: translateY(-2px); }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--board); }
.menu-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; border-radius: 2px; background: var(--chalk); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- shared parts ---------- */
.mascot {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius); background: var(--board);
  box-shadow: 0 12px 28px rgba(60, 40, 20, .2);
}
.mascot img { width: 100%; height: auto; }
.mascot::after { position: absolute; inset: 7px; border: 2px dashed rgba(255, 250, 240, .3); border-radius: calc(var(--radius) - 7px); content: ""; pointer-events: none; }
.sticker { position: absolute; right: -12px; bottom: -28px; width: 148px; transform: rotate(4deg); }
.sticker-left { right: auto; left: -12px; transform: rotate(-4deg); }

/* chalk stripe under headings — five colors from the logo */
.section-title, .chalk-title { position: relative; padding-bottom: var(--s3); font-size: clamp(28px, 3.8vw, 42px); }
.section-title::after, .chalk-title::after {
  position: absolute; bottom: 0; left: 0; width: 72px; height: 6px; border-radius: 6px; content: "";
  background: linear-gradient(90deg, var(--coral) 0 20%, var(--mustard) 20% 40%, var(--mint) 40% 60%, var(--lilac) 60% 80%, var(--teal) 80%);
}
.section-title-sm { font-size: clamp(24px, 3vw, 30px); }
.panel-title { margin-bottom: var(--s2); font-size: clamp(20px, 2.4vw, 24px); }

.pill { display: inline-block; padding: 2px 14px; border-radius: 999px; color: var(--ink); font-family: var(--round); font-size: 12px; font-weight: 700; line-height: 1.9; }
.pill-coral { background: var(--coral); }
.pill-mustard { background: var(--mustard); }
.pill-mint { background: var(--mint); }
.pill-lilac { background: var(--lilac); }

.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 var(--s4);
  border: 2px solid var(--board); border-radius: 999px;
  color: var(--chalk); background: var(--board);
  font-family: var(--round); font-size: 15px; font-weight: 700;
  transition: background .2s, color .2s, transform .2s;
}
.button:hover { color: var(--board); background: transparent; transform: translateY(-2px); }
.button-light { color: var(--ink); background: transparent; border-color: var(--ink); }
.button-light:hover { color: var(--chalk); background: var(--board); }
.button-chalk { color: var(--board); border-color: var(--mustard); background: var(--mustard); }
.button-chalk:hover { color: var(--mustard); background: transparent; }
.text-link {
  display: inline-block; margin-top: var(--s3); padding-bottom: 2px;
  border-bottom: 2px solid currentColor; color: var(--orange-deep);
  font-family: var(--round); font-size: 15px; font-weight: 700; transition: opacity .2s;
}
.text-link:hover { opacity: .7; }
.chalkboard .text-link, .service-section .text-link { color: var(--mustard); }

.pale-panel { border-radius: var(--radius); background: var(--paper-deep); }
.chalkboard { position: relative; border-radius: var(--radius); color: var(--chalk); background: var(--board); }
.chalkboard::before { position: absolute; inset: 8px; border: 2px dashed rgba(255, 250, 240, .22); border-radius: calc(var(--radius) - 8px); content: ""; pointer-events: none; }
.panel { padding: clamp(28px, 4.5vw, 44px); }
.panel > * { position: relative; }
.chalkboard .panel-title { color: var(--mustard); }
.block { margin-top: var(--s6); }
.note { margin: var(--s3) 0 0; color: var(--muted); font-size: 13px; text-align: center; }
.two-column { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }

.section { padding: var(--section) 0; }
.section-tint { background: var(--paper-deep); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s4); margin-bottom: var(--s5); }
.section-heading p { max-width: 400px; margin: 0; padding-bottom: var(--s3); color: var(--muted); font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--peach); }
.hero::before { position: absolute; top: -140px; right: -100px; width: 380px; height: 380px; border-radius: 50%; background: rgba(255, 250, 240, .35); content: ""; }
.hero-inner { position: relative; width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; padding: var(--s5) 0 var(--s7); }
.hero-h1 { margin-bottom: var(--s4); font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: .08em; }
.hero-h1 span { display: inline-block; margin-right: 8px; padding: 2px 14px; border-radius: 999px; color: var(--chalk); background: var(--board); }
.hero-slides { display: grid; }
.hero-slide {
  display: grid; grid-area: 1 / 1; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(40px, 7vw, 96px);
  visibility: hidden; opacity: 0; transition: opacity .5s ease, visibility .5s;
}
.hero-slide.is-active { visibility: visible; opacity: 1; }
.hero-badge { display: inline-block; margin: 0 0 var(--s2); padding: 2px 16px; border-radius: 999px; color: var(--ink); background: var(--mustard); font-family: var(--round); font-size: 14px; font-weight: 700; }
.hero-title { font-size: clamp(30px, 4.1vw, 50px); line-height: 1.4; font-weight: 900; }
.hero-text { max-width: 440px; margin: var(--s3) 0 0; color: #4a4036; }
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--s2); margin-top: var(--s4); }
.hero-art { position: relative; width: min(100%, 520px); margin: 0 0 var(--s4); justify-self: center; }
.hero-photo { width: 100%; aspect-ratio: 1.38; object-fit: cover; border-radius: var(--radius); box-shadow: 0 16px 36px rgba(76, 56, 39, .18); }
.hero-slider-controls { position: absolute; bottom: var(--s5); left: 0; display: flex; align-items: center; gap: var(--s1); }
.slider-arrow { display: grid; width: 40px; height: 40px; padding: 0 0 3px; place-items: center; border: 2px solid var(--ink); border-radius: 50%; color: var(--ink); background: transparent; font-size: 22px; line-height: 1; transition: color .2s, background .2s; }
.slider-arrow:hover { color: var(--chalk); background: var(--board); }
.slider-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 99px; background: rgba(47, 43, 39, .35); transition: width .2s, background .2s; }
.slider-dot.is-active { width: 28px; background: var(--orange-deep); }

/* ---------- home sections ---------- */
.intro-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 88px); align-items: center; }
.intro-photo { position: relative; width: min(100%, 400px); margin: var(--s4) 0 var(--s4); }
.intro-photo > img { width: 100%; aspect-ratio: 1 / 1.05; object-fit: cover; border-radius: var(--radius); }
.intro-copy { max-width: 600px; }
.lead-copy { font-family: var(--round); font-size: clamp(19px, 2vw, 24px); font-weight: 500; line-height: 1.9; }

.service-section { color: var(--chalk); background: var(--board); }
.service-section .section-heading p { color: rgba(255, 250, 240, .75); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.service-card { display: grid; grid-template-columns: 1.15fr .85fr; overflow: hidden; border: 2px dashed rgba(255, 250, 240, .28); border-radius: var(--radius); background: var(--board-soft); }
.service-card-order { border-style: solid; border-color: transparent; color: var(--ink); background: var(--mustard); }
.service-card-order .text-link { color: var(--ink); }
.service-card-order p { color: rgba(47, 43, 39, .85); }
.service-copy { padding: clamp(24px, 3.5vw, 40px); }
.service-card h3 { margin: var(--s2) 0 var(--s2); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.5; }
.service-card p { margin: 0; color: rgba(255, 250, 240, .8); font-size: 14px; }
.service-image { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }

.gallery-grid { columns: 3; column-gap: var(--s3); }
.gallery-item { display: block; width: 100%; margin: 0 0 var(--s3); break-inside: avoid; }
.gallery-photo { display: block; width: 100%; padding: 0; overflow: hidden; border: 0; border-radius: var(--radius-sm); background: transparent; line-height: 0; cursor: zoom-in; }
.gallery-photo img { width: 100%; height: auto; transition: transform .3s ease; }
.gallery-photo:hover img { transform: scale(1.03); }
.more { margin: var(--s2) 0 0; text-align: center; }

.access-strip { display: grid; grid-template-columns: 1fr .95fr; gap: clamp(40px, 7vw, 88px); align-items: center; }
.map-card {
  position: relative; display: grid; min-height: 320px; place-items: center; overflow: hidden; border-radius: var(--radius);
  background-color: #efe3d1;
  background-image: linear-gradient(23deg, transparent 48%, rgba(255,255,255,.85) 49% 51%, transparent 52%), linear-gradient(114deg, transparent 48%, rgba(255,255,255,.9) 49% 51%, transparent 52%), linear-gradient(0deg, transparent 47%, #dccdb8 48% 49%, transparent 50%);
  background-size: 180px 150px, 210px 170px, 100% 72px;
}
.map-pin { display: grid; width: 56px; height: 56px; place-items: center; border: 5px solid var(--paper); border-radius: 50% 50% 50% 0; color: var(--board); background: var(--coral); box-shadow: 0 4px 12px rgba(48,46,42,.22); transform: rotate(-45deg); }
.map-pin span { transform: rotate(45deg); font-family: var(--round); font-size: 18px; font-weight: 900; }
.map-label { position: absolute; bottom: var(--s2); left: var(--s2); padding: 6px 14px; border-radius: 999px; background: rgba(253,244,231,.94); font-size: 12px; font-weight: 500; }
.access-copy p { margin: var(--s3) 0 0; }
.address { margin: var(--s3) 0 0; padding: var(--s2) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.address dt { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.address dd { margin: 0 0 var(--s2); }
.address dd:last-child { margin-bottom: 0; }
.access-copy .text-link { margin-top: var(--s3); }

/* CTA chalkboard */
.cta-section { padding: 0 0 var(--section); }
.section-tint + .cta-section, .cta-section { padding-top: var(--section); }
.page-content + .cta-section { padding-top: 0; }
.cta-board { display: grid; grid-template-columns: 1fr 220px; align-items: center; gap: var(--s5); padding: clamp(32px, 6vw, 64px); }
.cta-copy { position: relative; }
.chalk-title { color: var(--chalk); }
.cta-copy p { max-width: 460px; margin: var(--s3) 0 var(--s4); color: rgba(255, 250, 240, .82); }
.cta-mascot { position: relative; box-shadow: none; transform: rotate(3deg); }

/* ---------- footer ---------- */
.site-footer { padding: var(--s6) 0 var(--s3); color: var(--chalk); background: var(--board); }
.footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--s5); padding-bottom: var(--s5); }
.footer-brand .brand-logo { height: 64px; padding: 4px 0; background: transparent; }
.footer-note { max-width: 300px; margin: var(--s2) 0 0; color: rgba(255, 250, 240, .75); font-size: 14px; }
.footer-nav { display: grid; grid-template-columns: repeat(2, max-content); gap: var(--s1) var(--s5); font-family: var(--round); font-size: 14px; font-weight: 500; }
.footer-nav a:hover { color: var(--mustard); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding-top: var(--s3); border-top: 1px solid rgba(255, 250, 240, .18); color: rgba(255, 250, 240, .6); font-size: 12px; }
.chalk-bar { width: 72px; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--coral) 0 20%, var(--mustard) 20% 40%, var(--mint) 40% 60%, var(--lilac) 60% 80%, var(--teal) 80%); }

/* ---------- sub pages ---------- */
.page-hero { padding: var(--s4) 0 var(--s6); background: var(--peach); }
.page-hero-inner { width: min(var(--content), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--s1); color: #66594d; font-size: 13px; }
.breadcrumbs li + li::before { padding-right: var(--s1); color: var(--orange-deep); content: "/"; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-hero-body { display: grid; grid-template-columns: 1fr 200px; align-items: end; gap: var(--s5); margin-top: var(--s5); }
.page-hero h1 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; line-height: 1.4; }
.page-lead { max-width: 640px; margin: var(--s3) 0 0; color: #4a4036; }
.page-mascot { width: 100%; transform: rotate(3deg); }
.page-content { padding: var(--s7) 0 var(--section); }

.profile-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(40px, 7vw, 96px); }
.profile-photo { margin: 0; }
.portrait-image { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.profile-copy .section-title { margin-bottom: var(--s3); }
.profile-name-en { display: block; margin-top: 4px; color: var(--orange-deep); font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .06em; }
.content-title { margin: var(--s2) 0 var(--s3); font-size: clamp(20px, 2.6vw, 26px); }

.lesson-list { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3); }
.lesson-card { padding: var(--s4); border: 2px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .5); }
.lesson-card h3 { margin: var(--s1) 0 var(--s1); font-size: 20px; }
.lesson-card .price { margin: 0 0 var(--s1); color: var(--orange-deep); font-family: var(--round); font-size: 26px; font-weight: 900; }
.lesson-card .price-text { font-size: 18px; }
.lesson-card p { font-size: 14px; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); margin-bottom: var(--s4); }
.price-card { padding: var(--s3); border-radius: var(--radius); background: #fff; text-align: center; box-shadow: inset 0 -6px 0 var(--mustard); }
.price-card h3 { font-size: 16px; }
.price-card .price { margin: var(--s1) 0; color: var(--orange-deep); font-family: var(--round); font-size: 28px; font-weight: 900; line-height: 1.5; }
.price-card p:last-child { color: var(--muted); font-size: 13px; }
.step-list { counter-reset: steps; }
.step-list li { display: grid; grid-template-columns: 56px 1fr; gap: var(--s2); padding: var(--s3) 0; border-bottom: 1px dashed var(--line); counter-increment: steps; }
.step-list li::before { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 50%; color: var(--board); background: var(--mustard); content: counter(steps); font-family: var(--round); font-size: 18px; font-weight: 900; }
.step-list li:nth-child(5n+1)::before { background: var(--coral); }
.step-list li:nth-child(5n+3)::before { background: var(--mint); }
.step-list li:nth-child(5n+4)::before { background: var(--lilac); }
.step-list li:nth-child(5n)::before { background: var(--teal); }
.step-list h3 { margin-bottom: 4px; font-size: 18px; }
.step-list p { margin: 0; color: var(--muted); font-size: 14px; }
.access-details { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 72px); align-items: center; }
.access-details .address { margin-bottom: var(--s4); }
.access-details .section-title { margin-bottom: var(--s3); }
.map-embed { min-height: 400px; }

.form-card { max-width: 800px; margin-inline: auto; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius); background: var(--paper-deep); }
.form-card .section-title { margin-bottom: var(--s3); }
.form-intro { margin: 0 0 var(--s3); color: var(--muted); font-size: 14px; }
.form-row { display: grid; grid-template-columns: 200px 1fr; gap: var(--s2); align-items: start; padding: var(--s2) 0; border-bottom: 1px dashed rgba(47, 43, 39, .2); }
.form-row label { padding-top: 10px; font-size: 14px; font-weight: 700; }
.required { display: inline-block; margin-left: var(--s1); padding: 0 8px; border-radius: 999px; color: #fff; background: var(--orange-deep); font-size: 11px; font-weight: 500; }
.field, .select-field { width: 100%; min-height: 48px; padding: 10px 14px; border: 2px solid rgba(47, 43, 39, .18); border-radius: var(--radius-sm); outline: 0; color: var(--ink); background: #fff; }
.field:focus, .select-field:focus { border-color: var(--orange-deep); box-shadow: 0 0 0 4px rgba(181, 86, 29, .15); }
textarea.field { min-height: 160px; resize: vertical; }
.form-help { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
.form-consent { display: flex; align-items: flex-start; gap: var(--s1); margin: var(--s4) 0 0; font-size: 13px; }
.form-consent input { margin-top: 7px; }
.demo-notice { display: none; margin-top: var(--s2); padding: var(--s2); border-radius: var(--radius-sm); color: var(--board); background: #dff0e3; font-size: 14px; text-align: center; }
.demo-notice.is-visible { display: block; }

/* lightbox */
.lightbox { position: relative; max-width: min(94vw, 1180px); max-height: 94vh; padding: var(--s3); border: 0; border-radius: var(--radius); color: var(--chalk); background: var(--board); }
.lightbox::backdrop { background: rgba(20, 21, 20, .88); }
.lightbox-image { max-width: calc(94vw - 48px); max-height: 80vh; object-fit: contain; }
.lightbox-caption { margin: var(--s2) 0 0; color: rgba(255, 250, 240, .8); font-size: 13px; text-align: center; }
.lightbox-close { position: absolute; z-index: 1; top: 10px; right: 10px; display: grid; width: 44px; height: 44px; padding: 0 0 3px; place-items: center; border: 2px solid rgba(255, 250, 240, .5); border-radius: 50%; color: #fff; background: rgba(43, 45, 44, .8); font-size: 24px; line-height: 1; }

/* ---------- reveal (only when JS is on) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .1s; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .main-nav { gap: 14px; font-size: 13px; }
  .main-nav .nav-contact { padding: 8px 14px; }
  .brand-logo { height: 52px; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .header-inner { min-height: 72px; }
  .brand-logo { height: 50px; }
  .main-nav {
    position: absolute; top: 100%; right: 0; left: 0; display: none; flex-direction: column; align-items: stretch; gap: 0;
    padding: var(--s1) var(--gutter) var(--s3); border-bottom: 1px solid var(--line); background: var(--paper); font-size: 16px;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px dashed var(--line); }
  .main-nav a::after { display: none; }
  .main-nav .nav-contact { align-self: flex-start; margin-top: var(--s2); padding: 12px 24px; border-bottom: 0; }

  .hero-inner { padding: var(--s4) 0 var(--s7); }
  .hero-slide { grid-template-columns: 1fr; gap: var(--s5); }
  .hero-art { width: min(100%, 460px); margin-bottom: var(--s4); }
  .sticker { width: 112px; right: -4px; bottom: -24px; }
  .sticker-left { left: -4px; }
  .intro-grid, .profile-grid, .access-strip, .access-details { grid-template-columns: 1fr; gap: var(--s5); }
  .intro-photo { width: min(100%, 380px); }
  .section-heading { display: block; margin-bottom: var(--s4); }
  .section-heading p { margin-top: var(--s2); padding-bottom: 0; }
  .service-grid, .two-column { grid-template-columns: 1fr; }
  .gallery-grid { columns: 2; column-gap: var(--s2); }
  .gallery-item { margin-bottom: var(--s2); }
  .cta-board { grid-template-columns: 1fr; gap: var(--s4); }
  .cta-mascot { width: 180px; justify-self: center; }
  .footer-main { display: block; }
  .footer-nav { margin-top: var(--s4); }
  .page-hero { padding-bottom: var(--s5); }
  .page-hero-body { grid-template-columns: 1fr 120px; gap: var(--s3); margin-top: var(--s4); }
  .page-content { padding: var(--s6) 0 var(--s7); }
  .lesson-list { grid-template-columns: 1fr; }
  .block { margin-top: var(--s5); }
  .form-row { grid-template-columns: 1fr; gap: 6px; }
  .form-row label { padding-top: 0; }
  .map-embed { min-height: 300px; }
}
@media (max-width: 520px) {
  body { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .center .button { width: auto; }
  .service-card { grid-template-columns: 1fr; }
  .service-image { height: 200px; min-height: 0; }
  .price-grid { grid-template-columns: 1fr; }
  .page-hero-body { grid-template-columns: 1fr 92px; align-items: start; }
  .page-mascot { margin-top: var(--s1); }
  .footer-nav { grid-template-columns: 1fr 1fr; gap: var(--s1) var(--s3); }
  .hero-slider-controls { bottom: var(--s4); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media (max-width: 520px) {
  .hero-h1 span { display: table; margin: 0 0 6px; }
}

/* ---------- v4: layout adjustments from review comments ---------- */
.page-content .section-heading, .cat-section .section-heading { display: block; margin-bottom: var(--s4); }
.page-content .section-heading p { max-width: none; margin-top: var(--s1); padding-bottom: 0; }
@media (min-width: 700px) { .page-content .section-heading .section-title { white-space: nowrap; } }
.page-hero-body { display: block; margin-top: var(--s4); }
.page-hero-body .page-lead { margin-top: var(--s2); }

.placeholder { display: grid; place-items: center; min-height: 0; aspect-ratio: 4 / 3; border: 2px dashed rgba(47, 43, 39, .35); border-radius: var(--radius-sm); color: var(--muted); background: rgba(255, 255, 255, .45); font-family: var(--round); font-size: 14px; font-weight: 700; text-align: center; line-height: 1.5; }
.placeholder small { display: block; margin-top: 2px; font-family: var(--sans); font-size: 11px; font-weight: 400; }
.placeholder.on-dark { border-color: rgba(255, 250, 240, .4); color: rgba(255, 250, 240, .8); background: rgba(255, 250, 240, .06); }
.card-photos { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s1); margin-bottom: var(--s2); }
.card-photos .placeholder { aspect-ratio: 4 / 3; font-size: 13px; }
.work-slots { margin-top: var(--s5); }
.slots-title { margin-bottom: var(--s2); font-size: 20px; }
.slots-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s2); }
.offering { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: var(--s5); }
.offering-slots { display: grid; gap: var(--s2); }

.cat-nav { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s6); }
.cat-nav a { padding: 8px 20px; border: 2px solid var(--board); border-radius: 999px; font-family: var(--round); font-size: 14px; font-weight: 700; transition: color .2s, background .2s; }
.cat-nav a:hover { color: var(--chalk); background: var(--board); }
.cat-section + .cat-section { margin-top: var(--s7); }
.cat-section .gallery-grid { margin-bottom: 0; }

.about-grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: center; gap: var(--s5); }
.about-photo { margin: 0; }
.about-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
.profile-sns { margin-top: var(--s3); }
.ig-icon { margin-right: 8px; flex-shrink: 0; }
.button .ig-icon { margin-right: 10px; }
.sns-link { display: inline-flex; align-items: center; gap: 8px; margin-top: var(--s2); font-family: var(--round); font-size: 14px; font-weight: 700; }
.sns-link:hover { color: var(--mustard); }

.panel-mascot { display: grid; grid-template-columns: 1fr 240px; align-items: center; gap: var(--s5); }
.panel-mascot-img { box-shadow: none; transform: rotate(2deg); }
.form-head { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s3); }
.form-head .section-title { margin-bottom: 0; }
.form-mascot { flex: 0 0 140px; box-shadow: none; transform: rotate(3deg); }
.cta-board { grid-template-columns: 1fr 260px; }
.sticker { width: 164px; }

.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed { min-height: 360px; }

@media (max-width: 860px) {
  .offering, .about-grid, .panel-mascot { grid-template-columns: 1fr; gap: var(--s4); }
  .offering-slots { grid-template-columns: 1fr 1fr; }
  .panel-mascot-img { width: 220px; justify-self: center; }
  .about-photo { max-width: 360px; }
  .cta-board { grid-template-columns: 1fr; }
  .map-embed { min-height: 300px; }
}
@media (max-width: 520px) {
  .slots-grid { grid-template-columns: 1fr; }
  .form-mascot { flex-basis: 96px; }
  .sticker { width: 120px; }
}
h1, .hero-title, .section-title, .chalk-title { text-wrap: balance; }
.map-embed iframe { z-index: 1; } .map-open { z-index: 2; font-weight: 700; }
.card-photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-sm); }
/* lighter rows for lessons without photos */
.lesson-sub { margin-top: var(--s4); border-top: 1px dashed var(--line); }
.lesson-row { display: grid; grid-template-columns: 76px 1fr; column-gap: var(--s3); align-items: baseline; padding: var(--s3) 0; border-bottom: 1px dashed var(--line); }
.lesson-row .pill { grid-row: 1 / span 4; justify-self: start; }
.lesson-row h3 { font-size: 18px; }
.lesson-row .price { margin: 4px 0; color: var(--orange-deep); font-family: var(--round); font-size: 20px; font-weight: 900; }
.lesson-row .price-text { font-size: 16px; }
.lesson-row p { margin: 0; color: var(--muted); font-size: 14px; }
@media (max-width: 520px) { .lesson-row { grid-template-columns: 1fr; } .lesson-row .pill { grid-row: auto; margin-bottom: var(--s1); } }
/* v5: trial feature card + course list */
.lesson-list { grid-template-columns: 1fr; }
.lesson-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s4); }
.lesson-feature .card-photos { margin-bottom: 0; }
.lesson-row .row-photos { grid-column: 2; max-width: 440px; margin-top: var(--s2); }
.lesson-row .row-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.lesson-row .pill { grid-row: 1 / span 5; }
.lesson-sub { margin-top: 0; }
@media (max-width: 860px) { .lesson-feature { grid-template-columns: 1fr; gap: var(--s3); } }
@media (max-width: 520px) { .lesson-row .row-photos { grid-column: 1; } }
/* offering board photos */
.offering { grid-template-columns: 1fr 1fr; }
.offering-slots { grid-template-columns: 1fr 1fr; align-items: start; gap: var(--s2); }
.offering-slots img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); }
.offering-slots img:nth-child(2) { margin-top: var(--s4); }
@media (max-width: 860px) { .offering { grid-template-columns: 1fr; } }
.slots-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }

/* ---------- v5: one-line headings / leads on desktop ---------- */
.page-lead { max-width: none; }
@media (min-width: 900px) { .page-lead { white-space: nowrap; } }
.service-section .section-heading { display: block; }
.service-section .section-heading p { max-width: none; margin-top: var(--s2); padding-bottom: 0; }
@media (min-width: 700px) { .service-section .section-title { white-space: nowrap; } }

/* ---------- v6: contact (Google Form link) ---------- */
.form-points { max-width: 520px; margin: 0 auto var(--s5); padding: 0; list-style: none; display: grid; gap: var(--s2); }
.form-points li { position: relative; padding-left: 1.4em; }
.form-points li::before { position: absolute; left: 0; color: var(--orange-deep); content: "✎"; }
.form-link-card .note { margin-top: var(--s3); text-align: center; }
