/* vrocisms.com, direction "Velvet" (2026 redesign): tokens, shell, search band, listings.
   Spec: docs/superpowers/specs/2026-11-01-vrocisms-velvet-design.md
   Red-wine damask, crimson menu bar, pink #ff2870 and gold #ffd338, Alex Brush script.
   Profile: vr2026-profil.css. Privacy and cookies: vr2026-pravno.css. */

/* ---------- Fonts (self-hosted, SIL OFL 1.1, licences in /fonts/OFL-*.txt; latin-ext first) ---------- */
@font-face { font-family: "Alex Brush"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/alex-brush-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Alex Brush"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/alex-brush-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Belleza"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/belleza-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Belleza"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/belleza-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/marcellus-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/marcellus-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Dosis"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/dosis-latin-ext-400-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Dosis"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/dosis-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Dosis"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/dosis-latin-ext-500-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Dosis"; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/dosis-latin-500-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Dosis"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/dosis-latin-ext-600-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Dosis"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/dosis-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Dosis"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/dosis-latin-ext-700-normal.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Dosis"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/dosis-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- Tokens ---------- */
:root {
  color-scheme: dark;
  --field: #1c0008;          /* page colour under the damask */
  --hero: #26010c;           /* search band ground, sampled around the woman in bg-1.jpg */
  --crimson-hi: #a5123d;     /* page-number hover */
  --crimson: #970e36;        /* menu bar top, menu button */
  --crimson-mid: #7b0a2b;
  --crimson-lo: #5e0822;
  --crimson-edge: #350312;   /* menu bar outline, separators */
  --frame: #861e39;          /* card, photo, field and panel borders */
  --frame-hover: #c91b47;
  --field-edge: #d8708f;     /* derived: form field outline (5.3:1 on the SMS panel, 4.6:1+ on the velvet card) */
  --disc: #880f33;           /* page-number discs, Nazaj/Naprej (white 9.7:1) */
  --disc-hi: #a3143f;
  --pink: #ff2870;           /* wordmark, card names, current page tile */
  --pink-light: #ff5a8f;     /* derived: pink text on darker panels, "svoj zmenek!" */
  --pink-soft: #ff8fb2;      /* derived: "Razveljavi iskanje" on the velvet card */
  --rose: #e8c9d3;           /* derived: field labels on the velvet card */
  --gold: #ffd338;           /* current menu item, focus ring, "Me želiš spoznati?" */
  --gold-line: rgba(255, 211, 56, .42);
  --gold-faint: rgba(255, 211, 56, .16);
  --text: #f6e8ec;
  --muted: #c9a0ae;          /* derived: tagline, card meta, footer (8.7:1 on --field) */
  --ink: #33010e;            /* dark text on pink */
  --input: #22000a;          /* every form field */
  --panel: rgba(20, 0, 7, .62);
  --amber-top: #ffc85a;
  --amber-mid: #ffaf3f;
  --amber-bot: #ff9c2b;
  --amber-ink: #3a0112;
  --script: "Alex Brush", "Brush Script MT", cursive;
  --serif: "Belleza", "Trebuchet MS", sans-serif;
  --caps: "Marcellus", Georgia, serif;
  --ui: "Dosis", system-ui, sans-serif;
  --wrap: 1200px;
  --gut: 24px;
  --damask: url(/img/vr2026-damask.jpg);           /* img/bg.jpg, pattern lifted (bake-damask.py) */
  --damask-tile: url(/img/vr2026-damask-tile.jpg); /* img/repeat.jpg, lifted the same way */
  --tile: url(/img/repeat.jpg);                    /* unlifted, behind the velvet card, SMS panel, drawer */
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--field); }
html.nav-open { overflow: hidden; }
body {
  margin: 0; position: relative; isolation: isolate; min-height: 100vh;
  font: 500 17px/1.5 var(--ui);
  color: var(--text);
  background: var(--field);
}
h1, h2, h3, p, figure, fieldset { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--pink); }
main { display: block; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

/* main and the profile/legal #mainContent sit in the content column */
.wrap, main, .pageAlign > #mainContent { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }

/* Visually hidden; the skip link shows as a gold tile on keyboard focus */
.invisible {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
a.invisible:focus {
  top: 12px; left: 16px; z-index: 50;
  display: inline-flex; align-items: center; width: auto; height: 44px; margin: 0; padding: 0 18px;
  clip: auto; clip-path: none; overflow: visible;
  background: var(--gold); color: var(--amber-ink);
  font: 700 16px/1 var(--ui); text-decoration: none;
  outline-color: var(--text);
}

/* ---------- Background: the damask (baked lift) and two dark pools that keep pink text at AA ---------- */
body::before, body::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
body::before {
  background:
    var(--damask) center top / max(1920px, 100%) auto no-repeat,
    var(--damask-tile) center top / 1920px auto repeat;
}
body::after {
  background:
    radial-gradient(ellipse 760px 520px at 50% 520px, rgba(14, 0, 5, .5), rgba(14, 0, 5, 0) 100%),
    radial-gradient(ellipse 360px 160px at calc(50% - 300px) 80px, rgba(14, 0, 5, .35), rgba(14, 0, 5, 0) 100%);
}

/* ---------- Header: live Alex Brush wordmark ---------- */
.head__row { display: flex; align-items: center; justify-content: space-between; min-height: 122px; }
#logo { min-width: 0; }
#logo a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 4px 6px 2px 0;
  font: 400 48px/1 var(--script); letter-spacing: .005em; white-space: nowrap; text-decoration: none;
}
#logo .w1, .drawer-logo .w1 { color: var(--pink); }
#logo .w2, .drawer-logo .w2 { color: #fff; text-shadow: 0 1px 0 rgba(0, 0, 0, .55), 0 0 18px rgba(255, 40, 112, .25); }
#logo .w1 + .w2 { margin-left: .2em; } /* the space between the spans is collapsed by inline-flex */
#logo h1 {
  text-wrap: balance;
  margin: 4px 0 0 64px;
  font: 500 14px/1.3 var(--ui); letter-spacing: .06em; color: var(--muted);
}
#mobileNavBtn, .drawer-top, .scrim { display: none; }

