/* 健三 · landing */

/* ------------------------------------------------------------ opening curtain */
.curtain { position: fixed; inset: 0; z-index: 200; pointer-events: none; }
.cur { position: absolute; top: 0; bottom: 0; width: 50.5%; background: #070605; transition: transform 1.25s cubic-bezier(.75, 0, .15, 1); }
.cur.l { left: 0; background: linear-gradient(90deg, #070605 80%, #120d0a); }
.cur.r { right: 0; background: linear-gradient(270deg, #070605 80%, #120d0a); }
.cur-seal { position: absolute; left: 50%; top: 50%; width: min(34vw, 200px); height: auto; transform: translate(-50%, -50%) scale(2.4) rotate(-12deg); opacity: 0; filter: blur(8px);
  animation: stampIn .55s .25s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes stampIn { to { transform: translate(-50%, -50%) scale(1) rotate(-6deg); opacity: 1; filter: none; } }
.curtain.open .cur.l { transform: translateX(-101%); }
.curtain.open .cur.r { transform: translateX(101%); }
.curtain.open .cur-seal { animation: none; opacity: 0; transform: translate(-50%, -50%) scale(.9) rotate(-6deg); transition: opacity .5s, transform .6s; }
.curtain.gone { display: none; }
html.no-curtain .curtain { display: none; }

/* ------------------------------------------------------------ hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px clamp(16px, 6vw, 90px) 90px; overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; transform: scale(1.04); animation: drift 24s ease-in-out infinite alternate; }
.hv.m { display: none; }
@keyframes drift { to { transform: scale(1.1) translate(-1%, -1%); } }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(600px 400px at var(--mx) var(--my), rgba(216, 50, 31, .10), transparent 70%),
              linear-gradient(90deg, rgba(11, 10, 9, .96) 0%, rgba(11, 10, 9, .82) 34%, rgba(11, 10, 9, .25) 62%, rgba(11, 10, 9, .1) 100%),
              linear-gradient(0deg, var(--ink) 0%, transparent 28%); }
.vert { position: absolute; right: clamp(14px, 3vw, 44px); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font: 400 clamp(26px, 3vw, 40px)/1 var(--brush);
  letter-spacing: .32em; color: rgba(236, 228, 212, .78); text-shadow: 0 0 30px rgba(0, 0, 0, .8); animation: breathe 5s ease-in-out infinite; }
@keyframes breathe { 50% { color: rgba(255, 120, 90, .9); text-shadow: 0 0 24px rgba(216, 50, 31, .7); } }
.hero-in { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 14px; border: 1px solid var(--line-2); border-radius: 2px;
  font: 600 12px/1 var(--mono); letter-spacing: .26em; color: var(--gold); background: rgba(11, 10, 9, .5); }
html[data-lang="zh"] .eyebrow { font-family: var(--sc); letter-spacing: .3em; font-size: 13px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cinnabar); box-shadow: 0 0 12px var(--cinnabar); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.h1 { margin: 0; font: 400 clamp(76px, 12vw, 172px)/.95 var(--brush); letter-spacing: .02em; }
html[data-lang="en"] .h1 { font: 500 clamp(48px, 7vw, 96px)/1 var(--serif); letter-spacing: -.01em; }
html[data-lang="en"] .h1 .red { font-style: italic; }
.h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; animation-play-state: paused; }
.h1 .line:nth-child(2) > span { animation-delay: .14s; }
html.no-curtain .h1 .line > span, .ready .h1 .line > span { animation-play-state: running; }
.h1 .red { color: var(--cinnabar); text-shadow: 0 0 60px rgba(216, 50, 31, .45); }
@keyframes rise { to { transform: none; } }
.lede { margin: 26px 0 30px; max-width: 560px; font-size: clamp(17px, 1.5vw, 19px); color: var(--paper-2); line-height: 1.85; }
.redact { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; align-items: center; margin: 0 0 34px; padding: 18px 20px; max-width: 460px;
  background: rgba(19, 17, 16, .72); border: 1px solid var(--line); border-left: 3px solid var(--cinnabar); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.redact .rl { font-size: 13px; color: var(--muted); letter-spacing: .14em; }
.redact .rv { font: 500 22px/1 var(--mono); color: var(--gold-hi); letter-spacing: .12em; min-height: 24px; display: flex; align-items: center; }
.bar-x { display: inline-block; width: 150px; height: 18px; background: repeating-linear-gradient(90deg, #000 0 14px, #0f0d0c 14px 16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.bar-x::after, .ink-bar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 20%, rgba(217, 178, 106, .25) 50%, transparent 80%); transform: translateX(-100%); animation: sweep 3.2s ease-in-out infinite; }
@keyframes sweep { 60%, 100% { transform: translateX(100%); } }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.count { display: flex; align-items: center; gap: 10px; margin: 26px 0 0; color: var(--muted); font-size: 15px; }
.count b { color: var(--paper); font-family: var(--mono); font-weight: 500; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--jade); box-shadow: 0 0 0 0 rgba(111, 191, 142, .6); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(111, 191, 142, 0); } 100% { box-shadow: 0 0 0 0 rgba(111, 191, 142, 0); } }
.scroll { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 14px; transform: translateX(-50%); }
.scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: var(--gold); animation: wheel 1.8s infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ------------------------------------------------------------ red band marquee */
.band { position: relative; z-index: 2; margin: -10px -2vw 0; padding: 16px 0; background: linear-gradient(180deg, #c42b1a, #96200f); transform: rotate(-1.6deg);
  box-shadow: 0 20px 60px -20px rgba(216, 50, 31, .6), inset 0 1px 0 rgba(255, 200, 160, .35), inset 0 -1px 0 rgba(0, 0, 0, .3); overflow: hidden; }
.band-in { display: flex; width: max-content; gap: 30px; align-items: center; animation: marquee 34s linear infinite; }
.band span { font: 400 30px/1 var(--brush); color: var(--gold-hi); white-space: nowrap; letter-spacing: .06em; }
.band span:nth-of-type(even) { font: 500 18px/1 var(--mono); letter-spacing: .3em; color: #ffe9c9; }
.band i { font-style: normal; color: rgba(255, 233, 201, .6); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ sections */
section { position: relative; }
.dossier, .seals, .wall, .faq { padding: clamp(90px, 12vw, 150px) clamp(16px, 6vw, 90px) 0; max-width: 1240px; margin: 0 auto; }
.sec-head { display: flex; align-items: flex-end; gap: clamp(18px, 3vw, 40px); margin-bottom: 46px; }
.sec-zh { flex: none; font-size: clamp(64px, 9vw, 120px); line-height: .9; color: var(--paper); text-shadow: 0 0 40px rgba(216, 50, 31, .25); }
.kicker { margin: 0 0 8px; font: 600 12px/1 var(--mono); letter-spacing: .34em; color: var(--cinnabar-hi); }
.h2 { margin: 0; max-width: 620px; font: 500 clamp(22px, 2.4vw, 30px)/1.45 var(--sc); color: var(--paper-2); }
html[data-lang="en"] .h2 { font-family: var(--serif); font-size: clamp(26px, 2.8vw, 36px); line-height: 1.25; }

/* dossier file */
.file { position: relative; margin-top: 40px; padding: 0 0 8px; background: linear-gradient(180deg, #171412, #110f0d); border: 1px solid var(--line); border-radius: 3px;
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .03); }
.file::before { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(217, 178, 106, .14); pointer-events: none; }
.file-tab { display: flex; justify-content: space-between; gap: 12px; padding: 16px 26px; border-bottom: 1px solid var(--line); font: 500 12px/1 var(--mono); letter-spacing: .2em; color: var(--muted); }
html[data-lang="zh"] .file-tab span:last-child { font-family: var(--sc); letter-spacing: .14em; font-size: 13px; }
.rows { margin: 0; padding: 6px 26px 14px; }
.row { display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center; padding: 19px 0; border-bottom: 1px solid rgba(236, 228, 212, .06); }
.row:last-child { border: 0; }
.row dt { color: var(--muted); font-size: 15px; letter-spacing: .1em; }
.row dd { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 19px; color: var(--paper); flex-wrap: wrap; }
.mini-pfp { width: 28px; height: 28px; border-radius: 50%; }
.st { font-size: 13px; padding: 5px 11px; border-radius: 2px; color: var(--gold); border: 1px solid var(--line-2); white-space: nowrap; }
.st.ok { color: var(--jade); border-color: rgba(111, 191, 142, .35); }
.row.hid .st { color: var(--cinnabar-hi); border-color: rgba(216, 50, 31, .45); }
.ink-bar { position: relative; display: inline-block; height: 20px; background: #050404; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .05); }
.ink-bar.w5 { width: 130px; } .ink-bar.w6 { width: 190px; } .ink-bar.w7 { width: 230px; }
.stamp { position: absolute; z-index: 2; right: clamp(14px, 5%, 60px); top: -58px; width: clamp(96px, 13vw, 150px); height: auto; opacity: 0; transform: scale(2.2) rotate(-24deg); mix-blend-mode: screen; pointer-events: none; }
.topsecret { position: absolute; z-index: 2; right: clamp(140px, 22%, 250px); top: -20px; background: var(--ink); padding: 6px 14px; border: 3px solid var(--cinnabar); color: var(--cinnabar); font: 400 36px/1 var(--brush);
  letter-spacing: .2em; opacity: 0; transform: scale(2) rotate(10deg); pointer-events: none; mix-blend-mode: screen; }
.file.seen .stamp { animation: thump .5s .5s cubic-bezier(.3, 1.6, .5, 1) forwards; }
.file.seen .topsecret { animation: thump2 .5s .85s cubic-bezier(.3, 1.6, .5, 1) forwards; }
@keyframes thump { to { opacity: .92; transform: scale(1) rotate(-8deg); } }
@keyframes thump2 { to { opacity: .85; transform: scale(1) rotate(8deg); } }

/* seven seals */
.seal-path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; counter-reset: s; }
.seal-path li { position: relative; opacity: 0; transform: translateY(30px); padding: 26px 16px 22px; text-align: center; background: linear-gradient(180deg, rgba(28, 25, 22, .9), rgba(16, 14, 12, .9)); border: 1px solid var(--line);
  border-radius: 3px; transition: transform .5s var(--ease), border-color .4s, background .4s; }
.seal-path.in li { animation: sealIn .9s var(--ease) both; }
.seal-path.in li:nth-child(2) { animation-delay: .08s; } .seal-path.in li:nth-child(3) { animation-delay: .16s; } .seal-path.in li:nth-child(4) { animation-delay: .24s; }
.seal-path.in li:nth-child(5) { animation-delay: .32s; } .seal-path.in li:nth-child(6) { animation-delay: .4s; } .seal-path.in li:nth-child(7) { animation-delay: .48s; }
.seal-path.done li { opacity: 1; transform: none; animation: none; }
@keyframes sealIn { from { opacity: 0; transform: translateY(30px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
.seal-path li:hover { transform: translateY(-6px); border-color: rgba(216, 50, 31, .6); background: linear-gradient(180deg, rgba(60, 18, 12, .9), rgba(20, 12, 10, .9)); }
.seal-path .num { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 16px; border: 2px solid var(--cinnabar); border-radius: 6px; color: var(--cinnabar);
  font-size: 34px; transform: rotate(-5deg); transition: background .35s, color .35s, transform .5s var(--ease); }
.seal-path li:hover .num, .seal-path li.lit .num { background: var(--cinnabar); color: #fff3e6; transform: rotate(3deg) scale(1.06); }
.seal-path b { display: block; font: 600 19px/1.3 var(--sc); color: var(--paper); }
html[data-lang="en"] .seal-path b { font-family: var(--serif); font-size: 21px; }
.seal-path p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.center { display: flex; justify-content: center; margin-top: 44px; }

/* poster */
.poster { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: center; max-width: 1240px; margin: clamp(90px, 12vw, 150px) auto 0; padding: 0 clamp(16px, 6vw, 90px); }
.poster-img img { width: 100%; height: auto; border-radius: 2px; box-shadow: 0 50px 120px -40px rgba(216, 50, 31, .35); }
.quote { margin: 10px 0 24px; font: 400 clamp(48px, 6.6vw, 92px)/1.08 var(--brush); color: var(--paper); }
html[data-lang="en"] .quote { font: italic 500 clamp(40px, 5vw, 72px)/1.05 var(--serif); }
.poster .p { max-width: 520px; margin: 0; color: var(--paper-2); font-size: 18px; line-height: 1.9; }
.env-tilt { width: min(250px, 60%); margin: 34px 0 0; transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; }
.env-tilt { position: relative; }
.env-tilt img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .7)); animation: floaty 6s ease-in-out infinite; transition: opacity .6s; }
.env-loop { position: absolute; inset: -20%; width: 140%; height: 140%; object-fit: cover; opacity: 0; transition: opacity .6s; mix-blend-mode: screen; pointer-events: none;
  -webkit-mask-image: radial-gradient(closest-side, #000 62%, transparent 98%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
.env-tilt.vid-on .env-loop { opacity: 1; }
.env-tilt.vid-on img { opacity: 0; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(1.5deg); } }

/* wall */
.wall-stats { display: flex; gap: 14px; margin-bottom: 18px; }
.wall-stats div { flex: 1; max-width: 240px; padding: 18px 20px; border: 1px solid var(--line); background: var(--ink-2); border-radius: 3px; }
.wall-stats b { display: block; font: 500 34px/1.1 var(--mono); color: var(--gold-hi); }
.wall-stats span { font-size: 14px; color: var(--muted); }
.wall-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.wall-list li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; background: var(--ink-2); border: 1px solid var(--line); border-radius: 3px; min-width: 0; animation: pop .6s var(--ease) both; }
.wall-list li.empty { grid-column: 1 / -1; justify-content: center; padding: 30px; color: var(--muted); font-size: 16px; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.wl-av { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--avc, #3a2a20); color: #1a1208; font: 700 16px/1 var(--mono); overflow: hidden; }
.wl-av img { width: 100%; height: 100%; object-fit: cover; }
.wl-who { min-width: 0; flex: 1; }
.wl-who a { display: block; text-decoration: none; color: var(--paper); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wl-who small { color: var(--muted); font-size: 12px; }
.wl-tag { flex: none; font-size: 12px; padding: 4px 9px; border-radius: 2px; border: 1px solid var(--line-2); color: var(--gold); text-decoration: none; white-space: nowrap; }
.wl-tag.sent { color: var(--jade); border-color: rgba(111, 191, 142, .4); }
a.wl-tag.sent:hover { background: rgba(111, 191, 142, .1); }

/* faq */
.faq { padding-bottom: clamp(90px, 12vw, 140px); }
.qa { border-top: 1px solid var(--line); }
.qa details { border-bottom: 1px solid var(--line); }
.qa summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 22px 4px; font-size: 19px; color: var(--paper); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; font: 400 26px/1 var(--mono); color: var(--cinnabar); transition: transform .3s var(--ease); }
.qa details[open] summary::after { transform: rotate(45deg); }
.qa p { margin: 0; padding: 0 4px 24px; color: var(--paper-2); max-width: 720px; }

@media (max-width: 1080px) {
  .seal-path { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 860px) {
  .hero { align-items: flex-end; padding-top: 110px; padding-bottom: 76px; }
  .hv.d { display: none; } .hv.m { display: block; object-position: 50% 20%; }
  .hero-shade { background: linear-gradient(0deg, var(--ink) 4%, rgba(11, 10, 9, .9) 40%, rgba(11, 10, 9, .35) 68%, rgba(11, 10, 9, .25) 100%); }
  .vert { top: 120px; transform: none; font-size: 24px; }
  .h1 { font-size: clamp(72px, 22vw, 120px); }
  .scroll { display: none; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .row { grid-template-columns: 1fr auto; gap: 6px 12px; }
  .row dt { grid-column: 1 / -1; font-size: 13px; }
  .stamp { top: -40px; right: 10px; width: 84px; }
  .topsecret { right: 108px; top: -14px; font-size: 24px; }
  .poster { grid-template-columns: 1fr; }
  .poster-img { max-width: 520px; }
}
@media (max-width: 560px) {
  .seal-path { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .seal-path li:last-child { grid-column: 1 / -1; }
  .redact { grid-template-columns: auto 1fr; padding: 14px 16px; }
  .redact .rv { font-size: 19px; }
  .bar-x { width: 120px; }
  .cta .btn { flex: 1 1 100%; }
  .band span { font-size: 24px; }
  .file-tab { padding: 14px 16px; font-size: 11px; }
  .rows { padding: 4px 16px 10px; }
  .row dd { font-size: 17px; }
  .ink-bar.w6, .ink-bar.w7 { width: 150px; }
  .wall-stats b { font-size: 28px; }
  .topsecret { display: none; }
}
