:root {
    color-scheme: dark;
    --bg: #12161a;
    --bg-2: #1b2127;
    --ink: #f3efe7;
    --muted: #b1aa9e;
    --line: rgba(243, 239, 231, .14);
    --gold: #e4b15c;
    --gold-ink: #241c10;
    --teal: #8fd0c6;
    --card: #1a2026;
    --shadow: 0 18px 40px rgba(0, 0, 0, .28);
    --serif: "Fraunces", Georgia, serif;
    --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.55;
    color: var(--ink);
    background:
        radial-gradient(1100px 480px at 8% -10%, rgba(228, 177, 92, .16), transparent 55%),
        radial-gradient(800px 380px at 100% 0%, rgba(143, 208, 198, .08), transparent 50%),
        var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal); text-underline-offset: 3px; }

h1, h2, h3 {
    font-family: var(--serif);
    font-weight: 560;
    letter-spacing: -.03em;
    line-height: 1.08;
    margin: 0;
}

h1 { font-size: clamp(1.65rem, 2.4vw, 2.35rem); }

h2 { font-size: clamp(1.6rem, 2.4vw, 2.1rem); }

p { margin: 0; }

button, input { font: inherit; color: inherit; }

.wrap {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip {
    position: absolute;
    left: 12px;
    top: -48px;
    z-index: 50;
    background: var(--gold);
    color: var(--gold-ink);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 999px;
}

.skip:focus { top: 12px; }

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

#main:focus { outline: none; }

.top {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(16px);
    background: rgba(18, 22, 26, .88);
    border-bottom: 1px solid var(--line);
}

.top-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
    min-height: 74px;
}

.logo, .top a, .card a, .foot a, .crumbs a, .studio, .hero-feature, .card-studio {
    color: inherit;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: auto;
}

.logo-mark {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--gold);
    color: var(--gold-ink);
    font-family: var(--serif);
    font-weight: 680;
}

.logo-type { font-weight: 600; letter-spacing: -.02em; }

.nav { display: flex; gap: 18px; }

.nav a { padding: 6px 0; }

.nav a.is-on { box-shadow: inset 0 -2px 0 var(--gold); }

.search { display: flex; gap: 8px; align-items: center; }

.top-search { flex: 1 1 220px; }

.search input {
    width: 100%;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 11px 16px;
    min-width: 0;
}

.search button, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gold);
    color: var(--gold-ink);
    border: 0;
    border-radius: 999px;
    padding: 11px 16px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.langs { position: relative; flex: none; }

.langs summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .04em;
}

.langs summary::after {
    content: "";
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
}

.langs[open] summary::after { transform: translateY(1px) rotate(225deg); }

.langs summary::-webkit-details-marker { display: none; }

.langs ul {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--bg-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px;
    margin: 0;
    list-style: none;
    min-width: 168px;
    z-index: 30;
    box-shadow: var(--shadow);
}

.langs a {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
}

.langs a:hover, .langs a[aria-current="true"] { background: rgba(255, 255, 255, .05); }

.langs-up ul { top: auto; bottom: calc(100% + 8px); }

main { padding: 28px 0 72px; }

.hero {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 42px;
    align-items: center;
    padding: 28px 0 12px;
}

.hero-solo { grid-template-columns: 1fr; max-width: 760px; }

.eyebrow {
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
    font-size: .78rem;
    margin-bottom: 12px;
}

.lead, .deck {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.12rem;
}

.stats {
    display: flex;
    gap: 28px;
    list-style: none;
    padding: 0;
    margin: 26px 0 0;
}

.stats strong {
    display: block;
    font-family: var(--serif);
    font-size: 1.8rem;
}

.stats span { color: var(--muted); font-size: .88rem; }

