:root {
  --paper: #fbfcf6;
  --paper-soft: #f1f6ea;
  --mist: #dfe9d7;
  --sage: #95ad8f;
  --leaf: #5f8064;
  --pine: #203c2f;
  --ink: #17241e;
  --muted: #68786d;
  --cream: #f7ead4;
  --coral: #d98d73;
  --line: rgba(32, 60, 47, 0.14);
  --shadow: 0 24px 70px rgba(45, 74, 51, 0.16);
  --radius: 8px;
  --cursor-x: 50vw;
  --cursor-y: 50vh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 12%, rgba(149, 173, 143, 0.22), transparent 27rem),
    radial-gradient(circle at 86% 16%, rgba(247, 234, 212, 0.78), transparent 31rem),
    linear-gradient(135deg, #fbfcf6 0%, #f5f9ee 46%, #eef6eb 100%);
  font-family:
    "Avenir Next", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
  min-height: 100vh;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(32, 60, 47, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(32, 60, 47, 0.035) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), transparent 76%);
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.cursor-glow {
  position: fixed;
  left: var(--cursor-x);
  top: var(--cursor-y);
  z-index: 20;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(142, 176, 136, 0.32), rgba(142, 176, 136, 0.08) 42%, transparent 70%);
  filter: blur(7px);
  transition: opacity 220ms ease;
  mix-blend-mode: multiply;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 999px;
  background: rgba(251, 252, 246, 0.76);
  box-shadow: 0 14px 40px rgba(42, 67, 45, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  padding: 4px 8px;
  font-weight: 700;
}

.brand-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, #dceccf, var(--leaf));
  box-shadow: 0 0 0 6px rgba(149, 173, 143, 0.14);
}

.nav-links {
  gap: 4px;
}

.nav-links a {
  min-width: 54px;
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--pine);
  background: rgba(149, 173, 143, 0.16);
}

.hero,
.subpage,
.identity-section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.game-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 40px);
  min-height: calc(100vh - 100px);
  padding: 64px 0 42px;
}

.hero-copy {
  position: relative;
  z-index: 5;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-size: clamp(56px, 11vw, 132px);
  font-weight: 500;
  line-height: 0.9;
}

.page-hero h1 {
  font-size: clamp(54px, 8vw, 104px);
}

h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 680;
  line-height: 1.08;
}

h3 {
  font-size: 20px;
}

.lead {
  max-width: 620px;
  margin-bottom: 18px;
  color: var(--pine);
  font-size: clamp(22px, 3.2vw, 40px);
  font-weight: 650;
  line-height: 1.18;
}

.hero-note,
.page-hero p,
.overview-band p,
.detail-summary {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 18px;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  border-color: var(--pine);
  background: var(--pine);
  box-shadow: 0 14px 28px rgba(32, 60, 47, 0.18);
}

.button.ghost {
  color: var(--pine);
  background: rgba(255, 255, 255, 0.58);
}

.avatar-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.avatar-stage::before {
  position: absolute;
  inset: 8% -8% 0 40%;
  z-index: 0;
  content: "";
  background:
    radial-gradient(ellipse at 68% 52%, rgba(255, 255, 255, 0.9), rgba(207, 228, 196, 0.28) 44%, transparent 74%),
    radial-gradient(circle at 18% 22%, rgba(143, 180, 138, 0.14), transparent 12rem),
    radial-gradient(circle at 86% 18%, rgba(223, 143, 115, 0.12), transparent 14rem);
  filter: blur(1px);
}

.loading-chip {
  position: absolute;
  left: 22px;
  top: 22px;
  z-index: 2;
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid rgba(32, 60, 47, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--pine);
  font-size: 12px;
  font-weight: 700;
}

.loading-chip span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
  animation: pulse 1.4s infinite;
}

.stage-orbit {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
  cursor: grab;
  perspective: 900px;
  --avatar-rotate: 0deg;
}

.stage-orbit:active {
  cursor: grabbing;
}

.avatar-character {
  position: relative;
  z-index: 1;
  width: min(82%, 430px);
  max-height: 580px;
  object-fit: contain;
  transform: rotateY(var(--avatar-rotate)) translateY(0);
  transform-origin: 50% 72%;
  animation: idle 3.8s ease-in-out infinite;
  filter: drop-shadow(0 28px 35px rgba(33, 49, 37, 0.18));
  transition: transform 160ms ease-out;
  user-select: none;
}

.avatar-character.wave {
  animation: wave 900ms ease, idle 3.8s ease-in-out 900ms infinite;
}

.avatar-character.is-dragging {
  transition: none;
}

.avatar-shadow {
  position: absolute;
  bottom: 24px;
  width: 58%;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(32, 60, 47, 0.2), transparent 70%);
  filter: blur(7px);
}

.stage-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.identity-section {
  padding: 24px 0 88px;
}

.section-heading {
  margin-bottom: 24px;
}

.identity-grid,
.project-grid,
.creation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.identity-card,
.project-card,
.journey-item,
.contact-card,
.overview-band,
.detail-article {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 18px 48px rgba(42, 67, 45, 0.08);
  backdrop-filter: blur(14px);
}

