@font-face {
  font-family: "Project Source Han Sans";
  src: url("assets/fonts/SourceHanSansSC-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Project Source Han Sans";
  src: url("assets/fonts/SourceHanSansSC-Medium.otf") format("opentype");
  font-weight: 500 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Project Source Han Sans";
  src: url("assets/fonts/SourceHanSansSC-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Project Source Han Sans";
  src: url("assets/fonts/SourceHanSansSC-Heavy.otf") format("opentype");
  font-weight: 800 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #141411;
  --image-matte: #000;
  --soft-ink: #2d2b25;
  --muted: #6b675d;
  --paper: #f4efe6;
  --white: #fffaf2;
  --line: rgba(20, 20, 17, 0.14);
  --gold: #b8893d;
  --red: #7d332a;
  --green: #223f36;
  --purple: #392b68;
  --glass: rgba(255, 250, 242, 0.72);
  --glass-strong: rgba(255, 250, 242, 0.9);
  --dark-glass: rgba(20, 20, 17, 0.78);
  --dark-gradient: linear-gradient(135deg, rgba(20, 20, 17, 0.9), rgba(57, 43, 104, 0.78));
  --veil-gold: rgba(184, 137, 61, 0.16);
  --veil-purple: rgba(57, 43, 104, 0.12);
  --soft-shadow: 0 24px 70px rgba(57, 43, 104, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(115deg, rgba(255, 250, 242, 0.96) 0%, rgba(244, 239, 230, 0.88) 46%, rgba(255, 250, 242, 0.98) 100%),
    linear-gradient(180deg, rgba(57, 43, 104, 0.06), rgba(184, 137, 61, 0.08));
  color: var(--ink);
  font-family: "Project Source Han Sans", sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

button {
  font: inherit;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: linear-gradient(90deg, rgba(255, 250, 242, 0.94), rgba(244, 239, 230, 0.78));
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 34px rgba(20, 20, 17, 0.06);
  backdrop-filter: blur(12px);
}

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

.brand {
  gap: 14px;
  line-height: 1;
}

.brand-mark {
  display: grid;
  width: 62px;
  height: 42px;
  flex: 0 0 auto;
  grid-template-rows: repeat(6, 4px);
  align-content: space-between;
  color: currentColor;
  background: transparent;
}

.brand-mark i {
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
}

.brand-mark i:nth-child(2),
.brand-mark i:nth-child(6) {
  background: linear-gradient(90deg, currentColor 0 34%, transparent 34% 66%, currentColor 66% 100%);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: max-content;
}

.brand-name {
  color: currentColor;
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 23px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.brand-en {
  color: currentColor;
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
}

nav {
  gap: clamp(16px, 3vw, 34px);
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 14px;
}

.site-header a {
  text-shadow: none;
}

section {
  padding: clamp(76px, 10vw, 132px) clamp(20px, 5vw, 72px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  line-break: loose;
  text-wrap: pretty;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h1 > span {
  display: block;
}

h2 > span:not(.keep-word),
.hero-content p > span:not(.keep-word) {
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.12;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 10px;
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.25;
  text-wrap: balance;
}

@supports (word-break: auto-phrase) {
  h1,
  h2,
  h3,
  p,
  li,
  a,
  span,
  strong,
  button {
    word-break: auto-phrase;
  }
}

.keep-word.keep-word {
  display: inline-block;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: inherit;
  font: inherit;
  line-height: inherit;
  letter-spacing: 0;
  text-align: inherit;
  text-transform: none;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  text-wrap: nowrap;
  vertical-align: baseline;
}

.method h3,
.service-link h3,
.system-grid h3,
.history-event h3,
.project-card h3,
.gallery-card strong,
.detail-body h2,
.case-subproject strong,
.image-viewer-head h1 {
  overflow-wrap: break-word;
  text-wrap: balance;
}

.eyebrow,
.section-label {
  margin-bottom: 18px;
  color: var(--gold);
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.investor-badge {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 12px;
  border: 1px solid rgba(20, 20, 17, 0.2);
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  background: rgba(255, 250, 242, 0.64);
  backdrop-filter: blur(10px);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.button.primary {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button.light {
  border-color: rgba(20, 20, 17, 0.28);
  color: var(--ink);
}

.button.ghost {
  border-color: var(--line);
  color: var(--ink);
}

.button.dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.hero {
  position: relative;
  display: grid;
  min-height: 84vh;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: center;
  padding-top: 118px;
  padding-bottom: 0;
  color: var(--ink);
  isolation: isolate;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(122deg, transparent 0 64%, rgba(184, 137, 61, 0.08) 64% 69%, transparent 69% 100%),
    linear-gradient(72deg, rgba(57, 43, 104, 0.06), transparent 34%),
    linear-gradient(90deg, rgba(244, 239, 230, 0.92) 0%, rgba(244, 239, 230, 0.74) 42%, rgba(244, 239, 230, 0.22) 100%),
    linear-gradient(180deg, rgba(244, 239, 230, 0.54), rgba(244, 239, 230, 0.9));
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-content {
  width: min(100%, 840px);
  min-width: 0;
  padding-bottom: clamp(32px, 5vw, 72px);
}

.hero-content p:not(.eyebrow) {
  max-width: 720px;
  color: var(--soft-ink);
  font-size: clamp(18px, 1.7vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-self: end;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.92), rgba(244, 239, 230, 0.72)),
    var(--glass);
  box-shadow: 0 -18px 54px rgba(57, 43, 104, 0.08);
  backdrop-filter: blur(12px);
}

.hero-metrics div {
  padding: 24px clamp(18px, 3vw, 36px);
  border-right: 1px solid var(--line);
}

.hero-metrics div:last-child {
  border-right: 0;
}

.hero-metrics strong {
  display: block;
  font-family: "Project Source Han Sans", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.hero-metrics div > span {
  color: var(--muted);
  font-size: 14px;
}

.intro {
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.78), rgba(244, 239, 230, 0.94)),
    var(--paper);
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.62fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: end;
}

.intro-grid > *,
.service-grid > *,
.project-grid > *,
.detail-hero > *,
.image-detail > * {
  min-width: 0;
}

.intro-grid p,
.section-head p,
.showcase-copy p,
.service-link p,
.project-card p {
  color: var(--muted);
}

.method {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: clamp(24px, 4vw, 44px);
  background:
    linear-gradient(180deg, rgba(244, 239, 230, 0.9), rgba(255, 250, 242, 0.82)),
    var(--paper);
}

.method article {
  min-height: 260px;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid rgba(20, 20, 17, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.96), rgba(244, 239, 230, 0.76)),
    var(--white);
  box-shadow: var(--soft-shadow);
}

.method article > span,
.service-link > span,
.project-card > div > span {
  display: block;
  margin-bottom: 26px;
  color: var(--gold);
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.method .method-index {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}

.method .method-index small {
  font: inherit;
}

.method .method-index b {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 30px;
  border: 1px solid rgba(184, 137, 61, 0.28);
  border-radius: 2px;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.96), rgba(184, 137, 61, 0.1));
  color: var(--ink);
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 242, 0.7);
}

.method p {
  color: var(--muted);
}

.rocket-system {
  background:
    linear-gradient(115deg, rgba(57, 43, 104, 0.08), transparent 28%),
    linear-gradient(250deg, rgba(184, 137, 61, 0.14), transparent 34%),
    linear-gradient(180deg, var(--white) 0%, var(--paper) 100%);
}

.rocket-head {
  max-width: 1120px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.rocket-head h2 {
  font-size: clamp(38px, 4.2vw, 58px);
}

.rocket-head p:last-child {
  color: var(--purple);
  font-family: "Project Source Han Sans", sans-serif;
  letter-spacing: 0.08em;
}

.rocket-layout {
  display: grid;
  max-width: 1240px;
  margin: 0 auto;
  grid-template-columns: minmax(260px, 1fr) minmax(160px, 0.52fr) minmax(260px, 1fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: center;
}

.rocket-points {
  display: grid;
  gap: clamp(18px, 2.5vw, 34px);
}

.rocket-points article {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid rgba(20, 20, 17, 0.09);
  border-radius: 8px;
  background: rgba(255, 250, 242, 0.58);
  backdrop-filter: blur(10px);
}

.rocket-points article:last-child {
  border-bottom: 1px solid rgba(20, 20, 17, 0.09);
}

.rocket-points article::after {
  position: absolute;
  top: 42px;
  width: clamp(36px, 5vw, 78px);
  height: 1px;
  background: rgba(57, 43, 104, 0.36);
  content: "";
}

.rocket-points:first-child article::after {
  right: calc(clamp(36px, 5vw, 78px) * -1 - 16px);
}

.rocket-points:last-child article::after {
  left: calc(clamp(36px, 5vw, 78px) * -1 - 16px);
}

.rocket-points article > span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rocket-points h3 {
  margin-bottom: 8px;
  color: var(--purple);
  font-size: clamp(22px, 2vw, 30px);
}

.rocket-points p {
  margin-bottom: 0;
  color: var(--muted);
}

.rocket-visual {
  display: grid;
  min-height: 560px;
  margin: 0;
  place-items: center;
}

.rocket-visual img,
.rocket-diagram {
  width: min(260px, 46vw);
  height: min(620px, 66vw);
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(20, 20, 17, 0.14));
}

.rocket-diagram {
  display: block;
  overflow: visible;
}

.rocket-diagram .rocket-shell {
  fill: url("#rocketShell");
  stroke: var(--purple);
  stroke-linejoin: round;
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.rocket-diagram .rocket-core {
  fill: url("#rocketCore");
  stroke: var(--purple);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}

.rocket-diagram .rocket-line {
  fill: none;
  stroke: var(--purple);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-opacity: 0.72;
  stroke-width: 1.6;
  vector-effect: non-scaling-stroke;
}

.rocket-diagram .rocket-energy {
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
}

.rocket-diagram .rocket-node {
  fill: var(--white);
  stroke: var(--purple);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.rocket-summary {
  display: grid;
  max-width: 1120px;
  margin: clamp(42px, 6vw, 76px) auto 0;
  grid-template-columns: repeat(2, 1fr);
  align-items: start;
  overflow: hidden;
  border: 1px solid rgba(57, 43, 104, 0.2);
  background:
    linear-gradient(120deg, rgba(20, 20, 17, 0.88), rgba(57, 43, 104, 0.8)),
    var(--dark-glass);
  color: var(--white);
  box-shadow: 0 26px 72px rgba(20, 20, 17, 0.18);
  backdrop-filter: blur(12px);
}

.rocket-summary p {
  margin: 0;
  padding: clamp(22px, 3vw, 34px);
  color: rgba(255, 250, 242, 0.92);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

.rocket-summary p + p {
  border-left: 1px solid rgba(255, 250, 242, 0.2);
}

.timeline-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(125deg, rgba(57, 43, 104, 0.08), transparent 34%),
    linear-gradient(230deg, rgba(184, 137, 61, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 250, 242, 0.94), rgba(244, 239, 230, 0.98)),
    var(--paper);
  color: var(--ink);
}

.timeline-section::before {
  position: absolute;
  inset: auto 0 0;
  height: 42%;
  background:
    linear-gradient(180deg, rgba(20, 20, 17, 0), rgba(57, 43, 104, 0.05)),
    repeating-linear-gradient(90deg, rgba(57, 43, 104, 0.08) 0 1px, transparent 1px 76px);
  content: "";
  pointer-events: none;
}

.timeline-head {
  position: relative;
  z-index: 1;
  max-width: 980px;
}

.timeline-head p:not(.eyebrow) {
  color: var(--muted);
}

.timeline-head .single-line-copy {
  max-width: none;
  white-space: nowrap;
}

.timeline-stage {
  position: relative;
  z-index: 1;
}

.history-timeline {
  position: relative;
  display: grid;
  max-width: 1120px;
  margin: 0 auto;
  padding-bottom: 84px;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  gap: 28px clamp(42px, 5vw, 72px);
}

.history-timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(57, 43, 104, 0.34);
  content: "";
  transform: translateX(-50%);
}

.history-event {
  position: relative;
  display: grid;
  min-height: 156px;
  min-width: 0;
  align-content: start;
  padding: clamp(22px, 2.3vw, 32px);
  border: 1px solid rgba(20, 20, 17, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.94), rgba(244, 239, 230, 0.72)),
    rgba(255, 250, 242, 0.82);
  box-shadow: 0 22px 56px rgba(57, 43, 104, 0.1);
  backdrop-filter: blur(10px);
}

.history-event:nth-child(odd) {
  grid-column: 1;
}

.history-event:nth-child(even) {
  grid-column: 3;
  transform: translateY(82px);
}

.history-event::before {
  position: absolute;
  top: 40px;
  width: clamp(42px, 5vw, 72px);
  height: 1px;
  background: rgba(57, 43, 104, 0.28);
  content: "";
}

.history-event::after {
  position: absolute;
  top: 34px;
  width: 13px;
  height: 13px;
  border: 1px solid rgba(57, 43, 104, 0.72);
  border-radius: 999px;
  background: radial-gradient(circle, var(--purple) 0 34%, var(--paper) 36% 100%);
  box-shadow: 0 0 0 4px rgba(57, 43, 104, 0.08);
  content: "";
}

.history-event:nth-child(odd)::before {
  right: calc(clamp(42px, 5vw, 72px) * -1);
}

.history-event:nth-child(odd)::after {
  right: calc(clamp(42px, 5vw, 72px) * -1 - 7px);
}

.history-event:nth-child(even)::before {
  left: calc(clamp(42px, 5vw, 72px) * -1);
}

.history-event:nth-child(even)::after {
  left: calc(clamp(42px, 5vw, 72px) * -1 - 7px);
}

.history-event > span {
  display: block;
  margin-bottom: 8px;
  color: var(--purple);
  font-family: "Project Source Han Sans", sans-serif;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
}

.history-event h3 {
  margin-bottom: 4px;
  color: var(--soft-ink);
  font-size: clamp(15px, 1.16vw, 18px);
  line-height: 1.28;
}

.history-event p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(13px, 1vw, 15px);
  line-height: 1.55;
}

.business-model {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  padding: clamp(52px, 7vw, 92px) clamp(20px, 5vw, 72px);
  background:
    linear-gradient(130deg, rgba(255, 250, 242, 0.98), rgba(244, 239, 230, 0.74)),
    var(--white);
  color: var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.model-copy {
  max-width: 620px;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(255, 250, 242, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(20, 20, 17, 0.88), rgba(57, 43, 104, 0.72)),
    var(--dark-glass);
  color: var(--white);
  box-shadow: 0 28px 72px rgba(20, 20, 17, 0.14);
  backdrop-filter: blur(12px);
}

.model-copy p {
  color: rgba(255, 250, 242, 0.72);
}

.model-copy h2 {
  color: var(--white);
  font-size: clamp(26px, 3.2vw, 44px);
}

.model-map {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.model-map > span {
  display: grid;
  min-height: 86px;
  place-items: center;
  border: 1px solid rgba(20, 20, 17, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.78), rgba(244, 239, 230, 0.9)),
    var(--paper);
  color: var(--soft-ink);
  box-shadow: 0 16px 40px rgba(57, 43, 104, 0.06);
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.section-head {
  max-width: 850px;
  margin-bottom: clamp(38px, 6vw, 68px);
}

.section-head.rocket-head {
  max-width: 1120px;
}

.services {
  background:
    linear-gradient(250deg, rgba(57, 43, 104, 0.06), transparent 30%),
    var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  border-top: 0;
  border-left: 0;
}

.service-link {
  display: block;
  min-height: 280px;
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid rgba(20, 20, 17, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.95), rgba(244, 239, 230, 0.72)),
    var(--white);
  box-shadow: 0 16px 46px rgba(57, 43, 104, 0.07);
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-link:hover {
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 1), rgba(244, 239, 230, 0.9)),
    var(--paper);
  box-shadow: 0 24px 60px rgba(57, 43, 104, 0.12);
  transform: translateY(-3px);
}

.system-section {
  background:
    linear-gradient(115deg, rgba(184, 137, 61, 0.1), transparent 34%),
    var(--paper);
}

.system-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.system-grid article {
  min-height: 230px;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.96), rgba(244, 239, 230, 0.76)),
    var(--white);
  border: 1px solid rgba(20, 20, 17, 0.1);
  box-shadow: 0 18px 48px rgba(57, 43, 104, 0.07);
}

.system-grid p {
  color: var(--muted);
}

.association-section {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(340px, 0.62fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
  background:
    linear-gradient(235deg, rgba(57, 43, 104, 0.06), transparent 32%),
    var(--white);
}

.association-copy p {
  color: var(--muted);
}

.association-list {
  display: grid;
  gap: 12px;
}

.association-list article {
  padding: 24px;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.88), rgba(244, 239, 230, 0.82)),
    var(--paper);
  border: 1px solid rgba(20, 20, 17, 0.1);
  box-shadow: 0 16px 40px rgba(57, 43, 104, 0.06);
}

.association-list strong,
.association-list article > span {
  display: block;
}

.association-list strong {
  margin-bottom: 8px;
  font-size: 20px;
}

.association-list article > span {
  color: var(--muted);
}

.showcase {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(38px, 6vw, 90px);
  align-items: center;
  background:
    linear-gradient(115deg, rgba(34, 63, 54, 0.08), transparent 36%),
    var(--white);
  color: var(--ink);
}

.showcase-copy {
  max-width: 560px;
}

.showcase-copy p {
  color: var(--muted);
}

.showcase .button.ghost {
  border-color: var(--line);
  color: var(--ink);
}

.showcase-images {
  display: grid;
  min-height: 640px;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: 1fr 0.78fr;
  gap: 14px;
}

.showcase-images img,
.journal-preview-strip img {
  border: 1px solid rgba(20, 20, 17, 0.08);
  background: var(--image-matte);
  object-fit: contain;
  box-shadow: 0 22px 58px rgba(20, 20, 17, 0.11);
}

.showcase-images img:first-child {
  grid-row: span 2;
}

.projects {
  background:
    linear-gradient(130deg, rgba(255, 250, 242, 0.56), rgba(244, 239, 230, 0.96)),
    var(--paper);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.98), rgba(244, 239, 230, 0.72)),
    var(--white);
  border: 1px solid rgba(20, 20, 17, 0.1);
  box-shadow: 0 16px 46px rgba(57, 43, 104, 0.07);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 66px rgba(57, 43, 104, 0.14);
}

.project-card.feature-card {
  grid-column: span 2;
}

.project-card img {
  aspect-ratio: 1.55;
  background: var(--image-matte);
  height: auto;
  object-fit: contain;
}

.project-card-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1.15fr) minmax(0, 0.82fr);
  gap: 6px;
  min-height: 300px;
  margin: 0;
  padding: 6px;
  background: var(--image-matte);
}

