/* ============================================================================
   Budapest Portal — shared design system (monochrome edition)
   Prototype mockup. Dark, minimal, emerald/gold accents to match Budapest OS.
   ========================================================================== */

:root {
  --bg:        #0a0c0d;
  --bg-2:      #0f1214;
  --surface:   #14181b;
  --surface-2: #1a1f23;
  --border:    #262c31;
  --border-2:  #333b41;
  --text:      #e9ecee;
  --muted:     #98a0a6;
  --muted-2:   #6b7278;
  --accent:    #34d17f;   /* DOOMSDAY green */
  --accent-dim:#1f7a4d;
  --gold:      #e6b450;   /* "attention" glow, like the app */
  --danger:    #e5544e;
  --danger-dim:#7a2b28;
  --radius:    12px;
  --radius-sm: 8px;
  --shadow:    0 10px 30px rgba(0,0,0,.45);
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, Menlo, Consolas, monospace;
  --sans: -apple-system, "Segoe UI", Roboto, Inter, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(52,209,127,.06), transparent 60%),
    radial-gradient(900px 500px at -10% 110%, rgba(230,180,80,.05), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1,h2,h3,h4 { line-height: 1.2; margin: 0 0 .4em; font-weight: 650; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
code, kbd { font-family: var(--mono); font-size: .88em; }
.mono { font-family: var(--mono); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* ---- Brand mark --------------------------------------------------------- */
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700;
  letter-spacing: .02em; color: var(--text); }
.brand .dot { width: 26px; height: 26px; border-radius: 7px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  display: grid; place-items: center; color: #04120a; font-weight: 900; box-shadow: 0 0 18px rgba(52,209,127,.35); }
.brand small { color: var(--muted); font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; font-size: 10px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer;
  font-family: var(--sans); font-size: 14px; font-weight: 600;
  padding: 9px 15px; border-radius: var(--radius-sm);
  border: 1px solid var(--border-2); background: var(--surface-2); color: var(--text);
  transition: .15s ease; white-space: nowrap; user-select: none;
}
.btn:hover { border-color: var(--muted-2); background: #21272c; text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn .ic { font-size: 15px; line-height: 1; }
.btn.primary { background: linear-gradient(135deg, var(--accent), var(--accent-dim));
  border-color: transparent; color: #04120a; box-shadow: 0 6px 18px rgba(52,209,127,.25); }
.btn.primary:hover { filter: brightness(1.07); }
.btn.gold { background: linear-gradient(135deg, var(--gold), #b8862f); border-color: transparent; color: #1a1204; }
.btn.ghost { background: transparent; }
.btn.danger { background: transparent; border-color: var(--danger-dim); color: #f0928d; }
.btn.danger:hover { background: rgba(229,84,78,.1); border-color: var(--danger); }
.btn.sm { padding: 6px 10px; font-size: 13px; }
.btn.block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---- Cards / surfaces --------------------------------------------------- */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; }
.card.hover { transition: .15s; }
.card.hover:hover { border-color: var(--border-2); transform: translateY(-2px); box-shadow: var(--shadow); }
.grid { display: grid; gap: 16px; }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px){ .grid.c2,.grid.c3,.grid.c4 { grid-template-columns: 1fr; } }

.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  padding: 3px 9px; border-radius: 999px; border: 1px solid var(--border-2);
  background: var(--surface-2); color: var(--muted); }
.pill.ok  { color: var(--accent); border-color: var(--accent-dim); background: rgba(52,209,127,.08); }
.pill.warn{ color: var(--gold);   border-color: #8a6a24;         background: rgba(230,180,80,.08); }
.pill.err { color: #f0928d;       border-color: var(--danger-dim); background: rgba(229,84,78,.08); }

.tag { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); font-weight: 700; }

/* ---- Forms -------------------------------------------------------------- */
label.field { display: block; margin-bottom: 14px; }
label.field > span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
input[type=text], input[type=password], input[type=number], input[type=url], select, textarea {
  width: 100%; padding: 10px 12px; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--border-2); border-radius: var(--radius-sm);
  font-family: var(--sans); font-size: 14px; transition: .15s;
}
textarea { min-height: 120px; resize: vertical; font-family: var(--mono); font-size: 13px; line-height: 1.5; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(52,209,127,.12); }
.field-row { display: flex; gap: 12px; }
.field-row > * { flex: 1; }

/* ---- Tables ------------------------------------------------------------- */
table.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
table.tbl th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12px;
  text-transform: uppercase; letter-spacing: .05em; padding: 10px 12px; border-bottom: 1px solid var(--border); }
table.tbl td { padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table.tbl tr:hover td { background: rgba(255,255,255,.015); }
table.tbl .row-actions { display: flex; gap: 6px; justify-content: flex-end; }

/* ---- Modal -------------------------------------------------------------- */
.modal-backdrop { position: fixed; inset: 0; background: rgba(4,6,7,.72); backdrop-filter: blur(4px);
  display: none; align-items: flex-start; justify-content: center; padding: 48px 16px; z-index: 90; overflow: auto; }
.modal-backdrop.open { display: flex; }
.modal { width: 100%; max-width: 640px; background: var(--surface); border: 1px solid var(--border-2);
  border-radius: var(--radius); box-shadow: var(--shadow); animation: pop .16s ease; }
.modal.wide { max-width: 900px; }
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.modal header { display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal header h3 { margin: 0; }
.modal .body { padding: 20px; }
.modal footer { display: flex; gap: 10px; justify-content: flex-end; padding: 16px 20px; border-top: 1px solid var(--border); }
.x { cursor: pointer; color: var(--muted); font-size: 22px; line-height: 1; background: none; border: none; }
.x:hover { color: var(--text); }

/* ---- Toast -------------------------------------------------------------- */
#toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%);
  background: var(--surface-2); border: 1px solid var(--accent-dim); color: var(--text);
  padding: 12px 18px; border-radius: 10px; box-shadow: var(--shadow); z-index: 120;
  opacity: 0; pointer-events: none; transition: .25s; font-size: 14px; }
#toast.show { opacity: 1; transform: translateX(-50%) translateY(-4px); }

/* ---- Empty state -------------------------------------------------------- */
.empty { text-align: center; color: var(--muted-2); padding: 48px 16px; border: 1px dashed var(--border-2);
  border-radius: var(--radius); }
.empty .big { font-size: 34px; margin-bottom: 8px; opacity: .5; }

/* ============================================================================
   SITE layout (customer-facing)
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 40; backdrop-filter: blur(10px);
  background: rgba(10,12,13,.82); border-bottom: 1px solid var(--border); }
.site-header .inner { max-width: 1120px; margin: 0 auto; padding: 14px 22px;
  display: flex; align-items: center; gap: 22px; }
.site-nav { display: flex; gap: 4px; margin-left: 8px; }
.site-nav a { color: var(--muted); padding: 7px 12px; border-radius: 8px; font-weight: 600; font-size: 14px; }
.site-nav a:hover { color: var(--text); background: var(--surface); text-decoration: none; }
.site-nav a.active { color: var(--text); background: var(--surface-2); }
.site-header .spacer { flex: 1; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 32px 22px 80px; }
.hero { padding: 46px 0 30px; border-bottom: 1px solid var(--border); margin-bottom: 30px; }
.hero h1 { font-size: 34px; }
.hero p { color: var(--muted); font-size: 17px; max-width: 640px; }

.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 34px 0 14px; }
.section-title h2 { font-size: 21px; }

.doc-card { display: block; }
.doc-card .tag { margin-bottom: 8px; display: block; }
.doc-card h3 { font-size: 17px; }
.doc-card p { color: var(--muted); font-size: 14px; margin: 0; }
.doc-meta { display: flex; gap: 12px; align-items: center; margin-top: 12px; color: var(--muted-2); font-size: 12px; }

/* Article / manual reading view */
.article { max-width: 760px; margin: 0 auto; }
.article .crumb { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.article h1 { font-size: 30px; }
.article .lead { color: var(--muted); font-size: 17px; margin-bottom: 24px; }
.article-body { font-size: 15.5px; line-height: 1.75; }
.article-body h2 { font-size: 22px; margin-top: 32px; }
.article-body h3 { font-size: 18px; margin-top: 24px; }
.article-body pre { background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; overflow: auto; font-family: var(--mono); font-size: 13px; }
.article-body code { background: var(--bg-2); border: 1px solid var(--border); padding: 1px 5px; border-radius: 5px; }
.article-body pre code { background: none; border: none; padding: 0; }
.article-body img { max-width: 100%; border-radius: 10px; border: 1px solid var(--border); }
.article-body blockquote { border-left: 3px solid var(--accent-dim); margin: 0 0 1em; padding: 4px 16px; color: var(--muted); }
.callout { border: 1px solid var(--gold); background: rgba(230,180,80,.06); border-radius: 10px; padding: 12px 16px; margin: 18px 0; }
.callout.warn { border-color: var(--danger-dim); background: rgba(229,84,78,.06); }

/* Downloads */
.dl-row { display: flex; align-items: center; gap: 16px; padding: 16px 18px; }
.dl-row .ver { font-family: var(--mono); font-size: 18px; font-weight: 700; }
.dl-row .spacer { flex: 1; }

/* Login */
.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-box { width: 100%; max-width: 420px; }
.login-box .card { padding: 28px; }
.key-input { text-align: center; letter-spacing: .12em; font-family: var(--mono); text-transform: uppercase; }

/* ============================================================================
   ADMIN layout
   ========================================================================== */
.admin { display: grid; grid-template-columns: 244px 1fr; min-height: 100vh; }
.side { background: var(--bg-2); border-right: 1px solid var(--border); padding: 18px 14px;
  display: flex; flex-direction: column; gap: 4px; position: sticky; top: 0; height: 100vh; }
.side .brand { padding: 6px 8px 18px; }
.side nav { display: flex; flex-direction: column; gap: 2px; }
.side nav a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px;
  color: var(--muted); font-weight: 600; font-size: 14px; cursor: pointer; }
.side nav a .ic { width: 18px; text-align: center; }
.side nav a:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.side nav a.active { background: var(--surface-2); color: var(--text); box-shadow: inset 2px 0 0 var(--accent); }
.side .sep { border-top: 1px solid var(--border); margin: 10px 4px; }
.side .foot { margin-top: auto; font-size: 12px; color: var(--muted-2); padding: 8px; }

.main { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 30; background: rgba(10,12,13,.85); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); padding: 14px 26px; display: flex; align-items: center; gap: 14px; }
.topbar h1 { font-size: 20px; margin: 0; }
.topbar .spacer { flex: 1; }
.content { padding: 26px; max-width: 1200px; }

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat .n { font-size: 30px; font-weight: 750; letter-spacing: -.02em; }
.stat .l { color: var(--muted); font-size: 13px; }
.view { display: none; }
.view.active { display: block; animation: fade .18s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px);} }

.list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.list-head h2 { margin: 0; font-size: 19px; }
.list-head .sub { color: var(--muted); font-size: 13px; }

@media (max-width: 780px){
  .admin { grid-template-columns: 1fr; }
  .side { position: static; height: auto; flex-direction: row; flex-wrap: wrap; }
}

/* ============================================================================
   ANIMATIONS & POLISH (v2)
   ========================================================================== */

/* animated background aura */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(700px 500px at 15% 0%, rgba(52,209,127,.10), transparent 60%),
    radial-gradient(700px 500px at 85% 100%, rgba(230,180,80,.08), transparent 60%);
  animation: auraDrift 18s ease-in-out infinite alternate;
}
@keyframes auraDrift {
  0%   { transform: translate3d(0,0,0) scale(1); opacity: .9; }
  100% { transform: translate3d(0,-20px,0) scale(1.08); opacity: 1; }
}

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.2,1), transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .05s; } .reveal.d2 { transition-delay: .1s; }
.reveal.d3 { transition-delay: .15s; } .reveal.d4 { transition-delay: .2s; }
.reveal.d5 { transition-delay: .25s; } .reveal.d6 { transition-delay: .3s; }

