/* ==========================================================================
   Studio Cotsbow — Shared Design System
   Extracted from conversation_class.html (canonical reference)
   ========================================================================== */

:root {
  --navy: #2c4258;
  --beige: #f2ebdf;
  --beige-2: #eae3d2;
  --coral: #c97b5c;
  --ink: #2c4258;
  --muted: #6d7b88;

  /* wordmark-specific tones */
  --mark-word: #5C6B75;
  --mark-prefix: #8C949A;
  --mark-tagline: #8E8273;
  --mark-eyebrow: #ADA491;
  --wave-1: #A9B4B8;
  --wave-2: #8C949A;
  --wave-3: #C7CDD0;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--beige); color: var(--ink); }
body {
  font-family: "Noto Serif JP", "Cormorant Garamond", serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.container { max-width: 900px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 6% 40px;
  max-width: 1240px;
  margin: 0 auto;
}
.brand { font-family: "Cinzel", serif; letter-spacing: 0.4em; font-size: 12px; color: var(--navy); text-decoration: none; }
.back { font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); text-decoration: none; }
.back:hover { color: var(--coral); }

.nav-links { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.nav-links a {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--coral); }
.nav-cta {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy) !important;
  border: 1px solid var(--navy);
  border-radius: 999px;
  padding: 8px 18px;
  white-space: nowrap;
}

/* Grid variant for perfectly centered logo (used on adult.html) */
.nav-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 32px 6% 40px;
  max-width: 1240px;
  margin: 0 auto;
  gap: 12px;
}
.nav-grid > *:last-child { justify-self: end; }
.nav-grid .back { white-space: nowrap; }

@media (max-width: 700px) {
  .nav { flex-wrap: wrap; row-gap: 12px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-links { justify-content: flex-end; }
}

/* ---------- Cotsbow wordmark (studio COTSBOW) ---------- */
.cotsbow-mark { text-align: center; }
.mark-word {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 5px;
  color: var(--mark-word);
  margin: 0;
}
.mark-prefix {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--mark-prefix);
  display: block;
  margin: 0 0 4px;
}
.mark-waves { width: 170px; height: 28px; margin: 8px auto; display: block; overflow: visible; }
.wave { fill: none; stroke-width: 1.2; }
.w1 { stroke: var(--wave-1); transform: translateX(-18px); animation: wave-flow-1 5s ease-in-out infinite; }
.w2 { stroke: var(--wave-2); opacity: 0.75; transform: translateX(0px); animation: wave-flow-2 6s ease-in-out infinite; }
.w3 { stroke: var(--wave-3); opacity: 0.55; transform: translateX(18px); animation: wave-flow-3 7s ease-in-out infinite; }
@keyframes wave-flow-1 {
  0%, 100% { transform: translate(-18px, 0px); }
  50% { transform: translate(-6px, 5px); }
}
@keyframes wave-flow-2 {
  0%, 100% { transform: translate(0px, 0px); }
  50% { transform: translate(14px, -5px); }
}
@keyframes wave-flow-3 {
  0%, 100% { transform: translate(18px, 0px); }
  50% { transform: translate(30px, 5px); }
}
.mark-tagline {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--mark-tagline);
  margin: 3px 0 1px;
}
.mark-eyebrow {
  font-family: "Jost", sans-serif;
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--mark-eyebrow);
  margin: 0;
}

/* ---------- Hero ---------- */
.hero { text-align: center; padding: 60px 24px 80px; }
.kicker { font-family: "Jost", sans-serif; font-size: 11px; letter-spacing: 0.35em; text-transform: uppercase; color: var(--coral); margin-bottom: 24px; }
h1 { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(32px, 5vw, 54px); line-height: 1.35; color: var(--navy); margin: 0 0 32px; letter-spacing: 0.05em; }
.hero-jp { font-family: "Noto Serif JP", serif; font-weight: 300; font-size: 14px; color: var(--ink); max-width: 560px; margin: 0 auto; line-height: 2; }

/* ---------- Section frame ---------- */
section { padding: 80px 0; border-top: 1px solid rgba(44, 66, 88, 0.14); }
.section-label { font-family: "Jost", sans-serif; font-size: 11px; letter-spacing: 0.4em; text-transform: uppercase; color: var(--coral); text-align: center; margin-bottom: 12px; }
.section-title { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(24px, 3.5vw, 36px); text-align: center; color: var(--navy); margin: 0 0 48px; letter-spacing: 0.06em; }
.section-title .accent { color: var(--coral); font-style: italic; }
.section-sub { text-align: center; font-family: "Noto Serif JP", serif; font-size: 13px; color: var(--ink); max-width: 560px; margin: -24px auto 40px; line-height: 2; }

