:root {
  --ink: #12151c;
  --ink-soft: #3a404c;
  --mute: #6b7380;
  --line: rgba(18, 21, 28, 0.1);
  --paper: #f3f5f8;
  --paper-2: #e8ecf1;
  --hero: #0b0e14;
  --gold: #b8923e;
  --gold-bright: #d4b06e;
  --serif: "Noto Serif SC", "Songti SC", serif;
  --display: "Cormorant Garamond", "Noto Serif SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", sans-serif;
  --pad: clamp(20px, 5vw, 72px);
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--pad);
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease;
  border-bottom: 1px solid transparent;
}
.top.is-solid {
  background: rgba(243, 245, 248, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.top.is-solid .logo,
.top.is-solid .login { color: var(--ink); }
.top.is-solid .login {
  border-color: rgba(18, 21, 28, 0.18);
}
.logo {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: #f3efe6;
  transition: color .3s;
}
.login {
  font-size: 13px;
  letter-spacing: 0.14em;
  color: rgba(243, 239, 230, 0.88);
  border: 1px solid rgba(243, 239, 230, 0.28);
  padding: 10px 18px;
  transition: color .25s, border-color .25s, background .25s;
}
.login:hover {
  border-color: var(--gold-bright);
  color: #fff;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--hero);
  color: #f3efe6;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 65% at 78% 12%, rgba(184, 146, 62, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 50% at 8% 90%, rgba(90, 120, 160, 0.16), transparent 50%),
    linear-gradient(165deg, #0b0e14 0%, #151a24 48%, #0d1118 100%);
}
.hero-mesh::before {
  content: "";
  position: absolute;
  inset: -15%;
  background: repeating-linear-gradient(
    108deg,
    transparent 0,
    transparent 52px,
    rgba(243, 239, 230, 0.02) 52px,
    rgba(243, 239, 230, 0.02) 53px
  );
  animation: mesh-drift 32s linear infinite;
}
.hero-ring {
  position: absolute;
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  right: -6%;
  top: 46%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(184, 146, 62, 0.22);
  animation: ring-breathe 9s ease-in-out infinite;
}
.hero-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 230, 0.06);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2 * var(--pad), var(--max));
  margin: 0 auto;
  padding: 120px 0 clamp(64px, 11vh, 110px);
}
.eyebrow {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 22px;
  opacity: 0;
  animation: rise 0.9s cubic-bezier(.22,1,.36,1) 0.1s forwards;
}
.brand-mark {
  font-family: var(--serif);
  font-size: clamp(42px, 8vw, 86px);
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.05;
  margin-bottom: 14px;
  opacity: 0;
  animation: rise 1s cubic-bezier(.22,1,.36,1) 0.22s forwards;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4.8vw, 46px);
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(243, 239, 230, 0.82);
  margin-bottom: 20px;
  opacity: 0;
  animation: rise 1s cubic-bezier(.22,1,.36,1) 0.34s forwards;
}
.lead {
  max-width: 36em;
  font-weight: 300;
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.9;
  color: rgba(243, 239, 230, 0.5);
  margin-bottom: 36px;
  opacity: 0;
  animation: rise 1s cubic-bezier(.22,1,.36,1) 0.46s forwards;
}
.cta {
  opacity: 0;
  animation: rise 1s cubic-bezier(.22,1,.36,1) 0.58s forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 30px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  background: linear-gradient(135deg, #d4b06e, #a8843f);
  color: #14110c;
  transition: filter .25s, transform .25s;
}
.btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}
.btn-dark {
  background: var(--ink);
  color: #f3efe6;
}
.btn-dark:hover {
  filter: brightness(1.15);
}

/* —— Sections —— */
.section {
  padding: clamp(72px, 12vh, 120px) 0;
}
.sec-label {
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section h2 {
  font-family: var(--serif);
  font-size: clamp(26px, 3.8vw, 40px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.35;
  margin-bottom: 20px;
}
.sec-lead {
  max-width: 40em;
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--mute);
  font-weight: 300;
  line-height: 1.9;
}

.intro {
  background:
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
}

.process {
  background: #fff;
}
.flow {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}
.flow li {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.flow .num {
  font-family: var(--display);
  font-size: 28px;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding-top: 4px;
}
.flow h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.flow p {
  color: var(--mute);
  font-size: 15px;
  max-width: 42em;
}

.value {
  background:
    radial-gradient(900px 420px at 100% 0%, rgba(184, 146, 62, 0.08), transparent 55%),
    var(--paper-2);
}
.value-list {
  margin-top: 44px;
}
.value-list li {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.value-list li:last-child { border-bottom: 1px solid var(--line); }
.value-list strong {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.value-list span {
  color: var(--mute);
  font-size: 15px;
}

.scene {
  background: #fff;
  border-top: 1px solid var(--line);
}
.scene-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(36px, 6vw, 72px);
  align-items: end;
}
.scene-copy p:last-child {
  color: var(--mute);
  font-size: 15px;
  line-height: 1.9;
  max-width: 34em;
}
.scene-points {
  border-top: 1px solid var(--line);
}
.scene-points li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  padding-left: 18px;
  position: relative;
}
.scene-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 1px;
  background: var(--gold);
  transform: translateY(-50%);
}

.close {
  background:
    linear-gradient(160deg, #12151c 0%, #1a2030 55%, #12151c 100%);
  color: #f3efe6;
}
.close .sec-label { color: var(--gold-bright); }
.close .sec-lead {
  color: rgba(243, 239, 230, 0.5);
  margin-bottom: 32px;
}
.close-inner { max-width: 720px; }
.domain {
  margin-top: 28px;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(212, 176, 110, 0.7);
}

/* —— Footer —— */
.foot {
  background: #0a0c10;
  color: rgba(243, 239, 230, 0.42);
  padding: 28px 0 36px;
  font-size: 13px;
}
.foot-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  justify-content: space-between;
  align-items: center;
}
.foot-left {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
}
.foot-left strong {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(243, 239, 230, 0.78);
}
.foot-right {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.foot a:hover { color: var(--gold-bright); }

/* —— Reveal —— */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
@keyframes mesh-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-48px, 24px, 0); }
}
@keyframes ring-breathe {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.85; }
  50% { transform: translateY(-50%) scale(1.035); opacity: 1; }
}

@media (max-width: 820px) {
  .flow li {
    grid-template-columns: 56px 1fr;
    gap: 14px;
  }
  .value-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .scene-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .brand-mark { letter-spacing: 0.06em; }
  .lead br { display: none; }
}

@media (max-width: 520px) {
  .login { padding: 8px 14px; font-size: 12px; }
  .hero-inner { padding-top: 100px; }
  .flow .num { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal { opacity: 1; transform: none; }
}
