:root {
  --ink: #f4f1ea;
  --muted: rgba(244, 241, 234, .72);
  --gold: #c4a574;
  --mark-bg: rgba(255, 255, 255, .94);
  --mark-ink: #1a1a1a;
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html, body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: #0b0b0c;
  color: var(--ink);
}
.portal {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  overflow: hidden;
}
.portal-media,
.portal-veil {
  position: absolute;
  inset: 0;
}
.portal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% center;
  display: block;
  transform: scale(1.02);
  animation: soft-zoom 18s ease-in-out infinite alternate;
}
.portal-veil {
  background:
    linear-gradient(90deg, rgba(8, 8, 10, .88) 0%, rgba(8, 8, 10, .62) 42%, rgba(8, 8, 10, .28) 68%, rgba(8, 8, 10, .45) 100%),
    linear-gradient(180deg, rgba(8, 8, 10, .35) 0%, transparent 28%, transparent 72%, rgba(8, 8, 10, .55) 100%);
}
.portal-frame {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(28px, 5vh, 48px) 0;
}
.portal-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transform: translateY(12px);
  animation: rise .8s ease forwards;
}
.portal-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--mark-bg);
  color: var(--mark-ink);
  font-weight: 700;
  font-size: 18px;
  overflow: hidden;
  flex-shrink: 0;
}
.portal-mark.has-logo { padding: 0; }
.portal-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #fff;
}
.portal-brand-text {
  display: grid;
  gap: 2px;
}
.portal-brand-text strong {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .04em;
}
.portal-brand-text span {
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.portal-copy {
  max-width: 34em;
  padding: 8vh 0;
  opacity: 0;
  transform: translateY(16px);
  animation: rise .9s ease .12s forwards;
}
.portal-eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .28em;
}
.portal-copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", "Noto Serif SC", "Songti SC", serif;
  font-size: clamp(40px, 7vw, 68px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: .04em;
}
.portal-lead {
  margin: 22px 0 0;
  max-width: 28em;
  color: var(--muted);
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.85;
  font-weight: 400;
}
.portal-foot {
  color: rgba(244, 241, 234, .45);
  font-size: 12px;
  letter-spacing: .04em;
  opacity: 0;
  animation: rise .8s ease .28s forwards;
}
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes soft-zoom {
  from { transform: scale(1.02); }
  to { transform: scale(1.06); }
}
@media (max-width: 760px) {
  html, body { overflow: auto; }
  .portal-frame {
    width: min(100% - 40px, 560px);
    padding: 28px 0 24px;
  }
  .portal-media img { object-position: 78% center; }
  .portal-veil {
    background:
      linear-gradient(180deg, rgba(8, 8, 10, .72) 0%, rgba(8, 8, 10, .55) 45%, rgba(8, 8, 10, .78) 100%),
      linear-gradient(90deg, rgba(8, 8, 10, .55), rgba(8, 8, 10, .2));
  }
  .portal-copy {
    padding: 12vh 0 10vh;
  }
  .portal-copy h1 {
    font-size: clamp(34px, 11vw, 48px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .portal-brand,
  .portal-copy,
  .portal-foot,
  .portal-media img {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
