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

:root {
  --ink: #14100C;
  --amber: #E0A63C;
  --cream: #F3EADB;
  --glass: rgba(243, 234, 219, .06);
  --line: rgba(224, 166, 60, .24);
  --hair: rgba(243, 234, 219, .12);
  --soft: rgba(243, 234, 219, .74);
  --r: 10px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: 'Noto Sans Hebrew', -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: .01em;
  overflow-x: hidden;
}

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

h1, h2, h3 { font-weight: 700; letter-spacing: .01em; }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

/* 分层景深 */
.scene {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  perspective: 1px;
}

.layer {
  position: absolute;
  inset: -14% -8%;
  will-change: transform;
}

.l1 { background: radial-gradient(120% 78% at 82% -6%, rgba(224, 166, 60, .22), transparent 60%); }
.l2 { background: radial-gradient(88% 66% at 8% 42%, rgba(224, 166, 60, .13), transparent 62%); }
.l3 { background: repeating-linear-gradient(180deg, rgba(243, 234, 219, .04) 0 1px, transparent 1px 92px); }

.glow {
  position: absolute;
  left: 50%;
  top: -34vh;
  width: 120vw;
  height: 120vh;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(224, 166, 60, .10), transparent);
}

.grain {
  position: absolute;
  inset: 0;
  opacity: .45;
  background-image: radial-gradient(rgba(243, 234, 219, .16) .5px, transparent .5px);
  background-size: 3px 3px;
}

/* 顶栏 */
.top {
  position: sticky;
  top: 0;
  z-index: 30;
  background: linear-gradient(180deg, rgba(20, 16, 12, .95), rgba(20, 16, 12, .74));
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.bar {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  color: var(--cream);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .18em;
  text-decoration: none;
  border-radius: var(--r);
  transition: color .25s ease;
}

.brand:hover { color: var(--amber); }

.nav ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin: 0;
  padding: 0;
}

.nav-a ol { justify-content: flex-end; }
.nav-b ol { justify-content: flex-start; padding-right: 116px; }

.nav li { position: relative; }

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 10px;
  color: var(--soft);
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
  transition: color .2s ease, background .2s ease;
}

.nav a:hover { color: var(--cream); background: rgba(224, 166, 60, .14); }

.has-sub > a::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-left: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: .7;
}

.panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 196px;
  padding: 8px;
  border-radius: var(--r);
  background: rgba(20, 16, 12, .97);
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .22s ease, transform .22s ease, visibility .22s;
}

.panel ol { display: block; }
.panel a { display: flex; width: 100%; }

.has-sub:hover .panel,
.has-sub:focus-within .panel {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.cta {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--amber);
  color: #191308;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter .2s ease, transform .2s ease;
}

.cta:hover { filter: brightness(1.1); }

/* 首屏 */
.wrap {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero {
  min-height: 45vh;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 40px 0 26px;
}

.hero-in {
  position: relative;
  width: min(100%, 640px);
  padding: 26px 24px 24px 78px;
  text-align: right;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .42);
}

.mark,
.hero-art {
  position: absolute;
  left: 18px;
  top: 26px;
  width: 46px;
  height: 46px;
}

.mark {
  border-radius: 50%;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 34% 30%, rgba(224, 166, 60, .85), rgba(224, 166, 60, .18) 58%, transparent 66%),
    radial-gradient(circle at 50% 50%, rgba(243, 234, 219, .08), transparent 70%);
  box-shadow: inset 0 0 0 6px rgba(20, 16, 12, .55);
}

.hero-art {
  object-fit: cover;
  border-radius: var(--r);
  border: 1px solid var(--line);
}

.badge {
  position: absolute;
  right: 14px;
  top: -14px;
  padding: 4px 13px;
  border-radius: 999px;
  background: var(--amber);
  color: #191308;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
}

.hero h1 {
  margin: 4px 0 10px;
  font-size: clamp(26px, 5.2vw, 44px);
  line-height: 1.32;
}

.lede {
  margin: 0;
  color: var(--soft);
  font-size: 16px;
  line-height: 1.75;
}

/* 正文列 + 右aside */
.flow {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px 20px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}

