/* base.css — variables, reset, layout helpers, loader, toast, sections, page header */
:root{
  --bg:#07080a;
  --bg-alt:#0a0b0e;
  --card:#111318;
  --card-2:#15181e;
  --line:#22252c;
  --line-soft:rgba(255,255,255,.07);
  --text:#f2f3f5;
  --muted:#a3a9b5;
  --dim:#7b818d;
  --gold:#e9b95a;
  --gold-hi:#f6d27c;
  --gold-lo:#c4912f;
  --cyan:#2bb4ea;
  --radius:6px;
  --wrap:1120px;
  --head:"Cinzel",Georgia,serif;
  --body:"Manrope",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--muted);font-family:var(--body);font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased}
img,video,iframe{max-width:100%;display:block}
img{height:auto}
a{color:inherit;text-decoration:none}
h1,h2,h3,h4{margin:0;font-family:var(--head);color:var(--text);font-weight:600;line-height:1.15}
p{margin:0}
ul{margin:0;padding:0;list-style:none}
:focus-visible{outline:2px solid var(--cyan);outline-offset:3px;border-radius:3px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{width:min(var(--wrap),100% - 40px);margin-inline:auto}
.gold{color:var(--gold)}


/* Loader */
#loader{position:fixed;inset:0;z-index:9999;display:grid;place-items:center;background:var(--bg);transition:opacity .45s ease,visibility .45s}
#loader.done{opacity:0;visibility:hidden;pointer-events:none}
#loader .ring{position:absolute;width:132px;height:132px;border-radius:50%;border:1px solid rgba(233,185,90,.25);border-top-color:var(--cyan);animation:spin 1.2s linear infinite}
#loader img{width:56px;height:auto}
@keyframes spin{to{transform:rotate(360deg)}}

/* Sections */
.section{padding:84px 0;border-top:1px solid var(--line-soft)}
.section--alt{background:var(--bg-alt)}
.section__head{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:34px}
.section__head h2,.h2{font-size:clamp(26px,3.4vw,38px);letter-spacing:.01em}
.section__head p{max-width:520px;margin-top:12px;font-size:14px}

.section--flush{border-top:0;padding-top:20px}
.section__title{margin-bottom:30px}
.section__lead{max-width:520px;margin:14px 0 30px;font-size:14px}

/* Sub-page header */
.page-head{position:relative;padding:68px 0 44px;background:radial-gradient(700px 300px at 85% 0,rgba(233,185,90,.07),transparent 70%),var(--bg)}
.page-head h1{font-size:clamp(32px,5vw,52px);text-transform:uppercase;letter-spacing:.01em}
.page-head p{max-width:560px;margin-top:16px;font-size:14px}
.page-head .title-row{margin-bottom:6px}
.page-head .title-row img{width:56px}
.page-head .actions{margin-top:26px}
.crumbs{margin-bottom:22px;font:700 11px var(--body);letter-spacing:.06em;color:var(--dim)}
.crumbs a:hover{color:var(--gold-hi)}
.crumbs i{font-style:normal;margin:0 8px;color:#3b3f48}

/* Toast */
.toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,20px);opacity:0;z-index:300;background:var(--card-2);border:1px solid var(--line);color:var(--text);padding:11px 18px;border-radius:var(--radius);font-size:13px;font-weight:600;transition:.3s;pointer-events:none}
.toast.show{opacity:1;transform:translate(-50%,0)}

@media (max-width:640px){
  .section{padding:60px 0}
  .section__head{flex-direction:column;align-items:flex-start}
  .section--flush{padding-top:20px}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
