:root {
    --ink: #f3f0e8;
    --muted: #b7b8b3;
    --quiet: #858b8d;
    --line: rgba(243, 240, 232, .2);
    --panel: #202528;
    --page: #14181a;
    --yellow: #ffc914;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--page); color: var(--ink); font-family: "Segoe UI", "Microsoft YaHei", sans-serif; font-size: 16px; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.arrow-icon { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; background: currentColor; -webkit-mask: url("/assets/icons/arrow-up-right.svg") center / contain no-repeat; mask: url("/assets/icons/arrow-up-right.svg") center / contain no-repeat; }
button, input { font: inherit; }
button { color: inherit; }
.shell { width: 100%; margin: 0; padding-right: 8vw; padding-left: 8vw; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; height: 116px; display: flex; align-items: center; gap: 52px; padding: 0 36px; background: linear-gradient(180deg, rgba(18, 22, 24, .95) 0%, rgba(25, 29, 31, .78) 48%, rgba(25, 29, 31, 0) 100%); transition: background .25s, height .25s; }
.site-header.is-scrolled { height: 88px; background: rgba(20, 24, 26, .94); backdrop-filter: blur(16px); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 226px; }
.brand-mark { width: 66px; height: 66px; object-fit: contain; }
.brand-wordmark { width: 118px; height: auto; object-fit: contain; }
.primary-nav { display: flex; align-items: center; gap: 32px; }
.nav-link { position: relative; padding: 8px 0; color: var(--muted); font-size: 14px; letter-spacing: .05em; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 1px; height: 2px; background: var(--yellow); transition: right .25s; }
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.search-form { display: flex; align-items: center; min-height: 38px; padding: 0 7px 0 12px; border: 1px solid rgba(245, 244, 239, .32); border-radius: 3px; background: rgba(8, 10, 11, .38); transition: border-color .2s, background .2s, box-shadow .2s; }
.search-form:focus-within { border-color: rgba(255, 201, 20, .8); background: rgba(8, 10, 11, .62); box-shadow: 0 0 0 3px rgba(255, 201, 20, .1); }
.search-form input { width: 170px; padding: 7px 4px 7px 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; }
.search-form input::placeholder { color: var(--quiet); }
.search-form button { width: 28px; height: 30px; display: grid; place-items: center; padding: 0 0 3px; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 22px; line-height: 1; transform: translateY(-1px); }
.search-form button:hover { color: var(--yellow); }
.user-link { padding: 8px 0; color: var(--muted); font-size: 13px; }
.user-link:hover { color: var(--yellow); }
.menu-toggle { display: none; padding: 7px 0; border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 13px; }

.hero { position: relative; height: 100svh; min-height: 640px; display: flex; align-items: center; overflow: hidden; isolation: isolate; background: #303638; transition: height .55s cubic-bezier(.22, .61, .36, 1), min-height .55s cubic-bezier(.22, .61, .36, 1); }
.hero.is-collapsed { height: 0; min-height: 0; }
.hero.is-collapsed > * { opacity: 0; pointer-events: none; }
.hero-media, .hero-shade { position: absolute; z-index: -2; inset: 0; }
.hero-media { background: #303638 center / cover no-repeat; transition: opacity .5s, background-image .5s; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media.has-image { background-position: center; }
.hero-shade { z-index: -1; background: rgba(8, 10, 11, .2); }
.hero-content { position: absolute; right: clamp(24px, 5vw, 120px); bottom: clamp(112px, 13vh, 176px); display: flex; flex-direction: column; align-items: flex-end; width: min(560px, 42vw); margin: 0; padding: 0; text-align: right; }
.hero-project { width: 100%; max-width: 720px; margin-bottom: 34px; }
.hero-project-type { display: block; margin-bottom: 15px; color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.hero-project h1 { margin-bottom: 18px; text-wrap: balance; }
.hero-project p { max-width: 520px; margin-bottom: 0; margin-left: auto; color: #d4d4cf; font-size: 15px; line-height: 1.7; }
.eyebrow { margin: 0 0 18px; color: var(--yellow); font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 760px; margin-bottom: 28px; font-size: clamp(48px, 7vw, 94px); font-weight: 650; letter-spacing: -.055em; line-height: .98; }
h1 em { color: var(--yellow); font-style: normal; }
.hero-intro { max-width: 430px; margin-bottom: 34px; color: #d4d4cf; font-size: 16px; }
.hero-actions { display: flex; justify-content: flex-end; gap: 14px; align-items: center; width: 100%; }
.button { display: inline-flex; align-items: center; gap: 18px; min-height: 46px; padding: 0 18px; border: 1px solid transparent; font-size: 13px; transition: background .2s, color .2s, border-color .2s, transform .2s; }
.button span { font-size: 18px; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--yellow); color: #141515; }
.button-primary:hover { background: #ffe173; }
.button-quiet { color: var(--ink); border-color: var(--line); }
.button-quiet:hover { border-color: var(--ink); }
.hero-meta { position: absolute; right: 0; bottom: 32px; left: 0; display: flex; align-items: center; gap: 18px; color: rgba(245, 244, 239, .64); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; }
.hero-meta, .hero-dots { display: none; }
.hero-scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.hero-scroll-cue i { display: inline-block; width: 34px; height: 1px; background: var(--yellow); }
.hero-counter { margin-left: auto; color: var(--ink); }
.pause-button { width: 32px; height: 32px; border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 11px; }
.pause-button:hover { border-color: var(--yellow); color: var(--yellow); }
.hero-dots { position: absolute; right: 36px; bottom: 36px; display: flex; gap: 7px; }
.hero-dot { width: 28px; height: 2px; border: 0; padding: 0; background: rgba(255, 255, 255, .35); cursor: pointer; }
.hero-dot.is-active { background: var(--yellow); }

.latest-section, .journal-section { padding-top: 220px; padding-bottom: 70px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 34px; }
h2 { margin-bottom: 0; font-size: clamp(34px, 4vw, 54px); font-weight: 600; letter-spacing: -.055em; line-height: 1; }
.text-link { color: var(--muted); font-size: 13px; }
.text-link span { margin-left: 12px; color: var(--yellow); font-size: 18px; }
.text-link:hover { color: var(--ink); }
.featured-grid { position: relative; height: clamp(360px, 32vw, 600px); overflow: hidden; perspective: 1400px; }
.journal-showcase { margin-top: 12px; }
.feature-card { position: absolute; top: 50%; left: 50%; width: 48%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); opacity: .56; filter: brightness(.7) saturate(.75); transform-origin: center; transition: transform .65s cubic-bezier(.22, .8, .24, 1), opacity .45s, filter .45s, box-shadow .45s; }
.feature-card.is-active { z-index: 3; opacity: 1; filter: none; transform: translate(-50%, -50%) scale(1); box-shadow: 0 28px 70px rgba(0, 0, 0, .4); }
.feature-card.is-prev { z-index: 1; transform: translate(-112%, -50%) scale(.82) rotateY(7deg); }
.feature-card.is-next { z-index: 2; transform: translate(12%, -50%) scale(.82) rotateY(-7deg); }
.feature-card::before { content: ""; position: absolute; inset: 0; background: var(--cover, #252a2c) center / cover no-repeat; transition: transform .5s; }
.feature-card.has-cover::before { background-color: #252a2c; background-size: cover; background-repeat: no-repeat; }
.feature-card:hover::before { transform: scale(1.03); }
.feature-card::after { display: none; }
.feature-info { position: absolute; z-index: 1; bottom: 28px; left: 28px; width: min(520px, calc(100% - 56px)); max-height: calc(100% - 92px); display: grid; grid-template-columns: 118px minmax(0, 1fr); column-gap: 20px; align-items: center; overflow: hidden; padding: 0; border: 1px solid rgba(243, 240, 232, .28); border-radius: 3px; background: linear-gradient(90deg, rgba(255, 201, 20, .94) 0 118px, rgba(13, 17, 18, .88) 118px 100%); box-shadow: 0 14px 34px rgba(0, 0, 0, .3); }
.feature-index { grid-column: 1; grid-row: 1 / span 2; align-self: stretch; display: flex; flex-direction: column; justify-content: space-between; align-items: center; margin: 0; padding: 14px 13px 15px; color: #171919; line-height: 1; text-align: center; }
.feature-index strong { font-size: 30px; font-weight: 700; letter-spacing: 0; }
.feature-index small { font-size: 9px; font-weight: 700; letter-spacing: .08em; line-height: 1.35; white-space: nowrap; }
.feature-info h3 { grid-column: 2; margin: 0; padding: 15px 18px 0 0; color: var(--ink); font-size: 31px; font-weight: 650; letter-spacing: 0; line-height: 1.16; overflow-wrap: anywhere; }
.feature-info p { grid-column: 2; max-width: 380px; margin: 0; padding: 7px 18px 15px 0; color: #aeb6b3; font-size: 11px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature-type { position: absolute; z-index: 1; top: 22px; left: 24px; max-width: calc(100% - 84px); padding: 4px 8px; color: #fff; background: rgba(13, 17, 18, .68); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.feature-arrow { position: absolute; z-index: 1; right: 24px; top: 20px; width: 26px; height: 26px; color: var(--yellow); filter: drop-shadow(0 2px 5px rgba(0, 0, 0, .7)); }
.skeleton-card { background: #202528; }
.skeleton-card::before { background: #2a3032; opacity: .75; }
.placeholder-card::before { background: linear-gradient(135deg, #2b3335 0%, #202628 52%, #181d1f 100%); opacity: 1; }
.placeholder-card::after { background: linear-gradient(180deg, transparent 30%, rgba(9, 12, 13, .9) 100%); }
.empty-state { display: flex; align-items: center; gap: 22px; min-height: 130px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--muted); }
.empty-index { color: var(--yellow); font-size: 12px; letter-spacing: .15em; }
.empty-state strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 17px; }
.empty-state p { margin: 0; font-size: 13px; }

.journal-section { padding-top: 70px; }
.journal-list { border-top: 1px solid var(--line); }
.journal-item, .journal-placeholder { display: grid; grid-template-columns: 70px 1fr 130px 22px; align-items: center; gap: 18px; min-height: 88px; border-bottom: 1px solid var(--line); }
.journal-item:hover { color: var(--yellow); }
.journal-item span, .journal-placeholder span { color: var(--muted); font-size: 13px; }
.journal-item .journal-number, .journal-placeholder span:first-child { color: var(--yellow); font-size: 11px; letter-spacing: .1em; }
.journal-item strong { color: var(--ink); font-size: 16px; font-weight: 500; }
.journal-item time { text-align: right; }
.journal-item i { color: var(--yellow); font-style: normal; font-size: 20px; }

.about-band { margin-top: 44px; background: var(--yellow); color: #181919; }
.about-inner { display: grid; grid-template-columns: 1fr 1.2fr .8fr; align-items: end; gap: 42px; padding-top: 84px; padding-bottom: 84px; }
.about-inner .eyebrow { color: #181919; }
.about-inner h2 { font-size: clamp(40px, 5vw, 68px); }
.about-inner p { max-width: 355px; margin-bottom: 0; font-size: 15px; line-height: 1.7; }
.button-outline { justify-self: end; border-color: #181919; }
.button-outline:hover { background: #181919; color: var(--yellow); }
.site-footer { position: relative; border-top: 2px solid var(--yellow); background: #0d1112; box-shadow: 0 -18px 50px rgba(0, 0, 0, .22); }
.footer-inner { display: grid; grid-template-columns: auto auto minmax(0, 1fr); align-items: center; gap: 30px; min-height: 82px; }
.footer-brand { justify-self: start; display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.footer-brand-mark { width: 34px; height: 34px; object-fit: contain; transition: transform .25s; }
.footer-brand-copy { display: flex; }
.footer-brand-copy img { width: 61px; height: auto; object-fit: contain; }
.footer-brand:hover .footer-brand-mark { transform: rotate(-5deg) scale(1.06); }
.footer-nav { display: flex; align-items: center; gap: 30px; }
.footer-nav a { position: relative; padding: 8px 0; color: var(--muted); font-size: 12px; }
.footer-nav a::after { content: ""; position: absolute; right: 100%; bottom: 3px; left: 0; height: 1px; background: var(--yellow); transition: right .2s; }
.footer-nav a:hover { color: var(--ink); }
.footer-nav a:hover::after { right: 0; }
.back-top { justify-self: end; width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 3px; color: var(--muted); transition: border-color .2s, background .2s, color .2s, transform .2s; }
.back-top span { font-size: 17px; line-height: 1; }
.back-top:hover { border-color: var(--yellow); background: var(--yellow); color: #141515; transform: translateY(-2px); }
.footer-meta { min-height: 40px; display: flex; align-items: center; gap: 22px; border-top: 1px solid rgba(243, 240, 232, .1); color: var(--quiet); font-size: 10px; }
.footer-copyright { flex: 0 0 auto; letter-spacing: .06em; }
.compliance { justify-self: end; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.compliance > * + *::before { content: "·"; margin-right: 18px; color: rgba(243, 240, 232, .22); }
.compliance a { transition: color .2s; }
.compliance a:hover { color: var(--yellow); }
.footer-brand:focus-visible, .footer-nav a:focus-visible, .back-top:focus-visible, .compliance a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; }

@media (max-width: 800px) {
    .shell { padding-right: 20px; padding-left: 20px; }
    .site-header { height: 88px; padding: 0 20px; gap: 0; }
    .brand { gap: 9px; min-width: 0; }
    .brand-mark { width: 50px; height: 50px; }
    .brand-wordmark { width: 89px; }
    .primary-nav { position: absolute; top: 88px; right: 20px; left: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 7px 16px; border: 1px solid var(--line); background: #131617; }
    .primary-nav.is-open { display: flex; }
    .nav-link { padding: 13px 0; border-bottom: 1px solid var(--line); }
    .nav-link:last-child { border-bottom: 0; }
    .header-actions { gap: 10px; }
    .search-form { min-height: 36px; padding-left: 8px; padding-right: 4px; }
    .search-form input { width: clamp(62px, 21vw, 104px); }
    .user-link { display: none; }
    .menu-toggle { display: block; }
    .hero { height: 100svh; min-height: 620px; }
    .hero-content { right: 20px; bottom: 136px; width: calc(100% - 40px); }
    .hero-project { margin-bottom: 28px; }
    h1 { font-size: clamp(46px, 13vw, 72px); }
    .hero-dots { right: 20px; bottom: 34px; }
    .hero-meta { bottom: 34px; left: 20px; width: auto; right: auto; }
    .pause-button { display: none; }
    .featured-grid { height: auto; overflow: visible; margin-right: 0; margin-left: 0; perspective: none; touch-action: auto; }
    .feature-card, .feature-card.is-active, .feature-card.is-prev, .feature-card.is-next { position: relative; top: auto; left: auto; display: block; width: 100%; aspect-ratio: 4 / 3; margin-bottom: 16px; opacity: 1; filter: none; transform: none; box-shadow: none; }
    .feature-card:last-child { margin-bottom: 0; }
    .feature-info { bottom: 18px; left: 18px; width: calc(100% - 36px); grid-template-columns: 92px minmax(0, 1fr); column-gap: 14px; background: linear-gradient(90deg, rgba(255, 201, 20, .94) 0 92px, rgba(13, 17, 18, .88) 92px 100%); }
    .feature-index { padding: 12px 10px 13px; }
    .feature-index strong { font-size: 25px; }
    .feature-index small { font-size: 8px; }
    .feature-info h3 { padding: 13px 13px 0 0; font-size: 25px; }
    .feature-info p { padding: 5px 13px 13px 0; font-size: 10px; }
    .latest-section { padding-top: 170px; }
    .about-inner { grid-template-columns: 1fr; gap: 22px; padding-top: 60px; padding-bottom: 60px; }
    .button-outline { justify-self: start; }
    .journal-item, .journal-placeholder { grid-template-columns: 40px 1fr 80px 16px; gap: 9px; }
    .journal-item strong { font-size: 14px; }
    .journal-item time { font-size: 11px; }
    .footer-inner { grid-template-columns: 1fr auto; gap: 18px; padding-top: 24px; padding-bottom: 24px; }
    .footer-brand { gap: 7px; }
    .footer-brand-mark { width: 38px; height: 38px; }
    .footer-brand-copy img { width: 68px; }
    .footer-copyright { justify-self: end; }
    .compliance { grid-column: 1 / -1; justify-self: center; justify-content: center; width: 100%; gap: 8px 14px; text-align: center; }
    .compliance > * + *::before { margin-right: 14px; }
}

@media (min-width: 801px) {
    html { scrollbar-width: none; }
    html::-webkit-scrollbar { display: none; }
    body.desktop-page-mode { overflow: hidden; }
    body.desktop-page-mode main { transform: translateY(0); transition: transform .72s cubic-bezier(.22, .72, .24, 1); will-change: transform; }
    body.desktop-page-mode .site-footer { position: fixed; right: 0; bottom: 0; left: 0; z-index: 30; visibility: hidden; transform: translateY(100%); opacity: 0; transition: transform .46s cubic-bezier(.22, .8, .24, 1), opacity .3s, visibility 0s linear .46s; }
    body.desktop-page-mode .site-footer.show-footer { visibility: visible; transform: translateY(0); opacity: 1; transition-delay: 0s; }
    .hero, .latest-section, .journal-section { height: 100svh; min-height: 100svh; }
    .latest-section, .journal-section { position: relative; display: flex; flex-direction: column; justify-content: flex-start; padding-top: 144px; padding-bottom: 72px; }
    .latest-section .section-heading, .journal-section .section-heading { flex: 0 0 auto; }
    .latest-section .section-heading, .journal-section .section-heading { width: 100%; margin-bottom: 28px; }
    .latest-section .featured-grid, .journal-section .journal-showcase { flex: 0 0 min(70vh, 800px); width: 100%; }
    .latest-section .feature-card, .journal-section .feature-card { width: auto; height: 100%; max-height: 100%; aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
