/* ============================================================
   Di-Cars — сайт сервиса Toyota/Lexus в Самаре
   Визуальный язык: «официальная сервисная книжка / тех. карта».
   Display: Unbounded · Body: Manrope · Mono: JetBrains Mono
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --graphite: #15181c;
  --graphite-2: #1c2126;
  --steel: #2b313a;
  --steel-line: #39414c;
  --paper: #f4f1ea;
  --paper-2: #ece7dc;
  --ink: #15181c;
  --ink-soft: #4b515a;
  --inv: #edeef0;
  --inv-soft: #aab2bd;
  --line: #d9d3c7;
  --red: #d81e2c;
  --red-deep: #b3141f;
  --bluesteel: #3e5c76;
  --ok: #2f7d4f;

  --maxw: 1200px;
  --gut: clamp(20px, 5vw, 64px);

  --r-sm: 4px;
  --r-md: 10px;
  --r-lg: 18px;

  --ff-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --ff-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ff-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --shadow-card: 0 1px 2px rgba(21, 24, 28, .06), 0 10px 30px -12px rgba(21, 24, 28, .18);
  --shadow-pop: 0 24px 60px -20px rgba(21, 24, 28, .45);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff-body);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--ff-display); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.h-xl { font-size: clamp(2.2rem, 5.4vw, 4.4rem); }
.h-lg { font-size: clamp(1.9rem, 4.6vw, 3.3rem); }
.h-md { font-size: clamp(1.3rem, 2.6vw, 1.85rem); letter-spacing: -.01em; }
p { color: var(--ink-soft); }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-soft); }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: var(--red);
  display: inline-block;
}
.mono { font-family: var(--ff-mono); }
.accent { color: var(--red); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(64px, 9vw, 130px); position: relative; }
.section--dark { background: var(--graphite); color: var(--inv); }
.section--dark p { color: var(--inv-soft); }
.section--paper2 { background: var(--paper-2); }
.section-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 60px); }
.section-head p { margin-top: 16px; }

.grid { display: grid; gap: 22px; }
@media (min-width: 720px) { .g-2 { grid-template-columns: repeat(2, 1fr); } .g-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .g-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--bg); color: var(--fg);
  font-weight: 700; letter-spacing: .01em;
  padding: 15px 26px; border-radius: var(--r-md);
  min-height: 48px;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s;
  will-change: transform;
}
.btn:hover { background: var(--red-deep); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(216, 30, 44, .6); }
.btn:active { transform: translateY(0); }
.btn--ghost { --bg: transparent; --fg: currentColor; border: 1.5px solid currentColor; }
.btn--ghost:hover { background: rgba(127, 127, 127, .12); transform: translateY(-2px); box-shadow: none; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }
.btn .arr { transition: transform .25s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: 0 8px 30px -18px rgba(21, 24, 28, .4); }
.nav { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.nav__links { display: none; gap: 26px; margin-left: auto; }
.nav__links a { font-size: .95rem; font-weight: 600; color: var(--ink-soft); transition: color .2s; position: relative; }
.nav__links a:hover { color: var(--ink); }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--red); transition: width .25s var(--ease); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: none; align-items: center; gap: 16px; }
.nav__phone { font-family: var(--ff-mono); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.burger { margin-left: auto; display: inline-flex; flex-direction: column; gap: 5px; padding: 10px; }
.burger span { width: 24px; height: 2px; background: var(--ink); transition: .3s var(--ease); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (min-width: 980px) {
  .nav__links, .nav__cta { display: flex; }
  .burger { display: none; }
}
.mobile-menu { display: none; flex-direction: column; gap: 4px; padding: 8px var(--gut) 22px; border-bottom: 1px solid var(--line); background: var(--paper); }
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 12px 0; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-menu .btn { margin-top: 12px; }

/* ---------- Brand mark (stamp) ---------- */
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--ff-display); font-weight: 800; letter-spacing: -.02em; font-size: 1.25rem; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand small { font-family: var(--ff-mono); font-weight: 500; font-size: .6rem; letter-spacing: .18em; color: var(--ink-soft); text-transform: uppercase; display: block; margin-top: 2px; }
.brand__name { display: flex; flex-direction: column; line-height: 1; }

