/* Webez Community: same brand tokens and typefaces as webez.dev */
@font-face { font-family: 'Plex Arabic'; src: url('fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Plex Arabic'; src: url('fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Jakarta'; src: url('fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }

:root {
  --navy: #0b1730; --navy-2: #12223f; --navy-line: #263656;
  --blue: #0067fb; --blue-ink: #0058d6; --sky: #7cc0ff;
  --white: #fff; --mist: #f3f5fa; --line: #e3e6ee;
  --ink: #0b1530; --ink-2: #384157; --slate: #5b6478; --on-navy: #c8d0e4;
  --font: 'Jakarta', 'Plex Arabic', ui-sans-serif, system-ui, 'Segoe UI', Tahoma, sans-serif;
  --wrap: 1120px; --gutter: clamp(20px, 4vw, 32px);
  --r: 14px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.75; color: var(--ink); background: var(--white); }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: var(--sky); }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.ltr { direction: ltr; unicode-bidi: isolate; font-family: 'Jakarta', ui-sans-serif, system-ui, sans-serif; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: var(--white); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-ink); }
.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); }
.btn-line { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-line:hover { border-color: var(--ink); }

/* Header */
.top { position: absolute; inset-inline: 0; top: 0; z-index: 5; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 112px; }
.brand span { padding-inline-start: 12px; border-inline-start: 1px solid var(--navy-line); font-weight: 700; font-size: .95rem; color: var(--on-navy); }
.top nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; }
.top nav a { color: var(--on-navy); text-decoration: none; }
.top nav a:hover { color: var(--white); }
.top nav .btn { min-height: 40px; padding: 0 18px; font-size: .9rem; }

/* Hero */
.on-navy { background: var(--navy); color: var(--white); }
.hero { padding: 150px 0 0; overflow: hidden; }
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.75rem); line-height: 1.12; font-weight: 700; letter-spacing: -.01em; max-width: 13ch; }
.hero .lead { margin-top: 22px; max-width: 58ch; color: var(--on-navy); font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero .note { margin-top: 18px; font-size: .9rem; color: #94a0bd; }

/* The address bar: the one memorable element */
.address { margin-top: clamp(56px, 8vw, 96px); border-top: 1px solid var(--navy-line); padding: 28px 0 34px; }
.address p.cap { font-size: .9rem; color: #94a0bd; }
.url { margin-top: 6px; display: block; font-size: clamp(1.45rem, .6rem + 4.4vw, 4.25rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: clip; text-align: left; }
.url .host { color: #5f6f94; }
.url .slug { color: var(--white); }
.url .caret { display: inline-block; width: .06em; height: .9em; margin-inline-start: .04em; vertical-align: -.08em; background: var(--sky); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-mist { background: var(--mist); }
.head { max-width: 62ch; margin-bottom: clamp(32px, 5vw, 48px); }
.head h2 { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.6rem); line-height: 1.25; font-weight: 700; }
.head p { margin-top: 12px; color: var(--slate); }

/* Seats */
.seats { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 10px; }
.seat { aspect-ratio: 1; border: 1px dashed #c4cad8; border-radius: 12px; display: flex; flex-direction: column; justify-content: space-between; padding: 12px; background: var(--white); }
.seat b { font-family: 'Jakarta', sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--ink-2); }
.seat span { font-size: .8rem; color: var(--slate); }
.seat.taken { border-style: solid; border-color: var(--blue); background: var(--blue); }
.seat.taken b, .seat.taken span { color: var(--white); }
.seats-meta { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .95rem; color: var(--slate); }
.seats-meta strong { color: var(--ink); }

/* Page anatomy: a real mini profile next to its parts */
.anatomy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: start; }
.parts li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.parts li:last-child { border-bottom: 1px solid var(--line); }
.parts h3 { font-size: 1.1rem; font-weight: 700; }
.parts p { grid-column: 1 / -1; color: var(--slate); font-size: .98rem; }
.tag { align-self: center; font-size: .78rem; font-weight: 500; color: var(--slate); border: 1px solid var(--line); border-radius: 999px; padding: 1px 10px; }
.tag.req { color: var(--blue-ink); border-color: #b9d3ff; }

.mini { border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--white); position: sticky; top: 24px; }
.mini-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--mist); font-size: .8rem; color: var(--slate); }
.mini-bar i { width: 8px; height: 8px; border-radius: 50%; background: #cfd5e3; }
.mini-bar .ltr { margin-inline-start: 8px; }
.mini-body { padding: 26px 24px 28px; }
.mini .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--navy); color: var(--sky); display: grid; place-items: center; font-weight: 700; }
.mini h4 { margin: 14px 0 0; font-size: 1.35rem; }
.mini .role { color: var(--slate); font-size: .92rem; }
.mini .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.mini .chips span { font-size: .8rem; padding: 3px 10px; border-radius: 999px; background: var(--mist); color: var(--ink-2); }
.mini .proj { margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.mini .proj p { font-size: .9rem; color: var(--slate); }
.mini .proj strong { display: block; color: var(--ink); font-size: .98rem; }
.mini .cv { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 700; color: var(--blue-ink); }

/* Steps: a real sequence, so numbered */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); counter-reset: s; }
.steps li { counter-increment: s; padding-top: 20px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s); font-family: 'Jakarta', sans-serif; font-weight: 700; font-size: 2.2rem; line-height: 1; color: var(--blue); }
.steps h3 { margin-top: 14px; font-size: 1.2rem; }
.steps p { margin-top: 6px; color: var(--slate); }

