/* =====================================================================
   ALVIA — 杉山大悟 & 須田美咲 Dance Site
   Design: 明るくポップ＆親しみ / Bright・Pop・Friendly
   ===================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Color */
  --cream:    #FFF8F0;
  --paper:    #FFF3E6;
  --coral:    #FF6B6B;
  --coral-d:  #ED4D54;
  --teal:     #2EC4B6;
  --teal-d:   #21998E;
  --yellow:   #FFC845;
  --ink:      #2A2A2A;
  --ink-soft: #5C5C61;
  --line:     #ECE3D8;
  --line-strong: #A0906E;
  --white:    #FFFFFF;

  /* Type */
  --f-display: "Poppins", "Noto Sans JP", sans-serif;
  --f-body:    "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --f-hand:    "Caveat", cursive;

  /* Spacing scale (8px base) */
  --s-1: .5rem;  --s-2: 1rem;   --s-3: 1.5rem; --s-4: 2rem;
  --s-6: 3rem;   --s-8: 4rem;   --s-10: 5rem;  --s-12: 6rem; --s-16: 8rem;

  /* Radius / shadow */
  --r-sm: 12px; --r-md: 18px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;
  --sh-sm: 0 6px 18px rgba(42,42,42,.06);
  --sh-md: 0 12px 30px rgba(42,42,42,.08);
  --sh-coral: 0 14px 36px rgba(255,107,107,.28);

  --container: 1200px;
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding-block: var(--s-16); }
.center { text-align: center; }
.bg-paper { background: var(--paper); }
.bg-white { background: var(--white); }
.bg-ink   { background: var(--ink); color: var(--cream); }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 600; font-size: .72rem; letter-spacing: .22em;
  text-transform: uppercase;
  padding: 8px 18px; border-radius: var(--r-pill);
  background: var(--teal); color: #fff;
}
.eyebrow--coral { background: var(--coral); }
.eyebrow--yellow { background: var(--yellow); color: var(--ink); }
.eyebrow--ghost { background: #fff; color: var(--coral-d); border: 1.5px solid var(--coral); }

.h-sec {
  font-family: var(--f-body); font-weight: 700;
  font-size: clamp(1.7rem, 4vw, 2.3rem); line-height: 1.35;
  margin-block: var(--s-3) var(--s-2);
}
.lead { color: var(--ink-soft); font-size: 1rem; max-width: 620px; }
.center .lead { margin-inline: auto; }
.hand { font-family: var(--f-hand); font-weight: 700; color: var(--teal); font-size: 1.7rem; line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--f-display); font-weight: 600; font-size: .98rem;
  padding: 15px 30px; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--coral); color: #fff; box-shadow: var(--sh-coral); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(255,107,107,.36); }