/* ---------- Splitter cards (adult page) ---------- */
.splitter { display: flex; gap: 24px; align-items: stretch; max-width: 900px; margin: 0 auto; }
.split-card {
  flex: 1;
  border-radius: 4px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  min-height: 380px;
}
.split-card.dark { background: var(--navy); color: var(--beige); }
.split-card.light { background: #FBF8F2; color: var(--navy); border: 1px solid #D0C5AE; }
.split-num { font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: 3px; opacity: 0.55; margin-bottom: 18px; }
.split-title-jp { font-size: 26px; margin-bottom: 6px; letter-spacing: 1px; font-family: "Noto Serif JP", serif; }
.split-title-en { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 14px; opacity: 0.65; margin-bottom: 22px; }
.split-desc { font-size: 14px; line-height: 1.9; margin-bottom: 20px; }
.split-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; margin-top: auto; }
.split-tag { font-family: "Jost", sans-serif; font-size: 11px; letter-spacing: 1px; padding: 6px 14px; border-radius: 20px; border: 1px solid currentColor; opacity: 0.85; }
.split-arrow { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 1px solid currentColor; font-size: 16px; text-decoration: none; color: inherit; }

/* ---------- Cards (who/what) ---------- */
.who-list { display: grid; grid-template-columns: 1fr; gap: 28px; max-width: 720px; margin: 0 auto; }
@media (min-width: 720px) { .who-list { grid-template-columns: repeat(3, 1fr); } }
.who-item { text-align: center; padding: 20px; }
.who-quote { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 32px; color: var(--coral); line-height: 1; margin-bottom: 10px; }
.who-text { font-family: "Noto Serif JP", serif; font-size: 13px; line-height: 2; color: var(--ink); }

.cards { display: grid; grid-template-columns: 1fr; gap: 24px; }
@media (min-width: 720px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: #ffffff; padding: 32px 28px; border-radius: 6px; border: 1px solid rgba(44, 66, 88, 0.08); cursor: pointer; transition: background 0.3s ease; }
.card:hover { background: #FAFAF7; }
.card-num { font-family: "Jost", sans-serif; font-size: 12px; color: var(--coral); letter-spacing: 0.2em; margin-bottom: 12px; }
.card-title-en { font-family: "Cormorant Garamond", serif; font-style: italic; font-weight: 400; font-size: 22px; color: var(--navy); margin-bottom: 4px; }
.card-title-ja { font-family: "Noto Serif JP", serif; font-size: 13px; color: var(--muted); margin-bottom: 16px; letter-spacing: 0.05em; }
.card-body { font-family: "Noto Serif JP", serif; font-size: 13px; line-height: 2; color: var(--ink); }
.card-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
  font-family: "Noto Serif JP", serif;
  font-size: 12.5px;
  line-height: 1.9;
  color: var(--muted);
}
.card.open .card-expand { max-height: 500px; margin-top: 14px; }
.card-expand-inner { border-top: 1px solid rgba(44,66,88,0.12); padding-top: 12px; }
.card-more { font-family: "Jost", sans-serif; font-size: 10px; letter-spacing: 0.1em; color: var(--coral); margin-top: 12px; }
.card.open .card-more { display: none; }

/* ---------- Format ---------- */
.formats { display: grid; grid-template-columns: 1fr; gap: 24px; max-width: 760px; margin: 0 auto; }
@media (min-width: 720px) { .formats { grid-template-columns: 1fr 1fr; } }
.fmt { background: transparent; border-left: 2px solid var(--coral); padding: 8px 24px; }
.fmt-title-en { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 22px; color: var(--navy); margin-bottom: 2px; }
.fmt-title-ja { font-family: "Noto Serif JP", serif; font-size: 13px; color: var(--muted); margin-bottom: 14px; letter-spacing: 0.05em; }
.fmt-body { font-family: "Noto Serif JP", serif; font-size: 13px; line-height: 2; }

/* ---------- Pricing ---------- */
.prices { max-width: 720px; margin: 0 auto; }
.price-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 26px 8px; border-bottom: 1px solid rgba(44, 66, 88, 0.14); }
.price-row:last-child { border-bottom: none; }
.price-left { flex: 1; }
.price-name { font-family: "Noto Serif JP", serif; font-weight: 500; font-size: 15px; color: var(--navy); margin-bottom: 4px; }
.price-meta { font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: 0.08em; color: var(--muted); }
.price-right { font-family: "Cormorant Garamond", serif; font-weight: 400; font-size: 24px; color: var(--navy); white-space: nowrap; }
.price-note { font-family: "Noto Serif JP", serif; font-size: 12px; color: var(--muted); text-align: center; margin-top: 24px; line-height: 1.8; }

