/* Slimkinq
   Near-white court, ink panels behind five full-bleed realms.
   Cormorant for titles and verdicts, Hanken Grotesk for reading. */

:root {
    --linen: #fbfbf9;
    --linen-2: #f1f0ec;
    --ink: #12101a;
    --ink-2: #2b2836;
    --text: #3d3a48;
    --mute: #7b778a;
    --rule: #dcdad4;
    --plum: #5b2a86;
    --plum-2: #47206b;
    --gold: #c9a227;
    --gold-2: #a8851b;
    --title: 'Cormorant', Georgia, 'Times New Roman', serif;
    --text-font: 'Hanken Grotesk', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

body { background: var(--linen); color: var(--text); font-family: var(--text-font); font-size: 17px; line-height: 1.65; }
img { display: block; max-width: 100%; }
main { min-height: 60vh; }
a { color: var(--plum); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--plum-2); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.court { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

h1, h2, h3 { font-family: var(--title); font-weight: 700; color: var(--ink); line-height: 1.05; }
h1 { font-size: 4.2rem; letter-spacing: -0.01em; }
h2 { font-size: 2.6rem; }
h3 { font-size: 1.4rem; }
p { margin-bottom: 1em; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--linen); padding: 8px 14px; z-index: 2000; }
.skip:focus { left: 8px; }

.btn { display: inline-block; background: var(--plum); color: #fff; font-family: var(--text-font); font-weight: 700; font-size: 0.95rem; padding: 13px 26px; border-radius: 999px; border: 2px solid var(--plum); text-decoration: none; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; }
.btn:hover { background: var(--plum-2); border-color: var(--plum-2); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--linen); border-color: var(--ink); }

/* Crown bar */
.crown { position: sticky; top: 0; z-index: 60; background: rgba(251, 251, 249, 0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--rule); }
.crown-row { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 24px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--title); font-weight: 700; font-size: 1.7rem; letter-spacing: 0.01em; }
.mark svg { color: var(--gold); }
.mark:hover { color: var(--ink); }
.nav { display: flex; gap: 26px; }
.nav a { font-weight: 500; font-size: 0.95rem; color: var(--text); text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.on { color: var(--ink); border-color: var(--gold); }
.navbtn { display: none; font-family: var(--text-font); font-weight: 700; background: transparent; border: 1px solid var(--ink); color: var(--ink); padding: 6px 14px; border-radius: 999px; cursor: pointer; }

/* Throne (hero) */
.throne { background: var(--linen) url('/assets/img/hero-wash.webp') center / cover no-repeat; padding: 90px 0 40px; border-bottom: 1px solid var(--rule); }
.throne-inner { text-align: center; max-width: 820px; }
.throne h1 { margin-bottom: 22px; }
.creed { font-size: 1.2rem; color: var(--text); margin: 0 auto 18px; max-width: 700px; }
.season { font-family: var(--title); font-style: italic; font-size: 1.15rem; color: var(--mute); margin: 0 0 44px; }
.roster { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.roster a { position: relative; display: block; text-decoration: none; color: var(--ink); border-radius: 6px; overflow: hidden; box-shadow: 0 10px 30px rgba(18, 16, 26, 0.12); background: var(--ink); }
.roster img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 0.3s ease, opacity 0.3s; }
.roster a:hover img { transform: scale(1.03); opacity: 0.9; }
.roster-name { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 12px; color: #fff; font-family: var(--title); font-weight: 700; font-size: 1.2rem; line-height: 1.1; background: linear-gradient(180deg, rgba(18, 16, 26, 0), rgba(18, 16, 26, 0.85)); }
.roster-score { position: absolute; top: 10px; right: 10px; background: var(--gold); color: var(--ink); font-family: var(--title); font-weight: 700; font-size: 1.15rem; line-height: 1; padding: 6px 9px; border-radius: 999px; }
.roster a.now .roster-score { background: #fff; }

/* Realm panels */
.realm { position: relative; min-height: 88vh; display: flex; align-items: center; background: var(--ink) var(--bg) center / cover no-repeat; color: #e8e6ee; padding: 72px 0; border-top: 3px solid var(--gold); }
.realm-inner { width: 100%; display: flex; justify-content: flex-start; }
.realm-right .realm-inner { justify-content: flex-end; }
.scroll { max-width: 560px; background: rgba(18, 16, 26, 0.72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; padding: 34px 36px 30px; }
.rank { font-family: var(--title); font-style: italic; font-size: 1.05rem; color: var(--gold); margin-bottom: 6px; }
.realm h2 { color: #fff; font-size: 3rem; margin-bottom: 8px; }
.realm-kind { font-size: 0.9rem; color: rgba(232, 230, 238, 0.7); margin-bottom: 16px; }
.verdict-line { font-family: var(--title); font-weight: 600; font-size: 1.35rem; color: #fff; line-height: 1.3; margin-bottom: 16px; }
.scroll p { font-size: 0.98rem; }
.ledger { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid rgba(255, 255, 255, 0.18); border-bottom: 1px solid rgba(255, 255, 255, 0.18); margin: 20px 0 22px; }
.ledger div { padding: 12px 6px; text-align: center; border-right: 1px solid rgba(255, 255, 255, 0.12); }
.ledger div:last-child { border-right: 0; }
.ledger dt { font-size: 0.72rem; text-transform: none; color: rgba(232, 230, 238, 0.65); margin-bottom: 2px; }
.ledger dd { font-family: var(--title); font-weight: 700; font-size: 1.35rem; color: #fff; line-height: 1; }
.ledger .total { background: rgba(201, 162, 39, 0.16); }
.ledger .total dd { color: var(--gold); font-size: 1.7rem; }
.realm .btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.realm .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.credit { font-size: 0.75rem; color: rgba(232, 230, 238, 0.5); margin: 16px 0 0; }

/* Verdicts */
.verdicts { padding: 72px 0 80px; background: var(--linen); }
.verdicts h2 { text-align: center; margin-bottom: 8px; }
.verdicts-lead { text-align: center; color: var(--mute); max-width: 560px; margin: 0 auto 34px; }
.verdict-list { list-style: none; max-width: 860px; margin: 0 auto 50px; border-top: 1px solid var(--ink); }
.verdict-list a { display: grid; grid-template-columns: 220px 1fr auto; gap: 24px; align-items: center; padding: 16px 8px; border-bottom: 1px solid var(--rule); text-decoration: none; color: var(--text); }
.verdict-list a:hover { background: var(--linen-2); }
.v-name { font-family: var(--title); font-weight: 700; font-size: 1.35rem; color: var(--ink); }
.v-for { font-size: 0.95rem; }
.v-score { font-family: var(--title); font-weight: 700; font-size: 1.6rem; color: var(--plum); }
.court-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 860px; margin: 0 auto; }
.court-notes h3 { margin-bottom: 8px; }
.court-notes p { margin: 0; font-size: 0.97rem; }

/* Inner pages */
.band { background: var(--ink) url('/assets/img/band.webp') right center / cover no-repeat; color: #e8e6ee; padding: 56px 0 40px; border-bottom: 3px solid var(--gold); }
.band h1 { color: #fff; font-size: 3rem; margin-bottom: 8px; }
.band p { margin: 0; font-family: var(--title); font-style: italic; font-size: 1.05rem; color: rgba(232, 230, 238, 0.7); }
.page { padding: 44px 0 80px; }
.page h2 { font-size: 1.8rem; margin: 36px 0 10px; }
.page h2:first-child { margin-top: 0; }
.page ul, .page ol { padding-left: 22px; margin-bottom: 1.1em; }
.page li { margin-bottom: 6px; }
.page strong { color: var(--ink); }
.callout { background: var(--linen-2); border-left: 3px solid var(--gold); padding: 16px 20px; border-radius: 0 6px 6px 0; margin: 24px 0; }
.callout p:last-child { margin: 0; }
.mail { font-family: var(--title); font-weight: 700; font-size: 1.25rem; }

.weights { width: 100%; border-collapse: collapse; margin: 14px 0 24px; font-size: 0.95rem; }
.weights th, .weights td { text-align: left; padding: 12px 12px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.weights th { font-size: 0.8rem; font-weight: 700; color: var(--ink); border-bottom: 2px solid var(--ink); }
.weights td:first-child { font-weight: 700; color: var(--ink); white-space: nowrap; }
.weights td:nth-child(2) { font-family: var(--title); font-weight: 700; color: var(--plum); font-size: 1.15rem; }

.faq-item { border-bottom: 1px solid var(--rule); padding: 18px 0; }
.faq-item h2 { font-size: 1.4rem; margin: 0 0 6px; }
.faq-item p:last-child { margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.form { background: var(--linen-2); border-radius: 8px; padding: 26px; }
.form-row { margin-bottom: 14px; }
.form label { display: block; font-weight: 700; font-size: 0.85rem; color: var(--ink); margin-bottom: 5px; }
.form input, .form textarea { width: 100%; background: #fff; border: 1px solid var(--rule); border-radius: 6px; color: var(--ink); font-family: var(--text-font); font-size: 1rem; padding: 10px 12px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--plum); box-shadow: 0 0 0 3px rgba(91, 42, 134, 0.15); }
.form textarea { min-height: 140px; resize: vertical; }
.form-msg { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 6px; font-size: 0.93rem; color: var(--ink); }
.form-msg.ok { display: block; background: #f3edf9; border: 1px solid var(--plum); }
.form-msg.err { display: block; background: #fbeee6; border: 1px solid var(--gold-2); }

.help { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0 30px; }
.help li { background: var(--linen-2); border-radius: 8px; padding: 18px 20px; }
.help b { display: block; font-family: var(--title); font-size: 1.2rem; color: var(--ink); margin-bottom: 4px; }
.help p { margin: 0 0 8px; font-size: 0.95rem; }

/* Footer */
.foot { background: var(--ink); color: #b9b5c6; padding: 52px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; padding-bottom: 30px; }
.mark-foot { color: #fff; margin-bottom: 12px; }
.mark-foot:hover { color: #fff; }
.foot-grid p { font-size: 0.95rem; max-width: 360px; margin: 0; }
.foot-h { font-family: var(--title); font-weight: 700; font-size: 1.15rem; color: #fff; margin-bottom: 8px !important; }
.foot-grid a:not(.mark) { display: block; color: #b9b5c6; text-decoration: none; font-size: 0.95rem; margin-bottom: 7px; }
.foot-grid a:not(.mark):hover { color: var(--gold); }
.foot-fine { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; }
.foot-fine p { font-size: 0.8rem; color: #8b869a; line-height: 1.6; margin-bottom: 8px; }
.foot-fine a { color: #d9d6e2; }

/* Responsive */
@media (max-width: 1000px) {
    h1 { font-size: 3.2rem; }
    .roster { grid-template-columns: repeat(3, 1fr); }
    .realm { min-height: 0; padding: 56px 0; }
    .scroll { max-width: 640px; }
    .verdict-list a { grid-template-columns: 1fr auto; }
    .v-for { grid-column: 1 / -1; margin-top: -8px; }
    .court-notes { grid-template-columns: 1fr; gap: 24px; }
    .foot-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 720px) {
    .nav { display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; gap: 0; background: var(--linen); border-bottom: 1px solid var(--rule); padding: 6px 24px 14px; }
    .nav.open { display: flex; }
    .nav a { padding: 12px 0; border-bottom: 1px solid var(--rule); }
    .navbtn { display: inline-block; }
    h1, .band h1 { font-size: 2.5rem; }
    h2, .realm h2 { font-size: 2rem; }
    .throne { padding: 56px 0 30px; }
    .roster { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .roster li:last-child { grid-column: 1 / -1; }
    .roster li:last-child img { aspect-ratio: 16 / 9; }
    .scroll { padding: 24px 22px; }
    .ledger { grid-template-columns: repeat(5, 1fr); }
    .ledger dd { font-size: 1.05rem; }
    .ledger .total dd { font-size: 1.3rem; }
    .help { grid-template-columns: 1fr; }
    .foot-grid { grid-template-columns: 1fr; gap: 24px; }
}