.btn--ghost { border: 2px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--cream); transform: translateY(-3px); }
.btn--white { background: #fff; color: var(--coral-d); box-shadow: var(--sh-md); }
.btn--white:hover { transform: translateY(-3px); }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 14px 36px rgba(46,196,182,.3); }
.btn--teal:hover { transform: translateY(-3px); }
.btn--sm { padding: 11px 22px; font-size: .9rem; box-shadow: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(255,248,240,.88); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: .04em; }
.brand img { width: 34px; height: 34px; }
.nav-list { display: flex; align-items: center; gap: 30px; }
.nav-list a { font-weight: 500; font-size: .93rem; position: relative; transition: color .15s; }
.nav-list a:hover, .nav-list a[aria-current="page"] { color: var(--coral-d); }
.nav-list a[aria-current="page"]::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px;
  background: var(--coral); border-radius: 3px;
}
.nav-cta { display: inline-flex; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* Mobile menu hidden on desktop; revealed only at <=640px (see media query) */
.mobile-menu { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 7vw, 6rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.blob { position: absolute; border-radius: 50%; filter: blur(2px); z-index: 0; pointer-events: none; }
.blob--y { width: 440px; height: 440px; background: var(--yellow); opacity: .32; top: -140px; left: -130px; }
.blob--t { width: 300px; height: 300px; background: var(--teal); opacity: .22; bottom: -120px; right: -80px; }
.hero-copy { position: relative; z-index: 2; }
.hero-title {
  font-family: var(--f-body); font-weight: 700;
  font-size: clamp(2.1rem, 5.4vw, 3.4rem); line-height: 1.32; letter-spacing: .01em;
  margin-block: var(--s-3) var(--s-3);
}
.hero-title .pop { color: var(--coral); }
.hero-copy .lead { margin-bottom: var(--s-4); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: var(--s-3); }
.hero-visual { position: relative; z-index: 1; }
.hero-photo {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-coral);
  transform: rotate(2deg); aspect-ratio: 4/5; background: var(--paper);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-sticker {
  position: absolute; z-index: 3; background: #fff; border-radius: var(--r-md);
  box-shadow: var(--sh-md); padding: 12px 18px; font-family: var(--f-display); font-weight: 600;
  display: flex; align-items: center; gap: 8px; font-size: .85rem;
}
.hero-sticker--tr { top: 10px; right: -10px; transform: rotate(-4deg); }
.hero-sticker--bl { bottom: 24px; left: -16px; transform: rotate(3deg); color: var(--teal-d); }
.hero-sticker b { color: var(--coral-d); font-size: 1.1rem; }

/* ---------- Marquee ---------- */
.marquee { background: var(--ink); overflow: hidden; }
.marquee-track {
  display: flex; gap: 0; white-space: nowrap;
  animation: scroll-x 28s linear infinite; padding-block: 16px;
}
.marquee-track span { font-family: var(--f-display); font-weight: 500; font-size: .85rem; color: var(--yellow); letter-spacing: .06em; padding-inline: 1.5rem; }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------- Profile cards ---------- */
.profile-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--s-4); margin-top: var(--s-8); }
.profile-card {
  background: #fff; border-radius: var(--r-lg); padding: var(--s-4);
  box-shadow: var(--sh-md); text-align: center;
  transition: transform .2s ease;
}
.profile-card:hover { transform: translateY(-6px); }
.profile-photo {
  width: 132px; height: 132px; border-radius: 50%; object-fit: cover;
  margin: 0 auto var(--s-3); border: 4px solid #fff; box-shadow: 0 8px 22px rgba(42,42,42,.14);
}
.profile-card--d .profile-photo { outline: 3px solid var(--coral); outline-offset: 3px; }
.profile-card--m .profile-photo { outline: 3px solid var(--teal); outline-offset: 3px; }
.profile-name { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; }
.profile-jp { color: var(--ink-soft); font-size: .85rem; margin-bottom: var(--s-2); }
.profile-desc { font-size: .92rem; color: var(--ink-soft); margin-bottom: var(--s-2); }
.profile-card--d .hand { color: var(--coral); }
.sns { display: flex; gap: 12px; justify-content: center; margin-top: var(--s-2); }
.sns a { width: 38px; height: 38px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; transition: .18s; }
.sns a:hover { background: var(--coral); transform: translateY(-2px); }
.sns a:hover svg { fill: #fff; }
.sns svg { width: 18px; height: 18px; fill: var(--ink); transition: fill .18s; }

/* ---------- Lesson cards ---------- */
.lesson-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s-3); margin-top: var(--s-8); }
.lesson-card {
  position: relative; background: #fff; border-radius: var(--r-md); padding: var(--s-4) var(--s-3);
  box-shadow: var(--sh-sm); transition: transform .2s ease, box-shadow .2s ease;
  border: 1px solid var(--line);
}
.lesson-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.lesson-icon { width: 58px; height: 58px; border-radius: var(--r-sm); display: grid; place-items: center; font-size: 1.6rem; color: #fff; margin-bottom: var(--s-2); }
.ic-coral { background: var(--coral); } .ic-teal { background: var(--teal); } .ic-ink { background: var(--ink); } .ic-yellow { background: var(--yellow); color: var(--ink) !important; }
.lesson-badge { position: absolute; top: 16px; right: 16px; font-family: var(--f-display); font-weight: 600; font-size: .68rem; letter-spacing: .08em; padding: 5px 12px; border-radius: var(--r-pill); background: var(--yellow); color: var(--ink); }
.lesson-name { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; margin-bottom: var(--s-1); }
.lesson-card p { font-size: .88rem; color: var(--ink-soft); line-height: 1.8; }
.lesson-price { margin-top: var(--s-2); font-family: var(--f-display); font-weight: 600; color: var(--coral-d); font-size: .95rem; }

/* ---------- Activity / blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--s-3); margin-top: var(--s-8); }
.post-card {
  background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm);
  transition: transform .2s ease, box-shadow .2s ease; display: flex; flex-direction: column;
}
.post-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }
.post-thumb { aspect-ratio: 16/10; overflow: hidden; background: var(--paper); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: var(--s-3); display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-date { font-family: var(--f-display); font-weight: 600; font-size: .78rem; color: var(--coral-d); }
.post-title { font-weight: 700; font-size: 1.05rem; line-height: 1.55; }
.post-tag { align-self: flex-start; margin-top: auto; font-family: var(--f-display); font-weight: 600; font-size: .66rem; letter-spacing: .08em; padding: 5px 12px; border-radius: var(--r-pill); background: var(--paper); color: var(--ink-soft); }
.tag-comp { background: #FFE3E3; color: var(--coral-d); }
.tag-lesson { background: #D9F5F1; color: var(--teal-d); }
.tag-diary { background: #FFF1CC; color: #B07D12; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--coral), var(--coral-d)); color: #fff; text-align: center; padding-block: var(--s-12); }
.cta-band h2 { font-size: clamp(1.6rem,4vw,2.3rem); font-weight: 700; margin-bottom: var(--s-2); }
.cta-band p { opacity: .95; margin-bottom: var(--s-4); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream); padding-block: var(--s-8) var(--s-4); text-align: center; }
.footer-brand { font-family: var(--f-display); font-weight: 700; font-size: 1.6rem; letter-spacing: .1em; margin-bottom: var(--s-3); }
.footer-nav { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin-bottom: var(--s-3); }
.footer-nav a { font-size: .85rem; color: rgba(255,248,240,.8); transition: color .15s; }
.footer-nav a:hover { color: var(--yellow); }
.footer-sns { display: flex; gap: 14px; justify-content: center; margin-bottom: var(--s-3); }
.footer-sns a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: .18s; }
.footer-sns a:hover { background: var(--coral); transform: translateY(-2px); }
.footer-sns svg { width: 17px; height: 17px; fill: rgba(255,248,240,.85); }
.footer-meta { font-size: .76rem; color: rgba(255,248,240,.5); line-height: 1.9; }

/* ---------- Page hero (sub pages) ---------- */
.page-hero { position: relative; padding-block: var(--s-10) var(--s-8); text-align: center; overflow: hidden; }
.page-hero h1 { font-family: var(--f-body); font-weight: 700; font-size: clamp(2rem,5vw,2.8rem); margin-block: var(--s-2) var(--s-2); }
.page-hero .lead { margin-inline: auto; }
.breadcrumb { font-size: .78rem; color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--coral-d); }