/* ---------- Modules (Building Blocks, expandable) ---------- */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #D0C5AE;
  border: 1px solid #D0C5AE;
  border-radius: 4px;
  overflow: hidden;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 700px) { .modules-grid { grid-template-columns: 1fr; } }
.module-cell {
  background: #FBF8F2;
  padding: 26px 22px;
  cursor: pointer;
  transition: background 0.35s ease, color 0.35s ease;
}
.module-cell:hover { background: var(--beige-2); }
.module-cell.open { background: var(--navy); color: var(--beige); }
.module-icon { font-size: 18px; color: var(--coral); margin-bottom: 12px; display: block; }
.module-cell.open .module-icon { color: #E8A87C; }
.module-title-en { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 19px; margin-bottom: 2px; }
.module-title-jp { font-family: "Jost", sans-serif; font-size: 11px; letter-spacing: 1px; opacity: 0.7; margin-bottom: 12px; }
.module-desc-short { font-family: "Noto Serif JP", serif; font-size: 12px; line-height: 1.7; opacity: 0.85; }
.module-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.4s ease;
  font-family: "Noto Serif JP", serif;
  font-size: 12px;
  line-height: 1.9;
}
.module-cell.open .module-expand { max-height: 200px; margin-top: 14px; }
.module-expand-inner { border-top: 1px solid rgba(44,66,88,0.14); padding-top: 12px; }
.module-cell.open .module-expand-inner { border-top: 1px solid rgba(240,233,221,0.25); }

/* ---------- Follow link (Instagram, simplified) ---------- */
.follow-link {
  text-align: center;
  padding: 40px 0;
}
.follow-link a {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  text-decoration: none;
  border-bottom: 1px solid var(--coral);
  padding-bottom: 2px;
}

/* ---------- Next stage / bridge ---------- */
.next { text-align: center; padding: 100px 24px; background: var(--beige-2); }
.next-title { font-family: "Cormorant Garamond", serif; font-weight: 300; font-size: clamp(24px, 3.5vw, 34px); color: var(--navy); margin: 0 0 24px; letter-spacing: 0.06em; line-height: 1.5; }
.next-text { font-family: "Noto Serif JP", serif; font-size: 13px; line-height: 2; color: var(--ink); max-width: 520px; margin: 0 auto 32px; }
.next-cta { display: inline-block; font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--coral); text-decoration: none; padding: 12px 28px; border: 1px solid var(--coral); border-radius: 999px; transition: background 0.3s ease, color 0.3s ease; }
.next-cta:hover { background: var(--coral); color: #fff; }

/* ---------- Contact ---------- */
.contact { text-align: center; padding: 80px 24px 100px; }
.contact-lead { font-family: "Noto Serif JP", serif; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.contact-en { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 20px; color: var(--muted); margin-bottom: 32px; }
.contact-link { display: inline-block; font-family: "Jost", sans-serif; font-size: 12px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--navy); text-decoration: none; padding: 12px 28px; border: 1px solid var(--navy); border-radius: 999px; transition: background 0.3s ease, color 0.3s ease; }
.contact-link:hover { background: var(--navy); color: var(--beige); }

/* ---------- Footer ---------- */
footer.site-footer {
  text-align: center;
  padding: 50px 24px 40px;
  border-top: 1px solid rgba(44, 66, 88, 0.14);
}
.footer-links { margin-top: 18px; display: flex; gap: 24px; justify-content: center; flex-wrap: wrap; }
.footer-links a {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--coral); }
.footer-copy {
  font-family: "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 24px;
}

/* ---------- Kids-specific accent (slightly warmer/playful) ---------- */
.kids-accent { color: var(--coral); }