.hero-feature {
    display: block;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.hero-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.hero-feature span, .hero-feature strong { display: block; padding: 0 18px; }

.hero-feature span {
    color: var(--gold);
    padding-top: 14px;
    font-size: .78rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero-feature strong {
    font-family: var(--serif);
    font-size: 1.7rem;
    padding: 6px 18px 18px;
}

.block { margin-top: 56px; }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 18px;
}

.grid, .studio-grid {
    display: grid;
    align-items: start;
    gap: 18px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.grid { grid-template-columns: repeat(4, 1fr); }

.studio-grid { grid-template-columns: repeat(3, 1fr); }

.card {
    display: flex;
    flex-direction: column;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
}

.card-shot {
    display: block;
    position: relative;
    aspect-ratio: 1 / 0.75;
    overflow: hidden;
    background: #0c1014;
}

.card-shot img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .35s ease;
}

.card:hover img { transform: scale(1.04); }

.card-copy { padding: 12px 14px 16px; }

.card-studio {
    display: inline-block;
    color: var(--gold);
    font-size: .82rem;
    margin-bottom: 6px;
}

.card h2, .card h3 { font-size: 1.2rem; }

.card h2 a:hover, .card h3 a:hover { color: var(--gold); }

.studio {
    display: block;
    height: 100%;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, .03);
}

.studio:hover { border-color: rgba(228, 177, 92, .45); }

.studio h2, .studio h3 { font-size: 1.45rem; margin-bottom: 8px; }

.studio span { color: var(--gold); font-size: .85rem; }

.studio p { margin-top: 10px; color: var(--muted); }

.page-head { margin: 12px 0 26px; }

.count-line { margin: 10px 0 18px; color: var(--muted); }

.prose { max-width: none; }

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.4em;
    font-size: 1rem;
}

.prose th,
.prose td {
    border: 1px solid var(--line);
    padding: 10px 12px;
    text-align: left;
    vertical-align: top;
}

.prose th { color: var(--gold); font-weight: 600; }

.prose th,
.prose td { word-break: break-word; }

.prose.intro { margin: 12px 0 28px; }

.prose.intro > :first-child { margin-top: 0; }

.prose h2, .about h2 { margin: 1.4em 0 .45em; }

.prose h3 { margin: 1.15em 0 .35em; font-size: 1.25rem; }

.about h2 { margin-top: 0; }

.prose p, .about p { margin: 0 0 1em; }

.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; }

.prose li { margin: .3em 0; }

.sheet-bar {
    position: sticky;
    top: 92px;
    z-index: 4;
    display: grid;
    grid-template-columns: minmax(160px, 280px) minmax(0, 1fr) 168px;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #12161a;
}

.sheet-bar img {
    width: 100%;
    height: 178px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--line);
    background: #0c1014;
}

.sheet-bar .sheet-title {
    margin: 0 0 10px;
    font-family: var(--serif);
    font-weight: 560;
    font-size: 1.15rem;
    line-height: 1.25;
}

.sheet-bar .sheet-title span {
    font-family: var(--sans);
    font-weight: 500;
    font-size: .95rem;
}

.sheet-data table {
    width: 100%;
    border-collapse: collapse;
    font-size: .92rem;
}

.sheet-data th,
.sheet-data td {
    padding: 0px 10px;
    border: 1px solid var(--line);
    text-align: left;
}

.sheet-data th { width: 38%; color: var(--muted); font-weight: 500; }

.sheet-side {
    display: grid;
    gap: 12px;
    justify-items: stretch;
}

.sheet-score {
    display: flex;
    align-items: stretch;
    min-height: 40px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-2);
}

.sheet-score b {
    display: grid;
    place-items: center;
    min-width: 52px;
    padding: 0 14px 0 10px;
    background: var(--gold);
    color: var(--gold-ink);
    font-family: var(--serif);
    font-weight: 560;
    font-size: 1.05rem;
    clip-path: polygon(0 0, 100% 0, 82% 100%, 0 100%);
}

.sheet-score span {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 1px;
    padding: 0 8px 0 0;
}

.sheet-score button,
.sheet-score i {
    padding: 0 1px;
    border: 0;
    background: transparent;
    color: rgba(228, 177, 92, .35);
    font-size: 1rem;
    font-style: normal;
    line-height: 1;
}

.sheet-score button { cursor: pointer; }

