:root {
  --ink: #26171a;
  --ink-soft: #331f24;
  --rose: #eb879c;
  --pink: #ffb6c1;
  --paper: #fdf1f0;
  --muted: #ddc3c8;
  --line: rgba(255, 182, 193, 0.16);
  --sans: "Josefin Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --serif: "Cinzel", "Songti SC", "Source Han Serif SC", Georgia, serif;
  --r: 28px;
  --shadow: 0 2px 4px rgba(0, 0, 0, 0.32), 0 26px 60px -30px rgba(0, 0, 0, 0.82);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  position: relative;
  overflow-x: clip;
  background: transparent;
  color: var(--paper);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.78;
  font-weight: 400;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(58vw 58vw at 88% -14%, rgba(235, 135, 156, 0.26), transparent 62%),
    radial-gradient(46vw 46vw at -6% 98%, rgba(255, 182, 193, 0.14), transparent 60%),
    radial-gradient(40vw 40vw at 46% 44%, rgba(255, 182, 193, 0.06), transparent 70%);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--pink);
  outline-offset: 3px;
  border-radius: 10px;
}

.shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr) 258px;
  column-gap: clamp(20px, 3vw, 52px);
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 clamp(16px, 3vw, 52px);
}

/* ------- 左侧竖排导航 ------- */
.dash {
  position: sticky;
  top: 0;
  align-self: start;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 4vh, 50px) 0 clamp(20px, 4vh, 40px);
  border-right: 1px solid var(--line);
  padding-right: clamp(12px, 1.6vw, 22px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  text-decoration: none;
  color: var(--paper);
  font-family: var(--serif);
  font-size: 1.22rem;
  letter-spacing: 0.08em;
}

.brand-mark {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(135deg, var(--pink), var(--rose));
  box-shadow: 0 0 0 4px rgba(235, 135, 156, 0.15);
}

.topline {
  margin: 0.5rem 0 1.5rem;
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  color: var(--rose);
}

.dash-nav {
  display: flex;
  flex-direction: column;
}

.dash-link {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 0;
  color: var(--muted);
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: color 0.24s ease, border-color 0.24s ease, padding-left 0.24s ease;
}

.dash-link:hover,
.dash-link:focus-visible {
  color: var(--pink);
  border-bottom-color: rgba(235, 135, 156, 0.5);
  padding-left: 8px;
}

/* ------- 主区 ------- */
main {
  min-width: 0;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(44px, 7vh, 88px) 0;
}

.ghost {
  position: absolute;
  left: -0.3rem;
  bottom: 2vh;
  z-index: 0;
  margin: 0;
  white-space: nowrap;
  pointer-events: none;
  will-change: transform;
  font-family: var(--serif);
  font-size: clamp(62px, 12.5vw, 186px);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 182, 193, 0.24);
}

.hero-text {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 1.35rem;
}

.kicker {
  margin: 0;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 0.86rem;
  letter-spacing: 0.2em;
  color: var(--pink);
  background: rgba(235, 135, 156, 0.14);
  border: 1px solid rgba(235, 135, 156, 0.32);
}

.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 4.2vw, 56px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-wrap: balance;
  color: #fff;
}

.cue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: linear-gradient(135deg, var(--pink), var(--rose));
  box-shadow: 0 10px 26px -12px rgba(235, 135, 156, 0.95);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.cue:hover,
.cue:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(235, 135, 156, 1);
}

.hero-fig {
  position: relative;
  z-index: 1;
  border-radius: var(--r);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow);
  background: linear-gradient(160deg, rgba(235, 135, 156, 0.32), rgba(38, 23, 26, 0.92));
}

.hero-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-blank {
  width: 100%;
  height: 100%;
  background:
    radial-gradient(70% 60% at 50% 30%, rgba(255, 182, 193, 0.3), transparent 70%),
    linear-gradient(180deg, rgba(235, 135, 156, 0.16), rgba(38, 23, 26, 0.4));
}

/* ------- 正文流 ------- */
.flow {
  display: block;
  padding-bottom: clamp(10px, 2vw, 24px);
}

.flow > section {
  position: relative;
  margin: 0 0 clamp(26px, 3.6vw, 48px);
  padding: clamp(24px, 3.4vw, 52px);
  border-radius: var(--r);
  border-bottom: 3px solid rgba(235, 135, 156, 0.55);
  background: linear-gradient(155deg, rgba(255, 182, 193, 0.1), rgba(255, 182, 193, 0.032) 44%, rgba(38, 23, 26, 0.5));
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 28px 62px -36px rgba(0, 0, 0, 0.85);
  scroll-margin-top: 34px;
  overflow-x: auto;
}

.flow h2 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 37px);
  line-height: 1.32;
  letter-spacing: 0.01em;
  color: #fff;
}

.flow h3 {
  margin: 1.9rem 0 0.5rem;
  font-family: var(--serif);
  font-size: clamp(19px, 2.1vw, 24px);
  line-height: 1.4;
  color: var(--pink);
}

.flow p {
  margin: 0 0 1.1rem;
  max-width: 70ch;
  color: var(--muted);
}

.flow ul,
.flow ol {
  margin: 0 0 1.2rem;
  padding-left: 1.35rem;
  color: var(--muted);
  max-width: 70ch;
}