/* ---------- Menu band: crimson velvet, ends at the content width ---------- */
.band {
  position: relative;
  width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .10) 0, rgba(255, 255, 255, 0) 48%),
    linear-gradient(180deg, var(--crimson) 0%, var(--crimson-mid) 55%, var(--crimson-lo) 100%);
  border-top: 1px solid rgba(255, 140, 170, .35);
  box-shadow: 0 0 0 1px var(--crimson-edge), 0 12px 28px rgba(0, 0, 0, .45);
}
.band::after { /* the gold hairline under the band */
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--gold-line);
}
.band .level_1 { display: flex; margin: 0; padding: 0; list-style: none; }
.band .level_1 li { flex: 1 1 auto; }
.band .level_1 li + li { border-left: 1px solid rgba(53, 3, 18, .75); box-shadow: inset 1px 0 0 rgba(255, 255, 255, .07); }
.band .level_1 a {
  display: flex; align-items: center; justify-content: center; height: 58px; padding: 0 20px;
  font: 600 17px/1 var(--ui); letter-spacing: .09em; text-transform: uppercase; white-space: nowrap;
  color: #fff; text-decoration: none; text-shadow: 0 1px 0 rgba(0, 0, 0, .35);
}
.band .level_1 a[aria-current] {
  color: var(--gold);
  background: linear-gradient(180deg, rgba(30, 0, 9, .55), rgba(30, 0, 9, .35));
  box-shadow: inset 0 -3px 0 var(--gold);
}
/* drawer controls (shown at 999px and below) */
#mobileNavBtn svg, #mainNav .close svg {
  display: block; width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round;
}