.identity-card {
  position: relative;
  min-height: 250px;
  padding: 24px;
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.identity-card::before {
  position: absolute;
  inset: auto -20% -40% 18%;
  height: 140px;
  content: "";
  background: radial-gradient(circle, rgba(149, 173, 143, 0.3), transparent 66%);
  transition: transform 220ms ease;
}

.identity-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.identity-card:hover::before {
  transform: translateY(-24px) scale(1.15);
}

.identity-number {
  color: var(--sage);
  font-family: Georgia, serif;
  font-size: 40px;
}

.identity-card h3 {
  margin: 28px 0 8px;
  font-size: 32px;
}

.identity-kicker {
  color: var(--pine);
  font-size: 17px;
  font-weight: 700;
}

.identity-card p:last-child {
  color: var(--muted);
  line-height: 1.7;
}

.brand-module {
  display: grid;
  align-content: start;
  gap: 14px;
}

.brand-module .identity-number {
  position: absolute;
  right: 22px;
  top: 18px;
}

.module-metric {
  display: grid;
  gap: 5px;
  max-width: 210px;
}

.module-metric strong {
  color: var(--pine);
  font-family: Georgia, serif;
  font-size: clamp(46px, 5vw, 72px);
  line-height: 0.9;
}

.module-metric span,
.brand-module em {
  color: var(--leaf);
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
}

.brand-module h3 {
  margin: 6px 0 0;
}

.brand-module .tag-cloud {
  margin-top: 6px;
}

.brand-module em {
  margin-top: auto;
}

.subpage {
  padding: 72px 0 88px;
}

.page-hero.compact {
  max-width: 820px;
  padding: 34px 0 46px;
}

.overview-band {
  margin-bottom: 32px;
  padding: 28px;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-cloud span,
.contact-topics span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(95, 128, 100, 0.18);
  border-radius: 999px;
  background: rgba(245, 249, 238, 0.76);
  color: var(--pine);
  font-size: 13px;
}

.tag-cloud.compact span {
  min-height: 26px;
  font-size: 12px;
}

.content-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.side-rail {
  position: sticky;
  top: 104px;
}

.side-rail h2,
.mini-list h3 {
  margin: 22px 0 12px;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.timeline-item,
.mini-list p {
  padding: 0 0 18px 18px;
  border-left: 1px solid var(--line);
}

.timeline-item time,
.journey-item time,
.card-meta,
.detail-meta {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline-item h3 {
  margin: 6px 0;
  font-size: 18px;
}

.timeline-item p,
.mini-list p,
.project-card p,
.journey-item p,
.detail-article p,
.detail-article li {
  color: var(--muted);
  line-height: 1.75;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 46px;
}

.project-card {
  padding: 22px;
}

.project-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.project-block h4 {
  margin: 0 0 8px;
  color: var(--pine);
  font-size: 14px;
}

.project-block ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 14px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.65;
}

.system-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.system-list span {
  padding: 7px 10px;
  border: 1px solid rgba(32, 60, 47, 0.12);
  border-radius: 8px;
  background: rgba(245, 249, 238, 0.78);
  color: var(--pine);
  font-size: 13px;
  font-weight: 700;
}

.card-meta,
.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.card-meta span,
.detail-meta span {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(149, 173, 143, 0.13);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: var(--pine);
  font-weight: 800;
}

.text-link::after {
  margin-left: 6px;
  content: "↗";
}

.link-list {
  display: grid;
  gap: 10px;
}

.link-list a {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-bottom: 1px solid var(--line);
}

.link-list span {
  color: var(--leaf);
  font-size: 13px;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter-bar button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.62);
  cursor: pointer;
}

.filter-bar button.active,
.filter-bar button:hover {
  color: #fff;
  border-color: var(--leaf);
  background: var(--leaf);
}

.creation-modules {
  display: grid;
  gap: 18px;
}

.creation-module {
  position: relative;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  grid-template-areas:
    "head sections"
    "tags sections";
  gap: 18px 28px;
  padding: 26px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(242, 248, 236, 0.68)),
    radial-gradient(circle at 6% 10%, rgba(149, 173, 143, 0.2), transparent 22rem);
  box-shadow: 0 22px 60px rgba(42, 67, 45, 0.1);
  overflow: hidden;
}

.creation-module::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 7px;
  content: "";
  background: var(--leaf);
}

.creation-module[data-accent="design"]::before {
  background: var(--coral);
}

.creation-module[data-accent="game"]::before {
  background: #6d927a;
}

.module-head {
  grid-area: head;
  display: grid;
  align-content: start;
  gap: 18px;
}

.module-index {
  color: rgba(95, 128, 100, 0.28);
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: 0.9;
}

.module-head h2 {
  margin-bottom: 12px;
}

.module-head p {
  color: var(--muted);
  line-height: 1.7;
}

.module-tags {
  grid-area: tags;
  align-self: end;
}

.module-sections {
  grid-area: sections;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.module-section {
  min-height: 210px;
  padding: 16px;
  border: 1px solid rgba(32, 60, 47, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
}

.module-section.has-media {
  grid-column: span 5;
}

.module-section.has-links {
  grid-column: span 3;
  background: rgba(245, 249, 238, 0.84);
}

.module-section:not(.has-media):not(.has-links) {
  grid-column: span 3;
}

.media-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}

.media-tile {
  margin: 0;
  border: 1px solid rgba(32, 60, 47, 0.1);
  border-radius: 12px;
  background: rgba(245, 249, 238, 0.76);
  overflow: hidden;
}

.media-tile img,
.media-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 128px;
  object-fit: cover;
  background:
    linear-gradient(135deg, rgba(223, 233, 215, 0.9), rgba(247, 234, 212, 0.7));
  color: var(--leaf);
  font-weight: 800;
}

.media-tile figcaption {
  display: grid;
  gap: 3px;
  padding: 10px;
}

.media-tile figcaption strong {
  color: var(--pine);
  font-size: 13px;
}

.media-tile figcaption span {
  color: var(--muted);
  font-size: 12px;
}