/* page enter */
.wrap > * { animation: none; }
.page-enter { animation: pageIn .5s cubic-bezier(.2,.7,.2,1) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px);} }

/* hero upgrade */
.hero { position: relative; }
.hero h1 { background: linear-gradient(180deg, #fff, #b9c0c6);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .glow-line { height: 1px; margin-top: 26px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .5; animation: lineGrow 1.2s ease both; }
@keyframes lineGrow { from { transform: scaleX(0); opacity: 0; } }

/* brand pulse */
.brand .dot { position: relative; }
.brand .dot::after { content: ""; position: absolute; inset: -3px; border-radius: 9px;
  box-shadow: 0 0 0 0 rgba(52,209,127,.5); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 70%,100% { box-shadow: 0 0 0 10px rgba(52,209,127,0); } }

/* card sheen on hover */
.card.hover { position: relative; overflow: hidden; }
.card.hover::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,.06), transparent);
  transform: skewX(-18deg); transition: left .6s ease; pointer-events: none;
}
.card.hover:hover::after { left: 130%; }

.doc-card { position: relative; }
.doc-card .arrow { position: absolute; right: 16px; bottom: 14px; color: var(--muted-2);
  transition: .2s; opacity: 0; transform: translateX(-6px); }
.doc-card:hover .arrow { opacity: 1; transform: none; color: var(--accent); }