/* ---------- Search band: velvet search card left, the woman right ---------- */
main { padding-top: 34px; }
.hero {
  position: relative; isolation: isolate;
  display: grid; grid-template-columns: 1fr 45%;
  min-height: 300px;
  background: var(--hero);
  border-block: 1px solid var(--gold-faint);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .45);
}
.hero__photo {
  grid-column: 2; grid-row: 1; position: relative; z-index: 0;
  /* 980x270 source at 310px tall (1.15x, soft and decorative); the woman sits near the right edge */
  background: url(/img/bg-1.jpg) no-repeat right -383px bottom / auto 310px;
}
.hero__photo::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--hero) 0, rgba(38, 1, 12, .85) 12%, rgba(38, 1, 12, 0) 35%),
    /* hides the lighter strip at the top of bg-1.jpg when the band is taller than the photo */
    linear-gradient(0deg, rgba(38, 1, 12, 0) 0, rgba(38, 1, 12, 0) 246px, var(--hero) 284px);
}
.hero__body {
  grid-column: 1; grid-row: 1; position: relative; z-index: 1;
  align-self: center; margin: 22px -64px 22px 22px;
}
.velvet {
  background:
    linear-gradient(160deg, rgba(151, 14, 54, .62), rgba(70, 3, 24, .9) 70%),
    var(--tile) center / cover;
  border: 1px solid var(--frame);
  box-shadow: 0 16px 40px rgba(10, 0, 3, .6), 0 0 0 1px rgba(10, 0, 3, .5);
  padding: 28px 38px 18px;
}
.velvet::before { content: ""; position: absolute; inset: 8px; border: 1px solid var(--gold-line); pointer-events: none; }
.hero h2 {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 14px;
  font: 400 26px/1 var(--serif); letter-spacing: .14em; text-transform: uppercase; color: var(--text);
}
.hero h2 span {
  font: 400 52px/1.05 var(--script); letter-spacing: 0; text-transform: none; color: var(--pink-light);
  text-shadow: 0 2px 10px rgba(14, 0, 5, .5);
}
.explanation01 { max-width: 56ch; margin: 4px 0 16px; font-size: 16px; color: var(--text); }

.filter_row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.filter_row--end { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 10px; }
.field { min-width: 0; }
.field label, .radio_container legend {
  display: block; margin-bottom: 6px; padding: 0;
  font: 600 14px/1.2 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: var(--rose);
}

/* Native selects (search, and #prov_type on the profile) */
.select, .prov_type {
  width: 100%; height: 48px; padding: 0 44px 0 14px;
  appearance: none; -webkit-appearance: none;
  font: 500 17px/1 var(--ui); color: var(--text);
  background: var(--input) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%23ffd338' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 14px center / 18px;
  border: 1px solid var(--field-edge); border-radius: 2px;
  box-shadow: inset 0 1px 6px rgba(0, 0, 0, .5);
  text-overflow: ellipsis; cursor: pointer;
}
.select option, .prov_type option { background: var(--input); color: var(--text); }

.radio_container { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; min-width: 0; padding: 0; border: 0; }
.radio_container legend { float: left; margin: 0 6px 0 0; }
.radio_container span { display: inline-flex; align-items: center; min-height: 44px; }
.radio_container label { padding: 10px 6px 10px 10px; font-size: 17px; cursor: pointer; }
.radio {
  flex: none; width: 22px; height: 22px; margin: 0;
  appearance: none; -webkit-appearance: none;
  border: 2px solid var(--pink-light); border-radius: 50%; background: var(--input); cursor: pointer;
}
.radio:checked { background: radial-gradient(circle, var(--pink) 0 5px, var(--input) 6px); }
.clearall a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-weight: 600; color: var(--pink-soft); text-underline-offset: 4px;
}

/* ---------- Listing heading bar ---------- */
#mainContent { padding-top: 46px; }
.topBar {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 14px; margin-bottom: 30px;
  border-bottom: 1px solid var(--gold-line);
}
.topBar::after { /* gold diamond on the rule's left end */
  content: ""; position: absolute; left: 0; bottom: -4px; width: 7px; height: 7px;
  background: var(--gold); transform: rotate(45deg);
}
.topBar h3 {
  padding-left: 2px;
  font: 400 23px/1.2 var(--serif); letter-spacing: .12em; text-transform: uppercase; color: #fff;
  text-shadow: 0 1px 8px rgba(14, 0, 5, .6);
}
.topRight { display: flex; gap: 10px; }
.topRight a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  font: 600 16px/1 var(--ui); letter-spacing: .04em; color: var(--pink-light); text-decoration: none;
  background: rgba(20, 0, 7, .55); border: 1px solid var(--frame); border-radius: 2px;
}

/* ---------- Cards: framed 380x478 portrait; the whole card is one link ---------- */
.profileList .list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 36px 34px; }
.card { display: block; color: inherit; text-decoration: none; }
.card figure {
  padding: 5px; background: #1a0008; border: 1px solid var(--frame);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .6), 0 14px 28px rgba(0, 0, 0, .55);
  transition: border-color .2s, box-shadow .2s;
}
.card img {
  width: 100%; height: auto; aspect-ratio: 380 / 478; object-fit: cover;
  outline: 1px solid rgba(255, 211, 56, .12); outline-offset: -1px;
}
.card .profileListData { display: block; padding-top: 12px; text-align: center; }
.card .name {
  display: block; overflow-wrap: anywhere;
  font: 400 17px/1.25 var(--caps); letter-spacing: .1em; text-transform: uppercase;
  color: var(--pink); text-shadow: 0 1px 6px rgba(14, 0, 5, .7);
  transition: color .2s;
}
.card .meta { display: block; margin-top: 2px; font-size: 15px; color: var(--muted); }
.card:focus-visible { outline-offset: 6px; }

