/* Hidden Velvet — ascendy.ai. Dark velvet, green felt, gold. No framework, no JS. */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #0c0607;
  --velvet: #22080d;
  --velvet-2: #3a0c15;
  --velvet-glow: #6e1522;
  --felt: #0d3527;
  --felt-2: #145039;
  --gold: #d5b46c;
  --gold-2: #f2dea4;
  --gold-dim: #8c7243;
  --ivory: #f5ebd9;
  --text: #ece2cf;
  --muted: #bcab8f;
  --line: rgba(213, 180, 108, 0.32);
  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: 16px;
}
:root:lang(ja) {
  --serif: "Cormorant Garamond", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "Noto Serif JP", serif;
  --sans: system-ui, -apple-system, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", "Noto Sans JP", sans-serif;
}
:root:lang(zh-Hans) {
  --serif: "Cormorant Garamond", "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", serif;
  --sans: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background-color: var(--ink);
  background-image:
    radial-gradient(120% 60% at 15% 0%, rgba(110, 21, 34, 0.35), transparent 60%),
    radial-gradient(90% 50% at 100% 40%, rgba(58, 12, 21, 0.55), transparent 70%);
  color: var(--text);
  font: 400 17px/1.7 var(--sans);
  overflow-x: hidden;
}
:lang(ja) body, :lang(zh-Hans) body { line-height: 1.85; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ivory); }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; }
code { font-size: 0.88em; background: rgba(255,255,255,0.06); padding: 0.1em 0.35em; border-radius: 3px; overflow-wrap: anywhere; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 50; background: var(--gold); color: var(--ink); padding: 8px 14px; font-weight: 600; }
.skip-link:focus { top: 8px; color: var(--ink); }

/* ---------- headings ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--ivory); line-height: 1.15; letter-spacing: 0.01em; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(zh-Hans) h1, :lang(zh-Hans) h2, :lang(zh-Hans) h3 { line-height: 1.4; letter-spacing: 0.04em; }
h2 { font-size: clamp(30px, 4.2vw, 44px); margin: 0 0 0.6em; }
h3 { font-size: 24px; margin: 0 0 0.4em; }
.eyebrow { font: 600 13px/1.4 var(--sans); letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin: 0 0 12px; }
:lang(ja) .eyebrow, :lang(zh-Hans) .eyebrow { letter-spacing: 0.12em; }
.title-orn { display: flex; align-items: center; justify-content: center; gap: 18px; text-align: center; }
.title-orn::before, .title-orn::after { content: ""; flex: 1 1 40px; max-width: 160px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
.title-orn::after { background: linear-gradient(90deg, var(--gold), transparent); }
.diamond { display: inline-block; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }

/* ---------- buttons: one chamfered gold style ---------- */
.btn {
  --cut: 14px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 34px;
  font: 600 16px/1.2 var(--sans); letter-spacing: 0.04em; text-decoration: none; text-align: center;
  color: #1b0c06;
  background: linear-gradient(180deg, #f6e3a8 0%, #d8b569 48%, #b88f45 100%);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%);
  border: 0; cursor: pointer; position: relative;
  transition: filter 0.15s ease, transform 0.15s ease;
}
.btn:hover { color: #1b0c06; filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; filter: brightness(1.12) drop-shadow(0 0 0 #fff); box-shadow: inset 0 0 0 3px var(--ink); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--ghost { color: var(--gold-2); background: linear-gradient(180deg, var(--gold-2), var(--gold-dim)); isolation: isolate; }
.btn--ghost::before {
  content: ""; position: absolute; inset: 1.5px; z-index: -1;
  background: linear-gradient(180deg, rgba(34, 8, 13, 0.96), rgba(12, 6, 7, 0.96));
  clip-path: inherit;
}
.btn--ghost:hover { color: var(--ivory); }
.btn--small { --cut: 10px; min-height: 40px; padding: 8px 20px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(12, 6, 7, 0.86); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(12, 6, 7, 0.72); backdrop-filter: blur(10px); } }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; min-height: 64px; padding-top: 8px; padding-bottom: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ivory); font: 600 22px/1 var(--serif); letter-spacing: 0.08em; white-space: nowrap; }
.brand img { width: 30px; height: 30px; border-radius: 6px; }
.brand:hover { color: var(--gold-2); }
.site-nav { order: 3; flex: 1 1 100%; display: flex; align-items: center; gap: 4px 18px; flex-wrap: wrap; }
.site-nav a { color: var(--text); text-decoration: none; font-size: 15px; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold-2); border-bottom-color: var(--gold); }
.header-cta { margin-left: auto; }
@media (min-width: 880px) {
  .site-nav { order: 0; flex: 0 1 auto; margin-left: 24px; }
}

