:root {
    --bg: #0d0b12;
    --bg-2: #151220;
    --panel: #1b1726;
    --panel-2: #221d31;
    --line: #2c2740;
    --ink: #f3eefb;
    --ink-soft: #cfc6df;
    --muted: #8f88a3;
    --accent: #ff4d6d;
    --accent-2: #ff9e5e;
    --accent-grad: linear-gradient(100deg, #ff4d6d, #ff9e5e);
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0,0,0,.45);
    /* Font trial 2026-10-02 (v2, sans only): Manrope for text AND headings (css/fonts.css). --serif kept as the
       "heading" stack so all heading rules follow; v1 was "Fraunces" + the old Palatino stack. */
    --serif: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background: radial-gradient(1200px 600px at 80% -10%, #1c1330 0%, var(--bg) 55%) no-repeat, var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
a:hover { color: #fff; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; letter-spacing: -.022em; }
/* Fraunces defaults to old-style figures; use lining figures wherever the serif sets numbers. */
h1, h2, h3, h4, .brand, .stat b, .rank-n, .disc-t, .coll-title { font-variant-numeric: lining-nums; }

/* Header */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(13,11,18,.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 22px; height: 66px; }
.brand { font-family: var(--serif); font-size: 26px; font-weight: 800; letter-spacing: -.04em; }
.brand .brand-hot { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand.small { font-size: 20px; }
.search { flex: 1; max-width: 460px; display: flex; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; transition: opacity .2s; }
.search.behind-hero { opacity: 0; pointer-events: none; }
.search input { flex: 1; background: transparent; border: 0; color: var(--ink); padding: 10px 18px; font-size: 15px; outline: none; }
.search button { background: transparent; border: 0; color: var(--accent); font-size: 20px; padding: 0 16px; cursor: pointer; }
.main-nav { display: flex; gap: 20px; font-weight: 500; color: var(--ink-soft); }
.main-nav a:hover { color: var(--accent); }

/* Hero */
.hero { padding-top: 54px; padding-bottom: 30px; } /* longhand: keeps .wrap side padding */
.hero h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; margin: 0 0 16px; font-weight: 700; letter-spacing: -.035em; }
.hero .lead { font-size: 18px; color: var(--ink-soft); max-width: 620px; }
/* Big homepage search */
.hero-search { position: relative; max-width: 720px; margin-top: 26px; }
.hs-field { display: flex; align-items: center; background: var(--panel); border: 1px solid #3a3357; border-radius: 16px; padding: 6px 6px 6px 20px; box-shadow: 0 12px 34px rgba(0,0,0,.35); transition: border-color .15s, box-shadow .15s; }
.hs-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(255,77,109,.16), 0 12px 34px rgba(0,0,0,.35); }
.hs-ico { color: var(--accent); font-size: 26px; line-height: 1; margin-right: 12px; }
.hs-field input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--ink); font: inherit; font-size: 18px; padding: 14px 0; }
.hs-field input::placeholder { color: var(--muted); }
.hs-field input::-webkit-search-cancel-button { filter: invert(.7); }
.hs-field button { background: var(--accent-grad); color: #1a0d12; border: 0; border-radius: 11px; font: inherit; font-weight: 700; font-size: 16px; padding: 13px 26px; cursor: pointer; }
.hs-field button:hover { filter: brightness(1.08); }
.stat-row { display: flex; gap: 38px; margin-top: 34px; flex-wrap: wrap; }
.stat b { font-family: var(--serif); font-size: 36px; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; display: block; background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }

/* Section heading */
.section { padding-top: 30px; padding-bottom: 30px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.section-head h2 { font-size: 26px; margin: 0; }
.section-head a { color: var(--accent); font-weight: 500; font-size: 14px; }

/* Grid of performers */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(156px, 1fr)); gap: 26px 18px; }
.grid.dense { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 22px 16px; }
/* Performer cards: the photo is the card - rounded, soft shadow, caption on the page background
   (the old boxed card with border + panel read heavy on a full grid). */
.card { display: block; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.card .thumb { aspect-ratio: 4/5; background: linear-gradient(135deg, var(--panel-2), var(--bg-2)); position: relative; overflow: hidden;
    border-radius: 18px; box-shadow: 0 8px 22px rgba(0,0,0,.38); transition: box-shadow .25s ease, transform .25s ease; }
.card .thumb::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .45s ease; } /* crop from the bottom, keep heads */
.card:hover .thumb { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.5), 0 0 0 1px rgba(255,77,109,.35); }
.card:hover .thumb img { transform: scale(1.04); }
.card .thumb .noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-family: var(--serif); font-size: 40px; }
.card .body { padding: 11px 4px 0; }
.card .name { font-weight: 650; font-size: 14.5px; line-height: 1.25; letter-spacing: -.005em; }
.card:hover .name { color: #fff; }
.card .meta { color: var(--muted); font-size: 12.5px; margin-top: 3px; display: flex; gap: 8px; flex-wrap: wrap; }
.badge { display: inline-block; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.badge.accent { background: var(--accent-grad); color: #1a0d12; border: 0; font-weight: 600; }

/* Layout with sidebar (browse) */
.layout { display: grid; grid-template-columns: 250px 1fr; gap: 30px; padding: 26px 0 60px; }
.sidebar { position: sticky; top: 84px; align-self: start; }
.filter-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; margin-bottom: 16px; }
.filter-card h4 { margin: 0 0 10px; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-family: var(--sans); font-weight: 700; }
.studio-search { width: 100%; box-sizing: border-box; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); font-size: 14px; font-family: var(--sans); }
.studio-search:focus { outline: none; border-color: var(--accent); }
.filter-list { display: flex; flex-direction: column; gap: 2px; max-height: 260px; overflow: auto; padding-right: 4px; }
.filter-list a { padding: 5px 8px; border-radius: 8px; color: var(--ink-soft); font-size: 14px; display: flex; justify-content: space-between; }
.filter-list a:hover { background: var(--panel-2); color: #fff; }
.filter-list a.active { background: var(--accent-grad); color: #1a0d12; font-weight: 600; }
.filter-list a .c { color: var(--muted); font-size: 12px; }
.filter-list a.active .c { color: #1a0d12; }

/* Toolbar */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.toolbar .count { color: var(--muted); font-size: 14px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { background: var(--panel); border: 1px solid var(--line); color: var(--ink-soft); border-radius: 999px; padding: 7px 14px; font-size: 13px; cursor: pointer; }
.pill.active { background: var(--accent-grad); color: #1a0d12; border: 0; font-weight: 600; }
.chip-clear { color: var(--accent); font-size: 13px; }

/* A-Z bar */
.azbar { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 20px; }
.azbar a { width: 34px; height: 34px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 9px; font-weight: 600; font-size: 14px; color: var(--ink-soft); }
.azbar a:hover { border-color: var(--accent); color: #fff; }
.azbar a.active { background: var(--accent-grad); color: #1a0d12; border: 0; }
.azbar a.disabled { opacity: .3; pointer-events: none; }

/* Pagination */
.pager { display: flex; gap: 8px; justify-content: center; margin-top: 34px; align-items: center; flex-wrap: wrap; }
.pager a, .pager span { padding: 8px 14px; border-radius: 9px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; }
.pager a:hover { border-color: var(--accent); }
.pager .cur { background: var(--accent-grad); color: #1a0d12; border: 0; font-weight: 600; }

/* Profile */
.profile { display: grid; grid-template-columns: 300px 1fr; gap: 40px; padding: 30px 0 20px; }
.profile > div:first-child { position: sticky; top: 90px; align-self: start; } /* photo stays in view next to the facts */
/* Same language as the grid cards: 4:5, soft rounded photo with a shadow instead of a boxed frame. */
.profile .photo { position: relative; border-radius: 22px; overflow: hidden; background: linear-gradient(135deg, var(--panel-2), var(--bg-2)); aspect-ratio: 4/5; box-shadow: 0 14px 34px rgba(0,0,0,.45); }
.profile .photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); pointer-events: none; }
.profile .photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.profile .photo .noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-family: var(--serif); font-size: 90px; }
.profile h1 { font-size: 44px; line-height: 1.1; margin: 0 0 6px; }
.profile .aka { color: var(--muted); font-style: italic; margin-bottom: 4px; }
/* Profile facts: summary chips + grouped definition cards (replaced the single strip of cells, which left
   empty filler cells and read poorly). */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 22px; }
.chip { background: var(--panel-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13.5px; font-weight: 600; color: var(--ink-soft); }
a.chip:hover { border-color: var(--accent); color: #fff; }
.chip.quiet { background: transparent; color: var(--muted); font-weight: 500; }
.fact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 16px; align-items: start; }
.fcard { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px 8px; }
.fcard h3 { font-family: var(--sans); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; color: var(--accent); margin: 0 0 6px; }
.fcard dl { margin: 0; }
.frow { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 10px 0; border-top: 1px solid var(--line); }
.frow:first-child { border-top: 0; }
.frow dt { color: var(--muted); font-size: 14px; flex: 0 0 auto; }
.frow dd { margin: 0; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.frow dd a:hover { color: var(--accent); }
.bio { color: var(--ink-soft); line-height: 1.7; max-width: 68ch; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.crumb { color: var(--muted); font-size: 13px; padding-top: 20px; }
.crumb a:hover { color: var(--accent); }

/* Scene list */
.scenes { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.scene { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.scene:hover { border-color: #3a3357; }
.scene .st { aspect-ratio: 16/9; background: var(--bg-2); overflow: hidden; }
.scene .st img { width: 100%; height: 100%; object-fit: cover; }
.scene .sb { padding: 11px 13px 14px; }
.scene .sb .t { font-weight: 600; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scene .sb .m { color: var(--muted); font-size: 12.5px; margin-top: 5px; }

.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* Age gate */
.gate { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.gate .box { max-width: 520px; }
.gate h1 { font-size: 40px; margin-bottom: 10px; }
.gate p { color: var(--ink-soft); }
.btn { display: inline-block; background: var(--accent-grad); color: #1a0d12; font-weight: 700; padding: 13px 30px; border-radius: 999px; border: 0; font-size: 16px; cursor: pointer; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); font-weight: 500; }
.gate .actions { display: flex; gap: 12px; justify-content: center; margin-top: 26px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 50px; padding: 40px 0 30px; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { font-family: var(--sans); font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin: 0 0 12px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 7px; }
.footer-grid nav a { color: var(--ink-soft); font-size: 14px; }
.footer-grid nav a:hover { color: var(--accent); }
.copy { margin-top: 30px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12.5px; }

/* Prose (legal/about) */
.prose { max-width: 780px; margin: 0 auto; padding-top: 40px; padding-bottom: 60px; }
.prose h1 { font-size: 38px; margin-bottom: 8px; }
.prose h2 { font-size: 22px; margin-top: 30px; }
.prose p, .prose li { color: var(--ink-soft); line-height: 1.75; }

/* Favorite heart on cards */
.card-wrap { position: relative; }
/* The anchor is no longer a direct grid item (which blockified it), so make it a block that fills the cell. */
.card-wrap > .card { display: block; height: 100%; }
.fav-heart {
    position: absolute; top: 10px; right: 10px; z-index: 3;
    width: 30px; height: 30px; display: grid; place-items: center;
    background: rgba(13,11,18,.55); border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
    color: #fff; font-size: 14px; cursor: pointer; backdrop-filter: blur(4px); transition: transform .15s, background .15s, opacity .2s;
}
@media (hover: hover) { .card-wrap .fav-heart:not(.on) { opacity: 0; } .card-wrap:hover .fav-heart { opacity: 1; } }
.fav-heart:hover { transform: scale(1.12); }
.fav-heart.on { background: var(--accent-grad); border: 0; color: #1a0d12; }
.fav-heart.on::before { content: "♥"; }
.fav-heart.on { font-size: 0; }
.fav-heart.on::before { font-size: 16px; }
.fav-btn.on { background: var(--accent-grad); color: #1a0d12; border: 0; }
.fav-btn { width: 100%; margin-top: 16px; border-radius: 14px; }
.fav-btn.on .fav-ico::before { content: "♥"; }
.fav-btn.on .fav-ico { font-size: 0; }
.fav-btn.on .fav-ico::before { font-size: 16px; }

/* Search autocomplete */
.search { position: relative; }
.suggest {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 60;
    background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
    box-shadow: var(--shadow); max-height: 70vh; overflow-y: auto;
}
.sg-item { display: flex; align-items: center; gap: 12px; padding: 9px 14px; color: var(--ink-soft); }
.sg-item:hover, .sg-item.on { background: var(--panel-2); color: #fff; }
.sg-item img, .sg-noimg { width: 38px; height: 50px; object-fit: cover; object-position: top center; border-radius: 6px; background: var(--bg-2); flex: 0 0 auto; }
.sg-noimg { display: grid; place-items: center; font-family: var(--serif); color: var(--muted); }
.sg-name { font-weight: 600; }
.sg-nat { margin-left: auto; color: var(--muted); font-size: 12.5px; }

/* Scene detail */
.scene-detail { display: grid; grid-template-columns: 460px 1fr; gap: 34px; padding: 26px 0; }
.sd-media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
.sd-media .btn { margin-top: 14px; width: 100%; text-align: center; }
.sd-info h1 { font-size: 32px; margin: 0 0 8px; }
.sd-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.sd-meta a:hover { color: var(--accent); }
.sd-h { font-size: 18px; margin: 22px 0 10px; }
.cast-row { display: flex; gap: 14px; flex-wrap: wrap; }
.cast { text-align: center; width: 84px; }
.cast-ph { width: 84px; height: 108px; border-radius: 10px; overflow: hidden; background: var(--panel); border: 1px solid var(--line); }
.cast-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.cast-ph .noimg { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-family: var(--serif); font-size: 26px; }
.cast span { display: block; font-size: 12.5px; margin-top: 5px; color: var(--ink-soft); line-height: 1.2; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gitem { aspect-ratio: 3/4; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--panel); }
.gitem img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .2s; }
.gitem:hover img { transform: scale(1.05); }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
/* Networks list */
.net-search input { background: var(--panel); border: 1px solid var(--line); border-radius: 999px; color: var(--ink); font: inherit; font-size: 15px; padding: 9px 18px; width: min(320px, 70vw); outline: none; }
.net-search input:focus { border-color: var(--accent); }
.net-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.net { display: flex; flex-direction: column; gap: 4px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; transition: border-color .15s, transform .15s; }
.net:hover { border-color: var(--accent); transform: translateY(-2px); }
.net-n { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.net-m { color: var(--muted); font-size: 13px; }
.net-m b { color: var(--ink-soft); font-weight: 600; }
.filter-card h4 a { float: right; color: var(--accent); text-transform: none; letter-spacing: 0; font-weight: 500; }
.tagchip { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: var(--ink-soft); }
.tagchip:hover { border-color: var(--accent); color: #fff; }
.tagchip i { color: var(--muted); font-style: normal; font-size: 12px; }

/* Compare table */
.cmp { border-collapse: collapse; width: 100%; min-width: 520px; }
.cmp th, .cmp td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.cmp th { background: var(--panel); color: var(--muted); font-family: var(--sans); font-weight: 700; width: 130px; text-transform: uppercase; font-size: 12px; letter-spacing: .5px; }
.cmp td { background: var(--panel-2); }

/* Discover strip (homepage) */
.discover { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.disc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: flex; flex-direction: column; gap: 4px; transition: transform .18s ease, border-color .18s ease; }
.disc:hover { transform: translateY(-4px); border-color: #3a3357; }
.disc-i { font-size: 26px; }
.disc-t { font-family: var(--serif); font-size: 19px; font-weight: 600; }
.disc-d { color: var(--muted); font-size: 13px; }

/* "Together N scenes" badge on a card thumb */
.thumb .together { position: absolute; left: 8px; bottom: 8px; z-index: 2; background: rgba(13,11,18,.72); border: 1px solid var(--line); color: var(--ink); font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 999px; backdrop-filter: blur(4px); }

/* Studio A-Z letter headers */
.letter-head { font-size: 20px; margin: 24px 0 12px; color: var(--accent-2); }

/* Collections */
.coll-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.coll { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: transform .18s ease, border-color .18s ease; }
.coll:hover { transform: translateY(-4px); border-color: #3a3357; }
.coll-ph { position: relative; aspect-ratio: 4/3; background: var(--panel-2); }
.coll-ph img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.coll-veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,11,18,0) 30%, rgba(13,11,18,.88) 100%); }
.coll-cap { position: absolute; left: 14px; right: 14px; bottom: 12px; display: flex; flex-direction: column; gap: 2px; }
.coll-emoji { font-size: 20px; }
.coll-title { font-family: var(--serif); font-size: 20px; font-weight: 600; color: #fff; line-height: 1.15; }
.coll-count { color: var(--ink-soft); font-size: 12.5px; }

/* Ranked list (busiest studios) */
.rank { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; }
.rank-row { display: flex; align-items: center; gap: 12px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px; }
.rank-row:hover { border-color: var(--accent); }
.rank-n { font-family: var(--serif); color: var(--muted); font-size: 15px; width: 26px; flex: 0 0 auto; }
.rank-name { font-weight: 600; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rank-v { color: var(--accent-2); font-weight: 600; font-size: 14px; }

/* Horizontal bars (nationalities / eras) */
.bars { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 8px 24px; }
.bar { display: flex; align-items: center; gap: 12px; padding: 5px 2px; color: var(--ink-soft); }
.bar:hover { color: #fff; }
.bar-l { width: 120px; flex: 0 0 auto; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar-track { flex: 1; height: 10px; background: var(--panel); border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; background: var(--accent-grad); }
.bar-v { width: 54px; text-align: right; flex: 0 0 auto; color: var(--muted); font-size: 13px; }

@media (max-width: 900px) {
    .hs-field { padding-left: 14px; }
    .hs-field input { font-size: 16px; }
    .hs-field button { padding: 12px 16px; }
    .search.behind-hero { display: none; }
    .layout { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .profile { grid-template-columns: 1fr; }
    .profile .photo { max-width: 300px; }
    .profile > div:first-child { position: static; }
    .scene-detail { grid-template-columns: 1fr; }
    .sd-media { max-width: 460px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .main-nav { display: none; }
}

/* Age gate overlay (content stays in the page for crawlers; humans confirm first) */
body.gated { overflow: hidden; }
body.gated > header, body.gated > main, body.gated > footer { filter: blur(22px); pointer-events: none; user-select: none; }
.agegate { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 20px; background: rgba(9, 7, 13, .72); }
.agegate-box { max-width: 520px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px 30px 26px; text-align: center; box-shadow: var(--shadow); }
.agegate-box h2 { font-size: 28px; margin: 0 0 10px; }
.agegate-box p { color: var(--ink-soft); line-height: 1.6; }
.agegate-box .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }

/* Landing pages */
.page-h1 { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin: 10px 0 12px; }
.lead-text { color: var(--ink-soft); font-size: 17px; line-height: 1.65; max-width: 80ch; margin: 0; }
.about { color: var(--ink-soft); line-height: 1.75; max-width: 75ch; }

/* Studio detail */
.studio-head { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; padding-top: 26px; }
.studio-logo { aspect-ratio: 16/10; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; padding: 18px; overflow: hidden; }
.studio-logo img { width: 100%; height: 100%; object-fit: contain; }
.studio-logo span { font-weight: 700; font-size: 20px; text-align: center; color: var(--ink-soft); }
@media (max-width: 700px) { .studio-head { grid-template-columns: 1fr; } .studio-logo { max-width: 260px; } }

/* Awards */
.awards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 8px 24px; }
.awards li { display: flex; gap: 14px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--line); }
.aw-y { color: var(--accent); font-weight: 700; min-width: 40px; font-variant-numeric: tabular-nums; }
.awards a:hover { color: var(--accent); }
.chip.award { border-color: #6b4a2a; color: #ffcf8a; }
.attrib { color: var(--muted); font-size: 12.5px; margin-top: -6px; }
.attrib a { text-decoration: underline; }

/* Brand kit (2026-10-15): graphic logo + line icons */
.brand-logo { display: inline-flex; align-items: center; line-height: 0; flex: 0 0 auto; }
.brand-logo img { display: block; height: 26px; width: auto; }
.site-footer .brand-logo img { height: 23px; }
.agegate-box .brand-logo, .gate .brand-logo { display: flex; justify-content: center; }
.agegate-box .brand-logo img { height: 30px; }
.gate .brand-logo img { height: 34px; }
.ico { width: 1em; height: 1em; display: inline-block; vertical-align: -0.14em; flex: 0 0 auto; }
.nav-ico { display: inline-flex; align-items: center; font-size: 20px; color: var(--ink-soft); }
.nav-ico:hover { color: var(--accent); }
.disc-i { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; font-size: 22px;
    color: var(--accent); background: rgba(255,77,109,.1); border: 1px solid rgba(255,77,109,.22); }
.h-ico { display: flex; align-items: center; gap: 10px; }
.h-ico .ico { color: var(--accent); }
.coll-emoji .ico { font-size: 22px; color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.5)); }
.chip.award .ico { color: #ffcf8a; }
@media (max-width: 600px) { .brand-logo img { height: 22px; } }

/* Scrollbars (2026-10-15): dark native widgets + thin themed bars instead of the light system default */
:root { color-scheme: dark; }
* { scrollbar-width: thin; scrollbar-color: #3a3357 transparent; }
*:hover { scrollbar-color: #554b7a transparent; }
html { scrollbar-color: #3a3357 var(--bg); }
@supports not (scrollbar-color: auto) {
    ::-webkit-scrollbar { width: 8px; height: 8px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: #3a3357; border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
    ::-webkit-scrollbar-thumb:hover { background: #554b7a; background-clip: padding-box; }
}