.mini-program-link {
  display: inline-flex;
  max-width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(32, 60, 47, 0.08);
  color: var(--pine);
  font-size: 13px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.module-section h3 {
  margin-bottom: 12px;
  color: var(--pine);
  font-size: 16px;
}

.module-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.module-section.has-links .card-actions {
  display: grid;
  align-items: end;
  min-height: 46px;
}

.journey-explorer {
  display: grid;
  gap: 20px;
}

.journey-timeline {
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 16px 40px rgba(42, 67, 45, 0.08);
  overflow-x: auto;
}

.journey-timeline button {
  border: 0;
  cursor: pointer;
  text-align: left;
}

.journey-timeline button {
  flex: 0 0 auto;
  min-width: 150px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
}

.journey-timeline button span,
.preview-current time {
  display: block;
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
}

.journey-timeline button strong {
  display: block;
  margin-top: 4px;
  color: var(--pine);
}

.journey-timeline button.active {
  background: var(--pine);
  box-shadow: 0 10px 22px rgba(32, 60, 47, 0.2);
}

.journey-timeline button.active span,
.journey-timeline button.active strong {
  color: #fff;
}

.journey-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 20px;
  align-items: stretch;
}

.map-panel,
.journey-preview {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 0 22px 60px rgba(42, 67, 45, 0.1);
  backdrop-filter: blur(14px);
}

.map-panel {
  min-height: 620px;
  padding: 26px;
}

.map-surface {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  min-height: 560px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 24% 20%, rgba(255, 255, 255, 0.9), transparent 14rem),
    linear-gradient(135deg, rgba(232, 242, 224, 0.9), rgba(247, 234, 212, 0.36));
  overflow: hidden;
}

.echarts-map {
  width: 100%;
  height: 100%;
  min-height: 560px;
}

.map-base {
  position: absolute;
  inset: 4% 5%;
  width: 90%;
  height: 90%;
  object-fit: contain;
  opacity: 0.92;
}

.map-marker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.map-marker span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 6px rgba(149, 173, 143, 0.16);
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.map-marker em {
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  font-style: normal;
  font-size: 12px;
  white-space: nowrap;
}

.map-marker.active {
  z-index: 2;
  color: var(--pine);
}

.map-marker.active span {
  transform: scale(1.45);
  background: var(--coral);
  box-shadow: 0 0 0 10px rgba(217, 141, 115, 0.2);
}

.journey-preview {
  display: block;
  min-height: 620px;
  overflow: hidden;
}

.preview-current {
  padding: 24px;
  border-bottom: 1px solid var(--line);
}

.preview-current h2 {
  margin: 10px 0 14px;
}

.preview-current p {
  color: var(--muted);
  line-height: 1.75;
}

.preview-copy {
  margin: 14px 0;
  padding: 14px;
  border-left: 3px solid rgba(95, 128, 100, 0.45);
  border-radius: 8px;
  background: rgba(245, 249, 238, 0.7);
  color: var(--muted);
  line-height: 1.75;
}


.contact-main {
  display: grid;
  min-height: calc(100vh - 160px);
  place-items: center;
}

.contact-card {
  width: min(720px, 100%);
  padding: clamp(28px, 6vw, 64px);
}

.email-box {
  display: grid;
  gap: 6px;
  margin: 28px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(245, 249, 238, 0.76);
}

.email-box span {
  color: var(--pine);
  font-size: clamp(18px, 4vw, 30px);
  font-weight: 800;
}

.email-box small {
  color: var(--muted);
}

.contact-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: 24px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 80px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background:
    radial-gradient(circle at 8% 0%, rgba(149, 173, 143, 0.22), transparent 22rem),
    rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.home-contact h2 {
  margin-bottom: 14px;
}

.home-contact p {
  color: var(--muted);
  line-height: 1.8;
}

.detail-article {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(26px, 6vw, 58px);
}

.detail-article h1 {
  font-size: clamp(42px, 7vw, 82px);
}

