@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:wght@400;500;600;700&family=Jost:wght@300;400;500;600;700&display=swap');

:root {
  --cream: #f5e6c8;
  --cream-hi: #fbf3e0;
  --cream-lo: #efdcb8;
  --tan: #d4a574;
  --tan-deep: #b4854f;
  --ink: #262117;
  --ink-soft: #4a4034;
  --line: #cbb993;
  --serif: 'Bodoni Moda', 'Songti SC', 'Source Han Serif SC', Georgia, serif;
  --sans: 'Jost', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(circle at 10% 6%, rgba(212, 165, 116, 0.42), transparent 44%),
    radial-gradient(circle at 92% 26%, rgba(255, 248, 222, 0.7), transparent 42%),
    linear-gradient(180deg, #f7ead0 0%, #f3e3c3 60%, #eedbb6 100%);
  background-attachment: fixed;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  letter-spacing: 0.012em;
}

body::before {
  content: "";
  position: fixed;
  inset: -10%;
  z-index: 60;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23g)' opacity='0.55'/%3E%3C/svg%3E");
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 59;
  pointer-events: none;
  background: linear-gradient(118deg,
    rgba(255, 213, 148, 0.34) 0%,
    rgba(255, 213, 148, 0) 36%,
    rgba(255, 255, 226, 0.16) 58%,
    rgba(255, 188, 118, 0.3) 100%);
  animation: leak 16s ease-in-out infinite alternate;
}

@keyframes leak {
  0% { opacity: 0.62; }
  50% { opacity: 0.94; }
  100% { opacity: 0.7; }
}

a { color: inherit; }

.skip {
  position: absolute;
  left: 10px;
  top: -80px;
  z-index: 99;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: 16px;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}

.skip:focus { top: 0; }

/* 页头：品牌独占一行，菜单行在下 */
.masthead {
  position: relative;
  z-index: 30;
  background: linear-gradient(180deg, #f9eed7, #f1dfbe);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 20px rgba(38, 33, 23, 0.08);
}

.brand-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px clamp(16px, 4vw, 40px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
  color: var(--ink);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0;
}

.brand-name {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 3.4vw, 31px);
  letter-spacing: 0.07em;
  line-height: 1.1;
}

.finder {
  display: flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--cream-hi);
  overflow: hidden;
}

.finder input {
  width: 132px;
  min-height: 42px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
}

.finder input:focus { outline: none; }

.finder button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-size: 16px;
  letter-spacing: 0.14em;
  cursor: pointer;
}

.finder button:hover { background: var(--tan-deep); }

.menu-row {
  border-top: 1px dashed rgba(38, 33, 23, 0.32);
  background-image: repeating-linear-gradient(90deg, rgba(38, 33, 23, 0.07) 0 1px, transparent 1px 13px);
}

.topmenu ul {
  display: flex;
  margin: 0;
  padding: 0 clamp(8px, 3vw, 28px);
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}

.topmenu a {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 14px;
  border-bottom: 2px solid transparent;
  color: var(--ink-soft);
  font-size: 16px;
  letter-spacing: 0.08em;
  text-decoration: none;
  white-space: nowrap;
}

.topmenu a:hover,
.topmenu a:focus-visible {
  color: var(--ink);
  border-bottom-color: var(--tan-deep);
  background: rgba(212, 165, 116, 0.24);
}

/* 首屏 */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  background: var(--ink);
}

.hero-frame {
  position: relative;
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.44) saturate(0.72) contrast(1.07) brightness(0.9);
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 16%, rgba(255, 205, 138, 0.42), transparent 48%),
    linear-gradient(200deg, rgba(38, 33, 23, 0.1) 0%, rgba(38, 33, 23, 0.46) 52%, rgba(38, 33, 23, 0.86) 100%);
}

.hero-ghost {
  position: absolute;
  top: 7vh;
  right: -0.08em;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(76px, 22vw, 240px);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: rgba(245, 230, 200, 0.17);
  white-space: nowrap;
  pointer-events: none;
  animation: track 9s ease-in-out infinite;
}