.profileList .empty {
  padding: 28px; text-align: center; font-size: 18px; color: var(--text);
  background: var(--panel); border: 1px solid var(--gold-faint);
}

/* ---------- Page numbers: crimson discs; current = filled pink disc ---------- */
.pagination { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--gold-faint); }
.pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination a, .pagination .current {
  display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 4px;
  border-radius: 50%; text-decoration: none;
  font: 600 17px/1 var(--ui); color: #fff;
  background: radial-gradient(circle at 50% 30%, var(--disc-hi), var(--disc) 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 2px 6px rgba(0, 0, 0, .5);
}
.pagination .current {
  font-weight: 700; color: var(--ink); background: var(--pink);
  box-shadow: 0 0 0 2px var(--gold), 0 2px 8px rgba(0, 0, 0, .5);
}
.pagination a.previous, .pagination a.next {
  padding: 0 20px; border-radius: 4px; background: var(--disc);
  font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
}

/* ---------- Footer ---------- */
.foot, .pageAlign > footer {
  display: block; margin-top: 56px; padding: 32px 0 48px;
  text-align: center; color: var(--muted);
  background: rgba(14, 0, 5, .55); border-top: 1px solid var(--gold-faint);
}
.copyright { font-size: 16px; }
.copyright a { display: inline-block; padding: 10px 4px; color: var(--muted); text-underline-offset: 3px; }
.copyright span { padding: 0 4px; opacity: .6; }
.copyright .nw { padding: 0 4px; opacity: 1; white-space: nowrap; }
@media (max-width: 639px) {
  .copyright { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; column-gap: 8px; }
  .copyright > span[aria-hidden] { display: none; }
}
.terms { max-width: 980px; margin: 12px auto 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

/* ---------- Hover (pointer devices only) ---------- */
@media (hover: hover) {
  .band .level_1 a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
  .band .level_1 a[aria-current]:hover { color: var(--gold); }
  #mobileNavBtn:hover, #mainNav .close:hover { border-color: var(--gold); }
  .clearall a:hover, .copyright a:hover { color: #fff; }
  .topRight a:hover { color: #fff; background: rgba(255, 40, 112, .14); border-color: var(--pink); }
  .card:hover figure {
    border-color: var(--frame-hover);
    box-shadow: 0 0 0 1px var(--frame-hover), 0 0 24px rgba(255, 40, 112, .25), 0 14px 28px rgba(0, 0, 0, .55);
  }
  .card:hover .name { color: var(--gold); }
  .pagination a:hover { background: var(--crimson-hi); box-shadow: 0 0 0 2px var(--pink-light); }
}

/* ---------- 1180px and below: tighten ---------- */
@media (max-width: 1180px) {
  .band .level_1 a { padding: 0 14px; font-size: 16px; }
  .velvet { padding-inline: 34px; }
  .profileList .list { gap: 30px 24px; }
}

/* ---------- 999px and below: drawer, stacked search band, 3 cards ---------- */
@media (max-width: 999px) {
  :root { --gut: 16px; }
  body { font-size: 16px; }
  body::before { background-size: 1400px auto, 1400px auto; background-position: 50% -40px, center top; }
  body::after { background: radial-gradient(ellipse 120% 520px at 50% 380px, rgba(14, 0, 5, .5), rgba(14, 0, 5, 0) 100%); }

  .head__row { min-height: 84px; gap: 12px; }
  #logo a { font-size: 38px; }
  #logo h1 { margin: 2px 0 0 40px; font-size: 12px; letter-spacing: .04em; }
  #mobileNavBtn {
    display: inline-flex; flex: none; align-items: center; gap: 8px;
    min-height: 44px; padding: 0 16px;
    font: 600 16px/1 var(--ui); letter-spacing: .08em; text-transform: uppercase; color: #fff;
    background: linear-gradient(180deg, var(--crimson), var(--crimson-lo));
    border: 1px solid var(--gold-line); border-radius: 2px; cursor: pointer;
  }

  /* the drawer */
  .band {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 40;
    width: min(330px, 86vw); margin: 0; overflow-y: auto; overscroll-behavior: contain;
    background:
      linear-gradient(180deg, rgba(151, 14, 54, .92), rgba(60, 2, 20, .97)),
      var(--tile) center / cover;
    border: 0; border-left: 1px solid var(--gold-line);
    box-shadow: -20px 0 40px rgba(0, 0, 0, .6);
    transform: translateX(105%); visibility: hidden;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .band::after { display: none; }
  .band.open { transform: none; visibility: visible; transition: transform .25s ease; }
  .drawer-top {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--gold-faint);
  }
  .drawer-logo { font: 400 32px/1 var(--script); white-space: nowrap; }
  #mainNav .close {
    display: grid; place-items: center; flex: none; width: 44px; height: 44px; padding: 0;
    color: #fff; background: rgba(30, 0, 9, .4); border: 1px solid var(--gold-line); border-radius: 2px; cursor: pointer;
  }
  .band .level_1 { flex-direction: column; padding: 8px 0; }
  .band .level_1 li, .band .level_1 li + li { border: 0; border-bottom: 1px solid rgba(53, 3, 18, .6); box-shadow: none; }
  .band .level_1 a { justify-content: flex-start; height: 56px; padding: 0 22px; font-size: 18px; }
  .band .level_1 a[aria-current] { box-shadow: inset 4px 0 0 var(--gold); }
  .band .level_1 a:focus-visible { outline-offset: -4px; } /* the ring stays inside the scrolling drawer */
  .scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 30; background: rgba(10, 0, 3, .7); }

  /* search band: photo strip on top, the card overlaps it */
  main { padding-top: 0; }
  .hero {
    display: block; min-height: 0; padding-bottom: 20px;
    margin-inline: calc(-1 * var(--gut)); border-inline: 0; box-shadow: none;
  }
  .hero__photo { height: 190px; background-size: auto 228px; background-position: 44% -24px; }
  .hero__photo::after { background: linear-gradient(0deg, var(--hero) 0, rgba(38, 1, 12, 0) 55%); }
  .hero__body { margin: -54px var(--gut) 0; padding: 22px 22px 14px; }
  .velvet { box-shadow: 0 14px 30px rgba(14, 0, 5, .55); }
  .hero h2 { gap: 0 10px; font-size: 20px; }
  .hero h2 span { font-size: 42px; }
  .filter_row { gap: 12px; }
  .filter_row--end { flex-wrap: wrap; gap: 0 16px; margin-top: 8px; }

  #mainContent { padding-top: 32px; }
  .topBar { flex-wrap: wrap; margin-bottom: 22px; }
  .topBar h3 { font-size: 19px; }
  .profileList .list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 18px; }
  .pagination { margin-top: 36px; padding-top: 22px; }
  .foot, .pageAlign > footer { margin-top: 44px; padding: 26px 0 36px; }
}