.detail-article section {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 36px;
  color: var(--muted);
  font-size: 13px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease var(--reveal-delay, 0ms),
    transform 600ms ease var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes idle {
  0%,
  100% {
    transform: rotateY(var(--avatar-rotate)) translateY(0);
  }
  50% {
    transform: rotateY(var(--avatar-rotate)) translateY(-7px);
  }
}

@keyframes wave {
  0%,
  100% {
    transform: rotateY(var(--avatar-rotate)) rotateZ(0) translateY(0);
  }
  25% {
    transform: rotateY(var(--avatar-rotate)) rotateZ(-2.8deg) translateY(-8px);
  }
  55% {
    transform: rotateY(var(--avatar-rotate)) rotateZ(2.4deg) translateY(-5px);
  }
  80% {
    transform: rotateY(var(--avatar-rotate)) rotateZ(-1.4deg) translateY(-7px);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.85);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 920px) {
  .game-hero,
  .content-layout,
  .journey-map-layout,
  .creation-module,
  .home-contact {
    grid-template-columns: 1fr;
  }

  .creation-module {
    grid-template-areas:
      "head"
      "tags"
      "sections";
  }

  .game-hero {
    min-height: auto;
    padding-top: 42px;
  }

  .avatar-stage {
    position: relative;
    min-height: 560px;
  }

  .hero-illustration {
    top: 4%;
    right: 8%;
    width: min(390px, 58vw);
  }

  .hero-el-work-main {
    top: 4%;
    left: 8%;
    width: min(300px, 42vw);
  }

  .hero-el-print {
    top: 8%;
    right: 2%;
    width: min(240px, 34vw);
  }

  .hero-el-map {
    left: 10%;
    bottom: 4%;
    width: min(280px, 42vw);
  }

  .hero-el-phone {
    right: 4%;
    bottom: 16%;
    width: min(160px, 24vw);
  }

  .hero-el-camera {
    left: 44%;
    bottom: 8%;
    width: min(110px, 18vw);
  }

  .identity-grid,
  .project-grid,
  .creation-grid {
    grid-template-columns: 1fr;
  }

  .side-rail {
    position: static;
  }

  .module-sections {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .module-section.has-media,
  .module-section.has-links,
  .module-section:not(.has-media):not(.has-links) {
    grid-column: span 3;
  }

  .project-block ul {
    grid-template-columns: 1fr;
  }

  .journey-preview {
    max-height: none;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    border-radius: 24px;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex-wrap: wrap;
  }

  .nav-links a {
    flex: 1;
  }

  .avatar-stage {
    min-height: 480px;
  }

  .hero-illustration {
    top: 10%;
    right: 2%;
    width: min(340px, 68vw);
  }

  .hero-el-work-main {
    left: -10%;
    top: 2%;
    width: 56vw;
    opacity: 0.58;
  }

  .hero-el-print {
    right: -14%;
    top: 4%;
    width: 46vw;
    opacity: 0.62;
  }

  .hero-el-map {
    left: -8%;
    bottom: 2%;
    width: 54vw;
    opacity: 0.54;
  }

  .hero-el-phone {
    display: none;
  }

  .hero-el-camera {
    right: 14%;
    left: auto;
    bottom: 4%;
    width: 20vw;
    opacity: 0.6;
  }

  .stage-orbit {
    min-height: 420px;
  }

  .avatar-character {
    width: min(88%, 340px);
  }

  .site-footer {
    flex-direction: column;
  }

  .module-sections {
    grid-template-columns: 1fr;
  }

  .module-section.has-media,
  .module-section.has-links,
  .module-section:not(.has-media):not(.has-links) {
    grid-column: auto;
  }

  .journey-timeline {
    border-radius: 22px;
  }

  .journey-timeline button {
    min-width: 132px;
  }

  .map-panel {
    min-height: 460px;
    padding: 14px;
  }

  .map-surface {
    min-height: 430px;
  }

  .map-marker em {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

/* 2026 redesign pass: clearer information architecture, less generic card stacking. */
:root {
  --paper: #fbfff8;
  --paper-soft: #eef7ea;
  --mist: #d9e8d4;
  --sage: #8fb48a;
  --leaf: #4f7f57;
  --pine: #153326;
  --ink: #10241a;
  --muted: #60746a;
  --cream: #fff2d7;
  --coral: #df8f73;
  --line: rgba(21, 51, 38, 0.14);
  --shadow: 0 28px 90px rgba(35, 64, 45, 0.13);
  --radius: 8px;
}

body {
  background:
    radial-gradient(circle at 8% 0%, rgba(126, 171, 122, 0.22), transparent 28rem),
    radial-gradient(circle at 92% 6%, rgba(255, 242, 215, 0.72), transparent 30rem),
    linear-gradient(120deg, #fbfff8 0%, #f4faef 52%, #eff8ec 100%);
}

body::before {
  background-size: 44px 44px;
  opacity: 0.72;
}

.site-header {
  top: 14px;
  width: min(1160px, calc(100% - 40px));
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(21, 51, 38, 0.08);
  border-radius: 8px;
  background: rgba(251, 255, 248, 0.78);
}

.brand {
  min-height: 36px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  background: #6ea06d;
  box-shadow: 0 0 0 7px rgba(110, 160, 109, 0.14);
}

.nav-links a {
  border-radius: 8px;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(95, 128, 100, 0.13);
}

.hero,
.subpage,
.identity-section,
.home-contact,
.site-footer {
  width: min(1160px, calc(100% - 40px));
}

.game-hero {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(28px, 5vw, 64px);
  min-height: auto;
  padding: clamp(48px, 7vw, 86px) 0 34px;
}

.hero-copy {
  align-self: center;
}

h1 {
  font-size: clamp(64px, 12vw, 148px);
  letter-spacing: 0;
}

.lead {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(24px, 3vw, 42px);
}

.hero-note,
.page-hero p,
.overview-band p,
.detail-summary {
  max-width: 760px;
  font-size: 17px;
}

.avatar-stage {
  min-height: 560px;
  border-radius: 0;
  background: transparent;
}

.stage-orbit {
  min-height: 490px;
}

.avatar-character {
  width: min(82%, 360px);
}

.button {
  border-radius: 8px;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.identity-section {
  padding: 34px 0 76px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.section-heading h2 {
  max-width: 720px;
}

.identity-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.home-identity {
  position: relative;
  display: grid;
  grid-template-columns: 86px minmax(320px, 0.7fr) minmax(420px, 1fr);
  gap: 26px;
  align-items: stretch;
  min-height: 218px;
  padding: 24px;
  border: 1px solid rgba(21, 51, 38, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(244, 250, 239, 0.72)),
    radial-gradient(circle at 78% 50%, rgba(143, 180, 138, 0.16), transparent 20rem);
  box-shadow: 0 18px 50px rgba(35, 64, 45, 0.08);
  overflow: hidden;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.home-identity::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  content: "";
  background: var(--leaf);
}

.home-identity:nth-child(2)::before {
  background: var(--coral);
}

.home-identity:nth-child(3)::before {
  background: #73a7a0;
}

.home-identity:hover {
  transform: translateX(8px);
  border-color: rgba(21, 51, 38, 0.2);
  box-shadow: var(--shadow);
}

.home-identity .identity-number {
  align-self: start;
  color: rgba(79, 127, 87, 0.28);
  font-size: 52px;
  line-height: 1;
}

.home-identity-main {
  display: grid;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.home-identity-main h3 {
  margin: 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.home-identity-main p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.home-identity .module-metric {
  display: grid;
  align-items: start;
  gap: 4px;
  max-width: none;
}

.home-identity .module-metric strong {
  color: var(--pine);
  font-size: clamp(42px, 5vw, 68px);
}

.home-identity .module-metric span {
  padding-bottom: 0;
  color: var(--pine);
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  line-height: 1.08;
}

.home-identity-meta {
  display: grid;
  align-content: space-between;
  gap: 18px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.home-identity-art {
  position: absolute;
  inset: 12px 18px 12px auto;
  z-index: 1;
  display: grid;
  place-items: center;
  width: min(43%, 510px);
  height: calc(100% - 24px);
  pointer-events: none;
  mix-blend-mode: normal;
}

.home-identity em,
.brand-module em {
  color: var(--pine);
  font-style: normal;
  font-weight: 800;
}

.home-identity em::after,
.text-link::after {
  margin-left: 6px;
  content: "↗";
}

.subpage {
  padding: 56px 0 82px;
}

.page-hero.compact {
  max-width: 980px;
  padding: 32px 0 38px;
}

.overview-band,
.project-card,
.journey-item,
.contact-card,
.detail-article,
.map-panel,
.journey-preview,
.home-contact {
  border: 1px solid rgba(21, 51, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.overview-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
  padding: 28px;
}

.overview-band .tag-cloud {
  justify-content: flex-end;
}

.content-layout {
  grid-template-columns: 270px minmax(0, 1fr);
}

.side-rail {
  top: 96px;
}

.timeline-item,
.mini-list p {
  padding-left: 16px;
  border-left-color: rgba(79, 127, 87, 0.3);
}

.project-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.project-sheet {
  padding: 0;
  overflow: hidden;
}

.project-sheet-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.62fr);
  gap: 18px;
  align-items: start;
  padding: 22px 24px 16px;
  background: linear-gradient(90deg, rgba(242, 248, 236, 0.88), rgba(255, 255, 255, 0.82));
}

.project-sheet h3 {
  margin: 0;
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1.18;
}

.project-brief {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 20px;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
}

.project-brief span,
.project-block h4,
.module-section-title span {
  color: var(--leaf);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-brief p {
  margin: 0;
}

.project-columns {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.72fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.project-columns .project-block {
  margin: 0;
  padding: 18px 24px 22px;
  border-top: 0;
}

.project-columns .project-block + .project-block {
  border-left: 1px solid var(--line);
}

.project-block ul {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px 18px;
}

.system-list {
  align-content: start;
}

.system-list span {
  border-radius: 6px;
  background: rgba(238, 247, 233, 0.96);
  font-weight: 760;
}

.project-sheet > .card-actions {
  padding: 0 24px 22px;
}

.creation-modules {
  gap: 26px;
}

.creation-module {
  grid-template-columns: 280px minmax(0, 1fr);
  grid-template-areas: "head sections";
  gap: 28px;
  min-height: 420px;
  padding: 28px;
  border-color: rgba(21, 51, 38, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(105deg, rgba(255, 255, 255, 0.84), rgba(242, 248, 236, 0.74)),
    radial-gradient(circle at 0% 0%, rgba(143, 180, 138, 0.18), transparent 21rem);
}

.creation-module::before {
  width: 6px;
}

.module-head {
  position: sticky;
  top: 104px;
  align-self: start;
  gap: 16px;
}

.module-index {
  font-size: 72px;
}

.module-head h2 {
  font-size: clamp(34px, 4.2vw, 62px);
}

.module-head p {
  font-size: 16px;
}

.module-tags {
  grid-area: auto;
  align-self: auto;
}

.module-sections {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.module-section {
  min-height: auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.module-section-title {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 12px;
}

.module-section-title h3 {
  margin: 0;
}

.visual-section {
  grid-column: span 7;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
}

.text-section {
  grid-column: span 5;
  background: rgba(246, 250, 241, 0.88);
}

.action-section {
  grid-column: span 5;
  display: grid;
  align-content: space-between;
  background:
    linear-gradient(135deg, rgba(21, 51, 38, 0.05), rgba(255, 255, 255, 0.72)),
    rgba(246, 250, 241, 0.9);
}

.creation-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.media-tile {
  grid-column: span 3;
  border-radius: 8px;
}

.media-tile.featured {
  grid-column: span 6;
}

.media-tile img,
.media-placeholder {
  height: 168px;
}

.media-tile.featured img,
.media-tile.featured .media-placeholder {
  height: 240px;
}

.media-placeholder {
  background:
    linear-gradient(135deg, rgba(221, 237, 211, 0.92), rgba(255, 242, 215, 0.78)),
    linear-gradient(90deg, rgba(21, 51, 38, 0.06) 1px, transparent 1px);
  background-size: auto, 22px 22px;
}

.module-list {
  padding-left: 20px;
}

.module-list li + li {
  margin-top: 6px;
}

.mini-program-link {
  border-radius: 6px;
}

.journey-explorer {
  gap: 14px;
}

.journey-timeline {
  border-radius: 8px;
  padding: 8px;
  scrollbar-width: thin;
}

.journey-timeline button {
  min-width: 154px;
  border-radius: 6px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.journey-timeline button:hover {
  transform: translateY(-1px);
}

.journey-map-layout {
  grid-template-columns: minmax(0, 1fr) 380px;
}

.map-panel,
.journey-preview {
  min-height: 640px;
  box-shadow: 0 22px 70px rgba(35, 64, 45, 0.1);
}

.map-panel {
  padding: 18px;
}

.map-surface {
  min-height: 604px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 32% 32%, rgba(255, 255, 255, 0.9), transparent 16rem),
    linear-gradient(135deg, rgba(231, 244, 224, 0.95), rgba(255, 242, 215, 0.42));
}

.echarts-map {
  min-height: 604px;
}

.map-base {
  inset: 3% 4%;
  width: 92%;
  height: 92%;
}

.map-marker em {
  border: 1px solid rgba(21, 51, 38, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.84);
}

.journey-preview {
  display: grid;
}

.preview-current {
  display: grid;
  align-content: start;
  padding: 28px;
  border-bottom: 0;
}

.preview-current h2 {
  font-size: clamp(36px, 5vw, 58px);
}

.preview-copy {
  margin: 18px 0;
  border-left: 4px solid rgba(79, 127, 87, 0.42);
  border-radius: 6px;
}

.home-contact {
  margin-bottom: 72px;
  border-radius: 8px;
}

.email-box {
  border-radius: 8px;
}

@media (max-width: 1020px) {
  .overview-band,
  .project-sheet-head,
  .project-columns {
    grid-template-columns: 1fr;
  }

  .project-columns .project-block + .project-block {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .creation-module {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "sections";
  }

  .module-head {
    position: static;
  }

  .journey-map-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 920px) {
  .game-hero {
    grid-template-columns: 1fr;
  }

  .overview-band .tag-cloud {
    justify-content: flex-start;
  }

  .visual-section,
  .text-section,
  .action-section {
    grid-column: span 6;
  }
}

@media (max-width: 680px) {
  .site-header,
  .home-identity,
  .creation-module,
  .map-panel,
  .journey-preview,
  .home-contact {
    width: calc(100% - 28px);
  }

  .site-header {
    margin-inline: auto;
  }

  .home-identity {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .avatar-stage {
    min-height: 460px;
  }

  .module-sections,
  .creation-gallery {
    grid-template-columns: 1fr;
  }

  .visual-section,
  .text-section,
  .action-section,
  .media-tile,
  .media-tile.featured {
    grid-column: auto;
  }

  .media-tile img,
  .media-placeholder,
  .media-tile.featured img,
  .media-tile.featured .media-placeholder {
    height: 190px;
  }

  .project-brief {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .project-block ul {
    grid-template-columns: 1fr;
  }

  .map-panel,
  .journey-preview {
    min-height: auto;
  }
}

.illustration-stage {
  display: block;
}

.hero-illustration {
  position: absolute;
  right: 3%;
  top: 12%;
  z-index: 4;
  width: min(380px, 30vw);
  max-width: none;
  max-height: none;
  object-fit: contain;
  transform: rotate(1deg);
  filter: drop-shadow(0 26px 38px rgba(35, 64, 45, 0.1));
}

.hero-element {
  position: absolute;
  z-index: 2;
  display: block;
  width: auto;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  filter: drop-shadow(0 16px 24px rgba(35, 64, 45, 0.08));
}

.hero-piece-person {
  z-index: 4;
}

.hero-el-work-main {
  top: 12%;
  left: 55%;
  width: min(240px, 19vw);
  opacity: 0.82;
  transform: rotate(-4deg);
}

.hero-el-print {
  top: 8%;
  right: 2%;
  width: min(220px, 17vw);
  opacity: 0.86;
  transform: rotate(5deg);
}

.hero-el-phone {
  top: 38%;
  right: 0;
  width: min(130px, 10vw);
  opacity: 0.74;
  transform: rotate(9deg);
}

.hero-el-map {
  left: 52%;
  bottom: 8%;
  width: min(240px, 19vw);
  opacity: 0.74;
  transform: rotate(3deg);
}

.hero-el-camera {
  left: 47%;
  bottom: 13%;
  width: min(105px, 8vw);
  opacity: 0.64;
  transform: rotate(-7deg);
}

.identity-illustration {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 0;
  border-radius: 8px;
  background: transparent;
  opacity: 0.92;
  filter: drop-shadow(0 18px 28px rgba(35, 64, 45, 0.07));
}

.home-identity:nth-child(1) .identity-illustration {
  transform: translateY(-42px);
}

.home-identity:nth-child(2) .identity-illustration {
  transform: translateY(-50px);
}

.home-identity:nth-child(3) .identity-illustration {
  transform: translateY(-34px);
}

.illustrated-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  gap: clamp(22px, 5vw, 56px);
  align-items: center;
  max-width: 1160px;
  margin-bottom: 26px;
}

.illustrated-hero img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 1px solid rgba(21, 51, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 54px rgba(35, 64, 45, 0.1);
}

.illustrated-hero h1 {
  margin-bottom: 18px;
}

.career-page .illustrated-hero {
  grid-template-columns: minmax(0, 1fr) minmax(520px, 720px);
  align-items: center;
  max-width: none;
  width: 100%;
}

.career-page .illustrated-hero img {
  justify-self: end;
  width: min(760px, 58vw);
  max-height: 350px;
  border: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  object-position: right center;
  transform: translate(0, -8px);
}

.journey-page .illustrated-hero {
  grid-template-columns: minmax(0, 1fr) minmax(560px, 740px);
  align-items: center;
  max-width: none;
  width: 100%;
}

.journey-page .illustrated-hero img {
  justify-self: end;
  width: min(780px, 60vw);
  max-height: 360px;
  border: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  object-position: right center;
  transform: translateY(-4px);
}

@media (max-width: 920px) {
  .illustrated-hero {
    grid-template-columns: 1fr;
  }

  .illustrated-hero img {
    max-width: 520px;
  }

  .career-page .illustrated-hero {
    grid-template-columns: 1fr;
  }

  .career-page .illustrated-hero img,
  .journey-page .illustrated-hero img {
    width: min(620px, 100%);
    max-height: none;
    transform: none;
  }

  .home-identity {
    grid-template-columns: 70px minmax(0, 1fr);
    min-height: 260px;
  }

  .home-identity-main,
  .home-identity-meta {
    grid-column: 2;
  }

  .home-identity-art {
    inset: auto 14px 12px auto;
    width: min(62%, 360px);
    height: 150px;
  }

  .identity-illustration {
    width: 100%;
  }
}

@media (max-width: 680px) {
  .home-identity {
    grid-template-columns: 1fr;
    padding-bottom: 156px;
  }

  .home-identity-main,
  .home-identity-meta {
    grid-column: auto;
  }

  .home-identity-art {
    inset: auto 12px 12px 12px;
    width: auto;
    height: 132px;
  }
}

/* Creation page: sketch-inspired horizontal workbenches. */
body.creation-page .subpage {
  padding-top: 20px;
}

.creation-page .illustrated-hero {
  align-items: center;
  border-bottom: 2px solid rgba(21, 51, 38, 0.16);
  padding-bottom: 22px;
  max-width: 1160px;
}

.creation-page .illustrated-hero img {
  justify-self: end;
  width: min(730px, 58vw);
  max-height: 360px;
  border: 0;
  background: transparent;
  object-fit: contain;
  object-position: right center;
  box-shadow: none;
  transform: none;
}

.creation-modules {
  gap: 32px;
}

.creation-workbench {
  position: relative;
  display: grid;
  gap: 20px;
  padding: 26px;
  border: 1px solid rgba(21, 51, 38, 0.12);
  border-left: 6px solid var(--leaf);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(247, 251, 243, 0.72)),
    radial-gradient(circle at 72% 18%, rgba(143, 180, 138, 0.13), transparent 22rem);
  box-shadow: 0 22px 70px rgba(35, 64, 45, 0.1);
  overflow: hidden;
}

.brochure-workbench {
  border-left-color: var(--coral);
}

.brochure-workbench .module-head-side {
  align-self: stretch;
  align-content: space-between;
  padding-right: 0;
}

.game-workbench {
  border-left-color: #73a7a0;
}

.studio-head {
  display: grid;
  grid-template-columns: 74px minmax(260px, 0.72fr) minmax(320px, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(21, 51, 38, 0.16);
}

.studio-head .module-index {
  font-size: 56px;
}

.studio-head h2 {
  margin: 0 0 8px;
  font-size: clamp(34px, 4.2vw, 62px);
}

.studio-head p:not(.eyebrow) {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.studio-head .module-tags {
  justify-content: flex-end;
}

.module-head-side {
  min-width: 0;
  display: grid;
  justify-items: end;
  align-content: start;
}

.printing-grid,
.brochure-grid,
.game-grid {
  display: grid;
  gap: 16px;
}

.printing-grid {
  grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 0.85fr) minmax(340px, 1fr);
  align-items: stretch;
}

.brochure-grid {
  grid-template-columns: minmax(320px, 0.95fr) minmax(360px, 1.2fr) minmax(230px, 0.64fr);
}

.game-grid {
  grid-template-columns: minmax(420px, 1.1fr) minmax(300px, 0.78fr);
}

.studio-panel {
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(21, 51, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.66);
}

.printing-workbench .studio-panel {
  min-height: 560px;
}

.panel-kicker {
  margin-bottom: 14px;
  color: var(--pine);
  font-size: 15px;
  font-weight: 850;
}

.machine-panel {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.machine-panel .panel-kicker,
.product-panel .panel-kicker {
  grid-column: 1 / -1;
}

.material-rack {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(21, 51, 38, 0.1);
  border-radius: 8px;
  background: rgba(238, 247, 233, 0.68);
}

.material-rack strong {
  font-size: 18px;
}

.material-rack strong {
  color: var(--pine);
}

.material-rack ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.studio-media {
  display: grid;
  gap: 10px;
  margin: 0;
}

.studio-media img,
.studio-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 220px;
  object-fit: cover;
  border: 1px solid rgba(21, 51, 38, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(238, 247, 233, 0.92), rgba(255, 242, 215, 0.68)),
    repeating-linear-gradient(90deg, rgba(21, 51, 38, 0.04) 0 1px, transparent 1px 24px);
  color: var(--leaf);
  font-weight: 850;
}

.machine-panel .studio-media {
  align-self: stretch;
}

.machine-photo img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.machine-photo figcaption {
  min-height: 58px;
  align-content: end;
}

.studio-media figcaption {
  display: grid;
  gap: 3px;
}

.studio-media figcaption strong {
  color: var(--pine);
}

.studio-media figcaption span {
  color: var(--muted);
  font-size: 12px;
}

.product-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 14px;
}

.product-photo img {
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  object-position: top center;
}

.product-photo figcaption {
  display: none;
}

.product-summary {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid rgba(21, 51, 38, 0.1);
}

.product-summary strong {
  color: var(--pine);
  font-size: 18px;
}

.product-summary span {
  flex: 0 0 auto;
  color: var(--pine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
}

.price-line {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.price-line strong,
.offer-price {
  color: var(--pine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
  line-height: 1;
}

.price-line span {
  color: var(--muted);
  font-size: 13px;
}

.ability-panel {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 18px;
}

.ability-flow {
  position: relative;
  display: grid;
  align-content: stretch;
  gap: 0;
  min-height: 0;
  padding: 18px 18px 18px 54px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(238, 247, 233, 0.82), rgba(251, 255, 248, 0.7));
}

.ability-flow::before {
  position: absolute;
  top: 38px;
  bottom: 38px;
  left: 32px;
  width: 2px;
  content: "";
  background: linear-gradient(180deg, var(--leaf), rgba(79, 127, 87, 0.16));
}

.ability-flow span {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  padding: 0 18px;
  border: 0;
  border-bottom: 1px solid rgba(21, 51, 38, 0.1);
  background: transparent;
  color: var(--pine);
  font-size: 15px;
  font-weight: 850;
  text-align: left;
}

.ability-flow span::before {
  position: absolute;
  left: -31px;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(79, 127, 87, 0.3);
  border-radius: 999px;
  content: "";
  background: #fbfff8;
  box-shadow: inset 0 0 0 5px rgba(79, 127, 87, 0.12);
}

.ability-flow span:not(:last-child)::after {
  display: none;
}

.friend-link {
  display: grid;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  align-self: end;
}

.friend-link span {
  color: var(--coral);
  font-weight: 850;
}

.brochure-carousel {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: center;
}

.brochure-price-inline {
  display: inline-flex;
  align-items: baseline;
  justify-self: end;
  align-self: end;
  gap: 0;
  margin-top: auto;
  padding-top: 0;
  border-top: 0;
  white-space: nowrap;
}

.brochure-price-inline span {
  color: var(--pine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 2.2vw, 34px);
  font-weight: 900;
  line-height: 1;
}

.brochure-price-inline strong {
  color: var(--pine);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(26px, 2.45vw, 38px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
}

.mini-program-note {
  margin: 18px 0 0;
  padding: 12px 14px;
  border: 1px solid rgba(83, 125, 87, 0.22);
  border-radius: 8px;
  background: rgba(246, 251, 241, 0.78);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.mini-program-note strong {
  color: var(--pine);
  font-weight: 900;
}

.carousel-arrow {
  width: 44px;
  height: 92px;
  border: 1px solid rgba(21, 51, 38, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--pine);
  cursor: pointer;
  font-size: 34px;
}

.case-stage {
  min-height: 430px;
  position: relative;
}

.case-slide {
  display: none;
  grid-template-columns: minmax(220px, 0.42fr) 72px minmax(420px, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 430px;
}

.case-slide.active {
  display: grid;
}

.scheme-card {
  min-height: 300px;
  display: grid;
  align-content: center;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(21, 51, 38, 0.12);
  border-radius: 8px;
  background: rgba(251, 255, 248, 0.86);
}

.scheme-card span {
  color: var(--coral);
  font-weight: 850;
}

.scheme-card strong {
  color: var(--pine);
  font-size: 26px;
}

.scheme-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.case-arrow-line {
  height: 2px;
  background: var(--coral);
  position: relative;
}

.case-arrow-line::after {
  position: absolute;
  right: -2px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--coral);
  border-right: 2px solid var(--coral);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.case-image {
  margin: 0;
}

.case-image img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
  border: 1px solid rgba(21, 51, 38, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.case-image figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
}

.brochure-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.case-dots {
  display: flex;
  gap: 8px;
}

.case-dots button {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(21, 51, 38, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
}

.case-dots button.active {
  border-color: var(--pine);
  background: var(--pine);
  color: #fff;
}

.brochure-skill-note {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  justify-content: flex-end;
  align-items: center;
  color: var(--pine);
  font-weight: 800;
  line-height: 1.7;
}

.brochure-skill-note span {
  max-width: 560px;
  color: var(--muted);
}

.phone-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(96px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.phone-shot {
  aspect-ratio: 9 / 16;
  min-height: 260px;
  margin: 0;
  border: 1px solid rgba(21, 51, 38, 0.12);
  border-radius: 10px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(251, 255, 248, 0.94), rgba(238, 247, 233, 0.86)),
    radial-gradient(circle at 50% 30%, rgba(115, 167, 160, 0.16), transparent 7rem);
}

.phone-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.status-list {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
  padding: 0;
}

.status-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(21, 51, 38, 0.1);
  border-radius: 8px;
  background: rgba(251, 255, 248, 0.88);
  color: var(--pine);
  font-weight: 760;
  list-style: none;
}

.status-list span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--leaf);
}

.future-project {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(21, 51, 38, 0.12);
  border-radius: 8px;
  background: rgba(238, 247, 233, 0.74);
}

.future-project strong {
  color: var(--pine);
  font-size: 28px;
}

.future-project span {
  color: var(--leaf);
  font-weight: 850;
}

@media (max-width: 1080px) {
  .studio-head,
  .printing-grid,
  .brochure-grid,
  .game-grid {
    grid-template-columns: 1fr;
  }

  .brochure-workbench .module-head-side {
    padding-right: 0;
  }

  .brochure-price-inline {
    justify-self: start;
    margin-top: 10px;
  }

  .studio-head .module-tags {
    justify-content: flex-start;
  }

  .module-head-side {
    justify-items: start;
  }

}

@media (max-width: 680px) {
  .creation-workbench {
    padding: 20px;
  }

  .machine-panel,
  .flow-board,
  .phone-row {
    grid-template-columns: 1fr;
  }

  .flow-board span {
    width: 2px;
    height: 28px;
    justify-self: center;
  }

  .flow-board span::after {
    right: auto;
    top: auto;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }

  .case-strip {
    grid-auto-columns: minmax(190px, 86%);
  }
}

.hero-full-figure {
  right: clamp(-42px, -3vw, -12px);
  top: 4%;
  width: min(760px, 58vw);
  max-width: none;
  height: auto;
  transform: none;
  filter: drop-shadow(0 28px 42px rgba(35, 64, 45, 0.1));
}

.home-page .game-hero {
  align-items: end;
}

.home-page .hero-copy {
  align-self: end;
}

.home-page .avatar-stage {
  position: relative;
  inset: auto;
  display: flex;
  align-self: end;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 0;
}

.home-page .hero-full-figure {
  position: relative;
  inset: auto;
  display: block;
  width: min(760px, 58vw);
}

@media (max-width: 920px) {
  .home-page .game-hero {
    align-items: start;
  }

  .home-page .hero-copy,
  .home-page .avatar-stage {
    align-self: auto;
  }

  .hero-full-figure {
    position: relative;
    inset: auto;
    display: block;
    width: min(720px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 680px) {
  .hero-full-figure {
    width: min(560px, 112%);
    margin-left: -6%;
  }
}