.project-card-gallery img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  background: var(--image-matte);
  object-fit: contain;
}

.project-card-gallery img:first-child {
  grid-column: 1 / -1;
}

.project-card div {
  padding: 24px;
}

.hapland-card div {
  padding-top: 22px;
}

.project-card > div > span {
  margin-bottom: 12px;
  color: var(--red);
}

.journal {
  background:
    linear-gradient(245deg, rgba(184, 137, 61, 0.1), transparent 34%),
    var(--white);
}

.journal-preview {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 80px);
  align-items: center;
  background: transparent;
}

.journal-preview-copy {
  max-width: 620px;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(20, 20, 17, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.86), rgba(244, 239, 230, 0.66)),
    rgba(255, 250, 242, 0.72);
  box-shadow: var(--soft-shadow);
  backdrop-filter: blur(12px);
}

.journal-preview-copy p {
  color: var(--muted);
}

.journal-preview-strip {
  display: grid;
  min-height: 420px;
  grid-template-columns: 1fr 0.72fr;
  grid-template-rows: 1fr 0.78fr;
  gap: 14px;
}

.journal-preview-strip img:first-child {
  grid-row: span 2;
}

.gallery-page {
  padding-top: 84px;
}

.gallery-hero {
  padding-bottom: 42px;
}