/* language picker (details/summary, no JS) */
.lang { position: relative; margin-left: auto; }
.site-nav .lang { margin-left: auto; }
.lang summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); padding: 6px 2px; }
.lang summary::-webkit-details-marker { display: none; }
.lang summary svg { width: 16px; height: 16px; }
.lang summary:hover, .lang[open] summary { color: var(--gold-2); }
.lang ul { position: absolute; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; min-width: 200px; background: #160a0c; border: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,0.55); z-index: 30; }
.lang li a { display: block; padding: 8px 12px; color: var(--text); text-decoration: none; font-size: 15px; border-bottom: 0; }
.lang li a:hover, .lang li a[aria-current="true"] { background: rgba(213, 180, 108, 0.12); color: var(--gold-2); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero__art img { width: 100%; aspect-ratio: 1.05; object-fit: cover; object-position: 60% 20%; }
.hero__art::after { content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 1.05; background: linear-gradient(180deg, transparent 55%, var(--ink) 99%); pointer-events: none; }
.hero__body { position: relative; margin-top: -24vw; padding-bottom: 48px; }
.hero__logo { width: min(440px, 86vw); margin: 0 0 18px; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.7)); }
.hero h1 { margin: 0; }
.hero__pitch { font-size: 18px; max-width: 34em; color: var(--ivory); margin: 0 0 26px; text-shadow: 0 2px 12px rgba(0,0,0,0.8); }
.hero__meta { margin: 22px 0 0; font-size: 14px; color: var(--muted); letter-spacing: 0.04em; }
@media (min-width: 720px) {
  .hero { min-height: clamp(560px, 78vh, 780px); display: flex; align-items: center; }
  .hero__art { position: absolute; inset: 0; z-index: -1; }
  .hero__art img { height: 100%; aspect-ratio: auto; object-position: 100% 50%; }
  .hero__art::after { inset: 0; aspect-ratio: auto; background:
      linear-gradient(90deg, rgba(12,6,7,0.92) 0%, rgba(12,6,7,0.7) 34%, rgba(12,6,7,0) 62%),
      linear-gradient(0deg, rgba(12,6,7,0.85) 0%, transparent 22%); }
  .hero__body { margin-top: 0; padding-top: 56px; padding-bottom: 64px; }
  .hero__body > * { max-width: 520px; }
  .hero__logo { width: 460px; }
}

/* ---------- sections ---------- */
.section { padding: 72px 0; position: relative; }
@media (min-width: 720px) { .section { padding: 104px 0; } }
.section--felt {
  background:
    radial-gradient(70% 90% at 50% 40%, rgba(32, 110, 78, 0.55), transparent 75%),
    radial-gradient(140% 120% at 50% 50%, var(--felt-2), var(--felt) 55%, #071c15 100%);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: inset 0 0 120px rgba(0,0,0,0.55);
}
.section--velvet {
  background:
    repeating-linear-gradient(100deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 7px),
    radial-gradient(90% 80% at 80% 20%, var(--velvet-glow), transparent 60%),
    linear-gradient(180deg, var(--velvet-2), var(--velvet) 60%, var(--ink));
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.lead { font-size: 19px; color: var(--ivory); }
.prose { max-width: 44em; }
.prose p { margin: 0 0 1.1em; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 1fr; gap: 64px; } }

/* trailer card */
.trailer { display: block; position: relative; text-decoration: none; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0,0,0,0.6); }
.trailer img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: brightness(0.62) saturate(0.9); transition: filter 0.2s ease; }
.trailer:hover img { filter: brightness(0.78); }
.trailer__play { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 14px; color: var(--ivory); font: 600 15px/1.3 var(--sans); letter-spacing: 0.06em; text-align: center; padding: 16px; }
.trailer__play span:first-child { width: 78px; height: 78px; border-radius: 50%; display: grid; place-items: center; background: rgba(12,6,7,0.55); border: 1.5px solid var(--gold); }
.trailer__play svg { width: 28px; height: 28px; margin-left: 4px; fill: var(--gold-2); }
.caption { font-size: 14px; color: var(--muted); margin: 12px 0 0; }