/* ---------- Hero ---------- */
.hero { background: var(--graphite); color: var(--inv); position: relative; overflow: hidden; padding-block: clamp(54px, 8vw, 96px); }
.hero::before {
  /* инженерная сетка как «поля сервисной карты» */
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(120% 90% at 70% 10%, #000 30%, transparent 80%);
  pointer-events: none;
}
.hero__glow { position: absolute; width: 60vw; height: 60vw; right: -18vw; top: -22vw; background: radial-gradient(circle, rgba(216, 30, 44, .22), transparent 62%); filter: blur(8px); pointer-events: none; }
.hero .wrap { position: relative; z-index: 2; }
.hero__grid { display: grid; gap: clamp(34px, 5vw, 60px); align-items: center; }
.hero__grid > * { min-width: 0; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.1fr .9fr; } }
.hero h1 { color: var(--inv); margin-top: 22px; overflow-wrap: break-word; hyphens: auto; }
.hero h1 .ln2 { color: var(--red); }
.hero__sub { margin-top: 22px; max-width: 46ch; }
.hero p.hero__sub { color: var(--inv-soft); font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__stats { display: grid; grid-template-columns: repeat(3, auto); gap: clamp(18px, 4vw, 42px); margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--steel-line); }
.stat .n { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--inv); }
.stat .l { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--inv-soft); margin-top: 6px; }

