:root {
  --bg: #f4f0e5;
  --paper: #fffdf7;
  --surface: #fffdf7;
  --soft: #eef3df;
  --ink: #15251e;
  --muted: #667169;
  --dark: #142c23;
  --dark-2: #0d2019;
  --lime: #d9ed5f;
  --lime-deep: #bdd13e;
  --mint: #dfead8;
  --peach: #f4cdb5;
  --blue: #c9dce7;
  --line: rgba(21, 37, 30, 0.15);
  --line-light: rgba(255, 255, 255, 0.15);
  --radius-xl: 42px;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 24px 70px rgba(20, 44, 35, 0.11);
  --display: "Arial Black", "Helvetica Neue", "Hiragino Sans", "Yu Gothic", sans-serif;
  --sans: "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGothic, "Noto Sans JP", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.85;
  letter-spacing: 0.025em;
  overflow-x: hidden;
}
a { color: inherit; }
strong { font-weight: 800; }
::selection { background: var(--lime); color: var(--ink); }

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 999px;
  background: #fff;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}
.mobile-only { display: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(21, 37, 30, 0.08);
  background: rgba(244, 240, 229, 0.84);
  backdrop-filter: blur(18px) saturate(1.15);
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -0.045em;
}
.brand-mark {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50% 50% 48% 52%;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.95rem;
  transform: rotate(-8deg);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.site-nav a { text-decoration: none; }
.site-nav a:not(.nav-cta) { position: relative; }
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}
.site-nav a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: center;
  padding: 70px 0 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 86% 18%, rgba(217, 237, 95, 0.82), transparent 23%),
    radial-gradient(circle at 9% 84%, rgba(201, 220, 231, 0.62), transparent 25%),
    linear-gradient(135deg, #f7f2e6 0%, #f0ebdd 100%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  background-image: radial-gradient(rgba(21,37,30,.16) .7px, transparent .7px);
  background-size: 12px 12px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: 44px;
  align-items: center;
  padding-bottom: 90px;
}
.eyebrow,
.section-label {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  max-width: 760px;
  font-family: var(--display);
  font-size: clamp(4.1rem, 7.7vw, 7.6rem);
  line-height: 0.97;
  letter-spacing: -0.075em;
  font-weight: 950;
}
.hero-kicker {
  margin: 34px 0 0;
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.45;
  letter-spacing: -0.035em;
  font-weight: 850;
}
.hero-lead {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.16rem);
  line-height: 1.9;
}
.hero-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 850;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--ink); color: #fff; box-shadow: 0 12px 30px rgba(21,37,30,.15); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.56); }
.button.lime { background: var(--lime); color: var(--dark); box-shadow: 0 14px 34px rgba(217,237,95,.14); }

.hero-visual {
  position: relative;
  min-height: 520px;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(21,37,30,.16);
  border-radius: 50%;
}
.orbit-a { width: 430px; height: 430px; right: 20px; top: 35px; }
.orbit-b { width: 320px; height: 320px; right: 74px; top: 90px; border-style: dashed; }
.idea-card {
  position: absolute;
  width: 215px;
  min-height: 150px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(21,37,30,.11);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transform: rotate(var(--rotate));
}
.idea-card strong {
  font-family: var(--display);
  font-size: 1.75rem;
  letter-spacing: -0.05em;
}
.idea-card > span:last-child { color: rgba(21,37,30,.65); font-size: .84rem; font-weight: 700; }
.idea-number { font-size: .66rem; font-weight: 900; letter-spacing: .14em; }
.card-play { --rotate: -7deg; left: 8px; top: 62px; background: var(--paper); }
.card-notice { --rotate: 5deg; right: -4px; top: 180px; background: var(--peach); }
.card-create { --rotate: -3deg; left: 72px; bottom: 42px; background: var(--lime); }
.hero-stamp {
  position: absolute;
  right: 36px;
  bottom: 8px;
  width: 154px;
  height: 154px;
  display: grid;
  place-content: center;
  gap: 2px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  text-align: center;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .13em;
  transform: rotate(9deg);
  background: rgba(244,240,229,.84);
}
.hero-stamp b { color: var(--lime-deep); font-size: 1.5rem; line-height: 1; }
.hero-ticker {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(18px, 3.8vw, 55px);
  padding: 15px 24px 16px;
  border-top: 1px solid rgba(21,37,30,.11);
  background: rgba(255,255,255,.28);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .18em;
  white-space: nowrap;
}
.hero-ticker i { color: var(--lime-deep); font-style: normal; font-size: .5rem; }

