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

:root {
  --paper: #fdfbf7;
  --wash: #f5f5f5;
  --ink: #1a1a1a;
  --rule: #e0e0e0;
  --line: #d7d2c7;
  --mute: #6f6a63;
  --serif: Georgia, "Songti SC", "Noto Serif SC", "Times New Roman", serif;
  --sans: "Noto Sans Hebrew", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.78;
  letter-spacing: 0.012em;
  color: var(--ink);
  background: var(--paper);
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='150'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='150' height='150' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
}

img { max-width: 100%; }

a { color: var(--ink); }

::selection { background: var(--ink); color: var(--paper); }

/* 页头：品牌独占一行，菜单行在下 */
.masthead {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 0 clamp(1rem, 4vw, 3rem);
}

.brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.4rem 0 0.55rem;
  border-bottom: 1px solid var(--wash);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 46px;
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.2em;
  text-decoration: none;
  color: var(--ink);
}

.brand .mark {
  object-fit: contain;
  border-radius: 6px;
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.9rem;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.cta:hover,
.cta:focus-visible { background: var(--ink); color: var(--paper); }

.navrow {
  max-width: 72rem;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.navrow::-webkit-scrollbar { height: 2px; }
.navrow::-webkit-scrollbar-thumb { background: var(--line); }

.navrow p {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.15rem;
  margin: 0;
  padding: 0.15rem 0;
}

.navrow a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.62rem;
  font-size: 0.94rem;
  letter-spacing: 0.07em;
  color: var(--mute);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

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

/* 主区 */
main {
  display: block;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 3rem) 3rem;
}

main::after {
  content: "";
  display: block;
  clear: both;
}

/* 首屏拼贴 */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  min-height: 100vh;
  padding: clamp(1.5rem, 6vh, 3.5rem) 0 clamp(1.5rem, 5vh, 3rem);
}

.collage {
  position: relative;
  margin: 0;
  height: clamp(300px, 62vh, 560px);
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}

.shot {
  position: absolute;
  object-fit: cover;
  background: var(--wash);
  border: 1px solid var(--ink);
  border-radius: 18px;
}

.shot-a {
  left: 7%;
  top: 9%;
  width: 58%;
  height: 60%;
  z-index: 1;
}

.shot-b {
  right: 6%;
  bottom: 9%;
  width: 46%;
  height: 50%;
  z-index: 2;
}

.stamp {
  position: absolute;
  left: 0.85rem;
  bottom: 0.85rem;
  z-index: 4;
  padding: 0.45rem 0.8rem;
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.78rem;
  letter-spacing: 0.24em;
}

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

.hero-copy h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.hero-copy .subtitle {
  margin: 0 0 1.6rem auto;
  max-width: 34ch;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--mute);
}

.hero-jump { margin: 0; }

.hero-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 18px;
  text-decoration: none;
  color: var(--ink);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}

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

/* 右侧栏 */
.rail {
  float: right;
  width: 16rem;
  margin: 3rem 0 2rem 2rem;
  padding: 1.15rem 1.15rem 1.35rem;
  background: var(--wash);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.rail h2 {
  margin: 0 0 0.2rem;
  font-family: var(--serif);
  font-size: 1.14rem;
  letter-spacing: 0.16em;
}

.rail .subtitle {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  color: var(--mute);
}

.rail ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.1rem;
}

.rail a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 0 0.1rem;
  font-size: 0.94rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px dotted var(--line);
}

.rail a:hover,
.rail a:focus-visible { border-bottom-style: solid; border-bottom-color: var(--ink); }

/* 正文区块 */
main > div[id] {
  max-width: 64rem;
  padding: 3rem 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 8.5rem;
}

main > div[id] p,
main > div[id] li {
  max-width: 64ch;
}

main > div[id] h2 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

main > div[id] h3 {
  margin: 2rem 0 0.5rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.45;
}

main > div[id] a {
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

main > div[id] blockquote {
  margin: 1.6rem 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 2px solid var(--ink);
  color: var(--mute);
}

main > div[id] ul,
main > div[id] ol { padding-left: 1.25rem; }

main > div[id] figure { margin: 1.8rem 0; }

p.subtitle {
  margin: 0 0 1.2rem;
  color: var(--mute);
  font-size: 1rem;
}

/* 页脚 */
footer {
  clear: both;
  margin-top: 2.5rem;
  border-top: 2px solid var(--ink);
  padding: 2.6rem clamp(1rem, 4vw, 3rem) 1.6rem;
}

.foot-inner { max-width: 72rem; margin: 0 auto; }

.foot-mark {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(3rem, 11vw, 7rem);
  line-height: 0.92;
  letter-spacing: 0.06em;
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0 0 2rem;
}

.foot-cols dl { margin: 0; }

.foot-cols dt {
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.26em;
  color: var(--mute);
}

.foot-cols dd { margin: 0; }

.foot-cols a {
  display: flex;
  align-items: center;
  min-height: 40px;
  font-size: 0.94rem;
  color: var(--ink);
  text-decoration: none;
}

.foot-cols a:hover,
.foot-cols a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }

.foot-base {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9rem;
  color: var(--mute);
}

.foot-base p { margin: 0; }

.foot-base a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.2rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

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

/* 入场，无过渡 */
@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.hero-copy > * { animation: rise 0.3s ease-out both; }
.hero-copy > *:nth-child(2) { animation-delay: 0.06s; }
.hero-copy > *:nth-child(3) { animation-delay: 0.12s; }

.collage .shot { animation: rise 0.32s ease-out both; }
.collage .shot-b { animation-delay: 0.1s; }
.collage .stamp { animation: rise 0.32s ease-out 0.18s both; }

.rail li { animation: rise 0.28s ease-out both; }
.rail li:nth-child(1) { animation-delay: 0.05s; }
.rail li:nth-child(2) { animation-delay: 0.1s; }
.rail li:nth-child(3) { animation-delay: 0.15s; }
.rail li:nth-child(4) { animation-delay: 0.2s; }
.rail li:nth-child(5) { animation-delay: 0.25s; }
.rail li:nth-child(6) { animation-delay: 0.3s; }

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-top: 1.4rem;
    gap: 1.4rem;
  }

  .hero-copy { order: -1; text-align: left; }
  .hero-copy .subtitle { margin-left: 0; max-width: none; }
  .collage { height: clamp(220px, 44vh, 340px); }

  .rail {
    float: none;
    width: auto;
    margin: 2rem 0 0;
  }

  .navrow p { flex-wrap: nowrap; }
  .foot-cols { gap: 0.9rem; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .brand { font-size: 1.3rem; letter-spacing: 0.14em; }
  .cta { padding: 0 0.85rem; font-size: 0.84rem; }
  .navrow a { padding: 0 0.5rem; font-size: 0.9rem; }
  main > div[id] { padding: 2.4rem 0; }
  .foot-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-base { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

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