/* ============================================================
   Motorsistem Slovensko — light professional / technical theme
   Display: Oswald · Body: Archivo · Mono: JetBrains Mono
   ============================================================ */

:root {
  --bg: #ffffff;           /* base white */
  --bg-2: #f6f4ef;         /* warm off-white panel */
  --bg-3: #efece4;
  --ink: #17161b;          /* primary text */
  --ink-2: #3b3a40;
  --muted: #6c675f;        /* secondary text */
  --line: #e7e3da;         /* hairlines */
  --line-2: #d9d4c8;

  --red: #d81f17;          /* motorsistem red */
  --red-deep: #b11910;
  --yellow: #f4b400;
  --green: #1f9d4d;
  --steel: #7d8893;

  --maxw: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
  --shadow: 0 1px 2px rgba(23,22,27,.04), 0 12px 30px rgba(23,22,27,.06);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Archivo", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
em { font-style: normal; }

.grain { display: none; } /* clean professional surface */

.tick { color: var(--red); font-weight: 700; }
.section__kicker, .block__kicker, .hero__eyebrow,
.brand__sub, .prod__ref, .qa__tag, .qa__no, .idx__no {
  font-family: "JetBrains Mono", monospace;
}

/* ============================================================
   TICKER (slim brand strip)
   ============================================================ */
.ticker { background: var(--ink); color: #fff; overflow: hidden; white-space: nowrap; }
.ticker__track {
  display: inline-flex; align-items: center; gap: 1.2rem; padding: 6px 0;
  font-family: "JetBrains Mono", monospace; font-size: .68rem;
  letter-spacing: .16em; font-weight: 700;
  animation: marquee 42s linear infinite;
}
.ticker .dot { color: var(--red); font-size: .5rem; }
@keyframes marquee { from { transform: translateX(0);} to { transform: translateX(-50%);} }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px clamp(18px, 5vw, 56px);
  background: rgba(255,255,255,.88); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 13px; }
.brand__lion { width: 42px; height: 42px; } /* native black emblem on light */
.brand__type { display: flex; flex-direction: column; line-height: 1; }
.brand__word { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1.45rem; letter-spacing: .03em; color: var(--ink); }
.brand__sub {
  font-size: .6rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-top: 5px; display: flex; align-items: center; gap: 7px;
}
.flag {
  width: 22px; height: 8px; display: inline-block; border: 1px solid var(--line-2);
  background: linear-gradient(90deg, var(--green) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6% 100%);
}
.nav__links { display: flex; align-items: center; gap: clamp(14px, 2vw, 30px); }
.nav__links > a:not(.cta) {
  font-size: .82rem; font-weight: 600; letter-spacing: .02em; color: var(--ink-2); transition: color .2s;
}
.nav__links > a:not(.cta):hover { color: var(--red); }
.cta {
  background: var(--red); color: #fff; font-weight: 700; font-size: .82rem;
  padding: 11px 18px; border-radius: 3px;
  transition: transform .18s var(--ease), background .2s;
}
.cta:hover { background: var(--red-deep); transform: translateY(-2px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(40px, 6vw, 78px) clamp(18px, 5vw, 56px) clamp(36px, 5vw, 60px);
  background:
    radial-gradient(120% 90% at 92% -10%, rgba(216,31,23,.06), transparent 55%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(120% 85% at 25% 0%, #000 30%, transparent 78%);
          mask-image: radial-gradient(120% 85% at 25% 0%, #000 30%, transparent 78%);
}
.hero__wrap {
  position: relative; max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 60px); align-items: center;
}
.hero__inner { position: relative; }

/* hero product stage */
.hero__stage { position: relative; aspect-ratio: 5/4; min-height: 330px; }
.stage__photo {
  position: absolute; inset: 7% 0 7% 9%; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--line-2); box-shadow: 0 30px 60px rgba(23,22,27,.20);
}
.stage__photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.04); }
.stage__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(216,31,23,.20), transparent 48%, rgba(23,22,27,.42));
}
.stage__badge {
  position: absolute; left: 14px; bottom: 11px; z-index: 6; color: #fff;
  font-family: "JetBrains Mono", monospace; font-size: .64rem; letter-spacing: .2em; text-transform: uppercase;
}
.stage__badge .tick { color: #fff; }
.stage__disc {
  position: absolute; right: 5%; top: 6%; width: 124px; height: 124px; border-radius: 50%; z-index: 2;
  background: radial-gradient(circle at 34% 28%, var(--red), var(--red-deep));
  box-shadow: 0 22px 44px rgba(216,31,23,.34);
}
.chip {
  position: absolute; width: 37%; aspect-ratio: 1/1; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; padding: 10px;
  box-shadow: 0 20px 44px rgba(23,22,27,.22); display: grid; place-items: center; overflow: hidden;
}
.chip img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.chip--1 { right: 1%; top: 5%; transform: rotate(3deg); z-index: 5; animation: floatA 6.5s var(--ease) infinite; }
.chip--2 { left: -1%; bottom: 3%; width: 33%; transform: rotate(-4deg); z-index: 6; animation: floatB 7.5s var(--ease) infinite; }
.chip--3 { right: 15%; bottom: -2%; width: 29%; transform: rotate(2deg); z-index: 4; animation: floatC 8.5s var(--ease) infinite; }
@keyframes floatA { 0%,100%{ transform: rotate(3deg) translateY(0);} 50%{ transform: rotate(3deg) translateY(-10px);} }
@keyframes floatB { 0%,100%{ transform: rotate(-4deg) translateY(0);} 50%{ transform: rotate(-4deg) translateY(-13px);} }
@keyframes floatC { 0%,100%{ transform: rotate(2deg) translateY(0);} 50%{ transform: rotate(2deg) translateY(-8px);} }
@media (max-width: 900px) {
  .hero__wrap { grid-template-columns: 1fr; }
  .hero__stage { order: 2; aspect-ratio: 16/10; margin-top: 8px; }
}
.hero__eyebrow {
  font-size: .8rem; letter-spacing: .2em; text-transform: lowercase; color: var(--muted);
  margin-bottom: 24px; opacity: 0; animation: rise .7s var(--ease) .05s forwards;
}
.hero__title {
  font-family: "Oswald", sans-serif; font-weight: 700;
  font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: 1.05; letter-spacing: .004em;
  text-transform: uppercase; color: var(--ink);
}
.hero__title span { display: block; }
.hero__title .l1, .hero__title .l2 { opacity: 0; transform: translateY(28px); }
.hero__title .l1 { animation: rise .8s var(--ease) .12s forwards; }
.hero__title .l2 { animation: rise .8s var(--ease) .22s forwards; }
.hero__title em { color: var(--red); }
.hero__lead {
  max-width: 540px; margin: 28px 0 32px; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--muted);
  opacity: 0; animation: rise .8s var(--ease) .34s forwards;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; opacity: 0; animation: rise .8s var(--ease) .44s forwards; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: 3px;
  font-weight: 700; letter-spacing: .02em; font-size: .92rem;
  transition: transform .18s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn--red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(216,31,23,.18); }