.section { padding: 128px 0; position: relative; }

.split {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: start;
}

.prose {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.06rem;
}

.prose p { margin: 0 0 1.5em; }

.story { background: var(--paper); }
.story-grid,
.world-grid {
  display: grid;
  grid-template-columns: minmax(280px, .82fr) minmax(0, 1.18fr);
  gap: clamp(56px, 8vw, 110px);
  align-items: start;
}
.story-heading { position: sticky; top: 120px; }
.section h2,
.world-section h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.065em;
}
.section-aside {
  margin: 38px 0 0;
  color: #a4aaa5;
  font-family: var(--display);
  font-size: clamp(2.3rem, 4.6vw, 4.6rem);
  line-height: .9;
  letter-spacing: -.07em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  opacity: .45;
}
.prose-large { color: var(--muted); font-size: clamp(1.02rem, 1.55vw, 1.16rem); }
.prose-large p { margin: 0 0 2em; }
.material-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 48px;
}
.material-strip span,
.material-strip b {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
}
.material-strip b { border: 0; background: var(--lime); }
.thought-block {
  margin: 48px 0;
  padding: 34px 34px 34px 38px;
  border-left: 6px solid var(--lime-deep);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--bg);
  color: var(--ink);
}
.thought-block span { display: block; font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 800; letter-spacing: -.02em; }
.thought-block span + span { margin-top: 8px; }