/* buttons: ripple-ish press + primary glow breathe */
.btn.primary { position: relative; }
.btn.primary::before { content: ""; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 0 24px rgba(52,209,127,.4); opacity: 0; transition: .3s; }
.btn.primary:hover::before { opacity: 1; }

/* nav underline slide */
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .22s ease; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }

/* ---- Search button + shortcut hint ------------------------------------- */
.search-trigger { display: inline-flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 8px 12px; border-radius: 10px; border: 1px solid var(--border-2); background: var(--surface);
  color: var(--muted); font-size: 13px; min-width: 210px; transition: .18s; }
.search-trigger:hover { border-color: var(--accent-dim); color: var(--text); }
.search-trigger .kbd { margin-left: auto; font-family: var(--mono); font-size: 11px;
  border: 1px solid var(--border-2); border-radius: 5px; padding: 1px 6px; color: var(--muted-2); }

/* ---- Search overlay ----------------------------------------------------- */
.search-overlay { position: fixed; inset: 0; z-index: 100; display: none;
  align-items: flex-start; justify-content: center; padding: 10vh 16px;
  background: rgba(4,6,7,.6); backdrop-filter: blur(8px); }
.search-overlay.open { display: flex; animation: fadeIn .18s ease; }
@keyframes fadeIn { from { opacity: 0; } }
.search-box { width: 100%; max-width: 640px; background: var(--surface); border: 1px solid var(--border-2);
  border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; animation: pop .18s ease; }