@keyframes track {
  0%, 100% { transform: translateX(0) skewX(0); opacity: 0.92; }
  44% { transform: translateX(-7px) skewX(-1.4deg); opacity: 0.7; }
  49% { transform: translateX(4px) skewX(0.9deg); opacity: 0.98; }
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-left: auto;
  padding: 0 clamp(20px, 5vw, 64px) clamp(40px, 9vh, 88px);
  text-align: right;
  animation: fade 1s ease both;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(30px, 5.6vw, 62px);
  line-height: 1.14;
  letter-spacing: 0.012em;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

@keyframes fade {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.hero-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
  margin: 22px 0 0;
}

.hero-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid rgba(245, 230, 200, 0.72);
  border-radius: 999px;
  background: rgba(38, 33, 23, 0.32);
  color: var(--cream);
  font-size: 16px;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.hero-jump a:hover,
.hero-jump a:focus-visible {
  background: var(--cream);
  color: var(--ink);
}

/* 正文与侧栏 */
.spread {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 288px;
  gap: clamp(28px, 4vw, 56px);
  max-width: 1160px;
  margin: 0 auto;
  padding: clamp(36px, 6vw, 76px) clamp(18px, 4vw, 40px) clamp(48px, 7vw, 84px);
}

.reel { min-width: 0; }

.reel > section {
  scroll-margin-top: 24px;
  padding: clamp(28px, 4vw, 46px) 0;
  border-top: 1px dashed rgba(38, 33, 23, 0.3);
  animation: rise 0.7s ease both;
}

.reel > section:first-child {
  padding-top: 0;
  border-top: 0;
}

.reel > section:nth-child(2) { animation-delay: 0.05s; }
.reel > section:nth-child(3) { animation-delay: 0.1s; }
.reel > section:nth-child(4) { animation-delay: 0.15s; }
.reel > section:nth-child(5) { animation-delay: 0.2s; }
.reel > section:nth-child(6) { animation-delay: 0.25s; }
.reel > section:nth-child(7) { animation-delay: 0.3s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

.reel h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(23px, 3vw, 33px);
  line-height: 1.26;
  letter-spacing: 0.012em;
}

.reel h2::after {
  content: "";
  display: block;
  width: 54px;
  height: 2px;
  margin-top: 12px;
  background: var(--tan-deep);
}

.reel h3 {
  margin: 1.6em 0 0.4em;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.4;
}

.reel p,
.reel li {
  max-width: 70ch;
  color: var(--ink-soft);
}

.reel p { margin: 0 0 1.05em; line-height: 1.88; }

.reel ul,
.reel ol { padding-left: 1.35em; margin: 0 0 1.1em; }

.reel li { margin-bottom: 0.5em; }

.reel strong { color: var(--ink); }

.reel a {
  color: #7d5424;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.reel img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px 0;
  padding: 9px 9px 30px;
  background: #fdf8ea;
  border: 1px solid var(--line);
  border-radius: 3px;
  box-shadow: 0 12px 26px rgba(38, 33, 23, 0.18);
  transform: rotate(-0.5deg);
}

.reel blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--tan);
  color: #6a5a41;
  font-style: italic;
}

.subtitle {
  margin: 0 0 14px;
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  color: #8a6a3f;
}

/* 右侧栏 */
.rail {
  position: sticky;
  top: 20px;
  align-self: start;
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 20px 18px;
  background: #f9efd9;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: 0 16px 32px rgba(38, 33, 23, 0.14);
}

.rail h2 {
  margin: 0 0 4px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: 0.05em;
}

.rail .subtitle { margin: 0 0 12px; }

.railmenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.railmenu li + li { border-top: 1px dotted rgba(38, 33, 23, 0.26); }

.railmenu a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 6px 0;
  color: var(--ink-soft);
  font-size: 16px;
  text-decoration: none;
}

.railmenu a:hover,
.railmenu a:focus-visible { color: var(--ink); }

.totop {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 14px;
  color: #8a6a3f;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.totop:hover { color: var(--ink); }

/* 页脚 */
.footer {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  padding: clamp(34px, 6vw, 60px) clamp(18px, 4vw, 40px) 20px;
  background: var(--ink);
  color: #e8d9bd;
  border-top: 5px double rgba(212, 165, 116, 0.72);
}

.footer div { min-width: 0; }

.f-name {
  margin: 0 0 14px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.06em;
  color: var(--cream);
}

.f-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(232, 217, 189, 0.55);
  border-radius: 999px;
  color: #e8d9bd;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-decoration: none;
}

.f-top:hover {
  background: var(--tan);
  color: var(--ink);
}

.f-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 2;
  column-gap: 18px;
}

.f-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  color: #e8d9bd;
  font-size: 16px;
  text-decoration: none;
}

.f-nav a:hover,
.f-nav a:focus-visible { color: #fff; }

.f-copy {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(232, 217, 189, 0.26);
  color: #b9a888;
  font-size: 15px;
  letter-spacing: 0.16em;
}

@media (max-width: 900px) {
  .spread { grid-template-columns: minmax(0, 1fr); }
  .rail {
    position: static;
    max-height: none;
    order: 2;
  }
  .footer { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  body { font-size: 16px; }
  .brand-row { gap: 10px; padding: 12px 16px; }
  .finder input { width: 96px; padding: 0 12px; }
  .finder button { padding: 0 14px; letter-spacing: 0.08em; }
  .hero-ghost { top: 5vh; }
  .hero-copy { padding-bottom: 36px; }
  .hero-jump a { padding: 10px 16px; }
  .f-nav ul { columns: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reel > div,
  .hero-copy { opacity: 1; transform: none; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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