/* hero visual card (service record) */
.hero__card { background: var(--graphite-2); border: 1px solid var(--steel-line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-pop); }
.hero__photo { aspect-ratio: 16 / 11; width: 100%; object-fit: cover; }
.hero__rec { padding: 18px 20px; display: grid; gap: 10px; font-family: var(--ff-mono); font-size: .82rem; }
.hero__rec .row { display: flex; justify-content: space-between; gap: 12px; color: var(--inv-soft); }
.hero__rec .row b { color: var(--inv); font-weight: 600; }
.hero__rec .row.ok b { color: #7fd29b; }

/* rating badge */
.ratebar { display: inline-flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--steel-line); border-radius: 999px; padding: 8px 16px 8px 8px; font-size: .86rem; }
.ratebar .stars { color: #f5b301; letter-spacing: 2px; }
.ratebar b { color: var(--inv); }
.ratebar .award { font-family: var(--ff-mono); font-size: .7rem; color: var(--inv-soft); border-left: 1px solid var(--steel-line); padding-left: 12px; }

/* ---------- Concept (3 facts) ---------- */
.concept__row { display: grid; gap: 22px; margin-top: 8px; }
@media (min-width: 880px) { .concept__row { grid-template-columns: repeat(3, 1fr); } }
.fact { border-top: 2px solid var(--ink); padding-top: 20px; }
.section--dark .fact { border-color: var(--red); }
.fact .num { font-family: var(--ff-mono); font-size: .8rem; color: var(--red); letter-spacing: .1em; }
.fact h3 { font-size: 1.25rem; margin: 12px 0 8px; }

/* ---------- Cards (services) ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-card);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: #c7bfae; }
.card__ico { width: 46px; height: 46px; color: var(--red); margin-bottom: 18px; }
.card h3 { font-family: var(--ff-body); font-weight: 800; font-size: 1.16rem; letter-spacing: -.01em; }
.card p { margin-top: 8px; font-size: .96rem; }
.card .price { font-family: var(--ff-mono); font-weight: 600; color: var(--ink); margin-top: 16px; display: inline-block; padding: 5px 10px; background: var(--paper-2); border-radius: var(--r-sm); font-size: .9rem; }
.card ul.feat { margin-top: 14px; display: grid; gap: 7px; }
.card ul.feat li { font-size: .92rem; color: var(--ink-soft); padding-left: 22px; position: relative; }
.card ul.feat li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 2px; background: var(--red); }

/* ---------- Price spec sheet ---------- */
.spec { background: var(--graphite-2); border: 1px solid var(--steel-line); border-radius: var(--r-lg); overflow: hidden; }
.spec__head, .spec__row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 12px; align-items: center; padding: 14px clamp(16px, 3vw, 26px); }
.spec__head { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--inv-soft); border-bottom: 1px solid var(--steel-line); background: rgba(255,255,255,.02); }
.spec__row { border-bottom: 1px solid rgba(255, 255, 255, .06); }
.spec__row:last-child { border-bottom: 0; }
.spec__row:hover { background: rgba(255, 255, 255, .03); }
.spec__svc { color: var(--inv); font-weight: 600; }
.spec__svc small { display: block; font-family: var(--ff-mono); font-weight: 400; font-size: .72rem; color: var(--inv-soft); margin-top: 3px; }
.spec__dealer { font-family: var(--ff-mono); font-size: .9rem; color: var(--inv-soft); text-decoration: line-through; text-decoration-color: var(--red); }
.spec__us { font-family: var(--ff-mono); font-size: 1rem; color: #fff; font-weight: 600; }
.spec__group { padding: 18px clamp(16px, 3vw, 26px) 6px; font-family: var(--ff-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.spec-note { margin-top: 18px; font-size: .88rem; color: var(--inv-soft); }
@media (max-width: 620px) {
  .spec__head { display: none; }
  .spec__row { grid-template-columns: 1fr auto; row-gap: 4px; }
  .spec__svc { grid-column: 1 / -1; }
  .spec__dealer::before { content: "Дилер: "; }
  .spec__us::before { content: "Di-Cars: "; color: var(--red); }
}

/* ---------- Models marquee ---------- */
.models { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { font-family: var(--ff-mono); font-size: .88rem; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; transition: .25s var(--ease); }
.section--dark .chip { background: rgba(255,255,255,.04); border-color: var(--steel-line); color: var(--inv); }
.chip:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }
.section--dark .chip:hover { color: #fff; }

/* ---------- Why / guarantee split ---------- */
.split { display: grid; gap: clamp(28px, 5vw, 56px); align-items: center; }
@media (min-width: 920px) { .split { grid-template-columns: 1fr 1fr; } }
.checklist { display: grid; gap: 16px; margin-top: 24px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; }
.checklist .ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin-top: 2px; }
.checklist b { display: block; color: var(--ink); }
.section--dark .checklist b { color: var(--inv); }
.checklist span { font-size: .96rem; }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-card); height: 100%; display: flex; flex-direction: column; }
.review .stars { color: #f5b301; letter-spacing: 2px; margin-bottom: 12px; }
.review p { color: var(--ink); font-size: 1rem; flex: 1; }
.review .who { margin-top: 18px; font-family: var(--ff-mono); font-size: .82rem; color: var(--ink-soft); display: flex; align-items: center; gap: 10px; }
.review .who b { color: var(--ink); font-weight: 600; }
.review .who .car { color: var(--red); }

/* ---------- Process steps ---------- */
.steps { counter-reset: st; display: grid; gap: 22px; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 56px; }
.step::before { counter-increment: st; content: "0" counter(st); position: absolute; top: 0; left: 0; font-family: var(--ff-display); font-weight: 800; font-size: 2.4rem; color: var(--red); line-height: 1; }
.step h3 { font-family: var(--ff-body); font-weight: 800; font-size: 1.1rem; margin-bottom: 6px; }

/* ---------- Booking form ---------- */
.booking { display: grid; gap: clamp(28px, 5vw, 56px); align-items: start; }
@media (min-width: 980px) { .booking { grid-template-columns: .85fr 1.15fr; } }
.booking__aside .checklist { margin-top: 18px; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 4vw, 38px); box-shadow: var(--shadow-pop); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 8px; }
.field .req { color: var(--red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md);
  background: var(--paper); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(216, 30, 44, .12); background: #fff; }
.field textarea { resize: vertical; min-height: 84px; }
.field .hint { font-size: .8rem; color: var(--ink-soft); margin-top: 6px; }
.field--err input, .field--err select { border-color: var(--red); }
.field .err-msg { color: var(--red); font-size: .82rem; margin-top: 6px; display: none; }
.field--err .err-msg { display: block; }
.row-2 { display: grid; gap: 18px; }
@media (min-width: 560px) { .row-2 { grid-template-columns: 1fr 1fr; } }

.slots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.slot { font-family: var(--ff-mono); font-size: .9rem; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: #fff; transition: .2s; min-height: 42px; }
.slot:hover { border-color: var(--red); }
.slot.sel { background: var(--graphite); color: #fff; border-color: var(--graphite); }
.slots-empty { font-size: .9rem; color: var(--ink-soft); padding: 8px 0; }
.slots-loading { font-family: var(--ff-mono); font-size: .85rem; color: var(--ink-soft); }

.form-status { margin-top: 16px; padding: 14px 16px; border-radius: var(--r-md); font-size: .92rem; display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f4ec; color: var(--ok); border: 1px solid #b6dcc4; }
.form-status.bad { background: #fdeaec; color: var(--red-deep); border: 1px solid #f3c2c7; }

.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-weight: 700; font-size: 1.08rem; }
.faq__q .pm { flex: none; width: 26px; height: 26px; position: relative; }
.faq__q .pm::before, .faq__q .pm::after { content: ""; position: absolute; background: var(--red); transition: transform .3s var(--ease); }
.faq__q .pm::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq__q .pm::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.faq__item.open .pm::after { transform: translateX(-50%) scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq__a p { padding-bottom: 22px; max-width: 70ch; }

/* ---------- Contacts ---------- */
.contacts { display: grid; gap: clamp(26px, 4vw, 48px); }
@media (min-width: 920px) { .contacts { grid-template-columns: 1fr 1.2fr; } }
.contact-list { display: grid; gap: 20px; }
.contact-list .ci { display: flex; gap: 14px; }
.contact-list .ci svg { flex: none; width: 22px; height: 22px; color: var(--red); margin-top: 3px; }
.contact-list .ci b { display: block; }
.contact-list .ci a { font-family: var(--ff-mono); }
.map-frame { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; min-height: 320px; background: var(--paper-2); }
.map-frame iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--graphite); color: var(--inv-soft); padding-block: 56px 32px; }
.site-footer .brand { color: var(--inv); }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer h4 { font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--inv); margin-bottom: 14px; }
.site-footer a:hover { color: var(--inv); }
.site-footer .legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--steel-line); font-size: .82rem; display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; }

/* ---------- Sticky mobile call/booking bar ---------- */
.mobilebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: flex; gap: 10px; padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom)); background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -18px rgba(21,24,28,.4); }
.mobilebar .btn { flex: 1; min-height: 50px; }
@media (min-width: 980px) { .mobilebar { display: none; } }
@media (max-width: 979px) { body { padding-bottom: 76px; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

/* ---------- Blog ---------- */
.post-hero { background: var(--graphite); color: var(--inv); padding-block: clamp(48px, 7vw, 86px); }
.post-hero h1 { color: var(--inv); max-width: 22ch; }
.post { max-width: 760px; margin-inline: auto; }
.post h2 { font-family: var(--ff-body); font-weight: 800; font-size: 1.5rem; margin: 38px 0 12px; letter-spacing: -.01em; }
.post h3 { font-family: var(--ff-body); font-weight: 700; font-size: 1.2rem; margin: 26px 0 10px; }
.post p, .post li { color: var(--ink-soft); }
.post p { margin: 14px 0; }
.post ul, .post ol { padding-left: 22px; margin: 14px 0; display: grid; gap: 8px; }
.post ul { list-style: none; }
.post ul li { position: relative; padding-left: 20px; }
.post ul li::before { content: ""; position: absolute; left: 0; top: .6em; width: 10px; height: 2px; background: var(--red); }
.post ol { list-style: decimal; }
.post table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .92rem; }
.post th, .post td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.post th { font-family: var(--ff-mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); }
.post td:not(:first-child) { font-family: var(--ff-mono); }
.post-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-card); transition: transform .3s var(--ease), box-shadow .3s var(--ease); height: 100%; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
.post-card .tag { font-family: var(--ff-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.post-card h3 { font-family: var(--ff-body); font-weight: 800; font-size: 1.2rem; margin: 12px 0 8px; }
.breadcrumb { font-family: var(--ff-mono); font-size: .8rem; color: var(--inv-soft); margin-bottom: 18px; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 10px 16px; border-radius: var(--r-md); z-index: 200; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