.sheet-score button.is-on,
.sheet-score i.is-on { color: var(--gold); }

.sheet-go { width: 100%; }

.sheet-main h1 { margin-bottom: 12px; }

.sheet-main { margin-top: 8px; }

.crumbs ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 8px 0 18px;
    color: var(--muted);
    font-size: .92rem;
}

.crumbs li { display: flex; gap: 8px; }

.crumbs li + li::before { content: "/"; opacity: .55; }

.pager {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    margin-top: 28px;
}

.pager ol {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pager a, .pager [aria-current="page"] {
    display: grid;
    place-items: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 999px;
    text-decoration: none;
    color: inherit;
    border: 1px solid var(--line);
}

.pager [aria-current="page"] {
    background: var(--gold);
    color: var(--gold-ink);
    border-color: transparent;
}

.empty, .empty-block { color: var(--muted); margin-top: 18px; }

.empty-block h1 { margin-bottom: 12px; }

.empty-block .btn { margin-top: 18px; }

.foot {
    border-top: 1px solid var(--line);
    padding: 36px 0 28px;
}

.foot-grid {
    display: grid;
    grid-template-columns: 1.6fr .6fr;
    gap: 28px;
}

.foot p { margin-top: 10px; color: var(--muted); }

.foot-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    align-content: flex-start;
}

.foot-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px 28px;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.legal-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.copy { margin-top: 22px; color: var(--muted); font-size: .9rem; }

::selection { background: var(--gold); color: var(--gold-ink); }

@media (max-width: 980px) {
    .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .hero, .foot-grid, .studio-grid { grid-template-columns: 1fr; }
    .sheet-bar {
        position: static;
        grid-template-columns: 1fr;
    }
    .sheet-bar img { height: 200px; }
    .hero { gap: 22px; padding-top: 12px; }
    h1 { font-size: 1.55rem; }
}

.burger-check {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.burger, .drawer { display: none; }

.burger {
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 12px;
    place-items: center;
    cursor: pointer;
}

.burger-ico {
    width: 18px;
    height: 2px;
    background: var(--ink);
    position: relative;
}

.burger-ico::before,
.burger-ico::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: var(--ink);
}

.burger-ico::before { top: -6px; }
.burger-ico::after { top: 6px; }

.drawer {
    border-top: 1px solid var(--line);
    background: rgba(18, 22, 26, .98);
}

.drawer-inner { display: grid; gap: 16px; padding: 8px 0 18px; }

.drawer-nav { display: grid; }

.drawer-nav a {
    padding: 14px 0;
    font-size: 1.2rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--line);
}

.burger-check:focus-visible + .top-inner .burger,
.burger:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

@media (min-width: 861px) {
    .burger-check { display: none; }
}

@media (max-width: 860px) {
    .desk-nav, .desk-search { display: none; }
    .burger { display: grid; }
    .top-inner { min-height: 64px; flex-wrap: nowrap; }
    .burger-check:checked ~ .drawer { display: block; }
    .foot-meta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 720px) {
    body { font-size: 16px; }
    .wrap { width: min(1120px, calc(100% - 24px)); }
    .top-inner {
        min-height: 60px;
        padding: 8px 0;
        gap: 10px;
        flex-wrap: nowrap;
    }
    .logo { margin-right: auto; min-width: 0; }
    .logo-type { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .search { width: 100%; }
    .hero-feature strong { font-size: 1.3rem; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .card-copy { padding: 10px; }
    .card h2, .card h3, .studio h2, .studio h3 { font-size: 1rem; }
    .block { margin-top: 28px; }
    .section-head { align-items: flex-start; flex-direction: column; gap: 6px; }
    .pager { flex-wrap: wrap; }
    .pager ol { flex-wrap: wrap; justify-content: center; }
    main { padding: 12px 0 40px; }
    .prose table { font-size: .88rem; }
    .prose th, .prose td { padding: 8px; }
    .foot { padding: 24px 0 20px; }
    .langs ul { right: 0; left: auto; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; scroll-behavior: auto !important; }
}
