:root {
  --paper: #f4efe6;
  --warm: #d8d2c6;
  --stone: #bfc0b5;
  --lime: #dfe3d4;
  --ink: #171713;
  --brown: #3b2b20;
  --gold: #a9874c;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 4%, rgba(169, 135, 76, 0.13), transparent 34rem),
    radial-gradient(circle at 86% 16%, rgba(191, 192, 181, 0.35), transparent 32rem),
    var(--paper);
  color: var(--ink);
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans CJK SC", "Microsoft YaHei UI", sans-serif;
  font-weight: 300;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(23, 23, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 19, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 7rem);
  padding: 1.25rem clamp(1.25rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(23, 23, 19, 0.1);
  background: rgba(244, 239, 230, 0.76);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.logo span,
.hero h1,
.work h3,
.future-grid article {
  font-family: "Cormorant Garamond", Didot, "Bodoni 72", "Times New Roman", serif;
}

.logo span {
  font-size: 1.35rem;
  letter-spacing: 0.34em;
}

.logo small {
  margin-top: 0.3rem;
  color: rgba(23, 23, 19, 0.6);
  font-size: 0.7rem;
  letter-spacing: 0.68em;
}

nav {
  display: flex;
  gap: clamp(1rem, 3vw, 2.3rem);
  margin-left: clamp(1rem, 4vw, 4rem);
  color: rgba(23, 23, 19, 0.62);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 7rem 1.25rem;
  text-align: center;
}

.paper {
  position: absolute;
  inset: 2.5rem;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.3), rgba(23, 23, 19, 0.04)),
    repeating-linear-gradient(0deg, rgba(23, 23, 19, 0.035) 0 1px, transparent 1px 7px),
    #e7dfd0;
  border-radius: 2rem;
}

.shadow {
  position: absolute;
  border-radius: 999px;
  filter: blur(28px);
  background: rgba(23, 23, 19, 0.06);
}

.shadow-a {
  left: 12%;
  top: 18%;
  width: 8rem;
  height: 18rem;
  rotate: 14deg;
}

.shadow-b {
  right: 14%;
  bottom: 14%;
  width: 11rem;
  height: 24rem;
  rotate: -12deg;
}

.hero-inner {
  position: relative;
  z-index: 2;
}