/* Privacy */
.rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 64px); }
.rules li { padding: 20px 0; border-top: 1px solid var(--line); }
.rules h3 { font-size: 1.08rem; }
.rules p { margin-top: 4px; color: var(--slate); font-size: .98rem; }

/* FAQ */
.faq { max-width: 760px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font-weight: 700; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-family: 'Jakarta', sans-serif; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--slate); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 22px; color: var(--ink-2); max-width: 64ch; }

/* Closing band + footer */
.close { padding: clamp(64px, 9vw, 104px) 0; }
.close .wrap { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 28px; }
.close h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); line-height: 1.2; max-width: 16ch; }
.close p { margin-top: 10px; color: var(--on-navy); max-width: 46ch; }
.foot { border-top: 1px solid var(--navy-line); padding: 26px 0 34px; font-size: .9rem; color: #94a0bd; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.foot a { color: var(--on-navy); }

/* Sample profile page */
.demo-flag { background: #fff6dd; color: #6b4e00; font-size: .9rem; text-align: center; padding: 8px 16px; }
.p-hero { padding: 132px 0 56px; }
.p-hero .wrap { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }
.p-avatar { width: clamp(88px, 12vw, 128px); height: auto; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--navy-line); object-fit: cover; }
.p-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.15; }
.p-hero .role { margin-top: 6px; color: var(--on-navy); }
.p-hero .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.p-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(32px, 5vw, 72px); }
.p-block + .p-block { margin-top: 48px; }
.p-block h2 { font-size: 1.35rem; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.p-block > p { color: var(--ink-2); max-width: 64ch; }
.project + .project { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.project h3 { font-size: 1.12rem; }
.project .meta { font-size: .88rem; color: var(--slate); }
.project p { margin-top: 6px; color: var(--ink-2); }
.side dl { display: grid; gap: 16px; }
.side dt { font-size: .85rem; color: var(--slate); }
.side dd { font-weight: 600; }
.chips2 { display: flex; flex-wrap: wrap; gap: 8px; }
.chips2 span { padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: .9rem; }
.timeline li { display: grid; grid-template-columns: 7rem 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.timeline li:first-child { border-top: 0; padding-top: 0; }
.timeline span { color: var(--slate); font-size: .92rem; }
.cv-box { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-top: 28px; }
.cv-box p { color: var(--slate); font-size: .95rem; margin: 6px 0 14px; }

/* Responsive */
@media (max-width: 900px) {
  .top nav a:not(.btn):not(:first-child) { display: none; }
  .anatomy, .p-grid { grid-template-columns: 1fr; }
  .mini { position: static; }
  .seats { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps, .rules { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .url { white-space: normal; overflow-wrap: anywhere; font-size: 5.1vw; }
  .brand span { display: none; }
  .hero { padding-top: 120px; }
  .seat { aspect-ratio: auto; min-height: 76px; padding: 10px; }
  .p-hero .wrap { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 1fr; gap: 2px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .url .caret { animation: none; } }

/* ---------- WordPress theme additions ---------- */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.top nav a[aria-current="page"] { color: var(--white); }
.page-hero { padding: 140px 0 56px; }
.page-hero h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.4rem); line-height: 1.15; }
.page-hero .lead { margin-top: 14px; max-width: 60ch; color: var(--on-navy); }
.page-hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.section-tight { padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 9vw, 104px); }
.head-row { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 32px; }
.head-row > div { max-width: 62ch; }
.more { font-weight: 700; color: var(--blue-ink); text-decoration: none; }
.more:hover { text-decoration: underline; }

/* Prose (About and other editor pages) */
.prose { max-width: 68ch; color: var(--ink-2); font-size: 1.1rem; line-height: 1.95; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { color: var(--ink); font-size: 1.5rem; line-height: 1.35; margin-top: 1.8em; }
.prose h3 { color: var(--ink); font-size: 1.2rem; margin-top: 1.5em; }
.prose ul { list-style: disc; padding-inline-start: 1.3em; }
.prose ol { list-style: decimal; padding-inline-start: 1.3em; }
.prose a { color: var(--blue-ink); }
.prose.after { margin-top: 56px; }

/* Cards (home + directory) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); transition: border-color .2s, box-shadow .2s; }
.card:hover { border-color: #c4cad8; box-shadow: 0 10px 30px -18px rgba(11, 23, 48, .35); }
.card[hidden] { display: none; }
.card-link { display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: center; text-decoration: none; color: inherit; }
.card-link::after { content: ''; position: absolute; inset: 0; border-radius: 16px; }
.card-av .wc-avatar { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.card-body { display: flex; flex-direction: column; min-width: 0; }
.card-name { font-size: 1.12rem; line-height: 1.4; }
.card-en { font-size: .88rem; color: var(--slate); }
.card-role { margin-top: 2px; font-size: .9rem; color: var(--ink-2); }
.card-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.card-chips li { font-size: .8rem; padding: 2px 10px; border-radius: 999px; background: var(--mist); color: var(--ink-2); }
.card-badges { display: flex; gap: 6px; position: relative; z-index: 1; }
.card-badges svg { display: block; }

/* Directory filters */
.filters { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-bottom: 18px; }
.filters[hidden] { display: none; }
.filters label { display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: var(--slate); }
.filters label[hidden] { display: none; }
.filters input, .filters select { font: inherit; font-size: 1rem; color: var(--ink); height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); width: 100%; }
.filters input:focus, .filters select:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(0, 103, 251, .15); }
.count { margin-bottom: 16px; color: var(--slate); font-size: .95rem; }
.empty { padding: 28px 0; color: var(--slate); }
.empty-state { max-width: 52ch; padding: 40px 0; }
.empty-state h2 { font-size: 1.6rem; }
.empty-state p { margin: 10px 0 22px; color: var(--slate); }

/* Profile */
.p-hero .wc-avatar { width: clamp(96px, 13vw, 144px); height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; border: 1px solid var(--navy-line); }
.crumbs { font-size: .9rem; margin-bottom: 8px; }
.crumbs a { color: #94a0bd; text-decoration: none; }
.crumbs a:hover { color: var(--white); }
.crumbs a::after { content: ' /'; }
.p-en { margin-top: 2px; color: var(--sky); font-size: 1.05rem; }
.p-block > p, .p-block .project p { max-width: 64ch; }
.p-block p + p { margin-top: 1em; }
.project .meta strong { color: var(--ink-2); }
.ext { display: inline-block; margin-top: 8px; font-size: .92rem; font-weight: 700; color: var(--blue-ink); }
.side { display: grid; gap: 30px; align-content: start; }
.side h2 { font-size: .95rem; color: var(--slate); font-weight: 500; margin-bottom: 10px; }
.side dl { gap: 12px; }
.side dl div { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.side dt { font-size: .92rem; }
.side dd { text-align: end; }
.timeline div span { color: var(--slate); font-size: .92rem; }
.awards { display: grid; gap: 18px; }
.awards li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.awards p { color: var(--ink-2); font-size: .98rem; }
.awards .meta { font-size: .85rem; color: var(--slate); }
.awards + .more { display: inline-block; margin-top: 16px; }

/* Badges page */
.badge-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 64px); }
.badge-list li { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.badge-list h2 { font-size: 1.2rem; }
.badge-list p { margin-top: 4px; color: var(--ink-2); }
.badge-list .crit { color: var(--slate); font-size: .95rem; }

/* Footer */
footer .foot { border-top: 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-nav a { text-decoration: none; }
.foot-nav a:hover { color: var(--white); }

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .filters { grid-template-columns: 1fr 1fr; }
  .filters .f-q { grid-column: 1 / -1; }
  .badge-list { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr; }
  .page-hero { padding-top: 116px; }
}

/* ---------- Motion (all of it switches off with reduced motion) ---------- */
.top { transition: background-color .3s, box-shadow .3s, transform .3s; }
.top.is-stuck { position: fixed; background: rgba(11, 23, 48, .94); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); box-shadow: 0 1px 0 var(--navy-line); animation: drop .35s cubic-bezier(.2, .7, .2, 1); }
.top.is-stuck .wrap { height: 64px; }
.admin-bar .top.is-stuck { top: 32px; }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }

.hero h1, .hero .lead, .hero .actions, .hero .note, .page-hero h1, .page-hero .lead, .page-hero .actions, .p-hero .wrap > * {
  animation: rise .8s cubic-bezier(.2, .7, .2, 1) both;
}
.hero .lead, .page-hero .lead { animation-delay: .08s; }
.hero .actions, .page-hero .actions { animation-delay: .16s; }
.hero .note { animation-delay: .24s; }
.p-hero .wrap > :nth-child(2) { animation-delay: .1s; }
.hero .address { animation: fade 1.2s .35s both; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--d, 0ms); }
.rv.in { opacity: 1; transform: none; }