.btn--red:hover { background: var(--red-deep); transform: translateY(-3px); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--ink); background: #fff; }
.btn--ghost:hover { border-color: var(--red); color: var(--red); transform: translateY(-3px); }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px);
  margin-top: clamp(40px, 6vw, 72px); padding-top: 26px; border-top: 1px solid var(--line);
  opacity: 0; animation: rise .8s var(--ease) .56s forwards;
}
.hero__stats dt { font-family: "Oswald", sans-serif; font-weight: 600; font-size: clamp(1.7rem, 3vw, 2.5rem); color: var(--ink); line-height: 1; }
.hero__stats dd { font-family: "JetBrains Mono", monospace; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 7px; }
.hero__mark { position: absolute; right: -3%; bottom: -10%; width: min(42vw, 520px); opacity: .045; pointer-events: none; transform: rotate(-8deg); }

@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* ============================================================
   INDEX
   ============================================================ */
.index { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px,6vw,84px) clamp(18px,5vw,56px); }
.section__kicker, .block__kicker {
  font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-bottom: 20px;
}
.index__list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.idx {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: clamp(16px,3vw,40px);
  padding: clamp(20px,3vw,32px) 6px; border-bottom: 1px solid var(--line);
  position: relative; transition: padding-left .25s var(--ease), background .25s;
}
.idx::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--accent, var(--red)); transform: scaleY(0); transform-origin: bottom; transition: transform .3s var(--ease);
}
.idx--red { --accent: var(--red); }
.idx--yellow { --accent: var(--yellow); }
.idx--green { --accent: var(--green); }
.idx--steel { --accent: var(--steel); }
.idx:hover { background: var(--bg-2); padding-left: 26px; }
.idx:hover::before { transform: scaleY(1); }
.idx__no { font-size: .88rem; color: var(--accent, var(--red)); font-weight: 700; }
.idx__title {
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  text-transform: uppercase; letter-spacing: .01em; line-height: 1; display: block; color: var(--ink);
}
.idx__desc { color: var(--muted); font-size: .95rem; display: block; margin-top: 6px; }
.idx__arrow { font-size: 1.4rem; color: var(--line-2); transition: transform .25s var(--ease), color .25s; }
.idx:hover .idx__arrow { color: var(--accent, var(--red)); transform: translateX(8px); }