.gallery-hero p:not(.eyebrow) {
  max-width: 720px;
  color: var(--muted);
  font-size: 20px;
}

.gallery-archive {
  padding-top: 0;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}

.gallery-filters button {
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.gallery-filters button.active,
.gallery-filters button:hover {
  background: var(--ink);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.gallery-card {
  display: block;
  min-width: 0;
  background: var(--paper);
  border: 1px solid rgba(20, 20, 17, 0.1);
}

.gallery-card img {
  aspect-ratio: 1.18;
  background: var(--image-matte);
  height: auto;
  object-fit: contain;
}

.gallery-card > span,
.gallery-card > strong {
  display: block;
  padding-inline: 14px;
}

.gallery-card > span {
  padding-top: 13px;
  color: var(--red);
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.gallery-card > strong {
  min-height: 66px;
  padding-top: 6px;
  padding-bottom: 16px;
  font-size: 15px;
  line-height: 1.35;
}

.contact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 36px;
  background:
    linear-gradient(120deg, rgba(255, 250, 242, 0.96), rgba(244, 239, 230, 0.82)),
    var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.contact h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.game-mini-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.game-mini-link span {
  color: var(--gold);
  font-size: 10px;
  line-height: 1;
}

.game-mini-link em {
  font-style: normal;
  border-bottom: 1px solid rgba(184, 137, 61, 0.45);
}

.game-mini-link:hover {
  color: var(--ink);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(255, 250, 242, 0.98), rgba(244, 239, 230, 0.72)),
    var(--white);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 13px;
}

footer span:first-child {
  color: var(--ink);
  font-weight: 800;
}

footer a {
  color: var(--ink);
  font-weight: 800;
}

.footer-games {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  max-width: 520px;
}

.footer-games a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.footer-games a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--gold);
}