.flow li {
  margin: 0.35rem 0;
}

.flow strong {
  color: #fff;
}

.flow a {
  color: var(--pink);
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 182, 193, 0.5);
}

.flow blockquote {
  margin: 1.4rem 0;
  padding: 14px 20px;
  border-left: 3px solid var(--rose);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 182, 193, 0.07);
  color: var(--muted);
}

.flow blockquote p:last-child {
  margin-bottom: 0;
}

.flow img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1.4rem 0;
  border-radius: 18px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3), 0 18px 40px -24px rgba(0, 0, 0, 0.8);
}

.flow table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
  font-size: 0.96rem;
  color: var(--muted);
}

.flow th,
.flow td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.flow th {
  color: var(--pink);
  font-weight: 600;
}

/* ------- 右侧栏 ------- */
.rail {
  position: sticky;
  top: 0;
  align-self: start;
  min-height: 100vh;
  padding: clamp(30px, 5vh, 64px) 0 clamp(24px, 4vh, 44px);
  padding-left: clamp(14px, 1.8vw, 24px);
  border-left: 1px solid var(--line);
}

.rail h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.26rem;
  letter-spacing: 0.06em;
  color: #fff;
}

.rail .subtitle {
  margin: 0.5rem 0 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--rose);
}

.rail-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.rail-list a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  transition: background 0.22s ease, color 0.22s ease;
}

.rail-list a::before {
  content: "";
  width: 5px;
  height: 5px;
  flex: none;
  border-radius: 50%;
  background: var(--rose);
  opacity: 0.75;
}

.rail-list a:hover,
.rail-list a:focus-visible {
  background: rgba(255, 182, 193, 0.1);
  color: var(--pink);
}

/* ------- 页脚 ------- */
.foot {
  grid-column: 1 / -1;
  margin-top: clamp(36px, 6vw, 76px);
  padding: clamp(28px, 4vw, 52px) 0 18px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 182, 193, 0.05), transparent 70%);
}

.foot-main {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 4vw, 58px);
  align-items: start;
}

.foot-brand {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-style: normal;
  max-width: 38ch;
}

.foot-name {
  font-family: var(--serif);
  font-size: 1.32rem;
  letter-spacing: 0.08em;
  color: var(--paper);
}

.foot-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.foot-nav dl {
  margin: 0;
}

.foot-nav dt {
  margin-bottom: 0.55rem;
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  color: var(--rose);
}

.foot-nav dd {
  margin: 0;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
}

.foot-nav a:hover,
.foot-nav a:focus-visible {
  color: var(--pink);
}

.foot-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.5rem;
  margin: clamp(22px, 3vw, 34px) 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.foot-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.92rem;
  color: var(--muted);
  text-decoration: none;
}

.foot-links a:hover,
.foot-links a:focus-visible {
  color: var(--pink);
}

.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.2rem 1.1rem;
  padding-top: 12px;
  font-size: 0.86rem;
  letter-spacing: 0.08em;
  color: var(--rose);
  text-align: center;
}

.foot-base p {
  margin: 0;
}

.foot-base a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--rose);
  text-decoration: none;
}

.foot-base a:hover,
.foot-base a:focus-visible {
  color: var(--pink);
}

/* ------- 入场动效 ------- */
.stagger {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.stagger.in {
  opacity: 1;
  transform: none;
}

/* ------- 断点 ------- */
@media (max-width: 1180px) {
  .shell {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 clamp(16px, 4vw, 30px);
  }

  .dash {
    position: sticky;
    top: 0;
    z-index: 30;
    height: auto;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0 14px;
    padding: 10px 0 8px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(38, 23, 26, 0.95);
    backdrop-filter: blur(12px);
  }

  .brand {
    min-height: 42px;
  }

  .topline {
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.2em;
  }

  .dash-nav {
    flex: 1 0 100%;
    flex-direction: row;
    overflow-x: auto;
    gap: 0 18px;
    padding-bottom: 2px;
    scrollbar-width: thin;
  }

  .dash-link {
    padding: 12px 0;
    white-space: nowrap;
  }

  .dash-link:hover,
  .dash-link:focus-visible {
    padding-left: 0;
  }

  .hero {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 44px 0 30px;
  }

  .ghost {
    bottom: auto;
    top: 6px;
    font-size: clamp(56px, 16vw, 118px);
  }

  .hero-fig {
    aspect-ratio: 16 / 11;
  }

  .flow > section {
    scroll-margin-top: 126px;
  }

  .rail {
    position: static;
    min-height: 0;
    margin-top: 10px;
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .rail-list {
    grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
  }

  .foot-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .foot-nav dl {
    display: flex;
    flex-wrap: wrap;
    gap: 0 1.4rem;
    align-items: baseline;
  }

  .foot-nav dt {
    margin: 0 0 0.3rem;
    flex: 1 0 100%;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 1rem;
  }

  .hero {
    padding-top: 36px;
  }

  .cue {
    padding: 0 22px;
  }

  .flow > section {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .ghost {
    font-size: clamp(48px, 17vw, 88px);
    -webkit-text-stroke-width: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .stagger {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ghost {
    transform: none !important;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