.flow > div {
  scroll-margin-top: 82px;
  padding: 26px 24px;
  background: var(--glass);
  border: 1px solid rgba(243, 234, 219, .1);
  border-radius: var(--r);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

.flow > div:nth-of-type(2n) {
  background: rgba(224, 166, 60, .055);
  border-color: var(--line);
}

.flow h2 {
  margin: .1em 0 .55em;
  font-size: clamp(20px, 3.2vw, 27px);
  line-height: 1.45;
}

.flow h3 {
  margin: 1.15em 0 .4em;
  font-size: 19px;
  color: #fff;
}

.flow p { margin: 0 0 1em; }
.flow p:last-child { margin-bottom: 0; }
.flow ul, .flow ol { padding-left: 1.25em; margin: 0 0 1em; }
.flow li { margin: .35em 0; }
.flow strong { color: #fff; }
.flow img { max-width: 100%; height: auto; border-radius: var(--r); }

.side {
  padding: 18px;
  background: var(--glass);
  border: 1px solid var(--line);
  border-radius: var(--r);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.side small {
  display: block;
  font-size: 13px;
  letter-spacing: .34em;
  color: var(--amber);
  line-height: 1.6;
}

.side h2 {
  margin: 2px 0 12px;
  font-size: 18px;
  line-height: 1.5;
}

.side ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.side li { counter-increment: s; }

.side a {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 6px 8px;
  color: var(--soft);
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
  border-bottom: 1px dashed var(--hair);
  transition: background .2s ease, color .2s ease;
}

.side a::before {
  content: counter(s, decimal-leading-zero);
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--amber);
}

.side a:hover { background: rgba(224, 166, 60, .14); color: var(--cream); }

.side .to-top {
  margin-top: 14px;
  justify-content: center;
  border-bottom: 0;
  border: 1px solid var(--line);
  color: var(--amber);
}

.side .to-top::before { content: ''; width: 0; }

/* 页脚 */
.foot {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 20px 34px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px 22px;
  border-top: 1px solid var(--line);
}

.giant {
  grid-column: 1 / -1;
  margin: 0 0 6px;
  font-size: clamp(34px, 9.5vw, 88px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(224, 166, 60, .16);
  -webkit-text-stroke: 1px rgba(224, 166, 60, .5);
}

.foot address {
  font-style: normal;
  font-size: 15px;
  color: var(--soft);
  letter-spacing: .04em;
}

.foot ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  justify-self: center;
}

.foot ul a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 10px;
  color: var(--soft);
  font-size: 16px;
  text-decoration: none;
  border-radius: 8px;
}

.foot ul a:hover { color: var(--cream); background: rgba(224, 166, 60, .14); }

.copy {
  margin: 0;
  font-size: 15px;
  color: var(--soft);
  justify-self: end;
}

/* 滚动显现 */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
}

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

@media (min-width: 920px) {
  .flow {
    grid-template-columns: minmax(0, 1fr) 268px;
    align-items: start;
  }
  .flow > div { grid-column: 1; }
  .side {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 88px;
    align-self: start;
  }
}

@media (max-width: 900px) {
  .top { position: static; }
  .bar {
    grid-template-columns: 1fr auto;
    padding: 8px 14px;
    gap: 6px;
  }
  .brand { grid-column: 1; grid-row: 1; justify-self: start; padding-left: 4px; }
  .cta { position: static; transform: none; grid-column: 2; grid-row: 1; justify-self: end; }
  .nav-a { grid-column: 1 / -1; grid-row: 2; }
  .nav-b { grid-column: 1 / -1; grid-row: 3; }
  .nav ol { justify-content: flex-start; padding-right: 0; }
  .panel { display: none; }
  .hero { justify-content: stretch; padding-top: 30px; }
  .hero-in { width: 100%; padding-left: 74px; }
  .flow { padding-bottom: 48px; }
  .foot {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: left;
  }
  .foot ul { justify-self: start; }
  .copy { justify-self: start; }
}

@media (max-width: 420px) {
  body { font-size: 16px; }
  .flow > div { padding: 20px 16px; }
  .hero-in { padding-left: 16px; padding-top: 78px; }
  .mark, .hero-art { top: 18px; left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .layer { transform: none !important; }
  .rv { opacity: 1; transform: none; transition: none; }
  .panel, .nav a, .brand, .cta, .side a { transition: none; }
}

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