.player-creator {
  position: relative;
  padding: 118px 0 110px;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
}
.player-creator::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  top: -300px;
  left: -80px;
  border-radius: 50%;
  background: var(--lime);
  opacity: .09;
}
.player-creator-inner { text-align: center; }
.light-label { color: #aebdb5; }
.player-word,
.creator-word {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.5rem, 14vw, 11rem);
  line-height: .82;
  letter-spacing: -.085em;
  font-weight: 950;
}
.player-word { color: rgba(255,255,255,.18); }
.creator-word { color: var(--lime); }
.creator-arrow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  max-width: 680px;
  margin: 28px auto;
  color: #fff;
}
.creator-arrow span { height: 1px; background: var(--line-light); }
.creator-arrow b { font-size: 1.8rem; color: var(--lime); }
.player-creator-copy { margin: 45px 0 0; font-size: clamp(1.4rem, 3vw, 2.5rem); font-weight: 850; letter-spacing: -.04em; }
.player-creator-sub { margin: 9px 0 0; color: #aebdb5; font-size: .94rem; }

.kids-section { background: var(--dark-2); color: #fff; }
.kids-intro {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 80px;
  align-items: end;
}
.kids-section h2 { color: #fff; }
.prose-light { color: #bcc9c2; font-size: 1.04rem; }
.prose-light p { margin: 0 0 1.4em; }
.prose-light strong { color: #fff; }
.play-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.play-card {
  position: relative;
  min-height: 310px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line-light);
  border-radius: 28px;
  background: #173329;
  overflow: hidden;
}
.play-card-main { background: #fff; color: var(--dark); }
.play-card-accent { background: var(--lime); color: var(--dark); }
.play-card-label { font-size: .66rem; font-weight: 900; letter-spacing: .16em; opacity: .65; }
.play-card strong { margin-top: auto; font-size: 1.65rem; letter-spacing: -.04em; }
.play-card p { margin: 8px 0 0; color: inherit; opacity: .65; font-size: .84rem; }
.play-icon {
  position: absolute;
  right: 20px;
  top: 18px;
  font-size: 2.2rem;
  opacity: .82;
}
.loop-message {
  margin-top: 22px;
  padding: clamp(36px, 5vw, 62px);
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #1a3b30, #10261f);
  border: 1px solid var(--line-light);
}
.loop-small { margin: 0; color: #8da197; font-size: .67rem; font-weight: 900; letter-spacing: .16em; }
.loop-big { margin: 16px 0 0; color: #fff; font-family: var(--display); font-size: clamp(2.6rem, 5vw, 5.3rem); line-height: 1.08; letter-spacing: -.065em; }
.loop-route { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 11px; align-items: center; color: var(--lime); font-size: .75rem; font-weight: 900; letter-spacing: .12em; }
.loop-route b { color: #fff; font-size: 1.15rem; }
.open-card-panel {
  margin-top: 22px;
  padding: clamp(34px, 5vw, 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  border-radius: var(--radius-xl);
  background: #f3eee0;
  color: var(--ink);
}
.open-card-copy h3 { margin: 0; font-family: var(--display); font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.12; letter-spacing: -.055em; }
.open-card-copy > p:last-child { margin: 26px 0 0; color: var(--muted); font-size: .95rem; }
.use-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: center; }
.use-cases span { min-height: 92px; display: grid; place-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: var(--paper); text-align: center; font-weight: 800; font-size: .9rem; }
.license-note { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: .72rem; }
.kids-action { margin-top: 38px; text-align: center; }

.world-section { overflow: hidden; background: var(--lime); }
.world-grid { position: relative; z-index: 2; }
.world-title-wrap { position: relative; }
.world-copy { color: rgba(21,37,30,.73); }
.world-copy strong { color: var(--ink); }
.world-sideword {
  margin: 60px 0 0;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 7.2rem);
  line-height: .8;
  letter-spacing: -.08em;
  color: rgba(21,37,30,.10);
}
.world-orb { position: absolute; border-radius: 50%; border: 1px solid rgba(21,37,30,.17); }
.world-orb-a { width: 520px; height: 520px; right: -210px; top: -130px; }
.world-orb-b { width: 280px; height: 280px; left: -100px; bottom: 90px; background: rgba(255,255,255,.18); }
.world-principles {
  position: relative;
  z-index: 2;
  margin-top: 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(21,37,30,.18);
}
.world-principles article { padding: 34px 34px 10px 0; }
.world-principles article + article { padding-left: 34px; border-left: 1px solid rgba(21,37,30,.18); }
.world-principles span { font-size: .68rem; font-weight: 900; letter-spacing: .14em; opacity: .58; }
.world-principles h3 { margin: 32px 0 10px; font-family: var(--display); font-size: 2rem; letter-spacing: -.05em; }
.world-principles p { margin: 0; max-width: 280px; color: rgba(21,37,30,.65); font-size: .88rem; }

.closing { position: relative; padding: 135px 0; background: var(--paper); text-align: center; }
.closing::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid var(--line);
  border-radius: 36px;
  pointer-events: none;
}
.closing-inner { position: relative; z-index: 2; }
.closing-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 auto 48px; }
.closing-steps span { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; font-weight: 800; }
.closing-main { margin: 0; font-family: var(--display); font-size: clamp(3.5rem, 8vw, 8rem); line-height: .94; letter-spacing: -.078em; }
.closing-copy { margin: 30px 0 0; color: var(--muted); font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }
.closing-actions { justify-content: center; }
.text-link-dark { font-size: .82rem; font-weight: 800; text-underline-offset: 5px; }

.site-footer { padding: 44px 0; background: var(--dark-2); color: #c0cbc5; }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; gap: 48px; align-items: end; }
.footer-brand { color: #fff; font-family: var(--display); font-size: 1.15rem; font-weight: 900; letter-spacing: -.04em; text-decoration: none; }
.footer-inner > div p { margin: 7px 0 0; color: #809188; font-size: .75rem; }
.footer-nav { display: flex; gap: 20px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; }
.footer-nav a { color: inherit; text-decoration: none; }
.copyright { margin: 0; color: #809188; font-size: .7rem; }

@media (max-width: 980px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .hero-grid { grid-template-columns: 1fr; padding-top: 42px; }
  .hero-copy { max-width: 760px; }
  .hero-visual { width: min(100%, 560px); min-height: 460px; margin: -10px auto 0; }
  .story-grid, .world-grid, .kids-intro, .split { grid-template-columns: 1fr; gap: 42px; }
  .story-heading { position: static; }
  .section-aside { display: none; }
  .play-grid { grid-template-columns: 1fr 1fr; }
  .open-card-panel { grid-template-columns: 1fr; }
  .license-note { grid-column: auto; }
  .world-principles { grid-template-columns: 1fr; border-top: 0; }
  .world-principles article { padding: 28px 0; border-top: 1px solid rgba(21,37,30,.18); }
  .world-principles article + article { padding-left: 0; border-left: 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 64px; }
  .brand { font-size: .98rem; }
  .brand-mark { width: 28px; height: 28px; }
  .nav-cta { padding: 8px 12px; font-size: .72rem; }
  .hero { min-height: auto; padding-top: 44px; }
  .hero-grid { gap: 22px; padding-bottom: 54px; }
  .hero h1 { font-size: clamp(3.35rem, 16vw, 5.1rem); }
  .hero h1 br { display: none; }
  .mobile-only { display: initial; }
  .hero-lead br { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .hero-visual { min-height: 375px; transform: scale(.9); margin: -20px -5% -10px; width: 110%; }
  .orbit-a { width: 330px; height: 330px; right: 0; }
  .orbit-b { width: 245px; height: 245px; right: 42px; top: 78px; }
  .idea-card { width: 175px; min-height: 128px; padding: 16px; }
  .idea-card strong { font-size: 1.4rem; }
  .card-play { left: 0; top: 50px; }
  .card-notice { right: 0; top: 150px; }
  .card-create { left: 45px; bottom: 16px; }
  .hero-stamp { width: 120px; height: 120px; right: 25px; bottom: -5px; }
  .hero-ticker { justify-content: flex-start; overflow: hidden; gap: 24px; }
  .section { padding: 88px 0; }
  .section h2, .world-section h2 { font-size: clamp(2rem, 9vw, 2.8rem); }
  .thought-block { padding: 26px 22px; margin: 34px 0; }
  .player-creator { padding: 82px 0; }
  .player-word, .creator-word { font-size: clamp(4rem, 23vw, 7rem); }
  .play-grid { grid-template-columns: 1fr; }
  .play-card { min-height: 220px; }
  .use-cases { grid-template-columns: 1fr; }
  .world-principles { margin-top: 54px; }
  .closing { padding: 96px 0; }
  .closing::before { inset: 10px; border-radius: 24px; }
  .closing-main { font-size: clamp(3.2rem, 16vw, 5rem); }
  .footer-nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button, .site-nav a::after { transition: none; }
}


/* Homepage: message-first layout */
.message-home .site-header {
  background: rgba(244, 240, 229, 0.92);
}

.message-container {
  width: min(860px, calc(100% - 48px));
}

.message-hero {
  padding: 132px 0 116px;
  background:
    radial-gradient(circle at 88% 12%, rgba(217, 237, 95, 0.55), transparent 24%),
    var(--bg);
}

.message-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.75rem, 6vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.075em;
}

.message-lead {
  max-width: 720px;
  margin: 42px 0 0;
  color: var(--muted);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.9;
  font-weight: 650;
}

.message-section {
  padding: 118px 0;
  background: var(--paper);
}

.message-section h2 {
  max-width: 760px;
  margin: 0 0 52px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.message-prose {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1.04rem, 1.6vw, 1.18rem);
  line-height: 2.05;
}

.message-prose p {
  margin: 0 0 2em;
}

.message-prose p:last-child {
  margin-bottom: 0;
}

.message-statement {
  margin: 76px 0 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(2.1rem, 4vw, 3.75rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
}

.message-section-dark {
  background: var(--dark-2);
  color: #fff;
}

.message-section-dark .section-label {
  color: #aebdb5;
}

.message-section-dark h2 {
  color: #fff;
}

.message-section-dark .message-prose {
  color: #c0cbc5;
}

.message-section-dark .message-prose strong {
  color: #fff;
}

.message-statement-light {
  border-top-color: rgba(255, 255, 255, 0.16);
  color: var(--lime);
}

.message-action {
  margin-top: 48px;
}

.message-action .button {
  width: auto;
}

.message-section-lime {
  background: var(--lime);
}

.message-section-lime .message-prose {
  color: rgba(21, 37, 30, 0.72);
}

.message-section-lime .message-prose strong {
  color: var(--ink);
}

.message-closing {
  padding: 128px 0;
  background: var(--paper);
}

.message-closing-steps {
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.9;
  font-weight: 750;
}

.message-closing-main {
  margin: 54px 0 0;
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  line-height: 1.02;
  letter-spacing: -0.07em;
}

.message-closing-copy {
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  font-weight: 700;
}

@media (max-width: 640px) {
  .message-container {
    width: min(100% - 32px, 860px);
  }

  .message-hero {
    padding: 86px 0 80px;
  }

  .message-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.2rem);
  }

  .message-hero h1 br {
    display: none;
  }

  .message-lead br {
    display: none;
  }

  .message-section {
    padding: 82px 0;
  }

  .message-section h2 {
    margin-bottom: 36px;
  }

  .message-statement {
    margin-top: 54px;
    padding-top: 28px;
  }

  .message-action .button {
    width: 100%;
  }

  .message-closing {
    padding: 88px 0;
  }
}


/*
 * Header logo animation.
 * Mirrors the moup kids title-screen brand motion:
 * "worl" flips on the X axis while "d" rotates on the Z axis,
 * creating the world <-> moup visual transformation on a 10s loop.
 */
.brand-kinetic {
  min-width: 92px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  color: #4caf50;
  font-family: "Arial Rounded MT Bold", "Trebuchet MS", Arial, sans-serif;
  perspective: 240px;
  filter: drop-shadow(0 2px 3px rgba(43, 105, 47, .12));
}

.brand-kinetic-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.brand-kinetic-word {
  position: static;
  width: auto;
  height: auto;
  font-size: 0;
  opacity: 1;
  backface-visibility: visible;
  transform-style: preserve-3d;
}

.brand-kinetic-word::before,
.brand-kinetic-word::after {
  display: inline-block;
  color: inherit;
  font-size: clamp(17px, 1.65vw, 20px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: .02em;
}

.brand-kinetic-word--world {
  animation: moup-brand-flip-main 10s ease-in-out infinite;
  transform-origin: center center;
}

.brand-kinetic-word--world::before {
  content: "wor";
}

.brand-kinetic-word--world::after {
  content: "l";
  margin-left: -.18em;
}

.brand-kinetic-word--moup {
  margin-left: 0;
  animation: moup-brand-rotate-d 10s ease-in-out infinite;
  transform-origin: center center;
}

.brand-kinetic-word--moup::before {
  content: "d";
}

.brand-kinetic-word--moup::after {
  content: none;
}

@keyframes moup-brand-flip-main {
  0%, 20% {
    transform: rotateX(0deg);
  }
  50%, 70% {
    transform: rotateX(180deg);
  }
  100% {
    transform: rotateX(360deg);
  }
}

@keyframes moup-brand-rotate-d {
  0%, 20% {
    transform: rotateZ(0deg);
  }
  50%, 70% {
    transform: rotateZ(180deg);
  }
  100% {
    transform: rotateZ(360deg);
  }
}

@media (max-width: 640px) {
  .brand-kinetic {
    min-width: 76px;
  }

  .brand-kinetic-word::before,
  .brand-kinetic-word::after {
    font-size: 15px;
  }

  .brand-kinetic-word--world::after {
    margin-left: -.16em;
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-kinetic-word--world,
  .brand-kinetic-word--moup {
    animation: none;
    transform: none;
  }
}


/* Brand labels keep the official lowercase spelling. */
.brand-label {
  text-transform: none;
}

/* Logo meaning */
.logo-story-section {
  background: #eef3df;
}

.logo-story-layout {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(48px, 8vw, 96px);
  align-items: center;
}

.logo-story-visual {
  min-height: 340px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--paper);
  overflow: hidden;
}

.logo-story-mark {
  color: #4caf50;
  perspective: 700px;
  filter: drop-shadow(0 8px 16px rgba(43, 105, 47, .12));
}

.logo-story-mark .brand-kinetic-word::before,
.logo-story-mark .brand-kinetic-word::after {
  font-size: clamp(4.8rem, 10vw, 8.8rem);
  letter-spacing: -.02em;
}

.logo-story-copy h2 {
  margin-bottom: 36px;
}

/* Moka feature */
.message-moka-section {
  padding: 118px 0;
  background: #edf4f7;
}

.moka-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  gap: clamp(42px, 7vw, 84px);
  align-items: center;
}

.moka-feature-visual {
  display: block;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: 0 22px 56px rgba(20, 44, 35, .12);
}

.moka-feature-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1672 / 941;
  object-fit: cover;
  transition: transform 240ms ease;
}

.moka-feature-visual:hover img {
  transform: scale(1.015);
}

.moka-feature-copy h2 {
  margin: 0 0 34px;
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.06em;
}

.moka-feature-copy .message-prose {
  font-size: 1rem;
  line-height: 1.95;
}

.moka-feature-link {
  margin-top: 18px;
  width: auto;
}

@media (max-width: 820px) {
  .logo-story-layout,
  .moka-feature {
    grid-template-columns: 1fr;
  }

  .logo-story-visual {
    min-height: 260px;
  }

  .moka-feature-copy {
    max-width: 680px;
  }
}

@media (max-width: 640px) {
  .logo-story-visual {
    min-height: 220px;
    border-radius: 24px;
  }

  .logo-story-mark .brand-kinetic-word::before,
  .logo-story-mark .brand-kinetic-word::after {
    font-size: clamp(4rem, 20vw, 6.4rem);
  }

  .message-moka-section {
    padding: 82px 0;
  }

  .moka-feature-visual {
    border-radius: 22px;
  }

  .moka-feature-link {
    width: 100%;
  }
}


/* Activity-focused homepage */
.activity-home .site-header {
  background: rgba(244, 240, 229, 0.94);
}

.activity-hero {
  padding: clamp(92px, 12vw, 150px) 0 clamp(76px, 10vw, 118px);
  background:
    radial-gradient(circle at 86% 18%, rgba(217, 237, 95, .54), transparent 26%),
    var(--bg);
}

.activity-hero-inner {
  max-width: 900px;
}

.activity-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: .98;
  letter-spacing: -.07em;
}

.activity-hero-inner > p:last-child {
  max-width: 680px;
  margin: 34px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
  line-height: 1.9;
  font-weight: 650;
}

.activity-section {
  padding: 104px 0 122px;
  background: var(--paper);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.activity-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(20, 44, 35, .08);
}

.activity-card-visual {
  min-height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-decoration: none;
}

.kids-activity-visual {
  padding: clamp(44px, 6vw, 76px);
  background:
    radial-gradient(circle at 24% 22%, rgba(255,255,255,.92), transparent 28%),
    linear-gradient(145deg, #eef6ce, #d9ed5f);
}

.kids-activity-visual img {
  display: block;
  width: min(100%, 420px);
  height: auto;
}

.moka-activity-visual {
  background: #dfeaf0;
}

.moka-activity-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 220ms ease;
}

.moka-activity-visual:hover img {
  transform: scale(1.015);
}

.activity-card-body {
  padding: 34px 36px 38px;
}

.activity-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.activity-card h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -.055em;
}

.activity-card-body > p:not(.activity-kicker) {
  min-height: 6.2em;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: .98rem;
  line-height: 1.9;
}

.activity-link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 24px;
  font-size: .86rem;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.home-about-link {
  padding: 86px 0;
  background: var(--dark-2);
  color: #fff;
}

.home-about-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: end;
}

.home-about-inner > div {
  max-width: 720px;
}

.home-about-inner .section-label {
  color: #aebdb5;
}

.home-about-inner h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2rem, 3.6vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}

.home-about-inner p:not(.section-label) {
  margin: 24px 0 0;
  color: #c0cbc5;
}

.home-about-inner .button {
  flex: none;
  border-color: rgba(255,255,255,.24);
  background: rgba(255,255,255,.08);
  color: #fff;
}

/* About page */
.about-message-hero {
  border-bottom: 1px solid var(--line);
}

@media (max-width: 820px) {
  .activity-grid {
    grid-template-columns: 1fr;
  }

  .activity-card-body > p:not(.activity-kicker) {
    min-height: 0;
  }

  .home-about-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .activity-hero {
    padding: 78px 0 68px;
  }

  .activity-hero h1 {
    font-size: clamp(2.5rem, 11vw, 3.2rem);
  }

  .activity-section {
    padding: 72px 0 82px;
  }

  .activity-card {
    border-radius: 24px;
  }

  .activity-card-visual,
  .moka-activity-visual img {
    min-height: 240px;
  }

  .kids-activity-visual {
    padding: 38px 32px;
  }

  .activity-card-body {
    padding: 28px 24px 30px;
  }

  .home-about-link {
    padding: 72px 0;
  }

  .home-about-inner .button {
    width: 100%;
  }
}