.btn { transition: background-color .2s, border-color .2s, color .2s, transform .2s; }
.btn:active { transform: translateY(1px); }
.card { transition: border-color .25s, box-shadow .25s, transform .25s; }
.card:hover { transform: translateY(-3px); }
.card-av .wc-avatar { transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-av .wc-avatar { transform: scale(1.06); }
.card-name { transition: color .2s; }
.card:hover .card-name { color: var(--blue-ink); }
.more span, .ext::after { display: inline-block; transition: transform .2s; }
.more:hover span { transform: translateX(-4px); }
.ext::after { content: '↖'; margin-inline-start: 4px; font-family: 'Jakarta', sans-serif; }
.ext:hover::after { transform: translate(-2px, -2px); }
.faq details p { animation: fade .3s; }
.top nav a:not(.btn) { position: relative; }
.top nav a:not(.btn)::after { content: ''; position: absolute; inset-inline: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--sky); transform: scaleX(0); transition: transform .25s; }
.top nav a:not(.btn):hover::after, .top nav a[aria-current="page"]::after { transform: scaleX(1); }
.p-hero .wc-monogram path, .p-hero .wc-monogram circle { animation: spin-in 1.4s .2s cubic-bezier(.2, .7, .2, 1) both; transform-origin: 50px 50px; transform-box: view-box; }
@keyframes spin-in { from { opacity: 0; transform: rotate(-90deg); } to { opacity: 1; transform: none; } }

@media (max-width: 782px) { .admin-bar .top.is-stuck { top: 46px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
}

/* Logged-in admin bar: keep the site header below it */
.admin-bar .top { top: 32px; }
@media (max-width: 782px) { .admin-bar .top { top: 46px; } }
@media (max-width: 600px) { .admin-bar .top.is-stuck { top: 0; } }