/* ============================================================
   BLOCKS
   ============================================================ */
.block { max-width: var(--maxw); margin: 0 auto; padding: clamp(50px,7vw,96px) clamp(18px,5vw,56px); }
.block--paper {
  max-width: none; margin: 0; background: var(--bg-2);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.block--paper > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.block__head { margin-bottom: clamp(26px,4vw,44px); }
.block__title {
  font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(2.1rem, 5.5vw, 4rem);
  text-transform: uppercase; line-height: .96; letter-spacing: .01em; color: var(--ink);
}
.block__title .amp { color: var(--red); }
.block__kicker { margin-top: 12px; }

/* ---- products ---- */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.prod {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 16px;
  transition: transform .2s var(--ease), box-shadow .25s, border-color .2s;
}
.prod:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-2); }
.prod__ref {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: .6rem; letter-spacing: .08em;
  color: var(--muted); background: var(--bg-2); padding: 3px 7px; border-radius: 2px;
}
.prod__photo {
  aspect-ratio: 1/1; display: grid; place-items: center; background: #fff;
  border: 1px solid var(--line); border-radius: 3px; margin-bottom: 14px; overflow: hidden;
}
.prod__photo img { max-height: 84%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .3s var(--ease); }
.prod:hover .prod__photo img { transform: scale(1.06); }
.prod__name { font-size: 1rem; font-weight: 700; line-height: 1.25; color: var(--ink); text-transform: capitalize; flex: 1; }
.prod__foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; }
.prod__price { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1.5rem; color: var(--red); }
.prod__buy { font-family: "JetBrains Mono", monospace; font-size: .7rem; font-weight: 700; color: var(--muted); transition: color .2s; }
.prod:hover .prod__buy { color: var(--red); }
.prod__badge {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  font-family: "JetBrains Mono", monospace; font-size: .56rem; font-weight: 700; letter-spacing: .12em;
  color: #fff; background: var(--ink); padding: 3px 7px; border-radius: 2px;
}
.prod--b2b { border-style: dashed; }
.prod__b2bnote {
  font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1rem; text-transform: uppercase;
  letter-spacing: .02em; color: var(--steel);
}

