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

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

:root {
  --cream: #F3E4D6;
  --paper: #FBF3EA;
  --brick: #E0522C;
  --ink: #17323F;
  --line: #CDB6A1;
  --serif: 'Libre Bodoni', 'Songti SC', 'Noto Serif SC', Georgia, serif;
  --sans: 'Public Sans', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 17px/1.7 var(--sans);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.16;
  margin: 0;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 40px);
}

/* ---------- 头部 ---------- */
.mast {
  border-bottom: 2px solid var(--ink);
  padding-top: 14px;
}

.mast-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: .01em;
  padding: 4px 0;
  min-height: 44px;
}

.brand .mark {
  width: 40px;
  height: 40px;
  object-fit: cover;
  background: var(--ink);
}

.contact {
  background: var(--brick);
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  padding: 11px 20px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background .18s ease, color .18s ease;
}

.contact:hover { background: var(--ink); color: var(--paper); }

.menu {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--cream);
}

.menu ol {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.menu ol::-webkit-scrollbar { height: 0; }

.menu li { flex: none; }

.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 3px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.menu a:hover { color: var(--brick); border-bottom-color: var(--brick); }

/* ---------- 首屏 ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(20px, 4vw, 56px);
  align-items: center;
  min-height: 45vh;
  padding: clamp(24px, 4vw, 46px) 0;
  border-bottom: 2px solid var(--ink);
}

.collage {
  position: relative;
  min-height: clamp(210px, 38vh, 340px);
}

.collage figure {
  margin: 0;
  position: absolute;
  overflow: hidden;
}

.collage .c1 {
  top: 0;
  left: 0;
  width: 64%;
  height: 76%;
  background: var(--ink);
}

.collage .c2 {
  bottom: 0;
  right: 0;
  width: 54%;
  height: 64%;
  background: var(--brick);
  border-top: 8px solid var(--cream);
  border-left: 8px solid var(--cream);
}

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

.hero-copy { text-align: right; }

.hero-copy h1 {
  font-size: clamp(30px, 5.2vw, 56px);
  letter-spacing: .004em;
}

.lead {
  margin: 14px 0 0 auto;
  max-width: 34ch;
  font-size: 17px;
  color: #3A5462;
}

/* ---------- 主体 ---------- */
.cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 266px;
  gap: clamp(24px, 4vw, 56px);
  padding: clamp(28px, 4vw, 44px) 0;
  align-items: start;
}

.body { min-width: 0; max-width: 74ch; }

.body section {
  border-top: 2px solid var(--ink);
  padding: clamp(22px, 3vw, 34px) 0;
  scroll-margin-top: 96px;
}

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

.body h2 {
  font-size: clamp(23px, 3.2vw, 33px);
  margin: 0 0 .55em;
}

.body h2 span {
  display: inline-block;
  border-bottom: 5px solid var(--brick);
  padding-bottom: 3px;
}

.body h3 {
  font-size: clamp(19px, 2.4vw, 24px);
  margin: 1.4em 0 .5em;
}

.body h3 span {
  display: inline-block;
  border-bottom: 3px solid var(--brick);
  padding-bottom: 2px;
}

.body p { font-size: 17px; }

.body a {
  color: var(--brick);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.body ul, .body ol { padding-left: 1.25em; margin: 0 0 1em; }
.body li { margin: .4em 0; }
.body b, .body strong { font-weight: 700; }

.body blockquote {
  margin: 1.3em 0;
  padding: 12px 18px;
  background: var(--paper);
  border-left: 6px solid var(--brick);
  font-size: 17px;
}

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

.body figure { margin: 1.4em 0; }
.body figure img { width: 100%; height: auto; }

.body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  margin: 1em 0;
}

.body th, .body td {
  border: 1px solid var(--line);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.body th { background: var(--paper); }

/* ---------- 侧栏 ---------- */
.side {
  align-self: start;
  position: sticky;
  top: 76px;
  background: var(--paper);
  border-top: 6px solid var(--ink);
  padding: 16px 18px 20px;
}

.side h2 {
  font-size: 18px;
  letter-spacing: .1em;
  margin: 0 0 12px;
}

.side h2 span {
  display: inline-block;
  border-bottom: 3px solid var(--brick);
  padding-bottom: 2px;
}

.side ol { list-style: none; margin: 0; padding: 0; }

.side a {
  display: block;
  padding: 9px 0;
  min-height: 40px;
  text-decoration: none;
  font-size: 16px;
  border-bottom: 1px solid var(--line);
  transition: color .18s ease;
}

.side a:hover { color: var(--brick); }

/* ---------- 页脚 ---------- */
.foot {
  background: var(--ink);
  color: var(--cream);
  border-top: 8px solid var(--brick);
  margin: clamp(30px, 5vw, 56px) 0 24px;
  padding: clamp(26px, 4vw, 40px) clamp(18px, 3vw, 32px) 18px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: clamp(18px, 3vw, 36px);
}

.foot section { min-width: 0; }

.foot h2 {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .18em;
  margin: 0 0 14px;
}

.foot h2 span {
  display: inline-block;
  border-bottom: 3px solid var(--brick);
  padding-bottom: 3px;
}

.foot a { color: var(--cream); text-decoration: none; }

.foot ol { list-style: none; margin: 0; padding: 0; }

.foot ol a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 40px;
  padding: 6px 0;
  font-size: 16px;
  border-bottom: 1px solid rgba(243, 228, 214, .18);
  transition: color .18s ease;
}

.foot a:hover { color: var(--brick); }

.f-brand a {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  display: inline-block;
  min-height: 40px;
  padding: 6px 0;
}

.sub { display: flex; flex-direction: column; gap: 10px; }

.sub input {
  background: transparent;
  border: 2px solid var(--cream);
  color: var(--cream);
  font: inherit;
  font-size: 16px;
  padding: 10px 12px;
  min-height: 44px;
  border-radius: 0;
}

.sub input::placeholder { color: rgba(243, 228, 214, .7); }

.sub button {
  background: var(--brick);
  color: var(--paper);
  border: 0;
  border-radius: 0;
  font: inherit;
  font-weight: 600;
  font-size: 16px;
  padding: 12px;
  min-height: 44px;
  cursor: pointer;
  transition: background .18s ease, color .18s ease;
}

.sub button:hover { background: var(--cream); color: var(--ink); }

.f-bar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(243, 228, 214, .22);
  margin-top: 6px;
  padding-top: 14px;
}

.f-bar p { margin: 0; font-size: 16px; }

.f-bar .links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 4px 0 4px 12px;
  font-size: 16px;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

/* ---------- 动效 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .45s ease, transform .45s ease;
}

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

.stag {
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .36s ease, transform .36s ease, color .18s ease, border-color .18s ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .stag { opacity: 1; transform: none; transition: none; }
}

/* ---------- 断点 ---------- */
@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; }
  .side { position: static; order: 2; }
  .body { max-width: none; }
  .foot { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-top: 20px;
  }
  .hero-copy { order: 1; text-align: right; }
  .collage { order: 2; min-height: 200px; }
  .body section { scroll-margin-top: 78px; }
  .foot h2 { margin-bottom: 10px; }
}

@media (max-width: 520px) {
  .foot { grid-template-columns: 1fr; }
  .f-brand { border-bottom: 1px solid rgba(243, 228, 214, .22); padding-bottom: 10px; }
  .menu a { padding: 10px 11px; }
}
</｜DSML｜ parameter>
</｜DSML｜ invoke>
</｜DSML｜ calls>

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