.hero-guide {
  position: absolute;
  left: 50%;
  bottom: clamp(3rem, 8vw, 7rem);
  z-index: 3;
  width: min(28rem, calc(100% - 4rem));
  color: rgba(23, 23, 19, 0.34);
  text-align: center;
  transform: translate(-50%, 10px);
  transition:
    color 0.9s ease,
    opacity 0.9s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.guide-kicker {
  margin: 0 0 1rem;
  color: rgba(169, 135, 76, 0.48);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: color 0.9s ease;
}

.hero-guide h2 {
  max-width: 100%;
  margin: 0;
  color: rgba(23, 23, 19, 0.28);
  font-family: "Cormorant Garamond", Didot, "Bodoni 72", "Times New Roman", serif;
  font-size: clamp(1.9rem, 3.3vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.06em;
  line-height: 0.96;
  transition: color 0.9s ease, filter 0.9s ease;
}

.hero-guide p:not(.guide-kicker) {
  max-width: 22rem;
  margin: 1.2rem auto 0;
  color: rgba(23, 23, 19, 0.3);
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  letter-spacing: 0.42em;
  line-height: 1.9;
  padding-left: 0.42em;
  text-align: center;
  transition: color 0.9s ease;
}

.guide-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem 1.4rem;
  margin-top: 1.8rem;
}

.guide-actions a {
  position: relative;
  padding-bottom: 0.46rem;
  color: rgba(23, 23, 19, 0.34);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: color 0.9s ease;
}

.guide-actions a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.42;
  transform-origin: left;
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero:hover .hero-guide {
  color: rgba(23, 23, 19, 0.78);
  opacity: 1;
  transform: translate(-50%, 0);
}

.hero:hover .guide-kicker {
  color: rgba(169, 135, 76, 0.92);
}

.hero:hover .hero-guide h2,
.hero:hover .hero-guide p:not(.guide-kicker),
.hero:hover .guide-actions a {
  background: linear-gradient(105deg, #171713 0%, #6e7f7d 28%, #b6ddeb 48%, #d7c189 68%, #171713 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: guide-prism 2.8s ease-in-out infinite alternate;
}

.hero:hover .guide-actions a::after {
  opacity: 0.8;
  transform: scaleX(1.08);
}

.hero h1 {
  margin: 0;
  padding-left: 0.28em;
  --mx: 50%;
  --my: 50%;
  font-size: clamp(4.5rem, 16vw, 15rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 0.86;
  transition: color 0.8s ease, filter 0.8s ease, text-shadow 0.8s ease;
}

.hero:hover h1 {
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, 0.95) 0 8%, rgba(181, 230, 250, 0.9) 18%, rgba(236, 209, 255, 0.78) 30%, rgba(255, 231, 162, 0.78) 43%, rgba(177, 255, 219, 0.78) 58%, rgba(23, 23, 19, 0.95) 82%),
    linear-gradient(105deg, #171713 0%, #738581 28%, #b6ddeb 48%, #d7c189 68%, #171713 100%);
  background-size: 180% 180%, 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: saturate(1.08);
  text-shadow: 0 18px 48px rgba(126, 145, 140, 0.14);
  animation: guide-prism 2.9s ease-in-out infinite alternate;
}

.cn {
  margin-top: 2rem;
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  letter-spacing: 0.85em;
  color: rgba(23, 23, 19, 0.7);
}

.line {
  max-width: 30rem;
  margin: 3rem auto 0;
  color: rgba(23, 23, 19, 0.68);
  font-family: Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-style: italic;
  line-height: 1.7;
}


.section {
  padding: clamp(5rem, 10vw, 11rem) clamp(1.25rem, 5vw, 4rem);
}

.intro,
.philosophy {
  display: grid;
  max-width: 1500px;
  margin: auto;
  gap: clamp(3rem, 8vw, 9rem);
}

.intro {
  grid-template-columns: 0.72fr 1fr;
}

.kicker {
  margin: 0;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

h2 {
  margin: 1.8rem 0 0;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans CJK SC", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(3.5rem, 7vw, 7.5rem);
  font-weight: 200;
  letter-spacing: -0.08em;
  line-height: 0.94;
}

.intro-copy {
  align-self: end;
}

.quote {
  margin: 0 0 3rem;
  color: rgba(23, 23, 19, 0.74);
  font-size: clamp(1.8rem, 3.8vw, 3.4rem);
  font-weight: 300;
  line-height: 1.8;
}

.intro-copy p:last-child {
  max-width: 42rem;
  color: rgba(23, 23, 19, 0.55);
  font-size: 0.98rem;
  line-height: 2.1;
}

.archive,
.entry-panel {
  border-block: 1px solid rgba(23, 23, 19, 0.1);
  background: rgba(223, 227, 212, 0.36);
}

.section-head,
.grid,
.entry-panel,
.future,
.newsletter,
footer {
  max-width: 1500px;
  margin-inline: auto;
}

.section-head {
  margin-bottom: 4rem;
}

.entry-panel {
  display: grid;
  grid-template-columns: 1fr 0.74fr;
  gap: clamp(3rem, 8vw, 9rem);
}

.entry-card {
  align-self: end;
  border-top: 1px solid rgba(23, 23, 19, 0.18);
  padding-top: 2rem;
}

.entry-card p {
  color: rgba(23, 23, 19, 0.58);
  line-height: 2.1;
}

.text-link {
  display: inline-block;
  margin-top: 2.5rem;
  border-bottom: 1px solid currentColor;
  color: rgba(23, 23, 19, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  padding-bottom: 0.45rem;
  text-transform: uppercase;
}

.manifesto-toggle {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.6rem;
  padding: 0 0 0.55rem;
  min-height: auto;
  border-bottom: 1px solid currentColor;
  color: rgba(23, 23, 19, 0.72);
  cursor: pointer;
  font-size: 0.76rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.manifesto-toggle span {
  color: rgba(23, 23, 19, 0.42);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
}

.manifesto-panel {
  max-height: 0;
  overflow: hidden;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  opacity: 0;
  transform: translateY(-18px);
  transition:
    max-height 1.05s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.8s ease,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.manifesto-panel.is-open {
  max-height: 92rem;
  opacity: 1;
  transform: translateY(0);
}

.manifesto-card {
  max-width: 1500px;
  margin: 0 auto clamp(5rem, 9vw, 9rem);
  padding: clamp(3rem, 7vw, 6rem);
  border: 1px solid rgba(23, 23, 19, 0.1);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.42), rgba(23, 23, 19, 0.025)),
    #f8f5ee;
  box-shadow: 0 24px 90px rgba(47, 42, 34, 0.08);
}

.manifesto-card h2 {
  margin-top: 1.5rem;
  font-size: clamp(3.4rem, 8vw, 8rem);
}

.manifesto-text {
  max-width: 56rem;
  margin-top: clamp(2.5rem, 5vw, 5rem);
  color: rgba(23, 23, 19, 0.64);
  font-size: clamp(1.05rem, 1.5vw, 1.26rem);
  line-height: 2.28;
}

.manifesto-text p {
  margin: 0 0 1.15rem;
}

.manifesto-text strong {
  color: rgba(23, 23, 19, 0.86);
  font-weight: 400;
  letter-spacing: 0.08em;
}

.manifesto-text em {
  color: rgba(23, 23, 19, 0.54);
  font-family: Georgia, serif;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.work {
  animation: rise 0.9s ease both;
}

.work:nth-child(2) {
  animation-delay: 0.08s;
}

.work:nth-child(3) {
  animation-delay: 0.16s;
}

.specimen {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(23, 23, 19, 0.08) 1px, transparent 1px),
    var(--paper);
  background-size: 32px 32px;
  box-shadow: 0 28px 80px rgba(47, 42, 34, 0.14);
}

.specimen::before {
  content: "";
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(23, 23, 19, 0.1);
}

.pin {
  position: absolute;
  left: 50%;
  top: 18%;
  z-index: 3;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(23, 23, 19, 0.72);
  transform: translateX(-50%);
}

.pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0.5rem;
  height: 18rem;
  width: 1px;
  background: rgba(23, 23, 19, 0.16);
}

.wing {
  position: absolute;
  top: 28%;
  width: 32%;
  height: 34%;
  border: 1px solid rgba(23, 23, 19, 0.2);
  box-shadow: 0 22px 44px rgba(23, 23, 19, 0.15);
}

.left {
  left: 18%;
  border-radius: 82% 18% 72% 28%;
}

.right {
  right: 18%;
  border-radius: 18% 82% 28% 72%;
}

.body {
  position: absolute;
  left: 50%;
  top: 27%;
  width: 0.8rem;
  height: 36%;
  border-radius: 999px;
  background: linear-gradient(var(--ink), var(--brown), var(--ink));
  transform: translateX(-50%);
}

.dark .wing {
  background: linear-gradient(135deg, #161814, #31452e, #090b09);
}

.blue .wing {
  background: linear-gradient(135deg, #243432, #7f9c98, #17211f);
}

.pale .wing {
  background: linear-gradient(135deg, #ede2c8, #cfc7ac, #544736);
}

.specimen p {
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  margin: 0;
  border-top: 1px solid rgba(23, 23, 19, 0.12);
  padding-top: 1rem;
  color: rgba(23, 23, 19, 0.46);
  font-size: 0.65rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.meta {
  margin-top: 1.6rem;
  border-top: 1px solid rgba(23, 23, 19, 0.12);
  padding-top: 1.3rem;
}

.meta h3 {
  margin: 0 0 1.5rem;
  font-size: 2rem;
  font-weight: 400;
}

dl {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0.75rem 1rem;
  margin: 0;
  font-size: 0.86rem;
}

dt {
  color: rgba(23, 23, 19, 0.38);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

dd {
  margin: 0;
  color: rgba(23, 23, 19, 0.68);
}

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

.philosophy article {
  border-top: 1px solid rgba(23, 23, 19, 0.18);
  padding-top: 2rem;
}

.philosophy h2 {
  font-size: clamp(3rem, 5vw, 5.2rem);
}

.philosophy p {
  margin: 1.4rem 0 4rem;
  color: rgba(23, 23, 19, 0.62);
  font-size: 1.05rem;
  letter-spacing: 0.24em;
}

.philosophy span {
  display: block;
  max-width: 21rem;
  color: rgba(23, 23, 19, 0.55);
  font-size: 0.9rem;
  line-height: 2;
}

.future {
  padding: clamp(5rem, 10vw, 11rem) clamp(1.25rem, 5vw, 4rem);
  background: var(--ink);
  color: var(--paper);
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 3rem;
  border: 1px solid rgba(244, 239, 230, 0.12);
}

.future-grid article {
  min-height: 17rem;
  padding: 2rem;
  border-right: 1px solid rgba(244, 239, 230, 0.12);
  background: rgba(244, 239, 230, 0.035);
  font-size: clamp(2.4rem, 4vw, 4.2rem);
}

.future-grid article:last-child {
  border-right: 0;
}

.newsletter {
  text-align: center;
}

.newsletter p:not(.kicker) {
  color: rgba(23, 23, 19, 0.56);
  line-height: 2;
}

form {
  display: flex;
  max-width: 36rem;
  margin: 3rem auto 0;
  border-bottom: 1px solid rgba(23, 23, 19, 0.3);
}

input,
button {
  min-height: 3.2rem;
  border: 0;
  background: transparent;
  font: inherit;
  outline: 0;
}

input {
  flex: 1;
}

button {
  color: rgba(23, 23, 19, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 3rem clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid rgba(23, 23, 19, 0.1);
  color: rgba(23, 23, 19, 0.55);
  font-size: 0.86rem;
}

.white-page {
  background: #fbfaf7;
}

.white-page::before {
  opacity: 0.28;
}

.white-header {
  background: rgba(251, 250, 247, 0.82);
}

.archive-hero {
  max-width: 1500px;
  margin-inline: auto;
  padding: clamp(9rem, 16vw, 15rem) clamp(1.25rem, 5vw, 4rem) clamp(5rem, 9vw, 8rem);
}

.archive-hero h1 {
  white-space: nowrap;
  max-width: 10ch;
  margin: 2rem 0 0;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans CJK SC", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(3.2rem, 8.4vw, 9.5rem);
  font-weight: 200;
  letter-spacing: -0.12em;
  line-height: 0.88;
}

.refined-title {
  overflow: hidden;
}

.catalog-note {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 4rem) 4rem;
}

.catalog-note p {
  max-width: 54rem;
  border-top: 1px solid rgba(23, 23, 19, 0.12);
  padding-top: 1.5rem;
  color: rgba(23, 23, 19, 0.46);
  font-size: 0.78rem;
  line-height: 1.9;
}

.archive-hero p:last-child {
  max-width: 42rem;
  margin-top: 3rem;
  color: rgba(23, 23, 19, 0.56);
  font-size: 1rem;
  line-height: 2.1;
}

.butterfly-family {
  max-width: 1500px;
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 8rem) clamp(1.25rem, 5vw, 4rem);
  border-top: 1px solid rgba(23, 23, 19, 0.12);
}

.family-heading {
  display: grid;
  grid-template-columns: 10rem 1fr 0.8fr;
  gap: 2rem;
  align-items: start;
  margin-bottom: 3rem;
}

.family-heading p,
.butterfly-info span {
  margin: 0;
  color: rgba(23, 23, 19, 0.38);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.family-heading h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
}

.family-heading span {
  color: rgba(23, 23, 19, 0.54);
  font-size: 0.95rem;
  line-height: 2;
}

.butterfly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: clamp(1.2rem, 2.5vw, 2rem);
  background: transparent;
  border: 0;
}

.butterfly-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 38rem;
  background: #fff;
  border: 1px solid rgba(23, 23, 19, 0.1);
  transform-origin: center;
  transition:
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    background 0.72s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.butterfly-card:hover {
  z-index: 4;
  background: #fff;
  border-color: rgba(23, 23, 19, 0.16);
  box-shadow: 0 30px 80px rgba(47, 42, 34, 0.12);
  transform: translateY(-8px) scale(1.035);
}

.butterfly-card.is-opening {
  z-index: 8;
  pointer-events: none;
  box-shadow: 0 42px 110px rgba(47, 42, 34, 0.18);
  transform: translateY(-10px) scale(1.085);
}

.clean-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 30rem;
  overflow: hidden;
  background:
    linear-gradient(rgba(23, 23, 19, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 19, 0.025) 1px, transparent 1px),
    #fff;
  background-size: 46px 46px;
}

.clean-stage::before {
  content: "";
  position: absolute;
  inset: 2.2rem;
  border: 1px solid rgba(23, 23, 19, 0.08);
}

.clean-stage::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 18%;
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(23, 23, 19, 0.6);
  box-shadow: 0 0 0 4px rgba(23, 23, 19, 0.04), 0 15rem 0 -2px rgba(23, 23, 19, 0.16);
  transform: translateX(-50%);
}

.butterfly-mark {
  position: relative;
  width: min(56%, 22rem);
  aspect-ratio: 1.25 / 1;
  filter: drop-shadow(0 24px 24px rgba(23, 23, 19, 0.12));
}

.butterfly-mark::before,
.butterfly-mark::after {
  content: "";
  position: absolute;
  top: 13%;
  width: 48%;
  height: 70%;
  border: 1px solid rgba(23, 23, 19, 0.14);
  background:
    radial-gradient(circle at 56% 35%, rgba(255, 255, 255, 0.45), transparent 18%),
    var(--wing);
}

.butterfly-mark::before {
  left: 2%;
  border-radius: 82% 16% 72% 28%;
  transform: rotate(-8deg);
}

.butterfly-mark::after {
  right: 2%;
  border-radius: 16% 82% 28% 72%;
  transform: rotate(8deg);
}

.butterfly-mark {
  --wing: linear-gradient(135deg, #171713, #31452e 52%, #0a0b08);
}

.butterfly-mark::selection {
  background: transparent;
}

.butterfly-mark span {
  display: none;
}

.butterfly-mark:empty {
  background:
    linear-gradient(90deg, transparent calc(50% - 0.38rem), #171713 calc(50% - 0.38rem) calc(50% + 0.38rem), transparent calc(50% + 0.38rem));
}

.butterfly-mark.green {
  --wing: linear-gradient(135deg, #141613, #27492d 48%, #94a86e 52%, #11130f);
}

.butterfly-mark.teal {
  --wing: linear-gradient(135deg, #111a1c, #243432 40%, #7f9c98 47% 58%, #0f1516);
}

.butterfly-mark.blue {
  --wing: linear-gradient(135deg, #0c1721, #17648f 50%, #7ca5b7 54%, #081017);
}

.butterfly-mark.amber {
  --wing:
    repeating-linear-gradient(45deg, rgba(23, 23, 19, 0.22) 0 2px, transparent 2px 12px),
    linear-gradient(135deg, #efe1c7, #b97837, #4c2e1d);
}

.butterfly-mark.pale-orange {
  --wing:
    radial-gradient(circle at 72% 30%, #d9853d 0 13%, transparent 14%),
    linear-gradient(135deg, #fffdf8, #eadfca, #f7f0e4);
}

.butterfly-mark.ivory {
  --wing:
    repeating-linear-gradient(90deg, rgba(23, 23, 19, 0.1) 0 1px, transparent 1px 16px),
    linear-gradient(135deg, #fffdf8, #ebe5d8, #cfc6b2);
}

.butterfly-info {
  padding: 2rem;
  border-top: 1px solid rgba(23, 23, 19, 0.1);
}

.butterfly-info h3 {
  margin: 1rem 0 1.2rem;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans CJK SC", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 250;
  letter-spacing: -0.06em;
}

.butterfly-info p {
  max-width: 34rem;
  margin: 0;
  color: rgba(23, 23, 19, 0.55);
  line-height: 2;
}

.detail-page {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.72fr);
  gap: clamp(3rem, 6vw, 6rem);
  max-width: 1500px;
  margin-inline: auto;
  padding: clamp(8rem, 13vw, 12rem) clamp(1.25rem, 5vw, 4rem) clamp(5rem, 9vw, 8rem);
}

.detail-visual {
  min-width: 0;
}

.clean-stage.large {
  min-height: min(76vh, 52rem);
}

.detail-copy {
  align-self: start;
  position: sticky;
  top: 8rem;
}

.detail-copy h1 {
  margin: 2rem 0 3rem;
  font-family: "Cormorant Garamond", Didot, "Bodoni 72", "Times New Roman", serif;
  font-size: clamp(4rem, 8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  line-height: 0.92;
}

.detail-copy dl {
  grid-template-columns: 8rem 1fr;
  border-top: 1px solid rgba(23, 23, 19, 0.13);
  border-bottom: 1px solid rgba(23, 23, 19, 0.13);
  padding: 2rem 0;
}

.detail-copy article {
  margin-top: 3rem;
}

.detail-copy article h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.detail-copy article p {
  color: rgba(23, 23, 19, 0.6);
  line-height: 2.15;
}

.compact-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
}

.photo-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 25rem;
  margin: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(23, 23, 19, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 23, 19, 0.018) 1px, transparent 1px),
    #fff;
  background-size: 42px 42px;
}

.butterfly-card .photo-stage img {
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.butterfly-card:hover .photo-stage img,
.butterfly-card.is-opening .photo-stage img {
  transform: scale(1.08);
}

.photo-stage.is-fallback::after {
  content: "Image reference pending";
  position: absolute;
  left: 2rem;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  border-top: 1px solid rgba(23, 23, 19, 0.12);
  padding-top: 1rem;
  color: rgba(23, 23, 19, 0.42);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-align: left;
  text-transform: uppercase;
}

.photo-stage::before {
  content: "";
  position: absolute;
  inset: 2rem;
  border: 1px solid rgba(23, 23, 19, 0.07);
}

.photo-stage img {
  position: relative;
  z-index: 1;
  display: block;
  width: min(72%, 28rem);
  max-height: 22rem;
  object-fit: contain;
  mix-blend-mode: multiply;
  filter: saturate(0.96) contrast(1.02);
}

.fallback-butterfly {
  position: relative;
  z-index: 1;
  width: min(54%, 24rem);
  aspect-ratio: 1.28 / 1;
  background:
    linear-gradient(90deg, transparent calc(50% - 0.35rem), rgba(23, 23, 19, 0.75) calc(50% - 0.35rem) calc(50% + 0.35rem), transparent calc(50% + 0.35rem));
  opacity: 0.86;
  filter: drop-shadow(0 20px 24px rgba(23, 23, 19, 0.1));
}

.fallback-butterfly::before,
.fallback-butterfly::after {
  content: "";
  position: absolute;
  top: 13%;
  width: 48%;
  height: 70%;
  border: 1px solid rgba(23, 23, 19, 0.12);
  background:
    radial-gradient(circle at 55% 35%, rgba(255, 255, 255, 0.36), transparent 18%),
    linear-gradient(135deg, #d9d4c7, #a8aa9f, #72695d);
}

.fallback-butterfly::before {
  left: 2%;
  border-radius: 82% 16% 72% 28%;
  transform: rotate(-8deg);
}

.fallback-butterfly::after {
  right: 2%;
  border-radius: 16% 82% 28% 72%;
  transform: rotate(8deg);
}

.story-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(24rem, 0.72fr);
  gap: clamp(3rem, 6vw, 6rem);
  max-width: 1500px;
  margin-inline: auto;
  padding: clamp(8rem, 13vw, 12rem) clamp(1.25rem, 5vw, 4rem) clamp(5rem, 9vw, 8rem);
  animation: detail-page-in 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.story-stage {
  min-height: min(76vh, 52rem);
  animation: detail-image-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.story-stage img {
  width: min(76%, 42rem);
  max-height: 42rem;
}

.story-copy {
  position: sticky;
  top: 8rem;
  align-self: start;
}

.story-copy h1 {
  margin: 2rem 0 2rem;
  font-family: "PingFang SC", "HarmonyOS Sans SC", "Noto Sans CJK SC", "Microsoft YaHei UI", sans-serif;
  font-size: clamp(3.5rem, 7vw, 7rem);
  font-weight: 200;
  letter-spacing: -0.12em;
  line-height: 0.95;
}

.story-intro {
  color: rgba(23, 23, 19, 0.58);
  font-size: 1.05rem;
  line-height: 2;
}

.story-copy dl {
  grid-template-columns: 7rem 1fr;
  margin-top: 3rem;
  border-block: 1px solid rgba(23, 23, 19, 0.12);
  padding: 2rem 0;
}

.story-copy article {
  margin-top: 3rem;
}

.story-copy article h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
}

.story-copy article p {
  color: rgba(23, 23, 19, 0.6);
  line-height: 2.15;
}

.fade {
  animation: rise 1s ease both;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes detail-page-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes detail-image-in {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes guide-prism {
  from {
    background-position: 0% 50%;
  }

  to {
    background-position: 100% 50%;
  }
}

@media (max-width: 900px) {
  nav {
    display: none;
  }

  .intro,
  .entry-panel,
  .grid,
  .philosophy,
  .future-grid,
  .family-heading,
  .detail-page,
  .story-detail {
    grid-template-columns: 1fr;
  }

  .paper {
    inset: 1rem;
  }

  .hero h1 {
    font-size: 4.1rem;
  }

  .hero-guide {
    left: 50%;
    right: auto;
    bottom: 2rem;
    width: calc(100% - 2.8rem);
  }

  .hero-guide h2 {
    font-size: 2.4rem;
  }

  .cn {
    letter-spacing: 0.58em;
  }

  footer,
  form {
    flex-direction: column;
  }

  .archive-hero h1,
  .detail-copy h1 {
    font-size: 4.1rem;
  }

  .butterfly-card {
    min-height: auto;
  }

  .clean-stage {
    min-height: 24rem;
  }

  .detail-copy {
    position: static;
  }

  .archive-hero h1 {
    font-size: clamp(2.55rem, 13vw, 4.1rem);
    letter-spacing: -0.12em;
  }

  .photo-stage {
    min-height: 21rem;
  }

  .story-copy {
    position: static;
  }
}