/* ---- Q&A ---- */
.qa { border-top: 1px solid var(--line); }
.qa__row {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(18px,4vw,52px);
  padding: clamp(24px,3.5vw,40px) 4px; border-bottom: 1px solid var(--line); transition: background .25s;
}
.qa__row:hover { background: var(--bg-2); }
.qa__no { font-size: clamp(1.4rem,3vw,2.1rem); color: var(--red); font-weight: 700; line-height: 1; }
.qa__tag {
  display: inline-block; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: var(--yellow); padding: 3px 9px; border-radius: 2px; margin-bottom: 12px;
}
.qa__q {
  font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(1.2rem, 2.5vw, 1.95rem);
  line-height: 1.08; text-transform: uppercase; letter-spacing: .005em; margin-bottom: 10px; color: var(--ink);
}
.qa__a { color: var(--muted); max-width: 72ch; }

/* ============================================================
   CTA BAND (clean solid red anchor)
   ============================================================ */
.cta-band { background: var(--red); color: #fff; }
.cta-band__inner {
  max-width: var(--maxw); margin: 0 auto; padding: clamp(48px,7vw,88px) clamp(18px,5vw,56px);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 30px;
}
.cta-band h2 { font-family: "Oswald", sans-serif; font-weight: 700; font-size: clamp(1.9rem, 4.6vw, 3.4rem); line-height: 1; text-transform: uppercase; }
.cta-band .btn--red { background: var(--ink); box-shadow: none; }
.cta-band .btn--red:hover { background: #000; }

/* ============================================================
   FOOTER (light)
   ============================================================ */
.footer {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  padding: 40px clamp(18px,5vw,56px); background: var(--bg-2); border-top: 1px solid var(--line);
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__brand .brand__lion { width: 38px; height: 38px; }
.footer__brand strong { display: block; font-size: 1.02rem; color: var(--ink); }
.footer__brand span { font-family: "JetBrains Mono", monospace; font-size: .7rem; color: var(--muted); letter-spacing: .08em; }
.footer__meta { display: flex; align-items: center; gap: 22px; font-size: .82rem; color: var(--muted); }
.footer__meta a { transition: color .2s; }
.footer__meta a:hover { color: var(--red); }
.footer__tri { width: 40px; height: 10px; border: 1px solid var(--line-2); background: linear-gradient(90deg, var(--green) 0 33.3%, #fff 33.3% 66.6%, var(--red) 66.6% 100%); }
.footer__contact { display: flex; flex-direction: column; gap: 3px; }
.footer__phone { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.footer__phone:hover { color: var(--red); }
.footer__email { color: var(--muted); font-size: .85rem; }
.footer__email:hover { color: var(--red); }
.footer__company { color: var(--muted); font-size: .68rem; font-family: "JetBrains Mono", monospace; letter-spacing: .04em; }

/* contact page */
.kontakt { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.kontakt__card { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 34px); }
.kontakt__h { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1.5rem; text-transform: uppercase; margin-bottom: 18px; color: var(--ink); }
.kontakt__sub { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1.05rem; text-transform: uppercase; letter-spacing: .02em; color: var(--ink); margin: 24px 0 10px; }
.kontakt__list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.kontakt__list--tight { gap: 6px; }
.kontakt__list li { display: flex; gap: 14px; align-items: baseline; font-size: .95rem; flex-wrap: wrap; }
.kontakt__k { font-family: "JetBrains Mono", monospace; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); min-width: 116px; flex: 0 0 116px; }
.kontakt__list a { color: var(--ink); font-weight: 600; }
.kontakt__list a:hover { color: var(--red); }
.kontakt__locations { display: flex; flex-direction: column; gap: clamp(20px, 3vw, 32px); }
.kontakt__addr { font-size: 1.05rem; font-weight: 600; color: var(--ink); }
.kontakt__note { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.kontakt__locphone { display: inline-block; margin-top: 6px; font-family: "Oswald", sans-serif; font-weight: 600; color: var(--red); font-size: 1.05rem; }
.kontakt__map { margin-top: 14px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); }
.kontakt__map iframe { width: 100%; height: 250px; border: 0; display: block; }
@media (max-width: 840px) { .kontakt { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE HERO (inner pages — no full hero, just generous top pad)
   ============================================================ */
.block--page-hero {
  padding-top: clamp(26px, 4vw, 44px);
  padding-bottom: clamp(4px, 1vw, 10px);
}
.block--page-hero .block__title { font-size: clamp(1.7rem, 3.6vw, 2.8rem); }
.block--page-hero + .block { padding-top: clamp(20px, 3vw, 34px); }

/* "Zobraziť všetky" inline link next to section kicker */
.block__all {
  margin-left: 20px;
  font-family: "JetBrains Mono", monospace;
  font-size: .7rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--red); font-weight: 700;
  border-bottom: 1px solid currentColor;
  transition: opacity .2s;
}
.block__all:hover { opacity: .75; }

/* product category groups (/produkty) */
.cat-group { margin-bottom: clamp(36px, 5vw, 58px); scroll-margin-top: 90px; }
.cat-group:last-of-type { margin-bottom: 0; }
.cat-group__title {
  font-family: "Oswald", sans-serif; font-weight: 600;
  font-size: clamp(1.2rem, 2.4vw, 1.7rem); text-transform: uppercase; letter-spacing: .02em;
  color: var(--ink); margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: baseline; gap: 12px;
}
.cat-group__count { font-family: "JetBrains Mono", monospace; font-size: .8rem; color: var(--red); font-weight: 700; }

/* Empty state note */
.empty-note {
  font-family: "JetBrains Mono", monospace;
  font-size: .9rem; color: var(--muted); letter-spacing: .06em;
  margin-top: 32px;
}

/* ============================================================
   CATALOG GRID (.cat-*)
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 8px;
}
.cat-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .25s, border-color .2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.cat-card__cover {
  position: relative; aspect-ratio: 3/4; background: var(--bg-2);
  display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--line);
}
.cat-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.cat-card__pdf-tile {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: var(--bg-3);
}
.cat-card__pdf-icon {
  font-family: "Oswald", sans-serif; font-size: 2rem; font-weight: 700;
  color: var(--red); letter-spacing: .1em;
}
.cat-card__lang {
  position: absolute; top: 10px; right: 10px;
  font-family: "JetBrains Mono", monospace; font-size: .6rem; font-weight: 700;
  letter-spacing: .14em; color: #fff; background: var(--ink);
  padding: 3px 8px; border-radius: 2px;
}
.cat-card__body { flex: 1; padding: 16px 16px 10px; }
.cat-card__title {
  font-family: "Oswald", sans-serif; font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.45rem); text-transform: uppercase;
  line-height: 1.1; color: var(--ink); margin-bottom: 10px;
}
.cat-card__desc { font-size: .9rem; color: var(--muted); line-height: 1.55; margin-bottom: 8px; }
.cat-card__meta {
  font-family: "JetBrains Mono", monospace; font-size: .64rem;
  color: var(--muted); letter-spacing: .1em;
}
.cat-card__foot { padding: 12px 16px 18px; }
.cat-card__foot .btn { width: 100%; justify-content: center; }

/* ============================================================
   ARTICLE LIST (.art-*)
   ============================================================ */
.art-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.art-card {
  display: grid; grid-template-columns: auto 1fr; gap: 0;
  border-bottom: 1px solid var(--line);
  transition: background .2s;
  text-decoration: none; color: inherit;
}
.art-card:hover { background: var(--bg-2); }
.art-card__thumb {
  width: 160px; flex-shrink: 0; overflow: hidden;
  border-right: 1px solid var(--line);
}
.art-card__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s var(--ease);
}
.art-card:hover .art-card__thumb img { transform: scale(1.04); }
.art-card__body {
  padding: clamp(18px, 3vw, 32px) clamp(18px, 3vw, 36px);
}
.art-card__title {
  font-family: "Oswald", sans-serif; font-weight: 700;
  font-size: clamp(1.2rem, 2.5vw, 1.9rem); text-transform: uppercase;
  line-height: 1.07; letter-spacing: .005em; color: var(--ink);
  margin: 10px 0 12px;
}
.art-card__perex { font-size: .95rem; color: var(--muted); max-width: 68ch; line-height: 1.6; margin-bottom: 16px; }
.art-card__more {
  font-family: "JetBrains Mono", monospace; font-size: .7rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--red);
}
@media (max-width: 640px) {
  .art-card { grid-template-columns: 1fr; }
  .art-card__thumb { width: 100%; height: 180px; border-right: none; border-bottom: 1px solid var(--line); }
}

/* ============================================================
   ARTICLE DETAIL (.art-detail*)
   ============================================================ */
.breadcrumb { margin-bottom: 28px; }
.breadcrumb__back {
  font-family: "JetBrains Mono", monospace; font-size: .72rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  transition: color .2s;
}
.breadcrumb__back:hover { color: var(--red); }

.art-detail__head { margin-bottom: clamp(22px, 3vw, 36px); }
.art-detail__ts {
  font-family: "JetBrains Mono", monospace; font-size: .68rem;
  color: var(--muted); letter-spacing: .12em; margin-top: 14px;
}

.art-detail__hero-img {
  width: 100%; max-height: 480px; overflow: hidden;
  border-radius: 6px; border: 1px solid var(--line);
  margin-bottom: clamp(28px, 4vw, 52px);
}
.art-detail__hero-img img { width: 100%; height: 100%; object-fit: cover; }

.art-detail__cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  padding-top: clamp(28px, 4vw, 52px); margin-top: clamp(28px, 4vw, 52px);
  border-top: 1px solid var(--line);
}
.art-detail__cta-text {
  flex: 1 1 100%; font-size: .9rem; color: var(--muted);
}

/* ============================================================
   PROSE (article body text)
   ============================================================ */
.prose {
  max-width: 74ch;
  font-size: clamp(.95rem, 1.2vw, 1.08rem);
  line-height: 1.78;
  color: var(--ink-2);
}
.prose__lead {
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: var(--muted);
  margin-bottom: 1.8em;
  line-height: 1.7;
}
.prose p { margin-bottom: 1.25em; }
.prose h2 {
  font-family: "Oswald", sans-serif; font-weight: 700;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem); text-transform: uppercase;
  line-height: 1.1; letter-spacing: .01em; color: var(--ink);
  margin: 2em 0 .75em;
}
.prose h3 {
  font-family: "Oswald", sans-serif; font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem); text-transform: uppercase;
  color: var(--ink); margin: 1.6em 0 .6em;
}
.prose ul, .prose ol { padding-left: 1.6em; margin-bottom: 1.25em; }
.prose li { margin-bottom: .45em; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose a { color: var(--red); border-bottom: 1px solid rgba(216,31,23,.3); transition: border-color .2s; }
.prose a:hover { border-color: var(--red); }
.prose img {
  width: 100%; border-radius: 5px; border: 1px solid var(--line);
  margin: 1.6em 0;
}
.prose blockquote {
  border-left: 3px solid var(--red); margin: 1.6em 0; padding: .6em 1.2em;
  background: var(--bg-2); color: var(--muted); font-style: italic;
}
.prose__sub { margin-top: 2.4em; }
.prose code {
  font-family: "JetBrains Mono", monospace; font-size: .85em;
  background: var(--bg-2); border: 1px solid var(--line);
  padding: 2px 5px; border-radius: 3px;
}

/* ============================================================
   404 NOT FOUND
   ============================================================ */
.notfound { text-align: center; }
.notfound__code {
  font-family: "Oswald", sans-serif; font-size: 5rem; font-weight: 700;
  line-height: 1; margin-bottom: 12px;
}
.notfound__title { margin-bottom: 18px; }
.notfound__text {
  color: var(--muted); font-size: 1.05rem; margin-bottom: 32px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .nav__links > a:not(.cta) { display: none; }
  .brand__sub { display: none; }
  .idx { grid-template-columns: auto 1fr; }
  .idx__arrow { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-delay: 0s !important; }
  .ticker__track { animation: none; }
  .hero__title .l1, .hero__title .l2, .hero__eyebrow, .hero__lead, .hero__actions, .hero__stats { opacity: 1; transform: none; }
}