/* ---------- 639px and below: 2 cards ---------- */
@media (max-width: 639px) {
  .hero__body { padding-inline: 18px; }
  .topRight { width: 100%; }
  .topRight a { flex: 1; justify-content: center; }
  .profileList .list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .card figure { padding: 4px; }
  .card .name { font-size: 16px; letter-spacing: .09em; }
  .card .meta { font-size: 14px; }
  .pagination ul { gap: 6px; }
}

/* ---------- 440px and below: search fields stack, so the chosen value stays readable ---------- */
@media (max-width: 440px) {
  .filter_row { grid-template-columns: 1fr; }
}

@media (max-width: 400px) {
  #logo a { font-size: 34px; }
  #logo h1 { margin-left: 30px; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Print ---------- */
@media print {
  html, body { background: #fff; color: #000; }
  body::before, body::after, .hero__photo, #mainNav, #mobileNavBtn, .scrim, a.invisible { display: none !important; }
  #logo h1, .card .meta, .foot, .pageAlign > footer, .copyright a, .terms { color: #000; }
  .hero, .velvet, .foot, .pageAlign > footer { background: none; box-shadow: none; }
  .hero { display: block; min-height: 0; }
  .hero__body { margin: 0; }
  .profileList .list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card figure { box-shadow: none; }
  .card .name, .card .meta { text-shadow: none; }
}