.footer-games a:hover {
  color: var(--ink);
}

.detail-page,
.image-page {
  padding-top: 84px;
}

.detail-page .site-header,
.image-page .site-header,
.gallery-page .site-header {
  color: var(--ink);
}

body:has(.detail-page) .site-header,
body:has(.image-page) .site-header,
body:has(.gallery-page) .site-header {
  color: var(--ink);
  background: rgba(244, 239, 230, 0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

body:has(.detail-page) .brand-mark,
body:has(.image-page) .brand-mark,
body:has(.gallery-page) .brand-mark {
  background: transparent;
}

body:has(.detail-page) .site-header a,
body:has(.image-page) .site-header a,
body:has(.gallery-page) .site-header a {
  text-shadow: none;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(360px, 0.72fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
  padding-top: clamp(36px, 4vw, 52px);
  padding-bottom: clamp(34px, 4vw, 56px);
}

.image-detail {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(420px, 1fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
}

.detail-page h1 {
  font-size: clamp(36px, 3.7vw, 52px);
}

.detail-hero-image,
.image-detail-frame {
  min-height: clamp(420px, 45vw, 660px);
  background: var(--image-matte);
}

.detail-hero-image {
  height: clamp(520px, 48vw, 720px);
  min-height: 0;
  overflow: hidden;
}

.detail-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-hero-strip {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.detail-hero-strip a {
  display: block;
  overflow: hidden;
  background: var(--image-matte);
}

.detail-hero-strip img {
  aspect-ratio: 1.7;
  height: auto;
  object-fit: contain;
}

.detail-hero-copy .lead,
.hero-story {
  color: var(--muted);
  font-size: clamp(18px, 1.4vw, 22px);
}

.hero-story p {
  margin-bottom: 14px;
}

.hero-highlights {
  margin: 28px 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.hero-highlights strong {
  display: block;
  margin-bottom: 8px;
  color: var(--soft-ink);
  font-size: 20px;
}

.hero-highlights ul {
  margin: 0;
  padding-left: 1.1em;
}

.hero-highlights li {
  margin: 2px 0;
}

.detail-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1fr);
  gap: clamp(38px, 7vw, 96px);
  padding-top: 0;
}

.detail-body h2 {
  font-size: clamp(28px, 2.6vw, 40px);
  line-height: 1.16;
}

.detail-story {
  color: var(--muted);
  font-size: 18px;
}

.detail-story p {
  margin-bottom: 18px;
}

.case-meta {
  display: grid;
  gap: 10px;
  margin-top: 32px;
  border-top: 1px solid var(--line);
}

.case-meta > span {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--soft-ink);
  font-weight: 700;
}

.point-list {
  border-top: 1px solid var(--line);
}

.point-list div {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.point-list div > span {
  color: var(--gold);
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
}

.point-list strong {
  font-size: 19px;
  line-height: 1.35;
}

.detail-gallery .point-list {
  margin-bottom: 48px;
}

.case-subprojects {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0 28px;
}

.case-subproject {
  display: grid;
  gap: 8px;
  padding: 10px;
  border: 1px solid rgba(20, 20, 17, 0.09);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 250, 242, 0.96), rgba(244, 239, 230, 0.72)),
    var(--white);
  color: inherit;
  text-decoration: none;
  box-shadow: 0 16px 36px rgba(57, 43, 104, 0.08);
}

.case-subproject img {
  aspect-ratio: 1.2;
  background: var(--image-matte);
  border-radius: 4px;
  object-fit: contain;
}

.case-subproject > span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
}

.case-subproject strong {
  color: var(--soft-ink);
  font-size: 16px;
  line-height: 1.3;
}

.case-subproject em {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
  line-height: 1.45;
}

.detail-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.detail-image-grid a {
  display: grid;
  aspect-ratio: 1.22;
  min-height: clamp(190px, 18vw, 260px);
  place-items: center;
  overflow: hidden;
  background: var(--image-matte);
}

.detail-image-grid img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-detail-frame {
  background: var(--image-matte);
}

.image-detail-frame img {
  object-fit: contain;
}

.image-page .image-detail-frame {
  display: grid;
  min-height: 0;
  place-items: center;
  overflow: hidden;
}

.image-page .image-detail-frame.is-landscape {
  aspect-ratio: var(--image-ratio, 1.5 / 1);
}

.image-page .image-detail-frame.is-portrait {
  height: min(72vh, 760px);
}

.image-page .image-detail-frame img {
  width: 100%;
  height: 100%;
}

.image-viewer {
  min-height: calc(100vh - 84px);
  padding-top: clamp(34px, 5vw, 72px);
}

.image-viewer-head {
  max-width: 920px;
  margin: clamp(24px, 3vw, 38px) auto 0;
  text-align: center;
}

.image-viewer-head h1 {
  margin-bottom: 10px;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.12;
}

.image-viewer-head .hero-actions {
  justify-content: center;
  margin-top: 18px;
}

.image-viewer-stage {
  position: relative;
  display: flex;
  width: min(100%, 1080px);
  height: 680px;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  overflow: hidden;
  background: var(--image-matte);
}

.image-viewer-stage img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
}

