:root {
    --bg: #101820;
    --bg-deep: #0a1118;
    --panel: rgba(19, 31, 39, .82);
    --line: rgba(210, 190, 145, .20);
    --gold: #c9a96e;
    --gold-bright: #e4c98d;
    --text: #f2eee5;
    --muted: #a6a9a5;
    --serif: "Cinzel", Georgia, serif;
    --sans: "Manrope", Arial, sans-serif;
    --container: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; min-width: 320px; background: var(--bg-deep); color: var(--text);
    font-family: var(--sans); -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.site-shell { position: relative; overflow: hidden; min-height: 100vh; background: #101820; }
.ambient { position: absolute; z-index: 0; width: 520px; height: 520px; border-radius: 50%; filter: blur(110px); opacity: .12; pointer-events: none; }
.ambient--one { top: 500px; left: -260px; background: #b18b50; }
.ambient--two { top: 1100px; right: -280px; background: #397b83; }
.site-header {
    position: absolute; z-index: 20; top: 0; left: 0; width: 100%; min-height: 92px;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    padding: 0 max(5.5vw, calc((100vw - var(--container))/2)); border-bottom: 1px solid rgba(255,255,255,.10);
    background: linear-gradient(180deg, rgba(8,14,19,.72), rgba(8,14,19,.08));
}
.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand-mark {
    width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--gold);
    color: var(--gold-bright); font: 700 25px var(--serif); transform: rotate(45deg);
}
.brand-mark::first-letter { transform: rotate(-45deg); }
.brand-copy { display: flex; flex-direction: column; gap: 2px; }
.brand-name { font: 700 17px var(--serif); letter-spacing: .19em; }
.brand-domain { color: #a6a69e; font-size: 9px; letter-spacing: .28em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 36px); }
.nav-link { position: relative; padding: 12px 0; color: #d1d0c9; font-size: 11px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; transition: color .2s; white-space: nowrap; }
.nav-link:hover, .nav-link.is-active { color: var(--gold-bright); }
.nav-link.is-active::after { content: ""; position: absolute; bottom: 2px; left: 0; width: 20px; height: 1px; background: var(--gold); }
.nav-link--accent { padding: 13px 18px; border: 1px solid rgba(201,169,110,.65); color: var(--gold-bright); }
.nav-link--accent:hover { background: var(--gold); color: #101820; }
.header-account { justify-self: end; color: #d4d0c6; font-size: 12px; }
.header-account a { color: var(--gold-bright); }
.menu-toggle { display: none; }
.hero { position: relative; min-height: min(850px, 100svh); min-height: max(720px, 100svh); display: flex; align-items: center; padding: 145px max(8vw, calc((100vw - var(--container))/2)) 110px; isolation: isolate; }
.hero-art { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 72% 32%, #49616a 0, #263b43 24%, #17272f 52%, #101820 82%); }
.hero-art::before {
    content: ""; position: absolute; inset: 0;
    background-image: linear-gradient(90deg, rgba(8,15,21,.94) 0%, rgba(8,15,21,.74) 35%, rgba(8,15,21,.12) 74%, rgba(8,15,21,.34) 100%),
      linear-gradient(0deg, #101820 0%, transparent 30%, rgba(8,14,19,.24) 100%);
}
.moon { position: absolute; width: clamp(150px, 19vw, 260px); aspect-ratio: 1; border-radius: 50%; top: 17%; right: 21%; background: radial-gradient(circle at 35% 35%, #f1dfb7, #c6b28d 60%, #9b8c75); opacity: .72; box-shadow: 0 0 70px rgba(226,202,154,.18); }
.mountain { position: absolute; bottom: 12%; width: 80%; height: 45%; clip-path: polygon(0 100%, 17% 48%, 27% 69%, 45% 12%, 59% 61%, 73% 30%, 100% 100%); }
.mountain--back { right: -4%; background: linear-gradient(150deg, #52636a, #263b43 65%); opacity: .7; }
.mountain--front { right: -14%; bottom: 5%; height: 39%; background: linear-gradient(150deg, #263c40, #101d25 70%); opacity: .95; }
.castle { position: absolute; right: 19%; bottom: 22%; width: clamp(180px, 24vw, 340px); height: clamp(170px, 20vw, 280px); opacity: .88; filter: drop-shadow(0 0 22px rgba(5,12,16,.5)); }
.castle-wall { position: absolute; bottom: 0; left: 13%; width: 74%; height: 48%; background: linear-gradient(90deg,#17272d,#34464a 50%,#18282d); clip-path: polygon(0 20%, 14% 20%, 14% 0, 27% 0, 27% 20%, 45% 20%, 45% 0, 59% 0, 59% 20%, 78% 20%, 78% 0, 91% 0, 91% 20%, 100% 20%, 100% 100%, 0 100%); }
.tower { position: absolute; bottom: 37%; width: 18%; height: 54%; background: linear-gradient(90deg,#17272d,#425257 60%,#1a2a30); }
.tower::before { content: ""; position: absolute; top: -25%; left: -12%; width: 124%; height: 30%; background: #59666a; clip-path: polygon(50% 0,100% 100%,0 100%); }
.tower::after { content: ""; position: absolute; left: 42%; top: 38%; width: 16%; height: 25%; background: #d3a96b; box-shadow: 0 0 13px #d3a96b; opacity: .8; }
.tower--left { left: 12%; height: 65%; }
.tower--center { left: 41%; height: 85%; width: 20%; }
.tower--right { right: 12%; height: 59%; }
.mist { position: absolute; height: 80px; width: 60%; border-radius: 50%; filter: blur(28px); background: rgba(183,194,183,.14); }
.mist--one { right: 0; bottom: 22%; }
.mist--two { left: 24%; bottom: 9%; opacity: .6; }
.hero-vignette { position: absolute; inset: 0; box-shadow: inset 0 -120px 100px -90px #101820; }
.hero-content { position: relative; z-index: 2; max-width: 650px; margin-top: 25px; }
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--gold); font-size: 10px; font-weight: 800; letter-spacing: .25em; text-transform: uppercase; }
.eyebrow-line { width: 32px; height: 1px; background: var(--gold); }
h1, h2 { margin: 24px 0 0; font: 600 clamp(39px, 5.1vw, 72px)/1.16 var(--serif); letter-spacing: .035em; }
h1 em, h2 em { color: var(--gold-bright); font-style: normal; }
.hero-description { max-width: 480px; margin: 25px 0 0; color: #c0c3bf; font-size: 14px; line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: 24px; padding: 0 23px; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-3px); }
.button--primary { color: #172027; background: linear-gradient(135deg, #e0c58b, #b58d52); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.button--primary:hover { background: #f0d9a7; }
.button-arrow { font-size: 17px; }
.button--ghost { border: 1px solid rgba(229,222,205,.36); color: #eee9df; background: rgba(15,25,31,.25); }
.button--ghost:hover { border-color: var(--gold); background: rgba(15,25,31,.6); }
.hero-note { display: flex; align-items: center; gap: 10px; margin-top: 38px; color: #9fa7a5; font-size: 10px; letter-spacing: .08em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: #a7bd8a; box-shadow: 0 0 10px #a7bd8a; }
.hero-side-label { position: absolute; right: 4.5%; top: 50%; writing-mode: vertical-rl; color: rgba(231,223,204,.45); font-size: 9px; letter-spacing: .35em; }
.scroll-cue { position: absolute; bottom: 42px; left: max(8vw, calc((100vw - var(--container))/2)); display: flex; align-items: center; gap: 12px; color: #9fa7a5; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.scroll-cue span { width: 34px; height: 1px; background: var(--gold); }
.content-section { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 85px 30px 100px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-heading h2 { margin-top: 13px; font-size: clamp(28px, 3vw, 42px); }
.text-link { padding-bottom: 8px; color: var(--gold-bright); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.text-link span { margin-left: 10px; font-size: 16px; }
.dle-content { min-height: 120px; }
.dle-content .dle-news, .dle-content .news-item, .dle-content .story { margin-bottom: 18px; }
.dle-content .shortstory, .dle-content .news-item { padding: 24px; border: 1px solid var(--line); background: rgba(20,32,40,.72); }
.dle-content h2, .dle-content h3 { color: var(--gold-bright); font-family: var(--serif); }
.dle-content a { color: var(--gold-bright); }
.dle-content img { max-width: 100%; height: auto; }
.site-footer { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 26px max(5.5vw, calc((100vw - var(--container))/2)); border-top: 1px solid var(--line); color: #858e8e; font-size: 10px; }
.footer-brand { color: var(--gold); font: 700 13px var(--serif); letter-spacing: .2em; }
.site-footer a:last-child { color: #c6b68f; }
@media (max-width: 1100px) {
    .site-header { grid-template-columns: 1fr auto; padding-inline: 5vw; }
    .header-account { display: none; }
    .main-nav { gap: 20px; }
    .nav-link { font-size: 10px; }
    .hero { padding-inline: 7vw; }
    .castle { right: 8%; }
}
@media (max-width: 760px) {
    .site-header { min-height: 76px; grid-template-columns: 1fr auto; padding-inline: 22px; background: rgba(8,14,19,.58); }
    .brand-mark { width: 36px; height: 36px; font-size: 21px; }
    .brand-name { font-size: 15px; }
    .menu-toggle { display: flex; width: 42px; height: 42px; flex-direction: column; justify-content: center; gap: 6px; align-items: center; border: 1px solid var(--line); background: rgba(10,18,24,.5); cursor: pointer; }
    .menu-toggle span { display: block; width: 17px; height: 1px; background: var(--gold-bright); transition: transform .2s, opacity .2s; }
    .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
    .main-nav { position: absolute; top: 76px; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 12px 22px 20px; border-bottom: 1px solid var(--line); background: rgba(10,18,24,.97); }
    .main-nav.is-open { display: flex; }
    .nav-link { padding: 15px 4px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 11px; }
    .nav-link.is-active::after { bottom: 8px; }
    .nav-link--accent { margin-top: 10px; padding: 14px; text-align: center; border: 1px solid rgba(201,169,110,.65); }
    .hero { min-height: 790px; min-height: 100svh; padding: 130px 26px 100px; align-items: center; }
    .hero-art { background: radial-gradient(ellipse at 74% 34%, #42565e 0, #263a42 28%, #14232b 65%, #101820 100%); }
    .hero-art::before { background: linear-gradient(90deg, rgba(8,15,21,.78), rgba(8,15,21,.34)), linear-gradient(0deg,#101820 0%,transparent 42%,rgba(8,14,19,.28)); }
    .moon { top: 19%; right: 12%; width: 150px; }
    .castle { right: -3%; bottom: 19%; width: 230px; height: 200px; opacity: .58; }
    .mountain { width: 120%; right: -20%; }
    .hero-content { margin-top: 45px; }
    h1 { font-size: clamp(36px, 9.4vw, 54px); }
    .hero-description { max-width: 420px; font-size: 13px; }
    .hero-side-label { display: none; }
    .scroll-cue { left: 26px; bottom: 30px; }
    .content-section { padding: 65px 22px 75px; }
    .section-heading { align-items: start; flex-direction: column; }
    .section-heading h2 { font-size: 31px; }
    .site-footer { flex-wrap: wrap; padding: 24px 22px; }
}
@media (max-width: 390px) {
    .hero { padding-inline: 20px; }
    h1 { font-size: 34px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .button { width: 100%; }
    .hero-note { font-size: 9px; }
    .scroll-cue { left: 20px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