.search-box .sb-input { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.search-box .sb-input .mag { font-size: 18px; color: var(--muted); }
.search-box input { border: none; background: none; font-size: 17px; padding: 0; }
.search-box input:focus { box-shadow: none; }
.search-box .esc { font-family: var(--mono); font-size: 11px; color: var(--muted-2); border: 1px solid var(--border-2); border-radius: 5px; padding: 2px 6px; }
.search-results { max-height: 56vh; overflow: auto; padding: 8px; }
.sr-item { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 10px; cursor: pointer; }
.sr-item.active, .sr-item:hover { background: var(--surface-2); }
.sr-item .ic { font-size: 18px; margin-top: 1px; }
.sr-item .t { font-weight: 650; }
.sr-item .s { color: var(--muted); font-size: 13px; }
.sr-item .badge { margin-left: auto; align-self: center; }
.sr-item mark { background: rgba(52,209,127,.22); color: #cffbe4; border-radius: 3px; padding: 0 2px; }
.search-empty { padding: 34px; text-align: center; color: var(--muted-2); }
.search-foot { display: flex; gap: 16px; padding: 10px 16px; border-top: 1px solid var(--border); color: var(--muted-2); font-size: 12px; }
.search-foot .k { font-family: var(--mono); border: 1px solid var(--border-2); border-radius: 4px; padding: 0 5px; }

/* ---- Content blocks (article body) ------------------------------------- */
.block { margin: 0 0 26px; }
.block-img figure, .block-video figure { margin: 0; }
.block-img img { width: 100%; border-radius: 14px; border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0,0,0,.4); display: block; }
.block figcaption { color: var(--muted); font-size: 13px; text-align: center; margin-top: 10px; }
.block-video .vwrap { position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 14px;
  overflow: hidden; border: 1px solid var(--border); box-shadow: 0 12px 30px rgba(0,0,0,.4); background: #000; }
.block-video iframe, .block-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---- Admin: block editor ----------------------------------------------- */
.blocks-editor { border: 1px solid var(--border); border-radius: 12px; padding: 12px; background: var(--bg-2); }
.be-toolbar { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.be-block { border: 1px solid var(--border-2); border-radius: 10px; padding: 12px; margin-bottom: 10px; background: var(--surface); }
.be-block .be-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.be-block .be-head .tag { flex: 1; }
.be-block .be-ctrls { display: flex; gap: 4px; }
.be-block textarea { min-height: 90px; }
img.be-media-preview { display: block; max-height: 200px; border-radius: 8px; border: 1px solid var(--border); }
.be-empty { text-align: center; color: var(--muted-2); padding: 20px; border: 1px dashed var(--border-2); border-radius: 10px; }
.be-hint { margin-left: auto; align-self: center; font-size: 12px; color: var(--muted-2); }
.be-hint b { color: var(--accent, #7dd3c0); }
.be-paste { display: flex; align-items: center; justify-content: center; text-align: center; gap: 8px;
  min-height: 96px; padding: 12px; margin-bottom: 8px; border-radius: 10px; cursor: pointer;
  color: var(--muted-2); border: 1.5px dashed var(--border-2); background: var(--bg-2);
  transition: border-color .18s, box-shadow .18s, background .18s; outline: none; }
.be-paste:hover { border-color: var(--accent, #7dd3c0); }
.be-paste.active { border-color: var(--accent, #7dd3c0); background: color-mix(in srgb, var(--accent, #7dd3c0) 8%, var(--bg-2));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #7dd3c0) 18%, transparent); }
.be-paste b { color: var(--accent, #7dd3c0); }

/* ---- Auth (tabs) -------------------------------------------------------- */
.auth-tabs { display: flex; background: var(--bg-2); border: 1px solid var(--border-2); border-radius: 10px; padding: 4px; margin-bottom: 20px; }
.auth-tabs button { flex: 1; background: none; border: none; color: var(--muted); font-weight: 650; font-size: 14px;
  padding: 9px; border-radius: 7px; cursor: pointer; transition: .18s; }
.auth-tabs button.active { background: var(--surface-2); color: var(--text); box-shadow: var(--shadow); }
.auth-pane { display: none; } .auth-pane.active { display: block; animation: pageIn .3s ease; }
.pw-meter { height: 6px; border-radius: 4px; background: var(--bg-2); overflow: hidden; margin-top: 6px; }
.pw-meter i { display: block; height: 100%; width: 0; border-radius: 4px; transition: .3s; background: var(--danger); }
.check-status { display: flex; align-items: center; gap: 8px; font-size: 13px; min-height: 20px; margin: 6px 0 12px; }
.spinner { width: 14px; height: 14px; border: 2px solid var(--border-2); border-top-color: var(--accent); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, body::before { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
