:root {
  color-scheme: light;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: #31452c;
  background: #fcf9f2;
  font-synthesis: none;
  --paper: #fcf9f2;
  --forest: #31452c;
  --wood: #75533a;
  --muted: #68735e;
  --line: #dedfce;
}

* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; }
svg { display: block; }
p { margin: 0; }
h1, h2, h3 { margin: 0; }

.workshop { width: min(100% - 96px, 1080px); margin-inline: auto; }
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: center;
  padding-block: 72px 64px;
}
.workshop-mark { width: 54px; height: 48px; margin-bottom: 24px; color: var(--wood); }
.intro h1 {
  font-size: clamp(2.15rem, 4.3vw, 3.35rem);
  font-weight: 800;
  letter-spacing: .05em;
  line-height: 1.5;
  color: #513c2b;
}
.tagline {
  margin-top: 16px;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 700;
  line-height: 1.9;
  letter-spacing: .035em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.hero-description { max-width: 32em; margin-top: 30px; font-size: 1rem; line-height: 2; }
.idea-quote { margin-bottom: 10px; font-weight: 700; color: var(--wood); }
.mascot-corner { text-align: center; }
.stage { position: relative; display: grid; place-items: center; isolation: isolate; padding-bottom: 15px; }
.stage::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 90%;
  aspect-ratio: 1;
  bottom: 10px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 58%, #e7edcf 0%, #f0f1de 46%, #fcf9f200 71%);
}
.stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  bottom: 11px;
  width: 80%;
  height: 5px;
  border-radius: 50%;
  background: #a48b63;
  box-shadow: 0 5px 0 -1px #e5dcc7;
}
.little-light {
  position: absolute;
  top: 21%;
  right: 12%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e1be5d;
  box-shadow: -19px -24px 0 -2px #e1be5d, 15px 25px 0 -2px #b2bc83;
}
.mascot {
  position: relative;
  display: block;
  width: min(100%, 330px);
  aspect-ratio: 444 / 456;
  padding: 0;
  border: 0;
  border-radius: 45%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.mascot:focus-visible { outline: 3px solid #65833e; outline-offset: 8px; }
/* Both GIFs use the same fixed canvas. Bottom alignment matches their feet. */
.mascot-idle { display: block; width: 100%; height: 100%; }
.mascot-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  user-select: none;
}
.mascot-jump { position: absolute; inset: 0; }
.mascot-jump[hidden] { display: none; }
.is-jumping .mascot-idle { visibility: hidden; }
.hint {
  width: max-content;
  max-width: 100%;
  min-height: 2.4em;
  margin: 4px auto 0;
  padding: 5px 18px;
  border: 1px solid #dce1cb;
  border-radius: 999px;
  background: #fffdf7;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.8;
}
.mascot-guide { margin-top: 10px; color: var(--muted); font-size: .75rem; line-height: 1.8; }
.keyboard-hint { margin-top: 4px; color: var(--muted); font-size: .6875rem; line-height: 1.8; }
.section-heading { display: flex; gap: 18px; align-items: baseline; }
.section-number { flex: 0 0 auto; color: var(--wood); font-size: .75rem; letter-spacing: .12em; }
h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  line-height: 1.7;
  letter-spacing: .045em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.about {
  padding: 38px 42px 40px;
  border-top: 3px solid #9b8867;
  border-radius: 3px 3px 18px 18px;
  background: #f0f1e5;
}
.about-content { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 46px; margin-top: 24px; }
.about-copy { font-size: .9375rem; line-height: 2; }
.about-copy p + p { margin-top: 14px; }
.work-types { display: flex; justify-content: space-between; gap: 14px; margin: 0; padding: 0; list-style: none; }
.work-types li { display: grid; justify-items: center; gap: 12px; }
.work-types svg { width: 40px; height: 40px; color: #6b7d4d; }
.work-types span { white-space: nowrap; font-size: .75rem; }
.inspiration { padding-block: 86px 78px; }
.essay-layout { max-width: 680px; margin-top: 32px; }
.idea-decoration { width: 170px; max-width: 100%; margin: 0 auto 32px; }
.idea-decoration svg { width: 100%; height: auto; }
.essay { color: #3f4c39; font-size: 1rem; line-height: 2.15; text-align: left; line-break: strict; overflow-wrap: anywhere; }
.essay p + p { margin-top: 1.35em; }
.essay .workshop-name { margin-block: 26px; font-size: 1.35rem; letter-spacing: .08em; color: var(--forest); }
.workshop-name strong { padding-bottom: 6px; background: linear-gradient(#e8cf8b, #e8cf8b) left bottom / 100% 4px no-repeat; }
.works { padding-block: 42px 80px; border-top: 1px solid var(--line); }
.works-grid { display: grid; gap: 24px; margin-top: 28px; }
.work-card {
  position: relative;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  overflow: hidden;
  border: 1px solid #2c4054;
  border-radius: 16px;
  background: #101f32;
  color: #f4f6f6;
}
.space-scene {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 19%, #e0e9f6 0 1px, transparent 1.7px),
    radial-gradient(circle at 79% 69%, #e0e9f6 0 1px, transparent 1.7px),
    radial-gradient(circle at 63% 14%, #7a9abf 0 1px, transparent 1.7px),
    radial-gradient(circle at 30% 49%, #7a9abf 0 1px, transparent 1.7px),
    radial-gradient(circle at 89% 36%, #7a9abf 0 1px, transparent 1.7px),
    radial-gradient(ellipse at 20% 100%, #253f57, #101f32 70%);
}
.planet {
  position: absolute;
  width: 245px;
  height: 245px;
  left: -34px;
  bottom: -127px;
  border: 1px solid #83b4c4;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 67% 22%, #6a9d8d 0 13%, transparent 14%),
    radial-gradient(ellipse at 39% 45%, #6a9d8d 0 17%, transparent 18%),
    linear-gradient(135deg, #43859b, #23435d 70%);
  box-shadow: 0 0 25px #7bb6d12b, inset 10px 10px 28px #9cd2d840;
}
.orbit { position: absolute; width: 390px; height: 390px; left: -107px; bottom: -200px; border: 1px solid #9dc9de26; border-radius: 50%; }
.orbit-two { width: 480px; height: 480px; left: -152px; bottom: -245px; }
.meteor { position: absolute; width: 17px; height: 17px; border-radius: 50%; background: #f0ce8b; box-shadow: 0 0 16px #e5b75e50; }
.meteor::before {
  content: "";
  position: absolute;
  width: 92px;
  height: 13px;
  bottom: 4px;
  left: 8px;
  transform: rotate(-42deg);
  transform-origin: left center;
  border-radius: 0 100% 0 0;
  background: linear-gradient(90deg, #e3b86a9c, #e3b86a00);
}
.meteor-one { left: 53%; top: 35%; }
.meteor-two { left: 29%; top: 25%; width: 8px; height: 8px; opacity: .65; }
.meteor-two::before { width: 54px; height: 6px; bottom: 1px; left: 3px; }
.typing-key {
  position: absolute;
  top: 54%;
  right: 16%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 42px;
  border: 1px solid #9db9cd;
  border-bottom-width: 4px;
  border-radius: 7px;
  color: #d7e9f1;
  font-family: ui-monospace, monospace;
  font-size: 1.1rem;
  transform: rotate(10deg);
}
.work-copy { align-self: center; padding: 36px 42px 36px 20px; }
.work-status { display: inline-block; padding: 3px 12px; border: 1px solid #6a7a81; border-radius: 4px; color: #e5d6ae; font-size: .75rem; letter-spacing: .08em; line-height: 1.8; }
h3 { margin-top: 17px; font-size: clamp(1.5rem, 2.8vw, 2rem); line-height: 1.6; letter-spacing: .045em; word-break: keep-all; overflow-wrap: anywhere; }
.work-copy p { color: #c7d3dc; font-size: .9375rem; line-height: 1.95; }
.work-copy .work-lead { margin-block: 16px 6px; color: #f4f6f6; font-weight: 700; }
.site-footer { display: flex; flex-direction: column; align-items: center; padding: 34px 24px 30px; border-top: 1px solid var(--line); background: #f1f1e5; }
.site-footer svg { width: 28px; height: 25px; margin-bottom: 12px; }
.footer-name { font-size: .9375rem; font-weight: 700; letter-spacing: .1em; }
.site-footer small { margin-top: 14px; color: var(--muted); font-size: .6875rem; }

/* The picture source supplies a still frame, including before JS runs. */
@media (prefers-reduced-motion: reduce) {
  .mascot-jump { display: none; }
  .is-jumping .mascot-idle { visibility: visible; }
}
@media (max-width: 900px) {
  .workshop { width: calc(100% - 64px); }
  .hero { gap: 8px; padding-block: 52px; }
  .hero-description { font-size: .9375rem; }
  .about { padding: 30px; }
  .about-content { grid-template-columns: 1fr; gap: 28px; }
  .work-types { justify-content: flex-start; gap: 38px; }
  .work-card { grid-template-columns: .65fr 1.35fr; }
  .work-copy { padding: 30px 30px 30px 18px; }
}
@media (max-width: 640px) {
  .workshop { width: calc(100% - 40px); }
  .hero { grid-template-columns: 1fr; gap: 24px; padding-block: 36px 42px; }
  .workshop-mark { width: 44px; height: 39px; margin-bottom: 16px; }
  .intro h1 { font-size: clamp(1.9rem, 7.7vw, 2.5rem); letter-spacing: .04em; }
  .tagline { margin-top: 12px; font-size: 1.0625rem; }
  .hero-description { margin-top: 24px; font-size: .9375rem; }
  .idea-quote { margin-bottom: 8px; font-size: .875rem; }
  .mascot-corner { width: 100%; max-width: 340px; margin-inline: auto; }
  .mascot { width: min(82%, 265px); }
  .stage::after { width: 77%; }
  .little-light { right: 15%; }
  .keyboard-hint { display: none; }
  .about { padding: 26px 22px 28px; }
  .section-heading { gap: 12px; }
  .section-number { font-size: .6875rem; }
  h2 { font-size: 1.3rem; letter-spacing: .025em; }
  .about-content { margin-top: 20px; gap: 26px; }
  .work-types { justify-content: space-between; gap: 10px; }
  .work-types svg { width: 34px; height: 34px; }
  .work-types li { gap: 8px; }
  .work-types span { font-size: .6875rem; }
  .inspiration { padding-block: 54px 48px; }
  .essay-layout { margin-top: 28px; }
  .idea-decoration { width: 130px; margin-bottom: 28px; }
  .essay { font-size: 1rem; line-height: 2.1; }
  .essay p + p { margin-top: 1.3em; }
  .essay .workshop-name { font-size: 1.25rem; letter-spacing: .04em; }
  .works { padding-block: 32px 48px; }
  .works-grid { margin-top: 22px; }
  .work-card { grid-template-columns: 1fr; }
  .space-scene { min-height: 180px; }
  .planet { left: -6px; bottom: -153px; }
  .orbit-one { left: -80px; bottom: -227px; }
  .orbit-two { left: -125px; bottom: -272px; }
  .meteor-one { top: 38%; }
  .typing-key { top: 51%; right: 18%; width: 32px; height: 34px; font-size: .875rem; }
  .work-copy { padding: 12px 26px 30px; }
  h3 { font-size: 1.65rem; }
  .work-copy p { font-size: .875rem; }
}