/* ---------- Steps (lessons "はじめての流れ") ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--s-3); margin-top: var(--s-8); counter-reset: step; }
.step { background: #fff; border-radius: var(--r-md); padding: var(--s-4) var(--s-3); box-shadow: var(--sh-sm); position: relative; }
.step::before { counter-increment: step; content: counter(step); position: absolute; top: -18px; left: 24px; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-family: var(--f-display); font-weight: 700; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(46,196,182,.35); }
.step h3 { font-size: 1.05rem; margin-block: var(--s-2) var(--s-1); }
.step p { font-size: .86rem; color: var(--ink-soft); }

/* ---------- Price table ---------- */
.price-list { display: grid; gap: var(--s-2); margin-top: var(--s-6); max-width: 760px; margin-inline: auto; }
.price-row { display: flex; align-items: center; justify-content: space-between; gap: var(--s-2); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); }
.price-row .pl-name { font-family: var(--f-display); font-weight: 600; font-size: 1.05rem; }
.price-row .pl-desc { font-size: .82rem; color: var(--ink-soft); }
.price-row .pl-val { font-family: var(--f-display); font-weight: 700; color: var(--coral-d); font-size: 1.15rem; white-space: nowrap; }

/* ---------- Gallery strip (activity page) ---------- */
.masonry { columns: 3; column-gap: var(--s-3); margin-top: var(--s-8); }
.masonry img { width: 100%; border-radius: var(--r-md); margin-bottom: var(--s-3); box-shadow: var(--sh-sm); break-inside: avoid; transition: transform .2s; }
.masonry img:hover { transform: scale(1.02); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--s-6); margin-top: var(--s-8); align-items: start; }
.form-card { background: #fff; border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-md); }

/* 3-step guide banner at the top of the form */
.form-steps { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-bottom: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px dashed var(--line-strong); }
.form-step { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 600; font-size: .85rem; color: var(--ink); }
.form-step b { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--teal); color: #fff; font-size: .78rem; flex-shrink: 0; }

.field { margin-bottom: var(--s-4); }
.field label { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-weight: 700; font-size: .95rem; margin-bottom: 10px; color: var(--ink); }
.field .req, .field .opt {
  font-family: var(--f-display); font-weight: 700; font-size: .68rem; letter-spacing: .03em;
  padding: 3px 10px; border-radius: var(--r-pill);
}
.field .req { background: var(--coral); color: #fff; }
.field .opt { background: var(--paper); color: var(--ink-soft); }
.field input, .field textarea, .field select {
  width: 100%; padding: 15px 16px; border: 2px solid var(--line-strong); border-radius: var(--r-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  box-shadow: inset 0 1px 2px rgba(42,42,42,.04); transition: border-color .15s, box-shadow .15s, background .15s;
}
.field input::placeholder, .field textarea::placeholder { color: #A9A196; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--teal); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(46,196,182,.18); }
.field select { cursor: pointer; }
.field textarea { resize: vertical; min-height: 140px; }
.field .err { color: var(--coral-d); font-weight: 600; font-size: .82rem; margin-top: 8px; display: none; align-items: center; gap: 6px; }
.field .err::before { content: "⚠"; }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: var(--coral); background: #FFF6F6; }
.field.invalid .err { display: flex; }
.field-hint { font-size: .82rem; color: var(--ink-soft); margin-top: 8px; line-height: 1.6; }
.field-hint a { color: var(--coral-d); font-weight: 600; text-decoration: underline; }
.form-note { font-size: .78rem; color: var(--ink-soft); margin-top: var(--s-2); }

/* Inquiry-type selector cards (replaces plain <select> for clarity) */
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.type-card {
  display: flex; flex-direction: column; gap: 6px; padding: 14px 16px;
  border: 2px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white);
  cursor: pointer; transition: border-color .15s, box-shadow .15s, background .15s;
}
.type-card:hover { border-color: var(--teal); }
.type-card__head { display: flex; align-items: center; gap: 8px; font-family: var(--f-display); font-weight: 700; font-size: .95rem; }
.type-card__head input[type="radio"] { width: 17px; height: 17px; accent-color: var(--coral); flex-shrink: 0; }
.type-card__icon { font-size: 1.15rem; line-height: 1; }
.type-card__desc { font-size: .8rem; color: var(--ink-soft); line-height: 1.6; padding-left: 25px; }
.type-card.is-checked { border-color: var(--coral); background: #FFF3F0; box-shadow: 0 0 0 4px rgba(255,107,107,.14); }
.type-grid:has(:focus-visible) .type-card:has(:focus-visible) { outline: 3px solid var(--teal); outline-offset: 2px; }
.field.invalid .type-card { border-color: var(--coral); }
.form-success { display: none; text-align: center; padding: var(--s-6); }
.form-success .big { font-size: 3rem; }
.contact-aside { display: flex; flex-direction: column; gap: var(--s-3); }
.info-card { background: var(--paper); border-radius: var(--r-md); padding: var(--s-4); }
.info-card h3 { font-size: 1.05rem; margin-bottom: var(--s-2); display: flex; align-items: center; gap: 8px; }
.info-card p, .info-card a { font-size: .9rem; color: var(--ink-soft); }
.info-card a:hover { color: var(--coral-d); }
.sns-big { display: flex; gap: 12px; }
.sns-big a { flex: 1; padding: 14px; border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 600; font-size: .85rem; transition: .18s; }
.sns-ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#bc1888); color: #fff; }
.sns-x { background: var(--ink); color: #fff; }
.sns-big a:hover { transform: translateY(-2px); }

/* SNS icon groups (contact aside): real IG/X brand logos instead of text links */
.sns-groups { display: flex; flex-direction: column; gap: 12px; }
.sns-group { display: flex; align-items: center; gap: 12px; }
.sns-group__label { font-family: var(--f-display); font-weight: 700; font-size: .82rem; color: var(--ink); width: 44px; flex-shrink: 0; }
.sns-icons { display: flex; gap: 8px; }
.sns-icons a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; padding: 0; flex: none; }
.sns-icons a:hover { transform: translateY(-2px); }
.sns-icons svg { width: 17px; height: 17px; fill: #fff; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: var(--s-8) auto 0; display: grid; gap: var(--s-2); }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.faq-q { width: 100%; text-align: left; padding: var(--s-3) var(--s-4); font-weight: 600; font-size: 1rem; display: flex; justify-content: space-between; align-items: center; gap: var(--s-2); }
.faq-q .mark { color: var(--coral); font-size: 1.5rem; transition: transform .25s; flex-shrink: 0; }
.faq-item[open] .faq-q .mark { transform: rotate(45deg); }
.faq-a { padding: 0 var(--s-4) var(--s-3); color: var(--ink-soft); font-size: .92rem; }
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }

/* ---------- Schedule ---------- */
.schedule-list { display: grid; gap: var(--s-2); max-width: 820px; margin-inline: auto; }
.sched-row { display: flex; gap: var(--s-3); background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); padding: var(--s-3) var(--s-4); align-items: flex-start; box-shadow: var(--sh-sm); }
.sched-row.is-past { opacity: .55; }
.sched-date { flex-shrink: 0; width: 84px; text-align: center; background: var(--paper); border-radius: var(--r-sm); padding: 12px 6px; display: flex; flex-direction: column; }
.sched-md { font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; color: var(--coral-d); line-height: 1.1; }
.sched-dow { font-size: .72rem; color: var(--ink-soft); }
.sched-body { flex: 1; }
.sched-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.sched-title { font-size: 1.1rem; font-weight: 700; }
.sched-meta { display: flex; gap: var(--s-3); flex-wrap: wrap; font-size: .84rem; color: var(--ink-soft); margin-bottom: 6px; }
.sched-desc { font-size: .88rem; color: var(--ink-soft); line-height: 1.75; }
.sched-desc p { margin: 0; }
@media (max-width: 640px) {
  .sched-row { flex-direction: column; }
  .sched-date { flex-direction: row; gap: 8px; width: auto; align-self: flex-start; padding: 8px 16px; }
}

/* ---------- WordPress core / editor content ---------- */
.wp-post-content { max-width: 760px; margin-inline: auto; line-height: 1.9; }
.wp-post-content h2 { font-size: 1.5rem; font-weight: 700; margin: var(--s-6) 0 var(--s-2); }
.wp-post-content h3 { font-size: 1.2rem; font-weight: 700; margin: var(--s-4) 0 var(--s-1); }
.wp-post-content p { margin-bottom: var(--s-3); }
.wp-post-content a { color: var(--coral-d); text-decoration: underline; }
.wp-post-content img, .wp-post-content .wp-block-image img { border-radius: var(--r-md); height: auto; }
.wp-post-content ul, .wp-post-content ol { margin: 0 0 var(--s-3) 1.4em; }
.wp-post-content li { margin-bottom: 6px; }
.wp-post-content blockquote { border-left: 4px solid var(--coral); background: var(--paper); padding: var(--s-2) var(--s-3); border-radius: 0 var(--r-sm) var(--r-sm) 0; margin: var(--s-3) 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.aligncenter { display: block; margin-inline: auto; }
.wp-caption-text, .wp-element-caption { font-size: .8rem; color: var(--ink-soft); text-align: center; margin-top: 6px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Nav: mark current menu item (WP adds .current-menu-item) */
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a { color: var(--coral-d); position: relative; }
.nav-list .current-menu-item > a::after,
.nav-list .current_page_item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 3px; background: var(--coral); border-radius: 3px; }

/* Pagination */
.alvia-pagination { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: var(--s-8); }
.alvia-pagination .page-numbers { display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-family: var(--f-display); font-weight: 600; font-size: .9rem; color: var(--ink); }
.alvia-pagination .page-numbers.current { background: var(--coral); color: #fff; border-color: var(--coral); }
.alvia-pagination a.page-numbers:hover { background: var(--paper); }

/* Category filter chips */
.cat-filter { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: var(--s-4); }
.cat-filter a { padding: 8px 18px; border-radius: var(--r-pill); background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; transition: .15s; }
.cat-filter a:hover, .cat-filter a.active { background: var(--coral); color: #fff; border-color: var(--coral); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal-d="1"] { transition-delay: .08s; }
[data-reveal-d="2"] { transition-delay: .16s; }
[data-reveal-d="3"] { transition-delay: .24s; }
[data-reveal-d="4"] { transition-delay: .32s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 440px; margin-inline: auto; order: -1; }
  .lesson-grid, .steps { grid-template-columns: repeat(2,1fr); }
  .post-grid { grid-template-columns: repeat(2,1fr); }
  .masonry { columns: 2; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding-block: var(--s-10); }
  .nav-list, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .profile-grid, .lesson-grid, .post-grid, .steps { grid-template-columns: 1fr; }
  .masonry { columns: 1; }
  .hero-actions .btn { flex: 1; justify-content: center; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 8px; }
  .sns-big { flex-direction: column; }
  .form-card { padding: var(--s-4); }

  /* Mobile menu */
  .mobile-menu {
    display: flex !important;
    position: fixed; inset: 0; background: var(--cream); z-index: 200;
    flex-direction: column; align-items: center; justify-content: center; gap: var(--s-3);
    transform: translateX(100%); transition: transform .3s ease;
  }
  .mobile-menu.open { transform: none; }
  .mobile-menu a { font-family: var(--f-display); font-weight: 600; font-size: 1.5rem; }
  .mobile-menu .btn { margin-top: var(--s-2); }
  .mobile-close { position: absolute; top: 24px; right: 24px; font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