/* rule cards */
.rules { display: grid; gap: 18px; margin: 36px 0 28px; padding: 0; list-style: none; }
@media (min-width: 620px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .rules { grid-template-columns: repeat(5, 1fr); } }
.rule {
  position: relative; padding: 26px 20px 22px; min-height: 100%;
  background: linear-gradient(180deg, rgba(7, 28, 21, 0.82), rgba(5, 20, 15, 0.92));
  border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35), inset 0 0 0 4px rgba(7, 28, 21, 0.9), inset 0 0 0 5px rgba(213,180,108,0.18);
}
.rule h3 { font-size: 28px; color: var(--gold-2); margin: 0 0 10px; }
.rule p { margin: 0; font-size: 15.5px; line-height: 1.6; }
.rule__suit { position: absolute; top: 12px; right: 16px; font-size: 18px; color: rgba(213,180,108,0.5); font-family: var(--serif); }
.more-rules { text-align: center; max-width: 46em; margin: 0 auto; color: var(--ivory); }

/* screenshots */
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 36px 0 0; padding: 0; list-style: none; }
@media (min-width: 720px) { .shots { gap: 18px; } }
.shots a { display: block; border: 1px solid var(--line); overflow: hidden; background: #000; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.3s ease, opacity 0.2s ease; }
.shots a:hover img { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) { .shots img, .trailer img { transition: none; } .shots a:hover img { transform: none; } }

/* lists */
.list-orn { list-style: none; padding: 0; margin: 0; }
.list-orn li { position: relative; padding-left: 26px; margin: 0 0 12px; }
.list-orn li::before { content: ""; position: absolute; left: 3px; top: 0.72em; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }
.cols { display: grid; gap: 48px; }
@media (min-width: 900px) { .cols { grid-template-columns: 1fr 1fr; gap: 72px; } }

/* grade strip */
.grades { display: flex; gap: clamp(10px, 1.6vw, 18px); justify-content: center; margin: 26px 0 0; flex-wrap: wrap; }
.grades span { width: clamp(54px, 9vw, 92px); aspect-ratio: 3 / 4; display: grid; place-items: center; font: 700 clamp(30px, 4.6vw, 50px)/1 var(--serif); color: var(--ink); background: linear-gradient(180deg, var(--ivory), #e2d4b8); border-radius: 6px; box-shadow: 0 8px 18px rgba(0,0,0,0.45); }
.grades span:last-child { background: linear-gradient(180deg, #f6e3a8, #c79d4f); }

/* platforms */
.platforms { display: grid; gap: 18px; margin-top: 30px; }
@media (min-width: 720px) { .platforms { grid-template-columns: 1fr 1fr; } }
.platform { border: 1px solid var(--line); padding: 26px 26px 24px; background: rgba(12,6,7,0.5); }
.platform h3 { margin: 0 0 4px; }
.platform p { margin: 0; color: var(--muted); }
.platform .status { color: var(--gold-2); margin-top: 10px; font-weight: 600; }

/* CTA band */
.cta { text-align: center; padding: 80px 0; border-top: 1px solid var(--line);
  background: radial-gradient(60% 120% at 50% 100%, rgba(110, 21, 34, 0.55), transparent 70%), var(--ink); }
.cta h2 { margin-bottom: 0.3em; }
.cta p { color: var(--muted); margin: 0 auto 28px; max-width: 34em; }
.cta .btn-row { justify-content: center; }
.cta .disclaimer, .disclaimer { font-size: 14px; color: var(--muted); font-style: italic; max-width: 46em; margin: 32px auto 0; }

/* ---------- inner pages ---------- */
.page-head { padding: 64px 0 24px; }
.page-head h1 { font-size: clamp(36px, 6vw, 56px); margin: 0 0 12px; }
.page-head p { color: var(--muted); margin: 0; max-width: 44em; }
.article { padding-bottom: 72px; }
.article .prose h2 { font-size: clamp(26px, 3.4vw, 34px); margin: 1.6em 0 0.5em; }
.article .prose h3 { margin-top: 1.4em; }
.article .prose ul, .article .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article .prose li { margin-bottom: 0.45em; }
.article .prose img { margin: 1.4em 0; border: 1px solid var(--line); }
.note { border-left: 2px solid var(--gold); padding: 10px 16px; background: rgba(213,180,108,0.07); color: var(--muted); font-size: 15px; margin: 0 0 28px; }
.draft-banner { background: #5b1a10; color: #ffe3c4; border: 1px solid #c2643d; padding: 10px 16px; font-weight: 600; margin: 0 0 24px; }
.meta-line { color: var(--muted); font-size: 15px; margin: 0 0 10px; }

.news-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 22px; }
.news-card { display: grid; gap: 18px; border: 1px solid var(--line); padding: 18px; background: rgba(12,6,7,0.55); }
@media (min-width: 720px) { .news-card { grid-template-columns: 280px 1fr; align-items: center; } }
.news-card h2 { font-size: 28px; margin: 4px 0 8px; }
.news-card h2 a { color: var(--ivory); text-decoration: none; }
.news-card h2 a:hover { color: var(--gold-2); }
.news-card p { margin: 0; }
.empty { border: 1px dashed var(--line); padding: 32px; text-align: center; color: var(--muted); }

.facts { display: grid; grid-template-columns: minmax(110px, max-content) 1fr; gap: 10px 22px; margin: 0; }
.facts dt { color: var(--gold); font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase; padding-top: 2px; }
:lang(ja) .facts dt, :lang(zh-Hans) .facts dt { text-transform: none; letter-spacing: 0.04em; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.press-grid { display: grid; gap: 48px; }
@media (min-width: 960px) { .press-grid { grid-template-columns: 1fr 1.2fr; gap: 64px; } }
.downloads { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 18px; }
.downloads li { border: 1px solid var(--line); background: rgba(12,6,7,0.55); display: flex; flex-direction: column; }
.downloads .thumb { background: repeating-conic-gradient(#1a1012 0 25%, #120a0c 0 50%) 0 0 / 18px 18px; aspect-ratio: 16 / 9; display: grid; place-items: center; overflow: hidden; }
.downloads .thumb img { max-height: 100%; width: auto; object-fit: contain; }
.downloads .thumb--cover img { width: 100%; height: 100%; object-fit: cover; }
.downloads .info { padding: 12px 14px 14px; font-size: 15px; }
.downloads .info strong { display: block; color: var(--ivory); font-weight: 600; }
.downloads .info a { font-size: 14px; }
.downloads .info span { color: var(--muted); font-size: 13px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; font-size: 14px; color: var(--muted); background: #080405; }
.site-footer .wrap { display: grid; gap: 18px; }
@media (min-width: 820px) { .site-footer .wrap { grid-template-columns: 1fr auto; align-items: start; } }
.site-footer nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; }
.site-footer a { color: var(--text); }
.site-footer p { margin: 0 0 6px; }
.footer-langs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; }
.footer-langs a { color: var(--muted); text-decoration: none; }
.footer-langs a:hover, .footer-langs a[aria-current="true"] { color: var(--gold-2); }

.mt { margin-top: 1.4em; }
.block-gap { margin-top: 56px; }
.disclaimer--left { margin-left: 0; }
.news-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--line); }