.image-viewer-stage.is-landscape {
  height: 680px;
}

.image-viewer-stage.is-portrait {
  height: 680px;
}

.image-viewer-stage.is-shengsijue-cover,
.image-viewer-stage[data-image-id="img-055-956x1335"] {
  background-color: var(--image-matte);
}

.image-viewer-stage.is-shengsijue-cover img,
.image-viewer-stage img[data-image-id="img-055-956x1335"],
.image-viewer-stage img[src*="shengsijue-cover.webp"] {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 1;
  pointer-events: auto;
}

.image-viewer-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 52px;
  height: 72px;
  place-items: center;
  transform: translateY(-50%);
  background: rgba(255, 250, 242, 0.86);
  color: var(--ink);
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 42px;
  line-height: 1;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.image-viewer-nav:hover {
  background: var(--white);
  transform: translateY(-50%) scale(1.04);
}

.image-viewer-nav.previous {
  left: 18px;
}

.image-viewer-nav.next {
  right: 18px;
}

.image-viewer-count {
  margin-top: 8px;
  color: var(--muted);
  font-family: "Project Source Han Sans", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

@media (max-width: 980px) {
  .intro-grid,
  .showcase,
  .journal-preview,
  .detail-hero,
  .image-detail {
    grid-template-columns: 1fr;
  }

  .method,
  .model-map,
  .service-grid,
  .system-grid,
  .project-grid,
  .gallery-grid,
  .detail-body {
    grid-template-columns: 1fr 1fr;
  }

  .project-card.feature-card {
    grid-column: span 1;
  }

  .business-model,
  .association-section,
  .journal-preview-strip,
  .showcase-images {
    grid-template-columns: 1fr;
  }

  .showcase-images,
  .journal-preview-strip {
    min-height: 520px;
  }

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

  .rocket-visual {
    order: -1;
    min-height: auto;
  }

  .rocket-points {
    grid-template-columns: repeat(3, 1fr);
  }

  .rocket-points article::after {
    display: none;
  }

  .timeline-stage {
    overflow: visible;
    padding-bottom: 0;
  }

  .history-timeline {
    min-width: 0;
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 0;
    padding-left: 28px;
    padding-bottom: 0;
  }

  .history-timeline::before {
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 6px;
    width: 1px;
    height: auto;
    grid-column: auto;
    grid-row: auto;
  }

  .history-event,
  .history-event.is-top,
  .history-event.is-bottom {
    grid-column: 1;
    grid-row: auto;
    align-self: auto;
    margin-bottom: 18px;
    padding: 20px;
    transform: none;
  }

  .history-event::before {
    display: none;
  }

  .history-event::after,
  .history-event.is-top::after,
  .history-event.is-bottom::after {
    top: 8px;
    bottom: auto;
    left: -28px;
    right: auto;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: absolute;
    padding: 16px 18px;
  }

  nav {
    display: none;
  }

  .brand-mark {
    width: 48px;
    height: 32px;
    grid-template-rows: repeat(6, 3px);
  }

  .brand-name {
    font-size: 18px;
  }

  .brand-en {
    display: none;
  }

  section {
    padding: 64px 18px;
  }

  h1 {
    font-size: 34px;
    line-height: 1.08;
  }

  h2 {
    font-size: 28px;
    line-height: 1.18;
    word-break: normal;
    text-wrap: balance;
  }

  .hero {
    min-height: 90vh;
    padding-top: 118px;
  }

  .hero-content {
    width: calc(100vw - 36px);
    padding-bottom: 44px;
  }

  .hero-content p:not(.eyebrow),
  .intro-grid h2,
  .intro-grid p,
  .section-head h2,
  .section-head p,
  .detail-hero-copy,
  .hero-story,
  .hero-highlights,
  .detail-story,
  .case-meta {
    max-width: calc(100vw - 36px);
    word-break: normal;
    overflow-wrap: break-word;
    text-wrap: pretty;
  }

  h2 > span:not(.keep-word),
  .hero-content p > span:not(.keep-word) {
    display: block;
  }

  .hero-story,
  .hero-highlights,
  .detail-story {
    font-size: 16px;
    line-height: 1.75;
  }

  .hero-metrics,
  .method,
  .business-model,
  .model-map,
  .service-grid,
  .system-grid,
  .association-section,
  .project-grid,
  .detail-hero-strip,
  .gallery-grid,
  .detail-body,
  .case-subprojects,
  .detail-image-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div,
  .service-link {
    min-height: auto;
  }

  .rocket-points,
  .rocket-summary {
    grid-template-columns: 1fr;
  }

  .rocket-head h2 {
    font-size: 30px;
  }

  .rocket-visual img,
  .rocket-diagram {
    width: min(188px, 56vw);
    height: 500px;
  }

  .rocket-summary {
    margin-right: -18px;
    margin-left: -18px;
    border-right: 0;
    border-left: 0;
  }

  .rocket-summary p + p {
    border-top: 1px solid rgba(57, 43, 104, 0.18);
    border-left: 0;
  }

  .showcase-images {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .journal-preview-strip {
    min-height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .showcase-images img,
  .journal-preview-strip img,
  .project-card img,
  .detail-image-grid img {
    aspect-ratio: 1.28;
    height: auto;
  }

  .project-card-gallery img {
    height: 100%;
    aspect-ratio: auto;
  }

  .image-viewer {
    padding-top: 54px;
  }

  .image-viewer-head {
    text-align: left;
  }

  .image-viewer-head .hero-actions {
    justify-content: flex-start;
  }

  .image-viewer-stage,
  .image-viewer-stage.is-portrait {
    width: 100%;
    height: 560px;
  }

  .image-viewer-stage.is-landscape {
    height: 560px;
  }

  .image-viewer-nav {
    width: 42px;
    height: 58px;
    font-size: 34px;
  }

  .image-viewer-nav.previous {
    left: 8px;
  }

  .image-viewer-nav.next {
    right: 8px;
  }

  .contact,
  footer {
    display: block;
  }

  .contact .button {
    margin-top: 28px;
  }

  footer span {
    display: block;
  }

  footer span + span {
    margin-top: 8px;
  }

  .footer-games {
    display: flex;
    justify-content: flex-start;
    margin-top: 12px;
  }
}
